solid-panes 3.7.3-1bd42721 → 3.7.3-1c2b6945

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.
Files changed (50) hide show
  1. package/dist/dashboard/basicPreferences.js +121 -129
  2. package/dist/dashboard/basicPreferences.js.map +1 -1
  3. package/dist/dashboard/dashboardPane.js +60 -54
  4. package/dist/dashboard/dashboardPane.js.map +1 -1
  5. package/dist/dashboard/homepage.js +45 -54
  6. package/dist/dashboard/homepage.js.map +1 -1
  7. package/dist/home/homePane.d.ts.map +1 -1
  8. package/dist/home/homePane.js +60 -55
  9. package/dist/home/homePane.js.map +1 -1
  10. package/dist/index.js +86 -25
  11. package/dist/index.js.map +1 -1
  12. package/dist/internal/internalPane.js +168 -179
  13. package/dist/internal/internalPane.js.map +1 -1
  14. package/dist/mainPage/footer.js +13 -7
  15. package/dist/mainPage/footer.js.map +1 -1
  16. package/dist/mainPage/header.js +59 -58
  17. package/dist/mainPage/header.js.map +1 -1
  18. package/dist/mainPage/index.js +19 -24
  19. package/dist/mainPage/index.js.map +1 -1
  20. package/dist/outline/context.js +17 -11
  21. package/dist/outline/context.js.map +1 -1
  22. package/dist/outline/propertyViews.js +39 -28
  23. package/dist/outline/propertyViews.js.map +1 -1
  24. package/dist/outline/viewAsImage.js +13 -5
  25. package/dist/outline/viewAsImage.js.map +1 -1
  26. package/dist/outline/viewAsMbox.js +20 -11
  27. package/dist/outline/viewAsMbox.js.map +1 -1
  28. package/dist/pad/padPane.js +395 -404
  29. package/dist/pad/padPane.js.map +1 -1
  30. package/dist/schedule/schedulePane.js +3 -4
  31. package/dist/schedule/schedulePane.js.map +1 -1
  32. package/dist/sharing/sharingPane.js +36 -32
  33. package/dist/sharing/sharingPane.js.map +1 -1
  34. package/dist/tabbed/tabbedPane.js +54 -51
  35. package/dist/tabbed/tabbedPane.js.map +1 -1
  36. package/dist/trustedApplications/trustedApplications.dom.js +134 -146
  37. package/dist/trustedApplications/trustedApplications.dom.js.map +1 -1
  38. package/dist/trustedApplications/trustedApplications.utils.js +20 -20
  39. package/dist/trustedApplications/trustedApplications.utils.js.map +1 -1
  40. package/dist/trustedApplications/trustedApplications.view.js +51 -57
  41. package/dist/trustedApplications/trustedApplications.view.js.map +1 -1
  42. package/dist/versionInfo.js +35 -29
  43. package/dist/versionInfo.js.map +1 -1
  44. package/package.json +21 -21
  45. package/dist/schedule/formsForSchedule.js +0 -124
  46. package/dist/schedule/formsForSchedule.js.map +0 -1
  47. package/dist/types.d.ts +0 -30
  48. package/dist/types.d.ts.map +0 -1
  49. package/dist/types.js +0 -2
  50. package/dist/types.js.map +0 -1
