Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cerebral-forms

Package Overview
Dependencies
Maintainers
2
Versions
186
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cerebral-forms - npm Package Compare versions

Comparing version 1.0.0-0-alpha.9a0b482e to 1.0.0-0-alpha.ac5849d0

.nyc_output/49e5b5bdec6d13307566f69ed0038aa7.json

22

coverage/coverage-final.json

@@ -1,16 +0,18 @@

{"/home/travis/build/cerebral/cerebral/packages/cerebral-forms/src/form.js": {"path":"/home/travis/build/cerebral/cerebral/packages/cerebral-forms/src/form.js","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":null,"column":-1}},"1":{"start":{"line":4,"column":2},"end":{"line":null,"column":-1}},"2":{"start":{"line":5,"column":4},"end":{"line":null,"column":-1}},"3":{"start":{"line":7,"column":4},"end":{"line":null,"column":-1}}},"fnMap":{"0":{"name":"form","decl":{"start":{"line":3,"column":24},"end":{"line":3,"column":15}},"loc":{"start":{"line":3,"column":40},"end":{"line":9,"column":1}}},"1":{"name":"(anonymous_2)","decl":{"start":{"line":4,"column":38},"end":{"line":4,"column":38}},"loc":{"start":{"line":4,"column":53},"end":{"line":4,"column":9}}}},"branchMap":{},"s":{"0":1,"1":42,"2":64,"3":64},"f":{"0":42,"1":64},"b":{}}
,"/home/travis/build/cerebral/cerebral/packages/cerebral-forms/src/index.js": {"path":"/home/travis/build/cerebral/cerebral/packages/cerebral-forms/src/index.js","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":null,"column":-1}},"1":{"start":{"line":2,"column":0},"end":{"line":null,"column":-1}},"2":{"start":{"line":18,"column":2},"end":{"line":20,"column":3}},"3":{"start":{"line":19,"column":4},"end":{"line":null,"column":-1}},"4":{"start":{"line":22,"column":2},"end":{"line":null,"column":-1}}},"fnMap":{"0":{"name":"isValidForm","decl":{"start":{"line":17,"column":16},"end":{"line":17,"column":7}},"loc":{"start":{"line":17,"column":35},"end":{"line":23,"column":1}}}},"branchMap":{"0":{"loc":{"start":{"line":18,"column":2},"end":{"line":20,"column":3}},"type":"if","locations":[{"start":{"line":18,"column":2},"end":{"line":20,"column":3}},{"start":{"line":18,"column":2},"end":{"line":20,"column":3}}]},"1":{"loc":{"start":{"line":18,"column":6},"end":{"line":18,"column":5}},"type":"binary-expr","locations":[{"start":{"line":18,"column":6},"end":{"line":18,"column":5}},{"start":{"line":18,"column":34},"end":{"line":18,"column":2}}]}},"s":{"0":1,"1":1,"2":8,"3":5,"4":3},"f":{"0":8},"b":{"0":[5,3],"1":[8,4]}}
,"/home/travis/build/cerebral/cerebral/packages/cerebral-forms/src/rules.js": {"path":"/home/travis/build/cerebral/cerebral/packages/cerebral-forms/src/rules.js","statementMap":{"0":{"start":{"line":1,"column":14},"end":{"line":1,"column":0}},"1":{"start":{"line":3,"column":4},"end":{"line":null,"column":-1}},"2":{"start":{"line":6,"column":4},"end":{"line":null,"column":-1}},"3":{"start":{"line":9,"column":4},"end":{"line":null,"column":-1}},"4":{"start":{"line":12,"column":4},"end":{"line":null,"column":-1}},"5":{"start":{"line":15,"column":4},"end":{"line":null,"column":-1}},"6":{"start":{"line":18,"column":4},"end":{"line":null,"column":-1}},"7":{"start":{"line":21,"column":4},"end":{"line":null,"column":-1}},"8":{"start":{"line":24,"column":4},"end":{"line":null,"column":-1}},"9":{"start":{"line":27,"column":4},"end":{"line":null,"column":-1}},"10":{"start":{"line":30,"column":4},"end":{"line":32,"column":5}},"11":{"start":{"line":31,"column":6},"end":{"line":null,"column":-1}},"12":{"start":{"line":34,"column":4},"end":{"line":null,"column":-1}},"13":{"start":{"line":37,"column":4},"end":{"line":null,"column":-1}},"14":{"start":{"line":40,"column":4},"end":{"line":null,"column":-1}},"15":{"start":{"line":43,"column":4},"end":{"line":null,"column":-1}},"16":{"start":{"line":46,"column":4},"end":{"line":null,"column":-1}},"17":{"start":{"line":49,"column":4},"end":{"line":null,"column":-1}},"18":{"start":{"line":52,"column":4},"end":{"line":null,"column":-1}},"19":{"start":{"line":55,"column":4},"end":{"line":null,"column":-1}},"20":{"start":{"line":58,"column":4},"end":{"line":null,"column":-1}},"21":{"start":{"line":61,"column":4},"end":{"line":null,"column":-1}},"22":{"start":{"line":64,"column":4},"end":{"line":null,"column":-1}},"23":{"start":{"line":67,"column":4},"end":{"line":null,"column":-1}}},"fnMap":{"0":{"name":"isExisty","decl":{"start":{"line":1,"column":14},"end":{"line":2,"column":11}},"loc":{"start":{"line":2,"column":19},"end":{"line":1,"column":14}}},"1":{"name":"isEmpty","decl":{"start":{"line":1,"column":14},"end":{"line":5,"column":10}},"loc":{"start":{"line":5,"column":18},"end":{"line":1,"column":14}}},"2":{"name":"matchRegexp","decl":{"start":{"line":1,"column":14},"end":{"line":8,"column":14}},"loc":{"start":{"line":8,"column":33},"end":{"line":1,"column":14}}},"3":{"name":"isValue","decl":{"start":{"line":1,"column":14},"end":{"line":11,"column":10}},"loc":{"start":{"line":11,"column":18},"end":{"line":1,"column":14}}},"4":{"name":"isUndefined","decl":{"start":{"line":1,"column":14},"end":{"line":14,"column":14}},"loc":{"start":{"line":14,"column":22},"end":{"line":1,"column":14}}},"5":{"name":"isEmail","decl":{"start":{"line":1,"column":14},"end":{"line":17,"column":10}},"loc":{"start":{"line":17,"column":18},"end":{"line":1,"column":14}}},"6":{"name":"isUrl","decl":{"start":{"line":1,"column":14},"end":{"line":20,"column":8}},"loc":{"start":{"line":20,"column":16},"end":{"line":1,"column":14}}},"7":{"name":"isTrue","decl":{"start":{"line":1,"column":14},"end":{"line":23,"column":9}},"loc":{"start":{"line":23,"column":17},"end":{"line":1,"column":14}}},"8":{"name":"isFalse","decl":{"start":{"line":1,"column":14},"end":{"line":26,"column":10}},"loc":{"start":{"line":26,"column":18},"end":{"line":1,"column":14}}},"9":{"name":"isNumeric","decl":{"start":{"line":1,"column":14},"end":{"line":29,"column":12}},"loc":{"start":{"line":29,"column":20},"end":{"line":1,"column":14}}},"10":{"name":"isAlpha","decl":{"start":{"line":1,"column":14},"end":{"line":36,"column":10}},"loc":{"start":{"line":36,"column":18},"end":{"line":1,"column":14}}},"11":{"name":"isAlphanumeric","decl":{"start":{"line":1,"column":14},"end":{"line":39,"column":17}},"loc":{"start":{"line":39,"column":25},"end":{"line":1,"column":14}}},"12":{"name":"isInt","decl":{"start":{"line":1,"column":14},"end":{"line":42,"column":8}},"loc":{"start":{"line":42,"column":16},"end":{"line":1,"column":14}}},"13":{"name":"isFloat","decl":{"start":{"line":1,"column":14},"end":{"line":45,"column":10}},"loc":{"start":{"line":45,"column":18},"end":{"line":1,"column":14}}},"14":{"name":"isWords","decl":{"start":{"line":1,"column":14},"end":{"line":48,"column":10}},"loc":{"start":{"line":48,"column":18},"end":{"line":1,"column":14}}},"15":{"name":"isSpecialWords","decl":{"start":{"line":1,"column":14},"end":{"line":51,"column":17}},"loc":{"start":{"line":51,"column":25},"end":{"line":1,"column":14}}},"16":{"name":"isLength","decl":{"start":{"line":1,"column":14},"end":{"line":54,"column":11}},"loc":{"start":{"line":54,"column":33},"end":{"line":1,"column":14}}},"17":{"name":"equals","decl":{"start":{"line":1,"column":14},"end":{"line":57,"column":9}},"loc":{"start":{"line":57,"column":28},"end":{"line":1,"column":14}}},"18":{"name":"equalsField","decl":{"start":{"line":1,"column":14},"end":{"line":60,"column":14}},"loc":{"start":{"line":60,"column":35},"end":{"line":1,"column":14}}},"19":{"name":"maxLength","decl":{"start":{"line":1,"column":14},"end":{"line":63,"column":12}},"loc":{"start":{"line":63,"column":34},"end":{"line":1,"column":14}}},"20":{"name":"minLength","decl":{"start":{"line":1,"column":14},"end":{"line":66,"column":12}},"loc":{"start":{"line":66,"column":34},"end":{"line":68,"column":3}}}},"branchMap":{"0":{"loc":{"start":{"line":3,"column":11},"end":{"line":3,"column":10}},"type":"binary-expr","locations":[{"start":{"line":3,"column":11},"end":{"line":3,"column":10}},{"start":{"line":3,"column":29},"end":{"line":3,"column":4}}]},"1":{"loc":{"start":{"line":9,"column":11},"end":{"line":9,"column":10}},"type":"binary-expr","locations":[{"start":{"line":9,"column":11},"end":{"line":9,"column":10}},{"start":{"line":9,"column":37},"end":{"line":9,"column":11}},{"start":{"line":9,"column":61},"end":{"line":9,"column":4}}]},"2":{"loc":{"start":{"line":12,"column":11},"end":{"line":12,"column":10}},"type":"binary-expr","locations":[{"start":{"line":12,"column":11},"end":{"line":12,"column":10}},{"start":{"line":12,"column":34},"end":{"line":12,"column":11}},{"start":{"line":12,"column":50},"end":{"line":12,"column":11}},{"start":{"line":12,"column":68},"end":{"line":12,"column":11}},{"start":{"line":12,"column":88},"end":{"line":12,"column":87}},{"start":{"line":12,"column":113},"end":{"line":12,"column":11}}]},"3":{"loc":{"start":{"line":30,"column":4},"end":{"line":32,"column":5}},"type":"if","locations":[{"start":{"line":30,"column":4},"end":{"line":32,"column":5}},{"start":{"line":30,"column":4},"end":{"line":32,"column":5}}]}},"s":{"0":1,"1":41,"2":41,"3":39,"4":177,"5":2,"6":7,"7":4,"8":3,"9":3,"10":7,"11":4,"12":3,"13":6,"14":5,"15":4,"16":4,"17":3,"18":3,"19":2,"20":3,"21":6,"22":3,"23":33},"f":{"0":41,"1":41,"2":39,"3":177,"4":2,"5":7,"6":4,"7":3,"8":3,"9":7,"10":6,"11":5,"12":4,"13":4,"14":3,"15":3,"16":2,"17":3,"18":6,"19":3,"20":33},"b":{"0":[41,40],"1":[39,39,39],"2":[177,176,148,147,146,2],"3":[4,3]}}
{"/home/travis/build/cerebral/cerebral/packages/cerebral-forms/src/form.js": {"path":"/home/travis/build/cerebral/cerebral/packages/cerebral-forms/src/form.js","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":null,"column":-1}},"1":{"start":{"line":4,"column":2},"end":{"line":null,"column":-1}},"2":{"start":{"line":5,"column":4},"end":{"line":null,"column":-1}},"3":{"start":{"line":7,"column":4},"end":{"line":null,"column":-1}}},"fnMap":{"0":{"name":"form","decl":{"start":{"line":3,"column":24},"end":{"line":3,"column":15}},"loc":{"start":{"line":3,"column":40},"end":{"line":9,"column":1}}},"1":{"name":"(anonymous_2)","decl":{"start":{"line":4,"column":38},"end":{"line":4,"column":38}},"loc":{"start":{"line":4,"column":53},"end":{"line":4,"column":9}}}},"branchMap":{},"s":{"0":1,"1":66,"2":100,"3":100},"f":{"0":66,"1":100},"b":{}}
,"/home/travis/build/cerebral/cerebral/packages/cerebral-forms/src/index.js": {"path":"/home/travis/build/cerebral/cerebral/packages/cerebral-forms/src/index.js","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":null,"column":-1}},"1":{"start":{"line":2,"column":0},"end":{"line":null,"column":-1}},"2":{"start":{"line":19,"column":2},"end":{"line":21,"column":3}},"3":{"start":{"line":20,"column":4},"end":{"line":null,"column":-1}},"4":{"start":{"line":23,"column":2},"end":{"line":null,"column":-1}}},"fnMap":{"0":{"name":"isValidForm","decl":{"start":{"line":18,"column":16},"end":{"line":18,"column":7}},"loc":{"start":{"line":18,"column":35},"end":{"line":24,"column":1}}}},"branchMap":{"0":{"loc":{"start":{"line":19,"column":2},"end":{"line":21,"column":3}},"type":"if","locations":[{"start":{"line":19,"column":2},"end":{"line":21,"column":3}},{"start":{"line":19,"column":2},"end":{"line":21,"column":3}}]},"1":{"loc":{"start":{"line":19,"column":6},"end":{"line":19,"column":5}},"type":"binary-expr","locations":[{"start":{"line":19,"column":6},"end":{"line":19,"column":5}},{"start":{"line":19,"column":34},"end":{"line":19,"column":2}}]}},"s":{"0":1,"1":1,"2":8,"3":5,"4":3},"f":{"0":8},"b":{"0":[5,3],"1":[8,4]}}
,"/home/travis/build/cerebral/cerebral/packages/cerebral-forms/src/rules.js": {"path":"/home/travis/build/cerebral/cerebral/packages/cerebral-forms/src/rules.js","statementMap":{"0":{"start":{"line":1,"column":14},"end":{"line":1,"column":0}},"1":{"start":{"line":3,"column":4},"end":{"line":null,"column":-1}},"2":{"start":{"line":6,"column":4},"end":{"line":null,"column":-1}},"3":{"start":{"line":9,"column":4},"end":{"line":null,"column":-1}},"4":{"start":{"line":12,"column":4},"end":{"line":null,"column":-1}},"5":{"start":{"line":15,"column":4},"end":{"line":null,"column":-1}},"6":{"start":{"line":18,"column":4},"end":{"line":null,"column":-1}},"7":{"start":{"line":21,"column":4},"end":{"line":null,"column":-1}},"8":{"start":{"line":24,"column":4},"end":{"line":null,"column":-1}},"9":{"start":{"line":27,"column":4},"end":{"line":null,"column":-1}},"10":{"start":{"line":30,"column":4},"end":{"line":32,"column":5}},"11":{"start":{"line":31,"column":6},"end":{"line":null,"column":-1}},"12":{"start":{"line":34,"column":4},"end":{"line":null,"column":-1}},"13":{"start":{"line":37,"column":4},"end":{"line":null,"column":-1}},"14":{"start":{"line":40,"column":4},"end":{"line":null,"column":-1}},"15":{"start":{"line":43,"column":4},"end":{"line":null,"column":-1}},"16":{"start":{"line":46,"column":4},"end":{"line":null,"column":-1}},"17":{"start":{"line":49,"column":4},"end":{"line":null,"column":-1}},"18":{"start":{"line":52,"column":4},"end":{"line":null,"column":-1}},"19":{"start":{"line":55,"column":4},"end":{"line":null,"column":-1}},"20":{"start":{"line":58,"column":4},"end":{"line":null,"column":-1}},"21":{"start":{"line":61,"column":4},"end":{"line":null,"column":-1}},"22":{"start":{"line":64,"column":4},"end":{"line":null,"column":-1}},"23":{"start":{"line":67,"column":4},"end":{"line":null,"column":-1}}},"fnMap":{"0":{"name":"isExisty","decl":{"start":{"line":1,"column":14},"end":{"line":2,"column":11}},"loc":{"start":{"line":2,"column":19},"end":{"line":1,"column":14}}},"1":{"name":"isEmpty","decl":{"start":{"line":1,"column":14},"end":{"line":5,"column":10}},"loc":{"start":{"line":5,"column":18},"end":{"line":1,"column":14}}},"2":{"name":"matchRegexp","decl":{"start":{"line":1,"column":14},"end":{"line":8,"column":14}},"loc":{"start":{"line":8,"column":33},"end":{"line":1,"column":14}}},"3":{"name":"isValue","decl":{"start":{"line":1,"column":14},"end":{"line":11,"column":10}},"loc":{"start":{"line":11,"column":18},"end":{"line":1,"column":14}}},"4":{"name":"isUndefined","decl":{"start":{"line":1,"column":14},"end":{"line":14,"column":14}},"loc":{"start":{"line":14,"column":22},"end":{"line":1,"column":14}}},"5":{"name":"isEmail","decl":{"start":{"line":1,"column":14},"end":{"line":17,"column":10}},"loc":{"start":{"line":17,"column":18},"end":{"line":1,"column":14}}},"6":{"name":"isUrl","decl":{"start":{"line":1,"column":14},"end":{"line":20,"column":8}},"loc":{"start":{"line":20,"column":16},"end":{"line":1,"column":14}}},"7":{"name":"isTrue","decl":{"start":{"line":1,"column":14},"end":{"line":23,"column":9}},"loc":{"start":{"line":23,"column":17},"end":{"line":1,"column":14}}},"8":{"name":"isFalse","decl":{"start":{"line":1,"column":14},"end":{"line":26,"column":10}},"loc":{"start":{"line":26,"column":18},"end":{"line":1,"column":14}}},"9":{"name":"isNumeric","decl":{"start":{"line":1,"column":14},"end":{"line":29,"column":12}},"loc":{"start":{"line":29,"column":20},"end":{"line":1,"column":14}}},"10":{"name":"isAlpha","decl":{"start":{"line":1,"column":14},"end":{"line":36,"column":10}},"loc":{"start":{"line":36,"column":18},"end":{"line":1,"column":14}}},"11":{"name":"isAlphanumeric","decl":{"start":{"line":1,"column":14},"end":{"line":39,"column":17}},"loc":{"start":{"line":39,"column":25},"end":{"line":1,"column":14}}},"12":{"name":"isInt","decl":{"start":{"line":1,"column":14},"end":{"line":42,"column":8}},"loc":{"start":{"line":42,"column":16},"end":{"line":1,"column":14}}},"13":{"name":"isFloat","decl":{"start":{"line":1,"column":14},"end":{"line":45,"column":10}},"loc":{"start":{"line":45,"column":18},"end":{"line":1,"column":14}}},"14":{"name":"isWords","decl":{"start":{"line":1,"column":14},"end":{"line":48,"column":10}},"loc":{"start":{"line":48,"column":18},"end":{"line":1,"column":14}}},"15":{"name":"isSpecialWords","decl":{"start":{"line":1,"column":14},"end":{"line":51,"column":17}},"loc":{"start":{"line":51,"column":25},"end":{"line":1,"column":14}}},"16":{"name":"isLength","decl":{"start":{"line":1,"column":14},"end":{"line":54,"column":11}},"loc":{"start":{"line":54,"column":33},"end":{"line":1,"column":14}}},"17":{"name":"equals","decl":{"start":{"line":1,"column":14},"end":{"line":57,"column":9}},"loc":{"start":{"line":57,"column":28},"end":{"line":1,"column":14}}},"18":{"name":"equalsField","decl":{"start":{"line":1,"column":14},"end":{"line":60,"column":14}},"loc":{"start":{"line":60,"column":35},"end":{"line":1,"column":14}}},"19":{"name":"maxLength","decl":{"start":{"line":1,"column":14},"end":{"line":63,"column":12}},"loc":{"start":{"line":63,"column":34},"end":{"line":1,"column":14}}},"20":{"name":"minLength","decl":{"start":{"line":1,"column":14},"end":{"line":66,"column":12}},"loc":{"start":{"line":66,"column":34},"end":{"line":68,"column":3}}}},"branchMap":{"0":{"loc":{"start":{"line":3,"column":11},"end":{"line":3,"column":10}},"type":"binary-expr","locations":[{"start":{"line":3,"column":11},"end":{"line":3,"column":10}},{"start":{"line":3,"column":29},"end":{"line":3,"column":4}}]},"1":{"loc":{"start":{"line":9,"column":11},"end":{"line":9,"column":10}},"type":"binary-expr","locations":[{"start":{"line":9,"column":11},"end":{"line":9,"column":10}},{"start":{"line":9,"column":37},"end":{"line":9,"column":11}},{"start":{"line":9,"column":61},"end":{"line":9,"column":4}}]},"2":{"loc":{"start":{"line":12,"column":11},"end":{"line":12,"column":10}},"type":"binary-expr","locations":[{"start":{"line":12,"column":11},"end":{"line":12,"column":10}},{"start":{"line":12,"column":34},"end":{"line":12,"column":11}},{"start":{"line":12,"column":50},"end":{"line":12,"column":11}},{"start":{"line":12,"column":68},"end":{"line":12,"column":11}},{"start":{"line":12,"column":88},"end":{"line":12,"column":87}},{"start":{"line":12,"column":113},"end":{"line":12,"column":11}}]},"3":{"loc":{"start":{"line":30,"column":4},"end":{"line":32,"column":5}},"type":"if","locations":[{"start":{"line":30,"column":4},"end":{"line":32,"column":5}},{"start":{"line":30,"column":4},"end":{"line":32,"column":5}}]}},"s":{"0":1,"1":48,"2":48,"3":46,"4":359,"5":2,"6":7,"7":4,"8":3,"9":3,"10":18,"11":8,"12":10,"13":6,"14":5,"15":4,"16":4,"17":3,"18":3,"19":2,"20":3,"21":15,"22":3,"23":52},"f":{"0":48,"1":48,"2":46,"3":359,"4":2,"5":7,"6":4,"7":3,"8":3,"9":18,"10":6,"11":5,"12":4,"13":4,"14":3,"15":3,"16":2,"17":3,"18":15,"19":3,"20":52},"b":{"0":[48,47],"1":[46,46,45],"2":[359,358,266,265,264,2],"3":[8,10]}}
,"/home/travis/build/cerebral/cerebral/packages/cerebral-forms/src/chains/changeField.js": {"path":"/home/travis/build/cerebral/cerebral/packages/cerebral-forms/src/chains/changeField.js","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":null,"column":-1}},"1":{"start":{"line":2,"column":0},"end":{"line":null,"column":-1}}},"fnMap":{},"branchMap":{},"s":{"0":1,"1":1},"f":{},"b":{}}
,"/home/travis/build/cerebral/cerebral/packages/cerebral-forms/src/factories/initializeForm.js": {"path":"/home/travis/build/cerebral/cerebral/packages/cerebral-forms/src/factories/initializeForm.js","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":null,"column":-1}},"1":{"start":{"line":4,"column":2},"end":{"line":null,"column":-1}},"2":{"start":{"line":5,"column":4},"end":{"line":20,"column":5}},"3":{"start":{"line":6,"column":31},"end":{"line":6,"column":6}},"4":{"start":{"line":7,"column":6},"end":{"line":19,"column":7}},"5":{"start":{"line":8,"column":8},"end":{"line":null,"column":-1}},"6":{"start":{"line":9,"column":13},"end":{"line":19,"column":7}},"7":{"start":{"line":10,"column":25},"end":{"line":10,"column":8}},"8":{"start":{"line":11,"column":10},"end":{"line":null,"column":-1}},"9":{"start":{"line":12,"column":10},"end":{"line":null,"column":-1}},"10":{"start":{"line":14,"column":8},"end":{"line":null,"column":-1}},"11":{"start":{"line":15,"column":8},"end":{"line":null,"column":-1}},"12":{"start":{"line":16,"column":8},"end":{"line":null,"column":-1}},"13":{"start":{"line":18,"column":8},"end":{"line":null,"column":-1}},"14":{"start":{"line":22,"column":4},"end":{"line":null,"column":-1}},"15":{"start":{"line":27,"column":2},"end":{"line":32,"column":3}},"16":{"start":{"line":28,"column":4},"end":{"line":null,"column":-1}},"17":{"start":{"line":29,"column":6},"end":{"line":null,"column":-1}},"18":{"start":{"line":30,"column":6},"end":{"line":null,"column":-1}},"19":{"start":{"line":33,"column":2},"end":{"line":null,"column":-1}},"20":{"start":{"line":34,"column":4},"end":{"line":null,"column":-1}},"21":{"start":{"line":35,"column":4},"end":{"line":null,"column":-1}},"22":{"start":{"line":41,"column":21},"end":{"line":41,"column":4}},"23":{"start":{"line":42,"column":26},"end":{"line":42,"column":4}},"24":{"start":{"line":43,"column":17},"end":{"line":43,"column":4}},"25":{"start":{"line":45,"column":4},"end":{"line":null,"column":-1}},"26":{"start":{"line":48,"column":2},"end":{"line":null,"column":-1}},"27":{"start":{"line":53,"column":21},"end":{"line":53,"column":4}},"28":{"start":{"line":54,"column":17},"end":{"line":54,"column":4}},"29":{"start":{"line":56,"column":4},"end":{"line":null,"column":-1}},"30":{"start":{"line":59,"column":2},"end":{"line":null,"column":-1}}},"fnMap":{"0":{"name":"initializeObject","decl":{"start":{"line":3,"column":9},"end":{"line":3,"column":0}},"loc":{"start":{"line":3,"column":48},"end":{"line":24,"column":1}}},"1":{"name":"(anonymous_2)","decl":{"start":{"line":4,"column":34},"end":{"line":4,"column":43}},"loc":{"start":{"line":4,"column":58},"end":{"line":4,"column":9}}},"2":{"name":"(anonymous_3)","decl":{"start":{"line":10,"column":55},"end":{"line":10,"column":55}},"loc":{"start":{"line":10,"column":75},"end":{"line":10,"column":25}}},"3":{"name":"initializeArray","decl":{"start":{"line":26,"column":9},"end":{"line":26,"column":0}},"loc":{"start":{"line":26,"column":52},"end":{"line":37,"column":1}}},"4":{"name":"(anonymous_5)","decl":{"start":{"line":28,"column":32},"end":{"line":28,"column":32}},"loc":{"start":{"line":28,"column":64},"end":{"line":28,"column":11}}},"5":{"name":"(anonymous_6)","decl":{"start":{"line":33,"column":26},"end":{"line":33,"column":26}},"loc":{"start":{"line":33,"column":57},"end":{"line":33,"column":9}}},"6":{"name":"initializeFormFactory","decl":{"start":{"line":39,"column":24},"end":{"line":39,"column":15}},"loc":{"start":{"line":39,"column":88},"end":{"line":49,"column":1}}},"7":{"name":"initializeForm","decl":{"start":{"line":40,"column":11},"end":{"line":40,"column":2}},"loc":{"start":{"line":40,"column":36},"end":{"line":46,"column":3}}},"8":{"name":"resetFormFactory","decl":{"start":{"line":51,"column":9},"end":{"line":51,"column":0}},"loc":{"start":{"line":51,"column":45},"end":{"line":60,"column":1}}},"9":{"name":"resetForm","decl":{"start":{"line":52,"column":11},"end":{"line":52,"column":2}},"loc":{"start":{"line":52,"column":31},"end":{"line":57,"column":3}}}},"branchMap":{"0":{"loc":{"start":{"line":5,"column":4},"end":{"line":20,"column":5}},"type":"if","locations":[{"start":{"line":5,"column":4},"end":{"line":20,"column":5}},{"start":{"line":5,"column":4},"end":{"line":20,"column":5}}]},"1":{"loc":{"start":{"line":6,"column":31},"end":{"line":6,"column":47}},"type":"binary-expr","locations":[{"start":{"line":6,"column":31},"end":{"line":6,"column":47}},{"start":{"line":6,"column":48},"end":{"line":6,"column":6}}]},"2":{"loc":{"start":{"line":7,"column":6},"end":{"line":19,"column":7}},"type":"if","locations":[{"start":{"line":7,"column":6},"end":{"line":19,"column":7}},{"start":{"line":7,"column":6},"end":{"line":19,"column":7}}]},"3":{"loc":{"start":{"line":9,"column":13},"end":{"line":19,"column":7}},"type":"if","locations":[{"start":{"line":9,"column":13},"end":{"line":19,"column":7}},{"start":{"line":9,"column":13},"end":{"line":19,"column":7}}]},"4":{"loc":{"start":{"line":14,"column":32},"end":{"line":14,"column":51}},"type":"binary-expr","locations":[{"start":{"line":14,"column":32},"end":{"line":14,"column":51}},{"start":{"line":14,"column":52},"end":{"line":14,"column":8}}]},"5":{"loc":{"start":{"line":27,"column":2},"end":{"line":32,"column":3}},"type":"if","locations":[{"start":{"line":27,"column":2},"end":{"line":32,"column":3}},{"start":{"line":27,"column":2},"end":{"line":32,"column":3}}]},"6":{"loc":{"start":{"line":27,"column":6},"end":{"line":27,"column":22}},"type":"binary-expr","locations":[{"start":{"line":27,"column":6},"end":{"line":27,"column":22}},{"start":{"line":27,"column":23},"end":{"line":27,"column":2}}]},"7":{"loc":{"start":{"line":29,"column":45},"end":{"line":29,"column":64}},"type":"binary-expr","locations":[{"start":{"line":29,"column":45},"end":{"line":29,"column":64}},{"start":{"line":29,"column":65},"end":{"line":29,"column":28}}]},"8":{"loc":{"start":{"line":34,"column":49},"end":{"line":34,"column":65}},"type":"binary-expr","locations":[{"start":{"line":34,"column":49},"end":{"line":34,"column":65}},{"start":{"line":34,"column":66},"end":{"line":34,"column":26}}]},"9":{"loc":{"start":{"line":41,"column":62},"end":{"line":41,"column":21}},"type":"cond-expr","locations":[{"start":{"line":41,"column":62},"end":{"line":41,"column":21}},{"start":{"line":41,"column":96},"end":{"line":41,"column":4}}]},"10":{"loc":{"start":{"line":42,"column":72},"end":{"line":42,"column":26}},"type":"cond-expr","locations":[{"start":{"line":42,"column":72},"end":{"line":42,"column":26}},{"start":{"line":42,"column":111},"end":{"line":42,"column":4}}]},"11":{"loc":{"start":{"line":53,"column":62},"end":{"line":53,"column":21}},"type":"cond-expr","locations":[{"start":{"line":53,"column":62},"end":{"line":53,"column":21}},{"start":{"line":53,"column":96},"end":{"line":53,"column":4}}]}},"s":{"0":1,"1":18,"2":23,"3":23,"4":23,"5":3,"6":20,"7":18,"8":198,"9":198,"10":18,"11":18,"12":18,"13":2,"14":23,"15":3,"16":1,"17":2,"18":2,"19":2,"20":4,"21":4,"22":6,"23":6,"24":6,"25":6,"26":6,"27":4,"28":4,"29":4,"30":4},"f":{"0":18,"1":23,"2":198,"3":3,"4":2,"5":4,"6":6,"7":6,"8":4,"9":4},"b":{"0":[23,0],"1":[23,13],"2":[3,20],"3":[18,2],"4":[18,8],"5":[1,2],"6":[3,2],"7":[2,1],"8":[4,2],"9":[5,1],"10":[5,1],"11":[3,1]}}
,"/home/travis/build/cerebral/cerebral/packages/cerebral-forms/src/factories/isValidForm.js": {"path":"/home/travis/build/cerebral/cerebral/packages/cerebral-forms/src/factories/isValidForm.js","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":null,"column":-1}},"1":{"start":{"line":5,"column":21},"end":{"line":5,"column":4}},"2":{"start":{"line":6,"column":17},"end":{"line":6,"column":4}},"3":{"start":{"line":8,"column":4},"end":{"line":10,"column":5}},"4":{"start":{"line":9,"column":6},"end":{"line":null,"column":-1}},"5":{"start":{"line":12,"column":4},"end":{"line":null,"column":-1}},"6":{"start":{"line":15,"column":2},"end":{"line":null,"column":-1}}},"fnMap":{"0":{"name":"isValidFormFactory","decl":{"start":{"line":3,"column":9},"end":{"line":3,"column":0}},"loc":{"start":{"line":3,"column":47},"end":{"line":16,"column":1}}},"1":{"name":"isValidForm","decl":{"start":{"line":4,"column":11},"end":{"line":4,"column":2}},"loc":{"start":{"line":4,"column":33},"end":{"line":13,"column":3}}}},"branchMap":{"0":{"loc":{"start":{"line":5,"column":62},"end":{"line":5,"column":21}},"type":"cond-expr","locations":[{"start":{"line":5,"column":62},"end":{"line":5,"column":21}},{"start":{"line":5,"column":96},"end":{"line":5,"column":4}}]},"1":{"loc":{"start":{"line":8,"column":4},"end":{"line":10,"column":5}},"type":"if","locations":[{"start":{"line":8,"column":4},"end":{"line":10,"column":5}},{"start":{"line":8,"column":4},"end":{"line":10,"column":5}}]}},"s":{"0":1,"1":7,"2":7,"3":7,"4":4,"5":3,"6":5},"f":{"0":5,"1":7},"b":{"0":[2,5],"1":[4,3]}}
,"/home/travis/build/cerebral/cerebral/packages/cerebral-forms/src/factories/resetForm.js": {"path":"/home/travis/build/cerebral/cerebral/packages/cerebral-forms/src/factories/resetForm.js","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":null,"column":-1}},"1":{"start":{"line":4,"column":2},"end":{"line":null,"column":-1}},"2":{"start":{"line":5,"column":4},"end":{"line":18,"column":5}},"3":{"start":{"line":6,"column":6},"end":{"line":17,"column":7}},"4":{"start":{"line":7,"column":8},"end":{"line":null,"column":-1}},"5":{"start":{"line":8,"column":13},"end":{"line":17,"column":7}},"6":{"start":{"line":9,"column":25},"end":{"line":9,"column":8}},"7":{"start":{"line":10,"column":10},"end":{"line":null,"column":-1}},"8":{"start":{"line":11,"column":10},"end":{"line":null,"column":-1}},"9":{"start":{"line":13,"column":8},"end":{"line":null,"column":-1}},"10":{"start":{"line":14,"column":8},"end":{"line":null,"column":-1}},"11":{"start":{"line":16,"column":8},"end":{"line":null,"column":-1}},"12":{"start":{"line":20,"column":4},"end":{"line":null,"column":-1}},"13":{"start":{"line":25,"column":2},"end":{"line":null,"column":-1}},"14":{"start":{"line":26,"column":4},"end":{"line":null,"column":-1}},"15":{"start":{"line":27,"column":4},"end":{"line":null,"column":-1}},"16":{"start":{"line":33,"column":21},"end":{"line":33,"column":4}},"17":{"start":{"line":34,"column":17},"end":{"line":34,"column":4}},"18":{"start":{"line":36,"column":4},"end":{"line":null,"column":-1}},"19":{"start":{"line":39,"column":2},"end":{"line":null,"column":-1}}},"fnMap":{"0":{"name":"resetObject","decl":{"start":{"line":3,"column":9},"end":{"line":3,"column":0}},"loc":{"start":{"line":3,"column":28},"end":{"line":22,"column":1}}},"1":{"name":"(anonymous_2)","decl":{"start":{"line":4,"column":34},"end":{"line":4,"column":43}},"loc":{"start":{"line":4,"column":58},"end":{"line":4,"column":9}}},"2":{"name":"(anonymous_3)","decl":{"start":{"line":9,"column":55},"end":{"line":9,"column":55}},"loc":{"start":{"line":9,"column":75},"end":{"line":9,"column":25}}},"3":{"name":"resetArray","decl":{"start":{"line":24,"column":9},"end":{"line":24,"column":0}},"loc":{"start":{"line":24,"column":32},"end":{"line":29,"column":1}}},"4":{"name":"(anonymous_5)","decl":{"start":{"line":25,"column":26},"end":{"line":25,"column":26}},"loc":{"start":{"line":25,"column":57},"end":{"line":25,"column":9}}},"5":{"name":"resetFormFactory","decl":{"start":{"line":31,"column":24},"end":{"line":31,"column":15}},"loc":{"start":{"line":31,"column":60},"end":{"line":40,"column":1}}},"6":{"name":"resetForm","decl":{"start":{"line":32,"column":11},"end":{"line":32,"column":2}},"loc":{"start":{"line":32,"column":31},"end":{"line":37,"column":3}}}},"branchMap":{"0":{"loc":{"start":{"line":5,"column":4},"end":{"line":18,"column":5}},"type":"if","locations":[{"start":{"line":5,"column":4},"end":{"line":18,"column":5}},{"start":{"line":5,"column":4},"end":{"line":18,"column":5}}]},"1":{"loc":{"start":{"line":6,"column":6},"end":{"line":17,"column":7}},"type":"if","locations":[{"start":{"line":6,"column":6},"end":{"line":17,"column":7}},{"start":{"line":6,"column":6},"end":{"line":17,"column":7}}]},"2":{"loc":{"start":{"line":8,"column":13},"end":{"line":17,"column":7}},"type":"if","locations":[{"start":{"line":8,"column":13},"end":{"line":17,"column":7}},{"start":{"line":8,"column":13},"end":{"line":17,"column":7}}]},"3":{"loc":{"start":{"line":33,"column":62},"end":{"line":33,"column":21}},"type":"cond-expr","locations":[{"start":{"line":33,"column":62},"end":{"line":33,"column":21}},{"start":{"line":33,"column":96},"end":{"line":33,"column":4}}]}},"s":{"0":1,"1":2,"2":2,"3":2,"4":0,"5":2,"6":2,"7":22,"8":22,"9":2,"10":2,"11":0,"12":2,"13":0,"14":0,"15":0,"16":2,"17":2,"18":2,"19":2},"f":{"0":2,"1":2,"2":22,"3":0,"4":0,"5":2,"6":2},"b":{"0":[2,0],"1":[0,2],"2":[2,0],"3":[1,1]}}
,"/home/travis/build/cerebral/cerebral/packages/cerebral-forms/src/factories/validateField.js": {"path":"/home/travis/build/cerebral/cerebral/packages/cerebral-forms/src/factories/validateField.js","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":null,"column":-1}},"1":{"start":{"line":5,"column":17},"end":{"line":5,"column":4}},"2":{"start":{"line":6,"column":22},"end":{"line":6,"column":4}},"3":{"start":{"line":7,"column":21},"end":{"line":7,"column":4}},"4":{"start":{"line":8,"column":18},"end":{"line":8,"column":4}},"5":{"start":{"line":9,"column":17},"end":{"line":9,"column":4}},"6":{"start":{"line":10,"column":29},"end":{"line":10,"column":4}},"7":{"start":{"line":12,"column":4},"end":{"line":null,"column":-1}},"8":{"start":{"line":14,"column":26},"end":{"line":14,"column":4}},"9":{"start":{"line":15,"column":4},"end":{"line":19,"column":5}},"10":{"start":{"line":16,"column":6},"end":{"line":null,"column":-1}},"11":{"start":{"line":17,"column":11},"end":{"line":19,"column":5}},"12":{"start":{"line":18,"column":6},"end":{"line":null,"column":-1}},"13":{"start":{"line":21,"column":40},"end":{"line":21,"column":4}},"14":{"start":{"line":22,"column":33},"end":{"line":22,"column":6}},"15":{"start":{"line":23,"column":32},"end":{"line":23,"column":6}},"16":{"start":{"line":24,"column":20},"end":{"line":24,"column":6}},"17":{"start":{"line":25,"column":19},"end":{"line":25,"column":6}},"18":{"start":{"line":27,"column":6},"end":{"line":29,"column":7}},"19":{"start":{"line":28,"column":8},"end":{"line":null,"column":-1}},"20":{"start":{"line":31,"column":40},"end":{"line":31,"column":6}},"21":{"start":{"line":32,"column":6},"end":{"line":null,"column":-1}},"22":{"start":{"line":34,"column":6},"end":{"line":36,"column":7}},"23":{"start":{"line":35,"column":8},"end":{"line":null,"column":-1}},"24":{"start":{"line":38,"column":6},"end":{"line":null,"column":-1}},"25":{"start":{"line":41,"column":4},"end":{"line":null,"column":-1}},"26":{"start":{"line":44,"column":2},"end":{"line":null,"column":-1}}},"fnMap":{"0":{"name":"validateFieldFactory","decl":{"start":{"line":3,"column":24},"end":{"line":3,"column":15}},"loc":{"start":{"line":3,"column":60},"end":{"line":45,"column":1}}},"1":{"name":"validateField","decl":{"start":{"line":4,"column":11},"end":{"line":4,"column":2}},"loc":{"start":{"line":4,"column":35},"end":{"line":42,"column":3}}},"2":{"name":"(anonymous_3)","decl":{"start":{"line":21,"column":63},"end":{"line":21,"column":63}},"loc":{"start":{"line":21,"column":104},"end":{"line":21,"column":40}}}},"branchMap":{"0":{"loc":{"start":{"line":5,"column":54},"end":{"line":5,"column":17}},"type":"cond-expr","locations":[{"start":{"line":5,"column":54},"end":{"line":5,"column":17}},{"start":{"line":5,"column":84},"end":{"line":5,"column":4}}]},"1":{"loc":{"start":{"line":15,"column":4},"end":{"line":19,"column":5}},"type":"if","locations":[{"start":{"line":15,"column":4},"end":{"line":19,"column":5}},{"start":{"line":15,"column":4},"end":{"line":19,"column":5}}]},"2":{"loc":{"start":{"line":17,"column":11},"end":{"line":19,"column":5}},"type":"if","locations":[{"start":{"line":17,"column":11},"end":{"line":19,"column":5}},{"start":{"line":17,"column":11},"end":{"line":19,"column":5}}]},"3":{"loc":{"start":{"line":27,"column":6},"end":{"line":29,"column":7}},"type":"if","locations":[{"start":{"line":27,"column":6},"end":{"line":29,"column":7}},{"start":{"line":27,"column":6},"end":{"line":29,"column":7}}]},"4":{"loc":{"start":{"line":34,"column":6},"end":{"line":36,"column":7}},"type":"if","locations":[{"start":{"line":34,"column":6},"end":{"line":36,"column":7}},{"start":{"line":34,"column":6},"end":{"line":36,"column":7}}]},"5":{"loc":{"start":{"line":34,"column":10},"end":{"line":34,"column":9}},"type":"binary-expr","locations":[{"start":{"line":34,"column":10},"end":{"line":34,"column":9}},{"start":{"line":34,"column":45},"end":{"line":34,"column":6}}]}},"s":{"0":1,"1":15,"2":15,"3":15,"4":15,"5":15,"6":15,"7":15,"8":15,"9":15,"10":0,"11":15,"12":4,"13":15,"14":4,"15":4,"16":4,"17":4,"18":4,"19":0,"20":4,"21":4,"22":4,"23":2,"24":2,"25":15,"26":5},"f":{"0":5,"1":15,"2":4},"b":{"0":[12,3],"1":[0,15],"2":[4,11],"3":[0,4],"4":[2,2],"5":[4,3]}}
,"/home/travis/build/cerebral/cerebral/packages/cerebral-forms/src/factories/validateForm.js": {"path":"/home/travis/build/cerebral/cerebral/packages/cerebral-forms/src/factories/validateForm.js","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":null,"column":-1}},"1":{"start":{"line":5,"column":27},"end":{"line":5,"column":4}},"2":{"start":{"line":6,"column":21},"end":{"line":6,"column":4}},"3":{"start":{"line":7,"column":29},"end":{"line":7,"column":4}},"4":{"start":{"line":10,"column":6},"end":{"line":null,"column":-1}},"5":{"start":{"line":11,"column":8},"end":{"line":19,"column":9}},"6":{"start":{"line":12,"column":10},"end":{"line":18,"column":11}},"7":{"start":{"line":13,"column":12},"end":{"line":null,"column":-1}},"8":{"start":{"line":14,"column":17},"end":{"line":18,"column":11}},"9":{"start":{"line":15,"column":12},"end":{"line":null,"column":-1}},"10":{"start":{"line":17,"column":12},"end":{"line":null,"column":-1}},"11":{"start":{"line":24,"column":6},"end":{"line":null,"column":-1}},"12":{"start":{"line":25,"column":8},"end":{"line":null,"column":-1}},"13":{"start":{"line":29,"column":4},"end":{"line":null,"column":-1}},"14":{"start":{"line":32,"column":2},"end":{"line":null,"column":-1}}},"fnMap":{"0":{"name":"validateFormFactory","decl":{"start":{"line":3,"column":24},"end":{"line":3,"column":15}},"loc":{"start":{"line":3,"column":69},"end":{"line":33,"column":1}}},"1":{"name":"validateForm","decl":{"start":{"line":4,"column":11},"end":{"line":4,"column":2}},"loc":{"start":{"line":4,"column":34},"end":{"line":30,"column":3}}},"2":{"name":"validateForm","decl":{"start":{"line":9,"column":13},"end":{"line":9,"column":4}},"loc":{"start":{"line":9,"column":39},"end":{"line":21,"column":5}}},"3":{"name":"(anonymous_4)","decl":{"start":{"line":10,"column":32},"end":{"line":10,"column":41}},"loc":{"start":{"line":10,"column":47},"end":{"line":10,"column":6}}},"4":{"name":"validateArray","decl":{"start":{"line":23,"column":13},"end":{"line":23,"column":4}},"loc":{"start":{"line":23,"column":45},"end":{"line":27,"column":5}}},"5":{"name":"(anonymous_6)","decl":{"start":{"line":24,"column":24},"end":{"line":24,"column":24}},"loc":{"start":{"line":24,"column":41},"end":{"line":24,"column":6}}}},"branchMap":{"0":{"loc":{"start":{"line":5,"column":74},"end":{"line":5,"column":27}},"type":"cond-expr","locations":[{"start":{"line":5,"column":74},"end":{"line":5,"column":27}},{"start":{"line":5,"column":114},"end":{"line":5,"column":4}}]},"1":{"loc":{"start":{"line":11,"column":8},"end":{"line":19,"column":9}},"type":"if","locations":[{"start":{"line":11,"column":8},"end":{"line":19,"column":9}},{"start":{"line":11,"column":8},"end":{"line":19,"column":9}}]},"2":{"loc":{"start":{"line":12,"column":10},"end":{"line":18,"column":11}},"type":"if","locations":[{"start":{"line":12,"column":10},"end":{"line":18,"column":11}},{"start":{"line":12,"column":10},"end":{"line":18,"column":11}}]},"3":{"loc":{"start":{"line":14,"column":17},"end":{"line":18,"column":11}},"type":"if","locations":[{"start":{"line":14,"column":17},"end":{"line":18,"column":11}},{"start":{"line":14,"column":17},"end":{"line":18,"column":11}}]}},"s":{"0":1,"1":4,"2":4,"3":4,"4":4,"5":6,"6":6,"7":0,"8":6,"9":6,"10":0,"11":0,"12":0,"13":4,"14":4},"f":{"0":4,"1":4,"2":4,"3":6,"4":0,"5":0},"b":{"0":[1,3],"1":[6,0],"2":[0,6],"3":[6,0]}}
,"/home/travis/build/cerebral/cerebral/packages/cerebral-forms/src/helpers/formToJSON.js": {"path":"/home/travis/build/cerebral/cerebral/packages/cerebral-forms/src/helpers/formToJSON.js","statementMap":{"0":{"start":{"line":2,"column":2},"end":{"line":null,"column":-1}},"1":{"start":{"line":3,"column":4},"end":{"line":13,"column":5}},"2":{"start":{"line":4,"column":6},"end":{"line":10,"column":7}},"3":{"start":{"line":5,"column":8},"end":{"line":null,"column":-1}},"4":{"start":{"line":6,"column":13},"end":{"line":10,"column":7}},"5":{"start":{"line":7,"column":8},"end":{"line":null,"column":-1}},"6":{"start":{"line":9,"column":8},"end":{"line":null,"column":-1}},"7":{"start":{"line":11,"column":11},"end":{"line":13,"column":5}},"8":{"start":{"line":12,"column":6},"end":{"line":null,"column":-1}},"9":{"start":{"line":15,"column":4},"end":{"line":null,"column":-1}},"10":{"start":{"line":20,"column":2},"end":{"line":null,"column":-1}},"11":{"start":{"line":21,"column":4},"end":{"line":null,"column":-1}},"12":{"start":{"line":26,"column":2},"end":{"line":null,"column":-1}}},"fnMap":{"0":{"name":"extractObject","decl":{"start":{"line":1,"column":9},"end":{"line":1,"column":0}},"loc":{"start":{"line":1,"column":32},"end":{"line":17,"column":1}}},"1":{"name":"(anonymous_1)","decl":{"start":{"line":2,"column":36},"end":{"line":2,"column":36}},"loc":{"start":{"line":2,"column":56},"end":{"line":2,"column":9}}},"2":{"name":"extractArray","decl":{"start":{"line":19,"column":9},"end":{"line":19,"column":0}},"loc":{"start":{"line":19,"column":30},"end":{"line":23,"column":1}}},"3":{"name":"(anonymous_3)","decl":{"start":{"line":20,"column":19},"end":{"line":20,"column":19}},"loc":{"start":{"line":20,"column":31},"end":{"line":20,"column":9}}},"4":{"name":"formToJSON","decl":{"start":{"line":25,"column":24},"end":{"line":25,"column":15}},"loc":{"start":{"line":25,"column":42},"end":{"line":27,"column":1}}}},"branchMap":{"0":{"loc":{"start":{"line":3,"column":4},"end":{"line":13,"column":5}},"type":"if","locations":[{"start":{"line":3,"column":4},"end":{"line":13,"column":5}},{"start":{"line":3,"column":4},"end":{"line":13,"column":5}}]},"1":{"loc":{"start":{"line":3,"column":8},"end":{"line":3,"column":22}},"type":"binary-expr","locations":[{"start":{"line":3,"column":8},"end":{"line":3,"column":22}},{"start":{"line":3,"column":23},"end":{"line":3,"column":4}}]},"2":{"loc":{"start":{"line":4,"column":6},"end":{"line":10,"column":7}},"type":"if","locations":[{"start":{"line":4,"column":6},"end":{"line":10,"column":7}},{"start":{"line":4,"column":6},"end":{"line":10,"column":7}}]},"3":{"loc":{"start":{"line":6,"column":13},"end":{"line":10,"column":7}},"type":"if","locations":[{"start":{"line":6,"column":13},"end":{"line":10,"column":7}},{"start":{"line":6,"column":13},"end":{"line":10,"column":7}}]},"4":{"loc":{"start":{"line":11,"column":11},"end":{"line":13,"column":5}},"type":"if","locations":[{"start":{"line":11,"column":11},"end":{"line":13,"column":5}},{"start":{"line":11,"column":11},"end":{"line":13,"column":5}}]}},"s":{"0":6,"1":8,"2":8,"3":1,"4":7,"5":5,"6":2,"7":0,"8":0,"9":8,"10":1,"11":2,"12":2},"f":{"0":6,"1":8,"2":1,"3":2,"4":2},"b":{"0":[8,0],"1":[8,8],"2":[1,7],"3":[5,2],"4":[0,0]}}
,"/home/travis/build/cerebral/cerebral/packages/cerebral-forms/src/factories/resetForm.js": {"path":"/home/travis/build/cerebral/cerebral/packages/cerebral-forms/src/factories/resetForm.js","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":null,"column":-1}}},"fnMap":{},"branchMap":{},"s":{"0":1},"f":{},"b":{}}
,"/home/travis/build/cerebral/cerebral/packages/cerebral-forms/src/factories/validateField.js": {"path":"/home/travis/build/cerebral/cerebral/packages/cerebral-forms/src/factories/validateField.js","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":null,"column":-1}},"1":{"start":{"line":5,"column":17},"end":{"line":5,"column":4}},"2":{"start":{"line":6,"column":22},"end":{"line":6,"column":4}},"3":{"start":{"line":7,"column":21},"end":{"line":7,"column":4}},"4":{"start":{"line":8,"column":18},"end":{"line":8,"column":4}},"5":{"start":{"line":9,"column":17},"end":{"line":9,"column":4}},"6":{"start":{"line":10,"column":29},"end":{"line":10,"column":4}},"7":{"start":{"line":12,"column":4},"end":{"line":null,"column":-1}},"8":{"start":{"line":14,"column":26},"end":{"line":14,"column":4}},"9":{"start":{"line":15,"column":4},"end":{"line":19,"column":5}},"10":{"start":{"line":16,"column":6},"end":{"line":null,"column":-1}},"11":{"start":{"line":17,"column":11},"end":{"line":19,"column":5}},"12":{"start":{"line":18,"column":6},"end":{"line":null,"column":-1}},"13":{"start":{"line":21,"column":40},"end":{"line":21,"column":4}},"14":{"start":{"line":22,"column":33},"end":{"line":22,"column":6}},"15":{"start":{"line":23,"column":32},"end":{"line":23,"column":6}},"16":{"start":{"line":24,"column":29},"end":{"line":24,"column":6}},"17":{"start":{"line":25,"column":28},"end":{"line":25,"column":6}},"18":{"start":{"line":26,"column":6},"end":{"line":28,"column":7}},"19":{"start":{"line":27,"column":8},"end":{"line":null,"column":-1}},"20":{"start":{"line":30,"column":40},"end":{"line":30,"column":6}},"21":{"start":{"line":31,"column":6},"end":{"line":null,"column":-1}},"22":{"start":{"line":33,"column":6},"end":{"line":35,"column":7}},"23":{"start":{"line":34,"column":8},"end":{"line":null,"column":-1}},"24":{"start":{"line":37,"column":6},"end":{"line":null,"column":-1}},"25":{"start":{"line":40,"column":4},"end":{"line":null,"column":-1}},"26":{"start":{"line":43,"column":2},"end":{"line":null,"column":-1}}},"fnMap":{"0":{"name":"validateFieldFactory","decl":{"start":{"line":3,"column":24},"end":{"line":3,"column":15}},"loc":{"start":{"line":3,"column":60},"end":{"line":44,"column":1}}},"1":{"name":"validateField","decl":{"start":{"line":4,"column":11},"end":{"line":4,"column":2}},"loc":{"start":{"line":4,"column":35},"end":{"line":41,"column":3}}},"2":{"name":"(anonymous_3)","decl":{"start":{"line":21,"column":63},"end":{"line":21,"column":63}},"loc":{"start":{"line":21,"column":104},"end":{"line":21,"column":40}}}},"branchMap":{"0":{"loc":{"start":{"line":5,"column":54},"end":{"line":5,"column":17}},"type":"cond-expr","locations":[{"start":{"line":5,"column":54},"end":{"line":5,"column":17}},{"start":{"line":5,"column":84},"end":{"line":5,"column":4}}]},"1":{"loc":{"start":{"line":15,"column":4},"end":{"line":19,"column":5}},"type":"if","locations":[{"start":{"line":15,"column":4},"end":{"line":19,"column":5}},{"start":{"line":15,"column":4},"end":{"line":19,"column":5}}]},"2":{"loc":{"start":{"line":17,"column":11},"end":{"line":19,"column":5}},"type":"if","locations":[{"start":{"line":17,"column":11},"end":{"line":19,"column":5}},{"start":{"line":17,"column":11},"end":{"line":19,"column":5}}]},"3":{"loc":{"start":{"line":26,"column":6},"end":{"line":28,"column":7}},"type":"if","locations":[{"start":{"line":26,"column":6},"end":{"line":28,"column":7}},{"start":{"line":26,"column":6},"end":{"line":28,"column":7}}]},"4":{"loc":{"start":{"line":26,"column":10},"end":{"line":26,"column":9}},"type":"binary-expr","locations":[{"start":{"line":26,"column":10},"end":{"line":26,"column":9}},{"start":{"line":26,"column":28},"end":{"line":26,"column":6}}]},"5":{"loc":{"start":{"line":33,"column":6},"end":{"line":35,"column":7}},"type":"if","locations":[{"start":{"line":33,"column":6},"end":{"line":35,"column":7}},{"start":{"line":33,"column":6},"end":{"line":35,"column":7}}]},"6":{"loc":{"start":{"line":33,"column":10},"end":{"line":33,"column":9}},"type":"binary-expr","locations":[{"start":{"line":33,"column":10},"end":{"line":33,"column":9}},{"start":{"line":33,"column":45},"end":{"line":33,"column":6}}]}},"s":{"0":1,"1":44,"2":44,"3":44,"4":44,"5":44,"6":44,"7":44,"8":44,"9":44,"10":4,"11":40,"12":9,"13":44,"14":17,"15":17,"16":17,"17":17,"18":17,"19":1,"20":16,"21":16,"22":16,"23":6,"24":10,"25":43,"26":11},"f":{"0":11,"1":44,"2":17},"b":{"0":[20,24],"1":[4,40],"2":[9,31],"3":[1,16],"4":[17,17],"5":[6,10],"6":[16,11]}}
,"/home/travis/build/cerebral/cerebral/packages/cerebral-forms/src/factories/validateForm.js": {"path":"/home/travis/build/cerebral/cerebral/packages/cerebral-forms/src/factories/validateForm.js","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":null,"column":-1}},"1":{"start":{"line":5,"column":27},"end":{"line":5,"column":4}},"2":{"start":{"line":6,"column":21},"end":{"line":6,"column":4}},"3":{"start":{"line":7,"column":29},"end":{"line":7,"column":4}},"4":{"start":{"line":10,"column":6},"end":{"line":null,"column":-1}},"5":{"start":{"line":11,"column":8},"end":{"line":19,"column":9}},"6":{"start":{"line":12,"column":10},"end":{"line":18,"column":11}},"7":{"start":{"line":13,"column":12},"end":{"line":null,"column":-1}},"8":{"start":{"line":14,"column":17},"end":{"line":18,"column":11}},"9":{"start":{"line":15,"column":12},"end":{"line":null,"column":-1}},"10":{"start":{"line":17,"column":12},"end":{"line":null,"column":-1}},"11":{"start":{"line":24,"column":6},"end":{"line":null,"column":-1}},"12":{"start":{"line":25,"column":8},"end":{"line":null,"column":-1}},"13":{"start":{"line":29,"column":4},"end":{"line":null,"column":-1}},"14":{"start":{"line":32,"column":2},"end":{"line":null,"column":-1}}},"fnMap":{"0":{"name":"validateFormFactory","decl":{"start":{"line":3,"column":24},"end":{"line":3,"column":15}},"loc":{"start":{"line":3,"column":69},"end":{"line":33,"column":1}}},"1":{"name":"validateForm","decl":{"start":{"line":4,"column":11},"end":{"line":4,"column":2}},"loc":{"start":{"line":4,"column":34},"end":{"line":30,"column":3}}},"2":{"name":"validateForm","decl":{"start":{"line":9,"column":13},"end":{"line":9,"column":4}},"loc":{"start":{"line":9,"column":39},"end":{"line":21,"column":5}}},"3":{"name":"(anonymous_4)","decl":{"start":{"line":10,"column":32},"end":{"line":10,"column":41}},"loc":{"start":{"line":10,"column":47},"end":{"line":10,"column":6}}},"4":{"name":"validateArray","decl":{"start":{"line":23,"column":13},"end":{"line":23,"column":4}},"loc":{"start":{"line":23,"column":45},"end":{"line":27,"column":5}}},"5":{"name":"(anonymous_6)","decl":{"start":{"line":24,"column":24},"end":{"line":24,"column":24}},"loc":{"start":{"line":24,"column":41},"end":{"line":24,"column":6}}}},"branchMap":{"0":{"loc":{"start":{"line":5,"column":74},"end":{"line":5,"column":27}},"type":"cond-expr","locations":[{"start":{"line":5,"column":74},"end":{"line":5,"column":27}},{"start":{"line":5,"column":114},"end":{"line":5,"column":4}}]},"1":{"loc":{"start":{"line":11,"column":8},"end":{"line":19,"column":9}},"type":"if","locations":[{"start":{"line":11,"column":8},"end":{"line":19,"column":9}},{"start":{"line":11,"column":8},"end":{"line":19,"column":9}}]},"2":{"loc":{"start":{"line":12,"column":10},"end":{"line":18,"column":11}},"type":"if","locations":[{"start":{"line":12,"column":10},"end":{"line":18,"column":11}},{"start":{"line":12,"column":10},"end":{"line":18,"column":11}}]},"3":{"loc":{"start":{"line":14,"column":17},"end":{"line":18,"column":11}},"type":"if","locations":[{"start":{"line":14,"column":17},"end":{"line":18,"column":11}},{"start":{"line":14,"column":17},"end":{"line":18,"column":11}}]}},"s":{"0":1,"1":6,"2":6,"3":6,"4":9,"5":13,"6":13,"7":1,"8":12,"9":11,"10":1,"11":1,"12":2,"13":6,"14":6},"f":{"0":6,"1":6,"2":9,"3":13,"4":1,"5":2},"b":{"0":[3,3],"1":[13,0],"2":[1,12],"3":[11,1]}}
,"/home/travis/build/cerebral/cerebral/packages/cerebral-forms/src/helpers/formToJSON.js": {"path":"/home/travis/build/cerebral/cerebral/packages/cerebral-forms/src/helpers/formToJSON.js","statementMap":{"0":{"start":{"line":2,"column":2},"end":{"line":null,"column":-1}},"1":{"start":{"line":3,"column":4},"end":{"line":11,"column":5}},"2":{"start":{"line":4,"column":6},"end":{"line":10,"column":7}},"3":{"start":{"line":5,"column":8},"end":{"line":null,"column":-1}},"4":{"start":{"line":6,"column":13},"end":{"line":10,"column":7}},"5":{"start":{"line":7,"column":8},"end":{"line":null,"column":-1}},"6":{"start":{"line":9,"column":8},"end":{"line":null,"column":-1}},"7":{"start":{"line":13,"column":4},"end":{"line":null,"column":-1}},"8":{"start":{"line":18,"column":2},"end":{"line":null,"column":-1}},"9":{"start":{"line":19,"column":4},"end":{"line":null,"column":-1}},"10":{"start":{"line":24,"column":2},"end":{"line":null,"column":-1}}},"fnMap":{"0":{"name":"extractObject","decl":{"start":{"line":1,"column":9},"end":{"line":1,"column":0}},"loc":{"start":{"line":1,"column":32},"end":{"line":15,"column":1}}},"1":{"name":"(anonymous_1)","decl":{"start":{"line":2,"column":36},"end":{"line":2,"column":36}},"loc":{"start":{"line":2,"column":56},"end":{"line":2,"column":9}}},"2":{"name":"extractArray","decl":{"start":{"line":17,"column":9},"end":{"line":17,"column":0}},"loc":{"start":{"line":17,"column":30},"end":{"line":21,"column":1}}},"3":{"name":"(anonymous_3)","decl":{"start":{"line":18,"column":19},"end":{"line":18,"column":19}},"loc":{"start":{"line":18,"column":31},"end":{"line":18,"column":9}}},"4":{"name":"formToJSON","decl":{"start":{"line":23,"column":24},"end":{"line":23,"column":15}},"loc":{"start":{"line":23,"column":42},"end":{"line":25,"column":1}}}},"branchMap":{"0":{"loc":{"start":{"line":3,"column":4},"end":{"line":11,"column":5}},"type":"if","locations":[{"start":{"line":3,"column":4},"end":{"line":11,"column":5}},{"start":{"line":3,"column":4},"end":{"line":11,"column":5}}]},"1":{"loc":{"start":{"line":3,"column":8},"end":{"line":3,"column":22}},"type":"binary-expr","locations":[{"start":{"line":3,"column":8},"end":{"line":3,"column":22}},{"start":{"line":3,"column":23},"end":{"line":3,"column":4}}]},"2":{"loc":{"start":{"line":4,"column":6},"end":{"line":10,"column":7}},"type":"if","locations":[{"start":{"line":4,"column":6},"end":{"line":10,"column":7}},{"start":{"line":4,"column":6},"end":{"line":10,"column":7}}]},"3":{"loc":{"start":{"line":6,"column":13},"end":{"line":10,"column":7}},"type":"if","locations":[{"start":{"line":6,"column":13},"end":{"line":10,"column":7}},{"start":{"line":6,"column":13},"end":{"line":10,"column":7}}]}},"s":{"0":8,"1":11,"2":10,"3":1,"4":9,"5":6,"6":3,"7":11,"8":1,"9":2,"10":3},"f":{"0":8,"1":11,"2":1,"3":2,"4":3},"b":{"0":[10,1],"1":[11,11],"2":[1,9],"3":[6,3]}}
,"/home/travis/build/cerebral/cerebral/packages/cerebral-forms/src/helpers/getFormFields.js": {"path":"/home/travis/build/cerebral/cerebral/packages/cerebral-forms/src/helpers/getFormFields.js","statementMap":{"0":{"start":{"line":1,"column":81},"end":{"line":1,"column":80}},"1":{"start":{"line":2,"column":2},"end":{"line":null,"column":-1}},"2":{"start":{"line":3,"column":4},"end":{"line":null,"column":-1}},"3":{"start":{"line":4,"column":4},"end":{"line":18,"column":5}},"4":{"start":{"line":5,"column":6},"end":{"line":null,"column":-1}},"5":{"start":{"line":6,"column":8},"end":{"line":null,"column":-1}},"6":{"start":{"line":7,"column":8},"end":{"line":null,"column":-1}},"7":{"start":{"line":8,"column":8},"end":{"line":null,"column":-1}},"8":{"start":{"line":10,"column":6},"end":{"line":null,"column":-1}},"9":{"start":{"line":12,"column":6},"end":{"line":null,"column":-1}},"10":{"start":{"line":13,"column":11},"end":{"line":18,"column":5}},"11":{"start":{"line":14,"column":6},"end":{"line":null,"column":-1}},"12":{"start":{"line":15,"column":6},"end":{"line":null,"column":-1}},"13":{"start":{"line":17,"column":6},"end":{"line":null,"column":-1}},"14":{"start":{"line":19,"column":4},"end":{"line":null,"column":-1}},"15":{"start":{"line":20,"column":4},"end":{"line":null,"column":-1}},"16":{"start":{"line":22,"column":4},"end":{"line":null,"column":-1}}},"fnMap":{"0":{"name":"getFormFields","decl":{"start":{"line":1,"column":24},"end":{"line":1,"column":15}},"loc":{"start":{"line":1,"column":81},"end":{"line":24,"column":1}}},"1":{"name":"(anonymous_1)","decl":{"start":{"line":2,"column":36},"end":{"line":2,"column":36}},"loc":{"start":{"line":2,"column":56},"end":{"line":2,"column":9}}},"2":{"name":"(anonymous_2)","decl":{"start":{"line":5,"column":26},"end":{"line":5,"column":26}},"loc":{"start":{"line":5,"column":47},"end":{"line":5,"column":6}}}},"branchMap":{"0":{"loc":{"start":{"line":1,"column":81},"end":{"line":1,"column":60}},"type":"cond-expr","locations":[{"start":{"line":1,"column":81},"end":{"line":1,"column":60}},{"start":{"line":1,"column":61},"end":{"line":1,"column":81}}]},"1":{"loc":{"start":{"line":1,"column":81},"end":{"line":1,"column":60}},"type":"binary-expr","locations":[{"start":{"line":1,"column":81},"end":{"line":1,"column":60}},{"start":{"line":1,"column":81},"end":{"line":1,"column":60}}]},"2":{"loc":{"start":{"line":1,"column":81},"end":{"line":1,"column":76}},"type":"cond-expr","locations":[{"start":{"line":1,"column":81},"end":{"line":1,"column":76}},{"start":{"line":1,"column":77},"end":{"line":1,"column":81}}]},"3":{"loc":{"start":{"line":1,"column":81},"end":{"line":1,"column":76}},"type":"binary-expr","locations":[{"start":{"line":1,"column":81},"end":{"line":1,"column":76}},{"start":{"line":1,"column":81},"end":{"line":1,"column":76}}]},"4":{"loc":{"start":{"line":4,"column":4},"end":{"line":18,"column":5}},"type":"if","locations":[{"start":{"line":4,"column":4},"end":{"line":18,"column":5}},{"start":{"line":4,"column":4},"end":{"line":18,"column":5}}]},"5":{"loc":{"start":{"line":13,"column":11},"end":{"line":18,"column":5}},"type":"if","locations":[{"start":{"line":13,"column":11},"end":{"line":18,"column":5}},{"start":{"line":13,"column":11},"end":{"line":18,"column":5}}]},"6":{"loc":{"start":{"line":13,"column":15},"end":{"line":13,"column":14}},"type":"binary-expr","locations":[{"start":{"line":13,"column":15},"end":{"line":13,"column":14}},{"start":{"line":13,"column":54},"end":{"line":13,"column":11}}]}},"s":{"0":46,"1":23,"2":40,"3":40,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":39,"11":32,"12":32,"13":32,"14":7,"15":7,"16":7},"f":{"0":23,"1":40,"2":1},"b":{"0":[8,15],"1":[23,8],"2":[8,15],"3":[23,8],"4":[1,39],"5":[32,7],"6":[39,39]}}
,"/home/travis/build/cerebral/cerebral/packages/cerebral-forms/src/helpers/getInvalidFormFields.js": {"path":"/home/travis/build/cerebral/cerebral/packages/cerebral-forms/src/helpers/getInvalidFormFields.js","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":null,"column":-1}},"1":{"start":{"line":4,"column":21},"end":{"line":4,"column":2}},"2":{"start":{"line":6,"column":2},"end":{"line":null,"column":-1}},"3":{"start":{"line":8,"column":6},"end":{"line":null,"column":-1}},"4":{"start":{"line":11,"column":6},"end":{"line":null,"column":-1}},"5":{"start":{"line":13,"column":6},"end":{"line":null,"column":-1}}},"fnMap":{"0":{"name":"getInvalidFields","decl":{"start":{"line":3,"column":24},"end":{"line":3,"column":15}},"loc":{"start":{"line":3,"column":48},"end":{"line":15,"column":1}}},"1":{"name":"(anonymous_2)","decl":{"start":{"line":7,"column":12},"end":{"line":7,"column":12}},"loc":{"start":{"line":7,"column":21},"end":{"line":6,"column":9}}},"2":{"name":"(anonymous_3)","decl":{"start":{"line":10,"column":12},"end":{"line":10,"column":12}},"loc":{"start":{"line":10,"column":36},"end":{"line":6,"column":9}}}},"branchMap":{},"s":{"0":1,"1":3,"2":3,"3":9,"4":2,"5":2},"f":{"0":3,"1":9,"2":2},"b":{}}
,"/home/travis/build/cerebral/cerebral/packages/cerebral-forms/src/helpers/isValidForm.js": {"path":"/home/travis/build/cerebral/cerebral/packages/cerebral-forms/src/helpers/isValidForm.js","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":null,"column":-1}},"1":{"start":{"line":4,"column":21},"end":{"line":4,"column":2}},"2":{"start":{"line":6,"column":2},"end":{"line":null,"column":-1}},"3":{"start":{"line":7,"column":4},"end":{"line":9,"column":5}},"4":{"start":{"line":8,"column":6},"end":{"line":null,"column":-1}},"5":{"start":{"line":11,"column":4},"end":{"line":null,"column":-1}}},"fnMap":{"0":{"name":"isValidForm","decl":{"start":{"line":3,"column":24},"end":{"line":3,"column":15}},"loc":{"start":{"line":3,"column":43},"end":{"line":13,"column":1}}},"1":{"name":"(anonymous_2)","decl":{"start":{"line":6,"column":40},"end":{"line":6,"column":40}},"loc":{"start":{"line":6,"column":67},"end":{"line":6,"column":9}}}},"branchMap":{"0":{"loc":{"start":{"line":7,"column":4},"end":{"line":9,"column":5}},"type":"if","locations":[{"start":{"line":7,"column":4},"end":{"line":9,"column":5}},{"start":{"line":7,"column":4},"end":{"line":9,"column":5}}]}},"s":{"0":1,"1":10,"2":10,"3":17,"4":1,"5":16},"f":{"0":10,"1":17},"b":{"0":[1,16]}}
,"/home/travis/build/cerebral/cerebral/packages/cerebral-forms/src/utils/checkHasValue.js": {"path":"/home/travis/build/cerebral/cerebral/packages/cerebral-forms/src/utils/checkHasValue.js","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":null,"column":-1}},"1":{"start":{"line":4,"column":2},"end":{"line":8,"column":3}},"2":{"start":{"line":5,"column":17},"end":{"line":5,"column":4}},"3":{"start":{"line":7,"column":4},"end":{"line":null,"column":-1}},"4":{"start":{"line":10,"column":2},"end":{"line":null,"column":-1}},"5":{"start":{"line":14,"column":2},"end":{"line":null,"column":-1}},"6":{"start":{"line":15,"column":4},"end":{"line":17,"column":5}},"7":{"start":{"line":16,"column":6},"end":{"line":null,"column":-1}},"8":{"start":{"line":18,"column":22},"end":{"line":18,"column":4}},"9":{"start":{"line":20,"column":4},"end":{"line":null,"column":-1}}},"fnMap":{"0":{"name":"parseKey","decl":{"start":{"line":3,"column":9},"end":{"line":3,"column":0}},"loc":{"start":{"line":3,"column":26},"end":{"line":11,"column":1}}},"1":{"name":"checkHasValue","decl":{"start":{"line":13,"column":24},"end":{"line":13,"column":15}},"loc":{"start":{"line":13,"column":66},"end":{"line":22,"column":1}}},"2":{"name":"(anonymous_3)","decl":{"start":{"line":14,"column":29},"end":{"line":14,"column":29}},"loc":{"start":{"line":14,"column":47},"end":{"line":14,"column":9}}}},"branchMap":{"0":{"loc":{"start":{"line":4,"column":2},"end":{"line":8,"column":3}},"type":"if","locations":[{"start":{"line":4,"column":2},"end":{"line":8,"column":3}},{"start":{"line":4,"column":2},"end":{"line":8,"column":3}}]},"1":{"loc":{"start":{"line":7,"column":21},"end":{"line":7,"column":11}},"type":"cond-expr","locations":[{"start":{"line":7,"column":21},"end":{"line":7,"column":11}},{"start":{"line":7,"column":67},"end":{"line":7,"column":4}}]},"2":{"loc":{"start":{"line":15,"column":4},"end":{"line":17,"column":5}},"type":"if","locations":[{"start":{"line":15,"column":4},"end":{"line":17,"column":5}},{"start":{"line":15,"column":4},"end":{"line":17,"column":5}}]}},"s":{"0":1,"1":172,"2":172,"3":172,"4":0,"5":172,"6":172,"7":0,"8":172,"9":172},"f":{"0":172,"1":172,"2":172},"b":{"0":[172,0],"1":[2,170],"2":[0,172]}}
,"/home/travis/build/cerebral/cerebral/packages/cerebral-forms/src/utils/configureField.js": {"path":"/home/travis/build/cerebral/cerebral/packages/cerebral-forms/src/utils/configureField.js","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":null,"column":-1}},"1":{"start":{"line":5,"column":2},"end":{"line":7,"column":3}},"2":{"start":{"line":6,"column":4},"end":{"line":null,"column":-1}},"3":{"start":{"line":9,"column":23},"end":{"line":9,"column":2}},"4":{"start":{"line":10,"column":21},"end":{"line":10,"column":2}},"5":{"start":{"line":11,"column":16},"end":{"line":11,"column":2}},"6":{"start":{"line":12,"column":23},"end":{"line":12,"column":2}},"7":{"start":{"line":13,"column":26},"end":{"line":13,"column":2}},"8":{"start":{"line":14,"column":29},"end":{"line":14,"column":2}},"9":{"start":{"line":15,"column":26},"end":{"line":15,"column":2}},"10":{"start":{"line":17,"column":2},"end":{"line":null,"column":-1}},"11":{"start":{"line":18,"column":2},"end":{"line":null,"column":-1}},"12":{"start":{"line":22,"column":2},"end":{"line":null,"column":-1}},"13":{"start":{"line":23,"column":2},"end":{"line":null,"column":-1}},"14":{"start":{"line":24,"column":2},"end":{"line":null,"column":-1}},"15":{"start":{"line":25,"column":2},"end":{"line":null,"column":-1}},"16":{"start":{"line":27,"column":27},"end":{"line":27,"column":2}},"17":{"start":{"line":29,"column":2},"end":{"line":null,"column":-1}},"18":{"start":{"line":30,"column":2},"end":{"line":null,"column":-1}},"19":{"start":{"line":31,"column":2},"end":{"line":null,"column":-1}},"20":{"start":{"line":32,"column":2},"end":{"line":null,"column":-1}},"21":{"start":{"line":34,"column":2},"end":{"line":null,"column":-1}}},"fnMap":{"0":{"name":"configureField","decl":{"start":{"line":3,"column":24},"end":{"line":3,"column":15}},"loc":{"start":{"line":3,"column":57},"end":{"line":35,"column":1}}}},"branchMap":{"0":{"loc":{"start":{"line":5,"column":2},"end":{"line":7,"column":3}},"type":"if","locations":[{"start":{"line":5,"column":2},"end":{"line":7,"column":3}},{"start":{"line":5,"column":2},"end":{"line":7,"column":3}}]},"1":{"loc":{"start":{"line":5,"column":6},"end":{"line":5,"column":5}},"type":"binary-expr","locations":[{"start":{"line":5,"column":6},"end":{"line":5,"column":5}},{"start":{"line":5,"column":33},"end":{"line":5,"column":2}}]},"2":{"loc":{"start":{"line":9,"column":23},"end":{"line":9,"column":22}},"type":"binary-expr","locations":[{"start":{"line":9,"column":23},"end":{"line":9,"column":22}},{"start":{"line":9,"column":45},"end":{"line":9,"column":2}}]},"3":{"loc":{"start":{"line":10,"column":21},"end":{"line":10,"column":20}},"type":"binary-expr","locations":[{"start":{"line":10,"column":21},"end":{"line":10,"column":20}},{"start":{"line":10,"column":41},"end":{"line":10,"column":2}}]},"4":{"loc":{"start":{"line":12,"column":23},"end":{"line":12,"column":22}},"type":"binary-expr","locations":[{"start":{"line":12,"column":23},"end":{"line":12,"column":22}},{"start":{"line":12,"column":45},"end":{"line":12,"column":2}}]},"5":{"loc":{"start":{"line":13,"column":26},"end":{"line":13,"column":25}},"type":"binary-expr","locations":[{"start":{"line":13,"column":26},"end":{"line":13,"column":25}},{"start":{"line":13,"column":51},"end":{"line":13,"column":2}}]},"6":{"loc":{"start":{"line":14,"column":29},"end":{"line":14,"column":28}},"type":"binary-expr","locations":[{"start":{"line":14,"column":29},"end":{"line":14,"column":28}},{"start":{"line":14,"column":57},"end":{"line":14,"column":2}}]},"7":{"loc":{"start":{"line":15,"column":26},"end":{"line":15,"column":25}},"type":"binary-expr","locations":[{"start":{"line":15,"column":26},"end":{"line":15,"column":25}},{"start":{"line":15,"column":51},"end":{"line":15,"column":2}}]}},"s":{"0":1,"1":66,"2":6,"3":60,"4":60,"5":60,"6":60,"7":60,"8":60,"9":60,"10":60,"11":60,"12":60,"13":60,"14":60,"15":60,"16":60,"17":60,"18":60,"19":60,"20":60,"21":60},"f":{"0":66},"b":{"0":[6,60],"1":[66,66],"2":[60,57],"3":[60,45],"4":[60,58],"5":[60,42],"6":[60,50],"7":[60,57]}}
,"/home/travis/build/cerebral/cerebral/packages/cerebral-forms/src/utils/runValidation.js": {"path":"/home/travis/build/cerebral/cerebral/packages/cerebral-forms/src/utils/runValidation.js","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":null,"column":-1}},"1":{"start":{"line":2,"column":0},"end":{"line":null,"column":-1}},"2":{"start":{"line":5,"column":28},"end":{"line":5,"column":2}},"3":{"start":{"line":10,"column":2},"end":{"line":12,"column":3}},"4":{"start":{"line":11,"column":4},"end":{"line":null,"column":-1}},"5":{"start":{"line":14,"column":2},"end":{"line":51,"column":3}},"6":{"start":{"line":15,"column":4},"end":{"line":null,"column":-1}},"7":{"start":{"line":16,"column":6},"end":{"line":18,"column":7}},"8":{"start":{"line":17,"column":8},"end":{"line":null,"column":-1}},"9":{"start":{"line":21,"column":6},"end":{"line":34,"column":7}},"10":{"start":{"line":22,"column":21},"end":{"line":22,"column":8}},"11":{"start":{"line":24,"column":8},"end":{"line":null,"column":-1}},"12":{"start":{"line":25,"column":8},"end":{"line":33,"column":9}},"13":{"start":{"line":26,"column":10},"end":{"line":30,"column":11}},"14":{"start":{"line":27,"column":12},"end":{"line":null,"column":-1}},"15":{"start":{"line":29,"column":12},"end":{"line":null,"column":-1}},"16":{"start":{"line":32,"column":10},"end":{"line":null,"column":-1}},"17":{"start":{"line":36,"column":6},"end":{"line":null,"column":-1}},"18":{"start":{"line":38,"column":10},"end":{"line":40,"column":11}},"19":{"start":{"line":39,"column":12},"end":{"line":null,"column":-1}},"20":{"start":{"line":42,"column":23},"end":{"line":42,"column":10}},"21":{"start":{"line":43,"column":12},"end":{"line":null,"column":-1}},"22":{"start":{"line":46,"column":10},"end":{"line":null,"column":-1}},"23":{"start":{"line":55,"column":19},"end":{"line":55,"column":2}},"24":{"start":{"line":56,"column":17},"end":{"line":56,"column":2}},"25":{"start":{"line":57,"column":18},"end":{"line":57,"column":2}},"26":{"start":{"line":61,"column":23},"end":{"line":61,"column":2}},"27":{"start":{"line":67,"column":2},"end":{"line":null,"column":-1}}},"fnMap":{"0":{"name":"validate","decl":{"start":{"line":4,"column":9},"end":{"line":4,"column":0}},"loc":{"start":{"line":4,"column":45},"end":{"line":52,"column":1}}},"1":{"name":"(anonymous_2)","decl":{"start":{"line":15,"column":30},"end":{"line":15,"column":30}},"loc":{"start":{"line":15,"column":61},"end":{"line":15,"column":11}}},"2":{"name":"(anonymous_3)","decl":{"start":{"line":37,"column":48},"end":{"line":37,"column":48}},"loc":{"start":{"line":37,"column":66},"end":{"line":37,"column":17}}},"3":{"name":"(anonymous_4)","decl":{"start":{"line":42,"column":37},"end":{"line":42,"column":48}},"loc":{"start":{"line":42,"column":49},"end":{"line":42,"column":10}}},"4":{"name":"runValidation","decl":{"start":{"line":54,"column":24},"end":{"line":54,"column":15}},"loc":{"start":{"line":54,"column":52},"end":{"line":73,"column":1}}}},"branchMap":{"0":{"loc":{"start":{"line":10,"column":2},"end":{"line":12,"column":3}},"type":"if","locations":[{"start":{"line":10,"column":2},"end":{"line":12,"column":3}},{"start":{"line":10,"column":2},"end":{"line":12,"column":3}}]},"1":{"loc":{"start":{"line":14,"column":2},"end":{"line":51,"column":3}},"type":"if","locations":[{"start":{"line":14,"column":2},"end":{"line":51,"column":3}},{"start":{"line":14,"column":2},"end":{"line":51,"column":3}}]},"2":{"loc":{"start":{"line":16,"column":6},"end":{"line":18,"column":7}},"type":"if","locations":[{"start":{"line":16,"column":6},"end":{"line":18,"column":7}},{"start":{"line":16,"column":6},"end":{"line":18,"column":7}}]},"3":{"loc":{"start":{"line":21,"column":6},"end":{"line":34,"column":7}},"type":"if","locations":[{"start":{"line":21,"column":6},"end":{"line":34,"column":7}},{"start":{"line":21,"column":6},"end":{"line":34,"column":7}}]},"4":{"loc":{"start":{"line":25,"column":8},"end":{"line":33,"column":9}},"type":"if","locations":[{"start":{"line":25,"column":8},"end":{"line":33,"column":9}},{"start":{"line":25,"column":8},"end":{"line":33,"column":9}}]},"5":{"loc":{"start":{"line":38,"column":10},"end":{"line":40,"column":11}},"type":"if","locations":[{"start":{"line":38,"column":10},"end":{"line":40,"column":11}},{"start":{"line":38,"column":10},"end":{"line":40,"column":11}}]},"6":{"loc":{"start":{"line":42,"column":23},"end":{"line":42,"column":36}},"type":"binary-expr","locations":[{"start":{"line":42,"column":23},"end":{"line":42,"column":36}},{"start":{"line":42,"column":37},"end":{"line":42,"column":10}}]},"7":{"loc":{"start":{"line":57,"column":18},"end":{"line":57,"column":17}},"type":"binary-expr","locations":[{"start":{"line":57,"column":18},"end":{"line":57,"column":17}},{"start":{"line":58,"column":5},"end":{"line":58,"column":4}},{"start":{"line":58,"column":25},"end":{"line":58,"column":4}},{"start":{"line":59,"column":4},"end":{"line":57,"column":18}}]},"8":{"loc":{"start":{"line":62,"column":6},"end":{"line":61,"column":23}},"type":"cond-expr","locations":[{"start":{"line":62,"column":6},"end":{"line":61,"column":23}},{"start":{"line":63,"column":6},"end":{"line":61,"column":2}}]},"9":{"loc":{"start":{"line":61,"column":23},"end":{"line":61,"column":22}},"type":"binary-expr","locations":[{"start":{"line":61,"column":23},"end":{"line":61,"column":22}},{"start":{"line":61,"column":43},"end":{"line":61,"column":23}}]},"10":{"loc":{"start":{"line":64,"column":10},"end":{"line":63,"column":6}},"type":"cond-expr","locations":[{"start":{"line":64,"column":10},"end":{"line":63,"column":6}},{"start":{"line":65,"column":10},"end":{"line":61,"column":2}}]}},"s":{"0":1,"1":1,"2":85,"3":85,"4":48,"5":37,"6":37,"7":38,"8":1,"9":37,"10":36,"11":36,"12":36,"13":31,"14":31,"15":4,"16":5,"17":37,"18":38,"19":1,"20":37,"21":0,"22":37,"23":85,"24":85,"25":85,"26":85,"27":85},"f":{"0":85,"1":38,"2":38,"3":0,"4":85},"b":{"0":[48,37],"1":[37,0],"2":[1,37],"3":[36,1],"4":[31,5],"5":[1,37],"6":[37,0],"7":[85,66,20,55],"8":[12,73],"9":[85,24],"10":[57,16]}}
,"/home/travis/build/cerebral/cerebral/packages/cerebral-forms/src/utils/checkHasValue.js": {"path":"/home/travis/build/cerebral/cerebral/packages/cerebral-forms/src/utils/checkHasValue.js","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":null,"column":-1}},"1":{"start":{"line":4,"column":17},"end":{"line":4,"column":2}},"2":{"start":{"line":5,"column":2},"end":{"line":null,"column":-1}}},"fnMap":{"0":{"name":"checkHasValue","decl":{"start":{"line":3,"column":24},"end":{"line":3,"column":15}},"loc":{"start":{"line":3,"column":66},"end":{"line":6,"column":1}}}},"branchMap":{},"s":{"0":1,"1":355,"2":354},"f":{"0":355},"b":{}}
,"/home/travis/build/cerebral/cerebral/packages/cerebral-forms/src/utils/configureField.js": {"path":"/home/travis/build/cerebral/cerebral/packages/cerebral-forms/src/utils/configureField.js","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":null,"column":-1}},"1":{"start":{"line":5,"column":2},"end":{"line":7,"column":3}},"2":{"start":{"line":6,"column":4},"end":{"line":null,"column":-1}},"3":{"start":{"line":9,"column":23},"end":{"line":9,"column":2}},"4":{"start":{"line":10,"column":21},"end":{"line":10,"column":2}},"5":{"start":{"line":11,"column":16},"end":{"line":11,"column":2}},"6":{"start":{"line":12,"column":23},"end":{"line":12,"column":2}},"7":{"start":{"line":13,"column":26},"end":{"line":13,"column":2}},"8":{"start":{"line":14,"column":29},"end":{"line":14,"column":2}},"9":{"start":{"line":15,"column":26},"end":{"line":15,"column":2}},"10":{"start":{"line":17,"column":2},"end":{"line":null,"column":-1}},"11":{"start":{"line":18,"column":2},"end":{"line":null,"column":-1}},"12":{"start":{"line":22,"column":2},"end":{"line":null,"column":-1}},"13":{"start":{"line":23,"column":2},"end":{"line":null,"column":-1}},"14":{"start":{"line":24,"column":2},"end":{"line":null,"column":-1}},"15":{"start":{"line":25,"column":2},"end":{"line":null,"column":-1}},"16":{"start":{"line":27,"column":27},"end":{"line":27,"column":2}},"17":{"start":{"line":29,"column":2},"end":{"line":null,"column":-1}},"18":{"start":{"line":30,"column":2},"end":{"line":null,"column":-1}},"19":{"start":{"line":31,"column":2},"end":{"line":null,"column":-1}},"20":{"start":{"line":32,"column":2},"end":{"line":null,"column":-1}},"21":{"start":{"line":34,"column":2},"end":{"line":null,"column":-1}}},"fnMap":{"0":{"name":"configureField","decl":{"start":{"line":3,"column":24},"end":{"line":3,"column":15}},"loc":{"start":{"line":3,"column":57},"end":{"line":35,"column":1}}}},"branchMap":{"0":{"loc":{"start":{"line":5,"column":2},"end":{"line":7,"column":3}},"type":"if","locations":[{"start":{"line":5,"column":2},"end":{"line":7,"column":3}},{"start":{"line":5,"column":2},"end":{"line":7,"column":3}}]},"1":{"loc":{"start":{"line":5,"column":6},"end":{"line":5,"column":5}},"type":"binary-expr","locations":[{"start":{"line":5,"column":6},"end":{"line":5,"column":5}},{"start":{"line":5,"column":33},"end":{"line":5,"column":2}}]},"2":{"loc":{"start":{"line":9,"column":23},"end":{"line":9,"column":22}},"type":"binary-expr","locations":[{"start":{"line":9,"column":23},"end":{"line":9,"column":22}},{"start":{"line":9,"column":45},"end":{"line":9,"column":2}}]},"3":{"loc":{"start":{"line":10,"column":21},"end":{"line":10,"column":20}},"type":"binary-expr","locations":[{"start":{"line":10,"column":21},"end":{"line":10,"column":20}},{"start":{"line":10,"column":41},"end":{"line":10,"column":2}}]},"4":{"loc":{"start":{"line":12,"column":23},"end":{"line":12,"column":22}},"type":"binary-expr","locations":[{"start":{"line":12,"column":23},"end":{"line":12,"column":22}},{"start":{"line":12,"column":45},"end":{"line":12,"column":2}}]},"5":{"loc":{"start":{"line":13,"column":26},"end":{"line":13,"column":25}},"type":"binary-expr","locations":[{"start":{"line":13,"column":26},"end":{"line":13,"column":25}},{"start":{"line":13,"column":51},"end":{"line":13,"column":2}}]},"6":{"loc":{"start":{"line":14,"column":29},"end":{"line":14,"column":28}},"type":"binary-expr","locations":[{"start":{"line":14,"column":29},"end":{"line":14,"column":28}},{"start":{"line":14,"column":57},"end":{"line":14,"column":2}}]},"7":{"loc":{"start":{"line":15,"column":26},"end":{"line":15,"column":25}},"type":"binary-expr","locations":[{"start":{"line":15,"column":26},"end":{"line":15,"column":25}},{"start":{"line":15,"column":51},"end":{"line":15,"column":2}}]}},"s":{"0":1,"1":118,"2":14,"3":104,"4":104,"5":104,"6":104,"7":104,"8":104,"9":104,"10":104,"11":104,"12":104,"13":104,"14":104,"15":104,"16":104,"17":104,"18":104,"19":104,"20":104,"21":104},"f":{"0":118},"b":{"0":[14,104],"1":[118,117],"2":[104,85],"3":[104,85],"4":[104,89],"5":[104,78],"6":[104,75],"7":[104,96]}}
,"/home/travis/build/cerebral/cerebral/packages/cerebral-forms/src/utils/runValidation.js": {"path":"/home/travis/build/cerebral/cerebral/packages/cerebral-forms/src/utils/runValidation.js","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":null,"column":-1}},"1":{"start":{"line":2,"column":0},"end":{"line":null,"column":-1}},"2":{"start":{"line":5,"column":19},"end":{"line":5,"column":2}},"3":{"start":{"line":6,"column":17},"end":{"line":6,"column":2}},"4":{"start":{"line":7,"column":18},"end":{"line":7,"column":2}},"5":{"start":{"line":11,"column":23},"end":{"line":11,"column":2}},"6":{"start":{"line":17,"column":2},"end":{"line":null,"column":-1}}},"fnMap":{"0":{"name":"runValidation","decl":{"start":{"line":4,"column":24},"end":{"line":4,"column":15}},"loc":{"start":{"line":4,"column":52},"end":{"line":23,"column":1}}}},"branchMap":{"0":{"loc":{"start":{"line":7,"column":18},"end":{"line":7,"column":17}},"type":"binary-expr","locations":[{"start":{"line":7,"column":18},"end":{"line":7,"column":17}},{"start":{"line":8,"column":5},"end":{"line":8,"column":4}},{"start":{"line":8,"column":25},"end":{"line":8,"column":4}},{"start":{"line":9,"column":4},"end":{"line":7,"column":18}}]},"1":{"loc":{"start":{"line":12,"column":6},"end":{"line":11,"column":23}},"type":"cond-expr","locations":[{"start":{"line":12,"column":6},"end":{"line":11,"column":23}},{"start":{"line":13,"column":6},"end":{"line":11,"column":2}}]},"2":{"loc":{"start":{"line":11,"column":23},"end":{"line":11,"column":22}},"type":"binary-expr","locations":[{"start":{"line":11,"column":23},"end":{"line":11,"column":22}},{"start":{"line":11,"column":43},"end":{"line":11,"column":23}}]},"3":{"loc":{"start":{"line":14,"column":10},"end":{"line":13,"column":6}},"type":"cond-expr","locations":[{"start":{"line":14,"column":10},"end":{"line":13,"column":6}},{"start":{"line":15,"column":10},"end":{"line":11,"column":2}}]}},"s":{"0":1,"1":1,"2":175,"3":175,"4":175,"5":175,"6":175},"f":{"0":175},"b":{"0":[175,139,35,120],"1":[23,152],"2":[175,48],"3":[123,29]}}
,"/home/travis/build/cerebral/cerebral/packages/cerebral-forms/src/utils/validate.js": {"path":"/home/travis/build/cerebral/cerebral/packages/cerebral-forms/src/utils/validate.js","statementMap":{"0":{"start":{"line":1,"column":0},"end":{"line":null,"column":-1}},"1":{"start":{"line":4,"column":28},"end":{"line":4,"column":2}},"2":{"start":{"line":9,"column":2},"end":{"line":11,"column":3}},"3":{"start":{"line":10,"column":4},"end":{"line":null,"column":-1}},"4":{"start":{"line":13,"column":2},"end":{"line":50,"column":3}},"5":{"start":{"line":14,"column":4},"end":{"line":null,"column":-1}},"6":{"start":{"line":15,"column":6},"end":{"line":17,"column":7}},"7":{"start":{"line":16,"column":8},"end":{"line":null,"column":-1}},"8":{"start":{"line":20,"column":6},"end":{"line":33,"column":7}},"9":{"start":{"line":21,"column":21},"end":{"line":21,"column":8}},"10":{"start":{"line":23,"column":8},"end":{"line":null,"column":-1}},"11":{"start":{"line":24,"column":8},"end":{"line":32,"column":9}},"12":{"start":{"line":25,"column":10},"end":{"line":29,"column":11}},"13":{"start":{"line":26,"column":12},"end":{"line":null,"column":-1}},"14":{"start":{"line":28,"column":12},"end":{"line":null,"column":-1}},"15":{"start":{"line":31,"column":10},"end":{"line":null,"column":-1}},"16":{"start":{"line":35,"column":6},"end":{"line":null,"column":-1}},"17":{"start":{"line":37,"column":10},"end":{"line":39,"column":11}},"18":{"start":{"line":38,"column":12},"end":{"line":null,"column":-1}},"19":{"start":{"line":41,"column":23},"end":{"line":41,"column":10}},"20":{"start":{"line":42,"column":12},"end":{"line":null,"column":-1}},"21":{"start":{"line":45,"column":10},"end":{"line":null,"column":-1}}},"fnMap":{"0":{"name":"validate","decl":{"start":{"line":3,"column":24},"end":{"line":3,"column":15}},"loc":{"start":{"line":3,"column":60},"end":{"line":51,"column":1}}},"1":{"name":"(anonymous_2)","decl":{"start":{"line":14,"column":30},"end":{"line":14,"column":30}},"loc":{"start":{"line":14,"column":61},"end":{"line":14,"column":11}}},"2":{"name":"(anonymous_3)","decl":{"start":{"line":36,"column":48},"end":{"line":36,"column":48}},"loc":{"start":{"line":36,"column":66},"end":{"line":36,"column":17}}},"3":{"name":"(anonymous_4)","decl":{"start":{"line":41,"column":37},"end":{"line":41,"column":48}},"loc":{"start":{"line":41,"column":49},"end":{"line":41,"column":10}}}},"branchMap":{"0":{"loc":{"start":{"line":9,"column":2},"end":{"line":11,"column":3}},"type":"if","locations":[{"start":{"line":9,"column":2},"end":{"line":11,"column":3}},{"start":{"line":9,"column":2},"end":{"line":11,"column":3}}]},"1":{"loc":{"start":{"line":13,"column":2},"end":{"line":50,"column":3}},"type":"if","locations":[{"start":{"line":13,"column":2},"end":{"line":50,"column":3}},{"start":{"line":13,"column":2},"end":{"line":50,"column":3}}]},"2":{"loc":{"start":{"line":15,"column":6},"end":{"line":17,"column":7}},"type":"if","locations":[{"start":{"line":15,"column":6},"end":{"line":17,"column":7}},{"start":{"line":15,"column":6},"end":{"line":17,"column":7}}]},"3":{"loc":{"start":{"line":20,"column":6},"end":{"line":33,"column":7}},"type":"if","locations":[{"start":{"line":20,"column":6},"end":{"line":33,"column":7}},{"start":{"line":20,"column":6},"end":{"line":33,"column":7}}]},"4":{"loc":{"start":{"line":24,"column":8},"end":{"line":32,"column":9}},"type":"if","locations":[{"start":{"line":24,"column":8},"end":{"line":32,"column":9}},{"start":{"line":24,"column":8},"end":{"line":32,"column":9}}]},"5":{"loc":{"start":{"line":37,"column":10},"end":{"line":39,"column":11}},"type":"if","locations":[{"start":{"line":37,"column":10},"end":{"line":39,"column":11}},{"start":{"line":37,"column":10},"end":{"line":39,"column":11}}]},"6":{"loc":{"start":{"line":41,"column":23},"end":{"line":41,"column":36}},"type":"binary-expr","locations":[{"start":{"line":41,"column":23},"end":{"line":41,"column":36}},{"start":{"line":41,"column":37},"end":{"line":41,"column":10}}]}},"s":{"0":1,"1":530,"2":530,"3":101,"4":429,"5":429,"6":431,"7":1,"8":430,"9":428,"10":428,"11":428,"12":61,"13":61,"14":13,"15":367,"16":430,"17":431,"18":1,"19":430,"20":1,"21":430},"f":{"0":530,"1":431,"2":431,"3":1},"b":{"0":[101,429],"1":[429,0],"2":[1,430],"3":[428,2],"4":[61,367],"5":[1,430],"6":[430,1]}}
}

