wristband first

This commit is contained in:
Jay 2017-04-07 16:23:41 +08:00
parent 05e38c2e2d
commit 2434db599d
6 changed files with 1384 additions and 979 deletions

File diff suppressed because it is too large Load Diff

View File

@ -63,7 +63,7 @@
/******/ __webpack_require__.p = ""; /******/ __webpack_require__.p = "";
/******/ // Load entry module and return exports /******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 1139); /******/ return __webpack_require__(__webpack_require__.s = 1145);
/******/ }) /******/ })
/************************************************************************/ /************************************************************************/
/******/ ([ /******/ ([
@ -1428,106 +1428,6 @@ module.exports = ReactDOMComponentTree;
/* 20 */ /* 20 */
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
var canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);
/**
* Simple, lightweight module assisting with the detection and context of
* Worker. Helps avoid circular dependencies and allows code to reason about
* whether or not they are in a Worker, even if they never include the main
* `ReactWorker` dependency.
*/
var ExecutionEnvironment = {
canUseDOM: canUseDOM,
canUseWorkers: typeof Worker !== 'undefined',
canUseEventListeners: canUseDOM && !!(window.addEventListener || window.attachEvent),
canUseViewport: canUseDOM && !!window.screen,
isInWorker: !canUseDOM // For now, this is true - might change in the future.
};
module.exports = ExecutionEnvironment;
/***/ }),
/* 21 */
/***/ (function(module, exports, __webpack_require__) {
var arrayMap = __webpack_require__(38),
baseIteratee = __webpack_require__(32),
baseMap = __webpack_require__(280),
isArray = __webpack_require__(14);
/**
* Creates an array of values by running each element in `collection` thru
* `iteratee`. The iteratee is invoked with three arguments:
* (value, index|key, collection).
*
* Many lodash methods are guarded to work as iteratees for methods like
* `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`.
*
* The guarded methods are:
* `ary`, `chunk`, `curry`, `curryRight`, `drop`, `dropRight`, `every`,
* `fill`, `invert`, `parseInt`, `random`, `range`, `rangeRight`, `repeat`,
* `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`,
* `template`, `trim`, `trimEnd`, `trimStart`, and `words`
*
* @static
* @memberOf _
* @since 0.1.0
* @category Collection
* @param {Array|Object} collection The collection to iterate over.
* @param {Function} [iteratee=_.identity] The function invoked per iteration.
* @returns {Array} Returns the new mapped array.
* @example
*
* function square(n) {
* return n * n;
* }
*
* _.map([4, 8], square);
* // => [16, 64]
*
* _.map({ 'a': 4, 'b': 8 }, square);
* // => [16, 64] (iteration order is not guaranteed)
*
* var users = [
* { 'user': 'barney' },
* { 'user': 'fred' }
* ];
*
* // The `_.property` iteratee shorthand.
* _.map(users, 'user');
* // => ['barney', 'fred']
*/
function map(collection, iteratee) {
var func = isArray(collection) ? arrayMap : baseMap;
return func(collection, baseIteratee(iteratee, 3));
}
module.exports = map;
/***/ }),
/* 22 */
/***/ (function(module, exports, __webpack_require__) {
"use strict"; "use strict";
@ -2394,6 +2294,106 @@ var clear_dashboard = exports.clear_dashboard = function clear_dashboard() {
}; };
}; };
/***/ }),
/* 21 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
/**
* Copyright (c) 2013-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
var canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);
/**
* Simple, lightweight module assisting with the detection and context of
* Worker. Helps avoid circular dependencies and allows code to reason about
* whether or not they are in a Worker, even if they never include the main
* `ReactWorker` dependency.
*/
var ExecutionEnvironment = {
canUseDOM: canUseDOM,
canUseWorkers: typeof Worker !== 'undefined',
canUseEventListeners: canUseDOM && !!(window.addEventListener || window.attachEvent),
canUseViewport: canUseDOM && !!window.screen,
isInWorker: !canUseDOM // For now, this is true - might change in the future.
};
module.exports = ExecutionEnvironment;
/***/ }),
/* 22 */
/***/ (function(module, exports, __webpack_require__) {
var arrayMap = __webpack_require__(38),
baseIteratee = __webpack_require__(32),
baseMap = __webpack_require__(280),
isArray = __webpack_require__(14);
/**
* Creates an array of values by running each element in `collection` thru
* `iteratee`. The iteratee is invoked with three arguments:
* (value, index|key, collection).
*
* Many lodash methods are guarded to work as iteratees for methods like
* `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`.
*
* The guarded methods are:
* `ary`, `chunk`, `curry`, `curryRight`, `drop`, `dropRight`, `every`,
* `fill`, `invert`, `parseInt`, `random`, `range`, `rangeRight`, `repeat`,
* `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`,
* `template`, `trim`, `trimEnd`, `trimStart`, and `words`
*
* @static
* @memberOf _
* @since 0.1.0
* @category Collection
* @param {Array|Object} collection The collection to iterate over.
* @param {Function} [iteratee=_.identity] The function invoked per iteration.
* @returns {Array} Returns the new mapped array.
* @example
*
* function square(n) {
* return n * n;
* }
*
* _.map([4, 8], square);
* // => [16, 64]
*
* _.map({ 'a': 4, 'b': 8 }, square);
* // => [16, 64] (iteration order is not guaranteed)
*
* var users = [
* { 'user': 'barney' },
* { 'user': 'fred' }
* ];
*
* // The `_.property` iteratee shorthand.
* _.map(users, 'user');
* // => ['barney', 'fred']
*/
function map(collection, iteratee) {
var func = isArray(collection) ? arrayMap : baseMap;
return func(collection, baseIteratee(iteratee, 3));
}
module.exports = map;
/***/ }), /***/ }),
/* 23 */ /* 23 */
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
@ -2406,21 +2406,6 @@ var clear_dashboard = exports.clear_dashboard = function clear_dashboard() {
/***/ }), /***/ }),
/* 24 */ /* 24 */
/***/ (function(module, exports, __webpack_require__) {
var freeGlobal = __webpack_require__(291);
/** Detect free variable `self`. */
var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
/** Used as a reference to the global object. */
var root = freeGlobal || freeSelf || Function('return this')();
module.exports = root;
/***/ }),
/* 25 */
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
@ -2437,6 +2422,21 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
/***/ }),
/* 25 */
/***/ (function(module, exports, __webpack_require__) {
var freeGlobal = __webpack_require__(291);
/** Detect free variable `self`. */
var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
/** Used as a reference to the global object. */
var root = freeGlobal || freeSelf || Function('return this')();
module.exports = root;
/***/ }), /***/ }),
/* 26 */ /* 26 */
/***/ (function(module, exports) { /***/ (function(module, exports) {
@ -5236,7 +5236,7 @@ module.exports = __webpack_require__(56) ? function(object, key, value){
/* 69 */ /* 69 */
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
var root = __webpack_require__(24); var root = __webpack_require__(25);
/** Built-in value references. */ /** Built-in value references. */
var Symbol = root.Symbol; var Symbol = root.Symbol;
@ -6443,7 +6443,7 @@ module.exports = includes;
/* 92 */ /* 92 */
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
/* WEBPACK VAR INJECTION */(function(module) {var root = __webpack_require__(24), /* WEBPACK VAR INJECTION */(function(module) {var root = __webpack_require__(25),
stubFalse = __webpack_require__(723); stubFalse = __webpack_require__(723);
/** Detect free variable `exports`. */ /** Detect free variable `exports`. */
@ -9215,7 +9215,7 @@ module.exports = escapeTextContentForBrowser;
var ExecutionEnvironment = __webpack_require__(20); var ExecutionEnvironment = __webpack_require__(21);
var DOMNamespaces = __webpack_require__(197); var DOMNamespaces = __webpack_require__(197);
var WHITESPACE_TEST = /^[ \r\n\t\f]/; var WHITESPACE_TEST = /^[ \r\n\t\f]/;
@ -10285,7 +10285,7 @@ module.exports = LodashWrapper;
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
var getNative = __webpack_require__(59), var getNative = __webpack_require__(59),
root = __webpack_require__(24); root = __webpack_require__(25);
/* Built-in method references that are verified to be native. */ /* Built-in method references that are verified to be native. */
var Map = getNative(root, 'Map'); var Map = getNative(root, 'Map');
@ -12491,7 +12491,7 @@ module.exports = getEventTarget;
var ExecutionEnvironment = __webpack_require__(20); var ExecutionEnvironment = __webpack_require__(21);
var useHasFeature; var useHasFeature;
if (ExecutionEnvironment.canUseDOM) { if (ExecutionEnvironment.canUseDOM) {
@ -14373,7 +14373,7 @@ FeedContent._meta = {
"use strict"; "use strict";
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__ = __webpack_require__(1); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__ = __webpack_require__(1);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_map__ = __webpack_require__(21); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_map__ = __webpack_require__(22);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_lodash_map__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_lodash_map__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_isNil__ = __webpack_require__(4); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_isNil__ = __webpack_require__(4);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_isNil___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_lodash_isNil__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_isNil___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_lodash_isNil__);
@ -15788,7 +15788,7 @@ var Symbol = __WEBPACK_IMPORTED_MODULE_0__root_js__["a" /* default */].Symbol;
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
var getNative = __webpack_require__(59), var getNative = __webpack_require__(59),
root = __webpack_require__(24); root = __webpack_require__(25);
/* Built-in method references that are verified to be native. */ /* Built-in method references that are verified to be native. */
var Set = getNative(root, 'Set'); var Set = getNative(root, 'Set');
@ -15800,7 +15800,7 @@ module.exports = Set;
/* 269 */ /* 269 */
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
var root = __webpack_require__(24); var root = __webpack_require__(25);
/** Built-in value references. */ /** Built-in value references. */
var Uint8Array = root.Uint8Array; var Uint8Array = root.Uint8Array;
@ -15813,7 +15813,7 @@ module.exports = Uint8Array;
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
var getNative = __webpack_require__(59), var getNative = __webpack_require__(59),
root = __webpack_require__(24); root = __webpack_require__(25);
/* Built-in method references that are verified to be native. */ /* Built-in method references that are verified to be native. */
var WeakMap = getNative(root, 'WeakMap'); var WeakMap = getNative(root, 'WeakMap');
@ -16386,7 +16386,7 @@ var composeArgs = __webpack_require__(285),
getHolder = __webpack_require__(185), getHolder = __webpack_require__(185),
reorder = __webpack_require__(665), reorder = __webpack_require__(665),
replaceHolders = __webpack_require__(121), replaceHolders = __webpack_require__(121),
root = __webpack_require__(24); root = __webpack_require__(25);
/** Used to compose bitmasks for function metadata. */ /** Used to compose bitmasks for function metadata. */
var WRAP_BIND_FLAG = 1, var WRAP_BIND_FLAG = 1,
@ -19795,7 +19795,7 @@ module.exports = getHostComponentFromComposite;
var ExecutionEnvironment = __webpack_require__(20); var ExecutionEnvironment = __webpack_require__(21);
var contentKey = null; var contentKey = null;
@ -20022,7 +20022,7 @@ module.exports = isTextInputElement;
var ExecutionEnvironment = __webpack_require__(20); var ExecutionEnvironment = __webpack_require__(21);
var escapeTextContentForBrowser = __webpack_require__(136); var escapeTextContentForBrowser = __webpack_require__(136);
var setInnerHTML = __webpack_require__(137); var setInnerHTML = __webpack_require__(137);
@ -22667,7 +22667,7 @@ MessageHeader.create = __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_4__lib__[
"use strict"; "use strict";
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__ = __webpack_require__(1); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__ = __webpack_require__(1);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_map__ = __webpack_require__(21); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_map__ = __webpack_require__(22);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_lodash_map__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_lodash_map__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_isNil__ = __webpack_require__(4); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_isNil__ = __webpack_require__(4);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_isNil___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_lodash_isNil__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_isNil___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_lodash_isNil__);
@ -22895,7 +22895,7 @@ TableHeaderCell.defaultProps = {
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_without__ = __webpack_require__(15); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_without__ = __webpack_require__(15);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_without___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_lodash_without__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_without___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_lodash_without__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_map__ = __webpack_require__(21); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_map__ = __webpack_require__(22);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_lodash_map__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_lodash_map__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_lodash_isNil__ = __webpack_require__(4); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_lodash_isNil__ = __webpack_require__(4);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_lodash_isNil___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_lodash_isNil__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_lodash_isNil___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_lodash_isNil__);
@ -24769,7 +24769,7 @@ StepContent._meta = {
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_without__ = __webpack_require__(15); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_without__ = __webpack_require__(15);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_without___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_lodash_without__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_without___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_lodash_without__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_map__ = __webpack_require__(21); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_map__ = __webpack_require__(22);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_lodash_map__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_lodash_map__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_lodash_isNil__ = __webpack_require__(4); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_lodash_isNil__ = __webpack_require__(4);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_lodash_isNil___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_lodash_isNil__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_lodash_isNil___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_lodash_isNil__);
@ -26806,7 +26806,7 @@ CardContent._meta = {
"use strict"; "use strict";
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__ = __webpack_require__(1); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__ = __webpack_require__(1);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_map__ = __webpack_require__(21); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_map__ = __webpack_require__(22);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_lodash_map__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_lodash_map__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_isNil__ = __webpack_require__(4); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_isNil__ = __webpack_require__(4);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_isNil___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_lodash_isNil__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_isNil___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_lodash_isNil__);
@ -27710,7 +27710,7 @@ ItemContent._meta = {
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_objectWithoutProperties___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_objectWithoutProperties__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_objectWithoutProperties___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_objectWithoutProperties__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_extends__ = __webpack_require__(1); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_extends__ = __webpack_require__(1);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_extends___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_extends__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_extends___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_extends__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_map__ = __webpack_require__(21); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_map__ = __webpack_require__(22);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_lodash_map__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_lodash_map__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_lodash_isNil__ = __webpack_require__(4); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_lodash_isNil__ = __webpack_require__(4);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_lodash_isNil___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_lodash_isNil__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_lodash_isNil___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_lodash_isNil__);
@ -27970,7 +27970,7 @@ Statistic.Value = __WEBPACK_IMPORTED_MODULE_8__StatisticValue__["a" /* default *
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_without__ = __webpack_require__(15); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_without__ = __webpack_require__(15);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_without___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_lodash_without__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_without___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_lodash_without__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_map__ = __webpack_require__(21); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_map__ = __webpack_require__(22);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_lodash_map__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_lodash_map__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_lodash_isNil__ = __webpack_require__(4); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_lodash_isNil__ = __webpack_require__(4);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_lodash_isNil___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_lodash_isNil__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_lodash_isNil___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_lodash_isNil__);
@ -28459,13 +28459,13 @@ Object.defineProperty(exports, "__esModule", {
value: true value: true
}); });
var _reactRedux = __webpack_require__(25); var _reactRedux = __webpack_require__(24);
var _Dialog = __webpack_require__(458); var _Dialog = __webpack_require__(458);
var _Dialog2 = _interopRequireDefault(_Dialog); var _Dialog2 = _interopRequireDefault(_Dialog);
var _actions = __webpack_require__(22); var _actions = __webpack_require__(20);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@ -28498,7 +28498,7 @@ Object.defineProperty(exports, "__esModule", {
value: true value: true
}); });
var _reactRedux = __webpack_require__(25); var _reactRedux = __webpack_require__(24);
var _Loading = __webpack_require__(459); var _Loading = __webpack_require__(459);
@ -30573,7 +30573,7 @@ module.exports = createArrayFromMixed;
/*eslint-disable fb-www/unsafe-html*/ /*eslint-disable fb-www/unsafe-html*/
var ExecutionEnvironment = __webpack_require__(20); var ExecutionEnvironment = __webpack_require__(21);
var createArrayFromMixed = __webpack_require__(525); var createArrayFromMixed = __webpack_require__(525);
var getMarkupWrap = __webpack_require__(527); var getMarkupWrap = __webpack_require__(527);
@ -30661,7 +30661,7 @@ module.exports = createNodesFromMarkup;
/*eslint-disable fb-www/unsafe-html */ /*eslint-disable fb-www/unsafe-html */
var ExecutionEnvironment = __webpack_require__(20); var ExecutionEnvironment = __webpack_require__(21);
var invariant = __webpack_require__(6); var invariant = __webpack_require__(6);
@ -30979,7 +30979,7 @@ module.exports = memoizeStringOnly;
var ExecutionEnvironment = __webpack_require__(20); var ExecutionEnvironment = __webpack_require__(21);
var performance; var performance;
@ -33069,7 +33069,7 @@ function isObjectLike(value) {
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
var getNative = __webpack_require__(59), var getNative = __webpack_require__(59),
root = __webpack_require__(24); root = __webpack_require__(25);
/* Built-in method references that are verified to be native. */ /* Built-in method references that are verified to be native. */
var DataView = getNative(root, 'DataView'); var DataView = getNative(root, 'DataView');
@ -33120,7 +33120,7 @@ module.exports = Hash;
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
var getNative = __webpack_require__(59), var getNative = __webpack_require__(59),
root = __webpack_require__(24); root = __webpack_require__(25);
/* Built-in method references that are verified to be native. */ /* Built-in method references that are verified to be native. */
var Promise = getNative(root, 'Promise'); var Promise = getNative(root, 'Promise');
@ -34532,7 +34532,7 @@ module.exports = castSlice;
/* 602 */ /* 602 */
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
/* WEBPACK VAR INJECTION */(function(module) {var root = __webpack_require__(24); /* WEBPACK VAR INJECTION */(function(module) {var root = __webpack_require__(25);
/** Detect free variable `exports`. */ /** Detect free variable `exports`. */
var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports; var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;
@ -34862,7 +34862,7 @@ module.exports = copySymbolsIn;
/* 613 */ /* 613 */
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
var root = __webpack_require__(24); var root = __webpack_require__(25);
/** Used to detect overreaching core-js shims. */ /** Used to detect overreaching core-js shims. */
var coreJsData = root['__core-js_shared__']; var coreJsData = root['__core-js_shared__'];
@ -35014,7 +35014,7 @@ module.exports = createBaseFor;
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
var createCtor = __webpack_require__(114), var createCtor = __webpack_require__(114),
root = __webpack_require__(24); root = __webpack_require__(25);
/** Used to compose bitmasks for function metadata. */ /** Used to compose bitmasks for function metadata. */
var WRAP_BIND_FLAG = 1; var WRAP_BIND_FLAG = 1;
@ -35122,7 +35122,7 @@ var apply = __webpack_require__(103),
createRecurry = __webpack_require__(288), createRecurry = __webpack_require__(288),
getHolder = __webpack_require__(185), getHolder = __webpack_require__(185),
replaceHolders = __webpack_require__(121), replaceHolders = __webpack_require__(121),
root = __webpack_require__(24); root = __webpack_require__(25);
/** /**
* Creates a function that wraps `func` to enable currying. * Creates a function that wraps `func` to enable currying.
@ -35285,7 +35285,7 @@ module.exports = createFlow;
var apply = __webpack_require__(103), var apply = __webpack_require__(103),
createCtor = __webpack_require__(114), createCtor = __webpack_require__(114),
root = __webpack_require__(24); root = __webpack_require__(25);
/** Used to compose bitmasks for function metadata. */ /** Used to compose bitmasks for function metadata. */
var WRAP_BIND_FLAG = 1; var WRAP_BIND_FLAG = 1;
@ -38757,7 +38757,7 @@ module.exports = func;
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
var convert = __webpack_require__(18), var convert = __webpack_require__(18),
func = convert('map', __webpack_require__(21)); func = convert('map', __webpack_require__(22));
func.placeholder = __webpack_require__(17); func.placeholder = __webpack_require__(17);
module.exports = func; module.exports = func;
@ -40154,7 +40154,7 @@ module.exports = AutoFocusUtils;
var EventPropagators = __webpack_require__(94); var EventPropagators = __webpack_require__(94);
var ExecutionEnvironment = __webpack_require__(20); var ExecutionEnvironment = __webpack_require__(21);
var FallbackCompositionState = __webpack_require__(741); var FallbackCompositionState = __webpack_require__(741);
var SyntheticCompositionEvent = __webpack_require__(784); var SyntheticCompositionEvent = __webpack_require__(784);
var SyntheticInputEvent = __webpack_require__(787); var SyntheticInputEvent = __webpack_require__(787);
@ -40544,7 +40544,7 @@ module.exports = BeforeInputEventPlugin;
var CSSProperty = __webpack_require__(331); var CSSProperty = __webpack_require__(331);
var ExecutionEnvironment = __webpack_require__(20); var ExecutionEnvironment = __webpack_require__(21);
var ReactInstrumentation = __webpack_require__(30); var ReactInstrumentation = __webpack_require__(30);
var camelizeStyleName = __webpack_require__(523); var camelizeStyleName = __webpack_require__(523);
@ -40759,7 +40759,7 @@ module.exports = CSSPropertyOperations;
var EventPluginHub = __webpack_require__(93); var EventPluginHub = __webpack_require__(93);
var EventPropagators = __webpack_require__(94); var EventPropagators = __webpack_require__(94);
var ExecutionEnvironment = __webpack_require__(20); var ExecutionEnvironment = __webpack_require__(21);
var ReactDOMComponentTree = __webpack_require__(19); var ReactDOMComponentTree = __webpack_require__(19);
var ReactUpdates = __webpack_require__(36); var ReactUpdates = __webpack_require__(36);
var SyntheticEvent = __webpack_require__(41); var SyntheticEvent = __webpack_require__(41);
@ -41086,7 +41086,7 @@ module.exports = ChangeEventPlugin;
var _prodInvariant = __webpack_require__(9); var _prodInvariant = __webpack_require__(9);
var DOMLazyTree = __webpack_require__(75); var DOMLazyTree = __webpack_require__(75);
var ExecutionEnvironment = __webpack_require__(20); var ExecutionEnvironment = __webpack_require__(21);
var createNodesFromMarkup = __webpack_require__(526); var createNodesFromMarkup = __webpack_require__(526);
var emptyFunction = __webpack_require__(31); var emptyFunction = __webpack_require__(31);
@ -42742,7 +42742,7 @@ if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' && typeof __REACT_DEVT
} }
if (true) { if (true) {
var ExecutionEnvironment = __webpack_require__(20); var ExecutionEnvironment = __webpack_require__(21);
if (ExecutionEnvironment.canUseDOM && window.top === window.self) { if (ExecutionEnvironment.canUseDOM && window.top === window.self) {
// First check if devtools is not installed // First check if devtools is not installed
@ -44536,7 +44536,7 @@ module.exports = ReactDOMOption;
var ExecutionEnvironment = __webpack_require__(20); var ExecutionEnvironment = __webpack_require__(21);
var getNodeForCharacterOffset = __webpack_require__(800); var getNodeForCharacterOffset = __webpack_require__(800);
var getTextContentAccessor = __webpack_require__(347); var getTextContentAccessor = __webpack_require__(347);
@ -45349,7 +45349,7 @@ module.exports = ReactDOMUnknownPropertyHook;
var ReactInvalidSetStateWarningHook = __webpack_require__(769); var ReactInvalidSetStateWarningHook = __webpack_require__(769);
var ReactHostOperationHistoryHook = __webpack_require__(767); var ReactHostOperationHistoryHook = __webpack_require__(767);
var ReactComponentTreeHook = __webpack_require__(27); var ReactComponentTreeHook = __webpack_require__(27);
var ExecutionEnvironment = __webpack_require__(20); var ExecutionEnvironment = __webpack_require__(21);
var performanceNow = __webpack_require__(535); var performanceNow = __webpack_require__(535);
var warning = __webpack_require__(7); var warning = __webpack_require__(7);
@ -45941,7 +45941,7 @@ module.exports = ReactEventEmitterMixin;
var _assign = __webpack_require__(16); var _assign = __webpack_require__(16);
var EventListener = __webpack_require__(262); var EventListener = __webpack_require__(262);
var ExecutionEnvironment = __webpack_require__(20); var ExecutionEnvironment = __webpack_require__(21);
var PooledClass = __webpack_require__(62); var PooledClass = __webpack_require__(62);
var ReactDOMComponentTree = __webpack_require__(19); var ReactDOMComponentTree = __webpack_require__(19);
var ReactUpdates = __webpack_require__(36); var ReactUpdates = __webpack_require__(36);
@ -47700,7 +47700,7 @@ module.exports = SVGDOMPropertyConfig;
var EventPropagators = __webpack_require__(94); var EventPropagators = __webpack_require__(94);
var ExecutionEnvironment = __webpack_require__(20); var ExecutionEnvironment = __webpack_require__(21);
var ReactDOMComponentTree = __webpack_require__(19); var ReactDOMComponentTree = __webpack_require__(19);
var ReactInputSelection = __webpack_require__(339); var ReactInputSelection = __webpack_require__(339);
var SyntheticEvent = __webpack_require__(41); var SyntheticEvent = __webpack_require__(41);
@ -49253,7 +49253,7 @@ module.exports = getNodeForCharacterOffset;
var ExecutionEnvironment = __webpack_require__(20); var ExecutionEnvironment = __webpack_require__(21);
/** /**
* Generate a mapping of standard vendor prefixes using the defined style property and event name. * Generate a mapping of standard vendor prefixes using the defined style property and event name.
@ -53105,7 +53105,7 @@ TextArea.handledProps = ['as', 'autoHeight', 'onChange', 'value'];
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_without__ = __webpack_require__(15); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_without__ = __webpack_require__(15);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_without___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_lodash_without__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_without___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_lodash_without__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_map__ = __webpack_require__(21); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_map__ = __webpack_require__(22);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_lodash_map__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_lodash_map__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_lodash_each__ = __webpack_require__(123); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_lodash_each__ = __webpack_require__(123);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_lodash_each___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_lodash_each__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_lodash_each___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_lodash_each__);
@ -53254,7 +53254,7 @@ Breadcrumb.Section = __WEBPACK_IMPORTED_MODULE_9__BreadcrumbSection__["a" /* def
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_babel_runtime_helpers_defineProperty___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_babel_runtime_helpers_defineProperty__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_babel_runtime_helpers_defineProperty___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_babel_runtime_helpers_defineProperty__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_lodash_without__ = __webpack_require__(15); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_lodash_without__ = __webpack_require__(15);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_lodash_without___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_lodash_without__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_lodash_without___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_lodash_without__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_lodash_map__ = __webpack_require__(21); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_lodash_map__ = __webpack_require__(22);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_lodash_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7_lodash_map__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_lodash_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7_lodash_map__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_lodash_find__ = __webpack_require__(191); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_lodash_find__ = __webpack_require__(191);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_lodash_find___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_8_lodash_find__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_lodash_find___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_8_lodash_find__);
@ -53725,7 +53725,7 @@ Grid._meta = {
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_lodash_isNil__ = __webpack_require__(4); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_lodash_isNil__ = __webpack_require__(4);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_lodash_isNil___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_lodash_isNil__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_lodash_isNil___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_lodash_isNil__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_lodash_map__ = __webpack_require__(21); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_lodash_map__ = __webpack_require__(22);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_lodash_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_lodash_map__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_lodash_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_lodash_map__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_lodash_get__ = __webpack_require__(72); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_lodash_get__ = __webpack_require__(72);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_lodash_get___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7_lodash_get__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_lodash_get___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7_lodash_get__);
@ -54187,7 +54187,7 @@ Message.handledProps = ['as', 'attached', 'children', 'className', 'color', 'com
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_without__ = __webpack_require__(15); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_without__ = __webpack_require__(15);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_without___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_lodash_without__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_without___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_lodash_without__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_map__ = __webpack_require__(21); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_map__ = __webpack_require__(22);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_lodash_map__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_lodash_map__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_lodash_isNil__ = __webpack_require__(4); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_lodash_isNil__ = __webpack_require__(4);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_lodash_isNil___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_lodash_isNil__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_lodash_isNil___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_lodash_isNil__);
@ -54815,7 +54815,7 @@ Header.Subheader = __WEBPACK_IMPORTED_MODULE_8__HeaderSubheader__["a" /* default
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_babel_runtime_helpers_inherits__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_lodash_includes__ = __webpack_require__(91); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_lodash_includes__ = __webpack_require__(91);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_lodash_includes___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_lodash_includes__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_lodash_includes___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_lodash_includes__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_lodash_map__ = __webpack_require__(21); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_lodash_map__ = __webpack_require__(22);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_lodash_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_lodash_map__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_lodash_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_lodash_map__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_lodash_isNil__ = __webpack_require__(4); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_lodash_isNil__ = __webpack_require__(4);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_lodash_isNil___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7_lodash_isNil__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_lodash_isNil___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7_lodash_isNil__);
@ -55100,7 +55100,7 @@ Input.create = __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_13__lib__["i" /*
"use strict"; "use strict";
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__ = __webpack_require__(1); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__ = __webpack_require__(1);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_extends__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_map__ = __webpack_require__(21); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_map__ = __webpack_require__(22);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_lodash_map__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_lodash_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_lodash_map__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_isNil__ = __webpack_require__(4); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_isNil__ = __webpack_require__(4);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_isNil___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_lodash_isNil__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_isNil___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_lodash_isNil__);
@ -58044,7 +58044,7 @@ Dimmer.create = __webpack_require__.i(__WEBPACK_IMPORTED_MODULE_8__lib__["i" /*
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_babel_runtime_helpers_inherits___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_babel_runtime_helpers_inherits__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5_babel_runtime_helpers_inherits___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_5_babel_runtime_helpers_inherits__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_lodash_compact__ = __webpack_require__(311); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_lodash_compact__ = __webpack_require__(311);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_lodash_compact___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_lodash_compact__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6_lodash_compact___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_6_lodash_compact__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_lodash_map__ = __webpack_require__(21); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_lodash_map__ = __webpack_require__(22);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_lodash_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7_lodash_map__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7_lodash_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_7_lodash_map__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_lodash_isNil__ = __webpack_require__(4); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_lodash_isNil__ = __webpack_require__(4);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_lodash_isNil___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_8_lodash_isNil__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_lodash_isNil___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_8_lodash_isNil__);
@ -60815,7 +60815,7 @@ Rating.handledProps = ['as', 'className', 'clearable', 'defaultRating', 'disable
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_lodash_partialRight___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_8_lodash_partialRight__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8_lodash_partialRight___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_8_lodash_partialRight__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_lodash_inRange__ = __webpack_require__(711); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_lodash_inRange__ = __webpack_require__(711);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_lodash_inRange___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_9_lodash_inRange__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9_lodash_inRange___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_9_lodash_inRange__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10_lodash_map__ = __webpack_require__(21); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_10_lodash_map__ = __webpack_require__(22);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10_lodash_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_10_lodash_map__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_10_lodash_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_10_lodash_map__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11_lodash_get__ = __webpack_require__(72); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_11_lodash_get__ = __webpack_require__(72);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11_lodash_get___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_11_lodash_get__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_11_lodash_get___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_11_lodash_get__);
@ -61768,7 +61768,7 @@ Comment.Text = __WEBPACK_IMPORTED_MODULE_11__CommentText__["a" /* default */];
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_extends___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_extends__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_extends___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_babel_runtime_helpers_extends__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_without__ = __webpack_require__(15); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_without__ = __webpack_require__(15);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_without___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_lodash_without__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_lodash_without___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_lodash_without__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_lodash_map__ = __webpack_require__(21); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_lodash_map__ = __webpack_require__(22);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_lodash_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_lodash_map__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_lodash_map___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_lodash_map__);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_lodash_isNil__ = __webpack_require__(4); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_lodash_isNil__ = __webpack_require__(4);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_lodash_isNil___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_lodash_isNil__); /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4_lodash_isNil___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4_lodash_isNil__);
@ -62129,7 +62129,7 @@ var _i18next2 = _interopRequireDefault(_i18next);
var _semanticUiReact = __webpack_require__(8); var _semanticUiReact = __webpack_require__(8);
var _Form = __webpack_require__(1086); var _Form = __webpack_require__(1090);
var _Form2 = _interopRequireDefault(_Form); var _Form2 = _interopRequireDefault(_Form);
@ -62137,9 +62137,9 @@ var _DialogControl = __webpack_require__(460);
var _DialogControl2 = _interopRequireDefault(_DialogControl); var _DialogControl2 = _interopRequireDefault(_DialogControl);
var _actions = __webpack_require__(22); var _actions = __webpack_require__(20);
var _reactRedux = __webpack_require__(25); var _reactRedux = __webpack_require__(24);
var _LoadingControl = __webpack_require__(461); var _LoadingControl = __webpack_require__(461);
@ -62323,7 +62323,11 @@ exports.default = (0, _reactRedux.connect)()(Root);
/* 1083 */, /* 1083 */,
/* 1084 */, /* 1084 */,
/* 1085 */, /* 1085 */,
/* 1086 */ /* 1086 */,
/* 1087 */,
/* 1088 */,
/* 1089 */,
/* 1090 */
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
"use strict"; "use strict";
@ -62379,10 +62383,6 @@ var loginForm = function loginForm(_ref) {
exports.default = loginForm; exports.default = loginForm;
/***/ }), /***/ }),
/* 1087 */,
/* 1088 */,
/* 1089 */,
/* 1090 */,
/* 1091 */, /* 1091 */,
/* 1092 */, /* 1092 */,
/* 1093 */, /* 1093 */,
@ -62431,7 +62431,13 @@ exports.default = loginForm;
/* 1136 */, /* 1136 */,
/* 1137 */, /* 1137 */,
/* 1138 */, /* 1138 */,
/* 1139 */ /* 1139 */,
/* 1140 */,
/* 1141 */,
/* 1142 */,
/* 1143 */,
/* 1144 */,
/* 1145 */
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
"use strict"; "use strict";
@ -62445,7 +62451,7 @@ var _reactDom = __webpack_require__(151);
var _reactDom2 = _interopRequireDefault(_reactDom); var _reactDom2 = _interopRequireDefault(_reactDom);
var _reactRedux = __webpack_require__(25); var _reactRedux = __webpack_require__(24);
var _redux = __webpack_require__(146); var _redux = __webpack_require__(146);

View File

@ -247,9 +247,15 @@ router
let notify = arr.data.notify || 0; let notify = arr.data.notify || 0;
let sw = arr.data.switch || 0; let sw = arr.data.switch || 0;
let query = "insert into ??.?? (`mac`, `name`, `identity`, `monitor`, `notify`, `switch`, `ctime`, `mtime`) values \ let u = '';
( ?, ?, ?, ?, ?, ?, unix_timestamp(), unix_timestamp() )"; let obj = so.get(req.headers['x-auth-token']);
let param = [config.db.db9, 'wristband', arr.data.mac, name, identity, monitor, notify, sw]; if (obj != null && 'user' in obj && 'account' in obj.user) {
u = obj.user.account;
}
let query = "insert into ??.?? (`mac`, `name`, `identity`, `monitor`, `notify`, `switch`, `cuser`, `muser`, `ctime`, `mtime`) values \
( ?, ?, ?, ?, ?, ?, ?, ?, unix_timestamp(), unix_timestamp() )";
let param = [config.db.db9, 'wristband', arr.data.mac, name, identity, monitor, notify, sw, u, u];
res.db.query(query, param, (err, row) => { res.db.query(query, param, (err, row) => {
if (err) return rt.err(res, err, n, 'ERR8001'); if (err) return rt.err(res, err, n, 'ERR8001');
@ -274,16 +280,23 @@ router
let notify = arr.data.notify || 0; let notify = arr.data.notify || 0;
let sw = arr.data.switch || 0; let sw = arr.data.switch || 0;
let u = '';
let obj = so.get(req.headers['x-auth-token']);
if (obj != null && 'user' in obj && 'account' in obj.user) {
u = obj.user.account;
}
let query = "update ??.?? set \ let query = "update ??.?? set \
`name` = ?, \ `name` = ?, \
`identity` = ?, \ `identity` = ?, \
`monitor` = ?, \ `monitor` = ?, \
`notify` = ?, \ `notify` = ?, \
`switch` = ?, \ `switch` = ?, \
`muser` = ?, \
`mtime` = unix_timestamp() \ `mtime` = unix_timestamp() \
where \ where \
`uid` = ?"; `uid` = ?";
let param = [config.db.db9, 'wristband', name, identity, monitor, notify, sw, arr.data.id]; let param = [config.db.db9, 'wristband', name, identity, monitor, notify, sw, u, arr.data.id];
res.db.query(query, param, (err, row) => { res.db.query(query, param, (err, row) => {
if (err) return rt.err(res, err, n, 'ERR8002'); if (err) return rt.err(res, err, n, 'ERR8002');
@ -322,6 +335,71 @@ router
res.db.query(query, param, (err, row) => { res.db.query(query, param, (err, row) => {
if (err || row.length == 0) return rt.err(res, err, n, 'ERR8000'); if (err || row.length == 0) return rt.err(res, err, n, 'ERR8000');
if (row[0].c > 0) return n('ERR0063'); if (row[0].c > 0) return n('ERR0063');
let u = '';
let obj = so.get(req.headers['x-auth-token']);
if (obj != null && 'user' in obj && 'account' in obj.user) {
u = obj.user.account;
}
let query = "insert into ??.?? (`name`, `serialnumber`, `cuser`, `ctime`, `muser`, `mtime`) values (?, ?, ?, unix_timestamp(), ?, unix_timestamp())";
let param = [config.db.db9, 'location', arr.data.name, arr.data.sn, u, u];
res.db.query(query, param, (err, row) => {
if (err) return rt.err(res, err, n, 'ERR8001');
res.api_res = {
record: []
}
n();
});
})
})
.post('/editlocation', (req, res, n) => {
if (!config.permission.wristband) return n('ERR9000');
if (!tool.checkPermission(req)) return n('ERR9000');
let arr = req.body;
if (!arr.data) return n('ERR0000');
if (!arr.data.id) return n('ERR0028');
if (!arr.data.name) return n('ERR0026');
let u = '';
let obj = so.get(req.headers['x-auth-token']);
if (obj != null && 'user' in obj && 'account' in obj.user) {
u = obj.user.account;
}
let query = "update ??.?? set \
`name` = ?, \
`muser` = ?, \
`mtime` = unix_timestamp() \
where \
`uid` = ? ";
let param = [config.db.db9, 'location', arr.data.name, u, arr.data.id];
res.db.query(query, param, (err, row) => {
if (err) return rt.err(res, err, n, 'ERR8002');
res.api_res = {
record: []
};
n();
})
})
.post('/dellocation', (req, res, n) => {
if (!config.permission.wristband) return n('ERR9000');
if (!tool.checkPermission(req)) return n('ERR9000');
let arr = req.body;
if (!arr.data) return n('ERR0000');
if (!arr.data.id) return n('ERR0028');
res.db.query(`use ${config.db.db9}`);
let query = "delete from ??.?? where `uid` = ?";
let param = [config.db.db9, 'location', arr.data.id];
res.db.query(query, param, (err, row) => {
if (err) return rt.err(res, err, n, 'ERR8003');
res.api_res = {
record: []
}
n();
}) })
}) })
.all('*', rt.send); .all('*', rt.send);

View File

@ -37,7 +37,7 @@ class LocStatus extends React.Component{
checkRefresh = () => { checkRefresh = () => {
if(this.state.autoRefresh) { if(this.state.autoRefresh) {
this.tick = setInterval(this.runTick, 2000); this.tick = setInterval(this.runTick, 5000);
}else{ }else{
clearInterval(this.tick); clearInterval(this.tick);
} }

View File

@ -1,6 +1,8 @@
import React from 'react'; import React from 'react';
import {Container, Segment, Button} from 'semantic-ui-react'; import {Container, Segment, Button, Table} from 'semantic-ui-react';
import {getRequest} from '../../../../actions'; import {getRequest} from '../../../../actions';
import ListItem from './ListItem';
import LocationModal from './LocationModal';
const stateDefault = ()=>({ const stateDefault = ()=>({
list: [], list: [],
@ -35,13 +37,87 @@ class Location extends React.Component {
}) })
} }
render() { openModal = (type, data = {}) =>{
this.setState({
modal: {
open: true,
type,
data
}
})
}
closeModal = () => {
this.setState({
modal:{
...stateDefault().modal
}
})
}
submitModal = (type, data) => {
let {showDialog} = this.props;
if(type == 1 && !data.id) return showDialog('資料取得失敗');
if(type == 0 && !data.sn) return showDialog('請填寫裝置序號');
let url = type == 1 ? '/api/wristband/editlocation' : '/api/wristband/addlocation';
fetch(url, getRequest(data))
.then(response => response.json())
.then(json => {
if(json.status != 1) return showDialog(json.message);
this.setState({
modal: {
...stateDefault().modal
}
}, ()=>{
this.getList();
})
})
}
delLocation = (id) => {
if(!id) return ;
let {showDialog} = this.props;
fetch('/api/wristband/dellocation', getRequest({id}))
.then(response => response.json())
.then(json => {
if(json.status != 1) return showDialog(json.message);
this.getList();
})
}
render() {
let {i18n} = this.props;
return ( return (
<Container fluid> <Container fluid>
<Segment className="clearfix"> <Segment className="clearfix">
<Button floated="right" basic color="green" style={{marginBottom: '15px'}} content="新增" icon="plus" /> <Button floated="right" basic color="green" style={{marginBottom: '15px'}} content="新增" icon="plus" onClick={()=>{this.openModal(0)}} />
<Table>
<Table.Header>
<Table.Row>
<Table.HeaderCell>操作</Table.HeaderCell>
<Table.HeaderCell>裝置序號</Table.HeaderCell>
<Table.HeaderCell>裝置名稱</Table.HeaderCell>
</Table.Row>
</Table.Header>
<Table.Body>
{
this.state.list.map((t,idx) => (
<ListItem key={idx}
i18n={i18n}
data={t}
delLocation={this.delLocation}
editLocation={this.openModal} />
))
}
</Table.Body>
</Table>
</Segment> </Segment>
<LocationModal
i18n={i18n}
open={this.state.modal.open}
type={this.state.modal.type}
data={this.state.modal.data}
closeModal={this.closeModal}
submitModal={this.submitModal} />
</Container> </Container>
) )
} }

View File

@ -17,7 +17,8 @@ const WristbandModal = ({ i18n, open, type, data, closeModal, submitModal }) =>
monitor: 0, monitor: 0,
notify: 0, notify: 0,
id: type == 1 ? data.uid : '', id: type == 1 ? data.uid : '',
mac: '' mac: '',
switch: 0
}; };
let mac = e.querySelector('input[name="mac"]'); let mac = e.querySelector('input[name="mac"]');
@ -30,6 +31,8 @@ const WristbandModal = ({ i18n, open, type, data, closeModal, submitModal }) =>
if(monitor && 'checked' in monitor) json.monitor = monitor.checked ? 1 : 0; if(monitor && 'checked' in monitor) json.monitor = monitor.checked ? 1 : 0;
let notify = e.querySelector('input[name="notify"]'); let notify = e.querySelector('input[name="notify"]');
if(notify && 'checked' in notify) json.notify = notify.checked ? 1 : 0; if(notify && 'checked' in notify) json.notify = notify.checked ? 1 : 0;
let sw = e.querySelector('input[name="switch"]');
if(sw && 'checked' in sw) json.switch = sw.checked ? 1 : 0;
return json; return json;
}}> }}>