index.js.map 174 KB

1
  1. {"version":3,"file":"index.js","sources":["../src/List/List.js","../node_modules/react-is/cjs/react-is.production.min.js","../node_modules/react-is/cjs/react-is.development.js","../node_modules/react-is/index.js","../node_modules/object-assign/index.js","../node_modules/prop-types/lib/ReactPropTypesSecret.js","../node_modules/prop-types/checkPropTypes.js","../node_modules/prop-types/factoryWithTypeCheckers.js","../node_modules/prop-types/factoryWithThrowingShims.js","../node_modules/prop-types/index.js","../src/MkForm/MkForm.js","../src/MkTable/MkTable.js","../src/MkInfo/MkInfo.js"],"sourcesContent":["import React from 'react'\nimport styles from '../styles.module.css'\n\nfunction List({ groupName, members = [] }) {\n return (\n <div>\n <h1>1.0.3</h1>\n <h5>\n Group: <em>{groupName}</em>\n </h5>\n <ul>\n <p>Members</p>\n {members.map((member) => (\n <li key={member}>{member}</li>\n ))}\n </ul>\n </div>\n )\n }\n \n export default List;","/** @license React v16.13.1\n * react-is.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';var b=\"function\"===typeof Symbol&&Symbol.for,c=b?Symbol.for(\"react.element\"):60103,d=b?Symbol.for(\"react.portal\"):60106,e=b?Symbol.for(\"react.fragment\"):60107,f=b?Symbol.for(\"react.strict_mode\"):60108,g=b?Symbol.for(\"react.profiler\"):60114,h=b?Symbol.for(\"react.provider\"):60109,k=b?Symbol.for(\"react.context\"):60110,l=b?Symbol.for(\"react.async_mode\"):60111,m=b?Symbol.for(\"react.concurrent_mode\"):60111,n=b?Symbol.for(\"react.forward_ref\"):60112,p=b?Symbol.for(\"react.suspense\"):60113,q=b?\nSymbol.for(\"react.suspense_list\"):60120,r=b?Symbol.for(\"react.memo\"):60115,t=b?Symbol.for(\"react.lazy\"):60116,v=b?Symbol.for(\"react.block\"):60121,w=b?Symbol.for(\"react.fundamental\"):60117,x=b?Symbol.for(\"react.responder\"):60118,y=b?Symbol.for(\"react.scope\"):60119;\nfunction z(a){if(\"object\"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}exports.AsyncMode=l;exports.ConcurrentMode=m;exports.ContextConsumer=k;exports.ContextProvider=h;exports.Element=c;exports.ForwardRef=n;exports.Fragment=e;exports.Lazy=t;exports.Memo=r;exports.Portal=d;\nexports.Profiler=g;exports.StrictMode=f;exports.Suspense=p;exports.isAsyncMode=function(a){return A(a)||z(a)===l};exports.isConcurrentMode=A;exports.isContextConsumer=function(a){return z(a)===k};exports.isContextProvider=function(a){return z(a)===h};exports.isElement=function(a){return\"object\"===typeof a&&null!==a&&a.$$typeof===c};exports.isForwardRef=function(a){return z(a)===n};exports.isFragment=function(a){return z(a)===e};exports.isLazy=function(a){return z(a)===t};\nexports.isMemo=function(a){return z(a)===r};exports.isPortal=function(a){return z(a)===d};exports.isProfiler=function(a){return z(a)===g};exports.isStrictMode=function(a){return z(a)===f};exports.isSuspense=function(a){return z(a)===p};\nexports.isValidElementType=function(a){return\"string\"===typeof a||\"function\"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||\"object\"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};exports.typeOf=z;\n","/** @license React v16.13.1\n * react-is.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\n\n\nif (process.env.NODE_ENV !== \"production\") {\n (function() {\n'use strict';\n\n// The Symbol used to tag the ReactElement-like types. If there is no native Symbol\n// nor polyfill, then a plain number is used for performance.\nvar hasSymbol = typeof Symbol === 'function' && Symbol.for;\nvar REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;\nvar REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;\nvar REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;\nvar REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;\nvar REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;\nvar REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;\nvar REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary\n// (unstable) APIs that have been removed. Can we remove the symbols?\n\nvar REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;\nvar REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;\nvar REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;\nvar REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;\nvar REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;\nvar REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;\nvar REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;\nvar REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;\nvar REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;\nvar REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;\nvar REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;\n\nfunction isValidElementType(type) {\n return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.\n type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);\n}\n\nfunction typeOf(object) {\n if (typeof object === 'object' && object !== null) {\n var $$typeof = object.$$typeof;\n\n switch ($$typeof) {\n case REACT_ELEMENT_TYPE:\n var type = object.type;\n\n switch (type) {\n case REACT_ASYNC_MODE_TYPE:\n case REACT_CONCURRENT_MODE_TYPE:\n case REACT_FRAGMENT_TYPE:\n case REACT_PROFILER_TYPE:\n case REACT_STRICT_MODE_TYPE:\n case REACT_SUSPENSE_TYPE:\n return type;\n\n default:\n var $$typeofType = type && type.$$typeof;\n\n switch ($$typeofType) {\n case REACT_CONTEXT_TYPE:\n case REACT_FORWARD_REF_TYPE:\n case REACT_LAZY_TYPE:\n case REACT_MEMO_TYPE:\n case REACT_PROVIDER_TYPE:\n return $$typeofType;\n\n default:\n return $$typeof;\n }\n\n }\n\n case REACT_PORTAL_TYPE:\n return $$typeof;\n }\n }\n\n return undefined;\n} // AsyncMode is deprecated along with isAsyncMode\n\nvar AsyncMode = REACT_ASYNC_MODE_TYPE;\nvar ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;\nvar ContextConsumer = REACT_CONTEXT_TYPE;\nvar ContextProvider = REACT_PROVIDER_TYPE;\nvar Element = REACT_ELEMENT_TYPE;\nvar ForwardRef = REACT_FORWARD_REF_TYPE;\nvar Fragment = REACT_FRAGMENT_TYPE;\nvar Lazy = REACT_LAZY_TYPE;\nvar Memo = REACT_MEMO_TYPE;\nvar Portal = REACT_PORTAL_TYPE;\nvar Profiler = REACT_PROFILER_TYPE;\nvar StrictMode = REACT_STRICT_MODE_TYPE;\nvar Suspense = REACT_SUSPENSE_TYPE;\nvar hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated\n\nfunction isAsyncMode(object) {\n {\n if (!hasWarnedAboutDeprecatedIsAsyncMode) {\n hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint\n\n console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');\n }\n }\n\n return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;\n}\nfunction isConcurrentMode(object) {\n return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;\n}\nfunction isContextConsumer(object) {\n return typeOf(object) === REACT_CONTEXT_TYPE;\n}\nfunction isContextProvider(object) {\n return typeOf(object) === REACT_PROVIDER_TYPE;\n}\nfunction isElement(object) {\n return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n}\nfunction isForwardRef(object) {\n return typeOf(object) === REACT_FORWARD_REF_TYPE;\n}\nfunction isFragment(object) {\n return typeOf(object) === REACT_FRAGMENT_TYPE;\n}\nfunction isLazy(object) {\n return typeOf(object) === REACT_LAZY_TYPE;\n}\nfunction isMemo(object) {\n return typeOf(object) === REACT_MEMO_TYPE;\n}\nfunction isPortal(object) {\n return typeOf(object) === REACT_PORTAL_TYPE;\n}\nfunction isProfiler(object) {\n return typeOf(object) === REACT_PROFILER_TYPE;\n}\nfunction isStrictMode(object) {\n return typeOf(object) === REACT_STRICT_MODE_TYPE;\n}\nfunction isSuspense(object) {\n return typeOf(object) === REACT_SUSPENSE_TYPE;\n}\n\nexports.AsyncMode = AsyncMode;\nexports.ConcurrentMode = ConcurrentMode;\nexports.ContextConsumer = ContextConsumer;\nexports.ContextProvider = ContextProvider;\nexports.Element = Element;\nexports.ForwardRef = ForwardRef;\nexports.Fragment = Fragment;\nexports.Lazy = Lazy;\nexports.Memo = Memo;\nexports.Portal = Portal;\nexports.Profiler = Profiler;\nexports.StrictMode = StrictMode;\nexports.Suspense = Suspense;\nexports.isAsyncMode = isAsyncMode;\nexports.isConcurrentMode = isConcurrentMode;\nexports.isContextConsumer = isContextConsumer;\nexports.isContextProvider = isContextProvider;\nexports.isElement = isElement;\nexports.isForwardRef = isForwardRef;\nexports.isFragment = isFragment;\nexports.isLazy = isLazy;\nexports.isMemo = isMemo;\nexports.isPortal = isPortal;\nexports.isProfiler = isProfiler;\nexports.isStrictMode = isStrictMode;\nexports.isSuspense = isSuspense;\nexports.isValidElementType = isValidElementType;\nexports.typeOf = typeOf;\n })();\n}\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-is.production.min.js');\n} else {\n module.exports = require('./cjs/react-is.development.js');\n}\n","/*\nobject-assign\n(c) Sindre Sorhus\n@license MIT\n*/\n\n'use strict';\n/* eslint-disable no-unused-vars */\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\nfunction toObject(val) {\n\tif (val === null || val === undefined) {\n\t\tthrow new TypeError('Object.assign cannot be called with null or undefined');\n\t}\n\n\treturn Object(val);\n}\n\nfunction shouldUseNative() {\n\ttry {\n\t\tif (!Object.assign) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Detect buggy property enumeration order in older V8 versions.\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=4118\n\t\tvar test1 = new String('abc'); // eslint-disable-line no-new-wrappers\n\t\ttest1[5] = 'de';\n\t\tif (Object.getOwnPropertyNames(test1)[0] === '5') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test2 = {};\n\t\tfor (var i = 0; i < 10; i++) {\n\t\t\ttest2['_' + String.fromCharCode(i)] = i;\n\t\t}\n\t\tvar order2 = Object.getOwnPropertyNames(test2).map(function (n) {\n\t\t\treturn test2[n];\n\t\t});\n\t\tif (order2.join('') !== '0123456789') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test3 = {};\n\t\t'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\n\t\t\ttest3[letter] = letter;\n\t\t});\n\t\tif (Object.keys(Object.assign({}, test3)).join('') !==\n\t\t\t\t'abcdefghijklmnopqrst') {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t} catch (err) {\n\t\t// We don't expect any of the above to throw, but better to be safe.\n\t\treturn false;\n\t}\n}\n\nmodule.exports = shouldUseNative() ? Object.assign : function (target, source) {\n\tvar from;\n\tvar to = toObject(target);\n\tvar symbols;\n\n\tfor (var s = 1; s < arguments.length; s++) {\n\t\tfrom = Object(arguments[s]);\n\n\t\tfor (var key in from) {\n\t\t\tif (hasOwnProperty.call(from, key)) {\n\t\t\t\tto[key] = from[key];\n\t\t\t}\n\t\t}\n\n\t\tif (getOwnPropertySymbols) {\n\t\t\tsymbols = getOwnPropertySymbols(from);\n\t\t\tfor (var i = 0; i < symbols.length; i++) {\n\t\t\t\tif (propIsEnumerable.call(from, symbols[i])) {\n\t\t\t\t\tto[symbols[i]] = from[symbols[i]];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn to;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar printWarning = function() {};\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n var loggedTypeFailures = {};\n var has = Function.call.bind(Object.prototype.hasOwnProperty);\n\n printWarning = function(text) {\n var message = 'Warning: ' + text;\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n };\n}\n\n/**\n * Assert that the values match with the type specs.\n * Error messages are memorized and will only be shown once.\n *\n * @param {object} typeSpecs Map of name to a ReactPropType\n * @param {object} values Runtime values that need to be type-checked\n * @param {string} location e.g. \"prop\", \"context\", \"child context\"\n * @param {string} componentName Name of the component for error messages.\n * @param {?Function} getStack Returns the component stack.\n * @private\n */\nfunction checkPropTypes(typeSpecs, values, location, componentName, getStack) {\n if (process.env.NODE_ENV !== 'production') {\n for (var typeSpecName in typeSpecs) {\n if (has(typeSpecs, typeSpecName)) {\n var error;\n // Prop type validation may throw. In case they do, we don't want to\n // fail the render phase where it didn't fail before. So we log it.\n // After these have been cleaned up, we'll let them throw.\n try {\n // This is intentionally an invariant that gets caught. It's the same\n // behavior as without this statement except with a better message.\n if (typeof typeSpecs[typeSpecName] !== 'function') {\n var err = Error(\n (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +\n 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.'\n );\n err.name = 'Invariant Violation';\n throw err;\n }\n error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);\n } catch (ex) {\n error = ex;\n }\n if (error && !(error instanceof Error)) {\n printWarning(\n (componentName || 'React class') + ': type specification of ' +\n location + ' `' + typeSpecName + '` is invalid; the type checker ' +\n 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +\n 'You may have forgotten to pass an argument to the type checker ' +\n 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +\n 'shape all require an argument).'\n );\n }\n if (error instanceof Error && !(error.message in loggedTypeFailures)) {\n // Only monitor this failure once because there tends to be a lot of the\n // same error.\n loggedTypeFailures[error.message] = true;\n\n var stack = getStack ? getStack() : '';\n\n printWarning(\n 'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')\n );\n }\n }\n }\n }\n}\n\n/**\n * Resets warning cache when testing.\n *\n * @private\n */\ncheckPropTypes.resetWarningCache = function() {\n if (process.env.NODE_ENV !== 'production') {\n loggedTypeFailures = {};\n }\n}\n\nmodule.exports = checkPropTypes;\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactIs = require('react-is');\nvar assign = require('object-assign');\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\nvar checkPropTypes = require('./checkPropTypes');\n\nvar has = Function.call.bind(Object.prototype.hasOwnProperty);\nvar printWarning = function() {};\n\nif (process.env.NODE_ENV !== 'production') {\n printWarning = function(text) {\n var message = 'Warning: ' + text;\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n };\n}\n\nfunction emptyFunctionThatReturnsNull() {\n return null;\n}\n\nmodule.exports = function(isValidElement, throwOnDirectAccess) {\n /* global Symbol */\n var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;\n var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.\n\n /**\n * Returns the iterator method function contained on the iterable object.\n *\n * Be sure to invoke the function with the iterable as context:\n *\n * var iteratorFn = getIteratorFn(myIterable);\n * if (iteratorFn) {\n * var iterator = iteratorFn.call(myIterable);\n * ...\n * }\n *\n * @param {?object} maybeIterable\n * @return {?function}\n */\n function getIteratorFn(maybeIterable) {\n var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);\n if (typeof iteratorFn === 'function') {\n return iteratorFn;\n }\n }\n\n /**\n * Collection of methods that allow declaration and validation of props that are\n * supplied to React components. Example usage:\n *\n * var Props = require('ReactPropTypes');\n * var MyArticle = React.createClass({\n * propTypes: {\n * // An optional string prop named \"description\".\n * description: Props.string,\n *\n * // A required enum prop named \"category\".\n * category: Props.oneOf(['News','Photos']).isRequired,\n *\n * // A prop named \"dialog\" that requires an instance of Dialog.\n * dialog: Props.instanceOf(Dialog).isRequired\n * },\n * render: function() { ... }\n * });\n *\n * A more formal specification of how these methods are used:\n *\n * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)\n * decl := ReactPropTypes.{type}(.isRequired)?\n *\n * Each and every declaration produces a function with the same signature. This\n * allows the creation of custom validation functions. For example:\n *\n * var MyLink = React.createClass({\n * propTypes: {\n * // An optional string or URI prop named \"href\".\n * href: function(props, propName, componentName) {\n * var propValue = props[propName];\n * if (propValue != null && typeof propValue !== 'string' &&\n * !(propValue instanceof URI)) {\n * return new Error(\n * 'Expected a string or an URI for ' + propName + ' in ' +\n * componentName\n * );\n * }\n * }\n * },\n * render: function() {...}\n * });\n *\n * @internal\n */\n\n var ANONYMOUS = '<<anonymous>>';\n\n // Important!\n // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.\n var ReactPropTypes = {\n array: createPrimitiveTypeChecker('array'),\n bool: createPrimitiveTypeChecker('boolean'),\n func: createPrimitiveTypeChecker('function'),\n number: createPrimitiveTypeChecker('number'),\n object: createPrimitiveTypeChecker('object'),\n string: createPrimitiveTypeChecker('string'),\n symbol: createPrimitiveTypeChecker('symbol'),\n\n any: createAnyTypeChecker(),\n arrayOf: createArrayOfTypeChecker,\n element: createElementTypeChecker(),\n elementType: createElementTypeTypeChecker(),\n instanceOf: createInstanceTypeChecker,\n node: createNodeChecker(),\n objectOf: createObjectOfTypeChecker,\n oneOf: createEnumTypeChecker,\n oneOfType: createUnionTypeChecker,\n shape: createShapeTypeChecker,\n exact: createStrictShapeTypeChecker,\n };\n\n /**\n * inlined Object.is polyfill to avoid requiring consumers ship their own\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\n */\n /*eslint-disable no-self-compare*/\n function is(x, y) {\n // SameValue algorithm\n if (x === y) {\n // Steps 1-5, 7-10\n // Steps 6.b-6.e: +0 != -0\n return x !== 0 || 1 / x === 1 / y;\n } else {\n // Step 6.a: NaN == NaN\n return x !== x && y !== y;\n }\n }\n /*eslint-enable no-self-compare*/\n\n /**\n * We use an Error-like object for backward compatibility as people may call\n * PropTypes directly and inspect their output. However, we don't use real\n * Errors anymore. We don't inspect their stack anyway, and creating them\n * is prohibitively expensive if they are created too often, such as what\n * happens in oneOfType() for any type before the one that matched.\n */\n function PropTypeError(message) {\n this.message = message;\n this.stack = '';\n }\n // Make `instanceof Error` still work for returned errors.\n PropTypeError.prototype = Error.prototype;\n\n function createChainableTypeChecker(validate) {\n if (process.env.NODE_ENV !== 'production') {\n var manualPropTypeCallCache = {};\n var manualPropTypeWarningCount = 0;\n }\n function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {\n componentName = componentName || ANONYMOUS;\n propFullName = propFullName || propName;\n\n if (secret !== ReactPropTypesSecret) {\n if (throwOnDirectAccess) {\n // New behavior only for users of `prop-types` package\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use `PropTypes.checkPropTypes()` to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n } else if (process.env.NODE_ENV !== 'production' && typeof console !== 'undefined') {\n // Old behavior for people using React.PropTypes\n var cacheKey = componentName + ':' + propName;\n if (\n !manualPropTypeCallCache[cacheKey] &&\n // Avoid spamming the console because they are often not actionable except for lib authors\n manualPropTypeWarningCount < 3\n ) {\n printWarning(\n 'You are manually calling a React.PropTypes validation ' +\n 'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +\n 'and will throw in the standalone `prop-types` package. ' +\n 'You may be seeing this warning due to a third-party PropTypes ' +\n 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'\n );\n manualPropTypeCallCache[cacheKey] = true;\n manualPropTypeWarningCount++;\n }\n }\n }\n if (props[propName] == null) {\n if (isRequired) {\n if (props[propName] === null) {\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));\n }\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));\n }\n return null;\n } else {\n return validate(props, propName, componentName, location, propFullName);\n }\n }\n\n var chainedCheckType = checkType.bind(null, false);\n chainedCheckType.isRequired = checkType.bind(null, true);\n\n return chainedCheckType;\n }\n\n function createPrimitiveTypeChecker(expectedType) {\n function validate(props, propName, componentName, location, propFullName, secret) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== expectedType) {\n // `propValue` being instance of, say, date/regexp, pass the 'object'\n // check, but we can offer a more precise error message here rather than\n // 'of type `object`'.\n var preciseType = getPreciseType(propValue);\n\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createAnyTypeChecker() {\n return createChainableTypeChecker(emptyFunctionThatReturnsNull);\n }\n\n function createArrayOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');\n }\n var propValue = props[propName];\n if (!Array.isArray(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));\n }\n for (var i = 0; i < propValue.length; i++) {\n var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);\n if (error instanceof Error) {\n return error;\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createElementTypeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n if (!isValidElement(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createElementTypeTypeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n if (!ReactIs.isValidElementType(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement type.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createInstanceTypeChecker(expectedClass) {\n function validate(props, propName, componentName, location, propFullName) {\n if (!(props[propName] instanceof expectedClass)) {\n var expectedClassName = expectedClass.name || ANONYMOUS;\n var actualClassName = getClassName(props[propName]);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createEnumTypeChecker(expectedValues) {\n if (!Array.isArray(expectedValues)) {\n if (process.env.NODE_ENV !== 'production') {\n if (arguments.length > 1) {\n printWarning(\n 'Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' +\n 'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).'\n );\n } else {\n printWarning('Invalid argument supplied to oneOf, expected an array.');\n }\n }\n return emptyFunctionThatReturnsNull;\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n for (var i = 0; i < expectedValues.length; i++) {\n if (is(propValue, expectedValues[i])) {\n return null;\n }\n }\n\n var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {\n var type = getPreciseType(value);\n if (type === 'symbol') {\n return String(value);\n }\n return value;\n });\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + String(propValue) + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));\n }\n return createChainableTypeChecker(validate);\n }\n\n function createObjectOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');\n }\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));\n }\n for (var key in propValue) {\n if (has(propValue, key)) {\n var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error instanceof Error) {\n return error;\n }\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createUnionTypeChecker(arrayOfTypeCheckers) {\n if (!Array.isArray(arrayOfTypeCheckers)) {\n process.env.NODE_ENV !== 'production' ? printWarning('Invalid argument supplied to oneOfType, expected an instance of array.') : void 0;\n return emptyFunctionThatReturnsNull;\n }\n\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n if (typeof checker !== 'function') {\n printWarning(\n 'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +\n 'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.'\n );\n return emptyFunctionThatReturnsNull;\n }\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n if (checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret) == null) {\n return null;\n }\n }\n\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`.'));\n }\n return createChainableTypeChecker(validate);\n }\n\n function createNodeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n if (!isNode(props[propName])) {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createShapeTypeChecker(shapeTypes) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n }\n for (var key in shapeTypes) {\n var checker = shapeTypes[key];\n if (!checker) {\n continue;\n }\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error) {\n return error;\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createStrictShapeTypeChecker(shapeTypes) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n }\n // We need to check all keys in case some are required but missing from\n // props.\n var allKeys = assign({}, props[propName], shapeTypes);\n for (var key in allKeys) {\n var checker = shapeTypes[key];\n if (!checker) {\n return new PropTypeError(\n 'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +\n '\\nBad object: ' + JSON.stringify(props[propName], null, ' ') +\n '\\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')\n );\n }\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error) {\n return error;\n }\n }\n return null;\n }\n\n return createChainableTypeChecker(validate);\n }\n\n function isNode(propValue) {\n switch (typeof propValue) {\n case 'number':\n case 'string':\n case 'undefined':\n return true;\n case 'boolean':\n return !propValue;\n case 'object':\n if (Array.isArray(propValue)) {\n return propValue.every(isNode);\n }\n if (propValue === null || isValidElement(propValue)) {\n return true;\n }\n\n var iteratorFn = getIteratorFn(propValue);\n if (iteratorFn) {\n var iterator = iteratorFn.call(propValue);\n var step;\n if (iteratorFn !== propValue.entries) {\n while (!(step = iterator.next()).done) {\n if (!isNode(step.value)) {\n return false;\n }\n }\n } else {\n // Iterator will provide entry [k,v] tuples rather than values.\n while (!(step = iterator.next()).done) {\n var entry = step.value;\n if (entry) {\n if (!isNode(entry[1])) {\n return false;\n }\n }\n }\n }\n } else {\n return false;\n }\n\n return true;\n default:\n return false;\n }\n }\n\n function isSymbol(propType, propValue) {\n // Native Symbol.\n if (propType === 'symbol') {\n return true;\n }\n\n // falsy value can't be a Symbol\n if (!propValue) {\n return false;\n }\n\n // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'\n if (propValue['@@toStringTag'] === 'Symbol') {\n return true;\n }\n\n // Fallback for non-spec compliant Symbols which are polyfilled.\n if (typeof Symbol === 'function' && propValue instanceof Symbol) {\n return true;\n }\n\n return false;\n }\n\n // Equivalent of `typeof` but with special handling for array and regexp.\n function getPropType(propValue) {\n var propType = typeof propValue;\n if (Array.isArray(propValue)) {\n return 'array';\n }\n if (propValue instanceof RegExp) {\n // Old webkits (at least until Android 4.0) return 'function' rather than\n // 'object' for typeof a RegExp. We'll normalize this here so that /bla/\n // passes PropTypes.object.\n return 'object';\n }\n if (isSymbol(propType, propValue)) {\n return 'symbol';\n }\n return propType;\n }\n\n // This handles more types than `getPropType`. Only used for error messages.\n // See `createPrimitiveTypeChecker`.\n function getPreciseType(propValue) {\n if (typeof propValue === 'undefined' || propValue === null) {\n return '' + propValue;\n }\n var propType = getPropType(propValue);\n if (propType === 'object') {\n if (propValue instanceof Date) {\n return 'date';\n } else if (propValue instanceof RegExp) {\n return 'regexp';\n }\n }\n return propType;\n }\n\n // Returns a string that is postfixed to a warning about an invalid type.\n // For example, \"undefined\" or \"of type array\"\n function getPostfixForTypeWarning(value) {\n var type = getPreciseType(value);\n switch (type) {\n case 'array':\n case 'object':\n return 'an ' + type;\n case 'boolean':\n case 'date':\n case 'regexp':\n return 'a ' + type;\n default:\n return type;\n }\n }\n\n // Returns class name of the object, if any.\n function getClassName(propValue) {\n if (!propValue.constructor || !propValue.constructor.name) {\n return ANONYMOUS;\n }\n return propValue.constructor.name;\n }\n\n ReactPropTypes.checkPropTypes = checkPropTypes;\n ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n\nfunction emptyFunction() {}\nfunction emptyFunctionWithReset() {}\nemptyFunctionWithReset.resetWarningCache = emptyFunction;\n\nmodule.exports = function() {\n function shim(props, propName, componentName, location, propFullName, secret) {\n if (secret === ReactPropTypesSecret) {\n // It is still safe when called from React.\n return;\n }\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use PropTypes.checkPropTypes() to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n };\n shim.isRequired = shim;\n function getShim() {\n return shim;\n };\n // Important!\n // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\n var ReactPropTypes = {\n array: shim,\n bool: shim,\n func: shim,\n number: shim,\n object: shim,\n string: shim,\n symbol: shim,\n\n any: shim,\n arrayOf: getShim,\n element: shim,\n elementType: shim,\n instanceOf: getShim,\n node: shim,\n objectOf: getShim,\n oneOf: getShim,\n oneOfType: getShim,\n shape: getShim,\n exact: getShim,\n\n checkPropTypes: emptyFunctionWithReset,\n resetWarningCache: emptyFunction\n };\n\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactIs = require('react-is');\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport {\n TextField,\n Grid,\n InputBase,\n Button,\n NativeSelect,\n Box,\n Typography\n} from '@material-ui/core';\nimport { withStyles, makeStyles } from '@material-ui/core/styles';\nimport Autocomplete, { createFilterOptions } from '@material-ui/lab/Autocomplete';\n\nconst filter = createFilterOptions();\n\nconst BootstrapInput = withStyles((theme) => ({\n root: {\n 'label + &': {\n marginTop: theme.spacing(3),\n },\n },\n input: {\n borderRadius: 4,\n position: 'relative',\n backgroundColor: 'transparent',\n border: '1px solid #ced4da',\n fontSize: 16,\n padding: '10px 26px 10px 12px',\n transition: theme.transitions.create(['border-color', 'box-shadow']),\n // Use the system font instead of the default Roboto font.\n fontFamily: [\n '-apple-system',\n 'BlinkMacSystemFont',\n '\"Segoe UI\"',\n 'Roboto',\n '\"Helvetica Neue\"',\n 'Arial',\n 'sans-serif',\n '\"Apple Color Emoji\"',\n '\"Segoe UI Emoji\"',\n '\"Segoe UI Symbol\"',\n ].join(','),\n '&:focus': {\n borderRadius: 4,\n borderColor: '#80bdff',\n boxShadow: '0 0 0 0.2rem rgba(0,123,255,.25)',\n },\n },\n}))(InputBase);\n\nconst useStyles = makeStyles((theme) => ({\n root: {\n width: '100%',\n },\n paper: {\n width: '100%',\n marginBottom: theme.spacing(2),\n },\n table: {\n minWidth: 750,\n },\n visuallyHidden: {\n border: 0,\n clip: 'rect(0 0 0 0)',\n height: 1,\n margin: -1,\n overflow: 'hidden',\n padding: 0,\n position: 'absolute',\n top: 20,\n width: 1,\n },\n underline: {\n \"&&&:before\": {\n borderBottom: \"none\"\n },\n \"&&:after\": {\n borderBottom: \"none\"\n }\n }\n}));\n\nfunction MButton(props) {\n const classes = useStyles();\n const { action, onCallback } = props;\n\n const handleAction = () => {\n onCallback();\n }\n\n return (\n <div className={classes.root}>\n <Box>\n <Button\n variant=\"contained\" style={{ float: 'right', margin: \"5px\" }}\n onClick={(e) => { handleAction }}\n >{action.icon}{action.label}</Button>\n </Box>\n </div>\n );\n}\n\nMButton.propTypes = {\n history: PropTypes.object,\n action: PropTypes.object,\n onCallback: PropTypes.func\n};\n\n\n\nfunction MkForm(props) {\n const classes = useStyles();\n const {\n fields = [],\n data = {},\n onDropdownCreateNew,\n actions = [],\n } = props;\n const [_data, setDataField] = React.useState(data != undefined ? data : {});\n\n const handleTextString = (e, fieldName) => {\n setDataField({ ..._data, [fieldName]: e.target.value });\n }\n\n const handleTextNumber = (e, fieldName) => {\n setDataField({ ..._data, [fieldName]: e.target.value });\n }\n\n const handleTextMultiline = (e, fieldName) => {\n setDataField({ ..._data, [fieldName]: e.target.value });\n }\n\n const handleDate = (e, fieldName) => {\n setDataField({ ..._data, [fieldName]: e.target.value });\n }\n\n const handleDropDownChange = (e, fieldName) => {\n var selectedIndex = e.target.options.selectedIndex;\n var selectedValue = e.target.options[selectedIndex].getAttribute('name');\n\n var fn = fieldName.split('_');\n var fieldId = fn[0] + '_' + 'id';\n setDataField({ ..._data, [fieldName]: selectedValue, [fieldId]: e.target.value });\n }\n\n const handleImgUpload = (e, fieldName) => {\n e.preventDefault();\n let reader = new FileReader();\n let file = e.target.files[0];\n\n reader.onloadend = () => {\n setImgPreviewPath(reader.result);\n }\n reader.readAsDataURL(file);\n setDataField({ ..._data, [fieldName]: e.target.files[0].name });\n }\n\n const handleCanCreateNew = (data) => {\n onDropdownCreateNew(data);\n }\n\n const onChangeValue = (fieldName, value) => {\n setDataField({ ..._data, [fieldName]: value });\n }\n\n return (\n <div className={classes.root}>\n <Grid container>\n <Grid item xs={12}>\n {fields.map((f, i) => {\n\n if (f.type == 'text_string') {\n return <Grid key={f.field_name} container style={{ display: 'flex', alignItems: 'center', marginBottom: '10px' }}>\n <Grid item xs={12} sm={5}>\n <Box style={{ width: '150px' }}>\n <Typography style={{ paddingRight: '30px', color: 'grey' }}>{f.label}</Typography>\n </Box>\n </Grid>\n <Grid item xs={12} sm={7}>\n <TextField id={f.field_name}\n variant=\"outlined\"\n autoComplete=\"off\"\n size={\"small\"}\n style={{ width: '100%' }}\n InputProps={{\n readOnly: f.readOnly ? f.readOnly : false,\n }}\n value={_data != undefined ? _data[f.field_name] : ''}\n onChange={(e) => handleTextString(e, f.field_name)}\n />\n </Grid>\n </Grid>;\n }\n else if (f.type == 'text_number') {\n return <Grid key={f.field_name} container style={{ display: 'flex', alignItems: 'center', marginBottom: '10px' }}>\n <Grid item xs={12} sm={5}>\n <Box style={{ width: '150px' }}>\n <Typography style={{ paddingRight: '30px', color: 'grey' }}>{f.label}</Typography>\n </Box>\n </Grid>\n <Grid item xs={12} sm={7}>\n <TextField\n id={f.field_name}\n variant=\"outlined\"\n autoComplete=\"off\"\n size={\"small\"}\n style={{ width: '100%' }}\n type=\"number\"\n value={_data != undefined ? _data[f.field_name] : ''}\n onChange={(e) => handleTextNumber(e, f.field_name)}\n />\n </Grid>\n </Grid>;\n }\n else if (f.type == 'text_multiline') {\n return <Grid key={f.field_name} container style={{ display: 'flex', alignItems: 'center', marginBottom: '10px' }}>\n <Grid item xs={12} sm={5}>\n <Box style={{ width: '150px' }}>\n <Typography style={{ paddingRight: '30px', color: 'grey' }}>{f.label}</Typography>\n </Box>\n </Grid>\n <Grid item xs={12} sm={7}>\n <TextField\n id={f.field_name}\n multiline\n autoComplete=\"off\"\n rows={3}\n size={\"small\"}\n style={{ width: '100%' }}\n value={_data != undefined ? _data[f.field_name] : ''}\n variant=\"outlined\"\n onChange={(e) => handleTextMultiline(e, f.field_name)}\n />\n </Grid>\n </Grid>;\n }\n else if (f.type == 'date') {\n return <Grid key={f.field_name} container style={{ display: 'flex', alignItems: 'center', marginBottom: '10px' }}>\n <Grid item xs={12} sm={5}>\n <Box style={{ width: '150px' }}>\n <Typography style={{ paddingRight: '30px', color: 'grey' }}>{f.label}</Typography>\n </Box>\n </Grid>\n <Grid item xs={12} sm={7}>\n <TextField\n id={f.field_name}\n variant=\"outlined\"\n autoComplete=\"off\"\n size={\"small\"}\n value={_data != undefined ? _data[f.field_name] : ''}\n type=\"date\"\n style={{ width: '100%' }}\n onChange={(e) => handleDate(e, f.field_name)}\n />\n </Grid>\n </Grid>;\n }\n else if (f.type == 'dropdown') {\n if (f.options != undefined && f.option_label_field != undefined) {\n if (f.field_name == 'priority') {\n\n return <Grid key={f.field_name} container style={{ display: 'flex', alignItems: 'center', marginBottom: '10px' }}>\n <Grid item xs={12} sm={5}>\n <Box style={{ width: '150px' }}>\n <Typography style={{ paddingRight: '30px', color: 'grey' }}>{f.label}</Typography>\n </Box>\n </Grid>\n <Grid item xs={12} sm={7}>\n <NativeSelect\n id=\"demo-customized-select-native\"\n value={_data != undefined ? _data[f.field_name] : ''}\n onChange={(e) => handleDropDownChange(e, f.field_name)}\n id={f.field_name}\n input={<BootstrapInput />}\n style={{ width: '100%' }}\n >\n <option aria-label=\"None\" value=\"\" >Select</option>\n {f.options.map((d, i) => {\n return <option name={d.name} value={d.id}>{d.name}</option>;\n })}\n </NativeSelect>\n </Grid>\n </Grid>;\n } else {\n return <Grid key={f.field_name} container style={{ display: 'flex', alignItems: 'center', marginBottom: '10px' }}>\n <Grid item xs={12} sm={5}>\n <Box style={{ width: '150px' }}>\n <Typography style={{ paddingRight: '30px', color: 'grey' }}>{f.label}</Typography>\n </Box>\n </Grid>\n <Grid item xs={12} sm={7}>\n <Autocomplete\n id=\"combo-box-demo\"\n options={f.options}\n getOptionLabel={(option) => {\n if (typeof option === 'string') {\n return option;\n }\n return option[f.option_label_field];\n }}\n style={{ width: '100%' }}\n size='small'\n value={_data != undefined ? _data[f.field_name] ? _data[f.field_name] : \" \" : \" \"}\n filterOptions={(options, params) => {\n console.log(\"Autocomplete\", f.can_create);\n if (f.can_create) {\n var newFilter = ['+ Add New']\n var filtered = filter(options, params);\n return [...newFilter, ...filtered];\n } else {\n var filtered = filter(options, params);\n return filtered;\n }\n }}\n onChange={(event, newValue) => {\n if (typeof newValue === 'string') {\n console.log('f.field_name', f.field_name, \" f.can_create\", f.can_create);\n var d = {\n \"canCreate\": f.can_create,\n \"fields\": f.fields,\n \"name\": f.name,\n \"fieldName\": f.field_name\n }\n handleCanCreateNew(d);\n } else {\n if (newValue != null && newValue.inputValue != '' && newValue.product_desc != \"\") {\n onChangeValue(f.field_name, newValue[f.option_label_field]);\n }\n }\n }}\n renderInput={(params) => <TextField {...params} variant=\"outlined\" />}\n\n />\n\n </Grid>\n </Grid>;\n }\n }\n }\n else if (f.type == 'photo_list') {\n console.log('photo_list:', _data);\n return <div>\n <Grid\n key={f.field_name} container\n style={{ display: 'flex', alignItems: 'center', marginBottom: '10px' }}>\n <Grid item xs={12} sm={5}>\n <Box style={{ width: '150px' }}>\n <Typography style={{ paddingRight: '30px', color: 'grey' }}>{f.label}</Typography>\n </Box>\n </Grid>\n <Grid item xs={12} sm={7}>\n <div style={{ display: 'flex', alignItems: 'center', marginBottom: '10px' }}>\n <form>\n <div className=\"form-group\">\n <input type=\"file\" name=\"imgCollection\"\n onChange={(e) => onFileChange(e, f.field_name)} multiple />\n </div>\n </form>\n </div>\n </Grid>\n </Grid>\n {_data[f.field_name] != undefined && _data[f.field_name].length != 0 ?\n <Grid\n key={f.field_name} container\n style={{ display: 'flex', alignItems: 'center', marginBottom: '10px' }}>\n <Grid item xs={12}>\n <div style={{ display: 'block', alignItems: 'center', marginBottom: '10px' }}>\n <GridList className={classes.gridList}>\n {_data[f.field_name] == undefined ? <span /> : _data[f.field_name].map((tile) => (\n <GridListTile key={tile} style={{ width: '100px', height: '100px' }}>\n <img src={tile} alt={tile} onClick={(e) => {\n setSelectedPhoto(tile);\n setOpen(true);\n }\n } />\n </GridListTile>\n ))}\n </GridList>\n </div>\n </Grid>\n <Dialog maxWidth=\"lg\" aria-labelledby=\"customized-dialog-title\" open={open}>\n <DialogTitle id=\"customized-dialog-title\" onClose={(e) => setOpen(false)} >\n Photos\n </DialogTitle>\n <DialogContent dividers>\n <Grid item xs={12}>\n <Grid>\n <img src={selectedPhoto} className=\"show-img\" alt=\"logo\" />\n </Grid>\n <br />\n <Grid container spacing={3}>\n {_data[f.field_name].length > 0 ? _data[f.field_name].map((value) => (\n <Grid key={value} item>\n <Box className=\"square\" > <img src={value} className=\"thumnail-img\" alt=\"logo\" onClick={(e) => setSelectedPhoto(value)} /></Box>\n </Grid>\n )) : <span />}\n </Grid>\n </Grid>\n </DialogContent>\n </Dialog>\n </Grid>\n : <Grid></Grid>}\n </div>;\n }\n else if (f.type == 'list') {\n console.log('list', _data[f.field_name]);\n return <div>\n <Grid\n key={f.field_name} container\n style={{ display: 'flex', alignItems: 'center', marginBottom: '10px' }}>\n <Grid item xs={12} sm={5}>\n <Box style={{ width: '150px' }}>\n <Typography style={{ paddingRight: '30px', color: 'grey' }}>{f.label}</Typography>\n </Box>\n </Grid>\n <Grid item xs={12} sm={7}>\n <div style={{ display: 'block', alignItems: 'center', marginBottom: '10px' }}>\n <Box>\n <Button onClick={handleSelectItemDialog}><AddIcon /></Button>\n </Box>\n </div>\n </Grid>\n </Grid>\n <Grid\n key={f.field_name} container\n style={{ display: 'block', alignItems: 'center', marginBottom: '10px' }}>\n\n <div style={{ display: 'block', alignItems: 'center', marginBottom: '10px' }}>\n <TableContainer>\n <Table className={classes.table} size=\"small\" aria-label=\"a dense table\">\n <TableHead>\n <TableRow>\n {partHeaders.map((h, i) => {\n return (<TableCell key={h.id} align='left'>{h.label}</TableCell>);\n })}\n </TableRow>\n </TableHead>\n <TableBody>\n {_data[f.field_name].length > 0 ? _data[f.field_name].map((row) => (\n <TableRow key={row.name}>\n {partHeaders.map((h, i) => {\n return (<TableCell key={h.id} align={h.numeric ? 'right' : 'left'}>{row[h.id]}</TableCell>);\n })}\n </TableRow>\n )) : <span />\n }\n </TableBody>\n </Table>\n </TableContainer>\n </div>\n\n </Grid>\n </div>;\n }\n else if (f.type == 'time') {\n return <Grid key={f.field_name} container style={{ display: 'flex', alignItems: 'center', marginBottom: '10px' }}>\n <Grid item xs={12} sm={5}>\n <Box style={{ width: '150px' }}>\n <Typography style={{ paddingRight: '30px', color: 'grey' }}>{f.label}</Typography>\n </Box>\n </Grid>\n <Grid item xs={12} sm={7}> <TextField\n id=\"time\"\n variant=\"outlined\"\n size=\"small\"\n type=\"time\"\n className={classes.textField}\n InputLabelProps={{\n shrink: true,\n }}\n inputProps={{\n step: 300, // 5 min\n }}\n onChange={(e) => handleTime(e, f.field_name)}\n />\n </Grid>\n </Grid>;\n }\n })}\n\n </Grid>\n\n {/* display actions buttons */}\n {actions.length > 0 ?\n <Grid item xs={12}>\n {actions.map((a) => {\n if (a.status === _data.status) {\n return <MButton action={a} onCallback={a.callback(_data)}></MButton>;\n }\n })}\n\n </Grid> : <Grid />}\n </Grid>\n </div>\n\n );\n}\n\nMkForm.propTypes = {\n history: PropTypes.object,\n fields: PropTypes.array.isRequired,\n data: PropTypes.object,\n isNew: PropTypes.bool,\n actions: PropTypes.array,\n onDropdownCreateNew: PropTypes.func\n};\n\nexport default (MkForm);\n\n","import React, { useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport { makeStyles } from '@material-ui/core/styles';\nimport Table from '@material-ui/core/Table';\nimport TableBody from '@material-ui/core/TableBody';\nimport TableCell from '@material-ui/core/TableCell';\nimport TableContainer from '@material-ui/core/TableContainer';\nimport TableHead from '@material-ui/core/TableHead';\nimport TablePagination from '@material-ui/core/TablePagination';\nimport TableRow from '@material-ui/core/TableRow';\nimport TableSortLabel from '@material-ui/core/TableSortLabel';\nimport Typography from '@material-ui/core/Typography';\nimport EditIcon from '@material-ui/icons/Edit';\nimport { Grid, IconButton } from '@material-ui/core';\nimport CircularProgress from '@material-ui/core/CircularProgress';\nimport { withStyles } from '@material-ui/core/styles';\n\nfunction descendingComparator(a, b, _orderBy) {\n if (b[_orderBy] < a[_orderBy]) {\n return -1;\n }\n if (b[_orderBy] > a[_orderBy]) {\n return 1;\n }\n return 0;\n}\n\nfunction getComparator(_order, _orderBy) {\n return _order === 'desc'\n ? (a, b) => descendingComparator(a, b, _orderBy)\n : (a, b) => -descendingComparator(a, b, _orderBy);\n}\n\nfunction stableSort(array, comparator) {\n const stabilizedThis = array.map((el, index) => [el, index]);\n stabilizedThis.sort((a, b) => {\n const _order = comparator(a[0], b[0]);\n if (_order !== 0) return _order;\n return a[1] - b[1];\n });\n return stabilizedThis.map((el) => el[0]);\n}\n\nconst StyledTableCell = withStyles((theme) => ({\n head: {\n backgroundColor: '#0d47a1a8',\n color: theme.palette.common.white,\n },\n body: {\n fontSize: 14,\n },\n}))(TableCell);\n\n\nfunction EnhancedTableHead(props) {\n const { classes, _order, _orderBy, onRequestSort, headCells } = props;\n const createSortHandler = (property) => (event) => {\n onRequestSort(event, property);\n // onGetData();\n };\n\n return (\n <TableHead>\n <TableRow>\n {headCells.map((headCell) => (\n <StyledTableCell\n key={headCell.id}\n align={headCell.numeric ? 'right' : 'left'}\n padding={headCell.disablePadding ? 'none' : 'default'}\n sortDirection={_orderBy === headCell.id ? _order : false}\n style={{ width: headCell.id === 'sr' ? '15px' : headCell.width ? headCell.width : '' }}\n >\n {headCell.id !== 'sr' ?\n <TableSortLabel\n active={_orderBy === headCell.id}\n direction={_orderBy === headCell.id ? _order : 'asc'}\n onClick={createSortHandler(headCell.id)}\n style={{ whiteSpace: \"nowrap\" }}\n >\n {headCell.label}\n {_orderBy === headCell.id ? (\n <span className={classes.visuallyHidden}>\n {_order === 'desc' ? 'sorted descending' : 'sorted ascending'}\n </span>\n ) : null}\n </TableSortLabel>\n : <TableSortLabel\n hideSortIcon={true}\n align=\"right\"\n >\n {headCell.label}\n\n </TableSortLabel>\n }\n\n </StyledTableCell>\n ))}\n <StyledTableCell style={{ width: '150px' }} />\n\n </TableRow>\n </TableHead>\n );\n}\n\nEnhancedTableHead.propTypes = {\n classes: PropTypes.object.isRequired,\n onRequestSort: PropTypes.func.isRequired,\n onSelectAllClick: PropTypes.func.isRequired,\n _order: PropTypes.oneOf(['asc', 'desc']).isRequired,\n _orderBy: PropTypes.string.isRequired,\n rowCount: PropTypes.number.isRequired,\n};\n\nconst useStyles = makeStyles((theme) => ({\n root: {\n width: '100%',\n },\n paper: {\n width: '100%',\n marginBottom: theme.spacing(2),\n },\n table: {\n // minWidth: 750,\n tableLayout: 'fixed'\n },\n visuallyHidden: {\n b_order: 0,\n clip: 'rect(0 0 0 0)',\n height: 1,\n margin: -1,\n overflow: 'hidden',\n padding: 0,\n position: 'absolute',\n top: 20,\n width: 1,\n },\n underline: {\n \"&&&:before\": {\n b_orderBottom: \"none\"\n },\n \"&&:after\": {\n b_orderBottom: \"none\"\n }\n },\n bomLink: {\n cursor: \"pointer\",\n color: theme.primary,\n textDecoration: \"underline\",\n }\n}));\n\nconst StyledTableRow = withStyles((theme) => ({\n root: {\n '&:nth-of-type(even)': {\n backgroundColor: '#0d47a11c',\n },\n },\n}))(TableRow);\n\nfunction getUpdatedDate(p) {\n var statusDate = p['updated_date'];\n var day = '';\n if (statusDate !== undefined) {\n var convertDate = new Date(statusDate.toDate());\n var dd = String(convertDate.getDate()).padStart(2, '0');\n var mm = String(convertDate.getMonth() + 1).padStart(2, '0'); //January is 0!\n var yyyy = convertDate.getFullYear();\n\n day = mm + '/' + dd + '/' + yyyy;\n }\n\n return day.toString();\n}\n\nexport const formatDateToLocal = (date, withTime = true) => {\n if (!date) return \"\";\n var d = new Date(date);\n var ampm = d.getHours() >= 12 ? 'PM' : 'AM';\n var hours = d.getHours() > 12 ? d.getHours() - 12 : d.getHours();\n if (withTime) {\n return (\"0\" + (d.getMonth() + 1)).slice(-2) + \"/\" + (\"0\"\n + d.getDate()).slice(-2) + \"/\" + d.getFullYear()\n + \" \" + (\"0\" + (hours)).slice(-2)\n + \":\" + (\"0\" + (d.getMinutes())).slice(-2)\n + \":\" + (\"0\" + (d.getSeconds())).slice(-2)\n + \" \" + ampm;\n } else {\n return (\"0\" + (d.getMonth() + 1)).slice(-2) + \"/\" + (\"0\"\n + d.getDate()).slice(-2) + \"/\" + d.getFullYear();\n }\n}\n\nfunction RowMenu(props) {\n const { row, actions, onSelectedAction, showEdit = false, onRowEdit } = props;\n const [anchorEl, setAnchorEl] = React.useState(null);\n\n const handleMenuClick = (event) => {\n event.stopPropagation();\n setAnchorEl(event.currentTarget);\n };\n\n const handleSelectMenu = (e, row, action) => {\n e.stopPropagation();\n onSelectedAction(row, action.action_name);\n setAnchorEl(null);\n }\n\n const handleClose = (e) => {\n setAnchorEl(null);\n e.stopPropagation();\n };\n\n const handleEdit = (e) => {\n onRowEdit(row);\n e.stopPropagation();\n }\n\n return (\n <>\n <Menu\n id={`actions-${row.id}`}\n anchorEl={anchorEl}\n keepMounted\n open={Boolean(anchorEl)}\n onClose={handleClose}\n >\n {actions.map((action) => {\n return <MenuItem key={action.display_name}\n onClick={(e) => handleSelectMenu(e, row, action)}\n >\n {action.display_name}\n </MenuItem>\n }\n )}\n </Menu>\n <Grid style={{ display: 'flex' }}>\n <IconButton\n id={`edit-${row.id}`}\n aria-label=\"more\"\n aria-controls=\"long-menu\"\n aria-haspopup=\"true\"\n onClick={handleEdit}\n >\n <EditIcon />\n </IconButton>\n\n <IconButton\n id={`dropdown-${row.id}`}\n aria-label=\"more\"\n aria-controls=\"long-menu\"\n aria-haspopup=\"true\"\n onClick={handleMenuClick}\n >\n <ExpandMore />\n </IconButton>\n </Grid>\n\n </>\n );\n}\n\nRowMenu.propTypes = {\n row: PropTypes.object.isRequired,\n actions: PropTypes.array.isRequired,\n onSelectedAction: PropTypes.func.isRequired,\n showEdit: PropTypes.bool,\n onRowEdit: PropTypes.func\n}\n\nfunction ConfirmDialog(props) {\n const { type, itemName, openDialog, onCancel, onContinue } = props;\n const [open, setOpen] = React.useState(openDialog);\n\n const handleClose = () => {\n setOpen(false);\n onCancel(false);\n };\n\n const handleContinue = () => {\n onContinue(true);\n }\n\n return (\n <div>\n <Dialog\n open={open}\n onClose={handleClose}\n aria-labelledby=\"alert-dialog-title\"\n aria-describedby=\"alert-dialog-description\"\n >\n <DialogTitle id=\"alert-dialog-title\">{\"Delete this \" + type + ' \"' + itemName + '\"?'}</DialogTitle>\n\n <DialogActions>\n <Button onClick={handleClose} color=\"primary\">\n Cancel\n </Button>\n <Button onClick={handleContinue} color=\"primary\" autoFocus>\n Delete\n </Button>\n </DialogActions>\n </Dialog>\n </div>\n );\n}\n\nConfirmDialog.propTypes = {\n history: PropTypes.object,\n type: PropTypes.string,\n itemName: PropTypes.string,\n openDialog: PropTypes.bool,\n onCancel: PropTypes.func,\n onContinue: PropTypes.func\n};\n\nfunction MkTable(props) {\n const classes = useStyles();\n const { dispatch,\n data = [],\n headers = [],\n actions,\n query,\n onActions, title,\n page,\n rowsPerPage,\n noMoreToLoad = false,\n order,\n orderBy,\n isLoading = false,\n onChangePaginatePage,\n onGetData,\n onUpdateDataRow,\n onChangeRowPerPage,\n\n } = props;\n\n const [_rowsPerPage, setRowsPerPage] = React.useState(rowsPerPage);\n const [_page, setPage] = React.useState(page);\n const [_noMoreToLoad, setNoMoreToLoad] = React.useState(noMoreToLoad);\n const [_order, setOrder] = React.useState(order);\n const [_orderBy, setOrderBy] = React.useState(orderBy);\n const [_isLoading, setIsLoading] = React.useState(isLoading);\n const [_isConfirm, setIsConfirm] = React.useState(false);\n\n const handleSelectMenu = (row, action) => {\n if (action === 'delete') {\n setItemName(row.name === undefined ? row.product_desc : row.name);\n setIsConfirm(true);\n setRow(row);\n setAction(action);\n } else {\n onActions(row, action);\n }\n }\n\n const handleDelete = (v) => {\n setIsConfirm(false);\n onActions(row, action);\n }\n\n const handleCancel = (v) => {\n setIsConfirm(false);\n }\n\n const handleRowEdit = (row) => {\n onUpdateDataRow(row);\n }\n\n var offset = _page * _rowsPerPage;\n\n useEffect(() => {\n setNoMoreToLoad(noMoreToLoad);\n setPage(page);\n setOrder(order);\n setOrderBy(orderBy);\n setIsLoading(isLoading);\n setRowsPerPage(rowsPerPage);\n }, []);\n\n const handleRequestSort = (event, property) => {\n const isAsc = _orderBy === property && _order === 'asc';\n setOrder(isAsc ? 'desc' : 'asc');\n setOrderBy(property);\n };\n\n const handleChangePage = (event, newPage) => {\n if (!noMoreToLoad && (newPage + 1) * _rowsPerPage >= data.length) {\n onGetData();\n }\n setPage(newPage);\n onChangePaginatePage(newPage);\n };\n\n const handleChangeRowsPerPage = (event) => {\n setRowsPerPage(parseInt(event.target.value));\n onChangeRowPerPage(parseInt(event.target.value));\n };\n\n const getStatus = (data, header) => {\n var v = data[header.id];\n var color = 'red';\n if (v == 'Pending') {\n color = 'red';\n } else if (v == 'Started') {\n color = 'orange';\n } else {\n color = 'green';\n }\n return (<TableCell key={header.id} align={header.numeric ? 'right' : 'left'} ><Typography style={{ color: 'red', fontWeight: '500' }}>{data[header.id]}</Typography></TableCell>);\n };\n\n return (\n <div className={classes.root}>\n <Grid container>\n <Grid item>\n <TableContainer>\n <Table\n className={classes.table}\n aria-labelledby=\"tableTitle\"\n size='small'\n aria-label=\"enhanced table\"\n >\n <EnhancedTableHead\n classes={classes}\n headCells={headers}\n _order={_order}\n _orderBy={_orderBy}\n onRequestSort={handleRequestSort}\n rowCount={data.length !== undefined ? data.length : 0}\n dispatch={dispatch}\n />\n\n <TableBody>\n {isLoading ? <StyledTableRow >\n <TableCell colSpan={headers.length} align=\"center\"> <CircularProgress /></TableCell>\n </StyledTableRow> :\n (data.length !== 0 ? stableSort(data, getComparator(_order, _orderBy))\n .slice(_page * _rowsPerPage, _page * _rowsPerPage + _rowsPerPage)\n .map((row, index) => {\n return (\n <StyledTableRow\n hover\n role=\"checkbox\"\n tabIndex={-1}\n key={row.id}\n id={row.id}\n >\n\n {headers.map((h, i) => {\n if (h.id === 'sr') {\n return (<TableCell key={h.id} align=\"right\" style={{ width: '15px' }}>{++offset}</TableCell>);\n }\n if (h.id === 'status') {\n getStatus(row, h);\n return (<TableCell key={h.id} align={h.numeric ? 'right' : 'left'}>{row[h.id]}</TableCell>);\n }\n if (h.id === 'updated_date') {\n return (<TableCell key={h.id} align={h.numeric ? 'right' : 'left'} style={{ width: h.width }}>{getUpdatedDate(row)}</TableCell>);\n } else {\n return (<TableCell key={h.id} align={h.numeric ? 'right' : 'left'} style={{ width: h.width }}\n >{row[h.id]}</TableCell>);\n }\n })}\n {actions ?\n <TableCell style={{ width: '150px' }}>\n <RowMenu\n actions={actions}\n row={row}\n showEdit={true}\n onRowEdit={(data) => handleRowEdit(data)}\n onSelectedAction={(data, actionName) => handleSelectMenu(data, actionName)}\n />\n </TableCell>\n : <TableCell style={{ width: '150px' }}>\n <IconButton onClick={(event) => handleRowEdit(row)}><EditIcon /></IconButton>\n </TableCell>}\n </StyledTableRow>\n\n );\n }) : <StyledTableRow style={{ width: '100%' }}></StyledTableRow>)}\n </TableBody>\n </Table>\n </TableContainer>\n\n <TablePagination\n rowsPerPageOptions={[10, 30, 50]}\n labelDisplayedRows={function ({ from, to, count }) { }}\n component=\"div\"\n count={data.length}\n rowsPerPage={_rowsPerPage}\n page={_page}\n onChangePage={handleChangePage}\n onChangeRowsPerPage={handleChangeRowsPerPage}\n />\n </Grid></Grid>\n {_isConfirm ? <ConfirmDialog\n type={title}\n itemName={itemName}\n openDialog={_isConfirm}\n onCancel={(v) => handleCancel(v)}\n onContinue={(v) => handleDelete(v)}></ConfirmDialog> : <div />}\n </div>\n );\n}\n\nMkTable.propTypes = {\n history: PropTypes.object,\n headers: PropTypes.array.isRequired,\n data: PropTypes.array.isRequired,\n query: PropTypes.object,\n onProductBOMClick: PropTypes.func,\n onActions: PropTypes.func,\n actions: PropTypes.array,\n title: PropTypes.string,\n order: PropTypes.any,\n orderBy: PropTypes.any,\n rowsPerPage: PropTypes.any,\n noMoreToLoad: PropTypes.any,\n isLoading: PropTypes.any,\n onChangePaginatePage: PropTypes.any,\n onGetData: PropTypes.any,\n onChangeRowPerPage: PropTypes.any\n};\n\nexport default (MkTable);\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { makeStyles } from '@material-ui/core/styles';\nimport { Grid, Box, Typography, Button } from '@material-ui/core';\nimport { MkForm } from '..';\n\nconst useStyles = makeStyles((theme) => ({\n root: {\n width: '100%',\n },\n paper: {\n width: '100%',\n marginBottom: theme.spacing(2),\n },\n table: {\n minWidth: 750,\n },\n visuallyHidden: {\n border: 0,\n clip: 'rect(0 0 0 0)',\n height: 1,\n margin: -1,\n overflow: 'hidden',\n padding: 0,\n position: 'absolute',\n top: 20,\n width: 1,\n },\n underline: {\n \"&&&:before\": {\n borderBottom: \"none\"\n },\n \"&&:after\": {\n borderBottom: \"none\"\n }\n }, button: {\n color: 'white',\n color: theme.palette.primary.main,\n width: 150,\n height: 55\n },\n closeButton: {\n position: 'absolute',\n right: theme.spacing(1),\n top: theme.spacing(1),\n color: theme.palette.grey[500],\n },\n headText: {\n fontSize: 14,\n float: \"left\",\n color: theme.palette.primary.main,\n fontWeight: \"bold\"\n },\n paper: {\n padding: theme.spacing(2),\n textAlign: 'center',\n color: theme.palette.text.secondary,\n },\n}));\n\nfunction getDataString(data, fieldName) {\n return data[fieldName];\n}\n\n\nfunction MkInfo(props) {\n const classes = useStyles();\n const {\n infoData,\n displayFields,\n isNew = false,\n isEditable,\n currentTabName,\n actions } = props;\n\n const [editable, setEditable] = React.useState(isEditable != undefined ? isEditable : true);\n const [data, setData] = React.useState({});\n\n const handleEdit = () => {\n setEditable(false)\n }\n\n const handleUpdateData = (data) => {\n console.log('handle update date:', data);\n setData(data);\n }\n\n\n return (\n <div className={classes.root}>\n {isNew ?\n <Grid container style={{ marginTop: '30px' }}>\n <Grid item xs={12} sm={7}>\n <MkForm\n updateData={infoData}\n fields={displayFields}\n isNew={isNew}\n onDataCallback={(d) => handleUpdateData(d)}\n ></MkForm>\n </Grid>\n </Grid> : <Grid container style={{ marginTop: '30px' }}>\n <Grid item xs={12} sm={7}>\n {!editable ?\n <MkForm\n fields={displayFields}\n isNew={isNew}\n updateData={infoData}\n onDataCallback={(d) => handleUpdateData(d)}\n ></MkForm>\n :\n displayFields.map((d, i) => {\n return <Grid container>\n <Grid item xs={12} style={{ display: 'flex', alignItems: 'center', marginBottom: '10px' }}>\n <Grid item xs={12} sm={5}>\n <Box style={{ width: '250px' }}>\n <Typography style={{ paddingRight: '30px', color: 'grey' }}>{d.label}</Typography>\n </Box>\n </Grid>\n <Grid item xs={12} sm={7}>\n {d.type == 'photo' ? <img src={infoData['photo_url']} style={{ width: '120px', height: '120px', border: '1px solid grey' }}></img> :\n <Typography style={{ paddingRight: '30px' }}>{infoData != undefined ? getDataString(infoData, d.fieldName) : ''}</Typography>}\n </Grid>\n </Grid>\n </Grid>;\n })}\n </Grid>\n <Grid item xs={12} sm={7}>\n <Grid\n container\n direction=\"row\"\n alignItems=\"flex-end\">\n\n {actions.map((a, i) => {\n\n if (currentTabName == 'account') {\n if (infoData.status == 'invited') {\n return <Box>\n <Button style={{ color: 'white', backgroundColor: 'grey', float: 'right', marginLeft: '10px' }}\n onClick={() => a.callback(data)}\n >{a.label}</Button>\n </Box>;\n }\n if (infoData.status == 'joined') {\n return <Box>\n <Button style={{ color: 'white', backgroundColor: 'grey', float: 'right', marginLeft: '10px' }}\n onClick={() => a.callback(data)}\n >{a.label}</Button>\n </Box>;\n }\n if (infoData.status == 'disabled') {\n return <Box>\n <Button style={{ color: 'white', backgroundColor: 'grey', float: 'right', marginLeft: '10px' }}\n onClick={() => a.callback(data)}\n >{a.label}</Button>\n </Box>;\n }\n if (infoData.status == 'requested') {\n if (editable) {\n return <Box>\n <Button style={{ marginLeft: '10px' }}\n onClick={handleEdit}\n >{a.icon}{a.label}</Button>\n </Box>;\n } else {\n return <Box>\n <Button style={{ color: 'white', backgroundColor: 'grey', float: 'right', marginLeft: '10px' }}\n onClick={() => a.callback(data)}\n >{a.label}</Button>\n </Box>;\n }\n\n }\n } else {\n if (editable) {\n if (a.action_type == 'edit') {\n console.log('type: ', a.action_type, 'editable: ', editable);\n\n return <Box>\n <Button style={{ marginLeft: '10px' }}\n onClick={handleEdit}\n >{a.icon}{a.label}</Button>\n </Box>\n }\n if (a.action_type == 'delete') {\n return <Box>\n <Button style={{ float: 'right', marginLeft: '10px' }}\n onClick={() => a.callback(data)}\n >{a.icon}{a.label}</Button>\n </Box>\n }\n } else {\n if (a.action_type == 'save') {\n return <Box>\n <Button style={{ marginLeft: '10px' }}\n onClick={() => a.callback(data)}\n >{a.icon}{a.label}</Button>\n </Box>\n }\n if (a.action_type == 'cancel') {\n return <Box>\n <Button style={{ float: 'right', marginLeft: '10px' }}\n onClick={() => a.callback(data)}\n >{a.icon}{a.label}</Button>\n </Box>\n }\n }\n\n }\n })}\n </Grid>\n </Grid>\n\n </Grid>}\n </div >\n );\n}\n\nMkInfo.propTypes = {\n history: PropTypes.object,\n infoData: PropTypes.object,\n displayFields: PropTypes.array,\n isNew: PropTypes.bool,\n isEditable: PropTypes.bool,\n actions: PropTypes.any\n};\n\nexport default (MkInfo);\n"],"names":["List","groupName","members","React","map","member","require$$0","require$$1","ReactPropTypesSecret","has","printWarning","ReactIs","assign","checkPropTypes","require$$2","filter","createFilterOptions","BootstrapInput","withStyles","theme","root","marginTop","spacing","input","borderRadius","position","backgroundColor","border","fontSize","padding","transition","transitions","create","fontFamily","join","borderColor","boxShadow","InputBase","useStyles","makeStyles","width","paper","marginBottom","table","minWidth","visuallyHidden","clip","height","margin","overflow","top","underline","borderBottom","MButton","props","classes","action","Box","Button","e","handleAction","icon","label","propTypes","history","PropTypes","object","onCallback","func","MkForm","fields","data","onDropdownCreateNew","actions","useState","undefined","_data","setDataField","handleTextString","fieldName","target","value","handleTextNumber","handleTextMultiline","handleDate","handleDropDownChange","selectedIndex","options","selectedValue","getAttribute","fn","split","fieldId","handleCanCreateNew","onChangeValue","Grid","f","i","type","field_name","display","alignItems","Typography","paddingRight","color","TextField","readOnly","option_label_field","NativeSelect","d","name","id","Autocomplete","option","params","console","log","can_create","newFilter","filtered","event","newValue","inputValue","product_desc","onFileChange","length","gridList","tile","setSelectedPhoto","setOpen","open","selectedPhoto","handleSelectItemDialog","partHeaders","h","row","numeric","textField","shrink","step","handleTime","a","status","callback","array","isRequired","isNew","bool","descendingComparator","b","_orderBy","getComparator","_order","stableSort","comparator","stabilizedThis","el","index","sort","StyledTableCell","head","palette","common","white","body","TableCell","EnhancedTableHead","onRequestSort","headCells","createSortHandler","property","TableHead","TableRow","headCell","disablePadding","whiteSpace","onSelectAllClick","oneOf","string","rowCount","number","tableLayout","b_order","b_orderBottom","bomLink","cursor","primary","textDecoration","StyledTableRow","getUpdatedDate","p","statusDate","day","convertDate","Date","toDate","dd","String","getDate","padStart","mm","getMonth","yyyy","getFullYear","toString","RowMenu","onSelectedAction","onRowEdit","anchorEl","setAnchorEl","handleMenuClick","stopPropagation","currentTarget","handleSelectMenu","action_name","handleClose","handleEdit","Boolean","display_name","IconButton","showEdit","ConfirmDialog","itemName","openDialog","onCancel","onContinue","handleContinue","MkTable","dispatch","headers","query","onActions","title","page","rowsPerPage","noMoreToLoad","order","orderBy","isLoading","onChangePaginatePage","onGetData","onUpdateDataRow","onChangeRowPerPage","_rowsPerPage","setRowsPerPage","_page","setPage","_noMoreToLoad","setNoMoreToLoad","setOrder","setOrderBy","_isLoading","setIsLoading","_isConfirm","setIsConfirm","setItemName","setRow","setAction","handleDelete","v","handleCancel","handleRowEdit","offset","useEffect","handleRequestSort","isAsc","handleChangePage","newPage","handleChangeRowsPerPage","parseInt","TableContainer","Table","TableBody","slice","getStatus","actionName","onProductBOMClick","any","button","main","closeButton","right","grey","headText","fontWeight","textAlign","text","secondary","getDataString","MkInfo","infoData","displayFields","isEditable","currentTabName","editable","setEditable","setData","handleUpdateData","marginLeft","action_type"],"mappings":";;;;;;;;;;;;;;;;;;;;AAGA,SAASA,IAAT,OAA2C;AAAA,MAA3BC,SAA2B,QAA3BA,SAA2B;AAAA,0BAAhBC,OAAgB;AAAA,MAAhBA,OAAgB,6BAAN,EAAM;AACvC,sBACEC,uDACEA,iDADF,eAEEA,iEACSA,yCAAKF,SAAL,CADT,CAFF,eAKEE,sDACEA,kDADF,EAEGD,OAAO,CAACE,GAAR,CAAY,UAACC,MAAD;AAAA,wBACXF;AAAI,MAAA,GAAG,EAAEE;AAAT,OAAkBA,MAAlB,CADW;AAAA,GAAZ,CAFH,CALF,CADF;AAcD;;;;;;;;;;;;;;;;;;;;;;;;AClBH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,AACa,IAAI,CAAC,CAAC,UAAU,GAAG,OAAO,MAAM,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,kBAAkB,CAAC,CAAC,KAAK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