@@ -6,48 +6,6 @@ 'use strict';

});
exports.default = resetFormFactory;
var _configureField = require('../utils/configureField');
var _initializeForm = require('./initializeForm');
var _configureField2 = _interopRequireDefault(_configureField);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function resetObject(form) {
return Object.keys(form).reduce(function (newForm, key) {
if (form[key] === Object(form[key])) {
if (Array.isArray(form[key])) {
newForm[key] = resetArray(form[key]);
} else if ('value' in form[key]) {
var newField = Object.keys(form[key]).reduce(function (newField, fKey) {
newField[fKey] = form[key][fKey];
return newField;
}, {});
newField.value = newField.defaultValue;
newForm[key] = (0, _configureField2.default)(form, newField);
} else {
newForm[key] = resetObject(form[key]);
}
}
return newForm;
}, {});
}
function resetArray(formArray) {
return formArray.reduce(function (newFormArray, form, index) {
newFormArray[index] = resetObject(form);
return newFormArray;
}, []);
}
function resetFormFactory(formPathTemplate) {
function resetForm(context) {
var formPath = typeof formPathTemplate === 'function' ? formPathTemplate(context).value : formPathTemplate;
var form = context.state.get(formPath);
context.state.set(formPath, resetObject(form));
}
return resetForm;
}
exports.default = _initializeForm.resetForm;
//# sourceMappingURL=resetForm.js.map

