orc-shared 1.3.0-dev.9 → 1.3.1
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/actions/makeApiAction.js +4 -2
- package/dist/components/MaterialUI/Inputs/DatePicker.js +5 -3
- package/dist/components/MaterialUI/Navigation/ExternalLink.js +15 -4
- package/dist/components/Navigation/useNavigationState.js +0 -2
- package/dist/components/Scope/useScopeConfirmationModalState.js +4 -2
- package/dist/content/icons/hide.svg +1 -0
- package/dist/content/icons/open-in-new-tab.svg +1 -0
- package/dist/content/iconsSheet.svg +8 -2
- package/package.json +3 -3
- package/src/components/MaterialUI/Inputs/DatePicker.js +3 -2
- package/src/components/MaterialUI/Inputs/DatePicker.test.js +28 -0
- package/src/components/MaterialUI/Inputs/TimePicker.js +1 -1
- package/src/components/MaterialUI/Navigation/ExternalLink.js +13 -3
- package/src/components/MaterialUI/Navigation/ExternalLink.test.js +3 -1
- package/src/content/icons/hide.svg +1 -0
- package/src/content/icons/open-in-new-tab.svg +1 -0
- package/src/content/iconsSheet.svg +8 -2
|
@@ -27,6 +27,8 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
|
|
|
27
27
|
|
|
28
28
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
29
29
|
|
|
30
|
+
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, $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 generator._invoke = function (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); } }; }(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; this._invoke = function (method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); }; } function maybeInvokeDelegate(delegate, context) { var method = delegate.iterator[context.method]; if (undefined === method) { if (context.delegate = null, "throw" === context.method) { if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) return ContinueSentinel; context.method = "throw", context.arg = new TypeError("The iterator does not provide a 'throw' method"); } return 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, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), 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 (object) { var 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; }
|
|
31
|
+
|
|
30
32
|
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); } }
|
|
31
33
|
|
|
32
34
|
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); }); }; }
|
|
@@ -40,9 +42,9 @@ var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoader
|
|
|
40
42
|
};
|
|
41
43
|
|
|
42
44
|
var getJSONWithValidBody = /*#__PURE__*/function () {
|
|
43
|
-
var _ref = _asyncToGenerator( /*#__PURE__*/
|
|
45
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(res) {
|
|
44
46
|
var contentType, possiblyEmptyCodes, value;
|
|
45
|
-
return
|
|
47
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
46
48
|
while (1) {
|
|
47
49
|
switch (_context.prev = _context.next) {
|
|
48
50
|
case 0:
|
|
@@ -23,7 +23,7 @@ var _metadata = require("../../../selectors/metadata");
|
|
|
23
23
|
|
|
24
24
|
var _reactRedux = require("react-redux");
|
|
25
25
|
|
|
26
|
-
var _excluded = ["value", "useTime", "useDate", "onChange", "dateFormat", "showTimeZone", "timeInputLabel", "readOnly", "showTimeSelectOnly", "metadata", "timePickerTimeZone", "error"];
|
|
26
|
+
var _excluded = ["value", "useTime", "useDate", "onChange", "useTimeZone", "dateFormat", "showTimeZone", "timeInputLabel", "readOnly", "showTimeSelectOnly", "metadata", "timePickerTimeZone", "error"];
|
|
27
27
|
|
|
28
28
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
29
29
|
|
|
@@ -178,6 +178,8 @@ var WrappedDatePicker = function WrappedDatePicker(_ref) {
|
|
|
178
178
|
_ref$useDate = _ref.useDate,
|
|
179
179
|
useDate = _ref$useDate === void 0 ? true : _ref$useDate,
|
|
180
180
|
onChange = _ref.onChange,
|
|
181
|
+
_ref$useTimeZone = _ref.useTimeZone,
|
|
182
|
+
useTimeZone = _ref$useTimeZone === void 0 ? false : _ref$useTimeZone,
|
|
181
183
|
dateFormat = _ref.dateFormat,
|
|
182
184
|
showTimeZone = _ref.showTimeZone,
|
|
183
185
|
timeInputLabel = _ref.timeInputLabel,
|
|
@@ -192,13 +194,13 @@ var WrappedDatePicker = function WrappedDatePicker(_ref) {
|
|
|
192
194
|
readOnly: readOnly
|
|
193
195
|
});
|
|
194
196
|
var timeZoneName = (0, _timezoneHelper.getTimeZoneByName)(timePickerTimeZone);
|
|
195
|
-
var startDate = value ? timePickerTimeZone ? (0, _timezoneHelper.convertTimeToLocalTimeZone)(new Date(value), timeZoneName) : new Date(value) : null;
|
|
197
|
+
var startDate = value ? timePickerTimeZone && useTimeZone ? (0, _timezoneHelper.convertTimeToLocalTimeZone)(new Date(value), timeZoneName) : new Date(value) : null;
|
|
196
198
|
var disabledCls = (0, _classnames.default)(_defineProperty({}, classes.disabled, props.disabled));
|
|
197
199
|
var localizedTimeZoneName = (0, _reactRedux.useSelector)((0, _metadata.namedLookupLocalizedSelector)("customer", "TimeZone", timePickerTimeZone));
|
|
198
200
|
|
|
199
201
|
var updateDate = function updateDate(date, metadata) {
|
|
200
202
|
if (onChange) {
|
|
201
|
-
onChange(
|
|
203
|
+
onChange(useTimeZone && timePickerTimeZone ? (0, _timezoneHelper.convertTimeToOtherTimeZone)(date, timeZoneName) : date, metadata);
|
|
202
204
|
}
|
|
203
205
|
};
|
|
204
206
|
|
|
@@ -33,10 +33,18 @@ var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoader
|
|
|
33
33
|
|
|
34
34
|
var useStyles = (0, _styles.makeStyles)(function (theme) {
|
|
35
35
|
return {
|
|
36
|
-
|
|
36
|
+
link: {
|
|
37
|
+
display: "flex"
|
|
38
|
+
},
|
|
39
|
+
iconContainer: {
|
|
40
|
+
paddingTop: theme.spacing(0.5),
|
|
37
41
|
paddingLeft: theme.spacing(1),
|
|
38
42
|
width: theme.spacing(1.2),
|
|
43
|
+
height: theme.spacing(1.2),
|
|
39
44
|
color: theme.palette.primary.main
|
|
45
|
+
},
|
|
46
|
+
icon: {
|
|
47
|
+
color: "inherit"
|
|
40
48
|
}
|
|
41
49
|
};
|
|
42
50
|
});
|
|
@@ -51,11 +59,14 @@ var ExternalLink = function ExternalLink(_ref) {
|
|
|
51
59
|
href: url,
|
|
52
60
|
rel: "noreferrer",
|
|
53
61
|
target: "_blank",
|
|
54
|
-
underline: "always"
|
|
55
|
-
|
|
62
|
+
underline: "always",
|
|
63
|
+
className: classes.link
|
|
64
|
+
}, children, /*#__PURE__*/_react.default.createElement("div", {
|
|
65
|
+
className: classes.iconContainer
|
|
66
|
+
}, /*#__PURE__*/_react.default.createElement(_Icon.default, {
|
|
56
67
|
id: "open-in-new-tab",
|
|
57
68
|
className: classes.icon
|
|
58
|
-
}));
|
|
69
|
+
})));
|
|
59
70
|
};
|
|
60
71
|
|
|
61
72
|
__signature__(ExternalLink, "useStyles{classes}", function () {
|
|
@@ -238,7 +238,6 @@ var useNavigationState = function useNavigationState(modules) {
|
|
|
238
238
|
var dataPath = [].concat(pageData.dataPath);
|
|
239
239
|
/* istanbul ignore else */
|
|
240
240
|
|
|
241
|
-
/* istanbul ignore else */
|
|
242
241
|
if (pageData.dataIdParam) {
|
|
243
242
|
dataPath.push(params[pageData.dataIdParam]);
|
|
244
243
|
}
|
|
@@ -251,7 +250,6 @@ var useNavigationState = function useNavigationState(modules) {
|
|
|
251
250
|
|
|
252
251
|
var href = hrefMapper(page.href); // Modules do not have close functions
|
|
253
252
|
|
|
254
|
-
// Modules do not have close functions
|
|
255
253
|
var close = isPageTab ? function (event, executeHandlerOnly) {
|
|
256
254
|
var _moduleData$closingTa, _moduleData$closingTa2;
|
|
257
255
|
|
|
@@ -45,6 +45,8 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
|
|
|
45
45
|
|
|
46
46
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
47
47
|
|
|
48
|
+
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, $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 generator._invoke = function (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); } }; }(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; this._invoke = function (method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); }; } function maybeInvokeDelegate(delegate, context) { var method = delegate.iterator[context.method]; if (undefined === method) { if (context.delegate = null, "throw" === context.method) { if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) return ContinueSentinel; context.method = "throw", context.arg = new TypeError("The iterator does not provide a 'throw' method"); } return 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, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), 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 (object) { var 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; }
|
|
49
|
+
|
|
48
50
|
function _createForOfIteratorHelperLoose(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (it) return (it = it.call(o)).next.bind(it); if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; return function () { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
49
51
|
|
|
50
52
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
@@ -64,10 +66,10 @@ var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoader
|
|
|
64
66
|
};
|
|
65
67
|
|
|
66
68
|
var ExecuteClosingTabHandlerActions = /*#__PURE__*/function () {
|
|
67
|
-
var _ref = _asyncToGenerator( /*#__PURE__*/
|
|
69
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(closingTabHandlerActions) {
|
|
68
70
|
var _iterator, _step, action;
|
|
69
71
|
|
|
70
|
-
return
|
|
72
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
71
73
|
while (1) {
|
|
72
74
|
switch (_context.prev = _context.next) {
|
|
73
75
|
case 0:
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="#333" fill-rule="evenodd" d="M19.1124576,7.99508187 C19.274287,7.77132789 19.5868642,7.72112814 19.8106181,7.88295759 C20.0216019,8.03555104 20.2302145,8.19250179 20.4363636,8.35346554 C21.367999,9.08089762 22.2129121,9.85942668 22.9567728,10.6383637 C23.0871893,10.7749299 23.2098645,10.9067227 23.3245662,11.0329511 L23.770342,11.541957 L23.8915413,11.6896455 C24.0356128,11.8715323 24.0356203,12.1286366 23.8915593,12.3105318 L23.7120419,12.5272329 L23.6447456,12.6058087 C23.4478713,12.8342536 23.2182022,13.0880997 22.9575938,13.3610246 C22.2143749,14.1393688 21.3701824,14.9173051 20.4393301,15.644184 C17.7581326,17.7378629 14.9081955,19.0001 11.9996,19.0001 C10.949806,19.0001 9.89858165,18.8327644 8.85168118,18.5133339 C8.58755987,18.4327452 8.43877732,18.1533025 8.51936606,17.8891812 C8.5999548,17.6250599 8.87939751,17.4762773 9.14351882,17.5568661 C10.0987601,17.8483294 11.0522027,18.0001 11.9996,18.0001 C14.6490045,18.0001 17.3025674,16.8248371 19.8238699,14.856016 C20.7138926,14.1610199 21.5228876,13.4155187 22.2343562,12.6704254 L22.5842248,12.29506 L22.845,11.999 L22.7413564,11.8803057 C22.6402396,11.7661224 22.5311815,11.6459877 22.414432,11.5206988 L22.2335702,11.3289997 C21.521459,10.5833093 20.7117419,9.8372109 19.820934,9.14165736 C19.6243281,8.98814509 19.4255054,8.83855979 19.2245819,8.69324241 C19.0008279,8.53141297 18.9506281,8.21883585 19.1124576,7.99508187 Z M11.9998,5.0002 C12.8739327,5.0002 13.7509817,5.11671997 14.6276117,5.34077181 C14.895154,5.40915111 15.0566075,5.68146937 14.9882282,5.94901167 C14.9198489,6.21655397 14.6475306,6.37800749 14.3799883,6.30962819 C13.5821401,6.10571164 12.7879511,6.0002 11.9998,6.0002 C9.35083458,6.0002 6.69735512,7.17546602 4.17589366,9.14429292 C3.28581154,9.83929367 2.47673061,10.5848001 1.76516129,11.3298989 L1.58443686,11.5214458 L1.25775824,11.8807668 L1.153,12 L1.41566931,12.295517 L1.76590094,12.6711398 C2.47810874,13.4167439 3.2879515,14.1627565 4.17891753,14.8582309 C4.37090306,15.0080918 4.56500745,15.1542135 4.76112272,15.2962781 C4.98475494,15.4582757 5.03471961,15.7708905 4.87272194,15.9945227 C4.71072428,16.2181549 4.39810949,16.2681196 4.17447728,16.1061219 C3.96855449,15.9569529 3.76489987,15.8036418 3.56359925,15.6465096 C2.63179756,14.9191595 1.78675034,14.1407173 1.04278511,13.3618666 C0.847132571,13.1570397 0.668901439,12.9629517 0.508875241,12.7822717 L0.107891812,12.3106963 C-0.0362224624,12.1287954 -0.0362314836,11.8716422 0.107870028,11.6897312 L0.354722203,11.3944602 C0.453174682,11.2802389 0.559826322,11.1596673 0.674444991,11.0335357 L1.04196996,10.6392511 C1.78528345,9.8609124 2.62955408,9.08298133 3.56045634,8.35610708 C6.24180738,6.26243398 9.09164042,5.0002 11.9998,5.0002 Z M12,7.5 C12.2761424,7.5 12.5,7.72385763 12.5,8 C12.5,8.27614237 12.2761424,8.5 12,8.5 C10.0667776,8.5 8.5,10.0665071 8.5,12 C8.5,12.2761424 8.27614237,12.5 8,12.5 C7.72385763,12.5 7.5,12.2761424 7.5,12 C7.5,9.51418366 9.51453153,7.5 12,7.5 Z M16,11.5 C16.2761424,11.5 16.5,11.7238576 16.5,12 C16.5,14.4858163 14.4854685,16.5 12,16.5 C11.7238576,16.5 11.5,16.2761424 11.5,16 C11.5,15.7238576 11.7238576,15.5 12,15.5 C13.9332224,15.5 15.5,13.9334929 15.5,12 C15.5,11.7238576 15.7238576,11.5 16,11.5 Z M21.3964466,1.89644661 C21.5917088,1.70118446 21.9082912,1.70118446 22.1035534,1.89644661 C22.2771197,2.07001296 22.2964049,2.33943736 22.1614088,2.5343055 L22.1035534,2.60355339 L2.60355339,22.1035534 C2.40829124,22.2988155 2.09170876,22.2988155 1.89644661,22.1035534 C1.72288026,21.929987 1.70359511,21.6605626 1.83859116,21.4656945 L1.89644661,21.3964466 L21.3964466,1.89644661 Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path fill="#333" d="M6.5,2.98 C6.77614237,2.98 7,3.20385763 7,3.48 C7,3.72545989 6.82312484,3.92960837 6.58987563,3.97194433 L6.5,3.98 L1,3.98 L1,14.98 L12,14.98 L12,9.52 C12,9.27454011 12.1768752,9.07039163 12.4101244,9.02805567 L12.5,9.02 C12.7454599,9.02 12.9496084,9.19687516 12.9919443,9.43012437 L13,9.52 L13,15.48 C13,15.7254599 12.8231248,15.9296084 12.5898756,15.9719443 L12.5,15.98 L0.5,15.98 C0.254540111,15.98 0.0503916296,15.8031248 0.00805566941,15.5698756 L0,15.48 L0,3.48 C0,3.23454011 0.176875161,3.03039163 0.410124368,2.98805567 L0.5,2.98 L6.5,2.98 Z M9.41012437,0.00805566941 L9.5,0 L15.5115408,0.000132376874 C15.5324012,0.0006109983 15.5532373,0.00238749635 15.5739178,0.00546187104 L15.5,0 L15.5534276,0.00282096186 L15.6281458,0.0166082551 L15.6910366,0.0377922373 L15.7670103,0.0771880058 L15.8221372,0.117583716 L15.8535534,0.146446609 L15.891039,0.188337752 L15.9332526,0.250234852 L15.9623894,0.3094049 L15.9833892,0.371860863 L15.997912,0.454213822 L16,0.5 L16,6.5 C16,6.77614237 15.7761424,7 15.5,7 C15.2545401,7 15.0503916,6.82312484 15.0080557,6.58987563 L15,6.5 L15,1.706 L3.85355339,12.8535534 C3.65829124,13.0488155 3.34170876,13.0488155 3.14644661,12.8535534 C2.97288026,12.679987 2.95359511,12.4105626 3.08859116,12.2156945 L3.14644661,12.1464466 L14.292,1 L9.5,1 C9.25454011,1 9.05039163,0.823124839 9.00805567,0.589875632 L9,0.5 C9,0.254540111 9.17687516,0.0503916296 9.41012437,0.00805566941 Z"/></svg>
|
|
@@ -315,7 +315,10 @@
|
|
|
315
315
|
<symbol id="icon-grid-view" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 21 21">
|
|
316
316
|
<path stroke="none" fill-rule="evenodd" d="M18.5,17.5 L18.5,15.5 L16.5,15.5 L16.5,17.5 L18.5,17.5 Z M19,18.5 L16,18.5 C15.7,18.5 15.5,18.3 15.5,18 L15.5,15 C15.5,14.7 15.7,14.5 16,14.5 L19,14.5 C19.3,14.5 19.5,14.7 19.5,15 L19.5,18 C19.5,18.3 19.3,18.5 19,18.5 Z M4.5,5.5 L4.5,3.5 L2.5,3.5 L2.5,5.5 L4.5,5.5 Z M5,6.5 L2,6.5 C1.7,6.5 1.5,6.3 1.5,6 L1.5,3 C1.5,2.7 1.7,2.5 2,2.5 L5,2.5 C5.3,2.5 5.5,2.7 5.5,3 L5.5,6 C5.5,6.3 5.3,6.5 5,6.5 Z M4.5,11.5 L4.5,9.5 L2.5,9.5 L2.5,11.5 L4.5,11.5 Z M5,12.5 L2,12.5 C1.7,12.5 1.5,12.3 1.5,12 L1.5,9 C1.5,8.7 1.7,8.5 2,8.5 L5,8.5 C5.3,8.5 5.5,8.7 5.5,9 L5.5,12 C5.5,12.3 5.3,12.5 5,12.5 Z M4.5,17.5 L4.5,15.5 L2.5,15.5 L2.5,17.5 L4.5,17.5 Z M5,18.5 L2,18.5 C1.7,18.5 1.5,18.3 1.5,18 L1.5,15 C1.5,14.7 1.7,14.5 2,14.5 L5,14.5 C5.3,14.5 5.5,14.7 5.5,15 L5.5,18 C5.5,18.3 5.3,18.5 5,18.5 Z M11.5,5.5 L11.5,3.5 L9.5,3.5 L9.5,5.5 L11.5,5.5 Z M12,6.5 L9,6.5 C8.7,6.5 8.5,6.3 8.5,6 L8.5,3 C8.5,2.7 8.7,2.5 9,2.5 L12,2.5 C12.3,2.5 12.5,2.7 12.5,3 L12.5,6 C12.5,6.3 12.3,6.5 12,6.5 Z M11.5,11.5 L11.5,9.5 L9.5,9.5 L9.5,11.5 L11.5,11.5 Z M12,12.5 L9,12.5 C8.7,12.5 8.5,12.3 8.5,12 L8.5,9 C8.5,8.7 8.7,8.5 9,8.5 L12,8.5 C12.3,8.5 12.5,8.7 12.5,9 L12.5,12 C12.5,12.3 12.3,12.5 12,12.5 Z M11.5,17.5 L11.5,15.5 L9.5,15.5 L9.5,17.5 L11.5,17.5 Z M12,18.5 L9,18.5 C8.7,18.5 8.5,18.3 8.5,18 L8.5,15 C8.5,14.7 8.7,14.5 9,14.5 L12,14.5 C12.3,14.5 12.5,14.7 12.5,15 L12.5,18 C12.5,18.3 12.3,18.5 12,18.5 Z M18.5,5.5 L18.5,3.5 L16.5,3.5 L16.5,5.5 L18.5,5.5 Z M19,6.5 L16,6.5 C15.7,6.5 15.5,6.3 15.5,6 L15.5,3 C15.5,2.7 15.7,2.5 16,2.5 L19,2.5 C19.3,2.5 19.5,2.7 19.5,3 L19.5,6 C19.5,6.3 19.3,6.5 19,6.5 Z M18.5,11.5 L18.5,9.5 L16.5,9.5 L16.5,11.5 L18.5,11.5 Z M19,12.5 L16,12.5 C15.7,12.5 15.5,12.3 15.5,12 L15.5,9 C15.5,8.7 15.7,8.5 16,8.5 L19,8.5 C19.3,8.5 19.5,8.7 19.5,9 L19.5,12 C19.5,12.3 19.3,12.5 19,12.5 Z"/>
|
|
317
317
|
</symbol>
|
|
318
|
-
<symbol id="icon-
|
|
318
|
+
<symbol id="icon-hide" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
319
|
+
<path fill="#333" fill-rule="evenodd" d="M19.1124576,7.99508187 C19.274287,7.77132789 19.5868642,7.72112814 19.8106181,7.88295759 C20.0216019,8.03555104 20.2302145,8.19250179 20.4363636,8.35346554 C21.367999,9.08089762 22.2129121,9.85942668 22.9567728,10.6383637 C23.0871893,10.7749299 23.2098645,10.9067227 23.3245662,11.0329511 L23.770342,11.541957 L23.8915413,11.6896455 C24.0356128,11.8715323 24.0356203,12.1286366 23.8915593,12.3105318 L23.7120419,12.5272329 L23.6447456,12.6058087 C23.4478713,12.8342536 23.2182022,13.0880997 22.9575938,13.3610246 C22.2143749,14.1393688 21.3701824,14.9173051 20.4393301,15.644184 C17.7581326,17.7378629 14.9081955,19.0001 11.9996,19.0001 C10.949806,19.0001 9.89858165,18.8327644 8.85168118,18.5133339 C8.58755987,18.4327452 8.43877732,18.1533025 8.51936606,17.8891812 C8.5999548,17.6250599 8.87939751,17.4762773 9.14351882,17.5568661 C10.0987601,17.8483294 11.0522027,18.0001 11.9996,18.0001 C14.6490045,18.0001 17.3025674,16.8248371 19.8238699,14.856016 C20.7138926,14.1610199 21.5228876,13.4155187 22.2343562,12.6704254 L22.5842248,12.29506 L22.845,11.999 L22.7413564,11.8803057 C22.6402396,11.7661224 22.5311815,11.6459877 22.414432,11.5206988 L22.2335702,11.3289997 C21.521459,10.5833093 20.7117419,9.8372109 19.820934,9.14165736 C19.6243281,8.98814509 19.4255054,8.83855979 19.2245819,8.69324241 C19.0008279,8.53141297 18.9506281,8.21883585 19.1124576,7.99508187 Z M11.9998,5.0002 C12.8739327,5.0002 13.7509817,5.11671997 14.6276117,5.34077181 C14.895154,5.40915111 15.0566075,5.68146937 14.9882282,5.94901167 C14.9198489,6.21655397 14.6475306,6.37800749 14.3799883,6.30962819 C13.5821401,6.10571164 12.7879511,6.0002 11.9998,6.0002 C9.35083458,6.0002 6.69735512,7.17546602 4.17589366,9.14429292 C3.28581154,9.83929367 2.47673061,10.5848001 1.76516129,11.3298989 L1.58443686,11.5214458 L1.25775824,11.8807668 L1.153,12 L1.41566931,12.295517 L1.76590094,12.6711398 C2.47810874,13.4167439 3.2879515,14.1627565 4.17891753,14.8582309 C4.37090306,15.0080918 4.56500745,15.1542135 4.76112272,15.2962781 C4.98475494,15.4582757 5.03471961,15.7708905 4.87272194,15.9945227 C4.71072428,16.2181549 4.39810949,16.2681196 4.17447728,16.1061219 C3.96855449,15.9569529 3.76489987,15.8036418 3.56359925,15.6465096 C2.63179756,14.9191595 1.78675034,14.1407173 1.04278511,13.3618666 C0.847132571,13.1570397 0.668901439,12.9629517 0.508875241,12.7822717 L0.107891812,12.3106963 C-0.0362224624,12.1287954 -0.0362314836,11.8716422 0.107870028,11.6897312 L0.354722203,11.3944602 C0.453174682,11.2802389 0.559826322,11.1596673 0.674444991,11.0335357 L1.04196996,10.6392511 C1.78528345,9.8609124 2.62955408,9.08298133 3.56045634,8.35610708 C6.24180738,6.26243398 9.09164042,5.0002 11.9998,5.0002 Z M12,7.5 C12.2761424,7.5 12.5,7.72385763 12.5,8 C12.5,8.27614237 12.2761424,8.5 12,8.5 C10.0667776,8.5 8.5,10.0665071 8.5,12 C8.5,12.2761424 8.27614237,12.5 8,12.5 C7.72385763,12.5 7.5,12.2761424 7.5,12 C7.5,9.51418366 9.51453153,7.5 12,7.5 Z M16,11.5 C16.2761424,11.5 16.5,11.7238576 16.5,12 C16.5,14.4858163 14.4854685,16.5 12,16.5 C11.7238576,16.5 11.5,16.2761424 11.5,16 C11.5,15.7238576 11.7238576,15.5 12,15.5 C13.9332224,15.5 15.5,13.9334929 15.5,12 C15.5,11.7238576 15.7238576,11.5 16,11.5 Z M21.3964466,1.89644661 C21.5917088,1.70118446 21.9082912,1.70118446 22.1035534,1.89644661 C22.2771197,2.07001296 22.2964049,2.33943736 22.1614088,2.5343055 L22.1035534,2.60355339 L2.60355339,22.1035534 C2.40829124,22.2988155 2.09170876,22.2988155 1.89644661,22.1035534 C1.72288026,21.929987 1.70359511,21.6605626 1.83859116,21.4656945 L1.89644661,21.3964466 L21.3964466,1.89644661 Z"/>
|
|
320
|
+
</symbol>
|
|
321
|
+
<symbol id="icon-html-templates" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
319
322
|
<path stroke="none" d="M19,11.9997 C19.2761424,11.9997 19.5,12.2235576 19.5,12.4997 L19.5,12.4997 L19.499,13.427 L19.6566047,13.4993986 C19.8927357,13.6141055 20.1201337,13.7455983 20.333298,13.8914866 L20.333298,13.8914866 L20.454,13.979 L21.2488074,13.518378 C21.4614547,13.3948233 21.7273591,13.4456535 21.8809858,13.6267593 L21.8809858,13.6267593 L21.9330095,13.7006945 L23.4330095,16.2986945 C23.5710492,16.5377793 23.4891945,16.8434968 23.2501586,16.9816211 L23.2501586,16.9816211 L22.452,17.442 L22.4770891,17.7000633 L22.487,17.9997 C22.487,18.1009077 22.4837801,18.2019589 22.4774041,18.3030612 L22.4774041,18.3030612 L22.453,18.557 L23.2507352,19.0175345 C23.4634351,19.1401635 23.5519352,19.395446 23.4720275,19.6186882 L23.4720275,19.6186882 L23.4340817,19.7005805 L21.9350817,22.2985805 C21.7969257,22.5380263 21.4906825,22.6199209 21.2514505,22.481395 L21.2514505,22.481395 L20.455,22.02 L20.3344481,22.1085643 C20.1215026,22.2544443 19.8941477,22.3858782 19.6577156,22.5006509 L19.6577156,22.5006509 L19.499,22.572 L19.5,23.4997 C19.5,23.7451599 19.3231248,23.9493084 19.0898756,23.9916443 L19.0898756,23.9916443 L19,23.9997 L16,23.9997 C15.7238576,23.9997 15.5,23.7758424 15.5,23.4997 L15.5,23.4997 L15.499,22.573 L15.3337173,22.4981037 C15.0934298,22.3824996 14.8631184,22.250938 14.6492717,22.1058155 L14.6492717,22.1058155 L14.529,22.019 L13.7218347,22.4823834 C13.5093376,22.604308 13.2447593,22.5529424 13.0917988,22.3723845 L13.0917988,22.3723845 L13.0399905,22.2987055 L11.5399905,19.7007055 C11.4018553,19.4614554 11.4839285,19.1555203 11.7232648,19.0175345 L11.7232648,19.0175345 L12.521,18.557 L12.496601,18.299951 L12.487,17.9997 C12.487,17.8523742 12.494511,17.7040106 12.5091349,17.5530613 L12.5091349,17.5530613 L12.522,17.443 L11.7246695,16.9815217 C11.5122149,16.8586446 11.4240411,16.603368 11.5041288,16.3802746 L11.5041288,16.3802746 L11.5421348,16.2984446 L13.0441348,13.7004446 C13.1822478,13.4615515 13.4877822,13.3797106 13.7268155,13.5175808 L13.7268155,13.5175808 L14.529,13.98 L14.6503936,13.8942641 C14.8644713,13.7491306 15.0948649,13.6174886 15.3348619,13.5019407 L15.3348619,13.5019407 L15.499,13.426 L15.5,12.4997 C15.5,12.2542401 15.6768752,12.0500916 15.9101244,12.0077557 L15.9101244,12.0077557 L16,11.9997 Z M18.499,12.999 L16.499,12.999 L16.5,13.7617 C16.5,13.9407606 16.4045809,14.1036441 16.2540185,14.1923955 L16.2540185,14.1923955 L16.1743286,14.2303252 C15.6966614,14.4080174 15.2437535,14.6641912 14.8960185,14.9616512 C14.735023,15.0993703 14.5047086,15.1206727 14.3211845,15.0148192 L14.3211845,15.0148192 L13.659,14.632 L12.657,16.365 L13.3163305,16.7468783 C13.4727338,16.837337 13.566111,17.0035437 13.5660253,17.1798189 L13.5660253,17.1798189 L13.5580529,17.2684915 C13.511165,17.5283285 13.487,17.7686607 13.487,17.9997 C13.487,18.2373819 13.5103696,18.4787947 13.5561109,18.7332306 C13.5934315,18.9408265 13.4964651,19.1495152 13.3137352,19.2548655 L13.3137352,19.2548655 L12.656,19.633 L13.657,21.367 L14.3221653,20.9850166 C14.4795575,20.8947096 14.6710764,20.8977544 14.8237717,20.9872694 L14.8237717,20.9872694 L14.8965463,21.0392008 C15.242943,21.3363508 15.6947614,21.5916758 16.1743286,21.7700748 C16.370124,21.8429107 16.5,22.0297959 16.5,22.2387 L16.5,22.2387 L16.499,22.999 L18.499,22.999 L18.5,22.2387 C18.5,22.0596394 18.5954191,21.8967559 18.7459815,21.8080045 L18.7459815,21.8080045 L18.8256714,21.7700748 C19.2929259,21.5962562 19.7345932,21.3427534 20.0884537,21.0392008 C20.2496875,20.9008895 20.480715,20.8795567 20.6645495,20.986005 L20.6645495,20.986005 L21.318,21.365 L22.317,19.633 L21.6602648,19.2548655 C21.5031454,19.1642806 21.4094794,18.9973313 21.4099758,18.8204234 L21.4099758,18.8204234 L21.4182131,18.731447 C21.463795,18.4830721 21.487,18.2410768 21.487,17.9997 C21.487,17.7651226 21.4629345,17.5235841 21.4162734,17.2702812 C21.3779518,17.0622495 21.4746881,16.852612 21.6578414,16.7467789 L21.6578414,16.7467789 L22.316,16.365 L21.317,14.635 L20.6651926,15.014022 C20.5077428,15.1055052 20.3154767,15.1031439 20.1620923,15.0136362 L20.1620923,15.0136362 L20.0889815,14.9616512 C19.7336822,14.6577206 19.2911159,14.4034705 18.8256714,14.2303252 C18.629876,14.1574893 18.5,13.9706041 18.5,13.7617 L18.5,13.7617 L18.499,12.999 Z M11.5,0 C11.5289644,0 11.5576698,0.00251316923 11.5858244,0.00741874956 L11.5,0 C11.53718,0 11.5734121,0.00405810679 11.6082776,0.0117555499 C11.627752,0.0161752938 11.6470999,0.0217060499 11.6660321,0.0283713194 C11.6767797,0.032003496 11.6875823,0.0362330462 11.6981944,0.04081971 C11.7122274,0.0470222758 11.7258544,0.0536592396 11.7391668,0.06090986 C11.7513627,0.0674500504 11.7634712,0.0747354237 11.7752322,0.0825044328 C11.7813925,0.0866293699 11.7874946,0.090849458 11.7935072,0.0952091774 L11.805052,0.103808328 C11.8176175,0.113497606 11.8297092,0.123771313 11.8412864,0.134588748 L11.8535534,0.146446609 L16.8535534,5.14644661 L16.8654113,5.15871357 C16.8762287,5.17029076 16.8865024,5.18238246 16.8961917,5.19494796 L16.8535534,5.14644661 C16.8776939,5.17058707 16.8991102,5.19694105 16.9176052,5.22503102 C16.9252646,5.23652877 16.9325499,5.24863729 16.9393234,5.26106504 C16.9465411,5.27453926 16.9531837,5.28820982 16.9591906,5.30215157 C16.963767,5.31241775 16.9679965,5.32322028 16.9718538,5.33419807 C16.9779762,5.35206799 16.9831476,5.36993766 16.9873149,5.38808049 C16.9890356,5.39509078 16.9905746,5.40257807 16.9919443,5.41012437 L16.9939073,5.42216869 L16.9939073,5.42216869 L17,5.50109091 L16.9879988,11.0010909 L15.9880012,10.9989091 L15.999,6 L11.5,6 C11.2545401,6 11.0503916,5.82312484 11.0080557,5.58987563 L11,5.5 L11,1 L1,1 L1,21 L11,21 L11,22 L0.5,22 C0.254540111,22 0.0503916296,21.8231248 0.00805566941,21.5898756 L0,21.5 L0,0.5 C0,0.254540111 0.176875161,0.0503916296 0.410124368,0.00805566941 L0.5,0 L11.5,0 Z M17.4863,15.5 C18.8674424,15.5 19.9863,16.6188576 19.9863,18 C19.9863,19.3804491 18.8671357,20.5 17.4863,20.5 C16.1061576,20.5 14.9863,19.3801424 14.9863,18 C14.9863,16.6191643 16.1058509,15.5 17.4863,15.5 Z M17.4863,16.5 C16.6580583,16.5 15.9863,17.1715263 15.9863,18 C15.9863,18.8278576 16.6584424,19.5 17.4863,19.5 C18.3147737,19.5 18.9863,18.8282417 18.9863,18 C18.9863,17.1711424 18.3151576,16.5 17.4863,16.5 Z M6.11135339,8.41104661 C6.28491974,8.58461296 6.30420489,8.85403736 6.16920884,9.0489055 L6.11135339,9.11815339 L3.695,11.534 L6.11128956,13.9499828 C6.28488724,14.1235178 6.30422103,14.3929387 6.16926016,14.5878312 L6.11141721,14.6570896 C5.9378822,14.8306872 5.66846129,14.850021 5.47356878,14.7150602 L5.40431044,14.6572172 L2.63431044,11.8882172 C2.4606906,11.71466 2.44137692,11.4451978 2.5763848,11.2503036 L2.63424661,11.1810466 L5.40424661,8.41104661 C5.59950876,8.21578446 5.91609124,8.21578446 6.11135339,8.41104661 Z M9.5030055,8.35319116 L9.57225339,8.41104661 L12.3422534,11.1810466 C12.5158419,11.3546351 12.5351069,11.6241009 12.4000639,11.8189707 L12.3421896,11.8882172 L9.57218956,14.6572172 C9.37689216,14.8524441 9.06030968,14.8523869 8.86508279,14.6570896 C8.69154777,14.4834919 8.67231126,14.214064 8.80734249,14.0192202 L8.86521044,13.9499828 L11.281,11.534 L8.86514661,9.11815339 C8.69158026,8.94458704 8.67229511,8.67516264 8.80729116,8.4802945 L8.86514661,8.41104661 C9.03871296,8.23748026 9.30813736,8.21819511 9.5030055,8.35319116 Z M12,1.707 L12,5 L15.293,5 L12,1.707 Z"/>
|
|
320
323
|
</symbol>
|
|
321
324
|
<symbol id="icon-import-export" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
@@ -348,7 +351,10 @@
|
|
|
348
351
|
<symbol id="icon-notes-filled" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
349
352
|
<path stroke="none" fill-rule="evenodd" d="M20.6464466,11.6464466 C20.8417088,11.4511845 21.1582912,11.4511845 21.3535534,11.6464466 L21.3535534,11.6464466 L23.8535534,14.1464466 C24.0488155,14.3417088 24.0488155,14.6582912 23.8535534,14.8535534 L23.8535534,14.8535534 L16.3515534,22.3555534 L16.3515534,22.3555534 C16.3190097,22.3880971 16.283096,22.4152168 16.2449356,22.4369126 C16.2108971,22.4561579 16.1739424,22.4717386 16.1353606,22.482762 L16.2112588,22.4543902 C16.1976901,22.4607858 16.1838931,22.4665371 16.1699139,22.471644 L16.1353606,22.482762 L12.6353606,23.482762 C12.2581846,23.5905265 11.9094735,23.2418154 12.017238,22.8646394 L12.017238,22.8646394 L13.017238,19.3646394 C13.0205869,19.3529184 13.0243564,19.3413475 13.0285343,19.3299475 C13.0334629,19.3161069 13.0392142,19.3023099 13.0456098,19.2887412 C13.0513233,19.276959 13.0572218,19.2656152 13.0635449,19.2545151 C13.0847832,19.216904 13.1119029,19.1809903 13.1444466,19.1484466 Z M13.744,20.455 L13.225,22.274 L15.044,21.755 L13.744,20.455 Z M16.9939428,5.42239391 L17,5.50137719 L16.9819981,12.0363772 L15.9820019,12.0336228 L15.998,6 L11.5,6 C11.2545401,6 11.0503916,5.82312484 11.0080557,5.58987563 L11,5.5 L11,1 L1,1 L1,21 L11,21 L11,22 L0.5,22 C0.254540111,22 0.0503916296,21.8231248 0.00805566941,21.5898756 L-1.42108547e-14,21.5 L-1.42108547e-14,0.5 C-1.42108547e-14,0.254540111 0.176875161,0.0503916296 0.410124368,0.00805566941 L0.5,1.77635684e-14 L11.5,1.77635684e-14 C11.5289644,1.77635684e-14 11.5576698,0.00251316923 11.5858244,0.00741874956 L11.5,1.77635684e-14 C11.53718,1.77635684e-14 11.5734121,0.00405810679 11.6082776,0.0117555499 C11.627752,0.0161752938 11.6470999,0.0217060499 11.6660321,0.0283713194 C11.6767797,0.032003496 11.6875823,0.0362330462 11.6981944,0.04081971 C11.7122274,0.0470222758 11.7258544,0.0536592396 11.7391668,0.06090986 C11.7513627,0.0674500504 11.7634712,0.0747354237 11.7752322,0.0825044328 C11.7813925,0.0866293699 11.7874946,0.090849458 11.7935072,0.0952091774 L11.805052,0.103808328 C11.8176175,0.113497606 11.8297092,0.123771313 11.8412864,0.134588748 L11.8535534,0.146446609 L16.8535534,5.14644661 L16.8654113,5.15871357 C16.8762287,5.17029076 16.8865024,5.18238246 16.8961917,5.19494796 L16.8535534,5.14644661 C16.8777119,5.17060508 16.8991419,5.19698016 16.9176461,5.22509324 C16.9252646,5.23652877 16.9325499,5.24863729 16.9393234,5.26106504 C16.9460119,5.27357186 16.9521693,5.28613455 16.9577891,5.29892993 C16.9633616,5.31127723 16.9683748,5.32406798 16.9728642,5.33710256 C16.9780698,5.35260169 16.9827131,5.36859599 16.9865529,5.3848132 C16.9886127,5.39304989 16.9903879,5.40154903 16.9919443,5.41012437 L16.9939428,5.42239391 L16.9939428,5.42239391 Z M19,14.707 L14.205,19.502 L15.998,21.295 L20.793,16.5 L19,14.707 Z M8.4814,15 C8.75754237,15 8.9814,15.2238576 8.9814,15.5 C8.9814,15.7454599 8.80452484,15.9496084 8.57127563,15.9919443 L8.4814,16 L3.4814,16 C3.20525763,16 2.9814,15.7761424 2.9814,15.5 C2.9814,15.2545401 3.15827516,15.0503916 3.39152437,15.0080557 L3.4814,15 L8.4814,15 Z M21,12.707 L19.707,14 L21.5,15.793 L22.793,14.5 L21,12.707 Z M9.4814,12 C9.75754237,12 9.9814,12.2238576 9.9814,12.5 C9.9814,12.7454599 9.80452484,12.9496084 9.57127563,12.9919443 L9.4814,13 L3.4814,13 C3.20525763,13 2.9814,12.7761424 2.9814,12.5 C2.9814,12.2545401 3.15827516,12.0503916 3.39152437,12.0080557 L3.4814,12 L9.4814,12 Z M11.4814,9 C11.7575424,9 11.9814,9.22385763 11.9814,9.5 C11.9814,9.74545989 11.8045248,9.94960837 11.5712756,9.99194433 L11.4814,10 L3.4814,10 C3.20525763,10 2.9814,9.77614237 2.9814,9.5 C2.9814,9.25454011 3.15827516,9.05039163 3.39152437,9.00805567 L3.4814,9 L11.4814,9 Z M7.9814,6 C8.25754237,6 8.4814,6.22385763 8.4814,6.5 C8.4814,6.74545989 8.30452484,6.94960837 8.07127563,6.99194433 L7.9814,7 L3.4814,7 C3.20525763,7 2.9814,6.77614237 2.9814,6.5 C2.9814,6.25454011 3.15827516,6.05039163 3.39152437,6.00805567 L3.4814,6 L7.9814,6 Z M15.293,5 L12,1.707 L12,5 L15.293,5 Z"/>
|
|
350
353
|
</symbol>
|
|
351
|
-
<symbol id="icon-
|
|
354
|
+
<symbol id="icon-open-in-new-tab" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
355
|
+
<path fill="#333" d="M6.5,2.98 C6.77614237,2.98 7,3.20385763 7,3.48 C7,3.72545989 6.82312484,3.92960837 6.58987563,3.97194433 L6.5,3.98 L1,3.98 L1,14.98 L12,14.98 L12,9.52 C12,9.27454011 12.1768752,9.07039163 12.4101244,9.02805567 L12.5,9.02 C12.7454599,9.02 12.9496084,9.19687516 12.9919443,9.43012437 L13,9.52 L13,15.48 C13,15.7254599 12.8231248,15.9296084 12.5898756,15.9719443 L12.5,15.98 L0.5,15.98 C0.254540111,15.98 0.0503916296,15.8031248 0.00805566941,15.5698756 L0,15.48 L0,3.48 C0,3.23454011 0.176875161,3.03039163 0.410124368,2.98805567 L0.5,2.98 L6.5,2.98 Z M9.41012437,0.00805566941 L9.5,0 L15.5115408,0.000132376874 C15.5324012,0.0006109983 15.5532373,0.00238749635 15.5739178,0.00546187104 L15.5,0 L15.5534276,0.00282096186 L15.6281458,0.0166082551 L15.6910366,0.0377922373 L15.7670103,0.0771880058 L15.8221372,0.117583716 L15.8535534,0.146446609 L15.891039,0.188337752 L15.9332526,0.250234852 L15.9623894,0.3094049 L15.9833892,0.371860863 L15.997912,0.454213822 L16,0.5 L16,6.5 C16,6.77614237 15.7761424,7 15.5,7 C15.2545401,7 15.0503916,6.82312484 15.0080557,6.58987563 L15,6.5 L15,1.706 L3.85355339,12.8535534 C3.65829124,13.0488155 3.34170876,13.0488155 3.14644661,12.8535534 C2.97288026,12.679987 2.95359511,12.4105626 3.08859116,12.2156945 L3.14644661,12.1464466 L14.292,1 L9.5,1 C9.25454011,1 9.05039163,0.823124839 9.00805567,0.589875632 L9,0.5 C9,0.254540111 9.17687516,0.0503916296 9.41012437,0.00805566941 Z"/>
|
|
356
|
+
</symbol>
|
|
357
|
+
<symbol id="icon-opera" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs>
|
|
352
358
|
<linearGradient id="OperaA" x1="12" y1=".26" x2="12" y2="24.09" gradientUnits="userSpaceOnUse">
|
|
353
359
|
<stop offset=".46" stop-color="#e52d37"/>
|
|
354
360
|
<stop offset="1" stop-color="#981917"/>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "orc-shared",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.1",
|
|
4
4
|
"description": "Shared code for Orckestra applications",
|
|
5
5
|
"main": "./src/index.js",
|
|
6
6
|
"exports": {
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
],
|
|
50
50
|
"devDependencies": {},
|
|
51
51
|
"peerDependencies": {
|
|
52
|
-
"orc-scripts": "1.4.0
|
|
52
|
+
"orc-scripts": "1.4.0"
|
|
53
53
|
},
|
|
54
54
|
"sideEffects": false,
|
|
55
55
|
"lint-staged": {
|
|
@@ -69,6 +69,6 @@
|
|
|
69
69
|
}
|
|
70
70
|
},
|
|
71
71
|
"dependencies": {
|
|
72
|
-
"orc-scripts": "1.4.0
|
|
72
|
+
"orc-scripts": "1.4.0"
|
|
73
73
|
}
|
|
74
74
|
}
|
|
@@ -127,6 +127,7 @@ const WrappedDatePicker = ({
|
|
|
127
127
|
useTime,
|
|
128
128
|
useDate = true,
|
|
129
129
|
onChange,
|
|
130
|
+
useTimeZone = false,
|
|
130
131
|
dateFormat,
|
|
131
132
|
showTimeZone,
|
|
132
133
|
timeInputLabel,
|
|
@@ -140,7 +141,7 @@ const WrappedDatePicker = ({
|
|
|
140
141
|
const classes = useStyles({ readOnly });
|
|
141
142
|
const timeZoneName = getTimeZoneByName(timePickerTimeZone);
|
|
142
143
|
const startDate = value
|
|
143
|
-
? timePickerTimeZone
|
|
144
|
+
? timePickerTimeZone && useTimeZone
|
|
144
145
|
? convertTimeToLocalTimeZone(new Date(value), timeZoneName)
|
|
145
146
|
: new Date(value)
|
|
146
147
|
: null;
|
|
@@ -149,7 +150,7 @@ const WrappedDatePicker = ({
|
|
|
149
150
|
|
|
150
151
|
const updateDate = (date, metadata) => {
|
|
151
152
|
if (onChange) {
|
|
152
|
-
onChange(
|
|
153
|
+
onChange(useTimeZone && timePickerTimeZone ? convertTimeToOtherTimeZone(date, timeZoneName) : date, metadata);
|
|
153
154
|
}
|
|
154
155
|
};
|
|
155
156
|
|
|
@@ -425,6 +425,34 @@ describe("DatePicker", () => {
|
|
|
425
425
|
const input = mountedComponent.find("input");
|
|
426
426
|
input.at(0).simulate("change", event);
|
|
427
427
|
});
|
|
428
|
+
|
|
429
|
+
it("should call onChange prop with useTimeZone", () => {
|
|
430
|
+
const onChangeMock = jest.fn();
|
|
431
|
+
const date = new Date("2020-06-30T00:00:00");
|
|
432
|
+
const event = {
|
|
433
|
+
preventDefault() {},
|
|
434
|
+
target: { value: "" },
|
|
435
|
+
};
|
|
436
|
+
const requestTimeZone = "Eastern Standard Time";
|
|
437
|
+
const component = (
|
|
438
|
+
<TestWrapper provider={{ store }} intlProvider>
|
|
439
|
+
<DatePicker
|
|
440
|
+
onChange={onChangeMock}
|
|
441
|
+
value={date}
|
|
442
|
+
useTime={true}
|
|
443
|
+
useDate={false}
|
|
444
|
+
useTimeZone={true}
|
|
445
|
+
showTimeSelectOnly={true}
|
|
446
|
+
timePickerTimeZone={requestTimeZone}
|
|
447
|
+
/>
|
|
448
|
+
</TestWrapper>
|
|
449
|
+
);
|
|
450
|
+
const mountedComponent = mount(component);
|
|
451
|
+
|
|
452
|
+
const input = mountedComponent.find("input");
|
|
453
|
+
input.at(0).simulate("change", event);
|
|
454
|
+
expect(onChangeMock.mock.calls.length, "to equal", 1);
|
|
455
|
+
});
|
|
428
456
|
});
|
|
429
457
|
|
|
430
458
|
describe("createFormat", () => {
|
|
@@ -178,7 +178,7 @@ export const MinsSelect = ({ updateTimeOptions, time }) => {
|
|
|
178
178
|
const TimePicker = ({ value, onChange, showTimeZone, showAMPM, requestedTimeZone }) => {
|
|
179
179
|
const classes = useStyles();
|
|
180
180
|
showAMPM = showAMPM ?? isBrowserUsingAMPM();
|
|
181
|
-
const [time, setTime] = useState(
|
|
181
|
+
const [time, setTime] = useState(parseTime(value || "00:00"));
|
|
182
182
|
|
|
183
183
|
useEffect(() => {
|
|
184
184
|
setTime(parseTime(value || "00:00"));
|
|
@@ -4,20 +4,30 @@ import Icon from "../DataDisplay/Icon";
|
|
|
4
4
|
import { makeStyles } from "@material-ui/core/styles";
|
|
5
5
|
|
|
6
6
|
const useStyles = makeStyles(theme => ({
|
|
7
|
-
|
|
7
|
+
link: {
|
|
8
|
+
display: "flex",
|
|
9
|
+
},
|
|
10
|
+
iconContainer: {
|
|
11
|
+
paddingTop: theme.spacing(0.5),
|
|
8
12
|
paddingLeft: theme.spacing(1),
|
|
9
13
|
width: theme.spacing(1.2),
|
|
14
|
+
height: theme.spacing(1.2),
|
|
10
15
|
color: theme.palette.primary.main,
|
|
11
16
|
},
|
|
17
|
+
icon: {
|
|
18
|
+
color: "inherit",
|
|
19
|
+
},
|
|
12
20
|
}));
|
|
13
21
|
|
|
14
22
|
const ExternalLink = ({ id, url, children }) => {
|
|
15
23
|
const classes = useStyles();
|
|
16
24
|
|
|
17
25
|
return (
|
|
18
|
-
<Link id={id} href={url} rel="noreferrer" target="_blank" underline="always">
|
|
26
|
+
<Link id={id} href={url} rel="noreferrer" target="_blank" underline="always" className={classes.link}>
|
|
19
27
|
{children}
|
|
20
|
-
<
|
|
28
|
+
<div className={classes.iconContainer}>
|
|
29
|
+
<Icon id="open-in-new-tab" className={classes.icon} />
|
|
30
|
+
</div>
|
|
21
31
|
</Link>
|
|
22
32
|
);
|
|
23
33
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="#333" fill-rule="evenodd" d="M19.1124576,7.99508187 C19.274287,7.77132789 19.5868642,7.72112814 19.8106181,7.88295759 C20.0216019,8.03555104 20.2302145,8.19250179 20.4363636,8.35346554 C21.367999,9.08089762 22.2129121,9.85942668 22.9567728,10.6383637 C23.0871893,10.7749299 23.2098645,10.9067227 23.3245662,11.0329511 L23.770342,11.541957 L23.8915413,11.6896455 C24.0356128,11.8715323 24.0356203,12.1286366 23.8915593,12.3105318 L23.7120419,12.5272329 L23.6447456,12.6058087 C23.4478713,12.8342536 23.2182022,13.0880997 22.9575938,13.3610246 C22.2143749,14.1393688 21.3701824,14.9173051 20.4393301,15.644184 C17.7581326,17.7378629 14.9081955,19.0001 11.9996,19.0001 C10.949806,19.0001 9.89858165,18.8327644 8.85168118,18.5133339 C8.58755987,18.4327452 8.43877732,18.1533025 8.51936606,17.8891812 C8.5999548,17.6250599 8.87939751,17.4762773 9.14351882,17.5568661 C10.0987601,17.8483294 11.0522027,18.0001 11.9996,18.0001 C14.6490045,18.0001 17.3025674,16.8248371 19.8238699,14.856016 C20.7138926,14.1610199 21.5228876,13.4155187 22.2343562,12.6704254 L22.5842248,12.29506 L22.845,11.999 L22.7413564,11.8803057 C22.6402396,11.7661224 22.5311815,11.6459877 22.414432,11.5206988 L22.2335702,11.3289997 C21.521459,10.5833093 20.7117419,9.8372109 19.820934,9.14165736 C19.6243281,8.98814509 19.4255054,8.83855979 19.2245819,8.69324241 C19.0008279,8.53141297 18.9506281,8.21883585 19.1124576,7.99508187 Z M11.9998,5.0002 C12.8739327,5.0002 13.7509817,5.11671997 14.6276117,5.34077181 C14.895154,5.40915111 15.0566075,5.68146937 14.9882282,5.94901167 C14.9198489,6.21655397 14.6475306,6.37800749 14.3799883,6.30962819 C13.5821401,6.10571164 12.7879511,6.0002 11.9998,6.0002 C9.35083458,6.0002 6.69735512,7.17546602 4.17589366,9.14429292 C3.28581154,9.83929367 2.47673061,10.5848001 1.76516129,11.3298989 L1.58443686,11.5214458 L1.25775824,11.8807668 L1.153,12 L1.41566931,12.295517 L1.76590094,12.6711398 C2.47810874,13.4167439 3.2879515,14.1627565 4.17891753,14.8582309 C4.37090306,15.0080918 4.56500745,15.1542135 4.76112272,15.2962781 C4.98475494,15.4582757 5.03471961,15.7708905 4.87272194,15.9945227 C4.71072428,16.2181549 4.39810949,16.2681196 4.17447728,16.1061219 C3.96855449,15.9569529 3.76489987,15.8036418 3.56359925,15.6465096 C2.63179756,14.9191595 1.78675034,14.1407173 1.04278511,13.3618666 C0.847132571,13.1570397 0.668901439,12.9629517 0.508875241,12.7822717 L0.107891812,12.3106963 C-0.0362224624,12.1287954 -0.0362314836,11.8716422 0.107870028,11.6897312 L0.354722203,11.3944602 C0.453174682,11.2802389 0.559826322,11.1596673 0.674444991,11.0335357 L1.04196996,10.6392511 C1.78528345,9.8609124 2.62955408,9.08298133 3.56045634,8.35610708 C6.24180738,6.26243398 9.09164042,5.0002 11.9998,5.0002 Z M12,7.5 C12.2761424,7.5 12.5,7.72385763 12.5,8 C12.5,8.27614237 12.2761424,8.5 12,8.5 C10.0667776,8.5 8.5,10.0665071 8.5,12 C8.5,12.2761424 8.27614237,12.5 8,12.5 C7.72385763,12.5 7.5,12.2761424 7.5,12 C7.5,9.51418366 9.51453153,7.5 12,7.5 Z M16,11.5 C16.2761424,11.5 16.5,11.7238576 16.5,12 C16.5,14.4858163 14.4854685,16.5 12,16.5 C11.7238576,16.5 11.5,16.2761424 11.5,16 C11.5,15.7238576 11.7238576,15.5 12,15.5 C13.9332224,15.5 15.5,13.9334929 15.5,12 C15.5,11.7238576 15.7238576,11.5 16,11.5 Z M21.3964466,1.89644661 C21.5917088,1.70118446 21.9082912,1.70118446 22.1035534,1.89644661 C22.2771197,2.07001296 22.2964049,2.33943736 22.1614088,2.5343055 L22.1035534,2.60355339 L2.60355339,22.1035534 C2.40829124,22.2988155 2.09170876,22.2988155 1.89644661,22.1035534 C1.72288026,21.929987 1.70359511,21.6605626 1.83859116,21.4656945 L1.89644661,21.3964466 L21.3964466,1.89644661 Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path fill="#333" d="M6.5,2.98 C6.77614237,2.98 7,3.20385763 7,3.48 C7,3.72545989 6.82312484,3.92960837 6.58987563,3.97194433 L6.5,3.98 L1,3.98 L1,14.98 L12,14.98 L12,9.52 C12,9.27454011 12.1768752,9.07039163 12.4101244,9.02805567 L12.5,9.02 C12.7454599,9.02 12.9496084,9.19687516 12.9919443,9.43012437 L13,9.52 L13,15.48 C13,15.7254599 12.8231248,15.9296084 12.5898756,15.9719443 L12.5,15.98 L0.5,15.98 C0.254540111,15.98 0.0503916296,15.8031248 0.00805566941,15.5698756 L0,15.48 L0,3.48 C0,3.23454011 0.176875161,3.03039163 0.410124368,2.98805567 L0.5,2.98 L6.5,2.98 Z M9.41012437,0.00805566941 L9.5,0 L15.5115408,0.000132376874 C15.5324012,0.0006109983 15.5532373,0.00238749635 15.5739178,0.00546187104 L15.5,0 L15.5534276,0.00282096186 L15.6281458,0.0166082551 L15.6910366,0.0377922373 L15.7670103,0.0771880058 L15.8221372,0.117583716 L15.8535534,0.146446609 L15.891039,0.188337752 L15.9332526,0.250234852 L15.9623894,0.3094049 L15.9833892,0.371860863 L15.997912,0.454213822 L16,0.5 L16,6.5 C16,6.77614237 15.7761424,7 15.5,7 C15.2545401,7 15.0503916,6.82312484 15.0080557,6.58987563 L15,6.5 L15,1.706 L3.85355339,12.8535534 C3.65829124,13.0488155 3.34170876,13.0488155 3.14644661,12.8535534 C2.97288026,12.679987 2.95359511,12.4105626 3.08859116,12.2156945 L3.14644661,12.1464466 L14.292,1 L9.5,1 C9.25454011,1 9.05039163,0.823124839 9.00805567,0.589875632 L9,0.5 C9,0.254540111 9.17687516,0.0503916296 9.41012437,0.00805566941 Z"/></svg>
|
|
@@ -315,7 +315,10 @@
|
|
|
315
315
|
<symbol id="icon-grid-view" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 21 21">
|
|
316
316
|
<path stroke="none" fill-rule="evenodd" d="M18.5,17.5 L18.5,15.5 L16.5,15.5 L16.5,17.5 L18.5,17.5 Z M19,18.5 L16,18.5 C15.7,18.5 15.5,18.3 15.5,18 L15.5,15 C15.5,14.7 15.7,14.5 16,14.5 L19,14.5 C19.3,14.5 19.5,14.7 19.5,15 L19.5,18 C19.5,18.3 19.3,18.5 19,18.5 Z M4.5,5.5 L4.5,3.5 L2.5,3.5 L2.5,5.5 L4.5,5.5 Z M5,6.5 L2,6.5 C1.7,6.5 1.5,6.3 1.5,6 L1.5,3 C1.5,2.7 1.7,2.5 2,2.5 L5,2.5 C5.3,2.5 5.5,2.7 5.5,3 L5.5,6 C5.5,6.3 5.3,6.5 5,6.5 Z M4.5,11.5 L4.5,9.5 L2.5,9.5 L2.5,11.5 L4.5,11.5 Z M5,12.5 L2,12.5 C1.7,12.5 1.5,12.3 1.5,12 L1.5,9 C1.5,8.7 1.7,8.5 2,8.5 L5,8.5 C5.3,8.5 5.5,8.7 5.5,9 L5.5,12 C5.5,12.3 5.3,12.5 5,12.5 Z M4.5,17.5 L4.5,15.5 L2.5,15.5 L2.5,17.5 L4.5,17.5 Z M5,18.5 L2,18.5 C1.7,18.5 1.5,18.3 1.5,18 L1.5,15 C1.5,14.7 1.7,14.5 2,14.5 L5,14.5 C5.3,14.5 5.5,14.7 5.5,15 L5.5,18 C5.5,18.3 5.3,18.5 5,18.5 Z M11.5,5.5 L11.5,3.5 L9.5,3.5 L9.5,5.5 L11.5,5.5 Z M12,6.5 L9,6.5 C8.7,6.5 8.5,6.3 8.5,6 L8.5,3 C8.5,2.7 8.7,2.5 9,2.5 L12,2.5 C12.3,2.5 12.5,2.7 12.5,3 L12.5,6 C12.5,6.3 12.3,6.5 12,6.5 Z M11.5,11.5 L11.5,9.5 L9.5,9.5 L9.5,11.5 L11.5,11.5 Z M12,12.5 L9,12.5 C8.7,12.5 8.5,12.3 8.5,12 L8.5,9 C8.5,8.7 8.7,8.5 9,8.5 L12,8.5 C12.3,8.5 12.5,8.7 12.5,9 L12.5,12 C12.5,12.3 12.3,12.5 12,12.5 Z M11.5,17.5 L11.5,15.5 L9.5,15.5 L9.5,17.5 L11.5,17.5 Z M12,18.5 L9,18.5 C8.7,18.5 8.5,18.3 8.5,18 L8.5,15 C8.5,14.7 8.7,14.5 9,14.5 L12,14.5 C12.3,14.5 12.5,14.7 12.5,15 L12.5,18 C12.5,18.3 12.3,18.5 12,18.5 Z M18.5,5.5 L18.5,3.5 L16.5,3.5 L16.5,5.5 L18.5,5.5 Z M19,6.5 L16,6.5 C15.7,6.5 15.5,6.3 15.5,6 L15.5,3 C15.5,2.7 15.7,2.5 16,2.5 L19,2.5 C19.3,2.5 19.5,2.7 19.5,3 L19.5,6 C19.5,6.3 19.3,6.5 19,6.5 Z M18.5,11.5 L18.5,9.5 L16.5,9.5 L16.5,11.5 L18.5,11.5 Z M19,12.5 L16,12.5 C15.7,12.5 15.5,12.3 15.5,12 L15.5,9 C15.5,8.7 15.7,8.5 16,8.5 L19,8.5 C19.3,8.5 19.5,8.7 19.5,9 L19.5,12 C19.5,12.3 19.3,12.5 19,12.5 Z"/>
|
|
317
317
|
</symbol>
|
|
318
|
-
<symbol id="icon-
|
|
318
|
+
<symbol id="icon-hide" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
319
|
+
<path fill="#333" fill-rule="evenodd" d="M19.1124576,7.99508187 C19.274287,7.77132789 19.5868642,7.72112814 19.8106181,7.88295759 C20.0216019,8.03555104 20.2302145,8.19250179 20.4363636,8.35346554 C21.367999,9.08089762 22.2129121,9.85942668 22.9567728,10.6383637 C23.0871893,10.7749299 23.2098645,10.9067227 23.3245662,11.0329511 L23.770342,11.541957 L23.8915413,11.6896455 C24.0356128,11.8715323 24.0356203,12.1286366 23.8915593,12.3105318 L23.7120419,12.5272329 L23.6447456,12.6058087 C23.4478713,12.8342536 23.2182022,13.0880997 22.9575938,13.3610246 C22.2143749,14.1393688 21.3701824,14.9173051 20.4393301,15.644184 C17.7581326,17.7378629 14.9081955,19.0001 11.9996,19.0001 C10.949806,19.0001 9.89858165,18.8327644 8.85168118,18.5133339 C8.58755987,18.4327452 8.43877732,18.1533025 8.51936606,17.8891812 C8.5999548,17.6250599 8.87939751,17.4762773 9.14351882,17.5568661 C10.0987601,17.8483294 11.0522027,18.0001 11.9996,18.0001 C14.6490045,18.0001 17.3025674,16.8248371 19.8238699,14.856016 C20.7138926,14.1610199 21.5228876,13.4155187 22.2343562,12.6704254 L22.5842248,12.29506 L22.845,11.999 L22.7413564,11.8803057 C22.6402396,11.7661224 22.5311815,11.6459877 22.414432,11.5206988 L22.2335702,11.3289997 C21.521459,10.5833093 20.7117419,9.8372109 19.820934,9.14165736 C19.6243281,8.98814509 19.4255054,8.83855979 19.2245819,8.69324241 C19.0008279,8.53141297 18.9506281,8.21883585 19.1124576,7.99508187 Z M11.9998,5.0002 C12.8739327,5.0002 13.7509817,5.11671997 14.6276117,5.34077181 C14.895154,5.40915111 15.0566075,5.68146937 14.9882282,5.94901167 C14.9198489,6.21655397 14.6475306,6.37800749 14.3799883,6.30962819 C13.5821401,6.10571164 12.7879511,6.0002 11.9998,6.0002 C9.35083458,6.0002 6.69735512,7.17546602 4.17589366,9.14429292 C3.28581154,9.83929367 2.47673061,10.5848001 1.76516129,11.3298989 L1.58443686,11.5214458 L1.25775824,11.8807668 L1.153,12 L1.41566931,12.295517 L1.76590094,12.6711398 C2.47810874,13.4167439 3.2879515,14.1627565 4.17891753,14.8582309 C4.37090306,15.0080918 4.56500745,15.1542135 4.76112272,15.2962781 C4.98475494,15.4582757 5.03471961,15.7708905 4.87272194,15.9945227 C4.71072428,16.2181549 4.39810949,16.2681196 4.17447728,16.1061219 C3.96855449,15.9569529 3.76489987,15.8036418 3.56359925,15.6465096 C2.63179756,14.9191595 1.78675034,14.1407173 1.04278511,13.3618666 C0.847132571,13.1570397 0.668901439,12.9629517 0.508875241,12.7822717 L0.107891812,12.3106963 C-0.0362224624,12.1287954 -0.0362314836,11.8716422 0.107870028,11.6897312 L0.354722203,11.3944602 C0.453174682,11.2802389 0.559826322,11.1596673 0.674444991,11.0335357 L1.04196996,10.6392511 C1.78528345,9.8609124 2.62955408,9.08298133 3.56045634,8.35610708 C6.24180738,6.26243398 9.09164042,5.0002 11.9998,5.0002 Z M12,7.5 C12.2761424,7.5 12.5,7.72385763 12.5,8 C12.5,8.27614237 12.2761424,8.5 12,8.5 C10.0667776,8.5 8.5,10.0665071 8.5,12 C8.5,12.2761424 8.27614237,12.5 8,12.5 C7.72385763,12.5 7.5,12.2761424 7.5,12 C7.5,9.51418366 9.51453153,7.5 12,7.5 Z M16,11.5 C16.2761424,11.5 16.5,11.7238576 16.5,12 C16.5,14.4858163 14.4854685,16.5 12,16.5 C11.7238576,16.5 11.5,16.2761424 11.5,16 C11.5,15.7238576 11.7238576,15.5 12,15.5 C13.9332224,15.5 15.5,13.9334929 15.5,12 C15.5,11.7238576 15.7238576,11.5 16,11.5 Z M21.3964466,1.89644661 C21.5917088,1.70118446 21.9082912,1.70118446 22.1035534,1.89644661 C22.2771197,2.07001296 22.2964049,2.33943736 22.1614088,2.5343055 L22.1035534,2.60355339 L2.60355339,22.1035534 C2.40829124,22.2988155 2.09170876,22.2988155 1.89644661,22.1035534 C1.72288026,21.929987 1.70359511,21.6605626 1.83859116,21.4656945 L1.89644661,21.3964466 L21.3964466,1.89644661 Z"/>
|
|
320
|
+
</symbol>
|
|
321
|
+
<symbol id="icon-html-templates" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
319
322
|
<path stroke="none" d="M19,11.9997 C19.2761424,11.9997 19.5,12.2235576 19.5,12.4997 L19.5,12.4997 L19.499,13.427 L19.6566047,13.4993986 C19.8927357,13.6141055 20.1201337,13.7455983 20.333298,13.8914866 L20.333298,13.8914866 L20.454,13.979 L21.2488074,13.518378 C21.4614547,13.3948233 21.7273591,13.4456535 21.8809858,13.6267593 L21.8809858,13.6267593 L21.9330095,13.7006945 L23.4330095,16.2986945 C23.5710492,16.5377793 23.4891945,16.8434968 23.2501586,16.9816211 L23.2501586,16.9816211 L22.452,17.442 L22.4770891,17.7000633 L22.487,17.9997 C22.487,18.1009077 22.4837801,18.2019589 22.4774041,18.3030612 L22.4774041,18.3030612 L22.453,18.557 L23.2507352,19.0175345 C23.4634351,19.1401635 23.5519352,19.395446 23.4720275,19.6186882 L23.4720275,19.6186882 L23.4340817,19.7005805 L21.9350817,22.2985805 C21.7969257,22.5380263 21.4906825,22.6199209 21.2514505,22.481395 L21.2514505,22.481395 L20.455,22.02 L20.3344481,22.1085643 C20.1215026,22.2544443 19.8941477,22.3858782 19.6577156,22.5006509 L19.6577156,22.5006509 L19.499,22.572 L19.5,23.4997 C19.5,23.7451599 19.3231248,23.9493084 19.0898756,23.9916443 L19.0898756,23.9916443 L19,23.9997 L16,23.9997 C15.7238576,23.9997 15.5,23.7758424 15.5,23.4997 L15.5,23.4997 L15.499,22.573 L15.3337173,22.4981037 C15.0934298,22.3824996 14.8631184,22.250938 14.6492717,22.1058155 L14.6492717,22.1058155 L14.529,22.019 L13.7218347,22.4823834 C13.5093376,22.604308 13.2447593,22.5529424 13.0917988,22.3723845 L13.0917988,22.3723845 L13.0399905,22.2987055 L11.5399905,19.7007055 C11.4018553,19.4614554 11.4839285,19.1555203 11.7232648,19.0175345 L11.7232648,19.0175345 L12.521,18.557 L12.496601,18.299951 L12.487,17.9997 C12.487,17.8523742 12.494511,17.7040106 12.5091349,17.5530613 L12.5091349,17.5530613 L12.522,17.443 L11.7246695,16.9815217 C11.5122149,16.8586446 11.4240411,16.603368 11.5041288,16.3802746 L11.5041288,16.3802746 L11.5421348,16.2984446 L13.0441348,13.7004446 C13.1822478,13.4615515 13.4877822,13.3797106 13.7268155,13.5175808 L13.7268155,13.5175808 L14.529,13.98 L14.6503936,13.8942641 C14.8644713,13.7491306 15.0948649,13.6174886 15.3348619,13.5019407 L15.3348619,13.5019407 L15.499,13.426 L15.5,12.4997 C15.5,12.2542401 15.6768752,12.0500916 15.9101244,12.0077557 L15.9101244,12.0077557 L16,11.9997 Z M18.499,12.999 L16.499,12.999 L16.5,13.7617 C16.5,13.9407606 16.4045809,14.1036441 16.2540185,14.1923955 L16.2540185,14.1923955 L16.1743286,14.2303252 C15.6966614,14.4080174 15.2437535,14.6641912 14.8960185,14.9616512 C14.735023,15.0993703 14.5047086,15.1206727 14.3211845,15.0148192 L14.3211845,15.0148192 L13.659,14.632 L12.657,16.365 L13.3163305,16.7468783 C13.4727338,16.837337 13.566111,17.0035437 13.5660253,17.1798189 L13.5660253,17.1798189 L13.5580529,17.2684915 C13.511165,17.5283285 13.487,17.7686607 13.487,17.9997 C13.487,18.2373819 13.5103696,18.4787947 13.5561109,18.7332306 C13.5934315,18.9408265 13.4964651,19.1495152 13.3137352,19.2548655 L13.3137352,19.2548655 L12.656,19.633 L13.657,21.367 L14.3221653,20.9850166 C14.4795575,20.8947096 14.6710764,20.8977544 14.8237717,20.9872694 L14.8237717,20.9872694 L14.8965463,21.0392008 C15.242943,21.3363508 15.6947614,21.5916758 16.1743286,21.7700748 C16.370124,21.8429107 16.5,22.0297959 16.5,22.2387 L16.5,22.2387 L16.499,22.999 L18.499,22.999 L18.5,22.2387 C18.5,22.0596394 18.5954191,21.8967559 18.7459815,21.8080045 L18.7459815,21.8080045 L18.8256714,21.7700748 C19.2929259,21.5962562 19.7345932,21.3427534 20.0884537,21.0392008 C20.2496875,20.9008895 20.480715,20.8795567 20.6645495,20.986005 L20.6645495,20.986005 L21.318,21.365 L22.317,19.633 L21.6602648,19.2548655 C21.5031454,19.1642806 21.4094794,18.9973313 21.4099758,18.8204234 L21.4099758,18.8204234 L21.4182131,18.731447 C21.463795,18.4830721 21.487,18.2410768 21.487,17.9997 C21.487,17.7651226 21.4629345,17.5235841 21.4162734,17.2702812 C21.3779518,17.0622495 21.4746881,16.852612 21.6578414,16.7467789 L21.6578414,16.7467789 L22.316,16.365 L21.317,14.635 L20.6651926,15.014022 C20.5077428,15.1055052 20.3154767,15.1031439 20.1620923,15.0136362 L20.1620923,15.0136362 L20.0889815,14.9616512 C19.7336822,14.6577206 19.2911159,14.4034705 18.8256714,14.2303252 C18.629876,14.1574893 18.5,13.9706041 18.5,13.7617 L18.5,13.7617 L18.499,12.999 Z M11.5,0 C11.5289644,0 11.5576698,0.00251316923 11.5858244,0.00741874956 L11.5,0 C11.53718,0 11.5734121,0.00405810679 11.6082776,0.0117555499 C11.627752,0.0161752938 11.6470999,0.0217060499 11.6660321,0.0283713194 C11.6767797,0.032003496 11.6875823,0.0362330462 11.6981944,0.04081971 C11.7122274,0.0470222758 11.7258544,0.0536592396 11.7391668,0.06090986 C11.7513627,0.0674500504 11.7634712,0.0747354237 11.7752322,0.0825044328 C11.7813925,0.0866293699 11.7874946,0.090849458 11.7935072,0.0952091774 L11.805052,0.103808328 C11.8176175,0.113497606 11.8297092,0.123771313 11.8412864,0.134588748 L11.8535534,0.146446609 L16.8535534,5.14644661 L16.8654113,5.15871357 C16.8762287,5.17029076 16.8865024,5.18238246 16.8961917,5.19494796 L16.8535534,5.14644661 C16.8776939,5.17058707 16.8991102,5.19694105 16.9176052,5.22503102 C16.9252646,5.23652877 16.9325499,5.24863729 16.9393234,5.26106504 C16.9465411,5.27453926 16.9531837,5.28820982 16.9591906,5.30215157 C16.963767,5.31241775 16.9679965,5.32322028 16.9718538,5.33419807 C16.9779762,5.35206799 16.9831476,5.36993766 16.9873149,5.38808049 C16.9890356,5.39509078 16.9905746,5.40257807 16.9919443,5.41012437 L16.9939073,5.42216869 L16.9939073,5.42216869 L17,5.50109091 L16.9879988,11.0010909 L15.9880012,10.9989091 L15.999,6 L11.5,6 C11.2545401,6 11.0503916,5.82312484 11.0080557,5.58987563 L11,5.5 L11,1 L1,1 L1,21 L11,21 L11,22 L0.5,22 C0.254540111,22 0.0503916296,21.8231248 0.00805566941,21.5898756 L0,21.5 L0,0.5 C0,0.254540111 0.176875161,0.0503916296 0.410124368,0.00805566941 L0.5,0 L11.5,0 Z M17.4863,15.5 C18.8674424,15.5 19.9863,16.6188576 19.9863,18 C19.9863,19.3804491 18.8671357,20.5 17.4863,20.5 C16.1061576,20.5 14.9863,19.3801424 14.9863,18 C14.9863,16.6191643 16.1058509,15.5 17.4863,15.5 Z M17.4863,16.5 C16.6580583,16.5 15.9863,17.1715263 15.9863,18 C15.9863,18.8278576 16.6584424,19.5 17.4863,19.5 C18.3147737,19.5 18.9863,18.8282417 18.9863,18 C18.9863,17.1711424 18.3151576,16.5 17.4863,16.5 Z M6.11135339,8.41104661 C6.28491974,8.58461296 6.30420489,8.85403736 6.16920884,9.0489055 L6.11135339,9.11815339 L3.695,11.534 L6.11128956,13.9499828 C6.28488724,14.1235178 6.30422103,14.3929387 6.16926016,14.5878312 L6.11141721,14.6570896 C5.9378822,14.8306872 5.66846129,14.850021 5.47356878,14.7150602 L5.40431044,14.6572172 L2.63431044,11.8882172 C2.4606906,11.71466 2.44137692,11.4451978 2.5763848,11.2503036 L2.63424661,11.1810466 L5.40424661,8.41104661 C5.59950876,8.21578446 5.91609124,8.21578446 6.11135339,8.41104661 Z M9.5030055,8.35319116 L9.57225339,8.41104661 L12.3422534,11.1810466 C12.5158419,11.3546351 12.5351069,11.6241009 12.4000639,11.8189707 L12.3421896,11.8882172 L9.57218956,14.6572172 C9.37689216,14.8524441 9.06030968,14.8523869 8.86508279,14.6570896 C8.69154777,14.4834919 8.67231126,14.214064 8.80734249,14.0192202 L8.86521044,13.9499828 L11.281,11.534 L8.86514661,9.11815339 C8.69158026,8.94458704 8.67229511,8.67516264 8.80729116,8.4802945 L8.86514661,8.41104661 C9.03871296,8.23748026 9.30813736,8.21819511 9.5030055,8.35319116 Z M12,1.707 L12,5 L15.293,5 L12,1.707 Z"/>
|
|
320
323
|
</symbol>
|
|
321
324
|
<symbol id="icon-import-export" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
@@ -348,7 +351,10 @@
|
|
|
348
351
|
<symbol id="icon-notes-filled" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
349
352
|
<path stroke="none" fill-rule="evenodd" d="M20.6464466,11.6464466 C20.8417088,11.4511845 21.1582912,11.4511845 21.3535534,11.6464466 L21.3535534,11.6464466 L23.8535534,14.1464466 C24.0488155,14.3417088 24.0488155,14.6582912 23.8535534,14.8535534 L23.8535534,14.8535534 L16.3515534,22.3555534 L16.3515534,22.3555534 C16.3190097,22.3880971 16.283096,22.4152168 16.2449356,22.4369126 C16.2108971,22.4561579 16.1739424,22.4717386 16.1353606,22.482762 L16.2112588,22.4543902 C16.1976901,22.4607858 16.1838931,22.4665371 16.1699139,22.471644 L16.1353606,22.482762 L12.6353606,23.482762 C12.2581846,23.5905265 11.9094735,23.2418154 12.017238,22.8646394 L12.017238,22.8646394 L13.017238,19.3646394 C13.0205869,19.3529184 13.0243564,19.3413475 13.0285343,19.3299475 C13.0334629,19.3161069 13.0392142,19.3023099 13.0456098,19.2887412 C13.0513233,19.276959 13.0572218,19.2656152 13.0635449,19.2545151 C13.0847832,19.216904 13.1119029,19.1809903 13.1444466,19.1484466 Z M13.744,20.455 L13.225,22.274 L15.044,21.755 L13.744,20.455 Z M16.9939428,5.42239391 L17,5.50137719 L16.9819981,12.0363772 L15.9820019,12.0336228 L15.998,6 L11.5,6 C11.2545401,6 11.0503916,5.82312484 11.0080557,5.58987563 L11,5.5 L11,1 L1,1 L1,21 L11,21 L11,22 L0.5,22 C0.254540111,22 0.0503916296,21.8231248 0.00805566941,21.5898756 L-1.42108547e-14,21.5 L-1.42108547e-14,0.5 C-1.42108547e-14,0.254540111 0.176875161,0.0503916296 0.410124368,0.00805566941 L0.5,1.77635684e-14 L11.5,1.77635684e-14 C11.5289644,1.77635684e-14 11.5576698,0.00251316923 11.5858244,0.00741874956 L11.5,1.77635684e-14 C11.53718,1.77635684e-14 11.5734121,0.00405810679 11.6082776,0.0117555499 C11.627752,0.0161752938 11.6470999,0.0217060499 11.6660321,0.0283713194 C11.6767797,0.032003496 11.6875823,0.0362330462 11.6981944,0.04081971 C11.7122274,0.0470222758 11.7258544,0.0536592396 11.7391668,0.06090986 C11.7513627,0.0674500504 11.7634712,0.0747354237 11.7752322,0.0825044328 C11.7813925,0.0866293699 11.7874946,0.090849458 11.7935072,0.0952091774 L11.805052,0.103808328 C11.8176175,0.113497606 11.8297092,0.123771313 11.8412864,0.134588748 L11.8535534,0.146446609 L16.8535534,5.14644661 L16.8654113,5.15871357 C16.8762287,5.17029076 16.8865024,5.18238246 16.8961917,5.19494796 L16.8535534,5.14644661 C16.8777119,5.17060508 16.8991419,5.19698016 16.9176461,5.22509324 C16.9252646,5.23652877 16.9325499,5.24863729 16.9393234,5.26106504 C16.9460119,5.27357186 16.9521693,5.28613455 16.9577891,5.29892993 C16.9633616,5.31127723 16.9683748,5.32406798 16.9728642,5.33710256 C16.9780698,5.35260169 16.9827131,5.36859599 16.9865529,5.3848132 C16.9886127,5.39304989 16.9903879,5.40154903 16.9919443,5.41012437 L16.9939428,5.42239391 L16.9939428,5.42239391 Z M19,14.707 L14.205,19.502 L15.998,21.295 L20.793,16.5 L19,14.707 Z M8.4814,15 C8.75754237,15 8.9814,15.2238576 8.9814,15.5 C8.9814,15.7454599 8.80452484,15.9496084 8.57127563,15.9919443 L8.4814,16 L3.4814,16 C3.20525763,16 2.9814,15.7761424 2.9814,15.5 C2.9814,15.2545401 3.15827516,15.0503916 3.39152437,15.0080557 L3.4814,15 L8.4814,15 Z M21,12.707 L19.707,14 L21.5,15.793 L22.793,14.5 L21,12.707 Z M9.4814,12 C9.75754237,12 9.9814,12.2238576 9.9814,12.5 C9.9814,12.7454599 9.80452484,12.9496084 9.57127563,12.9919443 L9.4814,13 L3.4814,13 C3.20525763,13 2.9814,12.7761424 2.9814,12.5 C2.9814,12.2545401 3.15827516,12.0503916 3.39152437,12.0080557 L3.4814,12 L9.4814,12 Z M11.4814,9 C11.7575424,9 11.9814,9.22385763 11.9814,9.5 C11.9814,9.74545989 11.8045248,9.94960837 11.5712756,9.99194433 L11.4814,10 L3.4814,10 C3.20525763,10 2.9814,9.77614237 2.9814,9.5 C2.9814,9.25454011 3.15827516,9.05039163 3.39152437,9.00805567 L3.4814,9 L11.4814,9 Z M7.9814,6 C8.25754237,6 8.4814,6.22385763 8.4814,6.5 C8.4814,6.74545989 8.30452484,6.94960837 8.07127563,6.99194433 L7.9814,7 L3.4814,7 C3.20525763,7 2.9814,6.77614237 2.9814,6.5 C2.9814,6.25454011 3.15827516,6.05039163 3.39152437,6.00805567 L3.4814,6 L7.9814,6 Z M15.293,5 L12,1.707 L12,5 L15.293,5 Z"/>
|
|
350
353
|
</symbol>
|
|
351
|
-
<symbol id="icon-
|
|
354
|
+
<symbol id="icon-open-in-new-tab" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
355
|
+
<path fill="#333" d="M6.5,2.98 C6.77614237,2.98 7,3.20385763 7,3.48 C7,3.72545989 6.82312484,3.92960837 6.58987563,3.97194433 L6.5,3.98 L1,3.98 L1,14.98 L12,14.98 L12,9.52 C12,9.27454011 12.1768752,9.07039163 12.4101244,9.02805567 L12.5,9.02 C12.7454599,9.02 12.9496084,9.19687516 12.9919443,9.43012437 L13,9.52 L13,15.48 C13,15.7254599 12.8231248,15.9296084 12.5898756,15.9719443 L12.5,15.98 L0.5,15.98 C0.254540111,15.98 0.0503916296,15.8031248 0.00805566941,15.5698756 L0,15.48 L0,3.48 C0,3.23454011 0.176875161,3.03039163 0.410124368,2.98805567 L0.5,2.98 L6.5,2.98 Z M9.41012437,0.00805566941 L9.5,0 L15.5115408,0.000132376874 C15.5324012,0.0006109983 15.5532373,0.00238749635 15.5739178,0.00546187104 L15.5,0 L15.5534276,0.00282096186 L15.6281458,0.0166082551 L15.6910366,0.0377922373 L15.7670103,0.0771880058 L15.8221372,0.117583716 L15.8535534,0.146446609 L15.891039,0.188337752 L15.9332526,0.250234852 L15.9623894,0.3094049 L15.9833892,0.371860863 L15.997912,0.454213822 L16,0.5 L16,6.5 C16,6.77614237 15.7761424,7 15.5,7 C15.2545401,7 15.0503916,6.82312484 15.0080557,6.58987563 L15,6.5 L15,1.706 L3.85355339,12.8535534 C3.65829124,13.0488155 3.34170876,13.0488155 3.14644661,12.8535534 C2.97288026,12.679987 2.95359511,12.4105626 3.08859116,12.2156945 L3.14644661,12.1464466 L14.292,1 L9.5,1 C9.25454011,1 9.05039163,0.823124839 9.00805567,0.589875632 L9,0.5 C9,0.254540111 9.17687516,0.0503916296 9.41012437,0.00805566941 Z"/>
|
|
356
|
+
</symbol>
|
|
357
|
+
<symbol id="icon-opera" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs>
|
|
352
358
|
<linearGradient id="OperaA" x1="12" y1=".26" x2="12" y2="24.09" gradientUnits="userSpaceOnUse">
|
|
353
359
|
<stop offset=".46" stop-color="#e52d37"/>
|
|
354
360
|
<stop offset="1" stop-color="#981917"/>
|