solid-panes 3.6.3 → 3.7.0-1141b5fa

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 (107) hide show
  1. package/coverage/clover.xml +7 -7
  2. package/coverage/coverage-final.json +1 -1
  3. package/coverage/lcov-report/block-navigation.js +1 -1
  4. package/coverage/lcov-report/index.html +5 -5
  5. package/coverage/lcov-report/outline/index.html +5 -5
  6. package/coverage/lcov-report/outline/outlineIcons.js.html +1 -1
  7. package/coverage/lcov-report/outline/propertyViews.ts.html +5 -5
  8. package/coverage/lcov-report/outline/viewAsImage.ts.html +1 -1
  9. package/coverage/lcov-report/outline/viewAsMbox.ts.html +1 -1
  10. package/coverage/lcov-report/sorter.js +21 -7
  11. package/coverage/lcov-report/trustedApplications/index.html +1 -1
  12. package/coverage/lcov-report/trustedApplications/trustedApplications.utils.ts.html +1 -1
  13. package/coverage/lcov.info +3 -1
  14. package/lib/RDFXMLPane.js +1 -2
  15. package/lib/RDFXMLPane.js.map +1 -1
  16. package/lib/argument/argumentPane.js +1 -2
  17. package/lib/argument/argumentPane.js.map +1 -1
  18. package/lib/attach/attachPane.js +2 -3
  19. package/lib/attach/attachPane.js.map +1 -1
  20. package/lib/audio/audioPane.js +1 -2
  21. package/lib/audio/audioPane.js.map +1 -1
  22. package/lib/classInstancePane.js +1 -2
  23. package/lib/classInstancePane.js.map +1 -1
  24. package/lib/dashboard/basicPreferences.js +47 -55
  25. package/lib/dashboard/basicPreferences.js.map +1 -1
  26. package/lib/dashboard/homepage.js +15 -21
  27. package/lib/dashboard/homepage.js.map +1 -1
  28. package/lib/dataContentPane.js +1 -2
  29. package/lib/dataContentPane.js.map +1 -1
  30. package/lib/defaultPane.js +1 -2
  31. package/lib/defaultPane.js.map +1 -1
  32. package/lib/dokieli/dokieliPane.js +1 -2
  33. package/lib/dokieli/dokieliPane.js.map +1 -1
  34. package/lib/form/pane.js +1 -2
  35. package/lib/form/pane.js.map +1 -1
  36. package/lib/home/homePane.js +10 -11
  37. package/lib/home/homePane.js.map +1 -1
  38. package/lib/imagePane.js +1 -2
  39. package/lib/imagePane.js.map +1 -1
  40. package/lib/index.js +1 -2
  41. package/lib/index.js.map +1 -1
  42. package/lib/mainPage/header.js +33 -43
  43. package/lib/mainPage/header.js.map +1 -1
  44. package/lib/mainPage/index.js +9 -12
  45. package/lib/mainPage/index.js.map +1 -1
  46. package/lib/microblogPane/microblogPane.js +1 -2
  47. package/lib/microblogPane/microblogPane.js.map +1 -1
  48. package/lib/n3Pane.js +1 -2
  49. package/lib/n3Pane.js.map +1 -1
  50. package/lib/outline/manager.js +161 -190
  51. package/lib/outline/manager.js.map +1 -1
  52. package/lib/outline/manager.test.js +10 -11
  53. package/lib/outline/manager.test.js.map +1 -1
  54. package/lib/outline/outlineIcons.js +1 -2
  55. package/lib/outline/outlineIcons.js.map +1 -1
  56. package/lib/outline/queryByExample.js +1 -2
  57. package/lib/outline/queryByExample.js.map +1 -1
  58. package/lib/outline/userInput.js +4 -8
  59. package/lib/outline/userInput.js.map +1 -1
  60. package/lib/outline/viewAsImage.d.ts.map +1 -1
  61. package/lib/outline/viewAsImage.js +1 -2
  62. package/lib/outline/viewAsImage.js.map +1 -1
  63. package/lib/outline/viewAsMbox.d.ts.map +1 -1
  64. package/lib/playlist/playlistPane.js +1 -2
  65. package/lib/playlist/playlistPane.js.map +1 -1
  66. package/lib/schedule/schedulePane.js +1 -2
  67. package/lib/schedule/schedulePane.js.map +1 -1
  68. package/lib/slideshow/slideshowPane.js +1 -2
  69. package/lib/slideshow/slideshowPane.js.map +1 -1
  70. package/lib/socialPane.js +1 -2
  71. package/lib/socialPane.js.map +1 -1
  72. package/lib/tabbed/tabbedPane.js +11 -12
  73. package/lib/tabbed/tabbedPane.js.map +1 -1
  74. package/lib/tableViewPane.js +1 -2
  75. package/lib/tableViewPane.js.map +1 -1
  76. package/lib/test-import-export/edit-importer.js +0 -1
  77. package/lib/test-import-export/edit-importer.js.map +1 -1
  78. package/lib/transaction/pane.js +3 -4
  79. package/lib/transaction/pane.js.map +1 -1
  80. package/lib/transaction/period.js +3 -4
  81. package/lib/transaction/period.js.map +1 -1
  82. package/lib/trip/tripPane.js +1 -2
  83. package/lib/trip/tripPane.js.map +1 -1
  84. package/lib/trustedApplications/trustedApplications.test.js +1 -2
  85. package/lib/trustedApplications/trustedApplications.test.js.map +1 -1
  86. package/lib/trustedApplications/trustedApplications.view.js +15 -16
  87. package/lib/trustedApplications/trustedApplications.view.js.map +1 -1
  88. package/lib/types.js.map +1 -1
  89. package/lib/ui/pane.js +1 -2
  90. package/lib/ui/pane.js.map +1 -1
  91. package/lib/versionInfo.d.ts +2 -2
  92. package/lib/versionInfo.d.ts.map +1 -1
  93. package/lib/versionInfo.js +28 -28
  94. package/lib/versionInfo.js.map +1 -1
  95. package/lib/video/videoPane.js +1 -2
  96. package/lib/video/videoPane.js.map +1 -1
  97. package/package.json +37 -36
  98. package/src/attach/attachPane.js +1 -1
  99. package/src/outline/manager.js +1 -1
  100. package/src/outline/userInput.js +6 -6
  101. package/src/test-import-export/edit-importer.js +1 -1
  102. package/src/transaction/pane.js +2 -2
  103. package/src/transaction/period.js +2 -2
  104. package/src/trustedApplications/__snapshots__/trustedApplications.test.ts.snap +1 -1
  105. package/src/types.ts +4 -4
  106. package/src/versionInfo.ts +30 -31
  107. package/timestamp.sh +10 -4