@@ -32,17 +32,16 @@ 'use strict';

var depententOfValidationResult = dependentFields.reduce(function (currentValidationResult, stringPath) {
var dependentOfValidationResult = dependentFields.reduce(function (currentValidationResult, stringPath) {
var dependentFieldPath = stringPath.split('.');
var dependentFormPath = dependentFieldPath.slice().splice(0, dependentFieldPath.length - 1);
var field = context.state.get(dependentFieldPath);
var form = context.state.get(dependentFormPath);
if (!form) {
var dependentField = context.state.get(dependentFieldPath);
var dependentForm = context.state.get(dependentFormPath);
if (!dependentForm || !dependentField) {
throw new Error('The path ' + stringPath + ' used with "dependsOn" on field ' + fieldPath.join('.') + ' is not correct, please check it');
}
var dependentValidationResult = (0, _runValidation2.default)(field, form);
var dependentValidationResult = (0, _runValidation2.default)(dependentField, dependentForm);
context.state.merge(dependentFieldPath, dependentValidationResult);
if (currentValidationResult.isValid && !dependentValidationResult.isValid) {
return dependentValidationResult;
return Object.assign(currentValidationResult, { isValid: false });
}

@@ -53,3 +52,3 @@

context.state.merge(fieldPath, depententOfValidationResult);
context.state.merge(fieldPath, dependentOfValidationResult);
}

@@ -56,0 +55,0 @@

@@ -17,4 +17,2 @@ 'use strict';

}
} else if (object[key]) {
newObject[key] = object[key];
}

@@ -21,0 +19,0 @@

@@ -6,3 +6,3 @@ 'use strict';

});
exports.getInvalidFormFields = exports.getFormFields = exports.formToJSON = exports.resetForm = exports.validateForm = exports.validateField = exports.changeField = exports.rules = exports.form = undefined;
exports.getInvalidFormFields = exports.getFormFields = exports.formToJSON = exports.initializeForm = exports.resetForm = exports.validateForm = exports.validateField = exports.changeField = exports.rules = exports.form = undefined;

