cerebral-forms
Advanced tools
Comparing version 1.0.0-0-alpha.3dc2ae79 to 1.0.0-0-alpha.4bb8329b
@@ -1,16 +0,16 @@ | ||
{"/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":34,"2":54,"3":54},"f":{"0":34,"1":54},"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}}]}},"s":{"0":1,"1":1,"2":6,"3":3,"4":3},"f":{"0":6},"b":{"0":[3,3]}} | ||
,"/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":39,"2":39,"3":37,"4":80,"5":2,"6":5,"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":4,"21":6,"22":3,"23":14},"f":{"0":39,"1":39,"2":37,"3":80,"4":2,"5":5,"6":4,"7":3,"8":3,"9":7,"10":6,"11":5,"12":4,"13":4,"14":3,"15":3,"16":2,"17":4,"18":6,"19":3,"20":14},"b":{"0":[39,38],"1":[37,37,37],"2":[80,79,63,62,61,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":40,"2":60,"3":60},"f":{"0":40,"1":60},"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":39,"2":39,"3":37,"4":105,"5":2,"6":5,"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":4,"21":6,"22":3,"23":28},"f":{"0":39,"1":39,"2":37,"3":105,"4":2,"5":5,"6":4,"7":3,"8":3,"9":7,"10":6,"11":5,"12":4,"13":4,"14":3,"15":3,"16":2,"17":4,"18":6,"19":3,"20":28},"b":{"0":[39,38],"1":[37,37,37],"2":[105,104,88,87,86,2],"3":[4,3]}} | ||
,"/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/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":4,"column":39},"end":{"line":4,"column":38}},"2":{"start":{"line":5,"column":17},"end":{"line":5,"column":4}},"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}},"6":{"start":{"line":14,"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":39},"end":{"line":15,"column":1}}},"1":{"name":"isValidForm","decl":{"start":{"line":4,"column":11},"end":{"line":4,"column":2}},"loc":{"start":{"line":4,"column":39},"end":{"line":12,"column":3}}}},"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":6,"2":3,"3":3,"4":2,"5":1,"6":3},"f":{"0":3,"1":3},"b":{"0":[2,1]}} | ||
,"/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":16,"column":5}},"3":{"start":{"line":6,"column":6},"end":{"line":null,"column":-1}},"4":{"start":{"line":7,"column":11},"end":{"line":16,"column":5}},"5":{"start":{"line":8,"column":23},"end":{"line":8,"column":6}},"6":{"start":{"line":9,"column":8},"end":{"line":null,"column":-1}},"7":{"start":{"line":10,"column":8},"end":{"line":null,"column":-1}},"8":{"start":{"line":12,"column":6},"end":{"line":null,"column":-1}},"9":{"start":{"line":13,"column":6},"end":{"line":null,"column":-1}},"10":{"start":{"line":15,"column":6},"end":{"line":null,"column":-1}},"11":{"start":{"line":18,"column":4},"end":{"line":null,"column":-1}},"12":{"start":{"line":23,"column":2},"end":{"line":null,"column":-1}},"13":{"start":{"line":24,"column":4},"end":{"line":null,"column":-1}},"14":{"start":{"line":25,"column":4},"end":{"line":null,"column":-1}},"15":{"start":{"line":30,"column":31},"end":{"line":30,"column":30}},"16":{"start":{"line":31,"column":17},"end":{"line":31,"column":4}},"17":{"start":{"line":33,"column":4},"end":{"line":null,"column":-1}},"18":{"start":{"line":36,"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":20,"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":8,"column":53},"end":{"line":8,"column":53}},"loc":{"start":{"line":8,"column":73},"end":{"line":8,"column":23}}},"3":{"name":"resetArray","decl":{"start":{"line":22,"column":9},"end":{"line":22,"column":0}},"loc":{"start":{"line":22,"column":32},"end":{"line":27,"column":1}}},"4":{"name":"(anonymous_5)","decl":{"start":{"line":23,"column":26},"end":{"line":23,"column":26}},"loc":{"start":{"line":23,"column":57},"end":{"line":23,"column":9}}},"5":{"name":"resetFormFactory","decl":{"start":{"line":29,"column":24},"end":{"line":29,"column":15}},"loc":{"start":{"line":29,"column":52},"end":{"line":37,"column":1}}},"6":{"name":"resetForm","decl":{"start":{"line":30,"column":11},"end":{"line":30,"column":2}},"loc":{"start":{"line":30,"column":31},"end":{"line":34,"column":3}}}},"branchMap":{"0":{"loc":{"start":{"line":5,"column":4},"end":{"line":16,"column":5}},"type":"if","locations":[{"start":{"line":5,"column":4},"end":{"line":16,"column":5}},{"start":{"line":5,"column":4},"end":{"line":16,"column":5}}]},"1":{"loc":{"start":{"line":7,"column":11},"end":{"line":16,"column":5}},"type":"if","locations":[{"start":{"line":7,"column":11},"end":{"line":16,"column":5}},{"start":{"line":7,"column":11},"end":{"line":16,"column":5}}]}},"s":{"0":1,"1":1,"2":1,"3":0,"4":1,"5":1,"6":10,"7":10,"8":1,"9":1,"10":0,"11":1,"12":0,"13":0,"14":0,"15":1,"16":1,"17":1,"18":1},"f":{"0":1,"1":1,"2":10,"3":0,"4":0,"5":1,"6":1},"b":{"0":[0,1],"1":[1,0]}} | ||
,"/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":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":12,"column":2},"end":{"line":null,"column":-1}},"6":{"start":{"line":21,"column":42},"end":{"line":21,"column":41}},"7":{"start":{"line":22,"column":22},"end":{"line":22,"column":4}},"8":{"start":{"line":23,"column":21},"end":{"line":23,"column":4}},"9":{"start":{"line":24,"column":18},"end":{"line":24,"column":4}},"10":{"start":{"line":25,"column":17},"end":{"line":25,"column":4}},"11":{"start":{"line":26,"column":29},"end":{"line":26,"column":4}},"12":{"start":{"line":28,"column":4},"end":{"line":null,"column":-1}},"13":{"start":{"line":30,"column":26},"end":{"line":30,"column":4}},"14":{"start":{"line":31,"column":4},"end":{"line":35,"column":5}},"15":{"start":{"line":32,"column":6},"end":{"line":null,"column":-1}},"16":{"start":{"line":33,"column":11},"end":{"line":35,"column":5}},"17":{"start":{"line":34,"column":6},"end":{"line":null,"column":-1}},"18":{"start":{"line":37,"column":40},"end":{"line":37,"column":4}},"19":{"start":{"line":38,"column":33},"end":{"line":38,"column":6}},"20":{"start":{"line":39,"column":32},"end":{"line":39,"column":6}},"21":{"start":{"line":40,"column":20},"end":{"line":40,"column":6}},"22":{"start":{"line":41,"column":19},"end":{"line":41,"column":6}},"23":{"start":{"line":43,"column":6},"end":{"line":45,"column":7}},"24":{"start":{"line":44,"column":8},"end":{"line":null,"column":-1}},"25":{"start":{"line":47,"column":40},"end":{"line":47,"column":6}},"26":{"start":{"line":48,"column":6},"end":{"line":null,"column":-1}},"27":{"start":{"line":50,"column":6},"end":{"line":52,"column":7}},"28":{"start":{"line":51,"column":8},"end":{"line":null,"column":-1}},"29":{"start":{"line":54,"column":6},"end":{"line":null,"column":-1}},"30":{"start":{"line":57,"column":4},"end":{"line":null,"column":-1}},"31":{"start":{"line":60,"column":2},"end":{"line":null,"column":-1}}},"fnMap":{"0":{"name":"runValidation","decl":{"start":{"line":4,"column":9},"end":{"line":4,"column":0}},"loc":{"start":{"line":4,"column":48},"end":{"line":18,"column":1}}},"1":{"name":"validateFieldFactory","decl":{"start":{"line":20,"column":24},"end":{"line":20,"column":15}},"loc":{"start":{"line":20,"column":52},"end":{"line":61,"column":1}}},"2":{"name":"validateField","decl":{"start":{"line":21,"column":11},"end":{"line":21,"column":2}},"loc":{"start":{"line":21,"column":42},"end":{"line":58,"column":3}}},"3":{"name":"(anonymous_4)","decl":{"start":{"line":37,"column":63},"end":{"line":37,"column":63}},"loc":{"start":{"line":37,"column":104},"end":{"line":37,"column":40}}}},"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":16,"column":35},"end":{"line":16,"column":18}},"type":"cond-expr","locations":[{"start":{"line":16,"column":35},"end":{"line":16,"column":18}},{"start":{"line":16,"column":42},"end":{"line":null,"column":-1}}]},"2":{"loc":{"start":{"line":22,"column":23},"end":{"line":22,"column":30}},"type":"binary-expr","locations":[{"start":{"line":22,"column":23},"end":{"line":22,"column":30}},{"start":{"line":22,"column":31},"end":{"line":22,"column":22}}]},"3":{"loc":{"start":{"line":31,"column":4},"end":{"line":35,"column":5}},"type":"if","locations":[{"start":{"line":31,"column":4},"end":{"line":35,"column":5}},{"start":{"line":31,"column":4},"end":{"line":35,"column":5}}]},"4":{"loc":{"start":{"line":33,"column":11},"end":{"line":35,"column":5}},"type":"if","locations":[{"start":{"line":33,"column":11},"end":{"line":35,"column":5}},{"start":{"line":33,"column":11},"end":{"line":35,"column":5}}]},"5":{"loc":{"start":{"line":43,"column":6},"end":{"line":45,"column":7}},"type":"if","locations":[{"start":{"line":43,"column":6},"end":{"line":45,"column":7}},{"start":{"line":43,"column":6},"end":{"line":45,"column":7}}]},"6":{"loc":{"start":{"line":50,"column":6},"end":{"line":52,"column":7}},"type":"if","locations":[{"start":{"line":50,"column":6},"end":{"line":52,"column":7}},{"start":{"line":50,"column":6},"end":{"line":52,"column":7}}]},"7":{"loc":{"start":{"line":50,"column":10},"end":{"line":50,"column":9}},"type":"binary-expr","locations":[{"start":{"line":50,"column":10},"end":{"line":50,"column":9}},{"start":{"line":50,"column":45},"end":{"line":50,"column":6}}]}},"s":{"0":1,"1":1,"2":11,"3":11,"4":11,"5":11,"6":14,"7":7,"8":7,"9":7,"10":7,"11":7,"12":7,"13":7,"14":7,"15":0,"16":7,"17":4,"18":7,"19":4,"20":4,"21":4,"22":4,"23":4,"24":0,"25":4,"26":4,"27":4,"28":2,"29":2,"30":7,"31":3},"f":{"0":11,"1":3,"2":7,"3":4},"b":{"0":[11,9,5,5],"1":[9,2],"2":[7,5],"3":[0,7],"4":[4,3],"5":[0,4],"6":[2,2],"7":[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":2,"column":0},"end":{"line":null,"column":-1}},"2":{"start":{"line":5,"column":41},"end":{"line":5,"column":40}},"3":{"start":{"line":6,"column":21},"end":{"line":6,"column":4}},"4":{"start":{"line":7,"column":29},"end":{"line":7,"column":4}},"5":{"start":{"line":10,"column":6},"end":{"line":null,"column":-1}},"6":{"start":{"line":11,"column":8},"end":{"line":17,"column":9}},"7":{"start":{"line":12,"column":10},"end":{"line":null,"column":-1}},"8":{"start":{"line":13,"column":15},"end":{"line":17,"column":9}},"9":{"start":{"line":14,"column":10},"end":{"line":null,"column":-1}},"10":{"start":{"line":16,"column":10},"end":{"line":null,"column":-1}},"11":{"start":{"line":22,"column":6},"end":{"line":null,"column":-1}},"12":{"start":{"line":23,"column":8},"end":{"line":null,"column":-1}},"13":{"start":{"line":28,"column":20},"end":{"line":28,"column":6}},"14":{"start":{"line":29,"column":23},"end":{"line":29,"column":6}},"15":{"start":{"line":30,"column":21},"end":{"line":30,"column":6}},"16":{"start":{"line":31,"column":22},"end":{"line":31,"column":6}},"17":{"start":{"line":36,"column":6},"end":{"line":null,"column":-1}},"18":{"start":{"line":44,"column":4},"end":{"line":null,"column":-1}},"19":{"start":{"line":47,"column":2},"end":{"line":null,"column":-1}}},"fnMap":{"0":{"name":"validateFormFactory","decl":{"start":{"line":4,"column":24},"end":{"line":4,"column":15}},"loc":{"start":{"line":4,"column":61},"end":{"line":48,"column":1}}},"1":{"name":"validateForm","decl":{"start":{"line":5,"column":11},"end":{"line":5,"column":2}},"loc":{"start":{"line":5,"column":41},"end":{"line":45,"column":3}}},"2":{"name":"validateForm","decl":{"start":{"line":9,"column":13},"end":{"line":9,"column":4}},"loc":{"start":{"line":9,"column":39},"end":{"line":19,"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":21,"column":13},"end":{"line":21,"column":4}},"loc":{"start":{"line":21,"column":45},"end":{"line":25,"column":5}}},"5":{"name":"(anonymous_6)","decl":{"start":{"line":22,"column":24},"end":{"line":22,"column":24}},"loc":{"start":{"line":22,"column":41},"end":{"line":22,"column":6}}},"6":{"name":"doValidation","decl":{"start":{"line":27,"column":13},"end":{"line":27,"column":4}},"loc":{"start":{"line":27,"column":44},"end":{"line":42,"column":5}}}},"branchMap":{"0":{"loc":{"start":{"line":6,"column":22},"end":{"line":6,"column":39}},"type":"binary-expr","locations":[{"start":{"line":6,"column":22},"end":{"line":6,"column":39}},{"start":{"line":6,"column":40},"end":{"line":6,"column":21}}]},"1":{"loc":{"start":{"line":11,"column":8},"end":{"line":17,"column":9}},"type":"if","locations":[{"start":{"line":11,"column":8},"end":{"line":17,"column":9}},{"start":{"line":11,"column":8},"end":{"line":17,"column":9}}]},"2":{"loc":{"start":{"line":13,"column":15},"end":{"line":17,"column":9}},"type":"if","locations":[{"start":{"line":13,"column":15},"end":{"line":17,"column":9}},{"start":{"line":13,"column":15},"end":{"line":17,"column":9}}]},"3":{"loc":{"start":{"line":31,"column":22},"end":{"line":31,"column":21}},"type":"binary-expr","locations":[{"start":{"line":31,"column":22},"end":{"line":31,"column":21}},{"start":{"line":32,"column":9},"end":{"line":32,"column":8}},{"start":{"line":32,"column":29},"end":{"line":32,"column":8}},{"start":{"line":33,"column":8},"end":{"line":31,"column":22}}]},"4":{"loc":{"start":{"line":39,"column":32},"end":{"line":39,"column":22}},"type":"cond-expr","locations":[{"start":{"line":39,"column":32},"end":{"line":39,"column":22}},{"start":{"line":39,"column":39},"end":{"line":36,"column":24}}]}},"s":{"0":1,"1":1,"2":2,"3":1,"4":1,"5":1,"6":1,"7":0,"8":1,"9":1,"10":0,"11":0,"12":0,"13":1,"14":1,"15":1,"16":1,"17":1,"18":1,"19":1},"f":{"0":1,"1":1,"2":1,"3":1,"4":0,"5":0,"6":1},"b":{"0":[1,0],"1":[0,1],"2":[1,0],"3":[1,1,0,1],"4":[1,0]}} | ||
,"/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":16,"column":5}},"3":{"start":{"line":6,"column":6},"end":{"line":null,"column":-1}},"4":{"start":{"line":7,"column":11},"end":{"line":16,"column":5}},"5":{"start":{"line":8,"column":23},"end":{"line":8,"column":6}},"6":{"start":{"line":9,"column":8},"end":{"line":null,"column":-1}},"7":{"start":{"line":10,"column":8},"end":{"line":null,"column":-1}},"8":{"start":{"line":12,"column":6},"end":{"line":null,"column":-1}},"9":{"start":{"line":13,"column":6},"end":{"line":null,"column":-1}},"10":{"start":{"line":15,"column":6},"end":{"line":null,"column":-1}},"11":{"start":{"line":18,"column":4},"end":{"line":null,"column":-1}},"12":{"start":{"line":23,"column":2},"end":{"line":null,"column":-1}},"13":{"start":{"line":24,"column":4},"end":{"line":null,"column":-1}},"14":{"start":{"line":25,"column":4},"end":{"line":null,"column":-1}},"15":{"start":{"line":31,"column":21},"end":{"line":31,"column":4}},"16":{"start":{"line":32,"column":17},"end":{"line":32,"column":4}},"17":{"start":{"line":34,"column":4},"end":{"line":null,"column":-1}},"18":{"start":{"line":37,"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":20,"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":8,"column":53},"end":{"line":8,"column":53}},"loc":{"start":{"line":8,"column":73},"end":{"line":8,"column":23}}},"3":{"name":"resetArray","decl":{"start":{"line":22,"column":9},"end":{"line":22,"column":0}},"loc":{"start":{"line":22,"column":32},"end":{"line":27,"column":1}}},"4":{"name":"(anonymous_5)","decl":{"start":{"line":23,"column":26},"end":{"line":23,"column":26}},"loc":{"start":{"line":23,"column":57},"end":{"line":23,"column":9}}},"5":{"name":"resetFormFactory","decl":{"start":{"line":29,"column":24},"end":{"line":29,"column":15}},"loc":{"start":{"line":29,"column":60},"end":{"line":38,"column":1}}},"6":{"name":"resetForm","decl":{"start":{"line":30,"column":11},"end":{"line":30,"column":2}},"loc":{"start":{"line":30,"column":31},"end":{"line":35,"column":3}}}},"branchMap":{"0":{"loc":{"start":{"line":5,"column":4},"end":{"line":16,"column":5}},"type":"if","locations":[{"start":{"line":5,"column":4},"end":{"line":16,"column":5}},{"start":{"line":5,"column":4},"end":{"line":16,"column":5}}]},"1":{"loc":{"start":{"line":7,"column":11},"end":{"line":16,"column":5}},"type":"if","locations":[{"start":{"line":7,"column":11},"end":{"line":16,"column":5}},{"start":{"line":7,"column":11},"end":{"line":16,"column":5}}]},"2":{"loc":{"start":{"line":31,"column":62},"end":{"line":31,"column":21}},"type":"cond-expr","locations":[{"start":{"line":31,"column":62},"end":{"line":31,"column":21}},{"start":{"line":31,"column":96},"end":{"line":31,"column":4}}]}},"s":{"0":1,"1":2,"2":2,"3":0,"4":2,"5":2,"6":20,"7":20,"8":2,"9":2,"10":0,"11":2,"12":0,"13":0,"14":0,"15":2,"16":2,"17":2,"18":2},"f":{"0":2,"1":2,"2":20,"3":0,"4":0,"5":2,"6":2},"b":{"0":[0,2],"1":[2,0],"2":[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":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":12,"column":2},"end":{"line":null,"column":-1}},"6":{"start":{"line":22,"column":17},"end":{"line":22,"column":4}},"7":{"start":{"line":23,"column":22},"end":{"line":23,"column":4}},"8":{"start":{"line":24,"column":21},"end":{"line":24,"column":4}},"9":{"start":{"line":25,"column":18},"end":{"line":25,"column":4}},"10":{"start":{"line":26,"column":17},"end":{"line":26,"column":4}},"11":{"start":{"line":27,"column":29},"end":{"line":27,"column":4}},"12":{"start":{"line":29,"column":4},"end":{"line":null,"column":-1}},"13":{"start":{"line":31,"column":26},"end":{"line":31,"column":4}},"14":{"start":{"line":32,"column":4},"end":{"line":36,"column":5}},"15":{"start":{"line":33,"column":6},"end":{"line":null,"column":-1}},"16":{"start":{"line":34,"column":11},"end":{"line":36,"column":5}},"17":{"start":{"line":35,"column":6},"end":{"line":null,"column":-1}},"18":{"start":{"line":38,"column":40},"end":{"line":38,"column":4}},"19":{"start":{"line":39,"column":33},"end":{"line":39,"column":6}},"20":{"start":{"line":40,"column":32},"end":{"line":40,"column":6}},"21":{"start":{"line":41,"column":20},"end":{"line":41,"column":6}},"22":{"start":{"line":42,"column":19},"end":{"line":42,"column":6}},"23":{"start":{"line":44,"column":6},"end":{"line":46,"column":7}},"24":{"start":{"line":45,"column":8},"end":{"line":null,"column":-1}},"25":{"start":{"line":48,"column":40},"end":{"line":48,"column":6}},"26":{"start":{"line":49,"column":6},"end":{"line":null,"column":-1}},"27":{"start":{"line":51,"column":6},"end":{"line":53,"column":7}},"28":{"start":{"line":52,"column":8},"end":{"line":null,"column":-1}},"29":{"start":{"line":55,"column":6},"end":{"line":null,"column":-1}},"30":{"start":{"line":58,"column":4},"end":{"line":null,"column":-1}},"31":{"start":{"line":61,"column":2},"end":{"line":null,"column":-1}}},"fnMap":{"0":{"name":"runValidation","decl":{"start":{"line":4,"column":9},"end":{"line":4,"column":0}},"loc":{"start":{"line":4,"column":48},"end":{"line":18,"column":1}}},"1":{"name":"validateFieldFactory","decl":{"start":{"line":20,"column":24},"end":{"line":20,"column":15}},"loc":{"start":{"line":20,"column":60},"end":{"line":62,"column":1}}},"2":{"name":"validateField","decl":{"start":{"line":21,"column":11},"end":{"line":21,"column":2}},"loc":{"start":{"line":21,"column":35},"end":{"line":59,"column":3}}},"3":{"name":"(anonymous_4)","decl":{"start":{"line":38,"column":63},"end":{"line":38,"column":63}},"loc":{"start":{"line":38,"column":104},"end":{"line":38,"column":40}}}},"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":16,"column":35},"end":{"line":16,"column":18}},"type":"cond-expr","locations":[{"start":{"line":16,"column":35},"end":{"line":16,"column":18}},{"start":{"line":16,"column":42},"end":{"line":null,"column":-1}}]},"2":{"loc":{"start":{"line":22,"column":54},"end":{"line":22,"column":17}},"type":"cond-expr","locations":[{"start":{"line":22,"column":54},"end":{"line":22,"column":17}},{"start":{"line":22,"column":84},"end":{"line":22,"column":4}}]},"3":{"loc":{"start":{"line":32,"column":4},"end":{"line":36,"column":5}},"type":"if","locations":[{"start":{"line":32,"column":4},"end":{"line":36,"column":5}},{"start":{"line":32,"column":4},"end":{"line":36,"column":5}}]},"4":{"loc":{"start":{"line":34,"column":11},"end":{"line":36,"column":5}},"type":"if","locations":[{"start":{"line":34,"column":11},"end":{"line":36,"column":5}},{"start":{"line":34,"column":11},"end":{"line":36,"column":5}}]},"5":{"loc":{"start":{"line":44,"column":6},"end":{"line":46,"column":7}},"type":"if","locations":[{"start":{"line":44,"column":6},"end":{"line":46,"column":7}},{"start":{"line":44,"column":6},"end":{"line":46,"column":7}}]},"6":{"loc":{"start":{"line":51,"column":6},"end":{"line":53,"column":7}},"type":"if","locations":[{"start":{"line":51,"column":6},"end":{"line":53,"column":7}},{"start":{"line":51,"column":6},"end":{"line":53,"column":7}}]},"7":{"loc":{"start":{"line":51,"column":10},"end":{"line":51,"column":9}},"type":"binary-expr","locations":[{"start":{"line":51,"column":10},"end":{"line":51,"column":9}},{"start":{"line":51,"column":45},"end":{"line":51,"column":6}}]}},"s":{"0":1,"1":1,"2":19,"3":19,"4":19,"5":19,"6":15,"7":15,"8":15,"9":15,"10":15,"11":15,"12":15,"13":15,"14":15,"15":0,"16":15,"17":4,"18":15,"19":4,"20":4,"21":4,"22":4,"23":4,"24":0,"25":4,"26":4,"27":4,"28":2,"29":2,"30":15,"31":5},"f":{"0":19,"1":5,"2":15,"3":4},"b":{"0":[19,15,5,11],"1":[15,4],"2":[12,3],"3":[0,15],"4":[4,11],"5":[0,4],"6":[2,2],"7":[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":2,"column":0},"end":{"line":null,"column":-1}},"2":{"start":{"line":6,"column":27},"end":{"line":6,"column":4}},"3":{"start":{"line":7,"column":21},"end":{"line":7,"column":4}},"4":{"start":{"line":8,"column":29},"end":{"line":8,"column":4}},"5":{"start":{"line":11,"column":6},"end":{"line":null,"column":-1}},"6":{"start":{"line":12,"column":8},"end":{"line":18,"column":9}},"7":{"start":{"line":13,"column":10},"end":{"line":null,"column":-1}},"8":{"start":{"line":14,"column":15},"end":{"line":18,"column":9}},"9":{"start":{"line":15,"column":10},"end":{"line":null,"column":-1}},"10":{"start":{"line":17,"column":10},"end":{"line":null,"column":-1}},"11":{"start":{"line":23,"column":6},"end":{"line":null,"column":-1}},"12":{"start":{"line":24,"column":8},"end":{"line":null,"column":-1}},"13":{"start":{"line":29,"column":20},"end":{"line":29,"column":6}},"14":{"start":{"line":30,"column":23},"end":{"line":30,"column":6}},"15":{"start":{"line":31,"column":21},"end":{"line":31,"column":6}},"16":{"start":{"line":32,"column":22},"end":{"line":32,"column":6}},"17":{"start":{"line":37,"column":6},"end":{"line":null,"column":-1}},"18":{"start":{"line":45,"column":4},"end":{"line":null,"column":-1}},"19":{"start":{"line":48,"column":2},"end":{"line":null,"column":-1}}},"fnMap":{"0":{"name":"validateFormFactory","decl":{"start":{"line":4,"column":24},"end":{"line":4,"column":15}},"loc":{"start":{"line":4,"column":69},"end":{"line":49,"column":1}}},"1":{"name":"validateForm","decl":{"start":{"line":5,"column":11},"end":{"line":5,"column":2}},"loc":{"start":{"line":5,"column":34},"end":{"line":46,"column":3}}},"2":{"name":"validateForm","decl":{"start":{"line":10,"column":13},"end":{"line":10,"column":4}},"loc":{"start":{"line":10,"column":39},"end":{"line":20,"column":5}}},"3":{"name":"(anonymous_4)","decl":{"start":{"line":11,"column":32},"end":{"line":11,"column":41}},"loc":{"start":{"line":11,"column":47},"end":{"line":11,"column":6}}},"4":{"name":"validateArray","decl":{"start":{"line":22,"column":13},"end":{"line":22,"column":4}},"loc":{"start":{"line":22,"column":45},"end":{"line":26,"column":5}}},"5":{"name":"(anonymous_6)","decl":{"start":{"line":23,"column":24},"end":{"line":23,"column":24}},"loc":{"start":{"line":23,"column":41},"end":{"line":23,"column":6}}},"6":{"name":"doValidation","decl":{"start":{"line":28,"column":13},"end":{"line":28,"column":4}},"loc":{"start":{"line":28,"column":44},"end":{"line":43,"column":5}}}},"branchMap":{"0":{"loc":{"start":{"line":6,"column":74},"end":{"line":6,"column":27}},"type":"cond-expr","locations":[{"start":{"line":6,"column":74},"end":{"line":6,"column":27}},{"start":{"line":6,"column":114},"end":{"line":6,"column":4}}]},"1":{"loc":{"start":{"line":12,"column":8},"end":{"line":18,"column":9}},"type":"if","locations":[{"start":{"line":12,"column":8},"end":{"line":18,"column":9}},{"start":{"line":12,"column":8},"end":{"line":18,"column":9}}]},"2":{"loc":{"start":{"line":14,"column":15},"end":{"line":18,"column":9}},"type":"if","locations":[{"start":{"line":14,"column":15},"end":{"line":18,"column":9}},{"start":{"line":14,"column":15},"end":{"line":18,"column":9}}]},"3":{"loc":{"start":{"line":32,"column":22},"end":{"line":32,"column":21}},"type":"binary-expr","locations":[{"start":{"line":32,"column":22},"end":{"line":32,"column":21}},{"start":{"line":33,"column":9},"end":{"line":33,"column":8}},{"start":{"line":33,"column":29},"end":{"line":33,"column":8}},{"start":{"line":34,"column":8},"end":{"line":32,"column":22}}]},"4":{"loc":{"start":{"line":40,"column":32},"end":{"line":40,"column":22}},"type":"cond-expr","locations":[{"start":{"line":40,"column":32},"end":{"line":40,"column":22}},{"start":{"line":40,"column":39},"end":{"line":37,"column":32}}]}},"s":{"0":1,"1":1,"2":3,"3":3,"4":3,"5":3,"6":3,"7":0,"8":3,"9":3,"10":0,"11":0,"12":0,"13":3,"14":3,"15":3,"16":3,"17":3,"18":3,"19":3},"f":{"0":3,"1":3,"2":3,"3":3,"4":0,"5":0,"6":3},"b":{"0":[1,2],"1":[0,3],"2":[3,0],"3":[3,3,0,3],"4":[3,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":9,"column":5}},"2":{"start":{"line":4,"column":6},"end":{"line":null,"column":-1}},"3":{"start":{"line":5,"column":11},"end":{"line":9,"column":5}},"4":{"start":{"line":6,"column":6},"end":{"line":null,"column":-1}},"5":{"start":{"line":7,"column":11},"end":{"line":9,"column":5}},"6":{"start":{"line":8,"column":6},"end":{"line":null,"column":-1}},"7":{"start":{"line":11,"column":4},"end":{"line":null,"column":-1}},"8":{"start":{"line":16,"column":2},"end":{"line":null,"column":-1}},"9":{"start":{"line":17,"column":4},"end":{"line":null,"column":-1}},"10":{"start":{"line":22,"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":13,"column":1}}},"1":{"name":"(anonymous_3)","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":15,"column":9},"end":{"line":15,"column":0}},"loc":{"start":{"line":15,"column":30},"end":{"line":19,"column":1}}},"3":{"name":"(anonymous_5)","decl":{"start":{"line":16,"column":19},"end":{"line":16,"column":19}},"loc":{"start":{"line":16,"column":31},"end":{"line":16,"column":9}}},"4":{"name":"formToJSON","decl":{"start":{"line":21,"column":24},"end":{"line":21,"column":15}},"loc":{"start":{"line":21,"column":42},"end":{"line":23,"column":1}}}},"branchMap":{"0":{"loc":{"start":{"line":3,"column":4},"end":{"line":9,"column":5}},"type":"if","locations":[{"start":{"line":3,"column":4},"end":{"line":9,"column":5}},{"start":{"line":3,"column":4},"end":{"line":9,"column":5}}]},"1":{"loc":{"start":{"line":5,"column":11},"end":{"line":9,"column":5}},"type":"if","locations":[{"start":{"line":5,"column":11},"end":{"line":9,"column":5}},{"start":{"line":5,"column":11},"end":{"line":9,"column":5}}]},"2":{"loc":{"start":{"line":5,"column":15},"end":{"line":5,"column":29}},"type":"binary-expr","locations":[{"start":{"line":5,"column":15},"end":{"line":5,"column":29}},{"start":{"line":5,"column":30},"end":{"line":5,"column":11}}]},"3":{"loc":{"start":{"line":7,"column":11},"end":{"line":9,"column":5}},"type":"if","locations":[{"start":{"line":7,"column":11},"end":{"line":9,"column":5}},{"start":{"line":7,"column":11},"end":{"line":9,"column":5}}]},"4":{"loc":{"start":{"line":7,"column":15},"end":{"line":7,"column":29}},"type":"binary-expr","locations":[{"start":{"line":7,"column":15},"end":{"line":7,"column":29}},{"start":{"line":7,"column":30},"end":{"line":7,"column":11}}]}},"s":{"0":6,"1":8,"2":1,"3":7,"4":5,"5":2,"6":2,"7":8,"8":1,"9":2,"10":2},"f":{"0":6,"1":8,"2":1,"3":2,"4":2},"b":{"0":[1,7],"1":[5,2],"2":[7,7],"3":[2,0],"4":[2,2]}} | ||
,"/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}}]}},"s":{"0":38,"1":19,"2":36,"3":36,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":35,"11":28,"12":28,"13":28,"14":7,"15":7,"16":7},"f":{"0":19,"1":36,"2":1},"b":{"0":[8,11],"1":[19,8],"2":[8,11],"3":[19,8],"4":[1,35],"5":[28,7]}} | ||
,"/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}}]}},"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]}} | ||
,"/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":6,"2":6,"3":13,"4":1,"5":12},"f":{"0":6,"1":13},"b":{"0":[1,12]}} | ||
,"/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":74,"2":74,"3":74,"4":0,"5":74,"6":74,"7":0,"8":74,"9":74},"f":{"0":74,"1":74,"2":74},"b":{"0":[74,0],"1":[1,73],"2":[0,74]}} | ||
,"/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":2,"column":0},"end":{"line":null,"column":-1}},"2":{"start":{"line":6,"column":2},"end":{"line":8,"column":3}},"3":{"start":{"line":7,"column":4},"end":{"line":null,"column":-1}},"4":{"start":{"line":10,"column":23},"end":{"line":10,"column":2}},"5":{"start":{"line":11,"column":21},"end":{"line":11,"column":2}},"6":{"start":{"line":12,"column":16},"end":{"line":12,"column":2}},"7":{"start":{"line":13,"column":23},"end":{"line":13,"column":2}},"8":{"start":{"line":14,"column":26},"end":{"line":14,"column":2}},"9":{"start":{"line":15,"column":24},"end":{"line":15,"column":2}},"10":{"start":{"line":16,"column":19},"end":{"line":16,"column":2}},"11":{"start":{"line":17,"column":27},"end":{"line":17,"column":2}},"12":{"start":{"line":19,"column":2},"end":{"line":null,"column":-1}},"13":{"start":{"line":20,"column":2},"end":{"line":null,"column":-1}},"14":{"start":{"line":21,"column":2},"end":{"line":null,"column":-1}},"15":{"start":{"line":25,"column":2},"end":{"line":null,"column":-1}},"16":{"start":{"line":26,"column":2},"end":{"line":null,"column":-1}},"17":{"start":{"line":27,"column":2},"end":{"line":null,"column":-1}},"18":{"start":{"line":28,"column":2},"end":{"line":null,"column":-1}},"19":{"start":{"line":29,"column":2},"end":{"line":null,"column":-1}},"20":{"start":{"line":30,"column":2},"end":{"line":null,"column":-1}},"21":{"start":{"line":31,"column":2},"end":{"line":null,"column":-1}},"22":{"start":{"line":33,"column":2},"end":{"line":null,"column":-1}}},"fnMap":{"0":{"name":"configureField","decl":{"start":{"line":4,"column":24},"end":{"line":4,"column":15}},"loc":{"start":{"line":4,"column":57},"end":{"line":34,"column":1}}}},"branchMap":{"0":{"loc":{"start":{"line":6,"column":2},"end":{"line":8,"column":3}},"type":"if","locations":[{"start":{"line":6,"column":2},"end":{"line":8,"column":3}},{"start":{"line":6,"column":2},"end":{"line":8,"column":3}}]},"1":{"loc":{"start":{"line":10,"column":23},"end":{"line":10,"column":22}},"type":"binary-expr","locations":[{"start":{"line":10,"column":23},"end":{"line":10,"column":22}},{"start":{"line":10,"column":45},"end":{"line":10,"column":2}}]},"2":{"loc":{"start":{"line":11,"column":21},"end":{"line":11,"column":20}},"type":"binary-expr","locations":[{"start":{"line":11,"column":21},"end":{"line":11,"column":20}},{"start":{"line":11,"column":41},"end":{"line":11,"column":2}}]},"3":{"loc":{"start":{"line":13,"column":23},"end":{"line":13,"column":22}},"type":"binary-expr","locations":[{"start":{"line":13,"column":23},"end":{"line":13,"column":22}},{"start":{"line":13,"column":45},"end":{"line":13,"column":2}}]},"4":{"loc":{"start":{"line":14,"column":26},"end":{"line":14,"column":25}},"type":"binary-expr","locations":[{"start":{"line":14,"column":26},"end":{"line":14,"column":25}},{"start":{"line":14,"column":51},"end":{"line":14,"column":2}}]},"5":{"loc":{"start":{"line":15,"column":24},"end":{"line":15,"column":23}},"type":"binary-expr","locations":[{"start":{"line":15,"column":24},"end":{"line":15,"column":23}},{"start":{"line":15,"column":47},"end":{"line":15,"column":2}}]},"6":{"loc":{"start":{"line":25,"column":20},"end":{"line":25,"column":31}},"type":"binary-expr","locations":[{"start":{"line":25,"column":20},"end":{"line":25,"column":31}},{"start":{"line":25,"column":32},"end":{"line":25,"column":19}},{"start":{"line":25,"column":62},"end":{"line":25,"column":61}},{"start":{"line":25,"column":77},"end":{"line":25,"column":2}}]},"7":{"loc":{"start":{"line":27,"column":50},"end":{"line":27,"column":23}},"type":"cond-expr","locations":[{"start":{"line":27,"column":50},"end":{"line":27,"column":23}},{"start":{"line":27,"column":57},"end":{"line":27,"column":2}}]}},"s":{"0":1,"1":1,"2":55,"3":6,"4":49,"5":49,"6":49,"7":49,"8":49,"9":49,"10":49,"11":49,"12":49,"13":49,"14":49,"15":49,"16":49,"17":49,"18":49,"19":49,"20":49,"21":49,"22":49},"f":{"0":55},"b":{"0":[6,49],"1":[49,47],"2":[49,37],"3":[49,48],"4":[49,39],"5":[49,41],"6":[49,38,18,9],"7":[41,8]}} | ||
,"/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":63,"2":63,"3":44,"4":19,"5":19,"6":20,"7":1,"8":19,"9":18,"10":18,"11":18,"12":14,"13":14,"14":5,"15":4,"16":19,"17":20,"18":1,"19":19,"20":1,"21":19},"f":{"0":63,"1":20,"2":20,"3":1},"b":{"0":[44,19],"1":[19,0],"2":[1,19],"3":[18,1],"4":[14,4],"5":[1,19],"6":[19,1]}} | ||
,"/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":99,"2":99,"3":99,"4":0,"5":99,"6":99,"7":0,"8":99,"9":99},"f":{"0":99,"1":99,"2":99},"b":{"0":[99,0],"1":[1,98],"2":[0,99]}} | ||
,"/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":2,"column":0},"end":{"line":null,"column":-1}},"2":{"start":{"line":6,"column":2},"end":{"line":8,"column":3}},"3":{"start":{"line":7,"column":4},"end":{"line":null,"column":-1}},"4":{"start":{"line":10,"column":23},"end":{"line":10,"column":2}},"5":{"start":{"line":11,"column":21},"end":{"line":11,"column":2}},"6":{"start":{"line":12,"column":16},"end":{"line":12,"column":2}},"7":{"start":{"line":13,"column":23},"end":{"line":13,"column":2}},"8":{"start":{"line":14,"column":26},"end":{"line":14,"column":2}},"9":{"start":{"line":15,"column":24},"end":{"line":15,"column":2}},"10":{"start":{"line":16,"column":19},"end":{"line":16,"column":2}},"11":{"start":{"line":17,"column":27},"end":{"line":17,"column":2}},"12":{"start":{"line":19,"column":2},"end":{"line":null,"column":-1}},"13":{"start":{"line":20,"column":2},"end":{"line":null,"column":-1}},"14":{"start":{"line":21,"column":2},"end":{"line":null,"column":-1}},"15":{"start":{"line":25,"column":2},"end":{"line":null,"column":-1}},"16":{"start":{"line":26,"column":2},"end":{"line":null,"column":-1}},"17":{"start":{"line":27,"column":2},"end":{"line":null,"column":-1}},"18":{"start":{"line":28,"column":2},"end":{"line":null,"column":-1}},"19":{"start":{"line":29,"column":2},"end":{"line":null,"column":-1}},"20":{"start":{"line":30,"column":2},"end":{"line":null,"column":-1}},"21":{"start":{"line":31,"column":2},"end":{"line":null,"column":-1}},"22":{"start":{"line":33,"column":2},"end":{"line":null,"column":-1}}},"fnMap":{"0":{"name":"configureField","decl":{"start":{"line":4,"column":24},"end":{"line":4,"column":15}},"loc":{"start":{"line":4,"column":57},"end":{"line":34,"column":1}}}},"branchMap":{"0":{"loc":{"start":{"line":6,"column":2},"end":{"line":8,"column":3}},"type":"if","locations":[{"start":{"line":6,"column":2},"end":{"line":8,"column":3}},{"start":{"line":6,"column":2},"end":{"line":8,"column":3}}]},"1":{"loc":{"start":{"line":10,"column":23},"end":{"line":10,"column":22}},"type":"binary-expr","locations":[{"start":{"line":10,"column":23},"end":{"line":10,"column":22}},{"start":{"line":10,"column":45},"end":{"line":10,"column":2}}]},"2":{"loc":{"start":{"line":11,"column":21},"end":{"line":11,"column":20}},"type":"binary-expr","locations":[{"start":{"line":11,"column":21},"end":{"line":11,"column":20}},{"start":{"line":11,"column":41},"end":{"line":11,"column":2}}]},"3":{"loc":{"start":{"line":13,"column":23},"end":{"line":13,"column":22}},"type":"binary-expr","locations":[{"start":{"line":13,"column":23},"end":{"line":13,"column":22}},{"start":{"line":13,"column":45},"end":{"line":13,"column":2}}]},"4":{"loc":{"start":{"line":14,"column":26},"end":{"line":14,"column":25}},"type":"binary-expr","locations":[{"start":{"line":14,"column":26},"end":{"line":14,"column":25}},{"start":{"line":14,"column":51},"end":{"line":14,"column":2}}]},"5":{"loc":{"start":{"line":15,"column":24},"end":{"line":15,"column":23}},"type":"binary-expr","locations":[{"start":{"line":15,"column":24},"end":{"line":15,"column":23}},{"start":{"line":15,"column":47},"end":{"line":15,"column":2}}]},"6":{"loc":{"start":{"line":25,"column":20},"end":{"line":25,"column":31}},"type":"binary-expr","locations":[{"start":{"line":25,"column":20},"end":{"line":25,"column":31}},{"start":{"line":25,"column":32},"end":{"line":25,"column":19}},{"start":{"line":25,"column":62},"end":{"line":25,"column":61}},{"start":{"line":25,"column":77},"end":{"line":25,"column":2}}]},"7":{"loc":{"start":{"line":27,"column":50},"end":{"line":27,"column":23}},"type":"cond-expr","locations":[{"start":{"line":27,"column":50},"end":{"line":27,"column":23}},{"start":{"line":27,"column":57},"end":{"line":27,"column":2}}]}},"s":{"0":1,"1":1,"2":62,"3":6,"4":56,"5":56,"6":56,"7":56,"8":56,"9":56,"10":56,"11":56,"12":56,"13":56,"14":56,"15":56,"16":56,"17":56,"18":56,"19":56,"20":56,"21":56,"22":56},"f":{"0":62},"b":{"0":[6,56],"1":[56,53],"2":[56,44],"3":[56,54],"4":[56,40],"5":[56,47],"6":[56,45,22,13],"7":[44,12]}} | ||
,"/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":80,"2":80,"3":47,"4":33,"5":33,"6":34,"7":1,"8":33,"9":32,"10":32,"11":32,"12":28,"13":28,"14":5,"15":4,"16":33,"17":34,"18":1,"19":33,"20":1,"21":33},"f":{"0":80,"1":34,"2":34,"3":1},"b":{"0":[47,33],"1":[33,0],"2":[1,33],"3":[32,1],"4":[28,4],"5":[1,33],"6":[33,1]}} | ||
} |
@@ -21,3 +21,3 @@ 'use strict'; | ||
exports.default = [(0, _operators.set)((0, _operators.state)(_templateObject, (0, _operators.input)(_templateObject2)), (0, _operators.input)(_templateObject3)), (0, _validateField2.default)()]; | ||
exports.default = [(0, _operators.set)((0, _operators.state)(_templateObject, (0, _operators.input)(_templateObject2)), (0, _operators.input)(_templateObject3)), (0, _validateField2.default)((0, _operators.input)(_templateObject2))]; | ||
//# sourceMappingURL=changeField.js.map |
@@ -13,14 +13,12 @@ 'use strict'; | ||
function isValidFormFactory(formPath) { | ||
function isValidForm(_ref) { | ||
var state = _ref.state; | ||
var path = _ref.path; | ||
function isValidFormFactory(formPathTemplate) { | ||
function isValidForm(context) { | ||
var formPath = typeof formPathTemplate === 'function' ? formPathTemplate(context).value : formPathTemplate; | ||
var form = context.state.get(formPath); | ||
var form = state.get(formPath); | ||
if ((0, _isValidForm2.default)(form)) { | ||
return path.true(); | ||
return context.path.true(); | ||
} | ||
return path.false(); | ||
return context.path.false(); | ||
} | ||
@@ -27,0 +25,0 @@ |
@@ -40,9 +40,8 @@ 'use strict'; | ||
function resetFormFactory(formPath) { | ||
function resetForm(_ref) { | ||
var state = _ref.state; | ||
function resetFormFactory(formPathTemplate) { | ||
function resetForm(context) { | ||
var formPath = typeof formPathTemplate === 'function' ? formPathTemplate(context).value : formPathTemplate; | ||
var form = context.state.get(formPath); | ||
var form = state.get(formPath); | ||
state.set(formPath, resetObject(form)); | ||
context.state.set(formPath, resetObject(form)); | ||
} | ||
@@ -49,0 +48,0 @@ |
@@ -31,14 +31,12 @@ 'use strict'; | ||
function validateFieldFactory(path) { | ||
function validateField(_ref) { | ||
var input = _ref.input; | ||
var state = _ref.state; | ||
var fieldPath = (path || input.field).split('.'); | ||
function validateFieldFactory(pathTemplate) { | ||
function validateField(context) { | ||
var path = typeof pathTemplate === 'function' ? pathTemplate(context).value : pathTemplate; | ||
var fieldPath = path.split('.'); | ||
var formPath = fieldPath.slice().splice(0, fieldPath.length - 1); | ||
var field = state.get(fieldPath); | ||
var form = state.get(formPath); | ||
var field = context.state.get(fieldPath); | ||
var form = context.state.get(formPath); | ||
var validationResult = runValidation(fieldPath, field, form); | ||
state.merge(fieldPath, validationResult); | ||
context.state.merge(fieldPath, validationResult); | ||
@@ -55,4 +53,4 @@ var dependentFields = []; | ||
var dependentFormPath = dependentFieldPath.slice().splice(0, dependentFieldPath.length - 1); | ||
var field = state.get(dependentFieldPath); | ||
var form = state.get(dependentFormPath); | ||
var field = context.state.get(dependentFieldPath); | ||
var form = context.state.get(dependentFormPath); | ||
@@ -64,3 +62,3 @@ if (!form) { | ||
var dependentValidationResult = runValidation(dependentFieldPath, field, form); | ||
state.merge(dependentFieldPath, dependentValidationResult); | ||
context.state.merge(dependentFieldPath, dependentValidationResult); | ||
@@ -74,3 +72,3 @@ if (currentValidationResult.isValid && !dependentValidationResult.isValid) { | ||
state.merge(fieldPath, depententOfValidationResult); | ||
context.state.merge(fieldPath, depententOfValidationResult); | ||
} | ||
@@ -77,0 +75,0 @@ |
@@ -18,10 +18,8 @@ 'use strict'; | ||
function validateFormFactory(passedFormPath) { | ||
function validateForm(_ref) { | ||
var input = _ref.input; | ||
var state = _ref.state; | ||
function validateFormFactory(passedFormPathTemplate) { | ||
function validateForm(context) { | ||
var passedFormPath = typeof passedFormPathTemplate === 'function' ? passedFormPathTemplate(context).value : passedFormPathTemplate; | ||
var formPath = passedFormPath.split('.'); | ||
var currentPathValue = context.state.get(formPath); | ||
var formPath = (passedFormPath || input.form).split('.'); | ||
var currentPathValue = state.get(formPath); | ||
function validateForm(path, form) { | ||
@@ -51,3 +49,3 @@ Object.keys(form).forEach(function (key) { | ||
state.merge(path, { | ||
context.state.merge(path, { | ||
isValid: isValid, | ||
@@ -54,0 +52,0 @@ hasValue: hasValue, |
@@ -101,3 +101,3 @@ 'use strict'; | ||
function isValidForm(form) { | ||
if (typeof form === 'string') { | ||
if (typeof form === 'string' || typeof form === 'function') { | ||
return (0, _isValidForm4.default)(form); | ||
@@ -104,0 +104,0 @@ } |
{ | ||
"name": "cerebral-forms", | ||
"version": "1.0.0-0-alpha.3dc2ae79", | ||
"version": "1.0.0-0-alpha.4bb8329b", | ||
"description": "Signals, actions and state factories to create forms", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -161,2 +161,3 @@ # cerebral-forms | ||
```js | ||
import {input} from 'cerebral/operators' | ||
import {validateField} from 'cerebral-forms' | ||
@@ -166,3 +167,6 @@ | ||
doThis, | ||
// static | ||
validateField('path.to.form.field'), | ||
// dynamic | ||
validateField(input`fieldPath`), | ||
doThat | ||
@@ -176,6 +180,10 @@ ] | ||
```js | ||
import {input} from 'cerebral/operators' | ||
import {validateForm} from 'cerebral-forms' | ||
export default [ | ||
// static | ||
validateForm('path.to.form'), | ||
// dynamic | ||
validateForm(input`formPath`), | ||
isFormValid, { | ||
@@ -196,2 +204,3 @@ true: [ | ||
```js | ||
import {input} from 'cerebral/operators' | ||
import {resetForm} from 'cerebral-forms' | ||
@@ -201,3 +210,6 @@ | ||
doThis, | ||
// static | ||
resetForm('path.to.form'), | ||
// dynamic | ||
resetForm(input`formPath`), | ||
doThat | ||
@@ -293,6 +305,10 @@ ] | ||
```js | ||
import {input} from 'cerebral/operators' | ||
import {isValidForm} from 'cerebral-forms' | ||
export default [ | ||
isValidForm('path.to.form'), { | ||
// static | ||
isValidForm('path.to.form') | ||
// dynamic | ||
isValidForm(input`formPath`), { | ||
true: [], | ||
@@ -299,0 +315,0 @@ false: [] |
@@ -1,2 +0,2 @@ | ||
import {set, state, input} from 'cerebral/operators' | ||
import {input, set, state} from 'cerebral/operators' | ||
import validateField from '../factories/validateField' | ||
@@ -6,3 +6,3 @@ | ||
set(state`${input`field`}.value`, input`value`), | ||
validateField() | ||
validateField(input`field`) | ||
] |
import isValidFormHelper from '../helpers/isValidForm' | ||
function isValidFormFactory (formPath) { | ||
function isValidForm ({state, path}) { | ||
const form = state.get(formPath) | ||
function isValidFormFactory (formPathTemplate) { | ||
function isValidForm (context) { | ||
const formPath = typeof formPathTemplate === 'function' ? formPathTemplate(context).value : formPathTemplate | ||
const form = context.state.get(formPath) | ||
if (isValidFormHelper(form)) { | ||
return path.true() | ||
return context.path.true() | ||
} | ||
return path.false() | ||
return context.path.false() | ||
} | ||
@@ -13,0 +14,0 @@ |
@@ -29,7 +29,8 @@ import configureField from '../utils/configureField' | ||
export default function resetFormFactory (formPath) { | ||
function resetForm ({state}) { | ||
const form = state.get(formPath) | ||
export default function resetFormFactory (formPathTemplate) { | ||
function resetForm (context) { | ||
const formPath = typeof formPathTemplate === 'function' ? formPathTemplate(context).value : formPathTemplate | ||
const form = context.state.get(formPath) | ||
state.set(formPath, resetObject(form)) | ||
context.state.set(formPath, resetObject(form)) | ||
} | ||
@@ -36,0 +37,0 @@ |
/* eslint-env mocha */ | ||
import {Controller} from 'cerebral' | ||
import {input} from 'cerebral/operators' | ||
import {form, resetForm, changeField} from '..' | ||
@@ -7,6 +8,8 @@ import assert from 'assert' | ||
describe('resetForm', () => { | ||
it('should change the field to Other name', () => { | ||
it('should reset form', () => { | ||
const controller = Controller({ | ||
signals: { | ||
resetForm, | ||
reset: [ | ||
resetForm('form') | ||
], | ||
changeField | ||
@@ -23,25 +26,10 @@ }, | ||
controller.getSignal('changeField')({field: 'form.name', value: 'Other name'}) | ||
assert.deepEqual(controller.getState(), { | ||
form: { | ||
name: { | ||
value: 'Other name', | ||
defaultValue: 'Ben', | ||
validationRules: null, | ||
isValid: true, | ||
errorMessages: [], | ||
errorMessage: null, | ||
isValueRules: ['isValue'], | ||
isRequired: false, | ||
hasValue: true, | ||
isPristine: false | ||
} | ||
} | ||
}) | ||
controller.getSignal('reset')() | ||
assert.equal(controller.getState('form.name.value'), 'Ben') | ||
}) | ||
it('should change the field and the resetForm', () => { | ||
it('should reset form by input tag', () => { | ||
const controller = Controller({ | ||
signals: { | ||
reset: [ | ||
resetForm('form') | ||
resetForm(input`form`) | ||
], | ||
@@ -59,20 +47,7 @@ changeField | ||
controller.getSignal('changeField')({field: 'form.name', value: 'Other name'}) | ||
controller.getSignal('reset')() | ||
assert.deepEqual(controller.getState(), { | ||
form: { | ||
name: { | ||
value: 'Ben', | ||
defaultValue: 'Ben', | ||
validationRules: null, | ||
isValid: true, | ||
errorMessages: [], | ||
errorMessage: null, | ||
isValueRules: ['isValue'], | ||
isRequired: false, | ||
hasValue: true, | ||
isPristine: true | ||
} | ||
} | ||
controller.getSignal('reset')({ | ||
form: 'form' | ||
}) | ||
assert.equal(controller.getState('form.name.value'), 'Ben') | ||
}) | ||
}) |
@@ -20,11 +20,12 @@ import validate from '../utils/validate' | ||
export default function validateFieldFactory (path) { | ||
function validateField ({input, state}) { | ||
const fieldPath = (path || input.field).split('.') | ||
export default function validateFieldFactory (pathTemplate) { | ||
function validateField (context) { | ||
const path = typeof pathTemplate === 'function' ? pathTemplate(context).value : pathTemplate | ||
const fieldPath = path.split('.') | ||
const formPath = fieldPath.slice().splice(0, fieldPath.length - 1) | ||
const field = state.get(fieldPath) | ||
const form = state.get(formPath) | ||
const field = context.state.get(fieldPath) | ||
const form = context.state.get(formPath) | ||
const validationResult = runValidation(fieldPath, field, form) | ||
state.merge(fieldPath, validationResult) | ||
context.state.merge(fieldPath, validationResult) | ||
@@ -41,4 +42,4 @@ let dependentFields = [] | ||
const dependentFormPath = dependentFieldPath.slice().splice(0, dependentFieldPath.length - 1) | ||
const field = state.get(dependentFieldPath) | ||
const form = state.get(dependentFormPath) | ||
const field = context.state.get(dependentFieldPath) | ||
const form = context.state.get(dependentFormPath) | ||
@@ -50,3 +51,3 @@ if (!form) { | ||
const dependentValidationResult = runValidation(dependentFieldPath, field, form) | ||
state.merge(dependentFieldPath, dependentValidationResult) | ||
context.state.merge(dependentFieldPath, dependentValidationResult) | ||
@@ -60,3 +61,3 @@ if (currentValidationResult.isValid && !dependentValidationResult.isValid) { | ||
state.merge(fieldPath, depententOfValidationResult) | ||
context.state.merge(fieldPath, depententOfValidationResult) | ||
} | ||
@@ -63,0 +64,0 @@ |
import validate from '../utils/validate' | ||
import checkHasValue from '../utils/checkHasValue' | ||
export default function validateFormFactory (passedFormPath) { | ||
function validateForm ({input, state}) { | ||
const formPath = (passedFormPath || input.form).split('.') | ||
const currentPathValue = state.get(formPath) | ||
export default function validateFormFactory (passedFormPathTemplate) { | ||
function validateForm (context) { | ||
const passedFormPath = typeof passedFormPathTemplate === 'function' ? passedFormPathTemplate(context).value : passedFormPathTemplate | ||
const formPath = passedFormPath.split('.') | ||
const currentPathValue = context.state.get(formPath) | ||
@@ -36,3 +37,3 @@ function validateForm (path, form) { | ||
state.merge(path, { | ||
context.state.merge(path, { | ||
isValid: isValid, | ||
@@ -39,0 +40,0 @@ hasValue: hasValue, |
@@ -18,3 +18,3 @@ import isValidFormHelper from './helpers/isValidForm' | ||
export function isValidForm (form) { | ||
if (typeof form === 'string') { | ||
if (typeof form === 'string' || typeof form === 'function') { | ||
return isValidFormFactory(form) | ||
@@ -21,0 +21,0 @@ } |
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
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
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
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
350959
94
2761
351