solid-panes 3.5.21 → 3.5.22-1138b2aa
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/.babelrc +0 -0
- package/.eslintignore +0 -0
- package/.eslintrc +1 -1
- package/.github/workflows/ci.yml +0 -1
- package/.nvmrc +1 -1
- package/Documentation/VisualLanguage.html +0 -0
- package/Documentation/conventions.md +0 -0
- package/LICENSE.md +0 -0
- package/README.md +0 -0
- package/dev/index.html +0 -0
- package/dev/loader.ts +1 -1
- package/dev/pane/index.ts +0 -0
- package/doc/images/panes-for-classes.epgz +0 -0
- package/doc/images/panes-for-classes.svg +0 -0
- package/jest.config.js +4 -4
- package/jest.setup.ts +0 -0
- package/lib/RDFXMLPane.js +0 -0
- package/lib/RDFXMLPane.js.map +0 -0
- package/lib/argument/argumentPane.js +0 -0
- package/lib/argument/argumentPane.js.map +0 -0
- package/lib/attach/attachPane.js +0 -0
- package/lib/attach/attachPane.js.map +0 -0
- package/lib/audio/audioPane.js +0 -0
- package/lib/audio/audioPane.js.map +0 -0
- package/lib/classInstancePane.js +0 -0
- package/lib/classInstancePane.js.map +0 -0
- package/lib/dashboard/basicPreferences.d.ts +0 -0
- package/lib/dashboard/basicPreferences.d.ts.map +0 -0
- package/lib/dashboard/basicPreferences.js +0 -0
- package/lib/dashboard/basicPreferences.js.map +0 -0
- package/lib/dashboard/dashboardPane.d.ts +0 -0
- package/lib/dashboard/dashboardPane.d.ts.map +0 -0
- package/lib/dashboard/dashboardPane.js +0 -0
- package/lib/dashboard/dashboardPane.js.map +0 -0
- package/lib/dashboard/homepage.d.ts +0 -0
- package/lib/dashboard/homepage.d.ts.map +0 -0
- package/lib/dashboard/homepage.js +0 -0
- package/lib/dashboard/homepage.js.map +0 -0
- package/lib/dataContentPane.js +0 -0
- package/lib/dataContentPane.js.map +0 -0
- package/lib/defaultPane.js +0 -0
- package/lib/defaultPane.js.map +0 -0
- package/lib/dokieli/dokieliPane.js +0 -0
- package/lib/dokieli/dokieliPane.js.map +0 -0
- package/lib/dokieli/new.js +0 -0
- package/lib/dokieli/new.js.map +0 -0
- package/lib/form/pane.js +0 -0
- package/lib/form/pane.js.map +0 -0
- package/lib/global.d.js +0 -0
- package/lib/global.d.js.map +0 -0
- package/lib/home/homePane.d.ts +0 -0
- package/lib/home/homePane.d.ts.map +0 -0
- package/lib/home/homePane.js +0 -0
- package/lib/home/homePane.js.map +0 -0
- package/lib/humanReadablePane.js +0 -0
- package/lib/humanReadablePane.js.map +0 -0
- package/lib/imagePane.js +0 -0
- package/lib/imagePane.js.map +0 -0
- package/lib/index.d.ts +0 -0
- package/lib/index.d.ts.map +0 -0
- package/lib/index.js +0 -0
- package/lib/index.js.map +0 -0
- package/lib/internal/internalPane.d.ts +0 -0
- package/lib/internal/internalPane.d.ts.map +0 -0
- package/lib/internal/internalPane.js +0 -0
- package/lib/internal/internalPane.js.map +0 -0
- package/lib/mainPage/footer.d.ts +2 -2
- package/lib/mainPage/footer.d.ts.map +1 -1
- package/lib/mainPage/footer.js +0 -0
- package/lib/mainPage/footer.js.map +1 -1
- package/lib/mainPage/header.d.ts +0 -0
- package/lib/mainPage/header.d.ts.map +0 -0
- package/lib/mainPage/header.js +0 -0
- package/lib/mainPage/header.js.map +0 -0
- package/lib/mainPage/index.d.ts +2 -2
- package/lib/mainPage/index.d.ts.map +1 -1
- package/lib/mainPage/index.js +0 -0
- package/lib/mainPage/index.js.map +1 -1
- package/lib/microblogPane/microblogPane.js +0 -0
- package/lib/microblogPane/microblogPane.js.map +0 -0
- package/lib/n3Pane.js +0 -0
- package/lib/n3Pane.js.map +0 -0
- package/lib/outline/context.d.ts +0 -0
- package/lib/outline/context.d.ts.map +0 -0
- package/lib/outline/context.js +0 -0
- package/lib/outline/context.js.map +0 -0
- package/lib/outline/licenseOptions.js +0 -0
- package/lib/outline/licenseOptions.js.map +0 -0
- package/lib/outline/manager.js +37 -80
- package/lib/outline/manager.js.map +1 -1
- package/lib/outline/manager.test.js +0 -0
- package/lib/outline/manager.test.js.map +0 -0
- package/lib/outline/outlineIcons.js +0 -0
- package/lib/outline/outlineIcons.js.map +0 -0
- package/lib/outline/propertyViews.d.ts +0 -0
- package/lib/outline/propertyViews.d.ts.map +0 -0
- package/lib/outline/propertyViews.js +0 -0
- package/lib/outline/propertyViews.js.map +0 -0
- package/lib/outline/propertyViews.test.js +0 -0
- package/lib/outline/propertyViews.test.js.map +0 -0
- package/lib/outline/queryByExample.js +0 -0
- package/lib/outline/queryByExample.js.map +0 -0
- package/lib/outline/userInput.js +0 -0
- package/lib/outline/userInput.js.map +0 -0
- package/lib/outline/viewAsImage.d.ts +0 -0
- package/lib/outline/viewAsImage.d.ts.map +0 -0
- package/lib/outline/viewAsImage.js +0 -0
- package/lib/outline/viewAsImage.js.map +0 -0
- package/lib/outline/viewAsMbox.d.ts +0 -0
- package/lib/outline/viewAsMbox.d.ts.map +0 -0
- package/lib/outline/viewAsMbox.js +0 -0
- package/lib/outline/viewAsMbox.js.map +0 -0
- package/lib/pad/padPane.d.ts +0 -0
- package/lib/pad/padPane.d.ts.map +0 -0
- package/lib/pad/padPane.js +0 -0
- package/lib/pad/padPane.js.map +0 -0
- package/lib/playlist/playlistPane.js +0 -0
- package/lib/playlist/playlistPane.js.map +0 -0
- package/lib/profile/editProfile.view.d.ts +0 -0
- package/lib/profile/editProfile.view.d.ts.map +0 -0
- package/lib/profile/editProfile.view.js +0 -0
- package/lib/profile/editProfile.view.js.map +0 -0
- package/lib/profile/profile.dom.d.ts +0 -0
- package/lib/profile/profile.dom.d.ts.map +0 -0
- package/lib/profile/profile.dom.js +0 -0
- package/lib/profile/profile.dom.js.map +0 -0
- package/lib/registerPanes.js +0 -0
- package/lib/registerPanes.js.map +0 -0
- package/lib/schedule/formsForSchedule.js +0 -0
- package/lib/schedule/formsForSchedule.js.map +0 -0
- package/lib/schedule/schedulePane.js +0 -0
- package/lib/schedule/schedulePane.js.map +0 -0
- package/lib/sharing/sharingPane.d.ts +0 -0
- package/lib/sharing/sharingPane.d.ts.map +0 -0
- package/lib/sharing/sharingPane.js +0 -0
- package/lib/sharing/sharingPane.js.map +0 -0
- package/lib/slideshow/slideshowPane.js +0 -0
- package/lib/slideshow/slideshowPane.js.map +0 -0
- package/lib/socialPane.js +0 -0
- package/lib/socialPane.js.map +0 -0
- package/lib/tabbed/tabbedPane.d.ts +0 -0
- package/lib/tabbed/tabbedPane.d.ts.map +0 -0
- package/lib/tabbed/tabbedPane.js +0 -0
- package/lib/tabbed/tabbedPane.js.map +0 -0
- package/lib/tableViewPane.js +0 -0
- package/lib/tableViewPane.js.map +0 -0
- package/lib/test-import-export/common.js +0 -0
- package/lib/test-import-export/common.js.map +0 -0
- package/lib/test-import-export/edit-importer.js +0 -0
- package/lib/test-import-export/edit-importer.js.map +0 -0
- package/lib/test-import-export/testImportExport.js +0 -0
- package/lib/test-import-export/testImportExport.js.map +0 -0
- package/lib/transaction/pane.js +0 -0
- package/lib/transaction/pane.js.map +0 -0
- package/lib/transaction/period.js +0 -0
- package/lib/transaction/period.js.map +0 -0
- package/lib/trip/tripPane.js +0 -0
- package/lib/trip/tripPane.js.map +0 -0
- package/lib/trustedApplications/trustedApplications.dom.d.ts +0 -0
- package/lib/trustedApplications/trustedApplications.dom.d.ts.map +0 -0
- package/lib/trustedApplications/trustedApplications.dom.js +0 -0
- package/lib/trustedApplications/trustedApplications.dom.js.map +0 -0
- package/lib/trustedApplications/trustedApplications.test.js +0 -0
- package/lib/trustedApplications/trustedApplications.test.js.map +0 -0
- package/lib/trustedApplications/trustedApplications.utils.d.ts +0 -0
- package/lib/trustedApplications/trustedApplications.utils.d.ts.map +0 -0
- package/lib/trustedApplications/trustedApplications.utils.js +0 -0
- package/lib/trustedApplications/trustedApplications.utils.js.map +0 -0
- package/lib/trustedApplications/trustedApplications.view.d.ts +0 -0
- package/lib/trustedApplications/trustedApplications.view.d.ts.map +0 -0
- package/lib/trustedApplications/trustedApplications.view.js +0 -0
- package/lib/trustedApplications/trustedApplications.view.js.map +0 -0
- package/lib/types.d.ts +0 -0
- package/lib/types.d.ts.map +0 -0
- package/lib/types.js +0 -0
- package/lib/types.js.map +0 -0
- package/lib/ui/pane.js +0 -0
- package/lib/ui/pane.js.map +0 -0
- package/lib/versionInfo.d.ts +0 -0
- package/lib/versionInfo.d.ts.map +1 -1
- package/lib/versionInfo.js +14 -14
- package/lib/versionInfo.js.map +1 -1
- package/lib/video/videoPane.js +0 -0
- package/lib/video/videoPane.js.map +0 -0
- package/package.json +36 -43
- package/src/RDFXMLPane.js +0 -0
- package/src/argument/argumentPane.js +0 -0
- package/src/argument/argument_icon_v04.jpg +0 -0
- package/src/argument/icon_argument.png +0 -0
- package/src/argument/transparentyingyang.png +0 -0
- package/src/attach/attachPane.js +0 -0
- package/src/attach/tbl-paperclip-128.png +0 -0
- package/src/attach/tbl-paperclip-22.png +0 -0
- package/src/attach/tbl-paperclip-22a.png +0 -0
- package/src/audio/audioPane.js +0 -0
- package/src/chatPreferencesForm.ttl +0 -0
- package/src/classInstancePane.js +0 -0
- package/src/dashboard/basicPreferences.ts +0 -0
- package/src/dashboard/dashboardPane.ts +0 -0
- package/src/dashboard/homepage.ts +0 -0
- package/src/dashboard/languages/codes.html +0 -0
- package/src/dashboard/languages/codes.xml +0 -0
- package/src/dashboard/languages/codes2.txt +0 -0
- package/src/dashboard/languages/foo +0 -0
- package/src/dashboard/languages/foo.ttl +0 -0
- package/src/dashboard/languages/get-language-names.sh +0 -0
- package/src/dashboard/ontologyData.ttl +0 -0
- package/src/dashboard/preferencesFormText.ttl +0 -0
- package/src/dataContentPane.js +0 -0
- package/src/defaultPane.js +0 -0
- package/src/dokieli/Makefile +0 -0
- package/src/dokieli/dokieliPane.js +0 -0
- package/src/dokieli/new.html +0 -0
- package/src/dokieli/new.js +0 -0
- package/src/form/form-22.png +0 -0
- package/src/form/form-b-22.png +0 -0
- package/src/form/form.graffle +0 -0
- package/src/form/form.png +0 -0
- package/src/form/pane.js +0 -0
- package/src/form/psuedocode-notes.txt +0 -0
- package/src/global.d.ts +0 -0
- package/src/home/homePane.ts +0 -0
- package/src/humanReadablePane.js +0 -0
- package/src/imagePane.js +0 -0
- package/src/index.ts +0 -0
- package/src/internal/internalPane.ts +0 -0
- package/src/mainPage/footer.ts +2 -2
- package/src/mainPage/header.ts +0 -0
- package/src/mainPage/index.ts +2 -2
- package/src/meeting/Makefile +0 -0
- package/src/meeting/test/meeting1/Actions/actions.ttl +0 -0
- package/src/meeting/test/meeting1/Actions/config.ttl +0 -0
- package/src/meeting/test/meeting1/Actions/state.ttl +0 -0
- package/src/meeting/test/meeting1/Schedule/details.ttl +0 -0
- package/src/meeting/test/meeting1/Schedule/details.ttl.acl +0 -0
- package/src/meeting/test/meeting1/Schedule/forms.ttl +0 -0
- package/src/meeting/test/meeting1/Schedule/forms.ttl.acl +0 -0
- package/src/meeting/test/meeting1/Schedule/index.html +0 -0
- package/src/meeting/test/meeting1/Schedule/index.html.acl +0 -0
- package/src/meeting/test/meeting1/Schedule/results.ttl +0 -0
- package/src/meeting/test/meeting1/Schedule/results.ttl.acl +0 -0
- package/src/meeting/test/meeting1/SharedNotes/pad.ttl +0 -0
- package/src/meeting/test/meeting1/chat/chat.ttl +0 -0
- package/src/meeting/test/meeting1/details.ttl +0 -0
- package/src/meeting/test/meeting1/pad/pad.ttl +0 -0
- package/src/microblogPane/mbStyle.css +0 -0
- package/src/microblogPane/microblogPane.js +0 -0
- package/src/n3Pane.js +0 -0
- package/src/outline/context.ts +0 -0
- package/src/outline/licenseOptions.js +0 -0
- package/src/outline/manager.js +6 -55
- package/src/outline/manager.test.ts +0 -0
- package/src/outline/outlineIcons.js +0 -0
- package/src/outline/propertyViews.test.ts +0 -0
- package/src/outline/propertyViews.ts +0 -0
- package/src/outline/queryByExample.js +0 -0
- package/src/outline/userInput.js +0 -0
- package/src/outline/viewAsImage.ts +0 -0
- package/src/outline/viewAsMbox.ts +0 -0
- package/src/pad/images/ColourOff.ai +0 -0
- package/src/pad/images/ColourOff.png +0 -0
- package/src/pad/images/ColourOn.ai +0 -0
- package/src/pad/images/ColourOn.png +0 -0
- package/src/pad/padPane.ts +0 -0
- package/src/playlist/playlistPane.js +0 -0
- package/src/profile/editProfile.view.ts +0 -0
- package/src/profile/profile.dom.ts +0 -0
- package/src/profile/profileFormText.ttl +0 -0
- package/src/registerPanes.js +0 -0
- package/src/schedule/Makefile +0 -0
- package/src/schedule/formsForSchedule.js +0 -0
- package/src/schedule/formsForSchedule.ttl +0 -0
- package/src/schedule/schedulePane.js +0 -0
- package/src/sharing/sharingPane.ts +0 -0
- package/src/slideshow/slideshowPane.js +0 -0
- package/src/socialPane.js +0 -0
- package/src/style/tabbedtab.css +0 -0
- package/src/tabbed/tabbedPane.ts +0 -0
- package/src/tableViewPane.js +0 -0
- package/src/test-import-export/common.js +0 -0
- package/src/test-import-export/edit-importer.js +0 -0
- package/src/test-import-export/testImportExport.js +0 -0
- package/src/transaction/068010-3d-transparent-glass-icon-alphanumeric-dollar-sign.png +0 -0
- package/src/transaction/075988-3d-transparent-glass-icon-business-currency-british-pound-sc35.png +0 -0
- package/src/transaction/22-pixel-068010-3d-transparent-glass-icon-alphanumeric-dollar-sign.png +0 -0
- package/src/transaction/pane.js +0 -0
- package/src/transaction/period.js +0 -0
- package/src/transaction/thumbs_075987-3d-transparent-glass-icon-business-creditcard2.png +0 -0
- package/src/transaction/thumbs_075989-3d-transparent-glass-icon-business-currency-cent-sc35.png +0 -0
- package/src/trip/tripPane.js +0 -0
- package/src/trustedApplications/__snapshots__/trustedApplications.test.ts.snap +0 -0
- package/src/trustedApplications/trustedApplications.dom.ts +0 -0
- package/src/trustedApplications/trustedApplications.test.ts +0 -0
- package/src/trustedApplications/trustedApplications.utils.ts +0 -0
- package/src/trustedApplications/trustedApplications.view.ts +0 -0
- package/src/types.ts +0 -0
- package/src/ui/22-builder.png +0 -0
- package/src/ui/builder.graffle +0 -0
- package/src/ui/builder.png +0 -0
- package/src/ui/builder2.png +0 -0
- package/src/ui/pane.js +0 -0
- package/src/versionInfo.ts +16 -16
- package/src/video/videoPane.js +0 -0
- package/timestamp.sh +0 -0
- package/travis/bumpversion.js +0 -0
- package/tsconfig.json +1 -0
- package/typings/raw-loader.d.ts +0 -0
- package/typings/solid-namespace/index.d.ts +0 -0
- package/webpack.config.js +2 -9
- package/lib/outline/dragDrop.js +0 -406
- package/lib/outline/dragDrop.js.map +0 -1
- package/src/outline/dragDrop.js +0 -444
package/.babelrc
CHANGED
|
File without changes
|
package/.eslintignore
CHANGED
|
File without changes
|
package/.eslintrc
CHANGED
package/.github/workflows/ci.yml
CHANGED
package/.nvmrc
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
v16.14.0
|
|
File without changes
|
|
File without changes
|
package/LICENSE.md
CHANGED
|
File without changes
|
package/README.md
CHANGED
|
File without changes
|
package/dev/index.html
CHANGED
|
File without changes
|
package/dev/loader.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as paneRegistry from 'pane-registry'
|
|
|
2
2
|
import * as $rdf from 'rdflib'
|
|
3
3
|
import { solidLogicSingleton, store, authSession } from 'solid-logic'
|
|
4
4
|
import { getOutliner } from '../src'
|
|
5
|
-
import
|
|
5
|
+
import Pane from 'profile-pane'
|
|
6
6
|
|
|
7
7
|
// FIXME:
|
|
8
8
|
window.$rdf = $rdf
|
package/dev/pane/index.ts
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/jest.config.js
CHANGED
|
@@ -11,10 +11,10 @@ module.exports = {
|
|
|
11
11
|
// https://github.com/gotwarlost/istanbul/blob/master/ignoring-code-for-coverage.md
|
|
12
12
|
coverageThreshold: {
|
|
13
13
|
global: {
|
|
14
|
-
branches:
|
|
15
|
-
functions:
|
|
16
|
-
lines:
|
|
17
|
-
statements:
|
|
14
|
+
branches: 10,
|
|
15
|
+
functions: 25,
|
|
16
|
+
lines: 20,
|
|
17
|
+
statements: 20
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
20
|
setupFilesAfterEnv: ['./jest.setup.ts']
|
package/jest.setup.ts
CHANGED
|
File without changes
|
package/lib/RDFXMLPane.js
CHANGED
|
File without changes
|
package/lib/RDFXMLPane.js.map
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/lib/attach/attachPane.js
CHANGED
|
File without changes
|
|
File without changes
|
package/lib/audio/audioPane.js
CHANGED
|
File without changes
|
|
File without changes
|
package/lib/classInstancePane.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/lib/dataContentPane.js
CHANGED
|
File without changes
|
|
File without changes
|
package/lib/defaultPane.js
CHANGED
|
File without changes
|
package/lib/defaultPane.js.map
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/lib/dokieli/new.js
CHANGED
|
File without changes
|
package/lib/dokieli/new.js.map
CHANGED
|
File without changes
|
package/lib/form/pane.js
CHANGED
|
File without changes
|
package/lib/form/pane.js.map
CHANGED
|
File without changes
|
package/lib/global.d.js
CHANGED
|
File without changes
|
package/lib/global.d.js.map
CHANGED
|
File without changes
|
package/lib/home/homePane.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
package/lib/home/homePane.js
CHANGED
|
File without changes
|
package/lib/home/homePane.js.map
CHANGED
|
File without changes
|
package/lib/humanReadablePane.js
CHANGED
|
File without changes
|
|
File without changes
|
package/lib/imagePane.js
CHANGED
|
File without changes
|
package/lib/imagePane.js.map
CHANGED
|
File without changes
|
package/lib/index.d.ts
CHANGED
|
File without changes
|
package/lib/index.d.ts.map
CHANGED
|
File without changes
|
package/lib/index.js
CHANGED
|
File without changes
|
package/lib/index.js.map
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/lib/mainPage/footer.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare function createFooter(store:
|
|
1
|
+
import { LiveStore } from 'rdflib';
|
|
2
|
+
export declare function createFooter(store: LiveStore): void;
|
|
3
3
|
//# sourceMappingURL=footer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"footer.d.ts","sourceRoot":"","sources":["../../src/mainPage/footer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"footer.d.ts","sourceRoot":"","sources":["../../src/mainPage/footer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAA;AASlC,wBAAgB,YAAY,CAAE,KAAK,EAAE,SAAS,QAE7C"}
|
package/lib/mainPage/footer.js
CHANGED
|
File without changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/mainPage/footer.ts"],"names":["SOLID_PROJECT_URL","SOLID_PROJECT_NAME","createFooter","store","setFooterOptions","solidProjectUrl","solidProjectName"],"mappings":";;;;;;;AACA;;AAEA;AACA;AACA;AACA,IAAMA,iBAAiB,GAAG,0BAA1B;AACA,IAAMC,kBAAkB,GAAG,kBAA3B;;AAEO,SAASC,YAAT,CAAuBC,KAAvB,
|
|
1
|
+
{"version":3,"sources":["../../src/mainPage/footer.ts"],"names":["SOLID_PROJECT_URL","SOLID_PROJECT_NAME","createFooter","store","setFooterOptions","solidProjectUrl","solidProjectName"],"mappings":";;;;;;;AACA;;AAEA;AACA;AACA;AACA,IAAMA,iBAAiB,GAAG,0BAA1B;AACA,IAAMC,kBAAkB,GAAG,kBAA3B;;AAEO,SAASC,YAAT,CAAuBC,KAAvB,EAAyC;AAC9C,2BAAWA,KAAX,EAAkBC,gBAAgB,EAAlC;AACD;;AAED,SAASA,gBAAT,GAA6B;AAC3B,SAAO;AACLC,IAAAA,eAAe,EAAEL,iBADZ;AAELM,IAAAA,gBAAgB,EAAEL;AAFb,GAAP;AAID","sourcesContent":["import { LiveStore } from 'rdflib'\nimport { initFooter } from 'solid-ui'\n\n/**\n * links in the footer\n*/\nconst SOLID_PROJECT_URL = 'https://solidproject.org'\nconst SOLID_PROJECT_NAME = 'solidproject.org'\n\nexport function createFooter (store: LiveStore) {\n initFooter(store, setFooterOptions())\n}\n\nfunction setFooterOptions () {\n return {\n solidProjectUrl: SOLID_PROJECT_URL,\n solidProjectName: SOLID_PROJECT_NAME\n }\n}\n"],"file":"footer.js"}
|
package/lib/mainPage/header.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
package/lib/mainPage/header.js
CHANGED
|
File without changes
|
|
File without changes
|
package/lib/mainPage/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export default function initMainPage(store:
|
|
1
|
+
import { LiveStore, NamedNode } from 'rdflib';
|
|
2
|
+
export default function initMainPage(store: LiveStore, uri?: string | NamedNode | null): Promise<[void, void]>;
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/mainPage/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/mainPage/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAA;AAK7C,wBAA8B,YAAY,CAAE,KAAK,EAAE,SAAS,EAAE,GAAG,CAAC,EAAE,MAAM,GAAC,SAAS,GAAC,IAAI,yBASxF"}
|
package/lib/mainPage/index.js
CHANGED
|
File without changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/mainPage/index.ts"],"names":["initMainPage","store","uri","outliner","document","window","location","href","subject","sym","GotoSubject","undefined","header","footer","Promise","all"],"mappings":";;;;;;;AAMA;;AACA;;AACA;;;;;;SAE8BA,Y;;;;;0EAAf,iBAA6BC,KAA7B,
|
|
1
|
+
{"version":3,"sources":["../../src/mainPage/index.ts"],"names":["initMainPage","store","uri","outliner","document","window","location","href","subject","sym","GotoSubject","undefined","header","footer","Promise","all"],"mappings":";;;;;;;AAMA;;AACA;;AACA;;;;;;SAE8BA,Y;;;;;0EAAf,iBAA6BC,KAA7B,EAA+CC,GAA/C;AAAA;AAAA;AAAA;AAAA;AAAA;AACPC,YAAAA,QADO,GACI,wBAAYC,QAAZ,CADJ;AAEbF,YAAAA,GAAG,GAAGA,GAAG,IAAIG,MAAM,CAACC,QAAP,CAAgBC,IAA7B;AACIC,YAAAA,OAHS,GAGCN,GAHD;AAIb,gBAAI,OAAOA,GAAP,KAAe,QAAnB,EAA6BM,OAAO,GAAGP,KAAK,CAACQ,GAAN,CAAUP,GAAV,CAAV;AAC7BC,YAAAA,QAAQ,CAACO,WAAT,CAAqBF,OAArB,EAA8B,IAA9B,EAAoCG,SAApC,EAA+C,IAA/C,EAAqDA,SAArD;AALa;AAAA,mBAMQ,0BAAaV,KAAb,EAAoBE,QAApB,CANR;;AAAA;AAMPS,YAAAA,MANO;AAOPC,YAAAA,MAPO,GAOE,0BAAaZ,KAAb,CAPF;AAAA,6CAQNa,OAAO,CAACC,GAAR,CAAY,CAACH,MAAD,EAASC,MAAT,CAAZ,CARM;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,G","sourcesContent":["/* Main Page\n **\n ** This code is called in mashlib and renders the header and footer of the Databrowser.\n */\n\nimport { LiveStore, NamedNode } from 'rdflib'\nimport { getOutliner } from '../index'\nimport { createHeader } from './header'\nimport { createFooter } from './footer'\n\nexport default async function initMainPage (store: LiveStore, uri?: string|NamedNode|null) {\n const outliner = getOutliner(document)\n uri = uri || window.location.href\n let subject = uri\n if (typeof uri === 'string') subject = store.sym(uri)\n outliner.GotoSubject(subject, true, undefined, true, undefined)\n const header = await createHeader(store, outliner)\n const footer = createFooter(store)\n return Promise.all([header, footer])\n}\n"],"file":"index.js"}
|
|
File without changes
|
|
File without changes
|
package/lib/n3Pane.js
CHANGED
|
File without changes
|
package/lib/n3Pane.js.map
CHANGED
|
File without changes
|
package/lib/outline/context.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
package/lib/outline/context.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/lib/outline/manager.js
CHANGED
|
@@ -7,21 +7,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
});
|
|
8
8
|
exports["default"] = _default;
|
|
9
9
|
|
|
10
|
-
var UI = _interopRequireWildcard(require("solid-ui"));
|
|
11
|
-
|
|
12
|
-
var _solidLogic = require("solid-logic");
|
|
13
|
-
|
|
14
10
|
var paneRegistry = _interopRequireWildcard(require("pane-registry"));
|
|
15
11
|
|
|
16
12
|
var $rdf = _interopRequireWildcard(require("rdflib"));
|
|
17
13
|
|
|
18
|
-
var
|
|
19
|
-
|
|
20
|
-
var _outlineIcons = _interopRequireDefault(require("./outlineIcons"));
|
|
21
|
-
|
|
22
|
-
var _userInput = _interopRequireDefault(require("./userInput"));
|
|
14
|
+
var UI = _interopRequireWildcard(require("solid-ui"));
|
|
23
15
|
|
|
24
|
-
var
|
|
16
|
+
var _solidLogic = require("solid-logic");
|
|
25
17
|
|
|
26
18
|
var _propertyViews = _interopRequireDefault(require("./propertyViews"));
|
|
27
19
|
|
|
@@ -47,13 +39,20 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try
|
|
|
47
39
|
|
|
48
40
|
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
49
41
|
|
|
42
|
+
var outlineIcons = require('./outlineIcons.js');
|
|
43
|
+
|
|
44
|
+
var UserInput = require('./userInput.js');
|
|
45
|
+
|
|
46
|
+
var queryByExample = require('./queryByExample.js');
|
|
50
47
|
/* global alert XPathResult sourceWidget */
|
|
51
48
|
// XPathResult?
|
|
52
49
|
// const iconHeight = '24px'
|
|
50
|
+
|
|
51
|
+
|
|
53
52
|
function _default(context) {
|
|
54
53
|
var dom = context.dom;
|
|
55
54
|
this.document = context.dom;
|
|
56
|
-
this.outlineIcons =
|
|
55
|
+
this.outlineIcons = outlineIcons;
|
|
57
56
|
this.labeller = this.labeller || {};
|
|
58
57
|
this.labeller.LanguagePreference = ''; // for now
|
|
59
58
|
|
|
@@ -69,11 +68,11 @@ function _default(context) {
|
|
|
69
68
|
var kb = _solidLogic.store;
|
|
70
69
|
var sf = _solidLogic.store.fetcher;
|
|
71
70
|
dom.outline = this;
|
|
72
|
-
this.qs = new
|
|
71
|
+
this.qs = new queryByExample.QuerySource(); // Track queries in queryByExample
|
|
73
72
|
// var selection = [] // Array of statements which have been selected
|
|
74
73
|
// this.focusTd // the <td> that is being observed
|
|
75
74
|
|
|
76
|
-
this.UserInput = new
|
|
75
|
+
this.UserInput = new UserInput(this);
|
|
77
76
|
this.clipboardAddress = 'tabulator:clipboard'; // Weird
|
|
78
77
|
|
|
79
78
|
this.UserInput.clipboardInit(this.clipboardAddress);
|
|
@@ -108,7 +107,7 @@ function _default(context) {
|
|
|
108
107
|
|
|
109
108
|
|
|
110
109
|
function appendRemoveIcon(node, subject, removeNode) {
|
|
111
|
-
var image = UI.utils.AJARImage(
|
|
110
|
+
var image = UI.utils.AJARImage(outlineIcons.src.icon_remove_node, 'remove', undefined, dom);
|
|
112
111
|
image.addEventListener('click', removeNodeIconMouseDownListener); // image.setAttribute('align', 'right') Causes icon to be moved down
|
|
113
112
|
|
|
114
113
|
image.node = removeNode;
|
|
@@ -142,38 +141,38 @@ function _default(context) {
|
|
|
142
141
|
|
|
143
142
|
switch (state) {
|
|
144
143
|
case 'unrequested':
|
|
145
|
-
icon =
|
|
144
|
+
icon = outlineIcons.src.icon_unrequested;
|
|
146
145
|
alt = 'fetch';
|
|
147
146
|
listener = unrequestedIconMouseDownListener;
|
|
148
147
|
break;
|
|
149
148
|
|
|
150
149
|
case 'requested':
|
|
151
|
-
icon =
|
|
150
|
+
icon = outlineIcons.src.icon_requested;
|
|
152
151
|
alt = 'fetching';
|
|
153
152
|
listener = failedIconMouseDownListener; // new: can retry yello blob
|
|
154
153
|
|
|
155
154
|
break;
|
|
156
155
|
|
|
157
156
|
case 'fetched':
|
|
158
|
-
icon =
|
|
157
|
+
icon = outlineIcons.src.icon_fetched;
|
|
159
158
|
listener = fetchedIconMouseDownListener;
|
|
160
159
|
alt = 'loaded';
|
|
161
160
|
break;
|
|
162
161
|
|
|
163
162
|
case 'failed':
|
|
164
|
-
icon =
|
|
163
|
+
icon = outlineIcons.src.icon_failed;
|
|
165
164
|
alt = 'failed';
|
|
166
165
|
listener = failedIconMouseDownListener;
|
|
167
166
|
break;
|
|
168
167
|
|
|
169
168
|
case 'unpermitted':
|
|
170
|
-
icon =
|
|
169
|
+
icon = outlineIcons.src.icon_failed;
|
|
171
170
|
listener = failedIconMouseDownListener;
|
|
172
171
|
alt = 'no perm';
|
|
173
172
|
break;
|
|
174
173
|
|
|
175
174
|
case 'unfetchable':
|
|
176
|
-
icon =
|
|
175
|
+
icon = outlineIcons.src.icon_failed;
|
|
177
176
|
listener = failedIconMouseDownListener;
|
|
178
177
|
alt = 'cannot fetch';
|
|
179
178
|
break;
|
|
@@ -184,7 +183,7 @@ function _default(context) {
|
|
|
184
183
|
} // switch
|
|
185
184
|
|
|
186
185
|
|
|
187
|
-
var img = UI.utils.AJARImage(icon, alt,
|
|
186
|
+
var img = UI.utils.AJARImage(icon, alt, outlineIcons.tooltips[icon].replace(/[Tt]his resource/, docuri), dom);
|
|
188
187
|
img.setAttribute('uri', uri);
|
|
189
188
|
img.addEventListener('click', listener); // @@ seemed to be missing 2017-08
|
|
190
189
|
|
|
@@ -192,13 +191,6 @@ function _default(context) {
|
|
|
192
191
|
node.appendChild(img);
|
|
193
192
|
return img;
|
|
194
193
|
}; // appendAccessIcon
|
|
195
|
-
// Six different Creative Commons Licenses:
|
|
196
|
-
// 1. http://creativecommons.org/licenses/by-nc-nd/3.0/
|
|
197
|
-
// 2. http://creativecommons.org/licenses/by-nc-sa/3.0/
|
|
198
|
-
// 3. http://creativecommons.org/licenses/by-nc/3.0/
|
|
199
|
-
// 4. http://creativecommons.org/licenses/by-nd/3.0/
|
|
200
|
-
// 5. http://creativecommons.org/licenses/by-sa/3.0/
|
|
201
|
-
// 6. http://creativecommons.org/licenses/by/3.0/
|
|
202
194
|
|
|
203
195
|
/** make the td for an object (grammatical object)
|
|
204
196
|
* @param obj - an RDF term
|
|
@@ -250,29 +242,7 @@ function _default(context) {
|
|
|
250
242
|
|
|
251
243
|
td.tabulatorDeselect = function () {
|
|
252
244
|
setSelected(this, false);
|
|
253
|
-
};
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
if (statement) {
|
|
257
|
-
var oneStatementFormula = new UI.rdf.IndexedFormula();
|
|
258
|
-
oneStatementFormula.statements.push(statement); // st.asFormula()
|
|
259
|
-
// The following works because Formula.hashString works fine for
|
|
260
|
-
// one statement formula
|
|
261
|
-
|
|
262
|
-
var reasons = kb.each(oneStatementFormula, kb.sym('http://dig.csail.mit.edu/TAMI/2007/amord/tms#justification'));
|
|
263
|
-
|
|
264
|
-
if (reasons.length) {
|
|
265
|
-
var inquirySpan = dom.createElement('span');
|
|
266
|
-
|
|
267
|
-
if (reasons.length > 1) {
|
|
268
|
-
inquirySpan.innerHTML = ' × ' + reasons.length;
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
inquirySpan.setAttribute('class', 'inquiry');
|
|
272
|
-
inquirySpan.insertBefore(UI.utils.AJARImage(_outlineIcons["default"].src.icon_display_reasons, 'explain', undefined, dom), inquirySpan.firstChild);
|
|
273
|
-
td.appendChild(inquirySpan);
|
|
274
|
-
}
|
|
275
|
-
}
|
|
245
|
+
};
|
|
276
246
|
|
|
277
247
|
td.addEventListener('click', selectableTDClickListener);
|
|
278
248
|
return td;
|
|
@@ -310,18 +280,13 @@ function _default(context) {
|
|
|
310
280
|
labelTD.style.width = '100%';
|
|
311
281
|
predicateTD.appendChild(termWidget.construct(dom)); // termWidget is global???
|
|
312
282
|
|
|
313
|
-
for (var w in
|
|
283
|
+
for (var w in outlineIcons.termWidgets) {
|
|
314
284
|
if (!newTr || !newTr.AJAR_statement) break; // case for TBD as predicate
|
|
315
285
|
// alert(Icon.termWidgets[w]+' '+Icon.termWidgets[w].filter)
|
|
316
286
|
|
|
317
|
-
if (
|
|
318
|
-
termWidget.addIcon(predicateTD,
|
|
287
|
+
if (outlineIcons.termWidgets[w].filter && outlineIcons.termWidgets[w].filter(newTr.AJAR_statement, 'pred', inverse)) {
|
|
288
|
+
termWidget.addIcon(predicateTD, outlineIcons.termWidgets[w]);
|
|
319
289
|
}
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
try {// new YAHOO.util.DDExternalProxy(predicateTD)
|
|
323
|
-
} catch (e) {
|
|
324
|
-
UI.log.error('drag and drop not supported');
|
|
325
290
|
} // set DOM methods
|
|
326
291
|
|
|
327
292
|
|
|
@@ -1625,16 +1590,16 @@ function _default(context) {
|
|
|
1625
1590
|
|
|
1626
1591
|
if (req === fireOn) {
|
|
1627
1592
|
target.src = icon;
|
|
1628
|
-
target.title =
|
|
1593
|
+
target.title = outlineIcons.tooltips[icon];
|
|
1629
1594
|
}
|
|
1630
1595
|
|
|
1631
1596
|
return true;
|
|
1632
1597
|
};
|
|
1633
1598
|
};
|
|
1634
1599
|
|
|
1635
|
-
sf.addCallback('request', makeIconCallback(
|
|
1636
|
-
sf.addCallback('done', makeIconCallback(
|
|
1637
|
-
sf.addCallback('fail', makeIconCallback(
|
|
1600
|
+
sf.addCallback('request', makeIconCallback(outlineIcons.src.icon_requested));
|
|
1601
|
+
sf.addCallback('done', makeIconCallback(outlineIcons.src.icon_fetched));
|
|
1602
|
+
sf.addCallback('fail', makeIconCallback(outlineIcons.src.icon_failed));
|
|
1638
1603
|
} // Selection support
|
|
1639
1604
|
|
|
1640
1605
|
|
|
@@ -1649,7 +1614,7 @@ function _default(context) {
|
|
|
1649
1614
|
// outlineIcons.src.icon_opton needed?
|
|
1650
1615
|
var target = thisOutline.targetOf(e);
|
|
1651
1616
|
var p = target.parentNode;
|
|
1652
|
-
termWidget.replaceIcon(p.parentNode,
|
|
1617
|
+
termWidget.replaceIcon(p.parentNode, outlineIcons.termWidgets.optOn, outlineIcons.termWidgets.optOff, optOffIconMouseDownListener);
|
|
1653
1618
|
p.parentNode.parentNode.removeAttribute('optional');
|
|
1654
1619
|
}
|
|
1655
1620
|
|
|
@@ -1657,13 +1622,13 @@ function _default(context) {
|
|
|
1657
1622
|
// outlineIcons.src.icon_optoff needed?
|
|
1658
1623
|
var target = thisOutline.targetOf(e);
|
|
1659
1624
|
var p = target.parentNode;
|
|
1660
|
-
termWidget.replaceIcon(p.parentNode,
|
|
1625
|
+
termWidget.replaceIcon(p.parentNode, outlineIcons.termWidgets.optOff, outlineIcons.termWidgets.optOn, optOnIconMouseDownListener);
|
|
1661
1626
|
p.parentNode.parentNode.setAttribute('optional', 'true');
|
|
1662
1627
|
}
|
|
1663
1628
|
|
|
1664
1629
|
function setSelectedParent(node, inc) {
|
|
1665
|
-
var onIcon =
|
|
1666
|
-
var offIcon =
|
|
1630
|
+
var onIcon = outlineIcons.termWidgets.optOn;
|
|
1631
|
+
var offIcon = outlineIcons.termWidgets.optOff;
|
|
1667
1632
|
|
|
1668
1633
|
for (var n = node; n.parentNode; n = n.parentNode) {
|
|
1669
1634
|
while (true) {
|
|
@@ -1779,7 +1744,7 @@ function _default(context) {
|
|
|
1779
1744
|
|
|
1780
1745
|
|
|
1781
1746
|
if (editable && cla.indexOf('pred') >= 0) {
|
|
1782
|
-
termWidget.addIcon(node,
|
|
1747
|
+
termWidget.addIcon(node, outlineIcons.termWidgets.addTri);
|
|
1783
1748
|
} // Add blue plus
|
|
1784
1749
|
|
|
1785
1750
|
}
|
|
@@ -1794,7 +1759,7 @@ function _default(context) {
|
|
|
1794
1759
|
}
|
|
1795
1760
|
|
|
1796
1761
|
if (cla.indexOf('pred') >= 0) {
|
|
1797
|
-
termWidget.removeIcon(node,
|
|
1762
|
+
termWidget.removeIcon(node, outlineIcons.termWidgets.addTri);
|
|
1798
1763
|
}
|
|
1799
1764
|
|
|
1800
1765
|
selection = selection.filter(function (x) {
|
|
@@ -2330,11 +2295,11 @@ function _default(context) {
|
|
|
2330
2295
|
// have to put this here or this conflicts with deselectAll()
|
|
2331
2296
|
|
|
2332
2297
|
|
|
2333
|
-
if (!target.src || target.src.slice(target.src.indexOf('/icons/') + 1) !==
|
|
2298
|
+
if (!target.src || target.src.slice(target.src.indexOf('/icons/') + 1) !== outlineIcons.src.icon_show_choices && target.src.slice(target.src.indexOf('/icons/') + 1) !== outlineIcons.src.icon_add_triple) {
|
|
2334
2299
|
thisOutline.UserInput.clearInputAndSave(e);
|
|
2335
2300
|
}
|
|
2336
2301
|
|
|
2337
|
-
if (!target.src || target.src.slice(target.src.indexOf('/icons/') + 1) !==
|
|
2302
|
+
if (!target.src || target.src.slice(target.src.indexOf('/icons/') + 1) !== outlineIcons.src.icon_show_choices) {
|
|
2338
2303
|
thisOutline.UserInput.clearMenu();
|
|
2339
2304
|
}
|
|
2340
2305
|
|
|
@@ -2392,14 +2357,6 @@ function _default(context) {
|
|
|
2392
2357
|
newTable.style.backgroundColor = 'white';
|
|
2393
2358
|
}
|
|
2394
2359
|
|
|
2395
|
-
try {
|
|
2396
|
-
if (_dragDrop["default"].util.Event.off) {
|
|
2397
|
-
_dragDrop["default"].util.Event.off(p, 'mousedown', 'dragMouseDown');
|
|
2398
|
-
}
|
|
2399
|
-
} catch (e) {
|
|
2400
|
-
console.log('YAHOO ' + e);
|
|
2401
|
-
}
|
|
2402
|
-
|
|
2403
2360
|
UI.utils.emptyNode(p).appendChild(newTable);
|
|
2404
2361
|
thisOutline.focusTd = p; // I don't know why I couldn't use 'this'...because not defined in callbacks
|
|
2405
2362
|
|
|
@@ -2722,7 +2679,7 @@ function _default(context) {
|
|
|
2722
2679
|
var anchor = dom.createElement('a');
|
|
2723
2680
|
rep.appendChild(dom.createTextNode(num));
|
|
2724
2681
|
anchor.setAttribute('href', obj.uri);
|
|
2725
|
-
anchor.appendChild(UI.utils.AJARImage(
|
|
2682
|
+
anchor.appendChild(UI.utils.AJARImage(outlineIcons.src.icon_telephone, 'phone', 'phone ' + num, dom));
|
|
2726
2683
|
rep.appendChild(anchor);
|
|
2727
2684
|
anchor.firstChild.setAttribute('class', 'phoneIcon');
|
|
2728
2685
|
} else {
|