@@ -1,24 +1,24 @@
1
- import { BlankNode, st, sym } from 'rdflib';
2
- export function getStatementsToDelete(origin, person, kb, ns) {
3
- const applicationStatements = kb.statementsMatching(null, ns.acl('origin'), origin);
4
- const statementsToDelete = applicationStatements.reduce((memo, st) => {
5
- return memo
6
- .concat(kb.statementsMatching(person, ns.acl('trustedApp'), st.subject))
7
- .concat(kb.statementsMatching(st.subject));
8
- }, []);
9
- return statementsToDelete;
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.generateRandomString = generateRandomString;
7
+ exports.getStatementsToAdd = getStatementsToAdd;
8
+ exports.getStatementsToDelete = getStatementsToDelete;
9
+ var _rdflib = require("rdflib");
10
+ function getStatementsToDelete(origin, person, kb, ns) {
11
+ const applicationStatements = kb.statementsMatching(null, ns.acl('origin'), origin);
12
+ const statementsToDelete = applicationStatements.reduce((memo, st) => {
13
+ return memo.concat(kb.statementsMatching(person, ns.acl('trustedApp'), st.subject)).concat(kb.statementsMatching(st.subject));
14
+ }, []);
15
+ return statementsToDelete;
10
16
  }
11
- export function getStatementsToAdd(origin, nodeName, modes, person, ns) {
12
- const application = new BlankNode(`bn_${nodeName}`); // NamedNode(`${person.doc().uri}#${nodeName}`)
13
- return [
14
- st(person, ns.acl('trustedApp'), application, person.doc()),
15
- st(application, ns.acl('origin'), origin, person.doc()),
16
- ...modes
17
- .map(mode => sym(mode))
18
- .map(mode => st(application, ns.acl('mode'), mode, person.doc()))
19
- ];
17
+ function getStatementsToAdd(origin, nodeName, modes, person, ns) {
18
+ const application = new _rdflib.BlankNode(`bn_${nodeName}`); // NamedNode(`${person.doc().uri}#${nodeName}`)
19
+ return [(0, _rdflib.st)(person, ns.acl('trustedApp'), application, person.doc()), (0, _rdflib.st)(application, ns.acl('origin'), origin, person.doc()), ...modes.map(mode => (0, _rdflib.sym)(mode)).map(mode => (0, _rdflib.st)(application, ns.acl('mode'), mode, person.doc()))];
20
20
  }
21
- export function generateRandomString() {
22
- return Math.random().toString(36).substr(2, 5);
21
+ function generateRandomString() {
22
+ return Math.random().toString(36).substr(2, 5);
23
23
  }
24
24
  //# sourceMappingURL=trustedApplications.utils.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"trustedApplications.utils.js","sourceRoot":"","sources":["../../src/trustedApplications/trustedApplications.utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAA6B,EAAE,EAAW,GAAG,EAAa,MAAM,QAAQ,CAAA;AAG1F,MAAM,UAAU,qBAAqB,CACnC,MAA2B,EAC3B,MAAiB,EACjB,EAAkB,EAClB,EAAc;IAEd,MAAM,qBAAqB,GAAG,EAAE,CAAC,kBAAkB,CACjD,IAAI,EACJ,EAAE,CAAC,GAAG,CAAC,QAAQ,CAAC,EAChB,MAAM,CACP,CAAA;IACD,MAAM,kBAAkB,GAAG,qBAAqB,CAAC,MAAM,CACrD,CAAC,IAAI,EAAE,EAAE,EAAE,EAAE;QACX,OAAO,IAAI;aACR,MAAM,CACL,EAAE,CAAC,kBAAkB,CACnB,MAAM,EACN,EAAE,CAAC,GAAG,CAAC,YAAY,CAAC,EACpB,EAAE,CAAC,OAAoB,CACxB,CACF;aACA,MAAM,CAAC,EAAE,CAAC,kBAAkB,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,CAAA;IAC9C,CAAC,EACD,EAAsB,CACvB,CAAA;IACD,OAAO,kBAAkB,CAAA;AAC3B,CAAC;AAED,MAAM,UAAU,kBAAkB,CAChC,MAAiB,EACjB,QAAgB,EAChB,KAAe,EACf,MAAiB,EACjB,EAAc;IAEd,MAAM,WAAW,GAAG,IAAI,SAAS,CAAC,MAAM,QAAQ,EAAE,CAAC,CAAA,CAAC,+CAA+C;IACnG,OAAO;QACL,EAAE,CAAC,MAAM,EAAE,EAAE,CAAC,GAAG,CAAC,YAAY,CAAC,EAAE,WAAW,EAAE,MAAM,CAAC,GAAG,EAAE,CAAC;QAC3D,EAAE,CAAC,WAAW,EAAE,EAAE,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,GAAG,EAAE,CAAC;QACvD,GAAG,KAAK;aACL,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;aACtB,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,CAAC,WAAW,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,MAAM,CAAC,GAAG,EAAE,CAAC,CAAC;KACpE,CAAA;AACH,CAAC;AAED,MAAM,UAAU,oBAAoB;IAClC,OAAO,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA;AAChD,CAAC"}
1
+ {"version":3,"file":"trustedApplications.utils.js","names":["_rdflib","require","getStatementsToDelete","origin","person","kb","ns","applicationStatements","statementsMatching","acl","statementsToDelete","reduce","memo","st","concat","subject","getStatementsToAdd","nodeName","modes","application","BlankNode","doc","map","mode","sym","generateRandomString","Math","random","toString","substr"],"sources":["../../src/trustedApplications/trustedApplications.utils.ts"],"sourcesContent":["import { BlankNode, IndexedFormula, NamedNode, st, Literal, sym, Statement } from 'rdflib'\nimport { Namespaces } from 'solid-namespace'\n\nexport function getStatementsToDelete (\n origin: NamedNode | Literal,\n person: NamedNode,\n kb: IndexedFormula,\n ns: Namespaces\n): any {\n const applicationStatements = kb.statementsMatching(\n null,\n ns.acl('origin'),\n origin\n )\n const statementsToDelete = applicationStatements.reduce(\n (memo, st) => {\n return memo\n .concat(\n kb.statementsMatching(\n person,\n ns.acl('trustedApp'),\n st.subject as NamedNode\n )\n )\n .concat(kb.statementsMatching(st.subject))\n },\n [] as Array<Statement>\n )\n return statementsToDelete\n}\n\nexport function getStatementsToAdd (\n origin: NamedNode,\n nodeName: string,\n modes: string[],\n person: NamedNode,\n ns: Namespaces\n): any {\n const application = new BlankNode(`bn_${nodeName}`) // NamedNode(`${person.doc().uri}#${nodeName}`)\n return [\n st(person, ns.acl('trustedApp'), application, person.doc()),\n st(application, ns.acl('origin'), origin, person.doc()),\n ...modes\n .map(mode => sym(mode))\n .map(mode => st(application, ns.acl('mode'), mode, person.doc()))\n ]\n}\n\nexport function generateRandomString () {\n return Math.random().toString(36).substr(2, 5)\n}\n"],"mappings":";;;;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAGO,SAASC,qBAAqBA,CACnCC,MAA2B,EAC3BC,MAAiB,EACjBC,EAAkB,EAClBC,EAAc,EACT;EACL,MAAMC,qBAAqB,GAAGF,EAAE,CAACG,kBAAkB,CACjD,IAAI,EACJF,EAAE,CAACG,GAAG,CAAC,QAAQ,CAAC,EAChBN,MACF,CAAC;EACD,MAAMO,kBAAkB,GAAGH,qBAAqB,CAACI,MAAM,CACrD,CAACC,IAAI,EAAEC,EAAE,KAAK;IACZ,OAAOD,IAAI,CACRE,MAAM,CACLT,EAAE,CAACG,kBAAkB,CACnBJ,MAAM,EACNE,EAAE,CAACG,GAAG,CAAC,YAAY,CAAC,EACpBI,EAAE,CAACE,OACL,CACF,CAAC,CACAD,MAAM,CAACT,EAAE,CAACG,kBAAkB,CAACK,EAAE,CAACE,OAAO,CAAC,CAAC;EAC9C,CAAC,EACD,EACF,CAAC;EACD,OAAOL,kBAAkB;AAC3B;AAEO,SAASM,kBAAkBA,CAChCb,MAAiB,EACjBc,QAAgB,EAChBC,KAAe,EACfd,MAAiB,EACjBE,EAAc,EACT;EACL,MAAMa,WAAW,GAAG,IAAIC,iBAAS,CAAC,MAAMH,QAAQ,EAAE,CAAC,EAAC;EACpD,OAAO,CACL,IAAAJ,UAAE,EAACT,MAAM,EAAEE,EAAE,CAACG,GAAG,CAAC,YAAY,CAAC,EAAEU,WAAW,EAAEf,MAAM,CAACiB,GAAG,CAAC,CAAC,CAAC,EAC3D,IAAAR,UAAE,EAACM,WAAW,EAAEb,EAAE,CAACG,GAAG,CAAC,QAAQ,CAAC,EAAEN,MAAM,EAAEC,MAAM,CAACiB,GAAG,CAAC,CAAC,CAAC,EACvD,GAAGH,KAAK,CACLI,GAAG,CAACC,IAAI,IAAI,IAAAC,WAAG,EAACD,IAAI,CAAC,CAAC,CACtBD,GAAG,CAACC,IAAI,IAAI,IAAAV,UAAE,EAACM,WAAW,EAAEb,EAAE,CAACG,GAAG,CAAC,MAAM,CAAC,EAAEc,IAAI,EAAEnB,MAAM,CAACiB,GAAG,CAAC,CAAC,CAAC,CAAC,CACpE;AACH;AAEO,SAASI,oBAAoBA,CAAA,EAAI;EACtC,OAAOC,IAAI,CAACC,MAAM,CAAC,CAAC,CAACC,QAAQ,CAAC,EAAE,CAAC,CAACC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC;AAChD","ignoreList":[]}
@@ -1,62 +1,56 @@
1
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
2
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3
- return new (P || (P = Promise))(function (resolve, reject) {
4
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
5
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
6
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
7
- step((generator = generator.apply(thisArg, _arguments || [])).next());
8
- });
9
- };
10
- import { icons, login, widgets } from 'solid-ui';
11
- import { store } from 'solid-logic';
12
- import { createApplicationTable, createContainer, createText } from './trustedApplications.dom';
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var _solidUi = require("solid-ui");
8
+ var _solidLogic = require("solid-logic");
9
+ var _trustedApplications = require("./trustedApplications.dom");
13
10
  const thisColor = '#418d99';
14
11
  const trustedApplicationView = {
15
- global: true,
16
- icon: `${icons.iconBase}noun_15177.svg`,
17
- name: 'trustedApplications',
18
- label: () => null,
19
- render: (subject, context) => {
20
- const dom = context.dom;
21
- const div = dom.createElement('div');
22
- div.classList.add('trusted-applications-pane');
23
- div.setAttribute('style', 'border: 0.3em solid ' +
24
- thisColor +
25
- '; border-radius: 0.5em; padding: 0.7em; margin-top:0.7em;');
26
- const table = div.appendChild(dom.createElement('table'));
27
- const main = table.appendChild(dom.createElement('tr'));
28
- const bottom = table.appendChild(dom.createElement('tr'));
29
- const statusArea = bottom.appendChild(dom.createElement('div'));
30
- statusArea.setAttribute('style', 'padding: 0.7em;');
31
- render(dom, main, statusArea).catch(err => statusArea.appendChild(widgets.errorMessageBlock(dom, err)));
32
- return div;
33
- }
12
+ global: true,
13
+ icon: `${_solidUi.icons.iconBase}noun_15177.svg`,
14
+ name: 'trustedApplications',
15
+ label: () => null,
16
+ render: (subject, context) => {
17
+ const dom = context.dom;
18
+ const div = dom.createElement('div');
19
+ div.classList.add('trusted-applications-pane');
20
+ div.setAttribute('style', 'border: 0.3em solid ' + thisColor + '; border-radius: 0.5em; padding: 0.7em; margin-top:0.7em;');
21
+ const table = div.appendChild(dom.createElement('table'));
22
+ const main = table.appendChild(dom.createElement('tr'));
23
+ const bottom = table.appendChild(dom.createElement('tr'));
24
+ const statusArea = bottom.appendChild(dom.createElement('div'));
25
+ statusArea.setAttribute('style', 'padding: 0.7em;');
26
+ render(dom, main, statusArea).catch(err => statusArea.appendChild(_solidUi.widgets.errorMessageBlock(dom, err)));
27
+ return div;
28
+ }
34
29
  };
35
- function render(dom, main, statusArea) {
36
- return __awaiter(this, void 0, void 0, function* () {
37
- const authContext = yield login.ensureLoadedProfile({ dom, div: main, statusArea, me: null });
38
- const subject = authContext.me;
39
- const profile = subject.doc();
40
- if (!store.updater) {
41
- throw new Error('Store has no updater');
42
- }
43
- const editable = store.updater.editable(profile.uri, store);
44
- main.appendChild(createText('h3', 'Manage your trusted applications'));
45
- if (!editable) {
46
- main.appendChild(widgets.errorMessageBlock(dom, `Your profile ${subject.doc().uri} is not editable, so we cannot do much here.`));
47
- return;
48
- }
49
- main.appendChild(createText('p', 'Here you can manage the applications you trust.'));
50
- const applicationsTable = createApplicationTable(subject);
51
- main.appendChild(applicationsTable);
52
- main.appendChild(createText('h4', 'Notes'));
53
- main.appendChild(createContainer('ol', [
54
- main.appendChild(createText('li', 'Trusted applications will get access to all resources that you have access to.')),
55
- main.appendChild(createText('li', 'You can limit which modes they have by default.')),
56
- main.appendChild(createText('li', 'They will not gain more access than you have.'))
57
- ]));
58
- main.appendChild(createText('p', 'Application URLs must be valid URL. Examples are http://localhost:3000, https://trusted.app, and https://sub.trusted.app.'));
59
- });
30
+ async function render(dom, main, statusArea) {
31
+ const authContext = await _solidUi.login.ensureLoadedProfile({
32
+ dom,
33
+ div: main,
34
+ statusArea,
35
+ me: null
36
+ });
37
+ const subject = authContext.me;
38
+ const profile = subject.doc();
39
+ if (!_solidLogic.store.updater) {
40
+ throw new Error('Store has no updater');
41
+ }
42
+ const editable = _solidLogic.store.updater.editable(profile.uri, _solidLogic.store);
43
+ main.appendChild((0, _trustedApplications.createText)('h3', 'Manage your trusted applications'));
44
+ if (!editable) {
45
+ main.appendChild(_solidUi.widgets.errorMessageBlock(dom, `Your profile ${subject.doc().uri} is not editable, so we cannot do much here.`));
46
+ return;
47
+ }
48
+ main.appendChild((0, _trustedApplications.createText)('p', 'Here you can manage the applications you trust.'));
49
+ const applicationsTable = (0, _trustedApplications.createApplicationTable)(subject);
50
+ main.appendChild(applicationsTable);
51
+ main.appendChild((0, _trustedApplications.createText)('h4', 'Notes'));
52
+ main.appendChild((0, _trustedApplications.createContainer)('ol', [main.appendChild((0, _trustedApplications.createText)('li', 'Trusted applications will get access to all resources that you have access to.')), main.appendChild((0, _trustedApplications.createText)('li', 'You can limit which modes they have by default.')), main.appendChild((0, _trustedApplications.createText)('li', 'They will not gain more access than you have.'))]));
53
+ main.appendChild((0, _trustedApplications.createText)('p', 'Application URLs must be valid URL. Examples are http://localhost:3000, https://trusted.app, and https://sub.trusted.app.'));
60
54
  }
61
- export default trustedApplicationView;
55
+ var _default = exports.default = trustedApplicationView;
62
56
  //# sourceMappingURL=trustedApplications.view.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"trustedApplications.view.js","sourceRoot":"","sources":["../../src/trustedApplications/trustedApplications.view.ts"],"names":[],"mappings":";;;;;;;;;AAEA,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AAChD,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;AACnC,OAAO,EAAE,sBAAsB,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAA;AAE/F,MAAM,SAAS,GAAG,SAAS,CAAA;AAE3B,MAAM,sBAAsB,GAAmB;IAC7C,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE,GAAG,KAAK,CAAC,QAAQ,gBAAgB;IACvC,IAAI,EAAE,qBAAqB;IAC3B,KAAK,EAAE,GAAG,EAAE,CAAC,IAAI;IACjB,MAAM,EAAE,CAAC,OAAO,EAAE,OAAO,EAAE,EAAE;QAC3B,MAAM,GAAG,GAAG,OAAO,CAAC,GAAG,CAAA;QACvB,MAAM,GAAG,GAAG,GAAG,CAAC,aAAa,CAAC,KAAK,CAAC,CAAA;QACpC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,2BAA2B,CAAC,CAAA;QAC9C,GAAG,CAAC,YAAY,CACd,OAAO,EACP,sBAAsB;YACtB,SAAS;YACT,2DAA2D,CAC5D,CAAA;QACD,MAAM,KAAK,GAAG,GAAG,CAAC,WAAW,CAAC,GAAG,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC,CAAA;QACzD,MAAM,IAAI,GAAG,KAAK,CAAC,WAAW,CAAC,GAAG,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,CAAA;QACvD,MAAM,MAAM,GAAG,KAAK,CAAC,WAAW,CAAC,GAAG,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,CAAA;QACzD,MAAM,UAAU,GAAG,MAAM,CAAC,WAAW,CAAC,GAAG,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC,CAAA;QAC/D,UAAU,CAAC,YAAY,CAAC,OAAO,EAAE,iBAAiB,CAAC,CAAA;QACnD,MAAM,CAAC,GAAG,EAAE,IAAI,EAAE,UAAU,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,UAAU,CAAC,WAAW,CAAC,OAAO,CAAC,iBAAiB,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC,CAAA;QACvG,OAAO,GAAG,CAAA;IACZ,CAAC;CACF,CAAA;AAED,SAAe,MAAM,CAAE,GAAG,EAAE,IAAI,EAAE,UAAU;;QAC1C,MAAM,WAAW,GAAG,MAAM,KAAK,CAAC,mBAAmB,CAAC,EAAE,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,CAAA;QAC7F,MAAM,OAAO,GAAG,WAAW,CAAC,EAAe,CAAA;QAE3C,MAAM,OAAO,GAAG,OAAO,CAAC,GAAG,EAAE,CAAA;QAC7B,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;YACnB,MAAM,IAAI,KAAK,CAAC,sBAAsB,CAAC,CAAA;QACzC,CAAC;QACD,MAAM,QAAQ,GAAG,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAC,GAAG,EAAE,KAAK,CAAC,CAAA;QAE3D,IAAI,CAAC,WAAW,CAAC,UAAU,CAAC,IAAI,EAAE,kCAAkC,CAAC,CAAC,CAAA;QAEtE,IAAI,CAAC,QAAQ,EAAE,CAAC;YACd,IAAI,CAAC,WAAW,CACd,OAAO,CAAC,iBAAiB,CAAC,GAAG,EAAE,gBAAgB,OAAO,CAAC,GAAG,EAAE,CAAC,GAAG,8CAA8C,CAAC,CAChH,CAAA;YACD,OAAM;QACR,CAAC;QAED,IAAI,CAAC,WAAW,CAAC,UAAU,CAAC,GAAG,EAAE,iDAAiD,CAAC,CAAC,CAAA;QAEpF,MAAM,iBAAiB,GAAG,sBAAsB,CAAC,OAAO,CAAC,CAAA;QACzD,IAAI,CAAC,WAAW,CAAC,iBAAiB,CAAC,CAAA;QAEnC,IAAI,CAAC,WAAW,CAAC,UAAU,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC,CAAA;QAC3C,IAAI,CAAC,WAAW,CACd,eAAe,CAAC,IAAI,EAAE;YACpB,IAAI,CAAC,WAAW,CACd,UAAU,CACR,IAAI,EACJ,gFAAgF,CACjF,CACF;YACD,IAAI,CAAC,WAAW,CACd,UAAU,CAAC,IAAI,EAAE,iDAAiD,CAAC,CACpE;YACD,IAAI,CAAC,WAAW,CACd,UAAU,CAAC,IAAI,EAAE,+CAA+C,CAAC,CAClE;SACF,CAAC,CACH,CAAA;QACD,IAAI,CAAC,WAAW,CACd,UAAU,CAAC,GAAG,EAAE,2HAA2H,CAAC,CAC7I,CAAA;IACH,CAAC;CAAA;AAED,eAAe,sBAAsB,CAAA"}
1
+ {"version":3,"file":"trustedApplications.view.js","names":["_solidUi","require","_solidLogic","_trustedApplications","thisColor","trustedApplicationView","global","icon","icons","iconBase","name","label","render","subject","context","dom","div","createElement","classList","add","setAttribute","table","appendChild","main","bottom","statusArea","catch","err","widgets","errorMessageBlock","authContext","login","ensureLoadedProfile","me","profile","doc","store","updater","Error","editable","uri","createText","applicationsTable","createApplicationTable","createContainer","_default","exports","default"],"sources":["../../src/trustedApplications/trustedApplications.view.ts"],"sourcesContent":["import { PaneDefinition } from 'pane-registry'\nimport { NamedNode } from 'rdflib'\nimport { icons, login, widgets } from 'solid-ui'\nimport { store } from 'solid-logic'\nimport { createApplicationTable, createContainer, createText } from './trustedApplications.dom'\n\nconst thisColor = '#418d99'\n\nconst trustedApplicationView: PaneDefinition = {\n global: true,\n icon: `${icons.iconBase}noun_15177.svg`,\n name: 'trustedApplications',\n label: () => null,\n render: (subject, context) => {\n const dom = context.dom\n const div = dom.createElement('div')\n div.classList.add('trusted-applications-pane')\n div.setAttribute(\n 'style',\n 'border: 0.3em solid ' +\n thisColor +\n '; border-radius: 0.5em; padding: 0.7em; margin-top:0.7em;'\n )\n const table = div.appendChild(dom.createElement('table'))\n const main = table.appendChild(dom.createElement('tr'))\n const bottom = table.appendChild(dom.createElement('tr'))\n const statusArea = bottom.appendChild(dom.createElement('div'))\n statusArea.setAttribute('style', 'padding: 0.7em;')\n render(dom, main, statusArea).catch(err => statusArea.appendChild(widgets.errorMessageBlock(dom, err)))\n return div\n }\n}\n\nasync function render (dom, main, statusArea): Promise<void> {\n const authContext = await login.ensureLoadedProfile({ dom, div: main, statusArea, me: null })\n const subject = authContext.me as NamedNode\n\n const profile = subject.doc()\n if (!store.updater) {\n throw new Error('Store has no updater')\n }\n const editable = store.updater.editable(profile.uri, store)\n\n main.appendChild(createText('h3', 'Manage your trusted applications'))\n\n if (!editable) {\n main.appendChild(\n widgets.errorMessageBlock(dom, `Your profile ${subject.doc().uri} is not editable, so we cannot do much here.`)\n )\n return\n }\n\n main.appendChild(createText('p', 'Here you can manage the applications you trust.'))\n\n const applicationsTable = createApplicationTable(subject)\n main.appendChild(applicationsTable)\n\n main.appendChild(createText('h4', 'Notes'))\n main.appendChild(\n createContainer('ol', [\n main.appendChild(\n createText(\n 'li',\n 'Trusted applications will get access to all resources that you have access to.'\n )\n ),\n main.appendChild(\n createText('li', 'You can limit which modes they have by default.')\n ),\n main.appendChild(\n createText('li', 'They will not gain more access than you have.')\n )\n ])\n )\n main.appendChild(\n createText('p', 'Application URLs must be valid URL. Examples are http://localhost:3000, https://trusted.app, and https://sub.trusted.app.')\n )\n}\n\nexport default trustedApplicationView\n"],"mappings":"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","ignoreList":[]}
@@ -1,31 +1,37 @@
1
- export default {
2
- buildTime: '2025-10-06T12:49:57Z',
3
- commit: '1bd427214e68c859bbc8d9a9071f88197a39e96f',
4
- npmInfo: {
5
- '\'solid-panes\'': '\'3.7.3\',',
6
- npm: '\'10.8.2\',',
7
- node: '\'20.19.5\',',
8
- acorn: '\'8.15.0\',',
9
- ada: '\'2.9.2\',',
10
- ares: '\'1.34.5\',',
11
- brotli: '\'1.1.0\',',
12
- cjs_module_lexer: '\'2.1.0\',',
13
- cldr: '\'47.0\',',
14
- icu: '\'77.1\',',
15
- llhttp: '\'9.3.0\',',
16
- modules: '\'115\',',
17
- napi: '\'9\',',
18
- nghttp2: '\'1.61.0\',',
19
- openssl: '\'3.0.16\',',
20
- simdutf: '\'6.4.2\',',
21
- tz: '\'2025b\',',
22
- undici: '\'6.21.2\',',
23
- unicode: '\'16.0\',',
24
- uv: '\'1.46.0\',',
25
- uvwasi: '\'0.0.21\',',
26
- v8: '\'11.3.244.8-node.30\',',
27
- zlib: '\'1.3.1-470d3a2\'',
28
- '}': '}',
29
- }
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ var _default = exports.default = {
8
+ buildTime: '2025-11-04T11:29:46Z',
9
+ commit: '1c2b69458d0e9c83cfa647f907bc2626dde94599',
10
+ npmInfo: {
11
+ '\'solid-panes\'': '\'3.7.3\',',
12
+ npm: '\'10.8.2\',',
13
+ node: '\'20.19.5\',',
14
+ acorn: '\'8.15.0\',',
15
+ ada: '\'2.9.2\',',
16
+ ares: '\'1.34.5\',',
17
+ brotli: '\'1.1.0\',',
18
+ cjs_module_lexer: '\'2.1.0\',',
19
+ cldr: '\'47.0\',',
20
+ icu: '\'77.1\',',
21
+ llhttp: '\'9.3.0\',',
22
+ modules: '\'115\',',
23
+ napi: '\'9\',',
24
+ nghttp2: '\'1.61.0\',',
25
+ openssl: '\'3.0.16\',',
26
+ simdutf: '\'6.4.2\',',
27
+ tz: '\'2025b\',',
28
+ undici: '\'6.21.2\',',
29
+ unicode: '\'16.0\',',
30
+ uv: '\'1.46.0\',',
31
+ uvwasi: '\'0.0.21\',',
32
+ v8: '\'11.3.244.8-node.30\',',
33
+ zlib: '\'1.3.1-470d3a2\'',
34
+ '}': '}'
35
+ }
30
36
  };
31
37
  //# sourceMappingURL=versionInfo.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"versionInfo.js","sourceRoot":"","sources":["../src/versionInfo.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,SAAS,EAAE,sBAAsB;IACjC,MAAM,EAAE,0CAA0C;IAClD,OAAO,EAAE;QACP,iBAAiB,EAAE,YAAY;QAC/B,GAAG,EAAE,aAAa;QAClB,IAAI,EAAE,cAAc;QACpB,KAAK,EAAE,aAAa;QACpB,GAAG,EAAE,YAAY;QACjB,IAAI,EAAE,aAAa;QACnB,MAAM,EAAE,YAAY;QACpB,gBAAgB,EAAE,YAAY;QAC9B,IAAI,EAAE,WAAW;QACjB,GAAG,EAAE,WAAW;QAChB,MAAM,EAAE,YAAY;QACpB,OAAO,EAAE,UAAU;QACnB,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,aAAa;QACtB,OAAO,EAAE,aAAa;QACtB,OAAO,EAAE,YAAY;QACrB,EAAE,EAAE,YAAY;QAChB,MAAM,EAAE,aAAa;QACrB,OAAO,EAAE,WAAW;QACpB,EAAE,EAAE,aAAa;QACjB,MAAM,EAAE,aAAa;QACrB,EAAE,EAAE,yBAAyB;QAC7B,IAAI,EAAE,mBAAmB;QACzB,GAAG,EAAE,GAAG;KACT;CACF,CAAA"}
1
+ {"version":3,"file":"versionInfo.js","names":["buildTime","commit","npmInfo","npm","node","acorn","ada","ares","brotli","cjs_module_lexer","cldr","icu","llhttp","modules","napi","nghttp2","openssl","simdutf","tz","undici","unicode","uv","uvwasi","v8","zlib"],"sources":["../src/versionInfo.ts"],"sourcesContent":["export default {\n buildTime: '2025-11-04T11:29:46Z',\n commit: '1c2b69458d0e9c83cfa647f907bc2626dde94599',\n npmInfo: {\n '\\'solid-panes\\'': '\\'3.7.3\\',',\n npm: '\\'10.8.2\\',',\n node: '\\'20.19.5\\',',\n acorn: '\\'8.15.0\\',',\n ada: '\\'2.9.2\\',',\n ares: '\\'1.34.5\\',',\n brotli: '\\'1.1.0\\',',\n cjs_module_lexer: '\\'2.1.0\\',',\n cldr: '\\'47.0\\',',\n icu: '\\'77.1\\',',\n llhttp: '\\'9.3.0\\',',\n modules: '\\'115\\',',\n napi: '\\'9\\',',\n nghttp2: '\\'1.61.0\\',',\n openssl: '\\'3.0.16\\',',\n simdutf: '\\'6.4.2\\',',\n tz: '\\'2025b\\',',\n undici: '\\'6.21.2\\',',\n unicode: '\\'16.0\\',',\n uv: '\\'1.46.0\\',',\n uvwasi: '\\'0.0.21\\',',\n v8: '\\'11.3.244.8-node.30\\',',\n zlib: '\\'1.3.1-470d3a2\\'',\n '}': '}',\n }\n}\n"],"mappings":";;;;;;iCAAe;EACbA,SAAS,EAAE,sBAAsB;EACjCC,MAAM,EAAE,0CAA0C;EAClDC,OAAO,EAAE;IACP,iBAAiB,EAAE,YAAY;IAC/BC,GAAG,EAAE,aAAa;IAClBC,IAAI,EAAE,cAAc;IACpBC,KAAK,EAAE,aAAa;IACpBC,GAAG,EAAE,YAAY;IACjBC,IAAI,EAAE,aAAa;IACnBC,MAAM,EAAE,YAAY;IACpBC,gBAAgB,EAAE,YAAY;IAC9BC,IAAI,EAAE,WAAW;IACjBC,GAAG,EAAE,WAAW;IAChBC,MAAM,EAAE,YAAY;IACpBC,OAAO,EAAE,UAAU;IACnBC,IAAI,EAAE,QAAQ;IACdC,OAAO,EAAE,aAAa;IACtBC,OAAO,EAAE,aAAa;IACtBC,OAAO,EAAE,YAAY;IACrBC,EAAE,EAAE,YAAY;IAChBC,MAAM,EAAE,aAAa;IACrBC,OAAO,EAAE,WAAW;IACpBC,EAAE,EAAE,aAAa;IACjBC,MAAM,EAAE,aAAa;IACrBC,EAAE,EAAE,yBAAyB;IAC7BC,IAAI,EAAE,mBAAmB;IACzB,GAAG,EAAE;EACP;AACF,CAAC","ignoreList":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "solid-panes",
3
- "version": "3.7.3-1bd42721",
3
+ "version": "3.7.3-1c2b6945",
4
4
  "description": "Solid-compatible Panes: applets and views for the mashlib and databrowser",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -11,15 +11,15 @@
11
11
  "LICENSE"
12
12
  ],
13
13
  "scripts": {
14
- "clean": "rm -rf dist dist-dev src/versionInfo.ts",
15
- "build": "npm run clean && npm run build-version && npm run build-js && npm run postbuild-js",
16
- "build-version": "./timestamp.sh > src/versionInfo.ts && eslint 'src/versionInfo.ts' --fix",
17
- "build-form": "(cd src/schedule/ && make)",
18
- "build-js": "npm run build-form && tsc && npm run build-js-babel",
19
- "build-js-babel": "babel src --out-dir dist --extensions '.js' --only '**/*.js' --source-maps",
14
+ "clean": "rm -rf dist src/versionInfo.ts",
15
+ "build": "npm run clean && npm run build-version && npm run typecheck && npm run build-dist && npm run postbuild-js",
16
+ "build-version": "./timestamp.sh > src/versionInfo.ts && eslint 'src/versionInfo.ts' --fix",
17
+ "build-dist": "npm run build-js && npm run build-types",
18
+ "build-js": "babel src --out-dir dist --extensions '.ts,.js' --source-maps",
19
+ "build-types": "tsc --emitDeclarationOnly",
20
20
  "postbuild-js": "rm -f dist/versionInfo.d.ts dist/versionInfo.d.ts.map",
21
- "build-dev": "webpack --progress --mode=development",
22
21
  "lint": "eslint",
22
+ "lint-fix": "eslint --fix",
23
23
  "typecheck": "tsc --noEmit",
24
24
  "typecheck-test": "tsc --noEmit -p tsconfig.test.json",
25
25
  "test": "jest --no-coverage",
@@ -30,11 +30,11 @@
30
30
  "preversion": "npm run lint && npm run typecheck && npm test",
31
31
  "postversion": "git push origin main --follow-tags",
32
32
  "watch": "npm run build-version && babel src -d dist --source-maps --extensions '.ts,.js' --watch",
33
- "start": "npm install && npm run build-version && npx webpack serve --open"
33
+ "start": "webpack serve --config webpack.dev.config.js --open"
34
34
  },
35
35
  "repository": {
36
36
  "type": "git",
37
- "url": "https://github.com/solidos/solid-panes"
37
+ "url": "git+https://github.com/solidos/solid-panes.git"
38
38
  },
39
39
  "keywords": [
40
40
  "solid",
@@ -57,21 +57,20 @@
57
57
  "homepage": "https://github.com/solidos/solid-panes",
58
58
  "dependencies": {
59
59
  "@solid/better-simple-slideshow": "^0.1.0",
60
- "activitystreams-pane": "^0.7.1",
61
- "chat-pane": "^2.5.1",
62
- "contacts-pane": "^2.7.1",
60
+ "activitystreams-pane": "0.7.1-dfe75bf9",
61
+ "chat-pane": "^2.5.1-2b10771e",
62
+ "contacts-pane": "2.7.1-6b7e6809",
63
63
  "dompurify": "^3.2.6",
64
- "folder-pane": "^2.5.1",
65
- "issue-pane": "^2.6.1",
66
- "lint-staged": "^16.1.6",
64
+ "folder-pane": "^2.5.1-a0c75290",
65
+ "issue-pane": "2.6.1-0dab7458",
67
66
  "marked": "^16.1.2",
68
- "meeting-pane": "^2.5.1",
67
+ "meeting-pane": "2.5.1-5bcdc67c",
69
68
  "mime-types": "^3.0.1",
70
- "profile-pane": "^1.2.1",
69
+ "profile-pane": "1.2.1-df8d0a5a",
71
70
  "rdflib": "^2.2.37",
72
71
  "solid-namespace": "^0.5.4",
73
- "solid-ui": "^2.6.1",
74
- "source-pane": "^2.3.1"
72
+ "solid-ui": "2.6.1-b384f98",
73
+ "source-pane": "2.3.1-a2a6790e"
75
74
  },
76
75
  "devDependencies": {
77
76
  "@babel/cli": "^7.28.0",
@@ -96,8 +95,9 @@
96
95
  "jest": "^30.0.5",
97
96
  "jest-environment-jsdom": "^30.0.5",
98
97
  "jest-fetch-mock": "^3.0.3",
99
- "node-polyfill-webpack-plugin": "^4.1.0",
98
+ "lint-staged": "^16.2.6",
100
99
  "neostandard": "^0.12.2",
100
+ "node-polyfill-webpack-plugin": "^4.1.0",
101
101
  "path-browserify": "^1.0.1",
102
102
  "react": "^19.1.1",
103
103
  "react-dom": "^19.1.1",
@@ -1,124 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var _default = exports.default = `
8
- @prefix dc: <http://purl.org/dc/elements/1.1/>.
9
- @prefix foaf: <http://xmlns.com/foaf/0.1/>.
10
- @prefix cal: <http://www.w3.org/2002/12/cal/ical#>.
11
- @prefix ui: <http://www.w3.org/ns/ui#>.
12
- @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
13
- @prefix sched: <http://www.w3.org/ns/pim/schedule#>.
14
-
15
- cal:Vevent ui:annotationForm <#form2>, <#form3>; ui:creationForm <#form1> .
16
-
17
- <#bigForm>
18
- dc:title
19
- "Schedule event (single form).";
20
- a ui:Group;
21
- ui:parts ( <#form1> <#form2> <#form3> ).
22
-
23
- <#form1>
24
- dc:title
25
- "Schedule an event (wizard)";
26
- a ui:Form;
27
- ui:parts (
28
- <#form1header>
29
- <#eventTitle>
30
- <#eventLocation>
31
- <#eventType>
32
- <#eventSwitch>
33
- <#eventComment>
34
- <#eventAuthor> ).
35
-
36
- <#form1header> a ui:Heading; ui:contents "Schedule an event" .
37
-
38
- <#eventTitle>
39
- a ui:SingleLineTextField;
40
- ui:maxLength
41
- "128";
42
- ui:property
43
- cal:summary;
44
- ui:size
45
- "40".
46
-
47
- <#eventLocation>
48
- a ui:SingleLineTextField;
49
- ui:maxLength
50
- "512";
51
- ui:property
52
- cal:location;
53
- ui:size
54
- "40".
55
-
56
- <#eventType> a ui:BooleanField;
57
- ui:property sched:allDay;
58
- ui:default true . # Used to be the only way
59
-
60
- <#eventSwitch> a ui:Options;
61
- ui:dependingOn sched:allDay;
62
- ui:case [ ui:for true; ui:use <#AllDayForm> ];
63
- ui:case [ ui:for false; ui:use <#NotAllDayForm> ].
64
-
65
- <#AllDayForm> a ui:IntegerField ;
66
- ui:property sched:durationInDays;
67
- ui:label "How many days?";
68
- ui:min 1;
69
- ui:default 1 .
70
-
71
- <#NotAllDayForm> a ui:IntegerField ;
72
- ui:property sched:durationInMinutes;
73
- ui:label "Duration (mins)";
74
- ui:min 5;
75
- ui:default 55 .
76
-
77
- <#eventComment>
78
- a ui:MultiLineTextField;
79
- # ui:maxLength
80
- # "1048";
81
- # ui:size
82
- # "40".
83
- ui:property
84
- cal:comment.
85
-
86
- <#eventAuthor>
87
- a ui:Multiple; ui:min 1; ui:part <#eventAuthorGroup>; ui:property dc:author.
88
-
89
- <#eventAuthorGroup> a ui:Group; ui:parts ( <#authorName> <#authorEmail> ) .
90
- <#authorName> a ui:SingleLineTextField; ui:property foaf:name .
91
- <#authorEmail> a ui:EmailField; ui:label "email"; ui:property foaf:mbox .
92
-
93
-
94
- #####################
95
-
96
- <#form2> dc:title "Select possible days or times"; a ui:Form;
97
- ui:parts ( <#id1118132113134> <#possibleSwitch> ).
98
-
99
- <#id1118132113134> a ui:Heading; ui:contents "Time proposals" .
100
-
101
- <#possibleSwitch> a ui:Options;
102
- ui:dependingOn sched:allDay;
103
- ui:case [ ui:for true; ui:use <#AllDayForm2> ];
104
- ui:case [ ui:for false; ui:use <#NotAllDayForm2> ].
105
-
106
- <#AllDayForm2>
107
- a ui:Multiple; ui:min 2; ui:part <#posssibleDate>; ui:property sched:option.
108
- <#posssibleDate> a ui:DateField; ui:property cal:dtstart; ui:label "date".
109
-
110
- <#NotAllDayForm2>
111
- a ui:Multiple; ui:min 2; ui:part <#posssibleTime>; ui:property sched:option.
112
- <#posssibleTime> a ui:DateTimeField; ui:property cal:dtstart; ui:label "date and time".
113
-
114
- ##################################
115
-
116
- <#form3> dc:title "Select invited people"; a ui:Form; ui:parts ( <#id1118132113135> <#id1417314641301b> ) .
117
- <#id1417314641301b>
118
- a ui:Multiple; ui:min 1; ui:part <#id1417314674292b>; ui:property sched:invitee.
119
- <#id1417314674292b> a ui:EmailField; ui:label "email"; ui:property foaf:mbox .
120
- <#id1118132113135> a ui:Heading; ui:contents "Who to invite" .
121
-
122
- # ENDS
123
- `;
124
- //# sourceMappingURL=formsForSchedule.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"formsForSchedule.js","names":[],"sources":["../../src/schedule/formsForSchedule.js"],"sourcesContent":["export default `\n@prefix dc: <http://purl.org/dc/elements/1.1/>.\n@prefix foaf: <http://xmlns.com/foaf/0.1/>.\n@prefix cal: <http://www.w3.org/2002/12/cal/ical#>.\n@prefix ui: <http://www.w3.org/ns/ui#>.\n@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.\n@prefix sched: <http://www.w3.org/ns/pim/schedule#>.\n\n cal:Vevent ui:annotationForm <#form2>, <#form3>; ui:creationForm <#form1> .\n\n<#bigForm>\n dc:title\n \"Schedule event (single form).\";\n a ui:Group;\n ui:parts ( <#form1> <#form2> <#form3> ).\n\n<#form1>\n dc:title\n \"Schedule an event (wizard)\";\n a ui:Form;\n ui:parts (\n <#form1header>\n <#eventTitle>\n <#eventLocation>\n <#eventType>\n <#eventSwitch>\n <#eventComment>\n <#eventAuthor> ).\n\n<#form1header> a ui:Heading; ui:contents \"Schedule an event\" .\n\n<#eventTitle>\n a ui:SingleLineTextField;\n ui:maxLength\n \"128\";\n ui:property\n cal:summary;\n ui:size\n \"40\".\n\n<#eventLocation>\n a ui:SingleLineTextField;\n ui:maxLength\n \"512\";\n ui:property\n cal:location;\n ui:size\n \"40\".\n\n<#eventType> a ui:BooleanField;\n ui:property sched:allDay;\n ui:default true . # Used to be the only way\n\n<#eventSwitch> a ui:Options;\n ui:dependingOn sched:allDay;\n ui:case [ ui:for true; ui:use <#AllDayForm> ];\n ui:case [ ui:for false; ui:use <#NotAllDayForm> ].\n\n <#AllDayForm> a ui:IntegerField ;\n ui:property sched:durationInDays;\n ui:label \"How many days?\";\n ui:min 1;\n ui:default 1 .\n\n <#NotAllDayForm> a ui:IntegerField ;\n ui:property sched:durationInMinutes;\n ui:label \"Duration (mins)\";\n ui:min 5;\n ui:default 55 .\n\n<#eventComment>\n a ui:MultiLineTextField;\n# ui:maxLength\n# \"1048\";\n# ui:size\n# \"40\".\n ui:property\n cal:comment.\n\n<#eventAuthor>\n a ui:Multiple; ui:min 1; ui:part <#eventAuthorGroup>; ui:property dc:author.\n\n <#eventAuthorGroup> a ui:Group; ui:parts ( <#authorName> <#authorEmail> ) .\n <#authorName> a ui:SingleLineTextField; ui:property foaf:name .\n <#authorEmail> a ui:EmailField; ui:label \"email\"; ui:property foaf:mbox .\n\n\n#####################\n\n<#form2> dc:title \"Select possible days or times\"; a ui:Form;\n ui:parts ( <#id1118132113134> <#possibleSwitch> ).\n\n <#id1118132113134> a ui:Heading; ui:contents \"Time proposals\" .\n\n <#possibleSwitch> a ui:Options;\n ui:dependingOn sched:allDay;\n ui:case [ ui:for true; ui:use <#AllDayForm2> ];\n ui:case [ ui:for false; ui:use <#NotAllDayForm2> ].\n\n <#AllDayForm2>\n a ui:Multiple; ui:min 2; ui:part <#posssibleDate>; ui:property sched:option.\n <#posssibleDate> a ui:DateField; ui:property cal:dtstart; ui:label \"date\".\n\n <#NotAllDayForm2>\n a ui:Multiple; ui:min 2; ui:part <#posssibleTime>; ui:property sched:option.\n <#posssibleTime> a ui:DateTimeField; ui:property cal:dtstart; ui:label \"date and time\".\n\n ##################################\n\n <#form3> dc:title \"Select invited people\"; a ui:Form; ui:parts ( <#id1118132113135> <#id1417314641301b> ) .\n<#id1417314641301b>\n a ui:Multiple; ui:min 1; ui:part <#id1417314674292b>; ui:property sched:invitee.\n <#id1417314674292b> a ui:EmailField; ui:label \"email\"; ui:property foaf:mbox .\n <#id1118132113135> a ui:Heading; ui:contents \"Who to invite\" .\n\n# ENDS\n`\n"],"mappings":";;;;;;iCAAe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC","ignoreList":[]}
package/dist/types.d.ts DELETED
@@ -1,30 +0,0 @@
1
- interface SolidAuthorization {
2
- access_token: string;
3
- client_id: string;
4
- id_token: string;
5
- }
6
- interface SolidClaim {
7
- at_hash: string;
8
- aud: string;
9
- azp: string;
10
- cnf: {
11
- jwk: string;
12
- };
13
- exp: number;
14
- iat: number;
15
- iss: string;
16
- jti: string;
17
- nonce: string;
18
- sub: string;
19
- }
20
- export interface SolidSession {
21
- authorization: SolidAuthorization;
22
- credentialType: string;
23
- idClaims: SolidClaim;
24
- idp: string;
25
- issuer: string;
26
- sessionKey: string;
27
- webId: string;
28
- }
29
- export {};
30
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,UAAU,kBAAkB;IAE1B,YAAY,EAAE,MAAM,CAAA;IAEpB,SAAS,EAAE,MAAM,CAAA;IAEjB,QAAQ,EAAE,MAAM,CAAA;CACjB;AAED,UAAU,UAAU;IAElB,OAAO,EAAE,MAAM,CAAA;IACf,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE;QACH,GAAG,EAAE,MAAM,CAAA;KACZ,CAAA;IACD,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,MAAM,CAAA;IACb,GAAG,EAAE,MAAM,CAAA;CACZ;AAED,MAAM,WAAW,YAAY;IAC3B,aAAa,EAAE,kBAAkB,CAAA;IACjC,cAAc,EAAE,MAAM,CAAA;IACtB,QAAQ,EAAE,UAAU,CAAA;IACpB,GAAG,EAAE,MAAM,CAAA;IACX,MAAM,EAAE,MAAM,CAAA;IACd,UAAU,EAAE,MAAM,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;CACd"}
package/dist/types.js DELETED
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=types.js.map
package/dist/types.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":""}