@@ -13,15 +13,15 @@ var _propertyViews = require("./propertyViews");
13
13
  var _outlineIcons = require("./outlineIcons.js");
14
14
  var _userInput = require("./userInput.js");
15
15
  var queryByExample = _interopRequireWildcard(require("./queryByExample.js"));
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); }
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; }
16
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, "default": e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t6 in e) "default" !== _t6 && {}.hasOwnProperty.call(e, _t6) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t6)) && (i.get || i.set) ? o(f, _t6, i) : f[_t6] = e[_t6]); return f; })(e, t); }
18
17
  function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
19
18
  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."); }
20
19
  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
20
  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; }
22
21
  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; } }
23
22
  function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
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; }
23
+ function _regenerator() { /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ var e, t, r = "function" == typeof Symbol ? Symbol : {}, n = r.iterator || "@@iterator", o = r.toStringTag || "@@toStringTag"; function i(r, n, o, i) { var c = n && n.prototype instanceof Generator ? n : Generator, u = Object.create(c.prototype); return _regeneratorDefine2(u, "_invoke", function (r, n, o) { var i, c, u, f = 0, p = o || [], y = !1, G = { p: 0, n: 0, v: e, a: d, f: d.bind(e, 4), d: function d(t, r) { return i = t, c = 0, u = e, G.n = r, a; } }; function d(r, n) { for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) { var o, i = p[t], d = G.p, l = i[2]; r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0)); } if (o || r > 1) return a; throw y = !0, n; } return function (o, p, l) { if (f > 1) throw TypeError("Generator is already running"); for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) { i || (c ? c < 3 ? (c > 1 && (G.n = -1), d(c, u)) : G.n = u : G.v = u); try { if (f = 2, i) { if (c || (o = "next"), t = i[o]) { if (!(t = t.call(i, u))) throw TypeError("iterator result is not an object"); if (!t.done) return t; u = t.value, c < 2 && (c = 0); } else 1 === c && (t = i["return"]) && t.call(i), c < 2 && (u = TypeError("The iterator does not provide a '" + o + "' method"), c = 1); i = e; } else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break; } catch (t) { i = e, c = 1, u = t; } finally { f = 1; } } return { value: t, done: y }; }; }(r, o, i), !0), u; } var a = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} t = Object.getPrototypeOf; var c = [][n] ? t(t([][n]())) : (_regeneratorDefine2(t = {}, n, function () { return this; }), t), u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c); function f(e) { return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, _regeneratorDefine2(e, o, "GeneratorFunction")), e.prototype = Object.create(u), e; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, _regeneratorDefine2(u, "constructor", GeneratorFunctionPrototype), _regeneratorDefine2(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = "GeneratorFunction", _regeneratorDefine2(GeneratorFunctionPrototype, o, "GeneratorFunction"), _regeneratorDefine2(u), _regeneratorDefine2(u, o, "Generator"), _regeneratorDefine2(u, n, function () { return this; }), _regeneratorDefine2(u, "toString", function () { return "[object Generator]"; }), (_regenerator = function _regenerator() { return { w: i, m: f }; })(); }
24
+ function _regeneratorDefine2(e, r, n, t) { var i = Object.defineProperty; try { i({}, "", {}); } catch (e) { i = 0; } _regeneratorDefine2 = function _regeneratorDefine(e, r, n, t) { function o(r, n) { _regeneratorDefine2(e, r, function (e) { return this._invoke(r, n, e); }); } r ? i ? i(e, r, { value: n, enumerable: !t, configurable: !t, writable: !t }) : e[r] = n : (o("next", 0), o("throw", 1), o("return", 2)); }, _regeneratorDefine2(e, r, n, t); }
25
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
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 -*-
27
27
  Outline Mode Manager
