solid-panes 3.7.3-18da570b → 3.7.3-322e9b27
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/Documentation/VisualLanguage.html +538 -0
- package/Documentation/conventions.md +333 -0
- package/coverage/clover.xml +152 -0
- package/coverage/coverage-final.json +6 -0
- package/coverage/lcov-report/base.css +224 -0
- package/coverage/lcov-report/block-navigation.js +87 -0
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/index.html +131 -0
- package/coverage/lcov-report/outline/index.html +161 -0
- package/coverage/lcov-report/outline/outlineIcons.js.html +565 -0
- package/coverage/lcov-report/outline/propertyViews.ts.html +196 -0
- package/coverage/lcov-report/outline/viewAsImage.ts.html +121 -0
- package/coverage/lcov-report/outline/viewAsMbox.ts.html +127 -0
- package/coverage/lcov-report/prettify.css +1 -0
- package/coverage/lcov-report/prettify.js +2 -0
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +210 -0
- package/coverage/lcov-report/trustedApplications/index.html +116 -0
- package/coverage/lcov-report/trustedApplications/trustedApplications.utils.ts.html +238 -0
- package/coverage/lcov.info +204 -0
- package/dev/index.html +28 -0
- package/dev/loader.ts +91 -0
- package/dev/pane/index.ts +10 -0
- package/doc/images/panes-for-classes.epgz +0 -0
- package/doc/images/panes-for-classes.svg +609 -0
- package/eslint.config.mjs +34 -0
- package/jest.config.js +27 -0
- package/jest.setup.ts +4 -0
- package/lib/RDFXMLPane.js +59 -0
- package/lib/RDFXMLPane.js.map +1 -0
- package/{dist → lib}/argument/argumentPane.js +15 -14
- package/lib/argument/argumentPane.js.map +1 -0
- package/{dist → lib}/attach/attachPane.js +93 -83
- package/lib/attach/attachPane.js.map +1 -0
- package/{dist → lib}/audio/audioPane.js +50 -49
- package/lib/audio/audioPane.js.map +1 -0
- package/{dist → lib}/classInstancePane.js +24 -23
- package/lib/classInstancePane.js.map +1 -0
- package/lib/dashboard/basicPreferences.js +229 -0
- package/lib/dashboard/basicPreferences.js.map +1 -0
- package/{dist → lib}/dashboard/dashboardPane.js +21 -17
- package/lib/dashboard/dashboardPane.js.map +1 -0
- package/lib/dashboard/homepage.js +86 -0
- package/lib/dashboard/homepage.js.map +1 -0
- package/{dist → lib}/dataContentPane.js +63 -63
- package/lib/dataContentPane.js.map +1 -0
- package/{dist → lib}/defaultPane.js +15 -14
- package/lib/defaultPane.js.map +1 -0
- package/{dist → lib}/dokieli/dokieliPane.js +53 -49
- package/lib/dokieli/dokieliPane.js.map +1 -0
- package/lib/dokieli/new.js +9 -0
- package/lib/dokieli/new.js.map +1 -0
- package/{dist → lib}/form/pane.js +45 -44
- package/lib/form/pane.js.map +1 -0
- package/lib/home/homePane.js +91 -0
- package/lib/home/homePane.js.map +1 -0
- package/lib/humanReadablePane.js +138 -0
- package/lib/humanReadablePane.js.map +1 -0
- package/lib/imagePane.js +71 -0
- package/lib/imagePane.js.map +1 -0
- package/{dist → lib}/index.js +20 -17
- package/lib/index.js.map +1 -0
- package/{dist → lib}/internal/internalPane.js +41 -41
- package/lib/internal/internalPane.js.map +1 -0
- package/{dist → lib}/mainPage/footer.js +2 -2
- package/{dist → lib}/mainPage/footer.js.map +1 -1
- package/lib/mainPage/header.js +152 -0
- package/lib/mainPage/header.js.map +1 -0
- package/{dist → lib}/mainPage/index.d.ts.map +1 -1
- package/lib/mainPage/index.js +42 -0
- package/lib/mainPage/index.js.map +1 -0
- package/{dist → lib}/microblogPane/microblogPane.js +262 -261
- package/lib/microblogPane/microblogPane.js.map +1 -0
- package/lib/n3Pane.js +57 -0
- package/lib/n3Pane.js.map +1 -0
- package/{dist → lib}/outline/context.js +4 -4
- package/{dist → lib}/outline/context.js.map +1 -1
- package/lib/outline/manager.js +2264 -0
- package/lib/outline/manager.js.map +1 -0
- package/lib/outline/manager.test.d.ts +2 -0
- package/lib/outline/manager.test.d.ts.map +1 -0
- package/lib/outline/manager.test.js +210 -0
- package/lib/outline/manager.test.js.map +1 -0
- package/{dist → lib}/outline/outlineIcons.js +3 -2
- package/lib/outline/outlineIcons.js.map +1 -0
- package/{dist → lib}/outline/propertyViews.js +4 -4
- package/lib/outline/propertyViews.js.map +1 -0
- package/lib/outline/propertyViews.test.d.ts +2 -0
- package/lib/outline/propertyViews.test.d.ts.map +1 -0
- package/lib/outline/propertyViews.test.js +27 -0
- package/lib/outline/propertyViews.test.js.map +1 -0
- package/{dist → lib}/outline/queryByExample.js +31 -30
- package/lib/outline/queryByExample.js.map +1 -0
- package/{dist → lib}/outline/userInput.js +260 -262
- package/lib/outline/userInput.js.map +1 -0
- package/lib/outline/viewAsImage.js +17 -0
- package/lib/outline/viewAsImage.js.map +1 -0
- package/lib/outline/viewAsMbox.js +23 -0
- package/lib/outline/viewAsMbox.js.map +1 -0
- package/{dist → lib}/pad/padPane.js +96 -90
- package/lib/pad/padPane.js.map +1 -0
- package/{dist → lib}/playlist/playlistPane.js +37 -36
- package/lib/playlist/playlistPane.js.map +1 -0
- package/{dist → lib}/registerPanes.js +29 -29
- package/lib/registerPanes.js.map +1 -0
- package/lib/schedule/formsForSchedule.js +8 -0
- package/lib/schedule/formsForSchedule.js.map +1 -0
- package/{dist → lib}/schedule/schedulePane.js +178 -171
- package/lib/schedule/schedulePane.js.map +1 -0
- package/{dist → lib}/sharing/sharingPane.js +12 -12
- package/lib/sharing/sharingPane.js.map +1 -0
- package/lib/slideshow/slideshowPane.js +84 -0
- package/lib/slideshow/slideshowPane.js.map +1 -0
- package/{dist → lib}/socialPane.js +142 -141
- package/lib/socialPane.js.map +1 -0
- package/lib/tabbed/tabbedPane.js +72 -0
- package/lib/tabbed/tabbedPane.js.map +1 -0
- package/{dist → lib}/tableViewPane.js +9 -8
- package/lib/tableViewPane.js.map +1 -0
- package/lib/test-import-export/common.js +12 -0
- package/lib/test-import-export/common.js.map +1 -0
- package/lib/test-import-export/edit-importer.js +25 -0
- package/lib/test-import-export/edit-importer.js.map +1 -0
- package/lib/test-import-export/testImportExport.js +2 -0
- package/lib/test-import-export/testImportExport.js.map +1 -0
- package/{dist → lib}/transaction/pane.js +118 -117
- package/lib/transaction/pane.js.map +1 -0
- package/{dist → lib}/transaction/period.js +83 -82
- package/lib/transaction/period.js.map +1 -0
- package/{dist → lib}/trip/tripPane.js +48 -47
- package/lib/trip/tripPane.js.map +1 -0
- package/lib/trustedApplications/trustedApplications.dom.js +177 -0
- package/lib/trustedApplications/trustedApplications.dom.js.map +1 -0
- package/lib/trustedApplications/trustedApplications.test.d.ts +2 -0
- package/lib/trustedApplications/trustedApplications.test.d.ts.map +1 -0
- package/lib/trustedApplications/trustedApplications.test.js +64 -0
- package/lib/trustedApplications/trustedApplications.test.js.map +1 -0
- package/lib/trustedApplications/trustedApplications.utils.js +34 -0
- package/lib/trustedApplications/trustedApplications.utils.js.map +1 -0
- package/lib/trustedApplications/trustedApplications.view.js +87 -0
- package/lib/trustedApplications/trustedApplications.view.js.map +1 -0
- package/lib/types.js.map +1 -0
- package/{dist → lib}/ui/pane.js +31 -30
- package/lib/ui/pane.js.map +1 -0
- package/lib/versionInfo.d.ts +32 -0
- package/lib/versionInfo.d.ts.map +1 -0
- package/lib/versionInfo.js +37 -0
- package/lib/versionInfo.js.map +1 -0
- package/lib/video/videoPane.js +44 -0
- package/lib/video/videoPane.js.map +1 -0
- package/package.json +14 -27
- package/src/RDFXMLPane.js +60 -0
- package/src/argument/argumentPane.js +65 -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 +508 -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 +197 -0
- package/src/chatPreferencesForm.ttl +12 -0
- package/src/classInstancePane.js +110 -0
- package/src/dashboard/basicPreferences.ts +201 -0
- package/src/dashboard/dashboardPane.ts +83 -0
- package/src/dashboard/homepage.ts +72 -0
- package/src/dashboard/languages/codes.html +8611 -0
- package/src/dashboard/languages/codes.xml +3563 -0
- package/src/dashboard/languages/codes2.txt +170 -0
- package/src/dashboard/languages/foo +70 -0
- package/src/dashboard/languages/foo.ttl +0 -0
- package/src/dashboard/languages/get-language-names.sh +12 -0
- package/src/dashboard/ontologyData.ttl +35 -0
- package/src/dashboard/preferencesFormText.ttl +18 -0
- package/src/dataContentPane.js +290 -0
- package/src/defaultPane.js +102 -0
- package/src/dokieli/Makefile +6 -0
- package/src/dokieli/dokieliPane.js +190 -0
- package/src/dokieli/new.html +30 -0
- package/{dist → src}/dokieli/new.js +3 -9
- 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 +217 -0
- package/src/form/psuedocode-notes.txt +57 -0
- package/src/global.d.ts +4 -0
- package/src/home/homePane.ts +72 -0
- package/src/humanReadablePane.js +150 -0
- package/src/imagePane.js +75 -0
- package/src/index.ts +71 -0
- package/src/internal/internalPane.ts +263 -0
- package/src/mainPage/footer.ts +19 -0
- package/src/mainPage/header.ts +79 -0
- package/src/mainPage/index.ts +20 -0
- package/src/meeting/Makefile +3 -0
- package/src/meeting/test/meeting1/Actions/actions.ttl +14 -0
- package/src/meeting/test/meeting1/Actions/config.ttl +16 -0
- package/src/meeting/test/meeting1/Actions/state.ttl +30 -0
- package/src/meeting/test/meeting1/Schedule/details.ttl +34 -0
- package/src/meeting/test/meeting1/Schedule/details.ttl.acl +20 -0
- package/src/meeting/test/meeting1/Schedule/forms.ttl +75 -0
- package/src/meeting/test/meeting1/Schedule/forms.ttl.acl +20 -0
- package/src/meeting/test/meeting1/Schedule/index.html +72 -0
- package/src/meeting/test/meeting1/Schedule/index.html.acl +20 -0
- package/src/meeting/test/meeting1/Schedule/results.ttl +15 -0
- package/src/meeting/test/meeting1/Schedule/results.ttl.acl +20 -0
- package/src/meeting/test/meeting1/SharedNotes/pad.ttl +23 -0
- package/src/meeting/test/meeting1/chat/chat.ttl +1 -0
- package/src/meeting/test/meeting1/details.ttl +35 -0
- package/src/meeting/test/meeting1/pad/pad.ttl +16 -0
- package/src/microblogPane/mbStyle.css +267 -0
- package/src/microblogPane/microblogPane.js +1412 -0
- package/src/n3Pane.js +56 -0
- package/src/outline/context.ts +21 -0
- package/src/outline/manager.js +2384 -0
- package/src/outline/manager.test.ts +189 -0
- package/src/outline/outlineIcons.js +160 -0
- package/src/outline/propertyViews.test.ts +36 -0
- package/src/outline/propertyViews.ts +37 -0
- package/src/outline/queryByExample.js +296 -0
- package/src/outline/userInput.js +2373 -0
- package/src/outline/viewAsImage.ts +12 -0
- package/src/outline/viewAsMbox.ts +14 -0
- package/src/pad/images/ColourOff.ai +873 -1
- package/src/pad/images/ColourOff.png +0 -0
- package/src/pad/images/ColourOn.ai +934 -2
- package/src/pad/images/ColourOn.png +0 -0
- package/src/pad/padPane.ts +559 -0
- package/src/playlist/playlistPane.js +161 -0
- package/src/registerPanes.js +147 -0
- package/src/schedule/Makefile +6 -0
- package/src/schedule/formsForSchedule.js +117 -0
- package/src/schedule/formsForSchedule.ttl +115 -0
- package/src/schedule/schedulePane.js +1201 -0
- package/src/sharing/sharingPane.ts +49 -0
- package/src/slideshow/slideshowPane.js +80 -0
- package/src/socialPane.js +523 -0
- package/src/style/tabbedtab.css +1347 -0
- package/src/tabbed/tabbedPane.ts +60 -0
- package/src/tableViewPane.js +51 -0
- package/src/test-import-export/common.js +6 -0
- package/src/test-import-export/edit-importer.js +20 -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 +629 -0
- package/src/transaction/period.js +374 -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 +176 -0
- package/src/trustedApplications/__snapshots__/trustedApplications.test.ts.snap +176 -0
- package/src/trustedApplications/trustedApplications.dom.ts +276 -0
- package/src/trustedApplications/trustedApplications.test.ts +82 -0
- package/src/trustedApplications/trustedApplications.utils.ts +51 -0
- package/src/trustedApplications/trustedApplications.view.ts +80 -0
- package/src/types.ts +34 -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 +226 -0
- package/src/versionInfo.ts +30 -0
- package/src/video/videoPane.js +44 -0
- package/timestamp.sh +13 -0
- package/travis/bumpversion.js +29 -0
- package/tsconfig.json +78 -0
- package/typings/raw-loader.d.ts +4 -0
- package/typings/solid-namespace/index.d.ts +9 -0
- package/webpack.config.js +41 -0
- package/dist/RDFXMLPane.js +0 -58
- package/dist/RDFXMLPane.js.map +0 -1
- package/dist/argument/argumentPane.js.map +0 -1
- package/dist/attach/attachPane.js.map +0 -1
- package/dist/audio/audioPane.js.map +0 -1
- package/dist/classInstancePane.js.map +0 -1
- package/dist/dashboard/basicPreferences.js +0 -147
- package/dist/dashboard/basicPreferences.js.map +0 -1
- package/dist/dashboard/dashboardPane.js.map +0 -1
- package/dist/dashboard/homepage.js +0 -54
- package/dist/dashboard/homepage.js.map +0 -1
- package/dist/dataContentPane.js.map +0 -1
- package/dist/defaultPane.js.map +0 -1
- package/dist/dokieli/dokieliPane.js.map +0 -1
- package/dist/dokieli/new.js.map +0 -1
- package/dist/form/pane.js.map +0 -1
- package/dist/home/homePane.js +0 -73
- package/dist/home/homePane.js.map +0 -1
- package/dist/humanReadablePane.js +0 -135
- package/dist/humanReadablePane.js.map +0 -1
- package/dist/imagePane.js +0 -70
- package/dist/imagePane.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/internal/internalPane.js.map +0 -1
- package/dist/mainPage/header.js +0 -85
- package/dist/mainPage/header.js.map +0 -1
- package/dist/mainPage/index.js +0 -25
- package/dist/mainPage/index.js.map +0 -1
- package/dist/microblogPane/microblogPane.js.map +0 -1
- package/dist/n3Pane.js +0 -56
- package/dist/n3Pane.js.map +0 -1
- package/dist/outline/manager.js +0 -1997
- package/dist/outline/manager.js.map +0 -1
- package/dist/outline/outlineIcons.js.map +0 -1
- package/dist/outline/propertyViews.js.map +0 -1
- package/dist/outline/queryByExample.js.map +0 -1
- package/dist/outline/userInput.js.map +0 -1
- package/dist/outline/viewAsImage.js +0 -15
- package/dist/outline/viewAsImage.js.map +0 -1
- package/dist/outline/viewAsMbox.js +0 -22
- package/dist/outline/viewAsMbox.js.map +0 -1
- package/dist/pad/padPane.js.map +0 -1
- package/dist/playlist/playlistPane.js.map +0 -1
- package/dist/registerPanes.js.map +0 -1
- package/dist/schedule/schedulePane.js.map +0 -1
- package/dist/sharing/sharingPane.js.map +0 -1
- package/dist/slideshow/slideshowPane.js +0 -80
- package/dist/slideshow/slideshowPane.js.map +0 -1
- package/dist/socialPane.js.map +0 -1
- package/dist/tabbed/tabbedPane.js +0 -58
- package/dist/tabbed/tabbedPane.js.map +0 -1
- package/dist/tableViewPane.js.map +0 -1
- package/dist/transaction/pane.js.map +0 -1
- package/dist/transaction/period.js.map +0 -1
- package/dist/trip/tripPane.js.map +0 -1
- package/dist/trustedApplications/trustedApplications.dom.js +0 -146
- package/dist/trustedApplications/trustedApplications.dom.js.map +0 -1
- package/dist/trustedApplications/trustedApplications.utils.js +0 -24
- package/dist/trustedApplications/trustedApplications.utils.js.map +0 -1
- package/dist/trustedApplications/trustedApplications.view.js +0 -56
- package/dist/trustedApplications/trustedApplications.view.js.map +0 -1
- package/dist/types.js.map +0 -1
- package/dist/ui/pane.js.map +0 -1
- package/dist/versionInfo.js +0 -37
- package/dist/versionInfo.js.map +0 -1
- package/dist/video/videoPane.js +0 -43
- package/dist/video/videoPane.js.map +0 -1
- /package/{dist → lib}/dashboard/basicPreferences.d.ts +0 -0
- /package/{dist → lib}/dashboard/basicPreferences.d.ts.map +0 -0
- /package/{dist → lib}/dashboard/dashboardPane.d.ts +0 -0
- /package/{dist → lib}/dashboard/dashboardPane.d.ts.map +0 -0
- /package/{dist → lib}/dashboard/homepage.d.ts +0 -0
- /package/{dist → lib}/dashboard/homepage.d.ts.map +0 -0
- /package/{dist → lib}/global.d.js +0 -0
- /package/{dist → lib}/global.d.js.map +0 -0
- /package/{dist → lib}/home/homePane.d.ts +0 -0
- /package/{dist → lib}/home/homePane.d.ts.map +0 -0
- /package/{dist → lib}/index.d.ts +0 -0
- /package/{dist → lib}/index.d.ts.map +0 -0
- /package/{dist → lib}/internal/internalPane.d.ts +0 -0
- /package/{dist → lib}/internal/internalPane.d.ts.map +0 -0
- /package/{dist → lib}/mainPage/footer.d.ts +0 -0
- /package/{dist → lib}/mainPage/footer.d.ts.map +0 -0
- /package/{dist → lib}/mainPage/header.d.ts +0 -0
- /package/{dist → lib}/mainPage/header.d.ts.map +0 -0
- /package/{dist → lib}/mainPage/index.d.ts +0 -0
- /package/{dist → lib}/outline/context.d.ts +0 -0
- /package/{dist → lib}/outline/context.d.ts.map +0 -0
- /package/{dist → lib}/outline/propertyViews.d.ts +0 -0
- /package/{dist → lib}/outline/propertyViews.d.ts.map +0 -0
- /package/{dist → lib}/outline/viewAsImage.d.ts +0 -0
- /package/{dist → lib}/outline/viewAsImage.d.ts.map +0 -0
- /package/{dist → lib}/outline/viewAsMbox.d.ts +0 -0
- /package/{dist → lib}/outline/viewAsMbox.d.ts.map +0 -0
- /package/{dist → lib}/pad/padPane.d.ts +0 -0
- /package/{dist → lib}/pad/padPane.d.ts.map +0 -0
- /package/{dist → lib}/sharing/sharingPane.d.ts +0 -0
- /package/{dist → lib}/sharing/sharingPane.d.ts.map +0 -0
- /package/{dist → lib}/tabbed/tabbedPane.d.ts +0 -0
- /package/{dist → lib}/tabbed/tabbedPane.d.ts.map +0 -0
- /package/{dist → lib}/trustedApplications/trustedApplications.dom.d.ts +0 -0
- /package/{dist → lib}/trustedApplications/trustedApplications.dom.d.ts.map +0 -0
- /package/{dist → lib}/trustedApplications/trustedApplications.utils.d.ts +0 -0
- /package/{dist → lib}/trustedApplications/trustedApplications.utils.d.ts.map +0 -0
- /package/{dist → lib}/trustedApplications/trustedApplications.view.d.ts +0 -0
- /package/{dist → lib}/trustedApplications/trustedApplications.view.d.ts.map +0 -0
- /package/{dist → lib}/types.d.ts +0 -0
- /package/{dist → lib}/types.d.ts.map +0 -0
- /package/{dist → lib}/types.js +0 -0
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
/* Playlist Pane
|
|
2
|
+
**
|
|
3
|
+
** This pane allows playlists and playlists slots to be viewed
|
|
4
|
+
** seeAlso: http://smiy.sourceforge.net/pbo/spec/playbackontology.html
|
|
5
|
+
*/
|
|
6
|
+
import * as UI from 'solid-ui'
|
|
7
|
+
import * as $rdf from 'rdflib'
|
|
8
|
+
const ns = UI.ns
|
|
9
|
+
|
|
10
|
+
export default {
|
|
11
|
+
icon: UI.icons.iconBase + 'noun_1619.svg',
|
|
12
|
+
|
|
13
|
+
name: 'playlistSlot',
|
|
14
|
+
|
|
15
|
+
audience: [ns.solid('PowerUser')],
|
|
16
|
+
|
|
17
|
+
label: function (subject, context) {
|
|
18
|
+
const kb = context.session.store
|
|
19
|
+
|
|
20
|
+
if (
|
|
21
|
+
!kb.anyStatementMatching(
|
|
22
|
+
subject,
|
|
23
|
+
UI.ns.rdf('type'),
|
|
24
|
+
kb.sym('http://purl.org/ontology/pbo/core#PlaylistSlot')
|
|
25
|
+
)
|
|
26
|
+
) {
|
|
27
|
+
return null
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
return 'playlist slot'
|
|
31
|
+
},
|
|
32
|
+
|
|
33
|
+
render: function (subject, context) {
|
|
34
|
+
const myDocument = context.dom
|
|
35
|
+
function isVideo (src, _index) {
|
|
36
|
+
if (!src) {
|
|
37
|
+
return {
|
|
38
|
+
html5: true
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
const youtube = src.match(
|
|
43
|
+
/\/\/(?:www\.)?youtu(?:\.be|be\.com)\/(?:watch\?v=|embed\/)?([a-z0-9\-_%]+)/i
|
|
44
|
+
)
|
|
45
|
+
const vimeo = src.match(/\/\/(?:www\.)?vimeo.com\/([0-9a-z\-_]+)/i)
|
|
46
|
+
const dailymotion = src.match(/\/\/(?:www\.)?dai.ly\/([0-9a-z\-_]+)/i)
|
|
47
|
+
const vk = src.match(
|
|
48
|
+
/\/\/(?:www\.)?(?:vk\.com|vkontakte\.ru)\/(?:video_ext\.php\?)(.*)/i
|
|
49
|
+
)
|
|
50
|
+
|
|
51
|
+
if (youtube) {
|
|
52
|
+
return {
|
|
53
|
+
youtube: youtube
|
|
54
|
+
}
|
|
55
|
+
} else if (vimeo) {
|
|
56
|
+
return {
|
|
57
|
+
vimeo: vimeo
|
|
58
|
+
}
|
|
59
|
+
} else if (dailymotion) {
|
|
60
|
+
return {
|
|
61
|
+
dailymotion: dailymotion
|
|
62
|
+
}
|
|
63
|
+
} else if (vk) {
|
|
64
|
+
return {
|
|
65
|
+
vk: vk
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
const link = function (contents, uri) {
|
|
71
|
+
if (!uri) return contents
|
|
72
|
+
const a = myDocument.createElement('a')
|
|
73
|
+
a.setAttribute('href', uri)
|
|
74
|
+
a.appendChild(contents)
|
|
75
|
+
a.addEventListener('click', UI.widgets.openHrefInOutlineMode, true)
|
|
76
|
+
return a
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
const text = function (str) {
|
|
80
|
+
return myDocument.createTextNode(str)
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
const kb = context.session.store
|
|
84
|
+
const obj = kb.any(
|
|
85
|
+
subject,
|
|
86
|
+
$rdf.sym('http://purl.org/ontology/pbo/core#playlist_item')
|
|
87
|
+
)
|
|
88
|
+
let index = kb.any(
|
|
89
|
+
subject,
|
|
90
|
+
$rdf.sym('http://purl.org/ontology/olo/core#index')
|
|
91
|
+
)
|
|
92
|
+
|
|
93
|
+
let uri = obj.uri
|
|
94
|
+
const video = isVideo(uri)
|
|
95
|
+
|
|
96
|
+
const div = myDocument.createElement('div')
|
|
97
|
+
let img
|
|
98
|
+
if (video && video.youtube) {
|
|
99
|
+
uri = uri.replace('watch?v=', 'embed/')
|
|
100
|
+
div.setAttribute('class', 'imageView')
|
|
101
|
+
img = myDocument.createElement('IFRAME')
|
|
102
|
+
img.setAttribute('src', uri)
|
|
103
|
+
img.setAttribute('width', 560)
|
|
104
|
+
img.setAttribute('height', 315)
|
|
105
|
+
img.setAttribute('frameborder', 0)
|
|
106
|
+
img.setAttribute('style', 'max-width: 850px; max-height: 100%;')
|
|
107
|
+
img.setAttribute('allowfullscreen', 'true')
|
|
108
|
+
} else {
|
|
109
|
+
div.setAttribute('class', 'imageView')
|
|
110
|
+
img = myDocument.createElement('IMG')
|
|
111
|
+
img.setAttribute('src', obj.value)
|
|
112
|
+
img.setAttribute('width', 560)
|
|
113
|
+
img.setAttribute('height', 315)
|
|
114
|
+
img.setAttribute('style', 'max-width: 560; max-height: 315;')
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
let descDiv
|
|
118
|
+
if (index) {
|
|
119
|
+
const sl = kb.statementsMatching(
|
|
120
|
+
null,
|
|
121
|
+
$rdf.sym('http://purl.org/ontology/olo/core#index')
|
|
122
|
+
)
|
|
123
|
+
const slots = []
|
|
124
|
+
for (let i = 0; i < sl.length; i++) {
|
|
125
|
+
if (sl[i]) {
|
|
126
|
+
slots.push(parseInt(sl[i].object.value, 10))
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
index = parseInt(index.value, 10)
|
|
131
|
+
descDiv = myDocument.createElement('div')
|
|
132
|
+
|
|
133
|
+
const pIndex =
|
|
134
|
+
slots[(slots.indexOf(index) - 1 + slots.length) % slots.length]
|
|
135
|
+
const nIndex =
|
|
136
|
+
slots[(slots.indexOf(index) + 1 + slots.length) % slots.length]
|
|
137
|
+
|
|
138
|
+
const prev = link(text('<<'), subject.uri.split('#')[0] + '#' + pIndex)
|
|
139
|
+
|
|
140
|
+
descDiv.appendChild(prev)
|
|
141
|
+
|
|
142
|
+
const indexDiv = myDocument.createElement('span')
|
|
143
|
+
indexDiv.innerHTML = ' Playlist slot : ' + index + ' '
|
|
144
|
+
|
|
145
|
+
descDiv.appendChild(indexDiv)
|
|
146
|
+
|
|
147
|
+
const next = link(text('>>'), subject.uri.split('#')[0] + '#' + nIndex)
|
|
148
|
+
descDiv.appendChild(next)
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
const tr = myDocument.createElement('TR') // why need tr?
|
|
152
|
+
tr.appendChild(img)
|
|
153
|
+
if (descDiv) {
|
|
154
|
+
tr.appendChild(descDiv)
|
|
155
|
+
}
|
|
156
|
+
div.appendChild(tr)
|
|
157
|
+
return div
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
// ends
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import profilePane from 'profile-pane'
|
|
2
|
+
// import editProfileView from './profile/editProfile.view'
|
|
3
|
+
import trustedApplications from './trustedApplications/trustedApplications.view'
|
|
4
|
+
import dashboardPane from './dashboard/dashboardPane'
|
|
5
|
+
import basicPreferences from './dashboard/basicPreferences'
|
|
6
|
+
import issuePane from 'issue-pane'
|
|
7
|
+
import contactsPane from 'contacts-pane'
|
|
8
|
+
import activityStreamsPane from 'activitystreams-pane'
|
|
9
|
+
import padPane from './pad/padPane'
|
|
10
|
+
// import argumentPane from './argument/argumentPane.js'
|
|
11
|
+
import transactionPane from './transaction/pane.js'
|
|
12
|
+
import financialPeriodPane from './transaction/period.js'
|
|
13
|
+
import meetingPane from 'meeting-pane'
|
|
14
|
+
import tabbedPane from './tabbed/tabbedPane'
|
|
15
|
+
import { longChatPane, shortChatPane } from 'chat-pane'
|
|
16
|
+
import { schedulePane } from './schedule/schedulePane.js'
|
|
17
|
+
// import publicationPane from './publication/publicationPane.js'
|
|
18
|
+
import tripPane from './trip/tripPane.js'
|
|
19
|
+
import { imagePane } from './imagePane.js'
|
|
20
|
+
import playListPane from './playlist/playlistPane.js'
|
|
21
|
+
import videoPane from './video/videoPane.js'
|
|
22
|
+
import audioPane from './audio/audioPane.js'
|
|
23
|
+
import dokieliPane from './dokieli/dokieliPane.js'
|
|
24
|
+
import folderPane from 'folder-pane'
|
|
25
|
+
import { classInstancePane } from './classInstancePane.js'
|
|
26
|
+
import { slideshowPane } from './slideshow/slideshowPane.js'
|
|
27
|
+
import { socialPane } from './socialPane.js'
|
|
28
|
+
import humanReadablePane from './humanReadablePane.js'
|
|
29
|
+
|
|
30
|
+
import { dataContentPane } from './dataContentPane.js'
|
|
31
|
+
import sourcePane from 'source-pane'
|
|
32
|
+
import { n3Pane } from './n3Pane.js'
|
|
33
|
+
import { RDFXMLPane } from './RDFXMLPane.js'
|
|
34
|
+
import { formPane } from './form/pane.js'
|
|
35
|
+
import { tableViewPane } from './tableViewPane.js'
|
|
36
|
+
import { defaultPane } from './defaultPane.js'
|
|
37
|
+
import uiPane from './ui/pane.js'
|
|
38
|
+
|
|
39
|
+
import sharingPane from './sharing/sharingPane'
|
|
40
|
+
import internalPane from './internal/internalPane'
|
|
41
|
+
|
|
42
|
+
import homePane from './home/homePane'
|
|
43
|
+
|
|
44
|
+
export function registerPanes (register) {
|
|
45
|
+
/* Note that the earliest panes have priority. So the most specific ones are first.
|
|
46
|
+
**
|
|
47
|
+
*/
|
|
48
|
+
// Developer designed:
|
|
49
|
+
|
|
50
|
+
register(profilePane) // View someone's public profile - dominates all other panes.
|
|
51
|
+
const editProfileView = profilePane.editor ;
|
|
52
|
+
if (!editProfileView) {
|
|
53
|
+
console.log("@@@ editProfileView", "profilePane is not providing an editor pane")
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
register(editProfileView) // Edit my profile.
|
|
57
|
+
|
|
58
|
+
register(trustedApplications) // must be registered before basicPreferences
|
|
59
|
+
register(dashboardPane)
|
|
60
|
+
register(basicPreferences)
|
|
61
|
+
register(issuePane)
|
|
62
|
+
register(contactsPane)
|
|
63
|
+
register(activityStreamsPane)
|
|
64
|
+
|
|
65
|
+
register(padPane)
|
|
66
|
+
// register(argumentPane) // A position in an argument tree
|
|
67
|
+
|
|
68
|
+
register(transactionPane)
|
|
69
|
+
register(financialPeriodPane)
|
|
70
|
+
|
|
71
|
+
register(meetingPane)
|
|
72
|
+
register(tabbedPane)
|
|
73
|
+
|
|
74
|
+
register(longChatPane) // Long pane must have prio in case short pane tries to do a long pane
|
|
75
|
+
register(shortChatPane) // was './chat/chatPane.js'
|
|
76
|
+
|
|
77
|
+
// register(publicationPane) // Suppress for now
|
|
78
|
+
|
|
79
|
+
register(schedulePane) // doodle poll
|
|
80
|
+
|
|
81
|
+
register(tripPane)
|
|
82
|
+
// register(require('./airPane.js'))
|
|
83
|
+
|
|
84
|
+
// Content views
|
|
85
|
+
|
|
86
|
+
register(imagePane) // Basic image view
|
|
87
|
+
register(playListPane) // Basic playlist view
|
|
88
|
+
|
|
89
|
+
register(videoPane) // Video clip player
|
|
90
|
+
register(audioPane) // Audio clip player
|
|
91
|
+
|
|
92
|
+
register(dokieliPane) // Should be above dataContentPane
|
|
93
|
+
register(folderPane) // Should be above dataContentPane
|
|
94
|
+
register(classInstancePane) // Should be above dataContentPane
|
|
95
|
+
// register(require('./dynamic/dynamicPanes.js')) // warp etc warp broken 2017/8
|
|
96
|
+
register(slideshowPane)
|
|
97
|
+
|
|
98
|
+
register(socialPane)
|
|
99
|
+
|
|
100
|
+
register(humanReadablePane) // A web page as a web page -- how to escape to tabr?
|
|
101
|
+
// register(require('markdown-pane').Pane) // replaced by markdown in humanReadablePane
|
|
102
|
+
|
|
103
|
+
register(dataContentPane) // Preferred for a data file
|
|
104
|
+
register(sourcePane) // edit source
|
|
105
|
+
register(n3Pane)
|
|
106
|
+
register(RDFXMLPane)
|
|
107
|
+
|
|
108
|
+
// User configured - data driven
|
|
109
|
+
register(formPane)
|
|
110
|
+
|
|
111
|
+
// Generic:
|
|
112
|
+
|
|
113
|
+
register(tableViewPane)
|
|
114
|
+
|
|
115
|
+
// Fallback totally generic:
|
|
116
|
+
register(defaultPane)
|
|
117
|
+
|
|
118
|
+
register(uiPane)
|
|
119
|
+
|
|
120
|
+
// register(require("categoryPane.js")) // Not useful enough
|
|
121
|
+
// register(require("pubsPane.js")) // not finished
|
|
122
|
+
|
|
123
|
+
// @@ jambo commented these things out to pare things down temporarily.
|
|
124
|
+
// Note must use // not /* to comment out to make sure expander sees it
|
|
125
|
+
// register(require("lawPane.js"))
|
|
126
|
+
|
|
127
|
+
// register(require('./microblogPane/microblogPane.js'))
|
|
128
|
+
|
|
129
|
+
// register(require("./social/pane.js")) // competitor to other social
|
|
130
|
+
// register(require("./airPane.js"))
|
|
131
|
+
// register(require("./lawPane.js"))
|
|
132
|
+
// register(require("pushbackPane.js"))
|
|
133
|
+
// register(require("CVPane.js"))
|
|
134
|
+
// register(require("photoPane.js"))
|
|
135
|
+
// register(require("tagPane.js"))
|
|
136
|
+
// register(require("photoImportPane.js"))
|
|
137
|
+
|
|
138
|
+
// The sharing pane is fairly generic and administrative 201
|
|
139
|
+
register(sharingPane)
|
|
140
|
+
|
|
141
|
+
// The internals pane is always (almost?) the last as it is the least user-friendly
|
|
142
|
+
register(internalPane)
|
|
143
|
+
|
|
144
|
+
register(homePane) // This is a global pane
|
|
145
|
+
|
|
146
|
+
// ENDS
|
|
147
|
+
}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
export default `
|
|
2
|
+
@prefix dc: <http://purl.org/dc/elements/1.1/>.
|
|
3
|
+
@prefix foaf: <http://xmlns.com/foaf/0.1/>.
|
|
4
|
+
@prefix cal: <http://www.w3.org/2002/12/cal/ical#>.
|
|
5
|
+
@prefix ui: <http://www.w3.org/ns/ui#>.
|
|
6
|
+
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
|
|
7
|
+
@prefix sched: <http://www.w3.org/ns/pim/schedule#>.
|
|
8
|
+
|
|
9
|
+
cal:Vevent ui:annotationForm <#form2>, <#form3>; ui:creationForm <#form1> .
|
|
10
|
+
|
|
11
|
+
<#bigForm>
|
|
12
|
+
dc:title
|
|
13
|
+
"Schedule event (single form).";
|
|
14
|
+
a ui:Group;
|
|
15
|
+
ui:parts ( <#form1> <#form2> <#form3> ).
|
|
16
|
+
|
|
17
|
+
<#form1>
|
|
18
|
+
dc:title
|
|
19
|
+
"Schedule an event (wizard)";
|
|
20
|
+
a ui:Form;
|
|
21
|
+
ui:parts (
|
|
22
|
+
<#form1header>
|
|
23
|
+
<#eventTitle>
|
|
24
|
+
<#eventLocation>
|
|
25
|
+
<#eventType>
|
|
26
|
+
<#eventSwitch>
|
|
27
|
+
<#eventComment>
|
|
28
|
+
<#eventAuthor> ).
|
|
29
|
+
|
|
30
|
+
<#form1header> a ui:Heading; ui:contents "Schedule an event" .
|
|
31
|
+
|
|
32
|
+
<#eventTitle>
|
|
33
|
+
a ui:SingleLineTextField;
|
|
34
|
+
ui:maxLength
|
|
35
|
+
"128";
|
|
36
|
+
ui:property
|
|
37
|
+
cal:summary;
|
|
38
|
+
ui:size
|
|
39
|
+
"40".
|
|
40
|
+
|
|
41
|
+
<#eventLocation>
|
|
42
|
+
a ui:SingleLineTextField;
|
|
43
|
+
ui:maxLength
|
|
44
|
+
"512";
|
|
45
|
+
ui:property
|
|
46
|
+
cal:location;
|
|
47
|
+
ui:size
|
|
48
|
+
"40".
|
|
49
|
+
|
|
50
|
+
<#eventType> a ui:BooleanField;
|
|
51
|
+
ui:property sched:allDay;
|
|
52
|
+
ui:default true . # Used to be the only way
|
|
53
|
+
|
|
54
|
+
<#eventSwitch> a ui:Options;
|
|
55
|
+
ui:dependingOn sched:allDay;
|
|
56
|
+
ui:case [ ui:for true; ui:use <#AllDayForm> ];
|
|
57
|
+
ui:case [ ui:for false; ui:use <#NotAllDayForm> ].
|
|
58
|
+
|
|
59
|
+
<#AllDayForm> a ui:IntegerField ;
|
|
60
|
+
ui:property sched:durationInDays;
|
|
61
|
+
ui:label "How many days?";
|
|
62
|
+
ui:min 1;
|
|
63
|
+
ui:default 1 .
|
|
64
|
+
|
|
65
|
+
<#NotAllDayForm> a ui:IntegerField ;
|
|
66
|
+
ui:property sched:durationInMinutes;
|
|
67
|
+
ui:label "Duration (mins)";
|
|
68
|
+
ui:min 5;
|
|
69
|
+
ui:default 55 .
|
|
70
|
+
|
|
71
|
+
<#eventComment>
|
|
72
|
+
a ui:MultiLineTextField;
|
|
73
|
+
# ui:maxLength
|
|
74
|
+
# "1048";
|
|
75
|
+
# ui:size
|
|
76
|
+
# "40".
|
|
77
|
+
ui:property
|
|
78
|
+
cal:comment.
|
|
79
|
+
|
|
80
|
+
<#eventAuthor>
|
|
81
|
+
a ui:Multiple; ui:min 1; ui:part <#eventAuthorGroup>; ui:property dc:author.
|
|
82
|
+
|
|
83
|
+
<#eventAuthorGroup> a ui:Group; ui:parts ( <#authorName> <#authorEmail> ) .
|
|
84
|
+
<#authorName> a ui:SingleLineTextField; ui:property foaf:name .
|
|
85
|
+
<#authorEmail> a ui:EmailField; ui:label "email"; ui:property foaf:mbox .
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
#####################
|
|
89
|
+
|
|
90
|
+
<#form2> dc:title "Select possible days or times"; a ui:Form;
|
|
91
|
+
ui:parts ( <#id1118132113134> <#possibleSwitch> ).
|
|
92
|
+
|
|
93
|
+
<#id1118132113134> a ui:Heading; ui:contents "Time proposals" .
|
|
94
|
+
|
|
95
|
+
<#possibleSwitch> a ui:Options;
|
|
96
|
+
ui:dependingOn sched:allDay;
|
|
97
|
+
ui:case [ ui:for true; ui:use <#AllDayForm2> ];
|
|
98
|
+
ui:case [ ui:for false; ui:use <#NotAllDayForm2> ].
|
|
99
|
+
|
|
100
|
+
<#AllDayForm2>
|
|
101
|
+
a ui:Multiple; ui:min 2; ui:part <#posssibleDate>; ui:property sched:option.
|
|
102
|
+
<#posssibleDate> a ui:DateField; ui:property cal:dtstart; ui:label "date".
|
|
103
|
+
|
|
104
|
+
<#NotAllDayForm2>
|
|
105
|
+
a ui:Multiple; ui:min 2; ui:part <#posssibleTime>; ui:property sched:option.
|
|
106
|
+
<#posssibleTime> a ui:DateTimeField; ui:property cal:dtstart; ui:label "date and time".
|
|
107
|
+
|
|
108
|
+
##################################
|
|
109
|
+
|
|
110
|
+
<#form3> dc:title "Select invited people"; a ui:Form; ui:parts ( <#id1118132113135> <#id1417314641301b> ) .
|
|
111
|
+
<#id1417314641301b>
|
|
112
|
+
a ui:Multiple; ui:min 1; ui:part <#id1417314674292b>; ui:property sched:invitee.
|
|
113
|
+
<#id1417314674292b> a ui:EmailField; ui:label "email"; ui:property foaf:mbox .
|
|
114
|
+
<#id1118132113135> a ui:Heading; ui:contents "Who to invite" .
|
|
115
|
+
|
|
116
|
+
# ENDS
|
|
117
|
+
`
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
@prefix dc: <http://purl.org/dc/elements/1.1/>.
|
|
2
|
+
@prefix foaf: <http://xmlns.com/foaf/0.1/>.
|
|
3
|
+
@prefix cal: <http://www.w3.org/2002/12/cal/ical#>.
|
|
4
|
+
@prefix ui: <http://www.w3.org/ns/ui#>.
|
|
5
|
+
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
|
|
6
|
+
@prefix sched: <http://www.w3.org/ns/pim/schedule#>.
|
|
7
|
+
|
|
8
|
+
cal:Vevent ui:annotationForm <#form2>, <#form3>; ui:creationForm <#form1> .
|
|
9
|
+
|
|
10
|
+
<#bigForm>
|
|
11
|
+
dc:title
|
|
12
|
+
"Schedule event (single form).";
|
|
13
|
+
a ui:Group;
|
|
14
|
+
ui:parts ( <#form1> <#form2> <#form3> ).
|
|
15
|
+
|
|
16
|
+
<#form1>
|
|
17
|
+
dc:title
|
|
18
|
+
"Schedule an event (wizard)";
|
|
19
|
+
a ui:Form;
|
|
20
|
+
ui:parts (
|
|
21
|
+
<#form1header>
|
|
22
|
+
<#eventTitle>
|
|
23
|
+
<#eventLocation>
|
|
24
|
+
<#eventType>
|
|
25
|
+
<#eventSwitch>
|
|
26
|
+
<#eventComment>
|
|
27
|
+
<#eventAuthor> ).
|
|
28
|
+
|
|
29
|
+
<#form1header> a ui:Heading; ui:contents "Schedule an event" .
|
|
30
|
+
|
|
31
|
+
<#eventTitle>
|
|
32
|
+
a ui:SingleLineTextField;
|
|
33
|
+
ui:maxLength
|
|
34
|
+
"128";
|
|
35
|
+
ui:property
|
|
36
|
+
cal:summary;
|
|
37
|
+
ui:size
|
|
38
|
+
"40".
|
|
39
|
+
|
|
40
|
+
<#eventLocation>
|
|
41
|
+
a ui:SingleLineTextField;
|
|
42
|
+
ui:maxLength
|
|
43
|
+
"512";
|
|
44
|
+
ui:property
|
|
45
|
+
cal:location;
|
|
46
|
+
ui:size
|
|
47
|
+
"40".
|
|
48
|
+
|
|
49
|
+
<#eventType> a ui:BooleanField;
|
|
50
|
+
ui:property sched:allDay;
|
|
51
|
+
ui:default true . # Used to be the only way
|
|
52
|
+
|
|
53
|
+
<#eventSwitch> a ui:Options;
|
|
54
|
+
ui:dependingOn sched:allDay;
|
|
55
|
+
ui:case [ ui:for true; ui:use <#AllDayForm> ];
|
|
56
|
+
ui:case [ ui:for false; ui:use <#NotAllDayForm> ].
|
|
57
|
+
|
|
58
|
+
<#AllDayForm> a ui:IntegerField ;
|
|
59
|
+
ui:property sched:durationInDays;
|
|
60
|
+
ui:label "How many days?";
|
|
61
|
+
ui:min 1;
|
|
62
|
+
ui:default 1 .
|
|
63
|
+
|
|
64
|
+
<#NotAllDayForm> a ui:IntegerField ;
|
|
65
|
+
ui:property sched:durationInMinutes;
|
|
66
|
+
ui:label "Duration (mins)";
|
|
67
|
+
ui:min 5;
|
|
68
|
+
ui:default 55 .
|
|
69
|
+
|
|
70
|
+
<#eventComment>
|
|
71
|
+
a ui:MultiLineTextField;
|
|
72
|
+
# ui:maxLength
|
|
73
|
+
# "1048";
|
|
74
|
+
# ui:size
|
|
75
|
+
# "40".
|
|
76
|
+
ui:property
|
|
77
|
+
cal:comment.
|
|
78
|
+
|
|
79
|
+
<#eventAuthor>
|
|
80
|
+
a ui:Multiple; ui:min 1; ui:part <#eventAuthorGroup>; ui:property dc:author.
|
|
81
|
+
|
|
82
|
+
<#eventAuthorGroup> a ui:Group; ui:parts ( <#authorName> <#authorEmail> ) .
|
|
83
|
+
<#authorName> a ui:SingleLineTextField; ui:property foaf:name .
|
|
84
|
+
<#authorEmail> a ui:EmailField; ui:label "email"; ui:property foaf:mbox .
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
#####################
|
|
88
|
+
|
|
89
|
+
<#form2> dc:title "Select possible days or times"; a ui:Form;
|
|
90
|
+
ui:parts ( <#id1118132113134> <#possibleSwitch> ).
|
|
91
|
+
|
|
92
|
+
<#id1118132113134> a ui:Heading; ui:contents "Time proposals" .
|
|
93
|
+
|
|
94
|
+
<#possibleSwitch> a ui:Options;
|
|
95
|
+
ui:dependingOn sched:allDay;
|
|
96
|
+
ui:case [ ui:for true; ui:use <#AllDayForm2> ];
|
|
97
|
+
ui:case [ ui:for false; ui:use <#NotAllDayForm2> ].
|
|
98
|
+
|
|
99
|
+
<#AllDayForm2>
|
|
100
|
+
a ui:Multiple; ui:min 2; ui:part <#posssibleDate>; ui:property sched:option.
|
|
101
|
+
<#posssibleDate> a ui:DateField; ui:property cal:dtstart; ui:label "date".
|
|
102
|
+
|
|
103
|
+
<#NotAllDayForm2>
|
|
104
|
+
a ui:Multiple; ui:min 2; ui:part <#posssibleTime>; ui:property sched:option.
|
|
105
|
+
<#posssibleTime> a ui:DateTimeField; ui:property cal:dtstart; ui:label "date and time".
|
|
106
|
+
|
|
107
|
+
##################################
|
|
108
|
+
|
|
109
|
+
<#form3> dc:title "Select invited people"; a ui:Form; ui:parts ( <#id1118132113135> <#id1417314641301b> ) .
|
|
110
|
+
<#id1417314641301b>
|
|
111
|
+
a ui:Multiple; ui:min 1; ui:part <#id1417314674292b>; ui:property sched:invitee.
|
|
112
|
+
<#id1417314674292b> a ui:EmailField; ui:label "email"; ui:property foaf:mbox .
|
|
113
|
+
<#id1118132113135> a ui:Heading; ui:contents "Who to invite" .
|
|
114
|
+
|
|
115
|
+
# ENDS
|