react-form-with-constraints-tools
Advanced tools
Comparing version 0.10.0 to 0.11.0-beta.1
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react'), require('react-dom'), require('prop-types'), require('react-form-with-constraints')) : | ||
typeof define === 'function' && define.amd ? define(['exports', 'react', 'react-dom', 'prop-types', 'react-form-with-constraints'], factory) : | ||
(factory((global.ReactFormWithConstraintsTools = {}),global.React,global.ReactDOM,global.PropTypes,global.ReactFormWithConstraints)); | ||
}(this, (function (exports,React,ReactDOM,PropTypes,reactFormWithConstraints) { 'use strict'; | ||
(global = global || self, factory(global.ReactFormWithConstraintsTools = {}, global.React, global.ReactDOM, global.PropTypes, global.ReactFormWithConstraints)); | ||
}(this, function (exports, React, ReactDOM, PropTypes, reactFormWithConstraints) { 'use strict'; | ||
React = React && React.hasOwnProperty('default') ? React['default'] : React; | ||
ReactDOM = ReactDOM && ReactDOM.hasOwnProperty('default') ? ReactDOM['default'] : ReactDOM; | ||
PropTypes = PropTypes && PropTypes.hasOwnProperty('default') ? PropTypes['default'] : PropTypes; | ||
/*! ***************************************************************************** | ||
@@ -203,3 +199,3 @@ Copyright (c) Microsoft Corporation. All rights reserved. | ||
}))); | ||
})); | ||
//# sourceMappingURL=react-form-with-constraints-tools.development.js.map |
@@ -1,2 +0,2 @@ | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("react-dom"),require("prop-types"),require("react-form-with-constraints")):"function"==typeof define&&define.amd?define(["exports","react","react-dom","prop-types","react-form-with-constraints"],t):t(e.ReactFormWithConstraintsTools={},e.React,e.ReactDOM,e.PropTypes,e.ReactFormWithConstraints)}(this,function(e,o,c,r,d){"use strict";o=o&&o.hasOwnProperty("default")?o.default:o,c=c&&c.hasOwnProperty("default")?c.default:c,r=r&&r.hasOwnProperty("default")?r.default:r;var n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)};function i(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var t=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.reRender=function(){e.forceUpdate()},e}return i(e,t),e.prototype.componentWillMount=function(){var e=this.context.form;e.fieldsStore.addListener(d.FieldEvent.Added,this.reRender),e.fieldsStore.addListener(d.FieldEvent.Removed,this.reRender),e.addFieldDidValidateEventListener(this.reRender),e.addFieldDidResetEventListener(this.reRender)},e.prototype.componentWillUnmount=function(){var e=this.context.form;e.fieldsStore.removeListener(d.FieldEvent.Added,this.reRender),e.fieldsStore.removeListener(d.FieldEvent.Removed,this.reRender),e.removeFieldDidValidateEventListener(this.reRender),e.removeFieldDidResetEventListener(this.reRender)},e.prototype.render=function(){var e=s(this.context.form.fieldsStore.fields,2);return e=e.replace(/{\s+key: (.*),\s+type: (.*),\s+show: (.*)\s+}/g,"{ key: $1, type: $2, show: $3 }"),o.createElement("pre",{style:{fontSize:"small"}},"Fields = ",e)},e.contextTypes={form:r.instanceOf(d.FormWithConstraints).isRequired},e}(o.Component),s=function(e,t){var r=JSON.stringify(e,function(e,t){return void 0===t?"__undefined__":t},t);return r=(r=r.replace(/"__undefined__"/g,"undefined")).replace(/"([^"]+)":/g,"$1:")},l=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return i(e,n),e.prototype.render=function(){var e=this.props,t=e.for,r="";return t&&(r+='for="'+t+'" '),r+='stop="'+e.stop+'"',o.createElement(o.Fragment,null,o.createElement("li",null,'key="',this.key,'" ',r),o.createElement("ul",null,n.prototype.render.call(this)))},e}(d.FieldFeedbacks),a=function(n){function e(){return null!==n&&n.apply(this,arguments)||this}return i(e,n),e.prototype.getTextDecoration=function(){var e="";switch(this.state.validation.show){case!1:e="line-through";break;case void 0:e="line-through dotted"}return e},e.prototype.render=function(){var e=this.state.validation,t=e.key,r=e.type;return o.createElement("li",null,o.createElement("span",{style:{textDecoration:this.getTextDecoration()}},'key="',t,'" type="',r,'"')," ",n.prototype.render.call(this))},e.prototype.componentDidUpdate=function(){var t,e,r=c.findDOMNode(this),n=r.querySelectorAll("[data-feedback]");try{for(var o=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}}(n),i=o.next();!i.done;i=o.next()){i.value.style.display="inline"}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=o.return)&&e.call(o)}finally{if(t)throw t.error}}var s=r.closest("li.async");null!==s&&(s.querySelector("span[style]").style.textDecoration=this.getTextDecoration());if(this.state.validation.type===d.FieldFeedbackType.WhenValid){var l=r.querySelector("span[style]"),a=r.querySelector("span."+this.props.classes.valid);l.style.textDecoration=null!==a?"":"line-through"}},e}(d.FieldFeedback),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.getTextDecoration=function(){return"line-through dotted"},t.prototype.componentWillUpdate=function(){c.findDOMNode(this).querySelector("span[style]").style.textDecoration=this.getTextDecoration()},t.prototype.render=function(){return o.createElement("li",{className:"async"},o.createElement("span",{style:{textDecoration:this.getTextDecoration()}},"Async"),o.createElement("ul",null,e.prototype.render.call(this)))},t}(d.Async);e.FormWithConstraints=d.FormWithConstraints,e.DisplayFields=t,e.FieldFeedbacks=l,e.FieldFeedback=a,e.Async=u,Object.defineProperty(e,"__esModule",{value:!0})}); | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("react-dom"),require("prop-types"),require("react-form-with-constraints")):"function"==typeof define&&define.amd?define(["exports","react","react-dom","prop-types","react-form-with-constraints"],t):t((e=e||self).ReactFormWithConstraintsTools={},e.React,e.ReactDOM,e.PropTypes,e.ReactFormWithConstraints)}(this,function(e,o,c,n,d){"use strict";var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function i(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var t=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.reRender=function(){e.forceUpdate()},e}return i(e,t),e.prototype.componentWillMount=function(){var e=this.context.form;e.fieldsStore.addListener(d.FieldEvent.Added,this.reRender),e.fieldsStore.addListener(d.FieldEvent.Removed,this.reRender),e.addFieldDidValidateEventListener(this.reRender),e.addFieldDidResetEventListener(this.reRender)},e.prototype.componentWillUnmount=function(){var e=this.context.form;e.fieldsStore.removeListener(d.FieldEvent.Added,this.reRender),e.fieldsStore.removeListener(d.FieldEvent.Removed,this.reRender),e.removeFieldDidValidateEventListener(this.reRender),e.removeFieldDidResetEventListener(this.reRender)},e.prototype.render=function(){var e=s(this.context.form.fieldsStore.fields,2);return e=e.replace(/{\s+key: (.*),\s+type: (.*),\s+show: (.*)\s+}/g,"{ key: $1, type: $2, show: $3 }"),o.createElement("pre",{style:{fontSize:"small"}},"Fields = ",e)},e.contextTypes={form:n.instanceOf(d.FormWithConstraints).isRequired},e}(o.Component),s=function(e,t){var n=JSON.stringify(e,function(e,t){return void 0===t?"__undefined__":t},t);return n=(n=n.replace(/"__undefined__"/g,"undefined")).replace(/"([^"]+)":/g,"$1:")},l=function(r){function e(){return null!==r&&r.apply(this,arguments)||this}return i(e,r),e.prototype.render=function(){var e=this.props,t=e.for,n="";return t&&(n+='for="'+t+'" '),n+='stop="'+e.stop+'"',o.createElement(o.Fragment,null,o.createElement("li",null,'key="',this.key,'" ',n),o.createElement("ul",null,r.prototype.render.call(this)))},e}(d.FieldFeedbacks),a=function(r){function e(){return null!==r&&r.apply(this,arguments)||this}return i(e,r),e.prototype.getTextDecoration=function(){var e="";switch(this.state.validation.show){case!1:e="line-through";break;case void 0:e="line-through dotted"}return e},e.prototype.render=function(){var e=this.state.validation,t=e.key,n=e.type;return o.createElement("li",null,o.createElement("span",{style:{textDecoration:this.getTextDecoration()}},'key="',t,'" type="',n,'"')," ",r.prototype.render.call(this))},e.prototype.componentDidUpdate=function(){var t,e,n=c.findDOMNode(this),r=n.querySelectorAll("[data-feedback]");try{for(var o=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}(r),i=o.next();!i.done;i=o.next()){i.value.style.display="inline"}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=o.return)&&e.call(o)}finally{if(t)throw t.error}}var s=n.closest("li.async");null!==s&&(s.querySelector("span[style]").style.textDecoration=this.getTextDecoration());if(this.state.validation.type===d.FieldFeedbackType.WhenValid){var l=n.querySelector("span[style]"),a=n.querySelector("span."+this.props.classes.valid);l.style.textDecoration=null!==a?"":"line-through"}},e}(d.FieldFeedback),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.getTextDecoration=function(){return"line-through dotted"},t.prototype.componentWillUpdate=function(){c.findDOMNode(this).querySelector("span[style]").style.textDecoration=this.getTextDecoration()},t.prototype.render=function(){return o.createElement("li",{className:"async"},o.createElement("span",{style:{textDecoration:this.getTextDecoration()}},"Async"),o.createElement("ul",null,e.prototype.render.call(this)))},t}(d.Async);e.FormWithConstraints=d.FormWithConstraints,e.DisplayFields=t,e.FieldFeedbacks=l,e.FieldFeedback=a,e.Async=p,Object.defineProperty(e,"__esModule",{value:!0})}); | ||
//# sourceMappingURL=react-form-with-constraints-tools.production.min.js.map |
@@ -8,3 +8,3 @@ "use strict"; | ||
return extendStatics(d, b); | ||
} | ||
}; | ||
return function (d, b) { | ||
@@ -26,9 +26,6 @@ extendStatics(d, b); | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var react_1 = __importDefault(require("react")); | ||
var react_dom_1 = __importDefault(require("react-dom")); | ||
var prop_types_1 = __importDefault(require("prop-types")); | ||
var React = require("react"); | ||
var ReactDOM = require("react-dom"); | ||
var PropTypes = require("prop-types"); | ||
var react_form_with_constraints_1 = require("react-form-with-constraints"); | ||
@@ -62,3 +59,3 @@ exports.FormWithConstraints = react_form_with_constraints_1.FormWithConstraints; | ||
str = str.replace(/{\s+key: (.*),\s+type: (.*),\s+show: (.*)\s+}/g, '{ key: $1, type: $2, show: $3 }'); | ||
return react_1.default.createElement("pre", { style: { fontSize: 'small' } }, | ||
return React.createElement("pre", { style: { fontSize: 'small' } }, | ||
"Fields = ", | ||
@@ -68,6 +65,6 @@ str); | ||
DisplayFields.contextTypes = { | ||
form: prop_types_1.default.instanceOf(react_form_with_constraints_1.FormWithConstraints).isRequired | ||
form: PropTypes.instanceOf(react_form_with_constraints_1.FormWithConstraints).isRequired | ||
}; | ||
return DisplayFields; | ||
}(react_1.default.Component)); | ||
}(React.Component)); | ||
exports.DisplayFields = DisplayFields; | ||
@@ -91,4 +88,4 @@ var stringifyWithUndefinedAndWithoutPropertyQuotes = function (obj, space) { | ||
attr += "stop=\"" + stop + "\""; | ||
return (react_1.default.createElement(react_1.default.Fragment, null, | ||
react_1.default.createElement("li", null, | ||
return (React.createElement(React.Fragment, null, | ||
React.createElement("li", null, | ||
"key=\"", | ||
@@ -98,3 +95,3 @@ this.key, | ||
attr), | ||
react_1.default.createElement("ul", null, _super.prototype.render.call(this)))); | ||
React.createElement("ul", null, _super.prototype.render.call(this)))); | ||
}; | ||
@@ -124,4 +121,4 @@ return FieldFeedbacks; | ||
var _a = this.state.validation, key = _a.key, type = _a.type; | ||
return (react_1.default.createElement("li", null, | ||
react_1.default.createElement("span", { style: { textDecoration: this.getTextDecoration() } }, | ||
return (React.createElement("li", null, | ||
React.createElement("span", { style: { textDecoration: this.getTextDecoration() } }, | ||
"key=\"", | ||
@@ -137,3 +134,3 @@ key, | ||
var e_1, _a; | ||
var el = react_dom_1.default.findDOMNode(this); | ||
var el = ReactDOM.findDOMNode(this); | ||
var fieldFeedbackSpans = el.querySelectorAll('[data-feedback]'); | ||
@@ -177,3 +174,3 @@ try { | ||
Async.prototype.componentWillUpdate = function () { | ||
var el = react_dom_1.default.findDOMNode(this); | ||
var el = ReactDOM.findDOMNode(this); | ||
var async = el.querySelector('span[style]'); | ||
@@ -183,5 +180,5 @@ async.style.textDecoration = this.getTextDecoration(); | ||
Async.prototype.render = function () { | ||
return (react_1.default.createElement("li", { className: "async" }, | ||
react_1.default.createElement("span", { style: { textDecoration: this.getTextDecoration() } }, "Async"), | ||
react_1.default.createElement("ul", null, _super.prototype.render.call(this)))); | ||
return (React.createElement("li", { className: "async" }, | ||
React.createElement("span", { style: { textDecoration: this.getTextDecoration() } }, "Async"), | ||
React.createElement("ul", null, _super.prototype.render.call(this)))); | ||
}; | ||
@@ -191,2 +188,2 @@ return Async; | ||
exports.Async = Async; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRGlzcGxheUZpZWxkcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9EaXNwbGF5RmllbGRzLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQUEsZ0RBQTBCO0FBQzFCLHdEQUFpQztBQUNqQywwREFBbUM7QUFFbkMsMkVBT3FDO0FBMEQ1Qiw4QkFoRVAsaURBQW1CLENBZ0VPO0FBdEQ1QjtJQUFtQyxpQ0FBbUM7SUFBdEU7UUFBQSxxRUEyQ0M7UUFyQkMsY0FBUSxHQUFHO1lBQ1QsS0FBSSxDQUFDLFdBQVcsRUFBRSxDQUFDO1FBQ3JCLENBQUMsQ0FBQTs7SUFtQkgsQ0FBQztJQXJDQywwQ0FBa0IsR0FBbEI7UUFDVSxJQUFBLHdCQUFJLENBQWtCO1FBQzlCLElBQUksQ0FBQyxXQUFXLENBQUMsV0FBV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HNwYW4hLnN0eWxlLnRleHREZWNvcmF0aW9uID0gd2hlblZhbGlkICE9PSBudWxsID8gJycgOiAnbGluZS10aHJvdWdoJztcbiAgICB9XG4gIH1cbn1cblxuZXhwb3J0IGNsYXNzIEFzeW5jPFQ+IGV4dGVuZHMgX0FzeW5jPFQ+IHtcbiAgcHJpdmF0ZSBnZXRUZXh0RGVjb3JhdGlvbigpIHtcbiAgICByZXR1cm4gJ2xpbmUtdGhyb3VnaCBkb3R0ZWQnO1xuICB9XG5cbiAgY29tcG9uZW50V2lsbFVwZGF0ZSgpIHtcbiAgICBjb25zdCBlbCA9IFJlYWN0RE9NLmZpbmRET01Ob2RlKHRoaXMpIGFzIEhUTUxMSUVsZW1lbnQ7XG5cbiAgICAvLyBSZXNldCBzdHlsZVxuICAgIGNvbnN0IGFzeW5jID0gZWwucXVlcnlTZWxlY3RvcjxIVE1MU3BhbkVsZW1lbnQ+KCdzcGFuW3N0eWxlXScpO1xuICAgIGFzeW5jIS5zdHlsZS50ZXh0RGVjb3JhdGlvbiA9IHRoaXMuZ2V0VGV4dERlY29yYXRpb24oKTtcbiAgfVxuXG4gIHJlbmRlcigpIHtcbiAgICByZXR1cm4gKFxuICAgICAgPGxpIGNsYXNzTmFtZT1cImFzeW5jXCI+XG4gICAgICAgIDxzcGFuIHN0eWxlPXt7dGV4dERlY29yYXRpb246IHRoaXMuZ2V0VGV4dERlY29yYXRpb24oKX19PkFzeW5jPC9zcGFuPlxuICAgICAgICA8dWw+XG4gICAgICAgICAge3N1cGVyLnJlbmRlcigpfVxuICAgICAgICA8L3VsPlxuICAgICAgPC9saT5cbiAgICApO1xuICB9XG59XG4iXX0= |
@@ -1,2 +0,2 @@ | ||
import React from 'react'; | ||
import * as React from 'react'; | ||
import { FormWithConstraints, FormWithConstraintsChildContext, FieldFeedback as _FieldFeedback, FieldFeedbacks as _FieldFeedbacks, Async as _Async } from 'react-form-with-constraints'; | ||
@@ -3,0 +3,0 @@ export interface DisplayFieldsProps { |
@@ -1,4 +0,4 @@ | ||
import React from 'react'; | ||
import ReactDOM from 'react-dom'; | ||
import PropTypes from 'prop-types'; | ||
import * as React from 'react'; | ||
import * as ReactDOM from 'react-dom'; | ||
import * as PropTypes from 'prop-types'; | ||
import { FormWithConstraints, FieldFeedback as _FieldFeedback, FieldFeedbackType, FieldFeedbacks as _FieldFeedbacks, Async as _Async, FieldEvent } from 'react-form-with-constraints'; | ||
@@ -5,0 +5,0 @@ export class DisplayFields extends React.Component { |
{ | ||
"name": "react-form-with-constraints-tools", | ||
"version": "0.10.0", | ||
"version": "0.11.0-beta.1", | ||
"repository": { | ||
@@ -28,6 +28,7 @@ "type": "git", | ||
"tsc": "tsc", | ||
"build": "tsc --project tsconfig.lib.json", | ||
"build": "yarn build:esnext && yarn build:es5", | ||
"build:esnext": "tsc --project tsconfig.lib.json", | ||
"build:es5": "tsc --project tsconfig.lib-es5.json", | ||
"dist": "cross-env NODE_ENV=development rollup --config && cross-env NODE_ENV=production rollup --config", | ||
"prepublishOnly": "npm run clean && npm run tsc && npm run build:es5 && npm run build && npm run dist", | ||
"prepublishOnly": "yarn clean && yarn tsc && yarn build && yarn dist", | ||
"test": "node --trace-warnings node_modules/.bin/jest --no-cache --verbose", | ||
@@ -37,2 +38,3 @@ "test:coverage": "node --trace-warnings node_modules/.bin/jest --no-cache --coverage" | ||
"peerDependencies": { | ||
"react-dom": ">=16", | ||
"react-form-with-constraints": "^0.10.0" | ||
@@ -55,5 +57,5 @@ }, | ||
"react-dom": "latest", | ||
"react-form-with-constraints": "^0.10.0", | ||
"rollup": "latest", | ||
"rollup-plugin-filesize": "latest", | ||
"react-form-with-constraints": "^0.11.0-beta.1", | ||
"rollup": "^0.68.2", | ||
"rollup-plugin-filesize": "^5.0.1", | ||
"rollup-plugin-gzip": "latest", | ||
@@ -67,3 +69,3 @@ "rollup-plugin-strip": "latest", | ||
}, | ||
"gitHead": "429d553d04bc3f74b677f12f11d3f2b0138c0b61" | ||
"gitHead": "099cadec10d813e58c419f94cec0ebb6a29f9655" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
48563
2
538