0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 52.15.190.187


Current Path : /var/www/qptran/static/js/
Upload File :
Current File : /var/www/qptran/static/js/14.938a7c7f.chunk.js.map

{"version":3,"sources":["app/api/loader/index.js","../node_modules/semantic-ui-react/dist/es/collections/Table/TableBody.js","../node_modules/semantic-ui-react/dist/es/collections/Table/TableCell.js","../node_modules/semantic-ui-react/dist/es/collections/Table/TableHeader.js","../node_modules/semantic-ui-react/dist/es/collections/Table/TableFooter.js","../node_modules/semantic-ui-react/dist/es/collections/Table/TableHeaderCell.js","../node_modules/semantic-ui-react/dist/es/collections/Table/TableRow.js","../node_modules/semantic-ui-react/dist/es/collections/Table/Table.js","app/qpmaster/index.js"],"names":["Loader","className","style","position","margin","top","right","bottom","left","width","height","radisu","color","ariaLabel","wrapperStyle","wrapperClass","visible","TableBody","props","children","classes","rest","getUnhandledProps","ElementType","getElementType","createElement","handledProps","defaultProps","as","propTypes","TableCell","active","collapsing","content","disabled","error","icon","negative","positive","selectable","singleLine","textAlign","verticalAlign","warning","isNil","Icon","create","TableHeader","fullWidth","TableFooter","TableHeaderCell","sorted","TableRow","cellAs","cells","cell","Table","attached","basic","celled","columns","compact","definition","fixed","footerRow","headerRow","headerRows","inverted","padded","renderBodyRow","size","sortable","stackable","striped","structured","tableData","unstackable","headerShorthandOptions","headerElement","data","index","Body","Cell","Footer","Header","HeaderCell","Row","QPMaster","useState","deggrp","setdeggrp","sem","setsem","degree","setdegree","deggrpOptions","setdeggrpOptions","degreeOptions","setdegreeOptions","semOptions","setsemOptions","qpmastertad","setqpmastertad","table","settable","loading","setLoading","useEffect","API","get","localStorage","getItem","res","options","map","el","i","key","value","fdeggrp","text","fdescpn","console","log","loaddeggrp","loaddegree","degoptions","fdegree","loadsem","semoptions","fexamno","fexamname","handleSubmit","Swal","fire","error_code","msg","display","onClick","type","to","class","Group","Field","placeholder","name","selection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AO0D,QAAM,GACX,kBAAC,IAAMyB,OAAP,KACE,kBAAC,IAAME,IAAP,KACE,kBAAC,IAAMD,WAAP,CACEnF,MAAO,CAAEO,MAAO,MAChB+B,YAAU,EACVC,UAAU,UAHZ,WAOA,kBAAC,IAAM4C,WAAP,CACEnF,MAAO,CAAEO,MAAO,MAChBgC,UAAU,UAFZ,WAMA,kBAAC,IAAM4C,WAAP,CACEnF,MAAO,CAAEO,MAAO,OAChBgC,UAAU,UAFZ,WAMA,kBAAC,IAAM4C,WAAP,CACEnF,MAAO,CAAEO,MAAO,MAChBgC,UAAU,UAFZ,YAMA,kBAAC,IAAM4C,WAAP,CACEnF,MAAO,CAAEO,MAAO,OAChBgC,UAAU,UAFZ,gBAMA,kBAAC,IAAM4C,WAAP,CACEnF,MAAO,CAAEO,MAAO,OAChBgC,UAAU,UAFZ,gBAMA,kBAAC,IAAM4C,WAAP,CACEnF,MAAO,CAAEO,MAAO,OAChBgC,UAAU,UAFZ,aAQJ,kBAAC,IAAMwC,KAAP,KACGoB,EAAYa,KAAI,SAACC,EAAIC,GACpB,OACE,kBAAC,IAAM9B,IAAP,CAAW+B,IAAKD,GACd,kBAAC,IAAMlC,KAAP,CAAYzC,UAAU,UACnB2E,EAAI,GAEP,kBAAC,IAAMlC,KAAP,CAAYzC,UAAU,UACnB0E,EAAGoC,SAEN,kBAAC,IAAMrE,KAAP,KAAaiC,EAAGqC,UAChB,kBAAC,IAAMtE,KAAP,CAAYzC,UAAU,UACnB0E,EAAGe,SAEN,kBAAC,IAAMhD,KAAP,CAAYzC,UAAU,UACnB0E,EAAGY,SAEN,kBAAC,IAAM7C,KAAP,CAAYzC,UAAU,UACnB0E,EAAGsC,MAEN,kBAAC,IAAMvE,KAAP,CAAYzC,UAAU,UACnB0E,EAAGuC,iBAQhB","file":"static/js/14.938a7c7f.chunk.js","sourcesContent":["import React from \"react\";\nimport { Puff } from \"react-loader-spinner\";\nimport \"react-loader-spinner/dist/loader/css/react-spinner-loader.css\";\n\nconst Loader = () => {\n  return (\n    <div className=\"page\">\n      <div\n        style={{\n          position: \"absolute\",\n          margin: \"auto\",\n          top: 0,\n          right: 0,\n          bottom: 0,\n          left: 0,\n          width: \"200px\",\n          height: \"200px\",\n        }}\n      >\n        <Puff\n          height=\"80\"\n          width=\"80\"\n          radisu={1}\n          color=\"rgb(0 123 255)\"\n          ariaLabel=\"puff-loading\"\n          wrapperStyle={{}}\n          wrapperClass=\"\"\n          visible={true}\n        />\n      </div>\n    </div>\n  );\n};\n\nexport default Loader;\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport cx from 'clsx';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport { getElementType, getUnhandledProps } from '../../lib';\n\nfunction TableBody(props) {\n  var children = props.children,\n      className = props.className;\n  var classes = cx(className);\n  var rest = getUnhandledProps(TableBody, props);\n  var ElementType = getElementType(TableBody, props);\n  return /*#__PURE__*/React.createElement(ElementType, _extends({}, rest, {\n    className: classes\n  }), children);\n}\n\nTableBody.handledProps = [\"as\", \"children\", \"className\"];\nTableBody.defaultProps = {\n  as: 'tbody'\n};\nTableBody.propTypes = process.env.NODE_ENV !== \"production\" ? {\n  /** An element type to render as (string or function). */\n  as: PropTypes.elementType,\n\n  /** Primary content. */\n  children: PropTypes.node,\n\n  /** Additional classes. */\n  className: PropTypes.string\n} : {};\nexport default TableBody;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _without from \"lodash-es/without\";\nimport cx from 'clsx';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport { childrenUtils, createShorthandFactory, customPropTypes, getElementType, getUnhandledProps, SUI, useKeyOnly, useTextAlignProp, useVerticalAlignProp, useWidthProp } from '../../lib';\nimport Icon from '../../elements/Icon';\n/**\n * A table row can have cells.\n */\n\nfunction TableCell(props) {\n  var active = props.active,\n      children = props.children,\n      className = props.className,\n      collapsing = props.collapsing,\n      content = props.content,\n      disabled = props.disabled,\n      error = props.error,\n      icon = props.icon,\n      negative = props.negative,\n      positive = props.positive,\n      selectable = props.selectable,\n      singleLine = props.singleLine,\n      textAlign = props.textAlign,\n      verticalAlign = props.verticalAlign,\n      warning = props.warning,\n      width = props.width;\n  var classes = cx(useKeyOnly(active, 'active'), useKeyOnly(collapsing, 'collapsing'), useKeyOnly(disabled, 'disabled'), useKeyOnly(error, 'error'), useKeyOnly(negative, 'negative'), useKeyOnly(positive, 'positive'), useKeyOnly(selectable, 'selectable'), useKeyOnly(singleLine, 'single line'), useKeyOnly(warning, 'warning'), useTextAlignProp(textAlign), useVerticalAlignProp(verticalAlign), useWidthProp(width, 'wide'), className);\n  var rest = getUnhandledProps(TableCell, props);\n  var ElementType = getElementType(TableCell, props);\n\n  if (!childrenUtils.isNil(children)) {\n    return /*#__PURE__*/React.createElement(ElementType, _extends({}, rest, {\n      className: classes\n    }), children);\n  }\n\n  return /*#__PURE__*/React.createElement(ElementType, _extends({}, rest, {\n    className: classes\n  }), Icon.create(icon), content);\n}\n\nTableCell.handledProps = [\"active\", \"as\", \"children\", \"className\", \"collapsing\", \"content\", \"disabled\", \"error\", \"icon\", \"negative\", \"positive\", \"selectable\", \"singleLine\", \"textAlign\", \"verticalAlign\", \"warning\", \"width\"];\nTableCell.defaultProps = {\n  as: 'td'\n};\nTableCell.propTypes = process.env.NODE_ENV !== \"production\" ? {\n  /** An element type to render as (string or function). */\n  as: PropTypes.elementType,\n\n  /** A cell can be active or selected by a user. */\n  active: PropTypes.bool,\n\n  /** Primary content. */\n  children: PropTypes.node,\n\n  /** Additional classes. */\n  className: PropTypes.string,\n\n  /** A cell can be collapsing so that it only uses as much space as required. */\n  collapsing: PropTypes.bool,\n\n  /** Shorthand for primary content. */\n  content: customPropTypes.contentShorthand,\n\n  /** A cell can be disabled. */\n  disabled: PropTypes.bool,\n\n  /** A cell may call attention to an error or a negative value. */\n  error: PropTypes.bool,\n\n  /** Add an Icon by name, props object, or pass an <Icon /> */\n  icon: customPropTypes.itemShorthand,\n\n  /** A cell may let a user know whether a value is bad. */\n  negative: PropTypes.bool,\n\n  /** A cell may let a user know whether a value is good. */\n  positive: PropTypes.bool,\n\n  /** A cell can be selectable. */\n  selectable: PropTypes.bool,\n\n  /** A cell can specify that its contents should remain on a single line and not wrap. */\n  singleLine: PropTypes.bool,\n\n  /** A table cell can adjust its text alignment. */\n  textAlign: PropTypes.oneOf(_without(SUI.TEXT_ALIGNMENTS, 'justified')),\n\n  /** A table cell can adjust its text alignment. */\n  verticalAlign: PropTypes.oneOf(SUI.VERTICAL_ALIGNMENTS),\n\n  /** A cell may warn a user. */\n  warning: PropTypes.bool,\n\n  /** A table can specify the width of individual columns independently. */\n  width: PropTypes.oneOf(SUI.WIDTHS)\n} : {};\nTableCell.create = createShorthandFactory(TableCell, function (content) {\n  return {\n    content: content\n  };\n});\nexport default TableCell;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport cx from 'clsx';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport { childrenUtils, customPropTypes, getElementType, getUnhandledProps, useKeyOnly } from '../../lib';\n/**\n * A table can have a header.\n */\n\nfunction TableHeader(props) {\n  var children = props.children,\n      className = props.className,\n      content = props.content,\n      fullWidth = props.fullWidth;\n  var classes = cx(useKeyOnly(fullWidth, 'full-width'), className);\n  var rest = getUnhandledProps(TableHeader, props);\n  var ElementType = getElementType(TableHeader, props);\n  return /*#__PURE__*/React.createElement(ElementType, _extends({}, rest, {\n    className: classes\n  }), childrenUtils.isNil(children) ? content : children);\n}\n\nTableHeader.handledProps = [\"as\", \"children\", \"className\", \"content\", \"fullWidth\"];\nTableHeader.defaultProps = {\n  as: 'thead'\n};\nTableHeader.propTypes = process.env.NODE_ENV !== \"production\" ? {\n  /** An element type to render as (string or function). */\n  as: PropTypes.elementType,\n\n  /** Primary content. */\n  children: PropTypes.node,\n\n  /** Additional classes. */\n  className: PropTypes.string,\n\n  /** Shorthand for primary content. */\n  content: customPropTypes.contentShorthand,\n\n  /** A definition table can have a full width header or footer, filling in the gap left by the first column. */\n  fullWidth: PropTypes.bool\n} : {};\nexport default TableHeader;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport { getUnhandledProps } from '../../lib';\nimport TableHeader from './TableHeader';\n/**\n * A table can have a footer.\n */\n\nfunction TableFooter(props) {\n  var as = props.as;\n  var rest = getUnhandledProps(TableFooter, props);\n  return /*#__PURE__*/React.createElement(TableHeader, _extends({}, rest, {\n    as: as\n  }));\n}\n\nTableFooter.handledProps = [\"as\"];\nTableFooter.propTypes = process.env.NODE_ENV !== \"production\" ? {\n  /** An element type to render as (string or function). */\n  as: PropTypes.elementType\n} : {};\nTableFooter.defaultProps = {\n  as: 'tfoot'\n};\nexport default TableFooter;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport cx from 'clsx';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport { getUnhandledProps, useValueAndKey } from '../../lib';\nimport TableCell from './TableCell';\n/**\n * A table can have a header cell.\n */\n\nfunction TableHeaderCell(props) {\n  var as = props.as,\n      className = props.className,\n      sorted = props.sorted;\n  var classes = cx(useValueAndKey(sorted, 'sorted'), className);\n  var rest = getUnhandledProps(TableHeaderCell, props);\n  return /*#__PURE__*/React.createElement(TableCell, _extends({}, rest, {\n    as: as,\n    className: classes\n  }));\n}\n\nTableHeaderCell.handledProps = [\"as\", \"className\", \"sorted\"];\nTableHeaderCell.propTypes = process.env.NODE_ENV !== \"production\" ? {\n  /** An element type to render as (string or function). */\n  as: PropTypes.elementType,\n\n  /** Additional classes. */\n  className: PropTypes.string,\n\n  /** A header cell can be sorted in ascending or descending order. */\n  sorted: PropTypes.oneOf(['ascending', 'descending'])\n} : {};\nTableHeaderCell.defaultProps = {\n  as: 'th'\n};\nexport default TableHeaderCell;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _without from \"lodash-es/without\";\nimport _map from \"lodash-es/map\";\nimport cx from 'clsx';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport { childrenUtils, createShorthandFactory, customPropTypes, getElementType, getUnhandledProps, SUI, useKeyOnly, useTextAlignProp, useVerticalAlignProp } from '../../lib';\nimport TableCell from './TableCell';\n/**\n * A table can have rows.\n */\n\nfunction TableRow(props) {\n  var active = props.active,\n      cellAs = props.cellAs,\n      cells = props.cells,\n      children = props.children,\n      className = props.className,\n      disabled = props.disabled,\n      error = props.error,\n      negative = props.negative,\n      positive = props.positive,\n      textAlign = props.textAlign,\n      verticalAlign = props.verticalAlign,\n      warning = props.warning;\n  var classes = cx(useKeyOnly(active, 'active'), useKeyOnly(disabled, 'disabled'), useKeyOnly(error, 'error'), useKeyOnly(negative, 'negative'), useKeyOnly(positive, 'positive'), useKeyOnly(warning, 'warning'), useTextAlignProp(textAlign), useVerticalAlignProp(verticalAlign), className);\n  var rest = getUnhandledProps(TableRow, props);\n  var ElementType = getElementType(TableRow, props);\n\n  if (!childrenUtils.isNil(children)) {\n    return /*#__PURE__*/React.createElement(ElementType, _extends({}, rest, {\n      className: classes\n    }), children);\n  }\n\n  return /*#__PURE__*/React.createElement(ElementType, _extends({}, rest, {\n    className: classes\n  }), _map(cells, function (cell) {\n    return TableCell.create(cell, {\n      defaultProps: {\n        as: cellAs\n      }\n    });\n  }));\n}\n\nTableRow.handledProps = [\"active\", \"as\", \"cellAs\", \"cells\", \"children\", \"className\", \"disabled\", \"error\", \"negative\", \"positive\", \"textAlign\", \"verticalAlign\", \"warning\"];\nTableRow.defaultProps = {\n  as: 'tr',\n  cellAs: 'td'\n};\nTableRow.propTypes = process.env.NODE_ENV !== \"production\" ? {\n  /** An element type to render as (string or function). */\n  as: PropTypes.elementType,\n\n  /** A row can be active or selected by a user. */\n  active: PropTypes.bool,\n\n  /** An element type to render as (string or function). */\n  cellAs: PropTypes.elementType,\n\n  /** Shorthand array of props for TableCell. */\n  cells: customPropTypes.collectionShorthand,\n\n  /** Primary content. */\n  children: PropTypes.node,\n\n  /** Additional classes. */\n  className: PropTypes.string,\n\n  /** A row can be disabled. */\n  disabled: PropTypes.bool,\n\n  /** A row may call attention to an error or a negative value. */\n  error: PropTypes.bool,\n\n  /** A row may let a user know whether a value is bad. */\n  negative: PropTypes.bool,\n\n  /** A row may let a user know whether a value is good. */\n  positive: PropTypes.bool,\n\n  /** A table row can adjust its text alignment. */\n  textAlign: PropTypes.oneOf(_without(SUI.TEXT_ALIGNMENTS, 'justified')),\n\n  /** A table row can adjust its vertical alignment. */\n  verticalAlign: PropTypes.oneOf(SUI.VERTICAL_ALIGNMENTS),\n\n  /** A row may warn a user. */\n  warning: PropTypes.bool\n} : {};\nTableRow.create = createShorthandFactory(TableRow, function (cells) {\n  return {\n    cells: cells\n  };\n});\nexport default TableRow;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _without from \"lodash-es/without\";\nimport _map from \"lodash-es/map\";\nimport cx from 'clsx';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport { childrenUtils, customPropTypes, getElementType, getUnhandledProps, SUI, useKeyOnly, useKeyOrValueAndKey, useTextAlignProp, useVerticalAlignProp, useWidthProp } from '../../lib';\nimport TableBody from './TableBody';\nimport TableCell from './TableCell';\nimport TableFooter from './TableFooter';\nimport TableHeader from './TableHeader';\nimport TableHeaderCell from './TableHeaderCell';\nimport TableRow from './TableRow';\n/**\n * A table displays a collections of data grouped into rows.\n */\n\nfunction Table(props) {\n  var attached = props.attached,\n      basic = props.basic,\n      celled = props.celled,\n      children = props.children,\n      className = props.className,\n      collapsing = props.collapsing,\n      color = props.color,\n      columns = props.columns,\n      compact = props.compact,\n      definition = props.definition,\n      fixed = props.fixed,\n      footerRow = props.footerRow,\n      headerRow = props.headerRow,\n      headerRows = props.headerRows,\n      inverted = props.inverted,\n      padded = props.padded,\n      renderBodyRow = props.renderBodyRow,\n      selectable = props.selectable,\n      singleLine = props.singleLine,\n      size = props.size,\n      sortable = props.sortable,\n      stackable = props.stackable,\n      striped = props.striped,\n      structured = props.structured,\n      tableData = props.tableData,\n      textAlign = props.textAlign,\n      unstackable = props.unstackable,\n      verticalAlign = props.verticalAlign;\n  var classes = cx('ui', color, size, useKeyOnly(celled, 'celled'), useKeyOnly(collapsing, 'collapsing'), useKeyOnly(definition, 'definition'), useKeyOnly(fixed, 'fixed'), useKeyOnly(inverted, 'inverted'), useKeyOnly(selectable, 'selectable'), useKeyOnly(singleLine, 'single line'), useKeyOnly(sortable, 'sortable'), useKeyOnly(stackable, 'stackable'), useKeyOnly(striped, 'striped'), useKeyOnly(structured, 'structured'), useKeyOnly(unstackable, 'unstackable'), useKeyOrValueAndKey(attached, 'attached'), useKeyOrValueAndKey(basic, 'basic'), useKeyOrValueAndKey(compact, 'compact'), useKeyOrValueAndKey(padded, 'padded'), useTextAlignProp(textAlign), useVerticalAlignProp(verticalAlign), useWidthProp(columns, 'column'), 'table', className);\n  var rest = getUnhandledProps(Table, props);\n  var ElementType = getElementType(Table, props);\n\n  if (!childrenUtils.isNil(children)) {\n    return /*#__PURE__*/React.createElement(ElementType, _extends({}, rest, {\n      className: classes\n    }), children);\n  }\n\n  var hasHeaderRows = headerRow || headerRows;\n  var headerShorthandOptions = {\n    defaultProps: {\n      cellAs: 'th'\n    }\n  };\n  var headerElement = hasHeaderRows && /*#__PURE__*/React.createElement(TableHeader, null, TableRow.create(headerRow, headerShorthandOptions), _map(headerRows, function (data) {\n    return TableRow.create(data, headerShorthandOptions);\n  }));\n  return /*#__PURE__*/React.createElement(ElementType, _extends({}, rest, {\n    className: classes\n  }), headerElement, /*#__PURE__*/React.createElement(TableBody, null, renderBodyRow && _map(tableData, function (data, index) {\n    return TableRow.create(renderBodyRow(data, index));\n  })), footerRow && /*#__PURE__*/React.createElement(TableFooter, null, TableRow.create(footerRow)));\n}\n\nTable.handledProps = [\"as\", \"attached\", \"basic\", \"celled\", \"children\", \"className\", \"collapsing\", \"color\", \"columns\", \"compact\", \"definition\", \"fixed\", \"footerRow\", \"headerRow\", \"headerRows\", \"inverted\", \"padded\", \"renderBodyRow\", \"selectable\", \"singleLine\", \"size\", \"sortable\", \"stackable\", \"striped\", \"structured\", \"tableData\", \"textAlign\", \"unstackable\", \"verticalAlign\"];\nTable.defaultProps = {\n  as: 'table'\n};\nTable.propTypes = process.env.NODE_ENV !== \"production\" ? {\n  /** An element type to render as (string or function). */\n  as: PropTypes.elementType,\n\n  /** Attach table to other content */\n  attached: PropTypes.oneOfType([PropTypes.bool, PropTypes.oneOf(['top', 'bottom'])]),\n\n  /** A table can reduce its complexity to increase readability. */\n  basic: PropTypes.oneOfType([PropTypes.oneOf(['very']), PropTypes.bool]),\n\n  /** A table may be divided into individual cells. */\n  celled: PropTypes.bool,\n\n  /** Primary content. */\n  children: PropTypes.node,\n\n  /** Additional classes. */\n  className: PropTypes.string,\n\n  /** A table can be collapsing, taking up only as much space as its rows. */\n  collapsing: PropTypes.bool,\n\n  /** A table can be given a color to distinguish it from other tables. */\n  color: PropTypes.oneOf(SUI.COLORS),\n\n  /** A table can specify its column count to divide its content evenly. */\n  columns: PropTypes.oneOf(SUI.WIDTHS),\n\n  /** A table may sometimes need to be more compact to make more rows visible at a time. */\n  compact: PropTypes.oneOfType([PropTypes.bool, PropTypes.oneOf(['very'])]),\n\n  /** A table may be formatted to emphasize a first column that defines a rows content. */\n  definition: PropTypes.bool,\n\n  /**\n   * A table can use fixed a special faster form of table rendering that does not resize table cells based on content\n   */\n  fixed: PropTypes.bool,\n\n  /** Shorthand for a TableRow to be placed within Table.Footer. */\n  footerRow: customPropTypes.itemShorthand,\n\n  /** Shorthand for a TableRow to be placed within Table.Header. */\n  headerRow: customPropTypes.every([customPropTypes.disallow(['headerRows']), customPropTypes.itemShorthand]),\n\n  /** Shorthand for multiple TableRows to be placed within Table.Header. */\n  headerRows: customPropTypes.every([customPropTypes.disallow(['headerRow']), customPropTypes.collectionShorthand]),\n\n  /** A table's colors can be inverted. */\n  inverted: PropTypes.bool,\n\n  /** A table may sometimes need to be more padded for legibility. */\n  padded: PropTypes.oneOfType([PropTypes.bool, PropTypes.oneOf(['very'])]),\n\n  /**\n   * Mapped over `tableData` and should return shorthand for each Table.Row to be placed within Table.Body.\n   *\n   * @param {*} data - An element in the `tableData` array.\n   * @param {number} index - The index of the current element in `tableData`.\n   * @returns {*} Shorthand for a Table.Row.\n   */\n  renderBodyRow: customPropTypes.every([customPropTypes.disallow(['children']), customPropTypes.demand(['tableData']), PropTypes.func]),\n\n  /** A table can have its rows appear selectable. */\n  selectable: PropTypes.bool,\n\n  /** A table can specify that its cell contents should remain on a single line and not wrap. */\n  singleLine: PropTypes.bool,\n\n  /** A table can also be small or large. */\n  size: PropTypes.oneOf(_without(SUI.SIZES, 'mini', 'tiny', 'medium', 'big', 'huge', 'massive')),\n\n  /** A table may allow a user to sort contents by clicking on a table header. */\n  sortable: PropTypes.bool,\n\n  /** A table can specify how it stacks table content responsively. */\n  stackable: PropTypes.bool,\n\n  /** A table can stripe alternate rows of content with a darker color to increase contrast. */\n  striped: PropTypes.bool,\n\n  /** A table can be formatted to display complex structured data. */\n  structured: PropTypes.bool,\n\n  /** Data to be passed to the renderBodyRow function. */\n  tableData: customPropTypes.every([customPropTypes.disallow(['children']), customPropTypes.demand(['renderBodyRow']), PropTypes.array]),\n\n  /** A table can adjust its text alignment. */\n  textAlign: PropTypes.oneOf(_without(SUI.TEXT_ALIGNMENTS, 'justified')),\n\n  /** A table can specify how it stacks table content responsively. */\n  unstackable: PropTypes.bool,\n\n  /** A table can adjust its text alignment. */\n  verticalAlign: PropTypes.oneOf(SUI.VERTICAL_ALIGNMENTS)\n} : {};\nTable.Body = TableBody;\nTable.Cell = TableCell;\nTable.Footer = TableFooter;\nTable.Header = TableHeader;\nTable.HeaderCell = TableHeaderCell;\nTable.Row = TableRow;\nexport default Table;","import React, { useEffect, useState, useContext, Component } from \"react\";\nimport \"semantic-ui-css/semantic.min.css\";\nimport {\n  Card,\n  Button,\n  Form,\n  Table,\n  Dropdown,\n  Divider,\n} from \"semantic-ui-react\";\nimport { Link } from \"react-router-dom\";\nimport \"../../Navbar/Navbar.css\";\nimport API from \"../api/apilink\";\nimport Swal from \"sweetalert2\";\nimport Loader from \"../api/loader\";\n\nfunction QPMaster() {\n  const [deggrp, setdeggrp] = useState(\"\");\n  const [sem, setsem] = useState([]);\n  const [degree, setdegree] = useState([]);\n  const [deggrpOptions, setdeggrpOptions] = useState([]);\n  const [degreeOptions, setdegreeOptions] = useState([]);\n  const [semOptions, setsemOptions] = useState([]);\n  const [qpmastertad, setqpmastertad] = useState([]);\n  const [table, settable] = useState(false);\n  const [loading, setLoading] = useState(false);\n  useEffect(() => {\n    const loaddeggrp = async function () {\n      setLoading(true);\n      try {\n        const res = await API.get(\n          `app.php?a=loadQPDeggrpQPMaster&univcode=${localStorage.getItem(\n            \"univcode\"\n          )}`\n        );\n        const options = res.data.data.map((el, i) => {\n          return {\n            key: i,\n            value: el.fdeggrp,\n            text: el.fdeggrp + \" - \" + el.fdescpn,\n          };\n        });\n        setdeggrpOptions(options);\n      } catch (err) {\n        console.log(err);\n      }\n      setLoading(false);\n    };\n    loaddeggrp();\n  }, []);\n\n  const loaddegree = async (deggrp) => {\n    setLoading(true);\n    try {\n      const res = await API.get(\n        `app.php?a=loadQPdegree&univcode=${localStorage.getItem(\n          \"univcode\"\n        )}&deggrp=${deggrp}`\n      );\n      console.log(res.data.data);\n      const degoptions = res.data.data.map((el, i) => {\n        return {\n          key: i,\n          value: el.fdegree,\n          text: el.fdegree + \" - \" + el.fdescpn,\n        };\n      });\n      setdegreeOptions(degoptions);\n    } catch (err) {\n      console.log(err);\n    }\n    setLoading(false);\n  };\n\n  const loadsem = async (degree) => {\n    setLoading(true);\n    try {\n      const res = await API.get(\n        `app.php?a=loadQPDeggrpSem&univcode=${localStorage.getItem(\n          \"univcode\"\n        )}&deggrp=${deggrp}&degree=${degree}`\n      );\n      console.log(res.data.data);\n      const semoptions = res.data.data.map((el, i) => {\n        return {\n          key: i,\n          value: el.fexamno,\n          text: el.fexamno + \" - \" + el.fexamname,\n        };\n      });\n      setsemOptions(semoptions);\n    } catch (err) {\n      console.log(err);\n    }\n    setLoading(false);\n  };\n\n  const handleSubmit = async () => {\n    if (deggrp == \"\") {\n      Swal.fire(\"Select Degree Group\");\n      return;\n    }\n    if (degree == \"\") {\n      Swal.fire(\"Select Degree\");\n      return;\n    }\n    if (sem == \"\") {\n      Swal.fire(\"Select Semester\");\n      return;\n    }\n    console.log(degree, \"ssssss\");\n    setLoading(true);\n    try {\n      const res = await API.get(\n        `app.php?a=loadQPMastertab&univcode=${localStorage.getItem(\n          \"univcode\"\n        )}&deggrp=${deggrp}&sem=${sem}&degree=${degree}`\n      );\n      if (res.data.error_code == 0) {\n        setqpmastertad(res.data.data);\n        settable(true);\n      } else {\n        Swal.fire(\"Failed\", res.data.data.msg, \"error\");\n        setLoading(false);\n        return;\n      }\n    } catch (err) {\n      console.log(err);\n    }\n    setLoading(false);\n  };\n\n  const handleClear = () => {\n    settable(false);\n    setdeggrp(\"\");\n    setsem(\"\");\n    setdegree(\"\");\n  };\n\n  return (\n    <div className=\"page\">\n      {loading ? (\n        <Loader />\n      ) : (\n        <div className=\"row\">\n          <div className=\"col-md-12 grid-margin stretch-card\">\n            <div className=\"card\">\n              <div className=\"card-body\" style={{ display: \"flex\" }}>\n                <h4>QP Master</h4>\n                <div className=\"ml-auto\">\n                  <button\n                    onClick={() => handleClear()}\n                    type=\"button\"\n                    className=\"btn btn-info btn-fw\"\n                  >\n                    Clear\n                  </button>\n                  <Link to=\"/dashboard\">\n                    <button type=\"button\" className=\"btn btn-danger btn-fw\">\n                      <span class=\"mdi mdi-exit-to-app\"></span>\n                      Exit\n                    </button>\n                  </Link>\n                </div>\n              </div>\n              <Divider />\n              <div className=\"col-md-12\">\n                <Form>\n                  <Form.Group>\n                    <Form.Field width={8}>\n                      <label>Degree Group</label>\n                      <Dropdown\n                        placeholder=\"Degree Group\"\n                        name=\"deggrp\"\n                        value={deggrp}\n                        selection\n                        options={deggrpOptions}\n                        search\n                        onChange={(e, data) => {\n                          setdeggrp(data.value);\n                          loaddegree(data.value);\n                        }}\n                      />\n                    </Form.Field>\n                  </Form.Group>\n                  <Form.Group>\n                    <Form.Field width={8}>\n                      <label>Degree</label>\n                      <Dropdown\n                        multiple\n                        placeholder=\"Degree\"\n                        name=\"degree\"\n                        value={degree}\n                        selection\n                        options={degreeOptions}\n                        search\n                        onChange={(e, data) => {\n                          setdegree(data.value);\n                          loadsem(data.value);\n                        }}\n                      />\n                    </Form.Field>\n                  </Form.Group>\n                  <Form.Group>\n                    <Form.Field width={8}>\n                      <label>Semester</label>\n                      <Dropdown\n                        multiple\n                        placeholder=\"Semester\"\n                        name=\"sem\"\n                        value={sem}\n                        selection\n                        options={semOptions}\n                        search\n                        onChange={(e, data) => {\n                          setsem(data.value);\n                        }}\n                      />\n                    </Form.Field>\n                  </Form.Group>\n                  <button\n                    onClick={() => handleSubmit()}\n                    type=\"button\"\n                    className=\"btn btn-info btn-fw\"\n                  >\n                    <span class=\"mdi mdi-file-check btn-icon-prepend\"></span>\n                    Submit\n                  </button>\n                </Form>\n                <br />\n                {table == true ? (\n                  <div className=\"ui mini form\">\n                    <Table celled>\n                      <Table.Header>\n                        <Table.Row>\n                          <Table.HeaderCell\n                            style={{ width: \"5%\" }}\n                            singleLine\n                            textAlign=\"center\"\n                          >\n                            Sl. No.\n                          </Table.HeaderCell>\n                          <Table.HeaderCell\n                            style={{ width: \"5%\" }}\n                            textAlign=\"center\"\n                          >\n                            QP Code\n                          </Table.HeaderCell>\n                          <Table.HeaderCell\n                            style={{ width: \"35%\" }}\n                            textAlign=\"center\"\n                          >\n                            Subject\n                          </Table.HeaderCell>\n                          <Table.HeaderCell\n                            style={{ width: \"5%\" }}\n                            textAlign=\"center\"\n                          >\n                            Semester\n                          </Table.HeaderCell>\n                          <Table.HeaderCell\n                            style={{ width: \"10%\" }}\n                            textAlign=\"center\"\n                          >\n                            Degree Range\n                          </Table.HeaderCell>\n                          <Table.HeaderCell\n                            style={{ width: \"20%\" }}\n                            textAlign=\"center\"\n                          >\n                            Date of Exam\n                          </Table.HeaderCell>\n                          <Table.HeaderCell\n                            style={{ width: \"20%\" }}\n                            textAlign=\"center\"\n                          >\n                            Session\n                          </Table.HeaderCell>\n                        </Table.Row>\n                      </Table.Header>\n                      <Table.Body>\n                        {qpmastertad.map((el, i) => {\n                          return (\n                            <Table.Row key={i}>\n                              <Table.Cell textAlign=\"center\">\n                                {i + 1}\n                              </Table.Cell>\n                              <Table.Cell textAlign=\"center\">\n                                {el.fqpcode}\n                              </Table.Cell>\n                              <Table.Cell>{el.fsubname}</Table.Cell>\n                              <Table.Cell textAlign=\"center\">\n                                {el.fexamno}\n                              </Table.Cell>\n                              <Table.Cell textAlign=\"center\">\n                                {el.fdegree}\n                              </Table.Cell>\n                              <Table.Cell textAlign=\"center\">\n                                {el.fdoe}\n                              </Table.Cell>\n                              <Table.Cell textAlign=\"center\">\n                                {el.fsession}\n                              </Table.Cell>\n                            </Table.Row>\n                          );\n                        })}\n                      </Table.Body>\n                    </Table>\n                  </div>\n                ) : null}\n              </div>\n            </div>\n          </div>\n        </div>\n      )}\n    </div>\n  );\n}\n\nexport default QPMaster;\n"],"sourceRoot":""}