@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
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{r as e,h as a,H as c}from"./p-CTyMYUsB.js";const n=":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 s="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 d=class{constructor(a){e(this,a)}render(){return a(c,{key:"76b7a2ab73232cbea2a7352527fd4fc35a75c66b"},a("section",{key:"28d455d6e4b640de624a2c684133a6d4c7de2100"},a("pos-container-contents",{key:"8e518a1122461108b3d33d66664f67feb55527c4"}),a("details",{key:"6be9b8cf613a54213e8281c0a4bf4e8235c1b4b1"},a("summary",{key:"541ff3bbe8ec736361ea59fef319141a743c93ee"},"All subjects"),a("pos-subjects",{key:"4e1927ea2365c354c7d1abf2eca50d892e1ac2bc"}))),a("section",{key:"c9156ae4584e7f5803a7427b97844c3bbeae86bf"},a("article",{key:"60cabe0f2eaaec3e109fce000913b04f7581934e","aria-labelledby":"container-title"},a("header",{key:"17f43f9d29cfe77943c0108e0d1db2f27fdb1149"},a("h1",{key:"b901117fb5a1d3c85e378fc9f6e55f2d0551dbf6",id:"container-title"},a("pos-label",{key:"7073c49610caaed17911bbddb393d2b9c28e6921"})),a("pos-type-badges",{key:"e6cc976f115c00e49327b45b74995be615f2deeb"})),a("pos-literals",{key:"da57328cca05080016eaac03f3cb118732bf71d9"}))))}};d.style=n+s;export{d as pos_app_ldp_container};
|
|
2
|
+
//# sourceMappingURL=p-cd97614b.entry.js.map
|
|
@@ -92,7 +92,7 @@ const PosLiterals = class {
|
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
render() {
|
|
95
|
-
return (h(Host, { key: '
|
|
95
|
+
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) })));
|
|
96
96
|
}
|
|
97
97
|
};
|
|
98
98
|
PosLiterals.style = posLiteralsCss;
|
|
@@ -19,7 +19,7 @@ const PosAddNewThing = class {
|
|
|
19
19
|
this.dialog.showModal();
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
|
-
return (h$4(Host, { key: '
|
|
22
|
+
return (h$4(Host, { key: '9d2a61a7e9021b479c88971e7a3fbe805a24249e' }, h$4("button", { key: '97a7a90791ab28e5376f5b8152059fe27637fff1', id: "new", title: "Add a new thing", onClick: () => this.openDialog() }, h$4("sl-icon", { key: '3f2db77e21b502764453a9e2ff7f73b05aebc1c5', name: "plus-circle" })), h$4("pos-dialog", { key: '1aa62484381fe6399fccce8329ce406fbf41f0b8', ref: el => (this.dialog = el) }, h$4("span", { key: '70277e49b50caef90060ef0f1e25e48923e1a787', slot: "title" }, "Add a new thing"), h$4("pos-new-thing-form", { key: '447fbe02a191113108244c07d755b53664d24d83', slot: "content", referenceUri: this.referenceUri }))));
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
25
|
PosAddNewThing.style = posAddNewThingCss;
|
|
@@ -3149,9 +3149,7 @@ const PosAppDashboard = class {
|
|
|
3149
3149
|
registerInstance(this, hostRef);
|
|
3150
3150
|
}
|
|
3151
3151
|
render() {
|
|
3152
|
-
return (h$4(Host, { key: '
|
|
3153
|
-
? [h$4("pos-example-resources", null)]
|
|
3154
|
-
: [h$4("pos-getting-started", null), h$4("pos-example-resources", null)]));
|
|
3152
|
+
return (h$4(Host, { key: '18dc165b7be1c796136804a2ba7643b2a6fffc73' }, h$4("pos-getting-started", { key: 'e3f7a22641e4c24168a36f96463515cd1a89ca5e' }), h$4("pos-example-resources", { key: '1044dd873049118e165ff6d38449c85695f63a50' })));
|
|
3155
3153
|
}
|
|
3156
3154
|
};
|
|
3157
3155
|
PosAppDashboard.style = posAppDashboardCss;
|
|
@@ -3163,7 +3161,7 @@ const PosAppSettings = class {
|
|
|
3163
3161
|
registerInstance(this, hostRef);
|
|
3164
3162
|
}
|
|
3165
3163
|
render() {
|
|
3166
|
-
return h$4("pos-setting-offline-cache", { key: '
|
|
3164
|
+
return h$4("pos-setting-offline-cache", { key: 'f065206f6291089773a19045243f04b6ce35eeb9' });
|
|
3167
3165
|
}
|
|
3168
3166
|
};
|
|
3169
3167
|
PosAppSettings.style = posAppSettingsCss;
|
|
@@ -3197,7 +3195,7 @@ const PosDialog = class {
|
|
|
3197
3195
|
this.dialog.close();
|
|
3198
3196
|
}
|
|
3199
3197
|
render() {
|
|
3200
|
-
return (h$4(Host, { key: '
|
|
3198
|
+
return (h$4(Host, { key: 'bded720f08d77e53b8277d73ec1820345b271983' }, h$4("dialog", { key: 'f2060a41132226986804e7b170ff1694358cab00', ref: el => (this.dialog = el) }, h$4("header", { key: 'eee666652599cba426091549bde520e2a2fa155f' }, h$4("slot", { key: '31e8dceba7f6a6f41c7211ddbb91316019fd7949', name: "title" }), h$4("button", { key: '9de7cfd061f38bad7a2cfafc1d1d3bb1c12f04ec', tabindex: -1, id: "close", title: "Close", onClick: () => this.close() }, h$4("sl-icon", { key: '0b8c86946fe1ee1df0e33bb6c920ad714078f08c', name: "x" }))), h$4("slot", { key: '3c119340ec5344e214b5833ccdef602e8bc416c5', name: "content" }))));
|
|
3201
3199
|
}
|
|
3202
3200
|
};
|
|
3203
3201
|
PosDialog.style = posDialogCss;
|
|
@@ -3837,7 +3835,7 @@ const PosErrorToast = class {
|
|
|
3837
3835
|
await this.alert.toast();
|
|
3838
3836
|
}
|
|
3839
3837
|
render() {
|
|
3840
|
-
return (h$4(Host, { key: '
|
|
3838
|
+
return (h$4(Host, { key: 'a383b7a1dfb34a6be7d3c0a68b2c1535cef83730' }, h$4("sl-alert", { key: 'f0935768722535c5bbaded12e20dc021a3341122', ref: el => (this.alert = el), variant: "danger", duration: "10000", closable: true }, h$4("sl-icon", { key: 'c673059f17bd1690cec36f3a9a091ee833efcef0', slot: "icon", name: "exclamation-octagon" }), h$4("strong", { key: '1dbb54a4c87b99163a4e655085081255e1493225' }, this.title), h$4("br", { key: '52c25e78c971bc7dc649f35846ac5f7d0e8870d2' }), this.message), h$4("slot", { key: 'f1cc221122bed520f2ba4987c19af8849af58bf8' })));
|
|
3841
3839
|
}
|
|
3842
3840
|
};
|
|
3843
3841
|
|
|
@@ -3848,7 +3846,7 @@ const PosExampleResources = class {
|
|
|
3848
3846
|
registerInstance(this, hostRef);
|
|
3849
3847
|
}
|
|
3850
3848
|
render() {
|
|
3851
|
-
return (h$4(Host, { key: '
|
|
3849
|
+
return (h$4(Host, { key: '42e8ecc30fa26eb7750efff9a65048bb42b4c71d' }, h$4("div", { key: '1df80385f1f6c44f7fe4255ecb93f6183df61727' }, h$4("h2", { key: '9b249d38f00d1b00863226799bdcd13e4f78a4a9' }, "Try these... \uD83D\uDCA1"), h$4("p", { key: 'c33157b085b1ad3397e38bf5f4b1c601b0e40b6a' }, "No idea where to start? Try these example resources, and follow your nose \uD83D\uDC43"), h$4("div", { key: 'f0f35cc2ec1f7fbf8a306e718e1f2aaffcbe84e0', class: "links" }, h$4("pos-rich-link", { key: '999b7dc0aa587b1964838820f17a02257b051c0e', uri: "https://pod-os.solidcommunity.net/profile/card#me" }), h$4("pos-rich-link", { key: '67ca02160d0bdaa73bcfb188fcf40b058a584bf8', uri: "https://angelo.veltens.org/profile/card#me" }), h$4("pos-rich-link", { key: '800829fb68c96b0caa0ad2372b02e08b7842b704', uri: "https://angelo.veltens.org/public/bookmarks" }), h$4("pos-rich-link", { key: '680e29b8bf0437d6adba15052339b91ffd41b9a4', uri: "https://solidos.solidcommunity.net/profile/card#me" })))));
|
|
3852
3850
|
}
|
|
3853
3851
|
};
|
|
3854
3852
|
PosExampleResources.style = posExampleResourcesCss;
|
|
@@ -3861,7 +3859,7 @@ const PosGettingStarted = class {
|
|
|
3861
3859
|
this.login = createEvent(this, "pod-os:login");
|
|
3862
3860
|
}
|
|
3863
3861
|
render() {
|
|
3864
|
-
return (h$4(Host, { key: '
|
|
3862
|
+
return (h$4(Host, { key: '23a14b5ee10d585cc8cf3166ce041072b68cabb2' }, h$4("div", { key: '964e46223d77516aaed40c7c55371716cfccf40a' }, h$4("h2", { key: '5eaf56d6b0751d8511632d05570a05d5deba88c0' }, "Getting started \uD83D\uDE80"), h$4("p", { key: 'f41d858112a0337bcf2be9a39986cacac6921210' }, "\uD83D\uDD0E Enter a URL into the above navigation bar to browse through the web of data. "), h$4("p", { key: '8d40de32d86b871343687b402122b0dcc843daf9' }, "\uD83D\uDD10", ' ', h$4("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$4("div", { key: '92924f3a67ac70cd333932f0658f9f73dd7474c9' }, h$4("p", { key: '365d7c78aee4bb9396ac7d55c42c9e26b47fe87a', class: "question" }, "New to Solid?"), h$4("p", { key: '42190c0f401faff3cf43fe8f3c69f4afc380f819' }, h$4("a", { key: 'd7de0d55a657c8a54a389efc50aa89bc4d48c5e6', href: "https://solidproject.org/for-developers#hosted-pod-services" }, "Get a Pod \u2192"))), h$4("div", { key: '8ad728231a1f2af613a462982af6bf129956ab1c' }, h$4("p", { key: 'c960fa49ff9789fe881cadc4f37d315c7727115a', class: "question" }, "Want to dig deeper into PodOS?"), h$4("p", { key: '7991e91dbfdfc0447a2e08850e3634086f3f12ee' }, h$4("a", { key: 'a35d336eb2ca5947e66abb9e37526ee035c0a700', href: "http://pod-os.org" }, "Learn more \u2192")))));
|
|
3865
3863
|
}
|
|
3866
3864
|
};
|
|
3867
3865
|
PosGettingStarted.style = posGettingStartedCss;
|
|
@@ -3994,7 +3992,7 @@ const PosLogin = class {
|
|
|
3994
3992
|
this.dialog.showModal();
|
|
3995
3993
|
}
|
|
3996
3994
|
render() {
|
|
3997
|
-
return (h$4(Host, { key: '
|
|
3995
|
+
return (h$4(Host, { key: '629107a1282e2db90a71605535e1a28a61a251af' }, h$4("div", { key: '377851ec061b30aa961ae677a4861f5ec6e297d7', class: "container" }, !store.state.isLoggedIn ? (h$4("button", { id: "login", onClick: () => this.openDialog() }, "Login")) : (this.loggedInComponents())), h$4("pos-dialog", { key: '0572fe81ccde84aa96bce1f22018a8bdf0329adb', ref: el => (this.dialog = el) }, h$4("span", { key: '5414b1f7d70ea78591e8357b0a03fd08671ec6e7', slot: "title" }, "Sign in to your Pod"), h$4("pos-login-form", { key: '07bad99f318e39f908116783b8bc0f9d9cd358a9', "onPod-os:idp-url-selected": ev => this.login(ev), slot: "content" }))));
|
|
3998
3996
|
}
|
|
3999
3997
|
loggedInComponents() {
|
|
4000
3998
|
return this.customLoggedInComponent ? h$4("slot", { name: "if-logged-in" }) : this.defaultLoggedInComponents();
|
|
@@ -4022,7 +4020,7 @@ const PosLoginForm = class {
|
|
|
4022
4020
|
this.canSubmit = Boolean(this.idpUrl);
|
|
4023
4021
|
}
|
|
4024
4022
|
render() {
|
|
4025
|
-
return (h$4("form", { key: '
|
|
4023
|
+
return (h$4("form", { key: '18b8b66ebfd121c33bf5e7e3f71829b643b92fee', method: "dialog", onSubmit: () => this.handleSubmit() }, h$4("label", { key: '754c2e392c0e078eb54471838a6a1b1b84a7fc39', htmlFor: "idpUrl" }, "Please enter your Identity Provider"), h$4("input", { key: 'e5c510ace3893f7a19117b87f4c8fddd418bb82f', id: "idpUrl", type: "url", value: this.idpUrl, required: true, onInput: e => this.handleChange(e), list: "suggestedIssuers", placeholder: "Type to search..." }), h$4("datalist", { key: '19181c9050a562a78bcff28c6e2bd77fcd51dc81', id: "suggestedIssuers" }, h$4("option", { key: 'e0f05b8f4f1ebd9f2d5b0b964efd57943bba7095', value: "https://solidcommunity.net/" }, "solidcommunity.net"), h$4("option", { key: '31ef91494e7fe992590e926235a07eb234ebd07f', value: "https://solidweb.me/" }, "solidweb.me"), h$4("option", { key: 'e7e0646134b9f89785f8349c0ee3f002a0f5f747', value: "https://login.inrupt.com" }, "Inrupt PodSpaces"), h$4("option", { key: '5c4231cf451e5d1c6570b15913a8749677cb95fc', value: "https://trinpod.us" }, "trinpod.us"), h$4("option", { key: 'f0ebd336250c1b1efa9d92e638a3f1f88abfd82b', value: "https://trinpod.eu" }, "trinpod.eu"), h$4("option", { key: 'd7bd67b6e673479880617ae37ef5fd53af9ec3a9', value: "https://solid.redpencil.io/" }, "redpencil.io"), h$4("option", { key: '2060fa5b05306cc1cf3ac004c956f3e1f0ae6ea9', value: "https://teamid.live/" }, "teamid.live")), h$4("input", { key: '5ddd6bfce924dc90834647f3ceed4497d20bb9d8', id: "login", type: "submit", value: "Login", disabled: !this.canSubmit })));
|
|
4026
4024
|
}
|
|
4027
4025
|
handleChange(event) {
|
|
4028
4026
|
this.validate();
|
|
@@ -5555,7 +5553,7 @@ const PosNavigation = class {
|
|
|
5555
5553
|
}
|
|
5556
5554
|
}
|
|
5557
5555
|
render() {
|
|
5558
|
-
return (h$4("nav", { key: '
|
|
5556
|
+
return (h$4("nav", { key: '44f504f9a905c6e63353741cda554a6a35a46f82' }, h$4("search", { key: '98e7cae9729db2959d992f9e41a4cc99064b9eb0' }, h$4("pos-navigation-bar", { key: 'c0ce90fcc8334d0ea784ca3126a1524b036631ac', searchIndexReady: this.searchIndex !== undefined, current: this.resource }), h$4("dialog", { key: 'a9b1418ad48ae298fbd8eaa56e62eb613e8deef6', ref: el => (this.dialogRef = el) }, h$4("form", { key: 'a75933116bd844e0afc4e94eee713adb6d6bb4ea', method: "dialog", onSubmit: () => this.onSubmit() }, h$4("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$4("div", { class: "suggestions" }, h$4("ol", { id: "suggestions-list", role: "listbox", "aria-label": "Search results" }, this.suggestions.map((it, index) => (h$4("li", { id: `option-${index}`, role: "option", "aria-selected": index === this.selectedIndex ? 'true' : 'false' }, h$4("pos-rich-link", { uri: it.ref }))))))) : null)))));
|
|
5559
5557
|
}
|
|
5560
5558
|
static get watchers() { return {
|
|
5561
5559
|
"uri": ["updateResource"],
|
|
@@ -5582,7 +5580,7 @@ const PosNavigationBar = class {
|
|
|
5582
5580
|
}
|
|
5583
5581
|
render() {
|
|
5584
5582
|
const ariaLabel = this.current ? `${this.current.label()} (Click to search or enter URI)` : 'Search or enter URI';
|
|
5585
|
-
return (h$4("section", { key: '
|
|
5583
|
+
return (h$4("section", { key: 'a66626042ab42e63094b7b27729f0c299d6e62a3', class: "current" }, this.current && this.searchIndexReady && h$4("pos-make-findable", { key: '4e2e2e3271c4ed78c34e32e0a815a87dd9d73b52', uri: this.current.uri }), h$4("button", { key: '5ff874354f32f9fef4b15337ce7230c43df0c0ca', "aria-label": ariaLabel, onClick: () => this.onClick() }, h$4("div", { key: 'd00d82f397fb9f3ede61484d6cc2ae74ef92fd06' }, this.current ? this.current.label() : 'Search or enter URI'), this.icon())));
|
|
5586
5584
|
}
|
|
5587
5585
|
icon() {
|
|
5588
5586
|
return (h$4("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$4("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" })));
|
|
@@ -5610,7 +5608,7 @@ const PosNewThingForm = class {
|
|
|
5610
5608
|
subscribePodOs(this);
|
|
5611
5609
|
}
|
|
5612
5610
|
render() {
|
|
5613
|
-
return (h$4("form", { key: '
|
|
5611
|
+
return (h$4("form", { key: '97ee880c3abec22c35be46a9cceea2458cf21ed9', method: "dialog", onSubmit: e => this.handleSubmit(e) }, h$4("label", { key: 'd8640130a517630c02b974ee4013d2c3280b6fa2', htmlFor: "type" }, "Type"), h$4("pos-select-term", { key: 'e046ea254ed78f9ad89c4c20ada3c6ff13349749', id: "type", placeholder: "", value: this.selectedTypeUri, "onPod-os:term-selected": e => this.onTermSelected(e) }), h$4("label", { key: 'aed99f50050048a826960059e67f7c35d3f0ab55', htmlFor: "name" }, "Name"), h$4("input", { key: 'd449344ff106ad2a222ce134c72cf8a9f15ed829', id: "name", type: "text", value: this.name, onInput: e => this.handleChange(e) }), this.newUri ? (h$4("div", { id: "new-uri", title: "This will be the URI of the new thing" }, this.newUri)) : null, h$4("input", { key: '493bccdd4b475866aab67a3c77af87a067fa3076', id: "create", type: "submit", value: "Create", disabled: !this.canSubmit })));
|
|
5614
5612
|
}
|
|
5615
5613
|
handleChange(event) {
|
|
5616
5614
|
this.name = event.target.value;
|
|
@@ -6171,7 +6169,7 @@ const PosRouter = class {
|
|
|
6171
6169
|
this.routeChanged.emit(this.uri);
|
|
6172
6170
|
}
|
|
6173
6171
|
render() {
|
|
6174
|
-
return h$4("slot", { key: '
|
|
6172
|
+
return h$4("slot", { key: '6e8c5214a0e82fb838fc512ad3cfa4cfb480a29e' });
|
|
6175
6173
|
}
|
|
6176
6174
|
};
|
|
6177
6175
|
PosRouter.style = posRouterCss;
|
|
@@ -6200,7 +6198,7 @@ const PosSelectTerm = class {
|
|
|
6200
6198
|
this.termSelected.emit({ uri: event.target.value });
|
|
6201
6199
|
}
|
|
6202
6200
|
render() {
|
|
6203
|
-
return (h$4(Host, { key: '
|
|
6201
|
+
return (h$4(Host, { key: '0dc25a3c0491f8dafb3b5350c7347907e98a08e7' }, h$4("input", { key: '8f017d277f9fadaadc1bc3793d377848d315431b', part: "input", list: "terms", placeholder: this.placeholder, value: this.value, onChange: ev => this.handleChange(ev) }), h$4("datalist", { key: 'ab2fc8071cd8adc6999e1f460b8e8a8cb6d43849', part: "terms", id: "terms" }, this.terms.map(term => (h$4("option", { value: term.uri }, term.shorthand))))));
|
|
6204
6202
|
}
|
|
6205
6203
|
static get delegatesFocus() { return true; }
|
|
6206
6204
|
static get watchers() { return {
|
|
@@ -6216,7 +6214,7 @@ const PosSettingOfflineCache = class {
|
|
|
6216
6214
|
registerInstance(this, hostRef);
|
|
6217
6215
|
}
|
|
6218
6216
|
render() {
|
|
6219
|
-
return (h$4(Host, { key: '
|
|
6217
|
+
return (h$4(Host, { key: 'f024e7d542cfc87a4dc0a1f22694b664086ebd60' }, h$4("div", { key: 'e88e694cefa4a2361ca8c67f1bd023fda1b70f2a' }, h$4("h2", { key: 'c4b2e6270f26a2eb7f62e5076b40834903fc10e4' }, h$4("svg", { key: 'd63643c1ed908c6fe9ab4ff6c47b13848c714c32', xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", "stroke-width": "1.5", stroke: "currentColor" }, h$4("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$4("p", { key: '3045ae3214b9e91feb34857ce45a3db6529f2959', class: "info" }, "\u2139 Enable offline cache to be able to access previously loaded data while offline."), h$4("p", { key: '9987c1cb59b62e1eb06c67a9c646a9a2f125529a', class: "warn" }, "\u26A0 Private data may be stored on this device. Only enable it, if you trust this device."), h$4("label", { key: '55dd3c0fa7ece9a59437e7818d6cfa9b0e9eb5bf' }, h$4("input", { key: '22874f8a39b5016b71818fa1d6226bf66ff969c3', type: "checkbox", checked: localSettings.state.offlineCache, onChange: ev => (localSettings.state.offlineCache = ev.target.checked) }), "Enable offline cache"))));
|
|
6220
6218
|
}
|
|
6221
6219
|
};
|
|
6222
6220
|
PosSettingOfflineCache.style = posSettingOfflineCacheCss;
|
|
@@ -18009,7 +18007,7 @@ const PosUpload = class {
|
|
|
18009
18007
|
});
|
|
18010
18008
|
}
|
|
18011
18009
|
render() {
|
|
18012
|
-
return h$4("div", { key: '
|
|
18010
|
+
return h$4("div", { key: 'f28bebfde1c89399e3f51e48224038fbba7119af', class: "container", ref: el => (this.uppy = el) });
|
|
18013
18011
|
}
|
|
18014
18012
|
};
|
|
18015
18013
|
PosUpload.style = posUploadCss;
|
|
@@ -7,7 +7,7 @@ const PosAppGeneric = class {
|
|
|
7
7
|
registerInstance(this, hostRef);
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h(Host, { key: '
|
|
10
|
+
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' }))));
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
PosAppGeneric.style = posAppGenericCss;
|
|
@@ -9,7 +9,7 @@ const PosAppLdpContainer = class {
|
|
|
9
9
|
registerInstance(this, hostRef);
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (h(Host, { key: '
|
|
12
|
+
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' })))));
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
15
|
PosAppLdpContainer.style = defaultAppLayoutCss + articleCardCss;
|
|
@@ -9,7 +9,7 @@ const PosAppRdfDocument = class {
|
|
|
9
9
|
registerInstance(this, hostRef);
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (h(Host, { key: '
|
|
12
|
+
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' })))));
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
15
|
PosAppRdfDocument.style = defaultAppLayoutCss + articleCardCss;
|
|
@@ -57,7 +57,7 @@ const PosContainerToolbar = class {
|
|
|
57
57
|
this.createNewFolder = createEvent(this, "pod-os:create-new-folder");
|
|
58
58
|
}
|
|
59
59
|
render() {
|
|
60
|
-
return (h(Host, { key: '
|
|
60
|
+
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" })))));
|
|
61
61
|
}
|
|
62
62
|
};
|
|
63
63
|
PosContainerToolbar.style = posContainerToolbarCss;
|
|
@@ -81,7 +81,7 @@ const PosCreateNewContainerItem = class {
|
|
|
81
81
|
}
|
|
82
82
|
render() {
|
|
83
83
|
const placeholder = `Enter ${this.type} name`;
|
|
84
|
-
return (h("form", { key: '
|
|
84
|
+
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) })));
|
|
85
85
|
}
|
|
86
86
|
getIcon() {
|
|
87
87
|
if (this.type === 'file') {
|
|
@@ -28729,7 +28729,7 @@ const PosMarkdownDocument = class {
|
|
|
28729
28729
|
this.isEditing = false;
|
|
28730
28730
|
}
|
|
28731
28731
|
render() {
|
|
28732
|
-
return (h$1("article", { key: '
|
|
28732
|
+
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) })));
|
|
28733
28733
|
}
|
|
28734
28734
|
getStatus() {
|
|
28735
28735
|
if (this.isModified) {
|
package/package.json
CHANGED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as e,h as a,H as d}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 r="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 i=class{constructor(a){e(this,a)}render(){return a(d,{key:"c77f9fc24e9ed8a47c2d60b570e8a231609f90ba"},a("section",{key:"d40607f64e45868c92bd9f226e3df300f14ab11a"},a("pos-subjects",{key:"83fc348454ea2659c93f69cf250050b4add05ba1"})),a("section",{key:"b7958ea13a5911c2c5709ca8b181346a677bfe20"},a("article",{key:"f5f2d24ed058471b893590b29e13a8e69d7f9a44","aria-labelledby":"doc-title"},a("header",{key:"71db64d04790d2ef8f11a8cefdb9b78348339d56"},a("h1",{key:"d857c251a9a507596d0025709c9f232764e83e66",id:"doc-title"},a("pos-label",{key:"db8554528e6690e331b2d4db3ee2cfaa87f7e27e"})),a("pos-type-badges",{key:"e4b49d6357a86028969e7f61d57755f1017d4948"})),a("pos-literals",{key:"55f2d23287107c18fc2ebb62eac05e0f84175e6f"}))))}};i.style=s+r;export{i as pos_app_rdf_document};
|
|
2
|
-
//# sourceMappingURL=p-659b128e.entry.js.map
|