@pod-os/contacts 0.2.0 → 0.3.0-rc.22aea6d.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/{chunk.5JY5FUCG-DBOKVhYw.js → chunk.5JY5FUCG-BJJbNIiG.js} +2 -2
- package/dist/cjs/{chunk.HVTXQL7M-CkreIIRp.js → chunk.HVTXQL7M-C6x_EQ24.js} +4 -4
- package/dist/cjs/{chunk.URTPIBTY-CR-txaLF.js → chunk.URTPIBTY-BiNv2Ckb.js} +3 -3
- package/dist/cjs/{chunk.XQ2OKYYA-DwhvXyP9.js → chunk.XQ2OKYYA-CDJtWcvs.js} +4 -4
- package/dist/cjs/{chunk.YHLNUJ7P-BQOX8L9A.js → chunk.YHLNUJ7P-CoQhYOM2.js} +1 -1
- package/dist/cjs/chunk.ZGGPD2XJ-C--tZiyf.js +5 -0
- package/dist/cjs/{class-map-Bp6RgbSP.js → class-map-CyEFRZYn.js} +1 -1
- package/dist/cjs/contacts.cjs.js +2 -2
- package/dist/cjs/{if-defined-C9hF9oNL.js → if-defined-TQmAS6tz.js} +1 -1
- package/dist/cjs/{index-CYTjugvn.js → index-CpATWk39.js} +1 -1
- package/dist/cjs/{index-FUnpyb19.js → index-D1Wk2cIF.js} +2 -2
- package/dist/cjs/{index-BicjKg3I.js → index-DdRXU5II.js} +547 -2001
- package/dist/cjs/{jsonld-V2RB47OZ-BerQ9IRa.js → jsonld-V2RB47OZ-DDsC42qL.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/pos-add-literal-value_3.cjs.entry.js +8 -8
- package/dist/cjs/pos-add-new-thing_7.cjs.entry.js +9 -9
- package/dist/cjs/pos-app-browser.cjs.entry.js +2 -2
- package/dist/cjs/pos-app-dashboard_6.cjs.entry.js +5 -5
- package/dist/cjs/pos-app-document-viewer.cjs.entry.js +1 -1
- package/dist/cjs/pos-app-generic.cjs.entry.js +1 -1
- package/dist/cjs/pos-app-image-viewer.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-app_24.cjs.entry.js +309 -178
- package/dist/cjs/pos-attachments.cjs.entry.js +2 -2
- package/dist/cjs/pos-container-contents.cjs.entry.js +2 -2
- package/dist/cjs/pos-container-item_3.cjs.entry.js +6 -6
- package/dist/cjs/pos-description_2.cjs.entry.js +1 -1
- package/dist/cjs/pos-document.cjs.entry.js +6 -6
- package/dist/cjs/pos-list.cjs.entry.js +1 -1
- package/dist/cjs/pos-make-findable_2.cjs.entry.js +9 -9
- package/dist/cjs/pos-markdown-document.cjs.entry.js +443 -2328
- package/dist/cjs/pos-new-thing-form.cjs.entry.js +1 -1
- package/dist/cjs/pos-predicate.cjs.entry.js +6 -6
- package/dist/cjs/pos-relations_2.cjs.entry.js +1 -1
- package/dist/cjs/pos-select-term.cjs.entry.js +1 -1
- package/dist/cjs/pos-subjects.cjs.entry.js +2 -2
- package/dist/cjs/pos-tool-attachments.cjs.entry.js +1 -1
- package/dist/cjs/pos-tool-select.cjs.entry.js +4 -4
- package/dist/cjs/pos-value.cjs.entry.js +1 -1
- package/dist/cjs/{session-DkRUfe3C.js → session-kBhmup9r.js} +1 -1
- package/dist/cjs/{settings-C4KFmugv.js → settings-CpwCCkhx.js} +1 -1
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/contact-details/email-addresses/email-addresses.js +2 -1
- package/dist/collection/components/contact-details/phone-numbers/phone-numbers.js +2 -1
- package/dist/collection/components/contact-list/contact-list.js +4 -2
- package/dist/collection/components/create-new-contact-form/create-new-contact-form.js +2 -1
- package/dist/collection/components/group-list/group-list.js +4 -2
- package/dist/collection/components/open-address-book/open-address-book.js +2 -2
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js +1 -1
- package/dist/components/open-address-book.js +1 -1
- package/dist/components/pos-add-literal-value2.js +1 -1
- package/dist/components/pos-attachments2.js +1 -1
- package/dist/components/pos-make-findable2.js +1 -1
- package/dist/components/pos-markdown-document2.js +1 -1
- package/dist/components/pos-tool-select2.js +1 -1
- package/dist/components/pos-type-index-entries2.js +1 -1
- package/dist/components/pos-upload2.js +12 -3
- package/dist/contacts/contacts.esm.js +1 -1
- package/dist/contacts/{p-728d6af6.entry.js → p-26248da8.entry.js} +1 -1
- package/dist/contacts/p-40b2d792.entry.js +1 -0
- package/dist/contacts/{p-2f71dc3f.entry.js → p-46f8861e.entry.js} +1 -1
- package/dist/contacts/{p-a1eccbb3.entry.js → p-4ef3891c.entry.js} +1 -1
- package/dist/contacts/{p-Doy_38_j.js → p-5LNPeQkx.js} +1 -1
- package/dist/contacts/p-5e11ce90.entry.js +1 -0
- package/dist/contacts/{p-f5733446.entry.js → p-649e7365.entry.js} +1 -1
- package/dist/contacts/{p-ZMx7-r-Z.js → p-68gi0rt1.js} +2 -2
- package/dist/contacts/p-6d4ec7e5.entry.js +1 -0
- package/dist/contacts/{p-2838a706.entry.js → p-76382e6a.entry.js} +1 -1
- package/dist/contacts/{p-a4ce6940.entry.js → p-78715d17.entry.js} +1 -1
- package/dist/contacts/p-7a01c820.entry.js +1 -0
- package/dist/contacts/{p-1a3db10b.entry.js → p-7d796ba8.entry.js} +12 -12
- package/dist/contacts/{p-274a058e.entry.js → p-7f565d49.entry.js} +1 -1
- package/dist/contacts/{p-a2fd47c3.entry.js → p-84fdbc1a.entry.js} +1 -1
- package/dist/contacts/p-8bc26fd9.entry.js +1 -0
- package/dist/contacts/{p-d84a0a69.entry.js → p-92fcdd59.entry.js} +1 -1
- package/dist/contacts/p-B0L5m2PZ.js +67 -0
- package/dist/contacts/{p-1xUnBGk9.js → p-B0_xZCeV.js} +3 -3
- package/dist/contacts/{p-GY-EgIvC.js → p-BXcFVJku.js} +2 -2
- package/dist/contacts/{p-B9Os6GUk.js → p-BXdS2klL.js} +4 -4
- package/dist/contacts/p-Bk6kpzHk.js +1 -0
- package/dist/contacts/{p-C_2ssh--.js → p-BkeypvMo.js} +7 -7
- package/dist/contacts/{p-sjhA5ZF-.js → p-Bug_w-vi.js} +1 -1
- package/dist/contacts/p-C1XsyD29.js +1 -0
- package/dist/contacts/{p-DAeBhDur.js → p-C8LPXtIR.js} +8 -8
- package/dist/contacts/p-DScSUBy-.js +2 -0
- package/dist/contacts/p-D_nUMgR-.js +11 -0
- package/dist/contacts/{p-CXax1-ne.js → p-SrdKoY3I.js} +1 -1
- package/dist/contacts/p-a3082900.entry.js +1 -0
- package/dist/contacts/{p-1d26260f.entry.js → p-a629ae72.entry.js} +1 -1
- package/dist/contacts/{p-67acd5f1.entry.js → p-a9d03996.entry.js} +1 -1
- package/dist/contacts/{p-a98a5bbc.entry.js → p-ae43e046.entry.js} +1 -1
- package/dist/contacts/{p-a7162c9d.entry.js → p-c306d8ca.entry.js} +1 -1
- package/dist/contacts/{p-1c438065.entry.js → p-c4a1c42a.entry.js} +1 -1
- package/dist/contacts/{p-fe469d93.entry.js → p-c89722f1.entry.js} +1 -1
- package/dist/contacts/{p-04958ea3.entry.js → p-ce6b4a9a.entry.js} +1 -1
- package/dist/contacts/{p-8bfd4d17.entry.js → p-d510fa6c.entry.js} +12 -3
- package/dist/contacts/{p-be6f3b82.entry.js → p-ecf8719a.entry.js} +1 -1
- package/dist/contacts/{p-934f49b1.entry.js → p-f8517ff2.entry.js} +1 -1
- package/dist/esm/{chunk.5JY5FUCG-BOo64hgz.js → chunk.5JY5FUCG-B58l5Mdn.js} +2 -2
- package/dist/esm/{chunk.HVTXQL7M-D4GE2ek9.js → chunk.HVTXQL7M-DXJDg6h_.js} +4 -4
- package/dist/esm/{chunk.URTPIBTY-DtWmW4Pb.js → chunk.URTPIBTY-C1YI_wtI.js} +3 -3
- package/dist/esm/{chunk.XQ2OKYYA-Cgug_yvW.js → chunk.XQ2OKYYA-B0surOUs.js} +4 -4
- package/dist/esm/{chunk.YHLNUJ7P-CGClYowr.js → chunk.YHLNUJ7P-B10Qbx9i.js} +1 -1
- package/dist/esm/chunk.ZGGPD2XJ-CxH68zCl.js +3 -0
- package/dist/esm/{class-map-CuxcTjQ5.js → class-map-DcKoKhP0.js} +1 -1
- package/dist/esm/contacts.js +3 -3
- package/dist/esm/{if-defined-1V1UljxT.js → if-defined-TtuUo8or.js} +1 -1
- package/dist/esm/{index-DFqG64hG.js → index-D-Cg1uHv.js} +2 -2
- package/dist/esm/{index-DlhTPhZx.js → index-D4tjvI9D.js} +1 -1
- package/dist/esm/{index-_4aU9NfA.js → index-DScSUBy-.js} +546 -2000
- package/dist/esm/{jsonld-V2RB47OZ-CaIJ08AA.js → jsonld-V2RB47OZ-BA1jAPl4.js} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/pos-add-literal-value_3.entry.js +8 -8
- package/dist/esm/pos-add-new-thing_7.entry.js +9 -9
- package/dist/esm/pos-app-browser.entry.js +2 -2
- package/dist/esm/pos-app-dashboard_6.entry.js +5 -5
- package/dist/esm/pos-app-document-viewer.entry.js +1 -1
- package/dist/esm/pos-app-generic.entry.js +1 -1
- package/dist/esm/pos-app-image-viewer.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-app_24.entry.js +309 -178
- package/dist/esm/pos-attachments.entry.js +2 -2
- package/dist/esm/pos-container-contents.entry.js +2 -2
- package/dist/esm/pos-container-item_3.entry.js +6 -6
- package/dist/esm/pos-description_2.entry.js +1 -1
- package/dist/esm/pos-document.entry.js +6 -6
- package/dist/esm/pos-list.entry.js +1 -1
- package/dist/esm/pos-make-findable_2.entry.js +9 -9
- package/dist/esm/pos-markdown-document.entry.js +443 -2328
- package/dist/esm/pos-new-thing-form.entry.js +1 -1
- package/dist/esm/pos-predicate.entry.js +6 -6
- package/dist/esm/pos-relations_2.entry.js +1 -1
- package/dist/esm/pos-select-term.entry.js +1 -1
- package/dist/esm/pos-subjects.entry.js +2 -2
- package/dist/esm/pos-tool-attachments.entry.js +1 -1
- package/dist/esm/pos-tool-select.entry.js +4 -4
- package/dist/esm/pos-value.entry.js +1 -1
- package/dist/esm/{session-dNJIwSOx.js → session-CtUoUtdF.js} +1 -1
- package/dist/esm/{settings-B396TU1j.js → settings-Cnw1mSJw.js} +1 -1
- package/dist/types/components.d.ts +47 -22
- package/dist/types/stencil-public-runtime.d.ts +52 -2
- package/package.json +2 -2
- package/dist/cjs/chunk.ZGGPD2XJ-D0JTxaR_.js +0 -5
- package/dist/contacts/p-34745d30.entry.js +0 -1
- package/dist/contacts/p-40c74195.entry.js +0 -1
- package/dist/contacts/p-4b083d14.entry.js +0 -1
- package/dist/contacts/p-734b1a7b.entry.js +0 -1
- package/dist/contacts/p-CbjulEge.js +0 -1
- package/dist/contacts/p-D6s4RlTY.js +0 -1
- package/dist/contacts/p-LoCE14bN.js +0 -67
- package/dist/contacts/p-_4aU9NfA.js +0 -2
- package/dist/contacts/p-c5e66c2d.entry.js +0 -1
- package/dist/contacts/p-c614a152.entry.js +0 -1
- package/dist/contacts/p-ffZsjcF5.js +0 -11
- package/dist/esm/chunk.ZGGPD2XJ-BfEMOYfC.js +0 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as a,e as r,c as o,a as s}from"./p-
|
|
1
|
+
import{r as e,h as a,e as r,c as o,a as s}from"./p-DScSUBy-.js";import{s as d}from"./p-Bug_w-vi.js";import{l as i}from"./p-C1XsyD29.js";import{u as c}from"./p-D0uCfr1-.js";import{T as t}from"./p-B0L5m2PZ.js";const n=class{constructor(a){e(this,a)}render(){return a(r,{key:"85981cd25e72748708030d8e084c6b8024aae9b3"},d.state.isLoggedIn?a(l,{profile:d.state.profile}):[a("pos-getting-started",null),a("pos-example-resources",null)])}},l=({profile:e})=>{const r=e.getPublicTypeIndex(),o=e.getPrivateTypeIndex();return[a("pos-example-resources",null),r?a("div",{class:"card"},a("h2",null,"Your public things"),a("pos-type-index-entries",{uri:r})):null,o?a("div",{class:"card"},a("h2",null,"Your private things"),a("pos-type-index-entries",{uri:o})):null]};n.style=":host{display:grid;grid-template-columns:repeat(auto-fit, minmax(var(--size-12), var(--size-96)));gap:var(--size-4);padding:var(--size-2);justify-content:center;align-items:start;justify-items:stretch}.card{border:var(--size-px) solid var(--pos-border-color);border-radius:var(--radius-lg);box-shadow:var(--shadow-md);padding:var(--size-8);max-width:var(--size-96);background:var(--pos-card-background)}";const f=class{constructor(a){e(this,a)}render(){return a("pos-setting-offline-cache",{key:"a5f139aaeb3e290af4c72a4976c994b693ef0736"})}};f.style=":host{display:grid;grid-template-columns:repeat(auto-fit, minmax(var(--size-12), var(--size-96)));gap:var(--size-4);padding:var(--size-2);justify-content:center;align-items:start;justify-items:stretch}";const b=class{constructor(a){e(this,a)}render(){return a(r,{key:"edfbfc18bef5794e03385a6712cd6301b9f7fb56"},a("div",{key:"cb211969daa03f9377b9cc91d32983305d8efc8f"},a("h2",{key:"df34f7358c8b232d6d4874069c3a93491332589e"},"Try these... 💡"),a("p",{key:"512f37a9d3ba9f7492ab1770472732d3027751d4"},"No idea where to start? Try these example resources, and follow your nose 👃"),a("div",{key:"70c3dd35ffb296cfa535df0e74a1142c825d24a2",class:"links"},a("pos-rich-link",{key:"441945b22665c8688efb69bdb90fb61c13e41192",uri:"https://pod-os.solidcommunity.net/profile/card#me"}),a("pos-rich-link",{key:"d159b08661afd4c3dcc1d305f51c0a71dd8d1556",uri:"https://angelo.veltens.org/profile/card#me"}),a("pos-rich-link",{key:"82bf392405f612530d5de60d93e2201fae53f8fd",uri:"https://angelo.veltens.org/public/bookmarks"}),a("pos-rich-link",{key:"6f2151ad44f7659e723cb31f33b1a26170fbe37b",uri:"https://solidos.solidcommunity.net/profile/card#me"}))))}};b.style=":host{border:var(--size-px) solid var(--pos-border-color);border-radius:var(--radius-lg);box-shadow:var(--shadow-md);padding:var(--size-8);max-width:var(--size-96);background:var(--pos-card-background)}.links{display:flex;flex-direction:column;gap:var(--size-3);max-width:80vw}";const p=class{constructor(a){e(this,a),this.login=o(this,"pod-os:login",7)}render(){return a(r,{key:"7486f4d04e3b7bd341fd2d9c02b85360079c5d5a"},a("div",{key:"710c84685022c9a55c821a421642cbff24c7ba5a"},a("h2",{key:"f01aa189a05ea101c61eecdc68d6fa1db9fefbb3"},"Getting started 🚀"),a("p",{key:"0e3320c4297a3438b2cdda02e27f0517a0ac2a85"},"🔎 Enter a URL into the above navigation bar to browse through the web of data. "),a("p",{key:"f99d218c35b6aa698bba807dc0f3b272ecd81416"},"🔐"," ",a("button",{key:"7091693cc439ddb12f35ef2f3be54f649c47e4ce",class:"login",onClick:()=>this.login.emit()},"Sign in")," ","to access private resources on your Solid Pod or those of your friends or coworkers.")),a("div",{key:"643c46009b4a962548ac501b3bca912a5163f4d3"},a("p",{key:"7fb4a75e5eb6f55a6b8d25825b39f8f82bcadeb9",class:"question"},"New to Solid?"),a("p",{key:"e7dd87fc055ad8981f28f00eb29a65c9e67f7a96"},a("a",{key:"1ad84ef46c7320e4adbb1ce573a8c6b97f60b8ec",href:"https://solidproject.org/for-developers#hosted-pod-services"},"Get a Pod →"))),a("div",{key:"bf50fd05a28e6536aae13cd6c7245c4b487850a6"},a("p",{key:"911eec270cee7a1dcc40320fb43298ad61b01206",class:"question"},"Want to dig deeper into PodOS?"),a("p",{key:"d1f7f4215577f50f1186b48ea0d48670eee53c22"},a("a",{key:"18c487f6e1ea48289654005286816b18e741c8a0",href:"http://pod-os.org"},"Learn more →"))))}};p.style=":host{border:var(--size-px) solid var(--pos-border-color);border-radius:var(--radius-lg);box-shadow:var(--shadow-md);padding:var(--size-8);max-width:var(--size-96);background:var(--pos-card-background)}.question{font-weight:var(--weight-semibold)}a{font-weight:var(--weight-bold);color:var(--pos-primary-color)}button.login{background:none;color:var(--pos-primary-color);display:inline;text-decoration:underline;border:none;padding:0;margin:0;cursor:pointer;font-size:unset}";const u=class{constructor(a){e(this,a)}render(){return a(r,{key:"7417274658af9e41cf662b9ab20d4b5a6236586f"},a("div",{key:"e92a78a1d2b1d067ffd10a68d78a386208d629d8"},a("h2",{key:"7be5f2cf380363e824519fc24fd1e07f0651334b"},a("svg",{key:"d2aa35c987e12836cf665b2574ae0c42a1574e97",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},a("path",{key:"562e3432799cb8111e543080722b6f20867f4b46","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"),a("p",{key:"002eed9e13146d25cc9e52a68c8d9e030f1dd775",class:"info"},"ℹ Enable offline cache to be able to access previously loaded data while offline."),a("p",{key:"b5a1f45ed9fec335a43ecbb6573a31ed29e0692e",class:"warn"},"⚠ Private data may be stored on this device. Only enable it, if you trust this device."),a("label",{key:"49ab529db0b9d1bd4f216f6c54e78ed30a43be41"},a("input",{key:"e764d1a106906059c7c5286d13b9b8c7a6c01cce",type:"checkbox",checked:i.state.offlineCache,onChange:e=>i.state.offlineCache=e.target.checked}),"Enable offline cache")))}};u.style=":host{border:var(--size-px) solid var(--pos-border-color);border-radius:var(--radius-lg);box-shadow:var(--shadow-md);padding:var(--size-8);max-width:var(--size-96);background:var(--pos-card-background)}svg{width:var(--size-8)}h2{display:flex;align-items:center}p{padding:var(--size-2)}.info{color:var(--color-grey-900);background-color:var(--color-blue-200)}.warn{color:var(--color-grey-900);background-color:var(--color-yellow-200)}";const h=class{constructor(a){e(this,a)}async componentWillLoad(){const e=await c(this.el);e.store.get(this.uri);const a=e.store.get(this.uri).assume(t);this.entries=a.listAll()}render(){if(0===this.entries.length)return null;const e=this.entries.map((e=>a("div",null,a("dt",null,a("pos-predicate",{uri:e.forClass,label:e.label})),e.targets.map((e=>a("dd",null,a("pos-rich-link",{uri:e.uri})))))));return a("dl",null,e)}get el(){return s(this)}};h.style="dl { > * { display: flex; flex-direction: column; gap: var(--size-1); } display: flex; flex-direction: column; gap: var(--size-4); dd { margin: 0; } } ";export{n as pos_app_dashboard,f as pos_app_settings,b as pos_example_resources,p as pos_getting_started,u as pos_setting_offline_cache,h as pos_type_index_entries}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as e,h as i}from"./p-
|
|
1
|
+
import{r as t,c as e,h as i}from"./p-DScSUBy-.js";import{s as o}from"./p-jlzl8vRd.js";const s=class{constructor(i){t(this,i),this.linkEmitter=e(this,"pod-os:link",7),this.errorEmitter=e(this,"pod-os:error",7),this.subscribePodOs=e(this,"pod-os:init",7),this.canSubmit=!1,this.receivePodOs=async t=>{this.os=t}}validate(){this.canSubmit=Boolean(this.name&&this.selectedTypeUri)}componentWillLoad(){o(this)}render(){return i("form",{key:"a362c5b749dd744123973987ff8b0291485b465e",method:"dialog",onSubmit:t=>this.handleSubmit(t)},i("label",{key:"45c78b0b48955cc157d04f547285b4ae4c19c38f",htmlFor:"type"},"Type"),i("pos-select-term",{key:"e3c3ab9abdbbb585916d95ba1aa14a066dbc5bd0",id:"type",placeholder:"",value:this.selectedTypeUri,"onPod-os:term-selected":t=>this.onTermSelected(t)}),i("label",{key:"c696f8ed862d40d3c366ef0ede5e88e574928db3",htmlFor:"name"},"Name"),i("input",{key:"89e6289e24ca9d3969da97c7aeb22224db1c376c",id:"name",type:"text",value:this.name,onInput:t=>this.handleChange(t)}),this.newUri?i("div",{id:"new-uri",title:"This will be the URI of the new thing"},this.newUri):null,i("input",{key:"b9520afef34177c6f14ab0798c045536d5661a2a",id:"create",type:"submit",value:"Create",disabled:!this.canSubmit}))}handleChange(t){this.name=t.target.value,this.newUri=this.os.proposeUriForNewThing(this.referenceUri,this.name)}onTermSelected(t){this.selectedTypeUri=t.detail.uri}async handleSubmit(t){try{await this.os.addNewThing(this.newUri,this.name,this.selectedTypeUri),this.linkEmitter.emit(this.newUri),this.reset()}catch(e){t.preventDefault(),this.errorEmitter.emit(e)}}reset(){this.name="",this.newUri="",this.selectedTypeUri=""}static get delegatesFocus(){return!0}static get watchers(){return{name:[{validate:0}],selectedTypeUri:[{validate:0}]}}};s.style=":host{display:block}form{display:grid;grid-template-columns:var(--size-16) 1fr;grid-gap:var(--scale-0)}label{grid-column:1 / 2;display:flex;align-items:center;justify-content:flex-end}input,pos-select-term,button{grid-column:2 / 3}input,pos-select-term::part(input){outline:var(--pos-input-outline);padding:var(--scale-000);border:none;border-radius:var(--radius-xs);width:var(--size-full);box-sizing:border-box;background:var(--pos-input-background-color);color:var(--pos-normal-text-color)}input:focus-within,pos-select-term::part(input):focus-within{outline:var(--pos-input-focus-outline)}#new-uri{grid-column:1/3;cursor:default;word-break:break-all;color:var(--pos-normal-text-color);font-weight:var(--weight-light);background:var(--pos-disabled-color);padding:var(--scale-000);border-radius:var(--radius-xs)}input#create{outline:none;box-shadow:var(--shadow-sm);cursor:pointer;color:var(--pos-primary-text-color);background-color:var(--pos-primary-color)}input#create:disabled{cursor:default;color:var(--pos-disabled-text-color);background-color:var(--pos-disabled-color);box-shadow:none}input#create:hover:not(:disabled),input#create:focus{filter:brightness(110%);box-shadow:var(--shadow-md)}";export{s as pos_new_thing_form}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as __spreadProps, d as __spreadValues, i as i$1, c as component_styles_default, _ as __decorateClass, n, a as ShoelaceElement, x } from './chunk.YHLNUJ7P-
|
|
1
|
+
import { b as __spreadProps, d as __spreadValues, i as i$1, c as component_styles_default, _ as __decorateClass, n, a as ShoelaceElement, x } from './chunk.YHLNUJ7P-B10Qbx9i.js';
|
|
2
2
|
import { L as LocalizeController } from './chunk.6CTB5ZDJ-BnGEOH37.js';
|
|
3
|
-
import { e as e$3 } from './class-map-
|
|
3
|
+
import { e as e$3 } from './class-map-DcKoKhP0.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* @license
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { i, e as __yieldStar, c as component_styles_default, _ as __decorateClass, n as n$2, w as watch, a as ShoelaceElement, x, f as f$1, E, S as SlIcon } from './chunk.YHLNUJ7P-
|
|
2
|
-
import { S as SlPopup, e as e$1, s as setDefaultAnimation, w as waitForEvent, a as stopAnimations, g as getAnimation, b as animateTo } from './chunk.5JY5FUCG-
|
|
1
|
+
import { i, e as __yieldStar, c as component_styles_default, _ as __decorateClass, n as n$2, w as watch, a as ShoelaceElement, x, f as f$1, E, S as SlIcon } from './chunk.YHLNUJ7P-B10Qbx9i.js';
|
|
2
|
+
import { S as SlPopup, e as e$1, s as setDefaultAnimation, w as waitForEvent, a as stopAnimations, g as getAnimation, b as animateTo } from './chunk.5JY5FUCG-B58l5Mdn.js';
|
|
3
3
|
import { L as LocalizeController } from './chunk.6CTB5ZDJ-BnGEOH37.js';
|
|
4
|
-
import { e as e$2, i as i$1, t, a as e$3 } from './class-map-
|
|
5
|
-
import { o as o$2 } from './if-defined-
|
|
4
|
+
import { e as e$2, i as i$1, t, a as e$3 } from './class-map-DcKoKhP0.js';
|
|
5
|
+
import { o as o$2 } from './if-defined-TtuUo8or.js';
|
|
6
6
|
|
|
7
7
|
// src/internal/slot.ts
|
|
8
8
|
var HasSlotController = class {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { i, c as component_styles_default, _ as __decorateClass, n, w as watch, a as ShoelaceElement, x } from './chunk.YHLNUJ7P-
|
|
2
|
-
import { S as SlPopup, e, s as setDefaultAnimation, p as parseDuration, a as stopAnimations, g as getAnimation, b as animateTo, w as waitForEvent } from './chunk.5JY5FUCG-
|
|
1
|
+
import { i, c as component_styles_default, _ as __decorateClass, n, w as watch, a as ShoelaceElement, x } from './chunk.YHLNUJ7P-B10Qbx9i.js';
|
|
2
|
+
import { S as SlPopup, e, s as setDefaultAnimation, p as parseDuration, a as stopAnimations, g as getAnimation, b as animateTo, w as waitForEvent } from './chunk.5JY5FUCG-B58l5Mdn.js';
|
|
3
3
|
import { L as LocalizeController } from './chunk.6CTB5ZDJ-BnGEOH37.js';
|
|
4
|
-
import { e as e$1 } from './class-map-
|
|
4
|
+
import { e as e$1 } from './class-map-DcKoKhP0.js';
|
|
5
5
|
|
|
6
6
|
// src/components/tooltip/tooltip.styles.ts
|
|
7
7
|
var tooltip_styles_default = i`
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { h } from './index-
|
|
2
|
-
import './chunk.ZGGPD2XJ-
|
|
3
|
-
import { i, c as component_styles_default, _ as __decorateClass, n, a as ShoelaceElement, x } from './chunk.YHLNUJ7P-
|
|
4
|
-
import { e } from './class-map-
|
|
1
|
+
import { h } from './index-DScSUBy-.js';
|
|
2
|
+
import './chunk.ZGGPD2XJ-CxH68zCl.js';
|
|
3
|
+
import { i, c as component_styles_default, _ as __decorateClass, n, a as ShoelaceElement, x } from './chunk.YHLNUJ7P-B10Qbx9i.js';
|
|
4
|
+
import { e } from './class-map-DcKoKhP0.js';
|
|
5
5
|
|
|
6
6
|
const BrokenFile = ({ file }) => {
|
|
7
7
|
const iconName = iconForStatus(file.status);
|
package/dist/esm/contacts.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { p as promiseResolve, B as BUILD, d as consoleDevInfo, w as win, N as NAMESPACE, H, g as globalScripts, b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { p as promiseResolve, B as BUILD, d as consoleDevInfo, w as win, N as NAMESPACE, H, g as globalScripts, b as bootstrapLazy } from './index-DScSUBy-.js';
|
|
2
|
+
export { s as setNonce } from './index-DScSUBy-.js';
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
Stencil Client Patch Browser v4.
|
|
5
|
+
Stencil Client Patch Browser v4.43.2 | MIT Licensed | https://stenciljs.com
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
var patchBrowser = () => {
|
|
@@ -16147,7 +16147,7 @@ var standard_default = types;
|
|
|
16147
16147
|
|
|
16148
16148
|
// ../node_modules/mime/dist/src/Mime.js
|
|
16149
16149
|
var __classPrivateFieldGet = function(receiver2, state2, kind2, f) {
|
|
16150
|
-
if (typeof state2 === "function" ? receiver2 !== state2 ||
|
|
16150
|
+
if (typeof state2 === "function" ? receiver2 !== state2 || !f : !state2.has(receiver2)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
16151
16151
|
return kind2 === "m" ? f : kind2 === "a" ? f.call(receiver2) : f ? f.value : state2.get(receiver2);
|
|
16152
16152
|
};
|
|
16153
16153
|
var _Mime_extensionToType;
|
|
@@ -21914,7 +21914,7 @@ function listToCollection(kb, obj) {
|
|
|
21914
21914
|
}
|
|
21915
21915
|
async function jsonldParser(str, kb, base2) {
|
|
21916
21916
|
const baseString = base2 && Object.prototype.hasOwnProperty.call(base2, "termType") ? base2.value : base2;
|
|
21917
|
-
const jsonld = await import('./jsonld-V2RB47OZ-
|
|
21917
|
+
const jsonld = await import('./jsonld-V2RB47OZ-BA1jAPl4.js');
|
|
21918
21918
|
const flattened = await jsonld.default.flatten(JSON.parse(str), null, {
|
|
21919
21919
|
base: baseString
|
|
21920
21920
|
});
|