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 GridList,\n GridListTile,\n TableContainer,\n Table,\n TableHead,\n TableRow,\n TableBody,\n TableCell,\n Dialog,\n DialogTitle,\n DialogContent,\n} from '@material-ui/core';\nimport AddIcon from '@material-ui/icons/Add';\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({\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 actionButton: props => ({\n backgroundColor: props.primaryColor === undefined ? 'grey' : props.primaryColor,\n color: props.actionTextColor === undefined ? 'white' : props.actionTextColor\n })\n});\n\nfunction MButton(props) {\n const { action, onCallback, buttonStyle } = props;\n\n const handleAction = (e) => {\n e.preventDefault();\n onCallback(e);\n }\n\n return (\n <div className={buttonStyle.root}>\n <Box>\n <Button className={buttonStyle.actionButton}\n variant=\"contained\" style={{ float: 'right', margin: \"5px\" }}\n onClick={(e) => handleAction(e)}\n >{action.icon}{action.label}</Button>\n </Box>\n </div>\n );\n}\n\nMButton.propTypes = {\n history: PropTypes.object,\n buttonStyle: PropTypes.any,\n action: PropTypes.object.isRequired,\n onCallback: PropTypes.func.isRequired\n};\n\n\n\nfunction MkForm(props) {\n const styles = useStyles(props.styles);\n const {\n fields = [],\n data = {},\n onDropdownCreateNew,\n actions = [],\n partHeaders\n } = props;\n const [_data, setDataField] = React.useState(data !== undefined ? data : {});\n const [open, setOpen] = React.useState(false);\n // const [imgCollection, setImageCollection] = React.useState([]);\n const [selectedPhoto, setSelectedPhoto] = React.useState(\"#\");\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 const onFileChange = (e, f) => {\n\n }\n\n const handleSelectItemDialog = () => {\n\n }\n\n return (\n <div className={styles.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 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} key={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)}\n 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={styles.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 />}\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={styles.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={styles.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={(event) => a.callback(event, _data)} buttonStyle={styles} />;\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 styles: PropTypes.any\n};\n\nexport default (MkForm);\n\n","import React, { useEffect } from 'react';\nimport PropTypes from 'prop-types';\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 ExpandMore from '@material-ui/icons/ExpandMore';\nimport { Box, Button, createMuiTheme, Dialog, DialogActions, DialogTitle, Grid, IconButton, Menu, MenuItem, ThemeProvider } from '@material-ui/core';\nimport CircularProgress from '@material-ui/core/CircularProgress';\nimport { makeStyles } 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\n// const 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 { headerStyles, _order, _orderBy, onRequestSort, headCells } = props;\n const createSortHandler = (property) => (event) => {\n onRequestSort(event, property);\n // onGetData();\n };\n\n const sortedStyle = createMuiTheme({\n overrides: {\n MuiTableSortLabel: {\n root: {\n \"&$active\": {\n color: headerStyles.sortedHeader === undefined ? 'grey' : headerStyles.sortedHeader,\n \"&& $icon\": {\n color: headerStyles.sortedHeader === undefined ? 'grey' : headerStyles.sortedHeader\n }\n }\n }\n }\n }\n });\n\n return (\n <ThemeProvider theme={sortedStyle}>\n <TableHead>\n <TableRow>\n {headCells.map((headCell) => (\n <TableCell\n className={headerStyles.head}\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={headerStyles.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 </TableCell>\n ))}\n <TableCell className={headerStyles.head} style={{ width: '100px' }} />\n\n </TableRow>\n </TableHead>\n </ThemeProvider>\n );\n}\n\nEnhancedTableHead.propTypes = {\n headerStyles: 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({\n root: {\n width: '100%',\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 head: props => ({\n backgroundColor: props.headerBackgroundColor === undefined ? '#0d47a1a8' : props.headerBackgroundColor,\n color: props.headerTextColor === undefined ? 'white' : props.headerTextColor,\n }),\n sortedHeader: props => ({\n color: props.headerTextColor === undefined ? 'grey' : props.headerTextColor,\n }),\n styledTableRow: props => ({\n '&:nth-of-type(even)': {\n backgroundColor: props.primaryColor === undefined ? '#0d47a11c' : props.primaryColor,\n },\n }),\n});\n\n// const 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');\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, 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 <div>\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\n container\n direction=\"row\"\n justify=\"flex-end\"\n alignItems=\"center\"\n 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 size=\"small\"\n >\n <EditIcon />\n </IconButton>\n <Box style={{ width: '10px' }} />\n <IconButton\n id={`dropdown-${row.id}`}\n aria-label=\"more\"\n aria-controls=\"long-menu\"\n aria-haspopup=\"true\"\n size=\"small\"\n onClick={handleMenuClick}\n >\n <ExpandMore />\n </IconButton>\n </Grid>\n\n </div>\n );\n}\n\nRowMenu.propTypes = {\n row: PropTypes.object.isRequired,\n actions: PropTypes.array.isRequired,\n onSelectedAction: PropTypes.func.isRequired,\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 console.log(\"props.styles:\", props.styles)\n const classes = useStyles(props.styles);\n const { dispatch,\n data = [],\n headers = [],\n actions,\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 dense = true,\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 const [itemName, setItemName] = React.useState('');\n const [row, setRow] = React.useState({});\n const [action, setAction] = React.useState('');\n const [_dense, setDense] = React.useState(dense);\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 setDense(dense);\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 setPage(0);\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: _color, 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={_dense ? 'small' : 'medium'}\n aria-label=\"enhanced table\"\n >\n <EnhancedTableHead\n headerStyles={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 ? <TableRow className={classes.styledTableRow}>\n <TableCell colSpan={headers.length} align=\"center\"> <CircularProgress /></TableCell>\n </TableRow> :\n (data.length !== 0 ? stableSort(data, getComparator(_order, _orderBy))\n .slice(_page * _rowsPerPage, _page * _rowsPerPage + _rowsPerPage)\n .map((row, index) => {\n return (\n <TableRow\n hover\n role=\"checkbox\"\n tabIndex={-1}\n key={row.id}\n id={row.id}\n className={classes.styledTableRow}\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 ? h.width : null }}>{getUpdatedDate(row)}</TableCell>);\n } else {\n return (<TableCell key={h.id} align={h.numeric ? 'right' : 'left'} style={{ width: h.width ? h.width : null }}\n >{row[h.id]}</TableCell>);\n }\n })}\n {actions ?\n <TableCell style={{ width: '150px' }} align='right'>\n <RowMenu\n actions={actions}\n row={row}\n onRowEdit={(data) => handleRowEdit(data)}\n onSelectedAction={(data, actionName) => handleSelectMenu(data, actionName)}\n />\n </TableCell>\n : <TableCell style={{ width: '150px' }} align='right'>\n <IconButton onClick={(event) => handleRowEdit(row)} size={dense ? \"small\" : \"medium\"}><EditIcon /></IconButton>\n </TableCell>}\n </TableRow>\n\n );\n }) : <TableRow className={classes.styledTableRow} style={{ width: '100%' }} />)}\n </TableBody>\n </Table>\n </TableContainer>\n\n <TablePagination\n rowsPerPageOptions={[10, 30, 50]}\n labelDisplayedRows={({ from, to, count }) => { console.log(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)} /> : <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 dense: PropTypes.any,\n styles: 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';\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 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}));\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 <div/>\n :\n displayFields.map((d, i) => {\n return (<Grid container key={i}>\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' ? \n <img/>\n // <img src={infoData['photo_url']} style={{ width: '120px', height: '120px', border: '1px solid grey' }}></img>\n :\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","table","minWidth","visuallyHidden","clip","height","margin","overflow","top","underline","borderBottom","actionButton","props","primaryColor","undefined","color","actionTextColor","MButton","action","onCallback","buttonStyle","handleAction","e","preventDefault","Box","Button","icon","label","propTypes","history","PropTypes","object","any","isRequired","func","MkForm","styles","fields","data","onDropdownCreateNew","actions","partHeaders","useState","_data","setDataField","open","setOpen","selectedPhoto","setSelectedPhoto","handleTextString","fieldName","target","value","handleTextNumber","handleTextMultiline","handleDate","handleDropDownChange","selectedIndex","options","selectedValue","getAttribute","fn","split","fieldId","handleCanCreateNew","onChangeValue","onFileChange","f","handleSelectItemDialog","Grid","i","type","field_name","display","alignItems","marginBottom","Typography","paddingRight","TextField","readOnly","option_label_field","NativeSelect","d","name","id","Autocomplete","option","params","console","log","can_create","newFilter","filtered","_filtered","event","newValue","inputValue","product_desc","length","GridList","gridList","tile","GridListTile","Dialog","DialogTitle","DialogContent","TableContainer","Table","TableHead","TableRow","h","TableCell","TableBody","row","numeric","textField","shrink","step","a","status","callback","array","isNew","bool","descendingComparator","b","_orderBy","getComparator","_order","stableSort","comparator","stabilizedThis","el","index","sort","EnhancedTableHead","headerStyles","onRequestSort","headCells","createSortHandler","property","sortedStyle","createMuiTheme","overrides","MuiTableSortLabel","sortedHeader","ThemeProvider","headCell","head","disablePadding","whiteSpace","onSelectAllClick","oneOf","string","rowCount","number","tableLayout","b_order","b_orderBottom","headerBackgroundColor","headerTextColor","styledTableRow","getUpdatedDate","p","statusDate","updated_date","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","Menu","Boolean","MenuItem","display_name","IconButton","ConfirmDialog","itemName","openDialog","onCancel","onContinue","handleContinue","DialogActions","MkTable","classes","dispatch","headers","onActions","title","page","rowsPerPage","noMoreToLoad","order","orderBy","isLoading","onChangePaginatePage","onGetData","onUpdateDataRow","onChangeRowPerPage","dense","_rowsPerPage","setRowsPerPage","_page","setPage","_noMoreToLoad","setNoMoreToLoad","setOrder","setOrderBy","_isLoading","setIsLoading","_isConfirm","setIsConfirm","setItemName","setRow","setAction","_dense","setDense","handleDelete","v","handleCancel","handleRowEdit","offset","useEffect","handleRequestSort","isAsc","handleChangePage","newPage","handleChangeRowsPerPage","parseInt","slice","getStatus","actionName","from","to","count","query","onProductBOMClick","button","closeButton","right","palette","grey","headText","primary","main","fontWeight","getDataString","MkInfo","infoData","displayFields","isEditable","currentTabName","editable","setEditable","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,K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