@@ -250,7 +250,7 @@ function _default(context) {
250
250
  return _globalAppTabs.apply(this, arguments);
251
251
  }
252
252
  function _globalAppTabs() {
253
- _globalAppTabs = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
253
+ _globalAppTabs = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee() {
254
254
  var options,
255
255
  div,
256
256
  me,
@@ -258,8 +258,8 @@ function _default(context) {
258
258
  renderTab,
259
259
  renderMain,
260
260
  _args = arguments;
261
- return _regeneratorRuntime().wrap(function _callee$(_context) {
262
- while (1) switch (_context.prev = _context.next) {
261
+ return _regenerator().w(function (_context) {
262
+ while (1) switch (_context.n) {
263
263
  case 0:
264
264
  renderMain = function _renderMain(containerDiv, item) {
265
265
  // Items are pane names
@@ -278,16 +278,16 @@ function _default(context) {
278
278
  div = dom.createElement('div');
279
279
  me = _solidLogic.authn.currentUser();
280
280
  if (me) {
281
- _context.next = 9;
281
+ _context.n = 1;
282
282
  break;
283
283
  }
284
284
  alert('Must be logged in for this');
285
285
  throw new Error('Not logged in');
286
- case 9:
287
- _context.next = 11;
286
+ case 1:
287
+ _context.n = 2;
288
288
  return getDashboardItems();
289
- case 11:
290
- items = _context.sent;
289
+ case 2:
290
+ items = _context.v;
291
291
  div.appendChild(UI.tabs.tabWidget({
292
292
  dom: dom,
293
293
  subject: me,
@@ -301,10 +301,7 @@ function _default(context) {
301
301
  selectedTab: options.selectedTab,
302
302
  onClose: options.onClose
303
303
  }));
304
- return _context.abrupt("return", div);
305
- case 14:
306
- case "end":
307
- return _context.stop();
304
+ return _context.a(2, div);
308
305
  }
309
306
  }, _callee);
310
307
  }));
@@ -315,27 +312,27 @@ function _default(context) {
315
312
  return _getDashboardItems.apply(this, arguments);
316
313
  }
317
314
  function _getDashboardItems() {
318
- _getDashboardItems = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee7() {
315
+ _getDashboardItems = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee7() {
319
316
  var me, div, _yield$Promise$all, _yield$Promise$all2, books, pods, getPods, _getPods, getAddressBooks, _getAddressBooks;
320
- return _regeneratorRuntime().wrap(function _callee7$(_context8) {
321
- while (1) switch (_context8.prev = _context8.next) {
317
+ return _regenerator().w(function (_context8) {
318
+ while (1) switch (_context8.n) {
322
319
  case 0:
323
320
  _getAddressBooks = function _getAddressBooks3() {
324
- _getAddressBooks = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee6() {
325
- var _context6;
326
- return _regeneratorRuntime().wrap(function _callee6$(_context7) {
327
- while (1) switch (_context7.prev = _context7.next) {
321
+ _getAddressBooks = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee6() {
322
+ var _context6, _t3;
323
+ return _regenerator().w(function (_context7) {
324
+ while (1) switch (_context7.p = _context7.n) {
328
325
  case 0:
329
- _context7.prev = 0;
330
- _context7.next = 3;
326
+ _context7.p = 0;
327
+ _context7.n = 1;
331
328
  return UI.login.findAppInstances({
332
329
  me: me,
333
330
  div: div,
334
331
  dom: dom
335
332
  }, ns.vcard('AddressBook'));
336
- case 3:
337
- _context6 = _context7.sent;
338
- return _context7.abrupt("return", (_context6.instances || []).map(function (book, index) {
333
+ case 1:
334
+ _context6 = _context7.v;
335
+ return _context7.a(2, (_context6.instances || []).map(function (book, index) {
339
336
  return {
340
337
  paneName: 'contact',
341
338
  tabName: "contact-".concat(index),
@@ -344,17 +341,13 @@ function _default(context) {
344
341
  icon: UI.icons.iconBase + 'noun_15695.svg'
345
342
  };
346
343
  }));
347
- case 7:
348
- _context7.prev = 7;
349
- _context7.t0 = _context7["catch"](0);
344
+ case 2:
345
+ _context7.p = 2;
346
+ _t3 = _context7.v;
350
347
  console.error('oops in globalAppTabs AddressBook');
351
- case 10:
352
- return _context7.abrupt("return", []);
353
- case 11:
354
- case "end":
355
- return _context7.stop();
348
+ return _context7.a(2, []);
356
349
  }
357
- }, _callee6, null, [[0, 7]]);
350
+ }, _callee6, null, [[0, 2]]);
358
351
  }));
359
352
  return _getAddressBooks.apply(this, arguments);
360
353
  };
@@ -362,10 +355,10 @@ function _default(context) {
362
355
  return _getAddressBooks.apply(this, arguments);
363
356
  };
364
357
  _getPods = function _getPods3() {
365
- _getPods = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee5() {
366
- var addPodStorage, _addPodStorage, addPodStorageFromUrl, _addPodStorageFromUrl, pods, uri, podUrl, uniques;
367
- return _regeneratorRuntime().wrap(function _callee5$(_context5) {
368
- while (1) switch (_context5.prev = _context5.next) {
358
+ _getPods = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee5() {
359
+ var addPodStorage, _addPodStorage, addPodStorageFromUrl, _addPodStorageFromUrl, pods, uri, podUrl, uniques, _t, _t2;
360
+ return _regenerator().w(function (_context5) {
361
+ while (1) switch (_context5.p = _context5.n) {
369
362
  case 0:
370
363
  uniques = function _uniques(nodes) {
371
364
  var uniqueNodes = [];
@@ -377,33 +370,32 @@ function _default(context) {
377
370
  return uniqueNodes;
378
371
  };
379
372
  _addPodStorageFromUrl = function _addPodStorageFromUrl3() {
380
- _addPodStorageFromUrl = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4(url) {
373
+ _addPodStorageFromUrl = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee4(url) {
381
374
  var podStorage, pathStorage;
382
- return _regeneratorRuntime().wrap(function _callee4$(_context4) {
383
- while (1) switch (_context4.prev = _context4.next) {
375
+ return _regenerator().w(function (_context4) {
376
+ while (1) switch (_context4.n) {
384
377
  case 0:
385
378
  podStorage = new URL(url); // check for predicate pim:Storage in containers up the path tree
386
379
  pathStorage = podStorage.pathname;
387
- case 2:
380
+ case 1:
388
381
  if (!pathStorage.length) {
389
- _context4.next = 10;
382
+ _context4.n = 4;
390
383
  break;
391
384
  }
392
385
  pathStorage = pathStorage.substring(0, pathStorage.lastIndexOf('/'));
393
- _context4.next = 6;
386
+ _context4.n = 2;
394
387
  return addPodStorage(kb.sym("".concat(podStorage.origin).concat(pathStorage, "/")));
395
- case 6:
396
- if (!_context4.sent) {
397
- _context4.next = 8;
388
+ case 2:
389
+ if (!_context4.v) {
390
+ _context4.n = 3;
398
391
  break;
399
392
  }
400
- return _context4.abrupt("return");
401
- case 8:
402
- _context4.next = 2;
393
+ return _context4.a(2);
394
+ case 3:
395
+ _context4.n = 1;
403
396
  break;
404
- case 10:
405
- case "end":
406
- return _context4.stop();
397
+ case 4:
398
+ return _context4.a(2);
407
399
  }
408
400
  }, _callee4);
409
401
  }));
@@ -413,24 +405,21 @@ function _default(context) {
413
405
  return _addPodStorageFromUrl.apply(this, arguments);
414
406
  };
415
407
  _addPodStorage = function _addPodStorage3() {
416
- _addPodStorage = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(pod) {
417
- return _regeneratorRuntime().wrap(function _callee3$(_context3) {
418
- while (1) switch (_context3.prev = _context3.next) {
408
+ _addPodStorage = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee3(pod) {
409
+ return _regenerator().w(function (_context3) {
410
+ while (1) switch (_context3.n) {
419
411
  case 0:
420
- _context3.next = 2;
412
+ _context3.n = 1;
421
413
  return loadContainerRepresentation(pod);
422
- case 2:
414
+ case 1:
423
415
  if (!kb.holds(pod, ns.rdf('type'), ns.space('Storage'), pod.doc())) {
424
- _context3.next = 5;
416
+ _context3.n = 2;
425
417
  break;
426
418
  }
427
419
  pods.push(pod);
428
- return _context3.abrupt("return", true);
429
- case 5:
430
- return _context3.abrupt("return", false);
431
- case 6:
432
- case "end":
433
- return _context3.stop();
420
+ return _context3.a(2, true);
421
+ case 2:
422
+ return _context3.a(2, false);
434
423
  }
435
424
  }, _callee3);
436
425
  }));
@@ -439,30 +428,29 @@ function _default(context) {
439
428
  addPodStorage = function _addPodStorage2(_x7) {
440
429
  return _addPodStorage.apply(this, arguments);
441
430
  };
442
- _context5.prev = 5;
443
- _context5.next = 8;
431
+ _context5.p = 1;
432
+ _context5.n = 2;
444
433
  return kb.fetcher.load(me.doc());
445
- case 8:
446
- _context5.next = 14;
434
+ case 2:
435
+ _context5.n = 4;
447
436
  break;
448
- case 10:
449
- _context5.prev = 10;
450
- _context5.t0 = _context5["catch"](5);
451
- console.error('Unable to load profile', _context5.t0);
452
- return _context5.abrupt("return", []);
453
- case 14:
437
+ case 3:
438
+ _context5.p = 3;
439
+ _t = _context5.v;
440
+ console.error('Unable to load profile', _t);
441
+ return _context5.a(2, []);
442
+ case 4:
454
443
  // load pod's storages from profile
455
444
  pods = kb.each(me, ns.space('storage'), null, me.doc());
456
445
  pods.map(/*#__PURE__*/function () {
457
- var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(pod) {
458
- return _regeneratorRuntime().wrap(function _callee2$(_context2) {
459
- while (1) switch (_context2.prev = _context2.next) {
446
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2(pod) {
447
+ return _regenerator().w(function (_context2) {
448
+ while (1) switch (_context2.n) {
460
449
  case 0:
461
- _context2.next = 2;
450
+ _context2.n = 1;
462
451
  return loadContainerRepresentation(pod);
463
- case 2:
464
- case "end":
465
- return _context2.stop();
452
+ case 1:
453
+ return _context2.a(2);
466
454
  }
467
455
  }, _callee2);
468
456
  }));
@@ -470,28 +458,28 @@ function _default(context) {
470
458
  return _ref.apply(this, arguments);
471
459
  };
472
460
  }());
473
- _context5.prev = 16;
461
+ _context5.p = 5;
474
462
  // if uri then SolidOS is a browse.html web app
475
463
  uri = new URL(window.location.href).searchParams.get('uri');
476
464
  podUrl = uri || window.location.href;
477
- _context5.next = 21;
465
+ _context5.n = 6;
478
466
  return addPodStorageFromUrl(podUrl);
479
- case 21:
480
- _context5.next = 26;
467
+ case 6:
468
+ _context5.n = 8;
481
469
  break;
482
- case 23:
483
- _context5.prev = 23;
484
- _context5.t1 = _context5["catch"](16);
485
- console.error('cannot load container', _context5.t1);
486
- case 26:
470
+ case 7:
471
+ _context5.p = 7;
472
+ _t2 = _context5.v;
473
+ console.error('cannot load container', _t2);
474
+ case 8:
487
475
  pods = uniques(pods);
488
476
  if (pods.length) {
489
- _context5.next = 29;
477
+ _context5.n = 9;
490
478
  break;
491
479
  }
492
- return _context5.abrupt("return", []);
493
- case 29:
494
- return _context5.abrupt("return", pods.map(function (pod, index) {
480
+ return _context5.a(2, []);
481
+ case 9:
482
+ return _context5.a(2, pods.map(function (pod, index) {
495
483
  function split(item) {
496
484
  return item.uri.split('//')[1].slice(0, -1);
497
485
  }
@@ -504,11 +492,8 @@ function _default(context) {
504
492
  icon: UI.icons.iconBase + 'noun_Cabinet_251723.svg'
505
493
  };
506
494
  }));
507
- case 30:
508
- case "end":
509
- return _context5.stop();
510
495
  }
511
- }, _callee5, null, [[5, 10], [16, 23]]);
496
+ }, _callee5, null, [[5, 7], [1, 3]]);
512
497
  }));
513
498
  return _getPods.apply(this, arguments);
514
499
  };
@@ -517,20 +502,20 @@ function _default(context) {
517
502
  };
518
503
  me = _solidLogic.authn.currentUser();
519
504
  if (me) {
520
- _context8.next = 7;
505
+ _context8.n = 1;
521
506
  break;
522
507
  }
523
- return _context8.abrupt("return", []);
524
- case 7:
508
+ return _context8.a(2, []);
509
+ case 1:
525
510
  div = dom.createElement('div');
526
- _context8.next = 10;
511
+ _context8.n = 2;
527
512
  return Promise.all([getAddressBooks(), getPods()]);
528
- case 10:
529
- _yield$Promise$all = _context8.sent;
513
+ case 2:
514
+ _yield$Promise$all = _context8.v;
530
515
  _yield$Promise$all2 = _slicedToArray(_yield$Promise$all, 2);
531
516
  books = _yield$Promise$all2[0];
532
517
  pods = _yield$Promise$all2[1];
533
- return _context8.abrupt("return", [{
518
+ return _context8.a(2, [{
534
519
  paneName: 'home',
535
520
  label: 'Your stuff',
536
521
  icon: UI.icons.iconBase + 'noun_547570.svg'
@@ -547,9 +532,6 @@ function _default(context) {
547
532
  label: 'Edit your Profile',
548
533
  icon: UI.icons.iconBase + 'noun_492246.svg'
549
534
  }].concat(books).concat(pods));
550
- case 15:
551
- case "end":
552
- return _context8.stop();
553
535
  }
554
536
  }, _callee7);
555
537
  }));
@@ -568,7 +550,7 @@ function _default(context) {
568
550
  return _showDashboard.apply(this, arguments);
569
551
  }
570
552
  function _showDashboard() {
571
- _showDashboard = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee8() {
553
+ _showDashboard = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee8() {
572
554
  var options,
573
555
  dashboardContainer,
574
556
  outlineContainer,
@@ -577,8 +559,8 @@ function _default(context) {
577
559
  tab,
578
560
  closeDashboard,
579
561
  _args8 = arguments;
580
- return _regeneratorRuntime().wrap(function _callee8$(_context9) {
581
- while (1) switch (_context9.prev = _context9.next) {
562
+ return _regenerator().w(function (_context9) {
563
+ while (1) switch (_context9.n) {
582
564
  case 0:
583
565
  closeDashboard = function _closeDashboard() {
584
566
  dashboardContainer.style.display = 'none';
@@ -588,28 +570,28 @@ function _default(context) {
588
570
  dashboardContainer = getDashboardContainer();
589
571
  outlineContainer = getOutlineContainer(); // reuse dashboard if already children already is inserted
590
572
  if (!(dashboardContainer.childNodes.length > 0 && options.pane)) {
591
- _context9.next = 12;
573
+ _context9.n = 2;
592
574
  break;
593
575
  }
594
576
  outlineContainer.style.display = 'none';
595
577
  dashboardContainer.style.display = 'inherit';
596
578
  _tab = dashboardContainer.querySelector("[data-global-pane-name=\"".concat(options.pane, "\"]"));
597
579
  if (!_tab) {
598
- _context9.next = 11;
580
+ _context9.n = 1;
599
581
  break;
600
582
  }
601
583
  _tab.click();
602
- return _context9.abrupt("return");
603
- case 11:
584
+ return _context9.a(2);
585
+ case 1:
604
586
  console.warn('Did not find the referred tab in global dashboard, will open first one');
605
- case 12:
606
- _context9.next = 14;
587
+ case 2:
588
+ _context9.n = 3;
607
589
  return globalAppTabs({
608
590
  selectedTab: options.pane,
609
591
  onClose: closeDashboard
610
592
  });
611
- case 14:
612
- dashboard = _context9.sent;
593
+ case 3:
594
+ dashboard = _context9.v;
613
595
  // close the dashboard if user log out
614
596
  _solidLogic.authSession.onLogout(closeDashboard);
615
597
 
@@ -620,9 +602,8 @@ function _default(context) {
620
602
  if (tab) {
621
603
  tab.click();
622
604
  }
623
- case 20:
624
- case "end":
625
- return _context9.stop();
605
+ case 4:
606
+ return _context9.a(2);
626
607
  }
627
608
  }, _callee8);
628
609
  }));
@@ -654,28 +635,27 @@ function _default(context) {
654
635
  return _loadContainerRepresentation.apply(this, arguments);
655
636
  }
656
637
  function _loadContainerRepresentation() {
657
- _loadContainerRepresentation = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee9(subject) {
638
+ _loadContainerRepresentation = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee9(subject) {
658
639
  var response, containerTurtle;
659
- return _regeneratorRuntime().wrap(function _callee9$(_context10) {
660
- while (1) switch (_context10.prev = _context10.next) {
640
+ return _regenerator().w(function (_context0) {
641
+ while (1) switch (_context0.n) {
661
642
  case 0:
662
643
  if (kb.any(subject, ns.ldp('contains'), undefined, subject.doc())) {
663
- _context10.next = 6;
644
+ _context0.n = 2;
664
645
  break;
665
646
  }
666
- _context10.next = 3;
647
+ _context0.n = 1;
667
648
  return kb.fetcher.webOperation('GET', subject.uri, kb.fetcher.initFetchOptions(subject.uri, {
668
649
  headers: {
669
650
  accept: 'text/turtle'
670
651
  }
671
652
  }));
672
- case 3:
673
- response = _context10.sent;
653
+ case 1:
654
+ response = _context0.v;
674
655
  containerTurtle = response.responseText;
675
656
  $rdf.parse(containerTurtle, kb, subject.uri, 'text/turtle');
676
- case 6:
677
- case "end":
678
- return _context10.stop();
657
+ case 2:
658
+ return _context0.a(2);
679
659
  }
680
660
  }, _callee9);
681
661
  }));
@@ -685,46 +665,43 @@ function _default(context) {
685
665
  return _getRelevantPanes.apply(this, arguments);
686
666
  }
687
667
  function _getRelevantPanes() {
688
- _getRelevantPanes = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee10(subject, context) {
668
+ _getRelevantPanes = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee0(subject, context) {
689
669
  var panes, relevantPanes, filteredPanes, firstRelevantPaneIndex, firstFilteredPaneIndex;
690
- return _regeneratorRuntime().wrap(function _callee10$(_context11) {
691
- while (1) switch (_context11.prev = _context11.next) {
670
+ return _regenerator().w(function (_context1) {
671
+ while (1) switch (_context1.n) {
692
672
  case 0:
693
673
  if (!subject.uri.endsWith('/')) {
694
- _context11.next = 3;
674
+ _context1.n = 1;
695
675
  break;
696
676
  }
697
- _context11.next = 3;
677
+ _context1.n = 1;
698
678
  return loadContainerRepresentation(subject);
699
- case 3:
679
+ case 1:
700
680
  panes = context.session.paneRegistry;
701
681
  relevantPanes = panes.list.filter(function (pane) {
702
682
  return pane.label(subject, context) && !pane.global;
703
683
  });
704
684
  if (!(relevantPanes.length === 0)) {
705
- _context11.next = 7;
685
+ _context1.n = 2;
706
686
  break;
707
687
  }
708
- return _context11.abrupt("return", [panes.byName('internal')]);
709
- case 7:
710
- _context11.next = 9;
688
+ return _context1.a(2, [panes.byName('internal')]);
689
+ case 2:
690
+ _context1.n = 3;
711
691
  return UI.login.filterAvailablePanes(relevantPanes);
712
- case 9:
713
- filteredPanes = _context11.sent;
692
+ case 3:
693
+ filteredPanes = _context1.v;
714
694
  if (!(filteredPanes.length === 0)) {
715
- _context11.next = 12;
695
+ _context1.n = 4;
716
696
  break;
717
697
  }
718
- return _context11.abrupt("return", [relevantPanes[0]]);
719
- case 12:
698
+ return _context1.a(2, [relevantPanes[0]]);
699
+ case 4:
720
700
  firstRelevantPaneIndex = panes.list.indexOf(relevantPanes[0]);
721
701
  firstFilteredPaneIndex = panes.list.indexOf(filteredPanes[0]); // if the first relevant pane is loaded before the panes available wrt role, we still want to offer the most relevant pane
722
- return _context11.abrupt("return", firstRelevantPaneIndex < firstFilteredPaneIndex ? [relevantPanes[0]].concat(filteredPanes) : filteredPanes);
723
- case 15:
724
- case "end":
725
- return _context11.stop();
702
+ return _context1.a(2, firstRelevantPaneIndex < firstFilteredPaneIndex ? [relevantPanes[0]].concat(filteredPanes) : filteredPanes);
726
703
  }
727
- }, _callee10);
704
+ }, _callee0);
728
705
  }));
729
706
  return _getRelevantPanes.apply(this, arguments);
730
707
  }
@@ -756,42 +733,43 @@ function _default(context) {
756
733
  // Remove a node from the DOM so that Firefox refreshes the screen OK
757
734
  // Just deleting it cause whitespace to accumulate.
758
735
  function _expandedHeaderTR() {
759
- _expandedHeaderTR = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee12(subject, requiredPane, options) {
760
- var renderPaneIconTray, _renderPaneIconTray, tr, td, header, showHeader, icon, strong;
761
- return _regeneratorRuntime().wrap(function _callee12$(_context13) {
762
- while (1) switch (_context13.prev = _context13.next) {
736
+ _expandedHeaderTR = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee10(subject, requiredPane, options) {
737
+ var renderPaneIconTray, _renderPaneIconTray, tr, td, header, showHeader, icon, strong, _t5;
738
+ return _regenerator().w(function (_context11) {
739
+ while (1) switch (_context11.n) {
763
740
  case 0:
764
741
  _renderPaneIconTray = function _renderPaneIconTray3() {
765
- _renderPaneIconTray = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee11(td) {
742
+ _renderPaneIconTray = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee1(td) {
766
743
  var options,
767
744
  paneShownStyle,
768
745
  paneHiddenStyle,
769
746
  paneIconTray,
770
747
  relevantPanes,
771
748
  paneNumber,
772
- _args11 = arguments;
773
- return _regeneratorRuntime().wrap(function _callee11$(_context12) {
774
- while (1) switch (_context12.prev = _context12.next) {
749
+ _args1 = arguments,
750
+ _t4;
751
+ return _regenerator().w(function (_context10) {
752
+ while (1) switch (_context10.n) {
775
753
  case 0:
776
- options = _args11.length > 1 && _args11[1] !== undefined ? _args11[1] : {};
754
+ options = _args1.length > 1 && _args1[1] !== undefined ? _args1[1] : {};
777
755
  paneShownStyle = 'width: 24px; border-radius: 0.5em; border-top: solid #222 1px; border-left: solid #222 0.1em; border-bottom: solid #eee 0.1em; border-right: solid #eee 0.1em; margin-left: 1em; padding: 3px; background-color: #ffd;';
778
756
  paneHiddenStyle = 'width: 24px; border-radius: 0.5em; margin-left: 1em; padding: 3px';
779
757
  paneIconTray = td.appendChild(dom.createElement('nav'));
780
758
  paneIconTray.style = 'display:flex; justify-content: flex-start; align-items: center;';
781
759
  if (!options.hideList) {
782
- _context12.next = 9;
760
+ _context10.n = 1;
783
761
  break;
784
762
  }
785
- _context12.t0 = [];
786
- _context12.next = 12;
763
+ _t4 = [];
764
+ _context10.n = 3;
787
765
  break;
788
- case 9:
789
- _context12.next = 11;
766
+ case 1:
767
+ _context10.n = 2;
790
768
  return getRelevantPanes(subject, context);
791
- case 11:
792
- _context12.t0 = _context12.sent;
793
- case 12:
794
- relevantPanes = _context12.t0;
769
+ case 2:
770
+ _t4 = _context10.v;
771
+ case 3:
772
+ relevantPanes = _t4;
795
773
  tr.firstPane = requiredPane || getPane(relevantPanes, subject);
796
774
  paneNumber = relevantPanes.indexOf(tr.firstPane);
797
775
  if (relevantPanes.length !== 1) {
@@ -885,16 +863,13 @@ function _default(context) {
885
863
  paneIconTray.appendChild(ico);
886
864
  });
887
865
  }
888
- return _context12.abrupt("return", paneIconTray);
889
- case 17:
890
- case "end":
891
- return _context12.stop();
866
+ return _context10.a(2, paneIconTray);
892
867
  }
893
- }, _callee11);
868
+ }, _callee1);
894
869
  }));
895
870
  return _renderPaneIconTray.apply(this, arguments);
896
871
  };
897
- renderPaneIconTray = function _renderPaneIconTray2(_x10) {
872
+ renderPaneIconTray = function _renderPaneIconTray2(_x0) {
898
873
  return _renderPaneIconTray.apply(this, arguments);
899
874
  }; // renderPaneIconTray
900
875
  // Body of expandedHeaderTR
@@ -921,14 +896,13 @@ function _default(context) {
921
896
  strong.style = 'font-size: 150%; margin: 0 0.6em 0 0; padding: 0.1em 0.4em;';
922
897
  UI.widgets.makeDraggable(strong, subject);
923
898
  }
924
- _context13.t0 = header;
925
- _context13.next = 16;
899
+ _t5 = header;
900
+ _context11.n = 1;
926
901
  return renderPaneIconTray(td, {
927
902
  hideList: showHeader
928
903
  });
929
- case 16:
930
- _context13.t1 = _context13.sent;
931
- _context13.t0.appendChild.call(_context13.t0, _context13.t1);
904
+ case 1:
905
+ _t5.appendChild.call(_t5, _context11.v);
932
906
  // set DOM methods
933
907
  tr.firstChild.tabulatorSelect = function () {
934
908
  setSelected(this, true);
@@ -936,12 +910,9 @@ function _default(context) {
936
910
  tr.firstChild.tabulatorDeselect = function () {
937
911
  setSelected(this, false);
938
912
  };
939
- return _context13.abrupt("return", tr);
940
- case 21:
941
- case "end":
942
- return _context13.stop();
913
+ return _context11.a(2, tr);
943
914
  }
944
- }, _callee12);
915
+ }, _callee10);
945
916
  }));
946
917
  return _expandedHeaderTR.apply(this, arguments);
947
918
  }
@@ -1651,7 +1622,7 @@ function _default(context) {
1651
1622
  case 39:
1652
1623
  // right
1653
1624
  // @@ TODO: Write away the need for exception on next line
1654
- // eslint-disable-next-line no-case-declarations
1625
+
1655
1626
  var obj = UI.utils.getAbout(kb, selectedTd);
1656
1627
  if (obj) {
1657
1628
  walk = this.walk;