@pod-os/elements 0.34.1-rc.b99fa4c.0 → 0.34.1-rc.f73863c.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/pos-add-literal-value_3.cjs.entry.js +1 -1
- package/dist/cjs/pos-add-new-thing_29.cjs.entry.js +16 -18
- 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/cjs/pos-container-item_3.cjs.entry.js +2 -2
- package/dist/cjs/pos-markdown-document.cjs.entry.js +1 -1
- package/dist/collection/apps/pos-app-dashboard/pos-app-dashboard.js +1 -4
- package/dist/collection/apps/pos-app-dashboard/pos-app-dashboard.js.map +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-setting-offline-cache/pos-setting-offline-cache.js +1 -1
- package/dist/collection/components/pos-add-new-thing/pos-add-new-thing.js +1 -1
- package/dist/collection/components/pos-container-contents/pos-container-toolbar/pos-container-toolbar.js +1 -1
- package/dist/collection/components/pos-container-contents/pos-create-new-container-item/pos-create-new-container-item.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-markdown-document/pos-markdown-document.js +1 -1
- package/dist/collection/components/pos-navigation/bar/pos-navigation-bar.js +1 -1
- package/dist/collection/components/pos-navigation/pos-navigation.js +1 -1
- package/dist/collection/components/pos-new-thing-form/pos-new-thing-form.js +1 -1
- 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/collection/components/pos-upload/pos-upload.js +1 -1
- package/dist/components/pos-add-new-thing2.js +1 -1
- package/dist/components/pos-app-dashboard2.js +1 -4
- package/dist/components/pos-app-dashboard2.js.map +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-container-toolbar2.js +1 -1
- package/dist/components/pos-create-new-container-item2.js +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-markdown-document2.js +1 -1
- package/dist/components/pos-navigation-bar2.js +1 -1
- package/dist/components/pos-navigation2.js +1 -1
- package/dist/components/pos-new-thing-form2.js +1 -1
- 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 +1 -1
- package/dist/components/pos-upload2.js +1 -1
- package/dist/elements/elements.esm.js +1 -1
- package/dist/elements/p-3f4669c1.entry.js +2 -0
- package/dist/elements/{p-fd1e1303.entry.js → p-4b794053.entry.js} +2 -2
- package/dist/elements/p-5b1d2385.entry.js +2 -0
- package/dist/elements/{p-98268692.entry.js → p-626f5777.entry.js} +6 -6
- package/dist/elements/p-626f5777.entry.js.map +1 -0
- package/dist/elements/{p-cf711bb5.entry.js → p-651bb8ce.entry.js} +2 -2
- package/dist/elements/{p-37711fd4.entry.js → p-bcdbde5d.entry.js} +2 -2
- package/dist/elements/p-cd97614b.entry.js +2 -0
- package/dist/esm/pos-add-literal-value_3.entry.js +1 -1
- package/dist/esm/pos-add-new-thing_29.entry.js +16 -18
- 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/dist/esm/pos-container-item_3.entry.js +2 -2
- package/dist/esm/pos-markdown-document.entry.js +1 -1
- package/package.json +1 -1
- package/dist/elements/p-659b128e.entry.js +0 -2
- package/dist/elements/p-98268692.entry.js.map +0 -1
- package/dist/elements/p-b6bd2c13.entry.js +0 -2
- package/dist/elements/p-c3f423e3.entry.js +0 -2
- /package/dist/elements/{p-659b128e.entry.js.map → p-3f4669c1.entry.js.map} +0 -0
- /package/dist/elements/{p-fd1e1303.entry.js.map → p-4b794053.entry.js.map} +0 -0
- /package/dist/elements/{p-c3f423e3.entry.js.map → p-5b1d2385.entry.js.map} +0 -0
- /package/dist/elements/{p-cf711bb5.entry.js.map → p-651bb8ce.entry.js.map} +0 -0
- /package/dist/elements/{p-37711fd4.entry.js.map → p-bcdbde5d.entry.js.map} +0 -0
- /package/dist/elements/{p-b6bd2c13.entry.js.map → p-cd97614b.entry.js.map} +0 -0
|
@@ -38,7 +38,7 @@ export class PosRouter {
|
|
|
38
38
|
this.routeChanged.emit(this.uri);
|
|
39
39
|
}
|
|
40
40
|
render() {
|
|
41
|
-
return h("slot", { key: '
|
|
41
|
+
return h("slot", { key: '6e8c5214a0e82fb838fc512ad3cfa4cfb480a29e' });
|
|
42
42
|
}
|
|
43
43
|
static get is() { return "pos-router"; }
|
|
44
44
|
static get originalStyleUrls() {
|
|
@@ -19,7 +19,7 @@ export class PosSelectTerm {
|
|
|
19
19
|
this.termSelected.emit({ uri: event.target.value });
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
|
-
return (h(Host, { key: '
|
|
22
|
+
return (h(Host, { key: '0dc25a3c0491f8dafb3b5350c7347907e98a08e7' }, h("input", { key: '8f017d277f9fadaadc1bc3793d377848d315431b', part: "input", list: "terms", placeholder: this.placeholder, value: this.value, onChange: ev => this.handleChange(ev) }), h("datalist", { key: 'ab2fc8071cd8adc6999e1f460b8e8a8cb6d43849', part: "terms", id: "terms" }, this.terms.map(term => (h("option", { value: term.uri }, term.shorthand))))));
|
|
23
23
|
}
|
|
24
24
|
static get is() { return "pos-select-term"; }
|
|
25
25
|
static get encapsulation() { return "shadow"; }
|
|
@@ -42,7 +42,7 @@ export class PosUpload {
|
|
|
42
42
|
});
|
|
43
43
|
}
|
|
44
44
|
render() {
|
|
45
|
-
return h("div", { key: '
|
|
45
|
+
return h("div", { key: 'f28bebfde1c89399e3f51e48224038fbba7119af', class: "container", ref: el => (this.uppy = el) });
|
|
46
46
|
}
|
|
47
47
|
static get is() { return "pos-upload"; }
|
|
48
48
|
static get encapsulation() { return "shadow"; }
|
|
@@ -20,7 +20,7 @@ const PosAddNewThing = /*@__PURE__*/ proxyCustomElement(class PosAddNewThing ext
|
|
|
20
20
|
this.dialog.showModal();
|
|
21
21
|
}
|
|
22
22
|
render() {
|
|
23
|
-
return (h(Host, { key: '
|
|
23
|
+
return (h(Host, { key: '9d2a61a7e9021b479c88971e7a3fbe805a24249e' }, h("button", { key: '97a7a90791ab28e5376f5b8152059fe27637fff1', id: "new", title: "Add a new thing", onClick: () => this.openDialog() }, h("sl-icon", { key: '3f2db77e21b502764453a9e2ff7f73b05aebc1c5', name: "plus-circle" })), h("pos-dialog", { key: '1aa62484381fe6399fccce8329ce406fbf41f0b8', ref: el => (this.dialog = el) }, h("span", { key: '70277e49b50caef90060ef0f1e25e48923e1a787', slot: "title" }, "Add a new thing"), h("pos-new-thing-form", { key: '447fbe02a191113108244c07d755b53664d24d83', slot: "content", referenceUri: this.referenceUri }))));
|
|
24
24
|
}
|
|
25
25
|
static get style() { return posAddNewThingCss; }
|
|
26
26
|
}, [257, "pos-add-new-thing", {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import { s as store } from './session.js';
|
|
3
2
|
import { d as defineCustomElement$6 } from './pos-description2.js';
|
|
4
3
|
import { d as defineCustomElement$5 } from './pos-example-resources2.js';
|
|
5
4
|
import { d as defineCustomElement$4 } from './pos-getting-started2.js';
|
|
@@ -18,9 +17,7 @@ const PosAppDashboard = /*@__PURE__*/ proxyCustomElement(class PosAppDashboard e
|
|
|
18
17
|
this.__attachShadow();
|
|
19
18
|
}
|
|
20
19
|
render() {
|
|
21
|
-
return (h(Host, { key: '
|
|
22
|
-
? [h("pos-example-resources", null)]
|
|
23
|
-
: [h("pos-getting-started", null), h("pos-example-resources", null)]));
|
|
20
|
+
return (h(Host, { key: '18dc165b7be1c796136804a2ba7643b2a6fffc73' }, h("pos-getting-started", { key: 'e3f7a22641e4c24168a36f96463515cd1a89ca5e' }), h("pos-example-resources", { key: '1044dd873049118e165ff6d38449c85695f63a50' })));
|
|
24
21
|
}
|
|
25
22
|
static get style() { return posAppDashboardCss; }
|
|
26
23
|
}, [257, "pos-app-dashboard"]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"pos-app-dashboard2.js","mappings":"
|
|
1
|
+
{"file":"pos-app-dashboard2.js","mappings":";;;;;;;;AAAA,MAAM,kBAAkB,GAAG,2MAA2M;;MCOzN,eAAe,iBAAAA,kBAAA,CAAA,MAAA,eAAA,SAAA,WAAA,CAAA;;;;;;;;IAC1B,MAAM,GAAA;AACJ,QAAA,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACH,CAA2C,CAAA,qBAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,EAC3C,CAA+C,CAAA,uBAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CAC1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement"],"sources":["src/apps/pos-app-dashboard/pos-app-dashboard.css?tag=pos-app-dashboard&encapsulation=shadow","src/apps/pos-app-dashboard/pos-app-dashboard.tsx"],"sourcesContent":[":host {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(var(--size-12), var(--size-96)));\n gap: var(--size-4);\n padding: var(--size-2);\n justify-content: center;\n align-items: start;\n justify-items: stretch;\n}\n","import { Component, h, Host } from '@stencil/core';\n\n@Component({\n tag: 'pos-app-dashboard',\n styleUrl: 'pos-app-dashboard.css',\n shadow: true,\n})\nexport class PosAppDashboard {\n render() {\n return (\n <Host>\n <pos-getting-started></pos-getting-started>\n <pos-example-resources></pos-example-resources>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -25,7 +25,7 @@ const PosAppGeneric$1 = /*@__PURE__*/ proxyCustomElement(class PosAppGeneric ext
|
|
|
25
25
|
this.__attachShadow();
|
|
26
26
|
}
|
|
27
27
|
render() {
|
|
28
|
-
return (h(Host, { key: '
|
|
28
|
+
return (h(Host, { key: '170a57d59474ac6fa887251c96dfe64f93308e3f' }, h("section", { key: '208917e280149067f5a0c946636853f23fc83d7b' }, h("article", { key: '62c8f8a2b37455d7ec4ffc11cbb7e46b7262a6e8', "aria-labelledby": "thing-title" }, h("header", { key: '2f85c4bffecfa3e0f55ed07d98397647cfcd4acc' }, h("pos-picture", { key: '1094acb0b8cac8c9a8acaca29abeeaa5cc00aca0', blurredBackground: true }), h("h1", { key: 'eba5144dd2cf94fdfdc7514c26d68aecc8361139', id: "thing-title" }, h("pos-label", { key: 'ac03525509d037740d1b329fbaf64c68f9ea5376' })), h("pos-type-badges", { key: '0dbdb698a8a77a5a500a440142e078860b3c0681' })), h("main", { key: 'd87bfa4cf8bfb9b0ba633dff40f7d42478265cc1' }, h("pos-description", { key: 'c5c3b64864f8bc9d8e72b1a87f92bdd2435b4e41' })))), h("section", { key: 'f013653e7eafd26e6daa53c76a95d12939d356bd' }, h("pos-literals", { key: 'd34963cc5eed8c6e6baa3963009c352043f30db5' })), h("section", { key: 'ab70a3d890665c4ecfe987f35437de1a5dc3e655' }, h("pos-relations", { key: 'f8751d31a54b240cad0f089a9aea5123dc0c0bae' }), h("pos-reverse-relations", { key: '5aff024840f92393d69f0816263751efc6cb57f3' }))));
|
|
29
29
|
}
|
|
30
30
|
static get style() { return posAppGenericCss; }
|
|
31
31
|
}, [257, "pos-app-generic"]);
|
|
@@ -27,7 +27,7 @@ const PosAppLdpContainer$1 = /*@__PURE__*/ proxyCustomElement(class PosAppLdpCon
|
|
|
27
27
|
this.__attachShadow();
|
|
28
28
|
}
|
|
29
29
|
render() {
|
|
30
|
-
return (h(Host, { key: '
|
|
30
|
+
return (h(Host, { key: '76b7a2ab73232cbea2a7352527fd4fc35a75c66b' }, h("section", { key: '28d455d6e4b640de624a2c684133a6d4c7de2100' }, h("pos-container-contents", { key: '8e518a1122461108b3d33d66664f67feb55527c4' }), h("details", { key: '6be9b8cf613a54213e8281c0a4bf4e8235c1b4b1' }, h("summary", { key: '541ff3bbe8ec736361ea59fef319141a743c93ee' }, "All subjects"), h("pos-subjects", { key: '4e1927ea2365c354c7d1abf2eca50d892e1ac2bc' }))), h("section", { key: 'c9156ae4584e7f5803a7427b97844c3bbeae86bf' }, h("article", { key: '60cabe0f2eaaec3e109fce000913b04f7581934e', "aria-labelledby": "container-title" }, h("header", { key: '17f43f9d29cfe77943c0108e0d1db2f27fdb1149' }, h("h1", { key: 'b901117fb5a1d3c85e378fc9f6e55f2d0551dbf6', id: "container-title" }, h("pos-label", { key: '7073c49610caaed17911bbddb393d2b9c28e6921' })), h("pos-type-badges", { key: 'e6cc976f115c00e49327b45b74995be615f2deeb' })), h("pos-literals", { key: 'da57328cca05080016eaac03f3cb118732bf71d9' })))));
|
|
31
31
|
}
|
|
32
32
|
static get style() { return defaultAppLayoutCss + articleCardCss; }
|
|
33
33
|
}, [257, "pos-app-ldp-container"]);
|
|
@@ -23,7 +23,7 @@ const PosAppRdfDocument$1 = /*@__PURE__*/ proxyCustomElement(class PosAppRdfDocu
|
|
|
23
23
|
this.__attachShadow();
|
|
24
24
|
}
|
|
25
25
|
render() {
|
|
26
|
-
return (h(Host, { key: '
|
|
26
|
+
return (h(Host, { key: '9dd4b79cd54b3d2d61eea562b41a397cc1841279' }, h("section", { key: 'ec97b4983b9c45a5420b8e15b1b5d13a2b78f505' }, h("pos-subjects", { key: '7ca852dee46a4f1bb64cebccb397e2df7045be82' })), h("section", { key: '9aaf18c750b9847234ebb6d92c3c4ab605ff306e' }, h("article", { key: 'd794f6f83cfa49a37a759f0b8fa16b28038ec10b', "aria-labelledby": "doc-title" }, h("header", { key: 'bebbe27160a15351a1eabaa8c1ebb449beaa1005' }, h("h1", { key: 'cf5ba1875f2e22f162d2878789106738aac3d97c', id: "doc-title" }, h("pos-label", { key: 'fcb1a84e354ab5e2842077a6417c5b77ac9d87ed' })), h("pos-type-badges", { key: '370688f50c2906e069686d35a177c88b68de0a98' })), h("pos-literals", { key: '56bc40269a0269301603f3e9f101ad52738fca6a' })))));
|
|
27
27
|
}
|
|
28
28
|
static get style() { return defaultAppLayoutCss + articleCardCss; }
|
|
29
29
|
}, [257, "pos-app-rdf-document"]);
|
|
@@ -12,7 +12,7 @@ const PosAppSettings = /*@__PURE__*/ proxyCustomElement(class PosAppSettings ext
|
|
|
12
12
|
this.__attachShadow();
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return h("pos-setting-offline-cache", { key: '
|
|
15
|
+
return h("pos-setting-offline-cache", { key: 'f065206f6291089773a19045243f04b6ce35eeb9' });
|
|
16
16
|
}
|
|
17
17
|
static get style() { return posAppSettingsCss; }
|
|
18
18
|
}, [257, "pos-app-settings"]);
|
|
@@ -19,7 +19,7 @@ const PosContainerToolbar = /*@__PURE__*/ proxyCustomElement(class PosContainerT
|
|
|
19
19
|
this.createNewFolder = createEvent(this, "pod-os:create-new-folder", 7);
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
|
-
return (h(Host, { key: '
|
|
22
|
+
return (h(Host, { key: 'df192ca20e78c9965fc68757ffc036c92fe86afb', role: "toolbar", "aria-label": "Container actions" }, h("sl-tooltip", { key: 'bf3bb51ac96b4c2c859a6dddf5e65a5bd6a62d68', content: "Create new file" }, h("button", { key: '755bea86194728ec7de4aec5668f0e394eb6fea4', "aria-label": "Create new file", onClick: () => this.createNewFile.emit() }, h("sl-icon", { key: 'f503aa93dfccca377667cefd0de4862bb31f384b', name: "file-earmark-plus" }))), h("sl-tooltip", { key: 'c0cec91a20f12897adaa116c919f945463e72784', content: "Create new folder" }, h("button", { key: 'c53b217e54724d3255f91122359b59f4fef6d09e', "aria-label": "Create new folder", onClick: () => this.createNewFolder.emit() }, h("sl-icon", { key: 'bd6f96a8a012ef56ca1c5cc6e9aa2c0fe683533a', name: "folder-plus" })))));
|
|
23
23
|
}
|
|
24
24
|
static get style() { return posContainerToolbarCss; }
|
|
25
25
|
}, [257, "pos-container-toolbar"]);
|
|
@@ -24,7 +24,7 @@ const PosCreateNewContainerItem = /*@__PURE__*/ proxyCustomElement(class PosCrea
|
|
|
24
24
|
}
|
|
25
25
|
render() {
|
|
26
26
|
const placeholder = `Enter ${this.type} name`;
|
|
27
|
-
return (h("form", { key: '
|
|
27
|
+
return (h("form", { key: '6b411c7ddd004b5fd90a22f917c8131739241be7', onSubmit: e => this.submit(e) }, h("sl-icon", { key: 'c857fb29776b6ac3c2efc63fc2dea0998c8905d2', name: this.getIcon() }), h("input", { key: '63ac78ac81dcb493ddcd4a2d0a87cdbe0ea1a060', type: "text", value: this.name, onInput: e => this.handleInput(e), placeholder: placeholder, ref: it => (this.input = it) })));
|
|
28
28
|
}
|
|
29
29
|
getIcon() {
|
|
30
30
|
if (this.type === 'file') {
|
|
@@ -19,7 +19,7 @@ const PosDialog = /*@__PURE__*/ proxyCustomElement(class PosDialog extends HTMLE
|
|
|
19
19
|
this.dialog.close();
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
|
-
return (h(Host, { key: '
|
|
22
|
+
return (h(Host, { key: 'bded720f08d77e53b8277d73ec1820345b271983' }, h("dialog", { key: 'f2060a41132226986804e7b170ff1694358cab00', ref: el => (this.dialog = el) }, h("header", { key: 'eee666652599cba426091549bde520e2a2fa155f' }, h("slot", { key: '31e8dceba7f6a6f41c7211ddbb91316019fd7949', name: "title" }), h("button", { key: '9de7cfd061f38bad7a2cfafc1d1d3bb1c12f04ec', tabindex: -1, id: "close", title: "Close", onClick: () => this.close() }, h("sl-icon", { key: '0b8c86946fe1ee1df0e33bb6c920ad714078f08c', name: "x" }))), h("slot", { key: '3c119340ec5344e214b5833ccdef602e8bc416c5', name: "content" }))));
|
|
23
23
|
}
|
|
24
24
|
static get style() { return posDialogCss; }
|
|
25
25
|
}, [260, "pos-dialog", {
|
|
@@ -588,7 +588,7 @@ const PosErrorToast = /*@__PURE__*/ proxyCustomElement(class PosErrorToast exten
|
|
|
588
588
|
await this.alert.toast();
|
|
589
589
|
}
|
|
590
590
|
render() {
|
|
591
|
-
return (h(Host, { key: '
|
|
591
|
+
return (h(Host, { key: 'a383b7a1dfb34a6be7d3c0a68b2c1535cef83730' }, h("sl-alert", { key: 'f0935768722535c5bbaded12e20dc021a3341122', ref: el => (this.alert = el), variant: "danger", duration: "10000", closable: true }, h("sl-icon", { key: 'c673059f17bd1690cec36f3a9a091ee833efcef0', slot: "icon", name: "exclamation-octagon" }), h("strong", { key: '1dbb54a4c87b99163a4e655085081255e1493225' }, this.title), h("br", { key: '52c25e78c971bc7dc649f35846ac5f7d0e8870d2' }), this.message), h("slot", { key: 'f1cc221122bed520f2ba4987c19af8849af58bf8' })));
|
|
592
592
|
}
|
|
593
593
|
}, [257, "pos-error-toast", {
|
|
594
594
|
"title": [32],
|
|
@@ -15,7 +15,7 @@ const PosExampleResources = /*@__PURE__*/ proxyCustomElement(class PosExampleRes
|
|
|
15
15
|
this.__attachShadow();
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
|
-
return (h(Host, { key: '
|
|
18
|
+
return (h(Host, { key: '42e8ecc30fa26eb7750efff9a65048bb42b4c71d' }, h("div", { key: '1df80385f1f6c44f7fe4255ecb93f6183df61727' }, h("h2", { key: '9b249d38f00d1b00863226799bdcd13e4f78a4a9' }, "Try these... \uD83D\uDCA1"), h("p", { key: 'c33157b085b1ad3397e38bf5f4b1c601b0e40b6a' }, "No idea where to start? Try these example resources, and follow your nose \uD83D\uDC43"), h("div", { key: 'f0f35cc2ec1f7fbf8a306e718e1f2aaffcbe84e0', class: "links" }, h("pos-rich-link", { key: '999b7dc0aa587b1964838820f17a02257b051c0e', uri: "https://pod-os.solidcommunity.net/profile/card#me" }), h("pos-rich-link", { key: '67ca02160d0bdaa73bcfb188fcf40b058a584bf8', uri: "https://angelo.veltens.org/profile/card#me" }), h("pos-rich-link", { key: '800829fb68c96b0caa0ad2372b02e08b7842b704', uri: "https://angelo.veltens.org/public/bookmarks" }), h("pos-rich-link", { key: '680e29b8bf0437d6adba15052339b91ffd41b9a4', uri: "https://solidos.solidcommunity.net/profile/card#me" })))));
|
|
19
19
|
}
|
|
20
20
|
static get style() { return posExampleResourcesCss; }
|
|
21
21
|
}, [257, "pos-example-resources"]);
|
|
@@ -12,7 +12,7 @@ const PosGettingStarted = /*@__PURE__*/ proxyCustomElement(class PosGettingStart
|
|
|
12
12
|
this.login = createEvent(this, "pod-os:login", 7);
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return (h(Host, { key: '
|
|
15
|
+
return (h(Host, { key: '23a14b5ee10d585cc8cf3166ce041072b68cabb2' }, h("div", { key: '964e46223d77516aaed40c7c55371716cfccf40a' }, h("h2", { key: '5eaf56d6b0751d8511632d05570a05d5deba88c0' }, "Getting started \uD83D\uDE80"), h("p", { key: 'f41d858112a0337bcf2be9a39986cacac6921210' }, "\uD83D\uDD0E Enter a URL into the above navigation bar to browse through the web of data. "), h("p", { key: '8d40de32d86b871343687b402122b0dcc843daf9' }, "\uD83D\uDD10", ' ', h("button", { key: '225091e03c1cf175362dc9530cf1eb5238e50d65', class: "login", onClick: () => this.login.emit() }, "Sign in"), ' ', "to access private resources on your Solid Pod or those of your friends or coworkers.")), h("div", { key: '92924f3a67ac70cd333932f0658f9f73dd7474c9' }, h("p", { key: '365d7c78aee4bb9396ac7d55c42c9e26b47fe87a', class: "question" }, "New to Solid?"), h("p", { key: '42190c0f401faff3cf43fe8f3c69f4afc380f819' }, h("a", { key: 'd7de0d55a657c8a54a389efc50aa89bc4d48c5e6', href: "https://solidproject.org/for-developers#hosted-pod-services" }, "Get a Pod \u2192"))), h("div", { key: '8ad728231a1f2af613a462982af6bf129956ab1c' }, h("p", { key: 'c960fa49ff9789fe881cadc4f37d315c7727115a', class: "question" }, "Want to dig deeper into PodOS?"), h("p", { key: '7991e91dbfdfc0447a2e08850e3634086f3f12ee' }, h("a", { key: 'a35d336eb2ca5947e66abb9e37526ee035c0a700', href: "http://pod-os.org" }, "Learn more \u2192")))));
|
|
16
16
|
}
|
|
17
17
|
static get style() { return posGettingStartedCss; }
|
|
18
18
|
}, [257, "pos-getting-started"]);
|
|
@@ -40,7 +40,7 @@ const PosLiterals = /*@__PURE__*/ proxyCustomElement(class PosLiterals extends H
|
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
|
-
return (h(Host, { key: '
|
|
43
|
+
return (h(Host, { key: '7dae01cc16077a671f036e3d7bd236a66577b52e' }, this.data.length > 0 ? (h("dl", null, this.data.map(it => (h("div", { class: "predicate-values" }, h("dt", null, h("pos-predicate", { uri: it.predicate, label: it.label })), h("div", { class: "values" }, it.values.map(value => (h("dd", null, value))))))))) : null, h("pos-add-literal-value", { key: '9a1598046f98a08acc78d3cc05d40134dd4ca39b', "onPod-os:added-literal-value": event => this.literalValueAdded(event.detail) })));
|
|
44
44
|
}
|
|
45
45
|
static get style() { return posLiteralsCss; }
|
|
46
46
|
}, [257, "pos-literals", {
|
|
@@ -17,7 +17,7 @@ const PosLoginForm = /*@__PURE__*/ proxyCustomElement(class PosLoginForm extends
|
|
|
17
17
|
this.canSubmit = Boolean(this.idpUrl);
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return (h("form", { key: '
|
|
20
|
+
return (h("form", { key: '18b8b66ebfd121c33bf5e7e3f71829b643b92fee', method: "dialog", onSubmit: () => this.handleSubmit() }, h("label", { key: '754c2e392c0e078eb54471838a6a1b1b84a7fc39', htmlFor: "idpUrl" }, "Please enter your Identity Provider"), h("input", { key: 'e5c510ace3893f7a19117b87f4c8fddd418bb82f', id: "idpUrl", type: "url", value: this.idpUrl, required: true, onInput: e => this.handleChange(e), list: "suggestedIssuers", placeholder: "Type to search..." }), h("datalist", { key: '19181c9050a562a78bcff28c6e2bd77fcd51dc81', id: "suggestedIssuers" }, h("option", { key: 'e0f05b8f4f1ebd9f2d5b0b964efd57943bba7095', value: "https://solidcommunity.net/" }, "solidcommunity.net"), h("option", { key: '31ef91494e7fe992590e926235a07eb234ebd07f', value: "https://solidweb.me/" }, "solidweb.me"), h("option", { key: 'e7e0646134b9f89785f8349c0ee3f002a0f5f747', value: "https://login.inrupt.com" }, "Inrupt PodSpaces"), h("option", { key: '5c4231cf451e5d1c6570b15913a8749677cb95fc', value: "https://trinpod.us" }, "trinpod.us"), h("option", { key: 'f0ebd336250c1b1efa9d92e638a3f1f88abfd82b', value: "https://trinpod.eu" }, "trinpod.eu"), h("option", { key: 'd7bd67b6e673479880617ae37ef5fd53af9ec3a9', value: "https://solid.redpencil.io/" }, "redpencil.io"), h("option", { key: '2060fa5b05306cc1cf3ac004c956f3e1f0ae6ea9', value: "https://teamid.live/" }, "teamid.live")), h("input", { key: '5ddd6bfce924dc90834647f3ceed4497d20bb9d8', id: "login", type: "submit", value: "Login", disabled: !this.canSubmit })));
|
|
21
21
|
}
|
|
22
22
|
handleChange(event) {
|
|
23
23
|
this.validate();
|
|
@@ -41,7 +41,7 @@ const PosLogin = /*@__PURE__*/ proxyCustomElement(class PosLogin extends HTMLEle
|
|
|
41
41
|
this.dialog.showModal();
|
|
42
42
|
}
|
|
43
43
|
render() {
|
|
44
|
-
return (h(Host, { key: '
|
|
44
|
+
return (h(Host, { key: '629107a1282e2db90a71605535e1a28a61a251af' }, h("div", { key: '377851ec061b30aa961ae677a4861f5ec6e297d7', class: "container" }, !store.state.isLoggedIn ? (h("button", { id: "login", onClick: () => this.openDialog() }, "Login")) : (this.loggedInComponents())), h("pos-dialog", { key: '0572fe81ccde84aa96bce1f22018a8bdf0329adb', ref: el => (this.dialog = el) }, h("span", { key: '5414b1f7d70ea78591e8357b0a03fd08671ec6e7', slot: "title" }, "Sign in to your Pod"), h("pos-login-form", { key: '07bad99f318e39f908116783b8bc0f9d9cd358a9', "onPod-os:idp-url-selected": ev => this.login(ev), slot: "content" }))));
|
|
45
45
|
}
|
|
46
46
|
loggedInComponents() {
|
|
47
47
|
return this.customLoggedInComponent ? h("slot", { name: "if-logged-in" }) : this.defaultLoggedInComponents();
|
|
@@ -28735,7 +28735,7 @@ const PosMarkdownDocument = /*@__PURE__*/ proxyCustomElement(class PosMarkdownDo
|
|
|
28735
28735
|
this.isEditing = false;
|
|
28736
28736
|
}
|
|
28737
28737
|
render() {
|
|
28738
|
-
return (h$1("article", { key: '
|
|
28738
|
+
return (h$1("article", { key: 'a45dd6888d84875c9dea5f488f2d76688e2626fc' }, this.editable ? (h$1("header", null, this.isEditing ? this.getStatus() : null, this.isEditing ? (h$1("button", { onClick: () => this.stopEditing() }, h$1("sl-icon", { name: "eye" }), "View")) : (h$1("button", { onClick: () => this.startEditing() }, h$1("sl-icon", { name: "pencil-square" }), "Edit")))) : null, h$1("div", { key: '60057933d8bf808e76915b88b2eecd7f70834be6', class: "content", ref: el => (this.editorEl = el) })));
|
|
28739
28739
|
}
|
|
28740
28740
|
getStatus() {
|
|
28741
28741
|
if (this.isModified) {
|
|
@@ -25,7 +25,7 @@ const PosNavigationBar = /*@__PURE__*/ proxyCustomElement(class PosNavigationBar
|
|
|
25
25
|
}
|
|
26
26
|
render() {
|
|
27
27
|
const ariaLabel = this.current ? `${this.current.label()} (Click to search or enter URI)` : 'Search or enter URI';
|
|
28
|
-
return (h("section", { key: '
|
|
28
|
+
return (h("section", { key: 'a66626042ab42e63094b7b27729f0c299d6e62a3', class: "current" }, this.current && this.searchIndexReady && h("pos-make-findable", { key: '4e2e2e3271c4ed78c34e32e0a815a87dd9d73b52', uri: this.current.uri }), h("button", { key: '5ff874354f32f9fef4b15337ce7230c43df0c0ca', "aria-label": ariaLabel, onClick: () => this.onClick() }, h("div", { key: 'd00d82f397fb9f3ede61484d6cc2ae74ef92fd06' }, this.current ? this.current.label() : 'Search or enter URI'), this.icon())));
|
|
29
29
|
}
|
|
30
30
|
icon() {
|
|
31
31
|
return (h("svg", { "aria-hidden": "true", xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", "stroke-width": "1.5", stroke: "currentColor" }, h("path", { "stroke-linecap": "round", "stroke-linejoin": "round", d: "m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z" })));
|
|
@@ -129,7 +129,7 @@ const PosNavigation = /*@__PURE__*/ proxyCustomElement(class PosNavigation exten
|
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
131
|
render() {
|
|
132
|
-
return (h("nav", { key: '
|
|
132
|
+
return (h("nav", { key: '44f504f9a905c6e63353741cda554a6a35a46f82' }, h("search", { key: '98e7cae9729db2959d992f9e41a4cc99064b9eb0' }, h("pos-navigation-bar", { key: 'c0ce90fcc8334d0ea784ca3126a1524b036631ac', searchIndexReady: this.searchIndex !== undefined, current: this.resource }), h("dialog", { key: 'a9b1418ad48ae298fbd8eaa56e62eb613e8deef6', ref: el => (this.dialogRef = el) }, h("form", { key: 'a75933116bd844e0afc4e94eee713adb6d6bb4ea', method: "dialog", onSubmit: () => this.onSubmit() }, h("input", { key: 'c6de46f82392acf3752e51e64dc6e5526f8d6a04', ref: el => (this.inputRef = el), enterkeyhint: "search", "aria-label": "Search or enter URI", placeholder: "Search or enter URI", value: this.uri, onChange: e => this.onChange(e), onInput: e => this.onChange(e), role: "combobox", "aria-autocomplete": "list", "aria-expanded": this.suggestions.length > 0, "aria-controls": "suggestions-list", "aria-activedescendant": this.selectedIndex >= 0 ? `option-${this.selectedIndex}` : null }), this.suggestions.length > 0 ? (h("div", { class: "suggestions" }, h("ol", { id: "suggestions-list", role: "listbox", "aria-label": "Search results" }, this.suggestions.map((it, index) => (h("li", { id: `option-${index}`, role: "option", "aria-selected": index === this.selectedIndex ? 'true' : 'false' }, h("pos-rich-link", { uri: it.ref }))))))) : null)))));
|
|
133
133
|
}
|
|
134
134
|
static get watchers() { return {
|
|
135
135
|
"uri": ["updateResource"],
|
|
@@ -26,7 +26,7 @@ const PosNewThingForm = /*@__PURE__*/ proxyCustomElement(class PosNewThingForm e
|
|
|
26
26
|
subscribePodOs(this);
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
|
-
return (h("form", { key: '
|
|
29
|
+
return (h("form", { key: '97ee880c3abec22c35be46a9cceea2458cf21ed9', method: "dialog", onSubmit: e => this.handleSubmit(e) }, h("label", { key: 'd8640130a517630c02b974ee4013d2c3280b6fa2', htmlFor: "type" }, "Type"), h("pos-select-term", { key: 'e046ea254ed78f9ad89c4c20ada3c6ff13349749', id: "type", placeholder: "", value: this.selectedTypeUri, "onPod-os:term-selected": e => this.onTermSelected(e) }), h("label", { key: 'aed99f50050048a826960059e67f7c35d3f0ab55', htmlFor: "name" }, "Name"), h("input", { key: 'd449344ff106ad2a222ce134c72cf8a9f15ed829', id: "name", type: "text", value: this.name, onInput: e => this.handleChange(e) }), this.newUri ? (h("div", { id: "new-uri", title: "This will be the URI of the new thing" }, this.newUri)) : null, h("input", { key: '493bccdd4b475866aab67a3c77af87a067fa3076', id: "create", type: "submit", value: "Create", disabled: !this.canSubmit })));
|
|
30
30
|
}
|
|
31
31
|
handleChange(event) {
|
|
32
32
|
this.name = event.target.value;
|
|
@@ -328,7 +328,7 @@ const PosRouter = /*@__PURE__*/ proxyCustomElement(class PosRouter extends HTMLE
|
|
|
328
328
|
this.routeChanged.emit(this.uri);
|
|
329
329
|
}
|
|
330
330
|
render() {
|
|
331
|
-
return h("slot", { key: '
|
|
331
|
+
return h("slot", { key: '6e8c5214a0e82fb838fc512ad3cfa4cfb480a29e' });
|
|
332
332
|
}
|
|
333
333
|
static get style() { return posRouterCss; }
|
|
334
334
|
}, [260, "pos-router", {
|
|
@@ -29,7 +29,7 @@ const PosSelectTerm = /*@__PURE__*/ proxyCustomElement(class PosSelectTerm exten
|
|
|
29
29
|
this.termSelected.emit({ uri: event.target.value });
|
|
30
30
|
}
|
|
31
31
|
render() {
|
|
32
|
-
return (h(Host, { key: '
|
|
32
|
+
return (h(Host, { key: '0dc25a3c0491f8dafb3b5350c7347907e98a08e7' }, h("input", { key: '8f017d277f9fadaadc1bc3793d377848d315431b', part: "input", list: "terms", placeholder: this.placeholder, value: this.value, onChange: ev => this.handleChange(ev) }), h("datalist", { key: 'ab2fc8071cd8adc6999e1f460b8e8a8cb6d43849', part: "terms", id: "terms" }, this.terms.map(term => (h("option", { value: term.uri }, term.shorthand))))));
|
|
33
33
|
}
|
|
34
34
|
static get delegatesFocus() { return true; }
|
|
35
35
|
static get watchers() { return {
|
|
@@ -12,7 +12,7 @@ const PosSettingOfflineCache = /*@__PURE__*/ proxyCustomElement(class PosSetting
|
|
|
12
12
|
this.__attachShadow();
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return (h(Host, { key: '
|
|
15
|
+
return (h(Host, { key: 'f024e7d542cfc87a4dc0a1f22694b664086ebd60' }, h("div", { key: 'e88e694cefa4a2361ca8c67f1bd023fda1b70f2a' }, h("h2", { key: 'c4b2e6270f26a2eb7f62e5076b40834903fc10e4' }, h("svg", { key: 'd63643c1ed908c6fe9ab4ff6c47b13848c714c32', xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", "stroke-width": "1.5", stroke: "currentColor" }, h("path", { key: '78f055556bb175ea17d0db1ccf78c16343d67d3f', "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"), h("p", { key: '3045ae3214b9e91feb34857ce45a3db6529f2959', class: "info" }, "\u2139 Enable offline cache to be able to access previously loaded data while offline."), h("p", { key: '9987c1cb59b62e1eb06c67a9c646a9a2f125529a', class: "warn" }, "\u26A0 Private data may be stored on this device. Only enable it, if you trust this device."), h("label", { key: '55dd3c0fa7ece9a59437e7818d6cfa9b0e9eb5bf' }, h("input", { key: '22874f8a39b5016b71818fa1d6226bf66ff969c3', type: "checkbox", checked: localSettings.state.offlineCache, onChange: ev => (localSettings.state.offlineCache = ev.target.checked) }), "Enable offline cache"))));
|
|
16
16
|
}
|
|
17
17
|
static get style() { return posSettingOfflineCacheCss; }
|
|
18
18
|
}, [257, "pos-setting-offline-cache"]);
|
|
@@ -11655,7 +11655,7 @@ const PosUpload = /*@__PURE__*/ proxyCustomElement(class PosUpload extends HTMLE
|
|
|
11655
11655
|
});
|
|
11656
11656
|
}
|
|
11657
11657
|
render() {
|
|
11658
|
-
return h$2("div", { key: '
|
|
11658
|
+
return h$2("div", { key: 'f28bebfde1c89399e3f51e48224038fbba7119af', class: "container", ref: el => (this.uppy = el) });
|
|
11659
11659
|
}
|
|
11660
11660
|
static get style() { return posUploadCss; }
|
|
11661
11661
|
}, [257, "pos-upload", {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{p as e,g as o,b as r}from"./p-CTyMYUsB.js";export{s as setNonce}from"./p-CTyMYUsB.js";var a=()=>{const o=import.meta.url;const s={};if(o!==""){s.resourcesUrl=new URL(".",o).href}return e(s)};a().then((async e=>{await o();return r([["p-
|
|
1
|
+
import{p as e,g as o,b as r}from"./p-CTyMYUsB.js";export{s as setNonce}from"./p-CTyMYUsB.js";var a=()=>{const o=import.meta.url;const s={};if(o!==""){s.resourcesUrl=new URL(".",o).href}return e(s)};a().then((async e=>{await o();return r([["p-5b1d2385",[[257,"pos-app-generic"]]],["p-3f4669c1",[[257,"pos-app-rdf-document"]]],["p-5a97b2ec",[[257,"pos-app-image-viewer",{resource:[32]}]]],["p-d03f9b42",[[257,"pos-app-document-viewer",{resource:[32]}]]],["p-af50630f",[[256,"pos-list",{rel:[1],ifTypeof:[1,"if-typeof"],fetch:[4],error:[32],os:[32],resource:[32],items:[32],templateString:[32]}]]],["p-e1e9503f",[[257,"pos-value",{predicate:[1],resource:[32]}]]],["p-4b794053",[[257,"pos-container-item",{resource:[32]}],[257,"pos-container-toolbar"],[257,"pos-create-new-container-item",{type:[1],container:[16],os:[32],name:[32]}]]],["p-626f5777",[[256,"pos-app-browser",{restorePreviousSession:[4,"restore-previous-session"],mode:[1],uri:[32]}],[256,"pos-internal-router",{uri:[1]}],[257,"pos-login",{os:[32],customLoggedInComponent:[32]},[[4,"pod-os:logout","logout"],[4,"pod-os:login","onLogin"]]],[257,"pos-navigation",{uri:[1],os:[32],inputValue:[32],searchIndex:[32],suggestions:[32],selectedIndex:[32],resource:[32]},[[0,"pod-os:search:index-created","buildSearchIndex"],[0,"pod-os:search:index-updated","rebuildSearchIndex"],[0,"pod-os:navigate","openNavigationDialog"],[4,"click","closeDialog"],[0,"pod-os:link","clearSuggestions"],[0,"click","onClickSelf"],[0,"keydown","handleKeyDown"]],{uri:["updateResource"],os:["updateResource"]}],[257,"pos-user-menu",{webId:[1,"web-id"]},[[0,"sl-select","onSelect"]]],[257,"pos-add-new-thing",{referenceUri:[1,"reference-uri"]}],[257,"pos-type-router",{initialTool:[32],availableTools:[32],oldTool:[32],currentTool:[32],transitioning:[32]},[[0,"pod-os:tool-selected","handleToolSelected"]]],[257,"pos-app",{restorePreviousSession:[4,"restore-previous-session"],os:[32],unsubscribeSettings:[32],loading:[32]},[[0,"pod-os:init","initializeOs"],[0,"pod-os:module","loadModule"]]],[257,"pos-error-toast",{title:[32],message:[32]},[[8,"unhandledrejection","unhandledRejection"],[0,"pod-os:error","catchError"]]],[260,"pos-router",{mode:[1],uri:[32]},[[0,"pod-os:link","linkClicked"],[8,"pod-os:session-restored","sessionRestored"]]],[257,"pos-app-dashboard"],[257,"pos-navigation-bar",{current:[16],searchIndexReady:[4,"search-index-ready"]},[[4,"keydown","activate"]]],[257,"pos-app-settings"],[273,"pos-new-thing-form",{referenceUri:[1,"reference-uri"],os:[32],newUri:[32],name:[32],selectedTypeUri:[32],canSubmit:[32]},null,{name:["validate"],selectedTypeUri:["validate"]}],[273,"pos-login-form",{idpUrl:[32],canSubmit:[32]},null,{idpUrl:["validate"]}],[257,"pos-tool-select",{selected:[16],tools:[16]}],[257,"pos-example-resources"],[257,"pos-make-findable",{uri:[1],os:[32],thing:[32],indexes:[32],unsubscribeSessionChange:[32],showOptions:[32],isIndexed:[32]},[[0,"sl-select","onSelect"]],{uri:["updateUri"]}],[260,"pos-dialog",{showModal:[64],close:[64]}],[257,"pos-getting-started"],[257,"pos-setting-offline-cache"],[257,"pos-picture",{blurredBackground:[4,"blurred-background"],noUpload:[4,"no-upload"],resource:[32],os:[32],isUploading:[32]}],[257,"pos-upload",{accept:[16],uploader:[16]}],[257,"pos-image",{src:[1],alt:[1],blurredBackground:[4,"blurred-background"],os:[32],dataUri:[32],brokenFile:[32],networkError:[32],imageError:[32],loading:[32]},null,{os:["fetchBlob"],src:["fetchBlob"]}],[273,"pos-select-term",{placeholder:[1],value:[1],os:[32],terms:[32]},null,{os:["setTerms"]}],[257,"pos-rich-link",{uri:[1],rel:[1],rev:[1],link:[32],followPredicate:[32],error:[32],showCustomContent:[32]}],[257,"pos-description",{resource:[32]}],[257,"pos-label",{resource:[32]}],[257,"pos-resource",{uri:[1],lazy:[4],os:[32],resource:[32],consumers:[32],error:[32],loading:[32],fetch:[64]},[[0,"pod-os:resource","provideResource"]],{os:["loadResource"],uri:["loadResource"]}]]],["p-a8994b6e",[[257,"pos-container-contents",{container:[32],contents:[32],loading:[32],createNewItem:[32]},[[0,"keydown","handleKeyDown"]]]]],["p-563b8fb7",[[257,"pos-document",{src:[1],alt:[1],os:[32],file:[32],brokenFile:[32],error:[32],saveStatus:[32],loading:[32],isEditable:[32]},[[0,"pod-os:document-modified","handleDocumentModified"]],{os:["fetchBlob"],src:["fetchBlob"]}]]],["p-e845e649",[[257,"pos-relations",{data:[32]}],[257,"pos-reverse-relations",{data:[32]}]]],["p-4149357d",[[257,"pos-subjects",{data:[32]}]]],["p-bcdbde5d",[[257,"pos-markdown-document",{file:[16],saveStatus:[1,"save-status"],editable:[4],markdown:[32],isModified:[32],isEditing:[32],startEditing:[64],stopEditing:[64]}]]],["p-7e46aa5b",[[257,"pos-predicate",{uri:[1],label:[1],expanded:[32]}]]],["p-651bb8ce",[[257,"pos-literals",{data:[32]}],[257,"pos-type-badges",{data:[32],typeLabels:[32],isExpanded:[32]}],[257,"pos-add-literal-value",{os:[32],resource:[32],currentValue:[32],selectedTermUri:[32]},null,{os:["setName"]}]]],["p-cd97614b",[[257,"pos-app-ldp-container"]]]],e)}));
|
|
2
2
|
//# sourceMappingURL=elements.esm.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{r as e,h as a,H as c}from"./p-CTyMYUsB.js";const s=":host{--gap-size:var(--size-1);display:flex;flex-direction:column;gap:var(--gap-size);margin:var(--gap-size)}section{display:flex;flex-direction:column;gap:var(--gap-size)}@media (min-width: 640px){:host{--gap-size:var(--size-4);flex-direction:row;flex-wrap:wrap;section:first-of-type {\n flex: 1}section:not(:first-of-type){flex:0 0 30%}}";const d="article {\n padding: var(--size-2);\n display: flex;\n flex-direction: column;\n gap: var(--size-2);\n outline: var(--pos-border-solid);\n border-radius: var(--radius-sm);\n box-shadow: var(--shadow-md);\n background-color: var(--pos-card-background);\n\n header {\n display: flex;\n flex-direction: column;\n gap: var(--size-2);\n h1 {\n margin: 0;\n }\n }\n}\n";const r=class{constructor(a){e(this,a)}render(){return a(c,{key:"9dd4b79cd54b3d2d61eea562b41a397cc1841279"},a("section",{key:"ec97b4983b9c45a5420b8e15b1b5d13a2b78f505"},a("pos-subjects",{key:"7ca852dee46a4f1bb64cebccb397e2df7045be82"})),a("section",{key:"9aaf18c750b9847234ebb6d92c3c4ab605ff306e"},a("article",{key:"d794f6f83cfa49a37a759f0b8fa16b28038ec10b","aria-labelledby":"doc-title"},a("header",{key:"bebbe27160a15351a1eabaa8c1ebb449beaa1005"},a("h1",{key:"cf5ba1875f2e22f162d2878789106738aac3d97c",id:"doc-title"},a("pos-label",{key:"fcb1a84e354ab5e2842077a6417c5b77ac9d87ed"})),a("pos-type-badges",{key:"370688f50c2906e069686d35a177c88b68de0a98"})),a("pos-literals",{key:"56bc40269a0269301603f3e9f101ad52738fca6a"}))))}};r.style=s+d;export{r as pos_app_rdf_document};
|
|
2
|
+
//# sourceMappingURL=p-3f4669c1.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as e,c as t,h as n,H as s,a as o}from"./p-CTyMYUsB.js";import{s as
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as e,c as t,h as n,H as s,a as o}from"./p-CTyMYUsB.js";import{s as a}from"./p-BW_CkW1K.js";import"./p-BQSzBvyx.js";import"./p-C7hj5CPb.js";import"./p-D0vX0PL3.js";import{u as r}from"./p-D0uCfr1-.js";import"./p-BENWPB03.js";function i(e){if(c(e,"http://www.w3.org/ns/ldp#Container")){return"folder2"}else if(c(e,"http://www.w3.org/ns/ldp#Resource")){return"file-earmark"}else{return"question-diamond"}}function c(e,t){return e.some((e=>e.uri===t))}const l=":host {\n display: flex;\n}\n\na {\n display: flex;\n text-decoration: none;\n padding: var(--size-4);\n width: var(--size-full);\n gap: var(--size-2);\n color: var(--pos-normal-text-color);\n background-color: var(--pos-background-color);\n &:hover {\n background-color: var(--pos-border-color);\n }\n}\n";const d=class{constructor(n){e(this,n);this.linkEmitter=t(this,"pod-os:link");this.subscribeResource=t(this,"pod-os:resource");this.receiveResource=e=>{this.resource=e}}componentWillLoad(){a(this)}render(){if(!this.resource)return null;const e=i(this.resource.types());return n("a",{href:this.resource.uri,onClick:e=>{e.preventDefault();this.linkEmitter.emit(this.resource.uri)}},n("sl-icon",{name:e,slot:"start"}),n("slot",null))}};d.style=l;const f=":host {\n display: flex;\n gap: var(--size-1);\n padding-bottom: var(--size-1);\n\n button {\n padding: var(--size-2);\n aspect-ratio: 1/1;\n display: flex;\n }\n}\n";const h=class{constructor(n){e(this,n);this.createNewFile=t(this,"pod-os:create-new-file");this.createNewFolder=t(this,"pod-os:create-new-folder")}render(){return n(s,{key:"df192ca20e78c9965fc68757ffc036c92fe86afb",role:"toolbar","aria-label":"Container actions"},n("sl-tooltip",{key:"bf3bb51ac96b4c2c859a6dddf5e65a5bd6a62d68",content:"Create new file"},n("button",{key:"755bea86194728ec7de4aec5668f0e394eb6fea4","aria-label":"Create new file",onClick:()=>this.createNewFile.emit()},n("sl-icon",{key:"f503aa93dfccca377667cefd0de4862bb31f384b",name:"file-earmark-plus"}))),n("sl-tooltip",{key:"c0cec91a20f12897adaa116c919f945463e72784",content:"Create new folder"},n("button",{key:"c53b217e54724d3255f91122359b59f4fef6d09e","aria-label":"Create new folder",onClick:()=>this.createNewFolder.emit()},n("sl-icon",{key:"bd6f96a8a012ef56ca1c5cc6e9aa2c0fe683533a",name:"folder-plus"}))))}};h.style=f;const p=":host {\n form {\n display: flex;\n align-items: center;\n gap: var(--size-2);\n padding: var(--size-4);\n background-color: var(--pos-background-color);\n }\n}\n";const u=class{constructor(n){e(this,n);this.linkEmitter=t(this,"pod-os:link");this.errorEmitter=t(this,"pod-os:error");this.handleInput=e=>{this.name=e.target.value}}async componentWillLoad(){this.os=await r(this.el)}componentDidLoad(){this.input.focus()}render(){const e=`Enter ${this.type} name`;return n("form",{key:"6b411c7ddd004b5fd90a22f917c8131739241be7",onSubmit:e=>this.submit(e)},n("sl-icon",{key:"c857fb29776b6ac3c2efc63fc2dea0998c8905d2",name:this.getIcon()}),n("input",{key:"63ac78ac81dcb493ddcd4a2d0a87cdbe0ea1a060",type:"text",value:this.name,onInput:e=>this.handleInput(e),placeholder:e,ref:e=>this.input=e}))}getIcon(){if(this.type==="file"){return"file-earmark-plus"}else{return"folder-plus"}}async submit(e){e.preventDefault();let t=await this.createNew();if(t.isOk()){this.linkEmitter.emit(t.value.url)}else{this.errorEmitter.emit(t.error)}}async createNew(){if(this.type==="file"){return this.os.files().createNewFile(this.container,this.name)}else{return this.os.files().createNewFolder(this.container,this.name)}}get el(){return o(this)}};u.style=p;export{d as pos_container_item,h as pos_container_toolbar,u as pos_create_new_container_item};
|
|
2
|
+
//# sourceMappingURL=p-4b794053.entry.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{r as e,h as a,H as n}from"./p-CTyMYUsB.js";const c=":host {\n --gap-size: var(--size-1);\n display: flex;\n flex-direction: column;\n gap: var(--gap-size);\n margin: var(--gap-size);\n}\n\narticle {\n outline: var(--pos-border-solid);\n border-radius: var(--radius-sm);\n box-shadow: var(--shadow-md);\n background-color: var(--pos-card-background);\n\n header {\n display: flex;\n flex-direction: column;\n\n pos-picture {\n --object-fit: contain;\n --width: 100%;\n --height: auto;\n --max-height: 300px;\n border-radius: var(--radius-sm) var(--radius-sm) 0 0;\n --border-radius: var(--radius-sm) var(--radius-sm) 0 0;\n }\n\n h1,\n pos-type-badges {\n margin: var(--size-2);\n }\n }\n\n main {\n padding: var(--size-2);\n\n pos-description {\n color: var(--pos-secondary-text-color);\n font-weight: var(--weight-light);\n }\n }\n}\n\n@media (min-width: 640px) {\n :host {\n flex-direction: row;\n flex-wrap: wrap;\n\n section:first-of-type {\n flex: 0 0 25%;\n }\n\n section:not(:first-of-type) {\n flex: 1;\n }\n }\n}\n";const d=class{constructor(a){e(this,a)}render(){return a(n,{key:"170a57d59474ac6fa887251c96dfe64f93308e3f"},a("section",{key:"208917e280149067f5a0c946636853f23fc83d7b"},a("article",{key:"62c8f8a2b37455d7ec4ffc11cbb7e46b7262a6e8","aria-labelledby":"thing-title"},a("header",{key:"2f85c4bffecfa3e0f55ed07d98397647cfcd4acc"},a("pos-picture",{key:"1094acb0b8cac8c9a8acaca29abeeaa5cc00aca0",blurredBackground:true}),a("h1",{key:"eba5144dd2cf94fdfdc7514c26d68aecc8361139",id:"thing-title"},a("pos-label",{key:"ac03525509d037740d1b329fbaf64c68f9ea5376"})),a("pos-type-badges",{key:"0dbdb698a8a77a5a500a440142e078860b3c0681"})),a("main",{key:"d87bfa4cf8bfb9b0ba633dff40f7d42478265cc1"},a("pos-description",{key:"c5c3b64864f8bc9d8e72b1a87f92bdd2435b4e41"})))),a("section",{key:"f013653e7eafd26e6daa53c76a95d12939d356bd"},a("pos-literals",{key:"d34963cc5eed8c6e6baa3963009c352043f30db5"})),a("section",{key:"ab70a3d890665c4ecfe987f35437de1a5dc3e655"},a("pos-relations",{key:"f8751d31a54b240cad0f089a9aea5123dc0c0bae"}),a("pos-reverse-relations",{key:"5aff024840f92393d69f0816263751efc6cb57f3"})))}};d.style=c;export{d as pos_app_generic};
|
|
2
|
+
//# sourceMappingURL=p-5b1d2385.entry.js.map
|