solid-panes 4.5.1 → 5.0.0-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 +10 -40
- package/dist/RDFXMLPane.d.ts +2 -3
- package/dist/RDFXMLPane2.cjs.js +3 -0
- package/dist/RDFXMLPane2.cjs.js.map +1 -0
- package/dist/RDFXMLPane2.esm.js +55 -0
- package/dist/RDFXMLPane2.esm.js.map +1 -0
- package/dist/_virtual/_rolldown/runtime.cjs.js +1 -0
- package/dist/_virtual/~icons/lucide/arrow-left.cjs.js +2 -0
- package/dist/_virtual/~icons/lucide/arrow-left.cjs.js.map +1 -0
- package/dist/_virtual/~icons/lucide/arrow-left.esm.js +11 -0
- package/dist/_virtual/~icons/lucide/arrow-left.esm.js.map +1 -0
- package/dist/_virtual/~icons/lucide/ellipsis-vertical.cjs.js +2 -0
- package/dist/_virtual/~icons/lucide/ellipsis-vertical.cjs.js.map +1 -0
- package/dist/_virtual/~icons/lucide/ellipsis-vertical.esm.js +11 -0
- package/dist/_virtual/~icons/lucide/ellipsis-vertical.esm.js.map +1 -0
- package/dist/_virtual/~icons/lucide/folder-open.cjs.js +2 -0
- package/dist/_virtual/~icons/lucide/folder-open.cjs.js.map +1 -0
- package/dist/_virtual/~icons/lucide/folder-open.esm.js +11 -0
- package/dist/_virtual/~icons/lucide/folder-open.esm.js.map +1 -0
- package/dist/_virtual/~icons/lucide/globe.cjs.js +2 -0
- package/dist/_virtual/~icons/lucide/globe.cjs.js.map +1 -0
- package/dist/_virtual/~icons/lucide/globe.esm.js +11 -0
- package/dist/_virtual/~icons/lucide/globe.esm.js.map +1 -0
- package/dist/_virtual/~icons/lucide/help-circle.cjs.js +2 -0
- package/dist/_virtual/~icons/lucide/help-circle.cjs.js.map +1 -0
- package/dist/_virtual/~icons/lucide/help-circle.esm.js +11 -0
- package/dist/_virtual/~icons/lucide/help-circle.esm.js.map +1 -0
- package/dist/_virtual/~icons/lucide/layout-dashboard.cjs.js +2 -0
- package/dist/_virtual/~icons/lucide/layout-dashboard.cjs.js.map +1 -0
- package/dist/_virtual/~icons/lucide/layout-dashboard.esm.js +11 -0
- package/dist/_virtual/~icons/lucide/layout-dashboard.esm.js.map +1 -0
- package/dist/_virtual/~icons/lucide/lock-keyhole.cjs.js +2 -0
- package/dist/_virtual/~icons/lucide/lock-keyhole.cjs.js.map +1 -0
- package/dist/_virtual/~icons/lucide/lock-keyhole.esm.js +11 -0
- package/dist/_virtual/~icons/lucide/lock-keyhole.esm.js.map +1 -0
- package/dist/_virtual/~icons/lucide/pencil.cjs.js +2 -0
- package/dist/_virtual/~icons/lucide/pencil.cjs.js.map +1 -0
- package/dist/_virtual/~icons/lucide/pencil.esm.js +11 -0
- package/dist/_virtual/~icons/lucide/pencil.esm.js.map +1 -0
- package/dist/_virtual/~icons/lucide/settings-2.cjs.js +2 -0
- package/dist/_virtual/~icons/lucide/settings-2.cjs.js.map +1 -0
- package/dist/_virtual/~icons/lucide/settings-2.esm.js +11 -0
- package/dist/_virtual/~icons/lucide/settings-2.esm.js.map +1 -0
- package/dist/_virtual/~icons/lucide/share-2.cjs.js +2 -0
- package/dist/_virtual/~icons/lucide/share-2.cjs.js.map +1 -0
- package/dist/_virtual/~icons/lucide/share-2.esm.js +11 -0
- package/dist/_virtual/~icons/lucide/share-2.esm.js.map +1 -0
- package/dist/_virtual/~icons/lucide/trash-2.cjs.js +2 -0
- package/dist/_virtual/~icons/lucide/trash-2.cjs.js.map +1 -0
- package/dist/_virtual/~icons/lucide/trash-2.esm.js +11 -0
- package/dist/_virtual/~icons/lucide/trash-2.esm.js.map +1 -0
- package/dist/_virtual/~icons/lucide/user.cjs.js +2 -0
- package/dist/_virtual/~icons/lucide/user.cjs.js.map +1 -0
- package/dist/_virtual/~icons/lucide/user.esm.js +11 -0
- package/dist/_virtual/~icons/lucide/user.esm.js.map +1 -0
- package/dist/_virtual/~icons/lucide/users.cjs.js +2 -0
- package/dist/_virtual/~icons/lucide/users.cjs.js.map +1 -0
- package/dist/_virtual/~icons/lucide/users.esm.js +11 -0
- package/dist/_virtual/~icons/lucide/users.esm.js.map +1 -0
- package/dist/audio/audioPane.cjs.js +2 -0
- package/dist/audio/audioPane.cjs.js.map +1 -0
- package/dist/audio/audioPane.esm.js +99 -0
- package/dist/audio/audioPane.esm.js.map +1 -0
- package/dist/classInstancePane.cjs.js +2 -0
- package/dist/classInstancePane.cjs.js.map +1 -0
- package/dist/classInstancePane.esm.js +50 -0
- package/dist/classInstancePane.esm.js.map +1 -0
- package/dist/components/file-explorer-header/FileExplorerHeader.cjs.js +14 -0
- package/dist/components/file-explorer-header/FileExplorerHeader.cjs.js.map +1 -0
- package/dist/components/file-explorer-header/FileExplorerHeader.d.ts +19 -0
- package/dist/components/file-explorer-header/FileExplorerHeader.d.ts.map +1 -0
- package/dist/components/file-explorer-header/FileExplorerHeader.esm.js +292 -0
- package/dist/components/file-explorer-header/FileExplorerHeader.esm.js.map +1 -0
- package/dist/components/file-explorer-header/FileExplorerHeader.styles.cjs.js +2 -0
- package/dist/components/file-explorer-header/FileExplorerHeader.styles.cjs.js.map +1 -0
- package/dist/components/file-explorer-header/FileExplorerHeader.styles.esm.js +7 -0
- package/dist/components/file-explorer-header/FileExplorerHeader.styles.esm.js.map +1 -0
- package/dist/components/file-explorer-header/FileExplorerHeaderControls.cjs.js +22 -0
- package/dist/components/file-explorer-header/FileExplorerHeaderControls.cjs.js.map +1 -0
- package/dist/components/file-explorer-header/FileExplorerHeaderControls.d.ts +15 -0
- package/dist/components/file-explorer-header/FileExplorerHeaderControls.d.ts.map +1 -0
- package/dist/components/file-explorer-header/FileExplorerHeaderControls.esm.js +266 -0
- package/dist/components/file-explorer-header/FileExplorerHeaderControls.esm.js.map +1 -0
- package/dist/components/file-explorer-header/FileExplorerHeaderControls.styles.cjs.js +2 -0
- package/dist/components/file-explorer-header/FileExplorerHeaderControls.styles.cjs.js.map +1 -0
- package/dist/components/file-explorer-header/FileExplorerHeaderControls.styles.esm.js +7 -0
- package/dist/components/file-explorer-header/FileExplorerHeaderControls.styles.esm.js.map +1 -0
- package/dist/components/file-explorer-header/FileExplorerHeaderSummary.cjs.js +19 -0
- package/dist/components/file-explorer-header/FileExplorerHeaderSummary.cjs.js.map +1 -0
- package/dist/components/file-explorer-header/FileExplorerHeaderSummary.d.ts +19 -0
- package/dist/components/file-explorer-header/FileExplorerHeaderSummary.d.ts.map +1 -0
- package/dist/components/file-explorer-header/FileExplorerHeaderSummary.esm.js +321 -0
- package/dist/components/file-explorer-header/FileExplorerHeaderSummary.esm.js.map +1 -0
- package/dist/components/file-explorer-header/FileExplorerHeaderSummary.styles.cjs.js +2 -0
- package/dist/components/file-explorer-header/FileExplorerHeaderSummary.styles.cjs.js.map +1 -0
- package/dist/components/file-explorer-header/FileExplorerHeaderSummary.styles.esm.js +7 -0
- package/dist/components/file-explorer-header/FileExplorerHeaderSummary.styles.esm.js.map +1 -0
- package/dist/components/file-explorer-header/FileExplorerProvider.cjs.js +13 -0
- package/dist/components/file-explorer-header/FileExplorerProvider.cjs.js.map +1 -0
- package/dist/components/file-explorer-header/FileExplorerProvider.d.ts +36 -0
- package/dist/components/file-explorer-header/FileExplorerProvider.d.ts.map +1 -0
- package/dist/components/file-explorer-header/FileExplorerProvider.esm.js +468 -0
- package/dist/components/file-explorer-header/FileExplorerProvider.esm.js.map +1 -0
- package/dist/components/file-explorer-header/FileExplorerProvider.styles.cjs.js +2 -0
- package/dist/components/file-explorer-header/FileExplorerProvider.styles.cjs.js.map +1 -0
- package/dist/components/file-explorer-header/FileExplorerProvider.styles.esm.js +7 -0
- package/dist/components/file-explorer-header/FileExplorerProvider.styles.esm.js.map +1 -0
- package/dist/components/file-explorer-header/helper.cjs.js +2 -0
- package/dist/components/file-explorer-header/helper.cjs.js.map +1 -0
- package/dist/components/file-explorer-header/helper.d.ts +15 -0
- package/dist/components/file-explorer-header/helper.d.ts.map +1 -0
- package/dist/components/file-explorer-header/helper.esm.js +64 -0
- package/dist/components/file-explorer-header/helper.esm.js.map +1 -0
- package/dist/components/file-explorer-header/types.d.ts +2 -0
- package/dist/components/file-explorer-header/types.d.ts.map +1 -0
- package/dist/components/header/Header.cjs.js +19 -0
- package/dist/components/header/Header.cjs.js.map +1 -0
- package/dist/components/header/Header.d.ts +8 -0
- package/dist/components/header/Header.d.ts.map +1 -0
- package/dist/components/header/Header.esm.js +228 -0
- package/dist/components/header/Header.esm.js.map +1 -0
- package/dist/components/header/Header.styles.cjs.js +2 -0
- package/dist/components/header/Header.styles.cjs.js.map +1 -0
- package/dist/components/header/Header.styles.esm.js +7 -0
- package/dist/components/header/Header.styles.esm.js.map +1 -0
- package/dist/components/header/index.cjs.js +1 -0
- package/dist/components/header/index.d.ts +4 -0
- package/dist/components/header/index.d.ts.map +1 -0
- package/dist/components/header/index.esm.js +1 -0
- package/dist/components/navbar/Navbar.cjs.js +15 -0
- package/dist/components/navbar/Navbar.cjs.js.map +1 -0
- package/dist/components/navbar/Navbar.d.ts +14 -0
- package/dist/components/navbar/Navbar.d.ts.map +1 -0
- package/dist/components/navbar/Navbar.esm.js +232 -0
- package/dist/components/navbar/Navbar.esm.js.map +1 -0
- package/dist/components/navbar/Navbar.styles.cjs.js +2 -0
- package/dist/components/navbar/Navbar.styles.cjs.js.map +1 -0
- package/dist/components/navbar/Navbar.styles.esm.js +7 -0
- package/dist/components/navbar/Navbar.styles.esm.js.map +1 -0
- package/dist/components/navbar/index.cjs.js +1 -0
- package/dist/components/navbar/index.d.ts +4 -0
- package/dist/components/navbar/index.d.ts.map +1 -0
- package/dist/components/navbar/index.esm.js +1 -0
- package/dist/components/resource-actions-menu/DeleteResourceDialog.cjs.js +16 -0
- package/dist/components/resource-actions-menu/DeleteResourceDialog.cjs.js.map +1 -0
- package/dist/components/resource-actions-menu/DeleteResourceDialog.d.ts +8 -0
- package/dist/components/resource-actions-menu/DeleteResourceDialog.d.ts.map +1 -0
- package/dist/components/resource-actions-menu/DeleteResourceDialog.esm.js +215 -0
- package/dist/components/resource-actions-menu/DeleteResourceDialog.esm.js.map +1 -0
- package/dist/components/resource-actions-menu/ResourceActionsMenu.cjs.js +18 -0
- package/dist/components/resource-actions-menu/ResourceActionsMenu.cjs.js.map +1 -0
- package/dist/components/resource-actions-menu/ResourceActionsMenu.d.ts +16 -0
- package/dist/components/resource-actions-menu/ResourceActionsMenu.d.ts.map +1 -0
- package/dist/components/resource-actions-menu/ResourceActionsMenu.esm.js +260 -0
- package/dist/components/resource-actions-menu/ResourceActionsMenu.esm.js.map +1 -0
- package/dist/dashboard/basicPreferences.cjs.js +2 -0
- package/dist/dashboard/basicPreferences.cjs.js.map +1 -0
- package/dist/dashboard/basicPreferences.d.ts +1 -1
- package/dist/dashboard/basicPreferences.esm.js +70 -0
- package/dist/dashboard/basicPreferences.esm.js.map +1 -0
- package/dist/dashboard/dashboardPane.cjs.js +2 -0
- package/dist/dashboard/dashboardPane.cjs.js.map +1 -0
- package/dist/dashboard/dashboardPane.d.ts +1 -1
- package/dist/dashboard/dashboardPane.esm.js +7 -0
- package/dist/dashboard/dashboardPane.esm.js.map +1 -0
- package/dist/dashboard/homepage.cjs.js +2 -0
- package/dist/dashboard/homepage.cjs.js.map +1 -0
- package/dist/dashboard/homepage.d.ts +1 -1
- package/dist/dashboard/homepage.esm.js +26 -0
- package/dist/dashboard/homepage.esm.js.map +1 -0
- package/dist/dashboard/ontologyData.cjs.js +37 -0
- package/dist/dashboard/ontologyData.cjs.js.map +1 -0
- package/dist/dashboard/ontologyData.esm.js +6 -0
- package/dist/dashboard/ontologyData.esm.js.map +1 -0
- package/dist/dashboard/preferencesFormText.cjs.js +20 -0
- package/dist/dashboard/preferencesFormText.cjs.js.map +1 -0
- package/dist/dashboard/preferencesFormText.esm.js +6 -0
- package/dist/dashboard/preferencesFormText.esm.js.map +1 -0
- package/dist/dataContentPane.d.ts +2 -3
- package/dist/dataContentPane2.cjs.js +2 -0
- package/dist/dataContentPane2.cjs.js.map +1 -0
- package/dist/dataContentPane2.esm.js +109 -0
- package/dist/dataContentPane2.esm.js.map +1 -0
- package/dist/defaultPane.d.ts +2 -3
- package/dist/defaultPane2.cjs.js +2 -0
- package/dist/defaultPane2.cjs.js.map +1 -0
- package/dist/defaultPane2.esm.js +41 -0
- package/dist/defaultPane2.esm.js.map +1 -0
- package/dist/dev.d.ts +10 -0
- package/dist/dev.d.ts.map +1 -0
- package/dist/dokieli/dokieliPane.cjs.js +2 -0
- package/dist/dokieli/dokieliPane.cjs.js.map +1 -0
- package/dist/dokieli/dokieliPane.esm.js +39 -0
- package/dist/dokieli/dokieliPane.esm.js.map +1 -0
- package/dist/dokieli/{new.js → new.cjs.js} +4 -10
- package/dist/dokieli/new.cjs.js.map +1 -0
- package/dist/dokieli/new.esm.js +6 -0
- package/dist/dokieli/new.esm.js.map +1 -0
- package/dist/form/pane.cjs.js +4 -0
- package/dist/form/pane.cjs.js.map +1 -0
- package/dist/form/pane.d.ts +1 -2
- package/dist/form/pane.esm.js +122 -0
- package/dist/form/pane.esm.js.map +1 -0
- package/dist/home/homePane.cjs.js +2 -0
- package/dist/home/homePane.cjs.js.map +1 -0
- package/dist/home/homePane.d.ts +1 -1
- package/dist/home/homePane.esm.js +35 -0
- package/dist/home/homePane.esm.js.map +1 -0
- package/dist/humanReadablePane.d.ts +2 -3
- package/dist/humanReadablePane2.cjs.js +2 -0
- package/dist/humanReadablePane2.cjs.js.map +1 -0
- package/dist/humanReadablePane2.esm.js +123 -0
- package/dist/humanReadablePane2.esm.js.map +1 -0
- package/dist/icons/folder.cjs.js +2 -0
- package/dist/icons/folder.cjs.js.map +1 -0
- package/dist/icons/folder.esm.js +6 -0
- package/dist/icons/folder.esm.js.map +1 -0
- package/dist/icons/friends.cjs.js +2 -0
- package/dist/icons/friends.cjs.js.map +1 -0
- package/dist/icons/friends.esm.js +6 -0
- package/dist/icons/friends.esm.js.map +1 -0
- package/dist/icons/person.cjs.js +2 -0
- package/dist/icons/person.cjs.js.map +1 -0
- package/dist/icons/person.esm.js +6 -0
- package/dist/icons/person.esm.js.map +1 -0
- package/dist/imagePane.d.ts +2 -3
- package/dist/imagePane2.cjs.js +2 -0
- package/dist/imagePane2.cjs.js.map +1 -0
- package/dist/imagePane2.esm.js +32 -0
- package/dist/imagePane2.esm.js.map +1 -0
- package/dist/index.cjs.js +2 -0
- package/dist/index.cjs.js.map +1 -0
- package/dist/index.d.ts +4 -4
- package/dist/index.esm.js +31 -0
- package/dist/index.esm.js.map +1 -0
- package/dist/internal/internalPane.d.ts +1 -2
- package/dist/internal/internalPane2.cjs.js +2 -0
- package/dist/internal/internalPane2.cjs.js.map +1 -0
- package/dist/internal/internalPane2.esm.js +104 -0
- package/dist/internal/internalPane2.esm.js.map +1 -0
- package/dist/mainPage/header.cjs.js +2 -0
- package/dist/mainPage/header.cjs.js.map +1 -0
- package/dist/mainPage/header.d.ts +1 -15
- package/dist/mainPage/header.d.ts.map +1 -1
- package/dist/mainPage/header.esm.js +72 -0
- package/dist/mainPage/header.esm.js.map +1 -0
- package/dist/mainPage/index.cjs.js +2 -0
- package/dist/mainPage/index.cjs.js.map +1 -0
- package/dist/mainPage/index.d.ts +3 -15
- package/dist/mainPage/index.d.ts.map +1 -1
- package/dist/mainPage/index.esm.js +36 -0
- package/dist/mainPage/index.esm.js.map +1 -0
- package/dist/mainPage/navbar.cjs.js +2 -0
- package/dist/mainPage/navbar.cjs.js.map +1 -0
- package/dist/mainPage/navbar.d.ts +3 -0
- package/dist/mainPage/navbar.d.ts.map +1 -0
- package/dist/mainPage/navbar.esm.js +66 -0
- package/dist/mainPage/navbar.esm.js.map +1 -0
- package/dist/n3Pane.d.ts +2 -3
- package/dist/n3Pane2.cjs.js +3 -0
- package/dist/n3Pane2.cjs.js.map +1 -0
- package/dist/n3Pane2.esm.js +52 -0
- package/dist/n3Pane2.esm.js.map +1 -0
- package/dist/outline/context.cjs.js +2 -0
- package/dist/outline/context.cjs.js.map +1 -0
- package/dist/outline/context.d.ts +3 -3
- package/dist/outline/context.esm.js +18 -0
- package/dist/outline/context.esm.js.map +1 -0
- package/dist/outline/manager2.cjs.js +2 -0
- package/dist/outline/manager2.cjs.js.map +1 -0
- package/dist/outline/manager2.esm.js +711 -0
- package/dist/outline/manager2.esm.js.map +1 -0
- package/dist/outline/outlineIcons.cjs.js +2 -0
- package/dist/outline/outlineIcons.cjs.js.map +1 -0
- package/dist/outline/outlineIcons.esm.js +10 -0
- package/dist/outline/outlineIcons.esm.js.map +1 -0
- package/dist/outline/propertyViews.cjs.js +2 -0
- package/dist/outline/propertyViews.cjs.js.map +1 -0
- package/dist/outline/propertyViews.esm.js +19 -0
- package/dist/outline/propertyViews.esm.js.map +1 -0
- package/dist/outline/queryByExample.cjs.js +2 -0
- package/dist/outline/queryByExample.cjs.js.map +1 -0
- package/dist/outline/queryByExample.esm.js +26 -0
- package/dist/outline/queryByExample.esm.js.map +1 -0
- package/dist/outline/sourcePaneIcon.d.ts +2 -0
- package/dist/outline/sourcePaneIcon.d.ts.map +1 -0
- package/dist/outline/userInput.cjs.js +61 -0
- package/dist/outline/userInput.cjs.js.map +1 -0
- package/dist/outline/userInput.esm.js +784 -0
- package/dist/outline/userInput.esm.js.map +1 -0
- package/dist/outline/viewAsImage.cjs.js +2 -0
- package/dist/outline/viewAsImage.cjs.js.map +1 -0
- package/dist/outline/viewAsImage.esm.js +10 -0
- package/dist/outline/viewAsImage.esm.js.map +1 -0
- package/dist/outline/viewAsMbox.cjs.js +2 -0
- package/dist/outline/viewAsMbox.cjs.js.map +1 -0
- package/dist/outline/viewAsMbox.esm.js +9 -0
- package/dist/outline/viewAsMbox.esm.js.map +1 -0
- package/dist/pad/padPane.d.ts +1 -2
- package/dist/pad/padPane2.cjs.js +2 -0
- package/dist/pad/padPane2.cjs.js.map +1 -0
- package/dist/pad/padPane2.esm.js +173 -0
- package/dist/pad/padPane2.esm.js.map +1 -0
- package/dist/playlist/playlistPane.cjs.js +2 -0
- package/dist/playlist/playlistPane.cjs.js.map +1 -0
- package/dist/playlist/playlistPane.esm.js +49 -0
- package/dist/playlist/playlistPane.esm.js.map +1 -0
- package/dist/registerPanes.cjs.js +2 -0
- package/dist/registerPanes.cjs.js.map +1 -0
- package/dist/registerPanes.esm.js +46 -0
- package/dist/registerPanes.esm.js.map +1 -0
- package/dist/schedule/formsForSchedule.cjs.js +117 -0
- package/dist/schedule/formsForSchedule.cjs.js.map +1 -0
- package/dist/schedule/formsForSchedule.esm.js +6 -0
- package/dist/schedule/formsForSchedule.esm.js.map +1 -0
- package/dist/schedule/schedulePane.d.ts +2 -4
- package/dist/schedule/schedulePane2.cjs.js +8 -0
- package/dist/schedule/schedulePane2.cjs.js.map +1 -0
- package/dist/schedule/schedulePane2.esm.js +385 -0
- package/dist/schedule/schedulePane2.esm.js.map +1 -0
- package/dist/sharing/sharingPane.cjs.js +2 -0
- package/dist/sharing/sharingPane.cjs.js.map +1 -0
- package/dist/sharing/sharingPane.esm.js +22 -0
- package/dist/sharing/sharingPane.esm.js.map +1 -0
- package/dist/slideshow/slideshowPane.cjs.js +2 -0
- package/dist/slideshow/slideshowPane.cjs.js.map +1 -0
- package/dist/slideshow/slideshowPane.esm.js +46 -0
- package/dist/slideshow/slideshowPane.esm.js.map +1 -0
- package/dist/social/editProfileDetails.cjs.js +2 -0
- package/dist/social/editProfileDetails.cjs.js.map +1 -0
- package/dist/social/editProfileDetails.d.ts +1 -2
- package/dist/social/editProfileDetails.esm.js +12 -0
- package/dist/social/editProfileDetails.esm.js.map +1 -0
- package/dist/social/icons.cjs.js +82 -0
- package/dist/social/icons.cjs.js.map +1 -0
- package/dist/social/{icons.js → icons.esm.js} +12 -18
- package/dist/social/icons.esm.js.map +1 -0
- package/dist/social/socialPane.d.ts +2 -3
- package/dist/social/socialPane2.cjs.js +6 -0
- package/dist/social/socialPane2.cjs.js.map +1 -0
- package/dist/social/socialPane2.esm.js +326 -0
- package/dist/social/socialPane2.esm.js.map +1 -0
- package/dist/social/socialSections.cjs.js +2 -0
- package/dist/social/socialSections.cjs.js.map +1 -0
- package/dist/social/socialSections.d.ts +2 -2
- package/dist/social/socialSections.esm.js +222 -0
- package/dist/social/socialSections.esm.js.map +1 -0
- package/dist/social/spinner.cjs.js +1 -0
- package/dist/social/spinner.esm.js +1 -0
- package/dist/social/triage.cjs.js +2 -0
- package/dist/social/triage.cjs.js.map +1 -0
- package/dist/social/triage.d.ts +2 -2
- package/dist/social/triage.esm.js +44 -0
- package/dist/social/triage.esm.js.map +1 -0
- package/dist/tabbed/tabbedPane.cjs.js +2 -0
- package/dist/tabbed/tabbedPane.cjs.js.map +1 -0
- package/dist/tabbed/tabbedPane.d.ts +1 -1
- package/dist/tabbed/tabbedPane.esm.js +38 -0
- package/dist/tabbed/tabbedPane.esm.js.map +1 -0
- package/dist/tableViewPane.cjs.js +2 -0
- package/dist/tableViewPane.cjs.js.map +1 -0
- package/dist/tableViewPane.esm.js +20 -0
- package/dist/tableViewPane.esm.js.map +1 -0
- package/dist/transaction/pane.cjs.js +8 -0
- package/dist/transaction/pane.cjs.js.map +1 -0
- package/dist/transaction/pane.esm.js +212 -0
- package/dist/transaction/pane.esm.js.map +1 -0
- package/dist/transaction/period.cjs.js +4 -0
- package/dist/transaction/period.cjs.js.map +1 -0
- package/dist/transaction/period.esm.js +126 -0
- package/dist/transaction/period.esm.js.map +1 -0
- package/dist/trip/tripPane.cjs.js +2 -0
- package/dist/trip/tripPane.cjs.js.map +1 -0
- package/dist/trip/tripPane.esm.js +85 -0
- package/dist/trip/tripPane.esm.js.map +1 -0
- package/dist/trustedApplications/trustedApplications.dom.cjs.js +2 -0
- package/dist/trustedApplications/trustedApplications.dom.cjs.js.map +1 -0
- package/dist/trustedApplications/trustedApplications.dom.d.ts +1 -1
- package/dist/trustedApplications/trustedApplications.dom.esm.js +108 -0
- package/dist/trustedApplications/trustedApplications.dom.esm.js.map +1 -0
- package/dist/trustedApplications/trustedApplications.utils.cjs.js +2 -0
- package/dist/trustedApplications/trustedApplications.utils.cjs.js.map +1 -0
- package/dist/trustedApplications/trustedApplications.utils.d.ts +1 -1
- package/dist/trustedApplications/trustedApplications.utils.esm.js +20 -0
- package/dist/trustedApplications/trustedApplications.utils.esm.js.map +1 -0
- package/dist/trustedApplications/trustedApplications.view.cjs.js +2 -0
- package/dist/trustedApplications/trustedApplications.view.cjs.js.map +1 -0
- package/dist/trustedApplications/trustedApplications.view.d.ts +1 -1
- package/dist/trustedApplications/trustedApplications.view.esm.js +41 -0
- package/dist/trustedApplications/trustedApplications.view.esm.js.map +1 -0
- package/dist/ui/pane.cjs.js +4 -0
- package/dist/ui/pane.cjs.js.map +1 -0
- package/dist/ui/pane.esm.js +56 -0
- package/dist/ui/pane.esm.js.map +1 -0
- package/dist/utils/paneUtils.cjs.js +2 -0
- package/dist/utils/paneUtils.cjs.js.map +1 -0
- package/dist/utils/paneUtils.d.ts +19 -0
- package/dist/utils/paneUtils.d.ts.map +1 -0
- package/dist/utils/paneUtils.esm.js +52 -0
- package/dist/utils/paneUtils.esm.js.map +1 -0
- package/dist/utils/podUtils.cjs.js +2 -0
- package/dist/utils/podUtils.cjs.js.map +1 -0
- package/dist/utils/podUtils.d.ts +4 -0
- package/dist/utils/podUtils.d.ts.map +1 -0
- package/dist/utils/podUtils.esm.js +46 -0
- package/dist/utils/podUtils.esm.js.map +1 -0
- package/dist/utils/webIdUtils.cjs.js +2 -0
- package/dist/utils/webIdUtils.cjs.js.map +1 -0
- package/dist/utils/webIdUtils.d.ts +6 -0
- package/dist/utils/webIdUtils.d.ts.map +1 -0
- package/dist/utils/webIdUtils.esm.js +48 -0
- package/dist/utils/webIdUtils.esm.js.map +1 -0
- package/dist/versionInfo.cjs.js +2 -0
- package/dist/versionInfo.cjs.js.map +1 -0
- package/dist/versionInfo.esm.js +40 -0
- package/dist/versionInfo.esm.js.map +1 -0
- package/dist/video/videoPane.cjs.js +2 -0
- package/dist/video/videoPane.cjs.js.map +1 -0
- package/dist/video/videoPane.esm.js +25 -0
- package/dist/video/videoPane.esm.js.map +1 -0
- package/package.json +51 -66
- package/dist/0314353e28ce6e5539af.svg +0 -9
- 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 +0 -6
- 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 +0 -9
- package/dist/92d03142abe6efc0b42d.svg +0 -6
- package/dist/976473cf5fe24d657d4b.png +0 -0
- package/dist/RDFXMLPane.css +0 -70
- package/dist/RDFXMLPane.js +0 -100
- package/dist/argument/argumentPane.js +0 -60
- package/dist/attach/attachPane.js +0 -393
- package/dist/audio/audioPane.js +0 -181
- package/dist/bda84f59e7216675a208.png +0 -0
- package/dist/cd68e8f3990ba8b2139e.png +0 -0
- package/dist/classInstancePane.js +0 -91
- package/dist/dashboard/basicPreferences.js +0 -147
- package/dist/dashboard/dashboardPane.js +0 -73
- package/dist/dashboard/homepage.js +0 -42
- package/dist/dataContentPane.css +0 -271
- package/dist/dataContentPane.js +0 -226
- package/dist/defaultPane.css +0 -97
- package/dist/defaultPane.js +0 -81
- package/dist/dokieli/dokieliPane.js +0 -74
- package/dist/e7074a7e2cb69e51cfd3.png +0 -0
- package/dist/f3772696fb7ee53c23d8.png +0 -0
- package/dist/form/formPane.css +0 -120
- package/dist/form/pane.js +0 -250
- package/dist/home/homePane.js +0 -74
- package/dist/humanReadablePane.css +0 -129
- package/dist/humanReadablePane.js +0 -243
- package/dist/icons/clock.svg +0 -7
- package/dist/icons/comment.svg +0 -6
- package/dist/icons/dashboard.svg +0 -9
- package/dist/icons/downArrow.svg +0 -6
- package/dist/icons/folder.svg +0 -6
- package/dist/icons/friends.svg +0 -9
- package/dist/icons/help.svg +0 -8
- package/dist/icons/iconHelper.js +0 -23
- package/dist/icons/menu.svg +0 -8
- package/dist/icons/person.svg +0 -6
- package/dist/icons/personInCircle.svg +0 -8
- package/dist/icons/sharing.svg +0 -10
- package/dist/icons/signOut.svg +0 -8
- package/dist/icons/signUp.svg +0 -9
- package/dist/icons/star.svg +0 -3
- package/dist/imagePane.css +0 -4
- package/dist/imagePane.js +0 -67
- package/dist/index.js +0 -123
- package/dist/internal/internalPane.css +0 -14
- package/dist/internal/internalPane.js +0 -183
- package/dist/mainPage/footer.d.ts +0 -15
- package/dist/mainPage/footer.d.ts.map +0 -1
- package/dist/mainPage/footer.js +0 -29
- package/dist/mainPage/header.js +0 -203
- package/dist/mainPage/index.js +0 -78
- package/dist/mainPage/menu.css +0 -243
- package/dist/mainPage/menu.d.ts +0 -7
- package/dist/mainPage/menu.d.ts.map +0 -1
- package/dist/mainPage/menu.js +0 -436
- package/dist/microblogPane/mbStyle.css +0 -267
- package/dist/microblogPane/microblogPane.js +0 -1031
- package/dist/n3Pane.css +0 -49
- package/dist/n3Pane.js +0 -88
- package/dist/outline/context.js +0 -21
- package/dist/outline/manager.css +0 -78
- package/dist/outline/manager.js +0 -2115
- package/dist/outline/outlineIcons.js +0 -126
- package/dist/outline/propertyViews.js +0 -43
- package/dist/outline/queryByExample.js +0 -285
- package/dist/outline/userInput.js +0 -1821
- package/dist/outline/viewAsImage.js +0 -14
- package/dist/outline/viewAsMbox.js +0 -21
- package/dist/pad/padPane.css +0 -40
- package/dist/pad/padPane.js +0 -421
- package/dist/playlist/playlistPane.js +0 -119
- package/dist/profileUtils/ownerProfile.d.ts +0 -5
- package/dist/profileUtils/ownerProfile.d.ts.map +0 -1
- package/dist/profileUtils/ownerProfile.js +0 -84
- package/dist/registerPanes.js +0 -145
- package/dist/schedule/schedulePane.css +0 -294
- package/dist/schedule/schedulePane.js +0 -1022
- package/dist/sharing/sharingPane.js +0 -48
- package/dist/slideshow/slideshowPane.js +0 -79
- package/dist/social/editProfileDetails.js +0 -362
- package/dist/social/socialPane.css +0 -1464
- package/dist/social/socialPane.js +0 -651
- package/dist/social/socialSections.js +0 -393
- package/dist/social/spinner.js +0 -13
- package/dist/social/triage.js +0 -79
- package/dist/solid-panes.js +0 -85630
- package/dist/solid-panes.js.map +0 -1
- package/dist/solid-panes.min.js +0 -3933
- package/dist/solid-panes.min.js.map +0 -1
- package/dist/styles/tabbedtab.css +0 -1066
- package/dist/styles/utilities.css +0 -5
- package/dist/tabbed/tabbedPane.js +0 -59
- package/dist/tableViewPane.js +0 -56
- package/dist/transaction/pane.js +0 -477
- package/dist/transaction/period.js +0 -323
- package/dist/trip/tripPane.js +0 -174
- package/dist/trustedApplications/trustedApplications.dom.js +0 -145
- package/dist/trustedApplications/trustedApplications.utils.js +0 -23
- package/dist/trustedApplications/trustedApplications.view.js +0 -55
- package/dist/ui/pane.js +0 -146
- package/dist/versionInfo.js +0 -41
- package/dist/video/videoPane.js +0 -42
package/dist/RDFXMLPane.css
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
.rdfxml-pane {
|
|
2
|
-
padding: 1rem;
|
|
3
|
-
border-top: solid 2px var(--color-data-pane-border-top, black);
|
|
4
|
-
border-left: solid 2px var(--color-data-pane-border-top, black);
|
|
5
|
-
border-bottom: solid 2px var(--color-data-pane-border-side, #777);
|
|
6
|
-
border-right: solid 2px var(--color-data-pane-border-side, #777);
|
|
7
|
-
color: var(--color-text-brown, #440);
|
|
8
|
-
box-sizing: border-box;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.rdfxml-pane__source {
|
|
12
|
-
overflow-x: auto;
|
|
13
|
-
max-width: 100%;
|
|
14
|
-
box-sizing: border-box;
|
|
15
|
-
font-family: monospace;
|
|
16
|
-
font-size: 120%;
|
|
17
|
-
margin: 0;
|
|
18
|
-
white-space: pre;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.rdfxml-pane__line {
|
|
22
|
-
display: grid;
|
|
23
|
-
grid-template-columns: var(--rdfxml-indent, 0) minmax(max-content, auto);
|
|
24
|
-
align-items: start;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.rdfxml-pane__line-indent {
|
|
28
|
-
display: block;
|
|
29
|
-
width: var(--rdfxml-indent, 0);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.rdfxml-pane__line-content {
|
|
33
|
-
white-space: pre;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.rdfxml-pane[data-layout='mobile'] .rdfxml-pane__source {
|
|
37
|
-
overflow-wrap: anywhere;
|
|
38
|
-
word-break: break-word;
|
|
39
|
-
white-space: normal;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.rdfxml-pane[data-layout='mobile'] .rdfxml-pane__line {
|
|
43
|
-
grid-template-columns: var(--rdfxml-indent, 0) minmax(0, 1fr);
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.rdfxml-pane[data-layout='mobile'] .rdfxml-pane__line-content {
|
|
47
|
-
white-space: pre-wrap;
|
|
48
|
-
overflow-wrap: anywhere;
|
|
49
|
-
word-break: break-word;
|
|
50
|
-
min-width: 0;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
@media (max-width: 576px) {
|
|
54
|
-
.rdfxml-pane__source {
|
|
55
|
-
overflow-wrap: anywhere;
|
|
56
|
-
word-break: break-word;
|
|
57
|
-
white-space: normal;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.rdfxml-pane__line {
|
|
61
|
-
grid-template-columns: var(--rdfxml-indent, 0) minmax(0, 1fr);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.rdfxml-pane__line-content {
|
|
65
|
-
white-space: pre-wrap;
|
|
66
|
-
overflow-wrap: anywhere;
|
|
67
|
-
word-break: break-word;
|
|
68
|
-
min-width: 0;
|
|
69
|
-
}
|
|
70
|
-
}
|
package/dist/RDFXMLPane.js
DELETED
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.RDFXMLPane = void 0;
|
|
7
|
-
var UI = _interopRequireWildcard(require("solid-ui"));
|
|
8
|
-
var $rdf = _interopRequireWildcard(require("rdflib"));
|
|
9
|
-
require("./RDFXMLPane.css");
|
|
10
|
-
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); }
|
|
11
|
-
/* RDF/XML content Pane
|
|
12
|
-
**
|
|
13
|
-
** This pane shows the content of a particular RDF resource
|
|
14
|
-
** or at least the RDF semantics we attribute to that resource,
|
|
15
|
-
** in generated N3 syntax.
|
|
16
|
-
*/
|
|
17
|
-
|
|
18
|
-
const ns = UI.ns;
|
|
19
|
-
function leadingIndentWidth(line) {
|
|
20
|
-
if (line.trim().length === 0) {
|
|
21
|
-
return 0;
|
|
22
|
-
}
|
|
23
|
-
let width = 0;
|
|
24
|
-
for (const character of line) {
|
|
25
|
-
if (character === ' ') {
|
|
26
|
-
width += 1;
|
|
27
|
-
continue;
|
|
28
|
-
}
|
|
29
|
-
if (character === '\t') {
|
|
30
|
-
width += 2;
|
|
31
|
-
continue;
|
|
32
|
-
}
|
|
33
|
-
break;
|
|
34
|
-
}
|
|
35
|
-
return Math.max(width, 2);
|
|
36
|
-
}
|
|
37
|
-
function trimLeadingIndent(line) {
|
|
38
|
-
return line.replace(/^[ \t]+/, '');
|
|
39
|
-
}
|
|
40
|
-
const RDFXMLPane = exports.RDFXMLPane = {
|
|
41
|
-
icon: UI.icons.originalIconBase + '22-text-xml4.png',
|
|
42
|
-
name: 'RDFXML',
|
|
43
|
-
audience: [ns.solid('Developer')],
|
|
44
|
-
label: function (subject, context) {
|
|
45
|
-
const store = context.session.store;
|
|
46
|
-
if ('http://www.w3.org/2007/ont/link#ProtocolEvent' in store.findTypeURIs(subject)) {
|
|
47
|
-
return null;
|
|
48
|
-
}
|
|
49
|
-
const n = store.statementsMatching(undefined, undefined, undefined, subject).length;
|
|
50
|
-
if (n === 0) return null;
|
|
51
|
-
return 'As RDF/XML (' + n + ')';
|
|
52
|
-
},
|
|
53
|
-
render: function (subject, context) {
|
|
54
|
-
const myDocument = context.dom;
|
|
55
|
-
const kb = context.session.store;
|
|
56
|
-
function applyEnvironmentAttributes(element) {
|
|
57
|
-
const environment = context.environment ?? {};
|
|
58
|
-
element.dataset.layout = environment.layout ?? 'desktop';
|
|
59
|
-
}
|
|
60
|
-
const div = myDocument.createElement('div');
|
|
61
|
-
div.setAttribute('class', 'rdfxml-pane');
|
|
62
|
-
applyEnvironmentAttributes(div);
|
|
63
|
-
// Because of smushing etc, this will not be a copy of the original source
|
|
64
|
-
// We could instead either fetch and re-parse the source,
|
|
65
|
-
// or we could keep all the pre-smushed triples.
|
|
66
|
-
const sts = kb.statementsMatching(undefined, undefined, undefined, subject); // @@ slow with current store!
|
|
67
|
-
/*
|
|
68
|
-
var kludge = kb.formula([]) // No features
|
|
69
|
-
for (var i=0; i< sts.length; i++) {
|
|
70
|
-
s = sts[i]
|
|
71
|
-
kludge.add(s.subject, s.predicate, s.object)
|
|
72
|
-
}
|
|
73
|
-
*/
|
|
74
|
-
const sz = $rdf.Serializer(kb);
|
|
75
|
-
sz.suggestNamespaces(kb.namespaces);
|
|
76
|
-
sz.setBase(subject.uri);
|
|
77
|
-
const str = sz.statementsToXML(sts);
|
|
78
|
-
const source = myDocument.createElement('div');
|
|
79
|
-
source.classList.add('rdfxml-pane__source');
|
|
80
|
-
str.split('\n').forEach(line => {
|
|
81
|
-
const lineElement = myDocument.createElement('div');
|
|
82
|
-
const indentElement = myDocument.createElement('span');
|
|
83
|
-
const contentElement = myDocument.createElement('span');
|
|
84
|
-
const indentWidth = leadingIndentWidth(line);
|
|
85
|
-
lineElement.classList.add('rdfxml-pane__line');
|
|
86
|
-
lineElement.style.setProperty('--rdfxml-indent', `${indentWidth}ch`);
|
|
87
|
-
indentElement.classList.add('rdfxml-pane__line-indent');
|
|
88
|
-
indentElement.setAttribute('aria-hidden', 'true');
|
|
89
|
-
contentElement.classList.add('rdfxml-pane__line-content');
|
|
90
|
-
contentElement.textContent = line.length > 0 ? trimLeadingIndent(line) : ' ';
|
|
91
|
-
lineElement.appendChild(indentElement);
|
|
92
|
-
lineElement.appendChild(contentElement);
|
|
93
|
-
source.appendChild(lineElement);
|
|
94
|
-
});
|
|
95
|
-
div.appendChild(source);
|
|
96
|
-
return div;
|
|
97
|
-
}
|
|
98
|
-
};
|
|
99
|
-
|
|
100
|
-
// ends
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var _solidLogic = require("solid-logic");
|
|
8
|
-
var UI = _interopRequireWildcard(require("solid-ui"));
|
|
9
|
-
var panes = _interopRequireWildcard(require("pane-registry"));
|
|
10
|
-
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); }
|
|
11
|
-
/* View argument Pane
|
|
12
|
-
**
|
|
13
|
-
** This pane shows a position and optionally the positions which
|
|
14
|
-
** support or oppose it.
|
|
15
|
-
** @@ Unfinsihed.
|
|
16
|
-
** Should allow editing the data too
|
|
17
|
-
|
|
18
|
-
*/
|
|
19
|
-
// console.log('@@@ argument pane icon at ' + (module.__dirname || __dirname) + '/icon_argument.png')
|
|
20
|
-
var _default = exports.default = {
|
|
21
|
-
icon: (module.__dirname || __dirname) + '/icon_argument.png',
|
|
22
|
-
// @@ fix fro mashlib version
|
|
23
|
-
|
|
24
|
-
name: 'argument',
|
|
25
|
-
label: function (subject) {
|
|
26
|
-
const kb = _solidLogic.store;
|
|
27
|
-
const t = kb.findTypeURIs(subject);
|
|
28
|
-
if (t[UI.ns.arg('Position').uri]) return 'Argument';
|
|
29
|
-
return null;
|
|
30
|
-
},
|
|
31
|
-
// View the data in a file in user-friendly way
|
|
32
|
-
render: function (subject, dom) {
|
|
33
|
-
const outliner = panes.getOutliner(dom);
|
|
34
|
-
const kb = _solidLogic.store;
|
|
35
|
-
const arg = UI.ns.arg;
|
|
36
|
-
subject = kb.canon(subject);
|
|
37
|
-
// var types = kb.findTypeURIs(subject)
|
|
38
|
-
|
|
39
|
-
const div = dom.createElement('div');
|
|
40
|
-
div.setAttribute('class', 'argumentPane');
|
|
41
|
-
|
|
42
|
-
// var title = kb.any(subject, UI.ns.dc('title'))
|
|
43
|
-
|
|
44
|
-
const comment = kb.any(subject, UI.ns.rdfs('comment'));
|
|
45
|
-
if (comment) {
|
|
46
|
-
const para = dom.createElement('p');
|
|
47
|
-
para.setAttribute('style', 'margin-left: 2em; font-style: italic;');
|
|
48
|
-
div.appendChild(para);
|
|
49
|
-
para.textContent = comment.value;
|
|
50
|
-
}
|
|
51
|
-
div.appendChild(dom.createElement('hr'));
|
|
52
|
-
let plist = kb.statementsMatching(subject, arg('support'));
|
|
53
|
-
outliner.appendPropertyTRs(div, plist, false);
|
|
54
|
-
div.appendChild(dom.createElement('hr'));
|
|
55
|
-
plist = kb.statementsMatching(subject, arg('opposition'));
|
|
56
|
-
outliner.appendPropertyTRs(div, plist, false);
|
|
57
|
-
div.appendChild(dom.createElement('hr'));
|
|
58
|
-
return div;
|
|
59
|
-
}
|
|
60
|
-
}; // ends
|
|
@@ -1,393 +0,0 @@
|
|
|
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
|
-
/* Attachment Pane
|
|
11
|
-
**
|
|
12
|
-
** - Attach a document to a thing
|
|
13
|
-
** - View attachments
|
|
14
|
-
** - Look at all unattached Supporting Documents.
|
|
15
|
-
** - Drag a document onto the pane to attach it @@
|
|
16
|
-
**
|
|
17
|
-
**
|
|
18
|
-
*/
|
|
19
|
-
var _default = exports.default = {
|
|
20
|
-
icon: UI.icons.iconBase + 'noun_25830.svg',
|
|
21
|
-
// noun_25830
|
|
22
|
-
|
|
23
|
-
name: 'attachments',
|
|
24
|
-
// Does the subject deserve an attachments pane?
|
|
25
|
-
//
|
|
26
|
-
// In this case we will render any thing which is in any subclass of
|
|
27
|
-
// certain classes, or also the certain classes themselves, as a
|
|
28
|
-
// triage tool for correlating many attachees with attachments.
|
|
29
|
-
// We also offer the pane for anything of any class which just has an attachment already.
|
|
30
|
-
//
|
|
31
|
-
label: function (subject, context) {
|
|
32
|
-
const kb = context.session.store;
|
|
33
|
-
const t = kb.findTypeURIs(subject);
|
|
34
|
-
const QU = $rdf.Namespace('http://www.w3.org/2000/10/swap/pim/qif#');
|
|
35
|
-
const WF = $rdf.Namespace('http://www.w3.org/2005/01/wf/flow#');
|
|
36
|
-
if (t['http://www.w3.org/ns/pim/trip#Trip'] ||
|
|
37
|
-
// If in any subclass
|
|
38
|
-
subject.uri === 'http://www.w3.org/ns/pim/trip#Trip' || t['http://www.w3.org/2005/01/wf/flow#Task'] || t['http://www.w3.org/2000/10/swap/pim/qif#Transaction'] ||
|
|
39
|
-
// subject.uri == 'http://www.w3.org/2000/10/swap/pim/qif#Transaction' ||
|
|
40
|
-
QU('Transaction') in kb.findSuperClassesNT(subject) || kb.holds(subject, WF('attachment'))) {
|
|
41
|
-
return 'attachments';
|
|
42
|
-
}
|
|
43
|
-
return null;
|
|
44
|
-
},
|
|
45
|
-
render: function (subject, context) {
|
|
46
|
-
const dom = context.dom;
|
|
47
|
-
const kb = context.session.store;
|
|
48
|
-
const WF = $rdf.Namespace('http://www.w3.org/2005/01/wf/flow#');
|
|
49
|
-
const QU = $rdf.Namespace('http://www.w3.org/2000/10/swap/pim/qif#');
|
|
50
|
-
|
|
51
|
-
// ////////////////////////////////////////////////////////////////////////////
|
|
52
|
-
|
|
53
|
-
const complain = function complain(message) {
|
|
54
|
-
const pre = dom.createElement('pre');
|
|
55
|
-
pre.setAttribute('style', 'background-color: pink');
|
|
56
|
-
div.appendChild(pre);
|
|
57
|
-
pre.appendChild(dom.createTextNode(message));
|
|
58
|
-
};
|
|
59
|
-
|
|
60
|
-
// Where can we write about this thing?
|
|
61
|
-
//
|
|
62
|
-
// Returns term for document or null
|
|
63
|
-
const findStore = function (kb, subject) {
|
|
64
|
-
if (kb.updater.editable(subject.doc(), kb)) return subject.doc();
|
|
65
|
-
const store = kb.any(subject.doc(), QU('annotationStore'));
|
|
66
|
-
return store;
|
|
67
|
-
};
|
|
68
|
-
const div = dom.createElement('div');
|
|
69
|
-
const esc = UI.utils.escapeForXML;
|
|
70
|
-
div.setAttribute('class', 'attachPane');
|
|
71
|
-
div.innerHTML = '<h1>' + esc(UI.utils.label(subject, true)) + ' attachments</h1>'; //
|
|
72
|
-
|
|
73
|
-
const predicate = WF('attachment');
|
|
74
|
-
const range = QU('SupportingDocument');
|
|
75
|
-
let subjects, multi;
|
|
76
|
-
const options = {};
|
|
77
|
-
let currentMode = 0; // 0 -> Show all; 1 -> Attached; 2 -> unattached
|
|
78
|
-
let currentSubject = null;
|
|
79
|
-
let currentObject = null;
|
|
80
|
-
const objectType = QU('SupportingDocument');
|
|
81
|
-
|
|
82
|
-
// Find all members of the class which we know about
|
|
83
|
-
// and sort them by an appropriate property. @@ Move to library
|
|
84
|
-
//
|
|
85
|
-
|
|
86
|
-
const getSortKeySimple = function (_c) {
|
|
87
|
-
const uriMap = {
|
|
88
|
-
'http://www.w3.org/2005/01/wf/flow#Task': 'http://purl.org/dc/elements/1.1/created',
|
|
89
|
-
'http://www.w3.org/ns/pim/trip#Trip': 'http://www.w3.org/2002/12/cal/ical#dtstart',
|
|
90
|
-
'http://www.w3.org/2000/10/swap/pim/qif#Transaction': 'http://www.w3.org/2000/10/swap/pim/qif#date',
|
|
91
|
-
'http://www.w3.org/2000/10/swap/pim/qif#SupportingDocument': 'http://purl.org/dc/elements/1.1/date'
|
|
92
|
-
};
|
|
93
|
-
const uri = uriMap[subject.uri];
|
|
94
|
-
return uri ? kb.sym(uri) : kb.any(subject, UI.ns.ui('sortBy'));
|
|
95
|
-
};
|
|
96
|
-
const getSortKey = function (c) {
|
|
97
|
-
let k = getSortKeySimple(c.uri);
|
|
98
|
-
if (k) return k;
|
|
99
|
-
const sup = kb.findSuperClassesNT(c);
|
|
100
|
-
for (const cl in sup) {
|
|
101
|
-
// note unordered -- could be closest first
|
|
102
|
-
k = getSortKeySimple(kb.fromNT(cl).uri);
|
|
103
|
-
if (k) return k;
|
|
104
|
-
}
|
|
105
|
-
return undefined; // failure
|
|
106
|
-
};
|
|
107
|
-
const getMembersAndSort = function (subject) {
|
|
108
|
-
const sortBy = getSortKey(subject);
|
|
109
|
-
let u, x, key;
|
|
110
|
-
const uriHash = kb.findMemberURIs(subject);
|
|
111
|
-
const pairs = [];
|
|
112
|
-
const subjects = [];
|
|
113
|
-
for (u in uriHash) {
|
|
114
|
-
// @@ TODO: Write away the need for exception on next line
|
|
115
|
-
|
|
116
|
-
if (Object.prototype.hasOwnProperty.call(uriHash, u)) {
|
|
117
|
-
x = kb.sym(u);
|
|
118
|
-
if (sortBy) {
|
|
119
|
-
key = kb.any(x, sortBy);
|
|
120
|
-
if (!key) {
|
|
121
|
-
// complain("No key "+key+" sortby "+sortBy+" for "+x)
|
|
122
|
-
key = '8888-12-31';
|
|
123
|
-
} else {
|
|
124
|
-
key = key.value;
|
|
125
|
-
}
|
|
126
|
-
} else {
|
|
127
|
-
complain('No sortby ' + sortBy + ' for ' + x);
|
|
128
|
-
key = '9999-12-31';
|
|
129
|
-
}
|
|
130
|
-
// key = (sortBy && kb.any(x, sortBy)) || kb.literal("9999-12-31") // Undated appear future
|
|
131
|
-
// if (!key) complain("Sort: '"+key+"' No "+sortBy+" for "+x) // Assume just not in this year
|
|
132
|
-
pairs.push([key, x]);
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
pairs.sort();
|
|
136
|
-
pairs.reverse(); // @@ Descending order .. made a toggle?
|
|
137
|
-
for (let i = 0; i < pairs.length; i++) {
|
|
138
|
-
subjects.push(pairs[i][1]);
|
|
139
|
-
}
|
|
140
|
-
return subjects;
|
|
141
|
-
};
|
|
142
|
-
|
|
143
|
-
// Set up a triage of many class members against documents or just one
|
|
144
|
-
if (subject.uri === 'http://www.w3.org/ns/pim/trip#Trip' || QU('Transaction') in kb.findSuperClassesNT(subject)
|
|
145
|
-
// subject.uri == 'http://www.w3.org/2000/10/swap/pim/qif#Transaction'
|
|
146
|
-
) {
|
|
147
|
-
multi = true;
|
|
148
|
-
subjects = getMembersAndSort(subject);
|
|
149
|
-
} else {
|
|
150
|
-
currentSubject = subject;
|
|
151
|
-
currentMode = 1; // Show attached only.
|
|
152
|
-
subjects = [subject];
|
|
153
|
-
multi = false;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
// var store = findStore(kb, subject)
|
|
157
|
-
// if (!store) complain("There is no annotation store for: "+subject.uri)
|
|
158
|
-
|
|
159
|
-
// var objects = kb.each(undefined, ns.rdf('type'), range)
|
|
160
|
-
const objects = getMembersAndSort(range);
|
|
161
|
-
if (!objects) complain('objects:' + objects.length);
|
|
162
|
-
const deselectObject = function () {
|
|
163
|
-
currentObject = null;
|
|
164
|
-
preview.innerHTML = '';
|
|
165
|
-
};
|
|
166
|
-
const showFiltered = function (mode) {
|
|
167
|
-
const filtered = mode === 0 ? objects : getFiltered();
|
|
168
|
-
// eslint-enable
|
|
169
|
-
UI.widgets.selectorPanelRefresh(objectList, dom, kb, objectType, predicate, true, filtered, options, showObject, linkClicked);
|
|
170
|
-
if (filtered.length === 1) {
|
|
171
|
-
currentObject = filtered[0];
|
|
172
|
-
showObject(currentObject, null, true); // @@ (Sure?) if only one select it.
|
|
173
|
-
} else {
|
|
174
|
-
deselectObject();
|
|
175
|
-
}
|
|
176
|
-
function getFiltered() {
|
|
177
|
-
return mode === 1 ? currentSubject === null ? objects.filter(y => !!kb.holds(undefined, predicate, y)) : objects.filter(y => !!kb.holds(currentSubject, predicate, y)) : objects.filter(y => kb.each(undefined, predicate, y).length === 0);
|
|
178
|
-
}
|
|
179
|
-
};
|
|
180
|
-
const setAttachment = function (x, y, value, refresh) {
|
|
181
|
-
if (kb.holds(x, predicate, y) === value) return;
|
|
182
|
-
const verb = value ? 'attach' : 'detach';
|
|
183
|
-
// complain("Info: starting to "+verb+" " + y.uri + " to "+x.uri+ ":\n")
|
|
184
|
-
const linkDone3 = function (uri, ok, body) {
|
|
185
|
-
if (ok) {
|
|
186
|
-
// complain("Success "+verb+" "+y.uri+" to "+x.uri+ ":\n"+ body)
|
|
187
|
-
refresh();
|
|
188
|
-
} else {
|
|
189
|
-
complain('Error: Unable to ' + verb + ' ' + y.uri + ' to ' + x.uri + ':\n' + body);
|
|
190
|
-
}
|
|
191
|
-
};
|
|
192
|
-
const store = findStore(kb, x);
|
|
193
|
-
if (!store) {
|
|
194
|
-
complain('There is no annotation store for: ' + x.uri);
|
|
195
|
-
} else {
|
|
196
|
-
const sts = [$rdf.st(x, predicate, y, store)];
|
|
197
|
-
if (value) {
|
|
198
|
-
kb.updater.update([], sts, linkDone3);
|
|
199
|
-
} else {
|
|
200
|
-
kb.updater.update(sts, [], linkDone3);
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
};
|
|
204
|
-
const linkClicked = function (x, event, inverse, refresh) {
|
|
205
|
-
let s, o;
|
|
206
|
-
if (inverse) {
|
|
207
|
-
// Objectlist
|
|
208
|
-
if (!currentSubject) {
|
|
209
|
-
complain('No subject for the link has been selected');
|
|
210
|
-
return;
|
|
211
|
-
} else {
|
|
212
|
-
s = currentSubject;
|
|
213
|
-
o = x;
|
|
214
|
-
}
|
|
215
|
-
} else {
|
|
216
|
-
// Subjectlist
|
|
217
|
-
if (!currentObject) {
|
|
218
|
-
complain('No object for the link has been selected');
|
|
219
|
-
return;
|
|
220
|
-
} else {
|
|
221
|
-
s = x;
|
|
222
|
-
o = currentObject;
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
setAttachment(s, o, !kb.holds(s, predicate, o), refresh); // @@ toggle
|
|
226
|
-
};
|
|
227
|
-
|
|
228
|
-
// When you click on a subject, filter the objects connected to the subject in Mode 1
|
|
229
|
-
const showSubject = function (x, event, selected) {
|
|
230
|
-
if (selected) {
|
|
231
|
-
currentSubject = x;
|
|
232
|
-
} else {
|
|
233
|
-
currentSubject = null;
|
|
234
|
-
if (currentMode === 1) deselectObject();
|
|
235
|
-
} // If all are displayed, refresh would just annoy:
|
|
236
|
-
if (currentMode !== 0) showFiltered(currentMode); // Refresh the objects
|
|
237
|
-
};
|
|
238
|
-
if (multi) {
|
|
239
|
-
const subjectList = UI.widgets.selectorPanel(dom, kb, subject, predicate, false, subjects, options, showSubject, linkClicked);
|
|
240
|
-
subjectList.setAttribute('style', 'background-color: white; width: 25em; height: 100%; padding: 0 em; overflow:scroll; float:left');
|
|
241
|
-
div.appendChild(subjectList);
|
|
242
|
-
}
|
|
243
|
-
const showObject = function (x, event, selected) {
|
|
244
|
-
if (!selected) {
|
|
245
|
-
deselectObject();
|
|
246
|
-
preview.innerHTML = ''; // Clean out what is there
|
|
247
|
-
// complain("Show object "+x.uri)
|
|
248
|
-
return;
|
|
249
|
-
}
|
|
250
|
-
currentObject = x;
|
|
251
|
-
try {
|
|
252
|
-
/*
|
|
253
|
-
var dispalyable = function (kb, x) {
|
|
254
|
-
var cts = kb.fetcher.getHeader(x, 'content-type')
|
|
255
|
-
if (cts) {
|
|
256
|
-
var displayables = ['text/html', 'image/png', 'application/pdf']
|
|
257
|
-
for (var j = 0; j < cts.length; j++) {
|
|
258
|
-
for (var k = 0; k < displayables.length; k++) {
|
|
259
|
-
if (cts[j].indexOf(displayables[k]) >= 0) {
|
|
260
|
-
return true
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
return false
|
|
266
|
-
}
|
|
267
|
-
*/
|
|
268
|
-
preview.innerHTML = 'Loading ....';
|
|
269
|
-
if (x.uri) {
|
|
270
|
-
kb.fetcher.load(x.uri).then(() => {
|
|
271
|
-
const outliner = context.getOutliner(dom);
|
|
272
|
-
const display = outliner.propertyTable(x); // ,table, pane
|
|
273
|
-
preview.innerHTML = '';
|
|
274
|
-
preview.appendChild(display);
|
|
275
|
-
}).catch(err => {
|
|
276
|
-
preview.textContent = 'Error loading ' + x.uri + ': ' + err;
|
|
277
|
-
});
|
|
278
|
-
}
|
|
279
|
-
/*
|
|
280
|
-
if (dispalyable(kb, x) || x.uri.slice(-4) == ".pdf" || x.uri.slice(-4) == ".png" || x.uri.slice(-5) == ".html" ||
|
|
281
|
-
x.uri.slice(-5) == ".jpeg") { // @@@@@@ MAJOR KLUDGE! use metadata after HEAD
|
|
282
|
-
preview.innerHTML = '<iframe height="100%" width="100%"src="'
|
|
283
|
-
+ x.uri + '">' + x.uri + '</iframe>'
|
|
284
|
-
} else {
|
|
285
|
-
}
|
|
286
|
-
*/
|
|
287
|
-
} catch (e) {
|
|
288
|
-
preview.innerHTML = '<span style="background-color: pink;">' + 'Error:' + e + '</span>'; // @@ enc
|
|
289
|
-
}
|
|
290
|
-
};
|
|
291
|
-
div.setAttribute('style', 'background-color: white; width:40cm; height:20cm;');
|
|
292
|
-
const headerButtons = function (dom, labels, intial, callback) {
|
|
293
|
-
const head = dom.createElement('table');
|
|
294
|
-
let current = intial;
|
|
295
|
-
head.setAttribute('style', 'float: left; width: 30em; padding: 0.5em; height: 1.5em; background-color: #ddd; color: #444; font-weight: bold');
|
|
296
|
-
const tr = dom.createElement('tr');
|
|
297
|
-
const style0 = 'border-radius: 0.6em; text-align: center;';
|
|
298
|
-
const style1 = style0 + 'background-color: #ccc; color: black;';
|
|
299
|
-
head.appendChild(tr);
|
|
300
|
-
const setStyles = function () {
|
|
301
|
-
for (i = 0; i < labels.length; i++) {
|
|
302
|
-
buttons[i].setAttribute('style', i === current ? style1 : style0);
|
|
303
|
-
}
|
|
304
|
-
};
|
|
305
|
-
let i, b;
|
|
306
|
-
const buttons = [];
|
|
307
|
-
for (i = 0; i < labels.length; i++) {
|
|
308
|
-
b = buttons[i] = dom.createElement('td');
|
|
309
|
-
b.textContent = labels[i];
|
|
310
|
-
tr.appendChild(buttons[i]);
|
|
311
|
-
const listen = function (b, i) {
|
|
312
|
-
b.addEventListener('click', function (_e) {
|
|
313
|
-
current = i;
|
|
314
|
-
setStyles();
|
|
315
|
-
callback(i);
|
|
316
|
-
});
|
|
317
|
-
};
|
|
318
|
-
listen(b, i);
|
|
319
|
-
}
|
|
320
|
-
setStyles();
|
|
321
|
-
return head;
|
|
322
|
-
};
|
|
323
|
-
const setMode = function (mode) {
|
|
324
|
-
if (mode !== currentMode) {
|
|
325
|
-
currentMode = mode;
|
|
326
|
-
deselectObject();
|
|
327
|
-
showFiltered(mode);
|
|
328
|
-
}
|
|
329
|
-
};
|
|
330
|
-
const wrapper = dom.createElement('div');
|
|
331
|
-
wrapper.setAttribute('style', ' width: 30em; height: 100%; padding: 0em; float:left;');
|
|
332
|
-
// wrapper.appendChild(head)
|
|
333
|
-
div.appendChild(wrapper);
|
|
334
|
-
wrapper.appendChild(headerButtons(dom, ['all', 'attached', 'not attached'], currentMode, setMode));
|
|
335
|
-
const objectList = UI.widgets.selectorPanel(dom, kb, objectType, predicate, true, objects, options, showObject, linkClicked);
|
|
336
|
-
objectList.setAttribute('style', 'background-color: #ffe; width: 30em; height: 100%; padding: 0em; overflow:scroll;'); // float:left
|
|
337
|
-
wrapper.appendChild(objectList);
|
|
338
|
-
|
|
339
|
-
// objectList.insertBefore(head, objectList.firstChild)
|
|
340
|
-
|
|
341
|
-
const preview = dom.createElement('div');
|
|
342
|
-
preview.setAttribute('style', /* background-color: black; */'padding: 0em; margin: 0; height: 100%; overflow:scroll;');
|
|
343
|
-
div.appendChild(preview);
|
|
344
|
-
showFiltered(currentMode);
|
|
345
|
-
if (subjects.length > 0 && multi) {
|
|
346
|
-
const stores = {};
|
|
347
|
-
for (let k = 0; k < subjects.length; k++) {
|
|
348
|
-
const store = findStore(kb, subjects[k]);
|
|
349
|
-
if (store) stores[store.uri] = subjects[k];
|
|
350
|
-
// if (!store) complain("No store for "+subjects[k].uri)
|
|
351
|
-
}
|
|
352
|
-
for (const storeURI in stores) {
|
|
353
|
-
// var store = findStore(kb,subjects[subjectList.length-1])
|
|
354
|
-
const store = kb.sym(storeURI);
|
|
355
|
-
const mintBox = dom.createElement('div');
|
|
356
|
-
mintBox.setAttribute('style', 'clear: left; width: 20em; margin-top:2em; background-color:#ccc; border-radius: 1em; padding: 1em; font-weight: bold;');
|
|
357
|
-
mintBox.textContent = '+ New ' + UI.utils.label(subject);
|
|
358
|
-
mintBox.textContent += ' in ' + UI.utils.label(store);
|
|
359
|
-
const storeLab = dom.createElement('span');
|
|
360
|
-
storeLab.setAttribute('style', 'font-weight: normal; font-size: 80%; color: #777;');
|
|
361
|
-
storeLab.textContent = storeURI;
|
|
362
|
-
mintBox.appendChild(dom.createElement('br'));
|
|
363
|
-
mintBox.appendChild(storeLab);
|
|
364
|
-
/*
|
|
365
|
-
var mintButton = dom.createElement('img')
|
|
366
|
-
mintBox.appendChild(mintButton)
|
|
367
|
-
mintButton.setAttribute('src', ...); @@ Invokes master handler
|
|
368
|
-
*/
|
|
369
|
-
mintBox.addEventListener('click', function (_event) {
|
|
370
|
-
const thisForm = UI.widgets.promptForNew(dom, kb, subject, predicate, subject, null, store, function (ok, _body) {
|
|
371
|
-
if (!ok) {
|
|
372
|
-
// callback(ok, body); // @@ if ok, need some form of refresh of the select for the new thing
|
|
373
|
-
} else {
|
|
374
|
-
// Refresh @@
|
|
375
|
-
}
|
|
376
|
-
});
|
|
377
|
-
try {
|
|
378
|
-
div.insertBefore(thisForm, mintBox.nextSibling); // Sigh no insertAfter
|
|
379
|
-
} catch (e) {
|
|
380
|
-
div.appendChild(thisForm);
|
|
381
|
-
}
|
|
382
|
-
// var newObject = thisForm.AJAR_subject
|
|
383
|
-
}, false);
|
|
384
|
-
div.appendChild(mintBox);
|
|
385
|
-
}
|
|
386
|
-
}
|
|
387
|
-
|
|
388
|
-
// if (!me) complain("(You do not have your Web Id set. Set your Web ID to make changes.)")
|
|
389
|
-
|
|
390
|
-
return div;
|
|
391
|
-
}
|
|
392
|
-
}; // pane object
|
|
393
|
-
// ends
|