solid-panes 3.5.36 → 3.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +196 -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 +202 -0
- package/jest.config.js +3 -0
- package/lib/RDFXMLPane.js.map +1 -1
- package/lib/argument/argumentPane.js.map +1 -1
- package/lib/attach/attachPane.js.map +1 -1
- package/lib/audio/audioPane.js +6 -6
- package/lib/audio/audioPane.js.map +1 -1
- package/lib/classInstancePane.js.map +1 -1
- package/lib/dashboard/basicPreferences.js +7 -7
- package/lib/dashboard/basicPreferences.js.map +1 -1
- package/lib/dashboard/dashboardPane.js.map +1 -1
- package/lib/dashboard/homepage.js +4 -4
- package/lib/dashboard/homepage.js.map +1 -1
- package/lib/dataContentPane.js.map +1 -1
- package/lib/defaultPane.js.map +1 -1
- package/lib/dokieli/dokieliPane.js +1 -1
- package/lib/dokieli/dokieliPane.js.map +1 -1
- package/lib/form/pane.js +2 -2
- package/lib/form/pane.js.map +1 -1
- package/lib/home/homePane.js +3 -3
- package/lib/home/homePane.js.map +1 -1
- package/lib/humanReadablePane.js.map +1 -1
- package/lib/imagePane.js.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/internal/internalPane.js.map +1 -1
- package/lib/mainPage/header.d.ts.map +1 -1
- package/lib/mainPage/header.js +8 -8
- package/lib/mainPage/header.js.map +1 -1
- package/lib/mainPage/index.js +3 -3
- package/lib/mainPage/index.js.map +1 -1
- package/lib/microblogPane/microblogPane.js.map +1 -1
- package/lib/n3Pane.js.map +1 -1
- package/lib/outline/manager.js +24 -28
- package/lib/outline/manager.js.map +1 -1
- 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 +4 -4
- package/lib/outline/manager.test.js.map +1 -1
- package/lib/outline/propertyViews.js +1 -1
- package/lib/outline/propertyViews.js.map +1 -1
- 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 +1 -0
- package/lib/outline/propertyViews.test.js.map +1 -1
- package/lib/outline/userInput.js.map +1 -1
- package/lib/pad/padPane.js.map +1 -1
- package/lib/playlist/playlistPane.js.map +1 -1
- package/lib/registerPanes.js +8 -3
- package/lib/registerPanes.js.map +1 -1
- package/lib/schedule/schedulePane.js +1 -1
- package/lib/schedule/schedulePane.js.map +1 -1
- package/lib/sharing/sharingPane.js.map +1 -1
- package/lib/slideshow/slideshowPane.js +1 -1
- package/lib/slideshow/slideshowPane.js.map +1 -1
- package/lib/socialPane.js.map +1 -1
- package/lib/tabbed/tabbedPane.js +3 -3
- package/lib/tabbed/tabbedPane.js.map +1 -1
- package/lib/tableViewPane.js.map +1 -1
- package/lib/transaction/pane.js.map +1 -1
- package/lib/transaction/period.js.map +1 -1
- package/lib/trip/tripPane.js.map +1 -1
- package/lib/trustedApplications/trustedApplications.dom.js +1 -1
- package/lib/trustedApplications/trustedApplications.dom.js.map +1 -1
- 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 +1 -1
- package/lib/trustedApplications/trustedApplications.test.js.map +1 -1
- package/lib/trustedApplications/trustedApplications.utils.js +5 -5
- package/lib/trustedApplications/trustedApplications.utils.js.map +1 -1
- package/lib/trustedApplications/trustedApplications.view.js +3 -3
- package/lib/trustedApplications/trustedApplications.view.js.map +1 -1
- package/lib/ui/pane.js.map +1 -1
- package/lib/versionInfo.js +3 -3
- package/lib/versionInfo.js.map +1 -1
- package/lib/video/videoPane.js.map +1 -1
- package/package.json +4 -4
- package/src/mainPage/header.ts +6 -3
- package/src/outline/manager.js +6 -10
- package/src/outline/propertyViews.test.ts +2 -1
- package/src/registerPanes.js +7 -2
- package/src/versionInfo.ts +3 -3
- package/tsconfig.json +7 -1
- package/.babelrc +0 -16
- package/.eslintignore +0 -3
- package/.eslintrc +0 -26
- package/.github/workflows/ci.yml +0 -82
- package/.nvmrc +0 -1
- package/lib/outline/licenseOptions.js +0 -80
- package/lib/outline/licenseOptions.js.map +0 -1
- package/lib/profile/editProfile.view.d.ts +0 -13
- package/lib/profile/editProfile.view.d.ts.map +0 -1
- package/lib/profile/editProfile.view.js +0 -135
- package/lib/profile/editProfile.view.js.map +0 -1
- package/lib/profile/profile.dom.d.ts +0 -4
- package/lib/profile/profile.dom.d.ts.map +0 -1
- package/lib/profile/profile.dom.js +0 -18
- package/lib/profile/profile.dom.js.map +0 -1
- package/src/outline/licenseOptions.js +0 -105
- package/src/profile/editProfile.view.ts +0 -164
- package/src/profile/profile.dom.ts +0 -20
- package/src/profile/profileFormText.ttl +0 -386
package/lib/outline/manager.js
CHANGED
|
@@ -10,21 +10,20 @@ var $rdf = _interopRequireWildcard(require("rdflib"));
|
|
|
10
10
|
var UI = _interopRequireWildcard(require("solid-ui"));
|
|
11
11
|
var _solidLogic = require("solid-logic");
|
|
12
12
|
var _propertyViews = require("./propertyViews");
|
|
13
|
-
var _licenseOptions = require("./licenseOptions");
|
|
14
13
|
var _outlineIcons = require("./outlineIcons.js");
|
|
15
14
|
var _userInput = require("./userInput.js");
|
|
16
15
|
var queryByExample = _interopRequireWildcard(require("./queryByExample.js"));
|
|
17
16
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
18
17
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
19
|
-
function _slicedToArray(
|
|
18
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
20
19
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
21
|
-
function _unsupportedIterableToArray(
|
|
22
|
-
function _arrayLikeToArray(
|
|
20
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
21
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
23
22
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
24
|
-
function _arrayWithHoles(
|
|
23
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
25
24
|
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, "catch": function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
|
|
26
|
-
function asyncGeneratorStep(
|
|
27
|
-
function _asyncToGenerator(
|
|
25
|
+
function asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }
|
|
26
|
+
function _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; } /* istanbul ignore file */ /* -*- coding: utf-8-dos -*-
|
|
28
27
|
Outline Mode Manager
|
|
29
28
|
*/ // @@ chec
|
|
30
29
|
/* global alert XPathResult sourceWidget */
|
|
@@ -162,13 +161,6 @@ function _default(context) {
|
|
|
162
161
|
td.setAttribute('notSelectable', 'false');
|
|
163
162
|
var theClass = 'obj';
|
|
164
163
|
|
|
165
|
-
// check the IPR on the data. Ok if there is any checked license which is one the document has.
|
|
166
|
-
if (statement && statement.why) {
|
|
167
|
-
if (_licenseOptions.licenseOptions && _licenseOptions.licenseOptions.checklicense && _licenseOptions.licenseOptions.checklicense()) {
|
|
168
|
-
theClass += ' licOkay'; // flag as light green etc .licOkay {background-color: #dfd}
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
|
|
172
164
|
// set about and put 'expand' icon
|
|
173
165
|
if (obj.termType === 'NamedNode' || obj.termType === 'BlankNode' || obj.termType === 'Literal' && obj.value.slice && (obj.value.slice(0, 6) === 'ftp://' || obj.value.slice(0, 8) === 'https://' || obj.value.slice(0, 7) === 'http://')) {
|
|
174
166
|
td.setAttribute('about', obj.toNT());
|
|
@@ -258,7 +250,7 @@ function _default(context) {
|
|
|
258
250
|
return _globalAppTabs.apply(this, arguments);
|
|
259
251
|
}
|
|
260
252
|
function _globalAppTabs() {
|
|
261
|
-
_globalAppTabs = _asyncToGenerator(
|
|
253
|
+
_globalAppTabs = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
262
254
|
var options,
|
|
263
255
|
div,
|
|
264
256
|
me,
|
|
@@ -323,13 +315,13 @@ function _default(context) {
|
|
|
323
315
|
return _getDashboardItems.apply(this, arguments);
|
|
324
316
|
}
|
|
325
317
|
function _getDashboardItems() {
|
|
326
|
-
_getDashboardItems = _asyncToGenerator(
|
|
318
|
+
_getDashboardItems = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee7() {
|
|
327
319
|
var me, div, _yield$Promise$all, _yield$Promise$all2, books, pods, getPods, _getPods, getAddressBooks, _getAddressBooks;
|
|
328
320
|
return _regeneratorRuntime().wrap(function _callee7$(_context8) {
|
|
329
321
|
while (1) switch (_context8.prev = _context8.next) {
|
|
330
322
|
case 0:
|
|
331
323
|
_getAddressBooks = function _getAddressBooks3() {
|
|
332
|
-
_getAddressBooks = _asyncToGenerator(
|
|
324
|
+
_getAddressBooks = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee6() {
|
|
333
325
|
var _context6;
|
|
334
326
|
return _regeneratorRuntime().wrap(function _callee6$(_context7) {
|
|
335
327
|
while (1) switch (_context7.prev = _context7.next) {
|
|
@@ -370,7 +362,7 @@ function _default(context) {
|
|
|
370
362
|
return _getAddressBooks.apply(this, arguments);
|
|
371
363
|
};
|
|
372
364
|
_getPods = function _getPods3() {
|
|
373
|
-
_getPods = _asyncToGenerator(
|
|
365
|
+
_getPods = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee5() {
|
|
374
366
|
var addPodStorage, _addPodStorage, addPodStorageFromUrl, _addPodStorageFromUrl, pods, uri, podUrl, uniques;
|
|
375
367
|
return _regeneratorRuntime().wrap(function _callee5$(_context5) {
|
|
376
368
|
while (1) switch (_context5.prev = _context5.next) {
|
|
@@ -385,7 +377,7 @@ function _default(context) {
|
|
|
385
377
|
return uniqueNodes;
|
|
386
378
|
};
|
|
387
379
|
_addPodStorageFromUrl = function _addPodStorageFromUrl3() {
|
|
388
|
-
_addPodStorageFromUrl = _asyncToGenerator(
|
|
380
|
+
_addPodStorageFromUrl = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4(url) {
|
|
389
381
|
var podStorage, pathStorage;
|
|
390
382
|
return _regeneratorRuntime().wrap(function _callee4$(_context4) {
|
|
391
383
|
while (1) switch (_context4.prev = _context4.next) {
|
|
@@ -421,7 +413,7 @@ function _default(context) {
|
|
|
421
413
|
return _addPodStorageFromUrl.apply(this, arguments);
|
|
422
414
|
};
|
|
423
415
|
_addPodStorage = function _addPodStorage3() {
|
|
424
|
-
_addPodStorage = _asyncToGenerator(
|
|
416
|
+
_addPodStorage = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(pod) {
|
|
425
417
|
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
426
418
|
while (1) switch (_context3.prev = _context3.next) {
|
|
427
419
|
case 0:
|
|
@@ -461,8 +453,8 @@ function _default(context) {
|
|
|
461
453
|
case 14:
|
|
462
454
|
// load pod's storages from profile
|
|
463
455
|
pods = kb.each(me, ns.space('storage'), null, me.doc());
|
|
464
|
-
pods.map(
|
|
465
|
-
var _ref = _asyncToGenerator(
|
|
456
|
+
pods.map(/*#__PURE__*/function () {
|
|
457
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(pod) {
|
|
466
458
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
467
459
|
while (1) switch (_context2.prev = _context2.next) {
|
|
468
460
|
case 0:
|
|
@@ -546,9 +538,13 @@ function _default(context) {
|
|
|
546
538
|
paneName: 'basicPreferences',
|
|
547
539
|
label: 'Preferences',
|
|
548
540
|
icon: UI.icons.iconBase + 'noun_Sliders_341315_00000.svg'
|
|
541
|
+
}, {
|
|
542
|
+
paneName: 'profile',
|
|
543
|
+
label: 'Your Profile',
|
|
544
|
+
icon: UI.icons.iconBase + 'noun_15059.svg'
|
|
549
545
|
}, {
|
|
550
546
|
paneName: 'editProfile',
|
|
551
|
-
label: 'Edit your
|
|
547
|
+
label: 'Edit your Profile',
|
|
552
548
|
icon: UI.icons.iconBase + 'noun_492246.svg'
|
|
553
549
|
}].concat(books).concat(pods));
|
|
554
550
|
case 15:
|
|
@@ -572,7 +568,7 @@ function _default(context) {
|
|
|
572
568
|
return _showDashboard.apply(this, arguments);
|
|
573
569
|
}
|
|
574
570
|
function _showDashboard() {
|
|
575
|
-
_showDashboard = _asyncToGenerator(
|
|
571
|
+
_showDashboard = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee8() {
|
|
576
572
|
var options,
|
|
577
573
|
dashboardContainer,
|
|
578
574
|
outlineContainer,
|
|
@@ -658,7 +654,7 @@ function _default(context) {
|
|
|
658
654
|
return _loadContainerRepresentation.apply(this, arguments);
|
|
659
655
|
}
|
|
660
656
|
function _loadContainerRepresentation() {
|
|
661
|
-
_loadContainerRepresentation = _asyncToGenerator(
|
|
657
|
+
_loadContainerRepresentation = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee9(subject) {
|
|
662
658
|
var response, containerTurtle;
|
|
663
659
|
return _regeneratorRuntime().wrap(function _callee9$(_context10) {
|
|
664
660
|
while (1) switch (_context10.prev = _context10.next) {
|
|
@@ -689,7 +685,7 @@ function _default(context) {
|
|
|
689
685
|
return _getRelevantPanes.apply(this, arguments);
|
|
690
686
|
}
|
|
691
687
|
function _getRelevantPanes() {
|
|
692
|
-
_getRelevantPanes = _asyncToGenerator(
|
|
688
|
+
_getRelevantPanes = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee10(subject, context) {
|
|
693
689
|
var panes, relevantPanes, filteredPanes, firstRelevantPaneIndex, firstFilteredPaneIndex;
|
|
694
690
|
return _regeneratorRuntime().wrap(function _callee10$(_context11) {
|
|
695
691
|
while (1) switch (_context11.prev = _context11.next) {
|
|
@@ -760,13 +756,13 @@ function _default(context) {
|
|
|
760
756
|
// Remove a node from the DOM so that Firefox refreshes the screen OK
|
|
761
757
|
// Just deleting it cause whitespace to accumulate.
|
|
762
758
|
function _expandedHeaderTR() {
|
|
763
|
-
_expandedHeaderTR = _asyncToGenerator(
|
|
759
|
+
_expandedHeaderTR = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee12(subject, requiredPane, options) {
|
|
764
760
|
var renderPaneIconTray, _renderPaneIconTray, tr, td, header, showHeader, icon, strong;
|
|
765
761
|
return _regeneratorRuntime().wrap(function _callee12$(_context13) {
|
|
766
762
|
while (1) switch (_context13.prev = _context13.next) {
|
|
767
763
|
case 0:
|
|
768
764
|
_renderPaneIconTray = function _renderPaneIconTray3() {
|
|
769
|
-
_renderPaneIconTray = _asyncToGenerator(
|
|
765
|
+
_renderPaneIconTray = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee11(td) {
|
|
770
766
|
var options,
|
|
771
767
|
paneShownStyle,
|
|
772
768
|
paneHiddenStyle,
|