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 : 3.14.254.103
Current Path : /var/www/qptran/static/js/ |
| Current File : /var/www/qptran/static/js/18.aa15222c.chunk.js.map |
{"version":3,"sources":["../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","../node_modules/semantic-ui-react/dist/es/elements/Divider/Divider.js","app/dashboard/centerLog.js"],"names":["TableBody","props","children","className","classes","rest","getUnhandledProps","ElementType","getElementType","createElement","handledProps","defaultProps","as","propTypes","TableCell","active","collapsing","content","disabled","error","icon","negative","positive","selectable","singleLine","textAlign","verticalAlign","warning","width","isNil","Icon","create","TableHeader","fullWidth","TableFooter","TableHeaderCell","sorted","TableRow","cellAs","cells","cell","Table","attached","basic","celled","color","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","Divider","clearing","fitted","hidden","horizontal","section","vertical","CenterLog","state","searchlog","searchHandleLog","e","setState","value","console","log","this","style","display","stayle","to","type","onClick","window","location","reload","class","Group","Field","Input","placeholder","float","onChange","logtable","filter","f","fcntrcode","toLowerCase","includes","fcollname","fdoe","fenttype","map","el","i","key","fip","Component"],"mappings":"0LAMA,SAASA,EAAUC,GACjB,IAAIC,EAAWD,EAAMC,SACjBC,EAAYF,EAAME,UAClBC,EAAU,YAAGD,GACbE,EAAO,OAAAC,EAAA,GAAkBN,EAAWC,GACpCM,EAAc,OAAAC,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YAAU,EACVC,UAAU,UAHZ,WAOA,kBAAC,IAAM8C,WAAP,CACEmB,MAAO,CAAE9D,MAAO,OAChBH,UAAU,UAFZ,QAMA,kBAAC,IAAM8C,WAAP,CACEmB,MAAO,CAAE9D,MAAO,OAChBH,UAAU,UAFZ,eAMA,kBAAC,IAAM8C,WAAP,CACEmB,MAAO,CAAE9D,MAAO,OAChBH,UAAU,UAFZ,eAMA,kBAAC,IAAM8C,WAAP,CACEmB,MAAO,CAAE9D,MAAO,OAChBH,UAAU,UAFZ,cAMA,kBAAC,IAAM8C,WAAP,CACEmB,MAAO,CAAE9D,MAAO,OAChBH,UAAU,UAFZ,gBAQJ,kBAAC,IAAM0C,KAAP,KACGsB,KAAKxF,MAAMyG,SACTC,QACC,SAACC,GAAD,OACEA,EAAEC,UAAUC,cAAcC,SAAS7B,IACnC0B,EAAEI,UAAUF,cAAcC,SAAS7B,IACnC0B,EAAEK,KAAKH,cAAcC,SAAS7B,IAC9B0B,EAAEM,SAASJ,cAAcC,SAAS7B,MAErCiC,KAAI,SAACC,EAAIC,GACR,OACE,kBAAC,IAAM7C,IAAP,CAAW8C,IAAKD,GACd,kBAAC,IAAMjD,KAAP,CAAY3C,UAAU,UACnB4F,EAAI,GAEP,kBAAC,IAAMjD,KAAP,CAAY3C,UAAU,UACnB2F,EAAGH,MAEN,kBAAC,IAAM7C,KAAP,CAAY3C,UAAU,UACnB2F,EAAGP,WAEN,kBAAC,IAAMzC,KAAP,KAAagD,EAAGJ,WAChB,kBAAC,IAAM5C,KAAP,KAAagD,EAAGG,KAChB,kBAAC,IAAMnD,KAAP,CAAY3C,UAAU,UACnB2F,EAAGF,4BAjHxC,GAA+BM,aAmIhBxC","file":"static/js/18.aa15222c.chunk.js","sourcesContent":["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 _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 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 /*#__PURE__*/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: PropTypes.elementType,\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 React, { Component } from \"react\";\nimport { Form, Table, Divider } from \"semantic-ui-react\";\nimport { Link } from \"react-router-dom\";\n\nexport class CenterLog extends Component {\n state = {\n searchlog: \"\",\n };\n\n searchHandleLog = async (e, data) => {\n await this.setState({ searchlog: data.value });\n console.log(this.state.searchlog);\n };\n render() {\n const { searchlog } = this.state;\n return (\n <div>\n <div className=\"page\">\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>Logged deatils</h4>\n <div className=\"ml-auto\" stayle={{ display: \"flex\" }}>\n <Link to=\"./dashboard\">\n <button\n type=\"button\"\n className=\"btn btn-danger btn-fw\"\n onClick={() => window.location.reload()}\n >\n <span class=\"mdi mdi-exit-to-app\"></span>\n Back\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 <Form.Input\n type=\"text\"\n placeholder=\"Search\"\n style={{ float: \"right\" }}\n value={searchlog}\n onChange={this.searchHandleLog}\n />\n </Form.Field>\n </Form.Group>\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: \"10%\" }}\n textAlign=\"center\"\n >\n Date\n </Table.HeaderCell>\n <Table.HeaderCell\n style={{ width: \"10%\" }}\n textAlign=\"center\"\n >\n Center Code\n </Table.HeaderCell>\n <Table.HeaderCell\n style={{ width: \"30%\" }}\n textAlign=\"center\"\n >\n Center Name\n </Table.HeaderCell>\n <Table.HeaderCell\n style={{ width: \"25%\" }}\n textAlign=\"center\"\n >\n IP Address\n </Table.HeaderCell>\n <Table.HeaderCell\n style={{ width: \"25%\" }}\n textAlign=\"center\"\n >\n Logged/Not\n </Table.HeaderCell>\n </Table.Row>\n </Table.Header>\n <Table.Body>\n {this.props.logtable\n .filter(\n (f) =>\n f.fcntrcode.toLowerCase().includes(searchlog) ||\n f.fcollname.toLowerCase().includes(searchlog) ||\n f.fdoe.toLowerCase().includes(searchlog) ||\n f.fenttype.toLowerCase().includes(searchlog)\n )\n .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.fdoe}\n </Table.Cell>\n <Table.Cell textAlign=\"center\">\n {el.fcntrcode}\n </Table.Cell>\n <Table.Cell>{el.fcollname}</Table.Cell>\n <Table.Cell>{el.fip}</Table.Cell>\n <Table.Cell textAlign=\"center\">\n {el.fenttype}\n </Table.Cell>\n </Table.Row>\n );\n })}\n </Table.Body>\n </Table>\n </div>\n </Form>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n );\n }\n}\nexport default CenterLog;\n"],"sourceRoot":""}
|