index.modern.js.map 175 KB

1
  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'\r\nimport styles from '../styles.module.css'\r\n\r\nfunction List({ groupName, members = [] }) {\r\n return (\r\n <div>\r\n <h1>1.0.3</h1>\r\n <h5>\r\n Group: <em>{groupName}</em>\r\n </h5>\r\n <ul>\r\n <p>Members</p>\r\n {members.map((member) => (\r\n <li key={member}>{member}</li>\r\n ))}\r\n </ul>\r\n </div>\r\n )\r\n }\r\n \r\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';\r\nimport PropTypes from 'prop-types';\r\nimport {\r\n TextField,\r\n Grid,\r\n InputBase,\r\n Button,\r\n NativeSelect,\r\n Box,\r\n Typography,\r\n GridList,\r\n GridListTile,\r\n TableContainer,\r\n Table,\r\n TableHead,\r\n TableRow,\r\n TableBody,\r\n TableCell,\r\n Dialog,\r\n DialogTitle,\r\n DialogContent,\r\n} from '@material-ui/core';\r\nimport AddIcon from '@material-ui/icons/Add';\r\nimport { withStyles, makeStyles } from '@material-ui/core/styles';\r\nimport Autocomplete, { createFilterOptions } from '@material-ui/lab/Autocomplete';\r\n\r\nconst filter = createFilterOptions();\r\n\r\nconst BootstrapInput = withStyles((theme) => ({\r\n root: {\r\n 'label + &': {\r\n marginTop: theme.spacing(3),\r\n },\r\n },\r\n input: {\r\n borderRadius: 4,\r\n position: 'relative',\r\n backgroundColor: 'transparent',\r\n border: '1px solid #ced4da',\r\n fontSize: 16,\r\n padding: '10px 26px 10px 12px',\r\n transition: theme.transitions.create(['border-color', 'box-shadow']),\r\n // Use the system font instead of the default Roboto font.\r\n fontFamily: [\r\n '-apple-system',\r\n 'BlinkMacSystemFont',\r\n '\"Segoe UI\"',\r\n 'Roboto',\r\n '\"Helvetica Neue\"',\r\n 'Arial',\r\n 'sans-serif',\r\n '\"Apple Color Emoji\"',\r\n '\"Segoe UI Emoji\"',\r\n '\"Segoe UI Symbol\"',\r\n ].join(','),\r\n '&:focus': {\r\n borderRadius: 4,\r\n borderColor: '#80bdff',\r\n boxShadow: '0 0 0 0.2rem rgba(0,123,255,.25)',\r\n },\r\n },\r\n}))(InputBase);\r\n\r\nconst useStyles = makeStyles((theme) => ({\r\n root: {\r\n width: '100%',\r\n },\r\n paper: {\r\n width: '100%',\r\n marginBottom: theme.spacing(2),\r\n },\r\n table: {\r\n minWidth: 750,\r\n },\r\n visuallyHidden: {\r\n border: 0,\r\n clip: 'rect(0 0 0 0)',\r\n height: 1,\r\n margin: -1,\r\n overflow: 'hidden',\r\n padding: 0,\r\n position: 'absolute',\r\n top: 20,\r\n width: 1,\r\n },\r\n underline: {\r\n \"&&&:before\": {\r\n borderBottom: \"none\"\r\n },\r\n \"&&:after\": {\r\n borderBottom: \"none\"\r\n }\r\n }\r\n}));\r\n\r\nfunction MButton(props) {\r\n const classes = useStyles();\r\n const { action, onCallback } = props;\r\n\r\n const handleAction = (e) => {\r\n e.preventDefault();\r\n onCallback(e);\r\n }\r\n\r\n return (\r\n <div className={classes.root}>\r\n <Box>\r\n <Button\r\n variant=\"contained\" style={{ float: 'right', margin: \"5px\" }}\r\n onClick={(e) => handleAction(e)}\r\n >{action.icon}{action.label}</Button>\r\n </Box>\r\n </div>\r\n );\r\n}\r\n\r\nMButton.propTypes = {\r\n history: PropTypes.object,\r\n action: PropTypes.object.isRequired,\r\n onCallback: PropTypes.func.isRequired\r\n};\r\n\r\n\r\n\r\nfunction MkForm(props) {\r\n const classes = useStyles();\r\n const {\r\n fields = [],\r\n data = {},\r\n onDropdownCreateNew,\r\n actions = [],\r\n partHeaders\r\n } = props;\r\n const [_data, setDataField] = React.useState(data !== undefined ? data : {});\r\n const [open, setOpen] = React.useState(false);\r\n // const [imgCollection, setImageCollection] = React.useState([]);\r\n const [selectedPhoto, setSelectedPhoto] = React.useState(\"#\");\r\n\r\n const handleTextString = (e, fieldName) => {\r\n setDataField({ ..._data, [fieldName]: e.target.value });\r\n }\r\n\r\n const handleTextNumber = (e, fieldName) => {\r\n setDataField({ ..._data, [fieldName]: e.target.value });\r\n }\r\n\r\n const handleTextMultiline = (e, fieldName) => {\r\n setDataField({ ..._data, [fieldName]: e.target.value });\r\n }\r\n\r\n const handleDate = (e, fieldName) => {\r\n setDataField({ ..._data, [fieldName]: e.target.value });\r\n }\r\n\r\n const handleDropDownChange = (e, fieldName) => {\r\n var selectedIndex = e.target.options.selectedIndex;\r\n var selectedValue = e.target.options[selectedIndex].getAttribute('name');\r\n\r\n var fn = fieldName.split('_');\r\n var fieldId = fn[0] + '_' + 'id';\r\n setDataField({ ..._data, [fieldName]: selectedValue, [fieldId]: e.target.value });\r\n }\r\n\r\n // const handleImgUpload = (e, fieldName) => {\r\n // e.preventDefault();\r\n // let reader = new FileReader();\r\n // let file = e.target.files[0];\r\n\r\n // reader.onloadend = () => {\r\n // setImgPreviewPath(reader.result);\r\n // }\r\n // reader.readAsDataURL(file);\r\n // setDataField({ ..._data, [fieldName]: e.target.files[0].name });\r\n // }\r\n\r\n const handleCanCreateNew = (data) => {\r\n onDropdownCreateNew(data);\r\n }\r\n\r\n const onChangeValue = (fieldName, value) => {\r\n setDataField({ ..._data, [fieldName]: value });\r\n }\r\n\r\n const onFileChange = (e, f) => {\r\n\r\n }\r\n\r\n const handleSelectItemDialog = () => {\r\n\r\n }\r\n\r\n return (\r\n <div className={classes.root}>\r\n <Grid container>\r\n <Grid item xs={12}>\r\n {fields.map((f, i) => {\r\n\r\n if (f.type === 'text_string') {\r\n return <Grid key={f.field_name} container style={{ display: 'flex', alignItems: 'center', marginBottom: '10px' }}>\r\n <Grid item xs={12} sm={5}>\r\n <Box style={{ width: '150px' }}>\r\n <Typography style={{ paddingRight: '30px', color: 'grey' }}>{f.label}</Typography>\r\n </Box>\r\n </Grid>\r\n <Grid item xs={12} sm={7}>\r\n <TextField id={f.field_name}\r\n variant=\"outlined\"\r\n autoComplete=\"off\"\r\n size=\"small\"\r\n style={{ width: '100%' }}\r\n InputProps={{\r\n readOnly: f.readOnly ? f.readOnly : false,\r\n }}\r\n value={_data !== undefined ? _data[f.field_name] : ''}\r\n onChange={(e) => handleTextString(e, f.field_name)}\r\n />\r\n </Grid>\r\n </Grid>;\r\n }\r\n else if (f.type === 'text_number') {\r\n return <Grid key={f.field_name} container style={{ display: 'flex', alignItems: 'center', marginBottom: '10px' }}>\r\n <Grid item xs={12} sm={5}>\r\n <Box style={{ width: '150px' }}>\r\n <Typography style={{ paddingRight: '30px', color: 'grey' }}>{f.label}</Typography>\r\n </Box>\r\n </Grid>\r\n <Grid item xs={12} sm={7}>\r\n <TextField\r\n id={f.field_name}\r\n variant=\"outlined\"\r\n autoComplete=\"off\"\r\n size=\"small\"\r\n style={{ width: '100%' }}\r\n type=\"number\"\r\n value={_data !== undefined ? _data[f.field_name] : ''}\r\n onChange={(e) => handleTextNumber(e, f.field_name)}\r\n />\r\n </Grid>\r\n </Grid>;\r\n }\r\n else if (f.type === 'text_multiline') {\r\n return <Grid key={f.field_name} container style={{ display: 'flex', alignItems: 'center', marginBottom: '10px' }}>\r\n <Grid item xs={12} sm={5}>\r\n <Box style={{ width: '150px' }}>\r\n <Typography style={{ paddingRight: '30px', color: 'grey' }}>{f.label}</Typography>\r\n </Box>\r\n </Grid>\r\n <Grid item xs={12} sm={7}>\r\n <TextField\r\n id={f.field_name}\r\n multiline\r\n autoComplete=\"off\"\r\n rows={3}\r\n size=\"small\"\r\n style={{ width: '100%' }}\r\n value={_data !== undefined ? _data[f.field_name] : ''}\r\n variant=\"outlined\"\r\n onChange={(e) => handleTextMultiline(e, f.field_name)}\r\n />\r\n </Grid>\r\n </Grid>;\r\n }\r\n else if (f.type === 'date') {\r\n return <Grid key={f.field_name} container style={{ display: 'flex', alignItems: 'center', marginBottom: '10px' }}>\r\n <Grid item xs={12} sm={5}>\r\n <Box style={{ width: '150px' }}>\r\n <Typography style={{ paddingRight: '30px', color: 'grey' }}>{f.label}</Typography>\r\n </Box>\r\n </Grid>\r\n <Grid item xs={12} sm={7}>\r\n <TextField\r\n id={f.field_name}\r\n variant=\"outlined\"\r\n autoComplete=\"off\"\r\n size=\"small\"\r\n value={_data !== undefined ? _data[f.field_name] : ''}\r\n type=\"date\"\r\n style={{ width: '100%' }}\r\n onChange={(e) => handleDate(e, f.field_name)}\r\n />\r\n </Grid>\r\n </Grid>;\r\n }\r\n else if (f.type === 'dropdown') {\r\n if (f.options !== undefined && f.option_label_field !== undefined) {\r\n if (f.field_name === 'priority') {\r\n\r\n return <Grid key={f.field_name} container style={{ display: 'flex', alignItems: 'center', marginBottom: '10px' }}>\r\n <Grid item xs={12} sm={5}>\r\n <Box style={{ width: '150px' }}>\r\n <Typography style={{ paddingRight: '30px', color: 'grey' }}>{f.label}</Typography>\r\n </Box>\r\n </Grid>\r\n <Grid item xs={12} sm={7}>\r\n <NativeSelect\r\n value={_data !== undefined ? _data[f.field_name] : ''}\r\n onChange={(e) => handleDropDownChange(e, f.field_name)}\r\n id={f.field_name}\r\n input={<BootstrapInput />}\r\n style={{ width: '100%' }}\r\n >\r\n <option aria-label=\"None\" value=\"\" >Select</option>\r\n {f.options.map((d, i) => {\r\n return (<option name={d.name} value={d.id} key={d.id}>{d.name}</option>);\r\n })}\r\n </NativeSelect>\r\n </Grid>\r\n </Grid>;\r\n } else {\r\n return <Grid key={f.field_name} container style={{ display: 'flex', alignItems: 'center', marginBottom: '10px' }}>\r\n <Grid item xs={12} sm={5}>\r\n <Box style={{ width: '150px' }}>\r\n <Typography style={{ paddingRight: '30px', color: 'grey' }}>{f.label}</Typography>\r\n </Box>\r\n </Grid>\r\n <Grid item xs={12} sm={7}>\r\n <Autocomplete\r\n id=\"combo-box-demo\"\r\n options={f.options}\r\n getOptionLabel={(option) => {\r\n if (typeof option === 'string') {\r\n return option;\r\n }\r\n return option[f.option_label_field];\r\n }}\r\n style={{ width: '100%' }}\r\n size='small'\r\n value={_data !== undefined ? _data[f.field_name] ? _data[f.field_name] : \" \" : \" \"}\r\n filterOptions={(options, params) => {\r\n console.log(\"Autocomplete\", f.can_create);\r\n if (f.can_create) {\r\n var newFilter = ['+ Add New']\r\n var filtered = filter(options, params);\r\n return [...newFilter, ...filtered];\r\n } else {\r\n var _filtered = filter(options, params);\r\n return _filtered;\r\n }\r\n }}\r\n onChange={(event, newValue) => {\r\n if (typeof newValue === 'string') {\r\n console.log('f.field_name', f.field_name, \" f.can_create\", f.can_create);\r\n var d = {\r\n \"canCreate\": f.can_create,\r\n \"fields\": f.fields,\r\n \"name\": f.name,\r\n \"fieldName\": f.field_name\r\n }\r\n handleCanCreateNew(d);\r\n } else {\r\n if (newValue != null && newValue.inputValue !== '' && newValue.product_desc !== \"\") {\r\n onChangeValue(f.field_name, newValue[f.option_label_field]);\r\n }\r\n }\r\n }}\r\n renderInput={(params) => <TextField {...params} variant=\"outlined\" />}\r\n\r\n />\r\n\r\n </Grid>\r\n </Grid>;\r\n }\r\n }\r\n }\r\n else if (f.type === 'photo_list') {\r\n console.log('photo_list:', _data);\r\n return <div>\r\n <Grid\r\n key={f.field_name} container\r\n style={{ display: 'flex', alignItems: 'center', marginBottom: '10px' }}>\r\n <Grid item xs={12} sm={5}>\r\n <Box style={{ width: '150px' }}>\r\n <Typography style={{ paddingRight: '30px', color: 'grey' }}>{f.label}</Typography>\r\n </Box>\r\n </Grid>\r\n <Grid item xs={12} sm={7}>\r\n <div style={{ display: 'flex', alignItems: 'center', marginBottom: '10px' }}>\r\n <form>\r\n <div className=\"form-group\">\r\n <input type=\"file\" name=\"imgCollection\"\r\n onChange={(e) => onFileChange(e, f.field_name)}\r\n multiple />\r\n </div>\r\n </form>\r\n </div>\r\n </Grid>\r\n </Grid>\r\n {_data[f.field_name] !== undefined && _data[f.field_name].length !== 0 ?\r\n <Grid\r\n key={f.field_name} container\r\n style={{ display: 'flex', alignItems: 'center', marginBottom: '10px' }}>\r\n <Grid item xs={12}>\r\n <div style={{ display: 'block', alignItems: 'center', marginBottom: '10px' }}>\r\n <GridList className={classes.gridList}>\r\n {_data[f.field_name] === undefined ? <span /> : _data[f.field_name].map((tile) => (\r\n <GridListTile key={tile} style={{ width: '100px', height: '100px' }}>\r\n <img src={tile} alt={tile} onClick={(e) => {\r\n // setSelectedPhoto(tile);\r\n setOpen(true);\r\n }\r\n } />\r\n </GridListTile>\r\n ))}\r\n </GridList>\r\n </div>\r\n </Grid>\r\n <Dialog maxWidth=\"lg\" aria-labelledby=\"customized-dialog-title\" open={open}>\r\n <DialogTitle id=\"customized-dialog-title\" onClose={(e) => setOpen(false)} >\r\n Photos\r\n </DialogTitle>\r\n <DialogContent dividers>\r\n <Grid item xs={12}>\r\n <Grid>\r\n <img src={selectedPhoto} className=\"show-img\" alt=\"logo\" />\r\n </Grid>\r\n <br />\r\n <Grid container spacing={3}>\r\n {_data[f.field_name].length > 0 ? _data[f.field_name].map((value) => (\r\n <Grid key={value} item>\r\n <Box className=\"square\" > <img src={value} className=\"thumnail-img\" alt=\"logo\" onClick={(e) => setSelectedPhoto(value)} /></Box>\r\n </Grid>\r\n )) : <span />}\r\n </Grid>\r\n </Grid>\r\n </DialogContent>\r\n </Dialog>\r\n </Grid>\r\n : <Grid />}\r\n </div>;\r\n }\r\n else if (f.type === 'list') {\r\n console.log('list', _data[f.field_name]);\r\n return <div>\r\n <Grid\r\n key={f.field_name} container\r\n style={{ display: 'flex', alignItems: 'center', marginBottom: '10px' }}>\r\n <Grid item xs={12} sm={5}>\r\n <Box style={{ width: '150px' }}>\r\n <Typography style={{ paddingRight: '30px', color: 'grey' }}>{f.label}</Typography>\r\n </Box>\r\n </Grid>\r\n <Grid item xs={12} sm={7}>\r\n <div style={{ display: 'block', alignItems: 'center', marginBottom: '10px' }}>\r\n <Box>\r\n <Button onClick={handleSelectItemDialog}><AddIcon /></Button>\r\n </Box>\r\n </div>\r\n </Grid>\r\n </Grid>\r\n <Grid\r\n key={f.field_name} container\r\n style={{ display: 'block', alignItems: 'center', marginBottom: '10px' }}>\r\n\r\n <div style={{ display: 'block', alignItems: 'center', marginBottom: '10px' }}>\r\n <TableContainer>\r\n <Table className={classes.table} size=\"small\" aria-label=\"a dense table\">\r\n <TableHead>\r\n <TableRow>\r\n {partHeaders.map((h, i) => {\r\n return (<TableCell key={h.id} align='left'>{h.label}</TableCell>);\r\n })}\r\n </TableRow>\r\n </TableHead>\r\n <TableBody>\r\n {_data[f.field_name].length > 0 ? _data[f.field_name].map((row) => (\r\n <TableRow key={row.name}>\r\n {partHeaders.map((h, i) => {\r\n return (<TableCell key={h.id} align={h.numeric ? 'right' : 'left'}>{row[h.id]}</TableCell>);\r\n })}\r\n </TableRow>\r\n )) : <span />\r\n }\r\n </TableBody>\r\n </Table>\r\n </TableContainer>\r\n </div>\r\n\r\n </Grid>\r\n </div>;\r\n }\r\n else if (f.type === 'time') {\r\n return <Grid key={f.field_name} container style={{ display: 'flex', alignItems: 'center', marginBottom: '10px' }}>\r\n <Grid item xs={12} sm={5}>\r\n <Box style={{ width: '150px' }}>\r\n <Typography style={{ paddingRight: '30px', color: 'grey' }}>{f.label}</Typography>\r\n </Box>\r\n </Grid>\r\n <Grid item xs={12} sm={7}> <TextField\r\n id=\"time\"\r\n variant=\"outlined\"\r\n size=\"small\"\r\n type=\"time\"\r\n className={classes.textField}\r\n InputLabelProps={{\r\n shrink: true,\r\n }}\r\n inputProps={{\r\n step: 300, // 5 min\r\n }}\r\n // onChange={(e) => handleTime(e, f.field_name)}\r\n />\r\n </Grid>\r\n </Grid>;\r\n }\r\n })}\r\n\r\n </Grid>\r\n\r\n {/* display actions buttons */}\r\n {actions.length > 0 ?\r\n <Grid item xs={12}>\r\n {actions.map((a) => {\r\n if (a.status === _data.status) {\r\n return <MButton action={a} onCallback={(event) => a.callback(event, _data)} />;\r\n }\r\n })}\r\n\r\n </Grid> : <Grid />}\r\n </Grid>\r\n </div>\r\n\r\n );\r\n}\r\n\r\nMkForm.propTypes = {\r\n history: PropTypes.object,\r\n fields: PropTypes.array.isRequired,\r\n data: PropTypes.object,\r\n isNew: PropTypes.bool,\r\n actions: PropTypes.array,\r\n onDropdownCreateNew: PropTypes.func\r\n};\r\n\r\nexport default (MkForm);\r\n\r\n","import React, { useEffect } from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport Table from '@material-ui/core/Table';\r\nimport TableBody from '@material-ui/core/TableBody';\r\nimport TableCell from '@material-ui/core/TableCell';\r\nimport TableContainer from '@material-ui/core/TableContainer';\r\nimport TableHead from '@material-ui/core/TableHead';\r\nimport TablePagination from '@material-ui/core/TablePagination';\r\nimport TableRow from '@material-ui/core/TableRow';\r\nimport TableSortLabel from '@material-ui/core/TableSortLabel';\r\nimport Typography from '@material-ui/core/Typography';\r\nimport EditIcon from '@material-ui/icons/Edit';\r\nimport ExpandMore from '@material-ui/icons/ExpandMore';\r\nimport { Box, Button, Dialog, DialogActions, DialogTitle, Grid, IconButton, Menu, MenuItem } from '@material-ui/core';\r\nimport CircularProgress from '@material-ui/core/CircularProgress';\r\nimport { withStyles, makeStyles } from '@material-ui/core/styles';\r\n\r\nfunction descendingComparator(a, b, _orderBy) {\r\n if (b[_orderBy] < a[_orderBy]) {\r\n return -1;\r\n }\r\n if (b[_orderBy] > a[_orderBy]) {\r\n return 1;\r\n }\r\n return 0;\r\n}\r\n\r\nfunction getComparator(_order, _orderBy) {\r\n return _order === 'desc'\r\n ? (a, b) => descendingComparator(a, b, _orderBy)\r\n : (a, b) => -descendingComparator(a, b, _orderBy);\r\n}\r\n\r\nfunction stableSort(array, comparator) {\r\n const stabilizedThis = array.map((el, index) => [el, index]);\r\n stabilizedThis.sort((a, b) => {\r\n const _order = comparator(a[0], b[0]);\r\n if (_order !== 0) return _order;\r\n return a[1] - b[1];\r\n });\r\n return stabilizedThis.map((el) => el[0]);\r\n}\r\n\r\nconst StyledTableCell = withStyles((theme) => ({\r\n head: {\r\n backgroundColor: '#0d47a1a8',\r\n color: theme.palette.common.white,\r\n },\r\n body: {\r\n fontSize: 14,\r\n },\r\n}))(TableCell);\r\n\r\n\r\nfunction EnhancedTableHead(props) {\r\n const { classes, _order, _orderBy, onRequestSort, headCells } = props;\r\n const createSortHandler = (property) => (event) => {\r\n onRequestSort(event, property);\r\n // onGetData();\r\n };\r\n\r\n return (\r\n <TableHead>\r\n <TableRow>\r\n {headCells.map((headCell) => (\r\n <StyledTableCell\r\n key={headCell.id}\r\n align={headCell.numeric ? 'right' : 'left'}\r\n padding={headCell.disablePadding ? 'none' : 'default'}\r\n sortDirection={_orderBy === headCell.id ? _order : false}\r\n style={{ width: headCell.id === 'sr' ? '15px' : headCell.width ? headCell.width : '' }}\r\n >\r\n {headCell.id !== 'sr' ?\r\n <TableSortLabel\r\n active={_orderBy === headCell.id}\r\n direction={_orderBy === headCell.id ? _order : 'asc'}\r\n onClick={createSortHandler(headCell.id)}\r\n style={{ whiteSpace: \"nowrap\" }}\r\n >\r\n {headCell.label}\r\n {_orderBy === headCell.id ? (\r\n <span className={classes.visuallyHidden}>\r\n {_order === 'desc' ? 'sorted descending' : 'sorted ascending'}\r\n </span>\r\n ) : null}\r\n </TableSortLabel>\r\n : <TableSortLabel\r\n hideSortIcon=\"true\"\r\n align=\"right\"\r\n >\r\n {headCell.label}\r\n\r\n </TableSortLabel>\r\n }\r\n\r\n </StyledTableCell>\r\n ))}\r\n <StyledTableCell style={{ width: '100px' }} />\r\n\r\n </TableRow>\r\n </TableHead>\r\n );\r\n}\r\n\r\nEnhancedTableHead.propTypes = {\r\n classes: PropTypes.object.isRequired,\r\n onRequestSort: PropTypes.func.isRequired,\r\n onSelectAllClick: PropTypes.func.isRequired,\r\n _order: PropTypes.oneOf(['asc', 'desc']).isRequired,\r\n _orderBy: PropTypes.string.isRequired,\r\n rowCount: PropTypes.number.isRequired,\r\n};\r\n\r\nconst useStyles = makeStyles((theme) => ({\r\n root: {\r\n width: '100%',\r\n },\r\n paper: {\r\n width: '100%',\r\n marginBottom: theme.spacing(2),\r\n },\r\n table: {\r\n // minWidth: 750,\r\n tableLayout: 'fixed'\r\n },\r\n visuallyHidden: {\r\n b_order: 0,\r\n clip: 'rect(0 0 0 0)',\r\n height: 1,\r\n margin: -1,\r\n overflow: 'hidden',\r\n padding: 0,\r\n position: 'absolute',\r\n top: 20,\r\n width: 1,\r\n },\r\n underline: {\r\n \"&&&:before\": {\r\n b_orderBottom: \"none\"\r\n },\r\n \"&&:after\": {\r\n b_orderBottom: \"none\"\r\n }\r\n },\r\n bomLink: {\r\n cursor: \"pointer\",\r\n color: theme.primary,\r\n textDecoration: \"underline\",\r\n }\r\n}));\r\n\r\nconst StyledTableRow = withStyles((theme) => ({\r\n root: {\r\n '&:nth-of-type(even)': {\r\n backgroundColor: '#0d47a11c',\r\n },\r\n },\r\n}))(TableRow);\r\n\r\nfunction getUpdatedDate(p) {\r\n var statusDate = p.updated_date;\r\n var day = '';\r\n if (statusDate !== undefined) {\r\n var convertDate = new Date(statusDate.toDate());\r\n var dd = String(convertDate.getDate()).padStart(2, '0');\r\n var mm = String(convertDate.getMonth() + 1).padStart(2, '0');\r\n var yyyy = convertDate.getFullYear();\r\n\r\n day = mm + '/' + dd + '/' + yyyy;\r\n }\r\n\r\n return day.toString();\r\n}\r\n\r\nexport const formatDateToLocal = (date, withTime = true) => {\r\n if (!date) return \"\";\r\n var d = new Date(date);\r\n var ampm = d.getHours() >= 12 ? 'PM' : 'AM';\r\n var hours = d.getHours() > 12 ? d.getHours() - 12 : d.getHours();\r\n if (withTime) {\r\n return (\"0\" + (d.getMonth() + 1)).slice(-2) + \"/\" + (\"0\"\r\n + d.getDate()).slice(-2) + \"/\" + d.getFullYear()\r\n + \" \" + (\"0\" + (hours)).slice(-2)\r\n + \":\" + (\"0\" + (d.getMinutes())).slice(-2)\r\n + \":\" + (\"0\" + (d.getSeconds())).slice(-2)\r\n + \" \" + ampm;\r\n } else {\r\n return (\"0\" + (d.getMonth() + 1)).slice(-2) + \"/\" + (\"0\"\r\n + d.getDate()).slice(-2) + \"/\" + d.getFullYear();\r\n }\r\n}\r\n\r\nfunction RowMenu(props) {\r\n const { row, actions, onSelectedAction, onRowEdit } = props;\r\n const [anchorEl, setAnchorEl] = React.useState(null);\r\n\r\n const handleMenuClick = (event) => {\r\n event.stopPropagation();\r\n setAnchorEl(event.currentTarget);\r\n };\r\n\r\n const handleSelectMenu = (e, row, action) => {\r\n e.stopPropagation();\r\n onSelectedAction(row, action.action_name);\r\n setAnchorEl(null);\r\n }\r\n\r\n const handleClose = (e) => {\r\n setAnchorEl(null);\r\n e.stopPropagation();\r\n };\r\n\r\n const handleEdit = (e) => {\r\n onRowEdit(row);\r\n e.stopPropagation();\r\n }\r\n\r\n return (\r\n <div>\r\n <Menu\r\n id={`actions-${row.id}`}\r\n anchorEl={anchorEl}\r\n keepMounted\r\n open={Boolean(anchorEl)}\r\n onClose={handleClose}\r\n >\r\n {actions.map((action) => {\r\n return <MenuItem key={action.display_name}\r\n onClick={(e) => handleSelectMenu(e, row, action)}\r\n >\r\n {action.display_name}\r\n </MenuItem>\r\n }\r\n )}\r\n </Menu>\r\n <Grid\r\n container\r\n direction=\"row\"\r\n justify=\"flex-end\"\r\n alignItems=\"center\"\r\n style={{ display: 'flex' }}>\r\n <IconButton\r\n id={`edit-${row.id}`}\r\n aria-label=\"more\"\r\n aria-controls=\"long-menu\"\r\n aria-haspopup=\"true\"\r\n onClick={handleEdit}\r\n size=\"small\"\r\n >\r\n <EditIcon />\r\n </IconButton>\r\n <Box style={{ width: '10px' }} />\r\n <IconButton\r\n id={`dropdown-${row.id}`}\r\n aria-label=\"more\"\r\n aria-controls=\"long-menu\"\r\n aria-haspopup=\"true\"\r\n size=\"small\"\r\n onClick={handleMenuClick}\r\n >\r\n <ExpandMore />\r\n </IconButton>\r\n </Grid>\r\n\r\n </div>\r\n );\r\n}\r\n\r\nRowMenu.propTypes = {\r\n row: PropTypes.object.isRequired,\r\n actions: PropTypes.array.isRequired,\r\n onSelectedAction: PropTypes.func.isRequired,\r\n onRowEdit: PropTypes.func\r\n}\r\n\r\nfunction ConfirmDialog(props) {\r\n const { type, itemName, openDialog, onCancel, onContinue } = props;\r\n const [open, setOpen] = React.useState(openDialog);\r\n\r\n const handleClose = () => {\r\n setOpen(false);\r\n onCancel(false);\r\n };\r\n\r\n const handleContinue = () => {\r\n onContinue(true);\r\n }\r\n\r\n return (\r\n <div>\r\n <Dialog\r\n open={open}\r\n onClose={handleClose}\r\n aria-labelledby=\"alert-dialog-title\"\r\n aria-describedby=\"alert-dialog-description\"\r\n >\r\n <DialogTitle id=\"alert-dialog-title\">{\"Delete this \" + type + ' \"' + itemName + '\"?'}</DialogTitle>\r\n\r\n <DialogActions>\r\n <Button onClick={handleClose} color=\"primary\">\r\n Cancel\r\n </Button>\r\n <Button onClick={handleContinue} color=\"primary\" autoFocus>\r\n Delete\r\n </Button>\r\n </DialogActions>\r\n </Dialog>\r\n </div>\r\n );\r\n}\r\n\r\nConfirmDialog.propTypes = {\r\n history: PropTypes.object,\r\n type: PropTypes.string,\r\n itemName: PropTypes.string,\r\n openDialog: PropTypes.bool,\r\n onCancel: PropTypes.func,\r\n onContinue: PropTypes.func\r\n};\r\n\r\nfunction MkTable(props) {\r\n const classes = useStyles();\r\n const { dispatch,\r\n data = [],\r\n headers = [],\r\n actions,\r\n onActions, title,\r\n page,\r\n rowsPerPage,\r\n noMoreToLoad = false,\r\n order,\r\n orderBy,\r\n isLoading = false,\r\n onChangePaginatePage,\r\n onGetData,\r\n onUpdateDataRow,\r\n onChangeRowPerPage,\r\n dense = true\r\n } = props;\r\n\r\n const [_rowsPerPage, setRowsPerPage] = React.useState(rowsPerPage);\r\n const [_page, setPage] = React.useState(page);\r\n const [_noMoreToLoad, setNoMoreToLoad] = React.useState(noMoreToLoad);\r\n const [_order, setOrder] = React.useState(order);\r\n const [_orderBy, setOrderBy] = React.useState(orderBy);\r\n const [_isLoading, setIsLoading] = React.useState(isLoading);\r\n const [_isConfirm, setIsConfirm] = React.useState(false);\r\n const [itemName, setItemName] = React.useState('');\r\n const [row, setRow] = React.useState({});\r\n const [action, setAction] = React.useState('');\r\n const [_dense, setDense] = React.useState(dense);\r\n\r\n const handleSelectMenu = (row, action) => {\r\n if (action === 'delete') {\r\n setItemName(row.name === undefined ? row.product_desc : row.name);\r\n setIsConfirm(true);\r\n setRow(row);\r\n setAction(action);\r\n } else {\r\n onActions(row, action);\r\n }\r\n }\r\n\r\n const handleDelete = (v) => {\r\n setIsConfirm(false);\r\n onActions(row, action);\r\n }\r\n\r\n const handleCancel = (v) => {\r\n setIsConfirm(false);\r\n }\r\n\r\n const handleRowEdit = (row) => {\r\n onUpdateDataRow(row);\r\n }\r\n\r\n var offset = _page * _rowsPerPage;\r\n\r\n useEffect(() => {\r\n setNoMoreToLoad(noMoreToLoad);\r\n setPage(page);\r\n setOrder(order);\r\n setOrderBy(orderBy);\r\n setIsLoading(isLoading);\r\n setRowsPerPage(rowsPerPage);\r\n setDense(dense);\r\n }, []);\r\n\r\n const handleRequestSort = (event, property) => {\r\n const isAsc = _orderBy === property && _order === 'asc';\r\n setOrder(isAsc ? 'desc' : 'asc');\r\n setOrderBy(property);\r\n };\r\n\r\n const handleChangePage = (event, newPage) => {\r\n if (!_noMoreToLoad && (newPage + 1) * _rowsPerPage >= data.length) {\r\n onGetData();\r\n }\r\n setPage(newPage);\r\n onChangePaginatePage(newPage);\r\n };\r\n\r\n const handleChangeRowsPerPage = (event) => {\r\n setRowsPerPage(parseInt(event.target.value));\r\n onChangeRowPerPage(parseInt(event.target.value));\r\n };\r\n\r\n const getStatus = (data, header) => {\r\n var v = data[header.id];\r\n var _color = 'red';\r\n if (v === 'Pending') {\r\n _color = 'red';\r\n } else if (v === 'Started') {\r\n _color = 'orange';\r\n } else {\r\n _color = 'green';\r\n }\r\n return (<TableCell key={header.id} align={header.numeric ? 'right' : 'left'} ><Typography style={{ color: _color, fontWeight: '500' }}>{data[header.id]}</Typography></TableCell>);\r\n };\r\n\r\n return (\r\n\r\n <div className={classes.root}>\r\n <Grid container>\r\n <Grid item>\r\n <TableContainer>\r\n <Table\r\n className={classes.table}\r\n aria-labelledby=\"tableTitle\"\r\n size={_dense ? 'small' : 'medium'}\r\n aria-label=\"enhanced table\"\r\n >\r\n <EnhancedTableHead\r\n classes={classes}\r\n headCells={headers}\r\n _order={_order}\r\n _orderBy={_orderBy}\r\n onRequestSort={handleRequestSort}\r\n rowCount={data.length !== undefined ? data.length : 0}\r\n dispatch={dispatch}\r\n />\r\n\r\n <TableBody>\r\n {_isLoading ? <StyledTableRow >\r\n <TableCell colSpan={headers.length} align=\"center\"> <CircularProgress /></TableCell>\r\n </StyledTableRow> :\r\n (data.length !== 0 ? stableSort(data, getComparator(_order, _orderBy))\r\n .slice(_page * _rowsPerPage, _page * _rowsPerPage + _rowsPerPage)\r\n .map((row, index) => {\r\n return (\r\n <StyledTableRow\r\n hover\r\n role=\"checkbox\"\r\n tabIndex={-1}\r\n key={row.id}\r\n id={row.id}\r\n >\r\n\r\n {headers.map((h, i) => {\r\n if (h.id === 'sr') {\r\n return (<TableCell key={h.id} align=\"right\" style={{ width: '15px' }}>{++offset}</TableCell>);\r\n }\r\n if (h.id === 'status') {\r\n getStatus(row, h);\r\n return (<TableCell key={h.id} align={h.numeric ? 'right' : 'left'}>{row[h.id]}</TableCell>);\r\n }\r\n if (h.id === 'updated_date') {\r\n return (<TableCell key={h.id} align={h.numeric ? 'right' : 'left'} style={{ width: h.width ? h.width : null }}>{getUpdatedDate(row)}</TableCell>);\r\n } else {\r\n return (<TableCell key={h.id} align={h.numeric ? 'right' : 'left'} style={{ width: h.width ? h.width : null }}\r\n >{row[h.id]}</TableCell>);\r\n }\r\n })}\r\n {actions ?\r\n <TableCell style={{ width: '150px' }} align='right'>\r\n <RowMenu\r\n actions={actions}\r\n row={row}\r\n onRowEdit={(data) => handleRowEdit(data)}\r\n onSelectedAction={(data, actionName) => handleSelectMenu(data, actionName)}\r\n />\r\n </TableCell>\r\n : <TableCell style={{ width: '150px' }} align='right'>\r\n <IconButton onClick={(event) => handleRowEdit(row)} size={dense ? \"small\" : \"medium\"}><EditIcon /></IconButton>\r\n </TableCell>}\r\n </StyledTableRow>\r\n\r\n );\r\n }) : <StyledTableRow style={{ width: '100%' }} />)}\r\n </TableBody>\r\n </Table>\r\n </TableContainer>\r\n\r\n <TablePagination\r\n rowsPerPageOptions={[10, 30, 50]}\r\n labelDisplayedRows={({ from, to, count }) => { console.log(from, to, count) }}\r\n component=\"div\"\r\n count={data.length}\r\n rowsPerPage={_rowsPerPage}\r\n page={_page}\r\n onChangePage={handleChangePage}\r\n onChangeRowsPerPage={handleChangeRowsPerPage}\r\n />\r\n </Grid></Grid>\r\n {_isConfirm ? <ConfirmDialog\r\n type={title}\r\n itemName={itemName}\r\n openDialog={_isConfirm}\r\n onCancel={(v) => handleCancel(v)}\r\n onContinue={(v) => handleDelete(v)} /> : <div />}\r\n </div>\r\n );\r\n}\r\n\r\nMkTable.propTypes = {\r\n history: PropTypes.object,\r\n headers: PropTypes.array.isRequired,\r\n data: PropTypes.array.isRequired,\r\n query: PropTypes.object,\r\n onProductBOMClick: PropTypes.func,\r\n onActions: PropTypes.func,\r\n actions: PropTypes.array,\r\n title: PropTypes.string,\r\n order: PropTypes.any,\r\n orderBy: PropTypes.any,\r\n rowsPerPage: PropTypes.any,\r\n noMoreToLoad: PropTypes.any,\r\n isLoading: PropTypes.any,\r\n onChangePaginatePage: PropTypes.any,\r\n onGetData: PropTypes.any,\r\n onChangeRowPerPage: PropTypes.any,\r\n dense: PropTypes.any\r\n};\r\n\r\nexport default (MkTable);\r\n","import React from 'react';\r\nimport PropTypes from 'prop-types';\r\nimport { makeStyles } from '@material-ui/core/styles';\r\nimport { Grid, Box, Typography, Button } from '@material-ui/core';\r\n\r\nconst useStyles = makeStyles((theme) => ({\r\n root: {\r\n width: '100%',\r\n },\r\n paper: {\r\n width: '100%',\r\n marginBottom: theme.spacing(2),\r\n },\r\n table: {\r\n minWidth: 750,\r\n },\r\n visuallyHidden: {\r\n border: 0,\r\n clip: 'rect(0 0 0 0)',\r\n height: 1,\r\n margin: -1,\r\n overflow: 'hidden',\r\n padding: 0,\r\n position: 'absolute',\r\n top: 20,\r\n width: 1,\r\n },\r\n underline: {\r\n \"&&&:before\": {\r\n borderBottom: \"none\"\r\n },\r\n \"&&:after\": {\r\n borderBottom: \"none\"\r\n }\r\n }, button: {\r\n color: 'white',\r\n width: 150,\r\n height: 55\r\n },\r\n closeButton: {\r\n position: 'absolute',\r\n right: theme.spacing(1),\r\n top: theme.spacing(1),\r\n color: theme.palette.grey[500],\r\n },\r\n headText: {\r\n fontSize: 14,\r\n float: \"left\",\r\n color: theme.palette.primary.main,\r\n fontWeight: \"bold\"\r\n },\r\n}));\r\n\r\nfunction getDataString(data, fieldName) {\r\n return data[fieldName];\r\n}\r\n\r\n\r\nfunction MkInfo(props) {\r\n const classes = useStyles();\r\n const {\r\n infoData,\r\n displayFields,\r\n isNew = false,\r\n isEditable,\r\n currentTabName,\r\n actions } = props;\r\n\r\n const [editable, setEditable] = React.useState(isEditable !== undefined ? isEditable : true);\r\n // const [data, setData] = React.useState({});\r\n\r\n const handleEdit = () => {\r\n setEditable(false)\r\n }\r\n\r\n // const handleUpdateData = (data) => {\r\n // console.log('handle update date:', data);\r\n // setData(data);\r\n // }\r\n\r\n\r\n return (\r\n <div className={classes.root}>\r\n {isNew ?\r\n <Grid container style={{ marginTop: '30px' }}>\r\n <Grid item xs={12} sm={7}>\r\n {/* <MkForm\r\n updateData={infoData}\r\n fields={displayFields}\r\n isNew={isNew}\r\n onDataCallback={(d) => handleUpdateData(d)}\r\n ></MkForm> */}\r\n </Grid>\r\n </Grid> : <Grid container style={{ marginTop: '30px' }}>\r\n <Grid item xs={12} sm={7}>\r\n {!editable ?\r\n // <MkForm\r\n // fields={displayFields}\r\n // isNew={isNew}\r\n // updateData={infoData}\r\n // onDataCallback={(d) => handleUpdateData(d)}\r\n // ></MkForm>\r\n <div/>\r\n :\r\n displayFields.map((d, i) => {\r\n return (<Grid container key={i}>\r\n <Grid item xs={12} style={{ display: 'flex', alignItems: 'center', marginBottom: '10px' }}>\r\n <Grid item xs={12} sm={5}>\r\n <Box style={{ width: '250px' }}>\r\n <Typography style={{ paddingRight: '30px', color: 'grey' }}>{d.label}</Typography>\r\n </Box>\r\n </Grid>\r\n <Grid item xs={12} sm={7}>\r\n {d.type === 'photo' ? \r\n <img/>\r\n // <img src={infoData['photo_url']} style={{ width: '120px', height: '120px', border: '1px solid grey' }}></img>\r\n :\r\n <Typography style={{ paddingRight: '30px' }}>{infoData !== undefined ? getDataString(infoData, d.fieldName) : ''}</Typography>}\r\n </Grid>\r\n </Grid>\r\n </Grid>);\r\n })}\r\n </Grid>\r\n <Grid item xs={12} sm={7}>\r\n <Grid\r\n container\r\n direction=\"row\"\r\n alignItems=\"flex-end\">\r\n\r\n {actions.map((a, i) => {\r\n\r\n if (currentTabName === 'account') {\r\n if (infoData.status === 'invited') {\r\n return <Box>\r\n <Button style={{ color: 'white', backgroundColor: 'grey', float: 'right', marginLeft: '10px' }}\r\n // onClick={() => a.callback(data)}\r\n >{a.label}</Button>\r\n </Box>;\r\n }\r\n if (infoData.status === 'joined') {\r\n return <Box>\r\n <Button style={{ color: 'white', backgroundColor: 'grey', float: 'right', marginLeft: '10px' }}\r\n // onClick={() => a.callback(data)}\r\n >{a.label}</Button>\r\n </Box>;\r\n }\r\n if (infoData.status === 'disabled') {\r\n return <Box>\r\n <Button style={{ color: 'white', backgroundColor: 'grey', float: 'right', marginLeft: '10px' }}\r\n // onClick={() => a.callback(data)}\r\n >{a.label}</Button>\r\n </Box>;\r\n }\r\n if (infoData.status === 'requested') {\r\n if (editable) {\r\n return <Box>\r\n <Button style={{ marginLeft: '10px' }}\r\n onClick={handleEdit}\r\n >{a.icon}{a.label}</Button>\r\n </Box>;\r\n } else {\r\n return <Box>\r\n <Button style={{ color: 'white', backgroundColor: 'grey', float: 'right', marginLeft: '10px' }}\r\n // onClick={() => a.callback(data)}\r\n >{a.label}</Button>\r\n </Box>;\r\n }\r\n\r\n }\r\n } else {\r\n if (editable) {\r\n if (a.action_type === 'edit') {\r\n console.log('type: ', a.action_type, 'editable: ', editable);\r\n\r\n return <Box>\r\n <Button style={{ marginLeft: '10px' }}\r\n onClick={handleEdit}\r\n >{a.icon}{a.label}</Button>\r\n </Box>\r\n }\r\n if (a.action_type === 'delete') {\r\n return <Box>\r\n <Button style={{ float: 'right', marginLeft: '10px' }}\r\n // onClick={() => a.callback(data)}\r\n >{a.icon}{a.label}</Button>\r\n </Box>\r\n }\r\n } else {\r\n if (a.action_type === 'save') {\r\n return <Box>\r\n <Button style={{ marginLeft: '10px' }}\r\n // onClick={() => a.callback(data)}\r\n >{a.icon}{a.label}</Button>\r\n </Box>\r\n }\r\n if (a.action_type === 'cancel') {\r\n return <Box>\r\n <Button style={{ float: 'right', marginLeft: '10px' }}\r\n // onClick={() => a.callback(data)}\r\n >{a.icon}{a.label}</Button>\r\n </Box>\r\n }\r\n }\r\n\r\n }\r\n })}\r\n </Grid>\r\n </Grid>\r\n\r\n </Grid>}\r\n </div >\r\n );\r\n}\r\n\r\nMkInfo.propTypes = {\r\n history: PropTypes.object,\r\n infoData: PropTypes.object,\r\n displayFields: PropTypes.array,\r\n isNew: PropTypes.bool,\r\n isEditable: PropTypes.bool,\r\n actions: PropTypes.any\r\n};\r\n\r\nexport default (MkInfo);\r\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","marginBottom","table","minWidth","visuallyHidden","clip","height","margin","overflow","top","underline","borderBottom","MButton","props","classes","action","onCallback","handleAction","e","preventDefault","float","icon","label","propTypes","history","PropTypes","object","isRequired","func","MkForm","fields","data","onDropdownCreateNew","actions","partHeaders","_data","setDataField","React","useState","undefined","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","paddingRight","color","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","StyledTableCell","head","palette","common","white","body","TableCell","EnhancedTableHead","onRequestSort","headCells","createSortHandler","property","TableHead","TableRow","headCell","disablePadding","whiteSpace","onSelectAllClick","oneOf","string","rowCount","number","tableLayout","b_order","b_orderBottom","bomLink","cursor","primary","textDecoration","StyledTableRow","getUpdatedDate","p","statusDate","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","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","any","button","closeButton","right","grey","headText","main","fontWeight","getDataString","MkInfo","infoData","displayFields","isEditable","currentTabName","editable","setEditable","marginLeft","action_type"],"mappings":";;;;;;;;;;;;;;;;;;AAGA,SAASA,IAAT,CAAc;AAAEC,EAAAA,SAAF;AAAaC,EAAAA,OAAO,GAAG;AAAvB,CAAd,EAA2C;AACvC,sBACE,8CACE,wCADF,eAEE,wDACS,gCAAKD,SAAL,CADT,CAFF,eAKE,6CACE,yCADF,EAEGC,OAAO,CAACC,GAAR,CAAaC,MAAD,iBACX;AAAI,IAAA,GAAG,EAAEA;AAAT,KAAkBA,MAAlB,CADD,CAFH,CALF,CADF;AAcD;;;;;;AClBH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,AACa,IAAI,CAAC,CAAC,UAAU,GAAG,OAAO,MAAM,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,kBAAkB,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,uBAAuB,CAAC,CAAC,KAAK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