diff --git a/docs/ast/source/components/RenderGroup.js.json b/docs/ast/source/components/RenderGroup.js.json
index a938fdd..5260fb1 100644
--- a/docs/ast/source/components/RenderGroup.js.json
+++ b/docs/ast/source/components/RenderGroup.js.json
@@ -1,28 +1,28 @@
{
"type": "File",
"start": 0,
- "end": 2464,
+ "end": 2498,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
- "line": 112,
+ "line": 113,
"column": 2
}
},
"program": {
"type": "Program",
"start": 0,
- "end": 2464,
+ "end": 2498,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
- "line": 112,
+ "line": 113,
"column": 2
}
},
@@ -4552,28 +4552,28 @@
{
"type": "ExpressionStatement",
"start": 2283,
- "end": 2464,
+ "end": 2498,
"loc": {
"start": {
"line": 106,
"column": 0
},
"end": {
- "line": 112,
+ "line": 113,
"column": 2
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2283,
- "end": 2463,
+ "end": 2497,
"loc": {
"start": {
"line": 106,
"column": 0
},
"end": {
- "line": 112,
+ "line": 113,
"column": 1
}
},
@@ -4633,14 +4633,14 @@
"right": {
"type": "ObjectExpression",
"start": 2308,
- "end": 2463,
+ "end": 2497,
"loc": {
"start": {
"line": 106,
"column": 25
},
"end": {
- "line": 112,
+ "line": 113,
"column": 1
}
},
@@ -4864,6 +4864,61 @@
},
"value": "field-config"
}
+ },
+ {
+ "type": "ObjectProperty",
+ "start": 2462,
+ "end": 2493,
+ "loc": {
+ "start": {
+ "line": 111,
+ "column": 1
+ },
+ "end": {
+ "line": 111,
+ "column": 32
+ }
+ },
+ "method": false,
+ "shorthand": false,
+ "computed": false,
+ "key": {
+ "type": "Identifier",
+ "start": 2462,
+ "end": 2468,
+ "loc": {
+ "start": {
+ "line": 111,
+ "column": 1
+ },
+ "end": {
+ "line": 111,
+ "column": 7
+ },
+ "identifierName": "button"
+ },
+ "name": "button"
+ },
+ "value": {
+ "type": "StringLiteral",
+ "start": 2470,
+ "end": 2493,
+ "loc": {
+ "start": {
+ "line": 111,
+ "column": 9
+ },
+ "end": {
+ "line": 111,
+ "column": 32
+ }
+ },
+ "extra": {
+ "rawValue": "caldera-config-button",
+ "raw": "'caldera-config-button'"
+ },
+ "value": "caldera-config-button"
+ }
}
]
},
@@ -14397,6 +14452,111 @@
}
}
},
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "button",
+ "start": 2462,
+ "end": 2468,
+ "loc": {
+ "start": {
+ "line": 111,
+ "column": 1
+ },
+ "end": {
+ "line": 111,
+ "column": 7
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ":",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 2468,
+ "end": 2469,
+ "loc": {
+ "start": {
+ "line": 111,
+ "column": 7
+ },
+ "end": {
+ "line": 111,
+ "column": 8
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "string",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "caldera-config-button",
+ "start": 2470,
+ "end": 2493,
+ "loc": {
+ "start": {
+ "line": 111,
+ "column": 9
+ },
+ "end": {
+ "line": 111,
+ "column": 32
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ",",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 2493,
+ "end": 2494,
+ "loc": {
+ "start": {
+ "line": 111,
+ "column": 32
+ },
+ "end": {
+ "line": 111,
+ "column": 33
+ }
+ }
+ },
{
"type": {
"label": "}",
@@ -14409,15 +14569,15 @@
"postfix": false,
"binop": null
},
- "start": 2462,
- "end": 2463,
+ "start": 2496,
+ "end": 2497,
"loc": {
"start": {
- "line": 112,
+ "line": 113,
"column": 0
},
"end": {
- "line": 112,
+ "line": 113,
"column": 1
}
}
@@ -14435,15 +14595,15 @@
"binop": null,
"updateContext": null
},
- "start": 2463,
- "end": 2464,
+ "start": 2497,
+ "end": 2498,
"loc": {
"start": {
- "line": 112,
+ "line": 113,
"column": 1
},
"end": {
- "line": 112,
+ "line": 113,
"column": 2
}
}
@@ -14461,15 +14621,15 @@
"binop": null,
"updateContext": null
},
- "start": 2464,
- "end": 2464,
+ "start": 2498,
+ "end": 2498,
"loc": {
"start": {
- "line": 112,
+ "line": 113,
"column": 2
},
"end": {
- "line": 112,
+ "line": 113,
"column": 2
}
}
diff --git a/docs/ast/source/components/fields/FieldGroup.js.json b/docs/ast/source/components/fields/FieldGroup.js.json
index 9524f76..9b9b46a 100644
--- a/docs/ast/source/components/fields/FieldGroup.js.json
+++ b/docs/ast/source/components/fields/FieldGroup.js.json
@@ -1,28 +1,28 @@
{
"type": "File",
"start": 0,
- "end": 4655,
+ "end": 4691,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
- "line": 200,
+ "line": 201,
"column": 2
}
},
"program": {
"type": "Program",
"start": 0,
- "end": 4655,
+ "end": 4691,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
- "line": 200,
+ "line": 201,
"column": 2
}
},
@@ -875,14 +875,14 @@
{
"type": "ExportNamedDeclaration",
"start": 638,
- "end": 3939,
+ "end": 3975,
"loc": {
"start": {
"line": 22,
"column": 0
},
"end": {
- "line": 165,
+ "line": 166,
"column": 2
}
},
@@ -891,14 +891,14 @@
"declaration": {
"type": "VariableDeclaration",
"start": 645,
- "end": 3939,
+ "end": 3975,
"loc": {
"start": {
"line": 22,
"column": 7
},
"end": {
- "line": 165,
+ "line": 166,
"column": 2
}
},
@@ -906,14 +906,14 @@
{
"type": "VariableDeclarator",
"start": 651,
- "end": 3938,
+ "end": 3974,
"loc": {
"start": {
"line": 22,
"column": 13
},
"end": {
- "line": 165,
+ "line": 166,
"column": 1
}
},
@@ -938,14 +938,14 @@
"init": {
"type": "ArrowFunctionExpression",
"start": 664,
- "end": 3938,
+ "end": 3974,
"loc": {
"start": {
"line": 22,
"column": 26
},
"end": {
- "line": 165,
+ "line": 166,
"column": 1
}
},
@@ -992,14 +992,14 @@
"body": {
"type": "BlockStatement",
"start": 675,
- "end": 3938,
+ "end": 3974,
"loc": {
"start": {
"line": 22,
"column": 37
},
"end": {
- "line": 165,
+ "line": 166,
"column": 1
}
},
@@ -1485,14 +1485,14 @@
{
"type": "FunctionDeclaration",
"start": 973,
- "end": 3875,
+ "end": 3911,
"loc": {
"start": {
"line": 41,
"column": 1
},
"end": {
- "line": 159,
+ "line": 160,
"column": 2
}
},
@@ -1539,14 +1539,14 @@
"body": {
"type": "BlockStatement",
"start": 1005,
- "end": 3875,
+ "end": 3911,
"loc": {
"start": {
"line": 41,
"column": 33
},
"end": {
- "line": 159,
+ "line": 160,
"column": 2
}
},
@@ -2710,14 +2710,14 @@
{
"type": "IfStatement",
"start": 1715,
- "end": 3871,
+ "end": 3907,
"loc": {
"start": {
"line": 69,
"column": 2
},
"end": {
- "line": 157,
+ "line": 158,
"column": 3
}
},
@@ -5085,14 +5085,14 @@
"alternate": {
"type": "IfStatement",
"start": 2620,
- "end": 3871,
+ "end": 3907,
"loc": {
"start": {
"line": 104,
"column": 9
},
"end": {
- "line": 157,
+ "line": 158,
"column": 3
}
},
@@ -6021,14 +6021,14 @@
"alternate": {
"type": "BlockStatement",
"start": 3017,
- "end": 3871,
+ "end": 3907,
"loc": {
"start": {
"line": 120,
"column": 9
},
"end": {
- "line": 157,
+ "line": 158,
"column": 3
}
},
@@ -6036,28 +6036,28 @@
{
"type": "ReturnStatement",
"start": 3022,
- "end": 3867,
+ "end": 3903,
"loc": {
"start": {
"line": 121,
"column": 3
},
"end": {
- "line": 156,
+ "line": 157,
"column": 5
}
},
"argument": {
"type": "JSXElement",
"start": 3035,
- "end": 3861,
+ "end": 3897,
"loc": {
"start": {
"line": 122,
"column": 4
},
"end": {
- "line": 155,
+ "line": 156,
"column": 10
}
},
@@ -6226,29 +6226,29 @@
},
"closingElement": {
"type": "JSXClosingElement",
- "start": 3855,
- "end": 3861,
+ "start": 3891,
+ "end": 3897,
"loc": {
"start": {
- "line": 155,
+ "line": 156,
"column": 4
},
"end": {
- "line": 155,
+ "line": 156,
"column": 10
}
},
"name": {
"type": "JSXIdentifier",
- "start": 3857,
- "end": 3860,
+ "start": 3893,
+ "end": 3896,
"loc": {
"start": {
- "line": 155,
+ "line": 156,
"column": 6
},
"end": {
- "line": 155,
+ "line": 156,
"column": 9
}
},
@@ -6698,28 +6698,28 @@
{
"type": "JSXExpressionContainer",
"start": 3221,
- "end": 3692,
+ "end": 3728,
"loc": {
"start": {
"line": 130,
"column": 5
},
"end": {
- "line": 146,
+ "line": 147,
"column": 7
}
},
"expression": {
"type": "CallExpression",
"start": 3222,
- "end": 3691,
+ "end": 3727,
"loc": {
"start": {
"line": 130,
"column": 6
},
"end": {
- "line": 146,
+ "line": 147,
"column": 6
}
},
@@ -6744,14 +6744,14 @@
{
"type": "ObjectExpression",
"start": 3240,
- "end": 3684,
+ "end": 3720,
"loc": {
"start": {
"line": 131,
"column": 6
},
"end": {
- "line": 145,
+ "line": 146,
"column": 7
}
},
@@ -7358,7 +7358,7 @@
{
"type": "ObjectProperty",
"start": 3516,
- "end": 3547,
+ "end": 3543,
"loc": {
"start": {
"line": 140,
@@ -7366,7 +7366,7 @@
},
"end": {
"line": 140,
- "column": 38
+ "column": 34
}
},
"method": false,
@@ -7375,7 +7375,7 @@
"key": {
"type": "Identifier",
"start": 3516,
- "end": 3525,
+ "end": 3523,
"loc": {
"start": {
"line": 140,
@@ -7383,38 +7383,38 @@
},
"end": {
"line": 140,
- "column": 16
+ "column": 14
},
- "identifierName": "inputType"
+ "identifierName": "onClick"
},
- "name": "inputType"
+ "name": "onClick"
},
"value": {
"type": "MemberExpression",
- "start": 3527,
- "end": 3547,
+ "start": 3525,
+ "end": 3543,
"loc": {
"start": {
"line": 140,
- "column": 18
+ "column": 16
},
"end": {
"line": 140,
- "column": 38
+ "column": 34
}
},
"object": {
"type": "Identifier",
- "start": 3527,
- "end": 3537,
+ "start": 3525,
+ "end": 3535,
"loc": {
"start": {
"line": 140,
- "column": 18
+ "column": 16
},
"end": {
"line": 140,
- "column": 28
+ "column": 26
},
"identifierName": "fieldProps"
},
@@ -7422,27 +7422,27 @@
},
"property": {
"type": "Identifier",
- "start": 3538,
- "end": 3547,
+ "start": 3536,
+ "end": 3543,
"loc": {
"start": {
"line": 140,
- "column": 29
+ "column": 27
},
"end": {
"line": 140,
- "column": 38
+ "column": 34
},
- "identifierName": "inputType"
+ "identifierName": "onClick"
},
- "name": "inputType"
+ "name": "onClick"
},
"computed": false
}
},
{
"type": "ObjectProperty",
- "start": 3556,
+ "start": 3552,
"end": 3583,
"loc": {
"start": {
@@ -7451,7 +7451,7 @@
},
"end": {
"line": 141,
- "column": 34
+ "column": 38
}
},
"method": false,
@@ -7459,8 +7459,8 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 3556,
- "end": 3563,
+ "start": 3552,
+ "end": 3561,
"loc": {
"start": {
"line": 141,
@@ -7468,38 +7468,38 @@
},
"end": {
"line": 141,
- "column": 14
+ "column": 16
},
- "identifierName": "options"
+ "identifierName": "inputType"
},
- "name": "options"
+ "name": "inputType"
},
"value": {
"type": "MemberExpression",
- "start": 3565,
+ "start": 3563,
"end": 3583,
"loc": {
"start": {
"line": 141,
- "column": 16
+ "column": 18
},
"end": {
"line": 141,
- "column": 34
+ "column": 38
}
},
"object": {
"type": "Identifier",
- "start": 3565,
- "end": 3575,
+ "start": 3563,
+ "end": 3573,
"loc": {
"start": {
"line": 141,
- "column": 16
+ "column": 18
},
"end": {
"line": 141,
- "column": 26
+ "column": 28
},
"identifierName": "fieldProps"
},
@@ -7507,20 +7507,20 @@
},
"property": {
"type": "Identifier",
- "start": 3576,
+ "start": 3574,
"end": 3583,
"loc": {
"start": {
"line": 141,
- "column": 27
+ "column": 29
},
"end": {
"line": 141,
- "column": 34
+ "column": 38
},
- "identifierName": "options"
+ "identifierName": "inputType"
},
- "name": "options"
+ "name": "inputType"
},
"computed": false
}
@@ -7528,7 +7528,7 @@
{
"type": "ObjectProperty",
"start": 3592,
- "end": 3616,
+ "end": 3619,
"loc": {
"start": {
"line": 142,
@@ -7536,7 +7536,7 @@
},
"end": {
"line": 142,
- "column": 31
+ "column": 34
}
},
"method": false,
@@ -7545,7 +7545,7 @@
"key": {
"type": "Identifier",
"start": 3592,
- "end": 3600,
+ "end": 3599,
"loc": {
"start": {
"line": 142,
@@ -7553,6 +7553,91 @@
},
"end": {
"line": 142,
+ "column": 14
+ },
+ "identifierName": "options"
+ },
+ "name": "options"
+ },
+ "value": {
+ "type": "MemberExpression",
+ "start": 3601,
+ "end": 3619,
+ "loc": {
+ "start": {
+ "line": 142,
+ "column": 16
+ },
+ "end": {
+ "line": 142,
+ "column": 34
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 3601,
+ "end": 3611,
+ "loc": {
+ "start": {
+ "line": 142,
+ "column": 16
+ },
+ "end": {
+ "line": 142,
+ "column": 26
+ },
+ "identifierName": "fieldProps"
+ },
+ "name": "fieldProps"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 3612,
+ "end": 3619,
+ "loc": {
+ "start": {
+ "line": 142,
+ "column": 27
+ },
+ "end": {
+ "line": 142,
+ "column": 34
+ },
+ "identifierName": "options"
+ },
+ "name": "options"
+ },
+ "computed": false
+ }
+ },
+ {
+ "type": "ObjectProperty",
+ "start": 3628,
+ "end": 3652,
+ "loc": {
+ "start": {
+ "line": 143,
+ "column": 7
+ },
+ "end": {
+ "line": 143,
+ "column": 31
+ }
+ },
+ "method": false,
+ "shorthand": false,
+ "computed": false,
+ "key": {
+ "type": "Identifier",
+ "start": 3628,
+ "end": 3636,
+ "loc": {
+ "start": {
+ "line": 143,
+ "column": 7
+ },
+ "end": {
+ "line": 143,
"column": 15
},
"identifierName": "disabled"
@@ -7561,29 +7646,29 @@
},
"value": {
"type": "MemberExpression",
- "start": 3602,
- "end": 3616,
+ "start": 3638,
+ "end": 3652,
"loc": {
"start": {
- "line": 142,
+ "line": 143,
"column": 17
},
"end": {
- "line": 142,
+ "line": 143,
"column": 31
}
},
"object": {
"type": "Identifier",
- "start": 3602,
- "end": 3607,
+ "start": 3638,
+ "end": 3643,
"loc": {
"start": {
- "line": 142,
+ "line": 143,
"column": 17
},
"end": {
- "line": 142,
+ "line": 143,
"column": 22
},
"identifierName": "props"
@@ -7592,15 +7677,15 @@
},
"property": {
"type": "Identifier",
- "start": 3608,
- "end": 3616,
+ "start": 3644,
+ "end": 3652,
"loc": {
"start": {
- "line": 142,
+ "line": 143,
"column": 23
},
"end": {
- "line": 142,
+ "line": 143,
"column": 31
},
"identifierName": "disabled"
@@ -7612,15 +7697,15 @@
},
{
"type": "ObjectProperty",
- "start": 3625,
- "end": 3645,
+ "start": 3661,
+ "end": 3681,
"loc": {
"start": {
- "line": 143,
+ "line": 144,
"column": 7
},
"end": {
- "line": 143,
+ "line": 144,
"column": 27
}
},
@@ -7629,15 +7714,15 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 3625,
- "end": 3631,
+ "start": 3661,
+ "end": 3667,
"loc": {
"start": {
- "line": 143,
+ "line": 144,
"column": 7
},
"end": {
- "line": 143,
+ "line": 144,
"column": 13
},
"identifierName": "onBlur"
@@ -7646,29 +7731,29 @@
},
"value": {
"type": "MemberExpression",
- "start": 3633,
- "end": 3645,
+ "start": 3669,
+ "end": 3681,
"loc": {
"start": {
- "line": 143,
+ "line": 144,
"column": 15
},
"end": {
- "line": 143,
+ "line": 144,
"column": 27
}
},
"object": {
"type": "Identifier",
- "start": 3633,
- "end": 3638,
+ "start": 3669,
+ "end": 3674,
"loc": {
"start": {
- "line": 143,
+ "line": 144,
"column": 15
},
"end": {
- "line": 143,
+ "line": 144,
"column": 20
},
"identifierName": "props"
@@ -7677,15 +7762,15 @@
},
"property": {
"type": "Identifier",
- "start": 3639,
- "end": 3645,
+ "start": 3675,
+ "end": 3681,
"loc": {
"start": {
- "line": 143,
+ "line": 144,
"column": 21
},
"end": {
- "line": 143,
+ "line": 144,
"column": 27
},
"identifierName": "onBlur"
@@ -7697,15 +7782,15 @@
},
{
"type": "ObjectProperty",
- "start": 3654,
- "end": 3676,
+ "start": 3690,
+ "end": 3712,
"loc": {
"start": {
- "line": 144,
+ "line": 145,
"column": 7
},
"end": {
- "line": 144,
+ "line": 145,
"column": 29
}
},
@@ -7714,15 +7799,15 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 3654,
- "end": 3661,
+ "start": 3690,
+ "end": 3697,
"loc": {
"start": {
- "line": 144,
+ "line": 145,
"column": 7
},
"end": {
- "line": 144,
+ "line": 145,
"column": 14
},
"identifierName": "onFocus"
@@ -7731,29 +7816,29 @@
},
"value": {
"type": "MemberExpression",
- "start": 3663,
- "end": 3676,
+ "start": 3699,
+ "end": 3712,
"loc": {
"start": {
- "line": 144,
+ "line": 145,
"column": 16
},
"end": {
- "line": 144,
+ "line": 145,
"column": 29
}
},
"object": {
"type": "Identifier",
- "start": 3663,
- "end": 3668,
+ "start": 3699,
+ "end": 3704,
"loc": {
"start": {
- "line": 144,
+ "line": 145,
"column": 16
},
"end": {
- "line": 144,
+ "line": 145,
"column": 21
},
"identifierName": "props"
@@ -7762,15 +7847,15 @@
},
"property": {
"type": "Identifier",
- "start": 3669,
- "end": 3676,
+ "start": 3705,
+ "end": 3712,
"loc": {
"start": {
- "line": 144,
+ "line": 145,
"column": 22
},
"end": {
- "line": 144,
+ "line": 145,
"column": 29
},
"identifierName": "onFocus"
@@ -7787,15 +7872,15 @@
},
{
"type": "JSXText",
- "start": 3692,
- "end": 3698,
+ "start": 3728,
+ "end": 3734,
"loc": {
"start": {
- "line": 146,
+ "line": 147,
"column": 7
},
"end": {
- "line": 147,
+ "line": 148,
"column": 5
}
},
@@ -7804,57 +7889,57 @@
},
{
"type": "JSXExpressionContainer",
- "start": 3698,
- "end": 3850,
+ "start": 3734,
+ "end": 3886,
"loc": {
"start": {
- "line": 147,
+ "line": 148,
"column": 5
},
"end": {
- "line": 154,
+ "line": 155,
"column": 6
}
},
"expression": {
"type": "LogicalExpression",
- "start": 3699,
- "end": 3843,
+ "start": 3735,
+ "end": 3879,
"loc": {
"start": {
- "line": 147,
+ "line": 148,
"column": 6
},
"end": {
- "line": 153,
+ "line": 154,
"column": 10
}
},
"left": {
"type": "MemberExpression",
- "start": 3699,
- "end": 3714,
+ "start": 3735,
+ "end": 3750,
"loc": {
"start": {
- "line": 147,
+ "line": 148,
"column": 6
},
"end": {
- "line": 147,
+ "line": 148,
"column": 21
}
},
"object": {
"type": "Identifier",
- "start": 3699,
- "end": 3709,
+ "start": 3735,
+ "end": 3745,
"loc": {
"start": {
- "line": 147,
+ "line": 148,
"column": 6
},
"end": {
- "line": 147,
+ "line": 148,
"column": 16
},
"identifierName": "fieldProps"
@@ -7863,15 +7948,15 @@
},
"property": {
"type": "Identifier",
- "start": 3710,
- "end": 3714,
+ "start": 3746,
+ "end": 3750,
"loc": {
"start": {
- "line": 147,
+ "line": 148,
"column": 17
},
"end": {
- "line": 147,
+ "line": 148,
"column": 21
},
"identifierName": "help"
@@ -7883,58 +7968,58 @@
"operator": "&&",
"right": {
"type": "JSXElement",
- "start": 3724,
- "end": 3843,
+ "start": 3760,
+ "end": 3879,
"loc": {
"start": {
- "line": 148,
+ "line": 149,
"column": 6
},
"end": {
- "line": 153,
+ "line": 154,
"column": 10
}
},
"openingElement": {
"type": "JSXOpeningElement",
- "start": 3724,
- "end": 3807,
+ "start": 3760,
+ "end": 3843,
"loc": {
"start": {
- "line": 148,
+ "line": 149,
"column": 6
},
"end": {
- "line": 151,
+ "line": 152,
"column": 7
}
},
"attributes": [
{
"type": "JSXAttribute",
- "start": 3734,
- "end": 3766,
+ "start": 3770,
+ "end": 3802,
"loc": {
"start": {
- "line": 149,
+ "line": 150,
"column": 7
},
"end": {
- "line": 149,
+ "line": 150,
"column": 39
}
},
"name": {
"type": "JSXIdentifier",
- "start": 3734,
- "end": 3736,
+ "start": 3770,
+ "end": 3772,
"loc": {
"start": {
- "line": 149,
+ "line": 150,
"column": 7
},
"end": {
- "line": 149,
+ "line": 150,
"column": 9
}
},
@@ -7942,58 +8027,58 @@
},
"value": {
"type": "JSXExpressionContainer",
- "start": 3737,
- "end": 3766,
+ "start": 3773,
+ "end": 3802,
"loc": {
"start": {
- "line": 149,
+ "line": 150,
"column": 10
},
"end": {
- "line": 149,
+ "line": 150,
"column": 39
}
},
"expression": {
"type": "TemplateLiteral",
- "start": 3738,
- "end": 3765,
+ "start": 3774,
+ "end": 3801,
"loc": {
"start": {
- "line": 149,
+ "line": 150,
"column": 11
},
"end": {
- "line": 149,
+ "line": 150,
"column": 38
}
},
"expressions": [
{
"type": "CallExpression",
- "start": 3741,
- "end": 3763,
+ "start": 3777,
+ "end": 3799,
"loc": {
"start": {
- "line": 149,
+ "line": 150,
"column": 14
},
"end": {
- "line": 149,
+ "line": 150,
"column": 36
}
},
"callee": {
"type": "Identifier",
- "start": 3741,
- "end": 3761,
+ "start": 3777,
+ "end": 3797,
"loc": {
"start": {
- "line": 149,
+ "line": 150,
"column": 14
},
"end": {
- "line": 149,
+ "line": 150,
"column": 34
},
"identifierName": "idAttrForHelpElement"
@@ -8006,15 +8091,15 @@
"quasis": [
{
"type": "TemplateElement",
- "start": 3739,
- "end": 3739,
+ "start": 3775,
+ "end": 3775,
"loc": {
"start": {
- "line": 149,
+ "line": 150,
"column": 12
},
"end": {
- "line": 149,
+ "line": 150,
"column": 12
}
},
@@ -8026,15 +8111,15 @@
},
{
"type": "TemplateElement",
- "start": 3764,
- "end": 3764,
+ "start": 3800,
+ "end": 3800,
"loc": {
"start": {
- "line": 149,
+ "line": 150,
"column": 37
},
"end": {
- "line": 149,
+ "line": 150,
"column": 37
}
},
@@ -8050,29 +8135,29 @@
},
{
"type": "JSXAttribute",
- "start": 3774,
- "end": 3799,
+ "start": 3810,
+ "end": 3835,
"loc": {
"start": {
- "line": 150,
+ "line": 151,
"column": 7
},
"end": {
- "line": 150,
+ "line": 151,
"column": 32
}
},
"name": {
"type": "JSXIdentifier",
- "start": 3774,
- "end": 3783,
+ "start": 3810,
+ "end": 3819,
"loc": {
"start": {
- "line": 150,
+ "line": 151,
"column": 7
},
"end": {
- "line": 150,
+ "line": 151,
"column": 16
}
},
@@ -8080,29 +8165,29 @@
},
"value": {
"type": "JSXExpressionContainer",
- "start": 3784,
- "end": 3799,
+ "start": 3820,
+ "end": 3835,
"loc": {
"start": {
- "line": 150,
+ "line": 151,
"column": 17
},
"end": {
- "line": 150,
+ "line": 151,
"column": 32
}
},
"expression": {
"type": "StringLiteral",
- "start": 3785,
- "end": 3798,
+ "start": 3821,
+ "end": 3834,
"loc": {
"start": {
- "line": 150,
+ "line": 151,
"column": 18
},
"end": {
- "line": 150,
+ "line": 151,
"column": 31
}
},
@@ -8117,15 +8202,15 @@
],
"name": {
"type": "JSXIdentifier",
- "start": 3725,
- "end": 3726,
+ "start": 3761,
+ "end": 3762,
"loc": {
"start": {
- "line": 148,
+ "line": 149,
"column": 7
},
"end": {
- "line": 148,
+ "line": 149,
"column": 8
}
},
@@ -8135,29 +8220,29 @@
},
"closingElement": {
"type": "JSXClosingElement",
- "start": 3839,
- "end": 3843,
+ "start": 3875,
+ "end": 3879,
"loc": {
"start": {
- "line": 153,
+ "line": 154,
"column": 6
},
"end": {
- "line": 153,
+ "line": 154,
"column": 10
}
},
"name": {
"type": "JSXIdentifier",
- "start": 3841,
- "end": 3842,
+ "start": 3877,
+ "end": 3878,
"loc": {
"start": {
- "line": 153,
+ "line": 154,
"column": 8
},
"end": {
- "line": 153,
+ "line": 154,
"column": 9
}
},
@@ -8167,15 +8252,15 @@
"children": [
{
"type": "JSXText",
- "start": 3807,
- "end": 3815,
+ "start": 3843,
+ "end": 3851,
"loc": {
"start": {
- "line": 151,
+ "line": 152,
"column": 7
},
"end": {
- "line": 152,
+ "line": 153,
"column": 7
}
},
@@ -8184,43 +8269,43 @@
},
{
"type": "JSXExpressionContainer",
- "start": 3815,
- "end": 3832,
+ "start": 3851,
+ "end": 3868,
"loc": {
"start": {
- "line": 152,
+ "line": 153,
"column": 7
},
"end": {
- "line": 152,
+ "line": 153,
"column": 24
}
},
"expression": {
"type": "MemberExpression",
- "start": 3816,
- "end": 3831,
+ "start": 3852,
+ "end": 3867,
"loc": {
"start": {
- "line": 152,
+ "line": 153,
"column": 8
},
"end": {
- "line": 152,
+ "line": 153,
"column": 23
}
},
"object": {
"type": "Identifier",
- "start": 3816,
- "end": 3826,
+ "start": 3852,
+ "end": 3862,
"loc": {
"start": {
- "line": 152,
+ "line": 153,
"column": 8
},
"end": {
- "line": 152,
+ "line": 153,
"column": 18
},
"identifierName": "fieldProps"
@@ -8229,15 +8314,15 @@
},
"property": {
"type": "Identifier",
- "start": 3827,
- "end": 3831,
+ "start": 3863,
+ "end": 3867,
"loc": {
"start": {
- "line": 152,
+ "line": 153,
"column": 19
},
"end": {
- "line": 152,
+ "line": 153,
"column": 23
},
"identifierName": "help"
@@ -8249,15 +8334,15 @@
},
{
"type": "JSXText",
- "start": 3832,
- "end": 3839,
+ "start": 3868,
+ "end": 3875,
"loc": {
"start": {
- "line": 152,
+ "line": 153,
"column": 24
},
"end": {
- "line": 153,
+ "line": 154,
"column": 6
}
},
@@ -8270,15 +8355,15 @@
},
{
"type": "JSXText",
- "start": 3850,
- "end": 3855,
+ "start": 3886,
+ "end": 3891,
"loc": {
"start": {
- "line": 154,
+ "line": 155,
"column": 6
},
"end": {
- "line": 155,
+ "line": 156,
"column": 4
}
},
@@ -8341,15 +8426,15 @@
{
"type": "CommentBlock",
"value": "*\n\t * Render field group\n\t ",
- "start": 3878,
- "end": 3909,
+ "start": 3914,
+ "end": 3945,
"loc": {
"start": {
- "line": 161,
+ "line": 162,
"column": 1
},
"end": {
- "line": 163,
+ "line": 164,
"column": 4
}
}
@@ -8358,43 +8443,43 @@
},
{
"type": "ReturnStatement",
- "start": 3911,
- "end": 3936,
+ "start": 3947,
+ "end": 3972,
"loc": {
"start": {
- "line": 164,
+ "line": 165,
"column": 1
},
"end": {
- "line": 164,
+ "line": 165,
"column": 26
}
},
"argument": {
"type": "CallExpression",
- "start": 3918,
- "end": 3935,
+ "start": 3954,
+ "end": 3971,
"loc": {
"start": {
- "line": 164,
+ "line": 165,
"column": 8
},
"end": {
- "line": 164,
+ "line": 165,
"column": 25
}
},
"callee": {
"type": "Identifier",
- "start": 3918,
- "end": 3928,
+ "start": 3954,
+ "end": 3964,
"loc": {
"start": {
- "line": 164,
+ "line": 165,
"column": 8
},
"end": {
- "line": 164,
+ "line": 165,
"column": 18
},
"identifierName": "fieldInner"
@@ -8405,15 +8490,15 @@
"arguments": [
{
"type": "Identifier",
- "start": 3929,
- "end": 3934,
+ "start": 3965,
+ "end": 3970,
"loc": {
"start": {
- "line": 164,
+ "line": 165,
"column": 19
},
"end": {
- "line": 164,
+ "line": 165,
"column": 24
},
"identifierName": "props"
@@ -8427,15 +8512,15 @@
{
"type": "CommentBlock",
"value": "*\n\t * Render field group\n\t ",
- "start": 3878,
- "end": 3909,
+ "start": 3914,
+ "end": 3945,
"loc": {
"start": {
- "line": 161,
+ "line": 162,
"column": 1
},
"end": {
- "line": 163,
+ "line": 164,
"column": 4
}
}
@@ -8472,15 +8557,15 @@
{
"type": "CommentBlock",
"value": "*\n * The prop type definitions for FieldGroup components\n *\n * @type {{id: (boolean|shim|*), isBlockInput: shim, isRequired: shim, help: shim, label: (boolean|shim|*), type: shim, value: shim, onValueChange: (boolean|shim|*), inputType: shim}}\n ",
- "start": 3941,
- "end": 4190,
+ "start": 3977,
+ "end": 4226,
"loc": {
"start": {
- "line": 167,
+ "line": 168,
"column": 0
},
"end": {
- "line": 171,
+ "line": 172,
"column": 3
}
}
@@ -8509,15 +8594,15 @@
{
"type": "CommentBlock",
"value": "*\n * The prop type definitions for FieldGroup components\n *\n * @type {{id: (boolean|shim|*), isBlockInput: shim, isRequired: shim, help: shim, label: (boolean|shim|*), type: shim, value: shim, onValueChange: (boolean|shim|*), inputType: shim}}\n ",
- "start": 3941,
- "end": 4190,
+ "start": 3977,
+ "end": 4226,
"loc": {
"start": {
- "line": 167,
+ "line": 168,
"column": 0
},
"end": {
- "line": 171,
+ "line": 172,
"column": 3
}
}
@@ -8526,58 +8611,58 @@
},
{
"type": "ExpressionStatement",
- "start": 4191,
- "end": 4234,
+ "start": 4227,
+ "end": 4270,
"loc": {
"start": {
- "line": 172,
+ "line": 173,
"column": 0
},
"end": {
- "line": 172,
+ "line": 173,
"column": 43
}
},
"expression": {
"type": "AssignmentExpression",
- "start": 4191,
- "end": 4233,
+ "start": 4227,
+ "end": 4269,
"loc": {
"start": {
- "line": 172,
+ "line": 173,
"column": 0
},
"end": {
- "line": 172,
+ "line": 173,
"column": 42
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
- "start": 4191,
- "end": 4211,
+ "start": 4227,
+ "end": 4247,
"loc": {
"start": {
- "line": 172,
+ "line": 173,
"column": 0
},
"end": {
- "line": 172,
+ "line": 173,
"column": 20
}
},
"object": {
"type": "Identifier",
- "start": 4191,
- "end": 4201,
+ "start": 4227,
+ "end": 4237,
"loc": {
"start": {
- "line": 172,
+ "line": 173,
"column": 0
},
"end": {
- "line": 172,
+ "line": 173,
"column": 10
},
"identifierName": "FieldGroup"
@@ -8587,15 +8672,15 @@
},
"property": {
"type": "Identifier",
- "start": 4202,
- "end": 4211,
+ "start": 4238,
+ "end": 4247,
"loc": {
"start": {
- "line": 172,
+ "line": 173,
"column": 11
},
"end": {
- "line": 172,
+ "line": 173,
"column": 20
},
"identifierName": "propTypes"
@@ -8607,15 +8692,15 @@
},
"right": {
"type": "Identifier",
- "start": 4214,
- "end": 4233,
+ "start": 4250,
+ "end": 4269,
"loc": {
"start": {
- "line": 172,
+ "line": 173,
"column": 23
},
"end": {
- "line": 172,
+ "line": 173,
"column": 42
},
"identifierName": "fieldGroupPropTypes"
@@ -8628,15 +8713,15 @@
{
"type": "CommentBlock",
"value": "*\n * The prop type definitions for FieldGroup components\n *\n * @type {{id: (boolean|shim|*), isBlockInput: shim, isRequired: shim, help: shim, label: (boolean|shim|*), type: shim, value: shim, onValueChange: (boolean|shim|*), inputType: shim}}\n ",
- "start": 3941,
- "end": 4190,
+ "start": 3977,
+ "end": 4226,
"loc": {
"start": {
- "line": 167,
+ "line": 168,
"column": 0
},
"end": {
- "line": 171,
+ "line": 172,
"column": 3
}
}
@@ -8646,15 +8731,15 @@
{
"type": "CommentBlock",
"value": "*\n * Default props for FieldGroups\n *\n * @type {{isBlockInput: boolean, isRequired: boolean, help: string}}\n ",
- "start": 4236,
- "end": 4349,
+ "start": 4272,
+ "end": 4385,
"loc": {
"start": {
- "line": 174,
+ "line": 175,
"column": 0
},
"end": {
- "line": 178,
+ "line": 179,
"column": 3
}
}
@@ -8663,58 +8748,58 @@
},
{
"type": "ExpressionStatement",
- "start": 4350,
- "end": 4431,
+ "start": 4386,
+ "end": 4467,
"loc": {
"start": {
- "line": 179,
+ "line": 180,
"column": 0
},
"end": {
- "line": 183,
+ "line": 184,
"column": 2
}
},
"expression": {
"type": "AssignmentExpression",
- "start": 4350,
- "end": 4430,
+ "start": 4386,
+ "end": 4466,
"loc": {
"start": {
- "line": 179,
+ "line": 180,
"column": 0
},
"end": {
- "line": 183,
+ "line": 184,
"column": 1
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
- "start": 4350,
- "end": 4373,
+ "start": 4386,
+ "end": 4409,
"loc": {
"start": {
- "line": 179,
+ "line": 180,
"column": 0
},
"end": {
- "line": 179,
+ "line": 180,
"column": 23
}
},
"object": {
"type": "Identifier",
- "start": 4350,
- "end": 4360,
+ "start": 4386,
+ "end": 4396,
"loc": {
"start": {
- "line": 179,
+ "line": 180,
"column": 0
},
"end": {
- "line": 179,
+ "line": 180,
"column": 10
},
"identifierName": "FieldGroup"
@@ -8724,15 +8809,15 @@
},
"property": {
"type": "Identifier",
- "start": 4361,
- "end": 4373,
+ "start": 4397,
+ "end": 4409,
"loc": {
"start": {
- "line": 179,
+ "line": 180,
"column": 11
},
"end": {
- "line": 179,
+ "line": 180,
"column": 23
},
"identifierName": "defaultProps"
@@ -8744,30 +8829,30 @@
},
"right": {
"type": "ObjectExpression",
- "start": 4376,
- "end": 4430,
+ "start": 4412,
+ "end": 4466,
"loc": {
"start": {
- "line": 179,
+ "line": 180,
"column": 26
},
"end": {
- "line": 183,
+ "line": 184,
"column": 1
}
},
"properties": [
{
"type": "ObjectProperty",
- "start": 4379,
- "end": 4397,
+ "start": 4415,
+ "end": 4433,
"loc": {
"start": {
- "line": 180,
+ "line": 181,
"column": 1
},
"end": {
- "line": 180,
+ "line": 181,
"column": 19
}
},
@@ -8776,15 +8861,15 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 4379,
- "end": 4391,
+ "start": 4415,
+ "end": 4427,
"loc": {
"start": {
- "line": 180,
+ "line": 181,
"column": 1
},
"end": {
- "line": 180,
+ "line": 181,
"column": 13
},
"identifierName": "isBlockInput"
@@ -8793,15 +8878,15 @@
},
"value": {
"type": "BooleanLiteral",
- "start": 4393,
- "end": 4397,
+ "start": 4429,
+ "end": 4433,
"loc": {
"start": {
- "line": 180,
+ "line": 181,
"column": 15
},
"end": {
- "line": 180,
+ "line": 181,
"column": 19
}
},
@@ -8810,15 +8895,15 @@
},
{
"type": "ObjectProperty",
- "start": 4400,
- "end": 4417,
+ "start": 4436,
+ "end": 4453,
"loc": {
"start": {
- "line": 181,
+ "line": 182,
"column": 1
},
"end": {
- "line": 181,
+ "line": 182,
"column": 18
}
},
@@ -8827,15 +8912,15 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 4400,
- "end": 4410,
+ "start": 4436,
+ "end": 4446,
"loc": {
"start": {
- "line": 181,
+ "line": 182,
"column": 1
},
"end": {
- "line": 181,
+ "line": 182,
"column": 11
},
"identifierName": "isRequired"
@@ -8844,15 +8929,15 @@
},
"value": {
"type": "BooleanLiteral",
- "start": 4412,
- "end": 4417,
+ "start": 4448,
+ "end": 4453,
"loc": {
"start": {
- "line": 181,
+ "line": 182,
"column": 13
},
"end": {
- "line": 181,
+ "line": 182,
"column": 18
}
},
@@ -8861,15 +8946,15 @@
},
{
"type": "ObjectProperty",
- "start": 4420,
- "end": 4428,
+ "start": 4456,
+ "end": 4464,
"loc": {
"start": {
- "line": 182,
+ "line": 183,
"column": 1
},
"end": {
- "line": 182,
+ "line": 183,
"column": 9
}
},
@@ -8878,15 +8963,15 @@
"computed": false,
"key": {
"type": "Identifier",
- "start": 4420,
- "end": 4424,
+ "start": 4456,
+ "end": 4460,
"loc": {
"start": {
- "line": 182,
+ "line": 183,
"column": 1
},
"end": {
- "line": 182,
+ "line": 183,
"column": 5
},
"identifierName": "help"
@@ -8895,15 +8980,15 @@
},
"value": {
"type": "StringLiteral",
- "start": 4426,
- "end": 4428,
+ "start": 4462,
+ "end": 4464,
"loc": {
"start": {
- "line": 182,
+ "line": 183,
"column": 7
},
"end": {
- "line": 182,
+ "line": 183,
"column": 9
}
},
@@ -8922,15 +9007,15 @@
{
"type": "CommentBlock",
"value": "*\n * Default props for FieldGroups\n *\n * @type {{isBlockInput: boolean, isRequired: boolean, help: string}}\n ",
- "start": 4236,
- "end": 4349,
+ "start": 4272,
+ "end": 4385,
"loc": {
"start": {
- "line": 174,
+ "line": 175,
"column": 0
},
"end": {
- "line": 178,
+ "line": 179,
"column": 3
}
}
@@ -8940,15 +9025,15 @@
{
"type": "CommentBlock",
"value": "*\n * Creates the FieldGroup's label component\n *\n * @param {Object} props\n * @return {*}\n * @constructor\n ",
- "start": 4433,
- "end": 4543,
+ "start": 4469,
+ "end": 4579,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 0
},
"end": {
- "line": 191,
+ "line": 192,
"column": 3
}
}
@@ -8957,58 +9042,58 @@
},
{
"type": "ExpressionStatement",
- "start": 4544,
- "end": 4655,
+ "start": 4580,
+ "end": 4691,
"loc": {
"start": {
- "line": 192,
+ "line": 193,
"column": 0
},
"end": {
- "line": 200,
+ "line": 201,
"column": 2
}
},
"expression": {
"type": "AssignmentExpression",
- "start": 4544,
- "end": 4654,
+ "start": 4580,
+ "end": 4690,
"loc": {
"start": {
- "line": 192,
+ "line": 193,
"column": 0
},
"end": {
- "line": 200,
+ "line": 201,
"column": 1
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
- "start": 4544,
- "end": 4560,
+ "start": 4580,
+ "end": 4596,
"loc": {
"start": {
- "line": 192,
+ "line": 193,
"column": 0
},
"end": {
- "line": 192,
+ "line": 193,
"column": 16
}
},
"object": {
"type": "Identifier",
- "start": 4544,
- "end": 4554,
+ "start": 4580,
+ "end": 4590,
"loc": {
"start": {
- "line": 192,
+ "line": 193,
"column": 0
},
"end": {
- "line": 192,
+ "line": 193,
"column": 10
},
"identifierName": "FieldGroup"
@@ -9018,15 +9103,15 @@
},
"property": {
"type": "Identifier",
- "start": 4555,
- "end": 4560,
+ "start": 4591,
+ "end": 4596,
"loc": {
"start": {
- "line": 192,
+ "line": 193,
"column": 11
},
"end": {
- "line": 192,
+ "line": 193,
"column": 16
},
"identifierName": "Label"
@@ -9038,15 +9123,15 @@
},
"right": {
"type": "ArrowFunctionExpression",
- "start": 4563,
- "end": 4654,
+ "start": 4599,
+ "end": 4690,
"loc": {
"start": {
- "line": 192,
+ "line": 193,
"column": 19
},
"end": {
- "line": 200,
+ "line": 201,
"column": 1
}
},
@@ -9057,15 +9142,15 @@
"params": [
{
"type": "Identifier",
- "start": 4564,
- "end": 4569,
+ "start": 4600,
+ "end": 4605,
"loc": {
"start": {
- "line": 192,
+ "line": 193,
"column": 20
},
"end": {
- "line": 192,
+ "line": 193,
"column": 25
},
"identifierName": "props"
@@ -9075,87 +9160,87 @@
],
"body": {
"type": "BlockStatement",
- "start": 4574,
- "end": 4654,
+ "start": 4610,
+ "end": 4690,
"loc": {
"start": {
- "line": 192,
+ "line": 193,
"column": 30
},
"end": {
- "line": 200,
+ "line": 201,
"column": 1
}
},
"body": [
{
"type": "ReturnStatement",
- "start": 4577,
- "end": 4652,
+ "start": 4613,
+ "end": 4688,
"loc": {
"start": {
- "line": 193,
+ "line": 194,
"column": 1
},
"end": {
- "line": 199,
+ "line": 200,
"column": 3
}
},
"argument": {
"type": "JSXElement",
- "start": 4588,
- "end": 4648,
+ "start": 4624,
+ "end": 4684,
"loc": {
"start": {
- "line": 194,
+ "line": 195,
"column": 2
},
"end": {
- "line": 198,
+ "line": 199,
"column": 10
}
},
"openingElement": {
"type": "JSXOpeningElement",
- "start": 4588,
- "end": 4620,
+ "start": 4624,
+ "end": 4656,
"loc": {
"start": {
- "line": 194,
+ "line": 195,
"column": 2
},
"end": {
- "line": 196,
+ "line": 197,
"column": 3
}
},
"attributes": [
{
"type": "JSXAttribute",
- "start": 4598,
- "end": 4616,
+ "start": 4634,
+ "end": 4652,
"loc": {
"start": {
- "line": 195,
+ "line": 196,
"column": 3
},
"end": {
- "line": 195,
+ "line": 196,
"column": 21
}
},
"name": {
"type": "JSXIdentifier",
- "start": 4598,
- "end": 4605,
+ "start": 4634,
+ "end": 4641,
"loc": {
"start": {
- "line": 195,
+ "line": 196,
"column": 3
},
"end": {
- "line": 195,
+ "line": 196,
"column": 10
}
},
@@ -9163,43 +9248,43 @@
},
"value": {
"type": "JSXExpressionContainer",
- "start": 4606,
- "end": 4616,
+ "start": 4642,
+ "end": 4652,
"loc": {
"start": {
- "line": 195,
+ "line": 196,
"column": 11
},
"end": {
- "line": 195,
+ "line": 196,
"column": 21
}
},
"expression": {
"type": "MemberExpression",
- "start": 4607,
- "end": 4615,
+ "start": 4643,
+ "end": 4651,
"loc": {
"start": {
- "line": 195,
+ "line": 196,
"column": 12
},
"end": {
- "line": 195,
+ "line": 196,
"column": 20
}
},
"object": {
"type": "Identifier",
- "start": 4607,
- "end": 4612,
+ "start": 4643,
+ "end": 4648,
"loc": {
"start": {
- "line": 195,
+ "line": 196,
"column": 12
},
"end": {
- "line": 195,
+ "line": 196,
"column": 17
},
"identifierName": "props"
@@ -9208,15 +9293,15 @@
},
"property": {
"type": "Identifier",
- "start": 4613,
- "end": 4615,
+ "start": 4649,
+ "end": 4651,
"loc": {
"start": {
- "line": 195,
+ "line": 196,
"column": 18
},
"end": {
- "line": 195,
+ "line": 196,
"column": 20
},
"identifierName": "id"
@@ -9230,15 +9315,15 @@
],
"name": {
"type": "JSXIdentifier",
- "start": 4589,
- "end": 4594,
+ "start": 4625,
+ "end": 4630,
"loc": {
"start": {
- "line": 194,
+ "line": 195,
"column": 3
},
"end": {
- "line": 194,
+ "line": 195,
"column": 8
}
},
@@ -9248,29 +9333,29 @@
},
"closingElement": {
"type": "JSXClosingElement",
- "start": 4640,
- "end": 4648,
+ "start": 4676,
+ "end": 4684,
"loc": {
"start": {
- "line": 198,
+ "line": 199,
"column": 2
},
"end": {
- "line": 198,
+ "line": 199,
"column": 10
}
},
"name": {
"type": "JSXIdentifier",
- "start": 4642,
- "end": 4647,
+ "start": 4678,
+ "end": 4683,
"loc": {
"start": {
- "line": 198,
+ "line": 199,
"column": 4
},
"end": {
- "line": 198,
+ "line": 199,
"column": 9
}
},
@@ -9280,15 +9365,15 @@
"children": [
{
"type": "JSXText",
- "start": 4620,
- "end": 4624,
+ "start": 4656,
+ "end": 4660,
"loc": {
"start": {
- "line": 196,
+ "line": 197,
"column": 3
},
"end": {
- "line": 197,
+ "line": 198,
"column": 3
}
},
@@ -9297,43 +9382,43 @@
},
{
"type": "JSXExpressionContainer",
- "start": 4624,
- "end": 4637,
+ "start": 4660,
+ "end": 4673,
"loc": {
"start": {
- "line": 197,
+ "line": 198,
"column": 3
},
"end": {
- "line": 197,
+ "line": 198,
"column": 16
}
},
"expression": {
"type": "MemberExpression",
- "start": 4625,
- "end": 4636,
+ "start": 4661,
+ "end": 4672,
"loc": {
"start": {
- "line": 197,
+ "line": 198,
"column": 4
},
"end": {
- "line": 197,
+ "line": 198,
"column": 15
}
},
"object": {
"type": "Identifier",
- "start": 4625,
- "end": 4630,
+ "start": 4661,
+ "end": 4666,
"loc": {
"start": {
- "line": 197,
+ "line": 198,
"column": 4
},
"end": {
- "line": 197,
+ "line": 198,
"column": 9
},
"identifierName": "props"
@@ -9342,15 +9427,15 @@
},
"property": {
"type": "Identifier",
- "start": 4631,
- "end": 4636,
+ "start": 4667,
+ "end": 4672,
"loc": {
"start": {
- "line": 197,
+ "line": 198,
"column": 10
},
"end": {
- "line": 197,
+ "line": 198,
"column": 15
},
"identifierName": "label"
@@ -9362,15 +9447,15 @@
},
{
"type": "JSXText",
- "start": 4637,
- "end": 4640,
+ "start": 4673,
+ "end": 4676,
"loc": {
"start": {
- "line": 197,
+ "line": 198,
"column": 16
},
"end": {
- "line": 198,
+ "line": 199,
"column": 2
}
},
@@ -9380,7 +9465,7 @@
],
"extra": {
"parenthesized": true,
- "parenStart": 4584
+ "parenStart": 4620
}
}
}
@@ -9394,15 +9479,15 @@
{
"type": "CommentBlock",
"value": "*\n * Creates the FieldGroup's label component\n *\n * @param {Object} props\n * @return {*}\n * @constructor\n ",
- "start": 4433,
- "end": 4543,
+ "start": 4469,
+ "end": 4579,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 0
},
"end": {
- "line": 191,
+ "line": 192,
"column": 3
}
}
@@ -9512,15 +9597,15 @@
{
"type": "CommentBlock",
"value": "*\n\t * Render field group\n\t ",
- "start": 3878,
- "end": 3909,
+ "start": 3914,
+ "end": 3945,
"loc": {
"start": {
- "line": 161,
+ "line": 162,
"column": 1
},
"end": {
- "line": 163,
+ "line": 164,
"column": 4
}
}
@@ -9528,15 +9613,15 @@
{
"type": "CommentBlock",
"value": "*\n * The prop type definitions for FieldGroup components\n *\n * @type {{id: (boolean|shim|*), isBlockInput: shim, isRequired: shim, help: shim, label: (boolean|shim|*), type: shim, value: shim, onValueChange: (boolean|shim|*), inputType: shim}}\n ",
- "start": 3941,
- "end": 4190,
+ "start": 3977,
+ "end": 4226,
"loc": {
"start": {
- "line": 167,
+ "line": 168,
"column": 0
},
"end": {
- "line": 171,
+ "line": 172,
"column": 3
}
}
@@ -9544,15 +9629,15 @@
{
"type": "CommentBlock",
"value": "*\n * Default props for FieldGroups\n *\n * @type {{isBlockInput: boolean, isRequired: boolean, help: string}}\n ",
- "start": 4236,
- "end": 4349,
+ "start": 4272,
+ "end": 4385,
"loc": {
"start": {
- "line": 174,
+ "line": 175,
"column": 0
},
"end": {
- "line": 178,
+ "line": 179,
"column": 3
}
}
@@ -9560,15 +9645,15 @@
{
"type": "CommentBlock",
"value": "*\n * Creates the FieldGroup's label component\n *\n * @param {Object} props\n * @return {*}\n * @constructor\n ",
- "start": 4433,
- "end": 4543,
+ "start": 4469,
+ "end": 4579,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 0
},
"end": {
- "line": 191,
+ "line": 192,
"column": 3
}
}
@@ -24434,9 +24519,9 @@
"postfix": false,
"binop": null
},
- "value": "inputType",
+ "value": "onClick",
"start": 3516,
- "end": 3525,
+ "end": 3523,
"loc": {
"start": {
"line": 140,
@@ -24444,7 +24529,7 @@
},
"end": {
"line": 140,
- "column": 16
+ "column": 14
}
}
},
@@ -24461,16 +24546,16 @@
"binop": null,
"updateContext": null
},
- "start": 3525,
- "end": 3526,
+ "start": 3523,
+ "end": 3524,
"loc": {
"start": {
"line": 140,
- "column": 16
+ "column": 14
},
"end": {
"line": 140,
- "column": 17
+ "column": 15
}
}
},
@@ -24487,16 +24572,16 @@
"binop": null
},
"value": "fieldProps",
- "start": 3527,
- "end": 3537,
+ "start": 3525,
+ "end": 3535,
"loc": {
"start": {
"line": 140,
- "column": 18
+ "column": 16
},
"end": {
"line": 140,
- "column": 28
+ "column": 26
}
}
},
@@ -24513,16 +24598,16 @@
"binop": null,
"updateContext": null
},
- "start": 3537,
- "end": 3538,
+ "start": 3535,
+ "end": 3536,
"loc": {
"start": {
"line": 140,
- "column": 28
+ "column": 26
},
"end": {
"line": 140,
- "column": 29
+ "column": 27
}
}
},
@@ -24538,17 +24623,17 @@
"postfix": false,
"binop": null
},
- "value": "inputType",
- "start": 3538,
- "end": 3547,
+ "value": "onClick",
+ "start": 3536,
+ "end": 3543,
"loc": {
"start": {
"line": 140,
- "column": 29
+ "column": 27
},
"end": {
"line": 140,
- "column": 38
+ "column": 34
}
}
},
@@ -24565,16 +24650,16 @@
"binop": null,
"updateContext": null
},
- "start": 3547,
- "end": 3548,
+ "start": 3543,
+ "end": 3544,
"loc": {
"start": {
"line": 140,
- "column": 38
+ "column": 34
},
"end": {
"line": 140,
- "column": 39
+ "column": 35
}
}
},
@@ -24590,9 +24675,9 @@
"postfix": false,
"binop": null
},
- "value": "options",
- "start": 3556,
- "end": 3563,
+ "value": "inputType",
+ "start": 3552,
+ "end": 3561,
"loc": {
"start": {
"line": 141,
@@ -24600,7 +24685,7 @@
},
"end": {
"line": 141,
- "column": 14
+ "column": 16
}
}
},
@@ -24617,16 +24702,16 @@
"binop": null,
"updateContext": null
},
- "start": 3563,
- "end": 3564,
+ "start": 3561,
+ "end": 3562,
"loc": {
"start": {
"line": 141,
- "column": 14
+ "column": 16
},
"end": {
"line": 141,
- "column": 15
+ "column": 17
}
}
},
@@ -24643,16 +24728,16 @@
"binop": null
},
"value": "fieldProps",
- "start": 3565,
- "end": 3575,
+ "start": 3563,
+ "end": 3573,
"loc": {
"start": {
"line": 141,
- "column": 16
+ "column": 18
},
"end": {
"line": 141,
- "column": 26
+ "column": 28
}
}
},
@@ -24669,16 +24754,16 @@
"binop": null,
"updateContext": null
},
- "start": 3575,
- "end": 3576,
+ "start": 3573,
+ "end": 3574,
"loc": {
"start": {
"line": 141,
- "column": 26
+ "column": 28
},
"end": {
"line": 141,
- "column": 27
+ "column": 29
}
}
},
@@ -24694,17 +24779,17 @@
"postfix": false,
"binop": null
},
- "value": "options",
- "start": 3576,
+ "value": "inputType",
+ "start": 3574,
"end": 3583,
"loc": {
"start": {
"line": 141,
- "column": 27
+ "column": 29
},
"end": {
"line": 141,
- "column": 34
+ "column": 38
}
}
},
@@ -24726,11 +24811,11 @@
"loc": {
"start": {
"line": 141,
- "column": 34
+ "column": 38
},
"end": {
"line": 141,
- "column": 35
+ "column": 39
}
}
},
@@ -24746,9 +24831,9 @@
"postfix": false,
"binop": null
},
- "value": "disabled",
+ "value": "options",
"start": 3592,
- "end": 3600,
+ "end": 3599,
"loc": {
"start": {
"line": 142,
@@ -24756,7 +24841,7 @@
},
"end": {
"line": 142,
- "column": 15
+ "column": 14
}
}
},
@@ -24773,16 +24858,16 @@
"binop": null,
"updateContext": null
},
- "start": 3600,
- "end": 3601,
+ "start": 3599,
+ "end": 3600,
"loc": {
"start": {
"line": 142,
- "column": 15
+ "column": 14
},
"end": {
"line": 142,
- "column": 16
+ "column": 15
}
}
},
@@ -24798,17 +24883,17 @@
"postfix": false,
"binop": null
},
- "value": "props",
- "start": 3602,
- "end": 3607,
+ "value": "fieldProps",
+ "start": 3601,
+ "end": 3611,
"loc": {
"start": {
"line": 142,
- "column": 17
+ "column": 16
},
"end": {
"line": 142,
- "column": 22
+ "column": 26
}
}
},
@@ -24825,16 +24910,16 @@
"binop": null,
"updateContext": null
},
- "start": 3607,
- "end": 3608,
+ "start": 3611,
+ "end": 3612,
"loc": {
"start": {
"line": 142,
- "column": 22
+ "column": 26
},
"end": {
"line": 142,
- "column": 23
+ "column": 27
}
}
},
@@ -24850,17 +24935,17 @@
"postfix": false,
"binop": null
},
- "value": "disabled",
- "start": 3608,
- "end": 3616,
+ "value": "options",
+ "start": 3612,
+ "end": 3619,
"loc": {
"start": {
"line": 142,
- "column": 23
+ "column": 27
},
"end": {
"line": 142,
- "column": 31
+ "column": 34
}
}
},
@@ -24877,16 +24962,16 @@
"binop": null,
"updateContext": null
},
- "start": 3616,
- "end": 3617,
+ "start": 3619,
+ "end": 3620,
"loc": {
"start": {
"line": 142,
- "column": 31
+ "column": 34
},
"end": {
"line": 142,
- "column": 32
+ "column": 35
}
}
},
@@ -24902,9 +24987,9 @@
"postfix": false,
"binop": null
},
- "value": "onBlur",
- "start": 3625,
- "end": 3631,
+ "value": "disabled",
+ "start": 3628,
+ "end": 3636,
"loc": {
"start": {
"line": 143,
@@ -24912,7 +24997,7 @@
},
"end": {
"line": 143,
- "column": 13
+ "column": 15
}
}
},
@@ -24929,16 +25014,16 @@
"binop": null,
"updateContext": null
},
- "start": 3631,
- "end": 3632,
+ "start": 3636,
+ "end": 3637,
"loc": {
"start": {
"line": 143,
- "column": 13
+ "column": 15
},
"end": {
"line": 143,
- "column": 14
+ "column": 16
}
}
},
@@ -24955,16 +25040,16 @@
"binop": null
},
"value": "props",
- "start": 3633,
- "end": 3638,
+ "start": 3638,
+ "end": 3643,
"loc": {
"start": {
"line": 143,
- "column": 15
+ "column": 17
},
"end": {
"line": 143,
- "column": 20
+ "column": 22
}
}
},
@@ -24981,16 +25066,16 @@
"binop": null,
"updateContext": null
},
- "start": 3638,
- "end": 3639,
+ "start": 3643,
+ "end": 3644,
"loc": {
"start": {
"line": 143,
- "column": 20
+ "column": 22
},
"end": {
"line": 143,
- "column": 21
+ "column": 23
}
}
},
@@ -25006,17 +25091,17 @@
"postfix": false,
"binop": null
},
- "value": "onBlur",
- "start": 3639,
- "end": 3645,
+ "value": "disabled",
+ "start": 3644,
+ "end": 3652,
"loc": {
"start": {
"line": 143,
- "column": 21
+ "column": 23
},
"end": {
"line": 143,
- "column": 27
+ "column": 31
}
}
},
@@ -25033,16 +25118,16 @@
"binop": null,
"updateContext": null
},
- "start": 3645,
- "end": 3646,
+ "start": 3652,
+ "end": 3653,
"loc": {
"start": {
"line": 143,
- "column": 27
+ "column": 31
},
"end": {
"line": 143,
- "column": 28
+ "column": 32
}
}
},
@@ -25058,9 +25143,9 @@
"postfix": false,
"binop": null
},
- "value": "onFocus",
- "start": 3654,
- "end": 3661,
+ "value": "onBlur",
+ "start": 3661,
+ "end": 3667,
"loc": {
"start": {
"line": 144,
@@ -25068,7 +25153,7 @@
},
"end": {
"line": 144,
- "column": 14
+ "column": 13
}
}
},
@@ -25085,16 +25170,16 @@
"binop": null,
"updateContext": null
},
- "start": 3661,
- "end": 3662,
+ "start": 3667,
+ "end": 3668,
"loc": {
"start": {
"line": 144,
- "column": 14
+ "column": 13
},
"end": {
"line": 144,
- "column": 15
+ "column": 14
}
}
},
@@ -25111,16 +25196,16 @@
"binop": null
},
"value": "props",
- "start": 3663,
- "end": 3668,
+ "start": 3669,
+ "end": 3674,
"loc": {
"start": {
"line": 144,
- "column": 16
+ "column": 15
},
"end": {
"line": 144,
- "column": 21
+ "column": 20
}
}
},
@@ -25137,16 +25222,16 @@
"binop": null,
"updateContext": null
},
- "start": 3668,
- "end": 3669,
+ "start": 3674,
+ "end": 3675,
"loc": {
"start": {
"line": 144,
- "column": 21
+ "column": 20
},
"end": {
"line": 144,
- "column": 22
+ "column": 21
}
}
},
@@ -25162,50 +25247,51 @@
"postfix": false,
"binop": null
},
- "value": "onFocus",
- "start": 3669,
- "end": 3676,
+ "value": "onBlur",
+ "start": 3675,
+ "end": 3681,
"loc": {
"start": {
"line": 144,
- "column": 22
+ "column": 21
},
"end": {
"line": 144,
- "column": 29
+ "column": 27
}
}
},
{
"type": {
- "label": "}",
- "beforeExpr": false,
+ "label": ",",
+ "beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 3683,
- "end": 3684,
+ "start": 3681,
+ "end": 3682,
"loc": {
"start": {
- "line": 145,
- "column": 6
+ "line": 144,
+ "column": 27
},
"end": {
- "line": 145,
- "column": 7
+ "line": 144,
+ "column": 28
}
}
},
{
"type": {
- "label": ")",
+ "label": "name",
"beforeExpr": false,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -25213,93 +25299,95 @@
"postfix": false,
"binop": null
},
+ "value": "onFocus",
"start": 3690,
- "end": 3691,
+ "end": 3697,
"loc": {
"start": {
- "line": 146,
- "column": 5
+ "line": 145,
+ "column": 7
},
"end": {
- "line": 146,
- "column": 6
+ "line": 145,
+ "column": 14
}
}
},
{
"type": {
- "label": "}",
- "beforeExpr": false,
+ "label": ":",
+ "beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 3691,
- "end": 3692,
+ "start": 3697,
+ "end": 3698,
"loc": {
"start": {
- "line": 146,
- "column": 6
+ "line": 145,
+ "column": 14
},
"end": {
- "line": 146,
- "column": 7
+ "line": 145,
+ "column": 15
}
}
},
{
"type": {
- "label": "jsxText",
- "beforeExpr": true,
- "startsExpr": false,
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "\n\t\t\t\t\t",
- "start": 3692,
- "end": 3698,
+ "value": "props",
+ "start": 3699,
+ "end": 3704,
"loc": {
"start": {
- "line": 146,
- "column": 7
+ "line": 145,
+ "column": 16
},
"end": {
- "line": 147,
- "column": 5
+ "line": 145,
+ "column": 21
}
}
},
{
"type": {
- "label": "{",
- "beforeExpr": true,
- "startsExpr": true,
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 3698,
- "end": 3699,
+ "start": 3704,
+ "end": 3705,
"loc": {
"start": {
- "line": 147,
- "column": 5
+ "line": 145,
+ "column": 21
},
"end": {
- "line": 147,
- "column": 6
+ "line": 145,
+ "column": 22
}
}
},
@@ -25315,23 +25403,73 @@
"postfix": false,
"binop": null
},
- "value": "fieldProps",
- "start": 3699,
- "end": 3709,
+ "value": "onFocus",
+ "start": 3705,
+ "end": 3712,
"loc": {
"start": {
- "line": 147,
- "column": 6
+ "line": 145,
+ "column": 22
},
"end": {
- "line": 147,
- "column": 16
+ "line": 145,
+ "column": 29
}
}
},
{
"type": {
- "label": ".",
+ "label": "}",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 3719,
+ "end": 3720,
+ "loc": {
+ "start": {
+ "line": 146,
+ "column": 6
+ },
+ "end": {
+ "line": 146,
+ "column": 7
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ")",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 3726,
+ "end": 3727,
+ "loc": {
+ "start": {
+ "line": 147,
+ "column": 5
+ },
+ "end": {
+ "line": 147,
+ "column": 6
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
@@ -25339,18 +25477,121 @@
"isAssign": false,
"prefix": false,
"postfix": false,
+ "binop": null
+ },
+ "start": 3727,
+ "end": 3728,
+ "loc": {
+ "start": {
+ "line": 147,
+ "column": 6
+ },
+ "end": {
+ "line": 147,
+ "column": 7
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "jsxText",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
"binop": null,
"updateContext": null
},
- "start": 3709,
- "end": 3710,
+ "value": "\n\t\t\t\t\t",
+ "start": 3728,
+ "end": 3734,
"loc": {
"start": {
"line": 147,
+ "column": 7
+ },
+ "end": {
+ "line": 148,
+ "column": 5
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "{",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 3734,
+ "end": 3735,
+ "loc": {
+ "start": {
+ "line": 148,
+ "column": 5
+ },
+ "end": {
+ "line": 148,
+ "column": 6
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "fieldProps",
+ "start": 3735,
+ "end": 3745,
+ "loc": {
+ "start": {
+ "line": 148,
+ "column": 6
+ },
+ "end": {
+ "line": 148,
+ "column": 16
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 3745,
+ "end": 3746,
+ "loc": {
+ "start": {
+ "line": 148,
"column": 16
},
"end": {
- "line": 147,
+ "line": 148,
"column": 17
}
}
@@ -25368,15 +25609,15 @@
"binop": null
},
"value": "help",
- "start": 3710,
- "end": 3714,
+ "start": 3746,
+ "end": 3750,
"loc": {
"start": {
- "line": 147,
+ "line": 148,
"column": 17
},
"end": {
- "line": 147,
+ "line": 148,
"column": 21
}
}
@@ -25395,15 +25636,15 @@
"updateContext": null
},
"value": "&&",
- "start": 3715,
- "end": 3717,
+ "start": 3751,
+ "end": 3753,
"loc": {
"start": {
- "line": 147,
+ "line": 148,
"column": 22
},
"end": {
- "line": 147,
+ "line": 148,
"column": 24
}
}
@@ -25420,15 +25661,15 @@
"postfix": false,
"binop": null
},
- "start": 3724,
- "end": 3725,
+ "start": 3760,
+ "end": 3761,
"loc": {
"start": {
- "line": 148,
+ "line": 149,
"column": 6
},
"end": {
- "line": 148,
+ "line": 149,
"column": 7
}
}
@@ -25447,15 +25688,15 @@
"updateContext": null
},
"value": "p",
- "start": 3725,
- "end": 3726,
+ "start": 3761,
+ "end": 3762,
"loc": {
"start": {
- "line": 148,
+ "line": 149,
"column": 7
},
"end": {
- "line": 148,
+ "line": 149,
"column": 8
}
}
@@ -25474,15 +25715,15 @@
"updateContext": null
},
"value": "id",
- "start": 3734,
- "end": 3736,
+ "start": 3770,
+ "end": 3772,
"loc": {
"start": {
- "line": 149,
+ "line": 150,
"column": 7
},
"end": {
- "line": 149,
+ "line": 150,
"column": 9
}
}
@@ -25501,15 +25742,15 @@
"updateContext": null
},
"value": "=",
- "start": 3736,
- "end": 3737,
+ "start": 3772,
+ "end": 3773,
"loc": {
"start": {
- "line": 149,
+ "line": 150,
"column": 9
},
"end": {
- "line": 149,
+ "line": 150,
"column": 10
}
}
@@ -25526,15 +25767,15 @@
"postfix": false,
"binop": null
},
- "start": 3737,
- "end": 3738,
+ "start": 3773,
+ "end": 3774,
"loc": {
"start": {
- "line": 149,
+ "line": 150,
"column": 10
},
"end": {
- "line": 149,
+ "line": 150,
"column": 11
}
}
@@ -25551,15 +25792,15 @@
"postfix": false,
"binop": null
},
- "start": 3738,
- "end": 3739,
+ "start": 3774,
+ "end": 3775,
"loc": {
"start": {
- "line": 149,
+ "line": 150,
"column": 11
},
"end": {
- "line": 149,
+ "line": 150,
"column": 12
}
}
@@ -25578,15 +25819,15 @@
"updateContext": null
},
"value": "",
- "start": 3739,
- "end": 3739,
+ "start": 3775,
+ "end": 3775,
"loc": {
"start": {
- "line": 149,
+ "line": 150,
"column": 12
},
"end": {
- "line": 149,
+ "line": 150,
"column": 12
}
}
@@ -25603,15 +25844,15 @@
"postfix": false,
"binop": null
},
- "start": 3739,
- "end": 3741,
+ "start": 3775,
+ "end": 3777,
"loc": {
"start": {
- "line": 149,
+ "line": 150,
"column": 12
},
"end": {
- "line": 149,
+ "line": 150,
"column": 14
}
}
@@ -25629,15 +25870,15 @@
"binop": null
},
"value": "idAttrForHelpElement",
- "start": 3741,
- "end": 3761,
+ "start": 3777,
+ "end": 3797,
"loc": {
"start": {
- "line": 149,
+ "line": 150,
"column": 14
},
"end": {
- "line": 149,
+ "line": 150,
"column": 34
}
}
@@ -25654,15 +25895,15 @@
"postfix": false,
"binop": null
},
- "start": 3761,
- "end": 3762,
+ "start": 3797,
+ "end": 3798,
"loc": {
"start": {
- "line": 149,
+ "line": 150,
"column": 34
},
"end": {
- "line": 149,
+ "line": 150,
"column": 35
}
}
@@ -25679,15 +25920,15 @@
"postfix": false,
"binop": null
},
- "start": 3762,
- "end": 3763,
+ "start": 3798,
+ "end": 3799,
"loc": {
"start": {
- "line": 149,
+ "line": 150,
"column": 35
},
"end": {
- "line": 149,
+ "line": 150,
"column": 36
}
}
@@ -25704,15 +25945,15 @@
"postfix": false,
"binop": null
},
- "start": 3763,
- "end": 3764,
+ "start": 3799,
+ "end": 3800,
"loc": {
"start": {
- "line": 149,
+ "line": 150,
"column": 36
},
"end": {
- "line": 149,
+ "line": 150,
"column": 37
}
}
@@ -25731,15 +25972,15 @@
"updateContext": null
},
"value": "",
- "start": 3764,
- "end": 3764,
+ "start": 3800,
+ "end": 3800,
"loc": {
"start": {
- "line": 149,
+ "line": 150,
"column": 37
},
"end": {
- "line": 149,
+ "line": 150,
"column": 37
}
}
@@ -25756,15 +25997,15 @@
"postfix": false,
"binop": null
},
- "start": 3764,
- "end": 3765,
+ "start": 3800,
+ "end": 3801,
"loc": {
"start": {
- "line": 149,
+ "line": 150,
"column": 37
},
"end": {
- "line": 149,
+ "line": 150,
"column": 38
}
}
@@ -25781,15 +26022,15 @@
"postfix": false,
"binop": null
},
- "start": 3765,
- "end": 3766,
+ "start": 3801,
+ "end": 3802,
"loc": {
"start": {
- "line": 149,
+ "line": 150,
"column": 38
},
"end": {
- "line": 149,
+ "line": 150,
"column": 39
}
}
@@ -25808,15 +26049,15 @@
"updateContext": null
},
"value": "className",
- "start": 3774,
- "end": 3783,
+ "start": 3810,
+ "end": 3819,
"loc": {
"start": {
- "line": 150,
+ "line": 151,
"column": 7
},
"end": {
- "line": 150,
+ "line": 151,
"column": 16
}
}
@@ -25835,15 +26076,15 @@
"updateContext": null
},
"value": "=",
- "start": 3783,
- "end": 3784,
+ "start": 3819,
+ "end": 3820,
"loc": {
"start": {
- "line": 150,
+ "line": 151,
"column": 16
},
"end": {
- "line": 150,
+ "line": 151,
"column": 17
}
}
@@ -25860,15 +26101,15 @@
"postfix": false,
"binop": null
},
- "start": 3784,
- "end": 3785,
+ "start": 3820,
+ "end": 3821,
"loc": {
"start": {
- "line": 150,
+ "line": 151,
"column": 17
},
"end": {
- "line": 150,
+ "line": 151,
"column": 18
}
}
@@ -25887,15 +26128,15 @@
"updateContext": null
},
"value": "description",
- "start": 3785,
- "end": 3798,
+ "start": 3821,
+ "end": 3834,
"loc": {
"start": {
- "line": 150,
+ "line": 151,
"column": 18
},
"end": {
- "line": 150,
+ "line": 151,
"column": 31
}
}
@@ -25912,15 +26153,15 @@
"postfix": false,
"binop": null
},
- "start": 3798,
- "end": 3799,
+ "start": 3834,
+ "end": 3835,
"loc": {
"start": {
- "line": 150,
+ "line": 151,
"column": 31
},
"end": {
- "line": 150,
+ "line": 151,
"column": 32
}
}
@@ -25937,15 +26178,15 @@
"postfix": false,
"binop": null
},
- "start": 3806,
- "end": 3807,
+ "start": 3842,
+ "end": 3843,
"loc": {
"start": {
- "line": 151,
+ "line": 152,
"column": 6
},
"end": {
- "line": 151,
+ "line": 152,
"column": 7
}
}
@@ -25964,15 +26205,15 @@
"updateContext": null
},
"value": "\n\t\t\t\t\t\t\t",
- "start": 3807,
- "end": 3815,
+ "start": 3843,
+ "end": 3851,
"loc": {
"start": {
- "line": 151,
+ "line": 152,
"column": 7
},
"end": {
- "line": 152,
+ "line": 153,
"column": 7
}
}
@@ -25989,15 +26230,15 @@
"postfix": false,
"binop": null
},
- "start": 3815,
- "end": 3816,
+ "start": 3851,
+ "end": 3852,
"loc": {
"start": {
- "line": 152,
+ "line": 153,
"column": 7
},
"end": {
- "line": 152,
+ "line": 153,
"column": 8
}
}
@@ -26015,15 +26256,15 @@
"binop": null
},
"value": "fieldProps",
- "start": 3816,
- "end": 3826,
+ "start": 3852,
+ "end": 3862,
"loc": {
"start": {
- "line": 152,
+ "line": 153,
"column": 8
},
"end": {
- "line": 152,
+ "line": 153,
"column": 18
}
}
@@ -26041,15 +26282,15 @@
"binop": null,
"updateContext": null
},
- "start": 3826,
- "end": 3827,
+ "start": 3862,
+ "end": 3863,
"loc": {
"start": {
- "line": 152,
+ "line": 153,
"column": 18
},
"end": {
- "line": 152,
+ "line": 153,
"column": 19
}
}
@@ -26067,15 +26308,15 @@
"binop": null
},
"value": "help",
- "start": 3827,
- "end": 3831,
+ "start": 3863,
+ "end": 3867,
"loc": {
"start": {
- "line": 152,
+ "line": 153,
"column": 19
},
"end": {
- "line": 152,
+ "line": 153,
"column": 23
}
}
@@ -26092,15 +26333,15 @@
"postfix": false,
"binop": null
},
- "start": 3831,
- "end": 3832,
+ "start": 3867,
+ "end": 3868,
"loc": {
"start": {
- "line": 152,
+ "line": 153,
"column": 23
},
"end": {
- "line": 152,
+ "line": 153,
"column": 24
}
}
@@ -26119,15 +26360,15 @@
"updateContext": null
},
"value": "\n\t\t\t\t\t\t",
- "start": 3832,
- "end": 3839,
+ "start": 3868,
+ "end": 3875,
"loc": {
"start": {
- "line": 152,
+ "line": 153,
"column": 24
},
"end": {
- "line": 153,
+ "line": 154,
"column": 6
}
}
@@ -26144,15 +26385,15 @@
"postfix": false,
"binop": null
},
- "start": 3839,
- "end": 3840,
+ "start": 3875,
+ "end": 3876,
"loc": {
"start": {
- "line": 153,
+ "line": 154,
"column": 6
},
"end": {
- "line": 153,
+ "line": 154,
"column": 7
}
}
@@ -26171,15 +26412,15 @@
"updateContext": null
},
"value": "/",
- "start": 3840,
- "end": 3841,
+ "start": 3876,
+ "end": 3877,
"loc": {
"start": {
- "line": 153,
+ "line": 154,
"column": 7
},
"end": {
- "line": 153,
+ "line": 154,
"column": 8
}
}
@@ -26198,15 +26439,15 @@
"updateContext": null
},
"value": "p",
- "start": 3841,
- "end": 3842,
+ "start": 3877,
+ "end": 3878,
"loc": {
"start": {
- "line": 153,
+ "line": 154,
"column": 8
},
"end": {
- "line": 153,
+ "line": 154,
"column": 9
}
}
@@ -26223,15 +26464,15 @@
"postfix": false,
"binop": null
},
- "start": 3842,
- "end": 3843,
+ "start": 3878,
+ "end": 3879,
"loc": {
"start": {
- "line": 153,
+ "line": 154,
"column": 9
},
"end": {
- "line": 153,
+ "line": 154,
"column": 10
}
}
@@ -26248,15 +26489,15 @@
"postfix": false,
"binop": null
},
- "start": 3849,
- "end": 3850,
+ "start": 3885,
+ "end": 3886,
"loc": {
"start": {
- "line": 154,
+ "line": 155,
"column": 5
},
"end": {
- "line": 154,
+ "line": 155,
"column": 6
}
}
@@ -26275,15 +26516,15 @@
"updateContext": null
},
"value": "\n\t\t\t\t",
- "start": 3850,
- "end": 3855,
+ "start": 3886,
+ "end": 3891,
"loc": {
"start": {
- "line": 154,
+ "line": 155,
"column": 6
},
"end": {
- "line": 155,
+ "line": 156,
"column": 4
}
}
@@ -26300,15 +26541,15 @@
"postfix": false,
"binop": null
},
- "start": 3855,
- "end": 3856,
+ "start": 3891,
+ "end": 3892,
"loc": {
"start": {
- "line": 155,
+ "line": 156,
"column": 4
},
"end": {
- "line": 155,
+ "line": 156,
"column": 5
}
}
@@ -26327,15 +26568,15 @@
"updateContext": null
},
"value": "/",
- "start": 3856,
- "end": 3857,
+ "start": 3892,
+ "end": 3893,
"loc": {
"start": {
- "line": 155,
+ "line": 156,
"column": 5
},
"end": {
- "line": 155,
+ "line": 156,
"column": 6
}
}
@@ -26354,15 +26595,15 @@
"updateContext": null
},
"value": "div",
- "start": 3857,
- "end": 3860,
+ "start": 3893,
+ "end": 3896,
"loc": {
"start": {
- "line": 155,
+ "line": 156,
"column": 6
},
"end": {
- "line": 155,
+ "line": 156,
"column": 9
}
}
@@ -26379,15 +26620,15 @@
"postfix": false,
"binop": null
},
- "start": 3860,
- "end": 3861,
+ "start": 3896,
+ "end": 3897,
"loc": {
"start": {
- "line": 155,
+ "line": 156,
"column": 9
},
"end": {
- "line": 155,
+ "line": 156,
"column": 10
}
}
@@ -26404,15 +26645,15 @@
"postfix": false,
"binop": null
},
- "start": 3865,
- "end": 3866,
+ "start": 3901,
+ "end": 3902,
"loc": {
"start": {
- "line": 156,
+ "line": 157,
"column": 3
},
"end": {
- "line": 156,
+ "line": 157,
"column": 4
}
}
@@ -26430,15 +26671,15 @@
"binop": null,
"updateContext": null
},
- "start": 3866,
- "end": 3867,
+ "start": 3902,
+ "end": 3903,
"loc": {
"start": {
- "line": 156,
+ "line": 157,
"column": 4
},
"end": {
- "line": 156,
+ "line": 157,
"column": 5
}
}
@@ -26455,15 +26696,15 @@
"postfix": false,
"binop": null
},
- "start": 3870,
- "end": 3871,
+ "start": 3906,
+ "end": 3907,
"loc": {
"start": {
- "line": 157,
+ "line": 158,
"column": 2
},
"end": {
- "line": 157,
+ "line": 158,
"column": 3
}
}
@@ -26480,15 +26721,15 @@
"postfix": false,
"binop": null
},
- "start": 3874,
- "end": 3875,
+ "start": 3910,
+ "end": 3911,
"loc": {
"start": {
- "line": 159,
+ "line": 160,
"column": 1
},
"end": {
- "line": 159,
+ "line": 160,
"column": 2
}
}
@@ -26496,15 +26737,15 @@
{
"type": "CommentBlock",
"value": "*\n\t * Render field group\n\t ",
- "start": 3878,
- "end": 3909,
+ "start": 3914,
+ "end": 3945,
"loc": {
"start": {
- "line": 161,
+ "line": 162,
"column": 1
},
"end": {
- "line": 163,
+ "line": 164,
"column": 4
}
}
@@ -26524,15 +26765,15 @@
"updateContext": null
},
"value": "return",
- "start": 3911,
- "end": 3917,
+ "start": 3947,
+ "end": 3953,
"loc": {
"start": {
- "line": 164,
+ "line": 165,
"column": 1
},
"end": {
- "line": 164,
+ "line": 165,
"column": 7
}
}
@@ -26550,15 +26791,15 @@
"binop": null
},
"value": "fieldInner",
- "start": 3918,
- "end": 3928,
+ "start": 3954,
+ "end": 3964,
"loc": {
"start": {
- "line": 164,
+ "line": 165,
"column": 8
},
"end": {
- "line": 164,
+ "line": 165,
"column": 18
}
}
@@ -26575,15 +26816,15 @@
"postfix": false,
"binop": null
},
- "start": 3928,
- "end": 3929,
+ "start": 3964,
+ "end": 3965,
"loc": {
"start": {
- "line": 164,
+ "line": 165,
"column": 18
},
"end": {
- "line": 164,
+ "line": 165,
"column": 19
}
}
@@ -26601,15 +26842,15 @@
"binop": null
},
"value": "props",
- "start": 3929,
- "end": 3934,
+ "start": 3965,
+ "end": 3970,
"loc": {
"start": {
- "line": 164,
+ "line": 165,
"column": 19
},
"end": {
- "line": 164,
+ "line": 165,
"column": 24
}
}
@@ -26626,15 +26867,15 @@
"postfix": false,
"binop": null
},
- "start": 3934,
- "end": 3935,
+ "start": 3970,
+ "end": 3971,
"loc": {
"start": {
- "line": 164,
+ "line": 165,
"column": 24
},
"end": {
- "line": 164,
+ "line": 165,
"column": 25
}
}
@@ -26652,15 +26893,15 @@
"binop": null,
"updateContext": null
},
- "start": 3935,
- "end": 3936,
+ "start": 3971,
+ "end": 3972,
"loc": {
"start": {
- "line": 164,
+ "line": 165,
"column": 25
},
"end": {
- "line": 164,
+ "line": 165,
"column": 26
}
}
@@ -26677,15 +26918,15 @@
"postfix": false,
"binop": null
},
- "start": 3937,
- "end": 3938,
+ "start": 3973,
+ "end": 3974,
"loc": {
"start": {
- "line": 165,
+ "line": 166,
"column": 0
},
"end": {
- "line": 165,
+ "line": 166,
"column": 1
}
}
@@ -26703,15 +26944,15 @@
"binop": null,
"updateContext": null
},
- "start": 3938,
- "end": 3939,
+ "start": 3974,
+ "end": 3975,
"loc": {
"start": {
- "line": 165,
+ "line": 166,
"column": 1
},
"end": {
- "line": 165,
+ "line": 166,
"column": 2
}
}
@@ -26719,15 +26960,15 @@
{
"type": "CommentBlock",
"value": "*\n * The prop type definitions for FieldGroup components\n *\n * @type {{id: (boolean|shim|*), isBlockInput: shim, isRequired: shim, help: shim, label: (boolean|shim|*), type: shim, value: shim, onValueChange: (boolean|shim|*), inputType: shim}}\n ",
- "start": 3941,
- "end": 4190,
+ "start": 3977,
+ "end": 4226,
"loc": {
"start": {
- "line": 167,
+ "line": 168,
"column": 0
},
"end": {
- "line": 171,
+ "line": 172,
"column": 3
}
}
@@ -26745,15 +26986,15 @@
"binop": null
},
"value": "FieldGroup",
- "start": 4191,
- "end": 4201,
+ "start": 4227,
+ "end": 4237,
"loc": {
"start": {
- "line": 172,
+ "line": 173,
"column": 0
},
"end": {
- "line": 172,
+ "line": 173,
"column": 10
}
}
@@ -26771,15 +27012,15 @@
"binop": null,
"updateContext": null
},
- "start": 4201,
- "end": 4202,
+ "start": 4237,
+ "end": 4238,
"loc": {
"start": {
- "line": 172,
+ "line": 173,
"column": 10
},
"end": {
- "line": 172,
+ "line": 173,
"column": 11
}
}
@@ -26797,15 +27038,15 @@
"binop": null
},
"value": "propTypes",
- "start": 4202,
- "end": 4211,
+ "start": 4238,
+ "end": 4247,
"loc": {
"start": {
- "line": 172,
+ "line": 173,
"column": 11
},
"end": {
- "line": 172,
+ "line": 173,
"column": 20
}
}
@@ -26824,15 +27065,15 @@
"updateContext": null
},
"value": "=",
- "start": 4212,
- "end": 4213,
+ "start": 4248,
+ "end": 4249,
"loc": {
"start": {
- "line": 172,
+ "line": 173,
"column": 21
},
"end": {
- "line": 172,
+ "line": 173,
"column": 22
}
}
@@ -26850,15 +27091,15 @@
"binop": null
},
"value": "fieldGroupPropTypes",
- "start": 4214,
- "end": 4233,
+ "start": 4250,
+ "end": 4269,
"loc": {
"start": {
- "line": 172,
+ "line": 173,
"column": 23
},
"end": {
- "line": 172,
+ "line": 173,
"column": 42
}
}
@@ -26876,15 +27117,15 @@
"binop": null,
"updateContext": null
},
- "start": 4233,
- "end": 4234,
+ "start": 4269,
+ "end": 4270,
"loc": {
"start": {
- "line": 172,
+ "line": 173,
"column": 42
},
"end": {
- "line": 172,
+ "line": 173,
"column": 43
}
}
@@ -26892,15 +27133,15 @@
{
"type": "CommentBlock",
"value": "*\n * Default props for FieldGroups\n *\n * @type {{isBlockInput: boolean, isRequired: boolean, help: string}}\n ",
- "start": 4236,
- "end": 4349,
+ "start": 4272,
+ "end": 4385,
"loc": {
"start": {
- "line": 174,
+ "line": 175,
"column": 0
},
"end": {
- "line": 178,
+ "line": 179,
"column": 3
}
}
@@ -26918,15 +27159,15 @@
"binop": null
},
"value": "FieldGroup",
- "start": 4350,
- "end": 4360,
+ "start": 4386,
+ "end": 4396,
"loc": {
"start": {
- "line": 179,
+ "line": 180,
"column": 0
},
"end": {
- "line": 179,
+ "line": 180,
"column": 10
}
}
@@ -26944,15 +27185,15 @@
"binop": null,
"updateContext": null
},
- "start": 4360,
- "end": 4361,
+ "start": 4396,
+ "end": 4397,
"loc": {
"start": {
- "line": 179,
+ "line": 180,
"column": 10
},
"end": {
- "line": 179,
+ "line": 180,
"column": 11
}
}
@@ -26970,15 +27211,15 @@
"binop": null
},
"value": "defaultProps",
- "start": 4361,
- "end": 4373,
+ "start": 4397,
+ "end": 4409,
"loc": {
"start": {
- "line": 179,
+ "line": 180,
"column": 11
},
"end": {
- "line": 179,
+ "line": 180,
"column": 23
}
}
@@ -26997,15 +27238,15 @@
"updateContext": null
},
"value": "=",
- "start": 4374,
- "end": 4375,
+ "start": 4410,
+ "end": 4411,
"loc": {
"start": {
- "line": 179,
+ "line": 180,
"column": 24
},
"end": {
- "line": 179,
+ "line": 180,
"column": 25
}
}
@@ -27022,15 +27263,15 @@
"postfix": false,
"binop": null
},
- "start": 4376,
- "end": 4377,
+ "start": 4412,
+ "end": 4413,
"loc": {
"start": {
- "line": 179,
+ "line": 180,
"column": 26
},
"end": {
- "line": 179,
+ "line": 180,
"column": 27
}
}
@@ -27048,15 +27289,15 @@
"binop": null
},
"value": "isBlockInput",
- "start": 4379,
- "end": 4391,
+ "start": 4415,
+ "end": 4427,
"loc": {
"start": {
- "line": 180,
+ "line": 181,
"column": 1
},
"end": {
- "line": 180,
+ "line": 181,
"column": 13
}
}
@@ -27074,15 +27315,15 @@
"binop": null,
"updateContext": null
},
- "start": 4391,
- "end": 4392,
+ "start": 4427,
+ "end": 4428,
"loc": {
"start": {
- "line": 180,
+ "line": 181,
"column": 13
},
"end": {
- "line": 180,
+ "line": 181,
"column": 14
}
}
@@ -27102,15 +27343,15 @@
"updateContext": null
},
"value": "true",
- "start": 4393,
- "end": 4397,
+ "start": 4429,
+ "end": 4433,
"loc": {
"start": {
- "line": 180,
+ "line": 181,
"column": 15
},
"end": {
- "line": 180,
+ "line": 181,
"column": 19
}
}
@@ -27128,15 +27369,15 @@
"binop": null,
"updateContext": null
},
- "start": 4397,
- "end": 4398,
+ "start": 4433,
+ "end": 4434,
"loc": {
"start": {
- "line": 180,
+ "line": 181,
"column": 19
},
"end": {
- "line": 180,
+ "line": 181,
"column": 20
}
}
@@ -27154,15 +27395,15 @@
"binop": null
},
"value": "isRequired",
- "start": 4400,
- "end": 4410,
+ "start": 4436,
+ "end": 4446,
"loc": {
"start": {
- "line": 181,
+ "line": 182,
"column": 1
},
"end": {
- "line": 181,
+ "line": 182,
"column": 11
}
}
@@ -27180,15 +27421,15 @@
"binop": null,
"updateContext": null
},
- "start": 4410,
- "end": 4411,
+ "start": 4446,
+ "end": 4447,
"loc": {
"start": {
- "line": 181,
+ "line": 182,
"column": 11
},
"end": {
- "line": 181,
+ "line": 182,
"column": 12
}
}
@@ -27208,15 +27449,15 @@
"updateContext": null
},
"value": "false",
- "start": 4412,
- "end": 4417,
+ "start": 4448,
+ "end": 4453,
"loc": {
"start": {
- "line": 181,
+ "line": 182,
"column": 13
},
"end": {
- "line": 181,
+ "line": 182,
"column": 18
}
}
@@ -27234,15 +27475,15 @@
"binop": null,
"updateContext": null
},
- "start": 4417,
- "end": 4418,
+ "start": 4453,
+ "end": 4454,
"loc": {
"start": {
- "line": 181,
+ "line": 182,
"column": 18
},
"end": {
- "line": 181,
+ "line": 182,
"column": 19
}
}
@@ -27260,15 +27501,15 @@
"binop": null
},
"value": "help",
- "start": 4420,
- "end": 4424,
+ "start": 4456,
+ "end": 4460,
"loc": {
"start": {
- "line": 182,
+ "line": 183,
"column": 1
},
"end": {
- "line": 182,
+ "line": 183,
"column": 5
}
}
@@ -27286,15 +27527,15 @@
"binop": null,
"updateContext": null
},
- "start": 4424,
- "end": 4425,
+ "start": 4460,
+ "end": 4461,
"loc": {
"start": {
- "line": 182,
+ "line": 183,
"column": 5
},
"end": {
- "line": 182,
+ "line": 183,
"column": 6
}
}
@@ -27313,15 +27554,15 @@
"updateContext": null
},
"value": "",
- "start": 4426,
- "end": 4428,
+ "start": 4462,
+ "end": 4464,
"loc": {
"start": {
- "line": 182,
+ "line": 183,
"column": 7
},
"end": {
- "line": 182,
+ "line": 183,
"column": 9
}
}
@@ -27338,15 +27579,15 @@
"postfix": false,
"binop": null
},
- "start": 4429,
- "end": 4430,
+ "start": 4465,
+ "end": 4466,
"loc": {
"start": {
- "line": 183,
+ "line": 184,
"column": 0
},
"end": {
- "line": 183,
+ "line": 184,
"column": 1
}
}
@@ -27364,15 +27605,15 @@
"binop": null,
"updateContext": null
},
- "start": 4430,
- "end": 4431,
+ "start": 4466,
+ "end": 4467,
"loc": {
"start": {
- "line": 183,
+ "line": 184,
"column": 1
},
"end": {
- "line": 183,
+ "line": 184,
"column": 2
}
}
@@ -27380,15 +27621,15 @@
{
"type": "CommentBlock",
"value": "*\n * Creates the FieldGroup's label component\n *\n * @param {Object} props\n * @return {*}\n * @constructor\n ",
- "start": 4433,
- "end": 4543,
+ "start": 4469,
+ "end": 4579,
"loc": {
"start": {
- "line": 185,
+ "line": 186,
"column": 0
},
"end": {
- "line": 191,
+ "line": 192,
"column": 3
}
}
@@ -27406,15 +27647,15 @@
"binop": null
},
"value": "FieldGroup",
- "start": 4544,
- "end": 4554,
+ "start": 4580,
+ "end": 4590,
"loc": {
"start": {
- "line": 192,
+ "line": 193,
"column": 0
},
"end": {
- "line": 192,
+ "line": 193,
"column": 10
}
}
@@ -27432,15 +27673,15 @@
"binop": null,
"updateContext": null
},
- "start": 4554,
- "end": 4555,
+ "start": 4590,
+ "end": 4591,
"loc": {
"start": {
- "line": 192,
+ "line": 193,
"column": 10
},
"end": {
- "line": 192,
+ "line": 193,
"column": 11
}
}
@@ -27458,15 +27699,15 @@
"binop": null
},
"value": "Label",
- "start": 4555,
- "end": 4560,
+ "start": 4591,
+ "end": 4596,
"loc": {
"start": {
- "line": 192,
+ "line": 193,
"column": 11
},
"end": {
- "line": 192,
+ "line": 193,
"column": 16
}
}
@@ -27485,15 +27726,15 @@
"updateContext": null
},
"value": "=",
- "start": 4561,
- "end": 4562,
+ "start": 4597,
+ "end": 4598,
"loc": {
"start": {
- "line": 192,
+ "line": 193,
"column": 17
},
"end": {
- "line": 192,
+ "line": 193,
"column": 18
}
}
@@ -27510,15 +27751,15 @@
"postfix": false,
"binop": null
},
- "start": 4563,
- "end": 4564,
+ "start": 4599,
+ "end": 4600,
"loc": {
"start": {
- "line": 192,
+ "line": 193,
"column": 19
},
"end": {
- "line": 192,
+ "line": 193,
"column": 20
}
}
@@ -27536,15 +27777,15 @@
"binop": null
},
"value": "props",
- "start": 4564,
- "end": 4569,
+ "start": 4600,
+ "end": 4605,
"loc": {
"start": {
- "line": 192,
+ "line": 193,
"column": 20
},
"end": {
- "line": 192,
+ "line": 193,
"column": 25
}
}
@@ -27561,15 +27802,15 @@
"postfix": false,
"binop": null
},
- "start": 4569,
- "end": 4570,
+ "start": 4605,
+ "end": 4606,
"loc": {
"start": {
- "line": 192,
+ "line": 193,
"column": 25
},
"end": {
- "line": 192,
+ "line": 193,
"column": 26
}
}
@@ -27587,15 +27828,15 @@
"binop": null,
"updateContext": null
},
- "start": 4571,
- "end": 4573,
+ "start": 4607,
+ "end": 4609,
"loc": {
"start": {
- "line": 192,
+ "line": 193,
"column": 27
},
"end": {
- "line": 192,
+ "line": 193,
"column": 29
}
}
@@ -27612,15 +27853,15 @@
"postfix": false,
"binop": null
},
- "start": 4574,
- "end": 4575,
+ "start": 4610,
+ "end": 4611,
"loc": {
"start": {
- "line": 192,
+ "line": 193,
"column": 30
},
"end": {
- "line": 192,
+ "line": 193,
"column": 31
}
}
@@ -27640,15 +27881,15 @@
"updateContext": null
},
"value": "return",
- "start": 4577,
- "end": 4583,
+ "start": 4613,
+ "end": 4619,
"loc": {
"start": {
- "line": 193,
+ "line": 194,
"column": 1
},
"end": {
- "line": 193,
+ "line": 194,
"column": 7
}
}
@@ -27665,15 +27906,15 @@
"postfix": false,
"binop": null
},
- "start": 4584,
- "end": 4585,
+ "start": 4620,
+ "end": 4621,
"loc": {
"start": {
- "line": 193,
+ "line": 194,
"column": 8
},
"end": {
- "line": 193,
+ "line": 194,
"column": 9
}
}
@@ -27690,15 +27931,15 @@
"postfix": false,
"binop": null
},
- "start": 4588,
- "end": 4589,
+ "start": 4624,
+ "end": 4625,
"loc": {
"start": {
- "line": 194,
+ "line": 195,
"column": 2
},
"end": {
- "line": 194,
+ "line": 195,
"column": 3
}
}
@@ -27717,15 +27958,15 @@
"updateContext": null
},
"value": "label",
- "start": 4589,
- "end": 4594,
+ "start": 4625,
+ "end": 4630,
"loc": {
"start": {
- "line": 194,
+ "line": 195,
"column": 3
},
"end": {
- "line": 194,
+ "line": 195,
"column": 8
}
}
@@ -27744,15 +27985,15 @@
"updateContext": null
},
"value": "htmlFor",
- "start": 4598,
- "end": 4605,
+ "start": 4634,
+ "end": 4641,
"loc": {
"start": {
- "line": 195,
+ "line": 196,
"column": 3
},
"end": {
- "line": 195,
+ "line": 196,
"column": 10
}
}
@@ -27771,15 +28012,15 @@
"updateContext": null
},
"value": "=",
- "start": 4605,
- "end": 4606,
+ "start": 4641,
+ "end": 4642,
"loc": {
"start": {
- "line": 195,
+ "line": 196,
"column": 10
},
"end": {
- "line": 195,
+ "line": 196,
"column": 11
}
}
@@ -27796,15 +28037,15 @@
"postfix": false,
"binop": null
},
- "start": 4606,
- "end": 4607,
+ "start": 4642,
+ "end": 4643,
"loc": {
"start": {
- "line": 195,
+ "line": 196,
"column": 11
},
"end": {
- "line": 195,
+ "line": 196,
"column": 12
}
}
@@ -27822,15 +28063,15 @@
"binop": null
},
"value": "props",
- "start": 4607,
- "end": 4612,
+ "start": 4643,
+ "end": 4648,
"loc": {
"start": {
- "line": 195,
+ "line": 196,
"column": 12
},
"end": {
- "line": 195,
+ "line": 196,
"column": 17
}
}
@@ -27848,15 +28089,15 @@
"binop": null,
"updateContext": null
},
- "start": 4612,
- "end": 4613,
+ "start": 4648,
+ "end": 4649,
"loc": {
"start": {
- "line": 195,
+ "line": 196,
"column": 17
},
"end": {
- "line": 195,
+ "line": 196,
"column": 18
}
}
@@ -27874,15 +28115,15 @@
"binop": null
},
"value": "id",
- "start": 4613,
- "end": 4615,
+ "start": 4649,
+ "end": 4651,
"loc": {
"start": {
- "line": 195,
+ "line": 196,
"column": 18
},
"end": {
- "line": 195,
+ "line": 196,
"column": 20
}
}
@@ -27899,15 +28140,15 @@
"postfix": false,
"binop": null
},
- "start": 4615,
- "end": 4616,
+ "start": 4651,
+ "end": 4652,
"loc": {
"start": {
- "line": 195,
+ "line": 196,
"column": 20
},
"end": {
- "line": 195,
+ "line": 196,
"column": 21
}
}
@@ -27924,15 +28165,15 @@
"postfix": false,
"binop": null
},
- "start": 4619,
- "end": 4620,
+ "start": 4655,
+ "end": 4656,
"loc": {
"start": {
- "line": 196,
+ "line": 197,
"column": 2
},
"end": {
- "line": 196,
+ "line": 197,
"column": 3
}
}
@@ -27951,15 +28192,15 @@
"updateContext": null
},
"value": "\n\t\t\t",
- "start": 4620,
- "end": 4624,
+ "start": 4656,
+ "end": 4660,
"loc": {
"start": {
- "line": 196,
+ "line": 197,
"column": 3
},
"end": {
- "line": 197,
+ "line": 198,
"column": 3
}
}
@@ -27976,15 +28217,15 @@
"postfix": false,
"binop": null
},
- "start": 4624,
- "end": 4625,
+ "start": 4660,
+ "end": 4661,
"loc": {
"start": {
- "line": 197,
+ "line": 198,
"column": 3
},
"end": {
- "line": 197,
+ "line": 198,
"column": 4
}
}
@@ -28002,15 +28243,15 @@
"binop": null
},
"value": "props",
- "start": 4625,
- "end": 4630,
+ "start": 4661,
+ "end": 4666,
"loc": {
"start": {
- "line": 197,
+ "line": 198,
"column": 4
},
"end": {
- "line": 197,
+ "line": 198,
"column": 9
}
}
@@ -28028,15 +28269,15 @@
"binop": null,
"updateContext": null
},
- "start": 4630,
- "end": 4631,
+ "start": 4666,
+ "end": 4667,
"loc": {
"start": {
- "line": 197,
+ "line": 198,
"column": 9
},
"end": {
- "line": 197,
+ "line": 198,
"column": 10
}
}
@@ -28054,15 +28295,15 @@
"binop": null
},
"value": "label",
- "start": 4631,
- "end": 4636,
+ "start": 4667,
+ "end": 4672,
"loc": {
"start": {
- "line": 197,
+ "line": 198,
"column": 10
},
"end": {
- "line": 197,
+ "line": 198,
"column": 15
}
}
@@ -28079,15 +28320,15 @@
"postfix": false,
"binop": null
},
- "start": 4636,
- "end": 4637,
+ "start": 4672,
+ "end": 4673,
"loc": {
"start": {
- "line": 197,
+ "line": 198,
"column": 15
},
"end": {
- "line": 197,
+ "line": 198,
"column": 16
}
}
@@ -28106,15 +28347,15 @@
"updateContext": null
},
"value": "\n\t\t",
- "start": 4637,
- "end": 4640,
+ "start": 4673,
+ "end": 4676,
"loc": {
"start": {
- "line": 197,
+ "line": 198,
"column": 16
},
"end": {
- "line": 198,
+ "line": 199,
"column": 2
}
}
@@ -28131,15 +28372,15 @@
"postfix": false,
"binop": null
},
- "start": 4640,
- "end": 4641,
+ "start": 4676,
+ "end": 4677,
"loc": {
"start": {
- "line": 198,
+ "line": 199,
"column": 2
},
"end": {
- "line": 198,
+ "line": 199,
"column": 3
}
}
@@ -28158,15 +28399,15 @@
"updateContext": null
},
"value": "/",
- "start": 4641,
- "end": 4642,
+ "start": 4677,
+ "end": 4678,
"loc": {
"start": {
- "line": 198,
+ "line": 199,
"column": 3
},
"end": {
- "line": 198,
+ "line": 199,
"column": 4
}
}
@@ -28185,15 +28426,15 @@
"updateContext": null
},
"value": "label",
- "start": 4642,
- "end": 4647,
+ "start": 4678,
+ "end": 4683,
"loc": {
"start": {
- "line": 198,
+ "line": 199,
"column": 4
},
"end": {
- "line": 198,
+ "line": 199,
"column": 9
}
}
@@ -28210,15 +28451,15 @@
"postfix": false,
"binop": null
},
- "start": 4647,
- "end": 4648,
+ "start": 4683,
+ "end": 4684,
"loc": {
"start": {
- "line": 198,
+ "line": 199,
"column": 9
},
"end": {
- "line": 198,
+ "line": 199,
"column": 10
}
}
@@ -28235,15 +28476,15 @@
"postfix": false,
"binop": null
},
- "start": 4650,
- "end": 4651,
+ "start": 4686,
+ "end": 4687,
"loc": {
"start": {
- "line": 199,
+ "line": 200,
"column": 1
},
"end": {
- "line": 199,
+ "line": 200,
"column": 2
}
}
@@ -28261,15 +28502,15 @@
"binop": null,
"updateContext": null
},
- "start": 4651,
- "end": 4652,
+ "start": 4687,
+ "end": 4688,
"loc": {
"start": {
- "line": 199,
+ "line": 200,
"column": 2
},
"end": {
- "line": 199,
+ "line": 200,
"column": 3
}
}
@@ -28286,15 +28527,15 @@
"postfix": false,
"binop": null
},
- "start": 4653,
- "end": 4654,
+ "start": 4689,
+ "end": 4690,
"loc": {
"start": {
- "line": 200,
+ "line": 201,
"column": 0
},
"end": {
- "line": 200,
+ "line": 201,
"column": 1
}
}
@@ -28312,15 +28553,15 @@
"binop": null,
"updateContext": null
},
- "start": 4654,
- "end": 4655,
+ "start": 4690,
+ "end": 4691,
"loc": {
"start": {
- "line": 200,
+ "line": 201,
"column": 1
},
"end": {
- "line": 200,
+ "line": 201,
"column": 2
}
}
@@ -28338,15 +28579,15 @@
"binop": null,
"updateContext": null
},
- "start": 4655,
- "end": 4655,
+ "start": 4691,
+ "end": 4691,
"loc": {
"start": {
- "line": 200,
+ "line": 201,
"column": 2
},
"end": {
- "line": 200,
+ "line": 201,
"column": 2
}
}
diff --git a/docs/ast/source/components/fields/FieldInner.js.json b/docs/ast/source/components/fields/FieldInner.js.json
index 95565e2..40d2345 100644
--- a/docs/ast/source/components/fields/FieldInner.js.json
+++ b/docs/ast/source/components/fields/FieldInner.js.json
@@ -1,28 +1,28 @@
{
"type": "File",
"start": 0,
- "end": 1954,
+ "end": 2356,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
- "line": 93,
+ "line": 109,
"column": 2
}
},
"program": {
"type": "Program",
"start": 0,
- "end": 1954,
+ "end": 2356,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
- "line": 93,
+ "line": 109,
"column": 2
}
},
@@ -663,20 +663,106 @@
"raw": "'../RenderGroup'"
},
"value": "../RenderGroup"
+ }
+ },
+ {
+ "type": "ImportDeclaration",
+ "start": 324,
+ "end": 363,
+ "loc": {
+ "start": {
+ "line": 9,
+ "column": 0
+ },
+ "end": {
+ "line": 9,
+ "column": 39
+ }
+ },
+ "specifiers": [
+ {
+ "type": "ImportSpecifier",
+ "start": 332,
+ "end": 338,
+ "loc": {
+ "start": {
+ "line": 9,
+ "column": 8
+ },
+ "end": {
+ "line": 9,
+ "column": 14
+ }
+ },
+ "imported": {
+ "type": "Identifier",
+ "start": 332,
+ "end": 338,
+ "loc": {
+ "start": {
+ "line": 9,
+ "column": 8
+ },
+ "end": {
+ "line": 9,
+ "column": 14
+ },
+ "identifierName": "Button"
+ },
+ "name": "Button"
+ },
+ "local": {
+ "type": "Identifier",
+ "start": 332,
+ "end": 338,
+ "loc": {
+ "start": {
+ "line": 9,
+ "column": 8
+ },
+ "end": {
+ "line": 9,
+ "column": 14
+ },
+ "identifierName": "Button"
+ },
+ "name": "Button"
+ }
+ }
+ ],
+ "source": {
+ "type": "StringLiteral",
+ "start": 345,
+ "end": 362,
+ "loc": {
+ "start": {
+ "line": 9,
+ "column": 21
+ },
+ "end": {
+ "line": 9,
+ "column": 38
+ }
+ },
+ "extra": {
+ "rawValue": "./button/Button",
+ "raw": "\"./button/Button\""
+ },
+ "value": "./button/Button"
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * Creates the field inside of a field group\n *\n * @param {Object} props\n * @returns {*}\n * @constructor\n ",
- "start": 324,
- "end": 436,
+ "start": 365,
+ "end": 477,
"loc": {
"start": {
- "line": 9,
+ "line": 11,
"column": 0
},
"end": {
- "line": 15,
+ "line": 17,
"column": 3
}
}
@@ -685,15 +771,15 @@
},
{
"type": "ExportNamedDeclaration",
- "start": 437,
- "end": 1650,
+ "start": 478,
+ "end": 2052,
"loc": {
"start": {
- "line": 16,
+ "line": 18,
"column": 0
},
"end": {
- "line": 74,
+ "line": 90,
"column": 2
}
},
@@ -701,44 +787,44 @@
"source": null,
"declaration": {
"type": "VariableDeclaration",
- "start": 444,
- "end": 1650,
+ "start": 485,
+ "end": 2052,
"loc": {
"start": {
- "line": 16,
+ "line": 18,
"column": 7
},
"end": {
- "line": 74,
+ "line": 90,
"column": 2
}
},
"declarations": [
{
"type": "VariableDeclarator",
- "start": 450,
- "end": 1649,
+ "start": 491,
+ "end": 2051,
"loc": {
"start": {
- "line": 16,
+ "line": 18,
"column": 13
},
"end": {
- "line": 74,
+ "line": 90,
"column": 1
}
},
"id": {
"type": "Identifier",
- "start": 450,
- "end": 460,
+ "start": 491,
+ "end": 501,
"loc": {
"start": {
- "line": 16,
+ "line": 18,
"column": 13
},
"end": {
- "line": 16,
+ "line": 18,
"column": 23
},
"identifierName": "FieldInner"
@@ -748,29 +834,29 @@
},
"init": {
"type": "ArrowFunctionExpression",
- "start": 463,
- "end": 1649,
+ "start": 504,
+ "end": 2051,
"loc": {
"start": {
- "line": 16,
+ "line": 18,
"column": 26
},
"end": {
- "line": 74,
+ "line": 90,
"column": 1
}
},
"id": {
"type": "Identifier",
- "start": 450,
- "end": 460,
+ "start": 491,
+ "end": 501,
"loc": {
"start": {
- "line": 16,
+ "line": 18,
"column": 13
},
"end": {
- "line": 16,
+ "line": 18,
"column": 23
},
"identifierName": "FieldInner"
@@ -784,15 +870,15 @@
"params": [
{
"type": "Identifier",
- "start": 464,
- "end": 469,
+ "start": 505,
+ "end": 510,
"loc": {
"start": {
- "line": 16,
+ "line": 18,
"column": 27
},
"end": {
- "line": 16,
+ "line": 18,
"column": 32
},
"identifierName": "props"
@@ -802,44 +888,44 @@
],
"body": {
"type": "BlockStatement",
- "start": 474,
- "end": 1649,
+ "start": 515,
+ "end": 2051,
"loc": {
"start": {
- "line": 16,
+ "line": 18,
"column": 37
},
"end": {
- "line": 74,
+ "line": 90,
"column": 1
}
},
"body": [
{
"type": "FunctionDeclaration",
- "start": 583,
- "end": 661,
+ "start": 624,
+ "end": 702,
"loc": {
"start": {
- "line": 23,
+ "line": 25,
"column": 1
},
"end": {
- "line": 25,
+ "line": 27,
"column": 2
}
},
"id": {
"type": "Identifier",
- "start": 592,
- "end": 602,
+ "start": 633,
+ "end": 643,
"loc": {
"start": {
- "line": 23,
+ "line": 25,
"column": 10
},
"end": {
- "line": 23,
+ "line": 25,
"column": 20
},
"identifierName": "ariaIdAttr"
@@ -853,58 +939,58 @@
"params": [],
"body": {
"type": "BlockStatement",
- "start": 605,
- "end": 661,
+ "start": 646,
+ "end": 702,
"loc": {
"start": {
- "line": 23,
+ "line": 25,
"column": 23
},
"end": {
- "line": 25,
+ "line": 27,
"column": 2
}
},
"body": [
{
"type": "ReturnStatement",
- "start": 609,
- "end": 658,
+ "start": 650,
+ "end": 699,
"loc": {
"start": {
- "line": 24,
+ "line": 26,
"column": 2
},
"end": {
- "line": 24,
+ "line": 26,
"column": 51
}
},
"argument": {
"type": "CallExpression",
- "start": 616,
- "end": 657,
+ "start": 657,
+ "end": 698,
"loc": {
"start": {
- "line": 24,
+ "line": 26,
"column": 9
},
"end": {
- "line": 24,
+ "line": 26,
"column": 50
}
},
"callee": {
"type": "Identifier",
- "start": 616,
- "end": 635,
+ "start": 657,
+ "end": 676,
"loc": {
"start": {
- "line": 24,
+ "line": 26,
"column": 9
},
"end": {
- "line": 24,
+ "line": 26,
"column": 28
},
"identifierName": "ariaDescribedbyAttr"
@@ -914,29 +1000,29 @@
"arguments": [
{
"type": "MemberExpression",
- "start": 636,
- "end": 644,
+ "start": 677,
+ "end": 685,
"loc": {
"start": {
- "line": 24,
+ "line": 26,
"column": 29
},
"end": {
- "line": 24,
+ "line": 26,
"column": 37
}
},
"object": {
"type": "Identifier",
- "start": 636,
- "end": 641,
+ "start": 677,
+ "end": 682,
"loc": {
"start": {
- "line": 24,
+ "line": 26,
"column": 29
},
"end": {
- "line": 24,
+ "line": 26,
"column": 34
},
"identifierName": "props"
@@ -945,15 +1031,15 @@
},
"property": {
"type": "Identifier",
- "start": 642,
- "end": 644,
+ "start": 683,
+ "end": 685,
"loc": {
"start": {
- "line": 24,
+ "line": 26,
"column": 35
},
"end": {
- "line": 24,
+ "line": 26,
"column": 37
},
"identifierName": "id"
@@ -964,29 +1050,29 @@
},
{
"type": "MemberExpression",
- "start": 646,
- "end": 656,
+ "start": 687,
+ "end": 697,
"loc": {
"start": {
- "line": 24,
+ "line": 26,
"column": 39
},
"end": {
- "line": 24,
+ "line": 26,
"column": 49
}
},
"object": {
"type": "Identifier",
- "start": 646,
- "end": 651,
+ "start": 687,
+ "end": 692,
"loc": {
"start": {
- "line": 24,
+ "line": 26,
"column": 39
},
"end": {
- "line": 24,
+ "line": 26,
"column": 44
},
"identifierName": "props"
@@ -995,15 +1081,15 @@
},
"property": {
"type": "Identifier",
- "start": 652,
- "end": 656,
+ "start": 693,
+ "end": 697,
"loc": {
"start": {
- "line": 24,
+ "line": 26,
"column": 45
},
"end": {
- "line": 24,
+ "line": 26,
"column": 49
},
"identifierName": "help"
@@ -1023,15 +1109,15 @@
{
"type": "CommentBlock",
"value": "*\n\t * Get the ID for the description element if it will be created\n\t *\n\t * @return {String|null}\n\t ",
- "start": 478,
- "end": 581,
+ "start": 519,
+ "end": 622,
"loc": {
"start": {
- "line": 18,
+ "line": 20,
"column": 1
},
"end": {
- "line": 22,
+ "line": 24,
"column": 4
}
}
@@ -1041,15 +1127,15 @@
{
"type": "CommentBlock",
"value": "*\n\t * Get the className prop for the\n\t *\n\t * @return {String}\n\t ",
- "start": 664,
- "end": 732,
+ "start": 705,
+ "end": 773,
"loc": {
"start": {
- "line": 27,
+ "line": 29,
"column": 1
},
"end": {
- "line": 31,
+ "line": 33,
"column": 4
}
}
@@ -1058,29 +1144,29 @@
},
{
"type": "FunctionDeclaration",
- "start": 734,
- "end": 852,
+ "start": 775,
+ "end": 896,
"loc": {
"start": {
- "line": 32,
+ "line": 34,
"column": 1
},
"end": {
- "line": 38,
+ "line": 40,
"column": 2
}
},
"id": {
"type": "Identifier",
- "start": 743,
- "end": 757,
+ "start": 784,
+ "end": 798,
"loc": {
"start": {
- "line": 32,
+ "line": 34,
"column": 10
},
"end": {
- "line": 32,
+ "line": 34,
"column": 24
},
"identifierName": "inputClassName"
@@ -1094,58 +1180,58 @@
"params": [],
"body": {
"type": "BlockStatement",
- "start": 760,
- "end": 852,
+ "start": 801,
+ "end": 896,
"loc": {
"start": {
- "line": 32,
+ "line": 34,
"column": 27
},
"end": {
- "line": 38,
+ "line": 40,
"column": 2
}
},
"body": [
{
"type": "ReturnStatement",
- "start": 764,
- "end": 849,
+ "start": 805,
+ "end": 893,
"loc": {
"start": {
- "line": 33,
+ "line": 35,
"column": 2
},
"end": {
- "line": 37,
+ "line": 39,
"column": 4
}
},
"argument": {
"type": "CallExpression",
- "start": 771,
- "end": 848,
+ "start": 812,
+ "end": 892,
"loc": {
"start": {
- "line": 33,
+ "line": 35,
"column": 9
},
"end": {
- "line": 37,
+ "line": 39,
"column": 3
}
},
"callee": {
"type": "Identifier",
- "start": 771,
- "end": 781,
+ "start": 812,
+ "end": 822,
"loc": {
"start": {
- "line": 33,
+ "line": 35,
"column": 9
},
"end": {
- "line": 33,
+ "line": 35,
"column": 19
},
"identifierName": "classNames"
@@ -1155,45 +1241,45 @@
"arguments": [
{
"type": "ArrayExpression",
- "start": 782,
- "end": 844,
+ "start": 823,
+ "end": 888,
"loc": {
"start": {
- "line": 33,
+ "line": 35,
"column": 20
},
"end": {
- "line": 36,
- "column": 3
+ "line": 38,
+ "column": 4
}
},
"elements": [
{
"type": "MemberExpression",
- "start": 787,
- "end": 807,
+ "start": 829,
+ "end": 849,
"loc": {
"start": {
- "line": 34,
- "column": 3
+ "line": 36,
+ "column": 4
},
"end": {
- "line": 34,
- "column": 23
+ "line": 36,
+ "column": 24
}
},
"object": {
"type": "Identifier",
- "start": 787,
- "end": 792,
+ "start": 829,
+ "end": 834,
"loc": {
"start": {
- "line": 34,
- "column": 3
+ "line": 36,
+ "column": 4
},
"end": {
- "line": 34,
- "column": 8
+ "line": 36,
+ "column": 9
},
"identifierName": "props"
},
@@ -1201,16 +1287,16 @@
},
"property": {
"type": "Identifier",
- "start": 793,
- "end": 807,
+ "start": 835,
+ "end": 849,
"loc": {
"start": {
- "line": 34,
- "column": 9
+ "line": 36,
+ "column": 10
},
"end": {
- "line": 34,
- "column": 23
+ "line": 36,
+ "column": 24
},
"identifierName": "fieldClassName"
},
@@ -1220,44 +1306,44 @@
},
{
"type": "MemberExpression",
- "start": 812,
- "end": 840,
+ "start": 855,
+ "end": 883,
"loc": {
"start": {
- "line": 35,
- "column": 3
+ "line": 37,
+ "column": 4
},
"end": {
- "line": 35,
- "column": 31
+ "line": 37,
+ "column": 32
}
},
"object": {
"type": "MemberExpression",
- "start": 812,
- "end": 834,
+ "start": 855,
+ "end": 877,
"loc": {
"start": {
- "line": 35,
- "column": 3
+ "line": 37,
+ "column": 4
},
"end": {
- "line": 35,
- "column": 25
+ "line": 37,
+ "column": 26
}
},
"object": {
"type": "Identifier",
- "start": 812,
- "end": 823,
+ "start": 855,
+ "end": 866,
"loc": {
"start": {
- "line": 35,
- "column": 3
+ "line": 37,
+ "column": 4
},
"end": {
- "line": 35,
- "column": 14
+ "line": 37,
+ "column": 15
},
"identifierName": "RenderGroup"
},
@@ -1265,16 +1351,16 @@
},
"property": {
"type": "Identifier",
- "start": 824,
- "end": 834,
+ "start": 867,
+ "end": 877,
"loc": {
"start": {
- "line": 35,
- "column": 15
+ "line": 37,
+ "column": 16
},
"end": {
- "line": 35,
- "column": 25
+ "line": 37,
+ "column": 26
},
"identifierName": "classNames"
},
@@ -1284,16 +1370,16 @@
},
"property": {
"type": "Identifier",
- "start": 835,
- "end": 840,
+ "start": 878,
+ "end": 883,
"loc": {
"start": {
- "line": 35,
- "column": 26
+ "line": 37,
+ "column": 27
},
"end": {
- "line": 35,
- "column": 31
+ "line": 37,
+ "column": 32
},
"identifierName": "input"
},
@@ -1313,15 +1399,15 @@
{
"type": "CommentBlock",
"value": "*\n\t * Get the className prop for the\n\t *\n\t * @return {String}\n\t ",
- "start": 664,
- "end": 732,
+ "start": 705,
+ "end": 773,
"loc": {
"start": {
- "line": 27,
+ "line": 29,
"column": 1
},
"end": {
- "line": 31,
+ "line": 33,
"column": 4
}
}
@@ -1330,43 +1416,43 @@
},
{
"type": "SwitchStatement",
- "start": 855,
- "end": 1646,
+ "start": 899,
+ "end": 2048,
"loc": {
"start": {
- "line": 40,
+ "line": 42,
"column": 1
},
"end": {
- "line": 72,
+ "line": 88,
"column": 2
}
},
"discriminant": {
"type": "MemberExpression",
- "start": 863,
- "end": 873,
+ "start": 907,
+ "end": 917,
"loc": {
"start": {
- "line": 40,
+ "line": 42,
"column": 9
},
"end": {
- "line": 40,
+ "line": 42,
"column": 19
}
},
"object": {
"type": "Identifier",
- "start": 863,
- "end": 868,
+ "start": 907,
+ "end": 912,
"loc": {
"start": {
- "line": 40,
+ "line": 42,
"column": 9
},
"end": {
- "line": 40,
+ "line": 42,
"column": 14
},
"identifierName": "props"
@@ -1375,15 +1461,15 @@
},
"property": {
"type": "Identifier",
- "start": 869,
- "end": 873,
+ "start": 913,
+ "end": 917,
"loc": {
"start": {
- "line": 40,
+ "line": 42,
"column": 15
},
"end": {
- "line": 40,
+ "line": 42,
"column": 19
},
"identifierName": "type"
@@ -1395,31 +1481,31 @@
"cases": [
{
"type": "SwitchCase",
- "start": 878,
- "end": 892,
+ "start": 923,
+ "end": 937,
"loc": {
"start": {
- "line": 41,
- "column": 1
+ "line": 43,
+ "column": 2
},
"end": {
- "line": 41,
- "column": 15
+ "line": 43,
+ "column": 16
}
},
"consequent": [],
"test": {
"type": "StringLiteral",
- "start": 883,
- "end": 891,
+ "start": 928,
+ "end": 936,
"loc": {
"start": {
- "line": 41,
- "column": 6
+ "line": 43,
+ "column": 7
},
"end": {
- "line": 41,
- "column": 14
+ "line": 43,
+ "column": 15
}
},
"extra": {
@@ -1431,60 +1517,60 @@
},
{
"type": "SwitchCase",
- "start": 894,
- "end": 1314,
+ "start": 940,
+ "end": 1375,
"loc": {
"start": {
- "line": 42,
- "column": 1
+ "line": 44,
+ "column": 2
},
"end": {
- "line": 57,
- "column": 4
+ "line": 59,
+ "column": 5
}
},
"consequent": [
{
"type": "VariableDeclaration",
- "start": 913,
- "end": 979,
+ "start": 960,
+ "end": 1026,
"loc": {
"start": {
- "line": 43,
- "column": 2
+ "line": 45,
+ "column": 3
},
"end": {
- "line": 43,
- "column": 68
+ "line": 45,
+ "column": 69
}
},
"declarations": [
{
"type": "VariableDeclarator",
- "start": 919,
- "end": 978,
+ "start": 966,
+ "end": 1025,
"loc": {
"start": {
- "line": 43,
- "column": 8
+ "line": 45,
+ "column": 9
},
"end": {
- "line": 43,
- "column": 67
+ "line": 45,
+ "column": 68
}
},
"id": {
"type": "Identifier",
- "start": 919,
- "end": 926,
+ "start": 966,
+ "end": 973,
"loc": {
"start": {
- "line": 43,
- "column": 8
+ "line": 45,
+ "column": 9
},
"end": {
- "line": 43,
- "column": 15
+ "line": 45,
+ "column": 16
},
"identifierName": "options"
},
@@ -1492,58 +1578,58 @@
},
"init": {
"type": "ConditionalExpression",
- "start": 929,
- "end": 978,
+ "start": 976,
+ "end": 1025,
"loc": {
"start": {
- "line": 43,
- "column": 18
+ "line": 45,
+ "column": 19
},
"end": {
- "line": 43,
- "column": 67
+ "line": 45,
+ "column": 68
}
},
"test": {
"type": "CallExpression",
- "start": 929,
- "end": 957,
+ "start": 976,
+ "end": 1004,
"loc": {
"start": {
- "line": 43,
- "column": 18
+ "line": 45,
+ "column": 19
},
"end": {
- "line": 43,
- "column": 46
+ "line": 45,
+ "column": 47
}
},
"callee": {
"type": "MemberExpression",
- "start": 929,
- "end": 942,
+ "start": 976,
+ "end": 989,
"loc": {
"start": {
- "line": 43,
- "column": 18
+ "line": 45,
+ "column": 19
},
"end": {
- "line": 43,
- "column": 31
+ "line": 45,
+ "column": 32
}
},
"object": {
"type": "Identifier",
- "start": 929,
- "end": 934,
+ "start": 976,
+ "end": 981,
"loc": {
"start": {
- "line": 43,
- "column": 18
+ "line": 45,
+ "column": 19
},
"end": {
- "line": 43,
- "column": 23
+ "line": 45,
+ "column": 24
},
"identifierName": "Array"
},
@@ -1551,16 +1637,16 @@
},
"property": {
"type": "Identifier",
- "start": 935,
- "end": 942,
+ "start": 982,
+ "end": 989,
"loc": {
"start": {
- "line": 43,
- "column": 24
+ "line": 45,
+ "column": 25
},
"end": {
- "line": 43,
- "column": 31
+ "line": 45,
+ "column": 32
},
"identifierName": "isArray"
},
@@ -1571,30 +1657,30 @@
"arguments": [
{
"type": "MemberExpression",
- "start": 943,
- "end": 956,
+ "start": 990,
+ "end": 1003,
"loc": {
"start": {
- "line": 43,
- "column": 32
+ "line": 45,
+ "column": 33
},
"end": {
- "line": 43,
- "column": 45
+ "line": 45,
+ "column": 46
}
},
"object": {
"type": "Identifier",
- "start": 943,
- "end": 948,
+ "start": 990,
+ "end": 995,
"loc": {
"start": {
- "line": 43,
- "column": 32
+ "line": 45,
+ "column": 33
},
"end": {
- "line": 43,
- "column": 37
+ "line": 45,
+ "column": 38
},
"identifierName": "props"
},
@@ -1602,16 +1688,16 @@
},
"property": {
"type": "Identifier",
- "start": 949,
- "end": 956,
+ "start": 996,
+ "end": 1003,
"loc": {
"start": {
- "line": 43,
- "column": 38
+ "line": 45,
+ "column": 39
},
"end": {
- "line": 43,
- "column": 45
+ "line": 45,
+ "column": 46
},
"identifierName": "options"
},
@@ -1623,30 +1709,30 @@
},
"consequent": {
"type": "MemberExpression",
- "start": 960,
- "end": 973,
+ "start": 1007,
+ "end": 1020,
"loc": {
"start": {
- "line": 43,
- "column": 49
+ "line": 45,
+ "column": 50
},
"end": {
- "line": 43,
- "column": 62
+ "line": 45,
+ "column": 63
}
},
"object": {
"type": "Identifier",
- "start": 960,
- "end": 965,
+ "start": 1007,
+ "end": 1012,
"loc": {
"start": {
- "line": 43,
- "column": 49
+ "line": 45,
+ "column": 50
},
"end": {
- "line": 43,
- "column": 54
+ "line": 45,
+ "column": 55
},
"identifierName": "props"
},
@@ -1654,16 +1740,16 @@
},
"property": {
"type": "Identifier",
- "start": 966,
- "end": 973,
+ "start": 1013,
+ "end": 1020,
"loc": {
"start": {
- "line": 43,
- "column": 55
+ "line": 45,
+ "column": 56
},
"end": {
- "line": 43,
- "column": 62
+ "line": 45,
+ "column": 63
},
"identifierName": "options"
},
@@ -1673,16 +1759,16 @@
},
"alternate": {
"type": "ArrayExpression",
- "start": 976,
- "end": 978,
+ "start": 1023,
+ "end": 1025,
"loc": {
"start": {
- "line": 43,
- "column": 65
+ "line": 45,
+ "column": 66
},
"end": {
- "line": 43,
- "column": 67
+ "line": 45,
+ "column": 68
}
},
"elements": []
@@ -1694,117 +1780,117 @@
},
{
"type": "ReturnStatement",
- "start": 982,
- "end": 1314,
+ "start": 1030,
+ "end": 1375,
"loc": {
"start": {
- "line": 44,
- "column": 2
+ "line": 46,
+ "column": 3
},
"end": {
- "line": 57,
- "column": 4
+ "line": 59,
+ "column": 5
}
},
"argument": {
"type": "JSXElement",
- "start": 994,
- "end": 1309,
+ "start": 1043,
+ "end": 1369,
"loc": {
"start": {
- "line": 45,
- "column": 3
+ "line": 47,
+ "column": 4
},
"end": {
- "line": 56,
- "column": 5
+ "line": 58,
+ "column": 6
}
},
"openingElement": {
"type": "JSXOpeningElement",
- "start": 994,
- "end": 1309,
+ "start": 1043,
+ "end": 1369,
"loc": {
"start": {
- "line": 45,
- "column": 3
+ "line": 47,
+ "column": 4
},
"end": {
- "line": 56,
- "column": 5
+ "line": 58,
+ "column": 6
}
},
"attributes": [
{
"type": "JSXAttribute",
- "start": 1011,
- "end": 1024,
+ "start": 1061,
+ "end": 1074,
"loc": {
"start": {
- "line": 46,
- "column": 4
+ "line": 48,
+ "column": 5
},
"end": {
- "line": 46,
- "column": 17
+ "line": 48,
+ "column": 18
}
},
"name": {
"type": "JSXIdentifier",
- "start": 1011,
- "end": 1013,
+ "start": 1061,
+ "end": 1063,
"loc": {
"start": {
- "line": 46,
- "column": 4
+ "line": 48,
+ "column": 5
},
"end": {
- "line": 46,
- "column": 6
+ "line": 48,
+ "column": 7
}
},
"name": "id"
},
"value": {
"type": "JSXExpressionContainer",
- "start": 1014,
- "end": 1024,
+ "start": 1064,
+ "end": 1074,
"loc": {
"start": {
- "line": 46,
- "column": 7
+ "line": 48,
+ "column": 8
},
"end": {
- "line": 46,
- "column": 17
+ "line": 48,
+ "column": 18
}
},
"expression": {
"type": "MemberExpression",
- "start": 1015,
- "end": 1023,
+ "start": 1065,
+ "end": 1073,
"loc": {
"start": {
- "line": 46,
- "column": 8
+ "line": 48,
+ "column": 9
},
"end": {
- "line": 46,
- "column": 16
+ "line": 48,
+ "column": 17
}
},
"object": {
"type": "Identifier",
- "start": 1015,
- "end": 1020,
+ "start": 1065,
+ "end": 1070,
"loc": {
"start": {
- "line": 46,
- "column": 8
+ "line": 48,
+ "column": 9
},
"end": {
- "line": 46,
- "column": 13
+ "line": 48,
+ "column": 14
},
"identifierName": "props"
},
@@ -1812,16 +1898,16 @@
},
"property": {
"type": "Identifier",
- "start": 1021,
- "end": 1023,
+ "start": 1071,
+ "end": 1073,
"loc": {
"start": {
- "line": 46,
- "column": 14
+ "line": 48,
+ "column": 15
},
"end": {
- "line": 46,
- "column": 16
+ "line": 48,
+ "column": 17
},
"identifierName": "id"
},
@@ -1833,74 +1919,74 @@
},
{
"type": "JSXAttribute",
- "start": 1029,
- "end": 1062,
+ "start": 1080,
+ "end": 1113,
"loc": {
"start": {
- "line": 47,
- "column": 4
+ "line": 49,
+ "column": 5
},
"end": {
- "line": 47,
- "column": 37
+ "line": 49,
+ "column": 38
}
},
"name": {
"type": "JSXIdentifier",
- "start": 1029,
- "end": 1043,
+ "start": 1080,
+ "end": 1094,
"loc": {
"start": {
- "line": 47,
- "column": 4
+ "line": 49,
+ "column": 5
},
"end": {
- "line": 47,
- "column": 18
+ "line": 49,
+ "column": 19
}
},
"name": "fieldClassName"
},
"value": {
"type": "JSXExpressionContainer",
- "start": 1044,
- "end": 1062,
+ "start": 1095,
+ "end": 1113,
"loc": {
"start": {
- "line": 47,
- "column": 19
+ "line": 49,
+ "column": 20
},
"end": {
- "line": 47,
- "column": 37
+ "line": 49,
+ "column": 38
}
},
"expression": {
"type": "CallExpression",
- "start": 1045,
- "end": 1061,
+ "start": 1096,
+ "end": 1112,
"loc": {
"start": {
- "line": 47,
- "column": 20
+ "line": 49,
+ "column": 21
},
"end": {
- "line": 47,
- "column": 36
+ "line": 49,
+ "column": 37
}
},
"callee": {
"type": "Identifier",
- "start": 1045,
- "end": 1059,
+ "start": 1096,
+ "end": 1110,
"loc": {
"start": {
- "line": 47,
- "column": 20
+ "line": 49,
+ "column": 21
},
"end": {
- "line": 47,
- "column": 34
+ "line": 49,
+ "column": 35
},
"identifierName": "inputClassName"
},
@@ -1912,74 +1998,74 @@
},
{
"type": "JSXAttribute",
- "start": 1067,
- "end": 1101,
+ "start": 1119,
+ "end": 1153,
"loc": {
"start": {
- "line": 48,
- "column": 4
+ "line": 50,
+ "column": 5
},
"end": {
- "line": 48,
- "column": 38
+ "line": 50,
+ "column": 39
}
},
"name": {
"type": "JSXIdentifier",
- "start": 1067,
- "end": 1086,
+ "start": 1119,
+ "end": 1138,
"loc": {
"start": {
- "line": 48,
- "column": 4
+ "line": 50,
+ "column": 5
},
"end": {
- "line": 48,
- "column": 23
+ "line": 50,
+ "column": 24
}
},
"name": "ariaDescribedbyAttr"
},
"value": {
"type": "JSXExpressionContainer",
- "start": 1087,
- "end": 1101,
+ "start": 1139,
+ "end": 1153,
"loc": {
"start": {
- "line": 48,
- "column": 24
+ "line": 50,
+ "column": 25
},
"end": {
- "line": 48,
- "column": 38
+ "line": 50,
+ "column": 39
}
},
"expression": {
"type": "CallExpression",
- "start": 1088,
- "end": 1100,
+ "start": 1140,
+ "end": 1152,
"loc": {
"start": {
- "line": 48,
- "column": 25
+ "line": 50,
+ "column": 26
},
"end": {
- "line": 48,
- "column": 37
+ "line": 50,
+ "column": 38
}
},
"callee": {
"type": "Identifier",
- "start": 1088,
- "end": 1098,
+ "start": 1140,
+ "end": 1150,
"loc": {
"start": {
- "line": 48,
- "column": 25
+ "line": 50,
+ "column": 26
},
"end": {
- "line": 48,
- "column": 35
+ "line": 50,
+ "column": 36
},
"identifierName": "ariaIdAttr"
},
@@ -1991,74 +2077,74 @@
},
{
"type": "JSXAttribute",
- "start": 1106,
- "end": 1125,
+ "start": 1159,
+ "end": 1178,
"loc": {
"start": {
- "line": 49,
- "column": 4
+ "line": 51,
+ "column": 5
},
"end": {
- "line": 49,
- "column": 23
+ "line": 51,
+ "column": 24
}
},
"name": {
"type": "JSXIdentifier",
- "start": 1106,
- "end": 1111,
+ "start": 1159,
+ "end": 1164,
"loc": {
"start": {
- "line": 49,
- "column": 4
+ "line": 51,
+ "column": 5
},
"end": {
- "line": 49,
- "column": 9
+ "line": 51,
+ "column": 10
}
},
"name": "value"
},
"value": {
"type": "JSXExpressionContainer",
- "start": 1112,
- "end": 1125,
+ "start": 1165,
+ "end": 1178,
"loc": {
"start": {
- "line": 49,
- "column": 10
+ "line": 51,
+ "column": 11
},
"end": {
- "line": 49,
- "column": 23
+ "line": 51,
+ "column": 24
}
},
"expression": {
"type": "MemberExpression",
- "start": 1113,
- "end": 1124,
+ "start": 1166,
+ "end": 1177,
"loc": {
"start": {
- "line": 49,
- "column": 11
+ "line": 51,
+ "column": 12
},
"end": {
- "line": 49,
- "column": 22
+ "line": 51,
+ "column": 23
}
},
"object": {
"type": "Identifier",
- "start": 1113,
- "end": 1118,
+ "start": 1166,
+ "end": 1171,
"loc": {
"start": {
- "line": 49,
- "column": 11
+ "line": 51,
+ "column": 12
},
"end": {
- "line": 49,
- "column": 16
+ "line": 51,
+ "column": 17
},
"identifierName": "props"
},
@@ -2066,16 +2152,16 @@
},
"property": {
"type": "Identifier",
- "start": 1119,
- "end": 1124,
+ "start": 1172,
+ "end": 1177,
"loc": {
"start": {
- "line": 49,
- "column": 17
+ "line": 51,
+ "column": 18
},
"end": {
- "line": 49,
- "column": 22
+ "line": 51,
+ "column": 23
},
"identifierName": "value"
},
@@ -2087,74 +2173,74 @@
},
{
"type": "JSXAttribute",
- "start": 1130,
- "end": 1165,
+ "start": 1184,
+ "end": 1219,
"loc": {
"start": {
- "line": 50,
- "column": 4
+ "line": 52,
+ "column": 5
},
"end": {
- "line": 50,
- "column": 39
+ "line": 52,
+ "column": 40
}
},
"name": {
"type": "JSXIdentifier",
- "start": 1130,
- "end": 1143,
+ "start": 1184,
+ "end": 1197,
"loc": {
"start": {
- "line": 50,
- "column": 4
+ "line": 52,
+ "column": 5
},
"end": {
- "line": 50,
- "column": 17
+ "line": 52,
+ "column": 18
}
},
"name": "onValueChange"
},
"value": {
"type": "JSXExpressionContainer",
- "start": 1144,
- "end": 1165,
+ "start": 1198,
+ "end": 1219,
"loc": {
"start": {
- "line": 50,
- "column": 18
+ "line": 52,
+ "column": 19
},
"end": {
- "line": 50,
- "column": 39
+ "line": 52,
+ "column": 40
}
},
"expression": {
"type": "MemberExpression",
- "start": 1145,
- "end": 1164,
+ "start": 1199,
+ "end": 1218,
"loc": {
"start": {
- "line": 50,
- "column": 19
+ "line": 52,
+ "column": 20
},
"end": {
- "line": 50,
- "column": 38
+ "line": 52,
+ "column": 39
}
},
"object": {
"type": "Identifier",
- "start": 1145,
- "end": 1150,
+ "start": 1199,
+ "end": 1204,
"loc": {
"start": {
- "line": 50,
- "column": 19
+ "line": 52,
+ "column": 20
},
"end": {
- "line": 50,
- "column": 24
+ "line": 52,
+ "column": 25
},
"identifierName": "props"
},
@@ -2162,16 +2248,16 @@
},
"property": {
"type": "Identifier",
- "start": 1151,
- "end": 1164,
+ "start": 1205,
+ "end": 1218,
"loc": {
"start": {
- "line": 50,
- "column": 25
+ "line": 52,
+ "column": 26
},
"end": {
- "line": 50,
- "column": 38
+ "line": 52,
+ "column": 39
},
"identifierName": "onValueChange"
},
@@ -2183,74 +2269,74 @@
},
{
"type": "JSXAttribute",
- "start": 1170,
- "end": 1197,
+ "start": 1225,
+ "end": 1252,
"loc": {
"start": {
- "line": 51,
- "column": 4
+ "line": 53,
+ "column": 5
},
"end": {
- "line": 51,
- "column": 31
+ "line": 53,
+ "column": 32
}
},
"name": {
"type": "JSXIdentifier",
- "start": 1170,
- "end": 1179,
+ "start": 1225,
+ "end": 1234,
"loc": {
"start": {
- "line": 51,
- "column": 4
+ "line": 53,
+ "column": 5
},
"end": {
- "line": 51,
- "column": 13
+ "line": 53,
+ "column": 14
}
},
"name": "inputType"
},
"value": {
"type": "JSXExpressionContainer",
- "start": 1180,
- "end": 1197,
+ "start": 1235,
+ "end": 1252,
"loc": {
"start": {
- "line": 51,
- "column": 14
+ "line": 53,
+ "column": 15
},
"end": {
- "line": 51,
- "column": 31
+ "line": 53,
+ "column": 32
}
},
"expression": {
"type": "MemberExpression",
- "start": 1181,
- "end": 1196,
+ "start": 1236,
+ "end": 1251,
"loc": {
"start": {
- "line": 51,
- "column": 15
+ "line": 53,
+ "column": 16
},
"end": {
- "line": 51,
- "column": 30
+ "line": 53,
+ "column": 31
}
},
"object": {
"type": "Identifier",
- "start": 1181,
- "end": 1186,
+ "start": 1236,
+ "end": 1241,
"loc": {
"start": {
- "line": 51,
- "column": 15
+ "line": 53,
+ "column": 16
},
"end": {
- "line": 51,
- "column": 20
+ "line": 53,
+ "column": 21
},
"identifierName": "props"
},
@@ -2258,16 +2344,16 @@
},
"property": {
"type": "Identifier",
- "start": 1187,
- "end": 1196,
+ "start": 1242,
+ "end": 1251,
"loc": {
"start": {
- "line": 51,
- "column": 21
+ "line": 53,
+ "column": 22
},
"end": {
- "line": 51,
- "column": 30
+ "line": 53,
+ "column": 31
},
"identifierName": "inputType"
},
@@ -2279,60 +2365,60 @@
},
{
"type": "JSXAttribute",
- "start": 1202,
- "end": 1219,
+ "start": 1258,
+ "end": 1275,
"loc": {
"start": {
- "line": 52,
- "column": 4
+ "line": 54,
+ "column": 5
},
"end": {
- "line": 52,
- "column": 21
+ "line": 54,
+ "column": 22
}
},
"name": {
"type": "JSXIdentifier",
- "start": 1202,
- "end": 1209,
+ "start": 1258,
+ "end": 1265,
"loc": {
"start": {
- "line": 52,
- "column": 4
+ "line": 54,
+ "column": 5
},
"end": {
- "line": 52,
- "column": 11
+ "line": 54,
+ "column": 12
}
},
"name": "options"
},
"value": {
"type": "JSXExpressionContainer",
- "start": 1210,
- "end": 1219,
+ "start": 1266,
+ "end": 1275,
"loc": {
"start": {
- "line": 52,
- "column": 12
+ "line": 54,
+ "column": 13
},
"end": {
- "line": 52,
- "column": 21
+ "line": 54,
+ "column": 22
}
},
"expression": {
"type": "Identifier",
- "start": 1211,
- "end": 1218,
+ "start": 1267,
+ "end": 1274,
"loc": {
"start": {
- "line": 52,
- "column": 13
+ "line": 54,
+ "column": 14
},
"end": {
- "line": 52,
- "column": 20
+ "line": 54,
+ "column": 21
},
"identifierName": "options"
},
@@ -2342,74 +2428,74 @@
},
{
"type": "JSXAttribute",
- "start": 1224,
- "end": 1249,
+ "start": 1281,
+ "end": 1306,
"loc": {
"start": {
- "line": 53,
- "column": 4
+ "line": 55,
+ "column": 5
},
"end": {
- "line": 53,
- "column": 29
+ "line": 55,
+ "column": 30
}
},
"name": {
"type": "JSXIdentifier",
- "start": 1224,
- "end": 1232,
+ "start": 1281,
+ "end": 1289,
"loc": {
"start": {
- "line": 53,
- "column": 4
+ "line": 55,
+ "column": 5
},
"end": {
- "line": 53,
- "column": 12
+ "line": 55,
+ "column": 13
}
},
"name": "disabled"
},
"value": {
"type": "JSXExpressionContainer",
- "start": 1233,
- "end": 1249,
+ "start": 1290,
+ "end": 1306,
"loc": {
"start": {
- "line": 53,
- "column": 13
+ "line": 55,
+ "column": 14
},
"end": {
- "line": 53,
- "column": 29
+ "line": 55,
+ "column": 30
}
},
"expression": {
"type": "MemberExpression",
- "start": 1234,
- "end": 1248,
+ "start": 1291,
+ "end": 1305,
"loc": {
"start": {
- "line": 53,
- "column": 14
+ "line": 55,
+ "column": 15
},
"end": {
- "line": 53,
- "column": 28
+ "line": 55,
+ "column": 29
}
},
"object": {
"type": "Identifier",
- "start": 1234,
- "end": 1239,
+ "start": 1291,
+ "end": 1296,
"loc": {
"start": {
- "line": 53,
- "column": 14
+ "line": 55,
+ "column": 15
},
"end": {
- "line": 53,
- "column": 19
+ "line": 55,
+ "column": 20
},
"identifierName": "props"
},
@@ -2417,16 +2503,16 @@
},
"property": {
"type": "Identifier",
- "start": 1240,
- "end": 1248,
+ "start": 1297,
+ "end": 1305,
"loc": {
"start": {
- "line": 53,
- "column": 20
+ "line": 55,
+ "column": 21
},
"end": {
- "line": 53,
- "column": 28
+ "line": 55,
+ "column": 29
},
"identifierName": "disabled"
},
@@ -2438,74 +2524,74 @@
},
{
"type": "JSXAttribute",
- "start": 1254,
- "end": 1275,
+ "start": 1312,
+ "end": 1333,
"loc": {
"start": {
- "line": 54,
- "column": 4
+ "line": 56,
+ "column": 5
},
"end": {
- "line": 54,
- "column": 25
+ "line": 56,
+ "column": 26
}
},
"name": {
"type": "JSXIdentifier",
- "start": 1254,
- "end": 1260,
+ "start": 1312,
+ "end": 1318,
"loc": {
"start": {
- "line": 54,
- "column": 4
+ "line": 56,
+ "column": 5
},
"end": {
- "line": 54,
- "column": 10
+ "line": 56,
+ "column": 11
}
},
"name": "onBlur"
},
"value": {
"type": "JSXExpressionContainer",
- "start": 1261,
- "end": 1275,
+ "start": 1319,
+ "end": 1333,
"loc": {
"start": {
- "line": 54,
- "column": 11
+ "line": 56,
+ "column": 12
},
"end": {
- "line": 54,
- "column": 25
+ "line": 56,
+ "column": 26
}
},
"expression": {
"type": "MemberExpression",
- "start": 1262,
- "end": 1274,
+ "start": 1320,
+ "end": 1332,
"loc": {
"start": {
- "line": 54,
- "column": 12
+ "line": 56,
+ "column": 13
},
"end": {
- "line": 54,
- "column": 24
+ "line": 56,
+ "column": 25
}
},
"object": {
"type": "Identifier",
- "start": 1262,
- "end": 1267,
+ "start": 1320,
+ "end": 1325,
"loc": {
"start": {
- "line": 54,
- "column": 12
+ "line": 56,
+ "column": 13
},
"end": {
- "line": 54,
- "column": 17
+ "line": 56,
+ "column": 18
},
"identifierName": "props"
},
@@ -2513,16 +2599,16 @@
},
"property": {
"type": "Identifier",
- "start": 1268,
- "end": 1274,
+ "start": 1326,
+ "end": 1332,
"loc": {
"start": {
- "line": 54,
- "column": 18
+ "line": 56,
+ "column": 19
},
"end": {
- "line": 54,
- "column": 24
+ "line": 56,
+ "column": 25
},
"identifierName": "onBlur"
},
@@ -2534,74 +2620,74 @@
},
{
"type": "JSXAttribute",
- "start": 1280,
- "end": 1303,
+ "start": 1339,
+ "end": 1362,
"loc": {
"start": {
- "line": 55,
- "column": 4
+ "line": 57,
+ "column": 5
},
"end": {
- "line": 55,
- "column": 27
+ "line": 57,
+ "column": 28
}
},
"name": {
"type": "JSXIdentifier",
- "start": 1280,
- "end": 1287,
+ "start": 1339,
+ "end": 1346,
"loc": {
"start": {
- "line": 55,
- "column": 4
+ "line": 57,
+ "column": 5
},
"end": {
- "line": 55,
- "column": 11
+ "line": 57,
+ "column": 12
}
},
"name": "onFocus"
},
"value": {
"type": "JSXExpressionContainer",
- "start": 1288,
- "end": 1303,
+ "start": 1347,
+ "end": 1362,
"loc": {
"start": {
- "line": 55,
- "column": 12
+ "line": 57,
+ "column": 13
},
"end": {
- "line": 55,
- "column": 27
+ "line": 57,
+ "column": 28
}
},
"expression": {
"type": "MemberExpression",
- "start": 1289,
- "end": 1302,
+ "start": 1348,
+ "end": 1361,
"loc": {
"start": {
- "line": 55,
- "column": 13
+ "line": 57,
+ "column": 14
},
"end": {
- "line": 55,
- "column": 26
+ "line": 57,
+ "column": 27
}
},
"object": {
"type": "Identifier",
- "start": 1289,
- "end": 1294,
+ "start": 1348,
+ "end": 1353,
"loc": {
"start": {
- "line": 55,
- "column": 13
+ "line": 57,
+ "column": 14
},
"end": {
- "line": 55,
- "column": 18
+ "line": 57,
+ "column": 19
},
"identifierName": "props"
},
@@ -2609,16 +2695,16 @@
},
"property": {
"type": "Identifier",
- "start": 1295,
- "end": 1302,
+ "start": 1354,
+ "end": 1361,
"loc": {
"start": {
- "line": 55,
- "column": 19
+ "line": 57,
+ "column": 20
},
"end": {
- "line": 55,
- "column": 26
+ "line": 57,
+ "column": 27
},
"identifierName": "onFocus"
},
@@ -2631,16 +2717,16 @@
],
"name": {
"type": "JSXIdentifier",
- "start": 995,
- "end": 1006,
+ "start": 1044,
+ "end": 1055,
"loc": {
"start": {
- "line": 45,
- "column": 4
+ "line": 47,
+ "column": 5
},
"end": {
- "line": 45,
- "column": 15
+ "line": 47,
+ "column": 16
}
},
"name": "SelectField"
@@ -2651,23 +2737,23 @@
"children": [],
"extra": {
"parenthesized": true,
- "parenStart": 989
+ "parenStart": 1037
}
}
}
],
"test": {
"type": "StringLiteral",
- "start": 899,
- "end": 909,
+ "start": 945,
+ "end": 955,
"loc": {
"start": {
- "line": 42,
- "column": 6
+ "line": 44,
+ "column": 7
},
"end": {
- "line": 42,
- "column": 16
+ "line": 44,
+ "column": 17
}
},
"extra": {
@@ -2679,149 +2765,132 @@
},
{
"type": "SwitchCase",
- "start": 1316,
- "end": 1324,
- "loc": {
- "start": {
- "line": 58,
- "column": 1
- },
- "end": {
- "line": 58,
- "column": 9
- }
- },
- "consequent": [],
- "test": null
- },
- {
- "type": "SwitchCase",
- "start": 1326,
- "end": 1643,
+ "start": 1378,
+ "end": 1702,
"loc": {
"start": {
- "line": 59,
- "column": 1
+ "line": 60,
+ "column": 2
},
"end": {
- "line": 71,
- "column": 7
+ "line": 73,
+ "column": 5
}
},
"consequent": [
{
"type": "ReturnStatement",
- "start": 1342,
- "end": 1643,
+ "start": 1397,
+ "end": 1702,
"loc": {
"start": {
- "line": 60,
- "column": 2
+ "line": 61,
+ "column": 3
},
"end": {
- "line": 71,
- "column": 7
+ "line": 73,
+ "column": 5
}
},
"argument": {
"type": "JSXElement",
- "start": 1354,
- "end": 1641,
+ "start": 1410,
+ "end": 1696,
"loc": {
"start": {
- "line": 61,
- "column": 3
+ "line": 62,
+ "column": 4
},
"end": {
- "line": 71,
- "column": 5
+ "line": 72,
+ "column": 6
}
},
"openingElement": {
"type": "JSXOpeningElement",
- "start": 1354,
- "end": 1641,
+ "start": 1410,
+ "end": 1696,
"loc": {
"start": {
- "line": 61,
- "column": 3
+ "line": 62,
+ "column": 4
},
"end": {
- "line": 71,
- "column": 5
+ "line": 72,
+ "column": 6
}
},
"attributes": [
{
"type": "JSXAttribute",
- "start": 1365,
- "end": 1378,
+ "start": 1423,
+ "end": 1446,
"loc": {
"start": {
- "line": 62,
- "column": 4
+ "line": 63,
+ "column": 5
},
"end": {
- "line": 62,
- "column": 17
+ "line": 63,
+ "column": 28
}
},
"name": {
"type": "JSXIdentifier",
- "start": 1365,
- "end": 1367,
+ "start": 1423,
+ "end": 1430,
"loc": {
"start": {
- "line": 62,
- "column": 4
+ "line": 63,
+ "column": 5
},
"end": {
- "line": 62,
- "column": 6
+ "line": 63,
+ "column": 12
}
},
- "name": "id"
+ "name": "onClick"
},
"value": {
"type": "JSXExpressionContainer",
- "start": 1368,
- "end": 1378,
+ "start": 1431,
+ "end": 1446,
"loc": {
"start": {
- "line": 62,
- "column": 7
+ "line": 63,
+ "column": 13
},
"end": {
- "line": 62,
- "column": 17
+ "line": 63,
+ "column": 28
}
},
"expression": {
"type": "MemberExpression",
- "start": 1369,
- "end": 1377,
+ "start": 1432,
+ "end": 1445,
"loc": {
"start": {
- "line": 62,
- "column": 8
+ "line": 63,
+ "column": 14
},
"end": {
- "line": 62,
- "column": 16
+ "line": 63,
+ "column": 27
}
},
"object": {
"type": "Identifier",
- "start": 1369,
- "end": 1374,
+ "start": 1432,
+ "end": 1437,
"loc": {
"start": {
- "line": 62,
- "column": 8
+ "line": 63,
+ "column": 14
},
"end": {
- "line": 62,
- "column": 13
+ "line": 63,
+ "column": 19
},
"identifierName": "props"
},
@@ -2829,20 +2898,20 @@
},
"property": {
"type": "Identifier",
- "start": 1375,
- "end": 1377,
+ "start": 1438,
+ "end": 1445,
"loc": {
"start": {
- "line": 62,
- "column": 14
+ "line": 63,
+ "column": 20
},
"end": {
- "line": 62,
- "column": 16
+ "line": 63,
+ "column": 27
},
- "identifierName": "id"
+ "identifierName": "onClick"
},
- "name": "id"
+ "name": "onClick"
},
"computed": false
}
@@ -2850,266 +2919,187 @@
},
{
"type": "JSXAttribute",
- "start": 1383,
- "end": 1416,
- "loc": {
- "start": {
- "line": 63,
- "column": 4
- },
- "end": {
- "line": 63,
- "column": 37
- }
- },
- "name": {
- "type": "JSXIdentifier",
- "start": 1383,
- "end": 1397,
- "loc": {
- "start": {
- "line": 63,
- "column": 4
- },
- "end": {
- "line": 63,
- "column": 18
- }
- },
- "name": "fieldClassName"
- },
- "value": {
- "type": "JSXExpressionContainer",
- "start": 1398,
- "end": 1416,
- "loc": {
- "start": {
- "line": 63,
- "column": 19
- },
- "end": {
- "line": 63,
- "column": 37
- }
- },
- "expression": {
- "type": "CallExpression",
- "start": 1399,
- "end": 1415,
- "loc": {
- "start": {
- "line": 63,
- "column": 20
- },
- "end": {
- "line": 63,
- "column": 36
- }
- },
- "callee": {
- "type": "Identifier",
- "start": 1399,
- "end": 1413,
- "loc": {
- "start": {
- "line": 63,
- "column": 20
- },
- "end": {
- "line": 63,
- "column": 34
- },
- "identifierName": "inputClassName"
- },
- "name": "inputClassName"
- },
- "arguments": []
- }
- }
- },
- {
- "type": "JSXAttribute",
- "start": 1421,
- "end": 1455,
+ "start": 1452,
+ "end": 1465,
"loc": {
"start": {
"line": 64,
- "column": 4
+ "column": 5
},
"end": {
"line": 64,
- "column": 38
+ "column": 18
}
},
"name": {
"type": "JSXIdentifier",
- "start": 1421,
- "end": 1440,
+ "start": 1452,
+ "end": 1454,
"loc": {
"start": {
"line": 64,
- "column": 4
+ "column": 5
},
"end": {
"line": 64,
- "column": 23
+ "column": 7
}
},
- "name": "ariaDescribedbyAttr"
+ "name": "id"
},
"value": {
"type": "JSXExpressionContainer",
- "start": 1441,
- "end": 1455,
+ "start": 1455,
+ "end": 1465,
"loc": {
"start": {
"line": 64,
- "column": 24
+ "column": 8
},
"end": {
"line": 64,
- "column": 38
+ "column": 18
}
},
"expression": {
- "type": "CallExpression",
- "start": 1442,
- "end": 1454,
+ "type": "MemberExpression",
+ "start": 1456,
+ "end": 1464,
"loc": {
"start": {
"line": 64,
- "column": 25
+ "column": 9
},
"end": {
"line": 64,
- "column": 37
+ "column": 17
}
},
- "callee": {
+ "object": {
"type": "Identifier",
- "start": 1442,
- "end": 1452,
+ "start": 1456,
+ "end": 1461,
"loc": {
"start": {
"line": 64,
- "column": 25
+ "column": 9
},
"end": {
"line": 64,
- "column": 35
+ "column": 14
},
- "identifierName": "ariaIdAttr"
+ "identifierName": "props"
},
- "name": "ariaIdAttr"
+ "name": "props"
},
- "arguments": []
+ "property": {
+ "type": "Identifier",
+ "start": 1462,
+ "end": 1464,
+ "loc": {
+ "start": {
+ "line": 64,
+ "column": 15
+ },
+ "end": {
+ "line": 64,
+ "column": 17
+ },
+ "identifierName": "id"
+ },
+ "name": "id"
+ },
+ "computed": false
}
}
},
{
"type": "JSXAttribute",
- "start": 1460,
- "end": 1479,
+ "start": 1471,
+ "end": 1504,
"loc": {
"start": {
"line": 65,
- "column": 4
+ "column": 5
},
"end": {
"line": 65,
- "column": 23
+ "column": 38
}
},
"name": {
"type": "JSXIdentifier",
- "start": 1460,
- "end": 1465,
+ "start": 1471,
+ "end": 1485,
"loc": {
"start": {
"line": 65,
- "column": 4
+ "column": 5
},
"end": {
"line": 65,
- "column": 9
+ "column": 19
}
},
- "name": "value"
+ "name": "fieldClassName"
},
"value": {
"type": "JSXExpressionContainer",
- "start": 1466,
- "end": 1479,
+ "start": 1486,
+ "end": 1504,
"loc": {
"start": {
"line": 65,
- "column": 10
+ "column": 20
},
"end": {
"line": 65,
- "column": 23
+ "column": 38
}
},
"expression": {
- "type": "MemberExpression",
- "start": 1467,
- "end": 1478,
+ "type": "CallExpression",
+ "start": 1487,
+ "end": 1503,
"loc": {
"start": {
"line": 65,
- "column": 11
+ "column": 21
},
"end": {
"line": 65,
- "column": 22
+ "column": 37
}
},
- "object": {
- "type": "Identifier",
- "start": 1467,
- "end": 1472,
- "loc": {
- "start": {
- "line": 65,
- "column": 11
- },
- "end": {
- "line": 65,
- "column": 16
- },
- "identifierName": "props"
- },
- "name": "props"
- },
- "property": {
+ "callee": {
"type": "Identifier",
- "start": 1473,
- "end": 1478,
+ "start": 1487,
+ "end": 1501,
"loc": {
"start": {
"line": 65,
- "column": 17
+ "column": 21
},
"end": {
"line": 65,
- "column": 22
+ "column": 35
},
- "identifierName": "value"
+ "identifierName": "inputClassName"
},
- "name": "value"
+ "name": "inputClassName"
},
- "computed": false
+ "arguments": []
}
}
},
{
"type": "JSXAttribute",
- "start": 1484,
- "end": 1519,
+ "start": 1510,
+ "end": 1544,
"loc": {
"start": {
"line": 66,
- "column": 4
+ "column": 5
},
"end": {
"line": 66,
@@ -3118,28 +3108,28 @@
},
"name": {
"type": "JSXIdentifier",
- "start": 1484,
- "end": 1497,
+ "start": 1510,
+ "end": 1529,
"loc": {
"start": {
"line": 66,
- "column": 4
+ "column": 5
},
"end": {
"line": 66,
- "column": 17
+ "column": 24
}
},
- "name": "onValueChange"
+ "name": "ariaDescribedbyAttr"
},
"value": {
"type": "JSXExpressionContainer",
- "start": 1498,
- "end": 1519,
+ "start": 1530,
+ "end": 1544,
"loc": {
"start": {
"line": 66,
- "column": 18
+ "column": 25
},
"end": {
"line": 66,
@@ -3147,127 +3137,110 @@
}
},
"expression": {
- "type": "MemberExpression",
- "start": 1499,
- "end": 1518,
+ "type": "CallExpression",
+ "start": 1531,
+ "end": 1543,
"loc": {
"start": {
"line": 66,
- "column": 19
+ "column": 26
},
"end": {
"line": 66,
"column": 38
}
},
- "object": {
- "type": "Identifier",
- "start": 1499,
- "end": 1504,
- "loc": {
- "start": {
- "line": 66,
- "column": 19
- },
- "end": {
- "line": 66,
- "column": 24
- },
- "identifierName": "props"
- },
- "name": "props"
- },
- "property": {
+ "callee": {
"type": "Identifier",
- "start": 1505,
- "end": 1518,
+ "start": 1531,
+ "end": 1541,
"loc": {
"start": {
"line": 66,
- "column": 25
+ "column": 26
},
"end": {
"line": 66,
- "column": 38
+ "column": 36
},
- "identifierName": "onValueChange"
+ "identifierName": "ariaIdAttr"
},
- "name": "onValueChange"
+ "name": "ariaIdAttr"
},
- "computed": false
+ "arguments": []
}
}
},
{
"type": "JSXAttribute",
- "start": 1524,
- "end": 1551,
+ "start": 1550,
+ "end": 1569,
"loc": {
"start": {
"line": 67,
- "column": 4
+ "column": 5
},
"end": {
"line": 67,
- "column": 31
+ "column": 24
}
},
"name": {
"type": "JSXIdentifier",
- "start": 1524,
- "end": 1533,
+ "start": 1550,
+ "end": 1555,
"loc": {
"start": {
"line": 67,
- "column": 4
+ "column": 5
},
"end": {
"line": 67,
- "column": 13
+ "column": 10
}
},
- "name": "inputType"
+ "name": "value"
},
"value": {
"type": "JSXExpressionContainer",
- "start": 1534,
- "end": 1551,
+ "start": 1556,
+ "end": 1569,
"loc": {
"start": {
"line": 67,
- "column": 14
+ "column": 11
},
"end": {
"line": 67,
- "column": 31
+ "column": 24
}
},
"expression": {
"type": "MemberExpression",
- "start": 1535,
- "end": 1550,
+ "start": 1557,
+ "end": 1568,
"loc": {
"start": {
"line": 67,
- "column": 15
+ "column": 12
},
"end": {
"line": 67,
- "column": 30
+ "column": 23
}
},
"object": {
"type": "Identifier",
- "start": 1535,
- "end": 1540,
+ "start": 1557,
+ "end": 1562,
"loc": {
"start": {
"line": 67,
- "column": 15
+ "column": 12
},
"end": {
"line": 67,
- "column": 20
+ "column": 17
},
"identifierName": "props"
},
@@ -3275,20 +3248,20 @@
},
"property": {
"type": "Identifier",
- "start": 1541,
- "end": 1550,
+ "start": 1563,
+ "end": 1568,
"loc": {
"start": {
"line": 67,
- "column": 21
+ "column": 18
},
"end": {
"line": 67,
- "column": 30
+ "column": 23
},
- "identifierName": "inputType"
+ "identifierName": "value"
},
- "name": "inputType"
+ "name": "value"
},
"computed": false
}
@@ -3296,74 +3269,74 @@
},
{
"type": "JSXAttribute",
- "start": 1556,
- "end": 1581,
+ "start": 1575,
+ "end": 1602,
"loc": {
"start": {
"line": 68,
- "column": 4
+ "column": 5
},
"end": {
"line": 68,
- "column": 29
+ "column": 32
}
},
"name": {
"type": "JSXIdentifier",
- "start": 1556,
- "end": 1564,
+ "start": 1575,
+ "end": 1584,
"loc": {
"start": {
"line": 68,
- "column": 4
+ "column": 5
},
"end": {
"line": 68,
- "column": 12
+ "column": 14
}
},
- "name": "disabled"
+ "name": "inputType"
},
"value": {
"type": "JSXExpressionContainer",
- "start": 1565,
- "end": 1581,
+ "start": 1585,
+ "end": 1602,
"loc": {
"start": {
"line": 68,
- "column": 13
+ "column": 15
},
"end": {
"line": 68,
- "column": 29
+ "column": 32
}
},
"expression": {
"type": "MemberExpression",
- "start": 1566,
- "end": 1580,
+ "start": 1586,
+ "end": 1601,
"loc": {
"start": {
"line": 68,
- "column": 14
+ "column": 16
},
"end": {
"line": 68,
- "column": 28
+ "column": 31
}
},
"object": {
"type": "Identifier",
- "start": 1566,
- "end": 1571,
+ "start": 1586,
+ "end": 1591,
"loc": {
"start": {
"line": 68,
- "column": 14
+ "column": 16
},
"end": {
"line": 68,
- "column": 19
+ "column": 21
},
"identifierName": "props"
},
@@ -3371,20 +3344,20 @@
},
"property": {
"type": "Identifier",
- "start": 1572,
- "end": 1580,
+ "start": 1592,
+ "end": 1601,
"loc": {
"start": {
"line": 68,
- "column": 20
+ "column": 22
},
"end": {
"line": 68,
- "column": 28
+ "column": 31
},
- "identifierName": "disabled"
+ "identifierName": "inputType"
},
- "name": "disabled"
+ "name": "inputType"
},
"computed": false
}
@@ -3392,74 +3365,74 @@
},
{
"type": "JSXAttribute",
- "start": 1586,
- "end": 1607,
+ "start": 1608,
+ "end": 1633,
"loc": {
"start": {
"line": 69,
- "column": 4
+ "column": 5
},
"end": {
"line": 69,
- "column": 25
+ "column": 30
}
},
"name": {
"type": "JSXIdentifier",
- "start": 1586,
- "end": 1592,
+ "start": 1608,
+ "end": 1616,
"loc": {
"start": {
"line": 69,
- "column": 4
+ "column": 5
},
"end": {
"line": 69,
- "column": 10
+ "column": 13
}
},
- "name": "onBlur"
+ "name": "disabled"
},
"value": {
"type": "JSXExpressionContainer",
- "start": 1593,
- "end": 1607,
+ "start": 1617,
+ "end": 1633,
"loc": {
"start": {
"line": 69,
- "column": 11
+ "column": 14
},
"end": {
"line": 69,
- "column": 25
+ "column": 30
}
},
"expression": {
"type": "MemberExpression",
- "start": 1594,
- "end": 1606,
+ "start": 1618,
+ "end": 1632,
"loc": {
"start": {
"line": 69,
- "column": 12
+ "column": 15
},
"end": {
"line": 69,
- "column": 24
+ "column": 29
}
},
"object": {
"type": "Identifier",
- "start": 1594,
- "end": 1599,
+ "start": 1618,
+ "end": 1623,
"loc": {
"start": {
"line": 69,
- "column": 12
+ "column": 15
},
"end": {
"line": 69,
- "column": 17
+ "column": 20
},
"identifierName": "props"
},
@@ -3467,20 +3440,20 @@
},
"property": {
"type": "Identifier",
- "start": 1600,
- "end": 1606,
+ "start": 1624,
+ "end": 1632,
"loc": {
"start": {
"line": 69,
- "column": 18
+ "column": 21
},
"end": {
"line": 69,
- "column": 24
+ "column": 29
},
- "identifierName": "onBlur"
+ "identifierName": "disabled"
},
- "name": "onBlur"
+ "name": "disabled"
},
"computed": false
}
@@ -3488,38 +3461,38 @@
},
{
"type": "JSXAttribute",
- "start": 1612,
- "end": 1635,
+ "start": 1639,
+ "end": 1660,
"loc": {
"start": {
"line": 70,
- "column": 4
+ "column": 5
},
"end": {
"line": 70,
- "column": 27
+ "column": 26
}
},
"name": {
"type": "JSXIdentifier",
- "start": 1612,
- "end": 1619,
+ "start": 1639,
+ "end": 1645,
"loc": {
"start": {
"line": 70,
- "column": 4
+ "column": 5
},
"end": {
"line": 70,
"column": 11
}
},
- "name": "onFocus"
+ "name": "onBlur"
},
"value": {
"type": "JSXExpressionContainer",
- "start": 1620,
- "end": 1635,
+ "start": 1646,
+ "end": 1660,
"loc": {
"start": {
"line": 70,
@@ -3527,13 +3500,13 @@
},
"end": {
"line": 70,
- "column": 27
+ "column": 26
}
},
"expression": {
"type": "MemberExpression",
- "start": 1621,
- "end": 1634,
+ "start": 1647,
+ "end": 1659,
"loc": {
"start": {
"line": 70,
@@ -3541,13 +3514,13 @@
},
"end": {
"line": 70,
- "column": 26
+ "column": 25
}
},
"object": {
"type": "Identifier",
- "start": 1621,
- "end": 1626,
+ "start": 1647,
+ "end": 1652,
"loc": {
"start": {
"line": 70,
@@ -3563,8 +3536,8 @@
},
"property": {
"type": "Identifier",
- "start": 1627,
- "end": 1634,
+ "start": 1653,
+ "end": 1659,
"loc": {
"start": {
"line": 70,
@@ -3572,7 +3545,103 @@
},
"end": {
"line": 70,
- "column": 26
+ "column": 25
+ },
+ "identifierName": "onBlur"
+ },
+ "name": "onBlur"
+ },
+ "computed": false
+ }
+ }
+ },
+ {
+ "type": "JSXAttribute",
+ "start": 1666,
+ "end": 1689,
+ "loc": {
+ "start": {
+ "line": 71,
+ "column": 5
+ },
+ "end": {
+ "line": 71,
+ "column": 28
+ }
+ },
+ "name": {
+ "type": "JSXIdentifier",
+ "start": 1666,
+ "end": 1673,
+ "loc": {
+ "start": {
+ "line": 71,
+ "column": 5
+ },
+ "end": {
+ "line": 71,
+ "column": 12
+ }
+ },
+ "name": "onFocus"
+ },
+ "value": {
+ "type": "JSXExpressionContainer",
+ "start": 1674,
+ "end": 1689,
+ "loc": {
+ "start": {
+ "line": 71,
+ "column": 13
+ },
+ "end": {
+ "line": 71,
+ "column": 28
+ }
+ },
+ "expression": {
+ "type": "MemberExpression",
+ "start": 1675,
+ "end": 1688,
+ "loc": {
+ "start": {
+ "line": 71,
+ "column": 14
+ },
+ "end": {
+ "line": 71,
+ "column": 27
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 1675,
+ "end": 1680,
+ "loc": {
+ "start": {
+ "line": 71,
+ "column": 14
+ },
+ "end": {
+ "line": 71,
+ "column": 19
+ },
+ "identifierName": "props"
+ },
+ "name": "props"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 1681,
+ "end": 1688,
+ "loc": {
+ "start": {
+ "line": 71,
+ "column": 20
+ },
+ "end": {
+ "line": 71,
+ "column": 27
},
"identifierName": "onFocus"
},
@@ -3585,19 +3654,19 @@
],
"name": {
"type": "JSXIdentifier",
- "start": 1355,
- "end": 1360,
+ "start": 1411,
+ "end": 1417,
"loc": {
"start": {
- "line": 61,
- "column": 4
+ "line": 62,
+ "column": 5
},
"end": {
- "line": 61,
- "column": 9
+ "line": 62,
+ "column": 11
}
},
- "name": "Input"
+ "name": "Button"
},
"selfClosing": true
},
@@ -3605,272 +3674,1226 @@
"children": [],
"extra": {
"parenthesized": true,
- "parenStart": 1349
+ "parenStart": 1404
}
}
}
],
"test": {
"type": "StringLiteral",
- "start": 1331,
- "end": 1338,
+ "start": 1383,
+ "end": 1391,
"loc": {
"start": {
- "line": 59,
- "column": 6
+ "line": 60,
+ "column": 7
},
"end": {
- "line": 59,
- "column": 13
+ "line": 60,
+ "column": 15
}
},
"extra": {
- "rawValue": "input",
- "raw": "'input'"
+ "rawValue": "button",
+ "raw": "'button'"
},
- "value": "input"
+ "value": "button"
}
- }
- ]
- }
- ],
- "directives": []
- }
- },
- "leadingComments": null
- }
- ],
- "kind": "const",
- "leadingComments": [
- {
- "type": "CommentBlock",
- "value": "*\n * Creates the field inside of a field group\n *\n * @param {Object} props\n * @returns {*}\n * @constructor\n ",
- "start": 324,
- "end": 436,
- "loc": {
- "start": {
- "line": 9,
- "column": 0
- },
- "end": {
- "line": 15,
- "column": 3
- }
- }
- }
- ],
- "trailingComments": [
- {
- "type": "CommentBlock",
- "value": "*\n * propTypes for FieldInner component\n *\n * @type {{options, ariaDescribedbyAttr}}\n ",
- "start": 1652,
- "end": 1742,
- "loc": {
- "start": {
- "line": 76,
- "column": 0
- },
- "end": {
- "line": 80,
- "column": 3
- }
- }
- }
- ]
- },
- "leadingComments": [
- {
- "type": "CommentBlock",
- "value": "*\n * Creates the field inside of a field group\n *\n * @param {Object} props\n * @returns {*}\n * @constructor\n ",
- "start": 324,
- "end": 436,
- "loc": {
- "start": {
- "line": 9,
- "column": 0
- },
- "end": {
- "line": 15,
- "column": 3
- }
- }
- }
- ],
- "trailingComments": [
- {
- "type": "CommentBlock",
- "value": "*\n * propTypes for FieldInner component\n *\n * @type {{options, ariaDescribedbyAttr}}\n ",
- "start": 1652,
- "end": 1742,
- "loc": {
- "start": {
- "line": 76,
- "column": 0
- },
- "end": {
- "line": 80,
- "column": 3
- }
- }
- }
- ]
- },
- {
- "type": "ExpressionStatement",
- "start": 1743,
- "end": 1820,
- "loc": {
- "start": {
- "line": 81,
- "column": 0
- },
- "end": {
- "line": 84,
- "column": 2
- }
- },
- "expression": {
- "type": "AssignmentExpression",
- "start": 1743,
- "end": 1819,
- "loc": {
- "start": {
- "line": 81,
- "column": 0
- },
- "end": {
- "line": 84,
- "column": 1
- }
- },
- "operator": "=",
- "left": {
- "type": "MemberExpression",
- "start": 1743,
- "end": 1763,
- "loc": {
- "start": {
- "line": 81,
- "column": 0
- },
- "end": {
- "line": 81,
- "column": 20
- }
- },
- "object": {
- "type": "Identifier",
- "start": 1743,
- "end": 1753,
- "loc": {
- "start": {
- "line": 81,
- "column": 0
- },
- "end": {
- "line": 81,
- "column": 10
- },
- "identifierName": "FieldInner"
- },
- "name": "FieldInner",
- "leadingComments": null
- },
- "property": {
- "type": "Identifier",
- "start": 1754,
- "end": 1763,
- "loc": {
- "start": {
- "line": 81,
- "column": 11
- },
- "end": {
- "line": 81,
- "column": 20
- },
- "identifierName": "propTypes"
- },
- "name": "propTypes"
- },
- "computed": false,
- "leadingComments": null
- },
- "right": {
- "type": "ObjectExpression",
- "start": 1766,
- "end": 1819,
- "loc": {
- "start": {
- "line": 81,
- "column": 23
- },
- "end": {
- "line": 84,
- "column": 1
- }
- },
- "properties": [
- {
- "type": "SpreadProperty",
- "start": 1769,
- "end": 1791,
- "loc": {
- "start": {
- "line": 82,
- "column": 1
- },
- "end": {
- "line": 82,
- "column": 23
- }
- },
- "argument": {
- "type": "Identifier",
- "start": 1772,
- "end": 1791,
- "loc": {
- "start": {
- "line": 82,
- "column": 4
- },
- "end": {
- "line": 82,
- "column": 23
- },
- "identifierName": "fieldInnerPropTypes"
- },
- "name": "fieldInnerPropTypes"
- }
- },
- {
- "type": "ObjectProperty",
- "start": 1794,
- "end": 1816,
- "loc": {
- "start": {
- "line": 83,
- "column": 1
- },
- "end": {
- "line": 83,
- "column": 23
- }
- },
- "method": false,
- "shorthand": false,
- "computed": false,
- "key": {
- "type": "Identifier",
- "start": 1794,
- "end": 1798,
+ },
+ {
+ "type": "SwitchCase",
+ "start": 1705,
+ "end": 1713,
+ "loc": {
+ "start": {
+ "line": 74,
+ "column": 2
+ },
+ "end": {
+ "line": 74,
+ "column": 10
+ }
+ },
+ "consequent": [],
+ "test": null
+ },
+ {
+ "type": "SwitchCase",
+ "start": 1716,
+ "end": 2045,
+ "loc": {
+ "start": {
+ "line": 75,
+ "column": 2
+ },
+ "end": {
+ "line": 87,
+ "column": 8
+ }
+ },
+ "consequent": [
+ {
+ "type": "ReturnStatement",
+ "start": 1733,
+ "end": 2045,
+ "loc": {
+ "start": {
+ "line": 76,
+ "column": 3
+ },
+ "end": {
+ "line": 87,
+ "column": 8
+ }
+ },
+ "argument": {
+ "type": "JSXElement",
+ "start": 1746,
+ "end": 2043,
+ "loc": {
+ "start": {
+ "line": 77,
+ "column": 4
+ },
+ "end": {
+ "line": 87,
+ "column": 6
+ }
+ },
+ "openingElement": {
+ "type": "JSXOpeningElement",
+ "start": 1746,
+ "end": 2043,
+ "loc": {
+ "start": {
+ "line": 77,
+ "column": 4
+ },
+ "end": {
+ "line": 87,
+ "column": 6
+ }
+ },
+ "attributes": [
+ {
+ "type": "JSXAttribute",
+ "start": 1758,
+ "end": 1771,
+ "loc": {
+ "start": {
+ "line": 78,
+ "column": 5
+ },
+ "end": {
+ "line": 78,
+ "column": 18
+ }
+ },
+ "name": {
+ "type": "JSXIdentifier",
+ "start": 1758,
+ "end": 1760,
+ "loc": {
+ "start": {
+ "line": 78,
+ "column": 5
+ },
+ "end": {
+ "line": 78,
+ "column": 7
+ }
+ },
+ "name": "id"
+ },
+ "value": {
+ "type": "JSXExpressionContainer",
+ "start": 1761,
+ "end": 1771,
+ "loc": {
+ "start": {
+ "line": 78,
+ "column": 8
+ },
+ "end": {
+ "line": 78,
+ "column": 18
+ }
+ },
+ "expression": {
+ "type": "MemberExpression",
+ "start": 1762,
+ "end": 1770,
+ "loc": {
+ "start": {
+ "line": 78,
+ "column": 9
+ },
+ "end": {
+ "line": 78,
+ "column": 17
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 1762,
+ "end": 1767,
+ "loc": {
+ "start": {
+ "line": 78,
+ "column": 9
+ },
+ "end": {
+ "line": 78,
+ "column": 14
+ },
+ "identifierName": "props"
+ },
+ "name": "props"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 1768,
+ "end": 1770,
+ "loc": {
+ "start": {
+ "line": 78,
+ "column": 15
+ },
+ "end": {
+ "line": 78,
+ "column": 17
+ },
+ "identifierName": "id"
+ },
+ "name": "id"
+ },
+ "computed": false
+ }
+ }
+ },
+ {
+ "type": "JSXAttribute",
+ "start": 1777,
+ "end": 1810,
+ "loc": {
+ "start": {
+ "line": 79,
+ "column": 5
+ },
+ "end": {
+ "line": 79,
+ "column": 38
+ }
+ },
+ "name": {
+ "type": "JSXIdentifier",
+ "start": 1777,
+ "end": 1791,
+ "loc": {
+ "start": {
+ "line": 79,
+ "column": 5
+ },
+ "end": {
+ "line": 79,
+ "column": 19
+ }
+ },
+ "name": "fieldClassName"
+ },
+ "value": {
+ "type": "JSXExpressionContainer",
+ "start": 1792,
+ "end": 1810,
+ "loc": {
+ "start": {
+ "line": 79,
+ "column": 20
+ },
+ "end": {
+ "line": 79,
+ "column": 38
+ }
+ },
+ "expression": {
+ "type": "CallExpression",
+ "start": 1793,
+ "end": 1809,
+ "loc": {
+ "start": {
+ "line": 79,
+ "column": 21
+ },
+ "end": {
+ "line": 79,
+ "column": 37
+ }
+ },
+ "callee": {
+ "type": "Identifier",
+ "start": 1793,
+ "end": 1807,
+ "loc": {
+ "start": {
+ "line": 79,
+ "column": 21
+ },
+ "end": {
+ "line": 79,
+ "column": 35
+ },
+ "identifierName": "inputClassName"
+ },
+ "name": "inputClassName"
+ },
+ "arguments": []
+ }
+ }
+ },
+ {
+ "type": "JSXAttribute",
+ "start": 1816,
+ "end": 1850,
+ "loc": {
+ "start": {
+ "line": 80,
+ "column": 5
+ },
+ "end": {
+ "line": 80,
+ "column": 39
+ }
+ },
+ "name": {
+ "type": "JSXIdentifier",
+ "start": 1816,
+ "end": 1835,
+ "loc": {
+ "start": {
+ "line": 80,
+ "column": 5
+ },
+ "end": {
+ "line": 80,
+ "column": 24
+ }
+ },
+ "name": "ariaDescribedbyAttr"
+ },
+ "value": {
+ "type": "JSXExpressionContainer",
+ "start": 1836,
+ "end": 1850,
+ "loc": {
+ "start": {
+ "line": 80,
+ "column": 25
+ },
+ "end": {
+ "line": 80,
+ "column": 39
+ }
+ },
+ "expression": {
+ "type": "CallExpression",
+ "start": 1837,
+ "end": 1849,
+ "loc": {
+ "start": {
+ "line": 80,
+ "column": 26
+ },
+ "end": {
+ "line": 80,
+ "column": 38
+ }
+ },
+ "callee": {
+ "type": "Identifier",
+ "start": 1837,
+ "end": 1847,
+ "loc": {
+ "start": {
+ "line": 80,
+ "column": 26
+ },
+ "end": {
+ "line": 80,
+ "column": 36
+ },
+ "identifierName": "ariaIdAttr"
+ },
+ "name": "ariaIdAttr"
+ },
+ "arguments": []
+ }
+ }
+ },
+ {
+ "type": "JSXAttribute",
+ "start": 1856,
+ "end": 1875,
+ "loc": {
+ "start": {
+ "line": 81,
+ "column": 5
+ },
+ "end": {
+ "line": 81,
+ "column": 24
+ }
+ },
+ "name": {
+ "type": "JSXIdentifier",
+ "start": 1856,
+ "end": 1861,
+ "loc": {
+ "start": {
+ "line": 81,
+ "column": 5
+ },
+ "end": {
+ "line": 81,
+ "column": 10
+ }
+ },
+ "name": "value"
+ },
+ "value": {
+ "type": "JSXExpressionContainer",
+ "start": 1862,
+ "end": 1875,
+ "loc": {
+ "start": {
+ "line": 81,
+ "column": 11
+ },
+ "end": {
+ "line": 81,
+ "column": 24
+ }
+ },
+ "expression": {
+ "type": "MemberExpression",
+ "start": 1863,
+ "end": 1874,
+ "loc": {
+ "start": {
+ "line": 81,
+ "column": 12
+ },
+ "end": {
+ "line": 81,
+ "column": 23
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 1863,
+ "end": 1868,
+ "loc": {
+ "start": {
+ "line": 81,
+ "column": 12
+ },
+ "end": {
+ "line": 81,
+ "column": 17
+ },
+ "identifierName": "props"
+ },
+ "name": "props"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 1869,
+ "end": 1874,
+ "loc": {
+ "start": {
+ "line": 81,
+ "column": 18
+ },
+ "end": {
+ "line": 81,
+ "column": 23
+ },
+ "identifierName": "value"
+ },
+ "name": "value"
+ },
+ "computed": false
+ }
+ }
+ },
+ {
+ "type": "JSXAttribute",
+ "start": 1881,
+ "end": 1916,
+ "loc": {
+ "start": {
+ "line": 82,
+ "column": 5
+ },
+ "end": {
+ "line": 82,
+ "column": 40
+ }
+ },
+ "name": {
+ "type": "JSXIdentifier",
+ "start": 1881,
+ "end": 1894,
+ "loc": {
+ "start": {
+ "line": 82,
+ "column": 5
+ },
+ "end": {
+ "line": 82,
+ "column": 18
+ }
+ },
+ "name": "onValueChange"
+ },
+ "value": {
+ "type": "JSXExpressionContainer",
+ "start": 1895,
+ "end": 1916,
+ "loc": {
+ "start": {
+ "line": 82,
+ "column": 19
+ },
+ "end": {
+ "line": 82,
+ "column": 40
+ }
+ },
+ "expression": {
+ "type": "MemberExpression",
+ "start": 1896,
+ "end": 1915,
+ "loc": {
+ "start": {
+ "line": 82,
+ "column": 20
+ },
+ "end": {
+ "line": 82,
+ "column": 39
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 1896,
+ "end": 1901,
+ "loc": {
+ "start": {
+ "line": 82,
+ "column": 20
+ },
+ "end": {
+ "line": 82,
+ "column": 25
+ },
+ "identifierName": "props"
+ },
+ "name": "props"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 1902,
+ "end": 1915,
+ "loc": {
+ "start": {
+ "line": 82,
+ "column": 26
+ },
+ "end": {
+ "line": 82,
+ "column": 39
+ },
+ "identifierName": "onValueChange"
+ },
+ "name": "onValueChange"
+ },
+ "computed": false
+ }
+ }
+ },
+ {
+ "type": "JSXAttribute",
+ "start": 1922,
+ "end": 1949,
+ "loc": {
+ "start": {
+ "line": 83,
+ "column": 5
+ },
+ "end": {
+ "line": 83,
+ "column": 32
+ }
+ },
+ "name": {
+ "type": "JSXIdentifier",
+ "start": 1922,
+ "end": 1931,
+ "loc": {
+ "start": {
+ "line": 83,
+ "column": 5
+ },
+ "end": {
+ "line": 83,
+ "column": 14
+ }
+ },
+ "name": "inputType"
+ },
+ "value": {
+ "type": "JSXExpressionContainer",
+ "start": 1932,
+ "end": 1949,
+ "loc": {
+ "start": {
+ "line": 83,
+ "column": 15
+ },
+ "end": {
+ "line": 83,
+ "column": 32
+ }
+ },
+ "expression": {
+ "type": "MemberExpression",
+ "start": 1933,
+ "end": 1948,
+ "loc": {
+ "start": {
+ "line": 83,
+ "column": 16
+ },
+ "end": {
+ "line": 83,
+ "column": 31
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 1933,
+ "end": 1938,
+ "loc": {
+ "start": {
+ "line": 83,
+ "column": 16
+ },
+ "end": {
+ "line": 83,
+ "column": 21
+ },
+ "identifierName": "props"
+ },
+ "name": "props"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 1939,
+ "end": 1948,
+ "loc": {
+ "start": {
+ "line": 83,
+ "column": 22
+ },
+ "end": {
+ "line": 83,
+ "column": 31
+ },
+ "identifierName": "inputType"
+ },
+ "name": "inputType"
+ },
+ "computed": false
+ }
+ }
+ },
+ {
+ "type": "JSXAttribute",
+ "start": 1955,
+ "end": 1980,
+ "loc": {
+ "start": {
+ "line": 84,
+ "column": 5
+ },
+ "end": {
+ "line": 84,
+ "column": 30
+ }
+ },
+ "name": {
+ "type": "JSXIdentifier",
+ "start": 1955,
+ "end": 1963,
+ "loc": {
+ "start": {
+ "line": 84,
+ "column": 5
+ },
+ "end": {
+ "line": 84,
+ "column": 13
+ }
+ },
+ "name": "disabled"
+ },
+ "value": {
+ "type": "JSXExpressionContainer",
+ "start": 1964,
+ "end": 1980,
+ "loc": {
+ "start": {
+ "line": 84,
+ "column": 14
+ },
+ "end": {
+ "line": 84,
+ "column": 30
+ }
+ },
+ "expression": {
+ "type": "MemberExpression",
+ "start": 1965,
+ "end": 1979,
+ "loc": {
+ "start": {
+ "line": 84,
+ "column": 15
+ },
+ "end": {
+ "line": 84,
+ "column": 29
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 1965,
+ "end": 1970,
+ "loc": {
+ "start": {
+ "line": 84,
+ "column": 15
+ },
+ "end": {
+ "line": 84,
+ "column": 20
+ },
+ "identifierName": "props"
+ },
+ "name": "props"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 1971,
+ "end": 1979,
+ "loc": {
+ "start": {
+ "line": 84,
+ "column": 21
+ },
+ "end": {
+ "line": 84,
+ "column": 29
+ },
+ "identifierName": "disabled"
+ },
+ "name": "disabled"
+ },
+ "computed": false
+ }
+ }
+ },
+ {
+ "type": "JSXAttribute",
+ "start": 1986,
+ "end": 2007,
+ "loc": {
+ "start": {
+ "line": 85,
+ "column": 5
+ },
+ "end": {
+ "line": 85,
+ "column": 26
+ }
+ },
+ "name": {
+ "type": "JSXIdentifier",
+ "start": 1986,
+ "end": 1992,
+ "loc": {
+ "start": {
+ "line": 85,
+ "column": 5
+ },
+ "end": {
+ "line": 85,
+ "column": 11
+ }
+ },
+ "name": "onBlur"
+ },
+ "value": {
+ "type": "JSXExpressionContainer",
+ "start": 1993,
+ "end": 2007,
+ "loc": {
+ "start": {
+ "line": 85,
+ "column": 12
+ },
+ "end": {
+ "line": 85,
+ "column": 26
+ }
+ },
+ "expression": {
+ "type": "MemberExpression",
+ "start": 1994,
+ "end": 2006,
+ "loc": {
+ "start": {
+ "line": 85,
+ "column": 13
+ },
+ "end": {
+ "line": 85,
+ "column": 25
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 1994,
+ "end": 1999,
+ "loc": {
+ "start": {
+ "line": 85,
+ "column": 13
+ },
+ "end": {
+ "line": 85,
+ "column": 18
+ },
+ "identifierName": "props"
+ },
+ "name": "props"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 2000,
+ "end": 2006,
+ "loc": {
+ "start": {
+ "line": 85,
+ "column": 19
+ },
+ "end": {
+ "line": 85,
+ "column": 25
+ },
+ "identifierName": "onBlur"
+ },
+ "name": "onBlur"
+ },
+ "computed": false
+ }
+ }
+ },
+ {
+ "type": "JSXAttribute",
+ "start": 2013,
+ "end": 2036,
+ "loc": {
+ "start": {
+ "line": 86,
+ "column": 5
+ },
+ "end": {
+ "line": 86,
+ "column": 28
+ }
+ },
+ "name": {
+ "type": "JSXIdentifier",
+ "start": 2013,
+ "end": 2020,
+ "loc": {
+ "start": {
+ "line": 86,
+ "column": 5
+ },
+ "end": {
+ "line": 86,
+ "column": 12
+ }
+ },
+ "name": "onFocus"
+ },
+ "value": {
+ "type": "JSXExpressionContainer",
+ "start": 2021,
+ "end": 2036,
+ "loc": {
+ "start": {
+ "line": 86,
+ "column": 13
+ },
+ "end": {
+ "line": 86,
+ "column": 28
+ }
+ },
+ "expression": {
+ "type": "MemberExpression",
+ "start": 2022,
+ "end": 2035,
+ "loc": {
+ "start": {
+ "line": 86,
+ "column": 14
+ },
+ "end": {
+ "line": 86,
+ "column": 27
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 2022,
+ "end": 2027,
+ "loc": {
+ "start": {
+ "line": 86,
+ "column": 14
+ },
+ "end": {
+ "line": 86,
+ "column": 19
+ },
+ "identifierName": "props"
+ },
+ "name": "props"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 2028,
+ "end": 2035,
+ "loc": {
+ "start": {
+ "line": 86,
+ "column": 20
+ },
+ "end": {
+ "line": 86,
+ "column": 27
+ },
+ "identifierName": "onFocus"
+ },
+ "name": "onFocus"
+ },
+ "computed": false
+ }
+ }
+ }
+ ],
+ "name": {
+ "type": "JSXIdentifier",
+ "start": 1747,
+ "end": 1752,
+ "loc": {
+ "start": {
+ "line": 77,
+ "column": 5
+ },
+ "end": {
+ "line": 77,
+ "column": 10
+ }
+ },
+ "name": "Input"
+ },
+ "selfClosing": true
+ },
+ "closingElement": null,
+ "children": [],
+ "extra": {
+ "parenthesized": true,
+ "parenStart": 1740
+ }
+ }
+ }
+ ],
+ "test": {
+ "type": "StringLiteral",
+ "start": 1721,
+ "end": 1728,
+ "loc": {
+ "start": {
+ "line": 75,
+ "column": 7
+ },
+ "end": {
+ "line": 75,
+ "column": 14
+ }
+ },
+ "extra": {
+ "rawValue": "input",
+ "raw": "'input'"
+ },
+ "value": "input"
+ }
+ }
+ ]
+ }
+ ],
+ "directives": []
+ }
+ },
+ "leadingComments": null
+ }
+ ],
+ "kind": "const",
+ "leadingComments": [
+ {
+ "type": "CommentBlock",
+ "value": "*\n * Creates the field inside of a field group\n *\n * @param {Object} props\n * @returns {*}\n * @constructor\n ",
+ "start": 365,
+ "end": 477,
+ "loc": {
+ "start": {
+ "line": 11,
+ "column": 0
+ },
+ "end": {
+ "line": 17,
+ "column": 3
+ }
+ }
+ }
+ ],
+ "trailingComments": [
+ {
+ "type": "CommentBlock",
+ "value": "*\n * propTypes for FieldInner component\n *\n * @type {{options, ariaDescribedbyAttr}}\n ",
+ "start": 2054,
+ "end": 2144,
+ "loc": {
+ "start": {
+ "line": 92,
+ "column": 0
+ },
+ "end": {
+ "line": 96,
+ "column": 3
+ }
+ }
+ }
+ ]
+ },
+ "leadingComments": [
+ {
+ "type": "CommentBlock",
+ "value": "*\n * Creates the field inside of a field group\n *\n * @param {Object} props\n * @returns {*}\n * @constructor\n ",
+ "start": 365,
+ "end": 477,
+ "loc": {
+ "start": {
+ "line": 11,
+ "column": 0
+ },
+ "end": {
+ "line": 17,
+ "column": 3
+ }
+ }
+ }
+ ],
+ "trailingComments": [
+ {
+ "type": "CommentBlock",
+ "value": "*\n * propTypes for FieldInner component\n *\n * @type {{options, ariaDescribedbyAttr}}\n ",
+ "start": 2054,
+ "end": 2144,
+ "loc": {
+ "start": {
+ "line": 92,
+ "column": 0
+ },
+ "end": {
+ "line": 96,
+ "column": 3
+ }
+ }
+ }
+ ]
+ },
+ {
+ "type": "ExpressionStatement",
+ "start": 2145,
+ "end": 2222,
+ "loc": {
+ "start": {
+ "line": 97,
+ "column": 0
+ },
+ "end": {
+ "line": 100,
+ "column": 2
+ }
+ },
+ "expression": {
+ "type": "AssignmentExpression",
+ "start": 2145,
+ "end": 2221,
+ "loc": {
+ "start": {
+ "line": 97,
+ "column": 0
+ },
+ "end": {
+ "line": 100,
+ "column": 1
+ }
+ },
+ "operator": "=",
+ "left": {
+ "type": "MemberExpression",
+ "start": 2145,
+ "end": 2165,
+ "loc": {
+ "start": {
+ "line": 97,
+ "column": 0
+ },
+ "end": {
+ "line": 97,
+ "column": 20
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 2145,
+ "end": 2155,
+ "loc": {
+ "start": {
+ "line": 97,
+ "column": 0
+ },
+ "end": {
+ "line": 97,
+ "column": 10
+ },
+ "identifierName": "FieldInner"
+ },
+ "name": "FieldInner",
+ "leadingComments": null
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 2156,
+ "end": 2165,
+ "loc": {
+ "start": {
+ "line": 97,
+ "column": 11
+ },
+ "end": {
+ "line": 97,
+ "column": 20
+ },
+ "identifierName": "propTypes"
+ },
+ "name": "propTypes"
+ },
+ "computed": false,
+ "leadingComments": null
+ },
+ "right": {
+ "type": "ObjectExpression",
+ "start": 2168,
+ "end": 2221,
+ "loc": {
+ "start": {
+ "line": 97,
+ "column": 23
+ },
+ "end": {
+ "line": 100,
+ "column": 1
+ }
+ },
+ "properties": [
+ {
+ "type": "SpreadProperty",
+ "start": 2171,
+ "end": 2193,
+ "loc": {
+ "start": {
+ "line": 98,
+ "column": 1
+ },
+ "end": {
+ "line": 98,
+ "column": 23
+ }
+ },
+ "argument": {
+ "type": "Identifier",
+ "start": 2174,
+ "end": 2193,
+ "loc": {
+ "start": {
+ "line": 98,
+ "column": 4
+ },
+ "end": {
+ "line": 98,
+ "column": 23
+ },
+ "identifierName": "fieldInnerPropTypes"
+ },
+ "name": "fieldInnerPropTypes"
+ }
+ },
+ {
+ "type": "ObjectProperty",
+ "start": 2196,
+ "end": 2218,
+ "loc": {
+ "start": {
+ "line": 99,
+ "column": 1
+ },
+ "end": {
+ "line": 99,
+ "column": 23
+ }
+ },
+ "method": false,
+ "shorthand": false,
+ "computed": false,
+ "key": {
+ "type": "Identifier",
+ "start": 2196,
+ "end": 2200,
"loc": {
"start": {
- "line": 83,
+ "line": 99,
"column": 1
},
"end": {
- "line": 83,
+ "line": 99,
"column": 5
},
"identifierName": "type"
@@ -3879,29 +4902,29 @@
},
"value": {
"type": "MemberExpression",
- "start": 1800,
- "end": 1816,
+ "start": 2202,
+ "end": 2218,
"loc": {
"start": {
- "line": 83,
+ "line": 99,
"column": 7
},
"end": {
- "line": 83,
+ "line": 99,
"column": 23
}
},
"object": {
"type": "Identifier",
- "start": 1800,
- "end": 1809,
+ "start": 2202,
+ "end": 2211,
"loc": {
"start": {
- "line": 83,
+ "line": 99,
"column": 7
},
"end": {
- "line": 83,
+ "line": 99,
"column": 16
},
"identifierName": "PropTypes"
@@ -3910,15 +4933,15 @@
},
"property": {
"type": "Identifier",
- "start": 1810,
- "end": 1816,
+ "start": 2212,
+ "end": 2218,
"loc": {
"start": {
- "line": 83,
+ "line": 99,
"column": 17
},
"end": {
- "line": 83,
+ "line": 99,
"column": 23
},
"identifierName": "string"
@@ -3932,416 +4955,2568 @@
},
"leadingComments": null
},
- "leadingComments": [
- {
- "type": "CommentBlock",
- "value": "*\n * propTypes for FieldInner component\n *\n * @type {{options, ariaDescribedbyAttr}}\n ",
- "start": 1652,
- "end": 1742,
- "loc": {
- "start": {
- "line": 76,
- "column": 0
- },
- "end": {
- "line": 80,
- "column": 3
- }
- }
- }
- ],
- "trailingComments": [
- {
- "type": "CommentBlock",
- "value": "*\n * Default props for FieldInner component\n * @type {{help: string}}\n ",
- "start": 1822,
- "end": 1897,
- "loc": {
- "start": {
- "line": 86,
- "column": 0
- },
- "end": {
- "line": 89,
- "column": 3
- }
- }
- }
- ]
+ "leadingComments": [
+ {
+ "type": "CommentBlock",
+ "value": "*\n * propTypes for FieldInner component\n *\n * @type {{options, ariaDescribedbyAttr}}\n ",
+ "start": 2054,
+ "end": 2144,
+ "loc": {
+ "start": {
+ "line": 92,
+ "column": 0
+ },
+ "end": {
+ "line": 96,
+ "column": 3
+ }
+ }
+ }
+ ],
+ "trailingComments": [
+ {
+ "type": "CommentBlock",
+ "value": "*\n * Default props for FieldInner component\n * @type {{help: string}}\n ",
+ "start": 2224,
+ "end": 2299,
+ "loc": {
+ "start": {
+ "line": 102,
+ "column": 0
+ },
+ "end": {
+ "line": 105,
+ "column": 3
+ }
+ }
+ }
+ ]
+ },
+ {
+ "type": "ExpressionStatement",
+ "start": 2300,
+ "end": 2356,
+ "loc": {
+ "start": {
+ "line": 106,
+ "column": 0
+ },
+ "end": {
+ "line": 109,
+ "column": 2
+ }
+ },
+ "expression": {
+ "type": "AssignmentExpression",
+ "start": 2300,
+ "end": 2355,
+ "loc": {
+ "start": {
+ "line": 106,
+ "column": 0
+ },
+ "end": {
+ "line": 109,
+ "column": 1
+ }
+ },
+ "operator": "=",
+ "left": {
+ "type": "MemberExpression",
+ "start": 2300,
+ "end": 2323,
+ "loc": {
+ "start": {
+ "line": 106,
+ "column": 0
+ },
+ "end": {
+ "line": 106,
+ "column": 23
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 2300,
+ "end": 2310,
+ "loc": {
+ "start": {
+ "line": 106,
+ "column": 0
+ },
+ "end": {
+ "line": 106,
+ "column": 10
+ },
+ "identifierName": "FieldInner"
+ },
+ "name": "FieldInner",
+ "leadingComments": null
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 2311,
+ "end": 2323,
+ "loc": {
+ "start": {
+ "line": 106,
+ "column": 11
+ },
+ "end": {
+ "line": 106,
+ "column": 23
+ },
+ "identifierName": "defaultProps"
+ },
+ "name": "defaultProps"
+ },
+ "computed": false,
+ "leadingComments": null
+ },
+ "right": {
+ "type": "ObjectExpression",
+ "start": 2326,
+ "end": 2355,
+ "loc": {
+ "start": {
+ "line": 106,
+ "column": 26
+ },
+ "end": {
+ "line": 109,
+ "column": 1
+ }
+ },
+ "properties": [
+ {
+ "type": "ObjectProperty",
+ "start": 2329,
+ "end": 2337,
+ "loc": {
+ "start": {
+ "line": 107,
+ "column": 1
+ },
+ "end": {
+ "line": 107,
+ "column": 9
+ }
+ },
+ "method": false,
+ "shorthand": false,
+ "computed": false,
+ "key": {
+ "type": "Identifier",
+ "start": 2329,
+ "end": 2333,
+ "loc": {
+ "start": {
+ "line": 107,
+ "column": 1
+ },
+ "end": {
+ "line": 107,
+ "column": 5
+ },
+ "identifierName": "help"
+ },
+ "name": "help"
+ },
+ "value": {
+ "type": "StringLiteral",
+ "start": 2335,
+ "end": 2337,
+ "loc": {
+ "start": {
+ "line": 107,
+ "column": 7
+ },
+ "end": {
+ "line": 107,
+ "column": 9
+ }
+ },
+ "extra": {
+ "rawValue": "",
+ "raw": "''"
+ },
+ "value": ""
+ }
+ },
+ {
+ "type": "ObjectProperty",
+ "start": 2340,
+ "end": 2353,
+ "loc": {
+ "start": {
+ "line": 108,
+ "column": 1
+ },
+ "end": {
+ "line": 108,
+ "column": 14
+ }
+ },
+ "method": false,
+ "shorthand": false,
+ "computed": false,
+ "key": {
+ "type": "Identifier",
+ "start": 2340,
+ "end": 2344,
+ "loc": {
+ "start": {
+ "line": 108,
+ "column": 1
+ },
+ "end": {
+ "line": 108,
+ "column": 5
+ },
+ "identifierName": "type"
+ },
+ "name": "type"
+ },
+ "value": {
+ "type": "StringLiteral",
+ "start": 2346,
+ "end": 2353,
+ "loc": {
+ "start": {
+ "line": 108,
+ "column": 7
+ },
+ "end": {
+ "line": 108,
+ "column": 14
+ }
+ },
+ "extra": {
+ "rawValue": "input",
+ "raw": "'input'"
+ },
+ "value": "input"
+ }
+ }
+ ]
+ },
+ "leadingComments": null
+ },
+ "leadingComments": [
+ {
+ "type": "CommentBlock",
+ "value": "*\n * Default props for FieldInner component\n * @type {{help: string}}\n ",
+ "start": 2224,
+ "end": 2299,
+ "loc": {
+ "start": {
+ "line": 102,
+ "column": 0
+ },
+ "end": {
+ "line": 105,
+ "column": 3
+ }
+ }
+ }
+ ]
+ }
+ ],
+ "directives": []
+ },
+ "comments": [
+ {
+ "type": "CommentBlock",
+ "value": "*\n * Creates the field inside of a field group\n *\n * @param {Object} props\n * @returns {*}\n * @constructor\n ",
+ "start": 365,
+ "end": 477,
+ "loc": {
+ "start": {
+ "line": 11,
+ "column": 0
+ },
+ "end": {
+ "line": 17,
+ "column": 3
+ }
+ }
+ },
+ {
+ "type": "CommentBlock",
+ "value": "*\n\t * Get the ID for the description element if it will be created\n\t *\n\t * @return {String|null}\n\t ",
+ "start": 519,
+ "end": 622,
+ "loc": {
+ "start": {
+ "line": 20,
+ "column": 1
+ },
+ "end": {
+ "line": 24,
+ "column": 4
+ }
+ }
+ },
+ {
+ "type": "CommentBlock",
+ "value": "*\n\t * Get the className prop for the\n\t *\n\t * @return {String}\n\t ",
+ "start": 705,
+ "end": 773,
+ "loc": {
+ "start": {
+ "line": 29,
+ "column": 1
+ },
+ "end": {
+ "line": 33,
+ "column": 4
+ }
+ }
+ },
+ {
+ "type": "CommentBlock",
+ "value": "*\n * propTypes for FieldInner component\n *\n * @type {{options, ariaDescribedbyAttr}}\n ",
+ "start": 2054,
+ "end": 2144,
+ "loc": {
+ "start": {
+ "line": 92,
+ "column": 0
+ },
+ "end": {
+ "line": 96,
+ "column": 3
+ }
+ }
+ },
+ {
+ "type": "CommentBlock",
+ "value": "*\n * Default props for FieldInner component\n * @type {{help: string}}\n ",
+ "start": 2224,
+ "end": 2299,
+ "loc": {
+ "start": {
+ "line": 102,
+ "column": 0
+ },
+ "end": {
+ "line": 105,
+ "column": 3
+ }
+ }
+ }
+ ],
+ "tokens": [
+ {
+ "type": {
+ "label": "import",
+ "keyword": "import",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "import",
+ "start": 0,
+ "end": 6,
+ "loc": {
+ "start": {
+ "line": 1,
+ "column": 0
+ },
+ "end": {
+ "line": 1,
+ "column": 6
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "{",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 7,
+ "end": 8,
+ "loc": {
+ "start": {
+ "line": 1,
+ "column": 7
+ },
+ "end": {
+ "line": 1,
+ "column": 8
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "fieldInnerPropTypes",
+ "start": 8,
+ "end": 27,
+ "loc": {
+ "start": {
+ "line": 1,
+ "column": 8
+ },
+ "end": {
+ "line": 1,
+ "column": 27
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "}",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 27,
+ "end": 28,
+ "loc": {
+ "start": {
+ "line": 1,
+ "column": 27
+ },
+ "end": {
+ "line": 1,
+ "column": 28
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "from",
+ "start": 29,
+ "end": 33,
+ "loc": {
+ "start": {
+ "line": 1,
+ "column": 29
+ },
+ "end": {
+ "line": 1,
+ "column": 33
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "string",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "./propTypes",
+ "start": 34,
+ "end": 47,
+ "loc": {
+ "start": {
+ "line": 1,
+ "column": 34
+ },
+ "end": {
+ "line": 1,
+ "column": 47
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ";",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 47,
+ "end": 48,
+ "loc": {
+ "start": {
+ "line": 1,
+ "column": 47
+ },
+ "end": {
+ "line": 1,
+ "column": 48
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "import",
+ "keyword": "import",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "import",
+ "start": 49,
+ "end": 55,
+ "loc": {
+ "start": {
+ "line": 2,
+ "column": 0
+ },
+ "end": {
+ "line": 2,
+ "column": 6
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "React",
+ "start": 56,
+ "end": 61,
+ "loc": {
+ "start": {
+ "line": 2,
+ "column": 7
+ },
+ "end": {
+ "line": 2,
+ "column": 12
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "from",
+ "start": 62,
+ "end": 66,
+ "loc": {
+ "start": {
+ "line": 2,
+ "column": 13
+ },
+ "end": {
+ "line": 2,
+ "column": 17
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "string",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "react",
+ "start": 67,
+ "end": 74,
+ "loc": {
+ "start": {
+ "line": 2,
+ "column": 18
+ },
+ "end": {
+ "line": 2,
+ "column": 25
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ";",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 74,
+ "end": 75,
+ "loc": {
+ "start": {
+ "line": 2,
+ "column": 25
+ },
+ "end": {
+ "line": 2,
+ "column": 26
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "import",
+ "keyword": "import",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "import",
+ "start": 76,
+ "end": 82,
+ "loc": {
+ "start": {
+ "line": 3,
+ "column": 0
+ },
+ "end": {
+ "line": 3,
+ "column": 6
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "{",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 83,
+ "end": 84,
+ "loc": {
+ "start": {
+ "line": 3,
+ "column": 7
+ },
+ "end": {
+ "line": 3,
+ "column": 8
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "Input",
+ "start": 84,
+ "end": 89,
+ "loc": {
+ "start": {
+ "line": 3,
+ "column": 8
+ },
+ "end": {
+ "line": 3,
+ "column": 13
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "}",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 89,
+ "end": 90,
+ "loc": {
+ "start": {
+ "line": 3,
+ "column": 13
+ },
+ "end": {
+ "line": 3,
+ "column": 14
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "from",
+ "start": 91,
+ "end": 95,
+ "loc": {
+ "start": {
+ "line": 3,
+ "column": 15
+ },
+ "end": {
+ "line": 3,
+ "column": 19
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "string",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "./input/Input",
+ "start": 96,
+ "end": 111,
+ "loc": {
+ "start": {
+ "line": 3,
+ "column": 20
+ },
+ "end": {
+ "line": 3,
+ "column": 35
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ";",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 111,
+ "end": 112,
+ "loc": {
+ "start": {
+ "line": 3,
+ "column": 35
+ },
+ "end": {
+ "line": 3,
+ "column": 36
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "import",
+ "keyword": "import",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "import",
+ "start": 113,
+ "end": 119,
+ "loc": {
+ "start": {
+ "line": 4,
+ "column": 0
+ },
+ "end": {
+ "line": 4,
+ "column": 6
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "{",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 120,
+ "end": 121,
+ "loc": {
+ "start": {
+ "line": 4,
+ "column": 7
+ },
+ "end": {
+ "line": 4,
+ "column": 8
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "SelectField",
+ "start": 121,
+ "end": 132,
+ "loc": {
+ "start": {
+ "line": 4,
+ "column": 8
+ },
+ "end": {
+ "line": 4,
+ "column": 19
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "}",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 132,
+ "end": 133,
+ "loc": {
+ "start": {
+ "line": 4,
+ "column": 19
+ },
+ "end": {
+ "line": 4,
+ "column": 20
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "from",
+ "start": 134,
+ "end": 138,
+ "loc": {
+ "start": {
+ "line": 4,
+ "column": 21
+ },
+ "end": {
+ "line": 4,
+ "column": 25
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "string",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "./select/SelectField",
+ "start": 139,
+ "end": 161,
+ "loc": {
+ "start": {
+ "line": 4,
+ "column": 26
+ },
+ "end": {
+ "line": 4,
+ "column": 48
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ";",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 161,
+ "end": 162,
+ "loc": {
+ "start": {
+ "line": 4,
+ "column": 48
+ },
+ "end": {
+ "line": 4,
+ "column": 49
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "import",
+ "keyword": "import",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "import",
+ "start": 163,
+ "end": 169,
+ "loc": {
+ "start": {
+ "line": 5,
+ "column": 0
+ },
+ "end": {
+ "line": 5,
+ "column": 6
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "{",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 170,
+ "end": 171,
+ "loc": {
+ "start": {
+ "line": 5,
+ "column": 7
+ },
+ "end": {
+ "line": 5,
+ "column": 8
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "ariaDescribedbyAttr",
+ "start": 171,
+ "end": 190,
+ "loc": {
+ "start": {
+ "line": 5,
+ "column": 8
+ },
+ "end": {
+ "line": 5,
+ "column": 27
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "}",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 190,
+ "end": 191,
+ "loc": {
+ "start": {
+ "line": 5,
+ "column": 27
+ },
+ "end": {
+ "line": 5,
+ "column": 28
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "from",
+ "start": 192,
+ "end": 196,
+ "loc": {
+ "start": {
+ "line": 5,
+ "column": 29
+ },
+ "end": {
+ "line": 5,
+ "column": 33
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "string",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "./util",
+ "start": 197,
+ "end": 205,
+ "loc": {
+ "start": {
+ "line": 5,
+ "column": 34
+ },
+ "end": {
+ "line": 5,
+ "column": 42
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ";",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 205,
+ "end": 206,
+ "loc": {
+ "start": {
+ "line": 5,
+ "column": 42
+ },
+ "end": {
+ "line": 5,
+ "column": 43
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "import",
+ "keyword": "import",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "import",
+ "start": 207,
+ "end": 213,
+ "loc": {
+ "start": {
+ "line": 6,
+ "column": 0
+ },
+ "end": {
+ "line": 6,
+ "column": 6
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "PropTypes",
+ "start": 214,
+ "end": 223,
+ "loc": {
+ "start": {
+ "line": 6,
+ "column": 7
+ },
+ "end": {
+ "line": 6,
+ "column": 16
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "from",
+ "start": 224,
+ "end": 228,
+ "loc": {
+ "start": {
+ "line": 6,
+ "column": 17
+ },
+ "end": {
+ "line": 6,
+ "column": 21
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "string",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "prop-types",
+ "start": 229,
+ "end": 241,
+ "loc": {
+ "start": {
+ "line": 6,
+ "column": 22
+ },
+ "end": {
+ "line": 6,
+ "column": 34
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ";",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 241,
+ "end": 242,
+ "loc": {
+ "start": {
+ "line": 6,
+ "column": 34
+ },
+ "end": {
+ "line": 6,
+ "column": 35
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "import",
+ "keyword": "import",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "import",
+ "start": 243,
+ "end": 249,
+ "loc": {
+ "start": {
+ "line": 7,
+ "column": 0
+ },
+ "end": {
+ "line": 7,
+ "column": 6
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "classNames",
+ "start": 250,
+ "end": 260,
+ "loc": {
+ "start": {
+ "line": 7,
+ "column": 7
+ },
+ "end": {
+ "line": 7,
+ "column": 17
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "from",
+ "start": 261,
+ "end": 265,
+ "loc": {
+ "start": {
+ "line": 7,
+ "column": 18
+ },
+ "end": {
+ "line": 7,
+ "column": 22
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "string",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "classnames",
+ "start": 266,
+ "end": 278,
+ "loc": {
+ "start": {
+ "line": 7,
+ "column": 23
+ },
+ "end": {
+ "line": 7,
+ "column": 35
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ";",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 278,
+ "end": 279,
+ "loc": {
+ "start": {
+ "line": 7,
+ "column": 35
+ },
+ "end": {
+ "line": 7,
+ "column": 36
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "import",
+ "keyword": "import",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "import",
+ "start": 280,
+ "end": 286,
+ "loc": {
+ "start": {
+ "line": 8,
+ "column": 0
+ },
+ "end": {
+ "line": 8,
+ "column": 6
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "{",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 287,
+ "end": 288,
+ "loc": {
+ "start": {
+ "line": 8,
+ "column": 7
+ },
+ "end": {
+ "line": 8,
+ "column": 8
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "RenderGroup",
+ "start": 288,
+ "end": 299,
+ "loc": {
+ "start": {
+ "line": 8,
+ "column": 8
+ },
+ "end": {
+ "line": 8,
+ "column": 19
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "}",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 299,
+ "end": 300,
+ "loc": {
+ "start": {
+ "line": 8,
+ "column": 19
+ },
+ "end": {
+ "line": 8,
+ "column": 20
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "from",
+ "start": 301,
+ "end": 305,
+ "loc": {
+ "start": {
+ "line": 8,
+ "column": 21
+ },
+ "end": {
+ "line": 8,
+ "column": 25
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "string",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "../RenderGroup",
+ "start": 306,
+ "end": 322,
+ "loc": {
+ "start": {
+ "line": 8,
+ "column": 26
+ },
+ "end": {
+ "line": 8,
+ "column": 42
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ";",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 322,
+ "end": 323,
+ "loc": {
+ "start": {
+ "line": 8,
+ "column": 42
+ },
+ "end": {
+ "line": 8,
+ "column": 43
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "import",
+ "keyword": "import",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "import",
+ "start": 324,
+ "end": 330,
+ "loc": {
+ "start": {
+ "line": 9,
+ "column": 0
+ },
+ "end": {
+ "line": 9,
+ "column": 6
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "{",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 331,
+ "end": 332,
+ "loc": {
+ "start": {
+ "line": 9,
+ "column": 7
+ },
+ "end": {
+ "line": 9,
+ "column": 8
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "Button",
+ "start": 332,
+ "end": 338,
+ "loc": {
+ "start": {
+ "line": 9,
+ "column": 8
+ },
+ "end": {
+ "line": 9,
+ "column": 14
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "}",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 338,
+ "end": 339,
+ "loc": {
+ "start": {
+ "line": 9,
+ "column": 14
+ },
+ "end": {
+ "line": 9,
+ "column": 15
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "from",
+ "start": 340,
+ "end": 344,
+ "loc": {
+ "start": {
+ "line": 9,
+ "column": 16
+ },
+ "end": {
+ "line": 9,
+ "column": 20
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "string",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "./button/Button",
+ "start": 345,
+ "end": 362,
+ "loc": {
+ "start": {
+ "line": 9,
+ "column": 21
+ },
+ "end": {
+ "line": 9,
+ "column": 38
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ";",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 362,
+ "end": 363,
+ "loc": {
+ "start": {
+ "line": 9,
+ "column": 38
+ },
+ "end": {
+ "line": 9,
+ "column": 39
+ }
+ }
+ },
+ {
+ "type": "CommentBlock",
+ "value": "*\n * Creates the field inside of a field group\n *\n * @param {Object} props\n * @returns {*}\n * @constructor\n ",
+ "start": 365,
+ "end": 477,
+ "loc": {
+ "start": {
+ "line": 11,
+ "column": 0
+ },
+ "end": {
+ "line": 17,
+ "column": 3
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "export",
+ "keyword": "export",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "export",
+ "start": 478,
+ "end": 484,
+ "loc": {
+ "start": {
+ "line": 18,
+ "column": 0
+ },
+ "end": {
+ "line": 18,
+ "column": 6
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "const",
+ "keyword": "const",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "const",
+ "start": 485,
+ "end": 490,
+ "loc": {
+ "start": {
+ "line": 18,
+ "column": 7
+ },
+ "end": {
+ "line": 18,
+ "column": 12
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "FieldInner",
+ "start": 491,
+ "end": 501,
+ "loc": {
+ "start": {
+ "line": 18,
+ "column": 13
+ },
+ "end": {
+ "line": 18,
+ "column": 23
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "=",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": true,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "=",
+ "start": 502,
+ "end": 503,
+ "loc": {
+ "start": {
+ "line": 18,
+ "column": 24
+ },
+ "end": {
+ "line": 18,
+ "column": 25
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "(",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 504,
+ "end": 505,
+ "loc": {
+ "start": {
+ "line": 18,
+ "column": 26
+ },
+ "end": {
+ "line": 18,
+ "column": 27
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "props",
+ "start": 505,
+ "end": 510,
+ "loc": {
+ "start": {
+ "line": 18,
+ "column": 27
+ },
+ "end": {
+ "line": 18,
+ "column": 32
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ")",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 510,
+ "end": 511,
+ "loc": {
+ "start": {
+ "line": 18,
+ "column": 32
+ },
+ "end": {
+ "line": 18,
+ "column": 33
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "=>",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 512,
+ "end": 514,
+ "loc": {
+ "start": {
+ "line": 18,
+ "column": 34
+ },
+ "end": {
+ "line": 18,
+ "column": 36
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "{",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 515,
+ "end": 516,
+ "loc": {
+ "start": {
+ "line": 18,
+ "column": 37
+ },
+ "end": {
+ "line": 18,
+ "column": 38
+ }
+ }
+ },
+ {
+ "type": "CommentBlock",
+ "value": "*\n\t * Get the ID for the description element if it will be created\n\t *\n\t * @return {String|null}\n\t ",
+ "start": 519,
+ "end": 622,
+ "loc": {
+ "start": {
+ "line": 20,
+ "column": 1
+ },
+ "end": {
+ "line": 24,
+ "column": 4
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "function",
+ "keyword": "function",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "function",
+ "start": 624,
+ "end": 632,
+ "loc": {
+ "start": {
+ "line": 25,
+ "column": 1
+ },
+ "end": {
+ "line": 25,
+ "column": 9
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "ariaIdAttr",
+ "start": 633,
+ "end": 643,
+ "loc": {
+ "start": {
+ "line": 25,
+ "column": 10
+ },
+ "end": {
+ "line": 25,
+ "column": 20
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "(",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
},
- {
- "type": "ExpressionStatement",
- "start": 1898,
- "end": 1954,
- "loc": {
- "start": {
- "line": 90,
- "column": 0
- },
- "end": {
- "line": 93,
- "column": 2
- }
+ "start": 643,
+ "end": 644,
+ "loc": {
+ "start": {
+ "line": 25,
+ "column": 20
},
- "expression": {
- "type": "AssignmentExpression",
- "start": 1898,
- "end": 1953,
- "loc": {
- "start": {
- "line": 90,
- "column": 0
- },
- "end": {
- "line": 93,
- "column": 1
- }
- },
- "operator": "=",
- "left": {
- "type": "MemberExpression",
- "start": 1898,
- "end": 1921,
- "loc": {
- "start": {
- "line": 90,
- "column": 0
- },
- "end": {
- "line": 90,
- "column": 23
- }
- },
- "object": {
- "type": "Identifier",
- "start": 1898,
- "end": 1908,
- "loc": {
- "start": {
- "line": 90,
- "column": 0
- },
- "end": {
- "line": 90,
- "column": 10
- },
- "identifierName": "FieldInner"
- },
- "name": "FieldInner",
- "leadingComments": null
- },
- "property": {
- "type": "Identifier",
- "start": 1909,
- "end": 1921,
- "loc": {
- "start": {
- "line": 90,
- "column": 11
- },
- "end": {
- "line": 90,
- "column": 23
- },
- "identifierName": "defaultProps"
- },
- "name": "defaultProps"
- },
- "computed": false,
- "leadingComments": null
- },
- "right": {
- "type": "ObjectExpression",
- "start": 1924,
- "end": 1953,
- "loc": {
- "start": {
- "line": 90,
- "column": 26
- },
- "end": {
- "line": 93,
- "column": 1
- }
- },
- "properties": [
- {
- "type": "ObjectProperty",
- "start": 1927,
- "end": 1935,
- "loc": {
- "start": {
- "line": 91,
- "column": 1
- },
- "end": {
- "line": 91,
- "column": 9
- }
- },
- "method": false,
- "shorthand": false,
- "computed": false,
- "key": {
- "type": "Identifier",
- "start": 1927,
- "end": 1931,
- "loc": {
- "start": {
- "line": 91,
- "column": 1
- },
- "end": {
- "line": 91,
- "column": 5
- },
- "identifierName": "help"
- },
- "name": "help"
- },
- "value": {
- "type": "StringLiteral",
- "start": 1933,
- "end": 1935,
- "loc": {
- "start": {
- "line": 91,
- "column": 7
- },
- "end": {
- "line": 91,
- "column": 9
- }
- },
- "extra": {
- "rawValue": "",
- "raw": "''"
- },
- "value": ""
- }
- },
- {
- "type": "ObjectProperty",
- "start": 1938,
- "end": 1951,
- "loc": {
- "start": {
- "line": 92,
- "column": 1
- },
- "end": {
- "line": 92,
- "column": 14
- }
- },
- "method": false,
- "shorthand": false,
- "computed": false,
- "key": {
- "type": "Identifier",
- "start": 1938,
- "end": 1942,
- "loc": {
- "start": {
- "line": 92,
- "column": 1
- },
- "end": {
- "line": 92,
- "column": 5
- },
- "identifierName": "type"
- },
- "name": "type"
- },
- "value": {
- "type": "StringLiteral",
- "start": 1944,
- "end": 1951,
- "loc": {
- "start": {
- "line": 92,
- "column": 7
- },
- "end": {
- "line": 92,
- "column": 14
- }
- },
- "extra": {
- "rawValue": "input",
- "raw": "'input'"
- },
- "value": "input"
- }
- }
- ]
- },
- "leadingComments": null
+ "end": {
+ "line": 25,
+ "column": 21
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ")",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 644,
+ "end": 645,
+ "loc": {
+ "start": {
+ "line": 25,
+ "column": 21
},
- "leadingComments": [
- {
- "type": "CommentBlock",
- "value": "*\n * Default props for FieldInner component\n * @type {{help: string}}\n ",
- "start": 1822,
- "end": 1897,
- "loc": {
- "start": {
- "line": 86,
- "column": 0
- },
- "end": {
- "line": 89,
- "column": 3
- }
- }
- }
- ]
+ "end": {
+ "line": 25,
+ "column": 22
+ }
}
- ],
- "directives": []
- },
- "comments": [
+ },
{
- "type": "CommentBlock",
- "value": "*\n * Creates the field inside of a field group\n *\n * @param {Object} props\n * @returns {*}\n * @constructor\n ",
- "start": 324,
- "end": 436,
+ "type": {
+ "label": "{",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 646,
+ "end": 647,
"loc": {
"start": {
- "line": 9,
- "column": 0
+ "line": 25,
+ "column": 23
},
"end": {
- "line": 15,
- "column": 3
+ "line": 25,
+ "column": 24
}
}
},
{
- "type": "CommentBlock",
- "value": "*\n\t * Get the ID for the description element if it will be created\n\t *\n\t * @return {String|null}\n\t ",
- "start": 478,
- "end": 581,
+ "type": {
+ "label": "return",
+ "keyword": "return",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "return",
+ "start": 650,
+ "end": 656,
"loc": {
"start": {
- "line": 18,
- "column": 1
+ "line": 26,
+ "column": 2
},
"end": {
- "line": 22,
- "column": 4
+ "line": 26,
+ "column": 8
}
}
},
{
- "type": "CommentBlock",
- "value": "*\n\t * Get the className prop for the\n\t *\n\t * @return {String}\n\t ",
- "start": 664,
- "end": 732,
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "ariaDescribedbyAttr",
+ "start": 657,
+ "end": 676,
"loc": {
"start": {
- "line": 27,
- "column": 1
+ "line": 26,
+ "column": 9
},
"end": {
- "line": 31,
- "column": 4
+ "line": 26,
+ "column": 28
}
}
},
{
- "type": "CommentBlock",
- "value": "*\n * propTypes for FieldInner component\n *\n * @type {{options, ariaDescribedbyAttr}}\n ",
- "start": 1652,
- "end": 1742,
+ "type": {
+ "label": "(",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 676,
+ "end": 677,
"loc": {
"start": {
- "line": 76,
- "column": 0
+ "line": 26,
+ "column": 28
},
"end": {
- "line": 80,
- "column": 3
+ "line": 26,
+ "column": 29
}
}
},
{
- "type": "CommentBlock",
- "value": "*\n * Default props for FieldInner component\n * @type {{help: string}}\n ",
- "start": 1822,
- "end": 1897,
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "props",
+ "start": 677,
+ "end": 682,
"loc": {
"start": {
- "line": 86,
- "column": 0
+ "line": 26,
+ "column": 29
+ },
+ "end": {
+ "line": 26,
+ "column": 34
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 682,
+ "end": 683,
+ "loc": {
+ "start": {
+ "line": 26,
+ "column": 34
+ },
+ "end": {
+ "line": 26,
+ "column": 35
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "id",
+ "start": 683,
+ "end": 685,
+ "loc": {
+ "start": {
+ "line": 26,
+ "column": 35
+ },
+ "end": {
+ "line": 26,
+ "column": 37
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ",",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 685,
+ "end": 686,
+ "loc": {
+ "start": {
+ "line": 26,
+ "column": 37
+ },
+ "end": {
+ "line": 26,
+ "column": 38
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "props",
+ "start": 687,
+ "end": 692,
+ "loc": {
+ "start": {
+ "line": 26,
+ "column": 39
+ },
+ "end": {
+ "line": 26,
+ "column": 44
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 692,
+ "end": 693,
+ "loc": {
+ "start": {
+ "line": 26,
+ "column": 44
+ },
+ "end": {
+ "line": 26,
+ "column": 45
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "help",
+ "start": 693,
+ "end": 697,
+ "loc": {
+ "start": {
+ "line": 26,
+ "column": 45
},
"end": {
- "line": 89,
- "column": 3
+ "line": 26,
+ "column": 49
}
}
- }
- ],
- "tokens": [
+ },
{
"type": {
- "label": "import",
- "keyword": "import",
+ "label": ")",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "import",
- "start": 0,
- "end": 6,
+ "start": 697,
+ "end": 698,
"loc": {
"start": {
- "line": 1,
- "column": 0
+ "line": 26,
+ "column": 49
},
"end": {
- "line": 1,
- "column": 6
+ "line": 26,
+ "column": 50
}
}
},
{
"type": {
- "label": "{",
+ "label": ";",
"beforeExpr": true,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 7,
- "end": 8,
+ "start": 698,
+ "end": 699,
"loc": {
"start": {
- "line": 1,
- "column": 7
+ "line": 26,
+ "column": 50
},
"end": {
- "line": 1,
- "column": 8
+ "line": 26,
+ "column": 51
}
}
},
{
"type": {
- "label": "name",
+ "label": "}",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -4349,25 +7524,41 @@
"postfix": false,
"binop": null
},
- "value": "fieldInnerPropTypes",
- "start": 8,
- "end": 27,
+ "start": 701,
+ "end": 702,
"loc": {
"start": {
- "line": 1,
- "column": 8
+ "line": 27,
+ "column": 1
},
"end": {
- "line": 1,
- "column": 27
+ "line": 27,
+ "column": 2
+ }
+ }
+ },
+ {
+ "type": "CommentBlock",
+ "value": "*\n\t * Get the className prop for the\n\t *\n\t * @return {String}\n\t ",
+ "start": 705,
+ "end": 773,
+ "loc": {
+ "start": {
+ "line": 29,
+ "column": 1
+ },
+ "end": {
+ "line": 33,
+ "column": 4
}
}
},
{
"type": {
- "label": "}",
+ "label": "function",
+ "keyword": "function",
"beforeExpr": false,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -4375,16 +7566,17 @@
"postfix": false,
"binop": null
},
- "start": 27,
- "end": 28,
+ "value": "function",
+ "start": 775,
+ "end": 783,
"loc": {
"start": {
- "line": 1,
- "column": 27
+ "line": 34,
+ "column": 1
},
"end": {
- "line": 1,
- "column": 28
+ "line": 34,
+ "column": 9
}
}
},
@@ -4400,124 +7592,120 @@
"postfix": false,
"binop": null
},
- "value": "from",
- "start": 29,
- "end": 33,
+ "value": "inputClassName",
+ "start": 784,
+ "end": 798,
"loc": {
"start": {
- "line": 1,
- "column": 29
+ "line": 34,
+ "column": 10
},
"end": {
- "line": 1,
- "column": 33
+ "line": 34,
+ "column": 24
}
}
},
{
"type": {
- "label": "string",
- "beforeExpr": false,
+ "label": "(",
+ "beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "./propTypes",
- "start": 34,
- "end": 47,
+ "start": 798,
+ "end": 799,
"loc": {
"start": {
- "line": 1,
- "column": 34
+ "line": 34,
+ "column": 24
},
"end": {
- "line": 1,
- "column": 47
+ "line": 34,
+ "column": 25
}
}
},
{
"type": {
- "label": ";",
- "beforeExpr": true,
+ "label": ")",
+ "beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 47,
- "end": 48,
+ "start": 799,
+ "end": 800,
"loc": {
"start": {
- "line": 1,
- "column": 47
+ "line": 34,
+ "column": 25
},
"end": {
- "line": 1,
- "column": 48
+ "line": 34,
+ "column": 26
}
}
},
{
"type": {
- "label": "import",
- "keyword": "import",
- "beforeExpr": false,
+ "label": "{",
+ "beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "import",
- "start": 49,
- "end": 55,
+ "start": 801,
+ "end": 802,
"loc": {
"start": {
- "line": 2,
- "column": 0
+ "line": 34,
+ "column": 27
},
"end": {
- "line": 2,
- "column": 6
+ "line": 34,
+ "column": 28
}
}
},
{
"type": {
- "label": "name",
- "beforeExpr": false,
- "startsExpr": true,
+ "label": "return",
+ "keyword": "return",
+ "beforeExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "React",
- "start": 56,
- "end": 61,
+ "value": "return",
+ "start": 805,
+ "end": 811,
"loc": {
"start": {
- "line": 2,
- "column": 7
+ "line": 35,
+ "column": 2
},
"end": {
- "line": 2,
- "column": 12
+ "line": 35,
+ "column": 8
}
}
},
@@ -4533,52 +7721,50 @@
"postfix": false,
"binop": null
},
- "value": "from",
- "start": 62,
- "end": 66,
+ "value": "classNames",
+ "start": 812,
+ "end": 822,
"loc": {
"start": {
- "line": 2,
- "column": 13
+ "line": 35,
+ "column": 9
},
"end": {
- "line": 2,
- "column": 17
+ "line": 35,
+ "column": 19
}
}
},
{
"type": {
- "label": "string",
- "beforeExpr": false,
+ "label": "(",
+ "beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "react",
- "start": 67,
- "end": 74,
+ "start": 822,
+ "end": 823,
"loc": {
"start": {
- "line": 2,
- "column": 18
+ "line": 35,
+ "column": 19
},
"end": {
- "line": 2,
- "column": 25
+ "line": 35,
+ "column": 20
}
}
},
{
"type": {
- "label": ";",
+ "label": "[",
"beforeExpr": true,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -4587,23 +7773,22 @@
"binop": null,
"updateContext": null
},
- "start": 74,
- "end": 75,
+ "start": 823,
+ "end": 824,
"loc": {
"start": {
- "line": 2,
- "column": 25
+ "line": 35,
+ "column": 20
},
"end": {
- "line": 2,
- "column": 26
+ "line": 35,
+ "column": 21
}
}
},
{
"type": {
- "label": "import",
- "keyword": "import",
+ "label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -4611,45 +7796,45 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "import",
- "start": 76,
- "end": 82,
+ "value": "props",
+ "start": 829,
+ "end": 834,
"loc": {
"start": {
- "line": 3,
- "column": 0
+ "line": 36,
+ "column": 4
},
"end": {
- "line": 3,
- "column": 6
+ "line": 36,
+ "column": 9
}
}
},
{
"type": {
- "label": "{",
- "beforeExpr": true,
- "startsExpr": true,
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 83,
- "end": 84,
+ "start": 834,
+ "end": 835,
"loc": {
- "start": {
- "line": 3,
- "column": 7
+ "start": {
+ "line": 36,
+ "column": 9
},
"end": {
- "line": 3,
- "column": 8
+ "line": 36,
+ "column": 10
}
}
},
@@ -4665,42 +7850,43 @@
"postfix": false,
"binop": null
},
- "value": "Input",
- "start": 84,
- "end": 89,
+ "value": "fieldClassName",
+ "start": 835,
+ "end": 849,
"loc": {
"start": {
- "line": 3,
- "column": 8
+ "line": 36,
+ "column": 10
},
"end": {
- "line": 3,
- "column": 13
+ "line": 36,
+ "column": 24
}
}
},
{
"type": {
- "label": "}",
- "beforeExpr": false,
+ "label": ",",
+ "beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 89,
- "end": 90,
+ "start": 849,
+ "end": 850,
"loc": {
"start": {
- "line": 3,
- "column": 13
+ "line": 36,
+ "column": 24
},
"end": {
- "line": 3,
- "column": 14
+ "line": 36,
+ "column": 25
}
}
},
@@ -4716,25 +7902,25 @@
"postfix": false,
"binop": null
},
- "value": "from",
- "start": 91,
- "end": 95,
+ "value": "RenderGroup",
+ "start": 855,
+ "end": 866,
"loc": {
"start": {
- "line": 3,
- "column": 15
+ "line": 37,
+ "column": 4
},
"end": {
- "line": 3,
- "column": 19
+ "line": 37,
+ "column": 15
}
}
},
{
"type": {
- "label": "string",
+ "label": ".",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -4743,52 +7929,50 @@
"binop": null,
"updateContext": null
},
- "value": "./input/Input",
- "start": 96,
- "end": 111,
+ "start": 866,
+ "end": 867,
"loc": {
"start": {
- "line": 3,
- "column": 20
+ "line": 37,
+ "column": 15
},
"end": {
- "line": 3,
- "column": 35
+ "line": 37,
+ "column": 16
}
}
},
{
"type": {
- "label": ";",
- "beforeExpr": true,
- "startsExpr": false,
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 111,
- "end": 112,
+ "value": "classNames",
+ "start": 867,
+ "end": 877,
"loc": {
"start": {
- "line": 3,
- "column": 35
+ "line": 37,
+ "column": 16
},
"end": {
- "line": 3,
- "column": 36
+ "line": 37,
+ "column": 26
}
}
},
{
"type": {
- "label": "import",
- "keyword": "import",
+ "label": ".",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -4797,24 +7981,23 @@
"binop": null,
"updateContext": null
},
- "value": "import",
- "start": 113,
- "end": 119,
+ "start": 877,
+ "end": 878,
"loc": {
"start": {
- "line": 4,
- "column": 0
+ "line": 37,
+ "column": 26
},
"end": {
- "line": 4,
- "column": 6
+ "line": 37,
+ "column": 27
}
}
},
{
"type": {
- "label": "{",
- "beforeExpr": true,
+ "label": "name",
+ "beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
@@ -4823,48 +8006,49 @@
"postfix": false,
"binop": null
},
- "start": 120,
- "end": 121,
+ "value": "input",
+ "start": 878,
+ "end": 883,
"loc": {
"start": {
- "line": 4,
- "column": 7
+ "line": 37,
+ "column": 27
},
"end": {
- "line": 4,
- "column": 8
+ "line": 37,
+ "column": 32
}
}
},
{
"type": {
- "label": "name",
+ "label": "]",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "SelectField",
- "start": 121,
- "end": 132,
+ "start": 887,
+ "end": 888,
"loc": {
"start": {
- "line": 4,
- "column": 8
+ "line": 38,
+ "column": 3
},
"end": {
- "line": 4,
- "column": 19
+ "line": 38,
+ "column": 4
}
}
},
{
"type": {
- "label": "}",
+ "label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
@@ -4874,76 +8058,75 @@
"postfix": false,
"binop": null
},
- "start": 132,
- "end": 133,
+ "start": 891,
+ "end": 892,
"loc": {
"start": {
- "line": 4,
- "column": 19
+ "line": 39,
+ "column": 2
},
"end": {
- "line": 4,
- "column": 20
+ "line": 39,
+ "column": 3
}
}
},
{
"type": {
- "label": "name",
- "beforeExpr": false,
- "startsExpr": true,
+ "label": ";",
+ "beforeExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "from",
- "start": 134,
- "end": 138,
+ "start": 892,
+ "end": 893,
"loc": {
"start": {
- "line": 4,
- "column": 21
+ "line": 39,
+ "column": 3
},
"end": {
- "line": 4,
- "column": 25
+ "line": 39,
+ "column": 4
}
}
},
{
"type": {
- "label": "string",
+ "label": "}",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "./select/SelectField",
- "start": 139,
- "end": 161,
+ "start": 895,
+ "end": 896,
"loc": {
"start": {
- "line": 4,
- "column": 26
+ "line": 40,
+ "column": 1
},
"end": {
- "line": 4,
- "column": 48
+ "line": 40,
+ "column": 2
}
}
},
{
"type": {
- "label": ";",
- "beforeExpr": true,
+ "label": "switch",
+ "keyword": "switch",
+ "beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
@@ -4953,51 +8136,49 @@
"binop": null,
"updateContext": null
},
- "start": 161,
- "end": 162,
+ "value": "switch",
+ "start": 899,
+ "end": 905,
"loc": {
"start": {
- "line": 4,
- "column": 48
+ "line": 42,
+ "column": 1
},
"end": {
- "line": 4,
- "column": 49
+ "line": 42,
+ "column": 7
}
}
},
{
"type": {
- "label": "import",
- "keyword": "import",
- "beforeExpr": false,
+ "label": "(",
+ "beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "import",
- "start": 163,
- "end": 169,
+ "start": 906,
+ "end": 907,
"loc": {
"start": {
- "line": 5,
- "column": 0
+ "line": 42,
+ "column": 8
},
"end": {
- "line": 5,
- "column": 6
+ "line": 42,
+ "column": 9
}
}
},
{
"type": {
- "label": "{",
- "beforeExpr": true,
+ "label": "name",
+ "beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
@@ -5006,50 +8187,51 @@
"postfix": false,
"binop": null
},
- "start": 170,
- "end": 171,
+ "value": "props",
+ "start": 907,
+ "end": 912,
"loc": {
"start": {
- "line": 5,
- "column": 7
+ "line": 42,
+ "column": 9
},
"end": {
- "line": 5,
- "column": 8
+ "line": 42,
+ "column": 14
}
}
},
{
"type": {
- "label": "name",
+ "label": ".",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "ariaDescribedbyAttr",
- "start": 171,
- "end": 190,
+ "start": 912,
+ "end": 913,
"loc": {
"start": {
- "line": 5,
- "column": 8
+ "line": 42,
+ "column": 14
},
"end": {
- "line": 5,
- "column": 27
+ "line": 42,
+ "column": 15
}
}
},
{
"type": {
- "label": "}",
+ "label": "name",
"beforeExpr": false,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -5057,24 +8239,25 @@
"postfix": false,
"binop": null
},
- "start": 190,
- "end": 191,
+ "value": "type",
+ "start": 913,
+ "end": 917,
"loc": {
"start": {
- "line": 5,
- "column": 27
+ "line": 42,
+ "column": 15
},
"end": {
- "line": 5,
- "column": 28
+ "line": 42,
+ "column": 19
}
}
},
{
"type": {
- "label": "name",
+ "label": ")",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -5082,50 +8265,48 @@
"postfix": false,
"binop": null
},
- "value": "from",
- "start": 192,
- "end": 196,
+ "start": 917,
+ "end": 918,
"loc": {
"start": {
- "line": 5,
- "column": 29
+ "line": 42,
+ "column": 19
},
"end": {
- "line": 5,
- "column": 33
+ "line": 42,
+ "column": 20
}
}
},
{
"type": {
- "label": "string",
- "beforeExpr": false,
+ "label": "{",
+ "beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "./util",
- "start": 197,
- "end": 205,
+ "start": 919,
+ "end": 920,
"loc": {
"start": {
- "line": 5,
- "column": 34
+ "line": 42,
+ "column": 21
},
"end": {
- "line": 5,
- "column": 42
+ "line": 42,
+ "column": 22
}
}
},
{
"type": {
- "label": ";",
+ "label": "case",
+ "keyword": "case",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
@@ -5136,23 +8317,23 @@
"binop": null,
"updateContext": null
},
- "start": 205,
- "end": 206,
+ "value": "case",
+ "start": 923,
+ "end": 927,
"loc": {
"start": {
- "line": 5,
- "column": 42
+ "line": 43,
+ "column": 2
},
"end": {
- "line": 5,
- "column": 43
+ "line": 43,
+ "column": 6
}
}
},
{
"type": {
- "label": "import",
- "keyword": "import",
+ "label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -5163,69 +8344,71 @@
"binop": null,
"updateContext": null
},
- "value": "import",
- "start": 207,
- "end": 213,
+ "value": "select",
+ "start": 928,
+ "end": 936,
"loc": {
"start": {
- "line": 6,
- "column": 0
+ "line": 43,
+ "column": 7
},
"end": {
- "line": 6,
- "column": 6
+ "line": 43,
+ "column": 15
}
}
},
{
"type": {
- "label": "name",
- "beforeExpr": false,
- "startsExpr": true,
+ "label": ":",
+ "beforeExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "PropTypes",
- "start": 214,
- "end": 223,
+ "start": 936,
+ "end": 937,
"loc": {
"start": {
- "line": 6,
- "column": 7
+ "line": 43,
+ "column": 15
},
"end": {
- "line": 6,
+ "line": 43,
"column": 16
}
}
},
{
"type": {
- "label": "name",
- "beforeExpr": false,
- "startsExpr": true,
+ "label": "case",
+ "keyword": "case",
+ "beforeExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "from",
- "start": 224,
- "end": 228,
+ "value": "case",
+ "start": 940,
+ "end": 944,
"loc": {
"start": {
- "line": 6,
- "column": 17
+ "line": 44,
+ "column": 2
},
"end": {
- "line": 6,
- "column": 21
+ "line": 44,
+ "column": 6
}
}
},
@@ -5242,23 +8425,23 @@
"binop": null,
"updateContext": null
},
- "value": "prop-types",
- "start": 229,
- "end": 241,
+ "value": "dropdown",
+ "start": 945,
+ "end": 955,
"loc": {
"start": {
- "line": 6,
- "column": 22
+ "line": 44,
+ "column": 7
},
"end": {
- "line": 6,
- "column": 34
+ "line": 44,
+ "column": 17
}
}
},
{
"type": {
- "label": ";",
+ "label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
@@ -5269,25 +8452,25 @@
"binop": null,
"updateContext": null
},
- "start": 241,
- "end": 242,
+ "start": 955,
+ "end": 956,
"loc": {
"start": {
- "line": 6,
- "column": 34
+ "line": 44,
+ "column": 17
},
"end": {
- "line": 6,
- "column": 35
+ "line": 44,
+ "column": 18
}
}
},
{
"type": {
- "label": "import",
- "keyword": "import",
+ "label": "const",
+ "keyword": "const",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -5296,17 +8479,17 @@
"binop": null,
"updateContext": null
},
- "value": "import",
- "start": 243,
- "end": 249,
+ "value": "const",
+ "start": 960,
+ "end": 965,
"loc": {
"start": {
- "line": 7,
- "column": 0
+ "line": 45,
+ "column": 3
},
"end": {
- "line": 7,
- "column": 6
+ "line": 45,
+ "column": 8
}
}
},
@@ -5322,49 +8505,50 @@
"postfix": false,
"binop": null
},
- "value": "classNames",
- "start": 250,
- "end": 260,
+ "value": "options",
+ "start": 966,
+ "end": 973,
"loc": {
"start": {
- "line": 7,
- "column": 7
+ "line": 45,
+ "column": 9
},
"end": {
- "line": 7,
- "column": 17
+ "line": 45,
+ "column": 16
}
}
},
{
"type": {
- "label": "name",
- "beforeExpr": false,
- "startsExpr": true,
+ "label": "=",
+ "beforeExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
- "isAssign": false,
+ "isAssign": true,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "from",
- "start": 261,
- "end": 265,
+ "value": "=",
+ "start": 974,
+ "end": 975,
"loc": {
"start": {
- "line": 7,
- "column": 18
+ "line": 45,
+ "column": 17
},
"end": {
- "line": 7,
- "column": 22
+ "line": 45,
+ "column": 18
}
}
},
{
"type": {
- "label": "string",
+ "label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -5372,27 +8556,26 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "classnames",
- "start": 266,
- "end": 278,
+ "value": "Array",
+ "start": 976,
+ "end": 981,
"loc": {
"start": {
- "line": 7,
- "column": 23
+ "line": 45,
+ "column": 19
},
"end": {
- "line": 7,
- "column": 35
+ "line": 45,
+ "column": 24
}
}
},
{
"type": {
- "label": ";",
- "beforeExpr": true,
+ "label": ".",
+ "beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
@@ -5402,23 +8585,22 @@
"binop": null,
"updateContext": null
},
- "start": 278,
- "end": 279,
+ "start": 981,
+ "end": 982,
"loc": {
"start": {
- "line": 7,
- "column": 35
+ "line": 45,
+ "column": 24
},
"end": {
- "line": 7,
- "column": 36
+ "line": 45,
+ "column": 25
}
}
},
{
"type": {
- "label": "import",
- "keyword": "import",
+ "label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -5426,26 +8608,25 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "import",
- "start": 280,
- "end": 286,
+ "value": "isArray",
+ "start": 982,
+ "end": 989,
"loc": {
"start": {
- "line": 8,
- "column": 0
+ "line": 45,
+ "column": 25
},
"end": {
- "line": 8,
- "column": 6
+ "line": 45,
+ "column": 32
}
}
},
{
"type": {
- "label": "{",
+ "label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
@@ -5455,16 +8636,16 @@
"postfix": false,
"binop": null
},
- "start": 287,
- "end": 288,
+ "start": 989,
+ "end": 990,
"loc": {
"start": {
- "line": 8,
- "column": 7
+ "line": 45,
+ "column": 32
},
"end": {
- "line": 8,
- "column": 8
+ "line": 45,
+ "column": 33
}
}
},
@@ -5480,23 +8661,23 @@
"postfix": false,
"binop": null
},
- "value": "RenderGroup",
- "start": 288,
- "end": 299,
+ "value": "props",
+ "start": 990,
+ "end": 995,
"loc": {
"start": {
- "line": 8,
- "column": 8
+ "line": 45,
+ "column": 33
},
"end": {
- "line": 8,
- "column": 19
+ "line": 45,
+ "column": 38
}
}
},
{
"type": {
- "label": "}",
+ "label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
@@ -5504,18 +8685,19 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 299,
- "end": 300,
+ "start": 995,
+ "end": 996,
"loc": {
"start": {
- "line": 8,
- "column": 19
+ "line": 45,
+ "column": 38
},
"end": {
- "line": 8,
- "column": 20
+ "line": 45,
+ "column": 39
}
}
},
@@ -5531,50 +8713,48 @@
"postfix": false,
"binop": null
},
- "value": "from",
- "start": 301,
- "end": 305,
+ "value": "options",
+ "start": 996,
+ "end": 1003,
"loc": {
"start": {
- "line": 8,
- "column": 21
+ "line": 45,
+ "column": 39
},
"end": {
- "line": 8,
- "column": 25
+ "line": 45,
+ "column": 46
}
}
},
{
"type": {
- "label": "string",
+ "label": ")",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "../RenderGroup",
- "start": 306,
- "end": 322,
+ "start": 1003,
+ "end": 1004,
"loc": {
"start": {
- "line": 8,
- "column": 26
+ "line": 45,
+ "column": 46
},
"end": {
- "line": 8,
- "column": 42
+ "line": 45,
+ "column": 47
}
}
},
{
"type": {
- "label": ";",
+ "label": "?",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
@@ -5585,67 +8765,48 @@
"binop": null,
"updateContext": null
},
- "start": 322,
- "end": 323,
- "loc": {
- "start": {
- "line": 8,
- "column": 42
- },
- "end": {
- "line": 8,
- "column": 43
- }
- }
- },
- {
- "type": "CommentBlock",
- "value": "*\n * Creates the field inside of a field group\n *\n * @param {Object} props\n * @returns {*}\n * @constructor\n ",
- "start": 324,
- "end": 436,
+ "start": 1005,
+ "end": 1006,
"loc": {
"start": {
- "line": 9,
- "column": 0
+ "line": 45,
+ "column": 48
},
"end": {
- "line": 15,
- "column": 3
+ "line": 45,
+ "column": 49
}
}
},
{
"type": {
- "label": "export",
- "keyword": "export",
+ "label": "name",
"beforeExpr": false,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "export",
- "start": 437,
- "end": 443,
+ "value": "props",
+ "start": 1007,
+ "end": 1012,
"loc": {
"start": {
- "line": 16,
- "column": 0
+ "line": 45,
+ "column": 50
},
"end": {
- "line": 16,
- "column": 6
+ "line": 45,
+ "column": 55
}
}
},
{
"type": {
- "label": "const",
- "keyword": "const",
+ "label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
@@ -5656,17 +8817,16 @@
"binop": null,
"updateContext": null
},
- "value": "const",
- "start": 444,
- "end": 449,
+ "start": 1012,
+ "end": 1013,
"loc": {
"start": {
- "line": 16,
- "column": 7
+ "line": 45,
+ "column": 55
},
"end": {
- "line": 16,
- "column": 12
+ "line": 45,
+ "column": 56
}
}
},
@@ -5682,50 +8842,49 @@
"postfix": false,
"binop": null
},
- "value": "FieldInner",
- "start": 450,
- "end": 460,
+ "value": "options",
+ "start": 1013,
+ "end": 1020,
"loc": {
"start": {
- "line": 16,
- "column": 13
+ "line": 45,
+ "column": 56
},
"end": {
- "line": 16,
- "column": 23
+ "line": 45,
+ "column": 63
}
}
},
{
"type": {
- "label": "=",
+ "label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
- "isAssign": true,
+ "isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
- "value": "=",
- "start": 461,
- "end": 462,
+ "start": 1021,
+ "end": 1022,
"loc": {
"start": {
- "line": 16,
- "column": 24
+ "line": 45,
+ "column": 64
},
"end": {
- "line": 16,
- "column": 25
+ "line": 45,
+ "column": 65
}
}
},
{
"type": {
- "label": "(",
+ "label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
@@ -5733,75 +8892,78 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 463,
- "end": 464,
+ "start": 1023,
+ "end": 1024,
"loc": {
"start": {
- "line": 16,
- "column": 26
+ "line": 45,
+ "column": 66
},
"end": {
- "line": 16,
- "column": 27
+ "line": 45,
+ "column": 67
}
}
},
{
"type": {
- "label": "name",
+ "label": "]",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "props",
- "start": 464,
- "end": 469,
+ "start": 1024,
+ "end": 1025,
"loc": {
"start": {
- "line": 16,
- "column": 27
+ "line": 45,
+ "column": 67
},
"end": {
- "line": 16,
- "column": 32
+ "line": 45,
+ "column": 68
}
}
},
{
"type": {
- "label": ")",
- "beforeExpr": false,
+ "label": ";",
+ "beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 469,
- "end": 470,
+ "start": 1025,
+ "end": 1026,
"loc": {
"start": {
- "line": 16,
- "column": 32
+ "line": 45,
+ "column": 68
},
"end": {
- "line": 16,
- "column": 33
+ "line": 45,
+ "column": 69
}
}
},
{
"type": {
- "label": "=>",
+ "label": "return",
+ "keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
@@ -5812,22 +8974,23 @@
"binop": null,
"updateContext": null
},
- "start": 471,
- "end": 473,
+ "value": "return",
+ "start": 1030,
+ "end": 1036,
"loc": {
"start": {
- "line": 16,
- "column": 34
+ "line": 46,
+ "column": 3
},
"end": {
- "line": 16,
- "column": 36
+ "line": 46,
+ "column": 9
}
}
},
{
"type": {
- "label": "{",
+ "label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
@@ -5837,39 +9000,22 @@
"postfix": false,
"binop": null
},
- "start": 474,
- "end": 475,
- "loc": {
- "start": {
- "line": 16,
- "column": 37
- },
- "end": {
- "line": 16,
- "column": 38
- }
- }
- },
- {
- "type": "CommentBlock",
- "value": "*\n\t * Get the ID for the description element if it will be created\n\t *\n\t * @return {String|null}\n\t ",
- "start": 478,
- "end": 581,
+ "start": 1037,
+ "end": 1038,
"loc": {
"start": {
- "line": 18,
- "column": 1
+ "line": 46,
+ "column": 10
},
"end": {
- "line": 22,
- "column": 4
+ "line": 46,
+ "column": 11
}
}
},
{
"type": {
- "label": "function",
- "keyword": "function",
+ "label": "jsxTagStart",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -5879,74 +9025,49 @@
"postfix": false,
"binop": null
},
- "value": "function",
- "start": 583,
- "end": 591,
+ "start": 1043,
+ "end": 1044,
"loc": {
"start": {
- "line": 23,
- "column": 1
+ "line": 47,
+ "column": 4
},
"end": {
- "line": 23,
- "column": 9
+ "line": 47,
+ "column": 5
}
}
},
{
"type": {
- "label": "name",
+ "label": "jsxName",
"beforeExpr": false,
- "startsExpr": true,
- "rightAssociative": false,
- "isLoop": false,
- "isAssign": false,
- "prefix": false,
- "postfix": false,
- "binop": null
- },
- "value": "ariaIdAttr",
- "start": 592,
- "end": 602,
- "loc": {
- "start": {
- "line": 23,
- "column": 10
- },
- "end": {
- "line": 23,
- "column": 20
- }
- }
- },
- {
- "type": {
- "label": "(",
- "beforeExpr": true,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 602,
- "end": 603,
+ "value": "SelectField",
+ "start": 1044,
+ "end": 1055,
"loc": {
"start": {
- "line": 23,
- "column": 20
+ "line": 47,
+ "column": 5
},
"end": {
- "line": 23,
- "column": 21
+ "line": 47,
+ "column": 16
}
}
},
{
"type": {
- "label": ")",
+ "label": "jsxName",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
@@ -5954,71 +9075,72 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 603,
- "end": 604,
+ "value": "id",
+ "start": 1061,
+ "end": 1063,
"loc": {
"start": {
- "line": 23,
- "column": 21
+ "line": 48,
+ "column": 5
},
"end": {
- "line": 23,
- "column": 22
+ "line": 48,
+ "column": 7
}
}
},
{
"type": {
- "label": "{",
+ "label": "=",
"beforeExpr": true,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
- "isAssign": false,
+ "isAssign": true,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 605,
- "end": 606,
+ "value": "=",
+ "start": 1063,
+ "end": 1064,
"loc": {
"start": {
- "line": 23,
- "column": 23
+ "line": 48,
+ "column": 7
},
"end": {
- "line": 23,
- "column": 24
+ "line": 48,
+ "column": 8
}
}
},
{
"type": {
- "label": "return",
- "keyword": "return",
+ "label": "{",
"beforeExpr": true,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "return",
- "start": 609,
- "end": 615,
+ "start": 1064,
+ "end": 1065,
"loc": {
"start": {
- "line": 24,
- "column": 2
+ "line": 48,
+ "column": 8
},
"end": {
- "line": 24,
- "column": 8
+ "line": 48,
+ "column": 9
}
}
},
@@ -6034,42 +9156,43 @@
"postfix": false,
"binop": null
},
- "value": "ariaDescribedbyAttr",
- "start": 616,
- "end": 635,
+ "value": "props",
+ "start": 1065,
+ "end": 1070,
"loc": {
"start": {
- "line": 24,
+ "line": 48,
"column": 9
},
"end": {
- "line": 24,
- "column": 28
+ "line": 48,
+ "column": 14
}
}
},
{
"type": {
- "label": "(",
- "beforeExpr": true,
- "startsExpr": true,
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 635,
- "end": 636,
+ "start": 1070,
+ "end": 1071,
"loc": {
"start": {
- "line": 24,
- "column": 28
+ "line": 48,
+ "column": 14
},
"end": {
- "line": 24,
- "column": 29
+ "line": 48,
+ "column": 15
}
}
},
@@ -6085,23 +9208,23 @@
"postfix": false,
"binop": null
},
- "value": "props",
- "start": 636,
- "end": 641,
+ "value": "id",
+ "start": 1071,
+ "end": 1073,
"loc": {
"start": {
- "line": 24,
- "column": 29
+ "line": 48,
+ "column": 15
},
"end": {
- "line": 24,
- "column": 34
+ "line": 48,
+ "column": 17
}
}
},
{
"type": {
- "label": ".",
+ "label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
@@ -6109,78 +9232,79 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 641,
- "end": 642,
+ "start": 1073,
+ "end": 1074,
"loc": {
"start": {
- "line": 24,
- "column": 34
+ "line": 48,
+ "column": 17
},
"end": {
- "line": 24,
- "column": 35
+ "line": 48,
+ "column": 18
}
}
},
{
"type": {
- "label": "name",
+ "label": "jsxName",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "id",
- "start": 642,
- "end": 644,
+ "value": "fieldClassName",
+ "start": 1080,
+ "end": 1094,
"loc": {
"start": {
- "line": 24,
- "column": 35
+ "line": 49,
+ "column": 5
},
"end": {
- "line": 24,
- "column": 37
+ "line": 49,
+ "column": 19
}
}
},
{
"type": {
- "label": ",",
+ "label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
- "isAssign": false,
+ "isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
- "start": 644,
- "end": 645,
+ "value": "=",
+ "start": 1094,
+ "end": 1095,
"loc": {
"start": {
- "line": 24,
- "column": 37
+ "line": 49,
+ "column": 19
},
"end": {
- "line": 24,
- "column": 38
+ "line": 49,
+ "column": 20
}
}
},
{
"type": {
- "label": "name",
- "beforeExpr": false,
+ "label": "{",
+ "beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
@@ -6189,50 +9313,49 @@
"postfix": false,
"binop": null
},
- "value": "props",
- "start": 646,
- "end": 651,
+ "start": 1095,
+ "end": 1096,
"loc": {
"start": {
- "line": 24,
- "column": 39
+ "line": 49,
+ "column": 20
},
"end": {
- "line": 24,
- "column": 44
+ "line": 49,
+ "column": 21
}
}
},
{
"type": {
- "label": ".",
+ "label": "name",
"beforeExpr": false,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 651,
- "end": 652,
+ "value": "inputClassName",
+ "start": 1096,
+ "end": 1110,
"loc": {
"start": {
- "line": 24,
- "column": 44
+ "line": 49,
+ "column": 21
},
"end": {
- "line": 24,
- "column": 45
+ "line": 49,
+ "column": 35
}
}
},
{
"type": {
- "label": "name",
- "beforeExpr": false,
+ "label": "(",
+ "beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
@@ -6241,17 +9364,16 @@
"postfix": false,
"binop": null
},
- "value": "help",
- "start": 652,
- "end": 656,
+ "start": 1110,
+ "end": 1111,
"loc": {
"start": {
- "line": 24,
- "column": 45
+ "line": 49,
+ "column": 35
},
"end": {
- "line": 24,
- "column": 49
+ "line": 49,
+ "column": 36
}
}
},
@@ -6267,48 +9389,47 @@
"postfix": false,
"binop": null
},
- "start": 656,
- "end": 657,
+ "start": 1111,
+ "end": 1112,
"loc": {
"start": {
- "line": 24,
- "column": 49
+ "line": 49,
+ "column": 36
},
"end": {
- "line": 24,
- "column": 50
+ "line": 49,
+ "column": 37
}
}
},
{
"type": {
- "label": ";",
- "beforeExpr": true,
+ "label": "}",
+ "beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 657,
- "end": 658,
+ "start": 1112,
+ "end": 1113,
"loc": {
"start": {
- "line": 24,
- "column": 50
+ "line": 49,
+ "column": 37
},
"end": {
- "line": 24,
- "column": 51
+ "line": 49,
+ "column": 38
}
}
},
{
"type": {
- "label": "}",
+ "label": "jsxName",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
@@ -6316,42 +9437,54 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 660,
- "end": 661,
+ "value": "ariaDescribedbyAttr",
+ "start": 1119,
+ "end": 1138,
"loc": {
"start": {
- "line": 25,
- "column": 1
+ "line": 50,
+ "column": 5
},
"end": {
- "line": 25,
- "column": 2
+ "line": 50,
+ "column": 24
}
}
},
{
- "type": "CommentBlock",
- "value": "*\n\t * Get the className prop for the\n\t *\n\t * @return {String}\n\t ",
- "start": 664,
- "end": 732,
+ "type": {
+ "label": "=",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": true,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "=",
+ "start": 1138,
+ "end": 1139,
"loc": {
"start": {
- "line": 27,
- "column": 1
+ "line": 50,
+ "column": 24
},
"end": {
- "line": 31,
- "column": 4
+ "line": 50,
+ "column": 25
}
}
},
{
"type": {
- "label": "function",
- "keyword": "function",
- "beforeExpr": false,
+ "label": "{",
+ "beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
@@ -6360,17 +9493,16 @@
"postfix": false,
"binop": null
},
- "value": "function",
- "start": 734,
- "end": 742,
+ "start": 1139,
+ "end": 1140,
"loc": {
"start": {
- "line": 32,
- "column": 1
+ "line": 50,
+ "column": 25
},
"end": {
- "line": 32,
- "column": 9
+ "line": 50,
+ "column": 26
}
}
},
@@ -6386,17 +9518,17 @@
"postfix": false,
"binop": null
},
- "value": "inputClassName",
- "start": 743,
- "end": 757,
+ "value": "ariaIdAttr",
+ "start": 1140,
+ "end": 1150,
"loc": {
"start": {
- "line": 32,
- "column": 10
+ "line": 50,
+ "column": 26
},
"end": {
- "line": 32,
- "column": 24
+ "line": 50,
+ "column": 36
}
}
},
@@ -6412,16 +9544,16 @@
"postfix": false,
"binop": null
},
- "start": 757,
- "end": 758,
+ "start": 1150,
+ "end": 1151,
"loc": {
"start": {
- "line": 32,
- "column": 24
+ "line": 50,
+ "column": 36
},
"end": {
- "line": 32,
- "column": 25
+ "line": 50,
+ "column": 37
}
}
},
@@ -6437,24 +9569,24 @@
"postfix": false,
"binop": null
},
- "start": 758,
- "end": 759,
+ "start": 1151,
+ "end": 1152,
"loc": {
"start": {
- "line": 32,
- "column": 25
+ "line": 50,
+ "column": 37
},
"end": {
- "line": 32,
- "column": 26
+ "line": 50,
+ "column": 38
}
}
},
{
"type": {
- "label": "{",
- "beforeExpr": true,
- "startsExpr": true,
+ "label": "}",
+ "beforeExpr": false,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -6462,24 +9594,23 @@
"postfix": false,
"binop": null
},
- "start": 760,
- "end": 761,
+ "start": 1152,
+ "end": 1153,
"loc": {
"start": {
- "line": 32,
- "column": 27
+ "line": 50,
+ "column": 38
},
"end": {
- "line": 32,
- "column": 28
+ "line": 50,
+ "column": 39
}
}
},
{
"type": {
- "label": "return",
- "keyword": "return",
- "beforeExpr": true,
+ "label": "jsxName",
+ "beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
@@ -6489,74 +9620,50 @@
"binop": null,
"updateContext": null
},
- "value": "return",
- "start": 764,
- "end": 770,
- "loc": {
- "start": {
- "line": 33,
- "column": 2
- },
- "end": {
- "line": 33,
- "column": 8
- }
- }
- },
- {
- "type": {
- "label": "name",
- "beforeExpr": false,
- "startsExpr": true,
- "rightAssociative": false,
- "isLoop": false,
- "isAssign": false,
- "prefix": false,
- "postfix": false,
- "binop": null
- },
- "value": "classNames",
- "start": 771,
- "end": 781,
+ "value": "value",
+ "start": 1159,
+ "end": 1164,
"loc": {
"start": {
- "line": 33,
- "column": 9
+ "line": 51,
+ "column": 5
},
"end": {
- "line": 33,
- "column": 19
+ "line": 51,
+ "column": 10
}
}
},
{
"type": {
- "label": "(",
+ "label": "=",
"beforeExpr": true,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
- "isAssign": false,
+ "isAssign": true,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 781,
- "end": 782,
+ "value": "=",
+ "start": 1164,
+ "end": 1165,
"loc": {
"start": {
- "line": 33,
- "column": 19
+ "line": 51,
+ "column": 10
},
"end": {
- "line": 33,
- "column": 20
+ "line": 51,
+ "column": 11
}
}
},
{
"type": {
- "label": "[",
+ "label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
@@ -6564,19 +9671,18 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 782,
- "end": 783,
+ "start": 1165,
+ "end": 1166,
"loc": {
"start": {
- "line": 33,
- "column": 20
+ "line": 51,
+ "column": 11
},
"end": {
- "line": 33,
- "column": 21
+ "line": 51,
+ "column": 12
}
}
},
@@ -6593,16 +9699,16 @@
"binop": null
},
"value": "props",
- "start": 787,
- "end": 792,
+ "start": 1166,
+ "end": 1171,
"loc": {
"start": {
- "line": 34,
- "column": 3
+ "line": 51,
+ "column": 12
},
"end": {
- "line": 34,
- "column": 8
+ "line": 51,
+ "column": 17
}
}
},
@@ -6619,16 +9725,16 @@
"binop": null,
"updateContext": null
},
- "start": 792,
- "end": 793,
+ "start": 1171,
+ "end": 1172,
"loc": {
"start": {
- "line": 34,
- "column": 8
+ "line": 51,
+ "column": 17
},
"end": {
- "line": 34,
- "column": 9
+ "line": 51,
+ "column": 18
}
}
},
@@ -6644,102 +9750,103 @@
"postfix": false,
"binop": null
},
- "value": "fieldClassName",
- "start": 793,
- "end": 807,
+ "value": "value",
+ "start": 1172,
+ "end": 1177,
"loc": {
"start": {
- "line": 34,
- "column": 9
+ "line": 51,
+ "column": 18
},
"end": {
- "line": 34,
+ "line": 51,
"column": 23
}
}
},
{
"type": {
- "label": ",",
- "beforeExpr": true,
+ "label": "}",
+ "beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 807,
- "end": 808,
+ "start": 1177,
+ "end": 1178,
"loc": {
"start": {
- "line": 34,
+ "line": 51,
"column": 23
},
"end": {
- "line": 34,
+ "line": 51,
"column": 24
}
}
},
{
"type": {
- "label": "name",
+ "label": "jsxName",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "RenderGroup",
- "start": 812,
- "end": 823,
+ "value": "onValueChange",
+ "start": 1184,
+ "end": 1197,
"loc": {
"start": {
- "line": 35,
- "column": 3
+ "line": 52,
+ "column": 5
},
"end": {
- "line": 35,
- "column": 14
+ "line": 52,
+ "column": 18
}
}
},
{
"type": {
- "label": ".",
- "beforeExpr": false,
+ "label": "=",
+ "beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
- "isAssign": false,
+ "isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
- "start": 823,
- "end": 824,
+ "value": "=",
+ "start": 1197,
+ "end": 1198,
"loc": {
"start": {
- "line": 35,
- "column": 14
+ "line": 52,
+ "column": 18
},
"end": {
- "line": 35,
- "column": 15
+ "line": 52,
+ "column": 19
}
}
},
{
"type": {
- "label": "name",
- "beforeExpr": false,
+ "label": "{",
+ "beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
@@ -6748,43 +9855,16 @@
"postfix": false,
"binop": null
},
- "value": "classNames",
- "start": 824,
- "end": 834,
- "loc": {
- "start": {
- "line": 35,
- "column": 15
- },
- "end": {
- "line": 35,
- "column": 25
- }
- }
- },
- {
- "type": {
- "label": ".",
- "beforeExpr": false,
- "startsExpr": false,
- "rightAssociative": false,
- "isLoop": false,
- "isAssign": false,
- "prefix": false,
- "postfix": false,
- "binop": null,
- "updateContext": null
- },
- "start": 834,
- "end": 835,
+ "start": 1198,
+ "end": 1199,
"loc": {
"start": {
- "line": 35,
- "column": 25
+ "line": 52,
+ "column": 19
},
"end": {
- "line": 35,
- "column": 26
+ "line": 52,
+ "column": 20
}
}
},
@@ -6800,23 +9880,23 @@
"postfix": false,
"binop": null
},
- "value": "input",
- "start": 835,
- "end": 840,
+ "value": "props",
+ "start": 1199,
+ "end": 1204,
"loc": {
"start": {
- "line": 35,
- "column": 26
+ "line": 52,
+ "column": 20
},
"end": {
- "line": 35,
- "column": 31
+ "line": 52,
+ "column": 25
}
}
},
{
"type": {
- "label": "]",
+ "label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
@@ -6827,24 +9907,24 @@
"binop": null,
"updateContext": null
},
- "start": 843,
- "end": 844,
+ "start": 1204,
+ "end": 1205,
"loc": {
"start": {
- "line": 36,
- "column": 2
+ "line": 52,
+ "column": 25
},
"end": {
- "line": 36,
- "column": 3
+ "line": 52,
+ "column": 26
}
}
},
{
"type": {
- "label": ")",
+ "label": "name",
"beforeExpr": false,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -6852,48 +9932,48 @@
"postfix": false,
"binop": null
},
- "start": 847,
- "end": 848,
+ "value": "onValueChange",
+ "start": 1205,
+ "end": 1218,
"loc": {
"start": {
- "line": 37,
- "column": 2
+ "line": 52,
+ "column": 26
},
- "end": {
- "line": 37,
- "column": 3
+ "end": {
+ "line": 52,
+ "column": 39
}
}
},
{
"type": {
- "label": ";",
- "beforeExpr": true,
+ "label": "}",
+ "beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 848,
- "end": 849,
+ "start": 1218,
+ "end": 1219,
"loc": {
"start": {
- "line": 37,
- "column": 3
+ "line": 52,
+ "column": 39
},
"end": {
- "line": 37,
- "column": 4
+ "line": 52,
+ "column": 40
}
}
},
{
"type": {
- "label": "}",
+ "label": "jsxName",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
@@ -6901,52 +9981,53 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 851,
- "end": 852,
+ "value": "inputType",
+ "start": 1225,
+ "end": 1234,
"loc": {
"start": {
- "line": 38,
- "column": 1
+ "line": 53,
+ "column": 5
},
"end": {
- "line": 38,
- "column": 2
+ "line": 53,
+ "column": 14
}
}
},
{
"type": {
- "label": "switch",
- "keyword": "switch",
- "beforeExpr": false,
+ "label": "=",
+ "beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
- "isAssign": false,
+ "isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
- "value": "switch",
- "start": 855,
- "end": 861,
+ "value": "=",
+ "start": 1234,
+ "end": 1235,
"loc": {
"start": {
- "line": 40,
- "column": 1
+ "line": 53,
+ "column": 14
},
"end": {
- "line": 40,
- "column": 7
+ "line": 53,
+ "column": 15
}
}
},
{
"type": {
- "label": "(",
+ "label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
@@ -6956,16 +10037,16 @@
"postfix": false,
"binop": null
},
- "start": 861,
- "end": 862,
+ "start": 1235,
+ "end": 1236,
"loc": {
"start": {
- "line": 40,
- "column": 7
+ "line": 53,
+ "column": 15
},
"end": {
- "line": 40,
- "column": 8
+ "line": 53,
+ "column": 16
}
}
},
@@ -6982,16 +10063,16 @@
"binop": null
},
"value": "props",
- "start": 863,
- "end": 868,
+ "start": 1236,
+ "end": 1241,
"loc": {
"start": {
- "line": 40,
- "column": 9
+ "line": 53,
+ "column": 16
},
"end": {
- "line": 40,
- "column": 14
+ "line": 53,
+ "column": 21
}
}
},
@@ -7008,16 +10089,16 @@
"binop": null,
"updateContext": null
},
- "start": 868,
- "end": 869,
+ "start": 1241,
+ "end": 1242,
"loc": {
"start": {
- "line": 40,
- "column": 14
+ "line": 53,
+ "column": 21
},
"end": {
- "line": 40,
- "column": 15
+ "line": 53,
+ "column": 22
}
}
},
@@ -7033,23 +10114,23 @@
"postfix": false,
"binop": null
},
- "value": "type",
- "start": 869,
- "end": 873,
+ "value": "inputType",
+ "start": 1242,
+ "end": 1251,
"loc": {
"start": {
- "line": 40,
- "column": 15
+ "line": 53,
+ "column": 22
},
"end": {
- "line": 40,
- "column": 19
+ "line": 53,
+ "column": 31
}
}
},
{
"type": {
- "label": ")",
+ "label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
@@ -7059,158 +10140,154 @@
"postfix": false,
"binop": null
},
- "start": 874,
- "end": 875,
+ "start": 1251,
+ "end": 1252,
"loc": {
"start": {
- "line": 40,
- "column": 20
+ "line": 53,
+ "column": 31
},
"end": {
- "line": 40,
- "column": 21
+ "line": 53,
+ "column": 32
}
}
},
{
"type": {
- "label": "{",
- "beforeExpr": true,
- "startsExpr": true,
+ "label": "jsxName",
+ "beforeExpr": false,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 875,
- "end": 876,
+ "value": "options",
+ "start": 1258,
+ "end": 1265,
"loc": {
"start": {
- "line": 40,
- "column": 21
+ "line": 54,
+ "column": 5
},
"end": {
- "line": 40,
- "column": 22
+ "line": 54,
+ "column": 12
}
}
},
{
"type": {
- "label": "case",
- "keyword": "case",
+ "label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
- "isAssign": false,
+ "isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
- "value": "case",
- "start": 878,
- "end": 882,
+ "value": "=",
+ "start": 1265,
+ "end": 1266,
"loc": {
"start": {
- "line": 41,
- "column": 1
+ "line": 54,
+ "column": 12
},
"end": {
- "line": 41,
- "column": 5
+ "line": 54,
+ "column": 13
}
}
},
{
"type": {
- "label": "string",
- "beforeExpr": false,
+ "label": "{",
+ "beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "select",
- "start": 883,
- "end": 891,
+ "start": 1266,
+ "end": 1267,
"loc": {
"start": {
- "line": 41,
- "column": 6
+ "line": 54,
+ "column": 13
},
"end": {
- "line": 41,
+ "line": 54,
"column": 14
}
}
},
{
"type": {
- "label": ":",
- "beforeExpr": true,
- "startsExpr": false,
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 891,
- "end": 892,
+ "value": "options",
+ "start": 1267,
+ "end": 1274,
"loc": {
"start": {
- "line": 41,
+ "line": 54,
"column": 14
},
"end": {
- "line": 41,
- "column": 15
+ "line": 54,
+ "column": 21
}
}
},
{
"type": {
- "label": "case",
- "keyword": "case",
- "beforeExpr": true,
+ "label": "}",
+ "beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "case",
- "start": 894,
- "end": 898,
+ "start": 1274,
+ "end": 1275,
"loc": {
"start": {
- "line": 42,
- "column": 1
+ "line": 54,
+ "column": 21
},
"end": {
- "line": 42,
- "column": 5
+ "line": 54,
+ "column": 22
}
}
},
{
"type": {
- "label": "string",
+ "label": "jsxName",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -7219,71 +10296,69 @@
"binop": null,
"updateContext": null
},
- "value": "dropdown",
- "start": 899,
- "end": 909,
+ "value": "disabled",
+ "start": 1281,
+ "end": 1289,
"loc": {
"start": {
- "line": 42,
- "column": 6
+ "line": 55,
+ "column": 5
},
"end": {
- "line": 42,
- "column": 16
+ "line": 55,
+ "column": 13
}
}
},
{
"type": {
- "label": ":",
+ "label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
- "isAssign": false,
+ "isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
- "start": 909,
- "end": 910,
+ "value": "=",
+ "start": 1289,
+ "end": 1290,
"loc": {
"start": {
- "line": 42,
- "column": 16
+ "line": 55,
+ "column": 13
},
"end": {
- "line": 42,
- "column": 17
+ "line": 55,
+ "column": 14
}
}
},
{
"type": {
- "label": "const",
- "keyword": "const",
- "beforeExpr": false,
- "startsExpr": false,
+ "label": "{",
+ "beforeExpr": true,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "const",
- "start": 913,
- "end": 918,
+ "start": 1290,
+ "end": 1291,
"loc": {
"start": {
- "line": 43,
- "column": 2
+ "line": 55,
+ "column": 14
},
"end": {
- "line": 43,
- "column": 7
+ "line": 55,
+ "column": 15
}
}
},
@@ -7297,54 +10372,79 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null
+ },
+ "value": "props",
+ "start": 1291,
+ "end": 1296,
+ "loc": {
+ "start": {
+ "line": 55,
+ "column": 15
+ },
+ "end": {
+ "line": 55,
+ "column": 20
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
},
- "value": "options",
- "start": 919,
- "end": 926,
+ "start": 1296,
+ "end": 1297,
"loc": {
"start": {
- "line": 43,
- "column": 8
+ "line": 55,
+ "column": 20
},
"end": {
- "line": 43,
- "column": 15
+ "line": 55,
+ "column": 21
}
}
},
{
"type": {
- "label": "=",
- "beforeExpr": true,
- "startsExpr": false,
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
- "isAssign": true,
+ "isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "=",
- "start": 927,
- "end": 928,
+ "value": "disabled",
+ "start": 1297,
+ "end": 1305,
"loc": {
"start": {
- "line": 43,
- "column": 16
+ "line": 55,
+ "column": 21
},
"end": {
- "line": 43,
- "column": 17
+ "line": 55,
+ "column": 29
}
}
},
{
"type": {
- "label": "name",
+ "label": "}",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -7352,23 +10452,22 @@
"postfix": false,
"binop": null
},
- "value": "Array",
- "start": 929,
- "end": 934,
+ "start": 1305,
+ "end": 1306,
"loc": {
"start": {
- "line": 43,
- "column": 18
+ "line": 55,
+ "column": 29
},
"end": {
- "line": 43,
- "column": 23
+ "line": 55,
+ "column": 30
}
}
},
{
"type": {
- "label": ".",
+ "label": "jsxName",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
@@ -7379,48 +10478,50 @@
"binop": null,
"updateContext": null
},
- "start": 934,
- "end": 935,
+ "value": "onBlur",
+ "start": 1312,
+ "end": 1318,
"loc": {
"start": {
- "line": 43,
- "column": 23
+ "line": 56,
+ "column": 5
},
"end": {
- "line": 43,
- "column": 24
+ "line": 56,
+ "column": 11
}
}
},
{
"type": {
- "label": "name",
- "beforeExpr": false,
- "startsExpr": true,
+ "label": "=",
+ "beforeExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
- "isAssign": false,
+ "isAssign": true,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "isArray",
- "start": 935,
- "end": 942,
+ "value": "=",
+ "start": 1318,
+ "end": 1319,
"loc": {
"start": {
- "line": 43,
- "column": 24
+ "line": 56,
+ "column": 11
},
"end": {
- "line": 43,
- "column": 31
+ "line": 56,
+ "column": 12
}
}
},
{
"type": {
- "label": "(",
+ "label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
@@ -7430,16 +10531,16 @@
"postfix": false,
"binop": null
},
- "start": 942,
- "end": 943,
+ "start": 1319,
+ "end": 1320,
"loc": {
"start": {
- "line": 43,
- "column": 31
+ "line": 56,
+ "column": 12
},
"end": {
- "line": 43,
- "column": 32
+ "line": 56,
+ "column": 13
}
}
},
@@ -7456,16 +10557,16 @@
"binop": null
},
"value": "props",
- "start": 943,
- "end": 948,
+ "start": 1320,
+ "end": 1325,
"loc": {
"start": {
- "line": 43,
- "column": 32
+ "line": 56,
+ "column": 13
},
"end": {
- "line": 43,
- "column": 37
+ "line": 56,
+ "column": 18
}
}
},
@@ -7482,16 +10583,16 @@
"binop": null,
"updateContext": null
},
- "start": 948,
- "end": 949,
+ "start": 1325,
+ "end": 1326,
"loc": {
"start": {
- "line": 43,
- "column": 37
+ "line": 56,
+ "column": 18
},
"end": {
- "line": 43,
- "column": 38
+ "line": 56,
+ "column": 19
}
}
},
@@ -7507,23 +10608,23 @@
"postfix": false,
"binop": null
},
- "value": "options",
- "start": 949,
- "end": 956,
+ "value": "onBlur",
+ "start": 1326,
+ "end": 1332,
"loc": {
"start": {
- "line": 43,
- "column": 38
+ "line": 56,
+ "column": 19
},
"end": {
- "line": 43,
- "column": 45
+ "line": 56,
+ "column": 25
}
}
},
{
"type": {
- "label": ")",
+ "label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
@@ -7533,23 +10634,23 @@
"postfix": false,
"binop": null
},
- "start": 956,
- "end": 957,
+ "start": 1332,
+ "end": 1333,
"loc": {
"start": {
- "line": 43,
- "column": 45
+ "line": 56,
+ "column": 25
},
"end": {
- "line": 43,
- "column": 46
+ "line": 56,
+ "column": 26
}
}
},
{
"type": {
- "label": "?",
- "beforeExpr": true,
+ "label": "jsxName",
+ "beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
@@ -7559,68 +10660,69 @@
"binop": null,
"updateContext": null
},
- "start": 958,
- "end": 959,
+ "value": "onFocus",
+ "start": 1339,
+ "end": 1346,
"loc": {
"start": {
- "line": 43,
- "column": 47
+ "line": 57,
+ "column": 5
},
"end": {
- "line": 43,
- "column": 48
+ "line": 57,
+ "column": 12
}
}
},
{
"type": {
- "label": "name",
- "beforeExpr": false,
- "startsExpr": true,
+ "label": "=",
+ "beforeExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
- "isAssign": false,
+ "isAssign": true,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "props",
- "start": 960,
- "end": 965,
+ "value": "=",
+ "start": 1346,
+ "end": 1347,
"loc": {
"start": {
- "line": 43,
- "column": 49
+ "line": 57,
+ "column": 12
},
"end": {
- "line": 43,
- "column": 54
+ "line": 57,
+ "column": 13
}
}
},
{
"type": {
- "label": ".",
- "beforeExpr": false,
- "startsExpr": false,
+ "label": "{",
+ "beforeExpr": true,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 965,
- "end": 966,
+ "start": 1347,
+ "end": 1348,
"loc": {
"start": {
- "line": 43,
- "column": 54
+ "line": 57,
+ "column": 13
},
"end": {
- "line": 43,
- "column": 55
+ "line": 57,
+ "column": 14
}
}
},
@@ -7636,24 +10738,24 @@
"postfix": false,
"binop": null
},
- "value": "options",
- "start": 966,
- "end": 973,
+ "value": "props",
+ "start": 1348,
+ "end": 1353,
"loc": {
"start": {
- "line": 43,
- "column": 55
+ "line": 57,
+ "column": 14
},
"end": {
- "line": 43,
- "column": 62
+ "line": 57,
+ "column": 19
}
}
},
{
"type": {
- "label": ":",
- "beforeExpr": true,
+ "label": ".",
+ "beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
@@ -7663,48 +10765,48 @@
"binop": null,
"updateContext": null
},
- "start": 974,
- "end": 975,
+ "start": 1353,
+ "end": 1354,
"loc": {
"start": {
- "line": 43,
- "column": 63
+ "line": 57,
+ "column": 19
},
"end": {
- "line": 43,
- "column": 64
+ "line": 57,
+ "column": 20
}
}
},
{
"type": {
- "label": "[",
- "beforeExpr": true,
+ "label": "name",
+ "beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 976,
- "end": 977,
+ "value": "onFocus",
+ "start": 1354,
+ "end": 1361,
"loc": {
"start": {
- "line": 43,
- "column": 65
+ "line": 57,
+ "column": 20
},
"end": {
- "line": 43,
- "column": 66
+ "line": 57,
+ "column": 27
}
}
},
{
"type": {
- "label": "]",
+ "label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
@@ -7712,52 +10814,24 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
- },
- "start": 977,
- "end": 978,
- "loc": {
- "start": {
- "line": 43,
- "column": 66
- },
- "end": {
- "line": 43,
- "column": 67
- }
- }
- },
- {
- "type": {
- "label": ";",
- "beforeExpr": true,
- "startsExpr": false,
- "rightAssociative": false,
- "isLoop": false,
- "isAssign": false,
- "prefix": false,
- "postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 978,
- "end": 979,
+ "start": 1361,
+ "end": 1362,
"loc": {
- "start": {
- "line": 43,
- "column": 67
+ "start": {
+ "line": 57,
+ "column": 27
},
"end": {
- "line": 43,
- "column": 68
+ "line": 57,
+ "column": 28
}
}
},
{
"type": {
- "label": "return",
- "keyword": "return",
+ "label": "/",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
@@ -7765,28 +10839,28 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
+ "binop": 10,
"updateContext": null
},
- "value": "return",
- "start": 982,
- "end": 988,
+ "value": "/",
+ "start": 1367,
+ "end": 1368,
"loc": {
"start": {
- "line": 44,
- "column": 2
+ "line": 58,
+ "column": 4
},
"end": {
- "line": 44,
- "column": 8
+ "line": 58,
+ "column": 5
}
}
},
{
"type": {
- "label": "(",
- "beforeExpr": true,
- "startsExpr": true,
+ "label": "jsxTagEnd",
+ "beforeExpr": false,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -7794,24 +10868,24 @@
"postfix": false,
"binop": null
},
- "start": 989,
- "end": 990,
+ "start": 1368,
+ "end": 1369,
"loc": {
"start": {
- "line": 44,
- "column": 9
+ "line": 58,
+ "column": 5
},
"end": {
- "line": 44,
- "column": 10
+ "line": 58,
+ "column": 6
}
}
},
{
"type": {
- "label": "jsxTagStart",
+ "label": ")",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -7819,23 +10893,23 @@
"postfix": false,
"binop": null
},
- "start": 994,
- "end": 995,
+ "start": 1373,
+ "end": 1374,
"loc": {
"start": {
- "line": 45,
+ "line": 59,
"column": 3
},
"end": {
- "line": 45,
+ "line": 59,
"column": 4
}
}
},
{
"type": {
- "label": "jsxName",
- "beforeExpr": false,
+ "label": ";",
+ "beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
@@ -7845,24 +10919,24 @@
"binop": null,
"updateContext": null
},
- "value": "SelectField",
- "start": 995,
- "end": 1006,
+ "start": 1374,
+ "end": 1375,
"loc": {
"start": {
- "line": 45,
+ "line": 59,
"column": 4
},
"end": {
- "line": 45,
- "column": 15
+ "line": 59,
+ "column": 5
}
}
},
{
"type": {
- "label": "jsxName",
- "beforeExpr": false,
+ "label": "case",
+ "keyword": "case",
+ "beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
@@ -7872,127 +10946,129 @@
"binop": null,
"updateContext": null
},
- "value": "id",
- "start": 1011,
- "end": 1013,
+ "value": "case",
+ "start": 1378,
+ "end": 1382,
"loc": {
"start": {
- "line": 46,
- "column": 4
+ "line": 60,
+ "column": 2
},
"end": {
- "line": 46,
+ "line": 60,
"column": 6
}
}
},
{
"type": {
- "label": "=",
- "beforeExpr": true,
- "startsExpr": false,
+ "label": "string",
+ "beforeExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
- "isAssign": true,
+ "isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
- "value": "=",
- "start": 1013,
- "end": 1014,
+ "value": "button",
+ "start": 1383,
+ "end": 1391,
"loc": {
"start": {
- "line": 46,
- "column": 6
+ "line": 60,
+ "column": 7
},
"end": {
- "line": 46,
- "column": 7
+ "line": 60,
+ "column": 15
}
}
},
{
"type": {
- "label": "{",
+ "label": ":",
"beforeExpr": true,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 1014,
- "end": 1015,
+ "start": 1392,
+ "end": 1393,
"loc": {
"start": {
- "line": 46,
- "column": 7
+ "line": 60,
+ "column": 16
},
"end": {
- "line": 46,
- "column": 8
+ "line": 60,
+ "column": 17
}
}
},
{
"type": {
- "label": "name",
- "beforeExpr": false,
- "startsExpr": true,
+ "label": "return",
+ "keyword": "return",
+ "beforeExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "props",
- "start": 1015,
- "end": 1020,
+ "value": "return",
+ "start": 1397,
+ "end": 1403,
"loc": {
"start": {
- "line": 46,
- "column": 8
+ "line": 61,
+ "column": 3
},
"end": {
- "line": 46,
- "column": 13
+ "line": 61,
+ "column": 9
}
}
},
{
"type": {
- "label": ".",
- "beforeExpr": false,
- "startsExpr": false,
+ "label": "(",
+ "beforeExpr": true,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 1020,
- "end": 1021,
+ "start": 1404,
+ "end": 1405,
"loc": {
"start": {
- "line": 46,
- "column": 13
+ "line": 61,
+ "column": 10
},
"end": {
- "line": 46,
- "column": 14
+ "line": 61,
+ "column": 11
}
}
},
{
"type": {
- "label": "name",
+ "label": "jsxTagStart",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -8002,23 +11078,22 @@
"postfix": false,
"binop": null
},
- "value": "id",
- "start": 1021,
- "end": 1023,
+ "start": 1410,
+ "end": 1411,
"loc": {
"start": {
- "line": 46,
- "column": 14
+ "line": 62,
+ "column": 4
},
"end": {
- "line": 46,
- "column": 16
+ "line": 62,
+ "column": 5
}
}
},
{
"type": {
- "label": "}",
+ "label": "jsxName",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
@@ -8026,18 +11101,20 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 1023,
- "end": 1024,
+ "value": "Button",
+ "start": 1411,
+ "end": 1417,
"loc": {
"start": {
- "line": 46,
- "column": 16
+ "line": 62,
+ "column": 5
},
"end": {
- "line": 46,
- "column": 17
+ "line": 62,
+ "column": 11
}
}
},
@@ -8054,17 +11131,17 @@
"binop": null,
"updateContext": null
},
- "value": "fieldClassName",
- "start": 1029,
- "end": 1043,
+ "value": "onClick",
+ "start": 1423,
+ "end": 1430,
"loc": {
"start": {
- "line": 47,
- "column": 4
+ "line": 63,
+ "column": 5
},
"end": {
- "line": 47,
- "column": 18
+ "line": 63,
+ "column": 12
}
}
},
@@ -8082,16 +11159,16 @@
"updateContext": null
},
"value": "=",
- "start": 1043,
- "end": 1044,
+ "start": 1430,
+ "end": 1431,
"loc": {
"start": {
- "line": 47,
- "column": 18
+ "line": 63,
+ "column": 12
},
"end": {
- "line": 47,
- "column": 19
+ "line": 63,
+ "column": 13
}
}
},
@@ -8107,16 +11184,16 @@
"postfix": false,
"binop": null
},
- "start": 1044,
- "end": 1045,
+ "start": 1431,
+ "end": 1432,
"loc": {
"start": {
- "line": 47,
- "column": 19
+ "line": 63,
+ "column": 13
},
"end": {
- "line": 47,
- "column": 20
+ "line": 63,
+ "column": 14
}
}
},
@@ -8132,50 +11209,51 @@
"postfix": false,
"binop": null
},
- "value": "inputClassName",
- "start": 1045,
- "end": 1059,
+ "value": "props",
+ "start": 1432,
+ "end": 1437,
"loc": {
"start": {
- "line": 47,
- "column": 20
+ "line": 63,
+ "column": 14
},
"end": {
- "line": 47,
- "column": 34
+ "line": 63,
+ "column": 19
}
}
},
{
"type": {
- "label": "(",
- "beforeExpr": true,
- "startsExpr": true,
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 1059,
- "end": 1060,
+ "start": 1437,
+ "end": 1438,
"loc": {
"start": {
- "line": 47,
- "column": 34
+ "line": 63,
+ "column": 19
},
"end": {
- "line": 47,
- "column": 35
+ "line": 63,
+ "column": 20
}
}
},
{
"type": {
- "label": ")",
+ "label": "name",
"beforeExpr": false,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -8183,16 +11261,17 @@
"postfix": false,
"binop": null
},
- "start": 1060,
- "end": 1061,
+ "value": "onClick",
+ "start": 1438,
+ "end": 1445,
"loc": {
"start": {
- "line": 47,
- "column": 35
+ "line": 63,
+ "column": 20
},
"end": {
- "line": 47,
- "column": 36
+ "line": 63,
+ "column": 27
}
}
},
@@ -8208,16 +11287,16 @@
"postfix": false,
"binop": null
},
- "start": 1061,
- "end": 1062,
+ "start": 1445,
+ "end": 1446,
"loc": {
"start": {
- "line": 47,
- "column": 36
+ "line": 63,
+ "column": 27
},
"end": {
- "line": 47,
- "column": 37
+ "line": 63,
+ "column": 28
}
}
},
@@ -8234,17 +11313,17 @@
"binop": null,
"updateContext": null
},
- "value": "ariaDescribedbyAttr",
- "start": 1067,
- "end": 1086,
+ "value": "id",
+ "start": 1452,
+ "end": 1454,
"loc": {
"start": {
- "line": 48,
- "column": 4
+ "line": 64,
+ "column": 5
},
"end": {
- "line": 48,
- "column": 23
+ "line": 64,
+ "column": 7
}
}
},
@@ -8262,16 +11341,16 @@
"updateContext": null
},
"value": "=",
- "start": 1086,
- "end": 1087,
+ "start": 1454,
+ "end": 1455,
"loc": {
"start": {
- "line": 48,
- "column": 23
+ "line": 64,
+ "column": 7
},
"end": {
- "line": 48,
- "column": 24
+ "line": 64,
+ "column": 8
}
}
},
@@ -8287,16 +11366,16 @@
"postfix": false,
"binop": null
},
- "start": 1087,
- "end": 1088,
+ "start": 1455,
+ "end": 1456,
"loc": {
"start": {
- "line": 48,
- "column": 24
+ "line": 64,
+ "column": 8
},
"end": {
- "line": 48,
- "column": 25
+ "line": 64,
+ "column": 9
}
}
},
@@ -8312,50 +11391,51 @@
"postfix": false,
"binop": null
},
- "value": "ariaIdAttr",
- "start": 1088,
- "end": 1098,
+ "value": "props",
+ "start": 1456,
+ "end": 1461,
"loc": {
"start": {
- "line": 48,
- "column": 25
+ "line": 64,
+ "column": 9
},
"end": {
- "line": 48,
- "column": 35
+ "line": 64,
+ "column": 14
}
}
},
{
"type": {
- "label": "(",
- "beforeExpr": true,
- "startsExpr": true,
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 1098,
- "end": 1099,
+ "start": 1461,
+ "end": 1462,
"loc": {
"start": {
- "line": 48,
- "column": 35
+ "line": 64,
+ "column": 14
},
"end": {
- "line": 48,
- "column": 36
+ "line": 64,
+ "column": 15
}
}
},
{
"type": {
- "label": ")",
+ "label": "name",
"beforeExpr": false,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -8363,16 +11443,17 @@
"postfix": false,
"binop": null
},
- "start": 1099,
- "end": 1100,
+ "value": "id",
+ "start": 1462,
+ "end": 1464,
"loc": {
"start": {
- "line": 48,
- "column": 36
+ "line": 64,
+ "column": 15
},
"end": {
- "line": 48,
- "column": 37
+ "line": 64,
+ "column": 17
}
}
},
@@ -8388,16 +11469,16 @@
"postfix": false,
"binop": null
},
- "start": 1100,
- "end": 1101,
+ "start": 1464,
+ "end": 1465,
"loc": {
"start": {
- "line": 48,
- "column": 37
+ "line": 64,
+ "column": 17
},
"end": {
- "line": 48,
- "column": 38
+ "line": 64,
+ "column": 18
}
}
},
@@ -8414,17 +11495,17 @@
"binop": null,
"updateContext": null
},
- "value": "value",
- "start": 1106,
- "end": 1111,
+ "value": "fieldClassName",
+ "start": 1471,
+ "end": 1485,
"loc": {
"start": {
- "line": 49,
- "column": 4
+ "line": 65,
+ "column": 5
},
"end": {
- "line": 49,
- "column": 9
+ "line": 65,
+ "column": 19
}
}
},
@@ -8442,16 +11523,16 @@
"updateContext": null
},
"value": "=",
- "start": 1111,
- "end": 1112,
+ "start": 1485,
+ "end": 1486,
"loc": {
"start": {
- "line": 49,
- "column": 9
+ "line": 65,
+ "column": 19
},
"end": {
- "line": 49,
- "column": 10
+ "line": 65,
+ "column": 20
}
}
},
@@ -8467,16 +11548,16 @@
"postfix": false,
"binop": null
},
- "start": 1112,
- "end": 1113,
+ "start": 1486,
+ "end": 1487,
"loc": {
"start": {
- "line": 49,
- "column": 10
+ "line": 65,
+ "column": 20
},
"end": {
- "line": 49,
- "column": 11
+ "line": 65,
+ "column": 21
}
}
},
@@ -8492,51 +11573,50 @@
"postfix": false,
"binop": null
},
- "value": "props",
- "start": 1113,
- "end": 1118,
+ "value": "inputClassName",
+ "start": 1487,
+ "end": 1501,
"loc": {
"start": {
- "line": 49,
- "column": 11
+ "line": 65,
+ "column": 21
},
"end": {
- "line": 49,
- "column": 16
+ "line": 65,
+ "column": 35
}
}
},
{
"type": {
- "label": ".",
- "beforeExpr": false,
- "startsExpr": false,
+ "label": "(",
+ "beforeExpr": true,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 1118,
- "end": 1119,
+ "start": 1501,
+ "end": 1502,
"loc": {
"start": {
- "line": 49,
- "column": 16
+ "line": 65,
+ "column": 35
},
"end": {
- "line": 49,
- "column": 17
+ "line": 65,
+ "column": 36
}
}
},
{
"type": {
- "label": "name",
+ "label": ")",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -8544,17 +11624,16 @@
"postfix": false,
"binop": null
},
- "value": "value",
- "start": 1119,
- "end": 1124,
+ "start": 1502,
+ "end": 1503,
"loc": {
"start": {
- "line": 49,
- "column": 17
+ "line": 65,
+ "column": 36
},
"end": {
- "line": 49,
- "column": 22
+ "line": 65,
+ "column": 37
}
}
},
@@ -8570,16 +11649,16 @@
"postfix": false,
"binop": null
},
- "start": 1124,
- "end": 1125,
+ "start": 1503,
+ "end": 1504,
"loc": {
"start": {
- "line": 49,
- "column": 22
+ "line": 65,
+ "column": 37
},
"end": {
- "line": 49,
- "column": 23
+ "line": 65,
+ "column": 38
}
}
},
@@ -8596,17 +11675,17 @@
"binop": null,
"updateContext": null
},
- "value": "onValueChange",
- "start": 1130,
- "end": 1143,
+ "value": "ariaDescribedbyAttr",
+ "start": 1510,
+ "end": 1529,
"loc": {
"start": {
- "line": 50,
- "column": 4
+ "line": 66,
+ "column": 5
},
"end": {
- "line": 50,
- "column": 17
+ "line": 66,
+ "column": 24
}
}
},
@@ -8624,16 +11703,16 @@
"updateContext": null
},
"value": "=",
- "start": 1143,
- "end": 1144,
+ "start": 1529,
+ "end": 1530,
"loc": {
"start": {
- "line": 50,
- "column": 17
+ "line": 66,
+ "column": 24
},
"end": {
- "line": 50,
- "column": 18
+ "line": 66,
+ "column": 25
}
}
},
@@ -8649,16 +11728,16 @@
"postfix": false,
"binop": null
},
- "start": 1144,
- "end": 1145,
+ "start": 1530,
+ "end": 1531,
"loc": {
"start": {
- "line": 50,
- "column": 18
+ "line": 66,
+ "column": 25
},
"end": {
- "line": 50,
- "column": 19
+ "line": 66,
+ "column": 26
}
}
},
@@ -8674,51 +11753,50 @@
"postfix": false,
"binop": null
},
- "value": "props",
- "start": 1145,
- "end": 1150,
+ "value": "ariaIdAttr",
+ "start": 1531,
+ "end": 1541,
"loc": {
"start": {
- "line": 50,
- "column": 19
+ "line": 66,
+ "column": 26
},
"end": {
- "line": 50,
- "column": 24
+ "line": 66,
+ "column": 36
}
}
},
{
"type": {
- "label": ".",
- "beforeExpr": false,
- "startsExpr": false,
+ "label": "(",
+ "beforeExpr": true,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 1150,
- "end": 1151,
+ "start": 1541,
+ "end": 1542,
"loc": {
"start": {
- "line": 50,
- "column": 24
+ "line": 66,
+ "column": 36
},
"end": {
- "line": 50,
- "column": 25
+ "line": 66,
+ "column": 37
}
}
},
{
"type": {
- "label": "name",
+ "label": ")",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -8726,16 +11804,15 @@
"postfix": false,
"binop": null
},
- "value": "onValueChange",
- "start": 1151,
- "end": 1164,
+ "start": 1542,
+ "end": 1543,
"loc": {
"start": {
- "line": 50,
- "column": 25
+ "line": 66,
+ "column": 37
},
"end": {
- "line": 50,
+ "line": 66,
"column": 38
}
}
@@ -8752,15 +11829,15 @@
"postfix": false,
"binop": null
},
- "start": 1164,
- "end": 1165,
+ "start": 1543,
+ "end": 1544,
"loc": {
"start": {
- "line": 50,
+ "line": 66,
"column": 38
},
"end": {
- "line": 50,
+ "line": 66,
"column": 39
}
}
@@ -8778,17 +11855,17 @@
"binop": null,
"updateContext": null
},
- "value": "inputType",
- "start": 1170,
- "end": 1179,
+ "value": "value",
+ "start": 1550,
+ "end": 1555,
"loc": {
"start": {
- "line": 51,
- "column": 4
+ "line": 67,
+ "column": 5
},
"end": {
- "line": 51,
- "column": 13
+ "line": 67,
+ "column": 10
}
}
},
@@ -8806,16 +11883,16 @@
"updateContext": null
},
"value": "=",
- "start": 1179,
- "end": 1180,
+ "start": 1555,
+ "end": 1556,
"loc": {
"start": {
- "line": 51,
- "column": 13
+ "line": 67,
+ "column": 10
},
"end": {
- "line": 51,
- "column": 14
+ "line": 67,
+ "column": 11
}
}
},
@@ -8831,16 +11908,16 @@
"postfix": false,
"binop": null
},
- "start": 1180,
- "end": 1181,
+ "start": 1556,
+ "end": 1557,
"loc": {
"start": {
- "line": 51,
- "column": 14
+ "line": 67,
+ "column": 11
},
"end": {
- "line": 51,
- "column": 15
+ "line": 67,
+ "column": 12
}
}
},
@@ -8857,16 +11934,16 @@
"binop": null
},
"value": "props",
- "start": 1181,
- "end": 1186,
+ "start": 1557,
+ "end": 1562,
"loc": {
"start": {
- "line": 51,
- "column": 15
+ "line": 67,
+ "column": 12
},
"end": {
- "line": 51,
- "column": 20
+ "line": 67,
+ "column": 17
}
}
},
@@ -8883,16 +11960,16 @@
"binop": null,
"updateContext": null
},
- "start": 1186,
- "end": 1187,
+ "start": 1562,
+ "end": 1563,
"loc": {
"start": {
- "line": 51,
- "column": 20
+ "line": 67,
+ "column": 17
},
"end": {
- "line": 51,
- "column": 21
+ "line": 67,
+ "column": 18
}
}
},
@@ -8908,17 +11985,17 @@
"postfix": false,
"binop": null
},
- "value": "inputType",
- "start": 1187,
- "end": 1196,
+ "value": "value",
+ "start": 1563,
+ "end": 1568,
"loc": {
"start": {
- "line": 51,
- "column": 21
+ "line": 67,
+ "column": 18
},
"end": {
- "line": 51,
- "column": 30
+ "line": 67,
+ "column": 23
}
}
},
@@ -8934,16 +12011,16 @@
"postfix": false,
"binop": null
},
- "start": 1196,
- "end": 1197,
+ "start": 1568,
+ "end": 1569,
"loc": {
"start": {
- "line": 51,
- "column": 30
+ "line": 67,
+ "column": 23
},
"end": {
- "line": 51,
- "column": 31
+ "line": 67,
+ "column": 24
}
}
},
@@ -8960,17 +12037,17 @@
"binop": null,
"updateContext": null
},
- "value": "options",
- "start": 1202,
- "end": 1209,
+ "value": "inputType",
+ "start": 1575,
+ "end": 1584,
"loc": {
"start": {
- "line": 52,
- "column": 4
+ "line": 68,
+ "column": 5
},
"end": {
- "line": 52,
- "column": 11
+ "line": 68,
+ "column": 14
}
}
},
@@ -8988,16 +12065,16 @@
"updateContext": null
},
"value": "=",
- "start": 1209,
- "end": 1210,
+ "start": 1584,
+ "end": 1585,
"loc": {
"start": {
- "line": 52,
- "column": 11
+ "line": 68,
+ "column": 14
},
"end": {
- "line": 52,
- "column": 12
+ "line": 68,
+ "column": 15
}
}
},
@@ -9013,16 +12090,16 @@
"postfix": false,
"binop": null
},
- "start": 1210,
- "end": 1211,
+ "start": 1585,
+ "end": 1586,
"loc": {
"start": {
- "line": 52,
- "column": 12
+ "line": 68,
+ "column": 15
},
"end": {
- "line": 52,
- "column": 13
+ "line": 68,
+ "column": 16
}
}
},
@@ -9038,17 +12115,69 @@
"postfix": false,
"binop": null
},
- "value": "options",
- "start": 1211,
- "end": 1218,
+ "value": "props",
+ "start": 1586,
+ "end": 1591,
"loc": {
"start": {
- "line": 52,
- "column": 13
+ "line": 68,
+ "column": 16
},
"end": {
- "line": 52,
- "column": 20
+ "line": 68,
+ "column": 21
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 1591,
+ "end": 1592,
+ "loc": {
+ "start": {
+ "line": 68,
+ "column": 21
+ },
+ "end": {
+ "line": 68,
+ "column": 22
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "inputType",
+ "start": 1592,
+ "end": 1601,
+ "loc": {
+ "start": {
+ "line": 68,
+ "column": 22
+ },
+ "end": {
+ "line": 68,
+ "column": 31
}
}
},
@@ -9064,16 +12193,16 @@
"postfix": false,
"binop": null
},
- "start": 1218,
- "end": 1219,
+ "start": 1601,
+ "end": 1602,
"loc": {
"start": {
- "line": 52,
- "column": 20
+ "line": 68,
+ "column": 31
},
"end": {
- "line": 52,
- "column": 21
+ "line": 68,
+ "column": 32
}
}
},
@@ -9091,16 +12220,16 @@
"updateContext": null
},
"value": "disabled",
- "start": 1224,
- "end": 1232,
+ "start": 1608,
+ "end": 1616,
"loc": {
"start": {
- "line": 53,
- "column": 4
+ "line": 69,
+ "column": 5
},
"end": {
- "line": 53,
- "column": 12
+ "line": 69,
+ "column": 13
}
}
},
@@ -9118,16 +12247,16 @@
"updateContext": null
},
"value": "=",
- "start": 1232,
- "end": 1233,
+ "start": 1616,
+ "end": 1617,
"loc": {
"start": {
- "line": 53,
- "column": 12
+ "line": 69,
+ "column": 13
},
"end": {
- "line": 53,
- "column": 13
+ "line": 69,
+ "column": 14
}
}
},
@@ -9143,16 +12272,16 @@
"postfix": false,
"binop": null
},
- "start": 1233,
- "end": 1234,
+ "start": 1617,
+ "end": 1618,
"loc": {
"start": {
- "line": 53,
- "column": 13
+ "line": 69,
+ "column": 14
},
"end": {
- "line": 53,
- "column": 14
+ "line": 69,
+ "column": 15
}
}
},
@@ -9169,16 +12298,16 @@
"binop": null
},
"value": "props",
- "start": 1234,
- "end": 1239,
+ "start": 1618,
+ "end": 1623,
"loc": {
"start": {
- "line": 53,
- "column": 14
+ "line": 69,
+ "column": 15
},
"end": {
- "line": 53,
- "column": 19
+ "line": 69,
+ "column": 20
}
}
},
@@ -9195,16 +12324,16 @@
"binop": null,
"updateContext": null
},
- "start": 1239,
- "end": 1240,
+ "start": 1623,
+ "end": 1624,
"loc": {
"start": {
- "line": 53,
- "column": 19
+ "line": 69,
+ "column": 20
},
"end": {
- "line": 53,
- "column": 20
+ "line": 69,
+ "column": 21
}
}
},
@@ -9221,16 +12350,16 @@
"binop": null
},
"value": "disabled",
- "start": 1240,
- "end": 1248,
+ "start": 1624,
+ "end": 1632,
"loc": {
"start": {
- "line": 53,
- "column": 20
+ "line": 69,
+ "column": 21
},
"end": {
- "line": 53,
- "column": 28
+ "line": 69,
+ "column": 29
}
}
},
@@ -9246,16 +12375,16 @@
"postfix": false,
"binop": null
},
- "start": 1248,
- "end": 1249,
+ "start": 1632,
+ "end": 1633,
"loc": {
"start": {
- "line": 53,
- "column": 28
+ "line": 69,
+ "column": 29
},
"end": {
- "line": 53,
- "column": 29
+ "line": 69,
+ "column": 30
}
}
},
@@ -9273,16 +12402,16 @@
"updateContext": null
},
"value": "onBlur",
- "start": 1254,
- "end": 1260,
+ "start": 1639,
+ "end": 1645,
"loc": {
"start": {
- "line": 54,
- "column": 4
+ "line": 70,
+ "column": 5
},
"end": {
- "line": 54,
- "column": 10
+ "line": 70,
+ "column": 11
}
}
},
@@ -9300,16 +12429,16 @@
"updateContext": null
},
"value": "=",
- "start": 1260,
- "end": 1261,
+ "start": 1645,
+ "end": 1646,
"loc": {
"start": {
- "line": 54,
- "column": 10
+ "line": 70,
+ "column": 11
},
"end": {
- "line": 54,
- "column": 11
+ "line": 70,
+ "column": 12
}
}
},
@@ -9325,16 +12454,16 @@
"postfix": false,
"binop": null
},
- "start": 1261,
- "end": 1262,
+ "start": 1646,
+ "end": 1647,
"loc": {
"start": {
- "line": 54,
- "column": 11
+ "line": 70,
+ "column": 12
},
"end": {
- "line": 54,
- "column": 12
+ "line": 70,
+ "column": 13
}
}
},
@@ -9351,16 +12480,16 @@
"binop": null
},
"value": "props",
- "start": 1262,
- "end": 1267,
+ "start": 1647,
+ "end": 1652,
"loc": {
"start": {
- "line": 54,
- "column": 12
+ "line": 70,
+ "column": 13
},
"end": {
- "line": 54,
- "column": 17
+ "line": 70,
+ "column": 18
}
}
},
@@ -9377,16 +12506,16 @@
"binop": null,
"updateContext": null
},
- "start": 1267,
- "end": 1268,
+ "start": 1652,
+ "end": 1653,
"loc": {
"start": {
- "line": 54,
- "column": 17
+ "line": 70,
+ "column": 18
},
"end": {
- "line": 54,
- "column": 18
+ "line": 70,
+ "column": 19
}
}
},
@@ -9403,16 +12532,16 @@
"binop": null
},
"value": "onBlur",
- "start": 1268,
- "end": 1274,
+ "start": 1653,
+ "end": 1659,
"loc": {
"start": {
- "line": 54,
- "column": 18
+ "line": 70,
+ "column": 19
},
- "end": {
- "line": 54,
- "column": 24
+ "end": {
+ "line": 70,
+ "column": 25
}
}
},
@@ -9428,16 +12557,16 @@
"postfix": false,
"binop": null
},
- "start": 1274,
- "end": 1275,
+ "start": 1659,
+ "end": 1660,
"loc": {
"start": {
- "line": 54,
- "column": 24
+ "line": 70,
+ "column": 25
},
"end": {
- "line": 54,
- "column": 25
+ "line": 70,
+ "column": 26
}
}
},
@@ -9455,16 +12584,16 @@
"updateContext": null
},
"value": "onFocus",
- "start": 1280,
- "end": 1287,
+ "start": 1666,
+ "end": 1673,
"loc": {
"start": {
- "line": 55,
- "column": 4
+ "line": 71,
+ "column": 5
},
"end": {
- "line": 55,
- "column": 11
+ "line": 71,
+ "column": 12
}
}
},
@@ -9482,16 +12611,16 @@
"updateContext": null
},
"value": "=",
- "start": 1287,
- "end": 1288,
+ "start": 1673,
+ "end": 1674,
"loc": {
"start": {
- "line": 55,
- "column": 11
+ "line": 71,
+ "column": 12
},
"end": {
- "line": 55,
- "column": 12
+ "line": 71,
+ "column": 13
}
}
},
@@ -9507,16 +12636,16 @@
"postfix": false,
"binop": null
},
- "start": 1288,
- "end": 1289,
+ "start": 1674,
+ "end": 1675,
"loc": {
"start": {
- "line": 55,
- "column": 12
+ "line": 71,
+ "column": 13
},
"end": {
- "line": 55,
- "column": 13
+ "line": 71,
+ "column": 14
}
}
},
@@ -9533,16 +12662,16 @@
"binop": null
},
"value": "props",
- "start": 1289,
- "end": 1294,
+ "start": 1675,
+ "end": 1680,
"loc": {
"start": {
- "line": 55,
- "column": 13
+ "line": 71,
+ "column": 14
},
"end": {
- "line": 55,
- "column": 18
+ "line": 71,
+ "column": 19
}
}
},
@@ -9559,16 +12688,16 @@
"binop": null,
"updateContext": null
},
- "start": 1294,
- "end": 1295,
+ "start": 1680,
+ "end": 1681,
"loc": {
"start": {
- "line": 55,
- "column": 18
+ "line": 71,
+ "column": 19
},
"end": {
- "line": 55,
- "column": 19
+ "line": 71,
+ "column": 20
}
}
},
@@ -9585,16 +12714,16 @@
"binop": null
},
"value": "onFocus",
- "start": 1295,
- "end": 1302,
+ "start": 1681,
+ "end": 1688,
"loc": {
"start": {
- "line": 55,
- "column": 19
+ "line": 71,
+ "column": 20
},
"end": {
- "line": 55,
- "column": 26
+ "line": 71,
+ "column": 27
}
}
},
@@ -9610,16 +12739,16 @@
"postfix": false,
"binop": null
},
- "start": 1302,
- "end": 1303,
+ "start": 1688,
+ "end": 1689,
"loc": {
"start": {
- "line": 55,
- "column": 26
+ "line": 71,
+ "column": 27
},
"end": {
- "line": 55,
- "column": 27
+ "line": 71,
+ "column": 28
}
}
},
@@ -9637,16 +12766,16 @@
"updateContext": null
},
"value": "/",
- "start": 1307,
- "end": 1308,
+ "start": 1694,
+ "end": 1695,
"loc": {
"start": {
- "line": 56,
- "column": 3
+ "line": 72,
+ "column": 4
},
"end": {
- "line": 56,
- "column": 4
+ "line": 72,
+ "column": 5
}
}
},
@@ -9662,16 +12791,16 @@
"postfix": false,
"binop": null
},
- "start": 1308,
- "end": 1309,
+ "start": 1695,
+ "end": 1696,
"loc": {
"start": {
- "line": 56,
- "column": 4
+ "line": 72,
+ "column": 5
},
"end": {
- "line": 56,
- "column": 5
+ "line": 72,
+ "column": 6
}
}
},
@@ -9687,16 +12816,16 @@
"postfix": false,
"binop": null
},
- "start": 1312,
- "end": 1313,
+ "start": 1700,
+ "end": 1701,
"loc": {
"start": {
- "line": 57,
- "column": 2
+ "line": 73,
+ "column": 3
},
"end": {
- "line": 57,
- "column": 3
+ "line": 73,
+ "column": 4
}
}
},
@@ -9713,16 +12842,16 @@
"binop": null,
"updateContext": null
},
- "start": 1313,
- "end": 1314,
+ "start": 1701,
+ "end": 1702,
"loc": {
"start": {
- "line": 57,
- "column": 3
+ "line": 73,
+ "column": 4
},
"end": {
- "line": 57,
- "column": 4
+ "line": 73,
+ "column": 5
}
}
},
@@ -9741,16 +12870,16 @@
"updateContext": null
},
"value": "default",
- "start": 1316,
- "end": 1323,
+ "start": 1705,
+ "end": 1712,
"loc": {
"start": {
- "line": 58,
- "column": 1
+ "line": 74,
+ "column": 2
},
"end": {
- "line": 58,
- "column": 8
+ "line": 74,
+ "column": 9
}
}
},
@@ -9767,16 +12896,16 @@
"binop": null,
"updateContext": null
},
- "start": 1323,
- "end": 1324,
+ "start": 1712,
+ "end": 1713,
"loc": {
"start": {
- "line": 58,
- "column": 8
+ "line": 74,
+ "column": 9
},
"end": {
- "line": 58,
- "column": 9
+ "line": 74,
+ "column": 10
}
}
},
@@ -9795,16 +12924,16 @@
"updateContext": null
},
"value": "case",
- "start": 1326,
- "end": 1330,
+ "start": 1716,
+ "end": 1720,
"loc": {
"start": {
- "line": 59,
- "column": 1
+ "line": 75,
+ "column": 2
},
"end": {
- "line": 59,
- "column": 5
+ "line": 75,
+ "column": 6
}
}
},
@@ -9822,16 +12951,16 @@
"updateContext": null
},
"value": "input",
- "start": 1331,
- "end": 1338,
+ "start": 1721,
+ "end": 1728,
"loc": {
"start": {
- "line": 59,
- "column": 6
+ "line": 75,
+ "column": 7
},
"end": {
- "line": 59,
- "column": 13
+ "line": 75,
+ "column": 14
}
}
},
@@ -9848,16 +12977,16 @@
"binop": null,
"updateContext": null
},
- "start": 1338,
- "end": 1339,
+ "start": 1728,
+ "end": 1729,
"loc": {
"start": {
- "line": 59,
- "column": 13
+ "line": 75,
+ "column": 14
},
"end": {
- "line": 59,
- "column": 14
+ "line": 75,
+ "column": 15
}
}
},
@@ -9876,16 +13005,16 @@
"updateContext": null
},
"value": "return",
- "start": 1342,
- "end": 1348,
+ "start": 1733,
+ "end": 1739,
"loc": {
"start": {
- "line": 60,
- "column": 2
+ "line": 76,
+ "column": 3
},
"end": {
- "line": 60,
- "column": 8
+ "line": 76,
+ "column": 9
}
}
},
@@ -9901,16 +13030,16 @@
"postfix": false,
"binop": null
},
- "start": 1349,
- "end": 1350,
+ "start": 1740,
+ "end": 1741,
"loc": {
"start": {
- "line": 60,
- "column": 9
+ "line": 76,
+ "column": 10
},
"end": {
- "line": 60,
- "column": 10
+ "line": 76,
+ "column": 11
}
}
},
@@ -9926,16 +13055,16 @@
"postfix": false,
"binop": null
},
- "start": 1354,
- "end": 1355,
+ "start": 1746,
+ "end": 1747,
"loc": {
"start": {
- "line": 61,
- "column": 3
+ "line": 77,
+ "column": 4
},
"end": {
- "line": 61,
- "column": 4
+ "line": 77,
+ "column": 5
}
}
},
@@ -9953,16 +13082,16 @@
"updateContext": null
},
"value": "Input",
- "start": 1355,
- "end": 1360,
+ "start": 1747,
+ "end": 1752,
"loc": {
"start": {
- "line": 61,
- "column": 4
+ "line": 77,
+ "column": 5
},
"end": {
- "line": 61,
- "column": 9
+ "line": 77,
+ "column": 10
}
}
},
@@ -9980,16 +13109,16 @@
"updateContext": null
},
"value": "id",
- "start": 1365,
- "end": 1367,
+ "start": 1758,
+ "end": 1760,
"loc": {
"start": {
- "line": 62,
- "column": 4
+ "line": 78,
+ "column": 5
},
"end": {
- "line": 62,
- "column": 6
+ "line": 78,
+ "column": 7
}
}
},
@@ -10007,16 +13136,16 @@
"updateContext": null
},
"value": "=",
- "start": 1367,
- "end": 1368,
+ "start": 1760,
+ "end": 1761,
"loc": {
"start": {
- "line": 62,
- "column": 6
+ "line": 78,
+ "column": 7
},
"end": {
- "line": 62,
- "column": 7
+ "line": 78,
+ "column": 8
}
}
},
@@ -10032,16 +13161,16 @@
"postfix": false,
"binop": null
},
- "start": 1368,
- "end": 1369,
+ "start": 1761,
+ "end": 1762,
"loc": {
"start": {
- "line": 62,
- "column": 7
+ "line": 78,
+ "column": 8
},
"end": {
- "line": 62,
- "column": 8
+ "line": 78,
+ "column": 9
}
}
},
@@ -10058,16 +13187,16 @@
"binop": null
},
"value": "props",
- "start": 1369,
- "end": 1374,
+ "start": 1762,
+ "end": 1767,
"loc": {
"start": {
- "line": 62,
- "column": 8
+ "line": 78,
+ "column": 9
},
"end": {
- "line": 62,
- "column": 13
+ "line": 78,
+ "column": 14
}
}
},
@@ -10084,16 +13213,16 @@
"binop": null,
"updateContext": null
},
- "start": 1374,
- "end": 1375,
+ "start": 1767,
+ "end": 1768,
"loc": {
"start": {
- "line": 62,
- "column": 13
+ "line": 78,
+ "column": 14
},
"end": {
- "line": 62,
- "column": 14
+ "line": 78,
+ "column": 15
}
}
},
@@ -10110,16 +13239,16 @@
"binop": null
},
"value": "id",
- "start": 1375,
- "end": 1377,
+ "start": 1768,
+ "end": 1770,
"loc": {
"start": {
- "line": 62,
- "column": 14
+ "line": 78,
+ "column": 15
},
"end": {
- "line": 62,
- "column": 16
+ "line": 78,
+ "column": 17
}
}
},
@@ -10135,16 +13264,16 @@
"postfix": false,
"binop": null
},
- "start": 1377,
- "end": 1378,
+ "start": 1770,
+ "end": 1771,
"loc": {
"start": {
- "line": 62,
- "column": 16
+ "line": 78,
+ "column": 17
},
"end": {
- "line": 62,
- "column": 17
+ "line": 78,
+ "column": 18
}
}
},
@@ -10162,16 +13291,16 @@
"updateContext": null
},
"value": "fieldClassName",
- "start": 1383,
- "end": 1397,
+ "start": 1777,
+ "end": 1791,
"loc": {
"start": {
- "line": 63,
- "column": 4
+ "line": 79,
+ "column": 5
},
"end": {
- "line": 63,
- "column": 18
+ "line": 79,
+ "column": 19
}
}
},
@@ -10189,16 +13318,16 @@
"updateContext": null
},
"value": "=",
- "start": 1397,
- "end": 1398,
+ "start": 1791,
+ "end": 1792,
"loc": {
"start": {
- "line": 63,
- "column": 18
+ "line": 79,
+ "column": 19
},
"end": {
- "line": 63,
- "column": 19
+ "line": 79,
+ "column": 20
}
}
},
@@ -10214,16 +13343,16 @@
"postfix": false,
"binop": null
},
- "start": 1398,
- "end": 1399,
+ "start": 1792,
+ "end": 1793,
"loc": {
"start": {
- "line": 63,
- "column": 19
+ "line": 79,
+ "column": 20
},
"end": {
- "line": 63,
- "column": 20
+ "line": 79,
+ "column": 21
}
}
},
@@ -10240,16 +13369,16 @@
"binop": null
},
"value": "inputClassName",
- "start": 1399,
- "end": 1413,
+ "start": 1793,
+ "end": 1807,
"loc": {
"start": {
- "line": 63,
- "column": 20
+ "line": 79,
+ "column": 21
},
"end": {
- "line": 63,
- "column": 34
+ "line": 79,
+ "column": 35
}
}
},
@@ -10265,16 +13394,16 @@
"postfix": false,
"binop": null
},
- "start": 1413,
- "end": 1414,
+ "start": 1807,
+ "end": 1808,
"loc": {
"start": {
- "line": 63,
- "column": 34
+ "line": 79,
+ "column": 35
},
"end": {
- "line": 63,
- "column": 35
+ "line": 79,
+ "column": 36
}
}
},
@@ -10290,16 +13419,16 @@
"postfix": false,
"binop": null
},
- "start": 1414,
- "end": 1415,
+ "start": 1808,
+ "end": 1809,
"loc": {
"start": {
- "line": 63,
- "column": 35
+ "line": 79,
+ "column": 36
},
"end": {
- "line": 63,
- "column": 36
+ "line": 79,
+ "column": 37
}
}
},
@@ -10315,16 +13444,16 @@
"postfix": false,
"binop": null
},
- "start": 1415,
- "end": 1416,
+ "start": 1809,
+ "end": 1810,
"loc": {
"start": {
- "line": 63,
- "column": 36
+ "line": 79,
+ "column": 37
},
"end": {
- "line": 63,
- "column": 37
+ "line": 79,
+ "column": 38
}
}
},
@@ -10342,16 +13471,16 @@
"updateContext": null
},
"value": "ariaDescribedbyAttr",
- "start": 1421,
- "end": 1440,
+ "start": 1816,
+ "end": 1835,
"loc": {
"start": {
- "line": 64,
- "column": 4
+ "line": 80,
+ "column": 5
},
"end": {
- "line": 64,
- "column": 23
+ "line": 80,
+ "column": 24
}
}
},
@@ -10369,16 +13498,16 @@
"updateContext": null
},
"value": "=",
- "start": 1440,
- "end": 1441,
+ "start": 1835,
+ "end": 1836,
"loc": {
"start": {
- "line": 64,
- "column": 23
+ "line": 80,
+ "column": 24
},
"end": {
- "line": 64,
- "column": 24
+ "line": 80,
+ "column": 25
}
}
},
@@ -10394,16 +13523,16 @@
"postfix": false,
"binop": null
},
- "start": 1441,
- "end": 1442,
+ "start": 1836,
+ "end": 1837,
"loc": {
"start": {
- "line": 64,
- "column": 24
+ "line": 80,
+ "column": 25
},
"end": {
- "line": 64,
- "column": 25
+ "line": 80,
+ "column": 26
}
}
},
@@ -10420,16 +13549,16 @@
"binop": null
},
"value": "ariaIdAttr",
- "start": 1442,
- "end": 1452,
+ "start": 1837,
+ "end": 1847,
"loc": {
"start": {
- "line": 64,
- "column": 25
+ "line": 80,
+ "column": 26
},
"end": {
- "line": 64,
- "column": 35
+ "line": 80,
+ "column": 36
}
}
},
@@ -10445,16 +13574,16 @@
"postfix": false,
"binop": null
},
- "start": 1452,
- "end": 1453,
+ "start": 1847,
+ "end": 1848,
"loc": {
"start": {
- "line": 64,
- "column": 35
+ "line": 80,
+ "column": 36
},
"end": {
- "line": 64,
- "column": 36
+ "line": 80,
+ "column": 37
}
}
},
@@ -10470,16 +13599,16 @@
"postfix": false,
"binop": null
},
- "start": 1453,
- "end": 1454,
+ "start": 1848,
+ "end": 1849,
"loc": {
"start": {
- "line": 64,
- "column": 36
+ "line": 80,
+ "column": 37
},
"end": {
- "line": 64,
- "column": 37
+ "line": 80,
+ "column": 38
}
}
},
@@ -10495,16 +13624,16 @@
"postfix": false,
"binop": null
},
- "start": 1454,
- "end": 1455,
+ "start": 1849,
+ "end": 1850,
"loc": {
"start": {
- "line": 64,
- "column": 37
+ "line": 80,
+ "column": 38
},
"end": {
- "line": 64,
- "column": 38
+ "line": 80,
+ "column": 39
}
}
},
@@ -10522,16 +13651,16 @@
"updateContext": null
},
"value": "value",
- "start": 1460,
- "end": 1465,
+ "start": 1856,
+ "end": 1861,
"loc": {
"start": {
- "line": 65,
- "column": 4
+ "line": 81,
+ "column": 5
},
"end": {
- "line": 65,
- "column": 9
+ "line": 81,
+ "column": 10
}
}
},
@@ -10549,16 +13678,16 @@
"updateContext": null
},
"value": "=",
- "start": 1465,
- "end": 1466,
+ "start": 1861,
+ "end": 1862,
"loc": {
"start": {
- "line": 65,
- "column": 9
+ "line": 81,
+ "column": 10
},
"end": {
- "line": 65,
- "column": 10
+ "line": 81,
+ "column": 11
}
}
},
@@ -10574,16 +13703,16 @@
"postfix": false,
"binop": null
},
- "start": 1466,
- "end": 1467,
+ "start": 1862,
+ "end": 1863,
"loc": {
"start": {
- "line": 65,
- "column": 10
+ "line": 81,
+ "column": 11
},
"end": {
- "line": 65,
- "column": 11
+ "line": 81,
+ "column": 12
}
}
},
@@ -10600,16 +13729,16 @@
"binop": null
},
"value": "props",
- "start": 1467,
- "end": 1472,
+ "start": 1863,
+ "end": 1868,
"loc": {
"start": {
- "line": 65,
- "column": 11
+ "line": 81,
+ "column": 12
},
"end": {
- "line": 65,
- "column": 16
+ "line": 81,
+ "column": 17
}
}
},
@@ -10626,16 +13755,16 @@
"binop": null,
"updateContext": null
},
- "start": 1472,
- "end": 1473,
+ "start": 1868,
+ "end": 1869,
"loc": {
"start": {
- "line": 65,
- "column": 16
+ "line": 81,
+ "column": 17
},
"end": {
- "line": 65,
- "column": 17
+ "line": 81,
+ "column": 18
}
}
},
@@ -10652,16 +13781,16 @@
"binop": null
},
"value": "value",
- "start": 1473,
- "end": 1478,
+ "start": 1869,
+ "end": 1874,
"loc": {
"start": {
- "line": 65,
- "column": 17
+ "line": 81,
+ "column": 18
},
"end": {
- "line": 65,
- "column": 22
+ "line": 81,
+ "column": 23
}
}
},
@@ -10677,16 +13806,16 @@
"postfix": false,
"binop": null
},
- "start": 1478,
- "end": 1479,
+ "start": 1874,
+ "end": 1875,
"loc": {
"start": {
- "line": 65,
- "column": 22
+ "line": 81,
+ "column": 23
},
"end": {
- "line": 65,
- "column": 23
+ "line": 81,
+ "column": 24
}
}
},
@@ -10704,16 +13833,16 @@
"updateContext": null
},
"value": "onValueChange",
- "start": 1484,
- "end": 1497,
+ "start": 1881,
+ "end": 1894,
"loc": {
"start": {
- "line": 66,
- "column": 4
+ "line": 82,
+ "column": 5
},
"end": {
- "line": 66,
- "column": 17
+ "line": 82,
+ "column": 18
}
}
},
@@ -10731,16 +13860,16 @@
"updateContext": null
},
"value": "=",
- "start": 1497,
- "end": 1498,
+ "start": 1894,
+ "end": 1895,
"loc": {
"start": {
- "line": 66,
- "column": 17
+ "line": 82,
+ "column": 18
},
"end": {
- "line": 66,
- "column": 18
+ "line": 82,
+ "column": 19
}
}
},
@@ -10756,16 +13885,16 @@
"postfix": false,
"binop": null
},
- "start": 1498,
- "end": 1499,
+ "start": 1895,
+ "end": 1896,
"loc": {
"start": {
- "line": 66,
- "column": 18
+ "line": 82,
+ "column": 19
},
"end": {
- "line": 66,
- "column": 19
+ "line": 82,
+ "column": 20
}
}
},
@@ -10782,16 +13911,16 @@
"binop": null
},
"value": "props",
- "start": 1499,
- "end": 1504,
+ "start": 1896,
+ "end": 1901,
"loc": {
"start": {
- "line": 66,
- "column": 19
+ "line": 82,
+ "column": 20
},
"end": {
- "line": 66,
- "column": 24
+ "line": 82,
+ "column": 25
}
}
},
@@ -10808,16 +13937,16 @@
"binop": null,
"updateContext": null
},
- "start": 1504,
- "end": 1505,
+ "start": 1901,
+ "end": 1902,
"loc": {
"start": {
- "line": 66,
- "column": 24
+ "line": 82,
+ "column": 25
},
"end": {
- "line": 66,
- "column": 25
+ "line": 82,
+ "column": 26
}
}
},
@@ -10834,16 +13963,16 @@
"binop": null
},
"value": "onValueChange",
- "start": 1505,
- "end": 1518,
+ "start": 1902,
+ "end": 1915,
"loc": {
"start": {
- "line": 66,
- "column": 25
+ "line": 82,
+ "column": 26
},
"end": {
- "line": 66,
- "column": 38
+ "line": 82,
+ "column": 39
}
}
},
@@ -10859,16 +13988,16 @@
"postfix": false,
"binop": null
},
- "start": 1518,
- "end": 1519,
+ "start": 1915,
+ "end": 1916,
"loc": {
"start": {
- "line": 66,
- "column": 38
+ "line": 82,
+ "column": 39
},
"end": {
- "line": 66,
- "column": 39
+ "line": 82,
+ "column": 40
}
}
},
@@ -10886,16 +14015,16 @@
"updateContext": null
},
"value": "inputType",
- "start": 1524,
- "end": 1533,
+ "start": 1922,
+ "end": 1931,
"loc": {
"start": {
- "line": 67,
- "column": 4
+ "line": 83,
+ "column": 5
},
"end": {
- "line": 67,
- "column": 13
+ "line": 83,
+ "column": 14
}
}
},
@@ -10913,16 +14042,16 @@
"updateContext": null
},
"value": "=",
- "start": 1533,
- "end": 1534,
+ "start": 1931,
+ "end": 1932,
"loc": {
"start": {
- "line": 67,
- "column": 13
+ "line": 83,
+ "column": 14
},
"end": {
- "line": 67,
- "column": 14
+ "line": 83,
+ "column": 15
}
}
},
@@ -10938,16 +14067,16 @@
"postfix": false,
"binop": null
},
- "start": 1534,
- "end": 1535,
+ "start": 1932,
+ "end": 1933,
"loc": {
"start": {
- "line": 67,
- "column": 14
+ "line": 83,
+ "column": 15
},
"end": {
- "line": 67,
- "column": 15
+ "line": 83,
+ "column": 16
}
}
},
@@ -10964,16 +14093,16 @@
"binop": null
},
"value": "props",
- "start": 1535,
- "end": 1540,
+ "start": 1933,
+ "end": 1938,
"loc": {
"start": {
- "line": 67,
- "column": 15
+ "line": 83,
+ "column": 16
},
"end": {
- "line": 67,
- "column": 20
+ "line": 83,
+ "column": 21
}
}
},
@@ -10990,16 +14119,16 @@
"binop": null,
"updateContext": null
},
- "start": 1540,
- "end": 1541,
+ "start": 1938,
+ "end": 1939,
"loc": {
"start": {
- "line": 67,
- "column": 20
+ "line": 83,
+ "column": 21
},
"end": {
- "line": 67,
- "column": 21
+ "line": 83,
+ "column": 22
}
}
},
@@ -11016,16 +14145,16 @@
"binop": null
},
"value": "inputType",
- "start": 1541,
- "end": 1550,
+ "start": 1939,
+ "end": 1948,
"loc": {
"start": {
- "line": 67,
- "column": 21
+ "line": 83,
+ "column": 22
},
"end": {
- "line": 67,
- "column": 30
+ "line": 83,
+ "column": 31
}
}
},
@@ -11041,16 +14170,16 @@
"postfix": false,
"binop": null
},
- "start": 1550,
- "end": 1551,
+ "start": 1948,
+ "end": 1949,
"loc": {
"start": {
- "line": 67,
- "column": 30
+ "line": 83,
+ "column": 31
},
"end": {
- "line": 67,
- "column": 31
+ "line": 83,
+ "column": 32
}
}
},
@@ -11068,16 +14197,16 @@
"updateContext": null
},
"value": "disabled",
- "start": 1556,
- "end": 1564,
+ "start": 1955,
+ "end": 1963,
"loc": {
"start": {
- "line": 68,
- "column": 4
+ "line": 84,
+ "column": 5
},
- "end": {
- "line": 68,
- "column": 12
+ "end": {
+ "line": 84,
+ "column": 13
}
}
},
@@ -11095,16 +14224,16 @@
"updateContext": null
},
"value": "=",
- "start": 1564,
- "end": 1565,
+ "start": 1963,
+ "end": 1964,
"loc": {
"start": {
- "line": 68,
- "column": 12
+ "line": 84,
+ "column": 13
},
"end": {
- "line": 68,
- "column": 13
+ "line": 84,
+ "column": 14
}
}
},
@@ -11120,16 +14249,16 @@
"postfix": false,
"binop": null
},
- "start": 1565,
- "end": 1566,
+ "start": 1964,
+ "end": 1965,
"loc": {
"start": {
- "line": 68,
- "column": 13
+ "line": 84,
+ "column": 14
},
"end": {
- "line": 68,
- "column": 14
+ "line": 84,
+ "column": 15
}
}
},
@@ -11146,16 +14275,16 @@
"binop": null
},
"value": "props",
- "start": 1566,
- "end": 1571,
+ "start": 1965,
+ "end": 1970,
"loc": {
"start": {
- "line": 68,
- "column": 14
+ "line": 84,
+ "column": 15
},
"end": {
- "line": 68,
- "column": 19
+ "line": 84,
+ "column": 20
}
}
},
@@ -11172,16 +14301,16 @@
"binop": null,
"updateContext": null
},
- "start": 1571,
- "end": 1572,
+ "start": 1970,
+ "end": 1971,
"loc": {
"start": {
- "line": 68,
- "column": 19
+ "line": 84,
+ "column": 20
},
"end": {
- "line": 68,
- "column": 20
+ "line": 84,
+ "column": 21
}
}
},
@@ -11198,16 +14327,16 @@
"binop": null
},
"value": "disabled",
- "start": 1572,
- "end": 1580,
+ "start": 1971,
+ "end": 1979,
"loc": {
"start": {
- "line": 68,
- "column": 20
+ "line": 84,
+ "column": 21
},
"end": {
- "line": 68,
- "column": 28
+ "line": 84,
+ "column": 29
}
}
},
@@ -11223,16 +14352,16 @@
"postfix": false,
"binop": null
},
- "start": 1580,
- "end": 1581,
+ "start": 1979,
+ "end": 1980,
"loc": {
"start": {
- "line": 68,
- "column": 28
+ "line": 84,
+ "column": 29
},
"end": {
- "line": 68,
- "column": 29
+ "line": 84,
+ "column": 30
}
}
},
@@ -11250,16 +14379,16 @@
"updateContext": null
},
"value": "onBlur",
- "start": 1586,
- "end": 1592,
+ "start": 1986,
+ "end": 1992,
"loc": {
"start": {
- "line": 69,
- "column": 4
+ "line": 85,
+ "column": 5
},
"end": {
- "line": 69,
- "column": 10
+ "line": 85,
+ "column": 11
}
}
},
@@ -11277,16 +14406,16 @@
"updateContext": null
},
"value": "=",
- "start": 1592,
- "end": 1593,
+ "start": 1992,
+ "end": 1993,
"loc": {
"start": {
- "line": 69,
- "column": 10
+ "line": 85,
+ "column": 11
},
"end": {
- "line": 69,
- "column": 11
+ "line": 85,
+ "column": 12
}
}
},
@@ -11302,16 +14431,16 @@
"postfix": false,
"binop": null
},
- "start": 1593,
- "end": 1594,
+ "start": 1993,
+ "end": 1994,
"loc": {
"start": {
- "line": 69,
- "column": 11
+ "line": 85,
+ "column": 12
},
"end": {
- "line": 69,
- "column": 12
+ "line": 85,
+ "column": 13
}
}
},
@@ -11328,16 +14457,16 @@
"binop": null
},
"value": "props",
- "start": 1594,
- "end": 1599,
+ "start": 1994,
+ "end": 1999,
"loc": {
"start": {
- "line": 69,
- "column": 12
+ "line": 85,
+ "column": 13
},
"end": {
- "line": 69,
- "column": 17
+ "line": 85,
+ "column": 18
}
}
},
@@ -11354,16 +14483,16 @@
"binop": null,
"updateContext": null
},
- "start": 1599,
- "end": 1600,
+ "start": 1999,
+ "end": 2000,
"loc": {
"start": {
- "line": 69,
- "column": 17
+ "line": 85,
+ "column": 18
},
"end": {
- "line": 69,
- "column": 18
+ "line": 85,
+ "column": 19
}
}
},
@@ -11380,16 +14509,16 @@
"binop": null
},
"value": "onBlur",
- "start": 1600,
- "end": 1606,
+ "start": 2000,
+ "end": 2006,
"loc": {
"start": {
- "line": 69,
- "column": 18
+ "line": 85,
+ "column": 19
},
"end": {
- "line": 69,
- "column": 24
+ "line": 85,
+ "column": 25
}
}
},
@@ -11405,16 +14534,16 @@
"postfix": false,
"binop": null
},
- "start": 1606,
- "end": 1607,
+ "start": 2006,
+ "end": 2007,
"loc": {
"start": {
- "line": 69,
- "column": 24
+ "line": 85,
+ "column": 25
},
"end": {
- "line": 69,
- "column": 25
+ "line": 85,
+ "column": 26
}
}
},
@@ -11432,16 +14561,16 @@
"updateContext": null
},
"value": "onFocus",
- "start": 1612,
- "end": 1619,
+ "start": 2013,
+ "end": 2020,
"loc": {
"start": {
- "line": 70,
- "column": 4
+ "line": 86,
+ "column": 5
},
"end": {
- "line": 70,
- "column": 11
+ "line": 86,
+ "column": 12
}
}
},
@@ -11459,16 +14588,16 @@
"updateContext": null
},
"value": "=",
- "start": 1619,
- "end": 1620,
+ "start": 2020,
+ "end": 2021,
"loc": {
"start": {
- "line": 70,
- "column": 11
+ "line": 86,
+ "column": 12
},
"end": {
- "line": 70,
- "column": 12
+ "line": 86,
+ "column": 13
}
}
},
@@ -11484,16 +14613,16 @@
"postfix": false,
"binop": null
},
- "start": 1620,
- "end": 1621,
+ "start": 2021,
+ "end": 2022,
"loc": {
"start": {
- "line": 70,
- "column": 12
+ "line": 86,
+ "column": 13
},
"end": {
- "line": 70,
- "column": 13
+ "line": 86,
+ "column": 14
}
}
},
@@ -11510,16 +14639,16 @@
"binop": null
},
"value": "props",
- "start": 1621,
- "end": 1626,
+ "start": 2022,
+ "end": 2027,
"loc": {
"start": {
- "line": 70,
- "column": 13
+ "line": 86,
+ "column": 14
},
"end": {
- "line": 70,
- "column": 18
+ "line": 86,
+ "column": 19
}
}
},
@@ -11536,16 +14665,16 @@
"binop": null,
"updateContext": null
},
- "start": 1626,
- "end": 1627,
+ "start": 2027,
+ "end": 2028,
"loc": {
"start": {
- "line": 70,
- "column": 18
+ "line": 86,
+ "column": 19
},
"end": {
- "line": 70,
- "column": 19
+ "line": 86,
+ "column": 20
}
}
},
@@ -11562,16 +14691,16 @@
"binop": null
},
"value": "onFocus",
- "start": 1627,
- "end": 1634,
+ "start": 2028,
+ "end": 2035,
"loc": {
"start": {
- "line": 70,
- "column": 19
+ "line": 86,
+ "column": 20
},
"end": {
- "line": 70,
- "column": 26
+ "line": 86,
+ "column": 27
}
}
},
@@ -11587,16 +14716,16 @@
"postfix": false,
"binop": null
},
- "start": 1634,
- "end": 1635,
+ "start": 2035,
+ "end": 2036,
"loc": {
"start": {
- "line": 70,
- "column": 26
+ "line": 86,
+ "column": 27
},
"end": {
- "line": 70,
- "column": 27
+ "line": 86,
+ "column": 28
}
}
},
@@ -11614,16 +14743,16 @@
"updateContext": null
},
"value": "/",
- "start": 1639,
- "end": 1640,
+ "start": 2041,
+ "end": 2042,
"loc": {
"start": {
- "line": 71,
- "column": 3
+ "line": 87,
+ "column": 4
},
"end": {
- "line": 71,
- "column": 4
+ "line": 87,
+ "column": 5
}
}
},
@@ -11639,16 +14768,16 @@
"postfix": false,
"binop": null
},
- "start": 1640,
- "end": 1641,
+ "start": 2042,
+ "end": 2043,
"loc": {
"start": {
- "line": 71,
- "column": 4
+ "line": 87,
+ "column": 5
},
"end": {
- "line": 71,
- "column": 5
+ "line": 87,
+ "column": 6
}
}
},
@@ -11664,16 +14793,16 @@
"postfix": false,
"binop": null
},
- "start": 1641,
- "end": 1642,
+ "start": 2043,
+ "end": 2044,
"loc": {
"start": {
- "line": 71,
- "column": 5
+ "line": 87,
+ "column": 6
},
"end": {
- "line": 71,
- "column": 6
+ "line": 87,
+ "column": 7
}
}
},
@@ -11690,16 +14819,16 @@
"binop": null,
"updateContext": null
},
- "start": 1642,
- "end": 1643,
+ "start": 2044,
+ "end": 2045,
"loc": {
"start": {
- "line": 71,
- "column": 6
+ "line": 87,
+ "column": 7
},
"end": {
- "line": 71,
- "column": 7
+ "line": 87,
+ "column": 8
}
}
},
@@ -11715,15 +14844,15 @@
"postfix": false,
"binop": null
},
- "start": 1645,
- "end": 1646,
+ "start": 2047,
+ "end": 2048,
"loc": {
"start": {
- "line": 72,
+ "line": 88,
"column": 1
},
"end": {
- "line": 72,
+ "line": 88,
"column": 2
}
}
@@ -11740,15 +14869,15 @@
"postfix": false,
"binop": null
},
- "start": 1648,
- "end": 1649,
+ "start": 2050,
+ "end": 2051,
"loc": {
"start": {
- "line": 74,
+ "line": 90,
"column": 0
},
"end": {
- "line": 74,
+ "line": 90,
"column": 1
}
}
@@ -11766,15 +14895,15 @@
"binop": null,
"updateContext": null
},
- "start": 1649,
- "end": 1650,
+ "start": 2051,
+ "end": 2052,
"loc": {
"start": {
- "line": 74,
+ "line": 90,
"column": 1
},
"end": {
- "line": 74,
+ "line": 90,
"column": 2
}
}
@@ -11782,15 +14911,15 @@
{
"type": "CommentBlock",
"value": "*\n * propTypes for FieldInner component\n *\n * @type {{options, ariaDescribedbyAttr}}\n ",
- "start": 1652,
- "end": 1742,
+ "start": 2054,
+ "end": 2144,
"loc": {
"start": {
- "line": 76,
+ "line": 92,
"column": 0
},
"end": {
- "line": 80,
+ "line": 96,
"column": 3
}
}
@@ -11808,15 +14937,15 @@
"binop": null
},
"value": "FieldInner",
- "start": 1743,
- "end": 1753,
+ "start": 2145,
+ "end": 2155,
"loc": {
"start": {
- "line": 81,
+ "line": 97,
"column": 0
},
"end": {
- "line": 81,
+ "line": 97,
"column": 10
}
}
@@ -11834,15 +14963,15 @@
"binop": null,
"updateContext": null
},
- "start": 1753,
- "end": 1754,
+ "start": 2155,
+ "end": 2156,
"loc": {
"start": {
- "line": 81,
+ "line": 97,
"column": 10
},
"end": {
- "line": 81,
+ "line": 97,
"column": 11
}
}
@@ -11860,15 +14989,15 @@
"binop": null
},
"value": "propTypes",
- "start": 1754,
- "end": 1763,
+ "start": 2156,
+ "end": 2165,
"loc": {
"start": {
- "line": 81,
+ "line": 97,
"column": 11
},
"end": {
- "line": 81,
+ "line": 97,
"column": 20
}
}
@@ -11887,15 +15016,15 @@
"updateContext": null
},
"value": "=",
- "start": 1764,
- "end": 1765,
+ "start": 2166,
+ "end": 2167,
"loc": {
"start": {
- "line": 81,
+ "line": 97,
"column": 21
},
"end": {
- "line": 81,
+ "line": 97,
"column": 22
}
}
@@ -11912,15 +15041,15 @@
"postfix": false,
"binop": null
},
- "start": 1766,
- "end": 1767,
+ "start": 2168,
+ "end": 2169,
"loc": {
"start": {
- "line": 81,
+ "line": 97,
"column": 23
},
"end": {
- "line": 81,
+ "line": 97,
"column": 24
}
}
@@ -11938,15 +15067,15 @@
"binop": null,
"updateContext": null
},
- "start": 1769,
- "end": 1772,
+ "start": 2171,
+ "end": 2174,
"loc": {
"start": {
- "line": 82,
+ "line": 98,
"column": 1
},
"end": {
- "line": 82,
+ "line": 98,
"column": 4
}
}
@@ -11964,15 +15093,15 @@
"binop": null
},
"value": "fieldInnerPropTypes",
- "start": 1772,
- "end": 1791,
+ "start": 2174,
+ "end": 2193,
"loc": {
"start": {
- "line": 82,
+ "line": 98,
"column": 4
},
"end": {
- "line": 82,
+ "line": 98,
"column": 23
}
}
@@ -11990,15 +15119,15 @@
"binop": null,
"updateContext": null
},
- "start": 1791,
- "end": 1792,
+ "start": 2193,
+ "end": 2194,
"loc": {
"start": {
- "line": 82,
+ "line": 98,
"column": 23
},
"end": {
- "line": 82,
+ "line": 98,
"column": 24
}
}
@@ -12016,15 +15145,15 @@
"binop": null
},
"value": "type",
- "start": 1794,
- "end": 1798,
+ "start": 2196,
+ "end": 2200,
"loc": {
"start": {
- "line": 83,
+ "line": 99,
"column": 1
},
"end": {
- "line": 83,
+ "line": 99,
"column": 5
}
}
@@ -12042,15 +15171,15 @@
"binop": null,
"updateContext": null
},
- "start": 1798,
- "end": 1799,
+ "start": 2200,
+ "end": 2201,
"loc": {
"start": {
- "line": 83,
+ "line": 99,
"column": 5
},
"end": {
- "line": 83,
+ "line": 99,
"column": 6
}
}
@@ -12068,15 +15197,15 @@
"binop": null
},
"value": "PropTypes",
- "start": 1800,
- "end": 1809,
+ "start": 2202,
+ "end": 2211,
"loc": {
"start": {
- "line": 83,
+ "line": 99,
"column": 7
},
"end": {
- "line": 83,
+ "line": 99,
"column": 16
}
}
@@ -12094,15 +15223,15 @@
"binop": null,
"updateContext": null
},
- "start": 1809,
- "end": 1810,
+ "start": 2211,
+ "end": 2212,
"loc": {
"start": {
- "line": 83,
+ "line": 99,
"column": 16
},
"end": {
- "line": 83,
+ "line": 99,
"column": 17
}
}
@@ -12120,15 +15249,15 @@
"binop": null
},
"value": "string",
- "start": 1810,
- "end": 1816,
+ "start": 2212,
+ "end": 2218,
"loc": {
"start": {
- "line": 83,
+ "line": 99,
"column": 17
},
"end": {
- "line": 83,
+ "line": 99,
"column": 23
}
}
@@ -12146,15 +15275,15 @@
"binop": null,
"updateContext": null
},
- "start": 1816,
- "end": 1817,
+ "start": 2218,
+ "end": 2219,
"loc": {
"start": {
- "line": 83,
+ "line": 99,
"column": 23
},
"end": {
- "line": 83,
+ "line": 99,
"column": 24
}
}
@@ -12171,15 +15300,15 @@
"postfix": false,
"binop": null
},
- "start": 1818,
- "end": 1819,
+ "start": 2220,
+ "end": 2221,
"loc": {
"start": {
- "line": 84,
+ "line": 100,
"column": 0
},
"end": {
- "line": 84,
+ "line": 100,
"column": 1
}
}
@@ -12197,15 +15326,15 @@
"binop": null,
"updateContext": null
},
- "start": 1819,
- "end": 1820,
+ "start": 2221,
+ "end": 2222,
"loc": {
"start": {
- "line": 84,
+ "line": 100,
"column": 1
},
"end": {
- "line": 84,
+ "line": 100,
"column": 2
}
}
@@ -12213,15 +15342,15 @@
{
"type": "CommentBlock",
"value": "*\n * Default props for FieldInner component\n * @type {{help: string}}\n ",
- "start": 1822,
- "end": 1897,
+ "start": 2224,
+ "end": 2299,
"loc": {
"start": {
- "line": 86,
+ "line": 102,
"column": 0
},
"end": {
- "line": 89,
+ "line": 105,
"column": 3
}
}
@@ -12239,15 +15368,15 @@
"binop": null
},
"value": "FieldInner",
- "start": 1898,
- "end": 1908,
+ "start": 2300,
+ "end": 2310,
"loc": {
"start": {
- "line": 90,
+ "line": 106,
"column": 0
},
"end": {
- "line": 90,
+ "line": 106,
"column": 10
}
}
@@ -12265,15 +15394,15 @@
"binop": null,
"updateContext": null
},
- "start": 1908,
- "end": 1909,
+ "start": 2310,
+ "end": 2311,
"loc": {
"start": {
- "line": 90,
+ "line": 106,
"column": 10
},
"end": {
- "line": 90,
+ "line": 106,
"column": 11
}
}
@@ -12291,15 +15420,15 @@
"binop": null
},
"value": "defaultProps",
- "start": 1909,
- "end": 1921,
+ "start": 2311,
+ "end": 2323,
"loc": {
"start": {
- "line": 90,
+ "line": 106,
"column": 11
},
"end": {
- "line": 90,
+ "line": 106,
"column": 23
}
}
@@ -12318,15 +15447,15 @@
"updateContext": null
},
"value": "=",
- "start": 1922,
- "end": 1923,
+ "start": 2324,
+ "end": 2325,
"loc": {
"start": {
- "line": 90,
+ "line": 106,
"column": 24
},
"end": {
- "line": 90,
+ "line": 106,
"column": 25
}
}
@@ -12343,15 +15472,15 @@
"postfix": false,
"binop": null
},
- "start": 1924,
- "end": 1925,
+ "start": 2326,
+ "end": 2327,
"loc": {
"start": {
- "line": 90,
+ "line": 106,
"column": 26
},
"end": {
- "line": 90,
+ "line": 106,
"column": 27
}
}
@@ -12369,15 +15498,15 @@
"binop": null
},
"value": "help",
- "start": 1927,
- "end": 1931,
+ "start": 2329,
+ "end": 2333,
"loc": {
"start": {
- "line": 91,
+ "line": 107,
"column": 1
},
"end": {
- "line": 91,
+ "line": 107,
"column": 5
}
}
@@ -12395,15 +15524,15 @@
"binop": null,
"updateContext": null
},
- "start": 1931,
- "end": 1932,
+ "start": 2333,
+ "end": 2334,
"loc": {
"start": {
- "line": 91,
+ "line": 107,
"column": 5
},
"end": {
- "line": 91,
+ "line": 107,
"column": 6
}
}
@@ -12422,15 +15551,15 @@
"updateContext": null
},
"value": "",
- "start": 1933,
- "end": 1935,
+ "start": 2335,
+ "end": 2337,
"loc": {
"start": {
- "line": 91,
+ "line": 107,
"column": 7
},
"end": {
- "line": 91,
+ "line": 107,
"column": 9
}
}
@@ -12448,15 +15577,15 @@
"binop": null,
"updateContext": null
},
- "start": 1935,
- "end": 1936,
+ "start": 2337,
+ "end": 2338,
"loc": {
"start": {
- "line": 91,
+ "line": 107,
"column": 9
},
"end": {
- "line": 91,
+ "line": 107,
"column": 10
}
}
@@ -12474,15 +15603,15 @@
"binop": null
},
"value": "type",
- "start": 1938,
- "end": 1942,
+ "start": 2340,
+ "end": 2344,
"loc": {
"start": {
- "line": 92,
+ "line": 108,
"column": 1
},
"end": {
- "line": 92,
+ "line": 108,
"column": 5
}
}
@@ -12500,15 +15629,15 @@
"binop": null,
"updateContext": null
},
- "start": 1942,
- "end": 1943,
+ "start": 2344,
+ "end": 2345,
"loc": {
"start": {
- "line": 92,
+ "line": 108,
"column": 5
},
"end": {
- "line": 92,
+ "line": 108,
"column": 6
}
}
@@ -12527,15 +15656,15 @@
"updateContext": null
},
"value": "input",
- "start": 1944,
- "end": 1951,
+ "start": 2346,
+ "end": 2353,
"loc": {
"start": {
- "line": 92,
+ "line": 108,
"column": 7
},
"end": {
- "line": 92,
+ "line": 108,
"column": 14
}
}
@@ -12552,15 +15681,15 @@
"postfix": false,
"binop": null
},
- "start": 1952,
- "end": 1953,
+ "start": 2354,
+ "end": 2355,
"loc": {
"start": {
- "line": 93,
+ "line": 109,
"column": 0
},
"end": {
- "line": 93,
+ "line": 109,
"column": 1
}
}
@@ -12578,15 +15707,15 @@
"binop": null,
"updateContext": null
},
- "start": 1953,
- "end": 1954,
+ "start": 2355,
+ "end": 2356,
"loc": {
"start": {
- "line": 93,
+ "line": 109,
"column": 1
},
"end": {
- "line": 93,
+ "line": 109,
"column": 2
}
}
@@ -12604,15 +15733,15 @@
"binop": null,
"updateContext": null
},
- "start": 1954,
- "end": 1954,
+ "start": 2356,
+ "end": 2356,
"loc": {
"start": {
- "line": 93,
+ "line": 109,
"column": 2
},
"end": {
- "line": 93,
+ "line": 109,
"column": 2
}
}
diff --git a/docs/ast/source/components/fields/button/Button.js.json b/docs/ast/source/components/fields/button/Button.js.json
new file mode 100644
index 0000000..d08819e
--- /dev/null
+++ b/docs/ast/source/components/fields/button/Button.js.json
@@ -0,0 +1,10698 @@
+{
+ "type": "File",
+ "start": 0,
+ "end": 1493,
+ "loc": {
+ "start": {
+ "line": 1,
+ "column": 0
+ },
+ "end": {
+ "line": 69,
+ "column": 1
+ }
+ },
+ "program": {
+ "type": "Program",
+ "start": 0,
+ "end": 1493,
+ "loc": {
+ "start": {
+ "line": 1,
+ "column": 0
+ },
+ "end": {
+ "line": 69,
+ "column": 1
+ }
+ },
+ "sourceType": "module",
+ "body": [
+ {
+ "type": "ImportDeclaration",
+ "start": 0,
+ "end": 26,
+ "loc": {
+ "start": {
+ "line": 1,
+ "column": 0
+ },
+ "end": {
+ "line": 1,
+ "column": 26
+ }
+ },
+ "specifiers": [
+ {
+ "type": "ImportDefaultSpecifier",
+ "start": 7,
+ "end": 12,
+ "loc": {
+ "start": {
+ "line": 1,
+ "column": 7
+ },
+ "end": {
+ "line": 1,
+ "column": 12
+ }
+ },
+ "local": {
+ "type": "Identifier",
+ "start": 7,
+ "end": 12,
+ "loc": {
+ "start": {
+ "line": 1,
+ "column": 7
+ },
+ "end": {
+ "line": 1,
+ "column": 12
+ },
+ "identifierName": "React"
+ },
+ "name": "React"
+ }
+ }
+ ],
+ "source": {
+ "type": "StringLiteral",
+ "start": 18,
+ "end": 25,
+ "loc": {
+ "start": {
+ "line": 1,
+ "column": 18
+ },
+ "end": {
+ "line": 1,
+ "column": 25
+ }
+ },
+ "extra": {
+ "rawValue": "react",
+ "raw": "'react'"
+ },
+ "value": "react"
+ }
+ },
+ {
+ "type": "ImportDeclaration",
+ "start": 27,
+ "end": 71,
+ "loc": {
+ "start": {
+ "line": 2,
+ "column": 0
+ },
+ "end": {
+ "line": 2,
+ "column": 44
+ }
+ },
+ "specifiers": [
+ {
+ "type": "ImportSpecifier",
+ "start": 35,
+ "end": 49,
+ "loc": {
+ "start": {
+ "line": 2,
+ "column": 8
+ },
+ "end": {
+ "line": 2,
+ "column": 22
+ }
+ },
+ "imported": {
+ "type": "Identifier",
+ "start": 35,
+ "end": 49,
+ "loc": {
+ "start": {
+ "line": 2,
+ "column": 8
+ },
+ "end": {
+ "line": 2,
+ "column": 22
+ },
+ "identifierName": "fieldPropTypes"
+ },
+ "name": "fieldPropTypes"
+ },
+ "local": {
+ "type": "Identifier",
+ "start": 35,
+ "end": 49,
+ "loc": {
+ "start": {
+ "line": 2,
+ "column": 8
+ },
+ "end": {
+ "line": 2,
+ "column": 22
+ },
+ "identifierName": "fieldPropTypes"
+ },
+ "name": "fieldPropTypes"
+ }
+ }
+ ],
+ "source": {
+ "type": "StringLiteral",
+ "start": 56,
+ "end": 70,
+ "loc": {
+ "start": {
+ "line": 2,
+ "column": 29
+ },
+ "end": {
+ "line": 2,
+ "column": 43
+ }
+ },
+ "extra": {
+ "rawValue": "../propTypes",
+ "raw": "'../propTypes'"
+ },
+ "value": "../propTypes"
+ }
+ },
+ {
+ "type": "ImportDeclaration",
+ "start": 72,
+ "end": 108,
+ "loc": {
+ "start": {
+ "line": 3,
+ "column": 0
+ },
+ "end": {
+ "line": 3,
+ "column": 36
+ }
+ },
+ "specifiers": [
+ {
+ "type": "ImportDefaultSpecifier",
+ "start": 79,
+ "end": 89,
+ "loc": {
+ "start": {
+ "line": 3,
+ "column": 7
+ },
+ "end": {
+ "line": 3,
+ "column": 17
+ }
+ },
+ "local": {
+ "type": "Identifier",
+ "start": 79,
+ "end": 89,
+ "loc": {
+ "start": {
+ "line": 3,
+ "column": 7
+ },
+ "end": {
+ "line": 3,
+ "column": 17
+ },
+ "identifierName": "classNames"
+ },
+ "name": "classNames"
+ }
+ }
+ ],
+ "source": {
+ "type": "StringLiteral",
+ "start": 95,
+ "end": 107,
+ "loc": {
+ "start": {
+ "line": 3,
+ "column": 23
+ },
+ "end": {
+ "line": 3,
+ "column": 35
+ }
+ },
+ "extra": {
+ "rawValue": "classnames",
+ "raw": "'classnames'"
+ },
+ "value": "classnames"
+ }
+ },
+ {
+ "type": "ImportDeclaration",
+ "start": 109,
+ "end": 155,
+ "loc": {
+ "start": {
+ "line": 4,
+ "column": 0
+ },
+ "end": {
+ "line": 4,
+ "column": 46
+ }
+ },
+ "specifiers": [
+ {
+ "type": "ImportSpecifier",
+ "start": 117,
+ "end": 128,
+ "loc": {
+ "start": {
+ "line": 4,
+ "column": 8
+ },
+ "end": {
+ "line": 4,
+ "column": 19
+ }
+ },
+ "imported": {
+ "type": "Identifier",
+ "start": 117,
+ "end": 128,
+ "loc": {
+ "start": {
+ "line": 4,
+ "column": 8
+ },
+ "end": {
+ "line": 4,
+ "column": 19
+ },
+ "identifierName": "RenderGroup"
+ },
+ "name": "RenderGroup"
+ },
+ "local": {
+ "type": "Identifier",
+ "start": 117,
+ "end": 128,
+ "loc": {
+ "start": {
+ "line": 4,
+ "column": 8
+ },
+ "end": {
+ "line": 4,
+ "column": 19
+ },
+ "identifierName": "RenderGroup"
+ },
+ "name": "RenderGroup"
+ }
+ }
+ ],
+ "source": {
+ "type": "StringLiteral",
+ "start": 135,
+ "end": 154,
+ "loc": {
+ "start": {
+ "line": 4,
+ "column": 26
+ },
+ "end": {
+ "line": 4,
+ "column": 45
+ }
+ },
+ "extra": {
+ "rawValue": "../../RenderGroup",
+ "raw": "'../../RenderGroup'"
+ },
+ "value": "../../RenderGroup"
+ }
+ },
+ {
+ "type": "ImportDeclaration",
+ "start": 156,
+ "end": 191,
+ "loc": {
+ "start": {
+ "line": 5,
+ "column": 0
+ },
+ "end": {
+ "line": 5,
+ "column": 35
+ }
+ },
+ "specifiers": [
+ {
+ "type": "ImportDefaultSpecifier",
+ "start": 163,
+ "end": 172,
+ "loc": {
+ "start": {
+ "line": 5,
+ "column": 7
+ },
+ "end": {
+ "line": 5,
+ "column": 16
+ }
+ },
+ "local": {
+ "type": "Identifier",
+ "start": 163,
+ "end": 172,
+ "loc": {
+ "start": {
+ "line": 5,
+ "column": 7
+ },
+ "end": {
+ "line": 5,
+ "column": 16
+ },
+ "identifierName": "PropTypes"
+ },
+ "name": "PropTypes"
+ }
+ }
+ ],
+ "source": {
+ "type": "StringLiteral",
+ "start": 178,
+ "end": 190,
+ "loc": {
+ "start": {
+ "line": 5,
+ "column": 22
+ },
+ "end": {
+ "line": 5,
+ "column": 34
+ }
+ },
+ "extra": {
+ "rawValue": "prop-types",
+ "raw": "'prop-types'"
+ },
+ "value": "prop-types"
+ }
+ },
+ {
+ "type": "ExportNamedDeclaration",
+ "start": 194,
+ "end": 1077,
+ "loc": {
+ "start": {
+ "line": 8,
+ "column": 0
+ },
+ "end": {
+ "line": 52,
+ "column": 2
+ }
+ },
+ "specifiers": [],
+ "source": null,
+ "declaration": {
+ "type": "VariableDeclaration",
+ "start": 201,
+ "end": 1077,
+ "loc": {
+ "start": {
+ "line": 8,
+ "column": 7
+ },
+ "end": {
+ "line": 52,
+ "column": 2
+ }
+ },
+ "declarations": [
+ {
+ "type": "VariableDeclarator",
+ "start": 207,
+ "end": 1076,
+ "loc": {
+ "start": {
+ "line": 8,
+ "column": 13
+ },
+ "end": {
+ "line": 52,
+ "column": 1
+ }
+ },
+ "id": {
+ "type": "Identifier",
+ "start": 207,
+ "end": 213,
+ "loc": {
+ "start": {
+ "line": 8,
+ "column": 13
+ },
+ "end": {
+ "line": 8,
+ "column": 19
+ },
+ "identifierName": "Button"
+ },
+ "name": "Button"
+ },
+ "init": {
+ "type": "ArrowFunctionExpression",
+ "start": 216,
+ "end": 1076,
+ "loc": {
+ "start": {
+ "line": 8,
+ "column": 22
+ },
+ "end": {
+ "line": 52,
+ "column": 1
+ }
+ },
+ "id": {
+ "type": "Identifier",
+ "start": 207,
+ "end": 213,
+ "loc": {
+ "start": {
+ "line": 8,
+ "column": 13
+ },
+ "end": {
+ "line": 8,
+ "column": 19
+ },
+ "identifierName": "Button"
+ },
+ "name": "Button"
+ },
+ "generator": false,
+ "expression": false,
+ "async": false,
+ "params": [
+ {
+ "type": "Identifier",
+ "start": 217,
+ "end": 222,
+ "loc": {
+ "start": {
+ "line": 8,
+ "column": 23
+ },
+ "end": {
+ "line": 8,
+ "column": 28
+ },
+ "identifierName": "props"
+ },
+ "name": "props"
+ }
+ ],
+ "body": {
+ "type": "BlockStatement",
+ "start": 227,
+ "end": 1076,
+ "loc": {
+ "start": {
+ "line": 8,
+ "column": 33
+ },
+ "end": {
+ "line": 52,
+ "column": 1
+ }
+ },
+ "body": [
+ {
+ "type": "FunctionDeclaration",
+ "start": 303,
+ "end": 450,
+ "loc": {
+ "start": {
+ "line": 14,
+ "column": 1
+ },
+ "end": {
+ "line": 20,
+ "column": 2
+ }
+ },
+ "id": {
+ "type": "Identifier",
+ "start": 312,
+ "end": 326,
+ "loc": {
+ "start": {
+ "line": 14,
+ "column": 10
+ },
+ "end": {
+ "line": 14,
+ "column": 24
+ },
+ "identifierName": "inputClassName"
+ },
+ "name": "inputClassName",
+ "leadingComments": null
+ },
+ "generator": false,
+ "expression": false,
+ "async": false,
+ "params": [],
+ "body": {
+ "type": "BlockStatement",
+ "start": 329,
+ "end": 450,
+ "loc": {
+ "start": {
+ "line": 14,
+ "column": 27
+ },
+ "end": {
+ "line": 20,
+ "column": 2
+ }
+ },
+ "body": [
+ {
+ "type": "ReturnStatement",
+ "start": 333,
+ "end": 447,
+ "loc": {
+ "start": {
+ "line": 15,
+ "column": 2
+ },
+ "end": {
+ "line": 19,
+ "column": 4
+ }
+ },
+ "argument": {
+ "type": "CallExpression",
+ "start": 340,
+ "end": 446,
+ "loc": {
+ "start": {
+ "line": 15,
+ "column": 9
+ },
+ "end": {
+ "line": 19,
+ "column": 3
+ }
+ },
+ "callee": {
+ "type": "Identifier",
+ "start": 340,
+ "end": 350,
+ "loc": {
+ "start": {
+ "line": 15,
+ "column": 9
+ },
+ "end": {
+ "line": 15,
+ "column": 19
+ },
+ "identifierName": "classNames"
+ },
+ "name": "classNames"
+ },
+ "arguments": [
+ {
+ "type": "MemberExpression",
+ "start": 355,
+ "end": 375,
+ "loc": {
+ "start": {
+ "line": 16,
+ "column": 3
+ },
+ "end": {
+ "line": 16,
+ "column": 23
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 355,
+ "end": 360,
+ "loc": {
+ "start": {
+ "line": 16,
+ "column": 3
+ },
+ "end": {
+ "line": 16,
+ "column": 8
+ },
+ "identifierName": "props"
+ },
+ "name": "props"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 361,
+ "end": 375,
+ "loc": {
+ "start": {
+ "line": 16,
+ "column": 9
+ },
+ "end": {
+ "line": 16,
+ "column": 23
+ },
+ "identifierName": "fieldClassName"
+ },
+ "name": "fieldClassName"
+ },
+ "computed": false
+ },
+ {
+ "type": "MemberExpression",
+ "start": 380,
+ "end": 408,
+ "loc": {
+ "start": {
+ "line": 17,
+ "column": 3
+ },
+ "end": {
+ "line": 17,
+ "column": 31
+ }
+ },
+ "object": {
+ "type": "MemberExpression",
+ "start": 380,
+ "end": 402,
+ "loc": {
+ "start": {
+ "line": 17,
+ "column": 3
+ },
+ "end": {
+ "line": 17,
+ "column": 25
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 380,
+ "end": 391,
+ "loc": {
+ "start": {
+ "line": 17,
+ "column": 3
+ },
+ "end": {
+ "line": 17,
+ "column": 14
+ },
+ "identifierName": "RenderGroup"
+ },
+ "name": "RenderGroup"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 392,
+ "end": 402,
+ "loc": {
+ "start": {
+ "line": 17,
+ "column": 15
+ },
+ "end": {
+ "line": 17,
+ "column": 25
+ },
+ "identifierName": "classNames"
+ },
+ "name": "classNames"
+ },
+ "computed": false
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 403,
+ "end": 408,
+ "loc": {
+ "start": {
+ "line": 17,
+ "column": 26
+ },
+ "end": {
+ "line": 17,
+ "column": 31
+ },
+ "identifierName": "input"
+ },
+ "name": "input"
+ },
+ "computed": false
+ },
+ {
+ "type": "MemberExpression",
+ "start": 413,
+ "end": 442,
+ "loc": {
+ "start": {
+ "line": 18,
+ "column": 3
+ },
+ "end": {
+ "line": 18,
+ "column": 32
+ }
+ },
+ "object": {
+ "type": "MemberExpression",
+ "start": 413,
+ "end": 435,
+ "loc": {
+ "start": {
+ "line": 18,
+ "column": 3
+ },
+ "end": {
+ "line": 18,
+ "column": 25
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 413,
+ "end": 424,
+ "loc": {
+ "start": {
+ "line": 18,
+ "column": 3
+ },
+ "end": {
+ "line": 18,
+ "column": 14
+ },
+ "identifierName": "RenderGroup"
+ },
+ "name": "RenderGroup"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 425,
+ "end": 435,
+ "loc": {
+ "start": {
+ "line": 18,
+ "column": 15
+ },
+ "end": {
+ "line": 18,
+ "column": 25
+ },
+ "identifierName": "classNames"
+ },
+ "name": "classNames"
+ },
+ "computed": false
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 436,
+ "end": 442,
+ "loc": {
+ "start": {
+ "line": 18,
+ "column": 26
+ },
+ "end": {
+ "line": 18,
+ "column": 32
+ },
+ "identifierName": "button"
+ },
+ "name": "button"
+ },
+ "computed": false
+ }
+ ]
+ }
+ }
+ ],
+ "directives": []
+ },
+ "leadingComments": [
+ {
+ "type": "CommentBlock",
+ "value": "*\n\t * Get the className prop for inputs\n\t *\n\t * @return {String}\n\t ",
+ "start": 230,
+ "end": 301,
+ "loc": {
+ "start": {
+ "line": 9,
+ "column": 1
+ },
+ "end": {
+ "line": 13,
+ "column": 4
+ }
+ }
+ }
+ ]
+ },
+ {
+ "type": "IfStatement",
+ "start": 453,
+ "end": 811,
+ "loc": {
+ "start": {
+ "line": 22,
+ "column": 1
+ },
+ "end": {
+ "line": 37,
+ "column": 2
+ }
+ },
+ "test": {
+ "type": "BinaryExpression",
+ "start": 457,
+ "end": 485,
+ "loc": {
+ "start": {
+ "line": 22,
+ "column": 5
+ },
+ "end": {
+ "line": 22,
+ "column": 33
+ }
+ },
+ "left": {
+ "type": "StringLiteral",
+ "start": 457,
+ "end": 465,
+ "loc": {
+ "start": {
+ "line": 22,
+ "column": 5
+ },
+ "end": {
+ "line": 22,
+ "column": 13
+ }
+ },
+ "extra": {
+ "rawValue": "submit",
+ "raw": "'submit'"
+ },
+ "value": "submit"
+ },
+ "operator": "===",
+ "right": {
+ "type": "MemberExpression",
+ "start": 470,
+ "end": 485,
+ "loc": {
+ "start": {
+ "line": 22,
+ "column": 18
+ },
+ "end": {
+ "line": 22,
+ "column": 33
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 470,
+ "end": 475,
+ "loc": {
+ "start": {
+ "line": 22,
+ "column": 18
+ },
+ "end": {
+ "line": 22,
+ "column": 23
+ },
+ "identifierName": "props"
+ },
+ "name": "props"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 476,
+ "end": 485,
+ "loc": {
+ "start": {
+ "line": 22,
+ "column": 24
+ },
+ "end": {
+ "line": 22,
+ "column": 33
+ },
+ "identifierName": "inputType"
+ },
+ "name": "inputType"
+ },
+ "computed": false
+ }
+ },
+ "consequent": {
+ "type": "BlockStatement",
+ "start": 487,
+ "end": 811,
+ "loc": {
+ "start": {
+ "line": 22,
+ "column": 35
+ },
+ "end": {
+ "line": 37,
+ "column": 2
+ }
+ },
+ "body": [
+ {
+ "type": "ReturnStatement",
+ "start": 491,
+ "end": 808,
+ "loc": {
+ "start": {
+ "line": 23,
+ "column": 2
+ },
+ "end": {
+ "line": 36,
+ "column": 4
+ }
+ },
+ "argument": {
+ "type": "JSXElement",
+ "start": 503,
+ "end": 803,
+ "loc": {
+ "start": {
+ "line": 24,
+ "column": 3
+ },
+ "end": {
+ "line": 35,
+ "column": 5
+ }
+ },
+ "openingElement": {
+ "type": "JSXOpeningElement",
+ "start": 503,
+ "end": 803,
+ "loc": {
+ "start": {
+ "line": 24,
+ "column": 3
+ },
+ "end": {
+ "line": 35,
+ "column": 5
+ }
+ },
+ "attributes": [
+ {
+ "type": "JSXAttribute",
+ "start": 514,
+ "end": 529,
+ "loc": {
+ "start": {
+ "line": 25,
+ "column": 4
+ },
+ "end": {
+ "line": 25,
+ "column": 19
+ }
+ },
+ "name": {
+ "type": "JSXIdentifier",
+ "start": 514,
+ "end": 518,
+ "loc": {
+ "start": {
+ "line": 25,
+ "column": 4
+ },
+ "end": {
+ "line": 25,
+ "column": 8
+ }
+ },
+ "name": "type"
+ },
+ "value": {
+ "type": "JSXExpressionContainer",
+ "start": 519,
+ "end": 529,
+ "loc": {
+ "start": {
+ "line": 25,
+ "column": 9
+ },
+ "end": {
+ "line": 25,
+ "column": 19
+ }
+ },
+ "expression": {
+ "type": "StringLiteral",
+ "start": 520,
+ "end": 528,
+ "loc": {
+ "start": {
+ "line": 25,
+ "column": 10
+ },
+ "end": {
+ "line": 25,
+ "column": 18
+ }
+ },
+ "extra": {
+ "rawValue": "submit",
+ "raw": "'submit'"
+ },
+ "value": "submit"
+ }
+ }
+ },
+ {
+ "type": "JSXAttribute",
+ "start": 534,
+ "end": 547,
+ "loc": {
+ "start": {
+ "line": 26,
+ "column": 4
+ },
+ "end": {
+ "line": 26,
+ "column": 17
+ }
+ },
+ "name": {
+ "type": "JSXIdentifier",
+ "start": 534,
+ "end": 536,
+ "loc": {
+ "start": {
+ "line": 26,
+ "column": 4
+ },
+ "end": {
+ "line": 26,
+ "column": 6
+ }
+ },
+ "name": "id"
+ },
+ "value": {
+ "type": "JSXExpressionContainer",
+ "start": 537,
+ "end": 547,
+ "loc": {
+ "start": {
+ "line": 26,
+ "column": 7
+ },
+ "end": {
+ "line": 26,
+ "column": 17
+ }
+ },
+ "expression": {
+ "type": "MemberExpression",
+ "start": 538,
+ "end": 546,
+ "loc": {
+ "start": {
+ "line": 26,
+ "column": 8
+ },
+ "end": {
+ "line": 26,
+ "column": 16
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 538,
+ "end": 543,
+ "loc": {
+ "start": {
+ "line": 26,
+ "column": 8
+ },
+ "end": {
+ "line": 26,
+ "column": 13
+ },
+ "identifierName": "props"
+ },
+ "name": "props"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 544,
+ "end": 546,
+ "loc": {
+ "start": {
+ "line": 26,
+ "column": 14
+ },
+ "end": {
+ "line": 26,
+ "column": 16
+ },
+ "identifierName": "id"
+ },
+ "name": "id"
+ },
+ "computed": false
+ }
+ }
+ },
+ {
+ "type": "JSXAttribute",
+ "start": 552,
+ "end": 580,
+ "loc": {
+ "start": {
+ "line": 27,
+ "column": 4
+ },
+ "end": {
+ "line": 27,
+ "column": 32
+ }
+ },
+ "name": {
+ "type": "JSXIdentifier",
+ "start": 552,
+ "end": 561,
+ "loc": {
+ "start": {
+ "line": 27,
+ "column": 4
+ },
+ "end": {
+ "line": 27,
+ "column": 13
+ }
+ },
+ "name": "className"
+ },
+ "value": {
+ "type": "JSXExpressionContainer",
+ "start": 562,
+ "end": 580,
+ "loc": {
+ "start": {
+ "line": 27,
+ "column": 14
+ },
+ "end": {
+ "line": 27,
+ "column": 32
+ }
+ },
+ "expression": {
+ "type": "CallExpression",
+ "start": 563,
+ "end": 579,
+ "loc": {
+ "start": {
+ "line": 27,
+ "column": 15
+ },
+ "end": {
+ "line": 27,
+ "column": 31
+ }
+ },
+ "callee": {
+ "type": "Identifier",
+ "start": 563,
+ "end": 577,
+ "loc": {
+ "start": {
+ "line": 27,
+ "column": 15
+ },
+ "end": {
+ "line": 27,
+ "column": 29
+ },
+ "identifierName": "inputClassName"
+ },
+ "name": "inputClassName"
+ },
+ "arguments": []
+ }
+ }
+ },
+ {
+ "type": "JSXAttribute",
+ "start": 585,
+ "end": 629,
+ "loc": {
+ "start": {
+ "line": 28,
+ "column": 4
+ },
+ "end": {
+ "line": 28,
+ "column": 48
+ }
+ },
+ "name": {
+ "type": "JSXIdentifier",
+ "start": 585,
+ "end": 601,
+ "loc": {
+ "start": {
+ "line": 28,
+ "column": 4
+ },
+ "end": {
+ "line": 28,
+ "column": 20
+ }
+ },
+ "name": "aria-describedby"
+ },
+ "value": {
+ "type": "JSXExpressionContainer",
+ "start": 602,
+ "end": 629,
+ "loc": {
+ "start": {
+ "line": 28,
+ "column": 21
+ },
+ "end": {
+ "line": 28,
+ "column": 48
+ }
+ },
+ "expression": {
+ "type": "MemberExpression",
+ "start": 603,
+ "end": 628,
+ "loc": {
+ "start": {
+ "line": 28,
+ "column": 22
+ },
+ "end": {
+ "line": 28,
+ "column": 47
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 603,
+ "end": 608,
+ "loc": {
+ "start": {
+ "line": 28,
+ "column": 22
+ },
+ "end": {
+ "line": 28,
+ "column": 27
+ },
+ "identifierName": "props"
+ },
+ "name": "props"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 609,
+ "end": 628,
+ "loc": {
+ "start": {
+ "line": 28,
+ "column": 28
+ },
+ "end": {
+ "line": 28,
+ "column": 47
+ },
+ "identifierName": "ariaDescribedbyAttr"
+ },
+ "name": "ariaDescribedbyAttr"
+ },
+ "computed": false
+ }
+ }
+ },
+ {
+ "type": "JSXAttribute",
+ "start": 634,
+ "end": 661,
+ "loc": {
+ "start": {
+ "line": 29,
+ "column": 4
+ },
+ "end": {
+ "line": 29,
+ "column": 31
+ }
+ },
+ "name": {
+ "type": "JSXIdentifier",
+ "start": 634,
+ "end": 642,
+ "loc": {
+ "start": {
+ "line": 29,
+ "column": 4
+ },
+ "end": {
+ "line": 29,
+ "column": 12
+ }
+ },
+ "name": "required"
+ },
+ "value": {
+ "type": "JSXExpressionContainer",
+ "start": 643,
+ "end": 661,
+ "loc": {
+ "start": {
+ "line": 29,
+ "column": 13
+ },
+ "end": {
+ "line": 29,
+ "column": 31
+ }
+ },
+ "expression": {
+ "type": "MemberExpression",
+ "start": 644,
+ "end": 660,
+ "loc": {
+ "start": {
+ "line": 29,
+ "column": 14
+ },
+ "end": {
+ "line": 29,
+ "column": 30
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 644,
+ "end": 649,
+ "loc": {
+ "start": {
+ "line": 29,
+ "column": 14
+ },
+ "end": {
+ "line": 29,
+ "column": 19
+ },
+ "identifierName": "props"
+ },
+ "name": "props"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 650,
+ "end": 660,
+ "loc": {
+ "start": {
+ "line": 29,
+ "column": 20
+ },
+ "end": {
+ "line": 29,
+ "column": 30
+ },
+ "identifierName": "isRequired"
+ },
+ "name": "isRequired"
+ },
+ "computed": false
+ }
+ }
+ },
+ {
+ "type": "JSXAttribute",
+ "start": 666,
+ "end": 689,
+ "loc": {
+ "start": {
+ "line": 30,
+ "column": 4
+ },
+ "end": {
+ "line": 30,
+ "column": 27
+ }
+ },
+ "name": {
+ "type": "JSXIdentifier",
+ "start": 666,
+ "end": 673,
+ "loc": {
+ "start": {
+ "line": 30,
+ "column": 4
+ },
+ "end": {
+ "line": 30,
+ "column": 11
+ }
+ },
+ "name": "onClick"
+ },
+ "value": {
+ "type": "JSXExpressionContainer",
+ "start": 674,
+ "end": 689,
+ "loc": {
+ "start": {
+ "line": 30,
+ "column": 12
+ },
+ "end": {
+ "line": 30,
+ "column": 27
+ }
+ },
+ "expression": {
+ "type": "MemberExpression",
+ "start": 675,
+ "end": 688,
+ "loc": {
+ "start": {
+ "line": 30,
+ "column": 13
+ },
+ "end": {
+ "line": 30,
+ "column": 26
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 675,
+ "end": 680,
+ "loc": {
+ "start": {
+ "line": 30,
+ "column": 13
+ },
+ "end": {
+ "line": 30,
+ "column": 18
+ },
+ "identifierName": "props"
+ },
+ "name": "props"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 681,
+ "end": 688,
+ "loc": {
+ "start": {
+ "line": 30,
+ "column": 19
+ },
+ "end": {
+ "line": 30,
+ "column": 26
+ },
+ "identifierName": "onClick"
+ },
+ "name": "onClick"
+ },
+ "computed": false
+ }
+ }
+ },
+ {
+ "type": "JSXAttribute",
+ "start": 694,
+ "end": 713,
+ "loc": {
+ "start": {
+ "line": 31,
+ "column": 4
+ },
+ "end": {
+ "line": 31,
+ "column": 23
+ }
+ },
+ "name": {
+ "type": "JSXIdentifier",
+ "start": 694,
+ "end": 699,
+ "loc": {
+ "start": {
+ "line": 31,
+ "column": 4
+ },
+ "end": {
+ "line": 31,
+ "column": 9
+ }
+ },
+ "name": "value"
+ },
+ "value": {
+ "type": "JSXExpressionContainer",
+ "start": 700,
+ "end": 713,
+ "loc": {
+ "start": {
+ "line": 31,
+ "column": 10
+ },
+ "end": {
+ "line": 31,
+ "column": 23
+ }
+ },
+ "expression": {
+ "type": "MemberExpression",
+ "start": 701,
+ "end": 712,
+ "loc": {
+ "start": {
+ "line": 31,
+ "column": 11
+ },
+ "end": {
+ "line": 31,
+ "column": 22
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 701,
+ "end": 706,
+ "loc": {
+ "start": {
+ "line": 31,
+ "column": 11
+ },
+ "end": {
+ "line": 31,
+ "column": 16
+ },
+ "identifierName": "props"
+ },
+ "name": "props"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 707,
+ "end": 712,
+ "loc": {
+ "start": {
+ "line": 31,
+ "column": 17
+ },
+ "end": {
+ "line": 31,
+ "column": 22
+ },
+ "identifierName": "value"
+ },
+ "name": "value"
+ },
+ "computed": false
+ }
+ }
+ },
+ {
+ "type": "JSXAttribute",
+ "start": 718,
+ "end": 743,
+ "loc": {
+ "start": {
+ "line": 32,
+ "column": 4
+ },
+ "end": {
+ "line": 32,
+ "column": 29
+ }
+ },
+ "name": {
+ "type": "JSXIdentifier",
+ "start": 718,
+ "end": 726,
+ "loc": {
+ "start": {
+ "line": 32,
+ "column": 4
+ },
+ "end": {
+ "line": 32,
+ "column": 12
+ }
+ },
+ "name": "disabled"
+ },
+ "value": {
+ "type": "JSXExpressionContainer",
+ "start": 727,
+ "end": 743,
+ "loc": {
+ "start": {
+ "line": 32,
+ "column": 13
+ },
+ "end": {
+ "line": 32,
+ "column": 29
+ }
+ },
+ "expression": {
+ "type": "MemberExpression",
+ "start": 728,
+ "end": 742,
+ "loc": {
+ "start": {
+ "line": 32,
+ "column": 14
+ },
+ "end": {
+ "line": 32,
+ "column": 28
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 728,
+ "end": 733,
+ "loc": {
+ "start": {
+ "line": 32,
+ "column": 14
+ },
+ "end": {
+ "line": 32,
+ "column": 19
+ },
+ "identifierName": "props"
+ },
+ "name": "props"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 734,
+ "end": 742,
+ "loc": {
+ "start": {
+ "line": 32,
+ "column": 20
+ },
+ "end": {
+ "line": 32,
+ "column": 28
+ },
+ "identifierName": "disabled"
+ },
+ "name": "disabled"
+ },
+ "computed": false
+ }
+ }
+ },
+ {
+ "type": "JSXAttribute",
+ "start": 748,
+ "end": 769,
+ "loc": {
+ "start": {
+ "line": 33,
+ "column": 4
+ },
+ "end": {
+ "line": 33,
+ "column": 25
+ }
+ },
+ "name": {
+ "type": "JSXIdentifier",
+ "start": 748,
+ "end": 754,
+ "loc": {
+ "start": {
+ "line": 33,
+ "column": 4
+ },
+ "end": {
+ "line": 33,
+ "column": 10
+ }
+ },
+ "name": "onBlur"
+ },
+ "value": {
+ "type": "JSXExpressionContainer",
+ "start": 755,
+ "end": 769,
+ "loc": {
+ "start": {
+ "line": 33,
+ "column": 11
+ },
+ "end": {
+ "line": 33,
+ "column": 25
+ }
+ },
+ "expression": {
+ "type": "MemberExpression",
+ "start": 756,
+ "end": 768,
+ "loc": {
+ "start": {
+ "line": 33,
+ "column": 12
+ },
+ "end": {
+ "line": 33,
+ "column": 24
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 756,
+ "end": 761,
+ "loc": {
+ "start": {
+ "line": 33,
+ "column": 12
+ },
+ "end": {
+ "line": 33,
+ "column": 17
+ },
+ "identifierName": "props"
+ },
+ "name": "props"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 762,
+ "end": 768,
+ "loc": {
+ "start": {
+ "line": 33,
+ "column": 18
+ },
+ "end": {
+ "line": 33,
+ "column": 24
+ },
+ "identifierName": "onBlur"
+ },
+ "name": "onBlur"
+ },
+ "computed": false
+ }
+ }
+ },
+ {
+ "type": "JSXAttribute",
+ "start": 774,
+ "end": 797,
+ "loc": {
+ "start": {
+ "line": 34,
+ "column": 4
+ },
+ "end": {
+ "line": 34,
+ "column": 27
+ }
+ },
+ "name": {
+ "type": "JSXIdentifier",
+ "start": 774,
+ "end": 781,
+ "loc": {
+ "start": {
+ "line": 34,
+ "column": 4
+ },
+ "end": {
+ "line": 34,
+ "column": 11
+ }
+ },
+ "name": "onFocus"
+ },
+ "value": {
+ "type": "JSXExpressionContainer",
+ "start": 782,
+ "end": 797,
+ "loc": {
+ "start": {
+ "line": 34,
+ "column": 12
+ },
+ "end": {
+ "line": 34,
+ "column": 27
+ }
+ },
+ "expression": {
+ "type": "MemberExpression",
+ "start": 783,
+ "end": 796,
+ "loc": {
+ "start": {
+ "line": 34,
+ "column": 13
+ },
+ "end": {
+ "line": 34,
+ "column": 26
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 783,
+ "end": 788,
+ "loc": {
+ "start": {
+ "line": 34,
+ "column": 13
+ },
+ "end": {
+ "line": 34,
+ "column": 18
+ },
+ "identifierName": "props"
+ },
+ "name": "props"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 789,
+ "end": 796,
+ "loc": {
+ "start": {
+ "line": 34,
+ "column": 19
+ },
+ "end": {
+ "line": 34,
+ "column": 26
+ },
+ "identifierName": "onFocus"
+ },
+ "name": "onFocus"
+ },
+ "computed": false
+ }
+ }
+ }
+ ],
+ "name": {
+ "type": "JSXIdentifier",
+ "start": 504,
+ "end": 509,
+ "loc": {
+ "start": {
+ "line": 24,
+ "column": 4
+ },
+ "end": {
+ "line": 24,
+ "column": 9
+ }
+ },
+ "name": "input"
+ },
+ "selfClosing": true
+ },
+ "closingElement": null,
+ "children": [],
+ "extra": {
+ "parenthesized": true,
+ "parenStart": 498
+ }
+ }
+ }
+ ],
+ "directives": []
+ },
+ "alternate": null
+ },
+ {
+ "type": "ReturnStatement",
+ "start": 814,
+ "end": 1074,
+ "loc": {
+ "start": {
+ "line": 39,
+ "column": 1
+ },
+ "end": {
+ "line": 51,
+ "column": 3
+ }
+ },
+ "argument": {
+ "type": "JSXElement",
+ "start": 825,
+ "end": 1070,
+ "loc": {
+ "start": {
+ "line": 40,
+ "column": 2
+ },
+ "end": {
+ "line": 50,
+ "column": 11
+ }
+ },
+ "openingElement": {
+ "type": "JSXOpeningElement",
+ "start": 825,
+ "end": 1041,
+ "loc": {
+ "start": {
+ "line": 40,
+ "column": 2
+ },
+ "end": {
+ "line": 48,
+ "column": 3
+ }
+ },
+ "attributes": [
+ {
+ "type": "JSXAttribute",
+ "start": 836,
+ "end": 849,
+ "loc": {
+ "start": {
+ "line": 41,
+ "column": 3
+ },
+ "end": {
+ "line": 41,
+ "column": 16
+ }
+ },
+ "name": {
+ "type": "JSXIdentifier",
+ "start": 836,
+ "end": 838,
+ "loc": {
+ "start": {
+ "line": 41,
+ "column": 3
+ },
+ "end": {
+ "line": 41,
+ "column": 5
+ }
+ },
+ "name": "id"
+ },
+ "value": {
+ "type": "JSXExpressionContainer",
+ "start": 839,
+ "end": 849,
+ "loc": {
+ "start": {
+ "line": 41,
+ "column": 6
+ },
+ "end": {
+ "line": 41,
+ "column": 16
+ }
+ },
+ "expression": {
+ "type": "MemberExpression",
+ "start": 840,
+ "end": 848,
+ "loc": {
+ "start": {
+ "line": 41,
+ "column": 7
+ },
+ "end": {
+ "line": 41,
+ "column": 15
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 840,
+ "end": 845,
+ "loc": {
+ "start": {
+ "line": 41,
+ "column": 7
+ },
+ "end": {
+ "line": 41,
+ "column": 12
+ },
+ "identifierName": "props"
+ },
+ "name": "props"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 846,
+ "end": 848,
+ "loc": {
+ "start": {
+ "line": 41,
+ "column": 13
+ },
+ "end": {
+ "line": 41,
+ "column": 15
+ },
+ "identifierName": "id"
+ },
+ "name": "id"
+ },
+ "computed": false
+ }
+ }
+ },
+ {
+ "type": "JSXAttribute",
+ "start": 853,
+ "end": 881,
+ "loc": {
+ "start": {
+ "line": 42,
+ "column": 3
+ },
+ "end": {
+ "line": 42,
+ "column": 31
+ }
+ },
+ "name": {
+ "type": "JSXIdentifier",
+ "start": 853,
+ "end": 862,
+ "loc": {
+ "start": {
+ "line": 42,
+ "column": 3
+ },
+ "end": {
+ "line": 42,
+ "column": 12
+ }
+ },
+ "name": "className"
+ },
+ "value": {
+ "type": "JSXExpressionContainer",
+ "start": 863,
+ "end": 881,
+ "loc": {
+ "start": {
+ "line": 42,
+ "column": 13
+ },
+ "end": {
+ "line": 42,
+ "column": 31
+ }
+ },
+ "expression": {
+ "type": "CallExpression",
+ "start": 864,
+ "end": 880,
+ "loc": {
+ "start": {
+ "line": 42,
+ "column": 14
+ },
+ "end": {
+ "line": 42,
+ "column": 30
+ }
+ },
+ "callee": {
+ "type": "Identifier",
+ "start": 864,
+ "end": 878,
+ "loc": {
+ "start": {
+ "line": 42,
+ "column": 14
+ },
+ "end": {
+ "line": 42,
+ "column": 28
+ },
+ "identifierName": "inputClassName"
+ },
+ "name": "inputClassName"
+ },
+ "arguments": []
+ }
+ }
+ },
+ {
+ "type": "JSXAttribute",
+ "start": 885,
+ "end": 929,
+ "loc": {
+ "start": {
+ "line": 43,
+ "column": 3
+ },
+ "end": {
+ "line": 43,
+ "column": 47
+ }
+ },
+ "name": {
+ "type": "JSXIdentifier",
+ "start": 885,
+ "end": 901,
+ "loc": {
+ "start": {
+ "line": 43,
+ "column": 3
+ },
+ "end": {
+ "line": 43,
+ "column": 19
+ }
+ },
+ "name": "aria-describedby"
+ },
+ "value": {
+ "type": "JSXExpressionContainer",
+ "start": 902,
+ "end": 929,
+ "loc": {
+ "start": {
+ "line": 43,
+ "column": 20
+ },
+ "end": {
+ "line": 43,
+ "column": 47
+ }
+ },
+ "expression": {
+ "type": "MemberExpression",
+ "start": 903,
+ "end": 928,
+ "loc": {
+ "start": {
+ "line": 43,
+ "column": 21
+ },
+ "end": {
+ "line": 43,
+ "column": 46
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 903,
+ "end": 908,
+ "loc": {
+ "start": {
+ "line": 43,
+ "column": 21
+ },
+ "end": {
+ "line": 43,
+ "column": 26
+ },
+ "identifierName": "props"
+ },
+ "name": "props"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 909,
+ "end": 928,
+ "loc": {
+ "start": {
+ "line": 43,
+ "column": 27
+ },
+ "end": {
+ "line": 43,
+ "column": 46
+ },
+ "identifierName": "ariaDescribedbyAttr"
+ },
+ "name": "ariaDescribedbyAttr"
+ },
+ "computed": false
+ }
+ }
+ },
+ {
+ "type": "JSXAttribute",
+ "start": 933,
+ "end": 956,
+ "loc": {
+ "start": {
+ "line": 44,
+ "column": 3
+ },
+ "end": {
+ "line": 44,
+ "column": 26
+ }
+ },
+ "name": {
+ "type": "JSXIdentifier",
+ "start": 933,
+ "end": 940,
+ "loc": {
+ "start": {
+ "line": 44,
+ "column": 3
+ },
+ "end": {
+ "line": 44,
+ "column": 10
+ }
+ },
+ "name": "onClick"
+ },
+ "value": {
+ "type": "JSXExpressionContainer",
+ "start": 941,
+ "end": 956,
+ "loc": {
+ "start": {
+ "line": 44,
+ "column": 11
+ },
+ "end": {
+ "line": 44,
+ "column": 26
+ }
+ },
+ "expression": {
+ "type": "MemberExpression",
+ "start": 942,
+ "end": 955,
+ "loc": {
+ "start": {
+ "line": 44,
+ "column": 12
+ },
+ "end": {
+ "line": 44,
+ "column": 25
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 942,
+ "end": 947,
+ "loc": {
+ "start": {
+ "line": 44,
+ "column": 12
+ },
+ "end": {
+ "line": 44,
+ "column": 17
+ },
+ "identifierName": "props"
+ },
+ "name": "props"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 948,
+ "end": 955,
+ "loc": {
+ "start": {
+ "line": 44,
+ "column": 18
+ },
+ "end": {
+ "line": 44,
+ "column": 25
+ },
+ "identifierName": "onClick"
+ },
+ "name": "onClick"
+ },
+ "computed": false
+ }
+ }
+ },
+ {
+ "type": "JSXAttribute",
+ "start": 960,
+ "end": 985,
+ "loc": {
+ "start": {
+ "line": 45,
+ "column": 3
+ },
+ "end": {
+ "line": 45,
+ "column": 28
+ }
+ },
+ "name": {
+ "type": "JSXIdentifier",
+ "start": 960,
+ "end": 968,
+ "loc": {
+ "start": {
+ "line": 45,
+ "column": 3
+ },
+ "end": {
+ "line": 45,
+ "column": 11
+ }
+ },
+ "name": "disabled"
+ },
+ "value": {
+ "type": "JSXExpressionContainer",
+ "start": 969,
+ "end": 985,
+ "loc": {
+ "start": {
+ "line": 45,
+ "column": 12
+ },
+ "end": {
+ "line": 45,
+ "column": 28
+ }
+ },
+ "expression": {
+ "type": "MemberExpression",
+ "start": 970,
+ "end": 984,
+ "loc": {
+ "start": {
+ "line": 45,
+ "column": 13
+ },
+ "end": {
+ "line": 45,
+ "column": 27
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 970,
+ "end": 975,
+ "loc": {
+ "start": {
+ "line": 45,
+ "column": 13
+ },
+ "end": {
+ "line": 45,
+ "column": 18
+ },
+ "identifierName": "props"
+ },
+ "name": "props"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 976,
+ "end": 984,
+ "loc": {
+ "start": {
+ "line": 45,
+ "column": 19
+ },
+ "end": {
+ "line": 45,
+ "column": 27
+ },
+ "identifierName": "disabled"
+ },
+ "name": "disabled"
+ },
+ "computed": false
+ }
+ }
+ },
+ {
+ "type": "JSXAttribute",
+ "start": 989,
+ "end": 1010,
+ "loc": {
+ "start": {
+ "line": 46,
+ "column": 3
+ },
+ "end": {
+ "line": 46,
+ "column": 24
+ }
+ },
+ "name": {
+ "type": "JSXIdentifier",
+ "start": 989,
+ "end": 995,
+ "loc": {
+ "start": {
+ "line": 46,
+ "column": 3
+ },
+ "end": {
+ "line": 46,
+ "column": 9
+ }
+ },
+ "name": "onBlur"
+ },
+ "value": {
+ "type": "JSXExpressionContainer",
+ "start": 996,
+ "end": 1010,
+ "loc": {
+ "start": {
+ "line": 46,
+ "column": 10
+ },
+ "end": {
+ "line": 46,
+ "column": 24
+ }
+ },
+ "expression": {
+ "type": "MemberExpression",
+ "start": 997,
+ "end": 1009,
+ "loc": {
+ "start": {
+ "line": 46,
+ "column": 11
+ },
+ "end": {
+ "line": 46,
+ "column": 23
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 997,
+ "end": 1002,
+ "loc": {
+ "start": {
+ "line": 46,
+ "column": 11
+ },
+ "end": {
+ "line": 46,
+ "column": 16
+ },
+ "identifierName": "props"
+ },
+ "name": "props"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 1003,
+ "end": 1009,
+ "loc": {
+ "start": {
+ "line": 46,
+ "column": 17
+ },
+ "end": {
+ "line": 46,
+ "column": 23
+ },
+ "identifierName": "onBlur"
+ },
+ "name": "onBlur"
+ },
+ "computed": false
+ }
+ }
+ },
+ {
+ "type": "JSXAttribute",
+ "start": 1014,
+ "end": 1037,
+ "loc": {
+ "start": {
+ "line": 47,
+ "column": 3
+ },
+ "end": {
+ "line": 47,
+ "column": 26
+ }
+ },
+ "name": {
+ "type": "JSXIdentifier",
+ "start": 1014,
+ "end": 1021,
+ "loc": {
+ "start": {
+ "line": 47,
+ "column": 3
+ },
+ "end": {
+ "line": 47,
+ "column": 10
+ }
+ },
+ "name": "onFocus"
+ },
+ "value": {
+ "type": "JSXExpressionContainer",
+ "start": 1022,
+ "end": 1037,
+ "loc": {
+ "start": {
+ "line": 47,
+ "column": 11
+ },
+ "end": {
+ "line": 47,
+ "column": 26
+ }
+ },
+ "expression": {
+ "type": "MemberExpression",
+ "start": 1023,
+ "end": 1036,
+ "loc": {
+ "start": {
+ "line": 47,
+ "column": 12
+ },
+ "end": {
+ "line": 47,
+ "column": 25
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 1023,
+ "end": 1028,
+ "loc": {
+ "start": {
+ "line": 47,
+ "column": 12
+ },
+ "end": {
+ "line": 47,
+ "column": 17
+ },
+ "identifierName": "props"
+ },
+ "name": "props"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 1029,
+ "end": 1036,
+ "loc": {
+ "start": {
+ "line": 47,
+ "column": 18
+ },
+ "end": {
+ "line": 47,
+ "column": 25
+ },
+ "identifierName": "onFocus"
+ },
+ "name": "onFocus"
+ },
+ "computed": false
+ }
+ }
+ }
+ ],
+ "name": {
+ "type": "JSXIdentifier",
+ "start": 826,
+ "end": 832,
+ "loc": {
+ "start": {
+ "line": 40,
+ "column": 3
+ },
+ "end": {
+ "line": 40,
+ "column": 9
+ }
+ },
+ "name": "button"
+ },
+ "selfClosing": false
+ },
+ "closingElement": {
+ "type": "JSXClosingElement",
+ "start": 1061,
+ "end": 1070,
+ "loc": {
+ "start": {
+ "line": 50,
+ "column": 2
+ },
+ "end": {
+ "line": 50,
+ "column": 11
+ }
+ },
+ "name": {
+ "type": "JSXIdentifier",
+ "start": 1063,
+ "end": 1069,
+ "loc": {
+ "start": {
+ "line": 50,
+ "column": 4
+ },
+ "end": {
+ "line": 50,
+ "column": 10
+ }
+ },
+ "name": "button"
+ }
+ },
+ "children": [
+ {
+ "type": "JSXText",
+ "start": 1041,
+ "end": 1045,
+ "loc": {
+ "start": {
+ "line": 48,
+ "column": 3
+ },
+ "end": {
+ "line": 49,
+ "column": 3
+ }
+ },
+ "extra": null,
+ "value": "\n\t\t\t"
+ },
+ {
+ "type": "JSXExpressionContainer",
+ "start": 1045,
+ "end": 1058,
+ "loc": {
+ "start": {
+ "line": 49,
+ "column": 3
+ },
+ "end": {
+ "line": 49,
+ "column": 16
+ }
+ },
+ "expression": {
+ "type": "MemberExpression",
+ "start": 1046,
+ "end": 1057,
+ "loc": {
+ "start": {
+ "line": 49,
+ "column": 4
+ },
+ "end": {
+ "line": 49,
+ "column": 15
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 1046,
+ "end": 1051,
+ "loc": {
+ "start": {
+ "line": 49,
+ "column": 4
+ },
+ "end": {
+ "line": 49,
+ "column": 9
+ },
+ "identifierName": "props"
+ },
+ "name": "props"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 1052,
+ "end": 1057,
+ "loc": {
+ "start": {
+ "line": 49,
+ "column": 10
+ },
+ "end": {
+ "line": 49,
+ "column": 15
+ },
+ "identifierName": "value"
+ },
+ "name": "value"
+ },
+ "computed": false
+ }
+ },
+ {
+ "type": "JSXText",
+ "start": 1058,
+ "end": 1061,
+ "loc": {
+ "start": {
+ "line": 49,
+ "column": 16
+ },
+ "end": {
+ "line": 50,
+ "column": 2
+ }
+ },
+ "extra": null,
+ "value": "\n\t\t"
+ }
+ ],
+ "extra": {
+ "parenthesized": true,
+ "parenStart": 821
+ }
+ }
+ }
+ ],
+ "directives": []
+ }
+ }
+ }
+ ],
+ "kind": "const",
+ "leadingComments": [],
+ "trailingComments": []
+ }
+ },
+ {
+ "type": "VariableDeclaration",
+ "start": 1079,
+ "end": 1110,
+ "loc": {
+ "start": {
+ "line": 54,
+ "column": 0
+ },
+ "end": {
+ "line": 54,
+ "column": 31
+ }
+ },
+ "declarations": [
+ {
+ "type": "VariableDeclarator",
+ "start": 1083,
+ "end": 1109,
+ "loc": {
+ "start": {
+ "line": 54,
+ "column": 4
+ },
+ "end": {
+ "line": 54,
+ "column": 30
+ }
+ },
+ "id": {
+ "type": "Identifier",
+ "start": 1083,
+ "end": 1092,
+ "loc": {
+ "start": {
+ "line": 54,
+ "column": 4
+ },
+ "end": {
+ "line": 54,
+ "column": 13
+ },
+ "identifierName": "propTypes"
+ },
+ "name": "propTypes"
+ },
+ "init": {
+ "type": "Identifier",
+ "start": 1095,
+ "end": 1109,
+ "loc": {
+ "start": {
+ "line": 54,
+ "column": 16
+ },
+ "end": {
+ "line": 54,
+ "column": 30
+ },
+ "identifierName": "fieldPropTypes"
+ },
+ "name": "fieldPropTypes"
+ }
+ }
+ ],
+ "kind": "let"
+ },
+ {
+ "type": "ExpressionStatement",
+ "start": 1111,
+ "end": 1147,
+ "loc": {
+ "start": {
+ "line": 55,
+ "column": 0
+ },
+ "end": {
+ "line": 55,
+ "column": 36
+ }
+ },
+ "expression": {
+ "type": "UnaryExpression",
+ "start": 1111,
+ "end": 1146,
+ "loc": {
+ "start": {
+ "line": 55,
+ "column": 0
+ },
+ "end": {
+ "line": 55,
+ "column": 35
+ }
+ },
+ "operator": "delete",
+ "prefix": true,
+ "argument": {
+ "type": "MemberExpression",
+ "start": 1118,
+ "end": 1146,
+ "loc": {
+ "start": {
+ "line": 55,
+ "column": 7
+ },
+ "end": {
+ "line": 55,
+ "column": 35
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 1118,
+ "end": 1132,
+ "loc": {
+ "start": {
+ "line": 55,
+ "column": 7
+ },
+ "end": {
+ "line": 55,
+ "column": 21
+ },
+ "identifierName": "fieldPropTypes"
+ },
+ "name": "fieldPropTypes"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 1133,
+ "end": 1146,
+ "loc": {
+ "start": {
+ "line": 55,
+ "column": 22
+ },
+ "end": {
+ "line": 55,
+ "column": 35
+ },
+ "identifierName": "onValueChange"
+ },
+ "name": "onValueChange"
+ },
+ "computed": false
+ },
+ "extra": {
+ "parenthesizedArgument": false
+ }
+ },
+ "trailingComments": [
+ {
+ "type": "CommentBlock",
+ "value": "*\n * Prop type definitions for Button Component\n * @type {{id: (*), fieldClassName: (*), help: shim, value: shim, onValueChange: (*), inputType: shim, onClick: *}}\n ",
+ "start": 1149,
+ "end": 1318,
+ "loc": {
+ "start": {
+ "line": 57,
+ "column": 0
+ },
+ "end": {
+ "line": 60,
+ "column": 3
+ }
+ }
+ }
+ ]
+ },
+ {
+ "type": "ExpressionStatement",
+ "start": 1319,
+ "end": 1445,
+ "loc": {
+ "start": {
+ "line": 61,
+ "column": 0
+ },
+ "end": {
+ "line": 65,
+ "column": 2
+ }
+ },
+ "expression": {
+ "type": "AssignmentExpression",
+ "start": 1319,
+ "end": 1444,
+ "loc": {
+ "start": {
+ "line": 61,
+ "column": 0
+ },
+ "end": {
+ "line": 65,
+ "column": 1
+ }
+ },
+ "operator": "=",
+ "left": {
+ "type": "MemberExpression",
+ "start": 1319,
+ "end": 1335,
+ "loc": {
+ "start": {
+ "line": 61,
+ "column": 0
+ },
+ "end": {
+ "line": 61,
+ "column": 16
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 1319,
+ "end": 1325,
+ "loc": {
+ "start": {
+ "line": 61,
+ "column": 0
+ },
+ "end": {
+ "line": 61,
+ "column": 6
+ },
+ "identifierName": "Button"
+ },
+ "name": "Button",
+ "leadingComments": null
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 1326,
+ "end": 1335,
+ "loc": {
+ "start": {
+ "line": 61,
+ "column": 7
+ },
+ "end": {
+ "line": 61,
+ "column": 16
+ },
+ "identifierName": "propTypes"
+ },
+ "name": "propTypes"
+ },
+ "computed": false,
+ "leadingComments": null
+ },
+ "right": {
+ "type": "ObjectExpression",
+ "start": 1338,
+ "end": 1444,
+ "loc": {
+ "start": {
+ "line": 61,
+ "column": 19
+ },
+ "end": {
+ "line": 65,
+ "column": 1
+ }
+ },
+ "properties": [
+ {
+ "type": "SpreadProperty",
+ "start": 1341,
+ "end": 1353,
+ "loc": {
+ "start": {
+ "line": 62,
+ "column": 1
+ },
+ "end": {
+ "line": 62,
+ "column": 13
+ }
+ },
+ "argument": {
+ "type": "Identifier",
+ "start": 1344,
+ "end": 1353,
+ "loc": {
+ "start": {
+ "line": 62,
+ "column": 4
+ },
+ "end": {
+ "line": 62,
+ "column": 13
+ },
+ "identifierName": "propTypes"
+ },
+ "name": "propTypes"
+ }
+ },
+ {
+ "type": "ObjectProperty",
+ "start": 1356,
+ "end": 1404,
+ "loc": {
+ "start": {
+ "line": 63,
+ "column": 1
+ },
+ "end": {
+ "line": 63,
+ "column": 49
+ }
+ },
+ "method": false,
+ "shorthand": false,
+ "computed": false,
+ "key": {
+ "type": "Identifier",
+ "start": 1356,
+ "end": 1365,
+ "loc": {
+ "start": {
+ "line": 63,
+ "column": 1
+ },
+ "end": {
+ "line": 63,
+ "column": 10
+ },
+ "identifierName": "innerType"
+ },
+ "name": "innerType"
+ },
+ "value": {
+ "type": "CallExpression",
+ "start": 1367,
+ "end": 1404,
+ "loc": {
+ "start": {
+ "line": 63,
+ "column": 12
+ },
+ "end": {
+ "line": 63,
+ "column": 49
+ }
+ },
+ "callee": {
+ "type": "MemberExpression",
+ "start": 1367,
+ "end": 1382,
+ "loc": {
+ "start": {
+ "line": 63,
+ "column": 12
+ },
+ "end": {
+ "line": 63,
+ "column": 27
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 1367,
+ "end": 1376,
+ "loc": {
+ "start": {
+ "line": 63,
+ "column": 12
+ },
+ "end": {
+ "line": 63,
+ "column": 21
+ },
+ "identifierName": "PropTypes"
+ },
+ "name": "PropTypes"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 1377,
+ "end": 1382,
+ "loc": {
+ "start": {
+ "line": 63,
+ "column": 22
+ },
+ "end": {
+ "line": 63,
+ "column": 27
+ },
+ "identifierName": "oneOf"
+ },
+ "name": "oneOf"
+ },
+ "computed": false
+ },
+ "arguments": [
+ {
+ "type": "ArrayExpression",
+ "start": 1383,
+ "end": 1402,
+ "loc": {
+ "start": {
+ "line": 63,
+ "column": 28
+ },
+ "end": {
+ "line": 63,
+ "column": 47
+ }
+ },
+ "elements": [
+ {
+ "type": "StringLiteral",
+ "start": 1384,
+ "end": 1392,
+ "loc": {
+ "start": {
+ "line": 63,
+ "column": 29
+ },
+ "end": {
+ "line": 63,
+ "column": 37
+ }
+ },
+ "extra": {
+ "rawValue": "submit",
+ "raw": "'submit'"
+ },
+ "value": "submit"
+ },
+ {
+ "type": "StringLiteral",
+ "start": 1393,
+ "end": 1401,
+ "loc": {
+ "start": {
+ "line": 63,
+ "column": 38
+ },
+ "end": {
+ "line": 63,
+ "column": 46
+ }
+ },
+ "extra": {
+ "rawValue": "button",
+ "raw": "'button'"
+ },
+ "value": "button"
+ }
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "ObjectProperty",
+ "start": 1407,
+ "end": 1441,
+ "loc": {
+ "start": {
+ "line": 64,
+ "column": 1
+ },
+ "end": {
+ "line": 64,
+ "column": 35
+ }
+ },
+ "method": false,
+ "shorthand": false,
+ "computed": false,
+ "key": {
+ "type": "Identifier",
+ "start": 1407,
+ "end": 1414,
+ "loc": {
+ "start": {
+ "line": 64,
+ "column": 1
+ },
+ "end": {
+ "line": 64,
+ "column": 8
+ },
+ "identifierName": "onClick"
+ },
+ "name": "onClick"
+ },
+ "value": {
+ "type": "MemberExpression",
+ "start": 1416,
+ "end": 1441,
+ "loc": {
+ "start": {
+ "line": 64,
+ "column": 10
+ },
+ "end": {
+ "line": 64,
+ "column": 35
+ }
+ },
+ "object": {
+ "type": "MemberExpression",
+ "start": 1416,
+ "end": 1430,
+ "loc": {
+ "start": {
+ "line": 64,
+ "column": 10
+ },
+ "end": {
+ "line": 64,
+ "column": 24
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 1416,
+ "end": 1425,
+ "loc": {
+ "start": {
+ "line": 64,
+ "column": 10
+ },
+ "end": {
+ "line": 64,
+ "column": 19
+ },
+ "identifierName": "PropTypes"
+ },
+ "name": "PropTypes"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 1426,
+ "end": 1430,
+ "loc": {
+ "start": {
+ "line": 64,
+ "column": 20
+ },
+ "end": {
+ "line": 64,
+ "column": 24
+ },
+ "identifierName": "func"
+ },
+ "name": "func"
+ },
+ "computed": false
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 1431,
+ "end": 1441,
+ "loc": {
+ "start": {
+ "line": 64,
+ "column": 25
+ },
+ "end": {
+ "line": 64,
+ "column": 35
+ },
+ "identifierName": "isRequired"
+ },
+ "name": "isRequired"
+ },
+ "computed": false
+ }
+ }
+ ]
+ },
+ "leadingComments": null
+ },
+ "leadingComments": [
+ {
+ "type": "CommentBlock",
+ "value": "*\n * Prop type definitions for Button Component\n * @type {{id: (*), fieldClassName: (*), help: shim, value: shim, onValueChange: (*), inputType: shim, onClick: *}}\n ",
+ "start": 1149,
+ "end": 1318,
+ "loc": {
+ "start": {
+ "line": 57,
+ "column": 0
+ },
+ "end": {
+ "line": 60,
+ "column": 3
+ }
+ }
+ }
+ ]
+ },
+ {
+ "type": "ExpressionStatement",
+ "start": 1447,
+ "end": 1493,
+ "loc": {
+ "start": {
+ "line": 67,
+ "column": 0
+ },
+ "end": {
+ "line": 69,
+ "column": 1
+ }
+ },
+ "expression": {
+ "type": "AssignmentExpression",
+ "start": 1447,
+ "end": 1493,
+ "loc": {
+ "start": {
+ "line": 67,
+ "column": 0
+ },
+ "end": {
+ "line": 69,
+ "column": 1
+ }
+ },
+ "operator": "=",
+ "left": {
+ "type": "MemberExpression",
+ "start": 1447,
+ "end": 1466,
+ "loc": {
+ "start": {
+ "line": 67,
+ "column": 0
+ },
+ "end": {
+ "line": 67,
+ "column": 19
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 1447,
+ "end": 1453,
+ "loc": {
+ "start": {
+ "line": 67,
+ "column": 0
+ },
+ "end": {
+ "line": 67,
+ "column": 6
+ },
+ "identifierName": "Button"
+ },
+ "name": "Button"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 1454,
+ "end": 1466,
+ "loc": {
+ "start": {
+ "line": 67,
+ "column": 7
+ },
+ "end": {
+ "line": 67,
+ "column": 19
+ },
+ "identifierName": "defaultProps"
+ },
+ "name": "defaultProps"
+ },
+ "computed": false
+ },
+ "right": {
+ "type": "ObjectExpression",
+ "start": 1469,
+ "end": 1493,
+ "loc": {
+ "start": {
+ "line": 67,
+ "column": 22
+ },
+ "end": {
+ "line": 69,
+ "column": 1
+ }
+ },
+ "properties": [
+ {
+ "type": "ObjectProperty",
+ "start": 1472,
+ "end": 1491,
+ "loc": {
+ "start": {
+ "line": 68,
+ "column": 1
+ },
+ "end": {
+ "line": 68,
+ "column": 20
+ }
+ },
+ "method": false,
+ "shorthand": false,
+ "computed": false,
+ "key": {
+ "type": "Identifier",
+ "start": 1472,
+ "end": 1481,
+ "loc": {
+ "start": {
+ "line": 68,
+ "column": 1
+ },
+ "end": {
+ "line": 68,
+ "column": 10
+ },
+ "identifierName": "inputType"
+ },
+ "name": "inputType"
+ },
+ "value": {
+ "type": "StringLiteral",
+ "start": 1483,
+ "end": 1491,
+ "loc": {
+ "start": {
+ "line": 68,
+ "column": 12
+ },
+ "end": {
+ "line": 68,
+ "column": 20
+ }
+ },
+ "extra": {
+ "rawValue": "submit",
+ "raw": "'submit'"
+ },
+ "value": "submit"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "directives": []
+ },
+ "comments": [
+ {
+ "type": "CommentBlock",
+ "value": "*\n\t * Get the className prop for inputs\n\t *\n\t * @return {String}\n\t ",
+ "start": 230,
+ "end": 301,
+ "loc": {
+ "start": {
+ "line": 9,
+ "column": 1
+ },
+ "end": {
+ "line": 13,
+ "column": 4
+ }
+ }
+ },
+ {
+ "type": "CommentBlock",
+ "value": "*\n * Prop type definitions for Button Component\n * @type {{id: (*), fieldClassName: (*), help: shim, value: shim, onValueChange: (*), inputType: shim, onClick: *}}\n ",
+ "start": 1149,
+ "end": 1318,
+ "loc": {
+ "start": {
+ "line": 57,
+ "column": 0
+ },
+ "end": {
+ "line": 60,
+ "column": 3
+ }
+ }
+ }
+ ],
+ "tokens": [
+ {
+ "type": {
+ "label": "import",
+ "keyword": "import",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "import",
+ "start": 0,
+ "end": 6,
+ "loc": {
+ "start": {
+ "line": 1,
+ "column": 0
+ },
+ "end": {
+ "line": 1,
+ "column": 6
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "React",
+ "start": 7,
+ "end": 12,
+ "loc": {
+ "start": {
+ "line": 1,
+ "column": 7
+ },
+ "end": {
+ "line": 1,
+ "column": 12
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "from",
+ "start": 13,
+ "end": 17,
+ "loc": {
+ "start": {
+ "line": 1,
+ "column": 13
+ },
+ "end": {
+ "line": 1,
+ "column": 17
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "string",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "react",
+ "start": 18,
+ "end": 25,
+ "loc": {
+ "start": {
+ "line": 1,
+ "column": 18
+ },
+ "end": {
+ "line": 1,
+ "column": 25
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ";",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 25,
+ "end": 26,
+ "loc": {
+ "start": {
+ "line": 1,
+ "column": 25
+ },
+ "end": {
+ "line": 1,
+ "column": 26
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "import",
+ "keyword": "import",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "import",
+ "start": 27,
+ "end": 33,
+ "loc": {
+ "start": {
+ "line": 2,
+ "column": 0
+ },
+ "end": {
+ "line": 2,
+ "column": 6
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "{",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 34,
+ "end": 35,
+ "loc": {
+ "start": {
+ "line": 2,
+ "column": 7
+ },
+ "end": {
+ "line": 2,
+ "column": 8
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "fieldPropTypes",
+ "start": 35,
+ "end": 49,
+ "loc": {
+ "start": {
+ "line": 2,
+ "column": 8
+ },
+ "end": {
+ "line": 2,
+ "column": 22
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "}",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 49,
+ "end": 50,
+ "loc": {
+ "start": {
+ "line": 2,
+ "column": 22
+ },
+ "end": {
+ "line": 2,
+ "column": 23
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "from",
+ "start": 51,
+ "end": 55,
+ "loc": {
+ "start": {
+ "line": 2,
+ "column": 24
+ },
+ "end": {
+ "line": 2,
+ "column": 28
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "string",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "../propTypes",
+ "start": 56,
+ "end": 70,
+ "loc": {
+ "start": {
+ "line": 2,
+ "column": 29
+ },
+ "end": {
+ "line": 2,
+ "column": 43
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ";",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 70,
+ "end": 71,
+ "loc": {
+ "start": {
+ "line": 2,
+ "column": 43
+ },
+ "end": {
+ "line": 2,
+ "column": 44
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "import",
+ "keyword": "import",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "import",
+ "start": 72,
+ "end": 78,
+ "loc": {
+ "start": {
+ "line": 3,
+ "column": 0
+ },
+ "end": {
+ "line": 3,
+ "column": 6
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "classNames",
+ "start": 79,
+ "end": 89,
+ "loc": {
+ "start": {
+ "line": 3,
+ "column": 7
+ },
+ "end": {
+ "line": 3,
+ "column": 17
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "from",
+ "start": 90,
+ "end": 94,
+ "loc": {
+ "start": {
+ "line": 3,
+ "column": 18
+ },
+ "end": {
+ "line": 3,
+ "column": 22
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "string",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "classnames",
+ "start": 95,
+ "end": 107,
+ "loc": {
+ "start": {
+ "line": 3,
+ "column": 23
+ },
+ "end": {
+ "line": 3,
+ "column": 35
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ";",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 107,
+ "end": 108,
+ "loc": {
+ "start": {
+ "line": 3,
+ "column": 35
+ },
+ "end": {
+ "line": 3,
+ "column": 36
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "import",
+ "keyword": "import",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "import",
+ "start": 109,
+ "end": 115,
+ "loc": {
+ "start": {
+ "line": 4,
+ "column": 0
+ },
+ "end": {
+ "line": 4,
+ "column": 6
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "{",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 116,
+ "end": 117,
+ "loc": {
+ "start": {
+ "line": 4,
+ "column": 7
+ },
+ "end": {
+ "line": 4,
+ "column": 8
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "RenderGroup",
+ "start": 117,
+ "end": 128,
+ "loc": {
+ "start": {
+ "line": 4,
+ "column": 8
+ },
+ "end": {
+ "line": 4,
+ "column": 19
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "}",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 128,
+ "end": 129,
+ "loc": {
+ "start": {
+ "line": 4,
+ "column": 19
+ },
+ "end": {
+ "line": 4,
+ "column": 20
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "from",
+ "start": 130,
+ "end": 134,
+ "loc": {
+ "start": {
+ "line": 4,
+ "column": 21
+ },
+ "end": {
+ "line": 4,
+ "column": 25
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "string",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "../../RenderGroup",
+ "start": 135,
+ "end": 154,
+ "loc": {
+ "start": {
+ "line": 4,
+ "column": 26
+ },
+ "end": {
+ "line": 4,
+ "column": 45
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ";",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 154,
+ "end": 155,
+ "loc": {
+ "start": {
+ "line": 4,
+ "column": 45
+ },
+ "end": {
+ "line": 4,
+ "column": 46
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "import",
+ "keyword": "import",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "import",
+ "start": 156,
+ "end": 162,
+ "loc": {
+ "start": {
+ "line": 5,
+ "column": 0
+ },
+ "end": {
+ "line": 5,
+ "column": 6
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "PropTypes",
+ "start": 163,
+ "end": 172,
+ "loc": {
+ "start": {
+ "line": 5,
+ "column": 7
+ },
+ "end": {
+ "line": 5,
+ "column": 16
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "from",
+ "start": 173,
+ "end": 177,
+ "loc": {
+ "start": {
+ "line": 5,
+ "column": 17
+ },
+ "end": {
+ "line": 5,
+ "column": 21
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "string",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "prop-types",
+ "start": 178,
+ "end": 190,
+ "loc": {
+ "start": {
+ "line": 5,
+ "column": 22
+ },
+ "end": {
+ "line": 5,
+ "column": 34
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ";",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 190,
+ "end": 191,
+ "loc": {
+ "start": {
+ "line": 5,
+ "column": 34
+ },
+ "end": {
+ "line": 5,
+ "column": 35
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "export",
+ "keyword": "export",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "export",
+ "start": 194,
+ "end": 200,
+ "loc": {
+ "start": {
+ "line": 8,
+ "column": 0
+ },
+ "end": {
+ "line": 8,
+ "column": 6
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "const",
+ "keyword": "const",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "const",
+ "start": 201,
+ "end": 206,
+ "loc": {
+ "start": {
+ "line": 8,
+ "column": 7
+ },
+ "end": {
+ "line": 8,
+ "column": 12
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "Button",
+ "start": 207,
+ "end": 213,
+ "loc": {
+ "start": {
+ "line": 8,
+ "column": 13
+ },
+ "end": {
+ "line": 8,
+ "column": 19
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "=",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": true,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "=",
+ "start": 214,
+ "end": 215,
+ "loc": {
+ "start": {
+ "line": 8,
+ "column": 20
+ },
+ "end": {
+ "line": 8,
+ "column": 21
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "(",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 216,
+ "end": 217,
+ "loc": {
+ "start": {
+ "line": 8,
+ "column": 22
+ },
+ "end": {
+ "line": 8,
+ "column": 23
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "props",
+ "start": 217,
+ "end": 222,
+ "loc": {
+ "start": {
+ "line": 8,
+ "column": 23
+ },
+ "end": {
+ "line": 8,
+ "column": 28
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ")",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 222,
+ "end": 223,
+ "loc": {
+ "start": {
+ "line": 8,
+ "column": 28
+ },
+ "end": {
+ "line": 8,
+ "column": 29
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "=>",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 224,
+ "end": 226,
+ "loc": {
+ "start": {
+ "line": 8,
+ "column": 30
+ },
+ "end": {
+ "line": 8,
+ "column": 32
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "{",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 227,
+ "end": 228,
+ "loc": {
+ "start": {
+ "line": 8,
+ "column": 33
+ },
+ "end": {
+ "line": 8,
+ "column": 34
+ }
+ }
+ },
+ {
+ "type": "CommentBlock",
+ "value": "*\n\t * Get the className prop for inputs\n\t *\n\t * @return {String}\n\t ",
+ "start": 230,
+ "end": 301,
+ "loc": {
+ "start": {
+ "line": 9,
+ "column": 1
+ },
+ "end": {
+ "line": 13,
+ "column": 4
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "function",
+ "keyword": "function",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "function",
+ "start": 303,
+ "end": 311,
+ "loc": {
+ "start": {
+ "line": 14,
+ "column": 1
+ },
+ "end": {
+ "line": 14,
+ "column": 9
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "inputClassName",
+ "start": 312,
+ "end": 326,
+ "loc": {
+ "start": {
+ "line": 14,
+ "column": 10
+ },
+ "end": {
+ "line": 14,
+ "column": 24
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "(",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 326,
+ "end": 327,
+ "loc": {
+ "start": {
+ "line": 14,
+ "column": 24
+ },
+ "end": {
+ "line": 14,
+ "column": 25
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ")",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 327,
+ "end": 328,
+ "loc": {
+ "start": {
+ "line": 14,
+ "column": 25
+ },
+ "end": {
+ "line": 14,
+ "column": 26
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "{",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 329,
+ "end": 330,
+ "loc": {
+ "start": {
+ "line": 14,
+ "column": 27
+ },
+ "end": {
+ "line": 14,
+ "column": 28
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "return",
+ "keyword": "return",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "return",
+ "start": 333,
+ "end": 339,
+ "loc": {
+ "start": {
+ "line": 15,
+ "column": 2
+ },
+ "end": {
+ "line": 15,
+ "column": 8
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "classNames",
+ "start": 340,
+ "end": 350,
+ "loc": {
+ "start": {
+ "line": 15,
+ "column": 9
+ },
+ "end": {
+ "line": 15,
+ "column": 19
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "(",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 350,
+ "end": 351,
+ "loc": {
+ "start": {
+ "line": 15,
+ "column": 19
+ },
+ "end": {
+ "line": 15,
+ "column": 20
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "props",
+ "start": 355,
+ "end": 360,
+ "loc": {
+ "start": {
+ "line": 16,
+ "column": 3
+ },
+ "end": {
+ "line": 16,
+ "column": 8
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 360,
+ "end": 361,
+ "loc": {
+ "start": {
+ "line": 16,
+ "column": 8
+ },
+ "end": {
+ "line": 16,
+ "column": 9
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "fieldClassName",
+ "start": 361,
+ "end": 375,
+ "loc": {
+ "start": {
+ "line": 16,
+ "column": 9
+ },
+ "end": {
+ "line": 16,
+ "column": 23
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ",",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 375,
+ "end": 376,
+ "loc": {
+ "start": {
+ "line": 16,
+ "column": 23
+ },
+ "end": {
+ "line": 16,
+ "column": 24
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "RenderGroup",
+ "start": 380,
+ "end": 391,
+ "loc": {
+ "start": {
+ "line": 17,
+ "column": 3
+ },
+ "end": {
+ "line": 17,
+ "column": 14
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 391,
+ "end": 392,
+ "loc": {
+ "start": {
+ "line": 17,
+ "column": 14
+ },
+ "end": {
+ "line": 17,
+ "column": 15
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "classNames",
+ "start": 392,
+ "end": 402,
+ "loc": {
+ "start": {
+ "line": 17,
+ "column": 15
+ },
+ "end": {
+ "line": 17,
+ "column": 25
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 402,
+ "end": 403,
+ "loc": {
+ "start": {
+ "line": 17,
+ "column": 25
+ },
+ "end": {
+ "line": 17,
+ "column": 26
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "input",
+ "start": 403,
+ "end": 408,
+ "loc": {
+ "start": {
+ "line": 17,
+ "column": 26
+ },
+ "end": {
+ "line": 17,
+ "column": 31
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ",",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 408,
+ "end": 409,
+ "loc": {
+ "start": {
+ "line": 17,
+ "column": 31
+ },
+ "end": {
+ "line": 17,
+ "column": 32
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "RenderGroup",
+ "start": 413,
+ "end": 424,
+ "loc": {
+ "start": {
+ "line": 18,
+ "column": 3
+ },
+ "end": {
+ "line": 18,
+ "column": 14
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 424,
+ "end": 425,
+ "loc": {
+ "start": {
+ "line": 18,
+ "column": 14
+ },
+ "end": {
+ "line": 18,
+ "column": 15
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "classNames",
+ "start": 425,
+ "end": 435,
+ "loc": {
+ "start": {
+ "line": 18,
+ "column": 15
+ },
+ "end": {
+ "line": 18,
+ "column": 25
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 435,
+ "end": 436,
+ "loc": {
+ "start": {
+ "line": 18,
+ "column": 25
+ },
+ "end": {
+ "line": 18,
+ "column": 26
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "button",
+ "start": 436,
+ "end": 442,
+ "loc": {
+ "start": {
+ "line": 18,
+ "column": 26
+ },
+ "end": {
+ "line": 18,
+ "column": 32
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ")",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 445,
+ "end": 446,
+ "loc": {
+ "start": {
+ "line": 19,
+ "column": 2
+ },
+ "end": {
+ "line": 19,
+ "column": 3
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ";",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 446,
+ "end": 447,
+ "loc": {
+ "start": {
+ "line": 19,
+ "column": 3
+ },
+ "end": {
+ "line": 19,
+ "column": 4
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "}",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 449,
+ "end": 450,
+ "loc": {
+ "start": {
+ "line": 20,
+ "column": 1
+ },
+ "end": {
+ "line": 20,
+ "column": 2
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "if",
+ "keyword": "if",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "if",
+ "start": 453,
+ "end": 455,
+ "loc": {
+ "start": {
+ "line": 22,
+ "column": 1
+ },
+ "end": {
+ "line": 22,
+ "column": 3
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "(",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 456,
+ "end": 457,
+ "loc": {
+ "start": {
+ "line": 22,
+ "column": 4
+ },
+ "end": {
+ "line": 22,
+ "column": 5
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "string",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "submit",
+ "start": 457,
+ "end": 465,
+ "loc": {
+ "start": {
+ "line": 22,
+ "column": 5
+ },
+ "end": {
+ "line": 22,
+ "column": 13
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "==/!=",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": 6,
+ "updateContext": null
+ },
+ "value": "===",
+ "start": 466,
+ "end": 469,
+ "loc": {
+ "start": {
+ "line": 22,
+ "column": 14
+ },
+ "end": {
+ "line": 22,
+ "column": 17
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "props",
+ "start": 470,
+ "end": 475,
+ "loc": {
+ "start": {
+ "line": 22,
+ "column": 18
+ },
+ "end": {
+ "line": 22,
+ "column": 23
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 475,
+ "end": 476,
+ "loc": {
+ "start": {
+ "line": 22,
+ "column": 23
+ },
+ "end": {
+ "line": 22,
+ "column": 24
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "inputType",
+ "start": 476,
+ "end": 485,
+ "loc": {
+ "start": {
+ "line": 22,
+ "column": 24
+ },
+ "end": {
+ "line": 22,
+ "column": 33
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ")",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 485,
+ "end": 486,
+ "loc": {
+ "start": {
+ "line": 22,
+ "column": 33
+ },
+ "end": {
+ "line": 22,
+ "column": 34
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "{",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 487,
+ "end": 488,
+ "loc": {
+ "start": {
+ "line": 22,
+ "column": 35
+ },
+ "end": {
+ "line": 22,
+ "column": 36
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "return",
+ "keyword": "return",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "return",
+ "start": 491,
+ "end": 497,
+ "loc": {
+ "start": {
+ "line": 23,
+ "column": 2
+ },
+ "end": {
+ "line": 23,
+ "column": 8
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "(",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 498,
+ "end": 499,
+ "loc": {
+ "start": {
+ "line": 23,
+ "column": 9
+ },
+ "end": {
+ "line": 23,
+ "column": 10
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "jsxTagStart",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 503,
+ "end": 504,
+ "loc": {
+ "start": {
+ "line": 24,
+ "column": 3
+ },
+ "end": {
+ "line": 24,
+ "column": 4
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "jsxName",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "input",
+ "start": 504,
+ "end": 509,
+ "loc": {
+ "start": {
+ "line": 24,
+ "column": 4
+ },
+ "end": {
+ "line": 24,
+ "column": 9
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "jsxName",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "type",
+ "start": 514,
+ "end": 518,
+ "loc": {
+ "start": {
+ "line": 25,
+ "column": 4
+ },
+ "end": {
+ "line": 25,
+ "column": 8
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "=",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": true,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "=",
+ "start": 518,
+ "end": 519,
+ "loc": {
+ "start": {
+ "line": 25,
+ "column": 8
+ },
+ "end": {
+ "line": 25,
+ "column": 9
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "{",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 519,
+ "end": 520,
+ "loc": {
+ "start": {
+ "line": 25,
+ "column": 9
+ },
+ "end": {
+ "line": 25,
+ "column": 10
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "string",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "submit",
+ "start": 520,
+ "end": 528,
+ "loc": {
+ "start": {
+ "line": 25,
+ "column": 10
+ },
+ "end": {
+ "line": 25,
+ "column": 18
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "}",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 528,
+ "end": 529,
+ "loc": {
+ "start": {
+ "line": 25,
+ "column": 18
+ },
+ "end": {
+ "line": 25,
+ "column": 19
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "jsxName",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "id",
+ "start": 534,
+ "end": 536,
+ "loc": {
+ "start": {
+ "line": 26,
+ "column": 4
+ },
+ "end": {
+ "line": 26,
+ "column": 6
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "=",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": true,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "=",
+ "start": 536,
+ "end": 537,
+ "loc": {
+ "start": {
+ "line": 26,
+ "column": 6
+ },
+ "end": {
+ "line": 26,
+ "column": 7
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "{",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 537,
+ "end": 538,
+ "loc": {
+ "start": {
+ "line": 26,
+ "column": 7
+ },
+ "end": {
+ "line": 26,
+ "column": 8
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "props",
+ "start": 538,
+ "end": 543,
+ "loc": {
+ "start": {
+ "line": 26,
+ "column": 8
+ },
+ "end": {
+ "line": 26,
+ "column": 13
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 543,
+ "end": 544,
+ "loc": {
+ "start": {
+ "line": 26,
+ "column": 13
+ },
+ "end": {
+ "line": 26,
+ "column": 14
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "id",
+ "start": 544,
+ "end": 546,
+ "loc": {
+ "start": {
+ "line": 26,
+ "column": 14
+ },
+ "end": {
+ "line": 26,
+ "column": 16
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "}",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 546,
+ "end": 547,
+ "loc": {
+ "start": {
+ "line": 26,
+ "column": 16
+ },
+ "end": {
+ "line": 26,
+ "column": 17
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "jsxName",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "className",
+ "start": 552,
+ "end": 561,
+ "loc": {
+ "start": {
+ "line": 27,
+ "column": 4
+ },
+ "end": {
+ "line": 27,
+ "column": 13
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "=",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": true,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "=",
+ "start": 561,
+ "end": 562,
+ "loc": {
+ "start": {
+ "line": 27,
+ "column": 13
+ },
+ "end": {
+ "line": 27,
+ "column": 14
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "{",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 562,
+ "end": 563,
+ "loc": {
+ "start": {
+ "line": 27,
+ "column": 14
+ },
+ "end": {
+ "line": 27,
+ "column": 15
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "inputClassName",
+ "start": 563,
+ "end": 577,
+ "loc": {
+ "start": {
+ "line": 27,
+ "column": 15
+ },
+ "end": {
+ "line": 27,
+ "column": 29
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "(",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 577,
+ "end": 578,
+ "loc": {
+ "start": {
+ "line": 27,
+ "column": 29
+ },
+ "end": {
+ "line": 27,
+ "column": 30
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ")",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 578,
+ "end": 579,
+ "loc": {
+ "start": {
+ "line": 27,
+ "column": 30
+ },
+ "end": {
+ "line": 27,
+ "column": 31
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "}",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 579,
+ "end": 580,
+ "loc": {
+ "start": {
+ "line": 27,
+ "column": 31
+ },
+ "end": {
+ "line": 27,
+ "column": 32
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "jsxName",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "aria-describedby",
+ "start": 585,
+ "end": 601,
+ "loc": {
+ "start": {
+ "line": 28,
+ "column": 4
+ },
+ "end": {
+ "line": 28,
+ "column": 20
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "=",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": true,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "=",
+ "start": 601,
+ "end": 602,
+ "loc": {
+ "start": {
+ "line": 28,
+ "column": 20
+ },
+ "end": {
+ "line": 28,
+ "column": 21
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "{",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 602,
+ "end": 603,
+ "loc": {
+ "start": {
+ "line": 28,
+ "column": 21
+ },
+ "end": {
+ "line": 28,
+ "column": 22
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "props",
+ "start": 603,
+ "end": 608,
+ "loc": {
+ "start": {
+ "line": 28,
+ "column": 22
+ },
+ "end": {
+ "line": 28,
+ "column": 27
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 608,
+ "end": 609,
+ "loc": {
+ "start": {
+ "line": 28,
+ "column": 27
+ },
+ "end": {
+ "line": 28,
+ "column": 28
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "ariaDescribedbyAttr",
+ "start": 609,
+ "end": 628,
+ "loc": {
+ "start": {
+ "line": 28,
+ "column": 28
+ },
+ "end": {
+ "line": 28,
+ "column": 47
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "}",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 628,
+ "end": 629,
+ "loc": {
+ "start": {
+ "line": 28,
+ "column": 47
+ },
+ "end": {
+ "line": 28,
+ "column": 48
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "jsxName",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "required",
+ "start": 634,
+ "end": 642,
+ "loc": {
+ "start": {
+ "line": 29,
+ "column": 4
+ },
+ "end": {
+ "line": 29,
+ "column": 12
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "=",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": true,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "=",
+ "start": 642,
+ "end": 643,
+ "loc": {
+ "start": {
+ "line": 29,
+ "column": 12
+ },
+ "end": {
+ "line": 29,
+ "column": 13
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "{",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 643,
+ "end": 644,
+ "loc": {
+ "start": {
+ "line": 29,
+ "column": 13
+ },
+ "end": {
+ "line": 29,
+ "column": 14
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "props",
+ "start": 644,
+ "end": 649,
+ "loc": {
+ "start": {
+ "line": 29,
+ "column": 14
+ },
+ "end": {
+ "line": 29,
+ "column": 19
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 649,
+ "end": 650,
+ "loc": {
+ "start": {
+ "line": 29,
+ "column": 19
+ },
+ "end": {
+ "line": 29,
+ "column": 20
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "isRequired",
+ "start": 650,
+ "end": 660,
+ "loc": {
+ "start": {
+ "line": 29,
+ "column": 20
+ },
+ "end": {
+ "line": 29,
+ "column": 30
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "}",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 660,
+ "end": 661,
+ "loc": {
+ "start": {
+ "line": 29,
+ "column": 30
+ },
+ "end": {
+ "line": 29,
+ "column": 31
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "jsxName",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "onClick",
+ "start": 666,
+ "end": 673,
+ "loc": {
+ "start": {
+ "line": 30,
+ "column": 4
+ },
+ "end": {
+ "line": 30,
+ "column": 11
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "=",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": true,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "=",
+ "start": 673,
+ "end": 674,
+ "loc": {
+ "start": {
+ "line": 30,
+ "column": 11
+ },
+ "end": {
+ "line": 30,
+ "column": 12
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "{",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 674,
+ "end": 675,
+ "loc": {
+ "start": {
+ "line": 30,
+ "column": 12
+ },
+ "end": {
+ "line": 30,
+ "column": 13
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "props",
+ "start": 675,
+ "end": 680,
+ "loc": {
+ "start": {
+ "line": 30,
+ "column": 13
+ },
+ "end": {
+ "line": 30,
+ "column": 18
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 680,
+ "end": 681,
+ "loc": {
+ "start": {
+ "line": 30,
+ "column": 18
+ },
+ "end": {
+ "line": 30,
+ "column": 19
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "onClick",
+ "start": 681,
+ "end": 688,
+ "loc": {
+ "start": {
+ "line": 30,
+ "column": 19
+ },
+ "end": {
+ "line": 30,
+ "column": 26
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "}",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 688,
+ "end": 689,
+ "loc": {
+ "start": {
+ "line": 30,
+ "column": 26
+ },
+ "end": {
+ "line": 30,
+ "column": 27
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "jsxName",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "value",
+ "start": 694,
+ "end": 699,
+ "loc": {
+ "start": {
+ "line": 31,
+ "column": 4
+ },
+ "end": {
+ "line": 31,
+ "column": 9
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "=",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": true,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "=",
+ "start": 699,
+ "end": 700,
+ "loc": {
+ "start": {
+ "line": 31,
+ "column": 9
+ },
+ "end": {
+ "line": 31,
+ "column": 10
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "{",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 700,
+ "end": 701,
+ "loc": {
+ "start": {
+ "line": 31,
+ "column": 10
+ },
+ "end": {
+ "line": 31,
+ "column": 11
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "props",
+ "start": 701,
+ "end": 706,
+ "loc": {
+ "start": {
+ "line": 31,
+ "column": 11
+ },
+ "end": {
+ "line": 31,
+ "column": 16
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 706,
+ "end": 707,
+ "loc": {
+ "start": {
+ "line": 31,
+ "column": 16
+ },
+ "end": {
+ "line": 31,
+ "column": 17
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "value",
+ "start": 707,
+ "end": 712,
+ "loc": {
+ "start": {
+ "line": 31,
+ "column": 17
+ },
+ "end": {
+ "line": 31,
+ "column": 22
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "}",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 712,
+ "end": 713,
+ "loc": {
+ "start": {
+ "line": 31,
+ "column": 22
+ },
+ "end": {
+ "line": 31,
+ "column": 23
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "jsxName",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "disabled",
+ "start": 718,
+ "end": 726,
+ "loc": {
+ "start": {
+ "line": 32,
+ "column": 4
+ },
+ "end": {
+ "line": 32,
+ "column": 12
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "=",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": true,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "=",
+ "start": 726,
+ "end": 727,
+ "loc": {
+ "start": {
+ "line": 32,
+ "column": 12
+ },
+ "end": {
+ "line": 32,
+ "column": 13
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "{",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 727,
+ "end": 728,
+ "loc": {
+ "start": {
+ "line": 32,
+ "column": 13
+ },
+ "end": {
+ "line": 32,
+ "column": 14
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "props",
+ "start": 728,
+ "end": 733,
+ "loc": {
+ "start": {
+ "line": 32,
+ "column": 14
+ },
+ "end": {
+ "line": 32,
+ "column": 19
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 733,
+ "end": 734,
+ "loc": {
+ "start": {
+ "line": 32,
+ "column": 19
+ },
+ "end": {
+ "line": 32,
+ "column": 20
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "disabled",
+ "start": 734,
+ "end": 742,
+ "loc": {
+ "start": {
+ "line": 32,
+ "column": 20
+ },
+ "end": {
+ "line": 32,
+ "column": 28
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "}",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 742,
+ "end": 743,
+ "loc": {
+ "start": {
+ "line": 32,
+ "column": 28
+ },
+ "end": {
+ "line": 32,
+ "column": 29
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "jsxName",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "onBlur",
+ "start": 748,
+ "end": 754,
+ "loc": {
+ "start": {
+ "line": 33,
+ "column": 4
+ },
+ "end": {
+ "line": 33,
+ "column": 10
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "=",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": true,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "=",
+ "start": 754,
+ "end": 755,
+ "loc": {
+ "start": {
+ "line": 33,
+ "column": 10
+ },
+ "end": {
+ "line": 33,
+ "column": 11
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "{",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 755,
+ "end": 756,
+ "loc": {
+ "start": {
+ "line": 33,
+ "column": 11
+ },
+ "end": {
+ "line": 33,
+ "column": 12
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "props",
+ "start": 756,
+ "end": 761,
+ "loc": {
+ "start": {
+ "line": 33,
+ "column": 12
+ },
+ "end": {
+ "line": 33,
+ "column": 17
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 761,
+ "end": 762,
+ "loc": {
+ "start": {
+ "line": 33,
+ "column": 17
+ },
+ "end": {
+ "line": 33,
+ "column": 18
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "onBlur",
+ "start": 762,
+ "end": 768,
+ "loc": {
+ "start": {
+ "line": 33,
+ "column": 18
+ },
+ "end": {
+ "line": 33,
+ "column": 24
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "}",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 768,
+ "end": 769,
+ "loc": {
+ "start": {
+ "line": 33,
+ "column": 24
+ },
+ "end": {
+ "line": 33,
+ "column": 25
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "jsxName",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "onFocus",
+ "start": 774,
+ "end": 781,
+ "loc": {
+ "start": {
+ "line": 34,
+ "column": 4
+ },
+ "end": {
+ "line": 34,
+ "column": 11
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "=",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": true,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "=",
+ "start": 781,
+ "end": 782,
+ "loc": {
+ "start": {
+ "line": 34,
+ "column": 11
+ },
+ "end": {
+ "line": 34,
+ "column": 12
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "{",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 782,
+ "end": 783,
+ "loc": {
+ "start": {
+ "line": 34,
+ "column": 12
+ },
+ "end": {
+ "line": 34,
+ "column": 13
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "props",
+ "start": 783,
+ "end": 788,
+ "loc": {
+ "start": {
+ "line": 34,
+ "column": 13
+ },
+ "end": {
+ "line": 34,
+ "column": 18
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 788,
+ "end": 789,
+ "loc": {
+ "start": {
+ "line": 34,
+ "column": 18
+ },
+ "end": {
+ "line": 34,
+ "column": 19
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "onFocus",
+ "start": 789,
+ "end": 796,
+ "loc": {
+ "start": {
+ "line": 34,
+ "column": 19
+ },
+ "end": {
+ "line": 34,
+ "column": 26
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "}",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 796,
+ "end": 797,
+ "loc": {
+ "start": {
+ "line": 34,
+ "column": 26
+ },
+ "end": {
+ "line": 34,
+ "column": 27
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "/",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": 10,
+ "updateContext": null
+ },
+ "value": "/",
+ "start": 801,
+ "end": 802,
+ "loc": {
+ "start": {
+ "line": 35,
+ "column": 3
+ },
+ "end": {
+ "line": 35,
+ "column": 4
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "jsxTagEnd",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 802,
+ "end": 803,
+ "loc": {
+ "start": {
+ "line": 35,
+ "column": 4
+ },
+ "end": {
+ "line": 35,
+ "column": 5
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ")",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 806,
+ "end": 807,
+ "loc": {
+ "start": {
+ "line": 36,
+ "column": 2
+ },
+ "end": {
+ "line": 36,
+ "column": 3
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ";",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 807,
+ "end": 808,
+ "loc": {
+ "start": {
+ "line": 36,
+ "column": 3
+ },
+ "end": {
+ "line": 36,
+ "column": 4
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "}",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 810,
+ "end": 811,
+ "loc": {
+ "start": {
+ "line": 37,
+ "column": 1
+ },
+ "end": {
+ "line": 37,
+ "column": 2
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "return",
+ "keyword": "return",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "return",
+ "start": 814,
+ "end": 820,
+ "loc": {
+ "start": {
+ "line": 39,
+ "column": 1
+ },
+ "end": {
+ "line": 39,
+ "column": 7
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "(",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 821,
+ "end": 822,
+ "loc": {
+ "start": {
+ "line": 39,
+ "column": 8
+ },
+ "end": {
+ "line": 39,
+ "column": 9
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "jsxTagStart",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 825,
+ "end": 826,
+ "loc": {
+ "start": {
+ "line": 40,
+ "column": 2
+ },
+ "end": {
+ "line": 40,
+ "column": 3
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "jsxName",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "button",
+ "start": 826,
+ "end": 832,
+ "loc": {
+ "start": {
+ "line": 40,
+ "column": 3
+ },
+ "end": {
+ "line": 40,
+ "column": 9
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "jsxName",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "id",
+ "start": 836,
+ "end": 838,
+ "loc": {
+ "start": {
+ "line": 41,
+ "column": 3
+ },
+ "end": {
+ "line": 41,
+ "column": 5
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "=",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": true,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "=",
+ "start": 838,
+ "end": 839,
+ "loc": {
+ "start": {
+ "line": 41,
+ "column": 5
+ },
+ "end": {
+ "line": 41,
+ "column": 6
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "{",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 839,
+ "end": 840,
+ "loc": {
+ "start": {
+ "line": 41,
+ "column": 6
+ },
+ "end": {
+ "line": 41,
+ "column": 7
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "props",
+ "start": 840,
+ "end": 845,
+ "loc": {
+ "start": {
+ "line": 41,
+ "column": 7
+ },
+ "end": {
+ "line": 41,
+ "column": 12
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 845,
+ "end": 846,
+ "loc": {
+ "start": {
+ "line": 41,
+ "column": 12
+ },
+ "end": {
+ "line": 41,
+ "column": 13
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "id",
+ "start": 846,
+ "end": 848,
+ "loc": {
+ "start": {
+ "line": 41,
+ "column": 13
+ },
+ "end": {
+ "line": 41,
+ "column": 15
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "}",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 848,
+ "end": 849,
+ "loc": {
+ "start": {
+ "line": 41,
+ "column": 15
+ },
+ "end": {
+ "line": 41,
+ "column": 16
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "jsxName",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "className",
+ "start": 853,
+ "end": 862,
+ "loc": {
+ "start": {
+ "line": 42,
+ "column": 3
+ },
+ "end": {
+ "line": 42,
+ "column": 12
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "=",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": true,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "=",
+ "start": 862,
+ "end": 863,
+ "loc": {
+ "start": {
+ "line": 42,
+ "column": 12
+ },
+ "end": {
+ "line": 42,
+ "column": 13
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "{",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 863,
+ "end": 864,
+ "loc": {
+ "start": {
+ "line": 42,
+ "column": 13
+ },
+ "end": {
+ "line": 42,
+ "column": 14
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "inputClassName",
+ "start": 864,
+ "end": 878,
+ "loc": {
+ "start": {
+ "line": 42,
+ "column": 14
+ },
+ "end": {
+ "line": 42,
+ "column": 28
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "(",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 878,
+ "end": 879,
+ "loc": {
+ "start": {
+ "line": 42,
+ "column": 28
+ },
+ "end": {
+ "line": 42,
+ "column": 29
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ")",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 879,
+ "end": 880,
+ "loc": {
+ "start": {
+ "line": 42,
+ "column": 29
+ },
+ "end": {
+ "line": 42,
+ "column": 30
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "}",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 880,
+ "end": 881,
+ "loc": {
+ "start": {
+ "line": 42,
+ "column": 30
+ },
+ "end": {
+ "line": 42,
+ "column": 31
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "jsxName",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "aria-describedby",
+ "start": 885,
+ "end": 901,
+ "loc": {
+ "start": {
+ "line": 43,
+ "column": 3
+ },
+ "end": {
+ "line": 43,
+ "column": 19
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "=",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": true,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "=",
+ "start": 901,
+ "end": 902,
+ "loc": {
+ "start": {
+ "line": 43,
+ "column": 19
+ },
+ "end": {
+ "line": 43,
+ "column": 20
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "{",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 902,
+ "end": 903,
+ "loc": {
+ "start": {
+ "line": 43,
+ "column": 20
+ },
+ "end": {
+ "line": 43,
+ "column": 21
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "props",
+ "start": 903,
+ "end": 908,
+ "loc": {
+ "start": {
+ "line": 43,
+ "column": 21
+ },
+ "end": {
+ "line": 43,
+ "column": 26
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 908,
+ "end": 909,
+ "loc": {
+ "start": {
+ "line": 43,
+ "column": 26
+ },
+ "end": {
+ "line": 43,
+ "column": 27
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "ariaDescribedbyAttr",
+ "start": 909,
+ "end": 928,
+ "loc": {
+ "start": {
+ "line": 43,
+ "column": 27
+ },
+ "end": {
+ "line": 43,
+ "column": 46
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "}",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 928,
+ "end": 929,
+ "loc": {
+ "start": {
+ "line": 43,
+ "column": 46
+ },
+ "end": {
+ "line": 43,
+ "column": 47
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "jsxName",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "onClick",
+ "start": 933,
+ "end": 940,
+ "loc": {
+ "start": {
+ "line": 44,
+ "column": 3
+ },
+ "end": {
+ "line": 44,
+ "column": 10
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "=",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": true,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "=",
+ "start": 940,
+ "end": 941,
+ "loc": {
+ "start": {
+ "line": 44,
+ "column": 10
+ },
+ "end": {
+ "line": 44,
+ "column": 11
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "{",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 941,
+ "end": 942,
+ "loc": {
+ "start": {
+ "line": 44,
+ "column": 11
+ },
+ "end": {
+ "line": 44,
+ "column": 12
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "props",
+ "start": 942,
+ "end": 947,
+ "loc": {
+ "start": {
+ "line": 44,
+ "column": 12
+ },
+ "end": {
+ "line": 44,
+ "column": 17
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 947,
+ "end": 948,
+ "loc": {
+ "start": {
+ "line": 44,
+ "column": 17
+ },
+ "end": {
+ "line": 44,
+ "column": 18
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "onClick",
+ "start": 948,
+ "end": 955,
+ "loc": {
+ "start": {
+ "line": 44,
+ "column": 18
+ },
+ "end": {
+ "line": 44,
+ "column": 25
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "}",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 955,
+ "end": 956,
+ "loc": {
+ "start": {
+ "line": 44,
+ "column": 25
+ },
+ "end": {
+ "line": 44,
+ "column": 26
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "jsxName",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "disabled",
+ "start": 960,
+ "end": 968,
+ "loc": {
+ "start": {
+ "line": 45,
+ "column": 3
+ },
+ "end": {
+ "line": 45,
+ "column": 11
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "=",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": true,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "=",
+ "start": 968,
+ "end": 969,
+ "loc": {
+ "start": {
+ "line": 45,
+ "column": 11
+ },
+ "end": {
+ "line": 45,
+ "column": 12
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "{",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 969,
+ "end": 970,
+ "loc": {
+ "start": {
+ "line": 45,
+ "column": 12
+ },
+ "end": {
+ "line": 45,
+ "column": 13
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "props",
+ "start": 970,
+ "end": 975,
+ "loc": {
+ "start": {
+ "line": 45,
+ "column": 13
+ },
+ "end": {
+ "line": 45,
+ "column": 18
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 975,
+ "end": 976,
+ "loc": {
+ "start": {
+ "line": 45,
+ "column": 18
+ },
+ "end": {
+ "line": 45,
+ "column": 19
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "disabled",
+ "start": 976,
+ "end": 984,
+ "loc": {
+ "start": {
+ "line": 45,
+ "column": 19
+ },
+ "end": {
+ "line": 45,
+ "column": 27
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "}",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 984,
+ "end": 985,
+ "loc": {
+ "start": {
+ "line": 45,
+ "column": 27
+ },
+ "end": {
+ "line": 45,
+ "column": 28
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "jsxName",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "onBlur",
+ "start": 989,
+ "end": 995,
+ "loc": {
+ "start": {
+ "line": 46,
+ "column": 3
+ },
+ "end": {
+ "line": 46,
+ "column": 9
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "=",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": true,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "=",
+ "start": 995,
+ "end": 996,
+ "loc": {
+ "start": {
+ "line": 46,
+ "column": 9
+ },
+ "end": {
+ "line": 46,
+ "column": 10
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "{",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 996,
+ "end": 997,
+ "loc": {
+ "start": {
+ "line": 46,
+ "column": 10
+ },
+ "end": {
+ "line": 46,
+ "column": 11
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "props",
+ "start": 997,
+ "end": 1002,
+ "loc": {
+ "start": {
+ "line": 46,
+ "column": 11
+ },
+ "end": {
+ "line": 46,
+ "column": 16
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 1002,
+ "end": 1003,
+ "loc": {
+ "start": {
+ "line": 46,
+ "column": 16
+ },
+ "end": {
+ "line": 46,
+ "column": 17
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "onBlur",
+ "start": 1003,
+ "end": 1009,
+ "loc": {
+ "start": {
+ "line": 46,
+ "column": 17
+ },
+ "end": {
+ "line": 46,
+ "column": 23
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "}",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 1009,
+ "end": 1010,
+ "loc": {
+ "start": {
+ "line": 46,
+ "column": 23
+ },
+ "end": {
+ "line": 46,
+ "column": 24
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "jsxName",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "onFocus",
+ "start": 1014,
+ "end": 1021,
+ "loc": {
+ "start": {
+ "line": 47,
+ "column": 3
+ },
+ "end": {
+ "line": 47,
+ "column": 10
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "=",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": true,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "=",
+ "start": 1021,
+ "end": 1022,
+ "loc": {
+ "start": {
+ "line": 47,
+ "column": 10
+ },
+ "end": {
+ "line": 47,
+ "column": 11
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "{",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 1022,
+ "end": 1023,
+ "loc": {
+ "start": {
+ "line": 47,
+ "column": 11
+ },
+ "end": {
+ "line": 47,
+ "column": 12
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "props",
+ "start": 1023,
+ "end": 1028,
+ "loc": {
+ "start": {
+ "line": 47,
+ "column": 12
+ },
+ "end": {
+ "line": 47,
+ "column": 17
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 1028,
+ "end": 1029,
+ "loc": {
+ "start": {
+ "line": 47,
+ "column": 17
+ },
+ "end": {
+ "line": 47,
+ "column": 18
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "onFocus",
+ "start": 1029,
+ "end": 1036,
+ "loc": {
+ "start": {
+ "line": 47,
+ "column": 18
+ },
+ "end": {
+ "line": 47,
+ "column": 25
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "}",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 1036,
+ "end": 1037,
+ "loc": {
+ "start": {
+ "line": 47,
+ "column": 25
+ },
+ "end": {
+ "line": 47,
+ "column": 26
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "jsxTagEnd",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 1040,
+ "end": 1041,
+ "loc": {
+ "start": {
+ "line": 48,
+ "column": 2
+ },
+ "end": {
+ "line": 48,
+ "column": 3
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "jsxText",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "\n\t\t\t",
+ "start": 1041,
+ "end": 1045,
+ "loc": {
+ "start": {
+ "line": 48,
+ "column": 3
+ },
+ "end": {
+ "line": 49,
+ "column": 3
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "{",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 1045,
+ "end": 1046,
+ "loc": {
+ "start": {
+ "line": 49,
+ "column": 3
+ },
+ "end": {
+ "line": 49,
+ "column": 4
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "props",
+ "start": 1046,
+ "end": 1051,
+ "loc": {
+ "start": {
+ "line": 49,
+ "column": 4
+ },
+ "end": {
+ "line": 49,
+ "column": 9
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 1051,
+ "end": 1052,
+ "loc": {
+ "start": {
+ "line": 49,
+ "column": 9
+ },
+ "end": {
+ "line": 49,
+ "column": 10
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "value",
+ "start": 1052,
+ "end": 1057,
+ "loc": {
+ "start": {
+ "line": 49,
+ "column": 10
+ },
+ "end": {
+ "line": 49,
+ "column": 15
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "}",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 1057,
+ "end": 1058,
+ "loc": {
+ "start": {
+ "line": 49,
+ "column": 15
+ },
+ "end": {
+ "line": 49,
+ "column": 16
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "jsxText",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "\n\t\t",
+ "start": 1058,
+ "end": 1061,
+ "loc": {
+ "start": {
+ "line": 49,
+ "column": 16
+ },
+ "end": {
+ "line": 50,
+ "column": 2
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "jsxTagStart",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 1061,
+ "end": 1062,
+ "loc": {
+ "start": {
+ "line": 50,
+ "column": 2
+ },
+ "end": {
+ "line": 50,
+ "column": 3
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "/",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": 10,
+ "updateContext": null
+ },
+ "value": "/",
+ "start": 1062,
+ "end": 1063,
+ "loc": {
+ "start": {
+ "line": 50,
+ "column": 3
+ },
+ "end": {
+ "line": 50,
+ "column": 4
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "jsxName",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "button",
+ "start": 1063,
+ "end": 1069,
+ "loc": {
+ "start": {
+ "line": 50,
+ "column": 4
+ },
+ "end": {
+ "line": 50,
+ "column": 10
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "jsxTagEnd",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 1069,
+ "end": 1070,
+ "loc": {
+ "start": {
+ "line": 50,
+ "column": 10
+ },
+ "end": {
+ "line": 50,
+ "column": 11
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ")",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 1072,
+ "end": 1073,
+ "loc": {
+ "start": {
+ "line": 51,
+ "column": 1
+ },
+ "end": {
+ "line": 51,
+ "column": 2
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ";",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 1073,
+ "end": 1074,
+ "loc": {
+ "start": {
+ "line": 51,
+ "column": 2
+ },
+ "end": {
+ "line": 51,
+ "column": 3
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "}",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 1075,
+ "end": 1076,
+ "loc": {
+ "start": {
+ "line": 52,
+ "column": 0
+ },
+ "end": {
+ "line": 52,
+ "column": 1
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ";",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 1076,
+ "end": 1077,
+ "loc": {
+ "start": {
+ "line": 52,
+ "column": 1
+ },
+ "end": {
+ "line": 52,
+ "column": 2
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "let",
+ "keyword": "let",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "let",
+ "start": 1079,
+ "end": 1082,
+ "loc": {
+ "start": {
+ "line": 54,
+ "column": 0
+ },
+ "end": {
+ "line": 54,
+ "column": 3
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "propTypes",
+ "start": 1083,
+ "end": 1092,
+ "loc": {
+ "start": {
+ "line": 54,
+ "column": 4
+ },
+ "end": {
+ "line": 54,
+ "column": 13
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "=",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": true,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "=",
+ "start": 1093,
+ "end": 1094,
+ "loc": {
+ "start": {
+ "line": 54,
+ "column": 14
+ },
+ "end": {
+ "line": 54,
+ "column": 15
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "fieldPropTypes",
+ "start": 1095,
+ "end": 1109,
+ "loc": {
+ "start": {
+ "line": 54,
+ "column": 16
+ },
+ "end": {
+ "line": 54,
+ "column": 30
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ";",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 1109,
+ "end": 1110,
+ "loc": {
+ "start": {
+ "line": 54,
+ "column": 30
+ },
+ "end": {
+ "line": 54,
+ "column": 31
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "delete",
+ "keyword": "delete",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": true,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "delete",
+ "start": 1111,
+ "end": 1117,
+ "loc": {
+ "start": {
+ "line": 55,
+ "column": 0
+ },
+ "end": {
+ "line": 55,
+ "column": 6
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "fieldPropTypes",
+ "start": 1118,
+ "end": 1132,
+ "loc": {
+ "start": {
+ "line": 55,
+ "column": 7
+ },
+ "end": {
+ "line": 55,
+ "column": 21
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 1132,
+ "end": 1133,
+ "loc": {
+ "start": {
+ "line": 55,
+ "column": 21
+ },
+ "end": {
+ "line": 55,
+ "column": 22
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "onValueChange",
+ "start": 1133,
+ "end": 1146,
+ "loc": {
+ "start": {
+ "line": 55,
+ "column": 22
+ },
+ "end": {
+ "line": 55,
+ "column": 35
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ";",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 1146,
+ "end": 1147,
+ "loc": {
+ "start": {
+ "line": 55,
+ "column": 35
+ },
+ "end": {
+ "line": 55,
+ "column": 36
+ }
+ }
+ },
+ {
+ "type": "CommentBlock",
+ "value": "*\n * Prop type definitions for Button Component\n * @type {{id: (*), fieldClassName: (*), help: shim, value: shim, onValueChange: (*), inputType: shim, onClick: *}}\n ",
+ "start": 1149,
+ "end": 1318,
+ "loc": {
+ "start": {
+ "line": 57,
+ "column": 0
+ },
+ "end": {
+ "line": 60,
+ "column": 3
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "Button",
+ "start": 1319,
+ "end": 1325,
+ "loc": {
+ "start": {
+ "line": 61,
+ "column": 0
+ },
+ "end": {
+ "line": 61,
+ "column": 6
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 1325,
+ "end": 1326,
+ "loc": {
+ "start": {
+ "line": 61,
+ "column": 6
+ },
+ "end": {
+ "line": 61,
+ "column": 7
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "propTypes",
+ "start": 1326,
+ "end": 1335,
+ "loc": {
+ "start": {
+ "line": 61,
+ "column": 7
+ },
+ "end": {
+ "line": 61,
+ "column": 16
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "=",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": true,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "=",
+ "start": 1336,
+ "end": 1337,
+ "loc": {
+ "start": {
+ "line": 61,
+ "column": 17
+ },
+ "end": {
+ "line": 61,
+ "column": 18
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "{",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 1338,
+ "end": 1339,
+ "loc": {
+ "start": {
+ "line": 61,
+ "column": 19
+ },
+ "end": {
+ "line": 61,
+ "column": 20
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "...",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 1341,
+ "end": 1344,
+ "loc": {
+ "start": {
+ "line": 62,
+ "column": 1
+ },
+ "end": {
+ "line": 62,
+ "column": 4
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "propTypes",
+ "start": 1344,
+ "end": 1353,
+ "loc": {
+ "start": {
+ "line": 62,
+ "column": 4
+ },
+ "end": {
+ "line": 62,
+ "column": 13
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ",",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 1353,
+ "end": 1354,
+ "loc": {
+ "start": {
+ "line": 62,
+ "column": 13
+ },
+ "end": {
+ "line": 62,
+ "column": 14
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "innerType",
+ "start": 1356,
+ "end": 1365,
+ "loc": {
+ "start": {
+ "line": 63,
+ "column": 1
+ },
+ "end": {
+ "line": 63,
+ "column": 10
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ":",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 1365,
+ "end": 1366,
+ "loc": {
+ "start": {
+ "line": 63,
+ "column": 10
+ },
+ "end": {
+ "line": 63,
+ "column": 11
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "PropTypes",
+ "start": 1367,
+ "end": 1376,
+ "loc": {
+ "start": {
+ "line": 63,
+ "column": 12
+ },
+ "end": {
+ "line": 63,
+ "column": 21
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 1376,
+ "end": 1377,
+ "loc": {
+ "start": {
+ "line": 63,
+ "column": 21
+ },
+ "end": {
+ "line": 63,
+ "column": 22
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "oneOf",
+ "start": 1377,
+ "end": 1382,
+ "loc": {
+ "start": {
+ "line": 63,
+ "column": 22
+ },
+ "end": {
+ "line": 63,
+ "column": 27
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "(",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 1382,
+ "end": 1383,
+ "loc": {
+ "start": {
+ "line": 63,
+ "column": 27
+ },
+ "end": {
+ "line": 63,
+ "column": 28
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "[",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 1383,
+ "end": 1384,
+ "loc": {
+ "start": {
+ "line": 63,
+ "column": 28
+ },
+ "end": {
+ "line": 63,
+ "column": 29
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "string",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "submit",
+ "start": 1384,
+ "end": 1392,
+ "loc": {
+ "start": {
+ "line": 63,
+ "column": 29
+ },
+ "end": {
+ "line": 63,
+ "column": 37
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ",",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 1392,
+ "end": 1393,
+ "loc": {
+ "start": {
+ "line": 63,
+ "column": 37
+ },
+ "end": {
+ "line": 63,
+ "column": 38
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "string",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "button",
+ "start": 1393,
+ "end": 1401,
+ "loc": {
+ "start": {
+ "line": 63,
+ "column": 38
+ },
+ "end": {
+ "line": 63,
+ "column": 46
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "]",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 1401,
+ "end": 1402,
+ "loc": {
+ "start": {
+ "line": 63,
+ "column": 46
+ },
+ "end": {
+ "line": 63,
+ "column": 47
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ")",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 1403,
+ "end": 1404,
+ "loc": {
+ "start": {
+ "line": 63,
+ "column": 48
+ },
+ "end": {
+ "line": 63,
+ "column": 49
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ",",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 1404,
+ "end": 1405,
+ "loc": {
+ "start": {
+ "line": 63,
+ "column": 49
+ },
+ "end": {
+ "line": 63,
+ "column": 50
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "onClick",
+ "start": 1407,
+ "end": 1414,
+ "loc": {
+ "start": {
+ "line": 64,
+ "column": 1
+ },
+ "end": {
+ "line": 64,
+ "column": 8
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ":",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 1414,
+ "end": 1415,
+ "loc": {
+ "start": {
+ "line": 64,
+ "column": 8
+ },
+ "end": {
+ "line": 64,
+ "column": 9
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "PropTypes",
+ "start": 1416,
+ "end": 1425,
+ "loc": {
+ "start": {
+ "line": 64,
+ "column": 10
+ },
+ "end": {
+ "line": 64,
+ "column": 19
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 1425,
+ "end": 1426,
+ "loc": {
+ "start": {
+ "line": 64,
+ "column": 19
+ },
+ "end": {
+ "line": 64,
+ "column": 20
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "func",
+ "start": 1426,
+ "end": 1430,
+ "loc": {
+ "start": {
+ "line": 64,
+ "column": 20
+ },
+ "end": {
+ "line": 64,
+ "column": 24
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 1430,
+ "end": 1431,
+ "loc": {
+ "start": {
+ "line": 64,
+ "column": 24
+ },
+ "end": {
+ "line": 64,
+ "column": 25
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "isRequired",
+ "start": 1431,
+ "end": 1441,
+ "loc": {
+ "start": {
+ "line": 64,
+ "column": 25
+ },
+ "end": {
+ "line": 64,
+ "column": 35
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ",",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 1441,
+ "end": 1442,
+ "loc": {
+ "start": {
+ "line": 64,
+ "column": 35
+ },
+ "end": {
+ "line": 64,
+ "column": 36
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "}",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 1443,
+ "end": 1444,
+ "loc": {
+ "start": {
+ "line": 65,
+ "column": 0
+ },
+ "end": {
+ "line": 65,
+ "column": 1
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ";",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 1444,
+ "end": 1445,
+ "loc": {
+ "start": {
+ "line": 65,
+ "column": 1
+ },
+ "end": {
+ "line": 65,
+ "column": 2
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "Button",
+ "start": 1447,
+ "end": 1453,
+ "loc": {
+ "start": {
+ "line": 67,
+ "column": 0
+ },
+ "end": {
+ "line": 67,
+ "column": 6
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 1453,
+ "end": 1454,
+ "loc": {
+ "start": {
+ "line": 67,
+ "column": 6
+ },
+ "end": {
+ "line": 67,
+ "column": 7
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "defaultProps",
+ "start": 1454,
+ "end": 1466,
+ "loc": {
+ "start": {
+ "line": 67,
+ "column": 7
+ },
+ "end": {
+ "line": 67,
+ "column": 19
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "=",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": true,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "=",
+ "start": 1467,
+ "end": 1468,
+ "loc": {
+ "start": {
+ "line": 67,
+ "column": 20
+ },
+ "end": {
+ "line": 67,
+ "column": 21
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "{",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 1469,
+ "end": 1470,
+ "loc": {
+ "start": {
+ "line": 67,
+ "column": 22
+ },
+ "end": {
+ "line": 67,
+ "column": 23
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "inputType",
+ "start": 1472,
+ "end": 1481,
+ "loc": {
+ "start": {
+ "line": 68,
+ "column": 1
+ },
+ "end": {
+ "line": 68,
+ "column": 10
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ":",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 1481,
+ "end": 1482,
+ "loc": {
+ "start": {
+ "line": 68,
+ "column": 10
+ },
+ "end": {
+ "line": 68,
+ "column": 11
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "string",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "submit",
+ "start": 1483,
+ "end": 1491,
+ "loc": {
+ "start": {
+ "line": 68,
+ "column": 12
+ },
+ "end": {
+ "line": 68,
+ "column": 20
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "}",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 1492,
+ "end": 1493,
+ "loc": {
+ "start": {
+ "line": 69,
+ "column": 0
+ },
+ "end": {
+ "line": 69,
+ "column": 1
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "eof",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 1493,
+ "end": 1493,
+ "loc": {
+ "start": {
+ "line": 69,
+ "column": 1
+ },
+ "end": {
+ "line": 69,
+ "column": 1
+ }
+ }
+ }
+ ]
+}
\ No newline at end of file
diff --git a/docs/ast/source/components/fields/factories/prepareFieldConfig.js.json b/docs/ast/source/components/fields/factories/prepareFieldConfig.js.json
index 192f5fb..7ccc1a6 100644
--- a/docs/ast/source/components/fields/factories/prepareFieldConfig.js.json
+++ b/docs/ast/source/components/fields/factories/prepareFieldConfig.js.json
@@ -1,28 +1,28 @@
{
"type": "File",
"start": 0,
- "end": 1864,
+ "end": 2127,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
- "line": 65,
+ "line": 79,
"column": 2
}
},
"program": {
"type": "Program",
"start": 0,
- "end": 1864,
+ "end": 2127,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
- "line": 65,
+ "line": 79,
"column": 2
}
},
@@ -31,7 +31,7 @@
{
"type": "ImportDeclaration",
"start": 0,
- "end": 69,
+ "end": 70,
"loc": {
"start": {
"line": 1,
@@ -39,7 +39,7 @@
},
"end": {
"line": 1,
- "column": 69
+ "column": 70
}
},
"specifiers": [
@@ -94,30 +94,30 @@
},
{
"type": "ImportSpecifier",
- "start": 28,
- "end": 47,
+ "start": 29,
+ "end": 48,
"loc": {
"start": {
"line": 1,
- "column": 28
+ "column": 29
},
"end": {
"line": 1,
- "column": 47
+ "column": 48
}
},
"imported": {
"type": "Identifier",
- "start": 28,
- "end": 47,
+ "start": 29,
+ "end": 48,
"loc": {
"start": {
"line": 1,
- "column": 28
+ "column": 29
},
"end": {
"line": 1,
- "column": 47
+ "column": 48
},
"identifierName": "magicGroupPropTypes"
},
@@ -125,16 +125,16 @@
},
"local": {
"type": "Identifier",
- "start": 28,
- "end": 47,
+ "start": 29,
+ "end": 48,
"loc": {
"start": {
"line": 1,
- "column": 28
+ "column": 29
},
"end": {
"line": 1,
- "column": 47
+ "column": 48
},
"identifierName": "magicGroupPropTypes"
},
@@ -144,16 +144,16 @@
],
"source": {
"type": "StringLiteral",
- "start": 54,
- "end": 68,
+ "start": 55,
+ "end": 69,
"loc": {
"start": {
"line": 1,
- "column": 54
+ "column": 55
},
"end": {
"line": 1,
- "column": 68
+ "column": 69
}
},
"extra": {
@@ -165,8 +165,8 @@
},
{
"type": "ImportDeclaration",
- "start": 70,
- "end": 122,
+ "start": 71,
+ "end": 123,
"loc": {
"start": {
"line": 2,
@@ -180,8 +180,8 @@
"specifiers": [
{
"type": "ImportSpecifier",
- "start": 78,
- "end": 94,
+ "start": 79,
+ "end": 95,
"loc": {
"start": {
"line": 2,
@@ -194,8 +194,8 @@
},
"imported": {
"type": "Identifier",
- "start": 78,
- "end": 94,
+ "start": 79,
+ "end": 95,
"loc": {
"start": {
"line": 2,
@@ -211,8 +211,8 @@
},
"local": {
"type": "Identifier",
- "start": 78,
- "end": 94,
+ "start": 79,
+ "end": 95,
"loc": {
"start": {
"line": 2,
@@ -229,8 +229,8 @@
},
{
"type": "ImportSpecifier",
- "start": 96,
- "end": 105,
+ "start": 97,
+ "end": 106,
"loc": {
"start": {
"line": 2,
@@ -243,8 +243,8 @@
},
"imported": {
"type": "Identifier",
- "start": 96,
- "end": 105,
+ "start": 97,
+ "end": 106,
"loc": {
"start": {
"line": 2,
@@ -260,8 +260,8 @@
},
"local": {
"type": "Identifier",
- "start": 96,
- "end": 105,
+ "start": 97,
+ "end": 106,
"loc": {
"start": {
"line": 2,
@@ -279,8 +279,8 @@
],
"source": {
"type": "StringLiteral",
- "start": 112,
- "end": 121,
+ "start": 113,
+ "end": 122,
"loc": {
"start": {
"line": 2,
@@ -300,8 +300,8 @@
},
{
"type": "ImportDeclaration",
- "start": 123,
- "end": 193,
+ "start": 124,
+ "end": 194,
"loc": {
"start": {
"line": 3,
@@ -315,8 +315,8 @@
"specifiers": [
{
"type": "ImportSpecifier",
- "start": 131,
- "end": 151,
+ "start": 132,
+ "end": 152,
"loc": {
"start": {
"line": 3,
@@ -329,8 +329,8 @@
},
"imported": {
"type": "Identifier",
- "start": 131,
- "end": 151,
+ "start": 132,
+ "end": 152,
"loc": {
"start": {
"line": 3,
@@ -346,8 +346,8 @@
},
"local": {
"type": "Identifier",
- "start": 131,
- "end": 151,
+ "start": 132,
+ "end": 152,
"loc": {
"start": {
"line": 3,
@@ -365,8 +365,8 @@
],
"source": {
"type": "StringLiteral",
- "start": 158,
- "end": 192,
+ "start": 159,
+ "end": 193,
"loc": {
"start": {
"line": 3,
@@ -387,8 +387,8 @@
{
"type": "CommentBlock",
"value": "*\n * Validates field configurations\n *\n * NOTE: This is called internally by factory. You probably do not want to call this.\n *\n * @param {Object}fieldArgs\n * @returns {*}\n ",
- "start": 195,
- "end": 372,
+ "start": 196,
+ "end": 373,
"loc": {
"start": {
"line": 5,
@@ -404,15 +404,15 @@
},
{
"type": "ExportNamedDeclaration",
- "start": 373,
- "end": 1864,
+ "start": 374,
+ "end": 2127,
"loc": {
"start": {
"line": 13,
"column": 0
},
"end": {
- "line": 65,
+ "line": 79,
"column": 2
}
},
@@ -420,37 +420,37 @@
"source": null,
"declaration": {
"type": "VariableDeclaration",
- "start": 380,
- "end": 1864,
+ "start": 381,
+ "end": 2127,
"loc": {
"start": {
"line": 13,
"column": 7
},
"end": {
- "line": 65,
+ "line": 79,
"column": 2
}
},
"declarations": [
{
"type": "VariableDeclarator",
- "start": 386,
- "end": 1863,
+ "start": 387,
+ "end": 2126,
"loc": {
"start": {
"line": 13,
"column": 13
},
"end": {
- "line": 65,
+ "line": 79,
"column": 1
}
},
"id": {
"type": "Identifier",
- "start": 386,
- "end": 404,
+ "start": 387,
+ "end": 405,
"loc": {
"start": {
"line": 13,
@@ -467,22 +467,22 @@
},
"init": {
"type": "ArrowFunctionExpression",
- "start": 407,
- "end": 1863,
+ "start": 408,
+ "end": 2126,
"loc": {
"start": {
"line": 13,
"column": 34
},
"end": {
- "line": 65,
+ "line": 79,
"column": 1
}
},
"id": {
"type": "Identifier",
- "start": 386,
- "end": 404,
+ "start": 387,
+ "end": 405,
"loc": {
"start": {
"line": 13,
@@ -503,8 +503,8 @@
"params": [
{
"type": "Identifier",
- "start": 408,
- "end": 417,
+ "start": 409,
+ "end": 418,
"loc": {
"start": {
"line": 13,
@@ -521,50 +521,49 @@
],
"body": {
"type": "BlockStatement",
- "start": 422,
- "end": 1863,
+ "start": 423,
+ "end": 2126,
"loc": {
"start": {
"line": 13,
"column": 49
},
"end": {
- "line": 65,
+ "line": 79,
"column": 1
}
},
"body": [
{
"type": "FunctionDeclaration",
- "start": 676,
- "end": 810,
+ "start": 426,
+ "end": 702,
"loc": {
"start": {
- "line": 23,
+ "line": 14,
"column": 1
},
"end": {
- "line": 26,
+ "line": 20,
"column": 2
}
},
"id": {
"type": "Identifier",
- "start": 685,
- "end": 689,
+ "start": 435,
+ "end": 448,
"loc": {
"start": {
- "line": 23,
+ "line": 14,
"column": 10
},
"end": {
- "line": 23,
- "column": 14
+ "line": 14,
+ "column": 23
},
- "identifierName": "pick"
+ "identifierName": "addMessageArg"
},
- "name": "pick",
- "leadingComments": null
+ "name": "addMessageArg"
},
"generator": false,
"expression": false,
@@ -572,1401 +571,1905 @@
"params": [
{
"type": "Identifier",
- "start": 690,
- "end": 693,
- "loc": {
- "start": {
- "line": 23,
- "column": 15
- },
- "end": {
- "line": 23,
- "column": 18
- },
- "identifierName": "obj"
- },
- "name": "obj"
- },
- {
- "type": "Identifier",
- "start": 695,
- "end": 699,
+ "start": 449,
+ "end": 458,
"loc": {
"start": {
- "line": 23,
- "column": 20
+ "line": 14,
+ "column": 24
},
"end": {
- "line": 23,
- "column": 24
+ "line": 14,
+ "column": 33
},
- "identifierName": "keys"
+ "identifierName": "fieldArgs"
},
- "name": "keys"
+ "name": "fieldArgs"
}
],
"body": {
"type": "BlockStatement",
- "start": 701,
- "end": 810,
+ "start": 460,
+ "end": 702,
"loc": {
"start": {
- "line": 23,
- "column": 26
+ "line": 14,
+ "column": 35
},
"end": {
- "line": 26,
+ "line": 20,
"column": 2
}
},
"body": [
{
- "type": "ReturnStatement",
- "start": 705,
- "end": 807,
+ "type": "ExpressionStatement",
+ "start": 464,
+ "end": 515,
"loc": {
"start": {
- "line": 24,
+ "line": 15,
"column": 2
},
"end": {
- "line": 25,
- "column": 50
+ "line": 15,
+ "column": 53
}
},
- "argument": {
- "type": "CallExpression",
- "start": 712,
- "end": 806,
+ "expression": {
+ "type": "AssignmentExpression",
+ "start": 464,
+ "end": 514,
"loc": {
"start": {
- "line": 24,
- "column": 9
+ "line": 15,
+ "column": 2
},
"end": {
- "line": 25,
- "column": 49
+ "line": 15,
+ "column": 52
}
},
- "callee": {
+ "operator": "=",
+ "left": {
"type": "MemberExpression",
- "start": 712,
- "end": 767,
+ "start": 464,
+ "end": 482,
"loc": {
"start": {
- "line": 24,
- "column": 9
+ "line": 15,
+ "column": 2
},
"end": {
- "line": 25,
- "column": 10
+ "line": 15,
+ "column": 20
}
},
"object": {
- "type": "CallExpression",
- "start": 712,
- "end": 756,
+ "type": "Identifier",
+ "start": 464,
+ "end": 473,
"loc": {
"start": {
- "line": 24,
- "column": 9
+ "line": 15,
+ "column": 2
},
"end": {
- "line": 24,
- "column": 53
- }
+ "line": 15,
+ "column": 11
+ },
+ "identifierName": "fieldArgs"
},
- "callee": {
+ "name": "fieldArgs"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 474,
+ "end": 482,
+ "loc": {
+ "start": {
+ "line": 15,
+ "column": 12
+ },
+ "end": {
+ "line": 15,
+ "column": 20
+ },
+ "identifierName": "disabled"
+ },
+ "name": "disabled"
+ },
+ "computed": false
+ },
+ "right": {
+ "type": "CallExpression",
+ "start": 485,
+ "end": 514,
+ "loc": {
+ "start": {
+ "line": 15,
+ "column": 23
+ },
+ "end": {
+ "line": 15,
+ "column": 52
+ }
+ },
+ "callee": {
+ "type": "Identifier",
+ "start": 485,
+ "end": 494,
+ "loc": {
+ "start": {
+ "line": 15,
+ "column": 23
+ },
+ "end": {
+ "line": 15,
+ "column": 32
+ },
+ "identifierName": "toBoolean"
+ },
+ "name": "toBoolean"
+ },
+ "arguments": [
+ {
"type": "MemberExpression",
- "start": 712,
- "end": 720,
+ "start": 495,
+ "end": 513,
"loc": {
"start": {
- "line": 24,
- "column": 9
+ "line": 15,
+ "column": 33
},
"end": {
- "line": 24,
- "column": 17
+ "line": 15,
+ "column": 51
}
},
"object": {
"type": "Identifier",
- "start": 712,
- "end": 716,
+ "start": 495,
+ "end": 504,
"loc": {
"start": {
- "line": 24,
- "column": 9
+ "line": 15,
+ "column": 33
},
"end": {
- "line": 24,
- "column": 13
+ "line": 15,
+ "column": 42
},
- "identifierName": "keys"
+ "identifierName": "fieldArgs"
},
- "name": "keys"
+ "name": "fieldArgs"
},
"property": {
"type": "Identifier",
- "start": 717,
- "end": 720,
+ "start": 505,
+ "end": 513,
"loc": {
"start": {
- "line": 24,
- "column": 14
+ "line": 15,
+ "column": 43
},
"end": {
- "line": 24,
- "column": 17
+ "line": 15,
+ "column": 51
},
- "identifierName": "map"
+ "identifierName": "disabled"
},
- "name": "map"
+ "name": "disabled"
},
"computed": false
+ }
+ ]
+ }
+ }
+ },
+ {
+ "type": "ExpressionStatement",
+ "start": 518,
+ "end": 679,
+ "loc": {
+ "start": {
+ "line": 16,
+ "column": 2
+ },
+ "end": {
+ "line": 18,
+ "column": 57
+ }
+ },
+ "expression": {
+ "type": "AssignmentExpression",
+ "start": 518,
+ "end": 678,
+ "loc": {
+ "start": {
+ "line": 16,
+ "column": 2
+ },
+ "end": {
+ "line": 18,
+ "column": 56
+ }
+ },
+ "operator": "=",
+ "left": {
+ "type": "MemberExpression",
+ "start": 518,
+ "end": 535,
+ "loc": {
+ "start": {
+ "line": 16,
+ "column": 2
},
- "arguments": [
- {
- "type": "ArrowFunctionExpression",
- "start": 721,
- "end": 755,
+ "end": {
+ "line": 16,
+ "column": 19
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 518,
+ "end": 527,
+ "loc": {
+ "start": {
+ "line": 16,
+ "column": 2
+ },
+ "end": {
+ "line": 16,
+ "column": 11
+ },
+ "identifierName": "fieldArgs"
+ },
+ "name": "fieldArgs"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 528,
+ "end": 535,
+ "loc": {
+ "start": {
+ "line": 16,
+ "column": 12
+ },
+ "end": {
+ "line": 16,
+ "column": 19
+ },
+ "identifierName": "message"
+ },
+ "name": "message"
+ },
+ "computed": false
+ },
+ "right": {
+ "type": "ConditionalExpression",
+ "start": 538,
+ "end": 678,
+ "loc": {
+ "start": {
+ "line": 16,
+ "column": 22
+ },
+ "end": {
+ "line": 18,
+ "column": 56
+ }
+ },
+ "test": {
+ "type": "BinaryExpression",
+ "start": 538,
+ "end": 576,
+ "loc": {
+ "start": {
+ "line": 16,
+ "column": 22
+ },
+ "end": {
+ "line": 16,
+ "column": 60
+ }
+ },
+ "left": {
+ "type": "StringLiteral",
+ "start": 538,
+ "end": 546,
+ "loc": {
+ "start": {
+ "line": 16,
+ "column": 22
+ },
+ "end": {
+ "line": 16,
+ "column": 30
+ }
+ },
+ "extra": {
+ "rawValue": "object",
+ "raw": "'object'"
+ },
+ "value": "object"
+ },
+ "operator": "===",
+ "right": {
+ "type": "UnaryExpression",
+ "start": 551,
+ "end": 576,
+ "loc": {
+ "start": {
+ "line": 16,
+ "column": 35
+ },
+ "end": {
+ "line": 16,
+ "column": 60
+ }
+ },
+ "operator": "typeof",
+ "prefix": true,
+ "argument": {
+ "type": "MemberExpression",
+ "start": 559,
+ "end": 576,
"loc": {
"start": {
- "line": 24,
- "column": 18
+ "line": 16,
+ "column": 43
},
"end": {
- "line": 24,
- "column": 52
+ "line": 16,
+ "column": 60
}
},
- "id": null,
- "generator": false,
- "expression": true,
- "async": false,
- "params": [
- {
- "type": "Identifier",
- "start": 721,
- "end": 722,
- "loc": {
- "start": {
- "line": 24,
- "column": 18
- },
- "end": {
- "line": 24,
- "column": 19
- },
- "identifierName": "k"
- },
- "name": "k"
- }
- ],
- "body": {
- "type": "ConditionalExpression",
- "start": 726,
- "end": 755,
+ "object": {
+ "type": "Identifier",
+ "start": 559,
+ "end": 568,
"loc": {
"start": {
- "line": 24,
- "column": 23
+ "line": 16,
+ "column": 43
},
"end": {
- "line": 24,
+ "line": 16,
"column": 52
- }
+ },
+ "identifierName": "fieldArgs"
},
- "test": {
- "type": "BinaryExpression",
- "start": 726,
- "end": 734,
- "loc": {
- "start": {
- "line": 24,
- "column": 23
- },
- "end": {
- "line": 24,
- "column": 31
- }
+ "name": "fieldArgs"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 569,
+ "end": 576,
+ "loc": {
+ "start": {
+ "line": 16,
+ "column": 53
},
- "left": {
- "type": "Identifier",
- "start": 726,
- "end": 727,
- "loc": {
- "start": {
- "line": 24,
- "column": 23
- },
- "end": {
- "line": 24,
- "column": 24
- },
- "identifierName": "k"
- },
- "name": "k"
- },
- "operator": "in",
- "right": {
- "type": "Identifier",
- "start": 731,
- "end": 734,
- "loc": {
- "start": {
- "line": 24,
- "column": 28
- },
- "end": {
- "line": 24,
- "column": 31
- },
- "identifierName": "obj"
- },
- "name": "obj"
- }
- },
- "consequent": {
- "type": "ObjectExpression",
- "start": 737,
- "end": 750,
- "loc": {
- "start": {
- "line": 24,
- "column": 34
- },
- "end": {
- "line": 24,
- "column": 47
- }
+ "end": {
+ "line": 16,
+ "column": 60
},
- "properties": [
- {
- "type": "ObjectProperty",
- "start": 738,
- "end": 749,
- "loc": {
- "start": {
- "line": 24,
- "column": 35
- },
- "end": {
- "line": 24,
- "column": 46
- }
- },
- "method": false,
- "shorthand": false,
- "computed": true,
- "key": {
- "type": "Identifier",
- "start": 739,
- "end": 740,
- "loc": {
- "start": {
- "line": 24,
- "column": 36
- },
- "end": {
- "line": 24,
- "column": 37
- },
- "identifierName": "k"
- },
- "name": "k"
- },
- "value": {
- "type": "MemberExpression",
- "start": 743,
- "end": 749,
- "loc": {
- "start": {
- "line": 24,
- "column": 40
- },
- "end": {
- "line": 24,
- "column": 46
- }
- },
- "object": {
- "type": "Identifier",
- "start": 743,
- "end": 746,
- "loc": {
- "start": {
- "line": 24,
- "column": 40
- },
- "end": {
- "line": 24,
- "column": 43
- },
- "identifierName": "obj"
- },
- "name": "obj"
- },
- "property": {
- "type": "Identifier",
- "start": 747,
- "end": 748,
- "loc": {
- "start": {
- "line": 24,
- "column": 44
- },
- "end": {
- "line": 24,
- "column": 45
- },
- "identifierName": "k"
- },
- "name": "k"
- },
- "computed": true
- }
- }
- ]
+ "identifierName": "message"
},
- "alternate": {
- "type": "ObjectExpression",
- "start": 753,
- "end": 755,
- "loc": {
- "start": {
- "line": 24,
- "column": 50
- },
- "end": {
- "line": 24,
- "column": 52
- }
- },
- "properties": []
- }
- }
- }
- ]
- },
- "property": {
- "type": "Identifier",
- "start": 761,
- "end": 767,
- "loc": {
- "start": {
- "line": 25,
- "column": 4
- },
- "end": {
- "line": 25,
- "column": 10
+ "name": "message"
+ },
+ "computed": false
},
- "identifierName": "reduce"
- },
- "name": "reduce"
+ "extra": {
+ "parenthesizedArgument": false
+ }
+ }
},
- "computed": false
- },
- "arguments": [
- {
- "type": "ArrowFunctionExpression",
- "start": 768,
- "end": 801,
+ "consequent": {
+ "type": "CallExpression",
+ "start": 582,
+ "end": 621,
"loc": {
"start": {
- "line": 25,
- "column": 11
+ "line": 17,
+ "column": 5
},
"end": {
- "line": 25,
+ "line": 17,
"column": 44
}
},
- "id": null,
- "generator": false,
- "expression": true,
- "async": false,
- "params": [
- {
- "type": "Identifier",
- "start": 769,
- "end": 772,
- "loc": {
- "start": {
- "line": 25,
- "column": 12
- },
- "end": {
- "line": 25,
- "column": 15
- },
- "identifierName": "res"
- },
- "name": "res"
- },
- {
- "type": "Identifier",
- "start": 774,
- "end": 775,
- "loc": {
- "start": {
- "line": 25,
- "column": 17
- },
- "end": {
- "line": 25,
- "column": 18
- },
- "identifierName": "o"
- },
- "name": "o"
- }
- ],
- "body": {
- "type": "CallExpression",
- "start": 780,
- "end": 801,
+ "callee": {
+ "type": "Identifier",
+ "start": 582,
+ "end": 602,
"loc": {
"start": {
- "line": 25,
- "column": 23
+ "line": 17,
+ "column": 5
},
"end": {
- "line": 25,
- "column": 44
- }
+ "line": 17,
+ "column": 25
+ },
+ "identifierName": "messageObjectFactory"
},
- "callee": {
+ "name": "messageObjectFactory"
+ },
+ "arguments": [
+ {
"type": "MemberExpression",
- "start": 780,
- "end": 793,
+ "start": 603,
+ "end": 620,
"loc": {
"start": {
- "line": 25,
- "column": 23
+ "line": 17,
+ "column": 26
},
"end": {
- "line": 25,
- "column": 36
+ "line": 17,
+ "column": 43
}
},
"object": {
"type": "Identifier",
- "start": 780,
- "end": 786,
+ "start": 603,
+ "end": 612,
"loc": {
"start": {
- "line": 25,
- "column": 23
+ "line": 17,
+ "column": 26
},
"end": {
- "line": 25,
- "column": 29
+ "line": 17,
+ "column": 35
},
- "identifierName": "Object"
+ "identifierName": "fieldArgs"
},
- "name": "Object"
+ "name": "fieldArgs"
},
"property": {
"type": "Identifier",
- "start": 787,
- "end": 793,
+ "start": 613,
+ "end": 620,
"loc": {
"start": {
- "line": 25,
- "column": 30
- },
- "end": {
- "line": 25,
+ "line": 17,
"column": 36
},
- "identifierName": "assign"
- },
- "name": "assign"
- },
- "computed": false
- },
- "arguments": [
- {
- "type": "Identifier",
- "start": 794,
- "end": 797,
- "loc": {
- "start": {
- "line": 25,
- "column": 37
- },
- "end": {
- "line": 25,
- "column": 40
- },
- "identifierName": "res"
- },
- "name": "res"
- },
- {
- "type": "Identifier",
- "start": 799,
- "end": 800,
- "loc": {
- "start": {
- "line": 25,
- "column": 42
- },
"end": {
- "line": 25,
+ "line": 17,
"column": 43
},
- "identifierName": "o"
+ "identifierName": "message"
},
- "name": "o"
- }
- ]
- }
+ "name": "message"
+ },
+ "computed": false
+ }
+ ]
},
- {
- "type": "ObjectExpression",
- "start": 803,
- "end": 805,
+ "alternate": {
+ "type": "CallExpression",
+ "start": 627,
+ "end": 678,
"loc": {
"start": {
- "line": 25,
- "column": 46
+ "line": 18,
+ "column": 5
},
"end": {
- "line": 25,
- "column": 48
+ "line": 18,
+ "column": 56
}
},
- "properties": []
+ "callee": {
+ "type": "Identifier",
+ "start": 627,
+ "end": 647,
+ "loc": {
+ "start": {
+ "line": 18,
+ "column": 5
+ },
+ "end": {
+ "line": 18,
+ "column": 25
+ },
+ "identifierName": "messageObjectFactory"
+ },
+ "name": "messageObjectFactory"
+ },
+ "arguments": [
+ {
+ "type": "ObjectExpression",
+ "start": 648,
+ "end": 677,
+ "loc": {
+ "start": {
+ "line": 18,
+ "column": 26
+ },
+ "end": {
+ "line": 18,
+ "column": 55
+ }
+ },
+ "properties": [
+ {
+ "type": "ObjectProperty",
+ "start": 649,
+ "end": 662,
+ "loc": {
+ "start": {
+ "line": 18,
+ "column": 27
+ },
+ "end": {
+ "line": 18,
+ "column": 40
+ }
+ },
+ "method": false,
+ "shorthand": false,
+ "computed": false,
+ "key": {
+ "type": "Identifier",
+ "start": 649,
+ "end": 656,
+ "loc": {
+ "start": {
+ "line": 18,
+ "column": 27
+ },
+ "end": {
+ "line": 18,
+ "column": 34
+ },
+ "identifierName": "message"
+ },
+ "name": "message"
+ },
+ "value": {
+ "type": "NullLiteral",
+ "start": 658,
+ "end": 662,
+ "loc": {
+ "start": {
+ "line": 18,
+ "column": 36
+ },
+ "end": {
+ "line": 18,
+ "column": 40
+ }
+ }
+ }
+ },
+ {
+ "type": "ObjectProperty",
+ "start": 664,
+ "end": 676,
+ "loc": {
+ "start": {
+ "line": 18,
+ "column": 42
+ },
+ "end": {
+ "line": 18,
+ "column": 54
+ }
+ },
+ "method": false,
+ "shorthand": false,
+ "computed": false,
+ "key": {
+ "type": "Identifier",
+ "start": 664,
+ "end": 669,
+ "loc": {
+ "start": {
+ "line": 18,
+ "column": 42
+ },
+ "end": {
+ "line": 18,
+ "column": 47
+ },
+ "identifierName": "error"
+ },
+ "name": "error"
+ },
+ "value": {
+ "type": "BooleanLiteral",
+ "start": 671,
+ "end": 676,
+ "loc": {
+ "start": {
+ "line": 18,
+ "column": 49
+ },
+ "end": {
+ "line": 18,
+ "column": 54
+ }
+ },
+ "value": false
+ }
+ }
+ ]
+ }
+ ]
}
- ]
+ }
}
- }
- ],
- "directives": []
- },
- "leadingComments": [
- {
- "type": "CommentBlock",
- "value": "*\n\t * Pick whitelisted keys from object\n\t *\n\t * @see http://www.jstips.co/en/javascript/picking-and-rejecting-object-properties/\n\t *\n\t * @param {Object} obj The object to pick from\n\t * @param {Array} keys The whitelist of keys\n\t * @return {*}\n\t ",
- "start": 425,
- "end": 674,
- "loc": {
- "start": {
- "line": 14,
- "column": 1
+ },
+ {
+ "type": "ReturnStatement",
+ "start": 682,
+ "end": 699,
+ "loc": {
+ "start": {
+ "line": 19,
+ "column": 2
+ },
+ "end": {
+ "line": 19,
+ "column": 19
+ }
},
- "end": {
- "line": 22,
- "column": 4
+ "argument": {
+ "type": "Identifier",
+ "start": 689,
+ "end": 698,
+ "loc": {
+ "start": {
+ "line": 19,
+ "column": 9
+ },
+ "end": {
+ "line": 19,
+ "column": 18
+ },
+ "identifierName": "fieldArgs"
+ },
+ "name": "fieldArgs"
}
}
- }
- ]
+ ],
+ "directives": []
+ }
},
{
- "type": "SwitchStatement",
- "start": 813,
- "end": 1132,
+ "type": "IfStatement",
+ "start": 706,
+ "end": 861,
"loc": {
"start": {
- "line": 28,
+ "line": 23,
"column": 1
},
"end": {
- "line": 42,
+ "line": 29,
"column": 2
}
},
- "discriminant": {
- "type": "MemberExpression",
- "start": 821,
- "end": 835,
+ "test": {
+ "type": "BinaryExpression",
+ "start": 710,
+ "end": 737,
"loc": {
"start": {
- "line": 28,
- "column": 9
+ "line": 23,
+ "column": 5
},
"end": {
- "line": 28,
- "column": 23
+ "line": 23,
+ "column": 32
}
},
- "object": {
- "type": "Identifier",
- "start": 821,
- "end": 830,
+ "left": {
+ "type": "StringLiteral",
+ "start": 710,
+ "end": 718,
"loc": {
"start": {
- "line": 28,
- "column": 9
+ "line": 23,
+ "column": 5
},
"end": {
- "line": 28,
- "column": 18
- },
- "identifierName": "fieldArgs"
+ "line": 23,
+ "column": 13
+ }
},
- "name": "fieldArgs"
- },
- "property": {
- "type": "Identifier",
- "start": 831,
- "end": 835,
- "loc": {
- "start": {
- "line": 28,
- "column": 19
- },
- "end": {
- "line": 28,
- "column": 23
- },
- "identifierName": "type"
+ "extra": {
+ "rawValue": "button",
+ "raw": "'button'"
},
- "name": "type"
+ "value": "button"
},
- "computed": false
- },
- "cases": [
- {
- "type": "SwitchCase",
- "start": 840,
- "end": 854,
+ "operator": "===",
+ "right": {
+ "type": "MemberExpression",
+ "start": 723,
+ "end": 737,
"loc": {
"start": {
- "line": 29,
- "column": 1
+ "line": 23,
+ "column": 18
},
"end": {
- "line": 29,
- "column": 15
+ "line": 23,
+ "column": 32
}
},
- "consequent": [],
- "test": {
- "type": "StringLiteral",
- "start": 845,
- "end": 853,
+ "object": {
+ "type": "Identifier",
+ "start": 723,
+ "end": 732,
"loc": {
"start": {
- "line": 29,
- "column": 6
+ "line": 23,
+ "column": 18
},
"end": {
- "line": 29,
- "column": 14
- }
+ "line": 23,
+ "column": 27
+ },
+ "identifierName": "fieldArgs"
},
- "extra": {
- "rawValue": "select",
- "raw": "'select'"
+ "name": "fieldArgs"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 733,
+ "end": 737,
+ "loc": {
+ "start": {
+ "line": 23,
+ "column": 28
+ },
+ "end": {
+ "line": 23,
+ "column": 32
+ },
+ "identifierName": "type"
},
- "value": "select"
+ "name": "type"
+ },
+ "computed": false
+ }
+ },
+ "consequent": {
+ "type": "BlockStatement",
+ "start": 740,
+ "end": 861,
+ "loc": {
+ "start": {
+ "line": 23,
+ "column": 35
+ },
+ "end": {
+ "line": 29,
+ "column": 2
}
},
- {
- "type": "SwitchCase",
- "start": 856,
- "end": 910,
- "loc": {
- "start": {
- "line": 30,
- "column": 1
+ "body": [
+ {
+ "type": "IfStatement",
+ "start": 744,
+ "end": 822,
+ "loc": {
+ "start": {
+ "line": 24,
+ "column": 2
+ },
+ "end": {
+ "line": 26,
+ "column": 3
+ }
},
- "end": {
- "line": 32,
- "column": 8
- }
- },
- "consequent": [
- {
- "type": "ExpressionStatement",
- "start": 875,
- "end": 901,
+ "test": {
+ "type": "BinaryExpression",
+ "start": 748,
+ "end": 780,
"loc": {
"start": {
- "line": 31,
- "column": 2
+ "line": 24,
+ "column": 6
},
"end": {
- "line": 31,
- "column": 28
+ "line": 24,
+ "column": 38
}
},
- "expression": {
- "type": "AssignmentExpression",
- "start": 875,
- "end": 900,
+ "left": {
+ "type": "StringLiteral",
+ "start": 748,
+ "end": 756,
"loc": {
"start": {
- "line": 31,
- "column": 2
+ "line": 24,
+ "column": 6
},
"end": {
- "line": 31,
- "column": 27
+ "line": 24,
+ "column": 14
}
},
- "operator": "=",
- "left": {
- "type": "MemberExpression",
- "start": 875,
- "end": 889,
+ "extra": {
+ "rawValue": "submit",
+ "raw": "'submit'"
+ },
+ "value": "submit"
+ },
+ "operator": "!==",
+ "right": {
+ "type": "MemberExpression",
+ "start": 761,
+ "end": 780,
+ "loc": {
+ "start": {
+ "line": 24,
+ "column": 19
+ },
+ "end": {
+ "line": 24,
+ "column": 38
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 761,
+ "end": 770,
"loc": {
"start": {
- "line": 31,
- "column": 2
- },
- "end": {
- "line": 31,
- "column": 16
- }
- },
- "object": {
- "type": "Identifier",
- "start": 875,
- "end": 884,
- "loc": {
- "start": {
- "line": 31,
- "column": 2
- },
- "end": {
- "line": 31,
- "column": 11
- },
- "identifierName": "fieldArgs"
+ "line": 24,
+ "column": 19
},
- "name": "fieldArgs"
- },
- "property": {
- "type": "Identifier",
- "start": 885,
- "end": 889,
- "loc": {
- "start": {
- "line": 31,
- "column": 12
- },
- "end": {
- "line": 31,
- "column": 16
- },
- "identifierName": "type"
+ "end": {
+ "line": 24,
+ "column": 28
},
- "name": "type"
+ "identifierName": "fieldArgs"
},
- "computed": false
+ "name": "fieldArgs"
},
- "right": {
- "type": "StringLiteral",
- "start": 892,
- "end": 900,
+ "property": {
+ "type": "Identifier",
+ "start": 771,
+ "end": 780,
"loc": {
"start": {
- "line": 31,
- "column": 19
+ "line": 24,
+ "column": 29
},
"end": {
- "line": 31,
- "column": 27
- }
- },
- "extra": {
- "rawValue": "select",
- "raw": "'select'"
+ "line": 24,
+ "column": 38
+ },
+ "identifierName": "inputType"
},
- "value": "select"
- }
- }
- },
- {
- "type": "BreakStatement",
- "start": 904,
- "end": 910,
- "loc": {
- "start": {
- "line": 32,
- "column": 2
+ "name": "inputType"
},
- "end": {
- "line": 32,
- "column": 8
- }
- },
- "label": null
- }
- ],
- "test": {
- "type": "StringLiteral",
- "start": 861,
- "end": 871,
- "loc": {
- "start": {
- "line": 30,
- "column": 6
- },
- "end": {
- "line": 30,
- "column": 16
+ "computed": false
}
},
- "extra": {
- "rawValue": "dropdown",
- "raw": "'dropdown'"
- },
- "value": "dropdown"
- }
- },
- {
- "type": "SwitchCase",
- "start": 912,
- "end": 968,
- "loc": {
- "start": {
- "line": 33,
- "column": 1
- },
- "end": {
- "line": 35,
- "column": 8
- }
- },
- "consequent": [
- {
- "type": "ExpressionStatement",
- "start": 931,
- "end": 959,
+ "consequent": {
+ "type": "BlockStatement",
+ "start": 782,
+ "end": 822,
"loc": {
"start": {
- "line": 34,
- "column": 2
+ "line": 24,
+ "column": 40
},
"end": {
- "line": 34,
- "column": 30
+ "line": 26,
+ "column": 3
}
},
- "expression": {
- "type": "AssignmentExpression",
- "start": 931,
- "end": 958,
- "loc": {
- "start": {
- "line": 34,
- "column": 2
- },
- "end": {
- "line": 34,
- "column": 29
- }
- },
- "operator": "=",
- "left": {
- "type": "MemberExpression",
- "start": 931,
- "end": 945,
+ "body": [
+ {
+ "type": "ExpressionStatement",
+ "start": 787,
+ "end": 818,
"loc": {
"start": {
- "line": 34,
- "column": 2
+ "line": 25,
+ "column": 3
},
"end": {
- "line": 34,
- "column": 16
+ "line": 25,
+ "column": 34
}
},
- "object": {
- "type": "Identifier",
- "start": 931,
- "end": 940,
+ "expression": {
+ "type": "AssignmentExpression",
+ "start": 787,
+ "end": 817,
"loc": {
"start": {
- "line": 34,
- "column": 2
+ "line": 25,
+ "column": 3
},
"end": {
- "line": 34,
- "column": 11
- },
- "identifierName": "fieldArgs"
+ "line": 25,
+ "column": 33
+ }
},
- "name": "fieldArgs"
- },
- "property": {
- "type": "Identifier",
- "start": 941,
- "end": 945,
- "loc": {
- "start": {
- "line": 34,
- "column": 12
+ "operator": "=",
+ "left": {
+ "type": "MemberExpression",
+ "start": 787,
+ "end": 806,
+ "loc": {
+ "start": {
+ "line": 25,
+ "column": 3
+ },
+ "end": {
+ "line": 25,
+ "column": 22
+ }
},
- "end": {
- "line": 34,
- "column": 16
+ "object": {
+ "type": "Identifier",
+ "start": 787,
+ "end": 796,
+ "loc": {
+ "start": {
+ "line": 25,
+ "column": 3
+ },
+ "end": {
+ "line": 25,
+ "column": 12
+ },
+ "identifierName": "fieldArgs"
+ },
+ "name": "fieldArgs"
},
- "identifierName": "type"
- },
- "name": "type"
- },
- "computed": false
- },
- "right": {
- "type": "StringLiteral",
- "start": 948,
- "end": 958,
- "loc": {
- "start": {
- "line": 34,
- "column": 19
+ "property": {
+ "type": "Identifier",
+ "start": 797,
+ "end": 806,
+ "loc": {
+ "start": {
+ "line": 25,
+ "column": 13
+ },
+ "end": {
+ "line": 25,
+ "column": 22
+ },
+ "identifierName": "inputType"
+ },
+ "name": "inputType"
+ },
+ "computed": false
},
- "end": {
- "line": 34,
- "column": 29
+ "right": {
+ "type": "StringLiteral",
+ "start": 809,
+ "end": 817,
+ "loc": {
+ "start": {
+ "line": 25,
+ "column": 25
+ },
+ "end": {
+ "line": 25,
+ "column": 33
+ }
+ },
+ "extra": {
+ "rawValue": "button",
+ "raw": "'button'"
+ },
+ "value": "button"
}
- },
- "extra": {
- "rawValue": "fieldset",
- "raw": "'fieldset'"
- },
- "value": "fieldset"
+ }
}
+ ],
+ "directives": []
+ },
+ "alternate": null
+ },
+ {
+ "type": "ReturnStatement",
+ "start": 826,
+ "end": 858,
+ "loc": {
+ "start": {
+ "line": 28,
+ "column": 2
+ },
+ "end": {
+ "line": 28,
+ "column": 34
}
},
- {
- "type": "BreakStatement",
- "start": 962,
- "end": 968,
+ "argument": {
+ "type": "CallExpression",
+ "start": 833,
+ "end": 857,
"loc": {
"start": {
- "line": 35,
- "column": 2
+ "line": 28,
+ "column": 9
},
"end": {
- "line": 35,
- "column": 8
+ "line": 28,
+ "column": 33
}
},
- "label": null
- }
- ],
- "test": {
- "type": "StringLiteral",
- "start": 917,
- "end": 927,
- "loc": {
- "start": {
- "line": 33,
- "column": 6
+ "callee": {
+ "type": "Identifier",
+ "start": 833,
+ "end": 846,
+ "loc": {
+ "start": {
+ "line": 28,
+ "column": 9
+ },
+ "end": {
+ "line": 28,
+ "column": 22
+ },
+ "identifierName": "addMessageArg"
+ },
+ "name": "addMessageArg"
},
- "end": {
- "line": 33,
- "column": 16
- }
- },
- "extra": {
- "rawValue": "fieldset",
- "raw": "'fieldset'"
- },
- "value": "fieldset"
+ "arguments": [
+ {
+ "type": "Identifier",
+ "start": 847,
+ "end": 856,
+ "loc": {
+ "start": {
+ "line": 28,
+ "column": 23
+ },
+ "end": {
+ "line": 28,
+ "column": 32
+ },
+ "identifierName": "fieldArgs"
+ },
+ "name": "fieldArgs"
+ }
+ ]
+ }
}
- },
+ ],
+ "directives": [],
+ "trailingComments": null
+ },
+ "alternate": null,
+ "trailingComments": [
{
- "type": "SwitchCase",
- "start": 970,
- "end": 982,
+ "type": "CommentBlock",
+ "value": "*\n\t * Pick whitelisted keys from object\n\t *\n\t * @see http://www.jstips.co/en/javascript/picking-and-rejecting-object-properties/\n\t *\n\t * @param {Object} obj The object to pick from\n\t * @param {Array} keys The whitelist of keys\n\t * @return {*}\n\t ",
+ "start": 865,
+ "end": 1114,
"loc": {
"start": {
- "line": 36,
+ "line": 32,
"column": 1
},
"end": {
- "line": 36,
- "column": 13
+ "line": 40,
+ "column": 4
}
- },
- "consequent": [],
- "test": {
- "type": "StringLiteral",
- "start": 975,
- "end": 981,
- "loc": {
- "start": {
- "line": 36,
- "column": 6
- },
- "end": {
- "line": 36,
- "column": 12
- }
- },
- "extra": {
- "rawValue": "text",
- "raw": "'text'"
- },
- "value": "text"
}
+ }
+ ]
+ },
+ {
+ "type": "FunctionDeclaration",
+ "start": 1116,
+ "end": 1250,
+ "loc": {
+ "start": {
+ "line": 41,
+ "column": 1
+ },
+ "end": {
+ "line": 44,
+ "column": 2
+ }
+ },
+ "id": {
+ "type": "Identifier",
+ "start": 1125,
+ "end": 1129,
+ "loc": {
+ "start": {
+ "line": 41,
+ "column": 10
+ },
+ "end": {
+ "line": 41,
+ "column": 14
+ },
+ "identifierName": "pick"
},
+ "name": "pick",
+ "leadingComments": null
+ },
+ "generator": false,
+ "expression": false,
+ "async": false,
+ "params": [
{
- "type": "SwitchCase",
- "start": 984,
- "end": 998,
+ "type": "Identifier",
+ "start": 1130,
+ "end": 1133,
"loc": {
"start": {
- "line": 37,
- "column": 1
- },
- "end": {
- "line": 37,
+ "line": 41,
"column": 15
- }
- },
- "consequent": [],
- "test": {
- "type": "StringLiteral",
- "start": 989,
- "end": 997,
- "loc": {
- "start": {
- "line": 37,
- "column": 6
- },
- "end": {
- "line": 37,
- "column": 14
- }
},
- "extra": {
- "rawValue": "number",
- "raw": "'number'"
+ "end": {
+ "line": 41,
+ "column": 18
},
- "value": "number"
- }
+ "identifierName": "obj"
+ },
+ "name": "obj"
},
{
- "type": "SwitchCase",
- "start": 1000,
- "end": 1129,
+ "type": "Identifier",
+ "start": 1135,
+ "end": 1139,
"loc": {
"start": {
- "line": 38,
- "column": 1
+ "line": 41,
+ "column": 20
},
"end": {
"line": 41,
- "column": 8
- }
+ "column": 24
+ },
+ "identifierName": "keys"
},
- "consequent": [
- {
- "type": "ExpressionStatement",
- "start": 1011,
- "end": 1092,
+ "name": "keys"
+ }
+ ],
+ "body": {
+ "type": "BlockStatement",
+ "start": 1141,
+ "end": 1250,
+ "loc": {
+ "start": {
+ "line": 41,
+ "column": 26
+ },
+ "end": {
+ "line": 44,
+ "column": 2
+ }
+ },
+ "body": [
+ {
+ "type": "ReturnStatement",
+ "start": 1145,
+ "end": 1247,
+ "loc": {
+ "start": {
+ "line": 42,
+ "column": 2
+ },
+ "end": {
+ "line": 43,
+ "column": 50
+ }
+ },
+ "argument": {
+ "type": "CallExpression",
+ "start": 1152,
+ "end": 1246,
"loc": {
"start": {
- "line": 39,
- "column": 2
+ "line": 42,
+ "column": 9
},
"end": {
- "line": 39,
- "column": 83
+ "line": 43,
+ "column": 49
}
},
- "expression": {
- "type": "AssignmentExpression",
- "start": 1011,
- "end": 1091,
+ "callee": {
+ "type": "MemberExpression",
+ "start": 1152,
+ "end": 1207,
"loc": {
"start": {
- "line": 39,
- "column": 2
+ "line": 42,
+ "column": 9
},
"end": {
- "line": 39,
- "column": 82
+ "line": 43,
+ "column": 10
}
},
- "operator": "=",
- "left": {
- "type": "MemberExpression",
- "start": 1011,
- "end": 1030,
+ "object": {
+ "type": "CallExpression",
+ "start": 1152,
+ "end": 1196,
"loc": {
"start": {
- "line": 39,
- "column": 2
+ "line": 42,
+ "column": 9
},
"end": {
- "line": 39,
- "column": 21
+ "line": 42,
+ "column": 53
}
},
- "object": {
- "type": "Identifier",
- "start": 1011,
- "end": 1020,
- "loc": {
- "start": {
- "line": 39,
- "column": 2
- },
- "end": {
- "line": 39,
- "column": 11
- },
- "identifierName": "fieldArgs"
- },
- "name": "fieldArgs"
- },
- "property": {
- "type": "Identifier",
- "start": 1021,
- "end": 1030,
+ "callee": {
+ "type": "MemberExpression",
+ "start": 1152,
+ "end": 1160,
"loc": {
"start": {
- "line": 39,
- "column": 12
+ "line": 42,
+ "column": 9
},
"end": {
- "line": 39,
- "column": 21
- },
- "identifierName": "inputType"
- },
- "name": "inputType"
- },
- "computed": false
- },
- "right": {
- "type": "ConditionalExpression",
- "start": 1033,
- "end": 1091,
- "loc": {
- "start": {
- "line": 39,
- "column": 24
+ "line": 42,
+ "column": 17
+ }
},
- "end": {
- "line": 39,
- "column": 82
- }
- },
- "test": {
- "type": "CallExpression",
- "start": 1033,
- "end": 1065,
- "loc": {
- "start": {
- "line": 39,
- "column": 24
+ "object": {
+ "type": "Identifier",
+ "start": 1152,
+ "end": 1156,
+ "loc": {
+ "start": {
+ "line": 42,
+ "column": 9
+ },
+ "end": {
+ "line": 42,
+ "column": 13
+ },
+ "identifierName": "keys"
},
- "end": {
- "line": 39,
- "column": 56
- }
+ "name": "keys"
},
- "callee": {
+ "property": {
"type": "Identifier",
- "start": 1033,
- "end": 1049,
+ "start": 1157,
+ "end": 1160,
"loc": {
"start": {
- "line": 39,
- "column": 24
+ "line": 42,
+ "column": 14
},
"end": {
- "line": 39,
- "column": 40
+ "line": 42,
+ "column": 17
},
- "identifierName": "isValidHtml5type"
+ "identifierName": "map"
},
- "name": "isValidHtml5type"
+ "name": "map"
},
- "arguments": [
- {
- "type": "MemberExpression",
- "start": 1050,
- "end": 1064,
- "loc": {
- "start": {
- "line": 39,
- "column": 41
- },
- "end": {
- "line": 39,
- "column": 55
- }
+ "computed": false
+ },
+ "arguments": [
+ {
+ "type": "ArrowFunctionExpression",
+ "start": 1161,
+ "end": 1195,
+ "loc": {
+ "start": {
+ "line": 42,
+ "column": 18
},
- "object": {
+ "end": {
+ "line": 42,
+ "column": 52
+ }
+ },
+ "id": null,
+ "generator": false,
+ "expression": true,
+ "async": false,
+ "params": [
+ {
"type": "Identifier",
- "start": 1050,
- "end": 1059,
+ "start": 1161,
+ "end": 1162,
"loc": {
"start": {
- "line": 39,
- "column": 41
+ "line": 42,
+ "column": 18
},
"end": {
- "line": 39,
- "column": 50
+ "line": 42,
+ "column": 19
},
- "identifierName": "fieldArgs"
+ "identifierName": "k"
},
- "name": "fieldArgs"
- },
- "property": {
- "type": "Identifier",
- "start": 1060,
- "end": 1064,
- "loc": {
- "start": {
- "line": 39,
- "column": 51
+ "name": "k"
+ }
+ ],
+ "body": {
+ "type": "ConditionalExpression",
+ "start": 1166,
+ "end": 1195,
+ "loc": {
+ "start": {
+ "line": 42,
+ "column": 23
+ },
+ "end": {
+ "line": 42,
+ "column": 52
+ }
+ },
+ "test": {
+ "type": "BinaryExpression",
+ "start": 1166,
+ "end": 1174,
+ "loc": {
+ "start": {
+ "line": 42,
+ "column": 23
},
"end": {
- "line": 39,
- "column": 55
+ "line": 42,
+ "column": 31
+ }
+ },
+ "left": {
+ "type": "Identifier",
+ "start": 1166,
+ "end": 1167,
+ "loc": {
+ "start": {
+ "line": 42,
+ "column": 23
+ },
+ "end": {
+ "line": 42,
+ "column": 24
+ },
+ "identifierName": "k"
},
- "identifierName": "type"
+ "name": "k"
},
- "name": "type"
+ "operator": "in",
+ "right": {
+ "type": "Identifier",
+ "start": 1171,
+ "end": 1174,
+ "loc": {
+ "start": {
+ "line": 42,
+ "column": 28
+ },
+ "end": {
+ "line": 42,
+ "column": 31
+ },
+ "identifierName": "obj"
+ },
+ "name": "obj"
+ }
},
- "computed": false
+ "consequent": {
+ "type": "ObjectExpression",
+ "start": 1177,
+ "end": 1190,
+ "loc": {
+ "start": {
+ "line": 42,
+ "column": 34
+ },
+ "end": {
+ "line": 42,
+ "column": 47
+ }
+ },
+ "properties": [
+ {
+ "type": "ObjectProperty",
+ "start": 1178,
+ "end": 1189,
+ "loc": {
+ "start": {
+ "line": 42,
+ "column": 35
+ },
+ "end": {
+ "line": 42,
+ "column": 46
+ }
+ },
+ "method": false,
+ "shorthand": false,
+ "computed": true,
+ "key": {
+ "type": "Identifier",
+ "start": 1179,
+ "end": 1180,
+ "loc": {
+ "start": {
+ "line": 42,
+ "column": 36
+ },
+ "end": {
+ "line": 42,
+ "column": 37
+ },
+ "identifierName": "k"
+ },
+ "name": "k"
+ },
+ "value": {
+ "type": "MemberExpression",
+ "start": 1183,
+ "end": 1189,
+ "loc": {
+ "start": {
+ "line": 42,
+ "column": 40
+ },
+ "end": {
+ "line": 42,
+ "column": 46
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 1183,
+ "end": 1186,
+ "loc": {
+ "start": {
+ "line": 42,
+ "column": 40
+ },
+ "end": {
+ "line": 42,
+ "column": 43
+ },
+ "identifierName": "obj"
+ },
+ "name": "obj"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 1187,
+ "end": 1188,
+ "loc": {
+ "start": {
+ "line": 42,
+ "column": 44
+ },
+ "end": {
+ "line": 42,
+ "column": 45
+ },
+ "identifierName": "k"
+ },
+ "name": "k"
+ },
+ "computed": true
+ }
+ }
+ ]
+ },
+ "alternate": {
+ "type": "ObjectExpression",
+ "start": 1193,
+ "end": 1195,
+ "loc": {
+ "start": {
+ "line": 42,
+ "column": 50
+ },
+ "end": {
+ "line": 42,
+ "column": 52
+ }
+ },
+ "properties": []
+ }
}
- ]
+ }
+ ]
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 1201,
+ "end": 1207,
+ "loc": {
+ "start": {
+ "line": 43,
+ "column": 4
+ },
+ "end": {
+ "line": 43,
+ "column": 10
+ },
+ "identifierName": "reduce"
},
- "consequent": {
- "type": "MemberExpression",
- "start": 1068,
- "end": 1082,
- "loc": {
- "start": {
- "line": 39,
- "column": 59
- },
- "end": {
- "line": 39,
- "column": 73
- }
+ "name": "reduce"
+ },
+ "computed": false
+ },
+ "arguments": [
+ {
+ "type": "ArrowFunctionExpression",
+ "start": 1208,
+ "end": 1241,
+ "loc": {
+ "start": {
+ "line": 43,
+ "column": 11
},
- "object": {
+ "end": {
+ "line": 43,
+ "column": 44
+ }
+ },
+ "id": null,
+ "generator": false,
+ "expression": true,
+ "async": false,
+ "params": [
+ {
"type": "Identifier",
- "start": 1068,
- "end": 1077,
+ "start": 1209,
+ "end": 1212,
"loc": {
"start": {
- "line": 39,
- "column": 59
+ "line": 43,
+ "column": 12
},
"end": {
- "line": 39,
- "column": 68
+ "line": 43,
+ "column": 15
},
- "identifierName": "fieldArgs"
+ "identifierName": "res"
},
- "name": "fieldArgs"
+ "name": "res"
},
- "property": {
+ {
"type": "Identifier",
- "start": 1078,
- "end": 1082,
+ "start": 1214,
+ "end": 1215,
"loc": {
"start": {
- "line": 39,
- "column": 69
+ "line": 43,
+ "column": 17
},
"end": {
- "line": 39,
- "column": 73
+ "line": 43,
+ "column": 18
},
- "identifierName": "type"
+ "identifierName": "o"
},
- "name": "type"
- },
- "computed": false
- },
- "alternate": {
- "type": "StringLiteral",
- "start": 1085,
- "end": 1091,
+ "name": "o"
+ }
+ ],
+ "body": {
+ "type": "CallExpression",
+ "start": 1220,
+ "end": 1241,
"loc": {
"start": {
- "line": 39,
- "column": 76
+ "line": 43,
+ "column": 23
},
"end": {
- "line": 39,
- "column": 82
+ "line": 43,
+ "column": 44
}
},
- "extra": {
- "rawValue": "text",
- "raw": "'text'"
+ "callee": {
+ "type": "MemberExpression",
+ "start": 1220,
+ "end": 1233,
+ "loc": {
+ "start": {
+ "line": 43,
+ "column": 23
+ },
+ "end": {
+ "line": 43,
+ "column": 36
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 1220,
+ "end": 1226,
+ "loc": {
+ "start": {
+ "line": 43,
+ "column": 23
+ },
+ "end": {
+ "line": 43,
+ "column": 29
+ },
+ "identifierName": "Object"
+ },
+ "name": "Object"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 1227,
+ "end": 1233,
+ "loc": {
+ "start": {
+ "line": 43,
+ "column": 30
+ },
+ "end": {
+ "line": 43,
+ "column": 36
+ },
+ "identifierName": "assign"
+ },
+ "name": "assign"
+ },
+ "computed": false
},
- "value": "text"
+ "arguments": [
+ {
+ "type": "Identifier",
+ "start": 1234,
+ "end": 1237,
+ "loc": {
+ "start": {
+ "line": 43,
+ "column": 37
+ },
+ "end": {
+ "line": 43,
+ "column": 40
+ },
+ "identifierName": "res"
+ },
+ "name": "res"
+ },
+ {
+ "type": "Identifier",
+ "start": 1239,
+ "end": 1240,
+ "loc": {
+ "start": {
+ "line": 43,
+ "column": 42
+ },
+ "end": {
+ "line": 43,
+ "column": 43
+ },
+ "identifierName": "o"
+ },
+ "name": "o"
+ }
+ ]
}
+ },
+ {
+ "type": "ObjectExpression",
+ "start": 1243,
+ "end": 1245,
+ "loc": {
+ "start": {
+ "line": 43,
+ "column": 46
+ },
+ "end": {
+ "line": 43,
+ "column": 48
+ }
+ },
+ "properties": []
}
+ ]
+ }
+ }
+ ],
+ "directives": []
+ },
+ "leadingComments": [
+ {
+ "type": "CommentBlock",
+ "value": "*\n\t * Pick whitelisted keys from object\n\t *\n\t * @see http://www.jstips.co/en/javascript/picking-and-rejecting-object-properties/\n\t *\n\t * @param {Object} obj The object to pick from\n\t * @param {Array} keys The whitelist of keys\n\t * @return {*}\n\t ",
+ "start": 865,
+ "end": 1114,
+ "loc": {
+ "start": {
+ "line": 32,
+ "column": 1
+ },
+ "end": {
+ "line": 40,
+ "column": 4
+ }
+ }
+ }
+ ]
+ },
+ {
+ "type": "SwitchStatement",
+ "start": 1253,
+ "end": 1572,
+ "loc": {
+ "start": {
+ "line": 46,
+ "column": 1
+ },
+ "end": {
+ "line": 60,
+ "column": 2
+ }
+ },
+ "discriminant": {
+ "type": "MemberExpression",
+ "start": 1261,
+ "end": 1275,
+ "loc": {
+ "start": {
+ "line": 46,
+ "column": 9
+ },
+ "end": {
+ "line": 46,
+ "column": 23
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 1261,
+ "end": 1270,
+ "loc": {
+ "start": {
+ "line": 46,
+ "column": 9
+ },
+ "end": {
+ "line": 46,
+ "column": 18
+ },
+ "identifierName": "fieldArgs"
+ },
+ "name": "fieldArgs"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 1271,
+ "end": 1275,
+ "loc": {
+ "start": {
+ "line": 46,
+ "column": 19
+ },
+ "end": {
+ "line": 46,
+ "column": 23
+ },
+ "identifierName": "type"
+ },
+ "name": "type"
+ },
+ "computed": false
+ },
+ "cases": [
+ {
+ "type": "SwitchCase",
+ "start": 1280,
+ "end": 1294,
+ "loc": {
+ "start": {
+ "line": 47,
+ "column": 1
+ },
+ "end": {
+ "line": 47,
+ "column": 15
+ }
+ },
+ "consequent": [],
+ "test": {
+ "type": "StringLiteral",
+ "start": 1285,
+ "end": 1293,
+ "loc": {
+ "start": {
+ "line": 47,
+ "column": 6
+ },
+ "end": {
+ "line": 47,
+ "column": 14
}
},
+ "extra": {
+ "rawValue": "select",
+ "raw": "'select'"
+ },
+ "value": "select"
+ }
+ },
+ {
+ "type": "SwitchCase",
+ "start": 1296,
+ "end": 1350,
+ "loc": {
+ "start": {
+ "line": 48,
+ "column": 1
+ },
+ "end": {
+ "line": 50,
+ "column": 8
+ }
+ },
+ "consequent": [
{
"type": "ExpressionStatement",
- "start": 1095,
- "end": 1120,
+ "start": 1315,
+ "end": 1341,
"loc": {
"start": {
- "line": 40,
+ "line": 49,
"column": 2
},
"end": {
- "line": 40,
- "column": 27
+ "line": 49,
+ "column": 28
}
},
"expression": {
"type": "AssignmentExpression",
- "start": 1095,
- "end": 1119,
+ "start": 1315,
+ "end": 1340,
"loc": {
"start": {
- "line": 40,
+ "line": 49,
"column": 2
},
"end": {
- "line": 40,
- "column": 26
+ "line": 49,
+ "column": 27
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
- "start": 1095,
- "end": 1109,
+ "start": 1315,
+ "end": 1329,
"loc": {
"start": {
- "line": 40,
+ "line": 49,
"column": 2
},
"end": {
- "line": 40,
+ "line": 49,
"column": 16
}
},
"object": {
"type": "Identifier",
- "start": 1095,
- "end": 1104,
+ "start": 1315,
+ "end": 1324,
"loc": {
"start": {
- "line": 40,
+ "line": 49,
"column": 2
},
"end": {
- "line": 40,
+ "line": 49,
"column": 11
},
"identifierName": "fieldArgs"
@@ -1975,15 +2478,15 @@
},
"property": {
"type": "Identifier",
- "start": 1105,
- "end": 1109,
+ "start": 1325,
+ "end": 1329,
"loc": {
"start": {
- "line": 40,
+ "line": 49,
"column": 12
},
"end": {
- "line": 40,
+ "line": 49,
"column": 16
},
"identifierName": "type"
@@ -1994,938 +2497,1150 @@
},
"right": {
"type": "StringLiteral",
- "start": 1112,
- "end": 1119,
+ "start": 1332,
+ "end": 1340,
"loc": {
"start": {
- "line": 40,
+ "line": 49,
"column": 19
},
"end": {
- "line": 40,
- "column": 26
+ "line": 49,
+ "column": 27
}
},
"extra": {
- "rawValue": "input",
- "raw": "'input'"
+ "rawValue": "select",
+ "raw": "'select'"
},
- "value": "input"
+ "value": "select"
}
}
},
{
"type": "BreakStatement",
- "start": 1123,
- "end": 1129,
+ "start": 1344,
+ "end": 1350,
"loc": {
"start": {
- "line": 41,
+ "line": 50,
"column": 2
},
"end": {
- "line": 41,
+ "line": 50,
"column": 8
}
},
"label": null
}
],
- "test": null
- }
- ]
- },
- {
- "type": "IfStatement",
- "start": 1135,
- "end": 1212,
- "loc": {
- "start": {
- "line": 44,
- "column": 1
- },
- "end": {
- "line": 46,
- "column": 2
- }
- },
- "test": {
- "type": "CallExpression",
- "start": 1139,
- "end": 1171,
- "loc": {
- "start": {
- "line": 44,
- "column": 5
- },
- "end": {
- "line": 44,
- "column": 37
- }
- },
- "callee": {
- "type": "MemberExpression",
- "start": 1139,
- "end": 1163,
- "loc": {
- "start": {
- "line": 44,
- "column": 5
- },
- "end": {
- "line": 44,
- "column": 29
- }
- },
- "object": {
- "type": "Identifier",
- "start": 1139,
- "end": 1148,
- "loc": {
- "start": {
- "line": 44,
- "column": 5
- },
- "end": {
- "line": 44,
- "column": 14
- },
- "identifierName": "fieldArgs"
- },
- "name": "fieldArgs"
- },
- "property": {
- "type": "Identifier",
- "start": 1149,
- "end": 1163,
- "loc": {
- "start": {
- "line": 44,
- "column": 15
- },
- "end": {
- "line": 44,
- "column": 29
- },
- "identifierName": "hasOwnProperty"
- },
- "name": "hasOwnProperty"
- },
- "computed": false
- },
- "arguments": [
- {
+ "test": {
"type": "StringLiteral",
- "start": 1164,
- "end": 1170,
+ "start": 1301,
+ "end": 1311,
"loc": {
"start": {
- "line": 44,
- "column": 30
+ "line": 48,
+ "column": 6
},
"end": {
- "line": 44,
- "column": 36
+ "line": 48,
+ "column": 16
}
},
"extra": {
- "rawValue": "desc",
- "raw": "'desc'"
+ "rawValue": "dropdown",
+ "raw": "'dropdown'"
},
- "value": "desc"
- }
- ]
- },
- "consequent": {
- "type": "BlockStatement",
- "start": 1173,
- "end": 1212,
- "loc": {
- "start": {
- "line": 44,
- "column": 39
- },
- "end": {
- "line": 46,
- "column": 2
+ "value": "dropdown"
}
},
- "body": [
- {
- "type": "ExpressionStatement",
- "start": 1177,
- "end": 1209,
- "loc": {
- "start": {
- "line": 45,
- "column": 2
- },
- "end": {
- "line": 45,
- "column": 34
- }
+ {
+ "type": "SwitchCase",
+ "start": 1352,
+ "end": 1408,
+ "loc": {
+ "start": {
+ "line": 51,
+ "column": 1
},
- "expression": {
- "type": "AssignmentExpression",
- "start": 1177,
- "end": 1208,
+ "end": {
+ "line": 53,
+ "column": 8
+ }
+ },
+ "consequent": [
+ {
+ "type": "ExpressionStatement",
+ "start": 1371,
+ "end": 1399,
"loc": {
"start": {
- "line": 45,
+ "line": 52,
"column": 2
},
"end": {
- "line": 45,
- "column": 33
+ "line": 52,
+ "column": 30
}
},
- "operator": "=",
- "left": {
- "type": "MemberExpression",
- "start": 1177,
- "end": 1191,
+ "expression": {
+ "type": "AssignmentExpression",
+ "start": 1371,
+ "end": 1398,
"loc": {
"start": {
- "line": 45,
+ "line": 52,
"column": 2
},
"end": {
- "line": 45,
- "column": 16
+ "line": 52,
+ "column": 29
}
},
- "object": {
- "type": "Identifier",
- "start": 1177,
- "end": 1186,
+ "operator": "=",
+ "left": {
+ "type": "MemberExpression",
+ "start": 1371,
+ "end": 1385,
"loc": {
"start": {
- "line": 45,
+ "line": 52,
"column": 2
},
"end": {
- "line": 45,
- "column": 11
- },
- "identifierName": "fieldArgs"
- },
- "name": "fieldArgs"
- },
- "property": {
- "type": "Identifier",
- "start": 1187,
- "end": 1191,
- "loc": {
- "start": {
- "line": 45,
- "column": 12
- },
- "end": {
- "line": 45,
+ "line": 52,
"column": 16
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 1371,
+ "end": 1380,
+ "loc": {
+ "start": {
+ "line": 52,
+ "column": 2
+ },
+ "end": {
+ "line": 52,
+ "column": 11
+ },
+ "identifierName": "fieldArgs"
},
- "identifierName": "help"
+ "name": "fieldArgs"
},
- "name": "help"
- },
- "computed": false
- },
- "right": {
- "type": "MemberExpression",
- "start": 1194,
- "end": 1208,
- "loc": {
- "start": {
- "line": 45,
- "column": 19
+ "property": {
+ "type": "Identifier",
+ "start": 1381,
+ "end": 1385,
+ "loc": {
+ "start": {
+ "line": 52,
+ "column": 12
+ },
+ "end": {
+ "line": 52,
+ "column": 16
+ },
+ "identifierName": "type"
+ },
+ "name": "type"
},
- "end": {
- "line": 45,
- "column": 33
- }
+ "computed": false
},
- "object": {
- "type": "Identifier",
- "start": 1194,
- "end": 1203,
+ "right": {
+ "type": "StringLiteral",
+ "start": 1388,
+ "end": 1398,
"loc": {
"start": {
- "line": 45,
+ "line": 52,
"column": 19
},
"end": {
- "line": 45,
- "column": 28
- },
- "identifierName": "fieldArgs"
- },
- "name": "fieldArgs"
- },
- "property": {
- "type": "Identifier",
- "start": 1204,
- "end": 1208,
- "loc": {
- "start": {
- "line": 45,
+ "line": 52,
"column": 29
- },
- "end": {
- "line": 45,
- "column": 33
- },
- "identifierName": "desc"
+ }
},
- "name": "desc"
- },
- "computed": false
+ "extra": {
+ "rawValue": "fieldset",
+ "raw": "'fieldset'"
+ },
+ "value": "fieldset"
+ }
}
+ },
+ {
+ "type": "BreakStatement",
+ "start": 1402,
+ "end": 1408,
+ "loc": {
+ "start": {
+ "line": 53,
+ "column": 2
+ },
+ "end": {
+ "line": 53,
+ "column": 8
+ }
+ },
+ "label": null
}
- }
- ],
- "directives": []
- },
- "alternate": null
- },
- {
- "type": "IfStatement",
- "start": 1214,
- "end": 1305,
- "loc": {
- "start": {
- "line": 47,
- "column": 1
- },
- "end": {
- "line": 49,
- "column": 2
- }
- },
- "test": {
- "type": "CallExpression",
- "start": 1218,
- "end": 1257,
- "loc": {
- "start": {
- "line": 47,
- "column": 5
- },
- "end": {
- "line": 47,
- "column": 44
+ ],
+ "test": {
+ "type": "StringLiteral",
+ "start": 1357,
+ "end": 1367,
+ "loc": {
+ "start": {
+ "line": 51,
+ "column": 6
+ },
+ "end": {
+ "line": 51,
+ "column": 16
+ }
+ },
+ "extra": {
+ "rawValue": "fieldset",
+ "raw": "'fieldset'"
+ },
+ "value": "fieldset"
}
},
- "callee": {
- "type": "MemberExpression",
- "start": 1218,
- "end": 1242,
+ {
+ "type": "SwitchCase",
+ "start": 1410,
+ "end": 1422,
"loc": {
"start": {
- "line": 47,
- "column": 5
+ "line": 54,
+ "column": 1
},
"end": {
- "line": 47,
- "column": 29
+ "line": 54,
+ "column": 13
}
},
- "object": {
- "type": "Identifier",
- "start": 1218,
- "end": 1227,
+ "consequent": [],
+ "test": {
+ "type": "StringLiteral",
+ "start": 1415,
+ "end": 1421,
"loc": {
"start": {
- "line": 47,
- "column": 5
+ "line": 54,
+ "column": 6
},
"end": {
- "line": 47,
- "column": 14
- },
- "identifierName": "fieldArgs"
+ "line": 54,
+ "column": 12
+ }
},
- "name": "fieldArgs"
- },
- "property": {
- "type": "Identifier",
- "start": 1228,
- "end": 1242,
- "loc": {
- "start": {
- "line": 47,
- "column": 15
- },
- "end": {
- "line": 47,
- "column": 29
- },
- "identifierName": "hasOwnProperty"
+ "extra": {
+ "rawValue": "text",
+ "raw": "'text'"
},
- "name": "hasOwnProperty"
- },
- "computed": false
+ "value": "text"
+ }
},
- "arguments": [
- {
+ {
+ "type": "SwitchCase",
+ "start": 1424,
+ "end": 1438,
+ "loc": {
+ "start": {
+ "line": 55,
+ "column": 1
+ },
+ "end": {
+ "line": 55,
+ "column": 15
+ }
+ },
+ "consequent": [],
+ "test": {
"type": "StringLiteral",
- "start": 1243,
- "end": 1256,
+ "start": 1429,
+ "end": 1437,
"loc": {
"start": {
- "line": 47,
- "column": 30
+ "line": 55,
+ "column": 6
},
"end": {
- "line": 47,
- "column": 43
+ "line": 55,
+ "column": 14
}
},
"extra": {
- "rawValue": "description",
- "raw": "'description'"
+ "rawValue": "number",
+ "raw": "'number'"
},
- "value": "description"
- }
- ]
- },
- "consequent": {
- "type": "BlockStatement",
- "start": 1259,
- "end": 1305,
- "loc": {
- "start": {
- "line": 47,
- "column": 46
- },
- "end": {
- "line": 49,
- "column": 2
+ "value": "number"
}
},
- "body": [
- {
- "type": "ExpressionStatement",
- "start": 1263,
- "end": 1302,
- "loc": {
- "start": {
- "line": 48,
- "column": 2
- },
- "end": {
- "line": 48,
- "column": 41
- }
+ {
+ "type": "SwitchCase",
+ "start": 1440,
+ "end": 1569,
+ "loc": {
+ "start": {
+ "line": 56,
+ "column": 1
},
- "expression": {
- "type": "AssignmentExpression",
- "start": 1263,
- "end": 1301,
+ "end": {
+ "line": 59,
+ "column": 8
+ }
+ },
+ "consequent": [
+ {
+ "type": "ExpressionStatement",
+ "start": 1451,
+ "end": 1532,
"loc": {
"start": {
- "line": 48,
+ "line": 57,
"column": 2
},
"end": {
- "line": 48,
- "column": 40
+ "line": 57,
+ "column": 83
}
},
- "operator": "=",
- "left": {
- "type": "MemberExpression",
- "start": 1263,
- "end": 1277,
+ "expression": {
+ "type": "AssignmentExpression",
+ "start": 1451,
+ "end": 1531,
"loc": {
"start": {
- "line": 48,
+ "line": 57,
"column": 2
},
"end": {
- "line": 48,
- "column": 16
+ "line": 57,
+ "column": 82
}
},
- "object": {
- "type": "Identifier",
- "start": 1263,
- "end": 1272,
+ "operator": "=",
+ "left": {
+ "type": "MemberExpression",
+ "start": 1451,
+ "end": 1470,
"loc": {
"start": {
- "line": 48,
+ "line": 57,
"column": 2
},
"end": {
- "line": 48,
- "column": 11
+ "line": 57,
+ "column": 21
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 1451,
+ "end": 1460,
+ "loc": {
+ "start": {
+ "line": 57,
+ "column": 2
+ },
+ "end": {
+ "line": 57,
+ "column": 11
+ },
+ "identifierName": "fieldArgs"
},
- "identifierName": "fieldArgs"
+ "name": "fieldArgs"
},
- "name": "fieldArgs"
+ "property": {
+ "type": "Identifier",
+ "start": 1461,
+ "end": 1470,
+ "loc": {
+ "start": {
+ "line": 57,
+ "column": 12
+ },
+ "end": {
+ "line": 57,
+ "column": 21
+ },
+ "identifierName": "inputType"
+ },
+ "name": "inputType"
+ },
+ "computed": false
},
- "property": {
- "type": "Identifier",
- "start": 1273,
- "end": 1277,
+ "right": {
+ "type": "ConditionalExpression",
+ "start": 1473,
+ "end": 1531,
"loc": {
"start": {
- "line": 48,
- "column": 12
+ "line": 57,
+ "column": 24
},
"end": {
- "line": 48,
- "column": 16
+ "line": 57,
+ "column": 82
+ }
+ },
+ "test": {
+ "type": "CallExpression",
+ "start": 1473,
+ "end": 1505,
+ "loc": {
+ "start": {
+ "line": 57,
+ "column": 24
+ },
+ "end": {
+ "line": 57,
+ "column": 56
+ }
},
- "identifierName": "help"
+ "callee": {
+ "type": "Identifier",
+ "start": 1473,
+ "end": 1489,
+ "loc": {
+ "start": {
+ "line": 57,
+ "column": 24
+ },
+ "end": {
+ "line": 57,
+ "column": 40
+ },
+ "identifierName": "isValidHtml5type"
+ },
+ "name": "isValidHtml5type"
+ },
+ "arguments": [
+ {
+ "type": "MemberExpression",
+ "start": 1490,
+ "end": 1504,
+ "loc": {
+ "start": {
+ "line": 57,
+ "column": 41
+ },
+ "end": {
+ "line": 57,
+ "column": 55
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 1490,
+ "end": 1499,
+ "loc": {
+ "start": {
+ "line": 57,
+ "column": 41
+ },
+ "end": {
+ "line": 57,
+ "column": 50
+ },
+ "identifierName": "fieldArgs"
+ },
+ "name": "fieldArgs"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 1500,
+ "end": 1504,
+ "loc": {
+ "start": {
+ "line": 57,
+ "column": 51
+ },
+ "end": {
+ "line": 57,
+ "column": 55
+ },
+ "identifierName": "type"
+ },
+ "name": "type"
+ },
+ "computed": false
+ }
+ ]
},
- "name": "help"
+ "consequent": {
+ "type": "MemberExpression",
+ "start": 1508,
+ "end": 1522,
+ "loc": {
+ "start": {
+ "line": 57,
+ "column": 59
+ },
+ "end": {
+ "line": 57,
+ "column": 73
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 1508,
+ "end": 1517,
+ "loc": {
+ "start": {
+ "line": 57,
+ "column": 59
+ },
+ "end": {
+ "line": 57,
+ "column": 68
+ },
+ "identifierName": "fieldArgs"
+ },
+ "name": "fieldArgs"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 1518,
+ "end": 1522,
+ "loc": {
+ "start": {
+ "line": 57,
+ "column": 69
+ },
+ "end": {
+ "line": 57,
+ "column": 73
+ },
+ "identifierName": "type"
+ },
+ "name": "type"
+ },
+ "computed": false
+ },
+ "alternate": {
+ "type": "StringLiteral",
+ "start": 1525,
+ "end": 1531,
+ "loc": {
+ "start": {
+ "line": 57,
+ "column": 76
+ },
+ "end": {
+ "line": 57,
+ "column": 82
+ }
+ },
+ "extra": {
+ "rawValue": "text",
+ "raw": "'text'"
+ },
+ "value": "text"
+ }
+ }
+ }
+ },
+ {
+ "type": "ExpressionStatement",
+ "start": 1535,
+ "end": 1560,
+ "loc": {
+ "start": {
+ "line": 58,
+ "column": 2
},
- "computed": false
+ "end": {
+ "line": 58,
+ "column": 27
+ }
},
- "right": {
- "type": "MemberExpression",
- "start": 1280,
- "end": 1301,
+ "expression": {
+ "type": "AssignmentExpression",
+ "start": 1535,
+ "end": 1559,
"loc": {
"start": {
- "line": 48,
- "column": 19
+ "line": 58,
+ "column": 2
},
"end": {
- "line": 48,
- "column": 40
+ "line": 58,
+ "column": 26
}
},
- "object": {
- "type": "Identifier",
- "start": 1280,
- "end": 1289,
+ "operator": "=",
+ "left": {
+ "type": "MemberExpression",
+ "start": 1535,
+ "end": 1549,
"loc": {
"start": {
- "line": 48,
- "column": 19
+ "line": 58,
+ "column": 2
},
"end": {
- "line": 48,
- "column": 28
- },
- "identifierName": "fieldArgs"
+ "line": 58,
+ "column": 16
+ }
},
- "name": "fieldArgs"
+ "object": {
+ "type": "Identifier",
+ "start": 1535,
+ "end": 1544,
+ "loc": {
+ "start": {
+ "line": 58,
+ "column": 2
+ },
+ "end": {
+ "line": 58,
+ "column": 11
+ },
+ "identifierName": "fieldArgs"
+ },
+ "name": "fieldArgs"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 1545,
+ "end": 1549,
+ "loc": {
+ "start": {
+ "line": 58,
+ "column": 12
+ },
+ "end": {
+ "line": 58,
+ "column": 16
+ },
+ "identifierName": "type"
+ },
+ "name": "type"
+ },
+ "computed": false
},
- "property": {
- "type": "Identifier",
- "start": 1290,
- "end": 1301,
+ "right": {
+ "type": "StringLiteral",
+ "start": 1552,
+ "end": 1559,
"loc": {
"start": {
- "line": 48,
- "column": 29
+ "line": 58,
+ "column": 19
},
"end": {
- "line": 48,
- "column": 40
- },
- "identifierName": "description"
+ "line": 58,
+ "column": 26
+ }
},
- "name": "description"
- },
- "computed": false
+ "extra": {
+ "rawValue": "input",
+ "raw": "'input'"
+ },
+ "value": "input"
+ }
}
+ },
+ {
+ "type": "BreakStatement",
+ "start": 1563,
+ "end": 1569,
+ "loc": {
+ "start": {
+ "line": 59,
+ "column": 2
+ },
+ "end": {
+ "line": 59,
+ "column": 8
+ }
+ },
+ "label": null
}
- }
- ],
- "directives": []
- },
- "alternate": null
+ ],
+ "test": null
+ }
+ ]
},
{
- "type": "VariableDeclaration",
- "start": 1308,
- "end": 1328,
+ "type": "IfStatement",
+ "start": 1575,
+ "end": 1652,
"loc": {
"start": {
- "line": 51,
+ "line": 62,
"column": 1
},
"end": {
- "line": 51,
- "column": 21
+ "line": 64,
+ "column": 2
}
},
- "declarations": [
- {
- "type": "VariableDeclarator",
- "start": 1312,
- "end": 1327,
+ "test": {
+ "type": "CallExpression",
+ "start": 1579,
+ "end": 1611,
+ "loc": {
+ "start": {
+ "line": 62,
+ "column": 5
+ },
+ "end": {
+ "line": 62,
+ "column": 37
+ }
+ },
+ "callee": {
+ "type": "MemberExpression",
+ "start": 1579,
+ "end": 1603,
"loc": {
"start": {
- "line": 51,
+ "line": 62,
"column": 5
},
"end": {
- "line": 51,
- "column": 20
+ "line": 62,
+ "column": 29
}
},
- "id": {
+ "object": {
"type": "Identifier",
- "start": 1312,
- "end": 1322,
+ "start": 1579,
+ "end": 1588,
"loc": {
"start": {
- "line": 51,
+ "line": 62,
"column": 5
},
"end": {
- "line": 51,
+ "line": 62,
+ "column": 14
+ },
+ "identifierName": "fieldArgs"
+ },
+ "name": "fieldArgs"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 1589,
+ "end": 1603,
+ "loc": {
+ "start": {
+ "line": 62,
"column": 15
},
- "identifierName": "validators"
+ "end": {
+ "line": 62,
+ "column": 29
+ },
+ "identifierName": "hasOwnProperty"
},
- "name": "validators"
+ "name": "hasOwnProperty"
},
- "init": {
- "type": "ArrayExpression",
- "start": 1325,
- "end": 1327,
+ "computed": false
+ },
+ "arguments": [
+ {
+ "type": "StringLiteral",
+ "start": 1604,
+ "end": 1610,
"loc": {
"start": {
- "line": 51,
- "column": 18
+ "line": 62,
+ "column": 30
},
"end": {
- "line": 51,
- "column": 20
+ "line": 62,
+ "column": 36
}
},
- "elements": []
+ "extra": {
+ "rawValue": "desc",
+ "raw": "'desc'"
+ },
+ "value": "desc"
}
- }
- ],
- "kind": "let"
- },
- {
- "type": "IfStatement",
- "start": 1330,
- "end": 1454,
- "loc": {
- "start": {
- "line": 52,
- "column": 1
- },
- "end": {
- "line": 54,
- "column": 2
- }
+ ]
},
- "test": {
- "type": "LogicalExpression",
- "start": 1334,
- "end": 1412,
+ "consequent": {
+ "type": "BlockStatement",
+ "start": 1613,
+ "end": 1652,
"loc": {
"start": {
- "line": 52,
- "column": 5
+ "line": 62,
+ "column": 39
},
"end": {
- "line": 52,
- "column": 83
+ "line": 64,
+ "column": 2
}
},
- "left": {
- "type": "CallExpression",
- "start": 1334,
- "end": 1372,
- "loc": {
- "start": {
- "line": 52,
- "column": 5
- },
- "end": {
- "line": 52,
- "column": 43
- }
- },
- "callee": {
- "type": "MemberExpression",
- "start": 1334,
- "end": 1358,
+ "body": [
+ {
+ "type": "ExpressionStatement",
+ "start": 1617,
+ "end": 1649,
"loc": {
"start": {
- "line": 52,
- "column": 5
+ "line": 63,
+ "column": 2
},
"end": {
- "line": 52,
- "column": 29
+ "line": 63,
+ "column": 34
}
},
- "object": {
- "type": "Identifier",
- "start": 1334,
- "end": 1343,
+ "expression": {
+ "type": "AssignmentExpression",
+ "start": 1617,
+ "end": 1648,
"loc": {
"start": {
- "line": 52,
- "column": 5
+ "line": 63,
+ "column": 2
},
"end": {
- "line": 52,
- "column": 14
- },
- "identifierName": "fieldArgs"
+ "line": 63,
+ "column": 33
+ }
},
- "name": "fieldArgs"
- },
- "property": {
- "type": "Identifier",
- "start": 1344,
- "end": 1358,
- "loc": {
- "start": {
- "line": 52,
- "column": 15
+ "operator": "=",
+ "left": {
+ "type": "MemberExpression",
+ "start": 1617,
+ "end": 1631,
+ "loc": {
+ "start": {
+ "line": 63,
+ "column": 2
+ },
+ "end": {
+ "line": 63,
+ "column": 16
+ }
},
- "end": {
- "line": 52,
- "column": 29
+ "object": {
+ "type": "Identifier",
+ "start": 1617,
+ "end": 1626,
+ "loc": {
+ "start": {
+ "line": 63,
+ "column": 2
+ },
+ "end": {
+ "line": 63,
+ "column": 11
+ },
+ "identifierName": "fieldArgs"
+ },
+ "name": "fieldArgs"
},
- "identifierName": "hasOwnProperty"
- },
- "name": "hasOwnProperty"
- },
- "computed": false
- },
- "arguments": [
- {
- "type": "StringLiteral",
- "start": 1359,
- "end": 1371,
- "loc": {
- "start": {
- "line": 52,
- "column": 30
+ "property": {
+ "type": "Identifier",
+ "start": 1627,
+ "end": 1631,
+ "loc": {
+ "start": {
+ "line": 63,
+ "column": 12
+ },
+ "end": {
+ "line": 63,
+ "column": 16
+ },
+ "identifierName": "help"
+ },
+ "name": "help"
},
- "end": {
- "line": 52,
- "column": 42
- }
- },
- "extra": {
- "rawValue": "validators",
- "raw": "'validators'"
+ "computed": false
},
- "value": "validators"
+ "right": {
+ "type": "MemberExpression",
+ "start": 1634,
+ "end": 1648,
+ "loc": {
+ "start": {
+ "line": 63,
+ "column": 19
+ },
+ "end": {
+ "line": 63,
+ "column": 33
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 1634,
+ "end": 1643,
+ "loc": {
+ "start": {
+ "line": 63,
+ "column": 19
+ },
+ "end": {
+ "line": 63,
+ "column": 28
+ },
+ "identifierName": "fieldArgs"
+ },
+ "name": "fieldArgs"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 1644,
+ "end": 1648,
+ "loc": {
+ "start": {
+ "line": 63,
+ "column": 29
+ },
+ "end": {
+ "line": 63,
+ "column": 33
+ },
+ "identifierName": "desc"
+ },
+ "name": "desc"
+ },
+ "computed": false
+ }
}
- ]
+ }
+ ],
+ "directives": []
+ },
+ "alternate": null
+ },
+ {
+ "type": "IfStatement",
+ "start": 1654,
+ "end": 1745,
+ "loc": {
+ "start": {
+ "line": 65,
+ "column": 1
},
- "operator": "&&",
- "right": {
- "type": "CallExpression",
- "start": 1376,
- "end": 1412,
+ "end": {
+ "line": 67,
+ "column": 2
+ }
+ },
+ "test": {
+ "type": "CallExpression",
+ "start": 1658,
+ "end": 1697,
+ "loc": {
+ "start": {
+ "line": 65,
+ "column": 5
+ },
+ "end": {
+ "line": 65,
+ "column": 44
+ }
+ },
+ "callee": {
+ "type": "MemberExpression",
+ "start": 1658,
+ "end": 1682,
"loc": {
"start": {
- "line": 52,
- "column": 47
+ "line": 65,
+ "column": 5
},
"end": {
- "line": 52,
- "column": 83
+ "line": 65,
+ "column": 29
}
},
- "callee": {
- "type": "MemberExpression",
- "start": 1376,
- "end": 1389,
+ "object": {
+ "type": "Identifier",
+ "start": 1658,
+ "end": 1667,
"loc": {
"start": {
- "line": 52,
- "column": 47
+ "line": 65,
+ "column": 5
},
"end": {
- "line": 52,
- "column": 60
- }
- },
- "object": {
- "type": "Identifier",
- "start": 1376,
- "end": 1381,
- "loc": {
- "start": {
- "line": 52,
- "column": 47
- },
- "end": {
- "line": 52,
- "column": 52
- },
- "identifierName": "Array"
- },
- "name": "Array"
- },
- "property": {
- "type": "Identifier",
- "start": 1382,
- "end": 1389,
- "loc": {
- "start": {
- "line": 52,
- "column": 53
- },
- "end": {
- "line": 52,
- "column": 60
- },
- "identifierName": "isArray"
+ "line": 65,
+ "column": 14
},
- "name": "isArray"
+ "identifierName": "fieldArgs"
},
- "computed": false
+ "name": "fieldArgs"
},
- "arguments": [
- {
- "type": "MemberExpression",
- "start": 1390,
- "end": 1410,
- "loc": {
- "start": {
- "line": 52,
- "column": 61
- },
- "end": {
- "line": 52,
- "column": 81
- }
+ "property": {
+ "type": "Identifier",
+ "start": 1668,
+ "end": 1682,
+ "loc": {
+ "start": {
+ "line": 65,
+ "column": 15
},
- "object": {
- "type": "Identifier",
- "start": 1390,
- "end": 1399,
- "loc": {
- "start": {
- "line": 52,
- "column": 61
- },
- "end": {
- "line": 52,
- "column": 70
- },
- "identifierName": "fieldArgs"
- },
- "name": "fieldArgs"
+ "end": {
+ "line": 65,
+ "column": 29
},
- "property": {
- "type": "Identifier",
- "start": 1400,
- "end": 1410,
- "loc": {
- "start": {
- "line": 52,
- "column": 71
- },
- "end": {
- "line": 52,
- "column": 81
- },
- "identifierName": "validators"
- },
- "name": "validators"
+ "identifierName": "hasOwnProperty"
+ },
+ "name": "hasOwnProperty"
+ },
+ "computed": false
+ },
+ "arguments": [
+ {
+ "type": "StringLiteral",
+ "start": 1683,
+ "end": 1696,
+ "loc": {
+ "start": {
+ "line": 65,
+ "column": 30
},
- "computed": false
- }
- ]
- }
+ "end": {
+ "line": 65,
+ "column": 43
+ }
+ },
+ "extra": {
+ "rawValue": "description",
+ "raw": "'description'"
+ },
+ "value": "description"
+ }
+ ]
},
"consequent": {
"type": "BlockStatement",
- "start": 1413,
- "end": 1454,
+ "start": 1699,
+ "end": 1745,
"loc": {
"start": {
- "line": 52,
- "column": 84
+ "line": 65,
+ "column": 46
},
"end": {
- "line": 54,
+ "line": 67,
"column": 2
}
},
"body": [
{
"type": "ExpressionStatement",
- "start": 1417,
- "end": 1451,
+ "start": 1703,
+ "end": 1742,
"loc": {
"start": {
- "line": 53,
+ "line": 66,
"column": 2
},
"end": {
- "line": 53,
- "column": 36
+ "line": 66,
+ "column": 41
}
},
"expression": {
"type": "AssignmentExpression",
- "start": 1417,
- "end": 1450,
+ "start": 1703,
+ "end": 1741,
"loc": {
"start": {
- "line": 53,
+ "line": 66,
"column": 2
},
"end": {
- "line": 53,
- "column": 35
+ "line": 66,
+ "column": 40
}
},
"operator": "=",
"left": {
- "type": "Identifier",
- "start": 1417,
- "end": 1427,
+ "type": "MemberExpression",
+ "start": 1703,
+ "end": 1717,
"loc": {
"start": {
- "line": 53,
+ "line": 66,
"column": 2
},
"end": {
- "line": 53,
- "column": 12
+ "line": 66,
+ "column": 16
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 1703,
+ "end": 1712,
+ "loc": {
+ "start": {
+ "line": 66,
+ "column": 2
+ },
+ "end": {
+ "line": 66,
+ "column": 11
+ },
+ "identifierName": "fieldArgs"
},
- "identifierName": "validators"
+ "name": "fieldArgs"
},
- "name": "validators"
+ "property": {
+ "type": "Identifier",
+ "start": 1713,
+ "end": 1717,
+ "loc": {
+ "start": {
+ "line": 66,
+ "column": 12
+ },
+ "end": {
+ "line": 66,
+ "column": 16
+ },
+ "identifierName": "help"
+ },
+ "name": "help"
+ },
+ "computed": false
},
"right": {
"type": "MemberExpression",
- "start": 1430,
- "end": 1450,
+ "start": 1720,
+ "end": 1741,
"loc": {
"start": {
- "line": 53,
- "column": 15
+ "line": 66,
+ "column": 19
},
"end": {
- "line": 53,
- "column": 35
+ "line": 66,
+ "column": 40
}
},
"object": {
"type": "Identifier",
- "start": 1430,
- "end": 1439,
+ "start": 1720,
+ "end": 1729,
"loc": {
"start": {
- "line": 53,
- "column": 15
+ "line": 66,
+ "column": 19
},
"end": {
- "line": 53,
- "column": 24
+ "line": 66,
+ "column": 28
},
"identifierName": "fieldArgs"
},
@@ -2933,20 +3648,20 @@
},
"property": {
"type": "Identifier",
- "start": 1440,
- "end": 1450,
+ "start": 1730,
+ "end": 1741,
"loc": {
"start": {
- "line": 53,
- "column": 25
+ "line": 66,
+ "column": 29
},
"end": {
- "line": 53,
- "column": 35
+ "line": 66,
+ "column": 40
},
- "identifierName": "validators"
+ "identifierName": "description"
},
- "name": "validators"
+ "name": "description"
},
"computed": false
}
@@ -2959,707 +3674,543 @@
},
{
"type": "VariableDeclaration",
- "start": 1457,
- "end": 1542,
+ "start": 1748,
+ "end": 1768,
"loc": {
"start": {
- "line": 56,
+ "line": 69,
"column": 1
},
"end": {
- "line": 56,
- "column": 86
+ "line": 69,
+ "column": 21
}
},
"declarations": [
{
"type": "VariableDeclarator",
- "start": 1463,
- "end": 1541,
+ "start": 1752,
+ "end": 1767,
"loc": {
"start": {
- "line": 56,
- "column": 7
+ "line": 69,
+ "column": 5
},
"end": {
- "line": 56,
- "column": 85
+ "line": 69,
+ "column": 20
}
},
"id": {
"type": "Identifier",
- "start": 1463,
- "end": 1467,
+ "start": 1752,
+ "end": 1762,
"loc": {
"start": {
- "line": 56,
- "column": 7
+ "line": 69,
+ "column": 5
},
"end": {
- "line": 56,
- "column": 11
+ "line": 69,
+ "column": 15
},
- "identifierName": "keys"
+ "identifierName": "validators"
},
- "name": "keys"
+ "name": "validators"
},
"init": {
- "type": "ConditionalExpression",
- "start": 1470,
- "end": 1541,
+ "type": "ArrayExpression",
+ "start": 1765,
+ "end": 1767,
"loc": {
"start": {
- "line": 56,
- "column": 14
+ "line": 69,
+ "column": 18
},
"end": {
- "line": 56,
- "column": 85
- }
- },
- "test": {
- "type": "BinaryExpression",
- "start": 1470,
- "end": 1496,
- "loc": {
- "start": {
- "line": 56,
- "column": 14
- },
- "end": {
- "line": 56,
- "column": 40
- }
- },
- "left": {
- "type": "StringLiteral",
- "start": 1470,
- "end": 1477,
- "loc": {
- "start": {
- "line": 56,
- "column": 14
- },
- "end": {
- "line": 56,
- "column": 21
- }
- },
- "extra": {
- "rawValue": "magic",
- "raw": "'magic'"
- },
- "value": "magic"
- },
- "operator": "===",
- "right": {
- "type": "MemberExpression",
- "start": 1482,
- "end": 1496,
- "loc": {
- "start": {
- "line": 56,
- "column": 26
- },
- "end": {
- "line": 56,
- "column": 40
- }
- },
- "object": {
- "type": "Identifier",
- "start": 1482,
- "end": 1491,
- "loc": {
- "start": {
- "line": 56,
- "column": 26
- },
- "end": {
- "line": 56,
- "column": 35
- },
- "identifierName": "fieldArgs"
- },
- "name": "fieldArgs"
- },
- "property": {
- "type": "Identifier",
- "start": 1492,
- "end": 1496,
- "loc": {
- "start": {
- "line": 56,
- "column": 36
- },
- "end": {
- "line": 56,
- "column": 40
- },
- "identifierName": "type"
- },
- "name": "type"
- },
- "computed": false
+ "line": 69,
+ "column": 20
}
},
- "consequent": {
- "type": "Identifier",
- "start": 1500,
- "end": 1519,
- "loc": {
- "start": {
- "line": 56,
- "column": 44
- },
- "end": {
- "line": 56,
- "column": 63
- },
- "identifierName": "magicGroupPropTypes"
- },
- "name": "magicGroupPropTypes"
- },
- "alternate": {
- "type": "Identifier",
- "start": 1522,
- "end": 1541,
- "loc": {
- "start": {
- "line": 56,
- "column": 66
- },
- "end": {
- "line": 56,
- "column": 85
- },
- "identifierName": "fieldGroupPropTypes"
- },
- "name": "fieldGroupPropTypes"
- }
+ "elements": []
}
}
],
- "kind": "const"
+ "kind": "let"
},
{
- "type": "ExpressionStatement",
- "start": 1544,
- "end": 1591,
+ "type": "IfStatement",
+ "start": 1770,
+ "end": 1894,
"loc": {
"start": {
- "line": 57,
+ "line": 70,
"column": 1
},
"end": {
- "line": 57,
- "column": 48
+ "line": 72,
+ "column": 2
}
},
- "expression": {
- "type": "AssignmentExpression",
- "start": 1544,
- "end": 1590,
+ "test": {
+ "type": "LogicalExpression",
+ "start": 1774,
+ "end": 1851,
"loc": {
"start": {
- "line": 57,
- "column": 1
+ "line": 70,
+ "column": 5
},
"end": {
- "line": 57,
- "column": 47
+ "line": 70,
+ "column": 82
}
},
- "operator": "=",
"left": {
- "type": "Identifier",
- "start": 1544,
- "end": 1553,
+ "type": "CallExpression",
+ "start": 1774,
+ "end": 1812,
"loc": {
"start": {
- "line": 57,
- "column": 1
+ "line": 70,
+ "column": 5
},
"end": {
- "line": 57,
- "column": 10
+ "line": 70,
+ "column": 43
+ }
+ },
+ "callee": {
+ "type": "MemberExpression",
+ "start": 1774,
+ "end": 1798,
+ "loc": {
+ "start": {
+ "line": 70,
+ "column": 5
+ },
+ "end": {
+ "line": 70,
+ "column": 29
+ }
},
- "identifierName": "fieldArgs"
+ "object": {
+ "type": "Identifier",
+ "start": 1774,
+ "end": 1783,
+ "loc": {
+ "start": {
+ "line": 70,
+ "column": 5
+ },
+ "end": {
+ "line": 70,
+ "column": 14
+ },
+ "identifierName": "fieldArgs"
+ },
+ "name": "fieldArgs"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 1784,
+ "end": 1798,
+ "loc": {
+ "start": {
+ "line": 70,
+ "column": 15
+ },
+ "end": {
+ "line": 70,
+ "column": 29
+ },
+ "identifierName": "hasOwnProperty"
+ },
+ "name": "hasOwnProperty"
+ },
+ "computed": false
},
- "name": "fieldArgs"
+ "arguments": [
+ {
+ "type": "StringLiteral",
+ "start": 1799,
+ "end": 1811,
+ "loc": {
+ "start": {
+ "line": 70,
+ "column": 30
+ },
+ "end": {
+ "line": 70,
+ "column": 42
+ }
+ },
+ "extra": {
+ "rawValue": "validators",
+ "raw": "'validators'"
+ },
+ "value": "validators"
+ }
+ ]
},
+ "operator": "&&",
"right": {
"type": "CallExpression",
- "start": 1556,
- "end": 1590,
+ "start": 1816,
+ "end": 1851,
"loc": {
"start": {
- "line": 57,
- "column": 13
+ "line": 70,
+ "column": 47
},
"end": {
- "line": 57,
- "column": 47
+ "line": 70,
+ "column": 82
}
},
"callee": {
- "type": "Identifier",
- "start": 1556,
- "end": 1560,
+ "type": "MemberExpression",
+ "start": 1816,
+ "end": 1829,
"loc": {
"start": {
- "line": 57,
- "column": 13
+ "line": 70,
+ "column": 47
},
"end": {
- "line": 57,
- "column": 17
+ "line": 70,
+ "column": 60
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 1816,
+ "end": 1821,
+ "loc": {
+ "start": {
+ "line": 70,
+ "column": 47
+ },
+ "end": {
+ "line": 70,
+ "column": 52
+ },
+ "identifierName": "Array"
},
- "identifierName": "pick"
+ "name": "Array"
},
- "name": "pick"
- },
- "arguments": [
- {
+ "property": {
"type": "Identifier",
- "start": 1561,
- "end": 1570,
+ "start": 1822,
+ "end": 1829,
"loc": {
"start": {
- "line": 57,
- "column": 18
+ "line": 70,
+ "column": 53
},
"end": {
- "line": 57,
- "column": 27
+ "line": 70,
+ "column": 60
},
- "identifierName": "fieldArgs"
+ "identifierName": "isArray"
},
- "name": "fieldArgs"
+ "name": "isArray"
},
+ "computed": false
+ },
+ "arguments": [
{
- "type": "CallExpression",
- "start": 1572,
- "end": 1589,
+ "type": "MemberExpression",
+ "start": 1830,
+ "end": 1850,
"loc": {
"start": {
- "line": 57,
- "column": 29
+ "line": 70,
+ "column": 61
},
"end": {
- "line": 57,
- "column": 46
+ "line": 70,
+ "column": 81
}
},
- "callee": {
- "type": "MemberExpression",
- "start": 1572,
- "end": 1583,
+ "object": {
+ "type": "Identifier",
+ "start": 1830,
+ "end": 1839,
"loc": {
"start": {
- "line": 57,
- "column": 29
+ "line": 70,
+ "column": 61
},
"end": {
- "line": 57,
- "column": 40
- }
- },
- "object": {
- "type": "Identifier",
- "start": 1572,
- "end": 1578,
- "loc": {
- "start": {
- "line": 57,
- "column": 29
- },
- "end": {
- "line": 57,
- "column": 35
- },
- "identifierName": "Object"
+ "line": 70,
+ "column": 70
},
- "name": "Object"
+ "identifierName": "fieldArgs"
},
- "property": {
- "type": "Identifier",
- "start": 1579,
- "end": 1583,
- "loc": {
- "start": {
- "line": 57,
- "column": 36
- },
- "end": {
- "line": 57,
- "column": 40
- },
- "identifierName": "keys"
+ "name": "fieldArgs"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 1840,
+ "end": 1850,
+ "loc": {
+ "start": {
+ "line": 70,
+ "column": 71
},
- "name": "keys"
+ "end": {
+ "line": 70,
+ "column": 81
+ },
+ "identifierName": "validators"
},
- "computed": false
+ "name": "validators"
},
- "arguments": [
- {
- "type": "Identifier",
- "start": 1584,
- "end": 1588,
- "loc": {
- "start": {
- "line": 57,
- "column": 41
- },
- "end": {
- "line": 57,
- "column": 45
- },
- "identifierName": "keys"
- },
- "name": "keys"
- }
- ]
+ "computed": false
}
]
}
- }
- },
- {
- "type": "ExpressionStatement",
- "start": 1593,
- "end": 1644,
- "loc": {
- "start": {
- "line": 58,
- "column": 1
- },
- "end": {
- "line": 58,
- "column": 52
- }
},
- "expression": {
- "type": "AssignmentExpression",
- "start": 1593,
- "end": 1643,
+ "consequent": {
+ "type": "BlockStatement",
+ "start": 1853,
+ "end": 1894,
"loc": {
"start": {
- "line": 58,
- "column": 1
+ "line": 70,
+ "column": 84
},
"end": {
- "line": 58,
- "column": 51
+ "line": 72,
+ "column": 2
}
},
- "operator": "=",
- "left": {
- "type": "MemberExpression",
- "start": 1593,
- "end": 1611,
- "loc": {
- "start": {
- "line": 58,
- "column": 1
- },
- "end": {
- "line": 58,
- "column": 19
- }
- },
- "object": {
- "type": "Identifier",
- "start": 1593,
- "end": 1602,
- "loc": {
- "start": {
- "line": 58,
- "column": 1
- },
- "end": {
- "line": 58,
- "column": 10
- },
- "identifierName": "fieldArgs"
- },
- "name": "fieldArgs"
- },
- "property": {
- "type": "Identifier",
- "start": 1603,
- "end": 1611,
- "loc": {
- "start": {
- "line": 58,
- "column": 11
- },
- "end": {
- "line": 58,
- "column": 19
- },
- "identifierName": "disabled"
- },
- "name": "disabled"
- },
- "computed": false
- },
- "right": {
- "type": "CallExpression",
- "start": 1614,
- "end": 1643,
- "loc": {
- "start": {
- "line": 58,
- "column": 22
- },
- "end": {
- "line": 58,
- "column": 51
- }
- },
- "callee": {
- "type": "Identifier",
- "start": 1614,
- "end": 1623,
+ "body": [
+ {
+ "type": "ExpressionStatement",
+ "start": 1857,
+ "end": 1891,
"loc": {
"start": {
- "line": 58,
- "column": 22
+ "line": 71,
+ "column": 2
},
"end": {
- "line": 58,
- "column": 31
- },
- "identifierName": "toBoolean"
+ "line": 71,
+ "column": 36
+ }
},
- "name": "toBoolean"
- },
- "arguments": [
- {
- "type": "MemberExpression",
- "start": 1624,
- "end": 1642,
+ "expression": {
+ "type": "AssignmentExpression",
+ "start": 1857,
+ "end": 1890,
"loc": {
"start": {
- "line": 58,
- "column": 32
+ "line": 71,
+ "column": 2
},
"end": {
- "line": 58,
- "column": 50
+ "line": 71,
+ "column": 35
}
},
- "object": {
+ "operator": "=",
+ "left": {
"type": "Identifier",
- "start": 1624,
- "end": 1633,
+ "start": 1857,
+ "end": 1867,
"loc": {
"start": {
- "line": 58,
- "column": 32
+ "line": 71,
+ "column": 2
},
"end": {
- "line": 58,
- "column": 41
+ "line": 71,
+ "column": 12
},
- "identifierName": "fieldArgs"
+ "identifierName": "validators"
},
- "name": "fieldArgs"
+ "name": "validators"
},
- "property": {
- "type": "Identifier",
- "start": 1634,
- "end": 1642,
+ "right": {
+ "type": "MemberExpression",
+ "start": 1870,
+ "end": 1890,
"loc": {
"start": {
- "line": 58,
- "column": 42
+ "line": 71,
+ "column": 15
},
"end": {
- "line": 58,
- "column": 50
+ "line": 71,
+ "column": 35
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 1870,
+ "end": 1879,
+ "loc": {
+ "start": {
+ "line": 71,
+ "column": 15
+ },
+ "end": {
+ "line": 71,
+ "column": 24
+ },
+ "identifierName": "fieldArgs"
+ },
+ "name": "fieldArgs"
+ },
+ "property": {
+ "type": "Identifier",
+ "start": 1880,
+ "end": 1890,
+ "loc": {
+ "start": {
+ "line": 71,
+ "column": 25
+ },
+ "end": {
+ "line": 71,
+ "column": 35
+ },
+ "identifierName": "validators"
},
- "identifierName": "disabled"
+ "name": "validators"
},
- "name": "disabled"
- },
- "computed": false
+ "computed": false
+ }
}
- ]
- }
- }
+ }
+ ],
+ "directives": []
+ },
+ "alternate": null
},
{
- "type": "ExpressionStatement",
- "start": 1646,
- "end": 1805,
+ "type": "VariableDeclaration",
+ "start": 1897,
+ "end": 1981,
"loc": {
"start": {
- "line": 59,
+ "line": 74,
"column": 1
},
"end": {
- "line": 61,
- "column": 56
+ "line": 74,
+ "column": 85
}
},
- "expression": {
- "type": "AssignmentExpression",
- "start": 1646,
- "end": 1804,
- "loc": {
- "start": {
- "line": 59,
- "column": 1
- },
- "end": {
- "line": 61,
- "column": 55
- }
- },
- "operator": "=",
- "left": {
- "type": "MemberExpression",
- "start": 1646,
- "end": 1663,
+ "declarations": [
+ {
+ "type": "VariableDeclarator",
+ "start": 1903,
+ "end": 1980,
"loc": {
"start": {
- "line": 59,
- "column": 1
+ "line": 74,
+ "column": 7
},
"end": {
- "line": 59,
- "column": 18
+ "line": 74,
+ "column": 84
}
},
- "object": {
+ "id": {
"type": "Identifier",
- "start": 1646,
- "end": 1655,
+ "start": 1903,
+ "end": 1907,
"loc": {
"start": {
- "line": 59,
- "column": 1
+ "line": 74,
+ "column": 7
},
"end": {
- "line": 59,
- "column": 10
- },
- "identifierName": "fieldArgs"
- },
- "name": "fieldArgs"
- },
- "property": {
- "type": "Identifier",
- "start": 1656,
- "end": 1663,
- "loc": {
- "start": {
- "line": 59,
+ "line": 74,
"column": 11
},
- "end": {
- "line": 59,
- "column": 18
- },
- "identifierName": "message"
- },
- "name": "message"
- },
- "computed": false
- },
- "right": {
- "type": "ConditionalExpression",
- "start": 1666,
- "end": 1804,
- "loc": {
- "start": {
- "line": 59,
- "column": 21
+ "identifierName": "keys"
},
- "end": {
- "line": 61,
- "column": 55
- }
+ "name": "keys"
},
- "test": {
- "type": "BinaryExpression",
- "start": 1666,
- "end": 1704,
+ "init": {
+ "type": "ConditionalExpression",
+ "start": 1910,
+ "end": 1980,
"loc": {
"start": {
- "line": 59,
- "column": 21
+ "line": 74,
+ "column": 14
},
"end": {
- "line": 59,
- "column": 59
+ "line": 74,
+ "column": 84
}
},
- "left": {
- "type": "StringLiteral",
- "start": 1666,
- "end": 1674,
+ "test": {
+ "type": "BinaryExpression",
+ "start": 1910,
+ "end": 1936,
"loc": {
"start": {
- "line": 59,
- "column": 21
+ "line": 74,
+ "column": 14
},
"end": {
- "line": 59,
- "column": 29
+ "line": 74,
+ "column": 40
}
},
- "extra": {
- "rawValue": "object",
- "raw": "'object'"
- },
- "value": "object"
- },
- "operator": "===",
- "right": {
- "type": "UnaryExpression",
- "start": 1679,
- "end": 1704,
- "loc": {
- "start": {
- "line": 59,
- "column": 34
+ "left": {
+ "type": "StringLiteral",
+ "start": 1910,
+ "end": 1917,
+ "loc": {
+ "start": {
+ "line": 74,
+ "column": 14
+ },
+ "end": {
+ "line": 74,
+ "column": 21
+ }
},
- "end": {
- "line": 59,
- "column": 59
- }
+ "extra": {
+ "rawValue": "magic",
+ "raw": "'magic'"
+ },
+ "value": "magic"
},
- "operator": "typeof",
- "prefix": true,
- "argument": {
+ "operator": "===",
+ "right": {
"type": "MemberExpression",
- "start": 1687,
- "end": 1704,
+ "start": 1922,
+ "end": 1936,
"loc": {
"start": {
- "line": 59,
- "column": 42
+ "line": 74,
+ "column": 26
},
"end": {
- "line": 59,
- "column": 59
+ "line": 74,
+ "column": 40
}
},
"object": {
"type": "Identifier",
- "start": 1687,
- "end": 1696,
+ "start": 1922,
+ "end": 1931,
"loc": {
"start": {
- "line": 59,
- "column": 42
+ "line": 74,
+ "column": 26
},
"end": {
- "line": 59,
- "column": 51
+ "line": 74,
+ "column": 35
},
"identifierName": "fieldArgs"
},
@@ -3667,321 +4218,399 @@
},
"property": {
"type": "Identifier",
- "start": 1697,
- "end": 1704,
+ "start": 1932,
+ "end": 1936,
"loc": {
"start": {
- "line": 59,
- "column": 52
+ "line": 74,
+ "column": 36
},
"end": {
- "line": 59,
- "column": 59
+ "line": 74,
+ "column": 40
},
- "identifierName": "message"
+ "identifierName": "type"
},
- "name": "message"
+ "name": "type"
},
"computed": false
- },
- "extra": {
- "parenthesizedArgument": false
}
+ },
+ "consequent": {
+ "type": "Identifier",
+ "start": 1939,
+ "end": 1958,
+ "loc": {
+ "start": {
+ "line": 74,
+ "column": 43
+ },
+ "end": {
+ "line": 74,
+ "column": 62
+ },
+ "identifierName": "magicGroupPropTypes"
+ },
+ "name": "magicGroupPropTypes"
+ },
+ "alternate": {
+ "type": "Identifier",
+ "start": 1961,
+ "end": 1980,
+ "loc": {
+ "start": {
+ "line": 74,
+ "column": 65
+ },
+ "end": {
+ "line": 74,
+ "column": 84
+ },
+ "identifierName": "fieldGroupPropTypes"
+ },
+ "name": "fieldGroupPropTypes"
+ }
+ }
+ }
+ ],
+ "kind": "const"
+ },
+ {
+ "type": "ExpressionStatement",
+ "start": 1983,
+ "end": 2030,
+ "loc": {
+ "start": {
+ "line": 75,
+ "column": 1
+ },
+ "end": {
+ "line": 75,
+ "column": 48
+ }
+ },
+ "expression": {
+ "type": "AssignmentExpression",
+ "start": 1983,
+ "end": 2029,
+ "loc": {
+ "start": {
+ "line": 75,
+ "column": 1
+ },
+ "end": {
+ "line": 75,
+ "column": 47
+ }
+ },
+ "operator": "=",
+ "left": {
+ "type": "Identifier",
+ "start": 1983,
+ "end": 1992,
+ "loc": {
+ "start": {
+ "line": 75,
+ "column": 1
+ },
+ "end": {
+ "line": 75,
+ "column": 10
+ },
+ "identifierName": "fieldArgs"
+ },
+ "name": "fieldArgs"
+ },
+ "right": {
+ "type": "CallExpression",
+ "start": 1995,
+ "end": 2029,
+ "loc": {
+ "start": {
+ "line": 75,
+ "column": 13
+ },
+ "end": {
+ "line": 75,
+ "column": 47
}
},
- "consequent": {
- "type": "CallExpression",
- "start": 1709,
- "end": 1748,
+ "callee": {
+ "type": "Identifier",
+ "start": 1995,
+ "end": 1999,
"loc": {
"start": {
- "line": 60,
- "column": 4
+ "line": 75,
+ "column": 13
},
"end": {
- "line": 60,
- "column": 43
- }
+ "line": 75,
+ "column": 17
+ },
+ "identifierName": "pick"
},
- "callee": {
+ "name": "pick"
+ },
+ "arguments": [
+ {
"type": "Identifier",
- "start": 1709,
- "end": 1729,
+ "start": 2000,
+ "end": 2009,
"loc": {
"start": {
- "line": 60,
- "column": 4
+ "line": 75,
+ "column": 18
},
"end": {
- "line": 60,
- "column": 24
+ "line": 75,
+ "column": 27
},
- "identifierName": "messageObjectFactory"
+ "identifierName": "fieldArgs"
},
- "name": "messageObjectFactory"
+ "name": "fieldArgs"
},
- "arguments": [
- {
+ {
+ "type": "CallExpression",
+ "start": 2011,
+ "end": 2028,
+ "loc": {
+ "start": {
+ "line": 75,
+ "column": 29
+ },
+ "end": {
+ "line": 75,
+ "column": 46
+ }
+ },
+ "callee": {
"type": "MemberExpression",
- "start": 1730,
- "end": 1747,
+ "start": 2011,
+ "end": 2022,
"loc": {
"start": {
- "line": 60,
- "column": 25
+ "line": 75,
+ "column": 29
},
"end": {
- "line": 60,
- "column": 42
+ "line": 75,
+ "column": 40
}
},
"object": {
"type": "Identifier",
- "start": 1730,
- "end": 1739,
+ "start": 2011,
+ "end": 2017,
"loc": {
"start": {
- "line": 60,
- "column": 25
+ "line": 75,
+ "column": 29
},
"end": {
- "line": 60,
- "column": 34
+ "line": 75,
+ "column": 35
},
- "identifierName": "fieldArgs"
+ "identifierName": "Object"
},
- "name": "fieldArgs"
+ "name": "Object"
},
"property": {
"type": "Identifier",
- "start": 1740,
- "end": 1747,
+ "start": 2018,
+ "end": 2022,
"loc": {
"start": {
- "line": 60,
- "column": 35
+ "line": 75,
+ "column": 36
},
"end": {
- "line": 60,
- "column": 42
+ "line": 75,
+ "column": 40
},
- "identifierName": "message"
+ "identifierName": "keys"
},
- "name": "message"
+ "name": "keys"
},
"computed": false
- }
- ]
- },
- "alternate": {
- "type": "CallExpression",
- "start": 1753,
- "end": 1804,
- "loc": {
- "start": {
- "line": 61,
- "column": 4
- },
- "end": {
- "line": 61,
- "column": 55
- }
- },
- "callee": {
- "type": "Identifier",
- "start": 1753,
- "end": 1773,
- "loc": {
- "start": {
- "line": 61,
- "column": 4
- },
- "end": {
- "line": 61,
- "column": 24
- },
- "identifierName": "messageObjectFactory"
},
- "name": "messageObjectFactory"
- },
- "arguments": [
- {
- "type": "ObjectExpression",
- "start": 1774,
- "end": 1803,
- "loc": {
- "start": {
- "line": 61,
- "column": 25
- },
- "end": {
- "line": 61,
- "column": 54
- }
- },
- "properties": [
- {
- "type": "ObjectProperty",
- "start": 1775,
- "end": 1787,
- "loc": {
- "start": {
- "line": 61,
- "column": 26
- },
- "end": {
- "line": 61,
- "column": 38
- }
+ "arguments": [
+ {
+ "type": "Identifier",
+ "start": 2023,
+ "end": 2027,
+ "loc": {
+ "start": {
+ "line": 75,
+ "column": 41
},
- "method": false,
- "shorthand": false,
- "computed": false,
- "key": {
- "type": "Identifier",
- "start": 1775,
- "end": 1782,
- "loc": {
- "start": {
- "line": 61,
- "column": 26
- },
- "end": {
- "line": 61,
- "column": 33
- },
- "identifierName": "message"
- },
- "name": "message"
+ "end": {
+ "line": 75,
+ "column": 45
},
- "value": {
- "type": "NullLiteral",
- "start": 1783,
- "end": 1787,
- "loc": {
- "start": {
- "line": 61,
- "column": 34
- },
- "end": {
- "line": 61,
- "column": 38
- }
- }
- }
+ "identifierName": "keys"
},
- {
- "type": "ObjectProperty",
- "start": 1789,
- "end": 1801,
- "loc": {
- "start": {
- "line": 61,
- "column": 40
- },
- "end": {
- "line": 61,
- "column": 52
- }
- },
- "method": false,
- "shorthand": false,
- "computed": false,
- "key": {
- "type": "Identifier",
- "start": 1789,
- "end": 1794,
- "loc": {
- "start": {
- "line": 61,
- "column": 40
- },
- "end": {
- "line": 61,
- "column": 45
- },
- "identifierName": "error"
- },
- "name": "error"
- },
- "value": {
- "type": "BooleanLiteral",
- "start": 1796,
- "end": 1801,
- "loc": {
- "start": {
- "line": 61,
- "column": 47
- },
- "end": {
- "line": 61,
- "column": 52
- }
- },
- "value": false
- }
- }
- ]
- }
- ]
- }
+ "name": "keys"
+ }
+ ]
+ }
+ ]
}
}
},
{
"type": "ExpressionStatement",
- "start": 1808,
- "end": 1842,
+ "start": 2032,
+ "end": 2069,
"loc": {
"start": {
- "line": 63,
+ "line": 76,
"column": 1
},
"end": {
- "line": 63,
- "column": 35
+ "line": 76,
+ "column": 38
}
},
"expression": {
"type": "AssignmentExpression",
- "start": 1808,
- "end": 1841,
+ "start": 2032,
+ "end": 2068,
"loc": {
"start": {
- "line": 63,
+ "line": 76,
"column": 1
},
"end": {
- "line": 63,
- "column": 34
+ "line": 76,
+ "column": 37
}
},
"operator": "=",
"left": {
- "type": "MemberExpression",
- "start": 1808,
- "end": 1828,
+ "type": "Identifier",
+ "start": 2032,
+ "end": 2041,
"loc": {
"start": {
- "line": 63,
+ "line": 76,
"column": 1
},
"end": {
- "line": 63,
- "column": 21
+ "line": 76,
+ "column": 10
+ },
+ "identifierName": "fieldArgs"
+ },
+ "name": "fieldArgs"
+ },
+ "right": {
+ "type": "CallExpression",
+ "start": 2044,
+ "end": 2068,
+ "loc": {
+ "start": {
+ "line": 76,
+ "column": 13
+ },
+ "end": {
+ "line": 76,
+ "column": 37
}
},
- "object": {
+ "callee": {
"type": "Identifier",
- "start": 1808,
- "end": 1817,
+ "start": 2044,
+ "end": 2057,
"loc": {
"start": {
- "line": 63,
- "column": 1
+ "line": 76,
+ "column": 13
},
"end": {
- "line": 63,
+ "line": 76,
+ "column": 26
+ },
+ "identifierName": "addMessageArg"
+ },
+ "name": "addMessageArg"
+ },
+ "arguments": [
+ {
+ "type": "Identifier",
+ "start": 2058,
+ "end": 2067,
+ "loc": {
+ "start": {
+ "line": 76,
+ "column": 27
+ },
+ "end": {
+ "line": 76,
+ "column": 36
+ },
+ "identifierName": "fieldArgs"
+ },
+ "name": "fieldArgs"
+ }
+ ]
+ }
+ }
+ },
+ {
+ "type": "ExpressionStatement",
+ "start": 2071,
+ "end": 2105,
+ "loc": {
+ "start": {
+ "line": 77,
+ "column": 1
+ },
+ "end": {
+ "line": 77,
+ "column": 35
+ }
+ },
+ "expression": {
+ "type": "AssignmentExpression",
+ "start": 2071,
+ "end": 2104,
+ "loc": {
+ "start": {
+ "line": 77,
+ "column": 1
+ },
+ "end": {
+ "line": 77,
+ "column": 34
+ }
+ },
+ "operator": "=",
+ "left": {
+ "type": "MemberExpression",
+ "start": 2071,
+ "end": 2091,
+ "loc": {
+ "start": {
+ "line": 77,
+ "column": 1
+ },
+ "end": {
+ "line": 77,
+ "column": 21
+ }
+ },
+ "object": {
+ "type": "Identifier",
+ "start": 2071,
+ "end": 2080,
+ "loc": {
+ "start": {
+ "line": 77,
+ "column": 1
+ },
+ "end": {
+ "line": 77,
"column": 10
},
"identifierName": "fieldArgs"
@@ -3990,15 +4619,15 @@
},
"property": {
"type": "Identifier",
- "start": 1818,
- "end": 1828,
+ "start": 2081,
+ "end": 2091,
"loc": {
"start": {
- "line": 63,
+ "line": 77,
"column": 11
},
"end": {
- "line": 63,
+ "line": 77,
"column": 21
},
"identifierName": "validators"
@@ -4009,15 +4638,15 @@
},
"right": {
"type": "Identifier",
- "start": 1831,
- "end": 1841,
+ "start": 2094,
+ "end": 2104,
"loc": {
"start": {
- "line": 63,
+ "line": 77,
"column": 24
},
"end": {
- "line": 63,
+ "line": 77,
"column": 34
},
"identifierName": "validators"
@@ -4028,29 +4657,29 @@
},
{
"type": "ReturnStatement",
- "start": 1844,
- "end": 1861,
+ "start": 2107,
+ "end": 2124,
"loc": {
"start": {
- "line": 64,
+ "line": 78,
"column": 1
},
"end": {
- "line": 64,
+ "line": 78,
"column": 18
}
},
"argument": {
"type": "Identifier",
- "start": 1851,
- "end": 1860,
+ "start": 2114,
+ "end": 2123,
"loc": {
"start": {
- "line": 64,
+ "line": 78,
"column": 8
},
"end": {
- "line": 64,
+ "line": 78,
"column": 17
},
"identifierName": "fieldArgs"
@@ -4070,8 +4699,8 @@
{
"type": "CommentBlock",
"value": "*\n * Validates field configurations\n *\n * NOTE: This is called internally by factory. You probably do not want to call this.\n *\n * @param {Object}fieldArgs\n * @returns {*}\n ",
- "start": 195,
- "end": 372,
+ "start": 196,
+ "end": 373,
"loc": {
"start": {
"line": 5,
@@ -4090,8 +4719,8 @@
{
"type": "CommentBlock",
"value": "*\n * Validates field configurations\n *\n * NOTE: This is called internally by factory. You probably do not want to call this.\n *\n * @param {Object}fieldArgs\n * @returns {*}\n ",
- "start": 195,
- "end": 372,
+ "start": 196,
+ "end": 373,
"loc": {
"start": {
"line": 5,
@@ -4112,41 +4741,1489 @@
{
"type": "CommentBlock",
"value": "*\n * Validates field configurations\n *\n * NOTE: This is called internally by factory. You probably do not want to call this.\n *\n * @param {Object}fieldArgs\n * @returns {*}\n ",
- "start": 195,
- "end": 372,
+ "start": 196,
+ "end": 373,
+ "loc": {
+ "start": {
+ "line": 5,
+ "column": 0
+ },
+ "end": {
+ "line": 12,
+ "column": 3
+ }
+ }
+ },
+ {
+ "type": "CommentBlock",
+ "value": "*\n\t * Pick whitelisted keys from object\n\t *\n\t * @see http://www.jstips.co/en/javascript/picking-and-rejecting-object-properties/\n\t *\n\t * @param {Object} obj The object to pick from\n\t * @param {Array} keys The whitelist of keys\n\t * @return {*}\n\t ",
+ "start": 865,
+ "end": 1114,
+ "loc": {
+ "start": {
+ "line": 32,
+ "column": 1
+ },
+ "end": {
+ "line": 40,
+ "column": 4
+ }
+ }
+ }
+ ],
+ "tokens": [
+ {
+ "type": {
+ "label": "import",
+ "keyword": "import",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "import",
+ "start": 0,
+ "end": 6,
+ "loc": {
+ "start": {
+ "line": 1,
+ "column": 0
+ },
+ "end": {
+ "line": 1,
+ "column": 6
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "{",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 7,
+ "end": 8,
+ "loc": {
+ "start": {
+ "line": 1,
+ "column": 7
+ },
+ "end": {
+ "line": 1,
+ "column": 8
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "fieldGroupPropTypes",
+ "start": 8,
+ "end": 27,
+ "loc": {
+ "start": {
+ "line": 1,
+ "column": 8
+ },
+ "end": {
+ "line": 1,
+ "column": 27
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ",",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 27,
+ "end": 28,
+ "loc": {
+ "start": {
+ "line": 1,
+ "column": 27
+ },
+ "end": {
+ "line": 1,
+ "column": 28
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "magicGroupPropTypes",
+ "start": 29,
+ "end": 48,
+ "loc": {
+ "start": {
+ "line": 1,
+ "column": 29
+ },
+ "end": {
+ "line": 1,
+ "column": 48
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "}",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 48,
+ "end": 49,
+ "loc": {
+ "start": {
+ "line": 1,
+ "column": 48
+ },
+ "end": {
+ "line": 1,
+ "column": 49
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "from",
+ "start": 50,
+ "end": 54,
+ "loc": {
+ "start": {
+ "line": 1,
+ "column": 50
+ },
+ "end": {
+ "line": 1,
+ "column": 54
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "string",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "../propTypes",
+ "start": 55,
+ "end": 69,
+ "loc": {
+ "start": {
+ "line": 1,
+ "column": 55
+ },
+ "end": {
+ "line": 1,
+ "column": 69
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ";",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 69,
+ "end": 70,
+ "loc": {
+ "start": {
+ "line": 1,
+ "column": 69
+ },
+ "end": {
+ "line": 1,
+ "column": 70
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "import",
+ "keyword": "import",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "import",
+ "start": 71,
+ "end": 77,
+ "loc": {
+ "start": {
+ "line": 2,
+ "column": 0
+ },
+ "end": {
+ "line": 2,
+ "column": 6
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "{",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 78,
+ "end": 79,
+ "loc": {
+ "start": {
+ "line": 2,
+ "column": 7
+ },
+ "end": {
+ "line": 2,
+ "column": 8
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "isValidHtml5type",
+ "start": 79,
+ "end": 95,
+ "loc": {
+ "start": {
+ "line": 2,
+ "column": 8
+ },
+ "end": {
+ "line": 2,
+ "column": 24
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ",",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 95,
+ "end": 96,
+ "loc": {
+ "start": {
+ "line": 2,
+ "column": 24
+ },
+ "end": {
+ "line": 2,
+ "column": 25
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "toBoolean",
+ "start": 97,
+ "end": 106,
+ "loc": {
+ "start": {
+ "line": 2,
+ "column": 26
+ },
+ "end": {
+ "line": 2,
+ "column": 35
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "}",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 106,
+ "end": 107,
+ "loc": {
+ "start": {
+ "line": 2,
+ "column": 35
+ },
+ "end": {
+ "line": 2,
+ "column": 36
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "from",
+ "start": 108,
+ "end": 112,
+ "loc": {
+ "start": {
+ "line": 2,
+ "column": 37
+ },
+ "end": {
+ "line": 2,
+ "column": 41
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "string",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "../util",
+ "start": 113,
+ "end": 122,
+ "loc": {
+ "start": {
+ "line": 2,
+ "column": 42
+ },
+ "end": {
+ "line": 2,
+ "column": 51
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ";",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 122,
+ "end": 123,
+ "loc": {
+ "start": {
+ "line": 2,
+ "column": 51
+ },
+ "end": {
+ "line": 2,
+ "column": 52
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "import",
+ "keyword": "import",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "import",
+ "start": 124,
+ "end": 130,
+ "loc": {
+ "start": {
+ "line": 3,
+ "column": 0
+ },
+ "end": {
+ "line": 3,
+ "column": 6
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "{",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 131,
+ "end": 132,
+ "loc": {
+ "start": {
+ "line": 3,
+ "column": 7
+ },
+ "end": {
+ "line": 3,
+ "column": 8
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "messageObjectFactory",
+ "start": 132,
+ "end": 152,
+ "loc": {
+ "start": {
+ "line": 3,
+ "column": 8
+ },
+ "end": {
+ "line": 3,
+ "column": 28
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "}",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 152,
+ "end": 153,
+ "loc": {
+ "start": {
+ "line": 3,
+ "column": 28
+ },
+ "end": {
+ "line": 3,
+ "column": 29
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "from",
+ "start": 154,
+ "end": 158,
+ "loc": {
+ "start": {
+ "line": 3,
+ "column": 30
+ },
+ "end": {
+ "line": 3,
+ "column": 34
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "string",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "../messages/messageObjectFactory",
+ "start": 159,
+ "end": 193,
+ "loc": {
+ "start": {
+ "line": 3,
+ "column": 35
+ },
+ "end": {
+ "line": 3,
+ "column": 69
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ";",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 193,
+ "end": 194,
+ "loc": {
+ "start": {
+ "line": 3,
+ "column": 69
+ },
+ "end": {
+ "line": 3,
+ "column": 70
+ }
+ }
+ },
+ {
+ "type": "CommentBlock",
+ "value": "*\n * Validates field configurations\n *\n * NOTE: This is called internally by factory. You probably do not want to call this.\n *\n * @param {Object}fieldArgs\n * @returns {*}\n ",
+ "start": 196,
+ "end": 373,
+ "loc": {
+ "start": {
+ "line": 5,
+ "column": 0
+ },
+ "end": {
+ "line": 12,
+ "column": 3
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "export",
+ "keyword": "export",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "export",
+ "start": 374,
+ "end": 380,
+ "loc": {
+ "start": {
+ "line": 13,
+ "column": 0
+ },
+ "end": {
+ "line": 13,
+ "column": 6
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "const",
+ "keyword": "const",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "const",
+ "start": 381,
+ "end": 386,
+ "loc": {
+ "start": {
+ "line": 13,
+ "column": 7
+ },
+ "end": {
+ "line": 13,
+ "column": 12
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "prepareFieldConfig",
+ "start": 387,
+ "end": 405,
+ "loc": {
+ "start": {
+ "line": 13,
+ "column": 13
+ },
+ "end": {
+ "line": 13,
+ "column": 31
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "=",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": true,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "=",
+ "start": 406,
+ "end": 407,
+ "loc": {
+ "start": {
+ "line": 13,
+ "column": 32
+ },
+ "end": {
+ "line": 13,
+ "column": 33
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "(",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 408,
+ "end": 409,
+ "loc": {
+ "start": {
+ "line": 13,
+ "column": 34
+ },
+ "end": {
+ "line": 13,
+ "column": 35
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "fieldArgs",
+ "start": 409,
+ "end": 418,
+ "loc": {
+ "start": {
+ "line": 13,
+ "column": 35
+ },
+ "end": {
+ "line": 13,
+ "column": 44
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ")",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 418,
+ "end": 419,
+ "loc": {
+ "start": {
+ "line": 13,
+ "column": 44
+ },
+ "end": {
+ "line": 13,
+ "column": 45
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "=>",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 420,
+ "end": 422,
+ "loc": {
+ "start": {
+ "line": 13,
+ "column": 46
+ },
+ "end": {
+ "line": 13,
+ "column": 48
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "{",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 423,
+ "end": 424,
+ "loc": {
+ "start": {
+ "line": 13,
+ "column": 49
+ },
+ "end": {
+ "line": 13,
+ "column": 50
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "function",
+ "keyword": "function",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "function",
+ "start": 426,
+ "end": 434,
+ "loc": {
+ "start": {
+ "line": 14,
+ "column": 1
+ },
+ "end": {
+ "line": 14,
+ "column": 9
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "addMessageArg",
+ "start": 435,
+ "end": 448,
+ "loc": {
+ "start": {
+ "line": 14,
+ "column": 10
+ },
+ "end": {
+ "line": 14,
+ "column": 23
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "(",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 448,
+ "end": 449,
+ "loc": {
+ "start": {
+ "line": 14,
+ "column": 23
+ },
+ "end": {
+ "line": 14,
+ "column": 24
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "fieldArgs",
+ "start": 449,
+ "end": 458,
+ "loc": {
+ "start": {
+ "line": 14,
+ "column": 24
+ },
+ "end": {
+ "line": 14,
+ "column": 33
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ")",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 458,
+ "end": 459,
+ "loc": {
+ "start": {
+ "line": 14,
+ "column": 33
+ },
+ "end": {
+ "line": 14,
+ "column": 34
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "{",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 460,
+ "end": 461,
+ "loc": {
+ "start": {
+ "line": 14,
+ "column": 35
+ },
+ "end": {
+ "line": 14,
+ "column": 36
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "fieldArgs",
+ "start": 464,
+ "end": 473,
+ "loc": {
+ "start": {
+ "line": 15,
+ "column": 2
+ },
+ "end": {
+ "line": 15,
+ "column": 11
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 473,
+ "end": 474,
+ "loc": {
+ "start": {
+ "line": 15,
+ "column": 11
+ },
+ "end": {
+ "line": 15,
+ "column": 12
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "disabled",
+ "start": 474,
+ "end": 482,
+ "loc": {
+ "start": {
+ "line": 15,
+ "column": 12
+ },
+ "end": {
+ "line": 15,
+ "column": 20
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "=",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": true,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "=",
+ "start": 483,
+ "end": 484,
+ "loc": {
+ "start": {
+ "line": 15,
+ "column": 21
+ },
+ "end": {
+ "line": 15,
+ "column": 22
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "toBoolean",
+ "start": 485,
+ "end": 494,
+ "loc": {
+ "start": {
+ "line": 15,
+ "column": 23
+ },
+ "end": {
+ "line": 15,
+ "column": 32
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "(",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 494,
+ "end": 495,
+ "loc": {
+ "start": {
+ "line": 15,
+ "column": 32
+ },
+ "end": {
+ "line": 15,
+ "column": 33
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "fieldArgs",
+ "start": 495,
+ "end": 504,
+ "loc": {
+ "start": {
+ "line": 15,
+ "column": 33
+ },
+ "end": {
+ "line": 15,
+ "column": 42
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 504,
+ "end": 505,
+ "loc": {
+ "start": {
+ "line": 15,
+ "column": 42
+ },
+ "end": {
+ "line": 15,
+ "column": 43
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "disabled",
+ "start": 505,
+ "end": 513,
+ "loc": {
+ "start": {
+ "line": 15,
+ "column": 43
+ },
+ "end": {
+ "line": 15,
+ "column": 51
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ")",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 513,
+ "end": 514,
+ "loc": {
+ "start": {
+ "line": 15,
+ "column": 51
+ },
+ "end": {
+ "line": 15,
+ "column": 52
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ";",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 514,
+ "end": 515,
+ "loc": {
+ "start": {
+ "line": 15,
+ "column": 52
+ },
+ "end": {
+ "line": 15,
+ "column": 53
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "fieldArgs",
+ "start": 518,
+ "end": 527,
+ "loc": {
+ "start": {
+ "line": 16,
+ "column": 2
+ },
+ "end": {
+ "line": 16,
+ "column": 11
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 527,
+ "end": 528,
+ "loc": {
+ "start": {
+ "line": 16,
+ "column": 11
+ },
+ "end": {
+ "line": 16,
+ "column": 12
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "value": "message",
+ "start": 528,
+ "end": 535,
"loc": {
"start": {
- "line": 5,
- "column": 0
+ "line": 16,
+ "column": 12
},
"end": {
- "line": 12,
- "column": 3
+ "line": 16,
+ "column": 19
}
}
},
{
- "type": "CommentBlock",
- "value": "*\n\t * Pick whitelisted keys from object\n\t *\n\t * @see http://www.jstips.co/en/javascript/picking-and-rejecting-object-properties/\n\t *\n\t * @param {Object} obj The object to pick from\n\t * @param {Array} keys The whitelist of keys\n\t * @return {*}\n\t ",
- "start": 425,
- "end": 674,
+ "type": {
+ "label": "=",
+ "beforeExpr": true,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": true,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "=",
+ "start": 536,
+ "end": 537,
"loc": {
"start": {
- "line": 14,
- "column": 1
+ "line": 16,
+ "column": 20
},
"end": {
- "line": 22,
- "column": 4
+ "line": 16,
+ "column": 21
}
}
- }
- ],
- "tokens": [
+ },
{
"type": {
- "label": "import",
- "keyword": "import",
+ "label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -4157,42 +6234,72 @@
"binop": null,
"updateContext": null
},
- "value": "import",
- "start": 0,
- "end": 6,
+ "value": "object",
+ "start": 538,
+ "end": 546,
"loc": {
"start": {
- "line": 1,
- "column": 0
+ "line": 16,
+ "column": 22
},
"end": {
- "line": 1,
- "column": 6
+ "line": 16,
+ "column": 30
}
}
},
{
"type": {
- "label": "{",
+ "label": "==/!=",
"beforeExpr": true,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": 6,
+ "updateContext": null
},
- "start": 7,
- "end": 8,
+ "value": "===",
+ "start": 547,
+ "end": 550,
"loc": {
"start": {
- "line": 1,
- "column": 7
+ "line": 16,
+ "column": 31
},
"end": {
- "line": 1,
- "column": 8
+ "line": 16,
+ "column": 34
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "typeof",
+ "keyword": "typeof",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": true,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "typeof",
+ "start": 551,
+ "end": 557,
+ "loc": {
+ "start": {
+ "line": 16,
+ "column": 35
+ },
+ "end": {
+ "line": 16,
+ "column": 41
}
}
},
@@ -4208,24 +6315,24 @@
"postfix": false,
"binop": null
},
- "value": "fieldGroupPropTypes",
- "start": 8,
- "end": 27,
+ "value": "fieldArgs",
+ "start": 559,
+ "end": 568,
"loc": {
"start": {
- "line": 1,
- "column": 8
+ "line": 16,
+ "column": 43
},
"end": {
- "line": 1,
- "column": 27
+ "line": 16,
+ "column": 52
}
}
},
{
"type": {
- "label": ",",
- "beforeExpr": true,
+ "label": ".",
+ "beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
@@ -4235,16 +6342,16 @@
"binop": null,
"updateContext": null
},
- "start": 27,
- "end": 28,
+ "start": 568,
+ "end": 569,
"loc": {
"start": {
- "line": 1,
- "column": 27
+ "line": 16,
+ "column": 52
},
"end": {
- "line": 1,
- "column": 28
+ "line": 16,
+ "column": 53
}
}
},
@@ -4260,42 +6367,43 @@
"postfix": false,
"binop": null
},
- "value": "magicGroupPropTypes",
- "start": 28,
- "end": 47,
+ "value": "message",
+ "start": 569,
+ "end": 576,
"loc": {
"start": {
- "line": 1,
- "column": 28
+ "line": 16,
+ "column": 53
},
"end": {
- "line": 1,
- "column": 47
+ "line": 16,
+ "column": 60
}
}
},
{
"type": {
- "label": "}",
- "beforeExpr": false,
+ "label": "?",
+ "beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 47,
- "end": 48,
+ "start": 580,
+ "end": 581,
"loc": {
"start": {
- "line": 1,
- "column": 47
+ "line": 17,
+ "column": 3
},
"end": {
- "line": 1,
- "column": 48
+ "line": 17,
+ "column": 4
}
}
},
@@ -4311,79 +6419,76 @@
"postfix": false,
"binop": null
},
- "value": "from",
- "start": 49,
- "end": 53,
+ "value": "messageObjectFactory",
+ "start": 582,
+ "end": 602,
"loc": {
"start": {
- "line": 1,
- "column": 49
+ "line": 17,
+ "column": 5
},
"end": {
- "line": 1,
- "column": 53
+ "line": 17,
+ "column": 25
}
}
},
{
"type": {
- "label": "string",
- "beforeExpr": false,
+ "label": "(",
+ "beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "../propTypes",
- "start": 54,
- "end": 68,
+ "start": 602,
+ "end": 603,
"loc": {
"start": {
- "line": 1,
- "column": 54
+ "line": 17,
+ "column": 25
},
"end": {
- "line": 1,
- "column": 68
+ "line": 17,
+ "column": 26
}
}
},
{
"type": {
- "label": ";",
- "beforeExpr": true,
- "startsExpr": false,
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 68,
- "end": 69,
+ "value": "fieldArgs",
+ "start": 603,
+ "end": 612,
"loc": {
"start": {
- "line": 1,
- "column": 68
+ "line": 17,
+ "column": 26
},
"end": {
- "line": 1,
- "column": 69
+ "line": 17,
+ "column": 35
}
}
},
{
"type": {
- "label": "import",
- "keyword": "import",
+ "label": ".",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -4392,24 +6497,23 @@
"binop": null,
"updateContext": null
},
- "value": "import",
- "start": 70,
- "end": 76,
+ "start": 612,
+ "end": 613,
"loc": {
"start": {
- "line": 2,
- "column": 0
+ "line": 17,
+ "column": 35
},
"end": {
- "line": 2,
- "column": 6
+ "line": 17,
+ "column": 36
}
}
},
{
"type": {
- "label": "{",
- "beforeExpr": true,
+ "label": "name",
+ "beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
@@ -4418,24 +6522,25 @@
"postfix": false,
"binop": null
},
- "start": 77,
- "end": 78,
+ "value": "message",
+ "start": 613,
+ "end": 620,
"loc": {
"start": {
- "line": 2,
- "column": 7
+ "line": 17,
+ "column": 36
},
"end": {
- "line": 2,
- "column": 8
+ "line": 17,
+ "column": 43
}
}
},
{
"type": {
- "label": "name",
+ "label": ")",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -4443,23 +6548,22 @@
"postfix": false,
"binop": null
},
- "value": "isValidHtml5type",
- "start": 78,
- "end": 94,
+ "start": 620,
+ "end": 621,
"loc": {
"start": {
- "line": 2,
- "column": 8
+ "line": 17,
+ "column": 43
},
"end": {
- "line": 2,
- "column": 24
+ "line": 17,
+ "column": 44
}
}
},
{
"type": {
- "label": ",",
+ "label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
@@ -4470,16 +6574,16 @@
"binop": null,
"updateContext": null
},
- "start": 94,
- "end": 95,
+ "start": 625,
+ "end": 626,
"loc": {
"start": {
- "line": 2,
- "column": 24
+ "line": 18,
+ "column": 3
},
"end": {
- "line": 2,
- "column": 25
+ "line": 18,
+ "column": 4
}
}
},
@@ -4495,25 +6599,75 @@
"postfix": false,
"binop": null
},
- "value": "toBoolean",
- "start": 96,
- "end": 105,
+ "value": "messageObjectFactory",
+ "start": 627,
+ "end": 647,
+ "loc": {
+ "start": {
+ "line": 18,
+ "column": 5
+ },
+ "end": {
+ "line": 18,
+ "column": 25
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "(",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 647,
+ "end": 648,
+ "loc": {
+ "start": {
+ "line": 18,
+ "column": 25
+ },
+ "end": {
+ "line": 18,
+ "column": 26
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "{",
+ "beforeExpr": true,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null
+ },
+ "start": 648,
+ "end": 649,
"loc": {
"start": {
- "line": 2,
+ "line": 18,
"column": 26
},
"end": {
- "line": 2,
- "column": 35
+ "line": 18,
+ "column": 27
}
}
},
{
"type": {
- "label": "}",
+ "label": "name",
"beforeExpr": false,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -4521,48 +6675,50 @@
"postfix": false,
"binop": null
},
- "start": 105,
- "end": 106,
+ "value": "message",
+ "start": 649,
+ "end": 656,
"loc": {
"start": {
- "line": 2,
- "column": 35
+ "line": 18,
+ "column": 27
},
"end": {
- "line": 2,
- "column": 36
+ "line": 18,
+ "column": 34
}
}
},
{
"type": {
- "label": "name",
- "beforeExpr": false,
- "startsExpr": true,
+ "label": ":",
+ "beforeExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "from",
- "start": 107,
- "end": 111,
+ "start": 656,
+ "end": 657,
"loc": {
"start": {
- "line": 2,
- "column": 37
+ "line": 18,
+ "column": 34
},
"end": {
- "line": 2,
- "column": 41
+ "line": 18,
+ "column": 35
}
}
},
{
"type": {
- "label": "string",
+ "label": "null",
+ "keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -4573,23 +6729,23 @@
"binop": null,
"updateContext": null
},
- "value": "../util",
- "start": 112,
- "end": 121,
+ "value": "null",
+ "start": 658,
+ "end": 662,
"loc": {
"start": {
- "line": 2,
- "column": 42
+ "line": 18,
+ "column": 36
},
"end": {
- "line": 2,
- "column": 51
+ "line": 18,
+ "column": 40
}
}
},
{
"type": {
- "label": ";",
+ "label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
@@ -4600,23 +6756,22 @@
"binop": null,
"updateContext": null
},
- "start": 121,
- "end": 122,
+ "start": 662,
+ "end": 663,
"loc": {
"start": {
- "line": 2,
- "column": 51
+ "line": 18,
+ "column": 40
},
"end": {
- "line": 2,
- "column": 52
+ "line": 18,
+ "column": 41
}
}
},
{
"type": {
- "label": "import",
- "keyword": "import",
+ "label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -4624,51 +6779,52 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "import",
- "start": 123,
- "end": 129,
+ "value": "error",
+ "start": 664,
+ "end": 669,
"loc": {
"start": {
- "line": 3,
- "column": 0
+ "line": 18,
+ "column": 42
},
"end": {
- "line": 3,
- "column": 6
+ "line": 18,
+ "column": 47
}
}
},
{
"type": {
- "label": "{",
+ "label": ":",
"beforeExpr": true,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 130,
- "end": 131,
+ "start": 669,
+ "end": 670,
"loc": {
"start": {
- "line": 3,
- "column": 7
+ "line": 18,
+ "column": 47
},
"end": {
- "line": 3,
- "column": 8
+ "line": 18,
+ "column": 48
}
}
},
{
"type": {
- "label": "name",
+ "label": "false",
+ "keyword": "false",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -4676,19 +6832,20 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "messageObjectFactory",
- "start": 131,
- "end": 151,
+ "value": "false",
+ "start": 671,
+ "end": 676,
"loc": {
"start": {
- "line": 3,
- "column": 8
+ "line": 18,
+ "column": 49
},
"end": {
- "line": 3,
- "column": 28
+ "line": 18,
+ "column": 54
}
}
},
@@ -4704,24 +6861,24 @@
"postfix": false,
"binop": null
},
- "start": 151,
- "end": 152,
+ "start": 676,
+ "end": 677,
"loc": {
"start": {
- "line": 3,
- "column": 28
+ "line": 18,
+ "column": 54
},
"end": {
- "line": 3,
- "column": 29
+ "line": 18,
+ "column": 55
}
}
},
{
"type": {
- "label": "name",
+ "label": ")",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -4729,25 +6886,24 @@
"postfix": false,
"binop": null
},
- "value": "from",
- "start": 153,
- "end": 157,
+ "start": 677,
+ "end": 678,
"loc": {
"start": {
- "line": 3,
- "column": 30
+ "line": 18,
+ "column": 55
},
"end": {
- "line": 3,
- "column": 34
+ "line": 18,
+ "column": 56
}
}
},
{
"type": {
- "label": "string",
- "beforeExpr": false,
- "startsExpr": true,
+ "label": ";",
+ "beforeExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -4756,23 +6912,23 @@
"binop": null,
"updateContext": null
},
- "value": "../messages/messageObjectFactory",
- "start": 158,
- "end": 192,
+ "start": 678,
+ "end": 679,
"loc": {
"start": {
- "line": 3,
- "column": 35
+ "line": 18,
+ "column": 56
},
"end": {
- "line": 3,
- "column": 69
+ "line": 18,
+ "column": 57
}
}
},
{
"type": {
- "label": ";",
+ "label": "return",
+ "keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
@@ -4783,68 +6939,50 @@
"binop": null,
"updateContext": null
},
- "start": 192,
- "end": 193,
- "loc": {
- "start": {
- "line": 3,
- "column": 69
- },
- "end": {
- "line": 3,
- "column": 70
- }
- }
- },
- {
- "type": "CommentBlock",
- "value": "*\n * Validates field configurations\n *\n * NOTE: This is called internally by factory. You probably do not want to call this.\n *\n * @param {Object}fieldArgs\n * @returns {*}\n ",
- "start": 195,
- "end": 372,
+ "value": "return",
+ "start": 682,
+ "end": 688,
"loc": {
"start": {
- "line": 5,
- "column": 0
+ "line": 19,
+ "column": 2
},
"end": {
- "line": 12,
- "column": 3
+ "line": 19,
+ "column": 8
}
}
},
{
"type": {
- "label": "export",
- "keyword": "export",
+ "label": "name",
"beforeExpr": false,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "export",
- "start": 373,
- "end": 379,
+ "value": "fieldArgs",
+ "start": 689,
+ "end": 698,
"loc": {
"start": {
- "line": 13,
- "column": 0
+ "line": 19,
+ "column": 9
},
"end": {
- "line": 13,
- "column": 6
+ "line": 19,
+ "column": 18
}
}
},
{
"type": {
- "label": "const",
- "keyword": "const",
- "beforeExpr": false,
+ "label": ";",
+ "beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
@@ -4854,25 +6992,24 @@
"binop": null,
"updateContext": null
},
- "value": "const",
- "start": 380,
- "end": 385,
+ "start": 698,
+ "end": 699,
"loc": {
"start": {
- "line": 13,
- "column": 7
+ "line": 19,
+ "column": 18
},
"end": {
- "line": 13,
- "column": 12
+ "line": 19,
+ "column": 19
}
}
},
{
"type": {
- "label": "name",
+ "label": "}",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -4880,44 +7017,44 @@
"postfix": false,
"binop": null
},
- "value": "prepareFieldConfig",
- "start": 386,
- "end": 404,
+ "start": 701,
+ "end": 702,
"loc": {
"start": {
- "line": 13,
- "column": 13
+ "line": 20,
+ "column": 1
},
"end": {
- "line": 13,
- "column": 31
+ "line": 20,
+ "column": 2
}
}
},
{
"type": {
- "label": "=",
- "beforeExpr": true,
+ "label": "if",
+ "keyword": "if",
+ "beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
- "isAssign": true,
+ "isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
- "value": "=",
- "start": 405,
- "end": 406,
+ "value": "if",
+ "start": 706,
+ "end": 708,
"loc": {
"start": {
- "line": 13,
- "column": 32
+ "line": 23,
+ "column": 1
},
"end": {
- "line": 13,
- "column": 33
+ "line": 23,
+ "column": 3
}
}
},
@@ -4933,22 +7070,22 @@
"postfix": false,
"binop": null
},
- "start": 407,
- "end": 408,
+ "start": 708,
+ "end": 709,
"loc": {
"start": {
- "line": 13,
- "column": 34
+ "line": 23,
+ "column": 3
},
"end": {
- "line": 13,
- "column": 35
+ "line": 23,
+ "column": 4
}
}
},
{
"type": {
- "label": "name",
+ "label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -4956,50 +7093,26 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
- },
- "value": "fieldArgs",
- "start": 408,
- "end": 417,
- "loc": {
- "start": {
- "line": 13,
- "column": 35
- },
- "end": {
- "line": 13,
- "column": 44
- }
- }
- },
- {
- "type": {
- "label": ")",
- "beforeExpr": false,
- "startsExpr": false,
- "rightAssociative": false,
- "isLoop": false,
- "isAssign": false,
- "prefix": false,
- "postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 417,
- "end": 418,
+ "value": "button",
+ "start": 710,
+ "end": 718,
"loc": {
"start": {
- "line": 13,
- "column": 44
+ "line": 23,
+ "column": 5
},
"end": {
- "line": 13,
- "column": 45
+ "line": 23,
+ "column": 13
}
}
},
{
"type": {
- "label": "=>",
+ "label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
@@ -5007,26 +7120,27 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
+ "binop": 6,
"updateContext": null
},
- "start": 419,
- "end": 421,
+ "value": "===",
+ "start": 719,
+ "end": 722,
"loc": {
"start": {
- "line": 13,
- "column": 46
+ "line": 23,
+ "column": 14
},
"end": {
- "line": 13,
- "column": 48
+ "line": 23,
+ "column": 17
}
}
},
{
"type": {
- "label": "{",
- "beforeExpr": true,
+ "label": "name",
+ "beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
@@ -5035,39 +7149,49 @@
"postfix": false,
"binop": null
},
- "start": 422,
- "end": 423,
+ "value": "fieldArgs",
+ "start": 723,
+ "end": 732,
"loc": {
"start": {
- "line": 13,
- "column": 49
+ "line": 23,
+ "column": 18
},
"end": {
- "line": 13,
- "column": 50
+ "line": 23,
+ "column": 27
}
}
},
{
- "type": "CommentBlock",
- "value": "*\n\t * Pick whitelisted keys from object\n\t *\n\t * @see http://www.jstips.co/en/javascript/picking-and-rejecting-object-properties/\n\t *\n\t * @param {Object} obj The object to pick from\n\t * @param {Array} keys The whitelist of keys\n\t * @return {*}\n\t ",
- "start": 425,
- "end": 674,
+ "type": {
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 732,
+ "end": 733,
"loc": {
"start": {
- "line": 14,
- "column": 1
+ "line": 23,
+ "column": 27
},
"end": {
- "line": 22,
- "column": 4
+ "line": 23,
+ "column": 28
}
}
},
{
"type": {
- "label": "function",
- "keyword": "function",
+ "label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -5077,25 +7201,25 @@
"postfix": false,
"binop": null
},
- "value": "function",
- "start": 676,
- "end": 684,
+ "value": "type",
+ "start": 733,
+ "end": 737,
"loc": {
"start": {
"line": 23,
- "column": 1
+ "column": 28
},
"end": {
"line": 23,
- "column": 9
+ "column": 32
}
}
},
{
"type": {
- "label": "name",
+ "label": ")",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -5103,23 +7227,22 @@
"postfix": false,
"binop": null
},
- "value": "pick",
- "start": 685,
- "end": 689,
+ "start": 738,
+ "end": 739,
"loc": {
"start": {
"line": 23,
- "column": 10
+ "column": 33
},
"end": {
"line": 23,
- "column": 14
+ "column": 34
}
}
},
{
"type": {
- "label": "(",
+ "label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
@@ -5129,74 +7252,75 @@
"postfix": false,
"binop": null
},
- "start": 689,
- "end": 690,
+ "start": 740,
+ "end": 741,
"loc": {
"start": {
"line": 23,
- "column": 14
+ "column": 35
},
"end": {
"line": 23,
- "column": 15
+ "column": 36
}
}
},
{
"type": {
- "label": "name",
+ "label": "if",
+ "keyword": "if",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "obj",
- "start": 690,
- "end": 693,
+ "value": "if",
+ "start": 744,
+ "end": 746,
"loc": {
"start": {
- "line": 23,
- "column": 15
+ "line": 24,
+ "column": 2
},
"end": {
- "line": 23,
- "column": 18
+ "line": 24,
+ "column": 4
}
}
},
{
"type": {
- "label": ",",
+ "label": "(",
"beforeExpr": true,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 693,
- "end": 694,
+ "start": 747,
+ "end": 748,
"loc": {
"start": {
- "line": 23,
- "column": 18
+ "line": 24,
+ "column": 5
},
"end": {
- "line": 23,
- "column": 19
+ "line": 24,
+ "column": 6
}
}
},
{
"type": {
- "label": "name",
+ "label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -5204,51 +7328,54 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "keys",
- "start": 695,
- "end": 699,
+ "value": "submit",
+ "start": 748,
+ "end": 756,
"loc": {
"start": {
- "line": 23,
- "column": 20
+ "line": 24,
+ "column": 6
},
"end": {
- "line": 23,
- "column": 24
+ "line": 24,
+ "column": 14
}
}
},
{
"type": {
- "label": ")",
- "beforeExpr": false,
+ "label": "==/!=",
+ "beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": 6,
+ "updateContext": null
},
- "start": 699,
- "end": 700,
+ "value": "!==",
+ "start": 757,
+ "end": 760,
"loc": {
"start": {
- "line": 23,
- "column": 24
+ "line": 24,
+ "column": 15
},
"end": {
- "line": 23,
- "column": 25
+ "line": 24,
+ "column": 18
}
}
},
{
"type": {
- "label": "{",
- "beforeExpr": true,
+ "label": "name",
+ "beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
@@ -5257,24 +7384,24 @@
"postfix": false,
"binop": null
},
- "start": 701,
- "end": 702,
+ "value": "fieldArgs",
+ "start": 761,
+ "end": 770,
"loc": {
"start": {
- "line": 23,
- "column": 26
+ "line": 24,
+ "column": 19
},
"end": {
- "line": 23,
- "column": 27
+ "line": 24,
+ "column": 28
}
}
},
{
"type": {
- "label": "return",
- "keyword": "return",
- "beforeExpr": true,
+ "label": ".",
+ "beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
@@ -5284,17 +7411,16 @@
"binop": null,
"updateContext": null
},
- "value": "return",
- "start": 705,
- "end": 711,
+ "start": 770,
+ "end": 771,
"loc": {
"start": {
"line": 24,
- "column": 2
+ "column": 28
},
"end": {
"line": 24,
- "column": 8
+ "column": 29
}
}
},
@@ -5310,23 +7436,23 @@
"postfix": false,
"binop": null
},
- "value": "keys",
- "start": 712,
- "end": 716,
+ "value": "inputType",
+ "start": 771,
+ "end": 780,
"loc": {
"start": {
"line": 24,
- "column": 9
+ "column": 29
},
"end": {
"line": 24,
- "column": 13
+ "column": 38
}
}
},
{
"type": {
- "label": ".",
+ "label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
@@ -5334,26 +7460,25 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 716,
- "end": 717,
+ "start": 780,
+ "end": 781,
"loc": {
"start": {
"line": 24,
- "column": 13
+ "column": 38
},
"end": {
"line": 24,
- "column": 14
+ "column": 39
}
}
},
{
"type": {
- "label": "name",
- "beforeExpr": false,
+ "label": "{",
+ "beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
@@ -5362,24 +7487,23 @@
"postfix": false,
"binop": null
},
- "value": "map",
- "start": 717,
- "end": 720,
+ "start": 782,
+ "end": 783,
"loc": {
"start": {
"line": 24,
- "column": 14
+ "column": 40
},
"end": {
"line": 24,
- "column": 17
+ "column": 41
}
}
},
{
"type": {
- "label": "(",
- "beforeExpr": true,
+ "label": "name",
+ "beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
@@ -5388,16 +7512,43 @@
"postfix": false,
"binop": null
},
- "start": 720,
- "end": 721,
+ "value": "fieldArgs",
+ "start": 787,
+ "end": 796,
"loc": {
"start": {
- "line": 24,
- "column": 17
+ "line": 25,
+ "column": 3
},
"end": {
- "line": 24,
- "column": 18
+ "line": 25,
+ "column": 12
+ }
+ }
+ },
+ {
+ "type": {
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
+ "rightAssociative": false,
+ "isLoop": false,
+ "isAssign": false,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "start": 796,
+ "end": 797,
+ "loc": {
+ "start": {
+ "line": 25,
+ "column": 12
+ },
+ "end": {
+ "line": 25,
+ "column": 13
}
}
},
@@ -5413,49 +7564,50 @@
"postfix": false,
"binop": null
},
- "value": "k",
- "start": 721,
- "end": 722,
+ "value": "inputType",
+ "start": 797,
+ "end": 806,
"loc": {
"start": {
- "line": 24,
- "column": 18
+ "line": 25,
+ "column": 13
},
"end": {
- "line": 24,
- "column": 19
+ "line": 25,
+ "column": 22
}
}
},
{
"type": {
- "label": "=>",
+ "label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
- "isAssign": false,
+ "isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
- "start": 723,
- "end": 725,
+ "value": "=",
+ "start": 807,
+ "end": 808,
"loc": {
"start": {
- "line": 24,
- "column": 20
+ "line": 25,
+ "column": 23
},
"end": {
- "line": 24,
- "column": 22
+ "line": 25,
+ "column": 24
}
}
},
{
"type": {
- "label": "name",
+ "label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -5463,26 +7615,26 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "k",
- "start": 726,
- "end": 727,
+ "value": "button",
+ "start": 809,
+ "end": 817,
"loc": {
"start": {
- "line": 24,
- "column": 23
+ "line": 25,
+ "column": 25
},
"end": {
- "line": 24,
- "column": 24
+ "line": 25,
+ "column": 33
}
}
},
{
"type": {
- "label": "in",
- "keyword": "in",
+ "label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
@@ -5490,28 +7642,27 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": 7,
+ "binop": null,
"updateContext": null
},
- "value": "in",
- "start": 728,
- "end": 730,
+ "start": 817,
+ "end": 818,
"loc": {
"start": {
- "line": 24,
- "column": 25
+ "line": 25,
+ "column": 33
},
"end": {
- "line": 24,
- "column": 27
+ "line": 25,
+ "column": 34
}
}
},
{
"type": {
- "label": "name",
+ "label": "}",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -5519,23 +7670,23 @@
"postfix": false,
"binop": null
},
- "value": "obj",
- "start": 731,
- "end": 734,
+ "start": 821,
+ "end": 822,
"loc": {
"start": {
- "line": 24,
- "column": 28
+ "line": 26,
+ "column": 2
},
"end": {
- "line": 24,
- "column": 31
+ "line": 26,
+ "column": 3
}
}
},
{
"type": {
- "label": "?",
+ "label": "return",
+ "keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
@@ -5546,23 +7697,24 @@
"binop": null,
"updateContext": null
},
- "start": 735,
- "end": 736,
+ "value": "return",
+ "start": 826,
+ "end": 832,
"loc": {
"start": {
- "line": 24,
- "column": 32
+ "line": 28,
+ "column": 2
},
"end": {
- "line": 24,
- "column": 33
+ "line": 28,
+ "column": 8
}
}
},
{
"type": {
- "label": "{",
- "beforeExpr": true,
+ "label": "name",
+ "beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
@@ -5571,22 +7723,23 @@
"postfix": false,
"binop": null
},
- "start": 737,
- "end": 738,
+ "value": "addMessageArg",
+ "start": 833,
+ "end": 846,
"loc": {
"start": {
- "line": 24,
- "column": 34
+ "line": 28,
+ "column": 9
},
"end": {
- "line": 24,
- "column": 35
+ "line": 28,
+ "column": 22
}
}
},
{
"type": {
- "label": "[",
+ "label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
@@ -5594,19 +7747,18 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 738,
- "end": 739,
+ "start": 846,
+ "end": 847,
"loc": {
"start": {
- "line": 24,
- "column": 35
+ "line": 28,
+ "column": 22
},
"end": {
- "line": 24,
- "column": 36
+ "line": 28,
+ "column": 23
}
}
},
@@ -5622,23 +7774,23 @@
"postfix": false,
"binop": null
},
- "value": "k",
- "start": 739,
- "end": 740,
+ "value": "fieldArgs",
+ "start": 847,
+ "end": 856,
"loc": {
"start": {
- "line": 24,
- "column": 36
+ "line": 28,
+ "column": 23
},
"end": {
- "line": 24,
- "column": 37
+ "line": 28,
+ "column": 32
}
}
},
{
"type": {
- "label": "]",
+ "label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
@@ -5646,25 +7798,24 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 740,
- "end": 741,
+ "start": 856,
+ "end": 857,
"loc": {
"start": {
- "line": 24,
- "column": 37
+ "line": 28,
+ "column": 32
},
"end": {
- "line": 24,
- "column": 38
+ "line": 28,
+ "column": 33
}
}
},
{
"type": {
- "label": ":",
+ "label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
@@ -5675,24 +7826,24 @@
"binop": null,
"updateContext": null
},
- "start": 741,
- "end": 742,
+ "start": 857,
+ "end": 858,
"loc": {
"start": {
- "line": 24,
- "column": 38
+ "line": 28,
+ "column": 33
},
"end": {
- "line": 24,
- "column": 39
+ "line": 28,
+ "column": 34
}
}
},
{
"type": {
- "label": "name",
+ "label": "}",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -5700,43 +7851,59 @@
"postfix": false,
"binop": null
},
- "value": "obj",
- "start": 743,
- "end": 746,
+ "start": 860,
+ "end": 861,
"loc": {
"start": {
- "line": 24,
- "column": 40
+ "line": 29,
+ "column": 1
},
"end": {
- "line": 24,
- "column": 43
+ "line": 29,
+ "column": 2
+ }
+ }
+ },
+ {
+ "type": "CommentBlock",
+ "value": "*\n\t * Pick whitelisted keys from object\n\t *\n\t * @see http://www.jstips.co/en/javascript/picking-and-rejecting-object-properties/\n\t *\n\t * @param {Object} obj The object to pick from\n\t * @param {Array} keys The whitelist of keys\n\t * @return {*}\n\t ",
+ "start": 865,
+ "end": 1114,
+ "loc": {
+ "start": {
+ "line": 32,
+ "column": 1
+ },
+ "end": {
+ "line": 40,
+ "column": 4
}
}
},
{
"type": {
- "label": "[",
- "beforeExpr": true,
+ "label": "function",
+ "keyword": "function",
+ "beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 746,
- "end": 747,
+ "value": "function",
+ "start": 1116,
+ "end": 1124,
"loc": {
"start": {
- "line": 24,
- "column": 43
+ "line": 41,
+ "column": 1
},
"end": {
- "line": 24,
- "column": 44
+ "line": 41,
+ "column": 9
}
}
},
@@ -5752,51 +7919,50 @@
"postfix": false,
"binop": null
},
- "value": "k",
- "start": 747,
- "end": 748,
+ "value": "pick",
+ "start": 1125,
+ "end": 1129,
"loc": {
"start": {
- "line": 24,
- "column": 44
+ "line": 41,
+ "column": 10
},
"end": {
- "line": 24,
- "column": 45
+ "line": 41,
+ "column": 14
}
}
},
{
"type": {
- "label": "]",
- "beforeExpr": false,
- "startsExpr": false,
+ "label": "(",
+ "beforeExpr": true,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 748,
- "end": 749,
+ "start": 1129,
+ "end": 1130,
"loc": {
"start": {
- "line": 24,
- "column": 45
+ "line": 41,
+ "column": 14
},
"end": {
- "line": 24,
- "column": 46
+ "line": 41,
+ "column": 15
}
}
},
{
"type": {
- "label": "}",
+ "label": "name",
"beforeExpr": false,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -5804,22 +7970,23 @@
"postfix": false,
"binop": null
},
- "start": 749,
- "end": 750,
+ "value": "obj",
+ "start": 1130,
+ "end": 1133,
"loc": {
"start": {
- "line": 24,
- "column": 46
+ "line": 41,
+ "column": 15
},
"end": {
- "line": 24,
- "column": 47
+ "line": 41,
+ "column": 18
}
}
},
{
"type": {
- "label": ":",
+ "label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
@@ -5830,23 +7997,23 @@
"binop": null,
"updateContext": null
},
- "start": 751,
- "end": 752,
+ "start": 1133,
+ "end": 1134,
"loc": {
"start": {
- "line": 24,
- "column": 48
+ "line": 41,
+ "column": 18
},
"end": {
- "line": 24,
- "column": 49
+ "line": 41,
+ "column": 19
}
}
},
{
"type": {
- "label": "{",
- "beforeExpr": true,
+ "label": "name",
+ "beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
@@ -5855,22 +8022,23 @@
"postfix": false,
"binop": null
},
- "start": 753,
- "end": 754,
+ "value": "keys",
+ "start": 1135,
+ "end": 1139,
"loc": {
"start": {
- "line": 24,
- "column": 50
+ "line": 41,
+ "column": 20
},
"end": {
- "line": 24,
- "column": 51
+ "line": 41,
+ "column": 24
}
}
},
{
"type": {
- "label": "}",
+ "label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
@@ -5880,24 +8048,24 @@
"postfix": false,
"binop": null
},
- "start": 754,
- "end": 755,
+ "start": 1139,
+ "end": 1140,
"loc": {
"start": {
- "line": 24,
- "column": 51
+ "line": 41,
+ "column": 24
},
"end": {
- "line": 24,
- "column": 52
+ "line": 41,
+ "column": 25
}
}
},
{
"type": {
- "label": ")",
- "beforeExpr": false,
- "startsExpr": false,
+ "label": "{",
+ "beforeExpr": true,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -5905,23 +8073,24 @@
"postfix": false,
"binop": null
},
- "start": 755,
- "end": 756,
+ "start": 1141,
+ "end": 1142,
"loc": {
"start": {
- "line": 24,
- "column": 52
+ "line": 41,
+ "column": 26
},
"end": {
- "line": 24,
- "column": 53
+ "line": 41,
+ "column": 27
}
}
},
{
"type": {
- "label": ".",
- "beforeExpr": false,
+ "label": "return",
+ "keyword": "return",
+ "beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
@@ -5931,16 +8100,17 @@
"binop": null,
"updateContext": null
},
- "start": 760,
- "end": 761,
+ "value": "return",
+ "start": 1145,
+ "end": 1151,
"loc": {
"start": {
- "line": 25,
- "column": 3
+ "line": 42,
+ "column": 2
},
"end": {
- "line": 25,
- "column": 4
+ "line": 42,
+ "column": 8
}
}
},
@@ -5956,49 +8126,50 @@
"postfix": false,
"binop": null
},
- "value": "reduce",
- "start": 761,
- "end": 767,
+ "value": "keys",
+ "start": 1152,
+ "end": 1156,
"loc": {
"start": {
- "line": 25,
- "column": 4
+ "line": 42,
+ "column": 9
},
"end": {
- "line": 25,
- "column": 10
+ "line": 42,
+ "column": 13
}
}
},
{
"type": {
- "label": "(",
- "beforeExpr": true,
- "startsExpr": true,
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 767,
- "end": 768,
+ "start": 1156,
+ "end": 1157,
"loc": {
"start": {
- "line": 25,
- "column": 10
+ "line": 42,
+ "column": 13
},
"end": {
- "line": 25,
- "column": 11
+ "line": 42,
+ "column": 14
}
}
},
{
"type": {
- "label": "(",
- "beforeExpr": true,
+ "label": "name",
+ "beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
@@ -6007,23 +8178,24 @@
"postfix": false,
"binop": null
},
- "start": 768,
- "end": 769,
+ "value": "map",
+ "start": 1157,
+ "end": 1160,
"loc": {
"start": {
- "line": 25,
- "column": 11
+ "line": 42,
+ "column": 14
},
"end": {
- "line": 25,
- "column": 12
+ "line": 42,
+ "column": 17
}
}
},
{
"type": {
- "label": "name",
- "beforeExpr": false,
+ "label": "(",
+ "beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
@@ -6032,77 +8204,76 @@
"postfix": false,
"binop": null
},
- "value": "res",
- "start": 769,
- "end": 772,
+ "start": 1160,
+ "end": 1161,
"loc": {
"start": {
- "line": 25,
- "column": 12
+ "line": 42,
+ "column": 17
},
"end": {
- "line": 25,
- "column": 15
+ "line": 42,
+ "column": 18
}
}
},
{
"type": {
- "label": ",",
- "beforeExpr": true,
- "startsExpr": false,
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 772,
- "end": 773,
+ "value": "k",
+ "start": 1161,
+ "end": 1162,
"loc": {
"start": {
- "line": 25,
- "column": 15
+ "line": 42,
+ "column": 18
},
"end": {
- "line": 25,
- "column": 16
+ "line": 42,
+ "column": 19
}
}
},
{
"type": {
- "label": "name",
- "beforeExpr": false,
- "startsExpr": true,
+ "label": "=>",
+ "beforeExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "o",
- "start": 774,
- "end": 775,
+ "start": 1163,
+ "end": 1165,
"loc": {
"start": {
- "line": 25,
- "column": 17
+ "line": 42,
+ "column": 20
},
"end": {
- "line": 25,
- "column": 18
+ "line": 42,
+ "column": 22
}
}
},
{
"type": {
- "label": ")",
+ "label": "name",
"beforeExpr": false,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -6110,22 +8281,24 @@
"postfix": false,
"binop": null
},
- "start": 775,
- "end": 776,
+ "value": "k",
+ "start": 1166,
+ "end": 1167,
"loc": {
"start": {
- "line": 25,
- "column": 18
+ "line": 42,
+ "column": 23
},
"end": {
- "line": 25,
- "column": 19
+ "line": 42,
+ "column": 24
}
}
},
{
"type": {
- "label": "=>",
+ "label": "in",
+ "keyword": "in",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
@@ -6133,19 +8306,20 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
+ "binop": 7,
"updateContext": null
},
- "start": 777,
- "end": 779,
+ "value": "in",
+ "start": 1168,
+ "end": 1170,
"loc": {
"start": {
- "line": 25,
- "column": 20
+ "line": 42,
+ "column": 25
},
"end": {
- "line": 25,
- "column": 22
+ "line": 42,
+ "column": 27
}
}
},
@@ -6161,24 +8335,24 @@
"postfix": false,
"binop": null
},
- "value": "Object",
- "start": 780,
- "end": 786,
+ "value": "obj",
+ "start": 1171,
+ "end": 1174,
"loc": {
"start": {
- "line": 25,
- "column": 23
+ "line": 42,
+ "column": 28
},
"end": {
- "line": 25,
- "column": 29
+ "line": 42,
+ "column": 31
}
}
},
{
"type": {
- "label": ".",
- "beforeExpr": false,
+ "label": "?",
+ "beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
@@ -6188,23 +8362,23 @@
"binop": null,
"updateContext": null
},
- "start": 786,
- "end": 787,
+ "start": 1175,
+ "end": 1176,
"loc": {
"start": {
- "line": 25,
- "column": 29
+ "line": 42,
+ "column": 32
},
"end": {
- "line": 25,
- "column": 30
+ "line": 42,
+ "column": 33
}
}
},
{
"type": {
- "label": "name",
- "beforeExpr": false,
+ "label": "{",
+ "beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
@@ -6213,23 +8387,22 @@
"postfix": false,
"binop": null
},
- "value": "assign",
- "start": 787,
- "end": 793,
+ "start": 1177,
+ "end": 1178,
"loc": {
"start": {
- "line": 25,
- "column": 30
+ "line": 42,
+ "column": 34
},
"end": {
- "line": 25,
- "column": 36
+ "line": 42,
+ "column": 35
}
}
},
{
"type": {
- "label": "(",
+ "label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
@@ -6237,18 +8410,19 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 793,
- "end": 794,
+ "start": 1178,
+ "end": 1179,
"loc": {
"start": {
- "line": 25,
- "column": 36
+ "line": 42,
+ "column": 35
},
"end": {
- "line": 25,
- "column": 37
+ "line": 42,
+ "column": 36
}
}
},
@@ -6264,24 +8438,24 @@
"postfix": false,
"binop": null
},
- "value": "res",
- "start": 794,
- "end": 797,
+ "value": "k",
+ "start": 1179,
+ "end": 1180,
"loc": {
"start": {
- "line": 25,
- "column": 37
+ "line": 42,
+ "column": 36
},
"end": {
- "line": 25,
- "column": 40
+ "line": 42,
+ "column": 37
}
}
},
{
"type": {
- "label": ",",
- "beforeExpr": true,
+ "label": "]",
+ "beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
@@ -6291,50 +8465,50 @@
"binop": null,
"updateContext": null
},
- "start": 797,
- "end": 798,
+ "start": 1180,
+ "end": 1181,
"loc": {
"start": {
- "line": 25,
- "column": 40
+ "line": 42,
+ "column": 37
},
"end": {
- "line": 25,
- "column": 41
+ "line": 42,
+ "column": 38
}
}
},
{
"type": {
- "label": "name",
- "beforeExpr": false,
- "startsExpr": true,
+ "label": ":",
+ "beforeExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "o",
- "start": 799,
- "end": 800,
+ "start": 1181,
+ "end": 1182,
"loc": {
"start": {
- "line": 25,
- "column": 42
+ "line": 42,
+ "column": 38
},
"end": {
- "line": 25,
- "column": 43
+ "line": 42,
+ "column": 39
}
}
},
{
"type": {
- "label": ")",
+ "label": "name",
"beforeExpr": false,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -6342,24 +8516,25 @@
"postfix": false,
"binop": null
},
- "start": 800,
- "end": 801,
+ "value": "obj",
+ "start": 1183,
+ "end": 1186,
"loc": {
"start": {
- "line": 25,
- "column": 43
+ "line": 42,
+ "column": 40
},
"end": {
- "line": 25,
- "column": 44
+ "line": 42,
+ "column": 43
}
}
},
{
"type": {
- "label": ",",
+ "label": "[",
"beforeExpr": true,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -6368,23 +8543,23 @@
"binop": null,
"updateContext": null
},
- "start": 801,
- "end": 802,
+ "start": 1186,
+ "end": 1187,
"loc": {
"start": {
- "line": 25,
- "column": 44
+ "line": 42,
+ "column": 43
},
"end": {
- "line": 25,
- "column": 45
+ "line": 42,
+ "column": 44
}
}
},
{
"type": {
- "label": "{",
- "beforeExpr": true,
+ "label": "name",
+ "beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
@@ -6393,22 +8568,23 @@
"postfix": false,
"binop": null
},
- "start": 803,
- "end": 804,
+ "value": "k",
+ "start": 1187,
+ "end": 1188,
"loc": {
"start": {
- "line": 25,
- "column": 46
+ "line": 42,
+ "column": 44
},
"end": {
- "line": 25,
- "column": 47
+ "line": 42,
+ "column": 45
}
}
},
{
"type": {
- "label": "}",
+ "label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
@@ -6416,24 +8592,25 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 804,
- "end": 805,
+ "start": 1188,
+ "end": 1189,
"loc": {
"start": {
- "line": 25,
- "column": 47
+ "line": 42,
+ "column": 45
},
"end": {
- "line": 25,
- "column": 48
+ "line": 42,
+ "column": 46
}
}
},
{
"type": {
- "label": ")",
+ "label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
@@ -6443,22 +8620,22 @@
"postfix": false,
"binop": null
},
- "start": 805,
- "end": 806,
+ "start": 1189,
+ "end": 1190,
"loc": {
"start": {
- "line": 25,
- "column": 48
+ "line": 42,
+ "column": 46
},
"end": {
- "line": 25,
- "column": 49
+ "line": 42,
+ "column": 47
}
}
},
{
"type": {
- "label": ";",
+ "label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
@@ -6469,24 +8646,24 @@
"binop": null,
"updateContext": null
},
- "start": 806,
- "end": 807,
+ "start": 1191,
+ "end": 1192,
"loc": {
"start": {
- "line": 25,
- "column": 49
+ "line": 42,
+ "column": 48
},
"end": {
- "line": 25,
- "column": 50
+ "line": 42,
+ "column": 49
}
}
},
{
"type": {
- "label": "}",
- "beforeExpr": false,
- "startsExpr": false,
+ "label": "{",
+ "beforeExpr": true,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -6494,23 +8671,22 @@
"postfix": false,
"binop": null
},
- "start": 809,
- "end": 810,
+ "start": 1193,
+ "end": 1194,
"loc": {
"start": {
- "line": 26,
- "column": 1
+ "line": 42,
+ "column": 50
},
"end": {
- "line": 26,
- "column": 2
+ "line": 42,
+ "column": 51
}
}
},
{
"type": {
- "label": "switch",
- "keyword": "switch",
+ "label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
@@ -6518,28 +8694,26 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "switch",
- "start": 813,
- "end": 819,
+ "start": 1194,
+ "end": 1195,
"loc": {
"start": {
- "line": 28,
- "column": 1
+ "line": 42,
+ "column": 51
},
"end": {
- "line": 28,
- "column": 7
+ "line": 42,
+ "column": 52
}
}
},
{
"type": {
- "label": "(",
- "beforeExpr": true,
- "startsExpr": true,
+ "label": ")",
+ "beforeExpr": false,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -6547,75 +8721,75 @@
"postfix": false,
"binop": null
},
- "start": 820,
- "end": 821,
+ "start": 1195,
+ "end": 1196,
"loc": {
"start": {
- "line": 28,
- "column": 8
+ "line": 42,
+ "column": 52
},
"end": {
- "line": 28,
- "column": 9
+ "line": 42,
+ "column": 53
}
}
},
{
"type": {
- "label": "name",
+ "label": ".",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "fieldArgs",
- "start": 821,
- "end": 830,
+ "start": 1200,
+ "end": 1201,
"loc": {
"start": {
- "line": 28,
- "column": 9
+ "line": 43,
+ "column": 3
},
"end": {
- "line": 28,
- "column": 18
+ "line": 43,
+ "column": 4
}
}
},
{
"type": {
- "label": ".",
+ "label": "name",
"beforeExpr": false,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 830,
- "end": 831,
+ "value": "reduce",
+ "start": 1201,
+ "end": 1207,
"loc": {
"start": {
- "line": 28,
- "column": 18
+ "line": 43,
+ "column": 4
},
"end": {
- "line": 28,
- "column": 19
+ "line": 43,
+ "column": 10
}
}
},
{
"type": {
- "label": "name",
- "beforeExpr": false,
+ "label": "(",
+ "beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
@@ -6624,25 +8798,24 @@
"postfix": false,
"binop": null
},
- "value": "type",
- "start": 831,
- "end": 835,
+ "start": 1207,
+ "end": 1208,
"loc": {
"start": {
- "line": 28,
- "column": 19
+ "line": 43,
+ "column": 10
},
"end": {
- "line": 28,
- "column": 23
+ "line": 43,
+ "column": 11
}
}
},
{
"type": {
- "label": ")",
- "beforeExpr": false,
- "startsExpr": false,
+ "label": "(",
+ "beforeExpr": true,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -6650,23 +8823,23 @@
"postfix": false,
"binop": null
},
- "start": 835,
- "end": 836,
+ "start": 1208,
+ "end": 1209,
"loc": {
"start": {
- "line": 28,
- "column": 23
+ "line": 43,
+ "column": 11
},
"end": {
- "line": 28,
- "column": 24
+ "line": 43,
+ "column": 12
}
}
},
{
"type": {
- "label": "{",
- "beforeExpr": true,
+ "label": "name",
+ "beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
@@ -6675,23 +8848,23 @@
"postfix": false,
"binop": null
},
- "start": 837,
- "end": 838,
+ "value": "res",
+ "start": 1209,
+ "end": 1212,
"loc": {
"start": {
- "line": 28,
- "column": 25
+ "line": 43,
+ "column": 12
},
"end": {
- "line": 28,
- "column": 26
+ "line": 43,
+ "column": 15
}
}
},
{
"type": {
- "label": "case",
- "keyword": "case",
+ "label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
@@ -6702,23 +8875,22 @@
"binop": null,
"updateContext": null
},
- "value": "case",
- "start": 840,
- "end": 844,
+ "start": 1212,
+ "end": 1213,
"loc": {
"start": {
- "line": 29,
- "column": 1
+ "line": 43,
+ "column": 15
},
"end": {
- "line": 29,
- "column": 5
+ "line": 43,
+ "column": 16
}
}
},
{
"type": {
- "label": "string",
+ "label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -6726,53 +8898,50 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "select",
- "start": 845,
- "end": 853,
+ "value": "o",
+ "start": 1214,
+ "end": 1215,
"loc": {
"start": {
- "line": 29,
- "column": 6
+ "line": 43,
+ "column": 17
},
"end": {
- "line": 29,
- "column": 14
+ "line": 43,
+ "column": 18
}
}
},
{
"type": {
- "label": ":",
- "beforeExpr": true,
+ "label": ")",
+ "beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 853,
- "end": 854,
+ "start": 1215,
+ "end": 1216,
"loc": {
"start": {
- "line": 29,
- "column": 14
+ "line": 43,
+ "column": 18
},
"end": {
- "line": 29,
- "column": 15
+ "line": 43,
+ "column": 19
}
}
},
{
"type": {
- "label": "case",
- "keyword": "case",
+ "label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
@@ -6783,23 +8952,22 @@
"binop": null,
"updateContext": null
},
- "value": "case",
- "start": 856,
- "end": 860,
+ "start": 1217,
+ "end": 1219,
"loc": {
"start": {
- "line": 30,
- "column": 1
+ "line": 43,
+ "column": 20
},
"end": {
- "line": 30,
- "column": 5
+ "line": 43,
+ "column": 22
}
}
},
{
"type": {
- "label": "string",
+ "label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -6807,27 +8975,26 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "dropdown",
- "start": 861,
- "end": 871,
+ "value": "Object",
+ "start": 1220,
+ "end": 1226,
"loc": {
"start": {
- "line": 30,
- "column": 6
+ "line": 43,
+ "column": 23
},
"end": {
- "line": 30,
- "column": 16
+ "line": 43,
+ "column": 29
}
}
},
{
"type": {
- "label": ":",
- "beforeExpr": true,
+ "label": ".",
+ "beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
@@ -6837,16 +9004,16 @@
"binop": null,
"updateContext": null
},
- "start": 871,
- "end": 872,
+ "start": 1226,
+ "end": 1227,
"loc": {
"start": {
- "line": 30,
- "column": 16
+ "line": 43,
+ "column": 29
},
"end": {
- "line": 30,
- "column": 17
+ "line": 43,
+ "column": 30
}
}
},
@@ -6862,43 +9029,42 @@
"postfix": false,
"binop": null
},
- "value": "fieldArgs",
- "start": 875,
- "end": 884,
+ "value": "assign",
+ "start": 1227,
+ "end": 1233,
"loc": {
"start": {
- "line": 31,
- "column": 2
+ "line": 43,
+ "column": 30
},
"end": {
- "line": 31,
- "column": 11
+ "line": 43,
+ "column": 36
}
}
},
{
"type": {
- "label": ".",
- "beforeExpr": false,
- "startsExpr": false,
+ "label": "(",
+ "beforeExpr": true,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 884,
- "end": 885,
+ "start": 1233,
+ "end": 1234,
"loc": {
"start": {
- "line": 31,
- "column": 11
+ "line": 43,
+ "column": 36
},
"end": {
- "line": 31,
- "column": 12
+ "line": 43,
+ "column": 37
}
}
},
@@ -6914,50 +9080,49 @@
"postfix": false,
"binop": null
},
- "value": "type",
- "start": 885,
- "end": 889,
+ "value": "res",
+ "start": 1234,
+ "end": 1237,
"loc": {
"start": {
- "line": 31,
- "column": 12
+ "line": 43,
+ "column": 37
},
"end": {
- "line": 31,
- "column": 16
+ "line": 43,
+ "column": 40
}
}
},
{
"type": {
- "label": "=",
+ "label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
- "isAssign": true,
+ "isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
- "value": "=",
- "start": 890,
- "end": 891,
+ "start": 1237,
+ "end": 1238,
"loc": {
"start": {
- "line": 31,
- "column": 17
+ "line": 43,
+ "column": 40
},
"end": {
- "line": 31,
- "column": 18
+ "line": 43,
+ "column": 41
}
}
},
{
"type": {
- "label": "string",
+ "label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -6965,54 +9130,51 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "select",
- "start": 892,
- "end": 900,
+ "value": "o",
+ "start": 1239,
+ "end": 1240,
"loc": {
"start": {
- "line": 31,
- "column": 19
+ "line": 43,
+ "column": 42
},
"end": {
- "line": 31,
- "column": 27
+ "line": 43,
+ "column": 43
}
}
},
{
"type": {
- "label": ";",
- "beforeExpr": true,
+ "label": ")",
+ "beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 900,
- "end": 901,
+ "start": 1240,
+ "end": 1241,
"loc": {
"start": {
- "line": 31,
- "column": 27
+ "line": 43,
+ "column": 43
},
"end": {
- "line": 31,
- "column": 28
+ "line": 43,
+ "column": 44
}
}
},
{
"type": {
- "label": "break",
- "keyword": "break",
- "beforeExpr": false,
+ "label": ",",
+ "beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
@@ -7022,104 +9184,97 @@
"binop": null,
"updateContext": null
},
- "value": "break",
- "start": 904,
- "end": 909,
+ "start": 1241,
+ "end": 1242,
"loc": {
"start": {
- "line": 32,
- "column": 2
+ "line": 43,
+ "column": 44
},
"end": {
- "line": 32,
- "column": 7
+ "line": 43,
+ "column": 45
}
}
},
{
"type": {
- "label": ";",
+ "label": "{",
"beforeExpr": true,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 909,
- "end": 910,
+ "start": 1243,
+ "end": 1244,
"loc": {
"start": {
- "line": 32,
- "column": 7
+ "line": 43,
+ "column": 46
},
"end": {
- "line": 32,
- "column": 8
+ "line": 43,
+ "column": 47
}
}
},
{
"type": {
- "label": "case",
- "keyword": "case",
- "beforeExpr": true,
+ "label": "}",
+ "beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "case",
- "start": 912,
- "end": 916,
+ "start": 1244,
+ "end": 1245,
"loc": {
"start": {
- "line": 33,
- "column": 1
+ "line": 43,
+ "column": 47
},
"end": {
- "line": 33,
- "column": 5
+ "line": 43,
+ "column": 48
}
}
},
{
"type": {
- "label": "string",
+ "label": ")",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "fieldset",
- "start": 917,
- "end": 927,
+ "start": 1245,
+ "end": 1246,
"loc": {
"start": {
- "line": 33,
- "column": 6
+ "line": 43,
+ "column": 48
},
"end": {
- "line": 33,
- "column": 16
+ "line": 43,
+ "column": 49
}
}
},
{
"type": {
- "label": ":",
+ "label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
@@ -7130,24 +9285,24 @@
"binop": null,
"updateContext": null
},
- "start": 927,
- "end": 928,
+ "start": 1246,
+ "end": 1247,
"loc": {
"start": {
- "line": 33,
- "column": 16
+ "line": 43,
+ "column": 49
},
"end": {
- "line": 33,
- "column": 17
+ "line": 43,
+ "column": 50
}
}
},
{
"type": {
- "label": "name",
+ "label": "}",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -7155,23 +9310,23 @@
"postfix": false,
"binop": null
},
- "value": "fieldArgs",
- "start": 931,
- "end": 940,
+ "start": 1249,
+ "end": 1250,
"loc": {
"start": {
- "line": 34,
- "column": 2
+ "line": 44,
+ "column": 1
},
"end": {
- "line": 34,
- "column": 11
+ "line": 44,
+ "column": 2
}
}
},
{
"type": {
- "label": ".",
+ "label": "switch",
+ "keyword": "switch",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
@@ -7182,23 +9337,24 @@
"binop": null,
"updateContext": null
},
- "start": 940,
- "end": 941,
+ "value": "switch",
+ "start": 1253,
+ "end": 1259,
"loc": {
"start": {
- "line": 34,
- "column": 11
+ "line": 46,
+ "column": 1
},
"end": {
- "line": 34,
- "column": 12
+ "line": 46,
+ "column": 7
}
}
},
{
"type": {
- "label": "name",
- "beforeExpr": false,
+ "label": "(",
+ "beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
@@ -7207,52 +9363,50 @@
"postfix": false,
"binop": null
},
- "value": "type",
- "start": 941,
- "end": 945,
+ "start": 1260,
+ "end": 1261,
"loc": {
"start": {
- "line": 34,
- "column": 12
+ "line": 46,
+ "column": 8
},
"end": {
- "line": 34,
- "column": 16
+ "line": 46,
+ "column": 9
}
}
},
{
"type": {
- "label": "=",
- "beforeExpr": true,
- "startsExpr": false,
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
- "isAssign": true,
+ "isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "=",
- "start": 946,
- "end": 947,
+ "value": "fieldArgs",
+ "start": 1261,
+ "end": 1270,
"loc": {
"start": {
- "line": 34,
- "column": 17
+ "line": 46,
+ "column": 9
},
"end": {
- "line": 34,
+ "line": 46,
"column": 18
}
}
},
{
"type": {
- "label": "string",
+ "label": ".",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -7261,50 +9415,48 @@
"binop": null,
"updateContext": null
},
- "value": "fieldset",
- "start": 948,
- "end": 958,
+ "start": 1270,
+ "end": 1271,
"loc": {
"start": {
- "line": 34,
- "column": 19
+ "line": 46,
+ "column": 18
},
"end": {
- "line": 34,
- "column": 29
+ "line": 46,
+ "column": 19
}
}
},
{
"type": {
- "label": ";",
- "beforeExpr": true,
- "startsExpr": false,
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 958,
- "end": 959,
+ "value": "type",
+ "start": 1271,
+ "end": 1275,
"loc": {
"start": {
- "line": 34,
- "column": 29
+ "line": 46,
+ "column": 19
},
"end": {
- "line": 34,
- "column": 30
+ "line": 46,
+ "column": 23
}
}
},
{
"type": {
- "label": "break",
- "keyword": "break",
+ "label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
@@ -7312,46 +9464,43 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "break",
- "start": 962,
- "end": 967,
+ "start": 1275,
+ "end": 1276,
"loc": {
"start": {
- "line": 35,
- "column": 2
+ "line": 46,
+ "column": 23
},
"end": {
- "line": 35,
- "column": 7
+ "line": 46,
+ "column": 24
}
}
},
{
"type": {
- "label": ";",
+ "label": "{",
"beforeExpr": true,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 967,
- "end": 968,
+ "start": 1277,
+ "end": 1278,
"loc": {
"start": {
- "line": 35,
- "column": 7
+ "line": 46,
+ "column": 25
},
"end": {
- "line": 35,
- "column": 8
+ "line": 46,
+ "column": 26
}
}
},
@@ -7370,15 +9519,15 @@
"updateContext": null
},
"value": "case",
- "start": 970,
- "end": 974,
+ "start": 1280,
+ "end": 1284,
"loc": {
"start": {
- "line": 36,
+ "line": 47,
"column": 1
},
"end": {
- "line": 36,
+ "line": 47,
"column": 5
}
}
@@ -7396,17 +9545,17 @@
"binop": null,
"updateContext": null
},
- "value": "text",
- "start": 975,
- "end": 981,
+ "value": "select",
+ "start": 1285,
+ "end": 1293,
"loc": {
"start": {
- "line": 36,
+ "line": 47,
"column": 6
},
"end": {
- "line": 36,
- "column": 12
+ "line": 47,
+ "column": 14
}
}
},
@@ -7423,77 +9572,23 @@
"binop": null,
"updateContext": null
},
- "start": 981,
- "end": 982,
- "loc": {
- "start": {
- "line": 36,
- "column": 12
- },
- "end": {
- "line": 36,
- "column": 13
- }
- }
- },
- {
- "type": {
- "label": "case",
- "keyword": "case",
- "beforeExpr": true,
- "startsExpr": false,
- "rightAssociative": false,
- "isLoop": false,
- "isAssign": false,
- "prefix": false,
- "postfix": false,
- "binop": null,
- "updateContext": null
- },
- "value": "case",
- "start": 984,
- "end": 988,
- "loc": {
- "start": {
- "line": 37,
- "column": 1
- },
- "end": {
- "line": 37,
- "column": 5
- }
- }
- },
- {
- "type": {
- "label": "string",
- "beforeExpr": false,
- "startsExpr": true,
- "rightAssociative": false,
- "isLoop": false,
- "isAssign": false,
- "prefix": false,
- "postfix": false,
- "binop": null,
- "updateContext": null
- },
- "value": "number",
- "start": 989,
- "end": 997,
+ "start": 1293,
+ "end": 1294,
"loc": {
"start": {
- "line": 37,
- "column": 6
+ "line": 47,
+ "column": 14
},
"end": {
- "line": 37,
- "column": 14
+ "line": 47,
+ "column": 15
}
}
},
{
"type": {
- "label": ":",
+ "label": "case",
+ "keyword": "case",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
@@ -7504,25 +9599,25 @@
"binop": null,
"updateContext": null
},
- "start": 997,
- "end": 998,
+ "value": "case",
+ "start": 1296,
+ "end": 1300,
"loc": {
"start": {
- "line": 37,
- "column": 14
+ "line": 48,
+ "column": 1
},
"end": {
- "line": 37,
- "column": 15
+ "line": 48,
+ "column": 5
}
}
},
{
"type": {
- "label": "default",
- "keyword": "default",
- "beforeExpr": true,
- "startsExpr": false,
+ "label": "string",
+ "beforeExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -7531,17 +9626,17 @@
"binop": null,
"updateContext": null
},
- "value": "default",
- "start": 1000,
- "end": 1007,
+ "value": "dropdown",
+ "start": 1301,
+ "end": 1311,
"loc": {
"start": {
- "line": 38,
- "column": 1
+ "line": 48,
+ "column": 6
},
"end": {
- "line": 38,
- "column": 8
+ "line": 48,
+ "column": 16
}
}
},
@@ -7558,16 +9653,16 @@
"binop": null,
"updateContext": null
},
- "start": 1007,
- "end": 1008,
+ "start": 1311,
+ "end": 1312,
"loc": {
"start": {
- "line": 38,
- "column": 8
+ "line": 48,
+ "column": 16
},
"end": {
- "line": 38,
- "column": 9
+ "line": 48,
+ "column": 17
}
}
},
@@ -7584,15 +9679,15 @@
"binop": null
},
"value": "fieldArgs",
- "start": 1011,
- "end": 1020,
+ "start": 1315,
+ "end": 1324,
"loc": {
"start": {
- "line": 39,
+ "line": 49,
"column": 2
},
"end": {
- "line": 39,
+ "line": 49,
"column": 11
}
}
@@ -7610,15 +9705,15 @@
"binop": null,
"updateContext": null
},
- "start": 1020,
- "end": 1021,
+ "start": 1324,
+ "end": 1325,
"loc": {
"start": {
- "line": 39,
+ "line": 49,
"column": 11
},
"end": {
- "line": 39,
+ "line": 49,
"column": 12
}
}
@@ -7635,17 +9730,17 @@
"postfix": false,
"binop": null
},
- "value": "inputType",
- "start": 1021,
- "end": 1030,
+ "value": "type",
+ "start": 1325,
+ "end": 1329,
"loc": {
"start": {
- "line": 39,
+ "line": 49,
"column": 12
},
"end": {
- "line": 39,
- "column": 21
+ "line": 49,
+ "column": 16
}
}
},
@@ -7663,22 +9758,22 @@
"updateContext": null
},
"value": "=",
- "start": 1031,
- "end": 1032,
+ "start": 1330,
+ "end": 1331,
"loc": {
"start": {
- "line": 39,
- "column": 22
+ "line": 49,
+ "column": 17
},
"end": {
- "line": 39,
- "column": 23
+ "line": 49,
+ "column": 18
}
}
},
{
"type": {
- "label": "name",
+ "label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -7686,77 +9781,81 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "isValidHtml5type",
- "start": 1033,
- "end": 1049,
+ "value": "select",
+ "start": 1332,
+ "end": 1340,
"loc": {
"start": {
- "line": 39,
- "column": 24
+ "line": 49,
+ "column": 19
},
"end": {
- "line": 39,
- "column": 40
+ "line": 49,
+ "column": 27
}
}
},
{
"type": {
- "label": "(",
+ "label": ";",
"beforeExpr": true,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 1049,
- "end": 1050,
+ "start": 1340,
+ "end": 1341,
"loc": {
"start": {
- "line": 39,
- "column": 40
+ "line": 49,
+ "column": 27
},
"end": {
- "line": 39,
- "column": 41
+ "line": 49,
+ "column": 28
}
}
},
{
"type": {
- "label": "name",
+ "label": "break",
+ "keyword": "break",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "fieldArgs",
- "start": 1050,
- "end": 1059,
+ "value": "break",
+ "start": 1344,
+ "end": 1349,
"loc": {
"start": {
- "line": 39,
- "column": 41
+ "line": 50,
+ "column": 2
},
"end": {
- "line": 39,
- "column": 50
+ "line": 50,
+ "column": 7
}
}
},
{
"type": {
- "label": ".",
- "beforeExpr": false,
+ "label": ";",
+ "beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
@@ -7766,73 +9865,77 @@
"binop": null,
"updateContext": null
},
- "start": 1059,
- "end": 1060,
+ "start": 1349,
+ "end": 1350,
"loc": {
"start": {
- "line": 39,
- "column": 50
+ "line": 50,
+ "column": 7
},
"end": {
- "line": 39,
- "column": 51
+ "line": 50,
+ "column": 8
}
}
},
{
"type": {
- "label": "name",
- "beforeExpr": false,
- "startsExpr": true,
+ "label": "case",
+ "keyword": "case",
+ "beforeExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "type",
- "start": 1060,
- "end": 1064,
+ "value": "case",
+ "start": 1352,
+ "end": 1356,
"loc": {
"start": {
- "line": 39,
- "column": 51
+ "line": 51,
+ "column": 1
},
"end": {
- "line": 39,
- "column": 55
+ "line": 51,
+ "column": 5
}
}
},
{
"type": {
- "label": ")",
+ "label": "string",
"beforeExpr": false,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 1064,
- "end": 1065,
+ "value": "fieldset",
+ "start": 1357,
+ "end": 1367,
"loc": {
"start": {
- "line": 39,
- "column": 55
+ "line": 51,
+ "column": 6
},
"end": {
- "line": 39,
- "column": 56
+ "line": 51,
+ "column": 16
}
}
},
{
"type": {
- "label": "?",
+ "label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
@@ -7843,16 +9946,16 @@
"binop": null,
"updateContext": null
},
- "start": 1066,
- "end": 1067,
+ "start": 1367,
+ "end": 1368,
"loc": {
"start": {
- "line": 39,
- "column": 57
+ "line": 51,
+ "column": 16
},
"end": {
- "line": 39,
- "column": 58
+ "line": 51,
+ "column": 17
}
}
},
@@ -7869,16 +9972,16 @@
"binop": null
},
"value": "fieldArgs",
- "start": 1068,
- "end": 1077,
+ "start": 1371,
+ "end": 1380,
"loc": {
"start": {
- "line": 39,
- "column": 59
+ "line": 52,
+ "column": 2
},
"end": {
- "line": 39,
- "column": 68
+ "line": 52,
+ "column": 11
}
}
},
@@ -7895,16 +9998,16 @@
"binop": null,
"updateContext": null
},
- "start": 1077,
- "end": 1078,
+ "start": 1380,
+ "end": 1381,
"loc": {
"start": {
- "line": 39,
- "column": 68
+ "line": 52,
+ "column": 11
},
"end": {
- "line": 39,
- "column": 69
+ "line": 52,
+ "column": 12
}
}
},
@@ -7921,42 +10024,43 @@
"binop": null
},
"value": "type",
- "start": 1078,
- "end": 1082,
+ "start": 1381,
+ "end": 1385,
"loc": {
"start": {
- "line": 39,
- "column": 69
+ "line": 52,
+ "column": 12
},
"end": {
- "line": 39,
- "column": 73
+ "line": 52,
+ "column": 16
}
}
},
{
"type": {
- "label": ":",
+ "label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
- "isAssign": false,
+ "isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
- "start": 1083,
- "end": 1084,
+ "value": "=",
+ "start": 1386,
+ "end": 1387,
"loc": {
"start": {
- "line": 39,
- "column": 74
+ "line": 52,
+ "column": 17
},
"end": {
- "line": 39,
- "column": 75
+ "line": 52,
+ "column": 18
}
}
},
@@ -7973,17 +10077,17 @@
"binop": null,
"updateContext": null
},
- "value": "text",
- "start": 1085,
- "end": 1091,
+ "value": "fieldset",
+ "start": 1388,
+ "end": 1398,
"loc": {
"start": {
- "line": 39,
- "column": 76
+ "line": 52,
+ "column": 19
},
"end": {
- "line": 39,
- "column": 82
+ "line": 52,
+ "column": 29
}
}
},
@@ -8000,49 +10104,51 @@
"binop": null,
"updateContext": null
},
- "start": 1091,
- "end": 1092,
+ "start": 1398,
+ "end": 1399,
"loc": {
"start": {
- "line": 39,
- "column": 82
+ "line": 52,
+ "column": 29
},
"end": {
- "line": 39,
- "column": 83
+ "line": 52,
+ "column": 30
}
}
},
{
"type": {
- "label": "name",
+ "label": "break",
+ "keyword": "break",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "fieldArgs",
- "start": 1095,
- "end": 1104,
+ "value": "break",
+ "start": 1402,
+ "end": 1407,
"loc": {
"start": {
- "line": 40,
+ "line": 53,
"column": 2
},
"end": {
- "line": 40,
- "column": 11
+ "line": 53,
+ "column": 7
}
}
},
{
"type": {
- "label": ".",
- "beforeExpr": false,
+ "label": ";",
+ "beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
@@ -8052,69 +10158,44 @@
"binop": null,
"updateContext": null
},
- "start": 1104,
- "end": 1105,
- "loc": {
- "start": {
- "line": 40,
- "column": 11
- },
- "end": {
- "line": 40,
- "column": 12
- }
- }
- },
- {
- "type": {
- "label": "name",
- "beforeExpr": false,
- "startsExpr": true,
- "rightAssociative": false,
- "isLoop": false,
- "isAssign": false,
- "prefix": false,
- "postfix": false,
- "binop": null
- },
- "value": "type",
- "start": 1105,
- "end": 1109,
+ "start": 1407,
+ "end": 1408,
"loc": {
"start": {
- "line": 40,
- "column": 12
+ "line": 53,
+ "column": 7
},
"end": {
- "line": 40,
- "column": 16
+ "line": 53,
+ "column": 8
}
}
},
{
"type": {
- "label": "=",
+ "label": "case",
+ "keyword": "case",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
- "isAssign": true,
+ "isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
- "value": "=",
- "start": 1110,
- "end": 1111,
+ "value": "case",
+ "start": 1410,
+ "end": 1414,
"loc": {
"start": {
- "line": 40,
- "column": 17
+ "line": 54,
+ "column": 1
},
"end": {
- "line": 40,
- "column": 18
+ "line": 54,
+ "column": 5
}
}
},
@@ -8131,23 +10212,23 @@
"binop": null,
"updateContext": null
},
- "value": "input",
- "start": 1112,
- "end": 1119,
+ "value": "text",
+ "start": 1415,
+ "end": 1421,
"loc": {
"start": {
- "line": 40,
- "column": 19
+ "line": 54,
+ "column": 6
},
"end": {
- "line": 40,
- "column": 26
+ "line": 54,
+ "column": 12
}
}
},
{
"type": {
- "label": ";",
+ "label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
@@ -8158,24 +10239,24 @@
"binop": null,
"updateContext": null
},
- "start": 1119,
- "end": 1120,
+ "start": 1421,
+ "end": 1422,
"loc": {
"start": {
- "line": 40,
- "column": 26
+ "line": 54,
+ "column": 12
},
"end": {
- "line": 40,
- "column": 27
+ "line": 54,
+ "column": 13
}
}
},
{
"type": {
- "label": "break",
- "keyword": "break",
- "beforeExpr": false,
+ "label": "case",
+ "keyword": "case",
+ "beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
@@ -8185,25 +10266,25 @@
"binop": null,
"updateContext": null
},
- "value": "break",
- "start": 1123,
- "end": 1128,
+ "value": "case",
+ "start": 1424,
+ "end": 1428,
"loc": {
"start": {
- "line": 41,
- "column": 2
+ "line": 55,
+ "column": 1
},
"end": {
- "line": 41,
- "column": 7
+ "line": 55,
+ "column": 5
}
}
},
{
"type": {
- "label": ";",
- "beforeExpr": true,
- "startsExpr": false,
+ "label": "string",
+ "beforeExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -8212,49 +10293,51 @@
"binop": null,
"updateContext": null
},
- "start": 1128,
- "end": 1129,
+ "value": "number",
+ "start": 1429,
+ "end": 1437,
"loc": {
"start": {
- "line": 41,
- "column": 7
+ "line": 55,
+ "column": 6
},
"end": {
- "line": 41,
- "column": 8
+ "line": 55,
+ "column": 14
}
}
},
{
"type": {
- "label": "}",
- "beforeExpr": false,
+ "label": ":",
+ "beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 1131,
- "end": 1132,
+ "start": 1437,
+ "end": 1438,
"loc": {
"start": {
- "line": 42,
- "column": 1
+ "line": 55,
+ "column": 14
},
"end": {
- "line": 42,
- "column": 2
+ "line": 55,
+ "column": 15
}
}
},
{
"type": {
- "label": "if",
- "keyword": "if",
- "beforeExpr": false,
+ "label": "default",
+ "keyword": "default",
+ "beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
@@ -8264,42 +10347,43 @@
"binop": null,
"updateContext": null
},
- "value": "if",
- "start": 1135,
- "end": 1137,
+ "value": "default",
+ "start": 1440,
+ "end": 1447,
"loc": {
"start": {
- "line": 44,
+ "line": 56,
"column": 1
},
"end": {
- "line": 44,
- "column": 3
+ "line": 56,
+ "column": 8
}
}
},
{
"type": {
- "label": "(",
+ "label": ":",
"beforeExpr": true,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 1138,
- "end": 1139,
+ "start": 1447,
+ "end": 1448,
"loc": {
"start": {
- "line": 44,
- "column": 4
+ "line": 56,
+ "column": 8
},
"end": {
- "line": 44,
- "column": 5
+ "line": 56,
+ "column": 9
}
}
},
@@ -8316,16 +10400,16 @@
"binop": null
},
"value": "fieldArgs",
- "start": 1139,
- "end": 1148,
+ "start": 1451,
+ "end": 1460,
"loc": {
"start": {
- "line": 44,
- "column": 5
+ "line": 57,
+ "column": 2
},
"end": {
- "line": 44,
- "column": 14
+ "line": 57,
+ "column": 11
}
}
},
@@ -8342,16 +10426,16 @@
"binop": null,
"updateContext": null
},
- "start": 1148,
- "end": 1149,
+ "start": 1460,
+ "end": 1461,
"loc": {
"start": {
- "line": 44,
- "column": 14
+ "line": 57,
+ "column": 11
},
"end": {
- "line": 44,
- "column": 15
+ "line": 57,
+ "column": 12
}
}
},
@@ -8367,48 +10451,50 @@
"postfix": false,
"binop": null
},
- "value": "hasOwnProperty",
- "start": 1149,
- "end": 1163,
+ "value": "inputType",
+ "start": 1461,
+ "end": 1470,
"loc": {
"start": {
- "line": 44,
- "column": 15
+ "line": 57,
+ "column": 12
},
"end": {
- "line": 44,
- "column": 29
+ "line": 57,
+ "column": 21
}
}
},
{
"type": {
- "label": "(",
+ "label": "=",
"beforeExpr": true,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
- "isAssign": false,
+ "isAssign": true,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 1163,
- "end": 1164,
+ "value": "=",
+ "start": 1471,
+ "end": 1472,
"loc": {
"start": {
- "line": 44,
- "column": 29
+ "line": 57,
+ "column": 22
},
"end": {
- "line": 44,
- "column": 30
+ "line": 57,
+ "column": 23
}
}
},
{
"type": {
- "label": "string",
+ "label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -8416,28 +10502,27 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "desc",
- "start": 1164,
- "end": 1170,
+ "value": "isValidHtml5type",
+ "start": 1473,
+ "end": 1489,
"loc": {
"start": {
- "line": 44,
- "column": 30
+ "line": 57,
+ "column": 24
},
"end": {
- "line": 44,
- "column": 36
+ "line": 57,
+ "column": 40
}
}
},
{
"type": {
- "label": ")",
- "beforeExpr": false,
- "startsExpr": false,
+ "label": "(",
+ "beforeExpr": true,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -8445,24 +10530,24 @@
"postfix": false,
"binop": null
},
- "start": 1170,
- "end": 1171,
+ "start": 1489,
+ "end": 1490,
"loc": {
"start": {
- "line": 44,
- "column": 36
+ "line": 57,
+ "column": 40
},
"end": {
- "line": 44,
- "column": 37
+ "line": 57,
+ "column": 41
}
}
},
{
"type": {
- "label": ")",
+ "label": "name",
"beforeExpr": false,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -8470,41 +10555,43 @@
"postfix": false,
"binop": null
},
- "start": 1171,
- "end": 1172,
+ "value": "fieldArgs",
+ "start": 1490,
+ "end": 1499,
"loc": {
"start": {
- "line": 44,
- "column": 37
+ "line": 57,
+ "column": 41
},
"end": {
- "line": 44,
- "column": 38
+ "line": 57,
+ "column": 50
}
}
},
{
"type": {
- "label": "{",
- "beforeExpr": true,
- "startsExpr": true,
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 1173,
- "end": 1174,
+ "start": 1499,
+ "end": 1500,
"loc": {
"start": {
- "line": 44,
- "column": 39
+ "line": 57,
+ "column": 50
},
"end": {
- "line": 44,
- "column": 40
+ "line": 57,
+ "column": 51
}
}
},
@@ -8520,23 +10607,23 @@
"postfix": false,
"binop": null
},
- "value": "fieldArgs",
- "start": 1177,
- "end": 1186,
+ "value": "type",
+ "start": 1500,
+ "end": 1504,
"loc": {
"start": {
- "line": 45,
- "column": 2
+ "line": 57,
+ "column": 51
},
"end": {
- "line": 45,
- "column": 11
+ "line": 57,
+ "column": 55
}
}
},
{
"type": {
- "label": ".",
+ "label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
@@ -8544,72 +10631,44 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
- },
- "start": 1186,
- "end": 1187,
- "loc": {
- "start": {
- "line": 45,
- "column": 11
- },
- "end": {
- "line": 45,
- "column": 12
- }
- }
- },
- {
- "type": {
- "label": "name",
- "beforeExpr": false,
- "startsExpr": true,
- "rightAssociative": false,
- "isLoop": false,
- "isAssign": false,
- "prefix": false,
- "postfix": false,
"binop": null
},
- "value": "help",
- "start": 1187,
- "end": 1191,
+ "start": 1504,
+ "end": 1505,
"loc": {
"start": {
- "line": 45,
- "column": 12
+ "line": 57,
+ "column": 55
},
"end": {
- "line": 45,
- "column": 16
+ "line": 57,
+ "column": 56
}
}
},
{
"type": {
- "label": "=",
+ "label": "?",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
- "isAssign": true,
+ "isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
- "value": "=",
- "start": 1192,
- "end": 1193,
+ "start": 1506,
+ "end": 1507,
"loc": {
"start": {
- "line": 45,
- "column": 17
+ "line": 57,
+ "column": 57
},
"end": {
- "line": 45,
- "column": 18
+ "line": 57,
+ "column": 58
}
}
},
@@ -8626,16 +10685,16 @@
"binop": null
},
"value": "fieldArgs",
- "start": 1194,
- "end": 1203,
+ "start": 1508,
+ "end": 1517,
"loc": {
"start": {
- "line": 45,
- "column": 19
+ "line": 57,
+ "column": 59
},
"end": {
- "line": 45,
- "column": 28
+ "line": 57,
+ "column": 68
}
}
},
@@ -8652,16 +10711,16 @@
"binop": null,
"updateContext": null
},
- "start": 1203,
- "end": 1204,
+ "start": 1517,
+ "end": 1518,
"loc": {
"start": {
- "line": 45,
- "column": 28
+ "line": 57,
+ "column": 68
},
"end": {
- "line": 45,
- "column": 29
+ "line": 57,
+ "column": 69
}
}
},
@@ -8677,23 +10736,23 @@
"postfix": false,
"binop": null
},
- "value": "desc",
- "start": 1204,
- "end": 1208,
+ "value": "type",
+ "start": 1518,
+ "end": 1522,
"loc": {
"start": {
- "line": 45,
- "column": 29
+ "line": 57,
+ "column": 69
},
"end": {
- "line": 45,
- "column": 33
+ "line": 57,
+ "column": 73
}
}
},
{
"type": {
- "label": ";",
+ "label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
@@ -8704,50 +10763,24 @@
"binop": null,
"updateContext": null
},
- "start": 1208,
- "end": 1209,
- "loc": {
- "start": {
- "line": 45,
- "column": 33
- },
- "end": {
- "line": 45,
- "column": 34
- }
- }
- },
- {
- "type": {
- "label": "}",
- "beforeExpr": false,
- "startsExpr": false,
- "rightAssociative": false,
- "isLoop": false,
- "isAssign": false,
- "prefix": false,
- "postfix": false,
- "binop": null
- },
- "start": 1211,
- "end": 1212,
+ "start": 1523,
+ "end": 1524,
"loc": {
"start": {
- "line": 46,
- "column": 1
+ "line": 57,
+ "column": 74
},
"end": {
- "line": 46,
- "column": 2
+ "line": 57,
+ "column": 75
}
}
},
{
"type": {
- "label": "if",
- "keyword": "if",
+ "label": "string",
"beforeExpr": false,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -8756,42 +10789,43 @@
"binop": null,
"updateContext": null
},
- "value": "if",
- "start": 1214,
- "end": 1216,
+ "value": "text",
+ "start": 1525,
+ "end": 1531,
"loc": {
"start": {
- "line": 47,
- "column": 1
+ "line": 57,
+ "column": 76
},
"end": {
- "line": 47,
- "column": 3
+ "line": 57,
+ "column": 82
}
}
},
{
"type": {
- "label": "(",
+ "label": ";",
"beforeExpr": true,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 1217,
- "end": 1218,
+ "start": 1531,
+ "end": 1532,
"loc": {
"start": {
- "line": 47,
- "column": 4
+ "line": 57,
+ "column": 82
},
"end": {
- "line": 47,
- "column": 5
+ "line": 57,
+ "column": 83
}
}
},
@@ -8808,16 +10842,16 @@
"binop": null
},
"value": "fieldArgs",
- "start": 1218,
- "end": 1227,
+ "start": 1535,
+ "end": 1544,
"loc": {
"start": {
- "line": 47,
- "column": 5
+ "line": 58,
+ "column": 2
},
"end": {
- "line": 47,
- "column": 14
+ "line": 58,
+ "column": 11
}
}
},
@@ -8834,16 +10868,16 @@
"binop": null,
"updateContext": null
},
- "start": 1227,
- "end": 1228,
+ "start": 1544,
+ "end": 1545,
"loc": {
"start": {
- "line": 47,
- "column": 14
+ "line": 58,
+ "column": 11
},
"end": {
- "line": 47,
- "column": 15
+ "line": 58,
+ "column": 12
}
}
},
@@ -8859,42 +10893,44 @@
"postfix": false,
"binop": null
},
- "value": "hasOwnProperty",
- "start": 1228,
- "end": 1242,
+ "value": "type",
+ "start": 1545,
+ "end": 1549,
"loc": {
"start": {
- "line": 47,
- "column": 15
+ "line": 58,
+ "column": 12
},
"end": {
- "line": 47,
- "column": 29
+ "line": 58,
+ "column": 16
}
}
},
{
"type": {
- "label": "(",
+ "label": "=",
"beforeExpr": true,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
- "isAssign": false,
+ "isAssign": true,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 1242,
- "end": 1243,
+ "value": "=",
+ "start": 1550,
+ "end": 1551,
"loc": {
"start": {
- "line": 47,
- "column": 29
+ "line": 58,
+ "column": 17
},
"end": {
- "line": 47,
- "column": 30
+ "line": 58,
+ "column": 18
}
}
},
@@ -8911,48 +10947,50 @@
"binop": null,
"updateContext": null
},
- "value": "description",
- "start": 1243,
- "end": 1256,
+ "value": "input",
+ "start": 1552,
+ "end": 1559,
"loc": {
"start": {
- "line": 47,
- "column": 30
+ "line": 58,
+ "column": 19
},
"end": {
- "line": 47,
- "column": 43
+ "line": 58,
+ "column": 26
}
}
},
{
"type": {
- "label": ")",
- "beforeExpr": false,
+ "label": ";",
+ "beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 1256,
- "end": 1257,
+ "start": 1559,
+ "end": 1560,
"loc": {
"start": {
- "line": 47,
- "column": 43
+ "line": 58,
+ "column": 26
},
"end": {
- "line": 47,
- "column": 44
+ "line": 58,
+ "column": 27
}
}
},
{
"type": {
- "label": ")",
+ "label": "break",
+ "keyword": "break",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
@@ -8960,51 +10998,54 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 1257,
- "end": 1258,
+ "value": "break",
+ "start": 1563,
+ "end": 1568,
"loc": {
"start": {
- "line": 47,
- "column": 44
+ "line": 59,
+ "column": 2
},
"end": {
- "line": 47,
- "column": 45
+ "line": 59,
+ "column": 7
}
}
},
{
"type": {
- "label": "{",
+ "label": ";",
"beforeExpr": true,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 1259,
- "end": 1260,
+ "start": 1568,
+ "end": 1569,
"loc": {
"start": {
- "line": 47,
- "column": 46
+ "line": 59,
+ "column": 7
},
"end": {
- "line": 47,
- "column": 47
+ "line": 59,
+ "column": 8
}
}
},
{
"type": {
- "label": "name",
+ "label": "}",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -9012,23 +11053,23 @@
"postfix": false,
"binop": null
},
- "value": "fieldArgs",
- "start": 1263,
- "end": 1272,
+ "start": 1571,
+ "end": 1572,
"loc": {
"start": {
- "line": 48,
- "column": 2
+ "line": 60,
+ "column": 1
},
"end": {
- "line": 48,
- "column": 11
+ "line": 60,
+ "column": 2
}
}
},
{
"type": {
- "label": ".",
+ "label": "if",
+ "keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
@@ -9039,23 +11080,24 @@
"binop": null,
"updateContext": null
},
- "start": 1272,
- "end": 1273,
+ "value": "if",
+ "start": 1575,
+ "end": 1577,
"loc": {
"start": {
- "line": 48,
- "column": 11
+ "line": 62,
+ "column": 1
},
"end": {
- "line": 48,
- "column": 12
+ "line": 62,
+ "column": 3
}
}
},
{
"type": {
- "label": "name",
- "beforeExpr": false,
+ "label": "(",
+ "beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
@@ -9064,44 +11106,16 @@
"postfix": false,
"binop": null
},
- "value": "help",
- "start": 1273,
- "end": 1277,
- "loc": {
- "start": {
- "line": 48,
- "column": 12
- },
- "end": {
- "line": 48,
- "column": 16
- }
- }
- },
- {
- "type": {
- "label": "=",
- "beforeExpr": true,
- "startsExpr": false,
- "rightAssociative": false,
- "isLoop": false,
- "isAssign": true,
- "prefix": false,
- "postfix": false,
- "binop": null,
- "updateContext": null
- },
- "value": "=",
- "start": 1278,
- "end": 1279,
+ "start": 1578,
+ "end": 1579,
"loc": {
"start": {
- "line": 48,
- "column": 17
+ "line": 62,
+ "column": 4
},
"end": {
- "line": 48,
- "column": 18
+ "line": 62,
+ "column": 5
}
}
},
@@ -9118,16 +11132,16 @@
"binop": null
},
"value": "fieldArgs",
- "start": 1280,
- "end": 1289,
+ "start": 1579,
+ "end": 1588,
"loc": {
"start": {
- "line": 48,
- "column": 19
+ "line": 62,
+ "column": 5
},
"end": {
- "line": 48,
- "column": 28
+ "line": 62,
+ "column": 14
}
}
},
@@ -9144,16 +11158,16 @@
"binop": null,
"updateContext": null
},
- "start": 1289,
- "end": 1290,
+ "start": 1588,
+ "end": 1589,
"loc": {
"start": {
- "line": 48,
- "column": 28
+ "line": 62,
+ "column": 14
},
"end": {
- "line": 48,
- "column": 29
+ "line": 62,
+ "column": 15
}
}
},
@@ -9169,51 +11183,25 @@
"postfix": false,
"binop": null
},
- "value": "description",
- "start": 1290,
- "end": 1301,
+ "value": "hasOwnProperty",
+ "start": 1589,
+ "end": 1603,
"loc": {
"start": {
- "line": 48,
- "column": 29
+ "line": 62,
+ "column": 15
},
"end": {
- "line": 48,
- "column": 40
+ "line": 62,
+ "column": 29
}
}
},
{
"type": {
- "label": ";",
+ "label": "(",
"beforeExpr": true,
- "startsExpr": false,
- "rightAssociative": false,
- "isLoop": false,
- "isAssign": false,
- "prefix": false,
- "postfix": false,
- "binop": null,
- "updateContext": null
- },
- "start": 1301,
- "end": 1302,
- "loc": {
- "start": {
- "line": 48,
- "column": 40
- },
- "end": {
- "line": 48,
- "column": 41
- }
- }
- },
- {
- "type": {
- "label": "}",
- "beforeExpr": false,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -9221,25 +11209,24 @@
"postfix": false,
"binop": null
},
- "start": 1304,
- "end": 1305,
+ "start": 1603,
+ "end": 1604,
"loc": {
"start": {
- "line": 49,
- "column": 1
+ "line": 62,
+ "column": 29
},
"end": {
- "line": 49,
- "column": 2
+ "line": 62,
+ "column": 30
}
}
},
{
"type": {
- "label": "let",
- "keyword": "let",
+ "label": "string",
"beforeExpr": false,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -9248,25 +11235,25 @@
"binop": null,
"updateContext": null
},
- "value": "let",
- "start": 1308,
- "end": 1311,
+ "value": "desc",
+ "start": 1604,
+ "end": 1610,
"loc": {
"start": {
- "line": 51,
- "column": 1
+ "line": 62,
+ "column": 30
},
"end": {
- "line": 51,
- "column": 4
+ "line": 62,
+ "column": 36
}
}
},
{
"type": {
- "label": "name",
+ "label": ")",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -9274,50 +11261,47 @@
"postfix": false,
"binop": null
},
- "value": "validators",
- "start": 1312,
- "end": 1322,
+ "start": 1610,
+ "end": 1611,
"loc": {
"start": {
- "line": 51,
- "column": 5
+ "line": 62,
+ "column": 36
},
"end": {
- "line": 51,
- "column": 15
+ "line": 62,
+ "column": 37
}
}
},
{
"type": {
- "label": "=",
- "beforeExpr": true,
+ "label": ")",
+ "beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
- "isAssign": true,
+ "isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "=",
- "start": 1323,
- "end": 1324,
+ "start": 1611,
+ "end": 1612,
"loc": {
"start": {
- "line": 51,
- "column": 16
+ "line": 62,
+ "column": 37
},
"end": {
- "line": 51,
- "column": 17
+ "line": 62,
+ "column": 38
}
}
},
{
"type": {
- "label": "[",
+ "label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
@@ -9325,52 +11309,51 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 1325,
- "end": 1326,
+ "start": 1613,
+ "end": 1614,
"loc": {
"start": {
- "line": 51,
- "column": 18
+ "line": 62,
+ "column": 39
},
"end": {
- "line": 51,
- "column": 19
+ "line": 62,
+ "column": 40
}
}
},
{
"type": {
- "label": "]",
+ "label": "name",
"beforeExpr": false,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 1326,
- "end": 1327,
+ "value": "fieldArgs",
+ "start": 1617,
+ "end": 1626,
"loc": {
"start": {
- "line": 51,
- "column": 19
+ "line": 63,
+ "column": 2
},
"end": {
- "line": 51,
- "column": 20
+ "line": 63,
+ "column": 11
}
}
},
{
"type": {
- "label": ";",
- "beforeExpr": true,
+ "label": ".",
+ "beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
@@ -9380,69 +11363,69 @@
"binop": null,
"updateContext": null
},
- "start": 1327,
- "end": 1328,
+ "start": 1626,
+ "end": 1627,
"loc": {
"start": {
- "line": 51,
- "column": 20
+ "line": 63,
+ "column": 11
},
"end": {
- "line": 51,
- "column": 21
+ "line": 63,
+ "column": 12
}
}
},
{
"type": {
- "label": "if",
- "keyword": "if",
+ "label": "name",
"beforeExpr": false,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "if",
- "start": 1330,
- "end": 1332,
+ "value": "help",
+ "start": 1627,
+ "end": 1631,
"loc": {
"start": {
- "line": 52,
- "column": 1
+ "line": 63,
+ "column": 12
},
"end": {
- "line": 52,
- "column": 3
+ "line": 63,
+ "column": 16
}
}
},
{
"type": {
- "label": "(",
+ "label": "=",
"beforeExpr": true,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
- "isAssign": false,
+ "isAssign": true,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 1332,
- "end": 1333,
+ "value": "=",
+ "start": 1632,
+ "end": 1633,
"loc": {
"start": {
- "line": 52,
- "column": 3
+ "line": 63,
+ "column": 17
},
"end": {
- "line": 52,
- "column": 4
+ "line": 63,
+ "column": 18
}
}
},
@@ -9459,16 +11442,16 @@
"binop": null
},
"value": "fieldArgs",
- "start": 1334,
- "end": 1343,
+ "start": 1634,
+ "end": 1643,
"loc": {
"start": {
- "line": 52,
- "column": 5
+ "line": 63,
+ "column": 19
},
"end": {
- "line": 52,
- "column": 14
+ "line": 63,
+ "column": 28
}
}
},
@@ -9485,16 +11468,16 @@
"binop": null,
"updateContext": null
},
- "start": 1343,
- "end": 1344,
+ "start": 1643,
+ "end": 1644,
"loc": {
"start": {
- "line": 52,
- "column": 14
+ "line": 63,
+ "column": 28
},
"end": {
- "line": 52,
- "column": 15
+ "line": 63,
+ "column": 29
}
}
},
@@ -9510,75 +11493,75 @@
"postfix": false,
"binop": null
},
- "value": "hasOwnProperty",
- "start": 1344,
- "end": 1358,
+ "value": "desc",
+ "start": 1644,
+ "end": 1648,
"loc": {
"start": {
- "line": 52,
- "column": 15
+ "line": 63,
+ "column": 29
},
"end": {
- "line": 52,
- "column": 29
+ "line": 63,
+ "column": 33
}
}
},
{
"type": {
- "label": "(",
+ "label": ";",
"beforeExpr": true,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 1358,
- "end": 1359,
+ "start": 1648,
+ "end": 1649,
"loc": {
"start": {
- "line": 52,
- "column": 29
+ "line": 63,
+ "column": 33
},
"end": {
- "line": 52,
- "column": 30
+ "line": 63,
+ "column": 34
}
}
},
{
"type": {
- "label": "string",
+ "label": "}",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "validators",
- "start": 1359,
- "end": 1371,
+ "start": 1651,
+ "end": 1652,
"loc": {
"start": {
- "line": 52,
- "column": 30
+ "line": 64,
+ "column": 1
},
"end": {
- "line": 52,
- "column": 42
+ "line": 64,
+ "column": 2
}
}
},
{
"type": {
- "label": ")",
+ "label": "if",
+ "keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
@@ -9586,45 +11569,45 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 1371,
- "end": 1372,
+ "value": "if",
+ "start": 1654,
+ "end": 1656,
"loc": {
"start": {
- "line": 52,
- "column": 42
+ "line": 65,
+ "column": 1
},
"end": {
- "line": 52,
- "column": 43
+ "line": 65,
+ "column": 3
}
}
},
{
"type": {
- "label": "&&",
+ "label": "(",
"beforeExpr": true,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": 2,
- "updateContext": null
+ "binop": null
},
- "value": "&&",
- "start": 1373,
- "end": 1375,
+ "start": 1657,
+ "end": 1658,
"loc": {
"start": {
- "line": 52,
- "column": 44
+ "line": 65,
+ "column": 4
},
"end": {
- "line": 52,
- "column": 46
+ "line": 65,
+ "column": 5
}
}
},
@@ -9640,17 +11623,17 @@
"postfix": false,
"binop": null
},
- "value": "Array",
- "start": 1376,
- "end": 1381,
+ "value": "fieldArgs",
+ "start": 1658,
+ "end": 1667,
"loc": {
"start": {
- "line": 52,
- "column": 47
+ "line": 65,
+ "column": 5
},
"end": {
- "line": 52,
- "column": 52
+ "line": 65,
+ "column": 14
}
}
},
@@ -9667,16 +11650,16 @@
"binop": null,
"updateContext": null
},
- "start": 1381,
- "end": 1382,
+ "start": 1667,
+ "end": 1668,
"loc": {
"start": {
- "line": 52,
- "column": 52
+ "line": 65,
+ "column": 14
},
"end": {
- "line": 52,
- "column": 53
+ "line": 65,
+ "column": 15
}
}
},
@@ -9692,17 +11675,17 @@
"postfix": false,
"binop": null
},
- "value": "isArray",
- "start": 1382,
- "end": 1389,
+ "value": "hasOwnProperty",
+ "start": 1668,
+ "end": 1682,
"loc": {
"start": {
- "line": 52,
- "column": 53
+ "line": 65,
+ "column": 15
},
"end": {
- "line": 52,
- "column": 60
+ "line": 65,
+ "column": 29
}
}
},
@@ -9718,22 +11701,22 @@
"postfix": false,
"binop": null
},
- "start": 1389,
- "end": 1390,
+ "start": 1682,
+ "end": 1683,
"loc": {
"start": {
- "line": 52,
- "column": 60
+ "line": 65,
+ "column": 29
},
"end": {
- "line": 52,
- "column": 61
+ "line": 65,
+ "column": 30
}
}
},
{
"type": {
- "label": "name",
+ "label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -9741,25 +11724,26 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "fieldArgs",
- "start": 1390,
- "end": 1399,
+ "value": "description",
+ "start": 1683,
+ "end": 1696,
"loc": {
"start": {
- "line": 52,
- "column": 61
+ "line": 65,
+ "column": 30
},
"end": {
- "line": 52,
- "column": 70
+ "line": 65,
+ "column": 43
}
}
},
{
"type": {
- "label": ".",
+ "label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
@@ -9767,27 +11751,26 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 1399,
- "end": 1400,
+ "start": 1696,
+ "end": 1697,
"loc": {
"start": {
- "line": 52,
- "column": 70
+ "line": 65,
+ "column": 43
},
"end": {
- "line": 52,
- "column": 71
+ "line": 65,
+ "column": 44
}
}
},
{
"type": {
- "label": "name",
+ "label": ")",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -9795,25 +11778,24 @@
"postfix": false,
"binop": null
},
- "value": "validators",
- "start": 1400,
- "end": 1410,
+ "start": 1697,
+ "end": 1698,
"loc": {
"start": {
- "line": 52,
- "column": 71
+ "line": 65,
+ "column": 44
},
"end": {
- "line": 52,
- "column": 81
+ "line": 65,
+ "column": 45
}
}
},
{
"type": {
- "label": ")",
- "beforeExpr": false,
- "startsExpr": false,
+ "label": "{",
+ "beforeExpr": true,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -9821,24 +11803,24 @@
"postfix": false,
"binop": null
},
- "start": 1411,
- "end": 1412,
+ "start": 1699,
+ "end": 1700,
"loc": {
"start": {
- "line": 52,
- "column": 82
+ "line": 65,
+ "column": 46
},
"end": {
- "line": 52,
- "column": 83
+ "line": 65,
+ "column": 47
}
}
},
{
"type": {
- "label": ")",
+ "label": "name",
"beforeExpr": false,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -9846,41 +11828,43 @@
"postfix": false,
"binop": null
},
- "start": 1412,
- "end": 1413,
+ "value": "fieldArgs",
+ "start": 1703,
+ "end": 1712,
"loc": {
"start": {
- "line": 52,
- "column": 83
+ "line": 66,
+ "column": 2
},
"end": {
- "line": 52,
- "column": 84
+ "line": 66,
+ "column": 11
}
}
},
{
"type": {
- "label": "{",
- "beforeExpr": true,
- "startsExpr": true,
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 1413,
- "end": 1414,
+ "start": 1712,
+ "end": 1713,
"loc": {
"start": {
- "line": 52,
- "column": 84
+ "line": 66,
+ "column": 11
},
"end": {
- "line": 52,
- "column": 85
+ "line": 66,
+ "column": 12
}
}
},
@@ -9896,17 +11880,17 @@
"postfix": false,
"binop": null
},
- "value": "validators",
- "start": 1417,
- "end": 1427,
+ "value": "help",
+ "start": 1713,
+ "end": 1717,
"loc": {
"start": {
- "line": 53,
- "column": 2
+ "line": 66,
+ "column": 12
},
"end": {
- "line": 53,
- "column": 12
+ "line": 66,
+ "column": 16
}
}
},
@@ -9924,16 +11908,16 @@
"updateContext": null
},
"value": "=",
- "start": 1428,
- "end": 1429,
+ "start": 1718,
+ "end": 1719,
"loc": {
"start": {
- "line": 53,
- "column": 13
+ "line": 66,
+ "column": 17
},
"end": {
- "line": 53,
- "column": 14
+ "line": 66,
+ "column": 18
}
}
},
@@ -9950,16 +11934,16 @@
"binop": null
},
"value": "fieldArgs",
- "start": 1430,
- "end": 1439,
+ "start": 1720,
+ "end": 1729,
"loc": {
"start": {
- "line": 53,
- "column": 15
+ "line": 66,
+ "column": 19
},
"end": {
- "line": 53,
- "column": 24
+ "line": 66,
+ "column": 28
}
}
},
@@ -9976,16 +11960,16 @@
"binop": null,
"updateContext": null
},
- "start": 1439,
- "end": 1440,
+ "start": 1729,
+ "end": 1730,
"loc": {
"start": {
- "line": 53,
- "column": 24
+ "line": 66,
+ "column": 28
},
"end": {
- "line": 53,
- "column": 25
+ "line": 66,
+ "column": 29
}
}
},
@@ -10001,17 +11985,17 @@
"postfix": false,
"binop": null
},
- "value": "validators",
- "start": 1440,
- "end": 1450,
+ "value": "description",
+ "start": 1730,
+ "end": 1741,
"loc": {
"start": {
- "line": 53,
- "column": 25
+ "line": 66,
+ "column": 29
},
"end": {
- "line": 53,
- "column": 35
+ "line": 66,
+ "column": 40
}
}
},
@@ -10028,16 +12012,16 @@
"binop": null,
"updateContext": null
},
- "start": 1450,
- "end": 1451,
+ "start": 1741,
+ "end": 1742,
"loc": {
"start": {
- "line": 53,
- "column": 35
+ "line": 66,
+ "column": 40
},
"end": {
- "line": 53,
- "column": 36
+ "line": 66,
+ "column": 41
}
}
},
@@ -10053,23 +12037,23 @@
"postfix": false,
"binop": null
},
- "start": 1453,
- "end": 1454,
+ "start": 1744,
+ "end": 1745,
"loc": {
"start": {
- "line": 54,
+ "line": 67,
"column": 1
},
"end": {
- "line": 54,
+ "line": 67,
"column": 2
}
}
},
{
"type": {
- "label": "const",
- "keyword": "const",
+ "label": "let",
+ "keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
@@ -10080,17 +12064,17 @@
"binop": null,
"updateContext": null
},
- "value": "const",
- "start": 1457,
- "end": 1462,
+ "value": "let",
+ "start": 1748,
+ "end": 1751,
"loc": {
"start": {
- "line": 56,
+ "line": 69,
"column": 1
},
"end": {
- "line": 56,
- "column": 6
+ "line": 69,
+ "column": 4
}
}
},
@@ -10106,17 +12090,17 @@
"postfix": false,
"binop": null
},
- "value": "keys",
- "start": 1463,
- "end": 1467,
+ "value": "validators",
+ "start": 1752,
+ "end": 1762,
"loc": {
"start": {
- "line": 56,
- "column": 7
+ "line": 69,
+ "column": 5
},
"end": {
- "line": 56,
- "column": 11
+ "line": 69,
+ "column": 15
}
}
},
@@ -10134,103 +12118,75 @@
"updateContext": null
},
"value": "=",
- "start": 1468,
- "end": 1469,
- "loc": {
- "start": {
- "line": 56,
- "column": 12
- },
- "end": {
- "line": 56,
- "column": 13
- }
- }
- },
- {
- "type": {
- "label": "string",
- "beforeExpr": false,
- "startsExpr": true,
- "rightAssociative": false,
- "isLoop": false,
- "isAssign": false,
- "prefix": false,
- "postfix": false,
- "binop": null,
- "updateContext": null
- },
- "value": "magic",
- "start": 1470,
- "end": 1477,
+ "start": 1763,
+ "end": 1764,
"loc": {
"start": {
- "line": 56,
- "column": 14
+ "line": 69,
+ "column": 16
},
"end": {
- "line": 56,
- "column": 21
+ "line": 69,
+ "column": 17
}
}
},
{
"type": {
- "label": "==/!=",
+ "label": "[",
"beforeExpr": true,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": 6,
+ "binop": null,
"updateContext": null
},
- "value": "===",
- "start": 1478,
- "end": 1481,
+ "start": 1765,
+ "end": 1766,
"loc": {
"start": {
- "line": 56,
- "column": 22
+ "line": 69,
+ "column": 18
},
"end": {
- "line": 56,
- "column": 25
+ "line": 69,
+ "column": 19
}
}
},
{
"type": {
- "label": "name",
+ "label": "]",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "fieldArgs",
- "start": 1482,
- "end": 1491,
+ "start": 1766,
+ "end": 1767,
"loc": {
"start": {
- "line": 56,
- "column": 26
+ "line": 69,
+ "column": 19
},
"end": {
- "line": 56,
- "column": 35
+ "line": 69,
+ "column": 20
}
}
},
{
"type": {
- "label": ".",
- "beforeExpr": false,
+ "label": ";",
+ "beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
@@ -10240,68 +12196,69 @@
"binop": null,
"updateContext": null
},
- "start": 1491,
- "end": 1492,
+ "start": 1767,
+ "end": 1768,
"loc": {
"start": {
- "line": 56,
- "column": 35
+ "line": 69,
+ "column": 20
},
"end": {
- "line": 56,
- "column": 36
+ "line": 69,
+ "column": 21
}
}
},
{
"type": {
- "label": "name",
+ "label": "if",
+ "keyword": "if",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "value": "type",
- "start": 1492,
- "end": 1496,
+ "value": "if",
+ "start": 1770,
+ "end": 1772,
"loc": {
"start": {
- "line": 56,
- "column": 36
+ "line": 70,
+ "column": 1
},
"end": {
- "line": 56,
- "column": 40
+ "line": 70,
+ "column": 3
}
}
},
{
"type": {
- "label": "?",
+ "label": "(",
"beforeExpr": true,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 1498,
- "end": 1499,
+ "start": 1773,
+ "end": 1774,
"loc": {
"start": {
- "line": 56,
- "column": 42
+ "line": 70,
+ "column": 4
},
"end": {
- "line": 56,
- "column": 43
+ "line": 70,
+ "column": 5
}
}
},
@@ -10317,24 +12274,24 @@
"postfix": false,
"binop": null
},
- "value": "magicGroupPropTypes",
- "start": 1500,
- "end": 1519,
+ "value": "fieldArgs",
+ "start": 1774,
+ "end": 1783,
"loc": {
"start": {
- "line": 56,
- "column": 44
+ "line": 70,
+ "column": 5
},
"end": {
- "line": 56,
- "column": 63
+ "line": 70,
+ "column": 14
}
}
},
{
"type": {
- "label": ":",
- "beforeExpr": true,
+ "label": ".",
+ "beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
@@ -10344,16 +12301,16 @@
"binop": null,
"updateContext": null
},
- "start": 1520,
- "end": 1521,
+ "start": 1783,
+ "end": 1784,
"loc": {
"start": {
- "line": 56,
- "column": 64
+ "line": 70,
+ "column": 14
},
"end": {
- "line": 56,
- "column": 65
+ "line": 70,
+ "column": 15
}
}
},
@@ -10369,49 +12326,48 @@
"postfix": false,
"binop": null
},
- "value": "fieldGroupPropTypes",
- "start": 1522,
- "end": 1541,
+ "value": "hasOwnProperty",
+ "start": 1784,
+ "end": 1798,
"loc": {
"start": {
- "line": 56,
- "column": 66
+ "line": 70,
+ "column": 15
},
"end": {
- "line": 56,
- "column": 85
+ "line": 70,
+ "column": 29
}
}
},
{
"type": {
- "label": ";",
+ "label": "(",
"beforeExpr": true,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 1541,
- "end": 1542,
+ "start": 1798,
+ "end": 1799,
"loc": {
"start": {
- "line": 56,
- "column": 85
+ "line": 70,
+ "column": 29
},
"end": {
- "line": 56,
- "column": 86
+ "line": 70,
+ "column": 30
}
}
},
{
"type": {
- "label": "name",
+ "label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -10419,54 +12375,28 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
- },
- "value": "fieldArgs",
- "start": 1544,
- "end": 1553,
- "loc": {
- "start": {
- "line": 57,
- "column": 1
- },
- "end": {
- "line": 57,
- "column": 10
- }
- }
- },
- {
- "type": {
- "label": "=",
- "beforeExpr": true,
- "startsExpr": false,
- "rightAssociative": false,
- "isLoop": false,
- "isAssign": true,
- "prefix": false,
- "postfix": false,
"binop": null,
"updateContext": null
},
- "value": "=",
- "start": 1554,
- "end": 1555,
+ "value": "validators",
+ "start": 1799,
+ "end": 1811,
"loc": {
"start": {
- "line": 57,
- "column": 11
+ "line": 70,
+ "column": 30
},
"end": {
- "line": 57,
- "column": 12
+ "line": 70,
+ "column": 42
}
}
},
{
"type": {
- "label": "name",
+ "label": ")",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -10474,42 +12404,43 @@
"postfix": false,
"binop": null
},
- "value": "pick",
- "start": 1556,
- "end": 1560,
+ "start": 1811,
+ "end": 1812,
"loc": {
"start": {
- "line": 57,
- "column": 13
+ "line": 70,
+ "column": 42
},
"end": {
- "line": 57,
- "column": 17
+ "line": 70,
+ "column": 43
}
}
},
{
"type": {
- "label": "(",
+ "label": "&&",
"beforeExpr": true,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": 2,
+ "updateContext": null
},
- "start": 1560,
- "end": 1561,
+ "value": "&&",
+ "start": 1813,
+ "end": 1815,
"loc": {
"start": {
- "line": 57,
- "column": 17
+ "line": 70,
+ "column": 44
},
"end": {
- "line": 57,
- "column": 18
+ "line": 70,
+ "column": 46
}
}
},
@@ -10525,24 +12456,24 @@
"postfix": false,
"binop": null
},
- "value": "fieldArgs",
- "start": 1561,
- "end": 1570,
+ "value": "Array",
+ "start": 1816,
+ "end": 1821,
"loc": {
"start": {
- "line": 57,
- "column": 18
+ "line": 70,
+ "column": 47
},
"end": {
- "line": 57,
- "column": 27
+ "line": 70,
+ "column": 52
}
}
},
{
"type": {
- "label": ",",
- "beforeExpr": true,
+ "label": ".",
+ "beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
@@ -10552,16 +12483,16 @@
"binop": null,
"updateContext": null
},
- "start": 1570,
- "end": 1571,
+ "start": 1821,
+ "end": 1822,
"loc": {
"start": {
- "line": 57,
- "column": 27
+ "line": 70,
+ "column": 52
},
"end": {
- "line": 57,
- "column": 28
+ "line": 70,
+ "column": 53
}
}
},
@@ -10577,43 +12508,42 @@
"postfix": false,
"binop": null
},
- "value": "Object",
- "start": 1572,
- "end": 1578,
+ "value": "isArray",
+ "start": 1822,
+ "end": 1829,
"loc": {
"start": {
- "line": 57,
- "column": 29
+ "line": 70,
+ "column": 53
},
"end": {
- "line": 57,
- "column": 35
+ "line": 70,
+ "column": 60
}
}
},
{
"type": {
- "label": ".",
- "beforeExpr": false,
- "startsExpr": false,
+ "label": "(",
+ "beforeExpr": true,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 1578,
- "end": 1579,
+ "start": 1829,
+ "end": 1830,
"loc": {
"start": {
- "line": 57,
- "column": 35
+ "line": 70,
+ "column": 60
},
"end": {
- "line": 57,
- "column": 36
+ "line": 70,
+ "column": 61
}
}
},
@@ -10629,42 +12559,43 @@
"postfix": false,
"binop": null
},
- "value": "keys",
- "start": 1579,
- "end": 1583,
+ "value": "fieldArgs",
+ "start": 1830,
+ "end": 1839,
"loc": {
"start": {
- "line": 57,
- "column": 36
+ "line": 70,
+ "column": 61
},
"end": {
- "line": 57,
- "column": 40
+ "line": 70,
+ "column": 70
}
}
},
{
"type": {
- "label": "(",
- "beforeExpr": true,
- "startsExpr": true,
+ "label": ".",
+ "beforeExpr": false,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 1583,
- "end": 1584,
+ "start": 1839,
+ "end": 1840,
"loc": {
"start": {
- "line": 57,
- "column": 40
+ "line": 70,
+ "column": 70
},
"end": {
- "line": 57,
- "column": 41
+ "line": 70,
+ "column": 71
}
}
},
@@ -10680,17 +12611,17 @@
"postfix": false,
"binop": null
},
- "value": "keys",
- "start": 1584,
- "end": 1588,
+ "value": "validators",
+ "start": 1840,
+ "end": 1850,
"loc": {
"start": {
- "line": 57,
- "column": 41
+ "line": 70,
+ "column": 71
},
"end": {
- "line": 57,
- "column": 45
+ "line": 70,
+ "column": 81
}
}
},
@@ -10706,16 +12637,16 @@
"postfix": false,
"binop": null
},
- "start": 1588,
- "end": 1589,
+ "start": 1850,
+ "end": 1851,
"loc": {
"start": {
- "line": 57,
- "column": 45
+ "line": 70,
+ "column": 81
},
- "end": {
- "line": 57,
- "column": 46
+ "end": {
+ "line": 70,
+ "column": 82
}
}
},
@@ -10731,42 +12662,41 @@
"postfix": false,
"binop": null
},
- "start": 1589,
- "end": 1590,
+ "start": 1851,
+ "end": 1852,
"loc": {
"start": {
- "line": 57,
- "column": 46
+ "line": 70,
+ "column": 82
},
"end": {
- "line": 57,
- "column": 47
+ "line": 70,
+ "column": 83
}
}
},
{
"type": {
- "label": ";",
+ "label": "{",
"beforeExpr": true,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 1590,
- "end": 1591,
+ "start": 1853,
+ "end": 1854,
"loc": {
"start": {
- "line": 57,
- "column": 47
+ "line": 70,
+ "column": 84
},
"end": {
- "line": 57,
- "column": 48
+ "line": 70,
+ "column": 85
}
}
},
@@ -10782,43 +12712,44 @@
"postfix": false,
"binop": null
},
- "value": "fieldArgs",
- "start": 1593,
- "end": 1602,
+ "value": "validators",
+ "start": 1857,
+ "end": 1867,
"loc": {
"start": {
- "line": 58,
- "column": 1
+ "line": 71,
+ "column": 2
},
"end": {
- "line": 58,
- "column": 10
+ "line": 71,
+ "column": 12
}
}
},
{
"type": {
- "label": ".",
- "beforeExpr": false,
+ "label": "=",
+ "beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
- "isAssign": false,
+ "isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
- "start": 1602,
- "end": 1603,
+ "value": "=",
+ "start": 1868,
+ "end": 1869,
"loc": {
"start": {
- "line": 58,
- "column": 10
+ "line": 71,
+ "column": 13
},
"end": {
- "line": 58,
- "column": 11
+ "line": 71,
+ "column": 14
}
}
},
@@ -10834,44 +12765,43 @@
"postfix": false,
"binop": null
},
- "value": "disabled",
- "start": 1603,
- "end": 1611,
+ "value": "fieldArgs",
+ "start": 1870,
+ "end": 1879,
"loc": {
"start": {
- "line": 58,
- "column": 11
+ "line": 71,
+ "column": 15
},
"end": {
- "line": 58,
- "column": 19
+ "line": 71,
+ "column": 24
}
}
},
{
"type": {
- "label": "=",
- "beforeExpr": true,
+ "label": ".",
+ "beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
- "isAssign": true,
+ "isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
- "value": "=",
- "start": 1612,
- "end": 1613,
+ "start": 1879,
+ "end": 1880,
"loc": {
"start": {
- "line": 58,
- "column": 20
+ "line": 71,
+ "column": 24
},
"end": {
- "line": 58,
- "column": 21
+ "line": 71,
+ "column": 25
}
}
},
@@ -10887,50 +12817,51 @@
"postfix": false,
"binop": null
},
- "value": "toBoolean",
- "start": 1614,
- "end": 1623,
+ "value": "validators",
+ "start": 1880,
+ "end": 1890,
"loc": {
"start": {
- "line": 58,
- "column": 22
+ "line": 71,
+ "column": 25
},
"end": {
- "line": 58,
- "column": 31
+ "line": 71,
+ "column": 35
}
}
},
{
"type": {
- "label": "(",
+ "label": ";",
"beforeExpr": true,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 1623,
- "end": 1624,
+ "start": 1890,
+ "end": 1891,
"loc": {
"start": {
- "line": 58,
- "column": 31
+ "line": 71,
+ "column": 35
},
"end": {
- "line": 58,
- "column": 32
+ "line": 71,
+ "column": 36
}
}
},
{
"type": {
- "label": "name",
+ "label": "}",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -10938,23 +12869,23 @@
"postfix": false,
"binop": null
},
- "value": "fieldArgs",
- "start": 1624,
- "end": 1633,
+ "start": 1893,
+ "end": 1894,
"loc": {
"start": {
- "line": 58,
- "column": 32
+ "line": 72,
+ "column": 1
},
"end": {
- "line": 58,
- "column": 41
+ "line": 72,
+ "column": 2
}
}
},
{
"type": {
- "label": ".",
+ "label": "const",
+ "keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
@@ -10965,16 +12896,17 @@
"binop": null,
"updateContext": null
},
- "start": 1633,
- "end": 1634,
+ "value": "const",
+ "start": 1897,
+ "end": 1902,
"loc": {
"start": {
- "line": 58,
- "column": 41
+ "line": 74,
+ "column": 1
},
"end": {
- "line": 58,
- "column": 42
+ "line": 74,
+ "column": 6
}
}
},
@@ -10990,48 +12922,77 @@
"postfix": false,
"binop": null
},
- "value": "disabled",
- "start": 1634,
- "end": 1642,
+ "value": "keys",
+ "start": 1903,
+ "end": 1907,
"loc": {
"start": {
- "line": 58,
- "column": 42
+ "line": 74,
+ "column": 7
},
"end": {
- "line": 58,
- "column": 50
+ "line": 74,
+ "column": 11
}
}
},
{
"type": {
- "label": ")",
- "beforeExpr": false,
+ "label": "=",
+ "beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
+ "isAssign": true,
+ "prefix": false,
+ "postfix": false,
+ "binop": null,
+ "updateContext": null
+ },
+ "value": "=",
+ "start": 1908,
+ "end": 1909,
+ "loc": {
+ "start": {
+ "line": 74,
+ "column": 12
+ },
+ "end": {
+ "line": 74,
+ "column": 13
+ }
+ }
+ },
+ {
+ "type": {
+ "label": "string",
+ "beforeExpr": false,
+ "startsExpr": true,
+ "rightAssociative": false,
+ "isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 1642,
- "end": 1643,
+ "value": "magic",
+ "start": 1910,
+ "end": 1917,
"loc": {
"start": {
- "line": 58,
- "column": 50
+ "line": 74,
+ "column": 14
},
"end": {
- "line": 58,
- "column": 51
+ "line": 74,
+ "column": 21
}
}
},
{
"type": {
- "label": ";",
+ "label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
@@ -11039,19 +13000,20 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
+ "binop": 6,
"updateContext": null
},
- "start": 1643,
- "end": 1644,
+ "value": "===",
+ "start": 1918,
+ "end": 1921,
"loc": {
"start": {
- "line": 58,
- "column": 51
+ "line": 74,
+ "column": 22
},
"end": {
- "line": 58,
- "column": 52
+ "line": 74,
+ "column": 25
}
}
},
@@ -11068,16 +13030,16 @@
"binop": null
},
"value": "fieldArgs",
- "start": 1646,
- "end": 1655,
+ "start": 1922,
+ "end": 1931,
"loc": {
"start": {
- "line": 59,
- "column": 1
+ "line": 74,
+ "column": 26
},
"end": {
- "line": 59,
- "column": 10
+ "line": 74,
+ "column": 35
}
}
},
@@ -11094,16 +13056,16 @@
"binop": null,
"updateContext": null
},
- "start": 1655,
- "end": 1656,
+ "start": 1931,
+ "end": 1932,
"loc": {
"start": {
- "line": 59,
- "column": 10
+ "line": 74,
+ "column": 35
},
"end": {
- "line": 59,
- "column": 11
+ "line": 74,
+ "column": 36
}
}
},
@@ -11119,50 +13081,49 @@
"postfix": false,
"binop": null
},
- "value": "message",
- "start": 1656,
- "end": 1663,
+ "value": "type",
+ "start": 1932,
+ "end": 1936,
"loc": {
"start": {
- "line": 59,
- "column": 11
+ "line": 74,
+ "column": 36
},
"end": {
- "line": 59,
- "column": 18
+ "line": 74,
+ "column": 40
}
}
},
{
"type": {
- "label": "=",
+ "label": "?",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
- "isAssign": true,
+ "isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
- "value": "=",
- "start": 1664,
- "end": 1665,
+ "start": 1937,
+ "end": 1938,
"loc": {
"start": {
- "line": 59,
- "column": 19
+ "line": 74,
+ "column": 41
},
"end": {
- "line": 59,
- "column": 20
+ "line": 74,
+ "column": 42
}
}
},
{
"type": {
- "label": "string",
+ "label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -11170,26 +13131,25 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "object",
- "start": 1666,
- "end": 1674,
+ "value": "magicGroupPropTypes",
+ "start": 1939,
+ "end": 1958,
"loc": {
"start": {
- "line": 59,
- "column": 21
+ "line": 74,
+ "column": 43
},
"end": {
- "line": 59,
- "column": 29
+ "line": 74,
+ "column": 62
}
}
},
{
"type": {
- "label": "==/!=",
+ "label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
@@ -11197,48 +13157,19 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": 6,
- "updateContext": null
- },
- "value": "===",
- "start": 1675,
- "end": 1678,
- "loc": {
- "start": {
- "line": 59,
- "column": 30
- },
- "end": {
- "line": 59,
- "column": 33
- }
- }
- },
- {
- "type": {
- "label": "typeof",
- "keyword": "typeof",
- "beforeExpr": true,
- "startsExpr": true,
- "rightAssociative": false,
- "isLoop": false,
- "isAssign": false,
- "prefix": true,
- "postfix": false,
"binop": null,
"updateContext": null
},
- "value": "typeof",
- "start": 1679,
- "end": 1685,
+ "start": 1959,
+ "end": 1960,
"loc": {
"start": {
- "line": 59,
- "column": 34
+ "line": 74,
+ "column": 63
},
"end": {
- "line": 59,
- "column": 40
+ "line": 74,
+ "column": 64
}
}
},
@@ -11254,24 +13185,24 @@
"postfix": false,
"binop": null
},
- "value": "fieldArgs",
- "start": 1687,
- "end": 1696,
+ "value": "fieldGroupPropTypes",
+ "start": 1961,
+ "end": 1980,
"loc": {
- "start": {
- "line": 59,
- "column": 42
+ "start": {
+ "line": 74,
+ "column": 65
},
"end": {
- "line": 59,
- "column": 51
+ "line": 74,
+ "column": 84
}
}
},
{
"type": {
- "label": ".",
- "beforeExpr": false,
+ "label": ";",
+ "beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
@@ -11281,16 +13212,16 @@
"binop": null,
"updateContext": null
},
- "start": 1696,
- "end": 1697,
+ "start": 1980,
+ "end": 1981,
"loc": {
"start": {
- "line": 59,
- "column": 51
+ "line": 74,
+ "column": 84
},
"end": {
- "line": 59,
- "column": 52
+ "line": 74,
+ "column": 85
}
}
},
@@ -11306,43 +13237,44 @@
"postfix": false,
"binop": null
},
- "value": "message",
- "start": 1697,
- "end": 1704,
+ "value": "fieldArgs",
+ "start": 1983,
+ "end": 1992,
"loc": {
"start": {
- "line": 59,
- "column": 52
+ "line": 75,
+ "column": 1
},
"end": {
- "line": 59,
- "column": 59
+ "line": 75,
+ "column": 10
}
}
},
{
"type": {
- "label": "?",
+ "label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
- "isAssign": false,
+ "isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
- "start": 1707,
- "end": 1708,
+ "value": "=",
+ "start": 1993,
+ "end": 1994,
"loc": {
"start": {
- "line": 60,
- "column": 2
+ "line": 75,
+ "column": 11
},
"end": {
- "line": 60,
- "column": 3
+ "line": 75,
+ "column": 12
}
}
},
@@ -11358,17 +13290,17 @@
"postfix": false,
"binop": null
},
- "value": "messageObjectFactory",
- "start": 1709,
- "end": 1729,
+ "value": "pick",
+ "start": 1995,
+ "end": 1999,
"loc": {
"start": {
- "line": 60,
- "column": 4
+ "line": 75,
+ "column": 13
},
"end": {
- "line": 60,
- "column": 24
+ "line": 75,
+ "column": 17
}
}
},
@@ -11384,16 +13316,16 @@
"postfix": false,
"binop": null
},
- "start": 1729,
- "end": 1730,
+ "start": 1999,
+ "end": 2000,
"loc": {
"start": {
- "line": 60,
- "column": 24
+ "line": 75,
+ "column": 17
},
"end": {
- "line": 60,
- "column": 25
+ "line": 75,
+ "column": 18
}
}
},
@@ -11410,23 +13342,23 @@
"binop": null
},
"value": "fieldArgs",
- "start": 1730,
- "end": 1739,
+ "start": 2000,
+ "end": 2009,
"loc": {
"start": {
- "line": 60,
- "column": 25
+ "line": 75,
+ "column": 18
},
"end": {
- "line": 60,
- "column": 34
+ "line": 75,
+ "column": 27
}
}
},
{
"type": {
- "label": ".",
- "beforeExpr": false,
+ "label": ",",
+ "beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
@@ -11436,16 +13368,16 @@
"binop": null,
"updateContext": null
},
- "start": 1739,
- "end": 1740,
+ "start": 2009,
+ "end": 2010,
"loc": {
"start": {
- "line": 60,
- "column": 34
+ "line": 75,
+ "column": 27
},
"end": {
- "line": 60,
- "column": 35
+ "line": 75,
+ "column": 28
}
}
},
@@ -11461,23 +13393,23 @@
"postfix": false,
"binop": null
},
- "value": "message",
- "start": 1740,
- "end": 1747,
+ "value": "Object",
+ "start": 2011,
+ "end": 2017,
"loc": {
"start": {
- "line": 60,
- "column": 35
+ "line": 75,
+ "column": 29
},
"end": {
- "line": 60,
- "column": 42
+ "line": 75,
+ "column": 35
}
}
},
{
"type": {
- "label": ")",
+ "label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
@@ -11485,51 +13417,52 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null
+ "binop": null,
+ "updateContext": null
},
- "start": 1747,
- "end": 1748,
+ "start": 2017,
+ "end": 2018,
"loc": {
"start": {
- "line": 60,
- "column": 42
+ "line": 75,
+ "column": 35
},
"end": {
- "line": 60,
- "column": 43
+ "line": 75,
+ "column": 36
}
}
},
{
"type": {
- "label": ":",
- "beforeExpr": true,
- "startsExpr": false,
+ "label": "name",
+ "beforeExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "start": 1751,
- "end": 1752,
+ "value": "keys",
+ "start": 2018,
+ "end": 2022,
"loc": {
"start": {
- "line": 61,
- "column": 2
+ "line": 75,
+ "column": 36
},
"end": {
- "line": 61,
- "column": 3
+ "line": 75,
+ "column": 40
}
}
},
{
"type": {
- "label": "name",
- "beforeExpr": false,
+ "label": "(",
+ "beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
@@ -11538,24 +13471,23 @@
"postfix": false,
"binop": null
},
- "value": "messageObjectFactory",
- "start": 1753,
- "end": 1773,
+ "start": 2022,
+ "end": 2023,
"loc": {
"start": {
- "line": 61,
- "column": 4
+ "line": 75,
+ "column": 40
},
"end": {
- "line": 61,
- "column": 24
+ "line": 75,
+ "column": 41
}
}
},
{
"type": {
- "label": "(",
- "beforeExpr": true,
+ "label": "name",
+ "beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
@@ -11564,24 +13496,25 @@
"postfix": false,
"binop": null
},
- "start": 1773,
- "end": 1774,
+ "value": "keys",
+ "start": 2023,
+ "end": 2027,
"loc": {
"start": {
- "line": 61,
- "column": 24
+ "line": 75,
+ "column": 41
},
"end": {
- "line": 61,
- "column": 25
+ "line": 75,
+ "column": 45
}
}
},
{
"type": {
- "label": "{",
- "beforeExpr": true,
- "startsExpr": true,
+ "label": ")",
+ "beforeExpr": false,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -11589,24 +13522,24 @@
"postfix": false,
"binop": null
},
- "start": 1774,
- "end": 1775,
+ "start": 2027,
+ "end": 2028,
"loc": {
"start": {
- "line": 61,
- "column": 25
+ "line": 75,
+ "column": 45
},
"end": {
- "line": 61,
- "column": 26
+ "line": 75,
+ "column": 46
}
}
},
{
"type": {
- "label": "name",
+ "label": ")",
"beforeExpr": false,
- "startsExpr": true,
+ "startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -11614,23 +13547,22 @@
"postfix": false,
"binop": null
},
- "value": "message",
- "start": 1775,
- "end": 1782,
+ "start": 2028,
+ "end": 2029,
"loc": {
"start": {
- "line": 61,
- "column": 26
+ "line": 75,
+ "column": 46
},
"end": {
- "line": 61,
- "column": 33
+ "line": 75,
+ "column": 47
}
}
},
{
"type": {
- "label": ":",
+ "label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
@@ -11641,23 +13573,22 @@
"binop": null,
"updateContext": null
},
- "start": 1782,
- "end": 1783,
+ "start": 2029,
+ "end": 2030,
"loc": {
"start": {
- "line": 61,
- "column": 33
+ "line": 75,
+ "column": 47
},
"end": {
- "line": 61,
- "column": 34
+ "line": 75,
+ "column": 48
}
}
},
{
"type": {
- "label": "null",
- "keyword": "null",
+ "label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
@@ -11665,46 +13596,46 @@
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "null",
- "start": 1783,
- "end": 1787,
+ "value": "fieldArgs",
+ "start": 2032,
+ "end": 2041,
"loc": {
"start": {
- "line": 61,
- "column": 34
+ "line": 76,
+ "column": 1
},
"end": {
- "line": 61,
- "column": 38
+ "line": 76,
+ "column": 10
}
}
},
{
"type": {
- "label": ",",
+ "label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
- "isAssign": false,
+ "isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
- "start": 1787,
- "end": 1788,
+ "value": "=",
+ "start": 2042,
+ "end": 2043,
"loc": {
"start": {
- "line": 61,
- "column": 38
+ "line": 76,
+ "column": 11
},
"end": {
- "line": 61,
- "column": 39
+ "line": 76,
+ "column": 12
}
}
},
@@ -11720,79 +13651,50 @@
"postfix": false,
"binop": null
},
- "value": "error",
- "start": 1789,
- "end": 1794,
+ "value": "addMessageArg",
+ "start": 2044,
+ "end": 2057,
"loc": {
"start": {
- "line": 61,
- "column": 40
+ "line": 76,
+ "column": 13
},
"end": {
- "line": 61,
- "column": 45
+ "line": 76,
+ "column": 26
}
}
},
{
"type": {
- "label": ":",
+ "label": "(",
"beforeExpr": true,
- "startsExpr": false,
- "rightAssociative": false,
- "isLoop": false,
- "isAssign": false,
- "prefix": false,
- "postfix": false,
- "binop": null,
- "updateContext": null
- },
- "start": 1794,
- "end": 1795,
- "loc": {
- "start": {
- "line": 61,
- "column": 45
- },
- "end": {
- "line": 61,
- "column": 46
- }
- }
- },
- {
- "type": {
- "label": "false",
- "keyword": "false",
- "beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
- "binop": null,
- "updateContext": null
+ "binop": null
},
- "value": "false",
- "start": 1796,
- "end": 1801,
+ "start": 2057,
+ "end": 2058,
"loc": {
"start": {
- "line": 61,
- "column": 47
+ "line": 76,
+ "column": 26
},
"end": {
- "line": 61,
- "column": 52
+ "line": 76,
+ "column": 27
}
}
},
{
"type": {
- "label": "}",
+ "label": "name",
"beforeExpr": false,
- "startsExpr": false,
+ "startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
@@ -11800,16 +13702,17 @@
"postfix": false,
"binop": null
},
- "start": 1802,
- "end": 1803,
+ "value": "fieldArgs",
+ "start": 2058,
+ "end": 2067,
"loc": {
"start": {
- "line": 61,
- "column": 53
+ "line": 76,
+ "column": 27
},
"end": {
- "line": 61,
- "column": 54
+ "line": 76,
+ "column": 36
}
}
},
@@ -11825,16 +13728,16 @@
"postfix": false,
"binop": null
},
- "start": 1803,
- "end": 1804,
+ "start": 2067,
+ "end": 2068,
"loc": {
"start": {
- "line": 61,
- "column": 54
+ "line": 76,
+ "column": 36
},
"end": {
- "line": 61,
- "column": 55
+ "line": 76,
+ "column": 37
}
}
},
@@ -11851,16 +13754,16 @@
"binop": null,
"updateContext": null
},
- "start": 1804,
- "end": 1805,
+ "start": 2068,
+ "end": 2069,
"loc": {
"start": {
- "line": 61,
- "column": 55
+ "line": 76,
+ "column": 37
},
"end": {
- "line": 61,
- "column": 56
+ "line": 76,
+ "column": 38
}
}
},
@@ -11877,15 +13780,15 @@
"binop": null
},
"value": "fieldArgs",
- "start": 1808,
- "end": 1817,
+ "start": 2071,
+ "end": 2080,
"loc": {
"start": {
- "line": 63,
+ "line": 77,
"column": 1
},
"end": {
- "line": 63,
+ "line": 77,
"column": 10
}
}
@@ -11903,15 +13806,15 @@
"binop": null,
"updateContext": null
},
- "start": 1817,
- "end": 1818,
+ "start": 2080,
+ "end": 2081,
"loc": {
"start": {
- "line": 63,
+ "line": 77,
"column": 10
},
"end": {
- "line": 63,
+ "line": 77,
"column": 11
}
}
@@ -11929,15 +13832,15 @@
"binop": null
},
"value": "validators",
- "start": 1818,
- "end": 1828,
+ "start": 2081,
+ "end": 2091,
"loc": {
"start": {
- "line": 63,
+ "line": 77,
"column": 11
},
"end": {
- "line": 63,
+ "line": 77,
"column": 21
}
}
@@ -11956,15 +13859,15 @@
"updateContext": null
},
"value": "=",
- "start": 1829,
- "end": 1830,
+ "start": 2092,
+ "end": 2093,
"loc": {
"start": {
- "line": 63,
+ "line": 77,
"column": 22
},
"end": {
- "line": 63,
+ "line": 77,
"column": 23
}
}
@@ -11982,15 +13885,15 @@
"binop": null
},
"value": "validators",
- "start": 1831,
- "end": 1841,
+ "start": 2094,
+ "end": 2104,
"loc": {
"start": {
- "line": 63,
+ "line": 77,
"column": 24
},
"end": {
- "line": 63,
+ "line": 77,
"column": 34
}
}
@@ -12008,15 +13911,15 @@
"binop": null,
"updateContext": null
},
- "start": 1841,
- "end": 1842,
+ "start": 2104,
+ "end": 2105,
"loc": {
"start": {
- "line": 63,
+ "line": 77,
"column": 34
},
"end": {
- "line": 63,
+ "line": 77,
"column": 35
}
}
@@ -12036,15 +13939,15 @@
"updateContext": null
},
"value": "return",
- "start": 1844,
- "end": 1850,
+ "start": 2107,
+ "end": 2113,
"loc": {
"start": {
- "line": 64,
+ "line": 78,
"column": 1
},
"end": {
- "line": 64,
+ "line": 78,
"column": 7
}
}
@@ -12062,15 +13965,15 @@
"binop": null
},
"value": "fieldArgs",
- "start": 1851,
- "end": 1860,
+ "start": 2114,
+ "end": 2123,
"loc": {
"start": {
- "line": 64,
+ "line": 78,
"column": 8
},
"end": {
- "line": 64,
+ "line": 78,
"column": 17
}
}
@@ -12088,15 +13991,15 @@
"binop": null,
"updateContext": null
},
- "start": 1860,
- "end": 1861,
+ "start": 2123,
+ "end": 2124,
"loc": {
"start": {
- "line": 64,
+ "line": 78,
"column": 17
},
"end": {
- "line": 64,
+ "line": 78,
"column": 18
}
}
@@ -12113,15 +14016,15 @@
"postfix": false,
"binop": null
},
- "start": 1862,
- "end": 1863,
+ "start": 2125,
+ "end": 2126,
"loc": {
"start": {
- "line": 65,
+ "line": 79,
"column": 0
},
"end": {
- "line": 65,
+ "line": 79,
"column": 1
}
}
@@ -12139,15 +14042,15 @@
"binop": null,
"updateContext": null
},
- "start": 1863,
- "end": 1864,
+ "start": 2126,
+ "end": 2127,
"loc": {
"start": {
- "line": 65,
+ "line": 79,
"column": 1
},
"end": {
- "line": 65,
+ "line": 79,
"column": 2
}
}
@@ -12165,15 +14068,15 @@
"binop": null,
"updateContext": null
},
- "start": 1864,
- "end": 1864,
+ "start": 2127,
+ "end": 2127,
"loc": {
"start": {
- "line": 65,
+ "line": 79,
"column": 2
},
"end": {
- "line": 65,
+ "line": 79,
"column": 2
}
}
diff --git a/docs/badge.svg b/docs/badge.svg
index da5b4f7..c83688e 100644
--- a/docs/badge.svg
+++ b/docs/badge.svg
@@ -11,7 +11,7 @@
document
document
- 73%
- 73%
+ 72%
+ 72%
diff --git a/docs/class/src/App.js~App.html b/docs/class/src/App.js~App.html
index 8ab7e20..bd4ed19 100644
--- a/docs/class/src/App.js~App.html
+++ b/docs/class/src/App.js~App.html
@@ -55,6 +55,7 @@
V optionShape
V optionsShapeProp
V valuePropType
+components/fields/button F Button
components/fields/button-group F ButtonGroup
components/fields/factories F fieldFactory
F fieldSetFactory
diff --git a/docs/class/src/components/RenderGroup.js~RenderGroup.html b/docs/class/src/components/RenderGroup.js~RenderGroup.html
index 1462e06..a307598 100644
--- a/docs/class/src/components/RenderGroup.js~RenderGroup.html
+++ b/docs/class/src/components/RenderGroup.js~RenderGroup.html
@@ -55,6 +55,7 @@
V optionShape
V optionsShapeProp
V valuePropType
+components/fields/button F Button
components/fields/button-group F ButtonGroup
components/fields/factories F fieldFactory
F fieldSetFactory
diff --git a/docs/class/src/components/fields/magic-select/MagicFieldGroup.js~MagicFieldGroup.html b/docs/class/src/components/fields/magic-select/MagicFieldGroup.js~MagicFieldGroup.html
index 7a1dd55..44a39d4 100644
--- a/docs/class/src/components/fields/magic-select/MagicFieldGroup.js~MagicFieldGroup.html
+++ b/docs/class/src/components/fields/magic-select/MagicFieldGroup.js~MagicFieldGroup.html
@@ -55,6 +55,7 @@
V optionShape
V optionsShapeProp
V valuePropType
+components/fields/button F Button
components/fields/button-group F ButtonGroup
components/fields/factories F fieldFactory
F fieldSetFactory
diff --git a/docs/class/src/components/fields/magic-select/MagicItem.js~MagicItem.html b/docs/class/src/components/fields/magic-select/MagicItem.js~MagicItem.html
index a1b8def..38e5a74 100644
--- a/docs/class/src/components/fields/magic-select/MagicItem.js~MagicItem.html
+++ b/docs/class/src/components/fields/magic-select/MagicItem.js~MagicItem.html
@@ -55,6 +55,7 @@
V optionShape
V optionsShapeProp
V valuePropType
+components/fields/button F Button
components/fields/button-group F ButtonGroup
components/fields/factories F fieldFactory
F fieldSetFactory
diff --git a/docs/class/src/components/fields/magic-select/MagicSelect.js~MagicSelect.html b/docs/class/src/components/fields/magic-select/MagicSelect.js~MagicSelect.html
index c79192f..30ac062 100644
--- a/docs/class/src/components/fields/magic-select/MagicSelect.js~MagicSelect.html
+++ b/docs/class/src/components/fields/magic-select/MagicSelect.js~MagicSelect.html
@@ -55,6 +55,7 @@
V optionShape
V optionsShapeProp
V valuePropType
+components/fields/button F Button
components/fields/button-group F ButtonGroup
components/fields/factories F fieldFactory
F fieldSetFactory
diff --git a/docs/coverage.json b/docs/coverage.json
index a9afda7..42a1683 100644
--- a/docs/coverage.json
+++ b/docs/coverage.json
@@ -1,6 +1,6 @@
{
- "coverage": "73.91%",
- "expectCount": 92,
+ "coverage": "72.34%",
+ "expectCount": 94,
"actualCount": 68,
"files": {
"src/App.js": {
@@ -69,6 +69,14 @@
"actualCount": 1,
"undocumentLines": []
},
+ "src/components/fields/button/Button.js": {
+ "expectCount": 2,
+ "actualCount": 0,
+ "undocumentLines": [
+ 8,
+ 54
+ ]
+ },
"src/components/fields/button-group/ButtonGroup.js": {
"expectCount": 1,
"actualCount": 1,
diff --git a/docs/file/src/App.js.html b/docs/file/src/App.js.html
index dca23d8..bdf0097 100644
--- a/docs/file/src/App.js.html
+++ b/docs/file/src/App.js.html
@@ -55,6 +55,7 @@
V optionShape
V optionsShapeProp
V valuePropType
+components/fields/button F Button
components/fields/button-group F ButtonGroup
components/fields/factories F fieldFactory
F fieldSetFactory
diff --git a/docs/file/src/components/RenderGroup.js.html b/docs/file/src/components/RenderGroup.js.html
index dc2cb9f..51aef41 100644
--- a/docs/file/src/components/RenderGroup.js.html
+++ b/docs/file/src/components/RenderGroup.js.html
@@ -55,6 +55,7 @@
V optionShape
V optionsShapeProp
V valuePropType
+components/fields/button F Button
components/fields/button-group F ButtonGroup
components/fields/factories F fieldFactory
F fieldSetFactory
@@ -193,6 +194,7 @@
fieldGroup: 'caldera-config-group',
fieldWrapper: 'caldera-config-field',
input: 'field-config',
+ button: 'caldera-config-button',
};
diff --git a/docs/file/src/components/admin/CalderaHeader.js.html b/docs/file/src/components/admin/CalderaHeader.js.html
index 2330c3a..5597b80 100644
--- a/docs/file/src/components/admin/CalderaHeader.js.html
+++ b/docs/file/src/components/admin/CalderaHeader.js.html
@@ -55,6 +55,7 @@
V optionShape
V optionsShapeProp
V valuePropType
+components/fields/button F Button
components/fields/button-group F ButtonGroup
components/fields/factories F fieldFactory
F fieldSetFactory
diff --git a/docs/file/src/components/admin/PageBody.js.html b/docs/file/src/components/admin/PageBody.js.html
index a54d958..54448b8 100644
--- a/docs/file/src/components/admin/PageBody.js.html
+++ b/docs/file/src/components/admin/PageBody.js.html
@@ -55,6 +55,7 @@
V optionShape
V optionsShapeProp
V valuePropType
+components/fields/button F Button
components/fields/button-group F ButtonGroup
components/fields/factories F fieldFactory
F fieldSetFactory
diff --git a/docs/file/src/components/admin/StatusIndicator.js.html b/docs/file/src/components/admin/StatusIndicator.js.html
index 2291879..83a677a 100644
--- a/docs/file/src/components/admin/StatusIndicator.js.html
+++ b/docs/file/src/components/admin/StatusIndicator.js.html
@@ -55,6 +55,7 @@
V optionShape
V optionsShapeProp
V valuePropType
+components/fields/button F Button
components/fields/button-group F ButtonGroup
components/fields/factories F fieldFactory
F fieldSetFactory
diff --git a/docs/file/src/components/admin/index.js.html b/docs/file/src/components/admin/index.js.html
index 4f42f21..919bcad 100644
--- a/docs/file/src/components/admin/index.js.html
+++ b/docs/file/src/components/admin/index.js.html
@@ -55,6 +55,7 @@
V optionShape
V optionsShapeProp
V valuePropType
+components/fields/button F Button
components/fields/button-group F ButtonGroup
components/fields/factories F fieldFactory
F fieldSetFactory
diff --git a/docs/file/src/components/conditional-logic/checkConfigFieldConditionals.js.html b/docs/file/src/components/conditional-logic/checkConfigFieldConditionals.js.html
index f45f547..2cd90d4 100644
--- a/docs/file/src/components/conditional-logic/checkConfigFieldConditionals.js.html
+++ b/docs/file/src/components/conditional-logic/checkConfigFieldConditionals.js.html
@@ -55,6 +55,7 @@
V optionShape
V optionsShapeProp
V valuePropType
+components/fields/button F Button
components/fields/button-group F ButtonGroup
components/fields/factories F fieldFactory
F fieldSetFactory
diff --git a/docs/file/src/components/conditional-logic/checkConfigFieldsConditionals.js.html b/docs/file/src/components/conditional-logic/checkConfigFieldsConditionals.js.html
index c5c170b..3d142c1 100644
--- a/docs/file/src/components/conditional-logic/checkConfigFieldsConditionals.js.html
+++ b/docs/file/src/components/conditional-logic/checkConfigFieldsConditionals.js.html
@@ -55,6 +55,7 @@
V optionShape
V optionsShapeProp
V valuePropType
+components/fields/button F Button
components/fields/button-group F ButtonGroup
components/fields/factories F fieldFactory
F fieldSetFactory
diff --git a/docs/file/src/components/conditional-logic/index.js.html b/docs/file/src/components/conditional-logic/index.js.html
index 962a717..89c5bf3 100644
--- a/docs/file/src/components/conditional-logic/index.js.html
+++ b/docs/file/src/components/conditional-logic/index.js.html
@@ -55,6 +55,7 @@
V optionShape
V optionsShapeProp
V valuePropType
+components/fields/button F Button
components/fields/button-group F ButtonGroup
components/fields/factories F fieldFactory
F fieldSetFactory
diff --git a/docs/file/src/components/conditional-logic/util.js.html b/docs/file/src/components/conditional-logic/util.js.html
index 8510156..cb3fc09 100644
--- a/docs/file/src/components/conditional-logic/util.js.html
+++ b/docs/file/src/components/conditional-logic/util.js.html
@@ -55,6 +55,7 @@
V optionShape
V optionsShapeProp
V valuePropType
+components/fields/button F Button
components/fields/button-group F ButtonGroup
components/fields/factories F fieldFactory
F fieldSetFactory
diff --git a/docs/file/src/components/fields/FieldGroup.js.html b/docs/file/src/components/fields/FieldGroup.js.html
index 725f360..7b25cc4 100644
--- a/docs/file/src/components/fields/FieldGroup.js.html
+++ b/docs/file/src/components/fields/FieldGroup.js.html
@@ -55,6 +55,7 @@
V optionShape
V optionsShapeProp
V valuePropType
+components/fields/button F Button
components/fields/button-group F ButtonGroup
components/fields/factories F fieldFactory
F fieldSetFactory
@@ -222,6 +223,7 @@
help: fieldProps.help,
value: fieldProps.value,
onValueChange: fieldProps.onValueChange,
+ onClick: fieldProps.onClick,
inputType: fieldProps.inputType,
options: fieldProps.options,
disabled: props.disabled,
diff --git a/docs/file/src/components/fields/FieldInner.js.html b/docs/file/src/components/fields/FieldInner.js.html
index d9d558b..6dbcf0b 100644
--- a/docs/file/src/components/fields/FieldInner.js.html
+++ b/docs/file/src/components/fields/FieldInner.js.html
@@ -55,6 +55,7 @@
V optionShape
V optionsShapeProp
V valuePropType
+components/fields/button F Button
components/fields/button-group F ButtonGroup
components/fields/factories F fieldFactory
F fieldSetFactory
@@ -91,6 +92,8 @@
import PropTypes from 'prop-types';
import classNames from 'classnames';
import {RenderGroup} from '../RenderGroup';
+import {Button} from "./button/Button";
+
/**
* Creates the field inside of a field group
*
@@ -116,44 +119,58 @@
*/
function inputClassName() {
return classNames([
- props.fieldClassName,
- RenderGroup.classNames.input
- ]
+ props.fieldClassName,
+ RenderGroup.classNames.input
+ ]
);
}
- switch( props.type ){
- case 'select':
- case 'dropdown':
- const options = Array.isArray(props.options) ? props.options : [];
- return (
- <SelectField
- id={props.id}
- fieldClassName={inputClassName()}
- ariaDescribedbyAttr={ariaIdAttr()}
- value={props.value}
- onValueChange={props.onValueChange}
- inputType={props.inputType}
- options={options}
- disabled={props.disabled}
- onBlur={props.onBlur}
- onFocus={props.onFocus}
- />
- );
- default:
- case 'input':
- return (
- <Input
- id={props.id}
- fieldClassName={inputClassName()}
- ariaDescribedbyAttr={ariaIdAttr()}
- value={props.value}
- onValueChange={props.onValueChange}
- inputType={props.inputType}
- disabled={props.disabled}
- onBlur={props.onBlur}
- onFocus={props.onFocus}
- />);
+ switch (props.type) {
+ case 'select':
+ case 'dropdown':
+ const options = Array.isArray(props.options) ? props.options : [];
+ return (
+ <SelectField
+ id={props.id}
+ fieldClassName={inputClassName()}
+ ariaDescribedbyAttr={ariaIdAttr()}
+ value={props.value}
+ onValueChange={props.onValueChange}
+ inputType={props.inputType}
+ options={options}
+ disabled={props.disabled}
+ onBlur={props.onBlur}
+ onFocus={props.onFocus}
+ />
+ );
+ case 'button' :
+ return (
+ <Button
+ onClick={props.onClick}
+ id={props.id}
+ fieldClassName={inputClassName()}
+ ariaDescribedbyAttr={ariaIdAttr()}
+ value={props.value}
+ inputType={props.inputType}
+ disabled={props.disabled}
+ onBlur={props.onBlur}
+ onFocus={props.onFocus}
+ />
+ );
+ default:
+ case 'input':
+ return (
+ <Input
+ id={props.id}
+ fieldClassName={inputClassName()}
+ ariaDescribedbyAttr={ariaIdAttr()}
+ value={props.value}
+ onValueChange={props.onValueChange}
+ inputType={props.inputType}
+ disabled={props.disabled}
+ onBlur={props.onBlur}
+ onFocus={props.onFocus}
+ />);
}
};
diff --git a/docs/file/src/components/fields/button-group/ButtonGroup.js.html b/docs/file/src/components/fields/button-group/ButtonGroup.js.html
index 6105d7a..a99713f 100644
--- a/docs/file/src/components/fields/button-group/ButtonGroup.js.html
+++ b/docs/file/src/components/fields/button-group/ButtonGroup.js.html
@@ -55,6 +55,7 @@
V optionShape
V optionsShapeProp
V valuePropType
+components/fields/button F Button
components/fields/button-group F ButtonGroup
components/fields/factories F fieldFactory
F fieldSetFactory
diff --git a/docs/file/src/components/fields/button/Button.js.html b/docs/file/src/components/fields/button/Button.js.html
new file mode 100644
index 0000000..db6df24
--- /dev/null
+++ b/docs/file/src/components/fields/button/Button.js.html
@@ -0,0 +1,171 @@
+
+
+
+
+
+ src/components/fields/button/Button.js | Caldera Components library
+
+
+
+
+
+
+
+
+
+
+
+
+src/components/fields/button/Button.js
+
import React from 'react';
+import {fieldPropTypes} from '../propTypes';
+import classNames from 'classnames';
+import {RenderGroup} from '../../RenderGroup';
+import PropTypes from 'prop-types';
+
+
+export const Button = (props) => {
+ /**
+ * Get the className prop for inputs
+ *
+ * @return {String}
+ */
+ function inputClassName() {
+ return classNames(
+ props.fieldClassName,
+ RenderGroup.classNames.input,
+ RenderGroup.classNames.button
+ );
+ }
+
+ if ('submit' === props.inputType) {
+ return (
+ <input
+ type={'submit'}
+ id={props.id}
+ className={inputClassName()}
+ aria-describedby={props.ariaDescribedbyAttr}
+ required={props.isRequired}
+ onClick={props.onClick}
+ value={props.value}
+ disabled={props.disabled}
+ onBlur={props.onBlur}
+ onFocus={props.onFocus}
+ />
+ );
+ }
+
+ return (
+ <button
+ id={props.id}
+ className={inputClassName()}
+ aria-describedby={props.ariaDescribedbyAttr}
+ onClick={props.onClick}
+ disabled={props.disabled}
+ onBlur={props.onBlur}
+ onFocus={props.onFocus}
+ >
+ {props.value}
+ </button>
+ );
+};
+
+let propTypes = fieldPropTypes;
+delete fieldPropTypes.onValueChange;
+
+/**
+ * Prop type definitions for Button Component
+ * @type {{id: (*), fieldClassName: (*), help: shim, value: shim, onValueChange: (*), inputType: shim, onClick: *}}
+ */
+Button.propTypes = {
+ ...propTypes,
+ innerType: PropTypes.oneOf(['submit','button'] ),
+ onClick: PropTypes.func.isRequired,
+};
+
+Button.defaultProps = {
+ inputType: 'submit'
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/file/src/components/fields/factories/fieldFactory.js.html b/docs/file/src/components/fields/factories/fieldFactory.js.html
index 3e487e8..075085a 100644
--- a/docs/file/src/components/fields/factories/fieldFactory.js.html
+++ b/docs/file/src/components/fields/factories/fieldFactory.js.html
@@ -55,6 +55,7 @@
V optionShape
V optionsShapeProp
V valuePropType
+components/fields/button F Button
components/fields/button-group F ButtonGroup
components/fields/factories F fieldFactory
F fieldSetFactory
diff --git a/docs/file/src/components/fields/factories/fieldSetFactory.js.html b/docs/file/src/components/fields/factories/fieldSetFactory.js.html
index 90787dd..68e623c 100644
--- a/docs/file/src/components/fields/factories/fieldSetFactory.js.html
+++ b/docs/file/src/components/fields/factories/fieldSetFactory.js.html
@@ -55,6 +55,7 @@
V optionShape
V optionsShapeProp
V valuePropType
+components/fields/button F Button
components/fields/button-group F ButtonGroup
components/fields/factories F fieldFactory
F fieldSetFactory
diff --git a/docs/file/src/components/fields/factories/index.js.html b/docs/file/src/components/fields/factories/index.js.html
index 50d824e..ddf5cf1 100644
--- a/docs/file/src/components/fields/factories/index.js.html
+++ b/docs/file/src/components/fields/factories/index.js.html
@@ -55,6 +55,7 @@
V optionShape
V optionsShapeProp
V valuePropType
+components/fields/button F Button
components/fields/button-group F ButtonGroup
components/fields/factories F fieldFactory
F fieldSetFactory
diff --git a/docs/file/src/components/fields/factories/prepareFieldConfig.js.html b/docs/file/src/components/fields/factories/prepareFieldConfig.js.html
index 5da11ef..e04ed43 100644
--- a/docs/file/src/components/fields/factories/prepareFieldConfig.js.html
+++ b/docs/file/src/components/fields/factories/prepareFieldConfig.js.html
@@ -55,6 +55,7 @@
V optionShape
V optionsShapeProp
V valuePropType
+components/fields/button F Button
components/fields/button-group F ButtonGroup
components/fields/factories F fieldFactory
F fieldSetFactory
@@ -83,7 +84,7 @@
src/components/fields/factories/prepareFieldConfig.js
-
import {fieldGroupPropTypes,magicGroupPropTypes} from '../propTypes';
+import {fieldGroupPropTypes, magicGroupPropTypes} from '../propTypes';
import {isValidHtml5type, toBoolean} from '../util';
import {messageObjectFactory} from '../messages/messageObjectFactory';
@@ -96,6 +97,24 @@
* @returns {*}
*/
export const prepareFieldConfig = (fieldArgs) => {
+ function addMessageArg(fieldArgs) {
+ fieldArgs.disabled = toBoolean(fieldArgs.disabled);
+ fieldArgs.message = 'object' === typeof fieldArgs.message
+ ? messageObjectFactory(fieldArgs.message)
+ : messageObjectFactory({message: null, error: false});
+ return fieldArgs;
+ }
+
+
+ if( 'button' === fieldArgs.type ) {
+ if ('submit' !== fieldArgs.inputType) {
+ fieldArgs.inputType = 'button';
+ }
+
+ return addMessageArg(fieldArgs);
+ }
+
+
/**
* Pick whitelisted keys from object
*
@@ -134,17 +153,13 @@
}
let validators = [];
- if( fieldArgs.hasOwnProperty('validators') && Array.isArray(fieldArgs.validators )){
+ if (fieldArgs.hasOwnProperty('validators') && Array.isArray(fieldArgs.validators)) {
validators = fieldArgs.validators;
}
- const keys = 'magic' === fieldArgs.type ? magicGroupPropTypes : fieldGroupPropTypes;
+ const keys = 'magic' === fieldArgs.type ? magicGroupPropTypes : fieldGroupPropTypes;
fieldArgs = pick(fieldArgs, Object.keys(keys));
- fieldArgs.disabled = toBoolean(fieldArgs.disabled);
- fieldArgs.message = 'object' === typeof fieldArgs.message
- ? messageObjectFactory(fieldArgs.message)
- : messageObjectFactory({message:null, error: false });
-
+ fieldArgs = addMessageArg(fieldArgs);
fieldArgs.validators = validators;
return fieldArgs;
};
diff --git a/docs/file/src/components/fields/field-group-change-handlers/fieldsetCheckboxHandler.js.html b/docs/file/src/components/fields/field-group-change-handlers/fieldsetCheckboxHandler.js.html
index 4f043fb..6f1b045 100644
--- a/docs/file/src/components/fields/field-group-change-handlers/fieldsetCheckboxHandler.js.html
+++ b/docs/file/src/components/fields/field-group-change-handlers/fieldsetCheckboxHandler.js.html
@@ -55,6 +55,7 @@
V optionShape
V optionsShapeProp
V valuePropType
+components/fields/button F Button
components/fields/button-group F ButtonGroup
components/fields/factories F fieldFactory
F fieldSetFactory
diff --git a/docs/file/src/components/fields/index.js.html b/docs/file/src/components/fields/index.js.html
index 7815640..27b736d 100644
--- a/docs/file/src/components/fields/index.js.html
+++ b/docs/file/src/components/fields/index.js.html
@@ -55,6 +55,7 @@
V optionShape
V optionsShapeProp
V valuePropType
+components/fields/button F Button
components/fields/button-group F ButtonGroup
components/fields/factories F fieldFactory
F fieldSetFactory
diff --git a/docs/file/src/components/fields/input/Input.js.html b/docs/file/src/components/fields/input/Input.js.html
index 088efc5..80ebf24 100644
--- a/docs/file/src/components/fields/input/Input.js.html
+++ b/docs/file/src/components/fields/input/Input.js.html
@@ -55,6 +55,7 @@
V optionShape
V optionsShapeProp
V valuePropType
+components/fields/button F Button
components/fields/button-group F ButtonGroup
components/fields/factories F fieldFactory
F fieldSetFactory
diff --git a/docs/file/src/components/fields/magic-select/MagicFieldGroup.js.html b/docs/file/src/components/fields/magic-select/MagicFieldGroup.js.html
index a23a637..1c76040 100644
--- a/docs/file/src/components/fields/magic-select/MagicFieldGroup.js.html
+++ b/docs/file/src/components/fields/magic-select/MagicFieldGroup.js.html
@@ -55,6 +55,7 @@
V optionShape
V optionsShapeProp
V valuePropType
+components/fields/button F Button
components/fields/button-group F ButtonGroup
components/fields/factories F fieldFactory
F fieldSetFactory
diff --git a/docs/file/src/components/fields/magic-select/MagicItem.js.html b/docs/file/src/components/fields/magic-select/MagicItem.js.html
index 4fdf6d8..9699398 100644
--- a/docs/file/src/components/fields/magic-select/MagicItem.js.html
+++ b/docs/file/src/components/fields/magic-select/MagicItem.js.html
@@ -55,6 +55,7 @@
V optionShape
V optionsShapeProp
V valuePropType
+components/fields/button F Button
components/fields/button-group F ButtonGroup
components/fields/factories F fieldFactory
F fieldSetFactory
diff --git a/docs/file/src/components/fields/magic-select/MagicSelect.js.html b/docs/file/src/components/fields/magic-select/MagicSelect.js.html
index 2ed5db9..f4ca580 100644
--- a/docs/file/src/components/fields/magic-select/MagicSelect.js.html
+++ b/docs/file/src/components/fields/magic-select/MagicSelect.js.html
@@ -55,6 +55,7 @@
V optionShape
V optionsShapeProp
V valuePropType
+components/fields/button F Button
components/fields/button-group F ButtonGroup
components/fields/factories F fieldFactory
F fieldSetFactory
diff --git a/docs/file/src/components/fields/messages/Message.js.html b/docs/file/src/components/fields/messages/Message.js.html
index e5ea380..96f89fe 100644
--- a/docs/file/src/components/fields/messages/Message.js.html
+++ b/docs/file/src/components/fields/messages/Message.js.html
@@ -55,6 +55,7 @@
V optionShape
V optionsShapeProp
V valuePropType
+components/fields/button F Button
components/fields/button-group F ButtonGroup
components/fields/factories F fieldFactory
F fieldSetFactory
diff --git a/docs/file/src/components/fields/messages/messageObjectFactory.js.html b/docs/file/src/components/fields/messages/messageObjectFactory.js.html
index 6caaa0a..48caf04 100644
--- a/docs/file/src/components/fields/messages/messageObjectFactory.js.html
+++ b/docs/file/src/components/fields/messages/messageObjectFactory.js.html
@@ -55,6 +55,7 @@
V optionShape
V optionsShapeProp
V valuePropType
+components/fields/button F Button
components/fields/button-group F ButtonGroup
components/fields/factories F fieldFactory
F fieldSetFactory
diff --git a/docs/file/src/components/fields/messages/messagePropTypes.js.html b/docs/file/src/components/fields/messages/messagePropTypes.js.html
index 7493c3d..f34656a 100644
--- a/docs/file/src/components/fields/messages/messagePropTypes.js.html
+++ b/docs/file/src/components/fields/messages/messagePropTypes.js.html
@@ -55,6 +55,7 @@
V optionShape
V optionsShapeProp
V valuePropType
+components/fields/button F Button
components/fields/button-group F ButtonGroup
components/fields/factories F fieldFactory
F fieldSetFactory
diff --git a/docs/file/src/components/fields/propTypes.js.html b/docs/file/src/components/fields/propTypes.js.html
index 99b616c..8b23bbf 100644
--- a/docs/file/src/components/fields/propTypes.js.html
+++ b/docs/file/src/components/fields/propTypes.js.html
@@ -55,6 +55,7 @@
V optionShape
V optionsShapeProp
V valuePropType
+components/fields/button F Button
components/fields/button-group F ButtonGroup
components/fields/factories F fieldFactory
F fieldSetFactory
diff --git a/docs/file/src/components/fields/select/SelectField.js.html b/docs/file/src/components/fields/select/SelectField.js.html
index 3a2939d..99f62ce 100644
--- a/docs/file/src/components/fields/select/SelectField.js.html
+++ b/docs/file/src/components/fields/select/SelectField.js.html
@@ -55,6 +55,7 @@
V optionShape
V optionsShapeProp
V valuePropType
+components/fields/button F Button
components/fields/button-group F ButtonGroup
components/fields/factories F fieldFactory
F fieldSetFactory
diff --git a/docs/file/src/components/fields/select/SelectFieldFancy.js.html b/docs/file/src/components/fields/select/SelectFieldFancy.js.html
index b5e629a..d95dbc4 100644
--- a/docs/file/src/components/fields/select/SelectFieldFancy.js.html
+++ b/docs/file/src/components/fields/select/SelectFieldFancy.js.html
@@ -55,6 +55,7 @@
V optionShape
V optionsShapeProp
V valuePropType
+components/fields/button F Button
components/fields/button-group F ButtonGroup
components/fields/factories F fieldFactory
F fieldSetFactory
diff --git a/docs/file/src/components/fields/util.js.html b/docs/file/src/components/fields/util.js.html
index ac6880b..c69111f 100644
--- a/docs/file/src/components/fields/util.js.html
+++ b/docs/file/src/components/fields/util.js.html
@@ -55,6 +55,7 @@
V optionShape
V optionsShapeProp
V valuePropType
+components/fields/button F Button
components/fields/button-group F ButtonGroup
components/fields/factories F fieldFactory
F fieldSetFactory
diff --git a/docs/file/src/components/index.js.html b/docs/file/src/components/index.js.html
index c425d88..4413402 100644
--- a/docs/file/src/components/index.js.html
+++ b/docs/file/src/components/index.js.html
@@ -55,6 +55,7 @@
V optionShape
V optionsShapeProp
V valuePropType
+components/fields/button F Button
components/fields/button-group F ButtonGroup
components/fields/factories F fieldFactory
F fieldSetFactory
diff --git a/docs/file/src/components/validation/addAutomaticValidators.js.html b/docs/file/src/components/validation/addAutomaticValidators.js.html
index 0d22048..7804104 100644
--- a/docs/file/src/components/validation/addAutomaticValidators.js.html
+++ b/docs/file/src/components/validation/addAutomaticValidators.js.html
@@ -55,6 +55,7 @@
V optionShape
V optionsShapeProp
V valuePropType
+components/fields/button F Button
components/fields/button-group F ButtonGroup
components/fields/factories F fieldFactory
F fieldSetFactory
diff --git a/docs/file/src/components/validation/checkValidatorsForConfigField.js.html b/docs/file/src/components/validation/checkValidatorsForConfigField.js.html
index ecd311b..7ad33e5 100644
--- a/docs/file/src/components/validation/checkValidatorsForConfigField.js.html
+++ b/docs/file/src/components/validation/checkValidatorsForConfigField.js.html
@@ -55,6 +55,7 @@
V optionShape
V optionsShapeProp
V valuePropType
+components/fields/button F Button
components/fields/button-group F ButtonGroup
components/fields/factories F fieldFactory
F fieldSetFactory
diff --git a/docs/file/src/components/validation/checkValidatorsForConfigFields.js.html b/docs/file/src/components/validation/checkValidatorsForConfigFields.js.html
index 2faa74b..a519343 100644
--- a/docs/file/src/components/validation/checkValidatorsForConfigFields.js.html
+++ b/docs/file/src/components/validation/checkValidatorsForConfigFields.js.html
@@ -55,6 +55,7 @@
V optionShape
V optionsShapeProp
V valuePropType
+components/fields/button F Button
components/fields/button-group F ButtonGroup
components/fields/factories F fieldFactory
F fieldSetFactory
diff --git a/docs/file/src/components/validation/getValidatorsFromConfigField.js.html b/docs/file/src/components/validation/getValidatorsFromConfigField.js.html
index d78b0b9..7a94e6b 100644
--- a/docs/file/src/components/validation/getValidatorsFromConfigField.js.html
+++ b/docs/file/src/components/validation/getValidatorsFromConfigField.js.html
@@ -55,6 +55,7 @@
V optionShape
V optionsShapeProp
V valuePropType
+components/fields/button F Button
components/fields/button-group F ButtonGroup
components/fields/factories F fieldFactory
F fieldSetFactory
diff --git a/docs/file/src/components/validation/index.js.html b/docs/file/src/components/validation/index.js.html
index 4688bc9..94e620d 100644
--- a/docs/file/src/components/validation/index.js.html
+++ b/docs/file/src/components/validation/index.js.html
@@ -55,6 +55,7 @@
V optionShape
V optionsShapeProp
V valuePropType
+components/fields/button F Button
components/fields/button-group F ButtonGroup
components/fields/factories F fieldFactory
F fieldSetFactory
diff --git a/docs/file/src/components/validation/isEmpty.js.html b/docs/file/src/components/validation/isEmpty.js.html
index addc0e0..b02d862 100644
--- a/docs/file/src/components/validation/isEmpty.js.html
+++ b/docs/file/src/components/validation/isEmpty.js.html
@@ -55,6 +55,7 @@
V optionShape
V optionsShapeProp
V valuePropType
+components/fields/button F Button
components/fields/button-group F ButtonGroup
components/fields/factories F fieldFactory
F fieldSetFactory
diff --git a/docs/file/src/components/validation/isValid.js.html b/docs/file/src/components/validation/isValid.js.html
index 28c136c..044ce24 100644
--- a/docs/file/src/components/validation/isValid.js.html
+++ b/docs/file/src/components/validation/isValid.js.html
@@ -55,6 +55,7 @@
V optionShape
V optionsShapeProp
V valuePropType
+components/fields/button F Button
components/fields/button-group F ButtonGroup
components/fields/factories F fieldFactory
F fieldSetFactory
diff --git a/docs/file/src/components/validation/isValidOrEmpty.js.html b/docs/file/src/components/validation/isValidOrEmpty.js.html
index 8db93d5..1736826 100644
--- a/docs/file/src/components/validation/isValidOrEmpty.js.html
+++ b/docs/file/src/components/validation/isValidOrEmpty.js.html
@@ -55,6 +55,7 @@
V optionShape
V optionsShapeProp
V valuePropType
+components/fields/button F Button
components/fields/button-group F ButtonGroup
components/fields/factories F fieldFactory
F fieldSetFactory
diff --git a/docs/file/src/components/validation/messageStrings.js.html b/docs/file/src/components/validation/messageStrings.js.html
index 091ad67..3276b5b 100644
--- a/docs/file/src/components/validation/messageStrings.js.html
+++ b/docs/file/src/components/validation/messageStrings.js.html
@@ -55,6 +55,7 @@
V optionShape
V optionsShapeProp
V valuePropType
+components/fields/button F Button
components/fields/button-group F ButtonGroup
components/fields/factories F fieldFactory
F fieldSetFactory
diff --git a/docs/file/src/components/validation/strings.js.html b/docs/file/src/components/validation/strings.js.html
index da2f472..c96beeb 100644
--- a/docs/file/src/components/validation/strings.js.html
+++ b/docs/file/src/components/validation/strings.js.html
@@ -55,6 +55,7 @@
V optionShape
V optionsShapeProp
V valuePropType
+components/fields/button F Button
components/fields/button-group F ButtonGroup
components/fields/factories F fieldFactory
F fieldSetFactory
diff --git a/docs/file/src/components/validation/util.js.html b/docs/file/src/components/validation/util.js.html
index 9fd2b99..294143b 100644
--- a/docs/file/src/components/validation/util.js.html
+++ b/docs/file/src/components/validation/util.js.html
@@ -55,6 +55,7 @@
V optionShape
V optionsShapeProp
V valuePropType
+components/fields/button F Button
components/fields/button-group F ButtonGroup
components/fields/factories F fieldFactory
F fieldSetFactory
diff --git a/docs/file/src/index.js.html b/docs/file/src/index.js.html
index 6f95507..f3545b0 100644
--- a/docs/file/src/index.js.html
+++ b/docs/file/src/index.js.html
@@ -55,6 +55,7 @@
V optionShape
V optionsShapeProp
V valuePropType
+components/fields/button F Button
components/fields/button-group F ButtonGroup
components/fields/factories F fieldFactory
F fieldSetFactory
diff --git a/docs/file/src/registerServiceWorker.js.html b/docs/file/src/registerServiceWorker.js.html
index 0110532..21d600d 100644
--- a/docs/file/src/registerServiceWorker.js.html
+++ b/docs/file/src/registerServiceWorker.js.html
@@ -55,6 +55,7 @@
V optionShape
V optionsShapeProp
V valuePropType
+components/fields/button F Button
components/fields/button-group F ButtonGroup
components/fields/factories F fieldFactory
F fieldSetFactory
diff --git a/docs/function/index.html b/docs/function/index.html
index e2d9b34..8f23d42 100644
--- a/docs/function/index.html
+++ b/docs/function/index.html
@@ -55,6 +55,7 @@
V optionShape
V optionsShapeProp
V valuePropType
+components/fields/button F Button
components/fields/button-group F ButtonGroup
components/fields/factories F fieldFactory
F fieldSetFactory
@@ -93,6 +94,34 @@
+
+
+
+
+
+
+
+
+ Button (props: * ): *
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ public
+
+
+
@@ -1046,6 +1075,77 @@
Static Public
+
+
+
+
+
+
+
+
+
+
+
+
Params:
+
+
+ Name Type Attribute Description
+
+
+
+
+ props
+ *
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
components/fields/button
+
+ summary
+
+
+
+
+ public
+
+
+
+
+
+
+
+
+ F
+
+
+ Button (props: * ): *
+
+
+
+
+
+
+
+
+
+
+
@@ -1640,6 +1679,7 @@ components/validation
+
diff --git a/docs/index.html b/docs/index.html
index e591b43..0a5a16f 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -66,11 +66,19 @@
Text field that is not required
Text field with help text
Number Field Group
+Submit Button Field Group
+Button Field Group
Select Field Groups
+Magic Select Groups
+Import With webpack
+Example
Select Fields
Import With webpack
Example
Fieldsets
+Submit Buttons and Other Types Of Buttons
+Import With webpack
+Exampel Submit Button
Button Group
Import With webpack
Examples
@@ -499,6 +507,27 @@ Structure of class attributes The
values.two=newValue;
}}
/>
+
Submit Button Field Group <FieldGroup
+ id={'control-24'}
+ label={'This will go in the label element'}
+ type={'button'}
+ innertype={'submit'}
+ value={'Submit Form'}
+ onClick={() => {
+ //do stuff when clicked
+ }}
+/>
+
+
Button Field Group <FieldGroup
+ id={'control-24'}
+ label={'This will go in the label element'}
+ type={'button'}
+ innertype={'button'}
+ value={false}
+ onClick={() => {
+ //do stuff when clicked
+ }}
+/>
Select Field Groups Select field groups happen when you pass "select" to the type
prop.
Select fields take an array of options in the prop option. Options in that collection must conform the shape defined here
let selectFieldValue = '';
<FieldGroup
type={'select'}
@@ -518,22 +547,8 @@ Structure of class attributes The
label: 'Two'
}
]}
-/>
-
-## Magic Select Groups
-Magic select groups use `MagicSelect` fields, which wrap [reactjs/react-autocomple](https://github.com/reactjs/react-autocomplete) to create a UI for [Caldera Forms magic tags](https://calderaforms.com/doc/using-magic-tags-caldera-forms/).
-
-These fields groups show options from two lists, one is passed in the prop `fieldsList` and represents the fields of the form, and the other is in `systemTagsList`, which represents the system values such as the current user info.
-
-The property `isOpen` controls if the auto-complete list is open.
-
-### Import With webpack
-import {MagicFieldGroup} from '@caldera-labs/components';
-
-### Example
-
-```js
-let magicFieldValue ='';
+/>
+
Magic Select Groups Magic select groups use MagicSelect
fields, which wrap reactjs/react-autocomple to create a UI for Caldera Forms magic tags .
These fields groups show options from two lists, one is passed in the prop fieldsList
and represents the fields of the form, and the other is in systemTagsList
, which represents the system values such as the current user info.
The property isOpen
controls if the auto-complete list is open.
Import With webpack import {MagicFieldGroup} from '@caldera-labs/components';
Example let magicFieldValue ='';
<MagicFieldGroup
id={'magic-5'}
@@ -610,6 +625,20 @@ Structure of class attributes The
}
]}
/>
+
Submit Buttons and Other Types Of Buttons In general, for submit inputs and <button>
elements, instead of using an Input
component, you should use the Button
component.
Import With webpack import {fields} from '@caldera-labs/components';
+const {Button} = fields;
+
+
Exampel Submit Button <Button
+ id={'control-button'}
+ label={'Click To Submit Form'}
+ type={'button'}
+ innertype={'submit'}
+ value={'Submit Form'}
+ onClick={() => {
+ //do stuff when clicked
+ }}
+/>
+
Button Group Button groups are select fields. One button can be selected at once.
This is a field, not a group (like FieldGroup
or MagicFieldGroup
) so it does not handle its own label.
Button groups fields take an array of options in the prop option. Options in that collection must conform the shape defined here
Import With webpack import {fields} from '@caldera-labs/components';
const {ButtonGroup} = fields;
Examples Button Group With Two Options <ButtonGroup
diff --git a/docs/index.json b/docs/index.json
index 0d4ec40..b22db40 100644
--- a/docs/index.json
+++ b/docs/index.json
@@ -890,7 +890,7 @@
"__docId__": 64,
"kind": "file",
"name": "src/components/RenderGroup.js",
- "content": "import React from 'react';\nimport propTypes from 'prop-types';\nimport {fieldSetFactory} from './fields/factories/fieldSetFactory';\n\n/**\n * Component for rendering an array of field configs\n */\nexport class RenderGroup extends React.Component {\n\n\n\t/**\n\t * Constructor for RenderGroup component\n\t * @param {Object} props\n\t */\n\tconstructor(props) {\n\t\tsuper(props);\n\t\tthis.createComponents = this.createComponents.bind(this);\n\t}\n\n\t/**\n\t * Create components\n\t *\n\t * @return {Array}\n\t */\n\tcreateComponents() {\n\t\tlet configFields = this.props.configFields;\n\n\t\t/**\n\t\t * Find config field ID/id\n\t\t *\n\t\t * @param {Object} configField\n\t\t * @return {boolean}\n\t\t */\n\t\tfunction findFieldId(configField) {\n\t\t\treturn configField.ID ? configField.ID : configField.id ? configField.id : false;\n\t\t}\n\n\t\tif( 'function' === typeof this.props.onBlur ){\n\t\t\tconfigFields.forEach((configField, configFieldIndex ) => {\n\t\t\t\tconst configFieldId = findFieldId(configField);\n\t\t\t\tif( configFieldId ){\n\t\t\t\t\tconfigFields[configFieldIndex].onBlur = () => {\n\t\t\t\t\t\tthis.props.onBlur(configFieldId);\n\t\t\t\t\t};\n\n\t\t\t\t}\n\n\t\t\t});\n\n\t\t}\n\t\tif( 'function' === typeof this.props.onFocus ){\n\t\t\tconfigFields.forEach((configField, configFieldIndex ) => {\n\t\t\t\tconst configFieldId = findFieldId(configField);\n\t\t\t\tif( configFieldId ){\n\t\t\t\t\tconfigFields[configFieldIndex].onFocus = () => {\n\t\t\t\t\t\tthis.props.onFocus(configFieldId);\n\t\t\t\t\t};\n\n\t\t\t\t}\n\n\t\t\t});\n\t\t}\n\t\treturn fieldSetFactory(configFields);\n\t}\n\n\t/**\n\t * Renderer for RenderGroup component\n\t *\n\t * @return {*}\n\t */\n\trender() {\n\t\treturn (\n\t\t\t\n\t\t\t\t{this.createComponents().map((configField, i) => {\n\t\t\t\t\treturn React.createElement(\n\t\t\t\t\t\t'div', {\n\t\t\t\t\t\t\tkey: i,\n\t\t\t\t\t\t\tclassName: RenderGroup.classNames.fieldGroup\n\t\t\t\t\t\t},\n\t\t\t\t\t\tconfigField\n\t\t\t\t\t);\n\t\t\t\t})}\n\t\t\t
\n\t\t);\n\t}\n}\n\n/**\n * Prop definitions for RenderGroup component\n * @type {{configFields: *, className: shim}}\n */\nRenderGroup.propTypes = {\n\tconfigFields: propTypes.array.isRequired,\n\tclassName: propTypes.string,\n\tonBlur: propTypes.func,\n\tonFocus: propTypes.func\n};\n\n/**\n * Classnames for elements (wrappers, field groups and form fields)\n *\n * @type {{renderGroupWrapper: string, fieldWrapper: string}}\n */\nRenderGroup.classNames = {\n\trenderGroupWrapper: 'caldera-config-field-setup',\n\tfieldGroup: 'caldera-config-group',\n\tfieldWrapper: 'caldera-config-field',\n\tinput: 'field-config',\n\n};",
+ "content": "import React from 'react';\nimport propTypes from 'prop-types';\nimport {fieldSetFactory} from './fields/factories/fieldSetFactory';\n\n/**\n * Component for rendering an array of field configs\n */\nexport class RenderGroup extends React.Component {\n\n\n\t/**\n\t * Constructor for RenderGroup component\n\t * @param {Object} props\n\t */\n\tconstructor(props) {\n\t\tsuper(props);\n\t\tthis.createComponents = this.createComponents.bind(this);\n\t}\n\n\t/**\n\t * Create components\n\t *\n\t * @return {Array}\n\t */\n\tcreateComponents() {\n\t\tlet configFields = this.props.configFields;\n\n\t\t/**\n\t\t * Find config field ID/id\n\t\t *\n\t\t * @param {Object} configField\n\t\t * @return {boolean}\n\t\t */\n\t\tfunction findFieldId(configField) {\n\t\t\treturn configField.ID ? configField.ID : configField.id ? configField.id : false;\n\t\t}\n\n\t\tif( 'function' === typeof this.props.onBlur ){\n\t\t\tconfigFields.forEach((configField, configFieldIndex ) => {\n\t\t\t\tconst configFieldId = findFieldId(configField);\n\t\t\t\tif( configFieldId ){\n\t\t\t\t\tconfigFields[configFieldIndex].onBlur = () => {\n\t\t\t\t\t\tthis.props.onBlur(configFieldId);\n\t\t\t\t\t};\n\n\t\t\t\t}\n\n\t\t\t});\n\n\t\t}\n\t\tif( 'function' === typeof this.props.onFocus ){\n\t\t\tconfigFields.forEach((configField, configFieldIndex ) => {\n\t\t\t\tconst configFieldId = findFieldId(configField);\n\t\t\t\tif( configFieldId ){\n\t\t\t\t\tconfigFields[configFieldIndex].onFocus = () => {\n\t\t\t\t\t\tthis.props.onFocus(configFieldId);\n\t\t\t\t\t};\n\n\t\t\t\t}\n\n\t\t\t});\n\t\t}\n\t\treturn fieldSetFactory(configFields);\n\t}\n\n\t/**\n\t * Renderer for RenderGroup component\n\t *\n\t * @return {*}\n\t */\n\trender() {\n\t\treturn (\n\t\t\t\n\t\t\t\t{this.createComponents().map((configField, i) => {\n\t\t\t\t\treturn React.createElement(\n\t\t\t\t\t\t'div', {\n\t\t\t\t\t\t\tkey: i,\n\t\t\t\t\t\t\tclassName: RenderGroup.classNames.fieldGroup\n\t\t\t\t\t\t},\n\t\t\t\t\t\tconfigField\n\t\t\t\t\t);\n\t\t\t\t})}\n\t\t\t
\n\t\t);\n\t}\n}\n\n/**\n * Prop definitions for RenderGroup component\n * @type {{configFields: *, className: shim}}\n */\nRenderGroup.propTypes = {\n\tconfigFields: propTypes.array.isRequired,\n\tclassName: propTypes.string,\n\tonBlur: propTypes.func,\n\tonFocus: propTypes.func\n};\n\n/**\n * Classnames for elements (wrappers, field groups and form fields)\n *\n * @type {{renderGroupWrapper: string, fieldWrapper: string}}\n */\nRenderGroup.classNames = {\n\trenderGroupWrapper: 'caldera-config-field-setup',\n\tfieldGroup: 'caldera-config-group',\n\tfieldWrapper: 'caldera-config-field',\n\tinput: 'field-config',\n\tbutton: 'caldera-config-button',\n\n};",
"static": true,
"longname": "/Users/josh/caldera-js/components/src/components/RenderGroup.js",
"access": "public",
@@ -1336,7 +1336,7 @@
"__docId__": 84,
"kind": "file",
"name": "src/components/fields/FieldGroup.js",
- "content": "import React from 'react';\nimport classNames from 'classnames';\nimport {ariaDescribedbyAttr} from './util';\nimport {\n\tfieldGroupPropTypes,\n} from './propTypes';\n\nimport {FieldInner} from './FieldInner';\nimport {RenderGroup} from '../RenderGroup';\nimport {Message} from './messages/Message';\nimport {messageObjectFactory} from './messages/messageObjectFactory';\nimport {fieldsetCheckboxHandler} from './field-group-change-handlers/fieldsetCheckboxHandler';\nimport {MagicFieldGroup} from './magic-select/MagicFieldGroup';\n\n/**\n * Represents one configField -- wrapper, label and input.\n *\n * @param props\n * @return {*}\n * @constructor\n */\nexport const FieldGroup = (props) => {\n\tif( 'magic' === props.type ){\n\t\treturn ;\n\t}\n\n\t/**\n\t * Creates the id attribute\n\t * @return {String}\n\t */\n\tfunction idAttrForHelpElement() {\n\t\treturn ariaDescribedbyAttr(props.id, props.help);\n\t}\n\n\n\t/**\n\t * Based on type, render the field.\n\t *\n\t * @return {*}\n\t */\n\tfunction fieldInner(fieldProps) {\n\t\tconst message = 'object' === typeof fieldProps.message\n\t\t\t? messageObjectFactory(fieldProps.message)\n\t\t\t: messageObjectFactory({message: null, error: false});\n\n\t\tfunction getFieldClassName(conditionalClassNames) {\n\t\t\treturn classNames(\n\t\t\t\t{\n\t\t\t\t\trequired: fieldProps.isRequired,\n\t\t\t\t\t...conditionalClassNames\n\t\t\t\t}\n\t\t\t);\n\t\t}\n\n\t\t/**\n\t\t * Is this option the checked value?\n\t\t * @param {object}option\n\t\t * @param {String|number|Array} currentValue\n\t\t * @return {boolean}\n\t\t */\n\t\tfunction isCheckedOption(option, currentValue) {\n\t\t\tif (Array.isArray(currentValue)) {\n\t\t\t\treturn currentValue.includes(option.value);\n\t\t\t}\n\t\t\treturn option.value === currentValue;\n\t\t}\n\n\t\t//Fieldsets are rendered recursively.\n\t\tif ('fieldset' === fieldProps.type) {\n\t\t\treturn (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{props.label}\n\t\t\t\t\t \n\t\t\t\t\t{props.options.map(option => {\n\n\n\t\t\t\t\t\t//Call this same function, as a regular checkbox\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{fieldInner({\n\t\t\t\t\t\t\t\t\ttype: 'input',\n\t\t\t\t\t\t\t\t\tinputType: 'checkbox',\n\t\t\t\t\t\t\t\t\tid: `${props.id}-${option.value}`,\n\t\t\t\t\t\t\t\t\tvalue: isCheckedOption(option, props.value),\n\t\t\t\t\t\t\t\t\tfieldClassName: getFieldClassName({\n\t\t\t\t\t\t\t\t\t\t'fieldset-checkbox': true,\n\t\t\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t\t\tlabel: option.label,\n\t\t\t\t\t\t\t\t\tdisabled: props.disabled,\n\t\t\t\t\t\t\t\t\tonValueChange: () => fieldsetCheckboxHandler(option, props.values, props.onValueChange),\n\t\t\t\t\t\t\t\t\tonBlur: props.onBlur,\n\t\t\t\t\t\t\t\t\tonFocus: props.onFocus\n\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t);\n\t\t\t\t\t})}\n\t\t\t\t \n\t\t\t);\n\t\t} else if ('hidden' === fieldProps.inputType) {\n\t\t\treturn (\n\t\t\t\tFieldInner(\n\t\t\t\t\t{\n\t\t\t\t\t\ttype: props.type,\n\t\t\t\t\t\tid: props.id,\n\t\t\t\t\t\tfieldClassName: getFieldClassName(),\n\t\t\t\t\t\tvalue: fieldProps.value,\n\t\t\t\t\t\tonValueChange: fieldProps.onValueChange,\n\t\t\t\t\t\tinputType: fieldProps.inputType,\n\t\t\t\t\t\tdisabled: props.disabled,\n\t\t\t\t\t\tonBlur: props.onBlur,\n\t\t\t\t\t\tonFocus: props.onFocus\n\t\t\t\t\t}\n\t\t\t\t)\n\t\t\t);\n\t\t} else {\n\t\t\treturn (\n\t\t\t\t\n\t\t\t\t\t
\n\n\t\t\t\t\t
\n\t\t\t\t\t{FieldInner(\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\ttype: fieldProps.type,\n\t\t\t\t\t\t\tid: fieldProps.id,\n\t\t\t\t\t\t\tfieldClassName: getFieldClassName({\n\t\t\t\t\t\t\t\t'block-input': fieldProps.isBlockInput\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\thelp: fieldProps.help,\n\t\t\t\t\t\t\tvalue: fieldProps.value,\n\t\t\t\t\t\t\tonValueChange: fieldProps.onValueChange,\n\t\t\t\t\t\t\tinputType: fieldProps.inputType,\n\t\t\t\t\t\t\toptions: fieldProps.options,\n\t\t\t\t\t\t\tdisabled: props.disabled,\n\t\t\t\t\t\t\tonBlur: props.onBlur,\n\t\t\t\t\t\t\tonFocus: props.onFocus\n\t\t\t\t\t\t}\n\t\t\t\t\t)}\n\t\t\t\t\t{fieldProps.help &&\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t{fieldProps.help}\n\t\t\t\t\t\t
\n\t\t\t\t\t}\n\t\t\t\t
\n\t\t\t);\n\t\t}\n\n\t}\n\n\t/**\n\t * Render field group\n\t */\n\treturn fieldInner(props);\n};\n\n/**\n * The prop type definitions for FieldGroup components\n *\n * @type {{id: (boolean|shim|*), isBlockInput: shim, isRequired: shim, help: shim, label: (boolean|shim|*), type: shim, value: shim, onValueChange: (boolean|shim|*), inputType: shim}}\n */\nFieldGroup.propTypes = fieldGroupPropTypes;\n\n/**\n * Default props for FieldGroups\n *\n * @type {{isBlockInput: boolean, isRequired: boolean, help: string}}\n */\nFieldGroup.defaultProps = {\n\tisBlockInput: true,\n\tisRequired: false,\n\thelp: ''\n};\n\n/**\n * Creates the FieldGroup's label component\n *\n * @param {Object} props\n * @return {*}\n * @constructor\n */\nFieldGroup.Label = (props) => {\n\treturn (\n\t\t\n\t\t\t{props.label}\n\t\t \n\t);\n};",
+ "content": "import React from 'react';\nimport classNames from 'classnames';\nimport {ariaDescribedbyAttr} from './util';\nimport {\n\tfieldGroupPropTypes,\n} from './propTypes';\n\nimport {FieldInner} from './FieldInner';\nimport {RenderGroup} from '../RenderGroup';\nimport {Message} from './messages/Message';\nimport {messageObjectFactory} from './messages/messageObjectFactory';\nimport {fieldsetCheckboxHandler} from './field-group-change-handlers/fieldsetCheckboxHandler';\nimport {MagicFieldGroup} from './magic-select/MagicFieldGroup';\n\n/**\n * Represents one configField -- wrapper, label and input.\n *\n * @param props\n * @return {*}\n * @constructor\n */\nexport const FieldGroup = (props) => {\n\tif( 'magic' === props.type ){\n\t\treturn ;\n\t}\n\n\t/**\n\t * Creates the id attribute\n\t * @return {String}\n\t */\n\tfunction idAttrForHelpElement() {\n\t\treturn ariaDescribedbyAttr(props.id, props.help);\n\t}\n\n\n\t/**\n\t * Based on type, render the field.\n\t *\n\t * @return {*}\n\t */\n\tfunction fieldInner(fieldProps) {\n\t\tconst message = 'object' === typeof fieldProps.message\n\t\t\t? messageObjectFactory(fieldProps.message)\n\t\t\t: messageObjectFactory({message: null, error: false});\n\n\t\tfunction getFieldClassName(conditionalClassNames) {\n\t\t\treturn classNames(\n\t\t\t\t{\n\t\t\t\t\trequired: fieldProps.isRequired,\n\t\t\t\t\t...conditionalClassNames\n\t\t\t\t}\n\t\t\t);\n\t\t}\n\n\t\t/**\n\t\t * Is this option the checked value?\n\t\t * @param {object}option\n\t\t * @param {String|number|Array} currentValue\n\t\t * @return {boolean}\n\t\t */\n\t\tfunction isCheckedOption(option, currentValue) {\n\t\t\tif (Array.isArray(currentValue)) {\n\t\t\t\treturn currentValue.includes(option.value);\n\t\t\t}\n\t\t\treturn option.value === currentValue;\n\t\t}\n\n\t\t//Fieldsets are rendered recursively.\n\t\tif ('fieldset' === fieldProps.type) {\n\t\t\treturn (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{props.label}\n\t\t\t\t\t \n\t\t\t\t\t{props.options.map(option => {\n\n\n\t\t\t\t\t\t//Call this same function, as a regular checkbox\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{fieldInner({\n\t\t\t\t\t\t\t\t\ttype: 'input',\n\t\t\t\t\t\t\t\t\tinputType: 'checkbox',\n\t\t\t\t\t\t\t\t\tid: `${props.id}-${option.value}`,\n\t\t\t\t\t\t\t\t\tvalue: isCheckedOption(option, props.value),\n\t\t\t\t\t\t\t\t\tfieldClassName: getFieldClassName({\n\t\t\t\t\t\t\t\t\t\t'fieldset-checkbox': true,\n\t\t\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t\t\tlabel: option.label,\n\t\t\t\t\t\t\t\t\tdisabled: props.disabled,\n\t\t\t\t\t\t\t\t\tonValueChange: () => fieldsetCheckboxHandler(option, props.values, props.onValueChange),\n\t\t\t\t\t\t\t\t\tonBlur: props.onBlur,\n\t\t\t\t\t\t\t\t\tonFocus: props.onFocus\n\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t);\n\t\t\t\t\t})}\n\t\t\t\t \n\t\t\t);\n\t\t} else if ('hidden' === fieldProps.inputType) {\n\t\t\treturn (\n\t\t\t\tFieldInner(\n\t\t\t\t\t{\n\t\t\t\t\t\ttype: props.type,\n\t\t\t\t\t\tid: props.id,\n\t\t\t\t\t\tfieldClassName: getFieldClassName(),\n\t\t\t\t\t\tvalue: fieldProps.value,\n\t\t\t\t\t\tonValueChange: fieldProps.onValueChange,\n\t\t\t\t\t\tinputType: fieldProps.inputType,\n\t\t\t\t\t\tdisabled: props.disabled,\n\t\t\t\t\t\tonBlur: props.onBlur,\n\t\t\t\t\t\tonFocus: props.onFocus\n\t\t\t\t\t}\n\t\t\t\t)\n\t\t\t);\n\t\t} else {\n\t\t\treturn (\n\t\t\t\t\n\t\t\t\t\t
\n\n\t\t\t\t\t
\n\t\t\t\t\t{FieldInner(\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\ttype: fieldProps.type,\n\t\t\t\t\t\t\tid: fieldProps.id,\n\t\t\t\t\t\t\tfieldClassName: getFieldClassName({\n\t\t\t\t\t\t\t\t'block-input': fieldProps.isBlockInput\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\thelp: fieldProps.help,\n\t\t\t\t\t\t\tvalue: fieldProps.value,\n\t\t\t\t\t\t\tonValueChange: fieldProps.onValueChange,\n\t\t\t\t\t\t\tonClick: fieldProps.onClick,\n\t\t\t\t\t\t\tinputType: fieldProps.inputType,\n\t\t\t\t\t\t\toptions: fieldProps.options,\n\t\t\t\t\t\t\tdisabled: props.disabled,\n\t\t\t\t\t\t\tonBlur: props.onBlur,\n\t\t\t\t\t\t\tonFocus: props.onFocus\n\t\t\t\t\t\t}\n\t\t\t\t\t)}\n\t\t\t\t\t{fieldProps.help &&\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t{fieldProps.help}\n\t\t\t\t\t\t
\n\t\t\t\t\t}\n\t\t\t\t
\n\t\t\t);\n\t\t}\n\n\t}\n\n\t/**\n\t * Render field group\n\t */\n\treturn fieldInner(props);\n};\n\n/**\n * The prop type definitions for FieldGroup components\n *\n * @type {{id: (boolean|shim|*), isBlockInput: shim, isRequired: shim, help: shim, label: (boolean|shim|*), type: shim, value: shim, onValueChange: (boolean|shim|*), inputType: shim}}\n */\nFieldGroup.propTypes = fieldGroupPropTypes;\n\n/**\n * Default props for FieldGroups\n *\n * @type {{isBlockInput: boolean, isRequired: boolean, help: string}}\n */\nFieldGroup.defaultProps = {\n\tisBlockInput: true,\n\tisRequired: false,\n\thelp: ''\n};\n\n/**\n * Creates the FieldGroup's label component\n *\n * @param {Object} props\n * @return {*}\n * @constructor\n */\nFieldGroup.Label = (props) => {\n\treturn (\n\t\t\n\t\t\t{props.label}\n\t\t \n\t);\n};",
"static": true,
"longname": "/Users/josh/caldera-js/components/src/components/fields/FieldGroup.js",
"access": "public",
@@ -1389,7 +1389,7 @@
"__docId__": 86,
"kind": "file",
"name": "src/components/fields/FieldInner.js",
- "content": "import {fieldInnerPropTypes} from './propTypes';\nimport React from 'react';\nimport {Input} from './input/Input';\nimport {SelectField} from './select/SelectField';\nimport {ariaDescribedbyAttr} from './util';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport {RenderGroup} from '../RenderGroup';\n/**\n * Creates the field inside of a field group\n *\n * @param {Object} props\n * @returns {*}\n * @constructor\n */\nexport const FieldInner = (props) => {\n\n\t/**\n\t * Get the ID for the description element if it will be created\n\t *\n\t * @return {String|null}\n\t */\n\tfunction ariaIdAttr() {\n\t\treturn ariaDescribedbyAttr(props.id, props.help);\n\t}\n\n\t/**\n\t * Get the className prop for the\n\t *\n\t * @return {String}\n\t */\n\tfunction inputClassName() {\n\t\treturn classNames([\n\t\t\tprops.fieldClassName,\n\t\t\tRenderGroup.classNames.input\n\t\t]\n\t\t);\n\t}\n\n\tswitch( props.type ){\n\tcase 'select':\n\tcase 'dropdown':\n\t\tconst options = Array.isArray(props.options) ? props.options : [];\n\t\treturn (\n\t\t\t \n\t\t);\n\tdefault:\n\tcase 'input':\n\t\treturn (\n\t\t\t );\n\t}\n\n};\n\n/**\n * propTypes for FieldInner component\n *\n * @type {{options, ariaDescribedbyAttr}}\n */\nFieldInner.propTypes = {\n\t...fieldInnerPropTypes,\n\ttype: PropTypes.string,\n};\n\n/**\n * Default props for FieldInner component\n * @type {{help: string}}\n */\nFieldInner.defaultProps = {\n\thelp: '',\n\ttype: 'input'\n};",
+ "content": "import {fieldInnerPropTypes} from './propTypes';\nimport React from 'react';\nimport {Input} from './input/Input';\nimport {SelectField} from './select/SelectField';\nimport {ariaDescribedbyAttr} from './util';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport {RenderGroup} from '../RenderGroup';\nimport {Button} from \"./button/Button\";\n\n/**\n * Creates the field inside of a field group\n *\n * @param {Object} props\n * @returns {*}\n * @constructor\n */\nexport const FieldInner = (props) => {\n\n\t/**\n\t * Get the ID for the description element if it will be created\n\t *\n\t * @return {String|null}\n\t */\n\tfunction ariaIdAttr() {\n\t\treturn ariaDescribedbyAttr(props.id, props.help);\n\t}\n\n\t/**\n\t * Get the className prop for the\n\t *\n\t * @return {String}\n\t */\n\tfunction inputClassName() {\n\t\treturn classNames([\n\t\t\t\tprops.fieldClassName,\n\t\t\t\tRenderGroup.classNames.input\n\t\t\t]\n\t\t);\n\t}\n\n\tswitch (props.type) {\n\t\tcase 'select':\n\t\tcase 'dropdown':\n\t\t\tconst options = Array.isArray(props.options) ? props.options : [];\n\t\t\treturn (\n\t\t\t\t \n\t\t\t);\n\t\tcase 'button' :\n\t\t\treturn (\n\t\t\t\t \n\t\t\t);\n\t\tdefault:\n\t\tcase 'input':\n\t\t\treturn (\n\t\t\t\t );\n\t}\n\n};\n\n/**\n * propTypes for FieldInner component\n *\n * @type {{options, ariaDescribedbyAttr}}\n */\nFieldInner.propTypes = {\n\t...fieldInnerPropTypes,\n\ttype: PropTypes.string,\n};\n\n/**\n * Default props for FieldInner component\n * @type {{help: string}}\n */\nFieldInner.defaultProps = {\n\thelp: '',\n\ttype: 'input'\n};",
"static": true,
"longname": "/Users/josh/caldera-js/components/src/components/fields/FieldInner.js",
"access": "public",
@@ -1410,7 +1410,7 @@
"importPath": "@caldera-labs/components/src/components/fields/FieldInner.js",
"importStyle": "{FieldInner}",
"description": "Creates the field inside of a field group",
- "lineNumber": 16,
+ "lineNumber": 18,
"unknown": [
{
"tagName": "@returns",
@@ -1445,6 +1445,68 @@
{
"__docId__": 88,
"kind": "file",
+ "name": "src/components/fields/button/Button.js",
+ "content": "import React from 'react';\nimport {fieldPropTypes} from '../propTypes';\nimport classNames from 'classnames';\nimport {RenderGroup} from '../../RenderGroup';\nimport PropTypes from 'prop-types';\n\n\nexport const Button = (props) => {\n\t/**\n\t * Get the className prop for inputs\n\t *\n\t * @return {String}\n\t */\n\tfunction inputClassName() {\n\t\treturn classNames(\n\t\t\tprops.fieldClassName,\n\t\t\tRenderGroup.classNames.input,\n\t\t\tRenderGroup.classNames.button\n\t\t);\n\t}\n\n\tif ('submit' === props.inputType) {\n\t\treturn (\n\t\t\t \n\t\t);\n\t}\n\n\treturn (\n\t\t\n\t\t\t{props.value}\n\t\t \n\t);\n};\n\nlet propTypes = fieldPropTypes;\ndelete fieldPropTypes.onValueChange;\n\n/**\n * Prop type definitions for Button Component\n * @type {{id: (*), fieldClassName: (*), help: shim, value: shim, onValueChange: (*), inputType: shim, onClick: *}}\n */\nButton.propTypes = {\n\t...propTypes,\n\tinnerType: PropTypes.oneOf(['submit','button'] ),\n\tonClick: PropTypes.func.isRequired,\n};\n\nButton.defaultProps = {\n\tinputType: 'submit'\n}",
+ "static": true,
+ "longname": "/Users/josh/caldera-js/components/src/components/fields/button/Button.js",
+ "access": "public",
+ "description": null,
+ "lineNumber": 1
+ },
+ {
+ "__docId__": 89,
+ "kind": "function",
+ "name": "Button",
+ "memberof": "src/components/fields/button/Button.js",
+ "generator": false,
+ "async": false,
+ "static": true,
+ "longname": "src/components/fields/button/Button.js~Button",
+ "access": "public",
+ "export": true,
+ "importPath": "@caldera-labs/components/src/components/fields/button/Button.js",
+ "importStyle": "{Button}",
+ "description": null,
+ "lineNumber": 8,
+ "undocument": true,
+ "params": [
+ {
+ "name": "props",
+ "types": [
+ "*"
+ ]
+ }
+ ],
+ "return": {
+ "types": [
+ "*"
+ ]
+ }
+ },
+ {
+ "__docId__": 90,
+ "kind": "variable",
+ "name": "propTypes",
+ "memberof": "src/components/fields/button/Button.js",
+ "static": true,
+ "longname": "src/components/fields/button/Button.js~propTypes",
+ "access": "public",
+ "export": false,
+ "importPath": "@caldera-labs/components/src/components/fields/button/Button.js",
+ "importStyle": null,
+ "description": null,
+ "lineNumber": 54,
+ "undocument": true,
+ "type": {
+ "types": [
+ "*"
+ ]
+ },
+ "ignore": true
+ },
+ {
+ "__docId__": 91,
+ "kind": "file",
"name": "src/components/fields/button-group/ButtonGroup.js",
"content": "import React from 'react';\nimport {optionShape} from '../propTypes';\nimport PropTypes from 'prop-types';\n/**\n * Creates a button group field\n *\n * @param {Object} props\n * @returns {*}\n * @constructor\n */\nexport const ButtonGroup = (props) => {\n\t/**\n\t * Dispatches new value(s) to parent\n\t *\n\t * @param selection\n\t * @returns {*}\n\t */\n\tfunction changeHandler(selection) {\n\t\treturn props.onChange(selection);\n\t}\n\n\t/**\n\t * Render a button group\n\t */\n\treturn (\n\t\t\n\t\t\t{props.options.map(option => {\n\t\t\t\treturn {\n\t\t\t\t\t\treturn changeHandler(option.value);\n\t\t\t\t\t}}\n\t\t\t\t>\n\t\t\t\t\t{option.hasOwnProperty('icon')&&\n\t\t\t\t\t\t \n\t\t\t\t\t}\n\t\t\t\t\t{!option.hasOwnProperty('icon') &&\n\t\t\t\t\t\t{option.label} \n\t\t\t\t\t}\n\n\t\t\t\t ;\n\t\t\t})}\n\t\t
\n\t);\n};\n\n/**\n * Prop definition for select fields\n *\n * @type {{}}\n */\nButtonGroup.propTypes = {\n\tonChange: PropTypes.func.isRequired,\n\toptions: PropTypes.arrayOf(\n\t\tPropTypes.shape({\n\t\t\t...optionShape,\n\t\t\ticon:PropTypes.string,\n\t\t\tariaLabel:PropTypes.string\n\t\t})\n\t),\n\tvalue: PropTypes.oneOfType([\n\t\tPropTypes.number,\n\t\tPropTypes.string\n\t])\n};\n\n/**\n * Default props for select fields\n *\n * @type {{options: Array}}\n */\nButtonGroup.defaultProps = {\n\toptions: []\n};",
"static": true,
@@ -1454,7 +1516,7 @@
"lineNumber": 1
},
{
- "__docId__": 89,
+ "__docId__": 92,
"kind": "function",
"name": "ButtonGroup",
"memberof": "src/components/fields/button-group/ButtonGroup.js",
@@ -1500,7 +1562,7 @@
}
},
{
- "__docId__": 90,
+ "__docId__": 93,
"kind": "file",
"name": "src/components/fields/factories/fieldFactory.js",
"content": "import {prepareFieldConfig} from './prepareFieldConfig';\nimport {FieldGroup} from '../FieldGroup';\n\n\n/**\n * Generates field controls\n *\n * @param {Object} fieldArgs Field config\n * @returns {*}\n */\nexport const fieldFactory = (fieldArgs) =>{\n\treturn FieldGroup(prepareFieldConfig(fieldArgs));\n};\n",
@@ -1511,7 +1573,7 @@
"lineNumber": 1
},
{
- "__docId__": 91,
+ "__docId__": 94,
"kind": "function",
"name": "fieldFactory",
"memberof": "src/components/fields/factories/fieldFactory.js",
@@ -1553,7 +1615,7 @@
}
},
{
- "__docId__": 92,
+ "__docId__": 95,
"kind": "file",
"name": "src/components/fields/factories/fieldSetFactory.js",
"content": "import {fieldFactory} from './fieldFactory';\n\n/**\n * Given an array of field configs, generates and array of field controls\n *\n * Should be used for a group of settings, such as all settings for a processor.\n *\n * @param {Array} fields Field configs\n * @returns {Array}\n */\nexport const fieldSetFactory = (fields) =>{\n\tlet out = [];\n\tObject.values(fields).forEach( field => {\n\t\tout.push(fieldFactory(field));\n\t});\n\treturn out;\n};",
@@ -1564,7 +1626,7 @@
"lineNumber": 1
},
{
- "__docId__": 93,
+ "__docId__": 96,
"kind": "function",
"name": "fieldSetFactory",
"memberof": "src/components/fields/factories/fieldSetFactory.js",
@@ -1606,7 +1668,7 @@
}
},
{
- "__docId__": 94,
+ "__docId__": 97,
"kind": "file",
"name": "src/components/fields/factories/index.js",
"content": "/*eslint no-undef: \"error\"*/\n/*eslint-env node*/\nimport {fieldFactory} from './fieldFactory';\nimport {fieldSetFactory} from './fieldSetFactory';\n\nmodule.exports = {\n\tfieldFactory,\n\tfieldSetFactory\n};",
@@ -1617,10 +1679,10 @@
"lineNumber": 1
},
{
- "__docId__": 95,
+ "__docId__": 98,
"kind": "file",
"name": "src/components/fields/factories/prepareFieldConfig.js",
- "content": "import {fieldGroupPropTypes,magicGroupPropTypes} from '../propTypes';\nimport {isValidHtml5type, toBoolean} from '../util';\nimport {messageObjectFactory} from '../messages/messageObjectFactory';\n\n/**\n * Validates field configurations\n *\n * NOTE: This is called internally by factory. You probably do not want to call this.\n *\n * @param {Object}fieldArgs\n * @returns {*}\n */\nexport const prepareFieldConfig = (fieldArgs) => {\n\t/**\n\t * Pick whitelisted keys from object\n\t *\n\t * @see http://www.jstips.co/en/javascript/picking-and-rejecting-object-properties/\n\t *\n\t * @param {Object} obj The object to pick from\n\t * @param {Array} keys The whitelist of keys\n\t * @return {*}\n\t */\n\tfunction pick(obj, keys) {\n\t\treturn keys.map(k => k in obj ? {[k]: obj[k]} : {})\n\t\t\t.reduce((res, o) => Object.assign(res, o), {});\n\t}\n\n\tswitch (fieldArgs.type) {\n\tcase 'select':\n\tcase 'dropdown':\n\t\tfieldArgs.type = 'select';\n\t\tbreak;\n\tcase 'fieldset':\n\t\tfieldArgs.type = 'fieldset';\n\t\tbreak;\n\tcase 'text':\n\tcase 'number':\n\tdefault:\n\t\tfieldArgs.inputType = isValidHtml5type(fieldArgs.type) ? fieldArgs.type : 'text';\n\t\tfieldArgs.type = 'input';\n\t\tbreak;\n\t}\n\n\tif (fieldArgs.hasOwnProperty('desc')) {\n\t\tfieldArgs.help = fieldArgs.desc;\n\t}\n\tif (fieldArgs.hasOwnProperty('description')) {\n\t\tfieldArgs.help = fieldArgs.description;\n\t}\n\n\tlet validators = [];\n\tif( fieldArgs.hasOwnProperty('validators') && Array.isArray(fieldArgs.validators )){\n\t\tvalidators = fieldArgs.validators;\n\t}\n\n\tconst keys = 'magic' === fieldArgs.type ? magicGroupPropTypes : fieldGroupPropTypes;\n\tfieldArgs = pick(fieldArgs, Object.keys(keys));\n\tfieldArgs.disabled = toBoolean(fieldArgs.disabled);\n\tfieldArgs.message = 'object' === typeof fieldArgs.message\n\t\t? messageObjectFactory(fieldArgs.message)\n\t\t: messageObjectFactory({message:null, error: false });\n\n\tfieldArgs.validators = validators;\n\treturn fieldArgs;\n};",
+ "content": "import {fieldGroupPropTypes, magicGroupPropTypes} from '../propTypes';\nimport {isValidHtml5type, toBoolean} from '../util';\nimport {messageObjectFactory} from '../messages/messageObjectFactory';\n\n/**\n * Validates field configurations\n *\n * NOTE: This is called internally by factory. You probably do not want to call this.\n *\n * @param {Object}fieldArgs\n * @returns {*}\n */\nexport const prepareFieldConfig = (fieldArgs) => {\n\tfunction addMessageArg(fieldArgs) {\n\t\tfieldArgs.disabled = toBoolean(fieldArgs.disabled);\n\t\tfieldArgs.message = 'object' === typeof fieldArgs.message\n\t\t\t? messageObjectFactory(fieldArgs.message)\n\t\t\t: messageObjectFactory({message: null, error: false});\n\t\treturn fieldArgs;\n\t}\n\n\n\tif( 'button' === fieldArgs.type ) {\n\t\tif ('submit' !== fieldArgs.inputType) {\n\t\t\tfieldArgs.inputType = 'button';\n\t\t}\n\n\t\treturn addMessageArg(fieldArgs);\n\t}\n\n\n\t/**\n\t * Pick whitelisted keys from object\n\t *\n\t * @see http://www.jstips.co/en/javascript/picking-and-rejecting-object-properties/\n\t *\n\t * @param {Object} obj The object to pick from\n\t * @param {Array} keys The whitelist of keys\n\t * @return {*}\n\t */\n\tfunction pick(obj, keys) {\n\t\treturn keys.map(k => k in obj ? {[k]: obj[k]} : {})\n\t\t\t.reduce((res, o) => Object.assign(res, o), {});\n\t}\n\n\tswitch (fieldArgs.type) {\n\tcase 'select':\n\tcase 'dropdown':\n\t\tfieldArgs.type = 'select';\n\t\tbreak;\n\tcase 'fieldset':\n\t\tfieldArgs.type = 'fieldset';\n\t\tbreak;\n\tcase 'text':\n\tcase 'number':\n\tdefault:\n\t\tfieldArgs.inputType = isValidHtml5type(fieldArgs.type) ? fieldArgs.type : 'text';\n\t\tfieldArgs.type = 'input';\n\t\tbreak;\n\t}\n\n\tif (fieldArgs.hasOwnProperty('desc')) {\n\t\tfieldArgs.help = fieldArgs.desc;\n\t}\n\tif (fieldArgs.hasOwnProperty('description')) {\n\t\tfieldArgs.help = fieldArgs.description;\n\t}\n\n\tlet validators = [];\n\tif (fieldArgs.hasOwnProperty('validators') && Array.isArray(fieldArgs.validators)) {\n\t\tvalidators = fieldArgs.validators;\n\t}\n\n\tconst keys = 'magic' === fieldArgs.type ? magicGroupPropTypes : fieldGroupPropTypes;\n\tfieldArgs = pick(fieldArgs, Object.keys(keys));\n\tfieldArgs = addMessageArg(fieldArgs);\n\tfieldArgs.validators = validators;\n\treturn fieldArgs;\n};",
"static": true,
"longname": "/Users/josh/caldera-js/components/src/components/fields/factories/prepareFieldConfig.js",
"access": "public",
@@ -1628,7 +1690,7 @@
"lineNumber": 1
},
{
- "__docId__": 96,
+ "__docId__": 99,
"kind": "function",
"name": "prepareFieldConfig",
"memberof": "src/components/fields/factories/prepareFieldConfig.js",
@@ -1670,7 +1732,7 @@
}
},
{
- "__docId__": 97,
+ "__docId__": 100,
"kind": "file",
"name": "src/components/fields/field-group-change-handlers/fieldsetCheckboxHandler.js",
"content": "import {addOrRemoveFromArray} from '../util';\n\n/**\n * Change handler for a checkbox that is a part of a group\n * @param {Object} option Option that is being changed. Shape: `{value:String|number,label:String}`,\n * @param {Array|string|number} values Current values\n * @param {Function} onValueChange Function to call with updated value\n */\nexport const fieldsetCheckboxHandler = (option, values, onValueChange) => {\n\tif (!Array.isArray(values)) {\n\t\tif ('string' === typeof values || 'number' === typeof values) {\n\t\t\tvalues = [values];\n\t\t} else {\n\t\t\tvalues = [];\n\n\t\t}\n\t}\n\tvalues = addOrRemoveFromArray(option.value, values);\n\tonValueChange(values);\n};",
@@ -1681,7 +1743,7 @@
"lineNumber": 1
},
{
- "__docId__": 98,
+ "__docId__": 101,
"kind": "function",
"name": "fieldsetCheckboxHandler",
"memberof": "src/components/fields/field-group-change-handlers/fieldsetCheckboxHandler.js",
@@ -1732,7 +1794,7 @@
"return": null
},
{
- "__docId__": 99,
+ "__docId__": 102,
"kind": "file",
"name": "src/components/fields/index.js",
"content": "/*eslint no-undef: \"error\"*/\n/*eslint-env node*/\nimport {FieldGroup} from './FieldGroup';\nimport {SelectField} from './select/SelectField';\nimport {Input} from './input/Input';\nimport {Message} from './messages/Message';\nimport {ButtonGroup} from './button-group/ButtonGroup';\n\nmodule.exports = {\n\tFieldGroup,\n\tSelectField: SelectField,\n\tInput,\n\tMessage,\n\tButtonGroup\n};",
@@ -1743,7 +1805,7 @@
"lineNumber": 1
},
{
- "__docId__": 100,
+ "__docId__": 103,
"kind": "file",
"name": "src/components/fields/input/Input.js",
"content": "import React from 'react';\nimport {fieldPropTypes} from '../propTypes';\nimport classNames from 'classnames';\nimport {RenderGroup} from '../../RenderGroup';\n/**\n * Input component for any HTML5 input type\n *\n * @param {Object} props\n * @returns {*}\n * @constructor\n */\nexport const Input = (props) => {\n\t/**\n\t * Dispatches value of input when it changes\n\t * @param event\n\t * @return {*}\n\t */\n\tfunction changeHandler(event){\n\t\treturn props.onValueChange(event.target.value);\n\t}\n\n\t/**\n\t * Dispatches value when checkbox is checked\n\t * @return {*}\n\t */\n\tfunction checkboxChangeHandler() {\n\t\treturn props.onValueChange(! props.value);\n\t}\n\n\n\t/**\n\t * Get the className prop for inputs\n\t *\n\t * @return {String}\n\t */\n\tfunction inputClassName() {\n\t\treturn classNames(\n\t\t\tprops.fieldClassName,\n\t\t\tRenderGroup.classNames.input\n\t\t);\n\t}\n\n\tif( 'checkbox' === props.inputType ){\n\t\treturn (\n\t\t\t \n\t\t);\n\t}\n\n\treturn (\n\t\t \n\t);\n\n};\n\n/**\n * Prop definitions for Input components\n */\nInput.propTypes = fieldPropTypes;\n\n/**\n * Default props for Input Component\n *\n * @type {{ariaDescribedbyAttr: string, isRequired: boolean, inputType: string}}\n */\nInput.defaultProps = {\n\tariaDescribedbyAttr: '',\n\tisRequired: false,\n\tinputType: 'text'\n};",
@@ -1754,7 +1816,7 @@
"lineNumber": 1
},
{
- "__docId__": 101,
+ "__docId__": 104,
"kind": "function",
"name": "Input",
"memberof": "src/components/fields/input/Input.js",
@@ -1800,7 +1862,7 @@
}
},
{
- "__docId__": 102,
+ "__docId__": 105,
"kind": "file",
"name": "src/components/fields/magic-select/MagicFieldGroup.js",
"content": "import React from 'react';\nimport {magicGroupPropTypes} from '../propTypes';\nimport classNames from 'classnames';\nimport {MagicItem} from './MagicItem';\nimport {ButtonGroup} from '../button-group/ButtonGroup';\nimport {MagicSelect} from './MagicSelect';\nimport {RenderGroup} from '../../RenderGroup';\nimport {Message} from '../messages/Message';\nimport {FieldGroup} from '../FieldGroup';\n\n\n/**\n * Encapsulates a complete Magic Select field group including label and the type chooser and the input\n */\nexport class MagicFieldGroup extends React.PureComponent {\n\n\t/**\n\t * Create a MagicFieldGroup component\n\t *\n\t * @param {Object} props\n\t */\n\tconstructor(props) {\n\t\tsuper(props);\n\t\tthis.state = {\n\t\t\tcurrentListType: props.defaultList,\n\t\t\tisOpen: props.isOpen,\n\t\t};\n\t\tthis.onChange = this.onChange.bind(this);\n\t\tthis.items = this.items.bind(this);\n\t\tthis.onChange = this.onChange.bind(this);\n\t\tthis.onSelect = this.onSelect.bind(this);\n\t\tthis.onInputFocus = this.onInputFocus.bind(this);\n\t\tthis.renderItem = this.renderItem.bind(this);\n\t\tthis.onInputBlur = this.onInputBlur.bind(this);\n\t\tthis.onChangeListType = this.onChangeListType.bind(this);\n\t\tthis.listTypeOptions = this.listTypeOptions.bind(this);\n\t}\n\n\t/**\n\t * Handle direct change events\n\t * @param {String|number} newValue\n\t */\n\tonChange(newValue) {\n\t\tthis.props.onValueChange(newValue);\n\t}\n\n\t/**\n\t * Handle when the field gets focus\n\t */\n\tonInputFocus() {\n\t\tthis.setState({isOpen: true});\n\t}\n\n\t/**\n\t * Handle when the field is blurred\n\t */\n\tonInputBlur() {\n\t\tthis.setState({isOpen: false});\n\t}\n\n\n\t/**\n\t * Handle when the option is chosen\n\t * @param {String|number} value\n\t */\n\tonSelect(value) {\n\t\tthis.props.onValueChange(value);\n\t\tthis.setState({isOpen: false});\n\t}\n\n\t/**\n\t * Update list of tags to show\n\t * @param {String}newType\n\t */\n\tonChangeListType(newType){\n\t\tif( ! this.state.isOpen ){\n\t\t\tthis.setState({isOpen:true});\n\t\t}\n\t\tthis.setState({currentListType:newType});\n\t}\n\n\t/**\n\t * Render option\n\t *\n\t * @param {object} item\n\t * @param {bool} isHighlighted\n\t * @return {*}\n\t */\n\trenderItem(item, isHighlighted){\n\t\treturn ;\n\t}\n\n\t/**\n\t * Create the list of items\n\t *\n\t * @return {Array}\n\t */\n\titems() {\n\t\tconst optionsOrEmpty =(options) => {\n\t\t\treturn Array.isArray(options) && options.length ? options : [];\n\t\t};\n\n\t\tlet items = [];\n\n\t\tif( optionsOrEmpty(this.props.options).length){\n\t\t\titems = optionsOrEmpty(this.props.options);\n\t\t}\n\t\telse if ('system' === this.state.currentListType ) {\n\t\t\titems = optionsOrEmpty(this.props.systemTagsList);\n\t\t} else {\n\t\t\titems = optionsOrEmpty(this.props.fieldsList);\n\t\t}\n\n\t\tif (items.length) {\n\t\t\titems.forEach((item, itemIndex) => {\n\t\t\t\titems[itemIndex].innerKey = `${item.value}-${itemIndex}`;\n\t\t\t});\n\t\t}else{\n\t\t\titems.push({\n\t\t\t\tvalue: null,\n\t\t\t\tlabel: null,\n\t\t\t\tinnerKey:this.props.id\n\t\t\t});\n\t\t}\n\n\t\treturn items;\n\n\t}\n\n\t/**\n\t * Options for type chooser\n\t *\n\t * @return {*[]}\n\t */\n\tlistTypeOptions(){\n\t\treturn [\n\t\t\t{\n\t\t\t\tvalue: 'fields',\n\t\t\t\tlabel: '%',\n\t\t\t\tariaLabel: 'Select from field values'\n\t\t\t},\n\t\t\t{\n\t\t\t\tvalue: 'system',\n\t\t\t\tlabel: '{}',\n\t\t\t\tariaLabel: 'Select from system values'\n\t\t\t},\n\t\t];\n\t}\n\n\n\n\t/**\n\t * Render MagicFieldGroup component\n\t * @return {*}\n\t */\n\trender() {\n\t\treturn (\n\t\t\t\n\t\t\t\t \n\t\t\t\t{this.props.message.message &&\n\t\t\t\t\t \n\t\t\t\t}\n\t\t\t\t{this.state.isOpen &&\n\t\t\t\t\t \n\t\t\t\t}\n\n\t\t\t\t \n\t\t\t
\n\t\t);\n\t}\n}\n\n\n/**\n * Prop definitions for MagicFieldGroup component\n */\nMagicFieldGroup.propTypes = magicGroupPropTypes;\n\n/**\n * Default property values for MagicFieldGroup component\n *\n * @type {{}}\n */\nMagicFieldGroup.defaultProps = {\n\tdefaultList: 'fields',\n\tisOpen: false,\n\tmessage: {\n\t\terror: false,\n\t\tmessage: ''\n\t},\n\ttype: 'magic'\n};\n\n/**\n * The names of classes used for HTML elements in MagicFieldGroup component\n * @type {{fieldWrapper: string, input: string, option: string}}\n */\nMagicFieldGroup.classNames = {\n\tfieldWrapper: 'caldera-magic-select-group',\n\tinput: 'caldera-magic-input',\n\toption: 'caldera-magic-option'\n};",
@@ -1811,7 +1873,7 @@
"lineNumber": 1
},
{
- "__docId__": 103,
+ "__docId__": 106,
"kind": "class",
"name": "MagicFieldGroup",
"memberof": "src/components/fields/magic-select/MagicFieldGroup.js",
@@ -1829,7 +1891,7 @@
]
},
{
- "__docId__": 104,
+ "__docId__": 107,
"kind": "constructor",
"name": "constructor",
"memberof": "src/components/fields/magic-select/MagicFieldGroup.js~MagicFieldGroup",
@@ -1854,7 +1916,7 @@
]
},
{
- "__docId__": 105,
+ "__docId__": 108,
"kind": "member",
"name": "state",
"memberof": "src/components/fields/magic-select/MagicFieldGroup.js~MagicFieldGroup",
@@ -1871,7 +1933,7 @@
}
},
{
- "__docId__": 115,
+ "__docId__": 118,
"kind": "method",
"name": "onChange",
"memberof": "src/components/fields/magic-select/MagicFieldGroup.js~MagicFieldGroup",
@@ -1898,7 +1960,7 @@
"return": null
},
{
- "__docId__": 116,
+ "__docId__": 119,
"kind": "method",
"name": "onInputFocus",
"memberof": "src/components/fields/magic-select/MagicFieldGroup.js~MagicFieldGroup",
@@ -1913,7 +1975,7 @@
"return": null
},
{
- "__docId__": 117,
+ "__docId__": 120,
"kind": "method",
"name": "onInputBlur",
"memberof": "src/components/fields/magic-select/MagicFieldGroup.js~MagicFieldGroup",
@@ -1928,7 +1990,7 @@
"return": null
},
{
- "__docId__": 118,
+ "__docId__": 121,
"kind": "method",
"name": "onSelect",
"memberof": "src/components/fields/magic-select/MagicFieldGroup.js~MagicFieldGroup",
@@ -1955,7 +2017,7 @@
"return": null
},
{
- "__docId__": 119,
+ "__docId__": 122,
"kind": "method",
"name": "onChangeListType",
"memberof": "src/components/fields/magic-select/MagicFieldGroup.js~MagicFieldGroup",
@@ -1981,7 +2043,7 @@
"return": null
},
{
- "__docId__": 120,
+ "__docId__": 123,
"kind": "method",
"name": "renderItem",
"memberof": "src/components/fields/magic-select/MagicFieldGroup.js~MagicFieldGroup",
@@ -2024,7 +2086,7 @@
}
},
{
- "__docId__": 121,
+ "__docId__": 124,
"kind": "method",
"name": "items",
"memberof": "src/components/fields/magic-select/MagicFieldGroup.js~MagicFieldGroup",
@@ -2046,7 +2108,7 @@
"params": []
},
{
- "__docId__": 122,
+ "__docId__": 125,
"kind": "method",
"name": "listTypeOptions",
"memberof": "src/components/fields/magic-select/MagicFieldGroup.js~MagicFieldGroup",
@@ -2068,7 +2130,7 @@
"params": []
},
{
- "__docId__": 123,
+ "__docId__": 126,
"kind": "method",
"name": "render",
"memberof": "src/components/fields/magic-select/MagicFieldGroup.js~MagicFieldGroup",
@@ -2090,7 +2152,7 @@
"params": []
},
{
- "__docId__": 124,
+ "__docId__": 127,
"kind": "file",
"name": "src/components/fields/magic-select/MagicItem.js",
"content": "import React from 'react';\nimport {\n\toptionShape\n} from '../propTypes';\nimport classNames from 'classnames';\nimport PropTypes from 'prop-types';\n\n/**\n * Create magic item for option of magic selects\n *\n * This can not be a functional component\n * https://github.com/reactjs/react-autocomplete/pull/293#issuecomment-371617758\n *\n *\n * @param {Object} props\n * @return {*}\n * @constructor\n */\nexport class MagicItem extends React.PureComponent {\n\n\t/**\n\t * Render magic item components\n\t */\n\trender() {\n\t\treturn React.createElement(\n\t\t\tthis.props.elementType,\n\t\t\t{\n\t\t\t\tstyle: {background: this.props.isHighlighted ? this.props.highlightColor : this.props.notHighlighterColor},\n\t\t\t\tclassName: classNames(this.props.className, 'magic-input-option'),\n\t\t\t\tonClick: this.props.onClick\n\t\t\t},\n\t\t\t[\n\t\t\t\tReact.createElement(\n\t\t\t\t\tthis.props.innerElementType,\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: `left--${this.props.innerKey}`,\n\t\t\t\t\t\tclassName: classNames('magic-item-value', 'magic-item-left')\n\t\t\t\t\t},\n\t\t\t\t\tthis.props.item.value\n\t\t\t\t),\n\t\t\t\tReact.createElement(\n\t\t\t\t\tthis.props.innerElementType,\n\t\t\t\t\t{\n\t\t\t\t\t\tkey: `right--${this.props.innerKey}`,\n\t\t\t\t\t\tclassName: classNames('magic-item-label', 'magic-item-right')\n\t\t\t\t\t},\n\t\t\t\t\tthis.props.item.label\n\t\t\t\t)\n\t\t\t]\n\t\t);\n\t}\n}\n\n/**\n * Prop definition for allowed element types\n * @type {shim}\n */\nconst elementTypesProp = PropTypes.oneOf(['div', 'span']);\n/**\n * Prop definitions for MagicItem component\n *\n * @type {{item: shim, isHighlighted: shim, className: shim, highlightColor: shim, notHighlighterColor: shim}}\n */\nMagicItem.propTypes = {\n\telementType: elementTypesProp,\n\tinnerElementType: elementTypesProp,\n\titem: PropTypes.shape(optionShape),\n\tisHighlighted: PropTypes.bool,\n\tclassName: PropTypes.string,\n\thighlightColor: PropTypes.string,\n\tnotHighlighterColor: PropTypes.string,\n\tinnerKey: PropTypes.string.isRequired,\n\tonClick: PropTypes.func\n};\n\n/**\n * Default props for the MagicItem component\n *\n * @type {{isHighlighted: boolean, highlightColor: string, notHighlightedColor: string}}\n */\nMagicItem.defaultProps = {\n\telementType: 'div',\n\tinnerElementType: 'span',\n\tisHighlighted: false,\n\thighlightColor: 'lightgray',\n\tnotHighlightedColor: 'white',\n};",
@@ -2101,7 +2163,7 @@
"lineNumber": 1
},
{
- "__docId__": 125,
+ "__docId__": 128,
"kind": "class",
"name": "MagicItem",
"memberof": "src/components/fields/magic-select/MagicItem.js",
@@ -2145,7 +2207,7 @@
]
},
{
- "__docId__": 126,
+ "__docId__": 129,
"kind": "method",
"name": "render",
"memberof": "src/components/fields/magic-select/MagicItem.js~MagicItem",
@@ -2164,7 +2226,7 @@
}
},
{
- "__docId__": 127,
+ "__docId__": 130,
"kind": "variable",
"name": "elementTypesProp",
"memberof": "src/components/fields/magic-select/MagicItem.js",
@@ -2187,7 +2249,7 @@
"ignore": true
},
{
- "__docId__": 128,
+ "__docId__": 131,
"kind": "file",
"name": "src/components/fields/magic-select/MagicSelect.js",
"content": "import React from 'react';\nimport {\n\tonValueChangePropType,\n\toptionsShapeProp,\n\tvaluePropType\n} from '../propTypes';\nimport Autocomplete from 'react-autocomplete';\nimport PropTypes from 'prop-types';\nimport {MagicItem} from './MagicItem';\nimport {MagicFieldGroup} from './MagicFieldGroup';\nimport classNames from 'classnames';\n\n\n/**\n * Encapsulates a complete Magic Select field\n */\nexport class MagicSelect extends React.PureComponent {\n\n\t/**\n\t * Create a MagicSelect component\n\t *\n\t * @param {Object} props\n\t */\n\tconstructor(props) {\n\t\tsuper(props);\n\t\tthis.onChange = this.onChange.bind(this);\n\t\tthis.onChange = this.onChange.bind(this);\n\t\tthis.onSelect = this.onSelect.bind(this);\n\t\tthis.onInputFocus = this.onInputFocus.bind(this);\n\t\tthis.renderItem = this.renderItem.bind(this);\n\t\tthis.onInputBlur = this.onInputBlur.bind(this);\n\t\tthis.getItemValue = this.getItemValue.bind(this);\n\t}\n\n\t/**\n\t * Handle direct change events\n\t *\n\t * @param {Event} event\n\t */\n\tonChange(event) {\n\t\tthis.props.onValueChange(event.target.value);\n\t}\n\n\t/**\n\t * Handle when the field gets focus\n\t */\n\tonInputFocus() {\n\t\tif( 'function' === typeof this.props.onFocus ){\n\t\t\tthis.props.onFocus();\n\t\t}\n\t}\n\n\t/**\n\t * Handle when the field is blurred\n\t */\n\tonInputBlur() {\n\t\tif( 'function' === typeof this.props.onBlur ){\n\t\t\tthis.props.onBlur();\n\t\t}\n\t}\n\n\n\t/**\n\t * Handle when the option is chosen\n\t * @param {String|number} value\n\t */\n\tonSelect(value) {\n\t\tthis.props.onValueChange(value);\n\t}\n\n\n\t/**\n\t * Render option\n\t *\n\t * @param {object} item\n\t * @param {bool} isHighlighted\n\t * @return {*}\n\t */\n\trenderItem(item, isHighlighted){\n\t\treturn ;\n\t}\n\n\t/**\n\t * Get the value of the item\n\t * @param {Object} item\n\t * @return {*}\n\t */\n\tgetItemValue(item){\n\t\treturn item.value;\n\t}\n\n\n\t/**\n\t * Render MagicSelect component\n\t * @return {*}\n\t */\n\trender() {\n\t\treturn (\n\t\t\t \n\n\t\t);\n\t}\n}\n\n\n/**\n * Prop definitions for MagicSelect component\n */\nMagicSelect.propTypes = {\n\tid: PropTypes.string.isRequired,\n\toptions: optionsShapeProp,\n\tisRequired: PropTypes.bool,\n\thelp: PropTypes.string,\n\tvalue: valuePropType,\n\tonValueChange: onValueChangePropType,\n\tdisabled: PropTypes.bool,\n\tisOpen: PropTypes.bool,\n\tonBlur: PropTypes.func,\n\tonFocus: PropTypes.func,\n\tclassName: PropTypes.string\n};\n\n/**\n * Default property values for MagicSelect component\n *\n * @type {{}}\n */\nMagicSelect.defaultProps = {\n\tdefaultList: 'fields',\n\tisOpen: false,\n\toptions:[]\n};",
@@ -2198,7 +2260,7 @@
"lineNumber": 1
},
{
- "__docId__": 129,
+ "__docId__": 132,
"kind": "class",
"name": "MagicSelect",
"memberof": "src/components/fields/magic-select/MagicSelect.js",
@@ -2216,7 +2278,7 @@
]
},
{
- "__docId__": 130,
+ "__docId__": 133,
"kind": "constructor",
"name": "constructor",
"memberof": "src/components/fields/magic-select/MagicSelect.js~MagicSelect",
@@ -2241,7 +2303,7 @@
]
},
{
- "__docId__": 138,
+ "__docId__": 141,
"kind": "method",
"name": "onChange",
"memberof": "src/components/fields/magic-select/MagicSelect.js~MagicSelect",
@@ -2267,7 +2329,7 @@
"return": null
},
{
- "__docId__": 139,
+ "__docId__": 142,
"kind": "method",
"name": "onInputFocus",
"memberof": "src/components/fields/magic-select/MagicSelect.js~MagicSelect",
@@ -2282,7 +2344,7 @@
"return": null
},
{
- "__docId__": 140,
+ "__docId__": 143,
"kind": "method",
"name": "onInputBlur",
"memberof": "src/components/fields/magic-select/MagicSelect.js~MagicSelect",
@@ -2297,7 +2359,7 @@
"return": null
},
{
- "__docId__": 141,
+ "__docId__": 144,
"kind": "method",
"name": "onSelect",
"memberof": "src/components/fields/magic-select/MagicSelect.js~MagicSelect",
@@ -2324,7 +2386,7 @@
"return": null
},
{
- "__docId__": 142,
+ "__docId__": 145,
"kind": "method",
"name": "renderItem",
"memberof": "src/components/fields/magic-select/MagicSelect.js~MagicSelect",
@@ -2367,7 +2429,7 @@
}
},
{
- "__docId__": 143,
+ "__docId__": 146,
"kind": "method",
"name": "getItemValue",
"memberof": "src/components/fields/magic-select/MagicSelect.js~MagicSelect",
@@ -2400,7 +2462,7 @@
}
},
{
- "__docId__": 144,
+ "__docId__": 147,
"kind": "method",
"name": "render",
"memberof": "src/components/fields/magic-select/MagicSelect.js~MagicSelect",
@@ -2422,7 +2484,7 @@
"params": []
},
{
- "__docId__": 145,
+ "__docId__": 148,
"kind": "file",
"name": "src/components/fields/messages/Message.js",
"content": "import React from 'react';\nimport PropTypes from 'prop-types';\nimport {messagePropShape} from './messagePropTypes';\nimport classNames from 'classnames';\n\n/**\n * The class that message components always wrap messages in\n * @type {string}\n */\nexport const MESSAGE_CLASS = 'caldera-components-message';\n\n/**\n * Prop for showing a validation message\n *\n * Use or for errors and such\n *\n * @param {object} props\n * @return {*}\n * @constructor\n */\nexport const Message = (props) => {\n\tconst {message,error} = props.message;\n\tif( !message || '' === message ){\n\t\treturn ;\n\t}\n\treturn(\n\t\t\n\t\t\t{message}\n\t\t
\n\t);\n};\n\n/**\n * Prop types for Message components\n *\n * @type {{className: shim, message}}\n */\nMessage.propTypes = {\n\tclassName: PropTypes.string,\n\tmessage: messagePropShape,\n};\n\n",
@@ -2433,7 +2495,7 @@
"lineNumber": 1
},
{
- "__docId__": 146,
+ "__docId__": 149,
"kind": "variable",
"name": "MESSAGE_CLASS",
"memberof": "src/components/fields/messages/Message.js",
@@ -2455,7 +2517,7 @@
}
},
{
- "__docId__": 147,
+ "__docId__": 150,
"kind": "function",
"name": "Message",
"memberof": "src/components/fields/messages/Message.js",
@@ -2497,7 +2559,7 @@
}
},
{
- "__docId__": 148,
+ "__docId__": 151,
"kind": "file",
"name": "src/components/fields/messages/messageObjectFactory.js",
"content": "import {toBoolean} from '../util';\n\n/**\n * Prepares messages object in fieldConfigs\n *\n * @param {Object} message\n * @param {Boolean} error\n * @return {{message: *, error: boolean}}\n */\nexport const messageObjectFactory = ({message,error}) => {\n\tif( 'string' !== typeof message ){\n\t\tmessage = '';\n\t}\n\treturn{\n\t\tmessage: message,\n\t\terror: toBoolean(error)\n\t};\n};",
@@ -2508,7 +2570,7 @@
"lineNumber": 1
},
{
- "__docId__": 149,
+ "__docId__": 152,
"kind": "function",
"name": "messageObjectFactory",
"memberof": "src/components/fields/messages/messageObjectFactory.js",
@@ -2554,7 +2616,7 @@
}
},
{
- "__docId__": 150,
+ "__docId__": 153,
"kind": "file",
"name": "src/components/fields/messages/messagePropTypes.js",
"content": "import PropTypes from 'prop-types';\n\n/**\n * The shape of the message object passed to Message compoent\n *\n * @type {shim}\n */\nexport const messagePropShape = PropTypes.shape(\n\t{\n\t\terror: PropTypes.bool,\n\t\ttext: PropTypes.string\n\t}\n);",
@@ -2565,7 +2627,7 @@
"lineNumber": 1
},
{
- "__docId__": 151,
+ "__docId__": 154,
"kind": "variable",
"name": "messagePropShape",
"memberof": "src/components/fields/messages/messagePropTypes.js",
@@ -2587,7 +2649,7 @@
}
},
{
- "__docId__": 152,
+ "__docId__": 155,
"kind": "file",
"name": "src/components/fields/propTypes.js",
"content": "import PropTypes from 'prop-types';\nimport {messagePropShape} from './messages/messagePropTypes';\n\n/**\n * PropType for the field value used in multiple components\n *\n * @type {shim}\n */\nexport const valuePropType = PropTypes.oneOfType([\n\tPropTypes.string,\n\tPropTypes.number,\n\tPropTypes.array,\n\tPropTypes.bool\n]);\n\n/**\n * PropType for the field value change event used in multiple components\n *\n * @type {shim}\n */\nexport const onValueChangePropType = PropTypes.func.isRequired;\n\n/**\n * Proptypes for Input component\n * @type {shim}\n */\nexport const inputTypeProp = PropTypes.string;\n\n/**\n * PropTypes for field groups\n *\n * @type {{id: (boolean|shim|*), isBlockInput: shim, isRequired: shim, help: shim, label: (boolean|shim|*), type: shim, value: shim, onValueChange: (boolean|shim|*), inputType: shim}}\n */\nexport const fieldGroupPropTypes = {\n\tid: PropTypes.string.isRequired,\n\tisBlockInput: PropTypes.bool,\n\tisRequired: PropTypes.bool,\n\thelp: PropTypes.string,\n\tlabel: PropTypes.string.isRequired,\n\ttype: PropTypes.oneOf(['input', 'select', 'fieldset', 'magic']),\n\tvalue: valuePropType,\n\tonValueChange: onValueChangePropType,\n\toptions: PropTypes.array,\n\tinputType: inputTypeProp,\n\tdisabled: PropTypes.bool,\n\tmessage: messagePropShape,\n\tonBlur: PropTypes.func,\n\tonFocus: PropTypes.func\n};\n\n/**\n * PropTypes for the InnerField component\n *\n * @type {{id: (boolean|shim|*), fieldClassName: (boolean|shim|*), help: shim, value: shim, onValueChange: (boolean|shim|*), inputType: shim}}\n */\nexport const fieldInnerPropTypes = {\n\tid: PropTypes.string.isRequired,\n\tfieldClassName: PropTypes.string.isRequired,\n\thelp: PropTypes.string,\n\tvalue: valuePropType,\n\tonValueChange: onValueChangePropType,\n\tinputType: inputTypeProp,\n\tariaDescribedbyAttr: PropTypes.string,\n\tonBlur: PropTypes.func,\n\tonFocus: PropTypes.func\n};\n\nexport const fieldPropTypes = fieldInnerPropTypes;\n\n/**\n * The shape of one option for a select field\n *\n * @type {{label: shim, value: shim}}\n */\nexport const optionShape = {\n\tlabel: PropTypes.string,\n\tvalue: PropTypes.oneOfType([\n\t\tPropTypes.string,\n\t\tPropTypes.number,\n\t])\n};\n\n/**\n * Shape of options prop for select fields\n *\n * @type {shim}\n */\nexport const optionsShapeProp = PropTypes.arrayOf(\n\tPropTypes.shape(optionShape)\n);\n\nexport const magicGroupPropTypes = {\n\t...fieldGroupPropTypes,\n\tfieldsList: optionsShapeProp,\n\tsystemTagsList: optionsShapeProp,\n\tdefaultList: PropTypes.string,\n\tisOpen: PropTypes.bool,\n\ttype: PropTypes.string\n};",
@@ -2598,7 +2660,7 @@
"lineNumber": 1
},
{
- "__docId__": 153,
+ "__docId__": 156,
"kind": "variable",
"name": "valuePropType",
"memberof": "src/components/fields/propTypes.js",
@@ -2620,7 +2682,7 @@
}
},
{
- "__docId__": 154,
+ "__docId__": 157,
"kind": "variable",
"name": "onValueChangePropType",
"memberof": "src/components/fields/propTypes.js",
@@ -2642,7 +2704,7 @@
}
},
{
- "__docId__": 155,
+ "__docId__": 158,
"kind": "variable",
"name": "inputTypeProp",
"memberof": "src/components/fields/propTypes.js",
@@ -2664,7 +2726,7 @@
}
},
{
- "__docId__": 156,
+ "__docId__": 159,
"kind": "variable",
"name": "fieldGroupPropTypes",
"memberof": "src/components/fields/propTypes.js",
@@ -2686,7 +2748,7 @@
}
},
{
- "__docId__": 157,
+ "__docId__": 160,
"kind": "variable",
"name": "fieldInnerPropTypes",
"memberof": "src/components/fields/propTypes.js",
@@ -2708,7 +2770,7 @@
}
},
{
- "__docId__": 158,
+ "__docId__": 161,
"kind": "variable",
"name": "fieldPropTypes",
"memberof": "src/components/fields/propTypes.js",
@@ -2728,7 +2790,7 @@
}
},
{
- "__docId__": 159,
+ "__docId__": 162,
"kind": "variable",
"name": "optionShape",
"memberof": "src/components/fields/propTypes.js",
@@ -2750,7 +2812,7 @@
}
},
{
- "__docId__": 160,
+ "__docId__": 163,
"kind": "variable",
"name": "optionsShapeProp",
"memberof": "src/components/fields/propTypes.js",
@@ -2772,7 +2834,7 @@
}
},
{
- "__docId__": 161,
+ "__docId__": 164,
"kind": "variable",
"name": "magicGroupPropTypes",
"memberof": "src/components/fields/propTypes.js",
@@ -2792,7 +2854,7 @@
}
},
{
- "__docId__": 162,
+ "__docId__": 165,
"kind": "file",
"name": "src/components/fields/select/SelectField.js",
"content": "import React from 'react';\nimport {fieldPropTypes} from '../propTypes';\nimport classNames from 'classnames';\nimport {RenderGroup} from '../../RenderGroup';\nimport {optionsShapeProp} from '../propTypes';\n\n/**\n * Creates a select field\n *\n * @param {Object} props\n * @returns {*}\n * @constructor\n */\nexport const SelectField = (props) => {\n\t/**\n\t * Dispatches new value(s) to parent\n\t *\n\t * @param selection\n\t * @returns {*}\n\t */\n\tfunction changeHandler(selection) {\n\t\treturn props.onValueChange(selection);\n\t}\n\n\t/**\n\t * Get the className prop for the select element\n\t *\n\t * @return {String}\n\t */\n\tfunction selectClassNames() {\n\t\treturn classNames(\n\t\t\tprops.fieldClassName,\n\t\t\tRenderGroup.classNames.input\n\t\t);\n\t}\n\n\treturn (\n\t\t\n\t\t\t{props.options\n\t\t\t\t.map((item,i) => {\n\t\t\t\t\tconst key = 'string' === typeof item.value ? item.value : i;\n\t\t\t\t\treturn(\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{item.label}\n\t\t\t\t\t\t \n\t\t\t\t\t);\n\t\t\t\t})\n\t\t\t}\n\t\t \n\n\n\n\t);\n};\n\n/**\n * Prop definition for select fields\n *\n * @type {{}}\n */\nSelectField.propTypes = {\n\t...fieldPropTypes,\n\toptions: optionsShapeProp\n\n};\n\n/**\n * Default props for select fields\n *\n * @type {{options: Array}}\n */\nSelectField.defaultProps = {\n\toptions: []\n};",
@@ -2803,7 +2865,7 @@
"lineNumber": 1
},
{
- "__docId__": 163,
+ "__docId__": 166,
"kind": "function",
"name": "SelectField",
"memberof": "src/components/fields/select/SelectField.js",
@@ -2849,7 +2911,7 @@
}
},
{
- "__docId__": 164,
+ "__docId__": 167,
"kind": "file",
"name": "src/components/fields/select/SelectFieldFancy.js",
"content": "import React from 'react';\nimport Downshift from 'downshift';\nimport PropTypes from 'prop-types';\nimport {fieldPropTypes} from '../propTypes';\n\n/**\n * Creates a select field\n *\n * Wraps [downshift](https://github.com/paypal/downshift)\n *\n * @param {Object} props\n * @returns {*}\n * @constructor\n */\nexport const SelectFieldFancy = (props) => {\n\t/**\n\t * Dispatches new value(s) to parent\n\t *\n\t * @param selection\n\t * @returns {*}\n\t */\n\tfunction changeHandler(selection) {\n\t\treturn props.onValueChange(selection);\n\t}\n\n\treturn (\n\t\t (item ? item.value : '')}\n\t\t\tdefaultIsOpen={props.isOpen}\n\t\t>\n\t\t\t{({\n\t\t\t\tgetInputProps,\n\t\t\t\tgetItemProps,\n\t\t\t\tisOpen,\n\t\t\t\tinputValue,\n\t\t\t\thighlightedIndex,\n\t\t\t\tselectedItem,\n\t\t\t}) => (\n\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t{isOpen ? (\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t{props.options\n\t\t\t\t\t\t\t\t.filter(item => !inputValue || item.value.includes(inputValue))\n\t\t\t\t\t\t\t\t.map((item, index) => (\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t{item.value}\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t
\n\t\t\t\t\t) : null}\n\t\t\t\t
\n\t\t\t)}\n\t\t \n\t);\n};\n\n\nSelectFieldFancy.propTypes = {\n\t...fieldPropTypes,\n\tisOpen: PropTypes.bool,\n};",
@@ -2860,7 +2922,7 @@
"lineNumber": 1
},
{
- "__docId__": 165,
+ "__docId__": 168,
"kind": "function",
"name": "SelectFieldFancy",
"memberof": "src/components/fields/select/SelectFieldFancy.js",
@@ -2906,7 +2968,7 @@
}
},
{
- "__docId__": 166,
+ "__docId__": 169,
"kind": "file",
"name": "src/components/fields/util.js",
"content": "/**\n * Create the aria-describedby attribute or id attribute for the describing element\n *\n * @param {String} id Id attribute of input being described\n * @param {String} help Optional. Help text. If empty return is null.\n * @returns {String|null}\n */\nexport const ariaDescribedbyAttr = (id, help = '') => {\n\tlet ariaDescribedby = null;\n\tif (help.length) {\n\t\tariaDescribedby = `${id}-description`;\n\t}\n\treturn ariaDescribedby;\n};\n\n\n/**\n * Get HTML5 input types that are valid\n * @returns {string[]}\n */\nexport function getHtmlInputTypes() {\n\treturn [\n\t\t'text',\n\t\t'email',\n\t\t'number',\n\t\t'date',\n\t\t'datetime',\n\t\t'password',\n\t\t'submit',\n\t\t'reset',\n\t\t'checkbox',\n\t\t'hidden'\n\t];\n}\n\n/**\n * Checks if a given input type is an acceptable HTML5 input type\n *\n * @param {String} type\n * @returns {boolean}\n */\nexport function isValidHtml5type(type) {\n\treturn getHtmlInputTypes().includes(type);\n}\n\n\n/**\n * Remove a value from an array if present, if not present, add it\n *\n * @param {String|number} value Value to add or remove\n * @param {Array} array Array to mutate\n * @return {*}\n */\nexport const addOrRemoveFromArray = (value,array) => {\n\tconst index = array.indexOf(value);\n\tif (index !== -1){\n\t\tarray.splice(index, 1);\n\t}else{\n\t\tarray.push( value );\n\t}\n\treturn array;\n};\n\n/**\n * Cast a boolean or boolean like to a true or false\n *\n * @param Mixed} value Value to cast\n * @return {boolean}\n */\nexport const toBoolean =(value) => {\n\tswitch(value){\n\tcase true:\n\tcase 'true':\n\tcase 1:\n\tcase '1':\n\tcase 'on':\n\tcase 'yes':\n\t\treturn true;\n\tdefault:\n\t\treturn false;\n\t}\n};",
@@ -2917,7 +2979,7 @@
"lineNumber": 1
},
{
- "__docId__": 167,
+ "__docId__": 170,
"kind": "function",
"name": "ariaDescribedbyAttr",
"memberof": "src/components/fields/util.js",
@@ -2970,7 +3032,7 @@
}
},
{
- "__docId__": 168,
+ "__docId__": 171,
"kind": "function",
"name": "getHtmlInputTypes",
"memberof": "src/components/fields/util.js",
@@ -3001,7 +3063,7 @@
"params": []
},
{
- "__docId__": 169,
+ "__docId__": 172,
"kind": "function",
"name": "isValidHtml5type",
"memberof": "src/components/fields/util.js",
@@ -3043,7 +3105,7 @@
}
},
{
- "__docId__": 170,
+ "__docId__": 173,
"kind": "function",
"name": "addOrRemoveFromArray",
"memberof": "src/components/fields/util.js",
@@ -3090,7 +3152,7 @@
}
},
{
- "__docId__": 171,
+ "__docId__": 174,
"kind": "function",
"name": "toBoolean",
"memberof": "src/components/fields/util.js",
@@ -3126,7 +3188,7 @@
}
},
{
- "__docId__": 172,
+ "__docId__": 175,
"kind": "file",
"name": "src/components/index.js",
"content": "/*eslint no-undef: \"error\"*/\n/*eslint-env node*/\nimport * as fields from './fields/index';\nimport * as factories from './fields/factories/index';\nimport {RenderGroup} from './RenderGroup';\nimport conditionals from './conditional-logic/index';\nimport validation from './validation/index';\nimport Admin from './admin/index';\nimport {FieldGroup} from './fields/FieldGroup';\nimport {MagicFieldGroup} from './fields/magic-select/MagicFieldGroup';\n\n/**\n * Caldera components\n *\n * @type {{RenderGroup: RenderGroup, fields: *, factories: *, conditionals: {checkConfigFieldConditionals, checkConfigFieldsConditionals, reduceConfigFieldsToValues}}}\n */\nmodule.exports = {\n\tRenderGroup,\n\tfields,\n\tfactories,\n\tconditionals,\n\tvalidation,\n\tAdmin,\n\tFieldGroup,\n\tMagicFieldGroup\n};",
@@ -3137,7 +3199,7 @@
"lineNumber": 1
},
{
- "__docId__": 173,
+ "__docId__": 176,
"kind": "file",
"name": "src/components/validation/addAutomaticValidators.js",
"content": "import getValidatorsFromConfigField from './getValidatorsFromConfigField';\nimport isValidOrEmpty from './isValidOrEmpty';\nimport {findFieldValueInFieldValues} from './util';\nimport isValid from './isValid';\n/**\n * Helper function to curry validator functions\n *\n * Validators expect 1 value, not an object of values, this function solves that.\n *\n * @param {String} fieldId Field to look for\n * @param {Function} validator Validator function\n * @return {function(*=): *}\n */\nfunction curryValidator(fieldId, validator) {\n\treturn (fieldValues) => {\n\t\treturn validator(findFieldValueInFieldValues(fieldId, fieldValues));\n\t};\n}\n\n/**\n * Create validation function based on type and required\n *\n * @param {Object} configField Field to create validations for\n * @param {Array} validators Current array of validators\n * @param {string} validationType Type of validators to add.\n * @return {Array}\n */\nfunction addValidatorsForType(configField, validators, validationType) {\n\tif (configField.isRequired) {\n\t\tvalidators.push(\n\t\t\tcurryValidator(\n\t\t\t\tconfigField.ID, isValid[validationType]\n\t\t\t)\n\t\t);\n\t} else {\n\t\tvalidators.push(\n\t\t\tcurryValidator(\n\t\t\t\tconfigField.ID, isValidOrEmpty[validationType]\n\t\t\t)\n\t\t);\n\t}\n\n\treturn validators;\n}\n\n/**\n * Adds sensible, automatic validation to fields -- if no validators have been added yet.\n *\n * @param {Object} configField\n * @return {*}\n */\nexport const addAutomaticValidators = (configField) => {\n\tlet validators = getValidatorsFromConfigField(configField);\n\tif (0 !== validators.length) {\n\t\treturn configField;\n\t}\n\n\tswitch (configField.type) {\n\tcase 'input':\n\t\tif( [\n\t\t\t'email',\n\t\t\t'url',\n\t\t\t'date',\n\t\t\t'number',\n\t\t].includes( configField.inputType ) ){\n\t\t\tvalidators = addValidatorsForType(configField, validators, configField.inputType);\n\t\t}else if( 'text' === configField.inputType){\n\t\t\tvalidators = addValidatorsForType(configField, validators, 'string');\n\n\t\t}\n\n\t\telse{\n\t\t\tvalidators = addValidatorsForType( configField, validators, 'anything' );\n\t\t}\n\n\t\tbreak;\n\tcase 'select':\n\t\tvalidators = addValidatorsForType( configField, validators, 'stringOrNumber' );\n\t\tbreak;\n\t}\n\n\n\treturn {\n\t\t...configField,\n\t\tvalidators\n\t};\n\n};",
@@ -3148,7 +3210,7 @@
"lineNumber": 1
},
{
- "__docId__": 174,
+ "__docId__": 177,
"kind": "function",
"name": "curryValidator",
"memberof": "src/components/validation/addAutomaticValidators.js",
@@ -3195,7 +3257,7 @@
"ignore": true
},
{
- "__docId__": 175,
+ "__docId__": 178,
"kind": "function",
"name": "addValidatorsForType",
"memberof": "src/components/validation/addAutomaticValidators.js",
@@ -3252,7 +3314,7 @@
"ignore": true
},
{
- "__docId__": 176,
+ "__docId__": 179,
"kind": "function",
"name": "addAutomaticValidators",
"memberof": "src/components/validation/addAutomaticValidators.js",
@@ -3288,7 +3350,7 @@
}
},
{
- "__docId__": 177,
+ "__docId__": 180,
"kind": "file",
"name": "src/components/validation/checkValidatorsForConfigField.js",
"content": "/**\n * Check the validators for one field\n *\n * @param {Object} configField The field to check the validator of.\n * @param {Object} fieldValues Optional. Data to pass to validator rule callbacks\n * @return {boolean}\n */\nimport getValidatorsFromConfigField from './getValidatorsFromConfigField';\n\nexport default function checkValidatorsForConfigField(configField,fieldValues) {\n\tif( ! getValidatorsFromConfigField(configField).length){\n\t\treturn true;\n\t}\n\tlet allRulesPassed = true;\n\tconfigField.validators.forEach(conditional => {\n\t\tif ('function' === typeof conditional && false === conditional.call(null, fieldValues)) {\n\t\t\tallRulesPassed = false;\n\t\t\treturn false;\n\t\t}\n\t});\n\n\treturn allRulesPassed;\n}\n\n\n",
@@ -3299,7 +3361,7 @@
"lineNumber": 1
},
{
- "__docId__": 178,
+ "__docId__": 181,
"kind": "function",
"name": "checkValidatorsForConfigField",
"memberof": "src/components/validation/checkValidatorsForConfigField.js",
@@ -3335,7 +3397,7 @@
}
},
{
- "__docId__": 179,
+ "__docId__": 182,
"kind": "file",
"name": "src/components/validation/checkValidatorsForConfigFields.js",
"content": "import checkValidatorsForConfigField from './checkValidatorsForConfigField';\nimport getValidatorsFromConfigField from './getValidatorsFromConfigField';\n\n/**\n * Check validators for a collection of configFields\n *\n * Returns false if any validators fail.\n * Returns true if no validators fail, or there are no validators.\n *\n * @param {Array} configFields The fields to check the validators of.\n * @param {Object} fieldValues Optional. Data to pass to validators rules' callbacks\n * @return {Object}\n */\nexport default function checkValidatorsForConfigFields(configFields,fieldValues) {\n\tlet results = {};\n\tObject.values( configFields ).forEach(configField => {\n\t\tconst rules = getValidatorsFromConfigField(configField);\n\t\tlet thisResult = true;\n\t\tif( rules.length ){\n\t\t\tthisResult = checkValidatorsForConfigField(configField,fieldValues);\n\n\t\t}\n\t\tresults[configField.ID] = thisResult;\n\t});\n\treturn results;\n}\n\n",
@@ -3346,7 +3408,7 @@
"lineNumber": 1
},
{
- "__docId__": 180,
+ "__docId__": 183,
"kind": "function",
"name": "checkValidatorsForConfigFields",
"memberof": "src/components/validation/checkValidatorsForConfigFields.js",
@@ -3392,7 +3454,7 @@
}
},
{
- "__docId__": 181,
+ "__docId__": 184,
"kind": "file",
"name": "src/components/validation/getValidatorsFromConfigField.js",
"content": "/**\n * Find the array of validators for a configField\n *\n * @param {Object} configField The config field to search in\n * @return {Array} Array of validators or empty array if non found\n */\nexport default function getValidatorsFromConfigField(configField) {\n\tif (!configField.hasOwnProperty('validators') || !Array.isArray(configField.validators)) {\n\t\treturn [];\n\t}\n\n\treturn configField.validators;\n}\n\n",
@@ -3403,7 +3465,7 @@
"lineNumber": 1
},
{
- "__docId__": 182,
+ "__docId__": 185,
"kind": "function",
"name": "getValidatorsFromConfigField",
"memberof": "src/components/validation/getValidatorsFromConfigField.js",
@@ -3439,7 +3501,7 @@
}
},
{
- "__docId__": 183,
+ "__docId__": 186,
"kind": "file",
"name": "src/components/validation/index.js",
"content": "/*eslint no-undef: \"error\"*/\n/*eslint-env node*/\nimport getValidatorsFromConfigField from './getValidatorsFromConfigField';\nimport checkValidatorsForConfigFields from './checkValidatorsForConfigFields';\nimport checkValidatorsForConfigField from './checkValidatorsForConfigField';\nimport {addAutomaticValidators} from './addAutomaticValidators';\nimport messageStrings from './messageStrings';\nimport isEmpty from './isEmpty';\nimport isValid from './isValid';\nimport isValidOrEmpty from './isValidOrEmpty';\n//Usage here indicates that this is a cross-cutting concern, & it totally is\n//Move to shared module?\nimport {reduceConfigFieldsToValues} from '../conditional-logic/util';\n\n/**\n * One export for validation system\n */\nexport default {\n\tgetValidatorsFromConfigField,\n\tcheckValidatorsForConfigFields,\n\tcheckValidatorsForConfigField,\n\treduceConfigFieldsToValues,\n\taddAutomaticValidators,\n\tisEmpty,\n\tisValid,\n\tisValidOrEmpty,\n\tmessageStrings\n};",
@@ -3450,7 +3512,7 @@
"lineNumber": 1
},
{
- "__docId__": 184,
+ "__docId__": 187,
"kind": "file",
"name": "src/components/validation/isEmpty.js",
"content": "/**\n * CalderaValidators that check if a value is empty or not\n */\nexport default {\n\t/**\n\t * Check if different types (numbers, strings, objects, arrays or Maps) are empty\n\t *\n\t * @param {String|number|Array|object|Map} value\n\t * @return {boolean}\n\t */\n\tanything(value){\n\t\tif( Array.isArray(value)){\n\t\t\treturn this.array(value);\n\t\t}\n\t\tif( value instanceof Map ){\n\t\t\treturn this.map(value);\n\t\t}\n\t\tswitch (typeof value){\n\t\tcase 'object':\n\t\t\treturn this.object(value);\n\t\tcase 'string':\n\t\t\treturn this.string(value);\n\t\tdefault:\n\t\t\treturn false;//\n\t\t}\n\t\treturn false;\n\t},\n\t/**\n\t * Check if value is an empty object\n\t *\n\t * @param {Object} value The object to check\n\t * @return {boolean}\n\t */\n\tobject(value){\n\t\tfor(let key in value) {\n\t\t\tif(value.hasOwnProperty(key))\n\t\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t},\n\t/**\n\t * Check if value is an empty array\n\t *\n\t * @param {Array} value Array to check\n\t * @return {boolean}\n\t */\n\tarray(value){\n\t\treturn 0 === value.length;\n\t},\n\t/**\n\t * Check if value is not an empty string\n\t *\n\t * @param {String} value String to check\n\t * @return {boolean}\n\t */\n\tstring(value){\n\t\treturn !value;\n\t},\n\t/**\n\t * Check if value is not an empty map\n\t *\n\t * @param {Map} value The Map to check\n\t * @return {boolean}\n\t */\n\tmap( value ){\n\t\treturn 0 === value.size;\n\t}\n};",
@@ -3461,7 +3523,7 @@
"lineNumber": 1
},
{
- "__docId__": 185,
+ "__docId__": 188,
"kind": "file",
"name": "src/components/validation/isValid.js",
"content": "import {isEmail,isUrl, isDate} from '@helpdotcom/is';\nimport isEmpty from './isEmpty';\n\n/**\n * CalderaValidators for common types of validation needed\n *\n * Empty values are not valid.\n * Ue isValidOrEmpty instead if you want empty values to pass\n */\nexport default {\n\t/**\n\t * Check if a given value is an email address\n\t *\n\t * @param {String} value Value to check\n\t * @return {boolean}\n\t */\n\temail(value){\n\t\treturn isEmail(value);\n\t},\n\t/**\n\t * Check if given value is a non-empty string\n\t *\n\t * @param {String} value Value to check\n\t */\n\tstring(value){\n\t\treturn 'string' === typeof value && ! isEmpty.string(value);\n\t},\n\t/**\n\t * Check if given value is a string\n\t *\n\t * @param {String} value Value to check\n\t */\n\tstringOrNumber(value){\n\t\tif( null !== value ){\n\t\t\treturn this.string(value) || this.number(value);\n\t\t}\n\t\treturn false;\n\t},\n\t/**\n\t * Check if a given value is a valid url\n\t *\n\t * @param {String} value Value to check\n\t * @return {boolean}\n\t */\n\turl(value){\n\t\treturn isUrl(value);\n\t},\n\t/**\n\t * Check if a given value is an date.\n\t *\n\t * Considers Date objects and strings conforming to ISO 8601 standard to be valid.\n\t *\n\t * @param {String|Date} value Value to check\n\t * @return {boolean}\n\t */\n\tdate(value){\n\t\treturn isDate(value);\n\t},\n\t/**\n\t * Check if a given value is numeric\n\t *\n\t * @param {String|number} value Value to check\n\t * @return {boolean}\n\t */\n\tnumber(value){\n\t\tif( '' === value ){\n\t\t\treturn false;\n\t\t}\n\t\tif( Array.isArray( value ) ){\n\t\t\treturn false;\n\t\t}\n\t\treturn ! isNaN(value);\n\t}\n};",
@@ -3472,7 +3534,7 @@
"lineNumber": 1
},
{
- "__docId__": 186,
+ "__docId__": 189,
"kind": "file",
"name": "src/components/validation/isValidOrEmpty.js",
"content": "import isEmpty from './isEmpty';\nimport isValid from './isValid';\n/**\n * Validators by type that consider an empty value valid.\n *\n * Combines the isEmpty and isValid validations\n */\nexport default {\n\t/**\n\t * Check if a given value is an email address or empty\n\t *\n\t * @param {String} value Value to check\n\t * @return {boolean}\n\t */\n\temail(value){\n\t\treturn isEmpty.anything( value ) || isValid.email(value);\n\t},\n\t/**\n\t * Check if given value is a string or empty\n\t *\n\t * @param {String} value Value to check\n\t */\n\tstring(value){\n\t\treturn isEmpty.anything( value ) || isValid.string(value);\n\t},\n\t/**\n\t * Check if given value is a string or number empty\n\t *\n\t * @param {String} value Value to check\n\t */\n\tstringOrNumber(value){\n\t\treturn isEmpty.anything(value) || isValid.stringOrNumber(value);\n\t},\n\t/**\n\t * Check if a given value is a valid url or empty\n\t *\n\t * @param {String} value Value to check\n\t * @return {boolean}\n\t */\n\turl(value){\n\t\treturn isEmpty.anything( value ) || isValid.url(value);\n\t},\n\t/**\n\t * Check if a given value is an date.\n\t *\n\t * Considers Date objects and strings conforming to ISO 8601 standard to be valid.\n\t *\n\t * @param {String|Date} value Value to check or empty\n\t * @return {boolean}\n\t */\n\tdate(value){\n\t\treturn isEmpty.anything( value ) || isValid.date(value);\n\t},\n\t/**\n\t * Check if a given value is numeric\n\t *\n\t * @param {String|number} value Value to check or empty\n\t * @return {boolean}\n\t */\n\tnumber(value){\n\t\treturn isEmpty.anything( value ) || isValid.number(value);\n\t}\n};",
@@ -3483,7 +3545,7 @@
"lineNumber": 1
},
{
- "__docId__": 187,
+ "__docId__": 190,
"kind": "file",
"name": "src/components/validation/messageStrings.js",
"content": "import strings from './strings';\n\n/**\n * Get translation strings by language\n *\n * @param {String|Object} lang Language code or an object containing properly formatted strings to search in.\n * @param {String} defaultLang Optional. Language code to use for missing strings.\n *\n * @return {Object}\n */\nexport const getMessageStrings = (lang, defaultLang = 'en') => {\n\tif ('string' === typeof lang) {\n\t\tif (strings.hasOwnProperty(lang)) {\n\t\t\treturn strings[lang];\n\t\t} else {\n\t\t\treturn getMessageStrings(defaultLang);\n\t\t}\n\t}\n\tif ('object' === typeof lang) {\n\t\treturn Object.assign(getMessageStrings(defaultLang, 'en'), lang);\n\t}\n};\n\n/**\n * Get message for an invalid field, by field type\n *\n * @param {String} inputType Type of input to get invalid message for.\n * @param {String|Object} lang Language code or an object containing properly formatted strings to search in.\n * @param {String} defaultLang Optional. Language code to use for missing strings.\n * @return {String}\n */\nexport const getMessageStringByType = (inputType, lang, defaultLang = 'en') => {\n\tconst strings = getMessageStrings(lang, defaultLang);\n\tif (strings.type.hasOwnProperty(inputType)) {\n\t\treturn strings.type[inputType];\n\t}\n\treturn strings.defaultMessage;\n};\n\n/**\n * Get the required message, by language.\n *\n * @param {String|Object} lang Language code or an object containing properly formatted strings to search in.\n * @param {String} defaultLang Optional. Language code to use for missing strings.\n * @return {String}\n */\nexport const getRequiredMessage = (lang, defaultLang = 'en') => {\n\treturn getMessageStrings(lang, defaultLang).required;\n\n};\n\n/**\n * Message string utilities for validation\n */\nexport default {\n\tgetMessageStrings,\n\tgetMessageStringByType,\n\tgetRequiredMessage\n};",
@@ -3494,7 +3556,7 @@
"lineNumber": 1
},
{
- "__docId__": 188,
+ "__docId__": 191,
"kind": "function",
"name": "getMessageStrings",
"memberof": "src/components/validation/messageStrings.js",
@@ -3541,7 +3603,7 @@
}
},
{
- "__docId__": 189,
+ "__docId__": 192,
"kind": "function",
"name": "getMessageStringByType",
"memberof": "src/components/validation/messageStrings.js",
@@ -3598,7 +3660,7 @@
}
},
{
- "__docId__": 190,
+ "__docId__": 193,
"kind": "function",
"name": "getRequiredMessage",
"memberof": "src/components/validation/messageStrings.js",
@@ -3645,7 +3707,7 @@
}
},
{
- "__docId__": 191,
+ "__docId__": 194,
"kind": "file",
"name": "src/components/validation/strings.js",
"content": "/**\n * Translation strings for Caldera Components\n * Copied from Parsley (License: MIT)\n * https://github.com/guillaumepotier/Parsley.js/blob/master/dist/i18n/\n *\n */\nexport default {\n\ten: {\n\t\tdefaultMessage: 'This value seems to be invalid.',\n\t\ttype: {\n\t\t\temail: 'This value should be a valid email.',\n\t\t\turl: 'This value should be a valid url.',\n\t\t\tnumber: 'This value should be a valid number.',\n\t\t\tinteger: 'This value should be a valid integer.',\n\t\t\tdigits: 'This value should be digits.',\n\t\t\talphanum: 'This value should be alphanumeric.'\n\t\t},\n\t\tnotblank: 'This value should not be blank.',\n\t\trequired: 'This value is required.',\n\t\tpattern: 'This value seems to be invalid.',\n\t\tmin: 'This value should be greater than or equal to %s.',\n\t\tmax: 'This value should be lower than or equal to %s.',\n\t\trange: 'This value should be between %s and %s.',\n\t\tminlength: 'This value is too short. It should have %s characters or more.',\n\t\tmaxlength: 'This value is too long. It should have %s characters or fewer.',\n\t\tlength: 'This value length is invalid. It should be between %s and %s characters long.',\n\t\tmincheck: 'You must select at least %s choices.',\n\t\tmaxcheck: 'You must select %s choices or fewer.',\n\t\tcheck: 'You must select between %s and %s choices.',\n\t\tequalto: 'This value should be the same.'\n\t},\n\tes:{\n\t\tdefaultMessage: 'Este valor parece ser inválido.',\n\t\ttype: {\n\t\t\temail: 'Este valor debe ser un correo válido.',\n\t\t\turl: 'Este valor debe ser una URL válida.',\n\t\t\tnumber: 'Este valor debe ser un número válido.',\n\t\t\tinteger: 'Este valor debe ser un número válido.',\n\t\t\tdigits: 'Este valor debe ser un dÃgito válido.',\n\t\t\talphanum: 'Este valor debe ser alfanumérico.'\n\t\t},\n\t\tnotblank: 'Este valor no debe estar en blanco.',\n\t\trequired: 'Este valor es requerido.',\n\t\tpattern: 'Este valor es incorrecto.',\n\t\tmin: 'Este valor no debe ser menor que %s.',\n\t\tmax: 'Este valor no debe ser mayor que %s.',\n\t\trange: 'Este valor debe estar entre %s y %s.',\n\t\tminlength: 'Este valor es muy corto. La longitud mÃnima es de %s caracteres.',\n\t\tmaxlength: 'Este valor es muy largo. La longitud máxima es de %s caracteres.',\n\t\tlength: 'La longitud de este valor debe estar entre %s y %s caracteres.',\n\t\tmincheck: 'Debe seleccionar al menos %s opciones.',\n\t\tmaxcheck: 'Debe seleccionar %s opciones o menos.',\n\t\tcheck: 'Debe seleccionar entre %s y %s opciones.',\n\t\tequalto: 'Este valor debe ser idéntico.'\n\t}\n};",
@@ -3656,7 +3718,7 @@
"lineNumber": 1
},
{
- "__docId__": 192,
+ "__docId__": 195,
"kind": "file",
"name": "src/components/validation/util.js",
"content": "\n\n/**\n * Find the value of a field by ID\n *\n * Returns null if field is not in collection\n *\n * @param {String} fieldId Field to look for\n * @param {Object} fieldValues Values to look for field in\n * @return {String|Array|boolean|number|null}\n */\nexport const findFieldValueInFieldValues = (fieldId, fieldValues) => {\n\tif (fieldValues.hasOwnProperty(fieldId)) {\n\t\treturn fieldValues[fieldId];\n\t}\n\n\treturn null;\n};\n\n\n\n\n\n",
@@ -3667,7 +3729,7 @@
"lineNumber": 1
},
{
- "__docId__": 193,
+ "__docId__": 196,
"kind": "function",
"name": "findFieldValueInFieldValues",
"memberof": "src/components/validation/util.js",
@@ -3717,7 +3779,7 @@
}
},
{
- "__docId__": 194,
+ "__docId__": 197,
"kind": "file",
"name": "src/index.js",
"content": "import React from 'react';\nimport ReactDOM from 'react-dom';\nimport './index.css';\nimport App from './App';\nimport registerServiceWorker from './registerServiceWorker';\n\nReactDOM.render( , document.getElementById('root'));\nregisterServiceWorker();\n",
@@ -3728,7 +3790,7 @@
"lineNumber": 1
},
{
- "__docId__": 195,
+ "__docId__": 198,
"kind": "file",
"name": "src/registerServiceWorker.js",
"content": "// In production, we register a service worker to serve assets from local cache.\n\n// This lets the app load faster on subsequent visits in production, and gives\n// it offline capabilities. However, it also means that developers (and users)\n// will only see deployed updates on the \"N+1\" visit to a page, since previously\n// cached resources are updated in the background.\n\n// To learn more about the benefits of this model, read https://goo.gl/KwvDNy.\n// This link also includes instructions on opting out of this behavior.\n\nconst isLocalhost = Boolean(\n\twindow.location.hostname === 'localhost' ||\n // [::1] is the IPv6 localhost address.\n window.location.hostname === '[::1]' ||\n // 127.0.0.1/8 is considered localhost for IPv4.\n window.location.hostname.match(\n \t/^127(?:\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/\n )\n);\n\nexport default function register() {\n\tif (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {\n\t\t// The URL constructor is available in all browsers that support SW.\n\t\tconst publicUrl = new URL(process.env.PUBLIC_URL, window.location);\n\t\tif (publicUrl.origin !== window.location.origin) {\n\t\t\t// Our service worker won't work if PUBLIC_URL is on a different origin\n\t\t\t// from what our page is served on. This might happen if a CDN is used to\n\t\t\t// serve assets; see https://github.com/facebookincubator/create-react-app/issues/2374\n\t\t\treturn;\n\t\t}\n\n\t\twindow.addEventListener('load', () => {\n\t\t\tconst swUrl = `${process.env.PUBLIC_URL}/service-worker.js`;\n\n\t\t\tif (isLocalhost) {\n\t\t\t\t// This is running on localhost. Lets check if a service worker still exists or not.\n\t\t\t\tcheckValidServiceWorker(swUrl);\n\t\t\t} else {\n\t\t\t\t// Is not local host. Just register service worker\n\t\t\t\tregisterValidSW(swUrl);\n\t\t\t}\n\t\t});\n\t}\n}\n\nfunction registerValidSW(swUrl) {\n\tnavigator.serviceWorker\n\t\t.register(swUrl)\n\t\t.then(registration => {\n\t\t\tregistration.onupdatefound = () => {\n\t\t\t\tconst installingWorker = registration.installing;\n\t\t\t\tinstallingWorker.onstatechange = () => {\n\t\t\t\t\tif (installingWorker.state === 'installed') {\n\t\t\t\t\t\tif (navigator.serviceWorker.controller) {\n\t\t\t\t\t\t\t// At this point, the old content will have been purged and\n\t\t\t\t\t\t\t// the fresh content will have been added to the cache.\n\t\t\t\t\t\t\t// It's the perfect time to display a \"New content is\n\t\t\t\t\t\t\t// available; please refresh.\" message in your web app.\n\t\t\t\t\t\t\tconsole.log('New content is available; please refresh.');\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t// At this point, everything has been precached.\n\t\t\t\t\t\t\t// It's the perfect time to display a\n\t\t\t\t\t\t\t// \"Content is cached for offline use.\" message.\n\t\t\t\t\t\t\tconsole.log('Content is cached for offline use.');\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t};\n\t\t})\n\t\t.catch(error => {\n\t\t\tconsole.error('Error during service worker registration:', error);\n\t\t});\n}\n\nfunction checkValidServiceWorker(swUrl) {\n\t// Check if the service worker can be found. If it can't reload the page.\n\tfetch(swUrl)\n\t\t.then(response => {\n\t\t\t// Ensure service worker exists, and that we really are getting a JS file.\n\t\t\tif (\n\t\t\t\tresponse.status === 404 ||\n response.headers.get('content-type').indexOf('javascript') === -1\n\t\t\t) {\n\t\t\t\t// No service worker found. Probably a different app. Reload the page.\n\t\t\t\tnavigator.serviceWorker.ready.then(registration => {\n\t\t\t\t\tregistration.unregister().then(() => {\n\t\t\t\t\t\twindow.location.reload();\n\t\t\t\t\t});\n\t\t\t\t});\n\t\t\t} else {\n\t\t\t\t// Service worker found. Proceed as normal.\n\t\t\t\tregisterValidSW(swUrl);\n\t\t\t}\n\t\t})\n\t\t.catch(() => {\n\t\t\tconsole.log(\n\t\t\t\t'No internet connection found. App is running in offline mode.'\n\t\t\t);\n\t\t});\n}\n\nexport function unregister() {\n\tif ('serviceWorker' in navigator) {\n\t\tnavigator.serviceWorker.ready.then(registration => {\n\t\t\tregistration.unregister();\n\t\t});\n\t}\n}\n",
@@ -3739,7 +3801,7 @@
"lineNumber": 1
},
{
- "__docId__": 196,
+ "__docId__": 199,
"kind": "variable",
"name": "isLocalhost",
"memberof": "src/registerServiceWorker.js",
@@ -3760,7 +3822,7 @@
"ignore": true
},
{
- "__docId__": 197,
+ "__docId__": 200,
"kind": "function",
"name": "register",
"memberof": "src/registerServiceWorker.js",
@@ -3779,7 +3841,7 @@
"return": null
},
{
- "__docId__": 198,
+ "__docId__": 201,
"kind": "function",
"name": "registerValidSW",
"memberof": "src/registerServiceWorker.js",
@@ -3806,7 +3868,7 @@
"ignore": true
},
{
- "__docId__": 199,
+ "__docId__": 202,
"kind": "function",
"name": "checkValidServiceWorker",
"memberof": "src/registerServiceWorker.js",
@@ -3833,7 +3895,7 @@
"ignore": true
},
{
- "__docId__": 200,
+ "__docId__": 203,
"kind": "function",
"name": "unregister",
"memberof": "src/registerServiceWorker.js",
@@ -3861,7 +3923,7 @@
},
{
"kind": "packageJSON",
- "content": "{\n \"name\": \"@caldera-labs/components\",\n \"version\": \"1.5.0\",\n \"dependencies\": {\n \"@helpdotcom/is\": \"^3.0.4\",\n \"classnames\": \"^2.2.6\",\n \"downshift\": \"^1.31.16\",\n \"react-autocomplete\": \"^1.8.1\"\n },\n \"license\": \"GPL-2.0\",\n \"scripts\": {\n \"start\": \"react-wp-scripts start\",\n \"example:build\": \"react-wp-script build\",\n \"test\": \"react-scripts test --env=jsdom\",\n \"test:once\": \"CI=true react-scripts test --env=jsdom\",\n \"test:coverage\": \"npm test -- --coverage\",\n \"coveralls\": \"cat ./coverage/lcov.info | node node_modules/.bin/coveralls\",\n \"eject\": \"react-wp-script eject\",\n \"lint\": \"eslint src/components/**\",\n \"document\": \"./node_modules/.bin/esdoc\",\n \"build\": \"npm run build:pre && npm run build:compile && npm run build:post\",\n \"build:pre\": \"npm run test:once\",\n \"build:compile\": \"./node_modules/.bin/babel -d dist src/components\",\n \"build:post\": \"npm run document\",\n \"prepublish\": \"npm run build\",\n \"release\": \"npm run release:patch\",\n \"release:minor\": \"npm version minor -m \\\"version %s\\\" && npm publish\",\n \"release:major\": \"npm version major -m \\\"version %s\\\" && npm publish\",\n \"release:patch\": \"npm version patch -m \\\"version %s\\\" && npm publish\"\n },\n \"main\": \"./dist/index.js\",\n \"files\": [\n \"dist\"\n ],\n \"devDependencies\": {\n \"babel-cli\": \"^6.26.0\",\n \"babel-preset-env\": \"^1.7.0\",\n \"babel-preset-react\": \"^6.24.1\",\n \"babel-preset-stage-3\": \"^6.24.1\",\n \"coveralls\": \"^3.0.2\",\n \"enzyme\": \"^3.3.0\",\n \"enzyme-adapter-react-16\": \"^1.1.1\",\n \"esdoc\": \"^1.1.0\",\n \"esdoc-ecmascript-proposal-plugin\": \"^1.0.0\",\n \"esdoc-jsx-plugin\": \"^1.0.0\",\n \"esdoc-standard-plugin\": \"^1.0.0\",\n \"eslint-plugin-jest\": \"^21.17.0\",\n \"eslint-plugin-react\": \"^7.9.1\",\n \"prop-types\": \"^15.6.1\",\n \"react\": \"^16.4.1\",\n \"react-dom\": \"^16.4.1\",\n \"react-test-renderer\": \"^16.4.1\",\n \"react-wp-scripts\": \"0.2.0\"\n },\n \"jest\": {\n \"collectCoverageFrom\": [\n \"src/components/**/*.js\",\n \"!src/components/index.js\",\n \"!src/components/fields/index.js\"\n ]\n }\n}\n",
+ "content": "{\n \"name\": \"@caldera-labs/components\",\n \"version\": \"1.5.1\",\n \"dependencies\": {\n \"@helpdotcom/is\": \"^3.0.4\",\n \"classnames\": \"^2.2.6\",\n \"downshift\": \"^1.31.16\",\n \"react-autocomplete\": \"^1.8.1\"\n },\n \"license\": \"GPL-2.0\",\n \"scripts\": {\n \"start\": \"react-wp-scripts start\",\n \"example:build\": \"react-wp-script build\",\n \"test\": \"react-scripts test --env=jsdom\",\n \"test:once\": \"CI=true react-scripts test --env=jsdom\",\n \"test:coverage\": \"npm test -- --coverage\",\n \"coveralls\": \"cat ./coverage/lcov.info | node node_modules/.bin/coveralls\",\n \"eject\": \"react-wp-script eject\",\n \"lint\": \"eslint src/components/**\",\n \"document\": \"./node_modules/.bin/esdoc\",\n \"build\": \"npm run build:pre && npm run build:compile && npm run build:post\",\n \"build:pre\": \"npm run test:once\",\n \"build:compile\": \"./node_modules/.bin/babel -d dist src/components\",\n \"build:post\": \"npm run document\",\n \"prepublish\": \"npm run build\",\n \"release\": \"npm run release:patch\",\n \"release:minor\": \"npm version minor -m \\\"version %s\\\" && npm publish\",\n \"release:major\": \"npm version major -m \\\"version %s\\\" && npm publish\",\n \"release:patch\": \"npm version patch -m \\\"version %s\\\" && npm publish\"\n },\n \"main\": \"./dist/index.js\",\n \"files\": [\n \"dist\"\n ],\n \"devDependencies\": {\n \"babel-cli\": \"^6.26.0\",\n \"babel-preset-env\": \"^1.7.0\",\n \"babel-preset-react\": \"^6.24.1\",\n \"babel-preset-stage-3\": \"^6.24.1\",\n \"coveralls\": \"^3.0.2\",\n \"enzyme\": \"^3.3.0\",\n \"enzyme-adapter-react-16\": \"^1.1.1\",\n \"esdoc\": \"^1.1.0\",\n \"esdoc-ecmascript-proposal-plugin\": \"^1.0.0\",\n \"esdoc-jsx-plugin\": \"^1.0.0\",\n \"esdoc-standard-plugin\": \"^1.0.0\",\n \"eslint-plugin-jest\": \"^21.17.0\",\n \"eslint-plugin-react\": \"^7.9.1\",\n \"prop-types\": \"^15.6.1\",\n \"react\": \"^16.4.1\",\n \"react-dom\": \"^16.4.1\",\n \"react-test-renderer\": \"^16.4.1\",\n \"react-wp-scripts\": \"0.2.0\"\n },\n \"jest\": {\n \"collectCoverageFrom\": [\n \"src/components/**/*.js\",\n \"!src/components/index.js\",\n \"!src/components/fields/index.js\"\n ]\n }\n}\n",
"longname": "/Users/josh/caldera-js/components/package.json",
"name": "package.json",
"static": true,
@@ -3888,7 +3950,7 @@
"kind": "manual",
"longname": "/Users/josh/caldera-js/components/manual/components.md",
"name": "./manual/components.md",
- "content": "# Included Component\nThese components are used by the factories and follow their schema, [defined here](https://calderalabs.org/caldera-components/manual/factories.html#configfield-schema).\nIn general, use the `RenderGroup` component, do not use the low-level components. Use the factories or `RenderGroup`.\n\n## `RenderGroup`\nThe `RenderGroup` component takes an array of field configs and generates UI for them. \n\n* [Reference](https://calderalabs.org/caldera-components/class/src/components/RenderGroup.js~RenderGroup.html)\n\n### Import with wepback\n`import {RenderGroup} from '@caldera-labs/components';`\n### Example Of `RenderGroup` Component Usage\n\n```jsx \nconst textFieldConfig = {\n\t'id': 'cf-something-tags',\n\t'label': 'Tags',\n\t'desc': 'Comma separated list of tags.',\n\t'type': 'text',\n\t'description': false,\n\tvalue: 'Roy,Mike',\n\tonValueChange: (newValue) =>{\n\t\tconsole.log(newValue)\n\t}\n};\n\nconst hiddenFieldConfig = {\n\t'id': 'cf-something-sequence-id',\n\t'type': 'hidden',\n\t'label': 'Sequence ID',\n\t'description': false,\n\tvalue: '42',\n \tonValueChange: (newValue) =>{\n \t\tconsole.log(newValue)\n \t}\n};\n\nconst selectFieldConfig = {\n\t'id': 'cf-something-select-id',\n\t'type': 'dropdown',\n\t'label': 'Content type',\n\t'description': 'Choose content type, default is HTML',\n\toptions: [\n\t\t{\n\t\t\tlabel: 'HTML',\n\t\t\tvalue: 'html'\n\t\t},\n\t\t{\n\t\t\tlabel: 'Plain Text',\n\t\t\tvalue: 'plain'\n\t\t}\n\t],\n\tvalue: 'html',\n onValueChange: (newValue) =>{\n console.log(newValue)\n }\n};\n\nconst configFields = [\n\ttextFieldConfig,\n\thiddenFieldConfig,\n\tselectFieldConfig\n];\n\n \n```\n\n### A Magic Aut-Complete Field Selector In A RenderGroup\n```js\nconst magicField = {\n 'id': 'cf-magic-example',\n 'type': 'magic',\n 'label': 'Magic ID',\n 'description': 'Select a value from list of magic tags or type a value',\n fieldsList: [\n {\n label: '0',\n value: 0\n },\n {\n label: '1',\n value: 1\n },\n {\n label: '3',\n value: 3\n }\n ],\n systemTagsList: [\n {\n label: '3',\n value: 3\n }\n ],\n isOpen: true,\n onValueChange: () => {\n }\n};\n\n\n\n```\n\n### Add onFocus Event For All Fields Of Render Group\nYou can add an onFocus event that fires when ever any field is focused. The callback function gets the config field's ID as its only parameter.\n```js\n console.log(fieldId)}\n /> \n\n```\n\n### Add onBlur Event For All Fields Of Render Group\nYou can add an `onBlur` event that fires when ever any field is blurred. The callback function gets the config field's ID as its only parameter.\n\n```js\n console.log(fieldId)}\n /> \n\n```\n\n\n## Field Groups\nIf you have to use a component, please use `FieldGroup` not its inner components.\n\n* [Reference](https://calderalabs.org/caldera-components/function/index.html#static-function-Input)\n\n\n### Import With webpack\n`import {FieldGroup} from '@caldera-labs/components';`\n\n### Text Field Groups\nIf the prop `type` is input, the type of input is controlled by the `inputType` props, which by default is `text`. Therefore, by default input field groups have inputs with the HTML5 input `type` attribute of \"text\". Also, `inputType` could be \"number\" or \"data\", etc.\n\n#### Text field that is required\n```jsx\n {\n values.one=newValue;\n }}\n/>\n\n```\n\n#### Text field that is not required\n```jsx\n {\n values.two=newValue;\n }}\n/>\n```\n\n#### Text field with help text\n* Adding help text automatically ads `aria-describedby`\n\n```jsx\n {\n values.three=newValue;\n }}\n/>\n```\n\n\n### Number Field Group\n\n```jsx\n {\n values.two=newValue;\n }}\n/>\n```\n\n### Select Field Groups\n\nSelect field groups happen when you pass \"select\" to the `type` prop. \n\nSelect fields take an array of options in the prop option. Options in that collection must conform the shape [defined here](https://calderalabs.org/caldera-components/docs/file/src/components/fields/propTypes.js.html#lineNumber75)\n\n\n```\nlet selectFieldValue = '';\n {\n selectFieldValue = newValue;\n }}\n options={[\n {\n value: 1,\n label: 'One'\n },\n {\n value: 2,\n label: 'Two'\n }\n ]}\n/>\n\n## Magic Select Groups\nMagic select groups use `MagicSelect` fields, which wrap [reactjs/react-autocomple](https://github.com/reactjs/react-autocomplete) to create a UI for [Caldera Forms magic tags](https://calderaforms.com/doc/using-magic-tags-caldera-forms/).\n\nThese fields groups show options from two lists, one is passed in the prop `fieldsList` and represents the fields of the form, and the other is in `systemTagsList`, which represents the system values such as the current user info.\n\nThe property `isOpen` controls if the auto-complete list is open.\n\n### Import With webpack\nimport {MagicFieldGroup} from '@caldera-labs/components';\n\n### Example\n\n```js\nlet magicFieldValue ='';\n\n {\n magicFieldValue = newValue;\n } }\n fieldsList={[\n {\n label: 'Field One',\n value: '%fldOne%'\n },\n {\n label: 'Field Two',\n value: '%fldTwo%'\n },\n {\n label: 'Field Three',\n value: '%fldThree%'\n },\n ]}\n systemTagsList={[\n {\n label: 'User First Name',\n value: '{user:first_name}'\n }\n ]}\n isOpen={true}\n value={magicFieldValue}\n />\n```\n\n\n\n\n## Select Fields\n* [Reference](https://calderalabs.org/caldera-components/function/index.html#static-function-SelectField)\n\n### Import With webpack\n`import {fields} from '@caldera-labs/components';`\n\n### Example\n```\n {\n console.log(newValue)\n }} //Update callback\n options={[\n {\n value: '1,\n label: 'One'\n },\n {\n value: '2',\n label: 'Two'\n }\n ]}\n value={'2'} //The current value\n/>\n \n```\n\n## Fieldsets\nFor a `` element containing checkboxes, pass the value `fieldset` to the `type\n\n\n\n```js\nimport {FieldGroup} from '@caldera-labs/components';\n//Value is an array.\nlet checkBoxValue = ['1'];\n\n\n value={checkBoxValue} //value(s)\n id={'Checkbox1'} //id attribute for \n onValueChange={(newValue) => {\n \t//logic of removing/adding from array is handled internally\n checkBoxValue = newValue;\n }}\n options={[\n {\n value: '1', //this value is in array so box will be checked by default\n label: 'One'// Used for this checkbox's \n },\n {\n value: '2', //this value is NOT in array so box will NOT be checked by default\n label: 'Two'// Used for this checkbox's \n }\n ]}\n/>\n```\n\n## Button Group\nButton groups are select fields. One button can be selected at once.\n\nThis is a field, not a group (like `FieldGroup` or `MagicFieldGroup`) so it does not handle its own label.\n\nButton groups fields take an array of options in the prop option. Options in that collection must conform the shape [defined here](https://calderalabs.org/caldera-components/docs/file/src/components/fields/propTypes.js.html#lineNumber75)\n\n### Import With webpack\n```\nimport {fields} from '@caldera-labs/components';\nconst {ButtonGroup} = fields;\n```\n\n### Examples\n### Button Group With Two Options\n```js\n {\n \tconsole.log(selectedValue);\n }}\n options={[\n {\n value: 1,\n label: 'Option One',\n },\n {\n value: 2,\n label: 'Option Two',\n }\n ]}\n value={1}\n/>\n```\n\n#### Button Group With Icon\nIf options have `icon`, the rendered markup for the button will be like this:\n\n```html\n \n\n```\n\nThat's the markup you need if font awesome is loaded on the page. In the future this component should supply font awesome or dashicons or emoji icons. For now, it does not.\n\n```js\n {\n \tconsole.log(selectedValue);\n }}\n options={[\n {\n value: 1,\n label: 'Option One',\n icon: 'fa-envelop'\n },\n {\n value: 2,\n label: 'Option Two',\n icon: 'fa-twitter'\n\n }\n ]}\n value={1}\n/>\n```\n\n#### Explicitly set `aria-label` Attribute\nBy default, the visual representation fo the option is `option.label`. That makes sense, if you're representing the option with words. Allowing the component to use `option.label` for the `aria-label` attribute, which is its default value, I think makes sense.\n\nBut, if the visual representation of the option is an emoji or image, then `aria-label` can not be an image, it has to be text that gives meaning to the image for users who can not see the image.\n\n```js\n {\n \tconsole.log(selectedValue);\n }}\n options={[\n {\n value: 'fields',\n label: '%',\n ariaLabel: 'Select from field values'\n },\n {\n value: 'system',\n label: '{}',\n ariaLabel: 'Select from system values'\n },\n ]}\n/>\n```\n\n## Message component\nThe `Message` component is used to display validation messages in a `FieldGroup` component. Messages have a shape defined in the `messagePropShape` object. This component, by design, returns nothing if `props.message.message` is not supplied, or is an empty string.\n\n### Import with webpack\n```\nimport {fields} from '@caldera-labs/components';\nconst {Message} = fields;\n```\n\n### An error message\n```js\n \n```\n\n### A non-error message\n```js\n \n```\n\n### Render nothing\nMessage components only render when needed.\n\nThis will not render anything\n ```js\n \n ```\n \n This will also render nothing:\n ```js\n \n ```\n\n### Adding additional classes to the message's outer element\nThis example adds the class `cf-whatever-error` to the element with the message.\n \n```js\n\n```\n\n## Admin Page Components\nMain admin UI components for Caldera Forms\n\n### Import Using webpack\n`import {Admin} from '@caldera-labs/components'`\n\n### List of Admin Components\n* `CalderaHeader` A component to create the header markup of a page.\n- Child props can be passed. They will be outputted inside of a `ul`. You must supply `li`.\n* `PageBody` Wraps the content of an admin page in a consistent wrapper.\n* `StatusIndicator` Conveys succesful green messages or red messages of failure.\n\n#### `StatusIndicator`\n* Conveys successful green messages or red messages of failure.\n* Relies on CSS in admin.css for style, which makes it look the same as existing similar components.\n* Designed to work the same way as status indicator used in Pro UI, which is VueJS.\n\n#### Examples Usage of `StatusIndicator` Component\nSuccess message:\n```js\nimport {Admin} from '@caldera-labs/components';\n\n```\n\nError/ warning:\n\n```js\nimport {Admin} from '@caldera-labs/components';\n\n\n```\n\n#### `CalderaHeader`\n```js\nimport {Admin} from '@caldera-labs/components';\n\n \n \n```\n\n\n#### `PageBody`\n```js\nimport {Admin} from '@caldera-labs/components';\n\n \n \n \n Hi Roy
\n\n```",
+ "content": "# Included Component\nThese components are used by the factories and follow their schema, [defined here](https://calderalabs.org/caldera-components/manual/factories.html#configfield-schema).\nIn general, use the `RenderGroup` component, do not use the low-level components. Use the factories or `RenderGroup`.\n\n## `RenderGroup`\nThe `RenderGroup` component takes an array of field configs and generates UI for them. \n\n* [Reference](https://calderalabs.org/caldera-components/class/src/components/RenderGroup.js~RenderGroup.html)\n\n### Import with wepback\n`import {RenderGroup} from '@caldera-labs/components';`\n### Example Of `RenderGroup` Component Usage\n\n```jsx \nconst textFieldConfig = {\n\t'id': 'cf-something-tags',\n\t'label': 'Tags',\n\t'desc': 'Comma separated list of tags.',\n\t'type': 'text',\n\t'description': false,\n\tvalue: 'Roy,Mike',\n\tonValueChange: (newValue) =>{\n\t\tconsole.log(newValue)\n\t}\n};\n\nconst hiddenFieldConfig = {\n\t'id': 'cf-something-sequence-id',\n\t'type': 'hidden',\n\t'label': 'Sequence ID',\n\t'description': false,\n\tvalue: '42',\n \tonValueChange: (newValue) =>{\n \t\tconsole.log(newValue)\n \t}\n};\n\nconst selectFieldConfig = {\n\t'id': 'cf-something-select-id',\n\t'type': 'dropdown',\n\t'label': 'Content type',\n\t'description': 'Choose content type, default is HTML',\n\toptions: [\n\t\t{\n\t\t\tlabel: 'HTML',\n\t\t\tvalue: 'html'\n\t\t},\n\t\t{\n\t\t\tlabel: 'Plain Text',\n\t\t\tvalue: 'plain'\n\t\t}\n\t],\n\tvalue: 'html',\n onValueChange: (newValue) =>{\n console.log(newValue)\n }\n};\n\nconst configFields = [\n\ttextFieldConfig,\n\thiddenFieldConfig,\n\tselectFieldConfig\n];\n\n \n```\n\n### A Magic Aut-Complete Field Selector In A RenderGroup\n```js\nconst magicField = {\n 'id': 'cf-magic-example',\n 'type': 'magic',\n 'label': 'Magic ID',\n 'description': 'Select a value from list of magic tags or type a value',\n fieldsList: [\n {\n label: '0',\n value: 0\n },\n {\n label: '1',\n value: 1\n },\n {\n label: '3',\n value: 3\n }\n ],\n systemTagsList: [\n {\n label: '3',\n value: 3\n }\n ],\n isOpen: true,\n onValueChange: () => {\n }\n};\n\n\n\n```\n\n### Add onFocus Event For All Fields Of Render Group\nYou can add an onFocus event that fires when ever any field is focused. The callback function gets the config field's ID as its only parameter.\n```js\n console.log(fieldId)}\n /> \n\n```\n\n### Add onBlur Event For All Fields Of Render Group\nYou can add an `onBlur` event that fires when ever any field is blurred. The callback function gets the config field's ID as its only parameter.\n\n```js\n console.log(fieldId)}\n /> \n\n```\n\n\n## Field Groups\nIf you have to use a component, please use `FieldGroup` not its inner components.\n\n* [Reference](https://calderalabs.org/caldera-components/function/index.html#static-function-Input)\n\n\n### Import With webpack\n`import {FieldGroup} from '@caldera-labs/components';`\n\n### Text Field Groups\nIf the prop `type` is input, the type of input is controlled by the `inputType` props, which by default is `text`. Therefore, by default input field groups have inputs with the HTML5 input `type` attribute of \"text\". Also, `inputType` could be \"number\" or \"data\", etc.\n\n#### Text field that is required\n```jsx\n {\n values.one=newValue;\n }}\n/>\n\n```\n\n#### Text field that is not required\n```jsx\n {\n values.two=newValue;\n }}\n/>\n```\n\n#### Text field with help text\n* Adding help text automatically ads `aria-describedby`\n\n```jsx\n {\n values.three=newValue;\n }}\n/>\n```\n\n\n### Number Field Group\n\n```jsx\n {\n values.two=newValue;\n }}\n/>\n```\n\n### Submit Button Field Group\n```js\n {\n \t//do stuff when clicked\n }}\n/>\n\n```\n\n### Button Field Group\n```js\n {\n \t//do stuff when clicked\n }}\n/>\n```\n\n### Select Field Groups\n\nSelect field groups happen when you pass \"select\" to the `type` prop. \n\nSelect fields take an array of options in the prop option. Options in that collection must conform the shape [defined here](https://calderalabs.org/caldera-components/docs/file/src/components/fields/propTypes.js.html#lineNumber75)\n\n```\nlet selectFieldValue = '';\n {\n selectFieldValue = newValue;\n }}\n options={[\n {\n value: 1,\n label: 'One'\n },\n {\n value: 2,\n label: 'Two'\n }\n ]}\n/>\n```\n\n## Magic Select Groups\nMagic select groups use `MagicSelect` fields, which wrap [reactjs/react-autocomple](https://github.com/reactjs/react-autocomplete) to create a UI for [Caldera Forms magic tags](https://calderaforms.com/doc/using-magic-tags-caldera-forms/).\n\nThese fields groups show options from two lists, one is passed in the prop `fieldsList` and represents the fields of the form, and the other is in `systemTagsList`, which represents the system values such as the current user info.\n\nThe property `isOpen` controls if the auto-complete list is open.\n\n### Import With webpack\nimport {MagicFieldGroup} from '@caldera-labs/components';\n\n### Example\n\n```js\nlet magicFieldValue ='';\n\n {\n magicFieldValue = newValue;\n } }\n fieldsList={[\n {\n label: 'Field One',\n value: '%fldOne%'\n },\n {\n label: 'Field Two',\n value: '%fldTwo%'\n },\n {\n label: 'Field Three',\n value: '%fldThree%'\n },\n ]}\n systemTagsList={[\n {\n label: 'User First Name',\n value: '{user:first_name}'\n }\n ]}\n isOpen={true}\n value={magicFieldValue}\n />\n```\n\n\n\n\n## Select Fields\n* [Reference](https://calderalabs.org/caldera-components/function/index.html#static-function-SelectField)\n\n### Import With webpack\n`import {fields} from '@caldera-labs/components';`\n\n### Example\n```\n {\n console.log(newValue)\n }} //Update callback\n options={[\n {\n value: '1,\n label: 'One'\n },\n {\n value: '2',\n label: 'Two'\n }\n ]}\n value={'2'} //The current value\n/>\n \n```\n\n## Fieldsets\nFor a `` element containing checkboxes, pass the value `fieldset` to the `type\n\n\n\n```js\nimport {FieldGroup} from '@caldera-labs/components';\n//Value is an array.\nlet checkBoxValue = ['1'];\n\n\n value={checkBoxValue} //value(s)\n id={'Checkbox1'} //id attribute for \n onValueChange={(newValue) => {\n \t//logic of removing/adding from array is handled internally\n checkBoxValue = newValue;\n }}\n options={[\n {\n value: '1', //this value is in array so box will be checked by default\n label: 'One'// Used for this checkbox's \n },\n {\n value: '2', //this value is NOT in array so box will NOT be checked by default\n label: 'Two'// Used for this checkbox's \n }\n ]}\n/>\n```\n\n## Submit Buttons and Other Types Of Buttons\nIn general, for submit inputs and `` elements, instead of using an `Input` component, you should use the `Button` component.\n\n\n### Import With webpack\n```\nimport {fields} from '@caldera-labs/components';\nconst {Button} = fields;\n\n```\n\n### Exampel Submit Button\n```js\n {\n \t//do stuff when clicked\n }}\n/>\n\n```\n\n## Button Group\nButton groups are select fields. One button can be selected at once.\n\nThis is a field, not a group (like `FieldGroup` or `MagicFieldGroup`) so it does not handle its own label.\n\nButton groups fields take an array of options in the prop option. Options in that collection must conform the shape [defined here](https://calderalabs.org/caldera-components/docs/file/src/components/fields/propTypes.js.html#lineNumber75)\n\n### Import With webpack\n```\nimport {fields} from '@caldera-labs/components';\nconst {ButtonGroup} = fields;\n```\n\n### Examples\n### Button Group With Two Options\n```js\n {\n \tconsole.log(selectedValue);\n }}\n options={[\n {\n value: 1,\n label: 'Option One',\n },\n {\n value: 2,\n label: 'Option Two',\n }\n ]}\n value={1}\n/>\n```\n\n#### Button Group With Icon\nIf options have `icon`, the rendered markup for the button will be like this:\n\n```html\n \n\n```\n\nThat's the markup you need if font awesome is loaded on the page. In the future this component should supply font awesome or dashicons or emoji icons. For now, it does not.\n\n```js\n {\n \tconsole.log(selectedValue);\n }}\n options={[\n {\n value: 1,\n label: 'Option One',\n icon: 'fa-envelop'\n },\n {\n value: 2,\n label: 'Option Two',\n icon: 'fa-twitter'\n\n }\n ]}\n value={1}\n/>\n```\n\n#### Explicitly set `aria-label` Attribute\nBy default, the visual representation fo the option is `option.label`. That makes sense, if you're representing the option with words. Allowing the component to use `option.label` for the `aria-label` attribute, which is its default value, I think makes sense.\n\nBut, if the visual representation of the option is an emoji or image, then `aria-label` can not be an image, it has to be text that gives meaning to the image for users who can not see the image.\n\n```js\n {\n \tconsole.log(selectedValue);\n }}\n options={[\n {\n value: 'fields',\n label: '%',\n ariaLabel: 'Select from field values'\n },\n {\n value: 'system',\n label: '{}',\n ariaLabel: 'Select from system values'\n },\n ]}\n/>\n```\n\n## Message component\nThe `Message` component is used to display validation messages in a `FieldGroup` component. Messages have a shape defined in the `messagePropShape` object. This component, by design, returns nothing if `props.message.message` is not supplied, or is an empty string.\n\n### Import with webpack\n```\nimport {fields} from '@caldera-labs/components';\nconst {Message} = fields;\n```\n\n### An error message\n```js\n \n```\n\n### A non-error message\n```js\n \n```\n\n### Render nothing\nMessage components only render when needed.\n\nThis will not render anything\n ```js\n \n ```\n \n This will also render nothing:\n ```js\n \n ```\n\n### Adding additional classes to the message's outer element\nThis example adds the class `cf-whatever-error` to the element with the message.\n \n```js\n\n```\n\n## Admin Page Components\nMain admin UI components for Caldera Forms\n\n### Import Using webpack\n`import {Admin} from '@caldera-labs/components'`\n\n### List of Admin Components\n* `CalderaHeader` A component to create the header markup of a page.\n- Child props can be passed. They will be outputted inside of a `ul`. You must supply `li`.\n* `PageBody` Wraps the content of an admin page in a consistent wrapper.\n* `StatusIndicator` Conveys succesful green messages or red messages of failure.\n\n#### `StatusIndicator`\n* Conveys successful green messages or red messages of failure.\n* Relies on CSS in admin.css for style, which makes it look the same as existing similar components.\n* Designed to work the same way as status indicator used in Pro UI, which is VueJS.\n\n#### Examples Usage of `StatusIndicator` Component\nSuccess message:\n```js\nimport {Admin} from '@caldera-labs/components';\n\n```\n\nError/ warning:\n\n```js\nimport {Admin} from '@caldera-labs/components';\n\n\n```\n\n#### `CalderaHeader`\n```js\nimport {Admin} from '@caldera-labs/components';\n\n \n \n```\n\n\n#### `PageBody`\n```js\nimport {Admin} from '@caldera-labs/components';\n\n \n \n \n Hi Roy
\n\n```",
"static": true,
"access": "public"
},
diff --git a/docs/manual/README.html b/docs/manual/README.html
index f0f2e4f..0143e55 100644
--- a/docs/manual/README.html
+++ b/docs/manual/README.html
@@ -66,11 +66,19 @@
Text field that is not required
Text field with help text
Number Field Group
+Submit Button Field Group
+Button Field Group
Select Field Groups
+Magic Select Groups
+Import With webpack
+Example
Select Fields
Import With webpack
Example
Fieldsets
+Submit Buttons and Other Types Of Buttons
+Import With webpack
+Exampel Submit Button
Button Group
Import With webpack
Examples
diff --git a/docs/manual/components.html b/docs/manual/components.html
index bc41a01..b5e1da4 100644
--- a/docs/manual/components.html
+++ b/docs/manual/components.html
@@ -66,11 +66,19 @@
Text field that is not required
Text field with help text
Number Field Group
+Submit Button Field Group
+Button Field Group
Select Field Groups
+Magic Select Groups
+Import With webpack
+Example
Select Fields
Import With webpack
Example
Fieldsets
+Submit Buttons and Other Types Of Buttons
+Import With webpack
+Exampel Submit Button
Button Group
Import With webpack
Examples
@@ -330,6 +338,29 @@ Number Field Group <
}}
/>
+Submit Button Field Group <FieldGroup
+ id={'control-24'}
+ label={'This will go in the label element'}
+ type={'button'}
+ innertype={'submit'}
+ value={'Submit Form'}
+ onClick={() => {
+ //do stuff when clicked
+ }}
+/>
+
+
+Button Field Group <FieldGroup
+ id={'control-24'}
+ label={'This will go in the label element'}
+ type={'button'}
+ innertype={'button'}
+ value={false}
+ onClick={() => {
+ //do stuff when clicked
+ }}
+/>
+
Select Field Groups Select field groups happen when you pass "select" to the type
prop.
Select fields take an array of options in the prop option. Options in that collection must conform the shape defined here
let selectFieldValue = '';
@@ -351,22 +382,12 @@ Select Field Groups Select field groups happ
label: 'Two'
}
]}
-/>
-
-## Magic Select Groups
-Magic select groups use `MagicSelect` fields, which wrap [reactjs/react-autocomple](https://github.com/reactjs/react-autocomplete) to create a UI for [Caldera Forms magic tags](https://calderaforms.com/doc/using-magic-tags-caldera-forms/).
-
-These fields groups show options from two lists, one is passed in the prop `fieldsList` and represents the fields of the form, and the other is in `systemTagsList`, which represents the system values such as the current user info.
-
-The property `isOpen` controls if the auto-complete list is open.
-
-### Import With webpack
-import {MagicFieldGroup} from '@caldera-labs/components';
-
-### Example
-
-```js
-let magicFieldValue ='';
+/>
+
Magic Select Groups Magic select groups use MagicSelect
fields, which wrap reactjs/react-autocomple to create a UI for Caldera Forms magic tags .
+These fields groups show options from two lists, one is passed in the prop fieldsList
and represents the fields of the form, and the other is in systemTagsList
, which represents the system values such as the current user info.
+The property isOpen
controls if the auto-complete list is open.
+Import With webpack import {MagicFieldGroup} from '@caldera-labs/components';
+Example let magicFieldValue ='';
<MagicFieldGroup
id={'magic-5'}
@@ -398,7 +419,8 @@ Select Field Groups Select field groups happ
isOpen={true}
value={magicFieldValue}
/>
-
Select Fields &l
]}
/>
+Submit Buttons and Other Types Of Buttons In general, for submit inputs and <button>
elements, instead of using an Input
component, you should use the Button
component.
+Import With webpack import {fields} from '@caldera-labs/components';
+const {Button} = fields;
+
+
Exampel Submit Button <Button
+ id={'control-button'}
+ label={'Click To Submit Form'}
+ type={'button'}
+ innertype={'submit'}
+ value={'Submit Form'}
+ onClick={() => {
+ //do stuff when clicked
+ }}
+/>
+
+
Button Group Button groups are select fields. One button can be selected at once.
This is a field, not a group (like FieldGroup
or MagicFieldGroup
) so it does not handle its own label.
Button groups fields take an array of options in the prop option. Options in that collection must conform the shape defined here
diff --git a/docs/manual/conditional-logic.html b/docs/manual/conditional-logic.html
index 11fb4e2..dcb5f92 100644
--- a/docs/manual/conditional-logic.html
+++ b/docs/manual/conditional-logic.html
@@ -66,11 +66,19 @@
Text field that is not required
Text field with help text
Number Field Group
+Submit Button Field Group
+Button Field Group
Select Field Groups
+Magic Select Groups
+Import With webpack
+Example
Select Fields
Import With webpack
Example
Fieldsets
+Submit Buttons and Other Types Of Buttons
+Import With webpack
+Exampel Submit Button
Button Group
Import With webpack
Examples
diff --git a/docs/manual/factories.html b/docs/manual/factories.html
index a13f3a8..7eca72e 100644
--- a/docs/manual/factories.html
+++ b/docs/manual/factories.html
@@ -66,11 +66,19 @@
Text field that is not required
Text field with help text
Number Field Group
+Submit Button Field Group
+Button Field Group
Select Field Groups
+Magic Select Groups
+Import With webpack
+Example
Select Fields
Import With webpack
Example
Fieldsets
+Submit Buttons and Other Types Of Buttons
+Import With webpack
+Exampel Submit Button
Button Group
Import With webpack
Examples
diff --git a/docs/manual/index.html b/docs/manual/index.html
index a66daab..459f1a6 100644
--- a/docs/manual/index.html
+++ b/docs/manual/index.html
@@ -66,11 +66,19 @@
Text field that is not required
Text field with help text
Number Field Group
+Submit Button Field Group
+Button Field Group
Select Field Groups
+Magic Select Groups
+Import With webpack
+Example
Select Fields
Import With webpack
Example
Fieldsets
+Submit Buttons and Other Types Of Buttons
+Import With webpack
+Exampel Submit Button
Button Group
Import With webpack
Examples
@@ -499,6 +507,27 @@ Structure of class attributes The
values.two=newValue;
}}
/>
+
Submit Button Field Group <FieldGroup
+ id={'control-24'}
+ label={'This will go in the label element'}
+ type={'button'}
+ innertype={'submit'}
+ value={'Submit Form'}
+ onClick={() => {
+ //do stuff when clicked
+ }}
+/>
+
+
Button Field Group <FieldGroup
+ id={'control-24'}
+ label={'This will go in the label element'}
+ type={'button'}
+ innertype={'button'}
+ value={false}
+ onClick={() => {
+ //do stuff when clicked
+ }}
+/>
Select Field Groups Select field groups happen when you pass "select" to the type
prop.
Select fields take an array of options in the prop option. Options in that collection must conform the shape defined here
let selectFieldValue = '';
<FieldGroup
type={'select'}
@@ -518,22 +547,8 @@ Structure of class attributes The
label: 'Two'
}
]}
-/>
-
-## Magic Select Groups
-Magic select groups use `MagicSelect` fields, which wrap [reactjs/react-autocomple](https://github.com/reactjs/react-autocomplete) to create a UI for [Caldera Forms magic tags](https://calderaforms.com/doc/using-magic-tags-caldera-forms/).
-
-These fields groups show options from two lists, one is passed in the prop `fieldsList` and represents the fields of the form, and the other is in `systemTagsList`, which represents the system values such as the current user info.
-
-The property `isOpen` controls if the auto-complete list is open.
-
-### Import With webpack
-import {MagicFieldGroup} from '@caldera-labs/components';
-
-### Example
-
-```js
-let magicFieldValue ='';
+/>
+
Magic Select Groups Magic select groups use MagicSelect
fields, which wrap reactjs/react-autocomple to create a UI for Caldera Forms magic tags .
These fields groups show options from two lists, one is passed in the prop fieldsList
and represents the fields of the form, and the other is in systemTagsList
, which represents the system values such as the current user info.
The property isOpen
controls if the auto-complete list is open.
Import With webpack import {MagicFieldGroup} from '@caldera-labs/components';
Example let magicFieldValue ='';
<MagicFieldGroup
id={'magic-5'}
@@ -610,6 +625,20 @@ Structure of class attributes The
}
]}
/>
+
Submit Buttons and Other Types Of Buttons In general, for submit inputs and <button>
elements, instead of using an Input
component, you should use the Button
component.
Import With webpack import {fields} from '@caldera-labs/components';
+const {Button} = fields;
+
+
Exampel Submit Button <Button
+ id={'control-button'}
+ label={'Click To Submit Form'}
+ type={'button'}
+ innertype={'submit'}
+ value={'Submit Form'}
+ onClick={() => {
+ //do stuff when clicked
+ }}
+/>
+
Button Group Button groups are select fields. One button can be selected at once.
This is a field, not a group (like FieldGroup
or MagicFieldGroup
) so it does not handle its own label.
Button groups fields take an array of options in the prop option. Options in that collection must conform the shape defined here
Import With webpack import {fields} from '@caldera-labs/components';
const {ButtonGroup} = fields;
Examples Button Group With Two Options <ButtonGroup
diff --git a/docs/manual/testing.html b/docs/manual/testing.html
index 73883c2..ab29258 100644
--- a/docs/manual/testing.html
+++ b/docs/manual/testing.html
@@ -66,11 +66,19 @@
Text field that is not required
Text field with help text
Number Field Group
+Submit Button Field Group
+Button Field Group
Select Field Groups
+Magic Select Groups
+Import With webpack
+Example
Select Fields
Import With webpack
Example
Fieldsets
+Submit Buttons and Other Types Of Buttons
+Import With webpack
+Exampel Submit Button
Button Group
Import With webpack
Examples
diff --git a/docs/manual/validation.html b/docs/manual/validation.html
index 19a0d4a..e5f8399 100644
--- a/docs/manual/validation.html
+++ b/docs/manual/validation.html
@@ -66,11 +66,19 @@
Text field that is not required
Text field with help text
Number Field Group
+Submit Button Field Group
+Button Field Group
Select Field Groups
+Magic Select Groups
+Import With webpack
+Example
Select Fields
Import With webpack
Example
Fieldsets
+Submit Buttons and Other Types Of Buttons
+Import With webpack
+Exampel Submit Button
Button Group
Import With webpack
Examples
diff --git a/docs/script/search_index.js b/docs/script/search_index.js
index 1f686d2..40f96be 100644
--- a/docs/script/search_index.js
+++ b/docs/script/search_index.js
@@ -5,6 +5,12 @@ window.esdocSearchIndex = [
"App @caldera-labs/components/src/App.js ",
"class"
],
+ [
+ "@caldera-labs/components/src/components/fields/button/button.js~button",
+ "function/index.html#static-function-Button",
+ "Button @caldera-labs/components/src/components/fields/button/Button.js ",
+ "function"
+ ],
[
"@caldera-labs/components/src/components/fields/button-group/buttongroup.js~buttongroup",
"function/index.html#static-function-ButtonGroup",
@@ -677,6 +683,12 @@ window.esdocSearchIndex = [
"src/components/fields/button-group/ButtonGroup.js",
"file"
],
+ [
+ "src/components/fields/button/button.js",
+ "file/src/components/fields/button/Button.js.html",
+ "src/components/fields/button/Button.js",
+ "file"
+ ],
[
"src/components/fields/factories/fieldfactory.js",
"file/src/components/fields/factories/fieldFactory.js.html",
diff --git a/docs/source.html b/docs/source.html
index f1ff59b..9d61a2f 100644
--- a/docs/source.html
+++ b/docs/source.html
@@ -55,6 +55,7 @@
V optionShape
V optionsShapeProp
V valuePropType
+components/fields/button F Button
components/fields/button-group F ButtonGroup
components/fields/factories F fieldFactory
F fieldSetFactory
@@ -82,7 +83,7 @@
-Source 68/92
+
Source 68/94
@@ -103,15 +104,15 @@
0 % 0/15
6760 byte
353
- 2018-07-04 17:52:51 (UTC)
+ 2018-07-04 18:13:22 (UTC)
src/components/RenderGroup.js
RenderGroup
100 % 4/4
- 2464 byte
- 111
- 2018-07-02 22:05:43 (UTC)
+ 2498 byte
+ 112
+ 2018-07-05 17:59:00 (UTC)
src/components/admin/CalderaHeader.js
@@ -181,17 +182,17 @@
src/components/fields/FieldGroup.js
FieldGroup
100 % 1/1
- 4655 byte
- 199
- 2018-07-03 22:32:14 (UTC)
+ 4691 byte
+ 200
+ 2018-07-05 18:08:22 (UTC)
src/components/fields/FieldInner.js
FieldInner
100 % 1/1
- 1954 byte
- 92
- 2018-07-02 22:05:43 (UTC)
+ 2356 byte
+ 108
+ 2018-07-05 18:05:35 (UTC)
src/components/fields/button-group/ButtonGroup.js
@@ -201,13 +202,21 @@
77
2018-07-02 22:05:43 (UTC)
+
+ src/components/fields/button/Button.js
+ Button
+ 0 % 0/2
+ 1493 byte
+ 68
+ 2018-07-05 17:59:00 (UTC)
+
src/components/fields/factories/fieldFactory.js
fieldFactory
100 % 1/1
296 byte
13
- 2018-07-05 18:34:46 (UTC)
+ 2018-07-04 18:13:22 (UTC)
src/components/fields/factories/fieldSetFactory.js
@@ -229,9 +238,9 @@
src/components/fields/factories/prepareFieldConfig.js
prepareFieldConfig
100 % 1/1
- 1864 byte
- 64
- 2018-07-02 22:05:43 (UTC)
+ 2127 byte
+ 78
+ 2018-07-05 17:59:00 (UTC)
src/components/fields/field-group-change-handlers/fieldsetCheckboxHandler.js
@@ -247,7 +256,7 @@
-
370 byte
14
- 2018-07-04 18:01:38 (UTC)
+ 2018-07-04 18:13:22 (UTC)
src/components/fields/input/Input.js
@@ -356,7 +365,7 @@
-
766 byte
25
- 2018-07-04 18:01:38 (UTC)
+ 2018-07-04 18:13:22 (UTC)
src/components/validation/addAutomaticValidators.js
diff --git a/docs/variable/index.html b/docs/variable/index.html
index a1c4c36..00253ad 100644
--- a/docs/variable/index.html
+++ b/docs/variable/index.html
@@ -55,6 +55,7 @@
V optionShape
V optionsShapeProp
V valuePropType
+components/fields/button F Button
components/fields/button-group F ButtonGroup
components/fields/factories F fieldFactory
F fieldSetFactory