@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
|
@@ -94,7 +94,7 @@ const PosLiterals = class {
|
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
96
|
render() {
|
|
97
|
-
return (index.h(index.Host, { key: '
|
|
97
|
+
return (index.h(index.Host, { key: '7dae01cc16077a671f036e3d7bd236a66577b52e' }, 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: '9a1598046f98a08acc78d3cc05d40134dd4ca39b', "onPod-os:added-literal-value": event => this.literalValueAdded(event.detail) })));
|
|
98
98
|
}
|
|
99
99
|
};
|
|
100
100
|
PosLiterals.style = posLiteralsCss;
|
|
@@ -21,7 +21,7 @@ const PosAddNewThing = class {
|
|
|
21
21
|
this.dialog.showModal();
|
|
22
22
|
}
|
|
23
23
|
render() {
|
|
24
|
-
return (index.h(index.Host, { key: '
|
|
24
|
+
return (index.h(index.Host, { key: '9d2a61a7e9021b479c88971e7a3fbe805a24249e' }, index.h("button", { key: '97a7a90791ab28e5376f5b8152059fe27637fff1', id: "new", title: "Add a new thing", onClick: () => this.openDialog() }, index.h("sl-icon", { key: '3f2db77e21b502764453a9e2ff7f73b05aebc1c5', name: "plus-circle" })), index.h("pos-dialog", { key: '1aa62484381fe6399fccce8329ce406fbf41f0b8', ref: el => (this.dialog = el) }, index.h("span", { key: '70277e49b50caef90060ef0f1e25e48923e1a787', slot: "title" }, "Add a new thing"), index.h("pos-new-thing-form", { key: '447fbe02a191113108244c07d755b53664d24d83', slot: "content", referenceUri: this.referenceUri }))));
|
|
25
25
|
}
|
|
26
26
|
};
|
|
27
27
|
PosAddNewThing.style = posAddNewThingCss;
|
|
@@ -3151,9 +3151,7 @@ const PosAppDashboard = class {
|
|
|
3151
3151
|
index.registerInstance(this, hostRef);
|
|
3152
3152
|
}
|
|
3153
3153
|
render() {
|
|
3154
|
-
return (index.h(index.Host, { key: '
|
|
3155
|
-
? [index.h("pos-example-resources", null)]
|
|
3156
|
-
: [index.h("pos-getting-started", null), index.h("pos-example-resources", null)]));
|
|
3154
|
+
return (index.h(index.Host, { key: '18dc165b7be1c796136804a2ba7643b2a6fffc73' }, index.h("pos-getting-started", { key: 'e3f7a22641e4c24168a36f96463515cd1a89ca5e' }), index.h("pos-example-resources", { key: '1044dd873049118e165ff6d38449c85695f63a50' })));
|
|
3157
3155
|
}
|
|
3158
3156
|
};
|
|
3159
3157
|
PosAppDashboard.style = posAppDashboardCss;
|
|
@@ -3165,7 +3163,7 @@ const PosAppSettings = class {
|
|
|
3165
3163
|
index.registerInstance(this, hostRef);
|
|
3166
3164
|
}
|
|
3167
3165
|
render() {
|
|
3168
|
-
return index.h("pos-setting-offline-cache", { key: '
|
|
3166
|
+
return index.h("pos-setting-offline-cache", { key: 'f065206f6291089773a19045243f04b6ce35eeb9' });
|
|
3169
3167
|
}
|
|
3170
3168
|
};
|
|
3171
3169
|
PosAppSettings.style = posAppSettingsCss;
|
|
@@ -3199,7 +3197,7 @@ const PosDialog = class {
|
|
|
3199
3197
|
this.dialog.close();
|
|
3200
3198
|
}
|
|
3201
3199
|
render() {
|
|
3202
|
-
return (index.h(index.Host, { key: '
|
|
3200
|
+
return (index.h(index.Host, { key: 'bded720f08d77e53b8277d73ec1820345b271983' }, index.h("dialog", { key: 'f2060a41132226986804e7b170ff1694358cab00', ref: el => (this.dialog = el) }, index.h("header", { key: 'eee666652599cba426091549bde520e2a2fa155f' }, index.h("slot", { key: '31e8dceba7f6a6f41c7211ddbb91316019fd7949', name: "title" }), index.h("button", { key: '9de7cfd061f38bad7a2cfafc1d1d3bb1c12f04ec', tabindex: -1, id: "close", title: "Close", onClick: () => this.close() }, index.h("sl-icon", { key: '0b8c86946fe1ee1df0e33bb6c920ad714078f08c', name: "x" }))), index.h("slot", { key: '3c119340ec5344e214b5833ccdef602e8bc416c5', name: "content" }))));
|
|
3203
3201
|
}
|
|
3204
3202
|
};
|
|
3205
3203
|
PosDialog.style = posDialogCss;
|
|
@@ -3839,7 +3837,7 @@ const PosErrorToast = class {
|
|
|
3839
3837
|
await this.alert.toast();
|
|
3840
3838
|
}
|
|
3841
3839
|
render() {
|
|
3842
|
-
return (index.h(index.Host, { key: '
|
|
3840
|
+
return (index.h(index.Host, { key: 'a383b7a1dfb34a6be7d3c0a68b2c1535cef83730' }, index.h("sl-alert", { key: 'f0935768722535c5bbaded12e20dc021a3341122', ref: el => (this.alert = el), variant: "danger", duration: "10000", closable: true }, index.h("sl-icon", { key: 'c673059f17bd1690cec36f3a9a091ee833efcef0', slot: "icon", name: "exclamation-octagon" }), index.h("strong", { key: '1dbb54a4c87b99163a4e655085081255e1493225' }, this.title), index.h("br", { key: '52c25e78c971bc7dc649f35846ac5f7d0e8870d2' }), this.message), index.h("slot", { key: 'f1cc221122bed520f2ba4987c19af8849af58bf8' })));
|
|
3843
3841
|
}
|
|
3844
3842
|
};
|
|
3845
3843
|
|
|
@@ -3850,7 +3848,7 @@ const PosExampleResources = class {
|
|
|
3850
3848
|
index.registerInstance(this, hostRef);
|
|
3851
3849
|
}
|
|
3852
3850
|
render() {
|
|
3853
|
-
return (index.h(index.Host, { key: '
|
|
3851
|
+
return (index.h(index.Host, { key: '42e8ecc30fa26eb7750efff9a65048bb42b4c71d' }, index.h("div", { key: '1df80385f1f6c44f7fe4255ecb93f6183df61727' }, index.h("h2", { key: '9b249d38f00d1b00863226799bdcd13e4f78a4a9' }, "Try these... \uD83D\uDCA1"), index.h("p", { key: 'c33157b085b1ad3397e38bf5f4b1c601b0e40b6a' }, "No idea where to start? Try these example resources, and follow your nose \uD83D\uDC43"), index.h("div", { key: 'f0f35cc2ec1f7fbf8a306e718e1f2aaffcbe84e0', class: "links" }, index.h("pos-rich-link", { key: '999b7dc0aa587b1964838820f17a02257b051c0e', uri: "https://pod-os.solidcommunity.net/profile/card#me" }), index.h("pos-rich-link", { key: '67ca02160d0bdaa73bcfb188fcf40b058a584bf8', uri: "https://angelo.veltens.org/profile/card#me" }), index.h("pos-rich-link", { key: '800829fb68c96b0caa0ad2372b02e08b7842b704', uri: "https://angelo.veltens.org/public/bookmarks" }), index.h("pos-rich-link", { key: '680e29b8bf0437d6adba15052339b91ffd41b9a4', uri: "https://solidos.solidcommunity.net/profile/card#me" })))));
|
|
3854
3852
|
}
|
|
3855
3853
|
};
|
|
3856
3854
|
PosExampleResources.style = posExampleResourcesCss;
|
|
@@ -3863,7 +3861,7 @@ const PosGettingStarted = class {
|
|
|
3863
3861
|
this.login = index.createEvent(this, "pod-os:login");
|
|
3864
3862
|
}
|
|
3865
3863
|
render() {
|
|
3866
|
-
return (index.h(index.Host, { key: '
|
|
3864
|
+
return (index.h(index.Host, { key: '23a14b5ee10d585cc8cf3166ce041072b68cabb2' }, index.h("div", { key: '964e46223d77516aaed40c7c55371716cfccf40a' }, index.h("h2", { key: '5eaf56d6b0751d8511632d05570a05d5deba88c0' }, "Getting started \uD83D\uDE80"), index.h("p", { key: 'f41d858112a0337bcf2be9a39986cacac6921210' }, "\uD83D\uDD0E Enter a URL into the above navigation bar to browse through the web of data. "), index.h("p", { key: '8d40de32d86b871343687b402122b0dcc843daf9' }, "\uD83D\uDD10", ' ', index.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.")), index.h("div", { key: '92924f3a67ac70cd333932f0658f9f73dd7474c9' }, index.h("p", { key: '365d7c78aee4bb9396ac7d55c42c9e26b47fe87a', class: "question" }, "New to Solid?"), index.h("p", { key: '42190c0f401faff3cf43fe8f3c69f4afc380f819' }, index.h("a", { key: 'd7de0d55a657c8a54a389efc50aa89bc4d48c5e6', href: "https://solidproject.org/for-developers#hosted-pod-services" }, "Get a Pod \u2192"))), index.h("div", { key: '8ad728231a1f2af613a462982af6bf129956ab1c' }, index.h("p", { key: 'c960fa49ff9789fe881cadc4f37d315c7727115a', class: "question" }, "Want to dig deeper into PodOS?"), index.h("p", { key: '7991e91dbfdfc0447a2e08850e3634086f3f12ee' }, index.h("a", { key: 'a35d336eb2ca5947e66abb9e37526ee035c0a700', href: "http://pod-os.org" }, "Learn more \u2192")))));
|
|
3867
3865
|
}
|
|
3868
3866
|
};
|
|
3869
3867
|
PosGettingStarted.style = posGettingStartedCss;
|
|
@@ -3996,7 +3994,7 @@ const PosLogin = class {
|
|
|
3996
3994
|
this.dialog.showModal();
|
|
3997
3995
|
}
|
|
3998
3996
|
render() {
|
|
3999
|
-
return (index.h(index.Host, { key: '
|
|
3997
|
+
return (index.h(index.Host, { key: '629107a1282e2db90a71605535e1a28a61a251af' }, index.h("div", { key: '377851ec061b30aa961ae677a4861f5ec6e297d7', class: "container" }, !chunk_XQ2OKYYA.store.state.isLoggedIn ? (index.h("button", { id: "login", onClick: () => this.openDialog() }, "Login")) : (this.loggedInComponents())), index.h("pos-dialog", { key: '0572fe81ccde84aa96bce1f22018a8bdf0329adb', ref: el => (this.dialog = el) }, index.h("span", { key: '5414b1f7d70ea78591e8357b0a03fd08671ec6e7', slot: "title" }, "Sign in to your Pod"), index.h("pos-login-form", { key: '07bad99f318e39f908116783b8bc0f9d9cd358a9', "onPod-os:idp-url-selected": ev => this.login(ev), slot: "content" }))));
|
|
4000
3998
|
}
|
|
4001
3999
|
loggedInComponents() {
|
|
4002
4000
|
return this.customLoggedInComponent ? index.h("slot", { name: "if-logged-in" }) : this.defaultLoggedInComponents();
|
|
@@ -4024,7 +4022,7 @@ const PosLoginForm = class {
|
|
|
4024
4022
|
this.canSubmit = Boolean(this.idpUrl);
|
|
4025
4023
|
}
|
|
4026
4024
|
render() {
|
|
4027
|
-
return (index.h("form", { key: '
|
|
4025
|
+
return (index.h("form", { key: '18b8b66ebfd121c33bf5e7e3f71829b643b92fee', method: "dialog", onSubmit: () => this.handleSubmit() }, index.h("label", { key: '754c2e392c0e078eb54471838a6a1b1b84a7fc39', htmlFor: "idpUrl" }, "Please enter your Identity Provider"), index.h("input", { key: 'e5c510ace3893f7a19117b87f4c8fddd418bb82f', id: "idpUrl", type: "url", value: this.idpUrl, required: true, onInput: e => this.handleChange(e), list: "suggestedIssuers", placeholder: "Type to search..." }), index.h("datalist", { key: '19181c9050a562a78bcff28c6e2bd77fcd51dc81', id: "suggestedIssuers" }, index.h("option", { key: 'e0f05b8f4f1ebd9f2d5b0b964efd57943bba7095', value: "https://solidcommunity.net/" }, "solidcommunity.net"), index.h("option", { key: '31ef91494e7fe992590e926235a07eb234ebd07f', value: "https://solidweb.me/" }, "solidweb.me"), index.h("option", { key: 'e7e0646134b9f89785f8349c0ee3f002a0f5f747', value: "https://login.inrupt.com" }, "Inrupt PodSpaces"), index.h("option", { key: '5c4231cf451e5d1c6570b15913a8749677cb95fc', value: "https://trinpod.us" }, "trinpod.us"), index.h("option", { key: 'f0ebd336250c1b1efa9d92e638a3f1f88abfd82b', value: "https://trinpod.eu" }, "trinpod.eu"), index.h("option", { key: 'd7bd67b6e673479880617ae37ef5fd53af9ec3a9', value: "https://solid.redpencil.io/" }, "redpencil.io"), index.h("option", { key: '2060fa5b05306cc1cf3ac004c956f3e1f0ae6ea9', value: "https://teamid.live/" }, "teamid.live")), index.h("input", { key: '5ddd6bfce924dc90834647f3ceed4497d20bb9d8', id: "login", type: "submit", value: "Login", disabled: !this.canSubmit })));
|
|
4028
4026
|
}
|
|
4029
4027
|
handleChange(event) {
|
|
4030
4028
|
this.validate();
|
|
@@ -5557,7 +5555,7 @@ const PosNavigation = class {
|
|
|
5557
5555
|
}
|
|
5558
5556
|
}
|
|
5559
5557
|
render() {
|
|
5560
|
-
return (index.h("nav", { key: '
|
|
5558
|
+
return (index.h("nav", { key: '44f504f9a905c6e63353741cda554a6a35a46f82' }, index.h("search", { key: '98e7cae9729db2959d992f9e41a4cc99064b9eb0' }, index.h("pos-navigation-bar", { key: 'c0ce90fcc8334d0ea784ca3126a1524b036631ac', searchIndexReady: this.searchIndex !== undefined, current: this.resource }), index.h("dialog", { key: 'a9b1418ad48ae298fbd8eaa56e62eb613e8deef6', ref: el => (this.dialogRef = el) }, index.h("form", { key: 'a75933116bd844e0afc4e94eee713adb6d6bb4ea', method: "dialog", onSubmit: () => this.onSubmit() }, index.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 ? (index.h("div", { class: "suggestions" }, index.h("ol", { id: "suggestions-list", role: "listbox", "aria-label": "Search results" }, this.suggestions.map((it, index$1) => (index.h("li", { id: `option-${index$1}`, role: "option", "aria-selected": index$1 === this.selectedIndex ? 'true' : 'false' }, index.h("pos-rich-link", { uri: it.ref }))))))) : null)))));
|
|
5561
5559
|
}
|
|
5562
5560
|
static get watchers() { return {
|
|
5563
5561
|
"uri": ["updateResource"],
|
|
@@ -5584,7 +5582,7 @@ const PosNavigationBar = class {
|
|
|
5584
5582
|
}
|
|
5585
5583
|
render() {
|
|
5586
5584
|
const ariaLabel = this.current ? `${this.current.label()} (Click to search or enter URI)` : 'Search or enter URI';
|
|
5587
|
-
return (index.h("section", { key: '
|
|
5585
|
+
return (index.h("section", { key: 'a66626042ab42e63094b7b27729f0c299d6e62a3', class: "current" }, this.current && this.searchIndexReady && index.h("pos-make-findable", { key: '4e2e2e3271c4ed78c34e32e0a815a87dd9d73b52', uri: this.current.uri }), index.h("button", { key: '5ff874354f32f9fef4b15337ce7230c43df0c0ca', "aria-label": ariaLabel, onClick: () => this.onClick() }, index.h("div", { key: 'd00d82f397fb9f3ede61484d6cc2ae74ef92fd06' }, this.current ? this.current.label() : 'Search or enter URI'), this.icon())));
|
|
5588
5586
|
}
|
|
5589
5587
|
icon() {
|
|
5590
5588
|
return (index.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" }, index.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" })));
|
|
@@ -5612,7 +5610,7 @@ const PosNewThingForm = class {
|
|
|
5612
5610
|
PodOsAware.subscribePodOs(this);
|
|
5613
5611
|
}
|
|
5614
5612
|
render() {
|
|
5615
|
-
return (index.h("form", { key: '
|
|
5613
|
+
return (index.h("form", { key: '97ee880c3abec22c35be46a9cceea2458cf21ed9', method: "dialog", onSubmit: e => this.handleSubmit(e) }, index.h("label", { key: 'd8640130a517630c02b974ee4013d2c3280b6fa2', htmlFor: "type" }, "Type"), index.h("pos-select-term", { key: 'e046ea254ed78f9ad89c4c20ada3c6ff13349749', id: "type", placeholder: "", value: this.selectedTypeUri, "onPod-os:term-selected": e => this.onTermSelected(e) }), index.h("label", { key: 'aed99f50050048a826960059e67f7c35d3f0ab55', htmlFor: "name" }, "Name"), index.h("input", { key: 'd449344ff106ad2a222ce134c72cf8a9f15ed829', 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: '493bccdd4b475866aab67a3c77af87a067fa3076', id: "create", type: "submit", value: "Create", disabled: !this.canSubmit })));
|
|
5616
5614
|
}
|
|
5617
5615
|
handleChange(event) {
|
|
5618
5616
|
this.name = event.target.value;
|
|
@@ -6173,7 +6171,7 @@ const PosRouter = class {
|
|
|
6173
6171
|
this.routeChanged.emit(this.uri);
|
|
6174
6172
|
}
|
|
6175
6173
|
render() {
|
|
6176
|
-
return index.h("slot", { key: '
|
|
6174
|
+
return index.h("slot", { key: '6e8c5214a0e82fb838fc512ad3cfa4cfb480a29e' });
|
|
6177
6175
|
}
|
|
6178
6176
|
};
|
|
6179
6177
|
PosRouter.style = posRouterCss;
|
|
@@ -6202,7 +6200,7 @@ const PosSelectTerm = class {
|
|
|
6202
6200
|
this.termSelected.emit({ uri: event.target.value });
|
|
6203
6201
|
}
|
|
6204
6202
|
render() {
|
|
6205
|
-
return (index.h(index.Host, { key: '
|
|
6203
|
+
return (index.h(index.Host, { key: '0dc25a3c0491f8dafb3b5350c7347907e98a08e7' }, index.h("input", { key: '8f017d277f9fadaadc1bc3793d377848d315431b', part: "input", list: "terms", placeholder: this.placeholder, value: this.value, onChange: ev => this.handleChange(ev) }), index.h("datalist", { key: 'ab2fc8071cd8adc6999e1f460b8e8a8cb6d43849', part: "terms", id: "terms" }, this.terms.map(term => (index.h("option", { value: term.uri }, term.shorthand))))));
|
|
6206
6204
|
}
|
|
6207
6205
|
static get delegatesFocus() { return true; }
|
|
6208
6206
|
static get watchers() { return {
|
|
@@ -6218,7 +6216,7 @@ const PosSettingOfflineCache = class {
|
|
|
6218
6216
|
index.registerInstance(this, hostRef);
|
|
6219
6217
|
}
|
|
6220
6218
|
render() {
|
|
6221
|
-
return (index.h(index.Host, { key: '
|
|
6219
|
+
return (index.h(index.Host, { key: 'f024e7d542cfc87a4dc0a1f22694b664086ebd60' }, index.h("div", { key: 'e88e694cefa4a2361ca8c67f1bd023fda1b70f2a' }, index.h("h2", { key: 'c4b2e6270f26a2eb7f62e5076b40834903fc10e4' }, index.h("svg", { key: 'd63643c1ed908c6fe9ab4ff6c47b13848c714c32', xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", "stroke-width": "1.5", stroke: "currentColor" }, index.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"), index.h("p", { key: '3045ae3214b9e91feb34857ce45a3db6529f2959', class: "info" }, "\u2139 Enable offline cache to be able to access previously loaded data while offline."), index.h("p", { key: '9987c1cb59b62e1eb06c67a9c646a9a2f125529a', class: "warn" }, "\u26A0 Private data may be stored on this device. Only enable it, if you trust this device."), index.h("label", { key: '55dd3c0fa7ece9a59437e7818d6cfa9b0e9eb5bf' }, index.h("input", { key: '22874f8a39b5016b71818fa1d6226bf66ff969c3', type: "checkbox", checked: localSettings.state.offlineCache, onChange: ev => (localSettings.state.offlineCache = ev.target.checked) }), "Enable offline cache"))));
|
|
6222
6220
|
}
|
|
6223
6221
|
};
|
|
6224
6222
|
PosSettingOfflineCache.style = posSettingOfflineCacheCss;
|
|
@@ -18011,7 +18009,7 @@ const PosUpload = class {
|
|
|
18011
18009
|
});
|
|
18012
18010
|
}
|
|
18013
18011
|
render() {
|
|
18014
|
-
return index.h("div", { key: '
|
|
18012
|
+
return index.h("div", { key: 'f28bebfde1c89399e3f51e48224038fbba7119af', class: "container", ref: el => (this.uppy = el) });
|
|
18015
18013
|
}
|
|
18016
18014
|
};
|
|
18017
18015
|
PosUpload.style = posUploadCss;
|
|
@@ -9,7 +9,7 @@ const PosAppGeneric = class {
|
|
|
9
9
|
index.registerInstance(this, hostRef);
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (index.h(index.Host, { key: '
|
|
12
|
+
return (index.h(index.Host, { key: '170a57d59474ac6fa887251c96dfe64f93308e3f' }, index.h("section", { key: '208917e280149067f5a0c946636853f23fc83d7b' }, index.h("article", { key: '62c8f8a2b37455d7ec4ffc11cbb7e46b7262a6e8', "aria-labelledby": "thing-title" }, index.h("header", { key: '2f85c4bffecfa3e0f55ed07d98397647cfcd4acc' }, index.h("pos-picture", { key: '1094acb0b8cac8c9a8acaca29abeeaa5cc00aca0', blurredBackground: true }), index.h("h1", { key: 'eba5144dd2cf94fdfdc7514c26d68aecc8361139', id: "thing-title" }, index.h("pos-label", { key: 'ac03525509d037740d1b329fbaf64c68f9ea5376' })), index.h("pos-type-badges", { key: '0dbdb698a8a77a5a500a440142e078860b3c0681' })), index.h("main", { key: 'd87bfa4cf8bfb9b0ba633dff40f7d42478265cc1' }, index.h("pos-description", { key: 'c5c3b64864f8bc9d8e72b1a87f92bdd2435b4e41' })))), index.h("section", { key: 'f013653e7eafd26e6daa53c76a95d12939d356bd' }, index.h("pos-literals", { key: 'd34963cc5eed8c6e6baa3963009c352043f30db5' })), index.h("section", { key: 'ab70a3d890665c4ecfe987f35437de1a5dc3e655' }, index.h("pos-relations", { key: 'f8751d31a54b240cad0f089a9aea5123dc0c0bae' }), index.h("pos-reverse-relations", { key: '5aff024840f92393d69f0816263751efc6cb57f3' }))));
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
15
|
PosAppGeneric.style = posAppGenericCss;
|
|
@@ -11,7 +11,7 @@ const PosAppLdpContainer = class {
|
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (index.h(index.Host, { key: '
|
|
14
|
+
return (index.h(index.Host, { key: '76b7a2ab73232cbea2a7352527fd4fc35a75c66b' }, index.h("section", { key: '28d455d6e4b640de624a2c684133a6d4c7de2100' }, index.h("pos-container-contents", { key: '8e518a1122461108b3d33d66664f67feb55527c4' }), index.h("details", { key: '6be9b8cf613a54213e8281c0a4bf4e8235c1b4b1' }, index.h("summary", { key: '541ff3bbe8ec736361ea59fef319141a743c93ee' }, "All subjects"), index.h("pos-subjects", { key: '4e1927ea2365c354c7d1abf2eca50d892e1ac2bc' }))), index.h("section", { key: 'c9156ae4584e7f5803a7427b97844c3bbeae86bf' }, index.h("article", { key: '60cabe0f2eaaec3e109fce000913b04f7581934e', "aria-labelledby": "container-title" }, index.h("header", { key: '17f43f9d29cfe77943c0108e0d1db2f27fdb1149' }, index.h("h1", { key: 'b901117fb5a1d3c85e378fc9f6e55f2d0551dbf6', id: "container-title" }, index.h("pos-label", { key: '7073c49610caaed17911bbddb393d2b9c28e6921' })), index.h("pos-type-badges", { key: 'e6cc976f115c00e49327b45b74995be615f2deeb' })), index.h("pos-literals", { key: 'da57328cca05080016eaac03f3cb118732bf71d9' })))));
|
|
15
15
|
}
|
|
16
16
|
};
|
|
17
17
|
PosAppLdpContainer.style = defaultAppLayoutCss + articleCardCss;
|
|
@@ -11,7 +11,7 @@ const PosAppRdfDocument = class {
|
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (index.h(index.Host, { key: '
|
|
14
|
+
return (index.h(index.Host, { key: '9dd4b79cd54b3d2d61eea562b41a397cc1841279' }, index.h("section", { key: 'ec97b4983b9c45a5420b8e15b1b5d13a2b78f505' }, index.h("pos-subjects", { key: '7ca852dee46a4f1bb64cebccb397e2df7045be82' })), index.h("section", { key: '9aaf18c750b9847234ebb6d92c3c4ab605ff306e' }, index.h("article", { key: 'd794f6f83cfa49a37a759f0b8fa16b28038ec10b', "aria-labelledby": "doc-title" }, index.h("header", { key: 'bebbe27160a15351a1eabaa8c1ebb449beaa1005' }, index.h("h1", { key: 'cf5ba1875f2e22f162d2878789106738aac3d97c', id: "doc-title" }, index.h("pos-label", { key: 'fcb1a84e354ab5e2842077a6417c5b77ac9d87ed' })), index.h("pos-type-badges", { key: '370688f50c2906e069686d35a177c88b68de0a98' })), index.h("pos-literals", { key: '56bc40269a0269301603f3e9f101ad52738fca6a' })))));
|
|
15
15
|
}
|
|
16
16
|
};
|
|
17
17
|
PosAppRdfDocument.style = defaultAppLayoutCss + articleCardCss;
|
|
@@ -59,7 +59,7 @@ const PosContainerToolbar = class {
|
|
|
59
59
|
this.createNewFolder = index.createEvent(this, "pod-os:create-new-folder");
|
|
60
60
|
}
|
|
61
61
|
render() {
|
|
62
|
-
return (index.h(index.Host, { key: '
|
|
62
|
+
return (index.h(index.Host, { key: 'df192ca20e78c9965fc68757ffc036c92fe86afb', role: "toolbar", "aria-label": "Container actions" }, index.h("sl-tooltip", { key: 'bf3bb51ac96b4c2c859a6dddf5e65a5bd6a62d68', content: "Create new file" }, index.h("button", { key: '755bea86194728ec7de4aec5668f0e394eb6fea4', "aria-label": "Create new file", onClick: () => this.createNewFile.emit() }, index.h("sl-icon", { key: 'f503aa93dfccca377667cefd0de4862bb31f384b', name: "file-earmark-plus" }))), index.h("sl-tooltip", { key: 'c0cec91a20f12897adaa116c919f945463e72784', content: "Create new folder" }, index.h("button", { key: 'c53b217e54724d3255f91122359b59f4fef6d09e', "aria-label": "Create new folder", onClick: () => this.createNewFolder.emit() }, index.h("sl-icon", { key: 'bd6f96a8a012ef56ca1c5cc6e9aa2c0fe683533a', name: "folder-plus" })))));
|
|
63
63
|
}
|
|
64
64
|
};
|
|
65
65
|
PosContainerToolbar.style = posContainerToolbarCss;
|
|
@@ -83,7 +83,7 @@ const PosCreateNewContainerItem = class {
|
|
|
83
83
|
}
|
|
84
84
|
render() {
|
|
85
85
|
const placeholder = `Enter ${this.type} name`;
|
|
86
|
-
return (index.h("form", { key: '
|
|
86
|
+
return (index.h("form", { key: '6b411c7ddd004b5fd90a22f917c8131739241be7', onSubmit: e => this.submit(e) }, index.h("sl-icon", { key: 'c857fb29776b6ac3c2efc63fc2dea0998c8905d2', name: this.getIcon() }), index.h("input", { key: '63ac78ac81dcb493ddcd4a2d0a87cdbe0ea1a060', type: "text", value: this.name, onInput: e => this.handleInput(e), placeholder: placeholder, ref: it => (this.input = it) })));
|
|
87
87
|
}
|
|
88
88
|
getIcon() {
|
|
89
89
|
if (this.type === 'file') {
|
|
@@ -28731,7 +28731,7 @@ const PosMarkdownDocument = class {
|
|
|
28731
28731
|
this.isEditing = false;
|
|
28732
28732
|
}
|
|
28733
28733
|
render() {
|
|
28734
|
-
return (index$1.h("article", { key: '
|
|
28734
|
+
return (index$1.h("article", { key: 'a45dd6888d84875c9dea5f488f2d76688e2626fc' }, this.editable ? (index$1.h("header", null, this.isEditing ? this.getStatus() : null, this.isEditing ? (index$1.h("button", { onClick: () => this.stopEditing() }, index$1.h("sl-icon", { name: "eye" }), "View")) : (index$1.h("button", { onClick: () => this.startEditing() }, index$1.h("sl-icon", { name: "pencil-square" }), "Edit")))) : null, index$1.h("div", { key: '60057933d8bf808e76915b88b2eecd7f70834be6', class: "content", ref: el => (this.editorEl = el) })));
|
|
28735
28735
|
}
|
|
28736
28736
|
getStatus() {
|
|
28737
28737
|
if (this.isModified) {
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
|
-
import session from "../../store/session";
|
|
3
2
|
export class PosAppDashboard {
|
|
4
3
|
render() {
|
|
5
|
-
return (h(Host, { key: '
|
|
6
|
-
? [h("pos-example-resources", null)]
|
|
7
|
-
: [h("pos-getting-started", null), h("pos-example-resources", null)]));
|
|
4
|
+
return (h(Host, { key: '18dc165b7be1c796136804a2ba7643b2a6fffc73' }, h("pos-getting-started", { key: 'e3f7a22641e4c24168a36f96463515cd1a89ca5e' }), h("pos-example-resources", { key: '1044dd873049118e165ff6d38449c85695f63a50' })));
|
|
8
5
|
}
|
|
9
6
|
static get is() { return "pos-app-dashboard"; }
|
|
10
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pos-app-dashboard.js","sourceRoot":"","sources":["../../../../src/apps/pos-app-dashboard/pos-app-dashboard.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"pos-app-dashboard.js","sourceRoot":"","sources":["../../../../src/apps/pos-app-dashboard/pos-app-dashboard.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAOnD,MAAM,OAAO,eAAe;IAC1B,MAAM;QACJ,OAAO,CACL,EAAC,IAAI;YACH,6EAA2C;YAC3C,+EAA+C,CAC1C,CACR,CAAC;IACJ,CAAC;;;;;;;;;CACF","sourcesContent":["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"]}
|
package/dist/collection/apps/pos-app-dashboard/pos-example-resources/pos-example-resources.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class PosExampleResources {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
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" })))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "pos-example-resources"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class PosGettingStarted {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
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")))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "pos-getting-started"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class PosAppGeneric {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
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' }))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "pos-app-generic"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class PosAppLdpContainer {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
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' })))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "pos-app-ldp-container"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class PosAppRdfDocument {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
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' })))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "pos-app-rdf-document"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
export class PosAppSettings {
|
|
3
3
|
render() {
|
|
4
|
-
return h("pos-setting-offline-cache", { key: '
|
|
4
|
+
return h("pos-setting-offline-cache", { key: 'f065206f6291089773a19045243f04b6ce35eeb9' });
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "pos-app-settings"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/apps/pos-app-settings/pos-setting-offline-cache/pos-setting-offline-cache.js
CHANGED
|
@@ -2,7 +2,7 @@ import { h, Host } from "@stencil/core";
|
|
|
2
2
|
import { localSettings } from "../../../store/settings";
|
|
3
3
|
export class PosSettingOfflineCache {
|
|
4
4
|
render() {
|
|
5
|
-
return (h(Host, { key: '
|
|
5
|
+
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"))));
|
|
6
6
|
}
|
|
7
7
|
static get is() { return "pos-setting-offline-cache"; }
|
|
8
8
|
static get encapsulation() { return "shadow"; }
|
|
@@ -5,7 +5,7 @@ export class PosAddNewThing {
|
|
|
5
5
|
this.dialog.showModal();
|
|
6
6
|
}
|
|
7
7
|
render() {
|
|
8
|
-
return (h(Host, { key: '
|
|
8
|
+
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 }))));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "pos-add-new-thing"; }
|
|
11
11
|
static get encapsulation() { return "shadow"; }
|
|
@@ -2,7 +2,7 @@ import { h, Host } from "@stencil/core";
|
|
|
2
2
|
import "./shoelace";
|
|
3
3
|
export class PosContainerToolbar {
|
|
4
4
|
render() {
|
|
5
|
-
return (h(Host, { key: '
|
|
5
|
+
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" })))));
|
|
6
6
|
}
|
|
7
7
|
static get is() { return "pos-container-toolbar"; }
|
|
8
8
|
static get encapsulation() { return "shadow"; }
|
|
@@ -14,7 +14,7 @@ export class PosCreateNewContainerItem {
|
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
16
|
const placeholder = `Enter ${this.type} name`;
|
|
17
|
-
return (h("form", { key: '
|
|
17
|
+
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) })));
|
|
18
18
|
}
|
|
19
19
|
getIcon() {
|
|
20
20
|
if (this.type === 'file') {
|
|
@@ -11,7 +11,7 @@ export class PosDialog {
|
|
|
11
11
|
this.dialog.close();
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
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" }))));
|
|
15
15
|
}
|
|
16
16
|
static get is() { return "pos-dialog"; }
|
|
17
17
|
static get originalStyleUrls() {
|
|
@@ -22,7 +22,7 @@ export class PosErrorToast {
|
|
|
22
22
|
await this.alert.toast();
|
|
23
23
|
}
|
|
24
24
|
render() {
|
|
25
|
-
return (h(Host, { key: '
|
|
25
|
+
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' })));
|
|
26
26
|
}
|
|
27
27
|
static get is() { return "pos-error-toast"; }
|
|
28
28
|
static get encapsulation() { return "shadow"; }
|
|
@@ -28,7 +28,7 @@ export class PosLiterals {
|
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
render() {
|
|
31
|
-
return (h(Host, { key: '
|
|
31
|
+
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) })));
|
|
32
32
|
}
|
|
33
33
|
static get is() { return "pos-literals"; }
|
|
34
34
|
static get encapsulation() { return "shadow"; }
|
|
@@ -25,7 +25,7 @@ export class PosLogin {
|
|
|
25
25
|
this.dialog.showModal();
|
|
26
26
|
}
|
|
27
27
|
render() {
|
|
28
|
-
return (h(Host, { key: '
|
|
28
|
+
return (h(Host, { key: '629107a1282e2db90a71605535e1a28a61a251af' }, h("div", { key: '377851ec061b30aa961ae677a4861f5ec6e297d7', class: "container" }, !session.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" }))));
|
|
29
29
|
}
|
|
30
30
|
loggedInComponents() {
|
|
31
31
|
return this.customLoggedInComponent ? h("slot", { name: "if-logged-in" }) : this.defaultLoggedInComponents();
|
|
@@ -8,7 +8,7 @@ export class PosLoginForm {
|
|
|
8
8
|
this.canSubmit = Boolean(this.idpUrl);
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h("form", { key: '
|
|
11
|
+
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 })));
|
|
12
12
|
}
|
|
13
13
|
handleChange(event) {
|
|
14
14
|
this.validate();
|
|
@@ -54,7 +54,7 @@ export class PosMarkdownDocument {
|
|
|
54
54
|
this.isEditing = false;
|
|
55
55
|
}
|
|
56
56
|
render() {
|
|
57
|
-
return (h("article", { key: '
|
|
57
|
+
return (h("article", { key: 'a45dd6888d84875c9dea5f488f2d76688e2626fc' }, this.editable ? (h("header", null, this.isEditing ? this.getStatus() : null, this.isEditing ? (h("button", { onClick: () => this.stopEditing() }, h("sl-icon", { name: "eye" }), "View")) : (h("button", { onClick: () => this.startEditing() }, h("sl-icon", { name: "pencil-square" }), "Edit")))) : null, h("div", { key: '60057933d8bf808e76915b88b2eecd7f70834be6', class: "content", ref: el => (this.editorEl = el) })));
|
|
58
58
|
}
|
|
59
59
|
getStatus() {
|
|
60
60
|
if (this.isModified) {
|
|
@@ -11,7 +11,7 @@ export class PosNavigationBar {
|
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
13
|
const ariaLabel = this.current ? `${this.current.label()} (Click to search or enter URI)` : 'Search or enter URI';
|
|
14
|
-
return (h("section", { key: '
|
|
14
|
+
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())));
|
|
15
15
|
}
|
|
16
16
|
icon() {
|
|
17
17
|
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" })));
|
|
@@ -113,7 +113,7 @@ export class PosNavigation {
|
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
115
|
render() {
|
|
116
|
-
return (h("nav", { key: '
|
|
116
|
+
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)))));
|
|
117
117
|
}
|
|
118
118
|
static get is() { return "pos-navigation"; }
|
|
119
119
|
static get encapsulation() { return "shadow"; }
|
|
@@ -14,7 +14,7 @@ export class PosNewThingForm {
|
|
|
14
14
|
subscribePodOs(this);
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
|
-
return (h("form", { key: '
|
|
17
|
+
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 })));
|
|
18
18
|
}
|
|
19
19
|
handleChange(event) {
|
|
20
20
|
this.name = event.target.value;
|