1 |
- {"version":3,"file":"index.modern.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","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","icon","label","propTypes","history","PropTypes","object","any","isRequired","func","MkForm","styles","fields","data","onDropdownCreateNew","actions","partHeaders","React","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","i","type","field_name","display","alignItems","marginBottom","paddingRight","readOnly","option_label_field","d","name","id","option","params","console","log","can_create","newFilter","filtered","_filtered","event","newValue","inputValue","product_desc","length","gridList","tile","h","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","TableHead","TableRow","headCell","TableCell","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","Boolean","display_name","ConfirmDialog","itemName","openDialog","onCancel","onContinue","handleContinue","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","TableContainer","Table","TableBody","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,sBACE,8CACE,wCADF,eAEE,wDACS,gCAAKD,SAAL,CADT,CAFF,eAKE,6CACE,yCADF,EAEGC,OAAO,CAACC,GAAR,CAAY,UAACC,MAAD;AAAA,wBACX;AAAI,MAAA,GAAG,EAAEA;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,MAA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