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,226 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.dataContentPane = void 0;
|
|
7
|
+
var UI = _interopRequireWildcard(require("solid-ui"));
|
|
8
|
+
var $rdf = _interopRequireWildcard(require("rdflib"));
|
|
9
|
+
var _dompurify = _interopRequireDefault(require("dompurify"));
|
|
10
|
+
require("./dataContentPane.css");
|
|
11
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
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
|
+
/* Data content Pane
|
|
14
|
+
**
|
|
15
|
+
** This pane shows the content of a particular RDF resource
|
|
16
|
+
** or at least the RDF semantics we attribute to that resource.
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
// To do: - Only take data from one graph
|
|
20
|
+
// - Only do forwards not backward?
|
|
21
|
+
// - Expand automatically all the way down
|
|
22
|
+
// - original source view? Use ffox view source
|
|
23
|
+
|
|
24
|
+
const ns = UI.ns;
|
|
25
|
+
const dataContentPane = exports.dataContentPane = {
|
|
26
|
+
icon: UI.icons.originalIconBase + 'rdf_flyer.24.gif',
|
|
27
|
+
name: 'dataContents',
|
|
28
|
+
audience: [ns.solid('Developer')],
|
|
29
|
+
label: function (subject, context) {
|
|
30
|
+
if ('http://www.w3.org/2007/ont/link#ProtocolEvent' in context.session.store.findTypeURIs(subject)) {
|
|
31
|
+
return null;
|
|
32
|
+
}
|
|
33
|
+
const n = context.session.store.statementsMatching(undefined, undefined, undefined, subject).length;
|
|
34
|
+
if (n === 0) return null;
|
|
35
|
+
return 'Data (' + n + ')';
|
|
36
|
+
},
|
|
37
|
+
/*
|
|
38
|
+
shouldGetFocus: function(subject) {
|
|
39
|
+
return store.whether(subject, UI.ns.rdf('type'), UI.ns.link('RDFDocument'))
|
|
40
|
+
},
|
|
41
|
+
*/
|
|
42
|
+
statementsAsTables: function statementsAsTables(sts, context, initialRoots) {
|
|
43
|
+
const myDocument = context.dom;
|
|
44
|
+
// const outliner = context.getOutliner(myDocument)
|
|
45
|
+
const rep = myDocument.createElement('table');
|
|
46
|
+
rep.classList.add('data-content-pane__table', 'data-content-pane__table--root');
|
|
47
|
+
const isMobileLayout = context.environment?.layout === 'mobile';
|
|
48
|
+
const sz = $rdf.Serializer(context.session.store);
|
|
49
|
+
const res = sz.rootSubjects(sts);
|
|
50
|
+
let roots = res.roots;
|
|
51
|
+
const subjects = res.subjects;
|
|
52
|
+
const loopBreakers = res.loopBreakers ?? {};
|
|
53
|
+
for (const x in loopBreakers) {
|
|
54
|
+
console.log('\tdataContentPane: loopbreaker:' + x);
|
|
55
|
+
}
|
|
56
|
+
const doneBnodes = {};
|
|
57
|
+
const referencedBnodes = {};
|
|
58
|
+
function propertyTree(subject, nestingLevel = 0) {
|
|
59
|
+
const rep = myDocument.createElement('table');
|
|
60
|
+
rep.classList.add('data-content-pane__table', 'data-content-pane__table--property');
|
|
61
|
+
let lastPred = null;
|
|
62
|
+
const subjectStatements = subjects[sz.toStr(subject)];
|
|
63
|
+
if (!subjectStatements) {
|
|
64
|
+
rep.appendChild(myDocument.createTextNode('...'));
|
|
65
|
+
return rep;
|
|
66
|
+
}
|
|
67
|
+
subjectStatements.sort();
|
|
68
|
+
let same = 0;
|
|
69
|
+
let predicateTD;
|
|
70
|
+
for (let i = 0; i < subjectStatements.length; i++) {
|
|
71
|
+
const st = subjectStatements[i];
|
|
72
|
+
const tr = myDocument.createElement('tr');
|
|
73
|
+
tr.classList.add('data-content-pane__row--top-aligned', 'data-content-pane__row--property');
|
|
74
|
+
if (st.predicate.uri !== lastPred || isMobileLayout) {
|
|
75
|
+
if (!isMobileLayout && lastPred && same > 1) {
|
|
76
|
+
predicateTD?.setAttribute('rowspan', '' + same);
|
|
77
|
+
}
|
|
78
|
+
predicateTD = myDocument.createElement('td');
|
|
79
|
+
predicateTD.setAttribute('class', 'data-content-pane__predicate-cell');
|
|
80
|
+
const anchor = myDocument.createElement('a');
|
|
81
|
+
anchor.setAttribute('href', st.predicate.uri);
|
|
82
|
+
anchor.addEventListener('click', UI.widgets.openHrefInOutlineMode, true);
|
|
83
|
+
anchor.appendChild(myDocument.createTextNode(UI.utils.predicateLabelForXML(st.predicate)));
|
|
84
|
+
predicateTD.appendChild(anchor);
|
|
85
|
+
tr.appendChild(predicateTD);
|
|
86
|
+
lastPred = st.predicate.uri;
|
|
87
|
+
same = 0;
|
|
88
|
+
}
|
|
89
|
+
same++;
|
|
90
|
+
const objectTD = myDocument.createElement('td');
|
|
91
|
+
objectTD.classList.add('data-content-pane__value-cell');
|
|
92
|
+
objectTD.appendChild(objectTree(st.object, nestingLevel + 1));
|
|
93
|
+
tr.appendChild(objectTD);
|
|
94
|
+
rep.appendChild(tr);
|
|
95
|
+
}
|
|
96
|
+
if (!isMobileLayout && lastPred && same > 1) {
|
|
97
|
+
predicateTD?.setAttribute('rowspan', '' + same);
|
|
98
|
+
}
|
|
99
|
+
return rep;
|
|
100
|
+
}
|
|
101
|
+
function objectTree(obj, nestingLevel = 0) {
|
|
102
|
+
let res;
|
|
103
|
+
let anchor;
|
|
104
|
+
switch (obj.termType) {
|
|
105
|
+
case 'NamedNode':
|
|
106
|
+
anchor = myDocument.createElement('a');
|
|
107
|
+
anchor.setAttribute('href', obj.uri);
|
|
108
|
+
anchor.addEventListener('click', UI.widgets.openHrefInOutlineMode, true);
|
|
109
|
+
anchor.appendChild(myDocument.createTextNode(UI.utils.label(obj)));
|
|
110
|
+
return anchor;
|
|
111
|
+
case 'Literal':
|
|
112
|
+
if (!obj.datatype || !obj.datatype.uri) {
|
|
113
|
+
res = myDocument.createElement('div');
|
|
114
|
+
res.classList.add('data-content-pane__literal');
|
|
115
|
+
res.textContent = obj.value;
|
|
116
|
+
return res;
|
|
117
|
+
} else if (obj.datatype.uri === 'http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral') {
|
|
118
|
+
res = myDocument.createElement('div');
|
|
119
|
+
res.classList.add('embeddedXHTML');
|
|
120
|
+
res.innerHTML = _dompurify.default.sanitize(obj.value);
|
|
121
|
+
return res;
|
|
122
|
+
}
|
|
123
|
+
return myDocument.createTextNode(obj.value);
|
|
124
|
+
case 'BlankNode':
|
|
125
|
+
{
|
|
126
|
+
if (obj.toNT() in doneBnodes) {
|
|
127
|
+
referencedBnodes[obj.toNT()] = true;
|
|
128
|
+
const referenceAnchor = myDocument.createElement('a');
|
|
129
|
+
referenceAnchor.setAttribute('href', '#' + obj.toNT().slice(2));
|
|
130
|
+
referenceAnchor.setAttribute('class', 'bnodeRef');
|
|
131
|
+
referenceAnchor.textContent = '*' + obj.toNT().slice(3);
|
|
132
|
+
return referenceAnchor;
|
|
133
|
+
}
|
|
134
|
+
doneBnodes[obj.toNT()] = true;
|
|
135
|
+
const newTable = propertyTree(obj, nestingLevel);
|
|
136
|
+
doneBnodes[obj.toNT()] = newTable;
|
|
137
|
+
if (nestingLevel % 2 === 1) {
|
|
138
|
+
newTable.classList.add('data-content-pane__nested-table--light');
|
|
139
|
+
} else {
|
|
140
|
+
newTable.classList.add('data-content-pane__nested-table--dark');
|
|
141
|
+
}
|
|
142
|
+
return newTable;
|
|
143
|
+
}
|
|
144
|
+
case 'Collection':
|
|
145
|
+
res = myDocument.createElement('table');
|
|
146
|
+
res.setAttribute('class', 'collectionAsTables');
|
|
147
|
+
for (let i = 0; i < obj.elements.length; i++) {
|
|
148
|
+
const tr = myDocument.createElement('tr');
|
|
149
|
+
res.appendChild(tr);
|
|
150
|
+
tr.appendChild(objectTree(obj.elements[i], nestingLevel + 1));
|
|
151
|
+
}
|
|
152
|
+
return res;
|
|
153
|
+
case 'Graph':
|
|
154
|
+
res = context.session.paneRegistry.byName('dataContents').statementsAsTables(obj.statements, context);
|
|
155
|
+
res.setAttribute('class', 'data-content-pane__nested-formula');
|
|
156
|
+
return res;
|
|
157
|
+
case 'Variable':
|
|
158
|
+
return myDocument.createTextNode('?' + obj.uri);
|
|
159
|
+
}
|
|
160
|
+
throw new Error('Unhandled node type: ' + obj.termType);
|
|
161
|
+
}
|
|
162
|
+
if (initialRoots) {
|
|
163
|
+
roots = initialRoots.concat(roots.filter(function (x) {
|
|
164
|
+
for (let i = 0; i < initialRoots.length; i++) {
|
|
165
|
+
if (x.sameTerm(initialRoots[i])) return false;
|
|
166
|
+
}
|
|
167
|
+
return true;
|
|
168
|
+
}));
|
|
169
|
+
}
|
|
170
|
+
for (let i = 0; i < roots.length; i++) {
|
|
171
|
+
const tr = myDocument.createElement('tr');
|
|
172
|
+
tr.classList.add(i % 2 === 0 ? 'data-content-pane__row--even' : 'data-content-pane__row--odd', 'data-content-pane__row--root');
|
|
173
|
+
rep.appendChild(tr);
|
|
174
|
+
const subjectTD = myDocument.createElement('td');
|
|
175
|
+
subjectTD.classList.add('data-content-pane__subject-cell');
|
|
176
|
+
tr.appendChild(subjectTD);
|
|
177
|
+
const TDTree = myDocument.createElement('td');
|
|
178
|
+
TDTree.classList.add('data-content-pane__details-cell');
|
|
179
|
+
tr.appendChild(TDTree);
|
|
180
|
+
const root = roots[i];
|
|
181
|
+
if (root.termType === 'BlankNode') {
|
|
182
|
+
subjectTD.appendChild(myDocument.createTextNode(UI.utils.label(root)));
|
|
183
|
+
} else {
|
|
184
|
+
subjectTD.appendChild(objectTree(root, 0));
|
|
185
|
+
}
|
|
186
|
+
TDTree.appendChild(propertyTree(root, 0));
|
|
187
|
+
}
|
|
188
|
+
for (const bNT in referencedBnodes) {
|
|
189
|
+
const table = doneBnodes[bNT];
|
|
190
|
+
if (table === true) continue;
|
|
191
|
+
const anchor = myDocument.createElement('a');
|
|
192
|
+
anchor.setAttribute('id', bNT.slice(2));
|
|
193
|
+
anchor.setAttribute('class', 'bnodeDef');
|
|
194
|
+
anchor.textContent = bNT.slice(3) + ')';
|
|
195
|
+
table.insertBefore(anchor, table.firstChild);
|
|
196
|
+
}
|
|
197
|
+
return rep;
|
|
198
|
+
},
|
|
199
|
+
render: function (subject, context) {
|
|
200
|
+
const myDocument = context.dom;
|
|
201
|
+
function applyEnvironmentAttributes(element) {
|
|
202
|
+
const environment = context.environment ?? {};
|
|
203
|
+
element.dataset.layout = environment.layout ?? 'desktop';
|
|
204
|
+
element.dataset.theme = environment.theme ?? 'light';
|
|
205
|
+
element.dataset.inputMode = environment.inputMode ?? 'pointer';
|
|
206
|
+
}
|
|
207
|
+
function mainRendering() {
|
|
208
|
+
const kb = context.session.store;
|
|
209
|
+
const sts = kb.statementsMatching(undefined, undefined, undefined, subject);
|
|
210
|
+
const initialRoots = [];
|
|
211
|
+
if (kb.holds(subject, undefined, undefined, subject)) {
|
|
212
|
+
initialRoots.push(subject);
|
|
213
|
+
}
|
|
214
|
+
const ps = kb.any(subject, UI.ns.foaf('primaryTopic'), undefined, subject);
|
|
215
|
+
if (ps && (ps.termType === 'NamedNode' || ps.termType === 'BlankNode')) {
|
|
216
|
+
initialRoots.push(ps);
|
|
217
|
+
}
|
|
218
|
+
div.appendChild(context.session.paneRegistry.byName('dataContents').statementsAsTables(sts, context, initialRoots));
|
|
219
|
+
}
|
|
220
|
+
const div = myDocument.createElement('div');
|
|
221
|
+
div.classList.add('dataContentPane', 'data-content-pane');
|
|
222
|
+
applyEnvironmentAttributes(div);
|
|
223
|
+
mainRendering();
|
|
224
|
+
return div;
|
|
225
|
+
}
|
|
226
|
+
};
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
.defaultPane .bottom-border {
|
|
2
|
+
border: 0.2rem solid transparent;
|
|
3
|
+
width: 100%;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.defaultPane .bottom-border-active {
|
|
7
|
+
cursor: copy;
|
|
8
|
+
border: 0.2rem solid;
|
|
9
|
+
border-color: var(--color-bottom-border-highlight, rgb(100%, 65%, 0%));
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.defaultPane {
|
|
13
|
+
--default-pane-predicate-column: 16rem;
|
|
14
|
+
--default-pane-object-indent: 1.75rem;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.defaultPane > tr {
|
|
18
|
+
display: grid;
|
|
19
|
+
grid-template-columns: minmax(0, var(--default-pane-predicate-column)) minmax(0, 1fr);
|
|
20
|
+
align-items: flex-start;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.defaultPane > tr > td.pred {
|
|
24
|
+
grid-column: 1;
|
|
25
|
+
display: flex;
|
|
26
|
+
align-items: flex-start;
|
|
27
|
+
padding-left: 0 !important;
|
|
28
|
+
box-sizing: border-box;
|
|
29
|
+
min-width: 0;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.defaultPane > tr > td.pred > .labelTD {
|
|
33
|
+
flex: 1 1 auto;
|
|
34
|
+
min-width: 0;
|
|
35
|
+
margin: 0;
|
|
36
|
+
padding-top: 0;
|
|
37
|
+
padding-bottom: 0;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.defaultPane > tr > td.pred > .iconTD {
|
|
41
|
+
flex: 0 0 auto;
|
|
42
|
+
width: auto;
|
|
43
|
+
margin: 0;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.defaultPane > tr > td.obj {
|
|
47
|
+
grid-column: 2;
|
|
48
|
+
min-width: 0;
|
|
49
|
+
box-sizing: border-box;
|
|
50
|
+
align-self: start;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.defaultPane > tr > td[colspan='2'] {
|
|
54
|
+
grid-column: 1 / -1;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.defaultPane[data-layout='mobile'] > tr {
|
|
58
|
+
grid-template-columns: minmax(0, 1fr);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.defaultPane[data-layout='mobile'] > tr > td.pred,
|
|
62
|
+
.defaultPane[data-layout='mobile'] > tr > td.obj {
|
|
63
|
+
display: block;
|
|
64
|
+
grid-column: 1;
|
|
65
|
+
width: 100%;
|
|
66
|
+
box-sizing: border-box;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.defaultPane[data-layout='mobile'] > tr > td.pred {
|
|
70
|
+
padding-bottom: var(--spacing-small, 0.1rem);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.defaultPane[data-layout='mobile'] > tr > td.obj {
|
|
74
|
+
padding-left: var(--default-pane-object-indent) !important;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
@media (max-width: 700px) {
|
|
78
|
+
.defaultPane > tr {
|
|
79
|
+
grid-template-columns: minmax(0, 1fr);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.defaultPane > tr > td.pred,
|
|
83
|
+
.defaultPane > tr > td.obj {
|
|
84
|
+
display: block;
|
|
85
|
+
grid-column: 1;
|
|
86
|
+
width: 100%;
|
|
87
|
+
box-sizing: border-box;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.defaultPane > tr > td.pred {
|
|
91
|
+
padding-bottom: var(--spacing-small, 0.1rem);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.defaultPane > tr > td.obj {
|
|
95
|
+
padding-left: var(--default-pane-object-indent) !important;
|
|
96
|
+
}
|
|
97
|
+
}
|
package/dist/defaultPane.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { DataBrowserContext } from '
|
|
2
|
-
import { BlankNode, Literal, NamedNode } from '
|
|
1
|
+
import type { DataBrowserContext } from 'pane-registry';
|
|
2
|
+
import type { BlankNode, Literal, NamedNode } from 'rdflib';
|
|
3
|
+
import './defaultPane.css';
|
|
3
4
|
type DefaultPaneSubject = NamedNode | BlankNode | Literal;
|
|
4
5
|
type DefaultPaneDefinition = {
|
|
5
6
|
icon: string;
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.defaultPane = void 0;
|
|
7
|
+
var UI = _interopRequireWildcard(require("solid-ui"));
|
|
8
|
+
var $rdf = _interopRequireWildcard(require("rdflib"));
|
|
9
|
+
require("./defaultPane.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
|
+
/* Default Pane
|
|
12
|
+
**
|
|
13
|
+
** This outline pane contains the properties which are
|
|
14
|
+
** normally displayed to the user. See also: internalPane
|
|
15
|
+
** This pane hides the ones considered too low-level for the normal user.
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
const ns = UI.ns;
|
|
19
|
+
const defaultPane = exports.defaultPane = {
|
|
20
|
+
icon: UI.icons.originalIconBase + 'about.png',
|
|
21
|
+
name: 'default',
|
|
22
|
+
audience: [ns.solid('Developer')],
|
|
23
|
+
label: function (_subject) {
|
|
24
|
+
return 'about ';
|
|
25
|
+
},
|
|
26
|
+
render: function (subject, context) {
|
|
27
|
+
const dom = context.dom;
|
|
28
|
+
function applyEnvironmentAttributes(element) {
|
|
29
|
+
const environment = context.environment ?? {};
|
|
30
|
+
element.dataset.layout = environment.layout ?? 'desktop';
|
|
31
|
+
}
|
|
32
|
+
const filter = function (pred, inverse) {
|
|
33
|
+
if (typeof context.session.paneRegistry.byName('internal').predicates[pred.uri] !== 'undefined') {
|
|
34
|
+
return false;
|
|
35
|
+
}
|
|
36
|
+
if (inverse && pred.uri === 'http://www.w3.org/1999/02/22-rdf-syntax-ns#type') {
|
|
37
|
+
return false;
|
|
38
|
+
}
|
|
39
|
+
return true;
|
|
40
|
+
};
|
|
41
|
+
const outliner = context.getOutliner(dom);
|
|
42
|
+
const kb = context.session.store;
|
|
43
|
+
// var outline = outliner; // @@
|
|
44
|
+
UI.log.info('@defaultPane.render, dom is now ' + dom.location);
|
|
45
|
+
subject = kb.canon(subject);
|
|
46
|
+
const div = dom.createElement('div');
|
|
47
|
+
div.setAttribute('class', 'defaultPane');
|
|
48
|
+
applyEnvironmentAttributes(div);
|
|
49
|
+
// appendRemoveIcon(div, subject, div)
|
|
50
|
+
|
|
51
|
+
let plist = subject.termType === 'Literal' ? [] : kb.statementsMatching(subject);
|
|
52
|
+
outliner.appendPropertyTRs(div, plist, false, filter);
|
|
53
|
+
plist = kb.statementsMatching(undefined, undefined, subject);
|
|
54
|
+
outliner.appendPropertyTRs(div, plist, true, filter);
|
|
55
|
+
const subjectStatement = subject.termType === 'BlankNode' ? kb.anyStatementMatching(subject) : undefined;
|
|
56
|
+
if (subject.termType === 'Literal' && subject.value.slice(0, 7) === 'http://') {
|
|
57
|
+
outliner.appendPropertyTRs(div, [$rdf.st(kb.sym(subject.value), UI.ns.link('uri'), subject)], true, filter);
|
|
58
|
+
}
|
|
59
|
+
if (subject.termType === 'NamedNode' && kb.updater.editable($rdf.Util.uri.docpart(subject.uri), kb) || subject.termType === 'BlankNode' && subjectStatement && subjectStatement.why && 'uri' in subjectStatement.why && typeof subjectStatement.why.uri === 'string' && kb.updater.editable(subjectStatement.why.uri)
|
|
60
|
+
// check the document containing something about of the bnode @@ what about as object?
|
|
61
|
+
/* ! && HCIoptions["bottom insert highlights"].enabled */) {
|
|
62
|
+
const holdingTr = dom.createElement('tr'); // these are to minimize required changes
|
|
63
|
+
const holdingTd = dom.createElement('td'); // in userinput.js
|
|
64
|
+
holdingTd.setAttribute('colspan', '2');
|
|
65
|
+
holdingTd.setAttribute('notSelectable', 'true');
|
|
66
|
+
const img = dom.createElement('img');
|
|
67
|
+
img.src = UI.icons.originalIconBase + 'tango/22-list-add-new.png';
|
|
68
|
+
img.addEventListener('click', function addNewTripleIconMouseDownListener(e) {
|
|
69
|
+
outliner.UserInput.addNewPredicateObject(e);
|
|
70
|
+
e.stopPropagation();
|
|
71
|
+
e.preventDefault();
|
|
72
|
+
});
|
|
73
|
+
img.className = 'bottom-border-active';
|
|
74
|
+
// img.addEventListener('click', thisOutline.UserInput.addNewPredicateObject,false)
|
|
75
|
+
div.appendChild(holdingTr).appendChild(holdingTd).appendChild(img);
|
|
76
|
+
}
|
|
77
|
+
return div;
|
|
78
|
+
}
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
// ends
|
|
@@ -0,0 +1,74 @@
|
|
|
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
|
+
var mime = _interopRequireWildcard(require("mime-types"));
|
|
10
|
+
var _new = _interopRequireDefault(require("./new.js"));
|
|
11
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
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
|
+
/* Human-readable editable "Dokieli" Pane
|
|
14
|
+
**
|
|
15
|
+
** This outline pane contains the document contents for a Dokieli document
|
|
16
|
+
** The dokeili system allows the user to edit a document including anotations
|
|
17
|
+
** review. It does not use turtle, but RDF/a
|
|
18
|
+
*/
|
|
19
|
+
// const DOKIELI_TEMPLATE_URI = 'https://dokie.li/new' // Copy to make new dok
|
|
20
|
+
// Distributed with this library
|
|
21
|
+
var _default = exports.default = {
|
|
22
|
+
icon: UI.icons.iconBase + 'dokieli-logo.png',
|
|
23
|
+
// @@ improve? more like doccument?
|
|
24
|
+
|
|
25
|
+
name: 'Dokieli',
|
|
26
|
+
mintClass: UI.ns.solid('DokieliDocument'),
|
|
27
|
+
// @@ A better class?
|
|
28
|
+
|
|
29
|
+
// Don't provide viewing - let humanReadablePane handle that with appropriate icon
|
|
30
|
+
label: function (subject, context) {
|
|
31
|
+
return null; // Viewing now handled by humanReadablePane
|
|
32
|
+
},
|
|
33
|
+
// Create a new folder in a Solid system, with a dokieli editable document in it
|
|
34
|
+
mintNew: function (context, newPaneOptions) {
|
|
35
|
+
const kb = context.session.store;
|
|
36
|
+
let newInstance = newPaneOptions.newInstance;
|
|
37
|
+
if (!newInstance) {
|
|
38
|
+
let uri = newPaneOptions.newBase;
|
|
39
|
+
if (uri.endsWith('/')) {
|
|
40
|
+
uri = uri.slice(0, -1);
|
|
41
|
+
newPaneOptions.newBase = uri;
|
|
42
|
+
}
|
|
43
|
+
newInstance = kb.sym(uri);
|
|
44
|
+
}
|
|
45
|
+
const contentType = mime.lookup(newInstance.uri);
|
|
46
|
+
if (!contentType || !contentType.includes('html')) {
|
|
47
|
+
newInstance = $rdf.sym(newInstance.uri + '.html');
|
|
48
|
+
}
|
|
49
|
+
newPaneOptions.newInstance = newInstance; // Save for creation system
|
|
50
|
+
|
|
51
|
+
// console.log('New dokieli will make: ' + newInstance)
|
|
52
|
+
|
|
53
|
+
let htmlContents = _new.default;
|
|
54
|
+
let filename = newInstance.uri.split('/').slice(-1)[0];
|
|
55
|
+
filename = decodeURIComponent(filename.split('.')[0]);
|
|
56
|
+
const encodedTitle = filename.replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>');
|
|
57
|
+
htmlContents = htmlContents.replace('<title>', '<title>' + encodedTitle);
|
|
58
|
+
htmlContents = htmlContents.replace('</article>', '<h1>' + encodedTitle + '</h1></article>');
|
|
59
|
+
// console.log('@@ New HTML for Dok:' + htmlContents)
|
|
60
|
+
return new Promise(function (resolve) {
|
|
61
|
+
kb.fetcher.webOperation('PUT', newInstance.uri, {
|
|
62
|
+
data: htmlContents,
|
|
63
|
+
contentType: 'text/html'
|
|
64
|
+
}).then(function () {
|
|
65
|
+
console.log('new Dokieli document created at ' + newPaneOptions.newInstance);
|
|
66
|
+
resolve(newPaneOptions);
|
|
67
|
+
}).catch(function (err) {
|
|
68
|
+
console.log('Error creating dokieli doc at ' + newPaneOptions.newInstance + ': ' + err);
|
|
69
|
+
});
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
// render: removed - now handled by humanReadablePane with appropriate dokieli icon
|
|
74
|
+
}; // ends
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
const DOKIELI_TEMPLATE = `<!DOCTYPE html>
|
|
2
8
|
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
|
|
3
9
|
<head>
|
|
4
10
|
<meta charset="utf-8" />
|
|
@@ -6,7 +12,7 @@ var e=`<!DOCTYPE html>
|
|
|
6
12
|
<meta content="width=device-width, initial-scale=1" name="viewport" />
|
|
7
13
|
<link href="https://dokie.li/media/css/basic.css" media="all" rel="stylesheet" title="Basic" />
|
|
8
14
|
<link href="https://dokie.li/media/css/dokieli.css" media="all" rel="stylesheet" />
|
|
9
|
-
<script src="https://dokie.li/scripts/dokieli.js"
|
|
15
|
+
<script src="https://dokie.li/scripts/dokieli.js"></script>
|
|
10
16
|
</head>
|
|
11
17
|
|
|
12
18
|
<body about="" prefix="rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns# rdfs: http://www.w3.org/2000/01/rdf-schema# owl: http://www.w3.org/2002/07/owl# xsd: http://www.w3.org/2001/XMLSchema# rdfa: http://www.w3.org/ns/rdfa# dcterms: http://purl.org/dc/terms/ dctypes: http://purl.org/dc/dcmitype/ foaf: http://xmlns.com/foaf/0.1/ pimspace: http://www.w3.org/ns/pim/space# skos: http://www.w3.org/2004/02/skos/core# prov: http://www.w3.org/ns/prov# mem: http://mementoweb.org/ns# qb: http://purl.org/linked-data/cube# schema: http://schema.org/ void: http://rdfs.org/ns/void# rsa: http://www.w3.org/ns/auth/rsa# cert: http://www.w3.org/ns/auth/cert# wgs: http://www.w3.org/2003/01/geo/wgs84_pos# bibo: http://purl.org/ontology/bibo/ sioc: http://rdfs.org/sioc/ns# doap: http://usefulinc.com/ns/doap# dbr: http://dbpedia.org/resource/ dbp: http://dbpedia.org/property/ sio: http://semanticscience.org/resource/ opmw: http://www.opmw.org/ontology/ deo: http://purl.org/spar/deo/ doco: http://purl.org/spar/doco/ cito: http://purl.org/spar/cito/ fabio: http://purl.org/spar/fabio/ oa: http://www.w3.org/ns/oa# as: https://www.w3.org/ns/activitystreams# ldp: http://www.w3.org/ns/ldp# solid: http://www.w3.org/ns/solid/terms# acl: http://www.w3.org/ns/auth/acl# earl: http://www.w3.org/ns/earl# spec: http://www.w3.org/ns/spec# odrl: http://www.w3.org/ns/odrl/2/ dio: https://w3id.org/dio# rel: https://www.w3.org/ns/iana/link-relations/relation#" typeof="schema:CreativeWork prov:Entity">
|
|
@@ -17,5 +23,5 @@ var e=`<!DOCTYPE html>
|
|
|
17
23
|
</main>
|
|
18
24
|
</body>
|
|
19
25
|
</html>
|
|
20
|
-
`;
|
|
21
|
-
|
|
26
|
+
`;
|
|
27
|
+
var _default = exports.default = DOKIELI_TEMPLATE;
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
.formPane a {
|
|
2
|
+
color: var(--color-text-link, #3b5998);
|
|
3
|
+
text-decoration: none;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.formPane a:link {
|
|
7
|
+
color: var(--color-text-link, #3b5998);
|
|
8
|
+
text-decoration: none;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.formPane a:visited {
|
|
12
|
+
color: var(--color-text-link-visited, #3b5998);
|
|
13
|
+
text-decoration: none;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.formPane a:hover {
|
|
17
|
+
color: var(--color-text-link-hover, #3b5998);
|
|
18
|
+
font-weight: bold;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.formPane a:active {
|
|
22
|
+
color: var(--color-text-link-active, #888);
|
|
23
|
+
text-decoration: none;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.formPane__message,
|
|
27
|
+
.formPaneMessage {
|
|
28
|
+
color: #666;
|
|
29
|
+
margin: var(--spacing-xs, 0.5em) 0;
|
|
30
|
+
padding: var(--spacing-xs, 0.35em) var(--spacing-xs, 0.5em);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.formPane__message--info {
|
|
34
|
+
background-color: var(--color-main-block-bg, #eee);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.formPane__message--error {
|
|
38
|
+
background-color: var(--color-log-error-bg, #fee);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.formPane__editButton {
|
|
42
|
+
margin-left: auto;
|
|
43
|
+
align-self: center;
|
|
44
|
+
padding: var(--spacing-xs, 0.5rem);
|
|
45
|
+
border: .5rem solid white;
|
|
46
|
+
font-size: 100%;
|
|
47
|
+
float: none;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.formPane .formPane__mobileTextareaValue > div {
|
|
51
|
+
display: block;
|
|
52
|
+
min-width: 0;
|
|
53
|
+
position: relative;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.formPane .formPane__mobileTextareaValue > div > textarea {
|
|
57
|
+
box-sizing: border-box;
|
|
58
|
+
max-width: 100%;
|
|
59
|
+
min-width: 0;
|
|
60
|
+
width: 100%;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.formPane .formPane__mobileTextareaValue > div > button[type='button'] {
|
|
64
|
+
float: none !important;
|
|
65
|
+
position: absolute;
|
|
66
|
+
right: 0;
|
|
67
|
+
top: 0;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.formPane[data-layout='mobile'] .formPane__mobileTextareaRow {
|
|
71
|
+
flex-direction: column !important;
|
|
72
|
+
align-items: stretch;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.formPane[data-layout='mobile'] .formPane__mobileTextareaLabel {
|
|
76
|
+
width: auto !important;
|
|
77
|
+
padding-bottom: 0;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.formPane[data-layout='mobile'] .formPane__mobileTextareaValue {
|
|
81
|
+
box-sizing: border-box;
|
|
82
|
+
min-width: 0;
|
|
83
|
+
padding-right: var(--spacing-sm, 0.75rem);
|
|
84
|
+
width: 100%;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.formPane[data-layout='mobile'] .formPane__mobileTextareaValue textarea {
|
|
88
|
+
box-sizing: border-box;
|
|
89
|
+
margin-left: 0 !important;
|
|
90
|
+
margin-right: 0 !important;
|
|
91
|
+
max-width: 100%;
|
|
92
|
+
width: 100%;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
@media (max-width: 960px) {
|
|
96
|
+
.formPane .formPane__mobileTextareaRow {
|
|
97
|
+
flex-direction: column !important;
|
|
98
|
+
align-items: stretch;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.formPane .formPane__mobileTextareaLabel {
|
|
102
|
+
width: auto !important;
|
|
103
|
+
padding-bottom: 0;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.formPane .formPane__mobileTextareaValue {
|
|
107
|
+
box-sizing: border-box;
|
|
108
|
+
min-width: 0;
|
|
109
|
+
padding-right: var(--spacing-sm, 0.75rem);
|
|
110
|
+
width: 100%;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.formPane .formPane__mobileTextareaValue textarea {
|
|
114
|
+
box-sizing: border-box;
|
|
115
|
+
margin-left: 0 !important;
|
|
116
|
+
margin-right: 0 !important;
|
|
117
|
+
max-width: 100%;
|
|
118
|
+
width: 100%;
|
|
119
|
+
}
|
|
120
|
+
}
|
package/dist/form/pane.d.ts
CHANGED