Completely updated React, fixed #11, (hopefully)
This commit is contained in:
1 parent
6e0afd6e2a
commit
34e5f5139a
13674 files changed
+333460
-473219
No files matched your search
Generated
Vendored
+1024
-1056
File diff suppressed because it is too large.
Load diff
Generated
Vendored
+1
-1
@@ -1 +1 @@
|
||||
{"version":3,"file":"dx-react-grid-material-ui.cjs.js","sources":["../src/templates/layout.jsx","../src/grid.jsx","../src/templates/column-chooser-container.jsx","../src/templates/column-chooser-item.jsx","../src/column-chooser.jsx","../src/templates/drag-drop.jsx","../src/plugins/drag-drop-context.jsx","../src/templates/page-size-selector.jsx","../src/templates/pagination.jsx","../src/templates/pager.jsx","../src/plugins/paging-panel.jsx","../src/templates/group-panel.jsx","../src/templates/group-panel-item.jsx","../src/plugins/grouping-panel.jsx","../src/templates/table-detail-toggle-cell.jsx","../src/templates/table-detail-cell.jsx","../src/templates/table-row.jsx","../src/plugins/table-row-detail.jsx","../src/templates/table-group-row-cell.jsx","../src/plugins/table-group-row.jsx","../src/templates/table-select-all-cell.jsx","../src/templates/table-select-cell.jsx","../src/templates/table-select-row.jsx","../src/plugins/table-selection.jsx","../src/templates/table-container.jsx","../src/templates/table.jsx","../src/templates/table-layout.jsx","../src/templates/table-cell.jsx","../src/templates/table-stub-cell.jsx","../src/templates/table-no-data-cell.jsx","../src/plugins/table-view.jsx","../src/templates/virtual-table-layout.jsx","../src/plugins/virtual-table-view.jsx","../src/templates/table-filter-cell.jsx","../src/plugins/table-filter-row.jsx","../src/templates/table-header-cell/grouping-control.jsx","../src/templates/table-header-cell/resizing-control.jsx","../src/templates/table-header-cell/sorting-control.jsx","../src/templates/table-header-cell.jsx","../src/plugins/table-header-row.jsx","../src/templates/table-edit-command-cell.jsx","../src/plugins/table-edit-column.jsx","../src/templates/table-edit-cell.jsx","../src/plugins/table-edit-row.jsx","../src/templates/empty-message.jsx","../src/plugins/table-column-visibility.jsx","../src/templates/table-reordering-cell.jsx","../src/plugins/table-column-reordering.jsx","../src/plugins/table-column-resizing.jsx"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport { withStyles } from 'material-ui/styles';\nimport { Paper } from 'material-ui';\n\nconst styles = theme => ({\n headingPanel: {\n paddingLeft: '12px',\n paddingRight: '12px',\n paddingTop: '12px',\n borderBottom: `1px solid ${theme.palette.text.lightDivider}`,\n },\n footerPanel: {\n padding: '12px',\n },\n});\n\nexport const Root = ({\n headerTemplate,\n bodyTemplate,\n footerTemplate,\n}) => (\n <Paper>\n {headerTemplate()}\n {bodyTemplate()}\n {footerTemplate()}\n </Paper>\n);\n\nRoot.propTypes = {\n headerTemplate: PropTypes.func.isRequired,\n bodyTemplate: PropTypes.func.isRequired,\n footerTemplate: PropTypes.func.isRequired,\n};\n\nconst HeaderBase = ({ children, classes }) =>\n children && <div className={classes.headingPanel}>{children}</div>;\n\nHeaderBase.propTypes = {\n children: PropTypes.node,\n classes: PropTypes.object.isRequired,\n};\n\nHeaderBase.defaultProps = {\n children: null,\n};\n\nexport const Header = withStyles(styles, { name: 'GridLayout' })(HeaderBase);\n\nconst FooterBase = ({ children, classes }) =>\n children && <div className={classes.footerPanel}>{children}</div>;\n\nFooterBase.propTypes = {\n children: PropTypes.node,\n classes: PropTypes.object.isRequired,\n};\n\nFooterBase.defaultProps = {\n children: null,\n};\n\nexport const Footer = withStyles(styles, { name: 'GridLayout' })(FooterBase);\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Grid as GridBase } from '@devexpress/dx-react-grid';\nimport { Root, Header, Footer } from './templates/layout';\n\nconst rootTemplate = props => <Root {...props} />;\nconst headerPlaceholderTemplate = props => <Header {...props} />;\nconst footerPlaceholderTemplate = props => <Footer {...props} />;\n\nexport const Grid = ({ children, ...props }) => (\n <GridBase\n rootTemplate={rootTemplate}\n headerPlaceholderTemplate={headerPlaceholderTemplate}\n footerPlaceholderTemplate={footerPlaceholderTemplate}\n {...props}\n >\n {children}\n </GridBase>\n);\n\nGrid.propTypes = {\n children: PropTypes.oneOfType([\n PropTypes.arrayOf(PropTypes.node),\n PropTypes.node,\n ]).isRequired,\n};\n\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport List from 'material-ui/List';\n\nexport const ColumnChooserContainer = ({ children }) => (\n <List dense>\n {children}\n </List>\n);\n\nColumnChooserContainer.propTypes = {\n children: PropTypes.arrayOf(PropTypes.node).isRequired,\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { ListItem, ListItemText } from 'material-ui/List';\nimport Checkbox from 'material-ui/Checkbox';\n\nexport const ColumnChooserItem = ({ item: { column, hidden }, onToggle }) => {\n const handleClick = () => onToggle();\n return (\n <ListItem\n key={column.name}\n button\n onClick={handleClick}\n >\n Line truncated
|
||||
{"version":3,"file":"dx-react-grid-material-ui.cjs.js","sources":["../src/templates/layout.jsx","../src/grid.jsx","../src/templates/column-chooser/overlay.jsx","../src/templates/column-chooser/container.jsx","../src/templates/column-chooser/toggle-button.jsx","../src/templates/column-chooser/item.jsx","../src/plugins/column-chooser.jsx","../src/templates/drag-drop.jsx","../src/plugins/drag-drop-provider.jsx","../src/templates/paging-panel/page-size-selector.jsx","../src/templates/paging-panel/pagination.jsx","../src/templates/utils.jsx","../src/templates/paging-panel/pager.jsx","../src/plugins/paging-panel.jsx","../src/templates/group-panel-container.jsx","../src/templates/group-panel-item.jsx","../src/templates/group-panel-empty-message.jsx","../src/plugins/grouping-panel.jsx","../src/templates/table-detail-toggle-cell.jsx","../src/templates/table-detail-cell.jsx","../src/templates/table-row.jsx","../src/plugins/table-row-detail.jsx","../src/templates/table-group-row-cell.jsx","../src/plugins/table-group-row.jsx","../src/templates/table-select-all-cell.jsx","../src/templates/table-select-cell.jsx","../src/templates/table-select-row.jsx","../src/plugins/table-selection.jsx","../src/templates/table-container.jsx","../src/templates/table.jsx","../src/templates/table-layout.jsx","../src/templates/table-cell.jsx","../src/templates/table-stub-cell.jsx","../src/templates/table-no-data-cell.jsx","../src/plugins/table.jsx","../src/templates/virtual-table-layout.jsx","../src/plugins/virtual-table.jsx","../src/templates/table-filter-cell.jsx","../src/plugins/table-filter-row.jsx","../src/templates/table-header-cell/grouping-control.jsx","../src/templates/table-header-cell/resizing-control.jsx","../src/templates/table-header-cell/sorting-control.jsx","../src/templates/table-header-cell.jsx","../src/plugins/table-header-row.jsx","../src/templates/table-edit-command-cell.jsx","../src/plugins/table-edit-column.jsx","../src/templates/table-edit-cell.jsx","../src/plugins/table-edit-row.jsx","../src/templates/empty-message.jsx","../src/plugins/table-column-visibility.jsx","../src/templates/table-reordering-cell.jsx","../src/plugins/table-column-reordering.jsx","../src/plugins/table-column-resizing.jsx","../src/templates/toolbar/toolbar.jsx","../src/templates/toolbar/flexible-space.jsx","../src/plugins/toolbar.jsx"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\n\nexport const Root = ({ children, ...restProps }) => (\n <div {...restProps}>{children}</div>\n);\n\nRoot.propTypes = {\n children: PropTypes.oneOfType([\n PropTypes.node,\n PropTypes.arrayOf(PropTypes.node),\n ]),\n};\n\nRoot.defaultProps = {\n children: undefined,\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Grid as GridBase } from '@devexpress/dx-react-grid';\nimport { Root } from './templates/layout';\n\nexport const Grid = ({ children, ...props }) => (\n <GridBase\n rootComponent={Root}\n {...props}\n >\n {children}\n </GridBase>\n);\n\nGrid.Root = Root;\n\nGrid.propTypes = {\n children: PropTypes.oneOfType([\n PropTypes.arrayOf(PropTypes.node),\n PropTypes.node,\n ]).isRequired,\n};\n\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport Popover from 'material-ui/Popover';\n\nexport const Overlay = ({\n visible, onHide,\n children, target,\n ...restProps\n}) => (\n <Popover\n open={visible}\n anchorEl={target}\n onClose={onHide}\n anchorOrigin={{ vertical: 'top', horizontal: 'right' }}\n transformOrigin={{ vertical: 'top', horizontal: 'right' }}\n {...restProps}\n >\n {children}\n </Popover>\n);\n\nOverlay.propTypes = {\n onHide: PropTypes.func.isRequired,\n children: PropTypes.node.isRequired,\n visible: PropTypes.bool,\n target: PropTypes.object,\n};\n\nOverlay.defaultProps = {\n visible: false,\n target: null,\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport List from 'material-ui/List';\n\nexport const Container = ({ children, ...restProps }) => (\n <List\n dense\n {...restProps}\n >\n {children}\n </List>\n);\n\nContainer.propTypes = {\n children: PropTypes.array.isRequired,\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport IconButton from 'material-ui/IconButton';\nimport Tooltip from 'material-ui/Tooltip';\nimport VisibilityOff from 'material-ui-icons/VisibilityOff';\n\nexport const ToggleButton = ({\n onToggle,\n getMessage,\n buttonRef,\n ...restProps\n}) => (\n <Tooltip\n title={getMessage('showColumnChooser')}\n placement=\"bottom\"\n enterDelay={300}\n {...restProps}\n >\n <IconButton\n onClick={onToggle}\n buttonRef={buttonRef}\n >\n <VisibilityOff />\n </IconButton>\n </Tooltip>\n);\n\nToggleButton.propTypes = {\n onToggle: PropTypes.func.isRequired,\n getMessage: PropTypes.func.isRequired,\n buttonRef: PropTypes.func.isRequired,\n};\n","import React from 'react';\nimportLine truncated
|
||||
Generated
Vendored
+997
-1031
File diff suppressed because it is too large.
Load diff
Generated
Vendored
+1
-1
@@ -1 +1 @@
|
||||
{"version":3,"file":"dx-react-grid-material-ui.es.js","sources":["../src/templates/layout.jsx","../src/grid.jsx","../src/templates/column-chooser-container.jsx","../src/templates/column-chooser-item.jsx","../src/column-chooser.jsx","../src/templates/drag-drop.jsx","../src/plugins/drag-drop-context.jsx","../src/templates/page-size-selector.jsx","../src/templates/pagination.jsx","../src/templates/pager.jsx","../src/plugins/paging-panel.jsx","../src/templates/group-panel.jsx","../src/templates/group-panel-item.jsx","../src/plugins/grouping-panel.jsx","../src/templates/table-detail-toggle-cell.jsx","../src/templates/table-detail-cell.jsx","../src/templates/table-row.jsx","../src/plugins/table-row-detail.jsx","../src/templates/table-group-row-cell.jsx","../src/plugins/table-group-row.jsx","../src/templates/table-select-all-cell.jsx","../src/templates/table-select-cell.jsx","../src/templates/table-select-row.jsx","../src/plugins/table-selection.jsx","../src/templates/table-container.jsx","../src/templates/table.jsx","../src/templates/table-layout.jsx","../src/templates/table-cell.jsx","../src/templates/table-stub-cell.jsx","../src/templates/table-no-data-cell.jsx","../src/plugins/table-view.jsx","../src/templates/virtual-table-layout.jsx","../src/plugins/virtual-table-view.jsx","../src/templates/table-filter-cell.jsx","../src/plugins/table-filter-row.jsx","../src/templates/table-header-cell/grouping-control.jsx","../src/templates/table-header-cell/resizing-control.jsx","../src/templates/table-header-cell/sorting-control.jsx","../src/templates/table-header-cell.jsx","../src/plugins/table-header-row.jsx","../src/templates/table-edit-command-cell.jsx","../src/plugins/table-edit-column.jsx","../src/templates/table-edit-cell.jsx","../src/plugins/table-edit-row.jsx","../src/templates/empty-message.jsx","../src/plugins/table-column-visibility.jsx","../src/templates/table-reordering-cell.jsx","../src/plugins/table-column-reordering.jsx","../src/plugins/table-column-resizing.jsx"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport { withStyles } from 'material-ui/styles';\nimport { Paper } from 'material-ui';\n\nconst styles = theme => ({\n headingPanel: {\n paddingLeft: '12px',\n paddingRight: '12px',\n paddingTop: '12px',\n borderBottom: `1px solid ${theme.palette.text.lightDivider}`,\n },\n footerPanel: {\n padding: '12px',\n },\n});\n\nexport const Root = ({\n headerTemplate,\n bodyTemplate,\n footerTemplate,\n}) => (\n <Paper>\n {headerTemplate()}\n {bodyTemplate()}\n {footerTemplate()}\n </Paper>\n);\n\nRoot.propTypes = {\n headerTemplate: PropTypes.func.isRequired,\n bodyTemplate: PropTypes.func.isRequired,\n footerTemplate: PropTypes.func.isRequired,\n};\n\nconst HeaderBase = ({ children, classes }) =>\n children && <div className={classes.headingPanel}>{children}</div>;\n\nHeaderBase.propTypes = {\n children: PropTypes.node,\n classes: PropTypes.object.isRequired,\n};\n\nHeaderBase.defaultProps = {\n children: null,\n};\n\nexport const Header = withStyles(styles, { name: 'GridLayout' })(HeaderBase);\n\nconst FooterBase = ({ children, classes }) =>\n children && <div className={classes.footerPanel}>{children}</div>;\n\nFooterBase.propTypes = {\n children: PropTypes.node,\n classes: PropTypes.object.isRequired,\n};\n\nFooterBase.defaultProps = {\n children: null,\n};\n\nexport const Footer = withStyles(styles, { name: 'GridLayout' })(FooterBase);\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Grid as GridBase } from '@devexpress/dx-react-grid';\nimport { Root, Header, Footer } from './templates/layout';\n\nconst rootTemplate = props => <Root {...props} />;\nconst headerPlaceholderTemplate = props => <Header {...props} />;\nconst footerPlaceholderTemplate = props => <Footer {...props} />;\n\nexport const Grid = ({ children, ...props }) => (\n <GridBase\n rootTemplate={rootTemplate}\n headerPlaceholderTemplate={headerPlaceholderTemplate}\n footerPlaceholderTemplate={footerPlaceholderTemplate}\n {...props}\n >\n {children}\n </GridBase>\n);\n\nGrid.propTypes = {\n children: PropTypes.oneOfType([\n PropTypes.arrayOf(PropTypes.node),\n PropTypes.node,\n ]).isRequired,\n};\n\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport List from 'material-ui/List';\n\nexport const ColumnChooserContainer = ({ children }) => (\n <List dense>\n {children}\n </List>\n);\n\nColumnChooserContainer.propTypes = {\n children: PropTypes.arrayOf(PropTypes.node).isRequired,\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { ListItem, ListItemText } from 'material-ui/List';\nimport Checkbox from 'material-ui/Checkbox';\n\nexport const ColumnChooserItem = ({ item: { column, hidden }, onToggle }) => {\n const handleClick = () => onToggle();\n return (\n <ListItem\n key={column.name}\n button\n onClick={handleClick}\n >\n Line truncated
|
||||
{"version":3,"file":"dx-react-grid-material-ui.es.js","sources":["../src/templates/layout.jsx","../src/grid.jsx","../src/templates/column-chooser/overlay.jsx","../src/templates/column-chooser/container.jsx","../src/templates/column-chooser/toggle-button.jsx","../src/templates/column-chooser/item.jsx","../src/plugins/column-chooser.jsx","../src/templates/drag-drop.jsx","../src/plugins/drag-drop-provider.jsx","../src/templates/paging-panel/page-size-selector.jsx","../src/templates/paging-panel/pagination.jsx","../src/templates/utils.jsx","../src/templates/paging-panel/pager.jsx","../src/plugins/paging-panel.jsx","../src/templates/group-panel-container.jsx","../src/templates/group-panel-item.jsx","../src/templates/group-panel-empty-message.jsx","../src/plugins/grouping-panel.jsx","../src/templates/table-detail-toggle-cell.jsx","../src/templates/table-detail-cell.jsx","../src/templates/table-row.jsx","../src/plugins/table-row-detail.jsx","../src/templates/table-group-row-cell.jsx","../src/plugins/table-group-row.jsx","../src/templates/table-select-all-cell.jsx","../src/templates/table-select-cell.jsx","../src/templates/table-select-row.jsx","../src/plugins/table-selection.jsx","../src/templates/table-container.jsx","../src/templates/table.jsx","../src/templates/table-layout.jsx","../src/templates/table-cell.jsx","../src/templates/table-stub-cell.jsx","../src/templates/table-no-data-cell.jsx","../src/plugins/table.jsx","../src/templates/virtual-table-layout.jsx","../src/plugins/virtual-table.jsx","../src/templates/table-filter-cell.jsx","../src/plugins/table-filter-row.jsx","../src/templates/table-header-cell/grouping-control.jsx","../src/templates/table-header-cell/resizing-control.jsx","../src/templates/table-header-cell/sorting-control.jsx","../src/templates/table-header-cell.jsx","../src/plugins/table-header-row.jsx","../src/templates/table-edit-command-cell.jsx","../src/plugins/table-edit-column.jsx","../src/templates/table-edit-cell.jsx","../src/plugins/table-edit-row.jsx","../src/templates/empty-message.jsx","../src/plugins/table-column-visibility.jsx","../src/templates/table-reordering-cell.jsx","../src/plugins/table-column-reordering.jsx","../src/plugins/table-column-resizing.jsx","../src/templates/toolbar/toolbar.jsx","../src/templates/toolbar/flexible-space.jsx","../src/plugins/toolbar.jsx"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\n\nexport const Root = ({ children, ...restProps }) => (\n <div {...restProps}>{children}</div>\n);\n\nRoot.propTypes = {\n children: PropTypes.oneOfType([\n PropTypes.node,\n PropTypes.arrayOf(PropTypes.node),\n ]),\n};\n\nRoot.defaultProps = {\n children: undefined,\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Grid as GridBase } from '@devexpress/dx-react-grid';\nimport { Root } from './templates/layout';\n\nexport const Grid = ({ children, ...props }) => (\n <GridBase\n rootComponent={Root}\n {...props}\n >\n {children}\n </GridBase>\n);\n\nGrid.Root = Root;\n\nGrid.propTypes = {\n children: PropTypes.oneOfType([\n PropTypes.arrayOf(PropTypes.node),\n PropTypes.node,\n ]).isRequired,\n};\n\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport Popover from 'material-ui/Popover';\n\nexport const Overlay = ({\n visible, onHide,\n children, target,\n ...restProps\n}) => (\n <Popover\n open={visible}\n anchorEl={target}\n onClose={onHide}\n anchorOrigin={{ vertical: 'top', horizontal: 'right' }}\n transformOrigin={{ vertical: 'top', horizontal: 'right' }}\n {...restProps}\n >\n {children}\n </Popover>\n);\n\nOverlay.propTypes = {\n onHide: PropTypes.func.isRequired,\n children: PropTypes.node.isRequired,\n visible: PropTypes.bool,\n target: PropTypes.object,\n};\n\nOverlay.defaultProps = {\n visible: false,\n target: null,\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport List from 'material-ui/List';\n\nexport const Container = ({ children, ...restProps }) => (\n <List\n dense\n {...restProps}\n >\n {children}\n </List>\n);\n\nContainer.propTypes = {\n children: PropTypes.array.isRequired,\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport IconButton from 'material-ui/IconButton';\nimport Tooltip from 'material-ui/Tooltip';\nimport VisibilityOff from 'material-ui-icons/VisibilityOff';\n\nexport const ToggleButton = ({\n onToggle,\n getMessage,\n buttonRef,\n ...restProps\n}) => (\n <Tooltip\n title={getMessage('showColumnChooser')}\n placement=\"bottom\"\n enterDelay={300}\n {...restProps}\n >\n <IconButton\n onClick={onToggle}\n buttonRef={buttonRef}\n >\n <VisibilityOff />\n </IconButton>\n </Tooltip>\n);\n\nToggleButton.propTypes = {\n onToggle: PropTypes.func.isRequired,\n getMessage: PropTypes.func.isRequired,\n buttonRef: PropTypes.func.isRequired,\n};\n","import React from 'react';\nimport Line truncated
|
||||
Reference in new issue
Block a user