@pod-os/elements 0.2.1-e5ac107.0 → 0.3.1-ecc3b86.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/{app-globals-8793f3b5.js → app-globals-1aedd05c.js} +1 -1
- package/dist/cjs/{button-active-dc62e864.js → button-active-c14dab31.js} +1 -1
- package/dist/cjs/elements.cjs.js +5 -5
- package/dist/cjs/{index-fdf96391.js → index-2067b305.js} +3 -3
- package/dist/cjs/{index-b8164b0b.js → index-68ae43d2.js} +1 -1
- package/dist/cjs/{index-0aae2825.js → index-b4a9ece2.js} +489 -291
- package/dist/cjs/ion-action-sheet.cjs.entry.js +4 -4
- package/dist/cjs/ion-alert.cjs.entry.js +4 -4
- package/dist/cjs/ion-app_37.cjs.entry.js +139 -67
- package/dist/cjs/ion-avatar.cjs.entry.js +2 -2
- package/dist/cjs/ion-back-button.cjs.entry.js +2 -2
- package/dist/cjs/ion-backdrop.cjs.entry.js +2 -2
- package/dist/cjs/ion-badge.cjs.entry.js +2 -2
- package/dist/cjs/ion-buttons.cjs.entry.js +2 -2
- package/dist/cjs/ion-card-subtitle.cjs.entry.js +2 -2
- package/dist/cjs/ion-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/ion-chip.cjs.entry.js +2 -2
- package/dist/cjs/ion-datetime.cjs.entry.js +3 -3
- package/dist/cjs/ion-fab-button.cjs.entry.js +2 -2
- package/dist/cjs/ion-fab-list.cjs.entry.js +2 -2
- package/dist/cjs/ion-fab.cjs.entry.js +2 -2
- package/dist/cjs/ion-img.cjs.entry.js +2 -2
- package/dist/cjs/ion-infinite-scroll-content.cjs.entry.js +2 -2
- package/dist/cjs/ion-infinite-scroll.cjs.entry.js +2 -2
- package/dist/cjs/ion-input.cjs.entry.js +2 -2
- package/dist/cjs/ion-item-option.cjs.entry.js +2 -2
- package/dist/cjs/ion-item-options.cjs.entry.js +2 -2
- package/dist/cjs/ion-item-sliding.cjs.entry.js +2 -2
- package/dist/cjs/ion-list-header_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-loading.cjs.entry.js +3 -3
- package/dist/cjs/ion-menu-button.cjs.entry.js +4 -4
- package/dist/cjs/ion-menu-toggle.cjs.entry.js +4 -4
- package/dist/cjs/ion-menu.cjs.entry.js +3 -3
- package/dist/cjs/ion-modal.cjs.entry.js +4 -4
- package/dist/cjs/ion-nav-link.cjs.entry.js +1 -1
- package/dist/cjs/ion-nav.cjs.entry.js +3 -3
- package/dist/cjs/ion-note.cjs.entry.js +2 -2
- package/dist/cjs/ion-picker-column.cjs.entry.js +2 -2
- package/dist/cjs/ion-picker.cjs.entry.js +3 -3
- package/dist/cjs/ion-popover.cjs.entry.js +4 -4
- package/dist/cjs/ion-range.cjs.entry.js +2 -2
- package/dist/cjs/ion-refresher-content.cjs.entry.js +2 -2
- package/dist/cjs/ion-refresher.cjs.entry.js +2 -2
- package/dist/cjs/ion-reorder-group.cjs.entry.js +2 -2
- package/dist/cjs/ion-reorder.cjs.entry.js +2 -2
- package/dist/cjs/ion-route-redirect.cjs.entry.js +1 -1
- package/dist/cjs/ion-route.cjs.entry.js +1 -1
- package/dist/cjs/ion-router-link.cjs.entry.js +2 -2
- package/dist/cjs/ion-router-outlet.cjs.entry.js +3 -3
- package/dist/cjs/ion-router.cjs.entry.js +1 -1
- package/dist/cjs/ion-searchbar.cjs.entry.js +2 -2
- package/dist/cjs/ion-segment-button.cjs.entry.js +2 -2
- package/dist/cjs/ion-segment.cjs.entry.js +2 -2
- package/dist/cjs/ion-select-option.cjs.entry.js +2 -2
- package/dist/cjs/ion-select-popover.cjs.entry.js +3 -3
- package/dist/cjs/ion-select.cjs.entry.js +3 -3
- package/dist/cjs/ion-slide.cjs.entry.js +2 -2
- package/dist/cjs/ion-slides.cjs.entry.js +2 -2
- package/dist/cjs/ion-spinner.cjs.entry.js +2 -2
- package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab-bar.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab-button.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab.cjs.entry.js +1 -1
- package/dist/cjs/ion-tabs.cjs.entry.js +1 -1
- package/dist/cjs/ion-text.cjs.entry.js +2 -2
- package/dist/cjs/ion-textarea.cjs.entry.js +2 -2
- package/dist/cjs/ion-thumbnail.cjs.entry.js +2 -2
- package/dist/cjs/ion-toast.cjs.entry.js +3 -3
- package/dist/cjs/ion-toggle.cjs.entry.js +2 -2
- package/dist/cjs/ion-virtual-scroll.cjs.entry.js +1 -1
- package/dist/cjs/{ionic-global-a6599940.js → ionic-global-56e10eb5.js} +1 -1
- package/dist/cjs/{ios.transition-b6fe660c.js → ios.transition-32e4623d.js} +2 -2
- package/dist/cjs/loader.cjs.js +5 -5
- package/dist/cjs/{md.transition-af65cb42.js → md.transition-169c54f0.js} +2 -2
- package/dist/cjs/{menu-toggle-util-e66c2545.js → menu-toggle-util-087678e0.js} +1 -1
- package/dist/cjs/{overlays-7d879e64.js → overlays-49fe9ba7.js} +1 -1
- package/dist/cjs/{status-tap-869e1b97.js → status-tap-ada894ff.js} +1 -1
- package/dist/cjs/test-component.cjs.entry.js +1 -1
- package/dist/collection/apps/pos-app-generic/pos-app-generic.js +2 -16
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/pos-app/pos-app.js +19 -13
- package/dist/collection/components/pos-demo-app/pos-demo-app.js +2 -11
- package/dist/collection/components/pos-description/pos-description.component.js +24 -20
- package/dist/collection/components/pos-image/BrokenImage.js +1 -6
- package/dist/collection/components/pos-image/pos-image.css +6 -3
- package/dist/collection/components/pos-image/pos-image.js +73 -56
- package/dist/collection/components/pos-label/pos-label.js +24 -20
- package/dist/collection/components/pos-literals/pos-literals.js +26 -27
- package/dist/collection/components/pos-login/pos-login.css +14 -0
- package/dist/collection/components/pos-login/pos-login.js +37 -25
- package/dist/collection/components/pos-picture/pos-picture.css +10 -0
- package/dist/collection/components/pos-picture/pos-picture.js +35 -20
- package/dist/collection/components/pos-relations/pos-relations.js +26 -25
- package/dist/collection/components/pos-resource/pos-resource.js +108 -92
- package/dist/collection/components/pos-reverse-relations/pos-reverse-relations.js +26 -28
- package/dist/collection/components/pos-rich-link/pos-rich-link.js +46 -48
- package/dist/collection/components/pos-router/pos-router.js +19 -15
- package/dist/collection/test/TestComponent.js +0 -1
- package/dist/collection/test/mockPodOS.js +4 -0
- package/dist/custom-elements/index.js +138 -65
- package/dist/elements/elements.esm.js +1 -1
- package/dist/elements/{p-17758df3.entry.js → p-06675ac7.entry.js} +1 -1
- package/dist/elements/{p-99837f0d.entry.js → p-0908233c.entry.js} +1 -1
- package/dist/elements/{p-c6dbdd06.entry.js → p-0dbeacc4.entry.js} +1 -1
- package/dist/elements/{p-387aff19.entry.js → p-1dafa1ce.entry.js} +1 -1
- package/dist/elements/{p-2145cf89.entry.js → p-203cbbcc.entry.js} +1 -1
- package/dist/elements/{p-bf5cd642.entry.js → p-24605c2e.entry.js} +1 -1
- package/dist/elements/{p-b84ab0eb.js → p-263a0343.js} +1 -1
- package/dist/elements/{p-1f6a9d65.entry.js → p-2c747ed4.entry.js} +1 -1
- package/dist/elements/{p-d6012b74.entry.js → p-2f2718d4.entry.js} +1 -1
- package/dist/elements/{p-3a26e7e5.entry.js → p-305e246c.entry.js} +1 -1
- package/dist/elements/{p-12094a99.entry.js → p-36f660e0.entry.js} +1 -1
- package/dist/elements/{p-10e4ca40.entry.js → p-3dabcacb.entry.js} +1 -1
- package/dist/elements/{p-aa225dce.entry.js → p-3f51d4ff.entry.js} +8 -2
- package/dist/elements/{p-e8b8da88.entry.js → p-4250dc8d.entry.js} +1 -1
- package/dist/elements/{p-30ceacb9.entry.js → p-4809c08b.entry.js} +1 -1
- package/dist/elements/{p-856e2a7d.entry.js → p-4a732500.entry.js} +1 -1
- package/dist/elements/{p-66bbe62d.entry.js → p-4cb27b48.entry.js} +1 -1
- package/dist/elements/{p-3e6db2fa.entry.js → p-4cca7b5e.entry.js} +1 -1
- package/dist/elements/{p-9b2ff01b.entry.js → p-4d7de1f8.entry.js} +1 -1
- package/dist/elements/{p-8d8e018a.entry.js → p-519d6a53.entry.js} +1 -1
- package/dist/elements/p-53166138.js +1 -0
- package/dist/elements/{p-671b4546.entry.js → p-54211c52.entry.js} +1 -1
- package/dist/elements/{p-22fc3a24.entry.js → p-5617a76d.entry.js} +1 -1
- package/dist/elements/{p-a08b2157.entry.js → p-599bb53f.entry.js} +1 -1
- package/dist/elements/{p-0452fb27.entry.js → p-5d1dc8fb.entry.js} +1 -1
- package/dist/elements/p-65133e33.js +1 -0
- package/dist/elements/p-689bdcc1.entry.js +1 -0
- package/dist/elements/{p-675e436c.js → p-6e247b63.js} +1 -1
- package/dist/elements/{p-58625104.entry.js → p-70713b3d.entry.js} +1 -1
- package/dist/elements/{p-0931b188.entry.js → p-74ba1e42.entry.js} +1 -1
- package/dist/elements/{p-80adc18b.entry.js → p-77d68651.entry.js} +1 -1
- package/dist/elements/{p-4b8b50f2.entry.js → p-78511267.entry.js} +1 -1
- package/dist/elements/{p-d9570980.entry.js → p-792c1e0f.entry.js} +1 -1
- package/dist/elements/p-7e5300af.js +2 -0
- package/dist/elements/{p-da1d4d15.entry.js → p-8068987c.entry.js} +1 -1
- package/dist/elements/{p-f35bc63b.entry.js → p-83d45051.entry.js} +1 -1
- package/dist/elements/{p-a0ee39e8.entry.js → p-84fa4ed5.entry.js} +1 -1
- package/dist/elements/{p-8544ef1b.entry.js → p-86635d06.entry.js} +1 -1
- package/dist/elements/{p-b7cd6fef.entry.js → p-8bcba3f7.entry.js} +1 -1
- package/dist/elements/{p-78cd25d1.entry.js → p-9038f68e.entry.js} +1 -1
- package/dist/elements/{p-b4ab884c.entry.js → p-93cacd51.entry.js} +1 -1
- package/dist/elements/p-9408d0b4.entry.js +1 -0
- package/dist/elements/{p-ca395368.entry.js → p-971d348c.entry.js} +1 -1
- package/dist/elements/{p-f91f59f9.entry.js → p-9813457e.entry.js} +1 -1
- package/dist/elements/{p-5628f80d.entry.js → p-9c1dbe52.entry.js} +1 -1
- package/dist/elements/{p-57f7c0c2.entry.js → p-9dad7470.entry.js} +1 -1
- package/dist/elements/{p-c3e16816.entry.js → p-9fb98135.entry.js} +1 -1
- package/dist/elements/p-a15e4603.js +1 -0
- package/dist/elements/{p-38bde1d3.js → p-a68c3324.js} +1 -1
- package/dist/elements/{p-c7feb66f.entry.js → p-aaa8393e.entry.js} +1 -1
- package/dist/elements/{p-0addb25c.entry.js → p-ab1b1b03.entry.js} +1 -1
- package/dist/elements/{p-b04936a5.entry.js → p-afb8f7d5.entry.js} +1 -1
- package/dist/elements/{p-2c2ae808.js → p-b055ec44.js} +1 -1
- package/dist/elements/{p-d4ac974f.entry.js → p-b3460325.entry.js} +1 -1
- package/dist/elements/{p-8aaf51be.entry.js → p-b46d3ab6.entry.js} +1 -1
- package/dist/elements/{p-03cde843.entry.js → p-b9926d8b.entry.js} +1 -1
- package/dist/elements/{p-70f5d1c1.entry.js → p-bab1fbc4.entry.js} +1 -1
- package/dist/elements/{p-51c7cb3f.entry.js → p-c08dd7d0.entry.js} +1 -1
- package/dist/elements/{p-16427279.js → p-c11279fc.js} +1 -1
- package/dist/elements/{p-ec47a369.js → p-c3c81ed2.js} +1 -1
- package/dist/elements/{p-8b372444.entry.js → p-c4fb313e.entry.js} +1 -1
- package/dist/elements/{p-025c9a9b.entry.js → p-cc4cb1ac.entry.js} +1 -1
- package/dist/elements/{p-8d1d6062.js → p-cff82b6f.js} +1 -1
- package/dist/elements/{p-9a05c749.entry.js → p-d2d84b3a.entry.js} +1 -1
- package/dist/elements/{p-90ab8eff.entry.js → p-d7dfabd5.entry.js} +1 -1
- package/dist/elements/{p-bcc3c37c.entry.js → p-d9462b66.entry.js} +1 -1
- package/dist/elements/{p-1d8e7db1.entry.js → p-db7feea8.entry.js} +1 -1
- package/dist/elements/p-e2e0fee9.entry.js +1 -0
- package/dist/elements/{p-f4120adc.entry.js → p-e5e5d3fe.entry.js} +1 -1
- package/dist/elements/{p-c94f01cf.entry.js → p-e860be6a.entry.js} +1 -1
- package/dist/elements/{p-c96b5885.entry.js → p-e89acad8.entry.js} +1 -1
- package/dist/elements/{p-d82c8102.entry.js → p-e953934f.entry.js} +1 -1
- package/dist/elements/{p-6e905d35.entry.js → p-f2426182.entry.js} +1 -1
- package/dist/elements/p-f8a3367d.entry.js +1 -0
- package/dist/elements/{p-cf79afd2.entry.js → p-f8be6f3e.entry.js} +1 -1
- package/dist/elements/{p-c8663562.entry.js → p-feda4431.entry.js} +1 -1
- package/dist/esm/{app-globals-6c3cceb6.js → app-globals-27d92837.js} +1 -1
- package/dist/esm/{button-active-1cd0f291.js → button-active-fd9d6d91.js} +1 -1
- package/dist/esm/elements.js +5 -5
- package/dist/esm/{index-178a7a06.js → index-6f52f626.js} +1 -1
- package/dist/esm/{index-edb45c26.js → index-8b5d780d.js} +3 -3
- package/dist/esm/{index-082b47ce.js → index-e4deec27.js} +489 -291
- package/dist/esm/ion-action-sheet.entry.js +4 -4
- package/dist/esm/ion-alert.entry.js +4 -4
- package/dist/esm/ion-app_37.entry.js +139 -67
- package/dist/esm/ion-avatar.entry.js +2 -2
- package/dist/esm/ion-back-button.entry.js +2 -2
- package/dist/esm/ion-backdrop.entry.js +2 -2
- package/dist/esm/ion-badge.entry.js +2 -2
- package/dist/esm/ion-buttons.entry.js +2 -2
- package/dist/esm/ion-card-subtitle.entry.js +2 -2
- package/dist/esm/ion-checkbox.entry.js +2 -2
- package/dist/esm/ion-chip.entry.js +2 -2
- package/dist/esm/ion-datetime.entry.js +3 -3
- package/dist/esm/ion-fab-button.entry.js +2 -2
- package/dist/esm/ion-fab-list.entry.js +2 -2
- package/dist/esm/ion-fab.entry.js +2 -2
- package/dist/esm/ion-img.entry.js +2 -2
- package/dist/esm/ion-infinite-scroll-content.entry.js +2 -2
- package/dist/esm/ion-infinite-scroll.entry.js +2 -2
- package/dist/esm/ion-input.entry.js +2 -2
- package/dist/esm/ion-item-option.entry.js +2 -2
- package/dist/esm/ion-item-options.entry.js +2 -2
- package/dist/esm/ion-item-sliding.entry.js +2 -2
- package/dist/esm/ion-list-header_3.entry.js +2 -2
- package/dist/esm/ion-loading.entry.js +3 -3
- package/dist/esm/ion-menu-button.entry.js +4 -4
- package/dist/esm/ion-menu-toggle.entry.js +4 -4
- package/dist/esm/ion-menu.entry.js +3 -3
- package/dist/esm/ion-modal.entry.js +4 -4
- package/dist/esm/ion-nav-link.entry.js +1 -1
- package/dist/esm/ion-nav.entry.js +3 -3
- package/dist/esm/ion-note.entry.js +2 -2
- package/dist/esm/ion-picker-column.entry.js +2 -2
- package/dist/esm/ion-picker.entry.js +3 -3
- package/dist/esm/ion-popover.entry.js +4 -4
- package/dist/esm/ion-range.entry.js +2 -2
- package/dist/esm/ion-refresher-content.entry.js +2 -2
- package/dist/esm/ion-refresher.entry.js +2 -2
- package/dist/esm/ion-reorder-group.entry.js +2 -2
- package/dist/esm/ion-reorder.entry.js +2 -2
- package/dist/esm/ion-route-redirect.entry.js +1 -1
- package/dist/esm/ion-route.entry.js +1 -1
- package/dist/esm/ion-router-link.entry.js +2 -2
- package/dist/esm/ion-router-outlet.entry.js +3 -3
- package/dist/esm/ion-router.entry.js +1 -1
- package/dist/esm/ion-searchbar.entry.js +2 -2
- package/dist/esm/ion-segment-button.entry.js +2 -2
- package/dist/esm/ion-segment.entry.js +2 -2
- package/dist/esm/ion-select-option.entry.js +2 -2
- package/dist/esm/ion-select-popover.entry.js +3 -3
- package/dist/esm/ion-select.entry.js +3 -3
- package/dist/esm/ion-slide.entry.js +2 -2
- package/dist/esm/ion-slides.entry.js +2 -2
- package/dist/esm/ion-spinner.entry.js +2 -2
- package/dist/esm/ion-split-pane.entry.js +2 -2
- package/dist/esm/ion-tab-bar.entry.js +2 -2
- package/dist/esm/ion-tab-button.entry.js +2 -2
- package/dist/esm/ion-tab.entry.js +1 -1
- package/dist/esm/ion-tabs.entry.js +1 -1
- package/dist/esm/ion-text.entry.js +2 -2
- package/dist/esm/ion-textarea.entry.js +2 -2
- package/dist/esm/ion-thumbnail.entry.js +2 -2
- package/dist/esm/ion-toast.entry.js +3 -3
- package/dist/esm/ion-toggle.entry.js +2 -2
- package/dist/esm/ion-virtual-scroll.entry.js +1 -1
- package/dist/esm/{ionic-global-b8056dd2.js → ionic-global-2e28f7c7.js} +1 -1
- package/dist/esm/{ios.transition-ab339f2c.js → ios.transition-b01e6585.js} +2 -2
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{md.transition-1ed7c8eb.js → md.transition-8b14ce53.js} +2 -2
- package/dist/esm/{menu-toggle-util-d2db3453.js → menu-toggle-util-e1b8b1b3.js} +1 -1
- package/dist/esm/{overlays-423fcd0a.js → overlays-a2145347.js} +1 -1
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/{status-tap-3e0a5551.js → status-tap-b8a70b06.js} +1 -1
- package/dist/esm/test-component.entry.js +1 -1
- package/dist/types/stencil-public-runtime.d.ts +20 -4
- package/loader/package.json +1 -0
- package/package.json +5 -5
- package/dist/elements/p-46221508.entry.js +0 -1
- package/dist/elements/p-611d40b2.entry.js +0 -1
- package/dist/elements/p-7010f947.entry.js +0 -1
- package/dist/elements/p-854dbdf1.js +0 -1
- package/dist/elements/p-92a0735b.js +0 -1
- package/dist/elements/p-a5b00718.entry.js +0 -1
- package/dist/elements/p-a712c2f6.js +0 -2
- package/dist/elements/p-c67ec320.js +0 -1
|
@@ -33441,7 +33441,7 @@ var require_MessageDigest_browser = __commonJS({
|
|
|
33441
33441
|
} else if (algorithm === "sha1") {
|
|
33442
33442
|
this.algorithm = { name: "SHA-1" };
|
|
33443
33443
|
} else {
|
|
33444
|
-
throw new Error(`
|
|
33444
|
+
throw new Error(`Unsupported algorithm "${algorithm}".`);
|
|
33445
33445
|
}
|
|
33446
33446
|
this._content = "";
|
|
33447
33447
|
}
|
|
@@ -33634,11 +33634,7 @@ var require_NQuads = __commonJS({
|
|
|
33634
33634
|
}
|
|
33635
33635
|
return quads.sort().join("");
|
|
33636
33636
|
}
|
|
33637
|
-
static
|
|
33638
|
-
const s = quad5.subject;
|
|
33639
|
-
const p = quad5.predicate;
|
|
33640
|
-
const o = quad5.object;
|
|
33641
|
-
const g = quad5.graph;
|
|
33637
|
+
static serializeQuadComponents(s, p, o, g) {
|
|
33642
33638
|
let nquad = "";
|
|
33643
33639
|
if (s.termType === TYPE_NAMED_NODE) {
|
|
33644
33640
|
nquad += `<${s.value}>`;
|
|
@@ -33668,6 +33664,14 @@ var require_NQuads = __commonJS({
|
|
|
33668
33664
|
nquad += " .\n";
|
|
33669
33665
|
return nquad;
|
|
33670
33666
|
}
|
|
33667
|
+
static serializeQuad(quad5) {
|
|
33668
|
+
return NQuads.serializeQuadComponents(
|
|
33669
|
+
quad5.subject,
|
|
33670
|
+
quad5.predicate,
|
|
33671
|
+
quad5.object,
|
|
33672
|
+
quad5.graph
|
|
33673
|
+
);
|
|
33674
|
+
}
|
|
33671
33675
|
static legacyDatasetToQuads(dataset) {
|
|
33672
33676
|
const quads = [];
|
|
33673
33677
|
const termTypeMap = {
|
|
@@ -33789,11 +33793,14 @@ var require_URDNA2015 = __commonJS({
|
|
|
33789
33793
|
var Permuter = require_Permuter();
|
|
33790
33794
|
var NQuads = require_NQuads();
|
|
33791
33795
|
module2.exports = class URDNA2015 {
|
|
33792
|
-
constructor({
|
|
33796
|
+
constructor({
|
|
33797
|
+
createMessageDigest = () => new MessageDigest("sha256"),
|
|
33798
|
+
maxDeepIterations = Infinity
|
|
33799
|
+
} = {}) {
|
|
33793
33800
|
this.name = "URDNA2015";
|
|
33794
33801
|
this.blankNodeInfo = /* @__PURE__ */ new Map();
|
|
33795
33802
|
this.canonicalIssuer = new IdentifierIssuer("_:c14n");
|
|
33796
|
-
this.
|
|
33803
|
+
this.createMessageDigest = createMessageDigest;
|
|
33797
33804
|
this.maxDeepIterations = maxDeepIterations;
|
|
33798
33805
|
this.quads = null;
|
|
33799
33806
|
this.deepIterations = null;
|
|
@@ -33847,11 +33854,13 @@ var require_URDNA2015 = __commonJS({
|
|
|
33847
33854
|
}
|
|
33848
33855
|
const normalized = [];
|
|
33849
33856
|
for (const quad5 of this.quads) {
|
|
33850
|
-
const
|
|
33851
|
-
|
|
33852
|
-
|
|
33853
|
-
|
|
33854
|
-
|
|
33857
|
+
const nQuad = NQuads.serializeQuadComponents(
|
|
33858
|
+
this._componentWithCanonicalId(quad5.subject),
|
|
33859
|
+
quad5.predicate,
|
|
33860
|
+
this._componentWithCanonicalId(quad5.object),
|
|
33861
|
+
this._componentWithCanonicalId(quad5.graph)
|
|
33862
|
+
);
|
|
33863
|
+
normalized.push(nQuad);
|
|
33855
33864
|
}
|
|
33856
33865
|
normalized.sort();
|
|
33857
33866
|
return normalized.join("");
|
|
@@ -33885,7 +33894,7 @@ var require_URDNA2015 = __commonJS({
|
|
|
33885
33894
|
nquads.push(NQuads.serializeQuad(copy));
|
|
33886
33895
|
}
|
|
33887
33896
|
nquads.sort();
|
|
33888
|
-
const md =
|
|
33897
|
+
const md = this.createMessageDigest();
|
|
33889
33898
|
for (const nquad of nquads) {
|
|
33890
33899
|
md.update(nquad);
|
|
33891
33900
|
}
|
|
@@ -33901,7 +33910,7 @@ var require_URDNA2015 = __commonJS({
|
|
|
33901
33910
|
} else {
|
|
33902
33911
|
id3 = this.blankNodeInfo.get(related).hash;
|
|
33903
33912
|
}
|
|
33904
|
-
const md =
|
|
33913
|
+
const md = this.createMessageDigest();
|
|
33905
33914
|
md.update(position);
|
|
33906
33915
|
if (position !== "g") {
|
|
33907
33916
|
md.update(this.getRelatedPredicate(quad5));
|
|
@@ -33917,7 +33926,7 @@ var require_URDNA2015 = __commonJS({
|
|
|
33917
33926
|
);
|
|
33918
33927
|
}
|
|
33919
33928
|
this.deepIterations.set(id3, deepIterations + 1);
|
|
33920
|
-
const md =
|
|
33929
|
+
const md = this.createMessageDigest();
|
|
33921
33930
|
const hashToRelated = await this.createHashToRelated(id3, issuer);
|
|
33922
33931
|
const hashes = [...hashToRelated.keys()].sort();
|
|
33923
33932
|
for (const hash of hashes) {
|
|
@@ -34063,7 +34072,7 @@ var require_URDNA2015 = __commonJS({
|
|
|
34063
34072
|
hashToRelated.set(hash, [related]);
|
|
34064
34073
|
}
|
|
34065
34074
|
}
|
|
34066
|
-
|
|
34075
|
+
_componentWithCanonicalId(component) {
|
|
34067
34076
|
if (component.termType === "BlankNode" && !component.value.startsWith(this.canonicalIssuer.prefix)) {
|
|
34068
34077
|
return {
|
|
34069
34078
|
termType: "BlankNode",
|
|
@@ -34085,12 +34094,13 @@ var require_URDNA2015 = __commonJS({
|
|
|
34085
34094
|
// ../node_modules/rdf-canonize/lib/URGNA2012.js
|
|
34086
34095
|
var require_URGNA2012 = __commonJS({
|
|
34087
34096
|
"../node_modules/rdf-canonize/lib/URGNA2012.js"(exports, module2) {
|
|
34097
|
+
var MessageDigest = require_MessageDigest_browser();
|
|
34088
34098
|
var URDNA2015 = require_URDNA2015();
|
|
34089
34099
|
module2.exports = class URDNA2012 extends URDNA2015 {
|
|
34090
34100
|
constructor() {
|
|
34091
34101
|
super();
|
|
34092
34102
|
this.name = "URGNA2012";
|
|
34093
|
-
this.
|
|
34103
|
+
this.createMessageDigest = () => new MessageDigest("sha1");
|
|
34094
34104
|
}
|
|
34095
34105
|
modifyFirstDegreeComponent(id3, component, key) {
|
|
34096
34106
|
if (component.termType !== "BlankNode") {
|
|
@@ -34156,11 +34166,14 @@ var require_URDNA2015Sync = __commonJS({
|
|
|
34156
34166
|
var Permuter = require_Permuter();
|
|
34157
34167
|
var NQuads = require_NQuads();
|
|
34158
34168
|
module2.exports = class URDNA2015Sync {
|
|
34159
|
-
constructor({
|
|
34169
|
+
constructor({
|
|
34170
|
+
createMessageDigest = () => new MessageDigest("sha256"),
|
|
34171
|
+
maxDeepIterations = Infinity
|
|
34172
|
+
} = {}) {
|
|
34160
34173
|
this.name = "URDNA2015";
|
|
34161
34174
|
this.blankNodeInfo = /* @__PURE__ */ new Map();
|
|
34162
34175
|
this.canonicalIssuer = new IdentifierIssuer("_:c14n");
|
|
34163
|
-
this.
|
|
34176
|
+
this.createMessageDigest = createMessageDigest;
|
|
34164
34177
|
this.maxDeepIterations = maxDeepIterations;
|
|
34165
34178
|
this.quads = null;
|
|
34166
34179
|
this.deepIterations = null;
|
|
@@ -34210,11 +34223,13 @@ var require_URDNA2015Sync = __commonJS({
|
|
|
34210
34223
|
}
|
|
34211
34224
|
const normalized = [];
|
|
34212
34225
|
for (const quad5 of this.quads) {
|
|
34213
|
-
const
|
|
34214
|
-
|
|
34215
|
-
|
|
34216
|
-
|
|
34217
|
-
|
|
34226
|
+
const nQuad = NQuads.serializeQuadComponents(
|
|
34227
|
+
this._componentWithCanonicalId({ component: quad5.subject }),
|
|
34228
|
+
quad5.predicate,
|
|
34229
|
+
this._componentWithCanonicalId({ component: quad5.object }),
|
|
34230
|
+
this._componentWithCanonicalId({ component: quad5.graph })
|
|
34231
|
+
);
|
|
34232
|
+
normalized.push(nQuad);
|
|
34218
34233
|
}
|
|
34219
34234
|
normalized.sort();
|
|
34220
34235
|
return normalized.join("");
|
|
@@ -34248,7 +34263,7 @@ var require_URDNA2015Sync = __commonJS({
|
|
|
34248
34263
|
nquads.push(NQuads.serializeQuad(copy));
|
|
34249
34264
|
}
|
|
34250
34265
|
nquads.sort();
|
|
34251
|
-
const md =
|
|
34266
|
+
const md = this.createMessageDigest();
|
|
34252
34267
|
for (const nquad of nquads) {
|
|
34253
34268
|
md.update(nquad);
|
|
34254
34269
|
}
|
|
@@ -34264,7 +34279,7 @@ var require_URDNA2015Sync = __commonJS({
|
|
|
34264
34279
|
} else {
|
|
34265
34280
|
id3 = this.blankNodeInfo.get(related).hash;
|
|
34266
34281
|
}
|
|
34267
|
-
const md =
|
|
34282
|
+
const md = this.createMessageDigest();
|
|
34268
34283
|
md.update(position);
|
|
34269
34284
|
if (position !== "g") {
|
|
34270
34285
|
md.update(this.getRelatedPredicate(quad5));
|
|
@@ -34280,7 +34295,7 @@ var require_URDNA2015Sync = __commonJS({
|
|
|
34280
34295
|
);
|
|
34281
34296
|
}
|
|
34282
34297
|
this.deepIterations.set(id3, deepIterations + 1);
|
|
34283
|
-
const md =
|
|
34298
|
+
const md = this.createMessageDigest();
|
|
34284
34299
|
const hashToRelated = this.createHashToRelated(id3, issuer);
|
|
34285
34300
|
const hashes = [...hashToRelated.keys()].sort();
|
|
34286
34301
|
for (const hash of hashes) {
|
|
@@ -34411,7 +34426,7 @@ var require_URDNA2015Sync = __commonJS({
|
|
|
34411
34426
|
hashToRelated.set(hash, [related]);
|
|
34412
34427
|
}
|
|
34413
34428
|
}
|
|
34414
|
-
|
|
34429
|
+
_componentWithCanonicalId({ component }) {
|
|
34415
34430
|
if (component.termType === "BlankNode" && !component.value.startsWith(this.canonicalIssuer.prefix)) {
|
|
34416
34431
|
return {
|
|
34417
34432
|
termType: "BlankNode",
|
|
@@ -34430,12 +34445,13 @@ var require_URDNA2015Sync = __commonJS({
|
|
|
34430
34445
|
// ../node_modules/rdf-canonize/lib/URGNA2012Sync.js
|
|
34431
34446
|
var require_URGNA2012Sync = __commonJS({
|
|
34432
34447
|
"../node_modules/rdf-canonize/lib/URGNA2012Sync.js"(exports, module2) {
|
|
34448
|
+
var MessageDigest = require_MessageDigest_browser();
|
|
34433
34449
|
var URDNA2015Sync = require_URDNA2015Sync();
|
|
34434
34450
|
module2.exports = class URDNA2012Sync extends URDNA2015Sync {
|
|
34435
34451
|
constructor() {
|
|
34436
34452
|
super();
|
|
34437
34453
|
this.name = "URGNA2012";
|
|
34438
|
-
this.
|
|
34454
|
+
this.createMessageDigest = () => new MessageDigest("sha1");
|
|
34439
34455
|
}
|
|
34440
34456
|
modifyFirstDegreeComponent(id3, component, key) {
|
|
34441
34457
|
if (component.termType !== "BlankNode") {
|
|
@@ -34492,7 +34508,7 @@ var require_rdf_canonize_native = __commonJS({
|
|
|
34492
34508
|
|
|
34493
34509
|
// ../node_modules/rdf-canonize/lib/index.js
|
|
34494
34510
|
var require_lib = __commonJS({
|
|
34495
|
-
"../node_modules/rdf-canonize/lib/index.js"(exports
|
|
34511
|
+
"../node_modules/rdf-canonize/lib/index.js"(exports) {
|
|
34496
34512
|
var URDNA2015 = require_URDNA2015();
|
|
34497
34513
|
var URGNA2012 = require_URGNA2012();
|
|
34498
34514
|
var URDNA2015Sync = require_URDNA2015Sync();
|
|
@@ -34502,30 +34518,38 @@ var require_lib = __commonJS({
|
|
|
34502
34518
|
rdfCanonizeNative = require_rdf_canonize_native();
|
|
34503
34519
|
} catch (e) {
|
|
34504
34520
|
}
|
|
34505
|
-
|
|
34506
|
-
|
|
34507
|
-
|
|
34508
|
-
|
|
34509
|
-
|
|
34510
|
-
if (api2) {
|
|
34511
|
-
rdfCanonizeNative = api2;
|
|
34521
|
+
exports.NQuads = require_NQuads();
|
|
34522
|
+
exports.IdentifierIssuer = require_IdentifierIssuer();
|
|
34523
|
+
exports._rdfCanonizeNative = function(api) {
|
|
34524
|
+
if (api) {
|
|
34525
|
+
rdfCanonizeNative = api;
|
|
34512
34526
|
}
|
|
34513
34527
|
return rdfCanonizeNative;
|
|
34514
34528
|
};
|
|
34515
|
-
|
|
34529
|
+
exports.canonize = async function(dataset, options) {
|
|
34516
34530
|
if (!Array.isArray(dataset)) {
|
|
34517
|
-
dataset =
|
|
34531
|
+
dataset = exports.NQuads.legacyDatasetToQuads(dataset);
|
|
34518
34532
|
}
|
|
34519
34533
|
if (options.useNative) {
|
|
34520
34534
|
if (!rdfCanonizeNative) {
|
|
34521
34535
|
throw new Error("rdf-canonize-native not available");
|
|
34522
34536
|
}
|
|
34537
|
+
if (options.createMessageDigest) {
|
|
34538
|
+
throw new Error(
|
|
34539
|
+
'"createMessageDigest" cannot be used with "useNative".'
|
|
34540
|
+
);
|
|
34541
|
+
}
|
|
34523
34542
|
return new Promise((resolve, reject3) => rdfCanonizeNative.canonize(dataset, options, (err, canonical) => err ? reject3(err) : resolve(canonical)));
|
|
34524
34543
|
}
|
|
34525
34544
|
if (options.algorithm === "URDNA2015") {
|
|
34526
34545
|
return new URDNA2015(options).main(dataset);
|
|
34527
34546
|
}
|
|
34528
34547
|
if (options.algorithm === "URGNA2012") {
|
|
34548
|
+
if (options.createMessageDigest) {
|
|
34549
|
+
throw new Error(
|
|
34550
|
+
'"createMessageDigest" cannot be used with "URGNA2012".'
|
|
34551
|
+
);
|
|
34552
|
+
}
|
|
34529
34553
|
return new URGNA2012(options).main(dataset);
|
|
34530
34554
|
}
|
|
34531
34555
|
if (!("algorithm" in options)) {
|
|
@@ -34535,20 +34559,30 @@ var require_lib = __commonJS({
|
|
|
34535
34559
|
"Invalid RDF Dataset Canonicalization algorithm: " + options.algorithm
|
|
34536
34560
|
);
|
|
34537
34561
|
};
|
|
34538
|
-
|
|
34562
|
+
exports._canonizeSync = function(dataset, options) {
|
|
34539
34563
|
if (!Array.isArray(dataset)) {
|
|
34540
|
-
dataset =
|
|
34564
|
+
dataset = exports.NQuads.legacyDatasetToQuads(dataset);
|
|
34541
34565
|
}
|
|
34542
34566
|
if (options.useNative) {
|
|
34543
|
-
if (rdfCanonizeNative) {
|
|
34544
|
-
|
|
34567
|
+
if (!rdfCanonizeNative) {
|
|
34568
|
+
throw new Error("rdf-canonize-native not available");
|
|
34545
34569
|
}
|
|
34546
|
-
|
|
34570
|
+
if (options.createMessageDigest) {
|
|
34571
|
+
throw new Error(
|
|
34572
|
+
'"createMessageDigest" cannot be used with "useNative".'
|
|
34573
|
+
);
|
|
34574
|
+
}
|
|
34575
|
+
return rdfCanonizeNative.canonizeSync(dataset, options);
|
|
34547
34576
|
}
|
|
34548
34577
|
if (options.algorithm === "URDNA2015") {
|
|
34549
34578
|
return new URDNA2015Sync(options).main(dataset);
|
|
34550
34579
|
}
|
|
34551
34580
|
if (options.algorithm === "URGNA2012") {
|
|
34581
|
+
if (options.createMessageDigest) {
|
|
34582
|
+
throw new Error(
|
|
34583
|
+
'"createMessageDigest" cannot be used with "URGNA2012".'
|
|
34584
|
+
);
|
|
34585
|
+
}
|
|
34552
34586
|
return new URGNA2012Sync(options).main(dataset);
|
|
34553
34587
|
}
|
|
34554
34588
|
if (!("algorithm" in options)) {
|
|
@@ -41343,7 +41377,9 @@ var require_dom = __commonJS({
|
|
|
41343
41377
|
}
|
|
41344
41378
|
function copy(src, dest) {
|
|
41345
41379
|
for (var p in src) {
|
|
41346
|
-
|
|
41380
|
+
if (Object.prototype.hasOwnProperty.call(src, p)) {
|
|
41381
|
+
dest[p] = src[p];
|
|
41382
|
+
}
|
|
41347
41383
|
}
|
|
41348
41384
|
}
|
|
41349
41385
|
function _extends(Class, Super) {
|
|
@@ -41628,7 +41664,7 @@ var require_dom = __commonJS({
|
|
|
41628
41664
|
var map2 = el._nsMap;
|
|
41629
41665
|
if (map2) {
|
|
41630
41666
|
for (var n in map2) {
|
|
41631
|
-
if (map2[n]
|
|
41667
|
+
if (Object.prototype.hasOwnProperty.call(map2, n) && map2[n] === namespaceURI) {
|
|
41632
41668
|
return n;
|
|
41633
41669
|
}
|
|
41634
41670
|
}
|
|
@@ -41642,7 +41678,7 @@ var require_dom = __commonJS({
|
|
|
41642
41678
|
while (el) {
|
|
41643
41679
|
var map2 = el._nsMap;
|
|
41644
41680
|
if (map2) {
|
|
41645
|
-
if (prefix
|
|
41681
|
+
if (Object.prototype.hasOwnProperty.call(map2, prefix)) {
|
|
41646
41682
|
return map2[prefix];
|
|
41647
41683
|
}
|
|
41648
41684
|
}
|
|
@@ -42330,10 +42366,12 @@ var require_dom = __commonJS({
|
|
|
42330
42366
|
function cloneNode(doc, node, deep) {
|
|
42331
42367
|
var node2 = new node.constructor();
|
|
42332
42368
|
for (var n in node) {
|
|
42333
|
-
|
|
42334
|
-
|
|
42335
|
-
if (v !=
|
|
42336
|
-
node2[n]
|
|
42369
|
+
if (Object.prototype.hasOwnProperty.call(node, n)) {
|
|
42370
|
+
var v = node[n];
|
|
42371
|
+
if (typeof v != "object") {
|
|
42372
|
+
if (v != node2[n]) {
|
|
42373
|
+
node2[n] = v;
|
|
42374
|
+
}
|
|
42337
42375
|
}
|
|
42338
42376
|
}
|
|
42339
42377
|
}
|
|
@@ -42801,7 +42839,9 @@ var require_sax = __commonJS({
|
|
|
42801
42839
|
domBuilder.endElement(config.uri, config.localName, tagName);
|
|
42802
42840
|
if (localNSMap) {
|
|
42803
42841
|
for (var prefix in localNSMap) {
|
|
42804
|
-
|
|
42842
|
+
if (Object.prototype.hasOwnProperty.call(localNSMap, prefix)) {
|
|
42843
|
+
domBuilder.endPrefixMapping(prefix);
|
|
42844
|
+
}
|
|
42805
42845
|
}
|
|
42806
42846
|
}
|
|
42807
42847
|
if (!endMatch) {
|
|
@@ -43089,7 +43129,9 @@ var require_sax = __commonJS({
|
|
|
43089
43129
|
domBuilder.endElement(ns3, localName, tagName);
|
|
43090
43130
|
if (localNSMap) {
|
|
43091
43131
|
for (prefix in localNSMap) {
|
|
43092
|
-
|
|
43132
|
+
if (Object.prototype.hasOwnProperty.call(localNSMap, prefix)) {
|
|
43133
|
+
domBuilder.endPrefixMapping(prefix);
|
|
43134
|
+
}
|
|
43093
43135
|
}
|
|
43094
43136
|
}
|
|
43095
43137
|
} else {
|
|
@@ -43127,7 +43169,9 @@ var require_sax = __commonJS({
|
|
|
43127
43169
|
}
|
|
43128
43170
|
function _copy(source, target) {
|
|
43129
43171
|
for (var n in source) {
|
|
43130
|
-
|
|
43172
|
+
if (Object.prototype.hasOwnProperty.call(source, n)) {
|
|
43173
|
+
target[n] = source[n];
|
|
43174
|
+
}
|
|
43131
43175
|
}
|
|
43132
43176
|
}
|
|
43133
43177
|
function parseDCC(source, start, domBuilder, errorHandler) {
|
|
@@ -56241,6 +56285,12 @@ var PodOS = class {
|
|
|
56241
56285
|
return this.session.login(oidcIssuer);
|
|
56242
56286
|
}
|
|
56243
56287
|
};
|
|
56288
|
+
/*!
|
|
56289
|
+
* Copyright (c) 2016-2021 Digital Bazaar, Inc. All rights reserved.
|
|
56290
|
+
*/
|
|
56291
|
+
/*!
|
|
56292
|
+
* Copyright (c) 2016-2022 Digital Bazaar, Inc. All rights reserved.
|
|
56293
|
+
*/
|
|
56244
56294
|
/*!
|
|
56245
56295
|
* The buffer module from node.js, for the browser.
|
|
56246
56296
|
*
|
|
@@ -56309,6 +56359,7 @@ const PosApp$1 = class extends HTMLElement$1 {
|
|
|
56309
56359
|
constructor() {
|
|
56310
56360
|
super();
|
|
56311
56361
|
this.__registerHost();
|
|
56362
|
+
this.os = undefined;
|
|
56312
56363
|
}
|
|
56313
56364
|
componentWillLoad() {
|
|
56314
56365
|
this.os = createPodOS();
|
|
@@ -56356,6 +56407,7 @@ const PosDescription$1 = class extends HTMLElement$1 {
|
|
|
56356
56407
|
this.setResource = async (resource) => {
|
|
56357
56408
|
this.resource = resource;
|
|
56358
56409
|
};
|
|
56410
|
+
this.resource = undefined;
|
|
56359
56411
|
}
|
|
56360
56412
|
componentWillLoad() {
|
|
56361
56413
|
this.getResource.emit(this.setResource);
|
|
@@ -56386,7 +56438,7 @@ function iconForStatus(status) {
|
|
|
56386
56438
|
}
|
|
56387
56439
|
}
|
|
56388
56440
|
|
|
56389
|
-
const posImageCss = ":host{
|
|
56441
|
+
const posImageCss = ":host{}img,ion-skeleton-text,div.error{border-radius:var(--border-radius);width:var(--width);height:var(--height)}.error{display:flex;opacity:0.8;background:repeating-linear-gradient( -45deg, rgba(150, 0, 0, 0.1), rgba(150, 0, 0, 0.1) 10px, #fff 5px, #fff 25px );flex-direction:column;border:1px solid red;color:black;align-items:center;justify-content:center;word-break:break-all;padding:1rem;box-sizing:border-box}.error ion-icon{color:#282828;--ionicon-stroke-width:calc(var(--width) / 5);font-size:calc(var(--width) / 2)}a{text-decoration:none;width:var(--width);height:var(--height)}.code{font-weight:bold;font-size:calc(var(--width) / 8)}.text{font-size:calc(var(--width) / 20)}";
|
|
56390
56442
|
|
|
56391
56443
|
const PosImage$1 = class extends HTMLElement$1 {
|
|
56392
56444
|
constructor() {
|
|
@@ -56394,10 +56446,15 @@ const PosImage$1 = class extends HTMLElement$1 {
|
|
|
56394
56446
|
this.__registerHost();
|
|
56395
56447
|
this.__attachShadow();
|
|
56396
56448
|
this.initializeOsEmitter = createEvent(this, "pod-os:init", 7);
|
|
56397
|
-
this.loading = true;
|
|
56398
56449
|
this.setOs = async (os) => {
|
|
56399
56450
|
this.os = os;
|
|
56400
56451
|
};
|
|
56452
|
+
this.src = undefined;
|
|
56453
|
+
this.os = undefined;
|
|
56454
|
+
this.dataUri = undefined;
|
|
56455
|
+
this.brokenFile = undefined;
|
|
56456
|
+
this.error = undefined;
|
|
56457
|
+
this.loading = true;
|
|
56401
56458
|
}
|
|
56402
56459
|
componentWillLoad() {
|
|
56403
56460
|
store.onChange('isLoggedIn', () => this.fetchBlob());
|
|
@@ -56450,6 +56507,7 @@ const PosLabel$1 = class extends HTMLElement$1 {
|
|
|
56450
56507
|
this.setResource = async (resource) => {
|
|
56451
56508
|
this.resource = resource;
|
|
56452
56509
|
};
|
|
56510
|
+
this.resource = undefined;
|
|
56453
56511
|
}
|
|
56454
56512
|
componentWillLoad() {
|
|
56455
56513
|
this.getResource.emit(this.setResource);
|
|
@@ -56465,10 +56523,10 @@ const PosLiterals$1 = class extends HTMLElement$1 {
|
|
|
56465
56523
|
this.__registerHost();
|
|
56466
56524
|
this.__attachShadow();
|
|
56467
56525
|
this.getResource = createEvent(this, "pod-os:resource", 7);
|
|
56468
|
-
this.data = [];
|
|
56469
56526
|
this.setResource = async (resource) => {
|
|
56470
56527
|
this.data = resource.literals();
|
|
56471
56528
|
};
|
|
56529
|
+
this.data = [];
|
|
56472
56530
|
}
|
|
56473
56531
|
componentWillLoad() {
|
|
56474
56532
|
this.getResource.emit(this.setResource);
|
|
@@ -56479,14 +56537,18 @@ const PosLiterals$1 = class extends HTMLElement$1 {
|
|
|
56479
56537
|
}
|
|
56480
56538
|
};
|
|
56481
56539
|
|
|
56540
|
+
const posLoginCss = ":host{display:flex;gap:10px}.user-data{align-items:center;display:inline-flex;gap:10px}.user-data pos-picture{--width:40px;--height:40px;--border-radius:50%}";
|
|
56541
|
+
|
|
56482
56542
|
const PosLogin$1 = class extends HTMLElement$1 {
|
|
56483
56543
|
constructor() {
|
|
56484
56544
|
super();
|
|
56485
56545
|
this.__registerHost();
|
|
56546
|
+
this.__attachShadow();
|
|
56486
56547
|
this.initializeOsEmitter = createEvent(this, "pod-os:init", 7);
|
|
56487
56548
|
this.setOs = async (os) => {
|
|
56488
56549
|
this.os = os;
|
|
56489
56550
|
};
|
|
56551
|
+
this.os = undefined;
|
|
56490
56552
|
}
|
|
56491
56553
|
componentWillLoad() {
|
|
56492
56554
|
this.initializeOsEmitter.emit(this.setOs);
|
|
@@ -56499,10 +56561,13 @@ const PosLogin$1 = class extends HTMLElement$1 {
|
|
|
56499
56561
|
this.os.logout();
|
|
56500
56562
|
}
|
|
56501
56563
|
render() {
|
|
56502
|
-
return (h(Host, null, store.state.isLoggedIn ? (h("pos-resource", { uri: store.state.webId }, h("pos-label", null))) : (''), !store.state.isLoggedIn && h("ion-button", { onClick: () => this.login() }, "Login"), store.state.isLoggedIn && h("ion-button", { onClick: () => this.logout() }, "Logout")));
|
|
56564
|
+
return (h(Host, null, store.state.isLoggedIn ? (h("pos-resource", { uri: store.state.webId }, h("span", { class: "user-data" }, h("pos-picture", null), h("pos-label", null)))) : (''), !store.state.isLoggedIn && h("ion-button", { onClick: () => this.login() }, "Login"), store.state.isLoggedIn && h("ion-button", { onClick: () => this.logout() }, "Logout")));
|
|
56503
56565
|
}
|
|
56566
|
+
static get style() { return posLoginCss; }
|
|
56504
56567
|
};
|
|
56505
56568
|
|
|
56569
|
+
const posPictureCss = ":host{--width:300px;--height:300px;--border-radius:var(--border-radius, 0)}";
|
|
56570
|
+
|
|
56506
56571
|
const PosPicture$1 = class extends HTMLElement$1 {
|
|
56507
56572
|
constructor() {
|
|
56508
56573
|
super();
|
|
@@ -56512,6 +56577,7 @@ const PosPicture$1 = class extends HTMLElement$1 {
|
|
|
56512
56577
|
this.setResource = async (resource) => {
|
|
56513
56578
|
this.resource = resource;
|
|
56514
56579
|
};
|
|
56580
|
+
this.resource = undefined;
|
|
56515
56581
|
}
|
|
56516
56582
|
componentWillLoad() {
|
|
56517
56583
|
this.getResource.emit(this.setResource);
|
|
@@ -56522,6 +56588,7 @@ const PosPicture$1 = class extends HTMLElement$1 {
|
|
|
56522
56588
|
return null;
|
|
56523
56589
|
return h("pos-image", { src: pic.url });
|
|
56524
56590
|
}
|
|
56591
|
+
static get style() { return posPictureCss; }
|
|
56525
56592
|
};
|
|
56526
56593
|
|
|
56527
56594
|
const PosRelations$1 = class extends HTMLElement$1 {
|
|
@@ -56530,10 +56597,10 @@ const PosRelations$1 = class extends HTMLElement$1 {
|
|
|
56530
56597
|
this.__registerHost();
|
|
56531
56598
|
this.__attachShadow();
|
|
56532
56599
|
this.getResource = createEvent(this, "pod-os:resource", 7);
|
|
56533
|
-
this.data = [];
|
|
56534
56600
|
this.setResource = async (resource) => {
|
|
56535
56601
|
this.data = resource.relations();
|
|
56536
56602
|
};
|
|
56603
|
+
this.data = [];
|
|
56537
56604
|
}
|
|
56538
56605
|
componentWillLoad() {
|
|
56539
56606
|
this.getResource.emit(this.setResource);
|
|
@@ -56550,12 +56617,16 @@ const PosResource$1 = class extends HTMLElement$1 {
|
|
|
56550
56617
|
this.__registerHost();
|
|
56551
56618
|
this.__attachShadow();
|
|
56552
56619
|
this.initializeOsEmitter = createEvent(this, "pod-os:init", 7);
|
|
56553
|
-
this.consumers = [];
|
|
56554
|
-
this.lazy = false;
|
|
56555
|
-
this.loading = true;
|
|
56556
56620
|
this.setOs = async (os) => {
|
|
56557
56621
|
this.os = os;
|
|
56558
56622
|
};
|
|
56623
|
+
this.os = undefined;
|
|
56624
|
+
this.resource = undefined;
|
|
56625
|
+
this.consumers = [];
|
|
56626
|
+
this.uri = undefined;
|
|
56627
|
+
this.lazy = false;
|
|
56628
|
+
this.error = undefined;
|
|
56629
|
+
this.loading = true;
|
|
56559
56630
|
}
|
|
56560
56631
|
componentWillLoad() {
|
|
56561
56632
|
store.onChange('isLoggedIn', () => this.loadResource());
|
|
@@ -56614,10 +56685,10 @@ const PosReverseRelations$1 = class extends HTMLElement$1 {
|
|
|
56614
56685
|
this.__registerHost();
|
|
56615
56686
|
this.__attachShadow();
|
|
56616
56687
|
this.getResource = createEvent(this, "pod-os:resource", 7);
|
|
56617
|
-
this.data = [];
|
|
56618
56688
|
this.setResource = async (resource) => {
|
|
56619
56689
|
this.data = resource.reverseRelations();
|
|
56620
56690
|
};
|
|
56691
|
+
this.data = [];
|
|
56621
56692
|
}
|
|
56622
56693
|
componentWillLoad() {
|
|
56623
56694
|
this.getResource.emit(this.setResource);
|
|
@@ -56634,6 +56705,7 @@ const PosRichLink$1 = class extends HTMLElement$1 {
|
|
|
56634
56705
|
this.__registerHost();
|
|
56635
56706
|
this.__attachShadow();
|
|
56636
56707
|
this.linkEmitter = createEvent(this, "pod-os:link", 7);
|
|
56708
|
+
this.uri = undefined;
|
|
56637
56709
|
}
|
|
56638
56710
|
render() {
|
|
56639
56711
|
return (h("pos-resource", { lazy: true, uri: this.uri }, h("ion-item", { href: this.uri, onClick: e => {
|
|
@@ -57021,6 +57093,7 @@ const PosRouter$1 = class extends HTMLElement$1 {
|
|
|
57021
57093
|
constructor() {
|
|
57022
57094
|
super();
|
|
57023
57095
|
this.__registerHost();
|
|
57096
|
+
this.uri = undefined;
|
|
57024
57097
|
}
|
|
57025
57098
|
linkClicked(e) {
|
|
57026
57099
|
this.navigate(e.detail);
|
|
@@ -57143,7 +57216,7 @@ const PosDescription = /*@__PURE__*/proxyCustomElement(PosDescription$1, [1,"pos
|
|
|
57143
57216
|
const PosImage = /*@__PURE__*/proxyCustomElement(PosImage$1, [1,"pos-image",{"src":[1],"os":[32],"dataUri":[32],"brokenFile":[32],"error":[32],"loading":[32]}]);
|
|
57144
57217
|
const PosLabel = /*@__PURE__*/proxyCustomElement(PosLabel$1, [1,"pos-label",{"resource":[32]}]);
|
|
57145
57218
|
const PosLiterals = /*@__PURE__*/proxyCustomElement(PosLiterals$1, [1,"pos-literals",{"data":[32]}]);
|
|
57146
|
-
const PosLogin = /*@__PURE__*/proxyCustomElement(PosLogin$1, [
|
|
57219
|
+
const PosLogin = /*@__PURE__*/proxyCustomElement(PosLogin$1, [1,"pos-login",{"os":[32]}]);
|
|
57147
57220
|
const PosPicture = /*@__PURE__*/proxyCustomElement(PosPicture$1, [1,"pos-picture",{"resource":[32]}]);
|
|
57148
57221
|
const PosRelations = /*@__PURE__*/proxyCustomElement(PosRelations$1, [1,"pos-relations",{"data":[32]}]);
|
|
57149
57222
|
const PosResource = /*@__PURE__*/proxyCustomElement(PosResource$1, [1,"pos-resource",{"uri":[1],"lazy":[4],"os":[32],"resource":[32],"consumers":[32],"error":[32],"loading":[32]},[[0,"pod-os:resource","provideResource"]]]);
|