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
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/file-explorer-header/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,GAAG,IAAI,GAAG,SAAS,CAAA"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
require("../../_virtual/~icons/lucide/help-circle.cjs.js");const e=require("./Header.styles.cjs.js");let t=require("solid-ui"),n=require("lit"),r=require("lit/decorators.js");require("solid-ui/components/button"),require("solid-ui/components/menu"),require("solid-ui/components/menu-item"),require("solid-ui/components/account"),require("solid-ui/components/solid-emblem");var i,a,o,s,c,l,u,d,f,p;function m(e,t,n){h(e,t),t.set(e,n)}function h(e,t){if(t.has(e))throw TypeError(`Cannot initialize the same private elements twice on an object`)}function g(e,t,n){return e.set(v(e,t),n),n}function _(e,t){return e.get(v(e,t))}function v(e,t,n){if(typeof e==`function`?e===t:e.has(t))return arguments.length<3?t:n;throw TypeError(`Private element is not present on this object`)}function y(e,t,n){return(t=x(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function b(e,t,n,r,i,a){function o(e,t,n){return function(r,i){return n&&n(r),e[t].call(r,i)}}function s(e,t){for(var n=0;n<e.length;n++)e[n].call(t);return t}function c(e,t,n,r){if(typeof e!=`function`&&(r||e!==void 0))throw TypeError(t+` must `+(n||`be`)+` a function`+(r?``:` or undefined`));return e}function l(e,t,n,r,i,a,s,l,u,d,f,p,m){function h(e){if(!m(e))throw TypeError(`Attempted to access private element on non-instance`)}var g,_=t[0],v=t[3],y=!l;if(!y){n||Array.isArray(_)||(_=[_]);var b={},x=[],S=i===3?`get`:i===4||p?`set`:`value`;d?(f||p?b={get:C(function(){return v(this)},r,`get`),set:function(e){t[4](this,e)}}:b[S]=v,f||C(b[S],r,i===2?``:S)):f||(b=Object.getOwnPropertyDescriptor(e,r))}for(var w=e,T=_.length-1;T>=0;T-=n?2:1){var E=_[T],D=n?_[T-1]:void 0,O={},k={kind:[`field`,`accessor`,`method`,`getter`,`setter`,`class`][i],name:r,metadata:a,addInitializer:function(e,t){if(e.v)throw Error(`attempted to call addInitializer after decoration was finished`);c(t,`An initializer`,`be`,!0),s.push(t)}.bind(null,O)};try{if(y)(g=c(E.call(D,w,k),`class decorators`,`return`))&&(w=g);else{var A,j;k.static=u,k.private=d,d?i===2?A=function(e){return h(e),b.value}:(i<4&&(A=o(b,`get`,h)),i!==3&&(j=o(b,`set`,h))):(A=function(e){return e[r]},(i<2||i===4)&&(j=function(e,t){e[r]=t}));var M=k.access={has:d?m.bind():function(e){return r in e}};if(A&&(M.get=A),j&&(M.set=j),w=E.call(D,p?{get:b.get,set:b.set}:b[S],k),p){if(typeof w==`object`&&w)(g=c(w.get,`accessor.get`))&&(b.get=g),(g=c(w.set,`accessor.set`))&&(b.set=g),(g=c(w.init,`accessor.init`))&&x.push(g);else if(w!==void 0)throw TypeError(`accessor decorators must return an object with get, set, or init properties or void 0`)}else c(w,(f?`field`:`method`)+` decorators`,`return`)&&(f?x.push(w):b[S]=w)}}finally{O.v=!0}}return(f||p)&&l.push(function(e,t){for(var n=x.length-1;n>=0;n--)t=x[n].call(e,t);return t}),f||y||(d?p?l.push(o(b,`get`),o(b,`set`)):l.push(i===2?b[S]:o.call.bind(b[S])):Object.defineProperty(e,r,b)),w}function u(e,t){return Object.defineProperty(e,Symbol.metadata||Symbol.for(`Symbol.metadata`),{configurable:!0,enumerable:!0,value:t})}if(arguments.length>=6)var d=a[Symbol.metadata||Symbol.for(`Symbol.metadata`)];var f=Object.create(d??null),p=function(e,t,n,r){var i,a,o=[],c=function(t){return w(t)===e},u=new Map;function d(e){e&&o.push(s.bind(null,e))}for(var f=0;f<t.length;f++){var p=t[f];if(Array.isArray(p)){var m=p[1],h=p[2],g=p.length>3,_=16&m,v=!!(8&m),y=(m&=7)==0,b=h+`/`+v;if(!y&&!g){var S=u.get(b);if(!0===S||S===3&&m!==4||S===4&&m!==3)throw Error(`Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: `+h);u.set(b,!(m>2)||m)}l(v?e:e.prototype,p,_,g?`#`+h:x(h),m,r,v?a||=[]:i||=[],o,v,g,y,m===1,v&&g?c:n)}}return d(i),d(a),o}(e,t,i,f);return n.length||u(e,f),{e:p,get c(){var t=[];return n.length&&[u(l(e,[n],r,e.name,5,f,t),f),s.bind(null,t,e)]}}}function x(e){var t=S(e,`string`);return typeof t==`symbol`?t:t+``}function S(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function C(e,t,n){typeof t==`symbol`&&(t=(t=t.description)?`[`+t+`]`:``);try{Object.defineProperty(e,"name",{configurable:!0,value:n?n+` `+t:t})}catch{}return e}function w(e){if(Object(e)!==e)throw TypeError(`right-hand side of 'in' should be an object, got `+(e===null?`null`:typeof e));return e}function T(e){return e}l=[(0,t.customElement)(`solid-panes-header`)];var E;new(f=(o=new WeakMap,p=(u=(0,r.property)({type:Array}),`menuItems`),a=class extends t.WebComponent{constructor(...e){super(...e),m(this,o,(s(this),d(this,[])))}get[p](){return _(o,this)}set menuItems(e){g(o,this,e)}render(){return n.html`
|
|
2
|
-
<a href="/" class="logo">
|
|
3
|
-
<span class="sr-only">Home</span>
|
|
4
|
-
<solid-ui-solid-emblem></solid-ui-solid-emblem>
|
|
5
|
-
</a>
|
|
6
|
-
<div class="spacer"></div>
|
|
7
|
-
<solid-ui-account .menuItems=${this.menuItems}></solid-ui-account>
|
|
8
|
-
<span class="separator"></span>
|
|
9
|
-
<solid-ui-menu placement="bottom-end" distance="5">
|
|
10
|
-
<solid-ui-button slot="trigger" variant="ghost" title="Open help">
|
|
11
|
-
<span class="sr-only">Open help</span>
|
|
12
|
-
<icon-lucide-help-circle slot="icon"></icon-lucide-help-circle>
|
|
13
|
-
</solid-ui-button>
|
|
14
|
-
|
|
15
|
-
<solid-ui-menu-item href="https://solidos.github.io/userguide/">User guide</solid-ui-menu-item>
|
|
16
|
-
<solid-ui-menu-item href="https://github.com/solidos/solidos/issues">Report a problem</solid-ui-menu-item>
|
|
17
|
-
</solid-ui-menu>
|
|
18
|
-
`}},{e:[d,s],c:[E,c]}=b(a,[[u,1,`menuItems`]],l,0,void 0,t.WebComponent),a),i=class extends T{constructor(){super(E),y(this,`styles`,e.default),c()}},y(i,f,void 0),i),Object.defineProperty(exports,"default",{enumerable:!0,get:function(){return E}});
|
|
19
|
-
//# sourceMappingURL=Header.cjs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Header.cjs.js","names":["customElement","WebComponent","html","property","styles","_classDecs","_Header","_Header2","_A","WeakMap","_ref","_menuItemsDecs","type","Array","_Header3","Header","constructor","args","_classPrivateFieldInitSpec","_initProto","_init_menuItems","_classPrivateFieldGet","menuItems","v","_classPrivateFieldSet","render","e","c","_initClass","_applyDecs","_Class","_identity","_defineProperty","default"],"sources":["../../../src/components/header/Header.ts"],"sourcesContent":["import { customElement, WebComponent } from 'solid-ui'\nimport { html } from 'lit'\nimport { property } from 'lit/decorators.js'\nimport type { AccountMenuItem } from 'solid-ui/components/account'\n\nimport 'solid-ui/components/account'\nimport 'solid-ui/components/button'\nimport 'solid-ui/components/menu-item'\nimport 'solid-ui/components/menu'\nimport 'solid-ui/components/solid-emblem'\nimport '~icons/lucide/help-circle'\n\nimport styles from './Header.styles.css'\n\n@customElement('solid-panes-header')\nexport default class Header extends WebComponent {\n static styles = styles\n\n @property({ type: Array })\n accessor menuItems: AccountMenuItem[] = []\n\n render () {\n return html`\n <a href=\"/\" class=\"logo\">\n <span class=\"sr-only\">Home</span>\n <solid-ui-solid-emblem></solid-ui-solid-emblem>\n </a>\n <div class=\"spacer\"></div>\n <solid-ui-account .menuItems=${this.menuItems}></solid-ui-account>\n <span class=\"separator\"></span>\n <solid-ui-menu placement=\"bottom-end\" distance=\"5\">\n <solid-ui-button slot=\"trigger\" variant=\"ghost\" title=\"Open help\">\n <span class=\"sr-only\">Open help</span>\n <icon-lucide-help-circle slot=\"icon\"></icon-lucide-help-circle>\n </solid-ui-button>\n\n <solid-ui-menu-item href=\"https://solidos.github.io/userguide/\">User guide</solid-ui-menu-item>\n <solid-ui-menu-item href=\"https://github.com/solidos/solidos/issues\">Report a problem</solid-ui-menu-item>\n </solid-ui-menu>\n `\n }\n}\n"],"mappings":"i8IAYwCK,EAAA,EAAA,EAEvCL,EAAAA,cAAAA,CAAc,oBAAoB,CAAC,EAAA,IAAAM,EAAA,IAAAC,GAAAC,EAAA,IAAAC,QAAAC,GAAAC,GAAAA,EAIjCR,EAAAA,SAAAA,CAAS,CAAES,KAAMC,KAAM,CAAC,EAAC,aAAAC,EAJ5B,cACoCb,EAAAA,YAAa,CAAAe,YAAA,GAAAC,EAAA,CAAA,MAAA,GAAAA,CAAA,EAAAC,EAAA,KAAAV,GAAAW,EAAA,IAAA,EAAAC,EAAA,KAIP,CAAA,CAAE,EAAA,CAAA,CAAA,IAAAV,IAAA,CAAA,OAAAW,EAAAb,EAAA,IAAA,CAAA,CAAA,IAAjCc,UAASC,EAAA,CAAAC,EAAAhB,EAAA,KAAAe,CAAA,CAAA,CAElBE,QAAU,CACR,MAAOvB,GAAAA,IAAI;;;;;;uCAMwB,KAAKoB,UAAS;;;;;;;;;;;KAYnD,CACF,EAAC,CAAAI,EAAA,CAAAN,EAAAD,GAAAQ,EAAA,CAAArB,EAAAsB,IAAAC,EAAAf,EAAA,CAAA,CAAAH,EAAA,EAAA,WAAA,CAAA,EAAAN,EAAA,EAAA,IAAA,GA1BmCJ,EAAAA,YAAY,EAAAa,GAAAgB,EAAA,cAAAC,CAAA,CAAAf,aAAA,CAAA,MAAAV,CAAA,EAAA0B,EAAA,KAAA,SAC9B5B,EAAAA,OAAM,EAAAwB,EAAA,CAAA,CAAA,EAAAI,EAAAF,EAAAvB,EAAA,IAAA,EAAA,EAAAuB"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { WebComponent } from 'solid-ui';
|
|
2
|
-
import { AccountMenuItem } from 'solid-ui/components/account';
|
|
3
|
-
export default class Header extends WebComponent {
|
|
4
|
-
static styles: any;
|
|
5
|
-
accessor menuItems: AccountMenuItem[];
|
|
6
|
-
render(): import('lit-html').TemplateResult<1>;
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=Header.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../src/components/header/Header.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,YAAY,EAAE,MAAM,UAAU,CAAA;AAGtD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAA;AAElE,OAAO,6BAA6B,CAAA;AACpC,OAAO,4BAA4B,CAAA;AACnC,OAAO,+BAA+B,CAAA;AACtC,OAAO,0BAA0B,CAAA;AACjC,OAAO,kCAAkC,CAAA;AACzC,OAAO,2BAA2B,CAAA;AAKlC,MAAM,CAAC,OAAO,OAAO,MAAO,SAAQ,YAAY;IAC9C,MAAM,CAAC,MAAM,MAAS;IAGtB,QAAQ,CAAC,SAAS,EAAE,eAAe,EAAE,CAAK;IAE1C,MAAM;CAoBP"}
|
|
@@ -1,228 +0,0 @@
|
|
|
1
|
-
import "../../_virtual/~icons/lucide/help-circle.esm.js";
|
|
2
|
-
import e from "./Header.styles.esm.js";
|
|
3
|
-
import { WebComponent as t, customElement as n } from "solid-ui";
|
|
4
|
-
import { html as r } from "lit";
|
|
5
|
-
import { property as i } from "lit/decorators.js";
|
|
6
|
-
import "solid-ui/components/button";
|
|
7
|
-
import "solid-ui/components/menu";
|
|
8
|
-
import "solid-ui/components/menu-item";
|
|
9
|
-
import "solid-ui/components/account";
|
|
10
|
-
import "solid-ui/components/solid-emblem";
|
|
11
|
-
//#region src/components/header/Header.ts
|
|
12
|
-
var a, o, s, c, l, u, d, f, p, m;
|
|
13
|
-
function h(e, t, n) {
|
|
14
|
-
g(e, t), t.set(e, n);
|
|
15
|
-
}
|
|
16
|
-
function g(e, t) {
|
|
17
|
-
if (t.has(e)) throw TypeError("Cannot initialize the same private elements twice on an object");
|
|
18
|
-
}
|
|
19
|
-
function _(e, t, n) {
|
|
20
|
-
return e.set(y(e, t), n), n;
|
|
21
|
-
}
|
|
22
|
-
function v(e, t) {
|
|
23
|
-
return e.get(y(e, t));
|
|
24
|
-
}
|
|
25
|
-
function y(e, t, n) {
|
|
26
|
-
if (typeof e == "function" ? e === t : e.has(t)) return arguments.length < 3 ? t : n;
|
|
27
|
-
throw TypeError("Private element is not present on this object");
|
|
28
|
-
}
|
|
29
|
-
function b(e, t, n) {
|
|
30
|
-
return (t = S(t)) in e ? Object.defineProperty(e, t, {
|
|
31
|
-
value: n,
|
|
32
|
-
enumerable: !0,
|
|
33
|
-
configurable: !0,
|
|
34
|
-
writable: !0
|
|
35
|
-
}) : e[t] = n, e;
|
|
36
|
-
}
|
|
37
|
-
function x(e, t, n, r, i, a) {
|
|
38
|
-
function o(e, t, n) {
|
|
39
|
-
return function(r, i) {
|
|
40
|
-
return n && n(r), e[t].call(r, i);
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
function s(e, t) {
|
|
44
|
-
for (var n = 0; n < e.length; n++) e[n].call(t);
|
|
45
|
-
return t;
|
|
46
|
-
}
|
|
47
|
-
function c(e, t, n, r) {
|
|
48
|
-
if (typeof e != "function" && (r || e !== void 0)) throw TypeError(t + " must " + (n || "be") + " a function" + (r ? "" : " or undefined"));
|
|
49
|
-
return e;
|
|
50
|
-
}
|
|
51
|
-
function l(e, t, n, r, i, a, s, l, u, d, f, p, m) {
|
|
52
|
-
function h(e) {
|
|
53
|
-
if (!m(e)) throw TypeError("Attempted to access private element on non-instance");
|
|
54
|
-
}
|
|
55
|
-
var g, _ = t[0], v = t[3], y = !l;
|
|
56
|
-
if (!y) {
|
|
57
|
-
n || Array.isArray(_) || (_ = [_]);
|
|
58
|
-
var b = {}, x = [], S = i === 3 ? "get" : i === 4 || p ? "set" : "value";
|
|
59
|
-
d ? (f || p ? b = {
|
|
60
|
-
get: w(function() {
|
|
61
|
-
return v(this);
|
|
62
|
-
}, r, "get"),
|
|
63
|
-
set: function(e) {
|
|
64
|
-
t[4](this, e);
|
|
65
|
-
}
|
|
66
|
-
} : b[S] = v, f || w(b[S], r, i === 2 ? "" : S)) : f || (b = Object.getOwnPropertyDescriptor(e, r));
|
|
67
|
-
}
|
|
68
|
-
for (var C = e, T = _.length - 1; T >= 0; T -= n ? 2 : 1) {
|
|
69
|
-
var E = _[T], D = n ? _[T - 1] : void 0, O = {}, k = {
|
|
70
|
-
kind: [
|
|
71
|
-
"field",
|
|
72
|
-
"accessor",
|
|
73
|
-
"method",
|
|
74
|
-
"getter",
|
|
75
|
-
"setter",
|
|
76
|
-
"class"
|
|
77
|
-
][i],
|
|
78
|
-
name: r,
|
|
79
|
-
metadata: a,
|
|
80
|
-
addInitializer: function(e, t) {
|
|
81
|
-
if (e.v) throw Error("attempted to call addInitializer after decoration was finished");
|
|
82
|
-
c(t, "An initializer", "be", !0), s.push(t);
|
|
83
|
-
}.bind(null, O)
|
|
84
|
-
};
|
|
85
|
-
try {
|
|
86
|
-
if (y) (g = c(E.call(D, C, k), "class decorators", "return")) && (C = g);
|
|
87
|
-
else {
|
|
88
|
-
var A, j;
|
|
89
|
-
k.static = u, k.private = d, d ? i === 2 ? A = function(e) {
|
|
90
|
-
return h(e), b.value;
|
|
91
|
-
} : (i < 4 && (A = o(b, "get", h)), i !== 3 && (j = o(b, "set", h))) : (A = function(e) {
|
|
92
|
-
return e[r];
|
|
93
|
-
}, (i < 2 || i === 4) && (j = function(e, t) {
|
|
94
|
-
e[r] = t;
|
|
95
|
-
}));
|
|
96
|
-
var M = k.access = { has: d ? m.bind() : function(e) {
|
|
97
|
-
return r in e;
|
|
98
|
-
} };
|
|
99
|
-
if (A && (M.get = A), j && (M.set = j), C = E.call(D, p ? {
|
|
100
|
-
get: b.get,
|
|
101
|
-
set: b.set
|
|
102
|
-
} : b[S], k), p) {
|
|
103
|
-
if (typeof C == "object" && C) (g = c(C.get, "accessor.get")) && (b.get = g), (g = c(C.set, "accessor.set")) && (b.set = g), (g = c(C.init, "accessor.init")) && x.push(g);
|
|
104
|
-
else if (C !== void 0) throw TypeError("accessor decorators must return an object with get, set, or init properties or void 0");
|
|
105
|
-
} else c(C, (f ? "field" : "method") + " decorators", "return") && (f ? x.push(C) : b[S] = C);
|
|
106
|
-
}
|
|
107
|
-
} finally {
|
|
108
|
-
O.v = !0;
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
return (f || p) && l.push(function(e, t) {
|
|
112
|
-
for (var n = x.length - 1; n >= 0; n--) t = x[n].call(e, t);
|
|
113
|
-
return t;
|
|
114
|
-
}), f || y || (d ? p ? l.push(o(b, "get"), o(b, "set")) : l.push(i === 2 ? b[S] : o.call.bind(b[S])) : Object.defineProperty(e, r, b)), C;
|
|
115
|
-
}
|
|
116
|
-
function u(e, t) {
|
|
117
|
-
return Object.defineProperty(e, Symbol.metadata || Symbol.for("Symbol.metadata"), {
|
|
118
|
-
configurable: !0,
|
|
119
|
-
enumerable: !0,
|
|
120
|
-
value: t
|
|
121
|
-
});
|
|
122
|
-
}
|
|
123
|
-
if (arguments.length >= 6) var d = a[Symbol.metadata || Symbol.for("Symbol.metadata")];
|
|
124
|
-
var f = Object.create(d ?? null), p = function(e, t, n, r) {
|
|
125
|
-
var i, a, o = [], c = function(t) {
|
|
126
|
-
return T(t) === e;
|
|
127
|
-
}, u = /* @__PURE__ */ new Map();
|
|
128
|
-
function d(e) {
|
|
129
|
-
e && o.push(s.bind(null, e));
|
|
130
|
-
}
|
|
131
|
-
for (var f = 0; f < t.length; f++) {
|
|
132
|
-
var p = t[f];
|
|
133
|
-
if (Array.isArray(p)) {
|
|
134
|
-
var m = p[1], h = p[2], g = p.length > 3, _ = 16 & m, v = !!(8 & m), y = (m &= 7) == 0, b = h + "/" + v;
|
|
135
|
-
if (!y && !g) {
|
|
136
|
-
var x = u.get(b);
|
|
137
|
-
if (!0 === x || x === 3 && m !== 4 || x === 4 && m !== 3) throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + h);
|
|
138
|
-
u.set(b, !(m > 2) || m);
|
|
139
|
-
}
|
|
140
|
-
l(v ? e : e.prototype, p, _, g ? "#" + h : S(h), m, r, v ? a ||= [] : i ||= [], o, v, g, y, m === 1, v && g ? c : n);
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
return d(i), d(a), o;
|
|
144
|
-
}(e, t, i, f);
|
|
145
|
-
return n.length || u(e, f), {
|
|
146
|
-
e: p,
|
|
147
|
-
get c() {
|
|
148
|
-
var t = [];
|
|
149
|
-
return n.length && [u(l(e, [n], r, e.name, 5, f, t), f), s.bind(null, t, e)];
|
|
150
|
-
}
|
|
151
|
-
};
|
|
152
|
-
}
|
|
153
|
-
function S(e) {
|
|
154
|
-
var t = C(e, "string");
|
|
155
|
-
return typeof t == "symbol" ? t : t + "";
|
|
156
|
-
}
|
|
157
|
-
function C(e, t) {
|
|
158
|
-
if (typeof e != "object" || !e) return e;
|
|
159
|
-
var n = e[Symbol.toPrimitive];
|
|
160
|
-
if (n !== void 0) {
|
|
161
|
-
var r = n.call(e, t || "default");
|
|
162
|
-
if (typeof r != "object") return r;
|
|
163
|
-
throw TypeError("@@toPrimitive must return a primitive value.");
|
|
164
|
-
}
|
|
165
|
-
return (t === "string" ? String : Number)(e);
|
|
166
|
-
}
|
|
167
|
-
function w(e, t, n) {
|
|
168
|
-
typeof t == "symbol" && (t = (t = t.description) ? "[" + t + "]" : "");
|
|
169
|
-
try {
|
|
170
|
-
Object.defineProperty(e, "name", {
|
|
171
|
-
configurable: !0,
|
|
172
|
-
value: n ? n + " " + t : t
|
|
173
|
-
});
|
|
174
|
-
} catch {}
|
|
175
|
-
return e;
|
|
176
|
-
}
|
|
177
|
-
function T(e) {
|
|
178
|
-
if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e === null ? "null" : typeof e));
|
|
179
|
-
return e;
|
|
180
|
-
}
|
|
181
|
-
function E(e) {
|
|
182
|
-
return e;
|
|
183
|
-
}
|
|
184
|
-
u = [n("solid-panes-header")];
|
|
185
|
-
var D;
|
|
186
|
-
new (p = (s = /*#__PURE__*/ new WeakMap(), m = (d = i({ type: Array }), "menuItems"), o = class extends t {
|
|
187
|
-
constructor(...e) {
|
|
188
|
-
super(...e), h(this, s, (c(this), f(this, [])));
|
|
189
|
-
}
|
|
190
|
-
get [m]() {
|
|
191
|
-
return v(s, this);
|
|
192
|
-
}
|
|
193
|
-
set menuItems(e) {
|
|
194
|
-
_(s, this, e);
|
|
195
|
-
}
|
|
196
|
-
render() {
|
|
197
|
-
return r`
|
|
198
|
-
<a href="/" class="logo">
|
|
199
|
-
<span class="sr-only">Home</span>
|
|
200
|
-
<solid-ui-solid-emblem></solid-ui-solid-emblem>
|
|
201
|
-
</a>
|
|
202
|
-
<div class="spacer"></div>
|
|
203
|
-
<solid-ui-account .menuItems=${this.menuItems}></solid-ui-account>
|
|
204
|
-
<span class="separator"></span>
|
|
205
|
-
<solid-ui-menu placement="bottom-end" distance="5">
|
|
206
|
-
<solid-ui-button slot="trigger" variant="ghost" title="Open help">
|
|
207
|
-
<span class="sr-only">Open help</span>
|
|
208
|
-
<icon-lucide-help-circle slot="icon"></icon-lucide-help-circle>
|
|
209
|
-
</solid-ui-button>
|
|
210
|
-
|
|
211
|
-
<solid-ui-menu-item href="https://solidos.github.io/userguide/">User guide</solid-ui-menu-item>
|
|
212
|
-
<solid-ui-menu-item href="https://github.com/solidos/solidos/issues">Report a problem</solid-ui-menu-item>
|
|
213
|
-
</solid-ui-menu>
|
|
214
|
-
`;
|
|
215
|
-
}
|
|
216
|
-
}, {e: [f, c], c: [D, l]} = x(o, [[
|
|
217
|
-
d,
|
|
218
|
-
1,
|
|
219
|
-
"menuItems"
|
|
220
|
-
]], u, 0, void 0, t), o), a = class extends E {
|
|
221
|
-
constructor() {
|
|
222
|
-
super(D), b(this, "styles", e), l();
|
|
223
|
-
}
|
|
224
|
-
}, b(a, p, void 0), a)();
|
|
225
|
-
//#endregion
|
|
226
|
-
export { D as default };
|
|
227
|
-
|
|
228
|
-
//# sourceMappingURL=Header.esm.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Header.esm.js","names":["customElement","WebComponent","html","property","styles","_classDecs","_Header","_Header2","_A","WeakMap","_ref","_menuItemsDecs","type","Array","_Header3","Header","constructor","args","_classPrivateFieldInitSpec","_initProto","_init_menuItems","_classPrivateFieldGet","menuItems","v","_classPrivateFieldSet","render","e","c","_initClass","_applyDecs","_Class","_identity","_defineProperty","default"],"sources":["../../../src/components/header/Header.ts"],"sourcesContent":["import { customElement, WebComponent } from 'solid-ui'\nimport { html } from 'lit'\nimport { property } from 'lit/decorators.js'\nimport type { AccountMenuItem } from 'solid-ui/components/account'\n\nimport 'solid-ui/components/account'\nimport 'solid-ui/components/button'\nimport 'solid-ui/components/menu-item'\nimport 'solid-ui/components/menu'\nimport 'solid-ui/components/solid-emblem'\nimport '~icons/lucide/help-circle'\n\nimport styles from './Header.styles.css'\n\n@customElement('solid-panes-header')\nexport default class Header extends WebComponent {\n static styles = styles\n\n @property({ type: Array })\n accessor menuItems: AccountMenuItem[] = []\n\n render () {\n return html`\n <a href=\"/\" class=\"logo\">\n <span class=\"sr-only\">Home</span>\n <solid-ui-solid-emblem></solid-ui-solid-emblem>\n </a>\n <div class=\"spacer\"></div>\n <solid-ui-account .menuItems=${this.menuItems}></solid-ui-account>\n <span class=\"separator\"></span>\n <solid-ui-menu placement=\"bottom-end\" distance=\"5\">\n <solid-ui-button slot=\"trigger\" variant=\"ghost\" title=\"Open help\">\n <span class=\"sr-only\">Open help</span>\n <icon-lucide-help-circle slot=\"icon\"></icon-lucide-help-circle>\n </solid-ui-button>\n\n <solid-ui-menu-item href=\"https://solidos.github.io/userguide/\">User guide</solid-ui-menu-item>\n <solid-ui-menu-item href=\"https://github.com/solidos/solidos/issues\">Report a problem</solid-ui-menu-item>\n </solid-ui-menu>\n `\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAYwCK,IAAA,CAEvCL,EAAc,oBAAoB,CAAC;AAAA,IAAAM;AAAA,KAAAC,KAAAC,kBAAA,IAAAC,QAAA,GAAAC,KAAAC,IAIjCR,EAAS,EAAES,MAAMC,MAAM,CAAC,GAAC,cAAAC,IAJ5B,cACoCb,EAAa;CAAAe,YAAA,GAAAC,GAAA;EAAAC,AAAA,MAAA,GAAAD,CAAA,GAAAC,EAAA,MAAAV,IAAAW,EAAA,IAAA,GAAAC,EAAA,MAIP,CAAA,CAAE,EAAA;CAAA;CAAA,KAAAV,KAAA;EAAA,OAAAW,EAAAb,GAAA,IAAA;CAAA;CAAA,IAAjCc,UAASC,GAAA;EAAAC,EAAAhB,GAAA,MAAAe,CAAA;CAAA;CAElBE,SAAU;EACR,OAAOvB,CAAI;;;;;;uCAMwB,KAAKoB,UAAS;;;;;;;;;;;;CAYnD;AACF,GAAC,CAAAI,GAAA,CAAAN,GAAAD,IAAAQ,GAAA,CAAArB,GAAAsB,MAAAC,EAAAf,GAAA,CAAA;CAAAH;CAAA;CAAA;AAAA,CAAA,GAAAN,GAAA,GAAA,KAAA,GA1BmCJ,CAAY,GAAAa,IAAAgB,IAAA,cAAAC,EAAA;CAAAf,cAAA;EAAA,MAAAV,CAAA,GAAA0B,EAAA,MAAA,UAC9B5B,CAAM,GAAAwB,EAAA;CAAA;AAAA,GAAAI,EAAAF,GAAAvB,GAAA,KAAA,CAAA,GAAAuB,GAAA"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var e=require("lit").css`:host{background:var(--solid-ui-color-slate-800);color:var(--solid-ui-color-white);flex-direction:row;justify-content:space-between;align-items:center;gap:10px;padding:7px 20px;display:flex}:host a.logo{height:40px}:host a.logo solid-ui-solid-emblem{height:100%}:host .spacer{flex:1}:host .separator{background:var(--solid-ui-color-body-grey);align-self:stretch;width:1px}@media (width<=48rem){:host a.logo,:host solid-ui-menu,:host .separator{display:none}}`;exports.default=e;
|
|
2
|
-
//# sourceMappingURL=Header.styles.cjs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Header.styles.cjs.js","names":[],"sources":["../../../src/components/header/Header.styles.css"],"sourcesContent":["@import \"solid-ui/breakpoints.css\";\n\n:host {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n background: var(--solid-ui-color-slate-800);\n color: var(--solid-ui-color-white);\n padding: 7px 20px;\n gap: 10px;\n\n a.logo {\n height: 40px;\n\n solid-ui-solid-emblem {\n height: 100%;\n }\n }\n\n .spacer {\n flex: 1;\n }\n\n .separator {\n background: var(--solid-ui-color-body-grey);\n width: 1px;\n align-self: stretch;\n }\n\n @media (--solid-ui-mobile) {\n a.logo,\n solid-ui-menu,\n .separator {\n display: none;\n }\n }\n}\n"],"mappings":""}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { css as e } from "lit";
|
|
2
|
-
//#region src/components/header/Header.styles.css
|
|
3
|
-
var t = e`:host{background:var(--solid-ui-color-slate-800);color:var(--solid-ui-color-white);flex-direction:row;justify-content:space-between;align-items:center;gap:10px;padding:7px 20px;display:flex}:host a.logo{height:40px}:host a.logo solid-ui-solid-emblem{height:100%}:host .spacer{flex:1}:host .separator{background:var(--solid-ui-color-body-grey);align-self:stretch;width:1px}@media (width<=48rem){:host a.logo,:host solid-ui-menu,:host .separator{display:none}}`;
|
|
4
|
-
//#endregion
|
|
5
|
-
export { t as default };
|
|
6
|
-
|
|
7
|
-
//# sourceMappingURL=Header.styles.esm.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Header.styles.esm.js","names":[],"sources":["../../../src/components/header/Header.styles.css"],"sourcesContent":["@import \"solid-ui/breakpoints.css\";\n\n:host {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n background: var(--solid-ui-color-slate-800);\n color: var(--solid-ui-color-white);\n padding: 7px 20px;\n gap: 10px;\n\n a.logo {\n height: 40px;\n\n solid-ui-solid-emblem {\n height: 100%;\n }\n }\n\n .spacer {\n flex: 1;\n }\n\n .separator {\n background: var(--solid-ui-color-body-grey);\n width: 1px;\n align-self: stretch;\n }\n\n @media (--solid-ui-mobile) {\n a.logo,\n solid-ui-menu,\n .separator {\n display: none;\n }\n }\n}\n"],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
require("./Header.cjs.js");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/header/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAA;AAE7B,OAAO,EAAE,MAAM,EAAE,CAAA;AACjB,eAAe,MAAM,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./Header.esm.js";
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
require("../../_virtual/~icons/lucide/help-circle.cjs.js");const e=require("./Navbar.styles.cjs.js");let t=require("solid-ui"),n=require("lit"),r=require("lit/decorators.js");require("solid-ui/components/button"),require("solid-ui/components/menu"),require("solid-ui/components/menu-item"),require("solid-ui/components/account"),require("solid-ui/components/solid-emblem");var i,a,o,s,c,l,u,d,f,p;function m(e,t,n){h(e,t),t.set(e,n)}function h(e,t){if(t.has(e))throw TypeError(`Cannot initialize the same private elements twice on an object`)}function g(e,t,n){return e.set(v(e,t),n),n}function _(e,t){return e.get(v(e,t))}function v(e,t,n){if(typeof e==`function`?e===t:e.has(t))return arguments.length<3?t:n;throw TypeError(`Private element is not present on this object`)}function y(e,t,n){return(t=x(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function b(e,t,n,r,i,a){function o(e,t,n){return function(r,i){return n&&n(r),e[t].call(r,i)}}function s(e,t){for(var n=0;n<e.length;n++)e[n].call(t);return t}function c(e,t,n,r){if(typeof e!=`function`&&(r||e!==void 0))throw TypeError(t+` must `+(n||`be`)+` a function`+(r?``:` or undefined`));return e}function l(e,t,n,r,i,a,s,l,u,d,f,p,m){function h(e){if(!m(e))throw TypeError(`Attempted to access private element on non-instance`)}var g,_=t[0],v=t[3],y=!l;if(!y){n||Array.isArray(_)||(_=[_]);var b={},x=[],S=i===3?`get`:i===4||p?`set`:`value`;d?(f||p?b={get:C(function(){return v(this)},r,`get`),set:function(e){t[4](this,e)}}:b[S]=v,f||C(b[S],r,i===2?``:S)):f||(b=Object.getOwnPropertyDescriptor(e,r))}for(var w=e,T=_.length-1;T>=0;T-=n?2:1){var E=_[T],D=n?_[T-1]:void 0,O={},k={kind:[`field`,`accessor`,`method`,`getter`,`setter`,`class`][i],name:r,metadata:a,addInitializer:function(e,t){if(e.v)throw Error(`attempted to call addInitializer after decoration was finished`);c(t,`An initializer`,`be`,!0),s.push(t)}.bind(null,O)};try{if(y)(g=c(E.call(D,w,k),`class decorators`,`return`))&&(w=g);else{var A,j;k.static=u,k.private=d,d?i===2?A=function(e){return h(e),b.value}:(i<4&&(A=o(b,`get`,h)),i!==3&&(j=o(b,`set`,h))):(A=function(e){return e[r]},(i<2||i===4)&&(j=function(e,t){e[r]=t}));var M=k.access={has:d?m.bind():function(e){return r in e}};if(A&&(M.get=A),j&&(M.set=j),w=E.call(D,p?{get:b.get,set:b.set}:b[S],k),p){if(typeof w==`object`&&w)(g=c(w.get,`accessor.get`))&&(b.get=g),(g=c(w.set,`accessor.set`))&&(b.set=g),(g=c(w.init,`accessor.init`))&&x.push(g);else if(w!==void 0)throw TypeError(`accessor decorators must return an object with get, set, or init properties or void 0`)}else c(w,(f?`field`:`method`)+` decorators`,`return`)&&(f?x.push(w):b[S]=w)}}finally{O.v=!0}}return(f||p)&&l.push(function(e,t){for(var n=x.length-1;n>=0;n--)t=x[n].call(e,t);return t}),f||y||(d?p?l.push(o(b,`get`),o(b,`set`)):l.push(i===2?b[S]:o.call.bind(b[S])):Object.defineProperty(e,r,b)),w}function u(e,t){return Object.defineProperty(e,Symbol.metadata||Symbol.for(`Symbol.metadata`),{configurable:!0,enumerable:!0,value:t})}if(arguments.length>=6)var d=a[Symbol.metadata||Symbol.for(`Symbol.metadata`)];var f=Object.create(d??null),p=function(e,t,n,r){var i,a,o=[],c=function(t){return w(t)===e},u=new Map;function d(e){e&&o.push(s.bind(null,e))}for(var f=0;f<t.length;f++){var p=t[f];if(Array.isArray(p)){var m=p[1],h=p[2],g=p.length>3,_=16&m,v=!!(8&m),y=(m&=7)==0,b=h+`/`+v;if(!y&&!g){var S=u.get(b);if(!0===S||S===3&&m!==4||S===4&&m!==3)throw Error(`Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: `+h);u.set(b,!(m>2)||m)}l(v?e:e.prototype,p,_,g?`#`+h:x(h),m,r,v?a||=[]:i||=[],o,v,g,y,m===1,v&&g?c:n)}}return d(i),d(a),o}(e,t,i,f);return n.length||u(e,f),{e:p,get c(){var t=[];return n.length&&[u(l(e,[n],r,e.name,5,f,t),f),s.bind(null,t,e)]}}}function x(e){var t=S(e,`string`);return typeof t==`symbol`?t:t+``}function S(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function C(e,t,n){typeof t==`symbol`&&(t=(t=t.description)?`[`+t+`]`:``);try{Object.defineProperty(e,"name",{configurable:!0,value:n?n+` `+t:t})}catch{}return e}function w(e){if(Object(e)!==e)throw TypeError(`right-hand side of 'in' should be an object, got `+(e===null?`null`:typeof e));return e}function T(e){return e}l=[(0,t.customElement)(`solid-panes-navbar`)];var E;new(f=(o=new WeakMap,p=(u=(0,r.property)({type:Array}),`navbarItems`),a=class extends t.WebComponent{constructor(...e){super(...e),m(this,o,(s(this),d(this,[])))}get[p](){return _(o,this)}set navbarItems(e){g(o,this,e)}selectItem(e){this.dispatchEvent(new CustomEvent(`solid-ui-select`,{detail:e,bubbles:!0,composed:!0,cancelable:!0}))}render(){return n.html`
|
|
2
|
-
<nav class="navbar">
|
|
3
|
-
${this.navbarItems.map(e=>n.html`
|
|
4
|
-
<button
|
|
5
|
-
type="button"
|
|
6
|
-
class=${e.selected?`selected`:``}
|
|
7
|
-
@click=${()=>this.selectItem(e)}
|
|
8
|
-
title=${typeof e.label==`string`?e.label:``}
|
|
9
|
-
>
|
|
10
|
-
${e.label}
|
|
11
|
-
</button>
|
|
12
|
-
`)}
|
|
13
|
-
</nav>
|
|
14
|
-
`}},{e:[d,s],c:[E,c]}=b(a,[[u,1,`navbarItems`]],l,0,void 0,t.WebComponent),a),i=class extends T{constructor(){super(E),y(this,`styles`,e.default),c()}},y(i,f,void 0),i),Object.defineProperty(exports,"default",{enumerable:!0,get:function(){return E}});
|
|
15
|
-
//# sourceMappingURL=Navbar.cjs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Navbar.cjs.js","names":["customElement","WebComponent","html","property","styles","_classDecs","_Navbar","_Navbar2","_A","WeakMap","_ref","_navbarItemsDecs","type","Array","_Navbar3","Navbar","constructor","args","_classPrivateFieldInitSpec","_initProto","_init_navbarItems","_classPrivateFieldGet","navbarItems","v","_classPrivateFieldSet","selectItem","item","dispatchEvent","CustomEvent","detail","bubbles","composed","cancelable","render","map","menuItem","selected","label","e","c","_initClass","_applyDecs","_Class","_identity","_defineProperty","default"],"sources":["../../../src/components/navbar/Navbar.ts"],"sourcesContent":["import { customElement, WebComponent } from 'solid-ui'\nimport { html, TemplateResult } from 'lit'\nimport { property } from 'lit/decorators.js'\n\nimport 'solid-ui/components/account'\nimport 'solid-ui/components/button'\nimport 'solid-ui/components/menu-item'\nimport 'solid-ui/components/menu'\nimport 'solid-ui/components/solid-emblem'\nimport '~icons/lucide/help-circle'\n\nimport styles from './Navbar.styles.css'\n\nexport interface NavbarMenuItem {\n label: string | TemplateResult\n selected?: boolean\n onSelected?(): void | Promise<void>\n}\n\n@customElement('solid-panes-navbar')\nexport default class Navbar extends WebComponent {\n static styles = styles\n\n @property({ type: Array })\n accessor navbarItems: NavbarMenuItem[] = []\n\n private selectItem (item: NavbarMenuItem) {\n this.dispatchEvent(new CustomEvent('solid-ui-select', {\n detail: item,\n bubbles: true,\n composed: true,\n cancelable: true\n }))\n }\n\n render () {\n return html`\n <nav class=\"navbar\">\n ${this.navbarItems.map(menuItem => html`\n <button\n type=\"button\"\n class=${menuItem.selected ? 'selected' : ''}\n @click=${() => this.selectItem(menuItem)}\n title=${typeof menuItem.label === 'string' ? menuItem.label : ''}\n >\n ${menuItem.label}\n </button>\n `)}\n </nav>\n `\n }\n}\n"],"mappings":"i8IAWwCK,EAAA,EAAA,EAQvCL,EAAAA,cAAAA,CAAc,oBAAoB,CAAC,EAAA,IAAAM,EAAA,IAAAC,GAAAC,EAAA,IAAAC,QAAAC,GAAAC,GAAAA,EAIjCR,EAAAA,SAAAA,CAAS,CAAES,KAAMC,KAAM,CAAC,EAAC,eAAAC,EAJ5B,cACoCb,EAAAA,YAAa,CAAAe,YAAA,GAAAC,EAAA,CAAA,MAAA,GAAAA,CAAA,EAAAC,EAAA,KAAAV,GAAAW,EAAA,IAAA,EAAAC,EAAA,KAIN,CAAA,CAAE,EAAA,CAAA,CAAA,IAAAV,IAAA,CAAA,OAAAW,EAAAb,EAAA,IAAA,CAAA,CAAA,IAAlCc,YAAWC,EAAA,CAAAC,EAAAhB,EAAA,KAAAe,CAAA,CAAA,CAEZE,WAAYC,EAAsB,CACxC,KAAKC,cAAc,IAAIC,YAAY,kBAAmB,CACpDC,OAAQH,EACRI,QAAS,GACTC,SAAU,GACVC,WAAY,EACd,CAAC,CAAC,CACJ,CAEAC,QAAU,CACR,MAAO/B,GAAAA,IAAI;;SAEN,KAAKoB,YAAYY,IAAIC,GAAYjC,EAAAA,IAAI;;;kBAG5BiC,EAASC,SAAW,WAAa,GAAE;uBAC5B,KAAKX,WAAWU,CAAQ,EAAC;kBAChC,OAAOA,EAASE,OAAU,SAAWF,EAASE,MAAQ,GAAE;;YAE9DF,EAASE,MAAK;;OAEnB,EAAC;;KAGN,CACF,EAAC,CAAAC,EAAA,CAAAlB,EAAAD,GAAAoB,EAAA,CAAAjC,EAAAkC,IAAAC,EAAA3B,EAAA,CAAA,CAAAH,EAAA,EAAA,aAAA,CAAA,EAAAN,EAAA,EAAA,IAAA,GA/BmCJ,EAAAA,YAAY,EAAAa,GAAA4B,EAAA,cAAAC,CAAA,CAAA3B,aAAA,CAAA,MAAAV,CAAA,EAAAsC,EAAA,KAAA,SAC9BxC,EAAAA,OAAM,EAAAoC,EAAA,CAAA,CAAA,EAAAI,EAAAF,EAAAnC,EAAA,IAAA,EAAA,EAAAmC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { WebComponent } from 'solid-ui';
|
|
2
|
-
import { TemplateResult } from 'lit';
|
|
3
|
-
export interface NavbarMenuItem {
|
|
4
|
-
label: string | TemplateResult;
|
|
5
|
-
selected?: boolean;
|
|
6
|
-
onSelected?(): void | Promise<void>;
|
|
7
|
-
}
|
|
8
|
-
export default class Navbar extends WebComponent {
|
|
9
|
-
static styles: any;
|
|
10
|
-
accessor navbarItems: NavbarMenuItem[];
|
|
11
|
-
private selectItem;
|
|
12
|
-
render(): TemplateResult<1>;
|
|
13
|
-
}
|
|
14
|
-
//# sourceMappingURL=Navbar.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Navbar.d.ts","sourceRoot":"","sources":["../../../src/components/navbar/Navbar.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,YAAY,EAAE,MAAM,UAAU,CAAA;AACtD,OAAO,EAAQ,cAAc,EAAE,MAAM,KAAK,CAAA;AAG1C,OAAO,6BAA6B,CAAA;AACpC,OAAO,4BAA4B,CAAA;AACnC,OAAO,+BAA+B,CAAA;AACtC,OAAO,0BAA0B,CAAA;AACjC,OAAO,kCAAkC,CAAA;AACzC,OAAO,2BAA2B,CAAA;AAIlC,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,GAAG,cAAc,CAAA;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,UAAU,CAAC,IAAI,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;CACpC;AAGD,MAAM,CAAC,OAAO,OAAO,MAAO,SAAQ,YAAY;IAC9C,MAAM,CAAC,MAAM,MAAS;IAGtB,QAAQ,CAAC,WAAW,EAAE,cAAc,EAAE,CAAK;IAE3C,OAAO,CAAC,UAAU;IASlB,MAAM;CAgBP"}
|
|
@@ -1,232 +0,0 @@
|
|
|
1
|
-
import "../../_virtual/~icons/lucide/help-circle.esm.js";
|
|
2
|
-
import e from "./Navbar.styles.esm.js";
|
|
3
|
-
import { WebComponent as t, customElement as n } from "solid-ui";
|
|
4
|
-
import { html as r } from "lit";
|
|
5
|
-
import { property as i } from "lit/decorators.js";
|
|
6
|
-
import "solid-ui/components/button";
|
|
7
|
-
import "solid-ui/components/menu";
|
|
8
|
-
import "solid-ui/components/menu-item";
|
|
9
|
-
import "solid-ui/components/account";
|
|
10
|
-
import "solid-ui/components/solid-emblem";
|
|
11
|
-
//#region src/components/navbar/Navbar.ts
|
|
12
|
-
var a, o, s, c, l, u, d, f, p, m;
|
|
13
|
-
function h(e, t, n) {
|
|
14
|
-
g(e, t), t.set(e, n);
|
|
15
|
-
}
|
|
16
|
-
function g(e, t) {
|
|
17
|
-
if (t.has(e)) throw TypeError("Cannot initialize the same private elements twice on an object");
|
|
18
|
-
}
|
|
19
|
-
function _(e, t, n) {
|
|
20
|
-
return e.set(y(e, t), n), n;
|
|
21
|
-
}
|
|
22
|
-
function v(e, t) {
|
|
23
|
-
return e.get(y(e, t));
|
|
24
|
-
}
|
|
25
|
-
function y(e, t, n) {
|
|
26
|
-
if (typeof e == "function" ? e === t : e.has(t)) return arguments.length < 3 ? t : n;
|
|
27
|
-
throw TypeError("Private element is not present on this object");
|
|
28
|
-
}
|
|
29
|
-
function b(e, t, n) {
|
|
30
|
-
return (t = S(t)) in e ? Object.defineProperty(e, t, {
|
|
31
|
-
value: n,
|
|
32
|
-
enumerable: !0,
|
|
33
|
-
configurable: !0,
|
|
34
|
-
writable: !0
|
|
35
|
-
}) : e[t] = n, e;
|
|
36
|
-
}
|
|
37
|
-
function x(e, t, n, r, i, a) {
|
|
38
|
-
function o(e, t, n) {
|
|
39
|
-
return function(r, i) {
|
|
40
|
-
return n && n(r), e[t].call(r, i);
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
function s(e, t) {
|
|
44
|
-
for (var n = 0; n < e.length; n++) e[n].call(t);
|
|
45
|
-
return t;
|
|
46
|
-
}
|
|
47
|
-
function c(e, t, n, r) {
|
|
48
|
-
if (typeof e != "function" && (r || e !== void 0)) throw TypeError(t + " must " + (n || "be") + " a function" + (r ? "" : " or undefined"));
|
|
49
|
-
return e;
|
|
50
|
-
}
|
|
51
|
-
function l(e, t, n, r, i, a, s, l, u, d, f, p, m) {
|
|
52
|
-
function h(e) {
|
|
53
|
-
if (!m(e)) throw TypeError("Attempted to access private element on non-instance");
|
|
54
|
-
}
|
|
55
|
-
var g, _ = t[0], v = t[3], y = !l;
|
|
56
|
-
if (!y) {
|
|
57
|
-
n || Array.isArray(_) || (_ = [_]);
|
|
58
|
-
var b = {}, x = [], S = i === 3 ? "get" : i === 4 || p ? "set" : "value";
|
|
59
|
-
d ? (f || p ? b = {
|
|
60
|
-
get: w(function() {
|
|
61
|
-
return v(this);
|
|
62
|
-
}, r, "get"),
|
|
63
|
-
set: function(e) {
|
|
64
|
-
t[4](this, e);
|
|
65
|
-
}
|
|
66
|
-
} : b[S] = v, f || w(b[S], r, i === 2 ? "" : S)) : f || (b = Object.getOwnPropertyDescriptor(e, r));
|
|
67
|
-
}
|
|
68
|
-
for (var C = e, T = _.length - 1; T >= 0; T -= n ? 2 : 1) {
|
|
69
|
-
var E = _[T], D = n ? _[T - 1] : void 0, O = {}, k = {
|
|
70
|
-
kind: [
|
|
71
|
-
"field",
|
|
72
|
-
"accessor",
|
|
73
|
-
"method",
|
|
74
|
-
"getter",
|
|
75
|
-
"setter",
|
|
76
|
-
"class"
|
|
77
|
-
][i],
|
|
78
|
-
name: r,
|
|
79
|
-
metadata: a,
|
|
80
|
-
addInitializer: function(e, t) {
|
|
81
|
-
if (e.v) throw Error("attempted to call addInitializer after decoration was finished");
|
|
82
|
-
c(t, "An initializer", "be", !0), s.push(t);
|
|
83
|
-
}.bind(null, O)
|
|
84
|
-
};
|
|
85
|
-
try {
|
|
86
|
-
if (y) (g = c(E.call(D, C, k), "class decorators", "return")) && (C = g);
|
|
87
|
-
else {
|
|
88
|
-
var A, j;
|
|
89
|
-
k.static = u, k.private = d, d ? i === 2 ? A = function(e) {
|
|
90
|
-
return h(e), b.value;
|
|
91
|
-
} : (i < 4 && (A = o(b, "get", h)), i !== 3 && (j = o(b, "set", h))) : (A = function(e) {
|
|
92
|
-
return e[r];
|
|
93
|
-
}, (i < 2 || i === 4) && (j = function(e, t) {
|
|
94
|
-
e[r] = t;
|
|
95
|
-
}));
|
|
96
|
-
var M = k.access = { has: d ? m.bind() : function(e) {
|
|
97
|
-
return r in e;
|
|
98
|
-
} };
|
|
99
|
-
if (A && (M.get = A), j && (M.set = j), C = E.call(D, p ? {
|
|
100
|
-
get: b.get,
|
|
101
|
-
set: b.set
|
|
102
|
-
} : b[S], k), p) {
|
|
103
|
-
if (typeof C == "object" && C) (g = c(C.get, "accessor.get")) && (b.get = g), (g = c(C.set, "accessor.set")) && (b.set = g), (g = c(C.init, "accessor.init")) && x.push(g);
|
|
104
|
-
else if (C !== void 0) throw TypeError("accessor decorators must return an object with get, set, or init properties or void 0");
|
|
105
|
-
} else c(C, (f ? "field" : "method") + " decorators", "return") && (f ? x.push(C) : b[S] = C);
|
|
106
|
-
}
|
|
107
|
-
} finally {
|
|
108
|
-
O.v = !0;
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
return (f || p) && l.push(function(e, t) {
|
|
112
|
-
for (var n = x.length - 1; n >= 0; n--) t = x[n].call(e, t);
|
|
113
|
-
return t;
|
|
114
|
-
}), f || y || (d ? p ? l.push(o(b, "get"), o(b, "set")) : l.push(i === 2 ? b[S] : o.call.bind(b[S])) : Object.defineProperty(e, r, b)), C;
|
|
115
|
-
}
|
|
116
|
-
function u(e, t) {
|
|
117
|
-
return Object.defineProperty(e, Symbol.metadata || Symbol.for("Symbol.metadata"), {
|
|
118
|
-
configurable: !0,
|
|
119
|
-
enumerable: !0,
|
|
120
|
-
value: t
|
|
121
|
-
});
|
|
122
|
-
}
|
|
123
|
-
if (arguments.length >= 6) var d = a[Symbol.metadata || Symbol.for("Symbol.metadata")];
|
|
124
|
-
var f = Object.create(d ?? null), p = function(e, t, n, r) {
|
|
125
|
-
var i, a, o = [], c = function(t) {
|
|
126
|
-
return T(t) === e;
|
|
127
|
-
}, u = /* @__PURE__ */ new Map();
|
|
128
|
-
function d(e) {
|
|
129
|
-
e && o.push(s.bind(null, e));
|
|
130
|
-
}
|
|
131
|
-
for (var f = 0; f < t.length; f++) {
|
|
132
|
-
var p = t[f];
|
|
133
|
-
if (Array.isArray(p)) {
|
|
134
|
-
var m = p[1], h = p[2], g = p.length > 3, _ = 16 & m, v = !!(8 & m), y = (m &= 7) == 0, b = h + "/" + v;
|
|
135
|
-
if (!y && !g) {
|
|
136
|
-
var x = u.get(b);
|
|
137
|
-
if (!0 === x || x === 3 && m !== 4 || x === 4 && m !== 3) throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + h);
|
|
138
|
-
u.set(b, !(m > 2) || m);
|
|
139
|
-
}
|
|
140
|
-
l(v ? e : e.prototype, p, _, g ? "#" + h : S(h), m, r, v ? a ||= [] : i ||= [], o, v, g, y, m === 1, v && g ? c : n);
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
return d(i), d(a), o;
|
|
144
|
-
}(e, t, i, f);
|
|
145
|
-
return n.length || u(e, f), {
|
|
146
|
-
e: p,
|
|
147
|
-
get c() {
|
|
148
|
-
var t = [];
|
|
149
|
-
return n.length && [u(l(e, [n], r, e.name, 5, f, t), f), s.bind(null, t, e)];
|
|
150
|
-
}
|
|
151
|
-
};
|
|
152
|
-
}
|
|
153
|
-
function S(e) {
|
|
154
|
-
var t = C(e, "string");
|
|
155
|
-
return typeof t == "symbol" ? t : t + "";
|
|
156
|
-
}
|
|
157
|
-
function C(e, t) {
|
|
158
|
-
if (typeof e != "object" || !e) return e;
|
|
159
|
-
var n = e[Symbol.toPrimitive];
|
|
160
|
-
if (n !== void 0) {
|
|
161
|
-
var r = n.call(e, t || "default");
|
|
162
|
-
if (typeof r != "object") return r;
|
|
163
|
-
throw TypeError("@@toPrimitive must return a primitive value.");
|
|
164
|
-
}
|
|
165
|
-
return (t === "string" ? String : Number)(e);
|
|
166
|
-
}
|
|
167
|
-
function w(e, t, n) {
|
|
168
|
-
typeof t == "symbol" && (t = (t = t.description) ? "[" + t + "]" : "");
|
|
169
|
-
try {
|
|
170
|
-
Object.defineProperty(e, "name", {
|
|
171
|
-
configurable: !0,
|
|
172
|
-
value: n ? n + " " + t : t
|
|
173
|
-
});
|
|
174
|
-
} catch {}
|
|
175
|
-
return e;
|
|
176
|
-
}
|
|
177
|
-
function T(e) {
|
|
178
|
-
if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e === null ? "null" : typeof e));
|
|
179
|
-
return e;
|
|
180
|
-
}
|
|
181
|
-
function E(e) {
|
|
182
|
-
return e;
|
|
183
|
-
}
|
|
184
|
-
u = [n("solid-panes-navbar")];
|
|
185
|
-
var D;
|
|
186
|
-
new (p = (s = /*#__PURE__*/ new WeakMap(), m = (d = i({ type: Array }), "navbarItems"), o = class extends t {
|
|
187
|
-
constructor(...e) {
|
|
188
|
-
super(...e), h(this, s, (c(this), f(this, [])));
|
|
189
|
-
}
|
|
190
|
-
get [m]() {
|
|
191
|
-
return v(s, this);
|
|
192
|
-
}
|
|
193
|
-
set navbarItems(e) {
|
|
194
|
-
_(s, this, e);
|
|
195
|
-
}
|
|
196
|
-
selectItem(e) {
|
|
197
|
-
this.dispatchEvent(new CustomEvent("solid-ui-select", {
|
|
198
|
-
detail: e,
|
|
199
|
-
bubbles: !0,
|
|
200
|
-
composed: !0,
|
|
201
|
-
cancelable: !0
|
|
202
|
-
}));
|
|
203
|
-
}
|
|
204
|
-
render() {
|
|
205
|
-
return r`
|
|
206
|
-
<nav class="navbar">
|
|
207
|
-
${this.navbarItems.map((e) => r`
|
|
208
|
-
<button
|
|
209
|
-
type="button"
|
|
210
|
-
class=${e.selected ? "selected" : ""}
|
|
211
|
-
@click=${() => this.selectItem(e)}
|
|
212
|
-
title=${typeof e.label == "string" ? e.label : ""}
|
|
213
|
-
>
|
|
214
|
-
${e.label}
|
|
215
|
-
</button>
|
|
216
|
-
`)}
|
|
217
|
-
</nav>
|
|
218
|
-
`;
|
|
219
|
-
}
|
|
220
|
-
}, {e: [f, c], c: [D, l]} = x(o, [[
|
|
221
|
-
d,
|
|
222
|
-
1,
|
|
223
|
-
"navbarItems"
|
|
224
|
-
]], u, 0, void 0, t), o), a = class extends E {
|
|
225
|
-
constructor() {
|
|
226
|
-
super(D), b(this, "styles", e), l();
|
|
227
|
-
}
|
|
228
|
-
}, b(a, p, void 0), a)();
|
|
229
|
-
//#endregion
|
|
230
|
-
export { D as default };
|
|
231
|
-
|
|
232
|
-
//# sourceMappingURL=Navbar.esm.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Navbar.esm.js","names":["customElement","WebComponent","html","property","styles","_classDecs","_Navbar","_Navbar2","_A","WeakMap","_ref","_navbarItemsDecs","type","Array","_Navbar3","Navbar","constructor","args","_classPrivateFieldInitSpec","_initProto","_init_navbarItems","_classPrivateFieldGet","navbarItems","v","_classPrivateFieldSet","selectItem","item","dispatchEvent","CustomEvent","detail","bubbles","composed","cancelable","render","map","menuItem","selected","label","e","c","_initClass","_applyDecs","_Class","_identity","_defineProperty","default"],"sources":["../../../src/components/navbar/Navbar.ts"],"sourcesContent":["import { customElement, WebComponent } from 'solid-ui'\nimport { html, TemplateResult } from 'lit'\nimport { property } from 'lit/decorators.js'\n\nimport 'solid-ui/components/account'\nimport 'solid-ui/components/button'\nimport 'solid-ui/components/menu-item'\nimport 'solid-ui/components/menu'\nimport 'solid-ui/components/solid-emblem'\nimport '~icons/lucide/help-circle'\n\nimport styles from './Navbar.styles.css'\n\nexport interface NavbarMenuItem {\n label: string | TemplateResult\n selected?: boolean\n onSelected?(): void | Promise<void>\n}\n\n@customElement('solid-panes-navbar')\nexport default class Navbar extends WebComponent {\n static styles = styles\n\n @property({ type: Array })\n accessor navbarItems: NavbarMenuItem[] = []\n\n private selectItem (item: NavbarMenuItem) {\n this.dispatchEvent(new CustomEvent('solid-ui-select', {\n detail: item,\n bubbles: true,\n composed: true,\n cancelable: true\n }))\n }\n\n render () {\n return html`\n <nav class=\"navbar\">\n ${this.navbarItems.map(menuItem => html`\n <button\n type=\"button\"\n class=${menuItem.selected ? 'selected' : ''}\n @click=${() => this.selectItem(menuItem)}\n title=${typeof menuItem.label === 'string' ? menuItem.label : ''}\n >\n ${menuItem.label}\n </button>\n `)}\n </nav>\n `\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWwCK,IAAA,CAQvCL,EAAc,oBAAoB,CAAC;AAAA,IAAAM;AAAA,KAAAC,KAAAC,kBAAA,IAAAC,QAAA,GAAAC,KAAAC,IAIjCR,EAAS,EAAES,MAAMC,MAAM,CAAC,GAAC,gBAAAC,IAJ5B,cACoCb,EAAa;CAAAe,YAAA,GAAAC,GAAA;EAAAC,AAAA,MAAA,GAAAD,CAAA,GAAAC,EAAA,MAAAV,IAAAW,EAAA,IAAA,GAAAC,EAAA,MAIN,CAAA,CAAE,EAAA;CAAA;CAAA,KAAAV,KAAA;EAAA,OAAAW,EAAAb,GAAA,IAAA;CAAA;CAAA,IAAlCc,YAAWC,GAAA;EAAAC,EAAAhB,GAAA,MAAAe,CAAA;CAAA;CAEZE,WAAYC,GAAsB;EACxC,KAAKC,cAAc,IAAIC,YAAY,mBAAmB;GACpDC,QAAQH;GACRI,SAAS;GACTC,UAAU;GACVC,YAAY;EACd,CAAC,CAAC;CACJ;CAEAC,SAAU;EACR,OAAO/B,CAAI;;SAEN,KAAKoB,YAAYY,KAAIC,MAAYjC,CAAI;;;kBAG5BiC,EAASC,WAAW,aAAa,GAAE;yBAC5B,KAAKX,WAAWU,CAAQ,EAAC;kBAChC,OAAOA,EAASE,SAAU,WAAWF,EAASE,QAAQ,GAAE;;YAE9DF,EAASE,MAAK;;OAEnB,EAAC;;;CAGN;AACF,GAAC,CAAAC,GAAA,CAAAlB,GAAAD,IAAAoB,GAAA,CAAAjC,GAAAkC,MAAAC,EAAA3B,GAAA,CAAA;CAAAH;CAAA;CAAA;AAAA,CAAA,GAAAN,GAAA,GAAA,KAAA,GA/BmCJ,CAAY,GAAAa,IAAA4B,IAAA,cAAAC,EAAA;CAAA3B,cAAA;EAAA,MAAAV,CAAA,GAAAsC,EAAA,MAAA,UAC9BxC,CAAM,GAAAoC,EAAA;CAAA;AAAA,GAAAI,EAAAF,GAAAnC,GAAA,KAAA,CAAA,GAAAmC,GAAA"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var e=require("lit").css`:host{display:block}:host(.navbar--hidden){display:none!important}.navbar{border:1px solid var(--color-border,#444);background:var(--solid-ui-color-white,#fff);border-radius:5px;display:flex;overflow:hidden}button{color:inherit;cursor:pointer;background:0 0;border-bottom:2px solid #0000;padding:10px 25px;font-size:90%;font-weight:500}button.selected,button:active,button:hover,button:focus{border-bottom-color:var(--solid-ui-color-primary,#7c4dff);color:var(--solid-ui-color-primary,#7c4dff);text-transform:capitalize;background:color-mix(in srgb, currentColor 25%, transparent);border-radius:0}`;exports.default=e;
|
|
2
|
-
//# sourceMappingURL=Navbar.styles.cjs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Navbar.styles.cjs.js","names":[],"sources":["../../../src/components/navbar/Navbar.styles.css"],"sourcesContent":[":host {\n display: block;\n}\n\n:host(.navbar--hidden) {\n display: none !important;\n}\n\n.navbar {\n border: 1px solid var(--color-border, #444);\n border-radius: 5px;\n display: flex;\n background: var(--solid-ui-color-white, #fff);\n overflow: hidden;\n}\n\nbutton {\n padding: 10px 25px;\n border-bottom: 2px solid transparent;\n font-weight: 500;\n font-size: 90%;\n background: transparent;\n color: inherit;\n cursor: pointer;\n}\n\nbutton.selected,\nbutton:active,\nbutton:hover,\nbutton:focus {\n border-bottom-color: var(--solid-ui-color-primary, #7C4DFF);\n border-radius: 0;\n color: var(--solid-ui-color-primary, #7C4DFF);\n text-transform: capitalize;\n background: color-mix(in srgb, currentColor 25%, transparent);\n}\n"],"mappings":""}
|