solid-panes 4.4.2-7 → 4.5.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/README.md +40 -10
- package/dist/0314353e28ce6e5539af.svg +9 -0
- package/dist/04567ff683933c35c465.png +0 -0
- package/dist/10163fd9b5a0e00d63a0.png +0 -0
- package/dist/1234dcb2eec2e45f252b.png +0 -0
- package/dist/20899934157df4db56cb.png +0 -0
- package/dist/33760bf79f097f449da5.png +0 -0
- package/dist/4cceba29ab33b1ddd9bb.svg +6 -0
- package/dist/578d2b6ed32e7624164e.png +0 -0
- package/dist/5f62a5b2b7e99b9640c7.png +0 -0
- package/dist/6525766ecd288ec60129.png +0 -0
- package/dist/7800be6f6c4b5b0f4f20.png +0 -0
- package/dist/7b7538c6f6b317968009.svg +9 -0
- package/dist/92d03142abe6efc0b42d.svg +6 -0
- package/dist/976473cf5fe24d657d4b.png +0 -0
- package/dist/RDFXMLPane.css +70 -0
- package/dist/RDFXMLPane.d.ts +3 -2
- package/dist/RDFXMLPane.js +100 -0
- package/dist/argument/argumentPane.js +60 -0
- package/dist/attach/attachPane.js +393 -0
- package/dist/audio/audioPane.js +181 -0
- package/dist/bda84f59e7216675a208.png +0 -0
- package/dist/cd68e8f3990ba8b2139e.png +0 -0
- package/dist/classInstancePane.js +91 -0
- package/dist/dashboard/basicPreferences.d.ts +1 -1
- package/dist/dashboard/basicPreferences.js +147 -0
- package/dist/dashboard/dashboardPane.d.ts +1 -1
- package/dist/dashboard/dashboardPane.js +73 -0
- package/dist/dashboard/homepage.d.ts +1 -1
- package/dist/dashboard/homepage.js +42 -0
- package/dist/dataContentPane.css +271 -0
- package/dist/dataContentPane.d.ts +3 -2
- package/dist/dataContentPane.js +226 -0
- package/dist/defaultPane.css +97 -0
- package/dist/defaultPane.d.ts +3 -2
- package/dist/defaultPane.js +81 -0
- package/dist/dokieli/dokieliPane.js +74 -0
- package/dist/dokieli/{new.cjs.js → new.js} +10 -4
- package/dist/e7074a7e2cb69e51cfd3.png +0 -0
- package/dist/f3772696fb7ee53c23d8.png +0 -0
- package/dist/form/formPane.css +120 -0
- package/dist/form/pane.d.ts +2 -1
- package/dist/form/pane.js +250 -0
- package/dist/home/homePane.d.ts +1 -1
- package/dist/home/homePane.js +74 -0
- package/dist/humanReadablePane.css +129 -0
- package/dist/humanReadablePane.d.ts +3 -2
- package/dist/humanReadablePane.js +243 -0
- package/dist/icons/clock.svg +7 -0
- package/dist/icons/comment.svg +6 -0
- package/dist/icons/dashboard.svg +9 -0
- package/dist/icons/downArrow.svg +6 -0
- package/dist/icons/folder.svg +6 -0
- package/dist/icons/friends.svg +9 -0
- package/dist/icons/help.svg +8 -0
- package/dist/icons/iconHelper.js +23 -0
- package/dist/icons/menu.svg +8 -0
- package/dist/icons/person.svg +6 -0
- package/dist/icons/personInCircle.svg +8 -0
- package/dist/icons/sharing.svg +10 -0
- package/dist/icons/signOut.svg +8 -0
- package/dist/icons/signUp.svg +9 -0
- package/dist/icons/star.svg +3 -0
- package/dist/imagePane.css +4 -0
- package/dist/imagePane.d.ts +3 -2
- package/dist/imagePane.js +67 -0
- package/dist/index.d.ts +4 -4
- package/dist/index.js +123 -0
- package/dist/internal/internalPane.css +14 -0
- package/dist/internal/internalPane.d.ts +2 -1
- package/dist/internal/internalPane.js +183 -0
- package/dist/mainPage/footer.d.ts +15 -0
- package/dist/mainPage/footer.d.ts.map +1 -0
- package/dist/mainPage/footer.js +29 -0
- package/dist/mainPage/header.d.ts +15 -1
- package/dist/mainPage/header.d.ts.map +1 -1
- package/dist/mainPage/header.js +203 -0
- package/dist/mainPage/index.d.ts +15 -3
- package/dist/mainPage/index.d.ts.map +1 -1
- package/dist/mainPage/index.js +78 -0
- package/dist/mainPage/menu.css +243 -0
- package/dist/mainPage/menu.d.ts +7 -0
- package/dist/mainPage/menu.d.ts.map +1 -0
- package/dist/mainPage/menu.js +436 -0
- package/dist/microblogPane/mbStyle.css +267 -0
- package/dist/microblogPane/microblogPane.js +1031 -0
- package/dist/n3Pane.css +49 -0
- package/dist/n3Pane.d.ts +3 -2
- package/dist/n3Pane.js +88 -0
- package/dist/outline/context.d.ts +3 -3
- package/dist/outline/context.js +21 -0
- package/dist/outline/manager.css +78 -0
- package/dist/outline/manager.js +2115 -0
- package/dist/outline/outlineIcons.js +126 -0
- package/dist/outline/propertyViews.js +43 -0
- package/dist/outline/queryByExample.js +285 -0
- package/dist/outline/userInput.js +1821 -0
- package/dist/outline/viewAsImage.js +14 -0
- package/dist/outline/viewAsMbox.js +21 -0
- package/dist/pad/padPane.css +40 -0
- package/dist/pad/padPane.d.ts +2 -1
- package/dist/pad/padPane.js +421 -0
- package/dist/playlist/playlistPane.js +119 -0
- package/dist/profileUtils/ownerProfile.d.ts +5 -0
- package/dist/profileUtils/ownerProfile.d.ts.map +1 -0
- package/dist/profileUtils/ownerProfile.js +84 -0
- package/dist/registerPanes.js +145 -0
- package/dist/schedule/schedulePane.css +294 -0
- package/dist/schedule/schedulePane.d.ts +4 -2
- package/dist/schedule/schedulePane.js +1022 -0
- package/dist/sharing/sharingPane.js +48 -0
- package/dist/slideshow/slideshowPane.js +79 -0
- package/dist/social/editProfileDetails.d.ts +2 -1
- package/dist/social/editProfileDetails.js +362 -0
- package/dist/social/{icons.esm.js → icons.js} +18 -12
- package/dist/social/socialPane.css +1464 -0
- package/dist/social/socialPane.d.ts +3 -2
- package/dist/social/socialPane.js +651 -0
- package/dist/social/socialSections.d.ts +2 -2
- package/dist/social/socialSections.js +393 -0
- package/dist/social/spinner.js +13 -0
- package/dist/social/triage.d.ts +2 -2
- package/dist/social/triage.js +79 -0
- package/dist/solid-panes.js +84629 -0
- package/dist/solid-panes.js.map +1 -0
- package/dist/solid-panes.min.js +3933 -0
- package/dist/solid-panes.min.js.map +1 -0
- package/dist/styles/tabbedtab.css +1066 -0
- package/dist/styles/utilities.css +5 -0
- package/dist/tabbed/tabbedPane.d.ts +1 -1
- package/dist/tabbed/tabbedPane.js +59 -0
- package/dist/tableViewPane.js +56 -0
- package/dist/transaction/pane.js +477 -0
- package/dist/transaction/period.js +323 -0
- package/dist/trip/tripPane.js +174 -0
- package/dist/trustedApplications/trustedApplications.dom.d.ts +1 -1
- package/dist/trustedApplications/trustedApplications.dom.js +145 -0
- package/dist/trustedApplications/trustedApplications.utils.d.ts +1 -1
- package/dist/trustedApplications/trustedApplications.utils.js +23 -0
- package/dist/trustedApplications/trustedApplications.view.d.ts +1 -1
- package/dist/trustedApplications/trustedApplications.view.js +55 -0
- package/dist/ui/pane.js +146 -0
- package/dist/versionInfo.js +41 -0
- package/dist/video/videoPane.js +42 -0
- package/package.json +66 -51
- package/dist/RDFXMLPane2.cjs.js +0 -3
- package/dist/RDFXMLPane2.cjs.js.map +0 -1
- package/dist/RDFXMLPane2.esm.js +0 -55
- package/dist/RDFXMLPane2.esm.js.map +0 -1
- package/dist/_virtual/_rolldown/runtime.cjs.js +0 -1
- package/dist/_virtual/~icons/lucide/arrow-left.cjs.js +0 -2
- package/dist/_virtual/~icons/lucide/arrow-left.cjs.js.map +0 -1
- package/dist/_virtual/~icons/lucide/arrow-left.esm.js +0 -11
- package/dist/_virtual/~icons/lucide/arrow-left.esm.js.map +0 -1
- package/dist/_virtual/~icons/lucide/ellipsis-vertical.cjs.js +0 -2
- package/dist/_virtual/~icons/lucide/ellipsis-vertical.cjs.js.map +0 -1
- package/dist/_virtual/~icons/lucide/ellipsis-vertical.esm.js +0 -11
- package/dist/_virtual/~icons/lucide/ellipsis-vertical.esm.js.map +0 -1
- package/dist/_virtual/~icons/lucide/folder-open.cjs.js +0 -2
- package/dist/_virtual/~icons/lucide/folder-open.cjs.js.map +0 -1
- package/dist/_virtual/~icons/lucide/folder-open.esm.js +0 -11
- package/dist/_virtual/~icons/lucide/folder-open.esm.js.map +0 -1
- package/dist/_virtual/~icons/lucide/globe.cjs.js +0 -2
- package/dist/_virtual/~icons/lucide/globe.cjs.js.map +0 -1
- package/dist/_virtual/~icons/lucide/globe.esm.js +0 -11
- package/dist/_virtual/~icons/lucide/globe.esm.js.map +0 -1
- package/dist/_virtual/~icons/lucide/help-circle.cjs.js +0 -2
- package/dist/_virtual/~icons/lucide/help-circle.cjs.js.map +0 -1
- package/dist/_virtual/~icons/lucide/help-circle.esm.js +0 -11
- package/dist/_virtual/~icons/lucide/help-circle.esm.js.map +0 -1
- package/dist/_virtual/~icons/lucide/layout-dashboard.cjs.js +0 -2
- package/dist/_virtual/~icons/lucide/layout-dashboard.cjs.js.map +0 -1
- package/dist/_virtual/~icons/lucide/layout-dashboard.esm.js +0 -11
- package/dist/_virtual/~icons/lucide/layout-dashboard.esm.js.map +0 -1
- package/dist/_virtual/~icons/lucide/lock-keyhole.cjs.js +0 -2
- package/dist/_virtual/~icons/lucide/lock-keyhole.cjs.js.map +0 -1
- package/dist/_virtual/~icons/lucide/lock-keyhole.esm.js +0 -11
- package/dist/_virtual/~icons/lucide/lock-keyhole.esm.js.map +0 -1
- package/dist/_virtual/~icons/lucide/pencil.cjs.js +0 -2
- package/dist/_virtual/~icons/lucide/pencil.cjs.js.map +0 -1
- package/dist/_virtual/~icons/lucide/pencil.esm.js +0 -11
- package/dist/_virtual/~icons/lucide/pencil.esm.js.map +0 -1
- package/dist/_virtual/~icons/lucide/settings-2.cjs.js +0 -2
- package/dist/_virtual/~icons/lucide/settings-2.cjs.js.map +0 -1
- package/dist/_virtual/~icons/lucide/settings-2.esm.js +0 -11
- package/dist/_virtual/~icons/lucide/settings-2.esm.js.map +0 -1
- package/dist/_virtual/~icons/lucide/share-2.cjs.js +0 -2
- package/dist/_virtual/~icons/lucide/share-2.cjs.js.map +0 -1
- package/dist/_virtual/~icons/lucide/share-2.esm.js +0 -11
- package/dist/_virtual/~icons/lucide/share-2.esm.js.map +0 -1
- package/dist/_virtual/~icons/lucide/trash-2.cjs.js +0 -2
- package/dist/_virtual/~icons/lucide/trash-2.cjs.js.map +0 -1
- package/dist/_virtual/~icons/lucide/trash-2.esm.js +0 -11
- package/dist/_virtual/~icons/lucide/trash-2.esm.js.map +0 -1
- package/dist/_virtual/~icons/lucide/user.cjs.js +0 -2
- package/dist/_virtual/~icons/lucide/user.cjs.js.map +0 -1
- package/dist/_virtual/~icons/lucide/user.esm.js +0 -11
- package/dist/_virtual/~icons/lucide/user.esm.js.map +0 -1
- package/dist/_virtual/~icons/lucide/users.cjs.js +0 -2
- package/dist/_virtual/~icons/lucide/users.cjs.js.map +0 -1
- package/dist/_virtual/~icons/lucide/users.esm.js +0 -11
- package/dist/_virtual/~icons/lucide/users.esm.js.map +0 -1
- package/dist/audio/audioPane.cjs.js +0 -2
- package/dist/audio/audioPane.cjs.js.map +0 -1
- package/dist/audio/audioPane.esm.js +0 -99
- package/dist/audio/audioPane.esm.js.map +0 -1
- package/dist/classInstancePane.cjs.js +0 -2
- package/dist/classInstancePane.cjs.js.map +0 -1
- package/dist/classInstancePane.esm.js +0 -50
- package/dist/classInstancePane.esm.js.map +0 -1
- package/dist/components/file-explorer-header/FileExplorerHeader.cjs.js +0 -14
- package/dist/components/file-explorer-header/FileExplorerHeader.cjs.js.map +0 -1
- package/dist/components/file-explorer-header/FileExplorerHeader.d.ts +0 -19
- package/dist/components/file-explorer-header/FileExplorerHeader.d.ts.map +0 -1
- package/dist/components/file-explorer-header/FileExplorerHeader.esm.js +0 -292
- package/dist/components/file-explorer-header/FileExplorerHeader.esm.js.map +0 -1
- package/dist/components/file-explorer-header/FileExplorerHeader.styles.cjs.js +0 -2
- package/dist/components/file-explorer-header/FileExplorerHeader.styles.cjs.js.map +0 -1
- package/dist/components/file-explorer-header/FileExplorerHeader.styles.esm.js +0 -7
- package/dist/components/file-explorer-header/FileExplorerHeader.styles.esm.js.map +0 -1
- package/dist/components/file-explorer-header/FileExplorerHeaderControls.cjs.js +0 -22
- package/dist/components/file-explorer-header/FileExplorerHeaderControls.cjs.js.map +0 -1
- package/dist/components/file-explorer-header/FileExplorerHeaderControls.d.ts +0 -15
- package/dist/components/file-explorer-header/FileExplorerHeaderControls.d.ts.map +0 -1
- package/dist/components/file-explorer-header/FileExplorerHeaderControls.esm.js +0 -266
- package/dist/components/file-explorer-header/FileExplorerHeaderControls.esm.js.map +0 -1
- package/dist/components/file-explorer-header/FileExplorerHeaderControls.styles.cjs.js +0 -2
- package/dist/components/file-explorer-header/FileExplorerHeaderControls.styles.cjs.js.map +0 -1
- package/dist/components/file-explorer-header/FileExplorerHeaderControls.styles.esm.js +0 -7
- package/dist/components/file-explorer-header/FileExplorerHeaderControls.styles.esm.js.map +0 -1
- package/dist/components/file-explorer-header/FileExplorerHeaderSummary.cjs.js +0 -19
- package/dist/components/file-explorer-header/FileExplorerHeaderSummary.cjs.js.map +0 -1
- package/dist/components/file-explorer-header/FileExplorerHeaderSummary.d.ts +0 -19
- package/dist/components/file-explorer-header/FileExplorerHeaderSummary.d.ts.map +0 -1
- package/dist/components/file-explorer-header/FileExplorerHeaderSummary.esm.js +0 -321
- package/dist/components/file-explorer-header/FileExplorerHeaderSummary.esm.js.map +0 -1
- package/dist/components/file-explorer-header/FileExplorerHeaderSummary.styles.cjs.js +0 -2
- package/dist/components/file-explorer-header/FileExplorerHeaderSummary.styles.cjs.js.map +0 -1
- package/dist/components/file-explorer-header/FileExplorerHeaderSummary.styles.esm.js +0 -7
- package/dist/components/file-explorer-header/FileExplorerHeaderSummary.styles.esm.js.map +0 -1
- package/dist/components/file-explorer-header/FileExplorerProvider.cjs.js +0 -13
- package/dist/components/file-explorer-header/FileExplorerProvider.cjs.js.map +0 -1
- package/dist/components/file-explorer-header/FileExplorerProvider.d.ts +0 -36
- package/dist/components/file-explorer-header/FileExplorerProvider.d.ts.map +0 -1
- package/dist/components/file-explorer-header/FileExplorerProvider.esm.js +0 -468
- package/dist/components/file-explorer-header/FileExplorerProvider.esm.js.map +0 -1
- package/dist/components/file-explorer-header/FileExplorerProvider.styles.cjs.js +0 -2
- package/dist/components/file-explorer-header/FileExplorerProvider.styles.cjs.js.map +0 -1
- package/dist/components/file-explorer-header/FileExplorerProvider.styles.esm.js +0 -7
- package/dist/components/file-explorer-header/FileExplorerProvider.styles.esm.js.map +0 -1
- package/dist/components/file-explorer-header/helper.cjs.js +0 -2
- package/dist/components/file-explorer-header/helper.cjs.js.map +0 -1
- package/dist/components/file-explorer-header/helper.d.ts +0 -15
- package/dist/components/file-explorer-header/helper.d.ts.map +0 -1
- package/dist/components/file-explorer-header/helper.esm.js +0 -64
- package/dist/components/file-explorer-header/helper.esm.js.map +0 -1
- package/dist/components/file-explorer-header/types.d.ts +0 -2
- package/dist/components/file-explorer-header/types.d.ts.map +0 -1
- package/dist/components/header/Header.cjs.js +0 -19
- package/dist/components/header/Header.cjs.js.map +0 -1
- package/dist/components/header/Header.d.ts +0 -8
- package/dist/components/header/Header.d.ts.map +0 -1
- package/dist/components/header/Header.esm.js +0 -228
- package/dist/components/header/Header.esm.js.map +0 -1
- package/dist/components/header/Header.styles.cjs.js +0 -2
- package/dist/components/header/Header.styles.cjs.js.map +0 -1
- package/dist/components/header/Header.styles.esm.js +0 -7
- package/dist/components/header/Header.styles.esm.js.map +0 -1
- package/dist/components/header/index.cjs.js +0 -1
- package/dist/components/header/index.d.ts +0 -4
- package/dist/components/header/index.d.ts.map +0 -1
- package/dist/components/header/index.esm.js +0 -1
- package/dist/components/navbar/Navbar.cjs.js +0 -15
- package/dist/components/navbar/Navbar.cjs.js.map +0 -1
- package/dist/components/navbar/Navbar.d.ts +0 -14
- package/dist/components/navbar/Navbar.d.ts.map +0 -1
- package/dist/components/navbar/Navbar.esm.js +0 -232
- package/dist/components/navbar/Navbar.esm.js.map +0 -1
- package/dist/components/navbar/Navbar.styles.cjs.js +0 -2
- package/dist/components/navbar/Navbar.styles.cjs.js.map +0 -1
- package/dist/components/navbar/Navbar.styles.esm.js +0 -7
- package/dist/components/navbar/Navbar.styles.esm.js.map +0 -1
- package/dist/components/navbar/index.cjs.js +0 -1
- package/dist/components/navbar/index.d.ts +0 -4
- package/dist/components/navbar/index.d.ts.map +0 -1
- package/dist/components/navbar/index.esm.js +0 -1
- package/dist/components/resource-actions-menu/DeleteResourceDialog.cjs.js +0 -16
- package/dist/components/resource-actions-menu/DeleteResourceDialog.cjs.js.map +0 -1
- package/dist/components/resource-actions-menu/DeleteResourceDialog.d.ts +0 -8
- package/dist/components/resource-actions-menu/DeleteResourceDialog.d.ts.map +0 -1
- package/dist/components/resource-actions-menu/DeleteResourceDialog.esm.js +0 -215
- package/dist/components/resource-actions-menu/DeleteResourceDialog.esm.js.map +0 -1
- package/dist/components/resource-actions-menu/ResourceActionsMenu.cjs.js +0 -18
- package/dist/components/resource-actions-menu/ResourceActionsMenu.cjs.js.map +0 -1
- package/dist/components/resource-actions-menu/ResourceActionsMenu.d.ts +0 -16
- package/dist/components/resource-actions-menu/ResourceActionsMenu.d.ts.map +0 -1
- package/dist/components/resource-actions-menu/ResourceActionsMenu.esm.js +0 -260
- package/dist/components/resource-actions-menu/ResourceActionsMenu.esm.js.map +0 -1
- package/dist/dashboard/basicPreferences.cjs.js +0 -2
- package/dist/dashboard/basicPreferences.cjs.js.map +0 -1
- package/dist/dashboard/basicPreferences.esm.js +0 -70
- package/dist/dashboard/basicPreferences.esm.js.map +0 -1
- package/dist/dashboard/dashboardPane.cjs.js +0 -2
- package/dist/dashboard/dashboardPane.cjs.js.map +0 -1
- package/dist/dashboard/dashboardPane.esm.js +0 -7
- package/dist/dashboard/dashboardPane.esm.js.map +0 -1
- package/dist/dashboard/homepage.cjs.js +0 -2
- package/dist/dashboard/homepage.cjs.js.map +0 -1
- package/dist/dashboard/homepage.esm.js +0 -26
- package/dist/dashboard/homepage.esm.js.map +0 -1
- package/dist/dashboard/ontologyData.cjs.js +0 -37
- package/dist/dashboard/ontologyData.cjs.js.map +0 -1
- package/dist/dashboard/ontologyData.esm.js +0 -6
- package/dist/dashboard/ontologyData.esm.js.map +0 -1
- package/dist/dashboard/preferencesFormText.cjs.js +0 -20
- package/dist/dashboard/preferencesFormText.cjs.js.map +0 -1
- package/dist/dashboard/preferencesFormText.esm.js +0 -6
- package/dist/dashboard/preferencesFormText.esm.js.map +0 -1
- package/dist/dataContentPane2.cjs.js +0 -2
- package/dist/dataContentPane2.cjs.js.map +0 -1
- package/dist/dataContentPane2.esm.js +0 -109
- package/dist/dataContentPane2.esm.js.map +0 -1
- package/dist/defaultPane2.cjs.js +0 -2
- package/dist/defaultPane2.cjs.js.map +0 -1
- package/dist/defaultPane2.esm.js +0 -41
- package/dist/defaultPane2.esm.js.map +0 -1
- package/dist/dev.d.ts +0 -10
- package/dist/dev.d.ts.map +0 -1
- package/dist/dokieli/dokieliPane.cjs.js +0 -2
- package/dist/dokieli/dokieliPane.cjs.js.map +0 -1
- package/dist/dokieli/dokieliPane.esm.js +0 -39
- package/dist/dokieli/dokieliPane.esm.js.map +0 -1
- package/dist/dokieli/new.cjs.js.map +0 -1
- package/dist/dokieli/new.esm.js +0 -6
- package/dist/dokieli/new.esm.js.map +0 -1
- package/dist/form/pane.cjs.js +0 -4
- package/dist/form/pane.cjs.js.map +0 -1
- package/dist/form/pane.esm.js +0 -122
- package/dist/form/pane.esm.js.map +0 -1
- package/dist/home/homePane.cjs.js +0 -2
- package/dist/home/homePane.cjs.js.map +0 -1
- package/dist/home/homePane.esm.js +0 -35
- package/dist/home/homePane.esm.js.map +0 -1
- package/dist/humanReadablePane2.cjs.js +0 -2
- package/dist/humanReadablePane2.cjs.js.map +0 -1
- package/dist/humanReadablePane2.esm.js +0 -123
- package/dist/humanReadablePane2.esm.js.map +0 -1
- package/dist/icons/folder.cjs.js +0 -2
- package/dist/icons/folder.cjs.js.map +0 -1
- package/dist/icons/folder.esm.js +0 -6
- package/dist/icons/folder.esm.js.map +0 -1
- package/dist/icons/friends.cjs.js +0 -2
- package/dist/icons/friends.cjs.js.map +0 -1
- package/dist/icons/friends.esm.js +0 -6
- package/dist/icons/friends.esm.js.map +0 -1
- package/dist/icons/person.cjs.js +0 -2
- package/dist/icons/person.cjs.js.map +0 -1
- package/dist/icons/person.esm.js +0 -6
- package/dist/icons/person.esm.js.map +0 -1
- package/dist/imagePane2.cjs.js +0 -2
- package/dist/imagePane2.cjs.js.map +0 -1
- package/dist/imagePane2.esm.js +0 -32
- package/dist/imagePane2.esm.js.map +0 -1
- package/dist/index.cjs.js +0 -2
- package/dist/index.cjs.js.map +0 -1
- package/dist/index.esm.js +0 -31
- package/dist/index.esm.js.map +0 -1
- package/dist/internal/internalPane2.cjs.js +0 -2
- package/dist/internal/internalPane2.cjs.js.map +0 -1
- package/dist/internal/internalPane2.esm.js +0 -104
- package/dist/internal/internalPane2.esm.js.map +0 -1
- package/dist/mainPage/header.cjs.js +0 -2
- package/dist/mainPage/header.cjs.js.map +0 -1
- package/dist/mainPage/header.esm.js +0 -72
- package/dist/mainPage/header.esm.js.map +0 -1
- package/dist/mainPage/index.cjs.js +0 -2
- package/dist/mainPage/index.cjs.js.map +0 -1
- package/dist/mainPage/index.esm.js +0 -36
- package/dist/mainPage/index.esm.js.map +0 -1
- package/dist/mainPage/navbar.cjs.js +0 -2
- package/dist/mainPage/navbar.cjs.js.map +0 -1
- package/dist/mainPage/navbar.d.ts +0 -3
- package/dist/mainPage/navbar.d.ts.map +0 -1
- package/dist/mainPage/navbar.esm.js +0 -66
- package/dist/mainPage/navbar.esm.js.map +0 -1
- package/dist/n3Pane2.cjs.js +0 -3
- package/dist/n3Pane2.cjs.js.map +0 -1
- package/dist/n3Pane2.esm.js +0 -52
- package/dist/n3Pane2.esm.js.map +0 -1
- package/dist/outline/context.cjs.js +0 -2
- package/dist/outline/context.cjs.js.map +0 -1
- package/dist/outline/context.esm.js +0 -18
- package/dist/outline/context.esm.js.map +0 -1
- package/dist/outline/manager2.cjs.js +0 -2
- package/dist/outline/manager2.cjs.js.map +0 -1
- package/dist/outline/manager2.esm.js +0 -711
- package/dist/outline/manager2.esm.js.map +0 -1
- package/dist/outline/outlineIcons.cjs.js +0 -2
- package/dist/outline/outlineIcons.cjs.js.map +0 -1
- package/dist/outline/outlineIcons.esm.js +0 -10
- package/dist/outline/outlineIcons.esm.js.map +0 -1
- package/dist/outline/propertyViews.cjs.js +0 -2
- package/dist/outline/propertyViews.cjs.js.map +0 -1
- package/dist/outline/propertyViews.esm.js +0 -19
- package/dist/outline/propertyViews.esm.js.map +0 -1
- package/dist/outline/queryByExample.cjs.js +0 -2
- package/dist/outline/queryByExample.cjs.js.map +0 -1
- package/dist/outline/queryByExample.esm.js +0 -26
- package/dist/outline/queryByExample.esm.js.map +0 -1
- package/dist/outline/sourcePaneIcon.d.ts +0 -2
- package/dist/outline/sourcePaneIcon.d.ts.map +0 -1
- package/dist/outline/userInput.cjs.js +0 -61
- package/dist/outline/userInput.cjs.js.map +0 -1
- package/dist/outline/userInput.esm.js +0 -784
- package/dist/outline/userInput.esm.js.map +0 -1
- package/dist/outline/viewAsImage.cjs.js +0 -2
- package/dist/outline/viewAsImage.cjs.js.map +0 -1
- package/dist/outline/viewAsImage.esm.js +0 -10
- package/dist/outline/viewAsImage.esm.js.map +0 -1
- package/dist/outline/viewAsMbox.cjs.js +0 -2
- package/dist/outline/viewAsMbox.cjs.js.map +0 -1
- package/dist/outline/viewAsMbox.esm.js +0 -9
- package/dist/outline/viewAsMbox.esm.js.map +0 -1
- package/dist/pad/padPane2.cjs.js +0 -2
- package/dist/pad/padPane2.cjs.js.map +0 -1
- package/dist/pad/padPane2.esm.js +0 -173
- package/dist/pad/padPane2.esm.js.map +0 -1
- package/dist/playlist/playlistPane.cjs.js +0 -2
- package/dist/playlist/playlistPane.cjs.js.map +0 -1
- package/dist/playlist/playlistPane.esm.js +0 -49
- package/dist/playlist/playlistPane.esm.js.map +0 -1
- package/dist/registerPanes.cjs.js +0 -2
- package/dist/registerPanes.cjs.js.map +0 -1
- package/dist/registerPanes.esm.js +0 -46
- package/dist/registerPanes.esm.js.map +0 -1
- package/dist/schedule/formsForSchedule.cjs.js +0 -117
- package/dist/schedule/formsForSchedule.cjs.js.map +0 -1
- package/dist/schedule/formsForSchedule.esm.js +0 -6
- package/dist/schedule/formsForSchedule.esm.js.map +0 -1
- package/dist/schedule/schedulePane2.cjs.js +0 -8
- package/dist/schedule/schedulePane2.cjs.js.map +0 -1
- package/dist/schedule/schedulePane2.esm.js +0 -385
- package/dist/schedule/schedulePane2.esm.js.map +0 -1
- package/dist/sharing/sharingPane.cjs.js +0 -2
- package/dist/sharing/sharingPane.cjs.js.map +0 -1
- package/dist/sharing/sharingPane.esm.js +0 -22
- package/dist/sharing/sharingPane.esm.js.map +0 -1
- package/dist/slideshow/slideshowPane.cjs.js +0 -2
- package/dist/slideshow/slideshowPane.cjs.js.map +0 -1
- package/dist/slideshow/slideshowPane.esm.js +0 -46
- package/dist/slideshow/slideshowPane.esm.js.map +0 -1
- package/dist/social/editProfileDetails.cjs.js +0 -2
- package/dist/social/editProfileDetails.cjs.js.map +0 -1
- package/dist/social/editProfileDetails.esm.js +0 -12
- package/dist/social/editProfileDetails.esm.js.map +0 -1
- package/dist/social/icons.cjs.js +0 -82
- package/dist/social/icons.cjs.js.map +0 -1
- package/dist/social/icons.esm.js.map +0 -1
- package/dist/social/socialPane2.cjs.js +0 -6
- package/dist/social/socialPane2.cjs.js.map +0 -1
- package/dist/social/socialPane2.esm.js +0 -326
- package/dist/social/socialPane2.esm.js.map +0 -1
- package/dist/social/socialSections.cjs.js +0 -2
- package/dist/social/socialSections.cjs.js.map +0 -1
- package/dist/social/socialSections.esm.js +0 -222
- package/dist/social/socialSections.esm.js.map +0 -1
- package/dist/social/spinner.cjs.js +0 -1
- package/dist/social/spinner.esm.js +0 -1
- package/dist/social/triage.cjs.js +0 -2
- package/dist/social/triage.cjs.js.map +0 -1
- package/dist/social/triage.esm.js +0 -44
- package/dist/social/triage.esm.js.map +0 -1
- package/dist/tabbed/tabbedPane.cjs.js +0 -2
- package/dist/tabbed/tabbedPane.cjs.js.map +0 -1
- package/dist/tabbed/tabbedPane.esm.js +0 -38
- package/dist/tabbed/tabbedPane.esm.js.map +0 -1
- package/dist/tableViewPane.cjs.js +0 -2
- package/dist/tableViewPane.cjs.js.map +0 -1
- package/dist/tableViewPane.esm.js +0 -20
- package/dist/tableViewPane.esm.js.map +0 -1
- package/dist/transaction/pane.cjs.js +0 -8
- package/dist/transaction/pane.cjs.js.map +0 -1
- package/dist/transaction/pane.esm.js +0 -212
- package/dist/transaction/pane.esm.js.map +0 -1
- package/dist/transaction/period.cjs.js +0 -4
- package/dist/transaction/period.cjs.js.map +0 -1
- package/dist/transaction/period.esm.js +0 -126
- package/dist/transaction/period.esm.js.map +0 -1
- package/dist/trip/tripPane.cjs.js +0 -2
- package/dist/trip/tripPane.cjs.js.map +0 -1
- package/dist/trip/tripPane.esm.js +0 -85
- package/dist/trip/tripPane.esm.js.map +0 -1
- package/dist/trustedApplications/trustedApplications.dom.cjs.js +0 -2
- package/dist/trustedApplications/trustedApplications.dom.cjs.js.map +0 -1
- package/dist/trustedApplications/trustedApplications.dom.esm.js +0 -108
- package/dist/trustedApplications/trustedApplications.dom.esm.js.map +0 -1
- package/dist/trustedApplications/trustedApplications.utils.cjs.js +0 -2
- package/dist/trustedApplications/trustedApplications.utils.cjs.js.map +0 -1
- package/dist/trustedApplications/trustedApplications.utils.esm.js +0 -20
- package/dist/trustedApplications/trustedApplications.utils.esm.js.map +0 -1
- package/dist/trustedApplications/trustedApplications.view.cjs.js +0 -2
- package/dist/trustedApplications/trustedApplications.view.cjs.js.map +0 -1
- package/dist/trustedApplications/trustedApplications.view.esm.js +0 -41
- package/dist/trustedApplications/trustedApplications.view.esm.js.map +0 -1
- package/dist/ui/pane.cjs.js +0 -4
- package/dist/ui/pane.cjs.js.map +0 -1
- package/dist/ui/pane.esm.js +0 -56
- package/dist/ui/pane.esm.js.map +0 -1
- package/dist/utils/paneUtils.cjs.js +0 -2
- package/dist/utils/paneUtils.cjs.js.map +0 -1
- package/dist/utils/paneUtils.d.ts +0 -19
- package/dist/utils/paneUtils.d.ts.map +0 -1
- package/dist/utils/paneUtils.esm.js +0 -52
- package/dist/utils/paneUtils.esm.js.map +0 -1
- package/dist/utils/podUtils.cjs.js +0 -2
- package/dist/utils/podUtils.cjs.js.map +0 -1
- package/dist/utils/podUtils.d.ts +0 -4
- package/dist/utils/podUtils.d.ts.map +0 -1
- package/dist/utils/podUtils.esm.js +0 -46
- package/dist/utils/podUtils.esm.js.map +0 -1
- package/dist/utils/webIdUtils.cjs.js +0 -2
- package/dist/utils/webIdUtils.cjs.js.map +0 -1
- package/dist/utils/webIdUtils.d.ts +0 -6
- package/dist/utils/webIdUtils.d.ts.map +0 -1
- package/dist/utils/webIdUtils.esm.js +0 -48
- package/dist/utils/webIdUtils.esm.js.map +0 -1
- package/dist/versionInfo.cjs.js +0 -2
- package/dist/versionInfo.cjs.js.map +0 -1
- package/dist/versionInfo.esm.js +0 -40
- package/dist/versionInfo.esm.js.map +0 -1
- package/dist/video/videoPane.cjs.js +0 -2
- package/dist/video/videoPane.cjs.js.map +0 -1
- package/dist/video/videoPane.esm.js +0 -25
- package/dist/video/videoPane.esm.js.map +0 -1
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var UI = _interopRequireWildcard(require("solid-ui"));
|
|
8
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
9
|
+
var _default = dom => function viewAsImage(obj) {
|
|
10
|
+
const img = UI.utils.AJARImage(obj.uri, UI.utils.label(obj), UI.utils.label(obj), dom);
|
|
11
|
+
img.setAttribute('class', 'outlineImage');
|
|
12
|
+
return img;
|
|
13
|
+
};
|
|
14
|
+
exports.default = _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _default = dom => function viewAsMbox(obj) {
|
|
8
|
+
const anchor = dom.createElement('a');
|
|
9
|
+
// previous implementation assumed email address was Literal. fixed.
|
|
10
|
+
|
|
11
|
+
// FOAF mboxs must NOT be literals -- must be mailto: URIs.
|
|
12
|
+
|
|
13
|
+
let address = obj.termType === 'NamedNode' ? obj.uri : obj.value; // this way for now
|
|
14
|
+
// if (!address) return viewAsBoringDefault(obj)
|
|
15
|
+
const index = address.indexOf('mailto:');
|
|
16
|
+
address = index >= 0 ? address.slice(index + 7) : address;
|
|
17
|
+
anchor.setAttribute('href', 'mailto:' + address);
|
|
18
|
+
anchor.appendChild(dom.createTextNode(address));
|
|
19
|
+
return anchor;
|
|
20
|
+
};
|
|
21
|
+
exports.default = _default;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
.pad-layout {
|
|
2
|
+
background-color: white;
|
|
3
|
+
min-width: 94%;
|
|
4
|
+
margin-right: 3%;
|
|
5
|
+
margin-left: 3%;
|
|
6
|
+
min-height: 13rem;
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
box-sizing: border-box;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.pad-row {
|
|
13
|
+
display: flex;
|
|
14
|
+
flex-wrap: wrap;
|
|
15
|
+
width: 100%;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.pad-main {
|
|
19
|
+
flex: 1 1 100%;
|
|
20
|
+
width: 100%;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.pad-controls {
|
|
24
|
+
gap: 0.5rem;
|
|
25
|
+
align-items: center;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.pad-cell {
|
|
29
|
+
flex: 1 1 auto;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.pad-new-instance-message {
|
|
33
|
+
font-size: 140%;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
@media (max-width: 600px) {
|
|
37
|
+
.pad-controls .pad-cell {
|
|
38
|
+
flex: 1 1 100%;
|
|
39
|
+
}
|
|
40
|
+
}
|
package/dist/pad/padPane.d.ts
CHANGED
|
@@ -0,0 +1,421 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _solidUi = require("solid-ui");
|
|
8
|
+
var _solidLogic = require("solid-logic");
|
|
9
|
+
var _rdflib = require("rdflib");
|
|
10
|
+
require("./padPane.css");
|
|
11
|
+
/* pad Pane
|
|
12
|
+
**
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
const paneDef = {
|
|
16
|
+
// icon: (module.__dirname || __dirname) + 'images/ColourOn.png',
|
|
17
|
+
icon: _solidUi.icons.iconBase + 'noun_79217.svg',
|
|
18
|
+
name: 'pad',
|
|
19
|
+
audience: [_solidUi.ns.solid('PowerUser')],
|
|
20
|
+
// Does the subject deserve an pad pane?
|
|
21
|
+
label: function (subject, context) {
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
const t = context.session.store.findTypeURIs(subject);
|
|
24
|
+
if (t['http://www.w3.org/ns/pim/pad#Notepad']) {
|
|
25
|
+
return 'pad';
|
|
26
|
+
}
|
|
27
|
+
return null; // No under other circumstances
|
|
28
|
+
},
|
|
29
|
+
mintClass: _solidUi.ns.pad('Notepad'),
|
|
30
|
+
mintNew: function (context, newPaneOptions) {
|
|
31
|
+
// @ts-ignore
|
|
32
|
+
const store = context.session.store;
|
|
33
|
+
const updater = store.updater;
|
|
34
|
+
if (newPaneOptions.me && !newPaneOptions.me.uri) {
|
|
35
|
+
throw new Error('notepad mintNew: Invalid userid');
|
|
36
|
+
}
|
|
37
|
+
const newInstance = newPaneOptions.newInstance = newPaneOptions.newInstance || store.sym(newPaneOptions.newBase + 'index.ttl#this');
|
|
38
|
+
// const newInstance = kb.sym(newBase + 'pad.ttl#thisPad');
|
|
39
|
+
const newPadDoc = newInstance.doc();
|
|
40
|
+
store.add(newInstance, _solidUi.ns.rdf('type'), _solidUi.ns.pad('Notepad'), newPadDoc);
|
|
41
|
+
store.add(newInstance, _solidUi.ns.dc('title'), 'Shared Notes', newPadDoc);
|
|
42
|
+
store.add(newInstance, _solidUi.ns.dc('created'), new Date(), newPadDoc); // @@ TODO Remove casting
|
|
43
|
+
if (newPaneOptions.me) {
|
|
44
|
+
store.add(newInstance, _solidUi.ns.dc('author'), newPaneOptions.me, newPadDoc);
|
|
45
|
+
}
|
|
46
|
+
// kb.add(newInstance, ns.pad('next'), newInstance, newPadDoc);
|
|
47
|
+
// linked list empty @@
|
|
48
|
+
const chunk = store.sym(newInstance.uri + '_line0');
|
|
49
|
+
store.add(newInstance, _solidUi.ns.pad('next'), chunk, newPadDoc); // Linked list has one entry
|
|
50
|
+
store.add(chunk, _solidUi.ns.pad('next'), newInstance, newPadDoc);
|
|
51
|
+
store.add(chunk, _solidUi.ns.dc('author'), newPaneOptions.me, newPadDoc);
|
|
52
|
+
store.add(chunk, _solidUi.ns.sioc('content'), '', newPadDoc);
|
|
53
|
+
return new Promise(function (resolve, reject) {
|
|
54
|
+
if (!updater) {
|
|
55
|
+
reject(new Error('Have no updater'));
|
|
56
|
+
return;
|
|
57
|
+
}
|
|
58
|
+
updater.put(newPadDoc, store.statementsMatching(undefined, undefined, undefined, newPadDoc), 'text/turtle', function (uri2, ok, message) {
|
|
59
|
+
if (ok) {
|
|
60
|
+
resolve(newPaneOptions);
|
|
61
|
+
} else {
|
|
62
|
+
reject(new Error('FAILED to save new tool at: ' + uri2 + ' : ' + message));
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
});
|
|
66
|
+
},
|
|
67
|
+
// and follow instructions there
|
|
68
|
+
// @@ TODO Set better type for paneOptions
|
|
69
|
+
render: function (subject, context, paneOptions) {
|
|
70
|
+
const dom = context.dom;
|
|
71
|
+
// @ts-ignore
|
|
72
|
+
const store = context.session.store;
|
|
73
|
+
// Utility functions
|
|
74
|
+
const complainIfBad = function (ok, message) {
|
|
75
|
+
if (!ok) {
|
|
76
|
+
div.appendChild(_solidUi.widgets.errorMessageBlock(dom, message, 'pink'));
|
|
77
|
+
}
|
|
78
|
+
};
|
|
79
|
+
const clearElement = function (ele) {
|
|
80
|
+
while (ele.firstChild) {
|
|
81
|
+
ele.removeChild(ele.firstChild);
|
|
82
|
+
}
|
|
83
|
+
return ele;
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
// Access control
|
|
87
|
+
|
|
88
|
+
// Two constiations of ACL for this app, public read and public read/write
|
|
89
|
+
// In all cases owner has read write control
|
|
90
|
+
const genACLtext = function (docURI, aclURI, allWrite) {
|
|
91
|
+
const g = (0, _rdflib.graph)();
|
|
92
|
+
const auth = (0, _rdflib.Namespace)('http://www.w3.org/ns/auth/acl#');
|
|
93
|
+
let a = g.sym(aclURI + '#a1');
|
|
94
|
+
const acl = g.sym(aclURI);
|
|
95
|
+
const doc = g.sym(docURI);
|
|
96
|
+
g.add(a, _solidUi.ns.rdf('type'), auth('Authorization'), acl);
|
|
97
|
+
g.add(a, auth('accessTo'), doc, acl);
|
|
98
|
+
g.add(a, auth('agent'), me, acl);
|
|
99
|
+
g.add(a, auth('mode'), auth('Read'), acl);
|
|
100
|
+
g.add(a, auth('mode'), auth('Write'), acl);
|
|
101
|
+
g.add(a, auth('mode'), auth('Control'), acl);
|
|
102
|
+
a = g.sym(aclURI + '#a2');
|
|
103
|
+
g.add(a, _solidUi.ns.rdf('type'), auth('Authorization'), acl);
|
|
104
|
+
g.add(a, auth('accessTo'), doc, acl);
|
|
105
|
+
g.add(a, auth('agentClass'), _solidUi.ns.foaf('Agent'), acl);
|
|
106
|
+
g.add(a, auth('mode'), auth('Read'), acl);
|
|
107
|
+
if (allWrite) {
|
|
108
|
+
g.add(a, auth('mode'), auth('Write'), acl);
|
|
109
|
+
}
|
|
110
|
+
// TODO: Figure out why `serialize` isn't on the type definition according to TypeScript:
|
|
111
|
+
return (0, _rdflib.serialize)(acl, g, aclURI, 'text/turtle');
|
|
112
|
+
};
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* @param docURI
|
|
116
|
+
* @param allWrite
|
|
117
|
+
* @param callbackFunction
|
|
118
|
+
*
|
|
119
|
+
* @returns {Promise<Response>}
|
|
120
|
+
*/
|
|
121
|
+
const setACL = function setACL(docURI, allWrite, callbackFunction) {
|
|
122
|
+
const aclDoc = store.any((0, _rdflib.sym)(docURI), (0, _rdflib.sym)('http://www.iana.org/assignments/link-relations/acl')); // @@ check that this get set by web.js
|
|
123
|
+
if (!fetcher) {
|
|
124
|
+
throw new Error('Have no fetcher');
|
|
125
|
+
}
|
|
126
|
+
if (aclDoc) {
|
|
127
|
+
// Great we already know where it is
|
|
128
|
+
const aclText = genACLtext(docURI, aclDoc.uri, allWrite);
|
|
129
|
+
return fetcher.webOperation('PUT', aclDoc.uri, {
|
|
130
|
+
data: aclText,
|
|
131
|
+
contentType: 'text/turtle'
|
|
132
|
+
}).then(() => callbackFunction(true)).catch(err => {
|
|
133
|
+
callbackFunction(false, err.message);
|
|
134
|
+
});
|
|
135
|
+
} else {
|
|
136
|
+
return fetcher.load(docURI).catch(err => {
|
|
137
|
+
callbackFunction(false, 'Getting headers for ACL: ' + err);
|
|
138
|
+
}).then(() => {
|
|
139
|
+
const aclDoc = store.any((0, _rdflib.sym)(docURI), (0, _rdflib.sym)('http://www.iana.org/assignments/link-relations/acl'));
|
|
140
|
+
if (!aclDoc) {
|
|
141
|
+
// complainIfBad(false, "No Link rel=ACL header for " + docURI);
|
|
142
|
+
throw new Error('No Link rel=ACL header for ' + docURI);
|
|
143
|
+
}
|
|
144
|
+
const aclText = genACLtext(docURI, aclDoc.uri, allWrite);
|
|
145
|
+
return fetcher.webOperation('PUT', aclDoc.uri, {
|
|
146
|
+
data: aclText,
|
|
147
|
+
contentType: 'text/turtle'
|
|
148
|
+
});
|
|
149
|
+
}).then(() => callbackFunction(true)).catch(err => {
|
|
150
|
+
callbackFunction(false, err.message);
|
|
151
|
+
});
|
|
152
|
+
}
|
|
153
|
+
};
|
|
154
|
+
|
|
155
|
+
// Reproduction: spawn a new instance
|
|
156
|
+
//
|
|
157
|
+
// Viral growth path: user of app decides to make another instance
|
|
158
|
+
const newInstanceButton = function () {
|
|
159
|
+
const button = div.appendChild(dom.createElement('button'));
|
|
160
|
+
button.textContent = 'Start another pad';
|
|
161
|
+
button.addEventListener('click', function () {
|
|
162
|
+
return showBootstrap(subject, spawnArea, 'pad');
|
|
163
|
+
});
|
|
164
|
+
return button;
|
|
165
|
+
};
|
|
166
|
+
|
|
167
|
+
// Option of either using the workspace system or just typing in a URI
|
|
168
|
+
const showBootstrap = function showBootstrap(thisInstance, container, noun) {
|
|
169
|
+
const div = clearElement(container);
|
|
170
|
+
const appDetails = {
|
|
171
|
+
noun: 'notepad'
|
|
172
|
+
};
|
|
173
|
+
div.appendChild(_solidUi.login.newAppInstance(dom, appDetails, (workspace, newBase) => {
|
|
174
|
+
// FIXME: not sure if this will work at all, just
|
|
175
|
+
// trying to get the types to match - Michiel.
|
|
176
|
+
return initializeNewInstanceInWorkspace(new _rdflib.NamedNode(workspace || newBase));
|
|
177
|
+
}));
|
|
178
|
+
div.appendChild(dom.createElement('hr')); // @@
|
|
179
|
+
|
|
180
|
+
const p = div.appendChild(dom.createElement('p'));
|
|
181
|
+
p.textContent = 'Where would you like to store the data for the ' + noun + '? ' + 'Give the URL of the directory where you would like the data stored.';
|
|
182
|
+
const baseField = div.appendChild(dom.createElement('input'));
|
|
183
|
+
baseField.setAttribute('type', 'text');
|
|
184
|
+
baseField.size = 80 // really a string
|
|
185
|
+
;
|
|
186
|
+
baseField.label = 'base URL';
|
|
187
|
+
baseField.autocomplete = 'on';
|
|
188
|
+
div.appendChild(dom.createElement('br')); // @@
|
|
189
|
+
|
|
190
|
+
const button = div.appendChild(dom.createElement('button'));
|
|
191
|
+
button.textContent = 'Start new ' + noun + ' at this URI';
|
|
192
|
+
button.addEventListener('click', function (_e) {
|
|
193
|
+
let newBase = baseField.value;
|
|
194
|
+
if (newBase.slice(-1) !== '/') {
|
|
195
|
+
newBase += '/';
|
|
196
|
+
}
|
|
197
|
+
initializeNewInstanceAtBase(thisInstance, newBase);
|
|
198
|
+
});
|
|
199
|
+
};
|
|
200
|
+
|
|
201
|
+
// Create new document files for new instance of app
|
|
202
|
+
const initializeNewInstanceInWorkspace = function (ws) {
|
|
203
|
+
// @@ TODO Clean up type for newBase
|
|
204
|
+
let newBase = store.any(ws, _solidUi.ns.space('uriPrefix'));
|
|
205
|
+
if (!newBase) {
|
|
206
|
+
newBase = ws.uri.split('#')[0];
|
|
207
|
+
} else {
|
|
208
|
+
newBase = newBase.value;
|
|
209
|
+
}
|
|
210
|
+
if (newBase.slice(-1) !== '/') {
|
|
211
|
+
_rdflib.log.error(appPathSegment + ': No / at end of uriPrefix ' + newBase); // @@ paramater?
|
|
212
|
+
newBase = newBase + '/';
|
|
213
|
+
}
|
|
214
|
+
const now = new Date();
|
|
215
|
+
newBase += appPathSegment + '/id' + now.getTime() + '/'; // unique id
|
|
216
|
+
|
|
217
|
+
initializeNewInstanceAtBase(thisInstance, newBase);
|
|
218
|
+
};
|
|
219
|
+
const initializeNewInstanceAtBase = function (thisInstance, newBase) {
|
|
220
|
+
const here = (0, _rdflib.sym)(thisInstance.uri.split('#')[0]);
|
|
221
|
+
const base = here; // @@ ???
|
|
222
|
+
|
|
223
|
+
const newPadDoc = store.sym(newBase + 'pad.ttl');
|
|
224
|
+
const newIndexDoc = store.sym(newBase + 'index.html');
|
|
225
|
+
const toBeCopied = [{
|
|
226
|
+
local: 'index.html',
|
|
227
|
+
contentType: 'text/html'
|
|
228
|
+
}];
|
|
229
|
+
const newInstance = store.sym(newPadDoc.uri + '#thisPad');
|
|
230
|
+
|
|
231
|
+
// log.debug("\n Ready to put " + kb.statementsMatching(undefined, undefined, undefined, there)); //@@
|
|
232
|
+
|
|
233
|
+
const agenda = [];
|
|
234
|
+
let f; // @@ This needs some form of visible progress bar
|
|
235
|
+
for (f = 0; f < toBeCopied.length; f++) {
|
|
236
|
+
const item = toBeCopied[f];
|
|
237
|
+
const fun = function copyItem(item) {
|
|
238
|
+
agenda.push(function () {
|
|
239
|
+
const newURI = newBase + item.local;
|
|
240
|
+
console.log('Copying ' + base + item.local + ' to ' + newURI);
|
|
241
|
+
const setThatACL = function () {
|
|
242
|
+
setACL(newURI, false, function (ok, message) {
|
|
243
|
+
if (!ok) {
|
|
244
|
+
complainIfBad(ok, 'FAILED to set ACL ' + newURI + ' : ' + message);
|
|
245
|
+
console.log('FAILED to set ACL ' + newURI + ' : ' + message);
|
|
246
|
+
} else {
|
|
247
|
+
agenda.shift()(); // beware too much nesting
|
|
248
|
+
}
|
|
249
|
+
});
|
|
250
|
+
};
|
|
251
|
+
if (!store.fetcher) {
|
|
252
|
+
throw new Error('Store has no fetcher');
|
|
253
|
+
}
|
|
254
|
+
store.fetcher.webCopy(base + item.local, newBase + item.local, item.contentType).then(() => _solidLogic.authn.checkUser()).then(webId => {
|
|
255
|
+
me = webId;
|
|
256
|
+
setThatACL();
|
|
257
|
+
}).catch(err => {
|
|
258
|
+
console.log('FAILED to copy ' + base + item.local + ' : ' + err.message);
|
|
259
|
+
complainIfBad(false, 'FAILED to copy ' + base + item.local + ' : ' + err.message);
|
|
260
|
+
});
|
|
261
|
+
});
|
|
262
|
+
};
|
|
263
|
+
fun(item);
|
|
264
|
+
}
|
|
265
|
+
agenda.push(function createNewPadDataFile() {
|
|
266
|
+
store.add(newInstance, _solidUi.ns.rdf('type'), PAD('Notepad'), newPadDoc);
|
|
267
|
+
|
|
268
|
+
// TODO @@ Remove casting of add
|
|
269
|
+
store.add(newInstance, _solidUi.ns.dc('created'), new Date(),
|
|
270
|
+
// @@ TODO Remove casting
|
|
271
|
+
newPadDoc);
|
|
272
|
+
if (me) {
|
|
273
|
+
store.add(newInstance, _solidUi.ns.dc('author'), me, newPadDoc);
|
|
274
|
+
}
|
|
275
|
+
store.add(newInstance, PAD('next'), newInstance, newPadDoc); // linked list empty
|
|
276
|
+
|
|
277
|
+
// Keep a paper trail @@ Revisit when we have non-public ones @@ Privacy
|
|
278
|
+
store.add(newInstance, _solidUi.ns.space('inspiration'), thisInstance, padDoc);
|
|
279
|
+
store.add(newInstance, _solidUi.ns.space('inspiration'), thisInstance, newPadDoc);
|
|
280
|
+
if (!updater) {
|
|
281
|
+
throw new Error('Have no updater');
|
|
282
|
+
}
|
|
283
|
+
updater.put(newPadDoc, store.statementsMatching(undefined, undefined, undefined, newPadDoc), 'text/turtle', function (_uri2, ok, message) {
|
|
284
|
+
if (ok) {
|
|
285
|
+
agenda.shift()();
|
|
286
|
+
} else {
|
|
287
|
+
complainIfBad(ok, 'FAILED to save new notepad at: ' + newPadDoc.uri + ' : ' + message);
|
|
288
|
+
console.log('FAILED to save new notepad at: ' + newPadDoc.uri + ' : ' + message);
|
|
289
|
+
}
|
|
290
|
+
});
|
|
291
|
+
});
|
|
292
|
+
agenda.push(function () {
|
|
293
|
+
setACL(newPadDoc.uri, true, function (ok, body) {
|
|
294
|
+
complainIfBad(ok, 'Failed to set Read-Write ACL on pad data file: ' + body);
|
|
295
|
+
if (ok) agenda.shift()();
|
|
296
|
+
});
|
|
297
|
+
});
|
|
298
|
+
agenda.push(function () {
|
|
299
|
+
// give the user links to the new app
|
|
300
|
+
|
|
301
|
+
const p = div.appendChild(dom.createElement('p'));
|
|
302
|
+
p.classList.add('pad-new-instance-message');
|
|
303
|
+
p.innerHTML = 'Your <a href=\'' + newIndexDoc.uri + '\'><b>new notepad</b></a> is ready. ' + '<br/><br/><a href=\'' + newIndexDoc.uri + '\'>Go to new pad</a>';
|
|
304
|
+
});
|
|
305
|
+
agenda.shift()();
|
|
306
|
+
// Created new data files.
|
|
307
|
+
};
|
|
308
|
+
|
|
309
|
+
// Update on incoming changes
|
|
310
|
+
const showResults = function (exists) {
|
|
311
|
+
console.log('showResults()');
|
|
312
|
+
me = _solidLogic.authn.currentUser();
|
|
313
|
+
_solidLogic.authn.checkUser().then(webId => {
|
|
314
|
+
me = webId;
|
|
315
|
+
});
|
|
316
|
+
const title = store.any(subject, _solidUi.ns.dc('title')) || store.any(subject, _solidUi.ns.vcard('fn'));
|
|
317
|
+
if (paneOptions.solo && typeof window !== 'undefined' && title) {
|
|
318
|
+
window.document.title = title.value;
|
|
319
|
+
}
|
|
320
|
+
options.exists = exists;
|
|
321
|
+
padEle = _solidUi.pad.notepad(dom, padDoc, subject, me, options);
|
|
322
|
+
naviMain.appendChild(padEle);
|
|
323
|
+
const partipationTarget = store.any(subject, _solidUi.ns.meeting('parentMeeting')) || subject;
|
|
324
|
+
_solidUi.pad.manageParticipation(dom, naviMiddle2, padDoc, partipationTarget, me, options);
|
|
325
|
+
if (!store.updater) {
|
|
326
|
+
throw new Error('Store has no updater');
|
|
327
|
+
}
|
|
328
|
+
store.updater.setRefreshHandler(padDoc, padEle.reloadAndSync); // initiated =
|
|
329
|
+
};
|
|
330
|
+
|
|
331
|
+
// Read or create empty data file
|
|
332
|
+
const loadPadData = function () {
|
|
333
|
+
if (!fetcher) {
|
|
334
|
+
throw new Error('Have no fetcher');
|
|
335
|
+
}
|
|
336
|
+
fetcher.nowOrWhenFetched(padDoc.uri, undefined, function (ok, body, response) {
|
|
337
|
+
if (!ok) {
|
|
338
|
+
if (response.status === 404) {
|
|
339
|
+
// / Check explicitly for 404 error
|
|
340
|
+
console.log('Initializing results file ' + padDoc);
|
|
341
|
+
if (!updater) {
|
|
342
|
+
throw new Error('Have no updater');
|
|
343
|
+
}
|
|
344
|
+
updater.put(padDoc, [], 'text/turtle', function (_uri2, ok, message) {
|
|
345
|
+
if (ok) {
|
|
346
|
+
clearElement(naviMain);
|
|
347
|
+
showResults(false);
|
|
348
|
+
} else {
|
|
349
|
+
complainIfBad(ok, 'FAILED to create results file at: ' + padDoc.uri + ' : ' + message);
|
|
350
|
+
console.log('FAILED to craete results file at: ' + padDoc.uri + ' : ' + message);
|
|
351
|
+
}
|
|
352
|
+
});
|
|
353
|
+
} else {
|
|
354
|
+
// Other error, not 404 -- do not try to overwite the file
|
|
355
|
+
complainIfBad(ok, 'FAILED to read results file: ' + body);
|
|
356
|
+
}
|
|
357
|
+
} else {
|
|
358
|
+
// Happy read
|
|
359
|
+
clearElement(naviMain);
|
|
360
|
+
if (store.holds(subject, _solidUi.ns.rdf('type'), _solidUi.ns.wf('TemplateInstance'))) {
|
|
361
|
+
showBootstrap(subject, naviMain, 'pad');
|
|
362
|
+
}
|
|
363
|
+
showResults(true);
|
|
364
|
+
naviMiddle3.appendChild(newInstanceButton());
|
|
365
|
+
}
|
|
366
|
+
});
|
|
367
|
+
};
|
|
368
|
+
|
|
369
|
+
// Body of Pane
|
|
370
|
+
const appPathSegment = 'app-pad.timbl.com'; // how to allocate this string and connect to
|
|
371
|
+
|
|
372
|
+
const fetcher = store.fetcher;
|
|
373
|
+
const updater = store.updater;
|
|
374
|
+
let me;
|
|
375
|
+
const PAD = (0, _rdflib.Namespace)('http://www.w3.org/ns/pim/pad#');
|
|
376
|
+
const thisInstance = subject;
|
|
377
|
+
const padDoc = subject.doc();
|
|
378
|
+
let padEle;
|
|
379
|
+
const div = dom.createElement('div');
|
|
380
|
+
|
|
381
|
+
// Build the DOM
|
|
382
|
+
const structure = div.appendChild(dom.createElement('div')); // responsive flex layout
|
|
383
|
+
structure.className = 'pad-layout';
|
|
384
|
+
const naviLoginoutTR = structure.appendChild(dom.createElement('div'));
|
|
385
|
+
naviLoginoutTR.className = 'pad-row';
|
|
386
|
+
naviLoginoutTR.appendChild(dom.createElement('div')); // naviLoginout1
|
|
387
|
+
naviLoginoutTR.appendChild(dom.createElement('div'));
|
|
388
|
+
naviLoginoutTR.appendChild(dom.createElement('div'));
|
|
389
|
+
const naviTop = structure.appendChild(dom.createElement('div')); // stuff
|
|
390
|
+
naviTop.className = 'pad-row';
|
|
391
|
+
const naviMain = naviTop.appendChild(dom.createElement('div'));
|
|
392
|
+
naviMain.className = 'pad-main';
|
|
393
|
+
const naviMiddle = structure.appendChild(dom.createElement('div')); // controls
|
|
394
|
+
naviMiddle.className = 'pad-row pad-controls';
|
|
395
|
+
const naviMiddle1 = naviMiddle.appendChild(dom.createElement('div'));
|
|
396
|
+
naviMiddle1.className = 'pad-cell';
|
|
397
|
+
const naviMiddle2 = naviMiddle.appendChild(dom.createElement('div'));
|
|
398
|
+
naviMiddle2.className = 'pad-cell';
|
|
399
|
+
const naviMiddle3 = naviMiddle.appendChild(dom.createElement('div'));
|
|
400
|
+
naviMiddle3.className = 'pad-cell';
|
|
401
|
+
const naviStatus = structure.appendChild(dom.createElement('div')); // status etc
|
|
402
|
+
naviStatus.className = 'pad-row';
|
|
403
|
+
const statusArea = naviStatus.appendChild(dom.createElement('div'));
|
|
404
|
+
const naviSpawn = structure.appendChild(dom.createElement('div')); // create new
|
|
405
|
+
naviSpawn.className = 'pad-row';
|
|
406
|
+
const spawnArea = naviSpawn.appendChild(dom.createElement('div'));
|
|
407
|
+
const naviMenu = structure.appendChild(dom.createElement('div'));
|
|
408
|
+
naviMenu.setAttribute('class', 'pad-row naviMenu');
|
|
409
|
+
naviMenu.appendChild(dom.createElement('div')); // naviLeft
|
|
410
|
+
naviMenu.appendChild(dom.createElement('div'));
|
|
411
|
+
naviMenu.appendChild(dom.createElement('div'));
|
|
412
|
+
const options = {
|
|
413
|
+
statusArea,
|
|
414
|
+
timingArea: naviMiddle1
|
|
415
|
+
};
|
|
416
|
+
loadPadData();
|
|
417
|
+
return div;
|
|
418
|
+
}
|
|
419
|
+
};
|
|
420
|
+
// ends
|
|
421
|
+
var _default = exports.default = paneDef;
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var UI = _interopRequireWildcard(require("solid-ui"));
|
|
8
|
+
var $rdf = _interopRequireWildcard(require("rdflib"));
|
|
9
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
10
|
+
/* Playlist Pane
|
|
11
|
+
**
|
|
12
|
+
** This pane allows playlists and playlists slots to be viewed
|
|
13
|
+
** seeAlso: http://smiy.sourceforge.net/pbo/spec/playbackontology.html
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
const ns = UI.ns;
|
|
17
|
+
var _default = exports.default = {
|
|
18
|
+
icon: UI.icons.iconBase + 'noun_1619.svg',
|
|
19
|
+
name: 'playlistSlot',
|
|
20
|
+
audience: [ns.solid('PowerUser')],
|
|
21
|
+
label: function (subject, context) {
|
|
22
|
+
const kb = context.session.store;
|
|
23
|
+
if (!kb.anyStatementMatching(subject, UI.ns.rdf('type'), kb.sym('http://purl.org/ontology/pbo/core#PlaylistSlot'))) {
|
|
24
|
+
return null;
|
|
25
|
+
}
|
|
26
|
+
return 'playlist slot';
|
|
27
|
+
},
|
|
28
|
+
render: function (subject, context) {
|
|
29
|
+
const myDocument = context.dom;
|
|
30
|
+
function isVideo(src, _index) {
|
|
31
|
+
if (!src) {
|
|
32
|
+
return {
|
|
33
|
+
html5: true
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
const youtube = src.match(/\/\/(?:www\.)?youtu(?:\.be|be\.com)\/(?:watch\?v=|embed\/)?([a-z0-9\-_%]+)/i);
|
|
37
|
+
const vimeo = src.match(/\/\/(?:www\.)?vimeo.com\/([0-9a-z\-_]+)/i);
|
|
38
|
+
const dailymotion = src.match(/\/\/(?:www\.)?dai.ly\/([0-9a-z\-_]+)/i);
|
|
39
|
+
const vk = src.match(/\/\/(?:www\.)?(?:vk\.com|vkontakte\.ru)\/(?:video_ext\.php\?)(.*)/i);
|
|
40
|
+
if (youtube) {
|
|
41
|
+
return {
|
|
42
|
+
youtube
|
|
43
|
+
};
|
|
44
|
+
} else if (vimeo) {
|
|
45
|
+
return {
|
|
46
|
+
vimeo
|
|
47
|
+
};
|
|
48
|
+
} else if (dailymotion) {
|
|
49
|
+
return {
|
|
50
|
+
dailymotion
|
|
51
|
+
};
|
|
52
|
+
} else if (vk) {
|
|
53
|
+
return {
|
|
54
|
+
vk
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
const link = function (contents, uri) {
|
|
59
|
+
if (!uri) return contents;
|
|
60
|
+
const a = myDocument.createElement('a');
|
|
61
|
+
a.setAttribute('href', uri);
|
|
62
|
+
a.appendChild(contents);
|
|
63
|
+
a.addEventListener('click', UI.widgets.openHrefInOutlineMode, true);
|
|
64
|
+
return a;
|
|
65
|
+
};
|
|
66
|
+
const text = function (str) {
|
|
67
|
+
return myDocument.createTextNode(str);
|
|
68
|
+
};
|
|
69
|
+
const kb = context.session.store;
|
|
70
|
+
const obj = kb.any(subject, $rdf.sym('http://purl.org/ontology/pbo/core#playlist_item'));
|
|
71
|
+
let index = kb.any(subject, $rdf.sym('http://purl.org/ontology/olo/core#index'));
|
|
72
|
+
let uri = obj.uri;
|
|
73
|
+
const video = isVideo(uri);
|
|
74
|
+
const div = myDocument.createElement('div');
|
|
75
|
+
let img;
|
|
76
|
+
if (video && video.youtube) {
|
|
77
|
+
uri = uri.replace('watch?v=', 'embed/');
|
|
78
|
+
div.setAttribute('class', 'imageView');
|
|
79
|
+
img = myDocument.createElement('IFRAME');
|
|
80
|
+
img.setAttribute('src', uri);
|
|
81
|
+
img.setAttribute('frameborder', 0);
|
|
82
|
+
img.setAttribute('style', 'width: 100%; aspect-ratio: 16/9; max-width: 100%; border: 0;');
|
|
83
|
+
img.setAttribute('allowfullscreen', 'true');
|
|
84
|
+
} else {
|
|
85
|
+
div.setAttribute('class', 'imageView');
|
|
86
|
+
img = myDocument.createElement('IMG');
|
|
87
|
+
img.setAttribute('src', obj.value);
|
|
88
|
+
img.setAttribute('style', 'max-width: 100%; height: auto;');
|
|
89
|
+
}
|
|
90
|
+
let descDiv;
|
|
91
|
+
if (index) {
|
|
92
|
+
const sl = kb.statementsMatching(null, $rdf.sym('http://purl.org/ontology/olo/core#index'));
|
|
93
|
+
const slots = [];
|
|
94
|
+
for (let i = 0; i < sl.length; i++) {
|
|
95
|
+
if (sl[i]) {
|
|
96
|
+
slots.push(parseInt(sl[i].object.value, 10));
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
index = parseInt(index.value, 10);
|
|
100
|
+
descDiv = myDocument.createElement('div');
|
|
101
|
+
const pIndex = slots[(slots.indexOf(index) - 1 + slots.length) % slots.length];
|
|
102
|
+
const nIndex = slots[(slots.indexOf(index) + 1 + slots.length) % slots.length];
|
|
103
|
+
const prev = link(text('<<'), subject.uri.split('#')[0] + '#' + pIndex);
|
|
104
|
+
descDiv.appendChild(prev);
|
|
105
|
+
const indexDiv = myDocument.createElement('span');
|
|
106
|
+
indexDiv.innerHTML = ' Playlist slot : ' + index + ' ';
|
|
107
|
+
descDiv.appendChild(indexDiv);
|
|
108
|
+
const next = link(text('>>'), subject.uri.split('#')[0] + '#' + nIndex);
|
|
109
|
+
descDiv.appendChild(next);
|
|
110
|
+
}
|
|
111
|
+
const tr = myDocument.createElement('TR'); // why need tr?
|
|
112
|
+
tr.appendChild(img);
|
|
113
|
+
if (descDiv) {
|
|
114
|
+
tr.appendChild(descDiv);
|
|
115
|
+
}
|
|
116
|
+
div.appendChild(tr);
|
|
117
|
+
return div;
|
|
118
|
+
}
|
|
119
|
+
}; // ends
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Fetcher, IndexedFormula, NamedNode } from 'rdflib';
|
|
2
|
+
export declare function loadProfileFromURI(uri: NamedNode, store: IndexedFormula, fetcher: Fetcher): Promise<NamedNode>;
|
|
3
|
+
export declare function getNameOfPodOwner(pod: NamedNode, store: IndexedFormula, fetcher: Fetcher): Promise<string>;
|
|
4
|
+
export declare function getName(store: IndexedFormula, ownersProfile: NamedNode): string;
|
|
5
|
+
//# sourceMappingURL=ownerProfile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ownerProfile.d.ts","sourceRoot":"","sources":["../../src/profileUtils/ownerProfile.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,SAAS,EAAO,MAAM,QAAQ,CAAA;AAKhE,wBAAsB,kBAAkB,CACtC,GAAG,EAAE,SAAS,EACd,KAAK,EAAE,cAAc,EACrB,OAAO,EAAE,OAAO,GACf,OAAO,CAAC,SAAS,CAAC,CA0CpB;AAED,wBAAsB,iBAAiB,CACrC,GAAG,EAAE,SAAS,EACd,KAAK,EAAE,cAAc,EACrB,OAAO,EAAE,OAAO,GACf,OAAO,CAAC,MAAM,CAAC,CAyBjB;AAED,wBAAgB,OAAO,CAAE,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,SAAS,GAAG,MAAM,CAMhF"}
|