openstack-uicore-foundation 4.1.43 → 4.1.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/ajaxloader.js +2 -184
- package/lib/components/ajaxloader.js.map +1 -0
- package/lib/components/attendance-tracker.js +2 -2066
- package/lib/components/attendance-tracker.js.map +1 -0
- package/lib/components/bulk-actions-selector.js +2 -197
- package/lib/components/bulk-actions-selector.js.map +1 -0
- package/lib/components/circle-button.js +2 -223
- package/lib/components/circle-button.js.map +1 -0
- package/lib/components/clock.js +2 -767
- package/lib/components/clock.js.map +1 -0
- package/lib/components/exclusive-wrapper.js +2 -151
- package/lib/components/exclusive-wrapper.js.map +1 -0
- package/lib/components/extra-questions.js +2 -2011
- package/lib/components/extra-questions.js.map +1 -0
- package/lib/components/form-validation.js +2 -190
- package/lib/components/form-validation.js.map +1 -0
- package/lib/components/forms/rsvp-form.js +2 -940
- package/lib/components/forms/rsvp-form.js.map +1 -0
- package/lib/components/forms/simple-form.js +2 -774
- package/lib/components/forms/simple-form.js.map +1 -0
- package/lib/components/free-text-search.js +2 -2154
- package/lib/components/free-text-search.js.map +1 -0
- package/lib/components/google-map.js +2 -642
- package/lib/components/google-map.js.map +1 -0
- package/lib/components/index.js +2 -13417
- package/lib/components/index.js.map +1 -0
- package/lib/components/inputs/access-levels-input.js +2 -2381
- package/lib/components/inputs/access-levels-input.js.map +1 -0
- package/lib/components/inputs/action-dropdown.js +2 -219
- package/lib/components/inputs/action-dropdown.js.map +1 -0
- package/lib/components/inputs/checkbox-list.js +2 -339
- package/lib/components/inputs/checkbox-list.js.map +1 -0
- package/lib/components/inputs/company-input.js +2 -2416
- package/lib/components/inputs/company-input.js.map +1 -0
- package/lib/components/inputs/country-dropdown.js +2 -2474
- package/lib/components/inputs/country-dropdown.js.map +1 -0
- package/lib/components/inputs/country-input.js +2 -2377
- package/lib/components/inputs/country-input.js.map +1 -0
- package/lib/components/inputs/datetimepicker.js +2 -314
- package/lib/components/inputs/datetimepicker.js.map +1 -0
- package/lib/components/inputs/dropdown.js +2 -259
- package/lib/components/inputs/dropdown.js.map +1 -0
- package/lib/components/inputs/editor-input.js +2 -270
- package/lib/components/inputs/editor-input.js.map +1 -0
- package/lib/components/inputs/event-input.js +2 -2355
- package/lib/components/inputs/event-input.js.map +1 -0
- package/lib/components/inputs/free-multi-text-input.js +2 -252
- package/lib/components/inputs/free-multi-text-input.js.map +1 -0
- package/lib/components/inputs/group-input.js +2 -2350
- package/lib/components/inputs/group-input.js.map +1 -0
- package/lib/components/inputs/grouped-dropdown.js +2 -244
- package/lib/components/inputs/grouped-dropdown.js.map +1 -0
- package/lib/components/inputs/language-input.js +2 -2382
- package/lib/components/inputs/language-input.js.map +1 -0
- package/lib/components/inputs/member-input.js +2 -2377
- package/lib/components/inputs/member-input.js.map +1 -0
- package/lib/components/inputs/operator-input.js +2 -328
- package/lib/components/inputs/operator-input.js.map +1 -0
- package/lib/components/inputs/organization-input.js +2 -2400
- package/lib/components/inputs/organization-input.js.map +1 -0
- package/lib/components/inputs/promocode-input.js +2 -2385
- package/lib/components/inputs/promocode-input.js.map +1 -0
- package/lib/components/inputs/radio-list.js +2 -297
- package/lib/components/inputs/radio-list.js.map +1 -0
- package/lib/components/inputs/registration-company-input.js +2 -2438
- package/lib/components/inputs/registration-company-input.js.map +1 -0
- package/lib/components/inputs/speaker-input.js +2 -2411
- package/lib/components/inputs/speaker-input.js.map +1 -0
- package/lib/components/inputs/sponsor-input.js +2 -2359
- package/lib/components/inputs/sponsor-input.js.map +1 -0
- package/lib/components/inputs/stepped-select.js +2 -197
- package/lib/components/inputs/stepped-select.js.map +1 -0
- package/lib/components/inputs/summit-days-select.js +2 -162
- package/lib/components/inputs/summit-days-select.js.map +1 -0
- package/lib/components/inputs/summit-input.js +2 -2357
- package/lib/components/inputs/summit-input.js.map +1 -0
- package/lib/components/inputs/summit-venues-select.js +2 -203
- package/lib/components/inputs/summit-venues-select.js.map +1 -0
- package/lib/components/inputs/tag-input.js +2 -2427
- package/lib/components/inputs/tag-input.js.map +1 -0
- package/lib/components/inputs/text-input.js +2 -202
- package/lib/components/inputs/text-input.js.map +1 -0
- package/lib/components/inputs/textarea-input.js +2 -174
- package/lib/components/inputs/textarea-input.js.map +1 -0
- package/lib/components/inputs/ticket-types-input.js +2 -2415
- package/lib/components/inputs/ticket-types-input.js.map +1 -0
- package/lib/components/inputs/upload-input-v2.js +2 -860
- package/lib/components/inputs/upload-input-v2.js.map +1 -0
- package/lib/components/inputs/upload-input.js +2 -391
- package/lib/components/inputs/upload-input.js.map +1 -0
- package/lib/components/progressive-img.js +2 -296
- package/lib/components/progressive-img.js.map +1 -0
- package/lib/components/raw-html.js +2 -125
- package/lib/components/raw-html.js.map +1 -0
- package/lib/components/schedule-builder-constants.js +2 -87
- package/lib/components/schedule-builder-constants.js.map +1 -0
- package/lib/components/schedule-builder-view.js +2 -2188
- package/lib/components/schedule-builder-view.js.map +1 -0
- package/lib/components/sections/panel.js +2 -156
- package/lib/components/sections/panel.js.map +1 -0
- package/lib/components/simple-link-list.js +2 -790
- package/lib/components/simple-link-list.js.map +1 -0
- package/lib/components/sponsored-project-input.js +2 -2356
- package/lib/components/sponsored-project-input.js.map +1 -0
- package/lib/components/summit-dropdown.js +2 -214
- package/lib/components/summit-dropdown.js.map +1 -0
- package/lib/components/table-editable.js +2 -961
- package/lib/components/table-editable.js.map +1 -0
- package/lib/components/table-selectable.js +2 -552
- package/lib/components/table-selectable.js.map +1 -0
- package/lib/components/table-sortable.js +2 -743
- package/lib/components/table-sortable.js.map +1 -0
- package/lib/components/table.js +2 -510
- package/lib/components/table.js.map +1 -0
- package/lib/components/video-stream.js +2 -226
- package/lib/components/video-stream.js.map +1 -0
- package/lib/css/components/bulk-actions-selector.css +2 -19
- package/lib/css/components/bulk-actions-selector.css.map +1 -0
- package/lib/css/components/circle-button.css +1 -28
- package/lib/css/components/extra-questions.css +2 -35
- package/lib/css/components/extra-questions.css.map +1 -0
- package/lib/css/components/form-validation.css +2 -29
- package/lib/css/components/form-validation.css.map +1 -0
- package/lib/css/components/free-text-search.css +2 -35
- package/lib/css/components/free-text-search.css.map +1 -0
- package/lib/css/components/index.css +3 -1398
- package/lib/css/components/index.css.map +1 -0
- package/lib/css/components/inputs/action-dropdown.css +2 -46
- package/lib/css/components/inputs/action-dropdown.css.map +1 -0
- package/lib/css/components/inputs/datetimepicker.css +2 -208
- package/lib/css/components/inputs/datetimepicker.css.map +1 -0
- package/lib/css/components/inputs/grouped-dropdown.css +2 -25
- package/lib/css/components/inputs/grouped-dropdown.css.map +1 -0
- package/lib/css/components/inputs/stepped-select.css +2 -12
- package/lib/css/components/inputs/stepped-select.css.map +1 -0
- package/lib/css/components/inputs/upload-input-v2.css +2 -108
- package/lib/css/components/inputs/upload-input-v2.css.map +1 -0
- package/lib/css/components/inputs/upload-input.css +2 -43
- package/lib/css/components/inputs/upload-input.css.map +1 -0
- package/lib/css/components/progressive-img.css +1 -18
- package/lib/css/components/schedule-builder-view.css +2 -249
- package/lib/css/components/schedule-builder-view.css.map +1 -0
- package/lib/css/components/simple-link-list.css +2 -195
- package/lib/css/components/simple-link-list.css.map +1 -0
- package/lib/css/components/summit-dropdown.css +2 -35
- package/lib/css/components/summit-dropdown.css.map +1 -0
- package/lib/css/components/table-editable.css +2 -145
- package/lib/css/components/table-editable.css.map +1 -0
- package/lib/css/components/table-selectable.css +2 -147
- package/lib/css/components/table-selectable.css.map +1 -0
- package/lib/css/components/table-sortable.css +2 -156
- package/lib/css/components/table-sortable.css.map +1 -0
- package/lib/css/components/table.css +2 -147
- package/lib/css/components/table.css.map +1 -0
- package/lib/i18n.js +2 -515
- package/lib/i18n.js.map +1 -0
- package/lib/models/index.js +2 -238
- package/lib/models/index.js.map +1 -0
- package/lib/models/summit-event.js +2 -210
- package/lib/models/summit-event.js.map +1 -0
- package/lib/security/abstract-auth-callback-route.js +2 -2192
- package/lib/security/abstract-auth-callback-route.js.map +1 -0
- package/lib/security/actions.js +2 -1892
- package/lib/security/actions.js.map +1 -0
- package/lib/security/constants.js +2 -75
- package/lib/security/constants.js.map +1 -0
- package/lib/security/methods.js +2 -1892
- package/lib/security/methods.js.map +1 -0
- package/lib/security/reducers.js +2 -2035
- package/lib/security/reducers.js.map +1 -0
- package/lib/security/session-checker.js +2 -2253
- package/lib/security/session-checker.js.map +1 -0
- package/lib/utils/actions.js +2 -1892
- package/lib/utils/actions.js.map +1 -0
- package/lib/utils/fragment-parser.js +2 -207
- package/lib/utils/fragment-parser.js.map +1 -0
- package/lib/utils/methods.js +2 -435
- package/lib/utils/methods.js.map +1 -0
- package/lib/utils/query-actions.js +2 -2229
- package/lib/utils/query-actions.js.map +1 -0
- package/lib/utils/questions-set.js +2 -681
- package/lib/utils/questions-set.js.map +1 -0
- package/lib/utils/reducers.js +2 -1948
- package/lib/utils/reducers.js.map +1 -0
- package/lib/utils/use-fit-text.js +2 -178
- package/lib/utils/use-fit-text.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components/table-selectable.js","mappings":"CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,8BAA+B,GAAIH,GAChB,iBAAZC,QACdA,QAAQ,+BAAiCD,IAEzCD,EAAK,+BAAiCC,GACvC,CATD,CASGK,MAAM,I,sFCPT,MAIA,EAJgB,EAAEC,WAAUC,kBAAiB,EAAOC,YAAY,MAC5D,0BAAMA,UAAWA,EACXC,wBAAyB,CAAEC,OAAQH,EAAiBD,aAAH,EAAGA,EAAUK,QAAQ,MAAO,UAAYL,I,UCJnGJ,EAAOD,QAAUW,QAAQ,a,WCAzBV,EAAOD,QAAUW,QAAQ,Q,WCAzBV,EAAOD,QAAUW,QAAQ,gB,GCCrBC,EAA2B,CAAC,EAGhC,SAASC,EAAoBC,GAE5B,IAAIC,EAAeH,EAAyB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/EwC,CAAP,EA4E6BE,CAAUR,EAAKV,EAASD,EAAQvB,cAMjD,kBAAC,IAAD,CAAc2C,UAAW,KAGpC,EAIL,S","sources":["webpack://openstack-uicore-foundation/webpack/universalModuleDefinition","webpack://openstack-uicore-foundation/./src/components/raw-html/index.js","webpack://openstack-uicore-foundation/external commonjs \"prop-types\"","webpack://openstack-uicore-foundation/external commonjs \"react\"","webpack://openstack-uicore-foundation/external commonjs \"react-tooltip\"","webpack://openstack-uicore-foundation/webpack/bootstrap","webpack://openstack-uicore-foundation/webpack/runtime/compat get default export","webpack://openstack-uicore-foundation/webpack/runtime/define property getters","webpack://openstack-uicore-foundation/webpack/runtime/hasOwnProperty shorthand","webpack://openstack-uicore-foundation/webpack/runtime/make namespace object","webpack://openstack-uicore-foundation/./src/components/table-selectable/SelectableTableHeading.js","webpack://openstack-uicore-foundation/./src/components/table-selectable/SelectableTableCell.js","webpack://openstack-uicore-foundation/./src/components/table-selectable/SelectableTableRow.js","webpack://openstack-uicore-foundation/./src/components/table-selectable/SelectableActionsTableCell.js","webpack://openstack-uicore-foundation/./src/components/table-selectable/SelectableTable.js"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"openstack-uicore-foundation\", [], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"openstack-uicore-foundation\"] = factory();\n\telse\n\t\troot[\"openstack-uicore-foundation\"] = factory();\n})(this, () => {\nreturn ","import React from 'react';\n\nconst RawHTML = ({children, replaceNewLine = false, className = \"\"}) =>\n <span className={className}\n dangerouslySetInnerHTML={{ __html: replaceNewLine ? children?.replace(/\\n/g, '<br />') : children}} />\n\nexport default RawHTML;","module.exports = require(\"prop-types\");","module.exports = require(\"react\");","module.exports = require(\"react-tooltip\");","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","import React from 'react';\nimport PropTypes from 'prop-types';\n\nclass SelectableTableHeading extends React.Component {\n\n\tconstructor (props) {\n\t\tsuper(props);\n\t\tthis.handleSort = this.handleSort.bind(this);\n\t}\n\n\tgetSortClass() {\n\n\t\tif (!this.props.sortable) return null;\n\n\t\tswitch(this.props.sortDir) {\n\t\t\tcase 1:\n\t\t\t\treturn 'sorting_asc';\n\t\t\tcase -1:\n\t\t\t\treturn 'sorting_desc';\n\t\t\tdefault:\n\t\t\t\treturn this.props.sortable ? 'sorting' : null\n\t\t}\n\t}\n\n\thandleSort(e) {\n\t\te.preventDefault();\n\t\tif(!this.props.hasOwnProperty('onSort') || !this.props.sortable) return;\n\n\t\tthis.props.onSort(\n\t\t\tthis.props.columnIndex,\n\t\t\tthis.props.columnKey,\n\t\t\tthis.props.sortDir ? this.props.sortDir*-1 : 1,\n\t\t\tthis.props.sortFunc\n\t\t);\n\t}\n\n\trender () {\n\t\treturn (\n\t\t\t<th onClick={this.handleSort}\n\t\t\t\tclassName={this.getSortClass()}\n\t\t\t\twidth={this.props.width}\n\t\t\t\t>\n\t\t\t\t{this.props.children}\n\t\t\t</th>\n\t\t);\t\n\t}\n\t\n}\n\nSelectableTableHeading.propTypes = {\n\tonSort: PropTypes.func,\n\tsortDir: PropTypes.number,\n\tcolumnIndex: PropTypes.number,\n\tcolumnKey: PropTypes.any,\n\tsortable: PropTypes.bool,\n\tsortFunc: PropTypes.func\n};\n\nexport default SelectableTableHeading;","import React from 'react';\nimport RawHTML from '../raw-html';\n\nconst SelectableTableCell = (props) => {\n let {children} = props;\n\tlet value = '';\n\tif(children) {\n\t if (React.isValidElement(children)) {\n\t value = children;\n } else {\n\t value = <RawHTML>{children.toString()}</RawHTML>\n }\n }\n\n\treturn (\n\t\t<td {...props}>\n {value}\n\t\t</td>\n\t);\n};\n\nexport default SelectableTableCell;\n","import React from 'react';\n\nexport default class SelectableTableRow extends React.Component {\n\n constructor(props) {\n super(props);\n this.handleEdit = this.handleEdit.bind(this);\n this.handleSelect = this.handleSelect.bind(this);\n }\n\n shouldDisplayAction(action) {\n let {id} = this.props;\n if (!action.hasOwnProperty('display')) {\n return true;\n } else {\n return action.display(id);\n }\n }\n\n handleEdit(id, ev) {\n // by pass\n if(ev.target.type === \"checkbox\")\n return;\n ev.stopPropagation();\n ev.preventDefault();\n this.props.actions.edit.onClick(id);\n }\n\n handleSelect(id, ev) {\n this.props.actions.edit.onSelected(id, ev.target.checked);\n }\n\n render() {\n\n let {even, actions, id, children, checked} = this.props;\n let canEdit = (actions.hasOwnProperty('edit') && this.shouldDisplayAction(actions.edit));\n let rowClass = even ? 'even' : 'odd';\n\n if (canEdit) {\n return (\n <tr role=\"row\" className={rowClass + \" can-edit\"} onClick={this.handleEdit.bind(this, id)}>\n <td key={id + '_select'}><input type=\"checkbox\" id={id + '_select'} name={id + '_select'}\n checked={checked}\n onChange={this.handleSelect.bind(this, id)}/></td>\n {children}\n </tr>\n );\n }\n\n return (\n <tr role=\"row\" className={rowClass}>\n <td key={id + '_select'} ><input type=\"checkbox\" id={id + '_select'} name={id + '_select'}\n checked={checked}\n onChange={this.handleSelect.bind(this, id)}/></td>\n {children}\n </tr>\n );\n\n }\n};\n\n","import React from 'react';\n\nexport default class SelectableActionsTableCell extends React.Component {\n\n constructor(props) {\n super(props);\n\n this.handleAction = this.handleAction.bind(this);\n this.shouldDisplayAction = this.shouldDisplayAction.bind(this);\n\n }\n\n shouldDisplayAction(action) {\n let {id} = this.props;\n\n if (!action.hasOwnProperty('display')) {\n return true;\n } else {\n return action.display(id);\n }\n }\n\n handleAction(action, id, ev) {\n ev.stopPropagation();\n ev.preventDefault();\n\n action(id);\n }\n\n render() {\n let {actions, id} = this.props;\n return (\n <td className=\"actions\" key=\"actions\">\n {actions.hasOwnProperty('delete') && this.shouldDisplayAction(actions.delete) &&\n <a href=\"\" data-tip=\"delete\" onClick={this.handleAction.bind(this, actions.delete.onClick, id)} >\n <i className=\"fa fa-trash-o delete-icon\"></i>\n </a>\n }\n {actions.hasOwnProperty('custom') && actions.custom.map(a =>\n this.shouldDisplayAction(a) &&\n <a href=\"\" data-tip={a.tooltip} key={'custom_' + a.name} onClick={this.handleAction.bind(this, a.onClick, id)}>\n {a.icon}\n </a>\n )}\n </td>\n );\n }\n};\n","import React from 'react';\nimport SelectableTableHeading from './SelectableTableHeading';\nimport SelectableTableCell from './SelectableTableCell';\nimport SelectableTableRow from './SelectableTableRow';\nimport SelectableActionsTableCell from './SelectableActionsTableCell';\nimport ReactTooltip from 'react-tooltip'\nimport './selectable-table.css';\n\nconst defaults = {\n sortFunc: (a,b) => (a < b ? -1 : (a > b ? 1 : 0)),\n sortable: false,\n sortCol: 0,\n sortDir: 1,\n colWidth: ''\n}\n\nconst createRow = (row, columns, actions) => {\n\n var action_buttons = '';\n var cells = columns.map((col,i) => {\n if(col.hasOwnProperty(\"render\"))\n return (\n <SelectableTableCell key={row['id'] + '_field' + i} name={col.columnKey} id={row.id} >\n {col.render(row, row[col.columnKey])}\n </SelectableTableCell>\n );\n\n return (\n <SelectableTableCell key={row['id'] + '_field' + i} name={col.columnKey} id={row.id}>\n {row[col.columnKey]}\n </SelectableTableCell>\n );\n });\n\n if (actions) {\n cells.push(<SelectableActionsTableCell key='actions_cell' id={row['id']} actions={actions} />);\n }\n\n return cells;\n};\n\nconst getSortDir = (columnKey, columnIndex, sortCol, sortDir) => {\n if(columnKey && (columnKey === sortCol)) {\n return sortDir;\n }\n if(sortCol === columnIndex) {\n return sortDir;\n }\n return null\n};\n\n\nclass SelectableTable extends React.Component {\n\n constructor(props) {\n super(props);\n }\n\n render() {\n let {options, columns} = this.props;\n let selectedIds = options.hasOwnProperty('selectedIds') ? options.selectedIds : [];\n let tableClass = options.hasOwnProperty('className') ? options.className : '';\n tableClass += (options.actions.hasOwnProperty('edit')) ? ' table-hover' : '';\n\n return (\n <div>\n <table className={\"table table-striped dataTable \" + tableClass}>\n <thead>\n <tr>\n <th>\n <input type=\"checkbox\" id=\"select_all\"\n name=\"select_all\"\n onChange={options.actions.edit.onSelectedAll}\n checked={options.selectedAll}/>\n </th>\n {columns.map((col,i) => {\n\n let sortCol = (typeof options.sortCol != 'undefined') ? options.sortCol : defaults.sortCol;\n let sortDir = (typeof options.sortDir != 'undefined') ? options.sortDir : defaults.sortDir;\n let sortFunc = (typeof options.sortFunc != 'undefined') ? options.sortFunc : defaults.sortFunc;\n let sortable = (typeof col.sortable != 'undefined') ? col.sortable : defaults.sortable;\n let colWidth = (typeof col.width != 'undefined') ? col.width : defaults.colWidth;\n\n return (\n <SelectableTableHeading\n onSort={this.props.onSort}\n sortDir={getSortDir(col.columnKey, i, sortCol, sortDir)}\n sortable={sortable}\n sortFunc={sortFunc}\n columnIndex={i}\n columnKey={col.columnKey}\n width={colWidth}\n key={'heading_'+i}\n >\n {col.value}\n </SelectableTableHeading>\n );\n })}\n {options.actions &&\n <SelectableTableHeading key='actions_heading' >\n {options.actionsHeader || ' '}\n </SelectableTableHeading>\n }\n </tr>\n </thead>\n <tbody>\n {columns.length > 0 && this.props.data.map((row,i) => {\n if(Array.isArray(row) && row.length !== columns.length) {\n console.warn(`Data at row ${i} is ${row.length}. It should be ${columns.length}.`);\n return <tr key={'row_'+i} />\n }\n\n return (\n <SelectableTableRow checked={options.selectedAll || selectedIds.includes(row['id'])} even={i%2 === 0} key={'row_'+row['id']} id={row['id']} actions={options.actions}>\n {createRow(row, columns, options.actions)}\n </SelectableTableRow>\n );\n })}\n </tbody>\n </table>\n <ReactTooltip delayShow={10} />\n </div>\n );\n }\n}\n\n\nexport default SelectableTable;\n"],"names":["root","factory","exports","module","define","amd","this","children","replaceNewLine","className","dangerouslySetInnerHTML","__html","replace","require","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__","n","getter","__esModule","d","a","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","r","Symbol","toStringTag","value","SelectableTableHeading","React","constructor","props","super","handleSort","bind","getSortClass","sortable","sortDir","e","preventDefault","onSort","columnIndex","columnKey","sortFunc","render","onClick","width","propTypes","PropTypes","toString","SelectableTableRow","handleEdit","handleSelect","shouldDisplayAction","action","id","display","ev","target","type","stopPropagation","actions","edit","onSelected","checked","even","rowClass","role","name","onChange","SelectableActionsTableCell","handleAction","delete","href","custom","map","tooltip","icon","defaults","b","sortCol","colWidth","getSortDir","SelectableTable","options","columns","selectedIds","tableClass","onSelectedAll","selectedAll","col","i","actionsHeader","length","data","row","Array","isArray","console","warn","includes","cells","push","createRow","delayShow"],"sourceRoot":""}
|