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,126 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.outlineIcons = 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
|
+
// This is a system of tracking tooltip phrases used by the tabulator outliner
|
|
10
|
+
|
|
11
|
+
const outlineIcons = exports.outlineIcons = {};
|
|
12
|
+
outlineIcons.src = []; // collect the URIs of the icon filterColumns
|
|
13
|
+
outlineIcons.tooltips = []; // look up tool tips from URL
|
|
14
|
+
|
|
15
|
+
/// /////////////////////// Common icons
|
|
16
|
+
|
|
17
|
+
outlineIcons.src.icon_expand = UI.icons.originalIconBase + 'tbl-expand-trans.png';
|
|
18
|
+
outlineIcons.src.icon_more = UI.icons.originalIconBase + 'tbl-more-trans.png'; // looks just like expand, diff semantics
|
|
19
|
+
// Icon.src.icon_expand = UI.icons.originalIconBase + 'clean/Icon.src.Icon.src.icon_expand.png';
|
|
20
|
+
outlineIcons.src.icon_collapse = UI.icons.originalIconBase + 'tbl-collapse.png';
|
|
21
|
+
outlineIcons.src.icon_internals = UI.icons.originalIconBase + 'tango/22-emblem-system.png';
|
|
22
|
+
outlineIcons.src.icon_instances = UI.icons.originalIconBase + 'tango/22-folder-open.png';
|
|
23
|
+
outlineIcons.src.icon_foaf = UI.icons.originalIconBase + 'foaf/foafTiny.gif';
|
|
24
|
+
outlineIcons.src.icon_social = UI.icons.originalIconBase + 'social/social.gif';
|
|
25
|
+
outlineIcons.src.icon_mb = UI.icons.originalIconBase + 'microblog/microblog.png';
|
|
26
|
+
outlineIcons.src.icon_shrink = UI.icons.originalIconBase + 'tbl-shrink.png'; // shrink list back up
|
|
27
|
+
outlineIcons.src.icon_rows = UI.icons.originalIconBase + 'tbl-rows.png';
|
|
28
|
+
// Icon.src.Icon.src.icon_columns = 'icons/tbl-columns.png';
|
|
29
|
+
|
|
30
|
+
// Status balls:
|
|
31
|
+
|
|
32
|
+
outlineIcons.src.icon_unrequested = UI.icons.originalIconBase + '16dot-blue.gif';
|
|
33
|
+
// outlineIcons.src.Icon.src.icon_parse = UI.icons.originalIconBase + '18x18-white.gif';
|
|
34
|
+
outlineIcons.src.icon_fetched = UI.icons.originalIconBase + '16dot-green.gif';
|
|
35
|
+
outlineIcons.src.icon_failed = UI.icons.originalIconBase + '16dot-red.gif';
|
|
36
|
+
outlineIcons.src.icon_requested = UI.icons.originalIconBase + '16dot-yellow.gif';
|
|
37
|
+
// Icon.src.icon_maximize = UI.icons.originalIconBase + 'clean/Icon.src.Icon.src.icon_con_max.png';
|
|
38
|
+
|
|
39
|
+
// Panes:
|
|
40
|
+
outlineIcons.src.icon_CVPane = UI.icons.originalIconBase + 'CV.png';
|
|
41
|
+
outlineIcons.src.icon_defaultPane = UI.icons.originalIconBase + 'about.png';
|
|
42
|
+
outlineIcons.src.icon_visit = UI.icons.originalIconBase + 'tango/22-text-x-generic.png';
|
|
43
|
+
outlineIcons.src.icon_dataContents = UI.icons.originalIconBase + 'rdf_flyer.24.gif'; // @@ Bad .. find better
|
|
44
|
+
outlineIcons.src.icon_n3Pane = UI.icons.originalIconBase + 'w3c/n3_smaller.png'; // @@ Bad .. find better
|
|
45
|
+
outlineIcons.src.icon_RDFXMLPane = UI.icons.originalIconBase + '22-text-xml4.png'; // @@ Bad .. find better
|
|
46
|
+
outlineIcons.src.icon_imageContents = UI.icons.originalIconBase + 'tango/22-image-x-generic.png';
|
|
47
|
+
outlineIcons.src.icon_airPane = UI.icons.originalIconBase + '1pt5a.gif';
|
|
48
|
+
outlineIcons.src.icon_LawPane = UI.icons.originalIconBase + 'law.jpg';
|
|
49
|
+
outlineIcons.src.icon_pushbackPane = UI.icons.originalIconBase + 'pb-logo.png';
|
|
50
|
+
|
|
51
|
+
// For photo albums (By albert08@csail.mit.edu)
|
|
52
|
+
outlineIcons.src.icon_photoPane = UI.icons.originalIconBase + 'photo_small.png';
|
|
53
|
+
outlineIcons.src.icon_tagPane = UI.icons.originalIconBase + 'tag_small.png';
|
|
54
|
+
outlineIcons.src.icon_TinyTag = UI.icons.originalIconBase + 'tag_tiny.png';
|
|
55
|
+
outlineIcons.src.icon_photoBegin = UI.icons.originalIconBase + 'photo_begin.png';
|
|
56
|
+
outlineIcons.src.icon_photoNext = UI.icons.originalIconBase + 'photo_next.png';
|
|
57
|
+
outlineIcons.src.icon_photoBack = UI.icons.originalIconBase + 'photo_back.png';
|
|
58
|
+
outlineIcons.src.icon_photoEnd = UI.icons.originalIconBase + 'photo_end.png';
|
|
59
|
+
outlineIcons.src.icon_photoImportPane = UI.icons.originalIconBase + 'flickr_small.png';
|
|
60
|
+
// Icon.src.icon_CloseButton = UI.icons.originalIconBase + 'close_tiny.png';
|
|
61
|
+
// Icon.src.icon_AddButton = UI.icons.originalIconBase + 'addphoto_tiny.png';
|
|
62
|
+
|
|
63
|
+
// For that one we need a document with grid lines. Make data-x-generix maybe
|
|
64
|
+
|
|
65
|
+
// actions for sources;
|
|
66
|
+
outlineIcons.src.icon_retract = UI.icons.originalIconBase + 'retract.gif';
|
|
67
|
+
outlineIcons.src.icon_refresh = UI.icons.originalIconBase + 'refresh.gif';
|
|
68
|
+
outlineIcons.src.icon_optoff = UI.icons.originalIconBase + 'optional_off.PNG';
|
|
69
|
+
outlineIcons.src.icon_opton = UI.icons.originalIconBase + 'optional_on.PNG';
|
|
70
|
+
outlineIcons.src.icon_map = UI.icons.originalIconBase + 'compassrose.png';
|
|
71
|
+
outlineIcons.src.icon_retracted = outlineIcons.src.icon_unrequested;
|
|
72
|
+
outlineIcons.src.icon_retracted = outlineIcons.src.icon_unrequested;
|
|
73
|
+
outlineIcons.src.icon_time = UI.icons.originalIconBase + 'icons/Wclocksmall.png';
|
|
74
|
+
|
|
75
|
+
// Within outline mode:
|
|
76
|
+
|
|
77
|
+
outlineIcons.src.icon_telephone = UI.icons.originalIconBase + 'silk/telephone.png';
|
|
78
|
+
outlineIcons.src.icon_time = UI.icons.originalIconBase + 'Wclocksmall.png';
|
|
79
|
+
outlineIcons.src.icon_remove_node = UI.icons.originalIconBase + 'tbl-x-small.png';
|
|
80
|
+
outlineIcons.src.icon_add_triple = UI.icons.originalIconBase + 'tango/22-list-add.png';
|
|
81
|
+
outlineIcons.src.icon_add_new_triple = UI.icons.originalIconBase + 'tango/22-list-add-new.png';
|
|
82
|
+
outlineIcons.src.icon_show_choices = UI.icons.originalIconBase + 'userinput_show_choices_temp.png'; // looks just like collapse, diff smmantics
|
|
83
|
+
|
|
84
|
+
// Inline Justification
|
|
85
|
+
outlineIcons.src.icon_display_reasons = UI.icons.originalIconBase + 'tango/22-help-browser.png';
|
|
86
|
+
outlineIcons.tooltips[outlineIcons.src.icon_display_reasons] = 'Display explanations';
|
|
87
|
+
|
|
88
|
+
// Other tooltips
|
|
89
|
+
outlineIcons.tooltips[outlineIcons.src.icon_add_triple] = 'Add more';
|
|
90
|
+
outlineIcons.tooltips[outlineIcons.src.icon_add_new_triple] = 'Add one';
|
|
91
|
+
outlineIcons.tooltips[outlineIcons.src.icon_remove_node] = 'Remove';
|
|
92
|
+
outlineIcons.tooltips[outlineIcons.src.icon_expand] = 'View details.';
|
|
93
|
+
outlineIcons.tooltips[outlineIcons.src.icon_collapse] = 'Hide details.';
|
|
94
|
+
outlineIcons.tooltips[outlineIcons.src.icon_shrink] = 'Shrink list.';
|
|
95
|
+
outlineIcons.tooltips[outlineIcons.src.icon_internals] = 'Under the hood';
|
|
96
|
+
outlineIcons.tooltips[outlineIcons.src.icon_instances] = 'List';
|
|
97
|
+
outlineIcons.tooltips[outlineIcons.src.icon_foaf] = 'Friends';
|
|
98
|
+
outlineIcons.tooltips[outlineIcons.src.icon_rows] = 'Make a table of data like this';
|
|
99
|
+
// Note the string '[Tt]his resource' can be replaced with an actual URI by the code
|
|
100
|
+
outlineIcons.tooltips[outlineIcons.src.icon_unrequested] = 'Fetch this.';
|
|
101
|
+
outlineIcons.tooltips[outlineIcons.src.icon_fetched] = 'Fetched successfully.';
|
|
102
|
+
outlineIcons.tooltips[outlineIcons.src.icon_failed] = 'Failed to load. Click to retry.';
|
|
103
|
+
outlineIcons.tooltips[outlineIcons.src.icon_requested] = 'This is being fetched. Please wait...';
|
|
104
|
+
outlineIcons.tooltips[outlineIcons.src.icon_visit] = 'View document';
|
|
105
|
+
outlineIcons.tooltips[outlineIcons.src.icon_retract] = 'Remove this source and all its data from tabulator.';
|
|
106
|
+
outlineIcons.tooltips[outlineIcons.src.icon_refresh] = 'Refresh this source and reload its triples.';
|
|
107
|
+
|
|
108
|
+
/// ////////////////////////////// End comon area
|
|
109
|
+
|
|
110
|
+
outlineIcons.OutlinerIcon = function (src, width, alt, tooltip, filter) {
|
|
111
|
+
this.src = src;
|
|
112
|
+
this.alt = alt;
|
|
113
|
+
this.width = width;
|
|
114
|
+
this.tooltip = tooltip;
|
|
115
|
+
this.filter = filter;
|
|
116
|
+
// filter: RDFStatement,('subj'|'pred'|'obj')->boolean, inverse->boolean (whether the statement is an inverse).
|
|
117
|
+
// Filter on whether to show this icon for a term; optional property.
|
|
118
|
+
// If filter is not passed, this icon will never AUTOMATICALLY be shown.
|
|
119
|
+
// You can show it with termWidget.addIcon
|
|
120
|
+
return this;
|
|
121
|
+
};
|
|
122
|
+
outlineIcons.termWidgets = {};
|
|
123
|
+
outlineIcons.termWidgets.optOn = new outlineIcons.OutlinerIcon(outlineIcons.src.icon_opton, 20, 'opt on', 'Make this branch of your query mandatory.');
|
|
124
|
+
outlineIcons.termWidgets.optOff = new outlineIcons.OutlinerIcon(outlineIcons.src.icon_optoff, 20, 'opt off', 'Make this branch of your query optional.');
|
|
125
|
+
outlineIcons.termWidgets.addTri = new outlineIcons.OutlinerIcon(outlineIcons.src.icon_add_triple, 18, 'add tri', 'Add one');
|
|
126
|
+
// Ideally: "New "+label(subject)
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.propertyViews = propertyViews;
|
|
7
|
+
exports.viewsAddPropertyView = viewsAddPropertyView;
|
|
8
|
+
var _solidUi = require("solid-ui");
|
|
9
|
+
var _viewAsImage = _interopRequireDefault(require("./viewAsImage"));
|
|
10
|
+
var _viewAsMbox = _interopRequireDefault(require("./viewAsMbox"));
|
|
11
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
12
|
+
/** some builtin simple views **/
|
|
13
|
+
|
|
14
|
+
function propertyViews(dom) {
|
|
15
|
+
// view that applies to items that are objects of certain properties.
|
|
16
|
+
const views = {
|
|
17
|
+
properties: [],
|
|
18
|
+
defaults: [],
|
|
19
|
+
classes: []
|
|
20
|
+
}; // views
|
|
21
|
+
|
|
22
|
+
const asImage = (0, _viewAsImage.default)(dom);
|
|
23
|
+
const asMbox = (0, _viewAsMbox.default)(dom);
|
|
24
|
+
viewsAddPropertyView(views, _solidUi.ns.foaf('depiction').uri, asImage, true);
|
|
25
|
+
viewsAddPropertyView(views, _solidUi.ns.foaf('img').uri, asImage, true);
|
|
26
|
+
viewsAddPropertyView(views, _solidUi.ns.foaf('thumbnail').uri, asImage, true);
|
|
27
|
+
viewsAddPropertyView(views, _solidUi.ns.foaf('logo').uri, asImage, true);
|
|
28
|
+
viewsAddPropertyView(views, _solidUi.ns.schema('image').uri, asImage, true);
|
|
29
|
+
viewsAddPropertyView(views, _solidUi.ns.foaf('mbox').uri, asMbox, true);
|
|
30
|
+
return views;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/** add a property view function **/
|
|
34
|
+
function viewsAddPropertyView(views, property, pviewfunc, isDefault) {
|
|
35
|
+
if (!views.properties[property]) {
|
|
36
|
+
views.properties[property] = [];
|
|
37
|
+
}
|
|
38
|
+
views.properties[property].push(pviewfunc);
|
|
39
|
+
if (isDefault) {
|
|
40
|
+
// will override an existing default!
|
|
41
|
+
views.defaults[property] = pviewfunc;
|
|
42
|
+
}
|
|
43
|
+
} // viewsAddPropertyView
|
|
@@ -0,0 +1,285 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.QuerySource = QuerySource;
|
|
7
|
+
exports.makeQueryRow = makeQueryRow;
|
|
8
|
+
exports.viewAndSaveQuery = viewAndSaveQuery;
|
|
9
|
+
var _solidLogic = require("solid-logic");
|
|
10
|
+
var UI = _interopRequireWildcard(require("solid-ui"));
|
|
11
|
+
var $rdf = _interopRequireWildcard(require("rdflib"));
|
|
12
|
+
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); }
|
|
13
|
+
/* istanbul ignore file */
|
|
14
|
+
// The query-by-example functionality in the tabulator
|
|
15
|
+
// was the ability to expore a bit of the web in outline mode,
|
|
16
|
+
// select a ceratain set of fields in the tree,
|
|
17
|
+
// then pres "find all" which would then generte a SPARQL query
|
|
18
|
+
// to find all other places which had the same pattern.
|
|
19
|
+
// Fields could be optional by pressing th ewhite optoional button
|
|
20
|
+
|
|
21
|
+
const optionalSubqueriesIndex = [];
|
|
22
|
+
function predParentOf(node) {
|
|
23
|
+
let n = node;
|
|
24
|
+
while (true) {
|
|
25
|
+
if (n.getAttribute('predTR')) {
|
|
26
|
+
return n;
|
|
27
|
+
} else if (n.previousSibling && n.previousSibling.nodeName === 'TR') {
|
|
28
|
+
n = n.previousSibling;
|
|
29
|
+
} else {
|
|
30
|
+
console.log('Could not find predParent');
|
|
31
|
+
return node;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
function makeQueryRow(q, tr, constraint) {
|
|
36
|
+
// predtr = predParentOf(tr)
|
|
37
|
+
// var nodes = tr.childNodes
|
|
38
|
+
// var n = tr.childNodes.length
|
|
39
|
+
const inverse = tr.AJAR_inverse;
|
|
40
|
+
// var hasVar = 0
|
|
41
|
+
let parentVar, level, pat;
|
|
42
|
+
function makeRDFStatement(freeVar, parent) {
|
|
43
|
+
if (inverse) {
|
|
44
|
+
return new $rdf.Statement(freeVar, st.predicate, parent);
|
|
45
|
+
} else {
|
|
46
|
+
return new $rdf.Statement(parent, st.predicate, freeVar);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
let optionalSubqueryIndex = null;
|
|
50
|
+
for (level = tr.parentNode; level; level = level.parentNode) {
|
|
51
|
+
if (typeof level.AJAR_statement !== 'undefined') {
|
|
52
|
+
// level.AJAR_statement
|
|
53
|
+
level.setAttribute('bla', level.AJAR_statement); // @@? -timbl
|
|
54
|
+
// UI.log.debug("Parent TR statement="+level.AJAR_statement + ", var=" + level.AJAR_variable)
|
|
55
|
+
/* for(let c=0;c<level.parentNode.childNodes.length;c++) //This makes sure the same variable is used for a subject
|
|
56
|
+
if(level.parentNode.childNodes[c].AJAR_variable)
|
|
57
|
+
level.AJAR_variable = level.parentNode.childNodes[c].AJAR_variable; */
|
|
58
|
+
if (!level.AJAR_variable) {
|
|
59
|
+
makeQueryRow(q, level);
|
|
60
|
+
}
|
|
61
|
+
parentVar = level.AJAR_variable;
|
|
62
|
+
const predLevel = predParentOf(level);
|
|
63
|
+
if (predLevel.getAttribute('optionalSubqueriesIndex')) {
|
|
64
|
+
optionalSubqueryIndex = predLevel.getAttribute('optionalSubqueriesIndex');
|
|
65
|
+
pat = optionalSubqueriesIndex[optionalSubqueryIndex];
|
|
66
|
+
}
|
|
67
|
+
break;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
if (!pat) {
|
|
71
|
+
pat = q.pat;
|
|
72
|
+
}
|
|
73
|
+
const predtr = predParentOf(tr);
|
|
74
|
+
// /////OPTIONAL KLUDGE///////////
|
|
75
|
+
const opt = predtr.getAttribute('optional');
|
|
76
|
+
if (!opt) {
|
|
77
|
+
if (optionalSubqueryIndex) {
|
|
78
|
+
predtr.setAttribute('optionalSubqueriesIndex', optionalSubqueryIndex);
|
|
79
|
+
} else {
|
|
80
|
+
predtr.removeAttribute('optionalSubqueriesIndex');
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
if (opt) {
|
|
84
|
+
const optForm = _solidLogic.store.formula();
|
|
85
|
+
optionalSubqueriesIndex.push(optForm);
|
|
86
|
+
predtr.setAttribute('optionalSubqueriesIndex', optionalSubqueriesIndex.length - 1);
|
|
87
|
+
pat.optional.push(optForm);
|
|
88
|
+
pat = optForm;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
// //////////////////////////////
|
|
92
|
+
|
|
93
|
+
const st = tr.AJAR_statement;
|
|
94
|
+
const constraintVar = tr.AJAR_inverse ? st.subject : st.object; // this is only used for constraints
|
|
95
|
+
let hasParent = true;
|
|
96
|
+
if (constraintVar.isBlank && constraint) {
|
|
97
|
+
window.alert('You cannot constrain a query with a blank node. No constraint will be added.');
|
|
98
|
+
}
|
|
99
|
+
if (!parentVar) {
|
|
100
|
+
hasParent = false;
|
|
101
|
+
parentVar = inverse ? st.object : st.subject; // if there is no parents, uses the sub/obj
|
|
102
|
+
}
|
|
103
|
+
// UI.log.debug('Initial variable: '+tr.AJAR_variable)
|
|
104
|
+
const v = tr.AJAR_variable ? tr.AJAR_variable : _solidLogic.store.variable(UI.utils.newVariableName());
|
|
105
|
+
q.vars.push(v);
|
|
106
|
+
v.label = hasParent ? parentVar.label : UI.utils.label(parentVar);
|
|
107
|
+
v.label += ' ' + UI.utils.predicateLabelForXML(st.predicate, inverse);
|
|
108
|
+
const pattern = makeRDFStatement(v, parentVar);
|
|
109
|
+
// alert(pattern)
|
|
110
|
+
v.label = v.label.slice(0, 1).toUpperCase() + v.label.slice(1); // init cap
|
|
111
|
+
|
|
112
|
+
// See ../rdf/sparql.js
|
|
113
|
+
// This should only work on literals but doesn't.
|
|
114
|
+
function ConstraintEqualTo(value) {
|
|
115
|
+
this.describe = function (varstr) {
|
|
116
|
+
return varstr + ' = ' + value.toNT();
|
|
117
|
+
};
|
|
118
|
+
this.test = function (term) {
|
|
119
|
+
return value.sameTerm(term);
|
|
120
|
+
};
|
|
121
|
+
return this;
|
|
122
|
+
}
|
|
123
|
+
if (constraint) {
|
|
124
|
+
// binds the constrained variable to its selected value
|
|
125
|
+
pat.constraints[v] = new ConstraintEqualTo(constraintVar);
|
|
126
|
+
}
|
|
127
|
+
UI.log.info('Pattern: ' + pattern);
|
|
128
|
+
pattern.tr = tr;
|
|
129
|
+
tr.AJAR_pattern = pattern; // Cross-link UI and query line
|
|
130
|
+
tr.AJAR_variable = v;
|
|
131
|
+
// UI.log.debug('Final variable: '+tr.AJAR_variable)
|
|
132
|
+
UI.log.debug('Query pattern: ' + pattern);
|
|
133
|
+
pat.statements.push(pattern);
|
|
134
|
+
return v;
|
|
135
|
+
} // makeQueryRow
|
|
136
|
+
|
|
137
|
+
function saveQuery(selection, qs) {
|
|
138
|
+
// var qs = outline.qs // @@
|
|
139
|
+
const q = new $rdf.Query();
|
|
140
|
+
const n = selection.length;
|
|
141
|
+
let i, sel, st, tr;
|
|
142
|
+
for (i = 0; i < n; i++) {
|
|
143
|
+
sel = selection[i];
|
|
144
|
+
tr = sel.parentNode;
|
|
145
|
+
st = tr.AJAR_statement;
|
|
146
|
+
UI.log.debug('Statement ' + st);
|
|
147
|
+
if (sel.getAttribute('class').indexOf('pred') >= 0) {
|
|
148
|
+
UI.log.info(' We have a predicate');
|
|
149
|
+
makeQueryRow(q, tr);
|
|
150
|
+
}
|
|
151
|
+
if (sel.getAttribute('class').indexOf('obj') >= 0) {
|
|
152
|
+
UI.log.info(' We have an object');
|
|
153
|
+
makeQueryRow(q, tr, true);
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
qs.addQuery(q);
|
|
157
|
+
function resetOutliner(pat) {
|
|
158
|
+
const n = pat.statements.length;
|
|
159
|
+
let pattern, tr;
|
|
160
|
+
for (let i = 0; i < n; i++) {
|
|
161
|
+
pattern = pat.statements[i];
|
|
162
|
+
tr = pattern.tr;
|
|
163
|
+
// UI.log.debug('tr: ' + tr.AJAR_statement);
|
|
164
|
+
if (typeof tr !== 'undefined') {
|
|
165
|
+
tr.AJAR_pattern = null; // TODO: is this == to whats in current version?
|
|
166
|
+
tr.AJAR_variable = null;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
for (const x in pat.optional) {
|
|
170
|
+
resetOutliner(pat.optional[x]);
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
resetOutliner(q.pat);
|
|
174
|
+
// NextVariable=0;
|
|
175
|
+
return q;
|
|
176
|
+
} // saveQuery
|
|
177
|
+
|
|
178
|
+
// When the user asks for all list of all matching parts of the data
|
|
179
|
+
//
|
|
180
|
+
function viewAndSaveQuery(outline, selection) {
|
|
181
|
+
const qs = outline.qs;
|
|
182
|
+
UI.log.info('outline.doucment is now ' + outline.document.location);
|
|
183
|
+
const q = saveQuery(selection, qs);
|
|
184
|
+
/*
|
|
185
|
+
if (tabulator.isExtension) {
|
|
186
|
+
// tabulator.drawInBestView(q)
|
|
187
|
+
} else
|
|
188
|
+
*/
|
|
189
|
+
|
|
190
|
+
for (let i = 0; i < qs.listeners.length; i++) {
|
|
191
|
+
qs.listeners[i].getActiveView().view.drawQuery(q);
|
|
192
|
+
qs.listeners[i].updateQueryControls(qs.listeners[i].getActiveView());
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* The QuerySource object stores a set of listeners and a set of queries.
|
|
198
|
+
* It keeps the listeners aware of those queries that the source currently
|
|
199
|
+
* contains, and it is then up to the listeners to decide what to do with
|
|
200
|
+
* those queries in terms of displays.
|
|
201
|
+
* Not used 2010-08 -- TimBL
|
|
202
|
+
* @class QuerySource
|
|
203
|
+
* @author jambo
|
|
204
|
+
*/
|
|
205
|
+
|
|
206
|
+
function QuerySource() {
|
|
207
|
+
/**
|
|
208
|
+
* stores all of the queries currently held by this source,
|
|
209
|
+
* indexed by ID number.
|
|
210
|
+
*/
|
|
211
|
+
this.queries = [];
|
|
212
|
+
/**
|
|
213
|
+
* stores the listeners for a query object.
|
|
214
|
+
* @see TabbedContainer
|
|
215
|
+
*/
|
|
216
|
+
this.listeners = [];
|
|
217
|
+
|
|
218
|
+
/**
|
|
219
|
+
* add a Query object to the query source--It will be given an ID number
|
|
220
|
+
* and a name, if it doesn't already have one. This subsequently adds the
|
|
221
|
+
* query to all of the listeners the QuerySource knows about.
|
|
222
|
+
*/
|
|
223
|
+
this.addQuery = function (q) {
|
|
224
|
+
let i;
|
|
225
|
+
if (q.name === null || q.name === '') {
|
|
226
|
+
q.name = 'Query #' + (this.queries.length + 1);
|
|
227
|
+
}
|
|
228
|
+
q.id = this.queries.length;
|
|
229
|
+
this.queries.push(q);
|
|
230
|
+
for (i = 0; i < this.listeners.length; i++) {
|
|
231
|
+
if (this.listeners[i] !== null) {
|
|
232
|
+
this.listeners[i].addQuery(q);
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
};
|
|
236
|
+
|
|
237
|
+
/**
|
|
238
|
+
* Remove a Query object from the source. Tells all listeners to also
|
|
239
|
+
* remove the query.
|
|
240
|
+
*/
|
|
241
|
+
this.removeQuery = function (q) {
|
|
242
|
+
let i;
|
|
243
|
+
for (i = 0; i < this.listeners.length; i++) {
|
|
244
|
+
if (this.listeners[i] !== null) {
|
|
245
|
+
this.listeners[i].removeQuery(q);
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
if (this.queries[q.id] !== null) {
|
|
249
|
+
delete this.queries[q.id];
|
|
250
|
+
}
|
|
251
|
+
};
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* adds a "Listener" to this QuerySource - that is, an object
|
|
255
|
+
* which is capable of both adding and removing queries.
|
|
256
|
+
* Currently, only the TabbedContainer class is added.
|
|
257
|
+
* also puts all current queries into the listener to be used.
|
|
258
|
+
*/
|
|
259
|
+
this.addListener = function (listener) {
|
|
260
|
+
let i;
|
|
261
|
+
this.listeners.push(listener);
|
|
262
|
+
for (i = 0; i < this.queries.length; i++) {
|
|
263
|
+
if (this.queries[i] !== null) {
|
|
264
|
+
listener.addQuery(this.queries[i]);
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
};
|
|
268
|
+
/**
|
|
269
|
+
* removes listener from the array of listeners, if it exists! Also takes
|
|
270
|
+
* all of the queries from this source out of the listener.
|
|
271
|
+
*/
|
|
272
|
+
this.removeListener = function (listener) {
|
|
273
|
+
let i;
|
|
274
|
+
for (i = 0; i < this.queries.length; i++) {
|
|
275
|
+
if (this.queries[i] !== null) {
|
|
276
|
+
listener.removeQuery(this.queries[i]);
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
for (i = 0; i < this.listeners.length; i++) {
|
|
280
|
+
if (this.listeners[i] === listener) {
|
|
281
|
+
delete this.listeners[i];
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
};
|
|
285
|
+
}
|