chat-pane 2.4.23 → 2.4.24
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/LICENSE.md +0 -0
- package/README.md +0 -0
- package/dist/_2b19.js +14 -0
- package/dist/_2b19.js.map +1 -0
- package/dist/index.html +0 -0
- package/dist/longChatPane.js +14682 -22480
- package/dist/longChatPane.js.map +1 -1
- package/dist/main.js +16338 -24017
- package/dist/main.js.map +1 -1
- package/dist/shortChatPane.js +14637 -22485
- package/dist/shortChatPane.js.map +1 -1
- package/dist/vendors-node_modules_jsonld_lib_jsonld_js.js +12247 -0
- package/dist/vendors-node_modules_jsonld_lib_jsonld_js.js.map +1 -0
- package/lib/create.js +196 -212
- package/lib/create.js.map +1 -1
- package/lib/longChatPane.js +218 -190
- package/lib/longChatPane.js.map +1 -1
- package/lib/longChatPane.test.js +11 -0
- package/lib/longChatPane.test.js.map +1 -0
- package/lib/main.js +0 -0
- package/lib/main.js.map +0 -0
- package/lib/shortChatPane.js +7 -5
- package/lib/shortChatPane.js.map +1 -1
- package/package.json +22 -15
- package/src/create.ts +0 -0
- package/src/longChatPane.js +59 -3
- package/src/longChatPane.test.ts +7 -0
- package/src/main.js +0 -0
- package/src/shortChatPane.js +6 -0
package/lib/longChatPane.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
@@ -8,11 +8,14 @@ exports.longChatPane = void 0;
|
|
|
8
8
|
var _solidLogic = require("solid-logic");
|
|
9
9
|
var UI = _interopRequireWildcard(require("solid-ui"));
|
|
10
10
|
var $rdf = _interopRequireWildcard(require("rdflib"));
|
|
11
|
-
function _getRequireWildcardCache(
|
|
12
|
-
function _interopRequireWildcard(
|
|
13
|
-
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 exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; }
|
|
11
|
+
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); }
|
|
12
|
+
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 && Object.prototype.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; }
|
|
13
|
+
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 new 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 new 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 new 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; }
|
|
14
14
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
15
|
-
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
15
|
+
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; } /* Long Chat Pane
|
|
16
|
+
**
|
|
17
|
+
** A long chat consists a of a series of chat files saved by date.
|
|
18
|
+
*/
|
|
16
19
|
var ns = UI.ns;
|
|
17
20
|
var mainClass = ns.meeting('LongChat'); // @@ something from SIOC?
|
|
18
21
|
|
|
@@ -24,7 +27,7 @@ var SPANNER_ICON = 'noun_344563.svg';
|
|
|
24
27
|
var SIDEBAR_COMPONENT_STYLE = UI.style.sidebarComponentStyle || ' padding: 0.5em; width: 100%;';
|
|
25
28
|
var SIDEBAR_STYLE = UI.style.sidebarStyle || 'overflow-x: auto; overflow-y: auto; border-radius: 1em; border: 0.1em solid white;';
|
|
26
29
|
// was purple border
|
|
27
|
-
var longChatPane = {
|
|
30
|
+
var longChatPane = exports.longChatPane = {
|
|
28
31
|
CHAT_LOCATION_IN_CONTAINER: CHAT_LOCATION_IN_CONTAINER,
|
|
29
32
|
// noun_704.svg Canoe noun_346319.svg = 1 Chat noun_1689339.svg = three chat
|
|
30
33
|
icon: UI.icons.iconBase + 'noun_1689339.svg',
|
|
@@ -34,7 +37,13 @@ var longChatPane = {
|
|
|
34
37
|
if (kb.holds(subject, ns.rdf('type'), ns.meeting('LongChat'))) {
|
|
35
38
|
// subject is the object
|
|
36
39
|
return 'Chat channnel';
|
|
37
|
-
}
|
|
40
|
+
}
|
|
41
|
+
if (kb.holds(subject, ns.rdf('type'), ns.sioc('Thread'))) {
|
|
42
|
+
// subject is the object
|
|
43
|
+
return 'Thread';
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
// Looks like a message -- might not havre any class declared
|
|
38
47
|
if (kb.any(subject, ns.sioc('content')) && kb.any(subject, ns.dct('created'))) {
|
|
39
48
|
return 'message';
|
|
40
49
|
}
|
|
@@ -56,6 +65,9 @@ var longChatPane = {
|
|
|
56
65
|
if (newPaneOptions.me) {
|
|
57
66
|
kb.add(newInstance, ns.dc('author'), newPaneOptions.me, newChatDoc);
|
|
58
67
|
}
|
|
68
|
+
var aclBody = function aclBody(me) {
|
|
69
|
+
return "\n @prefix : <#>.\n @prefix acl: <http://www.w3.org/ns/auth/acl#>.\n @prefix foaf: <http://xmlns.com/foaf/0.1/>.\n @prefix lon: <./>.\n\n :ControlReadWrite\n a acl:Authorization;\n acl:accessTo lon:;\n acl:agent <".concat(me.uri, ">;\n acl:default lon:;\n acl:mode acl:Control, acl:Read, acl:Write.\n :Read\n a acl:Authorization;\n acl:accessTo lon:;\n acl:agentClass foaf:Agent;\n acl:default lon:;\n acl:mode acl:Read.\n :ReadAppend\n a acl:Authorization;\n acl:accessTo lon:;\n acl:agentClass acl:AuthenticatedAgent;\n acl:default lon:;\n acl:mode acl:Read, acl:Append.");
|
|
70
|
+
};
|
|
59
71
|
return new Promise(function (resolve, reject) {
|
|
60
72
|
updater.put(newChatDoc, kb.statementsMatching(undefined, undefined, undefined, newChatDoc), 'text/turtle', function (uri2, ok, message) {
|
|
61
73
|
if (ok) {
|
|
@@ -63,6 +75,18 @@ var longChatPane = {
|
|
|
63
75
|
} else {
|
|
64
76
|
reject(new Error('FAILED to save new chat channel at: ' + uri2 + ' : ' + message));
|
|
65
77
|
}
|
|
78
|
+
})
|
|
79
|
+
// newChat container authenticated users Append only
|
|
80
|
+
.then(function (result) {
|
|
81
|
+
return new Promise(function (resolve, reject) {
|
|
82
|
+
if (newPaneOptions.me) {
|
|
83
|
+
kb.fetcher.webOperation('PUT', newPaneOptions.newBase + '.acl', {
|
|
84
|
+
data: aclBody(newPaneOptions.me),
|
|
85
|
+
contentType: 'text/turtle'
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
resolve(newPaneOptions);
|
|
89
|
+
});
|
|
66
90
|
});
|
|
67
91
|
});
|
|
68
92
|
},
|
|
@@ -101,49 +125,47 @@ var longChatPane = {
|
|
|
101
125
|
_renderPreferencesSidebar = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(context) {
|
|
102
126
|
var dom, noun, preferencesArea, menuTable, registrationArea, statusArea, me;
|
|
103
127
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
104
|
-
while (1) {
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
return _context.stop();
|
|
146
|
-
}
|
|
128
|
+
while (1) switch (_context.prev = _context.next) {
|
|
129
|
+
case 0:
|
|
130
|
+
// const noun = 'chat room'
|
|
131
|
+
dom = context.dom, noun = context.noun;
|
|
132
|
+
preferencesArea = dom.createElement('div');
|
|
133
|
+
preferencesArea.appendChild(panelCloseButton(preferencesArea));
|
|
134
|
+
// @@ style below fix .. just make it onviious while testing
|
|
135
|
+
preferencesArea.style = SIDEBAR_COMPONENT_STYLE;
|
|
136
|
+
preferencesArea.style.minWidth = '25em'; // bit bigger
|
|
137
|
+
preferencesArea.style.maxHeight = triptychHeight;
|
|
138
|
+
menuTable = preferencesArea.appendChild(dom.createElement('table'));
|
|
139
|
+
registrationArea = menuTable.appendChild(dom.createElement('tr'));
|
|
140
|
+
statusArea = menuTable.appendChild(dom.createElement('tr'));
|
|
141
|
+
me = _solidLogic.authn.currentUser();
|
|
142
|
+
if (!me) {
|
|
143
|
+
_context.next = 15;
|
|
144
|
+
break;
|
|
145
|
+
}
|
|
146
|
+
_context.next = 13;
|
|
147
|
+
return UI.login.registrationControl({
|
|
148
|
+
noun: noun,
|
|
149
|
+
me: me,
|
|
150
|
+
statusArea: statusArea,
|
|
151
|
+
dom: dom,
|
|
152
|
+
div: registrationArea
|
|
153
|
+
}, chatChannel, mainClass);
|
|
154
|
+
case 13:
|
|
155
|
+
console.log('Registration control finsished.');
|
|
156
|
+
preferencesArea.appendChild(UI.preferences.renderPreferencesForm(chatChannel, mainClass, preferencesForm, {
|
|
157
|
+
noun: noun,
|
|
158
|
+
me: me,
|
|
159
|
+
statusArea: statusArea,
|
|
160
|
+
div: preferencesArea,
|
|
161
|
+
dom: dom,
|
|
162
|
+
kb: kb
|
|
163
|
+
}));
|
|
164
|
+
case 15:
|
|
165
|
+
return _context.abrupt("return", preferencesArea);
|
|
166
|
+
case 16:
|
|
167
|
+
case "end":
|
|
168
|
+
return _context.stop();
|
|
147
169
|
}
|
|
148
170
|
}, _callee);
|
|
149
171
|
}));
|
|
@@ -169,32 +191,30 @@ var longChatPane = {
|
|
|
169
191
|
function _preferencesButtonPressed() {
|
|
170
192
|
_preferencesButtonPressed = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(_event) {
|
|
171
193
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
172
|
-
while (1) {
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
return _context2.stop();
|
|
197
|
-
}
|
|
194
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
195
|
+
case 0:
|
|
196
|
+
if (preferencesArea) {
|
|
197
|
+
_context2.next = 4;
|
|
198
|
+
break;
|
|
199
|
+
}
|
|
200
|
+
_context2.next = 3;
|
|
201
|
+
return renderPreferencesSidebar({
|
|
202
|
+
dom: dom,
|
|
203
|
+
noun: 'chat room'
|
|
204
|
+
});
|
|
205
|
+
case 3:
|
|
206
|
+
preferencesArea = _context2.sent;
|
|
207
|
+
case 4:
|
|
208
|
+
if (paneRight.contains(preferencesArea)) {
|
|
209
|
+
// Close menu (hide or delete??)
|
|
210
|
+
preferencesArea.parentNode.removeChild(preferencesArea);
|
|
211
|
+
preferencesArea = null;
|
|
212
|
+
} else {
|
|
213
|
+
paneRight.appendChild(preferencesArea);
|
|
214
|
+
}
|
|
215
|
+
case 5:
|
|
216
|
+
case "end":
|
|
217
|
+
return _context2.stop();
|
|
198
218
|
}
|
|
199
219
|
}, _callee2);
|
|
200
220
|
}));
|
|
@@ -224,28 +244,26 @@ var longChatPane = {
|
|
|
224
244
|
_renderInstances = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(theClass, noun) {
|
|
225
245
|
var instancesDiv, context;
|
|
226
246
|
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
227
|
-
while (1) {
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
return _context3.stop();
|
|
248
|
-
}
|
|
247
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
248
|
+
case 0:
|
|
249
|
+
instancesDiv = dom.createElement('div');
|
|
250
|
+
context = {
|
|
251
|
+
dom: dom,
|
|
252
|
+
div: instancesDiv,
|
|
253
|
+
noun: noun
|
|
254
|
+
};
|
|
255
|
+
_context3.next = 4;
|
|
256
|
+
return UI.login.registrationList(context, {
|
|
257
|
+
"public": true,
|
|
258
|
+
"private": true,
|
|
259
|
+
type: theClass
|
|
260
|
+
});
|
|
261
|
+
case 4:
|
|
262
|
+
instancesDiv.appendChild(renderCreationControl(instancesDiv, noun));
|
|
263
|
+
return _context3.abrupt("return", instancesDiv);
|
|
264
|
+
case 6:
|
|
265
|
+
case "end":
|
|
266
|
+
return _context3.stop();
|
|
249
267
|
}
|
|
250
268
|
}, _callee3);
|
|
251
269
|
}));
|
|
@@ -262,36 +280,34 @@ var longChatPane = {
|
|
|
262
280
|
function _otherChatsHandler() {
|
|
263
281
|
_otherChatsHandler = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4(_event) {
|
|
264
282
|
return _regeneratorRuntime().wrap(function _callee4$(_context4) {
|
|
265
|
-
while (1) {
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
return _context4.stop();
|
|
294
|
-
}
|
|
283
|
+
while (1) switch (_context4.prev = _context4.next) {
|
|
284
|
+
case 0:
|
|
285
|
+
if (otherChatsArea) {
|
|
286
|
+
_context4.next = 10;
|
|
287
|
+
break;
|
|
288
|
+
}
|
|
289
|
+
// Lazy build when needed
|
|
290
|
+
// Expand
|
|
291
|
+
otherChatsArea = dom.createElement('div');
|
|
292
|
+
otherChatsArea.style = SIDEBAR_COMPONENT_STYLE;
|
|
293
|
+
otherChatsArea.style.maxHeight = triptychHeight;
|
|
294
|
+
otherChatsArea.appendChild(panelCloseButton(otherChatsArea));
|
|
295
|
+
_context4.t0 = otherChatsArea;
|
|
296
|
+
_context4.next = 8;
|
|
297
|
+
return renderInstances(ns.meeting('LongChat'), 'chat');
|
|
298
|
+
case 8:
|
|
299
|
+
_context4.t1 = _context4.sent;
|
|
300
|
+
_context4.t0.appendChild.call(_context4.t0, _context4.t1);
|
|
301
|
+
case 10:
|
|
302
|
+
// Toggle visibility with button clicks
|
|
303
|
+
if (paneLeft.contains(otherChatsArea)) {
|
|
304
|
+
otherChatsArea.parentNode.removeChild(otherChatsArea);
|
|
305
|
+
} else {
|
|
306
|
+
paneLeft.appendChild(otherChatsArea);
|
|
307
|
+
}
|
|
308
|
+
case 11:
|
|
309
|
+
case "end":
|
|
310
|
+
return _context4.stop();
|
|
295
311
|
}
|
|
296
312
|
}, _callee4);
|
|
297
313
|
}));
|
|
@@ -324,12 +340,23 @@ var longChatPane = {
|
|
|
324
340
|
|
|
325
341
|
var chatChannel = subject;
|
|
326
342
|
var selectedMessage = null;
|
|
343
|
+
var thread = null;
|
|
327
344
|
if (kb.holds(subject, ns.rdf('type'), ns.meeting('LongChat'))) {
|
|
328
345
|
// subject is the chatChannel
|
|
329
346
|
console.log('Chat channnel');
|
|
330
347
|
|
|
331
348
|
// Looks like a message -- might not havre any class declared
|
|
332
|
-
} else if (kb.
|
|
349
|
+
} else if (kb.holds(subject, ns.rdf('type'), ns.sioc('Thread'))) {
|
|
350
|
+
// subject is the chatChannel
|
|
351
|
+
console.log('Thread is subject');
|
|
352
|
+
thread = subject;
|
|
353
|
+
var rootMessage = kb.the(null, ns.sioc('has_reply'), thread, thread.doc());
|
|
354
|
+
if (!rootMessage) throw new Error('Thread has no root message ' + thread);
|
|
355
|
+
chatChannel = kb.any(null, ns.wf('message'), rootMessage);
|
|
356
|
+
if (!chatChannel) throw new Error('Thread root has no link to chatChannel');
|
|
357
|
+
} else if (
|
|
358
|
+
// Looks like a message -- might not havre any class declared
|
|
359
|
+
kb.any(subject, ns.sioc('content')) && kb.any(subject, ns.dct('created'))) {
|
|
333
360
|
console.log('message');
|
|
334
361
|
selectedMessage = subject;
|
|
335
362
|
chatChannel = kb.any(null, ns.wf('message'), selectedMessage);
|
|
@@ -391,29 +418,27 @@ var longChatPane = {
|
|
|
391
418
|
_showThread = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee5(thread, options) {
|
|
392
419
|
var newOptions, chatControl;
|
|
393
420
|
return _regeneratorRuntime().wrap(function _callee5$(_context5) {
|
|
394
|
-
while (1) {
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
return _context5.stop();
|
|
416
|
-
}
|
|
421
|
+
while (1) switch (_context5.prev = _context5.next) {
|
|
422
|
+
case 0:
|
|
423
|
+
console.log('@@@@ showThread thread ' + thread);
|
|
424
|
+
newOptions = {}; // @@@ inherit
|
|
425
|
+
newOptions.thread = thread;
|
|
426
|
+
newOptions.includeRemoveButton = true;
|
|
427
|
+
newOptions.authorDateOnLeft = options.authorDateOnLeft;
|
|
428
|
+
newOptions.newestFirst = options.newestFirst;
|
|
429
|
+
paneThread.innerHTML = '';
|
|
430
|
+
console.log('Options for showThread message Area', newOptions);
|
|
431
|
+
_context5.next = 10;
|
|
432
|
+
return UI.infiniteMessageArea(dom, kb, chatChannel, newOptions);
|
|
433
|
+
case 10:
|
|
434
|
+
chatControl = _context5.sent;
|
|
435
|
+
chatControl.style.resize = 'both';
|
|
436
|
+
chatControl.style.overflow = 'auto';
|
|
437
|
+
chatControl.style.maxHeight = triptychHeight;
|
|
438
|
+
paneThread.appendChild(chatControl);
|
|
439
|
+
case 15:
|
|
440
|
+
case "end":
|
|
441
|
+
return _context5.stop();
|
|
417
442
|
}
|
|
418
443
|
}, _callee5);
|
|
419
444
|
}));
|
|
@@ -426,44 +451,48 @@ var longChatPane = {
|
|
|
426
451
|
_buildPane = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee6() {
|
|
427
452
|
var prefMap, propuri, chatControl;
|
|
428
453
|
return _regeneratorRuntime().wrap(function _callee6$(_context6) {
|
|
429
|
-
while (1) {
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
+
while (1) switch (_context6.prev = _context6.next) {
|
|
455
|
+
case 0:
|
|
456
|
+
_context6.prev = 0;
|
|
457
|
+
_context6.next = 3;
|
|
458
|
+
return UI.preferences.getPreferencesForClass(chatChannel, mainClass, preferenceProperties, participantsHandlerContext);
|
|
459
|
+
case 3:
|
|
460
|
+
prefMap = _context6.sent;
|
|
461
|
+
_context6.next = 9;
|
|
462
|
+
break;
|
|
463
|
+
case 6:
|
|
464
|
+
_context6.prev = 6;
|
|
465
|
+
_context6.t0 = _context6["catch"](0);
|
|
466
|
+
UI.widgets.complain(participantsHandlerContext, _context6.t0);
|
|
467
|
+
case 9:
|
|
468
|
+
for (propuri in prefMap) {
|
|
469
|
+
options[propuri.split('#')[1]] = prefMap[propuri];
|
|
470
|
+
}
|
|
471
|
+
if (selectedMessage) {
|
|
472
|
+
options.selectedMessage = selectedMessage;
|
|
473
|
+
}
|
|
474
|
+
if (paneOptions.solo) {
|
|
475
|
+
// This is the top pane, title, scrollbar etc are ours
|
|
476
|
+
options.solo = true;
|
|
477
|
+
}
|
|
478
|
+
if (thread) {
|
|
479
|
+
// Rendereing a thread as first class object
|
|
480
|
+
options.thread = thread;
|
|
481
|
+
} else {
|
|
482
|
+
// either show thread *or* allow new threads. Threads don't nest but they could
|
|
454
483
|
options.showThread = showThread;
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
484
|
+
}
|
|
485
|
+
_context6.next = 15;
|
|
486
|
+
return UI.infiniteMessageArea(dom, kb, chatChannel, options);
|
|
487
|
+
case 15:
|
|
488
|
+
chatControl = _context6.sent;
|
|
489
|
+
chatControl.style.resize = 'both';
|
|
490
|
+
chatControl.style.overflow = 'auto';
|
|
491
|
+
chatControl.style.maxHeight = triptychHeight;
|
|
492
|
+
paneMiddle.appendChild(chatControl);
|
|
493
|
+
case 20:
|
|
494
|
+
case "end":
|
|
495
|
+
return _context6.stop();
|
|
467
496
|
}
|
|
468
497
|
}, _callee6, null, [[0, 6]]);
|
|
469
498
|
}));
|
|
@@ -473,5 +502,4 @@ var longChatPane = {
|
|
|
473
502
|
return div;
|
|
474
503
|
}
|
|
475
504
|
};
|
|
476
|
-
exports.longChatPane = longChatPane;
|
|
477
505
|
//# sourceMappingURL=longChatPane.js.map
|