prg-editor
Advanced tools
Comparing version 0.4.0 to 0.4.1
@@ -13,2 +13,6 @@ 'use strict'; | ||
var _propTypes = require('prop-types'); | ||
var _propTypes2 = _interopRequireDefault(_propTypes); | ||
var _ErrorMessage = require('./ErrorMessage'); | ||
@@ -116,5 +120,5 @@ | ||
message: _tablePropTypes.StringOrFunc.isRequired, | ||
t: _react.PropTypes.func, | ||
onTryAgain: _react.PropTypes.func, | ||
error: _react.PropTypes.oneOfType([_react.PropTypes.any]) | ||
t: _propTypes2.default.func, | ||
onTryAgain: _propTypes2.default.func, | ||
error: _propTypes2.default.oneOfType([_propTypes2.default.any]) | ||
}; | ||
@@ -121,0 +125,0 @@ |
@@ -11,2 +11,6 @@ 'use strict'; | ||
var _propTypes = require('prop-types'); | ||
var _propTypes2 = _interopRequireDefault(_propTypes); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -66,10 +70,10 @@ | ||
ActionCell.propTypes = { | ||
data: _react2.default.PropTypes.objectOf(_react2.default.PropTypes.any).isRequired, | ||
config: _react2.default.PropTypes.shape({ | ||
attr: _react2.default.PropTypes.string.isRequired, | ||
map: _react2.default.PropTypes.func, | ||
href: _react2.default.PropTypes.func, | ||
onClick: _react2.default.PropTypes.func, | ||
condition: _react2.default.PropTypes.func, | ||
label: _react2.default.PropTypes.oneOfType([_react2.default.PropTypes.string, _react2.default.PropTypes.func]).isRequired | ||
data: _propTypes2.default.objectOf(_propTypes2.default.any).isRequired, | ||
config: _propTypes2.default.shape({ | ||
attr: _propTypes2.default.string.isRequired, | ||
map: _propTypes2.default.func, | ||
href: _propTypes2.default.func, | ||
onClick: _propTypes2.default.func, | ||
condition: _propTypes2.default.func, | ||
label: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.func]).isRequired | ||
}).isRequired | ||
@@ -76,0 +80,0 @@ }; |
@@ -13,2 +13,6 @@ 'use strict'; | ||
var _propTypes = require('prop-types'); | ||
var _propTypes2 = _interopRequireDefault(_propTypes); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -107,11 +111,11 @@ | ||
RelationCell.propTypes = { | ||
data: _react2.default.PropTypes.objectOf(_react2.default.PropTypes.any).isRequired, | ||
config: _react2.default.PropTypes.shape({ | ||
attr: _react2.default.PropTypes.string.isRequired, | ||
map: _react2.default.PropTypes.func, | ||
loaderContent: _react2.default.PropTypes.any, | ||
errorContent: _react2.default.PropTypes.any, | ||
resource: _react2.default.PropTypes.shape({ | ||
load: _react2.default.PropTypes.func.isRequired, | ||
abort: _react2.default.PropTypes.func.isRequired | ||
data: _propTypes2.default.objectOf(_propTypes2.default.any).isRequired, | ||
config: _propTypes2.default.shape({ | ||
attr: _propTypes2.default.string.isRequired, | ||
map: _propTypes2.default.func, | ||
loaderContent: _propTypes2.default.any, | ||
errorContent: _propTypes2.default.any, | ||
resource: _propTypes2.default.shape({ | ||
load: _propTypes2.default.func.isRequired, | ||
abort: _propTypes2.default.func.isRequired | ||
}).isRequired | ||
@@ -118,0 +122,0 @@ }).isRequired |
@@ -11,2 +11,6 @@ 'use strict'; | ||
var _propTypes = require('prop-types'); | ||
var _propTypes2 = _interopRequireDefault(_propTypes); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -32,6 +36,6 @@ | ||
TextCell.propTypes = { | ||
data: _react2.default.PropTypes.objectOf(_react2.default.PropTypes.any).isRequired, | ||
config: _react2.default.PropTypes.shape({ | ||
attr: _react2.default.PropTypes.string.isRequired, | ||
map: _react2.default.PropTypes.func | ||
data: _propTypes2.default.objectOf(_propTypes2.default.any).isRequired, | ||
config: _propTypes2.default.shape({ | ||
attr: _propTypes2.default.string.isRequired, | ||
map: _propTypes2.default.func | ||
}).isRequired | ||
@@ -38,0 +42,0 @@ }; |
@@ -13,2 +13,6 @@ 'use strict'; | ||
var _propTypes = require('prop-types'); | ||
var _propTypes2 = _interopRequireDefault(_propTypes); | ||
var _Spinner = require('./Spinner'); | ||
@@ -188,7 +192,7 @@ | ||
DeleteConfirmator.propTypes = { | ||
onDeleteDidFinish: _react.PropTypes.func, | ||
onDeleteDidFail: _react.PropTypes.func, | ||
id: _react.PropTypes.oneOfType([_react.PropTypes.string, _react.PropTypes.number]).isRequired, | ||
resource: _react.PropTypes.oneOfType([_react.PropTypes.string, _react.PropTypes.object]).isRequired, | ||
t: _react.PropTypes.func, | ||
onDeleteDidFinish: _propTypes2.default.func, | ||
onDeleteDidFail: _propTypes2.default.func, | ||
id: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.number]).isRequired, | ||
resource: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.object]).isRequired, | ||
t: _propTypes2.default.func, | ||
deleteErrorMessage: _tablePropTypes.StringOrFunc, | ||
@@ -195,0 +199,0 @@ deleteConfirmationMessage: _tablePropTypes.StringOrFunc |
@@ -15,2 +15,6 @@ 'use strict'; | ||
var _propTypes = require('prop-types'); | ||
var _propTypes2 = _interopRequireDefault(_propTypes); | ||
var _prgForm = require('prg-form'); | ||
@@ -44,4 +48,4 @@ | ||
var Editor = function (_React$Component) { | ||
_inherits(Editor, _React$Component); | ||
var Editor = function (_Component) { | ||
_inherits(Editor, _Component); | ||
@@ -322,20 +326,20 @@ function Editor(props, context) { | ||
return Editor; | ||
}(_react2.default.Component); | ||
}(_react.Component); | ||
Editor.propTypes = { | ||
children: _react.PropTypes.oneOfType([_react.PropTypes.element, _react.PropTypes.arrayOf(_react.PropTypes.any)]), | ||
onSubmitDidFinish: _react.PropTypes.func, | ||
onSubmitDidFail: _react.PropTypes.func, | ||
id: _react.PropTypes.oneOfType([_react.PropTypes.string, _react.PropTypes.number]), | ||
data: _react.PropTypes.objectOf(_react.PropTypes.any), | ||
resource: _react.PropTypes.oneOfType([_react.PropTypes.string, _react.PropTypes.object]), | ||
t: _react.PropTypes.func, | ||
children: _propTypes2.default.oneOfType([_propTypes2.default.element, _propTypes2.default.arrayOf(_propTypes2.default.any)]), | ||
onSubmitDidFinish: _propTypes2.default.func, | ||
onSubmitDidFail: _propTypes2.default.func, | ||
id: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.number]), | ||
data: _propTypes2.default.objectOf(_propTypes2.default.any), | ||
resource: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.object]), | ||
t: _propTypes2.default.func, | ||
updateErrorMessage: _tablePropTypes.StringOrFunc, | ||
loadingErrorMessage: _tablePropTypes.StringOrFunc, | ||
validator: _react.PropTypes.objectOf(_react.PropTypes.any).isRequired, | ||
modalTitle: _react.PropTypes.string, | ||
onClosed: _react.PropTypes.func, | ||
context: _react2.default.PropTypes.oneOfType([_react2.default.PropTypes.string, _react2.default.PropTypes.shape({ | ||
create: _react2.default.PropTypes.string, | ||
update: _react2.default.PropTypes.string | ||
validator: _propTypes2.default.objectOf(_propTypes2.default.any).isRequired, | ||
modalTitle: _propTypes2.default.string, | ||
onClosed: _propTypes2.default.func, | ||
context: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.shape({ | ||
create: _propTypes2.default.string, | ||
update: _propTypes2.default.string | ||
})]) | ||
@@ -363,9 +367,9 @@ }; | ||
Editor.contextTypes = { | ||
resource: _react.PropTypes.object, | ||
onEditorDidFinish: _react.PropTypes.func, | ||
editId: _react.PropTypes.oneOfType([_react.PropTypes.string, _react.PropTypes.number]), | ||
editData: _react.PropTypes.object, | ||
t: _react.PropTypes.func | ||
resource: _propTypes2.default.object, | ||
onEditorDidFinish: _propTypes2.default.func, | ||
editId: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.number]), | ||
editData: _propTypes2.default.object, | ||
t: _propTypes2.default.func | ||
}; | ||
exports.default = Editor; |
@@ -13,2 +13,6 @@ 'use strict'; | ||
var _propTypes = require('prop-types'); | ||
var _propTypes2 = _interopRequireDefault(_propTypes); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -22,4 +26,4 @@ | ||
var ErrorMessage = function (_React$Component) { | ||
_inherits(ErrorMessage, _React$Component); | ||
var ErrorMessage = function (_Component) { | ||
_inherits(ErrorMessage, _Component); | ||
@@ -65,7 +69,7 @@ function ErrorMessage() { | ||
return ErrorMessage; | ||
}(_react2.default.Component); | ||
}(_react.Component); | ||
ErrorMessage.propTypes = { | ||
children: _react2.default.PropTypes.oneOfType([_react2.default.PropTypes.element, _react2.default.PropTypes.arrayOf(_react2.default.PropTypes.any), _react2.default.PropTypes.string]), | ||
onCloseRequested: _react2.default.PropTypes.func | ||
children: _propTypes2.default.oneOfType([_propTypes2.default.element, _propTypes2.default.arrayOf(_propTypes2.default.any), _propTypes2.default.string]), | ||
onCloseRequested: _propTypes2.default.func | ||
}; | ||
@@ -72,0 +76,0 @@ |
@@ -1,2 +0,2 @@ | ||
"use strict"; | ||
'use strict'; | ||
@@ -7,6 +7,10 @@ Object.defineProperty(exports, "__esModule", { | ||
var _react = require("react"); | ||
var _react = require('react'); | ||
var _react2 = _interopRequireDefault(_react); | ||
var _propTypes = require('prop-types'); | ||
var _propTypes2 = _interopRequireDefault(_propTypes); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -29,9 +33,9 @@ | ||
body = _react2.default.createElement( | ||
"section", | ||
{ className: "modal-card-body" }, | ||
'section', | ||
{ className: 'modal-card-body' }, | ||
children | ||
); | ||
foot = _react2.default.createElement( | ||
"footer", | ||
{ className: "modal-card-foot" }, | ||
'footer', | ||
{ className: 'modal-card-foot' }, | ||
footer | ||
@@ -42,24 +46,24 @@ ); | ||
return _react2.default.createElement( | ||
"div", | ||
'div', | ||
{ | ||
className: "modal is-active", | ||
"aria-hidden": "false" | ||
className: 'modal is-active', | ||
'aria-hidden': 'false' | ||
}, | ||
_react2.default.createElement("div", { className: "modal-background" }), | ||
_react2.default.createElement('div', { className: 'modal-background' }), | ||
_react2.default.createElement( | ||
"div", | ||
{ className: "modal-card" }, | ||
'div', | ||
{ className: 'modal-card' }, | ||
_react2.default.createElement( | ||
"header", | ||
{ className: "modal-card-head" }, | ||
'header', | ||
{ className: 'modal-card-head' }, | ||
_react2.default.createElement( | ||
"p", | ||
{ className: "modal-card-title" }, | ||
'p', | ||
{ className: 'modal-card-title' }, | ||
title | ||
), | ||
_react2.default.createElement("button", { | ||
type: "button", | ||
className: "delete close", | ||
"data-dismiss": "modal", | ||
"aria-label": "Close", | ||
_react2.default.createElement('button', { | ||
type: 'button', | ||
className: 'delete close', | ||
'data-dismiss': 'modal', | ||
'aria-label': 'Close', | ||
onClick: function onClick() { | ||
@@ -77,7 +81,7 @@ return onClosed(); | ||
Modal.propTypes = { | ||
onClosed: _react.PropTypes.func, | ||
children: _react.PropTypes.oneOfType([_react.PropTypes.any]), | ||
footer: _react.PropTypes.oneOfType([_react.PropTypes.element, _react.PropTypes.arrayOf(_react.PropTypes.element)]), | ||
title: _react.PropTypes.string, | ||
customBody: _react.PropTypes.bool | ||
onClosed: _propTypes2.default.func, | ||
children: _propTypes2.default.oneOfType([_propTypes2.default.any]), | ||
footer: _propTypes2.default.oneOfType([_propTypes2.default.element, _propTypes2.default.arrayOf(_propTypes2.default.element)]), | ||
title: _propTypes2.default.string, | ||
customBody: _propTypes2.default.bool | ||
}; | ||
@@ -84,0 +88,0 @@ |
@@ -1,2 +0,2 @@ | ||
"use strict"; | ||
'use strict'; | ||
@@ -7,6 +7,10 @@ Object.defineProperty(exports, "__esModule", { | ||
var _react = require("react"); | ||
var _react = require('react'); | ||
var _react2 = _interopRequireDefault(_react); | ||
var _propTypes = require('prop-types'); | ||
var _propTypes2 = _interopRequireDefault(_propTypes); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -16,15 +20,15 @@ | ||
return _react2.default.createElement( | ||
"nav", | ||
{ className: "pagination is-centered" }, | ||
'nav', | ||
{ className: 'pagination is-centered' }, | ||
_react2.default.createElement( | ||
"ul", | ||
{ className: "pagination-list" }, | ||
'ul', | ||
{ className: 'pagination-list' }, | ||
_react2.default.createElement( | ||
"li", | ||
'li', | ||
null, | ||
_react2.default.createElement( | ||
"button", | ||
'button', | ||
{ | ||
type: "button", | ||
className: "pagination-link button page-first", | ||
type: 'button', | ||
className: 'pagination-link button page-first', | ||
disabled: props.page === 0, | ||
@@ -35,22 +39,22 @@ onClick: function onClick() { | ||
}, | ||
_react2.default.createElement("i", { className: "fa fa-angle-double-left", "aria-hidden": "true" }) | ||
_react2.default.createElement('i', { className: 'fa fa-angle-double-left', 'aria-hidden': 'true' }) | ||
) | ||
), | ||
_react2.default.createElement( | ||
"li", | ||
'li', | ||
null, | ||
_react2.default.createElement( | ||
"span", | ||
{ className: "pagination-ellipsis" }, | ||
"\u2026" | ||
'span', | ||
{ className: 'pagination-ellipsis' }, | ||
'\u2026' | ||
) | ||
), | ||
_react2.default.createElement( | ||
"li", | ||
'li', | ||
null, | ||
_react2.default.createElement( | ||
"button", | ||
'button', | ||
{ | ||
type: "button", | ||
className: "pagination-link button page-prev", | ||
type: 'button', | ||
className: 'pagination-link button page-prev', | ||
disabled: props.page === 0, | ||
@@ -61,13 +65,13 @@ onClick: function onClick() { | ||
}, | ||
_react2.default.createElement("i", { className: "fa fa-angle-left", "aria-hidden": "true" }) | ||
_react2.default.createElement('i', { className: 'fa fa-angle-left', 'aria-hidden': 'true' }) | ||
) | ||
), | ||
_react2.default.createElement( | ||
"li", | ||
'li', | ||
null, | ||
_react2.default.createElement( | ||
"button", | ||
'button', | ||
{ | ||
type: "button", | ||
className: "pagination-link button page-next", | ||
type: 'button', | ||
className: 'pagination-link button page-next', | ||
disabled: props.page >= props.nextPage, | ||
@@ -78,22 +82,22 @@ onClick: function onClick() { | ||
}, | ||
_react2.default.createElement("i", { className: "fa fa-angle-right", "aria-hidden": "true" }) | ||
_react2.default.createElement('i', { className: 'fa fa-angle-right', 'aria-hidden': 'true' }) | ||
) | ||
), | ||
_react2.default.createElement( | ||
"li", | ||
'li', | ||
null, | ||
_react2.default.createElement( | ||
"span", | ||
{ className: "pagination-ellipsis" }, | ||
"\u2026" | ||
'span', | ||
{ className: 'pagination-ellipsis' }, | ||
'\u2026' | ||
) | ||
), | ||
_react2.default.createElement( | ||
"li", | ||
'li', | ||
null, | ||
_react2.default.createElement( | ||
"button", | ||
'button', | ||
{ | ||
type: "button", | ||
className: "pagination-link button page-last", | ||
type: 'button', | ||
className: 'pagination-link button page-last', | ||
disabled: props.page >= props.nextPage, | ||
@@ -104,3 +108,3 @@ onClick: function onClick() { | ||
}, | ||
_react2.default.createElement("i", { className: "fa fa-angle-double-right", "aria-hidden": "true" }) | ||
_react2.default.createElement('i', { className: 'fa fa-angle-double-right', 'aria-hidden': 'true' }) | ||
) | ||
@@ -113,5 +117,5 @@ ) | ||
Paginator.propTypes = { | ||
page: _react2.default.PropTypes.number, | ||
nextPage: _react2.default.PropTypes.number, | ||
onPageChange: _react2.default.PropTypes.func | ||
page: _propTypes2.default.number, | ||
nextPage: _propTypes2.default.number, | ||
onPageChange: _propTypes2.default.func | ||
}; | ||
@@ -118,0 +122,0 @@ |
@@ -11,2 +11,6 @@ 'use strict'; | ||
var _propTypes = require('prop-types'); | ||
var _propTypes2 = _interopRequireDefault(_propTypes); | ||
var _tablePropTypes = require('./tablePropTypes'); | ||
@@ -38,3 +42,3 @@ | ||
Row.propTypes = { | ||
data: _react2.default.PropTypes.objectOf(_react2.default.PropTypes.any).isRequired, | ||
data: _propTypes2.default.objectOf(_propTypes2.default.any).isRequired, | ||
colsConfig: _tablePropTypes.ColsConfig.isRequired | ||
@@ -41,0 +45,0 @@ }; |
@@ -13,2 +13,6 @@ 'use strict'; | ||
var _propTypes = require('prop-types'); | ||
var _propTypes2 = _interopRequireDefault(_propTypes); | ||
var _Row = require('./Row'); | ||
@@ -43,4 +47,4 @@ | ||
var Table = function (_React$Component) { | ||
_inherits(Table, _React$Component); | ||
var Table = function (_Component) { | ||
_inherits(Table, _Component); | ||
@@ -182,12 +186,12 @@ function Table() { | ||
return Table; | ||
}(_react2.default.Component); | ||
}(_react.Component); | ||
Table.propTypes = { | ||
data: _react2.default.PropTypes.arrayOf(_react2.default.PropTypes.objectOf(_react2.default.PropTypes.any)), | ||
data: _propTypes2.default.arrayOf(_propTypes2.default.objectOf(_propTypes2.default.any)), | ||
colsConfig: _tablePropTypes.ColsConfig.isRequired, | ||
loading: _react2.default.PropTypes.bool, | ||
order: _react2.default.PropTypes.oneOf([-1, 0, 1, '-1', '0', '1']), | ||
orderBy: _react2.default.PropTypes.string, | ||
onOrderChange: _react2.default.PropTypes.func, | ||
idKey: _react2.default.PropTypes.string | ||
loading: _propTypes2.default.bool, | ||
order: _propTypes2.default.oneOf([-1, 0, 1, '-1', '0', '1']), | ||
orderBy: _propTypes2.default.string, | ||
onOrderChange: _propTypes2.default.func, | ||
idKey: _propTypes2.default.string | ||
}; | ||
@@ -194,0 +198,0 @@ |
@@ -15,2 +15,6 @@ 'use strict'; | ||
var _propTypes = require('prop-types'); | ||
var _propTypes2 = _interopRequireDefault(_propTypes); | ||
var _Table = require('./Table'); | ||
@@ -396,20 +400,20 @@ | ||
TableEditor.propTypes = { | ||
children: _react.PropTypes.oneOfType([_react.PropTypes.any]), | ||
children: _propTypes2.default.oneOfType([_propTypes2.default.any]), | ||
colsConfig: _tablePropTypes.ColsConfig.isRequired, | ||
params: _react.PropTypes.objectOf(_react.PropTypes.any), | ||
resource: _react.PropTypes.oneOfType([_react.PropTypes.string, _react.PropTypes.object]).isRequired, | ||
t: _react.PropTypes.func, | ||
params: _propTypes2.default.objectOf(_propTypes2.default.any), | ||
resource: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.object]).isRequired, | ||
t: _propTypes2.default.func, | ||
loadingErrorMessage: _tablePropTypes.StringOrFunc, | ||
deleteErrorMessage: _tablePropTypes.StringOrFunc, | ||
limit: _react.PropTypes.number, | ||
disableAdd: _react.PropTypes.bool, | ||
onParamsChange: _react.PropTypes.func | ||
limit: _propTypes2.default.number, | ||
disableAdd: _propTypes2.default.bool, | ||
onParamsChange: _propTypes2.default.func | ||
}; | ||
TableEditor.childContextTypes = { | ||
resource: _react.PropTypes.object, | ||
onEditorDidFinish: _react.PropTypes.func.isRequired, | ||
editId: _react.PropTypes.oneOfType([_react.PropTypes.string, _react.PropTypes.number]), | ||
editData: _react.PropTypes.object, | ||
t: _react.PropTypes.func | ||
resource: _propTypes2.default.object, | ||
onEditorDidFinish: _propTypes2.default.func.isRequired, | ||
editId: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.number]), | ||
editData: _propTypes2.default.object, | ||
t: _propTypes2.default.func | ||
}; | ||
@@ -416,0 +420,0 @@ |
@@ -13,2 +13,6 @@ 'use strict'; | ||
var _propTypes = require('prop-types'); | ||
var _propTypes2 = _interopRequireDefault(_propTypes); | ||
var _prgForm = require('prg-form'); | ||
@@ -140,3 +144,4 @@ | ||
className: 'button', | ||
formNoValidate: true, type: 'submit' | ||
formNoValidate: true, | ||
type: 'submit' | ||
}, | ||
@@ -158,10 +163,10 @@ t('Filter') | ||
TableEditorHeader.propTypes = { | ||
t: _react.PropTypes.func, | ||
disableAdd: _react.PropTypes.bool, | ||
filterChanged: _react.PropTypes.bool, | ||
children: _react.PropTypes.oneOfType([_react.PropTypes.any]), | ||
onAddButtonClick: _react.PropTypes.func.isRequired, | ||
onResetHeaderForm: _react.PropTypes.func.isRequired, | ||
onHeaderSubmit: _react.PropTypes.func.isRequired, | ||
params: _react.PropTypes.objectOf(_react.PropTypes.any) | ||
t: _propTypes2.default.func, | ||
disableAdd: _propTypes2.default.bool, | ||
filterChanged: _propTypes2.default.bool, | ||
children: _propTypes2.default.oneOfType([_propTypes2.default.any]), | ||
onAddButtonClick: _propTypes2.default.func.isRequired, | ||
onResetHeaderForm: _propTypes2.default.func.isRequired, | ||
onHeaderSubmit: _propTypes2.default.func.isRequired, | ||
params: _propTypes2.default.objectOf(_propTypes2.default.any) | ||
}; | ||
@@ -168,0 +173,0 @@ |
@@ -8,12 +8,12 @@ 'use strict'; | ||
var _react = require('react'); | ||
var _propTypes = require('prop-types'); | ||
var _react2 = _interopRequireDefault(_react); | ||
var _propTypes2 = _interopRequireDefault(_propTypes); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
var ColsConfig = exports.ColsConfig = _react2.default.PropTypes.arrayOf(_react2.default.PropTypes.objectOf(_react2.default.PropTypes.any)); | ||
var ColsConfig = exports.ColsConfig = _propTypes2.default.arrayOf(_propTypes2.default.objectOf(_propTypes2.default.any)); | ||
var StringOrFunc = exports.StringOrFunc = _react2.default.PropTypes.oneOfType([_react2.default.PropTypes.string, _react2.default.PropTypes.func]); | ||
var StringOrFunc = exports.StringOrFunc = _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.func]); | ||
exports.default = { ColsConfig: ColsConfig, StringOrFunc: StringOrFunc }; |
{ | ||
"name": "prg-editor", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "Data Table and Editor for use with Prg-Form", | ||
@@ -5,0 +5,0 @@ "main": "dist/main.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
113532
2486