solid-panes 5.0.0 → 5.1.0-1
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 +84 -2
- package/dist/RDFXMLPane2.cjs.js.map +1 -1
- package/dist/_virtual/~icons/lucide/cake.cjs.js +2 -0
- package/dist/_virtual/~icons/lucide/cake.cjs.js.map +1 -0
- package/dist/_virtual/~icons/lucide/cake.esm.js +11 -0
- package/dist/_virtual/~icons/lucide/cake.esm.js.map +1 -0
- package/dist/_virtual/~icons/lucide/camera.cjs.js +2 -0
- package/dist/_virtual/~icons/lucide/camera.cjs.js.map +1 -0
- package/dist/_virtual/~icons/lucide/camera.esm.js +11 -0
- package/dist/_virtual/~icons/lucide/camera.esm.js.map +1 -0
- package/dist/_virtual/~icons/lucide/circle-user-round.cjs.js +2 -0
- package/dist/_virtual/~icons/lucide/circle-user-round.cjs.js.map +1 -0
- package/dist/_virtual/~icons/lucide/circle-user-round.esm.js +11 -0
- package/dist/_virtual/~icons/lucide/circle-user-round.esm.js.map +1 -0
- package/dist/_virtual/~icons/lucide/mail.cjs.js +2 -0
- package/dist/_virtual/~icons/lucide/mail.cjs.js.map +1 -0
- package/dist/_virtual/~icons/lucide/mail.esm.js +11 -0
- package/dist/_virtual/~icons/lucide/mail.esm.js.map +1 -0
- package/dist/_virtual/~icons/lucide/map-pin.cjs.js +2 -0
- package/dist/_virtual/~icons/lucide/map-pin.cjs.js.map +1 -0
- package/dist/_virtual/~icons/lucide/map-pin.esm.js +11 -0
- package/dist/_virtual/~icons/lucide/map-pin.esm.js.map +1 -0
- package/dist/_virtual/~icons/lucide/phone.cjs.js +2 -0
- package/dist/_virtual/~icons/lucide/phone.cjs.js.map +1 -0
- package/dist/_virtual/~icons/lucide/phone.esm.js +11 -0
- package/dist/_virtual/~icons/lucide/phone.esm.js.map +1 -0
- package/dist/_virtual/~icons/lucide/user-round-plus.cjs.js +2 -0
- package/dist/_virtual/~icons/lucide/user-round-plus.cjs.js.map +1 -0
- package/dist/_virtual/~icons/lucide/user-round-plus.esm.js +11 -0
- package/dist/_virtual/~icons/lucide/user-round-plus.esm.js.map +1 -0
- package/dist/_virtual/~icons/lucide/x.cjs.js +2 -0
- package/dist/_virtual/~icons/lucide/x.cjs.js.map +1 -0
- package/dist/_virtual/~icons/lucide/x.esm.js +11 -0
- package/dist/_virtual/~icons/lucide/x.esm.js.map +1 -0
- package/dist/audio/audioPane.cjs.js +1 -1
- package/dist/audio/audioPane.cjs.js.map +1 -1
- package/dist/audio/audioPane.esm.js +1 -5
- package/dist/audio/audioPane.esm.js.map +1 -1
- package/dist/classInstancePane.cjs.js.map +1 -1
- package/dist/components/editor-card/EditorCard.cjs.js +1 -1
- package/dist/components/editor-card/EditorCard.cjs.js.map +1 -1
- package/dist/components/editor-card/EditorCard.esm.js +4 -7
- package/dist/components/editor-card/EditorCard.esm.js.map +1 -1
- package/dist/components/file-explorer-header/FileExplorerHeader.cjs.js +1 -1
- package/dist/components/file-explorer-header/FileExplorerHeader.cjs.js.map +1 -1
- package/dist/components/file-explorer-header/FileExplorerHeader.esm.js +2 -2
- package/dist/components/file-explorer-header/FileExplorerHeaderControls.cjs.js +1 -1
- package/dist/components/file-explorer-header/FileExplorerHeaderControls.cjs.js.map +1 -1
- package/dist/components/file-explorer-header/FileExplorerHeaderControls.esm.js +2 -2
- package/dist/components/file-explorer-header/FileExplorerHeaderSummary.cjs.js +1 -1
- package/dist/components/file-explorer-header/FileExplorerHeaderSummary.cjs.js.map +1 -1
- package/dist/components/file-explorer-header/FileExplorerHeaderSummary.esm.js +2 -2
- package/dist/components/file-explorer-header/FileExplorerProvider.cjs.js +5 -5
- package/dist/components/file-explorer-header/FileExplorerProvider.cjs.js.map +1 -1
- package/dist/components/file-explorer-header/FileExplorerProvider.d.ts.map +1 -1
- package/dist/components/file-explorer-header/FileExplorerProvider.esm.js +97 -96
- package/dist/components/file-explorer-header/FileExplorerProvider.esm.js.map +1 -1
- package/dist/components/header/Header.cjs.js +1 -1
- package/dist/components/header/Header.cjs.js.map +1 -1
- package/dist/components/header/Header.esm.js +2 -2
- package/dist/components/header/Header.styles.cjs.js +1 -1
- package/dist/components/header/Header.styles.cjs.js.map +1 -1
- package/dist/components/header/Header.styles.esm.js +1 -1
- package/dist/components/header/Header.styles.esm.js.map +1 -1
- package/dist/components/navbar/Navbar.cjs.js +1 -1
- package/dist/components/navbar/Navbar.cjs.js.map +1 -1
- package/dist/components/navbar/Navbar.d.ts +2 -0
- package/dist/components/navbar/Navbar.d.ts.map +1 -1
- package/dist/components/navbar/Navbar.esm.js +2 -2
- package/dist/components/navbar/Navbar.esm.js.map +1 -1
- package/dist/components/navbar/Navbar.styles.cjs.js +1 -1
- package/dist/components/navbar/Navbar.styles.cjs.js.map +1 -1
- package/dist/components/navbar/Navbar.styles.esm.js +1 -1
- package/dist/components/navbar/Navbar.styles.esm.js.map +1 -1
- package/dist/components/profile-heading/ProfileHeading.cjs.js +95 -0
- package/dist/components/profile-heading/ProfileHeading.cjs.js.map +1 -0
- package/dist/components/profile-heading/ProfileHeading.d.ts +45 -0
- package/dist/components/profile-heading/ProfileHeading.d.ts.map +1 -0
- package/dist/components/profile-heading/ProfileHeading.esm.js +480 -0
- package/dist/components/profile-heading/ProfileHeading.esm.js.map +1 -0
- package/dist/components/profile-heading/ProfileHeading.styles.cjs.js +2 -0
- package/dist/components/profile-heading/ProfileHeading.styles.cjs.js.map +1 -0
- package/dist/components/profile-heading/ProfileHeading.styles.esm.js +7 -0
- package/dist/components/profile-heading/ProfileHeading.styles.esm.js.map +1 -0
- package/dist/components/profile-heading/editor/index.d.ts +3 -0
- package/dist/components/profile-heading/editor/index.d.ts.map +1 -0
- package/dist/components/profile-heading/editor/sections/contactInfo/types.d.ts +44 -0
- package/dist/components/profile-heading/editor/sections/contactInfo/types.d.ts.map +1 -0
- package/dist/components/profile-heading/editor/sections/heading/HeadingEditDialog.cjs.js +297 -0
- package/dist/components/profile-heading/editor/sections/heading/HeadingEditDialog.cjs.js.map +1 -0
- package/dist/components/profile-heading/editor/sections/heading/HeadingEditDialog.d.ts +5 -0
- package/dist/components/profile-heading/editor/sections/heading/HeadingEditDialog.d.ts.map +1 -0
- package/dist/components/profile-heading/editor/sections/heading/HeadingEditDialog.esm.js +642 -0
- package/dist/components/profile-heading/editor/sections/heading/HeadingEditDialog.esm.js.map +1 -0
- package/dist/components/profile-heading/editor/sections/heading/dateHelpers.cjs.js +2 -0
- package/dist/components/profile-heading/editor/sections/heading/dateHelpers.cjs.js.map +1 -0
- package/dist/components/profile-heading/editor/sections/heading/dateHelpers.d.ts +4 -0
- package/dist/components/profile-heading/editor/sections/heading/dateHelpers.d.ts.map +1 -0
- package/dist/components/profile-heading/editor/sections/heading/dateHelpers.esm.js +16 -0
- package/dist/components/profile-heading/editor/sections/heading/dateHelpers.esm.js.map +1 -0
- package/dist/components/profile-heading/editor/sections/heading/imageHelpers.cjs.js +2 -0
- package/dist/components/profile-heading/editor/sections/heading/imageHelpers.cjs.js.map +1 -0
- package/dist/components/profile-heading/editor/sections/heading/imageHelpers.d.ts +5 -0
- package/dist/components/profile-heading/editor/sections/heading/imageHelpers.d.ts.map +1 -0
- package/dist/components/profile-heading/editor/sections/heading/imageHelpers.esm.js +76 -0
- package/dist/components/profile-heading/editor/sections/heading/imageHelpers.esm.js.map +1 -0
- package/dist/components/profile-heading/editor/sections/heading/imagePreview.cjs.js +19 -0
- package/dist/components/profile-heading/editor/sections/heading/imagePreview.cjs.js.map +1 -0
- package/dist/components/profile-heading/editor/sections/heading/imagePreview.d.ts +2 -0
- package/dist/components/profile-heading/editor/sections/heading/imagePreview.d.ts.map +1 -0
- package/dist/components/profile-heading/editor/sections/heading/imagePreview.esm.js +28 -0
- package/dist/components/profile-heading/editor/sections/heading/imagePreview.esm.js.map +1 -0
- package/dist/components/profile-heading/editor/sections/heading/mutations.cjs.js +2 -0
- package/dist/components/profile-heading/editor/sections/heading/mutations.cjs.js.map +1 -0
- package/dist/components/profile-heading/editor/sections/heading/mutations.d.ts +4 -0
- package/dist/components/profile-heading/editor/sections/heading/mutations.d.ts.map +1 -0
- package/dist/components/profile-heading/editor/sections/heading/mutations.esm.js +151 -0
- package/dist/components/profile-heading/editor/sections/heading/mutations.esm.js.map +1 -0
- package/dist/components/profile-heading/editor/sections/heading/types.d.ts +34 -0
- package/dist/components/profile-heading/editor/sections/heading/types.d.ts.map +1 -0
- package/dist/components/profile-heading/editor/sections/shared/contactTypeUtils.cjs.js +2 -0
- package/dist/components/profile-heading/editor/sections/shared/contactTypeUtils.cjs.js.map +1 -0
- package/dist/components/profile-heading/editor/sections/shared/contactTypeUtils.d.ts +7 -0
- package/dist/components/profile-heading/editor/sections/shared/contactTypeUtils.d.ts.map +1 -0
- package/dist/components/profile-heading/editor/sections/shared/contactTypeUtils.esm.js +20 -0
- package/dist/components/profile-heading/editor/sections/shared/contactTypeUtils.esm.js.map +1 -0
- package/dist/components/profile-heading/editor/sections/shared/idNodeFactory.cjs.js +2 -0
- package/dist/components/profile-heading/editor/sections/shared/idNodeFactory.cjs.js.map +1 -0
- package/dist/components/profile-heading/editor/sections/shared/idNodeFactory.d.ts +3 -0
- package/dist/components/profile-heading/editor/sections/shared/idNodeFactory.d.ts.map +1 -0
- package/dist/components/profile-heading/editor/sections/shared/idNodeFactory.esm.js +11 -0
- package/dist/components/profile-heading/editor/sections/shared/idNodeFactory.esm.js.map +1 -0
- package/dist/components/profile-heading/editor/sections/shared/phoneCountries.cjs.js +2 -0
- package/dist/components/profile-heading/editor/sections/shared/phoneCountries.cjs.js.map +1 -0
- package/dist/components/profile-heading/editor/sections/shared/phoneCountries.d.ts +20 -0
- package/dist/components/profile-heading/editor/sections/shared/phoneCountries.d.ts.map +1 -0
- package/dist/components/profile-heading/editor/sections/shared/phoneCountries.esm.js +1291 -0
- package/dist/components/profile-heading/editor/sections/shared/phoneCountries.esm.js.map +1 -0
- package/dist/components/profile-heading/editor/sections/shared/rdfMutationHelpers.cjs.js +2 -0
- package/dist/components/profile-heading/editor/sections/shared/rdfMutationHelpers.cjs.js.map +1 -0
- package/dist/components/profile-heading/editor/sections/shared/rdfMutationHelpers.d.ts +45 -0
- package/dist/components/profile-heading/editor/sections/shared/rdfMutationHelpers.d.ts.map +1 -0
- package/dist/components/profile-heading/editor/sections/shared/rdfMutationHelpers.esm.js +211 -0
- package/dist/components/profile-heading/editor/sections/shared/rdfMutationHelpers.esm.js.map +1 -0
- package/dist/components/profile-heading/editor/sections/shared/rowState.cjs.js +2 -0
- package/dist/components/profile-heading/editor/sections/shared/rowState.cjs.js.map +1 -0
- package/dist/components/profile-heading/editor/sections/shared/rowState.d.ts +21 -0
- package/dist/components/profile-heading/editor/sections/shared/rowState.d.ts.map +1 -0
- package/dist/components/profile-heading/editor/sections/shared/rowState.esm.js +18 -0
- package/dist/components/profile-heading/editor/sections/shared/rowState.esm.js.map +1 -0
- package/dist/components/profile-heading/editor/sections/shared/sanitizeUtils.cjs.js +2 -0
- package/dist/components/profile-heading/editor/sections/shared/sanitizeUtils.cjs.js.map +1 -0
- package/dist/components/profile-heading/editor/sections/shared/sanitizeUtils.d.ts +5 -0
- package/dist/components/profile-heading/editor/sections/shared/sanitizeUtils.d.ts.map +1 -0
- package/dist/components/profile-heading/editor/sections/shared/sanitizeUtils.esm.js +18 -0
- package/dist/components/profile-heading/editor/sections/shared/sanitizeUtils.esm.js.map +1 -0
- package/dist/components/profile-heading/editor/sections/shared/types.d.ts +31 -0
- package/dist/components/profile-heading/editor/sections/shared/types.d.ts.map +1 -0
- package/dist/components/profile-heading/editor/textUtils.cjs.js +2 -0
- package/dist/components/profile-heading/editor/textUtils.cjs.js.map +1 -0
- package/dist/components/profile-heading/editor/textUtils.d.ts +6 -0
- package/dist/components/profile-heading/editor/textUtils.d.ts.map +1 -0
- package/dist/components/profile-heading/editor/textUtils.esm.js +26 -0
- package/dist/components/profile-heading/editor/textUtils.esm.js.map +1 -0
- package/dist/components/profile-heading/editor/texts/buttonTexts.d.ts +9 -0
- package/dist/components/profile-heading/editor/texts/buttonTexts.d.ts.map +1 -0
- package/dist/components/profile-heading/editor/texts/dialogTexts.cjs.js +2 -0
- package/dist/components/profile-heading/editor/texts/dialogTexts.cjs.js.map +1 -0
- package/dist/components/profile-heading/editor/texts/dialogTexts.d.ts +14 -0
- package/dist/components/profile-heading/editor/texts/dialogTexts.d.ts.map +1 -0
- package/dist/components/profile-heading/editor/texts/dialogTexts.esm.js +6 -0
- package/dist/components/profile-heading/editor/texts/dialogTexts.esm.js.map +1 -0
- package/dist/components/profile-heading/editor/texts/messageTexts.cjs.js +2 -0
- package/dist/components/profile-heading/editor/texts/messageTexts.cjs.js.map +1 -0
- package/dist/components/profile-heading/editor/texts/messageTexts.d.ts +42 -0
- package/dist/components/profile-heading/editor/texts/messageTexts.d.ts.map +1 -0
- package/dist/components/profile-heading/editor/texts/messageTexts.esm.js +6 -0
- package/dist/components/profile-heading/editor/texts/messageTexts.esm.js.map +1 -0
- package/dist/components/profile-heading/editor/texts/profileTexts.d.ts +14 -0
- package/dist/components/profile-heading/editor/texts/profileTexts.d.ts.map +1 -0
- package/dist/components/profile-heading/editor/texts/qrCodeTexts.d.ts +2 -0
- package/dist/components/profile-heading/editor/texts/qrCodeTexts.d.ts.map +1 -0
- package/dist/components/profile-heading/editor/texts.d.ts +6 -0
- package/dist/components/profile-heading/editor/texts.d.ts.map +1 -0
- package/dist/components/profile-heading/editor/ui/dialog.d.ts +41 -0
- package/dist/components/profile-heading/editor/ui/dialog.d.ts.map +1 -0
- package/dist/components/profile-heading/editor/ui/dialog2.cjs.js +17 -0
- package/dist/components/profile-heading/editor/ui/dialog2.cjs.js.map +1 -0
- package/dist/components/profile-heading/editor/ui/dialog2.esm.js +263 -0
- package/dist/components/profile-heading/editor/ui/dialog2.esm.js.map +1 -0
- package/dist/components/profile-heading/editor/ui/spinner.cjs.js +5 -0
- package/dist/components/profile-heading/editor/ui/spinner.cjs.js.map +1 -0
- package/dist/components/profile-heading/editor/ui/spinner.d.ts +3 -0
- package/dist/components/profile-heading/editor/ui/spinner.d.ts.map +1 -0
- package/dist/components/profile-heading/editor/ui/spinner.esm.js +12 -0
- package/dist/components/profile-heading/editor/ui/spinner.esm.js.map +1 -0
- package/dist/components/profile-heading/editor/utils/errorDisplay.cjs.js +2 -0
- package/dist/components/profile-heading/editor/utils/errorDisplay.cjs.js.map +1 -0
- package/dist/components/profile-heading/editor/utils/errorDisplay.d.ts +2 -0
- package/dist/components/profile-heading/editor/utils/errorDisplay.d.ts.map +1 -0
- package/dist/components/profile-heading/editor/utils/errorDisplay.esm.js +18 -0
- package/dist/components/profile-heading/editor/utils/errorDisplay.esm.js.map +1 -0
- package/dist/components/profile-heading/friendActions.cjs.js +2 -0
- package/dist/components/profile-heading/friendActions.cjs.js.map +1 -0
- package/dist/components/profile-heading/friendActions.d.ts +11 -0
- package/dist/components/profile-heading/friendActions.d.ts.map +1 -0
- package/dist/components/profile-heading/friendActions.esm.js +32 -0
- package/dist/components/profile-heading/friendActions.esm.js.map +1 -0
- package/dist/components/profile-heading/index.cjs.js +1 -0
- package/dist/components/profile-heading/index.d.ts +5 -0
- package/dist/components/profile-heading/index.d.ts.map +1 -0
- package/dist/components/profile-heading/index.esm.js +1 -0
- package/dist/components/profile-heading/profileHeadingData.cjs.js +2 -0
- package/dist/components/profile-heading/profileHeadingData.cjs.js.map +1 -0
- package/dist/components/profile-heading/profileHeadingData.d.ts +6 -0
- package/dist/components/profile-heading/profileHeadingData.d.ts.map +1 -0
- package/dist/components/profile-heading/profileHeadingData.esm.js +81 -0
- package/dist/components/profile-heading/profileHeadingData.esm.js.map +1 -0
- package/dist/components/resource-actions-menu/ResourceActionsMenu.cjs.js +1 -1
- package/dist/components/resource-actions-menu/ResourceActionsMenu.cjs.js.map +1 -1
- package/dist/components/resource-actions-menu/ResourceActionsMenu.esm.js +2 -2
- package/dist/dashboard/basicPreferences.cjs.js.map +1 -1
- package/dist/dashboard/dashboardPane.cjs.js.map +1 -1
- package/dist/dashboard/homepage.cjs.js.map +1 -1
- package/dist/dataContentPane2.cjs.js.map +1 -1
- package/dist/defaultPane2.cjs.js.map +1 -1
- package/dist/dokieli/dokieliPane.cjs.js.map +1 -1
- package/dist/form/pane.cjs.js.map +1 -1
- package/dist/home/homePane.cjs.js.map +1 -1
- package/dist/humanReadablePane2.cjs.js.map +1 -1
- package/dist/icons/folder.cjs.js.map +1 -1
- package/dist/icons/friends.cjs.js.map +1 -1
- package/dist/icons/person.cjs.js.map +1 -1
- package/dist/imagePane2.cjs.js.map +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.esm.js +15 -14
- package/dist/index.esm.js.map +1 -1
- package/dist/internal/internalPane2.cjs.js +1 -1
- package/dist/internal/internalPane2.cjs.js.map +1 -1
- package/dist/internal/internalPane2.esm.js +2 -5
- package/dist/internal/internalPane2.esm.js.map +1 -1
- package/dist/mainPage/header.cjs.js +1 -1
- package/dist/mainPage/header.cjs.js.map +1 -1
- package/dist/mainPage/header.d.ts +2 -2
- package/dist/mainPage/header.d.ts.map +1 -1
- package/dist/mainPage/header.esm.js +48 -44
- package/dist/mainPage/header.esm.js.map +1 -1
- package/dist/mainPage/index.cjs.js +1 -1
- package/dist/mainPage/index.cjs.js.map +1 -1
- package/dist/mainPage/index.d.ts.map +1 -1
- package/dist/mainPage/index.esm.js +27 -21
- package/dist/mainPage/index.esm.js.map +1 -1
- package/dist/mainPage/navbar.cjs.js +1 -1
- package/dist/mainPage/navbar.cjs.js.map +1 -1
- package/dist/mainPage/navbar.d.ts +3 -2
- package/dist/mainPage/navbar.d.ts.map +1 -1
- package/dist/mainPage/navbar.esm.js +77 -42
- package/dist/mainPage/navbar.esm.js.map +1 -1
- package/dist/mainPage/navigation.cjs.js +2 -0
- package/dist/mainPage/navigation.cjs.js.map +1 -0
- package/dist/mainPage/navigation.d.ts +6 -0
- package/dist/mainPage/navigation.d.ts.map +1 -0
- package/dist/mainPage/navigation.esm.js +22 -0
- package/dist/mainPage/navigation.esm.js.map +1 -0
- package/dist/mainPage/profileHeading.d.ts +5 -0
- package/dist/mainPage/profileHeading.d.ts.map +1 -0
- package/dist/mainPage/profileHeading2.cjs.js +2 -0
- package/dist/mainPage/profileHeading2.cjs.js.map +1 -0
- package/dist/mainPage/profileHeading2.esm.js +158 -0
- package/dist/mainPage/profileHeading2.esm.js.map +1 -0
- package/dist/n3Pane2.cjs.js.map +1 -1
- package/dist/navigation/browserEvents.cjs.js +2 -0
- package/dist/navigation/browserEvents.cjs.js.map +1 -0
- package/dist/navigation/browserEvents.d.ts +15 -0
- package/dist/navigation/browserEvents.d.ts.map +1 -0
- package/dist/navigation/browserEvents.esm.js +32 -0
- package/dist/navigation/browserEvents.esm.js.map +1 -0
- package/dist/navigation/chrome.cjs.js +2 -0
- package/dist/navigation/chrome.cjs.js.map +1 -0
- package/dist/navigation/chrome.d.ts +69 -0
- package/dist/navigation/chrome.d.ts.map +1 -0
- package/dist/navigation/chrome.esm.js +43 -0
- package/dist/navigation/chrome.esm.js.map +1 -0
- package/dist/navigation/controller.cjs.js +2 -0
- package/dist/navigation/controller.cjs.js.map +1 -0
- package/dist/navigation/controller.d.ts +51 -0
- package/dist/navigation/controller.d.ts.map +1 -0
- package/dist/navigation/controller.esm.js +45 -0
- package/dist/navigation/controller.esm.js.map +1 -0
- package/dist/navigation/events.cjs.js +2 -0
- package/dist/navigation/events.cjs.js.map +1 -0
- package/dist/navigation/events.d.ts +17 -0
- package/dist/navigation/events.d.ts.map +1 -0
- package/dist/navigation/events.esm.js +18 -0
- package/dist/navigation/events.esm.js.map +1 -0
- package/dist/navigation/navbarVisibility.cjs.js +2 -0
- package/dist/navigation/navbarVisibility.cjs.js.map +1 -0
- package/dist/navigation/navbarVisibility.d.ts +5 -0
- package/dist/navigation/navbarVisibility.d.ts.map +1 -0
- package/dist/navigation/navbarVisibility.esm.js +26 -0
- package/dist/navigation/navbarVisibility.esm.js.map +1 -0
- package/dist/navigation/options.cjs.js +2 -0
- package/dist/navigation/options.cjs.js.map +1 -0
- package/dist/navigation/options.d.ts +16 -0
- package/dist/navigation/options.d.ts.map +1 -0
- package/dist/navigation/options.esm.js +8 -0
- package/dist/navigation/options.esm.js.map +1 -0
- package/dist/navigation/podContext.cjs.js +2 -0
- package/dist/navigation/podContext.cjs.js.map +1 -0
- package/dist/navigation/podContext.d.ts +21 -0
- package/dist/navigation/podContext.d.ts.map +1 -0
- package/dist/navigation/podContext.esm.js +62 -0
- package/dist/navigation/podContext.esm.js.map +1 -0
- package/dist/navigation/state.cjs.js +2 -0
- package/dist/navigation/state.cjs.js.map +1 -0
- package/dist/navigation/state.d.ts +40 -0
- package/dist/navigation/state.d.ts.map +1 -0
- package/dist/navigation/state.esm.js +41 -0
- package/dist/navigation/state.esm.js.map +1 -0
- package/dist/outline/context.cjs.js.map +1 -1
- package/dist/outline/manager2.cjs.js +1 -1
- package/dist/outline/manager2.cjs.js.map +1 -1
- package/dist/outline/manager2.esm.js +387 -353
- package/dist/outline/manager2.esm.js.map +1 -1
- package/dist/outline/outlineIcons.cjs.js.map +1 -1
- package/dist/outline/propertyViews.cjs.js.map +1 -1
- package/dist/outline/queryByExample.cjs.js.map +1 -1
- package/dist/outline/userInput.cjs.js +1 -1
- package/dist/outline/userInput.cjs.js.map +1 -1
- package/dist/outline/userInput.esm.js +12 -13
- package/dist/outline/userInput.esm.js.map +1 -1
- package/dist/outline/viewAsImage.cjs.js.map +1 -1
- package/dist/outline/viewAsMbox.cjs.js.map +1 -1
- package/dist/pad/padPane2.cjs.js +1 -1
- package/dist/pad/padPane2.cjs.js.map +1 -1
- package/dist/pad/padPane2.esm.js +2 -6
- package/dist/pad/padPane2.esm.js.map +1 -1
- package/dist/playlist/playlistPane.cjs.js.map +1 -1
- package/dist/registerPanes.cjs.js.map +1 -1
- package/dist/schedule/schedulePane2.cjs.js +1 -1
- package/dist/schedule/schedulePane2.cjs.js.map +1 -1
- package/dist/schedule/schedulePane2.esm.js +1 -5
- package/dist/schedule/schedulePane2.esm.js.map +1 -1
- package/dist/sharing/sharingPane.cjs.js.map +1 -1
- package/dist/slideshow/slideshowPane.cjs.js.map +1 -1
- package/dist/social/editProfileDetails.cjs.js +1 -1
- package/dist/social/editProfileDetails.cjs.js.map +1 -1
- package/dist/social/editProfileDetails.esm.js +0 -2
- package/dist/social/editProfileDetails.esm.js.map +1 -1
- package/dist/social/icons.cjs.js +4 -4
- package/dist/social/icons.cjs.js.map +1 -1
- package/dist/social/icons.esm.js +5 -5
- package/dist/social/icons.esm.js.map +1 -1
- package/dist/social/socialPane.d.ts +0 -1
- package/dist/social/socialPane.d.ts.map +1 -1
- package/dist/social/socialPane2.cjs.js +3 -3
- package/dist/social/socialPane2.cjs.js.map +1 -1
- package/dist/social/socialPane2.esm.js +97 -154
- package/dist/social/socialPane2.esm.js.map +1 -1
- package/dist/social/socialSections.cjs.js +1 -1
- package/dist/social/socialSections.cjs.js.map +1 -1
- package/dist/social/socialSections.d.ts +2 -2
- package/dist/social/socialSections.d.ts.map +1 -1
- package/dist/social/socialSections.esm.js +62 -139
- package/dist/social/socialSections.esm.js.map +1 -1
- package/dist/social/triage.cjs.js.map +1 -1
- package/dist/tabbed/tabbedPane.cjs.js.map +1 -1
- package/dist/tableViewPane.cjs.js.map +1 -1
- package/dist/transaction/pane.cjs.js.map +1 -1
- package/dist/transaction/pane.esm.js +1 -1
- package/dist/transaction/pane.esm.js.map +1 -1
- package/dist/transaction/period.cjs.js.map +1 -1
- package/dist/trip/tripPane.cjs.js.map +1 -1
- package/dist/trustedApplications/trustedApplications.dom.cjs.js.map +1 -1
- package/dist/trustedApplications/trustedApplications.utils.cjs.js.map +1 -1
- package/dist/trustedApplications/trustedApplications.view.cjs.js.map +1 -1
- package/dist/types.d.ts +3 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/ui/pane.cjs.js +1 -1
- package/dist/ui/pane.cjs.js.map +1 -1
- package/dist/ui/pane.esm.js +2 -5
- package/dist/ui/pane.esm.js.map +1 -1
- package/dist/utils/paneUtils.cjs.js +1 -1
- package/dist/utils/paneUtils.cjs.js.map +1 -1
- package/dist/utils/paneUtils.esm.js +4 -4
- package/dist/utils/paneUtils.esm.js.map +1 -1
- package/dist/utils/podUtils.cjs.js.map +1 -1
- package/dist/utils/viewerUtils.cjs.js +2 -0
- package/dist/utils/viewerUtils.cjs.js.map +1 -0
- package/dist/utils/viewerUtils.d.ts +5 -0
- package/dist/utils/viewerUtils.d.ts.map +1 -0
- package/dist/utils/viewerUtils.esm.js +13 -0
- package/dist/utils/viewerUtils.esm.js.map +1 -0
- package/dist/utils/webIdUtils.cjs.js +1 -1
- package/dist/utils/webIdUtils.cjs.js.map +1 -1
- package/dist/utils/webIdUtils.d.ts +1 -0
- package/dist/utils/webIdUtils.d.ts.map +1 -1
- package/dist/utils/webIdUtils.esm.js +23 -19
- package/dist/utils/webIdUtils.esm.js.map +1 -1
- package/dist/versionInfo.cjs.js +1 -1
- package/dist/versionInfo.cjs.js.map +1 -1
- package/dist/versionInfo.esm.js +11 -11
- package/dist/versionInfo.esm.js.map +1 -1
- package/dist/video/videoPane.cjs.js.map +1 -1
- package/package.json +7 -6
|
@@ -5,23 +5,29 @@ import { UserInput as n } from "./userInput.esm.js";
|
|
|
5
5
|
import { QuerySource as r } from "./queryByExample.esm.js";
|
|
6
6
|
import { isWebIdUri as i } from "../utils/webIdUtils.esm.js";
|
|
7
7
|
import { loadContainerRepresentation as a } from "../utils/podUtils.esm.js";
|
|
8
|
+
import { deriveExplorerHeader as o } from "../navigation/chrome.esm.js";
|
|
9
|
+
import { isPageInViewerPod as s } from "../navigation/podContext.esm.js";
|
|
10
|
+
import { nextHistoryState as c } from "../navigation/state.esm.js";
|
|
11
|
+
import { announceNavigation as l } from "../navigation/events.esm.js";
|
|
12
|
+
import { resolveSource as u } from "../navigation/options.esm.js";
|
|
13
|
+
import { refreshNavbarVisibility as d } from "../navigation/navbarVisibility.esm.js";
|
|
8
14
|
import "../components/file-explorer-header/index.esm.js";
|
|
9
|
-
import * as
|
|
10
|
-
import { store as
|
|
11
|
-
import * as
|
|
12
|
-
import * as
|
|
15
|
+
import * as f from "solid-ui";
|
|
16
|
+
import { store as p } from "solid-logic";
|
|
17
|
+
import * as m from "pane-registry";
|
|
18
|
+
import * as h from "rdflib";
|
|
13
19
|
//#region src/outline/manager.js
|
|
14
20
|
/* istanbul ignore file */
|
|
15
|
-
function
|
|
16
|
-
let
|
|
17
|
-
this.document =
|
|
18
|
-
let
|
|
19
|
-
this.selection =
|
|
20
|
-
let
|
|
21
|
-
|
|
22
|
-
let
|
|
21
|
+
function g(g) {
|
|
22
|
+
let _ = g.dom;
|
|
23
|
+
this.document = g.dom, this.context = g, this.outlineIcons = t, this.labeller = this.labeller || {}, this.labeller.LanguagePreference = "";
|
|
24
|
+
let v = this, y = this, b = [];
|
|
25
|
+
this.selection = b, this.ancestor = f.utils.ancestor, this.sparql = h.UpdateManager, this.kb = p;
|
|
26
|
+
let x = p, S = p.fetcher;
|
|
27
|
+
_.outline = this, this.qs = new r(), this.UserInput = new n(this), this.clipboardAddress = "tabulator:clipboard", this.UserInput.clipboardInit(this.clipboardAddress);
|
|
28
|
+
let C = this.outlineElement;
|
|
23
29
|
this.init = function() {
|
|
24
|
-
let e =
|
|
30
|
+
let e = E();
|
|
25
31
|
e.outline = this;
|
|
26
32
|
}, this.getLayoutMode = function() {
|
|
27
33
|
let e = this.context?.environment?.layout;
|
|
@@ -31,95 +37,91 @@ function u(u) {
|
|
|
31
37
|
return e <= 768 || t && e <= 1024 ? "mobile" : "desktop";
|
|
32
38
|
}
|
|
33
39
|
return "desktop";
|
|
34
|
-
},
|
|
35
|
-
function
|
|
40
|
+
}, w.lastkbsize = 0;
|
|
41
|
+
function w(e) {
|
|
36
42
|
let t = [];
|
|
37
43
|
for (let e = arguments.length - 1; e > 0; e--) t[e - 1] = arguments[e];
|
|
38
44
|
let n = (/* @__PURE__ */ new Date()).getTime(), r = e.apply(e, t), i = (/* @__PURE__ */ new Date()).getTime();
|
|
39
|
-
return
|
|
45
|
+
return f.log.info("BENCHMARK: kb delta: " + (x.statements.length - w.lastkbsize) + ", time elapsed for " + e + " was " + (i - n) + "ms"), w.lastkbsize = x.statements.length, r;
|
|
40
46
|
}
|
|
41
|
-
function
|
|
42
|
-
let i =
|
|
43
|
-
return i.addEventListener("click",
|
|
47
|
+
function T(e, n, r) {
|
|
48
|
+
let i = f.utils.AJARImage(t.src.icon_remove_node, "remove", void 0, _);
|
|
49
|
+
return i.addEventListener("click", ae), i.node = r, i.setAttribute("about", n.toNT()), i.style.marginLeft = "5px", i.style.marginRight = "10px", e.appendChild(i), i;
|
|
44
50
|
}
|
|
45
51
|
this.appendAccessIcons = function(e, t, n) {
|
|
46
52
|
if (n.termType !== "NamedNode") return;
|
|
47
53
|
let r = e.uris(n);
|
|
48
54
|
r.sort();
|
|
49
55
|
let i = null;
|
|
50
|
-
for (let e = 0; e < r.length; e++) r[e] !== i && (i = r[e],
|
|
56
|
+
for (let e = 0; e < r.length; e++) r[e] !== i && (i = r[e], y.appendAccessIcon(t, i));
|
|
51
57
|
}, this.appendAccessIcon = function(e, n) {
|
|
52
58
|
if (!n) return "";
|
|
53
|
-
let r =
|
|
59
|
+
let r = h.uri.docpart(n);
|
|
54
60
|
if (r.slice(0, 5) !== "http:") return "";
|
|
55
|
-
let i =
|
|
61
|
+
let i = S.getState(r), a, o, s;
|
|
56
62
|
switch (i) {
|
|
57
63
|
case "unrequested":
|
|
58
|
-
a = t.src.icon_unrequested,
|
|
64
|
+
a = t.src.icon_unrequested, o = "fetch", s = ie;
|
|
59
65
|
break;
|
|
60
66
|
case "requested":
|
|
61
|
-
a = t.src.icon_requested,
|
|
67
|
+
a = t.src.icon_requested, o = "fetching", s = G;
|
|
62
68
|
break;
|
|
63
69
|
case "fetched":
|
|
64
|
-
a = t.src.icon_fetched,
|
|
70
|
+
a = t.src.icon_fetched, s = K, o = "loaded";
|
|
65
71
|
break;
|
|
66
72
|
case "failed":
|
|
67
|
-
a = t.src.icon_failed,
|
|
73
|
+
a = t.src.icon_failed, o = "failed", s = G;
|
|
68
74
|
break;
|
|
69
75
|
case "unpermitted":
|
|
70
|
-
a = t.src.icon_failed,
|
|
76
|
+
a = t.src.icon_failed, s = G, o = "no perm";
|
|
71
77
|
break;
|
|
72
78
|
case "unfetchable":
|
|
73
|
-
a = t.src.icon_failed,
|
|
79
|
+
a = t.src.icon_failed, s = G, o = "cannot fetch";
|
|
74
80
|
break;
|
|
75
|
-
default:
|
|
81
|
+
default: f.log.error("?? state = " + i);
|
|
76
82
|
}
|
|
77
|
-
let
|
|
78
|
-
return
|
|
83
|
+
let c = f.utils.AJARImage(a, o, t.tooltips[a].replace(/[Tt]his resource/, r), _);
|
|
84
|
+
return c.classList.add("objectValueAccessIcon"), c.setAttribute("uri", n), c.addEventListener("click", s), I(c, r), e.appendChild(c), c;
|
|
79
85
|
}, this.outlineObjectTD = function(e, t, n, r) {
|
|
80
|
-
let i =
|
|
81
|
-
return i.classList.add("obj"), i.setAttribute("notSelectable", "false"), e ? ((e.termType === "NamedNode" || e.termType === "BlankNode" || e.termType === "Literal" && e.value.slice && (e.value.slice(0, 6) === "ftp://" || e.value.slice(0, 8) === "https://" || e.value.slice(0, 7) === "http://")) && (i.setAttribute("about", e.toNT()), i.appendChild(
|
|
82
|
-
|
|
86
|
+
let i = _.createElement("td");
|
|
87
|
+
return i.classList.add("obj"), i.setAttribute("notSelectable", "false"), e ? ((e.termType === "NamedNode" || e.termType === "BlankNode" || e.termType === "Literal" && e.value.slice && (e.value.slice(0, 6) === "ftp://" || e.value.slice(0, 8) === "https://" || e.value.slice(0, 7) === "http://")) && (i.setAttribute("about", e.toNT()), i.appendChild(f.utils.AJARImage(f.icons.originalIconBase + "tbl-expand-trans.png", "expand", void 0, _)).addEventListener("click", U)), i.setAttribute("class", "obj"), x.whether(e, f.ns.rdf("type"), f.ns.link("Request")) && (i.className = "undetermined"), t ||= le, i.appendChild(t(e)), n && T(i, e, n), i.tabulatorSelect = function() {
|
|
88
|
+
V(this, !0);
|
|
83
89
|
}, i.tabulatorDeselect = function() {
|
|
84
|
-
|
|
90
|
+
V(this, !1);
|
|
85
91
|
}, i.addEventListener("click", q), i) : (i.textContent = "No object available.", i);
|
|
86
92
|
}, this.outlinePredicateTD = function(e, n, r, i) {
|
|
87
|
-
let a =
|
|
93
|
+
let a = _.createElement("TD");
|
|
88
94
|
a.setAttribute("about", e.toNT()), a.setAttribute("class", i ? "pred internal" : "pred");
|
|
89
|
-
let
|
|
95
|
+
let o;
|
|
90
96
|
switch (e.termType) {
|
|
91
97
|
case "BlankNode":
|
|
92
98
|
a.className = "undetermined";
|
|
93
99
|
break;
|
|
94
100
|
case "NamedNode":
|
|
95
|
-
|
|
101
|
+
o = f.utils.predicateLabelForXML(e, r);
|
|
96
102
|
break;
|
|
97
|
-
case "Collection":
|
|
103
|
+
case "Collection": o = f.utils.predicateLabelForXML(e.elements[0], r);
|
|
98
104
|
}
|
|
99
|
-
|
|
100
|
-
let
|
|
101
|
-
|
|
105
|
+
o = o ? o.slice(0, 1).toUpperCase() + o.slice(1) : "...";
|
|
106
|
+
let s = _.createElement("TD");
|
|
107
|
+
s.classList.add("labelTD"), s.setAttribute("notSelectable", "true"), s.appendChild(_.createTextNode(o)), a.appendChild(s), s.style.width = "100%", a.appendChild(F.construct(_));
|
|
102
108
|
for (let e in t.termWidgets) {
|
|
103
109
|
if (!n || !n.AJAR_statement) break;
|
|
104
|
-
t.termWidgets[e].filter && t.termWidgets[e].filter(n.AJAR_statement, "pred", r) &&
|
|
110
|
+
t.termWidgets[e].filter && t.termWidgets[e].filter(n.AJAR_statement, "pred", r) && F.addIcon(a, t.termWidgets[e]);
|
|
105
111
|
}
|
|
106
112
|
return a.tabulatorSelect = function() {
|
|
107
|
-
|
|
113
|
+
V(this, !0);
|
|
108
114
|
}, a.tabulatorDeselect = function() {
|
|
109
|
-
|
|
115
|
+
V(this, !1);
|
|
110
116
|
}, a.addEventListener("click", q), a;
|
|
111
117
|
};
|
|
112
|
-
function
|
|
113
|
-
return
|
|
118
|
+
function E() {
|
|
119
|
+
return ee("OutlineView", "Resource browser");
|
|
114
120
|
}
|
|
115
|
-
function
|
|
116
|
-
|
|
121
|
+
function D(e) {
|
|
122
|
+
d(e.uri).catch((e) => f.log.error("Failed to update navbar visibility: " + e));
|
|
117
123
|
}
|
|
118
|
-
function
|
|
119
|
-
let e = x();
|
|
120
|
-
e && e.classList.remove("navbar--hidden");
|
|
121
|
-
}
|
|
122
|
-
function C(e) {
|
|
124
|
+
function ee(e) {
|
|
123
125
|
if (document.getElementById("MainContent") || document.body, e === "OutlineView") {
|
|
124
126
|
let e = document.getElementById("OutlineView");
|
|
125
127
|
if (e) return e;
|
|
@@ -130,126 +132,125 @@ function u(u) {
|
|
|
130
132
|
}
|
|
131
133
|
}
|
|
132
134
|
}
|
|
133
|
-
async function
|
|
135
|
+
async function te(e, t) {
|
|
134
136
|
e.uri.endsWith("/") && await a(e);
|
|
135
137
|
let n = t.session.paneRegistry, r = n.list.filter((n) => n.label(e, t) && !n.global && n.name !== "sharing");
|
|
136
138
|
if (r.length === 0) return [n.byName("internal")];
|
|
137
|
-
let i = await
|
|
139
|
+
let i = await f.login.filterAvailablePanes(r);
|
|
138
140
|
return i.length === 0 ? [r[0]] : n.list.indexOf(r[0]) < n.list.indexOf(i[0]) ? [r[0]].concat(i) : i;
|
|
139
141
|
}
|
|
140
|
-
function
|
|
142
|
+
function ne(e, t) {
|
|
141
143
|
return e.find((e) => e.shouldGetFocus && e.shouldGetFocus(t)) || e[0];
|
|
142
144
|
}
|
|
143
|
-
function
|
|
144
|
-
let t =
|
|
145
|
+
function re(e) {
|
|
146
|
+
let t = _.getElementById("queryButton");
|
|
145
147
|
t && (e ? t.removeAttribute("style") : t.setAttribute("style", "display:none;"));
|
|
146
148
|
}
|
|
147
|
-
function
|
|
149
|
+
function O(e, t, n, r) {
|
|
148
150
|
if (!e || !n) return;
|
|
149
151
|
let i;
|
|
150
152
|
try {
|
|
151
|
-
|
|
153
|
+
f.log.info("outline: Rendering pane (menu): " + n.name), i = n.render(t, g, r);
|
|
152
154
|
} catch (e) {
|
|
153
|
-
i =
|
|
154
|
-
let t =
|
|
155
|
-
i.appendChild(t), t.appendChild(
|
|
155
|
+
i = _.createElement("div"), i.setAttribute("class", "exceptionPane");
|
|
156
|
+
let t = _.createElement("pre");
|
|
157
|
+
i.appendChild(t), t.appendChild(_.createTextNode(f.utils.stackString(e)));
|
|
156
158
|
}
|
|
157
159
|
i.classList.add("paneDiv");
|
|
158
160
|
let a = e.querySelector(".paneDiv");
|
|
159
161
|
a ? a.replaceWith(i) : e.appendChild(i);
|
|
160
162
|
}
|
|
161
|
-
function
|
|
162
|
-
let n =
|
|
163
|
+
function k(e, t) {
|
|
164
|
+
let n = _.getElementById("OutlineView");
|
|
163
165
|
if (!n) return;
|
|
164
166
|
let r = e.toNT(), i = n.querySelector("td.paneView[about=\"" + r + "\"]");
|
|
165
167
|
if (!i) return;
|
|
166
168
|
let a = i.querySelector("file-explorer-provider");
|
|
167
|
-
|
|
168
|
-
if (!t) {
|
|
169
|
-
o.log.warn("outline: Unable to open pane in place: pane is undefined.");
|
|
170
|
-
return;
|
|
171
|
-
}
|
|
172
|
-
E(!!t.requireQueryButton), a.openSelectedPane?.(t), D(a, e, t, a.paneRenderOptions);
|
|
173
|
-
}
|
|
169
|
+
a && (t ? (re(!!t.requireQueryButton), a.openSelectedPane?.(t), O(a, e, t, a.paneRenderOptions)) : f.log.warn("outline: Unable to open pane in place: pane is undefined."));
|
|
174
170
|
}
|
|
175
|
-
async function
|
|
171
|
+
async function A(e, t, n) {
|
|
176
172
|
n ||= {};
|
|
177
|
-
let r =
|
|
173
|
+
let r = _.createElement("tr");
|
|
178
174
|
n.hover && r.classList.add("hoverControl");
|
|
179
|
-
let a = r.appendChild(
|
|
175
|
+
let a = r.appendChild(_.createElement("td"));
|
|
180
176
|
a.classList.add("paneView", "tdFlex"), a.setAttribute("notSelectable", "true"), a.setAttribute("about", e.toNT()), a.setAttribute("colspan", "2");
|
|
181
|
-
let
|
|
182
|
-
|
|
183
|
-
let
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
177
|
+
let c = a.appendChild(_.createElement("file-explorer-provider"));
|
|
178
|
+
c.context = g, c.subjectUri = e.uri, c.onBack = () => W({ target: c });
|
|
179
|
+
let l = n.hideList ? [] : await te(e, g);
|
|
180
|
+
c.relevantPanes = l, c.pane = t || ne(l, e);
|
|
181
|
+
let u = !!(e && e.uri && e.site && e.site().uri === e.uri), d = !!n.headerOnlyInViewerPod;
|
|
182
|
+
return c.showHeader = o({
|
|
183
|
+
isRootResource: u,
|
|
184
|
+
isWebId: i(e),
|
|
185
|
+
viewerPodOnly: d,
|
|
186
|
+
inViewerPod: !d || await s(document.location.href)
|
|
187
|
+
}), c.paneRenderOptions = n, c.soloPane = n.solo, c.openPane = (e, t) => k(e, m.byName(t)), c.handleAccessClick = () => k(e, m.byName("sharing")), c.pane && (r.classList.add("outlinePaneRow"), O(c, e, c.pane, n)), r;
|
|
188
|
+
}
|
|
189
|
+
function j(e) {
|
|
190
|
+
let t = e.parentNode, n = t.parentNode, r = _.createElement("table");
|
|
188
191
|
r.classList.add("placeholderTable"), n.replaceChild(r, t), t.removeChild(e), n.replaceChild(t, r);
|
|
189
192
|
}
|
|
190
|
-
let
|
|
191
|
-
return
|
|
193
|
+
let M = this.propertyTable = function(e, t, n, r) {
|
|
194
|
+
return f.log.debug("Property table for: " + e), e = x.canon(e), t ? (f.log.info("Re-expand: " + t), t) : (t = _.createElement("table"), t.classList.add("tableFullWidth"), A(e, n, r).then((e) => {
|
|
192
195
|
t.appendChild(e);
|
|
193
196
|
}), t);
|
|
194
197
|
};
|
|
195
|
-
function
|
|
198
|
+
function N(e, t, n) {
|
|
196
199
|
let r = e.createElement("TR");
|
|
197
200
|
r.AJAR_statement = t, r.AJAR_inverse = n, r.setAttribute("predTR", "true");
|
|
198
|
-
let i =
|
|
201
|
+
let i = y.outlinePredicateTD(t.predicate, r, n);
|
|
199
202
|
return r.appendChild(i), r;
|
|
200
203
|
}
|
|
201
|
-
this.propertyTR =
|
|
202
|
-
function
|
|
203
|
-
if (
|
|
204
|
-
let i, a,
|
|
204
|
+
this.propertyTR = N;
|
|
205
|
+
function P(e, t, n, r) {
|
|
206
|
+
if (f.log.debug("Property list length = " + t.length), t.length === 0) return "";
|
|
207
|
+
let i, a, o;
|
|
205
208
|
n ? (i = function(e) {
|
|
206
209
|
return e.subject;
|
|
207
|
-
}, t = t.sort(
|
|
210
|
+
}, t = t.sort(f.utils.RDFComparePredicateSubject)) : (i = function(e) {
|
|
208
211
|
return e.object;
|
|
209
|
-
}, t = t.sort(
|
|
210
|
-
let
|
|
211
|
-
for (a = 0; a <
|
|
212
|
-
let
|
|
213
|
-
if (r && !r(
|
|
214
|
-
let
|
|
215
|
-
e.appendChild(
|
|
216
|
-
let
|
|
217
|
-
for (
|
|
218
|
-
if (
|
|
219
|
-
for (let e = a; e <= a +
|
|
220
|
-
|
|
212
|
+
}, t = t.sort(f.utils.RDFComparePredicateObject));
|
|
213
|
+
let s = t.length;
|
|
214
|
+
for (a = 0; a < s; a++) {
|
|
215
|
+
let c = t[a];
|
|
216
|
+
if (r && !r(c.predicate, n)) continue;
|
|
217
|
+
let l = N(_, c, n);
|
|
218
|
+
e.appendChild(l);
|
|
219
|
+
let u = l.firstChild, d = $.defaults[c.predicate.uri], p = 0, m = 0, h = 0;
|
|
220
|
+
for (o = 0; o + a < s && t[a + o].predicate.sameTerm(c.predicate); o++) o > 0 && i(t[a + o]).sameTerm(i(t[a + o - 1])) && p++, i(t[a + o]).lang && v.labeller.LanguagePreference && (m += 1, i(t[a + o]).lang.indexOf(v.labeller.LanguagePreference) >= 0 && h++);
|
|
221
|
+
if (h > 0 && m === p + 1) {
|
|
222
|
+
for (let e = a; e <= a + p; e++) if (v.labeller.LanguagePreference && i(t[e]).lang.indexOf(v.labeller.LanguagePreference) >= 0) {
|
|
223
|
+
l.appendChild(y.outlineObjectTD(i(t[e]), d, void 0, c));
|
|
221
224
|
break;
|
|
222
225
|
}
|
|
223
|
-
a +=
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
let
|
|
231
|
-
|
|
232
|
-
let v = 0;
|
|
233
|
-
for (_ = 1; _ < s; _++) if (h.canon(i(t[a + _])).sameTerm(h.canon(i(t[a + _ - 1])))) o.log.info("there are duplicates here: %s", t[a + _ - 1]);
|
|
226
|
+
a += p;
|
|
227
|
+
} else l.appendChild(y.outlineObjectTD(i(c), d, void 0, c)), l.showNobj = function(r) {
|
|
228
|
+
let s = o - p, l = 2 * r < s ? r : s, m = [];
|
|
229
|
+
if (s !== 1) {
|
|
230
|
+
u.setAttribute("rowspan", l === s ? s : r + 1);
|
|
231
|
+
let p;
|
|
232
|
+
l < s && l === 1 && u.setAttribute("rowspan", 2);
|
|
233
|
+
let h = 0;
|
|
234
|
+
for (p = 1; p < o; p++) if (x.canon(i(t[a + p])).sameTerm(x.canon(i(t[a + p - 1])))) f.log.info("there are duplicates here: %s", t[a + p - 1]);
|
|
234
235
|
else {
|
|
235
|
-
|
|
236
|
-
let r =
|
|
237
|
-
r.style.colspan = "1", r.appendChild(
|
|
236
|
+
h++, c = t[a + p], d = $.defaults[c.predicate.uri];
|
|
237
|
+
let r = _.createElement("tr");
|
|
238
|
+
r.style.colspan = "1", r.appendChild(y.outlineObjectTD(i(t[a + p]), d, void 0, c)), r.AJAR_statement = c, r.AJAR_inverse = n, e.appendChild(r), h >= l && (r.style.display = "none", m.push(r));
|
|
238
239
|
}
|
|
239
|
-
|
|
240
|
+
l === s && u.setAttribute("rowspan", h + 1);
|
|
240
241
|
}
|
|
241
|
-
if (
|
|
242
|
-
let t =
|
|
243
|
-
if (n.classList.add("obj"), n.setAttribute("notSelectable", "false"),
|
|
244
|
-
let e =
|
|
242
|
+
if (l < s) {
|
|
243
|
+
let t = _.createElement("tr"), n = t.appendChild(_.createElement("td"));
|
|
244
|
+
if (n.classList.add("obj"), n.setAttribute("notSelectable", "false"), s > r) {
|
|
245
|
+
let e = _.createElement("a");
|
|
245
246
|
n.appendChild(e);
|
|
246
247
|
let t = (function(e) {
|
|
247
|
-
return e(
|
|
248
|
+
return e(u, o, p, r);
|
|
248
249
|
})(function(t, n, r, i) {
|
|
249
250
|
return function(n) {
|
|
250
|
-
e.innerHTML = "", n === "none" ? (e.appendChild(
|
|
251
|
-
for (let e = 0; e <
|
|
252
|
-
let t =
|
|
251
|
+
e.innerHTML = "", n === "none" ? (e.appendChild(f.utils.AJARImage(f.icons.originalIconBase + "tbl-more-trans.png", "more", "See all", _)), e.appendChild(_.createTextNode(s - i + " more...")), t.setAttribute("rowspan", i + 1)) : (e.appendChild(f.utils.AJARImage(f.icons.originalIconBase + "tbl-shrink.png", "(less)", void 0, _)), t.setAttribute("rowspan", s + 1));
|
|
252
|
+
for (let e = 0; e < m.length; e++) {
|
|
253
|
+
let t = m[e];
|
|
253
254
|
t.style.display = n;
|
|
254
255
|
}
|
|
255
256
|
};
|
|
@@ -260,116 +261,116 @@ function u(u) {
|
|
|
260
261
|
}
|
|
261
262
|
e.appendChild(t);
|
|
262
263
|
}
|
|
263
|
-
},
|
|
264
|
-
|
|
265
|
-
},
|
|
264
|
+
}, l.showAllobj = function() {
|
|
265
|
+
l.showNobj(o - p);
|
|
266
|
+
}, l.showNobj(10), a += o - 1;
|
|
266
267
|
}
|
|
267
268
|
}
|
|
268
|
-
this.appendPropertyTRs =
|
|
269
|
-
let
|
|
270
|
-
globalThis.termWidget =
|
|
269
|
+
this.appendPropertyTRs = P;
|
|
270
|
+
let F = {};
|
|
271
|
+
globalThis.termWidget = F, F.construct = function(e) {
|
|
271
272
|
e ||= document;
|
|
272
273
|
let t = e.createElement("TD");
|
|
273
274
|
return t.setAttribute("class", "iconTD"), t.setAttribute("notSelectable", "true"), t;
|
|
274
|
-
},
|
|
275
|
+
}, F.addIcon = function(e, t, n) {
|
|
275
276
|
let r = e.childNodes[1];
|
|
276
277
|
if (!r) return;
|
|
277
|
-
let i =
|
|
278
|
+
let i = f.utils.AJARImage(t.src, t.alt, t.tooltip, _);
|
|
278
279
|
r.appendChild(i), n && i.addEventListener("click", n);
|
|
279
|
-
},
|
|
280
|
+
}, F.removeIcon = function(e, t) {
|
|
280
281
|
let n = e.childNodes[1], r;
|
|
281
282
|
if (n) for (let e = 0; e < n.childNodes.length; e++) {
|
|
282
283
|
let i = n.childNodes[e], a = i.src;
|
|
283
284
|
try {
|
|
284
|
-
r =
|
|
285
|
+
r = _.location.href.split("?")[0];
|
|
285
286
|
} catch {
|
|
286
287
|
r = "";
|
|
287
288
|
}
|
|
288
|
-
a ===
|
|
289
|
+
a === h.uri.join(t.src, r) && n.removeChild(i);
|
|
289
290
|
}
|
|
290
|
-
},
|
|
291
|
-
|
|
291
|
+
}, F.replaceIcon = function(e, t, n, r) {
|
|
292
|
+
F.removeIcon(e, t), F.addIcon(e, n, r);
|
|
292
293
|
};
|
|
293
|
-
function
|
|
294
|
-
|
|
294
|
+
function I(e, n) {
|
|
295
|
+
f.log.debug("Button callbacks for " + n + " added");
|
|
295
296
|
let r = function(r) {
|
|
296
297
|
return function(i) {
|
|
297
|
-
return i.indexOf("#"), !e || !
|
|
298
|
+
return i.indexOf("#"), !e || !v.ancestor(e, "DIV") ? !1 : (i === n && (e.src = r, e.title = t.tooltips[r]), !0);
|
|
298
299
|
};
|
|
299
300
|
};
|
|
300
|
-
|
|
301
|
+
S.addCallback("request", r(t.src.icon_requested)), S.addCallback("done", r(t.src.icon_fetched)), S.addCallback("fail", r(t.src.icon_failed));
|
|
301
302
|
}
|
|
302
|
-
function
|
|
303
|
+
function L(e) {
|
|
303
304
|
let t = e.getAttribute("class");
|
|
304
305
|
return !!(t && t.indexOf("selected") >= 0);
|
|
305
306
|
}
|
|
306
|
-
function
|
|
307
|
-
let n =
|
|
308
|
-
|
|
307
|
+
function R(e) {
|
|
308
|
+
let n = y.targetOf(e).parentNode;
|
|
309
|
+
F.replaceIcon(n.parentNode, t.termWidgets.optOn, t.termWidgets.optOff, z), n.parentNode.parentNode.removeAttribute("optional");
|
|
309
310
|
}
|
|
310
|
-
function
|
|
311
|
-
let n =
|
|
312
|
-
|
|
311
|
+
function z(e) {
|
|
312
|
+
let n = y.targetOf(e).parentNode;
|
|
313
|
+
F.replaceIcon(n.parentNode, t.termWidgets.optOff, t.termWidgets.optOn, R), n.parentNode.parentNode.setAttribute("optional", "true");
|
|
313
314
|
}
|
|
314
|
-
function
|
|
315
|
+
function B(e, n) {
|
|
315
316
|
let r = t.termWidgets.optOn, i = t.termWidgets.optOff;
|
|
316
317
|
for (let t = e; t.parentNode; t = t.parentNode) for (;;) if (t.getAttribute("predTR")) {
|
|
317
318
|
let e = t.getAttribute("parentOfSelected");
|
|
318
|
-
e = e ? parseInt(e) : 0, e === 0 && n > 0 &&
|
|
319
|
+
e = e ? parseInt(e) : 0, e === 0 && n > 0 && F.addIcon(t.childNodes[0], t.getAttribute("optional") ? r : i, t.getAttribute("optional") ? R : z), e += n, t.setAttribute("parentOfSelected", e), e === 0 && (t.removeAttribute("parentOfSelected"), F.removeIcon(t.childNodes[0], t.getAttribute("optional") ? r : i));
|
|
319
320
|
break;
|
|
320
321
|
} else if (t.previousSibling && t.previousSibling.nodeName === "TR") t = t.previousSibling;
|
|
321
322
|
else break;
|
|
322
323
|
}
|
|
323
324
|
this.statusBarClick = function(e) {
|
|
324
|
-
let t =
|
|
325
|
+
let t = f.utils.getTarget(e);
|
|
325
326
|
t.label && (window.content.location = t.label);
|
|
326
327
|
}, this.showURI = function(e) {
|
|
327
|
-
e &&
|
|
328
|
+
e && _.getElementById("UserURI") && (_.getElementById("UserURI").value = e.termType === "NamedNode" ? e.uri : "");
|
|
328
329
|
}, this.showSource = function() {
|
|
329
330
|
if (typeof sourceWidget < "u") {
|
|
330
331
|
for (let e in sourceWidget.sources) sourceWidget.sources[e].setAttribute("class", "");
|
|
331
|
-
for (let e = 0; e <
|
|
332
|
-
if (!
|
|
333
|
-
let t =
|
|
332
|
+
for (let e = 0; e < b.length; e++) {
|
|
333
|
+
if (!b[e].parentNode) continue;
|
|
334
|
+
let t = b[e].parentNode.AJAR_statement;
|
|
334
335
|
if (!t) continue;
|
|
335
336
|
let n = t.why;
|
|
336
337
|
n && n.uri && sourceWidget.highlight(n, !0);
|
|
337
338
|
}
|
|
338
339
|
}
|
|
339
340
|
}, this.getSelection = function() {
|
|
340
|
-
return
|
|
341
|
+
return b;
|
|
341
342
|
};
|
|
342
|
-
function
|
|
343
|
-
if (e.nodeName !== "TD") throw
|
|
344
|
-
|
|
343
|
+
function V(e, n) {
|
|
344
|
+
if (e.nodeName !== "TD") throw f.log.debug("down" + e.nodeName), Error("Expected TD in setSelected: " + e.nodeName + " : " + e.textContent);
|
|
345
|
+
f.log.debug("pass");
|
|
345
346
|
let r = e.getAttribute("class");
|
|
346
347
|
if (r ||= "", n) {
|
|
347
|
-
r += " selected", (r.indexOf("pred") >= 0 || r.indexOf("obj") >= 0) &&
|
|
348
|
-
let n =
|
|
349
|
-
|
|
348
|
+
r += " selected", (r.indexOf("pred") >= 0 || r.indexOf("obj") >= 0) && B(e, 1), b.push(e);
|
|
349
|
+
let n = f.utils.getTerm(e);
|
|
350
|
+
y.showURI(n);
|
|
350
351
|
let i = e.AJAR_statement;
|
|
351
352
|
if (i === void 0 && e.parentNode && (i = e.parentNode.AJAR_statement), i) {
|
|
352
353
|
let n = i.why;
|
|
353
|
-
|
|
354
|
+
p.updater.editable(n.uri, x) && r.indexOf("pred") >= 0 && F.addIcon(e, t.termWidgets.addTri);
|
|
354
355
|
}
|
|
355
|
-
} else
|
|
356
|
+
} else f.log.debug("cla=$" + r + "$"), r === "selected" && (r = ""), r = r.replace(" selected", ""), (r.indexOf("pred") >= 0 || r.indexOf("obj") >= 0) && B(e, -1), r.indexOf("pred") >= 0 && F.removeIcon(e, t.termWidgets.addTri), b = b.filter(function(t) {
|
|
356
357
|
return t === e;
|
|
357
|
-
}),
|
|
358
|
-
typeof sourceWidget < "u" &&
|
|
358
|
+
}), f.log.info("Deselecting " + e.textContent);
|
|
359
|
+
typeof sourceWidget < "u" && y.showSource(), e.setAttribute("class", r);
|
|
359
360
|
}
|
|
360
|
-
function
|
|
361
|
-
let e =
|
|
362
|
-
for (let t = e - 1; t >= 0; t--)
|
|
363
|
-
|
|
361
|
+
function H() {
|
|
362
|
+
let e = b.length;
|
|
363
|
+
for (let t = e - 1; t >= 0; t--) V(b[t], !1);
|
|
364
|
+
b = [];
|
|
364
365
|
}
|
|
365
366
|
this.targetOf = function(e) {
|
|
366
367
|
let t;
|
|
367
368
|
if (e ||= window.event, e.target) t = e.target;
|
|
368
369
|
else if (e.srcElement) t = e.srcElement;
|
|
369
|
-
else return
|
|
370
|
+
else return f.log.error("can't get target for event " + e), !1;
|
|
370
371
|
return t.nodeType === 3 && (t = t.parentNode), t;
|
|
371
372
|
}, this.walk = function(e, t) {
|
|
372
|
-
let n = t ||
|
|
373
|
+
let n = t || b[0], r;
|
|
373
374
|
switch (e) {
|
|
374
375
|
case "down":
|
|
375
376
|
try {
|
|
@@ -378,7 +379,7 @@ function u(u) {
|
|
|
378
379
|
this.walk("up");
|
|
379
380
|
return;
|
|
380
381
|
}
|
|
381
|
-
|
|
382
|
+
H(), V(r, !0);
|
|
382
383
|
break;
|
|
383
384
|
case "up":
|
|
384
385
|
try {
|
|
@@ -386,42 +387,42 @@ function u(u) {
|
|
|
386
387
|
} catch {
|
|
387
388
|
return;
|
|
388
389
|
}
|
|
389
|
-
|
|
390
|
+
H(), V(r, !0);
|
|
390
391
|
break;
|
|
391
392
|
case "right":
|
|
392
|
-
if (
|
|
393
|
+
if (H(), n.nextSibling || n.lastChild.tagName === "strong") V(n.nextSibling, !0);
|
|
393
394
|
else {
|
|
394
|
-
let e =
|
|
395
|
-
|
|
395
|
+
let e = _.evaluate("table/div/tr/td[2]", n, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue;
|
|
396
|
+
V(e, !0);
|
|
396
397
|
}
|
|
397
398
|
break;
|
|
398
399
|
case "left":
|
|
399
|
-
if (
|
|
400
|
-
|
|
400
|
+
if (H(), n.previousSibling && n.previousSibling.className === "undetermined") return V(n.previousSibling, !0), !0;
|
|
401
|
+
V(f.utils.ancestor(n.parentNode, "TD"), !0);
|
|
401
402
|
break;
|
|
402
|
-
case "moveTo":
|
|
403
|
+
case "moveTo": H(), V(t, !0);
|
|
403
404
|
}
|
|
404
405
|
(e === "down" || e === "up") && (r.tabulatorSelect || this.walk(e));
|
|
405
406
|
}, this.OutlinerKeypressPanel = function(e) {
|
|
406
|
-
|
|
407
|
+
f.log.info("Key " + e.keyCode + " pressed");
|
|
407
408
|
function t(e) {
|
|
408
|
-
e &&
|
|
409
|
+
e && _.getElementById("UserURI") && (_.getElementById("UserURI").value = e.termType === "NamedNode" ? e.uri : "");
|
|
409
410
|
}
|
|
410
411
|
function n(e) {
|
|
411
|
-
return arguments[3]
|
|
412
|
+
return arguments[3] || (o("right", a), t(f.utils.getAbout(x, b[0]))), !0;
|
|
412
413
|
}
|
|
413
414
|
let r, i;
|
|
414
|
-
if (
|
|
415
|
-
if (
|
|
416
|
-
(e.keyCode === 13 || e.keyCode === 38 || e.keyCode === 40 || e.keyCode === 37 || e.keyCode === 39) && (this.walk("right",
|
|
415
|
+
if (f.utils.getTarget(e).tagName === "TEXTAREA" || f.utils.getTarget(e).id === "UserURI" || b.length > 1) return;
|
|
416
|
+
if (b.length === 0) {
|
|
417
|
+
(e.keyCode === 13 || e.keyCode === 38 || e.keyCode === 40 || e.keyCode === 37 || e.keyCode === 39) && (this.walk("right", y.focusTd), t(f.utils.getAbout(x, b[0])));
|
|
417
418
|
return;
|
|
418
419
|
}
|
|
419
|
-
let a =
|
|
420
|
-
switch (
|
|
420
|
+
let a = b[0];
|
|
421
|
+
switch (S.removeCallback("done", "setSelectedAfterward"), S.removeCallback("fail", "setSelectedAfterward"), e.keyCode) {
|
|
421
422
|
case 13:
|
|
422
|
-
if (
|
|
423
|
-
let e =
|
|
424
|
-
r = a.parentNode.AJAR_statement.why, i =
|
|
423
|
+
if (f.utils.getTarget(e).tagName === "HTML") {
|
|
424
|
+
let e = f.utils.getAbout(x, a);
|
|
425
|
+
r = a.parentNode.AJAR_statement.why, i = p.updater.editable(r.uri, x), e ? v.GotoSubject(e, !0) : i && y.UserInput.Enter(a);
|
|
425
426
|
} else this.UserInput.Keypress(e), this.walk("down"), e.stopPropagation();
|
|
426
427
|
return;
|
|
427
428
|
case 38:
|
|
@@ -429,28 +430,28 @@ function u(u) {
|
|
|
429
430
|
break;
|
|
430
431
|
case 40: this.walk("down"), e.stopPropagation(), e.preventDefault();
|
|
431
432
|
}
|
|
432
|
-
if (
|
|
433
|
-
let
|
|
433
|
+
if (f.utils.getTarget(e).tagName === "INPUT") return;
|
|
434
|
+
let o;
|
|
434
435
|
switch (e.keyCode) {
|
|
435
436
|
case 46:
|
|
436
437
|
case 8:
|
|
437
|
-
r = a.parentNode.AJAR_statement.why, i =
|
|
438
|
+
r = a.parentNode.AJAR_statement.why, i = p.updater.editable(r.uri, x), i && (e.preventDefault(), this.UserInput.Delete(a));
|
|
438
439
|
break;
|
|
439
440
|
case 37: {
|
|
440
441
|
if (this.walk("left")) return;
|
|
441
|
-
let e =
|
|
442
|
-
|
|
442
|
+
let e = f.utils.ancestor(a.parentNode, "TD");
|
|
443
|
+
X(a, f.utils.getAbout(x, e));
|
|
443
444
|
break;
|
|
444
445
|
}
|
|
445
446
|
case 39:
|
|
446
447
|
{
|
|
447
|
-
let e =
|
|
448
|
+
let e = f.utils.getAbout(x, a);
|
|
448
449
|
if (e) {
|
|
449
|
-
if (
|
|
450
|
+
if (o = this.walk, a.nextSibling) {
|
|
450
451
|
this.walk("right");
|
|
451
452
|
return;
|
|
452
453
|
}
|
|
453
|
-
a.firstChild.tagName !== "TABLE" && (
|
|
454
|
+
a.firstChild.tagName !== "TABLE" && (S.addCallback("done", n), S.addCallback("fail", n), Y(a, e, { pane: m.byName("defaultPane") })), n();
|
|
454
455
|
}
|
|
455
456
|
}
|
|
456
457
|
break;
|
|
@@ -459,154 +460,153 @@ function u(u) {
|
|
|
459
460
|
default: switch (e.charCode) {
|
|
460
461
|
case 99:
|
|
461
462
|
if (e.ctrlKey) {
|
|
462
|
-
|
|
463
|
+
y.UserInput.copyToClipboard(y.clipboardAddress, a);
|
|
463
464
|
break;
|
|
464
465
|
}
|
|
465
466
|
break;
|
|
466
467
|
case 118:
|
|
467
468
|
case 112:
|
|
468
469
|
if (e.ctrlKey) {
|
|
469
|
-
|
|
470
|
+
y.UserInput.pasteFromClipboard(y.clipboardAddress, a);
|
|
470
471
|
break;
|
|
471
472
|
}
|
|
472
473
|
break;
|
|
473
|
-
default:
|
|
474
|
+
default: f.utils.getTarget(e).tagName;
|
|
474
475
|
}
|
|
475
476
|
}
|
|
476
|
-
t(
|
|
477
|
+
t(f.utils.getAbout(x, b[0]));
|
|
477
478
|
}, this.OutlinerMouseclickPanel = function(e) {
|
|
478
|
-
switch (
|
|
479
|
+
switch (y.UserInput._tabulatorMode) {
|
|
479
480
|
case 0:
|
|
480
|
-
|
|
481
|
+
oe(e);
|
|
481
482
|
break;
|
|
482
|
-
case 1:
|
|
483
|
+
case 1: y.UserInput.Click(e);
|
|
483
484
|
}
|
|
484
485
|
};
|
|
485
|
-
function V(e) {
|
|
486
|
-
let t = p.targetOf(e), n = t.parentNode, r = o.utils.getAbout(h, t), i = e.altKey ? c.byName("internal") : void 0;
|
|
487
|
-
e.shiftKey ? Q(n, r, i) : e.altKey ? X(n, r, {
|
|
488
|
-
pane: c.byName("internal"),
|
|
489
|
-
immediate: !0
|
|
490
|
-
}) : X(n, r);
|
|
491
|
-
}
|
|
492
|
-
function H(e) {
|
|
493
|
-
let t = p.targetOf(e), n = o.utils.getAbout(h, t), r = e.altKey ? c.byName("internal") : void 0, i = t.parentNode.parentNode;
|
|
494
|
-
Z(i, n, r);
|
|
495
|
-
}
|
|
496
486
|
function U(e) {
|
|
497
|
-
let t =
|
|
498
|
-
e.
|
|
487
|
+
let t = y.targetOf(e), n = t.parentNode, r = f.utils.getAbout(x, t), i = e.altKey ? m.byName("internal") : void 0;
|
|
488
|
+
e.shiftKey ? Z(n, r, i) : e.altKey ? Y(n, r, {
|
|
489
|
+
pane: m.byName("internal"),
|
|
490
|
+
immediate: !0
|
|
491
|
+
}) : Y(n, r);
|
|
499
492
|
}
|
|
500
493
|
function W(e) {
|
|
501
|
-
let t =
|
|
502
|
-
|
|
494
|
+
let t = y.targetOf(e), n = f.utils.getAbout(x, t), r = e.altKey ? m.byName("internal") : void 0, i = t.parentNode.parentNode;
|
|
495
|
+
X(i, n, r);
|
|
503
496
|
}
|
|
504
497
|
function G(e) {
|
|
505
|
-
let t =
|
|
506
|
-
|
|
498
|
+
let t = y.targetOf(e).getAttribute("uri");
|
|
499
|
+
e.altKey ? S.fetch(h.uri.docpart(t), { force: !0 }) : S.refresh(x.sym(h.uri.docpart(t)));
|
|
507
500
|
}
|
|
508
501
|
function K(e) {
|
|
509
|
-
let t =
|
|
510
|
-
|
|
502
|
+
let t = y.targetOf(e).getAttribute("uri");
|
|
503
|
+
e.altKey ? S.fetch(h.uri.docpart(t), { force: !0 }) : S.refresh(x.sym(h.uri.docpart(t)));
|
|
504
|
+
}
|
|
505
|
+
function ie(e) {
|
|
506
|
+
let t = y.targetOf(e).getAttribute("uri");
|
|
507
|
+
S.fetch(h.uri.docpart(t));
|
|
508
|
+
}
|
|
509
|
+
function ae(e) {
|
|
510
|
+
let t = y.targetOf(e), n = t.node;
|
|
511
|
+
n.childNodes.length > 1 && (n = t.parentNode), j(n);
|
|
511
512
|
}
|
|
512
513
|
function q(e) {
|
|
513
|
-
if (
|
|
514
|
-
let t =
|
|
515
|
-
for (n =
|
|
514
|
+
if (y.UserInput._tabulatorMode) return y.UserInput.Click(e);
|
|
515
|
+
let t = y.targetOf(e), n;
|
|
516
|
+
for (n = f.utils.ancestor(t, "TD"); n && n.getAttribute("notSelectable") !== "false"; n = f.utils.ancestor(n.parentNode, "TD"));
|
|
516
517
|
if (!n) return;
|
|
517
|
-
let r =
|
|
518
|
-
if (
|
|
519
|
-
else if (e.shiftKey)
|
|
518
|
+
let r = L(n);
|
|
519
|
+
if (f.log.debug("Was node selected before: " + r), e.altKey) V(n, !L(n));
|
|
520
|
+
else if (e.shiftKey) V(n, !0);
|
|
520
521
|
else {
|
|
521
|
-
if (
|
|
522
|
+
if (H(), y.UserInput.clearInputAndSave(e), V(n, !0), e.detail === 2) {
|
|
522
523
|
e.stopPropagation();
|
|
523
524
|
return;
|
|
524
525
|
}
|
|
525
526
|
let t;
|
|
526
527
|
if (n.parentNode && (t = n.parentNode.AJAR_statement), !t) return;
|
|
527
|
-
let i = t.why, a =
|
|
528
|
-
r && a &&
|
|
528
|
+
let i = t.why, a = p.updater.editable(i.uri, x);
|
|
529
|
+
r && a && y.UserInput.Click(e, b[0]);
|
|
529
530
|
}
|
|
530
|
-
|
|
531
|
+
f.log.debug("Was node selected after: " + L(n) + ", count=" + b.length), e.stopPropagation();
|
|
531
532
|
}
|
|
532
|
-
function
|
|
533
|
-
|
|
534
|
-
let n =
|
|
533
|
+
function oe(e) {
|
|
534
|
+
f.log.info("@TabulatorMousedown, dom.location is now " + _.location);
|
|
535
|
+
let n = y.targetOf(e);
|
|
535
536
|
if (!n) return;
|
|
536
537
|
let r = n.tagName;
|
|
537
|
-
r !== "INPUT" && r !== "TEXTAREA" && (
|
|
538
|
+
r !== "INPUT" && r !== "TEXTAREA" && (y.UserInput.clearMenu(), y.UserInput.lastModified && y.UserInput.lastModified.parentNode.nextSibling && y.UserInput.backOut(), (!n.src || n.src.slice(n.src.indexOf("/icons/") + 1) !== t.src.icon_show_choices && n.src.slice(n.src.indexOf("/icons/") + 1) !== t.src.icon_add_triple) && y.UserInput.clearInputAndSave(e), (!n.src || n.src.slice(n.src.indexOf("/icons/") + 1) !== t.src.icon_show_choices) && y.UserInput.clearMenu(), e && e.stopPropagation());
|
|
538
539
|
}
|
|
539
|
-
function
|
|
540
|
-
|
|
540
|
+
function J(e) {
|
|
541
|
+
_.title = f.utils.label(e), _.location.href.startsWith(e.site().uri);
|
|
541
542
|
}
|
|
542
|
-
function
|
|
543
|
+
function Y(e, t, n) {
|
|
543
544
|
n ||= {};
|
|
544
545
|
let r = n.pane, i = !!n.already, a = n.immediate;
|
|
545
|
-
|
|
546
|
-
let
|
|
547
|
-
function
|
|
548
|
-
if (
|
|
546
|
+
f.log.info("@outlineExpand, dom is now " + _.location), S.removeCallback("done", "expand"), S.removeCallback("fail", "expand");
|
|
547
|
+
let o = x.canon(t);
|
|
548
|
+
function s() {
|
|
549
|
+
if (o = x.canon(o), !e || !e.parentNode || !e.parentNode.parentNode) return !1;
|
|
549
550
|
let t;
|
|
550
|
-
if (
|
|
551
|
+
if (f.log.info("@@ REPAINTING "), !i) t = M(o, void 0, r, n);
|
|
551
552
|
else {
|
|
552
|
-
for (
|
|
553
|
-
t =
|
|
553
|
+
for (f.log.info(" ... p is " + e), t = e.firstChild; t.nextSibling && (f.log.info(" ... checking node " + t), t.nodeName !== "table"); t = t.nextSibling);
|
|
554
|
+
t = M(o, t, r, n);
|
|
554
555
|
}
|
|
555
|
-
i = !0,
|
|
556
|
-
let a =
|
|
557
|
-
for (let e = 0; e < a.length; e++) e === 25 &&
|
|
556
|
+
i = !0, f.utils.ancestor(e, "TABLE") && f.utils.ancestor(e, "TABLE").style.backgroundColor === "white" ? t.style.backgroundColor = "#eee" : t.style.backgroundColor = "white", f.utils.emptyNode(e).appendChild(t), y.focusTd = e, f.log.debug("expand: Node for " + o + " expanded");
|
|
557
|
+
let a = x.each(o, f.ns.rdfs("seeAlso"));
|
|
558
|
+
for (let e = 0; e < a.length; e++) e === 25 && f.log.warn("expand: Warning: many (" + a.length + ") seeAlso links for " + o), S.lookUpThing(a[e], o);
|
|
558
559
|
}
|
|
559
|
-
function
|
|
560
|
+
function c(e) {
|
|
560
561
|
if (arguments[3]) return !0;
|
|
561
|
-
let t =
|
|
562
|
-
|
|
563
|
-
let n =
|
|
562
|
+
let t = x.canon(o);
|
|
563
|
+
f.log.info("@@ expand: relevant subject=" + t + ", uri=" + e + ", already=" + i);
|
|
564
|
+
let n = x.sym(h.uri.docpart(e));
|
|
564
565
|
if (e.indexOf("#") >= 0) throw Error("Internal error: hash in " + e);
|
|
565
566
|
return !function() {
|
|
566
567
|
if (!t.uri) return !0;
|
|
567
|
-
let r =
|
|
568
|
+
let r = x.uris(t);
|
|
568
569
|
if (!r) return !1;
|
|
569
|
-
for (let t = 0; t < r.length; t++) for (let n =
|
|
570
|
-
return !!
|
|
571
|
-
}() || (
|
|
570
|
+
for (let t = 0; t < r.length; t++) for (let n = h.uri.docpart(r[t]); n; n = x.HTTPRedirects[n]) if (e === n) return !0;
|
|
571
|
+
return !!x.anyStatementMatching(t, void 0, void 0, n);
|
|
572
|
+
}() || (f.log.success("@@ expand OK: relevant subject=" + t + ", uri=" + e + ", source=" + i), s(), !1);
|
|
572
573
|
}
|
|
573
|
-
n.solo &&
|
|
574
|
-
let
|
|
575
|
-
e.appendChild(
|
|
576
|
-
let
|
|
577
|
-
if (
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
return;
|
|
574
|
+
n.solo && J(o), f.log.debug("outlineExpand: dereferencing " + o);
|
|
575
|
+
let l = _.createElement("span");
|
|
576
|
+
e.appendChild(l), S.addCallback("done", c), S.addCallback("fail", c);
|
|
577
|
+
let u = [];
|
|
578
|
+
if (o.uri && o.uri.split(":")[0] === "rdf") s();
|
|
579
|
+
else {
|
|
580
|
+
for (let e = 0; e < u.length; e++) {
|
|
581
|
+
let t;
|
|
582
|
+
if (t === u[e](o)) {
|
|
583
|
+
s(), f.log.debug("outline 1815"), t[1] && C.removeChild(C.lastChild);
|
|
584
|
+
return;
|
|
585
|
+
}
|
|
586
586
|
}
|
|
587
|
+
if (o.uri && !a && !f.widgets.isAudio(o) && !f.widgets.isVideo(o)) {
|
|
588
|
+
let t = o.doc() && o.doc().uri ? o.doc().uri : "" + o.doc(), r = function(e) {
|
|
589
|
+
let t = !!(o && o.uri && o.site && o.site().uri === o.uri);
|
|
590
|
+
return e === 403 ? t ? "This root resource is not accessible with your current permissions. Try logging in with an authorized account or opening a public profile document." : "This resource is not accessible with your current permissions." : t ? "This root resource is not publicly readable. Try logging in or opening a profile document." : "This resource is not publicly readable. Try logging in or opening a different public resource.";
|
|
591
|
+
}, i = function(e, t) {
|
|
592
|
+
let n = typeof e == "string" ? e : String(e || ""), r = t?.status || t?.response?.status;
|
|
593
|
+
return r === 401 || r === 403 ? r : n.includes("status: 403") || n.includes("status 403") ? 403 : n.includes("status: 401") || n.includes("status 401") ? 401 : null;
|
|
594
|
+
}, a = function(n, a) {
|
|
595
|
+
if (e.querySelector && t && e.querySelector("[data-outline-error-for=\"" + t + "\"]")) return;
|
|
596
|
+
let o = i(n, a), s = o ? r(o) : n, c = f.widgets.errorMessageBlock(_, s, "#fee", a instanceof Error ? a : void 0);
|
|
597
|
+
t && c.setAttribute("data-outline-error-for", t), e.appendChild(c);
|
|
598
|
+
}, c = !1, l = S.nowOrWhenFetched(o.doc(), void 0, function(e, t) {
|
|
599
|
+
e ? (S.lookUpThing(o), s(), n.solo && J(o)) : (c = !0, a(t, void 0));
|
|
600
|
+
});
|
|
601
|
+
l && typeof l.catch == "function" && l.catch(function(e) {
|
|
602
|
+
c || (c = !0, a(e, e));
|
|
603
|
+
});
|
|
604
|
+
} else s();
|
|
587
605
|
}
|
|
588
|
-
if (s.uri && !a && !o.widgets.isAudio(s) && !o.widgets.isVideo(s)) {
|
|
589
|
-
let t = s.doc() && s.doc().uri ? s.doc().uri : "" + s.doc(), r = function(e) {
|
|
590
|
-
let t = !!(s && s.uri && s.site && s.site().uri === s.uri);
|
|
591
|
-
return e === 403 ? t ? "This root resource is not accessible with your current permissions. Try logging in with an authorized account or opening a public profile document." : "This resource is not accessible with your current permissions." : t ? "This root resource is not publicly readable. Try logging in or opening a profile document." : "This resource is not publicly readable. Try logging in or opening a different public resource.";
|
|
592
|
-
}, i = function(e, t) {
|
|
593
|
-
let n = typeof e == "string" ? e : String(e || ""), r = t?.status || t?.response?.status;
|
|
594
|
-
return r === 401 || r === 403 ? r : n.includes("status: 403") || n.includes("status 403") ? 403 : n.includes("status: 401") || n.includes("status 401") ? 401 : null;
|
|
595
|
-
}, a = function(n, a) {
|
|
596
|
-
if (e.querySelector && t && e.querySelector("[data-outline-error-for=\"" + t + "\"]")) return;
|
|
597
|
-
let s = i(n, a), c = s ? r(s) : n, l = o.widgets.errorMessageBlock(d, c, "#fee", a instanceof Error ? a : void 0);
|
|
598
|
-
t && l.setAttribute("data-outline-error-for", t), e.appendChild(l);
|
|
599
|
-
}, l = !1, u = g.nowOrWhenFetched(s.doc(), void 0, function(e, t) {
|
|
600
|
-
e ? (g.lookUpThing(s), c(), n.solo && Y(s)) : (l = !0, a(t, void 0));
|
|
601
|
-
});
|
|
602
|
-
u && typeof u.catch == "function" && u.catch(function(e) {
|
|
603
|
-
l || (l = !0, a(e, e));
|
|
604
|
-
});
|
|
605
|
-
} else c();
|
|
606
606
|
}
|
|
607
|
-
function
|
|
608
|
-
let n =
|
|
609
|
-
n =
|
|
607
|
+
function X(e, t) {
|
|
608
|
+
let n = f.utils.ancestor(e, "TR");
|
|
609
|
+
n = f.utils.ancestor(n.parentNode, "TR");
|
|
610
610
|
let r;
|
|
611
611
|
n && (r = n.AJAR_statement);
|
|
612
612
|
let i;
|
|
@@ -614,95 +614,129 @@ function u(u) {
|
|
|
614
614
|
alert("Not enclosed in TD!");
|
|
615
615
|
return;
|
|
616
616
|
}
|
|
617
|
-
|
|
617
|
+
f.log.debug("Collapsing subject " + t);
|
|
618
618
|
let a;
|
|
619
|
-
r && (
|
|
620
|
-
let
|
|
621
|
-
i.parentNode.parentNode.id === "outline" && (
|
|
619
|
+
r && (f.log.debug("looking up pred " + r.predicate.uri + "in defaults"), a = $.defaults[r.predicate.uri]), f.log.debug("view= " + a);
|
|
620
|
+
let o;
|
|
621
|
+
i.parentNode.parentNode.id === "outline" && (o = i.parentNode), y.replaceTD(y.outlineObjectTD(t, a, o, r), i);
|
|
622
622
|
}
|
|
623
623
|
this.replaceTD = function(e, t) {
|
|
624
624
|
let n;
|
|
625
|
-
|
|
626
|
-
for (let e =
|
|
627
|
-
t.parentNode.replaceChild(e, t), n &&
|
|
625
|
+
L(t) && (n = !0);
|
|
626
|
+
for (let e = b.length - 1; e > -1; e--) for (let n = b[e]; n.parentNode; n = n.parentNode) n === t && V(b[e], !1);
|
|
627
|
+
t.parentNode.replaceChild(e, t), n && V(e, !0);
|
|
628
628
|
};
|
|
629
|
-
function
|
|
629
|
+
function Z(e, t) {
|
|
630
630
|
let n = null;
|
|
631
|
-
for (let t = e.parentNode; t; t = t.parentNode)
|
|
632
|
-
|
|
631
|
+
for (let t = e.parentNode; t; t = t.parentNode) f.log.debug("level " + t.tagName), t.tagName === "TD" && (n = t);
|
|
632
|
+
f.utils.emptyNode(n).appendChild(M(t)), J(t), n.setAttribute("about", t.toNT());
|
|
633
633
|
}
|
|
634
|
-
|
|
635
|
-
e.keyCode === 13 &&
|
|
634
|
+
v.outlineRefocus = Z, this.GotoFormURI_enterKey = function(e) {
|
|
635
|
+
e.keyCode === 13 && v.GotoFormURI(e);
|
|
636
636
|
}, this.GotoFormURI = function(e) {
|
|
637
|
-
|
|
637
|
+
se(_.getElementById("UserURI").value);
|
|
638
638
|
};
|
|
639
|
-
function
|
|
640
|
-
let t =
|
|
639
|
+
function se(e) {
|
|
640
|
+
let t = x.sym(e);
|
|
641
641
|
this.GotoSubject(t, !0);
|
|
642
642
|
}
|
|
643
|
+
let Q = 0;
|
|
644
|
+
function ce(e, t, n) {
|
|
645
|
+
let r = ++Q, i = t.uri, a = n.uri.split("#")[0];
|
|
646
|
+
if (!i.endsWith("/") || !a.startsWith(i) || a === i) return;
|
|
647
|
+
let o = [], s = a.slice(i.length).split("/"), c = i;
|
|
648
|
+
s.forEach((e, t) => {
|
|
649
|
+
e && (c += t < s.length - 1 ? e + "/" : e, o.push(c));
|
|
650
|
+
});
|
|
651
|
+
let l = (t) => Array.from(e.querySelectorAll("td.obj[about]")).find((e) => e.getAttribute("about") === x.sym(t).toNT()), u = (t) => new Promise((n) => {
|
|
652
|
+
let i = l(t);
|
|
653
|
+
if (i) return n(i);
|
|
654
|
+
let a = setTimeout(() => {
|
|
655
|
+
o.disconnect(), n(null);
|
|
656
|
+
}, 1e4), o = new MutationObserver(() => {
|
|
657
|
+
let e = l(t);
|
|
658
|
+
(e || r !== Q) && (clearTimeout(a), o.disconnect(), n(e));
|
|
659
|
+
});
|
|
660
|
+
o.observe(e, {
|
|
661
|
+
childList: !0,
|
|
662
|
+
subtree: !0
|
|
663
|
+
});
|
|
664
|
+
});
|
|
665
|
+
(async () => {
|
|
666
|
+
for (let e of o) {
|
|
667
|
+
let t = await u(e);
|
|
668
|
+
if (!t || r !== Q) return;
|
|
669
|
+
(!t.firstChild || t.firstChild.nodeName !== "TABLE") && Y(t, x.sym(e)), e === o[o.length - 1] && typeof t.scrollIntoView == "function" && t.scrollIntoView({ block: "nearest" });
|
|
670
|
+
}
|
|
671
|
+
})().catch((e) => f.log.warn("outline: could not open " + n.uri + " inside " + i + ": " + e));
|
|
672
|
+
}
|
|
643
673
|
this.GotoURIinit = function(e) {
|
|
644
|
-
let t =
|
|
674
|
+
let t = x.sym(e);
|
|
645
675
|
this.GotoSubject(t);
|
|
646
|
-
}, this.GotoSubject = function(e, t, n, r, i, a,
|
|
647
|
-
let
|
|
648
|
-
s && (!a || a ===
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
676
|
+
}, this.GotoSubject = function(e, t, n, r, i, a, o) {
|
|
677
|
+
let s = u(o) !== "accountMenu", d = E();
|
|
678
|
+
s && (!a || a === d) && D(e), a ||= d, r && (f.utils.emptyNode(a), a.style.width = "100%");
|
|
679
|
+
let p = n && n.subject && n.subject.uri ? n.subject : e;
|
|
680
|
+
function m() {
|
|
681
|
+
let e = _.createElement("tr");
|
|
682
|
+
e.classList.add("outlineRow1"), e.style.verticalAlign = "top", a.appendChild(e);
|
|
683
|
+
let t = y.outlineObjectTD(p, void 0, e);
|
|
684
|
+
return e.appendChild(t), t;
|
|
654
685
|
}
|
|
655
|
-
let
|
|
656
|
-
if (r &&
|
|
686
|
+
let h = m();
|
|
687
|
+
if (r && J(p), t && (Y(h, p, {
|
|
657
688
|
pane: n,
|
|
658
|
-
solo: r
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
689
|
+
solo: r,
|
|
690
|
+
headerOnlyInViewerPod: !s || !!(n && n.subject && n.subject.uri)
|
|
691
|
+
}), r && p !== e && ce(a, p, e)), r && _ && _.defaultView && _.defaultView.history) {
|
|
692
|
+
let t = _.defaultView.history.state || {}, r = document.location.href !== e.uri, i = c(t, {
|
|
693
|
+
pane: n ? {
|
|
694
|
+
name: n.name,
|
|
695
|
+
subject: n.subject && typeof n.subject.uri == "string" ? n.subject.uri : void 0
|
|
696
|
+
} : void 0,
|
|
697
|
+
leavingPage: r,
|
|
698
|
+
viaAccountMenu: !s
|
|
699
|
+
});
|
|
666
700
|
try {
|
|
667
|
-
let n = new URL(document.location.href),
|
|
668
|
-
n.origin ===
|
|
701
|
+
let n = new URL(document.location.href), a = new URL(e.uri, document.location.href);
|
|
702
|
+
n.origin === a.origin && (r ? _.defaultView.history.pushState(i, e.uri, e.uri) : JSON.stringify(t) !== JSON.stringify(i) && _.defaultView.history.replaceState(i, e.uri, e.uri));
|
|
669
703
|
} catch {}
|
|
670
704
|
}
|
|
671
|
-
return e;
|
|
705
|
+
return r && l(_), e;
|
|
672
706
|
};
|
|
673
|
-
let $ = e(
|
|
674
|
-
function
|
|
707
|
+
let $ = e(_);
|
|
708
|
+
function le(e) {
|
|
675
709
|
let n;
|
|
676
710
|
if (e.termType === "Literal") {
|
|
677
|
-
if (n =
|
|
678
|
-
let t =
|
|
711
|
+
if (n = _.createElement("span"), n.classList.add("objectValue", "objectValue--literal"), n.textContent = e.value, e.datatype && e.datatype.uri) {
|
|
712
|
+
let t = f.ns.xsd("").uri;
|
|
679
713
|
e.datatype.uri.slice(0, t.length) === t && n.classList.add("objectValue--" + e.datatype.uri.slice(t.length));
|
|
680
714
|
}
|
|
681
715
|
} else if (e.termType === "NamedNode" || e.termType === "BlankNode") {
|
|
682
|
-
if (n =
|
|
716
|
+
if (n = _.createElement("span"), n.classList.add("objectValue", "objectValue--resource"), n.setAttribute("about", e.toNT()), y.appendAccessIcons(x, n, e), e.termType === "NamedNode") {
|
|
683
717
|
if (e.uri.slice(0, 4) === "tel:") {
|
|
684
|
-
let r = e.uri.slice(4), i =
|
|
685
|
-
n.appendChild(
|
|
718
|
+
let r = e.uri.slice(4), i = _.createElement("a");
|
|
719
|
+
n.appendChild(_.createTextNode(r)), i.setAttribute("href", e.uri), i.appendChild(f.utils.AJARImage(t.src.icon_telephone, "phone", "phone " + r, _)), n.appendChild(i), i.firstChild.setAttribute("class", "phoneIcon"), i.firstChild.classList.add("objectValueLinkIcon");
|
|
686
720
|
} else {
|
|
687
|
-
n.appendChild(
|
|
688
|
-
let t =
|
|
689
|
-
t.firstChild && t.firstChild.classList.add("objectValueLinkIcon"), n.appendChild(t),
|
|
721
|
+
n.appendChild(_.createTextNode(f.utils.label(e)));
|
|
722
|
+
let t = f.widgets.linkIcon(_, e);
|
|
723
|
+
t.firstChild && t.firstChild.classList.add("objectValueLinkIcon"), n.appendChild(t), f.widgets.makeDraggable(n, e);
|
|
690
724
|
}
|
|
691
|
-
} else n.appendChild(
|
|
725
|
+
} else n.appendChild(_.createTextNode(f.utils.label(e)));
|
|
692
726
|
} else if (e.termType === "Collection") {
|
|
693
|
-
n =
|
|
727
|
+
n = _.createElement("table"), n.classList.add("tableFullWidth"), n.setAttribute("about", e.toNT());
|
|
694
728
|
for (let t = 0; t < e.elements.length; t++) {
|
|
695
|
-
let r = e.elements[t], i = n.appendChild(
|
|
696
|
-
a.classList.add("obj"), a.setAttribute("notSelectable", "false"), a.setAttribute("about", e.toNT()), a.innerHTML = t + 1 + ")", i.appendChild(
|
|
729
|
+
let r = e.elements[t], i = n.appendChild(_.createElement("tr")), a = i.appendChild(_.createElement("td"));
|
|
730
|
+
a.classList.add("obj"), a.setAttribute("notSelectable", "false"), a.setAttribute("about", e.toNT()), a.innerHTML = t + 1 + ")", i.appendChild(y.outlineObjectTD(r));
|
|
697
731
|
}
|
|
698
|
-
} else e.termType === "Graph" ? (n =
|
|
699
|
-
return
|
|
732
|
+
} else e.termType === "Graph" ? (n = m.byName("dataContentPane").statementsAsTables(e.statements, g), n.setAttribute("class", "nestedFormula")) : (f.log.error("Object " + e + " has unknown term type: " + e.termType), n = _.createTextNode("[unknownTermType:" + e.termType + "]"));
|
|
733
|
+
return f.log.debug("contents: " + n.innerHTML), n;
|
|
700
734
|
}
|
|
701
735
|
return this.createTabURI = function() {
|
|
702
|
-
|
|
703
|
-
}, this.UserInput.setSelected =
|
|
736
|
+
_.getElementById("UserURI").value = _.URL + "?uri=" + _.getElementById("UserURI").value;
|
|
737
|
+
}, this.UserInput.setSelected = V, this.UserInput.deselectAll = H, this.UserInput.views = $, this.outlineExpand = Y, this;
|
|
704
738
|
}
|
|
705
739
|
//#endregion
|
|
706
|
-
export {
|
|
740
|
+
export { g as default };
|
|
707
741
|
|
|
708
742
|
//# sourceMappingURL=manager2.esm.js.map
|