solid-ui 2.4.33 → 2.4.34-bd841bfc
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/dist/841.solid-ui.min.js +1 -1
- package/dist/841.solid-ui.min.js.map +1 -1
- package/dist/solid-ui.js +4463 -1872
- package/dist/solid-ui.js.map +1 -1
- package/dist/solid-ui.min.js +1 -1
- package/dist/solid-ui.min.js.LICENSE.txt +7 -0
- package/dist/solid-ui.min.js.map +1 -1
- package/lib/acl/access-controller.js +4 -4
- package/lib/acl/access-controller.js.map +1 -1
- package/lib/acl/access-groups.js +3 -3
- package/lib/acl/access-groups.js.map +1 -1
- package/lib/acl/acl-control.js +2 -2
- package/lib/acl/acl-control.js.map +1 -1
- package/lib/acl/acl.js +14 -14
- package/lib/acl/acl.js.map +1 -1
- package/lib/acl/add-agent-buttons.js +6 -6
- package/lib/acl/add-agent-buttons.js.map +1 -1
- package/lib/chat/bookmarks.js +5 -5
- package/lib/chat/bookmarks.js.map +1 -1
- package/lib/chat/chatLogic.js +6 -6
- package/lib/chat/chatLogic.js.map +1 -1
- package/lib/chat/dateFolder.js +5 -5
- package/lib/chat/dateFolder.js.map +1 -1
- package/lib/chat/infinite.js +18 -18
- package/lib/chat/infinite.js.map +1 -1
- package/lib/chat/keys.js +3 -3
- package/lib/chat/keys.js.map +1 -1
- package/lib/chat/message.js +13 -13
- package/lib/chat/message.js.map +1 -1
- package/lib/chat/messageTools.js +10 -10
- package/lib/chat/messageTools.js.map +1 -1
- package/lib/chat/thread.js +8 -8
- package/lib/chat/thread.js.map +1 -1
- package/lib/footer/index.js +2 -2
- package/lib/footer/index.js.map +1 -1
- package/lib/header/index.js +4 -4
- package/lib/header/index.js.map +1 -1
- package/lib/login/login.js +14 -14
- package/lib/login/login.js.map +1 -1
- package/lib/media/media-capture.js +1 -1
- package/lib/media/media-capture.js.map +1 -1
- package/lib/messageArea.js.map +1 -1
- package/lib/pad.js +16 -16
- package/lib/pad.js.map +1 -1
- package/lib/participation.js +4 -4
- package/lib/participation.js.map +1 -1
- package/lib/tabs.js +3 -3
- package/lib/tabs.js.map +1 -1
- package/lib/utils/headerFooterHelpers.js +1 -1
- package/lib/utils/headerFooterHelpers.js.map +1 -1
- package/lib/utils/index.js.map +1 -1
- package/lib/utils/keyHelpers/accessData.js +3 -3
- package/lib/utils/keyHelpers/accessData.js.map +1 -1
- package/lib/utils/keyHelpers/acl.js +1 -1
- package/lib/utils/keyHelpers/acl.js.map +1 -1
- package/lib/versionInfo.js +19 -19
- package/lib/versionInfo.js.map +1 -1
- package/lib/widgets/forms/autocomplete/autocompleteBar.js +9 -9
- package/lib/widgets/forms/autocomplete/autocompleteBar.js.map +1 -1
- package/lib/widgets/forms/autocomplete/autocompleteField.js +2 -2
- package/lib/widgets/forms/autocomplete/autocompleteField.js.map +1 -1
- package/lib/widgets/forms/autocomplete/autocompletePicker.js +11 -11
- package/lib/widgets/forms/autocomplete/autocompletePicker.js.map +1 -1
- package/lib/widgets/forms/autocomplete/language.js +2 -2
- package/lib/widgets/forms/autocomplete/language.js.map +1 -1
- package/lib/widgets/forms/autocomplete/publicData.js +9 -9
- package/lib/widgets/forms/autocomplete/publicData.js.map +1 -1
- package/lib/widgets/forms.js +12 -12
- package/lib/widgets/forms.js.map +1 -1
- package/lib/widgets/multiSelect.js.map +1 -1
- package/lib/widgets/peoplePicker.js.map +1 -1
- package/package.json +2 -2
package/lib/widgets/forms.js
CHANGED
|
@@ -92,9 +92,9 @@ var _multiSelect = require("./multiSelect");
|
|
|
92
92
|
var widgets = _interopRequireWildcard(require("../widgets"));
|
|
93
93
|
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); }
|
|
94
94
|
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; }
|
|
95
|
-
function _createForOfIteratorHelper(
|
|
96
|
-
function _unsupportedIterableToArray(
|
|
97
|
-
function _arrayLikeToArray(
|
|
95
|
+
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
96
|
+
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; } }
|
|
97
|
+
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; } /* F O R M S
|
|
98
98
|
*
|
|
99
99
|
* A Vanilla Dom implementation of the form language
|
|
100
100
|
*/ /* eslint-disable multiline-ternary */ /* global alert */ // Note default export
|
|
@@ -306,7 +306,7 @@ _fieldFunction.field[ns.ui('Multiple').uri] = function (dom, container, already,
|
|
|
306
306
|
* @param {Node} object The RDF object to be represented by this item.
|
|
307
307
|
*/
|
|
308
308
|
function _addItem() {
|
|
309
|
-
_addItem = (0, _asyncToGenerator2["default"])(
|
|
309
|
+
_addItem = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee6() {
|
|
310
310
|
var object, toBeInserted, msg;
|
|
311
311
|
return _regenerator["default"].wrap(function _callee6$(_context6) {
|
|
312
312
|
while (1) switch (_context6.prev = _context6.next) {
|
|
@@ -357,7 +357,7 @@ _fieldFunction.field[ns.ui('Multiple').uri] = function (dom, container, already,
|
|
|
357
357
|
* @param {Boolean} upwards Move this up (true) or down (false).
|
|
358
358
|
*/
|
|
359
359
|
function _deleteThisItem() {
|
|
360
|
-
_deleteThisItem = (0, _asyncToGenerator2["default"])(
|
|
360
|
+
_deleteThisItem = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee3() {
|
|
361
361
|
var i, del;
|
|
362
362
|
return _regenerator["default"].wrap(function _callee3$(_context3) {
|
|
363
363
|
while (1) switch (_context3.prev = _context3.next) {
|
|
@@ -418,7 +418,7 @@ _fieldFunction.field[ns.ui('Multiple').uri] = function (dom, container, already,
|
|
|
418
418
|
* this callback happens to avoid widow links
|
|
419
419
|
*/
|
|
420
420
|
function _moveThisItem() {
|
|
421
|
-
_moveThisItem = (0, _asyncToGenerator2["default"])(
|
|
421
|
+
_moveThisItem = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee4(event, upwards) {
|
|
422
422
|
var i;
|
|
423
423
|
return _regenerator["default"].wrap(function _callee4$(_context4) {
|
|
424
424
|
while (1) switch (_context4.prev = _context4.next) {
|
|
@@ -501,7 +501,7 @@ _fieldFunction.field[ns.ui('Multiple').uri] = function (dom, container, already,
|
|
|
501
501
|
frame.style.gridTemplateColumns = 'auto 3em';
|
|
502
502
|
frame.style.gridTemplateRows = '50% 50%';
|
|
503
503
|
var moveUpButton = buttons.button(dom, _iconBase.icons.iconBase + 'noun_1369237.svg', 'Move Up', /*#__PURE__*/function () {
|
|
504
|
-
var _ref = (0, _asyncToGenerator2["default"])(
|
|
504
|
+
var _ref = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee(event) {
|
|
505
505
|
return _regenerator["default"].wrap(function _callee$(_context) {
|
|
506
506
|
while (1) switch (_context.prev = _context.next) {
|
|
507
507
|
case 0:
|
|
@@ -517,7 +517,7 @@ _fieldFunction.field[ns.ui('Multiple').uri] = function (dom, container, already,
|
|
|
517
517
|
};
|
|
518
518
|
}());
|
|
519
519
|
var moveDownButton = buttons.button(dom, _iconBase.icons.iconBase + 'noun_1369241.svg', 'Move Down', /*#__PURE__*/function () {
|
|
520
|
-
var _ref2 = (0, _asyncToGenerator2["default"])(
|
|
520
|
+
var _ref2 = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee2(event) {
|
|
521
521
|
return _regenerator["default"].wrap(function _callee2$(_context2) {
|
|
522
522
|
while (1) switch (_context2.prev = _context2.next) {
|
|
523
523
|
case 0:
|
|
@@ -610,7 +610,7 @@ _fieldFunction.field[ns.ui('Multiple').uri] = function (dom, container, already,
|
|
|
610
610
|
var prompt = dom.createElement('span');
|
|
611
611
|
prompt.textContent = (values.length === 0 ? 'Add another ' : 'Add ') + multipleUIlabel;
|
|
612
612
|
tail.addEventListener('click', /*#__PURE__*/function () {
|
|
613
|
-
var _ref3 = (0, _asyncToGenerator2["default"])(
|
|
613
|
+
var _ref3 = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee5(_eventNotUsed) {
|
|
614
614
|
return _regenerator["default"].wrap(function _callee5$(_context5) {
|
|
615
615
|
while (1) switch (_context5.prev = _context5.next) {
|
|
616
616
|
case 0:
|
|
@@ -642,7 +642,7 @@ _fieldFunction.field[ns.ui('Multiple').uri] = function (dom, container, already,
|
|
|
642
642
|
return _saveListThenRefresh.apply(this, arguments);
|
|
643
643
|
}
|
|
644
644
|
function _saveListThenRefresh() {
|
|
645
|
-
_saveListThenRefresh = (0, _asyncToGenerator2["default"])(
|
|
645
|
+
_saveListThenRefresh = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee7() {
|
|
646
646
|
return _regenerator["default"].wrap(function _callee7$(_context7) {
|
|
647
647
|
while (1) switch (_context7.prev = _context7.next) {
|
|
648
648
|
case 0:
|
|
@@ -687,7 +687,7 @@ _fieldFunction.field[ns.ui('Multiple').uri] = function (dom, container, already,
|
|
|
687
687
|
return _asyncStuff.apply(this, arguments);
|
|
688
688
|
}
|
|
689
689
|
function _asyncStuff() {
|
|
690
|
-
_asyncStuff = (0, _asyncToGenerator2["default"])(
|
|
690
|
+
_asyncStuff = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee8() {
|
|
691
691
|
var extra, j;
|
|
692
692
|
return _regenerator["default"].wrap(function _callee8$(_context8) {
|
|
693
693
|
while (1) switch (_context8.prev = _context8.next) {
|
|
@@ -931,7 +931,7 @@ _fieldFunction.field[ns.ui('Choice').uri] = function (dom, container, already, s
|
|
|
931
931
|
if (multiSelect) opts.multiSelect = true;
|
|
932
932
|
|
|
933
933
|
// by default searches the dataDoc graph or optionally the full store
|
|
934
|
-
var dataSource = kb.
|
|
934
|
+
var dataSource = kb.each(form, ui('search-full-store')).length ? null : dataDoc; // optional
|
|
935
935
|
|
|
936
936
|
var selector;
|
|
937
937
|
rhs.refresh = function () {
|