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.49.90


Current Path : /var/www/egov/build/static/js/
Upload File :
Current File : /var/www/egov/build/static/js/82.dc7580ad.chunk.js.map

{"version":3,"sources":["pages/masters/holiday-list/index.js","actions/masters/getholidaylist.js","../node_modules/semantic-ui-react/dist/es/elements/Divider/Divider.js","../node_modules/semantic-ui-react/dist/es/collections/Grid/GridColumn.js","../node_modules/semantic-ui-react/dist/es/collections/Grid/GridRow.js","../node_modules/semantic-ui-react/dist/es/collections/Grid/Grid.js"],"names":["HolidayList","state","handleReport","window","open","concat","ReportAPI","_this","props","univcode","fcollcode","this","getHolidayList","wheight","wHeight","hList","console","log","react_default","a","createElement","Fragment","Card","fluid","Content","Header","style","display","className","Button","basic","color","icon","onClick","content","Link","to","Divider","Description","height","overflowY","Grid","divided","Row","columns","Column","Table","celled","compact","padding","textAlign","HeaderCell","width","Body","map","el","i","Cell","fdate","fremarks","Component","connect","holidayList","univ","funivcode","user","showError","fyear","_ref","Object","asyncToGenerator","regenerator_default","mark","_callee","dispatch","getState","response","wrap","_context","prev","next","univadmin","get","params","sent","data","type","payload","error_code","msg","status","stop","_x","_x2","apply","arguments","_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__","__webpack_require__","_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default","n","classnames__WEBPACK_IMPORTED_MODULE_1__","classnames__WEBPACK_IMPORTED_MODULE_1___default","react__WEBPACK_IMPORTED_MODULE_2__","react__WEBPACK_IMPORTED_MODULE_2___default","_lib__WEBPACK_IMPORTED_MODULE_3__","_lib__WEBPACK_IMPORTED_MODULE_4__","_lib__WEBPACK_IMPORTED_MODULE_5__","_lib__WEBPACK_IMPORTED_MODULE_6__","children","clearing","fitted","hidden","horizontal","inverted","section","vertical","classes","rest","ElementType","isNil","handledProps","propTypes","__webpack_exports__","GridColumn","computer","floated","largeScreen","mobile","only","stretched","tablet","verticalAlign","widescreen","create","GridRow","centered","reversed","classnames_default","classNameBuilders","getUnhandledProps","getElementType","extends_default","Grid_GridRow","container","doubling","padded","relaxed","stackable"],"mappings":"kSASMA,6MACJC,MAAQ,KAMRC,aAAe,WAQbC,OAAOC,KAAP,GAAAC,OACKC,IADL,6BAAAD,OAC0CE,EAAKC,MAAMC,SADrD,eAAAJ,OAC2EE,EAAKC,MAAME,WACpF,sNAbIC,KAAKH,MAAMI,oJAkBjB,IAAMC,EAAUC,cACVC,EAA4B,IAApBJ,KAAKH,MAAMO,MAAc,GAAKJ,KAAKH,MAAMO,MAGvD,OADAC,QAAQC,IAAI,QAASN,KAAKH,MAAMO,OAE9BG,EAAAC,EAAAC,cAAAF,EAAAC,EAAAE,SAAA,KACEH,EAAAC,EAAAC,cAACE,EAAA,EAAD,CAAMC,OAAK,GACTL,EAAAC,EAAAC,cAACE,EAAA,EAAKE,QAAN,KACEN,EAAAC,EAAAC,cAACE,EAAA,EAAKG,OAAN,CAAaC,MAAO,CAAEC,QAAS,SAC7BT,EAAAC,EAAAC,cAAA,0BACAF,EAAAC,EAAAC,cAAA,OAAKQ,UAAU,WACbV,EAAAC,EAAAC,cAACS,EAAA,EAAD,CACEC,OAAK,EACLC,MAAM,OACNC,KAAK,OACLC,QAAStB,KAAKT,aACdgC,QAAQ,WAEVhB,EAAAC,EAAAC,cAACe,EAAA,EAAD,CAAMC,GAAG,cACPlB,EAAAC,EAAAC,cAACS,EAAA,EAAD,CAAQC,OAAK,EAACC,MAAM,MAAMG,QAAQ,OAAOF,KAAK,YAIpDd,EAAAC,EAAAC,cAACiB,EAAA,EAAD,MACAnB,EAAAC,EAAAC,cAACE,EAAA,EAAKgB,YAAN,CACEZ,MAAO,CAAEa,OAAM,GAAAlC,OAAKQ,EAAL,MAAkB2B,UAAW,SAE5CtB,EAAAC,EAAAC,cAACqB,EAAA,EAAD,CAAMC,QAAQ,aAAad,UAAU,QACnCV,EAAAC,E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E,CAAmB4E,EAAA,UAAoB5E,OAAAqE,EAAA,EAAArE,CAAmB6E,EAAA,WAAsB7E,OAAAqE,EAAA,EAAArE,CAAemE,EAAA,YAAwBnE,OAAAqE,EAAA,EAAArE,CAAgBnB,GAAamB,OAAAqE,EAAA,EAAArE,CAAoB8D,GAAiB9D,OAAAqE,EAAA,EAAArE,CAAYzB,EAAA,oBAAAhB,GAChgByF,EAAahD,OAAAsE,EAAA,EAAAtE,CAAiB5B,EAAAjC,GAC9B8G,EAAoBjD,OAAAuE,EAAA,EAAAvE,CAAc5B,EAAAjC,GAClC,OAASU,EAAAC,EAAKC,cAAAkG,EAA4BuB,IAAQ,GAAGxB,EAAA,CACrDzF,UAAAwF,IACGR,GAGHnE,EAAA+E,aAAA,0LACA/E,EAAAI,OAAc8E,EAAA,EACdlF,EAAAE,IAAWmG,EACXrG,EAAAgF,UAmDC,GACcC,EAAA","file":"static/js/82.dc7580ad.chunk.js","sourcesContent":["import React, { Component } from \"react\";\nimport { connect } from \"react-redux\";\nimport { Link } from \"react-router-dom\";\nimport { showError } from \"../../../actions\";\nimport { Card, Button, Divider, Table, Grid } from \"semantic-ui-react\";\nimport { wHeight } from \"../../parms\";\nimport { getHolidayList } from \"../../../actions/masters/getholidaylist\";\nimport { ReportAPI } from \"../../../apis/consts\";\n\nclass HolidayList extends Component {\n  state = {};\n\n  async componentDidMount() {\n    await this.props.getHolidayList();\n  }\n\n  handleReport = () => {\n    // const { fdeggrp } = this.props.user;\n    // const { reportType } = this.state;\n    // if (fdeggrp === \"\") {\n    //   const error = { header: \"Error\", content: \"Select Degree Group\" };\n    //   this.props.showError(error);\n    //   return;\n    // }\n    window.open(\n      `${ReportAPI}holidayListRprt&univcode=${this.props.univcode}&fcollcode=${this.props.fcollcode}`,\n      \"_blank\"\n    );\n  };\n\n  render() {\n    const wheight = wHeight();\n    const hList = this.props.hList == \"\" ? [] : this.props.hList;\n\n    console.log(\"hlist\", this.props.hList);\n    return (\n      <>\n        <Card fluid>\n          <Card.Content>\n            <Card.Header style={{ display: \"flex\" }}>\n              <h3>Holiday List</h3>\n              <div className=\"ml-auto\">\n                <Button\n                  basic\n                  color=\"blue\"\n                  icon=\"file\"\n                  onClick={this.handleReport}\n                  content=\"Report\"\n                />\n                <Link to=\"/dashboard\">\n                  <Button basic color=\"red\" content=\"Exit\" icon=\"home\" />\n                </Link>\n              </div>\n            </Card.Header>\n            <Divider />\n            <Card.Description\n              style={{ height: `${wheight}px`, overflowY: \"auto\" }}\n            >\n              <Grid divided=\"vertically\" className=\"mt-3\">\n                <Grid.Row columns={2}>\n                  <Grid.Column>\n                    <Table celled compact style={{ padding: \"0%\" }}>\n                      <Table.Header>\n                        <Table.Row textAlign=\"center\">\n                          <Table.HeaderCell width=\"1\">Sl. No.</Table.HeaderCell>\n                          <Table.HeaderCell width=\"2\">Date</Table.HeaderCell>\n                          <Table.HeaderCell width=\"12\">\n                            Remarks\n                          </Table.HeaderCell>\n                          {/* <Table.HeaderCell width=\"1\">Del</Table.HeaderCell> */}\n                        </Table.Row>\n                      </Table.Header>\n                      <Table.Body>\n                        {hList.map((el, i) => {\n                          return (\n                            <Table.Row>\n                              <Table.Cell textAlign=\"center\">\n                                {i + 1}\n                              </Table.Cell>\n                              <Table.Cell>{el.fdate}</Table.Cell>\n                              <Table.Cell>{el.fremarks}</Table.Cell>\n                            </Table.Row>\n                          );\n                        })}\n                      </Table.Body>\n                    </Table>\n                  </Grid.Column>\n                </Grid.Row>\n              </Grid>\n            </Card.Description>\n          </Card.Content>\n        </Card>\n      </>\n    );\n  }\n}\n\nconst mapStatetoProps = state => {\n  return {\n    hList: state.holidayList,\n    univcode: state.univ.funivcode,\n    fcollcode: state.user.fcollcode\n  };\n};\n\nexport default connect(\n  mapStatetoProps,\n  {\n    showError,\n    getHolidayList\n  }\n)(HolidayList);\n","import univadmin from \"../../apis/univadmin\";\n\nexport const getHolidayList = fyear => {\n  return async (dispatch, getState) => {\n    const state = getState();\n    // dispatch({\n    //   type: \"SET_LOADER\"\n    // });\n\n    const response = await univadmin.get(\"/app.php\", {\n      params: {\n        a: \"holidayList\",\n        // fyear: fyear,\n        univcode: state.univ.funivcode\n      }\n    });\n    console.log(\"response list\", response);\n    // dispatch({\n    //   type: \"UNSET_LOADER\"\n    // });\n\n    if (typeof response.data !== \"object\") {\n      const data = {\n        error_code: -1,\n        data: { msg: \"Something went wrong\" },\n        status: \"failure\"\n      };\n      dispatch({\n        type: \"SET_ERROR\",\n        payload: data\n      });\n    } else if (response.data.error_code === -1) {\n      dispatch({\n        type: \"SET_ERROR\",\n        payload: response.data\n      });\n    } else {\n      dispatch({\n        type: \"FETCH_HOLIDAY_LIST\",\n        payload: response.data\n      });\n    }\n  };\n};\n","import _extends from \"@babel/runtime/helpers/extends\";\nimport cx from 'classnames';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport { childrenUtils, customPropTypes, getElementType, getUnhandledProps, useKeyOnly } from '../../lib';\n/**\n * A divider visually segments content into groups.\n */\n\nfunction Divider(props) {\n  var children = props.children,\n      className = props.className,\n      clearing = props.clearing,\n      content = props.content,\n      fitted = props.fitted,\n      hidden = props.hidden,\n      horizontal = props.horizontal,\n      inverted = props.inverted,\n      section = props.section,\n      vertical = props.vertical;\n  var classes = cx('ui', useKeyOnly(clearing, 'clearing'), useKeyOnly(fitted, 'fitted'), useKeyOnly(hidden, 'hidden'), useKeyOnly(horizontal, 'horizontal'), useKeyOnly(inverted, 'inverted'), useKeyOnly(section, 'section'), useKeyOnly(vertical, 'vertical'), 'divider', className);\n  var rest = getUnhandledProps(Divider, props);\n  var ElementType = getElementType(Divider, props);\n  return React.createElement(ElementType, _extends({}, rest, {\n    className: classes\n  }), childrenUtils.isNil(children) ? content : children);\n}\n\nDivider.handledProps = [\"as\", \"children\", \"className\", \"clearing\", \"content\", \"fitted\", \"hidden\", \"horizontal\", \"inverted\", \"section\", \"vertical\"];\nDivider.propTypes = process.env.NODE_ENV !== \"production\" ? {\n  /** An element type to render as (string or function). */\n  as: customPropTypes.as,\n\n  /** Primary content. */\n  children: PropTypes.node,\n\n  /** Additional classes. */\n  className: PropTypes.string,\n\n  /** Divider can clear the content above it. */\n  clearing: PropTypes.bool,\n\n  /** Shorthand for primary content. */\n  content: customPropTypes.contentShorthand,\n\n  /** Divider can be fitted without any space above or below it. */\n  fitted: PropTypes.bool,\n\n  /** Divider can divide content without creating a dividing line. */\n  hidden: PropTypes.bool,\n\n  /** Divider can segment content horizontally. */\n  horizontal: PropTypes.bool,\n\n  /** Divider can have its colours inverted. */\n  inverted: PropTypes.bool,\n\n  /** Divider can provide greater margins to divide sections of content. */\n  section: PropTypes.bool,\n\n  /** Divider can segment content vertically. */\n  vertical: PropTypes.bool\n} : {};\nexport default Divider;","import _extends from \"@babel/runtime/helpers/extends\";\nimport cx from 'classnames';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport { customPropTypes, createShorthandFactory, getElementType, getUnhandledProps, SUI, useKeyOnly, useMultipleProp, useTextAlignProp, useValueAndKey, useVerticalAlignProp, useWidthProp } from '../../lib';\n/**\n * A column sub-component for Grid.\n */\n\nfunction GridColumn(props) {\n  var children = props.children,\n      className = props.className,\n      computer = props.computer,\n      color = props.color,\n      floated = props.floated,\n      largeScreen = props.largeScreen,\n      mobile = props.mobile,\n      only = props.only,\n      stretched = props.stretched,\n      tablet = props.tablet,\n      textAlign = props.textAlign,\n      verticalAlign = props.verticalAlign,\n      widescreen = props.widescreen,\n      width = props.width;\n  var classes = cx(color, useKeyOnly(stretched, 'stretched'), useMultipleProp(only, 'only'), useTextAlignProp(textAlign), useValueAndKey(floated, 'floated'), useVerticalAlignProp(verticalAlign), useWidthProp(computer, 'wide computer'), useWidthProp(largeScreen, 'wide large screen'), useWidthProp(mobile, 'wide mobile'), useWidthProp(tablet, 'wide tablet'), useWidthProp(widescreen, 'wide widescreen'), useWidthProp(width, 'wide'), 'column', className);\n  var rest = getUnhandledProps(GridColumn, props);\n  var ElementType = getElementType(GridColumn, props);\n  return React.createElement(ElementType, _extends({}, rest, {\n    className: classes\n  }), children);\n}\n\nGridColumn.handledProps = [\"as\", \"children\", \"className\", \"color\", \"computer\", \"floated\", \"largeScreen\", \"mobile\", \"only\", \"stretched\", \"tablet\", \"textAlign\", \"verticalAlign\", \"widescreen\", \"width\"];\nGridColumn.propTypes = process.env.NODE_ENV !== \"production\" ? {\n  /** An element type to render as (string or function). */\n  as: customPropTypes.as,\n\n  /** Primary content. */\n  children: PropTypes.node,\n\n  /** Additional classes. */\n  className: PropTypes.string,\n\n  /** A grid column can be colored. */\n  color: PropTypes.oneOf(SUI.COLORS),\n\n  /** A column can specify a width for a computer. */\n  computer: customPropTypes.every([customPropTypes.disallow(['width']), PropTypes.oneOf(SUI.WIDTHS)]),\n\n  /** A column can sit flush against the left or right edge of a row. */\n  floated: PropTypes.oneOf(SUI.FLOATS),\n\n  /** A column can specify a width for a large screen device. */\n  largeScreen: customPropTypes.every([customPropTypes.disallow(['width']), PropTypes.oneOf(SUI.WIDTHS)]),\n\n  /** A column can specify a width for a mobile device. */\n  mobile: customPropTypes.every([customPropTypes.disallow(['width']), PropTypes.oneOf(SUI.WIDTHS)]),\n\n  /** A column can appear only for a specific device, or screen sizes. */\n  only: customPropTypes.multipleProp(SUI.VISIBILITY),\n\n  /** A column can stretch its contents to take up the entire grid or row height. */\n  stretched: PropTypes.bool,\n\n  /** A column can specify a width for a tablet device. */\n  tablet: customPropTypes.every([customPropTypes.disallow(['width']), PropTypes.oneOf(SUI.WIDTHS)]),\n\n  /** A column can specify its text alignment. */\n  textAlign: PropTypes.oneOf(SUI.TEXT_ALIGNMENTS),\n\n  /** A column can specify its vertical alignment to have all its columns vertically centered. */\n  verticalAlign: PropTypes.oneOf(SUI.VERTICAL_ALIGNMENTS),\n\n  /** A column can specify a width for a wide screen device. */\n  widescreen: customPropTypes.every([customPropTypes.disallow(['width']), PropTypes.oneOf(SUI.WIDTHS)]),\n\n  /** Represents width of column. */\n  width: customPropTypes.every([customPropTypes.disallow(['computer', 'largeScreen', 'mobile', 'tablet', 'widescreen']), PropTypes.oneOf(SUI.WIDTHS)])\n} : {};\nGridColumn.create = createShorthandFactory(GridColumn, function (children) {\n  return {\n    children: children\n  };\n});\nexport default GridColumn;","import _toConsumableArray from \"@babel/runtime/helpers/toConsumableArray\";\nimport _extends from \"@babel/runtime/helpers/extends\";\nimport cx from 'classnames';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport { customPropTypes, getElementType, getUnhandledProps, SUI, useKeyOnly, useMultipleProp, useTextAlignProp, useVerticalAlignProp, useWidthProp } from '../../lib';\n/**\n * A row sub-component for Grid.\n */\n\nfunction GridRow(props) {\n  var centered = props.centered,\n      children = props.children,\n      className = props.className,\n      color = props.color,\n      columns = props.columns,\n      divided = props.divided,\n      only = props.only,\n      reversed = props.reversed,\n      stretched = props.stretched,\n      textAlign = props.textAlign,\n      verticalAlign = props.verticalAlign;\n  var classes = cx(color, useKeyOnly(centered, 'centered'), useKeyOnly(divided, 'divided'), useKeyOnly(stretched, 'stretched'), useMultipleProp(only, 'only'), useMultipleProp(reversed, 'reversed'), useTextAlignProp(textAlign), useVerticalAlignProp(verticalAlign), useWidthProp(columns, 'column', true), 'row', className);\n  var rest = getUnhandledProps(GridRow, props);\n  var ElementType = getElementType(GridRow, props);\n  return React.createElement(ElementType, _extends({}, rest, {\n    className: classes\n  }), children);\n}\n\nGridRow.handledProps = [\"as\", \"centered\", \"children\", \"className\", \"color\", \"columns\", \"divided\", \"only\", \"reversed\", \"stretched\", \"textAlign\", \"verticalAlign\"];\nGridRow.propTypes = process.env.NODE_ENV !== \"production\" ? {\n  /** An element type to render as (string or function). */\n  as: customPropTypes.as,\n\n  /** A row can have its columns centered. */\n  centered: PropTypes.bool,\n\n  /** Primary content. */\n  children: PropTypes.node,\n\n  /** Additional classes. */\n  className: PropTypes.string,\n\n  /** A grid row can be colored. */\n  color: PropTypes.oneOf(SUI.COLORS),\n\n  /** Represents column count per line in Row. */\n  columns: PropTypes.oneOf(_toConsumableArray(SUI.WIDTHS).concat(['equal'])),\n\n  /** A row can have dividers between its columns. */\n  divided: PropTypes.bool,\n\n  /** A row can appear only for a specific device, or screen sizes. */\n  only: customPropTypes.multipleProp(SUI.VISIBILITY),\n\n  /** A row can specify that its columns should reverse order at different device sizes. */\n  reversed: customPropTypes.multipleProp(['computer', 'computer vertically', 'mobile', 'mobile vertically', 'tablet', 'tablet vertically']),\n\n  /** A row can stretch its contents to take up the entire column height. */\n  stretched: PropTypes.bool,\n\n  /** A row can specify its text alignment. */\n  textAlign: PropTypes.oneOf(SUI.TEXT_ALIGNMENTS),\n\n  /** A row can specify its vertical alignment to have all its columns vertically centered. */\n  verticalAlign: PropTypes.oneOf(SUI.VERTICAL_ALIGNMENTS)\n} : {};\nexport default GridRow;","import _toConsumableArray from \"@babel/runtime/helpers/toConsumableArray\";\nimport _extends from \"@babel/runtime/helpers/extends\";\nimport cx from 'classnames';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport { customPropTypes, getElementType, getUnhandledProps, SUI, useKeyOnly, useKeyOrValueAndKey, useMultipleProp, useTextAlignProp, useVerticalAlignProp, useWidthProp } from '../../lib';\nimport GridColumn from './GridColumn';\nimport GridRow from './GridRow';\n/**\n * A grid is used to harmonize negative space in a layout.\n */\n\nfunction Grid(props) {\n  var celled = props.celled,\n      centered = props.centered,\n      children = props.children,\n      className = props.className,\n      columns = props.columns,\n      container = props.container,\n      divided = props.divided,\n      doubling = props.doubling,\n      inverted = props.inverted,\n      padded = props.padded,\n      relaxed = props.relaxed,\n      reversed = props.reversed,\n      stackable = props.stackable,\n      stretched = props.stretched,\n      textAlign = props.textAlign,\n      verticalAlign = props.verticalAlign;\n  var classes = cx('ui', useKeyOnly(centered, 'centered'), useKeyOnly(container, 'container'), useKeyOnly(doubling, 'doubling'), useKeyOnly(inverted, 'inverted'), useKeyOnly(stackable, 'stackable'), useKeyOnly(stretched, 'stretched'), useKeyOrValueAndKey(celled, 'celled'), useKeyOrValueAndKey(divided, 'divided'), useKeyOrValueAndKey(padded, 'padded'), useKeyOrValueAndKey(relaxed, 'relaxed'), useMultipleProp(reversed, 'reversed'), useTextAlignProp(textAlign), useVerticalAlignProp(verticalAlign), useWidthProp(columns, 'column', true), 'grid', className);\n  var rest = getUnhandledProps(Grid, props);\n  var ElementType = getElementType(Grid, props);\n  return React.createElement(ElementType, _extends({}, rest, {\n    className: classes\n  }), children);\n}\n\nGrid.handledProps = [\"as\", \"celled\", \"centered\", \"children\", \"className\", \"columns\", \"container\", \"divided\", \"doubling\", \"inverted\", \"padded\", \"relaxed\", \"reversed\", \"stackable\", \"stretched\", \"textAlign\", \"verticalAlign\"];\nGrid.Column = GridColumn;\nGrid.Row = GridRow;\nGrid.propTypes = process.env.NODE_ENV !== \"production\" ? {\n  /** An element type to render as (string or function). */\n  as: customPropTypes.as,\n\n  /** A grid can have rows divided into cells. */\n  celled: PropTypes.oneOfType([PropTypes.bool, PropTypes.oneOf(['internally'])]),\n\n  /** A grid can have its columns centered. */\n  centered: PropTypes.bool,\n\n  /** Primary content. */\n  children: PropTypes.node,\n\n  /** Additional classes. */\n  className: PropTypes.string,\n\n  /** Represents column count per row in Grid. */\n  columns: PropTypes.oneOf(_toConsumableArray(SUI.WIDTHS).concat(['equal'])),\n\n  /** A grid can be combined with a container to use the available layout and alignment. */\n  container: PropTypes.bool,\n\n  /** A grid can have dividers between its columns. */\n  divided: PropTypes.oneOfType([PropTypes.bool, PropTypes.oneOf(['vertically'])]),\n\n  /** A grid can double its column width on tablet and mobile sizes. */\n  doubling: PropTypes.bool,\n\n  /** A grid's colors can be inverted. */\n  inverted: PropTypes.bool,\n\n  /** A grid can preserve its vertical and horizontal gutters on first and last columns. */\n  padded: PropTypes.oneOfType([PropTypes.bool, PropTypes.oneOf(['horizontally', 'vertically'])]),\n\n  /** A grid can increase its gutters to allow for more negative space. */\n  relaxed: PropTypes.oneOfType([PropTypes.bool, PropTypes.oneOf(['very'])]),\n\n  /** A grid can specify that its columns should reverse order at different device sizes. */\n  reversed: customPropTypes.multipleProp(['computer', 'computer vertically', 'mobile', 'mobile vertically', 'tablet', 'tablet vertically']),\n\n  /** A grid can have its columns stack on-top of each other after reaching mobile breakpoints. */\n  stackable: PropTypes.bool,\n\n  /** A grid can stretch its contents to take up the entire grid height. */\n  stretched: PropTypes.bool,\n\n  /** A grid can specify its text alignment. */\n  textAlign: PropTypes.oneOf(SUI.TEXT_ALIGNMENTS),\n\n  /** A grid can specify its vertical alignment to have all its columns vertically centered. */\n  verticalAlign: PropTypes.oneOf(SUI.VERTICAL_ALIGNMENTS)\n} : {};\nexport default Grid;"],"sourceRoot":""}