@@ -63,2 +63,11 @@ var _form = require('./form');

var _initializeForm = require('./factories/initializeForm');
Object.defineProperty(exports, 'initializeForm', {
enumerable: true,
get: function get() {
return _interopRequireDefault(_initializeForm).default;
}
});
var _formToJSON = require('./helpers/formToJSON');

@@ -65,0 +74,0 @@

@@ -8,28 +8,12 @@ 'use strict';

var _rules = require('../rules');
var _validate = require('./validate');
var _rules2 = _interopRequireDefault(_rules);
var _validate2 = _interopRequireDefault(_validate);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function parseKey(value) {
if (typeof value === 'string') {
var args = value.split(/:(.+)?/);
return args[1] ? { key: args[0], params: JSON.parse(args[1]) } : { key: value };
}
return { key: value };
}
function checkHasValue(form, value, isValueRules) {
return isValueRules.reduce(function (isValue, key) {
if (!isValue) {
return false;
}
var parsedKey = parseKey(key);
return _rules2.default[parsedKey.key](value, form, parsedKey.params);
}, true);
var result = (0, _validate2.default)(form, value, isValueRules);
return result.isValid;
}
//# sourceMappingURL=checkHasValue.js.map

@@ -12,61 +12,11 @@ 'use strict';

var _rules = require('../rules.js');
var _validate = require('./validate');
var _rules2 = _interopRequireDefault(_rules);
var _validate2 = _interopRequireDefault(_validate);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function validate(form, value, validations) {
var initialValidation = {
isValid: true,
failedRuleIndex: null
};
if (!validations) {
return initialValidation;
}
if (Array.isArray(validations)) {
return validations.reduce(function (result, validation, index) {
if (!result.isValid) {
return result;
}
// Convert string to object form
if (typeof validation === 'string') {
var args = validation.split(/:(.+)?/);
validation = {};
if (args[1]) {
try {
validation[args[0]] = JSON.parse(args[1]);
} catch (e) {
validation[args[0]] = args[1];
}
} else {
validation[args[0]] = undefined;
}
}
return {
isValid: Object.keys(validation).reduce(function (isValid, key) {
if (!isValid) {
return false;
}
var rule = _rules2.default[key] || function () {
console.warn('Rule ' + key + ' is not found');
};
return rule(value, form, validation[key]);
}, true),
failedRuleIndex: index
};
}, initialValidation);
}
}
function runValidation(field, form) {
var hasValue = (0, _checkHasValue2.default)(form, field.value, field.isValueRules);
var result = validate(form, field.value, field.validationRules);
var result = (0, _validate2.default)(form, field.value, field.validationRules);
var isValid = result.isValid && (field.isRequired && hasValue || !field.isRequired);

@@ -73,0 +23,0 @@ var errorMessage = field.isRequired && !hasValue ? field.requiredMessage : result.isValid ? null : field.validationMessages[result.failedRuleIndex];

{
"name": "cerebral-forms",
"version": "1.0.0-0-alpha.9a0b482e",
"version": "1.0.0-0-alpha.ac5849d0",
"description": "Signals, actions and state factories to create forms",

@@ -29,6 +29,6 @@ "main": "lib/index.js",

"peerDependencies": {
"cerebral": "^2.0.0-0-alpha.9a0b482e"
"cerebral": "^2.0.0-0-alpha.ac5849d0"
},
"devDependencies": {
"cerebral": "^2.0.0-0-alpha.9a0b482e"
"cerebral": "^2.0.0-0-alpha.ac5849d0"
},

@@ -35,0 +35,0 @@ "nyc": {

@@ -104,6 +104,6 @@ # cerebral-forms

const fields = getFormFields(myForm)
// You can also set some special properties for the whole form
newForm.showErrors = false
fields.forEach((field) => {

@@ -117,2 +117,12 @@ field.requiredMessage = field.requiredMessage || 'This field is required'

```
#### Custom global props
You can add custom props to the root to the form state.
For example if you want to show validation errors only
when submitting the form you can add a `showErrors` prop
which you set true when validation fails during form submit.
```js
import {form} from 'cerebral-forms'

@@ -183,3 +193,3 @@

onChange={(event) => fieldChanged({
field: 'someModule.firstName',
field: 'someModule.form.firstName',
value: event.target.value

@@ -234,2 +244,26 @@ })}

### initializeForm
An **action** factory you can use to initialize any form via initialValues from any chain. It will replace current value with the initialValues value or default value defined. And revalidate.
```js
import {input} from 'cerebral/operators'
import {initializeForm} from 'cerebral-forms'
const initialValues = {
name: 'Mike',
age: 18
}
export default [
doThis,
// static
initializeForm('path.to.form', initialValues),
// dynamic
initializeForm(input`formPath`, input`initialValuesPath`),
doThat
]
```
### resetForm

@@ -236,0 +270,0 @@ An **action** factory you can use to reset any form from any chain. It will replace current value with the initial or default value defined. And revalidate.

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

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc