@pod-os/elements 0.24.2-rc.2a139ac.0 → 0.24.2-rc.fd22901.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/cjs/ion-badge_8.cjs.entry.js +1 -1
- package/dist/cjs/ion-card_34.cjs.entry.js +19 -19
- package/dist/cjs/ion-card_34.cjs.entry.js.map +1 -1
- package/dist/cjs/pos-app-generic.cjs.entry.js +1 -1
- package/dist/cjs/pos-app-ldp-container.cjs.entry.js +1 -1
- package/dist/cjs/pos-app-rdf-document.cjs.entry.js +1 -1
- package/dist/collection/apps/pos-app-browser/pos-app-browser.css +13 -0
- package/dist/collection/apps/pos-app-browser/pos-app-browser.js +1 -1
- package/dist/collection/apps/pos-app-browser/pos-app-browser.js.map +1 -1
- package/dist/collection/apps/pos-app-dashboard/pos-app-dashboard.js +1 -1
- package/dist/collection/apps/pos-app-dashboard/pos-example-resources/pos-example-resources.js +1 -1
- package/dist/collection/apps/pos-app-dashboard/pos-getting-started/pos-getting-started.js +1 -1
- package/dist/collection/apps/pos-app-generic/pos-app-generic.js +1 -1
- package/dist/collection/apps/pos-app-ldp-container/pos-app-ldp-container.js +1 -1
- package/dist/collection/apps/pos-app-rdf-document/pos-app-rdf-document.js +1 -1
- package/dist/collection/apps/pos-app-settings/pos-app-settings.js +1 -1
- package/dist/collection/apps/pos-app-settings/pos-getting-started/pos-setting-offline-cache.js +2 -1
- package/dist/collection/apps/pos-app-settings/pos-getting-started/pos-setting-offline-cache.js.map +1 -1
- package/dist/collection/components/pos-add-new-thing/pos-add-new-thing.js +1 -1
- package/dist/collection/components/pos-app/pos-app.js +1 -1
- package/dist/collection/components/pos-dialog/pos-dialog.js +1 -1
- package/dist/collection/components/pos-error-toast/pos-error-toast.js +1 -1
- package/dist/collection/components/pos-literals/pos-literals.js +1 -1
- package/dist/collection/components/pos-login/pos-login.js +1 -1
- package/dist/collection/components/pos-login-form/pos-login-form.js +1 -1
- package/dist/collection/components/pos-navigation-bar/pos-navigation-bar.js +1 -1
- package/dist/collection/components/pos-new-thing-form/pos-new-thing-form.js +1 -1
- package/dist/collection/components/pos-rich-link/pos-rich-link.js +2 -2
- package/dist/collection/components/pos-router/pos-router.js +1 -1
- package/dist/collection/components/pos-select-term/pos-select-term.js +1 -1
- package/dist/components/index11.js +170 -172
- package/dist/components/index11.js.map +1 -1
- package/dist/components/index12.js +198 -0
- package/dist/components/index12.js.map +1 -0
- package/dist/components/ion-app.js +1 -1
- package/dist/components/pos-add-new-thing2.js +1 -1
- package/dist/components/pos-app-browser.js +2 -2
- package/dist/components/pos-app-browser.js.map +1 -1
- package/dist/components/pos-app-dashboard2.js +1 -1
- package/dist/components/pos-app-generic.js +1 -1
- package/dist/components/pos-app-ldp-container.js +1 -1
- package/dist/components/pos-app-rdf-document.js +1 -1
- package/dist/components/pos-app-settings2.js +1 -1
- package/dist/components/pos-app2.js +3 -26
- package/dist/components/pos-app2.js.map +1 -1
- package/dist/components/pos-dialog2.js +1 -1
- package/dist/components/pos-error-toast2.js +1 -1
- package/dist/components/pos-example-resources2.js +1 -1
- package/dist/components/pos-getting-started2.js +1 -1
- package/dist/components/pos-literals2.js +1 -1
- package/dist/components/pos-login-form2.js +1 -1
- package/dist/components/pos-login2.js +1 -1
- package/dist/components/pos-navigation-bar2.js +1 -1
- package/dist/components/pos-new-thing-form2.js +1 -1
- package/dist/components/pos-rich-link2.js +2 -2
- package/dist/components/pos-router2.js +1 -1
- package/dist/components/pos-select-term2.js +1 -1
- package/dist/components/pos-setting-offline-cache2.js +2 -1
- package/dist/components/pos-setting-offline-cache2.js.map +1 -1
- package/dist/components/session.js +2 -193
- package/dist/components/session.js.map +1 -1
- package/dist/components/settings.js +29 -0
- package/dist/components/settings.js.map +1 -0
- package/dist/elements/elements.esm.js +1 -1
- package/dist/elements/p-48f2cf16.entry.js +2 -0
- package/dist/elements/p-6e0e0f54.entry.js +2 -0
- package/dist/elements/{p-83d99403.entry.js → p-8cea7540.entry.js} +8 -8
- package/dist/elements/{p-83d99403.entry.js.map → p-8cea7540.entry.js.map} +1 -1
- package/dist/elements/{p-4b8c7388.entry.js → p-8eb66b39.entry.js} +2 -2
- package/dist/elements/p-b58b6be4.entry.js +2 -0
- package/dist/esm/ion-badge_8.entry.js +1 -1
- package/dist/esm/ion-card_34.entry.js +19 -19
- package/dist/esm/ion-card_34.entry.js.map +1 -1
- package/dist/esm/pos-app-generic.entry.js +1 -1
- package/dist/esm/pos-app-ldp-container.entry.js +1 -1
- package/dist/esm/pos-app-rdf-document.entry.js +1 -1
- package/package.json +1 -1
- package/dist/elements/p-52678615.entry.js +0 -2
- package/dist/elements/p-a1fbbc32.entry.js +0 -2
- package/dist/elements/p-c7b331ce.entry.js +0 -2
- /package/dist/elements/{p-a1fbbc32.entry.js.map → p-48f2cf16.entry.js.map} +0 -0
- /package/dist/elements/{p-52678615.entry.js.map → p-6e0e0f54.entry.js.map} +0 -0
- /package/dist/elements/{p-4b8c7388.entry.js.map → p-8eb66b39.entry.js.map} +0 -0
- /package/dist/elements/{p-c7b331ce.entry.js.map → p-b58b6be4.entry.js.map} +0 -0
|
@@ -316,7 +316,7 @@ const PosLiterals = class {
|
|
|
316
316
|
}
|
|
317
317
|
}
|
|
318
318
|
render() {
|
|
319
|
-
return (index.h(index.Host, { key: '
|
|
319
|
+
return (index.h(index.Host, { key: 'fbfc96a94c8a225a94cbf8d230b9ec36b935523b' }, this.data.length > 0 ? (index.h("dl", null, this.data.map(it => (index.h("div", { class: "predicate-values" }, index.h("dt", null, index.h("pos-predicate", { uri: it.predicate, label: it.label })), index.h("div", { class: "values" }, it.values.map(value => (index.h("dd", null, value))))))))) : null, index.h("pos-add-literal-value", { key: 'f0b7dda5edb7d590301a8c04a6309a774c074ccb', "onPod-os:added-literal-value": event => this.literalValueAdded(event.detail) })));
|
|
320
320
|
}
|
|
321
321
|
};
|
|
322
322
|
PosLiterals.style = PosLiteralsStyle0;
|
|
@@ -1919,7 +1919,7 @@ const PosAddNewThing = class {
|
|
|
1919
1919
|
this.dialog.showModal();
|
|
1920
1920
|
}
|
|
1921
1921
|
render() {
|
|
1922
|
-
return (index.h(index.Host, { key: '
|
|
1922
|
+
return (index.h(index.Host, { key: '4adcc80d1a0d810279a85be26c8ec6717d91c8a2' }, index.h("button", { key: '9a3cdd12719c4d3e4ae1e0eff60ccd6101395d92', id: "new", title: "Add a new thing", onClick: () => this.openDialog() }, index.h("ion-icon", { key: 'efb2723db05962c02293931d0a334ba55908f596', name: "add-circle-outline" })), index.h("pos-dialog", { key: '954a947b2dc4082519c50cb71a4b6f0f3550c0fb', ref: el => (this.dialog = el) }, index.h("span", { key: '0a7e91bab3d8740bc8228782d70a980779db7ca1', slot: "title" }, "Add a new thing"), index.h("pos-new-thing-form", { key: '66ac9bcf72a71b58f4dbbc5cfd214b3609c78cbf', slot: "content", referenceUri: this.referenceUri }))));
|
|
1923
1923
|
}
|
|
1924
1924
|
};
|
|
1925
1925
|
PosAddNewThing.style = PosAddNewThingStyle0;
|
|
@@ -3250,11 +3250,11 @@ const PosApp = class {
|
|
|
3250
3250
|
}
|
|
3251
3251
|
}
|
|
3252
3252
|
render() {
|
|
3253
|
-
return index.h("slot", { key: '
|
|
3253
|
+
return index.h("slot", { key: 'eb7dfaa67c538b3e3e33f42556c1b604fc964729' });
|
|
3254
3254
|
}
|
|
3255
3255
|
};
|
|
3256
3256
|
|
|
3257
|
-
const posAppBrowserCss = "pos-router{margin:0
|
|
3257
|
+
const posAppBrowserCss = "pos-router {\n margin: 0;\n padding: 0;\n display: flex;\n flex-direction: column;\n height: 100%;\n}\n\npos-navigation-bar {\n max-width: var(--width-lg);\n margin: 0;\n}\n\npos-add-new-thing,\npos-login {\n flex: 0 1 auto; /* Behält die Breite des Inhalts bei */\n}\n\nheader,\nfooter {\n display: flex;\n gap: var(--size-1);\n height: auto;\n justify-content: center;\n align-items: center;\n padding: var(--size-1);\n}\n\nfooter svg {\n width: var(--size-5);\n height: var(--size-5);\n}\n\nfooter {\n font-size: var(--scale-fluid-000);\n\n .settings {\n padding: 0 var(--size-1);\n text-decoration: none;\n border: 1px solid var(--color-grey-800);\n color: var(--color-grey-800);\n border-radius: var(--radius-xs);\n\n &:hover {\n background-color: var(--color-grey-800);\n color: white;\n }\n }\n}\n\nheader {\n flex-wrap: wrap;\n padding: 0 var(--size-8);\n}\n\nmain {\n flex: 1;\n max-height: 100vh;\n overflow: auto;\n}\n\n@media (max-width: 640px) {\n header {\n padding: 0 var(--size-1) var(--size-1);\n justify-content: space-between;\n }\n\n pos-navigation-bar {\n flex-basis: 100%;\n order: 0;\n }\n\n pos-add-new-thing,\n pos-login {\n order: 1;\n }\n}\n";
|
|
3258
3258
|
const PosAppBrowserStyle0 = posAppBrowserCss;
|
|
3259
3259
|
|
|
3260
3260
|
const PosAppBrowser = class {
|
|
@@ -3271,7 +3271,7 @@ const PosAppBrowser = class {
|
|
|
3271
3271
|
this.uri = '';
|
|
3272
3272
|
}
|
|
3273
3273
|
render() {
|
|
3274
|
-
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")))))));
|
|
3274
|
+
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: 'ec7f0f8054177ced1d97230207c511c8b6f95dbe', class: "settings", href: "?uri=pod-os:settings" }, "\u2699 Settings")))))));
|
|
3275
3275
|
}
|
|
3276
3276
|
};
|
|
3277
3277
|
const Logo = () => {
|
|
@@ -3299,7 +3299,7 @@ const PosAppDashboard = class {
|
|
|
3299
3299
|
index.registerInstance(this, hostRef);
|
|
3300
3300
|
}
|
|
3301
3301
|
render() {
|
|
3302
|
-
return (index.h(index.Host, { key: '
|
|
3302
|
+
return (index.h(index.Host, { key: 'c467fa44eac028bc1a1546423ac92a5e1e9a98d2' }, index.h("pos-getting-started", { key: 'f62088d7cc2c199617eecbfd771b2f22db1a7431' }), index.h("pos-example-resources", { key: '6285bd2160042582ee113f81e7e6e02139d67f45' })));
|
|
3303
3303
|
}
|
|
3304
3304
|
};
|
|
3305
3305
|
PosAppDashboard.style = PosAppDashboardStyle0;
|
|
@@ -3312,7 +3312,7 @@ const PosAppSettings = class {
|
|
|
3312
3312
|
index.registerInstance(this, hostRef);
|
|
3313
3313
|
}
|
|
3314
3314
|
render() {
|
|
3315
|
-
return index.h("pos-setting-offline-cache", { key: '
|
|
3315
|
+
return index.h("pos-setting-offline-cache", { key: '83d824c60d1eb9e2d60b0d7255dda841ad9c6164' });
|
|
3316
3316
|
}
|
|
3317
3317
|
};
|
|
3318
3318
|
PosAppSettings.style = PosAppSettingsStyle0;
|
|
@@ -3347,7 +3347,7 @@ const PosDialog = class {
|
|
|
3347
3347
|
this.dialog.close();
|
|
3348
3348
|
}
|
|
3349
3349
|
render() {
|
|
3350
|
-
return (index.h(index.Host, { key: '
|
|
3350
|
+
return (index.h(index.Host, { key: '097959e50499628b0b3e9be024cd415d25182303' }, index.h("dialog", { key: '0ac068acd6392cfc57f9e3bff866a6c865dcafe3', ref: el => (this.dialog = el) }, index.h("header", { key: '0cf470448e42f04c8a839eb67eec5a0708e306cb' }, index.h("slot", { key: '3f3f457ff9130c66ac31e21da74f9ffa9cc42a06', name: "title" }), index.h("button", { key: 'd420ee61dc91d4f193048f6c89351121c0337446', tabindex: -1, id: "close", title: "Close", onClick: () => this.close() }, index.h("ion-icon", { key: '9a775752b1678654b3446b964fe83ca15d8722ca', name: "close-outline" }))), index.h("slot", { key: '464e9fefd0dc8c32b52399358ff250e1982bdf36', name: "content" }))));
|
|
3351
3351
|
}
|
|
3352
3352
|
};
|
|
3353
3353
|
PosDialog.style = PosDialogStyle0;
|
|
@@ -3382,7 +3382,7 @@ const PosErrorToast = class {
|
|
|
3382
3382
|
await toast.present();
|
|
3383
3383
|
}
|
|
3384
3384
|
render() {
|
|
3385
|
-
return (index.h(index.Host, { key: '
|
|
3385
|
+
return (index.h(index.Host, { key: 'ca253ac051cc38f56c8db1224fea075293f796b4' }, index.h("ion-toast", { key: '060b78fd54963782be40abca4592c5871fc84d82', trigger: "never", message: "Workarround to preload ion-toast and ion-ripple-effect to be able to show errors while offline", duration: 0 }, index.h("ion-ripple-effect", { key: '45f799c8d1f36ad3f11a62485677fc38eb01857b' })), index.h("slot", { key: '02c6e3ad7cce764de694579056fc1fe1d97dfa32' })));
|
|
3386
3386
|
}
|
|
3387
3387
|
};
|
|
3388
3388
|
|
|
@@ -3394,7 +3394,7 @@ const PosExampleResources = class {
|
|
|
3394
3394
|
index.registerInstance(this, hostRef);
|
|
3395
3395
|
}
|
|
3396
3396
|
render() {
|
|
3397
|
-
return (index.h(index.Host, { key: '
|
|
3397
|
+
return (index.h(index.Host, { key: 'b6a491caa9ea624cdba3cca92fcc9444a3c38290' }, index.h("div", { key: '458ceb259d7070d38eb13aea9f3b303f174a5c56' }, index.h("h2", { key: '1d571afb47c256f2ac873840c6fe8bc8408cc9a6' }, "Try these... \uD83D\uDCA1"), index.h("p", { key: '7de1dac7a92becb01ec7aab4cf96c45fa95f7de6' }, "No idea where to start? Try these example resources, and follow your nose \uD83D\uDC43"), index.h("div", { key: 'b94cc5571f5b7af0bcc660fc8812ca08ca2db482', class: "links" }, index.h("pos-rich-link", { key: 'e2c414d51b79e27667a42d04fa66e879a2ecf2a2', uri: "https://pod-os.solidcommunity.net/profile/card#me" }), index.h("pos-rich-link", { key: 'e54479349363d67d027612bbcdb2167f9ab6ec03', uri: "https://angelo.veltens.org/profile/card#me" }), index.h("pos-rich-link", { key: '1c743eafd11d46f6bdd31face3bf1083abd1e045', uri: "https://angelo.veltens.org/public/bookmarks" }), index.h("pos-rich-link", { key: '3e47cd67a0ab44a1921ec4f0e5e9f24404826494', uri: "https://solidos.solidcommunity.net/profile/card#me" })))));
|
|
3398
3398
|
}
|
|
3399
3399
|
};
|
|
3400
3400
|
PosExampleResources.style = PosExampleResourcesStyle0;
|
|
@@ -3407,7 +3407,7 @@ const PosGettingStarted = class {
|
|
|
3407
3407
|
index.registerInstance(this, hostRef);
|
|
3408
3408
|
}
|
|
3409
3409
|
render() {
|
|
3410
|
-
return (index.h(index.Host, { key: '
|
|
3410
|
+
return (index.h(index.Host, { key: 'a31a64545a5960ce8e34f0c612d2755e465c1131' }, index.h("div", { key: '29ec2c449fd5334e47199dece7c01c2a71ab6d98' }, index.h("h2", { key: 'e680003831826c8cd4615de083f9f9c305513c29' }, "Getting started \uD83D\uDE80"), index.h("p", { key: '8e80305087bee4c8ec05ac7cb16096caf0c61ad0' }, "\uD83D\uDD0E Enter a URL into the above navigation bar to browse through the web of data. "), index.h("p", { key: '4d7ba95047694e636934cb7a03c291adb0678bb6' }, "\uD83D\uDD10 Sign in to access private resources on your Solid Pod or those of your friends or coworkers.")), index.h("div", { key: '167ac903fa88b9be6cf00f2f5bfea23d8dfd14c9' }, index.h("p", { key: 'a0b06f944e534b889502a96c935686a3b7f349d0', class: "question" }, "New to Solid?"), index.h("p", { key: '8c26c4d20d0fcdb075ad4c0ea5ff012d22dee081' }, index.h("a", { key: 'd9bc5b7bfd213012078729e25e42b4ea8b970573', href: "https://solidproject.org/for-developers#hosted-pod-services" }, "Get a Pod \u2192"))), index.h("div", { key: '223f171699e3acf5f1c5c4819621bddc49db41f1' }, index.h("p", { key: 'e83cfd2b01c5abaf30f0053ef261c68ae0919f0a', class: "question" }, "Want to dig deeper into PodOS?"), index.h("p", { key: '8ccdbd60a250850c4105e99545f09755109ced86' }, index.h("a", { key: 'f72a83533b846bd8e8e798b0dd71cfc585a8d104', href: "http://pod-os.org" }, "Learn more \u2192")))));
|
|
3411
3411
|
}
|
|
3412
3412
|
};
|
|
3413
3413
|
PosGettingStarted.style = PosGettingStartedStyle0;
|
|
@@ -3537,7 +3537,7 @@ const PosLogin = class {
|
|
|
3537
3537
|
this.dialog.showModal();
|
|
3538
3538
|
}
|
|
3539
3539
|
render() {
|
|
3540
|
-
return (index.h(index.Host, { key: '
|
|
3540
|
+
return (index.h(index.Host, { key: '246bea632b952b0a004e1237697a86bd0ebfeea4' }, index.h("div", { key: 'cdcb1905deb0d27f79adc4ed1eeae0adb47b37f6', class: "container" }, BrokenFile.store.state.isLoggedIn ? (index.h("pos-resource", { uri: BrokenFile.store.state.webId }, index.h("span", { class: "user-data" }, index.h("pos-picture", null), index.h("pos-label", null)))) : (''), !BrokenFile.store.state.isLoggedIn && (index.h("button", { key: 'dc3a1072af920e9495a2e003c1e2edf8d282de29', id: "login", onClick: () => this.openDialog() }, "Login")), BrokenFile.store.state.isLoggedIn && (index.h("button", { key: 'ca04ffb1126cd26d1c80060673c036048b403c82', id: "logout", onClick: () => this.logout() }, "Logout"))), index.h("pos-dialog", { key: 'f832ac8272a695e1bcf826d5aa5d62843bfb4de5', ref: el => (this.dialog = el) }, index.h("span", { key: 'd2dd84554a068af4a044cba963aa4417b8232d93', slot: "title" }, "Sign in to your Pod"), index.h("pos-login-form", { key: '98b542c2ddc6828fe99857632ee90a0dae6fdf96', "onPod-os:idp-url-selected": ev => this.login(ev), slot: "content" }))));
|
|
3541
3541
|
}
|
|
3542
3542
|
};
|
|
3543
3543
|
PosLogin.style = PosLoginStyle0;
|
|
@@ -3556,7 +3556,7 @@ const PosLoginForm = class {
|
|
|
3556
3556
|
this.canSubmit = Boolean(this.idpUrl);
|
|
3557
3557
|
}
|
|
3558
3558
|
render() {
|
|
3559
|
-
return (index.h("form", { key: '
|
|
3559
|
+
return (index.h("form", { key: 'ad94a827203fead2cc5976e65d5dd11b76929a37', method: "dialog", onSubmit: () => this.handleSubmit() }, index.h("label", { key: '042115e98ac3dc97aa941b9a086a930c532bab19', htmlFor: "idpUrl" }, "Please enter your Identity Provider"), index.h("input", { key: '45a4621d9a21a5b21ec82f81025b2be68d5505ae', id: "idpUrl", type: "url", value: this.idpUrl, required: true, onInput: e => this.handleChange(e), list: "suggestedIssuers", placeholder: "Type to search..." }), index.h("datalist", { key: '1f4dd4962470e796d1a175ea2ec2d03663390a0d', id: "suggestedIssuers" }, index.h("option", { key: 'f00f189f9f7babbda5c109a57d380d4d44d68f79', value: "https://solidcommunity.net" }, "solidcommunity.net"), index.h("option", { key: 'a0a1e4171ef87cd219cb8f0c68b68d0901d3fa55', value: "https://solidweb.org" }, "solidweb.org"), index.h("option", { key: '4361294b71ba9b7b123dd5d1deb2692b2edfa59e', value: "https://solidweb.me" }, "solidweb.me"), index.h("option", { key: '0fcee23d732415ef206d8c9a4d18c31f2bcd8eca', value: "https://inrupt.net" }, "inrupt.net"), index.h("option", { key: '267b177e9765e09ee2aa592c8a4d4c152ad7fb0b', value: "https://login.inrupt.com" }, "Inrupt PodSpaces"), index.h("option", { key: '302a4d517fedeafb146d9f8a3938383c57e24f7e', value: "https://trinpod.us" }, "trinpod.us"), index.h("option", { key: '83fd1b92688b24f575d3ee17a9cb394c8ab16eab', value: "https://use.id" }, "use.id"), index.h("option", { key: '007f814795f747d9b74f7b16db986502a9b746af', value: "https://solid.redpencil.io" }, "redpencil.io"), index.h("option", { key: '5477d60737d194bce4c50f24a75930427b6dc9bb', value: "https://datapod.grant.io" }, "Data Pod (grant.io)"), index.h("option", { key: 'e289736fcc31902f783efae443f17dfda532ba9f', value: "https://teamid.live" }, "teamid.live")), index.h("input", { key: '69a61d727a4e2c88a7f3594b98cca42f934b649a', id: "login", type: "submit", value: "Login", disabled: !this.canSubmit })));
|
|
3560
3560
|
}
|
|
3561
3561
|
handleChange(event) {
|
|
3562
3562
|
this.validate();
|
|
@@ -3756,7 +3756,7 @@ const PosNavigationBar = class {
|
|
|
3756
3756
|
}
|
|
3757
3757
|
}
|
|
3758
3758
|
render() {
|
|
3759
|
-
return (index.h("form", { key: '
|
|
3759
|
+
return (index.h("form", { key: 'dadf35124fd0908c3623ef2e358f1e751a0b7242', onSubmit: e => this.onSubmit(e) }, this.searchIndex && this.uri ? index.h("pos-make-findable", { uri: this.uri }) : '', index.h("div", { key: '64d85b0b51298e2d1b3d6ff32f36db3f80fa1796', class: "bar" }, index.h("ion-searchbar", { key: 'cd51737238ab42315ace5bebdcc0b4c561b02c38', enterkeyhint: "search", placeholder: "Search or enter URI", value: this.uri, debounce: 300, onIonChange: e => this.onChange(e), onIonInput: e => this.onChange(e) }), this.suggestions.length > 0 ? (index.h("div", { class: "suggestions" }, index.h("ol", null, this.suggestions.map((it, index$1) => (index.h("li", { class: index$1 === this.selectedIndex ? 'selected' : '' }, index.h("pos-rich-link", { uri: it.ref }))))))) : null)));
|
|
3760
3760
|
}
|
|
3761
3761
|
};
|
|
3762
3762
|
PosNavigationBar.style = PosNavigationBarStyle0;
|
|
@@ -3782,7 +3782,7 @@ const PosNewThingForm = class {
|
|
|
3782
3782
|
PodOsAware.subscribePodOs(this);
|
|
3783
3783
|
}
|
|
3784
3784
|
render() {
|
|
3785
|
-
return (index.h("form", { key: '
|
|
3785
|
+
return (index.h("form", { key: 'd231729bb8d01ffa9e1f88d9488fa92041f33460', method: "dialog", onSubmit: e => this.handleSubmit(e) }, index.h("label", { key: '739f893b508ffe8baa0b575594af48f6f690425c', htmlFor: "type" }, "Type"), index.h("pos-select-term", { key: '9973af04355cf8dec838a4217f711e4c8669dab4', id: "type", placeholder: "", value: this.selectedTypeUri, "onPod-os:term-selected": e => this.onTermSelected(e) }), index.h("label", { key: '4fac8ecca95c2e16c98c35ae92ea9b7f6bd6a94a', htmlFor: "name" }, "Name"), index.h("input", { key: 'c922c03e656d194c3235fb374ef90fce205f7ee7', id: "name", type: "text", value: this.name, onInput: e => this.handleChange(e) }), this.newUri ? (index.h("div", { id: "new-uri", title: "This will be the URI of the new thing" }, this.newUri)) : null, index.h("input", { key: 'fb39eb6c09e67315326f13e184aab93a4ed786c6', id: "create", type: "submit", value: "Create", disabled: !this.canSubmit })));
|
|
3786
3786
|
}
|
|
3787
3787
|
handleChange(event) {
|
|
3788
3788
|
this.name = event.target.value;
|
|
@@ -3917,10 +3917,10 @@ const PosRichLink = class {
|
|
|
3917
3917
|
this.linkEmitter = index.createEvent(this, "pod-os:link", 7);
|
|
3918
3918
|
}
|
|
3919
3919
|
render() {
|
|
3920
|
-
return (index.h("pos-resource", { key: '
|
|
3920
|
+
return (index.h("pos-resource", { key: 'e9f1c8b7ca9ded161eebf1b4886b21ec2a23e042', lazy: true, uri: this.uri }, index.h("p", { key: '022cebbb522c3a04f1f6b83e9aeb8ad890642bdd', class: "content" }, index.h("a", { key: '105415deeb645e99e36d34f1750da0fa444c6ba8', href: this.uri, onClick: e => {
|
|
3921
3921
|
e.preventDefault();
|
|
3922
3922
|
this.linkEmitter.emit(this.uri);
|
|
3923
|
-
} }, index.h("pos-label", { key: '
|
|
3923
|
+
} }, index.h("pos-label", { key: '4530f9511b81d37229f7c4f57915da035002bdfb' })), index.h("span", { key: '341e91a6167d36881d2bb5e96365aa7f2f7f2f9b', class: "url" }, new URL(this.uri).host), index.h("pos-description", { key: 'c8e3875a219a76fa401a558d9c4eaa6813206a19' }))));
|
|
3924
3924
|
}
|
|
3925
3925
|
};
|
|
3926
3926
|
PosRichLink.style = PosRichLinkStyle0;
|
|
@@ -4251,7 +4251,7 @@ const PosRouter = class {
|
|
|
4251
4251
|
this.routeChanged.emit(this.uri);
|
|
4252
4252
|
}
|
|
4253
4253
|
render() {
|
|
4254
|
-
return index.h("slot", { key: '
|
|
4254
|
+
return index.h("slot", { key: '4c9986b609d72550130ca76675dee260ca1cf373' });
|
|
4255
4255
|
}
|
|
4256
4256
|
};
|
|
4257
4257
|
PosRouter.style = PosRouterStyle0;
|
|
@@ -4281,7 +4281,7 @@ const PosSelectTerm = class {
|
|
|
4281
4281
|
this.termSelected.emit({ uri: event.target.value });
|
|
4282
4282
|
}
|
|
4283
4283
|
render() {
|
|
4284
|
-
return (index.h(index.Host, { key: '
|
|
4284
|
+
return (index.h(index.Host, { key: '0c84c241534e981ac22797ca058622c79aa2c661' }, index.h("input", { key: '0dd0c1d3ed228a3e2c333e440eb5044e99110252', part: "input", list: "terms", placeholder: this.placeholder, value: this.value, onChange: ev => this.handleChange(ev) }), index.h("datalist", { key: 'b792a879f92d1b95b094cef9cab81738205a503b', part: "terms", id: "terms" }, this.terms.map(term => (index.h("option", { value: term.uri }, term.shorthand))))));
|
|
4285
4285
|
}
|
|
4286
4286
|
static get delegatesFocus() { return true; }
|
|
4287
4287
|
static get watchers() { return {
|
|
@@ -4298,7 +4298,7 @@ const PosSettingOfflineCache = class {
|
|
|
4298
4298
|
index.registerInstance(this, hostRef);
|
|
4299
4299
|
}
|
|
4300
4300
|
render() {
|
|
4301
|
-
return (index.h(index.Host, { key: '
|
|
4301
|
+
return (index.h(index.Host, { key: 'a98de97ba1e0930b485a4a3610102deb02d927a7' }, index.h("div", { key: '5cf196a71b95fdfed7e5d990b272e12d2b9dd3ff' }, index.h("h2", { key: '99ddd9827f3ccc5a5277cc64e3952a3f5170f7bc' }, index.h("svg", { key: 'd9ce3722957428524cc9b264265320119f2e5c88', xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", "stroke-width": "1.5", stroke: "currentColor" }, index.h("path", { key: '8e4e7af37df231e3141ba30b17a02517737cbe85', "stroke-linecap": "round", "stroke-linejoin": "round", d: "M20.25 6.375c0 2.278-3.694 4.125-8.25 4.125S3.75 8.653 3.75 6.375m16.5 0c0-2.278-3.694-4.125-8.25-4.125S3.75 4.097 3.75 6.375m16.5 0v11.25c0 2.278-3.694 4.125-8.25 4.125s-8.25-1.847-8.25-4.125V6.375m16.5 0v3.75m-16.5-3.75v3.75m16.5 0v3.75C20.25 16.153 16.556 18 12 18s-8.25-1.847-8.25-4.125v-3.75m16.5 0c0 2.278-3.694 4.125-8.25 4.125s-8.25-1.847-8.25-4.125" })), "Cache Settings"), index.h("p", { key: '7175929cd9327bc705db305294afa362cb2f648c', class: "info" }, "\u2139 Enable offline cache to be able to access previously loaded data while offline."), index.h("p", { key: '784fd9141b339165fdab6a98c084430299ff7ed5', class: "warn" }, "\u26A0 Private data may be stored on this device. Only enable it, if you trust this device."), index.h("label", { key: 'dac2cddf6b6c374d1a2ef3c4d9bad63a9cb7b8d9' }, index.h("input", { key: 'e39adb18d03ce622a85dd48a28c6d3c0dc2ce7f4', type: "checkbox", checked: localSettings.state.offlineCache, onChange: ev => (localSettings.state.offlineCache = ev.target.checked) }), "Enable offline cache"))));
|
|
4302
4302
|
}
|
|
4303
4303
|
};
|
|
4304
4304
|
PosSettingOfflineCache.style = PosSettingOfflineCacheStyle0;
|