From 3002d4ae8b5609c937786a05cf94acf5edcf80e3 Mon Sep 17 00:00:00 2001 From: Josh Pollock Date: Thu, 5 Jul 2018 13:40:32 -0400 Subject: [PATCH 01/25] version 1.3.1 --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index ae74c8c..d2d24a1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@caldera-labs/components", - "version": "1.3.0", + "version": "1.3.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index fe0da62..290dcb2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@caldera-labs/components", - "version": "1.3.0", + "version": "1.3.1", "dependencies": { "@helpdotcom/is": "^3.0.4", "classnames": "^2.2.6", From 05e46b604dc0d5caacbe9dc561f289dabf35c1d3 Mon Sep 17 00:00:00 2001 From: Josh Pollock Date: Thu, 5 Jul 2018 14:13:53 -0400 Subject: [PATCH 02/25] require react-autocomplete #1 --- .idea/workspace.xml | 118 +++++++++++++++++++++---------------------- .storybook/addons.js | 2 + .storybook/config.js | 7 +++ package-lock.json | 22 +++++--- package.json | 3 +- stories/index.js | 13 +++++ 6 files changed, 97 insertions(+), 68 deletions(-) create mode 100644 .storybook/addons.js create mode 100644 .storybook/config.js create mode 100644 stories/index.js diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 2f04423..56f6276 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -1,10 +1,7 @@ - - - - + @@ -279,14 +273,6 @@ - - - - - - - - @@ -359,7 +345,7 @@ - @@ -370,42 +356,55 @@ - - + + + + + + + + + + + + + + + + - - + - - + + @@ -688,8 +687,8 @@ - - + + @@ -716,8 +715,8 @@ - - + + @@ -735,9 +734,6 @@ - - - @@ -784,7 +780,7 @@ - + diff --git a/.storybook/addons.js b/.storybook/addons.js new file mode 100644 index 0000000..6aed412 --- /dev/null +++ b/.storybook/addons.js @@ -0,0 +1,2 @@ +import '@storybook/addon-actions/register'; +import '@storybook/addon-links/register'; diff --git a/.storybook/config.js b/.storybook/config.js new file mode 100644 index 0000000..9154670 --- /dev/null +++ b/.storybook/config.js @@ -0,0 +1,7 @@ +import { configure } from '@storybook/react'; + +function loadStories() { + require('../stories'); +} + +configure(loadStories, module); diff --git a/package-lock.json b/package-lock.json index d2d24a1..451225f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3049,6 +3049,11 @@ } } }, + "dom-scroll-into-view": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/dom-scroll-into-view/-/dom-scroll-into-view-1.0.1.tgz", + "integrity": "sha1-Mqu5Lw2P7KYhUWKu9D5LRJq42Zw=" + }, "dom-serializer": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.1.0.tgz", @@ -6935,8 +6940,7 @@ "js-tokens": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz", - "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=", - "dev": true + "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=" }, "js-yaml": { "version": "3.7.0", @@ -7416,7 +7420,6 @@ "version": "1.3.1", "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.3.1.tgz", "integrity": "sha1-0aitM/qc4OcT1l/dCsi3SNR4yEg=", - "dev": true, "requires": { "js-tokens": "^3.0.0" } @@ -8017,8 +8020,7 @@ "object-assign": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", - "dev": true + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" }, "object-copy": { "version": "0.1.0", @@ -9777,7 +9779,6 @@ "version": "15.6.2", "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.6.2.tgz", "integrity": "sha512-3pboPvLiWD7dkI3qf3KbUe6hKFKa52w+AE0VCqECtf+QHAKgOL37tTaNCnuX1nAAQ4ZhyP+kYVKf8rLmJ/feDQ==", - "dev": true, "requires": { "loose-envify": "^1.3.1", "object-assign": "^4.1.1" @@ -10020,6 +10021,15 @@ } } }, + "react-autocomplete": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/react-autocomplete/-/react-autocomplete-1.8.1.tgz", + "integrity": "sha1-67vEAABqqRrVOLLRRye55+XQYxA=", + "requires": { + "dom-scroll-into-view": "1.0.1", + "prop-types": "^15.5.10" + } + }, "react-dev-utils": { "version": "4.2.1", "resolved": "https://registry.npmjs.org/react-dev-utils/-/react-dev-utils-4.2.1.tgz", diff --git a/package.json b/package.json index 290dcb2..7c300e9 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,8 @@ "dependencies": { "@helpdotcom/is": "^3.0.4", "classnames": "^2.2.6", - "downshift": "^1.31.16" + "downshift": "^1.31.16", + "react-autocomplete": "^1.8.1" }, "license": "GPL-2.0", "scripts": { diff --git a/stories/index.js b/stories/index.js new file mode 100644 index 0000000..9214f65 --- /dev/null +++ b/stories/index.js @@ -0,0 +1,13 @@ +import React from 'react'; + +import { storiesOf } from '@storybook/react'; +import { action } from '@storybook/addon-actions'; +import { linkTo } from '@storybook/addon-links'; + +import { Button, Welcome } from '@storybook/react/demo'; + +storiesOf('Welcome', module).add('to Storybook', () => ); + +storiesOf('Button', module) + .add('with text', () => ) + .add('with some emoji', () => ); From 557768555412a5fa642c690e70ccf9d5a0c1fe56 Mon Sep 17 00:00:00 2001 From: Josh Pollock Date: Thu, 5 Jul 2018 15:01:09 -0400 Subject: [PATCH 03/25] start working on implimenting auto-select --- .storybook/addons.js | 2 - .storybook/config.js | 7 --- .../fields/magic-select/MagicSelect.js | 60 +++++++++++++++++++ .../fields/magic-select/MagicSelect.test.js | 36 +++++++++++ .../__snapshots__/MagicSelect.test.js.snap | 28 +++++++++ stories/index.js | 13 ---- 6 files changed, 124 insertions(+), 22 deletions(-) delete mode 100644 .storybook/addons.js delete mode 100644 .storybook/config.js create mode 100644 src/components/fields/magic-select/MagicSelect.js create mode 100644 src/components/fields/magic-select/MagicSelect.test.js create mode 100644 src/components/fields/magic-select/__snapshots__/MagicSelect.test.js.snap delete mode 100644 stories/index.js diff --git a/.storybook/addons.js b/.storybook/addons.js deleted file mode 100644 index 6aed412..0000000 --- a/.storybook/addons.js +++ /dev/null @@ -1,2 +0,0 @@ -import '@storybook/addon-actions/register'; -import '@storybook/addon-links/register'; diff --git a/.storybook/config.js b/.storybook/config.js deleted file mode 100644 index 9154670..0000000 --- a/.storybook/config.js +++ /dev/null @@ -1,7 +0,0 @@ -import { configure } from '@storybook/react'; - -function loadStories() { - require('../stories'); -} - -configure(loadStories, module); diff --git a/src/components/fields/magic-select/MagicSelect.js b/src/components/fields/magic-select/MagicSelect.js new file mode 100644 index 0000000..37ec51b --- /dev/null +++ b/src/components/fields/magic-select/MagicSelect.js @@ -0,0 +1,60 @@ +import React from 'react'; +import {fieldInnerPropTypes, inputTypeProp, onValueChangePropType, optionsShapeProp, valuePropType} from '../propTypes'; +import classNames from 'classnames'; +import Autocomplete from 'react-autocomplete' +import PropTypes from "prop-types"; +/** + * Encapsulates a complete Magic Select field + */ +export const MagicSelect = (props) => { + + const onChange = (event) => { + this.props.onValueChange(event.target.value); + }; + + return ( +
+ item.label} + items={[ + { label: 'apple' }, + { label: 'banana' }, + { label: 'pear' } + ]} + renderItem={(item, isHighlighted) => +
+ {item.label} +
+ } + value={props.value} + onChange={onChange} + onSelect={(val) => value = val} + /> +
+ ); +} + +/** + * Prop definitions for MagicSelect component +*/ +MagicSelect.propTypes = { + id: PropTypes.string.isRequired, + fieldsList: optionsShapeProp, + systemTagsList: optionsShapeProp, + isRequired: PropTypes.bool, + help: PropTypes.string, + value: valuePropType, + onValueChange: onValueChangePropType, + options: PropTypes.array, + disabled: PropTypes.bool, +}; + +/** + * Default property values for MagicSelect component + * + * @type {{}} + */ +MagicSelect.defaultProps = {}; \ No newline at end of file diff --git a/src/components/fields/magic-select/MagicSelect.test.js b/src/components/fields/magic-select/MagicSelect.test.js new file mode 100644 index 0000000..57231b6 --- /dev/null +++ b/src/components/fields/magic-select/MagicSelect.test.js @@ -0,0 +1,36 @@ + +import renderer from 'react-test-renderer'; +import React from 'react'; +import {mount} from 'enzyme'; +import Enzyme from 'enzyme'; +import Adapter from 'enzyme-adapter-react-16'; +import {MagicSelect } from "./MagicSelect"; + +Enzyme.configure({adapter: new Adapter()}); + +const genericChangeHandler = () => {}; +describe( 'MagicSelect component', () => { + let selectFieldValue = 'html'; + + + it( 'Matches snapshot', () => { + const component = renderer.create( + + ); + expect( component.toJSON() ).toMatchSnapshot(); + }) +}); \ No newline at end of file diff --git a/src/components/fields/magic-select/__snapshots__/MagicSelect.test.js.snap b/src/components/fields/magic-select/__snapshots__/MagicSelect.test.js.snap new file mode 100644 index 0000000..ea845db --- /dev/null +++ b/src/components/fields/magic-select/__snapshots__/MagicSelect.test.js.snap @@ -0,0 +1,28 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`MagicSelect component Matches snapshot 1`] = ` +
+
+ +
+
+`; diff --git a/stories/index.js b/stories/index.js deleted file mode 100644 index 9214f65..0000000 --- a/stories/index.js +++ /dev/null @@ -1,13 +0,0 @@ -import React from 'react'; - -import { storiesOf } from '@storybook/react'; -import { action } from '@storybook/addon-actions'; -import { linkTo } from '@storybook/addon-links'; - -import { Button, Welcome } from '@storybook/react/demo'; - -storiesOf('Welcome', module).add('to Storybook', () => ); - -storiesOf('Button', module) - .add('with text', () => ) - .add('with some emoji', () => ); From d6b879ed8a1f8a08242f90a2d8946772842eb4dd Mon Sep 17 00:00:00 2001 From: Josh Pollock Date: Thu, 5 Jul 2018 16:02:34 -0400 Subject: [PATCH 04/25] get MagicSelect roughly working #1 --- .../fields/magic-select/MagicSelect.js | 147 ++++++++++++++---- .../fields/magic-select/MagicSelect.test.js | 93 ++++++++++- .../__snapshots__/MagicSelect.test.js.snap | 4 +- 3 files changed, 210 insertions(+), 34 deletions(-) diff --git a/src/components/fields/magic-select/MagicSelect.js b/src/components/fields/magic-select/MagicSelect.js index 37ec51b..a2864b4 100644 --- a/src/components/fields/magic-select/MagicSelect.js +++ b/src/components/fields/magic-select/MagicSelect.js @@ -1,55 +1,141 @@ import React from 'react'; -import {fieldInnerPropTypes, inputTypeProp, onValueChangePropType, optionsShapeProp, valuePropType} from '../propTypes'; +import { + onValueChangePropType, + optionsShapeProp, + valuePropType +} from '../propTypes'; import classNames from 'classnames'; import Autocomplete from 'react-autocomplete' import PropTypes from "prop-types"; + /** * Encapsulates a complete Magic Select field */ -export const MagicSelect = (props) => { +export class MagicSelect extends React.PureComponent { + + /** + * Create a MagicSelect component + * + * @param {Object} props + */ + constructor(props) { + super(props); + this.state = { + currentList: props.defaultList, + isOpen: props.isOpen + }; + this.onChange = this.onChange.bind(this); + this.items = this.items.bind(this); + this.onChange = this.onChange.bind(this); + this.onSelect = this.onSelect.bind(this); + this.onInputFocus = this.onInputFocus.bind(this); + } - const onChange = (event) => { + /** + * Handle direct change events + * + * Probably not needed + * @param {Event} event + */ + onChange(event) { this.props.onValueChange(event.target.value); }; - return ( -
- item.label} - items={[ - { label: 'apple' }, - { label: 'banana' }, - { label: 'pear' } - ]} - renderItem={(item, isHighlighted) => -
- {item.label} -
- } - value={props.value} - onChange={onChange} - onSelect={(val) => value = val} - /> -
- ); + /** + * Create the list of items + * + * @return {Array} + */ + items() { + let items = []; + if (Array.isArray(this.props.options) && this.props.options.length) { + items = this.props.options; + } else if ('system' === this.state.currentList) { + items = this.props.systemTagsList + } else { + items = this.props.fieldsList; + } + + if (items.length) { + items.forEach((item, itemIndex) => { + items[itemIndex].key = `${item.value}-${itemIndex}`; + }); + } + + return items; + + } + + /** + * Handle when the field gets focus + */ + onInputFocus() { + this.setState({isOpen: true}); + } + + /** + * Handle when the option is chosen + * @param {String|number} value + */ + onSelect(value) { + this.props.onValueChange(value); + this.setState({isOpen: false}); + } + + /** + * Render MagicSelect component + * @return {*} + */ + render() { + return ( +
+ item.value} + items={this.items()} + inputProps={{ + id: this.props.id, + value: this.props.value, + className: `${this.props.id}-magic-input`, + onFocus: this.onInputFocus, + }} + renderItem={(item, isHighlighted) => +
+ {item.label} +
+ } + value={this.props.value} + onChange={this.onChange} + open={this.state.isOpen} + selectOnBlur={true} + onSelect={this.onSelect} + + /> +
+ ); + }; } + /** * Prop definitions for MagicSelect component -*/ + */ MagicSelect.propTypes = { id: PropTypes.string.isRequired, fieldsList: optionsShapeProp, systemTagsList: optionsShapeProp, + options: optionsShapeProp, isRequired: PropTypes.bool, help: PropTypes.string, value: valuePropType, onValueChange: onValueChangePropType, - options: PropTypes.array, disabled: PropTypes.bool, + defaultList: PropTypes.string, + isOpen: PropTypes.bool }; /** @@ -57,4 +143,7 @@ MagicSelect.propTypes = { * * @type {{}} */ -MagicSelect.defaultProps = {}; \ No newline at end of file +MagicSelect.defaultProps = { + defaultList: 'fields', + isOpen: false, +}; \ No newline at end of file diff --git a/src/components/fields/magic-select/MagicSelect.test.js b/src/components/fields/magic-select/MagicSelect.test.js index 57231b6..4b13e88 100644 --- a/src/components/fields/magic-select/MagicSelect.test.js +++ b/src/components/fields/magic-select/MagicSelect.test.js @@ -1,7 +1,7 @@ import renderer from 'react-test-renderer'; import React from 'react'; -import {mount} from 'enzyme'; +import {mount,shallow} from 'enzyme'; import Enzyme from 'enzyme'; import Adapter from 'enzyme-adapter-react-16'; import {MagicSelect } from "./MagicSelect"; @@ -10,8 +10,6 @@ Enzyme.configure({adapter: new Adapter()}); const genericChangeHandler = () => {}; describe( 'MagicSelect component', () => { - let selectFieldValue = 'html'; - it( 'Matches snapshot', () => { const component = renderer.create( @@ -32,5 +30,92 @@ describe( 'MagicSelect component', () => { /> ); expect( component.toJSON() ).toMatchSnapshot(); - }) + }); + + it( 'Has inner input', () => { + const component = mount( + + ); + expect( component.find( 'input' ).length ).toBe(1); + }); + + it( 'puts the right id attribute on inner input', () => { + const component = mount( + + ); + expect( component.find( 'input' ).prop( 'id') ).toBe('magic-2'); + }); + + describe( 'Options', () => { + it( 'shows none if closed', () => { + const component = mount( + + ); + expect( component.find( '.magic-input-option' ).length ).toBe(0); + }); + it( 'Uses options prop by default - right number of options', () => { + const component = mount( + + ); + expect( component.find( '.magic-input-option' ).length ).toBe(2); + }); + }); }); \ No newline at end of file diff --git a/src/components/fields/magic-select/__snapshots__/MagicSelect.test.js.snap b/src/components/fields/magic-select/__snapshots__/MagicSelect.test.js.snap index ea845db..8dbb473 100644 --- a/src/components/fields/magic-select/__snapshots__/MagicSelect.test.js.snap +++ b/src/components/fields/magic-select/__snapshots__/MagicSelect.test.js.snap @@ -2,7 +2,7 @@ exports[`MagicSelect component Matches snapshot 1`] = `
Date: Thu, 5 Jul 2018 16:33:00 -0400 Subject: [PATCH 05/25] #1 handle open/close and update of magic select #1 --- .../fields/magic-select/MagicSelect.js | 34 +-- .../fields/magic-select/MagicSelect.test.js | 225 ++++++++++++++++-- 2 files changed, 226 insertions(+), 33 deletions(-) diff --git a/src/components/fields/magic-select/MagicSelect.js b/src/components/fields/magic-select/MagicSelect.js index a2864b4..2cc166f 100644 --- a/src/components/fields/magic-select/MagicSelect.js +++ b/src/components/fields/magic-select/MagicSelect.js @@ -41,6 +41,22 @@ export class MagicSelect extends React.PureComponent { this.props.onValueChange(event.target.value); }; + /** + * Handle when the field gets focus + */ + onInputFocus() { + this.setState({isOpen: true}); + } + + /** + * Handle when the option is chosen + * @param {String|number} value + */ + onSelect(value) { + this.props.onValueChange(value); + this.setState({isOpen: false}); + } + /** * Create the list of items * @@ -66,22 +82,6 @@ export class MagicSelect extends React.PureComponent { } - /** - * Handle when the field gets focus - */ - onInputFocus() { - this.setState({isOpen: true}); - } - - /** - * Handle when the option is chosen - * @param {String|number} value - */ - onSelect(value) { - this.props.onValueChange(value); - this.setState({isOpen: false}); - } - /** * Render MagicSelect component * @return {*} @@ -103,7 +103,7 @@ export class MagicSelect extends React.PureComponent { renderItem={(item, isHighlighted) =>
{item.label}
diff --git a/src/components/fields/magic-select/MagicSelect.test.js b/src/components/fields/magic-select/MagicSelect.test.js index 4b13e88..06f0c51 100644 --- a/src/components/fields/magic-select/MagicSelect.test.js +++ b/src/components/fields/magic-select/MagicSelect.test.js @@ -1,17 +1,17 @@ - import renderer from 'react-test-renderer'; import React from 'react'; -import {mount,shallow} from 'enzyme'; +import {mount, shallow} from 'enzyme'; import Enzyme from 'enzyme'; import Adapter from 'enzyme-adapter-react-16'; -import {MagicSelect } from "./MagicSelect"; +import {MagicSelect} from "./MagicSelect"; Enzyme.configure({adapter: new Adapter()}); -const genericChangeHandler = () => {}; -describe( 'MagicSelect component', () => { +const genericChangeHandler = () => { +}; +describe('MagicSelect component', () => { - it( 'Matches snapshot', () => { + it('Matches snapshot', () => { const component = renderer.create( { ]} /> ); - expect( component.toJSON() ).toMatchSnapshot(); + expect(component.toJSON()).toMatchSnapshot(); }); - it( 'Has inner input', () => { + it('Has inner input', () => { const component = mount( { ]} /> ); - expect( component.find( 'input' ).length ).toBe(1); + expect(component.find('input').length).toBe(1); }); - it( 'puts the right id attribute on inner input', () => { + it('puts the right id attribute on inner input', () => { const component = mount( { ]} /> ); - expect( component.find( 'input' ).prop( 'id') ).toBe('magic-2'); + expect(component.find('input').prop('id')).toBe('magic-2'); }); - describe( 'Options', () => { - it( 'shows none if closed', () => { + describe('Options', () => { + it('shows no options if closed', () => { const component = mount( { isOpen={false} /> ); - expect( component.find( '.magic-input-option' ).length ).toBe(0); + expect(component.find('.magic-input-option').length).toBe(0); + }); + + it('Updates is open state when focused', () => { + let updatedValue = null; + const component = mount( + { + updatedValue = newValue; + }} + options={[ + { + label: 'a1', + value: 1 + }, + { + label: 'a14', + value: 14 + } + ]} + /> + ); + component.find( 'input' ).simulate('focus'); + expect(component.state('isOpen')).toEqual(true); + }); + + it('Updates is open state when a selection is made', () => { + let updatedValue = '914'; + const component = mount( + { + updatedValue = newValue; + }} + options={[ + { + label: 'a1', + value: '914' + }, + { + label: '914', + value: '914' + } + ]} + value={updatedValue} + /> + ); + component.find( 'input' ).simulate('focus'); + + component.find( '.magic-input-option' ).first().simulate('click'); + expect(component.state('isOpen')).toEqual(false); + }); + + + it('Uses options prop by default - right number of options', () => { + const component = mount( + + ); + expect(component.find('.magic-input-option').length).toBe(2); }); - it( 'Uses options prop by default - right number of options', () => { + + it('Uses options prop by default - right number of options', () => { const component = mount( { isOpen={true} /> ); - expect( component.find( '.magic-input-option' ).length ).toBe(2); + expect(component.find('.magic-input-option').length).toBe(2); }); + + it('Uses fieldsList prop if no options prop', () => { + const component = mount( + + ); + expect(component.find('.magic-input-option').length).toBe(3); + }); + + it('Uses systemTagsList prop if no options prop and currentList state is system', () => { + const component = mount( + + ); + component.setState({currentList: 'system'}); + expect(component.find('.magic-input-option').length).toBe(1); + }); + }); + + + describe('Value', () => { + it('Uses props.value to set value', () => { + const component = mount( + + ); + expect(component.find('input').prop('value')).toBe(1); + }); + + + it('Passes updated value properly through the onSelect handler', () => { + let updatedValue = null; + const component = mount( + { + updatedValue = newValue; + }} + options={[ + { + label: '1', + value: 1 + }, + { + label: '14', + value: 14 + } + ]} + value={1} + /> + ); + + component.instance().onSelect(14); + expect(updatedValue).toEqual(14); + }); + + }); }); \ No newline at end of file From 75bec8bb1750d0bb349b4ddfe805e4ea6c3d1a63 Mon Sep 17 00:00:00 2001 From: Josh Pollock Date: Thu, 5 Jul 2018 18:13:13 -0400 Subject: [PATCH 06/25] impliment MagicItem list component in magic select #1 --- .../fields/magic-select/MagicItem.js | 48 +++++++++++++++++++ .../fields/magic-select/MagicItem.test.js | 22 +++++++++ .../fields/magic-select/MagicSelect.js | 24 +++++----- .../fields/magic-select/MagicSelect.test.js | 14 +++--- .../__snapshots__/MagicItem.test.js.snap | 14 ++++++ 5 files changed, 103 insertions(+), 19 deletions(-) create mode 100644 src/components/fields/magic-select/MagicItem.js create mode 100644 src/components/fields/magic-select/MagicItem.test.js create mode 100644 src/components/fields/magic-select/__snapshots__/MagicItem.test.js.snap diff --git a/src/components/fields/magic-select/MagicItem.js b/src/components/fields/magic-select/MagicItem.js new file mode 100644 index 0000000..0fb46e4 --- /dev/null +++ b/src/components/fields/magic-select/MagicItem.js @@ -0,0 +1,48 @@ +import React from 'react'; +import { + optionShape +} from '../propTypes'; +import classNames from 'classnames'; +import PropTypes from 'prop-types'; + +/** + * Create magic item for option of magic selects + * + * @param {Object} props + * @return {*} + * @constructor + */ +export const MagicItem = (props) => { + return( +
+ {props.item.label} +
+ ); +}; + +/** + * Prop definitions for MagicItem component + * + * @type {{item: shim, isHighlighted: shim, className: shim, highlightColor: shim, notHighlighterColor: shim}} + */ +MagicItem.propTypes = { + item: PropTypes.shape(optionShape), + isHighlighted: PropTypes.bool, + className: PropTypes.string, + highlightColor: PropTypes.string, + notHighlighterColor: PropTypes.string +}; + +/** + * Default props for the MagicItem component + * + * @type {{isHighlighted: boolean, highlightColor: string, notHighlightedColor: string}} + */ +MagicItem.defaultProps = { + isHighlighted: false, + highlightColor: 'lightgray', + notHighlightedColor: 'white' +}; \ No newline at end of file diff --git a/src/components/fields/magic-select/MagicItem.test.js b/src/components/fields/magic-select/MagicItem.test.js new file mode 100644 index 0000000..ef6baea --- /dev/null +++ b/src/components/fields/magic-select/MagicItem.test.js @@ -0,0 +1,22 @@ +import renderer from 'react-test-renderer'; +import React from 'react'; +import {MagicItem} from './MagicItem'; + + +describe('MagicSelect component', () => { + + it('Matches snapshot', () => { + const component = renderer.create( + + ); + expect(component.toJSON()).toMatchSnapshot(); + }); +}); \ No newline at end of file diff --git a/src/components/fields/magic-select/MagicSelect.js b/src/components/fields/magic-select/MagicSelect.js index 2cc166f..e537be7 100644 --- a/src/components/fields/magic-select/MagicSelect.js +++ b/src/components/fields/magic-select/MagicSelect.js @@ -5,8 +5,9 @@ import { valuePropType } from '../propTypes'; import classNames from 'classnames'; -import Autocomplete from 'react-autocomplete' -import PropTypes from "prop-types"; +import Autocomplete from 'react-autocomplete'; +import PropTypes from 'prop-types'; +import {MagicItem} from './MagicItem'; /** * Encapsulates a complete Magic Select field @@ -39,7 +40,7 @@ export class MagicSelect extends React.PureComponent { */ onChange(event) { this.props.onValueChange(event.target.value); - }; + } /** * Handle when the field gets focus @@ -67,7 +68,7 @@ export class MagicSelect extends React.PureComponent { if (Array.isArray(this.props.options) && this.props.options.length) { items = this.props.options; } else if ('system' === this.state.currentList) { - items = this.props.systemTagsList + items = this.props.systemTagsList; } else { items = this.props.fieldsList; } @@ -100,13 +101,12 @@ export class MagicSelect extends React.PureComponent { className: `${this.props.id}-magic-input`, onFocus: this.onInputFocus, }} - renderItem={(item, isHighlighted) => -
- {item.label} -
+ renderItem={(item, isHighlighted) => { + return (MagicItem({ + item, + isHighlighted + })); + } } value={this.props.value} onChange={this.onChange} @@ -117,7 +117,7 @@ export class MagicSelect extends React.PureComponent { />
); - }; + } } diff --git a/src/components/fields/magic-select/MagicSelect.test.js b/src/components/fields/magic-select/MagicSelect.test.js index 06f0c51..8bdcb4e 100644 --- a/src/components/fields/magic-select/MagicSelect.test.js +++ b/src/components/fields/magic-select/MagicSelect.test.js @@ -3,7 +3,7 @@ import React from 'react'; import {mount, shallow} from 'enzyme'; import Enzyme from 'enzyme'; import Adapter from 'enzyme-adapter-react-16'; -import {MagicSelect} from "./MagicSelect"; +import {MagicSelect} from './MagicSelect'; Enzyme.configure({adapter: new Adapter()}); @@ -50,7 +50,7 @@ describe('MagicSelect component', () => { ]} /> ); - expect(component.find('input').length).toBe(1); + expect(component.find('input')).toHaveLength(1); }); it('puts the right id attribute on inner input', () => { @@ -94,7 +94,7 @@ describe('MagicSelect component', () => { isOpen={false} /> ); - expect(component.find('.magic-input-option').length).toBe(0); + expect(component.find('.magic-input-option')).toHaveLength(0); }); it('Updates is open state when focused', () => { @@ -170,7 +170,7 @@ describe('MagicSelect component', () => { isOpen={true} /> ); - expect(component.find('.magic-input-option').length).toBe(2); + expect(component.find('.magic-input-option')).toHaveLength(2); }); it('Uses options prop by default - right number of options', () => { @@ -192,7 +192,7 @@ describe('MagicSelect component', () => { isOpen={true} /> ); - expect(component.find('.magic-input-option').length).toBe(2); + expect(component.find('.magic-input-option')).toHaveLength(2); }); it('Uses fieldsList prop if no options prop', () => { @@ -224,7 +224,7 @@ describe('MagicSelect component', () => { isOpen={true} /> ); - expect(component.find('.magic-input-option').length).toBe(3); + expect(component.find('.magic-input-option')).toHaveLength(3); }); it('Uses systemTagsList prop if no options prop and currentList state is system', () => { @@ -257,7 +257,7 @@ describe('MagicSelect component', () => { /> ); component.setState({currentList: 'system'}); - expect(component.find('.magic-input-option').length).toBe(1); + expect(component.find('.magic-input-option')).toHaveLength(1); }); }); diff --git a/src/components/fields/magic-select/__snapshots__/MagicItem.test.js.snap b/src/components/fields/magic-select/__snapshots__/MagicItem.test.js.snap new file mode 100644 index 0000000..70f095f --- /dev/null +++ b/src/components/fields/magic-select/__snapshots__/MagicItem.test.js.snap @@ -0,0 +1,14 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`MagicSelect component Matches snapshot 1`] = ` +
+ HTML +
+`; From 7eb313316f96466d2a0d7ce749467223a49a694c Mon Sep 17 00:00:00 2001 From: Josh Pollock Date: Thu, 5 Jul 2018 18:18:48 -0400 Subject: [PATCH 07/25] #1 split value and label in MagicItem --- src/components/fields/magic-select/MagicItem.js | 15 ++++++++++++++- .../__snapshots__/MagicItem.test.js.snap | 11 ++++++++++- 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/src/components/fields/magic-select/MagicItem.js b/src/components/fields/magic-select/MagicItem.js index 0fb46e4..c83c9e1 100644 --- a/src/components/fields/magic-select/MagicItem.js +++ b/src/components/fields/magic-select/MagicItem.js @@ -18,8 +18,21 @@ export const MagicItem = (props) => { style={{background: props.isHighlighted ? props.highlightColor : props.notHighlighterColor}} className={classNames(props.className, 'magic-input-option')} > - {props.item.label} + + {props.item.value} + + + + {props.item.label} + +
+ ); }; diff --git a/src/components/fields/magic-select/__snapshots__/MagicItem.test.js.snap b/src/components/fields/magic-select/__snapshots__/MagicItem.test.js.snap index 70f095f..8a051cb 100644 --- a/src/components/fields/magic-select/__snapshots__/MagicItem.test.js.snap +++ b/src/components/fields/magic-select/__snapshots__/MagicItem.test.js.snap @@ -9,6 +9,15 @@ exports[`MagicSelect component Matches snapshot 1`] = ` } } > - HTML + + html + + + HTML + `; From 09903bd535ea5de63a7351397b26bb896998f367 Mon Sep 17 00:00:00 2001 From: Josh Pollock Date: Thu, 5 Jul 2018 18:30:53 -0400 Subject: [PATCH 08/25] #1 allow for render MagicItem wrapped in span --- .../fields/magic-select/MagicItem.js | 33 +++++++++++-------- .../fields/magic-select/MagicItem.test.js | 16 +++++++++ .../fields/magic-select/MagicSelect.js | 8 ++--- .../__snapshots__/MagicItem.test.js.snap | 22 +++++++++++++ 4 files changed, 59 insertions(+), 20 deletions(-) diff --git a/src/components/fields/magic-select/MagicItem.js b/src/components/fields/magic-select/MagicItem.js index c83c9e1..4621377 100644 --- a/src/components/fields/magic-select/MagicItem.js +++ b/src/components/fields/magic-select/MagicItem.js @@ -13,26 +13,29 @@ import PropTypes from 'prop-types'; * @constructor */ export const MagicItem = (props) => { - return( -
- + }, + ( + + {props.item.value} - + {props.item.label} - -
- + + ) ); }; @@ -42,6 +45,7 @@ export const MagicItem = (props) => { * @type {{item: shim, isHighlighted: shim, className: shim, highlightColor: shim, notHighlighterColor: shim}} */ MagicItem.propTypes = { + elementType: PropTypes.oneOf(['div', 'span']), item: PropTypes.shape(optionShape), isHighlighted: PropTypes.bool, className: PropTypes.string, @@ -55,6 +59,7 @@ MagicItem.propTypes = { * @type {{isHighlighted: boolean, highlightColor: string, notHighlightedColor: string}} */ MagicItem.defaultProps = { + elementType: 'div', isHighlighted: false, highlightColor: 'lightgray', notHighlightedColor: 'white' diff --git a/src/components/fields/magic-select/MagicItem.test.js b/src/components/fields/magic-select/MagicItem.test.js index ef6baea..790f613 100644 --- a/src/components/fields/magic-select/MagicItem.test.js +++ b/src/components/fields/magic-select/MagicItem.test.js @@ -19,4 +19,20 @@ describe('MagicSelect component', () => { ); expect(component.toJSON()).toMatchSnapshot(); }); + + it('Can render as span', () => { + const component = renderer.create( + + ); + expect(component.toJSON()).toMatchSnapshot(); + }); }); \ No newline at end of file diff --git a/src/components/fields/magic-select/MagicSelect.js b/src/components/fields/magic-select/MagicSelect.js index e537be7..6d0e15c 100644 --- a/src/components/fields/magic-select/MagicSelect.js +++ b/src/components/fields/magic-select/MagicSelect.js @@ -101,12 +101,8 @@ export class MagicSelect extends React.PureComponent { className: `${this.props.id}-magic-input`, onFocus: this.onInputFocus, }} - renderItem={(item, isHighlighted) => { - return (MagicItem({ - item, - isHighlighted - })); - } + renderItem={(item, isHighlighted) => + } value={this.props.value} onChange={this.onChange} diff --git a/src/components/fields/magic-select/__snapshots__/MagicItem.test.js.snap b/src/components/fields/magic-select/__snapshots__/MagicItem.test.js.snap index 8a051cb..b40ebd3 100644 --- a/src/components/fields/magic-select/__snapshots__/MagicItem.test.js.snap +++ b/src/components/fields/magic-select/__snapshots__/MagicItem.test.js.snap @@ -1,5 +1,27 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP +exports[`MagicSelect component Can render as span 1`] = ` + + + html + + + HTML + + +`; + exports[`MagicSelect component Matches snapshot 1`] = `
Date: Fri, 6 Jul 2018 13:58:33 -0400 Subject: [PATCH 09/25] #1 re-impliment magic item so that it doesn't make errors for passing ref to functional component --- .idea/workspace.xml | 535 +++++++++--------- asset-manifest.json | 5 + src/App.js | 23 +- src/components/fields/FieldInner.js | 3 +- .../__snapshots__/fieldFactory.test.js.snap | 6 +- .../fields/factories/fieldFactory.test.js | 6 +- .../fields/magic-select/MagicItem.js | 62 +- .../fields/magic-select/MagicSelect.js | 15 +- .../fields/magic-select/MagicSelect.test.js | 18 +- src/components/fields/propTypes.js | 28 +- src/components/fields/select/SelectField.js | 3 + yarn.lock | 87 ++- 12 files changed, 475 insertions(+), 316 deletions(-) create mode 100644 asset-manifest.json diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 56f6276..f2d7157 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -1,7 +1,19 @@ - + + + + + + + + + + + + + - - - - - - - - - - - - - - - - + + - - + + + + + - - + + - - + + - - + + - - + + - - + + - - + + + + + - - + + - - + + + + + - - + + - - + + - + - - - - - - - - - - - - - - - - - @@ -113,15 +103,6 @@ - Passes properly formatted message object - casts fals - compose - caldera-components-error - Does have caldera-components-error class when not an error - setValue - 78.23 - simulate - checkbox configValues new Date skip @@ -143,6 +124,15 @@ fieldInnerPropTypes addAutomaticValidators message + options + Creates the + cre + sim + items + isOpen + state + when + Magic caldera-components @@ -157,6 +147,7 @@ $PROJECT_DIR$/src/components $PROJECT_DIR$/src/components/validation $PROJECT_DIR$/src + $PROJECT_DIR$/src/components/fields @@ -165,13 +156,6 @@ @@ -236,9 +227,9 @@ - @@ -279,7 +270,7 @@ - +
diff --git a/src/components/fields/factories/fieldFactory.test.js b/src/components/fields/factories/fieldFactory.test.js index 22d148d..35371bf 100644 --- a/src/components/fields/factories/fieldFactory.test.js +++ b/src/components/fields/factories/fieldFactory.test.js @@ -35,7 +35,10 @@ const configFields = [ 'id': 'pid-1', 'label': 'Sequence', 'type': 'dropdown', - 'options': ['-- Select A ConvertKit Sequence --'], + 'options': [{ + value: null, + label:'-- Select --' + }], 'desc': 'ConvertKit sequence to add subscriber to. Sequences are also referred to as courses.', 'description': false, 'extra_classes': 'field-Something is wrong', @@ -368,7 +371,6 @@ describe('Factories', () => { ); expect(wrapper.children()).toHaveLength(configFields.length); expect(wrapper.find('.f-1')).toHaveLength(1); - expect(wrapper.find('.f-1').text()).toBe('Sequence'); }); diff --git a/src/components/fields/magic-select/MagicItem.js b/src/components/fields/magic-select/MagicItem.js index 4621377..153a9cd 100644 --- a/src/components/fields/magic-select/MagicItem.js +++ b/src/components/fields/magic-select/MagicItem.js @@ -8,44 +8,57 @@ import PropTypes from 'prop-types'; /** * Create magic item for option of magic selects * + * This can not be a functional component + * https://github.com/reactjs/react-autocomplete/pull/293#issuecomment-371617758 + * + * * @param {Object} props * @return {*} * @constructor */ -export const MagicItem = (props) => { - return React.createElement( - props.elementType, - { - style: {background: props.isHighlighted ? props.highlightColor : props.notHighlighterColor}, - className: classNames(props.className, 'magic-input-option') +export class MagicItem extends React.PureComponent { + + render() { + return React.createElement( + this.props.elementType, + { + style: {background: this.props.isHighlighted ? this.props.highlightColor : this.props.notHighlighterColor}, + className: classNames(this.props.className, 'magic-input-option'), - }, - ( - - + - {props.item.value} - + > + {this.props.item.value} + - - {props.item.label} - - - ) - ); + + {this.props.item.label} + + + ) + ); + } }; +/** + * Prop definition for allowed element types + * @type {shim} + */ +const elemenetTypesProp = PropTypes.oneOf(['div', 'span']); /** * Prop definitions for MagicItem component * * @type {{item: shim, isHighlighted: shim, className: shim, highlightColor: shim, notHighlighterColor: shim}} */ MagicItem.propTypes = { - elementType: PropTypes.oneOf(['div', 'span']), + elementType: elemenetTypesProp, + innerElementType: elemenetTypesProp, item: PropTypes.shape(optionShape), isHighlighted: PropTypes.bool, className: PropTypes.string, @@ -60,7 +73,8 @@ MagicItem.propTypes = { */ MagicItem.defaultProps = { elementType: 'div', + innerElementType: 'div', isHighlighted: false, highlightColor: 'lightgray', - notHighlightedColor: 'white' + notHighlightedColor: 'white', }; \ No newline at end of file diff --git a/src/components/fields/magic-select/MagicSelect.js b/src/components/fields/magic-select/MagicSelect.js index 6d0e15c..8f4c1ce 100644 --- a/src/components/fields/magic-select/MagicSelect.js +++ b/src/components/fields/magic-select/MagicSelect.js @@ -30,6 +30,7 @@ export class MagicSelect extends React.PureComponent { this.onChange = this.onChange.bind(this); this.onSelect = this.onSelect.bind(this); this.onInputFocus = this.onInputFocus.bind(this); + this.onInputBlur = this.onInputBlur.bind(this); } /** @@ -49,13 +50,20 @@ export class MagicSelect extends React.PureComponent { this.setState({isOpen: true}); } + /** + * Handle when the field is blurred + */ + onInputBlur() { + this.setState({isOpen: false}); + } + + /** * Handle when the option is chosen * @param {String|number} value */ onSelect(value) { this.props.onValueChange(value); - this.setState({isOpen: false}); } /** @@ -100,15 +108,18 @@ export class MagicSelect extends React.PureComponent { value: this.props.value, className: `${this.props.id}-magic-input`, onFocus: this.onInputFocus, + onBlur:this.onInputBlur, + onClick:this.onChange }} renderItem={(item, isHighlighted) => - + } value={this.props.value} onChange={this.onChange} open={this.state.isOpen} selectOnBlur={true} onSelect={this.onSelect} + onBlur={()=> { console.log('bo')}} /> diff --git a/src/components/fields/magic-select/MagicSelect.test.js b/src/components/fields/magic-select/MagicSelect.test.js index 8bdcb4e..e5408d0 100644 --- a/src/components/fields/magic-select/MagicSelect.test.js +++ b/src/components/fields/magic-select/MagicSelect.test.js @@ -122,11 +122,11 @@ describe('MagicSelect component', () => { expect(component.state('isOpen')).toEqual(true); }); - it('Updates is open state when a selection is made', () => { - let updatedValue = '914'; + it('Updates is open state when blurred', () => { + let updatedValue = null; const component = mount( { updatedValue = newValue; @@ -134,23 +134,19 @@ describe('MagicSelect component', () => { options={[ { label: 'a1', - value: '914' + value: 1 }, { - label: '914', - value: '914' + label: 'a14', + value: 14 } ]} - value={updatedValue} /> ); - component.find( 'input' ).simulate('focus'); - - component.find( '.magic-input-option' ).first().simulate('click'); + component.find( 'input' ).simulate('blur'); expect(component.state('isOpen')).toEqual(false); }); - it('Uses options prop by default - right number of options', () => { const component = mount( { */ SelectField.propTypes = { ...fieldPropTypes, + options: optionsShapeProp + }; /** diff --git a/yarn.lock b/yarn.lock index 9368a26..c7f771b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,6 +2,13 @@ # yarn lockfile v1 +"@helpdotcom/is@^3.0.4": + version "3.0.4" + resolved "https://registry.yarnpkg.com/@helpdotcom/is/-/is-3.0.4.tgz#009eccf243e837909f93dbd07fc7238db03c189a" + dependencies: + ip-address "~5.8.8" + tldjs "~1.6.2" + "@types/node@*": version "10.3.4" resolved "https://registry.yarnpkg.com/@types/node/-/node-10.3.4.tgz#c74e8aec19e555df44609b8057311052a2c84d9e" @@ -1873,6 +1880,17 @@ cosmiconfig@^2.1.0, cosmiconfig@^2.1.1: parse-json "^2.2.0" require-from-string "^1.1.0" +coveralls@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/coveralls/-/coveralls-3.0.2.tgz#f5a0bcd90ca4e64e088b710fa8dda640aea4884f" + dependencies: + growl "~> 1.10.0" + js-yaml "^3.11.0" + lcov-parse "^0.0.10" + log-driver "^1.2.7" + minimist "^1.2.0" + request "^2.85.0" + create-ecdh@^4.0.0: version "4.0.3" resolved "https://registry.yarnpkg.com/create-ecdh/-/create-ecdh-4.0.3.tgz#c9111b6f33045c4697f144787f9254cdc77c45ff" @@ -2268,6 +2286,10 @@ dom-converter@~0.1: dependencies: utila "~0.3" +dom-scroll-into-view@1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/dom-scroll-into-view/-/dom-scroll-into-view-1.0.1.tgz#32abb92f0d8feca6215162aef43e4b449ab8d99c" + dom-serializer@0, dom-serializer@~0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/dom-serializer/-/dom-serializer-0.1.0.tgz#073c697546ce0780ce23be4a28e293e40bc30c82" @@ -3465,6 +3487,10 @@ graceful-fs@^4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.4, graceful-fs@^4.1.6, version "4.1.11" resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658" +"growl@~> 1.10.0": + version "1.10.5" + resolved "https://registry.yarnpkg.com/growl/-/growl-1.10.5.tgz#f2735dc2283674fa67478b10181059355c369e5e" + growly@^1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/growly/-/growly-1.3.0.tgz#f10748cbe76af964b7c96c93c6bcc28af120c081" @@ -3893,6 +3919,18 @@ invert-kv@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/invert-kv/-/invert-kv-1.0.0.tgz#104a8e4aaca6d3d8cd157a8ef8bfab2d7a3ffdb6" +ip-address@~5.8.8: + version "5.8.9" + resolved "https://registry.yarnpkg.com/ip-address/-/ip-address-5.8.9.tgz#6379277c23fc5adb20511e4d23ec2c1bde105dfd" + dependencies: + jsbn "1.1.0" + lodash.find "^4.6.0" + lodash.max "^4.0.1" + lodash.merge "^4.6.0" + lodash.padstart "^4.6.1" + lodash.repeat "^4.1.0" + sprintf-js "1.1.0" + ip@^1.1.0, ip@^1.1.5: version "1.1.5" resolved "https://registry.yarnpkg.com/ip/-/ip-1.1.5.tgz#bdded70114290828c0a039e72ef25f5aaec4354a" @@ -4514,7 +4552,7 @@ js-tokens@^3.0.0, js-tokens@^3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b" -js-yaml@^3.4.3, js-yaml@^3.7.0, js-yaml@^3.9.1: +js-yaml@^3.11.0, js-yaml@^3.4.3, js-yaml@^3.7.0, js-yaml@^3.9.1: version "3.12.0" resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.12.0.tgz#eaed656ec8344f10f527c6bfa1b6e2244de167d1" dependencies: @@ -4528,6 +4566,10 @@ js-yaml@~3.7.0: argparse "^1.0.7" esprima "^2.6.0" +jsbn@1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-1.1.0.tgz#b01307cb29b618a1ed26ec79e911f803c4da0040" + jsbn@~0.1.0: version "0.1.1" resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513" @@ -4705,6 +4747,10 @@ lcid@^1.0.0: dependencies: invert-kv "^1.0.0" +lcov-parse@^0.0.10: + version "0.0.10" + resolved "https://registry.yarnpkg.com/lcov-parse/-/lcov-parse-0.0.10.tgz#1b0b8ff9ac9c7889250582b70b71315d9da6d9a3" + leven@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/leven/-/leven-2.1.0.tgz#c2e7a9f772094dee9d34202ae8acce4687875580" @@ -4798,6 +4844,10 @@ lodash.filter@^4.4.0: version "4.6.0" resolved "https://registry.yarnpkg.com/lodash.filter/-/lodash.filter-4.6.0.tgz#668b1d4981603ae1cc5a6fa760143e480b4c4ace" +lodash.find@^4.6.0: + version "4.6.0" + resolved "https://registry.yarnpkg.com/lodash.find/-/lodash.find-4.6.0.tgz#cb0704d47ab71789ffa0de8b97dd926fb88b13b1" + lodash.flatten@^4.2.0: version "4.4.0" resolved "https://registry.yarnpkg.com/lodash.flatten/-/lodash.flatten-4.4.0.tgz#f31c22225a9632d2bbf8e4addbef240aa765a61f" @@ -4814,14 +4864,22 @@ lodash.map@^4.4.0: version "4.6.0" resolved "https://registry.yarnpkg.com/lodash.map/-/lodash.map-4.6.0.tgz#771ec7839e3473d9c4cde28b19394c3562f4f6d3" +lodash.max@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/lodash.max/-/lodash.max-4.0.1.tgz#8735566c618b35a9f760520b487ae79658af136a" + lodash.memoize@^4.1.2: version "4.1.2" resolved "https://registry.yarnpkg.com/lodash.memoize/-/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe" -lodash.merge@^4.4.0: +lodash.merge@^4.4.0, lodash.merge@^4.6.0: version "4.6.1" resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.1.tgz#adc25d9cb99b9391c59624f379fbba60d7111d54" +lodash.padstart@^4.6.1: + version "4.6.1" + resolved "https://registry.yarnpkg.com/lodash.padstart/-/lodash.padstart-4.6.1.tgz#d2e3eebff0d9d39ad50f5cbd1b52a7bce6bb611b" + lodash.pick@^4.2.1: version "4.4.0" resolved "https://registry.yarnpkg.com/lodash.pick/-/lodash.pick-4.4.0.tgz#52f05610fff9ded422611441ed1fc123a03001b3" @@ -4834,6 +4892,10 @@ lodash.reject@^4.4.0: version "4.6.0" resolved "https://registry.yarnpkg.com/lodash.reject/-/lodash.reject-4.6.0.tgz#80d6492dc1470864bbf583533b651f42a9f52415" +lodash.repeat@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/lodash.repeat/-/lodash.repeat-4.1.0.tgz#fc7de8131d8c8ac07e4b49f74ffe829d1f2bec44" + lodash.some@^4.4.0: version "4.6.0" resolved "https://registry.yarnpkg.com/lodash.some/-/lodash.some-4.6.0.tgz#1bb9f314ef6b8baded13b549169b2a945eb68e4d" @@ -4859,6 +4921,10 @@ lodash.uniq@^4.5.0: version "4.17.10" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.10.tgz#1b7793cf7259ea38fb3661d4d38b3260af8ae4e7" +log-driver@^1.2.7: + version "1.2.7" + resolved "https://registry.yarnpkg.com/log-driver/-/log-driver-1.2.7.tgz#63b95021f0702fedfa2c9bb0a24e7797d71871d8" + loglevel@^1.4.1: version "1.6.1" resolved "https://registry.yarnpkg.com/loglevel/-/loglevel-1.6.1.tgz#e0fc95133b6ef276cdc8887cdaf24aa6f156f8fa" @@ -6248,6 +6314,13 @@ rc@^1.0.1, rc@^1.1.6, rc@^1.1.7: minimist "^1.2.0" strip-json-comments "~2.0.1" +react-autocomplete@^1.8.1: + version "1.8.1" + resolved "https://registry.yarnpkg.com/react-autocomplete/-/react-autocomplete-1.8.1.tgz#ebbbc400006aa91ad538b2d14727b9e7e5d06310" + dependencies: + dom-scroll-into-view "1.0.1" + prop-types "^15.5.10" + react-dev-utils@^4.2.1: version "4.2.1" resolved "https://registry.yarnpkg.com/react-dev-utils/-/react-dev-utils-4.2.1.tgz#9f2763e7bafa1a1b9c52254d2a479deec280f111" @@ -6600,7 +6673,7 @@ request@2.81.0: tunnel-agent "^0.6.0" uuid "^3.0.0" -request@^2.55.0, request@^2.79.0: +request@^2.55.0, request@^2.79.0, request@^2.85.0: version "2.87.0" resolved "https://registry.yarnpkg.com/request/-/request-2.87.0.tgz#32f00235cd08d482b4d0d68db93a829c0ed5756e" dependencies: @@ -7067,6 +7140,10 @@ split-string@^3.0.1, split-string@^3.0.2: dependencies: extend-shallow "^3.0.0" +sprintf-js@1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.1.0.tgz#cffcaf702daf65ea39bb4e0fa2b299cec1a1be46" + sprintf-js@~1.0.2: version "1.0.3" resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" @@ -7370,6 +7447,10 @@ timers-browserify@^2.0.4: dependencies: setimmediate "^1.0.4" +tldjs@~1.6.2: + version "1.6.3" + resolved "https://registry.yarnpkg.com/tldjs/-/tldjs-1.6.3.tgz#6c2ecbcf5164dc7e73e98b4efe7585d5eea74e2d" + tmp@^0.0.33: version "0.0.33" resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.0.33.tgz#6d34335889768d21b2bcda0aa277ced3b1bfadf9" From 4877dd6e1054785d040e0e29dc08dad9794fe1e1 Mon Sep 17 00:00:00 2001 From: Josh Pollock Date: Fri, 6 Jul 2018 16:22:35 -0400 Subject: [PATCH 10/25] additional test coverage #1 --- .idea/workspace.xml | 347 ++++++++++-------- .../handlers.test.js | 14 +- src/components/renderGroup.test.js | 31 ++ 3 files changed, 237 insertions(+), 155 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index f2d7157..0c06b66 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -3,16 +3,8 @@ - - - - - - - - - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - configValues - new Date skip CalderaConditionals prepare @@ -124,7 +164,6 @@ fieldInnerPropTypes addAutomaticValidators message - options Creates the cre sim @@ -132,7 +171,10 @@ isOpen state when + FieldIn + options Magic + onBlur caldera-components @@ -156,7 +198,6 @@ @@ -227,10 +269,10 @@ - @@ -270,7 +312,7 @@ - + @@ -374,12 +387,12 @@ - + - @@ -390,12 +403,12 @@ - - - + + + - + @@ -480,8 +493,14 @@ 50 @@ -714,16 +733,6 @@
- - - - - - - - - - @@ -752,46 +761,40 @@ - + - - + + - + - - - - - + + - + - - + + - + - + - - - - - + + - + @@ -799,6 +802,13 @@ + + + + + + + @@ -809,40 +819,49 @@ - + - - + + - + - - + + + + + - + - - + + + + + - + - - + + + + + - + - - + + - + diff --git a/src/App.js b/src/App.js index 8bcfdcc..dbcafd4 100644 --- a/src/App.js +++ b/src/App.js @@ -160,6 +160,14 @@ class App extends Component { } ]} /> + {}} + options={[ + + ]} + />
diff --git a/src/components/fields/magic-select/MagicItem.js b/src/components/fields/magic-select/MagicItem.js index 153a9cd..bb5463e 100644 --- a/src/components/fields/magic-select/MagicItem.js +++ b/src/components/fields/magic-select/MagicItem.js @@ -18,6 +18,9 @@ import PropTypes from 'prop-types'; */ export class MagicItem extends React.PureComponent { + /** + * Render magic item components + */ render() { return React.createElement( this.props.elementType, @@ -26,22 +29,24 @@ export class MagicItem extends React.PureComponent { className: classNames(this.props.className, 'magic-input-option'), }, - ( - - - {this.props.item.value} - - - - {this.props.item.label} - - - ) + [ + React.createElement( + this.props.innerElementType, + { + key: `left--${this.props.innerKey}`, + className: classNames('magic-item-value', 'magic-item-left') + }, + this.props.item.value + ), + React.createElement( + this.props.innerElementType, + { + key: `right--${this.props.innerKey}`, + className: classNames('magic-item-label', 'magic-item-right') + }, + this.props.item.label + ) + ] ); } }; @@ -50,20 +55,21 @@ export class MagicItem extends React.PureComponent { * Prop definition for allowed element types * @type {shim} */ -const elemenetTypesProp = PropTypes.oneOf(['div', 'span']); +const elementTypesProp = PropTypes.oneOf(['div', 'span']); /** * Prop definitions for MagicItem component * * @type {{item: shim, isHighlighted: shim, className: shim, highlightColor: shim, notHighlighterColor: shim}} */ MagicItem.propTypes = { - elementType: elemenetTypesProp, - innerElementType: elemenetTypesProp, + elementType: elementTypesProp, + innerElementType: elementTypesProp, item: PropTypes.shape(optionShape), isHighlighted: PropTypes.bool, className: PropTypes.string, highlightColor: PropTypes.string, - notHighlighterColor: PropTypes.string + notHighlighterColor: PropTypes.string, + innerKey: PropTypes.string.isRequired }; /** @@ -73,7 +79,7 @@ MagicItem.propTypes = { */ MagicItem.defaultProps = { elementType: 'div', - innerElementType: 'div', + innerElementType: 'span', isHighlighted: false, highlightColor: 'lightgray', notHighlightedColor: 'white', diff --git a/src/components/fields/magic-select/MagicItem.test.js b/src/components/fields/magic-select/MagicItem.test.js index 790f613..afea8fb 100644 --- a/src/components/fields/magic-select/MagicItem.test.js +++ b/src/components/fields/magic-select/MagicItem.test.js @@ -10,8 +10,10 @@ describe('MagicSelect component', () => { { label: 'HTML', value: 'html' }} + innerKey={'1'} highlightColor={'#fff00'} notHighlighterColor={'white'} isHighlighted={true} @@ -35,4 +38,21 @@ describe('MagicSelect component', () => { ); expect(component.toJSON()).toMatchSnapshot(); }); + + it('Can render inner type as div', () => { + const component = renderer.create( + + ); + expect(component.toJSON()).toMatchSnapshot(); + }); }); \ No newline at end of file diff --git a/src/components/fields/magic-select/MagicSelect.js b/src/components/fields/magic-select/MagicSelect.js index 8f4c1ce..57ae679 100644 --- a/src/components/fields/magic-select/MagicSelect.js +++ b/src/components/fields/magic-select/MagicSelect.js @@ -30,6 +30,7 @@ export class MagicSelect extends React.PureComponent { this.onChange = this.onChange.bind(this); this.onSelect = this.onSelect.bind(this); this.onInputFocus = this.onInputFocus.bind(this); + this.renderItem = this.renderItem.bind(this); this.onInputBlur = this.onInputBlur.bind(this); } @@ -66,25 +67,48 @@ export class MagicSelect extends React.PureComponent { this.props.onValueChange(value); } + /** + * Render option + * + * @param {object} item + * @param {bool} isHighlighted + * @return {*} + */ + renderItem(item, isHighlighted){ + return + } + /** * Create the list of items * * @return {Array} */ items() { + const optionsOrEmpty =(options) => { + return Array.isArray(options) && options.length ? options : []; + }; + let items = []; - if (Array.isArray(this.props.options) && this.props.options.length) { - items = this.props.options; - } else if ('system' === this.state.currentList) { - items = this.props.systemTagsList; + + if( optionsOrEmpty(this.props.options).length){ + items = optionsOrEmpty(this.props.options); + } + else if ('system' === this.state.currentList ) { + items = optionsOrEmpty(this.props.systemTagsList); } else { - items = this.props.fieldsList; + items = optionsOrEmpty(this.props.fieldsList); } if (items.length) { items.forEach((item, itemIndex) => { - items[itemIndex].key = `${item.value}-${itemIndex}`; + items[itemIndex].innerKey = `${item.value}-${itemIndex}`; }); + }else{ + items.push({ + value: null, + label: null, + innerKey:this.props.id + }) } return items; @@ -111,9 +135,7 @@ export class MagicSelect extends React.PureComponent { onBlur:this.onInputBlur, onClick:this.onChange }} - renderItem={(item, isHighlighted) => - - } + renderItem={this.renderItem} value={this.props.value} onChange={this.onChange} open={this.state.isOpen} diff --git a/src/components/fields/magic-select/__snapshots__/MagicItem.test.js.snap b/src/components/fields/magic-select/__snapshots__/MagicItem.test.js.snap index b40ebd3..9b6c24b 100644 --- a/src/components/fields/magic-select/__snapshots__/MagicItem.test.js.snap +++ b/src/components/fields/magic-select/__snapshots__/MagicItem.test.js.snap @@ -10,18 +10,40 @@ exports[`MagicSelect component Can render as span 1`] = ` } > html HTML `; +exports[`MagicSelect component Can render inner type as div 1`] = ` +
+
+ html +
+
+ HTML +
+
+`; + exports[`MagicSelect component Matches snapshot 1`] = `
html HTML From 06e0c31cbc4f0893993b3917f0ad1b0ac49c6871 Mon Sep 17 00:00:00 2001 From: Josh Pollock Date: Fri, 6 Jul 2018 18:00:20 -0400 Subject: [PATCH 12/25] accidently add a button group component #1 --- .../fields/magic-select/MagicChooser.js | 58 +++++++++++++++++++ .../fields/magic-select/MagicChooser.test.js | 50 ++++++++++++++++ .../fields/magic-select/MagicSelect.js | 3 +- .../__snapshots__/MagicChooser.test.js.snap | 13 +++++ 4 files changed, 122 insertions(+), 2 deletions(-) create mode 100644 src/components/fields/magic-select/MagicChooser.js create mode 100644 src/components/fields/magic-select/MagicChooser.test.js create mode 100644 src/components/fields/magic-select/__snapshots__/MagicChooser.test.js.snap diff --git a/src/components/fields/magic-select/MagicChooser.js b/src/components/fields/magic-select/MagicChooser.js new file mode 100644 index 0000000..68ab3e0 --- /dev/null +++ b/src/components/fields/magic-select/MagicChooser.js @@ -0,0 +1,58 @@ +import React from 'react'; +import {optionsShapeProp} from '../propTypes'; +import PropTypes from 'prop-types' +/** + * Creates a select field + * + * @param {Object} props + * @returns {*} + * @constructor + */ +export const MagicChooser = (props) => { + /** + * Dispatches new value(s) to parent + * + * @param selection + * @returns {*} + */ + function changeHandler(selection) { + return props.onMagicChange(selection); + } + + return ( +
+ {props.options.map(option => { + return + })} +
+ + + + ); +}; + +/** + * Prop definition for select fields + * + * @type {{}} + */ +MagicChooser.propTypes = { + onMagicChange: PropTypes.func.isRequired, + options: optionsShapeProp +}; + +/** + * Default props for select fields + * + * @type {{options: Array}} + */ +MagicChooser.defaultProps = { + options: [] +}; \ No newline at end of file diff --git a/src/components/fields/magic-select/MagicChooser.test.js b/src/components/fields/magic-select/MagicChooser.test.js new file mode 100644 index 0000000..4e2d9e9 --- /dev/null +++ b/src/components/fields/magic-select/MagicChooser.test.js @@ -0,0 +1,50 @@ +import {MagicChooser} from './MagicChooser'; +import renderer from 'react-test-renderer'; +import React from 'react'; +import {mount} from 'enzyme'; +import Enzyme from 'enzyme'; +import Adapter from 'enzyme-adapter-react-16'; + +Enzyme.configure({adapter: new Adapter()}); + +describe('Select field component', () => { + function genericChangeHandler() { + + } + + it('Creates with one option', () => { + const component = renderer.create( + + ); + expect(component.toJSON()).toMatchSnapshot(); + }); + + it('Sends the right update value when clicked', () => { + let updateValue = null; + const component = mount( + { + updateValue = newValue + }} + options={[ + { + value: 'Tags', + label: 'Tags' + } + ]} + /> + ); + component.find('button').simulate('click'); + expect(updateValue).toBe('Tags') + }); + + +}); \ No newline at end of file diff --git a/src/components/fields/magic-select/MagicSelect.js b/src/components/fields/magic-select/MagicSelect.js index 57ae679..a36ef75 100644 --- a/src/components/fields/magic-select/MagicSelect.js +++ b/src/components/fields/magic-select/MagicSelect.js @@ -8,6 +8,7 @@ import classNames from 'classnames'; import Autocomplete from 'react-autocomplete'; import PropTypes from 'prop-types'; import {MagicItem} from './MagicItem'; +import {ButtonGroup} from "../button-group/ButtonGroup"; /** * Encapsulates a complete Magic Select field @@ -141,8 +142,6 @@ export class MagicSelect extends React.PureComponent { open={this.state.isOpen} selectOnBlur={true} onSelect={this.onSelect} - onBlur={()=> { console.log('bo')}} - />
); diff --git a/src/components/fields/magic-select/__snapshots__/MagicChooser.test.js.snap b/src/components/fields/magic-select/__snapshots__/MagicChooser.test.js.snap new file mode 100644 index 0000000..4b16f86 --- /dev/null +++ b/src/components/fields/magic-select/__snapshots__/MagicChooser.test.js.snap @@ -0,0 +1,13 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`Select field component Creates with one option 1`] = ` +
+ +
+`; From 13e685a7a0c9c3b683d372444e214f17c535416e Mon Sep 17 00:00:00 2001 From: Josh Pollock Date: Sat, 7 Jul 2018 09:49:40 -0400 Subject: [PATCH 13/25] allow icon buttons #1 --- .../fields/magic-select/MagicChooser.js | 58 ------------------- .../fields/magic-select/MagicChooser.test.js | 50 ---------------- .../fields/magic-select/MagicSelect.js | 10 ++++ .../__snapshots__/MagicChooser.test.js.snap | 13 ----- 4 files changed, 10 insertions(+), 121 deletions(-) delete mode 100644 src/components/fields/magic-select/MagicChooser.js delete mode 100644 src/components/fields/magic-select/MagicChooser.test.js delete mode 100644 src/components/fields/magic-select/__snapshots__/MagicChooser.test.js.snap diff --git a/src/components/fields/magic-select/MagicChooser.js b/src/components/fields/magic-select/MagicChooser.js deleted file mode 100644 index 68ab3e0..0000000 --- a/src/components/fields/magic-select/MagicChooser.js +++ /dev/null @@ -1,58 +0,0 @@ -import React from 'react'; -import {optionsShapeProp} from '../propTypes'; -import PropTypes from 'prop-types' -/** - * Creates a select field - * - * @param {Object} props - * @returns {*} - * @constructor - */ -export const MagicChooser = (props) => { - /** - * Dispatches new value(s) to parent - * - * @param selection - * @returns {*} - */ - function changeHandler(selection) { - return props.onMagicChange(selection); - } - - return ( -
- {props.options.map(option => { - return - })} -
- - - - ); -}; - -/** - * Prop definition for select fields - * - * @type {{}} - */ -MagicChooser.propTypes = { - onMagicChange: PropTypes.func.isRequired, - options: optionsShapeProp -}; - -/** - * Default props for select fields - * - * @type {{options: Array}} - */ -MagicChooser.defaultProps = { - options: [] -}; \ No newline at end of file diff --git a/src/components/fields/magic-select/MagicChooser.test.js b/src/components/fields/magic-select/MagicChooser.test.js deleted file mode 100644 index 4e2d9e9..0000000 --- a/src/components/fields/magic-select/MagicChooser.test.js +++ /dev/null @@ -1,50 +0,0 @@ -import {MagicChooser} from './MagicChooser'; -import renderer from 'react-test-renderer'; -import React from 'react'; -import {mount} from 'enzyme'; -import Enzyme from 'enzyme'; -import Adapter from 'enzyme-adapter-react-16'; - -Enzyme.configure({adapter: new Adapter()}); - -describe('Select field component', () => { - function genericChangeHandler() { - - } - - it('Creates with one option', () => { - const component = renderer.create( - - ); - expect(component.toJSON()).toMatchSnapshot(); - }); - - it('Sends the right update value when clicked', () => { - let updateValue = null; - const component = mount( - { - updateValue = newValue - }} - options={[ - { - value: 'Tags', - label: 'Tags' - } - ]} - /> - ); - component.find('button').simulate('click'); - expect(updateValue).toBe('Tags') - }); - - -}); \ No newline at end of file diff --git a/src/components/fields/magic-select/MagicSelect.js b/src/components/fields/magic-select/MagicSelect.js index a36ef75..28ae970 100644 --- a/src/components/fields/magic-select/MagicSelect.js +++ b/src/components/fields/magic-select/MagicSelect.js @@ -33,6 +33,7 @@ export class MagicSelect extends React.PureComponent { this.onInputFocus = this.onInputFocus.bind(this); this.renderItem = this.renderItem.bind(this); this.onInputBlur = this.onInputBlur.bind(this); + this.onChangeListType = this.onChangeListType.bind(this); } /** @@ -68,6 +69,14 @@ export class MagicSelect extends React.PureComponent { this.props.onValueChange(value); } + /** + * Update list of tags to show + * @param {String}newType + */ + onChangeListType(newType){ + this.setState({currentList:newType}); + } + /** * Render option * @@ -125,6 +134,7 @@ export class MagicSelect extends React.PureComponent {
+ item.value} items={this.items()} diff --git a/src/components/fields/magic-select/__snapshots__/MagicChooser.test.js.snap b/src/components/fields/magic-select/__snapshots__/MagicChooser.test.js.snap deleted file mode 100644 index 4b16f86..0000000 --- a/src/components/fields/magic-select/__snapshots__/MagicChooser.test.js.snap +++ /dev/null @@ -1,13 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`Select field component Creates with one option 1`] = ` -
- -
-`; From e01c83a057c04e0fffe4b733d44cd5bf1aac5b06 Mon Sep 17 00:00:00 2001 From: Josh Pollock Date: Sat, 7 Jul 2018 10:38:49 -0400 Subject: [PATCH 14/25] Get magic select list type switching working #1 --- .../fields/magic-select/MagicSelect.js | 44 +++++++++++++++++-- .../fields/magic-select/MagicSelect.test.js | 27 ++++++------ .../__snapshots__/MagicSelect.test.js.snap | 18 ++++++++ 3 files changed, 72 insertions(+), 17 deletions(-) diff --git a/src/components/fields/magic-select/MagicSelect.js b/src/components/fields/magic-select/MagicSelect.js index 28ae970..f7e3ce3 100644 --- a/src/components/fields/magic-select/MagicSelect.js +++ b/src/components/fields/magic-select/MagicSelect.js @@ -23,7 +23,7 @@ export class MagicSelect extends React.PureComponent { constructor(props) { super(props); this.state = { - currentList: props.defaultList, + currentListType: props.defaultList, isOpen: props.isOpen }; this.onChange = this.onChange.bind(this); @@ -34,6 +34,7 @@ export class MagicSelect extends React.PureComponent { this.renderItem = this.renderItem.bind(this); this.onInputBlur = this.onInputBlur.bind(this); this.onChangeListType = this.onChangeListType.bind(this); + this.listTypeOptions = this.listTypeOptions.bind(this); } /** @@ -74,7 +75,10 @@ export class MagicSelect extends React.PureComponent { * @param {String}newType */ onChangeListType(newType){ - this.setState({currentList:newType}); + if( ! this.state.isOpen ){ + this.setState({isOpen:true}); + } + this.setState({currentListType:newType}); } /** @@ -103,7 +107,7 @@ export class MagicSelect extends React.PureComponent { if( optionsOrEmpty(this.props.options).length){ items = optionsOrEmpty(this.props.options); } - else if ('system' === this.state.currentList ) { + else if ('system' === this.state.currentListType ) { items = optionsOrEmpty(this.props.systemTagsList); } else { items = optionsOrEmpty(this.props.fieldsList); @@ -125,6 +129,23 @@ export class MagicSelect extends React.PureComponent { } + listTypeOptions(){ + return [ + { + value: 'fields', + label: '%', + ariaLabel: 'Select from field values' + }, + { + value: 'system', + label: '{}', + ariaLabel: 'Select from system values' + }, + ] + } + + + /** * Render MagicSelect component * @return {*} @@ -134,7 +155,22 @@ export class MagicSelect extends React.PureComponent {
- + item.value} items={this.items()} diff --git a/src/components/fields/magic-select/MagicSelect.test.js b/src/components/fields/magic-select/MagicSelect.test.js index e5408d0..c0625ce 100644 --- a/src/components/fields/magic-select/MagicSelect.test.js +++ b/src/components/fields/magic-select/MagicSelect.test.js @@ -199,31 +199,32 @@ describe('MagicSelect component', () => { onValueChange={genericChangeHandler} fieldsList={[ { - label: '0', - value: 0 + label: 'Field One', + value: '%fldOne%' }, { - label: '1', - value: 1 + label: 'Field Two', + value: '%fldTwo%' }, { - label: '3', - value: 3 - } + label: 'Field Three', + value: '%fldThree%' + }, ]} systemTagsList={[ { - label: '3', - value: 3 + label: 'User First Name', + value: '{user:first_name}' } ]} isOpen={true} + value={''} /> ); - expect(component.find('.magic-input-option')).toHaveLength(3); + expect(component.find('.magic-input-option').children().length).toBe(6); }); - it('Uses systemTagsList prop if no options prop and currentList state is system', () => { + it.skip('Uses systemTagsList prop if no options prop and currentListType state is system', () => { const component = mount( { isOpen={true} /> ); - component.setState({currentList: 'system'}); - expect(component.find('.magic-input-option')).toHaveLength(1); + component.setState({currentListType: 'system'}); + expect(component.find('.magic-input-option').length).toHaveLength(1); }); }); diff --git a/src/components/fields/magic-select/__snapshots__/MagicSelect.test.js.snap b/src/components/fields/magic-select/__snapshots__/MagicSelect.test.js.snap index 8dbb473..2f60c76 100644 --- a/src/components/fields/magic-select/__snapshots__/MagicSelect.test.js.snap +++ b/src/components/fields/magic-select/__snapshots__/MagicSelect.test.js.snap @@ -4,6 +4,24 @@ exports[`MagicSelect component Matches snapshot 1`] = `
+
+ + +
Date: Sat, 7 Jul 2018 10:52:12 -0400 Subject: [PATCH 15/25] only show the magic select buttons when the magic selec tis open #1 --- .idea/workspace.xml | 388 +++++++++--------- manual/components.md | 80 ++++ src/App.js | 38 +- .../fields/button-group/ButtonGroup.js | 78 ++++ .../fields/button-group/ButtonGroup.test.js | 143 +++++++ .../__snapshots__/ButtonGroup.test.js.snap | 31 ++ .../fields/magic-select/MagicSelect.js | 29 +- .../fields/magic-select/MagicSelect.test.js | 69 +++- .../__snapshots__/MagicSelect.test.js.snap | 18 - 9 files changed, 630 insertions(+), 244 deletions(-) create mode 100644 src/components/fields/button-group/ButtonGroup.js create mode 100644 src/components/fields/button-group/ButtonGroup.test.js create mode 100644 src/components/fields/button-group/__snapshots__/ButtonGroup.test.js.snap diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 93c2e72..32cd6c6 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -3,11 +3,10 @@ + - - - + - + - - - + + + - - - - - + + - - + + - - + + - + - - + + - - + + - + - - + + - - + + - + - - + + - - - - - - - - - - - - - - - - - - - - + + + + + - - - - - + + + + + + + + - - + + + + + + - - + + - + - - - - - - + + - - + + - + @@ -148,13 +132,6 @@ - prepare - HTML5 - validators - fieldValues - isValid - considers empty email field valid if not required - Considers an empty string not a valid stringOrNumber reduceConfigFieldsToValues add addValidatorsForType @@ -174,10 +151,17 @@ when FieldIn onBlur - Magic - options it( + options + Does not disable by default it.skip( + Button + Uses props.value to set value + fieldsL + onChangeListType + Magic + skip + open caldera-components @@ -191,10 +175,10 @@ $PROJECT_DIR$/coverage - $PROJECT_DIR$/src/components $PROJECT_DIR$/src/components/validation $PROJECT_DIR$/src $PROJECT_DIR$/src/components/fields + $PROJECT_DIR$/src/components @@ -203,12 +187,6 @@ - @@ -293,6 +277,11 @@ + + + + + @@ -317,7 +306,7 @@ - + @@ -340,6 +329,13 @@ + + + + + + + @@ -347,13 +343,6 @@ - - - - - - - - - + - - - - + + + + @@ -504,44 +493,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -580,16 +531,6 @@ - - - - - - - - - - @@ -689,13 +630,6 @@ - - - - - - - @@ -726,13 +660,6 @@ - - - - - - - @@ -768,13 +695,6 @@ - - - - - - - @@ -785,6 +705,13 @@ + + + + + + + @@ -792,6 +719,23 @@ + + + + + + + + + + + + + + + + + @@ -802,33 +746,66 @@ - + - - + + - + - - + + - + - + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + @@ -836,20 +813,47 @@ - + + + + + + + + + + + - - + + - + - + + + + + + + + + + + + + + + + + + - - + + @@ -858,8 +862,8 @@ - - + + diff --git a/manual/components.md b/manual/components.md index 9f1d0ec..9fd1daa 100644 --- a/manual/components.md +++ b/manual/components.md @@ -219,6 +219,86 @@ let checkBoxValue = ['1']; /> ``` +## Button Group + +### Examples +### Button Group With Two Options +```js + { + console.log(selectedValue); + }} + options={[ + { + value: 1, + label: 'Option One', + }, + { + value: 2, + label: 'Option Two', + } + ]} + value={1} +/> +``` + +#### Button Group With Icon +If options have `icon`, the rendered markup for the button will be like this: + +```html + + +``` + +That'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. + +```js + { + console.log(selectedValue); + }} + options={[ + { + value: 1, + label: 'Option One', + icon: 'fa-envelop' + }, + { + value: 2, + label: 'Option Two', + icon: 'fa-twitter' + + } + ]} + value={1} +/> +``` + +#### Explicitly set `aria-label` Attribute +By 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. + +But, 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. + +```js + { + console.log(selectedValue); + }} + options={[ + { + value: 'fields', + label: '%', + ariaLabel: 'Select from field values' + }, + { + value: 'system', + label: '{}', + ariaLabel: 'Select from system values' + }, + ]} +/> +``` + ## Message component The `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. ### An error message diff --git a/src/App.js b/src/App.js index dbcafd4..a78ff26 100644 --- a/src/App.js +++ b/src/App.js @@ -112,6 +112,8 @@ let values = { three: '' }; +let magicFieldValue = ''; + class App extends Component { render() { @@ -146,27 +148,33 @@ class App extends Component {

Magic Select

{}} - options={[ + onValueChange={(newValue) => { + magicFieldValue = newValue; + } } + fieldsList={[ { - label: 'HTML', - value: 'html' + label: 'Field One', + value: '%fldOne%' }, { - label: 'Plain Text', - value: 'plain' - } + label: 'Field Two', + value: '%fldTwo%' + }, + { + label: 'Field Three', + value: '%fldThree%' + }, ]} - /> - {}} - options={[ - + systemTagsList={[ + { + label: 'User First Name', + value: '{user:first_name}' + } ]} + isOpen={true} + value={magicFieldValue} />
diff --git a/src/components/fields/button-group/ButtonGroup.js b/src/components/fields/button-group/ButtonGroup.js new file mode 100644 index 0000000..f48c194 --- /dev/null +++ b/src/components/fields/button-group/ButtonGroup.js @@ -0,0 +1,78 @@ +import React from 'react'; +import {optionShape} from '../propTypes'; +import PropTypes from 'prop-types' +/** + * Creates a button group field + * + * @param {Object} props + * @returns {*} + * @constructor + */ +export const ButtonGroup = (props) => { + /** + * Dispatches new value(s) to parent + * + * @param selection + * @returns {*} + */ + function changeHandler(selection) { + return props.onChange(selection); + } + + /** + * Render a button group + */ + return ( +
+ {props.options.map(option => { + return + })} +
+ ); +}; + +/** + * Prop definition for select fields + * + * @type {{}} + */ +ButtonGroup.propTypes = { + onChange: PropTypes.func.isRequired, + options: PropTypes.arrayOf( + PropTypes.shape({ + ...optionShape, + icon:PropTypes.string, + ariaLabel:PropTypes.string + }) + ), + value: PropTypes.oneOfType([ + PropTypes.number, + PropTypes.string + ]) +}; + +/** + * Default props for select fields + * + * @type {{options: Array}} + */ +ButtonGroup.defaultProps = { + options: [] +}; \ No newline at end of file diff --git a/src/components/fields/button-group/ButtonGroup.test.js b/src/components/fields/button-group/ButtonGroup.test.js new file mode 100644 index 0000000..6c6ec69 --- /dev/null +++ b/src/components/fields/button-group/ButtonGroup.test.js @@ -0,0 +1,143 @@ +import {ButtonGroup} from './ButtonGroup'; +import renderer from 'react-test-renderer'; +import React from 'react'; +import {mount} from 'enzyme'; +import Enzyme from 'enzyme'; +import Adapter from 'enzyme-adapter-react-16'; + +Enzyme.configure({adapter: new Adapter()}); + +describe('Button Group component', () => { + function genericChangeHandler() { + + } + + describe( 'options', () =>{ + it('Creates with one option', () => { + const component = renderer.create( + + ); + expect(component.toJSON()).toMatchSnapshot(); + }); + it('Renders two buttons', () => { + let updateValue = null; + const component = mount( + { + updateValue = newValue + }} + options={[ + { + value: 'tags', + label: 'Tags' + }, + { + value: 'categories', + label: 'Categories' + } + ]} + /> + ); + expect(component.find('button').length).toBe(2) + }); + + it('Sends the right update value when clicked', () => { + let updateValue = null; + const component = mount( + { + updateValue = newValue + }} + options={[ + { + value: 'Tags', + label: 'Tags' + } + ]} + /> + ); + component.find('button').simulate('click'); + expect(updateValue).toBe('Tags') + }); + + it('Marks the value as selected if it should on initial load', () => { + const component = mount( + { + + }} + options={[ + { + value: 'a1', + label: 'Tags' + } + ]} + value={'a1'} + /> + ); + + expect(component.find('button').hasClass('selected')).toBe(true) + }); + + it('Sets aria-label to label when ariaLabel not provided', () => { + const component = mount( + + ); + + expect(component.find('button').prop('aria-label')).toBe('Tags') + }) + + it('Sets aria-label to explicit value when passed', () => { + const component = mount( + + ); + + expect(component.find('button').prop('aria-label')).toBe('Select field values') + }); + }); + + describe( 'icon buttons', ()=> { + it('Creates with an icon option', () => { + const component = renderer.create( + + ); + expect(component.toJSON()).toMatchSnapshot(); + }); + }); + + +}); \ No newline at end of file diff --git a/src/components/fields/button-group/__snapshots__/ButtonGroup.test.js.snap b/src/components/fields/button-group/__snapshots__/ButtonGroup.test.js.snap new file mode 100644 index 0000000..e7264d0 --- /dev/null +++ b/src/components/fields/button-group/__snapshots__/ButtonGroup.test.js.snap @@ -0,0 +1,31 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`Button Group component icon buttons Creates with an icon option 1`] = ` +
+ +
+`; + +exports[`Button Group component options Creates with one option 1`] = ` +
+ +
+`; diff --git a/src/components/fields/magic-select/MagicSelect.js b/src/components/fields/magic-select/MagicSelect.js index f7e3ce3..b2b5408 100644 --- a/src/components/fields/magic-select/MagicSelect.js +++ b/src/components/fields/magic-select/MagicSelect.js @@ -129,6 +129,11 @@ export class MagicSelect extends React.PureComponent { } + /** + * Options for type chooser + * + * @return {*[]} + */ listTypeOptions(){ return [ { @@ -155,22 +160,14 @@ export class MagicSelect extends React.PureComponent {
- + {this.state.isOpen && + + } + item.value} items={this.items()} diff --git a/src/components/fields/magic-select/MagicSelect.test.js b/src/components/fields/magic-select/MagicSelect.test.js index c0625ce..b7a44d0 100644 --- a/src/components/fields/magic-select/MagicSelect.test.js +++ b/src/components/fields/magic-select/MagicSelect.test.js @@ -224,7 +224,7 @@ describe('MagicSelect component', () => { expect(component.find('.magic-input-option').children().length).toBe(6); }); - it.skip('Uses systemTagsList prop if no options prop and currentListType state is system', () => { + it('Uses systemTagsList prop if no options prop and currentListType state is system', () => { const component = mount( { /> ); component.setState({currentListType: 'system'}); - expect(component.find('.magic-input-option').length).toHaveLength(1); + expect(component.find('.magic-input-option').length).toBe(1); }); }); @@ -305,7 +305,70 @@ describe('MagicSelect component', () => { component.instance().onSelect(14); expect(updatedValue).toEqual(14); }); + }); - + describe( 'Button group for type choice', () => { + it( 'Outputs the buttons if open', () => { + const component = mount( + + ); + expect(component.find('button').length).toBe(2); + }); + it( 'Does not oupt the buttons if not open', () => { + const component = mount( + + ); + expect(component.find('button').length).toBe(0); + }); }); }); \ No newline at end of file diff --git a/src/components/fields/magic-select/__snapshots__/MagicSelect.test.js.snap b/src/components/fields/magic-select/__snapshots__/MagicSelect.test.js.snap index 2f60c76..8dbb473 100644 --- a/src/components/fields/magic-select/__snapshots__/MagicSelect.test.js.snap +++ b/src/components/fields/magic-select/__snapshots__/MagicSelect.test.js.snap @@ -4,24 +4,6 @@ exports[`MagicSelect component Matches snapshot 1`] = `
-
- - -
Date: Sat, 7 Jul 2018 12:03:50 -0400 Subject: [PATCH 16/25] rewire MagicSelect as a group and inner component --- .../fields/magic-select/MagicFieldGroup.js | 210 ++++++++++++ .../magic-select/MagicFieldGroup.test.js | 311 ++++++++++++++++++ .../fields/magic-select/MagicSelect.js | 143 ++------ .../fields/magic-select/MagicSelect.test.js | 280 +++++++--------- .../MagicFieldGroup.test.js.snap | 30 ++ .../__snapshots__/MagicSelect.test.js.snap | 42 ++- 6 files changed, 717 insertions(+), 299 deletions(-) create mode 100644 src/components/fields/magic-select/MagicFieldGroup.js create mode 100644 src/components/fields/magic-select/MagicFieldGroup.test.js create mode 100644 src/components/fields/magic-select/__snapshots__/MagicFieldGroup.test.js.snap diff --git a/src/components/fields/magic-select/MagicFieldGroup.js b/src/components/fields/magic-select/MagicFieldGroup.js new file mode 100644 index 0000000..17d0e73 --- /dev/null +++ b/src/components/fields/magic-select/MagicFieldGroup.js @@ -0,0 +1,210 @@ +import React from 'react'; +import { + onValueChangePropType, + optionsShapeProp, + valuePropType +} from '../propTypes'; +import classNames from 'classnames'; +import PropTypes from 'prop-types'; +import {MagicItem} from './MagicItem'; +import {ButtonGroup} from "../button-group/ButtonGroup"; +import {MagicSelect} from "./MagicSelect"; + +/** + * Encapsulates a complete Magic Select field group including label and the type chooser and the input + */ +export class MagicFieldGroup extends React.PureComponent { + + /** + * Create a MagicFieldGroup component + * + * @param {Object} props + */ + constructor(props) { + super(props); + this.state = { + currentListType: props.defaultList, + isOpen: props.isOpen + }; + this.onChange = this.onChange.bind(this); + this.items = this.items.bind(this); + this.onChange = this.onChange.bind(this); + this.onSelect = this.onSelect.bind(this); + this.onInputFocus = this.onInputFocus.bind(this); + this.renderItem = this.renderItem.bind(this); + this.onInputBlur = this.onInputBlur.bind(this); + this.onChangeListType = this.onChangeListType.bind(this); + this.listTypeOptions = this.listTypeOptions.bind(this); + } + + /** + * Handle direct change events + * @param {String|number} newValue + */ + onChange(newValue) { + this.props.onValueChange(newValue); + } + + /** + * Handle when the field gets focus + */ + onInputFocus() { + this.setState({isOpen: true}); + } + + /** + * Handle when the field is blurred + */ + onInputBlur() { + this.setState({isOpen: false}); + } + + + /** + * Handle when the option is chosen + * @param {String|number} value + */ + onSelect(value) { + this.props.onValueChange(value); + } + + /** + * Update list of tags to show + * @param {String}newType + */ + onChangeListType(newType){ + if( ! this.state.isOpen ){ + this.setState({isOpen:true}); + } + this.setState({currentListType:newType}); + } + + /** + * Render option + * + * @param {object} item + * @param {bool} isHighlighted + * @return {*} + */ + renderItem(item, isHighlighted){ + return + } + + /** + * Create the list of items + * + * @return {Array} + */ + items() { + const optionsOrEmpty =(options) => { + return Array.isArray(options) && options.length ? options : []; + }; + + let items = []; + + if( optionsOrEmpty(this.props.options).length){ + items = optionsOrEmpty(this.props.options); + } + else if ('system' === this.state.currentListType ) { + items = optionsOrEmpty(this.props.systemTagsList); + } else { + items = optionsOrEmpty(this.props.fieldsList); + } + + if (items.length) { + items.forEach((item, itemIndex) => { + items[itemIndex].innerKey = `${item.value}-${itemIndex}`; + }); + }else{ + items.push({ + value: null, + label: null, + innerKey:this.props.id + }) + } + + return items; + + } + + /** + * Options for type chooser + * + * @return {*[]} + */ + listTypeOptions(){ + return [ + { + value: 'fields', + label: '%', + ariaLabel: 'Select from field values' + }, + { + value: 'system', + label: '{}', + ariaLabel: 'Select from system values' + }, + ] + } + + + + /** + * Render MagicFieldGroup component + * @return {*} + */ + render() { + return ( +
+ {this.state.isOpen && + + } + + +
+ ); + } +} + + +/** + * Prop definitions for MagicFieldGroup component + */ +MagicFieldGroup.propTypes = { + id: PropTypes.string.isRequired, + fieldsList: optionsShapeProp, + systemTagsList: optionsShapeProp, + options: optionsShapeProp, + isRequired: PropTypes.bool, + help: PropTypes.string, + value: valuePropType, + onValueChange: onValueChangePropType, + disabled: PropTypes.bool, + defaultList: PropTypes.string, + isOpen: PropTypes.bool +}; + +/** + * Default property values for MagicFieldGroup component + * + * @type {{}} + */ +MagicFieldGroup.defaultProps = { + defaultList: 'fields', + isOpen: false, +}; \ No newline at end of file diff --git a/src/components/fields/magic-select/MagicFieldGroup.test.js b/src/components/fields/magic-select/MagicFieldGroup.test.js new file mode 100644 index 0000000..7a4395d --- /dev/null +++ b/src/components/fields/magic-select/MagicFieldGroup.test.js @@ -0,0 +1,311 @@ +import renderer from 'react-test-renderer'; +import React from 'react'; +import {mount, shallow} from 'enzyme'; +import Enzyme from 'enzyme'; +import Adapter from 'enzyme-adapter-react-16'; +import {MagicFieldGroup} from './MagicFieldGroup'; + +Enzyme.configure({adapter: new Adapter()}); + +const genericChangeHandler = () => { +}; +describe('MagicFieldGroup component', () => { + + + it( 'matches snapshot', () => { + const component = renderer.create( + + ); + expect(component.toJSON() ).toMatchSnapshot(); + }); + + describe( 'Inner input', () => { + it('Has inner input', () => { + const component = mount( + + ); + expect(component.find('input').length).toBe(1); + }); + }); + describe('Options', () => { + it('shows no options if closed', () => { + const component = mount( + + ); + expect(component.find('.magic-input-option')).toHaveLength(0); + }); + + + it('Uses options prop by default - right number of options', () => { + const component = mount( + + ); + component.find('input').simulate('focus'); + expect(component.find('.magic-input-option')).toHaveLength(2); + }); + + it('Uses options prop by default', () => { + const component = mount( + + ); + component.find('input').simulate('focus'); + expect(component.find('.magic-input-option').length).toBe(2); + }); + + it('Uses fieldsList prop if no options prop', () => { + const component = mount( + + ); + component.find('input').simulate('focus'); + expect(component.find('.magic-input-option').length).toBe(3); + }); + + it('Uses systemTagsList prop if no options prop and currentListType state is system', () => { + const component = mount( + + ); + component.find('input').simulate('focus'); + component.setState({currentListType: 'system'}); + expect(component.find('.magic-input-option').length).toBe(1); + }); + }); + + + describe('Value', () => { + it('Uses props.value to set value', () => { + const component = mount( + + ); + expect(component.find('input').prop('value')).toBe(1); + }); + + + it('Passes updated value properly through the onSelect handler', () => { + let updatedValue = null; + const component = mount( + { + updatedValue = newValue; + }} + options={[ + { + label: '1', + value: 1 + }, + { + label: '14', + value: 14 + } + ]} + value={1} + /> + ); + + component.instance().onSelect(14); + expect(updatedValue).toEqual(14); + }); + }); + + describe( 'Button group for type choice', () => { + it( 'Outputs the buttons if open', () => { + const component = mount( + + ); + expect(component.find('button').length).toBe(2); + }); + it( 'Does not output the buttons if not open', () => { + const component = mount( + + ); + expect(component.find('button').length).toBe(0); + }); + }); +}); \ No newline at end of file diff --git a/src/components/fields/magic-select/MagicSelect.js b/src/components/fields/magic-select/MagicSelect.js index b2b5408..7c717b7 100644 --- a/src/components/fields/magic-select/MagicSelect.js +++ b/src/components/fields/magic-select/MagicSelect.js @@ -4,11 +4,9 @@ import { optionsShapeProp, valuePropType } from '../propTypes'; -import classNames from 'classnames'; import Autocomplete from 'react-autocomplete'; import PropTypes from 'prop-types'; import {MagicItem} from './MagicItem'; -import {ButtonGroup} from "../button-group/ButtonGroup"; /** * Encapsulates a complete Magic Select field @@ -22,19 +20,12 @@ export class MagicSelect extends React.PureComponent { */ constructor(props) { super(props); - this.state = { - currentListType: props.defaultList, - isOpen: props.isOpen - }; this.onChange = this.onChange.bind(this); - this.items = this.items.bind(this); this.onChange = this.onChange.bind(this); this.onSelect = this.onSelect.bind(this); this.onInputFocus = this.onInputFocus.bind(this); this.renderItem = this.renderItem.bind(this); this.onInputBlur = this.onInputBlur.bind(this); - this.onChangeListType = this.onChangeListType.bind(this); - this.listTypeOptions = this.listTypeOptions.bind(this); } /** @@ -51,14 +42,18 @@ export class MagicSelect extends React.PureComponent { * Handle when the field gets focus */ onInputFocus() { - this.setState({isOpen: true}); + if( 'function' === typeof this.props.onFocus ){ + this.props.onFocus(); + } } /** * Handle when the field is blurred */ onInputBlur() { - this.setState({isOpen: false}); + if( 'function' === typeof this.props.onBlur ){ + this.props.onBlur(); + } } @@ -70,16 +65,6 @@ export class MagicSelect extends React.PureComponent { this.props.onValueChange(value); } - /** - * Update list of tags to show - * @param {String}newType - */ - onChangeListType(newType){ - if( ! this.state.isOpen ){ - this.setState({isOpen:true}); - } - this.setState({currentListType:newType}); - } /** * Render option @@ -92,64 +77,6 @@ export class MagicSelect extends React.PureComponent { return } - /** - * Create the list of items - * - * @return {Array} - */ - items() { - const optionsOrEmpty =(options) => { - return Array.isArray(options) && options.length ? options : []; - }; - - let items = []; - - if( optionsOrEmpty(this.props.options).length){ - items = optionsOrEmpty(this.props.options); - } - else if ('system' === this.state.currentListType ) { - items = optionsOrEmpty(this.props.systemTagsList); - } else { - items = optionsOrEmpty(this.props.fieldsList); - } - - if (items.length) { - items.forEach((item, itemIndex) => { - items[itemIndex].innerKey = `${item.value}-${itemIndex}`; - }); - }else{ - items.push({ - value: null, - label: null, - innerKey:this.props.id - }) - } - - return items; - - } - - /** - * Options for type chooser - * - * @return {*[]} - */ - listTypeOptions(){ - return [ - { - value: 'fields', - label: '%', - ariaLabel: 'Select from field values' - }, - { - value: 'system', - label: '{}', - ariaLabel: 'Select from system values' - }, - ] - } - - /** * Render MagicSelect component @@ -157,36 +84,26 @@ export class MagicSelect extends React.PureComponent { */ render() { return ( -
- {this.state.isOpen && - - } - - item.value} - items={this.items()} - inputProps={{ - id: this.props.id, - value: this.props.value, - className: `${this.props.id}-magic-input`, - onFocus: this.onInputFocus, - onBlur:this.onInputBlur, - onClick:this.onChange - }} - renderItem={this.renderItem} - value={this.props.value} - onChange={this.onChange} - open={this.state.isOpen} - selectOnBlur={true} - onSelect={this.onSelect} - /> -
+ + item.value} + items={this.props.options} + inputProps={{ + id: this.props.id, + value: this.props.value, + className: `${this.props.id}-magic-input`, + onFocus: this.onInputFocus, + onBlur:this.onInputBlur, + onClick:this.onChange + }} + renderItem={this.renderItem} + value={this.props.value} + onChange={this.onChange} + open={this.props.isOpen} + selectOnBlur={true} + onSelect={this.onSelect} + /> + ); } } @@ -197,16 +114,15 @@ export class MagicSelect extends React.PureComponent { */ MagicSelect.propTypes = { id: PropTypes.string.isRequired, - fieldsList: optionsShapeProp, - systemTagsList: optionsShapeProp, options: optionsShapeProp, isRequired: PropTypes.bool, help: PropTypes.string, value: valuePropType, onValueChange: onValueChangePropType, disabled: PropTypes.bool, - defaultList: PropTypes.string, - isOpen: PropTypes.bool + isOpen: PropTypes.bool, + onBlur: PropTypes.func, + onFocus: PropTypes.func }; /** @@ -217,4 +133,5 @@ MagicSelect.propTypes = { MagicSelect.defaultProps = { defaultList: 'fields', isOpen: false, + options:[] }; \ No newline at end of file diff --git a/src/components/fields/magic-select/MagicSelect.test.js b/src/components/fields/magic-select/MagicSelect.test.js index b7a44d0..128c1b2 100644 --- a/src/components/fields/magic-select/MagicSelect.test.js +++ b/src/components/fields/magic-select/MagicSelect.test.js @@ -1,6 +1,6 @@ import renderer from 'react-test-renderer'; import React from 'react'; -import {mount, shallow} from 'enzyme'; +import {mount} from 'enzyme'; import Enzyme from 'enzyme'; import Adapter from 'enzyme-adapter-react-16'; import {MagicSelect} from './MagicSelect'; @@ -20,11 +20,13 @@ describe('MagicSelect component', () => { options={[ { label: 'HTML', - value: 'html' + value: 'html', + innerKey:'html' }, { label: 'Plain Text', - value: 'plain' + value: 'plain', + innerKey:'plain' } ]} /> @@ -41,11 +43,13 @@ describe('MagicSelect component', () => { options={[ { label: 'HTML', - value: 'html' + value: 'html', + innerKey:'html' }, { label: 'Plain Text', - value: 'plain' + value: 'plain', + innerKey:'plain' } ]} /> @@ -62,11 +66,13 @@ describe('MagicSelect component', () => { options={[ { label: 'HTML', - value: 'html' + value: 'html', + innerKey:'html' }, { label: 'Plain Text', - value: 'plain' + value: 'plain', + innerKey:'plain' } ]} /> @@ -82,69 +88,110 @@ describe('MagicSelect component', () => { fieldClassName={'magic'} onValueChange={genericChangeHandler} options={[ - { - label: 'HTML', - value: 'html' - }, - { - label: 'Plain Text', - value: 'plain' - } - ]} + { + label: 'HTML', + value: 'html', + innerKey:'html' + }, + { + label: 'Plain Text', + value: 'plain', + innerKey:'plain' + } + ]} isOpen={false} /> ); expect(component.find('.magic-input-option')).toHaveLength(0); }); + it('shows options if opened', () => { + const component = mount( + + ); + expect(component.find('.magic-input-option')).toHaveLength(2); + }); + it('Updates is open state when focused', () => { - let updatedValue = null; + let isOpen = false; const component = mount( { - updatedValue = newValue; + onInputBlur={() => { + isOpen = true; + }} + onFocus={() => { + isOpen = false; }} + onValueChange={genericChangeHandler} options={[ { label: 'a1', - value: 1 + value: 1, + innerKey: '1' }, { label: 'a14', - value: 14 + value: 14, + innerKey: '2' + } ]} /> ); component.find( 'input' ).simulate('focus'); - expect(component.state('isOpen')).toEqual(true); + expect(component.prop('isOpen')).toEqual(false); }); it('Updates is open state when blurred', () => { - let updatedValue = null; + let isOpen = false; const component = mount( { - updatedValue = newValue; + onValueChange={genericChangeHandler} + onInputBlur={() => { + isOpen = true; + }} + onFocus={() => { + isOpen = false; }} options={[ { label: 'a1', - value: 1 + value: 1, + innerKey: '1' }, { label: 'a14', - value: 14 + value: 14, + innerKey: '2' + } ]} /> ); + component.find( 'input' ).simulate('focus'); component.find( 'input' ).simulate('blur'); - expect(component.state('isOpen')).toEqual(false); + expect(component.prop('isOpen')).toEqual(false); }); it('Uses options prop by default - right number of options', () => { @@ -155,12 +202,15 @@ describe('MagicSelect component', () => { onValueChange={genericChangeHandler} options={[ { - label: 'HTML', - value: 'html' + label: 'a1', + value: 1, + innerKey: '1' }, { - label: 'Plain Text', - value: 'plain' + label: 'a14', + value: 14, + innerKey: '2' + } ]} isOpen={true} @@ -176,86 +226,23 @@ describe('MagicSelect component', () => { fieldClassName={'magic'} onValueChange={genericChangeHandler} options={[ - { - label: 'HTML', - value: 'html' - }, - { - label: 'Plain Text', - value: 'plain' - } - ]} + { + label: 'HTML', + value: 'html', + innerKey:'html' + }, + { + label: 'Plain Text', + value: 'plain', + innerKey:'plain' + } + ]} isOpen={true} /> ); expect(component.find('.magic-input-option')).toHaveLength(2); }); - it('Uses fieldsList prop if no options prop', () => { - const component = mount( - - ); - expect(component.find('.magic-input-option').children().length).toBe(6); - }); - - it('Uses systemTagsList prop if no options prop and currentListType state is system', () => { - const component = mount( - - ); - component.setState({currentListType: 'system'}); - expect(component.find('.magic-input-option').length).toBe(1); - }); }); @@ -269,7 +256,8 @@ describe('MagicSelect component', () => { options={[ { label: '1', - value: 1 + value: 1, + innerKey: '11' } ]} value={1} @@ -291,11 +279,14 @@ describe('MagicSelect component', () => { options={[ { label: '1', - value: 1 + value: 1, + innerKey: '12' }, { label: '14', - value: 14 + value: 14, + innerKey: '13' + } ]} value={1} @@ -305,70 +296,33 @@ describe('MagicSelect component', () => { component.instance().onSelect(14); expect(updatedValue).toEqual(14); }); - }); - describe( 'Button group for type choice', () => { - it( 'Outputs the buttons if open', () => { + it.skip('Receives the updated value ', () => { + let updatedValue = null; const component = mount( { + updatedValue = newValue; + }} + options={[ { label: '1', - value: 1 - }, - { - label: '3', - value: 3 - } - ]} - systemTagsList={[ - { - label: '3', - value: 3 + value: 12, + innerKey: '12' } ]} + value={updatedValue} isOpen={true} /> ); - expect(component.find('button').length).toBe(2); - }); - it( 'Does not oupt the buttons if not open', () => { - const component = mount( - - ); - expect(component.find('button').length).toBe(0); + + component.find('input').simulate('change', {event:{target: {value: 12}}} ); + expect(updatedValue).toEqual(14); }); }); + + + }); \ No newline at end of file diff --git a/src/components/fields/magic-select/__snapshots__/MagicFieldGroup.test.js.snap b/src/components/fields/magic-select/__snapshots__/MagicFieldGroup.test.js.snap new file mode 100644 index 0000000..7203a71 --- /dev/null +++ b/src/components/fields/magic-select/__snapshots__/MagicFieldGroup.test.js.snap @@ -0,0 +1,30 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`MagicFieldGroup component matches snapshot 1`] = ` +
+
+ +
+
+`; diff --git a/src/components/fields/magic-select/__snapshots__/MagicSelect.test.js.snap b/src/components/fields/magic-select/__snapshots__/MagicSelect.test.js.snap index 8dbb473..9415739 100644 --- a/src/components/fields/magic-select/__snapshots__/MagicSelect.test.js.snap +++ b/src/components/fields/magic-select/__snapshots__/MagicSelect.test.js.snap @@ -2,29 +2,25 @@ exports[`MagicSelect component Matches snapshot 1`] = `
-
- -
+ } +> +
`; From cb9a5caf9124929584a7d4b45e2f71fa150f139b Mon Sep 17 00:00:00 2001 From: Josh Pollock Date: Sat, 7 Jul 2018 12:12:12 -0400 Subject: [PATCH 17/25] handle magic select value so it works with updates #1 --- .../fields/magic-select/MagicFieldGroup.js | 1 + .../magic-select/MagicFieldGroup.test.js | 38 +++++++++++++++++++ .../fields/magic-select/MagicItem.js | 5 ++- .../fields/magic-select/MagicSelect.js | 3 +- .../fields/magic-select/MagicSelect.test.js | 13 +++++-- .../__snapshots__/MagicItem.test.js.snap | 3 ++ 6 files changed, 55 insertions(+), 8 deletions(-) diff --git a/src/components/fields/magic-select/MagicFieldGroup.js b/src/components/fields/magic-select/MagicFieldGroup.js index 17d0e73..c743bf5 100644 --- a/src/components/fields/magic-select/MagicFieldGroup.js +++ b/src/components/fields/magic-select/MagicFieldGroup.js @@ -66,6 +66,7 @@ export class MagicFieldGroup extends React.PureComponent { */ onSelect(value) { this.props.onValueChange(value); + this.setState({isOpen: false}); } /** diff --git a/src/components/fields/magic-select/MagicFieldGroup.test.js b/src/components/fields/magic-select/MagicFieldGroup.test.js index 7a4395d..da477c9 100644 --- a/src/components/fields/magic-select/MagicFieldGroup.test.js +++ b/src/components/fields/magic-select/MagicFieldGroup.test.js @@ -193,6 +193,44 @@ describe('MagicFieldGroup component', () => { component.setState({currentListType: 'system'}); expect(component.find('.magic-input-option').length).toBe(1); }); + + it('Receives updated value', () => { + let value = '1'; + const component = mount( + { + value = newValue; + }} + fieldsList={[ + { + label: '0', + value: 0 + }, + { + label: '1', + value: 1 + }, + { + label: '3', + value: 3 + } + ]} + systemTagsList={[ + { + label: '3', + value: 3 + } + ]} + value={value} + isOpen={true} + /> + ); + component.find('input').simulate('focus'); + component.find('input').simulate('change', { target: { value: '3' } }); + expect( value ).toEqual('3'); + }); }); diff --git a/src/components/fields/magic-select/MagicItem.js b/src/components/fields/magic-select/MagicItem.js index bb5463e..7dffd96 100644 --- a/src/components/fields/magic-select/MagicItem.js +++ b/src/components/fields/magic-select/MagicItem.js @@ -27,7 +27,7 @@ export class MagicItem extends React.PureComponent { { style: {background: this.props.isHighlighted ? this.props.highlightColor : this.props.notHighlighterColor}, className: classNames(this.props.className, 'magic-input-option'), - + onClick: this.props.onClick }, [ React.createElement( @@ -69,7 +69,8 @@ MagicItem.propTypes = { className: PropTypes.string, highlightColor: PropTypes.string, notHighlighterColor: PropTypes.string, - innerKey: PropTypes.string.isRequired + innerKey: PropTypes.string.isRequired, + onClick: PropTypes.func }; /** diff --git a/src/components/fields/magic-select/MagicSelect.js b/src/components/fields/magic-select/MagicSelect.js index 7c717b7..e349952 100644 --- a/src/components/fields/magic-select/MagicSelect.js +++ b/src/components/fields/magic-select/MagicSelect.js @@ -74,7 +74,7 @@ export class MagicSelect extends React.PureComponent { * @return {*} */ renderItem(item, isHighlighted){ - return + return } @@ -84,7 +84,6 @@ export class MagicSelect extends React.PureComponent { */ render() { return ( - item.value} items={this.props.options} diff --git a/src/components/fields/magic-select/MagicSelect.test.js b/src/components/fields/magic-select/MagicSelect.test.js index 128c1b2..3c22ec6 100644 --- a/src/components/fields/magic-select/MagicSelect.test.js +++ b/src/components/fields/magic-select/MagicSelect.test.js @@ -297,8 +297,8 @@ describe('MagicSelect component', () => { expect(updatedValue).toEqual(14); }); - it.skip('Receives the updated value ', () => { - let updatedValue = null; + it('Receives the updated value ', () => { + let updatedValue = 1; const component = mount( { options={[ { label: '1', + value: 1, + innerKey: '1' + }, + { + label: '12', value: 12, innerKey: '12' } @@ -318,8 +323,8 @@ describe('MagicSelect component', () => { /> ); - component.find('input').simulate('change', {event:{target: {value: 12}}} ); - expect(updatedValue).toEqual(14); + component.find('input').simulate('change', { target: { value: 12 } }); + expect(updatedValue).toEqual(12); }); }); diff --git a/src/components/fields/magic-select/__snapshots__/MagicItem.test.js.snap b/src/components/fields/magic-select/__snapshots__/MagicItem.test.js.snap index 9b6c24b..be66e44 100644 --- a/src/components/fields/magic-select/__snapshots__/MagicItem.test.js.snap +++ b/src/components/fields/magic-select/__snapshots__/MagicItem.test.js.snap @@ -3,6 +3,7 @@ exports[`MagicSelect component Can render as span 1`] = ` Date: Sat, 7 Jul 2018 12:35:28 -0400 Subject: [PATCH 18/25] Use consistent classes and propTypes for magic group #1 --- .../fields/magic-select/MagicFieldGroup.js | 42 ++++++++++++++----- .../magic-select/MagicFieldGroup.test.js | 12 ++++++ .../fields/magic-select/MagicSelect.js | 12 +++++- .../MagicFieldGroup.test.js.snap | 4 +- .../__snapshots__/MagicSelect.test.js.snap | 2 +- 5 files changed, 57 insertions(+), 15 deletions(-) diff --git a/src/components/fields/magic-select/MagicFieldGroup.js b/src/components/fields/magic-select/MagicFieldGroup.js index c743bf5..3ae67ec 100644 --- a/src/components/fields/magic-select/MagicFieldGroup.js +++ b/src/components/fields/magic-select/MagicFieldGroup.js @@ -2,13 +2,17 @@ import React from 'react'; import { onValueChangePropType, optionsShapeProp, - valuePropType + valuePropType, + fieldGroupPropTypes } from '../propTypes'; import classNames from 'classnames'; import PropTypes from 'prop-types'; import {MagicItem} from './MagicItem'; import {ButtonGroup} from "../button-group/ButtonGroup"; import {MagicSelect} from "./MagicSelect"; +import {RenderGroup} from "../../RenderGroup"; +import {Message} from "../messages/Message"; + /** * Encapsulates a complete Magic Select field group including label and the type chooser and the input @@ -24,7 +28,7 @@ export class MagicFieldGroup extends React.PureComponent { super(props); this.state = { currentListType: props.defaultList, - isOpen: props.isOpen + isOpen: props.isOpen, }; this.onChange = this.onChange.bind(this); this.items = this.items.bind(this); @@ -157,8 +161,17 @@ export class MagicFieldGroup extends React.PureComponent { render() { return (
+ + {this.state.isOpen &&
); @@ -187,15 +201,9 @@ export class MagicFieldGroup extends React.PureComponent { * Prop definitions for MagicFieldGroup component */ MagicFieldGroup.propTypes = { - id: PropTypes.string.isRequired, + ...fieldGroupPropTypes, fieldsList: optionsShapeProp, systemTagsList: optionsShapeProp, - options: optionsShapeProp, - isRequired: PropTypes.bool, - help: PropTypes.string, - value: valuePropType, - onValueChange: onValueChangePropType, - disabled: PropTypes.bool, defaultList: PropTypes.string, isOpen: PropTypes.bool }; @@ -208,4 +216,18 @@ MagicFieldGroup.propTypes = { MagicFieldGroup.defaultProps = { defaultList: 'fields', isOpen: false, + message: { + error: false, + message: '' + } +}; + +/** + * The names of classes used for HTML elements in MagicFieldGroup component + * @type {{fieldWrapper: string, input: string, option: string}} + */ +MagicFieldGroup.classNames = { + fieldWrapper: 'caldera-magic-select-group', + input: 'caldera-magic-input', + option: 'caldera-magic-option' }; \ No newline at end of file diff --git a/src/components/fields/magic-select/MagicFieldGroup.test.js b/src/components/fields/magic-select/MagicFieldGroup.test.js index da477c9..327eb1c 100644 --- a/src/components/fields/magic-select/MagicFieldGroup.test.js +++ b/src/components/fields/magic-select/MagicFieldGroup.test.js @@ -16,6 +16,7 @@ describe('MagicFieldGroup component', () => { const component = renderer.create( { { const component = mount( { const component = mount( { const component = mount( { const component = mount( { { { value = newValue; }} @@ -240,6 +248,7 @@ describe('MagicFieldGroup component', () => { { { updatedValue = newValue; }} @@ -288,6 +298,7 @@ describe('MagicFieldGroup component', () => { {
Date: Sat, 7 Jul 2018 12:48:39 -0400 Subject: [PATCH 19/25] use a consitent label in magic group #1 --- src/components/fields/magic-select/MagicFieldGroup.js | 5 +++++ .../magic-select/__snapshots__/MagicFieldGroup.test.js.snap | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/src/components/fields/magic-select/MagicFieldGroup.js b/src/components/fields/magic-select/MagicFieldGroup.js index 3ae67ec..aac4d12 100644 --- a/src/components/fields/magic-select/MagicFieldGroup.js +++ b/src/components/fields/magic-select/MagicFieldGroup.js @@ -12,6 +12,7 @@ import {ButtonGroup} from "../button-group/ButtonGroup"; import {MagicSelect} from "./MagicSelect"; import {RenderGroup} from "../../RenderGroup"; import {Message} from "../messages/Message"; +import {FieldGroup} from "../FieldGroup"; /** @@ -168,6 +169,10 @@ export class MagicFieldGroup extends React.PureComponent { ) } > + +
Date: Sat, 7 Jul 2018 12:51:53 -0400 Subject: [PATCH 20/25] test for MagicSelect.onChange() #1 --- .../fields/magic-select/MagicSelect.js | 1 - .../fields/magic-select/MagicSelect.test.js | 30 +++++++++++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/src/components/fields/magic-select/MagicSelect.js b/src/components/fields/magic-select/MagicSelect.js index 2b96444..0ca9475 100644 --- a/src/components/fields/magic-select/MagicSelect.js +++ b/src/components/fields/magic-select/MagicSelect.js @@ -34,7 +34,6 @@ export class MagicSelect extends React.PureComponent { /** * Handle direct change events * - * Probably not needed * @param {Event} event */ onChange(event) { diff --git a/src/components/fields/magic-select/MagicSelect.test.js b/src/components/fields/magic-select/MagicSelect.test.js index 3c22ec6..137f7bb 100644 --- a/src/components/fields/magic-select/MagicSelect.test.js +++ b/src/components/fields/magic-select/MagicSelect.test.js @@ -297,6 +297,36 @@ describe('MagicSelect component', () => { expect(updatedValue).toEqual(14); }); + it('Passes updated value, not an event ', () => { + let updatedValue = 1; + const component = mount( + { + updatedValue = newValue; + }} + options={[ + { + label: '1', + value: 1, + innerKey: '1' + }, + { + label: '12', + value: 12, + innerKey: '12' + } + ]} + value={updatedValue} + isOpen={true} + /> + ); + + component.instance().onChange({ target: { value: 12 } }); + expect(updatedValue).toEqual(12); + }); + it('Receives the updated value ', () => { let updatedValue = 1; const component = mount( From 53c3522f3c244fbd2ee33bdd03465fd689046f15 Mon Sep 17 00:00:00 2001 From: Josh Pollock Date: Sat, 7 Jul 2018 13:38:31 -0400 Subject: [PATCH 21/25] Using magic tags in render groups #1 --- .idea/workspace.xml | 588 +- docs/ast/source/App.js.json | 35319 ++++++++++------ .../components/fields/FieldInner.js.json | 3732 +- .../fields/button-group/ButtonGroup.js.json | 10441 +++++ .../magic-select/MagicFieldGroup.js.json | 30790 ++++++++++++++ .../fields/magic-select/MagicItem.js.json | 11228 +++++ .../fields/magic-select/MagicSelect.js.json | 19286 +++++++++ .../components/fields/propTypes.js.json | 6448 ++- .../fields/select/SelectField.js.json | 3139 +- docs/badge.svg | 4 +- docs/class/src/App.js~App.html | 12 +- .../RenderGroup.js~RenderGroup.html | 6 + .../MagicFieldGroup.js~MagicFieldGroup.html | 1107 + .../magic-select/MagicItem.js~MagicItem.html | 243 + .../MagicSelect.js~MagicSelect.html | 770 + docs/coverage.json | 58 +- docs/file/src/App.js.html | 63 +- docs/file/src/components/RenderGroup.js.html | 6 + .../checkConfigFieldConditionals.js.html | 6 + .../checkConfigFieldsConditionals.js.html | 6 + .../conditional-logic/index.js.html | 6 + .../components/conditional-logic/util.js.html | 6 + .../src/components/fields/FieldGroup.js.html | 6 + .../src/components/fields/FieldInner.js.html | 9 +- .../fields/button-group/ButtonGroup.js.html | 175 + .../fields/factories/fieldFactory.js.html | 6 + .../fields/factories/fieldSetFactory.js.html | 6 + .../components/fields/factories/index.js.html | 6 + .../factories/prepareFieldConfig.js.html | 6 + .../fieldsetCheckboxHandler.js.html | 6 + docs/file/src/components/fields/index.js.html | 6 + .../src/components/fields/input/Input.js.html | 6 + .../magic-select/MagicFieldGroup.js.html | 305 + .../fields/magic-select/MagicItem.js.html | 183 + .../fields/magic-select/MagicSelect.js.html | 234 + .../fields/messages/Message.js.html | 6 + .../messages/messageObjectFactory.js.html | 6 + .../fields/messages/messagePropTypes.js.html | 6 + .../src/components/fields/propTypes.js.html | 35 +- .../fields/select/SelectField.js.html | 9 + .../fields/select/SelectFieldFancy.js.html | 6 + docs/file/src/components/fields/util.js.html | 6 + docs/file/src/components/index.js.html | 6 + .../validation/addAutomaticValidators.js.html | 6 + .../checkValidatorsForConfigField.js.html | 6 + .../checkValidatorsForConfigFields.js.html | 6 + .../getValidatorsFromConfigField.js.html | 6 + .../src/components/validation/index.js.html | 6 + .../src/components/validation/isEmpty.js.html | 6 + .../src/components/validation/isValid.js.html | 6 + .../validation/isValidOrEmpty.js.html | 6 + .../validation/messageStrings.js.html | 6 + .../src/components/validation/strings.js.html | 6 + .../src/components/validation/util.js.html | 6 + docs/file/src/index.js.html | 6 + docs/file/src/registerServiceWorker.js.html | 6 + docs/function/index.html | 111 +- docs/identifiers.html | 202 + docs/index.html | 111 +- docs/index.json | 1088 +- docs/lint.json | 32 + docs/manual/README.html | 15 +- docs/manual/components.html | 126 +- docs/manual/conditional-logic.html | 15 +- docs/manual/factories.html | 15 +- docs/manual/index.html | 111 +- docs/manual/testing.html | 15 +- docs/manual/validation.html | 15 +- docs/script/search_index.js | 174 + docs/source.html | 74 +- docs/variable/index.html | 152 + manual/components.md | 121 +- src/App.js | 5 +- src/components/RenderGroup.js | 4 +- src/components/fields/FieldGroup.js | 39 +- src/components/fields/FieldGroup.test.js | 12 + .../__snapshots__/FieldGroup.test.js.snap | 34 + .../fields/button-group/ButtonGroup.js | 4 +- .../fields/button-group/ButtonGroup.test.js | 16 +- .../fields/factories/fieldFactory.test.js | 50 +- .../fields/factories/prepareFieldConfig.js | 5 +- .../fields/magic-select/MagicFieldGroup.js | 37 +- .../magic-select/MagicFieldGroup.test.js | 12 +- .../fields/magic-select/MagicItem.js | 2 +- .../fields/magic-select/MagicSelect.js | 6 +- .../fields/magic-select/MagicSelect.test.js | 66 +- src/components/fields/propTypes.js | 13 +- src/components/renderGroup.test.js | 349 +- 88 files changed, 108121 insertions(+), 19286 deletions(-) create mode 100644 docs/ast/source/components/fields/button-group/ButtonGroup.js.json create mode 100644 docs/ast/source/components/fields/magic-select/MagicFieldGroup.js.json create mode 100644 docs/ast/source/components/fields/magic-select/MagicItem.js.json create mode 100644 docs/ast/source/components/fields/magic-select/MagicSelect.js.json create mode 100644 docs/class/src/components/fields/magic-select/MagicFieldGroup.js~MagicFieldGroup.html create mode 100644 docs/class/src/components/fields/magic-select/MagicItem.js~MagicItem.html create mode 100644 docs/class/src/components/fields/magic-select/MagicSelect.js~MagicSelect.html create mode 100644 docs/file/src/components/fields/button-group/ButtonGroup.js.html create mode 100644 docs/file/src/components/fields/magic-select/MagicFieldGroup.js.html create mode 100644 docs/file/src/components/fields/magic-select/MagicItem.js.html create mode 100644 docs/file/src/components/fields/magic-select/MagicSelect.js.html diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 32cd6c6..3ef637c 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -3,10 +3,82 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - + + - - + + - + @@ -132,36 +152,36 @@ - reduceConfigFieldsToValues - add - addValidatorsForType - Adds the props - render - Render - blur - fieldInnerPropTypes - addAutomaticValidators - message - Creates the - cre - sim - items - isOpen - state - when - FieldIn onBlur - it( - options Does not disable by default it.skip( - Button Uses props.value to set value fieldsL + open onChangeListType - Magic + fields + it( + options + ses props.value to set value + focus + Button + buttons + Right + Updates is open state when blurred + Options › Updates is open state when blurred + isOpen + Select + Receives the updated value + .simulate('change' skip - open + value + fieldProps + onSelect + message + Magic + toMatc + magic + event caldera-components @@ -177,8 +197,10 @@ $PROJECT_DIR$/coverage $PROJECT_DIR$/src/components/validation $PROJECT_DIR$/src - $PROJECT_DIR$/src/components/fields $PROJECT_DIR$/src/components + $PROJECT_DIR$/src/components/fields + $PROJECT_DIR$/src/components/fields/magic-select + $PROJECT_DIR$ @@ -187,9 +209,6 @@ @@ -306,7 +328,15 @@ - + + + + + + + + + @@ -376,12 +406,12 @@ - + - @@ -392,12 +422,12 @@ - - - + + + - + @@ -484,53 +514,21 @@ file://$PROJECT_DIR$/src/components/fields/magic-select/MagicItem.js - 80 + 81 + + file://$PROJECT_DIR$/src/components/fields/propTypes.js + 57 + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -616,20 +614,6 @@ - - - - - - - - - - - - - - @@ -637,6 +621,9 @@ + + + @@ -667,20 +654,6 @@ - - - - - - - - - - - - - - @@ -695,16 +668,6 @@ - - - - - - - - - - @@ -712,101 +675,100 @@ - + - - + + - + - - + + + + + - + - - + + - + - + - - + + - + - - - - - - + + - + - - + + - + - - + + - + - + - - + + - + - + - - + + - + - - - - + - - + + + + + - - + + @@ -815,57 +777,139 @@ - - - + + + - + - - + + - + - + - - + + - + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - + - - + + - + + + + + + + + + + + + + + + + + + diff --git a/docs/ast/source/App.js.json b/docs/ast/source/App.js.json index d4aff36..1f87741 100644 --- a/docs/ast/source/App.js.json +++ b/docs/ast/source/App.js.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 5010, + "end": 6092, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 260, + "line": 315, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 5010, + "end": 6092, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 260, + "line": 315, "column": 0 } }, @@ -509,46 +509,132 @@ "value": "./components/RenderGroup" } }, + { + "type": "ImportDeclaration", + "start": 285, + "end": 366, + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 7, + "column": 81 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 293, + "end": 308, + "loc": { + "start": { + "line": 7, + "column": 8 + }, + "end": { + "line": 7, + "column": 23 + } + }, + "imported": { + "type": "Identifier", + "start": 293, + "end": 308, + "loc": { + "start": { + "line": 7, + "column": 8 + }, + "end": { + "line": 7, + "column": 23 + }, + "identifierName": "MagicFieldGroup" + }, + "name": "MagicFieldGroup" + }, + "local": { + "type": "Identifier", + "start": 293, + "end": 308, + "loc": { + "start": { + "line": 7, + "column": 8 + }, + "end": { + "line": 7, + "column": 23 + }, + "identifierName": "MagicFieldGroup" + }, + "name": "MagicFieldGroup" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 315, + "end": 365, + "loc": { + "start": { + "line": 7, + "column": 30 + }, + "end": { + "line": 7, + "column": 80 + } + }, + "extra": { + "rawValue": "./components/fields/magic-select/MagicFieldGroup", + "raw": "\"./components/fields/magic-select/MagicFieldGroup\"" + }, + "value": "./components/fields/magic-select/MagicFieldGroup" + } + }, { "type": "VariableDeclaration", - "start": 286, - "end": 318, + "start": 368, + "end": 400, "loc": { "start": { - "line": 8, + "line": 9, "column": 0 }, "end": { - "line": 8, + "line": 9, "column": 32 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 290, - "end": 317, + "start": 372, + "end": 399, "loc": { "start": { - "line": 8, + "line": 9, "column": 4 }, "end": { - "line": 8, + "line": 9, "column": 31 } }, "id": { "type": "Identifier", - "start": 290, - "end": 304, + "start": 372, + "end": 386, "loc": { "start": { - "line": 8, + "line": 9, "column": 4 }, "end": { - "line": 8, + "line": 9, "column": 18 }, "identifierName": "textFieldValue" @@ -557,15 +643,15 @@ }, "init": { "type": "StringLiteral", - "start": 307, - "end": 317, + "start": 389, + "end": 399, "loc": { "start": { - "line": 8, + "line": 9, "column": 21 }, "end": { - "line": 8, + "line": 9, "column": 31 } }, @@ -581,44 +667,44 @@ }, { "type": "VariableDeclaration", - "start": 319, - "end": 569, + "start": 401, + "end": 651, "loc": { "start": { - "line": 9, + "line": 10, "column": 0 }, "end": { - "line": 21, + "line": 22, "column": 2 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 325, - "end": 568, + "start": 407, + "end": 650, "loc": { "start": { - "line": 9, + "line": 10, "column": 6 }, "end": { - "line": 21, + "line": 22, "column": 1 } }, "id": { "type": "Identifier", - "start": 325, - "end": 340, + "start": 407, + "end": 422, "loc": { "start": { - "line": 9, + "line": 10, "column": 6 }, "end": { - "line": 9, + "line": 10, "column": 21 }, "identifierName": "textFieldConfig" @@ -627,30 +713,30 @@ }, "init": { "type": "ObjectExpression", - "start": 343, - "end": 568, + "start": 425, + "end": 650, "loc": { "start": { - "line": 9, + "line": 10, "column": 24 }, "end": { - "line": 21, + "line": 22, "column": 1 } }, "properties": [ { "type": "ObjectProperty", - "start": 346, - "end": 371, + "start": 428, + "end": 453, "loc": { "start": { - "line": 10, + "line": 11, "column": 1 }, "end": { - "line": 10, + "line": 11, "column": 26 } }, @@ -659,15 +745,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 346, - "end": 350, + "start": 428, + "end": 432, "loc": { "start": { - "line": 10, + "line": 11, "column": 1 }, "end": { - "line": 10, + "line": 11, "column": 5 } }, @@ -679,15 +765,15 @@ }, "value": { "type": "StringLiteral", - "start": 352, - "end": 371, + "start": 434, + "end": 453, "loc": { "start": { - "line": 10, + "line": 11, "column": 7 }, "end": { - "line": 10, + "line": 11, "column": 26 } }, @@ -700,15 +786,15 @@ }, { "type": "ObjectProperty", - "start": 374, - "end": 389, + "start": 456, + "end": 471, "loc": { "start": { - "line": 11, + "line": 12, "column": 1 }, "end": { - "line": 11, + "line": 12, "column": 16 } }, @@ -717,15 +803,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 374, - "end": 381, + "start": 456, + "end": 463, "loc": { "start": { - "line": 11, + "line": 12, "column": 1 }, "end": { - "line": 11, + "line": 12, "column": 8 } }, @@ -737,15 +823,15 @@ }, "value": { "type": "StringLiteral", - "start": 383, - "end": 389, + "start": 465, + "end": 471, "loc": { "start": { - "line": 11, + "line": 12, "column": 10 }, "end": { - "line": 11, + "line": 12, "column": 16 } }, @@ -758,15 +844,15 @@ }, { "type": "ObjectProperty", - "start": 392, - "end": 431, + "start": 474, + "end": 513, "loc": { "start": { - "line": 12, + "line": 13, "column": 1 }, "end": { - "line": 12, + "line": 13, "column": 40 } }, @@ -775,15 +861,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 392, - "end": 398, + "start": 474, + "end": 480, "loc": { "start": { - "line": 12, + "line": 13, "column": 1 }, "end": { - "line": 12, + "line": 13, "column": 7 } }, @@ -795,15 +881,15 @@ }, "value": { "type": "StringLiteral", - "start": 400, - "end": 431, + "start": 482, + "end": 513, "loc": { "start": { - "line": 12, + "line": 13, "column": 9 }, "end": { - "line": 12, + "line": 13, "column": 40 } }, @@ -816,15 +902,15 @@ }, { "type": "ObjectProperty", - "start": 434, - "end": 448, + "start": 516, + "end": 530, "loc": { "start": { - "line": 13, + "line": 14, "column": 1 }, "end": { - "line": 13, + "line": 14, "column": 15 } }, @@ -833,15 +919,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 434, - "end": 440, + "start": 516, + "end": 522, "loc": { "start": { - "line": 13, + "line": 14, "column": 1 }, "end": { - "line": 13, + "line": 14, "column": 7 } }, @@ -853,15 +939,15 @@ }, "value": { "type": "StringLiteral", - "start": 442, - "end": 448, + "start": 524, + "end": 530, "loc": { "start": { - "line": 13, + "line": 14, "column": 9 }, "end": { - "line": 13, + "line": 14, "column": 15 } }, @@ -874,15 +960,15 @@ }, { "type": "ObjectProperty", - "start": 451, - "end": 471, + "start": 533, + "end": 553, "loc": { "start": { - "line": 14, + "line": 15, "column": 1 }, "end": { - "line": 14, + "line": 15, "column": 21 } }, @@ -891,15 +977,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 451, - "end": 464, + "start": 533, + "end": 546, "loc": { "start": { - "line": 14, + "line": 15, "column": 1 }, "end": { - "line": 14, + "line": 15, "column": 14 } }, @@ -911,15 +997,15 @@ }, "value": { "type": "BooleanLiteral", - "start": 466, - "end": 471, + "start": 548, + "end": 553, "loc": { "start": { - "line": 14, + "line": 15, "column": 16 }, "end": { - "line": 14, + "line": 15, "column": 21 } }, @@ -928,15 +1014,15 @@ }, { "type": "ObjectProperty", - "start": 474, - "end": 495, + "start": 556, + "end": 577, "loc": { "start": { - "line": 15, + "line": 16, "column": 1 }, "end": { - "line": 15, + "line": 16, "column": 22 } }, @@ -945,15 +1031,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 474, - "end": 479, + "start": 556, + "end": 561, "loc": { "start": { - "line": 15, + "line": 16, "column": 1 }, "end": { - "line": 15, + "line": 16, "column": 6 }, "identifierName": "value" @@ -962,15 +1048,15 @@ }, "value": { "type": "Identifier", - "start": 481, - "end": 495, + "start": 563, + "end": 577, "loc": { "start": { - "line": 15, + "line": 16, "column": 8 }, "end": { - "line": 15, + "line": 16, "column": 22 }, "identifierName": "textFieldValue" @@ -980,15 +1066,15 @@ }, { "type": "ObjectProperty", - "start": 498, - "end": 563, + "start": 580, + "end": 645, "loc": { "start": { - "line": 16, + "line": 17, "column": 1 }, "end": { - "line": 18, + "line": 19, "column": 2 } }, @@ -997,15 +1083,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 498, - "end": 511, + "start": 580, + "end": 593, "loc": { "start": { - "line": 16, + "line": 17, "column": 1 }, "end": { - "line": 16, + "line": 17, "column": 14 }, "identifierName": "onValueChange" @@ -1014,15 +1100,15 @@ }, "value": { "type": "FunctionExpression", - "start": 513, - "end": 563, + "start": 595, + "end": 645, "loc": { "start": { - "line": 16, + "line": 17, "column": 16 }, "end": { - "line": 18, + "line": 19, "column": 2 } }, @@ -1033,15 +1119,15 @@ "params": [ { "type": "Identifier", - "start": 522, - "end": 530, + "start": 604, + "end": 612, "loc": { "start": { - "line": 16, + "line": 17, "column": 25 }, "end": { - "line": 16, + "line": 17, "column": 33 }, "identifierName": "newValue" @@ -1051,59 +1137,59 @@ ], "body": { "type": "BlockStatement", - "start": 531, - "end": 563, + "start": 613, + "end": 645, "loc": { "start": { - "line": 16, + "line": 17, "column": 34 }, "end": { - "line": 18, + "line": 19, "column": 2 } }, "body": [ { "type": "ExpressionStatement", - "start": 535, - "end": 560, + "start": 617, + "end": 642, "loc": { "start": { - "line": 17, + "line": 18, "column": 2 }, "end": { - "line": 17, + "line": 18, "column": 27 } }, "expression": { "type": "AssignmentExpression", - "start": 535, - "end": 560, + "start": 617, + "end": 642, "loc": { "start": { - "line": 17, + "line": 18, "column": 2 }, "end": { - "line": 17, + "line": 18, "column": 27 } }, "operator": "=", "left": { "type": "Identifier", - "start": 535, - "end": 549, + "start": 617, + "end": 631, "loc": { "start": { - "line": 17, + "line": 18, "column": 2 }, "end": { - "line": 17, + "line": 18, "column": 16 }, "identifierName": "textFieldValue" @@ -1112,15 +1198,15 @@ }, "right": { "type": "Identifier", - "start": 552, - "end": 560, + "start": 634, + "end": 642, "loc": { "start": { - "line": 17, + "line": 18, "column": 19 }, "end": { - "line": 17, + "line": 18, "column": 27 }, "identifierName": "newValue" @@ -1142,107 +1228,37 @@ }, { "type": "VariableDeclaration", - "start": 571, - "end": 599, - "loc": { - "start": { - "line": 23, - "column": 0 - }, - "end": { - "line": 23, - "column": 28 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 575, - "end": 598, - "loc": { - "start": { - "line": 23, - "column": 4 - }, - "end": { - "line": 23, - "column": 27 - } - }, - "id": { - "type": "Identifier", - "start": 575, - "end": 591, - "loc": { - "start": { - "line": 23, - "column": 4 - }, - "end": { - "line": 23, - "column": 20 - }, - "identifierName": "hiddenFieldValue" - }, - "name": "hiddenFieldValue" - }, - "init": { - "type": "StringLiteral", - "start": 594, - "end": 598, - "loc": { - "start": { - "line": 23, - "column": 23 - }, - "end": { - "line": 23, - "column": 27 - } - }, - "extra": { - "rawValue": "42", - "raw": "'42'" - }, - "value": "42" - } - } - ], - "kind": "let" - }, - { - "type": "VariableDeclaration", - "start": 600, - "end": 828, + "start": 653, + "end": 969, "loc": { "start": { "line": 24, "column": 0 }, "end": { - "line": 33, + "line": 40, "column": 2 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 606, - "end": 827, + "start": 659, + "end": 968, "loc": { "start": { "line": 24, "column": 6 }, "end": { - "line": 33, + "line": 40, "column": 1 } }, "id": { "type": "Identifier", - "start": 606, - "end": 623, + "start": 659, + "end": 676, "loc": { "start": { "line": 24, @@ -1252,29 +1268,29 @@ "line": 24, "column": 23 }, - "identifierName": "hiddenFieldConfig" + "identifierName": "numberFieldConfig" }, - "name": "hiddenFieldConfig" + "name": "numberFieldConfig" }, "init": { "type": "ObjectExpression", - "start": 626, - "end": 827, + "start": 679, + "end": 968, "loc": { "start": { "line": 24, "column": 26 }, "end": { - "line": 33, + "line": 40, "column": 1 } }, "properties": [ { "type": "ObjectProperty", - "start": 629, - "end": 661, + "start": 682, + "end": 715, "loc": { "start": { "line": 25, @@ -1282,7 +1298,7 @@ }, "end": { "line": 25, - "column": 33 + "column": 34 } }, "method": false, @@ -1290,8 +1306,8 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 629, - "end": 633, + "start": 682, + "end": 686, "loc": { "start": { "line": 25, @@ -1310,8 +1326,8 @@ }, "value": { "type": "StringLiteral", - "start": 635, - "end": 661, + "start": 688, + "end": 715, "loc": { "start": { "line": 25, @@ -1319,20 +1335,20 @@ }, "end": { "line": 25, - "column": 33 + "column": 34 } }, "extra": { - "rawValue": "cf-something-sequence-id", - "raw": "'cf-something-sequence-id'" + "rawValue": "cf--something-some-number", + "raw": "'cf--something-some-number'" }, - "value": "cf-something-sequence-id" + "value": "cf--something-some-number" } }, { "type": "ObjectProperty", - "start": 664, - "end": 680, + "start": 718, + "end": 752, "loc": { "start": { "line": 26, @@ -1340,7 +1356,7 @@ }, "end": { "line": 26, - "column": 17 + "column": 35 } }, "method": false, @@ -1348,8 +1364,8 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 664, - "end": 670, + "start": 718, + "end": 725, "loc": { "start": { "line": 26, @@ -1357,40 +1373,40 @@ }, "end": { "line": 26, - "column": 7 + "column": 8 } }, "extra": { - "rawValue": "type", - "raw": "'type'" + "rawValue": "label", + "raw": "'label'" }, - "value": "type" + "value": "label" }, "value": { "type": "StringLiteral", - "start": 672, - "end": 680, + "start": 727, + "end": 752, "loc": { "start": { "line": 26, - "column": 9 + "column": 10 }, "end": { "line": 26, - "column": 17 + "column": 35 } }, "extra": { - "rawValue": "hidden", - "raw": "'hidden'" + "rawValue": "The number of something", + "raw": "'The number of something'" }, - "value": "hidden" + "value": "The number of something" } }, { "type": "ObjectProperty", - "start": 683, - "end": 705, + "start": 755, + "end": 785, "loc": { "start": { "line": 27, @@ -1398,7 +1414,7 @@ }, "end": { "line": 27, - "column": 23 + "column": 31 } }, "method": false, @@ -1406,8 +1422,8 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 683, - "end": 690, + "start": 755, + "end": 761, "loc": { "start": { "line": 27, @@ -1415,40 +1431,40 @@ }, "end": { "line": 27, - "column": 8 + "column": 7 } }, "extra": { - "rawValue": "label", - "raw": "'label'" + "rawValue": "desc", + "raw": "'desc'" }, - "value": "label" + "value": "desc" }, "value": { "type": "StringLiteral", - "start": 692, - "end": 705, + "start": 763, + "end": 785, "loc": { "start": { "line": 27, - "column": 10 + "column": 9 }, "end": { "line": 27, - "column": 23 + "column": 31 } }, "extra": { - "rawValue": "Sequence ID", - "raw": "'Sequence ID'" + "rawValue": "How many somethings?", + "raw": "'How many somethings?'" }, - "value": "Sequence ID" + "value": "How many somethings?" } }, { "type": "ObjectProperty", - "start": 708, - "end": 728, + "start": 788, + "end": 802, "loc": { "start": { "line": 28, @@ -1456,7 +1472,7 @@ }, "end": { "line": 28, - "column": 21 + "column": 15 } }, "method": false, @@ -1464,8 +1480,8 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 708, - "end": 721, + "start": 788, + "end": 794, "loc": { "start": { "line": 28, @@ -1473,36 +1489,40 @@ }, "end": { "line": 28, - "column": 14 + "column": 7 } }, "extra": { - "rawValue": "description", - "raw": "'description'" + "rawValue": "type", + "raw": "'type'" }, - "value": "description" + "value": "type" }, "value": { - "type": "BooleanLiteral", - "start": 723, - "end": 728, + "type": "StringLiteral", + "start": 796, + "end": 802, "loc": { "start": { "line": 28, - "column": 16 + "column": 9 }, "end": { "line": 28, - "column": 21 + "column": 15 } }, - "value": false + "extra": { + "rawValue": "text", + "raw": "'text'" + }, + "value": "text" } }, { "type": "ObjectProperty", - "start": 731, - "end": 754, + "start": 805, + "end": 826, "loc": { "start": { "line": 29, @@ -1510,16 +1530,16 @@ }, "end": { "line": 29, - "column": 24 + "column": 22 } }, "method": false, "shorthand": false, "computed": false, "key": { - "type": "Identifier", - "start": 731, - "end": 736, + "type": "StringLiteral", + "start": 805, + "end": 816, "loc": { "start": { "line": 29, @@ -1527,41 +1547,47 @@ }, "end": { "line": 29, - "column": 6 - }, - "identifierName": "value" + "column": 12 + } }, - "name": "value" + "extra": { + "rawValue": "inputType", + "raw": "'inputType'" + }, + "value": "inputType" }, "value": { - "type": "Identifier", - "start": 738, - "end": 754, + "type": "StringLiteral", + "start": 818, + "end": 826, "loc": { "start": { "line": 29, - "column": 8 + "column": 14 }, "end": { "line": 29, - "column": 24 - }, - "identifierName": "hiddenFieldValue" + "column": 22 + } }, - "name": "hiddenFieldValue" + "extra": { + "rawValue": "number", + "raw": "'number'" + }, + "value": "number" } }, { "type": "ObjectProperty", - "start": 757, - "end": 824, + "start": 829, + "end": 880, "loc": { "start": { "line": 30, "column": 1 }, "end": { - "line": 32, + "line": 34, "column": 2 } }, @@ -1570,8 +1596,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 757, - "end": 770, + "start": 829, + "end": 839, "loc": { "start": { "line": 30, @@ -1579,6 +1605,298 @@ }, "end": { "line": 30, + "column": 11 + }, + "identifierName": "attributes" + }, + "name": "attributes" + }, + "value": { + "type": "ObjectExpression", + "start": 841, + "end": 880, + "loc": { + "start": { + "line": 30, + "column": 13 + }, + "end": { + "line": 34, + "column": 2 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 845, + "end": 852, + "loc": { + "start": { + "line": 31, + "column": 2 + }, + "end": { + "line": 31, + "column": 9 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 845, + "end": 848, + "loc": { + "start": { + "line": 31, + "column": 2 + }, + "end": { + "line": 31, + "column": 5 + }, + "identifierName": "min" + }, + "name": "min" + }, + "value": { + "type": "UnaryExpression", + "start": 850, + "end": 852, + "loc": { + "start": { + "line": 31, + "column": 7 + }, + "end": { + "line": 31, + "column": 9 + } + }, + "operator": "-", + "prefix": true, + "argument": { + "type": "NumericLiteral", + "start": 851, + "end": 852, + "loc": { + "start": { + "line": 31, + "column": 8 + }, + "end": { + "line": 31, + "column": 9 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + }, + "extra": { + "parenthesizedArgument": false + } + } + }, + { + "type": "ObjectProperty", + "start": 856, + "end": 863, + "loc": { + "start": { + "line": 32, + "column": 2 + }, + "end": { + "line": 32, + "column": 9 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 856, + "end": 859, + "loc": { + "start": { + "line": 32, + "column": 2 + }, + "end": { + "line": 32, + "column": 5 + }, + "identifierName": "max" + }, + "name": "max" + }, + "value": { + "type": "NumericLiteral", + "start": 861, + "end": 863, + "loc": { + "start": { + "line": 32, + "column": 7 + }, + "end": { + "line": 32, + "column": 9 + } + }, + "extra": { + "rawValue": 22, + "raw": "22" + }, + "value": 22 + } + }, + { + "type": "ObjectProperty", + "start": 867, + "end": 876, + "loc": { + "start": { + "line": 33, + "column": 2 + }, + "end": { + "line": 33, + "column": 11 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 867, + "end": 871, + "loc": { + "start": { + "line": 33, + "column": 2 + }, + "end": { + "line": 33, + "column": 6 + }, + "identifierName": "step" + }, + "name": "step" + }, + "value": { + "type": "NumericLiteral", + "start": 873, + "end": 876, + "loc": { + "start": { + "line": 33, + "column": 8 + }, + "end": { + "line": 33, + "column": 11 + } + }, + "extra": { + "rawValue": 0.1, + "raw": "0.1" + }, + "value": 0.1 + } + } + ] + } + }, + { + "type": "ObjectProperty", + "start": 883, + "end": 892, + "loc": { + "start": { + "line": 35, + "column": 1 + }, + "end": { + "line": 35, + "column": 10 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 883, + "end": 888, + "loc": { + "start": { + "line": 35, + "column": 1 + }, + "end": { + "line": 35, + "column": 6 + }, + "identifierName": "value" + }, + "name": "value" + }, + "value": { + "type": "NumericLiteral", + "start": 890, + "end": 892, + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 10 + } + }, + "extra": { + "rawValue": 42, + "raw": "42" + }, + "value": 42 + } + }, + { + "type": "ObjectProperty", + "start": 895, + "end": 964, + "loc": { + "start": { + "line": 36, + "column": 1 + }, + "end": { + "line": 38, + "column": 2 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 895, + "end": 908, + "loc": { + "start": { + "line": 36, + "column": 1 + }, + "end": { + "line": 36, "column": 14 }, "identifierName": "onValueChange" @@ -1586,16 +1904,16 @@ "name": "onValueChange" }, "value": { - "type": "FunctionExpression", - "start": 772, - "end": 824, + "type": "ArrowFunctionExpression", + "start": 910, + "end": 964, "loc": { "start": { - "line": 30, + "line": 36, "column": 16 }, "end": { - "line": 32, + "line": 38, "column": 2 } }, @@ -1606,100 +1924,134 @@ "params": [ { "type": "Identifier", - "start": 781, - "end": 789, + "start": 911, + "end": 925, "loc": { "start": { - "line": 30, - "column": 25 + "line": 36, + "column": 17 }, "end": { - "line": 30, - "column": 33 + "line": 36, + "column": 31 }, - "identifierName": "newValue" + "identifierName": "newNumberValue" }, - "name": "newValue" + "name": "newNumberValue" } ], "body": { "type": "BlockStatement", - "start": 790, - "end": 824, + "start": 929, + "end": 964, "loc": { "start": { - "line": 30, - "column": 34 + "line": 36, + "column": 35 }, "end": { - "line": 32, + "line": 38, "column": 2 } }, "body": [ { "type": "ExpressionStatement", - "start": 794, - "end": 821, + "start": 933, + "end": 961, "loc": { "start": { - "line": 31, + "line": 37, "column": 2 }, "end": { - "line": 31, - "column": 29 + "line": 37, + "column": 30 } }, "expression": { - "type": "AssignmentExpression", - "start": 794, - "end": 821, + "type": "CallExpression", + "start": 933, + "end": 960, "loc": { "start": { - "line": 31, + "line": 37, "column": 2 }, "end": { - "line": 31, + "line": 37, "column": 29 } }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 794, - "end": 810, + "callee": { + "type": "MemberExpression", + "start": 933, + "end": 944, "loc": { "start": { - "line": 31, + "line": 37, "column": 2 }, "end": { - "line": 31, - "column": 18 - }, - "identifierName": "hiddenFieldValue" + "line": 37, + "column": 13 + } }, - "name": "hiddenFieldValue" - }, - "right": { - "type": "Identifier", - "start": 813, - "end": 821, - "loc": { - "start": { - "line": 31, - "column": 21 + "object": { + "type": "Identifier", + "start": 933, + "end": 940, + "loc": { + "start": { + "line": 37, + "column": 2 + }, + "end": { + "line": 37, + "column": 9 + }, + "identifierName": "console" }, - "end": { - "line": 31, - "column": 29 + "name": "console" + }, + "property": { + "type": "Identifier", + "start": 941, + "end": 944, + "loc": { + "start": { + "line": 37, + "column": 10 + }, + "end": { + "line": 37, + "column": 13 + }, + "identifierName": "log" }, - "identifierName": "newValue" + "name": "log" }, - "name": "newValue" - } + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 945, + "end": 959, + "loc": { + "start": { + "line": 37, + "column": 14 + }, + "end": { + "line": 37, + "column": 28 + }, + "identifierName": "newNumberValue" + }, + "name": "newNumberValue" + } + ] } } ], @@ -1715,69 +2067,69 @@ }, { "type": "VariableDeclaration", - "start": 830, - "end": 860, + "start": 971, + "end": 999, "loc": { "start": { - "line": 35, + "line": 42, "column": 0 }, "end": { - "line": 35, - "column": 30 + "line": 42, + "column": 28 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 834, - "end": 859, + "start": 975, + "end": 998, "loc": { "start": { - "line": 35, + "line": 42, "column": 4 }, "end": { - "line": 35, - "column": 29 + "line": 42, + "column": 27 } }, "id": { "type": "Identifier", - "start": 834, - "end": 850, + "start": 975, + "end": 991, "loc": { "start": { - "line": 35, + "line": 42, "column": 4 }, "end": { - "line": 35, + "line": 42, "column": 20 }, - "identifierName": "selectFieldValue" + "identifierName": "hiddenFieldValue" }, - "name": "selectFieldValue" + "name": "hiddenFieldValue" }, "init": { "type": "StringLiteral", - "start": 853, - "end": 859, + "start": 994, + "end": 998, "loc": { "start": { - "line": 35, + "line": 42, "column": 23 }, "end": { - "line": 35, - "column": 29 + "line": 42, + "column": 27 } }, "extra": { - "rawValue": "html", - "raw": "'html'" + "rawValue": "42", + "raw": "'42'" }, - "value": "html" + "value": "42" } } ], @@ -1785,77 +2137,77 @@ }, { "type": "VariableDeclaration", - "start": 861, - "end": 1232, + "start": 1000, + "end": 1228, "loc": { "start": { - "line": 36, + "line": 43, "column": 0 }, "end": { - "line": 55, + "line": 52, "column": 2 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 867, - "end": 1231, + "start": 1006, + "end": 1227, "loc": { "start": { - "line": 36, + "line": 43, "column": 6 }, "end": { - "line": 55, + "line": 52, "column": 1 } }, "id": { "type": "Identifier", - "start": 867, - "end": 884, + "start": 1006, + "end": 1023, "loc": { "start": { - "line": 36, + "line": 43, "column": 6 }, "end": { - "line": 36, + "line": 43, "column": 23 }, - "identifierName": "selectFieldConfig" + "identifierName": "hiddenFieldConfig" }, - "name": "selectFieldConfig" + "name": "hiddenFieldConfig" }, "init": { "type": "ObjectExpression", - "start": 887, - "end": 1231, + "start": 1026, + "end": 1227, "loc": { "start": { - "line": 36, + "line": 43, "column": 26 }, "end": { - "line": 55, + "line": 52, "column": 1 } }, "properties": [ { "type": "ObjectProperty", - "start": 890, - "end": 920, + "start": 1029, + "end": 1061, "loc": { "start": { - "line": 37, + "line": 44, "column": 1 }, "end": { - "line": 37, - "column": 31 + "line": 44, + "column": 33 } }, "method": false, @@ -1863,15 +2215,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 890, - "end": 894, + "start": 1029, + "end": 1033, "loc": { "start": { - "line": 37, + "line": 44, "column": 1 }, "end": { - "line": 37, + "line": 44, "column": 5 } }, @@ -1883,37 +2235,37 @@ }, "value": { "type": "StringLiteral", - "start": 896, - "end": 920, + "start": 1035, + "end": 1061, "loc": { "start": { - "line": 37, + "line": 44, "column": 7 }, "end": { - "line": 37, - "column": 31 + "line": 44, + "column": 33 } }, "extra": { - "rawValue": "cf-something-select-id", - "raw": "'cf-something-select-id'" + "rawValue": "cf-something-sequence-id", + "raw": "'cf-something-sequence-id'" }, - "value": "cf-something-select-id" + "value": "cf-something-sequence-id" } }, { "type": "ObjectProperty", - "start": 923, - "end": 941, + "start": 1064, + "end": 1080, "loc": { "start": { - "line": 38, + "line": 45, "column": 1 }, "end": { - "line": 38, - "column": 19 + "line": 45, + "column": 17 } }, "method": false, @@ -1921,15 +2273,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 923, - "end": 929, + "start": 1064, + "end": 1070, "loc": { "start": { - "line": 38, + "line": 45, "column": 1 }, "end": { - "line": 38, + "line": 45, "column": 7 } }, @@ -1941,37 +2293,37 @@ }, "value": { "type": "StringLiteral", - "start": 931, - "end": 941, + "start": 1072, + "end": 1080, "loc": { "start": { - "line": 38, + "line": 45, "column": 9 }, "end": { - "line": 38, - "column": 19 + "line": 45, + "column": 17 } }, "extra": { - "rawValue": "dropdown", - "raw": "'dropdown'" + "rawValue": "hidden", + "raw": "'hidden'" }, - "value": "dropdown" + "value": "hidden" } }, { "type": "ObjectProperty", - "start": 944, - "end": 967, + "start": 1083, + "end": 1105, "loc": { "start": { - "line": 39, + "line": 46, "column": 1 }, "end": { - "line": 39, - "column": 24 + "line": 46, + "column": 23 } }, "method": false, @@ -1979,15 +2331,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 944, - "end": 951, + "start": 1083, + "end": 1090, "loc": { "start": { - "line": 39, + "line": 46, "column": 1 }, "end": { - "line": 39, + "line": 46, "column": 8 } }, @@ -1999,37 +2351,37 @@ }, "value": { "type": "StringLiteral", - "start": 953, - "end": 967, + "start": 1092, + "end": 1105, "loc": { "start": { - "line": 39, + "line": 46, "column": 10 }, "end": { - "line": 39, - "column": 24 + "line": 46, + "column": 23 } }, "extra": { - "rawValue": "Content type", - "raw": "'Content type'" + "rawValue": "Sequence ID", + "raw": "'Sequence ID'" }, - "value": "Content type" + "value": "Sequence ID" } }, { "type": "ObjectProperty", - "start": 970, - "end": 1023, + "start": 1108, + "end": 1128, "loc": { "start": { - "line": 40, + "line": 47, "column": 1 }, "end": { - "line": 40, - "column": 54 + "line": 47, + "column": 21 } }, "method": false, @@ -2037,15 +2389,15 @@ "computed": false, "key": { "type": "StringLiteral", - "start": 970, - "end": 983, + "start": 1108, + "end": 1121, "loc": { "start": { - "line": 40, + "line": 47, "column": 1 }, "end": { - "line": 40, + "line": 47, "column": 14 } }, @@ -2056,37 +2408,85 @@ "value": "description" }, "value": { - "type": "StringLiteral", - "start": 985, - "end": 1023, + "type": "BooleanLiteral", + "start": 1123, + "end": 1128, "loc": { "start": { - "line": 40, + "line": 47, "column": 16 }, "end": { - "line": 40, - "column": 54 + "line": 47, + "column": 21 } }, - "extra": { - "rawValue": "Choose content type, default is HTML", - "raw": "'Choose content type, default is HTML'" + "value": false + } + }, + { + "type": "ObjectProperty", + "start": 1131, + "end": 1154, + "loc": { + "start": { + "line": 48, + "column": 1 }, - "value": "Choose content type, default is HTML" + "end": { + "line": 48, + "column": 24 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1131, + "end": 1136, + "loc": { + "start": { + "line": 48, + "column": 1 + }, + "end": { + "line": 48, + "column": 6 + }, + "identifierName": "value" + }, + "name": "value" + }, + "value": { + "type": "Identifier", + "start": 1138, + "end": 1154, + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 48, + "column": 24 + }, + "identifierName": "hiddenFieldValue" + }, + "name": "hiddenFieldValue" } }, { "type": "ObjectProperty", - "start": 1026, - "end": 1133, + "start": 1157, + "end": 1224, "loc": { "start": { - "line": 41, + "line": 49, "column": 1 }, "end": { - "line": 50, + "line": 51, "column": 2 } }, @@ -2095,493 +2495,135 @@ "computed": false, "key": { "type": "Identifier", - "start": 1026, - "end": 1033, + "start": 1157, + "end": 1170, "loc": { "start": { - "line": 41, + "line": 49, "column": 1 }, "end": { - "line": 41, - "column": 8 + "line": 49, + "column": 14 }, - "identifierName": "options" + "identifierName": "onValueChange" }, - "name": "options" + "name": "onValueChange" }, "value": { - "type": "ArrayExpression", - "start": 1035, - "end": 1133, + "type": "FunctionExpression", + "start": 1172, + "end": 1224, "loc": { "start": { - "line": 41, - "column": 10 + "line": 49, + "column": 16 }, "end": { - "line": 50, + "line": 51, "column": 2 } }, - "elements": [ + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ { - "type": "ObjectExpression", - "start": 1039, - "end": 1079, + "type": "Identifier", + "start": 1181, + "end": 1189, "loc": { "start": { - "line": 42, - "column": 2 + "line": 49, + "column": 25 }, "end": { - "line": 45, - "column": 3 - } + "line": 49, + "column": 33 + }, + "identifierName": "newValue" }, - "properties": [ - { - "type": "ObjectProperty", - "start": 1044, - "end": 1057, - "loc": { - "start": { - "line": 43, - "column": 3 - }, - "end": { - "line": 43, - "column": 16 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1044, - "end": 1049, - "loc": { - "start": { - "line": 43, - "column": 3 - }, - "end": { - "line": 43, - "column": 8 - }, - "identifierName": "label" - }, - "name": "label" + "name": "newValue" + } + ], + "body": { + "type": "BlockStatement", + "start": 1190, + "end": 1224, + "loc": { + "start": { + "line": 49, + "column": 34 + }, + "end": { + "line": 51, + "column": 2 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1194, + "end": 1221, + "loc": { + "start": { + "line": 50, + "column": 2 }, - "value": { - "type": "StringLiteral", - "start": 1051, - "end": 1057, - "loc": { - "start": { - "line": 43, - "column": 10 - }, - "end": { - "line": 43, - "column": 16 - } - }, - "extra": { - "rawValue": "HTML", - "raw": "'HTML'" - }, - "value": "HTML" + "end": { + "line": 50, + "column": 29 } }, - { - "type": "ObjectProperty", - "start": 1062, - "end": 1075, + "expression": { + "type": "AssignmentExpression", + "start": 1194, + "end": 1221, "loc": { "start": { - "line": 44, - "column": 3 + "line": 50, + "column": 2 }, "end": { - "line": 44, - "column": 16 + "line": 50, + "column": 29 } }, - "method": false, - "shorthand": false, - "computed": false, - "key": { + "operator": "=", + "left": { "type": "Identifier", - "start": 1062, - "end": 1067, + "start": 1194, + "end": 1210, "loc": { "start": { - "line": 44, - "column": 3 + "line": 50, + "column": 2 }, "end": { - "line": 44, - "column": 8 + "line": 50, + "column": 18 }, - "identifierName": "value" + "identifierName": "hiddenFieldValue" }, - "name": "value" + "name": "hiddenFieldValue" }, - "value": { - "type": "StringLiteral", - "start": 1069, - "end": 1075, + "right": { + "type": "Identifier", + "start": 1213, + "end": 1221, "loc": { "start": { - "line": 44, - "column": 10 + "line": 50, + "column": 21 }, "end": { - "line": 44, - "column": 16 - } - }, - "extra": { - "rawValue": "html", - "raw": "'html'" + "line": 50, + "column": 29 + }, + "identifierName": "newValue" }, - "value": "html" - } - } - ] - }, - { - "type": "ObjectExpression", - "start": 1083, - "end": 1130, - "loc": { - "start": { - "line": 46, - "column": 2 - }, - "end": { - "line": 49, - "column": 3 - } - }, - "properties": [ - { - "type": "ObjectProperty", - "start": 1088, - "end": 1107, - "loc": { - "start": { - "line": 47, - "column": 3 - }, - "end": { - "line": 47, - "column": 22 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1088, - "end": 1093, - "loc": { - "start": { - "line": 47, - "column": 3 - }, - "end": { - "line": 47, - "column": 8 - }, - "identifierName": "label" - }, - "name": "label" - }, - "value": { - "type": "StringLiteral", - "start": 1095, - "end": 1107, - "loc": { - "start": { - "line": 47, - "column": 10 - }, - "end": { - "line": 47, - "column": 22 - } - }, - "extra": { - "rawValue": "Plain Text", - "raw": "'Plain Text'" - }, - "value": "Plain Text" - } - }, - { - "type": "ObjectProperty", - "start": 1112, - "end": 1126, - "loc": { - "start": { - "line": 48, - "column": 3 - }, - "end": { - "line": 48, - "column": 17 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1112, - "end": 1117, - "loc": { - "start": { - "line": 48, - "column": 3 - }, - "end": { - "line": 48, - "column": 8 - }, - "identifierName": "value" - }, - "name": "value" - }, - "value": { - "type": "StringLiteral", - "start": 1119, - "end": 1126, - "loc": { - "start": { - "line": 48, - "column": 10 - }, - "end": { - "line": 48, - "column": 17 - } - }, - "extra": { - "rawValue": "plain", - "raw": "'plain'" - }, - "value": "plain" - } - } - ] - } - ] - } - }, - { - "type": "ObjectProperty", - "start": 1136, - "end": 1159, - "loc": { - "start": { - "line": 51, - "column": 1 - }, - "end": { - "line": 51, - "column": 24 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1136, - "end": 1141, - "loc": { - "start": { - "line": 51, - "column": 1 - }, - "end": { - "line": 51, - "column": 6 - }, - "identifierName": "value" - }, - "name": "value" - }, - "value": { - "type": "Identifier", - "start": 1143, - "end": 1159, - "loc": { - "start": { - "line": 51, - "column": 8 - }, - "end": { - "line": 51, - "column": 24 - }, - "identifierName": "selectFieldValue" - }, - "name": "selectFieldValue" - } - }, - { - "type": "ObjectProperty", - "start": 1162, - "end": 1229, - "loc": { - "start": { - "line": 52, - "column": 1 - }, - "end": { - "line": 54, - "column": 2 - } - }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1162, - "end": 1175, - "loc": { - "start": { - "line": 52, - "column": 1 - }, - "end": { - "line": 52, - "column": 14 - }, - "identifierName": "onValueChange" - }, - "name": "onValueChange" - }, - "value": { - "type": "FunctionExpression", - "start": 1177, - "end": 1229, - "loc": { - "start": { - "line": 52, - "column": 16 - }, - "end": { - "line": 54, - "column": 2 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 1186, - "end": 1194, - "loc": { - "start": { - "line": 52, - "column": 25 - }, - "end": { - "line": 52, - "column": 33 - }, - "identifierName": "newValue" - }, - "name": "newValue" - } - ], - "body": { - "type": "BlockStatement", - "start": 1195, - "end": 1229, - "loc": { - "start": { - "line": 52, - "column": 34 - }, - "end": { - "line": 54, - "column": 2 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 1199, - "end": 1226, - "loc": { - "start": { - "line": 53, - "column": 2 - }, - "end": { - "line": 53, - "column": 29 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 1199, - "end": 1226, - "loc": { - "start": { - "line": 53, - "column": 2 - }, - "end": { - "line": 53, - "column": 29 - } - }, - "operator": "=", - "left": { - "type": "Identifier", - "start": 1199, - "end": 1215, - "loc": { - "start": { - "line": 53, - "column": 2 - }, - "end": { - "line": 53, - "column": 18 - }, - "identifierName": "selectFieldValue" - }, - "name": "selectFieldValue" - }, - "right": { - "type": "Identifier", - "start": 1218, - "end": 1226, - "loc": { - "start": { - "line": 53, - "column": 21 - }, - "end": { - "line": 53, - "column": 29 - }, - "identifierName": "newValue" - }, - "name": "newValue" + "name": "newValue" } } } @@ -2598,86 +2640,69 @@ }, { "type": "VariableDeclaration", - "start": 1234, - "end": 1265, + "start": 1230, + "end": 1260, "loc": { "start": { - "line": 57, + "line": 54, "column": 0 }, "end": { - "line": 57, - "column": 31 + "line": 54, + "column": 30 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1238, - "end": 1264, + "start": 1234, + "end": 1259, "loc": { "start": { - "line": 57, + "line": 54, "column": 4 }, "end": { - "line": 57, - "column": 30 + "line": 54, + "column": 29 } }, "id": { "type": "Identifier", - "start": 1238, - "end": 1256, + "start": 1234, + "end": 1250, "loc": { "start": { - "line": 57, + "line": 54, "column": 4 }, "end": { - "line": 57, - "column": 22 + "line": 54, + "column": 20 }, - "identifierName": "fieldSetFieldValue" + "identifierName": "selectFieldValue" }, - "name": "fieldSetFieldValue" + "name": "selectFieldValue" }, "init": { - "type": "ArrayExpression", - "start": 1259, - "end": 1264, + "type": "StringLiteral", + "start": 1253, + "end": 1259, "loc": { "start": { - "line": 57, - "column": 25 + "line": 54, + "column": 23 }, "end": { - "line": 57, - "column": 30 + "line": 54, + "column": 29 } }, - "elements": [ - { - "type": "StringLiteral", - "start": 1260, - "end": 1263, - "loc": { - "start": { - "line": 57, - "column": 26 - }, - "end": { - "line": 57, - "column": 29 - } - }, - "extra": { - "rawValue": "1", - "raw": "'1'" - }, - "value": "1" - } - ] + "extra": { + "rawValue": "html", + "raw": "'html'" + }, + "value": "html" } } ], @@ -2685,131 +2710,134 @@ }, { "type": "VariableDeclaration", - "start": 1266, - "end": 1523, + "start": 1261, + "end": 1632, "loc": { "start": { - "line": 58, + "line": 55, "column": 0 }, "end": { - "line": 77, + "line": 74, "column": 2 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1272, - "end": 1522, + "start": 1267, + "end": 1631, "loc": { "start": { - "line": 58, + "line": 55, "column": 6 }, "end": { - "line": 77, + "line": 74, "column": 1 } }, "id": { "type": "Identifier", - "start": 1272, - "end": 1285, + "start": 1267, + "end": 1284, "loc": { "start": { - "line": 58, + "line": 55, "column": 6 }, "end": { - "line": 58, - "column": 19 + "line": 55, + "column": 23 }, - "identifierName": "fieldSetField" + "identifierName": "selectFieldConfig" }, - "name": "fieldSetField" + "name": "selectFieldConfig" }, "init": { "type": "ObjectExpression", - "start": 1288, - "end": 1522, + "start": 1287, + "end": 1631, "loc": { "start": { - "line": 58, - "column": 22 + "line": 55, + "column": 26 }, "end": { - "line": 77, + "line": 74, "column": 1 } }, "properties": [ { "type": "ObjectProperty", - "start": 1291, - "end": 1307, + "start": 1290, + "end": 1320, "loc": { "start": { - "line": 59, + "line": 56, "column": 1 }, "end": { - "line": 59, - "column": 17 + "line": 56, + "column": 31 } }, "method": false, "shorthand": false, "computed": false, "key": { - "type": "Identifier", - "start": 1291, - "end": 1293, + "type": "StringLiteral", + "start": 1290, + "end": 1294, "loc": { "start": { - "line": 59, + "line": 56, "column": 1 }, "end": { - "line": 59, - "column": 3 - }, - "identifierName": "id" + "line": 56, + "column": 5 + } }, - "name": "id" + "extra": { + "rawValue": "id", + "raw": "'id'" + }, + "value": "id" }, "value": { "type": "StringLiteral", - "start": 1295, - "end": 1307, + "start": 1296, + "end": 1320, "loc": { "start": { - "line": 59, - "column": 5 + "line": 56, + "column": 7 }, "end": { - "line": 59, - "column": 17 + "line": 56, + "column": 31 } }, "extra": { - "rawValue": "fieldset-3", - "raw": "'fieldset-3'" + "rawValue": "cf-something-select-id", + "raw": "'cf-something-select-id'" }, - "value": "fieldset-3" + "value": "cf-something-select-id" } }, { "type": "ObjectProperty", - "start": 1310, - "end": 1328, + "start": 1323, + "end": 1341, "loc": { "start": { - "line": 60, + "line": 57, "column": 1 }, "end": { - "line": 60, + "line": 57, "column": 19 } }, @@ -2817,109 +2845,173 @@ "shorthand": false, "computed": false, "key": { - "type": "Identifier", - "start": 1310, - "end": 1315, + "type": "StringLiteral", + "start": 1323, + "end": 1329, "loc": { "start": { - "line": 60, + "line": 57, "column": 1 }, "end": { - "line": 60, - "column": 6 - }, - "identifierName": "label" + "line": 57, + "column": 7 + } }, - "name": "label" + "extra": { + "rawValue": "type", + "raw": "'type'" + }, + "value": "type" }, "value": { "type": "StringLiteral", - "start": 1317, - "end": 1328, + "start": 1331, + "end": 1341, "loc": { "start": { - "line": 60, - "column": 8 + "line": 57, + "column": 9 }, "end": { - "line": 60, + "line": 57, "column": 19 } }, "extra": { - "rawValue": "How many?", - "raw": "'How many?'" + "rawValue": "dropdown", + "raw": "'dropdown'" }, - "value": "How many?" + "value": "dropdown" } }, { "type": "ObjectProperty", - "start": 1331, - "end": 1347, + "start": 1344, + "end": 1367, "loc": { "start": { - "line": 61, + "line": 58, "column": 1 }, "end": { - "line": 61, - "column": 17 + "line": 58, + "column": 24 } }, "method": false, "shorthand": false, "computed": false, "key": { - "type": "Identifier", - "start": 1331, - "end": 1335, + "type": "StringLiteral", + "start": 1344, + "end": 1351, "loc": { "start": { - "line": 61, + "line": 58, "column": 1 }, "end": { - "line": 61, - "column": 5 + "line": 58, + "column": 8 + } + }, + "extra": { + "rawValue": "label", + "raw": "'label'" + }, + "value": "label" + }, + "value": { + "type": "StringLiteral", + "start": 1353, + "end": 1367, + "loc": { + "start": { + "line": 58, + "column": 10 }, - "identifierName": "type" + "end": { + "line": 58, + "column": 24 + } }, - "name": "type" + "extra": { + "rawValue": "Content type", + "raw": "'Content type'" + }, + "value": "Content type" + } + }, + { + "type": "ObjectProperty", + "start": 1370, + "end": 1423, + "loc": { + "start": { + "line": 59, + "column": 1 + }, + "end": { + "line": 59, + "column": 54 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "StringLiteral", + "start": 1370, + "end": 1383, + "loc": { + "start": { + "line": 59, + "column": 1 + }, + "end": { + "line": 59, + "column": 14 + } + }, + "extra": { + "rawValue": "description", + "raw": "'description'" + }, + "value": "description" }, "value": { "type": "StringLiteral", - "start": 1337, - "end": 1347, + "start": 1385, + "end": 1423, "loc": { "start": { - "line": 61, - "column": 7 + "line": 59, + "column": 16 }, "end": { - "line": 61, - "column": 17 + "line": 59, + "column": 54 } }, "extra": { - "rawValue": "fieldset", - "raw": "'fieldset'" + "rawValue": "Choose content type, default is HTML", + "raw": "'Choose content type, default is HTML'" }, - "value": "fieldset" + "value": "Choose content type, default is HTML" } }, { "type": "ObjectProperty", - "start": 1350, - "end": 1443, + "start": 1426, + "end": 1533, "loc": { "start": { - "line": 62, + "line": 60, "column": 1 }, "end": { - "line": 72, + "line": 69, "column": 2 } }, @@ -2928,15 +3020,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1350, - "end": 1357, + "start": 1426, + "end": 1433, "loc": { "start": { - "line": 62, + "line": 60, "column": 1 }, "end": { - "line": 62, + "line": 60, "column": 8 }, "identifierName": "options" @@ -2945,46 +3037,46 @@ }, "value": { "type": "ArrayExpression", - "start": 1359, - "end": 1443, + "start": 1435, + "end": 1533, "loc": { "start": { - "line": 62, + "line": 60, "column": 10 }, "end": { - "line": 72, + "line": 69, "column": 2 } }, "elements": [ { "type": "ObjectExpression", - "start": 1363, - "end": 1399, + "start": 1439, + "end": 1479, "loc": { "start": { - "line": 63, + "line": 61, "column": 2 }, "end": { - "line": 66, + "line": 64, "column": 3 } }, "properties": [ { "type": "ObjectProperty", - "start": 1368, - "end": 1378, + "start": 1444, + "end": 1457, "loc": { "start": { - "line": 64, + "line": 62, "column": 3 }, "end": { - "line": 64, - "column": 13 + "line": 62, + "column": 16 } }, "method": false, @@ -2992,54 +3084,54 @@ "computed": false, "key": { "type": "Identifier", - "start": 1368, - "end": 1373, + "start": 1444, + "end": 1449, "loc": { "start": { - "line": 64, + "line": 62, "column": 3 }, "end": { - "line": 64, + "line": 62, "column": 8 }, - "identifierName": "value" + "identifierName": "label" }, - "name": "value" + "name": "label" }, "value": { "type": "StringLiteral", - "start": 1375, - "end": 1378, + "start": 1451, + "end": 1457, "loc": { "start": { - "line": 64, + "line": 62, "column": 10 }, "end": { - "line": 64, - "column": 13 + "line": 62, + "column": 16 } }, "extra": { - "rawValue": "1", - "raw": "'1'" + "rawValue": "HTML", + "raw": "'HTML'" }, - "value": "1" + "value": "HTML" } }, { "type": "ObjectProperty", - "start": 1383, - "end": 1395, + "start": 1462, + "end": 1475, "loc": { "start": { - "line": 65, + "line": 63, "column": 3 }, "end": { - "line": 65, - "column": 15 + "line": 63, + "column": 16 } }, "method": false, @@ -3047,71 +3139,71 @@ "computed": false, "key": { "type": "Identifier", - "start": 1383, - "end": 1388, + "start": 1462, + "end": 1467, "loc": { "start": { - "line": 65, + "line": 63, "column": 3 }, "end": { - "line": 65, + "line": 63, "column": 8 }, - "identifierName": "label" + "identifierName": "value" }, - "name": "label" + "name": "value" }, "value": { "type": "StringLiteral", - "start": 1390, - "end": 1395, + "start": 1469, + "end": 1475, "loc": { "start": { - "line": 65, + "line": 63, "column": 10 }, "end": { - "line": 65, - "column": 15 + "line": 63, + "column": 16 } }, "extra": { - "rawValue": "One", - "raw": "'One'" + "rawValue": "html", + "raw": "'html'" }, - "value": "One" + "value": "html" } } ] }, { "type": "ObjectExpression", - "start": 1403, - "end": 1439, + "start": 1483, + "end": 1530, "loc": { "start": { - "line": 67, + "line": 65, "column": 2 }, "end": { - "line": 70, + "line": 68, "column": 3 } }, "properties": [ { "type": "ObjectProperty", - "start": 1408, - "end": 1418, + "start": 1488, + "end": 1507, "loc": { "start": { - "line": 68, + "line": 66, "column": 3 }, "end": { - "line": 68, - "column": 13 + "line": 66, + "column": 22 } }, "method": false, @@ -3119,54 +3211,54 @@ "computed": false, "key": { "type": "Identifier", - "start": 1408, - "end": 1413, + "start": 1488, + "end": 1493, "loc": { "start": { - "line": 68, + "line": 66, "column": 3 }, "end": { - "line": 68, + "line": 66, "column": 8 }, - "identifierName": "value" + "identifierName": "label" }, - "name": "value" + "name": "label" }, "value": { "type": "StringLiteral", - "start": 1415, - "end": 1418, + "start": 1495, + "end": 1507, "loc": { "start": { - "line": 68, + "line": 66, "column": 10 }, "end": { - "line": 68, - "column": 13 + "line": 66, + "column": 22 } }, "extra": { - "rawValue": "2", - "raw": "'2'" + "rawValue": "Plain Text", + "raw": "'Plain Text'" }, - "value": "2" + "value": "Plain Text" } }, { "type": "ObjectProperty", - "start": 1423, - "end": 1435, + "start": 1512, + "end": 1526, "loc": { "start": { - "line": 69, + "line": 67, "column": 3 }, "end": { - "line": 69, - "column": 15 + "line": 67, + "column": 17 } }, "method": false, @@ -3174,40 +3266,40 @@ "computed": false, "key": { "type": "Identifier", - "start": 1423, - "end": 1428, + "start": 1512, + "end": 1517, "loc": { "start": { - "line": 69, + "line": 67, "column": 3 }, "end": { - "line": 69, + "line": 67, "column": 8 }, - "identifierName": "label" + "identifierName": "value" }, - "name": "label" + "name": "value" }, "value": { "type": "StringLiteral", - "start": 1430, - "end": 1435, + "start": 1519, + "end": 1526, "loc": { "start": { - "line": 69, + "line": 67, "column": 10 }, "end": { - "line": 69, - "column": 15 + "line": 67, + "column": 17 } }, "extra": { - "rawValue": "Two", - "raw": "'Two'" + "rawValue": "plain", + "raw": "'plain'" }, - "value": "Two" + "value": "plain" } } ] @@ -3217,16 +3309,16 @@ }, { "type": "ObjectProperty", - "start": 1446, - "end": 1454, + "start": 1536, + "end": 1559, "loc": { "start": { - "line": 73, + "line": 70, "column": 1 }, "end": { - "line": 73, - "column": 9 + "line": 70, + "column": 24 } }, "method": false, @@ -3234,15 +3326,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1446, - "end": 1451, + "start": 1536, + "end": 1541, "loc": { "start": { - "line": 73, + "line": 70, "column": 1 }, "end": { - "line": 73, + "line": 70, "column": 6 }, "identifierName": "value" @@ -3250,33 +3342,34 @@ "name": "value" }, "value": { - "type": "ArrayExpression", - "start": 1452, - "end": 1454, + "type": "Identifier", + "start": 1543, + "end": 1559, "loc": { "start": { - "line": 73, - "column": 7 + "line": 70, + "column": 8 }, "end": { - "line": 73, - "column": 9 - } + "line": 70, + "column": 24 + }, + "identifierName": "selectFieldValue" }, - "elements": [] + "name": "selectFieldValue" } }, { "type": "ObjectProperty", - "start": 1457, - "end": 1520, + "start": 1562, + "end": 1629, "loc": { "start": { - "line": 74, + "line": 71, "column": 1 }, "end": { - "line": 76, + "line": 73, "column": 2 } }, @@ -3285,15 +3378,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1457, - "end": 1470, + "start": 1562, + "end": 1575, "loc": { "start": { - "line": 74, + "line": 71, "column": 1 }, "end": { - "line": 74, + "line": 71, "column": 14 }, "identifierName": "onValueChange" @@ -3301,16 +3394,16 @@ "name": "onValueChange" }, "value": { - "type": "ArrowFunctionExpression", - "start": 1471, - "end": 1520, + "type": "FunctionExpression", + "start": 1577, + "end": 1629, "loc": { "start": { - "line": 74, - "column": 15 + "line": 71, + "column": 16 }, "end": { - "line": 76, + "line": 73, "column": 2 } }, @@ -3321,16 +3414,16 @@ "params": [ { "type": "Identifier", - "start": 1472, - "end": 1480, + "start": 1586, + "end": 1594, "loc": { "start": { - "line": 74, - "column": 16 + "line": 71, + "column": 25 }, "end": { - "line": 74, - "column": 24 + "line": 71, + "column": 33 }, "identifierName": "newValue" }, @@ -3339,76 +3432,76 @@ ], "body": { "type": "BlockStatement", - "start": 1485, - "end": 1520, + "start": 1595, + "end": 1629, "loc": { "start": { - "line": 74, - "column": 29 + "line": 71, + "column": 34 }, "end": { - "line": 76, + "line": 73, "column": 2 } }, "body": [ { "type": "ExpressionStatement", - "start": 1489, - "end": 1517, + "start": 1599, + "end": 1626, "loc": { "start": { - "line": 75, + "line": 72, "column": 2 }, "end": { - "line": 75, - "column": 30 + "line": 72, + "column": 29 } }, "expression": { "type": "AssignmentExpression", - "start": 1489, - "end": 1516, + "start": 1599, + "end": 1626, "loc": { "start": { - "line": 75, + "line": 72, "column": 2 }, "end": { - "line": 75, + "line": 72, "column": 29 } }, "operator": "=", "left": { "type": "Identifier", - "start": 1489, - "end": 1507, + "start": 1599, + "end": 1615, "loc": { "start": { - "line": 75, + "line": 72, "column": 2 }, "end": { - "line": 75, - "column": 20 + "line": 72, + "column": 18 }, - "identifierName": "fieldSetFieldValue" + "identifierName": "selectFieldValue" }, - "name": "fieldSetFieldValue" + "name": "selectFieldValue" }, "right": { "type": "Identifier", - "start": 1508, - "end": 1516, + "start": 1618, + "end": 1626, "loc": { "start": { - "line": 75, + "line": 72, "column": 21 }, "end": { - "line": 75, + "line": 72, "column": 29 }, "identifierName": "newValue" @@ -3430,313 +3523,164 @@ }, { "type": "VariableDeclaration", - "start": 1525, - "end": 1623, + "start": 1634, + "end": 1665, "loc": { "start": { - "line": 79, + "line": 76, "column": 0 }, "end": { - "line": 84, - "column": 2 + "line": 76, + "column": 31 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1531, - "end": 1622, + "start": 1638, + "end": 1664, "loc": { "start": { - "line": 79, - "column": 6 + "line": 76, + "column": 4 }, "end": { - "line": 84, - "column": 1 + "line": 76, + "column": 30 } }, "id": { "type": "Identifier", - "start": 1531, - "end": 1543, + "start": 1638, + "end": 1656, "loc": { "start": { - "line": 79, - "column": 6 + "line": 76, + "column": 4 }, "end": { - "line": 79, - "column": 18 + "line": 76, + "column": 22 }, - "identifierName": "configFields" + "identifierName": "fieldSetFieldValue" }, - "name": "configFields" + "name": "fieldSetFieldValue" }, "init": { "type": "ArrayExpression", - "start": 1546, - "end": 1622, + "start": 1659, + "end": 1664, "loc": { "start": { - "line": 79, - "column": 21 + "line": 76, + "column": 25 }, "end": { - "line": 84, - "column": 1 + "line": 76, + "column": 30 } }, "elements": [ { - "type": "Identifier", - "start": 1549, - "end": 1564, - "loc": { - "start": { - "line": 80, - "column": 1 - }, - "end": { - "line": 80, - "column": 16 - }, - "identifierName": "textFieldConfig" - }, - "name": "textFieldConfig" - }, - { - "type": "Identifier", - "start": 1567, - "end": 1584, - "loc": { - "start": { - "line": 81, - "column": 1 - }, - "end": { - "line": 81, - "column": 18 - }, - "identifierName": "hiddenFieldConfig" - }, - "name": "hiddenFieldConfig" - }, - { - "type": "Identifier", - "start": 1587, - "end": 1604, - "loc": { - "start": { - "line": 82, - "column": 1 - }, - "end": { - "line": 82, - "column": 18 - }, - "identifierName": "selectFieldConfig" - }, - "name": "selectFieldConfig" - }, - { - "type": "Identifier", - "start": 1607, - "end": 1620, + "type": "StringLiteral", + "start": 1660, + "end": 1663, "loc": { "start": { - "line": 83, - "column": 1 + "line": 76, + "column": 26 }, "end": { - "line": 83, - "column": 14 - }, - "identifierName": "fieldSetField" - }, - "name": "fieldSetField" - } - ] - } - } - ], - "kind": "const" - }, - { - "type": "VariableDeclaration", - "start": 1624, - "end": 1677, - "loc": { - "start": { - "line": 85, - "column": 0 - }, - "end": { - "line": 85, - "column": 53 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1630, - "end": 1676, - "loc": { - "start": { - "line": 85, - "column": 6 - }, - "end": { - "line": 85, - "column": 52 - } - }, - "id": { - "type": "Identifier", - "start": 1630, - "end": 1644, - "loc": { - "start": { - "line": 85, - "column": 6 - }, - "end": { - "line": 85, - "column": 20 - }, - "identifierName": "configFieldEls" - }, - "name": "configFieldEls" - }, - "init": { - "type": "CallExpression", - "start": 1647, - "end": 1676, - "loc": { - "start": { - "line": 85, - "column": 23 - }, - "end": { - "line": 85, - "column": 52 - } - }, - "callee": { - "type": "Identifier", - "start": 1647, - "end": 1662, - "loc": { - "start": { - "line": 85, - "column": 23 - }, - "end": { - "line": 85, - "column": 38 + "line": 76, + "column": 29 + } }, - "identifierName": "fieldSetFactory" - }, - "name": "fieldSetFactory" - }, - "arguments": [ - { - "type": "Identifier", - "start": 1663, - "end": 1675, - "loc": { - "start": { - "line": 85, - "column": 39 - }, - "end": { - "line": 85, - "column": 51 - }, - "identifierName": "configFields" + "extra": { + "rawValue": "1", + "raw": "'1'" }, - "name": "configFields" + "value": "1" } ] } } ], - "kind": "const" + "kind": "let" }, { "type": "VariableDeclaration", - "start": 1681, - "end": 1729, + "start": 1666, + "end": 1923, "loc": { "start": { - "line": 89, + "line": 77, "column": 0 }, "end": { - "line": 93, + "line": 96, "column": 2 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1685, - "end": 1728, + "start": 1672, + "end": 1922, "loc": { "start": { - "line": 89, - "column": 4 + "line": 77, + "column": 6 }, "end": { - "line": 93, + "line": 96, "column": 1 } }, "id": { "type": "Identifier", - "start": 1685, - "end": 1691, + "start": 1672, + "end": 1685, "loc": { "start": { - "line": 89, - "column": 4 + "line": 77, + "column": 6 }, "end": { - "line": 89, - "column": 10 + "line": 77, + "column": 19 }, - "identifierName": "values" + "identifierName": "fieldSetField" }, - "name": "values" + "name": "fieldSetField" }, "init": { "type": "ObjectExpression", - "start": 1694, - "end": 1728, + "start": 1688, + "end": 1922, "loc": { "start": { - "line": 89, - "column": 13 + "line": 77, + "column": 22 }, "end": { - "line": 93, + "line": 96, "column": 1 } }, "properties": [ { "type": "ObjectProperty", - "start": 1697, - "end": 1704, + "start": 1691, + "end": 1707, "loc": { "start": { - "line": 90, + "line": 78, "column": 1 }, "end": { - "line": 90, - "column": 8 + "line": 78, + "column": 17 } }, "method": false, @@ -3744,54 +3688,54 @@ "computed": false, "key": { "type": "Identifier", - "start": 1697, - "end": 1700, + "start": 1691, + "end": 1693, "loc": { "start": { - "line": 90, + "line": 78, "column": 1 }, "end": { - "line": 90, - "column": 4 + "line": 78, + "column": 3 }, - "identifierName": "one" + "identifierName": "id" }, - "name": "one" + "name": "id" }, "value": { "type": "StringLiteral", - "start": 1702, - "end": 1704, + "start": 1695, + "end": 1707, "loc": { "start": { - "line": 90, - "column": 6 + "line": 78, + "column": 5 }, "end": { - "line": 90, - "column": 8 + "line": 78, + "column": 17 } }, "extra": { - "rawValue": "", - "raw": "''" + "rawValue": "fieldset-3", + "raw": "'fieldset-3'" }, - "value": "" + "value": "fieldset-3" } }, { "type": "ObjectProperty", - "start": 1707, - "end": 1714, + "start": 1710, + "end": 1728, "loc": { "start": { - "line": 91, + "line": 79, "column": 1 }, "end": { - "line": 91, - "column": 8 + "line": 79, + "column": 19 } }, "method": false, @@ -3799,54 +3743,54 @@ "computed": false, "key": { "type": "Identifier", - "start": 1707, - "end": 1710, + "start": 1710, + "end": 1715, "loc": { "start": { - "line": 91, + "line": 79, "column": 1 }, "end": { - "line": 91, - "column": 4 + "line": 79, + "column": 6 }, - "identifierName": "two" + "identifierName": "label" }, - "name": "two" + "name": "label" }, "value": { "type": "StringLiteral", - "start": 1712, - "end": 1714, + "start": 1717, + "end": 1728, "loc": { "start": { - "line": 91, - "column": 6 + "line": 79, + "column": 8 }, "end": { - "line": 91, - "column": 8 + "line": 79, + "column": 19 } }, "extra": { - "rawValue": "", - "raw": "''" + "rawValue": "How many?", + "raw": "'How many?'" }, - "value": "" + "value": "How many?" } }, { "type": "ObjectProperty", - "start": 1717, - "end": 1726, + "start": 1731, + "end": 1747, "loc": { "start": { - "line": 92, + "line": 80, "column": 1 }, "end": { - "line": 92, - "column": 10 + "line": 80, + "column": 17 } }, "method": false, @@ -3854,1481 +3798,3236 @@ "computed": false, "key": { "type": "Identifier", - "start": 1717, - "end": 1722, + "start": 1731, + "end": 1735, "loc": { "start": { - "line": 92, + "line": 80, "column": 1 }, "end": { - "line": 92, - "column": 6 + "line": 80, + "column": 5 }, - "identifierName": "three" + "identifierName": "type" }, - "name": "three" + "name": "type" }, "value": { "type": "StringLiteral", - "start": 1724, - "end": 1726, + "start": 1737, + "end": 1747, "loc": { "start": { - "line": 92, - "column": 8 + "line": 80, + "column": 7 }, "end": { - "line": 92, - "column": 10 + "line": 80, + "column": 17 } }, "extra": { - "rawValue": "", - "raw": "''" + "rawValue": "fieldset", + "raw": "'fieldset'" }, - "value": "" + "value": "fieldset" } - } - ] - } - } - ], - "kind": "let" - }, - { - "type": "Identifier", - "start": 1731, - "end": 4988, - "loc": { - "start": { - "line": 95, - "column": 0 - }, - "end": { - "line": 257, - "column": 1 - } - }, - "id": { - "type": "Identifier", - "start": 1737, - "end": 1740, - "loc": { - "start": { - "line": 95, - "column": 6 - }, - "end": { - "line": 95, - "column": 9 - }, - "identifierName": "App" - }, - "name": "App" - }, - "superClass": { - "type": "Identifier", - "start": 1749, - "end": 1758, - "loc": { - "start": { - "line": 95, - "column": 18 - }, - "end": { - "line": 95, - "column": 27 - }, - "identifierName": "Component" - }, - "name": "Component" - }, - "body": { - "type": "ClassBody", - "start": 1759, - "end": 4988, - "loc": { - "start": { - "line": 95, - "column": 28 - }, - "end": { - "line": 257, - "column": 1 - } - }, - "body": [ - { - "type": "ClassMethod", - "start": 1763, - "end": 4986, - "loc": { - "start": { - "line": 97, - "column": 1 }, - "end": { - "line": 256, - "column": 2 - } - }, - "static": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 1763, - "end": 1769, - "loc": { - "start": { - "line": 97, - "column": 1 - }, - "end": { - "line": 97, - "column": 7 + { + "type": "ObjectProperty", + "start": 1750, + "end": 1843, + "loc": { + "start": { + "line": 81, + "column": 1 + }, + "end": { + "line": 91, + "column": 2 + } }, - "identifierName": "render" - }, - "name": "render" - }, - "kind": "method", - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 1772, - "end": 4986, - "loc": { - "start": { - "line": 97, - "column": 10 + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1750, + "end": 1757, + "loc": { + "start": { + "line": 81, + "column": 1 + }, + "end": { + "line": 81, + "column": 8 + }, + "identifierName": "options" + }, + "name": "options" }, - "end": { - "line": 256, - "column": 2 - } - }, - "body": [ - { - "type": "ReturnStatement", - "start": 1776, - "end": 4983, + "value": { + "type": "ArrayExpression", + "start": 1759, + "end": 1843, "loc": { "start": { - "line": 98, - "column": 2 + "line": 81, + "column": 10 }, "end": { - "line": 255, - "column": 4 + "line": 91, + "column": 2 } }, - "argument": { - "type": "JSXElement", - "start": 1788, - "end": 4978, - "loc": { - "start": { - "line": 99, - "column": 3 - }, - "end": { - "line": 254, - "column": 9 - } - }, - "openingElement": { - "type": "JSXOpeningElement", - "start": 1788, - "end": 1809, + "elements": [ + { + "type": "ObjectExpression", + "start": 1763, + "end": 1799, "loc": { "start": { - "line": 99, - "column": 3 + "line": 82, + "column": 2 }, "end": { - "line": 99, - "column": 24 + "line": 85, + "column": 3 } }, - "attributes": [ + "properties": [ { - "type": "JSXAttribute", - "start": 1793, - "end": 1808, + "type": "ObjectProperty", + "start": 1768, + "end": 1778, "loc": { "start": { - "line": 99, - "column": 8 + "line": 83, + "column": 3 }, "end": { - "line": 99, - "column": 23 + "line": 83, + "column": 13 } }, - "name": { - "type": "JSXIdentifier", - "start": 1793, - "end": 1802, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1768, + "end": 1773, "loc": { "start": { - "line": 99, + "line": 83, + "column": 3 + }, + "end": { + "line": 83, "column": 8 }, + "identifierName": "value" + }, + "name": "value" + }, + "value": { + "type": "StringLiteral", + "start": 1775, + "end": 1778, + "loc": { + "start": { + "line": 83, + "column": 10 + }, "end": { - "line": 99, - "column": 17 + "line": 83, + "column": 13 } }, - "name": "className" + "extra": { + "rawValue": "1", + "raw": "'1'" + }, + "value": "1" + } + }, + { + "type": "ObjectProperty", + "start": 1783, + "end": 1795, + "loc": { + "start": { + "line": 84, + "column": 3 + }, + "end": { + "line": 84, + "column": 15 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1783, + "end": 1788, + "loc": { + "start": { + "line": 84, + "column": 3 + }, + "end": { + "line": 84, + "column": 8 + }, + "identifierName": "label" + }, + "name": "label" }, "value": { "type": "StringLiteral", - "start": 1803, - "end": 1808, + "start": 1790, + "end": 1795, "loc": { "start": { - "line": 99, - "column": 18 + "line": 84, + "column": 10 }, "end": { - "line": 99, - "column": 23 + "line": 84, + "column": 15 } }, - "extra": null, - "value": "App" + "extra": { + "rawValue": "One", + "raw": "'One'" + }, + "value": "One" } } - ], - "name": { - "type": "JSXIdentifier", - "start": 1789, - "end": 1792, - "loc": { - "start": { - "line": 99, - "column": 4 - }, - "end": { - "line": 99, - "column": 7 - } - }, - "name": "div" - }, - "selfClosing": false + ] }, - "closingElement": { - "type": "JSXClosingElement", - "start": 4972, - "end": 4978, + { + "type": "ObjectExpression", + "start": 1803, + "end": 1839, "loc": { "start": { - "line": 254, - "column": 3 + "line": 86, + "column": 2 }, "end": { - "line": 254, - "column": 9 + "line": 89, + "column": 3 } }, - "name": { - "type": "JSXIdentifier", - "start": 4974, - "end": 4977, - "loc": { - "start": { - "line": 254, - "column": 5 - }, - "end": { - "line": 254, - "column": 8 - } - }, - "name": "div" - } - }, - "children": [ - { - "type": "JSXText", - "start": 1809, - "end": 1814, - "loc": { - "start": { - "line": 99, - "column": 24 - }, - "end": { - "line": 100, - "column": 4 - } - }, - "extra": null, - "value": "\n\t\t\t\t" - }, - { - "type": "JSXElement", - "start": 1814, - "end": 1968, - "loc": { - "start": { - "line": 100, - "column": 4 - }, - "end": { - "line": 103, - "column": 13 - } - }, - "openingElement": { - "type": "JSXOpeningElement", - "start": 1814, - "end": 1845, + "properties": [ + { + "type": "ObjectProperty", + "start": 1808, + "end": 1818, "loc": { "start": { - "line": 100, - "column": 4 + "line": 87, + "column": 3 }, "end": { - "line": 100, - "column": 35 + "line": 87, + "column": 13 } }, - "attributes": [ - { - "type": "JSXAttribute", - "start": 1822, - "end": 1844, - "loc": { - "start": { - "line": 100, - "column": 12 - }, - "end": { - "line": 100, - "column": 34 - } + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1808, + "end": 1813, + "loc": { + "start": { + "line": 87, + "column": 3 }, - "name": { - "type": "JSXIdentifier", - "start": 1822, - "end": 1831, - "loc": { - "start": { - "line": 100, - "column": 12 - }, - "end": { - "line": 100, - "column": 21 - } - }, - "name": "className" + "end": { + "line": 87, + "column": 8 }, - "value": { - "type": "StringLiteral", - "start": 1832, - "end": 1844, - "loc": { - "start": { - "line": 100, - "column": 22 - }, - "end": { - "line": 100, - "column": 34 - } - }, - "extra": null, - "value": "App-header" - } - } - ], - "name": { - "type": "JSXIdentifier", + "identifierName": "value" + }, + "name": "value" + }, + "value": { + "type": "StringLiteral", "start": 1815, - "end": 1821, + "end": 1818, "loc": { "start": { - "line": 100, - "column": 5 + "line": 87, + "column": 10 }, "end": { - "line": 100, - "column": 11 + "line": 87, + "column": 13 } }, - "name": "header" - }, - "selfClosing": false + "extra": { + "rawValue": "2", + "raw": "'2'" + }, + "value": "2" + } }, - "closingElement": { - "type": "JSXClosingElement", - "start": 1959, - "end": 1968, + { + "type": "ObjectProperty", + "start": 1823, + "end": 1835, "loc": { "start": { - "line": 103, - "column": 4 + "line": 88, + "column": 3 }, "end": { - "line": 103, - "column": 13 + "line": 88, + "column": 15 } }, - "name": { - "type": "JSXIdentifier", - "start": 1961, - "end": 1967, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1823, + "end": 1828, "loc": { "start": { - "line": 103, - "column": 6 + "line": 88, + "column": 3 }, "end": { - "line": 103, - "column": 12 - } - }, - "name": "header" - } - }, - "children": [ - { - "type": "JSXText", - "start": 1845, - "end": 1851, - "loc": { - "start": { - "line": 100, - "column": 35 + "line": 88, + "column": 8 }, - "end": { - "line": 101, - "column": 5 - } + "identifierName": "label" }, - "extra": null, - "value": "\n\t\t\t\t\t" + "name": "label" }, - { - "type": "JSXElement", - "start": 1851, - "end": 1901, + "value": { + "type": "StringLiteral", + "start": 1830, + "end": 1835, "loc": { "start": { - "line": 101, - "column": 5 + "line": 88, + "column": 10 }, "end": { - "line": 101, - "column": 55 + "line": 88, + "column": 15 } }, - "openingElement": { - "type": "JSXOpeningElement", - "start": 1851, - "end": 1901, - "loc": { - "start": { - "line": 101, - "column": 5 - }, - "end": { - "line": 101, - "column": 55 - } - }, - "attributes": [ - { - "type": "JSXAttribute", - "start": 1856, - "end": 1866, - "loc": { - "start": { - "line": 101, - "column": 10 - }, - "end": { - "line": 101, - "column": 20 - } - }, - "name": { - "type": "JSXIdentifier", - "start": 1856, - "end": 1859, - "loc": { - "start": { - "line": 101, - "column": 10 - }, - "end": { - "line": 101, - "column": 13 - } - }, - "name": "src" - }, - "value": { - "type": "JSXExpressionContainer", - "start": 1860, - "end": 1866, - "loc": { - "start": { - "line": 101, - "column": 14 - }, - "end": { - "line": 101, - "column": 20 - } - }, - "expression": { - "type": "Identifier", - "start": 1861, - "end": 1865, - "loc": { - "start": { - "line": 101, - "column": 15 - }, - "end": { - "line": 101, - "column": 19 - }, - "identifierName": "logo" - }, - "name": "logo" - } - } - }, - { - "type": "JSXAttribute", - "start": 1867, - "end": 1887, - "loc": { - "start": { - "line": 101, - "column": 21 - }, - "end": { - "line": 101, - "column": 41 - } - }, - "name": { - "type": "JSXIdentifier", - "start": 1867, - "end": 1876, - "loc": { - "start": { - "line": 101, - "column": 21 - }, - "end": { - "line": 101, - "column": 30 - } - }, - "name": "className" - }, - "value": { - "type": "StringLiteral", - "start": 1877, - "end": 1887, - "loc": { - "start": { - "line": 101, - "column": 31 - }, - "end": { - "line": 101, - "column": 41 - } - }, - "extra": null, - "value": "App-logo" - } - }, - { - "type": "JSXAttribute", - "start": 1888, - "end": 1898, - "loc": { - "start": { - "line": 101, - "column": 42 - }, - "end": { - "line": 101, - "column": 52 - } - }, - "name": { - "type": "JSXIdentifier", - "start": 1888, - "end": 1891, - "loc": { - "start": { - "line": 101, - "column": 42 - }, - "end": { - "line": 101, - "column": 45 - } - }, - "name": "alt" - }, - "value": { - "type": "StringLiteral", - "start": 1892, - "end": 1898, - "loc": { - "start": { - "line": 101, - "column": 46 - }, - "end": { - "line": 101, - "column": 52 - } - }, - "extra": null, - "value": "logo" - } - } - ], - "name": { - "type": "JSXIdentifier", - "start": 1852, - "end": 1855, - "loc": { - "start": { - "line": 101, - "column": 6 - }, - "end": { - "line": 101, - "column": 9 - } - }, - "name": "img" - }, - "selfClosing": true + "extra": { + "rawValue": "Two", + "raw": "'Two'" }, - "closingElement": null, - "children": [] + "value": "Two" + } + } + ] + } + ] + } + }, + { + "type": "ObjectProperty", + "start": 1846, + "end": 1854, + "loc": { + "start": { + "line": 92, + "column": 1 + }, + "end": { + "line": 92, + "column": 9 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1846, + "end": 1851, + "loc": { + "start": { + "line": 92, + "column": 1 + }, + "end": { + "line": 92, + "column": 6 + }, + "identifierName": "value" + }, + "name": "value" + }, + "value": { + "type": "ArrayExpression", + "start": 1852, + "end": 1854, + "loc": { + "start": { + "line": 92, + "column": 7 + }, + "end": { + "line": 92, + "column": 9 + } + }, + "elements": [] + } + }, + { + "type": "ObjectProperty", + "start": 1857, + "end": 1920, + "loc": { + "start": { + "line": 93, + "column": 1 + }, + "end": { + "line": 95, + "column": 2 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1857, + "end": 1870, + "loc": { + "start": { + "line": 93, + "column": 1 + }, + "end": { + "line": 93, + "column": 14 + }, + "identifierName": "onValueChange" + }, + "name": "onValueChange" + }, + "value": { + "type": "ArrowFunctionExpression", + "start": 1871, + "end": 1920, + "loc": { + "start": { + "line": 93, + "column": 15 + }, + "end": { + "line": 95, + "column": 2 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1872, + "end": 1880, + "loc": { + "start": { + "line": 93, + "column": 16 + }, + "end": { + "line": 93, + "column": 24 + }, + "identifierName": "newValue" + }, + "name": "newValue" + } + ], + "body": { + "type": "BlockStatement", + "start": 1885, + "end": 1920, + "loc": { + "start": { + "line": 93, + "column": 29 + }, + "end": { + "line": 95, + "column": 2 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1889, + "end": 1917, + "loc": { + "start": { + "line": 94, + "column": 2 }, - { - "type": "JSXText", - "start": 1901, + "end": { + "line": 94, + "column": 30 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1889, + "end": 1916, + "loc": { + "start": { + "line": 94, + "column": 2 + }, + "end": { + "line": 94, + "column": 29 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 1889, "end": 1907, "loc": { "start": { - "line": 101, - "column": 55 + "line": 94, + "column": 2 }, "end": { - "line": 102, - "column": 5 - } + "line": 94, + "column": 20 + }, + "identifierName": "fieldSetFieldValue" }, - "extra": null, - "value": "\n\t\t\t\t\t" + "name": "fieldSetFieldValue" }, - { - "type": "JSXElement", - "start": 1907, - "end": 1954, + "right": { + "type": "Identifier", + "start": 1908, + "end": 1916, "loc": { "start": { - "line": 102, - "column": 5 + "line": 94, + "column": 21 }, "end": { - "line": 102, - "column": 52 - } - }, - "openingElement": { - "type": "JSXOpeningElement", - "start": 1907, - "end": 1933, - "loc": { - "start": { - "line": 102, - "column": 5 - }, - "end": { - "line": 102, - "column": 31 - } + "line": 94, + "column": 29 }, - "attributes": [ - { - "type": "JSXAttribute", - "start": 1911, - "end": 1932, - "loc": { - "start": { - "line": 102, - "column": 9 - }, - "end": { - "line": 102, - "column": 30 - } - }, - "name": { - "type": "JSXIdentifier", - "start": 1911, - "end": 1920, - "loc": { - "start": { - "line": 102, - "column": 9 - }, - "end": { - "line": 102, - "column": 18 - } - }, - "name": "className" - }, - "value": { - "type": "StringLiteral", - "start": 1921, - "end": 1932, - "loc": { - "start": { - "line": 102, - "column": 19 - }, - "end": { - "line": 102, - "column": 30 - } - }, - "extra": null, - "value": "App-title" - } - } - ], - "name": { - "type": "JSXIdentifier", - "start": 1908, - "end": 1910, - "loc": { - "start": { - "line": 102, - "column": 6 - }, - "end": { - "line": 102, - "column": 8 - } - }, - "name": "h1" - }, - "selfClosing": false - }, - "closingElement": { - "type": "JSXClosingElement", - "start": 1949, - "end": 1954, - "loc": { - "start": { - "line": 102, - "column": 47 - }, - "end": { - "line": 102, - "column": 52 - } - }, - "name": { - "type": "JSXIdentifier", - "start": 1951, - "end": 1953, - "loc": { - "start": { - "line": 102, - "column": 49 - }, - "end": { - "line": 102, - "column": 51 - } - }, - "name": "h1" - } - }, - "children": [ - { - "type": "JSXText", - "start": 1933, - "end": 1949, - "loc": { - "start": { - "line": 102, - "column": 31 - }, - "end": { - "line": 102, - "column": 47 - } - }, - "extra": null, - "value": "Welcome to React" - } - ] - }, - { - "type": "JSXText", - "start": 1954, - "end": 1959, - "loc": { - "start": { - "line": 102, - "column": 52 - }, - "end": { - "line": 103, - "column": 4 - } - }, - "extra": null, - "value": "\n\t\t\t\t" - } - ] - }, - { - "type": "JSXText", - "start": 1968, - "end": 1975, - "loc": { - "start": { - "line": 103, - "column": 13 - }, - "end": { - "line": 106, - "column": 4 - } - }, - "extra": null, - "value": "\n\n\n\t\t\t\t" - }, - { - "type": "JSXElement", - "start": 1975, - "end": 2141, - "loc": { - "start": { - "line": 106, - "column": 4 - }, - "end": { - "line": 112, - "column": 10 - } - }, - "openingElement": { - "type": "JSXOpeningElement", - "start": 1975, - "end": 1980, - "loc": { - "start": { - "line": 106, - "column": 4 - }, - "end": { - "line": 106, - "column": 9 - } - }, - "attributes": [], - "name": { - "type": "JSXIdentifier", - "start": 1976, - "end": 1979, - "loc": { - "start": { - "line": 106, - "column": 5 - }, - "end": { - "line": 106, - "column": 8 - } - }, - "name": "div" - }, - "selfClosing": false - }, - "closingElement": { - "type": "JSXClosingElement", - "start": 2135, - "end": 2141, - "loc": { - "start": { - "line": 112, - "column": 4 - }, - "end": { - "line": 112, - "column": 10 - } - }, - "name": { - "type": "JSXIdentifier", - "start": 2137, - "end": 2140, - "loc": { - "start": { - "line": 112, - "column": 6 - }, - "end": { - "line": 112, - "column": 9 - } - }, - "name": "div" - } - }, - "children": [ - { - "type": "JSXText", - "start": 1980, - "end": 1986, - "loc": { - "start": { - "line": 106, - "column": 9 - }, - "end": { - "line": 107, - "column": 5 - } - }, - "extra": null, - "value": "\n\t\t\t\t\t" - }, - { - "type": "JSXElement", - "start": 1986, - "end": 2029, - "loc": { - "start": { - "line": 107, - "column": 5 - }, - "end": { - "line": 107, - "column": 48 - } - }, - "openingElement": { - "type": "JSXOpeningElement", - "start": 1986, - "end": 1990, - "loc": { - "start": { - "line": 107, - "column": 5 - }, - "end": { - "line": 107, - "column": 9 - } - }, - "attributes": [], - "name": { - "type": "JSXIdentifier", - "start": 1987, - "end": 1989, - "loc": { - "start": { - "line": 107, - "column": 6 - }, - "end": { - "line": 107, - "column": 8 - } - }, - "name": "h2" - }, - "selfClosing": false - }, - "closingElement": { - "type": "JSXClosingElement", - "start": 2024, - "end": 2029, - "loc": { - "start": { - "line": 107, - "column": 43 - }, - "end": { - "line": 107, - "column": 48 - } - }, - "name": { - "type": "JSXIdentifier", - "start": 2026, - "end": 2028, - "loc": { - "start": { - "line": 107, - "column": 45 - }, - "end": { - "line": 107, - "column": 47 - } - }, - "name": "h2" - } - }, - "children": [ - { - "type": "JSXText", - "start": 1990, - "end": 2024, - "loc": { - "start": { - "line": 107, - "column": 9 - }, - "end": { - "line": 107, - "column": 43 - } - }, - "extra": null, - "value": "Created With RenderGroup Component" - } - ] - }, - { - "type": "JSXText", - "start": 2029, - "end": 2035, - "loc": { - "start": { - "line": 107, - "column": 48 - }, - "end": { - "line": 108, - "column": 5 - } - }, - "extra": null, - "value": "\n\t\t\t\t\t" - }, - { - "type": "JSXElement", - "start": 2035, - "end": 2130, - "loc": { - "start": { - "line": 108, - "column": 5 - }, - "end": { - "line": 111, - "column": 7 - } - }, - "openingElement": { - "type": "JSXOpeningElement", - "start": 2035, - "end": 2130, - "loc": { - "start": { - "line": 108, - "column": 5 - }, - "end": { - "line": 111, - "column": 7 - } - }, - "attributes": [ - { - "type": "JSXAttribute", - "start": 2054, - "end": 2081, - "loc": { - "start": { - "line": 109, - "column": 6 - }, - "end": { - "line": 109, - "column": 33 - } - }, - "name": { - "type": "JSXIdentifier", - "start": 2054, - "end": 2066, - "loc": { - "start": { - "line": 109, - "column": 6 - }, - "end": { - "line": 109, - "column": 18 - } - }, - "name": "configFields" - }, - "value": { - "type": "JSXExpressionContainer", - "start": 2067, - "end": 2081, - "loc": { - "start": { - "line": 109, - "column": 19 - }, - "end": { - "line": 109, - "column": 33 - } - }, - "expression": { - "type": "Identifier", - "start": 2068, - "end": 2080, - "loc": { - "start": { - "line": 109, - "column": 20 - }, - "end": { - "line": 109, - "column": 32 - }, - "identifierName": "configFields" - }, - "name": "configFields" - } - } - }, - { - "type": "JSXAttribute", - "start": 2088, - "end": 2122, - "loc": { - "start": { - "line": 110, - "column": 6 - }, - "end": { - "line": 110, - "column": 40 - } - }, - "name": { - "type": "JSXIdentifier", - "start": 2088, - "end": 2094, - "loc": { - "start": { - "line": 110, - "column": 6 - }, - "end": { - "line": 110, - "column": 12 - } - }, - "name": "onBlur" - }, - "value": { - "type": "JSXExpressionContainer", - "start": 2095, - "end": 2122, - "loc": { - "start": { - "line": 110, - "column": 13 - }, - "end": { - "line": 110, - "column": 40 - } - }, - "expression": { - "type": "ArrowFunctionExpression", - "start": 2096, - "end": 2121, - "loc": { - "start": { - "line": 110, - "column": 14 - }, - "end": { - "line": 110, - "column": 39 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 2097, - "end": 2099, - "loc": { - "start": { - "line": 110, - "column": 15 - }, - "end": { - "line": 110, - "column": 17 - }, - "identifierName": "fI" - }, - "name": "fI" - } - ], - "body": { - "type": "BlockStatement", - "start": 2104, - "end": 2121, - "loc": { - "start": { - "line": 110, - "column": 22 - }, - "end": { - "line": 110, - "column": 39 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 2105, - "end": 2120, - "loc": { - "start": { - "line": 110, - "column": 23 - }, - "end": { - "line": 110, - "column": 38 - } - }, - "expression": { - "type": "CallExpression", - "start": 2105, - "end": 2120, - "loc": { - "start": { - "line": 110, - "column": 23 - }, - "end": { - "line": 110, - "column": 38 - } - }, - "callee": { - "type": "MemberExpression", - "start": 2105, - "end": 2116, - "loc": { - "start": { - "line": 110, - "column": 23 - }, - "end": { - "line": 110, - "column": 34 - } - }, - "object": { - "type": "Identifier", - "start": 2105, - "end": 2112, - "loc": { - "start": { - "line": 110, - "column": 23 - }, - "end": { - "line": 110, - "column": 30 - }, - "identifierName": "console" - }, - "name": "console" - }, - "property": { - "type": "Identifier", - "start": 2113, - "end": 2116, - "loc": { - "start": { - "line": 110, - "column": 31 - }, - "end": { - "line": 110, - "column": 34 - }, - "identifierName": "log" - }, - "name": "log" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 2117, - "end": 2119, - "loc": { - "start": { - "line": 110, - "column": 35 - }, - "end": { - "line": 110, - "column": 37 - }, - "identifierName": "fI" - }, - "name": "fI" - } - ] - } - } - ], - "directives": [] - } - } - } - } - ], - "name": { - "type": "JSXIdentifier", - "start": 2036, - "end": 2047, - "loc": { - "start": { - "line": 108, - "column": 6 - }, - "end": { - "line": 108, - "column": 17 - } - }, - "name": "RenderGroup" - }, - "selfClosing": true - }, - "closingElement": null, - "children": [] - }, - { - "type": "JSXText", - "start": 2130, - "end": 2135, - "loc": { - "start": { - "line": 111, - "column": 7 - }, - "end": { - "line": 112, - "column": 4 - } + "identifierName": "newValue" }, - "extra": null, - "value": "\n\t\t\t\t" - } - ] - }, - { - "type": "JSXText", - "start": 2141, - "end": 2147, - "loc": { - "start": { - "line": 112, - "column": 10 - }, - "end": { - "line": 114, - "column": 4 - } - }, - "extra": null, - "value": "\n\n\t\t\t\t" - }, - { - "type": "JSXElement", - "start": 2147, - "end": 2366, - "loc": { - "start": { - "line": 114, - "column": 4 - }, - "end": { - "line": 124, - "column": 10 + "name": "newValue" } - }, - "openingElement": { + } + } + ], + "directives": [] + } + } + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 1925, + "end": 2043, + "loc": { + "start": { + "line": 98, + "column": 0 + }, + "end": { + "line": 104, + "column": 2 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1931, + "end": 2042, + "loc": { + "start": { + "line": 98, + "column": 6 + }, + "end": { + "line": 104, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 1931, + "end": 1943, + "loc": { + "start": { + "line": 98, + "column": 6 + }, + "end": { + "line": 98, + "column": 18 + }, + "identifierName": "configFields" + }, + "name": "configFields" + }, + "init": { + "type": "ArrayExpression", + "start": 1946, + "end": 2042, + "loc": { + "start": { + "line": 98, + "column": 21 + }, + "end": { + "line": 104, + "column": 1 + } + }, + "elements": [ + { + "type": "Identifier", + "start": 1949, + "end": 1964, + "loc": { + "start": { + "line": 99, + "column": 1 + }, + "end": { + "line": 99, + "column": 16 + }, + "identifierName": "textFieldConfig" + }, + "name": "textFieldConfig" + }, + { + "type": "Identifier", + "start": 1967, + "end": 1984, + "loc": { + "start": { + "line": 100, + "column": 1 + }, + "end": { + "line": 100, + "column": 18 + }, + "identifierName": "hiddenFieldConfig" + }, + "name": "hiddenFieldConfig" + }, + { + "type": "Identifier", + "start": 1987, + "end": 2004, + "loc": { + "start": { + "line": 101, + "column": 1 + }, + "end": { + "line": 101, + "column": 18 + }, + "identifierName": "selectFieldConfig" + }, + "name": "selectFieldConfig" + }, + { + "type": "Identifier", + "start": 2007, + "end": 2020, + "loc": { + "start": { + "line": 102, + "column": 1 + }, + "end": { + "line": 102, + "column": 14 + }, + "identifierName": "fieldSetField" + }, + "name": "fieldSetField" + }, + { + "type": "Identifier", + "start": 2023, + "end": 2040, + "loc": { + "start": { + "line": 103, + "column": 1 + }, + "end": { + "line": 103, + "column": 18 + }, + "identifierName": "numberFieldConfig" + }, + "name": "numberFieldConfig" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 2044, + "end": 2097, + "loc": { + "start": { + "line": 105, + "column": 0 + }, + "end": { + "line": 105, + "column": 53 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2050, + "end": 2096, + "loc": { + "start": { + "line": 105, + "column": 6 + }, + "end": { + "line": 105, + "column": 52 + } + }, + "id": { + "type": "Identifier", + "start": 2050, + "end": 2064, + "loc": { + "start": { + "line": 105, + "column": 6 + }, + "end": { + "line": 105, + "column": 20 + }, + "identifierName": "configFieldEls" + }, + "name": "configFieldEls" + }, + "init": { + "type": "CallExpression", + "start": 2067, + "end": 2096, + "loc": { + "start": { + "line": 105, + "column": 23 + }, + "end": { + "line": 105, + "column": 52 + } + }, + "callee": { + "type": "Identifier", + "start": 2067, + "end": 2082, + "loc": { + "start": { + "line": 105, + "column": 23 + }, + "end": { + "line": 105, + "column": 38 + }, + "identifierName": "fieldSetFactory" + }, + "name": "fieldSetFactory" + }, + "arguments": [ + { + "type": "Identifier", + "start": 2083, + "end": 2095, + "loc": { + "start": { + "line": 105, + "column": 39 + }, + "end": { + "line": 105, + "column": 51 + }, + "identifierName": "configFields" + }, + "name": "configFields" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 2101, + "end": 2149, + "loc": { + "start": { + "line": 109, + "column": 0 + }, + "end": { + "line": 113, + "column": 2 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2105, + "end": 2148, + "loc": { + "start": { + "line": 109, + "column": 4 + }, + "end": { + "line": 113, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 2105, + "end": 2111, + "loc": { + "start": { + "line": 109, + "column": 4 + }, + "end": { + "line": 109, + "column": 10 + }, + "identifierName": "values" + }, + "name": "values" + }, + "init": { + "type": "ObjectExpression", + "start": 2114, + "end": 2148, + "loc": { + "start": { + "line": 109, + "column": 13 + }, + "end": { + "line": 113, + "column": 1 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 2117, + "end": 2124, + "loc": { + "start": { + "line": 110, + "column": 1 + }, + "end": { + "line": 110, + "column": 8 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2117, + "end": 2120, + "loc": { + "start": { + "line": 110, + "column": 1 + }, + "end": { + "line": 110, + "column": 4 + }, + "identifierName": "one" + }, + "name": "one" + }, + "value": { + "type": "StringLiteral", + "start": 2122, + "end": 2124, + "loc": { + "start": { + "line": 110, + "column": 6 + }, + "end": { + "line": 110, + "column": 8 + } + }, + "extra": { + "rawValue": "", + "raw": "''" + }, + "value": "" + } + }, + { + "type": "ObjectProperty", + "start": 2127, + "end": 2134, + "loc": { + "start": { + "line": 111, + "column": 1 + }, + "end": { + "line": 111, + "column": 8 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2127, + "end": 2130, + "loc": { + "start": { + "line": 111, + "column": 1 + }, + "end": { + "line": 111, + "column": 4 + }, + "identifierName": "two" + }, + "name": "two" + }, + "value": { + "type": "StringLiteral", + "start": 2132, + "end": 2134, + "loc": { + "start": { + "line": 111, + "column": 6 + }, + "end": { + "line": 111, + "column": 8 + } + }, + "extra": { + "rawValue": "", + "raw": "''" + }, + "value": "" + } + }, + { + "type": "ObjectProperty", + "start": 2137, + "end": 2146, + "loc": { + "start": { + "line": 112, + "column": 1 + }, + "end": { + "line": 112, + "column": 10 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2137, + "end": 2142, + "loc": { + "start": { + "line": 112, + "column": 1 + }, + "end": { + "line": 112, + "column": 6 + }, + "identifierName": "three" + }, + "name": "three" + }, + "value": { + "type": "StringLiteral", + "start": 2144, + "end": 2146, + "loc": { + "start": { + "line": 112, + "column": 8 + }, + "end": { + "line": 112, + "column": 10 + } + }, + "extra": { + "rawValue": "", + "raw": "''" + }, + "value": "" + } + } + ] + } + } + ], + "kind": "let" + }, + { + "type": "VariableDeclaration", + "start": 2151, + "end": 2176, + "loc": { + "start": { + "line": 115, + "column": 0 + }, + "end": { + "line": 115, + "column": 25 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2155, + "end": 2175, + "loc": { + "start": { + "line": 115, + "column": 4 + }, + "end": { + "line": 115, + "column": 24 + } + }, + "id": { + "type": "Identifier", + "start": 2155, + "end": 2170, + "loc": { + "start": { + "line": 115, + "column": 4 + }, + "end": { + "line": 115, + "column": 19 + }, + "identifierName": "magicFieldValue" + }, + "name": "magicFieldValue" + }, + "init": { + "type": "StringLiteral", + "start": 2173, + "end": 2175, + "loc": { + "start": { + "line": 115, + "column": 22 + }, + "end": { + "line": 115, + "column": 24 + } + }, + "extra": { + "rawValue": "", + "raw": "''" + }, + "value": "" + } + } + ], + "kind": "let" + }, + { + "type": "Identifier", + "start": 2178, + "end": 6070, + "loc": { + "start": { + "line": 117, + "column": 0 + }, + "end": { + "line": 312, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 2184, + "end": 2187, + "loc": { + "start": { + "line": 117, + "column": 6 + }, + "end": { + "line": 117, + "column": 9 + }, + "identifierName": "App" + }, + "name": "App" + }, + "superClass": { + "type": "Identifier", + "start": 2196, + "end": 2205, + "loc": { + "start": { + "line": 117, + "column": 18 + }, + "end": { + "line": 117, + "column": 27 + }, + "identifierName": "Component" + }, + "name": "Component" + }, + "body": { + "type": "ClassBody", + "start": 2206, + "end": 6070, + "loc": { + "start": { + "line": 117, + "column": 28 + }, + "end": { + "line": 312, + "column": 1 + } + }, + "body": [ + { + "type": "ClassMethod", + "start": 2210, + "end": 6068, + "loc": { + "start": { + "line": 119, + "column": 1 + }, + "end": { + "line": 311, + "column": 2 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2210, + "end": 2216, + "loc": { + "start": { + "line": 119, + "column": 1 + }, + "end": { + "line": 119, + "column": 7 + }, + "identifierName": "render" + }, + "name": "render" + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 2219, + "end": 6068, + "loc": { + "start": { + "line": 119, + "column": 10 + }, + "end": { + "line": 311, + "column": 2 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 2223, + "end": 6065, + "loc": { + "start": { + "line": 120, + "column": 2 + }, + "end": { + "line": 310, + "column": 4 + } + }, + "argument": { + "type": "JSXElement", + "start": 2235, + "end": 6060, + "loc": { + "start": { + "line": 121, + "column": 3 + }, + "end": { + "line": 309, + "column": 9 + } + }, + "openingElement": { + "type": "JSXOpeningElement", + "start": 2235, + "end": 2256, + "loc": { + "start": { + "line": 121, + "column": 3 + }, + "end": { + "line": 121, + "column": 24 + } + }, + "attributes": [ + { + "type": "JSXAttribute", + "start": 2240, + "end": 2255, + "loc": { + "start": { + "line": 121, + "column": 8 + }, + "end": { + "line": 121, + "column": 23 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 2240, + "end": 2249, + "loc": { + "start": { + "line": 121, + "column": 8 + }, + "end": { + "line": 121, + "column": 17 + } + }, + "name": "className" + }, + "value": { + "type": "StringLiteral", + "start": 2250, + "end": 2255, + "loc": { + "start": { + "line": 121, + "column": 18 + }, + "end": { + "line": 121, + "column": 23 + } + }, + "extra": null, + "value": "App" + } + } + ], + "name": { + "type": "JSXIdentifier", + "start": 2236, + "end": 2239, + "loc": { + "start": { + "line": 121, + "column": 4 + }, + "end": { + "line": 121, + "column": 7 + } + }, + "name": "div" + }, + "selfClosing": false + }, + "closingElement": { + "type": "JSXClosingElement", + "start": 6054, + "end": 6060, + "loc": { + "start": { + "line": 309, + "column": 3 + }, + "end": { + "line": 309, + "column": 9 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 6056, + "end": 6059, + "loc": { + "start": { + "line": 309, + "column": 5 + }, + "end": { + "line": 309, + "column": 8 + } + }, + "name": "div" + } + }, + "children": [ + { + "type": "JSXText", + "start": 2256, + "end": 2261, + "loc": { + "start": { + "line": 121, + "column": 24 + }, + "end": { + "line": 122, + "column": 4 + } + }, + "extra": null, + "value": "\n\t\t\t\t" + }, + { + "type": "JSXElement", + "start": 2261, + "end": 2415, + "loc": { + "start": { + "line": 122, + "column": 4 + }, + "end": { + "line": 125, + "column": 13 + } + }, + "openingElement": { + "type": "JSXOpeningElement", + "start": 2261, + "end": 2292, + "loc": { + "start": { + "line": 122, + "column": 4 + }, + "end": { + "line": 122, + "column": 35 + } + }, + "attributes": [ + { + "type": "JSXAttribute", + "start": 2269, + "end": 2291, + "loc": { + "start": { + "line": 122, + "column": 12 + }, + "end": { + "line": 122, + "column": 34 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 2269, + "end": 2278, + "loc": { + "start": { + "line": 122, + "column": 12 + }, + "end": { + "line": 122, + "column": 21 + } + }, + "name": "className" + }, + "value": { + "type": "StringLiteral", + "start": 2279, + "end": 2291, + "loc": { + "start": { + "line": 122, + "column": 22 + }, + "end": { + "line": 122, + "column": 34 + } + }, + "extra": null, + "value": "App-header" + } + } + ], + "name": { + "type": "JSXIdentifier", + "start": 2262, + "end": 2268, + "loc": { + "start": { + "line": 122, + "column": 5 + }, + "end": { + "line": 122, + "column": 11 + } + }, + "name": "header" + }, + "selfClosing": false + }, + "closingElement": { + "type": "JSXClosingElement", + "start": 2406, + "end": 2415, + "loc": { + "start": { + "line": 125, + "column": 4 + }, + "end": { + "line": 125, + "column": 13 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 2408, + "end": 2414, + "loc": { + "start": { + "line": 125, + "column": 6 + }, + "end": { + "line": 125, + "column": 12 + } + }, + "name": "header" + } + }, + "children": [ + { + "type": "JSXText", + "start": 2292, + "end": 2298, + "loc": { + "start": { + "line": 122, + "column": 35 + }, + "end": { + "line": 123, + "column": 5 + } + }, + "extra": null, + "value": "\n\t\t\t\t\t" + }, + { + "type": "JSXElement", + "start": 2298, + "end": 2348, + "loc": { + "start": { + "line": 123, + "column": 5 + }, + "end": { + "line": 123, + "column": 55 + } + }, + "openingElement": { + "type": "JSXOpeningElement", + "start": 2298, + "end": 2348, + "loc": { + "start": { + "line": 123, + "column": 5 + }, + "end": { + "line": 123, + "column": 55 + } + }, + "attributes": [ + { + "type": "JSXAttribute", + "start": 2303, + "end": 2313, + "loc": { + "start": { + "line": 123, + "column": 10 + }, + "end": { + "line": 123, + "column": 20 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 2303, + "end": 2306, + "loc": { + "start": { + "line": 123, + "column": 10 + }, + "end": { + "line": 123, + "column": 13 + } + }, + "name": "src" + }, + "value": { + "type": "JSXExpressionContainer", + "start": 2307, + "end": 2313, + "loc": { + "start": { + "line": 123, + "column": 14 + }, + "end": { + "line": 123, + "column": 20 + } + }, + "expression": { + "type": "Identifier", + "start": 2308, + "end": 2312, + "loc": { + "start": { + "line": 123, + "column": 15 + }, + "end": { + "line": 123, + "column": 19 + }, + "identifierName": "logo" + }, + "name": "logo" + } + } + }, + { + "type": "JSXAttribute", + "start": 2314, + "end": 2334, + "loc": { + "start": { + "line": 123, + "column": 21 + }, + "end": { + "line": 123, + "column": 41 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 2314, + "end": 2323, + "loc": { + "start": { + "line": 123, + "column": 21 + }, + "end": { + "line": 123, + "column": 30 + } + }, + "name": "className" + }, + "value": { + "type": "StringLiteral", + "start": 2324, + "end": 2334, + "loc": { + "start": { + "line": 123, + "column": 31 + }, + "end": { + "line": 123, + "column": 41 + } + }, + "extra": null, + "value": "App-logo" + } + }, + { + "type": "JSXAttribute", + "start": 2335, + "end": 2345, + "loc": { + "start": { + "line": 123, + "column": 42 + }, + "end": { + "line": 123, + "column": 52 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 2335, + "end": 2338, + "loc": { + "start": { + "line": 123, + "column": 42 + }, + "end": { + "line": 123, + "column": 45 + } + }, + "name": "alt" + }, + "value": { + "type": "StringLiteral", + "start": 2339, + "end": 2345, + "loc": { + "start": { + "line": 123, + "column": 46 + }, + "end": { + "line": 123, + "column": 52 + } + }, + "extra": null, + "value": "logo" + } + } + ], + "name": { + "type": "JSXIdentifier", + "start": 2299, + "end": 2302, + "loc": { + "start": { + "line": 123, + "column": 6 + }, + "end": { + "line": 123, + "column": 9 + } + }, + "name": "img" + }, + "selfClosing": true + }, + "closingElement": null, + "children": [] + }, + { + "type": "JSXText", + "start": 2348, + "end": 2354, + "loc": { + "start": { + "line": 123, + "column": 55 + }, + "end": { + "line": 124, + "column": 5 + } + }, + "extra": null, + "value": "\n\t\t\t\t\t" + }, + { + "type": "JSXElement", + "start": 2354, + "end": 2401, + "loc": { + "start": { + "line": 124, + "column": 5 + }, + "end": { + "line": 124, + "column": 52 + } + }, + "openingElement": { + "type": "JSXOpeningElement", + "start": 2354, + "end": 2380, + "loc": { + "start": { + "line": 124, + "column": 5 + }, + "end": { + "line": 124, + "column": 31 + } + }, + "attributes": [ + { + "type": "JSXAttribute", + "start": 2358, + "end": 2379, + "loc": { + "start": { + "line": 124, + "column": 9 + }, + "end": { + "line": 124, + "column": 30 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 2358, + "end": 2367, + "loc": { + "start": { + "line": 124, + "column": 9 + }, + "end": { + "line": 124, + "column": 18 + } + }, + "name": "className" + }, + "value": { + "type": "StringLiteral", + "start": 2368, + "end": 2379, + "loc": { + "start": { + "line": 124, + "column": 19 + }, + "end": { + "line": 124, + "column": 30 + } + }, + "extra": null, + "value": "App-title" + } + } + ], + "name": { + "type": "JSXIdentifier", + "start": 2355, + "end": 2357, + "loc": { + "start": { + "line": 124, + "column": 6 + }, + "end": { + "line": 124, + "column": 8 + } + }, + "name": "h1" + }, + "selfClosing": false + }, + "closingElement": { + "type": "JSXClosingElement", + "start": 2396, + "end": 2401, + "loc": { + "start": { + "line": 124, + "column": 47 + }, + "end": { + "line": 124, + "column": 52 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 2398, + "end": 2400, + "loc": { + "start": { + "line": 124, + "column": 49 + }, + "end": { + "line": 124, + "column": 51 + } + }, + "name": "h1" + } + }, + "children": [ + { + "type": "JSXText", + "start": 2380, + "end": 2396, + "loc": { + "start": { + "line": 124, + "column": 31 + }, + "end": { + "line": 124, + "column": 47 + } + }, + "extra": null, + "value": "Welcome to React" + } + ] + }, + { + "type": "JSXText", + "start": 2401, + "end": 2406, + "loc": { + "start": { + "line": 124, + "column": 52 + }, + "end": { + "line": 125, + "column": 4 + } + }, + "extra": null, + "value": "\n\t\t\t\t" + } + ] + }, + { + "type": "JSXText", + "start": 2415, + "end": 2422, + "loc": { + "start": { + "line": 125, + "column": 13 + }, + "end": { + "line": 128, + "column": 4 + } + }, + "extra": null, + "value": "\n\n\n\t\t\t\t" + }, + { + "type": "JSXElement", + "start": 2422, + "end": 2588, + "loc": { + "start": { + "line": 128, + "column": 4 + }, + "end": { + "line": 134, + "column": 10 + } + }, + "openingElement": { + "type": "JSXOpeningElement", + "start": 2422, + "end": 2427, + "loc": { + "start": { + "line": 128, + "column": 4 + }, + "end": { + "line": 128, + "column": 9 + } + }, + "attributes": [], + "name": { + "type": "JSXIdentifier", + "start": 2423, + "end": 2426, + "loc": { + "start": { + "line": 128, + "column": 5 + }, + "end": { + "line": 128, + "column": 8 + } + }, + "name": "div" + }, + "selfClosing": false + }, + "closingElement": { + "type": "JSXClosingElement", + "start": 2582, + "end": 2588, + "loc": { + "start": { + "line": 134, + "column": 4 + }, + "end": { + "line": 134, + "column": 10 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 2584, + "end": 2587, + "loc": { + "start": { + "line": 134, + "column": 6 + }, + "end": { + "line": 134, + "column": 9 + } + }, + "name": "div" + } + }, + "children": [ + { + "type": "JSXText", + "start": 2427, + "end": 2433, + "loc": { + "start": { + "line": 128, + "column": 9 + }, + "end": { + "line": 129, + "column": 5 + } + }, + "extra": null, + "value": "\n\t\t\t\t\t" + }, + { + "type": "JSXElement", + "start": 2433, + "end": 2476, + "loc": { + "start": { + "line": 129, + "column": 5 + }, + "end": { + "line": 129, + "column": 48 + } + }, + "openingElement": { + "type": "JSXOpeningElement", + "start": 2433, + "end": 2437, + "loc": { + "start": { + "line": 129, + "column": 5 + }, + "end": { + "line": 129, + "column": 9 + } + }, + "attributes": [], + "name": { + "type": "JSXIdentifier", + "start": 2434, + "end": 2436, + "loc": { + "start": { + "line": 129, + "column": 6 + }, + "end": { + "line": 129, + "column": 8 + } + }, + "name": "h2" + }, + "selfClosing": false + }, + "closingElement": { + "type": "JSXClosingElement", + "start": 2471, + "end": 2476, + "loc": { + "start": { + "line": 129, + "column": 43 + }, + "end": { + "line": 129, + "column": 48 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 2473, + "end": 2475, + "loc": { + "start": { + "line": 129, + "column": 45 + }, + "end": { + "line": 129, + "column": 47 + } + }, + "name": "h2" + } + }, + "children": [ + { + "type": "JSXText", + "start": 2437, + "end": 2471, + "loc": { + "start": { + "line": 129, + "column": 9 + }, + "end": { + "line": 129, + "column": 43 + } + }, + "extra": null, + "value": "Created With RenderGroup Component" + } + ] + }, + { + "type": "JSXText", + "start": 2476, + "end": 2482, + "loc": { + "start": { + "line": 129, + "column": 48 + }, + "end": { + "line": 130, + "column": 5 + } + }, + "extra": null, + "value": "\n\t\t\t\t\t" + }, + { + "type": "JSXElement", + "start": 2482, + "end": 2577, + "loc": { + "start": { + "line": 130, + "column": 5 + }, + "end": { + "line": 133, + "column": 7 + } + }, + "openingElement": { + "type": "JSXOpeningElement", + "start": 2482, + "end": 2577, + "loc": { + "start": { + "line": 130, + "column": 5 + }, + "end": { + "line": 133, + "column": 7 + } + }, + "attributes": [ + { + "type": "JSXAttribute", + "start": 2501, + "end": 2528, + "loc": { + "start": { + "line": 131, + "column": 6 + }, + "end": { + "line": 131, + "column": 33 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 2501, + "end": 2513, + "loc": { + "start": { + "line": 131, + "column": 6 + }, + "end": { + "line": 131, + "column": 18 + } + }, + "name": "configFields" + }, + "value": { + "type": "JSXExpressionContainer", + "start": 2514, + "end": 2528, + "loc": { + "start": { + "line": 131, + "column": 19 + }, + "end": { + "line": 131, + "column": 33 + } + }, + "expression": { + "type": "Identifier", + "start": 2515, + "end": 2527, + "loc": { + "start": { + "line": 131, + "column": 20 + }, + "end": { + "line": 131, + "column": 32 + }, + "identifierName": "configFields" + }, + "name": "configFields" + } + } + }, + { + "type": "JSXAttribute", + "start": 2535, + "end": 2569, + "loc": { + "start": { + "line": 132, + "column": 6 + }, + "end": { + "line": 132, + "column": 40 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 2535, + "end": 2541, + "loc": { + "start": { + "line": 132, + "column": 6 + }, + "end": { + "line": 132, + "column": 12 + } + }, + "name": "onBlur" + }, + "value": { + "type": "JSXExpressionContainer", + "start": 2542, + "end": 2569, + "loc": { + "start": { + "line": 132, + "column": 13 + }, + "end": { + "line": 132, + "column": 40 + } + }, + "expression": { + "type": "ArrowFunctionExpression", + "start": 2543, + "end": 2568, + "loc": { + "start": { + "line": 132, + "column": 14 + }, + "end": { + "line": 132, + "column": 39 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2544, + "end": 2546, + "loc": { + "start": { + "line": 132, + "column": 15 + }, + "end": { + "line": 132, + "column": 17 + }, + "identifierName": "fI" + }, + "name": "fI" + } + ], + "body": { + "type": "BlockStatement", + "start": 2551, + "end": 2568, + "loc": { + "start": { + "line": 132, + "column": 22 + }, + "end": { + "line": 132, + "column": 39 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2552, + "end": 2567, + "loc": { + "start": { + "line": 132, + "column": 23 + }, + "end": { + "line": 132, + "column": 38 + } + }, + "expression": { + "type": "CallExpression", + "start": 2552, + "end": 2567, + "loc": { + "start": { + "line": 132, + "column": 23 + }, + "end": { + "line": 132, + "column": 38 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2552, + "end": 2563, + "loc": { + "start": { + "line": 132, + "column": 23 + }, + "end": { + "line": 132, + "column": 34 + } + }, + "object": { + "type": "Identifier", + "start": 2552, + "end": 2559, + "loc": { + "start": { + "line": 132, + "column": 23 + }, + "end": { + "line": 132, + "column": 30 + }, + "identifierName": "console" + }, + "name": "console" + }, + "property": { + "type": "Identifier", + "start": 2560, + "end": 2563, + "loc": { + "start": { + "line": 132, + "column": 31 + }, + "end": { + "line": 132, + "column": 34 + }, + "identifierName": "log" + }, + "name": "log" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2564, + "end": 2566, + "loc": { + "start": { + "line": 132, + "column": 35 + }, + "end": { + "line": 132, + "column": 37 + }, + "identifierName": "fI" + }, + "name": "fI" + } + ] + } + } + ], + "directives": [] + } + } + } + } + ], + "name": { + "type": "JSXIdentifier", + "start": 2483, + "end": 2494, + "loc": { + "start": { + "line": 130, + "column": 6 + }, + "end": { + "line": 130, + "column": 17 + } + }, + "name": "RenderGroup" + }, + "selfClosing": true + }, + "closingElement": null, + "children": [] + }, + { + "type": "JSXText", + "start": 2577, + "end": 2582, + "loc": { + "start": { + "line": 133, + "column": 7 + }, + "end": { + "line": 134, + "column": 4 + } + }, + "extra": null, + "value": "\n\t\t\t\t" + } + ] + }, + { + "type": "JSXText", + "start": 2588, + "end": 2594, + "loc": { + "start": { + "line": 134, + "column": 10 + }, + "end": { + "line": 136, + "column": 4 + } + }, + "extra": null, + "value": "\n\n\t\t\t\t" + }, + { + "type": "JSXElement", + "start": 2594, + "end": 2813, + "loc": { + "start": { + "line": 136, + "column": 4 + }, + "end": { + "line": 146, + "column": 10 + } + }, + "openingElement": { + "type": "JSXOpeningElement", + "start": 2594, + "end": 2599, + "loc": { + "start": { + "line": 136, + "column": 4 + }, + "end": { + "line": 136, + "column": 9 + } + }, + "attributes": [], + "name": { + "type": "JSXIdentifier", + "start": 2595, + "end": 2598, + "loc": { + "start": { + "line": 136, + "column": 5 + }, + "end": { + "line": 136, + "column": 8 + } + }, + "name": "div" + }, + "selfClosing": false + }, + "closingElement": { + "type": "JSXClosingElement", + "start": 2807, + "end": 2813, + "loc": { + "start": { + "line": 146, + "column": 4 + }, + "end": { + "line": 146, + "column": 10 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 2809, + "end": 2812, + "loc": { + "start": { + "line": 146, + "column": 6 + }, + "end": { + "line": 146, + "column": 9 + } + }, + "name": "div" + } + }, + "children": [ + { + "type": "JSXText", + "start": 2599, + "end": 2605, + "loc": { + "start": { + "line": 136, + "column": 9 + }, + "end": { + "line": 137, + "column": 5 + } + }, + "extra": null, + "value": "\n\t\t\t\t\t" + }, + { + "type": "JSXElement", + "start": 2605, + "end": 2634, + "loc": { + "start": { + "line": 137, + "column": 5 + }, + "end": { + "line": 137, + "column": 34 + } + }, + "openingElement": { + "type": "JSXOpeningElement", + "start": 2605, + "end": 2609, + "loc": { + "start": { + "line": 137, + "column": 5 + }, + "end": { + "line": 137, + "column": 9 + } + }, + "attributes": [], + "name": { + "type": "JSXIdentifier", + "start": 2606, + "end": 2608, + "loc": { + "start": { + "line": 137, + "column": 6 + }, + "end": { + "line": 137, + "column": 8 + } + }, + "name": "h2" + }, + "selfClosing": false + }, + "closingElement": { + "type": "JSXClosingElement", + "start": 2629, + "end": 2634, + "loc": { + "start": { + "line": 137, + "column": 29 + }, + "end": { + "line": 137, + "column": 34 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 2631, + "end": 2633, + "loc": { + "start": { + "line": 137, + "column": 31 + }, + "end": { + "line": 137, + "column": 33 + } + }, + "name": "h2" + } + }, + "children": [ + { + "type": "JSXText", + "start": 2609, + "end": 2629, + "loc": { + "start": { + "line": 137, + "column": 9 + }, + "end": { + "line": 137, + "column": 29 + } + }, + "extra": null, + "value": "Created With Factory" + } + ] + }, + { + "type": "JSXText", + "start": 2634, + "end": 2640, + "loc": { + "start": { + "line": 137, + "column": 34 + }, + "end": { + "line": 138, + "column": 5 + } + }, + "extra": null, + "value": "\n\t\t\t\t\t" + }, + { + "type": "JSXExpressionContainer", + "start": 2640, + "end": 2802, + "loc": { + "start": { + "line": 138, + "column": 5 + }, + "end": { + "line": 145, + "column": 8 + } + }, + "expression": { + "type": "CallExpression", + "start": 2641, + "end": 2801, + "loc": { + "start": { + "line": 138, + "column": 6 + }, + "end": { + "line": 145, + "column": 7 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2641, + "end": 2671, + "loc": { + "start": { + "line": 138, + "column": 6 + }, + "end": { + "line": 138, + "column": 36 + } + }, + "object": { + "type": "CallExpression", + "start": 2641, + "end": 2667, + "loc": { + "start": { + "line": 138, + "column": 6 + }, + "end": { + "line": 138, + "column": 32 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2641, + "end": 2651, + "loc": { + "start": { + "line": 138, + "column": 6 + }, + "end": { + "line": 138, + "column": 16 + } + }, + "object": { + "type": "Identifier", + "start": 2641, + "end": 2646, + "loc": { + "start": { + "line": 138, + "column": 6 + }, + "end": { + "line": 138, + "column": 11 + }, + "identifierName": "Array" + }, + "name": "Array" + }, + "property": { + "type": "Identifier", + "start": 2647, + "end": 2651, + "loc": { + "start": { + "line": 138, + "column": 12 + }, + "end": { + "line": 138, + "column": 16 + }, + "identifierName": "from" + }, + "name": "from" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2652, + "end": 2666, + "loc": { + "start": { + "line": 138, + "column": 17 + }, + "end": { + "line": 138, + "column": 31 + }, + "identifierName": "configFieldEls" + }, + "name": "configFieldEls" + } + ] + }, + "property": { + "type": "Identifier", + "start": 2668, + "end": 2671, + "loc": { + "start": { + "line": 138, + "column": 33 + }, + "end": { + "line": 138, + "column": 36 + }, + "identifierName": "map" + }, + "name": "map" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 2672, + "end": 2800, + "loc": { + "start": { + "line": 138, + "column": 37 + }, + "end": { + "line": 145, + "column": 6 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2673, + "end": 2678, + "loc": { + "start": { + "line": 138, + "column": 38 + }, + "end": { + "line": 138, + "column": 43 + }, + "identifierName": "field" + }, + "name": "field" + }, + { + "type": "Identifier", + "start": 2679, + "end": 2680, + "loc": { + "start": { + "line": 138, + "column": 44 + }, + "end": { + "line": 138, + "column": 45 + }, + "identifierName": "i" + }, + "name": "i" + } + ], + "body": { + "type": "BlockStatement", + "start": 2685, + "end": 2800, + "loc": { + "start": { + "line": 138, + "column": 50 + }, + "end": { + "line": 145, + "column": 6 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 2693, + "end": 2793, + "loc": { + "start": { + "line": 139, + "column": 6 + }, + "end": { + "line": 144, + "column": 8 + } + }, + "argument": { + "type": "CallExpression", + "start": 2700, + "end": 2792, + "loc": { + "start": { + "line": 139, + "column": 13 + }, + "end": { + "line": 144, + "column": 7 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2700, + "end": 2719, + "loc": { + "start": { + "line": 139, + "column": 13 + }, + "end": { + "line": 139, + "column": 32 + } + }, + "object": { + "type": "Identifier", + "start": 2700, + "end": 2705, + "loc": { + "start": { + "line": 139, + "column": 13 + }, + "end": { + "line": 139, + "column": 18 + }, + "identifierName": "React" + }, + "name": "React" + }, + "property": { + "type": "Identifier", + "start": 2706, + "end": 2719, + "loc": { + "start": { + "line": 139, + "column": 19 + }, + "end": { + "line": 139, + "column": 32 + }, + "identifierName": "createElement" + }, + "name": "createElement" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 2728, + "end": 2742, + "loc": { + "start": { + "line": 140, + "column": 7 + }, + "end": { + "line": 140, + "column": 21 + } + }, + "object": { + "type": "Identifier", + "start": 2728, + "end": 2733, + "loc": { + "start": { + "line": 140, + "column": 7 + }, + "end": { + "line": 140, + "column": 12 + }, + "identifierName": "React" + }, + "name": "React" + }, + "property": { + "type": "Identifier", + "start": 2734, + "end": 2742, + "loc": { + "start": { + "line": 140, + "column": 13 + }, + "end": { + "line": 140, + "column": 21 + }, + "identifierName": "Fragment" + }, + "name": "Fragment" + }, + "computed": false + }, + { + "type": "ObjectExpression", + "start": 2744, + "end": 2770, + "loc": { + "start": { + "line": 140, + "column": 23 + }, + "end": { + "line": 142, + "column": 8 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 2754, + "end": 2760, + "loc": { + "start": { + "line": 141, + "column": 8 + }, + "end": { + "line": 141, + "column": 14 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2754, + "end": 2757, + "loc": { + "start": { + "line": 141, + "column": 8 + }, + "end": { + "line": 141, + "column": 11 + }, + "identifierName": "key" + }, + "name": "key" + }, + "value": { + "type": "Identifier", + "start": 2759, + "end": 2760, + "loc": { + "start": { + "line": 141, + "column": 13 + }, + "end": { + "line": 141, + "column": 14 + }, + "identifierName": "i" + }, + "name": "i" + } + } + ] + }, + { + "type": "Identifier", + "start": 2779, + "end": 2784, + "loc": { + "start": { + "line": 143, + "column": 7 + }, + "end": { + "line": 143, + "column": 12 + }, + "identifierName": "field" + }, + "name": "field" + } + ] + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "JSXText", + "start": 2802, + "end": 2807, + "loc": { + "start": { + "line": 145, + "column": 8 + }, + "end": { + "line": 146, + "column": 4 + } + }, + "extra": null, + "value": "\n\t\t\t\t" + } + ] + }, + { + "type": "JSXText", + "start": 2813, + "end": 2819, + "loc": { + "start": { + "line": 146, + "column": 10 + }, + "end": { + "line": 148, + "column": 4 + } + }, + "extra": null, + "value": "\n\n\t\t\t\t" + }, + { + "type": "JSXElement", + "start": 2819, + "end": 3448, + "loc": { + "start": { + "line": 148, + "column": 4 + }, + "end": { + "line": 179, + "column": 10 + } + }, + "openingElement": { "type": "JSXOpeningElement", - "start": 2147, - "end": 2152, + "start": 2819, + "end": 2824, "loc": { "start": { - "line": 114, + "line": 148, "column": 4 }, "end": { - "line": 114, + "line": 148, "column": 9 } }, "attributes": [], "name": { "type": "JSXIdentifier", - "start": 2148, - "end": 2151, + "start": 2820, + "end": 2823, "loc": { "start": { - "line": 114, + "line": 148, "column": 5 }, "end": { - "line": 114, + "line": 148, "column": 8 } }, @@ -5338,29 +7037,29 @@ }, "closingElement": { "type": "JSXClosingElement", - "start": 2360, - "end": 2366, + "start": 3442, + "end": 3448, "loc": { "start": { - "line": 124, + "line": 179, "column": 4 }, "end": { - "line": 124, + "line": 179, "column": 10 } }, "name": { "type": "JSXIdentifier", - "start": 2362, - "end": 2365, + "start": 3444, + "end": 3447, "loc": { "start": { - "line": 124, + "line": 179, "column": 6 }, "end": { - "line": 124, + "line": 179, "column": 9 } }, @@ -5370,15 +7069,15 @@ "children": [ { "type": "JSXText", - "start": 2152, - "end": 2158, + "start": 2824, + "end": 2830, "loc": { "start": { - "line": 114, + "line": 148, "column": 9 }, "end": { - "line": 115, + "line": 149, "column": 5 } }, @@ -5387,44 +7086,44 @@ }, { "type": "JSXElement", - "start": 2158, - "end": 2187, + "start": 2830, + "end": 2851, "loc": { "start": { - "line": 115, + "line": 149, "column": 5 }, "end": { - "line": 115, - "column": 34 + "line": 149, + "column": 26 } }, "openingElement": { "type": "JSXOpeningElement", - "start": 2158, - "end": 2162, + "start": 2830, + "end": 2834, "loc": { "start": { - "line": 115, + "line": 149, "column": 5 }, "end": { - "line": 115, + "line": 149, "column": 9 } }, "attributes": [], "name": { "type": "JSXIdentifier", - "start": 2159, - "end": 2161, + "start": 2831, + "end": 2833, "loc": { "start": { - "line": 115, + "line": 149, "column": 6 }, "end": { - "line": 115, + "line": 149, "column": 8 } }, @@ -5434,30 +7133,30 @@ }, "closingElement": { "type": "JSXClosingElement", - "start": 2182, - "end": 2187, + "start": 2846, + "end": 2851, "loc": { "start": { - "line": 115, - "column": 29 + "line": 149, + "column": 21 }, "end": { - "line": 115, - "column": 34 + "line": 149, + "column": 26 } }, "name": { "type": "JSXIdentifier", - "start": 2184, - "end": 2186, + "start": 2848, + "end": 2850, "loc": { "start": { - "line": 115, - "column": 31 + "line": 149, + "column": 23 }, "end": { - "line": 115, - "column": 33 + "line": 149, + "column": 25 } }, "name": "h2" @@ -5466,34 +7165,34 @@ "children": [ { "type": "JSXText", - "start": 2162, - "end": 2182, + "start": 2834, + "end": 2846, "loc": { "start": { - "line": 115, + "line": 149, "column": 9 }, "end": { - "line": 115, - "column": 29 + "line": 149, + "column": 21 } }, "extra": null, - "value": "Created With Factory" + "value": "Magic Select" } ] }, { "type": "JSXText", - "start": 2187, - "end": 2193, + "start": 2851, + "end": 2857, "loc": { "start": { - "line": 115, - "column": 34 + "line": 149, + "column": 26 }, "end": { - "line": 116, + "line": 150, "column": 5 } }, @@ -5501,456 +7200,1125 @@ "value": "\n\t\t\t\t\t" }, { - "type": "JSXExpressionContainer", - "start": 2193, - "end": 2355, + "type": "JSXElement", + "start": 2857, + "end": 3437, "loc": { "start": { - "line": 116, + "line": 150, "column": 5 }, "end": { - "line": 123, - "column": 8 + "line": 178, + "column": 7 } }, - "expression": { - "type": "CallExpression", - "start": 2194, - "end": 2354, + "openingElement": { + "type": "JSXOpeningElement", + "start": 2857, + "end": 3437, "loc": { "start": { - "line": 116, - "column": 6 + "line": 150, + "column": 5 }, "end": { - "line": 123, + "line": 178, "column": 7 } }, - "callee": { - "type": "MemberExpression", - "start": 2194, - "end": 2224, - "loc": { - "start": { - "line": 116, - "column": 6 + "attributes": [ + { + "type": "JSXAttribute", + "start": 2880, + "end": 2894, + "loc": { + "start": { + "line": 151, + "column": 6 + }, + "end": { + "line": 151, + "column": 20 + } }, - "end": { - "line": 116, - "column": 36 + "name": { + "type": "JSXIdentifier", + "start": 2880, + "end": 2882, + "loc": { + "start": { + "line": 151, + "column": 6 + }, + "end": { + "line": 151, + "column": 8 + } + }, + "name": "id" + }, + "value": { + "type": "JSXExpressionContainer", + "start": 2883, + "end": 2894, + "loc": { + "start": { + "line": 151, + "column": 9 + }, + "end": { + "line": 151, + "column": 20 + } + }, + "expression": { + "type": "StringLiteral", + "start": 2884, + "end": 2893, + "loc": { + "start": { + "line": 151, + "column": 10 + }, + "end": { + "line": 151, + "column": 19 + } + }, + "extra": { + "rawValue": "magic-5", + "raw": "'magic-5'" + }, + "value": "magic-5" + } } }, - "object": { - "type": "CallExpression", - "start": 2194, - "end": 2220, + { + "type": "JSXAttribute", + "start": 2901, + "end": 2925, + "loc": { + "start": { + "line": 152, + "column": 6 + }, + "end": { + "line": 152, + "column": 30 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 2901, + "end": 2915, + "loc": { + "start": { + "line": 152, + "column": 6 + }, + "end": { + "line": 152, + "column": 20 + } + }, + "name": "fieldClassName" + }, + "value": { + "type": "JSXExpressionContainer", + "start": 2916, + "end": 2925, + "loc": { + "start": { + "line": 152, + "column": 21 + }, + "end": { + "line": 152, + "column": 30 + } + }, + "expression": { + "type": "StringLiteral", + "start": 2917, + "end": 2924, + "loc": { + "start": { + "line": 152, + "column": 22 + }, + "end": { + "line": 152, + "column": 29 + } + }, + "extra": { + "rawValue": "magic", + "raw": "'magic'" + }, + "value": "magic" + } + } + }, + { + "type": "JSXAttribute", + "start": 2932, + "end": 3007, "loc": { "start": { - "line": 116, + "line": 153, "column": 6 }, "end": { - "line": 116, - "column": 32 + "line": 155, + "column": 9 } }, - "callee": { - "type": "MemberExpression", - "start": 2194, - "end": 2204, + "name": { + "type": "JSXIdentifier", + "start": 2932, + "end": 2945, "loc": { "start": { - "line": 116, + "line": 153, "column": 6 }, "end": { - "line": 116, - "column": 16 + "line": 153, + "column": 19 } }, - "object": { - "type": "Identifier", - "start": 2194, - "end": 2199, - "loc": { - "start": { - "line": 116, - "column": 6 - }, - "end": { - "line": 116, - "column": 11 - }, - "identifierName": "Array" + "name": "onValueChange" + }, + "value": { + "type": "JSXExpressionContainer", + "start": 2946, + "end": 3007, + "loc": { + "start": { + "line": 153, + "column": 20 }, - "name": "Array" + "end": { + "line": 155, + "column": 9 + } }, - "property": { - "type": "Identifier", - "start": 2200, - "end": 2204, + "expression": { + "type": "ArrowFunctionExpression", + "start": 2947, + "end": 3005, "loc": { "start": { - "line": 116, - "column": 12 + "line": 153, + "column": 21 }, "end": { - "line": 116, - "column": 16 - }, - "identifierName": "from" + "line": 155, + "column": 7 + } }, - "name": "from" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 2205, - "end": 2219, - "loc": { - "start": { - "line": 116, - "column": 17 - }, - "end": { - "line": 116, - "column": 31 + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2948, + "end": 2956, + "loc": { + "start": { + "line": 153, + "column": 22 + }, + "end": { + "line": 153, + "column": 30 + }, + "identifierName": "newValue" + }, + "name": "newValue" + } + ], + "body": { + "type": "BlockStatement", + "start": 2961, + "end": 3005, + "loc": { + "start": { + "line": 153, + "column": 35 + }, + "end": { + "line": 155, + "column": 7 + } }, - "identifierName": "configFieldEls" - }, - "name": "configFieldEls" + "body": [ + { + "type": "ExpressionStatement", + "start": 2970, + "end": 2997, + "loc": { + "start": { + "line": 154, + "column": 7 + }, + "end": { + "line": 154, + "column": 34 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2970, + "end": 2996, + "loc": { + "start": { + "line": 154, + "column": 7 + }, + "end": { + "line": 154, + "column": 33 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 2970, + "end": 2985, + "loc": { + "start": { + "line": 154, + "column": 7 + }, + "end": { + "line": 154, + "column": 22 + }, + "identifierName": "magicFieldValue" + }, + "name": "magicFieldValue" + }, + "right": { + "type": "Identifier", + "start": 2988, + "end": 2996, + "loc": { + "start": { + "line": 154, + "column": 25 + }, + "end": { + "line": 154, + "column": 33 + }, + "identifierName": "newValue" + }, + "name": "newValue" + } + } + } + ], + "directives": [] + } } - ] - }, - "property": { - "type": "Identifier", - "start": 2221, - "end": 2224, - "loc": { - "start": { - "line": 116, - "column": 33 - }, - "end": { - "line": 116, - "column": 36 - }, - "identifierName": "map" - }, - "name": "map" + } }, - "computed": false - }, - "arguments": [ { - "type": "ArrowFunctionExpression", - "start": 2225, - "end": 2353, + "type": "JSXAttribute", + "start": 3014, + "end": 3259, "loc": { "start": { - "line": 116, - "column": 37 + "line": 156, + "column": 6 }, "end": { - "line": 123, - "column": 6 + "line": 169, + "column": 8 } }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 2226, - "end": 2231, + "name": { + "type": "JSXIdentifier", + "start": 3014, + "end": 3024, + "loc": { + "start": { + "line": 156, + "column": 6 + }, + "end": { + "line": 156, + "column": 16 + } + }, + "name": "fieldsList" + }, + "value": { + "type": "JSXExpressionContainer", + "start": 3025, + "end": 3259, + "loc": { + "start": { + "line": 156, + "column": 17 + }, + "end": { + "line": 169, + "column": 8 + } + }, + "expression": { + "type": "ArrayExpression", + "start": 3026, + "end": 3258, "loc": { "start": { - "line": 116, - "column": 38 + "line": 156, + "column": 18 }, "end": { - "line": 116, - "column": 43 - }, - "identifierName": "field" + "line": 169, + "column": 7 + } }, - "name": "field" + "elements": [ + { + "type": "ObjectExpression", + "start": 3035, + "end": 3099, + "loc": { + "start": { + "line": 157, + "column": 7 + }, + "end": { + "line": 160, + "column": 8 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 3045, + "end": 3063, + "loc": { + "start": { + "line": 158, + "column": 8 + }, + "end": { + "line": 158, + "column": 26 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3045, + "end": 3050, + "loc": { + "start": { + "line": 158, + "column": 8 + }, + "end": { + "line": 158, + "column": 13 + }, + "identifierName": "label" + }, + "name": "label" + }, + "value": { + "type": "StringLiteral", + "start": 3052, + "end": 3063, + "loc": { + "start": { + "line": 158, + "column": 15 + }, + "end": { + "line": 158, + "column": 26 + } + }, + "extra": { + "rawValue": "Field One", + "raw": "'Field One'" + }, + "value": "Field One" + } + }, + { + "type": "ObjectProperty", + "start": 3073, + "end": 3090, + "loc": { + "start": { + "line": 159, + "column": 8 + }, + "end": { + "line": 159, + "column": 25 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3073, + "end": 3078, + "loc": { + "start": { + "line": 159, + "column": 8 + }, + "end": { + "line": 159, + "column": 13 + }, + "identifierName": "value" + }, + "name": "value" + }, + "value": { + "type": "StringLiteral", + "start": 3080, + "end": 3090, + "loc": { + "start": { + "line": 159, + "column": 15 + }, + "end": { + "line": 159, + "column": 25 + } + }, + "extra": { + "rawValue": "%fldOne%", + "raw": "'%fldOne%'" + }, + "value": "%fldOne%" + } + } + ] + }, + { + "type": "ObjectExpression", + "start": 3108, + "end": 3172, + "loc": { + "start": { + "line": 161, + "column": 7 + }, + "end": { + "line": 164, + "column": 8 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 3118, + "end": 3136, + "loc": { + "start": { + "line": 162, + "column": 8 + }, + "end": { + "line": 162, + "column": 26 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3118, + "end": 3123, + "loc": { + "start": { + "line": 162, + "column": 8 + }, + "end": { + "line": 162, + "column": 13 + }, + "identifierName": "label" + }, + "name": "label" + }, + "value": { + "type": "StringLiteral", + "start": 3125, + "end": 3136, + "loc": { + "start": { + "line": 162, + "column": 15 + }, + "end": { + "line": 162, + "column": 26 + } + }, + "extra": { + "rawValue": "Field Two", + "raw": "'Field Two'" + }, + "value": "Field Two" + } + }, + { + "type": "ObjectProperty", + "start": 3146, + "end": 3163, + "loc": { + "start": { + "line": 163, + "column": 8 + }, + "end": { + "line": 163, + "column": 25 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3146, + "end": 3151, + "loc": { + "start": { + "line": 163, + "column": 8 + }, + "end": { + "line": 163, + "column": 13 + }, + "identifierName": "value" + }, + "name": "value" + }, + "value": { + "type": "StringLiteral", + "start": 3153, + "end": 3163, + "loc": { + "start": { + "line": 163, + "column": 15 + }, + "end": { + "line": 163, + "column": 25 + } + }, + "extra": { + "rawValue": "%fldTwo%", + "raw": "'%fldTwo%'" + }, + "value": "%fldTwo%" + } + } + ] + }, + { + "type": "ObjectExpression", + "start": 3181, + "end": 3249, + "loc": { + "start": { + "line": 165, + "column": 7 + }, + "end": { + "line": 168, + "column": 8 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 3191, + "end": 3211, + "loc": { + "start": { + "line": 166, + "column": 8 + }, + "end": { + "line": 166, + "column": 28 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3191, + "end": 3196, + "loc": { + "start": { + "line": 166, + "column": 8 + }, + "end": { + "line": 166, + "column": 13 + }, + "identifierName": "label" + }, + "name": "label" + }, + "value": { + "type": "StringLiteral", + "start": 3198, + "end": 3211, + "loc": { + "start": { + "line": 166, + "column": 15 + }, + "end": { + "line": 166, + "column": 28 + } + }, + "extra": { + "rawValue": "Field Three", + "raw": "'Field Three'" + }, + "value": "Field Three" + } + }, + { + "type": "ObjectProperty", + "start": 3221, + "end": 3240, + "loc": { + "start": { + "line": 167, + "column": 8 + }, + "end": { + "line": 167, + "column": 27 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3221, + "end": 3226, + "loc": { + "start": { + "line": 167, + "column": 8 + }, + "end": { + "line": 167, + "column": 13 + }, + "identifierName": "value" + }, + "name": "value" + }, + "value": { + "type": "StringLiteral", + "start": 3228, + "end": 3240, + "loc": { + "start": { + "line": 167, + "column": 15 + }, + "end": { + "line": 167, + "column": 27 + } + }, + "extra": { + "rawValue": "%fldThree%", + "raw": "'%fldThree%'" + }, + "value": "%fldThree%" + } + } + ] + } + ] + } + } + }, + { + "type": "JSXAttribute", + "start": 3266, + "end": 3379, + "loc": { + "start": { + "line": 170, + "column": 6 }, - { - "type": "Identifier", - "start": 2232, - "end": 2233, - "loc": { - "start": { - "line": 116, - "column": 44 - }, - "end": { - "line": 116, - "column": 45 - }, - "identifierName": "i" - }, - "name": "i" + "end": { + "line": 175, + "column": 8 } - ], - "body": { - "type": "BlockStatement", - "start": 2238, - "end": 2353, + }, + "name": { + "type": "JSXIdentifier", + "start": 3266, + "end": 3280, "loc": { "start": { - "line": 116, - "column": 50 + "line": 170, + "column": 6 }, "end": { - "line": 123, - "column": 6 + "line": 170, + "column": 20 } }, - "body": [ - { - "type": "ReturnStatement", - "start": 2246, - "end": 2346, - "loc": { - "start": { - "line": 117, - "column": 6 - }, - "end": { - "line": 122, - "column": 8 - } + "name": "systemTagsList" + }, + "value": { + "type": "JSXExpressionContainer", + "start": 3281, + "end": 3379, + "loc": { + "start": { + "line": 170, + "column": 21 + }, + "end": { + "line": 175, + "column": 8 + } + }, + "expression": { + "type": "ArrayExpression", + "start": 3282, + "end": 3378, + "loc": { + "start": { + "line": 170, + "column": 22 }, - "argument": { - "type": "CallExpression", - "start": 2253, - "end": 2345, + "end": { + "line": 175, + "column": 7 + } + }, + "elements": [ + { + "type": "ObjectExpression", + "start": 3291, + "end": 3370, "loc": { "start": { - "line": 117, - "column": 13 + "line": 171, + "column": 7 }, "end": { - "line": 122, - "column": 7 + "line": 174, + "column": 8 } }, - "callee": { - "type": "MemberExpression", - "start": 2253, - "end": 2272, - "loc": { - "start": { - "line": 117, - "column": 13 - }, - "end": { - "line": 117, - "column": 32 - } - }, - "object": { - "type": "Identifier", - "start": 2253, - "end": 2258, - "loc": { - "start": { - "line": 117, - "column": 13 - }, - "end": { - "line": 117, - "column": 18 - }, - "identifierName": "React" - }, - "name": "React" - }, - "property": { - "type": "Identifier", - "start": 2259, - "end": 2272, - "loc": { - "start": { - "line": 117, - "column": 19 - }, - "end": { - "line": 117, - "column": 32 - }, - "identifierName": "createElement" - }, - "name": "createElement" - }, - "computed": false - }, - "arguments": [ + "properties": [ { - "type": "MemberExpression", - "start": 2281, - "end": 2295, + "type": "ObjectProperty", + "start": 3301, + "end": 3325, "loc": { "start": { - "line": 118, - "column": 7 + "line": 172, + "column": 8 }, "end": { - "line": 118, - "column": 21 + "line": 172, + "column": 32 } }, - "object": { + "method": false, + "shorthand": false, + "computed": false, + "key": { "type": "Identifier", - "start": 2281, - "end": 2286, + "start": 3301, + "end": 3306, "loc": { "start": { - "line": 118, - "column": 7 + "line": 172, + "column": 8 }, "end": { - "line": 118, - "column": 12 + "line": 172, + "column": 13 }, - "identifierName": "React" + "identifierName": "label" }, - "name": "React" + "name": "label" }, - "property": { - "type": "Identifier", - "start": 2287, - "end": 2295, + "value": { + "type": "StringLiteral", + "start": 3308, + "end": 3325, "loc": { "start": { - "line": 118, - "column": 13 + "line": 172, + "column": 15 }, "end": { - "line": 118, - "column": 21 - }, - "identifierName": "Fragment" + "line": 172, + "column": 32 + } }, - "name": "Fragment" - }, - "computed": false + "extra": { + "rawValue": "User First Name", + "raw": "'User First Name'" + }, + "value": "User First Name" + } }, { - "type": "ObjectExpression", - "start": 2297, - "end": 2323, + "type": "ObjectProperty", + "start": 3335, + "end": 3361, "loc": { "start": { - "line": 118, - "column": 23 + "line": 173, + "column": 8 }, "end": { - "line": 120, - "column": 8 + "line": 173, + "column": 34 } }, - "properties": [ - { - "type": "ObjectProperty", - "start": 2307, - "end": 2313, - "loc": { - "start": { - "line": 119, - "column": 8 - }, - "end": { - "line": 119, - "column": 14 - } + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3335, + "end": 3340, + "loc": { + "start": { + "line": 173, + "column": 8 }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 2307, - "end": 2310, - "loc": { - "start": { - "line": 119, - "column": 8 - }, - "end": { - "line": 119, - "column": 11 - }, - "identifierName": "key" - }, - "name": "key" + "end": { + "line": 173, + "column": 13 }, - "value": { - "type": "Identifier", - "start": 2312, - "end": 2313, - "loc": { - "start": { - "line": 119, - "column": 13 - }, - "end": { - "line": 119, - "column": 14 - }, - "identifierName": "i" - }, - "name": "i" + "identifierName": "value" + }, + "name": "value" + }, + "value": { + "type": "StringLiteral", + "start": 3342, + "end": 3361, + "loc": { + "start": { + "line": 173, + "column": 15 + }, + "end": { + "line": 173, + "column": 34 } - } - ] - }, - { - "type": "Identifier", - "start": 2332, - "end": 2337, - "loc": { - "start": { - "line": 121, - "column": 7 }, - "end": { - "line": 121, - "column": 12 + "extra": { + "rawValue": "{user:first_name}", + "raw": "'{user:first_name}'" }, - "identifierName": "field" - }, - "name": "field" + "value": "{user:first_name}" + } } ] } + ] + } + } + }, + { + "type": "JSXAttribute", + "start": 3386, + "end": 3399, + "loc": { + "start": { + "line": 176, + "column": 6 + }, + "end": { + "line": 176, + "column": 19 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 3386, + "end": 3392, + "loc": { + "start": { + "line": 176, + "column": 6 + }, + "end": { + "line": 176, + "column": 12 } - ], - "directives": [] + }, + "name": "isOpen" + }, + "value": { + "type": "JSXExpressionContainer", + "start": 3393, + "end": 3399, + "loc": { + "start": { + "line": 176, + "column": 13 + }, + "end": { + "line": 176, + "column": 19 + } + }, + "expression": { + "type": "BooleanLiteral", + "start": 3394, + "end": 3398, + "loc": { + "start": { + "line": 176, + "column": 14 + }, + "end": { + "line": 176, + "column": 18 + } + }, + "value": true + } + } + }, + { + "type": "JSXAttribute", + "start": 3406, + "end": 3429, + "loc": { + "start": { + "line": 177, + "column": 6 + }, + "end": { + "line": 177, + "column": 29 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 3406, + "end": 3411, + "loc": { + "start": { + "line": 177, + "column": 6 + }, + "end": { + "line": 177, + "column": 11 + } + }, + "name": "value" + }, + "value": { + "type": "JSXExpressionContainer", + "start": 3412, + "end": 3429, + "loc": { + "start": { + "line": 177, + "column": 12 + }, + "end": { + "line": 177, + "column": 29 + } + }, + "expression": { + "type": "Identifier", + "start": 3413, + "end": 3428, + "loc": { + "start": { + "line": 177, + "column": 13 + }, + "end": { + "line": 177, + "column": 28 + }, + "identifierName": "magicFieldValue" + }, + "name": "magicFieldValue" + } } } - ] - } + ], + "name": { + "type": "JSXIdentifier", + "start": 2858, + "end": 2873, + "loc": { + "start": { + "line": 150, + "column": 6 + }, + "end": { + "line": 150, + "column": 21 + } + }, + "name": "MagicFieldGroup" + }, + "selfClosing": true + }, + "closingElement": null, + "children": [] }, { "type": "JSXText", - "start": 2355, - "end": 2360, + "start": 3437, + "end": 3442, "loc": { "start": { - "line": 123, - "column": 8 + "line": 178, + "column": 7 }, "end": { - "line": 124, + "line": 179, "column": 4 } }, @@ -5961,15 +8329,15 @@ }, { "type": "JSXText", - "start": 2366, - "end": 2372, + "start": 3448, + "end": 3454, "loc": { "start": { - "line": 124, + "line": 179, "column": 10 }, "end": { - "line": 126, + "line": 181, "column": 4 } }, @@ -5978,44 +8346,44 @@ }, { "type": "JSXElement", - "start": 2372, - "end": 4161, + "start": 3454, + "end": 5243, "loc": { "start": { - "line": 126, + "line": 181, "column": 4 }, "end": { - "line": 206, + "line": 261, "column": 10 } }, "openingElement": { "type": "JSXOpeningElement", - "start": 2372, - "end": 2377, + "start": 3454, + "end": 3459, "loc": { "start": { - "line": 126, + "line": 181, "column": 4 }, "end": { - "line": 126, + "line": 181, "column": 9 } }, "attributes": [], "name": { "type": "JSXIdentifier", - "start": 2373, - "end": 2376, + "start": 3455, + "end": 3458, "loc": { "start": { - "line": 126, + "line": 181, "column": 5 }, "end": { - "line": 126, + "line": 181, "column": 8 } }, @@ -6025,29 +8393,29 @@ }, "closingElement": { "type": "JSXClosingElement", - "start": 4155, - "end": 4161, + "start": 5237, + "end": 5243, "loc": { "start": { - "line": 206, + "line": 261, "column": 4 }, "end": { - "line": 206, + "line": 261, "column": 10 } }, "name": { "type": "JSXIdentifier", - "start": 4157, - "end": 4160, + "start": 5239, + "end": 5242, "loc": { "start": { - "line": 206, + "line": 261, "column": 6 }, "end": { - "line": 206, + "line": 261, "column": 9 } }, @@ -6057,15 +8425,15 @@ "children": [ { "type": "JSXText", - "start": 2377, - "end": 2383, + "start": 3459, + "end": 3465, "loc": { "start": { - "line": 126, + "line": 181, "column": 9 }, "end": { - "line": 127, + "line": 182, "column": 5 } }, @@ -6074,44 +8442,44 @@ }, { "type": "JSXElement", - "start": 2383, - "end": 2398, + "start": 3465, + "end": 3480, "loc": { "start": { - "line": 127, + "line": 182, "column": 5 }, "end": { - "line": 127, + "line": 182, "column": 20 } }, "openingElement": { "type": "JSXOpeningElement", - "start": 2383, - "end": 2387, + "start": 3465, + "end": 3469, "loc": { "start": { - "line": 127, + "line": 182, "column": 5 }, "end": { - "line": 127, + "line": 182, "column": 9 } }, "attributes": [], "name": { "type": "JSXIdentifier", - "start": 2384, - "end": 2386, + "start": 3466, + "end": 3468, "loc": { "start": { - "line": 127, + "line": 182, "column": 6 }, "end": { - "line": 127, + "line": 182, "column": 8 } }, @@ -6121,29 +8489,29 @@ }, "closingElement": { "type": "JSXClosingElement", - "start": 2393, - "end": 2398, + "start": 3475, + "end": 3480, "loc": { "start": { - "line": 127, + "line": 182, "column": 15 }, "end": { - "line": 127, + "line": 182, "column": 20 } }, "name": { "type": "JSXIdentifier", - "start": 2395, - "end": 2397, + "start": 3477, + "end": 3479, "loc": { "start": { - "line": 127, + "line": 182, "column": 17 }, "end": { - "line": 127, + "line": 182, "column": 19 } }, @@ -6153,15 +8521,15 @@ "children": [ { "type": "JSXText", - "start": 2387, - "end": 2393, + "start": 3469, + "end": 3475, "loc": { "start": { - "line": 127, + "line": 182, "column": 9 }, "end": { - "line": 127, + "line": 182, "column": 15 } }, @@ -6172,15 +8540,15 @@ }, { "type": "JSXText", - "start": 2398, - "end": 2404, + "start": 3480, + "end": 3486, "loc": { "start": { - "line": 127, + "line": 182, "column": 20 }, "end": { - "line": 128, + "line": 183, "column": 5 } }, @@ -6189,58 +8557,58 @@ }, { "type": "JSXElement", - "start": 2404, - "end": 2627, + "start": 3486, + "end": 3709, "loc": { "start": { - "line": 128, + "line": 183, "column": 5 }, "end": { - "line": 137, + "line": 192, "column": 7 } }, "openingElement": { "type": "JSXOpeningElement", - "start": 2404, - "end": 2627, + "start": 3486, + "end": 3709, "loc": { "start": { - "line": 128, + "line": 183, "column": 5 }, "end": { - "line": 137, + "line": 192, "column": 7 } }, "attributes": [ { "type": "JSXAttribute", - "start": 2422, - "end": 2439, + "start": 3504, + "end": 3521, "loc": { "start": { - "line": 129, + "line": 184, "column": 6 }, "end": { - "line": 129, + "line": 184, "column": 23 } }, "name": { "type": "JSXIdentifier", - "start": 2422, - "end": 2424, + "start": 3504, + "end": 3506, "loc": { "start": { - "line": 129, + "line": 184, "column": 6 }, "end": { - "line": 129, + "line": 184, "column": 8 } }, @@ -6248,29 +8616,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 2425, - "end": 2439, + "start": 3507, + "end": 3521, "loc": { "start": { - "line": 129, + "line": 184, "column": 9 }, "end": { - "line": 129, + "line": 184, "column": 23 } }, "expression": { "type": "StringLiteral", - "start": 2426, - "end": 2438, + "start": 3508, + "end": 3520, "loc": { "start": { - "line": 129, + "line": 184, "column": 10 }, "end": { - "line": 129, + "line": 184, "column": 22 } }, @@ -6284,29 +8652,29 @@ }, { "type": "JSXAttribute", - "start": 2446, - "end": 2475, + "start": 3528, + "end": 3557, "loc": { "start": { - "line": 130, + "line": 185, "column": 6 }, "end": { - "line": 130, + "line": 185, "column": 35 } }, "name": { "type": "JSXIdentifier", - "start": 2446, - "end": 2451, + "start": 3528, + "end": 3533, "loc": { "start": { - "line": 130, + "line": 185, "column": 6 }, "end": { - "line": 130, + "line": 185, "column": 11 } }, @@ -6314,29 +8682,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 2452, - "end": 2475, + "start": 3534, + "end": 3557, "loc": { "start": { - "line": 130, + "line": 185, "column": 12 }, "end": { - "line": 130, + "line": 185, "column": 35 } }, "expression": { "type": "StringLiteral", - "start": 2453, - "end": 2474, + "start": 3535, + "end": 3556, "loc": { "start": { - "line": 130, + "line": 185, "column": 13 }, "end": { - "line": 130, + "line": 185, "column": 34 } }, @@ -6350,29 +8718,29 @@ }, { "type": "JSXAttribute", - "start": 2482, - "end": 2496, + "start": 3564, + "end": 3578, "loc": { "start": { - "line": 131, + "line": 186, "column": 6 }, "end": { - "line": 131, + "line": 186, "column": 20 } }, "name": { "type": "JSXIdentifier", - "start": 2482, - "end": 2486, + "start": 3564, + "end": 3568, "loc": { "start": { - "line": 131, + "line": 186, "column": 6 }, "end": { - "line": 131, + "line": 186, "column": 10 } }, @@ -6380,29 +8748,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 2487, - "end": 2496, + "start": 3569, + "end": 3578, "loc": { "start": { - "line": 131, + "line": 186, "column": 11 }, "end": { - "line": 131, + "line": 186, "column": 20 } }, "expression": { "type": "StringLiteral", - "start": 2488, - "end": 2495, + "start": 3570, + "end": 3577, "loc": { "start": { - "line": 131, + "line": 186, "column": 12 }, "end": { - "line": 131, + "line": 186, "column": 19 } }, @@ -6416,29 +8784,29 @@ }, { "type": "JSXAttribute", - "start": 2503, - "end": 2520, + "start": 3585, + "end": 3602, "loc": { "start": { - "line": 132, + "line": 187, "column": 6 }, "end": { - "line": 132, + "line": 187, "column": 23 } }, "name": { "type": "JSXIdentifier", - "start": 2503, - "end": 2513, + "start": 3585, + "end": 3595, "loc": { "start": { - "line": 132, + "line": 187, "column": 6 }, "end": { - "line": 132, + "line": 187, "column": 16 } }, @@ -6446,29 +8814,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 2514, - "end": 2520, + "start": 3596, + "end": 3602, "loc": { "start": { - "line": 132, + "line": 187, "column": 17 }, "end": { - "line": 132, + "line": 187, "column": 23 } }, "expression": { "type": "BooleanLiteral", - "start": 2515, - "end": 2519, + "start": 3597, + "end": 3601, "loc": { "start": { - "line": 132, + "line": 187, "column": 18 }, "end": { - "line": 132, + "line": 187, "column": 22 } }, @@ -6478,29 +8846,29 @@ }, { "type": "JSXAttribute", - "start": 2527, - "end": 2545, + "start": 3609, + "end": 3627, "loc": { "start": { - "line": 133, + "line": 188, "column": 6 }, "end": { - "line": 133, + "line": 188, "column": 24 } }, "name": { "type": "JSXIdentifier", - "start": 2527, - "end": 2532, + "start": 3609, + "end": 3614, "loc": { "start": { - "line": 133, + "line": 188, "column": 6 }, "end": { - "line": 133, + "line": 188, "column": 11 } }, @@ -6508,43 +8876,43 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 2533, - "end": 2545, + "start": 3615, + "end": 3627, "loc": { "start": { - "line": 133, + "line": 188, "column": 12 }, "end": { - "line": 133, + "line": 188, "column": 24 } }, "expression": { "type": "MemberExpression", - "start": 2534, - "end": 2544, + "start": 3616, + "end": 3626, "loc": { "start": { - "line": 133, + "line": 188, "column": 13 }, "end": { - "line": 133, + "line": 188, "column": 23 } }, "object": { "type": "Identifier", - "start": 2534, - "end": 2540, + "start": 3616, + "end": 3622, "loc": { "start": { - "line": 133, + "line": 188, "column": 13 }, "end": { - "line": 133, + "line": 188, "column": 19 }, "identifierName": "values" @@ -6553,15 +8921,15 @@ }, "property": { "type": "Identifier", - "start": 2541, - "end": 2544, + "start": 3623, + "end": 3626, "loc": { "start": { - "line": 133, + "line": 188, "column": 20 }, "end": { - "line": 133, + "line": 188, "column": 23 }, "identifierName": "one" @@ -6574,29 +8942,29 @@ }, { "type": "JSXAttribute", - "start": 2552, - "end": 2619, + "start": 3634, + "end": 3701, "loc": { "start": { - "line": 134, + "line": 189, "column": 6 }, "end": { - "line": 136, + "line": 191, "column": 8 } }, "name": { "type": "JSXIdentifier", - "start": 2552, - "end": 2565, + "start": 3634, + "end": 3647, "loc": { "start": { - "line": 134, + "line": 189, "column": 6 }, "end": { - "line": 134, + "line": 189, "column": 19 } }, @@ -6604,29 +8972,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 2566, - "end": 2619, + "start": 3648, + "end": 3701, "loc": { "start": { - "line": 134, + "line": 189, "column": 20 }, "end": { - "line": 136, + "line": 191, "column": 8 } }, "expression": { "type": "ArrowFunctionExpression", - "start": 2567, - "end": 2618, + "start": 3649, + "end": 3700, "loc": { "start": { - "line": 134, + "line": 189, "column": 21 }, "end": { - "line": 136, + "line": 191, "column": 7 } }, @@ -6637,15 +9005,15 @@ "params": [ { "type": "Identifier", - "start": 2568, - "end": 2576, + "start": 3650, + "end": 3658, "loc": { "start": { - "line": 134, + "line": 189, "column": 22 }, "end": { - "line": 134, + "line": 189, "column": 30 }, "identifierName": "newValue" @@ -6655,73 +9023,73 @@ ], "body": { "type": "BlockStatement", - "start": 2581, - "end": 2618, + "start": 3663, + "end": 3700, "loc": { "start": { - "line": 134, + "line": 189, "column": 35 }, "end": { - "line": 136, + "line": 191, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 2590, - "end": 2610, + "start": 3672, + "end": 3692, "loc": { "start": { - "line": 135, + "line": 190, "column": 7 }, "end": { - "line": 135, + "line": 190, "column": 27 } }, "expression": { "type": "AssignmentExpression", - "start": 2590, - "end": 2609, + "start": 3672, + "end": 3691, "loc": { "start": { - "line": 135, + "line": 190, "column": 7 }, "end": { - "line": 135, + "line": 190, "column": 26 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 2590, - "end": 2600, + "start": 3672, + "end": 3682, "loc": { "start": { - "line": 135, + "line": 190, "column": 7 }, "end": { - "line": 135, + "line": 190, "column": 17 } }, "object": { "type": "Identifier", - "start": 2590, - "end": 2596, + "start": 3672, + "end": 3678, "loc": { "start": { - "line": 135, + "line": 190, "column": 7 }, "end": { - "line": 135, + "line": 190, "column": 13 }, "identifierName": "values" @@ -6730,15 +9098,15 @@ }, "property": { "type": "Identifier", - "start": 2597, - "end": 2600, + "start": 3679, + "end": 3682, "loc": { "start": { - "line": 135, + "line": 190, "column": 14 }, "end": { - "line": 135, + "line": 190, "column": 17 }, "identifierName": "one" @@ -6749,15 +9117,15 @@ }, "right": { "type": "Identifier", - "start": 2601, - "end": 2609, + "start": 3683, + "end": 3691, "loc": { "start": { - "line": 135, + "line": 190, "column": 18 }, "end": { - "line": 135, + "line": 190, "column": 26 }, "identifierName": "newValue" @@ -6775,15 +9143,15 @@ ], "name": { "type": "JSXIdentifier", - "start": 2405, - "end": 2415, + "start": 3487, + "end": 3497, "loc": { "start": { - "line": 128, + "line": 183, "column": 6 }, "end": { - "line": 128, + "line": 183, "column": 16 } }, @@ -6796,15 +9164,15 @@ }, { "type": "JSXText", - "start": 2627, - "end": 2634, + "start": 3709, + "end": 3716, "loc": { "start": { - "line": 137, + "line": 192, "column": 7 }, "end": { - "line": 139, + "line": 194, "column": 5 } }, @@ -6813,58 +9181,58 @@ }, { "type": "JSXElement", - "start": 2634, - "end": 2861, + "start": 3716, + "end": 3943, "loc": { "start": { - "line": 139, + "line": 194, "column": 5 }, "end": { - "line": 148, + "line": 203, "column": 7 } }, "openingElement": { "type": "JSXOpeningElement", - "start": 2634, - "end": 2861, + "start": 3716, + "end": 3943, "loc": { "start": { - "line": 139, + "line": 194, "column": 5 }, "end": { - "line": 148, + "line": 203, "column": 7 } }, "attributes": [ { "type": "JSXAttribute", - "start": 2652, - "end": 2669, + "start": 3734, + "end": 3751, "loc": { "start": { - "line": 140, + "line": 195, "column": 6 }, "end": { - "line": 140, + "line": 195, "column": 23 } }, "name": { "type": "JSXIdentifier", - "start": 2652, - "end": 2654, + "start": 3734, + "end": 3736, "loc": { "start": { - "line": 140, + "line": 195, "column": 6 }, "end": { - "line": 140, + "line": 195, "column": 8 } }, @@ -6872,29 +9240,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 2655, - "end": 2669, + "start": 3737, + "end": 3751, "loc": { "start": { - "line": 140, + "line": 195, "column": 9 }, "end": { - "line": 140, + "line": 195, "column": 23 } }, "expression": { "type": "StringLiteral", - "start": 2656, - "end": 2668, + "start": 3738, + "end": 3750, "loc": { "start": { - "line": 140, + "line": 195, "column": 10 }, "end": { - "line": 140, + "line": 195, "column": 22 } }, @@ -6908,29 +9276,29 @@ }, { "type": "JSXAttribute", - "start": 2676, - "end": 2709, + "start": 3758, + "end": 3791, "loc": { "start": { - "line": 141, + "line": 196, "column": 6 }, "end": { - "line": 141, + "line": 196, "column": 39 } }, "name": { "type": "JSXIdentifier", - "start": 2676, - "end": 2681, + "start": 3758, + "end": 3763, "loc": { "start": { - "line": 141, + "line": 196, "column": 6 }, "end": { - "line": 141, + "line": 196, "column": 11 } }, @@ -6938,29 +9306,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 2682, - "end": 2709, + "start": 3764, + "end": 3791, "loc": { "start": { - "line": 141, + "line": 196, "column": 12 }, "end": { - "line": 141, + "line": 196, "column": 39 } }, "expression": { "type": "StringLiteral", - "start": 2683, - "end": 2708, + "start": 3765, + "end": 3790, "loc": { "start": { - "line": 141, + "line": 196, "column": 13 }, "end": { - "line": 141, + "line": 196, "column": 38 } }, @@ -6974,29 +9342,29 @@ }, { "type": "JSXAttribute", - "start": 2716, - "end": 2730, + "start": 3798, + "end": 3812, "loc": { "start": { - "line": 142, + "line": 197, "column": 6 }, "end": { - "line": 142, + "line": 197, "column": 20 } }, "name": { "type": "JSXIdentifier", - "start": 2716, - "end": 2720, + "start": 3798, + "end": 3802, "loc": { "start": { - "line": 142, + "line": 197, "column": 6 }, "end": { - "line": 142, + "line": 197, "column": 10 } }, @@ -7004,29 +9372,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 2721, - "end": 2730, + "start": 3803, + "end": 3812, "loc": { "start": { - "line": 142, + "line": 197, "column": 11 }, "end": { - "line": 142, + "line": 197, "column": 20 } }, "expression": { "type": "StringLiteral", - "start": 2722, - "end": 2729, + "start": 3804, + "end": 3811, "loc": { "start": { - "line": 142, + "line": 197, "column": 12 }, "end": { - "line": 142, + "line": 197, "column": 19 } }, @@ -7040,29 +9408,29 @@ }, { "type": "JSXAttribute", - "start": 2737, - "end": 2754, + "start": 3819, + "end": 3836, "loc": { "start": { - "line": 143, + "line": 198, "column": 6 }, "end": { - "line": 143, + "line": 198, "column": 23 } }, "name": { "type": "JSXIdentifier", - "start": 2737, - "end": 2747, + "start": 3819, + "end": 3829, "loc": { "start": { - "line": 143, + "line": 198, "column": 6 }, "end": { - "line": 143, + "line": 198, "column": 16 } }, @@ -7070,29 +9438,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 2748, - "end": 2754, + "start": 3830, + "end": 3836, "loc": { "start": { - "line": 143, + "line": 198, "column": 17 }, "end": { - "line": 143, + "line": 198, "column": 23 } }, "expression": { "type": "BooleanLiteral", - "start": 2749, - "end": 2753, + "start": 3831, + "end": 3835, "loc": { "start": { - "line": 143, + "line": 198, "column": 18 }, "end": { - "line": 143, + "line": 198, "column": 22 } }, @@ -7102,29 +9470,29 @@ }, { "type": "JSXAttribute", - "start": 2761, - "end": 2779, + "start": 3843, + "end": 3861, "loc": { "start": { - "line": 144, + "line": 199, "column": 6 }, "end": { - "line": 144, + "line": 199, "column": 24 } }, "name": { "type": "JSXIdentifier", - "start": 2761, - "end": 2766, + "start": 3843, + "end": 3848, "loc": { "start": { - "line": 144, + "line": 199, "column": 6 }, "end": { - "line": 144, + "line": 199, "column": 11 } }, @@ -7132,43 +9500,43 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 2767, - "end": 2779, + "start": 3849, + "end": 3861, "loc": { "start": { - "line": 144, + "line": 199, "column": 12 }, "end": { - "line": 144, + "line": 199, "column": 24 } }, "expression": { "type": "MemberExpression", - "start": 2768, - "end": 2778, + "start": 3850, + "end": 3860, "loc": { "start": { - "line": 144, + "line": 199, "column": 13 }, "end": { - "line": 144, + "line": 199, "column": 23 } }, "object": { "type": "Identifier", - "start": 2768, - "end": 2774, + "start": 3850, + "end": 3856, "loc": { "start": { - "line": 144, + "line": 199, "column": 13 }, "end": { - "line": 144, + "line": 199, "column": 19 }, "identifierName": "values" @@ -7177,15 +9545,15 @@ }, "property": { "type": "Identifier", - "start": 2775, - "end": 2778, + "start": 3857, + "end": 3860, "loc": { "start": { - "line": 144, + "line": 199, "column": 20 }, "end": { - "line": 144, + "line": 199, "column": 23 }, "identifierName": "two" @@ -7198,29 +9566,29 @@ }, { "type": "JSXAttribute", - "start": 2786, - "end": 2853, + "start": 3868, + "end": 3935, "loc": { "start": { - "line": 145, + "line": 200, "column": 6 }, "end": { - "line": 147, + "line": 202, "column": 8 } }, "name": { "type": "JSXIdentifier", - "start": 2786, - "end": 2799, + "start": 3868, + "end": 3881, "loc": { "start": { - "line": 145, + "line": 200, "column": 6 }, "end": { - "line": 145, + "line": 200, "column": 19 } }, @@ -7228,29 +9596,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 2800, - "end": 2853, + "start": 3882, + "end": 3935, "loc": { "start": { - "line": 145, + "line": 200, "column": 20 }, "end": { - "line": 147, + "line": 202, "column": 8 } }, "expression": { "type": "ArrowFunctionExpression", - "start": 2801, - "end": 2852, + "start": 3883, + "end": 3934, "loc": { "start": { - "line": 145, + "line": 200, "column": 21 }, "end": { - "line": 147, + "line": 202, "column": 7 } }, @@ -7261,15 +9629,15 @@ "params": [ { "type": "Identifier", - "start": 2802, - "end": 2810, + "start": 3884, + "end": 3892, "loc": { "start": { - "line": 145, + "line": 200, "column": 22 }, "end": { - "line": 145, + "line": 200, "column": 30 }, "identifierName": "newValue" @@ -7279,73 +9647,73 @@ ], "body": { "type": "BlockStatement", - "start": 2815, - "end": 2852, + "start": 3897, + "end": 3934, "loc": { "start": { - "line": 145, + "line": 200, "column": 35 }, "end": { - "line": 147, + "line": 202, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 2824, - "end": 2844, + "start": 3906, + "end": 3926, "loc": { "start": { - "line": 146, + "line": 201, "column": 7 }, "end": { - "line": 146, + "line": 201, "column": 27 } }, "expression": { "type": "AssignmentExpression", - "start": 2824, - "end": 2843, + "start": 3906, + "end": 3925, "loc": { "start": { - "line": 146, + "line": 201, "column": 7 }, "end": { - "line": 146, + "line": 201, "column": 26 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 2824, - "end": 2834, + "start": 3906, + "end": 3916, "loc": { "start": { - "line": 146, + "line": 201, "column": 7 }, "end": { - "line": 146, + "line": 201, "column": 17 } }, "object": { "type": "Identifier", - "start": 2824, - "end": 2830, + "start": 3906, + "end": 3912, "loc": { "start": { - "line": 146, + "line": 201, "column": 7 }, "end": { - "line": 146, + "line": 201, "column": 13 }, "identifierName": "values" @@ -7354,15 +9722,15 @@ }, "property": { "type": "Identifier", - "start": 2831, - "end": 2834, + "start": 3913, + "end": 3916, "loc": { "start": { - "line": 146, + "line": 201, "column": 14 }, "end": { - "line": 146, + "line": 201, "column": 17 }, "identifierName": "two" @@ -7373,15 +9741,15 @@ }, "right": { "type": "Identifier", - "start": 2835, - "end": 2843, + "start": 3917, + "end": 3925, "loc": { "start": { - "line": 146, + "line": 201, "column": 18 }, "end": { - "line": 146, + "line": 201, "column": 26 }, "identifierName": "newValue" @@ -7399,15 +9767,15 @@ ], "name": { "type": "JSXIdentifier", - "start": 2635, - "end": 2645, + "start": 3717, + "end": 3727, "loc": { "start": { - "line": 139, + "line": 194, "column": 6 }, "end": { - "line": 139, + "line": 194, "column": 16 } }, @@ -7420,15 +9788,15 @@ }, { "type": "JSXText", - "start": 2861, - "end": 2868, + "start": 3943, + "end": 3950, "loc": { "start": { - "line": 148, + "line": 203, "column": 7 }, "end": { - "line": 150, + "line": 205, "column": 5 } }, @@ -7437,58 +9805,58 @@ }, { "type": "JSXElement", - "start": 2868, - "end": 3142, + "start": 3950, + "end": 4224, "loc": { "start": { - "line": 150, + "line": 205, "column": 5 }, "end": { - "line": 160, + "line": 215, "column": 7 } }, "openingElement": { "type": "JSXOpeningElement", - "start": 2868, - "end": 3142, + "start": 3950, + "end": 4224, "loc": { "start": { - "line": 150, + "line": 205, "column": 5 }, "end": { - "line": 160, + "line": 215, "column": 7 } }, "attributes": [ { "type": "JSXAttribute", - "start": 2886, - "end": 2903, + "start": 3968, + "end": 3985, "loc": { "start": { - "line": 151, + "line": 206, "column": 6 }, "end": { - "line": 151, + "line": 206, "column": 23 } }, "name": { "type": "JSXIdentifier", - "start": 2886, - "end": 2888, + "start": 3968, + "end": 3970, "loc": { "start": { - "line": 151, + "line": 206, "column": 6 }, "end": { - "line": 151, + "line": 206, "column": 8 } }, @@ -7496,29 +9864,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 2889, - "end": 2903, + "start": 3971, + "end": 3985, "loc": { "start": { - "line": 151, + "line": 206, "column": 9 }, "end": { - "line": 151, + "line": 206, "column": 23 } }, "expression": { "type": "StringLiteral", - "start": 2890, - "end": 2902, + "start": 3972, + "end": 3984, "loc": { "start": { - "line": 151, + "line": 206, "column": 10 }, "end": { - "line": 151, + "line": 206, "column": 22 } }, @@ -7532,29 +9900,29 @@ }, { "type": "JSXAttribute", - "start": 2910, - "end": 2934, + "start": 3992, + "end": 4016, "loc": { "start": { - "line": 152, + "line": 207, "column": 6 }, "end": { - "line": 152, + "line": 207, "column": 30 } }, "name": { "type": "JSXIdentifier", - "start": 2910, - "end": 2915, + "start": 3992, + "end": 3997, "loc": { "start": { - "line": 152, + "line": 207, "column": 6 }, "end": { - "line": 152, + "line": 207, "column": 11 } }, @@ -7562,29 +9930,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 2916, - "end": 2934, + "start": 3998, + "end": 4016, "loc": { "start": { - "line": 152, + "line": 207, "column": 12 }, "end": { - "line": 152, + "line": 207, "column": 30 } }, "expression": { "type": "StringLiteral", - "start": 2917, - "end": 2933, + "start": 3999, + "end": 4015, "loc": { "start": { - "line": 152, + "line": 207, "column": 13 }, "end": { - "line": 152, + "line": 207, "column": 29 } }, @@ -7598,29 +9966,29 @@ }, { "type": "JSXAttribute", - "start": 2941, - "end": 2955, + "start": 4023, + "end": 4037, "loc": { "start": { - "line": 153, + "line": 208, "column": 6 }, "end": { - "line": 153, + "line": 208, "column": 20 } }, "name": { "type": "JSXIdentifier", - "start": 2941, - "end": 2945, + "start": 4023, + "end": 4027, "loc": { "start": { - "line": 153, + "line": 208, "column": 6 }, "end": { - "line": 153, + "line": 208, "column": 10 } }, @@ -7628,29 +9996,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 2946, - "end": 2955, + "start": 4028, + "end": 4037, "loc": { "start": { - "line": 153, + "line": 208, "column": 11 }, "end": { - "line": 153, + "line": 208, "column": 20 } }, "expression": { "type": "StringLiteral", - "start": 2947, - "end": 2954, + "start": 4029, + "end": 4036, "loc": { "start": { - "line": 153, + "line": 208, "column": 12 }, "end": { - "line": 153, + "line": 208, "column": 19 } }, @@ -7664,29 +10032,29 @@ }, { "type": "JSXAttribute", - "start": 2962, - "end": 2979, + "start": 4044, + "end": 4061, "loc": { "start": { - "line": 154, + "line": 209, "column": 6 }, "end": { - "line": 154, + "line": 209, "column": 23 } }, "name": { "type": "JSXIdentifier", - "start": 2962, - "end": 2972, + "start": 4044, + "end": 4054, "loc": { "start": { - "line": 154, + "line": 209, "column": 6 }, "end": { - "line": 154, + "line": 209, "column": 16 } }, @@ -7694,29 +10062,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 2973, - "end": 2979, + "start": 4055, + "end": 4061, "loc": { "start": { - "line": 154, + "line": 209, "column": 17 }, "end": { - "line": 154, + "line": 209, "column": 23 } }, "expression": { "type": "BooleanLiteral", - "start": 2974, - "end": 2978, + "start": 4056, + "end": 4060, "loc": { "start": { - "line": 154, + "line": 209, "column": 18 }, "end": { - "line": 154, + "line": 209, "column": 22 } }, @@ -7726,29 +10094,29 @@ }, { "type": "JSXAttribute", - "start": 2986, - "end": 3032, + "start": 4068, + "end": 4114, "loc": { "start": { - "line": 155, + "line": 210, "column": 6 }, "end": { - "line": 155, + "line": 210, "column": 52 } }, "name": { "type": "JSXIdentifier", - "start": 2986, - "end": 2990, + "start": 4068, + "end": 4072, "loc": { "start": { - "line": 155, + "line": 210, "column": 6 }, "end": { - "line": 155, + "line": 210, "column": 10 } }, @@ -7756,29 +10124,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 2991, - "end": 3032, + "start": 4073, + "end": 4114, "loc": { "start": { - "line": 155, + "line": 210, "column": 11 }, "end": { - "line": 155, + "line": 210, "column": 52 } }, "expression": { "type": "StringLiteral", - "start": 2992, - "end": 3031, + "start": 4074, + "end": 4113, "loc": { "start": { - "line": 155, + "line": 210, "column": 12 }, "end": { - "line": 155, + "line": 210, "column": 51 } }, @@ -7792,29 +10160,29 @@ }, { "type": "JSXAttribute", - "start": 3039, - "end": 3058, + "start": 4121, + "end": 4140, "loc": { "start": { - "line": 156, + "line": 211, "column": 6 }, "end": { - "line": 156, + "line": 211, "column": 25 } }, "name": { "type": "JSXIdentifier", - "start": 3039, - "end": 3044, + "start": 4121, + "end": 4126, "loc": { "start": { - "line": 156, + "line": 211, "column": 6 }, "end": { - "line": 156, + "line": 211, "column": 11 } }, @@ -7822,43 +10190,43 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 3045, - "end": 3058, + "start": 4127, + "end": 4140, "loc": { "start": { - "line": 156, + "line": 211, "column": 12 }, "end": { - "line": 156, + "line": 211, "column": 25 } }, "expression": { "type": "MemberExpression", - "start": 3046, - "end": 3057, + "start": 4128, + "end": 4139, "loc": { "start": { - "line": 156, + "line": 211, "column": 13 }, "end": { - "line": 156, + "line": 211, "column": 24 } }, "object": { "type": "Identifier", - "start": 3046, - "end": 3052, + "start": 4128, + "end": 4134, "loc": { "start": { - "line": 156, + "line": 211, "column": 13 }, "end": { - "line": 156, + "line": 211, "column": 19 }, "identifierName": "values" @@ -7867,15 +10235,15 @@ }, "property": { "type": "Identifier", - "start": 3053, - "end": 3057, + "start": 4135, + "end": 4139, "loc": { "start": { - "line": 156, + "line": 211, "column": 20 }, "end": { - "line": 156, + "line": 211, "column": 24 }, "identifierName": "thre" @@ -7888,29 +10256,29 @@ }, { "type": "JSXAttribute", - "start": 3065, - "end": 3134, + "start": 4147, + "end": 4216, "loc": { "start": { - "line": 157, + "line": 212, "column": 6 }, "end": { - "line": 159, + "line": 214, "column": 8 } }, "name": { "type": "JSXIdentifier", - "start": 3065, - "end": 3078, + "start": 4147, + "end": 4160, "loc": { "start": { - "line": 157, + "line": 212, "column": 6 }, "end": { - "line": 157, + "line": 212, "column": 19 } }, @@ -7918,29 +10286,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 3079, - "end": 3134, + "start": 4161, + "end": 4216, "loc": { "start": { - "line": 157, + "line": 212, "column": 20 }, "end": { - "line": 159, + "line": 214, "column": 8 } }, "expression": { "type": "ArrowFunctionExpression", - "start": 3080, - "end": 3133, + "start": 4162, + "end": 4215, "loc": { "start": { - "line": 157, + "line": 212, "column": 21 }, "end": { - "line": 159, + "line": 214, "column": 7 } }, @@ -7951,15 +10319,15 @@ "params": [ { "type": "Identifier", - "start": 3081, - "end": 3089, + "start": 4163, + "end": 4171, "loc": { "start": { - "line": 157, + "line": 212, "column": 22 }, "end": { - "line": 157, + "line": 212, "column": 30 }, "identifierName": "newValue" @@ -7969,73 +10337,73 @@ ], "body": { "type": "BlockStatement", - "start": 3094, - "end": 3133, + "start": 4176, + "end": 4215, "loc": { "start": { - "line": 157, + "line": 212, "column": 35 }, "end": { - "line": 159, + "line": 214, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 3103, - "end": 3125, + "start": 4185, + "end": 4207, "loc": { "start": { - "line": 158, + "line": 213, "column": 7 }, "end": { - "line": 158, + "line": 213, "column": 29 } }, "expression": { "type": "AssignmentExpression", - "start": 3103, - "end": 3124, + "start": 4185, + "end": 4206, "loc": { "start": { - "line": 158, + "line": 213, "column": 7 }, "end": { - "line": 158, + "line": 213, "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 3103, - "end": 3115, + "start": 4185, + "end": 4197, "loc": { "start": { - "line": 158, + "line": 213, "column": 7 }, "end": { - "line": 158, + "line": 213, "column": 19 } }, "object": { "type": "Identifier", - "start": 3103, - "end": 3109, + "start": 4185, + "end": 4191, "loc": { "start": { - "line": 158, + "line": 213, "column": 7 }, "end": { - "line": 158, + "line": 213, "column": 13 }, "identifierName": "values" @@ -8044,15 +10412,15 @@ }, "property": { "type": "Identifier", - "start": 3110, - "end": 3115, + "start": 4192, + "end": 4197, "loc": { "start": { - "line": 158, + "line": 213, "column": 14 }, "end": { - "line": 158, + "line": 213, "column": 19 }, "identifierName": "three" @@ -8063,15 +10431,15 @@ }, "right": { "type": "Identifier", - "start": 3116, - "end": 3124, + "start": 4198, + "end": 4206, "loc": { "start": { - "line": 158, + "line": 213, "column": 20 }, "end": { - "line": 158, + "line": 213, "column": 28 }, "identifierName": "newValue" @@ -8089,15 +10457,15 @@ ], "name": { "type": "JSXIdentifier", - "start": 2869, - "end": 2879, + "start": 3951, + "end": 3961, "loc": { "start": { - "line": 150, + "line": 205, "column": 6 }, "end": { - "line": 150, + "line": 205, "column": 16 } }, @@ -8110,15 +10478,15 @@ }, { "type": "JSXText", - "start": 3142, - "end": 3149, + "start": 4224, + "end": 4231, "loc": { "start": { - "line": 160, + "line": 215, "column": 7 }, "end": { - "line": 162, + "line": 217, "column": 5 } }, @@ -8127,58 +10495,58 @@ }, { "type": "JSXElement", - "start": 3149, - "end": 3406, + "start": 4231, + "end": 4488, "loc": { "start": { - "line": 162, + "line": 217, "column": 5 }, "end": { - "line": 172, + "line": 227, "column": 7 } }, "openingElement": { "type": "JSXOpeningElement", - "start": 3149, - "end": 3406, + "start": 4231, + "end": 4488, "loc": { "start": { - "line": 162, + "line": 217, "column": 5 }, "end": { - "line": 172, + "line": 227, "column": 7 } }, "attributes": [ { "type": "JSXAttribute", - "start": 3167, - "end": 3184, + "start": 4249, + "end": 4266, "loc": { "start": { - "line": 163, + "line": 218, "column": 6 }, "end": { - "line": 163, + "line": 218, "column": 23 } }, "name": { "type": "JSXIdentifier", - "start": 3167, - "end": 3169, + "start": 4249, + "end": 4251, "loc": { "start": { - "line": 163, + "line": 218, "column": 6 }, "end": { - "line": 163, + "line": 218, "column": 8 } }, @@ -8186,29 +10554,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 3170, - "end": 3184, + "start": 4252, + "end": 4266, "loc": { "start": { - "line": 163, + "line": 218, "column": 9 }, "end": { - "line": 163, + "line": 218, "column": 23 } }, "expression": { "type": "StringLiteral", - "start": 3171, - "end": 3183, + "start": 4253, + "end": 4265, "loc": { "start": { - "line": 163, + "line": 218, "column": 10 }, "end": { - "line": 163, + "line": 218, "column": 22 } }, @@ -8222,29 +10590,29 @@ }, { "type": "JSXAttribute", - "start": 3191, - "end": 3227, + "start": 4273, + "end": 4309, "loc": { "start": { - "line": 164, + "line": 219, "column": 6 }, "end": { - "line": 164, + "line": 219, "column": 42 } }, "name": { "type": "JSXIdentifier", - "start": 3191, - "end": 3196, + "start": 4273, + "end": 4278, "loc": { "start": { - "line": 164, + "line": 219, "column": 6 }, "end": { - "line": 164, + "line": 219, "column": 11 } }, @@ -8252,29 +10620,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 3197, - "end": 3227, + "start": 4279, + "end": 4309, "loc": { "start": { - "line": 164, + "line": 219, "column": 12 }, "end": { - "line": 164, + "line": 219, "column": 42 } }, "expression": { "type": "StringLiteral", - "start": 3198, - "end": 3226, + "start": 4280, + "end": 4308, "loc": { "start": { - "line": 164, + "line": 219, "column": 13 }, "end": { - "line": 164, + "line": 219, "column": 41 } }, @@ -8288,29 +10656,29 @@ }, { "type": "JSXAttribute", - "start": 3234, - "end": 3248, + "start": 4316, + "end": 4330, "loc": { "start": { - "line": 165, + "line": 220, "column": 6 }, "end": { - "line": 165, + "line": 220, "column": 20 } }, "name": { "type": "JSXIdentifier", - "start": 3234, - "end": 3238, + "start": 4316, + "end": 4320, "loc": { "start": { - "line": 165, + "line": 220, "column": 6 }, "end": { - "line": 165, + "line": 220, "column": 10 } }, @@ -8318,29 +10686,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 3239, - "end": 3248, + "start": 4321, + "end": 4330, "loc": { "start": { - "line": 165, + "line": 220, "column": 11 }, "end": { - "line": 165, + "line": 220, "column": 20 } }, "expression": { "type": "StringLiteral", - "start": 3240, - "end": 3247, + "start": 4322, + "end": 4329, "loc": { "start": { - "line": 165, + "line": 220, "column": 12 }, "end": { - "line": 165, + "line": 220, "column": 19 } }, @@ -8354,29 +10722,29 @@ }, { "type": "JSXAttribute", - "start": 3255, - "end": 3275, + "start": 4337, + "end": 4357, "loc": { "start": { - "line": 166, + "line": 221, "column": 6 }, "end": { - "line": 166, + "line": 221, "column": 26 } }, "name": { "type": "JSXIdentifier", - "start": 3255, - "end": 3264, + "start": 4337, + "end": 4346, "loc": { "start": { - "line": 166, + "line": 221, "column": 6 }, "end": { - "line": 166, + "line": 221, "column": 15 } }, @@ -8384,29 +10752,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 3265, - "end": 3275, + "start": 4347, + "end": 4357, "loc": { "start": { - "line": 166, + "line": 221, "column": 16 }, "end": { - "line": 166, + "line": 221, "column": 26 } }, "expression": { "type": "StringLiteral", - "start": 3266, - "end": 3274, + "start": 4348, + "end": 4356, "loc": { "start": { - "line": 166, + "line": 221, "column": 17 }, "end": { - "line": 166, + "line": 221, "column": 25 } }, @@ -8420,29 +10788,29 @@ }, { "type": "JSXAttribute", - "start": 3282, - "end": 3299, + "start": 4364, + "end": 4381, "loc": { "start": { - "line": 167, + "line": 222, "column": 6 }, "end": { - "line": 167, + "line": 222, "column": 23 } }, "name": { "type": "JSXIdentifier", - "start": 3282, - "end": 3292, + "start": 4364, + "end": 4374, "loc": { "start": { - "line": 167, + "line": 222, "column": 6 }, "end": { - "line": 167, + "line": 222, "column": 16 } }, @@ -8450,29 +10818,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 3293, - "end": 3299, + "start": 4375, + "end": 4381, "loc": { "start": { - "line": 167, + "line": 222, "column": 17 }, "end": { - "line": 167, + "line": 222, "column": 23 } }, "expression": { "type": "BooleanLiteral", - "start": 3294, - "end": 3298, + "start": 4376, + "end": 4380, "loc": { "start": { - "line": 167, + "line": 222, "column": 18 }, "end": { - "line": 167, + "line": 222, "column": 22 } }, @@ -8482,29 +10850,29 @@ }, { "type": "JSXAttribute", - "start": 3306, - "end": 3324, + "start": 4388, + "end": 4406, "loc": { "start": { - "line": 168, + "line": 223, "column": 6 }, "end": { - "line": 168, + "line": 223, "column": 24 } }, "name": { "type": "JSXIdentifier", - "start": 3306, - "end": 3311, + "start": 4388, + "end": 4393, "loc": { "start": { - "line": 168, + "line": 223, "column": 6 }, "end": { - "line": 168, + "line": 223, "column": 11 } }, @@ -8512,43 +10880,43 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 3312, - "end": 3324, + "start": 4394, + "end": 4406, "loc": { "start": { - "line": 168, + "line": 223, "column": 12 }, "end": { - "line": 168, + "line": 223, "column": 24 } }, "expression": { "type": "MemberExpression", - "start": 3313, - "end": 3323, + "start": 4395, + "end": 4405, "loc": { "start": { - "line": 168, + "line": 223, "column": 13 }, "end": { - "line": 168, + "line": 223, "column": 23 } }, "object": { "type": "Identifier", - "start": 3313, - "end": 3319, + "start": 4395, + "end": 4401, "loc": { "start": { - "line": 168, + "line": 223, "column": 13 }, "end": { - "line": 168, + "line": 223, "column": 19 }, "identifierName": "values" @@ -8557,15 +10925,15 @@ }, "property": { "type": "Identifier", - "start": 3320, - "end": 3323, + "start": 4402, + "end": 4405, "loc": { "start": { - "line": 168, + "line": 223, "column": 20 }, "end": { - "line": 168, + "line": 223, "column": 23 }, "identifierName": "two" @@ -8578,29 +10946,29 @@ }, { "type": "JSXAttribute", - "start": 3331, - "end": 3398, + "start": 4413, + "end": 4480, "loc": { "start": { - "line": 169, + "line": 224, "column": 6 }, "end": { - "line": 171, + "line": 226, "column": 8 } }, "name": { "type": "JSXIdentifier", - "start": 3331, - "end": 3344, + "start": 4413, + "end": 4426, "loc": { "start": { - "line": 169, + "line": 224, "column": 6 }, "end": { - "line": 169, + "line": 224, "column": 19 } }, @@ -8608,29 +10976,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 3345, - "end": 3398, + "start": 4427, + "end": 4480, "loc": { "start": { - "line": 169, + "line": 224, "column": 20 }, "end": { - "line": 171, + "line": 226, "column": 8 } }, "expression": { "type": "ArrowFunctionExpression", - "start": 3346, - "end": 3397, + "start": 4428, + "end": 4479, "loc": { "start": { - "line": 169, + "line": 224, "column": 21 }, "end": { - "line": 171, + "line": 226, "column": 7 } }, @@ -8641,15 +11009,15 @@ "params": [ { "type": "Identifier", - "start": 3347, - "end": 3355, + "start": 4429, + "end": 4437, "loc": { "start": { - "line": 169, + "line": 224, "column": 22 }, "end": { - "line": 169, + "line": 224, "column": 30 }, "identifierName": "newValue" @@ -8659,73 +11027,73 @@ ], "body": { "type": "BlockStatement", - "start": 3360, - "end": 3397, + "start": 4442, + "end": 4479, "loc": { "start": { - "line": 169, + "line": 224, "column": 35 }, "end": { - "line": 171, + "line": 226, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 3369, - "end": 3389, + "start": 4451, + "end": 4471, "loc": { "start": { - "line": 170, + "line": 225, "column": 7 }, "end": { - "line": 170, + "line": 225, "column": 27 } }, "expression": { "type": "AssignmentExpression", - "start": 3369, - "end": 3388, + "start": 4451, + "end": 4470, "loc": { "start": { - "line": 170, + "line": 225, "column": 7 }, "end": { - "line": 170, + "line": 225, "column": 26 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 3369, - "end": 3379, + "start": 4451, + "end": 4461, "loc": { "start": { - "line": 170, + "line": 225, "column": 7 }, "end": { - "line": 170, + "line": 225, "column": 17 } }, "object": { "type": "Identifier", - "start": 3369, - "end": 3375, + "start": 4451, + "end": 4457, "loc": { "start": { - "line": 170, + "line": 225, "column": 7 }, "end": { - "line": 170, + "line": 225, "column": 13 }, "identifierName": "values" @@ -8734,15 +11102,15 @@ }, "property": { "type": "Identifier", - "start": 3376, - "end": 3379, + "start": 4458, + "end": 4461, "loc": { "start": { - "line": 170, + "line": 225, "column": 14 }, "end": { - "line": 170, + "line": 225, "column": 17 }, "identifierName": "two" @@ -8753,15 +11121,15 @@ }, "right": { "type": "Identifier", - "start": 3380, - "end": 3388, + "start": 4462, + "end": 4470, "loc": { "start": { - "line": 170, + "line": 225, "column": 18 }, "end": { - "line": 170, + "line": 225, "column": 26 }, "identifierName": "newValue" @@ -8779,15 +11147,15 @@ ], "name": { "type": "JSXIdentifier", - "start": 3150, - "end": 3160, + "start": 4232, + "end": 4242, "loc": { "start": { - "line": 162, + "line": 217, "column": 6 }, "end": { - "line": 162, + "line": 217, "column": 16 } }, @@ -8800,15 +11168,15 @@ }, { "type": "JSXText", - "start": 3406, - "end": 3413, + "start": 4488, + "end": 4495, "loc": { "start": { - "line": 172, + "line": 227, "column": 7 }, "end": { - "line": 174, + "line": 229, "column": 5 } }, @@ -8817,58 +11185,58 @@ }, { "type": "JSXElement", - "start": 3413, - "end": 3783, + "start": 4495, + "end": 4865, "loc": { "start": { - "line": 174, + "line": 229, "column": 5 }, "end": { - "line": 189, + "line": 244, "column": 7 } }, "openingElement": { "type": "JSXOpeningElement", - "start": 3413, - "end": 3783, + "start": 4495, + "end": 4865, "loc": { "start": { - "line": 174, + "line": 229, "column": 5 }, "end": { - "line": 189, + "line": 244, "column": 7 } }, "attributes": [ { "type": "JSXAttribute", - "start": 3431, - "end": 3448, + "start": 4513, + "end": 4530, "loc": { "start": { - "line": 175, + "line": 230, "column": 6 }, "end": { - "line": 175, + "line": 230, "column": 23 } }, "name": { "type": "JSXIdentifier", - "start": 3431, - "end": 3433, + "start": 4513, + "end": 4515, "loc": { "start": { - "line": 175, + "line": 230, "column": 6 }, "end": { - "line": 175, + "line": 230, "column": 8 } }, @@ -8876,29 +11244,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 3434, - "end": 3448, + "start": 4516, + "end": 4530, "loc": { "start": { - "line": 175, + "line": 230, "column": 9 }, "end": { - "line": 175, + "line": 230, "column": 23 } }, "expression": { "type": "StringLiteral", - "start": 3435, - "end": 3447, + "start": 4517, + "end": 4529, "loc": { "start": { - "line": 175, + "line": 230, "column": 10 }, "end": { - "line": 175, + "line": 230, "column": 22 } }, @@ -8912,29 +11280,29 @@ }, { "type": "JSXAttribute", - "start": 3455, - "end": 3503, + "start": 4537, + "end": 4585, "loc": { "start": { - "line": 176, + "line": 231, "column": 6 }, "end": { - "line": 176, + "line": 231, "column": 54 } }, "name": { "type": "JSXIdentifier", - "start": 3455, - "end": 3460, + "start": 4537, + "end": 4542, "loc": { "start": { - "line": 176, + "line": 231, "column": 6 }, "end": { - "line": 176, + "line": 231, "column": 11 } }, @@ -8942,29 +11310,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 3461, - "end": 3503, + "start": 4543, + "end": 4585, "loc": { "start": { - "line": 176, + "line": 231, "column": 12 }, "end": { - "line": 176, + "line": 231, "column": 54 } }, "expression": { "type": "StringLiteral", - "start": 3462, - "end": 3502, + "start": 4544, + "end": 4584, "loc": { "start": { - "line": 176, + "line": 231, "column": 13 }, "end": { - "line": 176, + "line": 231, "column": 53 } }, @@ -8978,29 +11346,29 @@ }, { "type": "JSXAttribute", - "start": 3510, - "end": 3524, + "start": 4592, + "end": 4606, "loc": { "start": { - "line": 177, + "line": 232, "column": 6 }, "end": { - "line": 177, + "line": 232, "column": 20 } }, "name": { "type": "JSXIdentifier", - "start": 3510, - "end": 3514, + "start": 4592, + "end": 4596, "loc": { "start": { - "line": 177, + "line": 232, "column": 6 }, "end": { - "line": 177, + "line": 232, "column": 10 } }, @@ -9008,29 +11376,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 3515, - "end": 3524, + "start": 4597, + "end": 4606, "loc": { "start": { - "line": 177, + "line": 232, "column": 11 }, "end": { - "line": 177, + "line": 232, "column": 20 } }, "expression": { "type": "StringLiteral", - "start": 3516, - "end": 3523, + "start": 4598, + "end": 4605, "loc": { "start": { - "line": 177, + "line": 232, "column": 12 }, "end": { - "line": 177, + "line": 232, "column": 19 } }, @@ -9044,29 +11412,29 @@ }, { "type": "JSXAttribute", - "start": 3531, - "end": 3549, + "start": 4613, + "end": 4631, "loc": { "start": { - "line": 178, + "line": 233, "column": 6 }, "end": { - "line": 178, + "line": 233, "column": 24 } }, "name": { "type": "JSXIdentifier", - "start": 3531, - "end": 3540, + "start": 4613, + "end": 4622, "loc": { "start": { - "line": 178, + "line": 233, "column": 6 }, "end": { - "line": 178, + "line": 233, "column": 15 } }, @@ -9074,29 +11442,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 3541, - "end": 3549, + "start": 4623, + "end": 4631, "loc": { "start": { - "line": 178, + "line": 233, "column": 16 }, "end": { - "line": 178, + "line": 233, "column": 24 } }, "expression": { "type": "StringLiteral", - "start": 3542, - "end": 3548, + "start": 4624, + "end": 4630, "loc": { "start": { - "line": 178, + "line": 233, "column": 17 }, "end": { - "line": 178, + "line": 233, "column": 23 } }, @@ -9110,29 +11478,29 @@ }, { "type": "JSXAttribute", - "start": 3556, - "end": 3573, + "start": 4638, + "end": 4655, "loc": { "start": { - "line": 179, + "line": 234, "column": 6 }, "end": { - "line": 179, + "line": 234, "column": 23 } }, "name": { "type": "JSXIdentifier", - "start": 3556, - "end": 3566, + "start": 4638, + "end": 4648, "loc": { "start": { - "line": 179, + "line": 234, "column": 6 }, "end": { - "line": 179, + "line": 234, "column": 16 } }, @@ -9140,29 +11508,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 3567, - "end": 3573, + "start": 4649, + "end": 4655, "loc": { "start": { - "line": 179, + "line": 234, "column": 17 }, "end": { - "line": 179, + "line": 234, "column": 23 } }, "expression": { "type": "BooleanLiteral", - "start": 3568, - "end": 3572, + "start": 4650, + "end": 4654, "loc": { "start": { - "line": 179, + "line": 234, "column": 18 }, "end": { - "line": 179, + "line": 234, "column": 22 } }, @@ -9172,29 +11540,29 @@ }, { "type": "JSXAttribute", - "start": 3580, - "end": 3598, + "start": 4662, + "end": 4680, "loc": { "start": { - "line": 180, + "line": 235, "column": 6 }, "end": { - "line": 180, + "line": 235, "column": 24 } }, "name": { "type": "JSXIdentifier", - "start": 3580, - "end": 3585, + "start": 4662, + "end": 4667, "loc": { "start": { - "line": 180, + "line": 235, "column": 6 }, "end": { - "line": 180, + "line": 235, "column": 11 } }, @@ -9202,43 +11570,43 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 3586, - "end": 3598, + "start": 4668, + "end": 4680, "loc": { "start": { - "line": 180, + "line": 235, "column": 12 }, "end": { - "line": 180, + "line": 235, "column": 24 } }, "expression": { "type": "MemberExpression", - "start": 3587, - "end": 3597, + "start": 4669, + "end": 4679, "loc": { "start": { - "line": 180, + "line": 235, "column": 13 }, "end": { - "line": 180, + "line": 235, "column": 23 } }, "object": { "type": "Identifier", - "start": 3587, - "end": 3593, + "start": 4669, + "end": 4675, "loc": { "start": { - "line": 180, + "line": 235, "column": 13 }, "end": { - "line": 180, + "line": 235, "column": 19 }, "identifierName": "values" @@ -9247,15 +11615,15 @@ }, "property": { "type": "Identifier", - "start": 3594, - "end": 3597, + "start": 4676, + "end": 4679, "loc": { "start": { - "line": 180, + "line": 235, "column": 20 }, "end": { - "line": 180, + "line": 235, "column": 23 }, "identifierName": "two" @@ -9268,29 +11636,29 @@ }, { "type": "JSXAttribute", - "start": 3605, - "end": 3672, + "start": 4687, + "end": 4754, "loc": { "start": { - "line": 181, + "line": 236, "column": 6 }, "end": { - "line": 183, + "line": 238, "column": 8 } }, "name": { "type": "JSXIdentifier", - "start": 3605, - "end": 3618, + "start": 4687, + "end": 4700, "loc": { "start": { - "line": 181, + "line": 236, "column": 6 }, "end": { - "line": 181, + "line": 236, "column": 19 } }, @@ -9298,29 +11666,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 3619, - "end": 3672, + "start": 4701, + "end": 4754, "loc": { "start": { - "line": 181, + "line": 236, "column": 20 }, "end": { - "line": 183, + "line": 238, "column": 8 } }, "expression": { "type": "ArrowFunctionExpression", - "start": 3620, - "end": 3671, + "start": 4702, + "end": 4753, "loc": { "start": { - "line": 181, + "line": 236, "column": 21 }, "end": { - "line": 183, + "line": 238, "column": 7 } }, @@ -9331,15 +11699,15 @@ "params": [ { "type": "Identifier", - "start": 3621, - "end": 3629, + "start": 4703, + "end": 4711, "loc": { "start": { - "line": 181, + "line": 236, "column": 22 }, "end": { - "line": 181, + "line": 236, "column": 30 }, "identifierName": "newValue" @@ -9349,73 +11717,73 @@ ], "body": { "type": "BlockStatement", - "start": 3634, - "end": 3671, + "start": 4716, + "end": 4753, "loc": { "start": { - "line": 181, + "line": 236, "column": 35 }, "end": { - "line": 183, + "line": 238, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 3643, - "end": 3663, + "start": 4725, + "end": 4745, "loc": { "start": { - "line": 182, + "line": 237, "column": 7 }, "end": { - "line": 182, + "line": 237, "column": 27 } }, "expression": { "type": "AssignmentExpression", - "start": 3643, - "end": 3662, + "start": 4725, + "end": 4744, "loc": { "start": { - "line": 182, + "line": 237, "column": 7 }, "end": { - "line": 182, + "line": 237, "column": 26 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 3643, - "end": 3653, + "start": 4725, + "end": 4735, "loc": { "start": { - "line": 182, + "line": 237, "column": 7 }, "end": { - "line": 182, + "line": 237, "column": 17 } }, "object": { "type": "Identifier", - "start": 3643, - "end": 3649, + "start": 4725, + "end": 4731, "loc": { "start": { - "line": 182, + "line": 237, "column": 7 }, "end": { - "line": 182, + "line": 237, "column": 13 }, "identifierName": "values" @@ -9424,15 +11792,15 @@ }, "property": { "type": "Identifier", - "start": 3650, - "end": 3653, + "start": 4732, + "end": 4735, "loc": { "start": { - "line": 182, + "line": 237, "column": 14 }, "end": { - "line": 182, + "line": 237, "column": 17 }, "identifierName": "two" @@ -9443,15 +11811,15 @@ }, "right": { "type": "Identifier", - "start": 3654, - "end": 3662, + "start": 4736, + "end": 4744, "loc": { "start": { - "line": 182, + "line": 237, "column": 18 }, "end": { - "line": 182, + "line": 237, "column": 26 }, "identifierName": "newValue" @@ -9468,29 +11836,29 @@ }, { "type": "JSXAttribute", - "start": 3679, - "end": 3753, + "start": 4761, + "end": 4835, "loc": { "start": { - "line": 184, + "line": 239, "column": 6 }, "end": { - "line": 187, + "line": 242, "column": 8 } }, "name": { "type": "JSXIdentifier", - "start": 3679, - "end": 3686, + "start": 4761, + "end": 4768, "loc": { "start": { - "line": 184, + "line": 239, "column": 6 }, "end": { - "line": 184, + "line": 239, "column": 13 } }, @@ -9498,44 +11866,44 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 3687, - "end": 3753, + "start": 4769, + "end": 4835, "loc": { "start": { - "line": 184, + "line": 239, "column": 14 }, "end": { - "line": 187, + "line": 242, "column": 8 } }, "expression": { "type": "ObjectExpression", - "start": 3688, - "end": 3752, + "start": 4770, + "end": 4834, "loc": { "start": { - "line": 184, + "line": 239, "column": 15 }, "end": { - "line": 187, + "line": 242, "column": 7 } }, "properties": [ { "type": "ObjectProperty", - "start": 3697, - "end": 3724, + "start": 4779, + "end": 4806, "loc": { "start": { - "line": 185, + "line": 240, "column": 7 }, "end": { - "line": 185, + "line": 240, "column": 34 } }, @@ -9544,15 +11912,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 3697, - "end": 3704, + "start": 4779, + "end": 4786, "loc": { "start": { - "line": 185, + "line": 240, "column": 7 }, "end": { - "line": 185, + "line": 240, "column": 14 }, "identifierName": "message" @@ -9561,15 +11929,15 @@ }, "value": { "type": "StringLiteral", - "start": 3705, - "end": 3724, + "start": 4787, + "end": 4806, "loc": { "start": { - "line": 185, + "line": 240, "column": 15 }, "end": { - "line": 185, + "line": 240, "column": 34 } }, @@ -9582,15 +11950,15 @@ }, { "type": "ObjectProperty", - "start": 3733, - "end": 3744, + "start": 4815, + "end": 4826, "loc": { "start": { - "line": 186, + "line": 241, "column": 7 }, "end": { - "line": 186, + "line": 241, "column": 18 } }, @@ -9599,15 +11967,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 3733, - "end": 3738, + "start": 4815, + "end": 4820, "loc": { "start": { - "line": 186, + "line": 241, "column": 7 }, "end": { - "line": 186, + "line": 241, "column": 12 }, "identifierName": "error" @@ -9616,15 +11984,15 @@ }, "value": { "type": "BooleanLiteral", - "start": 3740, - "end": 3744, + "start": 4822, + "end": 4826, "loc": { "start": { - "line": 186, + "line": 241, "column": 14 }, "end": { - "line": 186, + "line": 241, "column": 18 } }, @@ -9637,29 +12005,29 @@ }, { "type": "JSXAttribute", - "start": 3760, - "end": 3775, + "start": 4842, + "end": 4857, "loc": { "start": { - "line": 188, + "line": 243, "column": 6 }, "end": { - "line": 188, + "line": 243, "column": 21 } }, "name": { "type": "JSXIdentifier", - "start": 3760, - "end": 3768, + "start": 4842, + "end": 4850, "loc": { "start": { - "line": 188, + "line": 243, "column": 6 }, "end": { - "line": 188, + "line": 243, "column": 14 } }, @@ -9667,29 +12035,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 3769, - "end": 3775, + "start": 4851, + "end": 4857, "loc": { "start": { - "line": 188, + "line": 243, "column": 15 }, "end": { - "line": 188, + "line": 243, "column": 21 } }, "expression": { "type": "BooleanLiteral", - "start": 3770, - "end": 3774, + "start": 4852, + "end": 4856, "loc": { "start": { - "line": 188, + "line": 243, "column": 16 }, "end": { - "line": 188, + "line": 243, "column": 20 } }, @@ -9700,15 +12068,15 @@ ], "name": { "type": "JSXIdentifier", - "start": 3414, - "end": 3424, + "start": 4496, + "end": 4506, "loc": { "start": { - "line": 174, + "line": 229, "column": 6 }, "end": { - "line": 174, + "line": 229, "column": 16 } }, @@ -9721,15 +12089,15 @@ }, { "type": "JSXText", - "start": 3783, - "end": 3790, + "start": 4865, + "end": 4872, "loc": { "start": { - "line": 189, + "line": 244, "column": 7 }, "end": { - "line": 191, + "line": 246, "column": 5 } }, @@ -9738,58 +12106,58 @@ }, { "type": "JSXElement", - "start": 3790, - "end": 4150, + "start": 4872, + "end": 5232, "loc": { "start": { - "line": 191, + "line": 246, "column": 5 }, "end": { - "line": 205, + "line": 260, "column": 7 } }, "openingElement": { "type": "JSXOpeningElement", - "start": 3790, - "end": 4150, + "start": 4872, + "end": 5232, "loc": { "start": { - "line": 191, + "line": 246, "column": 5 }, "end": { - "line": 205, + "line": 260, "column": 7 } }, "attributes": [ { "type": "JSXAttribute", - "start": 3808, - "end": 3825, + "start": 4890, + "end": 4907, "loc": { "start": { - "line": 192, + "line": 247, "column": 6 }, "end": { - "line": 192, + "line": 247, "column": 23 } }, "name": { "type": "JSXIdentifier", - "start": 3808, - "end": 3810, + "start": 4890, + "end": 4892, "loc": { "start": { - "line": 192, + "line": 247, "column": 6 }, "end": { - "line": 192, + "line": 247, "column": 8 } }, @@ -9797,29 +12165,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 3811, - "end": 3825, + "start": 4893, + "end": 4907, "loc": { "start": { - "line": 192, + "line": 247, "column": 9 }, "end": { - "line": 192, + "line": 247, "column": 23 } }, "expression": { "type": "StringLiteral", - "start": 3812, - "end": 3824, + "start": 4894, + "end": 4906, "loc": { "start": { - "line": 192, + "line": 247, "column": 10 }, "end": { - "line": 192, + "line": 247, "column": 22 } }, @@ -9833,29 +12201,29 @@ }, { "type": "JSXAttribute", - "start": 3832, - "end": 3883, + "start": 4914, + "end": 4965, "loc": { "start": { - "line": 193, + "line": 248, "column": 6 }, "end": { - "line": 193, + "line": 248, "column": 57 } }, "name": { "type": "JSXIdentifier", - "start": 3832, - "end": 3837, + "start": 4914, + "end": 4919, "loc": { "start": { - "line": 193, + "line": 248, "column": 6 }, "end": { - "line": 193, + "line": 248, "column": 11 } }, @@ -9863,29 +12231,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 3838, - "end": 3883, + "start": 4920, + "end": 4965, "loc": { "start": { - "line": 193, + "line": 248, "column": 12 }, "end": { - "line": 193, + "line": 248, "column": 57 } }, "expression": { "type": "StringLiteral", - "start": 3839, - "end": 3882, + "start": 4921, + "end": 4964, "loc": { "start": { - "line": 193, + "line": 248, "column": 13 }, "end": { - "line": 193, + "line": 248, "column": 56 } }, @@ -9899,29 +12267,29 @@ }, { "type": "JSXAttribute", - "start": 3890, - "end": 3904, + "start": 4972, + "end": 4986, "loc": { "start": { - "line": 194, + "line": 249, "column": 6 }, "end": { - "line": 194, + "line": 249, "column": 20 } }, "name": { "type": "JSXIdentifier", - "start": 3890, - "end": 3894, + "start": 4972, + "end": 4976, "loc": { "start": { - "line": 194, + "line": 249, "column": 6 }, "end": { - "line": 194, + "line": 249, "column": 10 } }, @@ -9929,29 +12297,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 3895, - "end": 3904, + "start": 4977, + "end": 4986, "loc": { "start": { - "line": 194, + "line": 249, "column": 11 }, "end": { - "line": 194, + "line": 249, "column": 20 } }, "expression": { "type": "StringLiteral", - "start": 3896, - "end": 3903, + "start": 4978, + "end": 4985, "loc": { "start": { - "line": 194, + "line": 249, "column": 12 }, "end": { - "line": 194, + "line": 249, "column": 19 } }, @@ -9965,29 +12333,29 @@ }, { "type": "JSXAttribute", - "start": 3911, - "end": 3929, + "start": 4993, + "end": 5011, "loc": { "start": { - "line": 195, + "line": 250, "column": 6 }, "end": { - "line": 195, + "line": 250, "column": 24 } }, "name": { "type": "JSXIdentifier", - "start": 3911, - "end": 3920, + "start": 4993, + "end": 5002, "loc": { "start": { - "line": 195, + "line": 250, "column": 6 }, "end": { - "line": 195, + "line": 250, "column": 15 } }, @@ -9995,29 +12363,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 3921, - "end": 3929, + "start": 5003, + "end": 5011, "loc": { "start": { - "line": 195, + "line": 250, "column": 16 }, "end": { - "line": 195, + "line": 250, "column": 24 } }, "expression": { "type": "StringLiteral", - "start": 3922, - "end": 3928, + "start": 5004, + "end": 5010, "loc": { "start": { - "line": 195, + "line": 250, "column": 17 }, "end": { - "line": 195, + "line": 250, "column": 23 } }, @@ -10031,29 +12399,29 @@ }, { "type": "JSXAttribute", - "start": 3936, - "end": 3953, + "start": 5018, + "end": 5035, "loc": { "start": { - "line": 196, + "line": 251, "column": 6 }, "end": { - "line": 196, + "line": 251, "column": 23 } }, "name": { "type": "JSXIdentifier", - "start": 3936, - "end": 3946, + "start": 5018, + "end": 5028, "loc": { "start": { - "line": 196, + "line": 251, "column": 6 }, "end": { - "line": 196, + "line": 251, "column": 16 } }, @@ -10061,29 +12429,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 3947, - "end": 3953, + "start": 5029, + "end": 5035, "loc": { "start": { - "line": 196, + "line": 251, "column": 17 }, "end": { - "line": 196, + "line": 251, "column": 23 } }, "expression": { "type": "BooleanLiteral", - "start": 3948, - "end": 3952, + "start": 5030, + "end": 5034, "loc": { "start": { - "line": 196, + "line": 251, "column": 18 }, "end": { - "line": 196, + "line": 251, "column": 22 } }, @@ -10093,29 +12461,29 @@ }, { "type": "JSXAttribute", - "start": 3960, - "end": 3978, + "start": 5042, + "end": 5060, "loc": { "start": { - "line": 197, + "line": 252, "column": 6 }, "end": { - "line": 197, + "line": 252, "column": 24 } }, "name": { "type": "JSXIdentifier", - "start": 3960, - "end": 3965, + "start": 5042, + "end": 5047, "loc": { "start": { - "line": 197, + "line": 252, "column": 6 }, "end": { - "line": 197, + "line": 252, "column": 11 } }, @@ -10123,43 +12491,43 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 3966, - "end": 3978, + "start": 5048, + "end": 5060, "loc": { "start": { - "line": 197, + "line": 252, "column": 12 }, "end": { - "line": 197, + "line": 252, "column": 24 } }, "expression": { "type": "MemberExpression", - "start": 3967, - "end": 3977, + "start": 5049, + "end": 5059, "loc": { "start": { - "line": 197, + "line": 252, "column": 13 }, "end": { - "line": 197, + "line": 252, "column": 23 } }, "object": { "type": "Identifier", - "start": 3967, - "end": 3973, + "start": 5049, + "end": 5055, "loc": { "start": { - "line": 197, + "line": 252, "column": 13 }, "end": { - "line": 197, + "line": 252, "column": 19 }, "identifierName": "values" @@ -10168,15 +12536,15 @@ }, "property": { "type": "Identifier", - "start": 3974, - "end": 3977, + "start": 5056, + "end": 5059, "loc": { "start": { - "line": 197, + "line": 252, "column": 20 }, "end": { - "line": 197, + "line": 252, "column": 23 }, "identifierName": "two" @@ -10189,29 +12557,29 @@ }, { "type": "JSXAttribute", - "start": 3985, - "end": 4052, + "start": 5067, + "end": 5134, "loc": { "start": { - "line": 198, + "line": 253, "column": 6 }, "end": { - "line": 200, + "line": 255, "column": 8 } }, "name": { "type": "JSXIdentifier", - "start": 3985, - "end": 3998, + "start": 5067, + "end": 5080, "loc": { "start": { - "line": 198, + "line": 253, "column": 6 }, "end": { - "line": 198, + "line": 253, "column": 19 } }, @@ -10219,29 +12587,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 3999, - "end": 4052, + "start": 5081, + "end": 5134, "loc": { "start": { - "line": 198, + "line": 253, "column": 20 }, "end": { - "line": 200, + "line": 255, "column": 8 } }, "expression": { "type": "ArrowFunctionExpression", - "start": 4000, - "end": 4051, + "start": 5082, + "end": 5133, "loc": { "start": { - "line": 198, + "line": 253, "column": 21 }, "end": { - "line": 200, + "line": 255, "column": 7 } }, @@ -10252,15 +12620,15 @@ "params": [ { "type": "Identifier", - "start": 4001, - "end": 4009, + "start": 5083, + "end": 5091, "loc": { "start": { - "line": 198, + "line": 253, "column": 22 }, "end": { - "line": 198, + "line": 253, "column": 30 }, "identifierName": "newValue" @@ -10270,73 +12638,73 @@ ], "body": { "type": "BlockStatement", - "start": 4014, - "end": 4051, + "start": 5096, + "end": 5133, "loc": { "start": { - "line": 198, + "line": 253, "column": 35 }, "end": { - "line": 200, + "line": 255, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 4023, - "end": 4043, + "start": 5105, + "end": 5125, "loc": { "start": { - "line": 199, + "line": 254, "column": 7 }, "end": { - "line": 199, + "line": 254, "column": 27 } }, "expression": { "type": "AssignmentExpression", - "start": 4023, - "end": 4042, + "start": 5105, + "end": 5124, "loc": { "start": { - "line": 199, + "line": 254, "column": 7 }, "end": { - "line": 199, + "line": 254, "column": 26 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 4023, - "end": 4033, + "start": 5105, + "end": 5115, "loc": { "start": { - "line": 199, + "line": 254, "column": 7 }, "end": { - "line": 199, + "line": 254, "column": 17 } }, "object": { "type": "Identifier", - "start": 4023, - "end": 4029, + "start": 5105, + "end": 5111, "loc": { "start": { - "line": 199, + "line": 254, "column": 7 }, "end": { - "line": 199, + "line": 254, "column": 13 }, "identifierName": "values" @@ -10345,15 +12713,15 @@ }, "property": { "type": "Identifier", - "start": 4030, - "end": 4033, + "start": 5112, + "end": 5115, "loc": { "start": { - "line": 199, + "line": 254, "column": 14 }, "end": { - "line": 199, + "line": 254, "column": 17 }, "identifierName": "two" @@ -10364,15 +12732,15 @@ }, "right": { "type": "Identifier", - "start": 4034, - "end": 4042, + "start": 5116, + "end": 5124, "loc": { "start": { - "line": 199, + "line": 254, "column": 18 }, "end": { - "line": 199, + "line": 254, "column": 26 }, "identifierName": "newValue" @@ -10389,29 +12757,29 @@ }, { "type": "JSXAttribute", - "start": 4059, - "end": 4142, + "start": 5141, + "end": 5224, "loc": { "start": { - "line": 201, + "line": 256, "column": 6 }, "end": { - "line": 204, + "line": 259, "column": 8 } }, "name": { "type": "JSXIdentifier", - "start": 4059, - "end": 4066, + "start": 5141, + "end": 5148, "loc": { "start": { - "line": 201, + "line": 256, "column": 6 }, "end": { - "line": 201, + "line": 256, "column": 13 } }, @@ -10419,44 +12787,44 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 4067, - "end": 4142, + "start": 5149, + "end": 5224, "loc": { "start": { - "line": 201, + "line": 256, "column": 14 }, "end": { - "line": 204, + "line": 259, "column": 8 } }, "expression": { "type": "ObjectExpression", - "start": 4068, - "end": 4141, + "start": 5150, + "end": 5223, "loc": { "start": { - "line": 201, + "line": 256, "column": 15 }, "end": { - "line": 204, + "line": 259, "column": 7 } }, "properties": [ { "type": "ObjectProperty", - "start": 4077, - "end": 4112, + "start": 5159, + "end": 5194, "loc": { "start": { - "line": 202, + "line": 257, "column": 7 }, "end": { - "line": 202, + "line": 257, "column": 42 } }, @@ -10465,15 +12833,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 4077, - "end": 4084, + "start": 5159, + "end": 5166, "loc": { "start": { - "line": 202, + "line": 257, "column": 7 }, "end": { - "line": 202, + "line": 257, "column": 14 }, "identifierName": "message" @@ -10482,15 +12850,15 @@ }, "value": { "type": "StringLiteral", - "start": 4085, - "end": 4112, + "start": 5167, + "end": 5194, "loc": { "start": { - "line": 202, + "line": 257, "column": 15 }, "end": { - "line": 202, + "line": 257, "column": 42 } }, @@ -10503,15 +12871,15 @@ }, { "type": "ObjectProperty", - "start": 4121, - "end": 4133, + "start": 5203, + "end": 5215, "loc": { "start": { - "line": 203, + "line": 258, "column": 7 }, "end": { - "line": 203, + "line": 258, "column": 19 } }, @@ -10520,15 +12888,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 4121, - "end": 4126, + "start": 5203, + "end": 5208, "loc": { "start": { - "line": 203, + "line": 258, "column": 7 }, "end": { - "line": 203, + "line": 258, "column": 12 }, "identifierName": "error" @@ -10537,15 +12905,15 @@ }, "value": { "type": "BooleanLiteral", - "start": 4128, - "end": 4133, + "start": 5210, + "end": 5215, "loc": { "start": { - "line": 203, + "line": 258, "column": 14 }, "end": { - "line": 203, + "line": 258, "column": 19 } }, @@ -10559,15 +12927,15 @@ ], "name": { "type": "JSXIdentifier", - "start": 3791, - "end": 3801, + "start": 4873, + "end": 4883, "loc": { "start": { - "line": 191, + "line": 246, "column": 6 }, "end": { - "line": 191, + "line": 246, "column": 16 } }, @@ -10580,15 +12948,15 @@ }, { "type": "JSXText", - "start": 4150, - "end": 4155, + "start": 5232, + "end": 5237, "loc": { "start": { - "line": 205, + "line": 260, "column": 7 }, "end": { - "line": 206, + "line": 261, "column": 4 } }, @@ -10599,15 +12967,15 @@ }, { "type": "JSXText", - "start": 4161, - "end": 4166, + "start": 5243, + "end": 5248, "loc": { "start": { - "line": 206, + "line": 261, "column": 10 }, "end": { - "line": 207, + "line": 262, "column": 4 } }, @@ -10616,44 +12984,44 @@ }, { "type": "JSXElement", - "start": 4166, - "end": 4556, + "start": 5248, + "end": 5638, "loc": { "start": { - "line": 207, + "line": 262, "column": 4 }, "end": { - "line": 229, + "line": 284, "column": 10 } }, "openingElement": { "type": "JSXOpeningElement", - "start": 4166, - "end": 4171, + "start": 5248, + "end": 5253, "loc": { "start": { - "line": 207, + "line": 262, "column": 4 }, "end": { - "line": 207, + "line": 262, "column": 9 } }, "attributes": [], "name": { "type": "JSXIdentifier", - "start": 4167, - "end": 4170, + "start": 5249, + "end": 5252, "loc": { "start": { - "line": 207, + "line": 262, "column": 5 }, "end": { - "line": 207, + "line": 262, "column": 8 } }, @@ -10663,29 +13031,29 @@ }, "closingElement": { "type": "JSXClosingElement", - "start": 4550, - "end": 4556, + "start": 5632, + "end": 5638, "loc": { "start": { - "line": 229, + "line": 284, "column": 4 }, "end": { - "line": 229, + "line": 284, "column": 10 } }, "name": { "type": "JSXIdentifier", - "start": 4552, - "end": 4555, + "start": 5634, + "end": 5637, "loc": { "start": { - "line": 229, + "line": 284, "column": 6 }, "end": { - "line": 229, + "line": 284, "column": 9 } }, @@ -10695,15 +13063,15 @@ "children": [ { "type": "JSXText", - "start": 4171, - "end": 4177, + "start": 5253, + "end": 5259, "loc": { "start": { - "line": 207, + "line": 262, "column": 9 }, "end": { - "line": 208, + "line": 263, "column": 5 } }, @@ -10712,44 +13080,44 @@ }, { "type": "JSXElement", - "start": 4177, - "end": 4193, + "start": 5259, + "end": 5275, "loc": { "start": { - "line": 208, + "line": 263, "column": 5 }, "end": { - "line": 208, + "line": 263, "column": 21 } }, "openingElement": { "type": "JSXOpeningElement", - "start": 4177, - "end": 4181, + "start": 5259, + "end": 5263, "loc": { "start": { - "line": 208, + "line": 263, "column": 5 }, "end": { - "line": 208, + "line": 263, "column": 9 } }, "attributes": [], "name": { "type": "JSXIdentifier", - "start": 4178, - "end": 4180, + "start": 5260, + "end": 5262, "loc": { "start": { - "line": 208, + "line": 263, "column": 6 }, "end": { - "line": 208, + "line": 263, "column": 8 } }, @@ -10759,29 +13127,29 @@ }, "closingElement": { "type": "JSXClosingElement", - "start": 4188, - "end": 4193, + "start": 5270, + "end": 5275, "loc": { "start": { - "line": 208, + "line": 263, "column": 16 }, "end": { - "line": 208, + "line": 263, "column": 21 } }, "name": { "type": "JSXIdentifier", - "start": 4190, - "end": 4192, + "start": 5272, + "end": 5274, "loc": { "start": { - "line": 208, + "line": 263, "column": 18 }, "end": { - "line": 208, + "line": 263, "column": 20 } }, @@ -10791,15 +13159,15 @@ "children": [ { "type": "JSXText", - "start": 4181, - "end": 4188, + "start": 5263, + "end": 5270, "loc": { "start": { - "line": 208, + "line": 263, "column": 9 }, "end": { - "line": 208, + "line": 263, "column": 16 } }, @@ -10810,15 +13178,15 @@ }, { "type": "JSXText", - "start": 4193, - "end": 4199, + "start": 5275, + "end": 5281, "loc": { "start": { - "line": 208, + "line": 263, "column": 21 }, "end": { - "line": 209, + "line": 264, "column": 5 } }, @@ -10827,58 +13195,58 @@ }, { "type": "JSXElement", - "start": 4199, - "end": 4544, + "start": 5281, + "end": 5626, "loc": { "start": { - "line": 209, + "line": 264, "column": 5 }, "end": { - "line": 227, + "line": 282, "column": 7 } }, "openingElement": { "type": "JSXOpeningElement", - "start": 4199, - "end": 4544, + "start": 5281, + "end": 5626, "loc": { "start": { - "line": 209, + "line": 264, "column": 5 }, "end": { - "line": 227, + "line": 282, "column": 7 } }, "attributes": [ { "type": "JSXAttribute", - "start": 4217, - "end": 4232, + "start": 5299, + "end": 5314, "loc": { "start": { - "line": 210, + "line": 265, "column": 6 }, "end": { - "line": 210, + "line": 265, "column": 21 } }, "name": { "type": "JSXIdentifier", - "start": 4217, - "end": 4221, + "start": 5299, + "end": 5303, "loc": { "start": { - "line": 210, + "line": 265, "column": 6 }, "end": { - "line": 210, + "line": 265, "column": 10 } }, @@ -10886,29 +13254,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 4222, - "end": 4232, + "start": 5304, + "end": 5314, "loc": { "start": { - "line": 210, + "line": 265, "column": 11 }, "end": { - "line": 210, + "line": 265, "column": 21 } }, "expression": { "type": "StringLiteral", - "start": 4223, - "end": 4231, + "start": 5305, + "end": 5313, "loc": { "start": { - "line": 210, + "line": 265, "column": 12 }, "end": { - "line": 210, + "line": 265, "column": 20 } }, @@ -10922,29 +13290,29 @@ }, { "type": "JSXAttribute", - "start": 4239, - "end": 4267, + "start": 5321, + "end": 5349, "loc": { "start": { - "line": 211, + "line": 266, "column": 6 }, "end": { - "line": 211, + "line": 266, "column": 34 } }, "name": { "type": "JSXIdentifier", - "start": 4239, - "end": 4244, + "start": 5321, + "end": 5326, "loc": { "start": { - "line": 211, + "line": 266, "column": 6 }, "end": { - "line": 211, + "line": 266, "column": 11 } }, @@ -10952,29 +13320,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 4245, - "end": 4267, + "start": 5327, + "end": 5349, "loc": { "start": { - "line": 211, + "line": 266, "column": 12 }, "end": { - "line": 211, + "line": 266, "column": 34 } }, "expression": { "type": "StringLiteral", - "start": 4246, - "end": 4266, + "start": 5328, + "end": 5348, "loc": { "start": { - "line": 211, + "line": 266, "column": 13 }, "end": { - "line": 211, + "line": 266, "column": 33 } }, @@ -10988,29 +13356,29 @@ }, { "type": "JSXAttribute", - "start": 4274, - "end": 4298, + "start": 5356, + "end": 5380, "loc": { "start": { - "line": 212, + "line": 267, "column": 6 }, "end": { - "line": 212, + "line": 267, "column": 30 } }, "name": { "type": "JSXIdentifier", - "start": 4274, - "end": 4279, + "start": 5356, + "end": 5361, "loc": { "start": { - "line": 212, + "line": 267, "column": 6 }, "end": { - "line": 212, + "line": 267, "column": 11 } }, @@ -11018,29 +13386,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 4280, - "end": 4298, + "start": 5362, + "end": 5380, "loc": { "start": { - "line": 212, + "line": 267, "column": 12 }, "end": { - "line": 212, + "line": 267, "column": 30 } }, "expression": { "type": "Identifier", - "start": 4281, - "end": 4297, + "start": 5363, + "end": 5379, "loc": { "start": { - "line": 212, + "line": 267, "column": 13 }, "end": { - "line": 212, + "line": 267, "column": 29 }, "identifierName": "selectFieldValue" @@ -11051,29 +13419,29 @@ }, { "type": "JSXAttribute", - "start": 4305, - "end": 4313, + "start": 5387, + "end": 5395, "loc": { "start": { - "line": 213, + "line": 268, "column": 6 }, "end": { - "line": 213, + "line": 268, "column": 14 } }, "name": { "type": "JSXIdentifier", - "start": 4305, - "end": 4307, + "start": 5387, + "end": 5389, "loc": { "start": { - "line": 213, + "line": 268, "column": 6 }, "end": { - "line": 213, + "line": 268, "column": 8 } }, @@ -11081,29 +13449,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 4308, - "end": 4313, + "start": 5390, + "end": 5395, "loc": { "start": { - "line": 213, + "line": 268, "column": 9 }, "end": { - "line": 213, + "line": 268, "column": 14 } }, "expression": { "type": "StringLiteral", - "start": 4309, - "end": 4312, + "start": 5391, + "end": 5394, "loc": { "start": { - "line": 213, + "line": 268, "column": 10 }, "end": { - "line": 213, + "line": 268, "column": 13 } }, @@ -11117,29 +13485,29 @@ }, { "type": "JSXAttribute", - "start": 4320, - "end": 4395, + "start": 5402, + "end": 5477, "loc": { "start": { - "line": 214, + "line": 269, "column": 6 }, "end": { - "line": 216, + "line": 271, "column": 8 } }, "name": { "type": "JSXIdentifier", - "start": 4320, - "end": 4333, + "start": 5402, + "end": 5415, "loc": { "start": { - "line": 214, + "line": 269, "column": 6 }, "end": { - "line": 214, + "line": 269, "column": 19 } }, @@ -11147,29 +13515,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 4334, - "end": 4395, + "start": 5416, + "end": 5477, "loc": { "start": { - "line": 214, + "line": 269, "column": 20 }, "end": { - "line": 216, + "line": 271, "column": 8 } }, "expression": { "type": "ArrowFunctionExpression", - "start": 4335, - "end": 4394, + "start": 5417, + "end": 5476, "loc": { "start": { - "line": 214, + "line": 269, "column": 21 }, "end": { - "line": 216, + "line": 271, "column": 7 } }, @@ -11180,15 +13548,15 @@ "params": [ { "type": "Identifier", - "start": 4336, - "end": 4344, + "start": 5418, + "end": 5426, "loc": { "start": { - "line": 214, + "line": 269, "column": 22 }, "end": { - "line": 214, + "line": 269, "column": 30 }, "identifierName": "newValue" @@ -11198,59 +13566,59 @@ ], "body": { "type": "BlockStatement", - "start": 4349, - "end": 4394, + "start": 5431, + "end": 5476, "loc": { "start": { - "line": 214, + "line": 269, "column": 35 }, "end": { - "line": 216, + "line": 271, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 4358, - "end": 4386, + "start": 5440, + "end": 5468, "loc": { "start": { - "line": 215, + "line": 270, "column": 7 }, "end": { - "line": 215, + "line": 270, "column": 35 } }, "expression": { "type": "AssignmentExpression", - "start": 4358, - "end": 4385, + "start": 5440, + "end": 5467, "loc": { "start": { - "line": 215, + "line": 270, "column": 7 }, "end": { - "line": 215, + "line": 270, "column": 34 } }, "operator": "=", "left": { "type": "Identifier", - "start": 4358, - "end": 4374, + "start": 5440, + "end": 5456, "loc": { "start": { - "line": 215, + "line": 270, "column": 7 }, "end": { - "line": 215, + "line": 270, "column": 23 }, "identifierName": "selectFieldValue" @@ -11259,15 +13627,15 @@ }, "right": { "type": "Identifier", - "start": 4377, - "end": 4385, + "start": 5459, + "end": 5467, "loc": { "start": { - "line": 215, + "line": 270, "column": 26 }, "end": { - "line": 215, + "line": 270, "column": 34 }, "identifierName": "newValue" @@ -11284,29 +13652,29 @@ }, { "type": "JSXAttribute", - "start": 4402, - "end": 4536, + "start": 5484, + "end": 5618, "loc": { "start": { - "line": 217, + "line": 272, "column": 6 }, "end": { - "line": 226, + "line": 281, "column": 8 } }, "name": { "type": "JSXIdentifier", - "start": 4402, - "end": 4409, + "start": 5484, + "end": 5491, "loc": { "start": { - "line": 217, + "line": 272, "column": 6 }, "end": { - "line": 217, + "line": 272, "column": 13 } }, @@ -11314,59 +13682,59 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 4410, - "end": 4536, + "start": 5492, + "end": 5618, "loc": { "start": { - "line": 217, + "line": 272, "column": 14 }, "end": { - "line": 226, + "line": 281, "column": 8 } }, "expression": { "type": "ArrayExpression", - "start": 4411, - "end": 4535, + "start": 5493, + "end": 5617, "loc": { "start": { - "line": 217, + "line": 272, "column": 15 }, "end": { - "line": 226, + "line": 281, "column": 7 } }, "elements": [ { "type": "ObjectExpression", - "start": 4420, - "end": 4469, + "start": 5502, + "end": 5551, "loc": { "start": { - "line": 218, + "line": 273, "column": 7 }, "end": { - "line": 221, + "line": 276, "column": 8 } }, "properties": [ { "type": "ObjectProperty", - "start": 4430, - "end": 4438, + "start": 5512, + "end": 5520, "loc": { "start": { - "line": 219, + "line": 274, "column": 8 }, "end": { - "line": 219, + "line": 274, "column": 16 } }, @@ -11375,15 +13743,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 4430, - "end": 4435, + "start": 5512, + "end": 5517, "loc": { "start": { - "line": 219, + "line": 274, "column": 8 }, "end": { - "line": 219, + "line": 274, "column": 13 }, "identifierName": "value" @@ -11392,15 +13760,15 @@ }, "value": { "type": "NumericLiteral", - "start": 4437, - "end": 4438, + "start": 5519, + "end": 5520, "loc": { "start": { - "line": 219, + "line": 274, "column": 15 }, "end": { - "line": 219, + "line": 274, "column": 16 } }, @@ -11413,15 +13781,15 @@ }, { "type": "ObjectProperty", - "start": 4448, - "end": 4460, + "start": 5530, + "end": 5542, "loc": { "start": { - "line": 220, + "line": 275, "column": 8 }, "end": { - "line": 220, + "line": 275, "column": 20 } }, @@ -11430,15 +13798,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 4448, - "end": 4453, + "start": 5530, + "end": 5535, "loc": { "start": { - "line": 220, + "line": 275, "column": 8 }, "end": { - "line": 220, + "line": 275, "column": 13 }, "identifierName": "label" @@ -11447,15 +13815,15 @@ }, "value": { "type": "StringLiteral", - "start": 4455, - "end": 4460, + "start": 5537, + "end": 5542, "loc": { "start": { - "line": 220, + "line": 275, "column": 15 }, "end": { - "line": 220, + "line": 275, "column": 20 } }, @@ -11470,30 +13838,30 @@ }, { "type": "ObjectExpression", - "start": 4478, - "end": 4527, + "start": 5560, + "end": 5609, "loc": { "start": { - "line": 222, + "line": 277, "column": 7 }, "end": { - "line": 225, + "line": 280, "column": 8 } }, "properties": [ { "type": "ObjectProperty", - "start": 4488, - "end": 4496, + "start": 5570, + "end": 5578, "loc": { "start": { - "line": 223, + "line": 278, "column": 8 }, "end": { - "line": 223, + "line": 278, "column": 16 } }, @@ -11502,15 +13870,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 4488, - "end": 4493, + "start": 5570, + "end": 5575, "loc": { "start": { - "line": 223, + "line": 278, "column": 8 }, "end": { - "line": 223, + "line": 278, "column": 13 }, "identifierName": "value" @@ -11519,15 +13887,15 @@ }, "value": { "type": "NumericLiteral", - "start": 4495, - "end": 4496, + "start": 5577, + "end": 5578, "loc": { "start": { - "line": 223, + "line": 278, "column": 15 }, "end": { - "line": 223, + "line": 278, "column": 16 } }, @@ -11540,15 +13908,15 @@ }, { "type": "ObjectProperty", - "start": 4506, - "end": 4518, + "start": 5588, + "end": 5600, "loc": { "start": { - "line": 224, + "line": 279, "column": 8 }, "end": { - "line": 224, + "line": 279, "column": 20 } }, @@ -11557,15 +13925,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 4506, - "end": 4511, + "start": 5588, + "end": 5593, "loc": { "start": { - "line": 224, + "line": 279, "column": 8 }, "end": { - "line": 224, + "line": 279, "column": 13 }, "identifierName": "label" @@ -11574,15 +13942,15 @@ }, "value": { "type": "StringLiteral", - "start": 4513, - "end": 4518, + "start": 5595, + "end": 5600, "loc": { "start": { - "line": 224, + "line": 279, "column": 15 }, "end": { - "line": 224, + "line": 279, "column": 20 } }, @@ -11602,15 +13970,15 @@ ], "name": { "type": "JSXIdentifier", - "start": 4200, - "end": 4210, + "start": 5282, + "end": 5292, "loc": { "start": { - "line": 209, + "line": 264, "column": 6 }, "end": { - "line": 209, + "line": 264, "column": 16 } }, @@ -11623,15 +13991,15 @@ }, { "type": "JSXText", - "start": 4544, - "end": 4550, + "start": 5626, + "end": 5632, "loc": { "start": { - "line": 227, + "line": 282, "column": 7 }, "end": { - "line": 229, + "line": 284, "column": 4 } }, @@ -11642,15 +14010,15 @@ }, { "type": "JSXText", - "start": 4556, - "end": 4562, + "start": 5638, + "end": 5644, "loc": { "start": { - "line": 229, + "line": 284, "column": 10 }, "end": { - "line": 231, + "line": 286, "column": 4 } }, @@ -11659,44 +14027,44 @@ }, { "type": "JSXElement", - "start": 4562, - "end": 4967, + "start": 5644, + "end": 6049, "loc": { "start": { - "line": 231, + "line": 286, "column": 4 }, "end": { - "line": 252, + "line": 307, "column": 10 } }, "openingElement": { "type": "JSXOpeningElement", - "start": 4562, - "end": 4567, + "start": 5644, + "end": 5649, "loc": { "start": { - "line": 231, + "line": 286, "column": 4 }, "end": { - "line": 231, + "line": 286, "column": 9 } }, "attributes": [], "name": { "type": "JSXIdentifier", - "start": 4563, - "end": 4566, + "start": 5645, + "end": 5648, "loc": { "start": { - "line": 231, + "line": 286, "column": 5 }, "end": { - "line": 231, + "line": 286, "column": 8 } }, @@ -11706,29 +14074,29 @@ }, "closingElement": { "type": "JSXClosingElement", - "start": 4961, - "end": 4967, + "start": 6043, + "end": 6049, "loc": { "start": { - "line": 252, + "line": 307, "column": 4 }, "end": { - "line": 252, + "line": 307, "column": 10 } }, "name": { "type": "JSXIdentifier", - "start": 4963, - "end": 4966, + "start": 6045, + "end": 6048, "loc": { "start": { - "line": 252, + "line": 307, "column": 6 }, "end": { - "line": 252, + "line": 307, "column": 9 } }, @@ -11738,15 +14106,15 @@ "children": [ { "type": "JSXText", - "start": 4567, - "end": 4573, + "start": 5649, + "end": 5655, "loc": { "start": { - "line": 231, + "line": 286, "column": 9 }, "end": { - "line": 232, + "line": 287, "column": 5 } }, @@ -11755,44 +14123,44 @@ }, { "type": "JSXElement", - "start": 4573, - "end": 4591, + "start": 5655, + "end": 5673, "loc": { "start": { - "line": 232, + "line": 287, "column": 5 }, "end": { - "line": 232, + "line": 287, "column": 23 } }, "openingElement": { "type": "JSXOpeningElement", - "start": 4573, - "end": 4577, + "start": 5655, + "end": 5659, "loc": { "start": { - "line": 232, + "line": 287, "column": 5 }, "end": { - "line": 232, + "line": 287, "column": 9 } }, "attributes": [], "name": { "type": "JSXIdentifier", - "start": 4574, - "end": 4576, + "start": 5656, + "end": 5658, "loc": { "start": { - "line": 232, + "line": 287, "column": 6 }, "end": { - "line": 232, + "line": 287, "column": 8 } }, @@ -11802,29 +14170,29 @@ }, "closingElement": { "type": "JSXClosingElement", - "start": 4586, - "end": 4591, + "start": 5668, + "end": 5673, "loc": { "start": { - "line": 232, + "line": 287, "column": 18 }, "end": { - "line": 232, + "line": 287, "column": 23 } }, "name": { "type": "JSXIdentifier", - "start": 4588, - "end": 4590, + "start": 5670, + "end": 5672, "loc": { "start": { - "line": 232, + "line": 287, "column": 20 }, "end": { - "line": 232, + "line": 287, "column": 22 } }, @@ -11834,15 +14202,15 @@ "children": [ { "type": "JSXText", - "start": 4577, - "end": 4586, + "start": 5659, + "end": 5668, "loc": { "start": { - "line": 232, + "line": 287, "column": 9 }, "end": { - "line": 232, + "line": 287, "column": 18 } }, @@ -11853,15 +14221,15 @@ }, { "type": "JSXText", - "start": 4591, - "end": 4597, + "start": 5673, + "end": 5679, "loc": { "start": { - "line": 232, + "line": 287, "column": 23 }, "end": { - "line": 233, + "line": 288, "column": 5 } }, @@ -11870,58 +14238,58 @@ }, { "type": "JSXElement", - "start": 4597, - "end": 4956, + "start": 5679, + "end": 6038, "loc": { "start": { - "line": 233, + "line": 288, "column": 5 }, "end": { - "line": 251, + "line": 306, "column": 7 } }, "openingElement": { "type": "JSXOpeningElement", - "start": 4597, - "end": 4956, + "start": 5679, + "end": 6038, "loc": { "start": { - "line": 233, + "line": 288, "column": 5 }, "end": { - "line": 251, + "line": 306, "column": 7 } }, "attributes": [ { "type": "JSXAttribute", - "start": 4615, - "end": 4632, + "start": 5697, + "end": 5714, "loc": { "start": { - "line": 234, + "line": 289, "column": 6 }, "end": { - "line": 234, + "line": 289, "column": 23 } }, "name": { "type": "JSXIdentifier", - "start": 4615, - "end": 4619, + "start": 5697, + "end": 5701, "loc": { "start": { - "line": 234, + "line": 289, "column": 6 }, "end": { - "line": 234, + "line": 289, "column": 10 } }, @@ -11929,29 +14297,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 4620, - "end": 4632, + "start": 5702, + "end": 5714, "loc": { "start": { - "line": 234, + "line": 289, "column": 11 }, "end": { - "line": 234, + "line": 289, "column": 23 } }, "expression": { "type": "StringLiteral", - "start": 4621, - "end": 4631, + "start": 5703, + "end": 5713, "loc": { "start": { - "line": 234, + "line": 289, "column": 12 }, "end": { - "line": 234, + "line": 289, "column": 22 } }, @@ -11965,29 +14333,29 @@ }, { "type": "JSXAttribute", - "start": 4639, - "end": 4663, + "start": 5721, + "end": 5745, "loc": { "start": { - "line": 235, + "line": 290, "column": 6 }, "end": { - "line": 235, + "line": 290, "column": 30 } }, "name": { "type": "JSXIdentifier", - "start": 4639, - "end": 4644, + "start": 5721, + "end": 5726, "loc": { "start": { - "line": 235, + "line": 290, "column": 6 }, "end": { - "line": 235, + "line": 290, "column": 11 } }, @@ -11995,29 +14363,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 4645, - "end": 4663, + "start": 5727, + "end": 5745, "loc": { "start": { - "line": 235, + "line": 290, "column": 12 }, "end": { - "line": 235, + "line": 290, "column": 30 } }, "expression": { "type": "StringLiteral", - "start": 4646, - "end": 4662, + "start": 5728, + "end": 5744, "loc": { "start": { - "line": 235, + "line": 290, "column": 13 }, "end": { - "line": 235, + "line": 290, "column": 29 } }, @@ -12031,29 +14399,29 @@ }, { "type": "JSXAttribute", - "start": 4670, - "end": 4696, + "start": 5752, + "end": 5778, "loc": { "start": { - "line": 236, + "line": 291, "column": 6 }, "end": { - "line": 236, + "line": 291, "column": 32 } }, "name": { "type": "JSXIdentifier", - "start": 4670, - "end": 4675, + "start": 5752, + "end": 5757, "loc": { "start": { - "line": 236, + "line": 291, "column": 6 }, "end": { - "line": 236, + "line": 291, "column": 11 } }, @@ -12061,29 +14429,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 4676, - "end": 4696, + "start": 5758, + "end": 5778, "loc": { "start": { - "line": 236, + "line": 291, "column": 12 }, "end": { - "line": 236, + "line": 291, "column": 32 } }, "expression": { "type": "Identifier", - "start": 4677, - "end": 4695, + "start": 5759, + "end": 5777, "loc": { "start": { - "line": 236, + "line": 291, "column": 13 }, "end": { - "line": 236, + "line": 291, "column": 31 }, "identifierName": "fieldSetFieldValue" @@ -12094,29 +14462,29 @@ }, { "type": "JSXAttribute", - "start": 4703, - "end": 4719, + "start": 5785, + "end": 5801, "loc": { "start": { - "line": 237, + "line": 292, "column": 6 }, "end": { - "line": 237, + "line": 292, "column": 22 } }, "name": { "type": "JSXIdentifier", - "start": 4703, - "end": 4705, + "start": 5785, + "end": 5787, "loc": { "start": { - "line": 237, + "line": 292, "column": 6 }, "end": { - "line": 237, + "line": 292, "column": 8 } }, @@ -12124,29 +14492,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 4706, - "end": 4719, + "start": 5788, + "end": 5801, "loc": { "start": { - "line": 237, + "line": 292, "column": 9 }, "end": { - "line": 237, + "line": 292, "column": 22 } }, "expression": { "type": "StringLiteral", - "start": 4707, - "end": 4718, + "start": 5789, + "end": 5800, "loc": { "start": { - "line": 237, + "line": 292, "column": 10 }, "end": { - "line": 237, + "line": 292, "column": 21 } }, @@ -12160,29 +14528,29 @@ }, { "type": "JSXAttribute", - "start": 4726, - "end": 4803, + "start": 5808, + "end": 5885, "loc": { "start": { - "line": 238, + "line": 293, "column": 6 }, "end": { - "line": 240, + "line": 295, "column": 8 } }, "name": { "type": "JSXIdentifier", - "start": 4726, - "end": 4739, + "start": 5808, + "end": 5821, "loc": { "start": { - "line": 238, + "line": 293, "column": 6 }, "end": { - "line": 238, + "line": 293, "column": 19 } }, @@ -12190,29 +14558,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 4740, - "end": 4803, + "start": 5822, + "end": 5885, "loc": { "start": { - "line": 238, + "line": 293, "column": 20 }, "end": { - "line": 240, + "line": 295, "column": 8 } }, "expression": { "type": "ArrowFunctionExpression", - "start": 4741, - "end": 4802, + "start": 5823, + "end": 5884, "loc": { "start": { - "line": 238, + "line": 293, "column": 21 }, "end": { - "line": 240, + "line": 295, "column": 7 } }, @@ -12223,15 +14591,15 @@ "params": [ { "type": "Identifier", - "start": 4742, - "end": 4750, + "start": 5824, + "end": 5832, "loc": { "start": { - "line": 238, + "line": 293, "column": 22 }, "end": { - "line": 238, + "line": 293, "column": 30 }, "identifierName": "newValue" @@ -12241,59 +14609,59 @@ ], "body": { "type": "BlockStatement", - "start": 4755, - "end": 4802, + "start": 5837, + "end": 5884, "loc": { "start": { - "line": 238, + "line": 293, "column": 35 }, "end": { - "line": 240, + "line": 295, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 4764, - "end": 4794, + "start": 5846, + "end": 5876, "loc": { "start": { - "line": 239, + "line": 294, "column": 7 }, "end": { - "line": 239, + "line": 294, "column": 37 } }, "expression": { "type": "AssignmentExpression", - "start": 4764, - "end": 4793, + "start": 5846, + "end": 5875, "loc": { "start": { - "line": 239, + "line": 294, "column": 7 }, "end": { - "line": 239, + "line": 294, "column": 36 } }, "operator": "=", "left": { "type": "Identifier", - "start": 4764, - "end": 4782, + "start": 5846, + "end": 5864, "loc": { "start": { - "line": 239, + "line": 294, "column": 7 }, "end": { - "line": 239, + "line": 294, "column": 25 }, "identifierName": "fieldSetFieldValue" @@ -12302,15 +14670,15 @@ }, "right": { "type": "Identifier", - "start": 4785, - "end": 4793, + "start": 5867, + "end": 5875, "loc": { "start": { - "line": 239, + "line": 294, "column": 28 }, "end": { - "line": 239, + "line": 294, "column": 36 }, "identifierName": "newValue" @@ -12327,29 +14695,29 @@ }, { "type": "JSXAttribute", - "start": 4810, - "end": 4948, + "start": 5892, + "end": 6030, "loc": { "start": { - "line": 241, + "line": 296, "column": 6 }, "end": { - "line": 250, + "line": 305, "column": 8 } }, "name": { "type": "JSXIdentifier", - "start": 4810, - "end": 4817, + "start": 5892, + "end": 5899, "loc": { "start": { - "line": 241, + "line": 296, "column": 6 }, "end": { - "line": 241, + "line": 296, "column": 13 } }, @@ -12357,59 +14725,59 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 4818, - "end": 4948, + "start": 5900, + "end": 6030, "loc": { "start": { - "line": 241, + "line": 296, "column": 14 }, "end": { - "line": 250, + "line": 305, "column": 8 } }, "expression": { "type": "ArrayExpression", - "start": 4819, - "end": 4947, + "start": 5901, + "end": 6029, "loc": { "start": { - "line": 241, + "line": 296, "column": 15 }, "end": { - "line": 250, + "line": 305, "column": 7 } }, "elements": [ { "type": "ObjectExpression", - "start": 4828, - "end": 4879, + "start": 5910, + "end": 5961, "loc": { "start": { - "line": 242, + "line": 297, "column": 7 }, "end": { - "line": 245, + "line": 300, "column": 8 } }, "properties": [ { "type": "ObjectProperty", - "start": 4838, - "end": 4848, + "start": 5920, + "end": 5930, "loc": { "start": { - "line": 243, + "line": 298, "column": 8 }, "end": { - "line": 243, + "line": 298, "column": 18 } }, @@ -12418,15 +14786,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 4838, - "end": 4843, + "start": 5920, + "end": 5925, "loc": { "start": { - "line": 243, + "line": 298, "column": 8 }, "end": { - "line": 243, + "line": 298, "column": 13 }, "identifierName": "value" @@ -12435,15 +14803,15 @@ }, "value": { "type": "StringLiteral", - "start": 4845, - "end": 4848, + "start": 5927, + "end": 5930, "loc": { "start": { - "line": 243, + "line": 298, "column": 15 }, "end": { - "line": 243, + "line": 298, "column": 18 } }, @@ -12456,15 +14824,15 @@ }, { "type": "ObjectProperty", - "start": 4858, - "end": 4870, + "start": 5940, + "end": 5952, "loc": { "start": { - "line": 244, + "line": 299, "column": 8 }, "end": { - "line": 244, + "line": 299, "column": 20 } }, @@ -12473,15 +14841,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 4858, - "end": 4863, + "start": 5940, + "end": 5945, "loc": { "start": { - "line": 244, + "line": 299, "column": 8 }, "end": { - "line": 244, + "line": 299, "column": 13 }, "identifierName": "label" @@ -12490,15 +14858,15 @@ }, "value": { "type": "StringLiteral", - "start": 4865, - "end": 4870, + "start": 5947, + "end": 5952, "loc": { "start": { - "line": 244, + "line": 299, "column": 15 }, "end": { - "line": 244, + "line": 299, "column": 20 } }, @@ -12513,30 +14881,30 @@ }, { "type": "ObjectExpression", - "start": 4888, - "end": 4939, + "start": 5970, + "end": 6021, "loc": { "start": { - "line": 246, + "line": 301, "column": 7 }, "end": { - "line": 249, + "line": 304, "column": 8 } }, "properties": [ { "type": "ObjectProperty", - "start": 4898, - "end": 4908, + "start": 5980, + "end": 5990, "loc": { "start": { - "line": 247, + "line": 302, "column": 8 }, "end": { - "line": 247, + "line": 302, "column": 18 } }, @@ -12545,15 +14913,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 4898, - "end": 4903, + "start": 5980, + "end": 5985, "loc": { "start": { - "line": 247, + "line": 302, "column": 8 }, "end": { - "line": 247, + "line": 302, "column": 13 }, "identifierName": "value" @@ -12562,15 +14930,15 @@ }, "value": { "type": "StringLiteral", - "start": 4905, - "end": 4908, + "start": 5987, + "end": 5990, "loc": { "start": { - "line": 247, + "line": 302, "column": 15 }, "end": { - "line": 247, + "line": 302, "column": 18 } }, @@ -12583,15 +14951,15 @@ }, { "type": "ObjectProperty", - "start": 4918, - "end": 4930, + "start": 6000, + "end": 6012, "loc": { "start": { - "line": 248, + "line": 303, "column": 8 }, "end": { - "line": 248, + "line": 303, "column": 20 } }, @@ -12600,15 +14968,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 4918, - "end": 4923, + "start": 6000, + "end": 6005, "loc": { "start": { - "line": 248, + "line": 303, "column": 8 }, "end": { - "line": 248, + "line": 303, "column": 13 }, "identifierName": "label" @@ -12617,15 +14985,15 @@ }, "value": { "type": "StringLiteral", - "start": 4925, - "end": 4930, + "start": 6007, + "end": 6012, "loc": { "start": { - "line": 248, + "line": 303, "column": 15 }, "end": { - "line": 248, + "line": 303, "column": 20 } }, @@ -12645,15 +15013,15 @@ ], "name": { "type": "JSXIdentifier", - "start": 4598, - "end": 4608, + "start": 5680, + "end": 5690, "loc": { "start": { - "line": 233, + "line": 288, "column": 6 }, "end": { - "line": 233, + "line": 288, "column": 16 } }, @@ -12666,15 +15034,15 @@ }, { "type": "JSXText", - "start": 4956, - "end": 4961, + "start": 6038, + "end": 6043, "loc": { "start": { - "line": 251, + "line": 306, "column": 7 }, "end": { - "line": 252, + "line": 307, "column": 4 } }, @@ -12685,15 +15053,15 @@ }, { "type": "JSXText", - "start": 4967, - "end": 4972, + "start": 6049, + "end": 6054, "loc": { "start": { - "line": 252, + "line": 307, "column": 10 }, "end": { - "line": 254, + "line": 309, "column": 3 } }, @@ -12703,7 +15071,7 @@ ], "extra": { "parenthesized": true, - "parenStart": 1783 + "parenStart": 2230 } } } @@ -12719,29 +15087,29 @@ }, { "type": "Identifier", - "start": 4990, - "end": 5009, + "start": 6072, + "end": 6091, "loc": { "start": { - "line": 259, + "line": 314, "column": 0 }, "end": { - "line": 259, + "line": 314, "column": 19 } }, "declaration": { "type": "Identifier", - "start": 5005, - "end": 5008, + "start": 6087, + "end": 6090, "loc": { "start": { - "line": 259, + "line": 314, "column": 15 }, "end": { - "line": 259, + "line": 314, "column": 18 }, "identifierName": "App" @@ -12754,43 +15122,43 @@ }, { "type": "ExportDefaultDeclaration", - "start": 4990, - "end": 5009, + "start": 6072, + "end": 6091, "loc": { "start": { - "line": 259, + "line": 314, "column": 0 }, "end": { - "line": 259, + "line": 314, "column": 19 } }, "declaration": { "type": "ClassDeclaration", - "start": 1731, - "end": 4988, + "start": 2178, + "end": 6070, "loc": { "start": { - "line": 95, + "line": 117, "column": 0 }, "end": { - "line": 257, + "line": 312, "column": 1 } }, "id": { "type": "Identifier", - "start": 1737, - "end": 1740, + "start": 2184, + "end": 2187, "loc": { "start": { - "line": 95, + "line": 117, "column": 6 }, "end": { - "line": 95, + "line": 117, "column": 9 }, "identifierName": "App" @@ -12799,15 +15167,15 @@ }, "superClass": { "type": "Identifier", - "start": 1749, - "end": 1758, + "start": 2196, + "end": 2205, "loc": { "start": { - "line": 95, + "line": 117, "column": 18 }, "end": { - "line": 95, + "line": 117, "column": 27 }, "identifierName": "Component" @@ -12816,30 +15184,30 @@ }, "body": { "type": "ClassBody", - "start": 1759, - "end": 4988, + "start": 2206, + "end": 6070, "loc": { "start": { - "line": 95, + "line": 117, "column": 28 }, "end": { - "line": 257, + "line": 312, "column": 1 } }, "body": [ { "type": "ClassMethod", - "start": 1763, - "end": 4986, + "start": 2210, + "end": 6068, "loc": { "start": { - "line": 97, + "line": 119, "column": 1 }, "end": { - "line": 256, + "line": 311, "column": 2 } }, @@ -12847,15 +15215,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1763, - "end": 1769, + "start": 2210, + "end": 2216, "loc": { "start": { - "line": 97, + "line": 119, "column": 1 }, "end": { - "line": 97, + "line": 119, "column": 7 }, "identifierName": "render" @@ -12870,87 +15238,87 @@ "params": [], "body": { "type": "BlockStatement", - "start": 1772, - "end": 4986, + "start": 2219, + "end": 6068, "loc": { "start": { - "line": 97, + "line": 119, "column": 10 }, "end": { - "line": 256, + "line": 311, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 1776, - "end": 4983, + "start": 2223, + "end": 6065, "loc": { "start": { - "line": 98, + "line": 120, "column": 2 }, "end": { - "line": 255, + "line": 310, "column": 4 } }, "argument": { "type": "JSXElement", - "start": 1788, - "end": 4978, + "start": 2235, + "end": 6060, "loc": { "start": { - "line": 99, + "line": 121, "column": 3 }, "end": { - "line": 254, + "line": 309, "column": 9 } }, "openingElement": { "type": "JSXOpeningElement", - "start": 1788, - "end": 1809, + "start": 2235, + "end": 2256, "loc": { "start": { - "line": 99, + "line": 121, "column": 3 }, "end": { - "line": 99, + "line": 121, "column": 24 } }, "attributes": [ { "type": "JSXAttribute", - "start": 1793, - "end": 1808, + "start": 2240, + "end": 2255, "loc": { "start": { - "line": 99, + "line": 121, "column": 8 }, "end": { - "line": 99, + "line": 121, "column": 23 } }, "name": { "type": "JSXIdentifier", - "start": 1793, - "end": 1802, + "start": 2240, + "end": 2249, "loc": { "start": { - "line": 99, + "line": 121, "column": 8 }, "end": { - "line": 99, + "line": 121, "column": 17 } }, @@ -12958,15 +15326,15 @@ }, "value": { "type": "StringLiteral", - "start": 1803, - "end": 1808, + "start": 2250, + "end": 2255, "loc": { "start": { - "line": 99, + "line": 121, "column": 18 }, "end": { - "line": 99, + "line": 121, "column": 23 } }, @@ -12977,15 +15345,15 @@ ], "name": { "type": "JSXIdentifier", - "start": 1789, - "end": 1792, + "start": 2236, + "end": 2239, "loc": { "start": { - "line": 99, + "line": 121, "column": 4 }, "end": { - "line": 99, + "line": 121, "column": 7 } }, @@ -12995,29 +15363,29 @@ }, "closingElement": { "type": "JSXClosingElement", - "start": 4972, - "end": 4978, + "start": 6054, + "end": 6060, "loc": { "start": { - "line": 254, + "line": 309, "column": 3 }, "end": { - "line": 254, + "line": 309, "column": 9 } }, "name": { "type": "JSXIdentifier", - "start": 4974, - "end": 4977, + "start": 6056, + "end": 6059, "loc": { "start": { - "line": 254, + "line": 309, "column": 5 }, "end": { - "line": 254, + "line": 309, "column": 8 } }, @@ -13027,15 +15395,15 @@ "children": [ { "type": "JSXText", - "start": 1809, - "end": 1814, + "start": 2256, + "end": 2261, "loc": { "start": { - "line": 99, + "line": 121, "column": 24 }, "end": { - "line": 100, + "line": 122, "column": 4 } }, @@ -13044,58 +15412,58 @@ }, { "type": "JSXElement", - "start": 1814, - "end": 1968, + "start": 2261, + "end": 2415, "loc": { "start": { - "line": 100, + "line": 122, "column": 4 }, "end": { - "line": 103, + "line": 125, "column": 13 } }, "openingElement": { "type": "JSXOpeningElement", - "start": 1814, - "end": 1845, + "start": 2261, + "end": 2292, "loc": { "start": { - "line": 100, + "line": 122, "column": 4 }, "end": { - "line": 100, + "line": 122, "column": 35 } }, "attributes": [ { "type": "JSXAttribute", - "start": 1822, - "end": 1844, + "start": 2269, + "end": 2291, "loc": { "start": { - "line": 100, + "line": 122, "column": 12 }, "end": { - "line": 100, + "line": 122, "column": 34 } }, "name": { "type": "JSXIdentifier", - "start": 1822, - "end": 1831, + "start": 2269, + "end": 2278, "loc": { "start": { - "line": 100, + "line": 122, "column": 12 }, "end": { - "line": 100, + "line": 122, "column": 21 } }, @@ -13103,15 +15471,15 @@ }, "value": { "type": "StringLiteral", - "start": 1832, - "end": 1844, + "start": 2279, + "end": 2291, "loc": { "start": { - "line": 100, + "line": 122, "column": 22 }, "end": { - "line": 100, + "line": 122, "column": 34 } }, @@ -13122,15 +15490,15 @@ ], "name": { "type": "JSXIdentifier", - "start": 1815, - "end": 1821, + "start": 2262, + "end": 2268, "loc": { "start": { - "line": 100, + "line": 122, "column": 5 }, "end": { - "line": 100, + "line": 122, "column": 11 } }, @@ -13140,29 +15508,29 @@ }, "closingElement": { "type": "JSXClosingElement", - "start": 1959, - "end": 1968, + "start": 2406, + "end": 2415, "loc": { "start": { - "line": 103, + "line": 125, "column": 4 }, "end": { - "line": 103, + "line": 125, "column": 13 } }, "name": { "type": "JSXIdentifier", - "start": 1961, - "end": 1967, + "start": 2408, + "end": 2414, "loc": { "start": { - "line": 103, + "line": 125, "column": 6 }, "end": { - "line": 103, + "line": 125, "column": 12 } }, @@ -13172,15 +15540,15 @@ "children": [ { "type": "JSXText", - "start": 1845, - "end": 1851, + "start": 2292, + "end": 2298, "loc": { "start": { - "line": 100, + "line": 122, "column": 35 }, "end": { - "line": 101, + "line": 123, "column": 5 } }, @@ -13189,58 +15557,58 @@ }, { "type": "JSXElement", - "start": 1851, - "end": 1901, + "start": 2298, + "end": 2348, "loc": { "start": { - "line": 101, + "line": 123, "column": 5 }, "end": { - "line": 101, + "line": 123, "column": 55 } }, "openingElement": { "type": "JSXOpeningElement", - "start": 1851, - "end": 1901, + "start": 2298, + "end": 2348, "loc": { "start": { - "line": 101, + "line": 123, "column": 5 }, "end": { - "line": 101, + "line": 123, "column": 55 } }, "attributes": [ { "type": "JSXAttribute", - "start": 1856, - "end": 1866, + "start": 2303, + "end": 2313, "loc": { "start": { - "line": 101, + "line": 123, "column": 10 }, "end": { - "line": 101, + "line": 123, "column": 20 } }, "name": { "type": "JSXIdentifier", - "start": 1856, - "end": 1859, + "start": 2303, + "end": 2306, "loc": { "start": { - "line": 101, + "line": 123, "column": 10 }, "end": { - "line": 101, + "line": 123, "column": 13 } }, @@ -13248,29 +15616,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 1860, - "end": 1866, + "start": 2307, + "end": 2313, "loc": { "start": { - "line": 101, + "line": 123, "column": 14 }, "end": { - "line": 101, + "line": 123, "column": 20 } }, "expression": { "type": "Identifier", - "start": 1861, - "end": 1865, + "start": 2308, + "end": 2312, "loc": { "start": { - "line": 101, + "line": 123, "column": 15 }, "end": { - "line": 101, + "line": 123, "column": 19 }, "identifierName": "logo" @@ -13281,29 +15649,29 @@ }, { "type": "JSXAttribute", - "start": 1867, - "end": 1887, + "start": 2314, + "end": 2334, "loc": { "start": { - "line": 101, + "line": 123, "column": 21 }, "end": { - "line": 101, + "line": 123, "column": 41 } }, "name": { "type": "JSXIdentifier", - "start": 1867, - "end": 1876, + "start": 2314, + "end": 2323, "loc": { "start": { - "line": 101, + "line": 123, "column": 21 }, "end": { - "line": 101, + "line": 123, "column": 30 } }, @@ -13311,15 +15679,15 @@ }, "value": { "type": "StringLiteral", - "start": 1877, - "end": 1887, + "start": 2324, + "end": 2334, "loc": { "start": { - "line": 101, + "line": 123, "column": 31 }, "end": { - "line": 101, + "line": 123, "column": 41 } }, @@ -13329,29 +15697,29 @@ }, { "type": "JSXAttribute", - "start": 1888, - "end": 1898, + "start": 2335, + "end": 2345, "loc": { "start": { - "line": 101, + "line": 123, "column": 42 }, "end": { - "line": 101, + "line": 123, "column": 52 } }, "name": { "type": "JSXIdentifier", - "start": 1888, - "end": 1891, + "start": 2335, + "end": 2338, "loc": { "start": { - "line": 101, + "line": 123, "column": 42 }, "end": { - "line": 101, + "line": 123, "column": 45 } }, @@ -13359,15 +15727,15 @@ }, "value": { "type": "StringLiteral", - "start": 1892, - "end": 1898, + "start": 2339, + "end": 2345, "loc": { "start": { - "line": 101, + "line": 123, "column": 46 }, "end": { - "line": 101, + "line": 123, "column": 52 } }, @@ -13378,15 +15746,15 @@ ], "name": { "type": "JSXIdentifier", - "start": 1852, - "end": 1855, + "start": 2299, + "end": 2302, "loc": { "start": { - "line": 101, + "line": 123, "column": 6 }, "end": { - "line": 101, + "line": 123, "column": 9 } }, @@ -13399,15 +15767,15 @@ }, { "type": "JSXText", - "start": 1901, - "end": 1907, + "start": 2348, + "end": 2354, "loc": { "start": { - "line": 101, + "line": 123, "column": 55 }, "end": { - "line": 102, + "line": 124, "column": 5 } }, @@ -13416,58 +15784,58 @@ }, { "type": "JSXElement", - "start": 1907, - "end": 1954, + "start": 2354, + "end": 2401, "loc": { "start": { - "line": 102, + "line": 124, "column": 5 }, "end": { - "line": 102, + "line": 124, "column": 52 } }, "openingElement": { "type": "JSXOpeningElement", - "start": 1907, - "end": 1933, + "start": 2354, + "end": 2380, "loc": { "start": { - "line": 102, + "line": 124, "column": 5 }, "end": { - "line": 102, + "line": 124, "column": 31 } }, "attributes": [ { "type": "JSXAttribute", - "start": 1911, - "end": 1932, + "start": 2358, + "end": 2379, "loc": { "start": { - "line": 102, + "line": 124, "column": 9 }, "end": { - "line": 102, + "line": 124, "column": 30 } }, "name": { "type": "JSXIdentifier", - "start": 1911, - "end": 1920, + "start": 2358, + "end": 2367, "loc": { "start": { - "line": 102, + "line": 124, "column": 9 }, "end": { - "line": 102, + "line": 124, "column": 18 } }, @@ -13475,15 +15843,15 @@ }, "value": { "type": "StringLiteral", - "start": 1921, - "end": 1932, + "start": 2368, + "end": 2379, "loc": { "start": { - "line": 102, + "line": 124, "column": 19 }, "end": { - "line": 102, + "line": 124, "column": 30 } }, @@ -13494,15 +15862,15 @@ ], "name": { "type": "JSXIdentifier", - "start": 1908, - "end": 1910, + "start": 2355, + "end": 2357, "loc": { "start": { - "line": 102, + "line": 124, "column": 6 }, "end": { - "line": 102, + "line": 124, "column": 8 } }, @@ -13512,29 +15880,29 @@ }, "closingElement": { "type": "JSXClosingElement", - "start": 1949, - "end": 1954, + "start": 2396, + "end": 2401, "loc": { "start": { - "line": 102, + "line": 124, "column": 47 }, "end": { - "line": 102, + "line": 124, "column": 52 } }, "name": { "type": "JSXIdentifier", - "start": 1951, - "end": 1953, + "start": 2398, + "end": 2400, "loc": { "start": { - "line": 102, + "line": 124, "column": 49 }, "end": { - "line": 102, + "line": 124, "column": 51 } }, @@ -13544,34 +15912,596 @@ "children": [ { "type": "JSXText", - "start": 1933, - "end": 1949, + "start": 2380, + "end": 2396, + "loc": { + "start": { + "line": 124, + "column": 31 + }, + "end": { + "line": 124, + "column": 47 + } + }, + "extra": null, + "value": "Welcome to React" + } + ] + }, + { + "type": "JSXText", + "start": 2401, + "end": 2406, + "loc": { + "start": { + "line": 124, + "column": 52 + }, + "end": { + "line": 125, + "column": 4 + } + }, + "extra": null, + "value": "\n\t\t\t\t" + } + ] + }, + { + "type": "JSXText", + "start": 2415, + "end": 2422, + "loc": { + "start": { + "line": 125, + "column": 13 + }, + "end": { + "line": 128, + "column": 4 + } + }, + "extra": null, + "value": "\n\n\n\t\t\t\t" + }, + { + "type": "JSXElement", + "start": 2422, + "end": 2588, + "loc": { + "start": { + "line": 128, + "column": 4 + }, + "end": { + "line": 134, + "column": 10 + } + }, + "openingElement": { + "type": "JSXOpeningElement", + "start": 2422, + "end": 2427, + "loc": { + "start": { + "line": 128, + "column": 4 + }, + "end": { + "line": 128, + "column": 9 + } + }, + "attributes": [], + "name": { + "type": "JSXIdentifier", + "start": 2423, + "end": 2426, + "loc": { + "start": { + "line": 128, + "column": 5 + }, + "end": { + "line": 128, + "column": 8 + } + }, + "name": "div" + }, + "selfClosing": false + }, + "closingElement": { + "type": "JSXClosingElement", + "start": 2582, + "end": 2588, + "loc": { + "start": { + "line": 134, + "column": 4 + }, + "end": { + "line": 134, + "column": 10 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 2584, + "end": 2587, + "loc": { + "start": { + "line": 134, + "column": 6 + }, + "end": { + "line": 134, + "column": 9 + } + }, + "name": "div" + } + }, + "children": [ + { + "type": "JSXText", + "start": 2427, + "end": 2433, + "loc": { + "start": { + "line": 128, + "column": 9 + }, + "end": { + "line": 129, + "column": 5 + } + }, + "extra": null, + "value": "\n\t\t\t\t\t" + }, + { + "type": "JSXElement", + "start": 2433, + "end": 2476, + "loc": { + "start": { + "line": 129, + "column": 5 + }, + "end": { + "line": 129, + "column": 48 + } + }, + "openingElement": { + "type": "JSXOpeningElement", + "start": 2433, + "end": 2437, + "loc": { + "start": { + "line": 129, + "column": 5 + }, + "end": { + "line": 129, + "column": 9 + } + }, + "attributes": [], + "name": { + "type": "JSXIdentifier", + "start": 2434, + "end": 2436, + "loc": { + "start": { + "line": 129, + "column": 6 + }, + "end": { + "line": 129, + "column": 8 + } + }, + "name": "h2" + }, + "selfClosing": false + }, + "closingElement": { + "type": "JSXClosingElement", + "start": 2471, + "end": 2476, + "loc": { + "start": { + "line": 129, + "column": 43 + }, + "end": { + "line": 129, + "column": 48 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 2473, + "end": 2475, + "loc": { + "start": { + "line": 129, + "column": 45 + }, + "end": { + "line": 129, + "column": 47 + } + }, + "name": "h2" + } + }, + "children": [ + { + "type": "JSXText", + "start": 2437, + "end": 2471, + "loc": { + "start": { + "line": 129, + "column": 9 + }, + "end": { + "line": 129, + "column": 43 + } + }, + "extra": null, + "value": "Created With RenderGroup Component" + } + ] + }, + { + "type": "JSXText", + "start": 2476, + "end": 2482, + "loc": { + "start": { + "line": 129, + "column": 48 + }, + "end": { + "line": 130, + "column": 5 + } + }, + "extra": null, + "value": "\n\t\t\t\t\t" + }, + { + "type": "JSXElement", + "start": 2482, + "end": 2577, + "loc": { + "start": { + "line": 130, + "column": 5 + }, + "end": { + "line": 133, + "column": 7 + } + }, + "openingElement": { + "type": "JSXOpeningElement", + "start": 2482, + "end": 2577, + "loc": { + "start": { + "line": 130, + "column": 5 + }, + "end": { + "line": 133, + "column": 7 + } + }, + "attributes": [ + { + "type": "JSXAttribute", + "start": 2501, + "end": 2528, + "loc": { + "start": { + "line": 131, + "column": 6 + }, + "end": { + "line": 131, + "column": 33 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 2501, + "end": 2513, + "loc": { + "start": { + "line": 131, + "column": 6 + }, + "end": { + "line": 131, + "column": 18 + } + }, + "name": "configFields" + }, + "value": { + "type": "JSXExpressionContainer", + "start": 2514, + "end": 2528, + "loc": { + "start": { + "line": 131, + "column": 19 + }, + "end": { + "line": 131, + "column": 33 + } + }, + "expression": { + "type": "Identifier", + "start": 2515, + "end": 2527, + "loc": { + "start": { + "line": 131, + "column": 20 + }, + "end": { + "line": 131, + "column": 32 + }, + "identifierName": "configFields" + }, + "name": "configFields" + } + } + }, + { + "type": "JSXAttribute", + "start": 2535, + "end": 2569, + "loc": { + "start": { + "line": 132, + "column": 6 + }, + "end": { + "line": 132, + "column": 40 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 2535, + "end": 2541, + "loc": { + "start": { + "line": 132, + "column": 6 + }, + "end": { + "line": 132, + "column": 12 + } + }, + "name": "onBlur" + }, + "value": { + "type": "JSXExpressionContainer", + "start": 2542, + "end": 2569, + "loc": { + "start": { + "line": 132, + "column": 13 + }, + "end": { + "line": 132, + "column": 40 + } + }, + "expression": { + "type": "ArrowFunctionExpression", + "start": 2543, + "end": 2568, + "loc": { + "start": { + "line": 132, + "column": 14 + }, + "end": { + "line": 132, + "column": 39 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2544, + "end": 2546, + "loc": { + "start": { + "line": 132, + "column": 15 + }, + "end": { + "line": 132, + "column": 17 + }, + "identifierName": "fI" + }, + "name": "fI" + } + ], + "body": { + "type": "BlockStatement", + "start": 2551, + "end": 2568, + "loc": { + "start": { + "line": 132, + "column": 22 + }, + "end": { + "line": 132, + "column": 39 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2552, + "end": 2567, + "loc": { + "start": { + "line": 132, + "column": 23 + }, + "end": { + "line": 132, + "column": 38 + } + }, + "expression": { + "type": "CallExpression", + "start": 2552, + "end": 2567, + "loc": { + "start": { + "line": 132, + "column": 23 + }, + "end": { + "line": 132, + "column": 38 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2552, + "end": 2563, + "loc": { + "start": { + "line": 132, + "column": 23 + }, + "end": { + "line": 132, + "column": 34 + } + }, + "object": { + "type": "Identifier", + "start": 2552, + "end": 2559, + "loc": { + "start": { + "line": 132, + "column": 23 + }, + "end": { + "line": 132, + "column": 30 + }, + "identifierName": "console" + }, + "name": "console" + }, + "property": { + "type": "Identifier", + "start": 2560, + "end": 2563, + "loc": { + "start": { + "line": 132, + "column": 31 + }, + "end": { + "line": 132, + "column": 34 + }, + "identifierName": "log" + }, + "name": "log" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2564, + "end": 2566, + "loc": { + "start": { + "line": 132, + "column": 35 + }, + "end": { + "line": 132, + "column": 37 + }, + "identifierName": "fI" + }, + "name": "fI" + } + ] + } + } + ], + "directives": [] + } + } + } + } + ], + "name": { + "type": "JSXIdentifier", + "start": 2483, + "end": 2494, "loc": { "start": { - "line": 102, - "column": 31 + "line": 130, + "column": 6 }, "end": { - "line": 102, - "column": 47 + "line": 130, + "column": 17 } }, - "extra": null, - "value": "Welcome to React" - } - ] + "name": "RenderGroup" + }, + "selfClosing": true + }, + "closingElement": null, + "children": [] }, { "type": "JSXText", - "start": 1954, - "end": 1959, + "start": 2577, + "end": 2582, "loc": { "start": { - "line": 102, - "column": 52 + "line": 133, + "column": 7 }, "end": { - "line": 103, + "line": 134, "column": 4 } }, @@ -13582,61 +16512,61 @@ }, { "type": "JSXText", - "start": 1968, - "end": 1975, + "start": 2588, + "end": 2594, "loc": { "start": { - "line": 103, - "column": 13 + "line": 134, + "column": 10 }, "end": { - "line": 106, + "line": 136, "column": 4 } }, "extra": null, - "value": "\n\n\n\t\t\t\t" + "value": "\n\n\t\t\t\t" }, { "type": "JSXElement", - "start": 1975, - "end": 2141, + "start": 2594, + "end": 2813, "loc": { "start": { - "line": 106, + "line": 136, "column": 4 }, "end": { - "line": 112, + "line": 146, "column": 10 } }, "openingElement": { "type": "JSXOpeningElement", - "start": 1975, - "end": 1980, + "start": 2594, + "end": 2599, "loc": { "start": { - "line": 106, + "line": 136, "column": 4 }, "end": { - "line": 106, + "line": 136, "column": 9 } }, "attributes": [], "name": { "type": "JSXIdentifier", - "start": 1976, - "end": 1979, + "start": 2595, + "end": 2598, "loc": { "start": { - "line": 106, + "line": 136, "column": 5 }, "end": { - "line": 106, + "line": 136, "column": 8 } }, @@ -13646,29 +16576,29 @@ }, "closingElement": { "type": "JSXClosingElement", - "start": 2135, - "end": 2141, + "start": 2807, + "end": 2813, "loc": { "start": { - "line": 112, + "line": 146, "column": 4 }, "end": { - "line": 112, + "line": 146, "column": 10 } }, "name": { "type": "JSXIdentifier", - "start": 2137, - "end": 2140, + "start": 2809, + "end": 2812, "loc": { "start": { - "line": 112, + "line": 146, "column": 6 }, "end": { - "line": 112, + "line": 146, "column": 9 } }, @@ -13678,15 +16608,15 @@ "children": [ { "type": "JSXText", - "start": 1980, - "end": 1986, + "start": 2599, + "end": 2605, "loc": { "start": { - "line": 106, + "line": 136, "column": 9 }, "end": { - "line": 107, + "line": 137, "column": 5 } }, @@ -13695,44 +16625,44 @@ }, { "type": "JSXElement", - "start": 1986, - "end": 2029, + "start": 2605, + "end": 2634, "loc": { "start": { - "line": 107, + "line": 137, "column": 5 }, "end": { - "line": 107, - "column": 48 + "line": 137, + "column": 34 } }, "openingElement": { "type": "JSXOpeningElement", - "start": 1986, - "end": 1990, + "start": 2605, + "end": 2609, "loc": { "start": { - "line": 107, + "line": 137, "column": 5 }, "end": { - "line": 107, + "line": 137, "column": 9 } }, "attributes": [], "name": { "type": "JSXIdentifier", - "start": 1987, - "end": 1989, + "start": 2606, + "end": 2608, "loc": { "start": { - "line": 107, + "line": 137, "column": 6 }, "end": { - "line": 107, + "line": 137, "column": 8 } }, @@ -13742,30 +16672,30 @@ }, "closingElement": { "type": "JSXClosingElement", - "start": 2024, - "end": 2029, + "start": 2629, + "end": 2634, "loc": { "start": { - "line": 107, - "column": 43 + "line": 137, + "column": 29 }, "end": { - "line": 107, - "column": 48 + "line": 137, + "column": 34 } }, "name": { "type": "JSXIdentifier", - "start": 2026, - "end": 2028, + "start": 2631, + "end": 2633, "loc": { "start": { - "line": 107, - "column": 45 + "line": 137, + "column": 31 }, "end": { - "line": 107, - "column": 47 + "line": 137, + "column": 33 } }, "name": "h2" @@ -13774,34 +16704,34 @@ "children": [ { "type": "JSXText", - "start": 1990, - "end": 2024, + "start": 2609, + "end": 2629, "loc": { "start": { - "line": 107, + "line": 137, "column": 9 }, "end": { - "line": 107, - "column": 43 + "line": 137, + "column": 29 } }, "extra": null, - "value": "Created With RenderGroup Component" + "value": "Created With Factory" } ] }, { "type": "JSXText", - "start": 2029, - "end": 2035, + "start": 2634, + "end": 2640, "loc": { "start": { - "line": 107, - "column": 48 + "line": 137, + "column": 34 }, "end": { - "line": 108, + "line": 138, "column": 5 } }, @@ -13809,331 +16739,456 @@ "value": "\n\t\t\t\t\t" }, { - "type": "JSXElement", - "start": 2035, - "end": 2130, + "type": "JSXExpressionContainer", + "start": 2640, + "end": 2802, "loc": { "start": { - "line": 108, + "line": 138, "column": 5 }, "end": { - "line": 111, - "column": 7 + "line": 145, + "column": 8 } }, - "openingElement": { - "type": "JSXOpeningElement", - "start": 2035, - "end": 2130, + "expression": { + "type": "CallExpression", + "start": 2641, + "end": 2801, "loc": { "start": { - "line": 108, - "column": 5 + "line": 138, + "column": 6 }, "end": { - "line": 111, + "line": 145, "column": 7 } }, - "attributes": [ - { - "type": "JSXAttribute", - "start": 2054, - "end": 2081, + "callee": { + "type": "MemberExpression", + "start": 2641, + "end": 2671, + "loc": { + "start": { + "line": 138, + "column": 6 + }, + "end": { + "line": 138, + "column": 36 + } + }, + "object": { + "type": "CallExpression", + "start": 2641, + "end": 2667, "loc": { "start": { - "line": 109, + "line": 138, "column": 6 }, "end": { - "line": 109, - "column": 33 + "line": 138, + "column": 32 } }, - "name": { - "type": "JSXIdentifier", - "start": 2054, - "end": 2066, + "callee": { + "type": "MemberExpression", + "start": 2641, + "end": 2651, "loc": { "start": { - "line": 109, + "line": 138, "column": 6 }, "end": { - "line": 109, - "column": 18 + "line": 138, + "column": 16 } }, - "name": "configFields" - }, - "value": { - "type": "JSXExpressionContainer", - "start": 2067, - "end": 2081, - "loc": { - "start": { - "line": 109, - "column": 19 + "object": { + "type": "Identifier", + "start": 2641, + "end": 2646, + "loc": { + "start": { + "line": 138, + "column": 6 + }, + "end": { + "line": 138, + "column": 11 + }, + "identifierName": "Array" }, - "end": { - "line": 109, - "column": 33 - } + "name": "Array" }, - "expression": { + "property": { "type": "Identifier", - "start": 2068, - "end": 2080, + "start": 2647, + "end": 2651, "loc": { "start": { - "line": 109, - "column": 20 + "line": 138, + "column": 12 }, "end": { - "line": 109, - "column": 32 + "line": 138, + "column": 16 }, - "identifierName": "configFields" + "identifierName": "from" }, - "name": "configFields" + "name": "from" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2652, + "end": 2666, + "loc": { + "start": { + "line": 138, + "column": 17 + }, + "end": { + "line": 138, + "column": 31 + }, + "identifierName": "configFieldEls" + }, + "name": "configFieldEls" } - } + ] + }, + "property": { + "type": "Identifier", + "start": 2668, + "end": 2671, + "loc": { + "start": { + "line": 138, + "column": 33 + }, + "end": { + "line": 138, + "column": 36 + }, + "identifierName": "map" + }, + "name": "map" }, + "computed": false + }, + "arguments": [ { - "type": "JSXAttribute", - "start": 2088, - "end": 2122, + "type": "ArrowFunctionExpression", + "start": 2672, + "end": 2800, "loc": { "start": { - "line": 110, - "column": 6 + "line": 138, + "column": 37 }, "end": { - "line": 110, - "column": 40 + "line": 145, + "column": 6 } }, - "name": { - "type": "JSXIdentifier", - "start": 2088, - "end": 2094, - "loc": { - "start": { - "line": 110, - "column": 6 + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2673, + "end": 2678, + "loc": { + "start": { + "line": 138, + "column": 38 + }, + "end": { + "line": 138, + "column": 43 + }, + "identifierName": "field" }, - "end": { - "line": 110, - "column": 12 - } + "name": "field" }, - "name": "onBlur" - }, - "value": { - "type": "JSXExpressionContainer", - "start": 2095, - "end": 2122, + { + "type": "Identifier", + "start": 2679, + "end": 2680, + "loc": { + "start": { + "line": 138, + "column": 44 + }, + "end": { + "line": 138, + "column": 45 + }, + "identifierName": "i" + }, + "name": "i" + } + ], + "body": { + "type": "BlockStatement", + "start": 2685, + "end": 2800, "loc": { "start": { - "line": 110, - "column": 13 + "line": 138, + "column": 50 }, "end": { - "line": 110, - "column": 40 + "line": 145, + "column": 6 } }, - "expression": { - "type": "ArrowFunctionExpression", - "start": 2096, - "end": 2121, - "loc": { - "start": { - "line": 110, - "column": 14 - }, - "end": { - "line": 110, - "column": 39 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 2097, - "end": 2099, - "loc": { - "start": { - "line": 110, - "column": 15 - }, - "end": { - "line": 110, - "column": 17 - }, - "identifierName": "fI" - }, - "name": "fI" - } - ], - "body": { - "type": "BlockStatement", - "start": 2104, - "end": 2121, + "body": [ + { + "type": "ReturnStatement", + "start": 2693, + "end": 2793, "loc": { "start": { - "line": 110, - "column": 22 + "line": 139, + "column": 6 }, "end": { - "line": 110, - "column": 39 + "line": 144, + "column": 8 } }, - "body": [ - { - "type": "ExpressionStatement", - "start": 2105, - "end": 2120, + "argument": { + "type": "CallExpression", + "start": 2700, + "end": 2792, + "loc": { + "start": { + "line": 139, + "column": 13 + }, + "end": { + "line": 144, + "column": 7 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2700, + "end": 2719, "loc": { "start": { - "line": 110, - "column": 23 + "line": 139, + "column": 13 }, "end": { - "line": 110, - "column": 38 + "line": 139, + "column": 32 } }, - "expression": { - "type": "CallExpression", - "start": 2105, - "end": 2120, + "object": { + "type": "Identifier", + "start": 2700, + "end": 2705, "loc": { "start": { - "line": 110, - "column": 23 + "line": 139, + "column": 13 }, "end": { - "line": 110, - "column": 38 + "line": 139, + "column": 18 + }, + "identifierName": "React" + }, + "name": "React" + }, + "property": { + "type": "Identifier", + "start": 2706, + "end": 2719, + "loc": { + "start": { + "line": 139, + "column": 19 + }, + "end": { + "line": 139, + "column": 32 + }, + "identifierName": "createElement" + }, + "name": "createElement" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 2728, + "end": 2742, + "loc": { + "start": { + "line": 140, + "column": 7 + }, + "end": { + "line": 140, + "column": 21 } }, - "callee": { - "type": "MemberExpression", - "start": 2105, - "end": 2116, + "object": { + "type": "Identifier", + "start": 2728, + "end": 2733, "loc": { "start": { - "line": 110, - "column": 23 + "line": 140, + "column": 7 }, "end": { - "line": 110, - "column": 34 - } - }, - "object": { - "type": "Identifier", - "start": 2105, - "end": 2112, - "loc": { - "start": { - "line": 110, - "column": 23 - }, - "end": { - "line": 110, - "column": 30 - }, - "identifierName": "console" + "line": 140, + "column": 12 }, - "name": "console" + "identifierName": "React" }, - "property": { - "type": "Identifier", - "start": 2113, - "end": 2116, - "loc": { - "start": { - "line": 110, - "column": 31 - }, - "end": { - "line": 110, - "column": 34 - }, - "identifierName": "log" + "name": "React" + }, + "property": { + "type": "Identifier", + "start": 2734, + "end": 2742, + "loc": { + "start": { + "line": 140, + "column": 13 }, - "name": "log" + "end": { + "line": 140, + "column": 21 + }, + "identifierName": "Fragment" }, - "computed": false + "name": "Fragment" }, - "arguments": [ + "computed": false + }, + { + "type": "ObjectExpression", + "start": 2744, + "end": 2770, + "loc": { + "start": { + "line": 140, + "column": 23 + }, + "end": { + "line": 142, + "column": 8 + } + }, + "properties": [ { - "type": "Identifier", - "start": 2117, - "end": 2119, + "type": "ObjectProperty", + "start": 2754, + "end": 2760, "loc": { "start": { - "line": 110, - "column": 35 + "line": 141, + "column": 8 }, "end": { - "line": 110, - "column": 37 + "line": 141, + "column": 14 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2754, + "end": 2757, + "loc": { + "start": { + "line": 141, + "column": 8 + }, + "end": { + "line": 141, + "column": 11 + }, + "identifierName": "key" }, - "identifierName": "fI" + "name": "key" }, - "name": "fI" + "value": { + "type": "Identifier", + "start": 2759, + "end": 2760, + "loc": { + "start": { + "line": 141, + "column": 13 + }, + "end": { + "line": 141, + "column": 14 + }, + "identifierName": "i" + }, + "name": "i" + } } ] + }, + { + "type": "Identifier", + "start": 2779, + "end": 2784, + "loc": { + "start": { + "line": 143, + "column": 7 + }, + "end": { + "line": 143, + "column": 12 + }, + "identifierName": "field" + }, + "name": "field" } - } - ], - "directives": [] + ] + } } - } + ], + "directives": [] } } - ], - "name": { - "type": "JSXIdentifier", - "start": 2036, - "end": 2047, - "loc": { - "start": { - "line": 108, - "column": 6 - }, - "end": { - "line": 108, - "column": 17 - } - }, - "name": "RenderGroup" - }, - "selfClosing": true - }, - "closingElement": null, - "children": [] + ] + } }, { "type": "JSXText", - "start": 2130, - "end": 2135, + "start": 2802, + "end": 2807, "loc": { "start": { - "line": 111, - "column": 7 + "line": 145, + "column": 8 }, "end": { - "line": 112, + "line": 146, "column": 4 } }, @@ -14144,15 +17199,15 @@ }, { "type": "JSXText", - "start": 2141, - "end": 2147, + "start": 2813, + "end": 2819, "loc": { "start": { - "line": 112, + "line": 146, "column": 10 }, "end": { - "line": 114, + "line": 148, "column": 4 } }, @@ -14161,44 +17216,44 @@ }, { "type": "JSXElement", - "start": 2147, - "end": 2366, + "start": 2819, + "end": 3448, "loc": { "start": { - "line": 114, + "line": 148, "column": 4 }, "end": { - "line": 124, + "line": 179, "column": 10 } }, "openingElement": { "type": "JSXOpeningElement", - "start": 2147, - "end": 2152, + "start": 2819, + "end": 2824, "loc": { "start": { - "line": 114, + "line": 148, "column": 4 }, "end": { - "line": 114, + "line": 148, "column": 9 } }, "attributes": [], "name": { "type": "JSXIdentifier", - "start": 2148, - "end": 2151, + "start": 2820, + "end": 2823, "loc": { "start": { - "line": 114, + "line": 148, "column": 5 }, "end": { - "line": 114, + "line": 148, "column": 8 } }, @@ -14208,29 +17263,29 @@ }, "closingElement": { "type": "JSXClosingElement", - "start": 2360, - "end": 2366, + "start": 3442, + "end": 3448, "loc": { "start": { - "line": 124, + "line": 179, "column": 4 }, "end": { - "line": 124, + "line": 179, "column": 10 } }, "name": { "type": "JSXIdentifier", - "start": 2362, - "end": 2365, + "start": 3444, + "end": 3447, "loc": { "start": { - "line": 124, + "line": 179, "column": 6 }, "end": { - "line": 124, + "line": 179, "column": 9 } }, @@ -14240,15 +17295,15 @@ "children": [ { "type": "JSXText", - "start": 2152, - "end": 2158, + "start": 2824, + "end": 2830, "loc": { "start": { - "line": 114, + "line": 148, "column": 9 }, "end": { - "line": 115, + "line": 149, "column": 5 } }, @@ -14257,44 +17312,44 @@ }, { "type": "JSXElement", - "start": 2158, - "end": 2187, + "start": 2830, + "end": 2851, "loc": { "start": { - "line": 115, + "line": 149, "column": 5 }, "end": { - "line": 115, - "column": 34 + "line": 149, + "column": 26 } }, "openingElement": { "type": "JSXOpeningElement", - "start": 2158, - "end": 2162, + "start": 2830, + "end": 2834, "loc": { "start": { - "line": 115, + "line": 149, "column": 5 }, "end": { - "line": 115, + "line": 149, "column": 9 } }, "attributes": [], "name": { "type": "JSXIdentifier", - "start": 2159, - "end": 2161, + "start": 2831, + "end": 2833, "loc": { "start": { - "line": 115, + "line": 149, "column": 6 }, "end": { - "line": 115, + "line": 149, "column": 8 } }, @@ -14304,30 +17359,30 @@ }, "closingElement": { "type": "JSXClosingElement", - "start": 2182, - "end": 2187, + "start": 2846, + "end": 2851, "loc": { "start": { - "line": 115, - "column": 29 + "line": 149, + "column": 21 }, "end": { - "line": 115, - "column": 34 + "line": 149, + "column": 26 } }, "name": { "type": "JSXIdentifier", - "start": 2184, - "end": 2186, + "start": 2848, + "end": 2850, "loc": { "start": { - "line": 115, - "column": 31 + "line": 149, + "column": 23 }, "end": { - "line": 115, - "column": 33 + "line": 149, + "column": 25 } }, "name": "h2" @@ -14336,34 +17391,34 @@ "children": [ { "type": "JSXText", - "start": 2162, - "end": 2182, + "start": 2834, + "end": 2846, "loc": { "start": { - "line": 115, + "line": 149, "column": 9 }, "end": { - "line": 115, - "column": 29 + "line": 149, + "column": 21 } }, "extra": null, - "value": "Created With Factory" + "value": "Magic Select" } ] }, { "type": "JSXText", - "start": 2187, - "end": 2193, + "start": 2851, + "end": 2857, "loc": { "start": { - "line": 115, - "column": 34 + "line": 149, + "column": 26 }, "end": { - "line": 116, + "line": 150, "column": 5 } }, @@ -14371,456 +17426,1125 @@ "value": "\n\t\t\t\t\t" }, { - "type": "JSXExpressionContainer", - "start": 2193, - "end": 2355, + "type": "JSXElement", + "start": 2857, + "end": 3437, "loc": { "start": { - "line": 116, + "line": 150, "column": 5 }, "end": { - "line": 123, - "column": 8 + "line": 178, + "column": 7 } }, - "expression": { - "type": "CallExpression", - "start": 2194, - "end": 2354, + "openingElement": { + "type": "JSXOpeningElement", + "start": 2857, + "end": 3437, "loc": { "start": { - "line": 116, - "column": 6 + "line": 150, + "column": 5 }, "end": { - "line": 123, + "line": 178, "column": 7 } }, - "callee": { - "type": "MemberExpression", - "start": 2194, - "end": 2224, - "loc": { - "start": { - "line": 116, - "column": 6 + "attributes": [ + { + "type": "JSXAttribute", + "start": 2880, + "end": 2894, + "loc": { + "start": { + "line": 151, + "column": 6 + }, + "end": { + "line": 151, + "column": 20 + } }, - "end": { - "line": 116, - "column": 36 + "name": { + "type": "JSXIdentifier", + "start": 2880, + "end": 2882, + "loc": { + "start": { + "line": 151, + "column": 6 + }, + "end": { + "line": 151, + "column": 8 + } + }, + "name": "id" + }, + "value": { + "type": "JSXExpressionContainer", + "start": 2883, + "end": 2894, + "loc": { + "start": { + "line": 151, + "column": 9 + }, + "end": { + "line": 151, + "column": 20 + } + }, + "expression": { + "type": "StringLiteral", + "start": 2884, + "end": 2893, + "loc": { + "start": { + "line": 151, + "column": 10 + }, + "end": { + "line": 151, + "column": 19 + } + }, + "extra": { + "rawValue": "magic-5", + "raw": "'magic-5'" + }, + "value": "magic-5" + } } }, - "object": { - "type": "CallExpression", - "start": 2194, - "end": 2220, + { + "type": "JSXAttribute", + "start": 2901, + "end": 2925, "loc": { "start": { - "line": 116, + "line": 152, "column": 6 }, "end": { - "line": 116, - "column": 32 + "line": 152, + "column": 30 } }, - "callee": { - "type": "MemberExpression", - "start": 2194, - "end": 2204, + "name": { + "type": "JSXIdentifier", + "start": 2901, + "end": 2915, "loc": { "start": { - "line": 116, + "line": 152, "column": 6 }, "end": { - "line": 116, - "column": 16 + "line": 152, + "column": 20 } }, - "object": { - "type": "Identifier", - "start": 2194, - "end": 2199, + "name": "fieldClassName" + }, + "value": { + "type": "JSXExpressionContainer", + "start": 2916, + "end": 2925, + "loc": { + "start": { + "line": 152, + "column": 21 + }, + "end": { + "line": 152, + "column": 30 + } + }, + "expression": { + "type": "StringLiteral", + "start": 2917, + "end": 2924, "loc": { "start": { - "line": 116, - "column": 6 + "line": 152, + "column": 22 }, "end": { - "line": 116, - "column": 11 - }, - "identifierName": "Array" + "line": 152, + "column": 29 + } }, - "name": "Array" + "extra": { + "rawValue": "magic", + "raw": "'magic'" + }, + "value": "magic" + } + } + }, + { + "type": "JSXAttribute", + "start": 2932, + "end": 3007, + "loc": { + "start": { + "line": 153, + "column": 6 }, - "property": { - "type": "Identifier", - "start": 2200, - "end": 2204, + "end": { + "line": 155, + "column": 9 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 2932, + "end": 2945, + "loc": { + "start": { + "line": 153, + "column": 6 + }, + "end": { + "line": 153, + "column": 19 + } + }, + "name": "onValueChange" + }, + "value": { + "type": "JSXExpressionContainer", + "start": 2946, + "end": 3007, + "loc": { + "start": { + "line": 153, + "column": 20 + }, + "end": { + "line": 155, + "column": 9 + } + }, + "expression": { + "type": "ArrowFunctionExpression", + "start": 2947, + "end": 3005, "loc": { "start": { - "line": 116, - "column": 12 + "line": 153, + "column": 21 }, "end": { - "line": 116, - "column": 16 + "line": 155, + "column": 7 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2948, + "end": 2956, + "loc": { + "start": { + "line": 153, + "column": 22 + }, + "end": { + "line": 153, + "column": 30 + }, + "identifierName": "newValue" + }, + "name": "newValue" + } + ], + "body": { + "type": "BlockStatement", + "start": 2961, + "end": 3005, + "loc": { + "start": { + "line": 153, + "column": 35 + }, + "end": { + "line": 155, + "column": 7 + } }, - "identifierName": "from" + "body": [ + { + "type": "ExpressionStatement", + "start": 2970, + "end": 2997, + "loc": { + "start": { + "line": 154, + "column": 7 + }, + "end": { + "line": 154, + "column": 34 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2970, + "end": 2996, + "loc": { + "start": { + "line": 154, + "column": 7 + }, + "end": { + "line": 154, + "column": 33 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 2970, + "end": 2985, + "loc": { + "start": { + "line": 154, + "column": 7 + }, + "end": { + "line": 154, + "column": 22 + }, + "identifierName": "magicFieldValue" + }, + "name": "magicFieldValue" + }, + "right": { + "type": "Identifier", + "start": 2988, + "end": 2996, + "loc": { + "start": { + "line": 154, + "column": 25 + }, + "end": { + "line": 154, + "column": 33 + }, + "identifierName": "newValue" + }, + "name": "newValue" + } + } + } + ], + "directives": [] + } + } + } + }, + { + "type": "JSXAttribute", + "start": 3014, + "end": 3259, + "loc": { + "start": { + "line": 156, + "column": 6 + }, + "end": { + "line": 169, + "column": 8 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 3014, + "end": 3024, + "loc": { + "start": { + "line": 156, + "column": 6 }, - "name": "from" + "end": { + "line": 156, + "column": 16 + } }, - "computed": false + "name": "fieldsList" }, - "arguments": [ - { - "type": "Identifier", - "start": 2205, - "end": 2219, + "value": { + "type": "JSXExpressionContainer", + "start": 3025, + "end": 3259, + "loc": { + "start": { + "line": 156, + "column": 17 + }, + "end": { + "line": 169, + "column": 8 + } + }, + "expression": { + "type": "ArrayExpression", + "start": 3026, + "end": 3258, "loc": { "start": { - "line": 116, - "column": 17 + "line": 156, + "column": 18 }, "end": { - "line": 116, - "column": 31 - }, - "identifierName": "configFieldEls" + "line": 169, + "column": 7 + } }, - "name": "configFieldEls" + "elements": [ + { + "type": "ObjectExpression", + "start": 3035, + "end": 3099, + "loc": { + "start": { + "line": 157, + "column": 7 + }, + "end": { + "line": 160, + "column": 8 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 3045, + "end": 3063, + "loc": { + "start": { + "line": 158, + "column": 8 + }, + "end": { + "line": 158, + "column": 26 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3045, + "end": 3050, + "loc": { + "start": { + "line": 158, + "column": 8 + }, + "end": { + "line": 158, + "column": 13 + }, + "identifierName": "label" + }, + "name": "label" + }, + "value": { + "type": "StringLiteral", + "start": 3052, + "end": 3063, + "loc": { + "start": { + "line": 158, + "column": 15 + }, + "end": { + "line": 158, + "column": 26 + } + }, + "extra": { + "rawValue": "Field One", + "raw": "'Field One'" + }, + "value": "Field One" + } + }, + { + "type": "ObjectProperty", + "start": 3073, + "end": 3090, + "loc": { + "start": { + "line": 159, + "column": 8 + }, + "end": { + "line": 159, + "column": 25 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3073, + "end": 3078, + "loc": { + "start": { + "line": 159, + "column": 8 + }, + "end": { + "line": 159, + "column": 13 + }, + "identifierName": "value" + }, + "name": "value" + }, + "value": { + "type": "StringLiteral", + "start": 3080, + "end": 3090, + "loc": { + "start": { + "line": 159, + "column": 15 + }, + "end": { + "line": 159, + "column": 25 + } + }, + "extra": { + "rawValue": "%fldOne%", + "raw": "'%fldOne%'" + }, + "value": "%fldOne%" + } + } + ] + }, + { + "type": "ObjectExpression", + "start": 3108, + "end": 3172, + "loc": { + "start": { + "line": 161, + "column": 7 + }, + "end": { + "line": 164, + "column": 8 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 3118, + "end": 3136, + "loc": { + "start": { + "line": 162, + "column": 8 + }, + "end": { + "line": 162, + "column": 26 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3118, + "end": 3123, + "loc": { + "start": { + "line": 162, + "column": 8 + }, + "end": { + "line": 162, + "column": 13 + }, + "identifierName": "label" + }, + "name": "label" + }, + "value": { + "type": "StringLiteral", + "start": 3125, + "end": 3136, + "loc": { + "start": { + "line": 162, + "column": 15 + }, + "end": { + "line": 162, + "column": 26 + } + }, + "extra": { + "rawValue": "Field Two", + "raw": "'Field Two'" + }, + "value": "Field Two" + } + }, + { + "type": "ObjectProperty", + "start": 3146, + "end": 3163, + "loc": { + "start": { + "line": 163, + "column": 8 + }, + "end": { + "line": 163, + "column": 25 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3146, + "end": 3151, + "loc": { + "start": { + "line": 163, + "column": 8 + }, + "end": { + "line": 163, + "column": 13 + }, + "identifierName": "value" + }, + "name": "value" + }, + "value": { + "type": "StringLiteral", + "start": 3153, + "end": 3163, + "loc": { + "start": { + "line": 163, + "column": 15 + }, + "end": { + "line": 163, + "column": 25 + } + }, + "extra": { + "rawValue": "%fldTwo%", + "raw": "'%fldTwo%'" + }, + "value": "%fldTwo%" + } + } + ] + }, + { + "type": "ObjectExpression", + "start": 3181, + "end": 3249, + "loc": { + "start": { + "line": 165, + "column": 7 + }, + "end": { + "line": 168, + "column": 8 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 3191, + "end": 3211, + "loc": { + "start": { + "line": 166, + "column": 8 + }, + "end": { + "line": 166, + "column": 28 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3191, + "end": 3196, + "loc": { + "start": { + "line": 166, + "column": 8 + }, + "end": { + "line": 166, + "column": 13 + }, + "identifierName": "label" + }, + "name": "label" + }, + "value": { + "type": "StringLiteral", + "start": 3198, + "end": 3211, + "loc": { + "start": { + "line": 166, + "column": 15 + }, + "end": { + "line": 166, + "column": 28 + } + }, + "extra": { + "rawValue": "Field Three", + "raw": "'Field Three'" + }, + "value": "Field Three" + } + }, + { + "type": "ObjectProperty", + "start": 3221, + "end": 3240, + "loc": { + "start": { + "line": 167, + "column": 8 + }, + "end": { + "line": 167, + "column": 27 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3221, + "end": 3226, + "loc": { + "start": { + "line": 167, + "column": 8 + }, + "end": { + "line": 167, + "column": 13 + }, + "identifierName": "value" + }, + "name": "value" + }, + "value": { + "type": "StringLiteral", + "start": 3228, + "end": 3240, + "loc": { + "start": { + "line": 167, + "column": 15 + }, + "end": { + "line": 167, + "column": 27 + } + }, + "extra": { + "rawValue": "%fldThree%", + "raw": "'%fldThree%'" + }, + "value": "%fldThree%" + } + } + ] + } + ] } - ] - }, - "property": { - "type": "Identifier", - "start": 2221, - "end": 2224, - "loc": { - "start": { - "line": 116, - "column": 33 - }, - "end": { - "line": 116, - "column": 36 - }, - "identifierName": "map" - }, - "name": "map" + } }, - "computed": false - }, - "arguments": [ { - "type": "ArrowFunctionExpression", - "start": 2225, - "end": 2353, + "type": "JSXAttribute", + "start": 3266, + "end": 3379, "loc": { "start": { - "line": 116, - "column": 37 + "line": 170, + "column": 6 }, "end": { - "line": 123, - "column": 6 + "line": 175, + "column": 8 } }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [ - { - "type": "Identifier", - "start": 2226, - "end": 2231, - "loc": { - "start": { - "line": 116, - "column": 38 - }, - "end": { - "line": 116, - "column": 43 - }, - "identifierName": "field" + "name": { + "type": "JSXIdentifier", + "start": 3266, + "end": 3280, + "loc": { + "start": { + "line": 170, + "column": 6 }, - "name": "field" + "end": { + "line": 170, + "column": 20 + } }, - { - "type": "Identifier", - "start": 2232, - "end": 2233, - "loc": { - "start": { - "line": 116, - "column": 44 - }, - "end": { - "line": 116, - "column": 45 - }, - "identifierName": "i" - }, - "name": "i" - } - ], - "body": { - "type": "BlockStatement", - "start": 2238, - "end": 2353, + "name": "systemTagsList" + }, + "value": { + "type": "JSXExpressionContainer", + "start": 3281, + "end": 3379, "loc": { "start": { - "line": 116, - "column": 50 + "line": 170, + "column": 21 }, "end": { - "line": 123, - "column": 6 + "line": 175, + "column": 8 } }, - "body": [ - { - "type": "ReturnStatement", - "start": 2246, - "end": 2346, - "loc": { - "start": { - "line": 117, - "column": 6 - }, - "end": { - "line": 122, - "column": 8 - } + "expression": { + "type": "ArrayExpression", + "start": 3282, + "end": 3378, + "loc": { + "start": { + "line": 170, + "column": 22 }, - "argument": { - "type": "CallExpression", - "start": 2253, - "end": 2345, + "end": { + "line": 175, + "column": 7 + } + }, + "elements": [ + { + "type": "ObjectExpression", + "start": 3291, + "end": 3370, "loc": { "start": { - "line": 117, - "column": 13 + "line": 171, + "column": 7 }, "end": { - "line": 122, - "column": 7 + "line": 174, + "column": 8 } }, - "callee": { - "type": "MemberExpression", - "start": 2253, - "end": 2272, - "loc": { - "start": { - "line": 117, - "column": 13 - }, - "end": { - "line": 117, - "column": 32 - } - }, - "object": { - "type": "Identifier", - "start": 2253, - "end": 2258, - "loc": { - "start": { - "line": 117, - "column": 13 - }, - "end": { - "line": 117, - "column": 18 - }, - "identifierName": "React" - }, - "name": "React" - }, - "property": { - "type": "Identifier", - "start": 2259, - "end": 2272, - "loc": { - "start": { - "line": 117, - "column": 19 - }, - "end": { - "line": 117, - "column": 32 - }, - "identifierName": "createElement" - }, - "name": "createElement" - }, - "computed": false - }, - "arguments": [ + "properties": [ { - "type": "MemberExpression", - "start": 2281, - "end": 2295, + "type": "ObjectProperty", + "start": 3301, + "end": 3325, "loc": { "start": { - "line": 118, - "column": 7 + "line": 172, + "column": 8 }, "end": { - "line": 118, - "column": 21 + "line": 172, + "column": 32 } }, - "object": { + "method": false, + "shorthand": false, + "computed": false, + "key": { "type": "Identifier", - "start": 2281, - "end": 2286, + "start": 3301, + "end": 3306, "loc": { "start": { - "line": 118, - "column": 7 + "line": 172, + "column": 8 }, "end": { - "line": 118, - "column": 12 + "line": 172, + "column": 13 }, - "identifierName": "React" + "identifierName": "label" }, - "name": "React" + "name": "label" }, - "property": { - "type": "Identifier", - "start": 2287, - "end": 2295, + "value": { + "type": "StringLiteral", + "start": 3308, + "end": 3325, "loc": { "start": { - "line": 118, - "column": 13 + "line": 172, + "column": 15 }, "end": { - "line": 118, - "column": 21 - }, - "identifierName": "Fragment" + "line": 172, + "column": 32 + } }, - "name": "Fragment" - }, - "computed": false + "extra": { + "rawValue": "User First Name", + "raw": "'User First Name'" + }, + "value": "User First Name" + } }, { - "type": "ObjectExpression", - "start": 2297, - "end": 2323, + "type": "ObjectProperty", + "start": 3335, + "end": 3361, "loc": { "start": { - "line": 118, - "column": 23 + "line": 173, + "column": 8 }, "end": { - "line": 120, - "column": 8 + "line": 173, + "column": 34 } }, - "properties": [ - { - "type": "ObjectProperty", - "start": 2307, - "end": 2313, - "loc": { - "start": { - "line": 119, - "column": 8 - }, - "end": { - "line": 119, - "column": 14 - } + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3335, + "end": 3340, + "loc": { + "start": { + "line": 173, + "column": 8 }, - "method": false, - "shorthand": false, - "computed": false, - "key": { - "type": "Identifier", - "start": 2307, - "end": 2310, - "loc": { - "start": { - "line": 119, - "column": 8 - }, - "end": { - "line": 119, - "column": 11 - }, - "identifierName": "key" - }, - "name": "key" + "end": { + "line": 173, + "column": 13 }, - "value": { - "type": "Identifier", - "start": 2312, - "end": 2313, - "loc": { - "start": { - "line": 119, - "column": 13 - }, - "end": { - "line": 119, - "column": 14 - }, - "identifierName": "i" - }, - "name": "i" + "identifierName": "value" + }, + "name": "value" + }, + "value": { + "type": "StringLiteral", + "start": 3342, + "end": 3361, + "loc": { + "start": { + "line": 173, + "column": 15 + }, + "end": { + "line": 173, + "column": 34 } - } - ] - }, - { - "type": "Identifier", - "start": 2332, - "end": 2337, - "loc": { - "start": { - "line": 121, - "column": 7 }, - "end": { - "line": 121, - "column": 12 + "extra": { + "rawValue": "{user:first_name}", + "raw": "'{user:first_name}'" }, - "identifierName": "field" - }, - "name": "field" + "value": "{user:first_name}" + } } ] } + ] + } + } + }, + { + "type": "JSXAttribute", + "start": 3386, + "end": 3399, + "loc": { + "start": { + "line": 176, + "column": 6 + }, + "end": { + "line": 176, + "column": 19 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 3386, + "end": 3392, + "loc": { + "start": { + "line": 176, + "column": 6 + }, + "end": { + "line": 176, + "column": 12 + } + }, + "name": "isOpen" + }, + "value": { + "type": "JSXExpressionContainer", + "start": 3393, + "end": 3399, + "loc": { + "start": { + "line": 176, + "column": 13 + }, + "end": { + "line": 176, + "column": 19 + } + }, + "expression": { + "type": "BooleanLiteral", + "start": 3394, + "end": 3398, + "loc": { + "start": { + "line": 176, + "column": 14 + }, + "end": { + "line": 176, + "column": 18 + } + }, + "value": true + } + } + }, + { + "type": "JSXAttribute", + "start": 3406, + "end": 3429, + "loc": { + "start": { + "line": 177, + "column": 6 + }, + "end": { + "line": 177, + "column": 29 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 3406, + "end": 3411, + "loc": { + "start": { + "line": 177, + "column": 6 + }, + "end": { + "line": 177, + "column": 11 } - ], - "directives": [] + }, + "name": "value" + }, + "value": { + "type": "JSXExpressionContainer", + "start": 3412, + "end": 3429, + "loc": { + "start": { + "line": 177, + "column": 12 + }, + "end": { + "line": 177, + "column": 29 + } + }, + "expression": { + "type": "Identifier", + "start": 3413, + "end": 3428, + "loc": { + "start": { + "line": 177, + "column": 13 + }, + "end": { + "line": 177, + "column": 28 + }, + "identifierName": "magicFieldValue" + }, + "name": "magicFieldValue" + } } } - ] - } + ], + "name": { + "type": "JSXIdentifier", + "start": 2858, + "end": 2873, + "loc": { + "start": { + "line": 150, + "column": 6 + }, + "end": { + "line": 150, + "column": 21 + } + }, + "name": "MagicFieldGroup" + }, + "selfClosing": true + }, + "closingElement": null, + "children": [] }, { "type": "JSXText", - "start": 2355, - "end": 2360, + "start": 3437, + "end": 3442, "loc": { "start": { - "line": 123, - "column": 8 + "line": 178, + "column": 7 }, "end": { - "line": 124, + "line": 179, "column": 4 } }, @@ -14831,15 +18555,15 @@ }, { "type": "JSXText", - "start": 2366, - "end": 2372, + "start": 3448, + "end": 3454, "loc": { "start": { - "line": 124, + "line": 179, "column": 10 }, "end": { - "line": 126, + "line": 181, "column": 4 } }, @@ -14848,44 +18572,44 @@ }, { "type": "JSXElement", - "start": 2372, - "end": 4161, + "start": 3454, + "end": 5243, "loc": { "start": { - "line": 126, + "line": 181, "column": 4 }, "end": { - "line": 206, + "line": 261, "column": 10 } }, "openingElement": { "type": "JSXOpeningElement", - "start": 2372, - "end": 2377, + "start": 3454, + "end": 3459, "loc": { "start": { - "line": 126, + "line": 181, "column": 4 }, "end": { - "line": 126, + "line": 181, "column": 9 } }, "attributes": [], "name": { "type": "JSXIdentifier", - "start": 2373, - "end": 2376, + "start": 3455, + "end": 3458, "loc": { "start": { - "line": 126, + "line": 181, "column": 5 }, "end": { - "line": 126, + "line": 181, "column": 8 } }, @@ -14895,29 +18619,29 @@ }, "closingElement": { "type": "JSXClosingElement", - "start": 4155, - "end": 4161, + "start": 5237, + "end": 5243, "loc": { "start": { - "line": 206, + "line": 261, "column": 4 }, "end": { - "line": 206, + "line": 261, "column": 10 } }, "name": { "type": "JSXIdentifier", - "start": 4157, - "end": 4160, + "start": 5239, + "end": 5242, "loc": { "start": { - "line": 206, + "line": 261, "column": 6 }, "end": { - "line": 206, + "line": 261, "column": 9 } }, @@ -14927,15 +18651,15 @@ "children": [ { "type": "JSXText", - "start": 2377, - "end": 2383, + "start": 3459, + "end": 3465, "loc": { "start": { - "line": 126, + "line": 181, "column": 9 }, "end": { - "line": 127, + "line": 182, "column": 5 } }, @@ -14944,44 +18668,44 @@ }, { "type": "JSXElement", - "start": 2383, - "end": 2398, + "start": 3465, + "end": 3480, "loc": { "start": { - "line": 127, + "line": 182, "column": 5 }, "end": { - "line": 127, + "line": 182, "column": 20 } }, "openingElement": { "type": "JSXOpeningElement", - "start": 2383, - "end": 2387, + "start": 3465, + "end": 3469, "loc": { "start": { - "line": 127, + "line": 182, "column": 5 }, "end": { - "line": 127, + "line": 182, "column": 9 } }, "attributes": [], "name": { "type": "JSXIdentifier", - "start": 2384, - "end": 2386, + "start": 3466, + "end": 3468, "loc": { "start": { - "line": 127, + "line": 182, "column": 6 }, "end": { - "line": 127, + "line": 182, "column": 8 } }, @@ -14991,29 +18715,29 @@ }, "closingElement": { "type": "JSXClosingElement", - "start": 2393, - "end": 2398, + "start": 3475, + "end": 3480, "loc": { "start": { - "line": 127, + "line": 182, "column": 15 }, "end": { - "line": 127, + "line": 182, "column": 20 } }, "name": { "type": "JSXIdentifier", - "start": 2395, - "end": 2397, + "start": 3477, + "end": 3479, "loc": { "start": { - "line": 127, + "line": 182, "column": 17 }, "end": { - "line": 127, + "line": 182, "column": 19 } }, @@ -15023,15 +18747,15 @@ "children": [ { "type": "JSXText", - "start": 2387, - "end": 2393, + "start": 3469, + "end": 3475, "loc": { "start": { - "line": 127, + "line": 182, "column": 9 }, "end": { - "line": 127, + "line": 182, "column": 15 } }, @@ -15042,15 +18766,15 @@ }, { "type": "JSXText", - "start": 2398, - "end": 2404, + "start": 3480, + "end": 3486, "loc": { "start": { - "line": 127, + "line": 182, "column": 20 }, "end": { - "line": 128, + "line": 183, "column": 5 } }, @@ -15059,58 +18783,58 @@ }, { "type": "JSXElement", - "start": 2404, - "end": 2627, + "start": 3486, + "end": 3709, "loc": { "start": { - "line": 128, + "line": 183, "column": 5 }, "end": { - "line": 137, + "line": 192, "column": 7 } }, "openingElement": { "type": "JSXOpeningElement", - "start": 2404, - "end": 2627, + "start": 3486, + "end": 3709, "loc": { "start": { - "line": 128, + "line": 183, "column": 5 }, "end": { - "line": 137, + "line": 192, "column": 7 } }, "attributes": [ { "type": "JSXAttribute", - "start": 2422, - "end": 2439, + "start": 3504, + "end": 3521, "loc": { "start": { - "line": 129, + "line": 184, "column": 6 }, "end": { - "line": 129, + "line": 184, "column": 23 } }, "name": { "type": "JSXIdentifier", - "start": 2422, - "end": 2424, + "start": 3504, + "end": 3506, "loc": { "start": { - "line": 129, + "line": 184, "column": 6 }, "end": { - "line": 129, + "line": 184, "column": 8 } }, @@ -15118,29 +18842,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 2425, - "end": 2439, + "start": 3507, + "end": 3521, "loc": { "start": { - "line": 129, + "line": 184, "column": 9 }, "end": { - "line": 129, + "line": 184, "column": 23 } }, "expression": { "type": "StringLiteral", - "start": 2426, - "end": 2438, + "start": 3508, + "end": 3520, "loc": { "start": { - "line": 129, + "line": 184, "column": 10 }, "end": { - "line": 129, + "line": 184, "column": 22 } }, @@ -15154,29 +18878,29 @@ }, { "type": "JSXAttribute", - "start": 2446, - "end": 2475, + "start": 3528, + "end": 3557, "loc": { "start": { - "line": 130, + "line": 185, "column": 6 }, "end": { - "line": 130, + "line": 185, "column": 35 } }, "name": { "type": "JSXIdentifier", - "start": 2446, - "end": 2451, + "start": 3528, + "end": 3533, "loc": { "start": { - "line": 130, + "line": 185, "column": 6 }, "end": { - "line": 130, + "line": 185, "column": 11 } }, @@ -15184,29 +18908,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 2452, - "end": 2475, + "start": 3534, + "end": 3557, "loc": { "start": { - "line": 130, + "line": 185, "column": 12 }, "end": { - "line": 130, + "line": 185, "column": 35 } }, "expression": { "type": "StringLiteral", - "start": 2453, - "end": 2474, + "start": 3535, + "end": 3556, "loc": { "start": { - "line": 130, + "line": 185, "column": 13 }, "end": { - "line": 130, + "line": 185, "column": 34 } }, @@ -15220,29 +18944,29 @@ }, { "type": "JSXAttribute", - "start": 2482, - "end": 2496, + "start": 3564, + "end": 3578, "loc": { "start": { - "line": 131, + "line": 186, "column": 6 }, "end": { - "line": 131, + "line": 186, "column": 20 } }, "name": { "type": "JSXIdentifier", - "start": 2482, - "end": 2486, + "start": 3564, + "end": 3568, "loc": { "start": { - "line": 131, + "line": 186, "column": 6 }, "end": { - "line": 131, + "line": 186, "column": 10 } }, @@ -15250,29 +18974,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 2487, - "end": 2496, + "start": 3569, + "end": 3578, "loc": { "start": { - "line": 131, + "line": 186, "column": 11 }, "end": { - "line": 131, + "line": 186, "column": 20 } }, "expression": { "type": "StringLiteral", - "start": 2488, - "end": 2495, + "start": 3570, + "end": 3577, "loc": { "start": { - "line": 131, + "line": 186, "column": 12 }, "end": { - "line": 131, + "line": 186, "column": 19 } }, @@ -15286,29 +19010,29 @@ }, { "type": "JSXAttribute", - "start": 2503, - "end": 2520, + "start": 3585, + "end": 3602, "loc": { "start": { - "line": 132, + "line": 187, "column": 6 }, "end": { - "line": 132, + "line": 187, "column": 23 } }, "name": { "type": "JSXIdentifier", - "start": 2503, - "end": 2513, + "start": 3585, + "end": 3595, "loc": { "start": { - "line": 132, + "line": 187, "column": 6 }, "end": { - "line": 132, + "line": 187, "column": 16 } }, @@ -15316,29 +19040,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 2514, - "end": 2520, + "start": 3596, + "end": 3602, "loc": { "start": { - "line": 132, + "line": 187, "column": 17 }, "end": { - "line": 132, + "line": 187, "column": 23 } }, "expression": { "type": "BooleanLiteral", - "start": 2515, - "end": 2519, + "start": 3597, + "end": 3601, "loc": { "start": { - "line": 132, + "line": 187, "column": 18 }, "end": { - "line": 132, + "line": 187, "column": 22 } }, @@ -15348,29 +19072,29 @@ }, { "type": "JSXAttribute", - "start": 2527, - "end": 2545, + "start": 3609, + "end": 3627, "loc": { "start": { - "line": 133, + "line": 188, "column": 6 }, "end": { - "line": 133, + "line": 188, "column": 24 } }, "name": { "type": "JSXIdentifier", - "start": 2527, - "end": 2532, + "start": 3609, + "end": 3614, "loc": { "start": { - "line": 133, + "line": 188, "column": 6 }, "end": { - "line": 133, + "line": 188, "column": 11 } }, @@ -15378,43 +19102,43 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 2533, - "end": 2545, + "start": 3615, + "end": 3627, "loc": { "start": { - "line": 133, + "line": 188, "column": 12 }, "end": { - "line": 133, + "line": 188, "column": 24 } }, "expression": { "type": "MemberExpression", - "start": 2534, - "end": 2544, + "start": 3616, + "end": 3626, "loc": { "start": { - "line": 133, + "line": 188, "column": 13 }, "end": { - "line": 133, + "line": 188, "column": 23 } }, "object": { "type": "Identifier", - "start": 2534, - "end": 2540, + "start": 3616, + "end": 3622, "loc": { "start": { - "line": 133, + "line": 188, "column": 13 }, "end": { - "line": 133, + "line": 188, "column": 19 }, "identifierName": "values" @@ -15423,15 +19147,15 @@ }, "property": { "type": "Identifier", - "start": 2541, - "end": 2544, + "start": 3623, + "end": 3626, "loc": { "start": { - "line": 133, + "line": 188, "column": 20 }, "end": { - "line": 133, + "line": 188, "column": 23 }, "identifierName": "one" @@ -15444,29 +19168,29 @@ }, { "type": "JSXAttribute", - "start": 2552, - "end": 2619, + "start": 3634, + "end": 3701, "loc": { "start": { - "line": 134, + "line": 189, "column": 6 }, "end": { - "line": 136, + "line": 191, "column": 8 } }, "name": { "type": "JSXIdentifier", - "start": 2552, - "end": 2565, + "start": 3634, + "end": 3647, "loc": { "start": { - "line": 134, + "line": 189, "column": 6 }, "end": { - "line": 134, + "line": 189, "column": 19 } }, @@ -15474,29 +19198,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 2566, - "end": 2619, + "start": 3648, + "end": 3701, "loc": { "start": { - "line": 134, + "line": 189, "column": 20 }, "end": { - "line": 136, + "line": 191, "column": 8 } }, "expression": { "type": "ArrowFunctionExpression", - "start": 2567, - "end": 2618, + "start": 3649, + "end": 3700, "loc": { "start": { - "line": 134, + "line": 189, "column": 21 }, "end": { - "line": 136, + "line": 191, "column": 7 } }, @@ -15507,15 +19231,15 @@ "params": [ { "type": "Identifier", - "start": 2568, - "end": 2576, + "start": 3650, + "end": 3658, "loc": { "start": { - "line": 134, + "line": 189, "column": 22 }, "end": { - "line": 134, + "line": 189, "column": 30 }, "identifierName": "newValue" @@ -15525,73 +19249,73 @@ ], "body": { "type": "BlockStatement", - "start": 2581, - "end": 2618, + "start": 3663, + "end": 3700, "loc": { "start": { - "line": 134, + "line": 189, "column": 35 }, "end": { - "line": 136, + "line": 191, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 2590, - "end": 2610, + "start": 3672, + "end": 3692, "loc": { "start": { - "line": 135, + "line": 190, "column": 7 }, "end": { - "line": 135, + "line": 190, "column": 27 } }, "expression": { "type": "AssignmentExpression", - "start": 2590, - "end": 2609, + "start": 3672, + "end": 3691, "loc": { "start": { - "line": 135, + "line": 190, "column": 7 }, "end": { - "line": 135, + "line": 190, "column": 26 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 2590, - "end": 2600, + "start": 3672, + "end": 3682, "loc": { "start": { - "line": 135, + "line": 190, "column": 7 }, "end": { - "line": 135, + "line": 190, "column": 17 } }, "object": { "type": "Identifier", - "start": 2590, - "end": 2596, + "start": 3672, + "end": 3678, "loc": { "start": { - "line": 135, + "line": 190, "column": 7 }, "end": { - "line": 135, + "line": 190, "column": 13 }, "identifierName": "values" @@ -15600,15 +19324,15 @@ }, "property": { "type": "Identifier", - "start": 2597, - "end": 2600, + "start": 3679, + "end": 3682, "loc": { "start": { - "line": 135, + "line": 190, "column": 14 }, "end": { - "line": 135, + "line": 190, "column": 17 }, "identifierName": "one" @@ -15619,15 +19343,15 @@ }, "right": { "type": "Identifier", - "start": 2601, - "end": 2609, + "start": 3683, + "end": 3691, "loc": { "start": { - "line": 135, + "line": 190, "column": 18 }, "end": { - "line": 135, + "line": 190, "column": 26 }, "identifierName": "newValue" @@ -15645,15 +19369,15 @@ ], "name": { "type": "JSXIdentifier", - "start": 2405, - "end": 2415, + "start": 3487, + "end": 3497, "loc": { "start": { - "line": 128, + "line": 183, "column": 6 }, "end": { - "line": 128, + "line": 183, "column": 16 } }, @@ -15666,15 +19390,15 @@ }, { "type": "JSXText", - "start": 2627, - "end": 2634, + "start": 3709, + "end": 3716, "loc": { "start": { - "line": 137, + "line": 192, "column": 7 }, "end": { - "line": 139, + "line": 194, "column": 5 } }, @@ -15683,58 +19407,58 @@ }, { "type": "JSXElement", - "start": 2634, - "end": 2861, + "start": 3716, + "end": 3943, "loc": { "start": { - "line": 139, + "line": 194, "column": 5 }, "end": { - "line": 148, + "line": 203, "column": 7 } }, "openingElement": { "type": "JSXOpeningElement", - "start": 2634, - "end": 2861, + "start": 3716, + "end": 3943, "loc": { "start": { - "line": 139, + "line": 194, "column": 5 }, "end": { - "line": 148, + "line": 203, "column": 7 } }, "attributes": [ { "type": "JSXAttribute", - "start": 2652, - "end": 2669, + "start": 3734, + "end": 3751, "loc": { "start": { - "line": 140, + "line": 195, "column": 6 }, "end": { - "line": 140, + "line": 195, "column": 23 } }, "name": { "type": "JSXIdentifier", - "start": 2652, - "end": 2654, + "start": 3734, + "end": 3736, "loc": { "start": { - "line": 140, + "line": 195, "column": 6 }, "end": { - "line": 140, + "line": 195, "column": 8 } }, @@ -15742,29 +19466,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 2655, - "end": 2669, + "start": 3737, + "end": 3751, "loc": { "start": { - "line": 140, + "line": 195, "column": 9 }, "end": { - "line": 140, + "line": 195, "column": 23 } }, "expression": { "type": "StringLiteral", - "start": 2656, - "end": 2668, + "start": 3738, + "end": 3750, "loc": { "start": { - "line": 140, + "line": 195, "column": 10 }, "end": { - "line": 140, + "line": 195, "column": 22 } }, @@ -15778,29 +19502,29 @@ }, { "type": "JSXAttribute", - "start": 2676, - "end": 2709, + "start": 3758, + "end": 3791, "loc": { "start": { - "line": 141, + "line": 196, "column": 6 }, "end": { - "line": 141, + "line": 196, "column": 39 } }, "name": { "type": "JSXIdentifier", - "start": 2676, - "end": 2681, + "start": 3758, + "end": 3763, "loc": { "start": { - "line": 141, + "line": 196, "column": 6 }, "end": { - "line": 141, + "line": 196, "column": 11 } }, @@ -15808,29 +19532,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 2682, - "end": 2709, + "start": 3764, + "end": 3791, "loc": { "start": { - "line": 141, + "line": 196, "column": 12 }, "end": { - "line": 141, + "line": 196, "column": 39 } }, "expression": { "type": "StringLiteral", - "start": 2683, - "end": 2708, + "start": 3765, + "end": 3790, "loc": { "start": { - "line": 141, + "line": 196, "column": 13 }, "end": { - "line": 141, + "line": 196, "column": 38 } }, @@ -15844,29 +19568,29 @@ }, { "type": "JSXAttribute", - "start": 2716, - "end": 2730, + "start": 3798, + "end": 3812, "loc": { "start": { - "line": 142, + "line": 197, "column": 6 }, "end": { - "line": 142, + "line": 197, "column": 20 } }, "name": { "type": "JSXIdentifier", - "start": 2716, - "end": 2720, + "start": 3798, + "end": 3802, "loc": { "start": { - "line": 142, + "line": 197, "column": 6 }, "end": { - "line": 142, + "line": 197, "column": 10 } }, @@ -15874,29 +19598,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 2721, - "end": 2730, + "start": 3803, + "end": 3812, "loc": { "start": { - "line": 142, + "line": 197, "column": 11 }, "end": { - "line": 142, + "line": 197, "column": 20 } }, "expression": { "type": "StringLiteral", - "start": 2722, - "end": 2729, + "start": 3804, + "end": 3811, "loc": { "start": { - "line": 142, + "line": 197, "column": 12 }, "end": { - "line": 142, + "line": 197, "column": 19 } }, @@ -15910,29 +19634,29 @@ }, { "type": "JSXAttribute", - "start": 2737, - "end": 2754, + "start": 3819, + "end": 3836, "loc": { "start": { - "line": 143, + "line": 198, "column": 6 }, "end": { - "line": 143, + "line": 198, "column": 23 } }, "name": { "type": "JSXIdentifier", - "start": 2737, - "end": 2747, + "start": 3819, + "end": 3829, "loc": { "start": { - "line": 143, + "line": 198, "column": 6 }, "end": { - "line": 143, + "line": 198, "column": 16 } }, @@ -15940,29 +19664,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 2748, - "end": 2754, + "start": 3830, + "end": 3836, "loc": { "start": { - "line": 143, + "line": 198, "column": 17 }, "end": { - "line": 143, + "line": 198, "column": 23 } }, "expression": { "type": "BooleanLiteral", - "start": 2749, - "end": 2753, + "start": 3831, + "end": 3835, "loc": { "start": { - "line": 143, + "line": 198, "column": 18 }, "end": { - "line": 143, + "line": 198, "column": 22 } }, @@ -15972,29 +19696,29 @@ }, { "type": "JSXAttribute", - "start": 2761, - "end": 2779, + "start": 3843, + "end": 3861, "loc": { "start": { - "line": 144, + "line": 199, "column": 6 }, "end": { - "line": 144, + "line": 199, "column": 24 } }, "name": { "type": "JSXIdentifier", - "start": 2761, - "end": 2766, + "start": 3843, + "end": 3848, "loc": { "start": { - "line": 144, + "line": 199, "column": 6 }, "end": { - "line": 144, + "line": 199, "column": 11 } }, @@ -16002,43 +19726,43 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 2767, - "end": 2779, + "start": 3849, + "end": 3861, "loc": { "start": { - "line": 144, + "line": 199, "column": 12 }, "end": { - "line": 144, + "line": 199, "column": 24 } }, "expression": { "type": "MemberExpression", - "start": 2768, - "end": 2778, + "start": 3850, + "end": 3860, "loc": { "start": { - "line": 144, + "line": 199, "column": 13 }, "end": { - "line": 144, + "line": 199, "column": 23 } }, "object": { "type": "Identifier", - "start": 2768, - "end": 2774, + "start": 3850, + "end": 3856, "loc": { "start": { - "line": 144, + "line": 199, "column": 13 }, "end": { - "line": 144, + "line": 199, "column": 19 }, "identifierName": "values" @@ -16047,15 +19771,15 @@ }, "property": { "type": "Identifier", - "start": 2775, - "end": 2778, + "start": 3857, + "end": 3860, "loc": { "start": { - "line": 144, + "line": 199, "column": 20 }, "end": { - "line": 144, + "line": 199, "column": 23 }, "identifierName": "two" @@ -16068,29 +19792,29 @@ }, { "type": "JSXAttribute", - "start": 2786, - "end": 2853, + "start": 3868, + "end": 3935, "loc": { "start": { - "line": 145, + "line": 200, "column": 6 }, "end": { - "line": 147, + "line": 202, "column": 8 } }, "name": { "type": "JSXIdentifier", - "start": 2786, - "end": 2799, + "start": 3868, + "end": 3881, "loc": { "start": { - "line": 145, + "line": 200, "column": 6 }, "end": { - "line": 145, + "line": 200, "column": 19 } }, @@ -16098,29 +19822,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 2800, - "end": 2853, + "start": 3882, + "end": 3935, "loc": { "start": { - "line": 145, + "line": 200, "column": 20 }, "end": { - "line": 147, + "line": 202, "column": 8 } }, "expression": { "type": "ArrowFunctionExpression", - "start": 2801, - "end": 2852, + "start": 3883, + "end": 3934, "loc": { "start": { - "line": 145, + "line": 200, "column": 21 }, "end": { - "line": 147, + "line": 202, "column": 7 } }, @@ -16131,15 +19855,15 @@ "params": [ { "type": "Identifier", - "start": 2802, - "end": 2810, + "start": 3884, + "end": 3892, "loc": { "start": { - "line": 145, + "line": 200, "column": 22 }, "end": { - "line": 145, + "line": 200, "column": 30 }, "identifierName": "newValue" @@ -16149,73 +19873,73 @@ ], "body": { "type": "BlockStatement", - "start": 2815, - "end": 2852, + "start": 3897, + "end": 3934, "loc": { "start": { - "line": 145, + "line": 200, "column": 35 }, "end": { - "line": 147, + "line": 202, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 2824, - "end": 2844, + "start": 3906, + "end": 3926, "loc": { "start": { - "line": 146, + "line": 201, "column": 7 }, "end": { - "line": 146, + "line": 201, "column": 27 } }, "expression": { "type": "AssignmentExpression", - "start": 2824, - "end": 2843, + "start": 3906, + "end": 3925, "loc": { "start": { - "line": 146, + "line": 201, "column": 7 }, "end": { - "line": 146, + "line": 201, "column": 26 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 2824, - "end": 2834, + "start": 3906, + "end": 3916, "loc": { "start": { - "line": 146, + "line": 201, "column": 7 }, "end": { - "line": 146, + "line": 201, "column": 17 } }, "object": { "type": "Identifier", - "start": 2824, - "end": 2830, + "start": 3906, + "end": 3912, "loc": { "start": { - "line": 146, + "line": 201, "column": 7 }, "end": { - "line": 146, + "line": 201, "column": 13 }, "identifierName": "values" @@ -16224,15 +19948,15 @@ }, "property": { "type": "Identifier", - "start": 2831, - "end": 2834, + "start": 3913, + "end": 3916, "loc": { "start": { - "line": 146, + "line": 201, "column": 14 }, "end": { - "line": 146, + "line": 201, "column": 17 }, "identifierName": "two" @@ -16243,15 +19967,15 @@ }, "right": { "type": "Identifier", - "start": 2835, - "end": 2843, + "start": 3917, + "end": 3925, "loc": { "start": { - "line": 146, + "line": 201, "column": 18 }, "end": { - "line": 146, + "line": 201, "column": 26 }, "identifierName": "newValue" @@ -16269,15 +19993,15 @@ ], "name": { "type": "JSXIdentifier", - "start": 2635, - "end": 2645, + "start": 3717, + "end": 3727, "loc": { "start": { - "line": 139, + "line": 194, "column": 6 }, "end": { - "line": 139, + "line": 194, "column": 16 } }, @@ -16290,15 +20014,15 @@ }, { "type": "JSXText", - "start": 2861, - "end": 2868, + "start": 3943, + "end": 3950, "loc": { "start": { - "line": 148, + "line": 203, "column": 7 }, "end": { - "line": 150, + "line": 205, "column": 5 } }, @@ -16307,58 +20031,58 @@ }, { "type": "JSXElement", - "start": 2868, - "end": 3142, + "start": 3950, + "end": 4224, "loc": { "start": { - "line": 150, + "line": 205, "column": 5 }, "end": { - "line": 160, + "line": 215, "column": 7 } }, "openingElement": { "type": "JSXOpeningElement", - "start": 2868, - "end": 3142, + "start": 3950, + "end": 4224, "loc": { "start": { - "line": 150, + "line": 205, "column": 5 }, "end": { - "line": 160, + "line": 215, "column": 7 } }, "attributes": [ { "type": "JSXAttribute", - "start": 2886, - "end": 2903, + "start": 3968, + "end": 3985, "loc": { "start": { - "line": 151, + "line": 206, "column": 6 }, "end": { - "line": 151, + "line": 206, "column": 23 } }, "name": { "type": "JSXIdentifier", - "start": 2886, - "end": 2888, + "start": 3968, + "end": 3970, "loc": { "start": { - "line": 151, + "line": 206, "column": 6 }, "end": { - "line": 151, + "line": 206, "column": 8 } }, @@ -16366,29 +20090,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 2889, - "end": 2903, + "start": 3971, + "end": 3985, "loc": { "start": { - "line": 151, + "line": 206, "column": 9 }, "end": { - "line": 151, + "line": 206, "column": 23 } }, "expression": { "type": "StringLiteral", - "start": 2890, - "end": 2902, + "start": 3972, + "end": 3984, "loc": { "start": { - "line": 151, + "line": 206, "column": 10 }, "end": { - "line": 151, + "line": 206, "column": 22 } }, @@ -16402,29 +20126,29 @@ }, { "type": "JSXAttribute", - "start": 2910, - "end": 2934, + "start": 3992, + "end": 4016, "loc": { "start": { - "line": 152, + "line": 207, "column": 6 }, "end": { - "line": 152, + "line": 207, "column": 30 } }, "name": { "type": "JSXIdentifier", - "start": 2910, - "end": 2915, + "start": 3992, + "end": 3997, "loc": { "start": { - "line": 152, + "line": 207, "column": 6 }, "end": { - "line": 152, + "line": 207, "column": 11 } }, @@ -16432,29 +20156,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 2916, - "end": 2934, + "start": 3998, + "end": 4016, "loc": { "start": { - "line": 152, + "line": 207, "column": 12 }, "end": { - "line": 152, + "line": 207, "column": 30 } }, "expression": { "type": "StringLiteral", - "start": 2917, - "end": 2933, + "start": 3999, + "end": 4015, "loc": { "start": { - "line": 152, + "line": 207, "column": 13 }, "end": { - "line": 152, + "line": 207, "column": 29 } }, @@ -16468,29 +20192,29 @@ }, { "type": "JSXAttribute", - "start": 2941, - "end": 2955, + "start": 4023, + "end": 4037, "loc": { "start": { - "line": 153, + "line": 208, "column": 6 }, "end": { - "line": 153, + "line": 208, "column": 20 } }, "name": { "type": "JSXIdentifier", - "start": 2941, - "end": 2945, + "start": 4023, + "end": 4027, "loc": { "start": { - "line": 153, + "line": 208, "column": 6 }, "end": { - "line": 153, + "line": 208, "column": 10 } }, @@ -16498,29 +20222,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 2946, - "end": 2955, + "start": 4028, + "end": 4037, "loc": { "start": { - "line": 153, + "line": 208, "column": 11 }, "end": { - "line": 153, + "line": 208, "column": 20 } }, "expression": { "type": "StringLiteral", - "start": 2947, - "end": 2954, + "start": 4029, + "end": 4036, "loc": { "start": { - "line": 153, + "line": 208, "column": 12 }, "end": { - "line": 153, + "line": 208, "column": 19 } }, @@ -16534,29 +20258,29 @@ }, { "type": "JSXAttribute", - "start": 2962, - "end": 2979, + "start": 4044, + "end": 4061, "loc": { "start": { - "line": 154, + "line": 209, "column": 6 }, "end": { - "line": 154, + "line": 209, "column": 23 } }, "name": { "type": "JSXIdentifier", - "start": 2962, - "end": 2972, + "start": 4044, + "end": 4054, "loc": { "start": { - "line": 154, + "line": 209, "column": 6 }, "end": { - "line": 154, + "line": 209, "column": 16 } }, @@ -16564,29 +20288,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 2973, - "end": 2979, + "start": 4055, + "end": 4061, "loc": { "start": { - "line": 154, + "line": 209, "column": 17 }, "end": { - "line": 154, + "line": 209, "column": 23 } }, "expression": { "type": "BooleanLiteral", - "start": 2974, - "end": 2978, + "start": 4056, + "end": 4060, "loc": { "start": { - "line": 154, + "line": 209, "column": 18 }, "end": { - "line": 154, + "line": 209, "column": 22 } }, @@ -16596,29 +20320,29 @@ }, { "type": "JSXAttribute", - "start": 2986, - "end": 3032, + "start": 4068, + "end": 4114, "loc": { "start": { - "line": 155, + "line": 210, "column": 6 }, "end": { - "line": 155, + "line": 210, "column": 52 } }, "name": { "type": "JSXIdentifier", - "start": 2986, - "end": 2990, + "start": 4068, + "end": 4072, "loc": { "start": { - "line": 155, + "line": 210, "column": 6 }, "end": { - "line": 155, + "line": 210, "column": 10 } }, @@ -16626,29 +20350,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 2991, - "end": 3032, + "start": 4073, + "end": 4114, "loc": { "start": { - "line": 155, + "line": 210, "column": 11 }, "end": { - "line": 155, + "line": 210, "column": 52 } }, "expression": { "type": "StringLiteral", - "start": 2992, - "end": 3031, + "start": 4074, + "end": 4113, "loc": { "start": { - "line": 155, + "line": 210, "column": 12 }, "end": { - "line": 155, + "line": 210, "column": 51 } }, @@ -16662,29 +20386,29 @@ }, { "type": "JSXAttribute", - "start": 3039, - "end": 3058, + "start": 4121, + "end": 4140, "loc": { "start": { - "line": 156, + "line": 211, "column": 6 }, "end": { - "line": 156, + "line": 211, "column": 25 } }, "name": { "type": "JSXIdentifier", - "start": 3039, - "end": 3044, + "start": 4121, + "end": 4126, "loc": { "start": { - "line": 156, + "line": 211, "column": 6 }, "end": { - "line": 156, + "line": 211, "column": 11 } }, @@ -16692,43 +20416,43 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 3045, - "end": 3058, + "start": 4127, + "end": 4140, "loc": { "start": { - "line": 156, + "line": 211, "column": 12 }, "end": { - "line": 156, + "line": 211, "column": 25 } }, "expression": { "type": "MemberExpression", - "start": 3046, - "end": 3057, + "start": 4128, + "end": 4139, "loc": { "start": { - "line": 156, + "line": 211, "column": 13 }, "end": { - "line": 156, + "line": 211, "column": 24 } }, "object": { "type": "Identifier", - "start": 3046, - "end": 3052, + "start": 4128, + "end": 4134, "loc": { "start": { - "line": 156, + "line": 211, "column": 13 }, "end": { - "line": 156, + "line": 211, "column": 19 }, "identifierName": "values" @@ -16737,15 +20461,15 @@ }, "property": { "type": "Identifier", - "start": 3053, - "end": 3057, + "start": 4135, + "end": 4139, "loc": { "start": { - "line": 156, + "line": 211, "column": 20 }, "end": { - "line": 156, + "line": 211, "column": 24 }, "identifierName": "thre" @@ -16758,29 +20482,29 @@ }, { "type": "JSXAttribute", - "start": 3065, - "end": 3134, + "start": 4147, + "end": 4216, "loc": { "start": { - "line": 157, + "line": 212, "column": 6 }, "end": { - "line": 159, + "line": 214, "column": 8 } }, "name": { "type": "JSXIdentifier", - "start": 3065, - "end": 3078, + "start": 4147, + "end": 4160, "loc": { "start": { - "line": 157, + "line": 212, "column": 6 }, "end": { - "line": 157, + "line": 212, "column": 19 } }, @@ -16788,29 +20512,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 3079, - "end": 3134, + "start": 4161, + "end": 4216, "loc": { "start": { - "line": 157, + "line": 212, "column": 20 }, "end": { - "line": 159, + "line": 214, "column": 8 } }, "expression": { "type": "ArrowFunctionExpression", - "start": 3080, - "end": 3133, + "start": 4162, + "end": 4215, "loc": { "start": { - "line": 157, + "line": 212, "column": 21 }, "end": { - "line": 159, + "line": 214, "column": 7 } }, @@ -16821,15 +20545,15 @@ "params": [ { "type": "Identifier", - "start": 3081, - "end": 3089, + "start": 4163, + "end": 4171, "loc": { "start": { - "line": 157, + "line": 212, "column": 22 }, "end": { - "line": 157, + "line": 212, "column": 30 }, "identifierName": "newValue" @@ -16839,73 +20563,73 @@ ], "body": { "type": "BlockStatement", - "start": 3094, - "end": 3133, + "start": 4176, + "end": 4215, "loc": { "start": { - "line": 157, + "line": 212, "column": 35 }, "end": { - "line": 159, + "line": 214, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 3103, - "end": 3125, + "start": 4185, + "end": 4207, "loc": { "start": { - "line": 158, + "line": 213, "column": 7 }, "end": { - "line": 158, + "line": 213, "column": 29 } }, "expression": { "type": "AssignmentExpression", - "start": 3103, - "end": 3124, + "start": 4185, + "end": 4206, "loc": { "start": { - "line": 158, + "line": 213, "column": 7 }, "end": { - "line": 158, + "line": 213, "column": 28 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 3103, - "end": 3115, + "start": 4185, + "end": 4197, "loc": { "start": { - "line": 158, + "line": 213, "column": 7 }, "end": { - "line": 158, + "line": 213, "column": 19 } }, "object": { "type": "Identifier", - "start": 3103, - "end": 3109, + "start": 4185, + "end": 4191, "loc": { "start": { - "line": 158, + "line": 213, "column": 7 }, "end": { - "line": 158, + "line": 213, "column": 13 }, "identifierName": "values" @@ -16914,15 +20638,15 @@ }, "property": { "type": "Identifier", - "start": 3110, - "end": 3115, + "start": 4192, + "end": 4197, "loc": { "start": { - "line": 158, + "line": 213, "column": 14 }, "end": { - "line": 158, + "line": 213, "column": 19 }, "identifierName": "three" @@ -16933,15 +20657,15 @@ }, "right": { "type": "Identifier", - "start": 3116, - "end": 3124, + "start": 4198, + "end": 4206, "loc": { "start": { - "line": 158, + "line": 213, "column": 20 }, "end": { - "line": 158, + "line": 213, "column": 28 }, "identifierName": "newValue" @@ -16959,15 +20683,15 @@ ], "name": { "type": "JSXIdentifier", - "start": 2869, - "end": 2879, + "start": 3951, + "end": 3961, "loc": { "start": { - "line": 150, + "line": 205, "column": 6 }, "end": { - "line": 150, + "line": 205, "column": 16 } }, @@ -16980,15 +20704,15 @@ }, { "type": "JSXText", - "start": 3142, - "end": 3149, + "start": 4224, + "end": 4231, "loc": { "start": { - "line": 160, + "line": 215, "column": 7 }, "end": { - "line": 162, + "line": 217, "column": 5 } }, @@ -16997,58 +20721,58 @@ }, { "type": "JSXElement", - "start": 3149, - "end": 3406, + "start": 4231, + "end": 4488, "loc": { "start": { - "line": 162, + "line": 217, "column": 5 }, "end": { - "line": 172, + "line": 227, "column": 7 } }, "openingElement": { "type": "JSXOpeningElement", - "start": 3149, - "end": 3406, + "start": 4231, + "end": 4488, "loc": { "start": { - "line": 162, + "line": 217, "column": 5 }, "end": { - "line": 172, + "line": 227, "column": 7 } }, "attributes": [ { "type": "JSXAttribute", - "start": 3167, - "end": 3184, + "start": 4249, + "end": 4266, "loc": { "start": { - "line": 163, + "line": 218, "column": 6 }, "end": { - "line": 163, + "line": 218, "column": 23 } }, "name": { "type": "JSXIdentifier", - "start": 3167, - "end": 3169, + "start": 4249, + "end": 4251, "loc": { "start": { - "line": 163, + "line": 218, "column": 6 }, "end": { - "line": 163, + "line": 218, "column": 8 } }, @@ -17056,29 +20780,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 3170, - "end": 3184, + "start": 4252, + "end": 4266, "loc": { "start": { - "line": 163, + "line": 218, "column": 9 }, "end": { - "line": 163, + "line": 218, "column": 23 } }, "expression": { "type": "StringLiteral", - "start": 3171, - "end": 3183, + "start": 4253, + "end": 4265, "loc": { "start": { - "line": 163, + "line": 218, "column": 10 }, "end": { - "line": 163, + "line": 218, "column": 22 } }, @@ -17092,29 +20816,29 @@ }, { "type": "JSXAttribute", - "start": 3191, - "end": 3227, + "start": 4273, + "end": 4309, "loc": { "start": { - "line": 164, + "line": 219, "column": 6 }, "end": { - "line": 164, + "line": 219, "column": 42 } }, "name": { "type": "JSXIdentifier", - "start": 3191, - "end": 3196, + "start": 4273, + "end": 4278, "loc": { "start": { - "line": 164, + "line": 219, "column": 6 }, "end": { - "line": 164, + "line": 219, "column": 11 } }, @@ -17122,29 +20846,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 3197, - "end": 3227, + "start": 4279, + "end": 4309, "loc": { "start": { - "line": 164, + "line": 219, "column": 12 }, "end": { - "line": 164, + "line": 219, "column": 42 } }, "expression": { "type": "StringLiteral", - "start": 3198, - "end": 3226, + "start": 4280, + "end": 4308, "loc": { "start": { - "line": 164, + "line": 219, "column": 13 }, "end": { - "line": 164, + "line": 219, "column": 41 } }, @@ -17158,29 +20882,29 @@ }, { "type": "JSXAttribute", - "start": 3234, - "end": 3248, + "start": 4316, + "end": 4330, "loc": { "start": { - "line": 165, + "line": 220, "column": 6 }, "end": { - "line": 165, + "line": 220, "column": 20 } }, "name": { "type": "JSXIdentifier", - "start": 3234, - "end": 3238, + "start": 4316, + "end": 4320, "loc": { "start": { - "line": 165, + "line": 220, "column": 6 }, "end": { - "line": 165, + "line": 220, "column": 10 } }, @@ -17188,29 +20912,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 3239, - "end": 3248, + "start": 4321, + "end": 4330, "loc": { "start": { - "line": 165, + "line": 220, "column": 11 }, "end": { - "line": 165, + "line": 220, "column": 20 } }, "expression": { "type": "StringLiteral", - "start": 3240, - "end": 3247, + "start": 4322, + "end": 4329, "loc": { "start": { - "line": 165, + "line": 220, "column": 12 }, "end": { - "line": 165, + "line": 220, "column": 19 } }, @@ -17224,29 +20948,29 @@ }, { "type": "JSXAttribute", - "start": 3255, - "end": 3275, + "start": 4337, + "end": 4357, "loc": { "start": { - "line": 166, + "line": 221, "column": 6 }, "end": { - "line": 166, + "line": 221, "column": 26 } }, "name": { "type": "JSXIdentifier", - "start": 3255, - "end": 3264, + "start": 4337, + "end": 4346, "loc": { "start": { - "line": 166, + "line": 221, "column": 6 }, "end": { - "line": 166, + "line": 221, "column": 15 } }, @@ -17254,29 +20978,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 3265, - "end": 3275, + "start": 4347, + "end": 4357, "loc": { "start": { - "line": 166, + "line": 221, "column": 16 }, "end": { - "line": 166, + "line": 221, "column": 26 } }, "expression": { "type": "StringLiteral", - "start": 3266, - "end": 3274, + "start": 4348, + "end": 4356, "loc": { "start": { - "line": 166, + "line": 221, "column": 17 }, "end": { - "line": 166, + "line": 221, "column": 25 } }, @@ -17290,29 +21014,29 @@ }, { "type": "JSXAttribute", - "start": 3282, - "end": 3299, + "start": 4364, + "end": 4381, "loc": { "start": { - "line": 167, + "line": 222, "column": 6 }, "end": { - "line": 167, + "line": 222, "column": 23 } }, "name": { "type": "JSXIdentifier", - "start": 3282, - "end": 3292, + "start": 4364, + "end": 4374, "loc": { "start": { - "line": 167, + "line": 222, "column": 6 }, "end": { - "line": 167, + "line": 222, "column": 16 } }, @@ -17320,29 +21044,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 3293, - "end": 3299, + "start": 4375, + "end": 4381, "loc": { "start": { - "line": 167, + "line": 222, "column": 17 }, "end": { - "line": 167, + "line": 222, "column": 23 } }, "expression": { "type": "BooleanLiteral", - "start": 3294, - "end": 3298, + "start": 4376, + "end": 4380, "loc": { "start": { - "line": 167, + "line": 222, "column": 18 }, "end": { - "line": 167, + "line": 222, "column": 22 } }, @@ -17352,29 +21076,29 @@ }, { "type": "JSXAttribute", - "start": 3306, - "end": 3324, + "start": 4388, + "end": 4406, "loc": { "start": { - "line": 168, + "line": 223, "column": 6 }, "end": { - "line": 168, + "line": 223, "column": 24 } }, "name": { "type": "JSXIdentifier", - "start": 3306, - "end": 3311, + "start": 4388, + "end": 4393, "loc": { "start": { - "line": 168, + "line": 223, "column": 6 }, "end": { - "line": 168, + "line": 223, "column": 11 } }, @@ -17382,43 +21106,43 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 3312, - "end": 3324, + "start": 4394, + "end": 4406, "loc": { "start": { - "line": 168, + "line": 223, "column": 12 }, "end": { - "line": 168, + "line": 223, "column": 24 } }, "expression": { "type": "MemberExpression", - "start": 3313, - "end": 3323, + "start": 4395, + "end": 4405, "loc": { "start": { - "line": 168, + "line": 223, "column": 13 }, "end": { - "line": 168, + "line": 223, "column": 23 } }, "object": { "type": "Identifier", - "start": 3313, - "end": 3319, + "start": 4395, + "end": 4401, "loc": { "start": { - "line": 168, + "line": 223, "column": 13 }, "end": { - "line": 168, + "line": 223, "column": 19 }, "identifierName": "values" @@ -17427,15 +21151,15 @@ }, "property": { "type": "Identifier", - "start": 3320, - "end": 3323, + "start": 4402, + "end": 4405, "loc": { "start": { - "line": 168, + "line": 223, "column": 20 }, "end": { - "line": 168, + "line": 223, "column": 23 }, "identifierName": "two" @@ -17448,29 +21172,29 @@ }, { "type": "JSXAttribute", - "start": 3331, - "end": 3398, + "start": 4413, + "end": 4480, "loc": { "start": { - "line": 169, + "line": 224, "column": 6 }, "end": { - "line": 171, + "line": 226, "column": 8 } }, "name": { "type": "JSXIdentifier", - "start": 3331, - "end": 3344, + "start": 4413, + "end": 4426, "loc": { "start": { - "line": 169, + "line": 224, "column": 6 }, "end": { - "line": 169, + "line": 224, "column": 19 } }, @@ -17478,29 +21202,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 3345, - "end": 3398, + "start": 4427, + "end": 4480, "loc": { "start": { - "line": 169, + "line": 224, "column": 20 }, "end": { - "line": 171, + "line": 226, "column": 8 } }, "expression": { "type": "ArrowFunctionExpression", - "start": 3346, - "end": 3397, + "start": 4428, + "end": 4479, "loc": { "start": { - "line": 169, + "line": 224, "column": 21 }, "end": { - "line": 171, + "line": 226, "column": 7 } }, @@ -17511,15 +21235,15 @@ "params": [ { "type": "Identifier", - "start": 3347, - "end": 3355, + "start": 4429, + "end": 4437, "loc": { "start": { - "line": 169, + "line": 224, "column": 22 }, "end": { - "line": 169, + "line": 224, "column": 30 }, "identifierName": "newValue" @@ -17529,73 +21253,73 @@ ], "body": { "type": "BlockStatement", - "start": 3360, - "end": 3397, + "start": 4442, + "end": 4479, "loc": { "start": { - "line": 169, + "line": 224, "column": 35 }, "end": { - "line": 171, + "line": 226, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 3369, - "end": 3389, + "start": 4451, + "end": 4471, "loc": { "start": { - "line": 170, + "line": 225, "column": 7 }, "end": { - "line": 170, + "line": 225, "column": 27 } }, "expression": { "type": "AssignmentExpression", - "start": 3369, - "end": 3388, + "start": 4451, + "end": 4470, "loc": { "start": { - "line": 170, + "line": 225, "column": 7 }, "end": { - "line": 170, + "line": 225, "column": 26 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 3369, - "end": 3379, + "start": 4451, + "end": 4461, "loc": { "start": { - "line": 170, + "line": 225, "column": 7 }, "end": { - "line": 170, + "line": 225, "column": 17 } }, "object": { "type": "Identifier", - "start": 3369, - "end": 3375, + "start": 4451, + "end": 4457, "loc": { "start": { - "line": 170, + "line": 225, "column": 7 }, "end": { - "line": 170, + "line": 225, "column": 13 }, "identifierName": "values" @@ -17604,15 +21328,15 @@ }, "property": { "type": "Identifier", - "start": 3376, - "end": 3379, + "start": 4458, + "end": 4461, "loc": { "start": { - "line": 170, + "line": 225, "column": 14 }, "end": { - "line": 170, + "line": 225, "column": 17 }, "identifierName": "two" @@ -17623,15 +21347,15 @@ }, "right": { "type": "Identifier", - "start": 3380, - "end": 3388, + "start": 4462, + "end": 4470, "loc": { "start": { - "line": 170, + "line": 225, "column": 18 }, "end": { - "line": 170, + "line": 225, "column": 26 }, "identifierName": "newValue" @@ -17649,15 +21373,15 @@ ], "name": { "type": "JSXIdentifier", - "start": 3150, - "end": 3160, + "start": 4232, + "end": 4242, "loc": { "start": { - "line": 162, + "line": 217, "column": 6 }, "end": { - "line": 162, + "line": 217, "column": 16 } }, @@ -17670,15 +21394,15 @@ }, { "type": "JSXText", - "start": 3406, - "end": 3413, + "start": 4488, + "end": 4495, "loc": { "start": { - "line": 172, + "line": 227, "column": 7 }, "end": { - "line": 174, + "line": 229, "column": 5 } }, @@ -17687,58 +21411,58 @@ }, { "type": "JSXElement", - "start": 3413, - "end": 3783, + "start": 4495, + "end": 4865, "loc": { "start": { - "line": 174, + "line": 229, "column": 5 }, "end": { - "line": 189, + "line": 244, "column": 7 } }, "openingElement": { "type": "JSXOpeningElement", - "start": 3413, - "end": 3783, + "start": 4495, + "end": 4865, "loc": { "start": { - "line": 174, + "line": 229, "column": 5 }, "end": { - "line": 189, + "line": 244, "column": 7 } }, "attributes": [ { "type": "JSXAttribute", - "start": 3431, - "end": 3448, + "start": 4513, + "end": 4530, "loc": { "start": { - "line": 175, + "line": 230, "column": 6 }, "end": { - "line": 175, + "line": 230, "column": 23 } }, "name": { "type": "JSXIdentifier", - "start": 3431, - "end": 3433, + "start": 4513, + "end": 4515, "loc": { "start": { - "line": 175, + "line": 230, "column": 6 }, "end": { - "line": 175, + "line": 230, "column": 8 } }, @@ -17746,29 +21470,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 3434, - "end": 3448, + "start": 4516, + "end": 4530, "loc": { "start": { - "line": 175, + "line": 230, "column": 9 }, "end": { - "line": 175, + "line": 230, "column": 23 } }, "expression": { "type": "StringLiteral", - "start": 3435, - "end": 3447, + "start": 4517, + "end": 4529, "loc": { "start": { - "line": 175, + "line": 230, "column": 10 }, "end": { - "line": 175, + "line": 230, "column": 22 } }, @@ -17782,29 +21506,29 @@ }, { "type": "JSXAttribute", - "start": 3455, - "end": 3503, + "start": 4537, + "end": 4585, "loc": { "start": { - "line": 176, + "line": 231, "column": 6 }, "end": { - "line": 176, + "line": 231, "column": 54 } }, "name": { "type": "JSXIdentifier", - "start": 3455, - "end": 3460, + "start": 4537, + "end": 4542, "loc": { "start": { - "line": 176, + "line": 231, "column": 6 }, "end": { - "line": 176, + "line": 231, "column": 11 } }, @@ -17812,29 +21536,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 3461, - "end": 3503, + "start": 4543, + "end": 4585, "loc": { "start": { - "line": 176, + "line": 231, "column": 12 }, "end": { - "line": 176, + "line": 231, "column": 54 } }, "expression": { "type": "StringLiteral", - "start": 3462, - "end": 3502, + "start": 4544, + "end": 4584, "loc": { "start": { - "line": 176, + "line": 231, "column": 13 }, "end": { - "line": 176, + "line": 231, "column": 53 } }, @@ -17848,29 +21572,29 @@ }, { "type": "JSXAttribute", - "start": 3510, - "end": 3524, + "start": 4592, + "end": 4606, "loc": { "start": { - "line": 177, + "line": 232, "column": 6 }, "end": { - "line": 177, + "line": 232, "column": 20 } }, "name": { "type": "JSXIdentifier", - "start": 3510, - "end": 3514, + "start": 4592, + "end": 4596, "loc": { "start": { - "line": 177, + "line": 232, "column": 6 }, "end": { - "line": 177, + "line": 232, "column": 10 } }, @@ -17878,29 +21602,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 3515, - "end": 3524, + "start": 4597, + "end": 4606, "loc": { "start": { - "line": 177, + "line": 232, "column": 11 }, "end": { - "line": 177, + "line": 232, "column": 20 } }, "expression": { "type": "StringLiteral", - "start": 3516, - "end": 3523, + "start": 4598, + "end": 4605, "loc": { "start": { - "line": 177, + "line": 232, "column": 12 }, "end": { - "line": 177, + "line": 232, "column": 19 } }, @@ -17914,29 +21638,29 @@ }, { "type": "JSXAttribute", - "start": 3531, - "end": 3549, + "start": 4613, + "end": 4631, "loc": { "start": { - "line": 178, + "line": 233, "column": 6 }, "end": { - "line": 178, + "line": 233, "column": 24 } }, "name": { "type": "JSXIdentifier", - "start": 3531, - "end": 3540, + "start": 4613, + "end": 4622, "loc": { "start": { - "line": 178, + "line": 233, "column": 6 }, "end": { - "line": 178, + "line": 233, "column": 15 } }, @@ -17944,29 +21668,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 3541, - "end": 3549, + "start": 4623, + "end": 4631, "loc": { "start": { - "line": 178, + "line": 233, "column": 16 }, "end": { - "line": 178, + "line": 233, "column": 24 } }, "expression": { "type": "StringLiteral", - "start": 3542, - "end": 3548, + "start": 4624, + "end": 4630, "loc": { "start": { - "line": 178, + "line": 233, "column": 17 }, "end": { - "line": 178, + "line": 233, "column": 23 } }, @@ -17980,29 +21704,29 @@ }, { "type": "JSXAttribute", - "start": 3556, - "end": 3573, + "start": 4638, + "end": 4655, "loc": { "start": { - "line": 179, + "line": 234, "column": 6 }, "end": { - "line": 179, + "line": 234, "column": 23 } }, "name": { "type": "JSXIdentifier", - "start": 3556, - "end": 3566, + "start": 4638, + "end": 4648, "loc": { "start": { - "line": 179, + "line": 234, "column": 6 }, "end": { - "line": 179, + "line": 234, "column": 16 } }, @@ -18010,29 +21734,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 3567, - "end": 3573, + "start": 4649, + "end": 4655, "loc": { "start": { - "line": 179, + "line": 234, "column": 17 }, "end": { - "line": 179, + "line": 234, "column": 23 } }, "expression": { "type": "BooleanLiteral", - "start": 3568, - "end": 3572, + "start": 4650, + "end": 4654, "loc": { "start": { - "line": 179, + "line": 234, "column": 18 }, "end": { - "line": 179, + "line": 234, "column": 22 } }, @@ -18042,29 +21766,29 @@ }, { "type": "JSXAttribute", - "start": 3580, - "end": 3598, + "start": 4662, + "end": 4680, "loc": { "start": { - "line": 180, + "line": 235, "column": 6 }, "end": { - "line": 180, + "line": 235, "column": 24 } }, "name": { "type": "JSXIdentifier", - "start": 3580, - "end": 3585, + "start": 4662, + "end": 4667, "loc": { "start": { - "line": 180, + "line": 235, "column": 6 }, "end": { - "line": 180, + "line": 235, "column": 11 } }, @@ -18072,43 +21796,43 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 3586, - "end": 3598, + "start": 4668, + "end": 4680, "loc": { "start": { - "line": 180, + "line": 235, "column": 12 }, "end": { - "line": 180, + "line": 235, "column": 24 } }, "expression": { "type": "MemberExpression", - "start": 3587, - "end": 3597, + "start": 4669, + "end": 4679, "loc": { "start": { - "line": 180, + "line": 235, "column": 13 }, "end": { - "line": 180, + "line": 235, "column": 23 } }, "object": { "type": "Identifier", - "start": 3587, - "end": 3593, + "start": 4669, + "end": 4675, "loc": { "start": { - "line": 180, + "line": 235, "column": 13 }, "end": { - "line": 180, + "line": 235, "column": 19 }, "identifierName": "values" @@ -18117,15 +21841,15 @@ }, "property": { "type": "Identifier", - "start": 3594, - "end": 3597, + "start": 4676, + "end": 4679, "loc": { "start": { - "line": 180, + "line": 235, "column": 20 }, "end": { - "line": 180, + "line": 235, "column": 23 }, "identifierName": "two" @@ -18138,29 +21862,29 @@ }, { "type": "JSXAttribute", - "start": 3605, - "end": 3672, + "start": 4687, + "end": 4754, "loc": { "start": { - "line": 181, + "line": 236, "column": 6 }, "end": { - "line": 183, + "line": 238, "column": 8 } }, "name": { "type": "JSXIdentifier", - "start": 3605, - "end": 3618, + "start": 4687, + "end": 4700, "loc": { "start": { - "line": 181, + "line": 236, "column": 6 }, "end": { - "line": 181, + "line": 236, "column": 19 } }, @@ -18168,29 +21892,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 3619, - "end": 3672, + "start": 4701, + "end": 4754, "loc": { "start": { - "line": 181, + "line": 236, "column": 20 }, "end": { - "line": 183, + "line": 238, "column": 8 } }, "expression": { "type": "ArrowFunctionExpression", - "start": 3620, - "end": 3671, + "start": 4702, + "end": 4753, "loc": { "start": { - "line": 181, + "line": 236, "column": 21 }, "end": { - "line": 183, + "line": 238, "column": 7 } }, @@ -18201,15 +21925,15 @@ "params": [ { "type": "Identifier", - "start": 3621, - "end": 3629, + "start": 4703, + "end": 4711, "loc": { "start": { - "line": 181, + "line": 236, "column": 22 }, "end": { - "line": 181, + "line": 236, "column": 30 }, "identifierName": "newValue" @@ -18219,73 +21943,73 @@ ], "body": { "type": "BlockStatement", - "start": 3634, - "end": 3671, + "start": 4716, + "end": 4753, "loc": { "start": { - "line": 181, + "line": 236, "column": 35 }, "end": { - "line": 183, + "line": 238, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 3643, - "end": 3663, + "start": 4725, + "end": 4745, "loc": { "start": { - "line": 182, + "line": 237, "column": 7 }, "end": { - "line": 182, + "line": 237, "column": 27 } }, "expression": { "type": "AssignmentExpression", - "start": 3643, - "end": 3662, + "start": 4725, + "end": 4744, "loc": { "start": { - "line": 182, + "line": 237, "column": 7 }, "end": { - "line": 182, + "line": 237, "column": 26 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 3643, - "end": 3653, + "start": 4725, + "end": 4735, "loc": { "start": { - "line": 182, + "line": 237, "column": 7 }, "end": { - "line": 182, + "line": 237, "column": 17 } }, "object": { "type": "Identifier", - "start": 3643, - "end": 3649, + "start": 4725, + "end": 4731, "loc": { "start": { - "line": 182, + "line": 237, "column": 7 }, "end": { - "line": 182, + "line": 237, "column": 13 }, "identifierName": "values" @@ -18294,15 +22018,15 @@ }, "property": { "type": "Identifier", - "start": 3650, - "end": 3653, + "start": 4732, + "end": 4735, "loc": { "start": { - "line": 182, + "line": 237, "column": 14 }, "end": { - "line": 182, + "line": 237, "column": 17 }, "identifierName": "two" @@ -18313,15 +22037,15 @@ }, "right": { "type": "Identifier", - "start": 3654, - "end": 3662, + "start": 4736, + "end": 4744, "loc": { "start": { - "line": 182, + "line": 237, "column": 18 }, "end": { - "line": 182, + "line": 237, "column": 26 }, "identifierName": "newValue" @@ -18338,29 +22062,29 @@ }, { "type": "JSXAttribute", - "start": 3679, - "end": 3753, + "start": 4761, + "end": 4835, "loc": { "start": { - "line": 184, + "line": 239, "column": 6 }, "end": { - "line": 187, + "line": 242, "column": 8 } }, "name": { "type": "JSXIdentifier", - "start": 3679, - "end": 3686, + "start": 4761, + "end": 4768, "loc": { "start": { - "line": 184, + "line": 239, "column": 6 }, "end": { - "line": 184, + "line": 239, "column": 13 } }, @@ -18368,44 +22092,44 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 3687, - "end": 3753, + "start": 4769, + "end": 4835, "loc": { "start": { - "line": 184, + "line": 239, "column": 14 }, "end": { - "line": 187, + "line": 242, "column": 8 } }, "expression": { "type": "ObjectExpression", - "start": 3688, - "end": 3752, + "start": 4770, + "end": 4834, "loc": { "start": { - "line": 184, + "line": 239, "column": 15 }, "end": { - "line": 187, + "line": 242, "column": 7 } }, "properties": [ { "type": "ObjectProperty", - "start": 3697, - "end": 3724, + "start": 4779, + "end": 4806, "loc": { "start": { - "line": 185, + "line": 240, "column": 7 }, "end": { - "line": 185, + "line": 240, "column": 34 } }, @@ -18414,15 +22138,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 3697, - "end": 3704, + "start": 4779, + "end": 4786, "loc": { "start": { - "line": 185, + "line": 240, "column": 7 }, "end": { - "line": 185, + "line": 240, "column": 14 }, "identifierName": "message" @@ -18431,15 +22155,15 @@ }, "value": { "type": "StringLiteral", - "start": 3705, - "end": 3724, + "start": 4787, + "end": 4806, "loc": { "start": { - "line": 185, + "line": 240, "column": 15 }, "end": { - "line": 185, + "line": 240, "column": 34 } }, @@ -18452,15 +22176,15 @@ }, { "type": "ObjectProperty", - "start": 3733, - "end": 3744, + "start": 4815, + "end": 4826, "loc": { "start": { - "line": 186, + "line": 241, "column": 7 }, "end": { - "line": 186, + "line": 241, "column": 18 } }, @@ -18469,15 +22193,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 3733, - "end": 3738, + "start": 4815, + "end": 4820, "loc": { "start": { - "line": 186, + "line": 241, "column": 7 }, "end": { - "line": 186, + "line": 241, "column": 12 }, "identifierName": "error" @@ -18486,15 +22210,15 @@ }, "value": { "type": "BooleanLiteral", - "start": 3740, - "end": 3744, + "start": 4822, + "end": 4826, "loc": { "start": { - "line": 186, + "line": 241, "column": 14 }, "end": { - "line": 186, + "line": 241, "column": 18 } }, @@ -18507,29 +22231,29 @@ }, { "type": "JSXAttribute", - "start": 3760, - "end": 3775, + "start": 4842, + "end": 4857, "loc": { "start": { - "line": 188, + "line": 243, "column": 6 }, "end": { - "line": 188, + "line": 243, "column": 21 } }, "name": { "type": "JSXIdentifier", - "start": 3760, - "end": 3768, + "start": 4842, + "end": 4850, "loc": { "start": { - "line": 188, + "line": 243, "column": 6 }, "end": { - "line": 188, + "line": 243, "column": 14 } }, @@ -18537,29 +22261,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 3769, - "end": 3775, + "start": 4851, + "end": 4857, "loc": { "start": { - "line": 188, + "line": 243, "column": 15 }, "end": { - "line": 188, + "line": 243, "column": 21 } }, "expression": { "type": "BooleanLiteral", - "start": 3770, - "end": 3774, + "start": 4852, + "end": 4856, "loc": { "start": { - "line": 188, + "line": 243, "column": 16 }, "end": { - "line": 188, + "line": 243, "column": 20 } }, @@ -18570,15 +22294,15 @@ ], "name": { "type": "JSXIdentifier", - "start": 3414, - "end": 3424, + "start": 4496, + "end": 4506, "loc": { "start": { - "line": 174, + "line": 229, "column": 6 }, "end": { - "line": 174, + "line": 229, "column": 16 } }, @@ -18591,15 +22315,15 @@ }, { "type": "JSXText", - "start": 3783, - "end": 3790, + "start": 4865, + "end": 4872, "loc": { "start": { - "line": 189, + "line": 244, "column": 7 }, "end": { - "line": 191, + "line": 246, "column": 5 } }, @@ -18608,58 +22332,58 @@ }, { "type": "JSXElement", - "start": 3790, - "end": 4150, + "start": 4872, + "end": 5232, "loc": { "start": { - "line": 191, + "line": 246, "column": 5 }, "end": { - "line": 205, + "line": 260, "column": 7 } }, "openingElement": { "type": "JSXOpeningElement", - "start": 3790, - "end": 4150, + "start": 4872, + "end": 5232, "loc": { "start": { - "line": 191, + "line": 246, "column": 5 }, "end": { - "line": 205, + "line": 260, "column": 7 } }, "attributes": [ { "type": "JSXAttribute", - "start": 3808, - "end": 3825, + "start": 4890, + "end": 4907, "loc": { "start": { - "line": 192, + "line": 247, "column": 6 }, "end": { - "line": 192, + "line": 247, "column": 23 } }, "name": { "type": "JSXIdentifier", - "start": 3808, - "end": 3810, + "start": 4890, + "end": 4892, "loc": { "start": { - "line": 192, + "line": 247, "column": 6 }, "end": { - "line": 192, + "line": 247, "column": 8 } }, @@ -18667,29 +22391,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 3811, - "end": 3825, + "start": 4893, + "end": 4907, "loc": { "start": { - "line": 192, + "line": 247, "column": 9 }, "end": { - "line": 192, + "line": 247, "column": 23 } }, "expression": { "type": "StringLiteral", - "start": 3812, - "end": 3824, + "start": 4894, + "end": 4906, "loc": { "start": { - "line": 192, + "line": 247, "column": 10 }, "end": { - "line": 192, + "line": 247, "column": 22 } }, @@ -18703,29 +22427,29 @@ }, { "type": "JSXAttribute", - "start": 3832, - "end": 3883, + "start": 4914, + "end": 4965, "loc": { "start": { - "line": 193, + "line": 248, "column": 6 }, "end": { - "line": 193, + "line": 248, "column": 57 } }, "name": { "type": "JSXIdentifier", - "start": 3832, - "end": 3837, + "start": 4914, + "end": 4919, "loc": { "start": { - "line": 193, + "line": 248, "column": 6 }, "end": { - "line": 193, + "line": 248, "column": 11 } }, @@ -18733,29 +22457,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 3838, - "end": 3883, + "start": 4920, + "end": 4965, "loc": { "start": { - "line": 193, + "line": 248, "column": 12 }, "end": { - "line": 193, + "line": 248, "column": 57 } }, "expression": { "type": "StringLiteral", - "start": 3839, - "end": 3882, + "start": 4921, + "end": 4964, "loc": { "start": { - "line": 193, + "line": 248, "column": 13 }, "end": { - "line": 193, + "line": 248, "column": 56 } }, @@ -18769,29 +22493,29 @@ }, { "type": "JSXAttribute", - "start": 3890, - "end": 3904, + "start": 4972, + "end": 4986, "loc": { "start": { - "line": 194, + "line": 249, "column": 6 }, "end": { - "line": 194, + "line": 249, "column": 20 } }, "name": { "type": "JSXIdentifier", - "start": 3890, - "end": 3894, + "start": 4972, + "end": 4976, "loc": { "start": { - "line": 194, + "line": 249, "column": 6 }, "end": { - "line": 194, + "line": 249, "column": 10 } }, @@ -18799,29 +22523,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 3895, - "end": 3904, + "start": 4977, + "end": 4986, "loc": { "start": { - "line": 194, + "line": 249, "column": 11 }, "end": { - "line": 194, + "line": 249, "column": 20 } }, "expression": { "type": "StringLiteral", - "start": 3896, - "end": 3903, + "start": 4978, + "end": 4985, "loc": { "start": { - "line": 194, + "line": 249, "column": 12 }, "end": { - "line": 194, + "line": 249, "column": 19 } }, @@ -18835,29 +22559,29 @@ }, { "type": "JSXAttribute", - "start": 3911, - "end": 3929, + "start": 4993, + "end": 5011, "loc": { "start": { - "line": 195, + "line": 250, "column": 6 }, "end": { - "line": 195, + "line": 250, "column": 24 } }, "name": { "type": "JSXIdentifier", - "start": 3911, - "end": 3920, + "start": 4993, + "end": 5002, "loc": { "start": { - "line": 195, + "line": 250, "column": 6 }, "end": { - "line": 195, + "line": 250, "column": 15 } }, @@ -18865,29 +22589,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 3921, - "end": 3929, + "start": 5003, + "end": 5011, "loc": { "start": { - "line": 195, + "line": 250, "column": 16 }, "end": { - "line": 195, + "line": 250, "column": 24 } }, "expression": { "type": "StringLiteral", - "start": 3922, - "end": 3928, + "start": 5004, + "end": 5010, "loc": { "start": { - "line": 195, + "line": 250, "column": 17 }, "end": { - "line": 195, + "line": 250, "column": 23 } }, @@ -18901,29 +22625,29 @@ }, { "type": "JSXAttribute", - "start": 3936, - "end": 3953, + "start": 5018, + "end": 5035, "loc": { "start": { - "line": 196, + "line": 251, "column": 6 }, "end": { - "line": 196, + "line": 251, "column": 23 } }, "name": { "type": "JSXIdentifier", - "start": 3936, - "end": 3946, + "start": 5018, + "end": 5028, "loc": { "start": { - "line": 196, + "line": 251, "column": 6 }, "end": { - "line": 196, + "line": 251, "column": 16 } }, @@ -18931,29 +22655,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 3947, - "end": 3953, + "start": 5029, + "end": 5035, "loc": { "start": { - "line": 196, + "line": 251, "column": 17 }, "end": { - "line": 196, + "line": 251, "column": 23 } }, "expression": { "type": "BooleanLiteral", - "start": 3948, - "end": 3952, + "start": 5030, + "end": 5034, "loc": { "start": { - "line": 196, + "line": 251, "column": 18 }, "end": { - "line": 196, + "line": 251, "column": 22 } }, @@ -18963,29 +22687,29 @@ }, { "type": "JSXAttribute", - "start": 3960, - "end": 3978, + "start": 5042, + "end": 5060, "loc": { "start": { - "line": 197, + "line": 252, "column": 6 }, "end": { - "line": 197, + "line": 252, "column": 24 } }, "name": { "type": "JSXIdentifier", - "start": 3960, - "end": 3965, + "start": 5042, + "end": 5047, "loc": { "start": { - "line": 197, + "line": 252, "column": 6 }, "end": { - "line": 197, + "line": 252, "column": 11 } }, @@ -18993,43 +22717,43 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 3966, - "end": 3978, + "start": 5048, + "end": 5060, "loc": { "start": { - "line": 197, + "line": 252, "column": 12 }, "end": { - "line": 197, + "line": 252, "column": 24 } }, "expression": { "type": "MemberExpression", - "start": 3967, - "end": 3977, + "start": 5049, + "end": 5059, "loc": { "start": { - "line": 197, + "line": 252, "column": 13 }, "end": { - "line": 197, + "line": 252, "column": 23 } }, "object": { "type": "Identifier", - "start": 3967, - "end": 3973, + "start": 5049, + "end": 5055, "loc": { "start": { - "line": 197, + "line": 252, "column": 13 }, "end": { - "line": 197, + "line": 252, "column": 19 }, "identifierName": "values" @@ -19038,15 +22762,15 @@ }, "property": { "type": "Identifier", - "start": 3974, - "end": 3977, + "start": 5056, + "end": 5059, "loc": { "start": { - "line": 197, + "line": 252, "column": 20 }, "end": { - "line": 197, + "line": 252, "column": 23 }, "identifierName": "two" @@ -19059,29 +22783,29 @@ }, { "type": "JSXAttribute", - "start": 3985, - "end": 4052, + "start": 5067, + "end": 5134, "loc": { "start": { - "line": 198, + "line": 253, "column": 6 }, "end": { - "line": 200, + "line": 255, "column": 8 } }, "name": { "type": "JSXIdentifier", - "start": 3985, - "end": 3998, + "start": 5067, + "end": 5080, "loc": { "start": { - "line": 198, + "line": 253, "column": 6 }, "end": { - "line": 198, + "line": 253, "column": 19 } }, @@ -19089,29 +22813,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 3999, - "end": 4052, + "start": 5081, + "end": 5134, "loc": { "start": { - "line": 198, + "line": 253, "column": 20 }, "end": { - "line": 200, + "line": 255, "column": 8 } }, "expression": { "type": "ArrowFunctionExpression", - "start": 4000, - "end": 4051, + "start": 5082, + "end": 5133, "loc": { "start": { - "line": 198, + "line": 253, "column": 21 }, "end": { - "line": 200, + "line": 255, "column": 7 } }, @@ -19122,15 +22846,15 @@ "params": [ { "type": "Identifier", - "start": 4001, - "end": 4009, + "start": 5083, + "end": 5091, "loc": { "start": { - "line": 198, + "line": 253, "column": 22 }, "end": { - "line": 198, + "line": 253, "column": 30 }, "identifierName": "newValue" @@ -19140,73 +22864,73 @@ ], "body": { "type": "BlockStatement", - "start": 4014, - "end": 4051, + "start": 5096, + "end": 5133, "loc": { "start": { - "line": 198, + "line": 253, "column": 35 }, "end": { - "line": 200, + "line": 255, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 4023, - "end": 4043, + "start": 5105, + "end": 5125, "loc": { "start": { - "line": 199, + "line": 254, "column": 7 }, "end": { - "line": 199, + "line": 254, "column": 27 } }, "expression": { "type": "AssignmentExpression", - "start": 4023, - "end": 4042, + "start": 5105, + "end": 5124, "loc": { "start": { - "line": 199, + "line": 254, "column": 7 }, "end": { - "line": 199, + "line": 254, "column": 26 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 4023, - "end": 4033, + "start": 5105, + "end": 5115, "loc": { "start": { - "line": 199, + "line": 254, "column": 7 }, "end": { - "line": 199, + "line": 254, "column": 17 } }, "object": { "type": "Identifier", - "start": 4023, - "end": 4029, + "start": 5105, + "end": 5111, "loc": { "start": { - "line": 199, + "line": 254, "column": 7 }, "end": { - "line": 199, + "line": 254, "column": 13 }, "identifierName": "values" @@ -19215,15 +22939,15 @@ }, "property": { "type": "Identifier", - "start": 4030, - "end": 4033, + "start": 5112, + "end": 5115, "loc": { "start": { - "line": 199, + "line": 254, "column": 14 }, "end": { - "line": 199, + "line": 254, "column": 17 }, "identifierName": "two" @@ -19234,15 +22958,15 @@ }, "right": { "type": "Identifier", - "start": 4034, - "end": 4042, + "start": 5116, + "end": 5124, "loc": { "start": { - "line": 199, + "line": 254, "column": 18 }, "end": { - "line": 199, + "line": 254, "column": 26 }, "identifierName": "newValue" @@ -19259,29 +22983,29 @@ }, { "type": "JSXAttribute", - "start": 4059, - "end": 4142, + "start": 5141, + "end": 5224, "loc": { "start": { - "line": 201, + "line": 256, "column": 6 }, "end": { - "line": 204, + "line": 259, "column": 8 } }, "name": { "type": "JSXIdentifier", - "start": 4059, - "end": 4066, + "start": 5141, + "end": 5148, "loc": { "start": { - "line": 201, + "line": 256, "column": 6 }, "end": { - "line": 201, + "line": 256, "column": 13 } }, @@ -19289,44 +23013,44 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 4067, - "end": 4142, + "start": 5149, + "end": 5224, "loc": { "start": { - "line": 201, + "line": 256, "column": 14 }, "end": { - "line": 204, + "line": 259, "column": 8 } }, "expression": { "type": "ObjectExpression", - "start": 4068, - "end": 4141, + "start": 5150, + "end": 5223, "loc": { "start": { - "line": 201, + "line": 256, "column": 15 }, "end": { - "line": 204, + "line": 259, "column": 7 } }, "properties": [ { "type": "ObjectProperty", - "start": 4077, - "end": 4112, + "start": 5159, + "end": 5194, "loc": { "start": { - "line": 202, + "line": 257, "column": 7 }, "end": { - "line": 202, + "line": 257, "column": 42 } }, @@ -19335,15 +23059,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 4077, - "end": 4084, + "start": 5159, + "end": 5166, "loc": { "start": { - "line": 202, + "line": 257, "column": 7 }, "end": { - "line": 202, + "line": 257, "column": 14 }, "identifierName": "message" @@ -19352,15 +23076,15 @@ }, "value": { "type": "StringLiteral", - "start": 4085, - "end": 4112, + "start": 5167, + "end": 5194, "loc": { "start": { - "line": 202, + "line": 257, "column": 15 }, "end": { - "line": 202, + "line": 257, "column": 42 } }, @@ -19373,15 +23097,15 @@ }, { "type": "ObjectProperty", - "start": 4121, - "end": 4133, + "start": 5203, + "end": 5215, "loc": { "start": { - "line": 203, + "line": 258, "column": 7 }, "end": { - "line": 203, + "line": 258, "column": 19 } }, @@ -19390,15 +23114,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 4121, - "end": 4126, + "start": 5203, + "end": 5208, "loc": { "start": { - "line": 203, + "line": 258, "column": 7 }, "end": { - "line": 203, + "line": 258, "column": 12 }, "identifierName": "error" @@ -19407,15 +23131,15 @@ }, "value": { "type": "BooleanLiteral", - "start": 4128, - "end": 4133, + "start": 5210, + "end": 5215, "loc": { "start": { - "line": 203, + "line": 258, "column": 14 }, "end": { - "line": 203, + "line": 258, "column": 19 } }, @@ -19429,15 +23153,15 @@ ], "name": { "type": "JSXIdentifier", - "start": 3791, - "end": 3801, + "start": 4873, + "end": 4883, "loc": { "start": { - "line": 191, + "line": 246, "column": 6 }, "end": { - "line": 191, + "line": 246, "column": 16 } }, @@ -19450,15 +23174,15 @@ }, { "type": "JSXText", - "start": 4150, - "end": 4155, + "start": 5232, + "end": 5237, "loc": { "start": { - "line": 205, + "line": 260, "column": 7 }, "end": { - "line": 206, + "line": 261, "column": 4 } }, @@ -19469,15 +23193,15 @@ }, { "type": "JSXText", - "start": 4161, - "end": 4166, + "start": 5243, + "end": 5248, "loc": { "start": { - "line": 206, + "line": 261, "column": 10 }, "end": { - "line": 207, + "line": 262, "column": 4 } }, @@ -19486,44 +23210,44 @@ }, { "type": "JSXElement", - "start": 4166, - "end": 4556, + "start": 5248, + "end": 5638, "loc": { "start": { - "line": 207, + "line": 262, "column": 4 }, "end": { - "line": 229, + "line": 284, "column": 10 } }, "openingElement": { "type": "JSXOpeningElement", - "start": 4166, - "end": 4171, + "start": 5248, + "end": 5253, "loc": { "start": { - "line": 207, + "line": 262, "column": 4 }, "end": { - "line": 207, + "line": 262, "column": 9 } }, "attributes": [], "name": { "type": "JSXIdentifier", - "start": 4167, - "end": 4170, + "start": 5249, + "end": 5252, "loc": { "start": { - "line": 207, + "line": 262, "column": 5 }, "end": { - "line": 207, + "line": 262, "column": 8 } }, @@ -19533,29 +23257,29 @@ }, "closingElement": { "type": "JSXClosingElement", - "start": 4550, - "end": 4556, + "start": 5632, + "end": 5638, "loc": { "start": { - "line": 229, + "line": 284, "column": 4 }, "end": { - "line": 229, + "line": 284, "column": 10 } }, "name": { "type": "JSXIdentifier", - "start": 4552, - "end": 4555, + "start": 5634, + "end": 5637, "loc": { "start": { - "line": 229, + "line": 284, "column": 6 }, "end": { - "line": 229, + "line": 284, "column": 9 } }, @@ -19565,15 +23289,15 @@ "children": [ { "type": "JSXText", - "start": 4171, - "end": 4177, + "start": 5253, + "end": 5259, "loc": { "start": { - "line": 207, + "line": 262, "column": 9 }, "end": { - "line": 208, + "line": 263, "column": 5 } }, @@ -19582,44 +23306,44 @@ }, { "type": "JSXElement", - "start": 4177, - "end": 4193, + "start": 5259, + "end": 5275, "loc": { "start": { - "line": 208, + "line": 263, "column": 5 }, "end": { - "line": 208, + "line": 263, "column": 21 } }, "openingElement": { "type": "JSXOpeningElement", - "start": 4177, - "end": 4181, + "start": 5259, + "end": 5263, "loc": { "start": { - "line": 208, + "line": 263, "column": 5 }, "end": { - "line": 208, + "line": 263, "column": 9 } }, "attributes": [], "name": { "type": "JSXIdentifier", - "start": 4178, - "end": 4180, + "start": 5260, + "end": 5262, "loc": { "start": { - "line": 208, + "line": 263, "column": 6 }, "end": { - "line": 208, + "line": 263, "column": 8 } }, @@ -19629,29 +23353,29 @@ }, "closingElement": { "type": "JSXClosingElement", - "start": 4188, - "end": 4193, + "start": 5270, + "end": 5275, "loc": { "start": { - "line": 208, + "line": 263, "column": 16 }, "end": { - "line": 208, + "line": 263, "column": 21 } }, "name": { "type": "JSXIdentifier", - "start": 4190, - "end": 4192, + "start": 5272, + "end": 5274, "loc": { "start": { - "line": 208, + "line": 263, "column": 18 }, "end": { - "line": 208, + "line": 263, "column": 20 } }, @@ -19661,15 +23385,15 @@ "children": [ { "type": "JSXText", - "start": 4181, - "end": 4188, + "start": 5263, + "end": 5270, "loc": { "start": { - "line": 208, + "line": 263, "column": 9 }, "end": { - "line": 208, + "line": 263, "column": 16 } }, @@ -19680,15 +23404,15 @@ }, { "type": "JSXText", - "start": 4193, - "end": 4199, + "start": 5275, + "end": 5281, "loc": { "start": { - "line": 208, + "line": 263, "column": 21 }, "end": { - "line": 209, + "line": 264, "column": 5 } }, @@ -19697,58 +23421,58 @@ }, { "type": "JSXElement", - "start": 4199, - "end": 4544, + "start": 5281, + "end": 5626, "loc": { "start": { - "line": 209, + "line": 264, "column": 5 }, "end": { - "line": 227, + "line": 282, "column": 7 } }, "openingElement": { "type": "JSXOpeningElement", - "start": 4199, - "end": 4544, + "start": 5281, + "end": 5626, "loc": { "start": { - "line": 209, + "line": 264, "column": 5 }, "end": { - "line": 227, + "line": 282, "column": 7 } }, "attributes": [ { "type": "JSXAttribute", - "start": 4217, - "end": 4232, + "start": 5299, + "end": 5314, "loc": { "start": { - "line": 210, + "line": 265, "column": 6 }, "end": { - "line": 210, + "line": 265, "column": 21 } }, "name": { "type": "JSXIdentifier", - "start": 4217, - "end": 4221, + "start": 5299, + "end": 5303, "loc": { "start": { - "line": 210, + "line": 265, "column": 6 }, "end": { - "line": 210, + "line": 265, "column": 10 } }, @@ -19756,29 +23480,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 4222, - "end": 4232, + "start": 5304, + "end": 5314, "loc": { "start": { - "line": 210, + "line": 265, "column": 11 }, "end": { - "line": 210, + "line": 265, "column": 21 } }, "expression": { "type": "StringLiteral", - "start": 4223, - "end": 4231, + "start": 5305, + "end": 5313, "loc": { "start": { - "line": 210, + "line": 265, "column": 12 }, "end": { - "line": 210, + "line": 265, "column": 20 } }, @@ -19792,29 +23516,29 @@ }, { "type": "JSXAttribute", - "start": 4239, - "end": 4267, + "start": 5321, + "end": 5349, "loc": { "start": { - "line": 211, + "line": 266, "column": 6 }, "end": { - "line": 211, + "line": 266, "column": 34 } }, "name": { "type": "JSXIdentifier", - "start": 4239, - "end": 4244, + "start": 5321, + "end": 5326, "loc": { "start": { - "line": 211, + "line": 266, "column": 6 }, "end": { - "line": 211, + "line": 266, "column": 11 } }, @@ -19822,29 +23546,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 4245, - "end": 4267, + "start": 5327, + "end": 5349, "loc": { "start": { - "line": 211, + "line": 266, "column": 12 }, "end": { - "line": 211, + "line": 266, "column": 34 } }, "expression": { "type": "StringLiteral", - "start": 4246, - "end": 4266, + "start": 5328, + "end": 5348, "loc": { "start": { - "line": 211, + "line": 266, "column": 13 }, "end": { - "line": 211, + "line": 266, "column": 33 } }, @@ -19858,29 +23582,29 @@ }, { "type": "JSXAttribute", - "start": 4274, - "end": 4298, + "start": 5356, + "end": 5380, "loc": { "start": { - "line": 212, + "line": 267, "column": 6 }, "end": { - "line": 212, + "line": 267, "column": 30 } }, "name": { "type": "JSXIdentifier", - "start": 4274, - "end": 4279, + "start": 5356, + "end": 5361, "loc": { "start": { - "line": 212, + "line": 267, "column": 6 }, "end": { - "line": 212, + "line": 267, "column": 11 } }, @@ -19888,29 +23612,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 4280, - "end": 4298, + "start": 5362, + "end": 5380, "loc": { "start": { - "line": 212, + "line": 267, "column": 12 }, "end": { - "line": 212, + "line": 267, "column": 30 } }, "expression": { "type": "Identifier", - "start": 4281, - "end": 4297, + "start": 5363, + "end": 5379, "loc": { "start": { - "line": 212, + "line": 267, "column": 13 }, "end": { - "line": 212, + "line": 267, "column": 29 }, "identifierName": "selectFieldValue" @@ -19921,29 +23645,29 @@ }, { "type": "JSXAttribute", - "start": 4305, - "end": 4313, + "start": 5387, + "end": 5395, "loc": { "start": { - "line": 213, + "line": 268, "column": 6 }, "end": { - "line": 213, + "line": 268, "column": 14 } }, "name": { "type": "JSXIdentifier", - "start": 4305, - "end": 4307, + "start": 5387, + "end": 5389, "loc": { "start": { - "line": 213, + "line": 268, "column": 6 }, "end": { - "line": 213, + "line": 268, "column": 8 } }, @@ -19951,29 +23675,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 4308, - "end": 4313, + "start": 5390, + "end": 5395, "loc": { "start": { - "line": 213, + "line": 268, "column": 9 }, "end": { - "line": 213, + "line": 268, "column": 14 } }, "expression": { "type": "StringLiteral", - "start": 4309, - "end": 4312, + "start": 5391, + "end": 5394, "loc": { "start": { - "line": 213, + "line": 268, "column": 10 }, "end": { - "line": 213, + "line": 268, "column": 13 } }, @@ -19987,29 +23711,29 @@ }, { "type": "JSXAttribute", - "start": 4320, - "end": 4395, + "start": 5402, + "end": 5477, "loc": { "start": { - "line": 214, + "line": 269, "column": 6 }, "end": { - "line": 216, + "line": 271, "column": 8 } }, "name": { "type": "JSXIdentifier", - "start": 4320, - "end": 4333, + "start": 5402, + "end": 5415, "loc": { "start": { - "line": 214, + "line": 269, "column": 6 }, "end": { - "line": 214, + "line": 269, "column": 19 } }, @@ -20017,29 +23741,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 4334, - "end": 4395, + "start": 5416, + "end": 5477, "loc": { "start": { - "line": 214, + "line": 269, "column": 20 }, "end": { - "line": 216, + "line": 271, "column": 8 } }, "expression": { "type": "ArrowFunctionExpression", - "start": 4335, - "end": 4394, + "start": 5417, + "end": 5476, "loc": { "start": { - "line": 214, + "line": 269, "column": 21 }, "end": { - "line": 216, + "line": 271, "column": 7 } }, @@ -20050,15 +23774,15 @@ "params": [ { "type": "Identifier", - "start": 4336, - "end": 4344, + "start": 5418, + "end": 5426, "loc": { "start": { - "line": 214, + "line": 269, "column": 22 }, "end": { - "line": 214, + "line": 269, "column": 30 }, "identifierName": "newValue" @@ -20068,59 +23792,59 @@ ], "body": { "type": "BlockStatement", - "start": 4349, - "end": 4394, + "start": 5431, + "end": 5476, "loc": { "start": { - "line": 214, + "line": 269, "column": 35 }, "end": { - "line": 216, + "line": 271, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 4358, - "end": 4386, + "start": 5440, + "end": 5468, "loc": { "start": { - "line": 215, + "line": 270, "column": 7 }, "end": { - "line": 215, + "line": 270, "column": 35 } }, "expression": { "type": "AssignmentExpression", - "start": 4358, - "end": 4385, + "start": 5440, + "end": 5467, "loc": { "start": { - "line": 215, + "line": 270, "column": 7 }, "end": { - "line": 215, + "line": 270, "column": 34 } }, "operator": "=", "left": { "type": "Identifier", - "start": 4358, - "end": 4374, + "start": 5440, + "end": 5456, "loc": { "start": { - "line": 215, + "line": 270, "column": 7 }, "end": { - "line": 215, + "line": 270, "column": 23 }, "identifierName": "selectFieldValue" @@ -20129,15 +23853,15 @@ }, "right": { "type": "Identifier", - "start": 4377, - "end": 4385, + "start": 5459, + "end": 5467, "loc": { "start": { - "line": 215, + "line": 270, "column": 26 }, "end": { - "line": 215, + "line": 270, "column": 34 }, "identifierName": "newValue" @@ -20154,29 +23878,29 @@ }, { "type": "JSXAttribute", - "start": 4402, - "end": 4536, + "start": 5484, + "end": 5618, "loc": { "start": { - "line": 217, + "line": 272, "column": 6 }, "end": { - "line": 226, + "line": 281, "column": 8 } }, "name": { "type": "JSXIdentifier", - "start": 4402, - "end": 4409, + "start": 5484, + "end": 5491, "loc": { "start": { - "line": 217, + "line": 272, "column": 6 }, "end": { - "line": 217, + "line": 272, "column": 13 } }, @@ -20184,59 +23908,59 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 4410, - "end": 4536, + "start": 5492, + "end": 5618, "loc": { "start": { - "line": 217, + "line": 272, "column": 14 }, "end": { - "line": 226, + "line": 281, "column": 8 } }, "expression": { "type": "ArrayExpression", - "start": 4411, - "end": 4535, + "start": 5493, + "end": 5617, "loc": { "start": { - "line": 217, + "line": 272, "column": 15 }, "end": { - "line": 226, + "line": 281, "column": 7 } }, "elements": [ { "type": "ObjectExpression", - "start": 4420, - "end": 4469, + "start": 5502, + "end": 5551, "loc": { "start": { - "line": 218, + "line": 273, "column": 7 }, "end": { - "line": 221, + "line": 276, "column": 8 } }, "properties": [ { "type": "ObjectProperty", - "start": 4430, - "end": 4438, + "start": 5512, + "end": 5520, "loc": { "start": { - "line": 219, + "line": 274, "column": 8 }, "end": { - "line": 219, + "line": 274, "column": 16 } }, @@ -20245,15 +23969,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 4430, - "end": 4435, + "start": 5512, + "end": 5517, "loc": { "start": { - "line": 219, + "line": 274, "column": 8 }, "end": { - "line": 219, + "line": 274, "column": 13 }, "identifierName": "value" @@ -20262,15 +23986,15 @@ }, "value": { "type": "NumericLiteral", - "start": 4437, - "end": 4438, + "start": 5519, + "end": 5520, "loc": { "start": { - "line": 219, + "line": 274, "column": 15 }, "end": { - "line": 219, + "line": 274, "column": 16 } }, @@ -20283,15 +24007,15 @@ }, { "type": "ObjectProperty", - "start": 4448, - "end": 4460, + "start": 5530, + "end": 5542, "loc": { "start": { - "line": 220, + "line": 275, "column": 8 }, "end": { - "line": 220, + "line": 275, "column": 20 } }, @@ -20300,15 +24024,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 4448, - "end": 4453, + "start": 5530, + "end": 5535, "loc": { "start": { - "line": 220, + "line": 275, "column": 8 }, "end": { - "line": 220, + "line": 275, "column": 13 }, "identifierName": "label" @@ -20317,15 +24041,15 @@ }, "value": { "type": "StringLiteral", - "start": 4455, - "end": 4460, + "start": 5537, + "end": 5542, "loc": { "start": { - "line": 220, + "line": 275, "column": 15 }, "end": { - "line": 220, + "line": 275, "column": 20 } }, @@ -20340,30 +24064,30 @@ }, { "type": "ObjectExpression", - "start": 4478, - "end": 4527, + "start": 5560, + "end": 5609, "loc": { "start": { - "line": 222, + "line": 277, "column": 7 }, "end": { - "line": 225, + "line": 280, "column": 8 } }, "properties": [ { "type": "ObjectProperty", - "start": 4488, - "end": 4496, + "start": 5570, + "end": 5578, "loc": { "start": { - "line": 223, + "line": 278, "column": 8 }, "end": { - "line": 223, + "line": 278, "column": 16 } }, @@ -20372,15 +24096,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 4488, - "end": 4493, + "start": 5570, + "end": 5575, "loc": { "start": { - "line": 223, + "line": 278, "column": 8 }, "end": { - "line": 223, + "line": 278, "column": 13 }, "identifierName": "value" @@ -20389,15 +24113,15 @@ }, "value": { "type": "NumericLiteral", - "start": 4495, - "end": 4496, + "start": 5577, + "end": 5578, "loc": { "start": { - "line": 223, + "line": 278, "column": 15 }, "end": { - "line": 223, + "line": 278, "column": 16 } }, @@ -20410,15 +24134,15 @@ }, { "type": "ObjectProperty", - "start": 4506, - "end": 4518, + "start": 5588, + "end": 5600, "loc": { "start": { - "line": 224, + "line": 279, "column": 8 }, "end": { - "line": 224, + "line": 279, "column": 20 } }, @@ -20427,15 +24151,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 4506, - "end": 4511, + "start": 5588, + "end": 5593, "loc": { "start": { - "line": 224, + "line": 279, "column": 8 }, "end": { - "line": 224, + "line": 279, "column": 13 }, "identifierName": "label" @@ -20444,15 +24168,15 @@ }, "value": { "type": "StringLiteral", - "start": 4513, - "end": 4518, + "start": 5595, + "end": 5600, "loc": { "start": { - "line": 224, + "line": 279, "column": 15 }, "end": { - "line": 224, + "line": 279, "column": 20 } }, @@ -20472,15 +24196,15 @@ ], "name": { "type": "JSXIdentifier", - "start": 4200, - "end": 4210, + "start": 5282, + "end": 5292, "loc": { "start": { - "line": 209, + "line": 264, "column": 6 }, "end": { - "line": 209, + "line": 264, "column": 16 } }, @@ -20493,15 +24217,15 @@ }, { "type": "JSXText", - "start": 4544, - "end": 4550, + "start": 5626, + "end": 5632, "loc": { "start": { - "line": 227, + "line": 282, "column": 7 }, "end": { - "line": 229, + "line": 284, "column": 4 } }, @@ -20512,15 +24236,15 @@ }, { "type": "JSXText", - "start": 4556, - "end": 4562, + "start": 5638, + "end": 5644, "loc": { "start": { - "line": 229, + "line": 284, "column": 10 }, "end": { - "line": 231, + "line": 286, "column": 4 } }, @@ -20529,44 +24253,44 @@ }, { "type": "JSXElement", - "start": 4562, - "end": 4967, + "start": 5644, + "end": 6049, "loc": { "start": { - "line": 231, + "line": 286, "column": 4 }, "end": { - "line": 252, + "line": 307, "column": 10 } }, "openingElement": { "type": "JSXOpeningElement", - "start": 4562, - "end": 4567, + "start": 5644, + "end": 5649, "loc": { "start": { - "line": 231, + "line": 286, "column": 4 }, "end": { - "line": 231, + "line": 286, "column": 9 } }, "attributes": [], "name": { "type": "JSXIdentifier", - "start": 4563, - "end": 4566, + "start": 5645, + "end": 5648, "loc": { "start": { - "line": 231, + "line": 286, "column": 5 }, "end": { - "line": 231, + "line": 286, "column": 8 } }, @@ -20576,29 +24300,29 @@ }, "closingElement": { "type": "JSXClosingElement", - "start": 4961, - "end": 4967, + "start": 6043, + "end": 6049, "loc": { "start": { - "line": 252, + "line": 307, "column": 4 }, "end": { - "line": 252, + "line": 307, "column": 10 } }, "name": { "type": "JSXIdentifier", - "start": 4963, - "end": 4966, + "start": 6045, + "end": 6048, "loc": { "start": { - "line": 252, + "line": 307, "column": 6 }, "end": { - "line": 252, + "line": 307, "column": 9 } }, @@ -20608,15 +24332,15 @@ "children": [ { "type": "JSXText", - "start": 4567, - "end": 4573, + "start": 5649, + "end": 5655, "loc": { "start": { - "line": 231, + "line": 286, "column": 9 }, "end": { - "line": 232, + "line": 287, "column": 5 } }, @@ -20625,44 +24349,44 @@ }, { "type": "JSXElement", - "start": 4573, - "end": 4591, + "start": 5655, + "end": 5673, "loc": { "start": { - "line": 232, + "line": 287, "column": 5 }, "end": { - "line": 232, + "line": 287, "column": 23 } }, "openingElement": { "type": "JSXOpeningElement", - "start": 4573, - "end": 4577, + "start": 5655, + "end": 5659, "loc": { "start": { - "line": 232, + "line": 287, "column": 5 }, "end": { - "line": 232, + "line": 287, "column": 9 } }, "attributes": [], "name": { "type": "JSXIdentifier", - "start": 4574, - "end": 4576, + "start": 5656, + "end": 5658, "loc": { "start": { - "line": 232, + "line": 287, "column": 6 }, "end": { - "line": 232, + "line": 287, "column": 8 } }, @@ -20672,29 +24396,29 @@ }, "closingElement": { "type": "JSXClosingElement", - "start": 4586, - "end": 4591, + "start": 5668, + "end": 5673, "loc": { "start": { - "line": 232, + "line": 287, "column": 18 }, "end": { - "line": 232, + "line": 287, "column": 23 } }, "name": { "type": "JSXIdentifier", - "start": 4588, - "end": 4590, + "start": 5670, + "end": 5672, "loc": { "start": { - "line": 232, + "line": 287, "column": 20 }, "end": { - "line": 232, + "line": 287, "column": 22 } }, @@ -20704,15 +24428,15 @@ "children": [ { "type": "JSXText", - "start": 4577, - "end": 4586, + "start": 5659, + "end": 5668, "loc": { "start": { - "line": 232, + "line": 287, "column": 9 }, "end": { - "line": 232, + "line": 287, "column": 18 } }, @@ -20723,15 +24447,15 @@ }, { "type": "JSXText", - "start": 4591, - "end": 4597, + "start": 5673, + "end": 5679, "loc": { "start": { - "line": 232, + "line": 287, "column": 23 }, "end": { - "line": 233, + "line": 288, "column": 5 } }, @@ -20740,58 +24464,58 @@ }, { "type": "JSXElement", - "start": 4597, - "end": 4956, + "start": 5679, + "end": 6038, "loc": { "start": { - "line": 233, + "line": 288, "column": 5 }, "end": { - "line": 251, + "line": 306, "column": 7 } }, "openingElement": { "type": "JSXOpeningElement", - "start": 4597, - "end": 4956, + "start": 5679, + "end": 6038, "loc": { "start": { - "line": 233, + "line": 288, "column": 5 }, "end": { - "line": 251, + "line": 306, "column": 7 } }, "attributes": [ { "type": "JSXAttribute", - "start": 4615, - "end": 4632, + "start": 5697, + "end": 5714, "loc": { "start": { - "line": 234, + "line": 289, "column": 6 }, "end": { - "line": 234, + "line": 289, "column": 23 } }, "name": { "type": "JSXIdentifier", - "start": 4615, - "end": 4619, + "start": 5697, + "end": 5701, "loc": { "start": { - "line": 234, + "line": 289, "column": 6 }, "end": { - "line": 234, + "line": 289, "column": 10 } }, @@ -20799,29 +24523,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 4620, - "end": 4632, + "start": 5702, + "end": 5714, "loc": { "start": { - "line": 234, + "line": 289, "column": 11 }, "end": { - "line": 234, + "line": 289, "column": 23 } }, "expression": { "type": "StringLiteral", - "start": 4621, - "end": 4631, + "start": 5703, + "end": 5713, "loc": { "start": { - "line": 234, + "line": 289, "column": 12 }, "end": { - "line": 234, + "line": 289, "column": 22 } }, @@ -20835,29 +24559,29 @@ }, { "type": "JSXAttribute", - "start": 4639, - "end": 4663, + "start": 5721, + "end": 5745, "loc": { "start": { - "line": 235, + "line": 290, "column": 6 }, "end": { - "line": 235, + "line": 290, "column": 30 } }, "name": { "type": "JSXIdentifier", - "start": 4639, - "end": 4644, + "start": 5721, + "end": 5726, "loc": { "start": { - "line": 235, + "line": 290, "column": 6 }, "end": { - "line": 235, + "line": 290, "column": 11 } }, @@ -20865,29 +24589,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 4645, - "end": 4663, + "start": 5727, + "end": 5745, "loc": { "start": { - "line": 235, + "line": 290, "column": 12 }, "end": { - "line": 235, + "line": 290, "column": 30 } }, "expression": { "type": "StringLiteral", - "start": 4646, - "end": 4662, + "start": 5728, + "end": 5744, "loc": { "start": { - "line": 235, + "line": 290, "column": 13 }, "end": { - "line": 235, + "line": 290, "column": 29 } }, @@ -20901,29 +24625,29 @@ }, { "type": "JSXAttribute", - "start": 4670, - "end": 4696, + "start": 5752, + "end": 5778, "loc": { "start": { - "line": 236, + "line": 291, "column": 6 }, "end": { - "line": 236, + "line": 291, "column": 32 } }, "name": { "type": "JSXIdentifier", - "start": 4670, - "end": 4675, + "start": 5752, + "end": 5757, "loc": { "start": { - "line": 236, + "line": 291, "column": 6 }, "end": { - "line": 236, + "line": 291, "column": 11 } }, @@ -20931,29 +24655,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 4676, - "end": 4696, + "start": 5758, + "end": 5778, "loc": { "start": { - "line": 236, + "line": 291, "column": 12 }, "end": { - "line": 236, + "line": 291, "column": 32 } }, "expression": { "type": "Identifier", - "start": 4677, - "end": 4695, + "start": 5759, + "end": 5777, "loc": { "start": { - "line": 236, + "line": 291, "column": 13 }, "end": { - "line": 236, + "line": 291, "column": 31 }, "identifierName": "fieldSetFieldValue" @@ -20964,29 +24688,29 @@ }, { "type": "JSXAttribute", - "start": 4703, - "end": 4719, + "start": 5785, + "end": 5801, "loc": { "start": { - "line": 237, + "line": 292, "column": 6 }, "end": { - "line": 237, + "line": 292, "column": 22 } }, "name": { "type": "JSXIdentifier", - "start": 4703, - "end": 4705, + "start": 5785, + "end": 5787, "loc": { "start": { - "line": 237, + "line": 292, "column": 6 }, "end": { - "line": 237, + "line": 292, "column": 8 } }, @@ -20994,29 +24718,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 4706, - "end": 4719, + "start": 5788, + "end": 5801, "loc": { "start": { - "line": 237, + "line": 292, "column": 9 }, "end": { - "line": 237, + "line": 292, "column": 22 } }, "expression": { "type": "StringLiteral", - "start": 4707, - "end": 4718, + "start": 5789, + "end": 5800, "loc": { "start": { - "line": 237, + "line": 292, "column": 10 }, "end": { - "line": 237, + "line": 292, "column": 21 } }, @@ -21030,29 +24754,29 @@ }, { "type": "JSXAttribute", - "start": 4726, - "end": 4803, + "start": 5808, + "end": 5885, "loc": { "start": { - "line": 238, + "line": 293, "column": 6 }, "end": { - "line": 240, + "line": 295, "column": 8 } }, "name": { "type": "JSXIdentifier", - "start": 4726, - "end": 4739, + "start": 5808, + "end": 5821, "loc": { "start": { - "line": 238, + "line": 293, "column": 6 }, "end": { - "line": 238, + "line": 293, "column": 19 } }, @@ -21060,29 +24784,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 4740, - "end": 4803, + "start": 5822, + "end": 5885, "loc": { "start": { - "line": 238, + "line": 293, "column": 20 }, "end": { - "line": 240, + "line": 295, "column": 8 } }, "expression": { "type": "ArrowFunctionExpression", - "start": 4741, - "end": 4802, + "start": 5823, + "end": 5884, "loc": { "start": { - "line": 238, + "line": 293, "column": 21 }, "end": { - "line": 240, + "line": 295, "column": 7 } }, @@ -21093,15 +24817,15 @@ "params": [ { "type": "Identifier", - "start": 4742, - "end": 4750, + "start": 5824, + "end": 5832, "loc": { "start": { - "line": 238, + "line": 293, "column": 22 }, "end": { - "line": 238, + "line": 293, "column": 30 }, "identifierName": "newValue" @@ -21111,59 +24835,59 @@ ], "body": { "type": "BlockStatement", - "start": 4755, - "end": 4802, + "start": 5837, + "end": 5884, "loc": { "start": { - "line": 238, + "line": 293, "column": 35 }, "end": { - "line": 240, + "line": 295, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 4764, - "end": 4794, + "start": 5846, + "end": 5876, "loc": { "start": { - "line": 239, + "line": 294, "column": 7 }, "end": { - "line": 239, + "line": 294, "column": 37 } }, "expression": { "type": "AssignmentExpression", - "start": 4764, - "end": 4793, + "start": 5846, + "end": 5875, "loc": { "start": { - "line": 239, + "line": 294, "column": 7 }, "end": { - "line": 239, + "line": 294, "column": 36 } }, "operator": "=", "left": { "type": "Identifier", - "start": 4764, - "end": 4782, + "start": 5846, + "end": 5864, "loc": { "start": { - "line": 239, + "line": 294, "column": 7 }, "end": { - "line": 239, + "line": 294, "column": 25 }, "identifierName": "fieldSetFieldValue" @@ -21172,15 +24896,15 @@ }, "right": { "type": "Identifier", - "start": 4785, - "end": 4793, + "start": 5867, + "end": 5875, "loc": { "start": { - "line": 239, + "line": 294, "column": 28 }, "end": { - "line": 239, + "line": 294, "column": 36 }, "identifierName": "newValue" @@ -21197,29 +24921,29 @@ }, { "type": "JSXAttribute", - "start": 4810, - "end": 4948, + "start": 5892, + "end": 6030, "loc": { "start": { - "line": 241, + "line": 296, "column": 6 }, "end": { - "line": 250, + "line": 305, "column": 8 } }, "name": { "type": "JSXIdentifier", - "start": 4810, - "end": 4817, + "start": 5892, + "end": 5899, "loc": { "start": { - "line": 241, + "line": 296, "column": 6 }, "end": { - "line": 241, + "line": 296, "column": 13 } }, @@ -21227,59 +24951,59 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 4818, - "end": 4948, + "start": 5900, + "end": 6030, "loc": { "start": { - "line": 241, + "line": 296, "column": 14 }, "end": { - "line": 250, + "line": 305, "column": 8 } }, "expression": { "type": "ArrayExpression", - "start": 4819, - "end": 4947, + "start": 5901, + "end": 6029, "loc": { "start": { - "line": 241, + "line": 296, "column": 15 }, "end": { - "line": 250, + "line": 305, "column": 7 } }, "elements": [ { "type": "ObjectExpression", - "start": 4828, - "end": 4879, + "start": 5910, + "end": 5961, "loc": { "start": { - "line": 242, + "line": 297, "column": 7 }, "end": { - "line": 245, + "line": 300, "column": 8 } }, "properties": [ { "type": "ObjectProperty", - "start": 4838, - "end": 4848, + "start": 5920, + "end": 5930, "loc": { "start": { - "line": 243, + "line": 298, "column": 8 }, "end": { - "line": 243, + "line": 298, "column": 18 } }, @@ -21288,15 +25012,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 4838, - "end": 4843, + "start": 5920, + "end": 5925, "loc": { "start": { - "line": 243, + "line": 298, "column": 8 }, "end": { - "line": 243, + "line": 298, "column": 13 }, "identifierName": "value" @@ -21305,15 +25029,15 @@ }, "value": { "type": "StringLiteral", - "start": 4845, - "end": 4848, + "start": 5927, + "end": 5930, "loc": { "start": { - "line": 243, + "line": 298, "column": 15 }, "end": { - "line": 243, + "line": 298, "column": 18 } }, @@ -21326,15 +25050,15 @@ }, { "type": "ObjectProperty", - "start": 4858, - "end": 4870, + "start": 5940, + "end": 5952, "loc": { "start": { - "line": 244, + "line": 299, "column": 8 }, "end": { - "line": 244, + "line": 299, "column": 20 } }, @@ -21343,15 +25067,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 4858, - "end": 4863, + "start": 5940, + "end": 5945, "loc": { "start": { - "line": 244, + "line": 299, "column": 8 }, "end": { - "line": 244, + "line": 299, "column": 13 }, "identifierName": "label" @@ -21360,15 +25084,15 @@ }, "value": { "type": "StringLiteral", - "start": 4865, - "end": 4870, + "start": 5947, + "end": 5952, "loc": { "start": { - "line": 244, + "line": 299, "column": 15 }, "end": { - "line": 244, + "line": 299, "column": 20 } }, @@ -21383,30 +25107,30 @@ }, { "type": "ObjectExpression", - "start": 4888, - "end": 4939, + "start": 5970, + "end": 6021, "loc": { "start": { - "line": 246, + "line": 301, "column": 7 }, "end": { - "line": 249, + "line": 304, "column": 8 } }, "properties": [ { "type": "ObjectProperty", - "start": 4898, - "end": 4908, + "start": 5980, + "end": 5990, "loc": { "start": { - "line": 247, + "line": 302, "column": 8 }, "end": { - "line": 247, + "line": 302, "column": 18 } }, @@ -21415,15 +25139,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 4898, - "end": 4903, + "start": 5980, + "end": 5985, "loc": { "start": { - "line": 247, + "line": 302, "column": 8 }, "end": { - "line": 247, + "line": 302, "column": 13 }, "identifierName": "value" @@ -21432,15 +25156,15 @@ }, "value": { "type": "StringLiteral", - "start": 4905, - "end": 4908, + "start": 5987, + "end": 5990, "loc": { "start": { - "line": 247, + "line": 302, "column": 15 }, "end": { - "line": 247, + "line": 302, "column": 18 } }, @@ -21453,15 +25177,15 @@ }, { "type": "ObjectProperty", - "start": 4918, - "end": 4930, + "start": 6000, + "end": 6012, "loc": { "start": { - "line": 248, + "line": 303, "column": 8 }, "end": { - "line": 248, + "line": 303, "column": 20 } }, @@ -21470,15 +25194,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 4918, - "end": 4923, + "start": 6000, + "end": 6005, "loc": { "start": { - "line": 248, + "line": 303, "column": 8 }, "end": { - "line": 248, + "line": 303, "column": 13 }, "identifierName": "label" @@ -21487,15 +25211,15 @@ }, "value": { "type": "StringLiteral", - "start": 4925, - "end": 4930, + "start": 6007, + "end": 6012, "loc": { "start": { - "line": 248, + "line": 303, "column": 15 }, "end": { - "line": 248, + "line": 303, "column": 20 } }, @@ -21515,15 +25239,15 @@ ], "name": { "type": "JSXIdentifier", - "start": 4598, - "end": 4608, + "start": 5680, + "end": 5690, "loc": { "start": { - "line": 233, + "line": 288, "column": 6 }, "end": { - "line": 233, + "line": 288, "column": 16 } }, @@ -21536,15 +25260,15 @@ }, { "type": "JSXText", - "start": 4956, - "end": 4961, + "start": 6038, + "end": 6043, "loc": { "start": { - "line": 251, + "line": 306, "column": 7 }, "end": { - "line": 252, + "line": 307, "column": 4 } }, @@ -21555,15 +25279,15 @@ }, { "type": "JSXText", - "start": 4967, - "end": 4972, + "start": 6049, + "end": 6054, "loc": { "start": { - "line": 252, + "line": 307, "column": 10 }, "end": { - "line": 254, + "line": 309, "column": 3 } }, @@ -21573,7 +25297,7 @@ ], "extra": { "parenthesized": true, - "parenStart": 1783 + "parenStart": 2230 } } } @@ -21587,17 +25311,4557 @@ "leadingComments": [], "trailingComments": [] }, - "leadingComments": null + "leadingComments": null + } + ], + "directives": [] + }, + "comments": [], + "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": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12, + "end": 13, + "loc": { + "start": { + "line": 1, + "column": 12 + }, + "end": { + "line": 1, + "column": 13 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 14, + "end": 15, + "loc": { + "start": { + "line": 1, + "column": 14 + }, + "end": { + "line": 1, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Component", + "start": 16, + "end": 25, + "loc": { + "start": { + "line": 1, + "column": 16 + }, + "end": { + "line": 1, + "column": 25 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 26, + "end": 27, + "loc": { + "start": { + "line": 1, + "column": 26 + }, + "end": { + "line": 1, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 28, + "end": 32, + "loc": { + "start": { + "line": 1, + "column": 28 + }, + "end": { + "line": 1, + "column": 32 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "react", + "start": 33, + "end": 40, + "loc": { + "start": { + "line": 1, + "column": 33 + }, + "end": { + "line": 1, + "column": 40 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 40, + "end": 41, + "loc": { + "start": { + "line": 1, + "column": 40 + }, + "end": { + "line": 1, + "column": 41 + } + } + }, + { + "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": 42, + "end": 48, + "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": "logo", + "start": 49, + "end": 53, + "loc": { + "start": { + "line": 2, + "column": 7 + }, + "end": { + "line": 2, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 54, + "end": 58, + "loc": { + "start": { + "line": 2, + "column": 12 + }, + "end": { + "line": 2, + "column": 16 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./logo.svg", + "start": 59, + "end": 71, + "loc": { + "start": { + "line": 2, + "column": 17 + }, + "end": { + "line": 2, + "column": 29 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 71, + "end": 72, + "loc": { + "start": { + "line": 2, + "column": 29 + }, + "end": { + "line": 2, + "column": 30 + } + } + }, + { + "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": 73, + "end": 79, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 6 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./App.css", + "start": 80, + "end": 91, + "loc": { + "start": { + "line": 3, + "column": 7 + }, + "end": { + "line": 3, + "column": 18 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 91, + "end": 92, + "loc": { + "start": { + "line": 3, + "column": 18 + }, + "end": { + "line": 3, + "column": 19 + } + } + }, + { + "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": 93, + "end": 99, + "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": 100, + "end": 101, + "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": "FieldGroup", + "start": 101, + "end": 111, + "loc": { + "start": { + "line": 4, + "column": 8 + }, + "end": { + "line": 4, + "column": 18 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 111, + "end": 112, + "loc": { + "start": { + "line": 4, + "column": 18 + }, + "end": { + "line": 4, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 113, + "end": 117, + "loc": { + "start": { + "line": 4, + "column": 20 + }, + "end": { + "line": 4, + "column": 24 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./components/fields/FieldGroup", + "start": 118, + "end": 150, + "loc": { + "start": { + "line": 4, + "column": 25 + }, + "end": { + "line": 4, + "column": 57 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 150, + "end": 151, + "loc": { + "start": { + "line": 4, + "column": 57 + }, + "end": { + "line": 4, + "column": 58 + } + } + }, + { + "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": 152, + "end": 158, + "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": 159, + "end": 160, + "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": "fieldSetFactory", + "start": 160, + "end": 175, + "loc": { + "start": { + "line": 5, + "column": 8 + }, + "end": { + "line": 5, + "column": 23 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 175, + "end": 176, + "loc": { + "start": { + "line": 5, + "column": 23 + }, + "end": { + "line": 5, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 177, + "end": 181, + "loc": { + "start": { + "line": 5, + "column": 25 + }, + "end": { + "line": 5, + "column": 29 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./components/fields/factories/fieldSetFactory", + "start": 182, + "end": 229, + "loc": { + "start": { + "line": 5, + "column": 30 + }, + "end": { + "line": 5, + "column": 77 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 229, + "end": 230, + "loc": { + "start": { + "line": 5, + "column": 77 + }, + "end": { + "line": 5, + "column": 78 + } + } + }, + { + "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": 231, + "end": 237, + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 6, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 238, + "end": 239, + "loc": { + "start": { + "line": 6, + "column": 7 + }, + "end": { + "line": 6, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "RenderGroup", + "start": 239, + "end": 250, + "loc": { + "start": { + "line": 6, + "column": 8 + }, + "end": { + "line": 6, + "column": 19 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 250, + "end": 251, + "loc": { + "start": { + "line": 6, + "column": 19 + }, + "end": { + "line": 6, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 252, + "end": 256, + "loc": { + "start": { + "line": 6, + "column": 21 + }, + "end": { + "line": 6, + "column": 25 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./components/RenderGroup", + "start": 257, + "end": 283, + "loc": { + "start": { + "line": 6, + "column": 26 + }, + "end": { + "line": 6, + "column": 52 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 283, + "end": 284, + "loc": { + "start": { + "line": 6, + "column": 52 + }, + "end": { + "line": 6, + "column": 53 + } + } + }, + { + "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": 285, + "end": 291, + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 7, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 292, + "end": 293, + "loc": { + "start": { + "line": 7, + "column": 7 + }, + "end": { + "line": 7, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MagicFieldGroup", + "start": 293, + "end": 308, + "loc": { + "start": { + "line": 7, + "column": 8 + }, + "end": { + "line": 7, + "column": 23 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 308, + "end": 309, + "loc": { + "start": { + "line": 7, + "column": 23 + }, + "end": { + "line": 7, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 310, + "end": 314, + "loc": { + "start": { + "line": 7, + "column": 25 + }, + "end": { + "line": 7, + "column": 29 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./components/fields/magic-select/MagicFieldGroup", + "start": 315, + "end": 365, + "loc": { + "start": { + "line": 7, + "column": 30 + }, + "end": { + "line": 7, + "column": 80 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 365, + "end": 366, + "loc": { + "start": { + "line": 7, + "column": 80 + }, + "end": { + "line": 7, + "column": 81 + } + } + }, + { + "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": 368, + "end": 371, + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 9, + "column": 3 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "textFieldValue", + "start": 372, + "end": 386, + "loc": { + "start": { + "line": 9, + "column": 4 + }, + "end": { + "line": 9, + "column": 18 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 387, + "end": 388, + "loc": { + "start": { + "line": 9, + "column": 19 + }, + "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": "Roy,Mike", + "start": 389, + "end": 399, + "loc": { + "start": { + "line": 9, + "column": 21 + }, + "end": { + "line": 9, + "column": 31 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 399, + "end": 400, + "loc": { + "start": { + "line": 9, + "column": 31 + }, + "end": { + "line": 9, + "column": 32 + } + } + }, + { + "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": 401, + "end": 406, + "loc": { + "start": { + "line": 10, + "column": 0 + }, + "end": { + "line": 10, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "textFieldConfig", + "start": 407, + "end": 422, + "loc": { + "start": { + "line": 10, + "column": 6 + }, + "end": { + "line": 10, + "column": 21 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 423, + "end": 424, + "loc": { + "start": { + "line": 10, + "column": 22 + }, + "end": { + "line": 10, + "column": 23 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 425, + "end": 426, + "loc": { + "start": { + "line": 10, + "column": 24 + }, + "end": { + "line": 10, + "column": 25 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "id", + "start": 428, + "end": 432, + "loc": { + "start": { + "line": 11, + "column": 1 + }, + "end": { + "line": 11, + "column": 5 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 432, + "end": 433, + "loc": { + "start": { + "line": 11, + "column": 5 + }, + "end": { + "line": 11, + "column": 6 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "cf-something-tags", + "start": 434, + "end": 453, + "loc": { + "start": { + "line": 11, + "column": 7 + }, + "end": { + "line": 11, + "column": 26 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 453, + "end": 454, + "loc": { + "start": { + "line": 11, + "column": 26 + }, + "end": { + "line": 11, + "column": 27 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "label", + "start": 456, + "end": 463, + "loc": { + "start": { + "line": 12, + "column": 1 + }, + "end": { + "line": 12, + "column": 8 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 463, + "end": 464, + "loc": { + "start": { + "line": 12, + "column": 8 + }, + "end": { + "line": 12, + "column": 9 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Tags", + "start": 465, + "end": 471, + "loc": { + "start": { + "line": 12, + "column": 10 + }, + "end": { + "line": 12, + "column": 16 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 471, + "end": 472, + "loc": { + "start": { + "line": 12, + "column": 16 + }, + "end": { + "line": 12, + "column": 17 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "desc", + "start": 474, + "end": 480, + "loc": { + "start": { + "line": 13, + "column": 1 + }, + "end": { + "line": 13, + "column": 7 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 480, + "end": 481, + "loc": { + "start": { + "line": 13, + "column": 7 + }, + "end": { + "line": 13, + "column": 8 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Comma separated list of tags.", + "start": 482, + "end": 513, + "loc": { + "start": { + "line": 13, + "column": 9 + }, + "end": { + "line": 13, + "column": 40 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 513, + "end": 514, + "loc": { + "start": { + "line": 13, + "column": 40 + }, + "end": { + "line": 13, + "column": 41 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "type", + "start": 516, + "end": 522, + "loc": { + "start": { + "line": 14, + "column": 1 + }, + "end": { + "line": 14, + "column": 7 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 522, + "end": 523, + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 14, + "column": 8 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "text", + "start": 524, + "end": 530, + "loc": { + "start": { + "line": 14, + "column": 9 + }, + "end": { + "line": 14, + "column": 15 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 530, + "end": 531, + "loc": { + "start": { + "line": 14, + "column": 15 + }, + "end": { + "line": 14, + "column": 16 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "description", + "start": 533, + "end": 546, + "loc": { + "start": { + "line": 15, + "column": 1 + }, + "end": { + "line": 15, + "column": 14 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 546, + "end": 547, + "loc": { + "start": { + "line": 15, + "column": 14 + }, + "end": { + "line": 15, + "column": 15 + } + } + }, + { + "type": { + "label": "false", + "keyword": "false", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "false", + "start": 548, + "end": 553, + "loc": { + "start": { + "line": 15, + "column": 16 + }, + "end": { + "line": 15, + "column": 21 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 553, + "end": 554, + "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": "value", + "start": 556, + "end": 561, + "loc": { + "start": { + "line": 16, + "column": 1 + }, + "end": { + "line": 16, + "column": 6 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 561, + "end": 562, + "loc": { + "start": { + "line": 16, + "column": 6 + }, + "end": { + "line": 16, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "textFieldValue", + "start": 563, + "end": 577, + "loc": { + "start": { + "line": 16, + "column": 8 + }, + "end": { + "line": 16, + "column": 22 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 577, + "end": 578, + "loc": { + "start": { + "line": 16, + "column": 22 + }, + "end": { + "line": 16, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onValueChange", + "start": 580, + "end": 593, + "loc": { + "start": { + "line": 17, + "column": 1 + }, + "end": { + "line": 17, + "column": 14 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 593, + "end": 594, + "loc": { + "start": { + "line": 17, + "column": 14 + }, + "end": { + "line": 17, + "column": 15 + } + } + }, + { + "type": { + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "function", + "start": 595, + "end": 603, + "loc": { + "start": { + "line": 17, + "column": 16 + }, + "end": { + "line": 17, + "column": 24 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 603, + "end": 604, + "loc": { + "start": { + "line": 17, + "column": 24 + }, + "end": { + "line": 17, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newValue", + "start": 604, + "end": 612, + "loc": { + "start": { + "line": 17, + "column": 25 + }, + "end": { + "line": 17, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 612, + "end": 613, + "loc": { + "start": { + "line": 17, + "column": 33 + }, + "end": { + "line": 17, + "column": 34 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 613, + "end": 614, + "loc": { + "start": { + "line": 17, + "column": 34 + }, + "end": { + "line": 17, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "textFieldValue", + "start": 617, + "end": 631, + "loc": { + "start": { + "line": 18, + "column": 2 + }, + "end": { + "line": 18, + "column": 16 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 632, + "end": 633, + "loc": { + "start": { + "line": 18, + "column": 17 + }, + "end": { + "line": 18, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newValue", + "start": 634, + "end": 642, + "loc": { + "start": { + "line": 18, + "column": 19 + }, + "end": { + "line": 18, + "column": 27 + } + } + }, + { + "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": 19, + "column": 1 + }, + "end": { + "line": 19, + "column": 2 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 645, + "end": 646, + "loc": { + "start": { + "line": 19, + "column": 2 + }, + "end": { + "line": 19, + "column": 3 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 649, + "end": 650, + "loc": { + "start": { + "line": 22, + "column": 0 + }, + "end": { + "line": 22, + "column": 1 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 650, + "end": 651, + "loc": { + "start": { + "line": 22, + "column": 1 + }, + "end": { + "line": 22, + "column": 2 + } + } + }, + { + "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": 653, + "end": 658, + "loc": { + "start": { + "line": 24, + "column": 0 + }, + "end": { + "line": 24, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "numberFieldConfig", + "start": 659, + "end": 676, + "loc": { + "start": { + "line": 24, + "column": 6 + }, + "end": { + "line": 24, + "column": 23 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 677, + "end": 678, + "loc": { + "start": { + "line": 24, + "column": 24 + }, + "end": { + "line": 24, + "column": 25 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 679, + "end": 680, + "loc": { + "start": { + "line": 24, + "column": 26 + }, + "end": { + "line": 24, + "column": 27 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "id", + "start": 682, + "end": 686, + "loc": { + "start": { + "line": 25, + "column": 1 + }, + "end": { + "line": 25, + "column": 5 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 686, + "end": 687, + "loc": { + "start": { + "line": 25, + "column": 5 + }, + "end": { + "line": 25, + "column": 6 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "cf--something-some-number", + "start": 688, + "end": 715, + "loc": { + "start": { + "line": 25, + "column": 7 + }, + "end": { + "line": 25, + "column": 34 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 715, + "end": 716, + "loc": { + "start": { + "line": 25, + "column": 34 + }, + "end": { + "line": 25, + "column": 35 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "label", + "start": 718, + "end": 725, + "loc": { + "start": { + "line": 26, + "column": 1 + }, + "end": { + "line": 26, + "column": 8 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 725, + "end": 726, + "loc": { + "start": { + "line": 26, + "column": 8 + }, + "end": { + "line": 26, + "column": 9 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "The number of something", + "start": 727, + "end": 752, + "loc": { + "start": { + "line": 26, + "column": 10 + }, + "end": { + "line": 26, + "column": 35 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 752, + "end": 753, + "loc": { + "start": { + "line": 26, + "column": 35 + }, + "end": { + "line": 26, + "column": 36 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "desc", + "start": 755, + "end": 761, + "loc": { + "start": { + "line": 27, + "column": 1 + }, + "end": { + "line": 27, + "column": 7 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 761, + "end": 762, + "loc": { + "start": { + "line": 27, + "column": 7 + }, + "end": { + "line": 27, + "column": 8 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "How many somethings?", + "start": 763, + "end": 785, + "loc": { + "start": { + "line": 27, + "column": 9 + }, + "end": { + "line": 27, + "column": 31 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 785, + "end": 786, + "loc": { + "start": { + "line": 27, + "column": 31 + }, + "end": { + "line": 27, + "column": 32 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "type", + "start": 788, + "end": 794, + "loc": { + "start": { + "line": 28, + "column": 1 + }, + "end": { + "line": 28, + "column": 7 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 794, + "end": 795, + "loc": { + "start": { + "line": 28, + "column": 7 + }, + "end": { + "line": 28, + "column": 8 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "text", + "start": 796, + "end": 802, + "loc": { + "start": { + "line": 28, + "column": 9 + }, + "end": { + "line": 28, + "column": 15 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 802, + "end": 803, + "loc": { + "start": { + "line": 28, + "column": 15 + }, + "end": { + "line": 28, + "column": 16 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "inputType", + "start": 805, + "end": 816, + "loc": { + "start": { + "line": 29, + "column": 1 + }, + "end": { + "line": 29, + "column": 12 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 816, + "end": 817, + "loc": { + "start": { + "line": 29, + "column": 12 + }, + "end": { + "line": 29, + "column": 13 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "number", + "start": 818, + "end": 826, + "loc": { + "start": { + "line": 29, + "column": 14 + }, + "end": { + "line": 29, + "column": 22 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 826, + "end": 827, + "loc": { + "start": { + "line": 29, + "column": 22 + }, + "end": { + "line": 29, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "attributes", + "start": 829, + "end": 839, + "loc": { + "start": { + "line": 30, + "column": 1 + }, + "end": { + "line": 30, + "column": 11 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 839, + "end": 840, + "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": 841, + "end": 842, + "loc": { + "start": { + "line": 30, + "column": 13 + }, + "end": { + "line": 30, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "min", + "start": 845, + "end": 848, + "loc": { + "start": { + "line": 31, + "column": 2 + }, + "end": { + "line": 31, + "column": 5 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 848, + "end": 849, + "loc": { + "start": { + "line": 31, + "column": 5 + }, + "end": { + "line": 31, + "column": 6 + } + } + }, + { + "type": { + "label": "+/-", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": 9, + "updateContext": null + }, + "value": "-", + "start": 850, + "end": 851, + "loc": { + "start": { + "line": 31, + "column": 7 + }, + "end": { + "line": 31, + "column": 8 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 1, + "start": 851, + "end": 852, + "loc": { + "start": { + "line": 31, + "column": 8 + }, + "end": { + "line": 31, + "column": 9 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 852, + "end": 853, + "loc": { + "start": { + "line": 31, + "column": 9 + }, + "end": { + "line": 31, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "max", + "start": 856, + "end": 859, + "loc": { + "start": { + "line": 32, + "column": 2 + }, + "end": { + "line": 32, + "column": 5 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 859, + "end": 860, + "loc": { + "start": { + "line": 32, + "column": 5 + }, + "end": { + "line": 32, + "column": 6 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 22, + "start": 861, + "end": 863, + "loc": { + "start": { + "line": 32, + "column": 7 + }, + "end": { + "line": 32, + "column": 9 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 863, + "end": 864, + "loc": { + "start": { + "line": 32, + "column": 9 + }, + "end": { + "line": 32, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "step", + "start": 867, + "end": 871, + "loc": { + "start": { + "line": 33, + "column": 2 + }, + "end": { + "line": 33, + "column": 6 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 871, + "end": 872, + "loc": { + "start": { + "line": 33, + "column": 6 + }, + "end": { + "line": 33, + "column": 7 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 0.1, + "start": 873, + "end": 876, + "loc": { + "start": { + "line": 33, + "column": 8 + }, + "end": { + "line": 33, + "column": 11 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 876, + "end": 877, + "loc": { + "start": { + "line": 33, + "column": 11 + }, + "end": { + "line": 33, + "column": 12 + } + } + }, + { + "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": 34, + "column": 1 + }, + "end": { + "line": 34, + "column": 2 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 880, + "end": 881, + "loc": { + "start": { + "line": 34, + "column": 2 + }, + "end": { + "line": 34, + "column": 3 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "value", + "start": 883, + "end": 888, + "loc": { + "start": { + "line": 35, + "column": 1 + }, + "end": { + "line": 35, + "column": 6 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 888, + "end": 889, + "loc": { + "start": { + "line": 35, + "column": 6 + }, + "end": { + "line": 35, + "column": 7 + } + } + }, + { + "type": { + "label": "num", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": 42, + "start": 890, + "end": 892, + "loc": { + "start": { + "line": 35, + "column": 8 + }, + "end": { + "line": 35, + "column": 10 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 892, + "end": 893, + "loc": { + "start": { + "line": 35, + "column": 10 + }, + "end": { + "line": 35, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onValueChange", + "start": 895, + "end": 908, + "loc": { + "start": { + "line": 36, + "column": 1 + }, + "end": { + "line": 36, + "column": 14 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 908, + "end": 909, + "loc": { + "start": { + "line": 36, + "column": 14 + }, + "end": { + "line": 36, + "column": 15 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 910, + "end": 911, + "loc": { + "start": { + "line": 36, + "column": 16 + }, + "end": { + "line": 36, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newNumberValue", + "start": 911, + "end": 925, + "loc": { + "start": { + "line": 36, + "column": 17 + }, + "end": { + "line": 36, + "column": 31 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 925, + "end": 926, + "loc": { + "start": { + "line": 36, + "column": 31 + }, + "end": { + "line": 36, + "column": 32 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 927, + "end": 929, + "loc": { + "start": { + "line": 36, + "column": 33 + }, + "end": { + "line": 36, + "column": 35 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 929, + "end": 930, + "loc": { + "start": { + "line": 36, + "column": 35 + }, + "end": { + "line": 36, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "console", + "start": 933, + "end": 940, + "loc": { + "start": { + "line": 37, + "column": 2 + }, + "end": { + "line": 37, + "column": 9 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 940, + "end": 941, + "loc": { + "start": { + "line": 37, + "column": 9 + }, + "end": { + "line": 37, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "log", + "start": 941, + "end": 944, + "loc": { + "start": { + "line": 37, + "column": 10 + }, + "end": { + "line": 37, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 944, + "end": 945, + "loc": { + "start": { + "line": 37, + "column": 13 + }, + "end": { + "line": 37, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newNumberValue", + "start": 945, + "end": 959, + "loc": { + "start": { + "line": 37, + "column": 14 + }, + "end": { + "line": 37, + "column": 28 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 959, + "end": 960, + "loc": { + "start": { + "line": 37, + "column": 28 + }, + "end": { + "line": 37, + "column": 29 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 960, + "end": 961, + "loc": { + "start": { + "line": 37, + "column": 29 + }, + "end": { + "line": 37, + "column": 30 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 963, + "end": 964, + "loc": { + "start": { + "line": 38, + "column": 1 + }, + "end": { + "line": 38, + "column": 2 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 964, + "end": 965, + "loc": { + "start": { + "line": 38, + "column": 2 + }, + "end": { + "line": 38, + "column": 3 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 967, + "end": 968, + "loc": { + "start": { + "line": 40, + "column": 0 + }, + "end": { + "line": 40, + "column": 1 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 968, + "end": 969, + "loc": { + "start": { + "line": 40, + "column": 1 + }, + "end": { + "line": 40, + "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": 971, + "end": 974, + "loc": { + "start": { + "line": 42, + "column": 0 + }, + "end": { + "line": 42, + "column": 3 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "hiddenFieldValue", + "start": 975, + "end": 991, + "loc": { + "start": { + "line": 42, + "column": 4 + }, + "end": { + "line": 42, + "column": 20 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 992, + "end": 993, + "loc": { + "start": { + "line": 42, + "column": 21 + }, + "end": { + "line": 42, + "column": 22 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "42", + "start": 994, + "end": 998, + "loc": { + "start": { + "line": 42, + "column": 23 + }, + "end": { + "line": 42, + "column": 27 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 998, + "end": 999, + "loc": { + "start": { + "line": 42, + "column": 27 + }, + "end": { + "line": 42, + "column": 28 + } + } + }, + { + "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": 1000, + "end": 1005, + "loc": { + "start": { + "line": 43, + "column": 0 + }, + "end": { + "line": 43, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "hiddenFieldConfig", + "start": 1006, + "end": 1023, + "loc": { + "start": { + "line": 43, + "column": 6 + }, + "end": { + "line": 43, + "column": 23 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1024, + "end": 1025, + "loc": { + "start": { + "line": 43, + "column": 24 + }, + "end": { + "line": 43, + "column": 25 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1026, + "end": 1027, + "loc": { + "start": { + "line": 43, + "column": 26 + }, + "end": { + "line": 43, + "column": 27 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "id", + "start": 1029, + "end": 1033, + "loc": { + "start": { + "line": 44, + "column": 1 + }, + "end": { + "line": 44, + "column": 5 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1033, + "end": 1034, + "loc": { + "start": { + "line": 44, + "column": 5 + }, + "end": { + "line": 44, + "column": 6 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "cf-something-sequence-id", + "start": 1035, + "end": 1061, + "loc": { + "start": { + "line": 44, + "column": 7 + }, + "end": { + "line": 44, + "column": 33 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1061, + "end": 1062, + "loc": { + "start": { + "line": 44, + "column": 33 + }, + "end": { + "line": 44, + "column": 34 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "type", + "start": 1064, + "end": 1070, + "loc": { + "start": { + "line": 45, + "column": 1 + }, + "end": { + "line": 45, + "column": 7 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1070, + "end": 1071, + "loc": { + "start": { + "line": 45, + "column": 7 + }, + "end": { + "line": 45, + "column": 8 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "hidden", + "start": 1072, + "end": 1080, + "loc": { + "start": { + "line": 45, + "column": 9 + }, + "end": { + "line": 45, + "column": 17 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1080, + "end": 1081, + "loc": { + "start": { + "line": 45, + "column": 17 + }, + "end": { + "line": 45, + "column": 18 + } } - ], - "directives": [] - }, - "comments": [], - "tokens": [ + }, { "type": { - "label": "import", - "keyword": "import", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -21608,23 +29872,49 @@ "binop": null, "updateContext": null }, - "value": "import", - "start": 0, - "end": 6, + "value": "label", + "start": 1083, + "end": 1090, "loc": { "start": { - "line": 1, - "column": 0 + "line": 46, + "column": 1 }, "end": { - "line": 1, - "column": 6 + "line": 46, + "column": 8 } } }, { "type": { - "label": "name", + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1090, + "end": 1091, + "loc": { + "start": { + "line": 46, + "column": 8 + }, + "end": { + "line": 46, + "column": 9 + } + } + }, + { + "type": { + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -21632,19 +29922,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "React", - "start": 7, - "end": 12, + "value": "Sequence ID", + "start": 1092, + "end": 1105, "loc": { "start": { - "line": 1, - "column": 7 + "line": 46, + "column": 10 }, "end": { - "line": 1, - "column": 12 + "line": 46, + "column": 23 } } }, @@ -21661,47 +29952,76 @@ "binop": null, "updateContext": null }, - "start": 12, - "end": 13, + "start": 1105, + "end": 1106, "loc": { "start": { - "line": 1, - "column": 12 + "line": 46, + "column": 23 }, "end": { - "line": 1, - "column": 13 + "line": 46, + "column": 24 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "string", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 14, - "end": 15, + "value": "description", + "start": 1108, + "end": 1121, "loc": { "start": { - "line": 1, + "line": 47, + "column": 1 + }, + "end": { + "line": 47, + "column": 14 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1121, + "end": 1122, + "loc": { + "start": { + "line": 47, "column": 14 }, "end": { - "line": 1, + "line": 47, "column": 15 } } }, { "type": { - "label": "name", + "label": "false", + "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -21709,44 +30029,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "Component", - "start": 16, - "end": 25, + "value": "false", + "start": 1123, + "end": 1128, "loc": { "start": { - "line": 1, + "line": 47, "column": 16 }, "end": { - "line": 1, - "column": 25 + "line": 47, + "column": 21 } } }, { "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": 26, - "end": 27, + "start": 1128, + "end": 1129, "loc": { "start": { - "line": 1, - "column": 26 + "line": 47, + "column": 21 }, "end": { - "line": 1, - "column": 27 + "line": 47, + "column": 22 } } }, @@ -21762,25 +30084,25 @@ "postfix": false, "binop": null }, - "value": "from", - "start": 28, - "end": 32, + "value": "value", + "start": 1131, + "end": 1136, "loc": { "start": { - "line": 1, - "column": 28 + "line": 48, + "column": 1 }, "end": { - "line": 1, - "column": 32 + "line": 48, + "column": 6 } } }, { "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, + "label": ":", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -21789,23 +30111,48 @@ "binop": null, "updateContext": null }, - "value": "react", - "start": 33, - "end": 40, + "start": 1136, + "end": 1137, "loc": { "start": { - "line": 1, - "column": 33 + "line": 48, + "column": 6 }, "end": { - "line": 1, - "column": 40 + "line": 48, + "column": 7 } } }, { "type": { - "label": ";", + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "hiddenFieldValue", + "start": 1138, + "end": 1154, + "loc": { + "start": { + "line": 48, + "column": 8 + }, + "end": { + "line": 48, + "column": 24 + } + } + }, + { + "type": { + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -21816,23 +30163,22 @@ "binop": null, "updateContext": null }, - "start": 40, - "end": 41, + "start": 1154, + "end": 1155, "loc": { "start": { - "line": 1, - "column": 40 + "line": 48, + "column": 24 }, "end": { - "line": 1, - "column": 41 + "line": 48, + "column": 25 } } }, { "type": { - "label": "import", - "keyword": "import", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -21840,26 +30186,52 @@ "isAssign": false, "prefix": false, "postfix": false, + "binop": null + }, + "value": "onValueChange", + "start": 1157, + "end": 1170, + "loc": { + "start": { + "line": 49, + "column": 1 + }, + "end": { + "line": 49, + "column": 14 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, "binop": null, "updateContext": null }, - "value": "import", - "start": 42, - "end": 48, + "start": 1170, + "end": 1171, "loc": { "start": { - "line": 2, - "column": 0 + "line": 49, + "column": 14 }, "end": { - "line": 2, - "column": 6 + "line": 49, + "column": 15 } } }, { "type": { - "label": "name", + "label": "function", + "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -21869,17 +30241,42 @@ "postfix": false, "binop": null }, - "value": "logo", - "start": 49, - "end": 53, + "value": "function", + "start": 1172, + "end": 1180, "loc": { "start": { - "line": 2, - "column": 7 + "line": 49, + "column": 16 }, "end": { - "line": 2, - "column": 11 + "line": 49, + "column": 24 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1180, + "end": 1181, + "loc": { + "start": { + "line": 49, + "column": 24 + }, + "end": { + "line": 49, + "column": 25 } } }, @@ -21895,77 +30292,73 @@ "postfix": false, "binop": null }, - "value": "from", - "start": 54, - "end": 58, + "value": "newValue", + "start": 1181, + "end": 1189, "loc": { "start": { - "line": 2, - "column": 12 + "line": 49, + "column": 25 }, "end": { - "line": 2, - "column": 16 + "line": 49, + "column": 33 } } }, { "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": "./logo.svg", - "start": 59, - "end": 71, + "start": 1189, + "end": 1190, "loc": { "start": { - "line": 2, - "column": 17 + "line": 49, + "column": 33 }, "end": { - "line": 2, - "column": 29 + "line": 49, + "column": 34 } } }, { "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": 71, - "end": 72, + "start": 1190, + "end": 1191, "loc": { "start": { - "line": 2, - "column": 29 + "line": 49, + "column": 34 }, "end": { - "line": 2, - "column": 30 + "line": 49, + "column": 35 } } }, { "type": { - "label": "import", - "keyword": "import", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -21973,26 +30366,52 @@ "isAssign": false, "prefix": false, "postfix": false, + "binop": null + }, + "value": "hiddenFieldValue", + "start": 1194, + "end": 1210, + "loc": { + "start": { + "line": 50, + "column": 2 + }, + "end": { + "line": 50, + "column": 18 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, "binop": null, "updateContext": null }, - "value": "import", - "start": 73, - "end": 79, + "value": "=", + "start": 1211, + "end": 1212, "loc": { "start": { - "line": 3, - "column": 0 + "line": 50, + "column": 19 }, "end": { - "line": 3, - "column": 6 + "line": 50, + "column": 20 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -22000,26 +30419,50 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "./App.css", - "start": 80, - "end": 91, + "value": "newValue", + "start": 1213, + "end": 1221, "loc": { "start": { - "line": 3, - "column": 7 + "line": 50, + "column": 21 }, "end": { - "line": 3, - "column": 18 + "line": 50, + "column": 29 } } }, { "type": { - "label": ";", + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1223, + "end": 1224, + "loc": { + "start": { + "line": 51, + "column": 1 + }, + "end": { + "line": 51, + "column": 2 + } + } + }, + { + "type": { + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -22030,69 +30473,95 @@ "binop": null, "updateContext": null }, - "start": 91, - "end": 92, + "start": 1224, + "end": 1225, "loc": { "start": { - "line": 3, - "column": 18 + "line": 51, + "column": 2 }, "end": { - "line": 3, - "column": 19 + "line": 51, + "column": 3 } } }, { "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": 93, - "end": 99, + "start": 1226, + "end": 1227, "loc": { "start": { - "line": 4, + "line": 52, "column": 0 }, "end": { - "line": 4, - "column": 6 + "line": 52, + "column": 1 } } }, { "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": 100, - "end": 101, + "start": 1227, + "end": 1228, "loc": { "start": { - "line": 4, - "column": 7 + "line": 52, + "column": 1 }, "end": { - "line": 4, - "column": 8 + "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": 1230, + "end": 1233, + "loc": { + "start": { + "line": 54, + "column": 0 + }, + "end": { + "line": 54, + "column": 3 } } }, @@ -22108,48 +30577,50 @@ "postfix": false, "binop": null }, - "value": "FieldGroup", - "start": 101, - "end": 111, + "value": "selectFieldValue", + "start": 1234, + "end": 1250, "loc": { "start": { - "line": 4, - "column": 8 + "line": 54, + "column": 4 }, "end": { - "line": 4, - "column": 18 + "line": 54, + "column": 20 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 111, - "end": 112, + "value": "=", + "start": 1251, + "end": 1252, "loc": { "start": { - "line": 4, - "column": 18 + "line": 54, + "column": 21 }, "end": { - "line": 4, - "column": 19 + "line": 54, + "column": 22 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -22157,27 +30628,28 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "from", - "start": 113, - "end": 117, + "value": "html", + "start": 1253, + "end": 1259, "loc": { "start": { - "line": 4, - "column": 20 + "line": 54, + "column": 23 }, "end": { - "line": 4, - "column": 24 + "line": 54, + "column": 29 } } }, { "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -22186,24 +30658,24 @@ "binop": null, "updateContext": null }, - "value": "./components/fields/FieldGroup", - "start": 118, - "end": 150, + "start": 1259, + "end": 1260, "loc": { "start": { - "line": 4, - "column": 25 + "line": 54, + "column": 29 }, "end": { - "line": 4, - "column": 57 + "line": 54, + "column": 30 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -22213,23 +30685,23 @@ "binop": null, "updateContext": null }, - "start": 150, - "end": 151, + "value": "const", + "start": 1261, + "end": 1266, "loc": { "start": { - "line": 4, - "column": 57 + "line": 55, + "column": 0 }, "end": { - "line": 4, - "column": 58 + "line": 55, + "column": 5 } } }, { "type": { - "label": "import", - "keyword": "import", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -22237,52 +30709,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "import", - "start": 152, - "end": 158, + "value": "selectFieldConfig", + "start": 1267, + "end": 1284, "loc": { "start": { - "line": 5, - "column": 0 + "line": 55, + "column": 6 }, "end": { - "line": 5, - "column": 6 + "line": 55, + "column": 23 } } }, { "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": 159, - "end": 160, + "value": "=", + "start": 1285, + "end": 1286, "loc": { "start": { - "line": 5, - "column": 7 + "line": 55, + "column": 24 }, "end": { - "line": 5, - "column": 8 + "line": 55, + "column": 25 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -22291,68 +30764,69 @@ "postfix": false, "binop": null }, - "value": "fieldSetFactory", - "start": 160, - "end": 175, + "start": 1287, + "end": 1288, "loc": { "start": { - "line": 5, - "column": 8 + "line": 55, + "column": 26 }, "end": { - "line": 5, - "column": 23 + "line": 55, + "column": 27 } } }, { "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": 175, - "end": 176, + "value": "id", + "start": 1290, + "end": 1294, "loc": { "start": { - "line": 5, - "column": 23 + "line": 56, + "column": 1 }, "end": { - "line": 5, - "column": 24 + "line": 56, + "column": 5 } } }, { "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": 177, - "end": 181, + "start": 1294, + "end": 1295, "loc": { "start": { - "line": 5, - "column": 25 + "line": 56, + "column": 5 }, "end": { - "line": 5, - "column": 29 + "line": 56, + "column": 6 } } }, @@ -22369,23 +30843,23 @@ "binop": null, "updateContext": null }, - "value": "./components/fields/factories/fieldSetFactory", - "start": 182, - "end": 229, + "value": "cf-something-select-id", + "start": 1296, + "end": 1320, "loc": { "start": { - "line": 5, - "column": 30 + "line": 56, + "column": 7 }, "end": { - "line": 5, - "column": 77 + "line": 56, + "column": 31 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -22396,23 +30870,22 @@ "binop": null, "updateContext": null }, - "start": 229, - "end": 230, + "start": 1320, + "end": 1321, "loc": { "start": { - "line": 5, - "column": 77 + "line": 56, + "column": 31 }, "end": { - "line": 5, - "column": 78 + "line": 56, + "column": 32 } } }, { "type": { - "label": "import", - "keyword": "import", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -22423,48 +30896,49 @@ "binop": null, "updateContext": null }, - "value": "import", - "start": 231, - "end": 237, + "value": "type", + "start": 1323, + "end": 1329, "loc": { "start": { - "line": 6, - "column": 0 + "line": 57, + "column": 1 }, "end": { - "line": 6, - "column": 6 + "line": 57, + "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": 238, - "end": 239, + "start": 1329, + "end": 1330, "loc": { "start": { - "line": 6, + "line": 57, "column": 7 }, "end": { - "line": 6, + "line": 57, "column": 8 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -22472,50 +30946,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "RenderGroup", - "start": 239, - "end": 250, + "value": "dropdown", + "start": 1331, + "end": 1341, "loc": { "start": { - "line": 6, - "column": 8 + "line": 57, + "column": 9 }, "end": { - "line": 6, + "line": 57, "column": 19 } } }, { "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": 250, - "end": 251, + "start": 1341, + "end": 1342, "loc": { "start": { - "line": 6, + "line": 57, "column": 19 }, "end": { - "line": 6, + "line": 57, "column": 20 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -22523,27 +30999,28 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "from", - "start": 252, - "end": 256, + "value": "label", + "start": 1344, + "end": 1351, "loc": { "start": { - "line": 6, - "column": 21 + "line": 58, + "column": 1 }, "end": { - "line": 6, - "column": 25 + "line": 58, + "column": 8 } } }, { "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, + "label": ":", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -22552,25 +31029,24 @@ "binop": null, "updateContext": null }, - "value": "./components/RenderGroup", - "start": 257, - "end": 283, + "start": 1351, + "end": 1352, "loc": { "start": { - "line": 6, - "column": 26 + "line": 58, + "column": 8 }, "end": { - "line": 6, - "column": 52 + "line": 58, + "column": 9 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "string", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -22579,24 +31055,24 @@ "binop": null, "updateContext": null }, - "start": 283, - "end": 284, + "value": "Content type", + "start": 1353, + "end": 1367, "loc": { "start": { - "line": 6, - "column": 52 + "line": 58, + "column": 10 }, "end": { - "line": 6, - "column": 53 + "line": 58, + "column": 24 } } }, { "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -22606,23 +31082,22 @@ "binop": null, "updateContext": null }, - "value": "let", - "start": 286, - "end": 289, + "start": 1367, + "end": 1368, "loc": { "start": { - "line": 8, - "column": 0 + "line": 58, + "column": 24 }, "end": { - "line": 8, - "column": 3 + "line": 58, + "column": 25 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -22630,46 +31105,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "textFieldValue", - "start": 290, - "end": 304, + "value": "description", + "start": 1370, + "end": 1383, "loc": { "start": { - "line": 8, - "column": 4 + "line": 59, + "column": 1 }, "end": { - "line": 8, - "column": 18 + "line": 59, + "column": 14 } } }, { "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": 305, - "end": 306, + "start": 1383, + "end": 1384, "loc": { "start": { - "line": 8, - "column": 19 + "line": 59, + "column": 14 }, "end": { - "line": 8, - "column": 20 + "line": 59, + "column": 15 } } }, @@ -22686,23 +31161,23 @@ "binop": null, "updateContext": null }, - "value": "Roy,Mike", - "start": 307, - "end": 317, + "value": "Choose content type, default is HTML", + "start": 1385, + "end": 1423, "loc": { "start": { - "line": 8, - "column": 21 + "line": 59, + "column": 16 }, "end": { - "line": 8, - "column": 31 + "line": 59, + "column": 54 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -22713,97 +31188,94 @@ "binop": null, "updateContext": null }, - "start": 317, - "end": 318, + "start": 1423, + "end": 1424, "loc": { "start": { - "line": 8, - "column": 31 + "line": 59, + "column": 54 }, "end": { - "line": 8, - "column": 32 + "line": 59, + "column": 55 } } }, { "type": { - "label": "const", - "keyword": "const", + "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": "const", - "start": 319, - "end": 324, + "value": "options", + "start": 1426, + "end": 1433, "loc": { "start": { - "line": 9, - "column": 0 + "line": 60, + "column": 1 }, "end": { - "line": 9, - "column": 5 + "line": 60, + "column": 8 } } }, { "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": "textFieldConfig", - "start": 325, - "end": 340, + "start": 1433, + "end": 1434, "loc": { "start": { - "line": 9, - "column": 6 + "line": 60, + "column": 8 }, "end": { - "line": 9, - "column": 21 + "line": 60, + "column": 9 } } }, { "type": { - "label": "=", + "label": "[", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 341, - "end": 342, + "start": 1435, + "end": 1436, "loc": { "start": { - "line": 9, - "column": 22 + "line": 60, + "column": 10 }, "end": { - "line": 9, - "column": 23 + "line": 60, + "column": 11 } } }, @@ -22819,22 +31291,22 @@ "postfix": false, "binop": null }, - "start": 343, - "end": 344, + "start": 1439, + "end": 1440, "loc": { "start": { - "line": 9, - "column": 24 + "line": 61, + "column": 2 }, "end": { - "line": 9, - "column": 25 + "line": 61, + "column": 3 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -22842,20 +31314,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "id", - "start": 346, - "end": 350, + "value": "label", + "start": 1444, + "end": 1449, "loc": { "start": { - "line": 10, - "column": 1 + "line": 62, + "column": 3 }, "end": { - "line": 10, - "column": 5 + "line": 62, + "column": 8 } } }, @@ -22872,16 +31343,16 @@ "binop": null, "updateContext": null }, - "start": 350, - "end": 351, + "start": 1449, + "end": 1450, "loc": { "start": { - "line": 10, - "column": 5 + "line": 62, + "column": 8 }, "end": { - "line": 10, - "column": 6 + "line": 62, + "column": 9 } } }, @@ -22898,17 +31369,17 @@ "binop": null, "updateContext": null }, - "value": "cf-something-tags", - "start": 352, - "end": 371, + "value": "HTML", + "start": 1451, + "end": 1457, "loc": { "start": { - "line": 10, - "column": 7 + "line": 62, + "column": 10 }, "end": { - "line": 10, - "column": 26 + "line": 62, + "column": 16 } } }, @@ -22925,22 +31396,22 @@ "binop": null, "updateContext": null }, - "start": 371, - "end": 372, + "start": 1457, + "end": 1458, "loc": { "start": { - "line": 10, - "column": 26 + "line": 62, + "column": 16 }, "end": { - "line": 10, - "column": 27 + "line": 62, + "column": 17 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -22948,19 +31419,18 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "label", - "start": 374, - "end": 381, + "value": "value", + "start": 1462, + "end": 1467, "loc": { "start": { - "line": 11, - "column": 1 + "line": 63, + "column": 3 }, "end": { - "line": 11, + "line": 63, "column": 8 } } @@ -22978,15 +31448,15 @@ "binop": null, "updateContext": null }, - "start": 381, - "end": 382, + "start": 1467, + "end": 1468, "loc": { "start": { - "line": 11, + "line": 63, "column": 8 }, "end": { - "line": 11, + "line": 63, "column": 9 } } @@ -23004,51 +31474,50 @@ "binop": null, "updateContext": null }, - "value": "Tags", - "start": 383, - "end": 389, + "value": "html", + "start": 1469, + "end": 1475, "loc": { "start": { - "line": 11, + "line": 63, "column": 10 }, "end": { - "line": 11, + "line": 63, "column": 16 } } }, { "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": 389, - "end": 390, + "start": 1478, + "end": 1479, "loc": { "start": { - "line": 11, - "column": 16 + "line": 64, + "column": 2 }, "end": { - "line": 11, - "column": 17 + "line": 64, + "column": 3 } } }, { "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, + "label": ",", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -23057,49 +31526,47 @@ "binop": null, "updateContext": null }, - "value": "desc", - "start": 392, - "end": 398, + "start": 1479, + "end": 1480, "loc": { "start": { - "line": 12, - "column": 1 + "line": 64, + "column": 3 }, "end": { - "line": 12, - "column": 7 + "line": 64, + "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": 398, - "end": 399, + "start": 1483, + "end": 1484, "loc": { "start": { - "line": 12, - "column": 7 + "line": 65, + "column": 2 }, "end": { - "line": 12, - "column": 8 + "line": 65, + "column": 3 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -23107,26 +31574,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "Comma separated list of tags.", - "start": 400, - "end": 431, + "value": "label", + "start": 1488, + "end": 1493, "loc": { "start": { - "line": 12, - "column": 9 + "line": 66, + "column": 3 }, "end": { - "line": 12, - "column": 40 + "line": 66, + "column": 8 } } }, { "type": { - "label": ",", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -23137,16 +31603,16 @@ "binop": null, "updateContext": null }, - "start": 431, - "end": 432, + "start": 1493, + "end": 1494, "loc": { "start": { - "line": 12, - "column": 40 + "line": 66, + "column": 8 }, "end": { - "line": 12, - "column": 41 + "line": 66, + "column": 9 } } }, @@ -23163,23 +31629,23 @@ "binop": null, "updateContext": null }, - "value": "type", - "start": 434, - "end": 440, + "value": "Plain Text", + "start": 1495, + "end": 1507, "loc": { "start": { - "line": 13, - "column": 1 + "line": 66, + "column": 10 }, "end": { - "line": 13, - "column": 7 + "line": 66, + "column": 22 } } }, { "type": { - "label": ":", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -23190,22 +31656,22 @@ "binop": null, "updateContext": null }, - "start": 440, - "end": 441, + "start": 1507, + "end": 1508, "loc": { "start": { - "line": 13, - "column": 7 + "line": 66, + "column": 22 }, "end": { - "line": 13, - "column": 8 + "line": 66, + "column": 23 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -23213,26 +31679,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "text", - "start": 442, - "end": 448, + "value": "value", + "start": 1512, + "end": 1517, "loc": { "start": { - "line": 13, - "column": 9 + "line": 67, + "column": 3 }, "end": { - "line": 13, - "column": 15 + "line": 67, + "column": 8 } } }, { "type": { - "label": ",", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -23243,16 +31708,16 @@ "binop": null, "updateContext": null }, - "start": 448, - "end": 449, + "start": 1517, + "end": 1518, "loc": { "start": { - "line": 13, - "column": 15 + "line": 67, + "column": 8 }, "end": { - "line": 13, - "column": 16 + "line": 67, + "column": 9 } } }, @@ -23269,52 +31734,50 @@ "binop": null, "updateContext": null }, - "value": "description", - "start": 451, - "end": 464, + "value": "plain", + "start": 1519, + "end": 1526, "loc": { "start": { - "line": 14, - "column": 1 + "line": 67, + "column": 10 }, "end": { - "line": 14, - "column": 14 + "line": 67, + "column": 17 } } }, { "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": 464, - "end": 465, + "start": 1529, + "end": 1530, "loc": { "start": { - "line": 14, - "column": 14 + "line": 68, + "column": 2 }, "end": { - "line": 14, - "column": 15 + "line": 68, + "column": 3 } } }, { "type": { - "label": "false", - "keyword": "false", + "label": "]", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -23323,17 +31786,16 @@ "binop": null, "updateContext": null }, - "value": "false", - "start": 466, - "end": 471, + "start": 1532, + "end": 1533, "loc": { "start": { - "line": 14, - "column": 16 + "line": 69, + "column": 1 }, "end": { - "line": 14, - "column": 21 + "line": 69, + "column": 2 } } }, @@ -23350,16 +31812,16 @@ "binop": null, "updateContext": null }, - "start": 471, - "end": 472, + "start": 1533, + "end": 1534, "loc": { "start": { - "line": 14, - "column": 21 + "line": 69, + "column": 2 }, "end": { - "line": 14, - "column": 22 + "line": 69, + "column": 3 } } }, @@ -23376,15 +31838,15 @@ "binop": null }, "value": "value", - "start": 474, - "end": 479, + "start": 1536, + "end": 1541, "loc": { "start": { - "line": 15, + "line": 70, "column": 1 }, "end": { - "line": 15, + "line": 70, "column": 6 } } @@ -23402,15 +31864,15 @@ "binop": null, "updateContext": null }, - "start": 479, - "end": 480, + "start": 1541, + "end": 1542, "loc": { "start": { - "line": 15, + "line": 70, "column": 6 }, "end": { - "line": 15, + "line": 70, "column": 7 } } @@ -23427,17 +31889,17 @@ "postfix": false, "binop": null }, - "value": "textFieldValue", - "start": 481, - "end": 495, + "value": "selectFieldValue", + "start": 1543, + "end": 1559, "loc": { "start": { - "line": 15, + "line": 70, "column": 8 }, "end": { - "line": 15, - "column": 22 + "line": 70, + "column": 24 } } }, @@ -23454,16 +31916,16 @@ "binop": null, "updateContext": null }, - "start": 495, - "end": 496, + "start": 1559, + "end": 1560, "loc": { "start": { - "line": 15, - "column": 22 + "line": 70, + "column": 24 }, "end": { - "line": 15, - "column": 23 + "line": 70, + "column": 25 } } }, @@ -23480,15 +31942,15 @@ "binop": null }, "value": "onValueChange", - "start": 498, - "end": 511, + "start": 1562, + "end": 1575, "loc": { "start": { - "line": 16, + "line": 71, "column": 1 }, "end": { - "line": 16, + "line": 71, "column": 14 } } @@ -23506,15 +31968,15 @@ "binop": null, "updateContext": null }, - "start": 511, - "end": 512, + "start": 1575, + "end": 1576, "loc": { "start": { - "line": 16, + "line": 71, "column": 14 }, "end": { - "line": 16, + "line": 71, "column": 15 } } @@ -23533,15 +31995,15 @@ "binop": null }, "value": "function", - "start": 513, - "end": 521, + "start": 1577, + "end": 1585, "loc": { "start": { - "line": 16, + "line": 71, "column": 16 }, "end": { - "line": 16, + "line": 71, "column": 24 } } @@ -23558,15 +32020,15 @@ "postfix": false, "binop": null }, - "start": 521, - "end": 522, + "start": 1585, + "end": 1586, "loc": { "start": { - "line": 16, + "line": 71, "column": 24 }, "end": { - "line": 16, + "line": 71, "column": 25 } } @@ -23584,15 +32046,15 @@ "binop": null }, "value": "newValue", - "start": 522, - "end": 530, + "start": 1586, + "end": 1594, "loc": { "start": { - "line": 16, + "line": 71, "column": 25 }, "end": { - "line": 16, + "line": 71, "column": 33 } } @@ -23609,15 +32071,15 @@ "postfix": false, "binop": null }, - "start": 530, - "end": 531, + "start": 1594, + "end": 1595, "loc": { "start": { - "line": 16, + "line": 71, "column": 33 }, "end": { - "line": 16, + "line": 71, "column": 34 } } @@ -23634,15 +32096,15 @@ "postfix": false, "binop": null }, - "start": 531, - "end": 532, + "start": 1595, + "end": 1596, "loc": { "start": { - "line": 16, + "line": 71, "column": 34 }, "end": { - "line": 16, + "line": 71, "column": 35 } } @@ -23659,17 +32121,17 @@ "postfix": false, "binop": null }, - "value": "textFieldValue", - "start": 535, - "end": 549, + "value": "selectFieldValue", + "start": 1599, + "end": 1615, "loc": { "start": { - "line": 17, + "line": 72, "column": 2 }, "end": { - "line": 17, - "column": 16 + "line": 72, + "column": 18 } } }, @@ -23687,16 +32149,16 @@ "updateContext": null }, "value": "=", - "start": 550, - "end": 551, + "start": 1616, + "end": 1617, "loc": { "start": { - "line": 17, - "column": 17 + "line": 72, + "column": 19 }, "end": { - "line": 17, - "column": 18 + "line": 72, + "column": 20 } } }, @@ -23713,16 +32175,16 @@ "binop": null }, "value": "newValue", - "start": 552, - "end": 560, + "start": 1618, + "end": 1626, "loc": { "start": { - "line": 17, - "column": 19 + "line": 72, + "column": 21 }, "end": { - "line": 17, - "column": 27 + "line": 72, + "column": 29 } } }, @@ -23738,42 +32200,16 @@ "postfix": false, "binop": null }, - "start": 562, - "end": 563, + "start": 1628, + "end": 1629, "loc": { "start": { - "line": 18, + "line": 73, "column": 1 }, "end": { - "line": 18, - "column": 2 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 563, - "end": 564, - "loc": { - "start": { - "line": 18, + "line": 73, "column": 2 - }, - "end": { - "line": 18, - "column": 3 } } }, @@ -23789,15 +32225,15 @@ "postfix": false, "binop": null }, - "start": 567, - "end": 568, + "start": 1630, + "end": 1631, "loc": { "start": { - "line": 21, + "line": 74, "column": 0 }, "end": { - "line": 21, + "line": 74, "column": 1 } } @@ -23815,15 +32251,15 @@ "binop": null, "updateContext": null }, - "start": 568, - "end": 569, + "start": 1631, + "end": 1632, "loc": { "start": { - "line": 21, + "line": 74, "column": 1 }, "end": { - "line": 21, + "line": 74, "column": 2 } } @@ -23843,15 +32279,15 @@ "updateContext": null }, "value": "let", - "start": 571, - "end": 574, + "start": 1634, + "end": 1637, "loc": { "start": { - "line": 23, + "line": 76, "column": 0 }, "end": { - "line": 23, + "line": 76, "column": 3 } } @@ -23868,17 +32304,17 @@ "postfix": false, "binop": null }, - "value": "hiddenFieldValue", - "start": 575, - "end": 591, + "value": "fieldSetFieldValue", + "start": 1638, + "end": 1656, "loc": { "start": { - "line": 23, + "line": 76, "column": 4 }, "end": { - "line": 23, - "column": 20 + "line": 76, + "column": 22 } } }, @@ -23896,23 +32332,23 @@ "updateContext": null }, "value": "=", - "start": 592, - "end": 593, + "start": 1657, + "end": 1658, "loc": { "start": { - "line": 23, - "column": 21 + "line": 76, + "column": 23 }, "end": { - "line": 23, - "column": 22 + "line": 76, + "column": 24 } } }, { "type": { - "label": "string", - "beforeExpr": false, + "label": "[", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -23922,25 +32358,24 @@ "binop": null, "updateContext": null }, - "value": "42", - "start": 594, - "end": 598, + "start": 1659, + "end": 1660, "loc": { "start": { - "line": 23, - "column": 23 + "line": 76, + "column": 25 }, "end": { - "line": 23, - "column": 27 + "line": 76, + "column": 26 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "string", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -23949,23 +32384,23 @@ "binop": null, "updateContext": null }, - "start": 598, - "end": 599, + "value": "1", + "start": 1660, + "end": 1663, "loc": { "start": { - "line": 23, - "column": 27 + "line": 76, + "column": 26 }, "end": { - "line": 23, - "column": 28 + "line": 76, + "column": 29 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -23976,103 +32411,51 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 600, - "end": 605, - "loc": { - "start": { - "line": 24, - "column": 0 - }, - "end": { - "line": 24, - "column": 5 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "hiddenFieldConfig", - "start": 606, - "end": 623, + "start": 1663, + "end": 1664, "loc": { "start": { - "line": 24, - "column": 6 + "line": 76, + "column": 29 }, "end": { - "line": 24, - "column": 23 + "line": 76, + "column": 30 } } }, { "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": 624, - "end": 625, - "loc": { - "start": { - "line": 24, - "column": 24 - }, - "end": { - "line": 24, - "column": 25 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 626, - "end": 627, + "start": 1664, + "end": 1665, "loc": { "start": { - "line": 24, - "column": 26 + "line": 76, + "column": 30 }, "end": { - "line": 24, - "column": 27 + "line": 76, + "column": 31 } } }, { "type": { - "label": "string", + "label": "const", + "keyword": "const", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -24081,102 +32464,101 @@ "binop": null, "updateContext": null }, - "value": "id", - "start": 629, - "end": 633, + "value": "const", + "start": 1666, + "end": 1671, "loc": { "start": { - "line": 25, - "column": 1 + "line": 77, + "column": 0 }, "end": { - "line": 25, + "line": 77, "column": 5 } } }, { "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": 633, - "end": 634, + "value": "fieldSetField", + "start": 1672, + "end": 1685, "loc": { "start": { - "line": 25, - "column": 5 + "line": 77, + "column": 6 }, "end": { - "line": 25, - "column": 6 + "line": 77, + "column": 19 } } }, { "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, + "label": "=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "cf-something-sequence-id", - "start": 635, - "end": 661, + "value": "=", + "start": 1686, + "end": 1687, "loc": { "start": { - "line": 25, - "column": 7 + "line": 77, + "column": 20 }, "end": { - "line": 25, - "column": 33 + "line": 77, + "column": 21 } } }, { "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": 661, - "end": 662, + "start": 1688, + "end": 1689, "loc": { "start": { - "line": 25, - "column": 33 + "line": 77, + "column": 22 }, "end": { - "line": 25, - "column": 34 + "line": 77, + "column": 23 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -24184,20 +32566,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "type", - "start": 664, - "end": 670, + "value": "id", + "start": 1691, + "end": 1693, "loc": { "start": { - "line": 26, + "line": 78, "column": 1 }, "end": { - "line": 26, - "column": 7 + "line": 78, + "column": 3 } } }, @@ -24214,16 +32595,16 @@ "binop": null, "updateContext": null }, - "start": 670, - "end": 671, + "start": 1693, + "end": 1694, "loc": { "start": { - "line": 26, - "column": 7 + "line": 78, + "column": 3 }, "end": { - "line": 26, - "column": 8 + "line": 78, + "column": 4 } } }, @@ -24240,16 +32621,16 @@ "binop": null, "updateContext": null }, - "value": "hidden", - "start": 672, - "end": 680, + "value": "fieldset-3", + "start": 1695, + "end": 1707, "loc": { "start": { - "line": 26, - "column": 9 + "line": 78, + "column": 5 }, "end": { - "line": 26, + "line": 78, "column": 17 } } @@ -24267,22 +32648,22 @@ "binop": null, "updateContext": null }, - "start": 680, - "end": 681, + "start": 1707, + "end": 1708, "loc": { "start": { - "line": 26, + "line": 78, "column": 17 }, "end": { - "line": 26, + "line": 78, "column": 18 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -24290,20 +32671,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, "value": "label", - "start": 683, - "end": 690, + "start": 1710, + "end": 1715, "loc": { "start": { - "line": 27, + "line": 79, "column": 1 }, "end": { - "line": 27, - "column": 8 + "line": 79, + "column": 6 } } }, @@ -24320,16 +32700,16 @@ "binop": null, "updateContext": null }, - "start": 690, - "end": 691, + "start": 1715, + "end": 1716, "loc": { "start": { - "line": 27, - "column": 8 + "line": 79, + "column": 6 }, "end": { - "line": 27, - "column": 9 + "line": 79, + "column": 7 } } }, @@ -24346,17 +32726,17 @@ "binop": null, "updateContext": null }, - "value": "Sequence ID", - "start": 692, - "end": 705, + "value": "How many?", + "start": 1717, + "end": 1728, "loc": { "start": { - "line": 27, - "column": 10 + "line": 79, + "column": 8 }, "end": { - "line": 27, - "column": 23 + "line": 79, + "column": 19 } } }, @@ -24373,22 +32753,22 @@ "binop": null, "updateContext": null }, - "start": 705, - "end": 706, + "start": 1728, + "end": 1729, "loc": { "start": { - "line": 27, - "column": 23 + "line": 79, + "column": 19 }, "end": { - "line": 27, - "column": 24 + "line": 79, + "column": 20 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -24396,20 +32776,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "description", - "start": 708, - "end": 721, + "value": "type", + "start": 1731, + "end": 1735, "loc": { "start": { - "line": 28, + "line": 80, "column": 1 }, "end": { - "line": 28, - "column": 14 + "line": 80, + "column": 5 } } }, @@ -24426,23 +32805,22 @@ "binop": null, "updateContext": null }, - "start": 721, - "end": 722, + "start": 1735, + "end": 1736, "loc": { "start": { - "line": 28, - "column": 14 + "line": 80, + "column": 5 }, "end": { - "line": 28, - "column": 15 + "line": 80, + "column": 6 } } }, { "type": { - "label": "false", - "keyword": "false", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -24453,17 +32831,17 @@ "binop": null, "updateContext": null }, - "value": "false", - "start": 723, - "end": 728, + "value": "fieldset", + "start": 1737, + "end": 1747, "loc": { "start": { - "line": 28, - "column": 16 + "line": 80, + "column": 7 }, "end": { - "line": 28, - "column": 21 + "line": 80, + "column": 17 } } }, @@ -24480,16 +32858,16 @@ "binop": null, "updateContext": null }, - "start": 728, - "end": 729, + "start": 1747, + "end": 1748, "loc": { "start": { - "line": 28, - "column": 21 + "line": 80, + "column": 17 }, "end": { - "line": 28, - "column": 22 + "line": 80, + "column": 18 } } }, @@ -24505,17 +32883,17 @@ "postfix": false, "binop": null }, - "value": "value", - "start": 731, - "end": 736, + "value": "options", + "start": 1750, + "end": 1757, "loc": { "start": { - "line": 29, + "line": 81, "column": 1 }, "end": { - "line": 29, - "column": 6 + "line": 81, + "column": 8 } } }, @@ -24532,68 +32910,67 @@ "binop": null, "updateContext": null }, - "start": 736, - "end": 737, + "start": 1757, + "end": 1758, "loc": { "start": { - "line": 29, - "column": 6 + "line": 81, + "column": 8 }, "end": { - "line": 29, - "column": 7 + "line": 81, + "column": 9 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "[", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "hiddenFieldValue", - "start": 738, - "end": 754, + "start": 1759, + "end": 1760, "loc": { "start": { - "line": 29, - "column": 8 + "line": 81, + "column": 10 }, "end": { - "line": 29, - "column": 24 + "line": 81, + "column": 11 } } }, { "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": 754, - "end": 755, + "start": 1763, + "end": 1764, "loc": { "start": { - "line": 29, - "column": 24 + "line": 82, + "column": 2 }, "end": { - "line": 29, - "column": 25 + "line": 82, + "column": 3 } } }, @@ -24609,17 +32986,17 @@ "postfix": false, "binop": null }, - "value": "onValueChange", - "start": 757, - "end": 770, + "value": "value", + "start": 1768, + "end": 1773, "loc": { "start": { - "line": 30, - "column": 1 + "line": 83, + "column": 3 }, "end": { - "line": 30, - "column": 14 + "line": 83, + "column": 8 } } }, @@ -24636,23 +33013,22 @@ "binop": null, "updateContext": null }, - "start": 770, - "end": 771, + "start": 1773, + "end": 1774, "loc": { "start": { - "line": 30, - "column": 14 + "line": 83, + "column": 8 }, "end": { - "line": 30, - "column": 15 + "line": 83, + "column": 9 } } }, { "type": { - "label": "function", - "keyword": "function", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -24660,44 +33036,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "function", - "start": 772, - "end": 780, + "value": "1", + "start": 1775, + "end": 1778, "loc": { "start": { - "line": 30, - "column": 16 + "line": 83, + "column": 10 }, "end": { - "line": 30, - "column": 24 + "line": 83, + "column": 13 } } }, { "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": 780, - "end": 781, + "start": 1778, + "end": 1779, "loc": { "start": { - "line": 30, - "column": 24 + "line": 83, + "column": 13 }, "end": { - "line": 30, - "column": 25 + "line": 83, + "column": 14 } } }, @@ -24713,75 +33091,78 @@ "postfix": false, "binop": null }, - "value": "newValue", - "start": 781, - "end": 789, + "value": "label", + "start": 1783, + "end": 1788, "loc": { "start": { - "line": 30, - "column": 25 + "line": 84, + "column": 3 }, "end": { - "line": 30, - "column": 33 + "line": 84, + "column": 8 } } }, { "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": 789, - "end": 790, + "start": 1788, + "end": 1789, "loc": { "start": { - "line": 30, - "column": 33 + "line": 84, + "column": 8 }, "end": { - "line": 30, - "column": 34 + "line": 84, + "column": 9 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "string", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 790, - "end": 791, + "value": "One", + "start": 1790, + "end": 1795, "loc": { "start": { - "line": 30, - "column": 34 + "line": 84, + "column": 10 }, "end": { - "line": 30, - "column": 35 + "line": 84, + "column": 15 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -24789,51 +33170,49 @@ "postfix": false, "binop": null }, - "value": "hiddenFieldValue", - "start": 794, - "end": 810, + "start": 1798, + "end": 1799, "loc": { "start": { - "line": 31, + "line": 85, "column": 2 }, "end": { - "line": 31, - "column": 18 + "line": 85, + "column": 3 } } }, { "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": 811, - "end": 812, + "start": 1799, + "end": 1800, "loc": { "start": { - "line": 31, - "column": 19 + "line": 85, + "column": 3 }, "end": { - "line": 31, - "column": 20 + "line": 85, + "column": 4 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -24842,25 +33221,24 @@ "postfix": false, "binop": null }, - "value": "newValue", - "start": 813, - "end": 821, + "start": 1803, + "end": 1804, "loc": { "start": { - "line": 31, - "column": 21 + "line": 86, + "column": 2 }, "end": { - "line": 31, - "column": 29 + "line": 86, + "column": 3 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -24868,22 +33246,23 @@ "postfix": false, "binop": null }, - "start": 823, - "end": 824, + "value": "value", + "start": 1808, + "end": 1813, "loc": { "start": { - "line": 32, - "column": 1 + "line": 87, + "column": 3 }, "end": { - "line": 32, - "column": 2 + "line": 87, + "column": 8 } } }, { "type": { - "label": ",", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -24894,47 +33273,49 @@ "binop": null, "updateContext": null }, - "start": 824, - "end": 825, + "start": 1813, + "end": 1814, "loc": { "start": { - "line": 32, - "column": 2 + "line": 87, + "column": 8 }, "end": { - "line": 32, - "column": 3 + "line": 87, + "column": 9 } } }, { "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": 826, - "end": 827, + "value": "2", + "start": 1815, + "end": 1818, "loc": { "start": { - "line": 33, - "column": 0 + "line": 87, + "column": 10 }, "end": { - "line": 33, - "column": 1 + "line": 87, + "column": 13 } } }, { "type": { - "label": ";", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -24945,131 +33326,127 @@ "binop": null, "updateContext": null }, - "start": 827, - "end": 828, + "start": 1818, + "end": 1819, "loc": { "start": { - "line": 33, - "column": 1 + "line": 87, + "column": 13 }, "end": { - "line": 33, - "column": 2 + "line": 87, + "column": 14 } } }, { "type": { - "label": "let", - "keyword": "let", + "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": "let", - "start": 830, - "end": 833, + "value": "label", + "start": 1823, + "end": 1828, "loc": { "start": { - "line": 35, - "column": 0 + "line": 88, + "column": 3 }, "end": { - "line": 35, - "column": 3 + "line": 88, + "column": 8 } } }, { "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": "selectFieldValue", - "start": 834, - "end": 850, + "start": 1828, + "end": 1829, "loc": { "start": { - "line": 35, - "column": 4 + "line": 88, + "column": 8 }, "end": { - "line": 35, - "column": 20 + "line": 88, + "column": 9 } } }, { "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": 851, - "end": 852, + "value": "Two", + "start": 1830, + "end": 1835, "loc": { "start": { - "line": 35, - "column": 21 + "line": 88, + "column": 10 }, "end": { - "line": 35, - "column": 22 + "line": 88, + "column": 15 } } }, { "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": "html", - "start": 853, - "end": 859, + "start": 1838, + "end": 1839, "loc": { "start": { - "line": 35, - "column": 23 + "line": 89, + "column": 2 }, "end": { - "line": 35, - "column": 29 + "line": 89, + "column": 3 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "]", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -25079,24 +33456,23 @@ "binop": null, "updateContext": null }, - "start": 859, - "end": 860, + "start": 1842, + "end": 1843, "loc": { "start": { - "line": 35, - "column": 29 + "line": 91, + "column": 1 }, "end": { - "line": 35, - "column": 30 + "line": 91, + "column": 2 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -25106,17 +33482,16 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 861, - "end": 866, + "start": 1843, + "end": 1844, "loc": { "start": { - "line": 36, - "column": 0 + "line": 91, + "column": 2 }, "end": { - "line": 36, - "column": 5 + "line": 91, + "column": 3 } } }, @@ -25132,50 +33507,49 @@ "postfix": false, "binop": null }, - "value": "selectFieldConfig", - "start": 867, - "end": 884, + "value": "value", + "start": 1846, + "end": 1851, "loc": { "start": { - "line": 36, - "column": 6 + "line": 92, + "column": 1 }, "end": { - "line": 36, - "column": 23 + "line": 92, + "column": 6 } } }, { "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": 885, - "end": 886, + "start": 1851, + "end": 1852, "loc": { "start": { - "line": 36, - "column": 24 + "line": 92, + "column": 6 }, "end": { - "line": 36, - "column": 25 + "line": 92, + "column": 7 } } }, { "type": { - "label": "{", + "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -25183,26 +33557,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 887, - "end": 888, + "start": 1852, + "end": 1853, "loc": { "start": { - "line": 36, - "column": 26 + "line": 92, + "column": 7 }, "end": { - "line": 36, - "column": 27 + "line": 92, + "column": 8 } } }, { "type": { - "label": "string", + "label": "]", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -25211,23 +33586,22 @@ "binop": null, "updateContext": null }, - "value": "id", - "start": 890, - "end": 894, + "start": 1853, + "end": 1854, "loc": { "start": { - "line": 37, - "column": 1 + "line": 92, + "column": 8 }, "end": { - "line": 37, - "column": 5 + "line": 92, + "column": 9 } } }, { "type": { - "label": ":", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -25238,22 +33612,22 @@ "binop": null, "updateContext": null }, - "start": 894, - "end": 895, + "start": 1854, + "end": 1855, "loc": { "start": { - "line": 37, - "column": 5 + "line": 92, + "column": 9 }, "end": { - "line": 37, - "column": 6 + "line": 92, + "column": 10 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -25261,26 +33635,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "cf-something-select-id", - "start": 896, - "end": 920, + "value": "onValueChange", + "start": 1857, + "end": 1870, "loc": { "start": { - "line": 37, - "column": 7 + "line": 93, + "column": 1 }, "end": { - "line": 37, - "column": 31 + "line": 93, + "column": 14 } } }, { "type": { - "label": ",", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -25291,102 +33664,98 @@ "binop": null, "updateContext": null }, - "start": 920, - "end": 921, + "start": 1870, + "end": 1871, "loc": { "start": { - "line": 37, - "column": 31 + "line": 93, + "column": 14 }, "end": { - "line": 37, - "column": 32 + "line": 93, + "column": 15 } } }, { "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": "type", - "start": 923, - "end": 929, + "start": 1871, + "end": 1872, "loc": { "start": { - "line": 38, - "column": 1 + "line": 93, + "column": 15 }, "end": { - "line": 38, - "column": 7 + "line": 93, + "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": 929, - "end": 930, + "value": "newValue", + "start": 1872, + "end": 1880, "loc": { "start": { - "line": 38, - "column": 7 + "line": 93, + "column": 16 }, "end": { - "line": 38, - "column": 8 + "line": 93, + "column": 24 } } }, { "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": "dropdown", - "start": 931, - "end": 941, + "start": 1880, + "end": 1881, "loc": { "start": { - "line": 38, - "column": 9 + "line": 93, + "column": 24 }, "end": { - "line": 38, - "column": 19 + "line": 93, + "column": 25 } } }, { "type": { - "label": ",", + "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -25397,22 +33766,47 @@ "binop": null, "updateContext": null }, - "start": 941, - "end": 942, + "start": 1882, + "end": 1884, "loc": { "start": { - "line": 38, - "column": 19 + "line": 93, + "column": 26 + }, + "end": { + "line": 93, + "column": 28 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1885, + "end": 1886, + "loc": { + "start": { + "line": 93, + "column": 29 }, "end": { - "line": 38, - "column": 20 + "line": 93, + "column": 30 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -25420,52 +33814,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "label", - "start": 944, - "end": 951, + "value": "fieldSetFieldValue", + "start": 1889, + "end": 1907, "loc": { "start": { - "line": 39, - "column": 1 + "line": 94, + "column": 2 }, "end": { - "line": 39, - "column": 8 + "line": 94, + "column": 20 } } }, { "type": { - "label": ":", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 951, - "end": 952, + "value": "=", + "start": 1907, + "end": 1908, "loc": { "start": { - "line": 39, - "column": 8 + "line": 94, + "column": 20 }, "end": { - "line": 39, - "column": 9 + "line": 94, + "column": 21 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -25473,26 +33867,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "Content type", - "start": 953, - "end": 967, + "value": "newValue", + "start": 1908, + "end": 1916, "loc": { "start": { - "line": 39, - "column": 10 + "line": 94, + "column": 21 }, "end": { - "line": 39, - "column": 24 + "line": 94, + "column": 29 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -25503,77 +33896,74 @@ "binop": null, "updateContext": null }, - "start": 967, - "end": 968, + "start": 1916, + "end": 1917, "loc": { "start": { - "line": 39, - "column": 24 + "line": 94, + "column": 29 }, "end": { - "line": 39, - "column": 25 + "line": 94, + "column": 30 } } }, { "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": "description", - "start": 970, - "end": 983, + "start": 1919, + "end": 1920, "loc": { "start": { - "line": 40, + "line": 95, "column": 1 }, "end": { - "line": 40, - "column": 14 + "line": 95, + "column": 2 } } }, { "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": 983, - "end": 984, + "start": 1921, + "end": 1922, "loc": { "start": { - "line": 40, - "column": 14 + "line": 96, + "column": 0 }, "end": { - "line": 40, - "column": 15 + "line": 96, + "column": 1 } } }, { "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -25582,24 +33972,24 @@ "binop": null, "updateContext": null }, - "value": "Choose content type, default is HTML", - "start": 985, - "end": 1023, + "start": 1922, + "end": 1923, "loc": { "start": { - "line": 40, - "column": 16 + "line": 96, + "column": 1 }, "end": { - "line": 40, - "column": 54 + "line": 96, + "column": 2 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -25609,16 +33999,17 @@ "binop": null, "updateContext": null }, - "start": 1023, - "end": 1024, + "value": "const", + "start": 1925, + "end": 1930, "loc": { "start": { - "line": 40, - "column": 54 + "line": 98, + "column": 0 }, "end": { - "line": 40, - "column": 55 + "line": 98, + "column": 5 } } }, @@ -25634,43 +34025,44 @@ "postfix": false, "binop": null }, - "value": "options", - "start": 1026, - "end": 1033, + "value": "configFields", + "start": 1931, + "end": 1943, "loc": { "start": { - "line": 41, - "column": 1 + "line": 98, + "column": 6 }, "end": { - "line": 41, - "column": 8 + "line": 98, + "column": 18 } } }, { "type": { - "label": ":", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 1033, - "end": 1034, + "value": "=", + "start": 1944, + "end": 1945, "loc": { "start": { - "line": 41, - "column": 8 + "line": 98, + "column": 19 }, "end": { - "line": 41, - "column": 9 + "line": 98, + "column": 20 } } }, @@ -25687,41 +34079,16 @@ "binop": null, "updateContext": null }, - "start": 1035, - "end": 1036, - "loc": { - "start": { - "line": 41, - "column": 10 - }, - "end": { - "line": 41, - "column": 11 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1039, - "end": 1040, + "start": 1946, + "end": 1947, "loc": { "start": { - "line": 42, - "column": 2 + "line": 98, + "column": 21 }, "end": { - "line": 42, - "column": 3 + "line": 98, + "column": 22 } } }, @@ -25737,23 +34104,23 @@ "postfix": false, "binop": null }, - "value": "label", - "start": 1044, - "end": 1049, + "value": "textFieldConfig", + "start": 1949, + "end": 1964, "loc": { "start": { - "line": 43, - "column": 3 + "line": 99, + "column": 1 }, "end": { - "line": 43, - "column": 8 + "line": 99, + "column": 16 } } }, { "type": { - "label": ":", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -25764,22 +34131,22 @@ "binop": null, "updateContext": null }, - "start": 1049, - "end": 1050, + "start": 1964, + "end": 1965, "loc": { "start": { - "line": 43, - "column": 8 + "line": 99, + "column": 16 }, "end": { - "line": 43, - "column": 9 + "line": 99, + "column": 17 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -25787,20 +34154,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "HTML", - "start": 1051, - "end": 1057, + "value": "hiddenFieldConfig", + "start": 1967, + "end": 1984, "loc": { "start": { - "line": 43, - "column": 10 + "line": 100, + "column": 1 }, "end": { - "line": 43, - "column": 16 + "line": 100, + "column": 18 } } }, @@ -25817,16 +34183,16 @@ "binop": null, "updateContext": null }, - "start": 1057, - "end": 1058, + "start": 1984, + "end": 1985, "loc": { "start": { - "line": 43, - "column": 16 + "line": 100, + "column": 18 }, "end": { - "line": 43, - "column": 17 + "line": 100, + "column": 19 } } }, @@ -25842,23 +34208,23 @@ "postfix": false, "binop": null }, - "value": "value", - "start": 1062, - "end": 1067, + "value": "selectFieldConfig", + "start": 1987, + "end": 2004, "loc": { "start": { - "line": 44, - "column": 3 + "line": 101, + "column": 1 }, "end": { - "line": 44, - "column": 8 + "line": 101, + "column": 18 } } }, { "type": { - "label": ":", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -25869,22 +34235,22 @@ "binop": null, "updateContext": null }, - "start": 1067, - "end": 1068, + "start": 2004, + "end": 2005, "loc": { "start": { - "line": 44, - "column": 8 + "line": 101, + "column": 18 }, "end": { - "line": 44, - "column": 9 + "line": 101, + "column": 19 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -25892,129 +34258,131 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "html", - "start": 1069, - "end": 1075, + "value": "fieldSetField", + "start": 2007, + "end": 2020, "loc": { "start": { - "line": 44, - "column": 10 + "line": 102, + "column": 1 }, "end": { - "line": 44, - "column": 16 + "line": 102, + "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": 1078, - "end": 1079, + "start": 2020, + "end": 2021, "loc": { "start": { - "line": 45, - "column": 2 + "line": 102, + "column": 14 }, "end": { - "line": 45, - "column": 3 + "line": 102, + "column": 15 } } }, { "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": 1079, - "end": 1080, + "value": "numberFieldConfig", + "start": 2023, + "end": 2040, "loc": { "start": { - "line": 45, - "column": 3 + "line": 103, + "column": 1 }, "end": { - "line": 45, - "column": 4 + "line": 103, + "column": 18 } } }, { "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": 1083, - "end": 1084, + "start": 2041, + "end": 2042, "loc": { "start": { - "line": 46, - "column": 2 + "line": 104, + "column": 0 }, "end": { - "line": 46, - "column": 3 + "line": 104, + "column": 1 } } }, { "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": "label", - "start": 1088, - "end": 1093, + "start": 2042, + "end": 2043, "loc": { "start": { - "line": 47, - "column": 3 + "line": 104, + "column": 1 }, "end": { - "line": 47, - "column": 8 + "line": 104, + "column": 2 } } }, { "type": { - "label": ":", - "beforeExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -26024,22 +34392,23 @@ "binop": null, "updateContext": null }, - "start": 1093, - "end": 1094, + "value": "const", + "start": 2044, + "end": 2049, "loc": { "start": { - "line": 47, - "column": 8 + "line": 105, + "column": 0 }, "end": { - "line": 47, - "column": 9 + "line": 105, + "column": 5 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -26047,46 +34416,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "Plain Text", - "start": 1095, - "end": 1107, + "value": "configFieldEls", + "start": 2050, + "end": 2064, "loc": { "start": { - "line": 47, - "column": 10 + "line": 105, + "column": 6 }, "end": { - "line": 47, - "column": 22 + "line": 105, + "column": 20 } } }, { "type": { - "label": ",", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 1107, - "end": 1108, + "value": "=", + "start": 2065, + "end": 2066, "loc": { "start": { - "line": 47, - "column": 22 + "line": 105, + "column": 21 }, "end": { - "line": 47, - "column": 23 + "line": 105, + "column": 22 } } }, @@ -26102,49 +34471,48 @@ "postfix": false, "binop": null }, - "value": "value", - "start": 1112, - "end": 1117, + "value": "fieldSetFactory", + "start": 2067, + "end": 2082, "loc": { "start": { - "line": 48, - "column": 3 + "line": 105, + "column": 23 }, "end": { - "line": 48, - "column": 8 + "line": 105, + "column": 38 } } }, { "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": 1117, - "end": 1118, + "start": 2082, + "end": 2083, "loc": { "start": { - "line": 48, - "column": 8 + "line": 105, + "column": 38 }, "end": { - "line": 48, - "column": 9 + "line": 105, + "column": 39 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -26152,26 +34520,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "plain", - "start": 1119, - "end": 1126, + "value": "configFields", + "start": 2083, + "end": 2095, "loc": { "start": { - "line": 48, - "column": 10 + "line": 105, + "column": 39 }, "end": { - "line": 48, - "column": 17 + "line": 105, + "column": 51 } } }, { "type": { - "label": "}", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -26181,23 +34548,23 @@ "postfix": false, "binop": null }, - "start": 1129, - "end": 1130, + "start": 2095, + "end": 2096, "loc": { "start": { - "line": 49, - "column": 2 + "line": 105, + "column": 51 }, "end": { - "line": 49, - "column": 3 + "line": 105, + "column": 52 } } }, { "type": { - "label": "]", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -26207,23 +34574,24 @@ "binop": null, "updateContext": null }, - "start": 1132, - "end": 1133, + "start": 2096, + "end": 2097, "loc": { "start": { - "line": 50, - "column": 1 + "line": 105, + "column": 52 }, "end": { - "line": 50, - "column": 2 + "line": 105, + "column": 53 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "let", + "keyword": "let", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -26233,15 +34601,16 @@ "binop": null, "updateContext": null }, - "start": 1133, - "end": 1134, + "value": "let", + "start": 2101, + "end": 2104, "loc": { "start": { - "line": 50, - "column": 2 + "line": 109, + "column": 0 }, "end": { - "line": 50, + "line": 109, "column": 3 } } @@ -26258,50 +34627,51 @@ "postfix": false, "binop": null }, - "value": "value", - "start": 1136, - "end": 1141, + "value": "values", + "start": 2105, + "end": 2111, "loc": { "start": { - "line": 51, - "column": 1 + "line": 109, + "column": 4 }, "end": { - "line": 51, - "column": 6 + "line": 109, + "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": 1141, - "end": 1142, + "value": "=", + "start": 2112, + "end": 2113, "loc": { "start": { - "line": 51, - "column": 6 + "line": 109, + "column": 11 }, "end": { - "line": 51, - "column": 7 + "line": 109, + "column": 12 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -26310,43 +34680,16 @@ "postfix": false, "binop": null }, - "value": "selectFieldValue", - "start": 1143, - "end": 1159, - "loc": { - "start": { - "line": 51, - "column": 8 - }, - "end": { - "line": 51, - "column": 24 - } - } - }, - { - "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1159, - "end": 1160, + "start": 2114, + "end": 2115, "loc": { "start": { - "line": 51, - "column": 24 + "line": 109, + "column": 13 }, "end": { - "line": 51, - "column": 25 + "line": 109, + "column": 14 } } }, @@ -26362,17 +34705,17 @@ "postfix": false, "binop": null }, - "value": "onValueChange", - "start": 1162, - "end": 1175, + "value": "one", + "start": 2117, + "end": 2120, "loc": { "start": { - "line": 52, + "line": 110, "column": 1 }, "end": { - "line": 52, - "column": 14 + "line": 110, + "column": 4 } } }, @@ -26389,23 +34732,22 @@ "binop": null, "updateContext": null }, - "start": 1175, - "end": 1176, + "start": 2120, + "end": 2121, "loc": { "start": { - "line": 52, - "column": 14 + "line": 110, + "column": 4 }, "end": { - "line": 52, - "column": 15 + "line": 110, + "column": 5 } } }, { "type": { - "label": "function", - "keyword": "function", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -26413,44 +34755,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "function", - "start": 1177, - "end": 1185, + "value": "", + "start": 2122, + "end": 2124, "loc": { "start": { - "line": 52, - "column": 16 + "line": 110, + "column": 6 }, "end": { - "line": 52, - "column": 24 + "line": 110, + "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": 1185, - "end": 1186, + "start": 2124, + "end": 2125, "loc": { "start": { - "line": 52, - "column": 24 + "line": 110, + "column": 8 }, "end": { - "line": 52, - "column": 25 + "line": 110, + "column": 9 } } }, @@ -26466,171 +34810,175 @@ "postfix": false, "binop": null }, - "value": "newValue", - "start": 1186, - "end": 1194, + "value": "two", + "start": 2127, + "end": 2130, "loc": { "start": { - "line": 52, - "column": 25 + "line": 111, + "column": 1 }, "end": { - "line": 52, - "column": 33 + "line": 111, + "column": 4 } } }, { "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": 1194, - "end": 1195, + "start": 2130, + "end": 2131, "loc": { "start": { - "line": 52, - "column": 33 + "line": 111, + "column": 4 }, "end": { - "line": 52, - "column": 34 + "line": 111, + "column": 5 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "string", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1195, - "end": 1196, + "value": "", + "start": 2132, + "end": 2134, "loc": { "start": { - "line": 52, - "column": 34 + "line": 111, + "column": 6 }, "end": { - "line": 52, - "column": 35 + "line": 111, + "column": 8 } } }, { "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": "selectFieldValue", - "start": 1199, - "end": 1215, + "start": 2134, + "end": 2135, "loc": { "start": { - "line": 53, - "column": 2 + "line": 111, + "column": 8 }, "end": { - "line": 53, - "column": 18 + "line": 111, + "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": 1216, - "end": 1217, + "value": "three", + "start": 2137, + "end": 2142, "loc": { "start": { - "line": 53, - "column": 19 + "line": 112, + "column": 1 }, "end": { - "line": 53, - "column": 20 + "line": 112, + "column": 6 } } }, { "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": "newValue", - "start": 1218, - "end": 1226, + "start": 2142, + "end": 2143, "loc": { "start": { - "line": 53, - "column": 21 + "line": 112, + "column": 6 }, "end": { - "line": 53, - "column": 29 + "line": 112, + "column": 7 } } }, { "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": 1228, - "end": 1229, + "value": "", + "start": 2144, + "end": 2146, "loc": { "start": { - "line": 54, - "column": 1 + "line": 112, + "column": 8 }, "end": { - "line": 54, - "column": 2 + "line": 112, + "column": 10 } } }, @@ -26646,15 +34994,15 @@ "postfix": false, "binop": null }, - "start": 1230, - "end": 1231, + "start": 2147, + "end": 2148, "loc": { "start": { - "line": 55, + "line": 113, "column": 0 }, "end": { - "line": 55, + "line": 113, "column": 1 } } @@ -26672,15 +35020,15 @@ "binop": null, "updateContext": null }, - "start": 1231, - "end": 1232, + "start": 2148, + "end": 2149, "loc": { "start": { - "line": 55, + "line": 113, "column": 1 }, "end": { - "line": 55, + "line": 113, "column": 2 } } @@ -26700,15 +35048,15 @@ "updateContext": null }, "value": "let", - "start": 1234, - "end": 1237, + "start": 2151, + "end": 2154, "loc": { "start": { - "line": 57, + "line": 115, "column": 0 }, "end": { - "line": 57, + "line": 115, "column": 3 } } @@ -26725,17 +35073,17 @@ "postfix": false, "binop": null }, - "value": "fieldSetFieldValue", - "start": 1238, - "end": 1256, + "value": "magicFieldValue", + "start": 2155, + "end": 2170, "loc": { "start": { - "line": 57, + "line": 115, "column": 4 }, "end": { - "line": 57, - "column": 22 + "line": 115, + "column": 19 } } }, @@ -26753,23 +35101,23 @@ "updateContext": null }, "value": "=", - "start": 1257, - "end": 1258, + "start": 2171, + "end": 2172, "loc": { "start": { - "line": 57, - "column": 23 + "line": 115, + "column": 20 }, "end": { - "line": 57, - "column": 24 + "line": 115, + "column": 21 } } }, { "type": { - "label": "[", - "beforeExpr": true, + "label": "string", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -26779,24 +35127,25 @@ "binop": null, "updateContext": null }, - "start": 1259, - "end": 1260, + "value": "", + "start": 2173, + "end": 2175, "loc": { "start": { - "line": 57, - "column": 25 + "line": 115, + "column": 22 }, "end": { - "line": 57, - "column": 26 + "line": 115, + "column": 24 } } }, { "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -26805,23 +35154,23 @@ "binop": null, "updateContext": null }, - "value": "1", - "start": 1260, - "end": 1263, + "start": 2175, + "end": 2176, "loc": { "start": { - "line": 57, - "column": 26 + "line": 115, + "column": 24 }, "end": { - "line": 57, - "column": 29 + "line": 115, + "column": 25 } } }, { "type": { - "label": "]", + "label": "class", + "keyword": "class", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -26832,50 +35181,51 @@ "binop": null, "updateContext": null }, - "start": 1263, - "end": 1264, + "value": "class", + "start": 2178, + "end": 2183, "loc": { "start": { - "line": 57, - "column": 29 + "line": 117, + "column": 0 }, "end": { - "line": 57, - "column": 30 + "line": 117, + "column": 5 } } }, { "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": 1264, - "end": 1265, + "value": "App", + "start": 2184, + "end": 2187, "loc": { "start": { - "line": 57, - "column": 30 + "line": 117, + "column": 6 }, "end": { - "line": 57, - "column": 31 + "line": 117, + "column": 9 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": "extends", + "keyword": "extends", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -26885,17 +35235,17 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 1266, - "end": 1271, + "value": "extends", + "start": 2188, + "end": 2195, "loc": { "start": { - "line": 58, - "column": 0 + "line": 117, + "column": 10 }, "end": { - "line": 58, - "column": 5 + "line": 117, + "column": 17 } } }, @@ -26911,51 +35261,49 @@ "postfix": false, "binop": null }, - "value": "fieldSetField", - "start": 1272, - "end": 1285, + "value": "Component", + "start": 2196, + "end": 2205, "loc": { "start": { - "line": 58, - "column": 6 + "line": 117, + "column": 18 }, "end": { - "line": 58, - "column": 19 + "line": 117, + "column": 27 } } }, { "type": { - "label": "=", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 1286, - "end": 1287, + "start": 2206, + "end": 2207, "loc": { "start": { - "line": 58, - "column": 20 + "line": 117, + "column": 28 }, "end": { - "line": 58, - "column": 21 + "line": 117, + "column": 29 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -26964,23 +35312,24 @@ "postfix": false, "binop": null }, - "start": 1288, - "end": 1289, + "value": "render", + "start": 2210, + "end": 2216, "loc": { "start": { - "line": 58, - "column": 22 + "line": 119, + "column": 1 }, "end": { - "line": 58, - "column": 23 + "line": 119, + "column": 7 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -26989,76 +35338,73 @@ "postfix": false, "binop": null }, - "value": "id", - "start": 1291, - "end": 1293, + "start": 2216, + "end": 2217, "loc": { "start": { - "line": 59, - "column": 1 + "line": 119, + "column": 7 }, "end": { - "line": 59, - "column": 3 + "line": 119, + "column": 8 } } }, { "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": 1293, - "end": 1294, + "start": 2217, + "end": 2218, "loc": { "start": { - "line": 59, - "column": 3 + "line": 119, + "column": 8 }, "end": { - "line": 59, - "column": 4 + "line": 119, + "column": 9 } } }, { "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": "fieldset-3", - "start": 1295, - "end": 1307, + "start": 2219, + "end": 2220, "loc": { "start": { - "line": 59, - "column": 5 + "line": 119, + "column": 10 }, "end": { - "line": 59, - "column": 17 + "line": 119, + "column": 11 } } }, { "type": { - "label": ",", + "label": "return", + "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -27069,22 +35415,48 @@ "binop": null, "updateContext": null }, - "start": 1307, - "end": 1308, + "value": "return", + "start": 2223, + "end": 2229, "loc": { "start": { - "line": 59, - "column": 17 + "line": 120, + "column": 2 }, "end": { - "line": 59, - "column": 18 + "line": 120, + "column": 8 } } }, { "type": { - "label": "name", + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2230, + "end": 2231, + "loc": { + "start": { + "line": 120, + "column": 9 + }, + "end": { + "line": 120, + "column": 10 + } + } + }, + { + "type": { + "label": "jsxTagStart", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -27094,24 +35466,23 @@ "postfix": false, "binop": null }, - "value": "label", - "start": 1310, - "end": 1315, + "start": 2235, + "end": 2236, "loc": { "start": { - "line": 60, - "column": 1 + "line": 121, + "column": 3 }, "end": { - "line": 60, - "column": 6 + "line": 121, + "column": 4 } } }, { "type": { - "label": ":", - "beforeExpr": true, + "label": "jsxName", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -27121,24 +35492,25 @@ "binop": null, "updateContext": null }, - "start": 1315, - "end": 1316, + "value": "div", + "start": 2236, + "end": 2239, "loc": { "start": { - "line": 60, - "column": 6 + "line": 121, + "column": 4 }, "end": { - "line": 60, + "line": 121, "column": 7 } } }, { "type": { - "label": "string", + "label": "jsxName", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -27147,49 +35519,50 @@ "binop": null, "updateContext": null }, - "value": "How many?", - "start": 1317, - "end": 1328, + "value": "className", + "start": 2240, + "end": 2249, "loc": { "start": { - "line": 60, + "line": 121, "column": 8 }, "end": { - "line": 60, - "column": 19 + "line": 121, + "column": 17 } } }, { "type": { - "label": ",", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 1328, - "end": 1329, + "value": "=", + "start": 2249, + "end": 2250, "loc": { "start": { - "line": 60, - "column": 19 + "line": 121, + "column": 17 }, "end": { - "line": 60, - "column": 20 + "line": 121, + "column": 18 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -27197,25 +35570,51 @@ "isAssign": false, "prefix": false, "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "App", + "start": 2250, + "end": 2255, + "loc": { + "start": { + "line": 121, + "column": 18 + }, + "end": { + "line": 121, + "column": 23 + } + } + }, + { + "type": { + "label": "jsxTagEnd", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, "binop": null }, - "value": "type", - "start": 1331, - "end": 1335, + "start": 2255, + "end": 2256, "loc": { "start": { - "line": 61, - "column": 1 + "line": 121, + "column": 23 }, "end": { - "line": 61, - "column": 5 + "line": 121, + "column": 24 } } }, { "type": { - "label": ":", + "label": "jsxText", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -27226,22 +35625,23 @@ "binop": null, "updateContext": null }, - "start": 1335, - "end": 1336, + "value": "\n\t\t\t\t", + "start": 2256, + "end": 2261, "loc": { "start": { - "line": 61, - "column": 5 + "line": 121, + "column": 24 }, "end": { - "line": 61, - "column": 6 + "line": 122, + "column": 4 } } }, { "type": { - "label": "string", + "label": "jsxTagStart", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -27249,27 +35649,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "fieldset", - "start": 1337, - "end": 1347, + "start": 2261, + "end": 2262, "loc": { "start": { - "line": 61, - "column": 7 + "line": 122, + "column": 4 }, "end": { - "line": 61, - "column": 17 + "line": 122, + "column": 5 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "jsxName", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -27279,50 +35677,79 @@ "binop": null, "updateContext": null }, - "start": 1347, - "end": 1348, + "value": "header", + "start": 2262, + "end": 2268, "loc": { "start": { - "line": 61, - "column": 17 + "line": 122, + "column": 5 }, "end": { - "line": 61, - "column": 18 + "line": 122, + "column": 11 } } }, { "type": { - "label": "name", + "label": "jsxName", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "className", + "start": 2269, + "end": 2278, + "loc": { + "start": { + "line": 122, + "column": 12 + }, + "end": { + "line": 122, + "column": 21 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "options", - "start": 1350, - "end": 1357, + "value": "=", + "start": 2278, + "end": 2279, "loc": { "start": { - "line": 62, - "column": 1 + "line": 122, + "column": 21 }, "end": { - "line": 62, - "column": 8 + "line": 122, + "column": 22 } } }, { "type": { - "label": ":", - "beforeExpr": true, - "startsExpr": false, + "label": "string", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -27331,73 +35758,75 @@ "binop": null, "updateContext": null }, - "start": 1357, - "end": 1358, + "value": "App-header", + "start": 2279, + "end": 2291, "loc": { "start": { - "line": 62, - "column": 8 + "line": 122, + "column": 22 }, "end": { - "line": 62, - "column": 9 + "line": 122, + "column": 34 } } }, { "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, + "label": "jsxTagEnd", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1359, - "end": 1360, + "start": 2291, + "end": 2292, "loc": { "start": { - "line": 62, - "column": 10 + "line": 122, + "column": 34 }, "end": { - "line": 62, - "column": 11 + "line": 122, + "column": 35 } } }, { "type": { - "label": "{", + "label": "jsxText", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1363, - "end": 1364, + "value": "\n\t\t\t\t\t", + "start": 2292, + "end": 2298, "loc": { "start": { - "line": 63, - "column": 2 + "line": 122, + "column": 35 }, "end": { - "line": 63, - "column": 3 + "line": 123, + "column": 5 } } }, { "type": { - "label": "name", + "label": "jsxTagStart", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -27407,24 +35836,23 @@ "postfix": false, "binop": null }, - "value": "value", - "start": 1368, - "end": 1373, + "start": 2298, + "end": 2299, "loc": { "start": { - "line": 64, - "column": 3 + "line": 123, + "column": 5 }, "end": { - "line": 64, - "column": 8 + "line": 123, + "column": 6 } } }, { "type": { - "label": ":", - "beforeExpr": true, + "label": "jsxName", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -27434,24 +35862,25 @@ "binop": null, "updateContext": null }, - "start": 1373, - "end": 1374, + "value": "img", + "start": 2299, + "end": 2302, "loc": { "start": { - "line": 64, - "column": 8 + "line": 123, + "column": 6 }, "end": { - "line": 64, + "line": 123, "column": 9 } } }, { "type": { - "label": "string", + "label": "jsxName", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -27460,50 +35889,51 @@ "binop": null, "updateContext": null }, - "value": "1", - "start": 1375, - "end": 1378, + "value": "src", + "start": 2303, + "end": 2306, "loc": { "start": { - "line": 64, + "line": 123, "column": 10 }, "end": { - "line": 64, + "line": 123, "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": 1378, - "end": 1379, + "value": "=", + "start": 2306, + "end": 2307, "loc": { "start": { - "line": 64, + "line": 123, "column": 13 }, "end": { - "line": 64, + "line": 123, "column": 14 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -27512,76 +35942,73 @@ "postfix": false, "binop": null }, - "value": "label", - "start": 1383, - "end": 1388, + "start": 2307, + "end": 2308, "loc": { "start": { - "line": 65, - "column": 3 + "line": 123, + "column": 14 }, "end": { - "line": 65, - "column": 8 + "line": 123, + "column": 15 } } }, { "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": 1388, - "end": 1389, + "value": "logo", + "start": 2308, + "end": 2312, "loc": { "start": { - "line": 65, - "column": 8 + "line": 123, + "column": 15 }, "end": { - "line": 65, - "column": 9 + "line": 123, + "column": 19 } } }, { "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": "One", - "start": 1390, - "end": 1395, + "start": 2312, + "end": 2313, "loc": { "start": { - "line": 65, - "column": 10 + "line": 123, + "column": 19 }, "end": { - "line": 65, - "column": 15 + "line": 123, + "column": 20 } } }, { "type": { - "label": "}", + "label": "jsxName", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -27589,121 +36016,128 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1398, - "end": 1399, + "value": "className", + "start": 2314, + "end": 2323, "loc": { "start": { - "line": 66, - "column": 2 + "line": 123, + "column": 21 }, "end": { - "line": 66, - "column": 3 + "line": 123, + "column": 30 } } }, { "type": { - "label": ",", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 1399, - "end": 1400, + "value": "=", + "start": 2323, + "end": 2324, "loc": { "start": { - "line": 66, - "column": 3 + "line": 123, + "column": 30 }, "end": { - "line": 66, - "column": 4 + "line": 123, + "column": 31 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "string", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1403, - "end": 1404, + "value": "App-logo", + "start": 2324, + "end": 2334, "loc": { "start": { - "line": 67, - "column": 2 + "line": 123, + "column": 31 }, "end": { - "line": 67, - "column": 3 + "line": 123, + "column": 41 } } }, { "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": "value", - "start": 1408, - "end": 1413, + "value": "alt", + "start": 2335, + "end": 2338, "loc": { "start": { - "line": 68, - "column": 3 + "line": 123, + "column": 42 }, "end": { - "line": 68, - "column": 8 + "line": 123, + "column": 45 } } }, { "type": { - "label": ":", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 1413, - "end": 1414, + "value": "=", + "start": 2338, + "end": 2339, "loc": { "start": { - "line": 68, - "column": 8 + "line": 123, + "column": 45 }, "end": { - "line": 68, - "column": 9 + "line": 123, + "column": 46 } } }, @@ -27720,23 +36154,23 @@ "binop": null, "updateContext": null }, - "value": "2", - "start": 1415, - "end": 1418, + "value": "logo", + "start": 2339, + "end": 2345, "loc": { "start": { - "line": 68, - "column": 10 + "line": 123, + "column": 46 }, "end": { - "line": 68, - "column": 13 + "line": 123, + "column": 52 } } }, { "type": { - "label": ",", + "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -27744,27 +36178,28 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 10, "updateContext": null }, - "start": 1418, - "end": 1419, + "value": "/", + "start": 2346, + "end": 2347, "loc": { "start": { - "line": 68, - "column": 13 + "line": 123, + "column": 53 }, "end": { - "line": 68, - "column": 14 + "line": 123, + "column": 54 } } }, { "type": { - "label": "name", + "label": "jsxTagEnd", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -27772,23 +36207,22 @@ "postfix": false, "binop": null }, - "value": "label", - "start": 1423, - "end": 1428, + "start": 2347, + "end": 2348, "loc": { "start": { - "line": 69, - "column": 3 + "line": 123, + "column": 54 }, "end": { - "line": 69, - "column": 8 + "line": 123, + "column": 55 } } }, { "type": { - "label": ":", + "label": "jsxText", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -27799,22 +36233,23 @@ "binop": null, "updateContext": null }, - "start": 1428, - "end": 1429, + "value": "\n\t\t\t\t\t", + "start": 2348, + "end": 2354, "loc": { "start": { - "line": 69, - "column": 8 + "line": 123, + "column": 55 }, "end": { - "line": 69, - "column": 9 + "line": 124, + "column": 5 } } }, { "type": { - "label": "string", + "label": "jsxTagStart", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -27822,26 +36257,24 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "Two", - "start": 1430, - "end": 1435, + "start": 2354, + "end": 2355, "loc": { "start": { - "line": 69, - "column": 10 + "line": 124, + "column": 5 }, "end": { - "line": 69, - "column": 15 + "line": 124, + "column": 6 } } }, { "type": { - "label": "}", + "label": "jsxName", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -27849,24 +36282,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1438, - "end": 1439, + "value": "h1", + "start": 2355, + "end": 2357, "loc": { "start": { - "line": 70, - "column": 2 + "line": 124, + "column": 6 }, "end": { - "line": 70, - "column": 3 + "line": 124, + "column": 8 } } }, { "type": { - "label": "]", + "label": "jsxName", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -27877,48 +36312,50 @@ "binop": null, "updateContext": null }, - "start": 1442, - "end": 1443, + "value": "className", + "start": 2358, + "end": 2367, "loc": { "start": { - "line": 72, - "column": 1 + "line": 124, + "column": 9 }, "end": { - "line": 72, - "column": 2 + "line": 124, + "column": 18 } } }, { "type": { - "label": ",", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 1443, - "end": 1444, + "value": "=", + "start": 2367, + "end": 2368, "loc": { "start": { - "line": 72, - "column": 2 + "line": 124, + "column": 18 }, "end": { - "line": 72, - "column": 3 + "line": 124, + "column": 19 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -27926,25 +36363,51 @@ "isAssign": false, "prefix": false, "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "App-title", + "start": 2368, + "end": 2379, + "loc": { + "start": { + "line": 124, + "column": 19 + }, + "end": { + "line": 124, + "column": 30 + } + } + }, + { + "type": { + "label": "jsxTagEnd", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, "binop": null }, - "value": "value", - "start": 1446, - "end": 1451, + "start": 2379, + "end": 2380, "loc": { "start": { - "line": 73, - "column": 1 + "line": 124, + "column": 30 }, "end": { - "line": 73, - "column": 6 + "line": 124, + "column": 31 } } }, { "type": { - "label": ":", + "label": "jsxText", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -27955,75 +36418,76 @@ "binop": null, "updateContext": null }, - "start": 1451, - "end": 1452, + "value": "Welcome to React", + "start": 2380, + "end": 2396, "loc": { "start": { - "line": 73, - "column": 6 + "line": 124, + "column": 31 }, "end": { - "line": 73, - "column": 7 + "line": 124, + "column": 47 } } }, { "type": { - "label": "[", - "beforeExpr": true, + "label": "jsxTagStart", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1452, - "end": 1453, + "start": 2396, + "end": 2397, "loc": { "start": { - "line": 73, - "column": 7 + "line": 124, + "column": 47 }, "end": { - "line": 73, - "column": 8 + "line": 124, + "column": 48 } } }, { "type": { - "label": "]", - "beforeExpr": false, + "label": "/", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 10, "updateContext": null }, - "start": 1453, - "end": 1454, + "value": "/", + "start": 2397, + "end": 2398, "loc": { "start": { - "line": 73, - "column": 8 + "line": 124, + "column": 48 }, "end": { - "line": 73, - "column": 9 + "line": 124, + "column": 49 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "jsxName", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -28033,24 +36497,25 @@ "binop": null, "updateContext": null }, - "start": 1454, - "end": 1455, + "value": "h1", + "start": 2398, + "end": 2400, "loc": { "start": { - "line": 73, - "column": 9 + "line": 124, + "column": 49 }, "end": { - "line": 73, - "column": 10 + "line": 124, + "column": 51 } } }, { "type": { - "label": "name", + "label": "jsxTagEnd", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -28058,23 +36523,22 @@ "postfix": false, "binop": null }, - "value": "onValueChange", - "start": 1457, - "end": 1470, + "start": 2400, + "end": 2401, "loc": { "start": { - "line": 74, - "column": 1 + "line": 124, + "column": 51 }, "end": { - "line": 74, - "column": 14 + "line": 124, + "column": 52 } } }, { "type": { - "label": ":", + "label": "jsxText", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -28085,23 +36549,24 @@ "binop": null, "updateContext": null }, - "start": 1470, - "end": 1471, + "value": "\n\t\t\t\t", + "start": 2401, + "end": 2406, "loc": { "start": { - "line": 74, - "column": 14 + "line": 124, + "column": 52 }, "end": { - "line": 74, - "column": 15 + "line": 125, + "column": 4 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "jsxTagStart", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -28110,48 +36575,76 @@ "postfix": false, "binop": null }, - "start": 1471, - "end": 1472, + "start": 2406, + "end": 2407, "loc": { "start": { - "line": 74, - "column": 15 + "line": 125, + "column": 4 }, "end": { - "line": 74, - "column": 16 + "line": 125, + "column": 5 } } }, { "type": { - "label": "name", + "label": "/", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "/", + "start": 2407, + "end": 2408, + "loc": { + "start": { + "line": 125, + "column": 5 + }, + "end": { + "line": 125, + "column": 6 + } + } + }, + { + "type": { + "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": "newValue", - "start": 1472, - "end": 1480, + "value": "header", + "start": 2408, + "end": 2414, "loc": { "start": { - "line": 74, - "column": 16 + "line": 125, + "column": 6 }, "end": { - "line": 74, - "column": 24 + "line": 125, + "column": 12 } } }, { "type": { - "label": ")", + "label": "jsxTagEnd", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -28161,22 +36654,22 @@ "postfix": false, "binop": null }, - "start": 1480, - "end": 1481, + "start": 2414, + "end": 2415, "loc": { "start": { - "line": 74, - "column": 24 + "line": 125, + "column": 12 }, "end": { - "line": 74, - "column": 25 + "line": 125, + "column": 13 } } }, { "type": { - "label": "=>", + "label": "jsxText", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -28187,23 +36680,24 @@ "binop": null, "updateContext": null }, - "start": 1482, - "end": 1484, + "value": "\n\n\n\t\t\t\t", + "start": 2415, + "end": 2422, "loc": { "start": { - "line": 74, - "column": 26 + "line": 125, + "column": 13 }, "end": { - "line": 74, - "column": 28 + "line": 128, + "column": 4 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "jsxTagStart", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -28212,24 +36706,51 @@ "postfix": false, "binop": null }, - "start": 1485, - "end": 1486, + "start": 2422, + "end": 2423, "loc": { "start": { - "line": 74, - "column": 29 + "line": 128, + "column": 4 }, "end": { - "line": 74, - "column": 30 + "line": 128, + "column": 5 } } }, { "type": { - "label": "name", + "label": "jsxName", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "div", + "start": 2423, + "end": 2426, + "loc": { + "start": { + "line": 128, + "column": 5 + }, + "end": { + "line": 128, + "column": 8 + } + } + }, + { + "type": { + "label": "jsxTagEnd", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -28237,50 +36758,49 @@ "postfix": false, "binop": null }, - "value": "fieldSetFieldValue", - "start": 1489, - "end": 1507, + "start": 2426, + "end": 2427, "loc": { "start": { - "line": 75, - "column": 2 + "line": 128, + "column": 8 }, "end": { - "line": 75, - "column": 20 + "line": 128, + "column": 9 } } }, { "type": { - "label": "=", + "label": "jsxText", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 1507, - "end": 1508, + "value": "\n\t\t\t\t\t", + "start": 2427, + "end": 2433, "loc": { "start": { - "line": 75, - "column": 20 + "line": 128, + "column": 9 }, "end": { - "line": 75, - "column": 21 + "line": 129, + "column": 5 } } }, { "type": { - "label": "name", + "label": "jsxTagStart", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -28290,24 +36810,23 @@ "postfix": false, "binop": null }, - "value": "newValue", - "start": 1508, - "end": 1516, + "start": 2433, + "end": 2434, "loc": { "start": { - "line": 75, - "column": 21 + "line": 129, + "column": 5 }, "end": { - "line": 75, - "column": 29 + "line": 129, + "column": 6 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "jsxName", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -28317,22 +36836,23 @@ "binop": null, "updateContext": null }, - "start": 1516, - "end": 1517, + "value": "h2", + "start": 2434, + "end": 2436, "loc": { "start": { - "line": 75, - "column": 29 + "line": 129, + "column": 6 }, "end": { - "line": 75, - "column": 30 + "line": 129, + "column": 8 } } }, { "type": { - "label": "}", + "label": "jsxTagEnd", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -28342,156 +36862,155 @@ "postfix": false, "binop": null }, - "start": 1519, - "end": 1520, + "start": 2436, + "end": 2437, "loc": { "start": { - "line": 76, - "column": 1 + "line": 129, + "column": 8 }, "end": { - "line": 76, - "column": 2 + "line": 129, + "column": 9 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": "jsxText", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1521, - "end": 1522, + "value": "Created With RenderGroup Component", + "start": 2437, + "end": 2471, "loc": { "start": { - "line": 77, - "column": 0 + "line": 129, + "column": 9 }, "end": { - "line": 77, - "column": 1 + "line": 129, + "column": 43 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "jsxTagStart", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1522, - "end": 1523, + "start": 2471, + "end": 2472, "loc": { "start": { - "line": 77, - "column": 1 + "line": 129, + "column": 43 }, "end": { - "line": 77, - "column": 2 + "line": 129, + "column": 44 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": "/", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 10, "updateContext": null }, - "value": "const", - "start": 1525, - "end": 1530, + "value": "/", + "start": 2472, + "end": 2473, "loc": { "start": { - "line": 79, - "column": 0 + "line": 129, + "column": 44 }, "end": { - "line": 79, - "column": 5 + "line": 129, + "column": 45 } } }, { "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": "configFields", - "start": 1531, - "end": 1543, + "value": "h2", + "start": 2473, + "end": 2475, "loc": { "start": { - "line": 79, - "column": 6 + "line": 129, + "column": 45 }, "end": { - "line": 79, - "column": 18 + "line": 129, + "column": 47 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": "jsxTagEnd", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 1544, - "end": 1545, + "start": 2475, + "end": 2476, "loc": { "start": { - "line": 79, - "column": 19 + "line": 129, + "column": 47 }, "end": { - "line": 79, - "column": 20 + "line": 129, + "column": 48 } } }, { "type": { - "label": "[", + "label": "jsxText", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -28500,22 +37019,23 @@ "binop": null, "updateContext": null }, - "start": 1546, - "end": 1547, + "value": "\n\t\t\t\t\t", + "start": 2476, + "end": 2482, "loc": { "start": { - "line": 79, - "column": 21 + "line": 129, + "column": 48 }, "end": { - "line": 79, - "column": 22 + "line": 130, + "column": 5 } } }, { "type": { - "label": "name", + "label": "jsxTagStart", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -28525,24 +37045,23 @@ "postfix": false, "binop": null }, - "value": "textFieldConfig", - "start": 1549, - "end": 1564, + "start": 2482, + "end": 2483, "loc": { "start": { - "line": 80, - "column": 1 + "line": 130, + "column": 5 }, "end": { - "line": 80, - "column": 16 + "line": 130, + "column": 6 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "jsxName", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -28552,75 +37071,78 @@ "binop": null, "updateContext": null }, - "start": 1564, - "end": 1565, + "value": "RenderGroup", + "start": 2483, + "end": 2494, "loc": { "start": { - "line": 80, - "column": 16 + "line": 130, + "column": 6 }, "end": { - "line": 80, + "line": 130, "column": 17 } } }, { "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": "hiddenFieldConfig", - "start": 1567, - "end": 1584, + "value": "configFields", + "start": 2501, + "end": 2513, "loc": { "start": { - "line": 81, - "column": 1 + "line": 131, + "column": 6 }, "end": { - "line": 81, + "line": 131, "column": 18 } } }, { "type": { - "label": ",", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 1584, - "end": 1585, + "value": "=", + "start": 2513, + "end": 2514, "loc": { "start": { - "line": 81, + "line": 131, "column": 18 }, "end": { - "line": 81, + "line": 131, "column": 19 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -28629,51 +37151,50 @@ "postfix": false, "binop": null }, - "value": "selectFieldConfig", - "start": 1587, - "end": 1604, + "start": 2514, + "end": 2515, "loc": { "start": { - "line": 82, - "column": 1 + "line": 131, + "column": 19 }, "end": { - "line": 82, - "column": 18 + "line": 131, + "column": 20 } } }, { "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": 1604, - "end": 1605, + "value": "configFields", + "start": 2515, + "end": 2527, "loc": { "start": { - "line": 82, - "column": 18 + "line": 131, + "column": 20 }, "end": { - "line": 82, - "column": 19 + "line": 131, + "column": 32 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -28681,23 +37202,22 @@ "postfix": false, "binop": null }, - "value": "fieldSetField", - "start": 1607, - "end": 1620, + "start": 2527, + "end": 2528, "loc": { "start": { - "line": 83, - "column": 1 + "line": 131, + "column": 32 }, "end": { - "line": 83, - "column": 14 + "line": 131, + "column": 33 } } }, { "type": { - "label": "]", + "label": "jsxName", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -28708,70 +37228,94 @@ "binop": null, "updateContext": null }, - "start": 1621, - "end": 1622, + "value": "onBlur", + "start": 2535, + "end": 2541, "loc": { "start": { - "line": 84, - "column": 0 + "line": 132, + "column": 6 }, "end": { - "line": 84, - "column": 1 + "line": 132, + "column": 12 } } }, { "type": { - "label": ";", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 1622, - "end": 1623, + "value": "=", + "start": 2541, + "end": 2542, "loc": { "start": { - "line": 84, - "column": 1 + "line": 132, + "column": 12 }, "end": { - "line": 84, - "column": 2 + "line": 132, + "column": 13 } } }, { "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": 1624, - "end": 1629, + "start": 2542, + "end": 2543, "loc": { "start": { - "line": 85, - "column": 0 + "line": 132, + "column": 13 }, "end": { - "line": 85, - "column": 5 + "line": 132, + "column": 14 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2543, + "end": 2544, + "loc": { + "start": { + "line": 132, + "column": 14 + }, + "end": { + "line": 132, + "column": 15 } } }, @@ -28787,76 +37331,74 @@ "postfix": false, "binop": null }, - "value": "configFieldEls", - "start": 1630, - "end": 1644, + "value": "fI", + "start": 2544, + "end": 2546, "loc": { "start": { - "line": 85, - "column": 6 + "line": 132, + "column": 15 }, "end": { - "line": 85, - "column": 20 + "line": 132, + "column": 17 } } }, { "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": 1645, - "end": 1646, + "start": 2546, + "end": 2547, "loc": { "start": { - "line": 85, - "column": 21 + "line": 132, + "column": 17 }, "end": { - "line": 85, - "column": 22 + "line": 132, + "column": 18 } } }, { "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": "fieldSetFactory", - "start": 1647, - "end": 1662, + "start": 2548, + "end": 2550, "loc": { "start": { - "line": 85, - "column": 23 + "line": 132, + "column": 19 }, "end": { - "line": 85, - "column": 38 + "line": 132, + "column": 21 } } }, { "type": { - "label": "(", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -28866,16 +37408,16 @@ "postfix": false, "binop": null }, - "start": 1662, - "end": 1663, + "start": 2551, + "end": 2552, "loc": { "start": { - "line": 85, - "column": 38 + "line": 132, + "column": 22 }, "end": { - "line": 85, - "column": 39 + "line": 132, + "column": 23 } } }, @@ -28891,23 +37433,23 @@ "postfix": false, "binop": null }, - "value": "configFields", - "start": 1663, - "end": 1675, + "value": "console", + "start": 2552, + "end": 2559, "loc": { "start": { - "line": 85, - "column": 39 + "line": 132, + "column": 23 }, "end": { - "line": 85, - "column": 51 + "line": 132, + "column": 30 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -28915,72 +37457,70 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1675, - "end": 1676, + "start": 2559, + "end": 2560, "loc": { "start": { - "line": 85, - "column": 51 + "line": 132, + "column": 30 }, "end": { - "line": 85, - "column": 52 + "line": 132, + "column": 31 } } }, { "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": 1676, - "end": 1677, + "value": "log", + "start": 2560, + "end": 2563, "loc": { "start": { - "line": 85, - "column": 52 + "line": 132, + "column": 31 }, "end": { - "line": 85, - "column": 53 + "line": 132, + "column": 34 } } }, { "type": { - "label": "let", - "keyword": "let", - "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": "let", - "start": 1681, - "end": 1684, + "start": 2563, + "end": 2564, "loc": { "start": { - "line": 89, - "column": 0 + "line": 132, + "column": 34 }, "end": { - "line": 89, - "column": 3 + "line": 132, + "column": 35 } } }, @@ -28996,52 +37536,50 @@ "postfix": false, "binop": null }, - "value": "values", - "start": 1685, - "end": 1691, + "value": "fI", + "start": 2564, + "end": 2566, "loc": { "start": { - "line": 89, - "column": 4 + "line": 132, + "column": 35 }, "end": { - "line": 89, - "column": 10 + "line": 132, + "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": 1692, - "end": 1693, + "start": 2566, + "end": 2567, "loc": { "start": { - "line": 89, - "column": 11 + "line": 132, + "column": 37 }, "end": { - "line": 89, - "column": 12 + "line": 132, + "column": 38 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -29049,24 +37587,24 @@ "postfix": false, "binop": null }, - "start": 1694, - "end": 1695, + "start": 2567, + "end": 2568, "loc": { "start": { - "line": 89, - "column": 13 + "line": 132, + "column": 38 }, "end": { - "line": 89, - "column": 14 + "line": 132, + "column": 39 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -29074,23 +37612,22 @@ "postfix": false, "binop": null }, - "value": "one", - "start": 1697, - "end": 1700, + "start": 2568, + "end": 2569, "loc": { "start": { - "line": 90, - "column": 1 + "line": 132, + "column": 39 }, "end": { - "line": 90, - "column": 4 + "line": 132, + "column": 40 } } }, { "type": { - "label": ":", + "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -29098,52 +37635,51 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 10, "updateContext": null }, - "start": 1700, - "end": 1701, + "value": "/", + "start": 2575, + "end": 2576, "loc": { "start": { - "line": 90, - "column": 4 + "line": 133, + "column": 5 }, "end": { - "line": 90, - "column": 5 + "line": 133, + "column": 6 } } }, { "type": { - "label": "string", + "label": "jsxTagEnd", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "", - "start": 1702, - "end": 1704, + "start": 2576, + "end": 2577, "loc": { "start": { - "line": 90, + "line": 133, "column": 6 }, "end": { - "line": 90, - "column": 8 + "line": 133, + "column": 7 } } }, { "type": { - "label": ",", + "label": "jsxText", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -29154,22 +37690,23 @@ "binop": null, "updateContext": null }, - "start": 1704, - "end": 1705, + "value": "\n\t\t\t\t", + "start": 2577, + "end": 2582, "loc": { "start": { - "line": 90, - "column": 8 + "line": 133, + "column": 7 }, "end": { - "line": 90, - "column": 9 + "line": 134, + "column": 4 } } }, { "type": { - "label": "name", + "label": "jsxTagStart", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -29179,23 +37716,22 @@ "postfix": false, "binop": null }, - "value": "two", - "start": 1707, - "end": 1710, + "start": 2582, + "end": 2583, "loc": { "start": { - "line": 91, - "column": 1 + "line": 134, + "column": 4 }, "end": { - "line": 91, - "column": 4 + "line": 134, + "column": 5 } } }, { "type": { - "label": ":", + "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -29203,53 +37739,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 10, "updateContext": null }, - "start": 1710, - "end": 1711, + "value": "/", + "start": 2583, + "end": 2584, "loc": { "start": { - "line": 91, - "column": 4 - }, - "end": { - "line": 91, + "line": 134, "column": 5 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "", - "start": 1712, - "end": 1714, - "loc": { - "start": { - "line": 91, - "column": 6 }, "end": { - "line": 91, - "column": 8 + "line": 134, + "column": 6 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "jsxName", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -29259,24 +37769,25 @@ "binop": null, "updateContext": null }, - "start": 1714, - "end": 1715, + "value": "div", + "start": 2584, + "end": 2587, "loc": { "start": { - "line": 91, - "column": 8 + "line": 134, + "column": 6 }, "end": { - "line": 91, + "line": 134, "column": 9 } } }, { "type": { - "label": "name", + "label": "jsxTagEnd", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -29284,23 +37795,22 @@ "postfix": false, "binop": null }, - "value": "three", - "start": 1717, - "end": 1722, + "start": 2587, + "end": 2588, "loc": { "start": { - "line": 92, - "column": 1 + "line": 134, + "column": 9 }, "end": { - "line": 92, - "column": 6 + "line": 134, + "column": 10 } } }, { "type": { - "label": ":", + "label": "jsxText", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -29311,22 +37821,23 @@ "binop": null, "updateContext": null }, - "start": 1722, - "end": 1723, + "value": "\n\n\t\t\t\t", + "start": 2588, + "end": 2594, "loc": { "start": { - "line": 92, - "column": 6 + "line": 134, + "column": 10 }, "end": { - "line": 92, - "column": 7 + "line": 136, + "column": 4 } } }, { "type": { - "label": "string", + "label": "jsxTagStart", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -29334,26 +37845,24 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "", - "start": 1724, - "end": 1726, + "start": 2594, + "end": 2595, "loc": { "start": { - "line": 92, - "column": 8 + "line": 136, + "column": 4 }, "end": { - "line": 92, - "column": 10 + "line": 136, + "column": 5 } } }, { "type": { - "label": "}", + "label": "jsxName", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -29361,52 +37870,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1727, - "end": 1728, + "value": "div", + "start": 2595, + "end": 2598, "loc": { "start": { - "line": 93, - "column": 0 + "line": 136, + "column": 5 }, "end": { - "line": 93, - "column": 1 + "line": 136, + "column": 8 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "jsxTagEnd", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1728, - "end": 1729, + "start": 2598, + "end": 2599, "loc": { "start": { - "line": 93, - "column": 1 + "line": 136, + "column": 8 }, "end": { - "line": 93, - "column": 2 + "line": 136, + "column": 9 } } }, { "type": { - "label": "class", - "keyword": "class", - "beforeExpr": false, + "label": "jsxText", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -29416,23 +37925,23 @@ "binop": null, "updateContext": null }, - "value": "class", - "start": 1731, - "end": 1736, + "value": "\n\t\t\t\t\t", + "start": 2599, + "end": 2605, "loc": { "start": { - "line": 95, - "column": 0 + "line": 136, + "column": 9 }, "end": { - "line": 95, + "line": 137, "column": 5 } } }, { "type": { - "label": "name", + "label": "jsxTagStart", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -29442,25 +37951,23 @@ "postfix": false, "binop": null }, - "value": "App", - "start": 1737, - "end": 1740, + "start": 2605, + "end": 2606, "loc": { "start": { - "line": 95, - "column": 6 + "line": 137, + "column": 5 }, "end": { - "line": 95, - "column": 9 + "line": 137, + "column": 6 } } }, { "type": { - "label": "extends", - "keyword": "extends", - "beforeExpr": true, + "label": "jsxName", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -29470,25 +37977,25 @@ "binop": null, "updateContext": null }, - "value": "extends", - "start": 1741, - "end": 1748, + "value": "h2", + "start": 2606, + "end": 2608, "loc": { "start": { - "line": 95, - "column": 10 + "line": 137, + "column": 6 }, "end": { - "line": 95, - "column": 17 + "line": 137, + "column": 8 } } }, { "type": { - "label": "name", + "label": "jsxTagEnd", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -29496,48 +38003,49 @@ "postfix": false, "binop": null }, - "value": "Component", - "start": 1749, - "end": 1758, + "start": 2608, + "end": 2609, "loc": { "start": { - "line": 95, - "column": 18 + "line": 137, + "column": 8 }, "end": { - "line": 95, - "column": 27 + "line": 137, + "column": 9 } } }, { "type": { - "label": "{", + "label": "jsxText", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1759, - "end": 1760, + "value": "Created With Factory", + "start": 2609, + "end": 2629, "loc": { "start": { - "line": 95, - "column": 28 + "line": 137, + "column": 9 }, "end": { - "line": 95, + "line": 137, "column": 29 } } }, { "type": { - "label": "name", + "label": "jsxTagStart", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -29547,48 +38055,49 @@ "postfix": false, "binop": null }, - "value": "render", - "start": 1763, - "end": 1769, + "start": 2629, + "end": 2630, "loc": { "start": { - "line": 97, - "column": 1 + "line": 137, + "column": 29 }, "end": { - "line": 97, - "column": 7 + "line": 137, + "column": 30 } } }, { "type": { - "label": "(", + "label": "/", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 10, + "updateContext": null }, - "start": 1769, - "end": 1770, + "value": "/", + "start": 2630, + "end": 2631, "loc": { "start": { - "line": 97, - "column": 7 + "line": 137, + "column": 30 }, "end": { - "line": 97, - "column": 8 + "line": 137, + "column": 31 } } }, { "type": { - "label": ")", + "label": "jsxName", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -29596,26 +38105,28 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1770, - "end": 1771, + "value": "h2", + "start": 2631, + "end": 2633, "loc": { "start": { - "line": 97, - "column": 8 + "line": 137, + "column": 31 }, "end": { - "line": 97, - "column": 9 + "line": 137, + "column": 33 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": "jsxTagEnd", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -29623,23 +38134,22 @@ "postfix": false, "binop": null }, - "start": 1772, - "end": 1773, + "start": 2633, + "end": 2634, "loc": { "start": { - "line": 97, - "column": 10 + "line": 137, + "column": 33 }, "end": { - "line": 97, - "column": 11 + "line": 137, + "column": 34 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": "jsxText", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -29650,23 +38160,23 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 1776, - "end": 1782, + "value": "\n\t\t\t\t\t", + "start": 2634, + "end": 2640, "loc": { "start": { - "line": 98, - "column": 2 + "line": 137, + "column": 34 }, "end": { - "line": 98, - "column": 8 + "line": 138, + "column": 5 } } }, { "type": { - "label": "(", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -29676,22 +38186,22 @@ "postfix": false, "binop": null }, - "start": 1783, - "end": 1784, + "start": 2640, + "end": 2641, "loc": { "start": { - "line": 98, - "column": 9 + "line": 138, + "column": 5 }, "end": { - "line": 98, - "column": 10 + "line": 138, + "column": 6 } } }, { "type": { - "label": "jsxTagStart", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -29701,22 +38211,23 @@ "postfix": false, "binop": null }, - "start": 1788, - "end": 1789, + "value": "Array", + "start": 2641, + "end": 2646, "loc": { "start": { - "line": 99, - "column": 3 + "line": 138, + "column": 6 }, "end": { - "line": 99, - "column": 4 + "line": 138, + "column": 11 } } }, { "type": { - "label": "jsxName", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -29727,77 +38238,73 @@ "binop": null, "updateContext": null }, - "value": "div", - "start": 1789, - "end": 1792, + "start": 2646, + "end": 2647, "loc": { "start": { - "line": 99, - "column": 4 + "line": 138, + "column": 11 }, "end": { - "line": 99, - "column": 7 + "line": 138, + "column": 12 } } }, { "type": { - "label": "jsxName", + "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": "className", - "start": 1793, - "end": 1802, + "value": "from", + "start": 2647, + "end": 2651, "loc": { "start": { - "line": 99, - "column": 8 + "line": 138, + "column": 12 }, "end": { - "line": 99, - "column": 17 + "line": 138, + "column": 16 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 1802, - "end": 1803, + "start": 2651, + "end": 2652, "loc": { "start": { - "line": 99, - "column": 17 + "line": 138, + "column": 16 }, "end": { - "line": 99, - "column": 18 + "line": 138, + "column": 17 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -29805,26 +38312,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "App", - "start": 1803, - "end": 1808, + "value": "configFieldEls", + "start": 2652, + "end": 2666, "loc": { "start": { - "line": 99, - "column": 18 + "line": 138, + "column": 17 }, "end": { - "line": 99, - "column": 23 + "line": 138, + "column": 31 } } }, { "type": { - "label": "jsxTagEnd", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -29834,23 +38340,23 @@ "postfix": false, "binop": null }, - "start": 1808, - "end": 1809, + "start": 2666, + "end": 2667, "loc": { "start": { - "line": 99, - "column": 23 + "line": 138, + "column": 31 }, "end": { - "line": 99, - "column": 24 + "line": 138, + "column": 32 } } }, { "type": { - "label": "jsxText", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -29860,23 +38366,22 @@ "binop": null, "updateContext": null }, - "value": "\n\t\t\t\t", - "start": 1809, - "end": 1814, + "start": 2667, + "end": 2668, "loc": { "start": { - "line": 99, - "column": 24 + "line": 138, + "column": 32 }, "end": { - "line": 100, - "column": 4 + "line": 138, + "column": 33 } } }, { "type": { - "label": "jsxTagStart", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -29886,103 +38391,125 @@ "postfix": false, "binop": null }, - "start": 1814, - "end": 1815, + "value": "map", + "start": 2668, + "end": 2671, "loc": { "start": { - "line": 100, - "column": 4 + "line": 138, + "column": 33 }, "end": { - "line": 100, - "column": 5 + "line": 138, + "column": 36 } } }, { "type": { - "label": "jsxName", - "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": "header", - "start": 1815, - "end": 1821, + "start": 2671, + "end": 2672, "loc": { "start": { - "line": 100, - "column": 5 + "line": 138, + "column": 36 }, "end": { - "line": 100, - "column": 11 + "line": 138, + "column": 37 } } }, { "type": { - "label": "jsxName", + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2672, + "end": 2673, + "loc": { + "start": { + "line": 138, + "column": 37 + }, + "end": { + "line": 138, + "column": 38 + } + } + }, + { + "type": { + "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": "className", - "start": 1822, - "end": 1831, + "value": "field", + "start": 2673, + "end": 2678, "loc": { "start": { - "line": 100, - "column": 12 + "line": 138, + "column": 38 }, "end": { - "line": 100, - "column": 21 + "line": 138, + "column": 43 } } }, { "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": 1831, - "end": 1832, + "start": 2678, + "end": 2679, "loc": { "start": { - "line": 100, - "column": 21 + "line": 138, + "column": 43 }, "end": { - "line": 100, - "column": 22 + "line": 138, + "column": 44 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -29990,26 +38517,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "App-header", - "start": 1832, - "end": 1844, + "value": "i", + "start": 2679, + "end": 2680, "loc": { "start": { - "line": 100, - "column": 22 + "line": 138, + "column": 44 }, "end": { - "line": 100, - "column": 34 + "line": 138, + "column": 45 } } }, { "type": { - "label": "jsxTagEnd", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -30019,22 +38545,22 @@ "postfix": false, "binop": null }, - "start": 1844, - "end": 1845, + "start": 2680, + "end": 2681, "loc": { "start": { - "line": 100, - "column": 34 + "line": 138, + "column": 45 }, "end": { - "line": 100, - "column": 35 + "line": 138, + "column": 46 } } }, { "type": { - "label": "jsxText", + "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -30045,24 +38571,23 @@ "binop": null, "updateContext": null }, - "value": "\n\t\t\t\t\t", - "start": 1845, - "end": 1851, + "start": 2682, + "end": 2684, "loc": { "start": { - "line": 100, - "column": 35 + "line": 138, + "column": 47 }, "end": { - "line": 101, - "column": 5 + "line": 138, + "column": 49 } } }, { "type": { - "label": "jsxTagStart", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -30071,23 +38596,24 @@ "postfix": false, "binop": null }, - "start": 1851, - "end": 1852, + "start": 2685, + "end": 2686, "loc": { "start": { - "line": 101, - "column": 5 + "line": 138, + "column": 50 }, "end": { - "line": 101, - "column": 6 + "line": 138, + "column": 51 } } }, { "type": { - "label": "jsxName", - "beforeExpr": false, + "label": "return", + "keyword": "return", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -30097,78 +38623,76 @@ "binop": null, "updateContext": null }, - "value": "img", - "start": 1852, - "end": 1855, + "value": "return", + "start": 2693, + "end": 2699, "loc": { "start": { - "line": 101, + "line": 139, "column": 6 }, "end": { - "line": 101, - "column": 9 + "line": 139, + "column": 12 } } }, { "type": { - "label": "jsxName", + "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": "src", - "start": 1856, - "end": 1859, + "value": "React", + "start": 2700, + "end": 2705, "loc": { "start": { - "line": 101, - "column": 10 + "line": 139, + "column": 13 }, "end": { - "line": 101, - "column": 13 + "line": 139, + "column": 18 } } }, { "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": 1859, - "end": 1860, + "start": 2705, + "end": 2706, "loc": { "start": { - "line": 101, - "column": 13 + "line": 139, + "column": 18 }, "end": { - "line": 101, - "column": 14 + "line": 139, + "column": 19 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -30177,23 +38701,24 @@ "postfix": false, "binop": null }, - "start": 1860, - "end": 1861, + "value": "createElement", + "start": 2706, + "end": 2719, "loc": { "start": { - "line": 101, - "column": 14 + "line": 139, + "column": 19 }, "end": { - "line": 101, - "column": 15 + "line": 139, + "column": 32 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -30202,25 +38727,24 @@ "postfix": false, "binop": null }, - "value": "logo", - "start": 1861, - "end": 1865, + "start": 2719, + "end": 2720, "loc": { "start": { - "line": 101, - "column": 15 + "line": 139, + "column": 32 }, "end": { - "line": 101, - "column": 19 + "line": 139, + "column": 33 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -30228,22 +38752,23 @@ "postfix": false, "binop": null }, - "start": 1865, - "end": 1866, + "value": "React", + "start": 2728, + "end": 2733, "loc": { "start": { - "line": 101, - "column": 19 + "line": 140, + "column": 7 }, "end": { - "line": 101, - "column": 20 + "line": 140, + "column": 12 } } }, { "type": { - "label": "jsxName", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -30254,131 +38779,151 @@ "binop": null, "updateContext": null }, - "value": "className", - "start": 1867, - "end": 1876, + "start": 2733, + "end": 2734, "loc": { "start": { - "line": 101, - "column": 21 + "line": 140, + "column": 12 }, "end": { - "line": 101, - "column": 30 + "line": 140, + "column": 13 } } }, { "type": { - "label": "=", + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Fragment", + "start": 2734, + "end": 2742, + "loc": { + "start": { + "line": 140, + "column": 13 + }, + "end": { + "line": 140, + "column": 21 + } + } + }, + { + "type": { + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 1876, - "end": 1877, + "start": 2742, + "end": 2743, "loc": { "start": { - "line": 101, - "column": 30 + "line": 140, + "column": 21 }, "end": { - "line": 101, - "column": 31 + "line": 140, + "column": 22 } } }, { "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": "App-logo", - "start": 1877, - "end": 1887, + "start": 2744, + "end": 2745, "loc": { "start": { - "line": 101, - "column": 31 + "line": 140, + "column": 23 }, "end": { - "line": 101, - "column": 41 + "line": 140, + "column": 24 } } }, { "type": { - "label": "jsxName", + "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": "alt", - "start": 1888, - "end": 1891, + "value": "key", + "start": 2754, + "end": 2757, "loc": { "start": { - "line": 101, - "column": 42 + "line": 141, + "column": 8 }, "end": { - "line": 101, - "column": 45 + "line": 141, + "column": 11 } } }, { "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": 1891, - "end": 1892, + "start": 2757, + "end": 2758, "loc": { "start": { - "line": 101, - "column": 45 + "line": 141, + "column": 11 }, "end": { - "line": 101, - "column": 46 + "line": 141, + "column": 12 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -30386,26 +38931,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "logo", - "start": 1892, - "end": 1898, + "value": "i", + "start": 2759, + "end": 2760, "loc": { "start": { - "line": 101, - "column": 46 + "line": 141, + "column": 13 }, "end": { - "line": 101, - "column": 52 + "line": 141, + "column": 14 } } }, { "type": { - "label": "/", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -30413,26 +38957,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 10, + "binop": null, "updateContext": null }, - "value": "/", - "start": 1899, - "end": 1900, + "start": 2760, + "end": 2761, "loc": { "start": { - "line": 101, - "column": 53 + "line": 141, + "column": 14 }, "end": { - "line": 101, - "column": 54 + "line": 141, + "column": 15 } } }, { "type": { - "label": "jsxTagEnd", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -30442,22 +38985,22 @@ "postfix": false, "binop": null }, - "start": 1900, - "end": 1901, + "start": 2769, + "end": 2770, "loc": { "start": { - "line": 101, - "column": 54 + "line": 142, + "column": 7 }, "end": { - "line": 101, - "column": 55 + "line": 142, + "column": 8 } } }, { "type": { - "label": "jsxText", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -30468,23 +39011,22 @@ "binop": null, "updateContext": null }, - "value": "\n\t\t\t\t\t", - "start": 1901, - "end": 1907, + "start": 2770, + "end": 2771, "loc": { "start": { - "line": 101, - "column": 55 + "line": 142, + "column": 8 }, "end": { - "line": 102, - "column": 5 + "line": 142, + "column": 9 } } }, { "type": { - "label": "jsxTagStart", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -30494,22 +39036,23 @@ "postfix": false, "binop": null }, - "start": 1907, - "end": 1908, + "value": "field", + "start": 2779, + "end": 2784, "loc": { "start": { - "line": 102, - "column": 5 + "line": 143, + "column": 7 }, "end": { - "line": 102, - "column": 6 + "line": 143, + "column": 12 } } }, { "type": { - "label": "jsxName", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -30517,27 +39060,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "h1", - "start": 1908, - "end": 1910, + "start": 2791, + "end": 2792, "loc": { "start": { - "line": 102, + "line": 144, "column": 6 }, "end": { - "line": 102, - "column": 8 + "line": 144, + "column": 7 } } }, { "type": { - "label": "jsxName", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -30547,77 +39088,72 @@ "binop": null, "updateContext": null }, - "value": "className", - "start": 1911, - "end": 1920, + "start": 2792, + "end": 2793, "loc": { "start": { - "line": 102, - "column": 9 + "line": 144, + "column": 7 }, "end": { - "line": 102, - "column": 18 + "line": 144, + "column": 8 } } }, { "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": 1920, - "end": 1921, + "start": 2799, + "end": 2800, "loc": { "start": { - "line": 102, - "column": 18 + "line": 145, + "column": 5 }, "end": { - "line": 102, - "column": 19 + "line": 145, + "column": 6 } } }, { "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": "App-title", - "start": 1921, - "end": 1932, + "start": 2800, + "end": 2801, "loc": { "start": { - "line": 102, - "column": 19 + "line": 145, + "column": 6 }, "end": { - "line": 102, - "column": 30 + "line": 145, + "column": 7 } } }, { "type": { - "label": "jsxTagEnd", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -30627,16 +39163,16 @@ "postfix": false, "binop": null }, - "start": 1932, - "end": 1933, + "start": 2801, + "end": 2802, "loc": { "start": { - "line": 102, - "column": 30 + "line": 145, + "column": 7 }, "end": { - "line": 102, - "column": 31 + "line": 145, + "column": 8 } } }, @@ -30653,17 +39189,17 @@ "binop": null, "updateContext": null }, - "value": "Welcome to React", - "start": 1933, - "end": 1949, + "value": "\n\t\t\t\t", + "start": 2802, + "end": 2807, "loc": { "start": { - "line": 102, - "column": 31 + "line": 145, + "column": 8 }, "end": { - "line": 102, - "column": 47 + "line": 146, + "column": 4 } } }, @@ -30679,16 +39215,16 @@ "postfix": false, "binop": null }, - "start": 1949, - "end": 1950, + "start": 2807, + "end": 2808, "loc": { "start": { - "line": 102, - "column": 47 + "line": 146, + "column": 4 }, "end": { - "line": 102, - "column": 48 + "line": 146, + "column": 5 } } }, @@ -30706,16 +39242,16 @@ "updateContext": null }, "value": "/", - "start": 1950, - "end": 1951, + "start": 2808, + "end": 2809, "loc": { "start": { - "line": 102, - "column": 48 + "line": 146, + "column": 5 }, "end": { - "line": 102, - "column": 49 + "line": 146, + "column": 6 } } }, @@ -30732,17 +39268,17 @@ "binop": null, "updateContext": null }, - "value": "h1", - "start": 1951, - "end": 1953, + "value": "div", + "start": 2809, + "end": 2812, "loc": { "start": { - "line": 102, - "column": 49 + "line": 146, + "column": 6 }, "end": { - "line": 102, - "column": 51 + "line": 146, + "column": 9 } } }, @@ -30758,16 +39294,16 @@ "postfix": false, "binop": null }, - "start": 1953, - "end": 1954, + "start": 2812, + "end": 2813, "loc": { "start": { - "line": 102, - "column": 51 + "line": 146, + "column": 9 }, "end": { - "line": 102, - "column": 52 + "line": 146, + "column": 10 } } }, @@ -30784,16 +39320,16 @@ "binop": null, "updateContext": null }, - "value": "\n\t\t\t\t", - "start": 1954, - "end": 1959, + "value": "\n\n\t\t\t\t", + "start": 2813, + "end": 2819, "loc": { "start": { - "line": 102, - "column": 52 + "line": 146, + "column": 10 }, "end": { - "line": 103, + "line": 148, "column": 4 } } @@ -30810,43 +39346,16 @@ "postfix": false, "binop": null }, - "start": 1959, - "end": 1960, + "start": 2819, + "end": 2820, "loc": { "start": { - "line": 103, + "line": 148, "column": 4 }, "end": { - "line": 103, - "column": 5 - } - } - }, - { - "type": { - "label": "/", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 10, - "updateContext": null - }, - "value": "/", - "start": 1960, - "end": 1961, - "loc": { - "start": { - "line": 103, + "line": 148, "column": 5 - }, - "end": { - "line": 103, - "column": 6 } } }, @@ -30863,17 +39372,17 @@ "binop": null, "updateContext": null }, - "value": "header", - "start": 1961, - "end": 1967, + "value": "div", + "start": 2820, + "end": 2823, "loc": { "start": { - "line": 103, - "column": 6 + "line": 148, + "column": 5 }, "end": { - "line": 103, - "column": 12 + "line": 148, + "column": 8 } } }, @@ -30889,16 +39398,16 @@ "postfix": false, "binop": null }, - "start": 1967, - "end": 1968, + "start": 2823, + "end": 2824, "loc": { "start": { - "line": 103, - "column": 12 + "line": 148, + "column": 8 }, "end": { - "line": 103, - "column": 13 + "line": 148, + "column": 9 } } }, @@ -30915,17 +39424,17 @@ "binop": null, "updateContext": null }, - "value": "\n\n\n\t\t\t\t", - "start": 1968, - "end": 1975, + "value": "\n\t\t\t\t\t", + "start": 2824, + "end": 2830, "loc": { "start": { - "line": 103, - "column": 13 + "line": 148, + "column": 9 }, "end": { - "line": 106, - "column": 4 + "line": 149, + "column": 5 } } }, @@ -30941,16 +39450,16 @@ "postfix": false, "binop": null }, - "start": 1975, - "end": 1976, + "start": 2830, + "end": 2831, "loc": { "start": { - "line": 106, - "column": 4 + "line": 149, + "column": 5 }, "end": { - "line": 106, - "column": 5 + "line": 149, + "column": 6 } } }, @@ -30967,16 +39476,16 @@ "binop": null, "updateContext": null }, - "value": "div", - "start": 1976, - "end": 1979, + "value": "h2", + "start": 2831, + "end": 2833, "loc": { "start": { - "line": 106, - "column": 5 + "line": 149, + "column": 6 }, "end": { - "line": 106, + "line": 149, "column": 8 } } @@ -30993,15 +39502,15 @@ "postfix": false, "binop": null }, - "start": 1979, - "end": 1980, + "start": 2833, + "end": 2834, "loc": { "start": { - "line": 106, + "line": 149, "column": 8 }, "end": { - "line": 106, + "line": 149, "column": 9 } } @@ -31019,17 +39528,17 @@ "binop": null, "updateContext": null }, - "value": "\n\t\t\t\t\t", - "start": 1980, - "end": 1986, + "value": "Magic Select", + "start": 2834, + "end": 2846, "loc": { "start": { - "line": 106, + "line": 149, "column": 9 }, "end": { - "line": 107, - "column": 5 + "line": 149, + "column": 21 } } }, @@ -31045,16 +39554,43 @@ "postfix": false, "binop": null }, - "start": 1986, - "end": 1987, + "start": 2846, + "end": 2847, "loc": { "start": { - "line": 107, - "column": 5 + "line": 149, + "column": 21 }, "end": { - "line": 107, - "column": 6 + "line": 149, + "column": 22 + } + } + }, + { + "type": { + "label": "/", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "/", + "start": 2847, + "end": 2848, + "loc": { + "start": { + "line": 149, + "column": 22 + }, + "end": { + "line": 149, + "column": 23 } } }, @@ -31072,16 +39608,16 @@ "updateContext": null }, "value": "h2", - "start": 1987, - "end": 1989, + "start": 2848, + "end": 2850, "loc": { "start": { - "line": 107, - "column": 6 + "line": 149, + "column": 23 }, "end": { - "line": 107, - "column": 8 + "line": 149, + "column": 25 } } }, @@ -31097,16 +39633,16 @@ "postfix": false, "binop": null }, - "start": 1989, - "end": 1990, + "start": 2850, + "end": 2851, "loc": { "start": { - "line": 107, - "column": 8 + "line": 149, + "column": 25 }, "end": { - "line": 107, - "column": 9 + "line": 149, + "column": 26 } } }, @@ -31123,17 +39659,17 @@ "binop": null, "updateContext": null }, - "value": "Created With RenderGroup Component", - "start": 1990, - "end": 2024, + "value": "\n\t\t\t\t\t", + "start": 2851, + "end": 2857, "loc": { "start": { - "line": 107, - "column": 9 + "line": 149, + "column": 26 }, "end": { - "line": 107, - "column": 43 + "line": 150, + "column": 5 } } }, @@ -31149,43 +39685,43 @@ "postfix": false, "binop": null }, - "start": 2024, - "end": 2025, + "start": 2857, + "end": 2858, "loc": { "start": { - "line": 107, - "column": 43 + "line": 150, + "column": 5 }, "end": { - "line": 107, - "column": 44 + "line": 150, + "column": 6 } } }, { "type": { - "label": "/", - "beforeExpr": true, + "label": "jsxName", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 10, + "binop": null, "updateContext": null }, - "value": "/", - "start": 2025, - "end": 2026, + "value": "MagicFieldGroup", + "start": 2858, + "end": 2873, "loc": { "start": { - "line": 107, - "column": 44 + "line": 150, + "column": 6 }, "end": { - "line": 107, - "column": 45 + "line": 150, + "column": 21 } } }, @@ -31202,75 +39738,75 @@ "binop": null, "updateContext": null }, - "value": "h2", - "start": 2026, - "end": 2028, + "value": "id", + "start": 2880, + "end": 2882, "loc": { "start": { - "line": 107, - "column": 45 + "line": 151, + "column": 6 }, "end": { - "line": 107, - "column": 47 + "line": 151, + "column": 8 } } }, { "type": { - "label": "jsxTagEnd", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2028, - "end": 2029, + "value": "=", + "start": 2882, + "end": 2883, "loc": { "start": { - "line": 107, - "column": 47 + "line": 151, + "column": 8 }, "end": { - "line": 107, - "column": 48 + "line": 151, + "column": 9 } } }, { "type": { - "label": "jsxText", + "label": "{", "beforeExpr": true, - "startsExpr": 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": 2029, - "end": 2035, + "start": 2883, + "end": 2884, "loc": { "start": { - "line": 107, - "column": 48 + "line": 151, + "column": 9 }, "end": { - "line": 108, - "column": 5 + "line": 151, + "column": 10 } } }, { "type": { - "label": "jsxTagStart", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -31278,24 +39814,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2035, - "end": 2036, + "value": "magic-5", + "start": 2884, + "end": 2893, "loc": { "start": { - "line": 108, - "column": 5 + "line": 151, + "column": 10 }, "end": { - "line": 108, - "column": 6 + "line": 151, + "column": 19 } } }, { "type": { - "label": "jsxName", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -31303,20 +39841,18 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "RenderGroup", - "start": 2036, - "end": 2047, + "start": 2893, + "end": 2894, "loc": { "start": { - "line": 108, - "column": 6 + "line": 151, + "column": 19 }, "end": { - "line": 108, - "column": 17 + "line": 151, + "column": 20 } } }, @@ -31333,17 +39869,17 @@ "binop": null, "updateContext": null }, - "value": "configFields", - "start": 2054, - "end": 2066, + "value": "fieldClassName", + "start": 2901, + "end": 2915, "loc": { "start": { - "line": 109, + "line": 152, "column": 6 }, "end": { - "line": 109, - "column": 18 + "line": 152, + "column": 20 } } }, @@ -31361,16 +39897,16 @@ "updateContext": null }, "value": "=", - "start": 2066, - "end": 2067, + "start": 2915, + "end": 2916, "loc": { "start": { - "line": 109, - "column": 18 + "line": 152, + "column": 20 }, "end": { - "line": 109, - "column": 19 + "line": 152, + "column": 21 } } }, @@ -31386,22 +39922,22 @@ "postfix": false, "binop": null }, - "start": 2067, - "end": 2068, + "start": 2916, + "end": 2917, "loc": { "start": { - "line": 109, - "column": 19 + "line": 152, + "column": 21 }, "end": { - "line": 109, - "column": 20 + "line": 152, + "column": 22 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -31409,19 +39945,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "configFields", - "start": 2068, - "end": 2080, + "value": "magic", + "start": 2917, + "end": 2924, "loc": { "start": { - "line": 109, - "column": 20 + "line": 152, + "column": 22 }, "end": { - "line": 109, - "column": 32 + "line": 152, + "column": 29 } } }, @@ -31437,16 +39974,16 @@ "postfix": false, "binop": null }, - "start": 2080, - "end": 2081, + "start": 2924, + "end": 2925, "loc": { "start": { - "line": 109, - "column": 32 + "line": 152, + "column": 29 }, "end": { - "line": 109, - "column": 33 + "line": 152, + "column": 30 } } }, @@ -31463,17 +40000,17 @@ "binop": null, "updateContext": null }, - "value": "onBlur", - "start": 2088, - "end": 2094, + "value": "onValueChange", + "start": 2932, + "end": 2945, "loc": { "start": { - "line": 110, + "line": 153, "column": 6 }, "end": { - "line": 110, - "column": 12 + "line": 153, + "column": 19 } } }, @@ -31491,16 +40028,16 @@ "updateContext": null }, "value": "=", - "start": 2094, - "end": 2095, + "start": 2945, + "end": 2946, "loc": { "start": { - "line": 110, - "column": 12 + "line": 153, + "column": 19 }, "end": { - "line": 110, - "column": 13 + "line": 153, + "column": 20 } } }, @@ -31516,16 +40053,16 @@ "postfix": false, "binop": null }, - "start": 2095, - "end": 2096, + "start": 2946, + "end": 2947, "loc": { "start": { - "line": 110, - "column": 13 + "line": 153, + "column": 20 }, "end": { - "line": 110, - "column": 14 + "line": 153, + "column": 21 } } }, @@ -31541,16 +40078,16 @@ "postfix": false, "binop": null }, - "start": 2096, - "end": 2097, + "start": 2947, + "end": 2948, "loc": { "start": { - "line": 110, - "column": 14 + "line": 153, + "column": 21 }, "end": { - "line": 110, - "column": 15 + "line": 153, + "column": 22 } } }, @@ -31566,17 +40103,17 @@ "postfix": false, "binop": null }, - "value": "fI", - "start": 2097, - "end": 2099, + "value": "newValue", + "start": 2948, + "end": 2956, "loc": { "start": { - "line": 110, - "column": 15 + "line": 153, + "column": 22 }, "end": { - "line": 110, - "column": 17 + "line": 153, + "column": 30 } } }, @@ -31592,16 +40129,16 @@ "postfix": false, "binop": null }, - "start": 2099, - "end": 2100, + "start": 2956, + "end": 2957, "loc": { "start": { - "line": 110, - "column": 17 + "line": 153, + "column": 30 }, "end": { - "line": 110, - "column": 18 + "line": 153, + "column": 31 } } }, @@ -31618,16 +40155,16 @@ "binop": null, "updateContext": null }, - "start": 2101, - "end": 2103, + "start": 2958, + "end": 2960, "loc": { "start": { - "line": 110, - "column": 19 + "line": 153, + "column": 32 }, "end": { - "line": 110, - "column": 21 + "line": 153, + "column": 34 } } }, @@ -31643,16 +40180,16 @@ "postfix": false, "binop": null }, - "start": 2104, - "end": 2105, + "start": 2961, + "end": 2962, "loc": { "start": { - "line": 110, - "column": 22 + "line": 153, + "column": 35 }, "end": { - "line": 110, - "column": 23 + "line": 153, + "column": 36 } } }, @@ -31668,43 +40205,44 @@ "postfix": false, "binop": null }, - "value": "console", - "start": 2105, - "end": 2112, + "value": "magicFieldValue", + "start": 2970, + "end": 2985, "loc": { "start": { - "line": 110, - "column": 23 + "line": 154, + "column": 7 }, "end": { - "line": 110, - "column": 30 + "line": 154, + "column": 22 } } }, { "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": 2112, - "end": 2113, + "value": "=", + "start": 2986, + "end": 2987, "loc": { "start": { - "line": 110, - "column": 30 + "line": 154, + "column": 23 }, "end": { - "line": 110, - "column": 31 + "line": 154, + "column": 24 } } }, @@ -31720,50 +40258,51 @@ "postfix": false, "binop": null }, - "value": "log", - "start": 2113, - "end": 2116, + "value": "newValue", + "start": 2988, + "end": 2996, "loc": { "start": { - "line": 110, - "column": 31 + "line": 154, + "column": 25 }, "end": { - "line": 110, - "column": 34 + "line": 154, + "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": 2116, - "end": 2117, + "start": 2996, + "end": 2997, "loc": { "start": { - "line": 110, - "column": 34 + "line": 154, + "column": 33 }, "end": { - "line": 110, - "column": 35 + "line": 154, + "column": 34 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -31771,23 +40310,22 @@ "postfix": false, "binop": null }, - "value": "fI", - "start": 2117, - "end": 2119, + "start": 3004, + "end": 3005, "loc": { "start": { - "line": 110, - "column": 35 + "line": 155, + "column": 6 }, "end": { - "line": 110, - "column": 37 + "line": 155, + "column": 7 } } }, { "type": { - "label": ")", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -31797,22 +40335,22 @@ "postfix": false, "binop": null }, - "start": 2119, - "end": 2120, + "start": 3006, + "end": 3007, "loc": { "start": { - "line": 110, - "column": 37 + "line": 155, + "column": 8 }, "end": { - "line": 110, - "column": 38 + "line": 155, + "column": 9 } } }, { "type": { - "label": "}", + "label": "jsxName", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -31820,128 +40358,129 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2120, - "end": 2121, + "value": "fieldsList", + "start": 3014, + "end": 3024, "loc": { "start": { - "line": 110, - "column": 38 + "line": 156, + "column": 6 }, "end": { - "line": 110, - "column": 39 + "line": 156, + "column": 16 } } }, { "type": { - "label": "}", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2121, - "end": 2122, + "value": "=", + "start": 3024, + "end": 3025, "loc": { "start": { - "line": 110, - "column": 39 + "line": 156, + "column": 16 }, "end": { - "line": 110, - "column": 40 + "line": 156, + "column": 17 } } }, { "type": { - "label": "/", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 10, - "updateContext": null + "binop": null }, - "value": "/", - "start": 2128, - "end": 2129, + "start": 3025, + "end": 3026, "loc": { "start": { - "line": 111, - "column": 5 + "line": 156, + "column": 17 }, "end": { - "line": 111, - "column": 6 + "line": 156, + "column": 18 } } }, { "type": { - "label": "jsxTagEnd", - "beforeExpr": false, - "startsExpr": false, + "label": "[", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2129, - "end": 2130, + "start": 3026, + "end": 3027, "loc": { "start": { - "line": 111, - "column": 6 + "line": 156, + "column": 18 }, "end": { - "line": 111, - "column": 7 + "line": 156, + "column": 19 } } }, { "type": { - "label": "jsxText", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "\n\t\t\t\t", - "start": 2130, - "end": 2135, + "binop": null + }, + "start": 3035, + "end": 3036, "loc": { "start": { - "line": 111, + "line": 157, "column": 7 }, "end": { - "line": 112, - "column": 4 + "line": 157, + "column": 8 } } }, { "type": { - "label": "jsxTagStart", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -31951,22 +40490,23 @@ "postfix": false, "binop": null }, - "start": 2135, - "end": 2136, + "value": "label", + "start": 3045, + "end": 3050, "loc": { "start": { - "line": 112, - "column": 4 + "line": 158, + "column": 8 }, "end": { - "line": 112, - "column": 5 + "line": 158, + "column": 13 } } }, { "type": { - "label": "/", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -31974,27 +40514,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 10, + "binop": null, "updateContext": null }, - "value": "/", - "start": 2136, - "end": 2137, + "start": 3050, + "end": 3051, "loc": { "start": { - "line": 112, - "column": 5 + "line": 158, + "column": 13 }, "end": { - "line": 112, - "column": 6 + "line": 158, + "column": 14 } } }, { "type": { - "label": "jsxName", + "label": "string", "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Field One", + "start": 3052, + "end": 3063, + "loc": { + "start": { + "line": 158, + "column": 15 + }, + "end": { + "line": 158, + "column": 26 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -32004,25 +40570,24 @@ "binop": null, "updateContext": null }, - "value": "div", - "start": 2137, - "end": 2140, + "start": 3063, + "end": 3064, "loc": { "start": { - "line": 112, - "column": 6 + "line": 158, + "column": 26 }, "end": { - "line": 112, - "column": 9 + "line": 158, + "column": 27 } } }, { "type": { - "label": "jsxTagEnd", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -32030,22 +40595,23 @@ "postfix": false, "binop": null }, - "start": 2140, - "end": 2141, + "value": "value", + "start": 3073, + "end": 3078, "loc": { "start": { - "line": 112, - "column": 9 + "line": 159, + "column": 8 }, "end": { - "line": 112, - "column": 10 + "line": 159, + "column": 13 } } }, { "type": { - "label": "jsxText", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -32056,23 +40622,22 @@ "binop": null, "updateContext": null }, - "value": "\n\n\t\t\t\t", - "start": 2141, - "end": 2147, + "start": 3078, + "end": 3079, "loc": { "start": { - "line": 112, - "column": 10 + "line": 159, + "column": 13 }, "end": { - "line": 114, - "column": 4 + "line": 159, + "column": 14 } } }, { "type": { - "label": "jsxTagStart", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -32080,24 +40645,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2147, - "end": 2148, + "value": "%fldOne%", + "start": 3080, + "end": 3090, "loc": { "start": { - "line": 114, - "column": 4 + "line": 159, + "column": 15 }, "end": { - "line": 114, - "column": 5 + "line": 159, + "column": 25 } } }, { "type": { - "label": "jsxName", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -32105,78 +40672,75 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "div", - "start": 2148, - "end": 2151, + "start": 3098, + "end": 3099, "loc": { "start": { - "line": 114, - "column": 5 + "line": 160, + "column": 7 }, "end": { - "line": 114, + "line": 160, "column": 8 } } }, { "type": { - "label": "jsxTagEnd", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 2151, - "end": 2152, + "start": 3099, + "end": 3100, "loc": { "start": { - "line": 114, + "line": 160, "column": 8 }, "end": { - "line": 114, + "line": 160, "column": 9 } } }, { "type": { - "label": "jsxText", + "label": "{", "beforeExpr": true, - "startsExpr": 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": 2152, - "end": 2158, + "start": 3108, + "end": 3109, "loc": { "start": { - "line": 114, - "column": 9 + "line": 161, + "column": 7 }, "end": { - "line": 115, - "column": 5 + "line": 161, + "column": 8 } } }, { "type": { - "label": "jsxTagStart", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -32186,23 +40750,24 @@ "postfix": false, "binop": null }, - "start": 2158, - "end": 2159, + "value": "label", + "start": 3118, + "end": 3123, "loc": { "start": { - "line": 115, - "column": 5 + "line": 162, + "column": 8 }, "end": { - "line": 115, - "column": 6 + "line": 162, + "column": 13 } } }, { "type": { - "label": "jsxName", - "beforeExpr": false, + "label": ":", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -32212,48 +40777,49 @@ "binop": null, "updateContext": null }, - "value": "h2", - "start": 2159, - "end": 2161, + "start": 3123, + "end": 3124, "loc": { "start": { - "line": 115, - "column": 6 + "line": 162, + "column": 13 }, "end": { - "line": 115, - "column": 8 + "line": 162, + "column": 14 } } }, { "type": { - "label": "jsxTagEnd", + "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": 2161, - "end": 2162, + "value": "Field Two", + "start": 3125, + "end": 3136, "loc": { "start": { - "line": 115, - "column": 8 + "line": 162, + "column": 15 }, "end": { - "line": 115, - "column": 9 + "line": 162, + "column": 26 } } }, { "type": { - "label": "jsxText", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -32264,23 +40830,22 @@ "binop": null, "updateContext": null }, - "value": "Created With Factory", - "start": 2162, - "end": 2182, + "start": 3136, + "end": 3137, "loc": { "start": { - "line": 115, - "column": 9 + "line": 162, + "column": 26 }, "end": { - "line": 115, - "column": 29 + "line": 162, + "column": 27 } } }, { "type": { - "label": "jsxTagStart", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -32290,22 +40855,23 @@ "postfix": false, "binop": null }, - "start": 2182, - "end": 2183, + "value": "value", + "start": 3146, + "end": 3151, "loc": { "start": { - "line": 115, - "column": 29 + "line": 163, + "column": 8 }, "end": { - "line": 115, - "column": 30 + "line": 163, + "column": 13 } } }, { "type": { - "label": "/", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -32313,28 +40879,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": 10, + "binop": null, "updateContext": null }, - "value": "/", - "start": 2183, - "end": 2184, + "start": 3151, + "end": 3152, "loc": { "start": { - "line": 115, - "column": 30 + "line": 163, + "column": 13 }, "end": { - "line": 115, - "column": 31 + "line": 163, + "column": 14 } } }, { "type": { - "label": "jsxName", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -32343,23 +40908,23 @@ "binop": null, "updateContext": null }, - "value": "h2", - "start": 2184, - "end": 2186, + "value": "%fldTwo%", + "start": 3153, + "end": 3163, "loc": { "start": { - "line": 115, - "column": 31 + "line": 163, + "column": 15 }, "end": { - "line": 115, - "column": 33 + "line": 163, + "column": 25 } } }, { "type": { - "label": "jsxTagEnd", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -32369,22 +40934,22 @@ "postfix": false, "binop": null }, - "start": 2186, - "end": 2187, + "start": 3171, + "end": 3172, "loc": { "start": { - "line": 115, - "column": 33 + "line": 164, + "column": 7 }, "end": { - "line": 115, - "column": 34 + "line": 164, + "column": 8 } } }, { "type": { - "label": "jsxText", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -32395,17 +40960,16 @@ "binop": null, "updateContext": null }, - "value": "\n\t\t\t\t\t", - "start": 2187, - "end": 2193, + "start": 3172, + "end": 3173, "loc": { "start": { - "line": 115, - "column": 34 + "line": 164, + "column": 8 }, "end": { - "line": 116, - "column": 5 + "line": 164, + "column": 9 } } }, @@ -32421,16 +40985,16 @@ "postfix": false, "binop": null }, - "start": 2193, - "end": 2194, + "start": 3181, + "end": 3182, "loc": { "start": { - "line": 116, - "column": 5 + "line": 165, + "column": 7 }, "end": { - "line": 116, - "column": 6 + "line": 165, + "column": 8 } } }, @@ -32446,24 +41010,24 @@ "postfix": false, "binop": null }, - "value": "Array", - "start": 2194, - "end": 2199, + "value": "label", + "start": 3191, + "end": 3196, "loc": { "start": { - "line": 116, - "column": 6 + "line": 166, + "column": 8 }, "end": { - "line": 116, - "column": 11 + "line": 166, + "column": 13 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ":", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -32473,22 +41037,22 @@ "binop": null, "updateContext": null }, - "start": 2199, - "end": 2200, + "start": 3196, + "end": 3197, "loc": { "start": { - "line": 116, - "column": 11 + "line": 166, + "column": 13 }, "end": { - "line": 116, - "column": 12 + "line": 166, + "column": 14 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -32496,44 +41060,46 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "from", - "start": 2200, - "end": 2204, + "value": "Field Three", + "start": 3198, + "end": 3211, "loc": { "start": { - "line": 116, - "column": 12 + "line": 166, + "column": 15 }, "end": { - "line": 116, - "column": 16 + "line": 166, + "column": 28 } } }, { "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": 2204, - "end": 2205, + "start": 3211, + "end": 3212, "loc": { "start": { - "line": 116, - "column": 16 + "line": 166, + "column": 28 }, "end": { - "line": 116, - "column": 17 + "line": 166, + "column": 29 } } }, @@ -32549,50 +41115,51 @@ "postfix": false, "binop": null }, - "value": "configFieldEls", - "start": 2205, - "end": 2219, + "value": "value", + "start": 3221, + "end": 3226, "loc": { "start": { - "line": 116, - "column": 17 + "line": 167, + "column": 8 }, "end": { - "line": 116, - "column": 31 + "line": 167, + "column": 13 } } }, { "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": 2219, - "end": 2220, + "start": 3226, + "end": 3227, "loc": { "start": { - "line": 116, - "column": 31 + "line": 167, + "column": 13 }, "end": { - "line": 116, - "column": 32 + "line": 167, + "column": 14 } } }, { "type": { - "label": ".", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -32601,24 +41168,25 @@ "binop": null, "updateContext": null }, - "start": 2220, - "end": 2221, + "value": "%fldThree%", + "start": 3228, + "end": 3240, "loc": { "start": { - "line": 116, - "column": 32 + "line": 167, + "column": 15 }, "end": { - "line": 116, - "column": 33 + "line": 167, + "column": 27 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -32626,75 +41194,76 @@ "postfix": false, "binop": null }, - "value": "map", - "start": 2221, - "end": 2224, + "start": 3248, + "end": 3249, "loc": { "start": { - "line": 116, - "column": 33 + "line": 168, + "column": 7 }, "end": { - "line": 116, - "column": 36 + "line": 168, + "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": 2224, - "end": 2225, + "start": 3249, + "end": 3250, "loc": { "start": { - "line": 116, - "column": 36 + "line": 168, + "column": 8 }, "end": { - "line": 116, - "column": 37 + "line": 168, + "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": 2225, - "end": 2226, + "start": 3257, + "end": 3258, "loc": { "start": { - "line": 116, - "column": 37 + "line": 169, + "column": 6 }, "end": { - "line": 116, - "column": 38 + "line": 169, + "column": 7 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -32702,24 +41271,23 @@ "postfix": false, "binop": null }, - "value": "field", - "start": 2226, - "end": 2231, + "start": 3258, + "end": 3259, "loc": { "start": { - "line": 116, - "column": 38 + "line": 169, + "column": 7 }, "end": { - "line": 116, - "column": 43 + "line": 169, + "column": 8 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "jsxName", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -32729,50 +41297,52 @@ "binop": null, "updateContext": null }, - "start": 2231, - "end": 2232, + "value": "systemTagsList", + "start": 3266, + "end": 3280, "loc": { "start": { - "line": 116, - "column": 43 + "line": 170, + "column": 6 }, "end": { - "line": 116, - "column": 44 + "line": 170, + "column": 20 } } }, { "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": "i", - "start": 2232, - "end": 2233, + "value": "=", + "start": 3280, + "end": 3281, "loc": { "start": { - "line": 116, - "column": 44 + "line": 170, + "column": 20 }, "end": { - "line": 116, - "column": 45 + "line": 170, + "column": 21 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -32780,24 +41350,24 @@ "postfix": false, "binop": null }, - "start": 2233, - "end": 2234, + "start": 3281, + "end": 3282, "loc": { "start": { - "line": 116, - "column": 45 + "line": 170, + "column": 21 }, "end": { - "line": 116, - "column": 46 + "line": 170, + "column": 22 } } }, { "type": { - "label": "=>", + "label": "[", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -32806,16 +41376,16 @@ "binop": null, "updateContext": null }, - "start": 2235, - "end": 2237, + "start": 3282, + "end": 3283, "loc": { "start": { - "line": 116, - "column": 47 + "line": 170, + "column": 22 }, "end": { - "line": 116, - "column": 49 + "line": 170, + "column": 23 } } }, @@ -32831,78 +41401,76 @@ "postfix": false, "binop": null }, - "start": 2238, - "end": 2239, + "start": 3291, + "end": 3292, "loc": { "start": { - "line": 116, - "column": 50 + "line": 171, + "column": 7 }, "end": { - "line": 116, - "column": 51 + "line": 171, + "column": 8 } } }, { "type": { - "label": "return", - "keyword": "return", - "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": "return", - "start": 2246, - "end": 2252, + "value": "label", + "start": 3301, + "end": 3306, "loc": { "start": { - "line": 117, - "column": 6 + "line": 172, + "column": 8 }, "end": { - "line": 117, - "column": 12 + "line": 172, + "column": 13 } } }, { "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": "React", - "start": 2253, - "end": 2258, + "start": 3306, + "end": 3307, "loc": { "start": { - "line": 117, + "line": 172, "column": 13 }, "end": { - "line": 117, - "column": 18 + "line": 172, + "column": 14 } } }, { "type": { - "label": ".", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -32911,49 +41479,50 @@ "binop": null, "updateContext": null }, - "start": 2258, - "end": 2259, + "value": "User First Name", + "start": 3308, + "end": 3325, "loc": { "start": { - "line": 117, - "column": 18 + "line": 172, + "column": 15 }, "end": { - "line": 117, - "column": 19 + "line": 172, + "column": 32 } } }, { "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": "createElement", - "start": 2259, - "end": 2272, + "start": 3325, + "end": 3326, "loc": { "start": { - "line": 117, - "column": 19 + "line": 172, + "column": 32 }, "end": { - "line": 117, - "column": 32 + "line": 172, + "column": 33 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -32962,50 +41531,51 @@ "postfix": false, "binop": null }, - "start": 2272, - "end": 2273, + "value": "value", + "start": 3335, + "end": 3340, "loc": { "start": { - "line": 117, - "column": 32 + "line": 173, + "column": 8 }, "end": { - "line": 117, - "column": 33 + "line": 173, + "column": 13 } } }, { "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": "React", - "start": 2281, - "end": 2286, + "start": 3340, + "end": 3341, "loc": { "start": { - "line": 118, - "column": 7 + "line": 173, + "column": 13 }, "end": { - "line": 118, - "column": 12 + "line": 173, + "column": 14 } } }, { "type": { - "label": ".", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -33014,24 +41584,25 @@ "binop": null, "updateContext": null }, - "start": 2286, - "end": 2287, + "value": "{user:first_name}", + "start": 3342, + "end": 3361, "loc": { "start": { - "line": 118, - "column": 12 + "line": 173, + "column": 15 }, "end": { - "line": 118, - "column": 13 + "line": 173, + "column": 34 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -33039,24 +41610,23 @@ "postfix": false, "binop": null }, - "value": "Fragment", - "start": 2287, - "end": 2295, + "start": 3369, + "end": 3370, "loc": { "start": { - "line": 118, - "column": 13 + "line": 174, + "column": 7 }, "end": { - "line": 118, - "column": 21 + "line": 174, + "column": 8 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "]", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -33066,24 +41636,24 @@ "binop": null, "updateContext": null }, - "start": 2295, - "end": 2296, + "start": 3377, + "end": 3378, "loc": { "start": { - "line": 118, - "column": 21 + "line": 175, + "column": 6 }, "end": { - "line": 118, - "column": 22 + "line": 175, + "column": 7 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": "}", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -33091,75 +41661,77 @@ "postfix": false, "binop": null }, - "start": 2297, - "end": 2298, + "start": 3378, + "end": 3379, "loc": { "start": { - "line": 118, - "column": 23 + "line": 175, + "column": 7 }, "end": { - "line": 118, - "column": 24 + "line": 175, + "column": 8 } } }, { "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": "key", - "start": 2307, - "end": 2310, + "value": "isOpen", + "start": 3386, + "end": 3392, "loc": { "start": { - "line": 119, - "column": 8 + "line": 176, + "column": 6 }, "end": { - "line": 119, - "column": 11 + "line": 176, + "column": 12 } } }, { "type": { - "label": ":", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 2310, - "end": 2311, + "value": "=", + "start": 3392, + "end": 3393, "loc": { "start": { - "line": 119, - "column": 11 + "line": 176, + "column": 12 }, "end": { - "line": 119, - "column": 12 + "line": 176, + "column": 13 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -33168,25 +41740,25 @@ "postfix": false, "binop": null }, - "value": "i", - "start": 2312, - "end": 2313, + "start": 3393, + "end": 3394, "loc": { "start": { - "line": 119, + "line": 176, "column": 13 }, "end": { - "line": 119, + "line": 176, "column": 14 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "true", + "keyword": "true", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -33195,16 +41767,17 @@ "binop": null, "updateContext": null }, - "start": 2313, - "end": 2314, + "value": "true", + "start": 3394, + "end": 3398, "loc": { "start": { - "line": 119, + "line": 176, "column": 14 }, "end": { - "line": 119, - "column": 15 + "line": 176, + "column": 18 } } }, @@ -33220,23 +41793,23 @@ "postfix": false, "binop": null }, - "start": 2322, - "end": 2323, + "start": 3398, + "end": 3399, "loc": { "start": { - "line": 120, - "column": 7 + "line": 176, + "column": 18 }, "end": { - "line": 120, - "column": 8 + "line": 176, + "column": 19 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "jsxName", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -33246,50 +41819,52 @@ "binop": null, "updateContext": null }, - "start": 2323, - "end": 2324, + "value": "value", + "start": 3406, + "end": 3411, "loc": { "start": { - "line": 120, - "column": 8 + "line": 177, + "column": 6 }, "end": { - "line": 120, - "column": 9 + "line": 177, + "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": "field", - "start": 2332, - "end": 2337, + "value": "=", + "start": 3411, + "end": 3412, "loc": { "start": { - "line": 121, - "column": 7 + "line": 177, + "column": 11 }, "end": { - "line": 121, + "line": 177, "column": 12 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -33297,42 +41872,42 @@ "postfix": false, "binop": null }, - "start": 2344, - "end": 2345, + "start": 3412, + "end": 3413, "loc": { "start": { - "line": 122, - "column": 6 + "line": 177, + "column": 12 }, "end": { - "line": 122, - "column": 7 + "line": 177, + "column": 13 } } }, { "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": 2345, - "end": 2346, + "value": "magicFieldValue", + "start": 3413, + "end": 3428, "loc": { "start": { - "line": 122, - "column": 7 + "line": 177, + "column": 13 }, "end": { - "line": 122, - "column": 8 + "line": 177, + "column": 28 } } }, @@ -33348,47 +41923,49 @@ "postfix": false, "binop": null }, - "start": 2352, - "end": 2353, + "start": 3428, + "end": 3429, "loc": { "start": { - "line": 123, - "column": 5 + "line": 177, + "column": 28 }, "end": { - "line": 123, - "column": 6 + "line": 177, + "column": 29 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": "/", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 10, + "updateContext": null }, - "start": 2353, - "end": 2354, + "value": "/", + "start": 3435, + "end": 3436, "loc": { "start": { - "line": 123, - "column": 6 + "line": 178, + "column": 5 }, "end": { - "line": 123, - "column": 7 + "line": 178, + "column": 6 } } }, { "type": { - "label": "}", + "label": "jsxTagEnd", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -33398,16 +41975,16 @@ "postfix": false, "binop": null }, - "start": 2354, - "end": 2355, + "start": 3436, + "end": 3437, "loc": { "start": { - "line": 123, - "column": 7 + "line": 178, + "column": 6 }, "end": { - "line": 123, - "column": 8 + "line": 178, + "column": 7 } } }, @@ -33425,15 +42002,15 @@ "updateContext": null }, "value": "\n\t\t\t\t", - "start": 2355, - "end": 2360, + "start": 3437, + "end": 3442, "loc": { "start": { - "line": 123, - "column": 8 + "line": 178, + "column": 7 }, "end": { - "line": 124, + "line": 179, "column": 4 } } @@ -33450,15 +42027,15 @@ "postfix": false, "binop": null }, - "start": 2360, - "end": 2361, + "start": 3442, + "end": 3443, "loc": { "start": { - "line": 124, + "line": 179, "column": 4 }, "end": { - "line": 124, + "line": 179, "column": 5 } } @@ -33477,15 +42054,15 @@ "updateContext": null }, "value": "/", - "start": 2361, - "end": 2362, + "start": 3443, + "end": 3444, "loc": { "start": { - "line": 124, + "line": 179, "column": 5 }, "end": { - "line": 124, + "line": 179, "column": 6 } } @@ -33504,15 +42081,15 @@ "updateContext": null }, "value": "div", - "start": 2362, - "end": 2365, + "start": 3444, + "end": 3447, "loc": { "start": { - "line": 124, + "line": 179, "column": 6 }, "end": { - "line": 124, + "line": 179, "column": 9 } } @@ -33529,15 +42106,15 @@ "postfix": false, "binop": null }, - "start": 2365, - "end": 2366, + "start": 3447, + "end": 3448, "loc": { "start": { - "line": 124, + "line": 179, "column": 9 }, "end": { - "line": 124, + "line": 179, "column": 10 } } @@ -33556,15 +42133,15 @@ "updateContext": null }, "value": "\n\n\t\t\t\t", - "start": 2366, - "end": 2372, + "start": 3448, + "end": 3454, "loc": { "start": { - "line": 124, + "line": 179, "column": 10 }, "end": { - "line": 126, + "line": 181, "column": 4 } } @@ -33581,15 +42158,15 @@ "postfix": false, "binop": null }, - "start": 2372, - "end": 2373, + "start": 3454, + "end": 3455, "loc": { "start": { - "line": 126, + "line": 181, "column": 4 }, "end": { - "line": 126, + "line": 181, "column": 5 } } @@ -33608,15 +42185,15 @@ "updateContext": null }, "value": "div", - "start": 2373, - "end": 2376, + "start": 3455, + "end": 3458, "loc": { "start": { - "line": 126, + "line": 181, "column": 5 }, "end": { - "line": 126, + "line": 181, "column": 8 } } @@ -33633,15 +42210,15 @@ "postfix": false, "binop": null }, - "start": 2376, - "end": 2377, + "start": 3458, + "end": 3459, "loc": { "start": { - "line": 126, + "line": 181, "column": 8 }, "end": { - "line": 126, + "line": 181, "column": 9 } } @@ -33660,15 +42237,15 @@ "updateContext": null }, "value": "\n\t\t\t\t\t", - "start": 2377, - "end": 2383, + "start": 3459, + "end": 3465, "loc": { "start": { - "line": 126, + "line": 181, "column": 9 }, "end": { - "line": 127, + "line": 182, "column": 5 } } @@ -33685,15 +42262,15 @@ "postfix": false, "binop": null }, - "start": 2383, - "end": 2384, + "start": 3465, + "end": 3466, "loc": { "start": { - "line": 127, + "line": 182, "column": 5 }, "end": { - "line": 127, + "line": 182, "column": 6 } } @@ -33712,15 +42289,15 @@ "updateContext": null }, "value": "h2", - "start": 2384, - "end": 2386, + "start": 3466, + "end": 3468, "loc": { "start": { - "line": 127, + "line": 182, "column": 6 }, "end": { - "line": 127, + "line": 182, "column": 8 } } @@ -33737,15 +42314,15 @@ "postfix": false, "binop": null }, - "start": 2386, - "end": 2387, + "start": 3468, + "end": 3469, "loc": { "start": { - "line": 127, + "line": 182, "column": 8 }, "end": { - "line": 127, + "line": 182, "column": 9 } } @@ -33764,15 +42341,15 @@ "updateContext": null }, "value": "Inputs", - "start": 2387, - "end": 2393, + "start": 3469, + "end": 3475, "loc": { "start": { - "line": 127, + "line": 182, "column": 9 }, "end": { - "line": 127, + "line": 182, "column": 15 } } @@ -33789,15 +42366,15 @@ "postfix": false, "binop": null }, - "start": 2393, - "end": 2394, + "start": 3475, + "end": 3476, "loc": { "start": { - "line": 127, + "line": 182, "column": 15 }, "end": { - "line": 127, + "line": 182, "column": 16 } } @@ -33816,15 +42393,15 @@ "updateContext": null }, "value": "/", - "start": 2394, - "end": 2395, + "start": 3476, + "end": 3477, "loc": { "start": { - "line": 127, + "line": 182, "column": 16 }, "end": { - "line": 127, + "line": 182, "column": 17 } } @@ -33843,15 +42420,15 @@ "updateContext": null }, "value": "h2", - "start": 2395, - "end": 2397, + "start": 3477, + "end": 3479, "loc": { "start": { - "line": 127, + "line": 182, "column": 17 }, "end": { - "line": 127, + "line": 182, "column": 19 } } @@ -33868,15 +42445,15 @@ "postfix": false, "binop": null }, - "start": 2397, - "end": 2398, + "start": 3479, + "end": 3480, "loc": { "start": { - "line": 127, + "line": 182, "column": 19 }, "end": { - "line": 127, + "line": 182, "column": 20 } } @@ -33895,15 +42472,15 @@ "updateContext": null }, "value": "\n\t\t\t\t\t", - "start": 2398, - "end": 2404, + "start": 3480, + "end": 3486, "loc": { "start": { - "line": 127, + "line": 182, "column": 20 }, "end": { - "line": 128, + "line": 183, "column": 5 } } @@ -33920,15 +42497,15 @@ "postfix": false, "binop": null }, - "start": 2404, - "end": 2405, + "start": 3486, + "end": 3487, "loc": { "start": { - "line": 128, + "line": 183, "column": 5 }, "end": { - "line": 128, + "line": 183, "column": 6 } } @@ -33947,15 +42524,15 @@ "updateContext": null }, "value": "FieldGroup", - "start": 2405, - "end": 2415, + "start": 3487, + "end": 3497, "loc": { "start": { - "line": 128, + "line": 183, "column": 6 }, "end": { - "line": 128, + "line": 183, "column": 16 } } @@ -33974,15 +42551,15 @@ "updateContext": null }, "value": "id", - "start": 2422, - "end": 2424, + "start": 3504, + "end": 3506, "loc": { "start": { - "line": 129, + "line": 184, "column": 6 }, "end": { - "line": 129, + "line": 184, "column": 8 } } @@ -34001,15 +42578,15 @@ "updateContext": null }, "value": "=", - "start": 2424, - "end": 2425, + "start": 3506, + "end": 3507, "loc": { "start": { - "line": 129, + "line": 184, "column": 8 }, "end": { - "line": 129, + "line": 184, "column": 9 } } @@ -34026,15 +42603,15 @@ "postfix": false, "binop": null }, - "start": 2425, - "end": 2426, + "start": 3507, + "end": 3508, "loc": { "start": { - "line": 129, + "line": 184, "column": 9 }, "end": { - "line": 129, + "line": 184, "column": 10 } } @@ -34053,15 +42630,15 @@ "updateContext": null }, "value": "control-22", - "start": 2426, - "end": 2438, + "start": 3508, + "end": 3520, "loc": { "start": { - "line": 129, + "line": 184, "column": 10 }, "end": { - "line": 129, + "line": 184, "column": 22 } } @@ -34078,15 +42655,15 @@ "postfix": false, "binop": null }, - "start": 2438, - "end": 2439, + "start": 3520, + "end": 3521, "loc": { "start": { - "line": 129, + "line": 184, "column": 22 }, "end": { - "line": 129, + "line": 184, "column": 23 } } @@ -34105,15 +42682,15 @@ "updateContext": null }, "value": "label", - "start": 2446, - "end": 2451, + "start": 3528, + "end": 3533, "loc": { "start": { - "line": 130, + "line": 185, "column": 6 }, "end": { - "line": 130, + "line": 185, "column": 11 } } @@ -34132,15 +42709,15 @@ "updateContext": null }, "value": "=", - "start": 2451, - "end": 2452, + "start": 3533, + "end": 3534, "loc": { "start": { - "line": 130, + "line": 185, "column": 11 }, "end": { - "line": 130, + "line": 185, "column": 12 } } @@ -34157,15 +42734,15 @@ "postfix": false, "binop": null }, - "start": 2452, - "end": 2453, + "start": 3534, + "end": 3535, "loc": { "start": { - "line": 130, + "line": 185, "column": 12 }, "end": { - "line": 130, + "line": 185, "column": 13 } } @@ -34184,15 +42761,15 @@ "updateContext": null }, "value": "Required Text input", - "start": 2453, - "end": 2474, + "start": 3535, + "end": 3556, "loc": { "start": { - "line": 130, + "line": 185, "column": 13 }, "end": { - "line": 130, + "line": 185, "column": 34 } } @@ -34209,15 +42786,15 @@ "postfix": false, "binop": null }, - "start": 2474, - "end": 2475, + "start": 3556, + "end": 3557, "loc": { "start": { - "line": 130, + "line": 185, "column": 34 }, "end": { - "line": 130, + "line": 185, "column": 35 } } @@ -34236,15 +42813,15 @@ "updateContext": null }, "value": "type", - "start": 2482, - "end": 2486, + "start": 3564, + "end": 3568, "loc": { "start": { - "line": 131, + "line": 186, "column": 6 }, "end": { - "line": 131, + "line": 186, "column": 10 } } @@ -34263,15 +42840,15 @@ "updateContext": null }, "value": "=", - "start": 2486, - "end": 2487, + "start": 3568, + "end": 3569, "loc": { "start": { - "line": 131, + "line": 186, "column": 10 }, "end": { - "line": 131, + "line": 186, "column": 11 } } @@ -34288,15 +42865,15 @@ "postfix": false, "binop": null }, - "start": 2487, - "end": 2488, + "start": 3569, + "end": 3570, "loc": { "start": { - "line": 131, + "line": 186, "column": 11 }, "end": { - "line": 131, + "line": 186, "column": 12 } } @@ -34315,15 +42892,15 @@ "updateContext": null }, "value": "input", - "start": 2488, - "end": 2495, + "start": 3570, + "end": 3577, "loc": { "start": { - "line": 131, + "line": 186, "column": 12 }, "end": { - "line": 131, + "line": 186, "column": 19 } } @@ -34340,15 +42917,15 @@ "postfix": false, "binop": null }, - "start": 2495, - "end": 2496, + "start": 3577, + "end": 3578, "loc": { "start": { - "line": 131, + "line": 186, "column": 19 }, "end": { - "line": 131, + "line": 186, "column": 20 } } @@ -34367,15 +42944,15 @@ "updateContext": null }, "value": "isRequired", - "start": 2503, - "end": 2513, + "start": 3585, + "end": 3595, "loc": { "start": { - "line": 132, + "line": 187, "column": 6 }, "end": { - "line": 132, + "line": 187, "column": 16 } } @@ -34394,15 +42971,15 @@ "updateContext": null }, "value": "=", - "start": 2513, - "end": 2514, + "start": 3595, + "end": 3596, "loc": { "start": { - "line": 132, + "line": 187, "column": 16 }, "end": { - "line": 132, + "line": 187, "column": 17 } } @@ -34419,15 +42996,15 @@ "postfix": false, "binop": null }, - "start": 2514, - "end": 2515, + "start": 3596, + "end": 3597, "loc": { "start": { - "line": 132, + "line": 187, "column": 17 }, "end": { - "line": 132, + "line": 187, "column": 18 } } @@ -34447,15 +43024,15 @@ "updateContext": null }, "value": "true", - "start": 2515, - "end": 2519, + "start": 3597, + "end": 3601, "loc": { "start": { - "line": 132, + "line": 187, "column": 18 }, "end": { - "line": 132, + "line": 187, "column": 22 } } @@ -34472,15 +43049,15 @@ "postfix": false, "binop": null }, - "start": 2519, - "end": 2520, + "start": 3601, + "end": 3602, "loc": { "start": { - "line": 132, + "line": 187, "column": 22 }, "end": { - "line": 132, + "line": 187, "column": 23 } } @@ -34499,15 +43076,15 @@ "updateContext": null }, "value": "value", - "start": 2527, - "end": 2532, + "start": 3609, + "end": 3614, "loc": { "start": { - "line": 133, + "line": 188, "column": 6 }, "end": { - "line": 133, + "line": 188, "column": 11 } } @@ -34526,15 +43103,15 @@ "updateContext": null }, "value": "=", - "start": 2532, - "end": 2533, + "start": 3614, + "end": 3615, "loc": { "start": { - "line": 133, + "line": 188, "column": 11 }, "end": { - "line": 133, + "line": 188, "column": 12 } } @@ -34551,15 +43128,15 @@ "postfix": false, "binop": null }, - "start": 2533, - "end": 2534, + "start": 3615, + "end": 3616, "loc": { "start": { - "line": 133, + "line": 188, "column": 12 }, "end": { - "line": 133, + "line": 188, "column": 13 } } @@ -34577,15 +43154,15 @@ "binop": null }, "value": "values", - "start": 2534, - "end": 2540, + "start": 3616, + "end": 3622, "loc": { "start": { - "line": 133, + "line": 188, "column": 13 }, "end": { - "line": 133, + "line": 188, "column": 19 } } @@ -34603,15 +43180,15 @@ "binop": null, "updateContext": null }, - "start": 2540, - "end": 2541, + "start": 3622, + "end": 3623, "loc": { "start": { - "line": 133, + "line": 188, "column": 19 }, "end": { - "line": 133, + "line": 188, "column": 20 } } @@ -34629,15 +43206,15 @@ "binop": null }, "value": "one", - "start": 2541, - "end": 2544, + "start": 3623, + "end": 3626, "loc": { "start": { - "line": 133, + "line": 188, "column": 20 }, "end": { - "line": 133, + "line": 188, "column": 23 } } @@ -34654,15 +43231,15 @@ "postfix": false, "binop": null }, - "start": 2544, - "end": 2545, + "start": 3626, + "end": 3627, "loc": { "start": { - "line": 133, + "line": 188, "column": 23 }, "end": { - "line": 133, + "line": 188, "column": 24 } } @@ -34681,15 +43258,15 @@ "updateContext": null }, "value": "onValueChange", - "start": 2552, - "end": 2565, + "start": 3634, + "end": 3647, "loc": { "start": { - "line": 134, + "line": 189, "column": 6 }, "end": { - "line": 134, + "line": 189, "column": 19 } } @@ -34708,15 +43285,15 @@ "updateContext": null }, "value": "=", - "start": 2565, - "end": 2566, + "start": 3647, + "end": 3648, "loc": { "start": { - "line": 134, + "line": 189, "column": 19 }, "end": { - "line": 134, + "line": 189, "column": 20 } } @@ -34733,15 +43310,15 @@ "postfix": false, "binop": null }, - "start": 2566, - "end": 2567, + "start": 3648, + "end": 3649, "loc": { "start": { - "line": 134, + "line": 189, "column": 20 }, "end": { - "line": 134, + "line": 189, "column": 21 } } @@ -34758,15 +43335,15 @@ "postfix": false, "binop": null }, - "start": 2567, - "end": 2568, + "start": 3649, + "end": 3650, "loc": { "start": { - "line": 134, + "line": 189, "column": 21 }, "end": { - "line": 134, + "line": 189, "column": 22 } } @@ -34784,15 +43361,15 @@ "binop": null }, "value": "newValue", - "start": 2568, - "end": 2576, + "start": 3650, + "end": 3658, "loc": { "start": { - "line": 134, + "line": 189, "column": 22 }, "end": { - "line": 134, + "line": 189, "column": 30 } } @@ -34809,15 +43386,15 @@ "postfix": false, "binop": null }, - "start": 2576, - "end": 2577, + "start": 3658, + "end": 3659, "loc": { "start": { - "line": 134, + "line": 189, "column": 30 }, "end": { - "line": 134, + "line": 189, "column": 31 } } @@ -34835,15 +43412,15 @@ "binop": null, "updateContext": null }, - "start": 2578, - "end": 2580, + "start": 3660, + "end": 3662, "loc": { "start": { - "line": 134, + "line": 189, "column": 32 }, "end": { - "line": 134, + "line": 189, "column": 34 } } @@ -34860,15 +43437,15 @@ "postfix": false, "binop": null }, - "start": 2581, - "end": 2582, + "start": 3663, + "end": 3664, "loc": { "start": { - "line": 134, + "line": 189, "column": 35 }, "end": { - "line": 134, + "line": 189, "column": 36 } } @@ -34886,15 +43463,15 @@ "binop": null }, "value": "values", - "start": 2590, - "end": 2596, + "start": 3672, + "end": 3678, "loc": { "start": { - "line": 135, + "line": 190, "column": 7 }, "end": { - "line": 135, + "line": 190, "column": 13 } } @@ -34912,15 +43489,15 @@ "binop": null, "updateContext": null }, - "start": 2596, - "end": 2597, + "start": 3678, + "end": 3679, "loc": { "start": { - "line": 135, + "line": 190, "column": 13 }, "end": { - "line": 135, + "line": 190, "column": 14 } } @@ -34938,15 +43515,15 @@ "binop": null }, "value": "one", - "start": 2597, - "end": 2600, + "start": 3679, + "end": 3682, "loc": { "start": { - "line": 135, + "line": 190, "column": 14 }, "end": { - "line": 135, + "line": 190, "column": 17 } } @@ -34965,15 +43542,15 @@ "updateContext": null }, "value": "=", - "start": 2600, - "end": 2601, + "start": 3682, + "end": 3683, "loc": { "start": { - "line": 135, + "line": 190, "column": 17 }, "end": { - "line": 135, + "line": 190, "column": 18 } } @@ -34991,15 +43568,15 @@ "binop": null }, "value": "newValue", - "start": 2601, - "end": 2609, + "start": 3683, + "end": 3691, "loc": { "start": { - "line": 135, + "line": 190, "column": 18 }, "end": { - "line": 135, + "line": 190, "column": 26 } } @@ -35017,15 +43594,15 @@ "binop": null, "updateContext": null }, - "start": 2609, - "end": 2610, + "start": 3691, + "end": 3692, "loc": { "start": { - "line": 135, + "line": 190, "column": 26 }, "end": { - "line": 135, + "line": 190, "column": 27 } } @@ -35042,15 +43619,15 @@ "postfix": false, "binop": null }, - "start": 2617, - "end": 2618, + "start": 3699, + "end": 3700, "loc": { "start": { - "line": 136, + "line": 191, "column": 6 }, "end": { - "line": 136, + "line": 191, "column": 7 } } @@ -35067,15 +43644,15 @@ "postfix": false, "binop": null }, - "start": 2618, - "end": 2619, + "start": 3700, + "end": 3701, "loc": { "start": { - "line": 136, + "line": 191, "column": 7 }, "end": { - "line": 136, + "line": 191, "column": 8 } } @@ -35094,15 +43671,15 @@ "updateContext": null }, "value": "/", - "start": 2625, - "end": 2626, + "start": 3707, + "end": 3708, "loc": { "start": { - "line": 137, + "line": 192, "column": 5 }, "end": { - "line": 137, + "line": 192, "column": 6 } } @@ -35119,15 +43696,15 @@ "postfix": false, "binop": null }, - "start": 2626, - "end": 2627, + "start": 3708, + "end": 3709, "loc": { "start": { - "line": 137, + "line": 192, "column": 6 }, "end": { - "line": 137, + "line": 192, "column": 7 } } @@ -35146,15 +43723,15 @@ "updateContext": null }, "value": "\n\n\t\t\t\t\t", - "start": 2627, - "end": 2634, + "start": 3709, + "end": 3716, "loc": { "start": { - "line": 137, + "line": 192, "column": 7 }, "end": { - "line": 139, + "line": 194, "column": 5 } } @@ -35171,15 +43748,15 @@ "postfix": false, "binop": null }, - "start": 2634, - "end": 2635, + "start": 3716, + "end": 3717, "loc": { "start": { - "line": 139, + "line": 194, "column": 5 }, "end": { - "line": 139, + "line": 194, "column": 6 } } @@ -35198,15 +43775,15 @@ "updateContext": null }, "value": "FieldGroup", - "start": 2635, - "end": 2645, + "start": 3717, + "end": 3727, "loc": { "start": { - "line": 139, + "line": 194, "column": 6 }, "end": { - "line": 139, + "line": 194, "column": 16 } } @@ -35225,15 +43802,15 @@ "updateContext": null }, "value": "id", - "start": 2652, - "end": 2654, + "start": 3734, + "end": 3736, "loc": { "start": { - "line": 140, + "line": 195, "column": 6 }, "end": { - "line": 140, + "line": 195, "column": 8 } } @@ -35252,15 +43829,15 @@ "updateContext": null }, "value": "=", - "start": 2654, - "end": 2655, + "start": 3736, + "end": 3737, "loc": { "start": { - "line": 140, + "line": 195, "column": 8 }, "end": { - "line": 140, + "line": 195, "column": 9 } } @@ -35277,15 +43854,15 @@ "postfix": false, "binop": null }, - "start": 2655, - "end": 2656, + "start": 3737, + "end": 3738, "loc": { "start": { - "line": 140, + "line": 195, "column": 9 }, "end": { - "line": 140, + "line": 195, "column": 10 } } @@ -35304,15 +43881,15 @@ "updateContext": null }, "value": "control-23", - "start": 2656, - "end": 2668, + "start": 3738, + "end": 3750, "loc": { "start": { - "line": 140, + "line": 195, "column": 10 }, "end": { - "line": 140, + "line": 195, "column": 22 } } @@ -35329,15 +43906,15 @@ "postfix": false, "binop": null }, - "start": 2668, - "end": 2669, + "start": 3750, + "end": 3751, "loc": { "start": { - "line": 140, + "line": 195, "column": 22 }, "end": { - "line": 140, + "line": 195, "column": 23 } } @@ -35356,15 +43933,15 @@ "updateContext": null }, "value": "label", - "start": 2676, - "end": 2681, + "start": 3758, + "end": 3763, "loc": { "start": { - "line": 141, + "line": 196, "column": 6 }, "end": { - "line": 141, + "line": 196, "column": 11 } } @@ -35383,15 +43960,15 @@ "updateContext": null }, "value": "=", - "start": 2681, - "end": 2682, + "start": 3763, + "end": 3764, "loc": { "start": { - "line": 141, + "line": 196, "column": 11 }, "end": { - "line": 141, + "line": 196, "column": 12 } } @@ -35408,15 +43985,15 @@ "postfix": false, "binop": null }, - "start": 2682, - "end": 2683, + "start": 3764, + "end": 3765, "loc": { "start": { - "line": 141, + "line": 196, "column": 12 }, "end": { - "line": 141, + "line": 196, "column": 13 } } @@ -35435,15 +44012,15 @@ "updateContext": null }, "value": "Non Required Text input", - "start": 2683, - "end": 2708, + "start": 3765, + "end": 3790, "loc": { "start": { - "line": 141, + "line": 196, "column": 13 }, "end": { - "line": 141, + "line": 196, "column": 38 } } @@ -35460,15 +44037,15 @@ "postfix": false, "binop": null }, - "start": 2708, - "end": 2709, + "start": 3790, + "end": 3791, "loc": { "start": { - "line": 141, + "line": 196, "column": 38 }, "end": { - "line": 141, + "line": 196, "column": 39 } } @@ -35487,15 +44064,15 @@ "updateContext": null }, "value": "type", - "start": 2716, - "end": 2720, + "start": 3798, + "end": 3802, "loc": { "start": { - "line": 142, + "line": 197, "column": 6 }, "end": { - "line": 142, + "line": 197, "column": 10 } } @@ -35514,15 +44091,15 @@ "updateContext": null }, "value": "=", - "start": 2720, - "end": 2721, + "start": 3802, + "end": 3803, "loc": { "start": { - "line": 142, + "line": 197, "column": 10 }, "end": { - "line": 142, + "line": 197, "column": 11 } } @@ -35539,15 +44116,15 @@ "postfix": false, "binop": null }, - "start": 2721, - "end": 2722, + "start": 3803, + "end": 3804, "loc": { "start": { - "line": 142, + "line": 197, "column": 11 }, "end": { - "line": 142, + "line": 197, "column": 12 } } @@ -35566,15 +44143,15 @@ "updateContext": null }, "value": "input", - "start": 2722, - "end": 2729, + "start": 3804, + "end": 3811, "loc": { "start": { - "line": 142, + "line": 197, "column": 12 }, "end": { - "line": 142, + "line": 197, "column": 19 } } @@ -35591,15 +44168,15 @@ "postfix": false, "binop": null }, - "start": 2729, - "end": 2730, + "start": 3811, + "end": 3812, "loc": { "start": { - "line": 142, + "line": 197, "column": 19 }, "end": { - "line": 142, + "line": 197, "column": 20 } } @@ -35618,15 +44195,15 @@ "updateContext": null }, "value": "isRequired", - "start": 2737, - "end": 2747, + "start": 3819, + "end": 3829, "loc": { "start": { - "line": 143, + "line": 198, "column": 6 }, "end": { - "line": 143, + "line": 198, "column": 16 } } @@ -35645,15 +44222,15 @@ "updateContext": null }, "value": "=", - "start": 2747, - "end": 2748, + "start": 3829, + "end": 3830, "loc": { "start": { - "line": 143, + "line": 198, "column": 16 }, "end": { - "line": 143, + "line": 198, "column": 17 } } @@ -35670,15 +44247,15 @@ "postfix": false, "binop": null }, - "start": 2748, - "end": 2749, + "start": 3830, + "end": 3831, "loc": { "start": { - "line": 143, + "line": 198, "column": 17 }, "end": { - "line": 143, + "line": 198, "column": 18 } } @@ -35698,15 +44275,15 @@ "updateContext": null }, "value": "true", - "start": 2749, - "end": 2753, + "start": 3831, + "end": 3835, "loc": { "start": { - "line": 143, + "line": 198, "column": 18 }, "end": { - "line": 143, + "line": 198, "column": 22 } } @@ -35723,15 +44300,15 @@ "postfix": false, "binop": null }, - "start": 2753, - "end": 2754, + "start": 3835, + "end": 3836, "loc": { "start": { - "line": 143, + "line": 198, "column": 22 }, "end": { - "line": 143, + "line": 198, "column": 23 } } @@ -35750,15 +44327,15 @@ "updateContext": null }, "value": "value", - "start": 2761, - "end": 2766, + "start": 3843, + "end": 3848, "loc": { "start": { - "line": 144, + "line": 199, "column": 6 }, "end": { - "line": 144, + "line": 199, "column": 11 } } @@ -35777,15 +44354,15 @@ "updateContext": null }, "value": "=", - "start": 2766, - "end": 2767, + "start": 3848, + "end": 3849, "loc": { "start": { - "line": 144, + "line": 199, "column": 11 }, "end": { - "line": 144, + "line": 199, "column": 12 } } @@ -35802,15 +44379,15 @@ "postfix": false, "binop": null }, - "start": 2767, - "end": 2768, + "start": 3849, + "end": 3850, "loc": { "start": { - "line": 144, + "line": 199, "column": 12 }, "end": { - "line": 144, + "line": 199, "column": 13 } } @@ -35828,15 +44405,15 @@ "binop": null }, "value": "values", - "start": 2768, - "end": 2774, + "start": 3850, + "end": 3856, "loc": { "start": { - "line": 144, + "line": 199, "column": 13 }, "end": { - "line": 144, + "line": 199, "column": 19 } } @@ -35854,15 +44431,15 @@ "binop": null, "updateContext": null }, - "start": 2774, - "end": 2775, + "start": 3856, + "end": 3857, "loc": { "start": { - "line": 144, + "line": 199, "column": 19 }, "end": { - "line": 144, + "line": 199, "column": 20 } } @@ -35880,15 +44457,15 @@ "binop": null }, "value": "two", - "start": 2775, - "end": 2778, + "start": 3857, + "end": 3860, "loc": { "start": { - "line": 144, + "line": 199, "column": 20 }, "end": { - "line": 144, + "line": 199, "column": 23 } } @@ -35905,15 +44482,15 @@ "postfix": false, "binop": null }, - "start": 2778, - "end": 2779, + "start": 3860, + "end": 3861, "loc": { "start": { - "line": 144, + "line": 199, "column": 23 }, "end": { - "line": 144, + "line": 199, "column": 24 } } @@ -35932,15 +44509,15 @@ "updateContext": null }, "value": "onValueChange", - "start": 2786, - "end": 2799, + "start": 3868, + "end": 3881, "loc": { "start": { - "line": 145, + "line": 200, "column": 6 }, "end": { - "line": 145, + "line": 200, "column": 19 } } @@ -35959,15 +44536,15 @@ "updateContext": null }, "value": "=", - "start": 2799, - "end": 2800, + "start": 3881, + "end": 3882, "loc": { "start": { - "line": 145, + "line": 200, "column": 19 }, "end": { - "line": 145, + "line": 200, "column": 20 } } @@ -35984,15 +44561,15 @@ "postfix": false, "binop": null }, - "start": 2800, - "end": 2801, + "start": 3882, + "end": 3883, "loc": { "start": { - "line": 145, + "line": 200, "column": 20 }, "end": { - "line": 145, + "line": 200, "column": 21 } } @@ -36009,15 +44586,15 @@ "postfix": false, "binop": null }, - "start": 2801, - "end": 2802, + "start": 3883, + "end": 3884, "loc": { "start": { - "line": 145, + "line": 200, "column": 21 }, "end": { - "line": 145, + "line": 200, "column": 22 } } @@ -36035,15 +44612,15 @@ "binop": null }, "value": "newValue", - "start": 2802, - "end": 2810, + "start": 3884, + "end": 3892, "loc": { "start": { - "line": 145, + "line": 200, "column": 22 }, "end": { - "line": 145, + "line": 200, "column": 30 } } @@ -36060,15 +44637,15 @@ "postfix": false, "binop": null }, - "start": 2810, - "end": 2811, + "start": 3892, + "end": 3893, "loc": { "start": { - "line": 145, + "line": 200, "column": 30 }, "end": { - "line": 145, + "line": 200, "column": 31 } } @@ -36086,15 +44663,15 @@ "binop": null, "updateContext": null }, - "start": 2812, - "end": 2814, + "start": 3894, + "end": 3896, "loc": { "start": { - "line": 145, + "line": 200, "column": 32 }, "end": { - "line": 145, + "line": 200, "column": 34 } } @@ -36111,15 +44688,15 @@ "postfix": false, "binop": null }, - "start": 2815, - "end": 2816, + "start": 3897, + "end": 3898, "loc": { "start": { - "line": 145, + "line": 200, "column": 35 }, "end": { - "line": 145, + "line": 200, "column": 36 } } @@ -36137,15 +44714,15 @@ "binop": null }, "value": "values", - "start": 2824, - "end": 2830, + "start": 3906, + "end": 3912, "loc": { "start": { - "line": 146, + "line": 201, "column": 7 }, "end": { - "line": 146, + "line": 201, "column": 13 } } @@ -36163,15 +44740,15 @@ "binop": null, "updateContext": null }, - "start": 2830, - "end": 2831, + "start": 3912, + "end": 3913, "loc": { "start": { - "line": 146, + "line": 201, "column": 13 }, "end": { - "line": 146, + "line": 201, "column": 14 } } @@ -36189,15 +44766,15 @@ "binop": null }, "value": "two", - "start": 2831, - "end": 2834, + "start": 3913, + "end": 3916, "loc": { "start": { - "line": 146, + "line": 201, "column": 14 }, "end": { - "line": 146, + "line": 201, "column": 17 } } @@ -36216,15 +44793,15 @@ "updateContext": null }, "value": "=", - "start": 2834, - "end": 2835, + "start": 3916, + "end": 3917, "loc": { "start": { - "line": 146, + "line": 201, "column": 17 }, "end": { - "line": 146, + "line": 201, "column": 18 } } @@ -36242,15 +44819,15 @@ "binop": null }, "value": "newValue", - "start": 2835, - "end": 2843, + "start": 3917, + "end": 3925, "loc": { "start": { - "line": 146, + "line": 201, "column": 18 }, "end": { - "line": 146, + "line": 201, "column": 26 } } @@ -36268,15 +44845,15 @@ "binop": null, "updateContext": null }, - "start": 2843, - "end": 2844, + "start": 3925, + "end": 3926, "loc": { "start": { - "line": 146, + "line": 201, "column": 26 }, "end": { - "line": 146, + "line": 201, "column": 27 } } @@ -36293,15 +44870,15 @@ "postfix": false, "binop": null }, - "start": 2851, - "end": 2852, + "start": 3933, + "end": 3934, "loc": { "start": { - "line": 147, + "line": 202, "column": 6 }, "end": { - "line": 147, + "line": 202, "column": 7 } } @@ -36318,15 +44895,15 @@ "postfix": false, "binop": null }, - "start": 2852, - "end": 2853, + "start": 3934, + "end": 3935, "loc": { "start": { - "line": 147, + "line": 202, "column": 7 }, "end": { - "line": 147, + "line": 202, "column": 8 } } @@ -36345,15 +44922,15 @@ "updateContext": null }, "value": "/", - "start": 2859, - "end": 2860, + "start": 3941, + "end": 3942, "loc": { "start": { - "line": 148, + "line": 203, "column": 5 }, "end": { - "line": 148, + "line": 203, "column": 6 } } @@ -36370,15 +44947,15 @@ "postfix": false, "binop": null }, - "start": 2860, - "end": 2861, + "start": 3942, + "end": 3943, "loc": { "start": { - "line": 148, + "line": 203, "column": 6 }, "end": { - "line": 148, + "line": 203, "column": 7 } } @@ -36397,15 +44974,15 @@ "updateContext": null }, "value": "\n\n\t\t\t\t\t", - "start": 2861, - "end": 2868, + "start": 3943, + "end": 3950, "loc": { "start": { - "line": 148, + "line": 203, "column": 7 }, "end": { - "line": 150, + "line": 205, "column": 5 } } @@ -36422,15 +44999,15 @@ "postfix": false, "binop": null }, - "start": 2868, - "end": 2869, + "start": 3950, + "end": 3951, "loc": { "start": { - "line": 150, + "line": 205, "column": 5 }, "end": { - "line": 150, + "line": 205, "column": 6 } } @@ -36449,15 +45026,15 @@ "updateContext": null }, "value": "FieldGroup", - "start": 2869, - "end": 2879, + "start": 3951, + "end": 3961, "loc": { "start": { - "line": 150, + "line": 205, "column": 6 }, "end": { - "line": 150, + "line": 205, "column": 16 } } @@ -36476,15 +45053,15 @@ "updateContext": null }, "value": "id", - "start": 2886, - "end": 2888, + "start": 3968, + "end": 3970, "loc": { "start": { - "line": 151, + "line": 206, "column": 6 }, "end": { - "line": 151, + "line": 206, "column": 8 } } @@ -36503,15 +45080,15 @@ "updateContext": null }, "value": "=", - "start": 2888, - "end": 2889, + "start": 3970, + "end": 3971, "loc": { "start": { - "line": 151, + "line": 206, "column": 8 }, "end": { - "line": 151, + "line": 206, "column": 9 } } @@ -36528,15 +45105,15 @@ "postfix": false, "binop": null }, - "start": 2889, - "end": 2890, + "start": 3971, + "end": 3972, "loc": { "start": { - "line": 151, + "line": 206, "column": 9 }, "end": { - "line": 151, + "line": 206, "column": 10 } } @@ -36555,15 +45132,15 @@ "updateContext": null }, "value": "control-23", - "start": 2890, - "end": 2902, + "start": 3972, + "end": 3984, "loc": { "start": { - "line": 151, + "line": 206, "column": 10 }, "end": { - "line": 151, + "line": 206, "column": 22 } } @@ -36580,15 +45157,15 @@ "postfix": false, "binop": null }, - "start": 2902, - "end": 2903, + "start": 3984, + "end": 3985, "loc": { "start": { - "line": 151, + "line": 206, "column": 22 }, "end": { - "line": 151, + "line": 206, "column": 23 } } @@ -36607,15 +45184,15 @@ "updateContext": null }, "value": "label", - "start": 2910, - "end": 2915, + "start": 3992, + "end": 3997, "loc": { "start": { - "line": 152, + "line": 207, "column": 6 }, "end": { - "line": 152, + "line": 207, "column": 11 } } @@ -36634,15 +45211,15 @@ "updateContext": null }, "value": "=", - "start": 2915, - "end": 2916, + "start": 3997, + "end": 3998, "loc": { "start": { - "line": 152, + "line": 207, "column": 11 }, "end": { - "line": 152, + "line": 207, "column": 12 } } @@ -36659,15 +45236,15 @@ "postfix": false, "binop": null }, - "start": 2916, - "end": 2917, + "start": 3998, + "end": 3999, "loc": { "start": { - "line": 152, + "line": 207, "column": 12 }, "end": { - "line": 152, + "line": 207, "column": 13 } } @@ -36686,15 +45263,15 @@ "updateContext": null }, "value": "With Help Text", - "start": 2917, - "end": 2933, + "start": 3999, + "end": 4015, "loc": { "start": { - "line": 152, + "line": 207, "column": 13 }, "end": { - "line": 152, + "line": 207, "column": 29 } } @@ -36711,15 +45288,15 @@ "postfix": false, "binop": null }, - "start": 2933, - "end": 2934, + "start": 4015, + "end": 4016, "loc": { "start": { - "line": 152, + "line": 207, "column": 29 }, "end": { - "line": 152, + "line": 207, "column": 30 } } @@ -36738,15 +45315,15 @@ "updateContext": null }, "value": "type", - "start": 2941, - "end": 2945, + "start": 4023, + "end": 4027, "loc": { "start": { - "line": 153, + "line": 208, "column": 6 }, "end": { - "line": 153, + "line": 208, "column": 10 } } @@ -36765,15 +45342,15 @@ "updateContext": null }, "value": "=", - "start": 2945, - "end": 2946, + "start": 4027, + "end": 4028, "loc": { "start": { - "line": 153, + "line": 208, "column": 10 }, "end": { - "line": 153, + "line": 208, "column": 11 } } @@ -36790,15 +45367,15 @@ "postfix": false, "binop": null }, - "start": 2946, - "end": 2947, + "start": 4028, + "end": 4029, "loc": { "start": { - "line": 153, + "line": 208, "column": 11 }, "end": { - "line": 153, + "line": 208, "column": 12 } } @@ -36817,15 +45394,15 @@ "updateContext": null }, "value": "input", - "start": 2947, - "end": 2954, + "start": 4029, + "end": 4036, "loc": { "start": { - "line": 153, + "line": 208, "column": 12 }, "end": { - "line": 153, + "line": 208, "column": 19 } } @@ -36842,15 +45419,15 @@ "postfix": false, "binop": null }, - "start": 2954, - "end": 2955, + "start": 4036, + "end": 4037, "loc": { "start": { - "line": 153, + "line": 208, "column": 19 }, "end": { - "line": 153, + "line": 208, "column": 20 } } @@ -36869,15 +45446,15 @@ "updateContext": null }, "value": "isRequired", - "start": 2962, - "end": 2972, + "start": 4044, + "end": 4054, "loc": { "start": { - "line": 154, + "line": 209, "column": 6 }, "end": { - "line": 154, + "line": 209, "column": 16 } } @@ -36896,15 +45473,15 @@ "updateContext": null }, "value": "=", - "start": 2972, - "end": 2973, + "start": 4054, + "end": 4055, "loc": { "start": { - "line": 154, + "line": 209, "column": 16 }, "end": { - "line": 154, + "line": 209, "column": 17 } } @@ -36921,15 +45498,15 @@ "postfix": false, "binop": null }, - "start": 2973, - "end": 2974, + "start": 4055, + "end": 4056, "loc": { "start": { - "line": 154, + "line": 209, "column": 17 }, "end": { - "line": 154, + "line": 209, "column": 18 } } @@ -36949,15 +45526,15 @@ "updateContext": null }, "value": "true", - "start": 2974, - "end": 2978, + "start": 4056, + "end": 4060, "loc": { "start": { - "line": 154, + "line": 209, "column": 18 }, "end": { - "line": 154, + "line": 209, "column": 22 } } @@ -36974,15 +45551,15 @@ "postfix": false, "binop": null }, - "start": 2978, - "end": 2979, + "start": 4060, + "end": 4061, "loc": { "start": { - "line": 154, + "line": 209, "column": 22 }, "end": { - "line": 154, + "line": 209, "column": 23 } } @@ -37001,15 +45578,15 @@ "updateContext": null }, "value": "help", - "start": 2986, - "end": 2990, + "start": 4068, + "end": 4072, "loc": { "start": { - "line": 155, + "line": 210, "column": 6 }, "end": { - "line": 155, + "line": 210, "column": 10 } } @@ -37028,15 +45605,15 @@ "updateContext": null }, "value": "=", - "start": 2990, - "end": 2991, + "start": 4072, + "end": 4073, "loc": { "start": { - "line": 155, + "line": 210, "column": 10 }, "end": { - "line": 155, + "line": 210, "column": 11 } } @@ -37053,15 +45630,15 @@ "postfix": false, "binop": null }, - "start": 2991, - "end": 2992, + "start": 4073, + "end": 4074, "loc": { "start": { - "line": 155, + "line": 210, "column": 11 }, "end": { - "line": 155, + "line": 210, "column": 12 } } @@ -37080,15 +45657,15 @@ "updateContext": null }, "value": "Adding help text sets aria-describedy", - "start": 2992, - "end": 3031, + "start": 4074, + "end": 4113, "loc": { "start": { - "line": 155, + "line": 210, "column": 12 }, "end": { - "line": 155, + "line": 210, "column": 51 } } @@ -37105,15 +45682,15 @@ "postfix": false, "binop": null }, - "start": 3031, - "end": 3032, + "start": 4113, + "end": 4114, "loc": { "start": { - "line": 155, + "line": 210, "column": 51 }, "end": { - "line": 155, + "line": 210, "column": 52 } } @@ -37132,15 +45709,15 @@ "updateContext": null }, "value": "value", - "start": 3039, - "end": 3044, + "start": 4121, + "end": 4126, "loc": { "start": { - "line": 156, + "line": 211, "column": 6 }, "end": { - "line": 156, + "line": 211, "column": 11 } } @@ -37159,15 +45736,15 @@ "updateContext": null }, "value": "=", - "start": 3044, - "end": 3045, + "start": 4126, + "end": 4127, "loc": { "start": { - "line": 156, + "line": 211, "column": 11 }, "end": { - "line": 156, + "line": 211, "column": 12 } } @@ -37184,15 +45761,15 @@ "postfix": false, "binop": null }, - "start": 3045, - "end": 3046, + "start": 4127, + "end": 4128, "loc": { "start": { - "line": 156, + "line": 211, "column": 12 }, "end": { - "line": 156, + "line": 211, "column": 13 } } @@ -37210,15 +45787,15 @@ "binop": null }, "value": "values", - "start": 3046, - "end": 3052, + "start": 4128, + "end": 4134, "loc": { "start": { - "line": 156, + "line": 211, "column": 13 }, "end": { - "line": 156, + "line": 211, "column": 19 } } @@ -37236,15 +45813,15 @@ "binop": null, "updateContext": null }, - "start": 3052, - "end": 3053, + "start": 4134, + "end": 4135, "loc": { "start": { - "line": 156, + "line": 211, "column": 19 }, "end": { - "line": 156, + "line": 211, "column": 20 } } @@ -37262,15 +45839,15 @@ "binop": null }, "value": "thre", - "start": 3053, - "end": 3057, + "start": 4135, + "end": 4139, "loc": { "start": { - "line": 156, + "line": 211, "column": 20 }, "end": { - "line": 156, + "line": 211, "column": 24 } } @@ -37287,15 +45864,15 @@ "postfix": false, "binop": null }, - "start": 3057, - "end": 3058, + "start": 4139, + "end": 4140, "loc": { "start": { - "line": 156, + "line": 211, "column": 24 }, "end": { - "line": 156, + "line": 211, "column": 25 } } @@ -37314,15 +45891,15 @@ "updateContext": null }, "value": "onValueChange", - "start": 3065, - "end": 3078, + "start": 4147, + "end": 4160, "loc": { "start": { - "line": 157, + "line": 212, "column": 6 }, "end": { - "line": 157, + "line": 212, "column": 19 } } @@ -37341,15 +45918,15 @@ "updateContext": null }, "value": "=", - "start": 3078, - "end": 3079, + "start": 4160, + "end": 4161, "loc": { "start": { - "line": 157, + "line": 212, "column": 19 }, "end": { - "line": 157, + "line": 212, "column": 20 } } @@ -37366,15 +45943,15 @@ "postfix": false, "binop": null }, - "start": 3079, - "end": 3080, + "start": 4161, + "end": 4162, "loc": { "start": { - "line": 157, + "line": 212, "column": 20 }, "end": { - "line": 157, + "line": 212, "column": 21 } } @@ -37391,15 +45968,15 @@ "postfix": false, "binop": null }, - "start": 3080, - "end": 3081, + "start": 4162, + "end": 4163, "loc": { "start": { - "line": 157, + "line": 212, "column": 21 }, "end": { - "line": 157, + "line": 212, "column": 22 } } @@ -37417,15 +45994,15 @@ "binop": null }, "value": "newValue", - "start": 3081, - "end": 3089, + "start": 4163, + "end": 4171, "loc": { "start": { - "line": 157, + "line": 212, "column": 22 }, "end": { - "line": 157, + "line": 212, "column": 30 } } @@ -37442,15 +46019,15 @@ "postfix": false, "binop": null }, - "start": 3089, - "end": 3090, + "start": 4171, + "end": 4172, "loc": { "start": { - "line": 157, + "line": 212, "column": 30 }, "end": { - "line": 157, + "line": 212, "column": 31 } } @@ -37468,15 +46045,15 @@ "binop": null, "updateContext": null }, - "start": 3091, - "end": 3093, + "start": 4173, + "end": 4175, "loc": { "start": { - "line": 157, + "line": 212, "column": 32 }, "end": { - "line": 157, + "line": 212, "column": 34 } } @@ -37493,15 +46070,15 @@ "postfix": false, "binop": null }, - "start": 3094, - "end": 3095, + "start": 4176, + "end": 4177, "loc": { "start": { - "line": 157, + "line": 212, "column": 35 }, "end": { - "line": 157, + "line": 212, "column": 36 } } @@ -37519,15 +46096,15 @@ "binop": null }, "value": "values", - "start": 3103, - "end": 3109, + "start": 4185, + "end": 4191, "loc": { "start": { - "line": 158, + "line": 213, "column": 7 }, "end": { - "line": 158, + "line": 213, "column": 13 } } @@ -37545,15 +46122,15 @@ "binop": null, "updateContext": null }, - "start": 3109, - "end": 3110, + "start": 4191, + "end": 4192, "loc": { "start": { - "line": 158, + "line": 213, "column": 13 }, "end": { - "line": 158, + "line": 213, "column": 14 } } @@ -37571,15 +46148,15 @@ "binop": null }, "value": "three", - "start": 3110, - "end": 3115, + "start": 4192, + "end": 4197, "loc": { "start": { - "line": 158, + "line": 213, "column": 14 }, "end": { - "line": 158, + "line": 213, "column": 19 } } @@ -37598,15 +46175,15 @@ "updateContext": null }, "value": "=", - "start": 3115, - "end": 3116, + "start": 4197, + "end": 4198, "loc": { "start": { - "line": 158, + "line": 213, "column": 19 }, "end": { - "line": 158, + "line": 213, "column": 20 } } @@ -37624,15 +46201,15 @@ "binop": null }, "value": "newValue", - "start": 3116, - "end": 3124, + "start": 4198, + "end": 4206, "loc": { "start": { - "line": 158, + "line": 213, "column": 20 }, "end": { - "line": 158, + "line": 213, "column": 28 } } @@ -37650,15 +46227,15 @@ "binop": null, "updateContext": null }, - "start": 3124, - "end": 3125, + "start": 4206, + "end": 4207, "loc": { "start": { - "line": 158, + "line": 213, "column": 28 }, "end": { - "line": 158, + "line": 213, "column": 29 } } @@ -37675,15 +46252,15 @@ "postfix": false, "binop": null }, - "start": 3132, - "end": 3133, + "start": 4214, + "end": 4215, "loc": { "start": { - "line": 159, + "line": 214, "column": 6 }, "end": { - "line": 159, + "line": 214, "column": 7 } } @@ -37700,15 +46277,15 @@ "postfix": false, "binop": null }, - "start": 3133, - "end": 3134, + "start": 4215, + "end": 4216, "loc": { "start": { - "line": 159, + "line": 214, "column": 7 }, "end": { - "line": 159, + "line": 214, "column": 8 } } @@ -37727,15 +46304,15 @@ "updateContext": null }, "value": "/", - "start": 3140, - "end": 3141, + "start": 4222, + "end": 4223, "loc": { "start": { - "line": 160, + "line": 215, "column": 5 }, "end": { - "line": 160, + "line": 215, "column": 6 } } @@ -37752,15 +46329,15 @@ "postfix": false, "binop": null }, - "start": 3141, - "end": 3142, + "start": 4223, + "end": 4224, "loc": { "start": { - "line": 160, + "line": 215, "column": 6 }, "end": { - "line": 160, + "line": 215, "column": 7 } } @@ -37779,15 +46356,15 @@ "updateContext": null }, "value": "\n\n\t\t\t\t\t", - "start": 3142, - "end": 3149, + "start": 4224, + "end": 4231, "loc": { "start": { - "line": 160, + "line": 215, "column": 7 }, "end": { - "line": 162, + "line": 217, "column": 5 } } @@ -37804,15 +46381,15 @@ "postfix": false, "binop": null }, - "start": 3149, - "end": 3150, + "start": 4231, + "end": 4232, "loc": { "start": { - "line": 162, + "line": 217, "column": 5 }, "end": { - "line": 162, + "line": 217, "column": 6 } } @@ -37831,15 +46408,15 @@ "updateContext": null }, "value": "FieldGroup", - "start": 3150, - "end": 3160, + "start": 4232, + "end": 4242, "loc": { "start": { - "line": 162, + "line": 217, "column": 6 }, "end": { - "line": 162, + "line": 217, "column": 16 } } @@ -37858,15 +46435,15 @@ "updateContext": null }, "value": "id", - "start": 3167, - "end": 3169, + "start": 4249, + "end": 4251, "loc": { "start": { - "line": 163, + "line": 218, "column": 6 }, "end": { - "line": 163, + "line": 218, "column": 8 } } @@ -37885,15 +46462,15 @@ "updateContext": null }, "value": "=", - "start": 3169, - "end": 3170, + "start": 4251, + "end": 4252, "loc": { "start": { - "line": 163, + "line": 218, "column": 8 }, "end": { - "line": 163, + "line": 218, "column": 9 } } @@ -37910,15 +46487,15 @@ "postfix": false, "binop": null }, - "start": 3170, - "end": 3171, + "start": 4252, + "end": 4253, "loc": { "start": { - "line": 163, + "line": 218, "column": 9 }, "end": { - "line": 163, + "line": 218, "column": 10 } } @@ -37937,15 +46514,15 @@ "updateContext": null }, "value": "control-24", - "start": 3171, - "end": 3183, + "start": 4253, + "end": 4265, "loc": { "start": { - "line": 163, + "line": 218, "column": 10 }, "end": { - "line": 163, + "line": 218, "column": 22 } } @@ -37962,15 +46539,15 @@ "postfix": false, "binop": null }, - "start": 3183, - "end": 3184, + "start": 4265, + "end": 4266, "loc": { "start": { - "line": 163, + "line": 218, "column": 22 }, "end": { - "line": 163, + "line": 218, "column": 23 } } @@ -37989,15 +46566,15 @@ "updateContext": null }, "value": "label", - "start": 3191, - "end": 3196, + "start": 4273, + "end": 4278, "loc": { "start": { - "line": 164, + "line": 219, "column": 6 }, "end": { - "line": 164, + "line": 219, "column": 11 } } @@ -38016,15 +46593,15 @@ "updateContext": null }, "value": "=", - "start": 3196, - "end": 3197, + "start": 4278, + "end": 4279, "loc": { "start": { - "line": 164, + "line": 219, "column": 11 }, "end": { - "line": 164, + "line": 219, "column": 12 } } @@ -38041,15 +46618,15 @@ "postfix": false, "binop": null }, - "start": 3197, - "end": 3198, + "start": 4279, + "end": 4280, "loc": { "start": { - "line": 164, + "line": 219, "column": 12 }, "end": { - "line": 164, + "line": 219, "column": 13 } } @@ -38068,15 +46645,15 @@ "updateContext": null }, "value": "Non Required Numeric input", - "start": 3198, - "end": 3226, + "start": 4280, + "end": 4308, "loc": { "start": { - "line": 164, + "line": 219, "column": 13 }, "end": { - "line": 164, + "line": 219, "column": 41 } } @@ -38093,15 +46670,15 @@ "postfix": false, "binop": null }, - "start": 3226, - "end": 3227, + "start": 4308, + "end": 4309, "loc": { "start": { - "line": 164, + "line": 219, "column": 41 }, "end": { - "line": 164, + "line": 219, "column": 42 } } @@ -38120,15 +46697,15 @@ "updateContext": null }, "value": "type", - "start": 3234, - "end": 3238, + "start": 4316, + "end": 4320, "loc": { "start": { - "line": 165, + "line": 220, "column": 6 }, "end": { - "line": 165, + "line": 220, "column": 10 } } @@ -38147,15 +46724,15 @@ "updateContext": null }, "value": "=", - "start": 3238, - "end": 3239, + "start": 4320, + "end": 4321, "loc": { "start": { - "line": 165, + "line": 220, "column": 10 }, "end": { - "line": 165, + "line": 220, "column": 11 } } @@ -38172,15 +46749,15 @@ "postfix": false, "binop": null }, - "start": 3239, - "end": 3240, + "start": 4321, + "end": 4322, "loc": { "start": { - "line": 165, + "line": 220, "column": 11 }, "end": { - "line": 165, + "line": 220, "column": 12 } } @@ -38199,15 +46776,15 @@ "updateContext": null }, "value": "input", - "start": 3240, - "end": 3247, + "start": 4322, + "end": 4329, "loc": { "start": { - "line": 165, + "line": 220, "column": 12 }, "end": { - "line": 165, + "line": 220, "column": 19 } } @@ -38224,15 +46801,15 @@ "postfix": false, "binop": null }, - "start": 3247, - "end": 3248, + "start": 4329, + "end": 4330, "loc": { "start": { - "line": 165, + "line": 220, "column": 19 }, "end": { - "line": 165, + "line": 220, "column": 20 } } @@ -38251,15 +46828,15 @@ "updateContext": null }, "value": "innertype", - "start": 3255, - "end": 3264, + "start": 4337, + "end": 4346, "loc": { "start": { - "line": 166, + "line": 221, "column": 6 }, "end": { - "line": 166, + "line": 221, "column": 15 } } @@ -38278,15 +46855,15 @@ "updateContext": null }, "value": "=", - "start": 3264, - "end": 3265, + "start": 4346, + "end": 4347, "loc": { "start": { - "line": 166, + "line": 221, "column": 15 }, "end": { - "line": 166, + "line": 221, "column": 16 } } @@ -38303,15 +46880,15 @@ "postfix": false, "binop": null }, - "start": 3265, - "end": 3266, + "start": 4347, + "end": 4348, "loc": { "start": { - "line": 166, + "line": 221, "column": 16 }, "end": { - "line": 166, + "line": 221, "column": 17 } } @@ -38330,15 +46907,15 @@ "updateContext": null }, "value": "number", - "start": 3266, - "end": 3274, + "start": 4348, + "end": 4356, "loc": { "start": { - "line": 166, + "line": 221, "column": 17 }, "end": { - "line": 166, + "line": 221, "column": 25 } } @@ -38355,15 +46932,15 @@ "postfix": false, "binop": null }, - "start": 3274, - "end": 3275, + "start": 4356, + "end": 4357, "loc": { "start": { - "line": 166, + "line": 221, "column": 25 }, "end": { - "line": 166, + "line": 221, "column": 26 } } @@ -38382,15 +46959,15 @@ "updateContext": null }, "value": "isRequired", - "start": 3282, - "end": 3292, + "start": 4364, + "end": 4374, "loc": { "start": { - "line": 167, + "line": 222, "column": 6 }, "end": { - "line": 167, + "line": 222, "column": 16 } } @@ -38409,15 +46986,15 @@ "updateContext": null }, "value": "=", - "start": 3292, - "end": 3293, + "start": 4374, + "end": 4375, "loc": { "start": { - "line": 167, + "line": 222, "column": 16 }, "end": { - "line": 167, + "line": 222, "column": 17 } } @@ -38434,15 +47011,15 @@ "postfix": false, "binop": null }, - "start": 3293, - "end": 3294, + "start": 4375, + "end": 4376, "loc": { "start": { - "line": 167, + "line": 222, "column": 17 }, "end": { - "line": 167, + "line": 222, "column": 18 } } @@ -38462,15 +47039,15 @@ "updateContext": null }, "value": "true", - "start": 3294, - "end": 3298, + "start": 4376, + "end": 4380, "loc": { "start": { - "line": 167, + "line": 222, "column": 18 }, "end": { - "line": 167, + "line": 222, "column": 22 } } @@ -38487,15 +47064,15 @@ "postfix": false, "binop": null }, - "start": 3298, - "end": 3299, + "start": 4380, + "end": 4381, "loc": { "start": { - "line": 167, + "line": 222, "column": 22 }, "end": { - "line": 167, + "line": 222, "column": 23 } } @@ -38514,15 +47091,15 @@ "updateContext": null }, "value": "value", - "start": 3306, - "end": 3311, + "start": 4388, + "end": 4393, "loc": { "start": { - "line": 168, + "line": 223, "column": 6 }, "end": { - "line": 168, + "line": 223, "column": 11 } } @@ -38541,15 +47118,15 @@ "updateContext": null }, "value": "=", - "start": 3311, - "end": 3312, + "start": 4393, + "end": 4394, "loc": { "start": { - "line": 168, + "line": 223, "column": 11 }, "end": { - "line": 168, + "line": 223, "column": 12 } } @@ -38566,15 +47143,15 @@ "postfix": false, "binop": null }, - "start": 3312, - "end": 3313, + "start": 4394, + "end": 4395, "loc": { "start": { - "line": 168, + "line": 223, "column": 12 }, "end": { - "line": 168, + "line": 223, "column": 13 } } @@ -38592,15 +47169,15 @@ "binop": null }, "value": "values", - "start": 3313, - "end": 3319, + "start": 4395, + "end": 4401, "loc": { "start": { - "line": 168, + "line": 223, "column": 13 }, "end": { - "line": 168, + "line": 223, "column": 19 } } @@ -38618,15 +47195,15 @@ "binop": null, "updateContext": null }, - "start": 3319, - "end": 3320, + "start": 4401, + "end": 4402, "loc": { "start": { - "line": 168, + "line": 223, "column": 19 }, "end": { - "line": 168, + "line": 223, "column": 20 } } @@ -38644,15 +47221,15 @@ "binop": null }, "value": "two", - "start": 3320, - "end": 3323, + "start": 4402, + "end": 4405, "loc": { "start": { - "line": 168, + "line": 223, "column": 20 }, "end": { - "line": 168, + "line": 223, "column": 23 } } @@ -38669,15 +47246,15 @@ "postfix": false, "binop": null }, - "start": 3323, - "end": 3324, + "start": 4405, + "end": 4406, "loc": { "start": { - "line": 168, + "line": 223, "column": 23 }, "end": { - "line": 168, + "line": 223, "column": 24 } } @@ -38696,15 +47273,15 @@ "updateContext": null }, "value": "onValueChange", - "start": 3331, - "end": 3344, + "start": 4413, + "end": 4426, "loc": { "start": { - "line": 169, + "line": 224, "column": 6 }, "end": { - "line": 169, + "line": 224, "column": 19 } } @@ -38723,15 +47300,15 @@ "updateContext": null }, "value": "=", - "start": 3344, - "end": 3345, + "start": 4426, + "end": 4427, "loc": { "start": { - "line": 169, + "line": 224, "column": 19 }, "end": { - "line": 169, + "line": 224, "column": 20 } } @@ -38748,15 +47325,15 @@ "postfix": false, "binop": null }, - "start": 3345, - "end": 3346, + "start": 4427, + "end": 4428, "loc": { "start": { - "line": 169, + "line": 224, "column": 20 }, "end": { - "line": 169, + "line": 224, "column": 21 } } @@ -38773,15 +47350,15 @@ "postfix": false, "binop": null }, - "start": 3346, - "end": 3347, + "start": 4428, + "end": 4429, "loc": { "start": { - "line": 169, + "line": 224, "column": 21 }, "end": { - "line": 169, + "line": 224, "column": 22 } } @@ -38799,15 +47376,15 @@ "binop": null }, "value": "newValue", - "start": 3347, - "end": 3355, + "start": 4429, + "end": 4437, "loc": { "start": { - "line": 169, + "line": 224, "column": 22 }, "end": { - "line": 169, + "line": 224, "column": 30 } } @@ -38824,15 +47401,15 @@ "postfix": false, "binop": null }, - "start": 3355, - "end": 3356, + "start": 4437, + "end": 4438, "loc": { "start": { - "line": 169, + "line": 224, "column": 30 }, "end": { - "line": 169, + "line": 224, "column": 31 } } @@ -38850,15 +47427,15 @@ "binop": null, "updateContext": null }, - "start": 3357, - "end": 3359, + "start": 4439, + "end": 4441, "loc": { "start": { - "line": 169, + "line": 224, "column": 32 }, "end": { - "line": 169, + "line": 224, "column": 34 } } @@ -38875,15 +47452,15 @@ "postfix": false, "binop": null }, - "start": 3360, - "end": 3361, + "start": 4442, + "end": 4443, "loc": { "start": { - "line": 169, + "line": 224, "column": 35 }, "end": { - "line": 169, + "line": 224, "column": 36 } } @@ -38901,15 +47478,15 @@ "binop": null }, "value": "values", - "start": 3369, - "end": 3375, + "start": 4451, + "end": 4457, "loc": { "start": { - "line": 170, + "line": 225, "column": 7 }, "end": { - "line": 170, + "line": 225, "column": 13 } } @@ -38927,15 +47504,15 @@ "binop": null, "updateContext": null }, - "start": 3375, - "end": 3376, + "start": 4457, + "end": 4458, "loc": { "start": { - "line": 170, + "line": 225, "column": 13 }, "end": { - "line": 170, + "line": 225, "column": 14 } } @@ -38953,15 +47530,15 @@ "binop": null }, "value": "two", - "start": 3376, - "end": 3379, + "start": 4458, + "end": 4461, "loc": { "start": { - "line": 170, + "line": 225, "column": 14 }, "end": { - "line": 170, + "line": 225, "column": 17 } } @@ -38980,15 +47557,15 @@ "updateContext": null }, "value": "=", - "start": 3379, - "end": 3380, + "start": 4461, + "end": 4462, "loc": { "start": { - "line": 170, + "line": 225, "column": 17 }, "end": { - "line": 170, + "line": 225, "column": 18 } } @@ -39006,15 +47583,15 @@ "binop": null }, "value": "newValue", - "start": 3380, - "end": 3388, + "start": 4462, + "end": 4470, "loc": { "start": { - "line": 170, + "line": 225, "column": 18 }, "end": { - "line": 170, + "line": 225, "column": 26 } } @@ -39032,15 +47609,15 @@ "binop": null, "updateContext": null }, - "start": 3388, - "end": 3389, + "start": 4470, + "end": 4471, "loc": { "start": { - "line": 170, + "line": 225, "column": 26 }, "end": { - "line": 170, + "line": 225, "column": 27 } } @@ -39057,15 +47634,15 @@ "postfix": false, "binop": null }, - "start": 3396, - "end": 3397, + "start": 4478, + "end": 4479, "loc": { "start": { - "line": 171, + "line": 226, "column": 6 }, "end": { - "line": 171, + "line": 226, "column": 7 } } @@ -39082,15 +47659,15 @@ "postfix": false, "binop": null }, - "start": 3397, - "end": 3398, + "start": 4479, + "end": 4480, "loc": { "start": { - "line": 171, + "line": 226, "column": 7 }, "end": { - "line": 171, + "line": 226, "column": 8 } } @@ -39109,15 +47686,15 @@ "updateContext": null }, "value": "/", - "start": 3404, - "end": 3405, + "start": 4486, + "end": 4487, "loc": { "start": { - "line": 172, + "line": 227, "column": 5 }, "end": { - "line": 172, + "line": 227, "column": 6 } } @@ -39134,15 +47711,15 @@ "postfix": false, "binop": null }, - "start": 3405, - "end": 3406, + "start": 4487, + "end": 4488, "loc": { "start": { - "line": 172, + "line": 227, "column": 6 }, "end": { - "line": 172, + "line": 227, "column": 7 } } @@ -39161,15 +47738,15 @@ "updateContext": null }, "value": "\n\n\t\t\t\t\t", - "start": 3406, - "end": 3413, + "start": 4488, + "end": 4495, "loc": { "start": { - "line": 172, + "line": 227, "column": 7 }, "end": { - "line": 174, + "line": 229, "column": 5 } } @@ -39186,15 +47763,15 @@ "postfix": false, "binop": null }, - "start": 3413, - "end": 3414, + "start": 4495, + "end": 4496, "loc": { "start": { - "line": 174, + "line": 229, "column": 5 }, "end": { - "line": 174, + "line": 229, "column": 6 } } @@ -39213,15 +47790,15 @@ "updateContext": null }, "value": "FieldGroup", - "start": 3414, - "end": 3424, + "start": 4496, + "end": 4506, "loc": { "start": { - "line": 174, + "line": 229, "column": 6 }, "end": { - "line": 174, + "line": 229, "column": 16 } } @@ -39240,15 +47817,15 @@ "updateContext": null }, "value": "id", - "start": 3431, - "end": 3433, + "start": 4513, + "end": 4515, "loc": { "start": { - "line": 175, + "line": 230, "column": 6 }, "end": { - "line": 175, + "line": 230, "column": 8 } } @@ -39267,15 +47844,15 @@ "updateContext": null }, "value": "=", - "start": 3433, - "end": 3434, + "start": 4515, + "end": 4516, "loc": { "start": { - "line": 175, + "line": 230, "column": 8 }, "end": { - "line": 175, + "line": 230, "column": 9 } } @@ -39292,15 +47869,15 @@ "postfix": false, "binop": null }, - "start": 3434, - "end": 3435, + "start": 4516, + "end": 4517, "loc": { "start": { - "line": 175, + "line": 230, "column": 9 }, "end": { - "line": 175, + "line": 230, "column": 10 } } @@ -39319,15 +47896,15 @@ "updateContext": null }, "value": "control-25", - "start": 3435, - "end": 3447, + "start": 4517, + "end": 4529, "loc": { "start": { - "line": 175, + "line": 230, "column": 10 }, "end": { - "line": 175, + "line": 230, "column": 22 } } @@ -39344,15 +47921,15 @@ "postfix": false, "binop": null }, - "start": 3447, - "end": 3448, + "start": 4529, + "end": 4530, "loc": { "start": { - "line": 175, + "line": 230, "column": 22 }, "end": { - "line": 175, + "line": 230, "column": 23 } } @@ -39371,15 +47948,15 @@ "updateContext": null }, "value": "label", - "start": 3455, - "end": 3460, + "start": 4537, + "end": 4542, "loc": { "start": { - "line": 176, + "line": 231, "column": 6 }, "end": { - "line": 176, + "line": 231, "column": 11 } } @@ -39398,15 +47975,15 @@ "updateContext": null }, "value": "=", - "start": 3460, - "end": 3461, + "start": 4542, + "end": 4543, "loc": { "start": { - "line": 176, + "line": 231, "column": 11 }, "end": { - "line": 176, + "line": 231, "column": 12 } } @@ -39423,15 +48000,15 @@ "postfix": false, "binop": null }, - "start": 3461, - "end": 3462, + "start": 4543, + "end": 4544, "loc": { "start": { - "line": 176, + "line": 231, "column": 12 }, "end": { - "line": 176, + "line": 231, "column": 13 } } @@ -39450,15 +48027,15 @@ "updateContext": null }, "value": "Non Required input disabled with error", - "start": 3462, - "end": 3502, + "start": 4544, + "end": 4584, "loc": { "start": { - "line": 176, + "line": 231, "column": 13 }, "end": { - "line": 176, + "line": 231, "column": 53 } } @@ -39475,15 +48052,15 @@ "postfix": false, "binop": null }, - "start": 3502, - "end": 3503, + "start": 4584, + "end": 4585, "loc": { "start": { - "line": 176, + "line": 231, "column": 53 }, "end": { - "line": 176, + "line": 231, "column": 54 } } @@ -39502,15 +48079,15 @@ "updateContext": null }, "value": "type", - "start": 3510, - "end": 3514, + "start": 4592, + "end": 4596, "loc": { "start": { - "line": 177, + "line": 232, "column": 6 }, "end": { - "line": 177, + "line": 232, "column": 10 } } @@ -39529,15 +48106,15 @@ "updateContext": null }, "value": "=", - "start": 3514, - "end": 3515, + "start": 4596, + "end": 4597, "loc": { "start": { - "line": 177, + "line": 232, "column": 10 }, "end": { - "line": 177, + "line": 232, "column": 11 } } @@ -39554,15 +48131,15 @@ "postfix": false, "binop": null }, - "start": 3515, - "end": 3516, + "start": 4597, + "end": 4598, "loc": { "start": { - "line": 177, + "line": 232, "column": 11 }, "end": { - "line": 177, + "line": 232, "column": 12 } } @@ -39581,15 +48158,15 @@ "updateContext": null }, "value": "input", - "start": 3516, - "end": 3523, + "start": 4598, + "end": 4605, "loc": { "start": { - "line": 177, + "line": 232, "column": 12 }, "end": { - "line": 177, + "line": 232, "column": 19 } } @@ -39606,15 +48183,15 @@ "postfix": false, "binop": null }, - "start": 3523, - "end": 3524, + "start": 4605, + "end": 4606, "loc": { "start": { - "line": 177, + "line": 232, "column": 19 }, "end": { - "line": 177, + "line": 232, "column": 20 } } @@ -39633,15 +48210,15 @@ "updateContext": null }, "value": "innertype", - "start": 3531, - "end": 3540, + "start": 4613, + "end": 4622, "loc": { "start": { - "line": 178, + "line": 233, "column": 6 }, "end": { - "line": 178, + "line": 233, "column": 15 } } @@ -39660,15 +48237,15 @@ "updateContext": null }, "value": "=", - "start": 3540, - "end": 3541, + "start": 4622, + "end": 4623, "loc": { "start": { - "line": 178, + "line": 233, "column": 15 }, "end": { - "line": 178, + "line": 233, "column": 16 } } @@ -39685,15 +48262,15 @@ "postfix": false, "binop": null }, - "start": 3541, - "end": 3542, + "start": 4623, + "end": 4624, "loc": { "start": { - "line": 178, + "line": 233, "column": 16 }, "end": { - "line": 178, + "line": 233, "column": 17 } } @@ -39712,15 +48289,15 @@ "updateContext": null }, "value": "text", - "start": 3542, - "end": 3548, + "start": 4624, + "end": 4630, "loc": { "start": { - "line": 178, + "line": 233, "column": 17 }, "end": { - "line": 178, + "line": 233, "column": 23 } } @@ -39737,15 +48314,15 @@ "postfix": false, "binop": null }, - "start": 3548, - "end": 3549, + "start": 4630, + "end": 4631, "loc": { "start": { - "line": 178, + "line": 233, "column": 23 }, "end": { - "line": 178, + "line": 233, "column": 24 } } @@ -39764,15 +48341,15 @@ "updateContext": null }, "value": "isRequired", - "start": 3556, - "end": 3566, + "start": 4638, + "end": 4648, "loc": { "start": { - "line": 179, + "line": 234, "column": 6 }, "end": { - "line": 179, + "line": 234, "column": 16 } } @@ -39791,15 +48368,15 @@ "updateContext": null }, "value": "=", - "start": 3566, - "end": 3567, + "start": 4648, + "end": 4649, "loc": { "start": { - "line": 179, + "line": 234, "column": 16 }, "end": { - "line": 179, + "line": 234, "column": 17 } } @@ -39816,15 +48393,15 @@ "postfix": false, "binop": null }, - "start": 3567, - "end": 3568, + "start": 4649, + "end": 4650, "loc": { "start": { - "line": 179, + "line": 234, "column": 17 }, "end": { - "line": 179, + "line": 234, "column": 18 } } @@ -39844,15 +48421,15 @@ "updateContext": null }, "value": "true", - "start": 3568, - "end": 3572, + "start": 4650, + "end": 4654, "loc": { "start": { - "line": 179, + "line": 234, "column": 18 }, "end": { - "line": 179, + "line": 234, "column": 22 } } @@ -39869,15 +48446,15 @@ "postfix": false, "binop": null }, - "start": 3572, - "end": 3573, + "start": 4654, + "end": 4655, "loc": { "start": { - "line": 179, + "line": 234, "column": 22 }, "end": { - "line": 179, + "line": 234, "column": 23 } } @@ -39896,15 +48473,15 @@ "updateContext": null }, "value": "value", - "start": 3580, - "end": 3585, + "start": 4662, + "end": 4667, "loc": { "start": { - "line": 180, + "line": 235, "column": 6 }, "end": { - "line": 180, + "line": 235, "column": 11 } } @@ -39923,15 +48500,15 @@ "updateContext": null }, "value": "=", - "start": 3585, - "end": 3586, + "start": 4667, + "end": 4668, "loc": { "start": { - "line": 180, + "line": 235, "column": 11 }, "end": { - "line": 180, + "line": 235, "column": 12 } } @@ -39948,15 +48525,15 @@ "postfix": false, "binop": null }, - "start": 3586, - "end": 3587, + "start": 4668, + "end": 4669, "loc": { "start": { - "line": 180, + "line": 235, "column": 12 }, "end": { - "line": 180, + "line": 235, "column": 13 } } @@ -39974,15 +48551,15 @@ "binop": null }, "value": "values", - "start": 3587, - "end": 3593, + "start": 4669, + "end": 4675, "loc": { "start": { - "line": 180, + "line": 235, "column": 13 }, "end": { - "line": 180, + "line": 235, "column": 19 } } @@ -40000,15 +48577,15 @@ "binop": null, "updateContext": null }, - "start": 3593, - "end": 3594, + "start": 4675, + "end": 4676, "loc": { "start": { - "line": 180, + "line": 235, "column": 19 }, "end": { - "line": 180, + "line": 235, "column": 20 } } @@ -40026,15 +48603,15 @@ "binop": null }, "value": "two", - "start": 3594, - "end": 3597, + "start": 4676, + "end": 4679, "loc": { "start": { - "line": 180, + "line": 235, "column": 20 }, "end": { - "line": 180, + "line": 235, "column": 23 } } @@ -40051,15 +48628,15 @@ "postfix": false, "binop": null }, - "start": 3597, - "end": 3598, + "start": 4679, + "end": 4680, "loc": { "start": { - "line": 180, + "line": 235, "column": 23 }, "end": { - "line": 180, + "line": 235, "column": 24 } } @@ -40078,15 +48655,15 @@ "updateContext": null }, "value": "onValueChange", - "start": 3605, - "end": 3618, + "start": 4687, + "end": 4700, "loc": { "start": { - "line": 181, + "line": 236, "column": 6 }, "end": { - "line": 181, + "line": 236, "column": 19 } } @@ -40105,15 +48682,15 @@ "updateContext": null }, "value": "=", - "start": 3618, - "end": 3619, + "start": 4700, + "end": 4701, "loc": { "start": { - "line": 181, + "line": 236, "column": 19 }, "end": { - "line": 181, + "line": 236, "column": 20 } } @@ -40130,15 +48707,15 @@ "postfix": false, "binop": null }, - "start": 3619, - "end": 3620, + "start": 4701, + "end": 4702, "loc": { "start": { - "line": 181, + "line": 236, "column": 20 }, "end": { - "line": 181, + "line": 236, "column": 21 } } @@ -40155,15 +48732,15 @@ "postfix": false, "binop": null }, - "start": 3620, - "end": 3621, + "start": 4702, + "end": 4703, "loc": { "start": { - "line": 181, + "line": 236, "column": 21 }, "end": { - "line": 181, + "line": 236, "column": 22 } } @@ -40181,15 +48758,15 @@ "binop": null }, "value": "newValue", - "start": 3621, - "end": 3629, + "start": 4703, + "end": 4711, "loc": { "start": { - "line": 181, + "line": 236, "column": 22 }, "end": { - "line": 181, + "line": 236, "column": 30 } } @@ -40206,15 +48783,15 @@ "postfix": false, "binop": null }, - "start": 3629, - "end": 3630, + "start": 4711, + "end": 4712, "loc": { "start": { - "line": 181, + "line": 236, "column": 30 }, "end": { - "line": 181, + "line": 236, "column": 31 } } @@ -40232,15 +48809,15 @@ "binop": null, "updateContext": null }, - "start": 3631, - "end": 3633, + "start": 4713, + "end": 4715, "loc": { "start": { - "line": 181, + "line": 236, "column": 32 }, "end": { - "line": 181, + "line": 236, "column": 34 } } @@ -40257,15 +48834,15 @@ "postfix": false, "binop": null }, - "start": 3634, - "end": 3635, + "start": 4716, + "end": 4717, "loc": { "start": { - "line": 181, + "line": 236, "column": 35 }, "end": { - "line": 181, + "line": 236, "column": 36 } } @@ -40283,15 +48860,15 @@ "binop": null }, "value": "values", - "start": 3643, - "end": 3649, + "start": 4725, + "end": 4731, "loc": { "start": { - "line": 182, + "line": 237, "column": 7 }, "end": { - "line": 182, + "line": 237, "column": 13 } } @@ -40309,15 +48886,15 @@ "binop": null, "updateContext": null }, - "start": 3649, - "end": 3650, + "start": 4731, + "end": 4732, "loc": { "start": { - "line": 182, + "line": 237, "column": 13 }, "end": { - "line": 182, + "line": 237, "column": 14 } } @@ -40335,15 +48912,15 @@ "binop": null }, "value": "two", - "start": 3650, - "end": 3653, + "start": 4732, + "end": 4735, "loc": { "start": { - "line": 182, + "line": 237, "column": 14 }, "end": { - "line": 182, + "line": 237, "column": 17 } } @@ -40362,15 +48939,15 @@ "updateContext": null }, "value": "=", - "start": 3653, - "end": 3654, + "start": 4735, + "end": 4736, "loc": { "start": { - "line": 182, + "line": 237, "column": 17 }, "end": { - "line": 182, + "line": 237, "column": 18 } } @@ -40388,15 +48965,15 @@ "binop": null }, "value": "newValue", - "start": 3654, - "end": 3662, + "start": 4736, + "end": 4744, "loc": { "start": { - "line": 182, + "line": 237, "column": 18 }, "end": { - "line": 182, + "line": 237, "column": 26 } } @@ -40414,15 +48991,15 @@ "binop": null, "updateContext": null }, - "start": 3662, - "end": 3663, + "start": 4744, + "end": 4745, "loc": { "start": { - "line": 182, + "line": 237, "column": 26 }, "end": { - "line": 182, + "line": 237, "column": 27 } } @@ -40439,15 +49016,15 @@ "postfix": false, "binop": null }, - "start": 3670, - "end": 3671, + "start": 4752, + "end": 4753, "loc": { "start": { - "line": 183, + "line": 238, "column": 6 }, "end": { - "line": 183, + "line": 238, "column": 7 } } @@ -40464,15 +49041,15 @@ "postfix": false, "binop": null }, - "start": 3671, - "end": 3672, + "start": 4753, + "end": 4754, "loc": { "start": { - "line": 183, + "line": 238, "column": 7 }, "end": { - "line": 183, + "line": 238, "column": 8 } } @@ -40491,15 +49068,15 @@ "updateContext": null }, "value": "message", - "start": 3679, - "end": 3686, + "start": 4761, + "end": 4768, "loc": { "start": { - "line": 184, + "line": 239, "column": 6 }, "end": { - "line": 184, + "line": 239, "column": 13 } } @@ -40518,15 +49095,15 @@ "updateContext": null }, "value": "=", - "start": 3686, - "end": 3687, + "start": 4768, + "end": 4769, "loc": { "start": { - "line": 184, + "line": 239, "column": 13 }, "end": { - "line": 184, + "line": 239, "column": 14 } } @@ -40543,15 +49120,15 @@ "postfix": false, "binop": null }, - "start": 3687, - "end": 3688, + "start": 4769, + "end": 4770, "loc": { "start": { - "line": 184, + "line": 239, "column": 14 }, "end": { - "line": 184, + "line": 239, "column": 15 } } @@ -40568,15 +49145,15 @@ "postfix": false, "binop": null }, - "start": 3688, - "end": 3689, + "start": 4770, + "end": 4771, "loc": { "start": { - "line": 184, + "line": 239, "column": 15 }, "end": { - "line": 184, + "line": 239, "column": 16 } } @@ -40594,15 +49171,15 @@ "binop": null }, "value": "message", - "start": 3697, - "end": 3704, + "start": 4779, + "end": 4786, "loc": { "start": { - "line": 185, + "line": 240, "column": 7 }, "end": { - "line": 185, + "line": 240, "column": 14 } } @@ -40620,15 +49197,15 @@ "binop": null, "updateContext": null }, - "start": 3704, - "end": 3705, + "start": 4786, + "end": 4787, "loc": { "start": { - "line": 185, + "line": 240, "column": 14 }, "end": { - "line": 185, + "line": 240, "column": 15 } } @@ -40647,15 +49224,15 @@ "updateContext": null }, "value": "Failures happened", - "start": 3705, - "end": 3724, + "start": 4787, + "end": 4806, "loc": { "start": { - "line": 185, + "line": 240, "column": 15 }, "end": { - "line": 185, + "line": 240, "column": 34 } } @@ -40673,15 +49250,15 @@ "binop": null, "updateContext": null }, - "start": 3724, - "end": 3725, + "start": 4806, + "end": 4807, "loc": { "start": { - "line": 185, + "line": 240, "column": 34 }, "end": { - "line": 185, + "line": 240, "column": 35 } } @@ -40699,15 +49276,15 @@ "binop": null }, "value": "error", - "start": 3733, - "end": 3738, + "start": 4815, + "end": 4820, "loc": { "start": { - "line": 186, + "line": 241, "column": 7 }, "end": { - "line": 186, + "line": 241, "column": 12 } } @@ -40725,15 +49302,15 @@ "binop": null, "updateContext": null }, - "start": 3738, - "end": 3739, + "start": 4820, + "end": 4821, "loc": { "start": { - "line": 186, + "line": 241, "column": 12 }, "end": { - "line": 186, + "line": 241, "column": 13 } } @@ -40753,15 +49330,15 @@ "updateContext": null }, "value": "true", - "start": 3740, - "end": 3744, + "start": 4822, + "end": 4826, "loc": { "start": { - "line": 186, + "line": 241, "column": 14 }, "end": { - "line": 186, + "line": 241, "column": 18 } } @@ -40778,15 +49355,15 @@ "postfix": false, "binop": null }, - "start": 3751, - "end": 3752, + "start": 4833, + "end": 4834, "loc": { "start": { - "line": 187, + "line": 242, "column": 6 }, "end": { - "line": 187, + "line": 242, "column": 7 } } @@ -40803,15 +49380,15 @@ "postfix": false, "binop": null }, - "start": 3752, - "end": 3753, + "start": 4834, + "end": 4835, "loc": { "start": { - "line": 187, + "line": 242, "column": 7 }, "end": { - "line": 187, + "line": 242, "column": 8 } } @@ -40830,15 +49407,15 @@ "updateContext": null }, "value": "disabled", - "start": 3760, - "end": 3768, + "start": 4842, + "end": 4850, "loc": { "start": { - "line": 188, + "line": 243, "column": 6 }, "end": { - "line": 188, + "line": 243, "column": 14 } } @@ -40857,15 +49434,15 @@ "updateContext": null }, "value": "=", - "start": 3768, - "end": 3769, + "start": 4850, + "end": 4851, "loc": { "start": { - "line": 188, + "line": 243, "column": 14 }, "end": { - "line": 188, + "line": 243, "column": 15 } } @@ -40882,15 +49459,15 @@ "postfix": false, "binop": null }, - "start": 3769, - "end": 3770, + "start": 4851, + "end": 4852, "loc": { "start": { - "line": 188, + "line": 243, "column": 15 }, "end": { - "line": 188, + "line": 243, "column": 16 } } @@ -40910,15 +49487,15 @@ "updateContext": null }, "value": "true", - "start": 3770, - "end": 3774, + "start": 4852, + "end": 4856, "loc": { "start": { - "line": 188, + "line": 243, "column": 16 }, "end": { - "line": 188, + "line": 243, "column": 20 } } @@ -40935,15 +49512,15 @@ "postfix": false, "binop": null }, - "start": 3774, - "end": 3775, + "start": 4856, + "end": 4857, "loc": { "start": { - "line": 188, + "line": 243, "column": 20 }, "end": { - "line": 188, + "line": 243, "column": 21 } } @@ -40962,15 +49539,15 @@ "updateContext": null }, "value": "/", - "start": 3781, - "end": 3782, + "start": 4863, + "end": 4864, "loc": { "start": { - "line": 189, + "line": 244, "column": 5 }, "end": { - "line": 189, + "line": 244, "column": 6 } } @@ -40987,15 +49564,15 @@ "postfix": false, "binop": null }, - "start": 3782, - "end": 3783, + "start": 4864, + "end": 4865, "loc": { "start": { - "line": 189, + "line": 244, "column": 6 }, "end": { - "line": 189, + "line": 244, "column": 7 } } @@ -41014,15 +49591,15 @@ "updateContext": null }, "value": "\n\n\t\t\t\t\t", - "start": 3783, - "end": 3790, + "start": 4865, + "end": 4872, "loc": { "start": { - "line": 189, + "line": 244, "column": 7 }, "end": { - "line": 191, + "line": 246, "column": 5 } } @@ -41039,15 +49616,15 @@ "postfix": false, "binop": null }, - "start": 3790, - "end": 3791, + "start": 4872, + "end": 4873, "loc": { "start": { - "line": 191, + "line": 246, "column": 5 }, "end": { - "line": 191, + "line": 246, "column": 6 } } @@ -41066,15 +49643,15 @@ "updateContext": null }, "value": "FieldGroup", - "start": 3791, - "end": 3801, + "start": 4873, + "end": 4883, "loc": { "start": { - "line": 191, + "line": 246, "column": 6 }, "end": { - "line": 191, + "line": 246, "column": 16 } } @@ -41093,15 +49670,15 @@ "updateContext": null }, "value": "id", - "start": 3808, - "end": 3810, + "start": 4890, + "end": 4892, "loc": { "start": { - "line": 192, + "line": 247, "column": 6 }, "end": { - "line": 192, + "line": 247, "column": 8 } } @@ -41120,15 +49697,15 @@ "updateContext": null }, "value": "=", - "start": 3810, - "end": 3811, + "start": 4892, + "end": 4893, "loc": { "start": { - "line": 192, + "line": 247, "column": 8 }, "end": { - "line": 192, + "line": 247, "column": 9 } } @@ -41145,15 +49722,15 @@ "postfix": false, "binop": null }, - "start": 3811, - "end": 3812, + "start": 4893, + "end": 4894, "loc": { "start": { - "line": 192, + "line": 247, "column": 9 }, "end": { - "line": 192, + "line": 247, "column": 10 } } @@ -41172,15 +49749,15 @@ "updateContext": null }, "value": "control-25", - "start": 3812, - "end": 3824, + "start": 4894, + "end": 4906, "loc": { "start": { - "line": 192, + "line": 247, "column": 10 }, "end": { - "line": 192, + "line": 247, "column": 22 } } @@ -41197,15 +49774,15 @@ "postfix": false, "binop": null }, - "start": 3824, - "end": 3825, + "start": 4906, + "end": 4907, "loc": { "start": { - "line": 192, + "line": 247, "column": 22 }, "end": { - "line": 192, + "line": 247, "column": 23 } } @@ -41224,15 +49801,15 @@ "updateContext": null }, "value": "label", - "start": 3832, - "end": 3837, + "start": 4914, + "end": 4919, "loc": { "start": { - "line": 193, + "line": 248, "column": 6 }, "end": { - "line": 193, + "line": 248, "column": 11 } } @@ -41251,15 +49828,15 @@ "updateContext": null }, "value": "=", - "start": 3837, - "end": 3838, + "start": 4919, + "end": 4920, "loc": { "start": { - "line": 193, + "line": 248, "column": 11 }, "end": { - "line": 193, + "line": 248, "column": 12 } } @@ -41276,15 +49853,15 @@ "postfix": false, "binop": null }, - "start": 3838, - "end": 3839, + "start": 4920, + "end": 4921, "loc": { "start": { - "line": 193, + "line": 248, "column": 12 }, "end": { - "line": 193, + "line": 248, "column": 13 } } @@ -41303,15 +49880,15 @@ "updateContext": null }, "value": "Non Required input with non-error message", - "start": 3839, - "end": 3882, + "start": 4921, + "end": 4964, "loc": { "start": { - "line": 193, + "line": 248, "column": 13 }, "end": { - "line": 193, + "line": 248, "column": 56 } } @@ -41328,15 +49905,15 @@ "postfix": false, "binop": null }, - "start": 3882, - "end": 3883, + "start": 4964, + "end": 4965, "loc": { "start": { - "line": 193, + "line": 248, "column": 56 }, "end": { - "line": 193, + "line": 248, "column": 57 } } @@ -41355,15 +49932,15 @@ "updateContext": null }, "value": "type", - "start": 3890, - "end": 3894, + "start": 4972, + "end": 4976, "loc": { "start": { - "line": 194, + "line": 249, "column": 6 }, "end": { - "line": 194, + "line": 249, "column": 10 } } @@ -41382,15 +49959,15 @@ "updateContext": null }, "value": "=", - "start": 3894, - "end": 3895, + "start": 4976, + "end": 4977, "loc": { "start": { - "line": 194, + "line": 249, "column": 10 }, "end": { - "line": 194, + "line": 249, "column": 11 } } @@ -41407,15 +49984,15 @@ "postfix": false, "binop": null }, - "start": 3895, - "end": 3896, + "start": 4977, + "end": 4978, "loc": { "start": { - "line": 194, + "line": 249, "column": 11 }, "end": { - "line": 194, + "line": 249, "column": 12 } } @@ -41434,15 +50011,15 @@ "updateContext": null }, "value": "input", - "start": 3896, - "end": 3903, + "start": 4978, + "end": 4985, "loc": { "start": { - "line": 194, + "line": 249, "column": 12 }, "end": { - "line": 194, + "line": 249, "column": 19 } } @@ -41459,15 +50036,15 @@ "postfix": false, "binop": null }, - "start": 3903, - "end": 3904, + "start": 4985, + "end": 4986, "loc": { "start": { - "line": 194, + "line": 249, "column": 19 }, "end": { - "line": 194, + "line": 249, "column": 20 } } @@ -41486,15 +50063,15 @@ "updateContext": null }, "value": "innertype", - "start": 3911, - "end": 3920, + "start": 4993, + "end": 5002, "loc": { "start": { - "line": 195, + "line": 250, "column": 6 }, "end": { - "line": 195, + "line": 250, "column": 15 } } @@ -41513,15 +50090,15 @@ "updateContext": null }, "value": "=", - "start": 3920, - "end": 3921, + "start": 5002, + "end": 5003, "loc": { "start": { - "line": 195, + "line": 250, "column": 15 }, "end": { - "line": 195, + "line": 250, "column": 16 } } @@ -41538,15 +50115,15 @@ "postfix": false, "binop": null }, - "start": 3921, - "end": 3922, + "start": 5003, + "end": 5004, "loc": { "start": { - "line": 195, + "line": 250, "column": 16 }, "end": { - "line": 195, + "line": 250, "column": 17 } } @@ -41565,15 +50142,15 @@ "updateContext": null }, "value": "text", - "start": 3922, - "end": 3928, + "start": 5004, + "end": 5010, "loc": { "start": { - "line": 195, + "line": 250, "column": 17 }, "end": { - "line": 195, + "line": 250, "column": 23 } } @@ -41590,15 +50167,15 @@ "postfix": false, "binop": null }, - "start": 3928, - "end": 3929, + "start": 5010, + "end": 5011, "loc": { "start": { - "line": 195, + "line": 250, "column": 23 }, "end": { - "line": 195, + "line": 250, "column": 24 } } @@ -41617,15 +50194,15 @@ "updateContext": null }, "value": "isRequired", - "start": 3936, - "end": 3946, + "start": 5018, + "end": 5028, "loc": { "start": { - "line": 196, + "line": 251, "column": 6 }, "end": { - "line": 196, + "line": 251, "column": 16 } } @@ -41644,15 +50221,15 @@ "updateContext": null }, "value": "=", - "start": 3946, - "end": 3947, + "start": 5028, + "end": 5029, "loc": { "start": { - "line": 196, + "line": 251, "column": 16 }, "end": { - "line": 196, + "line": 251, "column": 17 } } @@ -41669,15 +50246,15 @@ "postfix": false, "binop": null }, - "start": 3947, - "end": 3948, + "start": 5029, + "end": 5030, "loc": { "start": { - "line": 196, + "line": 251, "column": 17 }, "end": { - "line": 196, + "line": 251, "column": 18 } } @@ -41697,15 +50274,15 @@ "updateContext": null }, "value": "true", - "start": 3948, - "end": 3952, + "start": 5030, + "end": 5034, "loc": { "start": { - "line": 196, + "line": 251, "column": 18 }, "end": { - "line": 196, + "line": 251, "column": 22 } } @@ -41722,15 +50299,15 @@ "postfix": false, "binop": null }, - "start": 3952, - "end": 3953, + "start": 5034, + "end": 5035, "loc": { "start": { - "line": 196, + "line": 251, "column": 22 }, "end": { - "line": 196, + "line": 251, "column": 23 } } @@ -41749,15 +50326,15 @@ "updateContext": null }, "value": "value", - "start": 3960, - "end": 3965, + "start": 5042, + "end": 5047, "loc": { "start": { - "line": 197, + "line": 252, "column": 6 }, "end": { - "line": 197, + "line": 252, "column": 11 } } @@ -41776,15 +50353,15 @@ "updateContext": null }, "value": "=", - "start": 3965, - "end": 3966, + "start": 5047, + "end": 5048, "loc": { "start": { - "line": 197, + "line": 252, "column": 11 }, "end": { - "line": 197, + "line": 252, "column": 12 } } @@ -41801,15 +50378,15 @@ "postfix": false, "binop": null }, - "start": 3966, - "end": 3967, + "start": 5048, + "end": 5049, "loc": { "start": { - "line": 197, + "line": 252, "column": 12 }, "end": { - "line": 197, + "line": 252, "column": 13 } } @@ -41827,15 +50404,15 @@ "binop": null }, "value": "values", - "start": 3967, - "end": 3973, + "start": 5049, + "end": 5055, "loc": { "start": { - "line": 197, + "line": 252, "column": 13 }, "end": { - "line": 197, + "line": 252, "column": 19 } } @@ -41853,15 +50430,15 @@ "binop": null, "updateContext": null }, - "start": 3973, - "end": 3974, + "start": 5055, + "end": 5056, "loc": { "start": { - "line": 197, + "line": 252, "column": 19 }, "end": { - "line": 197, + "line": 252, "column": 20 } } @@ -41879,15 +50456,15 @@ "binop": null }, "value": "two", - "start": 3974, - "end": 3977, + "start": 5056, + "end": 5059, "loc": { "start": { - "line": 197, + "line": 252, "column": 20 }, "end": { - "line": 197, + "line": 252, "column": 23 } } @@ -41904,15 +50481,15 @@ "postfix": false, "binop": null }, - "start": 3977, - "end": 3978, + "start": 5059, + "end": 5060, "loc": { "start": { - "line": 197, + "line": 252, "column": 23 }, "end": { - "line": 197, + "line": 252, "column": 24 } } @@ -41931,15 +50508,15 @@ "updateContext": null }, "value": "onValueChange", - "start": 3985, - "end": 3998, + "start": 5067, + "end": 5080, "loc": { "start": { - "line": 198, + "line": 253, "column": 6 }, "end": { - "line": 198, + "line": 253, "column": 19 } } @@ -41958,15 +50535,15 @@ "updateContext": null }, "value": "=", - "start": 3998, - "end": 3999, + "start": 5080, + "end": 5081, "loc": { "start": { - "line": 198, + "line": 253, "column": 19 }, "end": { - "line": 198, + "line": 253, "column": 20 } } @@ -41983,15 +50560,15 @@ "postfix": false, "binop": null }, - "start": 3999, - "end": 4000, + "start": 5081, + "end": 5082, "loc": { "start": { - "line": 198, + "line": 253, "column": 20 }, "end": { - "line": 198, + "line": 253, "column": 21 } } @@ -42008,15 +50585,15 @@ "postfix": false, "binop": null }, - "start": 4000, - "end": 4001, + "start": 5082, + "end": 5083, "loc": { "start": { - "line": 198, + "line": 253, "column": 21 }, "end": { - "line": 198, + "line": 253, "column": 22 } } @@ -42034,15 +50611,15 @@ "binop": null }, "value": "newValue", - "start": 4001, - "end": 4009, + "start": 5083, + "end": 5091, "loc": { "start": { - "line": 198, + "line": 253, "column": 22 }, "end": { - "line": 198, + "line": 253, "column": 30 } } @@ -42059,15 +50636,15 @@ "postfix": false, "binop": null }, - "start": 4009, - "end": 4010, + "start": 5091, + "end": 5092, "loc": { "start": { - "line": 198, + "line": 253, "column": 30 }, "end": { - "line": 198, + "line": 253, "column": 31 } } @@ -42085,15 +50662,15 @@ "binop": null, "updateContext": null }, - "start": 4011, - "end": 4013, + "start": 5093, + "end": 5095, "loc": { "start": { - "line": 198, + "line": 253, "column": 32 }, "end": { - "line": 198, + "line": 253, "column": 34 } } @@ -42110,15 +50687,15 @@ "postfix": false, "binop": null }, - "start": 4014, - "end": 4015, + "start": 5096, + "end": 5097, "loc": { "start": { - "line": 198, + "line": 253, "column": 35 }, "end": { - "line": 198, + "line": 253, "column": 36 } } @@ -42136,15 +50713,15 @@ "binop": null }, "value": "values", - "start": 4023, - "end": 4029, + "start": 5105, + "end": 5111, "loc": { "start": { - "line": 199, + "line": 254, "column": 7 }, "end": { - "line": 199, + "line": 254, "column": 13 } } @@ -42162,15 +50739,15 @@ "binop": null, "updateContext": null }, - "start": 4029, - "end": 4030, + "start": 5111, + "end": 5112, "loc": { "start": { - "line": 199, + "line": 254, "column": 13 }, "end": { - "line": 199, + "line": 254, "column": 14 } } @@ -42188,15 +50765,15 @@ "binop": null }, "value": "two", - "start": 4030, - "end": 4033, + "start": 5112, + "end": 5115, "loc": { "start": { - "line": 199, + "line": 254, "column": 14 }, "end": { - "line": 199, + "line": 254, "column": 17 } } @@ -42215,15 +50792,15 @@ "updateContext": null }, "value": "=", - "start": 4033, - "end": 4034, + "start": 5115, + "end": 5116, "loc": { "start": { - "line": 199, + "line": 254, "column": 17 }, "end": { - "line": 199, + "line": 254, "column": 18 } } @@ -42241,15 +50818,15 @@ "binop": null }, "value": "newValue", - "start": 4034, - "end": 4042, + "start": 5116, + "end": 5124, "loc": { "start": { - "line": 199, + "line": 254, "column": 18 }, "end": { - "line": 199, + "line": 254, "column": 26 } } @@ -42267,15 +50844,15 @@ "binop": null, "updateContext": null }, - "start": 4042, - "end": 4043, + "start": 5124, + "end": 5125, "loc": { "start": { - "line": 199, + "line": 254, "column": 26 }, "end": { - "line": 199, + "line": 254, "column": 27 } } @@ -42292,15 +50869,15 @@ "postfix": false, "binop": null }, - "start": 4050, - "end": 4051, + "start": 5132, + "end": 5133, "loc": { "start": { - "line": 200, + "line": 255, "column": 6 }, "end": { - "line": 200, + "line": 255, "column": 7 } } @@ -42317,15 +50894,15 @@ "postfix": false, "binop": null }, - "start": 4051, - "end": 4052, + "start": 5133, + "end": 5134, "loc": { "start": { - "line": 200, + "line": 255, "column": 7 }, "end": { - "line": 200, + "line": 255, "column": 8 } } @@ -42344,15 +50921,15 @@ "updateContext": null }, "value": "message", - "start": 4059, - "end": 4066, + "start": 5141, + "end": 5148, "loc": { "start": { - "line": 201, + "line": 256, "column": 6 }, "end": { - "line": 201, + "line": 256, "column": 13 } } @@ -42371,15 +50948,15 @@ "updateContext": null }, "value": "=", - "start": 4066, - "end": 4067, + "start": 5148, + "end": 5149, "loc": { "start": { - "line": 201, + "line": 256, "column": 13 }, "end": { - "line": 201, + "line": 256, "column": 14 } } @@ -42396,15 +50973,15 @@ "postfix": false, "binop": null }, - "start": 4067, - "end": 4068, + "start": 5149, + "end": 5150, "loc": { "start": { - "line": 201, + "line": 256, "column": 14 }, "end": { - "line": 201, + "line": 256, "column": 15 } } @@ -42421,15 +50998,15 @@ "postfix": false, "binop": null }, - "start": 4068, - "end": 4069, + "start": 5150, + "end": 5151, "loc": { "start": { - "line": 201, + "line": 256, "column": 15 }, "end": { - "line": 201, + "line": 256, "column": 16 } } @@ -42447,15 +51024,15 @@ "binop": null }, "value": "message", - "start": 4077, - "end": 4084, + "start": 5159, + "end": 5166, "loc": { "start": { - "line": 202, + "line": 257, "column": 7 }, "end": { - "line": 202, + "line": 257, "column": 14 } } @@ -42473,15 +51050,15 @@ "binop": null, "updateContext": null }, - "start": 4084, - "end": 4085, + "start": 5166, + "end": 5167, "loc": { "start": { - "line": 202, + "line": 257, "column": 14 }, "end": { - "line": 202, + "line": 257, "column": 15 } } @@ -42500,15 +51077,15 @@ "updateContext": null }, "value": "Failures did not happened", - "start": 4085, - "end": 4112, + "start": 5167, + "end": 5194, "loc": { "start": { - "line": 202, + "line": 257, "column": 15 }, "end": { - "line": 202, + "line": 257, "column": 42 } } @@ -42526,15 +51103,15 @@ "binop": null, "updateContext": null }, - "start": 4112, - "end": 4113, + "start": 5194, + "end": 5195, "loc": { "start": { - "line": 202, + "line": 257, "column": 42 }, "end": { - "line": 202, + "line": 257, "column": 43 } } @@ -42552,15 +51129,15 @@ "binop": null }, "value": "error", - "start": 4121, - "end": 4126, + "start": 5203, + "end": 5208, "loc": { "start": { - "line": 203, + "line": 258, "column": 7 }, "end": { - "line": 203, + "line": 258, "column": 12 } } @@ -42578,15 +51155,15 @@ "binop": null, "updateContext": null }, - "start": 4126, - "end": 4127, + "start": 5208, + "end": 5209, "loc": { "start": { - "line": 203, + "line": 258, "column": 12 }, "end": { - "line": 203, + "line": 258, "column": 13 } } @@ -42606,15 +51183,15 @@ "updateContext": null }, "value": "false", - "start": 4128, - "end": 4133, + "start": 5210, + "end": 5215, "loc": { "start": { - "line": 203, + "line": 258, "column": 14 }, "end": { - "line": 203, + "line": 258, "column": 19 } } @@ -42631,15 +51208,15 @@ "postfix": false, "binop": null }, - "start": 4140, - "end": 4141, + "start": 5222, + "end": 5223, "loc": { "start": { - "line": 204, + "line": 259, "column": 6 }, "end": { - "line": 204, + "line": 259, "column": 7 } } @@ -42656,15 +51233,15 @@ "postfix": false, "binop": null }, - "start": 4141, - "end": 4142, + "start": 5223, + "end": 5224, "loc": { "start": { - "line": 204, + "line": 259, "column": 7 }, "end": { - "line": 204, + "line": 259, "column": 8 } } @@ -42683,15 +51260,15 @@ "updateContext": null }, "value": "/", - "start": 4148, - "end": 4149, + "start": 5230, + "end": 5231, "loc": { "start": { - "line": 205, + "line": 260, "column": 5 }, "end": { - "line": 205, + "line": 260, "column": 6 } } @@ -42708,15 +51285,15 @@ "postfix": false, "binop": null }, - "start": 4149, - "end": 4150, + "start": 5231, + "end": 5232, "loc": { "start": { - "line": 205, + "line": 260, "column": 6 }, "end": { - "line": 205, + "line": 260, "column": 7 } } @@ -42735,15 +51312,15 @@ "updateContext": null }, "value": "\n\t\t\t\t", - "start": 4150, - "end": 4155, + "start": 5232, + "end": 5237, "loc": { "start": { - "line": 205, + "line": 260, "column": 7 }, "end": { - "line": 206, + "line": 261, "column": 4 } } @@ -42760,15 +51337,15 @@ "postfix": false, "binop": null }, - "start": 4155, - "end": 4156, + "start": 5237, + "end": 5238, "loc": { "start": { - "line": 206, + "line": 261, "column": 4 }, "end": { - "line": 206, + "line": 261, "column": 5 } } @@ -42787,15 +51364,15 @@ "updateContext": null }, "value": "/", - "start": 4156, - "end": 4157, + "start": 5238, + "end": 5239, "loc": { "start": { - "line": 206, + "line": 261, "column": 5 }, "end": { - "line": 206, + "line": 261, "column": 6 } } @@ -42814,15 +51391,15 @@ "updateContext": null }, "value": "div", - "start": 4157, - "end": 4160, + "start": 5239, + "end": 5242, "loc": { "start": { - "line": 206, + "line": 261, "column": 6 }, "end": { - "line": 206, + "line": 261, "column": 9 } } @@ -42839,15 +51416,15 @@ "postfix": false, "binop": null }, - "start": 4160, - "end": 4161, + "start": 5242, + "end": 5243, "loc": { "start": { - "line": 206, + "line": 261, "column": 9 }, "end": { - "line": 206, + "line": 261, "column": 10 } } @@ -42866,15 +51443,15 @@ "updateContext": null }, "value": "\n\t\t\t\t", - "start": 4161, - "end": 4166, + "start": 5243, + "end": 5248, "loc": { "start": { - "line": 206, + "line": 261, "column": 10 }, "end": { - "line": 207, + "line": 262, "column": 4 } } @@ -42891,15 +51468,15 @@ "postfix": false, "binop": null }, - "start": 4166, - "end": 4167, + "start": 5248, + "end": 5249, "loc": { "start": { - "line": 207, + "line": 262, "column": 4 }, "end": { - "line": 207, + "line": 262, "column": 5 } } @@ -42918,15 +51495,15 @@ "updateContext": null }, "value": "div", - "start": 4167, - "end": 4170, + "start": 5249, + "end": 5252, "loc": { "start": { - "line": 207, + "line": 262, "column": 5 }, "end": { - "line": 207, + "line": 262, "column": 8 } } @@ -42943,15 +51520,15 @@ "postfix": false, "binop": null }, - "start": 4170, - "end": 4171, + "start": 5252, + "end": 5253, "loc": { "start": { - "line": 207, + "line": 262, "column": 8 }, "end": { - "line": 207, + "line": 262, "column": 9 } } @@ -42970,15 +51547,15 @@ "updateContext": null }, "value": "\n\t\t\t\t\t", - "start": 4171, - "end": 4177, + "start": 5253, + "end": 5259, "loc": { "start": { - "line": 207, + "line": 262, "column": 9 }, "end": { - "line": 208, + "line": 263, "column": 5 } } @@ -42995,15 +51572,15 @@ "postfix": false, "binop": null }, - "start": 4177, - "end": 4178, + "start": 5259, + "end": 5260, "loc": { "start": { - "line": 208, + "line": 263, "column": 5 }, "end": { - "line": 208, + "line": 263, "column": 6 } } @@ -43022,15 +51599,15 @@ "updateContext": null }, "value": "h2", - "start": 4178, - "end": 4180, + "start": 5260, + "end": 5262, "loc": { "start": { - "line": 208, + "line": 263, "column": 6 }, "end": { - "line": 208, + "line": 263, "column": 8 } } @@ -43047,15 +51624,15 @@ "postfix": false, "binop": null }, - "start": 4180, - "end": 4181, + "start": 5262, + "end": 5263, "loc": { "start": { - "line": 208, + "line": 263, "column": 8 }, "end": { - "line": 208, + "line": 263, "column": 9 } } @@ -43074,15 +51651,15 @@ "updateContext": null }, "value": "Selects", - "start": 4181, - "end": 4188, + "start": 5263, + "end": 5270, "loc": { "start": { - "line": 208, + "line": 263, "column": 9 }, "end": { - "line": 208, + "line": 263, "column": 16 } } @@ -43099,15 +51676,15 @@ "postfix": false, "binop": null }, - "start": 4188, - "end": 4189, + "start": 5270, + "end": 5271, "loc": { "start": { - "line": 208, + "line": 263, "column": 16 }, "end": { - "line": 208, + "line": 263, "column": 17 } } @@ -43126,15 +51703,15 @@ "updateContext": null }, "value": "/", - "start": 4189, - "end": 4190, + "start": 5271, + "end": 5272, "loc": { "start": { - "line": 208, + "line": 263, "column": 17 }, "end": { - "line": 208, + "line": 263, "column": 18 } } @@ -43153,15 +51730,15 @@ "updateContext": null }, "value": "h2", - "start": 4190, - "end": 4192, + "start": 5272, + "end": 5274, "loc": { "start": { - "line": 208, + "line": 263, "column": 18 }, "end": { - "line": 208, + "line": 263, "column": 20 } } @@ -43178,15 +51755,15 @@ "postfix": false, "binop": null }, - "start": 4192, - "end": 4193, + "start": 5274, + "end": 5275, "loc": { "start": { - "line": 208, + "line": 263, "column": 20 }, "end": { - "line": 208, + "line": 263, "column": 21 } } @@ -43205,15 +51782,15 @@ "updateContext": null }, "value": "\n\t\t\t\t\t", - "start": 4193, - "end": 4199, + "start": 5275, + "end": 5281, "loc": { "start": { - "line": 208, + "line": 263, "column": 21 }, "end": { - "line": 209, + "line": 264, "column": 5 } } @@ -43230,15 +51807,15 @@ "postfix": false, "binop": null }, - "start": 4199, - "end": 4200, + "start": 5281, + "end": 5282, "loc": { "start": { - "line": 209, + "line": 264, "column": 5 }, "end": { - "line": 209, + "line": 264, "column": 6 } } @@ -43257,15 +51834,15 @@ "updateContext": null }, "value": "FieldGroup", - "start": 4200, - "end": 4210, + "start": 5282, + "end": 5292, "loc": { "start": { - "line": 209, + "line": 264, "column": 6 }, "end": { - "line": 209, + "line": 264, "column": 16 } } @@ -43284,15 +51861,15 @@ "updateContext": null }, "value": "type", - "start": 4217, - "end": 4221, + "start": 5299, + "end": 5303, "loc": { "start": { - "line": 210, + "line": 265, "column": 6 }, "end": { - "line": 210, + "line": 265, "column": 10 } } @@ -43311,15 +51888,15 @@ "updateContext": null }, "value": "=", - "start": 4221, - "end": 4222, + "start": 5303, + "end": 5304, "loc": { "start": { - "line": 210, + "line": 265, "column": 10 }, "end": { - "line": 210, + "line": 265, "column": 11 } } @@ -43336,15 +51913,15 @@ "postfix": false, "binop": null }, - "start": 4222, - "end": 4223, + "start": 5304, + "end": 5305, "loc": { "start": { - "line": 210, + "line": 265, "column": 11 }, "end": { - "line": 210, + "line": 265, "column": 12 } } @@ -43363,15 +51940,15 @@ "updateContext": null }, "value": "select", - "start": 4223, - "end": 4231, + "start": 5305, + "end": 5313, "loc": { "start": { - "line": 210, + "line": 265, "column": 12 }, "end": { - "line": 210, + "line": 265, "column": 20 } } @@ -43388,15 +51965,15 @@ "postfix": false, "binop": null }, - "start": 4231, - "end": 4232, + "start": 5313, + "end": 5314, "loc": { "start": { - "line": 210, + "line": 265, "column": 20 }, "end": { - "line": 210, + "line": 265, "column": 21 } } @@ -43415,15 +51992,15 @@ "updateContext": null }, "value": "label", - "start": 4239, - "end": 4244, + "start": 5321, + "end": 5326, "loc": { "start": { - "line": 211, + "line": 266, "column": 6 }, "end": { - "line": 211, + "line": 266, "column": 11 } } @@ -43442,15 +52019,15 @@ "updateContext": null }, "value": "=", - "start": 4244, - "end": 4245, + "start": 5326, + "end": 5327, "loc": { "start": { - "line": 211, + "line": 266, "column": 11 }, "end": { - "line": 211, + "line": 266, "column": 12 } } @@ -43467,15 +52044,15 @@ "postfix": false, "binop": null }, - "start": 4245, - "end": 4246, + "start": 5327, + "end": 5328, "loc": { "start": { - "line": 211, + "line": 266, "column": 12 }, "end": { - "line": 211, + "line": 266, "column": 13 } } @@ -43494,15 +52071,15 @@ "updateContext": null }, "value": "Basic select field", - "start": 4246, - "end": 4266, + "start": 5328, + "end": 5348, "loc": { "start": { - "line": 211, + "line": 266, "column": 13 }, "end": { - "line": 211, + "line": 266, "column": 33 } } @@ -43519,15 +52096,15 @@ "postfix": false, "binop": null }, - "start": 4266, - "end": 4267, + "start": 5348, + "end": 5349, "loc": { "start": { - "line": 211, + "line": 266, "column": 33 }, "end": { - "line": 211, + "line": 266, "column": 34 } } @@ -43546,15 +52123,15 @@ "updateContext": null }, "value": "value", - "start": 4274, - "end": 4279, + "start": 5356, + "end": 5361, "loc": { "start": { - "line": 212, + "line": 267, "column": 6 }, "end": { - "line": 212, + "line": 267, "column": 11 } } @@ -43573,15 +52150,15 @@ "updateContext": null }, "value": "=", - "start": 4279, - "end": 4280, + "start": 5361, + "end": 5362, "loc": { "start": { - "line": 212, + "line": 267, "column": 11 }, "end": { - "line": 212, + "line": 267, "column": 12 } } @@ -43598,15 +52175,15 @@ "postfix": false, "binop": null }, - "start": 4280, - "end": 4281, + "start": 5362, + "end": 5363, "loc": { "start": { - "line": 212, + "line": 267, "column": 12 }, "end": { - "line": 212, + "line": 267, "column": 13 } } @@ -43624,15 +52201,15 @@ "binop": null }, "value": "selectFieldValue", - "start": 4281, - "end": 4297, + "start": 5363, + "end": 5379, "loc": { "start": { - "line": 212, + "line": 267, "column": 13 }, "end": { - "line": 212, + "line": 267, "column": 29 } } @@ -43649,15 +52226,15 @@ "postfix": false, "binop": null }, - "start": 4297, - "end": 4298, + "start": 5379, + "end": 5380, "loc": { "start": { - "line": 212, + "line": 267, "column": 29 }, "end": { - "line": 212, + "line": 267, "column": 30 } } @@ -43676,15 +52253,15 @@ "updateContext": null }, "value": "id", - "start": 4305, - "end": 4307, + "start": 5387, + "end": 5389, "loc": { "start": { - "line": 213, + "line": 268, "column": 6 }, "end": { - "line": 213, + "line": 268, "column": 8 } } @@ -43703,15 +52280,15 @@ "updateContext": null }, "value": "=", - "start": 4307, - "end": 4308, + "start": 5389, + "end": 5390, "loc": { "start": { - "line": 213, + "line": 268, "column": 8 }, "end": { - "line": 213, + "line": 268, "column": 9 } } @@ -43728,15 +52305,15 @@ "postfix": false, "binop": null }, - "start": 4308, - "end": 4309, + "start": 5390, + "end": 5391, "loc": { "start": { - "line": 213, + "line": 268, "column": 9 }, "end": { - "line": 213, + "line": 268, "column": 10 } } @@ -43755,15 +52332,15 @@ "updateContext": null }, "value": "r", - "start": 4309, - "end": 4312, + "start": 5391, + "end": 5394, "loc": { "start": { - "line": 213, + "line": 268, "column": 10 }, "end": { - "line": 213, + "line": 268, "column": 13 } } @@ -43780,15 +52357,15 @@ "postfix": false, "binop": null }, - "start": 4312, - "end": 4313, + "start": 5394, + "end": 5395, "loc": { "start": { - "line": 213, + "line": 268, "column": 13 }, "end": { - "line": 213, + "line": 268, "column": 14 } } @@ -43807,15 +52384,15 @@ "updateContext": null }, "value": "onValueChange", - "start": 4320, - "end": 4333, + "start": 5402, + "end": 5415, "loc": { "start": { - "line": 214, + "line": 269, "column": 6 }, "end": { - "line": 214, + "line": 269, "column": 19 } } @@ -43834,15 +52411,15 @@ "updateContext": null }, "value": "=", - "start": 4333, - "end": 4334, + "start": 5415, + "end": 5416, "loc": { "start": { - "line": 214, + "line": 269, "column": 19 }, "end": { - "line": 214, + "line": 269, "column": 20 } } @@ -43859,15 +52436,15 @@ "postfix": false, "binop": null }, - "start": 4334, - "end": 4335, + "start": 5416, + "end": 5417, "loc": { "start": { - "line": 214, + "line": 269, "column": 20 }, "end": { - "line": 214, + "line": 269, "column": 21 } } @@ -43884,15 +52461,15 @@ "postfix": false, "binop": null }, - "start": 4335, - "end": 4336, + "start": 5417, + "end": 5418, "loc": { "start": { - "line": 214, + "line": 269, "column": 21 }, "end": { - "line": 214, + "line": 269, "column": 22 } } @@ -43910,15 +52487,15 @@ "binop": null }, "value": "newValue", - "start": 4336, - "end": 4344, + "start": 5418, + "end": 5426, "loc": { "start": { - "line": 214, + "line": 269, "column": 22 }, "end": { - "line": 214, + "line": 269, "column": 30 } } @@ -43935,15 +52512,15 @@ "postfix": false, "binop": null }, - "start": 4344, - "end": 4345, + "start": 5426, + "end": 5427, "loc": { "start": { - "line": 214, + "line": 269, "column": 30 }, "end": { - "line": 214, + "line": 269, "column": 31 } } @@ -43961,15 +52538,15 @@ "binop": null, "updateContext": null }, - "start": 4346, - "end": 4348, + "start": 5428, + "end": 5430, "loc": { "start": { - "line": 214, + "line": 269, "column": 32 }, "end": { - "line": 214, + "line": 269, "column": 34 } } @@ -43986,15 +52563,15 @@ "postfix": false, "binop": null }, - "start": 4349, - "end": 4350, + "start": 5431, + "end": 5432, "loc": { "start": { - "line": 214, + "line": 269, "column": 35 }, "end": { - "line": 214, + "line": 269, "column": 36 } } @@ -44012,15 +52589,15 @@ "binop": null }, "value": "selectFieldValue", - "start": 4358, - "end": 4374, + "start": 5440, + "end": 5456, "loc": { "start": { - "line": 215, + "line": 270, "column": 7 }, "end": { - "line": 215, + "line": 270, "column": 23 } } @@ -44039,15 +52616,15 @@ "updateContext": null }, "value": "=", - "start": 4375, - "end": 4376, + "start": 5457, + "end": 5458, "loc": { "start": { - "line": 215, + "line": 270, "column": 24 }, "end": { - "line": 215, + "line": 270, "column": 25 } } @@ -44065,15 +52642,15 @@ "binop": null }, "value": "newValue", - "start": 4377, - "end": 4385, + "start": 5459, + "end": 5467, "loc": { "start": { - "line": 215, + "line": 270, "column": 26 }, "end": { - "line": 215, + "line": 270, "column": 34 } } @@ -44091,15 +52668,15 @@ "binop": null, "updateContext": null }, - "start": 4385, - "end": 4386, + "start": 5467, + "end": 5468, "loc": { "start": { - "line": 215, + "line": 270, "column": 34 }, "end": { - "line": 215, + "line": 270, "column": 35 } } @@ -44116,15 +52693,15 @@ "postfix": false, "binop": null }, - "start": 4393, - "end": 4394, + "start": 5475, + "end": 5476, "loc": { "start": { - "line": 216, + "line": 271, "column": 6 }, "end": { - "line": 216, + "line": 271, "column": 7 } } @@ -44141,15 +52718,15 @@ "postfix": false, "binop": null }, - "start": 4394, - "end": 4395, + "start": 5476, + "end": 5477, "loc": { "start": { - "line": 216, + "line": 271, "column": 7 }, "end": { - "line": 216, + "line": 271, "column": 8 } } @@ -44168,15 +52745,15 @@ "updateContext": null }, "value": "options", - "start": 4402, - "end": 4409, + "start": 5484, + "end": 5491, "loc": { "start": { - "line": 217, + "line": 272, "column": 6 }, "end": { - "line": 217, + "line": 272, "column": 13 } } @@ -44195,15 +52772,15 @@ "updateContext": null }, "value": "=", - "start": 4409, - "end": 4410, + "start": 5491, + "end": 5492, "loc": { "start": { - "line": 217, + "line": 272, "column": 13 }, "end": { - "line": 217, + "line": 272, "column": 14 } } @@ -44220,15 +52797,15 @@ "postfix": false, "binop": null }, - "start": 4410, - "end": 4411, + "start": 5492, + "end": 5493, "loc": { "start": { - "line": 217, + "line": 272, "column": 14 }, "end": { - "line": 217, + "line": 272, "column": 15 } } @@ -44246,15 +52823,15 @@ "binop": null, "updateContext": null }, - "start": 4411, - "end": 4412, + "start": 5493, + "end": 5494, "loc": { "start": { - "line": 217, + "line": 272, "column": 15 }, "end": { - "line": 217, + "line": 272, "column": 16 } } @@ -44271,15 +52848,15 @@ "postfix": false, "binop": null }, - "start": 4420, - "end": 4421, + "start": 5502, + "end": 5503, "loc": { "start": { - "line": 218, + "line": 273, "column": 7 }, "end": { - "line": 218, + "line": 273, "column": 8 } } @@ -44297,15 +52874,15 @@ "binop": null }, "value": "value", - "start": 4430, - "end": 4435, + "start": 5512, + "end": 5517, "loc": { "start": { - "line": 219, + "line": 274, "column": 8 }, "end": { - "line": 219, + "line": 274, "column": 13 } } @@ -44323,15 +52900,15 @@ "binop": null, "updateContext": null }, - "start": 4435, - "end": 4436, + "start": 5517, + "end": 5518, "loc": { "start": { - "line": 219, + "line": 274, "column": 13 }, "end": { - "line": 219, + "line": 274, "column": 14 } } @@ -44350,15 +52927,15 @@ "updateContext": null }, "value": 1, - "start": 4437, - "end": 4438, + "start": 5519, + "end": 5520, "loc": { "start": { - "line": 219, + "line": 274, "column": 15 }, "end": { - "line": 219, + "line": 274, "column": 16 } } @@ -44376,15 +52953,15 @@ "binop": null, "updateContext": null }, - "start": 4438, - "end": 4439, + "start": 5520, + "end": 5521, "loc": { "start": { - "line": 219, + "line": 274, "column": 16 }, "end": { - "line": 219, + "line": 274, "column": 17 } } @@ -44402,15 +52979,15 @@ "binop": null }, "value": "label", - "start": 4448, - "end": 4453, + "start": 5530, + "end": 5535, "loc": { "start": { - "line": 220, + "line": 275, "column": 8 }, "end": { - "line": 220, + "line": 275, "column": 13 } } @@ -44428,15 +53005,15 @@ "binop": null, "updateContext": null }, - "start": 4453, - "end": 4454, + "start": 5535, + "end": 5536, "loc": { "start": { - "line": 220, + "line": 275, "column": 13 }, "end": { - "line": 220, + "line": 275, "column": 14 } } @@ -44455,15 +53032,15 @@ "updateContext": null }, "value": "One", - "start": 4455, - "end": 4460, + "start": 5537, + "end": 5542, "loc": { "start": { - "line": 220, + "line": 275, "column": 15 }, "end": { - "line": 220, + "line": 275, "column": 20 } } @@ -44480,15 +53057,15 @@ "postfix": false, "binop": null }, - "start": 4468, - "end": 4469, + "start": 5550, + "end": 5551, "loc": { "start": { - "line": 221, + "line": 276, "column": 7 }, "end": { - "line": 221, + "line": 276, "column": 8 } } @@ -44506,15 +53083,15 @@ "binop": null, "updateContext": null }, - "start": 4469, - "end": 4470, + "start": 5551, + "end": 5552, "loc": { "start": { - "line": 221, + "line": 276, "column": 8 }, "end": { - "line": 221, + "line": 276, "column": 9 } } @@ -44531,15 +53108,15 @@ "postfix": false, "binop": null }, - "start": 4478, - "end": 4479, + "start": 5560, + "end": 5561, "loc": { "start": { - "line": 222, + "line": 277, "column": 7 }, "end": { - "line": 222, + "line": 277, "column": 8 } } @@ -44557,15 +53134,15 @@ "binop": null }, "value": "value", - "start": 4488, - "end": 4493, + "start": 5570, + "end": 5575, "loc": { "start": { - "line": 223, + "line": 278, "column": 8 }, "end": { - "line": 223, + "line": 278, "column": 13 } } @@ -44583,15 +53160,15 @@ "binop": null, "updateContext": null }, - "start": 4493, - "end": 4494, + "start": 5575, + "end": 5576, "loc": { "start": { - "line": 223, + "line": 278, "column": 13 }, "end": { - "line": 223, + "line": 278, "column": 14 } } @@ -44610,15 +53187,15 @@ "updateContext": null }, "value": 2, - "start": 4495, - "end": 4496, + "start": 5577, + "end": 5578, "loc": { "start": { - "line": 223, + "line": 278, "column": 15 }, "end": { - "line": 223, + "line": 278, "column": 16 } } @@ -44636,15 +53213,15 @@ "binop": null, "updateContext": null }, - "start": 4496, - "end": 4497, + "start": 5578, + "end": 5579, "loc": { "start": { - "line": 223, + "line": 278, "column": 16 }, "end": { - "line": 223, + "line": 278, "column": 17 } } @@ -44662,15 +53239,15 @@ "binop": null }, "value": "label", - "start": 4506, - "end": 4511, + "start": 5588, + "end": 5593, "loc": { "start": { - "line": 224, + "line": 279, "column": 8 }, "end": { - "line": 224, + "line": 279, "column": 13 } } @@ -44688,15 +53265,15 @@ "binop": null, "updateContext": null }, - "start": 4511, - "end": 4512, + "start": 5593, + "end": 5594, "loc": { "start": { - "line": 224, + "line": 279, "column": 13 }, "end": { - "line": 224, + "line": 279, "column": 14 } } @@ -44715,15 +53292,15 @@ "updateContext": null }, "value": "Two", - "start": 4513, - "end": 4518, + "start": 5595, + "end": 5600, "loc": { "start": { - "line": 224, + "line": 279, "column": 15 }, "end": { - "line": 224, + "line": 279, "column": 20 } } @@ -44740,15 +53317,15 @@ "postfix": false, "binop": null }, - "start": 4526, - "end": 4527, + "start": 5608, + "end": 5609, "loc": { "start": { - "line": 225, + "line": 280, "column": 7 }, "end": { - "line": 225, + "line": 280, "column": 8 } } @@ -44766,15 +53343,15 @@ "binop": null, "updateContext": null }, - "start": 4534, - "end": 4535, + "start": 5616, + "end": 5617, "loc": { "start": { - "line": 226, + "line": 281, "column": 6 }, "end": { - "line": 226, + "line": 281, "column": 7 } } @@ -44791,15 +53368,15 @@ "postfix": false, "binop": null }, - "start": 4535, - "end": 4536, + "start": 5617, + "end": 5618, "loc": { "start": { - "line": 226, + "line": 281, "column": 7 }, "end": { - "line": 226, + "line": 281, "column": 8 } } @@ -44818,15 +53395,15 @@ "updateContext": null }, "value": "/", - "start": 4542, - "end": 4543, + "start": 5624, + "end": 5625, "loc": { "start": { - "line": 227, + "line": 282, "column": 5 }, "end": { - "line": 227, + "line": 282, "column": 6 } } @@ -44843,15 +53420,15 @@ "postfix": false, "binop": null }, - "start": 4543, - "end": 4544, + "start": 5625, + "end": 5626, "loc": { "start": { - "line": 227, + "line": 282, "column": 6 }, "end": { - "line": 227, + "line": 282, "column": 7 } } @@ -44870,15 +53447,15 @@ "updateContext": null }, "value": "\n\n\t\t\t\t", - "start": 4544, - "end": 4550, + "start": 5626, + "end": 5632, "loc": { "start": { - "line": 227, + "line": 282, "column": 7 }, "end": { - "line": 229, + "line": 284, "column": 4 } } @@ -44895,15 +53472,15 @@ "postfix": false, "binop": null }, - "start": 4550, - "end": 4551, + "start": 5632, + "end": 5633, "loc": { "start": { - "line": 229, + "line": 284, "column": 4 }, "end": { - "line": 229, + "line": 284, "column": 5 } } @@ -44922,15 +53499,15 @@ "updateContext": null }, "value": "/", - "start": 4551, - "end": 4552, + "start": 5633, + "end": 5634, "loc": { "start": { - "line": 229, + "line": 284, "column": 5 }, "end": { - "line": 229, + "line": 284, "column": 6 } } @@ -44949,15 +53526,15 @@ "updateContext": null }, "value": "div", - "start": 4552, - "end": 4555, + "start": 5634, + "end": 5637, "loc": { "start": { - "line": 229, + "line": 284, "column": 6 }, "end": { - "line": 229, + "line": 284, "column": 9 } } @@ -44974,15 +53551,15 @@ "postfix": false, "binop": null }, - "start": 4555, - "end": 4556, + "start": 5637, + "end": 5638, "loc": { "start": { - "line": 229, + "line": 284, "column": 9 }, "end": { - "line": 229, + "line": 284, "column": 10 } } @@ -45001,15 +53578,15 @@ "updateContext": null }, "value": "\n\n\t\t\t\t", - "start": 4556, - "end": 4562, + "start": 5638, + "end": 5644, "loc": { "start": { - "line": 229, + "line": 284, "column": 10 }, "end": { - "line": 231, + "line": 286, "column": 4 } } @@ -45026,15 +53603,15 @@ "postfix": false, "binop": null }, - "start": 4562, - "end": 4563, + "start": 5644, + "end": 5645, "loc": { "start": { - "line": 231, + "line": 286, "column": 4 }, "end": { - "line": 231, + "line": 286, "column": 5 } } @@ -45053,15 +53630,15 @@ "updateContext": null }, "value": "div", - "start": 4563, - "end": 4566, + "start": 5645, + "end": 5648, "loc": { "start": { - "line": 231, + "line": 286, "column": 5 }, "end": { - "line": 231, + "line": 286, "column": 8 } } @@ -45078,15 +53655,15 @@ "postfix": false, "binop": null }, - "start": 4566, - "end": 4567, + "start": 5648, + "end": 5649, "loc": { "start": { - "line": 231, + "line": 286, "column": 8 }, "end": { - "line": 231, + "line": 286, "column": 9 } } @@ -45105,15 +53682,15 @@ "updateContext": null }, "value": "\n\t\t\t\t\t", - "start": 4567, - "end": 4573, + "start": 5649, + "end": 5655, "loc": { "start": { - "line": 231, + "line": 286, "column": 9 }, "end": { - "line": 232, + "line": 287, "column": 5 } } @@ -45130,15 +53707,15 @@ "postfix": false, "binop": null }, - "start": 4573, - "end": 4574, + "start": 5655, + "end": 5656, "loc": { "start": { - "line": 232, + "line": 287, "column": 5 }, "end": { - "line": 232, + "line": 287, "column": 6 } } @@ -45157,15 +53734,15 @@ "updateContext": null }, "value": "h2", - "start": 4574, - "end": 4576, + "start": 5656, + "end": 5658, "loc": { "start": { - "line": 232, + "line": 287, "column": 6 }, "end": { - "line": 232, + "line": 287, "column": 8 } } @@ -45182,15 +53759,15 @@ "postfix": false, "binop": null }, - "start": 4576, - "end": 4577, + "start": 5658, + "end": 5659, "loc": { "start": { - "line": 232, + "line": 287, "column": 8 }, "end": { - "line": 232, + "line": 287, "column": 9 } } @@ -45209,15 +53786,15 @@ "updateContext": null }, "value": "fieldsets", - "start": 4577, - "end": 4586, + "start": 5659, + "end": 5668, "loc": { "start": { - "line": 232, + "line": 287, "column": 9 }, "end": { - "line": 232, + "line": 287, "column": 18 } } @@ -45234,15 +53811,15 @@ "postfix": false, "binop": null }, - "start": 4586, - "end": 4587, + "start": 5668, + "end": 5669, "loc": { "start": { - "line": 232, + "line": 287, "column": 18 }, "end": { - "line": 232, + "line": 287, "column": 19 } } @@ -45261,15 +53838,15 @@ "updateContext": null }, "value": "/", - "start": 4587, - "end": 4588, + "start": 5669, + "end": 5670, "loc": { "start": { - "line": 232, + "line": 287, "column": 19 }, "end": { - "line": 232, + "line": 287, "column": 20 } } @@ -45288,15 +53865,15 @@ "updateContext": null }, "value": "h2", - "start": 4588, - "end": 4590, + "start": 5670, + "end": 5672, "loc": { "start": { - "line": 232, + "line": 287, "column": 20 }, "end": { - "line": 232, + "line": 287, "column": 22 } } @@ -45313,15 +53890,15 @@ "postfix": false, "binop": null }, - "start": 4590, - "end": 4591, + "start": 5672, + "end": 5673, "loc": { "start": { - "line": 232, + "line": 287, "column": 22 }, "end": { - "line": 232, + "line": 287, "column": 23 } } @@ -45340,15 +53917,15 @@ "updateContext": null }, "value": "\n\t\t\t\t\t", - "start": 4591, - "end": 4597, + "start": 5673, + "end": 5679, "loc": { "start": { - "line": 232, + "line": 287, "column": 23 }, "end": { - "line": 233, + "line": 288, "column": 5 } } @@ -45365,15 +53942,15 @@ "postfix": false, "binop": null }, - "start": 4597, - "end": 4598, + "start": 5679, + "end": 5680, "loc": { "start": { - "line": 233, + "line": 288, "column": 5 }, "end": { - "line": 233, + "line": 288, "column": 6 } } @@ -45392,15 +53969,15 @@ "updateContext": null }, "value": "FieldGroup", - "start": 4598, - "end": 4608, + "start": 5680, + "end": 5690, "loc": { "start": { - "line": 233, + "line": 288, "column": 6 }, "end": { - "line": 233, + "line": 288, "column": 16 } } @@ -45419,15 +53996,15 @@ "updateContext": null }, "value": "type", - "start": 4615, - "end": 4619, + "start": 5697, + "end": 5701, "loc": { "start": { - "line": 234, + "line": 289, "column": 6 }, "end": { - "line": 234, + "line": 289, "column": 10 } } @@ -45446,15 +54023,15 @@ "updateContext": null }, "value": "=", - "start": 4619, - "end": 4620, + "start": 5701, + "end": 5702, "loc": { "start": { - "line": 234, + "line": 289, "column": 10 }, "end": { - "line": 234, + "line": 289, "column": 11 } } @@ -45471,15 +54048,15 @@ "postfix": false, "binop": null }, - "start": 4620, - "end": 4621, + "start": 5702, + "end": 5703, "loc": { "start": { - "line": 234, + "line": 289, "column": 11 }, "end": { - "line": 234, + "line": 289, "column": 12 } } @@ -45498,15 +54075,15 @@ "updateContext": null }, "value": "fieldset", - "start": 4621, - "end": 4631, + "start": 5703, + "end": 5713, "loc": { "start": { - "line": 234, + "line": 289, "column": 12 }, "end": { - "line": 234, + "line": 289, "column": 22 } } @@ -45523,15 +54100,15 @@ "postfix": false, "binop": null }, - "start": 4631, - "end": 4632, + "start": 5713, + "end": 5714, "loc": { "start": { - "line": 234, + "line": 289, "column": 22 }, "end": { - "line": 234, + "line": 289, "column": 23 } } @@ -45550,15 +54127,15 @@ "updateContext": null }, "value": "label", - "start": 4639, - "end": 4644, + "start": 5721, + "end": 5726, "loc": { "start": { - "line": 235, + "line": 290, "column": 6 }, "end": { - "line": 235, + "line": 290, "column": 11 } } @@ -45577,15 +54154,15 @@ "updateContext": null }, "value": "=", - "start": 4644, - "end": 4645, + "start": 5726, + "end": 5727, "loc": { "start": { - "line": 235, + "line": 290, "column": 11 }, "end": { - "line": 235, + "line": 290, "column": 12 } } @@ -45602,15 +54179,15 @@ "postfix": false, "binop": null }, - "start": 4645, - "end": 4646, + "start": 5727, + "end": 5728, "loc": { "start": { - "line": 235, + "line": 290, "column": 12 }, "end": { - "line": 235, + "line": 290, "column": 13 } } @@ -45629,15 +54206,15 @@ "updateContext": null }, "value": "Checkbox group", - "start": 4646, - "end": 4662, + "start": 5728, + "end": 5744, "loc": { "start": { - "line": 235, + "line": 290, "column": 13 }, "end": { - "line": 235, + "line": 290, "column": 29 } } @@ -45654,15 +54231,15 @@ "postfix": false, "binop": null }, - "start": 4662, - "end": 4663, + "start": 5744, + "end": 5745, "loc": { "start": { - "line": 235, + "line": 290, "column": 29 }, "end": { - "line": 235, + "line": 290, "column": 30 } } @@ -45681,15 +54258,15 @@ "updateContext": null }, "value": "value", - "start": 4670, - "end": 4675, + "start": 5752, + "end": 5757, "loc": { "start": { - "line": 236, + "line": 291, "column": 6 }, "end": { - "line": 236, + "line": 291, "column": 11 } } @@ -45708,15 +54285,15 @@ "updateContext": null }, "value": "=", - "start": 4675, - "end": 4676, + "start": 5757, + "end": 5758, "loc": { "start": { - "line": 236, + "line": 291, "column": 11 }, "end": { - "line": 236, + "line": 291, "column": 12 } } @@ -45733,15 +54310,15 @@ "postfix": false, "binop": null }, - "start": 4676, - "end": 4677, + "start": 5758, + "end": 5759, "loc": { "start": { - "line": 236, + "line": 291, "column": 12 }, "end": { - "line": 236, + "line": 291, "column": 13 } } @@ -45759,15 +54336,15 @@ "binop": null }, "value": "fieldSetFieldValue", - "start": 4677, - "end": 4695, + "start": 5759, + "end": 5777, "loc": { "start": { - "line": 236, + "line": 291, "column": 13 }, "end": { - "line": 236, + "line": 291, "column": 31 } } @@ -45784,15 +54361,15 @@ "postfix": false, "binop": null }, - "start": 4695, - "end": 4696, + "start": 5777, + "end": 5778, "loc": { "start": { - "line": 236, + "line": 291, "column": 31 }, "end": { - "line": 236, + "line": 291, "column": 32 } } @@ -45811,15 +54388,15 @@ "updateContext": null }, "value": "id", - "start": 4703, - "end": 4705, + "start": 5785, + "end": 5787, "loc": { "start": { - "line": 237, + "line": 292, "column": 6 }, "end": { - "line": 237, + "line": 292, "column": 8 } } @@ -45838,15 +54415,15 @@ "updateContext": null }, "value": "=", - "start": 4705, - "end": 4706, + "start": 5787, + "end": 5788, "loc": { "start": { - "line": 237, + "line": 292, "column": 8 }, "end": { - "line": 237, + "line": 292, "column": 9 } } @@ -45863,15 +54440,15 @@ "postfix": false, "binop": null }, - "start": 4706, - "end": 4707, + "start": 5788, + "end": 5789, "loc": { "start": { - "line": 237, + "line": 292, "column": 9 }, "end": { - "line": 237, + "line": 292, "column": 10 } } @@ -45890,15 +54467,15 @@ "updateContext": null }, "value": "Checkbox1", - "start": 4707, - "end": 4718, + "start": 5789, + "end": 5800, "loc": { "start": { - "line": 237, + "line": 292, "column": 10 }, "end": { - "line": 237, + "line": 292, "column": 21 } } @@ -45915,15 +54492,15 @@ "postfix": false, "binop": null }, - "start": 4718, - "end": 4719, + "start": 5800, + "end": 5801, "loc": { "start": { - "line": 237, + "line": 292, "column": 21 }, "end": { - "line": 237, + "line": 292, "column": 22 } } @@ -45942,15 +54519,15 @@ "updateContext": null }, "value": "onValueChange", - "start": 4726, - "end": 4739, + "start": 5808, + "end": 5821, "loc": { "start": { - "line": 238, + "line": 293, "column": 6 }, "end": { - "line": 238, + "line": 293, "column": 19 } } @@ -45969,15 +54546,15 @@ "updateContext": null }, "value": "=", - "start": 4739, - "end": 4740, + "start": 5821, + "end": 5822, "loc": { "start": { - "line": 238, + "line": 293, "column": 19 }, "end": { - "line": 238, + "line": 293, "column": 20 } } @@ -45994,15 +54571,15 @@ "postfix": false, "binop": null }, - "start": 4740, - "end": 4741, + "start": 5822, + "end": 5823, "loc": { "start": { - "line": 238, + "line": 293, "column": 20 }, "end": { - "line": 238, + "line": 293, "column": 21 } } @@ -46019,15 +54596,15 @@ "postfix": false, "binop": null }, - "start": 4741, - "end": 4742, + "start": 5823, + "end": 5824, "loc": { "start": { - "line": 238, + "line": 293, "column": 21 }, "end": { - "line": 238, + "line": 293, "column": 22 } } @@ -46045,15 +54622,15 @@ "binop": null }, "value": "newValue", - "start": 4742, - "end": 4750, + "start": 5824, + "end": 5832, "loc": { "start": { - "line": 238, + "line": 293, "column": 22 }, "end": { - "line": 238, + "line": 293, "column": 30 } } @@ -46070,15 +54647,15 @@ "postfix": false, "binop": null }, - "start": 4750, - "end": 4751, + "start": 5832, + "end": 5833, "loc": { "start": { - "line": 238, + "line": 293, "column": 30 }, "end": { - "line": 238, + "line": 293, "column": 31 } } @@ -46096,15 +54673,15 @@ "binop": null, "updateContext": null }, - "start": 4752, - "end": 4754, + "start": 5834, + "end": 5836, "loc": { "start": { - "line": 238, + "line": 293, "column": 32 }, "end": { - "line": 238, + "line": 293, "column": 34 } } @@ -46121,15 +54698,15 @@ "postfix": false, "binop": null }, - "start": 4755, - "end": 4756, + "start": 5837, + "end": 5838, "loc": { "start": { - "line": 238, + "line": 293, "column": 35 }, "end": { - "line": 238, + "line": 293, "column": 36 } } @@ -46147,15 +54724,15 @@ "binop": null }, "value": "fieldSetFieldValue", - "start": 4764, - "end": 4782, + "start": 5846, + "end": 5864, "loc": { "start": { - "line": 239, + "line": 294, "column": 7 }, "end": { - "line": 239, + "line": 294, "column": 25 } } @@ -46174,15 +54751,15 @@ "updateContext": null }, "value": "=", - "start": 4783, - "end": 4784, + "start": 5865, + "end": 5866, "loc": { "start": { - "line": 239, + "line": 294, "column": 26 }, "end": { - "line": 239, + "line": 294, "column": 27 } } @@ -46200,15 +54777,15 @@ "binop": null }, "value": "newValue", - "start": 4785, - "end": 4793, + "start": 5867, + "end": 5875, "loc": { "start": { - "line": 239, + "line": 294, "column": 28 }, "end": { - "line": 239, + "line": 294, "column": 36 } } @@ -46226,15 +54803,15 @@ "binop": null, "updateContext": null }, - "start": 4793, - "end": 4794, + "start": 5875, + "end": 5876, "loc": { "start": { - "line": 239, + "line": 294, "column": 36 }, "end": { - "line": 239, + "line": 294, "column": 37 } } @@ -46251,15 +54828,15 @@ "postfix": false, "binop": null }, - "start": 4801, - "end": 4802, + "start": 5883, + "end": 5884, "loc": { "start": { - "line": 240, + "line": 295, "column": 6 }, "end": { - "line": 240, + "line": 295, "column": 7 } } @@ -46276,15 +54853,15 @@ "postfix": false, "binop": null }, - "start": 4802, - "end": 4803, + "start": 5884, + "end": 5885, "loc": { "start": { - "line": 240, + "line": 295, "column": 7 }, "end": { - "line": 240, + "line": 295, "column": 8 } } @@ -46303,15 +54880,15 @@ "updateContext": null }, "value": "options", - "start": 4810, - "end": 4817, + "start": 5892, + "end": 5899, "loc": { "start": { - "line": 241, + "line": 296, "column": 6 }, "end": { - "line": 241, + "line": 296, "column": 13 } } @@ -46330,15 +54907,15 @@ "updateContext": null }, "value": "=", - "start": 4817, - "end": 4818, + "start": 5899, + "end": 5900, "loc": { "start": { - "line": 241, + "line": 296, "column": 13 }, "end": { - "line": 241, + "line": 296, "column": 14 } } @@ -46355,15 +54932,15 @@ "postfix": false, "binop": null }, - "start": 4818, - "end": 4819, + "start": 5900, + "end": 5901, "loc": { "start": { - "line": 241, + "line": 296, "column": 14 }, "end": { - "line": 241, + "line": 296, "column": 15 } } @@ -46381,15 +54958,15 @@ "binop": null, "updateContext": null }, - "start": 4819, - "end": 4820, + "start": 5901, + "end": 5902, "loc": { "start": { - "line": 241, + "line": 296, "column": 15 }, "end": { - "line": 241, + "line": 296, "column": 16 } } @@ -46406,15 +54983,15 @@ "postfix": false, "binop": null }, - "start": 4828, - "end": 4829, + "start": 5910, + "end": 5911, "loc": { "start": { - "line": 242, + "line": 297, "column": 7 }, "end": { - "line": 242, + "line": 297, "column": 8 } } @@ -46432,15 +55009,15 @@ "binop": null }, "value": "value", - "start": 4838, - "end": 4843, + "start": 5920, + "end": 5925, "loc": { "start": { - "line": 243, + "line": 298, "column": 8 }, "end": { - "line": 243, + "line": 298, "column": 13 } } @@ -46458,15 +55035,15 @@ "binop": null, "updateContext": null }, - "start": 4843, - "end": 4844, + "start": 5925, + "end": 5926, "loc": { "start": { - "line": 243, + "line": 298, "column": 13 }, "end": { - "line": 243, + "line": 298, "column": 14 } } @@ -46485,15 +55062,15 @@ "updateContext": null }, "value": "1", - "start": 4845, - "end": 4848, + "start": 5927, + "end": 5930, "loc": { "start": { - "line": 243, + "line": 298, "column": 15 }, "end": { - "line": 243, + "line": 298, "column": 18 } } @@ -46511,15 +55088,15 @@ "binop": null, "updateContext": null }, - "start": 4848, - "end": 4849, + "start": 5930, + "end": 5931, "loc": { "start": { - "line": 243, + "line": 298, "column": 18 }, "end": { - "line": 243, + "line": 298, "column": 19 } } @@ -46537,15 +55114,15 @@ "binop": null }, "value": "label", - "start": 4858, - "end": 4863, + "start": 5940, + "end": 5945, "loc": { "start": { - "line": 244, + "line": 299, "column": 8 }, "end": { - "line": 244, + "line": 299, "column": 13 } } @@ -46563,15 +55140,15 @@ "binop": null, "updateContext": null }, - "start": 4863, - "end": 4864, + "start": 5945, + "end": 5946, "loc": { "start": { - "line": 244, + "line": 299, "column": 13 }, "end": { - "line": 244, + "line": 299, "column": 14 } } @@ -46590,15 +55167,15 @@ "updateContext": null }, "value": "One", - "start": 4865, - "end": 4870, + "start": 5947, + "end": 5952, "loc": { "start": { - "line": 244, + "line": 299, "column": 15 }, "end": { - "line": 244, + "line": 299, "column": 20 } } @@ -46615,15 +55192,15 @@ "postfix": false, "binop": null }, - "start": 4878, - "end": 4879, + "start": 5960, + "end": 5961, "loc": { "start": { - "line": 245, + "line": 300, "column": 7 }, "end": { - "line": 245, + "line": 300, "column": 8 } } @@ -46641,15 +55218,15 @@ "binop": null, "updateContext": null }, - "start": 4879, - "end": 4880, + "start": 5961, + "end": 5962, "loc": { "start": { - "line": 245, + "line": 300, "column": 8 }, "end": { - "line": 245, + "line": 300, "column": 9 } } @@ -46666,15 +55243,15 @@ "postfix": false, "binop": null }, - "start": 4888, - "end": 4889, + "start": 5970, + "end": 5971, "loc": { "start": { - "line": 246, + "line": 301, "column": 7 }, "end": { - "line": 246, + "line": 301, "column": 8 } } @@ -46692,15 +55269,15 @@ "binop": null }, "value": "value", - "start": 4898, - "end": 4903, + "start": 5980, + "end": 5985, "loc": { "start": { - "line": 247, + "line": 302, "column": 8 }, "end": { - "line": 247, + "line": 302, "column": 13 } } @@ -46718,15 +55295,15 @@ "binop": null, "updateContext": null }, - "start": 4903, - "end": 4904, + "start": 5985, + "end": 5986, "loc": { "start": { - "line": 247, + "line": 302, "column": 13 }, "end": { - "line": 247, + "line": 302, "column": 14 } } @@ -46745,15 +55322,15 @@ "updateContext": null }, "value": "2", - "start": 4905, - "end": 4908, + "start": 5987, + "end": 5990, "loc": { "start": { - "line": 247, + "line": 302, "column": 15 }, "end": { - "line": 247, + "line": 302, "column": 18 } } @@ -46771,15 +55348,15 @@ "binop": null, "updateContext": null }, - "start": 4908, - "end": 4909, + "start": 5990, + "end": 5991, "loc": { "start": { - "line": 247, + "line": 302, "column": 18 }, "end": { - "line": 247, + "line": 302, "column": 19 } } @@ -46797,15 +55374,15 @@ "binop": null }, "value": "label", - "start": 4918, - "end": 4923, + "start": 6000, + "end": 6005, "loc": { "start": { - "line": 248, + "line": 303, "column": 8 }, "end": { - "line": 248, + "line": 303, "column": 13 } } @@ -46823,15 +55400,15 @@ "binop": null, "updateContext": null }, - "start": 4923, - "end": 4924, + "start": 6005, + "end": 6006, "loc": { "start": { - "line": 248, + "line": 303, "column": 13 }, "end": { - "line": 248, + "line": 303, "column": 14 } } @@ -46850,15 +55427,15 @@ "updateContext": null }, "value": "Two", - "start": 4925, - "end": 4930, + "start": 6007, + "end": 6012, "loc": { "start": { - "line": 248, + "line": 303, "column": 15 }, "end": { - "line": 248, + "line": 303, "column": 20 } } @@ -46875,15 +55452,15 @@ "postfix": false, "binop": null }, - "start": 4938, - "end": 4939, + "start": 6020, + "end": 6021, "loc": { "start": { - "line": 249, + "line": 304, "column": 7 }, "end": { - "line": 249, + "line": 304, "column": 8 } } @@ -46901,15 +55478,15 @@ "binop": null, "updateContext": null }, - "start": 4946, - "end": 4947, + "start": 6028, + "end": 6029, "loc": { "start": { - "line": 250, + "line": 305, "column": 6 }, "end": { - "line": 250, + "line": 305, "column": 7 } } @@ -46926,15 +55503,15 @@ "postfix": false, "binop": null }, - "start": 4947, - "end": 4948, + "start": 6029, + "end": 6030, "loc": { "start": { - "line": 250, + "line": 305, "column": 7 }, "end": { - "line": 250, + "line": 305, "column": 8 } } @@ -46953,15 +55530,15 @@ "updateContext": null }, "value": "/", - "start": 4954, - "end": 4955, + "start": 6036, + "end": 6037, "loc": { "start": { - "line": 251, + "line": 306, "column": 5 }, "end": { - "line": 251, + "line": 306, "column": 6 } } @@ -46978,15 +55555,15 @@ "postfix": false, "binop": null }, - "start": 4955, - "end": 4956, + "start": 6037, + "end": 6038, "loc": { "start": { - "line": 251, + "line": 306, "column": 6 }, "end": { - "line": 251, + "line": 306, "column": 7 } } @@ -47005,15 +55582,15 @@ "updateContext": null }, "value": "\n\t\t\t\t", - "start": 4956, - "end": 4961, + "start": 6038, + "end": 6043, "loc": { "start": { - "line": 251, + "line": 306, "column": 7 }, "end": { - "line": 252, + "line": 307, "column": 4 } } @@ -47030,15 +55607,15 @@ "postfix": false, "binop": null }, - "start": 4961, - "end": 4962, + "start": 6043, + "end": 6044, "loc": { "start": { - "line": 252, + "line": 307, "column": 4 }, "end": { - "line": 252, + "line": 307, "column": 5 } } @@ -47057,15 +55634,15 @@ "updateContext": null }, "value": "/", - "start": 4962, - "end": 4963, + "start": 6044, + "end": 6045, "loc": { "start": { - "line": 252, + "line": 307, "column": 5 }, "end": { - "line": 252, + "line": 307, "column": 6 } } @@ -47084,15 +55661,15 @@ "updateContext": null }, "value": "div", - "start": 4963, - "end": 4966, + "start": 6045, + "end": 6048, "loc": { "start": { - "line": 252, + "line": 307, "column": 6 }, "end": { - "line": 252, + "line": 307, "column": 9 } } @@ -47109,15 +55686,15 @@ "postfix": false, "binop": null }, - "start": 4966, - "end": 4967, + "start": 6048, + "end": 6049, "loc": { "start": { - "line": 252, + "line": 307, "column": 9 }, "end": { - "line": 252, + "line": 307, "column": 10 } } @@ -47136,15 +55713,15 @@ "updateContext": null }, "value": "\n\n\t\t\t", - "start": 4967, - "end": 4972, + "start": 6049, + "end": 6054, "loc": { "start": { - "line": 252, + "line": 307, "column": 10 }, "end": { - "line": 254, + "line": 309, "column": 3 } } @@ -47161,15 +55738,15 @@ "postfix": false, "binop": null }, - "start": 4972, - "end": 4973, + "start": 6054, + "end": 6055, "loc": { "start": { - "line": 254, + "line": 309, "column": 3 }, "end": { - "line": 254, + "line": 309, "column": 4 } } @@ -47188,15 +55765,15 @@ "updateContext": null }, "value": "/", - "start": 4973, - "end": 4974, + "start": 6055, + "end": 6056, "loc": { "start": { - "line": 254, + "line": 309, "column": 4 }, "end": { - "line": 254, + "line": 309, "column": 5 } } @@ -47215,15 +55792,15 @@ "updateContext": null }, "value": "div", - "start": 4974, - "end": 4977, + "start": 6056, + "end": 6059, "loc": { "start": { - "line": 254, + "line": 309, "column": 5 }, "end": { - "line": 254, + "line": 309, "column": 8 } } @@ -47240,15 +55817,15 @@ "postfix": false, "binop": null }, - "start": 4977, - "end": 4978, + "start": 6059, + "end": 6060, "loc": { "start": { - "line": 254, + "line": 309, "column": 8 }, "end": { - "line": 254, + "line": 309, "column": 9 } } @@ -47265,15 +55842,15 @@ "postfix": false, "binop": null }, - "start": 4981, - "end": 4982, + "start": 6063, + "end": 6064, "loc": { "start": { - "line": 255, + "line": 310, "column": 2 }, "end": { - "line": 255, + "line": 310, "column": 3 } } @@ -47291,15 +55868,15 @@ "binop": null, "updateContext": null }, - "start": 4982, - "end": 4983, + "start": 6064, + "end": 6065, "loc": { "start": { - "line": 255, + "line": 310, "column": 3 }, "end": { - "line": 255, + "line": 310, "column": 4 } } @@ -47316,15 +55893,15 @@ "postfix": false, "binop": null }, - "start": 4985, - "end": 4986, + "start": 6067, + "end": 6068, "loc": { "start": { - "line": 256, + "line": 311, "column": 1 }, "end": { - "line": 256, + "line": 311, "column": 2 } } @@ -47341,15 +55918,15 @@ "postfix": false, "binop": null }, - "start": 4987, - "end": 4988, + "start": 6069, + "end": 6070, "loc": { "start": { - "line": 257, + "line": 312, "column": 0 }, "end": { - "line": 257, + "line": 312, "column": 1 } } @@ -47369,15 +55946,15 @@ "updateContext": null }, "value": "export", - "start": 4990, - "end": 4996, + "start": 6072, + "end": 6078, "loc": { "start": { - "line": 259, + "line": 314, "column": 0 }, "end": { - "line": 259, + "line": 314, "column": 6 } } @@ -47397,15 +55974,15 @@ "updateContext": null }, "value": "default", - "start": 4997, - "end": 5004, + "start": 6079, + "end": 6086, "loc": { "start": { - "line": 259, + "line": 314, "column": 7 }, "end": { - "line": 259, + "line": 314, "column": 14 } } @@ -47423,15 +56000,15 @@ "binop": null }, "value": "App", - "start": 5005, - "end": 5008, + "start": 6087, + "end": 6090, "loc": { "start": { - "line": 259, + "line": 314, "column": 15 }, "end": { - "line": 259, + "line": 314, "column": 18 } } @@ -47449,15 +56026,15 @@ "binop": null, "updateContext": null }, - "start": 5008, - "end": 5009, + "start": 6090, + "end": 6091, "loc": { "start": { - "line": 259, + "line": 314, "column": 18 }, "end": { - "line": 259, + "line": 314, "column": 19 } } @@ -47475,15 +56052,15 @@ "binop": null, "updateContext": null }, - "start": 5010, - "end": 5010, + "start": 6092, + "end": 6092, "loc": { "start": { - "line": 260, + "line": 315, "column": 0 }, "end": { - "line": 260, + "line": 315, "column": 0 } } diff --git a/docs/ast/source/components/fields/FieldInner.js.json b/docs/ast/source/components/fields/FieldInner.js.json index d4b78c1..95565e2 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": 1891, + "end": 1954, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 92, + "line": 93, "column": 2 } }, "program": { "type": "Program", "start": 0, - "end": 1891, + "end": 1954, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 92, + "line": 93, "column": 2 } }, @@ -686,14 +686,14 @@ { "type": "ExportNamedDeclaration", "start": 437, - "end": 1587, + "end": 1650, "loc": { "start": { "line": 16, "column": 0 }, "end": { - "line": 73, + "line": 74, "column": 2 } }, @@ -702,14 +702,14 @@ "declaration": { "type": "VariableDeclaration", "start": 444, - "end": 1587, + "end": 1650, "loc": { "start": { "line": 16, "column": 7 }, "end": { - "line": 73, + "line": 74, "column": 2 } }, @@ -717,14 +717,14 @@ { "type": "VariableDeclarator", "start": 450, - "end": 1586, + "end": 1649, "loc": { "start": { "line": 16, "column": 13 }, "end": { - "line": 73, + "line": 74, "column": 1 } }, @@ -749,14 +749,14 @@ "init": { "type": "ArrowFunctionExpression", "start": 463, - "end": 1586, + "end": 1649, "loc": { "start": { "line": 16, "column": 26 }, "end": { - "line": 73, + "line": 74, "column": 1 } }, @@ -803,14 +803,14 @@ "body": { "type": "BlockStatement", "start": 474, - "end": 1586, + "end": 1649, "loc": { "start": { "line": 16, "column": 37 }, "end": { - "line": 73, + "line": 74, "column": 1 } }, @@ -1331,14 +1331,14 @@ { "type": "SwitchStatement", "start": 855, - "end": 1583, + "end": 1646, "loc": { "start": { "line": 40, "column": 1 }, "end": { - "line": 71, + "line": 72, "column": 2 } }, @@ -1432,86 +1432,334 @@ { "type": "SwitchCase", "start": 894, - "end": 1251, + "end": 1314, "loc": { "start": { "line": 42, "column": 1 }, "end": { - "line": 56, + "line": 57, "column": 4 } }, "consequent": [ { - "type": "ReturnStatement", + "type": "VariableDeclaration", "start": 913, - "end": 1251, + "end": 979, "loc": { "start": { "line": 43, "column": 2 }, "end": { - "line": 56, + "line": 43, + "column": 68 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 919, + "end": 978, + "loc": { + "start": { + "line": 43, + "column": 8 + }, + "end": { + "line": 43, + "column": 67 + } + }, + "id": { + "type": "Identifier", + "start": 919, + "end": 926, + "loc": { + "start": { + "line": 43, + "column": 8 + }, + "end": { + "line": 43, + "column": 15 + }, + "identifierName": "options" + }, + "name": "options" + }, + "init": { + "type": "ConditionalExpression", + "start": 929, + "end": 978, + "loc": { + "start": { + "line": 43, + "column": 18 + }, + "end": { + "line": 43, + "column": 67 + } + }, + "test": { + "type": "CallExpression", + "start": 929, + "end": 957, + "loc": { + "start": { + "line": 43, + "column": 18 + }, + "end": { + "line": 43, + "column": 46 + } + }, + "callee": { + "type": "MemberExpression", + "start": 929, + "end": 942, + "loc": { + "start": { + "line": 43, + "column": 18 + }, + "end": { + "line": 43, + "column": 31 + } + }, + "object": { + "type": "Identifier", + "start": 929, + "end": 934, + "loc": { + "start": { + "line": 43, + "column": 18 + }, + "end": { + "line": 43, + "column": 23 + }, + "identifierName": "Array" + }, + "name": "Array" + }, + "property": { + "type": "Identifier", + "start": 935, + "end": 942, + "loc": { + "start": { + "line": 43, + "column": 24 + }, + "end": { + "line": 43, + "column": 31 + }, + "identifierName": "isArray" + }, + "name": "isArray" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 943, + "end": 956, + "loc": { + "start": { + "line": 43, + "column": 32 + }, + "end": { + "line": 43, + "column": 45 + } + }, + "object": { + "type": "Identifier", + "start": 943, + "end": 948, + "loc": { + "start": { + "line": 43, + "column": 32 + }, + "end": { + "line": 43, + "column": 37 + }, + "identifierName": "props" + }, + "name": "props" + }, + "property": { + "type": "Identifier", + "start": 949, + "end": 956, + "loc": { + "start": { + "line": 43, + "column": 38 + }, + "end": { + "line": 43, + "column": 45 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + } + ] + }, + "consequent": { + "type": "MemberExpression", + "start": 960, + "end": 973, + "loc": { + "start": { + "line": 43, + "column": 49 + }, + "end": { + "line": 43, + "column": 62 + } + }, + "object": { + "type": "Identifier", + "start": 960, + "end": 965, + "loc": { + "start": { + "line": 43, + "column": 49 + }, + "end": { + "line": 43, + "column": 54 + }, + "identifierName": "props" + }, + "name": "props" + }, + "property": { + "type": "Identifier", + "start": 966, + "end": 973, + "loc": { + "start": { + "line": 43, + "column": 55 + }, + "end": { + "line": 43, + "column": 62 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "alternate": { + "type": "ArrayExpression", + "start": 976, + "end": 978, + "loc": { + "start": { + "line": 43, + "column": 65 + }, + "end": { + "line": 43, + "column": 67 + } + }, + "elements": [] + } + } + } + ], + "kind": "const" + }, + { + "type": "ReturnStatement", + "start": 982, + "end": 1314, + "loc": { + "start": { + "line": 44, + "column": 2 + }, + "end": { + "line": 57, "column": 4 } }, "argument": { "type": "JSXElement", - "start": 925, - "end": 1246, + "start": 994, + "end": 1309, "loc": { "start": { - "line": 44, + "line": 45, "column": 3 }, "end": { - "line": 55, + "line": 56, "column": 5 } }, "openingElement": { "type": "JSXOpeningElement", - "start": 925, - "end": 1246, + "start": 994, + "end": 1309, "loc": { "start": { - "line": 44, + "line": 45, "column": 3 }, "end": { - "line": 55, + "line": 56, "column": 5 } }, "attributes": [ { "type": "JSXAttribute", - "start": 942, - "end": 955, + "start": 1011, + "end": 1024, "loc": { "start": { - "line": 45, + "line": 46, "column": 4 }, "end": { - "line": 45, + "line": 46, "column": 17 } }, "name": { "type": "JSXIdentifier", - "start": 942, - "end": 944, + "start": 1011, + "end": 1013, "loc": { "start": { - "line": 45, + "line": 46, "column": 4 }, "end": { - "line": 45, + "line": 46, "column": 6 } }, @@ -1519,43 +1767,43 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 945, - "end": 955, + "start": 1014, + "end": 1024, "loc": { "start": { - "line": 45, + "line": 46, "column": 7 }, "end": { - "line": 45, + "line": 46, "column": 17 } }, "expression": { "type": "MemberExpression", - "start": 946, - "end": 954, + "start": 1015, + "end": 1023, "loc": { "start": { - "line": 45, + "line": 46, "column": 8 }, "end": { - "line": 45, + "line": 46, "column": 16 } }, "object": { "type": "Identifier", - "start": 946, - "end": 951, + "start": 1015, + "end": 1020, "loc": { "start": { - "line": 45, + "line": 46, "column": 8 }, "end": { - "line": 45, + "line": 46, "column": 13 }, "identifierName": "props" @@ -1564,15 +1812,15 @@ }, "property": { "type": "Identifier", - "start": 952, - "end": 954, + "start": 1021, + "end": 1023, "loc": { "start": { - "line": 45, + "line": 46, "column": 14 }, "end": { - "line": 45, + "line": 46, "column": 16 }, "identifierName": "id" @@ -1585,29 +1833,29 @@ }, { "type": "JSXAttribute", - "start": 960, - "end": 993, + "start": 1029, + "end": 1062, "loc": { "start": { - "line": 46, + "line": 47, "column": 4 }, "end": { - "line": 46, + "line": 47, "column": 37 } }, "name": { "type": "JSXIdentifier", - "start": 960, - "end": 974, + "start": 1029, + "end": 1043, "loc": { "start": { - "line": 46, + "line": 47, "column": 4 }, "end": { - "line": 46, + "line": 47, "column": 18 } }, @@ -1615,43 +1863,43 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 975, - "end": 993, + "start": 1044, + "end": 1062, "loc": { "start": { - "line": 46, + "line": 47, "column": 19 }, "end": { - "line": 46, + "line": 47, "column": 37 } }, "expression": { "type": "CallExpression", - "start": 976, - "end": 992, + "start": 1045, + "end": 1061, "loc": { "start": { - "line": 46, + "line": 47, "column": 20 }, "end": { - "line": 46, + "line": 47, "column": 36 } }, "callee": { "type": "Identifier", - "start": 976, - "end": 990, + "start": 1045, + "end": 1059, "loc": { "start": { - "line": 46, + "line": 47, "column": 20 }, "end": { - "line": 46, + "line": 47, "column": 34 }, "identifierName": "inputClassName" @@ -1664,29 +1912,29 @@ }, { "type": "JSXAttribute", - "start": 998, - "end": 1032, + "start": 1067, + "end": 1101, "loc": { "start": { - "line": 47, + "line": 48, "column": 4 }, "end": { - "line": 47, + "line": 48, "column": 38 } }, "name": { "type": "JSXIdentifier", - "start": 998, - "end": 1017, + "start": 1067, + "end": 1086, "loc": { "start": { - "line": 47, + "line": 48, "column": 4 }, "end": { - "line": 47, + "line": 48, "column": 23 } }, @@ -1694,43 +1942,43 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 1018, - "end": 1032, + "start": 1087, + "end": 1101, "loc": { "start": { - "line": 47, + "line": 48, "column": 24 }, "end": { - "line": 47, + "line": 48, "column": 38 } }, "expression": { "type": "CallExpression", - "start": 1019, - "end": 1031, + "start": 1088, + "end": 1100, "loc": { "start": { - "line": 47, + "line": 48, "column": 25 }, "end": { - "line": 47, + "line": 48, "column": 37 } }, "callee": { "type": "Identifier", - "start": 1019, - "end": 1029, + "start": 1088, + "end": 1098, "loc": { "start": { - "line": 47, + "line": 48, "column": 25 }, "end": { - "line": 47, + "line": 48, "column": 35 }, "identifierName": "ariaIdAttr" @@ -1743,29 +1991,29 @@ }, { "type": "JSXAttribute", - "start": 1037, - "end": 1056, + "start": 1106, + "end": 1125, "loc": { "start": { - "line": 48, + "line": 49, "column": 4 }, "end": { - "line": 48, + "line": 49, "column": 23 } }, "name": { "type": "JSXIdentifier", - "start": 1037, - "end": 1042, + "start": 1106, + "end": 1111, "loc": { "start": { - "line": 48, + "line": 49, "column": 4 }, "end": { - "line": 48, + "line": 49, "column": 9 } }, @@ -1773,43 +2021,43 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 1043, - "end": 1056, + "start": 1112, + "end": 1125, "loc": { "start": { - "line": 48, + "line": 49, "column": 10 }, "end": { - "line": 48, + "line": 49, "column": 23 } }, "expression": { "type": "MemberExpression", - "start": 1044, - "end": 1055, + "start": 1113, + "end": 1124, "loc": { "start": { - "line": 48, + "line": 49, "column": 11 }, "end": { - "line": 48, + "line": 49, "column": 22 } }, "object": { "type": "Identifier", - "start": 1044, - "end": 1049, + "start": 1113, + "end": 1118, "loc": { "start": { - "line": 48, + "line": 49, "column": 11 }, "end": { - "line": 48, + "line": 49, "column": 16 }, "identifierName": "props" @@ -1818,15 +2066,15 @@ }, "property": { "type": "Identifier", - "start": 1050, - "end": 1055, + "start": 1119, + "end": 1124, "loc": { "start": { - "line": 48, + "line": 49, "column": 17 }, "end": { - "line": 48, + "line": 49, "column": 22 }, "identifierName": "value" @@ -1839,29 +2087,29 @@ }, { "type": "JSXAttribute", - "start": 1061, - "end": 1096, + "start": 1130, + "end": 1165, "loc": { "start": { - "line": 49, + "line": 50, "column": 4 }, "end": { - "line": 49, + "line": 50, "column": 39 } }, "name": { "type": "JSXIdentifier", - "start": 1061, - "end": 1074, + "start": 1130, + "end": 1143, "loc": { "start": { - "line": 49, + "line": 50, "column": 4 }, "end": { - "line": 49, + "line": 50, "column": 17 } }, @@ -1869,43 +2117,43 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 1075, - "end": 1096, + "start": 1144, + "end": 1165, "loc": { "start": { - "line": 49, + "line": 50, "column": 18 }, "end": { - "line": 49, + "line": 50, "column": 39 } }, "expression": { "type": "MemberExpression", - "start": 1076, - "end": 1095, + "start": 1145, + "end": 1164, "loc": { "start": { - "line": 49, + "line": 50, "column": 19 }, "end": { - "line": 49, + "line": 50, "column": 38 } }, "object": { "type": "Identifier", - "start": 1076, - "end": 1081, + "start": 1145, + "end": 1150, "loc": { "start": { - "line": 49, + "line": 50, "column": 19 }, "end": { - "line": 49, + "line": 50, "column": 24 }, "identifierName": "props" @@ -1914,15 +2162,15 @@ }, "property": { "type": "Identifier", - "start": 1082, - "end": 1095, + "start": 1151, + "end": 1164, "loc": { "start": { - "line": 49, + "line": 50, "column": 25 }, "end": { - "line": 49, + "line": 50, "column": 38 }, "identifierName": "onValueChange" @@ -1935,29 +2183,29 @@ }, { "type": "JSXAttribute", - "start": 1101, - "end": 1128, + "start": 1170, + "end": 1197, "loc": { "start": { - "line": 50, + "line": 51, "column": 4 }, "end": { - "line": 50, + "line": 51, "column": 31 } }, "name": { "type": "JSXIdentifier", - "start": 1101, - "end": 1110, + "start": 1170, + "end": 1179, "loc": { "start": { - "line": 50, + "line": 51, "column": 4 }, "end": { - "line": 50, + "line": 51, "column": 13 } }, @@ -1965,43 +2213,43 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 1111, - "end": 1128, + "start": 1180, + "end": 1197, "loc": { "start": { - "line": 50, + "line": 51, "column": 14 }, "end": { - "line": 50, + "line": 51, "column": 31 } }, "expression": { "type": "MemberExpression", - "start": 1112, - "end": 1127, + "start": 1181, + "end": 1196, "loc": { "start": { - "line": 50, + "line": 51, "column": 15 }, "end": { - "line": 50, + "line": 51, "column": 30 } }, "object": { "type": "Identifier", - "start": 1112, - "end": 1117, + "start": 1181, + "end": 1186, "loc": { "start": { - "line": 50, + "line": 51, "column": 15 }, "end": { - "line": 50, + "line": 51, "column": 20 }, "identifierName": "props" @@ -2010,15 +2258,15 @@ }, "property": { "type": "Identifier", - "start": 1118, - "end": 1127, + "start": 1187, + "end": 1196, "loc": { "start": { - "line": 50, + "line": 51, "column": 21 }, "end": { - "line": 50, + "line": 51, "column": 30 }, "identifierName": "inputType" @@ -2031,29 +2279,29 @@ }, { "type": "JSXAttribute", - "start": 1133, - "end": 1156, + "start": 1202, + "end": 1219, "loc": { "start": { - "line": 51, + "line": 52, "column": 4 }, "end": { - "line": 51, - "column": 27 + "line": 52, + "column": 21 } }, "name": { "type": "JSXIdentifier", - "start": 1133, - "end": 1140, + "start": 1202, + "end": 1209, "loc": { "start": { - "line": 51, + "line": 52, "column": 4 }, "end": { - "line": 51, + "line": 52, "column": 11 } }, @@ -2061,95 +2309,62 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 1141, - "end": 1156, + "start": 1210, + "end": 1219, "loc": { "start": { - "line": 51, + "line": 52, "column": 12 }, "end": { - "line": 51, - "column": 27 + "line": 52, + "column": 21 } }, "expression": { - "type": "MemberExpression", - "start": 1142, - "end": 1155, + "type": "Identifier", + "start": 1211, + "end": 1218, "loc": { "start": { - "line": 51, + "line": 52, "column": 13 }, "end": { - "line": 51, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 1142, - "end": 1147, - "loc": { - "start": { - "line": 51, - "column": 13 - }, - "end": { - "line": 51, - "column": 18 - }, - "identifierName": "props" - }, - "name": "props" - }, - "property": { - "type": "Identifier", - "start": 1148, - "end": 1155, - "loc": { - "start": { - "line": 51, - "column": 19 - }, - "end": { - "line": 51, - "column": 26 - }, - "identifierName": "options" + "line": 52, + "column": 20 }, - "name": "options" + "identifierName": "options" }, - "computed": false + "name": "options" } } }, { "type": "JSXAttribute", - "start": 1161, - "end": 1186, + "start": 1224, + "end": 1249, "loc": { "start": { - "line": 52, + "line": 53, "column": 4 }, "end": { - "line": 52, + "line": 53, "column": 29 } }, "name": { "type": "JSXIdentifier", - "start": 1161, - "end": 1169, + "start": 1224, + "end": 1232, "loc": { "start": { - "line": 52, + "line": 53, "column": 4 }, "end": { - "line": 52, + "line": 53, "column": 12 } }, @@ -2157,43 +2372,43 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 1170, - "end": 1186, + "start": 1233, + "end": 1249, "loc": { "start": { - "line": 52, + "line": 53, "column": 13 }, "end": { - "line": 52, + "line": 53, "column": 29 } }, "expression": { "type": "MemberExpression", - "start": 1171, - "end": 1185, + "start": 1234, + "end": 1248, "loc": { "start": { - "line": 52, + "line": 53, "column": 14 }, "end": { - "line": 52, + "line": 53, "column": 28 } }, "object": { "type": "Identifier", - "start": 1171, - "end": 1176, + "start": 1234, + "end": 1239, "loc": { "start": { - "line": 52, + "line": 53, "column": 14 }, "end": { - "line": 52, + "line": 53, "column": 19 }, "identifierName": "props" @@ -2202,15 +2417,15 @@ }, "property": { "type": "Identifier", - "start": 1177, - "end": 1185, + "start": 1240, + "end": 1248, "loc": { "start": { - "line": 52, + "line": 53, "column": 20 }, "end": { - "line": 52, + "line": 53, "column": 28 }, "identifierName": "disabled" @@ -2223,29 +2438,29 @@ }, { "type": "JSXAttribute", - "start": 1191, - "end": 1212, + "start": 1254, + "end": 1275, "loc": { "start": { - "line": 53, + "line": 54, "column": 4 }, "end": { - "line": 53, + "line": 54, "column": 25 } }, "name": { "type": "JSXIdentifier", - "start": 1191, - "end": 1197, + "start": 1254, + "end": 1260, "loc": { "start": { - "line": 53, + "line": 54, "column": 4 }, "end": { - "line": 53, + "line": 54, "column": 10 } }, @@ -2253,43 +2468,43 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 1198, - "end": 1212, + "start": 1261, + "end": 1275, "loc": { "start": { - "line": 53, + "line": 54, "column": 11 }, "end": { - "line": 53, + "line": 54, "column": 25 } }, "expression": { "type": "MemberExpression", - "start": 1199, - "end": 1211, + "start": 1262, + "end": 1274, "loc": { "start": { - "line": 53, + "line": 54, "column": 12 }, "end": { - "line": 53, + "line": 54, "column": 24 } }, "object": { "type": "Identifier", - "start": 1199, - "end": 1204, + "start": 1262, + "end": 1267, "loc": { "start": { - "line": 53, + "line": 54, "column": 12 }, "end": { - "line": 53, + "line": 54, "column": 17 }, "identifierName": "props" @@ -2298,15 +2513,15 @@ }, "property": { "type": "Identifier", - "start": 1205, - "end": 1211, + "start": 1268, + "end": 1274, "loc": { "start": { - "line": 53, + "line": 54, "column": 18 }, "end": { - "line": 53, + "line": 54, "column": 24 }, "identifierName": "onBlur" @@ -2319,29 +2534,29 @@ }, { "type": "JSXAttribute", - "start": 1217, - "end": 1240, + "start": 1280, + "end": 1303, "loc": { "start": { - "line": 54, + "line": 55, "column": 4 }, "end": { - "line": 54, + "line": 55, "column": 27 } }, "name": { "type": "JSXIdentifier", - "start": 1217, - "end": 1224, + "start": 1280, + "end": 1287, "loc": { "start": { - "line": 54, + "line": 55, "column": 4 }, "end": { - "line": 54, + "line": 55, "column": 11 } }, @@ -2349,43 +2564,43 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 1225, - "end": 1240, + "start": 1288, + "end": 1303, "loc": { "start": { - "line": 54, + "line": 55, "column": 12 }, "end": { - "line": 54, + "line": 55, "column": 27 } }, "expression": { "type": "MemberExpression", - "start": 1226, - "end": 1239, + "start": 1289, + "end": 1302, "loc": { "start": { - "line": 54, + "line": 55, "column": 13 }, "end": { - "line": 54, + "line": 55, "column": 26 } }, "object": { "type": "Identifier", - "start": 1226, - "end": 1231, + "start": 1289, + "end": 1294, "loc": { "start": { - "line": 54, + "line": 55, "column": 13 }, "end": { - "line": 54, + "line": 55, "column": 18 }, "identifierName": "props" @@ -2394,15 +2609,15 @@ }, "property": { "type": "Identifier", - "start": 1232, - "end": 1239, + "start": 1295, + "end": 1302, "loc": { "start": { - "line": 54, + "line": 55, "column": 19 }, "end": { - "line": 54, + "line": 55, "column": 26 }, "identifierName": "onFocus" @@ -2416,15 +2631,15 @@ ], "name": { "type": "JSXIdentifier", - "start": 926, - "end": 937, + "start": 995, + "end": 1006, "loc": { "start": { - "line": 44, + "line": 45, "column": 4 }, "end": { - "line": 44, + "line": 45, "column": 15 } }, @@ -2436,7 +2651,7 @@ "children": [], "extra": { "parenthesized": true, - "parenStart": 920 + "parenStart": 989 } } } @@ -2464,15 +2679,15 @@ }, { "type": "SwitchCase", - "start": 1253, - "end": 1261, + "start": 1316, + "end": 1324, "loc": { "start": { - "line": 57, + "line": 58, "column": 1 }, "end": { - "line": 57, + "line": 58, "column": 9 } }, @@ -2481,87 +2696,87 @@ }, { "type": "SwitchCase", - "start": 1263, - "end": 1580, + "start": 1326, + "end": 1643, "loc": { "start": { - "line": 58, + "line": 59, "column": 1 }, "end": { - "line": 70, + "line": 71, "column": 7 } }, "consequent": [ { "type": "ReturnStatement", - "start": 1279, - "end": 1580, + "start": 1342, + "end": 1643, "loc": { "start": { - "line": 59, + "line": 60, "column": 2 }, "end": { - "line": 70, + "line": 71, "column": 7 } }, "argument": { "type": "JSXElement", - "start": 1291, - "end": 1578, + "start": 1354, + "end": 1641, "loc": { "start": { - "line": 60, + "line": 61, "column": 3 }, "end": { - "line": 70, + "line": 71, "column": 5 } }, "openingElement": { "type": "JSXOpeningElement", - "start": 1291, - "end": 1578, + "start": 1354, + "end": 1641, "loc": { "start": { - "line": 60, + "line": 61, "column": 3 }, "end": { - "line": 70, + "line": 71, "column": 5 } }, "attributes": [ { "type": "JSXAttribute", - "start": 1302, - "end": 1315, + "start": 1365, + "end": 1378, "loc": { "start": { - "line": 61, + "line": 62, "column": 4 }, "end": { - "line": 61, + "line": 62, "column": 17 } }, "name": { "type": "JSXIdentifier", - "start": 1302, - "end": 1304, + "start": 1365, + "end": 1367, "loc": { "start": { - "line": 61, + "line": 62, "column": 4 }, "end": { - "line": 61, + "line": 62, "column": 6 } }, @@ -2569,43 +2784,43 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 1305, - "end": 1315, + "start": 1368, + "end": 1378, "loc": { "start": { - "line": 61, + "line": 62, "column": 7 }, "end": { - "line": 61, + "line": 62, "column": 17 } }, "expression": { "type": "MemberExpression", - "start": 1306, - "end": 1314, + "start": 1369, + "end": 1377, "loc": { "start": { - "line": 61, + "line": 62, "column": 8 }, "end": { - "line": 61, + "line": 62, "column": 16 } }, "object": { "type": "Identifier", - "start": 1306, - "end": 1311, + "start": 1369, + "end": 1374, "loc": { "start": { - "line": 61, + "line": 62, "column": 8 }, "end": { - "line": 61, + "line": 62, "column": 13 }, "identifierName": "props" @@ -2614,15 +2829,15 @@ }, "property": { "type": "Identifier", - "start": 1312, - "end": 1314, + "start": 1375, + "end": 1377, "loc": { "start": { - "line": 61, + "line": 62, "column": 14 }, "end": { - "line": 61, + "line": 62, "column": 16 }, "identifierName": "id" @@ -2635,29 +2850,29 @@ }, { "type": "JSXAttribute", - "start": 1320, - "end": 1353, + "start": 1383, + "end": 1416, "loc": { "start": { - "line": 62, + "line": 63, "column": 4 }, "end": { - "line": 62, + "line": 63, "column": 37 } }, "name": { "type": "JSXIdentifier", - "start": 1320, - "end": 1334, + "start": 1383, + "end": 1397, "loc": { "start": { - "line": 62, + "line": 63, "column": 4 }, "end": { - "line": 62, + "line": 63, "column": 18 } }, @@ -2665,43 +2880,43 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 1335, - "end": 1353, + "start": 1398, + "end": 1416, "loc": { "start": { - "line": 62, + "line": 63, "column": 19 }, "end": { - "line": 62, + "line": 63, "column": 37 } }, "expression": { "type": "CallExpression", - "start": 1336, - "end": 1352, + "start": 1399, + "end": 1415, "loc": { "start": { - "line": 62, + "line": 63, "column": 20 }, "end": { - "line": 62, + "line": 63, "column": 36 } }, "callee": { "type": "Identifier", - "start": 1336, - "end": 1350, + "start": 1399, + "end": 1413, "loc": { "start": { - "line": 62, + "line": 63, "column": 20 }, "end": { - "line": 62, + "line": 63, "column": 34 }, "identifierName": "inputClassName" @@ -2714,29 +2929,29 @@ }, { "type": "JSXAttribute", - "start": 1358, - "end": 1392, + "start": 1421, + "end": 1455, "loc": { "start": { - "line": 63, + "line": 64, "column": 4 }, "end": { - "line": 63, + "line": 64, "column": 38 } }, "name": { "type": "JSXIdentifier", - "start": 1358, - "end": 1377, + "start": 1421, + "end": 1440, "loc": { "start": { - "line": 63, + "line": 64, "column": 4 }, "end": { - "line": 63, + "line": 64, "column": 23 } }, @@ -2744,43 +2959,43 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 1378, - "end": 1392, + "start": 1441, + "end": 1455, "loc": { "start": { - "line": 63, + "line": 64, "column": 24 }, "end": { - "line": 63, + "line": 64, "column": 38 } }, "expression": { "type": "CallExpression", - "start": 1379, - "end": 1391, + "start": 1442, + "end": 1454, "loc": { "start": { - "line": 63, + "line": 64, "column": 25 }, "end": { - "line": 63, + "line": 64, "column": 37 } }, "callee": { "type": "Identifier", - "start": 1379, - "end": 1389, + "start": 1442, + "end": 1452, "loc": { "start": { - "line": 63, + "line": 64, "column": 25 }, "end": { - "line": 63, + "line": 64, "column": 35 }, "identifierName": "ariaIdAttr" @@ -2793,29 +3008,29 @@ }, { "type": "JSXAttribute", - "start": 1397, - "end": 1416, + "start": 1460, + "end": 1479, "loc": { "start": { - "line": 64, + "line": 65, "column": 4 }, "end": { - "line": 64, + "line": 65, "column": 23 } }, "name": { "type": "JSXIdentifier", - "start": 1397, - "end": 1402, + "start": 1460, + "end": 1465, "loc": { "start": { - "line": 64, + "line": 65, "column": 4 }, "end": { - "line": 64, + "line": 65, "column": 9 } }, @@ -2823,43 +3038,43 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 1403, - "end": 1416, + "start": 1466, + "end": 1479, "loc": { "start": { - "line": 64, + "line": 65, "column": 10 }, "end": { - "line": 64, + "line": 65, "column": 23 } }, "expression": { "type": "MemberExpression", - "start": 1404, - "end": 1415, + "start": 1467, + "end": 1478, "loc": { "start": { - "line": 64, + "line": 65, "column": 11 }, "end": { - "line": 64, + "line": 65, "column": 22 } }, "object": { "type": "Identifier", - "start": 1404, - "end": 1409, + "start": 1467, + "end": 1472, "loc": { "start": { - "line": 64, + "line": 65, "column": 11 }, "end": { - "line": 64, + "line": 65, "column": 16 }, "identifierName": "props" @@ -2868,15 +3083,15 @@ }, "property": { "type": "Identifier", - "start": 1410, - "end": 1415, + "start": 1473, + "end": 1478, "loc": { "start": { - "line": 64, + "line": 65, "column": 17 }, "end": { - "line": 64, + "line": 65, "column": 22 }, "identifierName": "value" @@ -2889,29 +3104,29 @@ }, { "type": "JSXAttribute", - "start": 1421, - "end": 1456, + "start": 1484, + "end": 1519, "loc": { "start": { - "line": 65, + "line": 66, "column": 4 }, "end": { - "line": 65, + "line": 66, "column": 39 } }, "name": { "type": "JSXIdentifier", - "start": 1421, - "end": 1434, + "start": 1484, + "end": 1497, "loc": { "start": { - "line": 65, + "line": 66, "column": 4 }, "end": { - "line": 65, + "line": 66, "column": 17 } }, @@ -2919,43 +3134,43 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 1435, - "end": 1456, + "start": 1498, + "end": 1519, "loc": { "start": { - "line": 65, + "line": 66, "column": 18 }, "end": { - "line": 65, + "line": 66, "column": 39 } }, "expression": { "type": "MemberExpression", - "start": 1436, - "end": 1455, + "start": 1499, + "end": 1518, "loc": { "start": { - "line": 65, + "line": 66, "column": 19 }, "end": { - "line": 65, + "line": 66, "column": 38 } }, "object": { "type": "Identifier", - "start": 1436, - "end": 1441, + "start": 1499, + "end": 1504, "loc": { "start": { - "line": 65, + "line": 66, "column": 19 }, "end": { - "line": 65, + "line": 66, "column": 24 }, "identifierName": "props" @@ -2964,15 +3179,15 @@ }, "property": { "type": "Identifier", - "start": 1442, - "end": 1455, + "start": 1505, + "end": 1518, "loc": { "start": { - "line": 65, + "line": 66, "column": 25 }, "end": { - "line": 65, + "line": 66, "column": 38 }, "identifierName": "onValueChange" @@ -2985,29 +3200,29 @@ }, { "type": "JSXAttribute", - "start": 1461, - "end": 1488, + "start": 1524, + "end": 1551, "loc": { "start": { - "line": 66, + "line": 67, "column": 4 }, "end": { - "line": 66, + "line": 67, "column": 31 } }, "name": { "type": "JSXIdentifier", - "start": 1461, - "end": 1470, + "start": 1524, + "end": 1533, "loc": { "start": { - "line": 66, + "line": 67, "column": 4 }, "end": { - "line": 66, + "line": 67, "column": 13 } }, @@ -3015,43 +3230,43 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 1471, - "end": 1488, + "start": 1534, + "end": 1551, "loc": { "start": { - "line": 66, + "line": 67, "column": 14 }, "end": { - "line": 66, + "line": 67, "column": 31 } }, "expression": { "type": "MemberExpression", - "start": 1472, - "end": 1487, + "start": 1535, + "end": 1550, "loc": { "start": { - "line": 66, + "line": 67, "column": 15 }, "end": { - "line": 66, + "line": 67, "column": 30 } }, "object": { "type": "Identifier", - "start": 1472, - "end": 1477, + "start": 1535, + "end": 1540, "loc": { "start": { - "line": 66, + "line": 67, "column": 15 }, "end": { - "line": 66, + "line": 67, "column": 20 }, "identifierName": "props" @@ -3060,15 +3275,15 @@ }, "property": { "type": "Identifier", - "start": 1478, - "end": 1487, + "start": 1541, + "end": 1550, "loc": { "start": { - "line": 66, + "line": 67, "column": 21 }, "end": { - "line": 66, + "line": 67, "column": 30 }, "identifierName": "inputType" @@ -3081,29 +3296,29 @@ }, { "type": "JSXAttribute", - "start": 1493, - "end": 1518, + "start": 1556, + "end": 1581, "loc": { "start": { - "line": 67, + "line": 68, "column": 4 }, "end": { - "line": 67, + "line": 68, "column": 29 } }, "name": { "type": "JSXIdentifier", - "start": 1493, - "end": 1501, + "start": 1556, + "end": 1564, "loc": { "start": { - "line": 67, + "line": 68, "column": 4 }, "end": { - "line": 67, + "line": 68, "column": 12 } }, @@ -3111,43 +3326,43 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 1502, - "end": 1518, + "start": 1565, + "end": 1581, "loc": { "start": { - "line": 67, + "line": 68, "column": 13 }, "end": { - "line": 67, + "line": 68, "column": 29 } }, "expression": { "type": "MemberExpression", - "start": 1503, - "end": 1517, + "start": 1566, + "end": 1580, "loc": { "start": { - "line": 67, + "line": 68, "column": 14 }, "end": { - "line": 67, + "line": 68, "column": 28 } }, "object": { "type": "Identifier", - "start": 1503, - "end": 1508, + "start": 1566, + "end": 1571, "loc": { "start": { - "line": 67, + "line": 68, "column": 14 }, "end": { - "line": 67, + "line": 68, "column": 19 }, "identifierName": "props" @@ -3156,15 +3371,15 @@ }, "property": { "type": "Identifier", - "start": 1509, - "end": 1517, + "start": 1572, + "end": 1580, "loc": { "start": { - "line": 67, + "line": 68, "column": 20 }, "end": { - "line": 67, + "line": 68, "column": 28 }, "identifierName": "disabled" @@ -3177,29 +3392,29 @@ }, { "type": "JSXAttribute", - "start": 1523, - "end": 1544, + "start": 1586, + "end": 1607, "loc": { "start": { - "line": 68, + "line": 69, "column": 4 }, "end": { - "line": 68, + "line": 69, "column": 25 } }, "name": { "type": "JSXIdentifier", - "start": 1523, - "end": 1529, + "start": 1586, + "end": 1592, "loc": { "start": { - "line": 68, + "line": 69, "column": 4 }, "end": { - "line": 68, + "line": 69, "column": 10 } }, @@ -3207,43 +3422,43 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 1530, - "end": 1544, + "start": 1593, + "end": 1607, "loc": { "start": { - "line": 68, + "line": 69, "column": 11 }, "end": { - "line": 68, + "line": 69, "column": 25 } }, "expression": { "type": "MemberExpression", - "start": 1531, - "end": 1543, + "start": 1594, + "end": 1606, "loc": { "start": { - "line": 68, + "line": 69, "column": 12 }, "end": { - "line": 68, + "line": 69, "column": 24 } }, "object": { "type": "Identifier", - "start": 1531, - "end": 1536, + "start": 1594, + "end": 1599, "loc": { "start": { - "line": 68, + "line": 69, "column": 12 }, "end": { - "line": 68, + "line": 69, "column": 17 }, "identifierName": "props" @@ -3252,15 +3467,15 @@ }, "property": { "type": "Identifier", - "start": 1537, - "end": 1543, + "start": 1600, + "end": 1606, "loc": { "start": { - "line": 68, + "line": 69, "column": 18 }, "end": { - "line": 68, + "line": 69, "column": 24 }, "identifierName": "onBlur" @@ -3273,29 +3488,29 @@ }, { "type": "JSXAttribute", - "start": 1549, - "end": 1572, + "start": 1612, + "end": 1635, "loc": { "start": { - "line": 69, + "line": 70, "column": 4 }, "end": { - "line": 69, + "line": 70, "column": 27 } }, "name": { "type": "JSXIdentifier", - "start": 1549, - "end": 1556, + "start": 1612, + "end": 1619, "loc": { "start": { - "line": 69, + "line": 70, "column": 4 }, "end": { - "line": 69, + "line": 70, "column": 11 } }, @@ -3303,43 +3518,43 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 1557, - "end": 1572, + "start": 1620, + "end": 1635, "loc": { "start": { - "line": 69, + "line": 70, "column": 12 }, "end": { - "line": 69, + "line": 70, "column": 27 } }, "expression": { "type": "MemberExpression", - "start": 1558, - "end": 1571, + "start": 1621, + "end": 1634, "loc": { "start": { - "line": 69, + "line": 70, "column": 13 }, "end": { - "line": 69, + "line": 70, "column": 26 } }, "object": { "type": "Identifier", - "start": 1558, - "end": 1563, + "start": 1621, + "end": 1626, "loc": { "start": { - "line": 69, + "line": 70, "column": 13 }, "end": { - "line": 69, + "line": 70, "column": 18 }, "identifierName": "props" @@ -3348,15 +3563,15 @@ }, "property": { "type": "Identifier", - "start": 1564, - "end": 1571, + "start": 1627, + "end": 1634, "loc": { "start": { - "line": 69, + "line": 70, "column": 19 }, "end": { - "line": 69, + "line": 70, "column": 26 }, "identifierName": "onFocus" @@ -3370,15 +3585,15 @@ ], "name": { "type": "JSXIdentifier", - "start": 1292, - "end": 1297, + "start": 1355, + "end": 1360, "loc": { "start": { - "line": 60, + "line": 61, "column": 4 }, "end": { - "line": 60, + "line": 61, "column": 9 } }, @@ -3390,22 +3605,22 @@ "children": [], "extra": { "parenthesized": true, - "parenStart": 1286 + "parenStart": 1349 } } } ], "test": { "type": "StringLiteral", - "start": 1268, - "end": 1275, + "start": 1331, + "end": 1338, "loc": { "start": { - "line": 58, + "line": 59, "column": 6 }, "end": { - "line": 58, + "line": 59, "column": 13 } }, @@ -3448,15 +3663,15 @@ { "type": "CommentBlock", "value": "*\n * propTypes for FieldInner component\n *\n * @type {{options, ariaDescribedbyAttr}}\n ", - "start": 1589, - "end": 1679, + "start": 1652, + "end": 1742, "loc": { "start": { - "line": 75, + "line": 76, "column": 0 }, "end": { - "line": 79, + "line": 80, "column": 3 } } @@ -3485,15 +3700,15 @@ { "type": "CommentBlock", "value": "*\n * propTypes for FieldInner component\n *\n * @type {{options, ariaDescribedbyAttr}}\n ", - "start": 1589, - "end": 1679, + "start": 1652, + "end": 1742, "loc": { "start": { - "line": 75, + "line": 76, "column": 0 }, "end": { - "line": 79, + "line": 80, "column": 3 } } @@ -3502,58 +3717,58 @@ }, { "type": "ExpressionStatement", - "start": 1680, - "end": 1757, + "start": 1743, + "end": 1820, "loc": { "start": { - "line": 80, + "line": 81, "column": 0 }, "end": { - "line": 83, + "line": 84, "column": 2 } }, "expression": { "type": "AssignmentExpression", - "start": 1680, - "end": 1756, + "start": 1743, + "end": 1819, "loc": { "start": { - "line": 80, + "line": 81, "column": 0 }, "end": { - "line": 83, + "line": 84, "column": 1 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1680, - "end": 1700, + "start": 1743, + "end": 1763, "loc": { "start": { - "line": 80, + "line": 81, "column": 0 }, "end": { - "line": 80, + "line": 81, "column": 20 } }, "object": { "type": "Identifier", - "start": 1680, - "end": 1690, + "start": 1743, + "end": 1753, "loc": { "start": { - "line": 80, + "line": 81, "column": 0 }, "end": { - "line": 80, + "line": 81, "column": 10 }, "identifierName": "FieldInner" @@ -3563,15 +3778,15 @@ }, "property": { "type": "Identifier", - "start": 1691, - "end": 1700, + "start": 1754, + "end": 1763, "loc": { "start": { - "line": 80, + "line": 81, "column": 11 }, "end": { - "line": 80, + "line": 81, "column": 20 }, "identifierName": "propTypes" @@ -3583,44 +3798,44 @@ }, "right": { "type": "ObjectExpression", - "start": 1703, - "end": 1756, + "start": 1766, + "end": 1819, "loc": { "start": { - "line": 80, + "line": 81, "column": 23 }, "end": { - "line": 83, + "line": 84, "column": 1 } }, "properties": [ { "type": "SpreadProperty", - "start": 1706, - "end": 1728, + "start": 1769, + "end": 1791, "loc": { "start": { - "line": 81, + "line": 82, "column": 1 }, "end": { - "line": 81, + "line": 82, "column": 23 } }, "argument": { "type": "Identifier", - "start": 1709, - "end": 1728, + "start": 1772, + "end": 1791, "loc": { "start": { - "line": 81, + "line": 82, "column": 4 }, "end": { - "line": 81, + "line": 82, "column": 23 }, "identifierName": "fieldInnerPropTypes" @@ -3630,15 +3845,15 @@ }, { "type": "ObjectProperty", - "start": 1731, - "end": 1753, + "start": 1794, + "end": 1816, "loc": { "start": { - "line": 82, + "line": 83, "column": 1 }, "end": { - "line": 82, + "line": 83, "column": 23 } }, @@ -3647,15 +3862,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1731, - "end": 1735, + "start": 1794, + "end": 1798, "loc": { "start": { - "line": 82, + "line": 83, "column": 1 }, "end": { - "line": 82, + "line": 83, "column": 5 }, "identifierName": "type" @@ -3664,29 +3879,29 @@ }, "value": { "type": "MemberExpression", - "start": 1737, - "end": 1753, + "start": 1800, + "end": 1816, "loc": { "start": { - "line": 82, + "line": 83, "column": 7 }, "end": { - "line": 82, + "line": 83, "column": 23 } }, "object": { "type": "Identifier", - "start": 1737, - "end": 1746, + "start": 1800, + "end": 1809, "loc": { "start": { - "line": 82, + "line": 83, "column": 7 }, "end": { - "line": 82, + "line": 83, "column": 16 }, "identifierName": "PropTypes" @@ -3695,15 +3910,15 @@ }, "property": { "type": "Identifier", - "start": 1747, - "end": 1753, + "start": 1810, + "end": 1816, "loc": { "start": { - "line": 82, + "line": 83, "column": 17 }, "end": { - "line": 82, + "line": 83, "column": 23 }, "identifierName": "string" @@ -3721,15 +3936,15 @@ { "type": "CommentBlock", "value": "*\n * propTypes for FieldInner component\n *\n * @type {{options, ariaDescribedbyAttr}}\n ", - "start": 1589, - "end": 1679, + "start": 1652, + "end": 1742, "loc": { "start": { - "line": 75, + "line": 76, "column": 0 }, "end": { - "line": 79, + "line": 80, "column": 3 } } @@ -3739,15 +3954,15 @@ { "type": "CommentBlock", "value": "*\n * Default props for FieldInner component\n * @type {{help: string}}\n ", - "start": 1759, - "end": 1834, + "start": 1822, + "end": 1897, "loc": { "start": { - "line": 85, + "line": 86, "column": 0 }, "end": { - "line": 88, + "line": 89, "column": 3 } } @@ -3756,58 +3971,58 @@ }, { "type": "ExpressionStatement", - "start": 1835, - "end": 1891, + "start": 1898, + "end": 1954, "loc": { "start": { - "line": 89, + "line": 90, "column": 0 }, "end": { - "line": 92, + "line": 93, "column": 2 } }, "expression": { "type": "AssignmentExpression", - "start": 1835, - "end": 1890, + "start": 1898, + "end": 1953, "loc": { "start": { - "line": 89, + "line": 90, "column": 0 }, "end": { - "line": 92, + "line": 93, "column": 1 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1835, - "end": 1858, + "start": 1898, + "end": 1921, "loc": { "start": { - "line": 89, + "line": 90, "column": 0 }, "end": { - "line": 89, + "line": 90, "column": 23 } }, "object": { "type": "Identifier", - "start": 1835, - "end": 1845, + "start": 1898, + "end": 1908, "loc": { "start": { - "line": 89, + "line": 90, "column": 0 }, "end": { - "line": 89, + "line": 90, "column": 10 }, "identifierName": "FieldInner" @@ -3817,15 +4032,15 @@ }, "property": { "type": "Identifier", - "start": 1846, - "end": 1858, + "start": 1909, + "end": 1921, "loc": { "start": { - "line": 89, + "line": 90, "column": 11 }, "end": { - "line": 89, + "line": 90, "column": 23 }, "identifierName": "defaultProps" @@ -3837,30 +4052,30 @@ }, "right": { "type": "ObjectExpression", - "start": 1861, - "end": 1890, + "start": 1924, + "end": 1953, "loc": { "start": { - "line": 89, + "line": 90, "column": 26 }, "end": { - "line": 92, + "line": 93, "column": 1 } }, "properties": [ { "type": "ObjectProperty", - "start": 1864, - "end": 1872, + "start": 1927, + "end": 1935, "loc": { "start": { - "line": 90, + "line": 91, "column": 1 }, "end": { - "line": 90, + "line": 91, "column": 9 } }, @@ -3869,15 +4084,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1864, - "end": 1868, + "start": 1927, + "end": 1931, "loc": { "start": { - "line": 90, + "line": 91, "column": 1 }, "end": { - "line": 90, + "line": 91, "column": 5 }, "identifierName": "help" @@ -3886,15 +4101,15 @@ }, "value": { "type": "StringLiteral", - "start": 1870, - "end": 1872, + "start": 1933, + "end": 1935, "loc": { "start": { - "line": 90, + "line": 91, "column": 7 }, "end": { - "line": 90, + "line": 91, "column": 9 } }, @@ -3907,15 +4122,15 @@ }, { "type": "ObjectProperty", - "start": 1875, - "end": 1888, + "start": 1938, + "end": 1951, "loc": { "start": { - "line": 91, + "line": 92, "column": 1 }, "end": { - "line": 91, + "line": 92, "column": 14 } }, @@ -3924,15 +4139,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1875, - "end": 1879, + "start": 1938, + "end": 1942, "loc": { "start": { - "line": 91, + "line": 92, "column": 1 }, "end": { - "line": 91, + "line": 92, "column": 5 }, "identifierName": "type" @@ -3941,15 +4156,15 @@ }, "value": { "type": "StringLiteral", - "start": 1881, - "end": 1888, + "start": 1944, + "end": 1951, "loc": { "start": { - "line": 91, + "line": 92, "column": 7 }, "end": { - "line": 91, + "line": 92, "column": 14 } }, @@ -3968,15 +4183,15 @@ { "type": "CommentBlock", "value": "*\n * Default props for FieldInner component\n * @type {{help: string}}\n ", - "start": 1759, - "end": 1834, + "start": 1822, + "end": 1897, "loc": { "start": { - "line": 85, + "line": 86, "column": 0 }, "end": { - "line": 88, + "line": 89, "column": 3 } } @@ -4038,15 +4253,15 @@ { "type": "CommentBlock", "value": "*\n * propTypes for FieldInner component\n *\n * @type {{options, ariaDescribedbyAttr}}\n ", - "start": 1589, - "end": 1679, + "start": 1652, + "end": 1742, "loc": { "start": { - "line": 75, + "line": 76, "column": 0 }, "end": { - "line": 79, + "line": 80, "column": 3 } } @@ -4054,15 +4269,15 @@ { "type": "CommentBlock", "value": "*\n * Default props for FieldInner component\n * @type {{help: string}}\n ", - "start": 1759, - "end": 1834, + "start": 1822, + "end": 1897, "loc": { "start": { - "line": 85, + "line": 86, "column": 0 }, "end": { - "line": 88, + "line": 89, "column": 3 } } @@ -6842,25 +7057,525 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null + }, + "start": 874, + "end": 875, + "loc": { + "start": { + "line": 40, + "column": 20 + }, + "end": { + "line": 40, + "column": 21 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 875, + "end": 876, + "loc": { + "start": { + "line": 40, + "column": 21 + }, + "end": { + "line": 40, + "column": 22 + } + } + }, + { + "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": 878, + "end": 882, + "loc": { + "start": { + "line": 41, + "column": 1 + }, + "end": { + "line": 41, + "column": 5 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "select", + "start": 883, + "end": 891, + "loc": { + "start": { + "line": 41, + "column": 6 + }, + "end": { + "line": 41, + "column": 14 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 891, + "end": 892, + "loc": { + "start": { + "line": 41, + "column": 14 + }, + "end": { + "line": 41, + "column": 15 + } + } + }, + { + "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": 894, + "end": 898, + "loc": { + "start": { + "line": 42, + "column": 1 + }, + "end": { + "line": 42, + "column": 5 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "dropdown", + "start": 899, + "end": 909, + "loc": { + "start": { + "line": 42, + "column": 6 + }, + "end": { + "line": 42, + "column": 16 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 909, + "end": 910, + "loc": { + "start": { + "line": 42, + "column": 16 + }, + "end": { + "line": 42, + "column": 17 + } + } + }, + { + "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": 913, + "end": 918, + "loc": { + "start": { + "line": 43, + "column": 2 + }, + "end": { + "line": 43, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 919, + "end": 926, + "loc": { + "start": { + "line": 43, + "column": 8 + }, + "end": { + "line": 43, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 927, + "end": 928, + "loc": { + "start": { + "line": 43, + "column": 16 + }, + "end": { + "line": 43, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Array", + "start": 929, + "end": 934, + "loc": { + "start": { + "line": 43, + "column": 18 + }, + "end": { + "line": 43, + "column": 23 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 934, + "end": 935, + "loc": { + "start": { + "line": 43, + "column": 23 + }, + "end": { + "line": 43, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isArray", + "start": 935, + "end": 942, + "loc": { + "start": { + "line": 43, + "column": 24 + }, + "end": { + "line": 43, + "column": 31 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 942, + "end": 943, + "loc": { + "start": { + "line": 43, + "column": 31 + }, + "end": { + "line": 43, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "props", + "start": 943, + "end": 948, + "loc": { + "start": { + "line": 43, + "column": 32 + }, + "end": { + "line": 43, + "column": 37 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 948, + "end": 949, + "loc": { + "start": { + "line": 43, + "column": 37 + }, + "end": { + "line": 43, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 949, + "end": 956, + "loc": { + "start": { + "line": 43, + "column": 38 + }, + "end": { + "line": 43, + "column": 45 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 956, + "end": 957, + "loc": { + "start": { + "line": 43, + "column": 45 + }, + "end": { + "line": 43, + "column": 46 + } + } + }, + { + "type": { + "label": "?", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null }, - "start": 874, - "end": 875, + "start": 958, + "end": 959, "loc": { "start": { - "line": 40, - "column": 20 + "line": 43, + "column": 47 }, "end": { - "line": 40, - "column": 21 + "line": 43, + "column": 48 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -6869,24 +7584,24 @@ "postfix": false, "binop": null }, - "start": 875, - "end": 876, + "value": "props", + "start": 960, + "end": 965, "loc": { "start": { - "line": 40, - "column": 21 + "line": 43, + "column": 49 }, "end": { - "line": 40, - "column": 22 + "line": 43, + "column": 54 } } }, { "type": { - "label": "case", - "keyword": "case", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -6896,23 +7611,22 @@ "binop": null, "updateContext": null }, - "value": "case", - "start": 878, - "end": 882, + "start": 965, + "end": 966, "loc": { "start": { - "line": 41, - "column": 1 + "line": 43, + "column": 54 }, "end": { - "line": 41, - "column": 5 + "line": 43, + "column": 55 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -6920,20 +7634,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "select", - "start": 883, - "end": 891, + "value": "options", + "start": 966, + "end": 973, "loc": { "start": { - "line": 41, - "column": 6 + "line": 43, + "column": 55 }, "end": { - "line": 41, - "column": 14 + "line": 43, + "column": 62 } } }, @@ -6950,25 +7663,24 @@ "binop": null, "updateContext": null }, - "start": 891, - "end": 892, + "start": 974, + "end": 975, "loc": { "start": { - "line": 41, - "column": 14 + "line": 43, + "column": 63 }, "end": { - "line": 41, - "column": 15 + "line": 43, + "column": 64 } } }, { "type": { - "label": "case", - "keyword": "case", + "label": "[", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -6977,25 +7689,24 @@ "binop": null, "updateContext": null }, - "value": "case", - "start": 894, - "end": 898, + "start": 976, + "end": 977, "loc": { "start": { - "line": 42, - "column": 1 + "line": 43, + "column": 65 }, "end": { - "line": 42, - "column": 5 + "line": 43, + "column": 66 } } }, { "type": { - "label": "string", + "label": "]", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -7004,23 +7715,22 @@ "binop": null, "updateContext": null }, - "value": "dropdown", - "start": 899, - "end": 909, + "start": 977, + "end": 978, "loc": { "start": { - "line": 42, - "column": 6 + "line": 43, + "column": 66 }, "end": { - "line": 42, - "column": 16 + "line": 43, + "column": 67 } } }, { "type": { - "label": ":", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -7031,16 +7741,16 @@ "binop": null, "updateContext": null }, - "start": 909, - "end": 910, + "start": 978, + "end": 979, "loc": { "start": { - "line": 42, - "column": 16 + "line": 43, + "column": 67 }, "end": { - "line": 42, - "column": 17 + "line": 43, + "column": 68 } } }, @@ -7059,15 +7769,15 @@ "updateContext": null }, "value": "return", - "start": 913, - "end": 919, + "start": 982, + "end": 988, "loc": { "start": { - "line": 43, + "line": 44, "column": 2 }, "end": { - "line": 43, + "line": 44, "column": 8 } } @@ -7084,15 +7794,15 @@ "postfix": false, "binop": null }, - "start": 920, - "end": 921, + "start": 989, + "end": 990, "loc": { "start": { - "line": 43, + "line": 44, "column": 9 }, "end": { - "line": 43, + "line": 44, "column": 10 } } @@ -7109,15 +7819,15 @@ "postfix": false, "binop": null }, - "start": 925, - "end": 926, + "start": 994, + "end": 995, "loc": { "start": { - "line": 44, + "line": 45, "column": 3 }, "end": { - "line": 44, + "line": 45, "column": 4 } } @@ -7136,15 +7846,15 @@ "updateContext": null }, "value": "SelectField", - "start": 926, - "end": 937, + "start": 995, + "end": 1006, "loc": { "start": { - "line": 44, + "line": 45, "column": 4 }, "end": { - "line": 44, + "line": 45, "column": 15 } } @@ -7163,15 +7873,15 @@ "updateContext": null }, "value": "id", - "start": 942, - "end": 944, + "start": 1011, + "end": 1013, "loc": { "start": { - "line": 45, + "line": 46, "column": 4 }, "end": { - "line": 45, + "line": 46, "column": 6 } } @@ -7190,15 +7900,15 @@ "updateContext": null }, "value": "=", - "start": 944, - "end": 945, + "start": 1013, + "end": 1014, "loc": { "start": { - "line": 45, + "line": 46, "column": 6 }, "end": { - "line": 45, + "line": 46, "column": 7 } } @@ -7215,15 +7925,15 @@ "postfix": false, "binop": null }, - "start": 945, - "end": 946, + "start": 1014, + "end": 1015, "loc": { "start": { - "line": 45, + "line": 46, "column": 7 }, "end": { - "line": 45, + "line": 46, "column": 8 } } @@ -7241,15 +7951,15 @@ "binop": null }, "value": "props", - "start": 946, - "end": 951, + "start": 1015, + "end": 1020, "loc": { "start": { - "line": 45, + "line": 46, "column": 8 }, "end": { - "line": 45, + "line": 46, "column": 13 } } @@ -7267,15 +7977,15 @@ "binop": null, "updateContext": null }, - "start": 951, - "end": 952, + "start": 1020, + "end": 1021, "loc": { "start": { - "line": 45, + "line": 46, "column": 13 }, "end": { - "line": 45, + "line": 46, "column": 14 } } @@ -7293,15 +8003,15 @@ "binop": null }, "value": "id", - "start": 952, - "end": 954, + "start": 1021, + "end": 1023, "loc": { "start": { - "line": 45, + "line": 46, "column": 14 }, "end": { - "line": 45, + "line": 46, "column": 16 } } @@ -7318,15 +8028,15 @@ "postfix": false, "binop": null }, - "start": 954, - "end": 955, + "start": 1023, + "end": 1024, "loc": { "start": { - "line": 45, + "line": 46, "column": 16 }, "end": { - "line": 45, + "line": 46, "column": 17 } } @@ -7345,15 +8055,15 @@ "updateContext": null }, "value": "fieldClassName", - "start": 960, - "end": 974, + "start": 1029, + "end": 1043, "loc": { "start": { - "line": 46, + "line": 47, "column": 4 }, "end": { - "line": 46, + "line": 47, "column": 18 } } @@ -7372,15 +8082,15 @@ "updateContext": null }, "value": "=", - "start": 974, - "end": 975, + "start": 1043, + "end": 1044, "loc": { "start": { - "line": 46, + "line": 47, "column": 18 }, "end": { - "line": 46, + "line": 47, "column": 19 } } @@ -7397,15 +8107,15 @@ "postfix": false, "binop": null }, - "start": 975, - "end": 976, + "start": 1044, + "end": 1045, "loc": { "start": { - "line": 46, + "line": 47, "column": 19 }, "end": { - "line": 46, + "line": 47, "column": 20 } } @@ -7423,15 +8133,15 @@ "binop": null }, "value": "inputClassName", - "start": 976, - "end": 990, + "start": 1045, + "end": 1059, "loc": { "start": { - "line": 46, + "line": 47, "column": 20 }, "end": { - "line": 46, + "line": 47, "column": 34 } } @@ -7448,15 +8158,15 @@ "postfix": false, "binop": null }, - "start": 990, - "end": 991, + "start": 1059, + "end": 1060, "loc": { "start": { - "line": 46, + "line": 47, "column": 34 }, "end": { - "line": 46, + "line": 47, "column": 35 } } @@ -7473,15 +8183,15 @@ "postfix": false, "binop": null }, - "start": 991, - "end": 992, + "start": 1060, + "end": 1061, "loc": { "start": { - "line": 46, + "line": 47, "column": 35 }, "end": { - "line": 46, + "line": 47, "column": 36 } } @@ -7498,15 +8208,15 @@ "postfix": false, "binop": null }, - "start": 992, - "end": 993, + "start": 1061, + "end": 1062, "loc": { "start": { - "line": 46, + "line": 47, "column": 36 }, "end": { - "line": 46, + "line": 47, "column": 37 } } @@ -7525,15 +8235,15 @@ "updateContext": null }, "value": "ariaDescribedbyAttr", - "start": 998, - "end": 1017, + "start": 1067, + "end": 1086, "loc": { "start": { - "line": 47, + "line": 48, "column": 4 }, "end": { - "line": 47, + "line": 48, "column": 23 } } @@ -7552,15 +8262,15 @@ "updateContext": null }, "value": "=", - "start": 1017, - "end": 1018, + "start": 1086, + "end": 1087, "loc": { "start": { - "line": 47, + "line": 48, "column": 23 }, "end": { - "line": 47, + "line": 48, "column": 24 } } @@ -7577,15 +8287,15 @@ "postfix": false, "binop": null }, - "start": 1018, - "end": 1019, + "start": 1087, + "end": 1088, "loc": { "start": { - "line": 47, + "line": 48, "column": 24 }, "end": { - "line": 47, + "line": 48, "column": 25 } } @@ -7603,15 +8313,15 @@ "binop": null }, "value": "ariaIdAttr", - "start": 1019, - "end": 1029, + "start": 1088, + "end": 1098, "loc": { "start": { - "line": 47, + "line": 48, "column": 25 }, "end": { - "line": 47, + "line": 48, "column": 35 } } @@ -7628,15 +8338,15 @@ "postfix": false, "binop": null }, - "start": 1029, - "end": 1030, + "start": 1098, + "end": 1099, "loc": { "start": { - "line": 47, + "line": 48, "column": 35 }, "end": { - "line": 47, + "line": 48, "column": 36 } } @@ -7653,15 +8363,15 @@ "postfix": false, "binop": null }, - "start": 1030, - "end": 1031, + "start": 1099, + "end": 1100, "loc": { "start": { - "line": 47, + "line": 48, "column": 36 }, "end": { - "line": 47, + "line": 48, "column": 37 } } @@ -7678,15 +8388,15 @@ "postfix": false, "binop": null }, - "start": 1031, - "end": 1032, + "start": 1100, + "end": 1101, "loc": { "start": { - "line": 47, + "line": 48, "column": 37 }, "end": { - "line": 47, + "line": 48, "column": 38 } } @@ -7705,15 +8415,15 @@ "updateContext": null }, "value": "value", - "start": 1037, - "end": 1042, + "start": 1106, + "end": 1111, "loc": { "start": { - "line": 48, + "line": 49, "column": 4 }, "end": { - "line": 48, + "line": 49, "column": 9 } } @@ -7732,15 +8442,15 @@ "updateContext": null }, "value": "=", - "start": 1042, - "end": 1043, + "start": 1111, + "end": 1112, "loc": { "start": { - "line": 48, + "line": 49, "column": 9 }, "end": { - "line": 48, + "line": 49, "column": 10 } } @@ -7757,15 +8467,15 @@ "postfix": false, "binop": null }, - "start": 1043, - "end": 1044, + "start": 1112, + "end": 1113, "loc": { "start": { - "line": 48, + "line": 49, "column": 10 }, "end": { - "line": 48, + "line": 49, "column": 11 } } @@ -7783,15 +8493,15 @@ "binop": null }, "value": "props", - "start": 1044, - "end": 1049, + "start": 1113, + "end": 1118, "loc": { "start": { - "line": 48, + "line": 49, "column": 11 }, "end": { - "line": 48, + "line": 49, "column": 16 } } @@ -7809,15 +8519,15 @@ "binop": null, "updateContext": null }, - "start": 1049, - "end": 1050, + "start": 1118, + "end": 1119, "loc": { "start": { - "line": 48, + "line": 49, "column": 16 }, "end": { - "line": 48, + "line": 49, "column": 17 } } @@ -7835,15 +8545,15 @@ "binop": null }, "value": "value", - "start": 1050, - "end": 1055, + "start": 1119, + "end": 1124, "loc": { "start": { - "line": 48, + "line": 49, "column": 17 }, "end": { - "line": 48, + "line": 49, "column": 22 } } @@ -7860,15 +8570,15 @@ "postfix": false, "binop": null }, - "start": 1055, - "end": 1056, + "start": 1124, + "end": 1125, "loc": { "start": { - "line": 48, + "line": 49, "column": 22 }, "end": { - "line": 48, + "line": 49, "column": 23 } } @@ -7887,15 +8597,15 @@ "updateContext": null }, "value": "onValueChange", - "start": 1061, - "end": 1074, + "start": 1130, + "end": 1143, "loc": { "start": { - "line": 49, + "line": 50, "column": 4 }, "end": { - "line": 49, + "line": 50, "column": 17 } } @@ -7914,15 +8624,15 @@ "updateContext": null }, "value": "=", - "start": 1074, - "end": 1075, + "start": 1143, + "end": 1144, "loc": { "start": { - "line": 49, + "line": 50, "column": 17 }, "end": { - "line": 49, + "line": 50, "column": 18 } } @@ -7939,15 +8649,15 @@ "postfix": false, "binop": null }, - "start": 1075, - "end": 1076, + "start": 1144, + "end": 1145, "loc": { "start": { - "line": 49, + "line": 50, "column": 18 }, "end": { - "line": 49, + "line": 50, "column": 19 } } @@ -7965,15 +8675,15 @@ "binop": null }, "value": "props", - "start": 1076, - "end": 1081, + "start": 1145, + "end": 1150, "loc": { "start": { - "line": 49, + "line": 50, "column": 19 }, "end": { - "line": 49, + "line": 50, "column": 24 } } @@ -7991,15 +8701,15 @@ "binop": null, "updateContext": null }, - "start": 1081, - "end": 1082, + "start": 1150, + "end": 1151, "loc": { "start": { - "line": 49, + "line": 50, "column": 24 }, "end": { - "line": 49, + "line": 50, "column": 25 } } @@ -8017,15 +8727,15 @@ "binop": null }, "value": "onValueChange", - "start": 1082, - "end": 1095, + "start": 1151, + "end": 1164, "loc": { "start": { - "line": 49, + "line": 50, "column": 25 }, "end": { - "line": 49, + "line": 50, "column": 38 } } @@ -8042,15 +8752,15 @@ "postfix": false, "binop": null }, - "start": 1095, - "end": 1096, + "start": 1164, + "end": 1165, "loc": { "start": { - "line": 49, + "line": 50, "column": 38 }, "end": { - "line": 49, + "line": 50, "column": 39 } } @@ -8069,15 +8779,15 @@ "updateContext": null }, "value": "inputType", - "start": 1101, - "end": 1110, + "start": 1170, + "end": 1179, "loc": { "start": { - "line": 50, + "line": 51, "column": 4 }, "end": { - "line": 50, + "line": 51, "column": 13 } } @@ -8096,15 +8806,15 @@ "updateContext": null }, "value": "=", - "start": 1110, - "end": 1111, + "start": 1179, + "end": 1180, "loc": { "start": { - "line": 50, + "line": 51, "column": 13 }, "end": { - "line": 50, + "line": 51, "column": 14 } } @@ -8121,15 +8831,15 @@ "postfix": false, "binop": null }, - "start": 1111, - "end": 1112, + "start": 1180, + "end": 1181, "loc": { "start": { - "line": 50, + "line": 51, "column": 14 }, "end": { - "line": 50, + "line": 51, "column": 15 } } @@ -8147,15 +8857,15 @@ "binop": null }, "value": "props", - "start": 1112, - "end": 1117, + "start": 1181, + "end": 1186, "loc": { "start": { - "line": 50, + "line": 51, "column": 15 }, "end": { - "line": 50, + "line": 51, "column": 20 } } @@ -8173,15 +8883,15 @@ "binop": null, "updateContext": null }, - "start": 1117, - "end": 1118, + "start": 1186, + "end": 1187, "loc": { "start": { - "line": 50, + "line": 51, "column": 20 }, "end": { - "line": 50, + "line": 51, "column": 21 } } @@ -8199,15 +8909,15 @@ "binop": null }, "value": "inputType", - "start": 1118, - "end": 1127, + "start": 1187, + "end": 1196, "loc": { "start": { - "line": 50, + "line": 51, "column": 21 }, "end": { - "line": 50, + "line": 51, "column": 30 } } @@ -8224,15 +8934,15 @@ "postfix": false, "binop": null }, - "start": 1127, - "end": 1128, + "start": 1196, + "end": 1197, "loc": { "start": { - "line": 50, + "line": 51, "column": 30 }, "end": { - "line": 50, + "line": 51, "column": 31 } } @@ -8251,15 +8961,15 @@ "updateContext": null }, "value": "options", - "start": 1133, - "end": 1140, + "start": 1202, + "end": 1209, "loc": { "start": { - "line": 51, + "line": 52, "column": 4 }, "end": { - "line": 51, + "line": 52, "column": 11 } } @@ -8278,15 +8988,15 @@ "updateContext": null }, "value": "=", - "start": 1140, - "end": 1141, + "start": 1209, + "end": 1210, "loc": { "start": { - "line": 51, + "line": 52, "column": 11 }, "end": { - "line": 51, + "line": 52, "column": 12 } } @@ -8303,68 +9013,16 @@ "postfix": false, "binop": null }, - "start": 1141, - "end": 1142, + "start": 1210, + "end": 1211, "loc": { "start": { - "line": 51, + "line": 52, "column": 12 }, "end": { - "line": 51, - "column": 13 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "props", - "start": 1142, - "end": 1147, - "loc": { - "start": { - "line": 51, + "line": 52, "column": 13 - }, - "end": { - "line": 51, - "column": 18 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1147, - "end": 1148, - "loc": { - "start": { - "line": 51, - "column": 18 - }, - "end": { - "line": 51, - "column": 19 } } }, @@ -8381,16 +9039,16 @@ "binop": null }, "value": "options", - "start": 1148, - "end": 1155, + "start": 1211, + "end": 1218, "loc": { "start": { - "line": 51, - "column": 19 + "line": 52, + "column": 13 }, "end": { - "line": 51, - "column": 26 + "line": 52, + "column": 20 } } }, @@ -8406,16 +9064,16 @@ "postfix": false, "binop": null }, - "start": 1155, - "end": 1156, + "start": 1218, + "end": 1219, "loc": { "start": { - "line": 51, - "column": 26 + "line": 52, + "column": 20 }, "end": { - "line": 51, - "column": 27 + "line": 52, + "column": 21 } } }, @@ -8433,15 +9091,15 @@ "updateContext": null }, "value": "disabled", - "start": 1161, - "end": 1169, + "start": 1224, + "end": 1232, "loc": { "start": { - "line": 52, + "line": 53, "column": 4 }, "end": { - "line": 52, + "line": 53, "column": 12 } } @@ -8460,15 +9118,15 @@ "updateContext": null }, "value": "=", - "start": 1169, - "end": 1170, + "start": 1232, + "end": 1233, "loc": { "start": { - "line": 52, + "line": 53, "column": 12 }, "end": { - "line": 52, + "line": 53, "column": 13 } } @@ -8485,15 +9143,15 @@ "postfix": false, "binop": null }, - "start": 1170, - "end": 1171, + "start": 1233, + "end": 1234, "loc": { "start": { - "line": 52, + "line": 53, "column": 13 }, "end": { - "line": 52, + "line": 53, "column": 14 } } @@ -8511,15 +9169,15 @@ "binop": null }, "value": "props", - "start": 1171, - "end": 1176, + "start": 1234, + "end": 1239, "loc": { "start": { - "line": 52, + "line": 53, "column": 14 }, "end": { - "line": 52, + "line": 53, "column": 19 } } @@ -8537,15 +9195,15 @@ "binop": null, "updateContext": null }, - "start": 1176, - "end": 1177, + "start": 1239, + "end": 1240, "loc": { "start": { - "line": 52, + "line": 53, "column": 19 }, "end": { - "line": 52, + "line": 53, "column": 20 } } @@ -8563,15 +9221,15 @@ "binop": null }, "value": "disabled", - "start": 1177, - "end": 1185, + "start": 1240, + "end": 1248, "loc": { "start": { - "line": 52, + "line": 53, "column": 20 }, "end": { - "line": 52, + "line": 53, "column": 28 } } @@ -8588,15 +9246,15 @@ "postfix": false, "binop": null }, - "start": 1185, - "end": 1186, + "start": 1248, + "end": 1249, "loc": { "start": { - "line": 52, + "line": 53, "column": 28 }, "end": { - "line": 52, + "line": 53, "column": 29 } } @@ -8615,15 +9273,15 @@ "updateContext": null }, "value": "onBlur", - "start": 1191, - "end": 1197, + "start": 1254, + "end": 1260, "loc": { "start": { - "line": 53, + "line": 54, "column": 4 }, "end": { - "line": 53, + "line": 54, "column": 10 } } @@ -8642,15 +9300,15 @@ "updateContext": null }, "value": "=", - "start": 1197, - "end": 1198, + "start": 1260, + "end": 1261, "loc": { "start": { - "line": 53, + "line": 54, "column": 10 }, "end": { - "line": 53, + "line": 54, "column": 11 } } @@ -8667,15 +9325,15 @@ "postfix": false, "binop": null }, - "start": 1198, - "end": 1199, + "start": 1261, + "end": 1262, "loc": { "start": { - "line": 53, + "line": 54, "column": 11 }, "end": { - "line": 53, + "line": 54, "column": 12 } } @@ -8693,15 +9351,15 @@ "binop": null }, "value": "props", - "start": 1199, - "end": 1204, + "start": 1262, + "end": 1267, "loc": { "start": { - "line": 53, + "line": 54, "column": 12 }, "end": { - "line": 53, + "line": 54, "column": 17 } } @@ -8719,15 +9377,15 @@ "binop": null, "updateContext": null }, - "start": 1204, - "end": 1205, + "start": 1267, + "end": 1268, "loc": { "start": { - "line": 53, + "line": 54, "column": 17 }, "end": { - "line": 53, + "line": 54, "column": 18 } } @@ -8745,15 +9403,15 @@ "binop": null }, "value": "onBlur", - "start": 1205, - "end": 1211, + "start": 1268, + "end": 1274, "loc": { "start": { - "line": 53, + "line": 54, "column": 18 }, "end": { - "line": 53, + "line": 54, "column": 24 } } @@ -8770,15 +9428,15 @@ "postfix": false, "binop": null }, - "start": 1211, - "end": 1212, + "start": 1274, + "end": 1275, "loc": { "start": { - "line": 53, + "line": 54, "column": 24 }, "end": { - "line": 53, + "line": 54, "column": 25 } } @@ -8797,15 +9455,15 @@ "updateContext": null }, "value": "onFocus", - "start": 1217, - "end": 1224, + "start": 1280, + "end": 1287, "loc": { "start": { - "line": 54, + "line": 55, "column": 4 }, "end": { - "line": 54, + "line": 55, "column": 11 } } @@ -8824,15 +9482,15 @@ "updateContext": null }, "value": "=", - "start": 1224, - "end": 1225, + "start": 1287, + "end": 1288, "loc": { "start": { - "line": 54, + "line": 55, "column": 11 }, "end": { - "line": 54, + "line": 55, "column": 12 } } @@ -8849,15 +9507,15 @@ "postfix": false, "binop": null }, - "start": 1225, - "end": 1226, + "start": 1288, + "end": 1289, "loc": { "start": { - "line": 54, + "line": 55, "column": 12 }, "end": { - "line": 54, + "line": 55, "column": 13 } } @@ -8875,15 +9533,15 @@ "binop": null }, "value": "props", - "start": 1226, - "end": 1231, + "start": 1289, + "end": 1294, "loc": { "start": { - "line": 54, + "line": 55, "column": 13 }, "end": { - "line": 54, + "line": 55, "column": 18 } } @@ -8901,15 +9559,15 @@ "binop": null, "updateContext": null }, - "start": 1231, - "end": 1232, + "start": 1294, + "end": 1295, "loc": { "start": { - "line": 54, + "line": 55, "column": 18 }, "end": { - "line": 54, + "line": 55, "column": 19 } } @@ -8927,15 +9585,15 @@ "binop": null }, "value": "onFocus", - "start": 1232, - "end": 1239, + "start": 1295, + "end": 1302, "loc": { "start": { - "line": 54, + "line": 55, "column": 19 }, "end": { - "line": 54, + "line": 55, "column": 26 } } @@ -8952,15 +9610,15 @@ "postfix": false, "binop": null }, - "start": 1239, - "end": 1240, + "start": 1302, + "end": 1303, "loc": { "start": { - "line": 54, + "line": 55, "column": 26 }, "end": { - "line": 54, + "line": 55, "column": 27 } } @@ -8979,15 +9637,15 @@ "updateContext": null }, "value": "/", - "start": 1244, - "end": 1245, + "start": 1307, + "end": 1308, "loc": { "start": { - "line": 55, + "line": 56, "column": 3 }, "end": { - "line": 55, + "line": 56, "column": 4 } } @@ -9004,15 +9662,15 @@ "postfix": false, "binop": null }, - "start": 1245, - "end": 1246, + "start": 1308, + "end": 1309, "loc": { "start": { - "line": 55, + "line": 56, "column": 4 }, "end": { - "line": 55, + "line": 56, "column": 5 } } @@ -9029,15 +9687,15 @@ "postfix": false, "binop": null }, - "start": 1249, - "end": 1250, + "start": 1312, + "end": 1313, "loc": { "start": { - "line": 56, + "line": 57, "column": 2 }, "end": { - "line": 56, + "line": 57, "column": 3 } } @@ -9055,15 +9713,15 @@ "binop": null, "updateContext": null }, - "start": 1250, - "end": 1251, + "start": 1313, + "end": 1314, "loc": { "start": { - "line": 56, + "line": 57, "column": 3 }, "end": { - "line": 56, + "line": 57, "column": 4 } } @@ -9083,15 +9741,15 @@ "updateContext": null }, "value": "default", - "start": 1253, - "end": 1260, + "start": 1316, + "end": 1323, "loc": { "start": { - "line": 57, + "line": 58, "column": 1 }, "end": { - "line": 57, + "line": 58, "column": 8 } } @@ -9109,15 +9767,15 @@ "binop": null, "updateContext": null }, - "start": 1260, - "end": 1261, + "start": 1323, + "end": 1324, "loc": { "start": { - "line": 57, + "line": 58, "column": 8 }, "end": { - "line": 57, + "line": 58, "column": 9 } } @@ -9137,15 +9795,15 @@ "updateContext": null }, "value": "case", - "start": 1263, - "end": 1267, + "start": 1326, + "end": 1330, "loc": { "start": { - "line": 58, + "line": 59, "column": 1 }, "end": { - "line": 58, + "line": 59, "column": 5 } } @@ -9164,15 +9822,15 @@ "updateContext": null }, "value": "input", - "start": 1268, - "end": 1275, + "start": 1331, + "end": 1338, "loc": { "start": { - "line": 58, + "line": 59, "column": 6 }, "end": { - "line": 58, + "line": 59, "column": 13 } } @@ -9190,15 +9848,15 @@ "binop": null, "updateContext": null }, - "start": 1275, - "end": 1276, + "start": 1338, + "end": 1339, "loc": { "start": { - "line": 58, + "line": 59, "column": 13 }, "end": { - "line": 58, + "line": 59, "column": 14 } } @@ -9218,15 +9876,15 @@ "updateContext": null }, "value": "return", - "start": 1279, - "end": 1285, + "start": 1342, + "end": 1348, "loc": { "start": { - "line": 59, + "line": 60, "column": 2 }, "end": { - "line": 59, + "line": 60, "column": 8 } } @@ -9243,15 +9901,15 @@ "postfix": false, "binop": null }, - "start": 1286, - "end": 1287, + "start": 1349, + "end": 1350, "loc": { "start": { - "line": 59, + "line": 60, "column": 9 }, "end": { - "line": 59, + "line": 60, "column": 10 } } @@ -9268,15 +9926,15 @@ "postfix": false, "binop": null }, - "start": 1291, - "end": 1292, + "start": 1354, + "end": 1355, "loc": { "start": { - "line": 60, + "line": 61, "column": 3 }, "end": { - "line": 60, + "line": 61, "column": 4 } } @@ -9295,15 +9953,15 @@ "updateContext": null }, "value": "Input", - "start": 1292, - "end": 1297, + "start": 1355, + "end": 1360, "loc": { "start": { - "line": 60, + "line": 61, "column": 4 }, "end": { - "line": 60, + "line": 61, "column": 9 } } @@ -9322,15 +9980,15 @@ "updateContext": null }, "value": "id", - "start": 1302, - "end": 1304, + "start": 1365, + "end": 1367, "loc": { "start": { - "line": 61, + "line": 62, "column": 4 }, "end": { - "line": 61, + "line": 62, "column": 6 } } @@ -9349,15 +10007,15 @@ "updateContext": null }, "value": "=", - "start": 1304, - "end": 1305, + "start": 1367, + "end": 1368, "loc": { "start": { - "line": 61, + "line": 62, "column": 6 }, "end": { - "line": 61, + "line": 62, "column": 7 } } @@ -9374,15 +10032,15 @@ "postfix": false, "binop": null }, - "start": 1305, - "end": 1306, + "start": 1368, + "end": 1369, "loc": { "start": { - "line": 61, + "line": 62, "column": 7 }, "end": { - "line": 61, + "line": 62, "column": 8 } } @@ -9400,15 +10058,15 @@ "binop": null }, "value": "props", - "start": 1306, - "end": 1311, + "start": 1369, + "end": 1374, "loc": { "start": { - "line": 61, + "line": 62, "column": 8 }, "end": { - "line": 61, + "line": 62, "column": 13 } } @@ -9426,15 +10084,15 @@ "binop": null, "updateContext": null }, - "start": 1311, - "end": 1312, + "start": 1374, + "end": 1375, "loc": { "start": { - "line": 61, + "line": 62, "column": 13 }, "end": { - "line": 61, + "line": 62, "column": 14 } } @@ -9452,15 +10110,15 @@ "binop": null }, "value": "id", - "start": 1312, - "end": 1314, + "start": 1375, + "end": 1377, "loc": { "start": { - "line": 61, + "line": 62, "column": 14 }, "end": { - "line": 61, + "line": 62, "column": 16 } } @@ -9477,15 +10135,15 @@ "postfix": false, "binop": null }, - "start": 1314, - "end": 1315, + "start": 1377, + "end": 1378, "loc": { "start": { - "line": 61, + "line": 62, "column": 16 }, "end": { - "line": 61, + "line": 62, "column": 17 } } @@ -9504,15 +10162,15 @@ "updateContext": null }, "value": "fieldClassName", - "start": 1320, - "end": 1334, + "start": 1383, + "end": 1397, "loc": { "start": { - "line": 62, + "line": 63, "column": 4 }, "end": { - "line": 62, + "line": 63, "column": 18 } } @@ -9531,15 +10189,15 @@ "updateContext": null }, "value": "=", - "start": 1334, - "end": 1335, + "start": 1397, + "end": 1398, "loc": { "start": { - "line": 62, + "line": 63, "column": 18 }, "end": { - "line": 62, + "line": 63, "column": 19 } } @@ -9556,15 +10214,15 @@ "postfix": false, "binop": null }, - "start": 1335, - "end": 1336, + "start": 1398, + "end": 1399, "loc": { "start": { - "line": 62, + "line": 63, "column": 19 }, "end": { - "line": 62, + "line": 63, "column": 20 } } @@ -9582,15 +10240,15 @@ "binop": null }, "value": "inputClassName", - "start": 1336, - "end": 1350, + "start": 1399, + "end": 1413, "loc": { "start": { - "line": 62, + "line": 63, "column": 20 }, "end": { - "line": 62, + "line": 63, "column": 34 } } @@ -9607,15 +10265,15 @@ "postfix": false, "binop": null }, - "start": 1350, - "end": 1351, + "start": 1413, + "end": 1414, "loc": { "start": { - "line": 62, + "line": 63, "column": 34 }, "end": { - "line": 62, + "line": 63, "column": 35 } } @@ -9632,15 +10290,15 @@ "postfix": false, "binop": null }, - "start": 1351, - "end": 1352, + "start": 1414, + "end": 1415, "loc": { "start": { - "line": 62, + "line": 63, "column": 35 }, "end": { - "line": 62, + "line": 63, "column": 36 } } @@ -9657,15 +10315,15 @@ "postfix": false, "binop": null }, - "start": 1352, - "end": 1353, + "start": 1415, + "end": 1416, "loc": { "start": { - "line": 62, + "line": 63, "column": 36 }, "end": { - "line": 62, + "line": 63, "column": 37 } } @@ -9684,15 +10342,15 @@ "updateContext": null }, "value": "ariaDescribedbyAttr", - "start": 1358, - "end": 1377, + "start": 1421, + "end": 1440, "loc": { "start": { - "line": 63, + "line": 64, "column": 4 }, "end": { - "line": 63, + "line": 64, "column": 23 } } @@ -9711,15 +10369,15 @@ "updateContext": null }, "value": "=", - "start": 1377, - "end": 1378, + "start": 1440, + "end": 1441, "loc": { "start": { - "line": 63, + "line": 64, "column": 23 }, "end": { - "line": 63, + "line": 64, "column": 24 } } @@ -9736,15 +10394,15 @@ "postfix": false, "binop": null }, - "start": 1378, - "end": 1379, + "start": 1441, + "end": 1442, "loc": { "start": { - "line": 63, + "line": 64, "column": 24 }, "end": { - "line": 63, + "line": 64, "column": 25 } } @@ -9762,15 +10420,15 @@ "binop": null }, "value": "ariaIdAttr", - "start": 1379, - "end": 1389, + "start": 1442, + "end": 1452, "loc": { "start": { - "line": 63, + "line": 64, "column": 25 }, "end": { - "line": 63, + "line": 64, "column": 35 } } @@ -9787,15 +10445,15 @@ "postfix": false, "binop": null }, - "start": 1389, - "end": 1390, + "start": 1452, + "end": 1453, "loc": { "start": { - "line": 63, + "line": 64, "column": 35 }, "end": { - "line": 63, + "line": 64, "column": 36 } } @@ -9812,15 +10470,15 @@ "postfix": false, "binop": null }, - "start": 1390, - "end": 1391, + "start": 1453, + "end": 1454, "loc": { "start": { - "line": 63, + "line": 64, "column": 36 }, "end": { - "line": 63, + "line": 64, "column": 37 } } @@ -9837,15 +10495,15 @@ "postfix": false, "binop": null }, - "start": 1391, - "end": 1392, + "start": 1454, + "end": 1455, "loc": { "start": { - "line": 63, + "line": 64, "column": 37 }, "end": { - "line": 63, + "line": 64, "column": 38 } } @@ -9864,15 +10522,15 @@ "updateContext": null }, "value": "value", - "start": 1397, - "end": 1402, + "start": 1460, + "end": 1465, "loc": { "start": { - "line": 64, + "line": 65, "column": 4 }, "end": { - "line": 64, + "line": 65, "column": 9 } } @@ -9891,15 +10549,15 @@ "updateContext": null }, "value": "=", - "start": 1402, - "end": 1403, + "start": 1465, + "end": 1466, "loc": { "start": { - "line": 64, + "line": 65, "column": 9 }, "end": { - "line": 64, + "line": 65, "column": 10 } } @@ -9916,15 +10574,15 @@ "postfix": false, "binop": null }, - "start": 1403, - "end": 1404, + "start": 1466, + "end": 1467, "loc": { "start": { - "line": 64, + "line": 65, "column": 10 }, "end": { - "line": 64, + "line": 65, "column": 11 } } @@ -9942,15 +10600,15 @@ "binop": null }, "value": "props", - "start": 1404, - "end": 1409, + "start": 1467, + "end": 1472, "loc": { "start": { - "line": 64, + "line": 65, "column": 11 }, "end": { - "line": 64, + "line": 65, "column": 16 } } @@ -9968,15 +10626,15 @@ "binop": null, "updateContext": null }, - "start": 1409, - "end": 1410, + "start": 1472, + "end": 1473, "loc": { "start": { - "line": 64, + "line": 65, "column": 16 }, "end": { - "line": 64, + "line": 65, "column": 17 } } @@ -9994,15 +10652,15 @@ "binop": null }, "value": "value", - "start": 1410, - "end": 1415, + "start": 1473, + "end": 1478, "loc": { "start": { - "line": 64, + "line": 65, "column": 17 }, "end": { - "line": 64, + "line": 65, "column": 22 } } @@ -10019,15 +10677,15 @@ "postfix": false, "binop": null }, - "start": 1415, - "end": 1416, + "start": 1478, + "end": 1479, "loc": { "start": { - "line": 64, + "line": 65, "column": 22 }, "end": { - "line": 64, + "line": 65, "column": 23 } } @@ -10046,15 +10704,15 @@ "updateContext": null }, "value": "onValueChange", - "start": 1421, - "end": 1434, + "start": 1484, + "end": 1497, "loc": { "start": { - "line": 65, + "line": 66, "column": 4 }, "end": { - "line": 65, + "line": 66, "column": 17 } } @@ -10073,15 +10731,15 @@ "updateContext": null }, "value": "=", - "start": 1434, - "end": 1435, + "start": 1497, + "end": 1498, "loc": { "start": { - "line": 65, + "line": 66, "column": 17 }, "end": { - "line": 65, + "line": 66, "column": 18 } } @@ -10098,15 +10756,15 @@ "postfix": false, "binop": null }, - "start": 1435, - "end": 1436, + "start": 1498, + "end": 1499, "loc": { "start": { - "line": 65, + "line": 66, "column": 18 }, "end": { - "line": 65, + "line": 66, "column": 19 } } @@ -10124,15 +10782,15 @@ "binop": null }, "value": "props", - "start": 1436, - "end": 1441, + "start": 1499, + "end": 1504, "loc": { "start": { - "line": 65, + "line": 66, "column": 19 }, "end": { - "line": 65, + "line": 66, "column": 24 } } @@ -10150,15 +10808,15 @@ "binop": null, "updateContext": null }, - "start": 1441, - "end": 1442, + "start": 1504, + "end": 1505, "loc": { "start": { - "line": 65, + "line": 66, "column": 24 }, "end": { - "line": 65, + "line": 66, "column": 25 } } @@ -10176,15 +10834,15 @@ "binop": null }, "value": "onValueChange", - "start": 1442, - "end": 1455, + "start": 1505, + "end": 1518, "loc": { "start": { - "line": 65, + "line": 66, "column": 25 }, "end": { - "line": 65, + "line": 66, "column": 38 } } @@ -10201,15 +10859,15 @@ "postfix": false, "binop": null }, - "start": 1455, - "end": 1456, + "start": 1518, + "end": 1519, "loc": { "start": { - "line": 65, + "line": 66, "column": 38 }, "end": { - "line": 65, + "line": 66, "column": 39 } } @@ -10228,15 +10886,15 @@ "updateContext": null }, "value": "inputType", - "start": 1461, - "end": 1470, + "start": 1524, + "end": 1533, "loc": { "start": { - "line": 66, + "line": 67, "column": 4 }, "end": { - "line": 66, + "line": 67, "column": 13 } } @@ -10255,15 +10913,15 @@ "updateContext": null }, "value": "=", - "start": 1470, - "end": 1471, + "start": 1533, + "end": 1534, "loc": { "start": { - "line": 66, + "line": 67, "column": 13 }, "end": { - "line": 66, + "line": 67, "column": 14 } } @@ -10280,15 +10938,15 @@ "postfix": false, "binop": null }, - "start": 1471, - "end": 1472, + "start": 1534, + "end": 1535, "loc": { "start": { - "line": 66, + "line": 67, "column": 14 }, "end": { - "line": 66, + "line": 67, "column": 15 } } @@ -10306,15 +10964,15 @@ "binop": null }, "value": "props", - "start": 1472, - "end": 1477, + "start": 1535, + "end": 1540, "loc": { "start": { - "line": 66, + "line": 67, "column": 15 }, "end": { - "line": 66, + "line": 67, "column": 20 } } @@ -10332,15 +10990,15 @@ "binop": null, "updateContext": null }, - "start": 1477, - "end": 1478, + "start": 1540, + "end": 1541, "loc": { "start": { - "line": 66, + "line": 67, "column": 20 }, "end": { - "line": 66, + "line": 67, "column": 21 } } @@ -10358,15 +11016,15 @@ "binop": null }, "value": "inputType", - "start": 1478, - "end": 1487, + "start": 1541, + "end": 1550, "loc": { "start": { - "line": 66, + "line": 67, "column": 21 }, "end": { - "line": 66, + "line": 67, "column": 30 } } @@ -10383,15 +11041,15 @@ "postfix": false, "binop": null }, - "start": 1487, - "end": 1488, + "start": 1550, + "end": 1551, "loc": { "start": { - "line": 66, + "line": 67, "column": 30 }, "end": { - "line": 66, + "line": 67, "column": 31 } } @@ -10410,15 +11068,15 @@ "updateContext": null }, "value": "disabled", - "start": 1493, - "end": 1501, + "start": 1556, + "end": 1564, "loc": { "start": { - "line": 67, + "line": 68, "column": 4 }, "end": { - "line": 67, + "line": 68, "column": 12 } } @@ -10437,15 +11095,15 @@ "updateContext": null }, "value": "=", - "start": 1501, - "end": 1502, + "start": 1564, + "end": 1565, "loc": { "start": { - "line": 67, + "line": 68, "column": 12 }, "end": { - "line": 67, + "line": 68, "column": 13 } } @@ -10462,15 +11120,15 @@ "postfix": false, "binop": null }, - "start": 1502, - "end": 1503, + "start": 1565, + "end": 1566, "loc": { "start": { - "line": 67, + "line": 68, "column": 13 }, "end": { - "line": 67, + "line": 68, "column": 14 } } @@ -10488,15 +11146,15 @@ "binop": null }, "value": "props", - "start": 1503, - "end": 1508, + "start": 1566, + "end": 1571, "loc": { "start": { - "line": 67, + "line": 68, "column": 14 }, "end": { - "line": 67, + "line": 68, "column": 19 } } @@ -10514,15 +11172,15 @@ "binop": null, "updateContext": null }, - "start": 1508, - "end": 1509, + "start": 1571, + "end": 1572, "loc": { "start": { - "line": 67, + "line": 68, "column": 19 }, "end": { - "line": 67, + "line": 68, "column": 20 } } @@ -10540,15 +11198,15 @@ "binop": null }, "value": "disabled", - "start": 1509, - "end": 1517, + "start": 1572, + "end": 1580, "loc": { "start": { - "line": 67, + "line": 68, "column": 20 }, "end": { - "line": 67, + "line": 68, "column": 28 } } @@ -10565,15 +11223,15 @@ "postfix": false, "binop": null }, - "start": 1517, - "end": 1518, + "start": 1580, + "end": 1581, "loc": { "start": { - "line": 67, + "line": 68, "column": 28 }, "end": { - "line": 67, + "line": 68, "column": 29 } } @@ -10592,15 +11250,15 @@ "updateContext": null }, "value": "onBlur", - "start": 1523, - "end": 1529, + "start": 1586, + "end": 1592, "loc": { "start": { - "line": 68, + "line": 69, "column": 4 }, "end": { - "line": 68, + "line": 69, "column": 10 } } @@ -10619,15 +11277,15 @@ "updateContext": null }, "value": "=", - "start": 1529, - "end": 1530, + "start": 1592, + "end": 1593, "loc": { "start": { - "line": 68, + "line": 69, "column": 10 }, "end": { - "line": 68, + "line": 69, "column": 11 } } @@ -10644,15 +11302,15 @@ "postfix": false, "binop": null }, - "start": 1530, - "end": 1531, + "start": 1593, + "end": 1594, "loc": { "start": { - "line": 68, + "line": 69, "column": 11 }, "end": { - "line": 68, + "line": 69, "column": 12 } } @@ -10670,15 +11328,15 @@ "binop": null }, "value": "props", - "start": 1531, - "end": 1536, + "start": 1594, + "end": 1599, "loc": { "start": { - "line": 68, + "line": 69, "column": 12 }, "end": { - "line": 68, + "line": 69, "column": 17 } } @@ -10696,15 +11354,15 @@ "binop": null, "updateContext": null }, - "start": 1536, - "end": 1537, + "start": 1599, + "end": 1600, "loc": { "start": { - "line": 68, + "line": 69, "column": 17 }, "end": { - "line": 68, + "line": 69, "column": 18 } } @@ -10722,15 +11380,15 @@ "binop": null }, "value": "onBlur", - "start": 1537, - "end": 1543, + "start": 1600, + "end": 1606, "loc": { "start": { - "line": 68, + "line": 69, "column": 18 }, "end": { - "line": 68, + "line": 69, "column": 24 } } @@ -10747,15 +11405,15 @@ "postfix": false, "binop": null }, - "start": 1543, - "end": 1544, + "start": 1606, + "end": 1607, "loc": { "start": { - "line": 68, + "line": 69, "column": 24 }, "end": { - "line": 68, + "line": 69, "column": 25 } } @@ -10774,15 +11432,15 @@ "updateContext": null }, "value": "onFocus", - "start": 1549, - "end": 1556, + "start": 1612, + "end": 1619, "loc": { "start": { - "line": 69, + "line": 70, "column": 4 }, "end": { - "line": 69, + "line": 70, "column": 11 } } @@ -10801,15 +11459,15 @@ "updateContext": null }, "value": "=", - "start": 1556, - "end": 1557, + "start": 1619, + "end": 1620, "loc": { "start": { - "line": 69, + "line": 70, "column": 11 }, "end": { - "line": 69, + "line": 70, "column": 12 } } @@ -10826,15 +11484,15 @@ "postfix": false, "binop": null }, - "start": 1557, - "end": 1558, + "start": 1620, + "end": 1621, "loc": { "start": { - "line": 69, + "line": 70, "column": 12 }, "end": { - "line": 69, + "line": 70, "column": 13 } } @@ -10852,15 +11510,15 @@ "binop": null }, "value": "props", - "start": 1558, - "end": 1563, + "start": 1621, + "end": 1626, "loc": { "start": { - "line": 69, + "line": 70, "column": 13 }, "end": { - "line": 69, + "line": 70, "column": 18 } } @@ -10878,15 +11536,15 @@ "binop": null, "updateContext": null }, - "start": 1563, - "end": 1564, + "start": 1626, + "end": 1627, "loc": { "start": { - "line": 69, + "line": 70, "column": 18 }, "end": { - "line": 69, + "line": 70, "column": 19 } } @@ -10904,15 +11562,15 @@ "binop": null }, "value": "onFocus", - "start": 1564, - "end": 1571, + "start": 1627, + "end": 1634, "loc": { "start": { - "line": 69, + "line": 70, "column": 19 }, "end": { - "line": 69, + "line": 70, "column": 26 } } @@ -10929,15 +11587,15 @@ "postfix": false, "binop": null }, - "start": 1571, - "end": 1572, + "start": 1634, + "end": 1635, "loc": { "start": { - "line": 69, + "line": 70, "column": 26 }, "end": { - "line": 69, + "line": 70, "column": 27 } } @@ -10956,15 +11614,15 @@ "updateContext": null }, "value": "/", - "start": 1576, - "end": 1577, + "start": 1639, + "end": 1640, "loc": { "start": { - "line": 70, + "line": 71, "column": 3 }, "end": { - "line": 70, + "line": 71, "column": 4 } } @@ -10981,15 +11639,15 @@ "postfix": false, "binop": null }, - "start": 1577, - "end": 1578, + "start": 1640, + "end": 1641, "loc": { "start": { - "line": 70, + "line": 71, "column": 4 }, "end": { - "line": 70, + "line": 71, "column": 5 } } @@ -11006,15 +11664,15 @@ "postfix": false, "binop": null }, - "start": 1578, - "end": 1579, + "start": 1641, + "end": 1642, "loc": { "start": { - "line": 70, + "line": 71, "column": 5 }, "end": { - "line": 70, + "line": 71, "column": 6 } } @@ -11032,15 +11690,15 @@ "binop": null, "updateContext": null }, - "start": 1579, - "end": 1580, + "start": 1642, + "end": 1643, "loc": { "start": { - "line": 70, + "line": 71, "column": 6 }, "end": { - "line": 70, + "line": 71, "column": 7 } } @@ -11057,15 +11715,15 @@ "postfix": false, "binop": null }, - "start": 1582, - "end": 1583, + "start": 1645, + "end": 1646, "loc": { "start": { - "line": 71, + "line": 72, "column": 1 }, "end": { - "line": 71, + "line": 72, "column": 2 } } @@ -11082,15 +11740,15 @@ "postfix": false, "binop": null }, - "start": 1585, - "end": 1586, + "start": 1648, + "end": 1649, "loc": { "start": { - "line": 73, + "line": 74, "column": 0 }, "end": { - "line": 73, + "line": 74, "column": 1 } } @@ -11108,15 +11766,15 @@ "binop": null, "updateContext": null }, - "start": 1586, - "end": 1587, + "start": 1649, + "end": 1650, "loc": { "start": { - "line": 73, + "line": 74, "column": 1 }, "end": { - "line": 73, + "line": 74, "column": 2 } } @@ -11124,15 +11782,15 @@ { "type": "CommentBlock", "value": "*\n * propTypes for FieldInner component\n *\n * @type {{options, ariaDescribedbyAttr}}\n ", - "start": 1589, - "end": 1679, + "start": 1652, + "end": 1742, "loc": { "start": { - "line": 75, + "line": 76, "column": 0 }, "end": { - "line": 79, + "line": 80, "column": 3 } } @@ -11150,15 +11808,15 @@ "binop": null }, "value": "FieldInner", - "start": 1680, - "end": 1690, + "start": 1743, + "end": 1753, "loc": { "start": { - "line": 80, + "line": 81, "column": 0 }, "end": { - "line": 80, + "line": 81, "column": 10 } } @@ -11176,15 +11834,15 @@ "binop": null, "updateContext": null }, - "start": 1690, - "end": 1691, + "start": 1753, + "end": 1754, "loc": { "start": { - "line": 80, + "line": 81, "column": 10 }, "end": { - "line": 80, + "line": 81, "column": 11 } } @@ -11202,15 +11860,15 @@ "binop": null }, "value": "propTypes", - "start": 1691, - "end": 1700, + "start": 1754, + "end": 1763, "loc": { "start": { - "line": 80, + "line": 81, "column": 11 }, "end": { - "line": 80, + "line": 81, "column": 20 } } @@ -11229,15 +11887,15 @@ "updateContext": null }, "value": "=", - "start": 1701, - "end": 1702, + "start": 1764, + "end": 1765, "loc": { "start": { - "line": 80, + "line": 81, "column": 21 }, "end": { - "line": 80, + "line": 81, "column": 22 } } @@ -11254,15 +11912,15 @@ "postfix": false, "binop": null }, - "start": 1703, - "end": 1704, + "start": 1766, + "end": 1767, "loc": { "start": { - "line": 80, + "line": 81, "column": 23 }, "end": { - "line": 80, + "line": 81, "column": 24 } } @@ -11280,15 +11938,15 @@ "binop": null, "updateContext": null }, - "start": 1706, - "end": 1709, + "start": 1769, + "end": 1772, "loc": { "start": { - "line": 81, + "line": 82, "column": 1 }, "end": { - "line": 81, + "line": 82, "column": 4 } } @@ -11306,15 +11964,15 @@ "binop": null }, "value": "fieldInnerPropTypes", - "start": 1709, - "end": 1728, + "start": 1772, + "end": 1791, "loc": { "start": { - "line": 81, + "line": 82, "column": 4 }, "end": { - "line": 81, + "line": 82, "column": 23 } } @@ -11332,15 +11990,15 @@ "binop": null, "updateContext": null }, - "start": 1728, - "end": 1729, + "start": 1791, + "end": 1792, "loc": { "start": { - "line": 81, + "line": 82, "column": 23 }, "end": { - "line": 81, + "line": 82, "column": 24 } } @@ -11358,15 +12016,15 @@ "binop": null }, "value": "type", - "start": 1731, - "end": 1735, + "start": 1794, + "end": 1798, "loc": { "start": { - "line": 82, + "line": 83, "column": 1 }, "end": { - "line": 82, + "line": 83, "column": 5 } } @@ -11384,15 +12042,15 @@ "binop": null, "updateContext": null }, - "start": 1735, - "end": 1736, + "start": 1798, + "end": 1799, "loc": { "start": { - "line": 82, + "line": 83, "column": 5 }, "end": { - "line": 82, + "line": 83, "column": 6 } } @@ -11410,15 +12068,15 @@ "binop": null }, "value": "PropTypes", - "start": 1737, - "end": 1746, + "start": 1800, + "end": 1809, "loc": { "start": { - "line": 82, + "line": 83, "column": 7 }, "end": { - "line": 82, + "line": 83, "column": 16 } } @@ -11436,15 +12094,15 @@ "binop": null, "updateContext": null }, - "start": 1746, - "end": 1747, + "start": 1809, + "end": 1810, "loc": { "start": { - "line": 82, + "line": 83, "column": 16 }, "end": { - "line": 82, + "line": 83, "column": 17 } } @@ -11462,15 +12120,15 @@ "binop": null }, "value": "string", - "start": 1747, - "end": 1753, + "start": 1810, + "end": 1816, "loc": { "start": { - "line": 82, + "line": 83, "column": 17 }, "end": { - "line": 82, + "line": 83, "column": 23 } } @@ -11488,15 +12146,15 @@ "binop": null, "updateContext": null }, - "start": 1753, - "end": 1754, + "start": 1816, + "end": 1817, "loc": { "start": { - "line": 82, + "line": 83, "column": 23 }, "end": { - "line": 82, + "line": 83, "column": 24 } } @@ -11513,15 +12171,15 @@ "postfix": false, "binop": null }, - "start": 1755, - "end": 1756, + "start": 1818, + "end": 1819, "loc": { "start": { - "line": 83, + "line": 84, "column": 0 }, "end": { - "line": 83, + "line": 84, "column": 1 } } @@ -11539,15 +12197,15 @@ "binop": null, "updateContext": null }, - "start": 1756, - "end": 1757, + "start": 1819, + "end": 1820, "loc": { "start": { - "line": 83, + "line": 84, "column": 1 }, "end": { - "line": 83, + "line": 84, "column": 2 } } @@ -11555,15 +12213,15 @@ { "type": "CommentBlock", "value": "*\n * Default props for FieldInner component\n * @type {{help: string}}\n ", - "start": 1759, - "end": 1834, + "start": 1822, + "end": 1897, "loc": { "start": { - "line": 85, + "line": 86, "column": 0 }, "end": { - "line": 88, + "line": 89, "column": 3 } } @@ -11581,15 +12239,15 @@ "binop": null }, "value": "FieldInner", - "start": 1835, - "end": 1845, + "start": 1898, + "end": 1908, "loc": { "start": { - "line": 89, + "line": 90, "column": 0 }, "end": { - "line": 89, + "line": 90, "column": 10 } } @@ -11607,15 +12265,15 @@ "binop": null, "updateContext": null }, - "start": 1845, - "end": 1846, + "start": 1908, + "end": 1909, "loc": { "start": { - "line": 89, + "line": 90, "column": 10 }, "end": { - "line": 89, + "line": 90, "column": 11 } } @@ -11633,15 +12291,15 @@ "binop": null }, "value": "defaultProps", - "start": 1846, - "end": 1858, + "start": 1909, + "end": 1921, "loc": { "start": { - "line": 89, + "line": 90, "column": 11 }, "end": { - "line": 89, + "line": 90, "column": 23 } } @@ -11660,15 +12318,15 @@ "updateContext": null }, "value": "=", - "start": 1859, - "end": 1860, + "start": 1922, + "end": 1923, "loc": { "start": { - "line": 89, + "line": 90, "column": 24 }, "end": { - "line": 89, + "line": 90, "column": 25 } } @@ -11685,15 +12343,15 @@ "postfix": false, "binop": null }, - "start": 1861, - "end": 1862, + "start": 1924, + "end": 1925, "loc": { "start": { - "line": 89, + "line": 90, "column": 26 }, "end": { - "line": 89, + "line": 90, "column": 27 } } @@ -11711,15 +12369,15 @@ "binop": null }, "value": "help", - "start": 1864, - "end": 1868, + "start": 1927, + "end": 1931, "loc": { "start": { - "line": 90, + "line": 91, "column": 1 }, "end": { - "line": 90, + "line": 91, "column": 5 } } @@ -11737,15 +12395,15 @@ "binop": null, "updateContext": null }, - "start": 1868, - "end": 1869, + "start": 1931, + "end": 1932, "loc": { "start": { - "line": 90, + "line": 91, "column": 5 }, "end": { - "line": 90, + "line": 91, "column": 6 } } @@ -11764,15 +12422,15 @@ "updateContext": null }, "value": "", - "start": 1870, - "end": 1872, + "start": 1933, + "end": 1935, "loc": { "start": { - "line": 90, + "line": 91, "column": 7 }, "end": { - "line": 90, + "line": 91, "column": 9 } } @@ -11790,15 +12448,15 @@ "binop": null, "updateContext": null }, - "start": 1872, - "end": 1873, + "start": 1935, + "end": 1936, "loc": { "start": { - "line": 90, + "line": 91, "column": 9 }, "end": { - "line": 90, + "line": 91, "column": 10 } } @@ -11816,15 +12474,15 @@ "binop": null }, "value": "type", - "start": 1875, - "end": 1879, + "start": 1938, + "end": 1942, "loc": { "start": { - "line": 91, + "line": 92, "column": 1 }, "end": { - "line": 91, + "line": 92, "column": 5 } } @@ -11842,15 +12500,15 @@ "binop": null, "updateContext": null }, - "start": 1879, - "end": 1880, + "start": 1942, + "end": 1943, "loc": { "start": { - "line": 91, + "line": 92, "column": 5 }, "end": { - "line": 91, + "line": 92, "column": 6 } } @@ -11869,15 +12527,15 @@ "updateContext": null }, "value": "input", - "start": 1881, - "end": 1888, + "start": 1944, + "end": 1951, "loc": { "start": { - "line": 91, + "line": 92, "column": 7 }, "end": { - "line": 91, + "line": 92, "column": 14 } } @@ -11894,15 +12552,15 @@ "postfix": false, "binop": null }, - "start": 1889, - "end": 1890, + "start": 1952, + "end": 1953, "loc": { "start": { - "line": 92, + "line": 93, "column": 0 }, "end": { - "line": 92, + "line": 93, "column": 1 } } @@ -11920,15 +12578,15 @@ "binop": null, "updateContext": null }, - "start": 1890, - "end": 1891, + "start": 1953, + "end": 1954, "loc": { "start": { - "line": 92, + "line": 93, "column": 1 }, "end": { - "line": 92, + "line": 93, "column": 2 } } @@ -11946,15 +12604,15 @@ "binop": null, "updateContext": null }, - "start": 1891, - "end": 1891, + "start": 1954, + "end": 1954, "loc": { "start": { - "line": 92, + "line": 93, "column": 2 }, "end": { - "line": 92, + "line": 93, "column": 2 } } diff --git a/docs/ast/source/components/fields/button-group/ButtonGroup.js.json b/docs/ast/source/components/fields/button-group/ButtonGroup.js.json new file mode 100644 index 0000000..f387c0a --- /dev/null +++ b/docs/ast/source/components/fields/button-group/ButtonGroup.js.json @@ -0,0 +1,10441 @@ +{ + "type": "File", + "start": 0, + "end": 1468, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 78, + "column": 2 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 1468, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 78, + "column": 2 + } + }, + "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": 68, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 41 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 35, + "end": 46, + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 19 + } + }, + "imported": { + "type": "Identifier", + "start": 35, + "end": 46, + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 19 + }, + "identifierName": "optionShape" + }, + "name": "optionShape" + }, + "local": { + "type": "Identifier", + "start": 35, + "end": 46, + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 19 + }, + "identifierName": "optionShape" + }, + "name": "optionShape" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 53, + "end": 67, + "loc": { + "start": { + "line": 2, + "column": 26 + }, + "end": { + "line": 2, + "column": 40 + } + }, + "extra": { + "rawValue": "../propTypes", + "raw": "'../propTypes'" + }, + "value": "../propTypes" + } + }, + { + "type": "ImportDeclaration", + "start": 69, + "end": 103, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 34 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 76, + "end": 85, + "loc": { + "start": { + "line": 3, + "column": 7 + }, + "end": { + "line": 3, + "column": 16 + } + }, + "local": { + "type": "Identifier", + "start": 76, + "end": 85, + "loc": { + "start": { + "line": 3, + "column": 7 + }, + "end": { + "line": 3, + "column": 16 + }, + "identifierName": "PropTypes" + }, + "name": "PropTypes" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 91, + "end": 103, + "loc": { + "start": { + "line": 3, + "column": 22 + }, + "end": { + "line": 3, + "column": 34 + } + }, + "extra": { + "rawValue": "prop-types", + "raw": "'prop-types'" + }, + "value": "prop-types", + "leadingComments": null, + "trailingComments": null + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Creates a button group field\n *\n * @param {Object} props\n * @returns {*}\n * @constructor\n ", + "start": 104, + "end": 203, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 10, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "start": 204, + "end": 1012, + "loc": { + "start": { + "line": 11, + "column": 0 + }, + "end": { + "line": 49, + "column": 2 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "VariableDeclaration", + "start": 211, + "end": 1012, + "loc": { + "start": { + "line": 11, + "column": 7 + }, + "end": { + "line": 49, + "column": 2 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 217, + "end": 1011, + "loc": { + "start": { + "line": 11, + "column": 13 + }, + "end": { + "line": 49, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 217, + "end": 228, + "loc": { + "start": { + "line": 11, + "column": 13 + }, + "end": { + "line": 11, + "column": 24 + }, + "identifierName": "ButtonGroup" + }, + "name": "ButtonGroup", + "leadingComments": null + }, + "init": { + "type": "ArrowFunctionExpression", + "start": 231, + "end": 1011, + "loc": { + "start": { + "line": 11, + "column": 27 + }, + "end": { + "line": 49, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 217, + "end": 228, + "loc": { + "start": { + "line": 11, + "column": 13 + }, + "end": { + "line": 11, + "column": 24 + }, + "identifierName": "ButtonGroup" + }, + "name": "ButtonGroup", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 232, + "end": 237, + "loc": { + "start": { + "line": 11, + "column": 28 + }, + "end": { + "line": 11, + "column": 33 + }, + "identifierName": "props" + }, + "name": "props" + } + ], + "body": { + "type": "BlockStatement", + "start": 242, + "end": 1011, + "loc": { + "start": { + "line": 11, + "column": 38 + }, + "end": { + "line": 49, + "column": 1 + } + }, + "body": [ + { + "type": "FunctionDeclaration", + "start": 335, + "end": 409, + "loc": { + "start": { + "line": 18, + "column": 1 + }, + "end": { + "line": 20, + "column": 2 + } + }, + "id": { + "type": "Identifier", + "start": 344, + "end": 357, + "loc": { + "start": { + "line": 18, + "column": 10 + }, + "end": { + "line": 18, + "column": 23 + }, + "identifierName": "changeHandler" + }, + "name": "changeHandler", + "leadingComments": null + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 358, + "end": 367, + "loc": { + "start": { + "line": 18, + "column": 24 + }, + "end": { + "line": 18, + "column": 33 + }, + "identifierName": "selection" + }, + "name": "selection" + } + ], + "body": { + "type": "BlockStatement", + "start": 369, + "end": 409, + "loc": { + "start": { + "line": 18, + "column": 35 + }, + "end": { + "line": 20, + "column": 2 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 373, + "end": 406, + "loc": { + "start": { + "line": 19, + "column": 2 + }, + "end": { + "line": 19, + "column": 35 + } + }, + "argument": { + "type": "CallExpression", + "start": 380, + "end": 405, + "loc": { + "start": { + "line": 19, + "column": 9 + }, + "end": { + "line": 19, + "column": 34 + } + }, + "callee": { + "type": "MemberExpression", + "start": 380, + "end": 394, + "loc": { + "start": { + "line": 19, + "column": 9 + }, + "end": { + "line": 19, + "column": 23 + } + }, + "object": { + "type": "Identifier", + "start": 380, + "end": 385, + "loc": { + "start": { + "line": 19, + "column": 9 + }, + "end": { + "line": 19, + "column": 14 + }, + "identifierName": "props" + }, + "name": "props" + }, + "property": { + "type": "Identifier", + "start": 386, + "end": 394, + "loc": { + "start": { + "line": 19, + "column": 15 + }, + "end": { + "line": 19, + "column": 23 + }, + "identifierName": "onChange" + }, + "name": "onChange" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 395, + "end": 404, + "loc": { + "start": { + "line": 19, + "column": 24 + }, + "end": { + "line": 19, + "column": 33 + }, + "identifierName": "selection" + }, + "name": "selection" + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n\t * Dispatches new value(s) to parent\n\t *\n\t * @param selection\n\t * @returns {*}\n\t ", + "start": 245, + "end": 333, + "loc": { + "start": { + "line": 12, + "column": 1 + }, + "end": { + "line": 17, + "column": 4 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n\t * Render a button group\n\t ", + "start": 412, + "end": 446, + "loc": { + "start": { + "line": 22, + "column": 1 + }, + "end": { + "line": 24, + "column": 4 + } + } + } + ] + }, + { + "type": "ReturnStatement", + "start": 448, + "end": 1009, + "loc": { + "start": { + "line": 25, + "column": 1 + }, + "end": { + "line": 48, + "column": 3 + } + }, + "argument": { + "type": "JSXElement", + "start": 459, + "end": 1005, + "loc": { + "start": { + "line": 26, + "column": 2 + }, + "end": { + "line": 47, + "column": 8 + } + }, + "openingElement": { + "type": "JSXOpeningElement", + "start": 459, + "end": 483, + "loc": { + "start": { + "line": 26, + "column": 2 + }, + "end": { + "line": 28, + "column": 3 + } + }, + "attributes": [ + { + "type": "JSXAttribute", + "start": 467, + "end": 479, + "loc": { + "start": { + "line": 27, + "column": 3 + }, + "end": { + "line": 27, + "column": 15 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 467, + "end": 471, + "loc": { + "start": { + "line": 27, + "column": 3 + }, + "end": { + "line": 27, + "column": 7 + } + }, + "name": "role" + }, + "value": { + "type": "StringLiteral", + "start": 472, + "end": 479, + "loc": { + "start": { + "line": 27, + "column": 8 + }, + "end": { + "line": 27, + "column": 15 + } + }, + "extra": null, + "value": "group" + } + } + ], + "name": { + "type": "JSXIdentifier", + "start": 460, + "end": 463, + "loc": { + "start": { + "line": 26, + "column": 3 + }, + "end": { + "line": 26, + "column": 6 + } + }, + "name": "div", + "leadingComments": null + }, + "selfClosing": false, + "leadingComments": null + }, + "closingElement": { + "type": "JSXClosingElement", + "start": 999, + "end": 1005, + "loc": { + "start": { + "line": 47, + "column": 2 + }, + "end": { + "line": 47, + "column": 8 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 1001, + "end": 1004, + "loc": { + "start": { + "line": 47, + "column": 4 + }, + "end": { + "line": 47, + "column": 7 + } + }, + "name": "div" + } + }, + "children": [ + { + "type": "JSXText", + "start": 483, + "end": 487, + "loc": { + "start": { + "line": 28, + "column": 3 + }, + "end": { + "line": 29, + "column": 3 + } + }, + "extra": null, + "value": "\n\t\t\t" + }, + { + "type": "JSXExpressionContainer", + "start": 487, + "end": 996, + "loc": { + "start": { + "line": 29, + "column": 3 + }, + "end": { + "line": 46, + "column": 6 + } + }, + "expression": { + "type": "CallExpression", + "start": 488, + "end": 995, + "loc": { + "start": { + "line": 29, + "column": 4 + }, + "end": { + "line": 46, + "column": 5 + } + }, + "callee": { + "type": "MemberExpression", + "start": 488, + "end": 505, + "loc": { + "start": { + "line": 29, + "column": 4 + }, + "end": { + "line": 29, + "column": 21 + } + }, + "object": { + "type": "MemberExpression", + "start": 488, + "end": 501, + "loc": { + "start": { + "line": 29, + "column": 4 + }, + "end": { + "line": 29, + "column": 17 + } + }, + "object": { + "type": "Identifier", + "start": 488, + "end": 493, + "loc": { + "start": { + "line": 29, + "column": 4 + }, + "end": { + "line": 29, + "column": 9 + }, + "identifierName": "props" + }, + "name": "props" + }, + "property": { + "type": "Identifier", + "start": 494, + "end": 501, + "loc": { + "start": { + "line": 29, + "column": 10 + }, + "end": { + "line": 29, + "column": 17 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 502, + "end": 505, + "loc": { + "start": { + "line": 29, + "column": 18 + }, + "end": { + "line": 29, + "column": 21 + }, + "identifierName": "map" + }, + "name": "map" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 506, + "end": 994, + "loc": { + "start": { + "line": 29, + "column": 22 + }, + "end": { + "line": 46, + "column": 4 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 506, + "end": 512, + "loc": { + "start": { + "line": 29, + "column": 22 + }, + "end": { + "line": 29, + "column": 28 + }, + "identifierName": "option" + }, + "name": "option" + } + ], + "body": { + "type": "BlockStatement", + "start": 516, + "end": 994, + "loc": { + "start": { + "line": 29, + "column": 32 + }, + "end": { + "line": 46, + "column": 4 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 522, + "end": 989, + "loc": { + "start": { + "line": 30, + "column": 4 + }, + "end": { + "line": 45, + "column": 13 + } + }, + "argument": { + "type": "JSXElement", + "start": 529, + "end": 989, + "loc": { + "start": { + "line": 30, + "column": 11 + }, + "end": { + "line": 45, + "column": 13 + } + }, + "openingElement": { + "type": "JSXOpeningElement", + "start": 529, + "end": 784, + "loc": { + "start": { + "line": 30, + "column": 11 + }, + "end": { + "line": 37, + "column": 5 + } + }, + "attributes": [ + { + "type": "JSXAttribute", + "start": 542, + "end": 605, + "loc": { + "start": { + "line": 31, + "column": 5 + }, + "end": { + "line": 31, + "column": 68 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 542, + "end": 552, + "loc": { + "start": { + "line": 31, + "column": 5 + }, + "end": { + "line": 31, + "column": 15 + } + }, + "name": "aria-label" + }, + "value": { + "type": "JSXExpressionContainer", + "start": 553, + "end": 605, + "loc": { + "start": { + "line": 31, + "column": 16 + }, + "end": { + "line": 31, + "column": 68 + } + }, + "expression": { + "type": "ConditionalExpression", + "start": 554, + "end": 604, + "loc": { + "start": { + "line": 31, + "column": 17 + }, + "end": { + "line": 31, + "column": 67 + } + }, + "test": { + "type": "MemberExpression", + "start": 554, + "end": 570, + "loc": { + "start": { + "line": 31, + "column": 17 + }, + "end": { + "line": 31, + "column": 33 + } + }, + "object": { + "type": "Identifier", + "start": 554, + "end": 560, + "loc": { + "start": { + "line": 31, + "column": 17 + }, + "end": { + "line": 31, + "column": 23 + }, + "identifierName": "option" + }, + "name": "option" + }, + "property": { + "type": "Identifier", + "start": 561, + "end": 570, + "loc": { + "start": { + "line": 31, + "column": 24 + }, + "end": { + "line": 31, + "column": 33 + }, + "identifierName": "ariaLabel" + }, + "name": "ariaLabel" + }, + "computed": false + }, + "consequent": { + "type": "MemberExpression", + "start": 573, + "end": 589, + "loc": { + "start": { + "line": 31, + "column": 36 + }, + "end": { + "line": 31, + "column": 52 + } + }, + "object": { + "type": "Identifier", + "start": 573, + "end": 579, + "loc": { + "start": { + "line": 31, + "column": 36 + }, + "end": { + "line": 31, + "column": 42 + }, + "identifierName": "option" + }, + "name": "option" + }, + "property": { + "type": "Identifier", + "start": 580, + "end": 589, + "loc": { + "start": { + "line": 31, + "column": 43 + }, + "end": { + "line": 31, + "column": 52 + }, + "identifierName": "ariaLabel" + }, + "name": "ariaLabel" + }, + "computed": false + }, + "alternate": { + "type": "MemberExpression", + "start": 592, + "end": 604, + "loc": { + "start": { + "line": 31, + "column": 55 + }, + "end": { + "line": 31, + "column": 67 + } + }, + "object": { + "type": "Identifier", + "start": 592, + "end": 598, + "loc": { + "start": { + "line": 31, + "column": 55 + }, + "end": { + "line": 31, + "column": 61 + }, + "identifierName": "option" + }, + "name": "option" + }, + "property": { + "type": "Identifier", + "start": 599, + "end": 604, + "loc": { + "start": { + "line": 31, + "column": 62 + }, + "end": { + "line": 31, + "column": 67 + }, + "identifierName": "label" + }, + "name": "label" + }, + "computed": false + } + } + } + }, + { + "type": "JSXAttribute", + "start": 611, + "end": 629, + "loc": { + "start": { + "line": 32, + "column": 5 + }, + "end": { + "line": 32, + "column": 23 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 611, + "end": 614, + "loc": { + "start": { + "line": 32, + "column": 5 + }, + "end": { + "line": 32, + "column": 8 + } + }, + "name": "key" + }, + "value": { + "type": "JSXExpressionContainer", + "start": 615, + "end": 629, + "loc": { + "start": { + "line": 32, + "column": 9 + }, + "end": { + "line": 32, + "column": 23 + } + }, + "expression": { + "type": "MemberExpression", + "start": 616, + "end": 628, + "loc": { + "start": { + "line": 32, + "column": 10 + }, + "end": { + "line": 32, + "column": 22 + } + }, + "object": { + "type": "Identifier", + "start": 616, + "end": 622, + "loc": { + "start": { + "line": 32, + "column": 10 + }, + "end": { + "line": 32, + "column": 16 + }, + "identifierName": "option" + }, + "name": "option" + }, + "property": { + "type": "Identifier", + "start": 623, + "end": 628, + "loc": { + "start": { + "line": 32, + "column": 17 + }, + "end": { + "line": 32, + "column": 22 + }, + "identifierName": "value" + }, + "name": "value" + }, + "computed": false + } + } + }, + { + "type": "JSXAttribute", + "start": 635, + "end": 706, + "loc": { + "start": { + "line": 33, + "column": 5 + }, + "end": { + "line": 33, + "column": 76 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 635, + "end": 644, + "loc": { + "start": { + "line": 33, + "column": 5 + }, + "end": { + "line": 33, + "column": 14 + } + }, + "name": "className" + }, + "value": { + "type": "JSXExpressionContainer", + "start": 645, + "end": 706, + "loc": { + "start": { + "line": 33, + "column": 15 + }, + "end": { + "line": 33, + "column": 76 + } + }, + "expression": { + "type": "ConditionalExpression", + "start": 646, + "end": 704, + "loc": { + "start": { + "line": 33, + "column": 16 + }, + "end": { + "line": 33, + "column": 74 + } + }, + "test": { + "type": "BinaryExpression", + "start": 646, + "end": 674, + "loc": { + "start": { + "line": 33, + "column": 16 + }, + "end": { + "line": 33, + "column": 44 + } + }, + "left": { + "type": "MemberExpression", + "start": 646, + "end": 657, + "loc": { + "start": { + "line": 33, + "column": 16 + }, + "end": { + "line": 33, + "column": 27 + } + }, + "object": { + "type": "Identifier", + "start": 646, + "end": 651, + "loc": { + "start": { + "line": 33, + "column": 16 + }, + "end": { + "line": 33, + "column": 21 + }, + "identifierName": "props" + }, + "name": "props" + }, + "property": { + "type": "Identifier", + "start": 652, + "end": 657, + "loc": { + "start": { + "line": 33, + "column": 22 + }, + "end": { + "line": 33, + "column": 27 + }, + "identifierName": "value" + }, + "name": "value" + }, + "computed": false + }, + "operator": "===", + "right": { + "type": "MemberExpression", + "start": 662, + "end": 674, + "loc": { + "start": { + "line": 33, + "column": 32 + }, + "end": { + "line": 33, + "column": 44 + } + }, + "object": { + "type": "Identifier", + "start": 662, + "end": 668, + "loc": { + "start": { + "line": 33, + "column": 32 + }, + "end": { + "line": 33, + "column": 38 + }, + "identifierName": "option" + }, + "name": "option" + }, + "property": { + "type": "Identifier", + "start": 669, + "end": 674, + "loc": { + "start": { + "line": 33, + "column": 39 + }, + "end": { + "line": 33, + "column": 44 + }, + "identifierName": "value" + }, + "name": "value" + }, + "computed": false + } + }, + "consequent": { + "type": "StringLiteral", + "start": 677, + "end": 687, + "loc": { + "start": { + "line": 33, + "column": 47 + }, + "end": { + "line": 33, + "column": 57 + } + }, + "extra": { + "rawValue": "selected", + "raw": "'selected'" + }, + "value": "selected" + }, + "alternate": { + "type": "StringLiteral", + "start": 690, + "end": 704, + "loc": { + "start": { + "line": 33, + "column": 60 + }, + "end": { + "line": 33, + "column": 74 + } + }, + "extra": { + "rawValue": "not-selected", + "raw": "'not-selected'" + }, + "value": "not-selected" + } + } + } + }, + { + "type": "JSXAttribute", + "start": 712, + "end": 778, + "loc": { + "start": { + "line": 34, + "column": 5 + }, + "end": { + "line": 36, + "column": 7 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 712, + "end": 719, + "loc": { + "start": { + "line": 34, + "column": 5 + }, + "end": { + "line": 34, + "column": 12 + } + }, + "name": "onClick" + }, + "value": { + "type": "JSXExpressionContainer", + "start": 720, + "end": 778, + "loc": { + "start": { + "line": 34, + "column": 13 + }, + "end": { + "line": 36, + "column": 7 + } + }, + "expression": { + "type": "ArrowFunctionExpression", + "start": 721, + "end": 777, + "loc": { + "start": { + "line": 34, + "column": 14 + }, + "end": { + "line": 36, + "column": 6 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 727, + "end": 777, + "loc": { + "start": { + "line": 34, + "column": 20 + }, + "end": { + "line": 36, + "column": 6 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 735, + "end": 770, + "loc": { + "start": { + "line": 35, + "column": 6 + }, + "end": { + "line": 35, + "column": 41 + } + }, + "argument": { + "type": "CallExpression", + "start": 742, + "end": 769, + "loc": { + "start": { + "line": 35, + "column": 13 + }, + "end": { + "line": 35, + "column": 40 + } + }, + "callee": { + "type": "Identifier", + "start": 742, + "end": 755, + "loc": { + "start": { + "line": 35, + "column": 13 + }, + "end": { + "line": 35, + "column": 26 + }, + "identifierName": "changeHandler" + }, + "name": "changeHandler" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 756, + "end": 768, + "loc": { + "start": { + "line": 35, + "column": 27 + }, + "end": { + "line": 35, + "column": 39 + } + }, + "object": { + "type": "Identifier", + "start": 756, + "end": 762, + "loc": { + "start": { + "line": 35, + "column": 27 + }, + "end": { + "line": 35, + "column": 33 + }, + "identifierName": "option" + }, + "name": "option" + }, + "property": { + "type": "Identifier", + "start": 763, + "end": 768, + "loc": { + "start": { + "line": 35, + "column": 34 + }, + "end": { + "line": 35, + "column": 39 + }, + "identifierName": "value" + }, + "name": "value" + }, + "computed": false + } + ] + } + } + ], + "directives": [] + } + } + } + } + ], + "name": { + "type": "JSXIdentifier", + "start": 530, + "end": 536, + "loc": { + "start": { + "line": 30, + "column": 12 + }, + "end": { + "line": 30, + "column": 18 + } + }, + "name": "button" + }, + "selfClosing": false + }, + "closingElement": { + "type": "JSXClosingElement", + "start": 980, + "end": 989, + "loc": { + "start": { + "line": 45, + "column": 4 + }, + "end": { + "line": 45, + "column": 13 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 982, + "end": 988, + "loc": { + "start": { + "line": 45, + "column": 6 + }, + "end": { + "line": 45, + "column": 12 + } + }, + "name": "button" + } + }, + "children": [ + { + "type": "JSXText", + "start": 784, + "end": 790, + "loc": { + "start": { + "line": 37, + "column": 5 + }, + "end": { + "line": 38, + "column": 5 + } + }, + "extra": null, + "value": "\n\t\t\t\t\t" + }, + { + "type": "JSXExpressionContainer", + "start": 790, + "end": 873, + "loc": { + "start": { + "line": 38, + "column": 5 + }, + "end": { + "line": 40, + "column": 6 + } + }, + "expression": { + "type": "LogicalExpression", + "start": 791, + "end": 866, + "loc": { + "start": { + "line": 38, + "column": 6 + }, + "end": { + "line": 39, + "column": 43 + } + }, + "left": { + "type": "CallExpression", + "start": 791, + "end": 820, + "loc": { + "start": { + "line": 38, + "column": 6 + }, + "end": { + "line": 38, + "column": 35 + } + }, + "callee": { + "type": "MemberExpression", + "start": 791, + "end": 812, + "loc": { + "start": { + "line": 38, + "column": 6 + }, + "end": { + "line": 38, + "column": 27 + } + }, + "object": { + "type": "Identifier", + "start": 791, + "end": 797, + "loc": { + "start": { + "line": 38, + "column": 6 + }, + "end": { + "line": 38, + "column": 12 + }, + "identifierName": "option" + }, + "name": "option" + }, + "property": { + "type": "Identifier", + "start": 798, + "end": 812, + "loc": { + "start": { + "line": 38, + "column": 13 + }, + "end": { + "line": 38, + "column": 27 + }, + "identifierName": "hasOwnProperty" + }, + "name": "hasOwnProperty" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 813, + "end": 819, + "loc": { + "start": { + "line": 38, + "column": 28 + }, + "end": { + "line": 38, + "column": 34 + } + }, + "extra": { + "rawValue": "icon", + "raw": "'icon'" + }, + "value": "icon" + } + ] + }, + "operator": "&&", + "right": { + "type": "JSXElement", + "start": 829, + "end": 866, + "loc": { + "start": { + "line": 39, + "column": 6 + }, + "end": { + "line": 39, + "column": 43 + } + }, + "openingElement": { + "type": "JSXOpeningElement", + "start": 829, + "end": 859, + "loc": { + "start": { + "line": 39, + "column": 6 + }, + "end": { + "line": 39, + "column": 36 + } + }, + "attributes": [ + { + "type": "JSXAttribute", + "start": 835, + "end": 858, + "loc": { + "start": { + "line": 39, + "column": 12 + }, + "end": { + "line": 39, + "column": 35 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 835, + "end": 844, + "loc": { + "start": { + "line": 39, + "column": 12 + }, + "end": { + "line": 39, + "column": 21 + } + }, + "name": "className" + }, + "value": { + "type": "JSXExpressionContainer", + "start": 845, + "end": 858, + "loc": { + "start": { + "line": 39, + "column": 22 + }, + "end": { + "line": 39, + "column": 35 + } + }, + "expression": { + "type": "MemberExpression", + "start": 846, + "end": 857, + "loc": { + "start": { + "line": 39, + "column": 23 + }, + "end": { + "line": 39, + "column": 34 + } + }, + "object": { + "type": "Identifier", + "start": 846, + "end": 852, + "loc": { + "start": { + "line": 39, + "column": 23 + }, + "end": { + "line": 39, + "column": 29 + }, + "identifierName": "option" + }, + "name": "option" + }, + "property": { + "type": "Identifier", + "start": 853, + "end": 857, + "loc": { + "start": { + "line": 39, + "column": 30 + }, + "end": { + "line": 39, + "column": 34 + }, + "identifierName": "icon" + }, + "name": "icon" + }, + "computed": false + } + } + } + ], + "name": { + "type": "JSXIdentifier", + "start": 830, + "end": 834, + "loc": { + "start": { + "line": 39, + "column": 7 + }, + "end": { + "line": 39, + "column": 11 + } + }, + "name": "span" + }, + "selfClosing": false + }, + "closingElement": { + "type": "JSXClosingElement", + "start": 859, + "end": 866, + "loc": { + "start": { + "line": 39, + "column": 36 + }, + "end": { + "line": 39, + "column": 43 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 861, + "end": 865, + "loc": { + "start": { + "line": 39, + "column": 38 + }, + "end": { + "line": 39, + "column": 42 + } + }, + "name": "span" + } + }, + "children": [] + } + } + }, + { + "type": "JSXText", + "start": 873, + "end": 879, + "loc": { + "start": { + "line": 40, + "column": 6 + }, + "end": { + "line": 41, + "column": 5 + } + }, + "extra": null, + "value": "\n\t\t\t\t\t" + }, + { + "type": "JSXExpressionContainer", + "start": 879, + "end": 974, + "loc": { + "start": { + "line": 41, + "column": 5 + }, + "end": { + "line": 43, + "column": 6 + } + }, + "expression": { + "type": "LogicalExpression", + "start": 880, + "end": 967, + "loc": { + "start": { + "line": 41, + "column": 6 + }, + "end": { + "line": 42, + "column": 53 + } + }, + "left": { + "type": "UnaryExpression", + "start": 880, + "end": 910, + "loc": { + "start": { + "line": 41, + "column": 6 + }, + "end": { + "line": 41, + "column": 36 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "CallExpression", + "start": 881, + "end": 910, + "loc": { + "start": { + "line": 41, + "column": 7 + }, + "end": { + "line": 41, + "column": 36 + } + }, + "callee": { + "type": "MemberExpression", + "start": 881, + "end": 902, + "loc": { + "start": { + "line": 41, + "column": 7 + }, + "end": { + "line": 41, + "column": 28 + } + }, + "object": { + "type": "Identifier", + "start": 881, + "end": 887, + "loc": { + "start": { + "line": 41, + "column": 7 + }, + "end": { + "line": 41, + "column": 13 + }, + "identifierName": "option" + }, + "name": "option" + }, + "property": { + "type": "Identifier", + "start": 888, + "end": 902, + "loc": { + "start": { + "line": 41, + "column": 14 + }, + "end": { + "line": 41, + "column": 28 + }, + "identifierName": "hasOwnProperty" + }, + "name": "hasOwnProperty" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 903, + "end": 909, + "loc": { + "start": { + "line": 41, + "column": 29 + }, + "end": { + "line": 41, + "column": 35 + } + }, + "extra": { + "rawValue": "icon", + "raw": "'icon'" + }, + "value": "icon" + } + ] + }, + "extra": { + "parenthesizedArgument": false + } + }, + "operator": "&&", + "right": { + "type": "JSXElement", + "start": 920, + "end": 967, + "loc": { + "start": { + "line": 42, + "column": 6 + }, + "end": { + "line": 42, + "column": 53 + } + }, + "openingElement": { + "type": "JSXOpeningElement", + "start": 920, + "end": 936, + "loc": { + "start": { + "line": 42, + "column": 6 + }, + "end": { + "line": 42, + "column": 22 + } + }, + "attributes": [], + "name": { + "type": "JSXMemberExpression", + "start": 921, + "end": 935, + "loc": { + "start": { + "line": 42, + "column": 7 + }, + "end": { + "line": 42, + "column": 21 + } + }, + "object": { + "type": "JSXIdentifier", + "start": 921, + "end": 926, + "loc": { + "start": { + "line": 42, + "column": 7 + }, + "end": { + "line": 42, + "column": 12 + } + }, + "name": "React" + }, + "property": { + "type": "JSXIdentifier", + "start": 927, + "end": 935, + "loc": { + "start": { + "line": 42, + "column": 13 + }, + "end": { + "line": 42, + "column": 21 + } + }, + "name": "Fragment" + } + }, + "selfClosing": false + }, + "closingElement": { + "type": "JSXClosingElement", + "start": 950, + "end": 967, + "loc": { + "start": { + "line": 42, + "column": 36 + }, + "end": { + "line": 42, + "column": 53 + } + }, + "name": { + "type": "JSXMemberExpression", + "start": 952, + "end": 966, + "loc": { + "start": { + "line": 42, + "column": 38 + }, + "end": { + "line": 42, + "column": 52 + } + }, + "object": { + "type": "JSXIdentifier", + "start": 952, + "end": 957, + "loc": { + "start": { + "line": 42, + "column": 38 + }, + "end": { + "line": 42, + "column": 43 + } + }, + "name": "React" + }, + "property": { + "type": "JSXIdentifier", + "start": 958, + "end": 966, + "loc": { + "start": { + "line": 42, + "column": 44 + }, + "end": { + "line": 42, + "column": 52 + } + }, + "name": "Fragment" + } + } + }, + "children": [ + { + "type": "JSXExpressionContainer", + "start": 936, + "end": 950, + "loc": { + "start": { + "line": 42, + "column": 22 + }, + "end": { + "line": 42, + "column": 36 + } + }, + "expression": { + "type": "MemberExpression", + "start": 937, + "end": 949, + "loc": { + "start": { + "line": 42, + "column": 23 + }, + "end": { + "line": 42, + "column": 35 + } + }, + "object": { + "type": "Identifier", + "start": 937, + "end": 943, + "loc": { + "start": { + "line": 42, + "column": 23 + }, + "end": { + "line": 42, + "column": 29 + }, + "identifierName": "option" + }, + "name": "option" + }, + "property": { + "type": "Identifier", + "start": 944, + "end": 949, + "loc": { + "start": { + "line": 42, + "column": 30 + }, + "end": { + "line": 42, + "column": 35 + }, + "identifierName": "label" + }, + "name": "label" + }, + "computed": false + } + } + ] + } + } + }, + { + "type": "JSXText", + "start": 974, + "end": 980, + "loc": { + "start": { + "line": 43, + "column": 6 + }, + "end": { + "line": 45, + "column": 4 + } + }, + "extra": null, + "value": "\n\n\t\t\t\t" + } + ] + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "JSXText", + "start": 996, + "end": 999, + "loc": { + "start": { + "line": 46, + "column": 6 + }, + "end": { + "line": 47, + "column": 2 + } + }, + "extra": null, + "value": "\n\t\t" + } + ], + "leadingComments": null, + "extra": { + "parenthesized": true, + "parenStart": 455 + } + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n\t * Render a button group\n\t ", + "start": 412, + "end": 446, + "loc": { + "start": { + "line": 22, + "column": 1 + }, + "end": { + "line": 24, + "column": 4 + } + } + } + ] + } + ], + "directives": [] + } + }, + "leadingComments": null + } + ], + "kind": "const", + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Creates a button group field\n *\n * @param {Object} props\n * @returns {*}\n * @constructor\n ", + "start": 104, + "end": 203, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 10, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Prop definition for select fields\n *\n * @type {{}}\n ", + "start": 1014, + "end": 1075, + "loc": { + "start": { + "line": 51, + "column": 0 + }, + "end": { + "line": 55, + "column": 3 + } + } + } + ] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Creates a button group field\n *\n * @param {Object} props\n * @returns {*}\n * @constructor\n ", + "start": 104, + "end": 203, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 10, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Prop definition for select fields\n *\n * @type {{}}\n ", + "start": 1014, + "end": 1075, + "loc": { + "start": { + "line": 51, + "column": 0 + }, + "end": { + "line": 55, + "column": 3 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 1076, + "end": 1348, + "loc": { + "start": { + "line": 56, + "column": 0 + }, + "end": { + "line": 69, + "column": 2 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1076, + "end": 1347, + "loc": { + "start": { + "line": 56, + "column": 0 + }, + "end": { + "line": 69, + "column": 1 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1076, + "end": 1097, + "loc": { + "start": { + "line": 56, + "column": 0 + }, + "end": { + "line": 56, + "column": 21 + } + }, + "object": { + "type": "Identifier", + "start": 1076, + "end": 1087, + "loc": { + "start": { + "line": 56, + "column": 0 + }, + "end": { + "line": 56, + "column": 11 + }, + "identifierName": "ButtonGroup" + }, + "name": "ButtonGroup", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 1088, + "end": 1097, + "loc": { + "start": { + "line": 56, + "column": 12 + }, + "end": { + "line": 56, + "column": 21 + }, + "identifierName": "propTypes" + }, + "name": "propTypes" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "ObjectExpression", + "start": 1100, + "end": 1347, + "loc": { + "start": { + "line": 56, + "column": 24 + }, + "end": { + "line": 69, + "column": 1 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 1103, + "end": 1138, + "loc": { + "start": { + "line": 57, + "column": 1 + }, + "end": { + "line": 57, + "column": 36 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1103, + "end": 1111, + "loc": { + "start": { + "line": 57, + "column": 1 + }, + "end": { + "line": 57, + "column": 9 + }, + "identifierName": "onChange" + }, + "name": "onChange" + }, + "value": { + "type": "MemberExpression", + "start": 1113, + "end": 1138, + "loc": { + "start": { + "line": 57, + "column": 11 + }, + "end": { + "line": 57, + "column": 36 + } + }, + "object": { + "type": "MemberExpression", + "start": 1113, + "end": 1127, + "loc": { + "start": { + "line": 57, + "column": 11 + }, + "end": { + "line": 57, + "column": 25 + } + }, + "object": { + "type": "Identifier", + "start": 1113, + "end": 1122, + "loc": { + "start": { + "line": 57, + "column": 11 + }, + "end": { + "line": 57, + "column": 20 + }, + "identifierName": "PropTypes" + }, + "name": "PropTypes" + }, + "property": { + "type": "Identifier", + "start": 1123, + "end": 1127, + "loc": { + "start": { + "line": 57, + "column": 21 + }, + "end": { + "line": 57, + "column": 25 + }, + "identifierName": "func" + }, + "name": "func" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1128, + "end": 1138, + "loc": { + "start": { + "line": 57, + "column": 26 + }, + "end": { + "line": 57, + "column": 36 + }, + "identifierName": "isRequired" + }, + "name": "isRequired" + }, + "computed": false + } + }, + { + "type": "ObjectProperty", + "start": 1141, + "end": 1271, + "loc": { + "start": { + "line": 58, + "column": 1 + }, + "end": { + "line": 64, + "column": 2 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1141, + "end": 1148, + "loc": { + "start": { + "line": 58, + "column": 1 + }, + "end": { + "line": 58, + "column": 8 + }, + "identifierName": "options" + }, + "name": "options" + }, + "value": { + "type": "CallExpression", + "start": 1150, + "end": 1271, + "loc": { + "start": { + "line": 58, + "column": 10 + }, + "end": { + "line": 64, + "column": 2 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1150, + "end": 1167, + "loc": { + "start": { + "line": 58, + "column": 10 + }, + "end": { + "line": 58, + "column": 27 + } + }, + "object": { + "type": "Identifier", + "start": 1150, + "end": 1159, + "loc": { + "start": { + "line": 58, + "column": 10 + }, + "end": { + "line": 58, + "column": 19 + }, + "identifierName": "PropTypes" + }, + "name": "PropTypes" + }, + "property": { + "type": "Identifier", + "start": 1160, + "end": 1167, + "loc": { + "start": { + "line": 58, + "column": 20 + }, + "end": { + "line": 58, + "column": 27 + }, + "identifierName": "arrayOf" + }, + "name": "arrayOf" + }, + "computed": false + }, + "arguments": [ + { + "type": "CallExpression", + "start": 1171, + "end": 1268, + "loc": { + "start": { + "line": 59, + "column": 2 + }, + "end": { + "line": 63, + "column": 4 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1171, + "end": 1186, + "loc": { + "start": { + "line": 59, + "column": 2 + }, + "end": { + "line": 59, + "column": 17 + } + }, + "object": { + "type": "Identifier", + "start": 1171, + "end": 1180, + "loc": { + "start": { + "line": 59, + "column": 2 + }, + "end": { + "line": 59, + "column": 11 + }, + "identifierName": "PropTypes" + }, + "name": "PropTypes" + }, + "property": { + "type": "Identifier", + "start": 1181, + "end": 1186, + "loc": { + "start": { + "line": 59, + "column": 12 + }, + "end": { + "line": 59, + "column": 17 + }, + "identifierName": "shape" + }, + "name": "shape" + }, + "computed": false + }, + "arguments": [ + { + "type": "ObjectExpression", + "start": 1187, + "end": 1267, + "loc": { + "start": { + "line": 59, + "column": 18 + }, + "end": { + "line": 63, + "column": 3 + } + }, + "properties": [ + { + "type": "SpreadProperty", + "start": 1192, + "end": 1206, + "loc": { + "start": { + "line": 60, + "column": 3 + }, + "end": { + "line": 60, + "column": 17 + } + }, + "argument": { + "type": "Identifier", + "start": 1195, + "end": 1206, + "loc": { + "start": { + "line": 60, + "column": 6 + }, + "end": { + "line": 60, + "column": 17 + }, + "identifierName": "optionShape" + }, + "name": "optionShape" + } + }, + { + "type": "ObjectProperty", + "start": 1211, + "end": 1232, + "loc": { + "start": { + "line": 61, + "column": 3 + }, + "end": { + "line": 61, + "column": 24 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1211, + "end": 1215, + "loc": { + "start": { + "line": 61, + "column": 3 + }, + "end": { + "line": 61, + "column": 7 + }, + "identifierName": "icon" + }, + "name": "icon" + }, + "value": { + "type": "MemberExpression", + "start": 1216, + "end": 1232, + "loc": { + "start": { + "line": 61, + "column": 8 + }, + "end": { + "line": 61, + "column": 24 + } + }, + "object": { + "type": "Identifier", + "start": 1216, + "end": 1225, + "loc": { + "start": { + "line": 61, + "column": 8 + }, + "end": { + "line": 61, + "column": 17 + }, + "identifierName": "PropTypes" + }, + "name": "PropTypes" + }, + "property": { + "type": "Identifier", + "start": 1226, + "end": 1232, + "loc": { + "start": { + "line": 61, + "column": 18 + }, + "end": { + "line": 61, + "column": 24 + }, + "identifierName": "string" + }, + "name": "string" + }, + "computed": false + } + }, + { + "type": "ObjectProperty", + "start": 1237, + "end": 1263, + "loc": { + "start": { + "line": 62, + "column": 3 + }, + "end": { + "line": 62, + "column": 29 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1237, + "end": 1246, + "loc": { + "start": { + "line": 62, + "column": 3 + }, + "end": { + "line": 62, + "column": 12 + }, + "identifierName": "ariaLabel" + }, + "name": "ariaLabel" + }, + "value": { + "type": "MemberExpression", + "start": 1247, + "end": 1263, + "loc": { + "start": { + "line": 62, + "column": 13 + }, + "end": { + "line": 62, + "column": 29 + } + }, + "object": { + "type": "Identifier", + "start": 1247, + "end": 1256, + "loc": { + "start": { + "line": 62, + "column": 13 + }, + "end": { + "line": 62, + "column": 22 + }, + "identifierName": "PropTypes" + }, + "name": "PropTypes" + }, + "property": { + "type": "Identifier", + "start": 1257, + "end": 1263, + "loc": { + "start": { + "line": 62, + "column": 23 + }, + "end": { + "line": 62, + "column": 29 + }, + "identifierName": "string" + }, + "name": "string" + }, + "computed": false + } + } + ] + } + ] + } + ] + } + }, + { + "type": "ObjectProperty", + "start": 1274, + "end": 1345, + "loc": { + "start": { + "line": 65, + "column": 1 + }, + "end": { + "line": 68, + "column": 3 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1274, + "end": 1279, + "loc": { + "start": { + "line": 65, + "column": 1 + }, + "end": { + "line": 65, + "column": 6 + }, + "identifierName": "value" + }, + "name": "value" + }, + "value": { + "type": "CallExpression", + "start": 1281, + "end": 1345, + "loc": { + "start": { + "line": 65, + "column": 8 + }, + "end": { + "line": 68, + "column": 3 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1281, + "end": 1300, + "loc": { + "start": { + "line": 65, + "column": 8 + }, + "end": { + "line": 65, + "column": 27 + } + }, + "object": { + "type": "Identifier", + "start": 1281, + "end": 1290, + "loc": { + "start": { + "line": 65, + "column": 8 + }, + "end": { + "line": 65, + "column": 17 + }, + "identifierName": "PropTypes" + }, + "name": "PropTypes" + }, + "property": { + "type": "Identifier", + "start": 1291, + "end": 1300, + "loc": { + "start": { + "line": 65, + "column": 18 + }, + "end": { + "line": 65, + "column": 27 + }, + "identifierName": "oneOfType" + }, + "name": "oneOfType" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrayExpression", + "start": 1301, + "end": 1344, + "loc": { + "start": { + "line": 65, + "column": 28 + }, + "end": { + "line": 68, + "column": 2 + } + }, + "elements": [ + { + "type": "MemberExpression", + "start": 1305, + "end": 1321, + "loc": { + "start": { + "line": 66, + "column": 2 + }, + "end": { + "line": 66, + "column": 18 + } + }, + "object": { + "type": "Identifier", + "start": 1305, + "end": 1314, + "loc": { + "start": { + "line": 66, + "column": 2 + }, + "end": { + "line": 66, + "column": 11 + }, + "identifierName": "PropTypes" + }, + "name": "PropTypes" + }, + "property": { + "type": "Identifier", + "start": 1315, + "end": 1321, + "loc": { + "start": { + "line": 66, + "column": 12 + }, + "end": { + "line": 66, + "column": 18 + }, + "identifierName": "number" + }, + "name": "number" + }, + "computed": false + }, + { + "type": "MemberExpression", + "start": 1325, + "end": 1341, + "loc": { + "start": { + "line": 67, + "column": 2 + }, + "end": { + "line": 67, + "column": 18 + } + }, + "object": { + "type": "Identifier", + "start": 1325, + "end": 1334, + "loc": { + "start": { + "line": 67, + "column": 2 + }, + "end": { + "line": 67, + "column": 11 + }, + "identifierName": "PropTypes" + }, + "name": "PropTypes" + }, + "property": { + "type": "Identifier", + "start": 1335, + "end": 1341, + "loc": { + "start": { + "line": 67, + "column": 12 + }, + "end": { + "line": 67, + "column": 18 + }, + "identifierName": "string" + }, + "name": "string" + }, + "computed": false + } + ] + } + ] + } + } + ] + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Prop definition for select fields\n *\n * @type {{}}\n ", + "start": 1014, + "end": 1075, + "loc": { + "start": { + "line": 51, + "column": 0 + }, + "end": { + "line": 55, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Default props for select fields\n *\n * @type {{options: Array}}\n ", + "start": 1350, + "end": 1423, + "loc": { + "start": { + "line": 71, + "column": 0 + }, + "end": { + "line": 75, + "column": 3 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 1424, + "end": 1468, + "loc": { + "start": { + "line": 76, + "column": 0 + }, + "end": { + "line": 78, + "column": 2 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1424, + "end": 1467, + "loc": { + "start": { + "line": 76, + "column": 0 + }, + "end": { + "line": 78, + "column": 1 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1424, + "end": 1448, + "loc": { + "start": { + "line": 76, + "column": 0 + }, + "end": { + "line": 76, + "column": 24 + } + }, + "object": { + "type": "Identifier", + "start": 1424, + "end": 1435, + "loc": { + "start": { + "line": 76, + "column": 0 + }, + "end": { + "line": 76, + "column": 11 + }, + "identifierName": "ButtonGroup" + }, + "name": "ButtonGroup", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 1436, + "end": 1448, + "loc": { + "start": { + "line": 76, + "column": 12 + }, + "end": { + "line": 76, + "column": 24 + }, + "identifierName": "defaultProps" + }, + "name": "defaultProps" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "ObjectExpression", + "start": 1451, + "end": 1467, + "loc": { + "start": { + "line": 76, + "column": 27 + }, + "end": { + "line": 78, + "column": 1 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 1454, + "end": 1465, + "loc": { + "start": { + "line": 77, + "column": 1 + }, + "end": { + "line": 77, + "column": 12 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1454, + "end": 1461, + "loc": { + "start": { + "line": 77, + "column": 1 + }, + "end": { + "line": 77, + "column": 8 + }, + "identifierName": "options" + }, + "name": "options" + }, + "value": { + "type": "ArrayExpression", + "start": 1463, + "end": 1465, + "loc": { + "start": { + "line": 77, + "column": 10 + }, + "end": { + "line": 77, + "column": 12 + } + }, + "elements": [] + } + } + ] + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Default props for select fields\n *\n * @type {{options: Array}}\n ", + "start": 1350, + "end": 1423, + "loc": { + "start": { + "line": 71, + "column": 0 + }, + "end": { + "line": 75, + "column": 3 + } + } + } + ] + } + ], + "directives": [] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * Creates a button group field\n *\n * @param {Object} props\n * @returns {*}\n * @constructor\n ", + "start": 104, + "end": 203, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 10, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n\t * Dispatches new value(s) to parent\n\t *\n\t * @param selection\n\t * @returns {*}\n\t ", + "start": 245, + "end": 333, + "loc": { + "start": { + "line": 12, + "column": 1 + }, + "end": { + "line": 17, + "column": 4 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n\t * Render a button group\n\t ", + "start": 412, + "end": 446, + "loc": { + "start": { + "line": 22, + "column": 1 + }, + "end": { + "line": 24, + "column": 4 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Prop definition for select fields\n *\n * @type {{}}\n ", + "start": 1014, + "end": 1075, + "loc": { + "start": { + "line": 51, + "column": 0 + }, + "end": { + "line": 55, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Default props for select fields\n *\n * @type {{options: Array}}\n ", + "start": 1350, + "end": 1423, + "loc": { + "start": { + "line": 71, + "column": 0 + }, + "end": { + "line": 75, + "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": "optionShape", + "start": 35, + "end": 46, + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 19 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 46, + "end": 47, + "loc": { + "start": { + "line": 2, + "column": 19 + }, + "end": { + "line": 2, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 48, + "end": 52, + "loc": { + "start": { + "line": 2, + "column": 21 + }, + "end": { + "line": 2, + "column": 25 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "../propTypes", + "start": 53, + "end": 67, + "loc": { + "start": { + "line": 2, + "column": 26 + }, + "end": { + "line": 2, + "column": 40 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 67, + "end": 68, + "loc": { + "start": { + "line": 2, + "column": 40 + }, + "end": { + "line": 2, + "column": 41 + } + } + }, + { + "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": 69, + "end": 75, + "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": "PropTypes", + "start": 76, + "end": 85, + "loc": { + "start": { + "line": 3, + "column": 7 + }, + "end": { + "line": 3, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 86, + "end": 90, + "loc": { + "start": { + "line": 3, + "column": 17 + }, + "end": { + "line": 3, + "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": 91, + "end": 103, + "loc": { + "start": { + "line": 3, + "column": 22 + }, + "end": { + "line": 3, + "column": 34 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Creates a button group field\n *\n * @param {Object} props\n * @returns {*}\n * @constructor\n ", + "start": 104, + "end": 203, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 10, + "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": 204, + "end": 210, + "loc": { + "start": { + "line": 11, + "column": 0 + }, + "end": { + "line": 11, + "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": 211, + "end": 216, + "loc": { + "start": { + "line": 11, + "column": 7 + }, + "end": { + "line": 11, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ButtonGroup", + "start": 217, + "end": 228, + "loc": { + "start": { + "line": 11, + "column": 13 + }, + "end": { + "line": 11, + "column": 24 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 229, + "end": 230, + "loc": { + "start": { + "line": 11, + "column": 25 + }, + "end": { + "line": 11, + "column": 26 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 231, + "end": 232, + "loc": { + "start": { + "line": 11, + "column": 27 + }, + "end": { + "line": 11, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "props", + "start": 232, + "end": 237, + "loc": { + "start": { + "line": 11, + "column": 28 + }, + "end": { + "line": 11, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 237, + "end": 238, + "loc": { + "start": { + "line": 11, + "column": 33 + }, + "end": { + "line": 11, + "column": 34 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 239, + "end": 241, + "loc": { + "start": { + "line": 11, + "column": 35 + }, + "end": { + "line": 11, + "column": 37 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 242, + "end": 243, + "loc": { + "start": { + "line": 11, + "column": 38 + }, + "end": { + "line": 11, + "column": 39 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n\t * Dispatches new value(s) to parent\n\t *\n\t * @param selection\n\t * @returns {*}\n\t ", + "start": 245, + "end": 333, + "loc": { + "start": { + "line": 12, + "column": 1 + }, + "end": { + "line": 17, + "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": 335, + "end": 343, + "loc": { + "start": { + "line": 18, + "column": 1 + }, + "end": { + "line": 18, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "changeHandler", + "start": 344, + "end": 357, + "loc": { + "start": { + "line": 18, + "column": 10 + }, + "end": { + "line": 18, + "column": 23 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 357, + "end": 358, + "loc": { + "start": { + "line": 18, + "column": 23 + }, + "end": { + "line": 18, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "selection", + "start": 358, + "end": 367, + "loc": { + "start": { + "line": 18, + "column": 24 + }, + "end": { + "line": 18, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 367, + "end": 368, + "loc": { + "start": { + "line": 18, + "column": 33 + }, + "end": { + "line": 18, + "column": 34 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 369, + "end": 370, + "loc": { + "start": { + "line": 18, + "column": 35 + }, + "end": { + "line": 18, + "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": 373, + "end": 379, + "loc": { + "start": { + "line": 19, + "column": 2 + }, + "end": { + "line": 19, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "props", + "start": 380, + "end": 385, + "loc": { + "start": { + "line": 19, + "column": 9 + }, + "end": { + "line": 19, + "column": 14 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 385, + "end": 386, + "loc": { + "start": { + "line": 19, + "column": 14 + }, + "end": { + "line": 19, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onChange", + "start": 386, + "end": 394, + "loc": { + "start": { + "line": 19, + "column": 15 + }, + "end": { + "line": 19, + "column": 23 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 394, + "end": 395, + "loc": { + "start": { + "line": 19, + "column": 23 + }, + "end": { + "line": 19, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "selection", + "start": 395, + "end": 404, + "loc": { + "start": { + "line": 19, + "column": 24 + }, + "end": { + "line": 19, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 404, + "end": 405, + "loc": { + "start": { + "line": 19, + "column": 33 + }, + "end": { + "line": 19, + "column": 34 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 405, + "end": 406, + "loc": { + "start": { + "line": 19, + "column": 34 + }, + "end": { + "line": 19, + "column": 35 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 408, + "end": 409, + "loc": { + "start": { + "line": 20, + "column": 1 + }, + "end": { + "line": 20, + "column": 2 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n\t * Render a button group\n\t ", + "start": 412, + "end": 446, + "loc": { + "start": { + "line": 22, + "column": 1 + }, + "end": { + "line": 24, + "column": 4 + } + } + }, + { + "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": 448, + "end": 454, + "loc": { + "start": { + "line": 25, + "column": 1 + }, + "end": { + "line": 25, + "column": 7 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 455, + "end": 456, + "loc": { + "start": { + "line": 25, + "column": 8 + }, + "end": { + "line": 25, + "column": 9 + } + } + }, + { + "type": { + "label": "jsxTagStart", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 459, + "end": 460, + "loc": { + "start": { + "line": 26, + "column": 2 + }, + "end": { + "line": 26, + "column": 3 + } + } + }, + { + "type": { + "label": "jsxName", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "div", + "start": 460, + "end": 463, + "loc": { + "start": { + "line": 26, + "column": 3 + }, + "end": { + "line": 26, + "column": 6 + } + } + }, + { + "type": { + "label": "jsxName", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "role", + "start": 467, + "end": 471, + "loc": { + "start": { + "line": 27, + "column": 3 + }, + "end": { + "line": 27, + "column": 7 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 471, + "end": 472, + "loc": { + "start": { + "line": 27, + "column": 7 + }, + "end": { + "line": 27, + "column": 8 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "group", + "start": 472, + "end": 479, + "loc": { + "start": { + "line": 27, + "column": 8 + }, + "end": { + "line": 27, + "column": 15 + } + } + }, + { + "type": { + "label": "jsxTagEnd", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 482, + "end": 483, + "loc": { + "start": { + "line": 28, + "column": 2 + }, + "end": { + "line": 28, + "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": 483, + "end": 487, + "loc": { + "start": { + "line": 28, + "column": 3 + }, + "end": { + "line": 29, + "column": 3 + } + } + }, + { + "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": 29, + "column": 3 + }, + "end": { + "line": 29, + "column": 4 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "props", + "start": 488, + "end": 493, + "loc": { + "start": { + "line": 29, + "column": 4 + }, + "end": { + "line": 29, + "column": 9 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 493, + "end": 494, + "loc": { + "start": { + "line": 29, + "column": 9 + }, + "end": { + "line": 29, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 494, + "end": 501, + "loc": { + "start": { + "line": 29, + "column": 10 + }, + "end": { + "line": 29, + "column": 17 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 501, + "end": 502, + "loc": { + "start": { + "line": 29, + "column": 17 + }, + "end": { + "line": 29, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "map", + "start": 502, + "end": 505, + "loc": { + "start": { + "line": 29, + "column": 18 + }, + "end": { + "line": 29, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 505, + "end": 506, + "loc": { + "start": { + "line": 29, + "column": 21 + }, + "end": { + "line": 29, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "option", + "start": 506, + "end": 512, + "loc": { + "start": { + "line": 29, + "column": 22 + }, + "end": { + "line": 29, + "column": 28 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 513, + "end": 515, + "loc": { + "start": { + "line": 29, + "column": 29 + }, + "end": { + "line": 29, + "column": 31 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 516, + "end": 517, + "loc": { + "start": { + "line": 29, + "column": 32 + }, + "end": { + "line": 29, + "column": 33 + } + } + }, + { + "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": 522, + "end": 528, + "loc": { + "start": { + "line": 30, + "column": 4 + }, + "end": { + "line": 30, + "column": 10 + } + } + }, + { + "type": { + "label": "jsxTagStart", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 529, + "end": 530, + "loc": { + "start": { + "line": 30, + "column": 11 + }, + "end": { + "line": 30, + "column": 12 + } + } + }, + { + "type": { + "label": "jsxName", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "button", + "start": 530, + "end": 536, + "loc": { + "start": { + "line": 30, + "column": 12 + }, + "end": { + "line": 30, + "column": 18 + } + } + }, + { + "type": { + "label": "jsxName", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "aria-label", + "start": 542, + "end": 552, + "loc": { + "start": { + "line": 31, + "column": 5 + }, + "end": { + "line": 31, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 552, + "end": 553, + "loc": { + "start": { + "line": 31, + "column": 15 + }, + "end": { + "line": 31, + "column": 16 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 553, + "end": 554, + "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": "option", + "start": 554, + "end": 560, + "loc": { + "start": { + "line": 31, + "column": 17 + }, + "end": { + "line": 31, + "column": 23 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 560, + "end": 561, + "loc": { + "start": { + "line": 31, + "column": 23 + }, + "end": { + "line": 31, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ariaLabel", + "start": 561, + "end": 570, + "loc": { + "start": { + "line": 31, + "column": 24 + }, + "end": { + "line": 31, + "column": 33 + } + } + }, + { + "type": { + "label": "?", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 571, + "end": 572, + "loc": { + "start": { + "line": 31, + "column": 34 + }, + "end": { + "line": 31, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "option", + "start": 573, + "end": 579, + "loc": { + "start": { + "line": 31, + "column": 36 + }, + "end": { + "line": 31, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 579, + "end": 580, + "loc": { + "start": { + "line": 31, + "column": 42 + }, + "end": { + "line": 31, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ariaLabel", + "start": 580, + "end": 589, + "loc": { + "start": { + "line": 31, + "column": 43 + }, + "end": { + "line": 31, + "column": 52 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 590, + "end": 591, + "loc": { + "start": { + "line": 31, + "column": 53 + }, + "end": { + "line": 31, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "option", + "start": 592, + "end": 598, + "loc": { + "start": { + "line": 31, + "column": 55 + }, + "end": { + "line": 31, + "column": 61 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 598, + "end": 599, + "loc": { + "start": { + "line": 31, + "column": 61 + }, + "end": { + "line": 31, + "column": 62 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "label", + "start": 599, + "end": 604, + "loc": { + "start": { + "line": 31, + "column": 62 + }, + "end": { + "line": 31, + "column": 67 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 604, + "end": 605, + "loc": { + "start": { + "line": 31, + "column": 67 + }, + "end": { + "line": 31, + "column": 68 + } + } + }, + { + "type": { + "label": "jsxName", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "key", + "start": 611, + "end": 614, + "loc": { + "start": { + "line": 32, + "column": 5 + }, + "end": { + "line": 32, + "column": 8 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 614, + "end": 615, + "loc": { + "start": { + "line": 32, + "column": 8 + }, + "end": { + "line": 32, + "column": 9 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 615, + "end": 616, + "loc": { + "start": { + "line": 32, + "column": 9 + }, + "end": { + "line": 32, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "option", + "start": 616, + "end": 622, + "loc": { + "start": { + "line": 32, + "column": 10 + }, + "end": { + "line": 32, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 622, + "end": 623, + "loc": { + "start": { + "line": 32, + "column": 16 + }, + "end": { + "line": 32, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "value", + "start": 623, + "end": 628, + "loc": { + "start": { + "line": 32, + "column": 17 + }, + "end": { + "line": 32, + "column": 22 + } + } + }, + { + "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": 32, + "column": 22 + }, + "end": { + "line": 32, + "column": 23 + } + } + }, + { + "type": { + "label": "jsxName", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "className", + "start": 635, + "end": 644, + "loc": { + "start": { + "line": 33, + "column": 5 + }, + "end": { + "line": 33, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 644, + "end": 645, + "loc": { + "start": { + "line": 33, + "column": 14 + }, + "end": { + "line": 33, + "column": 15 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 645, + "end": 646, + "loc": { + "start": { + "line": 33, + "column": 15 + }, + "end": { + "line": 33, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "props", + "start": 646, + "end": 651, + "loc": { + "start": { + "line": 33, + "column": 16 + }, + "end": { + "line": 33, + "column": 21 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 651, + "end": 652, + "loc": { + "start": { + "line": 33, + "column": 21 + }, + "end": { + "line": 33, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "value", + "start": 652, + "end": 657, + "loc": { + "start": { + "line": 33, + "column": 22 + }, + "end": { + "line": 33, + "column": 27 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 658, + "end": 661, + "loc": { + "start": { + "line": 33, + "column": 28 + }, + "end": { + "line": 33, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "option", + "start": 662, + "end": 668, + "loc": { + "start": { + "line": 33, + "column": 32 + }, + "end": { + "line": 33, + "column": 38 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 668, + "end": 669, + "loc": { + "start": { + "line": 33, + "column": 38 + }, + "end": { + "line": 33, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "value", + "start": 669, + "end": 674, + "loc": { + "start": { + "line": 33, + "column": 39 + }, + "end": { + "line": 33, + "column": 44 + } + } + }, + { + "type": { + "label": "?", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 675, + "end": 676, + "loc": { + "start": { + "line": 33, + "column": 45 + }, + "end": { + "line": 33, + "column": 46 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "selected", + "start": 677, + "end": 687, + "loc": { + "start": { + "line": 33, + "column": 47 + }, + "end": { + "line": 33, + "column": 57 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 688, + "end": 689, + "loc": { + "start": { + "line": 33, + "column": 58 + }, + "end": { + "line": 33, + "column": 59 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "not-selected", + "start": 690, + "end": 704, + "loc": { + "start": { + "line": 33, + "column": 60 + }, + "end": { + "line": 33, + "column": 74 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 705, + "end": 706, + "loc": { + "start": { + "line": 33, + "column": 75 + }, + "end": { + "line": 33, + "column": 76 + } + } + }, + { + "type": { + "label": "jsxName", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "onClick", + "start": 712, + "end": 719, + "loc": { + "start": { + "line": 34, + "column": 5 + }, + "end": { + "line": 34, + "column": 12 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 719, + "end": 720, + "loc": { + "start": { + "line": 34, + "column": 12 + }, + "end": { + "line": 34, + "column": 13 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 720, + "end": 721, + "loc": { + "start": { + "line": 34, + "column": 13 + }, + "end": { + "line": 34, + "column": 14 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 721, + "end": 722, + "loc": { + "start": { + "line": 34, + "column": 14 + }, + "end": { + "line": 34, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 722, + "end": 723, + "loc": { + "start": { + "line": 34, + "column": 15 + }, + "end": { + "line": 34, + "column": 16 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 724, + "end": 726, + "loc": { + "start": { + "line": 34, + "column": 17 + }, + "end": { + "line": 34, + "column": 19 + } + } + }, + { + "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": 34, + "column": 20 + }, + "end": { + "line": 34, + "column": 21 + } + } + }, + { + "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": 735, + "end": 741, + "loc": { + "start": { + "line": 35, + "column": 6 + }, + "end": { + "line": 35, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "changeHandler", + "start": 742, + "end": 755, + "loc": { + "start": { + "line": 35, + "column": 13 + }, + "end": { + "line": 35, + "column": 26 + } + } + }, + { + "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": 35, + "column": 26 + }, + "end": { + "line": 35, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "option", + "start": 756, + "end": 762, + "loc": { + "start": { + "line": 35, + "column": 27 + }, + "end": { + "line": 35, + "column": 33 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 762, + "end": 763, + "loc": { + "start": { + "line": 35, + "column": 33 + }, + "end": { + "line": 35, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "value", + "start": 763, + "end": 768, + "loc": { + "start": { + "line": 35, + "column": 34 + }, + "end": { + "line": 35, + "column": 39 + } + } + }, + { + "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": 35, + "column": 39 + }, + "end": { + "line": 35, + "column": 40 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 769, + "end": 770, + "loc": { + "start": { + "line": 35, + "column": 40 + }, + "end": { + "line": 35, + "column": 41 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 776, + "end": 777, + "loc": { + "start": { + "line": 36, + "column": 5 + }, + "end": { + "line": 36, + "column": 6 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 777, + "end": 778, + "loc": { + "start": { + "line": 36, + "column": 6 + }, + "end": { + "line": 36, + "column": 7 + } + } + }, + { + "type": { + "label": "jsxTagEnd", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 783, + "end": 784, + "loc": { + "start": { + "line": 37, + "column": 4 + }, + "end": { + "line": 37, + "column": 5 + } + } + }, + { + "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\t\t", + "start": 784, + "end": 790, + "loc": { + "start": { + "line": 37, + "column": 5 + }, + "end": { + "line": 38, + "column": 5 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 790, + "end": 791, + "loc": { + "start": { + "line": 38, + "column": 5 + }, + "end": { + "line": 38, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "option", + "start": 791, + "end": 797, + "loc": { + "start": { + "line": 38, + "column": 6 + }, + "end": { + "line": 38, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 797, + "end": 798, + "loc": { + "start": { + "line": 38, + "column": 12 + }, + "end": { + "line": 38, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "hasOwnProperty", + "start": 798, + "end": 812, + "loc": { + "start": { + "line": 38, + "column": 13 + }, + "end": { + "line": 38, + "column": 27 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 812, + "end": 813, + "loc": { + "start": { + "line": 38, + "column": 27 + }, + "end": { + "line": 38, + "column": 28 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "icon", + "start": 813, + "end": 819, + "loc": { + "start": { + "line": 38, + "column": 28 + }, + "end": { + "line": 38, + "column": 34 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 819, + "end": 820, + "loc": { + "start": { + "line": 38, + "column": 34 + }, + "end": { + "line": 38, + "column": 35 + } + } + }, + { + "type": { + "label": "&&", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 2, + "updateContext": null + }, + "value": "&&", + "start": 820, + "end": 822, + "loc": { + "start": { + "line": 38, + "column": 35 + }, + "end": { + "line": 38, + "column": 37 + } + } + }, + { + "type": { + "label": "jsxTagStart", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 829, + "end": 830, + "loc": { + "start": { + "line": 39, + "column": 6 + }, + "end": { + "line": 39, + "column": 7 + } + } + }, + { + "type": { + "label": "jsxName", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "span", + "start": 830, + "end": 834, + "loc": { + "start": { + "line": 39, + "column": 7 + }, + "end": { + "line": 39, + "column": 11 + } + } + }, + { + "type": { + "label": "jsxName", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "className", + "start": 835, + "end": 844, + "loc": { + "start": { + "line": 39, + "column": 12 + }, + "end": { + "line": 39, + "column": 21 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 844, + "end": 845, + "loc": { + "start": { + "line": 39, + "column": 21 + }, + "end": { + "line": 39, + "column": 22 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 845, + "end": 846, + "loc": { + "start": { + "line": 39, + "column": 22 + }, + "end": { + "line": 39, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "option", + "start": 846, + "end": 852, + "loc": { + "start": { + "line": 39, + "column": 23 + }, + "end": { + "line": 39, + "column": 29 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 852, + "end": 853, + "loc": { + "start": { + "line": 39, + "column": 29 + }, + "end": { + "line": 39, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "icon", + "start": 853, + "end": 857, + "loc": { + "start": { + "line": 39, + "column": 30 + }, + "end": { + "line": 39, + "column": 34 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 857, + "end": 858, + "loc": { + "start": { + "line": 39, + "column": 34 + }, + "end": { + "line": 39, + "column": 35 + } + } + }, + { + "type": { + "label": "jsxTagEnd", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 858, + "end": 859, + "loc": { + "start": { + "line": 39, + "column": 35 + }, + "end": { + "line": 39, + "column": 36 + } + } + }, + { + "type": { + "label": "jsxTagStart", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 859, + "end": 860, + "loc": { + "start": { + "line": 39, + "column": 36 + }, + "end": { + "line": 39, + "column": 37 + } + } + }, + { + "type": { + "label": "/", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "/", + "start": 860, + "end": 861, + "loc": { + "start": { + "line": 39, + "column": 37 + }, + "end": { + "line": 39, + "column": 38 + } + } + }, + { + "type": { + "label": "jsxName", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "span", + "start": 861, + "end": 865, + "loc": { + "start": { + "line": 39, + "column": 38 + }, + "end": { + "line": 39, + "column": 42 + } + } + }, + { + "type": { + "label": "jsxTagEnd", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 865, + "end": 866, + "loc": { + "start": { + "line": 39, + "column": 42 + }, + "end": { + "line": 39, + "column": 43 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 872, + "end": 873, + "loc": { + "start": { + "line": 40, + "column": 5 + }, + "end": { + "line": 40, + "column": 6 + } + } + }, + { + "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\t\t", + "start": 873, + "end": 879, + "loc": { + "start": { + "line": 40, + "column": 6 + }, + "end": { + "line": 41, + "column": 5 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 879, + "end": 880, + "loc": { + "start": { + "line": 41, + "column": 5 + }, + "end": { + "line": 41, + "column": 6 + } + } + }, + { + "type": { + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "!", + "start": 880, + "end": 881, + "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": "option", + "start": 881, + "end": 887, + "loc": { + "start": { + "line": 41, + "column": 7 + }, + "end": { + "line": 41, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 887, + "end": 888, + "loc": { + "start": { + "line": 41, + "column": 13 + }, + "end": { + "line": 41, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "hasOwnProperty", + "start": 888, + "end": 902, + "loc": { + "start": { + "line": 41, + "column": 14 + }, + "end": { + "line": 41, + "column": 28 + } + } + }, + { + "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": 41, + "column": 28 + }, + "end": { + "line": 41, + "column": 29 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "icon", + "start": 903, + "end": 909, + "loc": { + "start": { + "line": 41, + "column": 29 + }, + "end": { + "line": 41, + "column": 35 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 909, + "end": 910, + "loc": { + "start": { + "line": 41, + "column": 35 + }, + "end": { + "line": 41, + "column": 36 + } + } + }, + { + "type": { + "label": "&&", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 2, + "updateContext": null + }, + "value": "&&", + "start": 911, + "end": 913, + "loc": { + "start": { + "line": 41, + "column": 37 + }, + "end": { + "line": 41, + "column": 39 + } + } + }, + { + "type": { + "label": "jsxTagStart", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 920, + "end": 921, + "loc": { + "start": { + "line": 42, + "column": 6 + }, + "end": { + "line": 42, + "column": 7 + } + } + }, + { + "type": { + "label": "jsxName", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "React", + "start": 921, + "end": 926, + "loc": { + "start": { + "line": 42, + "column": 7 + }, + "end": { + "line": 42, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 926, + "end": 927, + "loc": { + "start": { + "line": 42, + "column": 12 + }, + "end": { + "line": 42, + "column": 13 + } + } + }, + { + "type": { + "label": "jsxName", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Fragment", + "start": 927, + "end": 935, + "loc": { + "start": { + "line": 42, + "column": 13 + }, + "end": { + "line": 42, + "column": 21 + } + } + }, + { + "type": { + "label": "jsxTagEnd", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 935, + "end": 936, + "loc": { + "start": { + "line": 42, + "column": 21 + }, + "end": { + "line": 42, + "column": 22 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 936, + "end": 937, + "loc": { + "start": { + "line": 42, + "column": 22 + }, + "end": { + "line": 42, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "option", + "start": 937, + "end": 943, + "loc": { + "start": { + "line": 42, + "column": 23 + }, + "end": { + "line": 42, + "column": 29 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 943, + "end": 944, + "loc": { + "start": { + "line": 42, + "column": 29 + }, + "end": { + "line": 42, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "label", + "start": 944, + "end": 949, + "loc": { + "start": { + "line": 42, + "column": 30 + }, + "end": { + "line": 42, + "column": 35 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 949, + "end": 950, + "loc": { + "start": { + "line": 42, + "column": 35 + }, + "end": { + "line": 42, + "column": 36 + } + } + }, + { + "type": { + "label": "jsxTagStart", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 950, + "end": 951, + "loc": { + "start": { + "line": 42, + "column": 36 + }, + "end": { + "line": 42, + "column": 37 + } + } + }, + { + "type": { + "label": "/", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "/", + "start": 951, + "end": 952, + "loc": { + "start": { + "line": 42, + "column": 37 + }, + "end": { + "line": 42, + "column": 38 + } + } + }, + { + "type": { + "label": "jsxName", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "React", + "start": 952, + "end": 957, + "loc": { + "start": { + "line": 42, + "column": 38 + }, + "end": { + "line": 42, + "column": 43 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 957, + "end": 958, + "loc": { + "start": { + "line": 42, + "column": 43 + }, + "end": { + "line": 42, + "column": 44 + } + } + }, + { + "type": { + "label": "jsxName", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Fragment", + "start": 958, + "end": 966, + "loc": { + "start": { + "line": 42, + "column": 44 + }, + "end": { + "line": 42, + "column": 52 + } + } + }, + { + "type": { + "label": "jsxTagEnd", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 966, + "end": 967, + "loc": { + "start": { + "line": 42, + "column": 52 + }, + "end": { + "line": 42, + "column": 53 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 973, + "end": 974, + "loc": { + "start": { + "line": 43, + "column": 5 + }, + "end": { + "line": 43, + "column": 6 + } + } + }, + { + "type": { + "label": "jsxText", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "\n\n\t\t\t\t", + "start": 974, + "end": 980, + "loc": { + "start": { + "line": 43, + "column": 6 + }, + "end": { + "line": 45, + "column": 4 + } + } + }, + { + "type": { + "label": "jsxTagStart", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 980, + "end": 981, + "loc": { + "start": { + "line": 45, + "column": 4 + }, + "end": { + "line": 45, + "column": 5 + } + } + }, + { + "type": { + "label": "/", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "/", + "start": 981, + "end": 982, + "loc": { + "start": { + "line": 45, + "column": 5 + }, + "end": { + "line": 45, + "column": 6 + } + } + }, + { + "type": { + "label": "jsxName", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "button", + "start": 982, + "end": 988, + "loc": { + "start": { + "line": 45, + "column": 6 + }, + "end": { + "line": 45, + "column": 12 + } + } + }, + { + "type": { + "label": "jsxTagEnd", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 988, + "end": 989, + "loc": { + "start": { + "line": 45, + "column": 12 + }, + "end": { + "line": 45, + "column": 13 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 993, + "end": 994, + "loc": { + "start": { + "line": 46, + "column": 3 + }, + "end": { + "line": 46, + "column": 4 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 994, + "end": 995, + "loc": { + "start": { + "line": 46, + "column": 4 + }, + "end": { + "line": 46, + "column": 5 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 995, + "end": 996, + "loc": { + "start": { + "line": 46, + "column": 5 + }, + "end": { + "line": 46, + "column": 6 + } + } + }, + { + "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": 996, + "end": 999, + "loc": { + "start": { + "line": 46, + "column": 6 + }, + "end": { + "line": 47, + "column": 2 + } + } + }, + { + "type": { + "label": "jsxTagStart", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 999, + "end": 1000, + "loc": { + "start": { + "line": 47, + "column": 2 + }, + "end": { + "line": 47, + "column": 3 + } + } + }, + { + "type": { + "label": "/", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "/", + "start": 1000, + "end": 1001, + "loc": { + "start": { + "line": 47, + "column": 3 + }, + "end": { + "line": 47, + "column": 4 + } + } + }, + { + "type": { + "label": "jsxName", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "div", + "start": 1001, + "end": 1004, + "loc": { + "start": { + "line": 47, + "column": 4 + }, + "end": { + "line": 47, + "column": 7 + } + } + }, + { + "type": { + "label": "jsxTagEnd", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1004, + "end": 1005, + "loc": { + "start": { + "line": 47, + "column": 7 + }, + "end": { + "line": 47, + "column": 8 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1007, + "end": 1008, + "loc": { + "start": { + "line": 48, + "column": 1 + }, + "end": { + "line": 48, + "column": 2 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1008, + "end": 1009, + "loc": { + "start": { + "line": 48, + "column": 2 + }, + "end": { + "line": 48, + "column": 3 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1010, + "end": 1011, + "loc": { + "start": { + "line": 49, + "column": 0 + }, + "end": { + "line": 49, + "column": 1 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1011, + "end": 1012, + "loc": { + "start": { + "line": 49, + "column": 1 + }, + "end": { + "line": 49, + "column": 2 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Prop definition for select fields\n *\n * @type {{}}\n ", + "start": 1014, + "end": 1075, + "loc": { + "start": { + "line": 51, + "column": 0 + }, + "end": { + "line": 55, + "column": 3 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ButtonGroup", + "start": 1076, + "end": 1087, + "loc": { + "start": { + "line": 56, + "column": 0 + }, + "end": { + "line": 56, + "column": 11 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1087, + "end": 1088, + "loc": { + "start": { + "line": 56, + "column": 11 + }, + "end": { + "line": 56, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "propTypes", + "start": 1088, + "end": 1097, + "loc": { + "start": { + "line": 56, + "column": 12 + }, + "end": { + "line": 56, + "column": 21 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1098, + "end": 1099, + "loc": { + "start": { + "line": 56, + "column": 22 + }, + "end": { + "line": 56, + "column": 23 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1100, + "end": 1101, + "loc": { + "start": { + "line": 56, + "column": 24 + }, + "end": { + "line": 56, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onChange", + "start": 1103, + "end": 1111, + "loc": { + "start": { + "line": 57, + "column": 1 + }, + "end": { + "line": 57, + "column": 9 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1111, + "end": 1112, + "loc": { + "start": { + "line": 57, + "column": 9 + }, + "end": { + "line": 57, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PropTypes", + "start": 1113, + "end": 1122, + "loc": { + "start": { + "line": 57, + "column": 11 + }, + "end": { + "line": 57, + "column": 20 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1122, + "end": 1123, + "loc": { + "start": { + "line": 57, + "column": 20 + }, + "end": { + "line": 57, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "func", + "start": 1123, + "end": 1127, + "loc": { + "start": { + "line": 57, + "column": 21 + }, + "end": { + "line": 57, + "column": 25 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1127, + "end": 1128, + "loc": { + "start": { + "line": 57, + "column": 25 + }, + "end": { + "line": 57, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isRequired", + "start": 1128, + "end": 1138, + "loc": { + "start": { + "line": 57, + "column": 26 + }, + "end": { + "line": 57, + "column": 36 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1138, + "end": 1139, + "loc": { + "start": { + "line": 57, + "column": 36 + }, + "end": { + "line": 57, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 1141, + "end": 1148, + "loc": { + "start": { + "line": 58, + "column": 1 + }, + "end": { + "line": 58, + "column": 8 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1148, + "end": 1149, + "loc": { + "start": { + "line": 58, + "column": 8 + }, + "end": { + "line": 58, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PropTypes", + "start": 1150, + "end": 1159, + "loc": { + "start": { + "line": 58, + "column": 10 + }, + "end": { + "line": 58, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1159, + "end": 1160, + "loc": { + "start": { + "line": 58, + "column": 19 + }, + "end": { + "line": 58, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "arrayOf", + "start": 1160, + "end": 1167, + "loc": { + "start": { + "line": 58, + "column": 20 + }, + "end": { + "line": 58, + "column": 27 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1167, + "end": 1168, + "loc": { + "start": { + "line": 58, + "column": 27 + }, + "end": { + "line": 58, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PropTypes", + "start": 1171, + "end": 1180, + "loc": { + "start": { + "line": 59, + "column": 2 + }, + "end": { + "line": 59, + "column": 11 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1180, + "end": 1181, + "loc": { + "start": { + "line": 59, + "column": 11 + }, + "end": { + "line": 59, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "shape", + "start": 1181, + "end": 1186, + "loc": { + "start": { + "line": 59, + "column": 12 + }, + "end": { + "line": 59, + "column": 17 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1186, + "end": 1187, + "loc": { + "start": { + "line": 59, + "column": 17 + }, + "end": { + "line": 59, + "column": 18 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1187, + "end": 1188, + "loc": { + "start": { + "line": 59, + "column": 18 + }, + "end": { + "line": 59, + "column": 19 + } + } + }, + { + "type": { + "label": "...", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1192, + "end": 1195, + "loc": { + "start": { + "line": 60, + "column": 3 + }, + "end": { + "line": 60, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "optionShape", + "start": 1195, + "end": 1206, + "loc": { + "start": { + "line": 60, + "column": 6 + }, + "end": { + "line": 60, + "column": 17 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1206, + "end": 1207, + "loc": { + "start": { + "line": 60, + "column": 17 + }, + "end": { + "line": 60, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "icon", + "start": 1211, + "end": 1215, + "loc": { + "start": { + "line": 61, + "column": 3 + }, + "end": { + "line": 61, + "column": 7 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1215, + "end": 1216, + "loc": { + "start": { + "line": 61, + "column": 7 + }, + "end": { + "line": 61, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PropTypes", + "start": 1216, + "end": 1225, + "loc": { + "start": { + "line": 61, + "column": 8 + }, + "end": { + "line": 61, + "column": 17 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1225, + "end": 1226, + "loc": { + "start": { + "line": 61, + "column": 17 + }, + "end": { + "line": 61, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "string", + "start": 1226, + "end": 1232, + "loc": { + "start": { + "line": 61, + "column": 18 + }, + "end": { + "line": 61, + "column": 24 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1232, + "end": 1233, + "loc": { + "start": { + "line": 61, + "column": 24 + }, + "end": { + "line": 61, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ariaLabel", + "start": 1237, + "end": 1246, + "loc": { + "start": { + "line": 62, + "column": 3 + }, + "end": { + "line": 62, + "column": 12 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1246, + "end": 1247, + "loc": { + "start": { + "line": 62, + "column": 12 + }, + "end": { + "line": 62, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PropTypes", + "start": 1247, + "end": 1256, + "loc": { + "start": { + "line": 62, + "column": 13 + }, + "end": { + "line": 62, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1256, + "end": 1257, + "loc": { + "start": { + "line": 62, + "column": 22 + }, + "end": { + "line": 62, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "string", + "start": 1257, + "end": 1263, + "loc": { + "start": { + "line": 62, + "column": 23 + }, + "end": { + "line": 62, + "column": 29 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1266, + "end": 1267, + "loc": { + "start": { + "line": 63, + "column": 2 + }, + "end": { + "line": 63, + "column": 3 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1267, + "end": 1268, + "loc": { + "start": { + "line": 63, + "column": 3 + }, + "end": { + "line": 63, + "column": 4 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1270, + "end": 1271, + "loc": { + "start": { + "line": 64, + "column": 1 + }, + "end": { + "line": 64, + "column": 2 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1271, + "end": 1272, + "loc": { + "start": { + "line": 64, + "column": 2 + }, + "end": { + "line": 64, + "column": 3 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "value", + "start": 1274, + "end": 1279, + "loc": { + "start": { + "line": 65, + "column": 1 + }, + "end": { + "line": 65, + "column": 6 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1279, + "end": 1280, + "loc": { + "start": { + "line": 65, + "column": 6 + }, + "end": { + "line": 65, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PropTypes", + "start": 1281, + "end": 1290, + "loc": { + "start": { + "line": 65, + "column": 8 + }, + "end": { + "line": 65, + "column": 17 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1290, + "end": 1291, + "loc": { + "start": { + "line": 65, + "column": 17 + }, + "end": { + "line": 65, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "oneOfType", + "start": 1291, + "end": 1300, + "loc": { + "start": { + "line": 65, + "column": 18 + }, + "end": { + "line": 65, + "column": 27 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1300, + "end": 1301, + "loc": { + "start": { + "line": 65, + "column": 27 + }, + "end": { + "line": 65, + "column": 28 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1301, + "end": 1302, + "loc": { + "start": { + "line": 65, + "column": 28 + }, + "end": { + "line": 65, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PropTypes", + "start": 1305, + "end": 1314, + "loc": { + "start": { + "line": 66, + "column": 2 + }, + "end": { + "line": 66, + "column": 11 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1314, + "end": 1315, + "loc": { + "start": { + "line": 66, + "column": 11 + }, + "end": { + "line": 66, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "number", + "start": 1315, + "end": 1321, + "loc": { + "start": { + "line": 66, + "column": 12 + }, + "end": { + "line": 66, + "column": 18 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1321, + "end": 1322, + "loc": { + "start": { + "line": 66, + "column": 18 + }, + "end": { + "line": 66, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PropTypes", + "start": 1325, + "end": 1334, + "loc": { + "start": { + "line": 67, + "column": 2 + }, + "end": { + "line": 67, + "column": 11 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1334, + "end": 1335, + "loc": { + "start": { + "line": 67, + "column": 11 + }, + "end": { + "line": 67, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "string", + "start": 1335, + "end": 1341, + "loc": { + "start": { + "line": 67, + "column": 12 + }, + "end": { + "line": 67, + "column": 18 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1343, + "end": 1344, + "loc": { + "start": { + "line": 68, + "column": 1 + }, + "end": { + "line": 68, + "column": 2 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1344, + "end": 1345, + "loc": { + "start": { + "line": 68, + "column": 2 + }, + "end": { + "line": 68, + "column": 3 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1346, + "end": 1347, + "loc": { + "start": { + "line": 69, + "column": 0 + }, + "end": { + "line": 69, + "column": 1 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1347, + "end": 1348, + "loc": { + "start": { + "line": 69, + "column": 1 + }, + "end": { + "line": 69, + "column": 2 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Default props for select fields\n *\n * @type {{options: Array}}\n ", + "start": 1350, + "end": 1423, + "loc": { + "start": { + "line": 71, + "column": 0 + }, + "end": { + "line": 75, + "column": 3 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ButtonGroup", + "start": 1424, + "end": 1435, + "loc": { + "start": { + "line": 76, + "column": 0 + }, + "end": { + "line": 76, + "column": 11 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1435, + "end": 1436, + "loc": { + "start": { + "line": 76, + "column": 11 + }, + "end": { + "line": 76, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "defaultProps", + "start": 1436, + "end": 1448, + "loc": { + "start": { + "line": 76, + "column": 12 + }, + "end": { + "line": 76, + "column": 24 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1449, + "end": 1450, + "loc": { + "start": { + "line": 76, + "column": 25 + }, + "end": { + "line": 76, + "column": 26 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1451, + "end": 1452, + "loc": { + "start": { + "line": 76, + "column": 27 + }, + "end": { + "line": 76, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 1454, + "end": 1461, + "loc": { + "start": { + "line": 77, + "column": 1 + }, + "end": { + "line": 77, + "column": 8 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1461, + "end": 1462, + "loc": { + "start": { + "line": 77, + "column": 8 + }, + "end": { + "line": 77, + "column": 9 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1463, + "end": 1464, + "loc": { + "start": { + "line": 77, + "column": 10 + }, + "end": { + "line": 77, + "column": 11 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1464, + "end": 1465, + "loc": { + "start": { + "line": 77, + "column": 11 + }, + "end": { + "line": 77, + "column": 12 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1466, + "end": 1467, + "loc": { + "start": { + "line": 78, + "column": 0 + }, + "end": { + "line": 78, + "column": 1 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1467, + "end": 1468, + "loc": { + "start": { + "line": 78, + "column": 1 + }, + "end": { + "line": 78, + "column": 2 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1468, + "end": 1468, + "loc": { + "start": { + "line": 78, + "column": 2 + }, + "end": { + "line": 78, + "column": 2 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/ast/source/components/fields/magic-select/MagicFieldGroup.js.json b/docs/ast/source/components/fields/magic-select/MagicFieldGroup.js.json new file mode 100644 index 0000000..a65608a --- /dev/null +++ b/docs/ast/source/components/fields/magic-select/MagicFieldGroup.js.json @@ -0,0 +1,30790 @@ +{ + "type": "File", + "start": 0, + "end": 4272, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 208, + "column": 2 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 4272, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 208, + "column": 2 + } + }, + "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": 116, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 6, + "column": 22 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 37, + "end": 58, + "loc": { + "start": { + "line": 3, + "column": 1 + }, + "end": { + "line": 3, + "column": 22 + } + }, + "imported": { + "type": "Identifier", + "start": 37, + "end": 58, + "loc": { + "start": { + "line": 3, + "column": 1 + }, + "end": { + "line": 3, + "column": 22 + }, + "identifierName": "onValueChangePropType" + }, + "name": "onValueChangePropType" + }, + "local": { + "type": "Identifier", + "start": 37, + "end": 58, + "loc": { + "start": { + "line": 3, + "column": 1 + }, + "end": { + "line": 3, + "column": 22 + }, + "identifierName": "onValueChangePropType" + }, + "name": "onValueChangePropType" + } + }, + { + "type": "ImportSpecifier", + "start": 61, + "end": 77, + "loc": { + "start": { + "line": 4, + "column": 1 + }, + "end": { + "line": 4, + "column": 17 + } + }, + "imported": { + "type": "Identifier", + "start": 61, + "end": 77, + "loc": { + "start": { + "line": 4, + "column": 1 + }, + "end": { + "line": 4, + "column": 17 + }, + "identifierName": "optionsShapeProp" + }, + "name": "optionsShapeProp" + }, + "local": { + "type": "Identifier", + "start": 61, + "end": 77, + "loc": { + "start": { + "line": 4, + "column": 1 + }, + "end": { + "line": 4, + "column": 17 + }, + "identifierName": "optionsShapeProp" + }, + "name": "optionsShapeProp" + } + }, + { + "type": "ImportSpecifier", + "start": 80, + "end": 93, + "loc": { + "start": { + "line": 5, + "column": 1 + }, + "end": { + "line": 5, + "column": 14 + } + }, + "imported": { + "type": "Identifier", + "start": 80, + "end": 93, + "loc": { + "start": { + "line": 5, + "column": 1 + }, + "end": { + "line": 5, + "column": 14 + }, + "identifierName": "valuePropType" + }, + "name": "valuePropType" + }, + "local": { + "type": "Identifier", + "start": 80, + "end": 93, + "loc": { + "start": { + "line": 5, + "column": 1 + }, + "end": { + "line": 5, + "column": 14 + }, + "identifierName": "valuePropType" + }, + "name": "valuePropType" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 101, + "end": 115, + "loc": { + "start": { + "line": 6, + "column": 7 + }, + "end": { + "line": 6, + "column": 21 + } + }, + "extra": { + "rawValue": "../propTypes", + "raw": "'../propTypes'" + }, + "value": "../propTypes" + } + }, + { + "type": "ImportDeclaration", + "start": 117, + "end": 153, + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 7, + "column": 36 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 124, + "end": 134, + "loc": { + "start": { + "line": 7, + "column": 7 + }, + "end": { + "line": 7, + "column": 17 + } + }, + "local": { + "type": "Identifier", + "start": 124, + "end": 134, + "loc": { + "start": { + "line": 7, + "column": 7 + }, + "end": { + "line": 7, + "column": 17 + }, + "identifierName": "classNames" + }, + "name": "classNames" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 140, + "end": 152, + "loc": { + "start": { + "line": 7, + "column": 23 + }, + "end": { + "line": 7, + "column": 35 + } + }, + "extra": { + "rawValue": "classnames", + "raw": "'classnames'" + }, + "value": "classnames" + } + }, + { + "type": "ImportDeclaration", + "start": 154, + "end": 189, + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 8, + "column": 35 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 161, + "end": 170, + "loc": { + "start": { + "line": 8, + "column": 7 + }, + "end": { + "line": 8, + "column": 16 + } + }, + "local": { + "type": "Identifier", + "start": 161, + "end": 170, + "loc": { + "start": { + "line": 8, + "column": 7 + }, + "end": { + "line": 8, + "column": 16 + }, + "identifierName": "PropTypes" + }, + "name": "PropTypes" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 176, + "end": 188, + "loc": { + "start": { + "line": 8, + "column": 22 + }, + "end": { + "line": 8, + "column": 34 + } + }, + "extra": { + "rawValue": "prop-types", + "raw": "'prop-types'" + }, + "value": "prop-types" + } + }, + { + "type": "ImportDeclaration", + "start": 190, + "end": 228, + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 9, + "column": 38 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 198, + "end": 207, + "loc": { + "start": { + "line": 9, + "column": 8 + }, + "end": { + "line": 9, + "column": 17 + } + }, + "imported": { + "type": "Identifier", + "start": 198, + "end": 207, + "loc": { + "start": { + "line": 9, + "column": 8 + }, + "end": { + "line": 9, + "column": 17 + }, + "identifierName": "MagicItem" + }, + "name": "MagicItem" + }, + "local": { + "type": "Identifier", + "start": 198, + "end": 207, + "loc": { + "start": { + "line": 9, + "column": 8 + }, + "end": { + "line": 9, + "column": 17 + }, + "identifierName": "MagicItem" + }, + "name": "MagicItem" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 214, + "end": 227, + "loc": { + "start": { + "line": 9, + "column": 24 + }, + "end": { + "line": 9, + "column": 37 + } + }, + "extra": { + "rawValue": "./MagicItem", + "raw": "'./MagicItem'" + }, + "value": "./MagicItem" + } + }, + { + "type": "ImportDeclaration", + "start": 229, + "end": 285, + "loc": { + "start": { + "line": 10, + "column": 0 + }, + "end": { + "line": 10, + "column": 56 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 237, + "end": 248, + "loc": { + "start": { + "line": 10, + "column": 8 + }, + "end": { + "line": 10, + "column": 19 + } + }, + "imported": { + "type": "Identifier", + "start": 237, + "end": 248, + "loc": { + "start": { + "line": 10, + "column": 8 + }, + "end": { + "line": 10, + "column": 19 + }, + "identifierName": "ButtonGroup" + }, + "name": "ButtonGroup" + }, + "local": { + "type": "Identifier", + "start": 237, + "end": 248, + "loc": { + "start": { + "line": 10, + "column": 8 + }, + "end": { + "line": 10, + "column": 19 + }, + "identifierName": "ButtonGroup" + }, + "name": "ButtonGroup" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 255, + "end": 284, + "loc": { + "start": { + "line": 10, + "column": 26 + }, + "end": { + "line": 10, + "column": 55 + } + }, + "extra": { + "rawValue": "../button-group/ButtonGroup", + "raw": "\"../button-group/ButtonGroup\"" + }, + "value": "../button-group/ButtonGroup" + } + }, + { + "type": "ImportDeclaration", + "start": 286, + "end": 328, + "loc": { + "start": { + "line": 11, + "column": 0 + }, + "end": { + "line": 11, + "column": 42 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 294, + "end": 305, + "loc": { + "start": { + "line": 11, + "column": 8 + }, + "end": { + "line": 11, + "column": 19 + } + }, + "imported": { + "type": "Identifier", + "start": 294, + "end": 305, + "loc": { + "start": { + "line": 11, + "column": 8 + }, + "end": { + "line": 11, + "column": 19 + }, + "identifierName": "MagicSelect" + }, + "name": "MagicSelect" + }, + "local": { + "type": "Identifier", + "start": 294, + "end": 305, + "loc": { + "start": { + "line": 11, + "column": 8 + }, + "end": { + "line": 11, + "column": 19 + }, + "identifierName": "MagicSelect" + }, + "name": "MagicSelect" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 312, + "end": 327, + "loc": { + "start": { + "line": 11, + "column": 26 + }, + "end": { + "line": 11, + "column": 41 + } + }, + "extra": { + "rawValue": "./MagicSelect", + "raw": "\"./MagicSelect\"" + }, + "value": "./MagicSelect" + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Encapsulates a complete Magic Select field group including label and the type chooser and the input\n ", + "start": 330, + "end": 440, + "loc": { + "start": { + "line": 13, + "column": 0 + }, + "end": { + "line": 15, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "start": 441, + "end": 3693, + "loc": { + "start": { + "line": 16, + "column": 0 + }, + "end": { + "line": 180, + "column": 1 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "ClassDeclaration", + "start": 448, + "end": 3693, + "loc": { + "start": { + "line": 16, + "column": 7 + }, + "end": { + "line": 180, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 454, + "end": 469, + "loc": { + "start": { + "line": 16, + "column": 13 + }, + "end": { + "line": 16, + "column": 28 + }, + "identifierName": "MagicFieldGroup" + }, + "name": "MagicFieldGroup", + "leadingComments": null + }, + "superClass": { + "type": "MemberExpression", + "start": 478, + "end": 497, + "loc": { + "start": { + "line": 16, + "column": 37 + }, + "end": { + "line": 16, + "column": 56 + } + }, + "object": { + "type": "Identifier", + "start": 478, + "end": 483, + "loc": { + "start": { + "line": 16, + "column": 37 + }, + "end": { + "line": 16, + "column": 42 + }, + "identifierName": "React" + }, + "name": "React" + }, + "property": { + "type": "Identifier", + "start": 484, + "end": 497, + "loc": { + "start": { + "line": 16, + "column": 43 + }, + "end": { + "line": 16, + "column": 56 + }, + "identifierName": "PureComponent" + }, + "name": "PureComponent" + }, + "computed": false + }, + "body": { + "type": "ClassBody", + "start": 498, + "end": 3693, + "loc": { + "start": { + "line": 16, + "column": 57 + }, + "end": { + "line": 180, + "column": 1 + } + }, + "body": [ + { + "type": "ClassMethod", + "start": 581, + "end": 1143, + "loc": { + "start": { + "line": 23, + "column": 1 + }, + "end": { + "line": 38, + "column": 2 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 581, + "end": 592, + "loc": { + "start": { + "line": 23, + "column": 1 + }, + "end": { + "line": 23, + "column": 12 + }, + "identifierName": "constructor" + }, + "name": "constructor", + "leadingComments": null + }, + "kind": "constructor", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 593, + "end": 598, + "loc": { + "start": { + "line": 23, + "column": 13 + }, + "end": { + "line": 23, + "column": 18 + }, + "identifierName": "props" + }, + "name": "props" + } + ], + "body": { + "type": "BlockStatement", + "start": 600, + "end": 1143, + "loc": { + "start": { + "line": 23, + "column": 20 + }, + "end": { + "line": 38, + "column": 2 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 604, + "end": 617, + "loc": { + "start": { + "line": 24, + "column": 2 + }, + "end": { + "line": 24, + "column": 15 + } + }, + "expression": { + "type": "CallExpression", + "start": 604, + "end": 616, + "loc": { + "start": { + "line": 24, + "column": 2 + }, + "end": { + "line": 24, + "column": 14 + } + }, + "callee": { + "type": "Super", + "start": 604, + "end": 609, + "loc": { + "start": { + "line": 24, + "column": 2 + }, + "end": { + "line": 24, + "column": 7 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "start": 610, + "end": 615, + "loc": { + "start": { + "line": 24, + "column": 8 + }, + "end": { + "line": 24, + "column": 13 + }, + "identifierName": "props" + }, + "name": "props" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 620, + "end": 702, + "loc": { + "start": { + "line": 25, + "column": 2 + }, + "end": { + "line": 28, + "column": 4 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 620, + "end": 701, + "loc": { + "start": { + "line": 25, + "column": 2 + }, + "end": { + "line": 28, + "column": 3 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 620, + "end": 630, + "loc": { + "start": { + "line": 25, + "column": 2 + }, + "end": { + "line": 25, + "column": 12 + } + }, + "object": { + "type": "ThisExpression", + "start": 620, + "end": 624, + "loc": { + "start": { + "line": 25, + "column": 2 + }, + "end": { + "line": 25, + "column": 6 + } + } + }, + "property": { + "type": "Identifier", + "start": 625, + "end": 630, + "loc": { + "start": { + "line": 25, + "column": 7 + }, + "end": { + "line": 25, + "column": 12 + }, + "identifierName": "state" + }, + "name": "state" + }, + "computed": false + }, + "right": { + "type": "ObjectExpression", + "start": 633, + "end": 701, + "loc": { + "start": { + "line": 25, + "column": 15 + }, + "end": { + "line": 28, + "column": 3 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 638, + "end": 672, + "loc": { + "start": { + "line": 26, + "column": 3 + }, + "end": { + "line": 26, + "column": 37 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 638, + "end": 653, + "loc": { + "start": { + "line": 26, + "column": 3 + }, + "end": { + "line": 26, + "column": 18 + }, + "identifierName": "currentListType" + }, + "name": "currentListType" + }, + "value": { + "type": "MemberExpression", + "start": 655, + "end": 672, + "loc": { + "start": { + "line": 26, + "column": 20 + }, + "end": { + "line": 26, + "column": 37 + } + }, + "object": { + "type": "Identifier", + "start": 655, + "end": 660, + "loc": { + "start": { + "line": 26, + "column": 20 + }, + "end": { + "line": 26, + "column": 25 + }, + "identifierName": "props" + }, + "name": "props" + }, + "property": { + "type": "Identifier", + "start": 661, + "end": 672, + "loc": { + "start": { + "line": 26, + "column": 26 + }, + "end": { + "line": 26, + "column": 37 + }, + "identifierName": "defaultList" + }, + "name": "defaultList" + }, + "computed": false + } + }, + { + "type": "ObjectProperty", + "start": 677, + "end": 697, + "loc": { + "start": { + "line": 27, + "column": 3 + }, + "end": { + "line": 27, + "column": 23 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 677, + "end": 683, + "loc": { + "start": { + "line": 27, + "column": 3 + }, + "end": { + "line": 27, + "column": 9 + }, + "identifierName": "isOpen" + }, + "name": "isOpen" + }, + "value": { + "type": "MemberExpression", + "start": 685, + "end": 697, + "loc": { + "start": { + "line": 27, + "column": 11 + }, + "end": { + "line": 27, + "column": 23 + } + }, + "object": { + "type": "Identifier", + "start": 685, + "end": 690, + "loc": { + "start": { + "line": 27, + "column": 11 + }, + "end": { + "line": 27, + "column": 16 + }, + "identifierName": "props" + }, + "name": "props" + }, + "property": { + "type": "Identifier", + "start": 691, + "end": 697, + "loc": { + "start": { + "line": 27, + "column": 17 + }, + "end": { + "line": 27, + "column": 23 + }, + "identifierName": "isOpen" + }, + "name": "isOpen" + }, + "computed": false + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 705, + "end": 746, + "loc": { + "start": { + "line": 29, + "column": 2 + }, + "end": { + "line": 29, + "column": 43 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 705, + "end": 745, + "loc": { + "start": { + "line": 29, + "column": 2 + }, + "end": { + "line": 29, + "column": 42 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 705, + "end": 718, + "loc": { + "start": { + "line": 29, + "column": 2 + }, + "end": { + "line": 29, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 705, + "end": 709, + "loc": { + "start": { + "line": 29, + "column": 2 + }, + "end": { + "line": 29, + "column": 6 + } + } + }, + "property": { + "type": "Identifier", + "start": 710, + "end": 718, + "loc": { + "start": { + "line": 29, + "column": 7 + }, + "end": { + "line": 29, + "column": 15 + }, + "identifierName": "onChange" + }, + "name": "onChange" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 721, + "end": 745, + "loc": { + "start": { + "line": 29, + "column": 18 + }, + "end": { + "line": 29, + "column": 42 + } + }, + "callee": { + "type": "MemberExpression", + "start": 721, + "end": 739, + "loc": { + "start": { + "line": 29, + "column": 18 + }, + "end": { + "line": 29, + "column": 36 + } + }, + "object": { + "type": "MemberExpression", + "start": 721, + "end": 734, + "loc": { + "start": { + "line": 29, + "column": 18 + }, + "end": { + "line": 29, + "column": 31 + } + }, + "object": { + "type": "ThisExpression", + "start": 721, + "end": 725, + "loc": { + "start": { + "line": 29, + "column": 18 + }, + "end": { + "line": 29, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "start": 726, + "end": 734, + "loc": { + "start": { + "line": 29, + "column": 23 + }, + "end": { + "line": 29, + "column": 31 + }, + "identifierName": "onChange" + }, + "name": "onChange" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 735, + "end": 739, + "loc": { + "start": { + "line": 29, + "column": 32 + }, + "end": { + "line": 29, + "column": 36 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 740, + "end": 744, + "loc": { + "start": { + "line": 29, + "column": 37 + }, + "end": { + "line": 29, + "column": 41 + } + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 749, + "end": 784, + "loc": { + "start": { + "line": 30, + "column": 2 + }, + "end": { + "line": 30, + "column": 37 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 749, + "end": 783, + "loc": { + "start": { + "line": 30, + "column": 2 + }, + "end": { + "line": 30, + "column": 36 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 749, + "end": 759, + "loc": { + "start": { + "line": 30, + "column": 2 + }, + "end": { + "line": 30, + "column": 12 + } + }, + "object": { + "type": "ThisExpression", + "start": 749, + "end": 753, + "loc": { + "start": { + "line": 30, + "column": 2 + }, + "end": { + "line": 30, + "column": 6 + } + } + }, + "property": { + "type": "Identifier", + "start": 754, + "end": 759, + "loc": { + "start": { + "line": 30, + "column": 7 + }, + "end": { + "line": 30, + "column": 12 + }, + "identifierName": "items" + }, + "name": "items" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 762, + "end": 783, + "loc": { + "start": { + "line": 30, + "column": 15 + }, + "end": { + "line": 30, + "column": 36 + } + }, + "callee": { + "type": "MemberExpression", + "start": 762, + "end": 777, + "loc": { + "start": { + "line": 30, + "column": 15 + }, + "end": { + "line": 30, + "column": 30 + } + }, + "object": { + "type": "MemberExpression", + "start": 762, + "end": 772, + "loc": { + "start": { + "line": 30, + "column": 15 + }, + "end": { + "line": 30, + "column": 25 + } + }, + "object": { + "type": "ThisExpression", + "start": 762, + "end": 766, + "loc": { + "start": { + "line": 30, + "column": 15 + }, + "end": { + "line": 30, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "start": 767, + "end": 772, + "loc": { + "start": { + "line": 30, + "column": 20 + }, + "end": { + "line": 30, + "column": 25 + }, + "identifierName": "items" + }, + "name": "items" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 773, + "end": 777, + "loc": { + "start": { + "line": 30, + "column": 26 + }, + "end": { + "line": 30, + "column": 30 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 778, + "end": 782, + "loc": { + "start": { + "line": 30, + "column": 31 + }, + "end": { + "line": 30, + "column": 35 + } + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 787, + "end": 828, + "loc": { + "start": { + "line": 31, + "column": 2 + }, + "end": { + "line": 31, + "column": 43 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 787, + "end": 827, + "loc": { + "start": { + "line": 31, + "column": 2 + }, + "end": { + "line": 31, + "column": 42 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 787, + "end": 800, + "loc": { + "start": { + "line": 31, + "column": 2 + }, + "end": { + "line": 31, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 787, + "end": 791, + "loc": { + "start": { + "line": 31, + "column": 2 + }, + "end": { + "line": 31, + "column": 6 + } + } + }, + "property": { + "type": "Identifier", + "start": 792, + "end": 800, + "loc": { + "start": { + "line": 31, + "column": 7 + }, + "end": { + "line": 31, + "column": 15 + }, + "identifierName": "onChange" + }, + "name": "onChange" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 803, + "end": 827, + "loc": { + "start": { + "line": 31, + "column": 18 + }, + "end": { + "line": 31, + "column": 42 + } + }, + "callee": { + "type": "MemberExpression", + "start": 803, + "end": 821, + "loc": { + "start": { + "line": 31, + "column": 18 + }, + "end": { + "line": 31, + "column": 36 + } + }, + "object": { + "type": "MemberExpression", + "start": 803, + "end": 816, + "loc": { + "start": { + "line": 31, + "column": 18 + }, + "end": { + "line": 31, + "column": 31 + } + }, + "object": { + "type": "ThisExpression", + "start": 803, + "end": 807, + "loc": { + "start": { + "line": 31, + "column": 18 + }, + "end": { + "line": 31, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "start": 808, + "end": 816, + "loc": { + "start": { + "line": 31, + "column": 23 + }, + "end": { + "line": 31, + "column": 31 + }, + "identifierName": "onChange" + }, + "name": "onChange" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 817, + "end": 821, + "loc": { + "start": { + "line": 31, + "column": 32 + }, + "end": { + "line": 31, + "column": 36 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 822, + "end": 826, + "loc": { + "start": { + "line": 31, + "column": 37 + }, + "end": { + "line": 31, + "column": 41 + } + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 831, + "end": 872, + "loc": { + "start": { + "line": 32, + "column": 2 + }, + "end": { + "line": 32, + "column": 43 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 831, + "end": 871, + "loc": { + "start": { + "line": 32, + "column": 2 + }, + "end": { + "line": 32, + "column": 42 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 831, + "end": 844, + "loc": { + "start": { + "line": 32, + "column": 2 + }, + "end": { + "line": 32, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 831, + "end": 835, + "loc": { + "start": { + "line": 32, + "column": 2 + }, + "end": { + "line": 32, + "column": 6 + } + } + }, + "property": { + "type": "Identifier", + "start": 836, + "end": 844, + "loc": { + "start": { + "line": 32, + "column": 7 + }, + "end": { + "line": 32, + "column": 15 + }, + "identifierName": "onSelect" + }, + "name": "onSelect" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 847, + "end": 871, + "loc": { + "start": { + "line": 32, + "column": 18 + }, + "end": { + "line": 32, + "column": 42 + } + }, + "callee": { + "type": "MemberExpression", + "start": 847, + "end": 865, + "loc": { + "start": { + "line": 32, + "column": 18 + }, + "end": { + "line": 32, + "column": 36 + } + }, + "object": { + "type": "MemberExpression", + "start": 847, + "end": 860, + "loc": { + "start": { + "line": 32, + "column": 18 + }, + "end": { + "line": 32, + "column": 31 + } + }, + "object": { + "type": "ThisExpression", + "start": 847, + "end": 851, + "loc": { + "start": { + "line": 32, + "column": 18 + }, + "end": { + "line": 32, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "start": 852, + "end": 860, + "loc": { + "start": { + "line": 32, + "column": 23 + }, + "end": { + "line": 32, + "column": 31 + }, + "identifierName": "onSelect" + }, + "name": "onSelect" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 861, + "end": 865, + "loc": { + "start": { + "line": 32, + "column": 32 + }, + "end": { + "line": 32, + "column": 36 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 866, + "end": 870, + "loc": { + "start": { + "line": 32, + "column": 37 + }, + "end": { + "line": 32, + "column": 41 + } + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 875, + "end": 924, + "loc": { + "start": { + "line": 33, + "column": 2 + }, + "end": { + "line": 33, + "column": 51 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 875, + "end": 923, + "loc": { + "start": { + "line": 33, + "column": 2 + }, + "end": { + "line": 33, + "column": 50 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 875, + "end": 892, + "loc": { + "start": { + "line": 33, + "column": 2 + }, + "end": { + "line": 33, + "column": 19 + } + }, + "object": { + "type": "ThisExpression", + "start": 875, + "end": 879, + "loc": { + "start": { + "line": 33, + "column": 2 + }, + "end": { + "line": 33, + "column": 6 + } + } + }, + "property": { + "type": "Identifier", + "start": 880, + "end": 892, + "loc": { + "start": { + "line": 33, + "column": 7 + }, + "end": { + "line": 33, + "column": 19 + }, + "identifierName": "onInputFocus" + }, + "name": "onInputFocus" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 895, + "end": 923, + "loc": { + "start": { + "line": 33, + "column": 22 + }, + "end": { + "line": 33, + "column": 50 + } + }, + "callee": { + "type": "MemberExpression", + "start": 895, + "end": 917, + "loc": { + "start": { + "line": 33, + "column": 22 + }, + "end": { + "line": 33, + "column": 44 + } + }, + "object": { + "type": "MemberExpression", + "start": 895, + "end": 912, + "loc": { + "start": { + "line": 33, + "column": 22 + }, + "end": { + "line": 33, + "column": 39 + } + }, + "object": { + "type": "ThisExpression", + "start": 895, + "end": 899, + "loc": { + "start": { + "line": 33, + "column": 22 + }, + "end": { + "line": 33, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "start": 900, + "end": 912, + "loc": { + "start": { + "line": 33, + "column": 27 + }, + "end": { + "line": 33, + "column": 39 + }, + "identifierName": "onInputFocus" + }, + "name": "onInputFocus" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 913, + "end": 917, + "loc": { + "start": { + "line": 33, + "column": 40 + }, + "end": { + "line": 33, + "column": 44 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 918, + "end": 922, + "loc": { + "start": { + "line": 33, + "column": 45 + }, + "end": { + "line": 33, + "column": 49 + } + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 927, + "end": 972, + "loc": { + "start": { + "line": 34, + "column": 2 + }, + "end": { + "line": 34, + "column": 47 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 927, + "end": 971, + "loc": { + "start": { + "line": 34, + "column": 2 + }, + "end": { + "line": 34, + "column": 46 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 927, + "end": 942, + "loc": { + "start": { + "line": 34, + "column": 2 + }, + "end": { + "line": 34, + "column": 17 + } + }, + "object": { + "type": "ThisExpression", + "start": 927, + "end": 931, + "loc": { + "start": { + "line": 34, + "column": 2 + }, + "end": { + "line": 34, + "column": 6 + } + } + }, + "property": { + "type": "Identifier", + "start": 932, + "end": 942, + "loc": { + "start": { + "line": 34, + "column": 7 + }, + "end": { + "line": 34, + "column": 17 + }, + "identifierName": "renderItem" + }, + "name": "renderItem" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 945, + "end": 971, + "loc": { + "start": { + "line": 34, + "column": 20 + }, + "end": { + "line": 34, + "column": 46 + } + }, + "callee": { + "type": "MemberExpression", + "start": 945, + "end": 965, + "loc": { + "start": { + "line": 34, + "column": 20 + }, + "end": { + "line": 34, + "column": 40 + } + }, + "object": { + "type": "MemberExpression", + "start": 945, + "end": 960, + "loc": { + "start": { + "line": 34, + "column": 20 + }, + "end": { + "line": 34, + "column": 35 + } + }, + "object": { + "type": "ThisExpression", + "start": 945, + "end": 949, + "loc": { + "start": { + "line": 34, + "column": 20 + }, + "end": { + "line": 34, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "start": 950, + "end": 960, + "loc": { + "start": { + "line": 34, + "column": 25 + }, + "end": { + "line": 34, + "column": 35 + }, + "identifierName": "renderItem" + }, + "name": "renderItem" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 961, + "end": 965, + "loc": { + "start": { + "line": 34, + "column": 36 + }, + "end": { + "line": 34, + "column": 40 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 966, + "end": 970, + "loc": { + "start": { + "line": 34, + "column": 41 + }, + "end": { + "line": 34, + "column": 45 + } + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 975, + "end": 1022, + "loc": { + "start": { + "line": 35, + "column": 2 + }, + "end": { + "line": 35, + "column": 49 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 975, + "end": 1021, + "loc": { + "start": { + "line": 35, + "column": 2 + }, + "end": { + "line": 35, + "column": 48 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 975, + "end": 991, + "loc": { + "start": { + "line": 35, + "column": 2 + }, + "end": { + "line": 35, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 975, + "end": 979, + "loc": { + "start": { + "line": 35, + "column": 2 + }, + "end": { + "line": 35, + "column": 6 + } + } + }, + "property": { + "type": "Identifier", + "start": 980, + "end": 991, + "loc": { + "start": { + "line": 35, + "column": 7 + }, + "end": { + "line": 35, + "column": 18 + }, + "identifierName": "onInputBlur" + }, + "name": "onInputBlur" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 994, + "end": 1021, + "loc": { + "start": { + "line": 35, + "column": 21 + }, + "end": { + "line": 35, + "column": 48 + } + }, + "callee": { + "type": "MemberExpression", + "start": 994, + "end": 1015, + "loc": { + "start": { + "line": 35, + "column": 21 + }, + "end": { + "line": 35, + "column": 42 + } + }, + "object": { + "type": "MemberExpression", + "start": 994, + "end": 1010, + "loc": { + "start": { + "line": 35, + "column": 21 + }, + "end": { + "line": 35, + "column": 37 + } + }, + "object": { + "type": "ThisExpression", + "start": 994, + "end": 998, + "loc": { + "start": { + "line": 35, + "column": 21 + }, + "end": { + "line": 35, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "start": 999, + "end": 1010, + "loc": { + "start": { + "line": 35, + "column": 26 + }, + "end": { + "line": 35, + "column": 37 + }, + "identifierName": "onInputBlur" + }, + "name": "onInputBlur" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1011, + "end": 1015, + "loc": { + "start": { + "line": 35, + "column": 38 + }, + "end": { + "line": 35, + "column": 42 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 1016, + "end": 1020, + "loc": { + "start": { + "line": 35, + "column": 43 + }, + "end": { + "line": 35, + "column": 47 + } + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 1025, + "end": 1082, + "loc": { + "start": { + "line": 36, + "column": 2 + }, + "end": { + "line": 36, + "column": 59 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1025, + "end": 1081, + "loc": { + "start": { + "line": 36, + "column": 2 + }, + "end": { + "line": 36, + "column": 58 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1025, + "end": 1046, + "loc": { + "start": { + "line": 36, + "column": 2 + }, + "end": { + "line": 36, + "column": 23 + } + }, + "object": { + "type": "ThisExpression", + "start": 1025, + "end": 1029, + "loc": { + "start": { + "line": 36, + "column": 2 + }, + "end": { + "line": 36, + "column": 6 + } + } + }, + "property": { + "type": "Identifier", + "start": 1030, + "end": 1046, + "loc": { + "start": { + "line": 36, + "column": 7 + }, + "end": { + "line": 36, + "column": 23 + }, + "identifierName": "onChangeListType" + }, + "name": "onChangeListType" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 1049, + "end": 1081, + "loc": { + "start": { + "line": 36, + "column": 26 + }, + "end": { + "line": 36, + "column": 58 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1049, + "end": 1075, + "loc": { + "start": { + "line": 36, + "column": 26 + }, + "end": { + "line": 36, + "column": 52 + } + }, + "object": { + "type": "MemberExpression", + "start": 1049, + "end": 1070, + "loc": { + "start": { + "line": 36, + "column": 26 + }, + "end": { + "line": 36, + "column": 47 + } + }, + "object": { + "type": "ThisExpression", + "start": 1049, + "end": 1053, + "loc": { + "start": { + "line": 36, + "column": 26 + }, + "end": { + "line": 36, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "start": 1054, + "end": 1070, + "loc": { + "start": { + "line": 36, + "column": 31 + }, + "end": { + "line": 36, + "column": 47 + }, + "identifierName": "onChangeListType" + }, + "name": "onChangeListType" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1071, + "end": 1075, + "loc": { + "start": { + "line": 36, + "column": 48 + }, + "end": { + "line": 36, + "column": 52 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 1076, + "end": 1080, + "loc": { + "start": { + "line": 36, + "column": 53 + }, + "end": { + "line": 36, + "column": 57 + } + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 1085, + "end": 1140, + "loc": { + "start": { + "line": 37, + "column": 2 + }, + "end": { + "line": 37, + "column": 57 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1085, + "end": 1139, + "loc": { + "start": { + "line": 37, + "column": 2 + }, + "end": { + "line": 37, + "column": 56 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1085, + "end": 1105, + "loc": { + "start": { + "line": 37, + "column": 2 + }, + "end": { + "line": 37, + "column": 22 + } + }, + "object": { + "type": "ThisExpression", + "start": 1085, + "end": 1089, + "loc": { + "start": { + "line": 37, + "column": 2 + }, + "end": { + "line": 37, + "column": 6 + } + } + }, + "property": { + "type": "Identifier", + "start": 1090, + "end": 1105, + "loc": { + "start": { + "line": 37, + "column": 7 + }, + "end": { + "line": 37, + "column": 22 + }, + "identifierName": "listTypeOptions" + }, + "name": "listTypeOptions" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 1108, + "end": 1139, + "loc": { + "start": { + "line": 37, + "column": 25 + }, + "end": { + "line": 37, + "column": 56 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1108, + "end": 1133, + "loc": { + "start": { + "line": 37, + "column": 25 + }, + "end": { + "line": 37, + "column": 50 + } + }, + "object": { + "type": "MemberExpression", + "start": 1108, + "end": 1128, + "loc": { + "start": { + "line": 37, + "column": 25 + }, + "end": { + "line": 37, + "column": 45 + } + }, + "object": { + "type": "ThisExpression", + "start": 1108, + "end": 1112, + "loc": { + "start": { + "line": 37, + "column": 25 + }, + "end": { + "line": 37, + "column": 29 + } + } + }, + "property": { + "type": "Identifier", + "start": 1113, + "end": 1128, + "loc": { + "start": { + "line": 37, + "column": 30 + }, + "end": { + "line": 37, + "column": 45 + }, + "identifierName": "listTypeOptions" + }, + "name": "listTypeOptions" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1129, + "end": 1133, + "loc": { + "start": { + "line": 37, + "column": 46 + }, + "end": { + "line": 37, + "column": 50 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 1134, + "end": 1138, + "loc": { + "start": { + "line": 37, + "column": 51 + }, + "end": { + "line": 37, + "column": 55 + } + } + } + ] + } + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n\t * Create a MagicFieldGroup component\n\t *\n\t * @param {Object} props\n\t ", + "start": 502, + "end": 579, + "loc": { + "start": { + "line": 18, + "column": 1 + }, + "end": { + "line": 22, + "column": 4 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n\t * Handle direct change events\n\t * @param {String|number} newValue\n\t ", + "start": 1146, + "end": 1222, + "loc": { + "start": { + "line": 40, + "column": 1 + }, + "end": { + "line": 43, + "column": 4 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1224, + "end": 1285, + "loc": { + "start": { + "line": 44, + "column": 1 + }, + "end": { + "line": 46, + "column": 2 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1224, + "end": 1232, + "loc": { + "start": { + "line": 44, + "column": 1 + }, + "end": { + "line": 44, + "column": 9 + }, + "identifierName": "onChange" + }, + "name": "onChange", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1233, + "end": 1241, + "loc": { + "start": { + "line": 44, + "column": 10 + }, + "end": { + "line": 44, + "column": 18 + }, + "identifierName": "newValue" + }, + "name": "newValue" + } + ], + "body": { + "type": "BlockStatement", + "start": 1243, + "end": 1285, + "loc": { + "start": { + "line": 44, + "column": 20 + }, + "end": { + "line": 46, + "column": 2 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1247, + "end": 1282, + "loc": { + "start": { + "line": 45, + "column": 2 + }, + "end": { + "line": 45, + "column": 37 + } + }, + "expression": { + "type": "CallExpression", + "start": 1247, + "end": 1281, + "loc": { + "start": { + "line": 45, + "column": 2 + }, + "end": { + "line": 45, + "column": 36 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1247, + "end": 1271, + "loc": { + "start": { + "line": 45, + "column": 2 + }, + "end": { + "line": 45, + "column": 26 + } + }, + "object": { + "type": "MemberExpression", + "start": 1247, + "end": 1257, + "loc": { + "start": { + "line": 45, + "column": 2 + }, + "end": { + "line": 45, + "column": 12 + } + }, + "object": { + "type": "ThisExpression", + "start": 1247, + "end": 1251, + "loc": { + "start": { + "line": 45, + "column": 2 + }, + "end": { + "line": 45, + "column": 6 + } + } + }, + "property": { + "type": "Identifier", + "start": 1252, + "end": 1257, + "loc": { + "start": { + "line": 45, + "column": 7 + }, + "end": { + "line": 45, + "column": 12 + }, + "identifierName": "props" + }, + "name": "props" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1258, + "end": 1271, + "loc": { + "start": { + "line": 45, + "column": 13 + }, + "end": { + "line": 45, + "column": 26 + }, + "identifierName": "onValueChange" + }, + "name": "onValueChange" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 1272, + "end": 1280, + "loc": { + "start": { + "line": 45, + "column": 27 + }, + "end": { + "line": 45, + "column": 35 + }, + "identifierName": "newValue" + }, + "name": "newValue" + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n\t * Handle direct change events\n\t * @param {String|number} newValue\n\t ", + "start": 1146, + "end": 1222, + "loc": { + "start": { + "line": 40, + "column": 1 + }, + "end": { + "line": 43, + "column": 4 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n\t * Handle when the field gets focus\n\t ", + "start": 1288, + "end": 1333, + "loc": { + "start": { + "line": 48, + "column": 1 + }, + "end": { + "line": 50, + "column": 4 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1335, + "end": 1387, + "loc": { + "start": { + "line": 51, + "column": 1 + }, + "end": { + "line": 53, + "column": 2 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1335, + "end": 1347, + "loc": { + "start": { + "line": 51, + "column": 1 + }, + "end": { + "line": 51, + "column": 13 + }, + "identifierName": "onInputFocus" + }, + "name": "onInputFocus", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1350, + "end": 1387, + "loc": { + "start": { + "line": 51, + "column": 16 + }, + "end": { + "line": 53, + "column": 2 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1354, + "end": 1384, + "loc": { + "start": { + "line": 52, + "column": 2 + }, + "end": { + "line": 52, + "column": 32 + } + }, + "expression": { + "type": "CallExpression", + "start": 1354, + "end": 1383, + "loc": { + "start": { + "line": 52, + "column": 2 + }, + "end": { + "line": 52, + "column": 31 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1354, + "end": 1367, + "loc": { + "start": { + "line": 52, + "column": 2 + }, + "end": { + "line": 52, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 1354, + "end": 1358, + "loc": { + "start": { + "line": 52, + "column": 2 + }, + "end": { + "line": 52, + "column": 6 + } + } + }, + "property": { + "type": "Identifier", + "start": 1359, + "end": 1367, + "loc": { + "start": { + "line": 52, + "column": 7 + }, + "end": { + "line": 52, + "column": 15 + }, + "identifierName": "setState" + }, + "name": "setState" + }, + "computed": false + }, + "arguments": [ + { + "type": "ObjectExpression", + "start": 1368, + "end": 1382, + "loc": { + "start": { + "line": 52, + "column": 16 + }, + "end": { + "line": 52, + "column": 30 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 1369, + "end": 1381, + "loc": { + "start": { + "line": 52, + "column": 17 + }, + "end": { + "line": 52, + "column": 29 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1369, + "end": 1375, + "loc": { + "start": { + "line": 52, + "column": 17 + }, + "end": { + "line": 52, + "column": 23 + }, + "identifierName": "isOpen" + }, + "name": "isOpen" + }, + "value": { + "type": "BooleanLiteral", + "start": 1377, + "end": 1381, + "loc": { + "start": { + "line": 52, + "column": 25 + }, + "end": { + "line": 52, + "column": 29 + } + }, + "value": true + } + } + ] + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n\t * Handle when the field gets focus\n\t ", + "start": 1288, + "end": 1333, + "loc": { + "start": { + "line": 48, + "column": 1 + }, + "end": { + "line": 50, + "column": 4 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n\t * Handle when the field is blurred\n\t ", + "start": 1390, + "end": 1435, + "loc": { + "start": { + "line": 55, + "column": 1 + }, + "end": { + "line": 57, + "column": 4 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1437, + "end": 1489, + "loc": { + "start": { + "line": 58, + "column": 1 + }, + "end": { + "line": 60, + "column": 2 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1437, + "end": 1448, + "loc": { + "start": { + "line": 58, + "column": 1 + }, + "end": { + "line": 58, + "column": 12 + }, + "identifierName": "onInputBlur" + }, + "name": "onInputBlur", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1451, + "end": 1489, + "loc": { + "start": { + "line": 58, + "column": 15 + }, + "end": { + "line": 60, + "column": 2 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1455, + "end": 1486, + "loc": { + "start": { + "line": 59, + "column": 2 + }, + "end": { + "line": 59, + "column": 33 + } + }, + "expression": { + "type": "CallExpression", + "start": 1455, + "end": 1485, + "loc": { + "start": { + "line": 59, + "column": 2 + }, + "end": { + "line": 59, + "column": 32 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1455, + "end": 1468, + "loc": { + "start": { + "line": 59, + "column": 2 + }, + "end": { + "line": 59, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 1455, + "end": 1459, + "loc": { + "start": { + "line": 59, + "column": 2 + }, + "end": { + "line": 59, + "column": 6 + } + } + }, + "property": { + "type": "Identifier", + "start": 1460, + "end": 1468, + "loc": { + "start": { + "line": 59, + "column": 7 + }, + "end": { + "line": 59, + "column": 15 + }, + "identifierName": "setState" + }, + "name": "setState" + }, + "computed": false + }, + "arguments": [ + { + "type": "ObjectExpression", + "start": 1469, + "end": 1484, + "loc": { + "start": { + "line": 59, + "column": 16 + }, + "end": { + "line": 59, + "column": 31 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 1470, + "end": 1483, + "loc": { + "start": { + "line": 59, + "column": 17 + }, + "end": { + "line": 59, + "column": 30 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1470, + "end": 1476, + "loc": { + "start": { + "line": 59, + "column": 17 + }, + "end": { + "line": 59, + "column": 23 + }, + "identifierName": "isOpen" + }, + "name": "isOpen" + }, + "value": { + "type": "BooleanLiteral", + "start": 1478, + "end": 1483, + "loc": { + "start": { + "line": 59, + "column": 25 + }, + "end": { + "line": 59, + "column": 30 + } + }, + "value": false + } + } + ] + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n\t * Handle when the field is blurred\n\t ", + "start": 1390, + "end": 1435, + "loc": { + "start": { + "line": 55, + "column": 1 + }, + "end": { + "line": 57, + "column": 4 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n\t * Handle when the option is chosen\n\t * @param {String|number} value\n\t ", + "start": 1493, + "end": 1571, + "loc": { + "start": { + "line": 63, + "column": 1 + }, + "end": { + "line": 66, + "column": 4 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1573, + "end": 1628, + "loc": { + "start": { + "line": 67, + "column": 1 + }, + "end": { + "line": 69, + "column": 2 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1573, + "end": 1581, + "loc": { + "start": { + "line": 67, + "column": 1 + }, + "end": { + "line": 67, + "column": 9 + }, + "identifierName": "onSelect" + }, + "name": "onSelect", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1582, + "end": 1587, + "loc": { + "start": { + "line": 67, + "column": 10 + }, + "end": { + "line": 67, + "column": 15 + }, + "identifierName": "value" + }, + "name": "value" + } + ], + "body": { + "type": "BlockStatement", + "start": 1589, + "end": 1628, + "loc": { + "start": { + "line": 67, + "column": 17 + }, + "end": { + "line": 69, + "column": 2 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1593, + "end": 1625, + "loc": { + "start": { + "line": 68, + "column": 2 + }, + "end": { + "line": 68, + "column": 34 + } + }, + "expression": { + "type": "CallExpression", + "start": 1593, + "end": 1624, + "loc": { + "start": { + "line": 68, + "column": 2 + }, + "end": { + "line": 68, + "column": 33 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1593, + "end": 1617, + "loc": { + "start": { + "line": 68, + "column": 2 + }, + "end": { + "line": 68, + "column": 26 + } + }, + "object": { + "type": "MemberExpression", + "start": 1593, + "end": 1603, + "loc": { + "start": { + "line": 68, + "column": 2 + }, + "end": { + "line": 68, + "column": 12 + } + }, + "object": { + "type": "ThisExpression", + "start": 1593, + "end": 1597, + "loc": { + "start": { + "line": 68, + "column": 2 + }, + "end": { + "line": 68, + "column": 6 + } + } + }, + "property": { + "type": "Identifier", + "start": 1598, + "end": 1603, + "loc": { + "start": { + "line": 68, + "column": 7 + }, + "end": { + "line": 68, + "column": 12 + }, + "identifierName": "props" + }, + "name": "props" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1604, + "end": 1617, + "loc": { + "start": { + "line": 68, + "column": 13 + }, + "end": { + "line": 68, + "column": 26 + }, + "identifierName": "onValueChange" + }, + "name": "onValueChange" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 1618, + "end": 1623, + "loc": { + "start": { + "line": 68, + "column": 27 + }, + "end": { + "line": 68, + "column": 32 + }, + "identifierName": "value" + }, + "name": "value" + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n\t * Handle when the option is chosen\n\t * @param {String|number} value\n\t ", + "start": 1493, + "end": 1571, + "loc": { + "start": { + "line": 63, + "column": 1 + }, + "end": { + "line": 66, + "column": 4 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n\t * Update list of tags to show\n\t * @param {String}newType\n\t ", + "start": 1631, + "end": 1698, + "loc": { + "start": { + "line": 71, + "column": 1 + }, + "end": { + "line": 74, + "column": 4 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1700, + "end": 1839, + "loc": { + "start": { + "line": 75, + "column": 1 + }, + "end": { + "line": 80, + "column": 2 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1700, + "end": 1716, + "loc": { + "start": { + "line": 75, + "column": 1 + }, + "end": { + "line": 75, + "column": 17 + }, + "identifierName": "onChangeListType" + }, + "name": "onChangeListType", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1717, + "end": 1724, + "loc": { + "start": { + "line": 75, + "column": 18 + }, + "end": { + "line": 75, + "column": 25 + }, + "identifierName": "newType" + }, + "name": "newType" + } + ], + "body": { + "type": "BlockStatement", + "start": 1725, + "end": 1839, + "loc": { + "start": { + "line": 75, + "column": 26 + }, + "end": { + "line": 80, + "column": 2 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 1729, + "end": 1792, + "loc": { + "start": { + "line": 76, + "column": 2 + }, + "end": { + "line": 78, + "column": 3 + } + }, + "test": { + "type": "UnaryExpression", + "start": 1733, + "end": 1752, + "loc": { + "start": { + "line": 76, + "column": 6 + }, + "end": { + "line": 76, + "column": 25 + } + }, + "operator": "!", + "prefix": true, + "argument": { + "type": "MemberExpression", + "start": 1735, + "end": 1752, + "loc": { + "start": { + "line": 76, + "column": 8 + }, + "end": { + "line": 76, + "column": 25 + } + }, + "object": { + "type": "MemberExpression", + "start": 1735, + "end": 1745, + "loc": { + "start": { + "line": 76, + "column": 8 + }, + "end": { + "line": 76, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 1735, + "end": 1739, + "loc": { + "start": { + "line": 76, + "column": 8 + }, + "end": { + "line": 76, + "column": 12 + } + } + }, + "property": { + "type": "Identifier", + "start": 1740, + "end": 1745, + "loc": { + "start": { + "line": 76, + "column": 13 + }, + "end": { + "line": 76, + "column": 18 + }, + "identifierName": "state" + }, + "name": "state" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1746, + "end": 1752, + "loc": { + "start": { + "line": 76, + "column": 19 + }, + "end": { + "line": 76, + "column": 25 + }, + "identifierName": "isOpen" + }, + "name": "isOpen" + }, + "computed": false + }, + "extra": { + "parenthesizedArgument": false + } + }, + "consequent": { + "type": "BlockStatement", + "start": 1754, + "end": 1792, + "loc": { + "start": { + "line": 76, + "column": 27 + }, + "end": { + "line": 78, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1759, + "end": 1788, + "loc": { + "start": { + "line": 77, + "column": 3 + }, + "end": { + "line": 77, + "column": 32 + } + }, + "expression": { + "type": "CallExpression", + "start": 1759, + "end": 1787, + "loc": { + "start": { + "line": 77, + "column": 3 + }, + "end": { + "line": 77, + "column": 31 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1759, + "end": 1772, + "loc": { + "start": { + "line": 77, + "column": 3 + }, + "end": { + "line": 77, + "column": 16 + } + }, + "object": { + "type": "ThisExpression", + "start": 1759, + "end": 1763, + "loc": { + "start": { + "line": 77, + "column": 3 + }, + "end": { + "line": 77, + "column": 7 + } + } + }, + "property": { + "type": "Identifier", + "start": 1764, + "end": 1772, + "loc": { + "start": { + "line": 77, + "column": 8 + }, + "end": { + "line": 77, + "column": 16 + }, + "identifierName": "setState" + }, + "name": "setState" + }, + "computed": false + }, + "arguments": [ + { + "type": "ObjectExpression", + "start": 1773, + "end": 1786, + "loc": { + "start": { + "line": 77, + "column": 17 + }, + "end": { + "line": 77, + "column": 30 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 1774, + "end": 1785, + "loc": { + "start": { + "line": 77, + "column": 18 + }, + "end": { + "line": 77, + "column": 29 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1774, + "end": 1780, + "loc": { + "start": { + "line": 77, + "column": 18 + }, + "end": { + "line": 77, + "column": 24 + }, + "identifierName": "isOpen" + }, + "name": "isOpen" + }, + "value": { + "type": "BooleanLiteral", + "start": 1781, + "end": 1785, + "loc": { + "start": { + "line": 77, + "column": 25 + }, + "end": { + "line": 77, + "column": 29 + } + }, + "value": true + } + } + ] + } + ] + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "ExpressionStatement", + "start": 1795, + "end": 1836, + "loc": { + "start": { + "line": 79, + "column": 2 + }, + "end": { + "line": 79, + "column": 43 + } + }, + "expression": { + "type": "CallExpression", + "start": 1795, + "end": 1835, + "loc": { + "start": { + "line": 79, + "column": 2 + }, + "end": { + "line": 79, + "column": 42 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1795, + "end": 1808, + "loc": { + "start": { + "line": 79, + "column": 2 + }, + "end": { + "line": 79, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 1795, + "end": 1799, + "loc": { + "start": { + "line": 79, + "column": 2 + }, + "end": { + "line": 79, + "column": 6 + } + } + }, + "property": { + "type": "Identifier", + "start": 1800, + "end": 1808, + "loc": { + "start": { + "line": 79, + "column": 7 + }, + "end": { + "line": 79, + "column": 15 + }, + "identifierName": "setState" + }, + "name": "setState" + }, + "computed": false + }, + "arguments": [ + { + "type": "ObjectExpression", + "start": 1809, + "end": 1834, + "loc": { + "start": { + "line": 79, + "column": 16 + }, + "end": { + "line": 79, + "column": 41 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 1810, + "end": 1833, + "loc": { + "start": { + "line": 79, + "column": 17 + }, + "end": { + "line": 79, + "column": 40 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1810, + "end": 1825, + "loc": { + "start": { + "line": 79, + "column": 17 + }, + "end": { + "line": 79, + "column": 32 + }, + "identifierName": "currentListType" + }, + "name": "currentListType" + }, + "value": { + "type": "Identifier", + "start": 1826, + "end": 1833, + "loc": { + "start": { + "line": 79, + "column": 33 + }, + "end": { + "line": 79, + "column": 40 + }, + "identifierName": "newType" + }, + "name": "newType" + } + } + ] + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n\t * Update list of tags to show\n\t * @param {String}newType\n\t ", + "start": 1631, + "end": 1698, + "loc": { + "start": { + "line": 71, + "column": 1 + }, + "end": { + "line": 74, + "column": 4 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n\t * Render option\n\t *\n\t * @param {object} item\n\t * @param {bool} isHighlighted\n\t * @return {*}\n\t ", + "start": 1842, + "end": 1945, + "loc": { + "start": { + "line": 82, + "column": 1 + }, + "end": { + "line": 88, + "column": 4 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1947, + "end": 2092, + "loc": { + "start": { + "line": 89, + "column": 1 + }, + "end": { + "line": 91, + "column": 2 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1947, + "end": 1957, + "loc": { + "start": { + "line": 89, + "column": 1 + }, + "end": { + "line": 89, + "column": 11 + }, + "identifierName": "renderItem" + }, + "name": "renderItem", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1958, + "end": 1962, + "loc": { + "start": { + "line": 89, + "column": 12 + }, + "end": { + "line": 89, + "column": 16 + }, + "identifierName": "item" + }, + "name": "item" + }, + { + "type": "Identifier", + "start": 1964, + "end": 1977, + "loc": { + "start": { + "line": 89, + "column": 18 + }, + "end": { + "line": 89, + "column": 31 + }, + "identifierName": "isHighlighted" + }, + "name": "isHighlighted" + } + ], + "body": { + "type": "BlockStatement", + "start": 1978, + "end": 2092, + "loc": { + "start": { + "line": 89, + "column": 32 + }, + "end": { + "line": 91, + "column": 2 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1982, + "end": 2089, + "loc": { + "start": { + "line": 90, + "column": 2 + }, + "end": { + "line": 90, + "column": 109 + } + }, + "argument": { + "type": "JSXElement", + "start": 1989, + "end": 2089, + "loc": { + "start": { + "line": 90, + "column": 9 + }, + "end": { + "line": 90, + "column": 109 + } + }, + "openingElement": { + "type": "JSXOpeningElement", + "start": 1989, + "end": 2089, + "loc": { + "start": { + "line": 90, + "column": 9 + }, + "end": { + "line": 90, + "column": 109 + } + }, + "attributes": [ + { + "type": "JSXAttribute", + "start": 2000, + "end": 2011, + "loc": { + "start": { + "line": 90, + "column": 20 + }, + "end": { + "line": 90, + "column": 31 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 2000, + "end": 2004, + "loc": { + "start": { + "line": 90, + "column": 20 + }, + "end": { + "line": 90, + "column": 24 + } + }, + "name": "item" + }, + "value": { + "type": "JSXExpressionContainer", + "start": 2005, + "end": 2011, + "loc": { + "start": { + "line": 90, + "column": 25 + }, + "end": { + "line": 90, + "column": 31 + } + }, + "expression": { + "type": "Identifier", + "start": 2006, + "end": 2010, + "loc": { + "start": { + "line": 90, + "column": 26 + }, + "end": { + "line": 90, + "column": 30 + }, + "identifierName": "item" + }, + "name": "item" + } + } + }, + { + "type": "JSXAttribute", + "start": 2012, + "end": 2041, + "loc": { + "start": { + "line": 90, + "column": 32 + }, + "end": { + "line": 90, + "column": 61 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 2012, + "end": 2025, + "loc": { + "start": { + "line": 90, + "column": 32 + }, + "end": { + "line": 90, + "column": 45 + } + }, + "name": "isHighlighted" + }, + "value": { + "type": "JSXExpressionContainer", + "start": 2026, + "end": 2041, + "loc": { + "start": { + "line": 90, + "column": 46 + }, + "end": { + "line": 90, + "column": 61 + } + }, + "expression": { + "type": "Identifier", + "start": 2027, + "end": 2040, + "loc": { + "start": { + "line": 90, + "column": 47 + }, + "end": { + "line": 90, + "column": 60 + }, + "identifierName": "isHighlighted" + }, + "name": "isHighlighted" + } + } + }, + { + "type": "JSXAttribute", + "start": 2042, + "end": 2066, + "loc": { + "start": { + "line": 90, + "column": 62 + }, + "end": { + "line": 90, + "column": 86 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 2042, + "end": 2050, + "loc": { + "start": { + "line": 90, + "column": 62 + }, + "end": { + "line": 90, + "column": 70 + } + }, + "name": "innerKey" + }, + "value": { + "type": "JSXExpressionContainer", + "start": 2051, + "end": 2066, + "loc": { + "start": { + "line": 90, + "column": 71 + }, + "end": { + "line": 90, + "column": 86 + } + }, + "expression": { + "type": "MemberExpression", + "start": 2052, + "end": 2065, + "loc": { + "start": { + "line": 90, + "column": 72 + }, + "end": { + "line": 90, + "column": 85 + } + }, + "object": { + "type": "Identifier", + "start": 2052, + "end": 2056, + "loc": { + "start": { + "line": 90, + "column": 72 + }, + "end": { + "line": 90, + "column": 76 + }, + "identifierName": "item" + }, + "name": "item" + }, + "property": { + "type": "Identifier", + "start": 2057, + "end": 2065, + "loc": { + "start": { + "line": 90, + "column": 77 + }, + "end": { + "line": 90, + "column": 85 + }, + "identifierName": "innerKey" + }, + "name": "innerKey" + }, + "computed": false + } + } + }, + { + "type": "JSXAttribute", + "start": 2067, + "end": 2086, + "loc": { + "start": { + "line": 90, + "column": 87 + }, + "end": { + "line": 90, + "column": 106 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 2067, + "end": 2070, + "loc": { + "start": { + "line": 90, + "column": 87 + }, + "end": { + "line": 90, + "column": 90 + } + }, + "name": "key" + }, + "value": { + "type": "JSXExpressionContainer", + "start": 2071, + "end": 2086, + "loc": { + "start": { + "line": 90, + "column": 91 + }, + "end": { + "line": 90, + "column": 106 + } + }, + "expression": { + "type": "MemberExpression", + "start": 2072, + "end": 2085, + "loc": { + "start": { + "line": 90, + "column": 92 + }, + "end": { + "line": 90, + "column": 105 + } + }, + "object": { + "type": "Identifier", + "start": 2072, + "end": 2076, + "loc": { + "start": { + "line": 90, + "column": 92 + }, + "end": { + "line": 90, + "column": 96 + }, + "identifierName": "item" + }, + "name": "item" + }, + "property": { + "type": "Identifier", + "start": 2077, + "end": 2085, + "loc": { + "start": { + "line": 90, + "column": 97 + }, + "end": { + "line": 90, + "column": 105 + }, + "identifierName": "innerKey" + }, + "name": "innerKey" + }, + "computed": false + } + } + } + ], + "name": { + "type": "JSXIdentifier", + "start": 1990, + "end": 1999, + "loc": { + "start": { + "line": 90, + "column": 10 + }, + "end": { + "line": 90, + "column": 19 + } + }, + "name": "MagicItem" + }, + "selfClosing": true + }, + "closingElement": null, + "children": [] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n\t * Render option\n\t *\n\t * @param {object} item\n\t * @param {bool} isHighlighted\n\t * @return {*}\n\t ", + "start": 1842, + "end": 1945, + "loc": { + "start": { + "line": 82, + "column": 1 + }, + "end": { + "line": 88, + "column": 4 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n\t * Create the list of items\n\t *\n\t * @return {Array}\n\t ", + "start": 2095, + "end": 2156, + "loc": { + "start": { + "line": 93, + "column": 1 + }, + "end": { + "line": 97, + "column": 4 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 2158, + "end": 2822, + "loc": { + "start": { + "line": 98, + "column": 1 + }, + "end": { + "line": 128, + "column": 2 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2158, + "end": 2163, + "loc": { + "start": { + "line": 98, + "column": 1 + }, + "end": { + "line": 98, + "column": 6 + }, + "identifierName": "items" + }, + "name": "items", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 2166, + "end": 2822, + "loc": { + "start": { + "line": 98, + "column": 9 + }, + "end": { + "line": 128, + "column": 2 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 2170, + "end": 2278, + "loc": { + "start": { + "line": 99, + "column": 2 + }, + "end": { + "line": 101, + "column": 4 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2176, + "end": 2277, + "loc": { + "start": { + "line": 99, + "column": 8 + }, + "end": { + "line": 101, + "column": 3 + } + }, + "id": { + "type": "Identifier", + "start": 2176, + "end": 2190, + "loc": { + "start": { + "line": 99, + "column": 8 + }, + "end": { + "line": 99, + "column": 22 + }, + "identifierName": "optionsOrEmpty" + }, + "name": "optionsOrEmpty" + }, + "init": { + "type": "ArrowFunctionExpression", + "start": 2192, + "end": 2277, + "loc": { + "start": { + "line": 99, + "column": 24 + }, + "end": { + "line": 101, + "column": 3 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2193, + "end": 2200, + "loc": { + "start": { + "line": 99, + "column": 25 + }, + "end": { + "line": 99, + "column": 32 + }, + "identifierName": "options" + }, + "name": "options" + } + ], + "body": { + "type": "BlockStatement", + "start": 2205, + "end": 2277, + "loc": { + "start": { + "line": 99, + "column": 37 + }, + "end": { + "line": 101, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 2210, + "end": 2273, + "loc": { + "start": { + "line": 100, + "column": 3 + }, + "end": { + "line": 100, + "column": 66 + } + }, + "argument": { + "type": "ConditionalExpression", + "start": 2217, + "end": 2272, + "loc": { + "start": { + "line": 100, + "column": 10 + }, + "end": { + "line": 100, + "column": 65 + } + }, + "test": { + "type": "LogicalExpression", + "start": 2217, + "end": 2257, + "loc": { + "start": { + "line": 100, + "column": 10 + }, + "end": { + "line": 100, + "column": 50 + } + }, + "left": { + "type": "CallExpression", + "start": 2217, + "end": 2239, + "loc": { + "start": { + "line": 100, + "column": 10 + }, + "end": { + "line": 100, + "column": 32 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2217, + "end": 2230, + "loc": { + "start": { + "line": 100, + "column": 10 + }, + "end": { + "line": 100, + "column": 23 + } + }, + "object": { + "type": "Identifier", + "start": 2217, + "end": 2222, + "loc": { + "start": { + "line": 100, + "column": 10 + }, + "end": { + "line": 100, + "column": 15 + }, + "identifierName": "Array" + }, + "name": "Array" + }, + "property": { + "type": "Identifier", + "start": 2223, + "end": 2230, + "loc": { + "start": { + "line": 100, + "column": 16 + }, + "end": { + "line": 100, + "column": 23 + }, + "identifierName": "isArray" + }, + "name": "isArray" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2231, + "end": 2238, + "loc": { + "start": { + "line": 100, + "column": 24 + }, + "end": { + "line": 100, + "column": 31 + }, + "identifierName": "options" + }, + "name": "options" + } + ] + }, + "operator": "&&", + "right": { + "type": "MemberExpression", + "start": 2243, + "end": 2257, + "loc": { + "start": { + "line": 100, + "column": 36 + }, + "end": { + "line": 100, + "column": 50 + } + }, + "object": { + "type": "Identifier", + "start": 2243, + "end": 2250, + "loc": { + "start": { + "line": 100, + "column": 36 + }, + "end": { + "line": 100, + "column": 43 + }, + "identifierName": "options" + }, + "name": "options" + }, + "property": { + "type": "Identifier", + "start": 2251, + "end": 2257, + "loc": { + "start": { + "line": 100, + "column": 44 + }, + "end": { + "line": 100, + "column": 50 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + } + }, + "consequent": { + "type": "Identifier", + "start": 2260, + "end": 2267, + "loc": { + "start": { + "line": 100, + "column": 53 + }, + "end": { + "line": 100, + "column": 60 + }, + "identifierName": "options" + }, + "name": "options" + }, + "alternate": { + "type": "ArrayExpression", + "start": 2270, + "end": 2272, + "loc": { + "start": { + "line": 100, + "column": 63 + }, + "end": { + "line": 100, + "column": 65 + } + }, + "elements": [] + } + } + } + ], + "directives": [] + } + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 2282, + "end": 2297, + "loc": { + "start": { + "line": 103, + "column": 2 + }, + "end": { + "line": 103, + "column": 17 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2286, + "end": 2296, + "loc": { + "start": { + "line": 103, + "column": 6 + }, + "end": { + "line": 103, + "column": 16 + } + }, + "id": { + "type": "Identifier", + "start": 2286, + "end": 2291, + "loc": { + "start": { + "line": 103, + "column": 6 + }, + "end": { + "line": 103, + "column": 11 + }, + "identifierName": "items" + }, + "name": "items" + }, + "init": { + "type": "ArrayExpression", + "start": 2294, + "end": 2296, + "loc": { + "start": { + "line": 103, + "column": 14 + }, + "end": { + "line": 103, + "column": 16 + } + }, + "elements": [] + } + } + ], + "kind": "let" + }, + { + "type": "IfStatement", + "start": 2301, + "end": 2573, + "loc": { + "start": { + "line": 105, + "column": 2 + }, + "end": { + "line": 112, + "column": 3 + } + }, + "test": { + "type": "MemberExpression", + "start": 2305, + "end": 2346, + "loc": { + "start": { + "line": 105, + "column": 6 + }, + "end": { + "line": 105, + "column": 47 + } + }, + "object": { + "type": "CallExpression", + "start": 2305, + "end": 2339, + "loc": { + "start": { + "line": 105, + "column": 6 + }, + "end": { + "line": 105, + "column": 40 + } + }, + "callee": { + "type": "Identifier", + "start": 2305, + "end": 2319, + "loc": { + "start": { + "line": 105, + "column": 6 + }, + "end": { + "line": 105, + "column": 20 + }, + "identifierName": "optionsOrEmpty" + }, + "name": "optionsOrEmpty" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 2320, + "end": 2338, + "loc": { + "start": { + "line": 105, + "column": 21 + }, + "end": { + "line": 105, + "column": 39 + } + }, + "object": { + "type": "MemberExpression", + "start": 2320, + "end": 2330, + "loc": { + "start": { + "line": 105, + "column": 21 + }, + "end": { + "line": 105, + "column": 31 + } + }, + "object": { + "type": "ThisExpression", + "start": 2320, + "end": 2324, + "loc": { + "start": { + "line": 105, + "column": 21 + }, + "end": { + "line": 105, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "start": 2325, + "end": 2330, + "loc": { + "start": { + "line": 105, + "column": 26 + }, + "end": { + "line": 105, + "column": 31 + }, + "identifierName": "props" + }, + "name": "props" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2331, + "end": 2338, + "loc": { + "start": { + "line": 105, + "column": 32 + }, + "end": { + "line": 105, + "column": 39 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + } + ] + }, + "property": { + "type": "Identifier", + "start": 2340, + "end": 2346, + "loc": { + "start": { + "line": 105, + "column": 41 + }, + "end": { + "line": 105, + "column": 47 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 2347, + "end": 2399, + "loc": { + "start": { + "line": 105, + "column": 48 + }, + "end": { + "line": 107, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2352, + "end": 2395, + "loc": { + "start": { + "line": 106, + "column": 3 + }, + "end": { + "line": 106, + "column": 46 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2352, + "end": 2394, + "loc": { + "start": { + "line": 106, + "column": 3 + }, + "end": { + "line": 106, + "column": 45 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 2352, + "end": 2357, + "loc": { + "start": { + "line": 106, + "column": 3 + }, + "end": { + "line": 106, + "column": 8 + }, + "identifierName": "items" + }, + "name": "items" + }, + "right": { + "type": "CallExpression", + "start": 2360, + "end": 2394, + "loc": { + "start": { + "line": 106, + "column": 11 + }, + "end": { + "line": 106, + "column": 45 + } + }, + "callee": { + "type": "Identifier", + "start": 2360, + "end": 2374, + "loc": { + "start": { + "line": 106, + "column": 11 + }, + "end": { + "line": 106, + "column": 25 + }, + "identifierName": "optionsOrEmpty" + }, + "name": "optionsOrEmpty" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 2375, + "end": 2393, + "loc": { + "start": { + "line": 106, + "column": 26 + }, + "end": { + "line": 106, + "column": 44 + } + }, + "object": { + "type": "MemberExpression", + "start": 2375, + "end": 2385, + "loc": { + "start": { + "line": 106, + "column": 26 + }, + "end": { + "line": 106, + "column": 36 + } + }, + "object": { + "type": "ThisExpression", + "start": 2375, + "end": 2379, + "loc": { + "start": { + "line": 106, + "column": 26 + }, + "end": { + "line": 106, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "start": 2380, + "end": 2385, + "loc": { + "start": { + "line": 106, + "column": 31 + }, + "end": { + "line": 106, + "column": 36 + }, + "identifierName": "props" + }, + "name": "props" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2386, + "end": 2393, + "loc": { + "start": { + "line": 106, + "column": 37 + }, + "end": { + "line": 106, + "column": 44 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + } + ] + } + } + } + ], + "directives": [] + }, + "alternate": { + "type": "IfStatement", + "start": 2407, + "end": 2573, + "loc": { + "start": { + "line": 108, + "column": 7 + }, + "end": { + "line": 112, + "column": 3 + } + }, + "test": { + "type": "BinaryExpression", + "start": 2411, + "end": 2450, + "loc": { + "start": { + "line": 108, + "column": 11 + }, + "end": { + "line": 108, + "column": 50 + } + }, + "left": { + "type": "StringLiteral", + "start": 2411, + "end": 2419, + "loc": { + "start": { + "line": 108, + "column": 11 + }, + "end": { + "line": 108, + "column": 19 + } + }, + "extra": { + "rawValue": "system", + "raw": "'system'" + }, + "value": "system" + }, + "operator": "===", + "right": { + "type": "MemberExpression", + "start": 2424, + "end": 2450, + "loc": { + "start": { + "line": 108, + "column": 24 + }, + "end": { + "line": 108, + "column": 50 + } + }, + "object": { + "type": "MemberExpression", + "start": 2424, + "end": 2434, + "loc": { + "start": { + "line": 108, + "column": 24 + }, + "end": { + "line": 108, + "column": 34 + } + }, + "object": { + "type": "ThisExpression", + "start": 2424, + "end": 2428, + "loc": { + "start": { + "line": 108, + "column": 24 + }, + "end": { + "line": 108, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "start": 2429, + "end": 2434, + "loc": { + "start": { + "line": 108, + "column": 29 + }, + "end": { + "line": 108, + "column": 34 + }, + "identifierName": "state" + }, + "name": "state" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2435, + "end": 2450, + "loc": { + "start": { + "line": 108, + "column": 35 + }, + "end": { + "line": 108, + "column": 50 + }, + "identifierName": "currentListType" + }, + "name": "currentListType" + }, + "computed": false + } + }, + "consequent": { + "type": "BlockStatement", + "start": 2453, + "end": 2512, + "loc": { + "start": { + "line": 108, + "column": 53 + }, + "end": { + "line": 110, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2458, + "end": 2508, + "loc": { + "start": { + "line": 109, + "column": 3 + }, + "end": { + "line": 109, + "column": 53 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2458, + "end": 2507, + "loc": { + "start": { + "line": 109, + "column": 3 + }, + "end": { + "line": 109, + "column": 52 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 2458, + "end": 2463, + "loc": { + "start": { + "line": 109, + "column": 3 + }, + "end": { + "line": 109, + "column": 8 + }, + "identifierName": "items" + }, + "name": "items" + }, + "right": { + "type": "CallExpression", + "start": 2466, + "end": 2507, + "loc": { + "start": { + "line": 109, + "column": 11 + }, + "end": { + "line": 109, + "column": 52 + } + }, + "callee": { + "type": "Identifier", + "start": 2466, + "end": 2480, + "loc": { + "start": { + "line": 109, + "column": 11 + }, + "end": { + "line": 109, + "column": 25 + }, + "identifierName": "optionsOrEmpty" + }, + "name": "optionsOrEmpty" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 2481, + "end": 2506, + "loc": { + "start": { + "line": 109, + "column": 26 + }, + "end": { + "line": 109, + "column": 51 + } + }, + "object": { + "type": "MemberExpression", + "start": 2481, + "end": 2491, + "loc": { + "start": { + "line": 109, + "column": 26 + }, + "end": { + "line": 109, + "column": 36 + } + }, + "object": { + "type": "ThisExpression", + "start": 2481, + "end": 2485, + "loc": { + "start": { + "line": 109, + "column": 26 + }, + "end": { + "line": 109, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "start": 2486, + "end": 2491, + "loc": { + "start": { + "line": 109, + "column": 31 + }, + "end": { + "line": 109, + "column": 36 + }, + "identifierName": "props" + }, + "name": "props" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2492, + "end": 2506, + "loc": { + "start": { + "line": 109, + "column": 37 + }, + "end": { + "line": 109, + "column": 51 + }, + "identifierName": "systemTagsList" + }, + "name": "systemTagsList" + }, + "computed": false + } + ] + } + } + } + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 2518, + "end": 2573, + "loc": { + "start": { + "line": 110, + "column": 9 + }, + "end": { + "line": 112, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2523, + "end": 2569, + "loc": { + "start": { + "line": 111, + "column": 3 + }, + "end": { + "line": 111, + "column": 49 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2523, + "end": 2568, + "loc": { + "start": { + "line": 111, + "column": 3 + }, + "end": { + "line": 111, + "column": 48 + } + }, + "operator": "=", + "left": { + "type": "Identifier", + "start": 2523, + "end": 2528, + "loc": { + "start": { + "line": 111, + "column": 3 + }, + "end": { + "line": 111, + "column": 8 + }, + "identifierName": "items" + }, + "name": "items" + }, + "right": { + "type": "CallExpression", + "start": 2531, + "end": 2568, + "loc": { + "start": { + "line": 111, + "column": 11 + }, + "end": { + "line": 111, + "column": 48 + } + }, + "callee": { + "type": "Identifier", + "start": 2531, + "end": 2545, + "loc": { + "start": { + "line": 111, + "column": 11 + }, + "end": { + "line": 111, + "column": 25 + }, + "identifierName": "optionsOrEmpty" + }, + "name": "optionsOrEmpty" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 2546, + "end": 2567, + "loc": { + "start": { + "line": 111, + "column": 26 + }, + "end": { + "line": 111, + "column": 47 + } + }, + "object": { + "type": "MemberExpression", + "start": 2546, + "end": 2556, + "loc": { + "start": { + "line": 111, + "column": 26 + }, + "end": { + "line": 111, + "column": 36 + } + }, + "object": { + "type": "ThisExpression", + "start": 2546, + "end": 2550, + "loc": { + "start": { + "line": 111, + "column": 26 + }, + "end": { + "line": 111, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "start": 2551, + "end": 2556, + "loc": { + "start": { + "line": 111, + "column": 31 + }, + "end": { + "line": 111, + "column": 36 + }, + "identifierName": "props" + }, + "name": "props" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2557, + "end": 2567, + "loc": { + "start": { + "line": 111, + "column": 37 + }, + "end": { + "line": 111, + "column": 47 + }, + "identifierName": "fieldsList" + }, + "name": "fieldsList" + }, + "computed": false + } + ] + } + } + } + ], + "directives": [] + } + } + }, + { + "type": "IfStatement", + "start": 2577, + "end": 2801, + "loc": { + "start": { + "line": 114, + "column": 2 + }, + "end": { + "line": 124, + "column": 3 + } + }, + "test": { + "type": "MemberExpression", + "start": 2581, + "end": 2593, + "loc": { + "start": { + "line": 114, + "column": 6 + }, + "end": { + "line": 114, + "column": 18 + } + }, + "object": { + "type": "Identifier", + "start": 2581, + "end": 2586, + "loc": { + "start": { + "line": 114, + "column": 6 + }, + "end": { + "line": 114, + "column": 11 + }, + "identifierName": "items" + }, + "name": "items" + }, + "property": { + "type": "Identifier", + "start": 2587, + "end": 2593, + "loc": { + "start": { + "line": 114, + "column": 12 + }, + "end": { + "line": 114, + "column": 18 + }, + "identifierName": "length" + }, + "name": "length" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 2595, + "end": 2709, + "loc": { + "start": { + "line": 114, + "column": 20 + }, + "end": { + "line": 118, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2600, + "end": 2705, + "loc": { + "start": { + "line": 115, + "column": 3 + }, + "end": { + "line": 117, + "column": 6 + } + }, + "expression": { + "type": "CallExpression", + "start": 2600, + "end": 2704, + "loc": { + "start": { + "line": 115, + "column": 3 + }, + "end": { + "line": 117, + "column": 5 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2600, + "end": 2613, + "loc": { + "start": { + "line": 115, + "column": 3 + }, + "end": { + "line": 115, + "column": 16 + } + }, + "object": { + "type": "Identifier", + "start": 2600, + "end": 2605, + "loc": { + "start": { + "line": 115, + "column": 3 + }, + "end": { + "line": 115, + "column": 8 + }, + "identifierName": "items" + }, + "name": "items" + }, + "property": { + "type": "Identifier", + "start": 2606, + "end": 2613, + "loc": { + "start": { + "line": 115, + "column": 9 + }, + "end": { + "line": 115, + "column": 16 + }, + "identifierName": "forEach" + }, + "name": "forEach" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 2614, + "end": 2703, + "loc": { + "start": { + "line": 115, + "column": 17 + }, + "end": { + "line": 117, + "column": 4 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 2615, + "end": 2619, + "loc": { + "start": { + "line": 115, + "column": 18 + }, + "end": { + "line": 115, + "column": 22 + }, + "identifierName": "item" + }, + "name": "item" + }, + { + "type": "Identifier", + "start": 2621, + "end": 2630, + "loc": { + "start": { + "line": 115, + "column": 24 + }, + "end": { + "line": 115, + "column": 33 + }, + "identifierName": "itemIndex" + }, + "name": "itemIndex" + } + ], + "body": { + "type": "BlockStatement", + "start": 2635, + "end": 2703, + "loc": { + "start": { + "line": 115, + "column": 38 + }, + "end": { + "line": 117, + "column": 4 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2641, + "end": 2698, + "loc": { + "start": { + "line": 116, + "column": 4 + }, + "end": { + "line": 116, + "column": 61 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2641, + "end": 2697, + "loc": { + "start": { + "line": 116, + "column": 4 + }, + "end": { + "line": 116, + "column": 60 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 2641, + "end": 2666, + "loc": { + "start": { + "line": 116, + "column": 4 + }, + "end": { + "line": 116, + "column": 29 + } + }, + "object": { + "type": "MemberExpression", + "start": 2641, + "end": 2657, + "loc": { + "start": { + "line": 116, + "column": 4 + }, + "end": { + "line": 116, + "column": 20 + } + }, + "object": { + "type": "Identifier", + "start": 2641, + "end": 2646, + "loc": { + "start": { + "line": 116, + "column": 4 + }, + "end": { + "line": 116, + "column": 9 + }, + "identifierName": "items" + }, + "name": "items" + }, + "property": { + "type": "Identifier", + "start": 2647, + "end": 2656, + "loc": { + "start": { + "line": 116, + "column": 10 + }, + "end": { + "line": 116, + "column": 19 + }, + "identifierName": "itemIndex" + }, + "name": "itemIndex" + }, + "computed": true + }, + "property": { + "type": "Identifier", + "start": 2658, + "end": 2666, + "loc": { + "start": { + "line": 116, + "column": 21 + }, + "end": { + "line": 116, + "column": 29 + }, + "identifierName": "innerKey" + }, + "name": "innerKey" + }, + "computed": false + }, + "right": { + "type": "TemplateLiteral", + "start": 2669, + "end": 2697, + "loc": { + "start": { + "line": 116, + "column": 32 + }, + "end": { + "line": 116, + "column": 60 + } + }, + "expressions": [ + { + "type": "MemberExpression", + "start": 2672, + "end": 2682, + "loc": { + "start": { + "line": 116, + "column": 35 + }, + "end": { + "line": 116, + "column": 45 + } + }, + "object": { + "type": "Identifier", + "start": 2672, + "end": 2676, + "loc": { + "start": { + "line": 116, + "column": 35 + }, + "end": { + "line": 116, + "column": 39 + }, + "identifierName": "item" + }, + "name": "item" + }, + "property": { + "type": "Identifier", + "start": 2677, + "end": 2682, + "loc": { + "start": { + "line": 116, + "column": 40 + }, + "end": { + "line": 116, + "column": 45 + }, + "identifierName": "value" + }, + "name": "value" + }, + "computed": false + }, + { + "type": "Identifier", + "start": 2686, + "end": 2695, + "loc": { + "start": { + "line": 116, + "column": 49 + }, + "end": { + "line": 116, + "column": 58 + }, + "identifierName": "itemIndex" + }, + "name": "itemIndex" + } + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 2670, + "end": 2670, + "loc": { + "start": { + "line": 116, + "column": 33 + }, + "end": { + "line": 116, + "column": 33 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 2683, + "end": 2684, + "loc": { + "start": { + "line": 116, + "column": 46 + }, + "end": { + "line": 116, + "column": 47 + } + }, + "value": { + "raw": "-", + "cooked": "-" + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 2696, + "end": 2696, + "loc": { + "start": { + "line": 116, + "column": 59 + }, + "end": { + "line": 116, + "column": 59 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": true + } + ] + } + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 2713, + "end": 2801, + "loc": { + "start": { + "line": 118, + "column": 7 + }, + "end": { + "line": 124, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 2718, + "end": 2797, + "loc": { + "start": { + "line": 119, + "column": 3 + }, + "end": { + "line": 123, + "column": 5 + } + }, + "expression": { + "type": "CallExpression", + "start": 2718, + "end": 2797, + "loc": { + "start": { + "line": 119, + "column": 3 + }, + "end": { + "line": 123, + "column": 5 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2718, + "end": 2728, + "loc": { + "start": { + "line": 119, + "column": 3 + }, + "end": { + "line": 119, + "column": 13 + } + }, + "object": { + "type": "Identifier", + "start": 2718, + "end": 2723, + "loc": { + "start": { + "line": 119, + "column": 3 + }, + "end": { + "line": 119, + "column": 8 + }, + "identifierName": "items" + }, + "name": "items" + }, + "property": { + "type": "Identifier", + "start": 2724, + "end": 2728, + "loc": { + "start": { + "line": 119, + "column": 9 + }, + "end": { + "line": 119, + "column": 13 + }, + "identifierName": "push" + }, + "name": "push" + }, + "computed": false + }, + "arguments": [ + { + "type": "ObjectExpression", + "start": 2729, + "end": 2796, + "loc": { + "start": { + "line": 119, + "column": 14 + }, + "end": { + "line": 123, + "column": 4 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 2735, + "end": 2746, + "loc": { + "start": { + "line": 120, + "column": 4 + }, + "end": { + "line": 120, + "column": 15 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2735, + "end": 2740, + "loc": { + "start": { + "line": 120, + "column": 4 + }, + "end": { + "line": 120, + "column": 9 + }, + "identifierName": "value" + }, + "name": "value" + }, + "value": { + "type": "NullLiteral", + "start": 2742, + "end": 2746, + "loc": { + "start": { + "line": 120, + "column": 11 + }, + "end": { + "line": 120, + "column": 15 + } + } + } + }, + { + "type": "ObjectProperty", + "start": 2752, + "end": 2763, + "loc": { + "start": { + "line": 121, + "column": 4 + }, + "end": { + "line": 121, + "column": 15 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2752, + "end": 2757, + "loc": { + "start": { + "line": 121, + "column": 4 + }, + "end": { + "line": 121, + "column": 9 + }, + "identifierName": "label" + }, + "name": "label" + }, + "value": { + "type": "NullLiteral", + "start": 2759, + "end": 2763, + "loc": { + "start": { + "line": 121, + "column": 11 + }, + "end": { + "line": 121, + "column": 15 + } + } + } + }, + { + "type": "ObjectProperty", + "start": 2769, + "end": 2791, + "loc": { + "start": { + "line": 122, + "column": 4 + }, + "end": { + "line": 122, + "column": 26 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2769, + "end": 2777, + "loc": { + "start": { + "line": 122, + "column": 4 + }, + "end": { + "line": 122, + "column": 12 + }, + "identifierName": "innerKey" + }, + "name": "innerKey" + }, + "value": { + "type": "MemberExpression", + "start": 2778, + "end": 2791, + "loc": { + "start": { + "line": 122, + "column": 13 + }, + "end": { + "line": 122, + "column": 26 + } + }, + "object": { + "type": "MemberExpression", + "start": 2778, + "end": 2788, + "loc": { + "start": { + "line": 122, + "column": 13 + }, + "end": { + "line": 122, + "column": 23 + } + }, + "object": { + "type": "ThisExpression", + "start": 2778, + "end": 2782, + "loc": { + "start": { + "line": 122, + "column": 13 + }, + "end": { + "line": 122, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "start": 2783, + "end": 2788, + "loc": { + "start": { + "line": 122, + "column": 18 + }, + "end": { + "line": 122, + "column": 23 + }, + "identifierName": "props" + }, + "name": "props" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2789, + "end": 2791, + "loc": { + "start": { + "line": 122, + "column": 24 + }, + "end": { + "line": 122, + "column": 26 + }, + "identifierName": "id" + }, + "name": "id" + }, + "computed": false + } + } + ] + } + ] + } + } + ], + "directives": [] + } + }, + { + "type": "ReturnStatement", + "start": 2805, + "end": 2818, + "loc": { + "start": { + "line": 126, + "column": 2 + }, + "end": { + "line": 126, + "column": 15 + } + }, + "argument": { + "type": "Identifier", + "start": 2812, + "end": 2817, + "loc": { + "start": { + "line": 126, + "column": 9 + }, + "end": { + "line": 126, + "column": 14 + }, + "identifierName": "items" + }, + "name": "items" + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n\t * Create the list of items\n\t *\n\t * @return {Array}\n\t ", + "start": 2095, + "end": 2156, + "loc": { + "start": { + "line": 93, + "column": 1 + }, + "end": { + "line": 97, + "column": 4 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n\t * Options for type chooser\n\t *\n\t * @return {*[]}\n\t ", + "start": 2825, + "end": 2884, + "loc": { + "start": { + "line": 130, + "column": 1 + }, + "end": { + "line": 134, + "column": 4 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 2886, + "end": 3104, + "loc": { + "start": { + "line": 135, + "column": 1 + }, + "end": { + "line": 148, + "column": 2 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2886, + "end": 2901, + "loc": { + "start": { + "line": 135, + "column": 1 + }, + "end": { + "line": 135, + "column": 16 + }, + "identifierName": "listTypeOptions" + }, + "name": "listTypeOptions", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 2903, + "end": 3104, + "loc": { + "start": { + "line": 135, + "column": 18 + }, + "end": { + "line": 148, + "column": 2 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 2907, + "end": 3101, + "loc": { + "start": { + "line": 136, + "column": 2 + }, + "end": { + "line": 147, + "column": 3 + } + }, + "argument": { + "type": "ArrayExpression", + "start": 2914, + "end": 3101, + "loc": { + "start": { + "line": 136, + "column": 9 + }, + "end": { + "line": 147, + "column": 3 + } + }, + "elements": [ + { + "type": "ObjectExpression", + "start": 2919, + "end": 3004, + "loc": { + "start": { + "line": 137, + "column": 3 + }, + "end": { + "line": 141, + "column": 4 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 2925, + "end": 2940, + "loc": { + "start": { + "line": 138, + "column": 4 + }, + "end": { + "line": 138, + "column": 19 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2925, + "end": 2930, + "loc": { + "start": { + "line": 138, + "column": 4 + }, + "end": { + "line": 138, + "column": 9 + }, + "identifierName": "value" + }, + "name": "value" + }, + "value": { + "type": "StringLiteral", + "start": 2932, + "end": 2940, + "loc": { + "start": { + "line": 138, + "column": 11 + }, + "end": { + "line": 138, + "column": 19 + } + }, + "extra": { + "rawValue": "fields", + "raw": "'fields'" + }, + "value": "fields" + } + }, + { + "type": "ObjectProperty", + "start": 2946, + "end": 2956, + "loc": { + "start": { + "line": 139, + "column": 4 + }, + "end": { + "line": 139, + "column": 14 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2946, + "end": 2951, + "loc": { + "start": { + "line": 139, + "column": 4 + }, + "end": { + "line": 139, + "column": 9 + }, + "identifierName": "label" + }, + "name": "label" + }, + "value": { + "type": "StringLiteral", + "start": 2953, + "end": 2956, + "loc": { + "start": { + "line": 139, + "column": 11 + }, + "end": { + "line": 139, + "column": 14 + } + }, + "extra": { + "rawValue": "%", + "raw": "'%'" + }, + "value": "%" + } + }, + { + "type": "ObjectProperty", + "start": 2962, + "end": 2999, + "loc": { + "start": { + "line": 140, + "column": 4 + }, + "end": { + "line": 140, + "column": 41 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2962, + "end": 2971, + "loc": { + "start": { + "line": 140, + "column": 4 + }, + "end": { + "line": 140, + "column": 13 + }, + "identifierName": "ariaLabel" + }, + "name": "ariaLabel" + }, + "value": { + "type": "StringLiteral", + "start": 2973, + "end": 2999, + "loc": { + "start": { + "line": 140, + "column": 15 + }, + "end": { + "line": 140, + "column": 41 + } + }, + "extra": { + "rawValue": "Select from field values", + "raw": "'Select from field values'" + }, + "value": "Select from field values" + } + } + ] + }, + { + "type": "ObjectExpression", + "start": 3009, + "end": 3096, + "loc": { + "start": { + "line": 142, + "column": 3 + }, + "end": { + "line": 146, + "column": 4 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 3015, + "end": 3030, + "loc": { + "start": { + "line": 143, + "column": 4 + }, + "end": { + "line": 143, + "column": 19 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3015, + "end": 3020, + "loc": { + "start": { + "line": 143, + "column": 4 + }, + "end": { + "line": 143, + "column": 9 + }, + "identifierName": "value" + }, + "name": "value" + }, + "value": { + "type": "StringLiteral", + "start": 3022, + "end": 3030, + "loc": { + "start": { + "line": 143, + "column": 11 + }, + "end": { + "line": 143, + "column": 19 + } + }, + "extra": { + "rawValue": "system", + "raw": "'system'" + }, + "value": "system" + } + }, + { + "type": "ObjectProperty", + "start": 3036, + "end": 3047, + "loc": { + "start": { + "line": 144, + "column": 4 + }, + "end": { + "line": 144, + "column": 15 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3036, + "end": 3041, + "loc": { + "start": { + "line": 144, + "column": 4 + }, + "end": { + "line": 144, + "column": 9 + }, + "identifierName": "label" + }, + "name": "label" + }, + "value": { + "type": "StringLiteral", + "start": 3043, + "end": 3047, + "loc": { + "start": { + "line": 144, + "column": 11 + }, + "end": { + "line": 144, + "column": 15 + } + }, + "extra": { + "rawValue": "{}", + "raw": "'{}'" + }, + "value": "{}" + } + }, + { + "type": "ObjectProperty", + "start": 3053, + "end": 3091, + "loc": { + "start": { + "line": 145, + "column": 4 + }, + "end": { + "line": 145, + "column": 42 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3053, + "end": 3062, + "loc": { + "start": { + "line": 145, + "column": 4 + }, + "end": { + "line": 145, + "column": 13 + }, + "identifierName": "ariaLabel" + }, + "name": "ariaLabel" + }, + "value": { + "type": "StringLiteral", + "start": 3064, + "end": 3091, + "loc": { + "start": { + "line": 145, + "column": 15 + }, + "end": { + "line": 145, + "column": 42 + } + }, + "extra": { + "rawValue": "Select from system values", + "raw": "'Select from system values'" + }, + "value": "Select from system values" + } + } + ] + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n\t * Options for type chooser\n\t *\n\t * @return {*[]}\n\t ", + "start": 2825, + "end": 2884, + "loc": { + "start": { + "line": 130, + "column": 1 + }, + "end": { + "line": 134, + "column": 4 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n\t * Render MagicFieldGroup component\n\t * @return {*}\n\t ", + "start": 3109, + "end": 3170, + "loc": { + "start": { + "line": 152, + "column": 1 + }, + "end": { + "line": 155, + "column": 4 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 3172, + "end": 3691, + "loc": { + "start": { + "line": 156, + "column": 1 + }, + "end": { + "line": 179, + "column": 2 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3172, + "end": 3178, + "loc": { + "start": { + "line": 156, + "column": 1 + }, + "end": { + "line": 156, + "column": 7 + }, + "identifierName": "render" + }, + "name": "render", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 3181, + "end": 3691, + "loc": { + "start": { + "line": 156, + "column": 10 + }, + "end": { + "line": 179, + "column": 2 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 3185, + "end": 3688, + "loc": { + "start": { + "line": 157, + "column": 2 + }, + "end": { + "line": 178, + "column": 4 + } + }, + "argument": { + "type": "JSXElement", + "start": 3197, + "end": 3683, + "loc": { + "start": { + "line": 158, + "column": 3 + }, + "end": { + "line": 177, + "column": 9 + } + }, + "openingElement": { + "type": "JSXOpeningElement", + "start": 3197, + "end": 3271, + "loc": { + "start": { + "line": 158, + "column": 3 + }, + "end": { + "line": 160, + "column": 4 + } + }, + "attributes": [ + { + "type": "JSXAttribute", + "start": 3206, + "end": 3266, + "loc": { + "start": { + "line": 159, + "column": 4 + }, + "end": { + "line": 159, + "column": 64 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 3206, + "end": 3215, + "loc": { + "start": { + "line": 159, + "column": 4 + }, + "end": { + "line": 159, + "column": 13 + } + }, + "name": "className" + }, + "value": { + "type": "JSXExpressionContainer", + "start": 3216, + "end": 3266, + "loc": { + "start": { + "line": 159, + "column": 14 + }, + "end": { + "line": 159, + "column": 64 + } + }, + "expression": { + "type": "CallExpression", + "start": 3217, + "end": 3265, + "loc": { + "start": { + "line": 159, + "column": 15 + }, + "end": { + "line": 159, + "column": 63 + } + }, + "callee": { + "type": "Identifier", + "start": 3217, + "end": 3227, + "loc": { + "start": { + "line": 159, + "column": 15 + }, + "end": { + "line": 159, + "column": 25 + }, + "identifierName": "classNames" + }, + "name": "classNames" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 3228, + "end": 3242, + "loc": { + "start": { + "line": 159, + "column": 26 + }, + "end": { + "line": 159, + "column": 40 + } + }, + "extra": { + "rawValue": "magic-select", + "raw": "'magic-select'" + }, + "value": "magic-select" + }, + { + "type": "MemberExpression", + "start": 3244, + "end": 3264, + "loc": { + "start": { + "line": 159, + "column": 42 + }, + "end": { + "line": 159, + "column": 62 + } + }, + "object": { + "type": "MemberExpression", + "start": 3244, + "end": 3254, + "loc": { + "start": { + "line": 159, + "column": 42 + }, + "end": { + "line": 159, + "column": 52 + } + }, + "object": { + "type": "ThisExpression", + "start": 3244, + "end": 3248, + "loc": { + "start": { + "line": 159, + "column": 42 + }, + "end": { + "line": 159, + "column": 46 + } + } + }, + "property": { + "type": "Identifier", + "start": 3249, + "end": 3254, + "loc": { + "start": { + "line": 159, + "column": 47 + }, + "end": { + "line": 159, + "column": 52 + }, + "identifierName": "props" + }, + "name": "props" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 3255, + "end": 3264, + "loc": { + "start": { + "line": 159, + "column": 53 + }, + "end": { + "line": 159, + "column": 62 + }, + "identifierName": "className" + }, + "name": "className" + }, + "computed": false + } + ] + } + } + } + ], + "name": { + "type": "JSXIdentifier", + "start": 3198, + "end": 3201, + "loc": { + "start": { + "line": 158, + "column": 4 + }, + "end": { + "line": 158, + "column": 7 + } + }, + "name": "div" + }, + "selfClosing": false + }, + "closingElement": { + "type": "JSXClosingElement", + "start": 3677, + "end": 3683, + "loc": { + "start": { + "line": 177, + "column": 3 + }, + "end": { + "line": 177, + "column": 9 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 3679, + "end": 3682, + "loc": { + "start": { + "line": 177, + "column": 5 + }, + "end": { + "line": 177, + "column": 8 + } + }, + "name": "div" + } + }, + "children": [ + { + "type": "JSXText", + "start": 3271, + "end": 3276, + "loc": { + "start": { + "line": 160, + "column": 4 + }, + "end": { + "line": 161, + "column": 4 + } + }, + "extra": null, + "value": "\n\t\t\t\t" + }, + { + "type": "JSXExpressionContainer", + "start": 3276, + "end": 3448, + "loc": { + "start": { + "line": 161, + "column": 4 + }, + "end": { + "line": 167, + "column": 5 + } + }, + "expression": { + "type": "LogicalExpression", + "start": 3277, + "end": 3442, + "loc": { + "start": { + "line": 161, + "column": 5 + }, + "end": { + "line": 166, + "column": 7 + } + }, + "left": { + "type": "MemberExpression", + "start": 3277, + "end": 3294, + "loc": { + "start": { + "line": 161, + "column": 5 + }, + "end": { + "line": 161, + "column": 22 + } + }, + "object": { + "type": "MemberExpression", + "start": 3277, + "end": 3287, + "loc": { + "start": { + "line": 161, + "column": 5 + }, + "end": { + "line": 161, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 3277, + "end": 3281, + "loc": { + "start": { + "line": 161, + "column": 5 + }, + "end": { + "line": 161, + "column": 9 + } + } + }, + "property": { + "type": "Identifier", + "start": 3282, + "end": 3287, + "loc": { + "start": { + "line": 161, + "column": 10 + }, + "end": { + "line": 161, + "column": 15 + }, + "identifierName": "state" + }, + "name": "state" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 3288, + "end": 3294, + "loc": { + "start": { + "line": 161, + "column": 16 + }, + "end": { + "line": 161, + "column": 22 + }, + "identifierName": "isOpen" + }, + "name": "isOpen" + }, + "computed": false + }, + "operator": "&&", + "right": { + "type": "JSXElement", + "start": 3303, + "end": 3442, + "loc": { + "start": { + "line": 162, + "column": 5 + }, + "end": { + "line": 166, + "column": 7 + } + }, + "openingElement": { + "type": "JSXOpeningElement", + "start": 3303, + "end": 3442, + "loc": { + "start": { + "line": 162, + "column": 5 + }, + "end": { + "line": 166, + "column": 7 + } + }, + "attributes": [ + { + "type": "JSXAttribute", + "start": 3322, + "end": 3354, + "loc": { + "start": { + "line": 163, + "column": 6 + }, + "end": { + "line": 163, + "column": 38 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 3322, + "end": 3330, + "loc": { + "start": { + "line": 163, + "column": 6 + }, + "end": { + "line": 163, + "column": 14 + } + }, + "name": "onChange" + }, + "value": { + "type": "JSXExpressionContainer", + "start": 3331, + "end": 3354, + "loc": { + "start": { + "line": 163, + "column": 15 + }, + "end": { + "line": 163, + "column": 38 + } + }, + "expression": { + "type": "MemberExpression", + "start": 3332, + "end": 3353, + "loc": { + "start": { + "line": 163, + "column": 16 + }, + "end": { + "line": 163, + "column": 37 + } + }, + "object": { + "type": "ThisExpression", + "start": 3332, + "end": 3336, + "loc": { + "start": { + "line": 163, + "column": 16 + }, + "end": { + "line": 163, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "start": 3337, + "end": 3353, + "loc": { + "start": { + "line": 163, + "column": 21 + }, + "end": { + "line": 163, + "column": 37 + }, + "identifierName": "onChangeListType" + }, + "name": "onChangeListType" + }, + "computed": false + } + } + }, + { + "type": "JSXAttribute", + "start": 3361, + "end": 3393, + "loc": { + "start": { + "line": 164, + "column": 6 + }, + "end": { + "line": 164, + "column": 38 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 3361, + "end": 3368, + "loc": { + "start": { + "line": 164, + "column": 6 + }, + "end": { + "line": 164, + "column": 13 + } + }, + "name": "options" + }, + "value": { + "type": "JSXExpressionContainer", + "start": 3369, + "end": 3393, + "loc": { + "start": { + "line": 164, + "column": 14 + }, + "end": { + "line": 164, + "column": 38 + } + }, + "expression": { + "type": "CallExpression", + "start": 3370, + "end": 3392, + "loc": { + "start": { + "line": 164, + "column": 15 + }, + "end": { + "line": 164, + "column": 37 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3370, + "end": 3390, + "loc": { + "start": { + "line": 164, + "column": 15 + }, + "end": { + "line": 164, + "column": 35 + } + }, + "object": { + "type": "ThisExpression", + "start": 3370, + "end": 3374, + "loc": { + "start": { + "line": 164, + "column": 15 + }, + "end": { + "line": 164, + "column": 19 + } + } + }, + "property": { + "type": "Identifier", + "start": 3375, + "end": 3390, + "loc": { + "start": { + "line": 164, + "column": 20 + }, + "end": { + "line": 164, + "column": 35 + }, + "identifierName": "listTypeOptions" + }, + "name": "listTypeOptions" + }, + "computed": false + }, + "arguments": [] + } + } + }, + { + "type": "JSXAttribute", + "start": 3400, + "end": 3434, + "loc": { + "start": { + "line": 165, + "column": 6 + }, + "end": { + "line": 165, + "column": 40 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 3400, + "end": 3405, + "loc": { + "start": { + "line": 165, + "column": 6 + }, + "end": { + "line": 165, + "column": 11 + } + }, + "name": "value" + }, + "value": { + "type": "JSXExpressionContainer", + "start": 3406, + "end": 3434, + "loc": { + "start": { + "line": 165, + "column": 12 + }, + "end": { + "line": 165, + "column": 40 + } + }, + "expression": { + "type": "MemberExpression", + "start": 3407, + "end": 3433, + "loc": { + "start": { + "line": 165, + "column": 13 + }, + "end": { + "line": 165, + "column": 39 + } + }, + "object": { + "type": "MemberExpression", + "start": 3407, + "end": 3417, + "loc": { + "start": { + "line": 165, + "column": 13 + }, + "end": { + "line": 165, + "column": 23 + } + }, + "object": { + "type": "ThisExpression", + "start": 3407, + "end": 3411, + "loc": { + "start": { + "line": 165, + "column": 13 + }, + "end": { + "line": 165, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "start": 3412, + "end": 3417, + "loc": { + "start": { + "line": 165, + "column": 18 + }, + "end": { + "line": 165, + "column": 23 + }, + "identifierName": "state" + }, + "name": "state" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 3418, + "end": 3433, + "loc": { + "start": { + "line": 165, + "column": 24 + }, + "end": { + "line": 165, + "column": 39 + }, + "identifierName": "currentListType" + }, + "name": "currentListType" + }, + "computed": false + } + } + } + ], + "name": { + "type": "JSXIdentifier", + "start": 3304, + "end": 3315, + "loc": { + "start": { + "line": 162, + "column": 6 + }, + "end": { + "line": 162, + "column": 17 + } + }, + "name": "ButtonGroup" + }, + "selfClosing": true + }, + "closingElement": null, + "children": [] + } + } + }, + { + "type": "JSXText", + "start": 3448, + "end": 3454, + "loc": { + "start": { + "line": 167, + "column": 5 + }, + "end": { + "line": 169, + "column": 4 + } + }, + "extra": null, + "value": "\n\n\t\t\t\t" + }, + { + "type": "JSXElement", + "start": 3454, + "end": 3673, + "loc": { + "start": { + "line": 169, + "column": 4 + }, + "end": { + "line": 176, + "column": 6 + } + }, + "openingElement": { + "type": "JSXOpeningElement", + "start": 3454, + "end": 3673, + "loc": { + "start": { + "line": 169, + "column": 4 + }, + "end": { + "line": 176, + "column": 6 + } + }, + "attributes": [ + { + "type": "JSXAttribute", + "start": 3472, + "end": 3490, + "loc": { + "start": { + "line": 170, + "column": 5 + }, + "end": { + "line": 170, + "column": 23 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 3472, + "end": 3474, + "loc": { + "start": { + "line": 170, + "column": 5 + }, + "end": { + "line": 170, + "column": 7 + } + }, + "name": "id" + }, + "value": { + "type": "JSXExpressionContainer", + "start": 3475, + "end": 3490, + "loc": { + "start": { + "line": 170, + "column": 8 + }, + "end": { + "line": 170, + "column": 23 + } + }, + "expression": { + "type": "MemberExpression", + "start": 3476, + "end": 3489, + "loc": { + "start": { + "line": 170, + "column": 9 + }, + "end": { + "line": 170, + "column": 22 + } + }, + "object": { + "type": "MemberExpression", + "start": 3476, + "end": 3486, + "loc": { + "start": { + "line": 170, + "column": 9 + }, + "end": { + "line": 170, + "column": 19 + } + }, + "object": { + "type": "ThisExpression", + "start": 3476, + "end": 3480, + "loc": { + "start": { + "line": 170, + "column": 9 + }, + "end": { + "line": 170, + "column": 13 + } + } + }, + "property": { + "type": "Identifier", + "start": 3481, + "end": 3486, + "loc": { + "start": { + "line": 170, + "column": 14 + }, + "end": { + "line": 170, + "column": 19 + }, + "identifierName": "props" + }, + "name": "props" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 3487, + "end": 3489, + "loc": { + "start": { + "line": 170, + "column": 20 + }, + "end": { + "line": 170, + "column": 22 + }, + "identifierName": "id" + }, + "name": "id" + }, + "computed": false + } + } + }, + { + "type": "JSXAttribute", + "start": 3496, + "end": 3518, + "loc": { + "start": { + "line": 171, + "column": 5 + }, + "end": { + "line": 171, + "column": 27 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 3496, + "end": 3503, + "loc": { + "start": { + "line": 171, + "column": 5 + }, + "end": { + "line": 171, + "column": 12 + } + }, + "name": "options" + }, + "value": { + "type": "JSXExpressionContainer", + "start": 3504, + "end": 3518, + "loc": { + "start": { + "line": 171, + "column": 13 + }, + "end": { + "line": 171, + "column": 27 + } + }, + "expression": { + "type": "CallExpression", + "start": 3505, + "end": 3517, + "loc": { + "start": { + "line": 171, + "column": 14 + }, + "end": { + "line": 171, + "column": 26 + } + }, + "callee": { + "type": "MemberExpression", + "start": 3505, + "end": 3515, + "loc": { + "start": { + "line": 171, + "column": 14 + }, + "end": { + "line": 171, + "column": 24 + } + }, + "object": { + "type": "ThisExpression", + "start": 3505, + "end": 3509, + "loc": { + "start": { + "line": 171, + "column": 14 + }, + "end": { + "line": 171, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "start": 3510, + "end": 3515, + "loc": { + "start": { + "line": 171, + "column": 19 + }, + "end": { + "line": 171, + "column": 24 + }, + "identifierName": "items" + }, + "name": "items" + }, + "computed": false + }, + "arguments": [] + } + } + }, + { + "type": "JSXAttribute", + "start": 3524, + "end": 3564, + "loc": { + "start": { + "line": 172, + "column": 5 + }, + "end": { + "line": 172, + "column": 45 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 3524, + "end": 3537, + "loc": { + "start": { + "line": 172, + "column": 5 + }, + "end": { + "line": 172, + "column": 18 + } + }, + "name": "onValueChange" + }, + "value": { + "type": "JSXExpressionContainer", + "start": 3538, + "end": 3564, + "loc": { + "start": { + "line": 172, + "column": 19 + }, + "end": { + "line": 172, + "column": 45 + } + }, + "expression": { + "type": "MemberExpression", + "start": 3539, + "end": 3563, + "loc": { + "start": { + "line": 172, + "column": 20 + }, + "end": { + "line": 172, + "column": 44 + } + }, + "object": { + "type": "MemberExpression", + "start": 3539, + "end": 3549, + "loc": { + "start": { + "line": 172, + "column": 20 + }, + "end": { + "line": 172, + "column": 30 + } + }, + "object": { + "type": "ThisExpression", + "start": 3539, + "end": 3543, + "loc": { + "start": { + "line": 172, + "column": 20 + }, + "end": { + "line": 172, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "start": 3544, + "end": 3549, + "loc": { + "start": { + "line": 172, + "column": 25 + }, + "end": { + "line": 172, + "column": 30 + }, + "identifierName": "props" + }, + "name": "props" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 3550, + "end": 3563, + "loc": { + "start": { + "line": 172, + "column": 31 + }, + "end": { + "line": 172, + "column": 44 + }, + "identifierName": "onValueChange" + }, + "name": "onValueChange" + }, + "computed": false + } + } + }, + { + "type": "JSXAttribute", + "start": 3570, + "end": 3594, + "loc": { + "start": { + "line": 173, + "column": 5 + }, + "end": { + "line": 173, + "column": 29 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 3570, + "end": 3575, + "loc": { + "start": { + "line": 173, + "column": 5 + }, + "end": { + "line": 173, + "column": 10 + } + }, + "name": "value" + }, + "value": { + "type": "JSXExpressionContainer", + "start": 3576, + "end": 3594, + "loc": { + "start": { + "line": 173, + "column": 11 + }, + "end": { + "line": 173, + "column": 29 + } + }, + "expression": { + "type": "MemberExpression", + "start": 3577, + "end": 3593, + "loc": { + "start": { + "line": 173, + "column": 12 + }, + "end": { + "line": 173, + "column": 28 + } + }, + "object": { + "type": "MemberExpression", + "start": 3577, + "end": 3587, + "loc": { + "start": { + "line": 173, + "column": 12 + }, + "end": { + "line": 173, + "column": 22 + } + }, + "object": { + "type": "ThisExpression", + "start": 3577, + "end": 3581, + "loc": { + "start": { + "line": 173, + "column": 12 + }, + "end": { + "line": 173, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "start": 3582, + "end": 3587, + "loc": { + "start": { + "line": 173, + "column": 17 + }, + "end": { + "line": 173, + "column": 22 + }, + "identifierName": "props" + }, + "name": "props" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 3588, + "end": 3593, + "loc": { + "start": { + "line": 173, + "column": 23 + }, + "end": { + "line": 173, + "column": 28 + }, + "identifierName": "value" + }, + "name": "value" + }, + "computed": false + } + } + }, + { + "type": "JSXAttribute", + "start": 3600, + "end": 3634, + "loc": { + "start": { + "line": 174, + "column": 5 + }, + "end": { + "line": 174, + "column": 39 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 3600, + "end": 3610, + "loc": { + "start": { + "line": 174, + "column": 5 + }, + "end": { + "line": 174, + "column": 15 + } + }, + "name": "isRequired" + }, + "value": { + "type": "JSXExpressionContainer", + "start": 3611, + "end": 3634, + "loc": { + "start": { + "line": 174, + "column": 16 + }, + "end": { + "line": 174, + "column": 39 + } + }, + "expression": { + "type": "MemberExpression", + "start": 3612, + "end": 3633, + "loc": { + "start": { + "line": 174, + "column": 17 + }, + "end": { + "line": 174, + "column": 38 + } + }, + "object": { + "type": "MemberExpression", + "start": 3612, + "end": 3622, + "loc": { + "start": { + "line": 174, + "column": 17 + }, + "end": { + "line": 174, + "column": 27 + } + }, + "object": { + "type": "ThisExpression", + "start": 3612, + "end": 3616, + "loc": { + "start": { + "line": 174, + "column": 17 + }, + "end": { + "line": 174, + "column": 21 + } + } + }, + "property": { + "type": "Identifier", + "start": 3617, + "end": 3622, + "loc": { + "start": { + "line": 174, + "column": 22 + }, + "end": { + "line": 174, + "column": 27 + }, + "identifierName": "props" + }, + "name": "props" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 3623, + "end": 3633, + "loc": { + "start": { + "line": 174, + "column": 28 + }, + "end": { + "line": 174, + "column": 38 + }, + "identifierName": "isRequired" + }, + "name": "isRequired" + }, + "computed": false + } + } + }, + { + "type": "JSXAttribute", + "start": 3640, + "end": 3666, + "loc": { + "start": { + "line": 175, + "column": 5 + }, + "end": { + "line": 175, + "column": 31 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 3640, + "end": 3646, + "loc": { + "start": { + "line": 175, + "column": 5 + }, + "end": { + "line": 175, + "column": 11 + } + }, + "name": "isOpen" + }, + "value": { + "type": "JSXExpressionContainer", + "start": 3647, + "end": 3666, + "loc": { + "start": { + "line": 175, + "column": 12 + }, + "end": { + "line": 175, + "column": 31 + } + }, + "expression": { + "type": "MemberExpression", + "start": 3648, + "end": 3665, + "loc": { + "start": { + "line": 175, + "column": 13 + }, + "end": { + "line": 175, + "column": 30 + } + }, + "object": { + "type": "MemberExpression", + "start": 3648, + "end": 3658, + "loc": { + "start": { + "line": 175, + "column": 13 + }, + "end": { + "line": 175, + "column": 23 + } + }, + "object": { + "type": "ThisExpression", + "start": 3648, + "end": 3652, + "loc": { + "start": { + "line": 175, + "column": 13 + }, + "end": { + "line": 175, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "start": 3653, + "end": 3658, + "loc": { + "start": { + "line": 175, + "column": 18 + }, + "end": { + "line": 175, + "column": 23 + }, + "identifierName": "state" + }, + "name": "state" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 3659, + "end": 3665, + "loc": { + "start": { + "line": 175, + "column": 24 + }, + "end": { + "line": 175, + "column": 30 + }, + "identifierName": "isOpen" + }, + "name": "isOpen" + }, + "computed": false + } + } + } + ], + "name": { + "type": "JSXIdentifier", + "start": 3455, + "end": 3466, + "loc": { + "start": { + "line": 169, + "column": 5 + }, + "end": { + "line": 169, + "column": 16 + } + }, + "name": "MagicSelect" + }, + "selfClosing": true + }, + "closingElement": null, + "children": [] + }, + { + "type": "JSXText", + "start": 3673, + "end": 3677, + "loc": { + "start": { + "line": 176, + "column": 6 + }, + "end": { + "line": 177, + "column": 3 + } + }, + "extra": null, + "value": "\n\t\t\t" + } + ], + "extra": { + "parenthesized": true, + "parenStart": 3192 + } + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n\t * Render MagicFieldGroup component\n\t * @return {*}\n\t ", + "start": 3109, + "end": 3170, + "loc": { + "start": { + "line": 152, + "column": 1 + }, + "end": { + "line": 155, + "column": 4 + } + } + } + ] + } + ], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Encapsulates a complete Magic Select field group including label and the type chooser and the input\n ", + "start": 330, + "end": 440, + "loc": { + "start": { + "line": 13, + "column": 0 + }, + "end": { + "line": 15, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Prop definitions for MagicFieldGroup component\n ", + "start": 3696, + "end": 3753, + "loc": { + "start": { + "line": 183, + "column": 0 + }, + "end": { + "line": 185, + "column": 3 + } + } + } + ] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Encapsulates a complete Magic Select field group including label and the type chooser and the input\n ", + "start": 330, + "end": 440, + "loc": { + "start": { + "line": 13, + "column": 0 + }, + "end": { + "line": 15, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Prop definitions for MagicFieldGroup component\n ", + "start": 3696, + "end": 3753, + "loc": { + "start": { + "line": 183, + "column": 0 + }, + "end": { + "line": 185, + "column": 3 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 3754, + "end": 4113, + "loc": { + "start": { + "line": 186, + "column": 0 + }, + "end": { + "line": 198, + "column": 2 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 3754, + "end": 4112, + "loc": { + "start": { + "line": 186, + "column": 0 + }, + "end": { + "line": 198, + "column": 1 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 3754, + "end": 3779, + "loc": { + "start": { + "line": 186, + "column": 0 + }, + "end": { + "line": 186, + "column": 25 + } + }, + "object": { + "type": "Identifier", + "start": 3754, + "end": 3769, + "loc": { + "start": { + "line": 186, + "column": 0 + }, + "end": { + "line": 186, + "column": 15 + }, + "identifierName": "MagicFieldGroup" + }, + "name": "MagicFieldGroup", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 3770, + "end": 3779, + "loc": { + "start": { + "line": 186, + "column": 16 + }, + "end": { + "line": 186, + "column": 25 + }, + "identifierName": "propTypes" + }, + "name": "propTypes" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "ObjectExpression", + "start": 3782, + "end": 4112, + "loc": { + "start": { + "line": 186, + "column": 28 + }, + "end": { + "line": 198, + "column": 1 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 3785, + "end": 3816, + "loc": { + "start": { + "line": 187, + "column": 1 + }, + "end": { + "line": 187, + "column": 32 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3785, + "end": 3787, + "loc": { + "start": { + "line": 187, + "column": 1 + }, + "end": { + "line": 187, + "column": 3 + }, + "identifierName": "id" + }, + "name": "id" + }, + "value": { + "type": "MemberExpression", + "start": 3789, + "end": 3816, + "loc": { + "start": { + "line": 187, + "column": 5 + }, + "end": { + "line": 187, + "column": 32 + } + }, + "object": { + "type": "MemberExpression", + "start": 3789, + "end": 3805, + "loc": { + "start": { + "line": 187, + "column": 5 + }, + "end": { + "line": 187, + "column": 21 + } + }, + "object": { + "type": "Identifier", + "start": 3789, + "end": 3798, + "loc": { + "start": { + "line": 187, + "column": 5 + }, + "end": { + "line": 187, + "column": 14 + }, + "identifierName": "PropTypes" + }, + "name": "PropTypes" + }, + "property": { + "type": "Identifier", + "start": 3799, + "end": 3805, + "loc": { + "start": { + "line": 187, + "column": 15 + }, + "end": { + "line": 187, + "column": 21 + }, + "identifierName": "string" + }, + "name": "string" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 3806, + "end": 3816, + "loc": { + "start": { + "line": 187, + "column": 22 + }, + "end": { + "line": 187, + "column": 32 + }, + "identifierName": "isRequired" + }, + "name": "isRequired" + }, + "computed": false + } + }, + { + "type": "ObjectProperty", + "start": 3819, + "end": 3847, + "loc": { + "start": { + "line": 188, + "column": 1 + }, + "end": { + "line": 188, + "column": 29 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3819, + "end": 3829, + "loc": { + "start": { + "line": 188, + "column": 1 + }, + "end": { + "line": 188, + "column": 11 + }, + "identifierName": "fieldsList" + }, + "name": "fieldsList" + }, + "value": { + "type": "Identifier", + "start": 3831, + "end": 3847, + "loc": { + "start": { + "line": 188, + "column": 13 + }, + "end": { + "line": 188, + "column": 29 + }, + "identifierName": "optionsShapeProp" + }, + "name": "optionsShapeProp" + } + }, + { + "type": "ObjectProperty", + "start": 3850, + "end": 3882, + "loc": { + "start": { + "line": 189, + "column": 1 + }, + "end": { + "line": 189, + "column": 33 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3850, + "end": 3864, + "loc": { + "start": { + "line": 189, + "column": 1 + }, + "end": { + "line": 189, + "column": 15 + }, + "identifierName": "systemTagsList" + }, + "name": "systemTagsList" + }, + "value": { + "type": "Identifier", + "start": 3866, + "end": 3882, + "loc": { + "start": { + "line": 189, + "column": 17 + }, + "end": { + "line": 189, + "column": 33 + }, + "identifierName": "optionsShapeProp" + }, + "name": "optionsShapeProp" + } + }, + { + "type": "ObjectProperty", + "start": 3885, + "end": 3910, + "loc": { + "start": { + "line": 190, + "column": 1 + }, + "end": { + "line": 190, + "column": 26 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3885, + "end": 3892, + "loc": { + "start": { + "line": 190, + "column": 1 + }, + "end": { + "line": 190, + "column": 8 + }, + "identifierName": "options" + }, + "name": "options" + }, + "value": { + "type": "Identifier", + "start": 3894, + "end": 3910, + "loc": { + "start": { + "line": 190, + "column": 10 + }, + "end": { + "line": 190, + "column": 26 + }, + "identifierName": "optionsShapeProp" + }, + "name": "optionsShapeProp" + } + }, + { + "type": "ObjectProperty", + "start": 3913, + "end": 3939, + "loc": { + "start": { + "line": 191, + "column": 1 + }, + "end": { + "line": 191, + "column": 27 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3913, + "end": 3923, + "loc": { + "start": { + "line": 191, + "column": 1 + }, + "end": { + "line": 191, + "column": 11 + }, + "identifierName": "isRequired" + }, + "name": "isRequired" + }, + "value": { + "type": "MemberExpression", + "start": 3925, + "end": 3939, + "loc": { + "start": { + "line": 191, + "column": 13 + }, + "end": { + "line": 191, + "column": 27 + } + }, + "object": { + "type": "Identifier", + "start": 3925, + "end": 3934, + "loc": { + "start": { + "line": 191, + "column": 13 + }, + "end": { + "line": 191, + "column": 22 + }, + "identifierName": "PropTypes" + }, + "name": "PropTypes" + }, + "property": { + "type": "Identifier", + "start": 3935, + "end": 3939, + "loc": { + "start": { + "line": 191, + "column": 23 + }, + "end": { + "line": 191, + "column": 27 + }, + "identifierName": "bool" + }, + "name": "bool" + }, + "computed": false + } + }, + { + "type": "ObjectProperty", + "start": 3942, + "end": 3964, + "loc": { + "start": { + "line": 192, + "column": 1 + }, + "end": { + "line": 192, + "column": 23 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3942, + "end": 3946, + "loc": { + "start": { + "line": 192, + "column": 1 + }, + "end": { + "line": 192, + "column": 5 + }, + "identifierName": "help" + }, + "name": "help" + }, + "value": { + "type": "MemberExpression", + "start": 3948, + "end": 3964, + "loc": { + "start": { + "line": 192, + "column": 7 + }, + "end": { + "line": 192, + "column": 23 + } + }, + "object": { + "type": "Identifier", + "start": 3948, + "end": 3957, + "loc": { + "start": { + "line": 192, + "column": 7 + }, + "end": { + "line": 192, + "column": 16 + }, + "identifierName": "PropTypes" + }, + "name": "PropTypes" + }, + "property": { + "type": "Identifier", + "start": 3958, + "end": 3964, + "loc": { + "start": { + "line": 192, + "column": 17 + }, + "end": { + "line": 192, + "column": 23 + }, + "identifierName": "string" + }, + "name": "string" + }, + "computed": false + } + }, + { + "type": "ObjectProperty", + "start": 3967, + "end": 3987, + "loc": { + "start": { + "line": 193, + "column": 1 + }, + "end": { + "line": 193, + "column": 21 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3967, + "end": 3972, + "loc": { + "start": { + "line": 193, + "column": 1 + }, + "end": { + "line": 193, + "column": 6 + }, + "identifierName": "value" + }, + "name": "value" + }, + "value": { + "type": "Identifier", + "start": 3974, + "end": 3987, + "loc": { + "start": { + "line": 193, + "column": 8 + }, + "end": { + "line": 193, + "column": 21 + }, + "identifierName": "valuePropType" + }, + "name": "valuePropType" + } + }, + { + "type": "ObjectProperty", + "start": 3990, + "end": 4026, + "loc": { + "start": { + "line": 194, + "column": 1 + }, + "end": { + "line": 194, + "column": 37 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 3990, + "end": 4003, + "loc": { + "start": { + "line": 194, + "column": 1 + }, + "end": { + "line": 194, + "column": 14 + }, + "identifierName": "onValueChange" + }, + "name": "onValueChange" + }, + "value": { + "type": "Identifier", + "start": 4005, + "end": 4026, + "loc": { + "start": { + "line": 194, + "column": 16 + }, + "end": { + "line": 194, + "column": 37 + }, + "identifierName": "onValueChangePropType" + }, + "name": "onValueChangePropType" + } + }, + { + "type": "ObjectProperty", + "start": 4029, + "end": 4053, + "loc": { + "start": { + "line": 195, + "column": 1 + }, + "end": { + "line": 195, + "column": 25 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 4029, + "end": 4037, + "loc": { + "start": { + "line": 195, + "column": 1 + }, + "end": { + "line": 195, + "column": 9 + }, + "identifierName": "disabled" + }, + "name": "disabled" + }, + "value": { + "type": "MemberExpression", + "start": 4039, + "end": 4053, + "loc": { + "start": { + "line": 195, + "column": 11 + }, + "end": { + "line": 195, + "column": 25 + } + }, + "object": { + "type": "Identifier", + "start": 4039, + "end": 4048, + "loc": { + "start": { + "line": 195, + "column": 11 + }, + "end": { + "line": 195, + "column": 20 + }, + "identifierName": "PropTypes" + }, + "name": "PropTypes" + }, + "property": { + "type": "Identifier", + "start": 4049, + "end": 4053, + "loc": { + "start": { + "line": 195, + "column": 21 + }, + "end": { + "line": 195, + "column": 25 + }, + "identifierName": "bool" + }, + "name": "bool" + }, + "computed": false + } + }, + { + "type": "ObjectProperty", + "start": 4056, + "end": 4085, + "loc": { + "start": { + "line": 196, + "column": 1 + }, + "end": { + "line": 196, + "column": 30 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 4056, + "end": 4067, + "loc": { + "start": { + "line": 196, + "column": 1 + }, + "end": { + "line": 196, + "column": 12 + }, + "identifierName": "defaultList" + }, + "name": "defaultList" + }, + "value": { + "type": "MemberExpression", + "start": 4069, + "end": 4085, + "loc": { + "start": { + "line": 196, + "column": 14 + }, + "end": { + "line": 196, + "column": 30 + } + }, + "object": { + "type": "Identifier", + "start": 4069, + "end": 4078, + "loc": { + "start": { + "line": 196, + "column": 14 + }, + "end": { + "line": 196, + "column": 23 + }, + "identifierName": "PropTypes" + }, + "name": "PropTypes" + }, + "property": { + "type": "Identifier", + "start": 4079, + "end": 4085, + "loc": { + "start": { + "line": 196, + "column": 24 + }, + "end": { + "line": 196, + "column": 30 + }, + "identifierName": "string" + }, + "name": "string" + }, + "computed": false + } + }, + { + "type": "ObjectProperty", + "start": 4088, + "end": 4110, + "loc": { + "start": { + "line": 197, + "column": 1 + }, + "end": { + "line": 197, + "column": 23 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 4088, + "end": 4094, + "loc": { + "start": { + "line": 197, + "column": 1 + }, + "end": { + "line": 197, + "column": 7 + }, + "identifierName": "isOpen" + }, + "name": "isOpen" + }, + "value": { + "type": "MemberExpression", + "start": 4096, + "end": 4110, + "loc": { + "start": { + "line": 197, + "column": 9 + }, + "end": { + "line": 197, + "column": 23 + } + }, + "object": { + "type": "Identifier", + "start": 4096, + "end": 4105, + "loc": { + "start": { + "line": 197, + "column": 9 + }, + "end": { + "line": 197, + "column": 18 + }, + "identifierName": "PropTypes" + }, + "name": "PropTypes" + }, + "property": { + "type": "Identifier", + "start": 4106, + "end": 4110, + "loc": { + "start": { + "line": 197, + "column": 19 + }, + "end": { + "line": 197, + "column": 23 + }, + "identifierName": "bool" + }, + "name": "bool" + }, + "computed": false + } + } + ] + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Prop definitions for MagicFieldGroup component\n ", + "start": 3696, + "end": 3753, + "loc": { + "start": { + "line": 183, + "column": 0 + }, + "end": { + "line": 185, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Default property values for MagicFieldGroup component\n *\n * @type {{}}\n ", + "start": 4115, + "end": 4196, + "loc": { + "start": { + "line": 200, + "column": 0 + }, + "end": { + "line": 204, + "column": 3 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 4197, + "end": 4272, + "loc": { + "start": { + "line": 205, + "column": 0 + }, + "end": { + "line": 208, + "column": 2 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 4197, + "end": 4271, + "loc": { + "start": { + "line": 205, + "column": 0 + }, + "end": { + "line": 208, + "column": 1 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 4197, + "end": 4225, + "loc": { + "start": { + "line": 205, + "column": 0 + }, + "end": { + "line": 205, + "column": 28 + } + }, + "object": { + "type": "Identifier", + "start": 4197, + "end": 4212, + "loc": { + "start": { + "line": 205, + "column": 0 + }, + "end": { + "line": 205, + "column": 15 + }, + "identifierName": "MagicFieldGroup" + }, + "name": "MagicFieldGroup", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 4213, + "end": 4225, + "loc": { + "start": { + "line": 205, + "column": 16 + }, + "end": { + "line": 205, + "column": 28 + }, + "identifierName": "defaultProps" + }, + "name": "defaultProps" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "ObjectExpression", + "start": 4228, + "end": 4271, + "loc": { + "start": { + "line": 205, + "column": 31 + }, + "end": { + "line": 208, + "column": 1 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 4231, + "end": 4252, + "loc": { + "start": { + "line": 206, + "column": 1 + }, + "end": { + "line": 206, + "column": 22 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 4231, + "end": 4242, + "loc": { + "start": { + "line": 206, + "column": 1 + }, + "end": { + "line": 206, + "column": 12 + }, + "identifierName": "defaultList" + }, + "name": "defaultList" + }, + "value": { + "type": "StringLiteral", + "start": 4244, + "end": 4252, + "loc": { + "start": { + "line": 206, + "column": 14 + }, + "end": { + "line": 206, + "column": 22 + } + }, + "extra": { + "rawValue": "fields", + "raw": "'fields'" + }, + "value": "fields" + } + }, + { + "type": "ObjectProperty", + "start": 4255, + "end": 4268, + "loc": { + "start": { + "line": 207, + "column": 1 + }, + "end": { + "line": 207, + "column": 14 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 4255, + "end": 4261, + "loc": { + "start": { + "line": 207, + "column": 1 + }, + "end": { + "line": 207, + "column": 7 + }, + "identifierName": "isOpen" + }, + "name": "isOpen" + }, + "value": { + "type": "BooleanLiteral", + "start": 4263, + "end": 4268, + "loc": { + "start": { + "line": 207, + "column": 9 + }, + "end": { + "line": 207, + "column": 14 + } + }, + "value": false + } + } + ] + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Default property values for MagicFieldGroup component\n *\n * @type {{}}\n ", + "start": 4115, + "end": 4196, + "loc": { + "start": { + "line": 200, + "column": 0 + }, + "end": { + "line": 204, + "column": 3 + } + } + } + ] + } + ], + "directives": [] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * Encapsulates a complete Magic Select field group including label and the type chooser and the input\n ", + "start": 330, + "end": 440, + "loc": { + "start": { + "line": 13, + "column": 0 + }, + "end": { + "line": 15, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n\t * Create a MagicFieldGroup component\n\t *\n\t * @param {Object} props\n\t ", + "start": 502, + "end": 579, + "loc": { + "start": { + "line": 18, + "column": 1 + }, + "end": { + "line": 22, + "column": 4 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n\t * Handle direct change events\n\t * @param {String|number} newValue\n\t ", + "start": 1146, + "end": 1222, + "loc": { + "start": { + "line": 40, + "column": 1 + }, + "end": { + "line": 43, + "column": 4 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n\t * Handle when the field gets focus\n\t ", + "start": 1288, + "end": 1333, + "loc": { + "start": { + "line": 48, + "column": 1 + }, + "end": { + "line": 50, + "column": 4 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n\t * Handle when the field is blurred\n\t ", + "start": 1390, + "end": 1435, + "loc": { + "start": { + "line": 55, + "column": 1 + }, + "end": { + "line": 57, + "column": 4 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n\t * Handle when the option is chosen\n\t * @param {String|number} value\n\t ", + "start": 1493, + "end": 1571, + "loc": { + "start": { + "line": 63, + "column": 1 + }, + "end": { + "line": 66, + "column": 4 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n\t * Update list of tags to show\n\t * @param {String}newType\n\t ", + "start": 1631, + "end": 1698, + "loc": { + "start": { + "line": 71, + "column": 1 + }, + "end": { + "line": 74, + "column": 4 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n\t * Render option\n\t *\n\t * @param {object} item\n\t * @param {bool} isHighlighted\n\t * @return {*}\n\t ", + "start": 1842, + "end": 1945, + "loc": { + "start": { + "line": 82, + "column": 1 + }, + "end": { + "line": 88, + "column": 4 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n\t * Create the list of items\n\t *\n\t * @return {Array}\n\t ", + "start": 2095, + "end": 2156, + "loc": { + "start": { + "line": 93, + "column": 1 + }, + "end": { + "line": 97, + "column": 4 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n\t * Options for type chooser\n\t *\n\t * @return {*[]}\n\t ", + "start": 2825, + "end": 2884, + "loc": { + "start": { + "line": 130, + "column": 1 + }, + "end": { + "line": 134, + "column": 4 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n\t * Render MagicFieldGroup component\n\t * @return {*}\n\t ", + "start": 3109, + "end": 3170, + "loc": { + "start": { + "line": 152, + "column": 1 + }, + "end": { + "line": 155, + "column": 4 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Prop definitions for MagicFieldGroup component\n ", + "start": 3696, + "end": 3753, + "loc": { + "start": { + "line": 183, + "column": 0 + }, + "end": { + "line": 185, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Default property values for MagicFieldGroup component\n *\n * @type {{}}\n ", + "start": 4115, + "end": 4196, + "loc": { + "start": { + "line": 200, + "column": 0 + }, + "end": { + "line": 204, + "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": "onValueChangePropType", + "start": 37, + "end": 58, + "loc": { + "start": { + "line": 3, + "column": 1 + }, + "end": { + "line": 3, + "column": 22 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 58, + "end": 59, + "loc": { + "start": { + "line": 3, + "column": 22 + }, + "end": { + "line": 3, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "optionsShapeProp", + "start": 61, + "end": 77, + "loc": { + "start": { + "line": 4, + "column": 1 + }, + "end": { + "line": 4, + "column": 17 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 77, + "end": 78, + "loc": { + "start": { + "line": 4, + "column": 17 + }, + "end": { + "line": 4, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "valuePropType", + "start": 80, + "end": 93, + "loc": { + "start": { + "line": 5, + "column": 1 + }, + "end": { + "line": 5, + "column": 14 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 94, + "end": 95, + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 6, + "column": 1 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 96, + "end": 100, + "loc": { + "start": { + "line": 6, + "column": 2 + }, + "end": { + "line": 6, + "column": 6 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "../propTypes", + "start": 101, + "end": 115, + "loc": { + "start": { + "line": 6, + "column": 7 + }, + "end": { + "line": 6, + "column": 21 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 115, + "end": 116, + "loc": { + "start": { + "line": 6, + "column": 21 + }, + "end": { + "line": 6, + "column": 22 + } + } + }, + { + "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": 117, + "end": 123, + "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": 124, + "end": 134, + "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": 135, + "end": 139, + "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": 140, + "end": 152, + "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": 152, + "end": 153, + "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": 154, + "end": 160, + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 8, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PropTypes", + "start": 161, + "end": 170, + "loc": { + "start": { + "line": 8, + "column": 7 + }, + "end": { + "line": 8, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 171, + "end": 175, + "loc": { + "start": { + "line": 8, + "column": 17 + }, + "end": { + "line": 8, + "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": 176, + "end": 188, + "loc": { + "start": { + "line": 8, + "column": 22 + }, + "end": { + "line": 8, + "column": 34 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 188, + "end": 189, + "loc": { + "start": { + "line": 8, + "column": 34 + }, + "end": { + "line": 8, + "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": 190, + "end": 196, + "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": 197, + "end": 198, + "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": "MagicItem", + "start": 198, + "end": 207, + "loc": { + "start": { + "line": 9, + "column": 8 + }, + "end": { + "line": 9, + "column": 17 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 207, + "end": 208, + "loc": { + "start": { + "line": 9, + "column": 17 + }, + "end": { + "line": 9, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 209, + "end": 213, + "loc": { + "start": { + "line": 9, + "column": 19 + }, + "end": { + "line": 9, + "column": 23 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./MagicItem", + "start": 214, + "end": 227, + "loc": { + "start": { + "line": 9, + "column": 24 + }, + "end": { + "line": 9, + "column": 37 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 227, + "end": 228, + "loc": { + "start": { + "line": 9, + "column": 37 + }, + "end": { + "line": 9, + "column": 38 + } + } + }, + { + "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": 229, + "end": 235, + "loc": { + "start": { + "line": 10, + "column": 0 + }, + "end": { + "line": 10, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 236, + "end": 237, + "loc": { + "start": { + "line": 10, + "column": 7 + }, + "end": { + "line": 10, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ButtonGroup", + "start": 237, + "end": 248, + "loc": { + "start": { + "line": 10, + "column": 8 + }, + "end": { + "line": 10, + "column": 19 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 248, + "end": 249, + "loc": { + "start": { + "line": 10, + "column": 19 + }, + "end": { + "line": 10, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 250, + "end": 254, + "loc": { + "start": { + "line": 10, + "column": 21 + }, + "end": { + "line": 10, + "column": 25 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "../button-group/ButtonGroup", + "start": 255, + "end": 284, + "loc": { + "start": { + "line": 10, + "column": 26 + }, + "end": { + "line": 10, + "column": 55 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 284, + "end": 285, + "loc": { + "start": { + "line": 10, + "column": 55 + }, + "end": { + "line": 10, + "column": 56 + } + } + }, + { + "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": 286, + "end": 292, + "loc": { + "start": { + "line": 11, + "column": 0 + }, + "end": { + "line": 11, + "column": 6 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 293, + "end": 294, + "loc": { + "start": { + "line": 11, + "column": 7 + }, + "end": { + "line": 11, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MagicSelect", + "start": 294, + "end": 305, + "loc": { + "start": { + "line": 11, + "column": 8 + }, + "end": { + "line": 11, + "column": 19 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 305, + "end": 306, + "loc": { + "start": { + "line": 11, + "column": 19 + }, + "end": { + "line": 11, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 307, + "end": 311, + "loc": { + "start": { + "line": 11, + "column": 21 + }, + "end": { + "line": 11, + "column": 25 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./MagicSelect", + "start": 312, + "end": 327, + "loc": { + "start": { + "line": 11, + "column": 26 + }, + "end": { + "line": 11, + "column": 41 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 327, + "end": 328, + "loc": { + "start": { + "line": 11, + "column": 41 + }, + "end": { + "line": 11, + "column": 42 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Encapsulates a complete Magic Select field group including label and the type chooser and the input\n ", + "start": 330, + "end": 440, + "loc": { + "start": { + "line": 13, + "column": 0 + }, + "end": { + "line": 15, + "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": 441, + "end": 447, + "loc": { + "start": { + "line": 16, + "column": 0 + }, + "end": { + "line": 16, + "column": 6 + } + } + }, + { + "type": { + "label": "class", + "keyword": "class", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "class", + "start": 448, + "end": 453, + "loc": { + "start": { + "line": 16, + "column": 7 + }, + "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": "MagicFieldGroup", + "start": 454, + "end": 469, + "loc": { + "start": { + "line": 16, + "column": 13 + }, + "end": { + "line": 16, + "column": 28 + } + } + }, + { + "type": { + "label": "extends", + "keyword": "extends", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "extends", + "start": 470, + "end": 477, + "loc": { + "start": { + "line": 16, + "column": 29 + }, + "end": { + "line": 16, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "React", + "start": 478, + "end": 483, + "loc": { + "start": { + "line": 16, + "column": 37 + }, + "end": { + "line": 16, + "column": 42 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 483, + "end": 484, + "loc": { + "start": { + "line": 16, + "column": 42 + }, + "end": { + "line": 16, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PureComponent", + "start": 484, + "end": 497, + "loc": { + "start": { + "line": 16, + "column": 43 + }, + "end": { + "line": 16, + "column": 56 + } + } + }, + { + "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": 16, + "column": 57 + }, + "end": { + "line": 16, + "column": 58 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n\t * Create a MagicFieldGroup component\n\t *\n\t * @param {Object} props\n\t ", + "start": 502, + "end": 579, + "loc": { + "start": { + "line": 18, + "column": 1 + }, + "end": { + "line": 22, + "column": 4 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "constructor", + "start": 581, + "end": 592, + "loc": { + "start": { + "line": 23, + "column": 1 + }, + "end": { + "line": 23, + "column": 12 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 592, + "end": 593, + "loc": { + "start": { + "line": 23, + "column": 12 + }, + "end": { + "line": 23, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "props", + "start": 593, + "end": 598, + "loc": { + "start": { + "line": 23, + "column": 13 + }, + "end": { + "line": 23, + "column": 18 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 598, + "end": 599, + "loc": { + "start": { + "line": 23, + "column": 18 + }, + "end": { + "line": 23, + "column": 19 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 600, + "end": 601, + "loc": { + "start": { + "line": 23, + "column": 20 + }, + "end": { + "line": 23, + "column": 21 + } + } + }, + { + "type": { + "label": "super", + "keyword": "super", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "super", + "start": 604, + "end": 609, + "loc": { + "start": { + "line": 24, + "column": 2 + }, + "end": { + "line": 24, + "column": 7 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 609, + "end": 610, + "loc": { + "start": { + "line": 24, + "column": 7 + }, + "end": { + "line": 24, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "props", + "start": 610, + "end": 615, + "loc": { + "start": { + "line": 24, + "column": 8 + }, + "end": { + "line": 24, + "column": 13 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 615, + "end": 616, + "loc": { + "start": { + "line": 24, + "column": 13 + }, + "end": { + "line": 24, + "column": 14 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 616, + "end": 617, + "loc": { + "start": { + "line": 24, + "column": 14 + }, + "end": { + "line": 24, + "column": 15 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 620, + "end": 624, + "loc": { + "start": { + "line": 25, + "column": 2 + }, + "end": { + "line": 25, + "column": 6 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 624, + "end": 625, + "loc": { + "start": { + "line": 25, + "column": 6 + }, + "end": { + "line": 25, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "state", + "start": 625, + "end": 630, + "loc": { + "start": { + "line": 25, + "column": 7 + }, + "end": { + "line": 25, + "column": 12 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 631, + "end": 632, + "loc": { + "start": { + "line": 25, + "column": 13 + }, + "end": { + "line": 25, + "column": 14 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 633, + "end": 634, + "loc": { + "start": { + "line": 25, + "column": 15 + }, + "end": { + "line": 25, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "currentListType", + "start": 638, + "end": 653, + "loc": { + "start": { + "line": 26, + "column": 3 + }, + "end": { + "line": 26, + "column": 18 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 653, + "end": 654, + "loc": { + "start": { + "line": 26, + "column": 18 + }, + "end": { + "line": 26, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "props", + "start": 655, + "end": 660, + "loc": { + "start": { + "line": 26, + "column": 20 + }, + "end": { + "line": 26, + "column": 25 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 660, + "end": 661, + "loc": { + "start": { + "line": 26, + "column": 25 + }, + "end": { + "line": 26, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "defaultList", + "start": 661, + "end": 672, + "loc": { + "start": { + "line": 26, + "column": 26 + }, + "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": 672, + "end": 673, + "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": "isOpen", + "start": 677, + "end": 683, + "loc": { + "start": { + "line": 27, + "column": 3 + }, + "end": { + "line": 27, + "column": 9 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 683, + "end": 684, + "loc": { + "start": { + "line": 27, + "column": 9 + }, + "end": { + "line": 27, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "props", + "start": 685, + "end": 690, + "loc": { + "start": { + "line": 27, + "column": 11 + }, + "end": { + "line": 27, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 690, + "end": 691, + "loc": { + "start": { + "line": 27, + "column": 16 + }, + "end": { + "line": 27, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isOpen", + "start": 691, + "end": 697, + "loc": { + "start": { + "line": 27, + "column": 17 + }, + "end": { + "line": 27, + "column": 23 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 700, + "end": 701, + "loc": { + "start": { + "line": 28, + "column": 2 + }, + "end": { + "line": 28, + "column": 3 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 701, + "end": 702, + "loc": { + "start": { + "line": 28, + "column": 3 + }, + "end": { + "line": 28, + "column": 4 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 705, + "end": 709, + "loc": { + "start": { + "line": 29, + "column": 2 + }, + "end": { + "line": 29, + "column": 6 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 709, + "end": 710, + "loc": { + "start": { + "line": 29, + "column": 6 + }, + "end": { + "line": 29, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onChange", + "start": 710, + "end": 718, + "loc": { + "start": { + "line": 29, + "column": 7 + }, + "end": { + "line": 29, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 719, + "end": 720, + "loc": { + "start": { + "line": 29, + "column": 16 + }, + "end": { + "line": 29, + "column": 17 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 721, + "end": 725, + "loc": { + "start": { + "line": 29, + "column": 18 + }, + "end": { + "line": 29, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 725, + "end": 726, + "loc": { + "start": { + "line": 29, + "column": 22 + }, + "end": { + "line": 29, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onChange", + "start": 726, + "end": 734, + "loc": { + "start": { + "line": 29, + "column": 23 + }, + "end": { + "line": 29, + "column": 31 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 734, + "end": 735, + "loc": { + "start": { + "line": 29, + "column": 31 + }, + "end": { + "line": 29, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bind", + "start": 735, + "end": 739, + "loc": { + "start": { + "line": 29, + "column": 32 + }, + "end": { + "line": 29, + "column": 36 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 739, + "end": 740, + "loc": { + "start": { + "line": 29, + "column": 36 + }, + "end": { + "line": 29, + "column": 37 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 740, + "end": 744, + "loc": { + "start": { + "line": 29, + "column": 37 + }, + "end": { + "line": 29, + "column": 41 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 744, + "end": 745, + "loc": { + "start": { + "line": 29, + "column": 41 + }, + "end": { + "line": 29, + "column": 42 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 745, + "end": 746, + "loc": { + "start": { + "line": 29, + "column": 42 + }, + "end": { + "line": 29, + "column": 43 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 749, + "end": 753, + "loc": { + "start": { + "line": 30, + "column": 2 + }, + "end": { + "line": 30, + "column": 6 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 753, + "end": 754, + "loc": { + "start": { + "line": 30, + "column": 6 + }, + "end": { + "line": 30, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "items", + "start": 754, + "end": 759, + "loc": { + "start": { + "line": 30, + "column": 7 + }, + "end": { + "line": 30, + "column": 12 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 760, + "end": 761, + "loc": { + "start": { + "line": 30, + "column": 13 + }, + "end": { + "line": 30, + "column": 14 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 762, + "end": 766, + "loc": { + "start": { + "line": 30, + "column": 15 + }, + "end": { + "line": 30, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 766, + "end": 767, + "loc": { + "start": { + "line": 30, + "column": 19 + }, + "end": { + "line": 30, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "items", + "start": 767, + "end": 772, + "loc": { + "start": { + "line": 30, + "column": 20 + }, + "end": { + "line": 30, + "column": 25 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 772, + "end": 773, + "loc": { + "start": { + "line": 30, + "column": 25 + }, + "end": { + "line": 30, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bind", + "start": 773, + "end": 777, + "loc": { + "start": { + "line": 30, + "column": 26 + }, + "end": { + "line": 30, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 777, + "end": 778, + "loc": { + "start": { + "line": 30, + "column": 30 + }, + "end": { + "line": 30, + "column": 31 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 778, + "end": 782, + "loc": { + "start": { + "line": 30, + "column": 31 + }, + "end": { + "line": 30, + "column": 35 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 782, + "end": 783, + "loc": { + "start": { + "line": 30, + "column": 35 + }, + "end": { + "line": 30, + "column": 36 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 783, + "end": 784, + "loc": { + "start": { + "line": 30, + "column": 36 + }, + "end": { + "line": 30, + "column": 37 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 787, + "end": 791, + "loc": { + "start": { + "line": 31, + "column": 2 + }, + "end": { + "line": 31, + "column": 6 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 791, + "end": 792, + "loc": { + "start": { + "line": 31, + "column": 6 + }, + "end": { + "line": 31, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onChange", + "start": 792, + "end": 800, + "loc": { + "start": { + "line": 31, + "column": 7 + }, + "end": { + "line": 31, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 801, + "end": 802, + "loc": { + "start": { + "line": 31, + "column": 16 + }, + "end": { + "line": 31, + "column": 17 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 803, + "end": 807, + "loc": { + "start": { + "line": 31, + "column": 18 + }, + "end": { + "line": 31, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 807, + "end": 808, + "loc": { + "start": { + "line": 31, + "column": 22 + }, + "end": { + "line": 31, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onChange", + "start": 808, + "end": 816, + "loc": { + "start": { + "line": 31, + "column": 23 + }, + "end": { + "line": 31, + "column": 31 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 816, + "end": 817, + "loc": { + "start": { + "line": 31, + "column": 31 + }, + "end": { + "line": 31, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bind", + "start": 817, + "end": 821, + "loc": { + "start": { + "line": 31, + "column": 32 + }, + "end": { + "line": 31, + "column": 36 + } + } + }, + { + "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": 31, + "column": 36 + }, + "end": { + "line": 31, + "column": 37 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 822, + "end": 826, + "loc": { + "start": { + "line": 31, + "column": 37 + }, + "end": { + "line": 31, + "column": 41 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 826, + "end": 827, + "loc": { + "start": { + "line": 31, + "column": 41 + }, + "end": { + "line": 31, + "column": 42 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 827, + "end": 828, + "loc": { + "start": { + "line": 31, + "column": 42 + }, + "end": { + "line": 31, + "column": 43 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 831, + "end": 835, + "loc": { + "start": { + "line": 32, + "column": 2 + }, + "end": { + "line": 32, + "column": 6 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 835, + "end": 836, + "loc": { + "start": { + "line": 32, + "column": 6 + }, + "end": { + "line": 32, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onSelect", + "start": 836, + "end": 844, + "loc": { + "start": { + "line": 32, + "column": 7 + }, + "end": { + "line": 32, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 845, + "end": 846, + "loc": { + "start": { + "line": 32, + "column": 16 + }, + "end": { + "line": 32, + "column": 17 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 847, + "end": 851, + "loc": { + "start": { + "line": 32, + "column": 18 + }, + "end": { + "line": 32, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 851, + "end": 852, + "loc": { + "start": { + "line": 32, + "column": 22 + }, + "end": { + "line": 32, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onSelect", + "start": 852, + "end": 860, + "loc": { + "start": { + "line": 32, + "column": 23 + }, + "end": { + "line": 32, + "column": 31 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 860, + "end": 861, + "loc": { + "start": { + "line": 32, + "column": 31 + }, + "end": { + "line": 32, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bind", + "start": 861, + "end": 865, + "loc": { + "start": { + "line": 32, + "column": 32 + }, + "end": { + "line": 32, + "column": 36 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 865, + "end": 866, + "loc": { + "start": { + "line": 32, + "column": 36 + }, + "end": { + "line": 32, + "column": 37 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 866, + "end": 870, + "loc": { + "start": { + "line": 32, + "column": 37 + }, + "end": { + "line": 32, + "column": 41 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 870, + "end": 871, + "loc": { + "start": { + "line": 32, + "column": 41 + }, + "end": { + "line": 32, + "column": 42 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 871, + "end": 872, + "loc": { + "start": { + "line": 32, + "column": 42 + }, + "end": { + "line": 32, + "column": 43 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 875, + "end": 879, + "loc": { + "start": { + "line": 33, + "column": 2 + }, + "end": { + "line": 33, + "column": 6 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 879, + "end": 880, + "loc": { + "start": { + "line": 33, + "column": 6 + }, + "end": { + "line": 33, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onInputFocus", + "start": 880, + "end": 892, + "loc": { + "start": { + "line": 33, + "column": 7 + }, + "end": { + "line": 33, + "column": 19 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 893, + "end": 894, + "loc": { + "start": { + "line": 33, + "column": 20 + }, + "end": { + "line": 33, + "column": 21 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 895, + "end": 899, + "loc": { + "start": { + "line": 33, + "column": 22 + }, + "end": { + "line": 33, + "column": 26 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 899, + "end": 900, + "loc": { + "start": { + "line": 33, + "column": 26 + }, + "end": { + "line": 33, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onInputFocus", + "start": 900, + "end": 912, + "loc": { + "start": { + "line": 33, + "column": 27 + }, + "end": { + "line": 33, + "column": 39 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 912, + "end": 913, + "loc": { + "start": { + "line": 33, + "column": 39 + }, + "end": { + "line": 33, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bind", + "start": 913, + "end": 917, + "loc": { + "start": { + "line": 33, + "column": 40 + }, + "end": { + "line": 33, + "column": 44 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 917, + "end": 918, + "loc": { + "start": { + "line": 33, + "column": 44 + }, + "end": { + "line": 33, + "column": 45 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 918, + "end": 922, + "loc": { + "start": { + "line": 33, + "column": 45 + }, + "end": { + "line": 33, + "column": 49 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 922, + "end": 923, + "loc": { + "start": { + "line": 33, + "column": 49 + }, + "end": { + "line": 33, + "column": 50 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 923, + "end": 924, + "loc": { + "start": { + "line": 33, + "column": 50 + }, + "end": { + "line": 33, + "column": 51 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 927, + "end": 931, + "loc": { + "start": { + "line": 34, + "column": 2 + }, + "end": { + "line": 34, + "column": 6 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 931, + "end": 932, + "loc": { + "start": { + "line": 34, + "column": 6 + }, + "end": { + "line": 34, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "renderItem", + "start": 932, + "end": 942, + "loc": { + "start": { + "line": 34, + "column": 7 + }, + "end": { + "line": 34, + "column": 17 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 943, + "end": 944, + "loc": { + "start": { + "line": 34, + "column": 18 + }, + "end": { + "line": 34, + "column": 19 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 945, + "end": 949, + "loc": { + "start": { + "line": 34, + "column": 20 + }, + "end": { + "line": 34, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 949, + "end": 950, + "loc": { + "start": { + "line": 34, + "column": 24 + }, + "end": { + "line": 34, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "renderItem", + "start": 950, + "end": 960, + "loc": { + "start": { + "line": 34, + "column": 25 + }, + "end": { + "line": 34, + "column": 35 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 960, + "end": 961, + "loc": { + "start": { + "line": 34, + "column": 35 + }, + "end": { + "line": 34, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bind", + "start": 961, + "end": 965, + "loc": { + "start": { + "line": 34, + "column": 36 + }, + "end": { + "line": 34, + "column": 40 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 965, + "end": 966, + "loc": { + "start": { + "line": 34, + "column": 40 + }, + "end": { + "line": 34, + "column": 41 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 966, + "end": 970, + "loc": { + "start": { + "line": 34, + "column": 41 + }, + "end": { + "line": 34, + "column": 45 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 970, + "end": 971, + "loc": { + "start": { + "line": 34, + "column": 45 + }, + "end": { + "line": 34, + "column": 46 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 971, + "end": 972, + "loc": { + "start": { + "line": 34, + "column": 46 + }, + "end": { + "line": 34, + "column": 47 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 975, + "end": 979, + "loc": { + "start": { + "line": 35, + "column": 2 + }, + "end": { + "line": 35, + "column": 6 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 979, + "end": 980, + "loc": { + "start": { + "line": 35, + "column": 6 + }, + "end": { + "line": 35, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onInputBlur", + "start": 980, + "end": 991, + "loc": { + "start": { + "line": 35, + "column": 7 + }, + "end": { + "line": 35, + "column": 18 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 992, + "end": 993, + "loc": { + "start": { + "line": 35, + "column": 19 + }, + "end": { + "line": 35, + "column": 20 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 994, + "end": 998, + "loc": { + "start": { + "line": 35, + "column": 21 + }, + "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": 998, + "end": 999, + "loc": { + "start": { + "line": 35, + "column": 25 + }, + "end": { + "line": 35, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onInputBlur", + "start": 999, + "end": 1010, + "loc": { + "start": { + "line": 35, + "column": 26 + }, + "end": { + "line": 35, + "column": 37 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1010, + "end": 1011, + "loc": { + "start": { + "line": 35, + "column": 37 + }, + "end": { + "line": 35, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bind", + "start": 1011, + "end": 1015, + "loc": { + "start": { + "line": 35, + "column": 38 + }, + "end": { + "line": 35, + "column": 42 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1015, + "end": 1016, + "loc": { + "start": { + "line": 35, + "column": 42 + }, + "end": { + "line": 35, + "column": 43 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1016, + "end": 1020, + "loc": { + "start": { + "line": 35, + "column": 43 + }, + "end": { + "line": 35, + "column": 47 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1020, + "end": 1021, + "loc": { + "start": { + "line": 35, + "column": 47 + }, + "end": { + "line": 35, + "column": 48 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1021, + "end": 1022, + "loc": { + "start": { + "line": 35, + "column": 48 + }, + "end": { + "line": 35, + "column": 49 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1025, + "end": 1029, + "loc": { + "start": { + "line": 36, + "column": 2 + }, + "end": { + "line": 36, + "column": 6 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1029, + "end": 1030, + "loc": { + "start": { + "line": 36, + "column": 6 + }, + "end": { + "line": 36, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onChangeListType", + "start": 1030, + "end": 1046, + "loc": { + "start": { + "line": 36, + "column": 7 + }, + "end": { + "line": 36, + "column": 23 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1047, + "end": 1048, + "loc": { + "start": { + "line": 36, + "column": 24 + }, + "end": { + "line": 36, + "column": 25 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1049, + "end": 1053, + "loc": { + "start": { + "line": 36, + "column": 26 + }, + "end": { + "line": 36, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1053, + "end": 1054, + "loc": { + "start": { + "line": 36, + "column": 30 + }, + "end": { + "line": 36, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onChangeListType", + "start": 1054, + "end": 1070, + "loc": { + "start": { + "line": 36, + "column": 31 + }, + "end": { + "line": 36, + "column": 47 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1070, + "end": 1071, + "loc": { + "start": { + "line": 36, + "column": 47 + }, + "end": { + "line": 36, + "column": 48 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bind", + "start": 1071, + "end": 1075, + "loc": { + "start": { + "line": 36, + "column": 48 + }, + "end": { + "line": 36, + "column": 52 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1075, + "end": 1076, + "loc": { + "start": { + "line": 36, + "column": 52 + }, + "end": { + "line": 36, + "column": 53 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1076, + "end": 1080, + "loc": { + "start": { + "line": 36, + "column": 53 + }, + "end": { + "line": 36, + "column": 57 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1080, + "end": 1081, + "loc": { + "start": { + "line": 36, + "column": 57 + }, + "end": { + "line": 36, + "column": 58 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1081, + "end": 1082, + "loc": { + "start": { + "line": 36, + "column": 58 + }, + "end": { + "line": 36, + "column": 59 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1085, + "end": 1089, + "loc": { + "start": { + "line": 37, + "column": 2 + }, + "end": { + "line": 37, + "column": 6 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1089, + "end": 1090, + "loc": { + "start": { + "line": 37, + "column": 6 + }, + "end": { + "line": 37, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "listTypeOptions", + "start": 1090, + "end": 1105, + "loc": { + "start": { + "line": 37, + "column": 7 + }, + "end": { + "line": 37, + "column": 22 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1106, + "end": 1107, + "loc": { + "start": { + "line": 37, + "column": 23 + }, + "end": { + "line": 37, + "column": 24 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1108, + "end": 1112, + "loc": { + "start": { + "line": 37, + "column": 25 + }, + "end": { + "line": 37, + "column": 29 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1112, + "end": 1113, + "loc": { + "start": { + "line": 37, + "column": 29 + }, + "end": { + "line": 37, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "listTypeOptions", + "start": 1113, + "end": 1128, + "loc": { + "start": { + "line": 37, + "column": 30 + }, + "end": { + "line": 37, + "column": 45 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1128, + "end": 1129, + "loc": { + "start": { + "line": 37, + "column": 45 + }, + "end": { + "line": 37, + "column": 46 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bind", + "start": 1129, + "end": 1133, + "loc": { + "start": { + "line": 37, + "column": 46 + }, + "end": { + "line": 37, + "column": 50 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1133, + "end": 1134, + "loc": { + "start": { + "line": 37, + "column": 50 + }, + "end": { + "line": 37, + "column": 51 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1134, + "end": 1138, + "loc": { + "start": { + "line": 37, + "column": 51 + }, + "end": { + "line": 37, + "column": 55 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1138, + "end": 1139, + "loc": { + "start": { + "line": 37, + "column": 55 + }, + "end": { + "line": 37, + "column": 56 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1139, + "end": 1140, + "loc": { + "start": { + "line": 37, + "column": 56 + }, + "end": { + "line": 37, + "column": 57 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1142, + "end": 1143, + "loc": { + "start": { + "line": 38, + "column": 1 + }, + "end": { + "line": 38, + "column": 2 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n\t * Handle direct change events\n\t * @param {String|number} newValue\n\t ", + "start": 1146, + "end": 1222, + "loc": { + "start": { + "line": 40, + "column": 1 + }, + "end": { + "line": 43, + "column": 4 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onChange", + "start": 1224, + "end": 1232, + "loc": { + "start": { + "line": 44, + "column": 1 + }, + "end": { + "line": 44, + "column": 9 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1232, + "end": 1233, + "loc": { + "start": { + "line": 44, + "column": 9 + }, + "end": { + "line": 44, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newValue", + "start": 1233, + "end": 1241, + "loc": { + "start": { + "line": 44, + "column": 10 + }, + "end": { + "line": 44, + "column": 18 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1241, + "end": 1242, + "loc": { + "start": { + "line": 44, + "column": 18 + }, + "end": { + "line": 44, + "column": 19 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1243, + "end": 1244, + "loc": { + "start": { + "line": 44, + "column": 20 + }, + "end": { + "line": 44, + "column": 21 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1247, + "end": 1251, + "loc": { + "start": { + "line": 45, + "column": 2 + }, + "end": { + "line": 45, + "column": 6 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1251, + "end": 1252, + "loc": { + "start": { + "line": 45, + "column": 6 + }, + "end": { + "line": 45, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "props", + "start": 1252, + "end": 1257, + "loc": { + "start": { + "line": 45, + "column": 7 + }, + "end": { + "line": 45, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1257, + "end": 1258, + "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": "onValueChange", + "start": 1258, + "end": 1271, + "loc": { + "start": { + "line": 45, + "column": 13 + }, + "end": { + "line": 45, + "column": 26 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1271, + "end": 1272, + "loc": { + "start": { + "line": 45, + "column": 26 + }, + "end": { + "line": 45, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newValue", + "start": 1272, + "end": 1280, + "loc": { + "start": { + "line": 45, + "column": 27 + }, + "end": { + "line": 45, + "column": 35 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1280, + "end": 1281, + "loc": { + "start": { + "line": 45, + "column": 35 + }, + "end": { + "line": 45, + "column": 36 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1281, + "end": 1282, + "loc": { + "start": { + "line": 45, + "column": 36 + }, + "end": { + "line": 45, + "column": 37 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1284, + "end": 1285, + "loc": { + "start": { + "line": 46, + "column": 1 + }, + "end": { + "line": 46, + "column": 2 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n\t * Handle when the field gets focus\n\t ", + "start": 1288, + "end": 1333, + "loc": { + "start": { + "line": 48, + "column": 1 + }, + "end": { + "line": 50, + "column": 4 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onInputFocus", + "start": 1335, + "end": 1347, + "loc": { + "start": { + "line": 51, + "column": 1 + }, + "end": { + "line": 51, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1347, + "end": 1348, + "loc": { + "start": { + "line": 51, + "column": 13 + }, + "end": { + "line": 51, + "column": 14 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1348, + "end": 1349, + "loc": { + "start": { + "line": 51, + "column": 14 + }, + "end": { + "line": 51, + "column": 15 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1350, + "end": 1351, + "loc": { + "start": { + "line": 51, + "column": 16 + }, + "end": { + "line": 51, + "column": 17 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1354, + "end": 1358, + "loc": { + "start": { + "line": 52, + "column": 2 + }, + "end": { + "line": 52, + "column": 6 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1358, + "end": 1359, + "loc": { + "start": { + "line": 52, + "column": 6 + }, + "end": { + "line": 52, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setState", + "start": 1359, + "end": 1367, + "loc": { + "start": { + "line": 52, + "column": 7 + }, + "end": { + "line": 52, + "column": 15 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1367, + "end": 1368, + "loc": { + "start": { + "line": 52, + "column": 15 + }, + "end": { + "line": 52, + "column": 16 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1368, + "end": 1369, + "loc": { + "start": { + "line": 52, + "column": 16 + }, + "end": { + "line": 52, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isOpen", + "start": 1369, + "end": 1375, + "loc": { + "start": { + "line": 52, + "column": 17 + }, + "end": { + "line": 52, + "column": 23 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1375, + "end": 1376, + "loc": { + "start": { + "line": 52, + "column": 23 + }, + "end": { + "line": 52, + "column": 24 + } + } + }, + { + "type": { + "label": "true", + "keyword": "true", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "true", + "start": 1377, + "end": 1381, + "loc": { + "start": { + "line": 52, + "column": 25 + }, + "end": { + "line": 52, + "column": 29 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1381, + "end": 1382, + "loc": { + "start": { + "line": 52, + "column": 29 + }, + "end": { + "line": 52, + "column": 30 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1382, + "end": 1383, + "loc": { + "start": { + "line": 52, + "column": 30 + }, + "end": { + "line": 52, + "column": 31 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1383, + "end": 1384, + "loc": { + "start": { + "line": 52, + "column": 31 + }, + "end": { + "line": 52, + "column": 32 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1386, + "end": 1387, + "loc": { + "start": { + "line": 53, + "column": 1 + }, + "end": { + "line": 53, + "column": 2 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n\t * Handle when the field is blurred\n\t ", + "start": 1390, + "end": 1435, + "loc": { + "start": { + "line": 55, + "column": 1 + }, + "end": { + "line": 57, + "column": 4 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onInputBlur", + "start": 1437, + "end": 1448, + "loc": { + "start": { + "line": 58, + "column": 1 + }, + "end": { + "line": 58, + "column": 12 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1448, + "end": 1449, + "loc": { + "start": { + "line": 58, + "column": 12 + }, + "end": { + "line": 58, + "column": 13 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1449, + "end": 1450, + "loc": { + "start": { + "line": 58, + "column": 13 + }, + "end": { + "line": 58, + "column": 14 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1451, + "end": 1452, + "loc": { + "start": { + "line": 58, + "column": 15 + }, + "end": { + "line": 58, + "column": 16 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1455, + "end": 1459, + "loc": { + "start": { + "line": 59, + "column": 2 + }, + "end": { + "line": 59, + "column": 6 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1459, + "end": 1460, + "loc": { + "start": { + "line": 59, + "column": 6 + }, + "end": { + "line": 59, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setState", + "start": 1460, + "end": 1468, + "loc": { + "start": { + "line": 59, + "column": 7 + }, + "end": { + "line": 59, + "column": 15 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1468, + "end": 1469, + "loc": { + "start": { + "line": 59, + "column": 15 + }, + "end": { + "line": 59, + "column": 16 + } + } + }, + { + "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": 59, + "column": 16 + }, + "end": { + "line": 59, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isOpen", + "start": 1470, + "end": 1476, + "loc": { + "start": { + "line": 59, + "column": 17 + }, + "end": { + "line": 59, + "column": 23 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1476, + "end": 1477, + "loc": { + "start": { + "line": 59, + "column": 23 + }, + "end": { + "line": 59, + "column": 24 + } + } + }, + { + "type": { + "label": "false", + "keyword": "false", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "false", + "start": 1478, + "end": 1483, + "loc": { + "start": { + "line": 59, + "column": 25 + }, + "end": { + "line": 59, + "column": 30 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1483, + "end": 1484, + "loc": { + "start": { + "line": 59, + "column": 30 + }, + "end": { + "line": 59, + "column": 31 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1484, + "end": 1485, + "loc": { + "start": { + "line": 59, + "column": 31 + }, + "end": { + "line": 59, + "column": 32 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1485, + "end": 1486, + "loc": { + "start": { + "line": 59, + "column": 32 + }, + "end": { + "line": 59, + "column": 33 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1488, + "end": 1489, + "loc": { + "start": { + "line": 60, + "column": 1 + }, + "end": { + "line": 60, + "column": 2 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n\t * Handle when the option is chosen\n\t * @param {String|number} value\n\t ", + "start": 1493, + "end": 1571, + "loc": { + "start": { + "line": 63, + "column": 1 + }, + "end": { + "line": 66, + "column": 4 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onSelect", + "start": 1573, + "end": 1581, + "loc": { + "start": { + "line": 67, + "column": 1 + }, + "end": { + "line": 67, + "column": 9 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1581, + "end": 1582, + "loc": { + "start": { + "line": 67, + "column": 9 + }, + "end": { + "line": 67, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "value", + "start": 1582, + "end": 1587, + "loc": { + "start": { + "line": 67, + "column": 10 + }, + "end": { + "line": 67, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1587, + "end": 1588, + "loc": { + "start": { + "line": 67, + "column": 15 + }, + "end": { + "line": 67, + "column": 16 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1589, + "end": 1590, + "loc": { + "start": { + "line": 67, + "column": 17 + }, + "end": { + "line": 67, + "column": 18 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1593, + "end": 1597, + "loc": { + "start": { + "line": 68, + "column": 2 + }, + "end": { + "line": 68, + "column": 6 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1597, + "end": 1598, + "loc": { + "start": { + "line": 68, + "column": 6 + }, + "end": { + "line": 68, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "props", + "start": 1598, + "end": 1603, + "loc": { + "start": { + "line": 68, + "column": 7 + }, + "end": { + "line": 68, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1603, + "end": 1604, + "loc": { + "start": { + "line": 68, + "column": 12 + }, + "end": { + "line": 68, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onValueChange", + "start": 1604, + "end": 1617, + "loc": { + "start": { + "line": 68, + "column": 13 + }, + "end": { + "line": 68, + "column": 26 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1617, + "end": 1618, + "loc": { + "start": { + "line": 68, + "column": 26 + }, + "end": { + "line": 68, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "value", + "start": 1618, + "end": 1623, + "loc": { + "start": { + "line": 68, + "column": 27 + }, + "end": { + "line": 68, + "column": 32 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1623, + "end": 1624, + "loc": { + "start": { + "line": 68, + "column": 32 + }, + "end": { + "line": 68, + "column": 33 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1624, + "end": 1625, + "loc": { + "start": { + "line": 68, + "column": 33 + }, + "end": { + "line": 68, + "column": 34 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1627, + "end": 1628, + "loc": { + "start": { + "line": 69, + "column": 1 + }, + "end": { + "line": 69, + "column": 2 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n\t * Update list of tags to show\n\t * @param {String}newType\n\t ", + "start": 1631, + "end": 1698, + "loc": { + "start": { + "line": 71, + "column": 1 + }, + "end": { + "line": 74, + "column": 4 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onChangeListType", + "start": 1700, + "end": 1716, + "loc": { + "start": { + "line": 75, + "column": 1 + }, + "end": { + "line": 75, + "column": 17 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1716, + "end": 1717, + "loc": { + "start": { + "line": 75, + "column": 17 + }, + "end": { + "line": 75, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newType", + "start": 1717, + "end": 1724, + "loc": { + "start": { + "line": 75, + "column": 18 + }, + "end": { + "line": 75, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1724, + "end": 1725, + "loc": { + "start": { + "line": 75, + "column": 25 + }, + "end": { + "line": 75, + "column": 26 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1725, + "end": 1726, + "loc": { + "start": { + "line": 75, + "column": 26 + }, + "end": { + "line": 75, + "column": 27 + } + } + }, + { + "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": 1729, + "end": 1731, + "loc": { + "start": { + "line": 76, + "column": 2 + }, + "end": { + "line": 76, + "column": 4 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1731, + "end": 1732, + "loc": { + "start": { + "line": 76, + "column": 4 + }, + "end": { + "line": 76, + "column": 5 + } + } + }, + { + "type": { + "label": "prefix", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": true, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "!", + "start": 1733, + "end": 1734, + "loc": { + "start": { + "line": 76, + "column": 6 + }, + "end": { + "line": 76, + "column": 7 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1735, + "end": 1739, + "loc": { + "start": { + "line": 76, + "column": 8 + }, + "end": { + "line": 76, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1739, + "end": 1740, + "loc": { + "start": { + "line": 76, + "column": 12 + }, + "end": { + "line": 76, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "state", + "start": 1740, + "end": 1745, + "loc": { + "start": { + "line": 76, + "column": 13 + }, + "end": { + "line": 76, + "column": 18 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1745, + "end": 1746, + "loc": { + "start": { + "line": 76, + "column": 18 + }, + "end": { + "line": 76, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isOpen", + "start": 1746, + "end": 1752, + "loc": { + "start": { + "line": 76, + "column": 19 + }, + "end": { + "line": 76, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1753, + "end": 1754, + "loc": { + "start": { + "line": 76, + "column": 26 + }, + "end": { + "line": 76, + "column": 27 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1754, + "end": 1755, + "loc": { + "start": { + "line": 76, + "column": 27 + }, + "end": { + "line": 76, + "column": 28 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1759, + "end": 1763, + "loc": { + "start": { + "line": 77, + "column": 3 + }, + "end": { + "line": 77, + "column": 7 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1763, + "end": 1764, + "loc": { + "start": { + "line": 77, + "column": 7 + }, + "end": { + "line": 77, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setState", + "start": 1764, + "end": 1772, + "loc": { + "start": { + "line": 77, + "column": 8 + }, + "end": { + "line": 77, + "column": 16 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1772, + "end": 1773, + "loc": { + "start": { + "line": 77, + "column": 16 + }, + "end": { + "line": 77, + "column": 17 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1773, + "end": 1774, + "loc": { + "start": { + "line": 77, + "column": 17 + }, + "end": { + "line": 77, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isOpen", + "start": 1774, + "end": 1780, + "loc": { + "start": { + "line": 77, + "column": 18 + }, + "end": { + "line": 77, + "column": 24 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1780, + "end": 1781, + "loc": { + "start": { + "line": 77, + "column": 24 + }, + "end": { + "line": 77, + "column": 25 + } + } + }, + { + "type": { + "label": "true", + "keyword": "true", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "true", + "start": 1781, + "end": 1785, + "loc": { + "start": { + "line": 77, + "column": 25 + }, + "end": { + "line": 77, + "column": 29 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1785, + "end": 1786, + "loc": { + "start": { + "line": 77, + "column": 29 + }, + "end": { + "line": 77, + "column": 30 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1786, + "end": 1787, + "loc": { + "start": { + "line": 77, + "column": 30 + }, + "end": { + "line": 77, + "column": 31 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1787, + "end": 1788, + "loc": { + "start": { + "line": 77, + "column": 31 + }, + "end": { + "line": 77, + "column": 32 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1791, + "end": 1792, + "loc": { + "start": { + "line": 78, + "column": 2 + }, + "end": { + "line": 78, + "column": 3 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1795, + "end": 1799, + "loc": { + "start": { + "line": 79, + "column": 2 + }, + "end": { + "line": 79, + "column": 6 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1799, + "end": 1800, + "loc": { + "start": { + "line": 79, + "column": 6 + }, + "end": { + "line": 79, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "setState", + "start": 1800, + "end": 1808, + "loc": { + "start": { + "line": 79, + "column": 7 + }, + "end": { + "line": 79, + "column": 15 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1808, + "end": 1809, + "loc": { + "start": { + "line": 79, + "column": 15 + }, + "end": { + "line": 79, + "column": 16 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1809, + "end": 1810, + "loc": { + "start": { + "line": 79, + "column": 16 + }, + "end": { + "line": 79, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "currentListType", + "start": 1810, + "end": 1825, + "loc": { + "start": { + "line": 79, + "column": 17 + }, + "end": { + "line": 79, + "column": 32 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1825, + "end": 1826, + "loc": { + "start": { + "line": 79, + "column": 32 + }, + "end": { + "line": 79, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "newType", + "start": 1826, + "end": 1833, + "loc": { + "start": { + "line": 79, + "column": 33 + }, + "end": { + "line": 79, + "column": 40 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1833, + "end": 1834, + "loc": { + "start": { + "line": 79, + "column": 40 + }, + "end": { + "line": 79, + "column": 41 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1834, + "end": 1835, + "loc": { + "start": { + "line": 79, + "column": 41 + }, + "end": { + "line": 79, + "column": 42 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1835, + "end": 1836, + "loc": { + "start": { + "line": 79, + "column": 42 + }, + "end": { + "line": 79, + "column": 43 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1838, + "end": 1839, + "loc": { + "start": { + "line": 80, + "column": 1 + }, + "end": { + "line": 80, + "column": 2 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n\t * Render option\n\t *\n\t * @param {object} item\n\t * @param {bool} isHighlighted\n\t * @return {*}\n\t ", + "start": 1842, + "end": 1945, + "loc": { + "start": { + "line": 82, + "column": 1 + }, + "end": { + "line": 88, + "column": 4 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "renderItem", + "start": 1947, + "end": 1957, + "loc": { + "start": { + "line": 89, + "column": 1 + }, + "end": { + "line": 89, + "column": 11 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1957, + "end": 1958, + "loc": { + "start": { + "line": 89, + "column": 11 + }, + "end": { + "line": 89, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "item", + "start": 1958, + "end": 1962, + "loc": { + "start": { + "line": 89, + "column": 12 + }, + "end": { + "line": 89, + "column": 16 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1962, + "end": 1963, + "loc": { + "start": { + "line": 89, + "column": 16 + }, + "end": { + "line": 89, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isHighlighted", + "start": 1964, + "end": 1977, + "loc": { + "start": { + "line": 89, + "column": 18 + }, + "end": { + "line": 89, + "column": 31 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1977, + "end": 1978, + "loc": { + "start": { + "line": 89, + "column": 31 + }, + "end": { + "line": 89, + "column": 32 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1978, + "end": 1979, + "loc": { + "start": { + "line": 89, + "column": 32 + }, + "end": { + "line": 89, + "column": 33 + } + } + }, + { + "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": 1982, + "end": 1988, + "loc": { + "start": { + "line": 90, + "column": 2 + }, + "end": { + "line": 90, + "column": 8 + } + } + }, + { + "type": { + "label": "jsxTagStart", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1989, + "end": 1990, + "loc": { + "start": { + "line": 90, + "column": 9 + }, + "end": { + "line": 90, + "column": 10 + } + } + }, + { + "type": { + "label": "jsxName", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "MagicItem", + "start": 1990, + "end": 1999, + "loc": { + "start": { + "line": 90, + "column": 10 + }, + "end": { + "line": 90, + "column": 19 + } + } + }, + { + "type": { + "label": "jsxName", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "item", + "start": 2000, + "end": 2004, + "loc": { + "start": { + "line": 90, + "column": 20 + }, + "end": { + "line": 90, + "column": 24 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2004, + "end": 2005, + "loc": { + "start": { + "line": 90, + "column": 24 + }, + "end": { + "line": 90, + "column": 25 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2005, + "end": 2006, + "loc": { + "start": { + "line": 90, + "column": 25 + }, + "end": { + "line": 90, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "item", + "start": 2006, + "end": 2010, + "loc": { + "start": { + "line": 90, + "column": 26 + }, + "end": { + "line": 90, + "column": 30 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2010, + "end": 2011, + "loc": { + "start": { + "line": 90, + "column": 30 + }, + "end": { + "line": 90, + "column": 31 + } + } + }, + { + "type": { + "label": "jsxName", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "isHighlighted", + "start": 2012, + "end": 2025, + "loc": { + "start": { + "line": 90, + "column": 32 + }, + "end": { + "line": 90, + "column": 45 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2025, + "end": 2026, + "loc": { + "start": { + "line": 90, + "column": 45 + }, + "end": { + "line": 90, + "column": 46 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2026, + "end": 2027, + "loc": { + "start": { + "line": 90, + "column": 46 + }, + "end": { + "line": 90, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isHighlighted", + "start": 2027, + "end": 2040, + "loc": { + "start": { + "line": 90, + "column": 47 + }, + "end": { + "line": 90, + "column": 60 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2040, + "end": 2041, + "loc": { + "start": { + "line": 90, + "column": 60 + }, + "end": { + "line": 90, + "column": 61 + } + } + }, + { + "type": { + "label": "jsxName", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "innerKey", + "start": 2042, + "end": 2050, + "loc": { + "start": { + "line": 90, + "column": 62 + }, + "end": { + "line": 90, + "column": 70 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2050, + "end": 2051, + "loc": { + "start": { + "line": 90, + "column": 70 + }, + "end": { + "line": 90, + "column": 71 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2051, + "end": 2052, + "loc": { + "start": { + "line": 90, + "column": 71 + }, + "end": { + "line": 90, + "column": 72 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "item", + "start": 2052, + "end": 2056, + "loc": { + "start": { + "line": 90, + "column": 72 + }, + "end": { + "line": 90, + "column": 76 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2056, + "end": 2057, + "loc": { + "start": { + "line": 90, + "column": 76 + }, + "end": { + "line": 90, + "column": 77 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "innerKey", + "start": 2057, + "end": 2065, + "loc": { + "start": { + "line": 90, + "column": 77 + }, + "end": { + "line": 90, + "column": 85 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2065, + "end": 2066, + "loc": { + "start": { + "line": 90, + "column": 85 + }, + "end": { + "line": 90, + "column": 86 + } + } + }, + { + "type": { + "label": "jsxName", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "key", + "start": 2067, + "end": 2070, + "loc": { + "start": { + "line": 90, + "column": 87 + }, + "end": { + "line": 90, + "column": 90 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2070, + "end": 2071, + "loc": { + "start": { + "line": 90, + "column": 90 + }, + "end": { + "line": 90, + "column": 91 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2071, + "end": 2072, + "loc": { + "start": { + "line": 90, + "column": 91 + }, + "end": { + "line": 90, + "column": 92 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "item", + "start": 2072, + "end": 2076, + "loc": { + "start": { + "line": 90, + "column": 92 + }, + "end": { + "line": 90, + "column": 96 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2076, + "end": 2077, + "loc": { + "start": { + "line": 90, + "column": 96 + }, + "end": { + "line": 90, + "column": 97 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "innerKey", + "start": 2077, + "end": 2085, + "loc": { + "start": { + "line": 90, + "column": 97 + }, + "end": { + "line": 90, + "column": 105 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2085, + "end": 2086, + "loc": { + "start": { + "line": 90, + "column": 105 + }, + "end": { + "line": 90, + "column": 106 + } + } + }, + { + "type": { + "label": "/", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "/", + "start": 2087, + "end": 2088, + "loc": { + "start": { + "line": 90, + "column": 107 + }, + "end": { + "line": 90, + "column": 108 + } + } + }, + { + "type": { + "label": "jsxTagEnd", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2088, + "end": 2089, + "loc": { + "start": { + "line": 90, + "column": 108 + }, + "end": { + "line": 90, + "column": 109 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2091, + "end": 2092, + "loc": { + "start": { + "line": 91, + "column": 1 + }, + "end": { + "line": 91, + "column": 2 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n\t * Create the list of items\n\t *\n\t * @return {Array}\n\t ", + "start": 2095, + "end": 2156, + "loc": { + "start": { + "line": 93, + "column": 1 + }, + "end": { + "line": 97, + "column": 4 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "items", + "start": 2158, + "end": 2163, + "loc": { + "start": { + "line": 98, + "column": 1 + }, + "end": { + "line": 98, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2163, + "end": 2164, + "loc": { + "start": { + "line": 98, + "column": 6 + }, + "end": { + "line": 98, + "column": 7 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2164, + "end": 2165, + "loc": { + "start": { + "line": 98, + "column": 7 + }, + "end": { + "line": 98, + "column": 8 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2166, + "end": 2167, + "loc": { + "start": { + "line": 98, + "column": 9 + }, + "end": { + "line": 98, + "column": 10 + } + } + }, + { + "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": 2170, + "end": 2175, + "loc": { + "start": { + "line": 99, + "column": 2 + }, + "end": { + "line": 99, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "optionsOrEmpty", + "start": 2176, + "end": 2190, + "loc": { + "start": { + "line": 99, + "column": 8 + }, + "end": { + "line": 99, + "column": 22 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2191, + "end": 2192, + "loc": { + "start": { + "line": 99, + "column": 23 + }, + "end": { + "line": 99, + "column": 24 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2192, + "end": 2193, + "loc": { + "start": { + "line": 99, + "column": 24 + }, + "end": { + "line": 99, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 2193, + "end": 2200, + "loc": { + "start": { + "line": 99, + "column": 25 + }, + "end": { + "line": 99, + "column": 32 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2200, + "end": 2201, + "loc": { + "start": { + "line": 99, + "column": 32 + }, + "end": { + "line": 99, + "column": 33 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2202, + "end": 2204, + "loc": { + "start": { + "line": 99, + "column": 34 + }, + "end": { + "line": 99, + "column": 36 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2205, + "end": 2206, + "loc": { + "start": { + "line": 99, + "column": 37 + }, + "end": { + "line": 99, + "column": 38 + } + } + }, + { + "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": 2210, + "end": 2216, + "loc": { + "start": { + "line": 100, + "column": 3 + }, + "end": { + "line": 100, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Array", + "start": 2217, + "end": 2222, + "loc": { + "start": { + "line": 100, + "column": 10 + }, + "end": { + "line": 100, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2222, + "end": 2223, + "loc": { + "start": { + "line": 100, + "column": 15 + }, + "end": { + "line": 100, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isArray", + "start": 2223, + "end": 2230, + "loc": { + "start": { + "line": 100, + "column": 16 + }, + "end": { + "line": 100, + "column": 23 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2230, + "end": 2231, + "loc": { + "start": { + "line": 100, + "column": 23 + }, + "end": { + "line": 100, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 2231, + "end": 2238, + "loc": { + "start": { + "line": 100, + "column": 24 + }, + "end": { + "line": 100, + "column": 31 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2238, + "end": 2239, + "loc": { + "start": { + "line": 100, + "column": 31 + }, + "end": { + "line": 100, + "column": 32 + } + } + }, + { + "type": { + "label": "&&", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 2, + "updateContext": null + }, + "value": "&&", + "start": 2240, + "end": 2242, + "loc": { + "start": { + "line": 100, + "column": 33 + }, + "end": { + "line": 100, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 2243, + "end": 2250, + "loc": { + "start": { + "line": 100, + "column": 36 + }, + "end": { + "line": 100, + "column": 43 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2250, + "end": 2251, + "loc": { + "start": { + "line": 100, + "column": 43 + }, + "end": { + "line": 100, + "column": 44 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 2251, + "end": 2257, + "loc": { + "start": { + "line": 100, + "column": 44 + }, + "end": { + "line": 100, + "column": 50 + } + } + }, + { + "type": { + "label": "?", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2258, + "end": 2259, + "loc": { + "start": { + "line": 100, + "column": 51 + }, + "end": { + "line": 100, + "column": 52 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 2260, + "end": 2267, + "loc": { + "start": { + "line": 100, + "column": 53 + }, + "end": { + "line": 100, + "column": 60 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2268, + "end": 2269, + "loc": { + "start": { + "line": 100, + "column": 61 + }, + "end": { + "line": 100, + "column": 62 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2270, + "end": 2271, + "loc": { + "start": { + "line": 100, + "column": 63 + }, + "end": { + "line": 100, + "column": 64 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2271, + "end": 2272, + "loc": { + "start": { + "line": 100, + "column": 64 + }, + "end": { + "line": 100, + "column": 65 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2272, + "end": 2273, + "loc": { + "start": { + "line": 100, + "column": 65 + }, + "end": { + "line": 100, + "column": 66 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2276, + "end": 2277, + "loc": { + "start": { + "line": 101, + "column": 2 + }, + "end": { + "line": 101, + "column": 3 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2277, + "end": 2278, + "loc": { + "start": { + "line": 101, + "column": 3 + }, + "end": { + "line": 101, + "column": 4 + } + } + }, + { + "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": 2282, + "end": 2285, + "loc": { + "start": { + "line": 103, + "column": 2 + }, + "end": { + "line": 103, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "items", + "start": 2286, + "end": 2291, + "loc": { + "start": { + "line": 103, + "column": 6 + }, + "end": { + "line": 103, + "column": 11 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2292, + "end": 2293, + "loc": { + "start": { + "line": 103, + "column": 12 + }, + "end": { + "line": 103, + "column": 13 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2294, + "end": 2295, + "loc": { + "start": { + "line": 103, + "column": 14 + }, + "end": { + "line": 103, + "column": 15 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2295, + "end": 2296, + "loc": { + "start": { + "line": 103, + "column": 15 + }, + "end": { + "line": 103, + "column": 16 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2296, + "end": 2297, + "loc": { + "start": { + "line": 103, + "column": 16 + }, + "end": { + "line": 103, + "column": 17 + } + } + }, + { + "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": 2301, + "end": 2303, + "loc": { + "start": { + "line": 105, + "column": 2 + }, + "end": { + "line": 105, + "column": 4 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2303, + "end": 2304, + "loc": { + "start": { + "line": 105, + "column": 4 + }, + "end": { + "line": 105, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "optionsOrEmpty", + "start": 2305, + "end": 2319, + "loc": { + "start": { + "line": 105, + "column": 6 + }, + "end": { + "line": 105, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2319, + "end": 2320, + "loc": { + "start": { + "line": 105, + "column": 20 + }, + "end": { + "line": 105, + "column": 21 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2320, + "end": 2324, + "loc": { + "start": { + "line": 105, + "column": 21 + }, + "end": { + "line": 105, + "column": 25 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2324, + "end": 2325, + "loc": { + "start": { + "line": 105, + "column": 25 + }, + "end": { + "line": 105, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "props", + "start": 2325, + "end": 2330, + "loc": { + "start": { + "line": 105, + "column": 26 + }, + "end": { + "line": 105, + "column": 31 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2330, + "end": 2331, + "loc": { + "start": { + "line": 105, + "column": 31 + }, + "end": { + "line": 105, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 2331, + "end": 2338, + "loc": { + "start": { + "line": 105, + "column": 32 + }, + "end": { + "line": 105, + "column": 39 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2338, + "end": 2339, + "loc": { + "start": { + "line": 105, + "column": 39 + }, + "end": { + "line": 105, + "column": 40 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2339, + "end": 2340, + "loc": { + "start": { + "line": 105, + "column": 40 + }, + "end": { + "line": 105, + "column": 41 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 2340, + "end": 2346, + "loc": { + "start": { + "line": 105, + "column": 41 + }, + "end": { + "line": 105, + "column": 47 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2346, + "end": 2347, + "loc": { + "start": { + "line": 105, + "column": 47 + }, + "end": { + "line": 105, + "column": 48 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2347, + "end": 2348, + "loc": { + "start": { + "line": 105, + "column": 48 + }, + "end": { + "line": 105, + "column": 49 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "items", + "start": 2352, + "end": 2357, + "loc": { + "start": { + "line": 106, + "column": 3 + }, + "end": { + "line": 106, + "column": 8 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2358, + "end": 2359, + "loc": { + "start": { + "line": 106, + "column": 9 + }, + "end": { + "line": 106, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "optionsOrEmpty", + "start": 2360, + "end": 2374, + "loc": { + "start": { + "line": 106, + "column": 11 + }, + "end": { + "line": 106, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2374, + "end": 2375, + "loc": { + "start": { + "line": 106, + "column": 25 + }, + "end": { + "line": 106, + "column": 26 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2375, + "end": 2379, + "loc": { + "start": { + "line": 106, + "column": 26 + }, + "end": { + "line": 106, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2379, + "end": 2380, + "loc": { + "start": { + "line": 106, + "column": 30 + }, + "end": { + "line": 106, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "props", + "start": 2380, + "end": 2385, + "loc": { + "start": { + "line": 106, + "column": 31 + }, + "end": { + "line": 106, + "column": 36 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2385, + "end": 2386, + "loc": { + "start": { + "line": 106, + "column": 36 + }, + "end": { + "line": 106, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 2386, + "end": 2393, + "loc": { + "start": { + "line": 106, + "column": 37 + }, + "end": { + "line": 106, + "column": 44 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2393, + "end": 2394, + "loc": { + "start": { + "line": 106, + "column": 44 + }, + "end": { + "line": 106, + "column": 45 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2394, + "end": 2395, + "loc": { + "start": { + "line": 106, + "column": 45 + }, + "end": { + "line": 106, + "column": 46 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2398, + "end": 2399, + "loc": { + "start": { + "line": 107, + "column": 2 + }, + "end": { + "line": 107, + "column": 3 + } + } + }, + { + "type": { + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "else", + "start": 2402, + "end": 2406, + "loc": { + "start": { + "line": 108, + "column": 2 + }, + "end": { + "line": 108, + "column": 6 + } + } + }, + { + "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": 2407, + "end": 2409, + "loc": { + "start": { + "line": 108, + "column": 7 + }, + "end": { + "line": 108, + "column": 9 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2410, + "end": 2411, + "loc": { + "start": { + "line": 108, + "column": 10 + }, + "end": { + "line": 108, + "column": 11 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "system", + "start": 2411, + "end": 2419, + "loc": { + "start": { + "line": 108, + "column": 11 + }, + "end": { + "line": 108, + "column": 19 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 2420, + "end": 2423, + "loc": { + "start": { + "line": 108, + "column": 20 + }, + "end": { + "line": 108, + "column": 23 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2424, + "end": 2428, + "loc": { + "start": { + "line": 108, + "column": 24 + }, + "end": { + "line": 108, + "column": 28 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2428, + "end": 2429, + "loc": { + "start": { + "line": 108, + "column": 28 + }, + "end": { + "line": 108, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "state", + "start": 2429, + "end": 2434, + "loc": { + "start": { + "line": 108, + "column": 29 + }, + "end": { + "line": 108, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2434, + "end": 2435, + "loc": { + "start": { + "line": 108, + "column": 34 + }, + "end": { + "line": 108, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "currentListType", + "start": 2435, + "end": 2450, + "loc": { + "start": { + "line": 108, + "column": 35 + }, + "end": { + "line": 108, + "column": 50 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2451, + "end": 2452, + "loc": { + "start": { + "line": 108, + "column": 51 + }, + "end": { + "line": 108, + "column": 52 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2453, + "end": 2454, + "loc": { + "start": { + "line": 108, + "column": 53 + }, + "end": { + "line": 108, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "items", + "start": 2458, + "end": 2463, + "loc": { + "start": { + "line": 109, + "column": 3 + }, + "end": { + "line": 109, + "column": 8 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2464, + "end": 2465, + "loc": { + "start": { + "line": 109, + "column": 9 + }, + "end": { + "line": 109, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "optionsOrEmpty", + "start": 2466, + "end": 2480, + "loc": { + "start": { + "line": 109, + "column": 11 + }, + "end": { + "line": 109, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2480, + "end": 2481, + "loc": { + "start": { + "line": 109, + "column": 25 + }, + "end": { + "line": 109, + "column": 26 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2481, + "end": 2485, + "loc": { + "start": { + "line": 109, + "column": 26 + }, + "end": { + "line": 109, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2485, + "end": 2486, + "loc": { + "start": { + "line": 109, + "column": 30 + }, + "end": { + "line": 109, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "props", + "start": 2486, + "end": 2491, + "loc": { + "start": { + "line": 109, + "column": 31 + }, + "end": { + "line": 109, + "column": 36 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2491, + "end": 2492, + "loc": { + "start": { + "line": 109, + "column": 36 + }, + "end": { + "line": 109, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "systemTagsList", + "start": 2492, + "end": 2506, + "loc": { + "start": { + "line": 109, + "column": 37 + }, + "end": { + "line": 109, + "column": 51 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2506, + "end": 2507, + "loc": { + "start": { + "line": 109, + "column": 51 + }, + "end": { + "line": 109, + "column": 52 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2507, + "end": 2508, + "loc": { + "start": { + "line": 109, + "column": 52 + }, + "end": { + "line": 109, + "column": 53 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2511, + "end": 2512, + "loc": { + "start": { + "line": 110, + "column": 2 + }, + "end": { + "line": 110, + "column": 3 + } + } + }, + { + "type": { + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "else", + "start": 2513, + "end": 2517, + "loc": { + "start": { + "line": 110, + "column": 4 + }, + "end": { + "line": 110, + "column": 8 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2518, + "end": 2519, + "loc": { + "start": { + "line": 110, + "column": 9 + }, + "end": { + "line": 110, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "items", + "start": 2523, + "end": 2528, + "loc": { + "start": { + "line": 111, + "column": 3 + }, + "end": { + "line": 111, + "column": 8 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2529, + "end": 2530, + "loc": { + "start": { + "line": 111, + "column": 9 + }, + "end": { + "line": 111, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "optionsOrEmpty", + "start": 2531, + "end": 2545, + "loc": { + "start": { + "line": 111, + "column": 11 + }, + "end": { + "line": 111, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2545, + "end": 2546, + "loc": { + "start": { + "line": 111, + "column": 25 + }, + "end": { + "line": 111, + "column": 26 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2546, + "end": 2550, + "loc": { + "start": { + "line": 111, + "column": 26 + }, + "end": { + "line": 111, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2550, + "end": 2551, + "loc": { + "start": { + "line": 111, + "column": 30 + }, + "end": { + "line": 111, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "props", + "start": 2551, + "end": 2556, + "loc": { + "start": { + "line": 111, + "column": 31 + }, + "end": { + "line": 111, + "column": 36 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2556, + "end": 2557, + "loc": { + "start": { + "line": 111, + "column": 36 + }, + "end": { + "line": 111, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fieldsList", + "start": 2557, + "end": 2567, + "loc": { + "start": { + "line": 111, + "column": 37 + }, + "end": { + "line": 111, + "column": 47 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2567, + "end": 2568, + "loc": { + "start": { + "line": 111, + "column": 47 + }, + "end": { + "line": 111, + "column": 48 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2568, + "end": 2569, + "loc": { + "start": { + "line": 111, + "column": 48 + }, + "end": { + "line": 111, + "column": 49 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2572, + "end": 2573, + "loc": { + "start": { + "line": 112, + "column": 2 + }, + "end": { + "line": 112, + "column": 3 + } + } + }, + { + "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": 2577, + "end": 2579, + "loc": { + "start": { + "line": 114, + "column": 2 + }, + "end": { + "line": 114, + "column": 4 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2580, + "end": 2581, + "loc": { + "start": { + "line": 114, + "column": 5 + }, + "end": { + "line": 114, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "items", + "start": 2581, + "end": 2586, + "loc": { + "start": { + "line": 114, + "column": 6 + }, + "end": { + "line": 114, + "column": 11 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2586, + "end": 2587, + "loc": { + "start": { + "line": 114, + "column": 11 + }, + "end": { + "line": 114, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "length", + "start": 2587, + "end": 2593, + "loc": { + "start": { + "line": 114, + "column": 12 + }, + "end": { + "line": 114, + "column": 18 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2593, + "end": 2594, + "loc": { + "start": { + "line": 114, + "column": 18 + }, + "end": { + "line": 114, + "column": 19 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2595, + "end": 2596, + "loc": { + "start": { + "line": 114, + "column": 20 + }, + "end": { + "line": 114, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "items", + "start": 2600, + "end": 2605, + "loc": { + "start": { + "line": 115, + "column": 3 + }, + "end": { + "line": 115, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2605, + "end": 2606, + "loc": { + "start": { + "line": 115, + "column": 8 + }, + "end": { + "line": 115, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "forEach", + "start": 2606, + "end": 2613, + "loc": { + "start": { + "line": 115, + "column": 9 + }, + "end": { + "line": 115, + "column": 16 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2613, + "end": 2614, + "loc": { + "start": { + "line": 115, + "column": 16 + }, + "end": { + "line": 115, + "column": 17 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2614, + "end": 2615, + "loc": { + "start": { + "line": 115, + "column": 17 + }, + "end": { + "line": 115, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "item", + "start": 2615, + "end": 2619, + "loc": { + "start": { + "line": 115, + "column": 18 + }, + "end": { + "line": 115, + "column": 22 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2619, + "end": 2620, + "loc": { + "start": { + "line": 115, + "column": 22 + }, + "end": { + "line": 115, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "itemIndex", + "start": 2621, + "end": 2630, + "loc": { + "start": { + "line": 115, + "column": 24 + }, + "end": { + "line": 115, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2630, + "end": 2631, + "loc": { + "start": { + "line": 115, + "column": 33 + }, + "end": { + "line": 115, + "column": 34 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2632, + "end": 2634, + "loc": { + "start": { + "line": 115, + "column": 35 + }, + "end": { + "line": 115, + "column": 37 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2635, + "end": 2636, + "loc": { + "start": { + "line": 115, + "column": 38 + }, + "end": { + "line": 115, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "items", + "start": 2641, + "end": 2646, + "loc": { + "start": { + "line": 116, + "column": 4 + }, + "end": { + "line": 116, + "column": 9 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2646, + "end": 2647, + "loc": { + "start": { + "line": 116, + "column": 9 + }, + "end": { + "line": 116, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "itemIndex", + "start": 2647, + "end": 2656, + "loc": { + "start": { + "line": 116, + "column": 10 + }, + "end": { + "line": 116, + "column": 19 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2656, + "end": 2657, + "loc": { + "start": { + "line": 116, + "column": 19 + }, + "end": { + "line": 116, + "column": 20 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2657, + "end": 2658, + "loc": { + "start": { + "line": 116, + "column": 20 + }, + "end": { + "line": 116, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "innerKey", + "start": 2658, + "end": 2666, + "loc": { + "start": { + "line": 116, + "column": 21 + }, + "end": { + "line": 116, + "column": 29 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2667, + "end": 2668, + "loc": { + "start": { + "line": 116, + "column": 30 + }, + "end": { + "line": 116, + "column": 31 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2669, + "end": 2670, + "loc": { + "start": { + "line": 116, + "column": 32 + }, + "end": { + "line": 116, + "column": 33 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "", + "start": 2670, + "end": 2670, + "loc": { + "start": { + "line": 116, + "column": 33 + }, + "end": { + "line": 116, + "column": 33 + } + } + }, + { + "type": { + "label": "${", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2670, + "end": 2672, + "loc": { + "start": { + "line": 116, + "column": 33 + }, + "end": { + "line": 116, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "item", + "start": 2672, + "end": 2676, + "loc": { + "start": { + "line": 116, + "column": 35 + }, + "end": { + "line": 116, + "column": 39 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2676, + "end": 2677, + "loc": { + "start": { + "line": 116, + "column": 39 + }, + "end": { + "line": 116, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "value", + "start": 2677, + "end": 2682, + "loc": { + "start": { + "line": 116, + "column": 40 + }, + "end": { + "line": 116, + "column": 45 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2682, + "end": 2683, + "loc": { + "start": { + "line": 116, + "column": 45 + }, + "end": { + "line": 116, + "column": 46 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "-", + "start": 2683, + "end": 2684, + "loc": { + "start": { + "line": 116, + "column": 46 + }, + "end": { + "line": 116, + "column": 47 + } + } + }, + { + "type": { + "label": "${", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2684, + "end": 2686, + "loc": { + "start": { + "line": 116, + "column": 47 + }, + "end": { + "line": 116, + "column": 49 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "itemIndex", + "start": 2686, + "end": 2695, + "loc": { + "start": { + "line": 116, + "column": 49 + }, + "end": { + "line": 116, + "column": 58 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2695, + "end": 2696, + "loc": { + "start": { + "line": 116, + "column": 58 + }, + "end": { + "line": 116, + "column": 59 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "", + "start": 2696, + "end": 2696, + "loc": { + "start": { + "line": 116, + "column": 59 + }, + "end": { + "line": 116, + "column": 59 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2696, + "end": 2697, + "loc": { + "start": { + "line": 116, + "column": 59 + }, + "end": { + "line": 116, + "column": 60 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2697, + "end": 2698, + "loc": { + "start": { + "line": 116, + "column": 60 + }, + "end": { + "line": 116, + "column": 61 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2702, + "end": 2703, + "loc": { + "start": { + "line": 117, + "column": 3 + }, + "end": { + "line": 117, + "column": 4 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2703, + "end": 2704, + "loc": { + "start": { + "line": 117, + "column": 4 + }, + "end": { + "line": 117, + "column": 5 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2704, + "end": 2705, + "loc": { + "start": { + "line": 117, + "column": 5 + }, + "end": { + "line": 117, + "column": 6 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2708, + "end": 2709, + "loc": { + "start": { + "line": 118, + "column": 2 + }, + "end": { + "line": 118, + "column": 3 + } + } + }, + { + "type": { + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "else", + "start": 2709, + "end": 2713, + "loc": { + "start": { + "line": 118, + "column": 3 + }, + "end": { + "line": 118, + "column": 7 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2713, + "end": 2714, + "loc": { + "start": { + "line": 118, + "column": 7 + }, + "end": { + "line": 118, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "items", + "start": 2718, + "end": 2723, + "loc": { + "start": { + "line": 119, + "column": 3 + }, + "end": { + "line": 119, + "column": 8 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2723, + "end": 2724, + "loc": { + "start": { + "line": 119, + "column": 8 + }, + "end": { + "line": 119, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "push", + "start": 2724, + "end": 2728, + "loc": { + "start": { + "line": 119, + "column": 9 + }, + "end": { + "line": 119, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2728, + "end": 2729, + "loc": { + "start": { + "line": 119, + "column": 13 + }, + "end": { + "line": 119, + "column": 14 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2729, + "end": 2730, + "loc": { + "start": { + "line": 119, + "column": 14 + }, + "end": { + "line": 119, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "value", + "start": 2735, + "end": 2740, + "loc": { + "start": { + "line": 120, + "column": 4 + }, + "end": { + "line": 120, + "column": 9 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2740, + "end": 2741, + "loc": { + "start": { + "line": 120, + "column": 9 + }, + "end": { + "line": 120, + "column": 10 + } + } + }, + { + "type": { + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "null", + "start": 2742, + "end": 2746, + "loc": { + "start": { + "line": 120, + "column": 11 + }, + "end": { + "line": 120, + "column": 15 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2746, + "end": 2747, + "loc": { + "start": { + "line": 120, + "column": 15 + }, + "end": { + "line": 120, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "label", + "start": 2752, + "end": 2757, + "loc": { + "start": { + "line": 121, + "column": 4 + }, + "end": { + "line": 121, + "column": 9 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2757, + "end": 2758, + "loc": { + "start": { + "line": 121, + "column": 9 + }, + "end": { + "line": 121, + "column": 10 + } + } + }, + { + "type": { + "label": "null", + "keyword": "null", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "null", + "start": 2759, + "end": 2763, + "loc": { + "start": { + "line": 121, + "column": 11 + }, + "end": { + "line": 121, + "column": 15 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2763, + "end": 2764, + "loc": { + "start": { + "line": 121, + "column": 15 + }, + "end": { + "line": 121, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "innerKey", + "start": 2769, + "end": 2777, + "loc": { + "start": { + "line": 122, + "column": 4 + }, + "end": { + "line": 122, + "column": 12 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2777, + "end": 2778, + "loc": { + "start": { + "line": 122, + "column": 12 + }, + "end": { + "line": 122, + "column": 13 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2778, + "end": 2782, + "loc": { + "start": { + "line": 122, + "column": 13 + }, + "end": { + "line": 122, + "column": 17 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2782, + "end": 2783, + "loc": { + "start": { + "line": 122, + "column": 17 + }, + "end": { + "line": 122, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "props", + "start": 2783, + "end": 2788, + "loc": { + "start": { + "line": 122, + "column": 18 + }, + "end": { + "line": 122, + "column": 23 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2788, + "end": 2789, + "loc": { + "start": { + "line": 122, + "column": 23 + }, + "end": { + "line": 122, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "id", + "start": 2789, + "end": 2791, + "loc": { + "start": { + "line": 122, + "column": 24 + }, + "end": { + "line": 122, + "column": 26 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2795, + "end": 2796, + "loc": { + "start": { + "line": 123, + "column": 3 + }, + "end": { + "line": 123, + "column": 4 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2796, + "end": 2797, + "loc": { + "start": { + "line": 123, + "column": 4 + }, + "end": { + "line": 123, + "column": 5 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2800, + "end": 2801, + "loc": { + "start": { + "line": 124, + "column": 2 + }, + "end": { + "line": 124, + "column": 3 + } + } + }, + { + "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": 2805, + "end": 2811, + "loc": { + "start": { + "line": 126, + "column": 2 + }, + "end": { + "line": 126, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "items", + "start": 2812, + "end": 2817, + "loc": { + "start": { + "line": 126, + "column": 9 + }, + "end": { + "line": 126, + "column": 14 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2817, + "end": 2818, + "loc": { + "start": { + "line": 126, + "column": 14 + }, + "end": { + "line": 126, + "column": 15 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2821, + "end": 2822, + "loc": { + "start": { + "line": 128, + "column": 1 + }, + "end": { + "line": 128, + "column": 2 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n\t * Options for type chooser\n\t *\n\t * @return {*[]}\n\t ", + "start": 2825, + "end": 2884, + "loc": { + "start": { + "line": 130, + "column": 1 + }, + "end": { + "line": 134, + "column": 4 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "listTypeOptions", + "start": 2886, + "end": 2901, + "loc": { + "start": { + "line": 135, + "column": 1 + }, + "end": { + "line": 135, + "column": 16 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2901, + "end": 2902, + "loc": { + "start": { + "line": 135, + "column": 16 + }, + "end": { + "line": 135, + "column": 17 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2902, + "end": 2903, + "loc": { + "start": { + "line": 135, + "column": 17 + }, + "end": { + "line": 135, + "column": 18 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2903, + "end": 2904, + "loc": { + "start": { + "line": 135, + "column": 18 + }, + "end": { + "line": 135, + "column": 19 + } + } + }, + { + "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": 2907, + "end": 2913, + "loc": { + "start": { + "line": 136, + "column": 2 + }, + "end": { + "line": 136, + "column": 8 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2914, + "end": 2915, + "loc": { + "start": { + "line": 136, + "column": 9 + }, + "end": { + "line": 136, + "column": 10 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2919, + "end": 2920, + "loc": { + "start": { + "line": 137, + "column": 3 + }, + "end": { + "line": 137, + "column": 4 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "value", + "start": 2925, + "end": 2930, + "loc": { + "start": { + "line": 138, + "column": 4 + }, + "end": { + "line": 138, + "column": 9 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2930, + "end": 2931, + "loc": { + "start": { + "line": 138, + "column": 9 + }, + "end": { + "line": 138, + "column": 10 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "fields", + "start": 2932, + "end": 2940, + "loc": { + "start": { + "line": 138, + "column": 11 + }, + "end": { + "line": 138, + "column": 19 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2940, + "end": 2941, + "loc": { + "start": { + "line": 138, + "column": 19 + }, + "end": { + "line": 138, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "label", + "start": 2946, + "end": 2951, + "loc": { + "start": { + "line": 139, + "column": 4 + }, + "end": { + "line": 139, + "column": 9 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2951, + "end": 2952, + "loc": { + "start": { + "line": 139, + "column": 9 + }, + "end": { + "line": 139, + "column": 10 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "%", + "start": 2953, + "end": 2956, + "loc": { + "start": { + "line": 139, + "column": 11 + }, + "end": { + "line": 139, + "column": 14 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2956, + "end": 2957, + "loc": { + "start": { + "line": 139, + "column": 14 + }, + "end": { + "line": 139, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ariaLabel", + "start": 2962, + "end": 2971, + "loc": { + "start": { + "line": 140, + "column": 4 + }, + "end": { + "line": 140, + "column": 13 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2971, + "end": 2972, + "loc": { + "start": { + "line": 140, + "column": 13 + }, + "end": { + "line": 140, + "column": 14 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Select from field values", + "start": 2973, + "end": 2999, + "loc": { + "start": { + "line": 140, + "column": 15 + }, + "end": { + "line": 140, + "column": 41 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3003, + "end": 3004, + "loc": { + "start": { + "line": 141, + "column": 3 + }, + "end": { + "line": 141, + "column": 4 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3004, + "end": 3005, + "loc": { + "start": { + "line": 141, + "column": 4 + }, + "end": { + "line": 141, + "column": 5 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3009, + "end": 3010, + "loc": { + "start": { + "line": 142, + "column": 3 + }, + "end": { + "line": 142, + "column": 4 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "value", + "start": 3015, + "end": 3020, + "loc": { + "start": { + "line": 143, + "column": 4 + }, + "end": { + "line": 143, + "column": 9 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3020, + "end": 3021, + "loc": { + "start": { + "line": 143, + "column": 9 + }, + "end": { + "line": 143, + "column": 10 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "system", + "start": 3022, + "end": 3030, + "loc": { + "start": { + "line": 143, + "column": 11 + }, + "end": { + "line": 143, + "column": 19 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3030, + "end": 3031, + "loc": { + "start": { + "line": 143, + "column": 19 + }, + "end": { + "line": 143, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "label", + "start": 3036, + "end": 3041, + "loc": { + "start": { + "line": 144, + "column": 4 + }, + "end": { + "line": 144, + "column": 9 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3041, + "end": 3042, + "loc": { + "start": { + "line": 144, + "column": 9 + }, + "end": { + "line": 144, + "column": 10 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "{}", + "start": 3043, + "end": 3047, + "loc": { + "start": { + "line": 144, + "column": 11 + }, + "end": { + "line": 144, + "column": 15 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3047, + "end": 3048, + "loc": { + "start": { + "line": 144, + "column": 15 + }, + "end": { + "line": 144, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "ariaLabel", + "start": 3053, + "end": 3062, + "loc": { + "start": { + "line": 145, + "column": 4 + }, + "end": { + "line": 145, + "column": 13 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3062, + "end": 3063, + "loc": { + "start": { + "line": 145, + "column": 13 + }, + "end": { + "line": 145, + "column": 14 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Select from system values", + "start": 3064, + "end": 3091, + "loc": { + "start": { + "line": 145, + "column": 15 + }, + "end": { + "line": 145, + "column": 42 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3095, + "end": 3096, + "loc": { + "start": { + "line": 146, + "column": 3 + }, + "end": { + "line": 146, + "column": 4 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3096, + "end": 3097, + "loc": { + "start": { + "line": 146, + "column": 4 + }, + "end": { + "line": 146, + "column": 5 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3100, + "end": 3101, + "loc": { + "start": { + "line": 147, + "column": 2 + }, + "end": { + "line": 147, + "column": 3 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3103, + "end": 3104, + "loc": { + "start": { + "line": 148, + "column": 1 + }, + "end": { + "line": 148, + "column": 2 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n\t * Render MagicFieldGroup component\n\t * @return {*}\n\t ", + "start": 3109, + "end": 3170, + "loc": { + "start": { + "line": 152, + "column": 1 + }, + "end": { + "line": 155, + "column": 4 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "render", + "start": 3172, + "end": 3178, + "loc": { + "start": { + "line": 156, + "column": 1 + }, + "end": { + "line": 156, + "column": 7 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3178, + "end": 3179, + "loc": { + "start": { + "line": 156, + "column": 7 + }, + "end": { + "line": 156, + "column": 8 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3179, + "end": 3180, + "loc": { + "start": { + "line": 156, + "column": 8 + }, + "end": { + "line": 156, + "column": 9 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3181, + "end": 3182, + "loc": { + "start": { + "line": 156, + "column": 10 + }, + "end": { + "line": 156, + "column": 11 + } + } + }, + { + "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": 3185, + "end": 3191, + "loc": { + "start": { + "line": 157, + "column": 2 + }, + "end": { + "line": 157, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3192, + "end": 3193, + "loc": { + "start": { + "line": 157, + "column": 9 + }, + "end": { + "line": 157, + "column": 10 + } + } + }, + { + "type": { + "label": "jsxTagStart", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3197, + "end": 3198, + "loc": { + "start": { + "line": 158, + "column": 3 + }, + "end": { + "line": 158, + "column": 4 + } + } + }, + { + "type": { + "label": "jsxName", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "div", + "start": 3198, + "end": 3201, + "loc": { + "start": { + "line": 158, + "column": 4 + }, + "end": { + "line": 158, + "column": 7 + } + } + }, + { + "type": { + "label": "jsxName", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "className", + "start": 3206, + "end": 3215, + "loc": { + "start": { + "line": 159, + "column": 4 + }, + "end": { + "line": 159, + "column": 13 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3215, + "end": 3216, + "loc": { + "start": { + "line": 159, + "column": 13 + }, + "end": { + "line": 159, + "column": 14 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3216, + "end": 3217, + "loc": { + "start": { + "line": 159, + "column": 14 + }, + "end": { + "line": 159, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "classNames", + "start": 3217, + "end": 3227, + "loc": { + "start": { + "line": 159, + "column": 15 + }, + "end": { + "line": 159, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3227, + "end": 3228, + "loc": { + "start": { + "line": 159, + "column": 25 + }, + "end": { + "line": 159, + "column": 26 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "magic-select", + "start": 3228, + "end": 3242, + "loc": { + "start": { + "line": 159, + "column": 26 + }, + "end": { + "line": 159, + "column": 40 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3242, + "end": 3243, + "loc": { + "start": { + "line": 159, + "column": 40 + }, + "end": { + "line": 159, + "column": 41 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3244, + "end": 3248, + "loc": { + "start": { + "line": 159, + "column": 42 + }, + "end": { + "line": 159, + "column": 46 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3248, + "end": 3249, + "loc": { + "start": { + "line": 159, + "column": 46 + }, + "end": { + "line": 159, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "props", + "start": 3249, + "end": 3254, + "loc": { + "start": { + "line": 159, + "column": 47 + }, + "end": { + "line": 159, + "column": 52 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3254, + "end": 3255, + "loc": { + "start": { + "line": 159, + "column": 52 + }, + "end": { + "line": 159, + "column": 53 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "className", + "start": 3255, + "end": 3264, + "loc": { + "start": { + "line": 159, + "column": 53 + }, + "end": { + "line": 159, + "column": 62 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3264, + "end": 3265, + "loc": { + "start": { + "line": 159, + "column": 62 + }, + "end": { + "line": 159, + "column": 63 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3265, + "end": 3266, + "loc": { + "start": { + "line": 159, + "column": 63 + }, + "end": { + "line": 159, + "column": 64 + } + } + }, + { + "type": { + "label": "jsxTagEnd", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3270, + "end": 3271, + "loc": { + "start": { + "line": 160, + "column": 3 + }, + "end": { + "line": 160, + "column": 4 + } + } + }, + { + "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\t", + "start": 3271, + "end": 3276, + "loc": { + "start": { + "line": 160, + "column": 4 + }, + "end": { + "line": 161, + "column": 4 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3276, + "end": 3277, + "loc": { + "start": { + "line": 161, + "column": 4 + }, + "end": { + "line": 161, + "column": 5 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3277, + "end": 3281, + "loc": { + "start": { + "line": 161, + "column": 5 + }, + "end": { + "line": 161, + "column": 9 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3281, + "end": 3282, + "loc": { + "start": { + "line": 161, + "column": 9 + }, + "end": { + "line": 161, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "state", + "start": 3282, + "end": 3287, + "loc": { + "start": { + "line": 161, + "column": 10 + }, + "end": { + "line": 161, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3287, + "end": 3288, + "loc": { + "start": { + "line": 161, + "column": 15 + }, + "end": { + "line": 161, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isOpen", + "start": 3288, + "end": 3294, + "loc": { + "start": { + "line": 161, + "column": 16 + }, + "end": { + "line": 161, + "column": 22 + } + } + }, + { + "type": { + "label": "&&", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 2, + "updateContext": null + }, + "value": "&&", + "start": 3295, + "end": 3297, + "loc": { + "start": { + "line": 161, + "column": 23 + }, + "end": { + "line": 161, + "column": 25 + } + } + }, + { + "type": { + "label": "jsxTagStart", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3303, + "end": 3304, + "loc": { + "start": { + "line": 162, + "column": 5 + }, + "end": { + "line": 162, + "column": 6 + } + } + }, + { + "type": { + "label": "jsxName", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "ButtonGroup", + "start": 3304, + "end": 3315, + "loc": { + "start": { + "line": 162, + "column": 6 + }, + "end": { + "line": 162, + "column": 17 + } + } + }, + { + "type": { + "label": "jsxName", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "onChange", + "start": 3322, + "end": 3330, + "loc": { + "start": { + "line": 163, + "column": 6 + }, + "end": { + "line": 163, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3330, + "end": 3331, + "loc": { + "start": { + "line": 163, + "column": 14 + }, + "end": { + "line": 163, + "column": 15 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3331, + "end": 3332, + "loc": { + "start": { + "line": 163, + "column": 15 + }, + "end": { + "line": 163, + "column": 16 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3332, + "end": 3336, + "loc": { + "start": { + "line": 163, + "column": 16 + }, + "end": { + "line": 163, + "column": 20 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3336, + "end": 3337, + "loc": { + "start": { + "line": 163, + "column": 20 + }, + "end": { + "line": 163, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onChangeListType", + "start": 3337, + "end": 3353, + "loc": { + "start": { + "line": 163, + "column": 21 + }, + "end": { + "line": 163, + "column": 37 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3353, + "end": 3354, + "loc": { + "start": { + "line": 163, + "column": 37 + }, + "end": { + "line": 163, + "column": 38 + } + } + }, + { + "type": { + "label": "jsxName", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "options", + "start": 3361, + "end": 3368, + "loc": { + "start": { + "line": 164, + "column": 6 + }, + "end": { + "line": 164, + "column": 13 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3368, + "end": 3369, + "loc": { + "start": { + "line": 164, + "column": 13 + }, + "end": { + "line": 164, + "column": 14 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3369, + "end": 3370, + "loc": { + "start": { + "line": 164, + "column": 14 + }, + "end": { + "line": 164, + "column": 15 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3370, + "end": 3374, + "loc": { + "start": { + "line": 164, + "column": 15 + }, + "end": { + "line": 164, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3374, + "end": 3375, + "loc": { + "start": { + "line": 164, + "column": 19 + }, + "end": { + "line": 164, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "listTypeOptions", + "start": 3375, + "end": 3390, + "loc": { + "start": { + "line": 164, + "column": 20 + }, + "end": { + "line": 164, + "column": 35 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3390, + "end": 3391, + "loc": { + "start": { + "line": 164, + "column": 35 + }, + "end": { + "line": 164, + "column": 36 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3391, + "end": 3392, + "loc": { + "start": { + "line": 164, + "column": 36 + }, + "end": { + "line": 164, + "column": 37 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3392, + "end": 3393, + "loc": { + "start": { + "line": 164, + "column": 37 + }, + "end": { + "line": 164, + "column": 38 + } + } + }, + { + "type": { + "label": "jsxName", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "value", + "start": 3400, + "end": 3405, + "loc": { + "start": { + "line": 165, + "column": 6 + }, + "end": { + "line": 165, + "column": 11 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3405, + "end": 3406, + "loc": { + "start": { + "line": 165, + "column": 11 + }, + "end": { + "line": 165, + "column": 12 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3406, + "end": 3407, + "loc": { + "start": { + "line": 165, + "column": 12 + }, + "end": { + "line": 165, + "column": 13 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3407, + "end": 3411, + "loc": { + "start": { + "line": 165, + "column": 13 + }, + "end": { + "line": 165, + "column": 17 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3411, + "end": 3412, + "loc": { + "start": { + "line": 165, + "column": 17 + }, + "end": { + "line": 165, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "state", + "start": 3412, + "end": 3417, + "loc": { + "start": { + "line": 165, + "column": 18 + }, + "end": { + "line": 165, + "column": 23 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3417, + "end": 3418, + "loc": { + "start": { + "line": 165, + "column": 23 + }, + "end": { + "line": 165, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "currentListType", + "start": 3418, + "end": 3433, + "loc": { + "start": { + "line": 165, + "column": 24 + }, + "end": { + "line": 165, + "column": 39 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3433, + "end": 3434, + "loc": { + "start": { + "line": 165, + "column": 39 + }, + "end": { + "line": 165, + "column": 40 + } + } + }, + { + "type": { + "label": "/", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "/", + "start": 3440, + "end": 3441, + "loc": { + "start": { + "line": 166, + "column": 5 + }, + "end": { + "line": 166, + "column": 6 + } + } + }, + { + "type": { + "label": "jsxTagEnd", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3441, + "end": 3442, + "loc": { + "start": { + "line": 166, + "column": 6 + }, + "end": { + "line": 166, + "column": 7 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3447, + "end": 3448, + "loc": { + "start": { + "line": 167, + "column": 4 + }, + "end": { + "line": 167, + "column": 5 + } + } + }, + { + "type": { + "label": "jsxText", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "\n\n\t\t\t\t", + "start": 3448, + "end": 3454, + "loc": { + "start": { + "line": 167, + "column": 5 + }, + "end": { + "line": 169, + "column": 4 + } + } + }, + { + "type": { + "label": "jsxTagStart", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3454, + "end": 3455, + "loc": { + "start": { + "line": 169, + "column": 4 + }, + "end": { + "line": 169, + "column": 5 + } + } + }, + { + "type": { + "label": "jsxName", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "MagicSelect", + "start": 3455, + "end": 3466, + "loc": { + "start": { + "line": 169, + "column": 5 + }, + "end": { + "line": 169, + "column": 16 + } + } + }, + { + "type": { + "label": "jsxName", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "id", + "start": 3472, + "end": 3474, + "loc": { + "start": { + "line": 170, + "column": 5 + }, + "end": { + "line": 170, + "column": 7 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3474, + "end": 3475, + "loc": { + "start": { + "line": 170, + "column": 7 + }, + "end": { + "line": 170, + "column": 8 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3475, + "end": 3476, + "loc": { + "start": { + "line": 170, + "column": 8 + }, + "end": { + "line": 170, + "column": 9 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3476, + "end": 3480, + "loc": { + "start": { + "line": 170, + "column": 9 + }, + "end": { + "line": 170, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3480, + "end": 3481, + "loc": { + "start": { + "line": 170, + "column": 13 + }, + "end": { + "line": 170, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "props", + "start": 3481, + "end": 3486, + "loc": { + "start": { + "line": 170, + "column": 14 + }, + "end": { + "line": 170, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3486, + "end": 3487, + "loc": { + "start": { + "line": 170, + "column": 19 + }, + "end": { + "line": 170, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "id", + "start": 3487, + "end": 3489, + "loc": { + "start": { + "line": 170, + "column": 20 + }, + "end": { + "line": 170, + "column": 22 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3489, + "end": 3490, + "loc": { + "start": { + "line": 170, + "column": 22 + }, + "end": { + "line": 170, + "column": 23 + } + } + }, + { + "type": { + "label": "jsxName", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "options", + "start": 3496, + "end": 3503, + "loc": { + "start": { + "line": 171, + "column": 5 + }, + "end": { + "line": 171, + "column": 12 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3503, + "end": 3504, + "loc": { + "start": { + "line": 171, + "column": 12 + }, + "end": { + "line": 171, + "column": 13 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3504, + "end": 3505, + "loc": { + "start": { + "line": 171, + "column": 13 + }, + "end": { + "line": 171, + "column": 14 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3505, + "end": 3509, + "loc": { + "start": { + "line": 171, + "column": 14 + }, + "end": { + "line": 171, + "column": 18 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3509, + "end": 3510, + "loc": { + "start": { + "line": 171, + "column": 18 + }, + "end": { + "line": 171, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "items", + "start": 3510, + "end": 3515, + "loc": { + "start": { + "line": 171, + "column": 19 + }, + "end": { + "line": 171, + "column": 24 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3515, + "end": 3516, + "loc": { + "start": { + "line": 171, + "column": 24 + }, + "end": { + "line": 171, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3516, + "end": 3517, + "loc": { + "start": { + "line": 171, + "column": 25 + }, + "end": { + "line": 171, + "column": 26 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3517, + "end": 3518, + "loc": { + "start": { + "line": 171, + "column": 26 + }, + "end": { + "line": 171, + "column": 27 + } + } + }, + { + "type": { + "label": "jsxName", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "onValueChange", + "start": 3524, + "end": 3537, + "loc": { + "start": { + "line": 172, + "column": 5 + }, + "end": { + "line": 172, + "column": 18 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3537, + "end": 3538, + "loc": { + "start": { + "line": 172, + "column": 18 + }, + "end": { + "line": 172, + "column": 19 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3538, + "end": 3539, + "loc": { + "start": { + "line": 172, + "column": 19 + }, + "end": { + "line": 172, + "column": 20 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3539, + "end": 3543, + "loc": { + "start": { + "line": 172, + "column": 20 + }, + "end": { + "line": 172, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3543, + "end": 3544, + "loc": { + "start": { + "line": 172, + "column": 24 + }, + "end": { + "line": 172, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "props", + "start": 3544, + "end": 3549, + "loc": { + "start": { + "line": 172, + "column": 25 + }, + "end": { + "line": 172, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3549, + "end": 3550, + "loc": { + "start": { + "line": 172, + "column": 30 + }, + "end": { + "line": 172, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onValueChange", + "start": 3550, + "end": 3563, + "loc": { + "start": { + "line": 172, + "column": 31 + }, + "end": { + "line": 172, + "column": 44 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3563, + "end": 3564, + "loc": { + "start": { + "line": 172, + "column": 44 + }, + "end": { + "line": 172, + "column": 45 + } + } + }, + { + "type": { + "label": "jsxName", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "value", + "start": 3570, + "end": 3575, + "loc": { + "start": { + "line": 173, + "column": 5 + }, + "end": { + "line": 173, + "column": 10 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3575, + "end": 3576, + "loc": { + "start": { + "line": 173, + "column": 10 + }, + "end": { + "line": 173, + "column": 11 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3576, + "end": 3577, + "loc": { + "start": { + "line": 173, + "column": 11 + }, + "end": { + "line": 173, + "column": 12 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3577, + "end": 3581, + "loc": { + "start": { + "line": 173, + "column": 12 + }, + "end": { + "line": 173, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3581, + "end": 3582, + "loc": { + "start": { + "line": 173, + "column": 16 + }, + "end": { + "line": 173, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "props", + "start": 3582, + "end": 3587, + "loc": { + "start": { + "line": 173, + "column": 17 + }, + "end": { + "line": 173, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3587, + "end": 3588, + "loc": { + "start": { + "line": 173, + "column": 22 + }, + "end": { + "line": 173, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "value", + "start": 3588, + "end": 3593, + "loc": { + "start": { + "line": 173, + "column": 23 + }, + "end": { + "line": 173, + "column": 28 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3593, + "end": 3594, + "loc": { + "start": { + "line": 173, + "column": 28 + }, + "end": { + "line": 173, + "column": 29 + } + } + }, + { + "type": { + "label": "jsxName", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "isRequired", + "start": 3600, + "end": 3610, + "loc": { + "start": { + "line": 174, + "column": 5 + }, + "end": { + "line": 174, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3610, + "end": 3611, + "loc": { + "start": { + "line": 174, + "column": 15 + }, + "end": { + "line": 174, + "column": 16 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3611, + "end": 3612, + "loc": { + "start": { + "line": 174, + "column": 16 + }, + "end": { + "line": 174, + "column": 17 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3612, + "end": 3616, + "loc": { + "start": { + "line": 174, + "column": 17 + }, + "end": { + "line": 174, + "column": 21 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3616, + "end": 3617, + "loc": { + "start": { + "line": 174, + "column": 21 + }, + "end": { + "line": 174, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "props", + "start": 3617, + "end": 3622, + "loc": { + "start": { + "line": 174, + "column": 22 + }, + "end": { + "line": 174, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3622, + "end": 3623, + "loc": { + "start": { + "line": 174, + "column": 27 + }, + "end": { + "line": 174, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isRequired", + "start": 3623, + "end": 3633, + "loc": { + "start": { + "line": 174, + "column": 28 + }, + "end": { + "line": 174, + "column": 38 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3633, + "end": 3634, + "loc": { + "start": { + "line": 174, + "column": 38 + }, + "end": { + "line": 174, + "column": 39 + } + } + }, + { + "type": { + "label": "jsxName", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "isOpen", + "start": 3640, + "end": 3646, + "loc": { + "start": { + "line": 175, + "column": 5 + }, + "end": { + "line": 175, + "column": 11 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3646, + "end": 3647, + "loc": { + "start": { + "line": 175, + "column": 11 + }, + "end": { + "line": 175, + "column": 12 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3647, + "end": 3648, + "loc": { + "start": { + "line": 175, + "column": 12 + }, + "end": { + "line": 175, + "column": 13 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 3648, + "end": 3652, + "loc": { + "start": { + "line": 175, + "column": 13 + }, + "end": { + "line": 175, + "column": 17 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3652, + "end": 3653, + "loc": { + "start": { + "line": 175, + "column": 17 + }, + "end": { + "line": 175, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "state", + "start": 3653, + "end": 3658, + "loc": { + "start": { + "line": 175, + "column": 18 + }, + "end": { + "line": 175, + "column": 23 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3658, + "end": 3659, + "loc": { + "start": { + "line": 175, + "column": 23 + }, + "end": { + "line": 175, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isOpen", + "start": 3659, + "end": 3665, + "loc": { + "start": { + "line": 175, + "column": 24 + }, + "end": { + "line": 175, + "column": 30 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3665, + "end": 3666, + "loc": { + "start": { + "line": 175, + "column": 30 + }, + "end": { + "line": 175, + "column": 31 + } + } + }, + { + "type": { + "label": "/", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "/", + "start": 3671, + "end": 3672, + "loc": { + "start": { + "line": 176, + "column": 4 + }, + "end": { + "line": 176, + "column": 5 + } + } + }, + { + "type": { + "label": "jsxTagEnd", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3672, + "end": 3673, + "loc": { + "start": { + "line": 176, + "column": 5 + }, + "end": { + "line": 176, + "column": 6 + } + } + }, + { + "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": 3673, + "end": 3677, + "loc": { + "start": { + "line": 176, + "column": 6 + }, + "end": { + "line": 177, + "column": 3 + } + } + }, + { + "type": { + "label": "jsxTagStart", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3677, + "end": 3678, + "loc": { + "start": { + "line": 177, + "column": 3 + }, + "end": { + "line": 177, + "column": 4 + } + } + }, + { + "type": { + "label": "/", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "/", + "start": 3678, + "end": 3679, + "loc": { + "start": { + "line": 177, + "column": 4 + }, + "end": { + "line": 177, + "column": 5 + } + } + }, + { + "type": { + "label": "jsxName", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "div", + "start": 3679, + "end": 3682, + "loc": { + "start": { + "line": 177, + "column": 5 + }, + "end": { + "line": 177, + "column": 8 + } + } + }, + { + "type": { + "label": "jsxTagEnd", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3682, + "end": 3683, + "loc": { + "start": { + "line": 177, + "column": 8 + }, + "end": { + "line": 177, + "column": 9 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3686, + "end": 3687, + "loc": { + "start": { + "line": 178, + "column": 2 + }, + "end": { + "line": 178, + "column": 3 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3687, + "end": 3688, + "loc": { + "start": { + "line": 178, + "column": 3 + }, + "end": { + "line": 178, + "column": 4 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3690, + "end": 3691, + "loc": { + "start": { + "line": 179, + "column": 1 + }, + "end": { + "line": 179, + "column": 2 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3692, + "end": 3693, + "loc": { + "start": { + "line": 180, + "column": 0 + }, + "end": { + "line": 180, + "column": 1 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Prop definitions for MagicFieldGroup component\n ", + "start": 3696, + "end": 3753, + "loc": { + "start": { + "line": 183, + "column": 0 + }, + "end": { + "line": 185, + "column": 3 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MagicFieldGroup", + "start": 3754, + "end": 3769, + "loc": { + "start": { + "line": 186, + "column": 0 + }, + "end": { + "line": 186, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3769, + "end": 3770, + "loc": { + "start": { + "line": 186, + "column": 15 + }, + "end": { + "line": 186, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "propTypes", + "start": 3770, + "end": 3779, + "loc": { + "start": { + "line": 186, + "column": 16 + }, + "end": { + "line": 186, + "column": 25 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 3780, + "end": 3781, + "loc": { + "start": { + "line": 186, + "column": 26 + }, + "end": { + "line": 186, + "column": 27 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 3782, + "end": 3783, + "loc": { + "start": { + "line": 186, + "column": 28 + }, + "end": { + "line": 186, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "id", + "start": 3785, + "end": 3787, + "loc": { + "start": { + "line": 187, + "column": 1 + }, + "end": { + "line": 187, + "column": 3 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3787, + "end": 3788, + "loc": { + "start": { + "line": 187, + "column": 3 + }, + "end": { + "line": 187, + "column": 4 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PropTypes", + "start": 3789, + "end": 3798, + "loc": { + "start": { + "line": 187, + "column": 5 + }, + "end": { + "line": 187, + "column": 14 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3798, + "end": 3799, + "loc": { + "start": { + "line": 187, + "column": 14 + }, + "end": { + "line": 187, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "string", + "start": 3799, + "end": 3805, + "loc": { + "start": { + "line": 187, + "column": 15 + }, + "end": { + "line": 187, + "column": 21 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3805, + "end": 3806, + "loc": { + "start": { + "line": 187, + "column": 21 + }, + "end": { + "line": 187, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isRequired", + "start": 3806, + "end": 3816, + "loc": { + "start": { + "line": 187, + "column": 22 + }, + "end": { + "line": 187, + "column": 32 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3816, + "end": 3817, + "loc": { + "start": { + "line": 187, + "column": 32 + }, + "end": { + "line": 187, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fieldsList", + "start": 3819, + "end": 3829, + "loc": { + "start": { + "line": 188, + "column": 1 + }, + "end": { + "line": 188, + "column": 11 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3829, + "end": 3830, + "loc": { + "start": { + "line": 188, + "column": 11 + }, + "end": { + "line": 188, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "optionsShapeProp", + "start": 3831, + "end": 3847, + "loc": { + "start": { + "line": 188, + "column": 13 + }, + "end": { + "line": 188, + "column": 29 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3847, + "end": 3848, + "loc": { + "start": { + "line": 188, + "column": 29 + }, + "end": { + "line": 188, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "systemTagsList", + "start": 3850, + "end": 3864, + "loc": { + "start": { + "line": 189, + "column": 1 + }, + "end": { + "line": 189, + "column": 15 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3864, + "end": 3865, + "loc": { + "start": { + "line": 189, + "column": 15 + }, + "end": { + "line": 189, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "optionsShapeProp", + "start": 3866, + "end": 3882, + "loc": { + "start": { + "line": 189, + "column": 17 + }, + "end": { + "line": 189, + "column": 33 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3882, + "end": 3883, + "loc": { + "start": { + "line": 189, + "column": 33 + }, + "end": { + "line": 189, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 3885, + "end": 3892, + "loc": { + "start": { + "line": 190, + "column": 1 + }, + "end": { + "line": 190, + "column": 8 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3892, + "end": 3893, + "loc": { + "start": { + "line": 190, + "column": 8 + }, + "end": { + "line": 190, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "optionsShapeProp", + "start": 3894, + "end": 3910, + "loc": { + "start": { + "line": 190, + "column": 10 + }, + "end": { + "line": 190, + "column": 26 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3910, + "end": 3911, + "loc": { + "start": { + "line": 190, + "column": 26 + }, + "end": { + "line": 190, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isRequired", + "start": 3913, + "end": 3923, + "loc": { + "start": { + "line": 191, + "column": 1 + }, + "end": { + "line": 191, + "column": 11 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3923, + "end": 3924, + "loc": { + "start": { + "line": 191, + "column": 11 + }, + "end": { + "line": 191, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PropTypes", + "start": 3925, + "end": 3934, + "loc": { + "start": { + "line": 191, + "column": 13 + }, + "end": { + "line": 191, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3934, + "end": 3935, + "loc": { + "start": { + "line": 191, + "column": 22 + }, + "end": { + "line": 191, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bool", + "start": 3935, + "end": 3939, + "loc": { + "start": { + "line": 191, + "column": 23 + }, + "end": { + "line": 191, + "column": 27 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3939, + "end": 3940, + "loc": { + "start": { + "line": 191, + "column": 27 + }, + "end": { + "line": 191, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "help", + "start": 3942, + "end": 3946, + "loc": { + "start": { + "line": 192, + "column": 1 + }, + "end": { + "line": 192, + "column": 5 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3946, + "end": 3947, + "loc": { + "start": { + "line": 192, + "column": 5 + }, + "end": { + "line": 192, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PropTypes", + "start": 3948, + "end": 3957, + "loc": { + "start": { + "line": 192, + "column": 7 + }, + "end": { + "line": 192, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3957, + "end": 3958, + "loc": { + "start": { + "line": 192, + "column": 16 + }, + "end": { + "line": 192, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "string", + "start": 3958, + "end": 3964, + "loc": { + "start": { + "line": 192, + "column": 17 + }, + "end": { + "line": 192, + "column": 23 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3964, + "end": 3965, + "loc": { + "start": { + "line": 192, + "column": 23 + }, + "end": { + "line": 192, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "value", + "start": 3967, + "end": 3972, + "loc": { + "start": { + "line": 193, + "column": 1 + }, + "end": { + "line": 193, + "column": 6 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3972, + "end": 3973, + "loc": { + "start": { + "line": 193, + "column": 6 + }, + "end": { + "line": 193, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "valuePropType", + "start": 3974, + "end": 3987, + "loc": { + "start": { + "line": 193, + "column": 8 + }, + "end": { + "line": 193, + "column": 21 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3987, + "end": 3988, + "loc": { + "start": { + "line": 193, + "column": 21 + }, + "end": { + "line": 193, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onValueChange", + "start": 3990, + "end": 4003, + "loc": { + "start": { + "line": 194, + "column": 1 + }, + "end": { + "line": 194, + "column": 14 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4003, + "end": 4004, + "loc": { + "start": { + "line": 194, + "column": 14 + }, + "end": { + "line": 194, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onValueChangePropType", + "start": 4005, + "end": 4026, + "loc": { + "start": { + "line": 194, + "column": 16 + }, + "end": { + "line": 194, + "column": 37 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4026, + "end": 4027, + "loc": { + "start": { + "line": 194, + "column": 37 + }, + "end": { + "line": 194, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "disabled", + "start": 4029, + "end": 4037, + "loc": { + "start": { + "line": 195, + "column": 1 + }, + "end": { + "line": 195, + "column": 9 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4037, + "end": 4038, + "loc": { + "start": { + "line": 195, + "column": 9 + }, + "end": { + "line": 195, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PropTypes", + "start": 4039, + "end": 4048, + "loc": { + "start": { + "line": 195, + "column": 11 + }, + "end": { + "line": 195, + "column": 20 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4048, + "end": 4049, + "loc": { + "start": { + "line": 195, + "column": 20 + }, + "end": { + "line": 195, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bool", + "start": 4049, + "end": 4053, + "loc": { + "start": { + "line": 195, + "column": 21 + }, + "end": { + "line": 195, + "column": 25 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4053, + "end": 4054, + "loc": { + "start": { + "line": 195, + "column": 25 + }, + "end": { + "line": 195, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "defaultList", + "start": 4056, + "end": 4067, + "loc": { + "start": { + "line": 196, + "column": 1 + }, + "end": { + "line": 196, + "column": 12 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4067, + "end": 4068, + "loc": { + "start": { + "line": 196, + "column": 12 + }, + "end": { + "line": 196, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PropTypes", + "start": 4069, + "end": 4078, + "loc": { + "start": { + "line": 196, + "column": 14 + }, + "end": { + "line": 196, + "column": 23 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4078, + "end": 4079, + "loc": { + "start": { + "line": 196, + "column": 23 + }, + "end": { + "line": 196, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "string", + "start": 4079, + "end": 4085, + "loc": { + "start": { + "line": 196, + "column": 24 + }, + "end": { + "line": 196, + "column": 30 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4085, + "end": 4086, + "loc": { + "start": { + "line": 196, + "column": 30 + }, + "end": { + "line": 196, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isOpen", + "start": 4088, + "end": 4094, + "loc": { + "start": { + "line": 197, + "column": 1 + }, + "end": { + "line": 197, + "column": 7 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4094, + "end": 4095, + "loc": { + "start": { + "line": 197, + "column": 7 + }, + "end": { + "line": 197, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PropTypes", + "start": 4096, + "end": 4105, + "loc": { + "start": { + "line": 197, + "column": 9 + }, + "end": { + "line": 197, + "column": 18 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4105, + "end": 4106, + "loc": { + "start": { + "line": 197, + "column": 18 + }, + "end": { + "line": 197, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bool", + "start": 4106, + "end": 4110, + "loc": { + "start": { + "line": 197, + "column": 19 + }, + "end": { + "line": 197, + "column": 23 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4111, + "end": 4112, + "loc": { + "start": { + "line": 198, + "column": 0 + }, + "end": { + "line": 198, + "column": 1 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4112, + "end": 4113, + "loc": { + "start": { + "line": 198, + "column": 1 + }, + "end": { + "line": 198, + "column": 2 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Default property values for MagicFieldGroup component\n *\n * @type {{}}\n ", + "start": 4115, + "end": 4196, + "loc": { + "start": { + "line": 200, + "column": 0 + }, + "end": { + "line": 204, + "column": 3 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MagicFieldGroup", + "start": 4197, + "end": 4212, + "loc": { + "start": { + "line": 205, + "column": 0 + }, + "end": { + "line": 205, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4212, + "end": 4213, + "loc": { + "start": { + "line": 205, + "column": 15 + }, + "end": { + "line": 205, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "defaultProps", + "start": 4213, + "end": 4225, + "loc": { + "start": { + "line": 205, + "column": 16 + }, + "end": { + "line": 205, + "column": 28 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 4226, + "end": 4227, + "loc": { + "start": { + "line": 205, + "column": 29 + }, + "end": { + "line": 205, + "column": 30 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4228, + "end": 4229, + "loc": { + "start": { + "line": 205, + "column": 31 + }, + "end": { + "line": 205, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "defaultList", + "start": 4231, + "end": 4242, + "loc": { + "start": { + "line": 206, + "column": 1 + }, + "end": { + "line": 206, + "column": 12 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4242, + "end": 4243, + "loc": { + "start": { + "line": 206, + "column": 12 + }, + "end": { + "line": 206, + "column": 13 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "fields", + "start": 4244, + "end": 4252, + "loc": { + "start": { + "line": 206, + "column": 14 + }, + "end": { + "line": 206, + "column": 22 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4252, + "end": 4253, + "loc": { + "start": { + "line": 206, + "column": 22 + }, + "end": { + "line": 206, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isOpen", + "start": 4255, + "end": 4261, + "loc": { + "start": { + "line": 207, + "column": 1 + }, + "end": { + "line": 207, + "column": 7 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4261, + "end": 4262, + "loc": { + "start": { + "line": 207, + "column": 7 + }, + "end": { + "line": 207, + "column": 8 + } + } + }, + { + "type": { + "label": "false", + "keyword": "false", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "false", + "start": 4263, + "end": 4268, + "loc": { + "start": { + "line": 207, + "column": 9 + }, + "end": { + "line": 207, + "column": 14 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4268, + "end": 4269, + "loc": { + "start": { + "line": 207, + "column": 14 + }, + "end": { + "line": 207, + "column": 15 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4270, + "end": 4271, + "loc": { + "start": { + "line": 208, + "column": 0 + }, + "end": { + "line": 208, + "column": 1 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4271, + "end": 4272, + "loc": { + "start": { + "line": 208, + "column": 1 + }, + "end": { + "line": 208, + "column": 2 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4272, + "end": 4272, + "loc": { + "start": { + "line": 208, + "column": 2 + }, + "end": { + "line": 208, + "column": 2 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/ast/source/components/fields/magic-select/MagicItem.js.json b/docs/ast/source/components/fields/magic-select/MagicItem.js.json new file mode 100644 index 0000000..f16a7b0 --- /dev/null +++ b/docs/ast/source/components/fields/magic-select/MagicItem.js.json @@ -0,0 +1,11228 @@ +{ + "type": "File", + "start": 0, + "end": 2121, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 86, + "column": 2 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 2121, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 86, + "column": 2 + } + }, + "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": 4, + "column": 22 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 37, + "end": 48, + "loc": { + "start": { + "line": 3, + "column": 1 + }, + "end": { + "line": 3, + "column": 12 + } + }, + "imported": { + "type": "Identifier", + "start": 37, + "end": 48, + "loc": { + "start": { + "line": 3, + "column": 1 + }, + "end": { + "line": 3, + "column": 12 + }, + "identifierName": "optionShape" + }, + "name": "optionShape" + }, + "local": { + "type": "Identifier", + "start": 37, + "end": 48, + "loc": { + "start": { + "line": 3, + "column": 1 + }, + "end": { + "line": 3, + "column": 12 + }, + "identifierName": "optionShape" + }, + "name": "optionShape" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 56, + "end": 70, + "loc": { + "start": { + "line": 4, + "column": 7 + }, + "end": { + "line": 4, + "column": 21 + } + }, + "extra": { + "rawValue": "../propTypes", + "raw": "'../propTypes'" + }, + "value": "../propTypes" + } + }, + { + "type": "ImportDeclaration", + "start": 72, + "end": 108, + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 36 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 79, + "end": 89, + "loc": { + "start": { + "line": 5, + "column": 7 + }, + "end": { + "line": 5, + "column": 17 + } + }, + "local": { + "type": "Identifier", + "start": 79, + "end": 89, + "loc": { + "start": { + "line": 5, + "column": 7 + }, + "end": { + "line": 5, + "column": 17 + }, + "identifierName": "classNames" + }, + "name": "classNames" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 95, + "end": 107, + "loc": { + "start": { + "line": 5, + "column": 23 + }, + "end": { + "line": 5, + "column": 35 + } + }, + "extra": { + "rawValue": "classnames", + "raw": "'classnames'" + }, + "value": "classnames" + } + }, + { + "type": "ImportDeclaration", + "start": 109, + "end": 144, + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 6, + "column": 35 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 116, + "end": 125, + "loc": { + "start": { + "line": 6, + "column": 7 + }, + "end": { + "line": 6, + "column": 16 + } + }, + "local": { + "type": "Identifier", + "start": 116, + "end": 125, + "loc": { + "start": { + "line": 6, + "column": 7 + }, + "end": { + "line": 6, + "column": 16 + }, + "identifierName": "PropTypes" + }, + "name": "PropTypes" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 131, + "end": 143, + "loc": { + "start": { + "line": 6, + "column": 22 + }, + "end": { + "line": 6, + "column": 34 + } + }, + "extra": { + "rawValue": "prop-types", + "raw": "'prop-types'" + }, + "value": "prop-types" + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\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 ", + "start": 146, + "end": 390, + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 18, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "start": 391, + "end": 1208, + "loc": { + "start": { + "line": 19, + "column": 0 + }, + "end": { + "line": 52, + "column": 1 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "ClassDeclaration", + "start": 398, + "end": 1208, + "loc": { + "start": { + "line": 19, + "column": 7 + }, + "end": { + "line": 52, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 404, + "end": 413, + "loc": { + "start": { + "line": 19, + "column": 13 + }, + "end": { + "line": 19, + "column": 22 + }, + "identifierName": "MagicItem" + }, + "name": "MagicItem", + "leadingComments": null + }, + "superClass": { + "type": "MemberExpression", + "start": 422, + "end": 441, + "loc": { + "start": { + "line": 19, + "column": 31 + }, + "end": { + "line": 19, + "column": 50 + } + }, + "object": { + "type": "Identifier", + "start": 422, + "end": 427, + "loc": { + "start": { + "line": 19, + "column": 31 + }, + "end": { + "line": 19, + "column": 36 + }, + "identifierName": "React" + }, + "name": "React" + }, + "property": { + "type": "Identifier", + "start": 428, + "end": 441, + "loc": { + "start": { + "line": 19, + "column": 37 + }, + "end": { + "line": 19, + "column": 50 + }, + "identifierName": "PureComponent" + }, + "name": "PureComponent" + }, + "computed": false + }, + "body": { + "type": "ClassBody", + "start": 442, + "end": 1208, + "loc": { + "start": { + "line": 19, + "column": 51 + }, + "end": { + "line": 52, + "column": 1 + } + }, + "body": [ + { + "type": "ClassMethod", + "start": 489, + "end": 1206, + "loc": { + "start": { + "line": 24, + "column": 1 + }, + "end": { + "line": 51, + "column": 2 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 489, + "end": 495, + "loc": { + "start": { + "line": 24, + "column": 1 + }, + "end": { + "line": 24, + "column": 7 + }, + "identifierName": "render" + }, + "name": "render", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 498, + "end": 1206, + "loc": { + "start": { + "line": 24, + "column": 10 + }, + "end": { + "line": 51, + "column": 2 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 502, + "end": 1203, + "loc": { + "start": { + "line": 25, + "column": 2 + }, + "end": { + "line": 50, + "column": 4 + } + }, + "argument": { + "type": "CallExpression", + "start": 509, + "end": 1202, + "loc": { + "start": { + "line": 25, + "column": 9 + }, + "end": { + "line": 50, + "column": 3 + } + }, + "callee": { + "type": "MemberExpression", + "start": 509, + "end": 528, + "loc": { + "start": { + "line": 25, + "column": 9 + }, + "end": { + "line": 25, + "column": 28 + } + }, + "object": { + "type": "Identifier", + "start": 509, + "end": 514, + "loc": { + "start": { + "line": 25, + "column": 9 + }, + "end": { + "line": 25, + "column": 14 + }, + "identifierName": "React" + }, + "name": "React" + }, + "property": { + "type": "Identifier", + "start": 515, + "end": 528, + "loc": { + "start": { + "line": 25, + "column": 15 + }, + "end": { + "line": 25, + "column": 28 + }, + "identifierName": "createElement" + }, + "name": "createElement" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 533, + "end": 555, + "loc": { + "start": { + "line": 26, + "column": 3 + }, + "end": { + "line": 26, + "column": 25 + } + }, + "object": { + "type": "MemberExpression", + "start": 533, + "end": 543, + "loc": { + "start": { + "line": 26, + "column": 3 + }, + "end": { + "line": 26, + "column": 13 + } + }, + "object": { + "type": "ThisExpression", + "start": 533, + "end": 537, + "loc": { + "start": { + "line": 26, + "column": 3 + }, + "end": { + "line": 26, + "column": 7 + } + } + }, + "property": { + "type": "Identifier", + "start": 538, + "end": 543, + "loc": { + "start": { + "line": 26, + "column": 8 + }, + "end": { + "line": 26, + "column": 13 + }, + "identifierName": "props" + }, + "name": "props" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 544, + "end": 555, + "loc": { + "start": { + "line": 26, + "column": 14 + }, + "end": { + "line": 26, + "column": 25 + }, + "identifierName": "elementType" + }, + "name": "elementType" + }, + "computed": false + }, + { + "type": "ObjectExpression", + "start": 560, + "end": 750, + "loc": { + "start": { + "line": 27, + "column": 3 + }, + "end": { + "line": 31, + "column": 4 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 566, + "end": 672, + "loc": { + "start": { + "line": 28, + "column": 4 + }, + "end": { + "line": 28, + "column": 110 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 566, + "end": 571, + "loc": { + "start": { + "line": 28, + "column": 4 + }, + "end": { + "line": 28, + "column": 9 + }, + "identifierName": "style" + }, + "name": "style" + }, + "value": { + "type": "ObjectExpression", + "start": 573, + "end": 672, + "loc": { + "start": { + "line": 28, + "column": 11 + }, + "end": { + "line": 28, + "column": 110 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 574, + "end": 671, + "loc": { + "start": { + "line": 28, + "column": 12 + }, + "end": { + "line": 28, + "column": 109 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 574, + "end": 584, + "loc": { + "start": { + "line": 28, + "column": 12 + }, + "end": { + "line": 28, + "column": 22 + }, + "identifierName": "background" + }, + "name": "background" + }, + "value": { + "type": "ConditionalExpression", + "start": 586, + "end": 671, + "loc": { + "start": { + "line": 28, + "column": 24 + }, + "end": { + "line": 28, + "column": 109 + } + }, + "test": { + "type": "MemberExpression", + "start": 586, + "end": 610, + "loc": { + "start": { + "line": 28, + "column": 24 + }, + "end": { + "line": 28, + "column": 48 + } + }, + "object": { + "type": "MemberExpression", + "start": 586, + "end": 596, + "loc": { + "start": { + "line": 28, + "column": 24 + }, + "end": { + "line": 28, + "column": 34 + } + }, + "object": { + "type": "ThisExpression", + "start": 586, + "end": 590, + "loc": { + "start": { + "line": 28, + "column": 24 + }, + "end": { + "line": 28, + "column": 28 + } + } + }, + "property": { + "type": "Identifier", + "start": 591, + "end": 596, + "loc": { + "start": { + "line": 28, + "column": 29 + }, + "end": { + "line": 28, + "column": 34 + }, + "identifierName": "props" + }, + "name": "props" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 597, + "end": 610, + "loc": { + "start": { + "line": 28, + "column": 35 + }, + "end": { + "line": 28, + "column": 48 + }, + "identifierName": "isHighlighted" + }, + "name": "isHighlighted" + }, + "computed": false + }, + "consequent": { + "type": "MemberExpression", + "start": 613, + "end": 638, + "loc": { + "start": { + "line": 28, + "column": 51 + }, + "end": { + "line": 28, + "column": 76 + } + }, + "object": { + "type": "MemberExpression", + "start": 613, + "end": 623, + "loc": { + "start": { + "line": 28, + "column": 51 + }, + "end": { + "line": 28, + "column": 61 + } + }, + "object": { + "type": "ThisExpression", + "start": 613, + "end": 617, + "loc": { + "start": { + "line": 28, + "column": 51 + }, + "end": { + "line": 28, + "column": 55 + } + } + }, + "property": { + "type": "Identifier", + "start": 618, + "end": 623, + "loc": { + "start": { + "line": 28, + "column": 56 + }, + "end": { + "line": 28, + "column": 61 + }, + "identifierName": "props" + }, + "name": "props" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 624, + "end": 638, + "loc": { + "start": { + "line": 28, + "column": 62 + }, + "end": { + "line": 28, + "column": 76 + }, + "identifierName": "highlightColor" + }, + "name": "highlightColor" + }, + "computed": false + }, + "alternate": { + "type": "MemberExpression", + "start": 641, + "end": 671, + "loc": { + "start": { + "line": 28, + "column": 79 + }, + "end": { + "line": 28, + "column": 109 + } + }, + "object": { + "type": "MemberExpression", + "start": 641, + "end": 651, + "loc": { + "start": { + "line": 28, + "column": 79 + }, + "end": { + "line": 28, + "column": 89 + } + }, + "object": { + "type": "ThisExpression", + "start": 641, + "end": 645, + "loc": { + "start": { + "line": 28, + "column": 79 + }, + "end": { + "line": 28, + "column": 83 + } + } + }, + "property": { + "type": "Identifier", + "start": 646, + "end": 651, + "loc": { + "start": { + "line": 28, + "column": 84 + }, + "end": { + "line": 28, + "column": 89 + }, + "identifierName": "props" + }, + "name": "props" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 652, + "end": 671, + "loc": { + "start": { + "line": 28, + "column": 90 + }, + "end": { + "line": 28, + "column": 109 + }, + "identifierName": "notHighlighterColor" + }, + "name": "notHighlighterColor" + }, + "computed": false + } + } + } + ] + } + }, + { + "type": "ObjectProperty", + "start": 678, + "end": 743, + "loc": { + "start": { + "line": 29, + "column": 4 + }, + "end": { + "line": 29, + "column": 69 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 678, + "end": 687, + "loc": { + "start": { + "line": 29, + "column": 4 + }, + "end": { + "line": 29, + "column": 13 + }, + "identifierName": "className" + }, + "name": "className" + }, + "value": { + "type": "CallExpression", + "start": 689, + "end": 743, + "loc": { + "start": { + "line": 29, + "column": 15 + }, + "end": { + "line": 29, + "column": 69 + } + }, + "callee": { + "type": "Identifier", + "start": 689, + "end": 699, + "loc": { + "start": { + "line": 29, + "column": 15 + }, + "end": { + "line": 29, + "column": 25 + }, + "identifierName": "classNames" + }, + "name": "classNames" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 700, + "end": 720, + "loc": { + "start": { + "line": 29, + "column": 26 + }, + "end": { + "line": 29, + "column": 46 + } + }, + "object": { + "type": "MemberExpression", + "start": 700, + "end": 710, + "loc": { + "start": { + "line": 29, + "column": 26 + }, + "end": { + "line": 29, + "column": 36 + } + }, + "object": { + "type": "ThisExpression", + "start": 700, + "end": 704, + "loc": { + "start": { + "line": 29, + "column": 26 + }, + "end": { + "line": 29, + "column": 30 + } + } + }, + "property": { + "type": "Identifier", + "start": 705, + "end": 710, + "loc": { + "start": { + "line": 29, + "column": 31 + }, + "end": { + "line": 29, + "column": 36 + }, + "identifierName": "props" + }, + "name": "props" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 711, + "end": 720, + "loc": { + "start": { + "line": 29, + "column": 37 + }, + "end": { + "line": 29, + "column": 46 + }, + "identifierName": "className" + }, + "name": "className" + }, + "computed": false + }, + { + "type": "StringLiteral", + "start": 722, + "end": 742, + "loc": { + "start": { + "line": 29, + "column": 48 + }, + "end": { + "line": 29, + "column": 68 + } + }, + "extra": { + "rawValue": "magic-input-option", + "raw": "'magic-input-option'" + }, + "value": "magic-input-option" + } + ] + } + } + ] + }, + { + "type": "ArrayExpression", + "start": 755, + "end": 1198, + "loc": { + "start": { + "line": 32, + "column": 3 + }, + "end": { + "line": 49, + "column": 4 + } + }, + "elements": [ + { + "type": "CallExpression", + "start": 761, + "end": 973, + "loc": { + "start": { + "line": 33, + "column": 4 + }, + "end": { + "line": 40, + "column": 5 + } + }, + "callee": { + "type": "MemberExpression", + "start": 761, + "end": 780, + "loc": { + "start": { + "line": 33, + "column": 4 + }, + "end": { + "line": 33, + "column": 23 + } + }, + "object": { + "type": "Identifier", + "start": 761, + "end": 766, + "loc": { + "start": { + "line": 33, + "column": 4 + }, + "end": { + "line": 33, + "column": 9 + }, + "identifierName": "React" + }, + "name": "React" + }, + "property": { + "type": "Identifier", + "start": 767, + "end": 780, + "loc": { + "start": { + "line": 33, + "column": 10 + }, + "end": { + "line": 33, + "column": 23 + }, + "identifierName": "createElement" + }, + "name": "createElement" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 787, + "end": 814, + "loc": { + "start": { + "line": 34, + "column": 5 + }, + "end": { + "line": 34, + "column": 32 + } + }, + "object": { + "type": "MemberExpression", + "start": 787, + "end": 797, + "loc": { + "start": { + "line": 34, + "column": 5 + }, + "end": { + "line": 34, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 787, + "end": 791, + "loc": { + "start": { + "line": 34, + "column": 5 + }, + "end": { + "line": 34, + "column": 9 + } + } + }, + "property": { + "type": "Identifier", + "start": 792, + "end": 797, + "loc": { + "start": { + "line": 34, + "column": 10 + }, + "end": { + "line": 34, + "column": 15 + }, + "identifierName": "props" + }, + "name": "props" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 798, + "end": 814, + "loc": { + "start": { + "line": 34, + "column": 16 + }, + "end": { + "line": 34, + "column": 32 + }, + "identifierName": "innerElementType" + }, + "name": "innerElementType" + }, + "computed": false + }, + { + "type": "ObjectExpression", + "start": 821, + "end": 939, + "loc": { + "start": { + "line": 35, + "column": 5 + }, + "end": { + "line": 38, + "column": 6 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 829, + "end": 864, + "loc": { + "start": { + "line": 36, + "column": 6 + }, + "end": { + "line": 36, + "column": 41 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 829, + "end": 832, + "loc": { + "start": { + "line": 36, + "column": 6 + }, + "end": { + "line": 36, + "column": 9 + }, + "identifierName": "key" + }, + "name": "key" + }, + "value": { + "type": "TemplateLiteral", + "start": 834, + "end": 864, + "loc": { + "start": { + "line": 36, + "column": 11 + }, + "end": { + "line": 36, + "column": 41 + } + }, + "expressions": [ + { + "type": "MemberExpression", + "start": 843, + "end": 862, + "loc": { + "start": { + "line": 36, + "column": 20 + }, + "end": { + "line": 36, + "column": 39 + } + }, + "object": { + "type": "MemberExpression", + "start": 843, + "end": 853, + "loc": { + "start": { + "line": 36, + "column": 20 + }, + "end": { + "line": 36, + "column": 30 + } + }, + "object": { + "type": "ThisExpression", + "start": 843, + "end": 847, + "loc": { + "start": { + "line": 36, + "column": 20 + }, + "end": { + "line": 36, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "start": 848, + "end": 853, + "loc": { + "start": { + "line": 36, + "column": 25 + }, + "end": { + "line": 36, + "column": 30 + }, + "identifierName": "props" + }, + "name": "props" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 854, + "end": 862, + "loc": { + "start": { + "line": 36, + "column": 31 + }, + "end": { + "line": 36, + "column": 39 + }, + "identifierName": "innerKey" + }, + "name": "innerKey" + }, + "computed": false + } + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 835, + "end": 841, + "loc": { + "start": { + "line": 36, + "column": 12 + }, + "end": { + "line": 36, + "column": 18 + } + }, + "value": { + "raw": "left--", + "cooked": "left--" + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 863, + "end": 863, + "loc": { + "start": { + "line": 36, + "column": 40 + }, + "end": { + "line": 36, + "column": 40 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": true + } + ] + } + }, + { + "type": "ObjectProperty", + "start": 872, + "end": 932, + "loc": { + "start": { + "line": 37, + "column": 6 + }, + "end": { + "line": 37, + "column": 66 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 872, + "end": 881, + "loc": { + "start": { + "line": 37, + "column": 6 + }, + "end": { + "line": 37, + "column": 15 + }, + "identifierName": "className" + }, + "name": "className" + }, + "value": { + "type": "CallExpression", + "start": 883, + "end": 932, + "loc": { + "start": { + "line": 37, + "column": 17 + }, + "end": { + "line": 37, + "column": 66 + } + }, + "callee": { + "type": "Identifier", + "start": 883, + "end": 893, + "loc": { + "start": { + "line": 37, + "column": 17 + }, + "end": { + "line": 37, + "column": 27 + }, + "identifierName": "classNames" + }, + "name": "classNames" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 894, + "end": 912, + "loc": { + "start": { + "line": 37, + "column": 28 + }, + "end": { + "line": 37, + "column": 46 + } + }, + "extra": { + "rawValue": "magic-item-value", + "raw": "'magic-item-value'" + }, + "value": "magic-item-value" + }, + { + "type": "StringLiteral", + "start": 914, + "end": 931, + "loc": { + "start": { + "line": 37, + "column": 48 + }, + "end": { + "line": 37, + "column": 65 + } + }, + "extra": { + "rawValue": "magic-item-left", + "raw": "'magic-item-left'" + }, + "value": "magic-item-left" + } + ] + } + } + ] + }, + { + "type": "MemberExpression", + "start": 946, + "end": 967, + "loc": { + "start": { + "line": 39, + "column": 5 + }, + "end": { + "line": 39, + "column": 26 + } + }, + "object": { + "type": "MemberExpression", + "start": 946, + "end": 961, + "loc": { + "start": { + "line": 39, + "column": 5 + }, + "end": { + "line": 39, + "column": 20 + } + }, + "object": { + "type": "MemberExpression", + "start": 946, + "end": 956, + "loc": { + "start": { + "line": 39, + "column": 5 + }, + "end": { + "line": 39, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 946, + "end": 950, + "loc": { + "start": { + "line": 39, + "column": 5 + }, + "end": { + "line": 39, + "column": 9 + } + } + }, + "property": { + "type": "Identifier", + "start": 951, + "end": 956, + "loc": { + "start": { + "line": 39, + "column": 10 + }, + "end": { + "line": 39, + "column": 15 + }, + "identifierName": "props" + }, + "name": "props" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 957, + "end": 961, + "loc": { + "start": { + "line": 39, + "column": 16 + }, + "end": { + "line": 39, + "column": 20 + }, + "identifierName": "item" + }, + "name": "item" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 962, + "end": 967, + "loc": { + "start": { + "line": 39, + "column": 21 + }, + "end": { + "line": 39, + "column": 26 + }, + "identifierName": "value" + }, + "name": "value" + }, + "computed": false + } + ] + }, + { + "type": "CallExpression", + "start": 979, + "end": 1193, + "loc": { + "start": { + "line": 41, + "column": 4 + }, + "end": { + "line": 48, + "column": 5 + } + }, + "callee": { + "type": "MemberExpression", + "start": 979, + "end": 998, + "loc": { + "start": { + "line": 41, + "column": 4 + }, + "end": { + "line": 41, + "column": 23 + } + }, + "object": { + "type": "Identifier", + "start": 979, + "end": 984, + "loc": { + "start": { + "line": 41, + "column": 4 + }, + "end": { + "line": 41, + "column": 9 + }, + "identifierName": "React" + }, + "name": "React" + }, + "property": { + "type": "Identifier", + "start": 985, + "end": 998, + "loc": { + "start": { + "line": 41, + "column": 10 + }, + "end": { + "line": 41, + "column": 23 + }, + "identifierName": "createElement" + }, + "name": "createElement" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 1005, + "end": 1032, + "loc": { + "start": { + "line": 42, + "column": 5 + }, + "end": { + "line": 42, + "column": 32 + } + }, + "object": { + "type": "MemberExpression", + "start": 1005, + "end": 1015, + "loc": { + "start": { + "line": 42, + "column": 5 + }, + "end": { + "line": 42, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 1005, + "end": 1009, + "loc": { + "start": { + "line": 42, + "column": 5 + }, + "end": { + "line": 42, + "column": 9 + } + } + }, + "property": { + "type": "Identifier", + "start": 1010, + "end": 1015, + "loc": { + "start": { + "line": 42, + "column": 10 + }, + "end": { + "line": 42, + "column": 15 + }, + "identifierName": "props" + }, + "name": "props" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1016, + "end": 1032, + "loc": { + "start": { + "line": 42, + "column": 16 + }, + "end": { + "line": 42, + "column": 32 + }, + "identifierName": "innerElementType" + }, + "name": "innerElementType" + }, + "computed": false + }, + { + "type": "ObjectExpression", + "start": 1039, + "end": 1159, + "loc": { + "start": { + "line": 43, + "column": 5 + }, + "end": { + "line": 46, + "column": 6 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 1047, + "end": 1083, + "loc": { + "start": { + "line": 44, + "column": 6 + }, + "end": { + "line": 44, + "column": 42 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1047, + "end": 1050, + "loc": { + "start": { + "line": 44, + "column": 6 + }, + "end": { + "line": 44, + "column": 9 + }, + "identifierName": "key" + }, + "name": "key" + }, + "value": { + "type": "TemplateLiteral", + "start": 1052, + "end": 1083, + "loc": { + "start": { + "line": 44, + "column": 11 + }, + "end": { + "line": 44, + "column": 42 + } + }, + "expressions": [ + { + "type": "MemberExpression", + "start": 1062, + "end": 1081, + "loc": { + "start": { + "line": 44, + "column": 21 + }, + "end": { + "line": 44, + "column": 40 + } + }, + "object": { + "type": "MemberExpression", + "start": 1062, + "end": 1072, + "loc": { + "start": { + "line": 44, + "column": 21 + }, + "end": { + "line": 44, + "column": 31 + } + }, + "object": { + "type": "ThisExpression", + "start": 1062, + "end": 1066, + "loc": { + "start": { + "line": 44, + "column": 21 + }, + "end": { + "line": 44, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "start": 1067, + "end": 1072, + "loc": { + "start": { + "line": 44, + "column": 26 + }, + "end": { + "line": 44, + "column": 31 + }, + "identifierName": "props" + }, + "name": "props" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1073, + "end": 1081, + "loc": { + "start": { + "line": 44, + "column": 32 + }, + "end": { + "line": 44, + "column": 40 + }, + "identifierName": "innerKey" + }, + "name": "innerKey" + }, + "computed": false + } + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 1053, + "end": 1060, + "loc": { + "start": { + "line": 44, + "column": 12 + }, + "end": { + "line": 44, + "column": 19 + } + }, + "value": { + "raw": "right--", + "cooked": "right--" + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 1082, + "end": 1082, + "loc": { + "start": { + "line": 44, + "column": 41 + }, + "end": { + "line": 44, + "column": 41 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": true + } + ] + } + }, + { + "type": "ObjectProperty", + "start": 1091, + "end": 1152, + "loc": { + "start": { + "line": 45, + "column": 6 + }, + "end": { + "line": 45, + "column": 67 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1091, + "end": 1100, + "loc": { + "start": { + "line": 45, + "column": 6 + }, + "end": { + "line": 45, + "column": 15 + }, + "identifierName": "className" + }, + "name": "className" + }, + "value": { + "type": "CallExpression", + "start": 1102, + "end": 1152, + "loc": { + "start": { + "line": 45, + "column": 17 + }, + "end": { + "line": 45, + "column": 67 + } + }, + "callee": { + "type": "Identifier", + "start": 1102, + "end": 1112, + "loc": { + "start": { + "line": 45, + "column": 17 + }, + "end": { + "line": 45, + "column": 27 + }, + "identifierName": "classNames" + }, + "name": "classNames" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 1113, + "end": 1131, + "loc": { + "start": { + "line": 45, + "column": 28 + }, + "end": { + "line": 45, + "column": 46 + } + }, + "extra": { + "rawValue": "magic-item-label", + "raw": "'magic-item-label'" + }, + "value": "magic-item-label" + }, + { + "type": "StringLiteral", + "start": 1133, + "end": 1151, + "loc": { + "start": { + "line": 45, + "column": 48 + }, + "end": { + "line": 45, + "column": 66 + } + }, + "extra": { + "rawValue": "magic-item-right", + "raw": "'magic-item-right'" + }, + "value": "magic-item-right" + } + ] + } + } + ] + }, + { + "type": "MemberExpression", + "start": 1166, + "end": 1187, + "loc": { + "start": { + "line": 47, + "column": 5 + }, + "end": { + "line": 47, + "column": 26 + } + }, + "object": { + "type": "MemberExpression", + "start": 1166, + "end": 1181, + "loc": { + "start": { + "line": 47, + "column": 5 + }, + "end": { + "line": 47, + "column": 20 + } + }, + "object": { + "type": "MemberExpression", + "start": 1166, + "end": 1176, + "loc": { + "start": { + "line": 47, + "column": 5 + }, + "end": { + "line": 47, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 1166, + "end": 1170, + "loc": { + "start": { + "line": 47, + "column": 5 + }, + "end": { + "line": 47, + "column": 9 + } + } + }, + "property": { + "type": "Identifier", + "start": 1171, + "end": 1176, + "loc": { + "start": { + "line": 47, + "column": 10 + }, + "end": { + "line": 47, + "column": 15 + }, + "identifierName": "props" + }, + "name": "props" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1177, + "end": 1181, + "loc": { + "start": { + "line": 47, + "column": 16 + }, + "end": { + "line": 47, + "column": 20 + }, + "identifierName": "item" + }, + "name": "item" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1182, + "end": 1187, + "loc": { + "start": { + "line": 47, + "column": 21 + }, + "end": { + "line": 47, + "column": 26 + }, + "identifierName": "label" + }, + "name": "label" + }, + "computed": false + } + ] + } + ] + } + ] + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n\t * Render magic item components\n\t ", + "start": 446, + "end": 487, + "loc": { + "start": { + "line": 21, + "column": 1 + }, + "end": { + "line": 23, + "column": 4 + } + } + } + ] + } + ] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\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 ", + "start": 146, + "end": 390, + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 18, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\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 ", + "start": 146, + "end": 390, + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 18, + "column": 3 + } + } + } + ] + }, + { + "type": "EmptyStatement", + "start": 1208, + "end": 1209, + "loc": { + "start": { + "line": 52, + "column": 1 + }, + "end": { + "line": 52, + "column": 2 + } + }, + "leadingComments": null, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Prop definition for allowed element types\n * @type {shim}\n ", + "start": 1211, + "end": 1279, + "loc": { + "start": { + "line": 54, + "column": 0 + }, + "end": { + "line": 57, + "column": 3 + } + } + } + ] + }, + { + "type": "VariableDeclaration", + "start": 1280, + "end": 1338, + "loc": { + "start": { + "line": 58, + "column": 0 + }, + "end": { + "line": 58, + "column": 58 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1286, + "end": 1337, + "loc": { + "start": { + "line": 58, + "column": 6 + }, + "end": { + "line": 58, + "column": 57 + } + }, + "id": { + "type": "Identifier", + "start": 1286, + "end": 1302, + "loc": { + "start": { + "line": 58, + "column": 6 + }, + "end": { + "line": 58, + "column": 22 + }, + "identifierName": "elementTypesProp" + }, + "name": "elementTypesProp", + "leadingComments": null + }, + "init": { + "type": "CallExpression", + "start": 1305, + "end": 1337, + "loc": { + "start": { + "line": 58, + "column": 25 + }, + "end": { + "line": 58, + "column": 57 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1305, + "end": 1320, + "loc": { + "start": { + "line": 58, + "column": 25 + }, + "end": { + "line": 58, + "column": 40 + } + }, + "object": { + "type": "Identifier", + "start": 1305, + "end": 1314, + "loc": { + "start": { + "line": 58, + "column": 25 + }, + "end": { + "line": 58, + "column": 34 + }, + "identifierName": "PropTypes" + }, + "name": "PropTypes" + }, + "property": { + "type": "Identifier", + "start": 1315, + "end": 1320, + "loc": { + "start": { + "line": 58, + "column": 35 + }, + "end": { + "line": 58, + "column": 40 + }, + "identifierName": "oneOf" + }, + "name": "oneOf" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrayExpression", + "start": 1321, + "end": 1336, + "loc": { + "start": { + "line": 58, + "column": 41 + }, + "end": { + "line": 58, + "column": 56 + } + }, + "elements": [ + { + "type": "StringLiteral", + "start": 1322, + "end": 1327, + "loc": { + "start": { + "line": 58, + "column": 42 + }, + "end": { + "line": 58, + "column": 47 + } + }, + "extra": { + "rawValue": "div", + "raw": "'div'" + }, + "value": "div" + }, + { + "type": "StringLiteral", + "start": 1329, + "end": 1335, + "loc": { + "start": { + "line": 58, + "column": 49 + }, + "end": { + "line": 58, + "column": 55 + } + }, + "extra": { + "rawValue": "span", + "raw": "'span'" + }, + "value": "span" + } + ] + } + ] + }, + "leadingComments": null + } + ], + "kind": "const", + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Prop definition for allowed element types\n * @type {shim}\n ", + "start": 1211, + "end": 1279, + "loc": { + "start": { + "line": 54, + "column": 0 + }, + "end": { + "line": 57, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Prop definitions for MagicItem component\n *\n * @type {{item: shim, isHighlighted: shim, className: shim, highlightColor: shim, notHighlighterColor: shim}}\n ", + "start": 1339, + "end": 1504, + "loc": { + "start": { + "line": 59, + "column": 0 + }, + "end": { + "line": 63, + "column": 3 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 1505, + "end": 1813, + "loc": { + "start": { + "line": 64, + "column": 0 + }, + "end": { + "line": 73, + "column": 2 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1505, + "end": 1812, + "loc": { + "start": { + "line": 64, + "column": 0 + }, + "end": { + "line": 73, + "column": 1 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1505, + "end": 1524, + "loc": { + "start": { + "line": 64, + "column": 0 + }, + "end": { + "line": 64, + "column": 19 + } + }, + "object": { + "type": "Identifier", + "start": 1505, + "end": 1514, + "loc": { + "start": { + "line": 64, + "column": 0 + }, + "end": { + "line": 64, + "column": 9 + }, + "identifierName": "MagicItem" + }, + "name": "MagicItem", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 1515, + "end": 1524, + "loc": { + "start": { + "line": 64, + "column": 10 + }, + "end": { + "line": 64, + "column": 19 + }, + "identifierName": "propTypes" + }, + "name": "propTypes" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "ObjectExpression", + "start": 1527, + "end": 1812, + "loc": { + "start": { + "line": 64, + "column": 22 + }, + "end": { + "line": 73, + "column": 1 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 1530, + "end": 1559, + "loc": { + "start": { + "line": 65, + "column": 1 + }, + "end": { + "line": 65, + "column": 30 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1530, + "end": 1541, + "loc": { + "start": { + "line": 65, + "column": 1 + }, + "end": { + "line": 65, + "column": 12 + }, + "identifierName": "elementType" + }, + "name": "elementType" + }, + "value": { + "type": "Identifier", + "start": 1543, + "end": 1559, + "loc": { + "start": { + "line": 65, + "column": 14 + }, + "end": { + "line": 65, + "column": 30 + }, + "identifierName": "elementTypesProp" + }, + "name": "elementTypesProp" + } + }, + { + "type": "ObjectProperty", + "start": 1562, + "end": 1596, + "loc": { + "start": { + "line": 66, + "column": 1 + }, + "end": { + "line": 66, + "column": 35 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1562, + "end": 1578, + "loc": { + "start": { + "line": 66, + "column": 1 + }, + "end": { + "line": 66, + "column": 17 + }, + "identifierName": "innerElementType" + }, + "name": "innerElementType" + }, + "value": { + "type": "Identifier", + "start": 1580, + "end": 1596, + "loc": { + "start": { + "line": 66, + "column": 19 + }, + "end": { + "line": 66, + "column": 35 + }, + "identifierName": "elementTypesProp" + }, + "name": "elementTypesProp" + } + }, + { + "type": "ObjectProperty", + "start": 1599, + "end": 1633, + "loc": { + "start": { + "line": 67, + "column": 1 + }, + "end": { + "line": 67, + "column": 35 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1599, + "end": 1603, + "loc": { + "start": { + "line": 67, + "column": 1 + }, + "end": { + "line": 67, + "column": 5 + }, + "identifierName": "item" + }, + "name": "item" + }, + "value": { + "type": "CallExpression", + "start": 1605, + "end": 1633, + "loc": { + "start": { + "line": 67, + "column": 7 + }, + "end": { + "line": 67, + "column": 35 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1605, + "end": 1620, + "loc": { + "start": { + "line": 67, + "column": 7 + }, + "end": { + "line": 67, + "column": 22 + } + }, + "object": { + "type": "Identifier", + "start": 1605, + "end": 1614, + "loc": { + "start": { + "line": 67, + "column": 7 + }, + "end": { + "line": 67, + "column": 16 + }, + "identifierName": "PropTypes" + }, + "name": "PropTypes" + }, + "property": { + "type": "Identifier", + "start": 1615, + "end": 1620, + "loc": { + "start": { + "line": 67, + "column": 17 + }, + "end": { + "line": 67, + "column": 22 + }, + "identifierName": "shape" + }, + "name": "shape" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 1621, + "end": 1632, + "loc": { + "start": { + "line": 67, + "column": 23 + }, + "end": { + "line": 67, + "column": 34 + }, + "identifierName": "optionShape" + }, + "name": "optionShape" + } + ] + } + }, + { + "type": "ObjectProperty", + "start": 1636, + "end": 1665, + "loc": { + "start": { + "line": 68, + "column": 1 + }, + "end": { + "line": 68, + "column": 30 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1636, + "end": 1649, + "loc": { + "start": { + "line": 68, + "column": 1 + }, + "end": { + "line": 68, + "column": 14 + }, + "identifierName": "isHighlighted" + }, + "name": "isHighlighted" + }, + "value": { + "type": "MemberExpression", + "start": 1651, + "end": 1665, + "loc": { + "start": { + "line": 68, + "column": 16 + }, + "end": { + "line": 68, + "column": 30 + } + }, + "object": { + "type": "Identifier", + "start": 1651, + "end": 1660, + "loc": { + "start": { + "line": 68, + "column": 16 + }, + "end": { + "line": 68, + "column": 25 + }, + "identifierName": "PropTypes" + }, + "name": "PropTypes" + }, + "property": { + "type": "Identifier", + "start": 1661, + "end": 1665, + "loc": { + "start": { + "line": 68, + "column": 26 + }, + "end": { + "line": 68, + "column": 30 + }, + "identifierName": "bool" + }, + "name": "bool" + }, + "computed": false + } + }, + { + "type": "ObjectProperty", + "start": 1668, + "end": 1695, + "loc": { + "start": { + "line": 69, + "column": 1 + }, + "end": { + "line": 69, + "column": 28 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1668, + "end": 1677, + "loc": { + "start": { + "line": 69, + "column": 1 + }, + "end": { + "line": 69, + "column": 10 + }, + "identifierName": "className" + }, + "name": "className" + }, + "value": { + "type": "MemberExpression", + "start": 1679, + "end": 1695, + "loc": { + "start": { + "line": 69, + "column": 12 + }, + "end": { + "line": 69, + "column": 28 + } + }, + "object": { + "type": "Identifier", + "start": 1679, + "end": 1688, + "loc": { + "start": { + "line": 69, + "column": 12 + }, + "end": { + "line": 69, + "column": 21 + }, + "identifierName": "PropTypes" + }, + "name": "PropTypes" + }, + "property": { + "type": "Identifier", + "start": 1689, + "end": 1695, + "loc": { + "start": { + "line": 69, + "column": 22 + }, + "end": { + "line": 69, + "column": 28 + }, + "identifierName": "string" + }, + "name": "string" + }, + "computed": false + } + }, + { + "type": "ObjectProperty", + "start": 1698, + "end": 1730, + "loc": { + "start": { + "line": 70, + "column": 1 + }, + "end": { + "line": 70, + "column": 33 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1698, + "end": 1712, + "loc": { + "start": { + "line": 70, + "column": 1 + }, + "end": { + "line": 70, + "column": 15 + }, + "identifierName": "highlightColor" + }, + "name": "highlightColor" + }, + "value": { + "type": "MemberExpression", + "start": 1714, + "end": 1730, + "loc": { + "start": { + "line": 70, + "column": 17 + }, + "end": { + "line": 70, + "column": 33 + } + }, + "object": { + "type": "Identifier", + "start": 1714, + "end": 1723, + "loc": { + "start": { + "line": 70, + "column": 17 + }, + "end": { + "line": 70, + "column": 26 + }, + "identifierName": "PropTypes" + }, + "name": "PropTypes" + }, + "property": { + "type": "Identifier", + "start": 1724, + "end": 1730, + "loc": { + "start": { + "line": 70, + "column": 27 + }, + "end": { + "line": 70, + "column": 33 + }, + "identifierName": "string" + }, + "name": "string" + }, + "computed": false + } + }, + { + "type": "ObjectProperty", + "start": 1733, + "end": 1770, + "loc": { + "start": { + "line": 71, + "column": 1 + }, + "end": { + "line": 71, + "column": 38 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1733, + "end": 1752, + "loc": { + "start": { + "line": 71, + "column": 1 + }, + "end": { + "line": 71, + "column": 20 + }, + "identifierName": "notHighlighterColor" + }, + "name": "notHighlighterColor" + }, + "value": { + "type": "MemberExpression", + "start": 1754, + "end": 1770, + "loc": { + "start": { + "line": 71, + "column": 22 + }, + "end": { + "line": 71, + "column": 38 + } + }, + "object": { + "type": "Identifier", + "start": 1754, + "end": 1763, + "loc": { + "start": { + "line": 71, + "column": 22 + }, + "end": { + "line": 71, + "column": 31 + }, + "identifierName": "PropTypes" + }, + "name": "PropTypes" + }, + "property": { + "type": "Identifier", + "start": 1764, + "end": 1770, + "loc": { + "start": { + "line": 71, + "column": 32 + }, + "end": { + "line": 71, + "column": 38 + }, + "identifierName": "string" + }, + "name": "string" + }, + "computed": false + } + }, + { + "type": "ObjectProperty", + "start": 1773, + "end": 1810, + "loc": { + "start": { + "line": 72, + "column": 1 + }, + "end": { + "line": 72, + "column": 38 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1773, + "end": 1781, + "loc": { + "start": { + "line": 72, + "column": 1 + }, + "end": { + "line": 72, + "column": 9 + }, + "identifierName": "innerKey" + }, + "name": "innerKey" + }, + "value": { + "type": "MemberExpression", + "start": 1783, + "end": 1810, + "loc": { + "start": { + "line": 72, + "column": 11 + }, + "end": { + "line": 72, + "column": 38 + } + }, + "object": { + "type": "MemberExpression", + "start": 1783, + "end": 1799, + "loc": { + "start": { + "line": 72, + "column": 11 + }, + "end": { + "line": 72, + "column": 27 + } + }, + "object": { + "type": "Identifier", + "start": 1783, + "end": 1792, + "loc": { + "start": { + "line": 72, + "column": 11 + }, + "end": { + "line": 72, + "column": 20 + }, + "identifierName": "PropTypes" + }, + "name": "PropTypes" + }, + "property": { + "type": "Identifier", + "start": 1793, + "end": 1799, + "loc": { + "start": { + "line": 72, + "column": 21 + }, + "end": { + "line": 72, + "column": 27 + }, + "identifierName": "string" + }, + "name": "string" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1800, + "end": 1810, + "loc": { + "start": { + "line": 72, + "column": 28 + }, + "end": { + "line": 72, + "column": 38 + }, + "identifierName": "isRequired" + }, + "name": "isRequired" + }, + "computed": false + } + } + ] + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Prop definitions for MagicItem component\n *\n * @type {{item: shim, isHighlighted: shim, className: shim, highlightColor: shim, notHighlighterColor: shim}}\n ", + "start": 1339, + "end": 1504, + "loc": { + "start": { + "line": 59, + "column": 0 + }, + "end": { + "line": 63, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Default props for the MagicItem component\n *\n * @type {{isHighlighted: boolean, highlightColor: string, notHighlightedColor: string}}\n ", + "start": 1815, + "end": 1959, + "loc": { + "start": { + "line": 75, + "column": 0 + }, + "end": { + "line": 79, + "column": 3 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 1960, + "end": 2121, + "loc": { + "start": { + "line": 80, + "column": 0 + }, + "end": { + "line": 86, + "column": 2 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 1960, + "end": 2120, + "loc": { + "start": { + "line": 80, + "column": 0 + }, + "end": { + "line": 86, + "column": 1 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 1960, + "end": 1982, + "loc": { + "start": { + "line": 80, + "column": 0 + }, + "end": { + "line": 80, + "column": 22 + } + }, + "object": { + "type": "Identifier", + "start": 1960, + "end": 1969, + "loc": { + "start": { + "line": 80, + "column": 0 + }, + "end": { + "line": 80, + "column": 9 + }, + "identifierName": "MagicItem" + }, + "name": "MagicItem", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 1970, + "end": 1982, + "loc": { + "start": { + "line": 80, + "column": 10 + }, + "end": { + "line": 80, + "column": 22 + }, + "identifierName": "defaultProps" + }, + "name": "defaultProps" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "ObjectExpression", + "start": 1985, + "end": 2120, + "loc": { + "start": { + "line": 80, + "column": 25 + }, + "end": { + "line": 86, + "column": 1 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 1988, + "end": 2006, + "loc": { + "start": { + "line": 81, + "column": 1 + }, + "end": { + "line": 81, + "column": 19 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1988, + "end": 1999, + "loc": { + "start": { + "line": 81, + "column": 1 + }, + "end": { + "line": 81, + "column": 12 + }, + "identifierName": "elementType" + }, + "name": "elementType" + }, + "value": { + "type": "StringLiteral", + "start": 2001, + "end": 2006, + "loc": { + "start": { + "line": 81, + "column": 14 + }, + "end": { + "line": 81, + "column": 19 + } + }, + "extra": { + "rawValue": "div", + "raw": "'div'" + }, + "value": "div" + } + }, + { + "type": "ObjectProperty", + "start": 2009, + "end": 2033, + "loc": { + "start": { + "line": 82, + "column": 1 + }, + "end": { + "line": 82, + "column": 25 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2009, + "end": 2025, + "loc": { + "start": { + "line": 82, + "column": 1 + }, + "end": { + "line": 82, + "column": 17 + }, + "identifierName": "innerElementType" + }, + "name": "innerElementType" + }, + "value": { + "type": "StringLiteral", + "start": 2027, + "end": 2033, + "loc": { + "start": { + "line": 82, + "column": 19 + }, + "end": { + "line": 82, + "column": 25 + } + }, + "extra": { + "rawValue": "span", + "raw": "'span'" + }, + "value": "span" + } + }, + { + "type": "ObjectProperty", + "start": 2036, + "end": 2056, + "loc": { + "start": { + "line": 83, + "column": 1 + }, + "end": { + "line": 83, + "column": 21 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2036, + "end": 2049, + "loc": { + "start": { + "line": 83, + "column": 1 + }, + "end": { + "line": 83, + "column": 14 + }, + "identifierName": "isHighlighted" + }, + "name": "isHighlighted" + }, + "value": { + "type": "BooleanLiteral", + "start": 2051, + "end": 2056, + "loc": { + "start": { + "line": 83, + "column": 16 + }, + "end": { + "line": 83, + "column": 21 + } + }, + "value": false + } + }, + { + "type": "ObjectProperty", + "start": 2059, + "end": 2086, + "loc": { + "start": { + "line": 84, + "column": 1 + }, + "end": { + "line": 84, + "column": 28 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2059, + "end": 2073, + "loc": { + "start": { + "line": 84, + "column": 1 + }, + "end": { + "line": 84, + "column": 15 + }, + "identifierName": "highlightColor" + }, + "name": "highlightColor" + }, + "value": { + "type": "StringLiteral", + "start": 2075, + "end": 2086, + "loc": { + "start": { + "line": 84, + "column": 17 + }, + "end": { + "line": 84, + "column": 28 + } + }, + "extra": { + "rawValue": "lightgray", + "raw": "'lightgray'" + }, + "value": "lightgray" + } + }, + { + "type": "ObjectProperty", + "start": 2089, + "end": 2117, + "loc": { + "start": { + "line": 85, + "column": 1 + }, + "end": { + "line": 85, + "column": 29 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2089, + "end": 2108, + "loc": { + "start": { + "line": 85, + "column": 1 + }, + "end": { + "line": 85, + "column": 20 + }, + "identifierName": "notHighlightedColor" + }, + "name": "notHighlightedColor" + }, + "value": { + "type": "StringLiteral", + "start": 2110, + "end": 2117, + "loc": { + "start": { + "line": 85, + "column": 22 + }, + "end": { + "line": 85, + "column": 29 + } + }, + "extra": { + "rawValue": "white", + "raw": "'white'" + }, + "value": "white" + } + } + ] + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Default props for the MagicItem component\n *\n * @type {{isHighlighted: boolean, highlightColor: string, notHighlightedColor: string}}\n ", + "start": 1815, + "end": 1959, + "loc": { + "start": { + "line": 75, + "column": 0 + }, + "end": { + "line": 79, + "column": 3 + } + } + } + ] + } + ], + "directives": [] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\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 ", + "start": 146, + "end": 390, + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 18, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n\t * Render magic item components\n\t ", + "start": 446, + "end": 487, + "loc": { + "start": { + "line": 21, + "column": 1 + }, + "end": { + "line": 23, + "column": 4 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Prop definition for allowed element types\n * @type {shim}\n ", + "start": 1211, + "end": 1279, + "loc": { + "start": { + "line": 54, + "column": 0 + }, + "end": { + "line": 57, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Prop definitions for MagicItem component\n *\n * @type {{item: shim, isHighlighted: shim, className: shim, highlightColor: shim, notHighlighterColor: shim}}\n ", + "start": 1339, + "end": 1504, + "loc": { + "start": { + "line": 59, + "column": 0 + }, + "end": { + "line": 63, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Default props for the MagicItem component\n *\n * @type {{isHighlighted: boolean, highlightColor: string, notHighlightedColor: string}}\n ", + "start": 1815, + "end": 1959, + "loc": { + "start": { + "line": 75, + "column": 0 + }, + "end": { + "line": 79, + "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": "optionShape", + "start": 37, + "end": 48, + "loc": { + "start": { + "line": 3, + "column": 1 + }, + "end": { + "line": 3, + "column": 12 + } + } + }, + { + "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": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 1 + } + } + }, + { + "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": 4, + "column": 2 + }, + "end": { + "line": 4, + "column": 6 + } + } + }, + { + "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": 4, + "column": 7 + }, + "end": { + "line": 4, + "column": 21 + } + } + }, + { + "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": 4, + "column": 21 + }, + "end": { + "line": 4, + "column": 22 + } + } + }, + { + "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": 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": "classNames", + "start": 79, + "end": 89, + "loc": { + "start": { + "line": 5, + "column": 7 + }, + "end": { + "line": 5, + "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": 5, + "column": 18 + }, + "end": { + "line": 5, + "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": 5, + "column": 23 + }, + "end": { + "line": 5, + "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": 5, + "column": 35 + }, + "end": { + "line": 5, + "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": 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": 116, + "end": 125, + "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": 126, + "end": 130, + "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": 131, + "end": 143, + "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": 143, + "end": 144, + "loc": { + "start": { + "line": 6, + "column": 34 + }, + "end": { + "line": 6, + "column": 35 + } + } + }, + { + "type": "CommentBlock", + "value": "*\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 ", + "start": 146, + "end": 390, + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 18, + "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": 391, + "end": 397, + "loc": { + "start": { + "line": 19, + "column": 0 + }, + "end": { + "line": 19, + "column": 6 + } + } + }, + { + "type": { + "label": "class", + "keyword": "class", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "class", + "start": 398, + "end": 403, + "loc": { + "start": { + "line": 19, + "column": 7 + }, + "end": { + "line": 19, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MagicItem", + "start": 404, + "end": 413, + "loc": { + "start": { + "line": 19, + "column": 13 + }, + "end": { + "line": 19, + "column": 22 + } + } + }, + { + "type": { + "label": "extends", + "keyword": "extends", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "extends", + "start": 414, + "end": 421, + "loc": { + "start": { + "line": 19, + "column": 23 + }, + "end": { + "line": 19, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "React", + "start": 422, + "end": 427, + "loc": { + "start": { + "line": 19, + "column": 31 + }, + "end": { + "line": 19, + "column": 36 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 427, + "end": 428, + "loc": { + "start": { + "line": 19, + "column": 36 + }, + "end": { + "line": 19, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PureComponent", + "start": 428, + "end": 441, + "loc": { + "start": { + "line": 19, + "column": 37 + }, + "end": { + "line": 19, + "column": 50 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 442, + "end": 443, + "loc": { + "start": { + "line": 19, + "column": 51 + }, + "end": { + "line": 19, + "column": 52 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n\t * Render magic item components\n\t ", + "start": 446, + "end": 487, + "loc": { + "start": { + "line": 21, + "column": 1 + }, + "end": { + "line": 23, + "column": 4 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "render", + "start": 489, + "end": 495, + "loc": { + "start": { + "line": 24, + "column": 1 + }, + "end": { + "line": 24, + "column": 7 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 495, + "end": 496, + "loc": { + "start": { + "line": 24, + "column": 7 + }, + "end": { + "line": 24, + "column": 8 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 496, + "end": 497, + "loc": { + "start": { + "line": 24, + "column": 8 + }, + "end": { + "line": 24, + "column": 9 + } + } + }, + { + "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": 24, + "column": 10 + }, + "end": { + "line": 24, + "column": 11 + } + } + }, + { + "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": 502, + "end": 508, + "loc": { + "start": { + "line": 25, + "column": 2 + }, + "end": { + "line": 25, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "React", + "start": 509, + "end": 514, + "loc": { + "start": { + "line": 25, + "column": 9 + }, + "end": { + "line": 25, + "column": 14 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 514, + "end": 515, + "loc": { + "start": { + "line": 25, + "column": 14 + }, + "end": { + "line": 25, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "createElement", + "start": 515, + "end": 528, + "loc": { + "start": { + "line": 25, + "column": 15 + }, + "end": { + "line": 25, + "column": 28 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 528, + "end": 529, + "loc": { + "start": { + "line": 25, + "column": 28 + }, + "end": { + "line": 25, + "column": 29 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 533, + "end": 537, + "loc": { + "start": { + "line": 26, + "column": 3 + }, + "end": { + "line": 26, + "column": 7 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": 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": "elementType", + "start": 544, + "end": 555, + "loc": { + "start": { + "line": 26, + "column": 14 + }, + "end": { + "line": 26, + "column": 25 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 555, + "end": 556, + "loc": { + "start": { + "line": 26, + "column": 25 + }, + "end": { + "line": 26, + "column": 26 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 560, + "end": 561, + "loc": { + "start": { + "line": 27, + "column": 3 + }, + "end": { + "line": 27, + "column": 4 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "style", + "start": 566, + "end": 571, + "loc": { + "start": { + "line": 28, + "column": 4 + }, + "end": { + "line": 28, + "column": 9 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 571, + "end": 572, + "loc": { + "start": { + "line": 28, + "column": 9 + }, + "end": { + "line": 28, + "column": 10 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 573, + "end": 574, + "loc": { + "start": { + "line": 28, + "column": 11 + }, + "end": { + "line": 28, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "background", + "start": 574, + "end": 584, + "loc": { + "start": { + "line": 28, + "column": 12 + }, + "end": { + "line": 28, + "column": 22 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 584, + "end": 585, + "loc": { + "start": { + "line": 28, + "column": 22 + }, + "end": { + "line": 28, + "column": 23 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 586, + "end": 590, + "loc": { + "start": { + "line": 28, + "column": 24 + }, + "end": { + "line": 28, + "column": 28 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 590, + "end": 591, + "loc": { + "start": { + "line": 28, + "column": 28 + }, + "end": { + "line": 28, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "props", + "start": 591, + "end": 596, + "loc": { + "start": { + "line": 28, + "column": 29 + }, + "end": { + "line": 28, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 596, + "end": 597, + "loc": { + "start": { + "line": 28, + "column": 34 + }, + "end": { + "line": 28, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isHighlighted", + "start": 597, + "end": 610, + "loc": { + "start": { + "line": 28, + "column": 35 + }, + "end": { + "line": 28, + "column": 48 + } + } + }, + { + "type": { + "label": "?", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 611, + "end": 612, + "loc": { + "start": { + "line": 28, + "column": 49 + }, + "end": { + "line": 28, + "column": 50 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 613, + "end": 617, + "loc": { + "start": { + "line": 28, + "column": 51 + }, + "end": { + "line": 28, + "column": 55 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 617, + "end": 618, + "loc": { + "start": { + "line": 28, + "column": 55 + }, + "end": { + "line": 28, + "column": 56 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "props", + "start": 618, + "end": 623, + "loc": { + "start": { + "line": 28, + "column": 56 + }, + "end": { + "line": 28, + "column": 61 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 623, + "end": 624, + "loc": { + "start": { + "line": 28, + "column": 61 + }, + "end": { + "line": 28, + "column": 62 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "highlightColor", + "start": 624, + "end": 638, + "loc": { + "start": { + "line": 28, + "column": 62 + }, + "end": { + "line": 28, + "column": 76 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 639, + "end": 640, + "loc": { + "start": { + "line": 28, + "column": 77 + }, + "end": { + "line": 28, + "column": 78 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 641, + "end": 645, + "loc": { + "start": { + "line": 28, + "column": 79 + }, + "end": { + "line": 28, + "column": 83 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 645, + "end": 646, + "loc": { + "start": { + "line": 28, + "column": 83 + }, + "end": { + "line": 28, + "column": 84 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "props", + "start": 646, + "end": 651, + "loc": { + "start": { + "line": 28, + "column": 84 + }, + "end": { + "line": 28, + "column": 89 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 651, + "end": 652, + "loc": { + "start": { + "line": 28, + "column": 89 + }, + "end": { + "line": 28, + "column": 90 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "notHighlighterColor", + "start": 652, + "end": 671, + "loc": { + "start": { + "line": 28, + "column": 90 + }, + "end": { + "line": 28, + "column": 109 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 671, + "end": 672, + "loc": { + "start": { + "line": 28, + "column": 109 + }, + "end": { + "line": 28, + "column": 110 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 672, + "end": 673, + "loc": { + "start": { + "line": 28, + "column": 110 + }, + "end": { + "line": 28, + "column": 111 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "className", + "start": 678, + "end": 687, + "loc": { + "start": { + "line": 29, + "column": 4 + }, + "end": { + "line": 29, + "column": 13 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 687, + "end": 688, + "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": "classNames", + "start": 689, + "end": 699, + "loc": { + "start": { + "line": 29, + "column": 15 + }, + "end": { + "line": 29, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 699, + "end": 700, + "loc": { + "start": { + "line": 29, + "column": 25 + }, + "end": { + "line": 29, + "column": 26 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 700, + "end": 704, + "loc": { + "start": { + "line": 29, + "column": 26 + }, + "end": { + "line": 29, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 704, + "end": 705, + "loc": { + "start": { + "line": 29, + "column": 30 + }, + "end": { + "line": 29, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "props", + "start": 705, + "end": 710, + "loc": { + "start": { + "line": 29, + "column": 31 + }, + "end": { + "line": 29, + "column": 36 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 710, + "end": 711, + "loc": { + "start": { + "line": 29, + "column": 36 + }, + "end": { + "line": 29, + "column": 37 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "className", + "start": 711, + "end": 720, + "loc": { + "start": { + "line": 29, + "column": 37 + }, + "end": { + "line": 29, + "column": 46 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 720, + "end": 721, + "loc": { + "start": { + "line": 29, + "column": 46 + }, + "end": { + "line": 29, + "column": 47 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "magic-input-option", + "start": 722, + "end": 742, + "loc": { + "start": { + "line": 29, + "column": 48 + }, + "end": { + "line": 29, + "column": 68 + } + } + }, + { + "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": 29, + "column": 68 + }, + "end": { + "line": 29, + "column": 69 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 743, + "end": 744, + "loc": { + "start": { + "line": 29, + "column": 69 + }, + "end": { + "line": 29, + "column": 70 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 749, + "end": 750, + "loc": { + "start": { + "line": 31, + "column": 3 + }, + "end": { + "line": 31, + "column": 4 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 750, + "end": 751, + "loc": { + "start": { + "line": 31, + "column": 4 + }, + "end": { + "line": 31, + "column": 5 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 755, + "end": 756, + "loc": { + "start": { + "line": 32, + "column": 3 + }, + "end": { + "line": 32, + "column": 4 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "React", + "start": 761, + "end": 766, + "loc": { + "start": { + "line": 33, + "column": 4 + }, + "end": { + "line": 33, + "column": 9 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 766, + "end": 767, + "loc": { + "start": { + "line": 33, + "column": 9 + }, + "end": { + "line": 33, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "createElement", + "start": 767, + "end": 780, + "loc": { + "start": { + "line": 33, + "column": 10 + }, + "end": { + "line": 33, + "column": 23 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 780, + "end": 781, + "loc": { + "start": { + "line": 33, + "column": 23 + }, + "end": { + "line": 33, + "column": 24 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 787, + "end": 791, + "loc": { + "start": { + "line": 34, + "column": 5 + }, + "end": { + "line": 34, + "column": 9 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 791, + "end": 792, + "loc": { + "start": { + "line": 34, + "column": 9 + }, + "end": { + "line": 34, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "props", + "start": 792, + "end": 797, + "loc": { + "start": { + "line": 34, + "column": 10 + }, + "end": { + "line": 34, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 797, + "end": 798, + "loc": { + "start": { + "line": 34, + "column": 15 + }, + "end": { + "line": 34, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "innerElementType", + "start": 798, + "end": 814, + "loc": { + "start": { + "line": 34, + "column": 16 + }, + "end": { + "line": 34, + "column": 32 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 814, + "end": 815, + "loc": { + "start": { + "line": 34, + "column": 32 + }, + "end": { + "line": 34, + "column": 33 + } + } + }, + { + "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": 35, + "column": 5 + }, + "end": { + "line": 35, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "key", + "start": 829, + "end": 832, + "loc": { + "start": { + "line": 36, + "column": 6 + }, + "end": { + "line": 36, + "column": 9 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 832, + "end": 833, + "loc": { + "start": { + "line": 36, + "column": 9 + }, + "end": { + "line": 36, + "column": 10 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 834, + "end": 835, + "loc": { + "start": { + "line": 36, + "column": 11 + }, + "end": { + "line": 36, + "column": 12 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "left--", + "start": 835, + "end": 841, + "loc": { + "start": { + "line": 36, + "column": 12 + }, + "end": { + "line": 36, + "column": 18 + } + } + }, + { + "type": { + "label": "${", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 841, + "end": 843, + "loc": { + "start": { + "line": 36, + "column": 18 + }, + "end": { + "line": 36, + "column": 20 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 843, + "end": 847, + "loc": { + "start": { + "line": 36, + "column": 20 + }, + "end": { + "line": 36, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 847, + "end": 848, + "loc": { + "start": { + "line": 36, + "column": 24 + }, + "end": { + "line": 36, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "props", + "start": 848, + "end": 853, + "loc": { + "start": { + "line": 36, + "column": 25 + }, + "end": { + "line": 36, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 853, + "end": 854, + "loc": { + "start": { + "line": 36, + "column": 30 + }, + "end": { + "line": 36, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "innerKey", + "start": 854, + "end": 862, + "loc": { + "start": { + "line": 36, + "column": 31 + }, + "end": { + "line": 36, + "column": 39 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 862, + "end": 863, + "loc": { + "start": { + "line": 36, + "column": 39 + }, + "end": { + "line": 36, + "column": 40 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "", + "start": 863, + "end": 863, + "loc": { + "start": { + "line": 36, + "column": 40 + }, + "end": { + "line": 36, + "column": 40 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 863, + "end": 864, + "loc": { + "start": { + "line": 36, + "column": 40 + }, + "end": { + "line": 36, + "column": 41 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 864, + "end": 865, + "loc": { + "start": { + "line": 36, + "column": 41 + }, + "end": { + "line": 36, + "column": 42 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "className", + "start": 872, + "end": 881, + "loc": { + "start": { + "line": 37, + "column": 6 + }, + "end": { + "line": 37, + "column": 15 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 881, + "end": 882, + "loc": { + "start": { + "line": 37, + "column": 15 + }, + "end": { + "line": 37, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "classNames", + "start": 883, + "end": 893, + "loc": { + "start": { + "line": 37, + "column": 17 + }, + "end": { + "line": 37, + "column": 27 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 893, + "end": 894, + "loc": { + "start": { + "line": 37, + "column": 27 + }, + "end": { + "line": 37, + "column": 28 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "magic-item-value", + "start": 894, + "end": 912, + "loc": { + "start": { + "line": 37, + "column": 28 + }, + "end": { + "line": 37, + "column": 46 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 912, + "end": 913, + "loc": { + "start": { + "line": 37, + "column": 46 + }, + "end": { + "line": 37, + "column": 47 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "magic-item-left", + "start": 914, + "end": 931, + "loc": { + "start": { + "line": 37, + "column": 48 + }, + "end": { + "line": 37, + "column": 65 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 931, + "end": 932, + "loc": { + "start": { + "line": 37, + "column": 65 + }, + "end": { + "line": 37, + "column": 66 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 938, + "end": 939, + "loc": { + "start": { + "line": 38, + "column": 5 + }, + "end": { + "line": 38, + "column": 6 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 939, + "end": 940, + "loc": { + "start": { + "line": 38, + "column": 6 + }, + "end": { + "line": 38, + "column": 7 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 946, + "end": 950, + "loc": { + "start": { + "line": 39, + "column": 5 + }, + "end": { + "line": 39, + "column": 9 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 950, + "end": 951, + "loc": { + "start": { + "line": 39, + "column": 9 + }, + "end": { + "line": 39, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "props", + "start": 951, + "end": 956, + "loc": { + "start": { + "line": 39, + "column": 10 + }, + "end": { + "line": 39, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 956, + "end": 957, + "loc": { + "start": { + "line": 39, + "column": 15 + }, + "end": { + "line": 39, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "item", + "start": 957, + "end": 961, + "loc": { + "start": { + "line": 39, + "column": 16 + }, + "end": { + "line": 39, + "column": 20 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 961, + "end": 962, + "loc": { + "start": { + "line": 39, + "column": 20 + }, + "end": { + "line": 39, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "value", + "start": 962, + "end": 967, + "loc": { + "start": { + "line": 39, + "column": 21 + }, + "end": { + "line": 39, + "column": 26 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 972, + "end": 973, + "loc": { + "start": { + "line": 40, + "column": 4 + }, + "end": { + "line": 40, + "column": 5 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 973, + "end": 974, + "loc": { + "start": { + "line": 40, + "column": 5 + }, + "end": { + "line": 40, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "React", + "start": 979, + "end": 984, + "loc": { + "start": { + "line": 41, + "column": 4 + }, + "end": { + "line": 41, + "column": 9 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 984, + "end": 985, + "loc": { + "start": { + "line": 41, + "column": 9 + }, + "end": { + "line": 41, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "createElement", + "start": 985, + "end": 998, + "loc": { + "start": { + "line": 41, + "column": 10 + }, + "end": { + "line": 41, + "column": 23 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 998, + "end": 999, + "loc": { + "start": { + "line": 41, + "column": 23 + }, + "end": { + "line": 41, + "column": 24 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1005, + "end": 1009, + "loc": { + "start": { + "line": 42, + "column": 5 + }, + "end": { + "line": 42, + "column": 9 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1009, + "end": 1010, + "loc": { + "start": { + "line": 42, + "column": 9 + }, + "end": { + "line": 42, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "props", + "start": 1010, + "end": 1015, + "loc": { + "start": { + "line": 42, + "column": 10 + }, + "end": { + "line": 42, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1015, + "end": 1016, + "loc": { + "start": { + "line": 42, + "column": 15 + }, + "end": { + "line": 42, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "innerElementType", + "start": 1016, + "end": 1032, + "loc": { + "start": { + "line": 42, + "column": 16 + }, + "end": { + "line": 42, + "column": 32 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1032, + "end": 1033, + "loc": { + "start": { + "line": 42, + "column": 32 + }, + "end": { + "line": 42, + "column": 33 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1039, + "end": 1040, + "loc": { + "start": { + "line": 43, + "column": 5 + }, + "end": { + "line": 43, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "key", + "start": 1047, + "end": 1050, + "loc": { + "start": { + "line": 44, + "column": 6 + }, + "end": { + "line": 44, + "column": 9 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1050, + "end": 1051, + "loc": { + "start": { + "line": 44, + "column": 9 + }, + "end": { + "line": 44, + "column": 10 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1052, + "end": 1053, + "loc": { + "start": { + "line": 44, + "column": 11 + }, + "end": { + "line": 44, + "column": 12 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "right--", + "start": 1053, + "end": 1060, + "loc": { + "start": { + "line": 44, + "column": 12 + }, + "end": { + "line": 44, + "column": 19 + } + } + }, + { + "type": { + "label": "${", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1060, + "end": 1062, + "loc": { + "start": { + "line": 44, + "column": 19 + }, + "end": { + "line": 44, + "column": 21 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1062, + "end": 1066, + "loc": { + "start": { + "line": 44, + "column": 21 + }, + "end": { + "line": 44, + "column": 25 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1066, + "end": 1067, + "loc": { + "start": { + "line": 44, + "column": 25 + }, + "end": { + "line": 44, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "props", + "start": 1067, + "end": 1072, + "loc": { + "start": { + "line": 44, + "column": 26 + }, + "end": { + "line": 44, + "column": 31 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1072, + "end": 1073, + "loc": { + "start": { + "line": 44, + "column": 31 + }, + "end": { + "line": 44, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "innerKey", + "start": 1073, + "end": 1081, + "loc": { + "start": { + "line": 44, + "column": 32 + }, + "end": { + "line": 44, + "column": 40 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1081, + "end": 1082, + "loc": { + "start": { + "line": 44, + "column": 40 + }, + "end": { + "line": 44, + "column": 41 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "", + "start": 1082, + "end": 1082, + "loc": { + "start": { + "line": 44, + "column": 41 + }, + "end": { + "line": 44, + "column": 41 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1082, + "end": 1083, + "loc": { + "start": { + "line": 44, + "column": 41 + }, + "end": { + "line": 44, + "column": 42 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1083, + "end": 1084, + "loc": { + "start": { + "line": 44, + "column": 42 + }, + "end": { + "line": 44, + "column": 43 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "className", + "start": 1091, + "end": 1100, + "loc": { + "start": { + "line": 45, + "column": 6 + }, + "end": { + "line": 45, + "column": 15 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1100, + "end": 1101, + "loc": { + "start": { + "line": 45, + "column": 15 + }, + "end": { + "line": 45, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "classNames", + "start": 1102, + "end": 1112, + "loc": { + "start": { + "line": 45, + "column": 17 + }, + "end": { + "line": 45, + "column": 27 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1112, + "end": 1113, + "loc": { + "start": { + "line": 45, + "column": 27 + }, + "end": { + "line": 45, + "column": 28 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "magic-item-label", + "start": 1113, + "end": 1131, + "loc": { + "start": { + "line": 45, + "column": 28 + }, + "end": { + "line": 45, + "column": 46 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1131, + "end": 1132, + "loc": { + "start": { + "line": 45, + "column": 46 + }, + "end": { + "line": 45, + "column": 47 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "magic-item-right", + "start": 1133, + "end": 1151, + "loc": { + "start": { + "line": 45, + "column": 48 + }, + "end": { + "line": 45, + "column": 66 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1151, + "end": 1152, + "loc": { + "start": { + "line": 45, + "column": 66 + }, + "end": { + "line": 45, + "column": 67 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1158, + "end": 1159, + "loc": { + "start": { + "line": 46, + "column": 5 + }, + "end": { + "line": 46, + "column": 6 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1159, + "end": 1160, + "loc": { + "start": { + "line": 46, + "column": 6 + }, + "end": { + "line": 46, + "column": 7 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1166, + "end": 1170, + "loc": { + "start": { + "line": 47, + "column": 5 + }, + "end": { + "line": 47, + "column": 9 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1170, + "end": 1171, + "loc": { + "start": { + "line": 47, + "column": 9 + }, + "end": { + "line": 47, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "props", + "start": 1171, + "end": 1176, + "loc": { + "start": { + "line": 47, + "column": 10 + }, + "end": { + "line": 47, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1176, + "end": 1177, + "loc": { + "start": { + "line": 47, + "column": 15 + }, + "end": { + "line": 47, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "item", + "start": 1177, + "end": 1181, + "loc": { + "start": { + "line": 47, + "column": 16 + }, + "end": { + "line": 47, + "column": 20 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1181, + "end": 1182, + "loc": { + "start": { + "line": 47, + "column": 20 + }, + "end": { + "line": 47, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "label", + "start": 1182, + "end": 1187, + "loc": { + "start": { + "line": 47, + "column": 21 + }, + "end": { + "line": 47, + "column": 26 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1192, + "end": 1193, + "loc": { + "start": { + "line": 48, + "column": 4 + }, + "end": { + "line": 48, + "column": 5 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1197, + "end": 1198, + "loc": { + "start": { + "line": 49, + "column": 3 + }, + "end": { + "line": 49, + "column": 4 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1201, + "end": 1202, + "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": null, + "updateContext": null + }, + "start": 1202, + "end": 1203, + "loc": { + "start": { + "line": 50, + "column": 3 + }, + "end": { + "line": 50, + "column": 4 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1205, + "end": 1206, + "loc": { + "start": { + "line": 51, + "column": 1 + }, + "end": { + "line": 51, + "column": 2 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1207, + "end": 1208, + "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": 1208, + "end": 1209, + "loc": { + "start": { + "line": 52, + "column": 1 + }, + "end": { + "line": 52, + "column": 2 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Prop definition for allowed element types\n * @type {shim}\n ", + "start": 1211, + "end": 1279, + "loc": { + "start": { + "line": 54, + "column": 0 + }, + "end": { + "line": 57, + "column": 3 + } + } + }, + { + "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": 1280, + "end": 1285, + "loc": { + "start": { + "line": 58, + "column": 0 + }, + "end": { + "line": 58, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "elementTypesProp", + "start": 1286, + "end": 1302, + "loc": { + "start": { + "line": 58, + "column": 6 + }, + "end": { + "line": 58, + "column": 22 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1303, + "end": 1304, + "loc": { + "start": { + "line": 58, + "column": 23 + }, + "end": { + "line": 58, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PropTypes", + "start": 1305, + "end": 1314, + "loc": { + "start": { + "line": 58, + "column": 25 + }, + "end": { + "line": 58, + "column": 34 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1314, + "end": 1315, + "loc": { + "start": { + "line": 58, + "column": 34 + }, + "end": { + "line": 58, + "column": 35 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "oneOf", + "start": 1315, + "end": 1320, + "loc": { + "start": { + "line": 58, + "column": 35 + }, + "end": { + "line": 58, + "column": 40 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1320, + "end": 1321, + "loc": { + "start": { + "line": 58, + "column": 40 + }, + "end": { + "line": 58, + "column": 41 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1321, + "end": 1322, + "loc": { + "start": { + "line": 58, + "column": 41 + }, + "end": { + "line": 58, + "column": 42 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "div", + "start": 1322, + "end": 1327, + "loc": { + "start": { + "line": 58, + "column": 42 + }, + "end": { + "line": 58, + "column": 47 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1327, + "end": 1328, + "loc": { + "start": { + "line": 58, + "column": 47 + }, + "end": { + "line": 58, + "column": 48 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "span", + "start": 1329, + "end": 1335, + "loc": { + "start": { + "line": 58, + "column": 49 + }, + "end": { + "line": 58, + "column": 55 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1335, + "end": 1336, + "loc": { + "start": { + "line": 58, + "column": 55 + }, + "end": { + "line": 58, + "column": 56 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1336, + "end": 1337, + "loc": { + "start": { + "line": 58, + "column": 56 + }, + "end": { + "line": 58, + "column": 57 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1337, + "end": 1338, + "loc": { + "start": { + "line": 58, + "column": 57 + }, + "end": { + "line": 58, + "column": 58 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Prop definitions for MagicItem component\n *\n * @type {{item: shim, isHighlighted: shim, className: shim, highlightColor: shim, notHighlighterColor: shim}}\n ", + "start": 1339, + "end": 1504, + "loc": { + "start": { + "line": 59, + "column": 0 + }, + "end": { + "line": 63, + "column": 3 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MagicItem", + "start": 1505, + "end": 1514, + "loc": { + "start": { + "line": 64, + "column": 0 + }, + "end": { + "line": 64, + "column": 9 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1514, + "end": 1515, + "loc": { + "start": { + "line": 64, + "column": 9 + }, + "end": { + "line": 64, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "propTypes", + "start": 1515, + "end": 1524, + "loc": { + "start": { + "line": 64, + "column": 10 + }, + "end": { + "line": 64, + "column": 19 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1525, + "end": 1526, + "loc": { + "start": { + "line": 64, + "column": 20 + }, + "end": { + "line": 64, + "column": 21 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1527, + "end": 1528, + "loc": { + "start": { + "line": 64, + "column": 22 + }, + "end": { + "line": 64, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "elementType", + "start": 1530, + "end": 1541, + "loc": { + "start": { + "line": 65, + "column": 1 + }, + "end": { + "line": 65, + "column": 12 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1541, + "end": 1542, + "loc": { + "start": { + "line": 65, + "column": 12 + }, + "end": { + "line": 65, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "elementTypesProp", + "start": 1543, + "end": 1559, + "loc": { + "start": { + "line": 65, + "column": 14 + }, + "end": { + "line": 65, + "column": 30 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1559, + "end": 1560, + "loc": { + "start": { + "line": 65, + "column": 30 + }, + "end": { + "line": 65, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "innerElementType", + "start": 1562, + "end": 1578, + "loc": { + "start": { + "line": 66, + "column": 1 + }, + "end": { + "line": 66, + "column": 17 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1578, + "end": 1579, + "loc": { + "start": { + "line": 66, + "column": 17 + }, + "end": { + "line": 66, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "elementTypesProp", + "start": 1580, + "end": 1596, + "loc": { + "start": { + "line": 66, + "column": 19 + }, + "end": { + "line": 66, + "column": 35 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1596, + "end": 1597, + "loc": { + "start": { + "line": 66, + "column": 35 + }, + "end": { + "line": 66, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "item", + "start": 1599, + "end": 1603, + "loc": { + "start": { + "line": 67, + "column": 1 + }, + "end": { + "line": 67, + "column": 5 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1603, + "end": 1604, + "loc": { + "start": { + "line": 67, + "column": 5 + }, + "end": { + "line": 67, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PropTypes", + "start": 1605, + "end": 1614, + "loc": { + "start": { + "line": 67, + "column": 7 + }, + "end": { + "line": 67, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1614, + "end": 1615, + "loc": { + "start": { + "line": 67, + "column": 16 + }, + "end": { + "line": 67, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "shape", + "start": 1615, + "end": 1620, + "loc": { + "start": { + "line": 67, + "column": 17 + }, + "end": { + "line": 67, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1620, + "end": 1621, + "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": "optionShape", + "start": 1621, + "end": 1632, + "loc": { + "start": { + "line": 67, + "column": 23 + }, + "end": { + "line": 67, + "column": 34 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1632, + "end": 1633, + "loc": { + "start": { + "line": 67, + "column": 34 + }, + "end": { + "line": 67, + "column": 35 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1633, + "end": 1634, + "loc": { + "start": { + "line": 67, + "column": 35 + }, + "end": { + "line": 67, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isHighlighted", + "start": 1636, + "end": 1649, + "loc": { + "start": { + "line": 68, + "column": 1 + }, + "end": { + "line": 68, + "column": 14 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1649, + "end": 1650, + "loc": { + "start": { + "line": 68, + "column": 14 + }, + "end": { + "line": 68, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PropTypes", + "start": 1651, + "end": 1660, + "loc": { + "start": { + "line": 68, + "column": 16 + }, + "end": { + "line": 68, + "column": 25 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1660, + "end": 1661, + "loc": { + "start": { + "line": 68, + "column": 25 + }, + "end": { + "line": 68, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bool", + "start": 1661, + "end": 1665, + "loc": { + "start": { + "line": 68, + "column": 26 + }, + "end": { + "line": 68, + "column": 30 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1665, + "end": 1666, + "loc": { + "start": { + "line": 68, + "column": 30 + }, + "end": { + "line": 68, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "className", + "start": 1668, + "end": 1677, + "loc": { + "start": { + "line": 69, + "column": 1 + }, + "end": { + "line": 69, + "column": 10 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1677, + "end": 1678, + "loc": { + "start": { + "line": 69, + "column": 10 + }, + "end": { + "line": 69, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PropTypes", + "start": 1679, + "end": 1688, + "loc": { + "start": { + "line": 69, + "column": 12 + }, + "end": { + "line": 69, + "column": 21 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1688, + "end": 1689, + "loc": { + "start": { + "line": 69, + "column": 21 + }, + "end": { + "line": 69, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "string", + "start": 1689, + "end": 1695, + "loc": { + "start": { + "line": 69, + "column": 22 + }, + "end": { + "line": 69, + "column": 28 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1695, + "end": 1696, + "loc": { + "start": { + "line": 69, + "column": 28 + }, + "end": { + "line": 69, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "highlightColor", + "start": 1698, + "end": 1712, + "loc": { + "start": { + "line": 70, + "column": 1 + }, + "end": { + "line": 70, + "column": 15 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1712, + "end": 1713, + "loc": { + "start": { + "line": 70, + "column": 15 + }, + "end": { + "line": 70, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PropTypes", + "start": 1714, + "end": 1723, + "loc": { + "start": { + "line": 70, + "column": 17 + }, + "end": { + "line": 70, + "column": 26 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1723, + "end": 1724, + "loc": { + "start": { + "line": 70, + "column": 26 + }, + "end": { + "line": 70, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "string", + "start": 1724, + "end": 1730, + "loc": { + "start": { + "line": 70, + "column": 27 + }, + "end": { + "line": 70, + "column": 33 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1730, + "end": 1731, + "loc": { + "start": { + "line": 70, + "column": 33 + }, + "end": { + "line": 70, + "column": 34 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "notHighlighterColor", + "start": 1733, + "end": 1752, + "loc": { + "start": { + "line": 71, + "column": 1 + }, + "end": { + "line": 71, + "column": 20 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1752, + "end": 1753, + "loc": { + "start": { + "line": 71, + "column": 20 + }, + "end": { + "line": 71, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PropTypes", + "start": 1754, + "end": 1763, + "loc": { + "start": { + "line": 71, + "column": 22 + }, + "end": { + "line": 71, + "column": 31 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1763, + "end": 1764, + "loc": { + "start": { + "line": 71, + "column": 31 + }, + "end": { + "line": 71, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "string", + "start": 1764, + "end": 1770, + "loc": { + "start": { + "line": 71, + "column": 32 + }, + "end": { + "line": 71, + "column": 38 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1770, + "end": 1771, + "loc": { + "start": { + "line": 71, + "column": 38 + }, + "end": { + "line": 71, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "innerKey", + "start": 1773, + "end": 1781, + "loc": { + "start": { + "line": 72, + "column": 1 + }, + "end": { + "line": 72, + "column": 9 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1781, + "end": 1782, + "loc": { + "start": { + "line": 72, + "column": 9 + }, + "end": { + "line": 72, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PropTypes", + "start": 1783, + "end": 1792, + "loc": { + "start": { + "line": 72, + "column": 11 + }, + "end": { + "line": 72, + "column": 20 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1792, + "end": 1793, + "loc": { + "start": { + "line": 72, + "column": 20 + }, + "end": { + "line": 72, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "string", + "start": 1793, + "end": 1799, + "loc": { + "start": { + "line": 72, + "column": 21 + }, + "end": { + "line": 72, + "column": 27 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1799, + "end": 1800, + "loc": { + "start": { + "line": 72, + "column": 27 + }, + "end": { + "line": 72, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isRequired", + "start": 1800, + "end": 1810, + "loc": { + "start": { + "line": 72, + "column": 28 + }, + "end": { + "line": 72, + "column": 38 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1811, + "end": 1812, + "loc": { + "start": { + "line": 73, + "column": 0 + }, + "end": { + "line": 73, + "column": 1 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1812, + "end": 1813, + "loc": { + "start": { + "line": 73, + "column": 1 + }, + "end": { + "line": 73, + "column": 2 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Default props for the MagicItem component\n *\n * @type {{isHighlighted: boolean, highlightColor: string, notHighlightedColor: string}}\n ", + "start": 1815, + "end": 1959, + "loc": { + "start": { + "line": 75, + "column": 0 + }, + "end": { + "line": 79, + "column": 3 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MagicItem", + "start": 1960, + "end": 1969, + "loc": { + "start": { + "line": 80, + "column": 0 + }, + "end": { + "line": 80, + "column": 9 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1969, + "end": 1970, + "loc": { + "start": { + "line": 80, + "column": 9 + }, + "end": { + "line": 80, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "defaultProps", + "start": 1970, + "end": 1982, + "loc": { + "start": { + "line": 80, + "column": 10 + }, + "end": { + "line": 80, + "column": 22 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1983, + "end": 1984, + "loc": { + "start": { + "line": 80, + "column": 23 + }, + "end": { + "line": 80, + "column": 24 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1985, + "end": 1986, + "loc": { + "start": { + "line": 80, + "column": 25 + }, + "end": { + "line": 80, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "elementType", + "start": 1988, + "end": 1999, + "loc": { + "start": { + "line": 81, + "column": 1 + }, + "end": { + "line": 81, + "column": 12 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1999, + "end": 2000, + "loc": { + "start": { + "line": 81, + "column": 12 + }, + "end": { + "line": 81, + "column": 13 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "div", + "start": 2001, + "end": 2006, + "loc": { + "start": { + "line": 81, + "column": 14 + }, + "end": { + "line": 81, + "column": 19 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2006, + "end": 2007, + "loc": { + "start": { + "line": 81, + "column": 19 + }, + "end": { + "line": 81, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "innerElementType", + "start": 2009, + "end": 2025, + "loc": { + "start": { + "line": 82, + "column": 1 + }, + "end": { + "line": 82, + "column": 17 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2025, + "end": 2026, + "loc": { + "start": { + "line": 82, + "column": 17 + }, + "end": { + "line": 82, + "column": 18 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "span", + "start": 2027, + "end": 2033, + "loc": { + "start": { + "line": 82, + "column": 19 + }, + "end": { + "line": 82, + "column": 25 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2033, + "end": 2034, + "loc": { + "start": { + "line": 82, + "column": 25 + }, + "end": { + "line": 82, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isHighlighted", + "start": 2036, + "end": 2049, + "loc": { + "start": { + "line": 83, + "column": 1 + }, + "end": { + "line": 83, + "column": 14 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2049, + "end": 2050, + "loc": { + "start": { + "line": 83, + "column": 14 + }, + "end": { + "line": 83, + "column": 15 + } + } + }, + { + "type": { + "label": "false", + "keyword": "false", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "false", + "start": 2051, + "end": 2056, + "loc": { + "start": { + "line": 83, + "column": 16 + }, + "end": { + "line": 83, + "column": 21 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2056, + "end": 2057, + "loc": { + "start": { + "line": 83, + "column": 21 + }, + "end": { + "line": 83, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "highlightColor", + "start": 2059, + "end": 2073, + "loc": { + "start": { + "line": 84, + "column": 1 + }, + "end": { + "line": 84, + "column": 15 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2073, + "end": 2074, + "loc": { + "start": { + "line": 84, + "column": 15 + }, + "end": { + "line": 84, + "column": 16 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "lightgray", + "start": 2075, + "end": 2086, + "loc": { + "start": { + "line": 84, + "column": 17 + }, + "end": { + "line": 84, + "column": 28 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2086, + "end": 2087, + "loc": { + "start": { + "line": 84, + "column": 28 + }, + "end": { + "line": 84, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "notHighlightedColor", + "start": 2089, + "end": 2108, + "loc": { + "start": { + "line": 85, + "column": 1 + }, + "end": { + "line": 85, + "column": 20 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2108, + "end": 2109, + "loc": { + "start": { + "line": 85, + "column": 20 + }, + "end": { + "line": 85, + "column": 21 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "white", + "start": 2110, + "end": 2117, + "loc": { + "start": { + "line": 85, + "column": 22 + }, + "end": { + "line": 85, + "column": 29 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2117, + "end": 2118, + "loc": { + "start": { + "line": 85, + "column": 29 + }, + "end": { + "line": 85, + "column": 30 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2119, + "end": 2120, + "loc": { + "start": { + "line": 86, + "column": 0 + }, + "end": { + "line": 86, + "column": 1 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2120, + "end": 2121, + "loc": { + "start": { + "line": 86, + "column": 1 + }, + "end": { + "line": 86, + "column": 2 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2121, + "end": 2121, + "loc": { + "start": { + "line": 86, + "column": 2 + }, + "end": { + "line": 86, + "column": 2 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/ast/source/components/fields/magic-select/MagicSelect.js.json b/docs/ast/source/components/fields/magic-select/MagicSelect.js.json new file mode 100644 index 0000000..f925ca8 --- /dev/null +++ b/docs/ast/source/components/fields/magic-select/MagicSelect.js.json @@ -0,0 +1,19286 @@ +{ + "type": "File", + "start": 0, + "end": 2707, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 137, + "column": 2 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 2707, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 137, + "column": 2 + } + }, + "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": 116, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 6, + "column": 22 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 37, + "end": 58, + "loc": { + "start": { + "line": 3, + "column": 1 + }, + "end": { + "line": 3, + "column": 22 + } + }, + "imported": { + "type": "Identifier", + "start": 37, + "end": 58, + "loc": { + "start": { + "line": 3, + "column": 1 + }, + "end": { + "line": 3, + "column": 22 + }, + "identifierName": "onValueChangePropType" + }, + "name": "onValueChangePropType" + }, + "local": { + "type": "Identifier", + "start": 37, + "end": 58, + "loc": { + "start": { + "line": 3, + "column": 1 + }, + "end": { + "line": 3, + "column": 22 + }, + "identifierName": "onValueChangePropType" + }, + "name": "onValueChangePropType" + } + }, + { + "type": "ImportSpecifier", + "start": 61, + "end": 77, + "loc": { + "start": { + "line": 4, + "column": 1 + }, + "end": { + "line": 4, + "column": 17 + } + }, + "imported": { + "type": "Identifier", + "start": 61, + "end": 77, + "loc": { + "start": { + "line": 4, + "column": 1 + }, + "end": { + "line": 4, + "column": 17 + }, + "identifierName": "optionsShapeProp" + }, + "name": "optionsShapeProp" + }, + "local": { + "type": "Identifier", + "start": 61, + "end": 77, + "loc": { + "start": { + "line": 4, + "column": 1 + }, + "end": { + "line": 4, + "column": 17 + }, + "identifierName": "optionsShapeProp" + }, + "name": "optionsShapeProp" + } + }, + { + "type": "ImportSpecifier", + "start": 80, + "end": 93, + "loc": { + "start": { + "line": 5, + "column": 1 + }, + "end": { + "line": 5, + "column": 14 + } + }, + "imported": { + "type": "Identifier", + "start": 80, + "end": 93, + "loc": { + "start": { + "line": 5, + "column": 1 + }, + "end": { + "line": 5, + "column": 14 + }, + "identifierName": "valuePropType" + }, + "name": "valuePropType" + }, + "local": { + "type": "Identifier", + "start": 80, + "end": 93, + "loc": { + "start": { + "line": 5, + "column": 1 + }, + "end": { + "line": 5, + "column": 14 + }, + "identifierName": "valuePropType" + }, + "name": "valuePropType" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 101, + "end": 115, + "loc": { + "start": { + "line": 6, + "column": 7 + }, + "end": { + "line": 6, + "column": 21 + } + }, + "extra": { + "rawValue": "../propTypes", + "raw": "'../propTypes'" + }, + "value": "../propTypes" + } + }, + { + "type": "ImportDeclaration", + "start": 117, + "end": 163, + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 7, + "column": 46 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 124, + "end": 136, + "loc": { + "start": { + "line": 7, + "column": 7 + }, + "end": { + "line": 7, + "column": 19 + } + }, + "local": { + "type": "Identifier", + "start": 124, + "end": 136, + "loc": { + "start": { + "line": 7, + "column": 7 + }, + "end": { + "line": 7, + "column": 19 + }, + "identifierName": "Autocomplete" + }, + "name": "Autocomplete" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 142, + "end": 162, + "loc": { + "start": { + "line": 7, + "column": 25 + }, + "end": { + "line": 7, + "column": 45 + } + }, + "extra": { + "rawValue": "react-autocomplete", + "raw": "'react-autocomplete'" + }, + "value": "react-autocomplete" + } + }, + { + "type": "ImportDeclaration", + "start": 164, + "end": 199, + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 8, + "column": 35 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 171, + "end": 180, + "loc": { + "start": { + "line": 8, + "column": 7 + }, + "end": { + "line": 8, + "column": 16 + } + }, + "local": { + "type": "Identifier", + "start": 171, + "end": 180, + "loc": { + "start": { + "line": 8, + "column": 7 + }, + "end": { + "line": 8, + "column": 16 + }, + "identifierName": "PropTypes" + }, + "name": "PropTypes" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 186, + "end": 198, + "loc": { + "start": { + "line": 8, + "column": 22 + }, + "end": { + "line": 8, + "column": 34 + } + }, + "extra": { + "rawValue": "prop-types", + "raw": "'prop-types'" + }, + "value": "prop-types" + } + }, + { + "type": "ImportDeclaration", + "start": 200, + "end": 238, + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 9, + "column": 38 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 208, + "end": 217, + "loc": { + "start": { + "line": 9, + "column": 8 + }, + "end": { + "line": 9, + "column": 17 + } + }, + "imported": { + "type": "Identifier", + "start": 208, + "end": 217, + "loc": { + "start": { + "line": 9, + "column": 8 + }, + "end": { + "line": 9, + "column": 17 + }, + "identifierName": "MagicItem" + }, + "name": "MagicItem" + }, + "local": { + "type": "Identifier", + "start": 208, + "end": 217, + "loc": { + "start": { + "line": 9, + "column": 8 + }, + "end": { + "line": 9, + "column": 17 + }, + "identifierName": "MagicItem" + }, + "name": "MagicItem" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 224, + "end": 237, + "loc": { + "start": { + "line": 9, + "column": 24 + }, + "end": { + "line": 9, + "column": 37 + } + }, + "extra": { + "rawValue": "./MagicItem", + "raw": "'./MagicItem'" + }, + "value": "./MagicItem" + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Encapsulates a complete Magic Select field\n ", + "start": 240, + "end": 293, + "loc": { + "start": { + "line": 11, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "start": 294, + "end": 2179, + "loc": { + "start": { + "line": 14, + "column": 0 + }, + "end": { + "line": 109, + "column": 1 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "ClassDeclaration", + "start": 301, + "end": 2179, + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 109, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 307, + "end": 318, + "loc": { + "start": { + "line": 14, + "column": 13 + }, + "end": { + "line": 14, + "column": 24 + }, + "identifierName": "MagicSelect" + }, + "name": "MagicSelect", + "leadingComments": null + }, + "superClass": { + "type": "MemberExpression", + "start": 327, + "end": 346, + "loc": { + "start": { + "line": 14, + "column": 33 + }, + "end": { + "line": 14, + "column": 52 + } + }, + "object": { + "type": "Identifier", + "start": 327, + "end": 332, + "loc": { + "start": { + "line": 14, + "column": 33 + }, + "end": { + "line": 14, + "column": 38 + }, + "identifierName": "React" + }, + "name": "React" + }, + "property": { + "type": "Identifier", + "start": 333, + "end": 346, + "loc": { + "start": { + "line": 14, + "column": 39 + }, + "end": { + "line": 14, + "column": 52 + }, + "identifierName": "PureComponent" + }, + "name": "PureComponent" + }, + "computed": false + }, + "body": { + "type": "ClassBody", + "start": 347, + "end": 2179, + "loc": { + "start": { + "line": 14, + "column": 53 + }, + "end": { + "line": 109, + "column": 1 + } + }, + "body": [ + { + "type": "ClassMethod", + "start": 426, + "end": 747, + "loc": { + "start": { + "line": 21, + "column": 1 + }, + "end": { + "line": 29, + "column": 2 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 426, + "end": 437, + "loc": { + "start": { + "line": 21, + "column": 1 + }, + "end": { + "line": 21, + "column": 12 + }, + "identifierName": "constructor" + }, + "name": "constructor", + "leadingComments": null + }, + "kind": "constructor", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 438, + "end": 443, + "loc": { + "start": { + "line": 21, + "column": 13 + }, + "end": { + "line": 21, + "column": 18 + }, + "identifierName": "props" + }, + "name": "props" + } + ], + "body": { + "type": "BlockStatement", + "start": 445, + "end": 747, + "loc": { + "start": { + "line": 21, + "column": 20 + }, + "end": { + "line": 29, + "column": 2 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 449, + "end": 462, + "loc": { + "start": { + "line": 22, + "column": 2 + }, + "end": { + "line": 22, + "column": 15 + } + }, + "expression": { + "type": "CallExpression", + "start": 449, + "end": 461, + "loc": { + "start": { + "line": 22, + "column": 2 + }, + "end": { + "line": 22, + "column": 14 + } + }, + "callee": { + "type": "Super", + "start": 449, + "end": 454, + "loc": { + "start": { + "line": 22, + "column": 2 + }, + "end": { + "line": 22, + "column": 7 + } + } + }, + "arguments": [ + { + "type": "Identifier", + "start": 455, + "end": 460, + "loc": { + "start": { + "line": 22, + "column": 8 + }, + "end": { + "line": 22, + "column": 13 + }, + "identifierName": "props" + }, + "name": "props" + } + ] + } + }, + { + "type": "ExpressionStatement", + "start": 465, + "end": 506, + "loc": { + "start": { + "line": 23, + "column": 2 + }, + "end": { + "line": 23, + "column": 43 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 465, + "end": 505, + "loc": { + "start": { + "line": 23, + "column": 2 + }, + "end": { + "line": 23, + "column": 42 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 465, + "end": 478, + "loc": { + "start": { + "line": 23, + "column": 2 + }, + "end": { + "line": 23, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 465, + "end": 469, + "loc": { + "start": { + "line": 23, + "column": 2 + }, + "end": { + "line": 23, + "column": 6 + } + } + }, + "property": { + "type": "Identifier", + "start": 470, + "end": 478, + "loc": { + "start": { + "line": 23, + "column": 7 + }, + "end": { + "line": 23, + "column": 15 + }, + "identifierName": "onChange" + }, + "name": "onChange" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 481, + "end": 505, + "loc": { + "start": { + "line": 23, + "column": 18 + }, + "end": { + "line": 23, + "column": 42 + } + }, + "callee": { + "type": "MemberExpression", + "start": 481, + "end": 499, + "loc": { + "start": { + "line": 23, + "column": 18 + }, + "end": { + "line": 23, + "column": 36 + } + }, + "object": { + "type": "MemberExpression", + "start": 481, + "end": 494, + "loc": { + "start": { + "line": 23, + "column": 18 + }, + "end": { + "line": 23, + "column": 31 + } + }, + "object": { + "type": "ThisExpression", + "start": 481, + "end": 485, + "loc": { + "start": { + "line": 23, + "column": 18 + }, + "end": { + "line": 23, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "start": 486, + "end": 494, + "loc": { + "start": { + "line": 23, + "column": 23 + }, + "end": { + "line": 23, + "column": 31 + }, + "identifierName": "onChange" + }, + "name": "onChange" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 495, + "end": 499, + "loc": { + "start": { + "line": 23, + "column": 32 + }, + "end": { + "line": 23, + "column": 36 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 500, + "end": 504, + "loc": { + "start": { + "line": 23, + "column": 37 + }, + "end": { + "line": 23, + "column": 41 + } + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 509, + "end": 550, + "loc": { + "start": { + "line": 24, + "column": 2 + }, + "end": { + "line": 24, + "column": 43 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 509, + "end": 549, + "loc": { + "start": { + "line": 24, + "column": 2 + }, + "end": { + "line": 24, + "column": 42 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 509, + "end": 522, + "loc": { + "start": { + "line": 24, + "column": 2 + }, + "end": { + "line": 24, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 509, + "end": 513, + "loc": { + "start": { + "line": 24, + "column": 2 + }, + "end": { + "line": 24, + "column": 6 + } + } + }, + "property": { + "type": "Identifier", + "start": 514, + "end": 522, + "loc": { + "start": { + "line": 24, + "column": 7 + }, + "end": { + "line": 24, + "column": 15 + }, + "identifierName": "onChange" + }, + "name": "onChange" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 525, + "end": 549, + "loc": { + "start": { + "line": 24, + "column": 18 + }, + "end": { + "line": 24, + "column": 42 + } + }, + "callee": { + "type": "MemberExpression", + "start": 525, + "end": 543, + "loc": { + "start": { + "line": 24, + "column": 18 + }, + "end": { + "line": 24, + "column": 36 + } + }, + "object": { + "type": "MemberExpression", + "start": 525, + "end": 538, + "loc": { + "start": { + "line": 24, + "column": 18 + }, + "end": { + "line": 24, + "column": 31 + } + }, + "object": { + "type": "ThisExpression", + "start": 525, + "end": 529, + "loc": { + "start": { + "line": 24, + "column": 18 + }, + "end": { + "line": 24, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "start": 530, + "end": 538, + "loc": { + "start": { + "line": 24, + "column": 23 + }, + "end": { + "line": 24, + "column": 31 + }, + "identifierName": "onChange" + }, + "name": "onChange" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 539, + "end": 543, + "loc": { + "start": { + "line": 24, + "column": 32 + }, + "end": { + "line": 24, + "column": 36 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 544, + "end": 548, + "loc": { + "start": { + "line": 24, + "column": 37 + }, + "end": { + "line": 24, + "column": 41 + } + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 553, + "end": 594, + "loc": { + "start": { + "line": 25, + "column": 2 + }, + "end": { + "line": 25, + "column": 43 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 553, + "end": 593, + "loc": { + "start": { + "line": 25, + "column": 2 + }, + "end": { + "line": 25, + "column": 42 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 553, + "end": 566, + "loc": { + "start": { + "line": 25, + "column": 2 + }, + "end": { + "line": 25, + "column": 15 + } + }, + "object": { + "type": "ThisExpression", + "start": 553, + "end": 557, + "loc": { + "start": { + "line": 25, + "column": 2 + }, + "end": { + "line": 25, + "column": 6 + } + } + }, + "property": { + "type": "Identifier", + "start": 558, + "end": 566, + "loc": { + "start": { + "line": 25, + "column": 7 + }, + "end": { + "line": 25, + "column": 15 + }, + "identifierName": "onSelect" + }, + "name": "onSelect" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 569, + "end": 593, + "loc": { + "start": { + "line": 25, + "column": 18 + }, + "end": { + "line": 25, + "column": 42 + } + }, + "callee": { + "type": "MemberExpression", + "start": 569, + "end": 587, + "loc": { + "start": { + "line": 25, + "column": 18 + }, + "end": { + "line": 25, + "column": 36 + } + }, + "object": { + "type": "MemberExpression", + "start": 569, + "end": 582, + "loc": { + "start": { + "line": 25, + "column": 18 + }, + "end": { + "line": 25, + "column": 31 + } + }, + "object": { + "type": "ThisExpression", + "start": 569, + "end": 573, + "loc": { + "start": { + "line": 25, + "column": 18 + }, + "end": { + "line": 25, + "column": 22 + } + } + }, + "property": { + "type": "Identifier", + "start": 574, + "end": 582, + "loc": { + "start": { + "line": 25, + "column": 23 + }, + "end": { + "line": 25, + "column": 31 + }, + "identifierName": "onSelect" + }, + "name": "onSelect" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 583, + "end": 587, + "loc": { + "start": { + "line": 25, + "column": 32 + }, + "end": { + "line": 25, + "column": 36 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 588, + "end": 592, + "loc": { + "start": { + "line": 25, + "column": 37 + }, + "end": { + "line": 25, + "column": 41 + } + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 597, + "end": 646, + "loc": { + "start": { + "line": 26, + "column": 2 + }, + "end": { + "line": 26, + "column": 51 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 597, + "end": 645, + "loc": { + "start": { + "line": 26, + "column": 2 + }, + "end": { + "line": 26, + "column": 50 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 597, + "end": 614, + "loc": { + "start": { + "line": 26, + "column": 2 + }, + "end": { + "line": 26, + "column": 19 + } + }, + "object": { + "type": "ThisExpression", + "start": 597, + "end": 601, + "loc": { + "start": { + "line": 26, + "column": 2 + }, + "end": { + "line": 26, + "column": 6 + } + } + }, + "property": { + "type": "Identifier", + "start": 602, + "end": 614, + "loc": { + "start": { + "line": 26, + "column": 7 + }, + "end": { + "line": 26, + "column": 19 + }, + "identifierName": "onInputFocus" + }, + "name": "onInputFocus" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 617, + "end": 645, + "loc": { + "start": { + "line": 26, + "column": 22 + }, + "end": { + "line": 26, + "column": 50 + } + }, + "callee": { + "type": "MemberExpression", + "start": 617, + "end": 639, + "loc": { + "start": { + "line": 26, + "column": 22 + }, + "end": { + "line": 26, + "column": 44 + } + }, + "object": { + "type": "MemberExpression", + "start": 617, + "end": 634, + "loc": { + "start": { + "line": 26, + "column": 22 + }, + "end": { + "line": 26, + "column": 39 + } + }, + "object": { + "type": "ThisExpression", + "start": 617, + "end": 621, + "loc": { + "start": { + "line": 26, + "column": 22 + }, + "end": { + "line": 26, + "column": 26 + } + } + }, + "property": { + "type": "Identifier", + "start": 622, + "end": 634, + "loc": { + "start": { + "line": 26, + "column": 27 + }, + "end": { + "line": 26, + "column": 39 + }, + "identifierName": "onInputFocus" + }, + "name": "onInputFocus" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 635, + "end": 639, + "loc": { + "start": { + "line": 26, + "column": 40 + }, + "end": { + "line": 26, + "column": 44 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 640, + "end": 644, + "loc": { + "start": { + "line": 26, + "column": 45 + }, + "end": { + "line": 26, + "column": 49 + } + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 649, + "end": 694, + "loc": { + "start": { + "line": 27, + "column": 2 + }, + "end": { + "line": 27, + "column": 47 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 649, + "end": 693, + "loc": { + "start": { + "line": 27, + "column": 2 + }, + "end": { + "line": 27, + "column": 46 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 649, + "end": 664, + "loc": { + "start": { + "line": 27, + "column": 2 + }, + "end": { + "line": 27, + "column": 17 + } + }, + "object": { + "type": "ThisExpression", + "start": 649, + "end": 653, + "loc": { + "start": { + "line": 27, + "column": 2 + }, + "end": { + "line": 27, + "column": 6 + } + } + }, + "property": { + "type": "Identifier", + "start": 654, + "end": 664, + "loc": { + "start": { + "line": 27, + "column": 7 + }, + "end": { + "line": 27, + "column": 17 + }, + "identifierName": "renderItem" + }, + "name": "renderItem" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 667, + "end": 693, + "loc": { + "start": { + "line": 27, + "column": 20 + }, + "end": { + "line": 27, + "column": 46 + } + }, + "callee": { + "type": "MemberExpression", + "start": 667, + "end": 687, + "loc": { + "start": { + "line": 27, + "column": 20 + }, + "end": { + "line": 27, + "column": 40 + } + }, + "object": { + "type": "MemberExpression", + "start": 667, + "end": 682, + "loc": { + "start": { + "line": 27, + "column": 20 + }, + "end": { + "line": 27, + "column": 35 + } + }, + "object": { + "type": "ThisExpression", + "start": 667, + "end": 671, + "loc": { + "start": { + "line": 27, + "column": 20 + }, + "end": { + "line": 27, + "column": 24 + } + } + }, + "property": { + "type": "Identifier", + "start": 672, + "end": 682, + "loc": { + "start": { + "line": 27, + "column": 25 + }, + "end": { + "line": 27, + "column": 35 + }, + "identifierName": "renderItem" + }, + "name": "renderItem" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 683, + "end": 687, + "loc": { + "start": { + "line": 27, + "column": 36 + }, + "end": { + "line": 27, + "column": 40 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 688, + "end": 692, + "loc": { + "start": { + "line": 27, + "column": 41 + }, + "end": { + "line": 27, + "column": 45 + } + } + } + ] + } + } + }, + { + "type": "ExpressionStatement", + "start": 697, + "end": 744, + "loc": { + "start": { + "line": 28, + "column": 2 + }, + "end": { + "line": 28, + "column": 49 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 697, + "end": 743, + "loc": { + "start": { + "line": 28, + "column": 2 + }, + "end": { + "line": 28, + "column": 48 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 697, + "end": 713, + "loc": { + "start": { + "line": 28, + "column": 2 + }, + "end": { + "line": 28, + "column": 18 + } + }, + "object": { + "type": "ThisExpression", + "start": 697, + "end": 701, + "loc": { + "start": { + "line": 28, + "column": 2 + }, + "end": { + "line": 28, + "column": 6 + } + } + }, + "property": { + "type": "Identifier", + "start": 702, + "end": 713, + "loc": { + "start": { + "line": 28, + "column": 7 + }, + "end": { + "line": 28, + "column": 18 + }, + "identifierName": "onInputBlur" + }, + "name": "onInputBlur" + }, + "computed": false + }, + "right": { + "type": "CallExpression", + "start": 716, + "end": 743, + "loc": { + "start": { + "line": 28, + "column": 21 + }, + "end": { + "line": 28, + "column": 48 + } + }, + "callee": { + "type": "MemberExpression", + "start": 716, + "end": 737, + "loc": { + "start": { + "line": 28, + "column": 21 + }, + "end": { + "line": 28, + "column": 42 + } + }, + "object": { + "type": "MemberExpression", + "start": 716, + "end": 732, + "loc": { + "start": { + "line": 28, + "column": 21 + }, + "end": { + "line": 28, + "column": 37 + } + }, + "object": { + "type": "ThisExpression", + "start": 716, + "end": 720, + "loc": { + "start": { + "line": 28, + "column": 21 + }, + "end": { + "line": 28, + "column": 25 + } + } + }, + "property": { + "type": "Identifier", + "start": 721, + "end": 732, + "loc": { + "start": { + "line": 28, + "column": 26 + }, + "end": { + "line": 28, + "column": 37 + }, + "identifierName": "onInputBlur" + }, + "name": "onInputBlur" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 733, + "end": 737, + "loc": { + "start": { + "line": 28, + "column": 38 + }, + "end": { + "line": 28, + "column": 42 + }, + "identifierName": "bind" + }, + "name": "bind" + }, + "computed": false + }, + "arguments": [ + { + "type": "ThisExpression", + "start": 738, + "end": 742, + "loc": { + "start": { + "line": 28, + "column": 43 + }, + "end": { + "line": 28, + "column": 47 + } + } + } + ] + } + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n\t * Create a MagicSelect component\n\t *\n\t * @param {Object} props\n\t ", + "start": 351, + "end": 424, + "loc": { + "start": { + "line": 16, + "column": 1 + }, + "end": { + "line": 20, + "column": 4 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n\t * Handle direct change events\n\t *\n\t * Probably not needed\n\t * @param {Event} event\n\t ", + "start": 750, + "end": 843, + "loc": { + "start": { + "line": 31, + "column": 1 + }, + "end": { + "line": 36, + "column": 4 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 845, + "end": 913, + "loc": { + "start": { + "line": 37, + "column": 1 + }, + "end": { + "line": 39, + "column": 2 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 845, + "end": 853, + "loc": { + "start": { + "line": 37, + "column": 1 + }, + "end": { + "line": 37, + "column": 9 + }, + "identifierName": "onChange" + }, + "name": "onChange", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 854, + "end": 859, + "loc": { + "start": { + "line": 37, + "column": 10 + }, + "end": { + "line": 37, + "column": 15 + }, + "identifierName": "event" + }, + "name": "event" + } + ], + "body": { + "type": "BlockStatement", + "start": 861, + "end": 913, + "loc": { + "start": { + "line": 37, + "column": 17 + }, + "end": { + "line": 39, + "column": 2 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 865, + "end": 910, + "loc": { + "start": { + "line": 38, + "column": 2 + }, + "end": { + "line": 38, + "column": 47 + } + }, + "expression": { + "type": "CallExpression", + "start": 865, + "end": 909, + "loc": { + "start": { + "line": 38, + "column": 2 + }, + "end": { + "line": 38, + "column": 46 + } + }, + "callee": { + "type": "MemberExpression", + "start": 865, + "end": 889, + "loc": { + "start": { + "line": 38, + "column": 2 + }, + "end": { + "line": 38, + "column": 26 + } + }, + "object": { + "type": "MemberExpression", + "start": 865, + "end": 875, + "loc": { + "start": { + "line": 38, + "column": 2 + }, + "end": { + "line": 38, + "column": 12 + } + }, + "object": { + "type": "ThisExpression", + "start": 865, + "end": 869, + "loc": { + "start": { + "line": 38, + "column": 2 + }, + "end": { + "line": 38, + "column": 6 + } + } + }, + "property": { + "type": "Identifier", + "start": 870, + "end": 875, + "loc": { + "start": { + "line": 38, + "column": 7 + }, + "end": { + "line": 38, + "column": 12 + }, + "identifierName": "props" + }, + "name": "props" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 876, + "end": 889, + "loc": { + "start": { + "line": 38, + "column": 13 + }, + "end": { + "line": 38, + "column": 26 + }, + "identifierName": "onValueChange" + }, + "name": "onValueChange" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 890, + "end": 908, + "loc": { + "start": { + "line": 38, + "column": 27 + }, + "end": { + "line": 38, + "column": 45 + } + }, + "object": { + "type": "MemberExpression", + "start": 890, + "end": 902, + "loc": { + "start": { + "line": 38, + "column": 27 + }, + "end": { + "line": 38, + "column": 39 + } + }, + "object": { + "type": "Identifier", + "start": 890, + "end": 895, + "loc": { + "start": { + "line": 38, + "column": 27 + }, + "end": { + "line": 38, + "column": 32 + }, + "identifierName": "event" + }, + "name": "event" + }, + "property": { + "type": "Identifier", + "start": 896, + "end": 902, + "loc": { + "start": { + "line": 38, + "column": 33 + }, + "end": { + "line": 38, + "column": 39 + }, + "identifierName": "target" + }, + "name": "target" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 903, + "end": 908, + "loc": { + "start": { + "line": 38, + "column": 40 + }, + "end": { + "line": 38, + "column": 45 + }, + "identifierName": "value" + }, + "name": "value" + }, + "computed": false + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n\t * Handle direct change events\n\t *\n\t * Probably not needed\n\t * @param {Event} event\n\t ", + "start": 750, + "end": 843, + "loc": { + "start": { + "line": 31, + "column": 1 + }, + "end": { + "line": 36, + "column": 4 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n\t * Handle when the field gets focus\n\t ", + "start": 916, + "end": 961, + "loc": { + "start": { + "line": 41, + "column": 1 + }, + "end": { + "line": 43, + "column": 4 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 963, + "end": 1061, + "loc": { + "start": { + "line": 44, + "column": 1 + }, + "end": { + "line": 48, + "column": 2 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 963, + "end": 975, + "loc": { + "start": { + "line": 44, + "column": 1 + }, + "end": { + "line": 44, + "column": 13 + }, + "identifierName": "onInputFocus" + }, + "name": "onInputFocus", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 978, + "end": 1061, + "loc": { + "start": { + "line": 44, + "column": 16 + }, + "end": { + "line": 48, + "column": 2 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 982, + "end": 1058, + "loc": { + "start": { + "line": 45, + "column": 2 + }, + "end": { + "line": 47, + "column": 3 + } + }, + "test": { + "type": "BinaryExpression", + "start": 986, + "end": 1026, + "loc": { + "start": { + "line": 45, + "column": 6 + }, + "end": { + "line": 45, + "column": 46 + } + }, + "left": { + "type": "StringLiteral", + "start": 986, + "end": 996, + "loc": { + "start": { + "line": 45, + "column": 6 + }, + "end": { + "line": 45, + "column": 16 + } + }, + "extra": { + "rawValue": "function", + "raw": "'function'" + }, + "value": "function" + }, + "operator": "===", + "right": { + "type": "UnaryExpression", + "start": 1001, + "end": 1026, + "loc": { + "start": { + "line": 45, + "column": 21 + }, + "end": { + "line": 45, + "column": 46 + } + }, + "operator": "typeof", + "prefix": true, + "argument": { + "type": "MemberExpression", + "start": 1008, + "end": 1026, + "loc": { + "start": { + "line": 45, + "column": 28 + }, + "end": { + "line": 45, + "column": 46 + } + }, + "object": { + "type": "MemberExpression", + "start": 1008, + "end": 1018, + "loc": { + "start": { + "line": 45, + "column": 28 + }, + "end": { + "line": 45, + "column": 38 + } + }, + "object": { + "type": "ThisExpression", + "start": 1008, + "end": 1012, + "loc": { + "start": { + "line": 45, + "column": 28 + }, + "end": { + "line": 45, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "start": 1013, + "end": 1018, + "loc": { + "start": { + "line": 45, + "column": 33 + }, + "end": { + "line": 45, + "column": 38 + }, + "identifierName": "props" + }, + "name": "props" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1019, + "end": 1026, + "loc": { + "start": { + "line": 45, + "column": 39 + }, + "end": { + "line": 45, + "column": 46 + }, + "identifierName": "onFocus" + }, + "name": "onFocus" + }, + "computed": false + }, + "extra": { + "parenthesizedArgument": false + } + } + }, + "consequent": { + "type": "BlockStatement", + "start": 1028, + "end": 1058, + "loc": { + "start": { + "line": 45, + "column": 48 + }, + "end": { + "line": 47, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1033, + "end": 1054, + "loc": { + "start": { + "line": 46, + "column": 3 + }, + "end": { + "line": 46, + "column": 24 + } + }, + "expression": { + "type": "CallExpression", + "start": 1033, + "end": 1053, + "loc": { + "start": { + "line": 46, + "column": 3 + }, + "end": { + "line": 46, + "column": 23 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1033, + "end": 1051, + "loc": { + "start": { + "line": 46, + "column": 3 + }, + "end": { + "line": 46, + "column": 21 + } + }, + "object": { + "type": "MemberExpression", + "start": 1033, + "end": 1043, + "loc": { + "start": { + "line": 46, + "column": 3 + }, + "end": { + "line": 46, + "column": 13 + } + }, + "object": { + "type": "ThisExpression", + "start": 1033, + "end": 1037, + "loc": { + "start": { + "line": 46, + "column": 3 + }, + "end": { + "line": 46, + "column": 7 + } + } + }, + "property": { + "type": "Identifier", + "start": 1038, + "end": 1043, + "loc": { + "start": { + "line": 46, + "column": 8 + }, + "end": { + "line": 46, + "column": 13 + }, + "identifierName": "props" + }, + "name": "props" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1044, + "end": 1051, + "loc": { + "start": { + "line": 46, + "column": 14 + }, + "end": { + "line": 46, + "column": 21 + }, + "identifierName": "onFocus" + }, + "name": "onFocus" + }, + "computed": false + }, + "arguments": [] + } + } + ], + "directives": [] + }, + "alternate": null + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n\t * Handle when the field gets focus\n\t ", + "start": 916, + "end": 961, + "loc": { + "start": { + "line": 41, + "column": 1 + }, + "end": { + "line": 43, + "column": 4 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n\t * Handle when the field is blurred\n\t ", + "start": 1064, + "end": 1109, + "loc": { + "start": { + "line": 50, + "column": 1 + }, + "end": { + "line": 52, + "column": 4 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1111, + "end": 1206, + "loc": { + "start": { + "line": 53, + "column": 1 + }, + "end": { + "line": 57, + "column": 2 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1111, + "end": 1122, + "loc": { + "start": { + "line": 53, + "column": 1 + }, + "end": { + "line": 53, + "column": 12 + }, + "identifierName": "onInputBlur" + }, + "name": "onInputBlur", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1125, + "end": 1206, + "loc": { + "start": { + "line": 53, + "column": 15 + }, + "end": { + "line": 57, + "column": 2 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 1129, + "end": 1203, + "loc": { + "start": { + "line": 54, + "column": 2 + }, + "end": { + "line": 56, + "column": 3 + } + }, + "test": { + "type": "BinaryExpression", + "start": 1133, + "end": 1172, + "loc": { + "start": { + "line": 54, + "column": 6 + }, + "end": { + "line": 54, + "column": 45 + } + }, + "left": { + "type": "StringLiteral", + "start": 1133, + "end": 1143, + "loc": { + "start": { + "line": 54, + "column": 6 + }, + "end": { + "line": 54, + "column": 16 + } + }, + "extra": { + "rawValue": "function", + "raw": "'function'" + }, + "value": "function" + }, + "operator": "===", + "right": { + "type": "UnaryExpression", + "start": 1148, + "end": 1172, + "loc": { + "start": { + "line": 54, + "column": 21 + }, + "end": { + "line": 54, + "column": 45 + } + }, + "operator": "typeof", + "prefix": true, + "argument": { + "type": "MemberExpression", + "start": 1155, + "end": 1172, + "loc": { + "start": { + "line": 54, + "column": 28 + }, + "end": { + "line": 54, + "column": 45 + } + }, + "object": { + "type": "MemberExpression", + "start": 1155, + "end": 1165, + "loc": { + "start": { + "line": 54, + "column": 28 + }, + "end": { + "line": 54, + "column": 38 + } + }, + "object": { + "type": "ThisExpression", + "start": 1155, + "end": 1159, + "loc": { + "start": { + "line": 54, + "column": 28 + }, + "end": { + "line": 54, + "column": 32 + } + } + }, + "property": { + "type": "Identifier", + "start": 1160, + "end": 1165, + "loc": { + "start": { + "line": 54, + "column": 33 + }, + "end": { + "line": 54, + "column": 38 + }, + "identifierName": "props" + }, + "name": "props" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1166, + "end": 1172, + "loc": { + "start": { + "line": 54, + "column": 39 + }, + "end": { + "line": 54, + "column": 45 + }, + "identifierName": "onBlur" + }, + "name": "onBlur" + }, + "computed": false + }, + "extra": { + "parenthesizedArgument": false + } + } + }, + "consequent": { + "type": "BlockStatement", + "start": 1174, + "end": 1203, + "loc": { + "start": { + "line": 54, + "column": 47 + }, + "end": { + "line": 56, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1179, + "end": 1199, + "loc": { + "start": { + "line": 55, + "column": 3 + }, + "end": { + "line": 55, + "column": 23 + } + }, + "expression": { + "type": "CallExpression", + "start": 1179, + "end": 1198, + "loc": { + "start": { + "line": 55, + "column": 3 + }, + "end": { + "line": 55, + "column": 22 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1179, + "end": 1196, + "loc": { + "start": { + "line": 55, + "column": 3 + }, + "end": { + "line": 55, + "column": 20 + } + }, + "object": { + "type": "MemberExpression", + "start": 1179, + "end": 1189, + "loc": { + "start": { + "line": 55, + "column": 3 + }, + "end": { + "line": 55, + "column": 13 + } + }, + "object": { + "type": "ThisExpression", + "start": 1179, + "end": 1183, + "loc": { + "start": { + "line": 55, + "column": 3 + }, + "end": { + "line": 55, + "column": 7 + } + } + }, + "property": { + "type": "Identifier", + "start": 1184, + "end": 1189, + "loc": { + "start": { + "line": 55, + "column": 8 + }, + "end": { + "line": 55, + "column": 13 + }, + "identifierName": "props" + }, + "name": "props" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1190, + "end": 1196, + "loc": { + "start": { + "line": 55, + "column": 14 + }, + "end": { + "line": 55, + "column": 20 + }, + "identifierName": "onBlur" + }, + "name": "onBlur" + }, + "computed": false + }, + "arguments": [] + } + } + ], + "directives": [] + }, + "alternate": null + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n\t * Handle when the field is blurred\n\t ", + "start": 1064, + "end": 1109, + "loc": { + "start": { + "line": 50, + "column": 1 + }, + "end": { + "line": 52, + "column": 4 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n\t * Handle when the option is chosen\n\t * @param {String|number} value\n\t ", + "start": 1210, + "end": 1288, + "loc": { + "start": { + "line": 60, + "column": 1 + }, + "end": { + "line": 63, + "column": 4 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1290, + "end": 1345, + "loc": { + "start": { + "line": 64, + "column": 1 + }, + "end": { + "line": 66, + "column": 2 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1290, + "end": 1298, + "loc": { + "start": { + "line": 64, + "column": 1 + }, + "end": { + "line": 64, + "column": 9 + }, + "identifierName": "onSelect" + }, + "name": "onSelect", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1299, + "end": 1304, + "loc": { + "start": { + "line": 64, + "column": 10 + }, + "end": { + "line": 64, + "column": 15 + }, + "identifierName": "value" + }, + "name": "value" + } + ], + "body": { + "type": "BlockStatement", + "start": 1306, + "end": 1345, + "loc": { + "start": { + "line": 64, + "column": 17 + }, + "end": { + "line": 66, + "column": 2 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1310, + "end": 1342, + "loc": { + "start": { + "line": 65, + "column": 2 + }, + "end": { + "line": 65, + "column": 34 + } + }, + "expression": { + "type": "CallExpression", + "start": 1310, + "end": 1341, + "loc": { + "start": { + "line": 65, + "column": 2 + }, + "end": { + "line": 65, + "column": 33 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1310, + "end": 1334, + "loc": { + "start": { + "line": 65, + "column": 2 + }, + "end": { + "line": 65, + "column": 26 + } + }, + "object": { + "type": "MemberExpression", + "start": 1310, + "end": 1320, + "loc": { + "start": { + "line": 65, + "column": 2 + }, + "end": { + "line": 65, + "column": 12 + } + }, + "object": { + "type": "ThisExpression", + "start": 1310, + "end": 1314, + "loc": { + "start": { + "line": 65, + "column": 2 + }, + "end": { + "line": 65, + "column": 6 + } + } + }, + "property": { + "type": "Identifier", + "start": 1315, + "end": 1320, + "loc": { + "start": { + "line": 65, + "column": 7 + }, + "end": { + "line": 65, + "column": 12 + }, + "identifierName": "props" + }, + "name": "props" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1321, + "end": 1334, + "loc": { + "start": { + "line": 65, + "column": 13 + }, + "end": { + "line": 65, + "column": 26 + }, + "identifierName": "onValueChange" + }, + "name": "onValueChange" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 1335, + "end": 1340, + "loc": { + "start": { + "line": 65, + "column": 27 + }, + "end": { + "line": 65, + "column": 32 + }, + "identifierName": "value" + }, + "name": "value" + } + ] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n\t * Handle when the option is chosen\n\t * @param {String|number} value\n\t ", + "start": 1210, + "end": 1288, + "loc": { + "start": { + "line": 60, + "column": 1 + }, + "end": { + "line": 63, + "column": 4 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n\t * Render option\n\t *\n\t * @param {object} item\n\t * @param {bool} isHighlighted\n\t * @return {*}\n\t ", + "start": 1349, + "end": 1452, + "loc": { + "start": { + "line": 69, + "column": 1 + }, + "end": { + "line": 75, + "column": 4 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1454, + "end": 1599, + "loc": { + "start": { + "line": 76, + "column": 1 + }, + "end": { + "line": 78, + "column": 2 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1454, + "end": 1464, + "loc": { + "start": { + "line": 76, + "column": 1 + }, + "end": { + "line": 76, + "column": 11 + }, + "identifierName": "renderItem" + }, + "name": "renderItem", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1465, + "end": 1469, + "loc": { + "start": { + "line": 76, + "column": 12 + }, + "end": { + "line": 76, + "column": 16 + }, + "identifierName": "item" + }, + "name": "item" + }, + { + "type": "Identifier", + "start": 1471, + "end": 1484, + "loc": { + "start": { + "line": 76, + "column": 18 + }, + "end": { + "line": 76, + "column": 31 + }, + "identifierName": "isHighlighted" + }, + "name": "isHighlighted" + } + ], + "body": { + "type": "BlockStatement", + "start": 1485, + "end": 1599, + "loc": { + "start": { + "line": 76, + "column": 32 + }, + "end": { + "line": 78, + "column": 2 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1489, + "end": 1596, + "loc": { + "start": { + "line": 77, + "column": 2 + }, + "end": { + "line": 77, + "column": 109 + } + }, + "argument": { + "type": "JSXElement", + "start": 1496, + "end": 1596, + "loc": { + "start": { + "line": 77, + "column": 9 + }, + "end": { + "line": 77, + "column": 109 + } + }, + "openingElement": { + "type": "JSXOpeningElement", + "start": 1496, + "end": 1596, + "loc": { + "start": { + "line": 77, + "column": 9 + }, + "end": { + "line": 77, + "column": 109 + } + }, + "attributes": [ + { + "type": "JSXAttribute", + "start": 1507, + "end": 1518, + "loc": { + "start": { + "line": 77, + "column": 20 + }, + "end": { + "line": 77, + "column": 31 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 1507, + "end": 1511, + "loc": { + "start": { + "line": 77, + "column": 20 + }, + "end": { + "line": 77, + "column": 24 + } + }, + "name": "item" + }, + "value": { + "type": "JSXExpressionContainer", + "start": 1512, + "end": 1518, + "loc": { + "start": { + "line": 77, + "column": 25 + }, + "end": { + "line": 77, + "column": 31 + } + }, + "expression": { + "type": "Identifier", + "start": 1513, + "end": 1517, + "loc": { + "start": { + "line": 77, + "column": 26 + }, + "end": { + "line": 77, + "column": 30 + }, + "identifierName": "item" + }, + "name": "item" + } + } + }, + { + "type": "JSXAttribute", + "start": 1519, + "end": 1548, + "loc": { + "start": { + "line": 77, + "column": 32 + }, + "end": { + "line": 77, + "column": 61 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 1519, + "end": 1532, + "loc": { + "start": { + "line": 77, + "column": 32 + }, + "end": { + "line": 77, + "column": 45 + } + }, + "name": "isHighlighted" + }, + "value": { + "type": "JSXExpressionContainer", + "start": 1533, + "end": 1548, + "loc": { + "start": { + "line": 77, + "column": 46 + }, + "end": { + "line": 77, + "column": 61 + } + }, + "expression": { + "type": "Identifier", + "start": 1534, + "end": 1547, + "loc": { + "start": { + "line": 77, + "column": 47 + }, + "end": { + "line": 77, + "column": 60 + }, + "identifierName": "isHighlighted" + }, + "name": "isHighlighted" + } + } + }, + { + "type": "JSXAttribute", + "start": 1549, + "end": 1573, + "loc": { + "start": { + "line": 77, + "column": 62 + }, + "end": { + "line": 77, + "column": 86 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 1549, + "end": 1557, + "loc": { + "start": { + "line": 77, + "column": 62 + }, + "end": { + "line": 77, + "column": 70 + } + }, + "name": "innerKey" + }, + "value": { + "type": "JSXExpressionContainer", + "start": 1558, + "end": 1573, + "loc": { + "start": { + "line": 77, + "column": 71 + }, + "end": { + "line": 77, + "column": 86 + } + }, + "expression": { + "type": "MemberExpression", + "start": 1559, + "end": 1572, + "loc": { + "start": { + "line": 77, + "column": 72 + }, + "end": { + "line": 77, + "column": 85 + } + }, + "object": { + "type": "Identifier", + "start": 1559, + "end": 1563, + "loc": { + "start": { + "line": 77, + "column": 72 + }, + "end": { + "line": 77, + "column": 76 + }, + "identifierName": "item" + }, + "name": "item" + }, + "property": { + "type": "Identifier", + "start": 1564, + "end": 1572, + "loc": { + "start": { + "line": 77, + "column": 77 + }, + "end": { + "line": 77, + "column": 85 + }, + "identifierName": "innerKey" + }, + "name": "innerKey" + }, + "computed": false + } + } + }, + { + "type": "JSXAttribute", + "start": 1574, + "end": 1593, + "loc": { + "start": { + "line": 77, + "column": 87 + }, + "end": { + "line": 77, + "column": 106 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 1574, + "end": 1577, + "loc": { + "start": { + "line": 77, + "column": 87 + }, + "end": { + "line": 77, + "column": 90 + } + }, + "name": "key" + }, + "value": { + "type": "JSXExpressionContainer", + "start": 1578, + "end": 1593, + "loc": { + "start": { + "line": 77, + "column": 91 + }, + "end": { + "line": 77, + "column": 106 + } + }, + "expression": { + "type": "MemberExpression", + "start": 1579, + "end": 1592, + "loc": { + "start": { + "line": 77, + "column": 92 + }, + "end": { + "line": 77, + "column": 105 + } + }, + "object": { + "type": "Identifier", + "start": 1579, + "end": 1583, + "loc": { + "start": { + "line": 77, + "column": 92 + }, + "end": { + "line": 77, + "column": 96 + }, + "identifierName": "item" + }, + "name": "item" + }, + "property": { + "type": "Identifier", + "start": 1584, + "end": 1592, + "loc": { + "start": { + "line": 77, + "column": 97 + }, + "end": { + "line": 77, + "column": 105 + }, + "identifierName": "innerKey" + }, + "name": "innerKey" + }, + "computed": false + } + } + } + ], + "name": { + "type": "JSXIdentifier", + "start": 1497, + "end": 1506, + "loc": { + "start": { + "line": 77, + "column": 10 + }, + "end": { + "line": 77, + "column": 19 + } + }, + "name": "MagicItem" + }, + "selfClosing": true + }, + "closingElement": null, + "children": [] + } + } + ], + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n\t * Render option\n\t *\n\t * @param {object} item\n\t * @param {bool} isHighlighted\n\t * @return {*}\n\t ", + "start": 1349, + "end": 1452, + "loc": { + "start": { + "line": 69, + "column": 1 + }, + "end": { + "line": 75, + "column": 4 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n\t * Render MagicSelect component\n\t * @return {*}\n\t ", + "start": 1603, + "end": 1660, + "loc": { + "start": { + "line": 81, + "column": 1 + }, + "end": { + "line": 84, + "column": 4 + } + } + } + ] + }, + { + "type": "ClassMethod", + "start": 1662, + "end": 2177, + "loc": { + "start": { + "line": 85, + "column": 1 + }, + "end": { + "line": 108, + "column": 2 + } + }, + "static": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1662, + "end": 1668, + "loc": { + "start": { + "line": 85, + "column": 1 + }, + "end": { + "line": 85, + "column": 7 + }, + "identifierName": "render" + }, + "name": "render", + "leadingComments": null + }, + "kind": "method", + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 1671, + "end": 2177, + "loc": { + "start": { + "line": 85, + "column": 10 + }, + "end": { + "line": 108, + "column": 2 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 1675, + "end": 2174, + "loc": { + "start": { + "line": 86, + "column": 2 + }, + "end": { + "line": 107, + "column": 4 + } + }, + "argument": { + "type": "JSXElement", + "start": 1688, + "end": 2168, + "loc": { + "start": { + "line": 88, + "column": 3 + }, + "end": { + "line": 105, + "column": 5 + } + }, + "openingElement": { + "type": "JSXOpeningElement", + "start": 1688, + "end": 2168, + "loc": { + "start": { + "line": 88, + "column": 3 + }, + "end": { + "line": 105, + "column": 5 + } + }, + "attributes": [ + { + "type": "JSXAttribute", + "start": 1706, + "end": 1741, + "loc": { + "start": { + "line": 89, + "column": 4 + }, + "end": { + "line": 89, + "column": 39 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 1706, + "end": 1718, + "loc": { + "start": { + "line": 89, + "column": 4 + }, + "end": { + "line": 89, + "column": 16 + } + }, + "name": "getItemValue" + }, + "value": { + "type": "JSXExpressionContainer", + "start": 1719, + "end": 1741, + "loc": { + "start": { + "line": 89, + "column": 17 + }, + "end": { + "line": 89, + "column": 39 + } + }, + "expression": { + "type": "ArrowFunctionExpression", + "start": 1720, + "end": 1740, + "loc": { + "start": { + "line": 89, + "column": 18 + }, + "end": { + "line": 89, + "column": 38 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 1721, + "end": 1725, + "loc": { + "start": { + "line": 89, + "column": 19 + }, + "end": { + "line": 89, + "column": 23 + }, + "identifierName": "item" + }, + "name": "item" + } + ], + "body": { + "type": "MemberExpression", + "start": 1730, + "end": 1740, + "loc": { + "start": { + "line": 89, + "column": 28 + }, + "end": { + "line": 89, + "column": 38 + } + }, + "object": { + "type": "Identifier", + "start": 1730, + "end": 1734, + "loc": { + "start": { + "line": 89, + "column": 28 + }, + "end": { + "line": 89, + "column": 32 + }, + "identifierName": "item" + }, + "name": "item" + }, + "property": { + "type": "Identifier", + "start": 1735, + "end": 1740, + "loc": { + "start": { + "line": 89, + "column": 33 + }, + "end": { + "line": 89, + "column": 38 + }, + "identifierName": "value" + }, + "name": "value" + }, + "computed": false + } + } + } + }, + { + "type": "JSXAttribute", + "start": 1746, + "end": 1772, + "loc": { + "start": { + "line": 90, + "column": 4 + }, + "end": { + "line": 90, + "column": 30 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 1746, + "end": 1751, + "loc": { + "start": { + "line": 90, + "column": 4 + }, + "end": { + "line": 90, + "column": 9 + } + }, + "name": "items" + }, + "value": { + "type": "JSXExpressionContainer", + "start": 1752, + "end": 1772, + "loc": { + "start": { + "line": 90, + "column": 10 + }, + "end": { + "line": 90, + "column": 30 + } + }, + "expression": { + "type": "MemberExpression", + "start": 1753, + "end": 1771, + "loc": { + "start": { + "line": 90, + "column": 11 + }, + "end": { + "line": 90, + "column": 29 + } + }, + "object": { + "type": "MemberExpression", + "start": 1753, + "end": 1763, + "loc": { + "start": { + "line": 90, + "column": 11 + }, + "end": { + "line": 90, + "column": 21 + } + }, + "object": { + "type": "ThisExpression", + "start": 1753, + "end": 1757, + "loc": { + "start": { + "line": 90, + "column": 11 + }, + "end": { + "line": 90, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 1758, + "end": 1763, + "loc": { + "start": { + "line": 90, + "column": 16 + }, + "end": { + "line": 90, + "column": 21 + }, + "identifierName": "props" + }, + "name": "props" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1764, + "end": 1771, + "loc": { + "start": { + "line": 90, + "column": 22 + }, + "end": { + "line": 90, + "column": 29 + }, + "identifierName": "options" + }, + "name": "options" + }, + "computed": false + } + } + }, + { + "type": "JSXAttribute", + "start": 1777, + "end": 1989, + "loc": { + "start": { + "line": 91, + "column": 4 + }, + "end": { + "line": 98, + "column": 6 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 1777, + "end": 1787, + "loc": { + "start": { + "line": 91, + "column": 4 + }, + "end": { + "line": 91, + "column": 14 + } + }, + "name": "inputProps" + }, + "value": { + "type": "JSXExpressionContainer", + "start": 1788, + "end": 1989, + "loc": { + "start": { + "line": 91, + "column": 15 + }, + "end": { + "line": 98, + "column": 6 + } + }, + "expression": { + "type": "ObjectExpression", + "start": 1789, + "end": 1988, + "loc": { + "start": { + "line": 91, + "column": 16 + }, + "end": { + "line": 98, + "column": 5 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 1796, + "end": 1813, + "loc": { + "start": { + "line": 92, + "column": 5 + }, + "end": { + "line": 92, + "column": 22 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1796, + "end": 1798, + "loc": { + "start": { + "line": 92, + "column": 5 + }, + "end": { + "line": 92, + "column": 7 + }, + "identifierName": "id" + }, + "name": "id" + }, + "value": { + "type": "MemberExpression", + "start": 1800, + "end": 1813, + "loc": { + "start": { + "line": 92, + "column": 9 + }, + "end": { + "line": 92, + "column": 22 + } + }, + "object": { + "type": "MemberExpression", + "start": 1800, + "end": 1810, + "loc": { + "start": { + "line": 92, + "column": 9 + }, + "end": { + "line": 92, + "column": 19 + } + }, + "object": { + "type": "ThisExpression", + "start": 1800, + "end": 1804, + "loc": { + "start": { + "line": 92, + "column": 9 + }, + "end": { + "line": 92, + "column": 13 + } + } + }, + "property": { + "type": "Identifier", + "start": 1805, + "end": 1810, + "loc": { + "start": { + "line": 92, + "column": 14 + }, + "end": { + "line": 92, + "column": 19 + }, + "identifierName": "props" + }, + "name": "props" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1811, + "end": 1813, + "loc": { + "start": { + "line": 92, + "column": 20 + }, + "end": { + "line": 92, + "column": 22 + }, + "identifierName": "id" + }, + "name": "id" + }, + "computed": false + } + }, + { + "type": "ObjectProperty", + "start": 1820, + "end": 1843, + "loc": { + "start": { + "line": 93, + "column": 5 + }, + "end": { + "line": 93, + "column": 28 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1820, + "end": 1825, + "loc": { + "start": { + "line": 93, + "column": 5 + }, + "end": { + "line": 93, + "column": 10 + }, + "identifierName": "value" + }, + "name": "value" + }, + "value": { + "type": "MemberExpression", + "start": 1827, + "end": 1843, + "loc": { + "start": { + "line": 93, + "column": 12 + }, + "end": { + "line": 93, + "column": 28 + } + }, + "object": { + "type": "MemberExpression", + "start": 1827, + "end": 1837, + "loc": { + "start": { + "line": 93, + "column": 12 + }, + "end": { + "line": 93, + "column": 22 + } + }, + "object": { + "type": "ThisExpression", + "start": 1827, + "end": 1831, + "loc": { + "start": { + "line": 93, + "column": 12 + }, + "end": { + "line": 93, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "start": 1832, + "end": 1837, + "loc": { + "start": { + "line": 93, + "column": 17 + }, + "end": { + "line": 93, + "column": 22 + }, + "identifierName": "props" + }, + "name": "props" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1838, + "end": 1843, + "loc": { + "start": { + "line": 93, + "column": 23 + }, + "end": { + "line": 93, + "column": 28 + }, + "identifierName": "value" + }, + "name": "value" + }, + "computed": false + } + }, + { + "type": "ObjectProperty", + "start": 1850, + "end": 1891, + "loc": { + "start": { + "line": 94, + "column": 5 + }, + "end": { + "line": 94, + "column": 46 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1850, + "end": 1859, + "loc": { + "start": { + "line": 94, + "column": 5 + }, + "end": { + "line": 94, + "column": 14 + }, + "identifierName": "className" + }, + "name": "className" + }, + "value": { + "type": "TemplateLiteral", + "start": 1861, + "end": 1891, + "loc": { + "start": { + "line": 94, + "column": 16 + }, + "end": { + "line": 94, + "column": 46 + } + }, + "expressions": [ + { + "type": "MemberExpression", + "start": 1864, + "end": 1877, + "loc": { + "start": { + "line": 94, + "column": 19 + }, + "end": { + "line": 94, + "column": 32 + } + }, + "object": { + "type": "MemberExpression", + "start": 1864, + "end": 1874, + "loc": { + "start": { + "line": 94, + "column": 19 + }, + "end": { + "line": 94, + "column": 29 + } + }, + "object": { + "type": "ThisExpression", + "start": 1864, + "end": 1868, + "loc": { + "start": { + "line": 94, + "column": 19 + }, + "end": { + "line": 94, + "column": 23 + } + } + }, + "property": { + "type": "Identifier", + "start": 1869, + "end": 1874, + "loc": { + "start": { + "line": 94, + "column": 24 + }, + "end": { + "line": 94, + "column": 29 + }, + "identifierName": "props" + }, + "name": "props" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 1875, + "end": 1877, + "loc": { + "start": { + "line": 94, + "column": 30 + }, + "end": { + "line": 94, + "column": 32 + }, + "identifierName": "id" + }, + "name": "id" + }, + "computed": false + } + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 1862, + "end": 1862, + "loc": { + "start": { + "line": 94, + "column": 17 + }, + "end": { + "line": 94, + "column": 17 + } + }, + "value": { + "raw": "", + "cooked": "" + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 1878, + "end": 1890, + "loc": { + "start": { + "line": 94, + "column": 33 + }, + "end": { + "line": 94, + "column": 45 + } + }, + "value": { + "raw": "-magic-input", + "cooked": "-magic-input" + }, + "tail": true + } + ] + } + }, + { + "type": "ObjectProperty", + "start": 1898, + "end": 1924, + "loc": { + "start": { + "line": 95, + "column": 5 + }, + "end": { + "line": 95, + "column": 31 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1898, + "end": 1905, + "loc": { + "start": { + "line": 95, + "column": 5 + }, + "end": { + "line": 95, + "column": 12 + }, + "identifierName": "onFocus" + }, + "name": "onFocus" + }, + "value": { + "type": "MemberExpression", + "start": 1907, + "end": 1924, + "loc": { + "start": { + "line": 95, + "column": 14 + }, + "end": { + "line": 95, + "column": 31 + } + }, + "object": { + "type": "ThisExpression", + "start": 1907, + "end": 1911, + "loc": { + "start": { + "line": 95, + "column": 14 + }, + "end": { + "line": 95, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "start": 1912, + "end": 1924, + "loc": { + "start": { + "line": 95, + "column": 19 + }, + "end": { + "line": 95, + "column": 31 + }, + "identifierName": "onInputFocus" + }, + "name": "onInputFocus" + }, + "computed": false + } + }, + { + "type": "ObjectProperty", + "start": 1931, + "end": 1954, + "loc": { + "start": { + "line": 96, + "column": 5 + }, + "end": { + "line": 96, + "column": 28 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1931, + "end": 1937, + "loc": { + "start": { + "line": 96, + "column": 5 + }, + "end": { + "line": 96, + "column": 11 + }, + "identifierName": "onBlur" + }, + "name": "onBlur" + }, + "value": { + "type": "MemberExpression", + "start": 1938, + "end": 1954, + "loc": { + "start": { + "line": 96, + "column": 12 + }, + "end": { + "line": 96, + "column": 28 + } + }, + "object": { + "type": "ThisExpression", + "start": 1938, + "end": 1942, + "loc": { + "start": { + "line": 96, + "column": 12 + }, + "end": { + "line": 96, + "column": 16 + } + } + }, + "property": { + "type": "Identifier", + "start": 1943, + "end": 1954, + "loc": { + "start": { + "line": 96, + "column": 17 + }, + "end": { + "line": 96, + "column": 28 + }, + "identifierName": "onInputBlur" + }, + "name": "onInputBlur" + }, + "computed": false + } + }, + { + "type": "ObjectProperty", + "start": 1961, + "end": 1982, + "loc": { + "start": { + "line": 97, + "column": 5 + }, + "end": { + "line": 97, + "column": 26 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1961, + "end": 1968, + "loc": { + "start": { + "line": 97, + "column": 5 + }, + "end": { + "line": 97, + "column": 12 + }, + "identifierName": "onClick" + }, + "name": "onClick" + }, + "value": { + "type": "MemberExpression", + "start": 1969, + "end": 1982, + "loc": { + "start": { + "line": 97, + "column": 13 + }, + "end": { + "line": 97, + "column": 26 + } + }, + "object": { + "type": "ThisExpression", + "start": 1969, + "end": 1973, + "loc": { + "start": { + "line": 97, + "column": 13 + }, + "end": { + "line": 97, + "column": 17 + } + } + }, + "property": { + "type": "Identifier", + "start": 1974, + "end": 1982, + "loc": { + "start": { + "line": 97, + "column": 18 + }, + "end": { + "line": 97, + "column": 26 + }, + "identifierName": "onChange" + }, + "name": "onChange" + }, + "computed": false + } + } + ] + } + } + }, + { + "type": "JSXAttribute", + "start": 1994, + "end": 2022, + "loc": { + "start": { + "line": 99, + "column": 4 + }, + "end": { + "line": 99, + "column": 32 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 1994, + "end": 2004, + "loc": { + "start": { + "line": 99, + "column": 4 + }, + "end": { + "line": 99, + "column": 14 + } + }, + "name": "renderItem" + }, + "value": { + "type": "JSXExpressionContainer", + "start": 2005, + "end": 2022, + "loc": { + "start": { + "line": 99, + "column": 15 + }, + "end": { + "line": 99, + "column": 32 + } + }, + "expression": { + "type": "MemberExpression", + "start": 2006, + "end": 2021, + "loc": { + "start": { + "line": 99, + "column": 16 + }, + "end": { + "line": 99, + "column": 31 + } + }, + "object": { + "type": "ThisExpression", + "start": 2006, + "end": 2010, + "loc": { + "start": { + "line": 99, + "column": 16 + }, + "end": { + "line": 99, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "start": 2011, + "end": 2021, + "loc": { + "start": { + "line": 99, + "column": 21 + }, + "end": { + "line": 99, + "column": 31 + }, + "identifierName": "renderItem" + }, + "name": "renderItem" + }, + "computed": false + } + } + }, + { + "type": "JSXAttribute", + "start": 2027, + "end": 2051, + "loc": { + "start": { + "line": 100, + "column": 4 + }, + "end": { + "line": 100, + "column": 28 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 2027, + "end": 2032, + "loc": { + "start": { + "line": 100, + "column": 4 + }, + "end": { + "line": 100, + "column": 9 + } + }, + "name": "value" + }, + "value": { + "type": "JSXExpressionContainer", + "start": 2033, + "end": 2051, + "loc": { + "start": { + "line": 100, + "column": 10 + }, + "end": { + "line": 100, + "column": 28 + } + }, + "expression": { + "type": "MemberExpression", + "start": 2034, + "end": 2050, + "loc": { + "start": { + "line": 100, + "column": 11 + }, + "end": { + "line": 100, + "column": 27 + } + }, + "object": { + "type": "MemberExpression", + "start": 2034, + "end": 2044, + "loc": { + "start": { + "line": 100, + "column": 11 + }, + "end": { + "line": 100, + "column": 21 + } + }, + "object": { + "type": "ThisExpression", + "start": 2034, + "end": 2038, + "loc": { + "start": { + "line": 100, + "column": 11 + }, + "end": { + "line": 100, + "column": 15 + } + } + }, + "property": { + "type": "Identifier", + "start": 2039, + "end": 2044, + "loc": { + "start": { + "line": 100, + "column": 16 + }, + "end": { + "line": 100, + "column": 21 + }, + "identifierName": "props" + }, + "name": "props" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2045, + "end": 2050, + "loc": { + "start": { + "line": 100, + "column": 22 + }, + "end": { + "line": 100, + "column": 27 + }, + "identifierName": "value" + }, + "name": "value" + }, + "computed": false + } + } + }, + { + "type": "JSXAttribute", + "start": 2056, + "end": 2080, + "loc": { + "start": { + "line": 101, + "column": 4 + }, + "end": { + "line": 101, + "column": 28 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 2056, + "end": 2064, + "loc": { + "start": { + "line": 101, + "column": 4 + }, + "end": { + "line": 101, + "column": 12 + } + }, + "name": "onChange" + }, + "value": { + "type": "JSXExpressionContainer", + "start": 2065, + "end": 2080, + "loc": { + "start": { + "line": 101, + "column": 13 + }, + "end": { + "line": 101, + "column": 28 + } + }, + "expression": { + "type": "MemberExpression", + "start": 2066, + "end": 2079, + "loc": { + "start": { + "line": 101, + "column": 14 + }, + "end": { + "line": 101, + "column": 27 + } + }, + "object": { + "type": "ThisExpression", + "start": 2066, + "end": 2070, + "loc": { + "start": { + "line": 101, + "column": 14 + }, + "end": { + "line": 101, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "start": 2071, + "end": 2079, + "loc": { + "start": { + "line": 101, + "column": 19 + }, + "end": { + "line": 101, + "column": 27 + }, + "identifierName": "onChange" + }, + "name": "onChange" + }, + "computed": false + } + } + }, + { + "type": "JSXAttribute", + "start": 2085, + "end": 2109, + "loc": { + "start": { + "line": 102, + "column": 4 + }, + "end": { + "line": 102, + "column": 28 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 2085, + "end": 2089, + "loc": { + "start": { + "line": 102, + "column": 4 + }, + "end": { + "line": 102, + "column": 8 + } + }, + "name": "open" + }, + "value": { + "type": "JSXExpressionContainer", + "start": 2090, + "end": 2109, + "loc": { + "start": { + "line": 102, + "column": 9 + }, + "end": { + "line": 102, + "column": 28 + } + }, + "expression": { + "type": "MemberExpression", + "start": 2091, + "end": 2108, + "loc": { + "start": { + "line": 102, + "column": 10 + }, + "end": { + "line": 102, + "column": 27 + } + }, + "object": { + "type": "MemberExpression", + "start": 2091, + "end": 2101, + "loc": { + "start": { + "line": 102, + "column": 10 + }, + "end": { + "line": 102, + "column": 20 + } + }, + "object": { + "type": "ThisExpression", + "start": 2091, + "end": 2095, + "loc": { + "start": { + "line": 102, + "column": 10 + }, + "end": { + "line": 102, + "column": 14 + } + } + }, + "property": { + "type": "Identifier", + "start": 2096, + "end": 2101, + "loc": { + "start": { + "line": 102, + "column": 15 + }, + "end": { + "line": 102, + "column": 20 + }, + "identifierName": "props" + }, + "name": "props" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2102, + "end": 2108, + "loc": { + "start": { + "line": 102, + "column": 21 + }, + "end": { + "line": 102, + "column": 27 + }, + "identifierName": "isOpen" + }, + "name": "isOpen" + }, + "computed": false + } + } + }, + { + "type": "JSXAttribute", + "start": 2114, + "end": 2133, + "loc": { + "start": { + "line": 103, + "column": 4 + }, + "end": { + "line": 103, + "column": 23 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 2114, + "end": 2126, + "loc": { + "start": { + "line": 103, + "column": 4 + }, + "end": { + "line": 103, + "column": 16 + } + }, + "name": "selectOnBlur" + }, + "value": { + "type": "JSXExpressionContainer", + "start": 2127, + "end": 2133, + "loc": { + "start": { + "line": 103, + "column": 17 + }, + "end": { + "line": 103, + "column": 23 + } + }, + "expression": { + "type": "BooleanLiteral", + "start": 2128, + "end": 2132, + "loc": { + "start": { + "line": 103, + "column": 18 + }, + "end": { + "line": 103, + "column": 22 + } + }, + "value": true + } + } + }, + { + "type": "JSXAttribute", + "start": 2138, + "end": 2162, + "loc": { + "start": { + "line": 104, + "column": 4 + }, + "end": { + "line": 104, + "column": 28 + } + }, + "name": { + "type": "JSXIdentifier", + "start": 2138, + "end": 2146, + "loc": { + "start": { + "line": 104, + "column": 4 + }, + "end": { + "line": 104, + "column": 12 + } + }, + "name": "onSelect" + }, + "value": { + "type": "JSXExpressionContainer", + "start": 2147, + "end": 2162, + "loc": { + "start": { + "line": 104, + "column": 13 + }, + "end": { + "line": 104, + "column": 28 + } + }, + "expression": { + "type": "MemberExpression", + "start": 2148, + "end": 2161, + "loc": { + "start": { + "line": 104, + "column": 14 + }, + "end": { + "line": 104, + "column": 27 + } + }, + "object": { + "type": "ThisExpression", + "start": 2148, + "end": 2152, + "loc": { + "start": { + "line": 104, + "column": 14 + }, + "end": { + "line": 104, + "column": 18 + } + } + }, + "property": { + "type": "Identifier", + "start": 2153, + "end": 2161, + "loc": { + "start": { + "line": 104, + "column": 19 + }, + "end": { + "line": 104, + "column": 27 + }, + "identifierName": "onSelect" + }, + "name": "onSelect" + }, + "computed": false + } + } + } + ], + "name": { + "type": "JSXIdentifier", + "start": 1689, + "end": 1701, + "loc": { + "start": { + "line": 88, + "column": 4 + }, + "end": { + "line": 88, + "column": 16 + } + }, + "name": "Autocomplete" + }, + "selfClosing": true + }, + "closingElement": null, + "children": [], + "extra": { + "parenthesized": true, + "parenStart": 1682 + } + } + } + ], + "directives": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n\t * Render MagicSelect component\n\t * @return {*}\n\t ", + "start": 1603, + "end": 1660, + "loc": { + "start": { + "line": 81, + "column": 1 + }, + "end": { + "line": 84, + "column": 4 + } + } + } + ] + } + ], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Encapsulates a complete Magic Select field\n ", + "start": 240, + "end": 293, + "loc": { + "start": { + "line": 11, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Prop definitions for MagicSelect component\n ", + "start": 2182, + "end": 2235, + "loc": { + "start": { + "line": 112, + "column": 0 + }, + "end": { + "line": 114, + "column": 3 + } + } + } + ] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Encapsulates a complete Magic Select field\n ", + "start": 240, + "end": 293, + "loc": { + "start": { + "line": 11, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Prop definitions for MagicSelect component\n ", + "start": 2182, + "end": 2235, + "loc": { + "start": { + "line": 112, + "column": 0 + }, + "end": { + "line": 114, + "column": 3 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 2236, + "end": 2544, + "loc": { + "start": { + "line": 115, + "column": 0 + }, + "end": { + "line": 126, + "column": 2 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2236, + "end": 2543, + "loc": { + "start": { + "line": 115, + "column": 0 + }, + "end": { + "line": 126, + "column": 1 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 2236, + "end": 2257, + "loc": { + "start": { + "line": 115, + "column": 0 + }, + "end": { + "line": 115, + "column": 21 + } + }, + "object": { + "type": "Identifier", + "start": 2236, + "end": 2247, + "loc": { + "start": { + "line": 115, + "column": 0 + }, + "end": { + "line": 115, + "column": 11 + }, + "identifierName": "MagicSelect" + }, + "name": "MagicSelect", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 2248, + "end": 2257, + "loc": { + "start": { + "line": 115, + "column": 12 + }, + "end": { + "line": 115, + "column": 21 + }, + "identifierName": "propTypes" + }, + "name": "propTypes" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "ObjectExpression", + "start": 2260, + "end": 2543, + "loc": { + "start": { + "line": 115, + "column": 24 + }, + "end": { + "line": 126, + "column": 1 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 2263, + "end": 2294, + "loc": { + "start": { + "line": 116, + "column": 1 + }, + "end": { + "line": 116, + "column": 32 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2263, + "end": 2265, + "loc": { + "start": { + "line": 116, + "column": 1 + }, + "end": { + "line": 116, + "column": 3 + }, + "identifierName": "id" + }, + "name": "id" + }, + "value": { + "type": "MemberExpression", + "start": 2267, + "end": 2294, + "loc": { + "start": { + "line": 116, + "column": 5 + }, + "end": { + "line": 116, + "column": 32 + } + }, + "object": { + "type": "MemberExpression", + "start": 2267, + "end": 2283, + "loc": { + "start": { + "line": 116, + "column": 5 + }, + "end": { + "line": 116, + "column": 21 + } + }, + "object": { + "type": "Identifier", + "start": 2267, + "end": 2276, + "loc": { + "start": { + "line": 116, + "column": 5 + }, + "end": { + "line": 116, + "column": 14 + }, + "identifierName": "PropTypes" + }, + "name": "PropTypes" + }, + "property": { + "type": "Identifier", + "start": 2277, + "end": 2283, + "loc": { + "start": { + "line": 116, + "column": 15 + }, + "end": { + "line": 116, + "column": 21 + }, + "identifierName": "string" + }, + "name": "string" + }, + "computed": false + }, + "property": { + "type": "Identifier", + "start": 2284, + "end": 2294, + "loc": { + "start": { + "line": 116, + "column": 22 + }, + "end": { + "line": 116, + "column": 32 + }, + "identifierName": "isRequired" + }, + "name": "isRequired" + }, + "computed": false + } + }, + { + "type": "ObjectProperty", + "start": 2297, + "end": 2322, + "loc": { + "start": { + "line": 117, + "column": 1 + }, + "end": { + "line": 117, + "column": 26 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2297, + "end": 2304, + "loc": { + "start": { + "line": 117, + "column": 1 + }, + "end": { + "line": 117, + "column": 8 + }, + "identifierName": "options" + }, + "name": "options" + }, + "value": { + "type": "Identifier", + "start": 2306, + "end": 2322, + "loc": { + "start": { + "line": 117, + "column": 10 + }, + "end": { + "line": 117, + "column": 26 + }, + "identifierName": "optionsShapeProp" + }, + "name": "optionsShapeProp" + } + }, + { + "type": "ObjectProperty", + "start": 2325, + "end": 2351, + "loc": { + "start": { + "line": 118, + "column": 1 + }, + "end": { + "line": 118, + "column": 27 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2325, + "end": 2335, + "loc": { + "start": { + "line": 118, + "column": 1 + }, + "end": { + "line": 118, + "column": 11 + }, + "identifierName": "isRequired" + }, + "name": "isRequired" + }, + "value": { + "type": "MemberExpression", + "start": 2337, + "end": 2351, + "loc": { + "start": { + "line": 118, + "column": 13 + }, + "end": { + "line": 118, + "column": 27 + } + }, + "object": { + "type": "Identifier", + "start": 2337, + "end": 2346, + "loc": { + "start": { + "line": 118, + "column": 13 + }, + "end": { + "line": 118, + "column": 22 + }, + "identifierName": "PropTypes" + }, + "name": "PropTypes" + }, + "property": { + "type": "Identifier", + "start": 2347, + "end": 2351, + "loc": { + "start": { + "line": 118, + "column": 23 + }, + "end": { + "line": 118, + "column": 27 + }, + "identifierName": "bool" + }, + "name": "bool" + }, + "computed": false + } + }, + { + "type": "ObjectProperty", + "start": 2354, + "end": 2376, + "loc": { + "start": { + "line": 119, + "column": 1 + }, + "end": { + "line": 119, + "column": 23 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2354, + "end": 2358, + "loc": { + "start": { + "line": 119, + "column": 1 + }, + "end": { + "line": 119, + "column": 5 + }, + "identifierName": "help" + }, + "name": "help" + }, + "value": { + "type": "MemberExpression", + "start": 2360, + "end": 2376, + "loc": { + "start": { + "line": 119, + "column": 7 + }, + "end": { + "line": 119, + "column": 23 + } + }, + "object": { + "type": "Identifier", + "start": 2360, + "end": 2369, + "loc": { + "start": { + "line": 119, + "column": 7 + }, + "end": { + "line": 119, + "column": 16 + }, + "identifierName": "PropTypes" + }, + "name": "PropTypes" + }, + "property": { + "type": "Identifier", + "start": 2370, + "end": 2376, + "loc": { + "start": { + "line": 119, + "column": 17 + }, + "end": { + "line": 119, + "column": 23 + }, + "identifierName": "string" + }, + "name": "string" + }, + "computed": false + } + }, + { + "type": "ObjectProperty", + "start": 2379, + "end": 2399, + "loc": { + "start": { + "line": 120, + "column": 1 + }, + "end": { + "line": 120, + "column": 21 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2379, + "end": 2384, + "loc": { + "start": { + "line": 120, + "column": 1 + }, + "end": { + "line": 120, + "column": 6 + }, + "identifierName": "value" + }, + "name": "value" + }, + "value": { + "type": "Identifier", + "start": 2386, + "end": 2399, + "loc": { + "start": { + "line": 120, + "column": 8 + }, + "end": { + "line": 120, + "column": 21 + }, + "identifierName": "valuePropType" + }, + "name": "valuePropType" + } + }, + { + "type": "ObjectProperty", + "start": 2402, + "end": 2438, + "loc": { + "start": { + "line": 121, + "column": 1 + }, + "end": { + "line": 121, + "column": 37 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2402, + "end": 2415, + "loc": { + "start": { + "line": 121, + "column": 1 + }, + "end": { + "line": 121, + "column": 14 + }, + "identifierName": "onValueChange" + }, + "name": "onValueChange" + }, + "value": { + "type": "Identifier", + "start": 2417, + "end": 2438, + "loc": { + "start": { + "line": 121, + "column": 16 + }, + "end": { + "line": 121, + "column": 37 + }, + "identifierName": "onValueChangePropType" + }, + "name": "onValueChangePropType" + } + }, + { + "type": "ObjectProperty", + "start": 2441, + "end": 2465, + "loc": { + "start": { + "line": 122, + "column": 1 + }, + "end": { + "line": 122, + "column": 25 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2441, + "end": 2449, + "loc": { + "start": { + "line": 122, + "column": 1 + }, + "end": { + "line": 122, + "column": 9 + }, + "identifierName": "disabled" + }, + "name": "disabled" + }, + "value": { + "type": "MemberExpression", + "start": 2451, + "end": 2465, + "loc": { + "start": { + "line": 122, + "column": 11 + }, + "end": { + "line": 122, + "column": 25 + } + }, + "object": { + "type": "Identifier", + "start": 2451, + "end": 2460, + "loc": { + "start": { + "line": 122, + "column": 11 + }, + "end": { + "line": 122, + "column": 20 + }, + "identifierName": "PropTypes" + }, + "name": "PropTypes" + }, + "property": { + "type": "Identifier", + "start": 2461, + "end": 2465, + "loc": { + "start": { + "line": 122, + "column": 21 + }, + "end": { + "line": 122, + "column": 25 + }, + "identifierName": "bool" + }, + "name": "bool" + }, + "computed": false + } + }, + { + "type": "ObjectProperty", + "start": 2468, + "end": 2490, + "loc": { + "start": { + "line": 123, + "column": 1 + }, + "end": { + "line": 123, + "column": 23 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2468, + "end": 2474, + "loc": { + "start": { + "line": 123, + "column": 1 + }, + "end": { + "line": 123, + "column": 7 + }, + "identifierName": "isOpen" + }, + "name": "isOpen" + }, + "value": { + "type": "MemberExpression", + "start": 2476, + "end": 2490, + "loc": { + "start": { + "line": 123, + "column": 9 + }, + "end": { + "line": 123, + "column": 23 + } + }, + "object": { + "type": "Identifier", + "start": 2476, + "end": 2485, + "loc": { + "start": { + "line": 123, + "column": 9 + }, + "end": { + "line": 123, + "column": 18 + }, + "identifierName": "PropTypes" + }, + "name": "PropTypes" + }, + "property": { + "type": "Identifier", + "start": 2486, + "end": 2490, + "loc": { + "start": { + "line": 123, + "column": 19 + }, + "end": { + "line": 123, + "column": 23 + }, + "identifierName": "bool" + }, + "name": "bool" + }, + "computed": false + } + }, + { + "type": "ObjectProperty", + "start": 2493, + "end": 2515, + "loc": { + "start": { + "line": 124, + "column": 1 + }, + "end": { + "line": 124, + "column": 23 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2493, + "end": 2499, + "loc": { + "start": { + "line": 124, + "column": 1 + }, + "end": { + "line": 124, + "column": 7 + }, + "identifierName": "onBlur" + }, + "name": "onBlur" + }, + "value": { + "type": "MemberExpression", + "start": 2501, + "end": 2515, + "loc": { + "start": { + "line": 124, + "column": 9 + }, + "end": { + "line": 124, + "column": 23 + } + }, + "object": { + "type": "Identifier", + "start": 2501, + "end": 2510, + "loc": { + "start": { + "line": 124, + "column": 9 + }, + "end": { + "line": 124, + "column": 18 + }, + "identifierName": "PropTypes" + }, + "name": "PropTypes" + }, + "property": { + "type": "Identifier", + "start": 2511, + "end": 2515, + "loc": { + "start": { + "line": 124, + "column": 19 + }, + "end": { + "line": 124, + "column": 23 + }, + "identifierName": "func" + }, + "name": "func" + }, + "computed": false + } + }, + { + "type": "ObjectProperty", + "start": 2518, + "end": 2541, + "loc": { + "start": { + "line": 125, + "column": 1 + }, + "end": { + "line": 125, + "column": 24 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2518, + "end": 2525, + "loc": { + "start": { + "line": 125, + "column": 1 + }, + "end": { + "line": 125, + "column": 8 + }, + "identifierName": "onFocus" + }, + "name": "onFocus" + }, + "value": { + "type": "MemberExpression", + "start": 2527, + "end": 2541, + "loc": { + "start": { + "line": 125, + "column": 10 + }, + "end": { + "line": 125, + "column": 24 + } + }, + "object": { + "type": "Identifier", + "start": 2527, + "end": 2536, + "loc": { + "start": { + "line": 125, + "column": 10 + }, + "end": { + "line": 125, + "column": 19 + }, + "identifierName": "PropTypes" + }, + "name": "PropTypes" + }, + "property": { + "type": "Identifier", + "start": 2537, + "end": 2541, + "loc": { + "start": { + "line": 125, + "column": 20 + }, + "end": { + "line": 125, + "column": 24 + }, + "identifierName": "func" + }, + "name": "func" + }, + "computed": false + } + } + ] + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Prop definitions for MagicSelect component\n ", + "start": 2182, + "end": 2235, + "loc": { + "start": { + "line": 112, + "column": 0 + }, + "end": { + "line": 114, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Default property values for MagicSelect component\n *\n * @type {{}}\n ", + "start": 2546, + "end": 2623, + "loc": { + "start": { + "line": 128, + "column": 0 + }, + "end": { + "line": 132, + "column": 3 + } + } + } + ] + }, + { + "type": "ExpressionStatement", + "start": 2624, + "end": 2707, + "loc": { + "start": { + "line": 133, + "column": 0 + }, + "end": { + "line": 137, + "column": 2 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 2624, + "end": 2706, + "loc": { + "start": { + "line": 133, + "column": 0 + }, + "end": { + "line": 137, + "column": 1 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 2624, + "end": 2648, + "loc": { + "start": { + "line": 133, + "column": 0 + }, + "end": { + "line": 133, + "column": 24 + } + }, + "object": { + "type": "Identifier", + "start": 2624, + "end": 2635, + "loc": { + "start": { + "line": 133, + "column": 0 + }, + "end": { + "line": 133, + "column": 11 + }, + "identifierName": "MagicSelect" + }, + "name": "MagicSelect", + "leadingComments": null + }, + "property": { + "type": "Identifier", + "start": 2636, + "end": 2648, + "loc": { + "start": { + "line": 133, + "column": 12 + }, + "end": { + "line": 133, + "column": 24 + }, + "identifierName": "defaultProps" + }, + "name": "defaultProps" + }, + "computed": false, + "leadingComments": null + }, + "right": { + "type": "ObjectExpression", + "start": 2651, + "end": 2706, + "loc": { + "start": { + "line": 133, + "column": 27 + }, + "end": { + "line": 137, + "column": 1 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 2654, + "end": 2675, + "loc": { + "start": { + "line": 134, + "column": 1 + }, + "end": { + "line": 134, + "column": 22 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2654, + "end": 2665, + "loc": { + "start": { + "line": 134, + "column": 1 + }, + "end": { + "line": 134, + "column": 12 + }, + "identifierName": "defaultList" + }, + "name": "defaultList" + }, + "value": { + "type": "StringLiteral", + "start": 2667, + "end": 2675, + "loc": { + "start": { + "line": 134, + "column": 14 + }, + "end": { + "line": 134, + "column": 22 + } + }, + "extra": { + "rawValue": "fields", + "raw": "'fields'" + }, + "value": "fields" + } + }, + { + "type": "ObjectProperty", + "start": 2678, + "end": 2691, + "loc": { + "start": { + "line": 135, + "column": 1 + }, + "end": { + "line": 135, + "column": 14 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2678, + "end": 2684, + "loc": { + "start": { + "line": 135, + "column": 1 + }, + "end": { + "line": 135, + "column": 7 + }, + "identifierName": "isOpen" + }, + "name": "isOpen" + }, + "value": { + "type": "BooleanLiteral", + "start": 2686, + "end": 2691, + "loc": { + "start": { + "line": 135, + "column": 9 + }, + "end": { + "line": 135, + "column": 14 + } + }, + "value": false + } + }, + { + "type": "ObjectProperty", + "start": 2694, + "end": 2704, + "loc": { + "start": { + "line": 136, + "column": 1 + }, + "end": { + "line": 136, + "column": 11 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2694, + "end": 2701, + "loc": { + "start": { + "line": 136, + "column": 1 + }, + "end": { + "line": 136, + "column": 8 + }, + "identifierName": "options" + }, + "name": "options" + }, + "value": { + "type": "ArrayExpression", + "start": 2702, + "end": 2704, + "loc": { + "start": { + "line": 136, + "column": 9 + }, + "end": { + "line": 136, + "column": 11 + } + }, + "elements": [] + } + } + ] + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Default property values for MagicSelect component\n *\n * @type {{}}\n ", + "start": 2546, + "end": 2623, + "loc": { + "start": { + "line": 128, + "column": 0 + }, + "end": { + "line": 132, + "column": 3 + } + } + } + ] + } + ], + "directives": [] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * Encapsulates a complete Magic Select field\n ", + "start": 240, + "end": 293, + "loc": { + "start": { + "line": 11, + "column": 0 + }, + "end": { + "line": 13, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n\t * Create a MagicSelect component\n\t *\n\t * @param {Object} props\n\t ", + "start": 351, + "end": 424, + "loc": { + "start": { + "line": 16, + "column": 1 + }, + "end": { + "line": 20, + "column": 4 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n\t * Handle direct change events\n\t *\n\t * Probably not needed\n\t * @param {Event} event\n\t ", + "start": 750, + "end": 843, + "loc": { + "start": { + "line": 31, + "column": 1 + }, + "end": { + "line": 36, + "column": 4 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n\t * Handle when the field gets focus\n\t ", + "start": 916, + "end": 961, + "loc": { + "start": { + "line": 41, + "column": 1 + }, + "end": { + "line": 43, + "column": 4 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n\t * Handle when the field is blurred\n\t ", + "start": 1064, + "end": 1109, + "loc": { + "start": { + "line": 50, + "column": 1 + }, + "end": { + "line": 52, + "column": 4 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n\t * Handle when the option is chosen\n\t * @param {String|number} value\n\t ", + "start": 1210, + "end": 1288, + "loc": { + "start": { + "line": 60, + "column": 1 + }, + "end": { + "line": 63, + "column": 4 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n\t * Render option\n\t *\n\t * @param {object} item\n\t * @param {bool} isHighlighted\n\t * @return {*}\n\t ", + "start": 1349, + "end": 1452, + "loc": { + "start": { + "line": 69, + "column": 1 + }, + "end": { + "line": 75, + "column": 4 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n\t * Render MagicSelect component\n\t * @return {*}\n\t ", + "start": 1603, + "end": 1660, + "loc": { + "start": { + "line": 81, + "column": 1 + }, + "end": { + "line": 84, + "column": 4 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Prop definitions for MagicSelect component\n ", + "start": 2182, + "end": 2235, + "loc": { + "start": { + "line": 112, + "column": 0 + }, + "end": { + "line": 114, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Default property values for MagicSelect component\n *\n * @type {{}}\n ", + "start": 2546, + "end": 2623, + "loc": { + "start": { + "line": 128, + "column": 0 + }, + "end": { + "line": 132, + "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": "onValueChangePropType", + "start": 37, + "end": 58, + "loc": { + "start": { + "line": 3, + "column": 1 + }, + "end": { + "line": 3, + "column": 22 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 58, + "end": 59, + "loc": { + "start": { + "line": 3, + "column": 22 + }, + "end": { + "line": 3, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "optionsShapeProp", + "start": 61, + "end": 77, + "loc": { + "start": { + "line": 4, + "column": 1 + }, + "end": { + "line": 4, + "column": 17 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 77, + "end": 78, + "loc": { + "start": { + "line": 4, + "column": 17 + }, + "end": { + "line": 4, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "valuePropType", + "start": 80, + "end": 93, + "loc": { + "start": { + "line": 5, + "column": 1 + }, + "end": { + "line": 5, + "column": 14 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 94, + "end": 95, + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 6, + "column": 1 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 96, + "end": 100, + "loc": { + "start": { + "line": 6, + "column": 2 + }, + "end": { + "line": 6, + "column": 6 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "../propTypes", + "start": 101, + "end": 115, + "loc": { + "start": { + "line": 6, + "column": 7 + }, + "end": { + "line": 6, + "column": 21 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 115, + "end": 116, + "loc": { + "start": { + "line": 6, + "column": 21 + }, + "end": { + "line": 6, + "column": 22 + } + } + }, + { + "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": 117, + "end": 123, + "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": "Autocomplete", + "start": 124, + "end": 136, + "loc": { + "start": { + "line": 7, + "column": 7 + }, + "end": { + "line": 7, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 137, + "end": 141, + "loc": { + "start": { + "line": 7, + "column": 20 + }, + "end": { + "line": 7, + "column": 24 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "react-autocomplete", + "start": 142, + "end": 162, + "loc": { + "start": { + "line": 7, + "column": 25 + }, + "end": { + "line": 7, + "column": 45 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 162, + "end": 163, + "loc": { + "start": { + "line": 7, + "column": 45 + }, + "end": { + "line": 7, + "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": 164, + "end": 170, + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 8, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PropTypes", + "start": 171, + "end": 180, + "loc": { + "start": { + "line": 8, + "column": 7 + }, + "end": { + "line": 8, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 181, + "end": 185, + "loc": { + "start": { + "line": 8, + "column": 17 + }, + "end": { + "line": 8, + "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": 186, + "end": 198, + "loc": { + "start": { + "line": 8, + "column": 22 + }, + "end": { + "line": 8, + "column": 34 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 198, + "end": 199, + "loc": { + "start": { + "line": 8, + "column": 34 + }, + "end": { + "line": 8, + "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": 200, + "end": 206, + "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": 207, + "end": 208, + "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": "MagicItem", + "start": 208, + "end": 217, + "loc": { + "start": { + "line": 9, + "column": 8 + }, + "end": { + "line": 9, + "column": 17 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 217, + "end": 218, + "loc": { + "start": { + "line": 9, + "column": 17 + }, + "end": { + "line": 9, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 219, + "end": 223, + "loc": { + "start": { + "line": 9, + "column": 19 + }, + "end": { + "line": 9, + "column": 23 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./MagicItem", + "start": 224, + "end": 237, + "loc": { + "start": { + "line": 9, + "column": 24 + }, + "end": { + "line": 9, + "column": 37 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 237, + "end": 238, + "loc": { + "start": { + "line": 9, + "column": 37 + }, + "end": { + "line": 9, + "column": 38 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Encapsulates a complete Magic Select field\n ", + "start": 240, + "end": 293, + "loc": { + "start": { + "line": 11, + "column": 0 + }, + "end": { + "line": 13, + "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": 294, + "end": 300, + "loc": { + "start": { + "line": 14, + "column": 0 + }, + "end": { + "line": 14, + "column": 6 + } + } + }, + { + "type": { + "label": "class", + "keyword": "class", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "class", + "start": 301, + "end": 306, + "loc": { + "start": { + "line": 14, + "column": 7 + }, + "end": { + "line": 14, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MagicSelect", + "start": 307, + "end": 318, + "loc": { + "start": { + "line": 14, + "column": 13 + }, + "end": { + "line": 14, + "column": 24 + } + } + }, + { + "type": { + "label": "extends", + "keyword": "extends", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "extends", + "start": 319, + "end": 326, + "loc": { + "start": { + "line": 14, + "column": 25 + }, + "end": { + "line": 14, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "React", + "start": 327, + "end": 332, + "loc": { + "start": { + "line": 14, + "column": 33 + }, + "end": { + "line": 14, + "column": 38 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 332, + "end": 333, + "loc": { + "start": { + "line": 14, + "column": 38 + }, + "end": { + "line": 14, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PureComponent", + "start": 333, + "end": 346, + "loc": { + "start": { + "line": 14, + "column": 39 + }, + "end": { + "line": 14, + "column": 52 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 347, + "end": 348, + "loc": { + "start": { + "line": 14, + "column": 53 + }, + "end": { + "line": 14, + "column": 54 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n\t * Create a MagicSelect component\n\t *\n\t * @param {Object} props\n\t ", + "start": 351, + "end": 424, + "loc": { + "start": { + "line": 16, + "column": 1 + }, + "end": { + "line": 20, + "column": 4 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "constructor", + "start": 426, + "end": 437, + "loc": { + "start": { + "line": 21, + "column": 1 + }, + "end": { + "line": 21, + "column": 12 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 437, + "end": 438, + "loc": { + "start": { + "line": 21, + "column": 12 + }, + "end": { + "line": 21, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "props", + "start": 438, + "end": 443, + "loc": { + "start": { + "line": 21, + "column": 13 + }, + "end": { + "line": 21, + "column": 18 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 443, + "end": 444, + "loc": { + "start": { + "line": 21, + "column": 18 + }, + "end": { + "line": 21, + "column": 19 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 445, + "end": 446, + "loc": { + "start": { + "line": 21, + "column": 20 + }, + "end": { + "line": 21, + "column": 21 + } + } + }, + { + "type": { + "label": "super", + "keyword": "super", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "super", + "start": 449, + "end": 454, + "loc": { + "start": { + "line": 22, + "column": 2 + }, + "end": { + "line": 22, + "column": 7 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 454, + "end": 455, + "loc": { + "start": { + "line": 22, + "column": 7 + }, + "end": { + "line": 22, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "props", + "start": 455, + "end": 460, + "loc": { + "start": { + "line": 22, + "column": 8 + }, + "end": { + "line": 22, + "column": 13 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 460, + "end": 461, + "loc": { + "start": { + "line": 22, + "column": 13 + }, + "end": { + "line": 22, + "column": 14 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 461, + "end": 462, + "loc": { + "start": { + "line": 22, + "column": 14 + }, + "end": { + "line": 22, + "column": 15 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 465, + "end": 469, + "loc": { + "start": { + "line": 23, + "column": 2 + }, + "end": { + "line": 23, + "column": 6 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 469, + "end": 470, + "loc": { + "start": { + "line": 23, + "column": 6 + }, + "end": { + "line": 23, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onChange", + "start": 470, + "end": 478, + "loc": { + "start": { + "line": 23, + "column": 7 + }, + "end": { + "line": 23, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 479, + "end": 480, + "loc": { + "start": { + "line": 23, + "column": 16 + }, + "end": { + "line": 23, + "column": 17 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 481, + "end": 485, + "loc": { + "start": { + "line": 23, + "column": 18 + }, + "end": { + "line": 23, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 485, + "end": 486, + "loc": { + "start": { + "line": 23, + "column": 22 + }, + "end": { + "line": 23, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onChange", + "start": 486, + "end": 494, + "loc": { + "start": { + "line": 23, + "column": 23 + }, + "end": { + "line": 23, + "column": 31 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 494, + "end": 495, + "loc": { + "start": { + "line": 23, + "column": 31 + }, + "end": { + "line": 23, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bind", + "start": 495, + "end": 499, + "loc": { + "start": { + "line": 23, + "column": 32 + }, + "end": { + "line": 23, + "column": 36 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 499, + "end": 500, + "loc": { + "start": { + "line": 23, + "column": 36 + }, + "end": { + "line": 23, + "column": 37 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 500, + "end": 504, + "loc": { + "start": { + "line": 23, + "column": 37 + }, + "end": { + "line": 23, + "column": 41 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 504, + "end": 505, + "loc": { + "start": { + "line": 23, + "column": 41 + }, + "end": { + "line": 23, + "column": 42 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 505, + "end": 506, + "loc": { + "start": { + "line": 23, + "column": 42 + }, + "end": { + "line": 23, + "column": 43 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 509, + "end": 513, + "loc": { + "start": { + "line": 24, + "column": 2 + }, + "end": { + "line": 24, + "column": 6 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 513, + "end": 514, + "loc": { + "start": { + "line": 24, + "column": 6 + }, + "end": { + "line": 24, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onChange", + "start": 514, + "end": 522, + "loc": { + "start": { + "line": 24, + "column": 7 + }, + "end": { + "line": 24, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 523, + "end": 524, + "loc": { + "start": { + "line": 24, + "column": 16 + }, + "end": { + "line": 24, + "column": 17 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 525, + "end": 529, + "loc": { + "start": { + "line": 24, + "column": 18 + }, + "end": { + "line": 24, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 529, + "end": 530, + "loc": { + "start": { + "line": 24, + "column": 22 + }, + "end": { + "line": 24, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onChange", + "start": 530, + "end": 538, + "loc": { + "start": { + "line": 24, + "column": 23 + }, + "end": { + "line": 24, + "column": 31 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 538, + "end": 539, + "loc": { + "start": { + "line": 24, + "column": 31 + }, + "end": { + "line": 24, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bind", + "start": 539, + "end": 543, + "loc": { + "start": { + "line": 24, + "column": 32 + }, + "end": { + "line": 24, + "column": 36 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 543, + "end": 544, + "loc": { + "start": { + "line": 24, + "column": 36 + }, + "end": { + "line": 24, + "column": 37 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 544, + "end": 548, + "loc": { + "start": { + "line": 24, + "column": 37 + }, + "end": { + "line": 24, + "column": 41 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 548, + "end": 549, + "loc": { + "start": { + "line": 24, + "column": 41 + }, + "end": { + "line": 24, + "column": 42 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 549, + "end": 550, + "loc": { + "start": { + "line": 24, + "column": 42 + }, + "end": { + "line": 24, + "column": 43 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 553, + "end": 557, + "loc": { + "start": { + "line": 25, + "column": 2 + }, + "end": { + "line": 25, + "column": 6 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 557, + "end": 558, + "loc": { + "start": { + "line": 25, + "column": 6 + }, + "end": { + "line": 25, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onSelect", + "start": 558, + "end": 566, + "loc": { + "start": { + "line": 25, + "column": 7 + }, + "end": { + "line": 25, + "column": 15 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 567, + "end": 568, + "loc": { + "start": { + "line": 25, + "column": 16 + }, + "end": { + "line": 25, + "column": 17 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 569, + "end": 573, + "loc": { + "start": { + "line": 25, + "column": 18 + }, + "end": { + "line": 25, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 573, + "end": 574, + "loc": { + "start": { + "line": 25, + "column": 22 + }, + "end": { + "line": 25, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onSelect", + "start": 574, + "end": 582, + "loc": { + "start": { + "line": 25, + "column": 23 + }, + "end": { + "line": 25, + "column": 31 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 582, + "end": 583, + "loc": { + "start": { + "line": 25, + "column": 31 + }, + "end": { + "line": 25, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bind", + "start": 583, + "end": 587, + "loc": { + "start": { + "line": 25, + "column": 32 + }, + "end": { + "line": 25, + "column": 36 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 587, + "end": 588, + "loc": { + "start": { + "line": 25, + "column": 36 + }, + "end": { + "line": 25, + "column": 37 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 588, + "end": 592, + "loc": { + "start": { + "line": 25, + "column": 37 + }, + "end": { + "line": 25, + "column": 41 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 592, + "end": 593, + "loc": { + "start": { + "line": 25, + "column": 41 + }, + "end": { + "line": 25, + "column": 42 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 593, + "end": 594, + "loc": { + "start": { + "line": 25, + "column": 42 + }, + "end": { + "line": 25, + "column": 43 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 597, + "end": 601, + "loc": { + "start": { + "line": 26, + "column": 2 + }, + "end": { + "line": 26, + "column": 6 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 601, + "end": 602, + "loc": { + "start": { + "line": 26, + "column": 6 + }, + "end": { + "line": 26, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onInputFocus", + "start": 602, + "end": 614, + "loc": { + "start": { + "line": 26, + "column": 7 + }, + "end": { + "line": 26, + "column": 19 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 615, + "end": 616, + "loc": { + "start": { + "line": 26, + "column": 20 + }, + "end": { + "line": 26, + "column": 21 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 617, + "end": 621, + "loc": { + "start": { + "line": 26, + "column": 22 + }, + "end": { + "line": 26, + "column": 26 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 621, + "end": 622, + "loc": { + "start": { + "line": 26, + "column": 26 + }, + "end": { + "line": 26, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onInputFocus", + "start": 622, + "end": 634, + "loc": { + "start": { + "line": 26, + "column": 27 + }, + "end": { + "line": 26, + "column": 39 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 634, + "end": 635, + "loc": { + "start": { + "line": 26, + "column": 39 + }, + "end": { + "line": 26, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bind", + "start": 635, + "end": 639, + "loc": { + "start": { + "line": 26, + "column": 40 + }, + "end": { + "line": 26, + "column": 44 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 639, + "end": 640, + "loc": { + "start": { + "line": 26, + "column": 44 + }, + "end": { + "line": 26, + "column": 45 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 640, + "end": 644, + "loc": { + "start": { + "line": 26, + "column": 45 + }, + "end": { + "line": 26, + "column": 49 + } + } + }, + { + "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": 26, + "column": 49 + }, + "end": { + "line": 26, + "column": 50 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 645, + "end": 646, + "loc": { + "start": { + "line": 26, + "column": 50 + }, + "end": { + "line": 26, + "column": 51 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 649, + "end": 653, + "loc": { + "start": { + "line": 27, + "column": 2 + }, + "end": { + "line": 27, + "column": 6 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 653, + "end": 654, + "loc": { + "start": { + "line": 27, + "column": 6 + }, + "end": { + "line": 27, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "renderItem", + "start": 654, + "end": 664, + "loc": { + "start": { + "line": 27, + "column": 7 + }, + "end": { + "line": 27, + "column": 17 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 665, + "end": 666, + "loc": { + "start": { + "line": 27, + "column": 18 + }, + "end": { + "line": 27, + "column": 19 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 667, + "end": 671, + "loc": { + "start": { + "line": 27, + "column": 20 + }, + "end": { + "line": 27, + "column": 24 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 671, + "end": 672, + "loc": { + "start": { + "line": 27, + "column": 24 + }, + "end": { + "line": 27, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "renderItem", + "start": 672, + "end": 682, + "loc": { + "start": { + "line": 27, + "column": 25 + }, + "end": { + "line": 27, + "column": 35 + } + } + }, + { + "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": 27, + "column": 35 + }, + "end": { + "line": 27, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bind", + "start": 683, + "end": 687, + "loc": { + "start": { + "line": 27, + "column": 36 + }, + "end": { + "line": 27, + "column": 40 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 687, + "end": 688, + "loc": { + "start": { + "line": 27, + "column": 40 + }, + "end": { + "line": 27, + "column": 41 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 688, + "end": 692, + "loc": { + "start": { + "line": 27, + "column": 41 + }, + "end": { + "line": 27, + "column": 45 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 692, + "end": 693, + "loc": { + "start": { + "line": 27, + "column": 45 + }, + "end": { + "line": 27, + "column": 46 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 693, + "end": 694, + "loc": { + "start": { + "line": 27, + "column": 46 + }, + "end": { + "line": 27, + "column": 47 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 697, + "end": 701, + "loc": { + "start": { + "line": 28, + "column": 2 + }, + "end": { + "line": 28, + "column": 6 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 701, + "end": 702, + "loc": { + "start": { + "line": 28, + "column": 6 + }, + "end": { + "line": 28, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onInputBlur", + "start": 702, + "end": 713, + "loc": { + "start": { + "line": 28, + "column": 7 + }, + "end": { + "line": 28, + "column": 18 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 714, + "end": 715, + "loc": { + "start": { + "line": 28, + "column": 19 + }, + "end": { + "line": 28, + "column": 20 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 716, + "end": 720, + "loc": { + "start": { + "line": 28, + "column": 21 + }, + "end": { + "line": 28, + "column": 25 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 720, + "end": 721, + "loc": { + "start": { + "line": 28, + "column": 25 + }, + "end": { + "line": 28, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onInputBlur", + "start": 721, + "end": 732, + "loc": { + "start": { + "line": 28, + "column": 26 + }, + "end": { + "line": 28, + "column": 37 + } + } + }, + { + "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": 28, + "column": 37 + }, + "end": { + "line": 28, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bind", + "start": 733, + "end": 737, + "loc": { + "start": { + "line": 28, + "column": 38 + }, + "end": { + "line": 28, + "column": 42 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 737, + "end": 738, + "loc": { + "start": { + "line": 28, + "column": 42 + }, + "end": { + "line": 28, + "column": 43 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 738, + "end": 742, + "loc": { + "start": { + "line": 28, + "column": 43 + }, + "end": { + "line": 28, + "column": 47 + } + } + }, + { + "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": 28, + "column": 47 + }, + "end": { + "line": 28, + "column": 48 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 743, + "end": 744, + "loc": { + "start": { + "line": 28, + "column": 48 + }, + "end": { + "line": 28, + "column": 49 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 746, + "end": 747, + "loc": { + "start": { + "line": 29, + "column": 1 + }, + "end": { + "line": 29, + "column": 2 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n\t * Handle direct change events\n\t *\n\t * Probably not needed\n\t * @param {Event} event\n\t ", + "start": 750, + "end": 843, + "loc": { + "start": { + "line": 31, + "column": 1 + }, + "end": { + "line": 36, + "column": 4 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onChange", + "start": 845, + "end": 853, + "loc": { + "start": { + "line": 37, + "column": 1 + }, + "end": { + "line": 37, + "column": 9 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 853, + "end": 854, + "loc": { + "start": { + "line": 37, + "column": 9 + }, + "end": { + "line": 37, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "event", + "start": 854, + "end": 859, + "loc": { + "start": { + "line": 37, + "column": 10 + }, + "end": { + "line": 37, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 859, + "end": 860, + "loc": { + "start": { + "line": 37, + "column": 15 + }, + "end": { + "line": 37, + "column": 16 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 861, + "end": 862, + "loc": { + "start": { + "line": 37, + "column": 17 + }, + "end": { + "line": 37, + "column": 18 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 865, + "end": 869, + "loc": { + "start": { + "line": 38, + "column": 2 + }, + "end": { + "line": 38, + "column": 6 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 869, + "end": 870, + "loc": { + "start": { + "line": 38, + "column": 6 + }, + "end": { + "line": 38, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "props", + "start": 870, + "end": 875, + "loc": { + "start": { + "line": 38, + "column": 7 + }, + "end": { + "line": 38, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 875, + "end": 876, + "loc": { + "start": { + "line": 38, + "column": 12 + }, + "end": { + "line": 38, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onValueChange", + "start": 876, + "end": 889, + "loc": { + "start": { + "line": 38, + "column": 13 + }, + "end": { + "line": 38, + "column": 26 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 889, + "end": 890, + "loc": { + "start": { + "line": 38, + "column": 26 + }, + "end": { + "line": 38, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "event", + "start": 890, + "end": 895, + "loc": { + "start": { + "line": 38, + "column": 27 + }, + "end": { + "line": 38, + "column": 32 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 895, + "end": 896, + "loc": { + "start": { + "line": 38, + "column": 32 + }, + "end": { + "line": 38, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "target", + "start": 896, + "end": 902, + "loc": { + "start": { + "line": 38, + "column": 33 + }, + "end": { + "line": 38, + "column": 39 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 902, + "end": 903, + "loc": { + "start": { + "line": 38, + "column": 39 + }, + "end": { + "line": 38, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "value", + "start": 903, + "end": 908, + "loc": { + "start": { + "line": 38, + "column": 40 + }, + "end": { + "line": 38, + "column": 45 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 908, + "end": 909, + "loc": { + "start": { + "line": 38, + "column": 45 + }, + "end": { + "line": 38, + "column": 46 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 909, + "end": 910, + "loc": { + "start": { + "line": 38, + "column": 46 + }, + "end": { + "line": 38, + "column": 47 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 912, + "end": 913, + "loc": { + "start": { + "line": 39, + "column": 1 + }, + "end": { + "line": 39, + "column": 2 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n\t * Handle when the field gets focus\n\t ", + "start": 916, + "end": 961, + "loc": { + "start": { + "line": 41, + "column": 1 + }, + "end": { + "line": 43, + "column": 4 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onInputFocus", + "start": 963, + "end": 975, + "loc": { + "start": { + "line": 44, + "column": 1 + }, + "end": { + "line": 44, + "column": 13 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 975, + "end": 976, + "loc": { + "start": { + "line": 44, + "column": 13 + }, + "end": { + "line": 44, + "column": 14 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 976, + "end": 977, + "loc": { + "start": { + "line": 44, + "column": 14 + }, + "end": { + "line": 44, + "column": 15 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 978, + "end": 979, + "loc": { + "start": { + "line": 44, + "column": 16 + }, + "end": { + "line": 44, + "column": 17 + } + } + }, + { + "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": 982, + "end": 984, + "loc": { + "start": { + "line": 45, + "column": 2 + }, + "end": { + "line": 45, + "column": 4 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 984, + "end": 985, + "loc": { + "start": { + "line": 45, + "column": 4 + }, + "end": { + "line": 45, + "column": 5 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "function", + "start": 986, + "end": 996, + "loc": { + "start": { + "line": 45, + "column": 6 + }, + "end": { + "line": 45, + "column": 16 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 997, + "end": 1000, + "loc": { + "start": { + "line": 45, + "column": 17 + }, + "end": { + "line": 45, + "column": 20 + } + } + }, + { + "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": 1001, + "end": 1007, + "loc": { + "start": { + "line": 45, + "column": 21 + }, + "end": { + "line": 45, + "column": 27 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1008, + "end": 1012, + "loc": { + "start": { + "line": 45, + "column": 28 + }, + "end": { + "line": 45, + "column": 32 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1012, + "end": 1013, + "loc": { + "start": { + "line": 45, + "column": 32 + }, + "end": { + "line": 45, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "props", + "start": 1013, + "end": 1018, + "loc": { + "start": { + "line": 45, + "column": 33 + }, + "end": { + "line": 45, + "column": 38 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1018, + "end": 1019, + "loc": { + "start": { + "line": 45, + "column": 38 + }, + "end": { + "line": 45, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onFocus", + "start": 1019, + "end": 1026, + "loc": { + "start": { + "line": 45, + "column": 39 + }, + "end": { + "line": 45, + "column": 46 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1027, + "end": 1028, + "loc": { + "start": { + "line": 45, + "column": 47 + }, + "end": { + "line": 45, + "column": 48 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1028, + "end": 1029, + "loc": { + "start": { + "line": 45, + "column": 48 + }, + "end": { + "line": 45, + "column": 49 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1033, + "end": 1037, + "loc": { + "start": { + "line": 46, + "column": 3 + }, + "end": { + "line": 46, + "column": 7 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1037, + "end": 1038, + "loc": { + "start": { + "line": 46, + "column": 7 + }, + "end": { + "line": 46, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "props", + "start": 1038, + "end": 1043, + "loc": { + "start": { + "line": 46, + "column": 8 + }, + "end": { + "line": 46, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1043, + "end": 1044, + "loc": { + "start": { + "line": 46, + "column": 13 + }, + "end": { + "line": 46, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onFocus", + "start": 1044, + "end": 1051, + "loc": { + "start": { + "line": 46, + "column": 14 + }, + "end": { + "line": 46, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1051, + "end": 1052, + "loc": { + "start": { + "line": 46, + "column": 21 + }, + "end": { + "line": 46, + "column": 22 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1052, + "end": 1053, + "loc": { + "start": { + "line": 46, + "column": 22 + }, + "end": { + "line": 46, + "column": 23 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1053, + "end": 1054, + "loc": { + "start": { + "line": 46, + "column": 23 + }, + "end": { + "line": 46, + "column": 24 + } + } + }, + { + "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": 47, + "column": 2 + }, + "end": { + "line": 47, + "column": 3 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1060, + "end": 1061, + "loc": { + "start": { + "line": 48, + "column": 1 + }, + "end": { + "line": 48, + "column": 2 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n\t * Handle when the field is blurred\n\t ", + "start": 1064, + "end": 1109, + "loc": { + "start": { + "line": 50, + "column": 1 + }, + "end": { + "line": 52, + "column": 4 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onInputBlur", + "start": 1111, + "end": 1122, + "loc": { + "start": { + "line": 53, + "column": 1 + }, + "end": { + "line": 53, + "column": 12 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1122, + "end": 1123, + "loc": { + "start": { + "line": 53, + "column": 12 + }, + "end": { + "line": 53, + "column": 13 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1123, + "end": 1124, + "loc": { + "start": { + "line": 53, + "column": 13 + }, + "end": { + "line": 53, + "column": 14 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1125, + "end": 1126, + "loc": { + "start": { + "line": 53, + "column": 15 + }, + "end": { + "line": 53, + "column": 16 + } + } + }, + { + "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": 1129, + "end": 1131, + "loc": { + "start": { + "line": 54, + "column": 2 + }, + "end": { + "line": 54, + "column": 4 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1131, + "end": 1132, + "loc": { + "start": { + "line": 54, + "column": 4 + }, + "end": { + "line": 54, + "column": 5 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "function", + "start": 1133, + "end": 1143, + "loc": { + "start": { + "line": 54, + "column": 6 + }, + "end": { + "line": 54, + "column": 16 + } + } + }, + { + "type": { + "label": "==/!=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 6, + "updateContext": null + }, + "value": "===", + "start": 1144, + "end": 1147, + "loc": { + "start": { + "line": 54, + "column": 17 + }, + "end": { + "line": 54, + "column": 20 + } + } + }, + { + "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": 1148, + "end": 1154, + "loc": { + "start": { + "line": 54, + "column": 21 + }, + "end": { + "line": 54, + "column": 27 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1155, + "end": 1159, + "loc": { + "start": { + "line": 54, + "column": 28 + }, + "end": { + "line": 54, + "column": 32 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1159, + "end": 1160, + "loc": { + "start": { + "line": 54, + "column": 32 + }, + "end": { + "line": 54, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "props", + "start": 1160, + "end": 1165, + "loc": { + "start": { + "line": 54, + "column": 33 + }, + "end": { + "line": 54, + "column": 38 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1165, + "end": 1166, + "loc": { + "start": { + "line": 54, + "column": 38 + }, + "end": { + "line": 54, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onBlur", + "start": 1166, + "end": 1172, + "loc": { + "start": { + "line": 54, + "column": 39 + }, + "end": { + "line": 54, + "column": 45 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1173, + "end": 1174, + "loc": { + "start": { + "line": 54, + "column": 46 + }, + "end": { + "line": 54, + "column": 47 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1174, + "end": 1175, + "loc": { + "start": { + "line": 54, + "column": 47 + }, + "end": { + "line": 54, + "column": 48 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1179, + "end": 1183, + "loc": { + "start": { + "line": 55, + "column": 3 + }, + "end": { + "line": 55, + "column": 7 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1183, + "end": 1184, + "loc": { + "start": { + "line": 55, + "column": 7 + }, + "end": { + "line": 55, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "props", + "start": 1184, + "end": 1189, + "loc": { + "start": { + "line": 55, + "column": 8 + }, + "end": { + "line": 55, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1189, + "end": 1190, + "loc": { + "start": { + "line": 55, + "column": 13 + }, + "end": { + "line": 55, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onBlur", + "start": 1190, + "end": 1196, + "loc": { + "start": { + "line": 55, + "column": 14 + }, + "end": { + "line": 55, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1196, + "end": 1197, + "loc": { + "start": { + "line": 55, + "column": 20 + }, + "end": { + "line": 55, + "column": 21 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1197, + "end": 1198, + "loc": { + "start": { + "line": 55, + "column": 21 + }, + "end": { + "line": 55, + "column": 22 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1198, + "end": 1199, + "loc": { + "start": { + "line": 55, + "column": 22 + }, + "end": { + "line": 55, + "column": 23 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1202, + "end": 1203, + "loc": { + "start": { + "line": 56, + "column": 2 + }, + "end": { + "line": 56, + "column": 3 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1205, + "end": 1206, + "loc": { + "start": { + "line": 57, + "column": 1 + }, + "end": { + "line": 57, + "column": 2 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n\t * Handle when the option is chosen\n\t * @param {String|number} value\n\t ", + "start": 1210, + "end": 1288, + "loc": { + "start": { + "line": 60, + "column": 1 + }, + "end": { + "line": 63, + "column": 4 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onSelect", + "start": 1290, + "end": 1298, + "loc": { + "start": { + "line": 64, + "column": 1 + }, + "end": { + "line": 64, + "column": 9 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1298, + "end": 1299, + "loc": { + "start": { + "line": 64, + "column": 9 + }, + "end": { + "line": 64, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "value", + "start": 1299, + "end": 1304, + "loc": { + "start": { + "line": 64, + "column": 10 + }, + "end": { + "line": 64, + "column": 15 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1304, + "end": 1305, + "loc": { + "start": { + "line": 64, + "column": 15 + }, + "end": { + "line": 64, + "column": 16 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1306, + "end": 1307, + "loc": { + "start": { + "line": 64, + "column": 17 + }, + "end": { + "line": 64, + "column": 18 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1310, + "end": 1314, + "loc": { + "start": { + "line": 65, + "column": 2 + }, + "end": { + "line": 65, + "column": 6 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1314, + "end": 1315, + "loc": { + "start": { + "line": 65, + "column": 6 + }, + "end": { + "line": 65, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "props", + "start": 1315, + "end": 1320, + "loc": { + "start": { + "line": 65, + "column": 7 + }, + "end": { + "line": 65, + "column": 12 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1320, + "end": 1321, + "loc": { + "start": { + "line": 65, + "column": 12 + }, + "end": { + "line": 65, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onValueChange", + "start": 1321, + "end": 1334, + "loc": { + "start": { + "line": 65, + "column": 13 + }, + "end": { + "line": 65, + "column": 26 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1334, + "end": 1335, + "loc": { + "start": { + "line": 65, + "column": 26 + }, + "end": { + "line": 65, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "value", + "start": 1335, + "end": 1340, + "loc": { + "start": { + "line": 65, + "column": 27 + }, + "end": { + "line": 65, + "column": 32 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1340, + "end": 1341, + "loc": { + "start": { + "line": 65, + "column": 32 + }, + "end": { + "line": 65, + "column": 33 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1341, + "end": 1342, + "loc": { + "start": { + "line": 65, + "column": 33 + }, + "end": { + "line": 65, + "column": 34 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1344, + "end": 1345, + "loc": { + "start": { + "line": 66, + "column": 1 + }, + "end": { + "line": 66, + "column": 2 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n\t * Render option\n\t *\n\t * @param {object} item\n\t * @param {bool} isHighlighted\n\t * @return {*}\n\t ", + "start": 1349, + "end": 1452, + "loc": { + "start": { + "line": 69, + "column": 1 + }, + "end": { + "line": 75, + "column": 4 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "renderItem", + "start": 1454, + "end": 1464, + "loc": { + "start": { + "line": 76, + "column": 1 + }, + "end": { + "line": 76, + "column": 11 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1464, + "end": 1465, + "loc": { + "start": { + "line": 76, + "column": 11 + }, + "end": { + "line": 76, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "item", + "start": 1465, + "end": 1469, + "loc": { + "start": { + "line": 76, + "column": 12 + }, + "end": { + "line": 76, + "column": 16 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1469, + "end": 1470, + "loc": { + "start": { + "line": 76, + "column": 16 + }, + "end": { + "line": 76, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isHighlighted", + "start": 1471, + "end": 1484, + "loc": { + "start": { + "line": 76, + "column": 18 + }, + "end": { + "line": 76, + "column": 31 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1484, + "end": 1485, + "loc": { + "start": { + "line": 76, + "column": 31 + }, + "end": { + "line": 76, + "column": 32 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1485, + "end": 1486, + "loc": { + "start": { + "line": 76, + "column": 32 + }, + "end": { + "line": 76, + "column": 33 + } + } + }, + { + "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": 1489, + "end": 1495, + "loc": { + "start": { + "line": 77, + "column": 2 + }, + "end": { + "line": 77, + "column": 8 + } + } + }, + { + "type": { + "label": "jsxTagStart", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1496, + "end": 1497, + "loc": { + "start": { + "line": 77, + "column": 9 + }, + "end": { + "line": 77, + "column": 10 + } + } + }, + { + "type": { + "label": "jsxName", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "MagicItem", + "start": 1497, + "end": 1506, + "loc": { + "start": { + "line": 77, + "column": 10 + }, + "end": { + "line": 77, + "column": 19 + } + } + }, + { + "type": { + "label": "jsxName", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "item", + "start": 1507, + "end": 1511, + "loc": { + "start": { + "line": 77, + "column": 20 + }, + "end": { + "line": 77, + "column": 24 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1511, + "end": 1512, + "loc": { + "start": { + "line": 77, + "column": 24 + }, + "end": { + "line": 77, + "column": 25 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1512, + "end": 1513, + "loc": { + "start": { + "line": 77, + "column": 25 + }, + "end": { + "line": 77, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "item", + "start": 1513, + "end": 1517, + "loc": { + "start": { + "line": 77, + "column": 26 + }, + "end": { + "line": 77, + "column": 30 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1517, + "end": 1518, + "loc": { + "start": { + "line": 77, + "column": 30 + }, + "end": { + "line": 77, + "column": 31 + } + } + }, + { + "type": { + "label": "jsxName", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "isHighlighted", + "start": 1519, + "end": 1532, + "loc": { + "start": { + "line": 77, + "column": 32 + }, + "end": { + "line": 77, + "column": 45 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1532, + "end": 1533, + "loc": { + "start": { + "line": 77, + "column": 45 + }, + "end": { + "line": 77, + "column": 46 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1533, + "end": 1534, + "loc": { + "start": { + "line": 77, + "column": 46 + }, + "end": { + "line": 77, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isHighlighted", + "start": 1534, + "end": 1547, + "loc": { + "start": { + "line": 77, + "column": 47 + }, + "end": { + "line": 77, + "column": 60 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1547, + "end": 1548, + "loc": { + "start": { + "line": 77, + "column": 60 + }, + "end": { + "line": 77, + "column": 61 + } + } + }, + { + "type": { + "label": "jsxName", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "innerKey", + "start": 1549, + "end": 1557, + "loc": { + "start": { + "line": 77, + "column": 62 + }, + "end": { + "line": 77, + "column": 70 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1557, + "end": 1558, + "loc": { + "start": { + "line": 77, + "column": 70 + }, + "end": { + "line": 77, + "column": 71 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1558, + "end": 1559, + "loc": { + "start": { + "line": 77, + "column": 71 + }, + "end": { + "line": 77, + "column": 72 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "item", + "start": 1559, + "end": 1563, + "loc": { + "start": { + "line": 77, + "column": 72 + }, + "end": { + "line": 77, + "column": 76 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1563, + "end": 1564, + "loc": { + "start": { + "line": 77, + "column": 76 + }, + "end": { + "line": 77, + "column": 77 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "innerKey", + "start": 1564, + "end": 1572, + "loc": { + "start": { + "line": 77, + "column": 77 + }, + "end": { + "line": 77, + "column": 85 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1572, + "end": 1573, + "loc": { + "start": { + "line": 77, + "column": 85 + }, + "end": { + "line": 77, + "column": 86 + } + } + }, + { + "type": { + "label": "jsxName", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "key", + "start": 1574, + "end": 1577, + "loc": { + "start": { + "line": 77, + "column": 87 + }, + "end": { + "line": 77, + "column": 90 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1577, + "end": 1578, + "loc": { + "start": { + "line": 77, + "column": 90 + }, + "end": { + "line": 77, + "column": 91 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1578, + "end": 1579, + "loc": { + "start": { + "line": 77, + "column": 91 + }, + "end": { + "line": 77, + "column": 92 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "item", + "start": 1579, + "end": 1583, + "loc": { + "start": { + "line": 77, + "column": 92 + }, + "end": { + "line": 77, + "column": 96 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1583, + "end": 1584, + "loc": { + "start": { + "line": 77, + "column": 96 + }, + "end": { + "line": 77, + "column": 97 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "innerKey", + "start": 1584, + "end": 1592, + "loc": { + "start": { + "line": 77, + "column": 97 + }, + "end": { + "line": 77, + "column": 105 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1592, + "end": 1593, + "loc": { + "start": { + "line": 77, + "column": 105 + }, + "end": { + "line": 77, + "column": 106 + } + } + }, + { + "type": { + "label": "/", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "/", + "start": 1594, + "end": 1595, + "loc": { + "start": { + "line": 77, + "column": 107 + }, + "end": { + "line": 77, + "column": 108 + } + } + }, + { + "type": { + "label": "jsxTagEnd", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1595, + "end": 1596, + "loc": { + "start": { + "line": 77, + "column": 108 + }, + "end": { + "line": 77, + "column": 109 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1598, + "end": 1599, + "loc": { + "start": { + "line": 78, + "column": 1 + }, + "end": { + "line": 78, + "column": 2 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n\t * Render MagicSelect component\n\t * @return {*}\n\t ", + "start": 1603, + "end": 1660, + "loc": { + "start": { + "line": 81, + "column": 1 + }, + "end": { + "line": 84, + "column": 4 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "render", + "start": 1662, + "end": 1668, + "loc": { + "start": { + "line": 85, + "column": 1 + }, + "end": { + "line": 85, + "column": 7 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1668, + "end": 1669, + "loc": { + "start": { + "line": 85, + "column": 7 + }, + "end": { + "line": 85, + "column": 8 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1669, + "end": 1670, + "loc": { + "start": { + "line": 85, + "column": 8 + }, + "end": { + "line": 85, + "column": 9 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1671, + "end": 1672, + "loc": { + "start": { + "line": 85, + "column": 10 + }, + "end": { + "line": 85, + "column": 11 + } + } + }, + { + "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": 1675, + "end": 1681, + "loc": { + "start": { + "line": 86, + "column": 2 + }, + "end": { + "line": 86, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1682, + "end": 1683, + "loc": { + "start": { + "line": 86, + "column": 9 + }, + "end": { + "line": 86, + "column": 10 + } + } + }, + { + "type": { + "label": "jsxTagStart", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1688, + "end": 1689, + "loc": { + "start": { + "line": 88, + "column": 3 + }, + "end": { + "line": 88, + "column": 4 + } + } + }, + { + "type": { + "label": "jsxName", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "Autocomplete", + "start": 1689, + "end": 1701, + "loc": { + "start": { + "line": 88, + "column": 4 + }, + "end": { + "line": 88, + "column": 16 + } + } + }, + { + "type": { + "label": "jsxName", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "getItemValue", + "start": 1706, + "end": 1718, + "loc": { + "start": { + "line": 89, + "column": 4 + }, + "end": { + "line": 89, + "column": 16 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1718, + "end": 1719, + "loc": { + "start": { + "line": 89, + "column": 16 + }, + "end": { + "line": 89, + "column": 17 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1719, + "end": 1720, + "loc": { + "start": { + "line": 89, + "column": 17 + }, + "end": { + "line": 89, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1720, + "end": 1721, + "loc": { + "start": { + "line": 89, + "column": 18 + }, + "end": { + "line": 89, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "item", + "start": 1721, + "end": 1725, + "loc": { + "start": { + "line": 89, + "column": 19 + }, + "end": { + "line": 89, + "column": 23 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1725, + "end": 1726, + "loc": { + "start": { + "line": 89, + "column": 23 + }, + "end": { + "line": 89, + "column": 24 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1727, + "end": 1729, + "loc": { + "start": { + "line": 89, + "column": 25 + }, + "end": { + "line": 89, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "item", + "start": 1730, + "end": 1734, + "loc": { + "start": { + "line": 89, + "column": 28 + }, + "end": { + "line": 89, + "column": 32 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1734, + "end": 1735, + "loc": { + "start": { + "line": 89, + "column": 32 + }, + "end": { + "line": 89, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "value", + "start": 1735, + "end": 1740, + "loc": { + "start": { + "line": 89, + "column": 33 + }, + "end": { + "line": 89, + "column": 38 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1740, + "end": 1741, + "loc": { + "start": { + "line": 89, + "column": 38 + }, + "end": { + "line": 89, + "column": 39 + } + } + }, + { + "type": { + "label": "jsxName", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "items", + "start": 1746, + "end": 1751, + "loc": { + "start": { + "line": 90, + "column": 4 + }, + "end": { + "line": 90, + "column": 9 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1751, + "end": 1752, + "loc": { + "start": { + "line": 90, + "column": 9 + }, + "end": { + "line": 90, + "column": 10 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1752, + "end": 1753, + "loc": { + "start": { + "line": 90, + "column": 10 + }, + "end": { + "line": 90, + "column": 11 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1753, + "end": 1757, + "loc": { + "start": { + "line": 90, + "column": 11 + }, + "end": { + "line": 90, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1757, + "end": 1758, + "loc": { + "start": { + "line": 90, + "column": 15 + }, + "end": { + "line": 90, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "props", + "start": 1758, + "end": 1763, + "loc": { + "start": { + "line": 90, + "column": 16 + }, + "end": { + "line": 90, + "column": 21 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1763, + "end": 1764, + "loc": { + "start": { + "line": 90, + "column": 21 + }, + "end": { + "line": 90, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 1764, + "end": 1771, + "loc": { + "start": { + "line": 90, + "column": 22 + }, + "end": { + "line": 90, + "column": 29 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1771, + "end": 1772, + "loc": { + "start": { + "line": 90, + "column": 29 + }, + "end": { + "line": 90, + "column": 30 + } + } + }, + { + "type": { + "label": "jsxName", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "inputProps", + "start": 1777, + "end": 1787, + "loc": { + "start": { + "line": 91, + "column": 4 + }, + "end": { + "line": 91, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1787, + "end": 1788, + "loc": { + "start": { + "line": 91, + "column": 14 + }, + "end": { + "line": 91, + "column": 15 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1788, + "end": 1789, + "loc": { + "start": { + "line": 91, + "column": 15 + }, + "end": { + "line": 91, + "column": 16 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1789, + "end": 1790, + "loc": { + "start": { + "line": 91, + "column": 16 + }, + "end": { + "line": 91, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "id", + "start": 1796, + "end": 1798, + "loc": { + "start": { + "line": 92, + "column": 5 + }, + "end": { + "line": 92, + "column": 7 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1798, + "end": 1799, + "loc": { + "start": { + "line": 92, + "column": 7 + }, + "end": { + "line": 92, + "column": 8 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1800, + "end": 1804, + "loc": { + "start": { + "line": 92, + "column": 9 + }, + "end": { + "line": 92, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1804, + "end": 1805, + "loc": { + "start": { + "line": 92, + "column": 13 + }, + "end": { + "line": 92, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "props", + "start": 1805, + "end": 1810, + "loc": { + "start": { + "line": 92, + "column": 14 + }, + "end": { + "line": 92, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1810, + "end": 1811, + "loc": { + "start": { + "line": 92, + "column": 19 + }, + "end": { + "line": 92, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "id", + "start": 1811, + "end": 1813, + "loc": { + "start": { + "line": 92, + "column": 20 + }, + "end": { + "line": 92, + "column": 22 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1813, + "end": 1814, + "loc": { + "start": { + "line": 92, + "column": 22 + }, + "end": { + "line": 92, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "value", + "start": 1820, + "end": 1825, + "loc": { + "start": { + "line": 93, + "column": 5 + }, + "end": { + "line": 93, + "column": 10 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1825, + "end": 1826, + "loc": { + "start": { + "line": 93, + "column": 10 + }, + "end": { + "line": 93, + "column": 11 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1827, + "end": 1831, + "loc": { + "start": { + "line": 93, + "column": 12 + }, + "end": { + "line": 93, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1831, + "end": 1832, + "loc": { + "start": { + "line": 93, + "column": 16 + }, + "end": { + "line": 93, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "props", + "start": 1832, + "end": 1837, + "loc": { + "start": { + "line": 93, + "column": 17 + }, + "end": { + "line": 93, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1837, + "end": 1838, + "loc": { + "start": { + "line": 93, + "column": 22 + }, + "end": { + "line": 93, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "value", + "start": 1838, + "end": 1843, + "loc": { + "start": { + "line": 93, + "column": 23 + }, + "end": { + "line": 93, + "column": 28 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1843, + "end": 1844, + "loc": { + "start": { + "line": 93, + "column": 28 + }, + "end": { + "line": 93, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "className", + "start": 1850, + "end": 1859, + "loc": { + "start": { + "line": 94, + "column": 5 + }, + "end": { + "line": 94, + "column": 14 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1859, + "end": 1860, + "loc": { + "start": { + "line": 94, + "column": 14 + }, + "end": { + "line": 94, + "column": 15 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1861, + "end": 1862, + "loc": { + "start": { + "line": 94, + "column": 16 + }, + "end": { + "line": 94, + "column": 17 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "", + "start": 1862, + "end": 1862, + "loc": { + "start": { + "line": 94, + "column": 17 + }, + "end": { + "line": 94, + "column": 17 + } + } + }, + { + "type": { + "label": "${", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1862, + "end": 1864, + "loc": { + "start": { + "line": 94, + "column": 17 + }, + "end": { + "line": 94, + "column": 19 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1864, + "end": 1868, + "loc": { + "start": { + "line": 94, + "column": 19 + }, + "end": { + "line": 94, + "column": 23 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1868, + "end": 1869, + "loc": { + "start": { + "line": 94, + "column": 23 + }, + "end": { + "line": 94, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "props", + "start": 1869, + "end": 1874, + "loc": { + "start": { + "line": 94, + "column": 24 + }, + "end": { + "line": 94, + "column": 29 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1874, + "end": 1875, + "loc": { + "start": { + "line": 94, + "column": 29 + }, + "end": { + "line": 94, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "id", + "start": 1875, + "end": 1877, + "loc": { + "start": { + "line": 94, + "column": 30 + }, + "end": { + "line": 94, + "column": 32 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1877, + "end": 1878, + "loc": { + "start": { + "line": 94, + "column": 32 + }, + "end": { + "line": 94, + "column": 33 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "-magic-input", + "start": 1878, + "end": 1890, + "loc": { + "start": { + "line": 94, + "column": 33 + }, + "end": { + "line": 94, + "column": 45 + } + } + }, + { + "type": { + "label": "`", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1890, + "end": 1891, + "loc": { + "start": { + "line": 94, + "column": 45 + }, + "end": { + "line": 94, + "column": 46 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1891, + "end": 1892, + "loc": { + "start": { + "line": 94, + "column": 46 + }, + "end": { + "line": 94, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onFocus", + "start": 1898, + "end": 1905, + "loc": { + "start": { + "line": 95, + "column": 5 + }, + "end": { + "line": 95, + "column": 12 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1905, + "end": 1906, + "loc": { + "start": { + "line": 95, + "column": 12 + }, + "end": { + "line": 95, + "column": 13 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1907, + "end": 1911, + "loc": { + "start": { + "line": 95, + "column": 14 + }, + "end": { + "line": 95, + "column": 18 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1911, + "end": 1912, + "loc": { + "start": { + "line": 95, + "column": 18 + }, + "end": { + "line": 95, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onInputFocus", + "start": 1912, + "end": 1924, + "loc": { + "start": { + "line": 95, + "column": 19 + }, + "end": { + "line": 95, + "column": 31 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1924, + "end": 1925, + "loc": { + "start": { + "line": 95, + "column": 31 + }, + "end": { + "line": 95, + "column": 32 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onBlur", + "start": 1931, + "end": 1937, + "loc": { + "start": { + "line": 96, + "column": 5 + }, + "end": { + "line": 96, + "column": 11 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1937, + "end": 1938, + "loc": { + "start": { + "line": 96, + "column": 11 + }, + "end": { + "line": 96, + "column": 12 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1938, + "end": 1942, + "loc": { + "start": { + "line": 96, + "column": 12 + }, + "end": { + "line": 96, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1942, + "end": 1943, + "loc": { + "start": { + "line": 96, + "column": 16 + }, + "end": { + "line": 96, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onInputBlur", + "start": 1943, + "end": 1954, + "loc": { + "start": { + "line": 96, + "column": 17 + }, + "end": { + "line": 96, + "column": 28 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1954, + "end": 1955, + "loc": { + "start": { + "line": 96, + "column": 28 + }, + "end": { + "line": 96, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onClick", + "start": 1961, + "end": 1968, + "loc": { + "start": { + "line": 97, + "column": 5 + }, + "end": { + "line": 97, + "column": 12 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1968, + "end": 1969, + "loc": { + "start": { + "line": 97, + "column": 12 + }, + "end": { + "line": 97, + "column": 13 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 1969, + "end": 1973, + "loc": { + "start": { + "line": 97, + "column": 13 + }, + "end": { + "line": 97, + "column": 17 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1973, + "end": 1974, + "loc": { + "start": { + "line": 97, + "column": 17 + }, + "end": { + "line": 97, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onChange", + "start": 1974, + "end": 1982, + "loc": { + "start": { + "line": 97, + "column": 18 + }, + "end": { + "line": 97, + "column": 26 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1987, + "end": 1988, + "loc": { + "start": { + "line": 98, + "column": 4 + }, + "end": { + "line": 98, + "column": 5 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1988, + "end": 1989, + "loc": { + "start": { + "line": 98, + "column": 5 + }, + "end": { + "line": 98, + "column": 6 + } + } + }, + { + "type": { + "label": "jsxName", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "renderItem", + "start": 1994, + "end": 2004, + "loc": { + "start": { + "line": 99, + "column": 4 + }, + "end": { + "line": 99, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2004, + "end": 2005, + "loc": { + "start": { + "line": 99, + "column": 14 + }, + "end": { + "line": 99, + "column": 15 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2005, + "end": 2006, + "loc": { + "start": { + "line": 99, + "column": 15 + }, + "end": { + "line": 99, + "column": 16 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2006, + "end": 2010, + "loc": { + "start": { + "line": 99, + "column": 16 + }, + "end": { + "line": 99, + "column": 20 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2010, + "end": 2011, + "loc": { + "start": { + "line": 99, + "column": 20 + }, + "end": { + "line": 99, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "renderItem", + "start": 2011, + "end": 2021, + "loc": { + "start": { + "line": 99, + "column": 21 + }, + "end": { + "line": 99, + "column": 31 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2021, + "end": 2022, + "loc": { + "start": { + "line": 99, + "column": 31 + }, + "end": { + "line": 99, + "column": 32 + } + } + }, + { + "type": { + "label": "jsxName", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "value", + "start": 2027, + "end": 2032, + "loc": { + "start": { + "line": 100, + "column": 4 + }, + "end": { + "line": 100, + "column": 9 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2032, + "end": 2033, + "loc": { + "start": { + "line": 100, + "column": 9 + }, + "end": { + "line": 100, + "column": 10 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2033, + "end": 2034, + "loc": { + "start": { + "line": 100, + "column": 10 + }, + "end": { + "line": 100, + "column": 11 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2034, + "end": 2038, + "loc": { + "start": { + "line": 100, + "column": 11 + }, + "end": { + "line": 100, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2038, + "end": 2039, + "loc": { + "start": { + "line": 100, + "column": 15 + }, + "end": { + "line": 100, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "props", + "start": 2039, + "end": 2044, + "loc": { + "start": { + "line": 100, + "column": 16 + }, + "end": { + "line": 100, + "column": 21 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2044, + "end": 2045, + "loc": { + "start": { + "line": 100, + "column": 21 + }, + "end": { + "line": 100, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "value", + "start": 2045, + "end": 2050, + "loc": { + "start": { + "line": 100, + "column": 22 + }, + "end": { + "line": 100, + "column": 27 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2050, + "end": 2051, + "loc": { + "start": { + "line": 100, + "column": 27 + }, + "end": { + "line": 100, + "column": 28 + } + } + }, + { + "type": { + "label": "jsxName", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "onChange", + "start": 2056, + "end": 2064, + "loc": { + "start": { + "line": 101, + "column": 4 + }, + "end": { + "line": 101, + "column": 12 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2064, + "end": 2065, + "loc": { + "start": { + "line": 101, + "column": 12 + }, + "end": { + "line": 101, + "column": 13 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2065, + "end": 2066, + "loc": { + "start": { + "line": 101, + "column": 13 + }, + "end": { + "line": 101, + "column": 14 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2066, + "end": 2070, + "loc": { + "start": { + "line": 101, + "column": 14 + }, + "end": { + "line": 101, + "column": 18 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2070, + "end": 2071, + "loc": { + "start": { + "line": 101, + "column": 18 + }, + "end": { + "line": 101, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onChange", + "start": 2071, + "end": 2079, + "loc": { + "start": { + "line": 101, + "column": 19 + }, + "end": { + "line": 101, + "column": 27 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2079, + "end": 2080, + "loc": { + "start": { + "line": 101, + "column": 27 + }, + "end": { + "line": 101, + "column": 28 + } + } + }, + { + "type": { + "label": "jsxName", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "open", + "start": 2085, + "end": 2089, + "loc": { + "start": { + "line": 102, + "column": 4 + }, + "end": { + "line": 102, + "column": 8 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2089, + "end": 2090, + "loc": { + "start": { + "line": 102, + "column": 8 + }, + "end": { + "line": 102, + "column": 9 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2090, + "end": 2091, + "loc": { + "start": { + "line": 102, + "column": 9 + }, + "end": { + "line": 102, + "column": 10 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2091, + "end": 2095, + "loc": { + "start": { + "line": 102, + "column": 10 + }, + "end": { + "line": 102, + "column": 14 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2095, + "end": 2096, + "loc": { + "start": { + "line": 102, + "column": 14 + }, + "end": { + "line": 102, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "props", + "start": 2096, + "end": 2101, + "loc": { + "start": { + "line": 102, + "column": 15 + }, + "end": { + "line": 102, + "column": 20 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2101, + "end": 2102, + "loc": { + "start": { + "line": 102, + "column": 20 + }, + "end": { + "line": 102, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isOpen", + "start": 2102, + "end": 2108, + "loc": { + "start": { + "line": 102, + "column": 21 + }, + "end": { + "line": 102, + "column": 27 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2108, + "end": 2109, + "loc": { + "start": { + "line": 102, + "column": 27 + }, + "end": { + "line": 102, + "column": 28 + } + } + }, + { + "type": { + "label": "jsxName", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "selectOnBlur", + "start": 2114, + "end": 2126, + "loc": { + "start": { + "line": 103, + "column": 4 + }, + "end": { + "line": 103, + "column": 16 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2126, + "end": 2127, + "loc": { + "start": { + "line": 103, + "column": 16 + }, + "end": { + "line": 103, + "column": 17 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2127, + "end": 2128, + "loc": { + "start": { + "line": 103, + "column": 17 + }, + "end": { + "line": 103, + "column": 18 + } + } + }, + { + "type": { + "label": "true", + "keyword": "true", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "true", + "start": 2128, + "end": 2132, + "loc": { + "start": { + "line": 103, + "column": 18 + }, + "end": { + "line": 103, + "column": 22 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2132, + "end": 2133, + "loc": { + "start": { + "line": 103, + "column": 22 + }, + "end": { + "line": 103, + "column": 23 + } + } + }, + { + "type": { + "label": "jsxName", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "onSelect", + "start": 2138, + "end": 2146, + "loc": { + "start": { + "line": 104, + "column": 4 + }, + "end": { + "line": 104, + "column": 12 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2146, + "end": 2147, + "loc": { + "start": { + "line": 104, + "column": 12 + }, + "end": { + "line": 104, + "column": 13 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2147, + "end": 2148, + "loc": { + "start": { + "line": 104, + "column": 13 + }, + "end": { + "line": 104, + "column": 14 + } + } + }, + { + "type": { + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "this", + "start": 2148, + "end": 2152, + "loc": { + "start": { + "line": 104, + "column": 14 + }, + "end": { + "line": 104, + "column": 18 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2152, + "end": 2153, + "loc": { + "start": { + "line": 104, + "column": 18 + }, + "end": { + "line": 104, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onSelect", + "start": 2153, + "end": 2161, + "loc": { + "start": { + "line": 104, + "column": 19 + }, + "end": { + "line": 104, + "column": 27 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2161, + "end": 2162, + "loc": { + "start": { + "line": 104, + "column": 27 + }, + "end": { + "line": 104, + "column": 28 + } + } + }, + { + "type": { + "label": "/", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 10, + "updateContext": null + }, + "value": "/", + "start": 2166, + "end": 2167, + "loc": { + "start": { + "line": 105, + "column": 3 + }, + "end": { + "line": 105, + "column": 4 + } + } + }, + { + "type": { + "label": "jsxTagEnd", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2167, + "end": 2168, + "loc": { + "start": { + "line": 105, + "column": 4 + }, + "end": { + "line": 105, + "column": 5 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2172, + "end": 2173, + "loc": { + "start": { + "line": 107, + "column": 2 + }, + "end": { + "line": 107, + "column": 3 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2173, + "end": 2174, + "loc": { + "start": { + "line": 107, + "column": 3 + }, + "end": { + "line": 107, + "column": 4 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2176, + "end": 2177, + "loc": { + "start": { + "line": 108, + "column": 1 + }, + "end": { + "line": 108, + "column": 2 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2178, + "end": 2179, + "loc": { + "start": { + "line": 109, + "column": 0 + }, + "end": { + "line": 109, + "column": 1 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Prop definitions for MagicSelect component\n ", + "start": 2182, + "end": 2235, + "loc": { + "start": { + "line": 112, + "column": 0 + }, + "end": { + "line": 114, + "column": 3 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MagicSelect", + "start": 2236, + "end": 2247, + "loc": { + "start": { + "line": 115, + "column": 0 + }, + "end": { + "line": 115, + "column": 11 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2247, + "end": 2248, + "loc": { + "start": { + "line": 115, + "column": 11 + }, + "end": { + "line": 115, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "propTypes", + "start": 2248, + "end": 2257, + "loc": { + "start": { + "line": 115, + "column": 12 + }, + "end": { + "line": 115, + "column": 21 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2258, + "end": 2259, + "loc": { + "start": { + "line": 115, + "column": 22 + }, + "end": { + "line": 115, + "column": 23 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2260, + "end": 2261, + "loc": { + "start": { + "line": 115, + "column": 24 + }, + "end": { + "line": 115, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "id", + "start": 2263, + "end": 2265, + "loc": { + "start": { + "line": 116, + "column": 1 + }, + "end": { + "line": 116, + "column": 3 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2265, + "end": 2266, + "loc": { + "start": { + "line": 116, + "column": 3 + }, + "end": { + "line": 116, + "column": 4 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PropTypes", + "start": 2267, + "end": 2276, + "loc": { + "start": { + "line": 116, + "column": 5 + }, + "end": { + "line": 116, + "column": 14 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2276, + "end": 2277, + "loc": { + "start": { + "line": 116, + "column": 14 + }, + "end": { + "line": 116, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "string", + "start": 2277, + "end": 2283, + "loc": { + "start": { + "line": 116, + "column": 15 + }, + "end": { + "line": 116, + "column": 21 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2283, + "end": 2284, + "loc": { + "start": { + "line": 116, + "column": 21 + }, + "end": { + "line": 116, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isRequired", + "start": 2284, + "end": 2294, + "loc": { + "start": { + "line": 116, + "column": 22 + }, + "end": { + "line": 116, + "column": 32 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2294, + "end": 2295, + "loc": { + "start": { + "line": 116, + "column": 32 + }, + "end": { + "line": 116, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 2297, + "end": 2304, + "loc": { + "start": { + "line": 117, + "column": 1 + }, + "end": { + "line": 117, + "column": 8 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2304, + "end": 2305, + "loc": { + "start": { + "line": 117, + "column": 8 + }, + "end": { + "line": 117, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "optionsShapeProp", + "start": 2306, + "end": 2322, + "loc": { + "start": { + "line": 117, + "column": 10 + }, + "end": { + "line": 117, + "column": 26 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2322, + "end": 2323, + "loc": { + "start": { + "line": 117, + "column": 26 + }, + "end": { + "line": 117, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isRequired", + "start": 2325, + "end": 2335, + "loc": { + "start": { + "line": 118, + "column": 1 + }, + "end": { + "line": 118, + "column": 11 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2335, + "end": 2336, + "loc": { + "start": { + "line": 118, + "column": 11 + }, + "end": { + "line": 118, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PropTypes", + "start": 2337, + "end": 2346, + "loc": { + "start": { + "line": 118, + "column": 13 + }, + "end": { + "line": 118, + "column": 22 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2346, + "end": 2347, + "loc": { + "start": { + "line": 118, + "column": 22 + }, + "end": { + "line": 118, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bool", + "start": 2347, + "end": 2351, + "loc": { + "start": { + "line": 118, + "column": 23 + }, + "end": { + "line": 118, + "column": 27 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2351, + "end": 2352, + "loc": { + "start": { + "line": 118, + "column": 27 + }, + "end": { + "line": 118, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "help", + "start": 2354, + "end": 2358, + "loc": { + "start": { + "line": 119, + "column": 1 + }, + "end": { + "line": 119, + "column": 5 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2358, + "end": 2359, + "loc": { + "start": { + "line": 119, + "column": 5 + }, + "end": { + "line": 119, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PropTypes", + "start": 2360, + "end": 2369, + "loc": { + "start": { + "line": 119, + "column": 7 + }, + "end": { + "line": 119, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2369, + "end": 2370, + "loc": { + "start": { + "line": 119, + "column": 16 + }, + "end": { + "line": 119, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "string", + "start": 2370, + "end": 2376, + "loc": { + "start": { + "line": 119, + "column": 17 + }, + "end": { + "line": 119, + "column": 23 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2376, + "end": 2377, + "loc": { + "start": { + "line": 119, + "column": 23 + }, + "end": { + "line": 119, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "value", + "start": 2379, + "end": 2384, + "loc": { + "start": { + "line": 120, + "column": 1 + }, + "end": { + "line": 120, + "column": 6 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2384, + "end": 2385, + "loc": { + "start": { + "line": 120, + "column": 6 + }, + "end": { + "line": 120, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "valuePropType", + "start": 2386, + "end": 2399, + "loc": { + "start": { + "line": 120, + "column": 8 + }, + "end": { + "line": 120, + "column": 21 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2399, + "end": 2400, + "loc": { + "start": { + "line": 120, + "column": 21 + }, + "end": { + "line": 120, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onValueChange", + "start": 2402, + "end": 2415, + "loc": { + "start": { + "line": 121, + "column": 1 + }, + "end": { + "line": 121, + "column": 14 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2415, + "end": 2416, + "loc": { + "start": { + "line": 121, + "column": 14 + }, + "end": { + "line": 121, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onValueChangePropType", + "start": 2417, + "end": 2438, + "loc": { + "start": { + "line": 121, + "column": 16 + }, + "end": { + "line": 121, + "column": 37 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2438, + "end": 2439, + "loc": { + "start": { + "line": 121, + "column": 37 + }, + "end": { + "line": 121, + "column": 38 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "disabled", + "start": 2441, + "end": 2449, + "loc": { + "start": { + "line": 122, + "column": 1 + }, + "end": { + "line": 122, + "column": 9 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2449, + "end": 2450, + "loc": { + "start": { + "line": 122, + "column": 9 + }, + "end": { + "line": 122, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PropTypes", + "start": 2451, + "end": 2460, + "loc": { + "start": { + "line": 122, + "column": 11 + }, + "end": { + "line": 122, + "column": 20 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2460, + "end": 2461, + "loc": { + "start": { + "line": 122, + "column": 20 + }, + "end": { + "line": 122, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bool", + "start": 2461, + "end": 2465, + "loc": { + "start": { + "line": 122, + "column": 21 + }, + "end": { + "line": 122, + "column": 25 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2465, + "end": 2466, + "loc": { + "start": { + "line": 122, + "column": 25 + }, + "end": { + "line": 122, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isOpen", + "start": 2468, + "end": 2474, + "loc": { + "start": { + "line": 123, + "column": 1 + }, + "end": { + "line": 123, + "column": 7 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2474, + "end": 2475, + "loc": { + "start": { + "line": 123, + "column": 7 + }, + "end": { + "line": 123, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PropTypes", + "start": 2476, + "end": 2485, + "loc": { + "start": { + "line": 123, + "column": 9 + }, + "end": { + "line": 123, + "column": 18 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2485, + "end": 2486, + "loc": { + "start": { + "line": 123, + "column": 18 + }, + "end": { + "line": 123, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bool", + "start": 2486, + "end": 2490, + "loc": { + "start": { + "line": 123, + "column": 19 + }, + "end": { + "line": 123, + "column": 23 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2490, + "end": 2491, + "loc": { + "start": { + "line": 123, + "column": 23 + }, + "end": { + "line": 123, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onBlur", + "start": 2493, + "end": 2499, + "loc": { + "start": { + "line": 124, + "column": 1 + }, + "end": { + "line": 124, + "column": 7 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2499, + "end": 2500, + "loc": { + "start": { + "line": 124, + "column": 7 + }, + "end": { + "line": 124, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PropTypes", + "start": 2501, + "end": 2510, + "loc": { + "start": { + "line": 124, + "column": 9 + }, + "end": { + "line": 124, + "column": 18 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2510, + "end": 2511, + "loc": { + "start": { + "line": 124, + "column": 18 + }, + "end": { + "line": 124, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "func", + "start": 2511, + "end": 2515, + "loc": { + "start": { + "line": 124, + "column": 19 + }, + "end": { + "line": 124, + "column": 23 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2515, + "end": 2516, + "loc": { + "start": { + "line": 124, + "column": 23 + }, + "end": { + "line": 124, + "column": 24 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onFocus", + "start": 2518, + "end": 2525, + "loc": { + "start": { + "line": 125, + "column": 1 + }, + "end": { + "line": 125, + "column": 8 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2525, + "end": 2526, + "loc": { + "start": { + "line": 125, + "column": 8 + }, + "end": { + "line": 125, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PropTypes", + "start": 2527, + "end": 2536, + "loc": { + "start": { + "line": 125, + "column": 10 + }, + "end": { + "line": 125, + "column": 19 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2536, + "end": 2537, + "loc": { + "start": { + "line": 125, + "column": 19 + }, + "end": { + "line": 125, + "column": 20 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "func", + "start": 2537, + "end": 2541, + "loc": { + "start": { + "line": 125, + "column": 20 + }, + "end": { + "line": 125, + "column": 24 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2542, + "end": 2543, + "loc": { + "start": { + "line": 126, + "column": 0 + }, + "end": { + "line": 126, + "column": 1 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2543, + "end": 2544, + "loc": { + "start": { + "line": 126, + "column": 1 + }, + "end": { + "line": 126, + "column": 2 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Default property values for MagicSelect component\n *\n * @type {{}}\n ", + "start": 2546, + "end": 2623, + "loc": { + "start": { + "line": 128, + "column": 0 + }, + "end": { + "line": 132, + "column": 3 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "MagicSelect", + "start": 2624, + "end": 2635, + "loc": { + "start": { + "line": 133, + "column": 0 + }, + "end": { + "line": 133, + "column": 11 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2635, + "end": 2636, + "loc": { + "start": { + "line": 133, + "column": 11 + }, + "end": { + "line": 133, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "defaultProps", + "start": 2636, + "end": 2648, + "loc": { + "start": { + "line": 133, + "column": 12 + }, + "end": { + "line": 133, + "column": 24 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 2649, + "end": 2650, + "loc": { + "start": { + "line": 133, + "column": 25 + }, + "end": { + "line": 133, + "column": 26 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2651, + "end": 2652, + "loc": { + "start": { + "line": 133, + "column": 27 + }, + "end": { + "line": 133, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "defaultList", + "start": 2654, + "end": 2665, + "loc": { + "start": { + "line": 134, + "column": 1 + }, + "end": { + "line": 134, + "column": 12 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2665, + "end": 2666, + "loc": { + "start": { + "line": 134, + "column": 12 + }, + "end": { + "line": 134, + "column": 13 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "fields", + "start": 2667, + "end": 2675, + "loc": { + "start": { + "line": 134, + "column": 14 + }, + "end": { + "line": 134, + "column": 22 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2675, + "end": 2676, + "loc": { + "start": { + "line": 134, + "column": 22 + }, + "end": { + "line": 134, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isOpen", + "start": 2678, + "end": 2684, + "loc": { + "start": { + "line": 135, + "column": 1 + }, + "end": { + "line": 135, + "column": 7 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2684, + "end": 2685, + "loc": { + "start": { + "line": 135, + "column": 7 + }, + "end": { + "line": 135, + "column": 8 + } + } + }, + { + "type": { + "label": "false", + "keyword": "false", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "false", + "start": 2686, + "end": 2691, + "loc": { + "start": { + "line": 135, + "column": 9 + }, + "end": { + "line": 135, + "column": 14 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2691, + "end": 2692, + "loc": { + "start": { + "line": 135, + "column": 14 + }, + "end": { + "line": 135, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 2694, + "end": 2701, + "loc": { + "start": { + "line": 136, + "column": 1 + }, + "end": { + "line": 136, + "column": 8 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2701, + "end": 2702, + "loc": { + "start": { + "line": 136, + "column": 8 + }, + "end": { + "line": 136, + "column": 9 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2702, + "end": 2703, + "loc": { + "start": { + "line": 136, + "column": 9 + }, + "end": { + "line": 136, + "column": 10 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2703, + "end": 2704, + "loc": { + "start": { + "line": 136, + "column": 10 + }, + "end": { + "line": 136, + "column": 11 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2705, + "end": 2706, + "loc": { + "start": { + "line": 137, + "column": 0 + }, + "end": { + "line": 137, + "column": 1 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2706, + "end": 2707, + "loc": { + "start": { + "line": 137, + "column": 1 + }, + "end": { + "line": 137, + "column": 2 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 2707, + "end": 2707, + "loc": { + "start": { + "line": 137, + "column": 2 + }, + "end": { + "line": 137, + "column": 2 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/ast/source/components/fields/propTypes.js.json b/docs/ast/source/components/fields/propTypes.js.json index ba6ed6e..986a59a 100644 --- a/docs/ast/source/components/fields/propTypes.js.json +++ b/docs/ast/source/components/fields/propTypes.js.json @@ -1,29 +1,29 @@ { "type": "File", "start": 0, - "end": 1855, + "end": 2238, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 69, - "column": 0 + "line": 90, + "column": 2 } }, "program": { "type": "Program", "start": 0, - "end": 1855, + "end": 2238, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 69, - "column": 0 + "line": 90, + "column": 2 } }, "sourceType": "module", @@ -853,7 +853,7 @@ { "type": "ExportNamedDeclaration", "start": 536, - "end": 583, + "end": 582, "loc": { "start": { "line": 27, @@ -861,52 +861,52 @@ }, "end": { "line": 27, - "column": 47 + "column": 46 } }, "specifiers": [], "source": null, "declaration": { "type": "VariableDeclaration", - "start": 544, - "end": 583, + "start": 543, + "end": 582, "loc": { "start": { "line": 27, - "column": 8 + "column": 7 }, "end": { "line": 27, - "column": 47 + "column": 46 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 550, - "end": 582, + "start": 549, + "end": 581, "loc": { "start": { "line": 27, - "column": 14 + "column": 13 }, "end": { "line": 27, - "column": 46 + "column": 45 } }, "id": { "type": "Identifier", - "start": 550, - "end": 563, + "start": 549, + "end": 562, "loc": { "start": { "line": 27, - "column": 14 + "column": 13 }, "end": { "line": 27, - "column": 27 + "column": 26 }, "identifierName": "inputTypeProp" }, @@ -915,30 +915,30 @@ }, "init": { "type": "MemberExpression", - "start": 566, - "end": 582, + "start": 565, + "end": 581, "loc": { "start": { "line": 27, - "column": 30 + "column": 29 }, "end": { "line": 27, - "column": 46 + "column": 45 } }, "object": { "type": "Identifier", - "start": 566, - "end": 575, + "start": 565, + "end": 574, "loc": { "start": { "line": 27, - "column": 30 + "column": 29 }, "end": { "line": 27, - "column": 39 + "column": 38 }, "identifierName": "PropTypes" }, @@ -946,16 +946,16 @@ }, "property": { "type": "Identifier", - "start": 576, - "end": 582, + "start": 575, + "end": 581, "loc": { "start": { "line": 27, - "column": 40 + "column": 39 }, "end": { "line": 27, - "column": 46 + "column": 45 }, "identifierName": "string" }, @@ -989,8 +989,8 @@ { "type": "CommentBlock", "value": "*\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 ", - "start": 585, - "end": 809, + "start": 584, + "end": 808, "loc": { "start": { "line": 29, @@ -1026,8 +1026,8 @@ { "type": "CommentBlock", "value": "*\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 ", - "start": 585, - "end": 809, + "start": 584, + "end": 808, "loc": { "start": { "line": 29, @@ -1043,8 +1043,8 @@ }, { "type": "ExportNamedDeclaration", - "start": 810, - "end": 1281, + "start": 809, + "end": 1282, "loc": { "start": { "line": 34, @@ -1059,8 +1059,8 @@ "source": null, "declaration": { "type": "VariableDeclaration", - "start": 817, - "end": 1281, + "start": 816, + "end": 1282, "loc": { "start": { "line": 34, @@ -1074,8 +1074,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 823, - "end": 1280, + "start": 822, + "end": 1281, "loc": { "start": { "line": 34, @@ -1088,8 +1088,8 @@ }, "id": { "type": "Identifier", - "start": 823, - "end": 842, + "start": 822, + "end": 841, "loc": { "start": { "line": 34, @@ -1106,8 +1106,8 @@ }, "init": { "type": "ObjectExpression", - "start": 845, - "end": 1280, + "start": 844, + "end": 1281, "loc": { "start": { "line": 34, @@ -1121,8 +1121,8 @@ "properties": [ { "type": "ObjectProperty", - "start": 848, - "end": 879, + "start": 847, + "end": 878, "loc": { "start": { "line": 35, @@ -1138,8 +1138,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 848, - "end": 850, + "start": 847, + "end": 849, "loc": { "start": { "line": 35, @@ -1155,8 +1155,8 @@ }, "value": { "type": "MemberExpression", - "start": 852, - "end": 879, + "start": 851, + "end": 878, "loc": { "start": { "line": 35, @@ -1169,8 +1169,8 @@ }, "object": { "type": "MemberExpression", - "start": 852, - "end": 868, + "start": 851, + "end": 867, "loc": { "start": { "line": 35, @@ -1183,8 +1183,8 @@ }, "object": { "type": "Identifier", - "start": 852, - "end": 861, + "start": 851, + "end": 860, "loc": { "start": { "line": 35, @@ -1200,8 +1200,8 @@ }, "property": { "type": "Identifier", - "start": 862, - "end": 868, + "start": 861, + "end": 867, "loc": { "start": { "line": 35, @@ -1219,8 +1219,8 @@ }, "property": { "type": "Identifier", - "start": 869, - "end": 879, + "start": 868, + "end": 878, "loc": { "start": { "line": 35, @@ -1239,8 +1239,8 @@ }, { "type": "ObjectProperty", - "start": 882, - "end": 910, + "start": 881, + "end": 909, "loc": { "start": { "line": 36, @@ -1256,8 +1256,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 882, - "end": 894, + "start": 881, + "end": 893, "loc": { "start": { "line": 36, @@ -1273,8 +1273,8 @@ }, "value": { "type": "MemberExpression", - "start": 896, - "end": 910, + "start": 895, + "end": 909, "loc": { "start": { "line": 36, @@ -1287,8 +1287,8 @@ }, "object": { "type": "Identifier", - "start": 896, - "end": 905, + "start": 895, + "end": 904, "loc": { "start": { "line": 36, @@ -1304,8 +1304,8 @@ }, "property": { "type": "Identifier", - "start": 906, - "end": 910, + "start": 905, + "end": 909, "loc": { "start": { "line": 36, @@ -1324,8 +1324,8 @@ }, { "type": "ObjectProperty", - "start": 913, - "end": 939, + "start": 912, + "end": 938, "loc": { "start": { "line": 37, @@ -1341,8 +1341,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 913, - "end": 923, + "start": 912, + "end": 922, "loc": { "start": { "line": 37, @@ -1358,8 +1358,8 @@ }, "value": { "type": "MemberExpression", - "start": 925, - "end": 939, + "start": 924, + "end": 938, "loc": { "start": { "line": 37, @@ -1372,8 +1372,8 @@ }, "object": { "type": "Identifier", - "start": 925, - "end": 934, + "start": 924, + "end": 933, "loc": { "start": { "line": 37, @@ -1389,8 +1389,8 @@ }, "property": { "type": "Identifier", - "start": 935, - "end": 939, + "start": 934, + "end": 938, "loc": { "start": { "line": 37, @@ -1409,8 +1409,8 @@ }, { "type": "ObjectProperty", - "start": 942, - "end": 964, + "start": 941, + "end": 963, "loc": { "start": { "line": 38, @@ -1426,8 +1426,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 942, - "end": 946, + "start": 941, + "end": 945, "loc": { "start": { "line": 38, @@ -1443,8 +1443,8 @@ }, "value": { "type": "MemberExpression", - "start": 948, - "end": 964, + "start": 947, + "end": 963, "loc": { "start": { "line": 38, @@ -1457,8 +1457,8 @@ }, "object": { "type": "Identifier", - "start": 948, - "end": 957, + "start": 947, + "end": 956, "loc": { "start": { "line": 38, @@ -1474,8 +1474,8 @@ }, "property": { "type": "Identifier", - "start": 958, - "end": 964, + "start": 957, + "end": 963, "loc": { "start": { "line": 38, @@ -1494,8 +1494,8 @@ }, { "type": "ObjectProperty", - "start": 967, - "end": 1001, + "start": 966, + "end": 1000, "loc": { "start": { "line": 39, @@ -1511,8 +1511,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 967, - "end": 972, + "start": 966, + "end": 971, "loc": { "start": { "line": 39, @@ -1528,8 +1528,8 @@ }, "value": { "type": "MemberExpression", - "start": 974, - "end": 1001, + "start": 973, + "end": 1000, "loc": { "start": { "line": 39, @@ -1542,8 +1542,8 @@ }, "object": { "type": "MemberExpression", - "start": 974, - "end": 990, + "start": 973, + "end": 989, "loc": { "start": { "line": 39, @@ -1556,8 +1556,8 @@ }, "object": { "type": "Identifier", - "start": 974, - "end": 983, + "start": 973, + "end": 982, "loc": { "start": { "line": 39, @@ -1573,8 +1573,8 @@ }, "property": { "type": "Identifier", - "start": 984, - "end": 990, + "start": 983, + "end": 989, "loc": { "start": { "line": 39, @@ -1592,8 +1592,8 @@ }, "property": { "type": "Identifier", - "start": 991, - "end": 1001, + "start": 990, + "end": 1000, "loc": { "start": { "line": 39, @@ -1612,7 +1612,7 @@ }, { "type": "ObjectProperty", - "start": 1004, + "start": 1003, "end": 1057, "loc": { "start": { @@ -1621,7 +1621,7 @@ }, "end": { "line": 40, - "column": 54 + "column": 55 } }, "method": false, @@ -1629,8 +1629,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1004, - "end": 1008, + "start": 1003, + "end": 1007, "loc": { "start": { "line": 40, @@ -1646,7 +1646,7 @@ }, "value": { "type": "CallExpression", - "start": 1010, + "start": 1009, "end": 1057, "loc": { "start": { @@ -1655,13 +1655,13 @@ }, "end": { "line": 40, - "column": 54 + "column": 55 } }, "callee": { "type": "MemberExpression", - "start": 1010, - "end": 1025, + "start": 1009, + "end": 1024, "loc": { "start": { "line": 40, @@ -1674,8 +1674,8 @@ }, "object": { "type": "Identifier", - "start": 1010, - "end": 1019, + "start": 1009, + "end": 1018, "loc": { "start": { "line": 40, @@ -1691,8 +1691,8 @@ }, "property": { "type": "Identifier", - "start": 1020, - "end": 1025, + "start": 1019, + "end": 1024, "loc": { "start": { "line": 40, @@ -1711,7 +1711,7 @@ "arguments": [ { "type": "ArrayExpression", - "start": 1026, + "start": 1025, "end": 1056, "loc": { "start": { @@ -1720,14 +1720,14 @@ }, "end": { "line": 40, - "column": 53 + "column": 54 } }, "elements": [ { "type": "StringLiteral", - "start": 1027, - "end": 1034, + "start": 1026, + "end": 1033, "loc": { "start": { "line": 40, @@ -1751,11 +1751,11 @@ "loc": { "start": { "line": 40, - "column": 32 + "column": 33 }, "end": { "line": 40, - "column": 40 + "column": 41 } }, "extra": { @@ -1771,11 +1771,11 @@ "loc": { "start": { "line": 40, - "column": 42 + "column": 43 }, "end": { "line": 40, - "column": 52 + "column": 53 } }, "extra": { @@ -1981,7 +1981,7 @@ { "type": "ObjectProperty", "start": 1149, - "end": 1172, + "end": 1173, "loc": { "start": { "line": 44, @@ -1989,7 +1989,7 @@ }, "end": { "line": 44, - "column": 24 + "column": 25 } }, "method": false, @@ -2014,16 +2014,16 @@ }, "value": { "type": "Identifier", - "start": 1159, - "end": 1172, + "start": 1160, + "end": 1173, "loc": { "start": { "line": 44, - "column": 11 + "column": 12 }, "end": { "line": 44, - "column": 24 + "column": 25 }, "identifierName": "inputTypeProp" }, @@ -2032,8 +2032,8 @@ }, { "type": "ObjectProperty", - "start": 1175, - "end": 1199, + "start": 1176, + "end": 1200, "loc": { "start": { "line": 45, @@ -2049,8 +2049,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1175, - "end": 1183, + "start": 1176, + "end": 1184, "loc": { "start": { "line": 45, @@ -2066,8 +2066,8 @@ }, "value": { "type": "MemberExpression", - "start": 1185, - "end": 1199, + "start": 1186, + "end": 1200, "loc": { "start": { "line": 45, @@ -2080,8 +2080,8 @@ }, "object": { "type": "Identifier", - "start": 1185, - "end": 1194, + "start": 1186, + "end": 1195, "loc": { "start": { "line": 45, @@ -2097,8 +2097,8 @@ }, "property": { "type": "Identifier", - "start": 1195, - "end": 1199, + "start": 1196, + "end": 1200, "loc": { "start": { "line": 45, @@ -2117,8 +2117,8 @@ }, { "type": "ObjectProperty", - "start": 1202, - "end": 1227, + "start": 1203, + "end": 1228, "loc": { "start": { "line": 46, @@ -2134,8 +2134,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1202, - "end": 1209, + "start": 1203, + "end": 1210, "loc": { "start": { "line": 46, @@ -2151,8 +2151,8 @@ }, "value": { "type": "Identifier", - "start": 1211, - "end": 1227, + "start": 1212, + "end": 1228, "loc": { "start": { "line": 46, @@ -2169,8 +2169,8 @@ }, { "type": "ObjectProperty", - "start": 1230, - "end": 1252, + "start": 1231, + "end": 1253, "loc": { "start": { "line": 47, @@ -2186,8 +2186,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1230, - "end": 1236, + "start": 1231, + "end": 1237, "loc": { "start": { "line": 47, @@ -2203,8 +2203,8 @@ }, "value": { "type": "MemberExpression", - "start": 1238, - "end": 1252, + "start": 1239, + "end": 1253, "loc": { "start": { "line": 47, @@ -2217,8 +2217,8 @@ }, "object": { "type": "Identifier", - "start": 1238, - "end": 1247, + "start": 1239, + "end": 1248, "loc": { "start": { "line": 47, @@ -2234,8 +2234,8 @@ }, "property": { "type": "Identifier", - "start": 1248, - "end": 1252, + "start": 1249, + "end": 1253, "loc": { "start": { "line": 47, @@ -2254,8 +2254,8 @@ }, { "type": "ObjectProperty", - "start": 1255, - "end": 1278, + "start": 1256, + "end": 1279, "loc": { "start": { "line": 48, @@ -2271,8 +2271,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1255, - "end": 1262, + "start": 1256, + "end": 1263, "loc": { "start": { "line": 48, @@ -2288,8 +2288,8 @@ }, "value": { "type": "MemberExpression", - "start": 1264, - "end": 1278, + "start": 1265, + "end": 1279, "loc": { "start": { "line": 48, @@ -2302,8 +2302,8 @@ }, "object": { "type": "Identifier", - "start": 1264, - "end": 1273, + "start": 1265, + "end": 1274, "loc": { "start": { "line": 48, @@ -2319,8 +2319,8 @@ }, "property": { "type": "Identifier", - "start": 1274, - "end": 1278, + "start": 1275, + "end": 1279, "loc": { "start": { "line": 48, @@ -2347,8 +2347,8 @@ { "type": "CommentBlock", "value": "*\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 ", - "start": 585, - "end": 809, + "start": 584, + "end": 808, "loc": { "start": { "line": 29, @@ -2365,8 +2365,8 @@ { "type": "CommentBlock", "value": "*\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 ", - "start": 1283, - "end": 1478, + "start": 1284, + "end": 1479, "loc": { "start": { "line": 51, @@ -2384,8 +2384,8 @@ { "type": "CommentBlock", "value": "*\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 ", - "start": 585, - "end": 809, + "start": 584, + "end": 808, "loc": { "start": { "line": 29, @@ -2402,8 +2402,8 @@ { "type": "CommentBlock", "value": "*\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 ", - "start": 1283, - "end": 1478, + "start": 1284, + "end": 1479, "loc": { "start": { "line": 51, @@ -2419,8 +2419,8 @@ }, { "type": "ExportNamedDeclaration", - "start": 1479, - "end": 1802, + "start": 1480, + "end": 1803, "loc": { "start": { "line": 56, @@ -2435,8 +2435,8 @@ "source": null, "declaration": { "type": "VariableDeclaration", - "start": 1486, - "end": 1802, + "start": 1487, + "end": 1803, "loc": { "start": { "line": 56, @@ -2450,8 +2450,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 1492, - "end": 1801, + "start": 1493, + "end": 1802, "loc": { "start": { "line": 56, @@ -2464,8 +2464,8 @@ }, "id": { "type": "Identifier", - "start": 1492, - "end": 1511, + "start": 1493, + "end": 1512, "loc": { "start": { "line": 56, @@ -2482,8 +2482,8 @@ }, "init": { "type": "ObjectExpression", - "start": 1514, - "end": 1801, + "start": 1515, + "end": 1802, "loc": { "start": { "line": 56, @@ -2497,8 +2497,8 @@ "properties": [ { "type": "ObjectProperty", - "start": 1517, - "end": 1548, + "start": 1518, + "end": 1549, "loc": { "start": { "line": 57, @@ -2514,8 +2514,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1517, - "end": 1519, + "start": 1518, + "end": 1520, "loc": { "start": { "line": 57, @@ -2531,8 +2531,8 @@ }, "value": { "type": "MemberExpression", - "start": 1521, - "end": 1548, + "start": 1522, + "end": 1549, "loc": { "start": { "line": 57, @@ -2545,8 +2545,8 @@ }, "object": { "type": "MemberExpression", - "start": 1521, - "end": 1537, + "start": 1522, + "end": 1538, "loc": { "start": { "line": 57, @@ -2559,8 +2559,8 @@ }, "object": { "type": "Identifier", - "start": 1521, - "end": 1530, + "start": 1522, + "end": 1531, "loc": { "start": { "line": 57, @@ -2576,8 +2576,8 @@ }, "property": { "type": "Identifier", - "start": 1531, - "end": 1537, + "start": 1532, + "end": 1538, "loc": { "start": { "line": 57, @@ -2595,8 +2595,8 @@ }, "property": { "type": "Identifier", - "start": 1538, - "end": 1548, + "start": 1539, + "end": 1549, "loc": { "start": { "line": 57, @@ -2615,8 +2615,8 @@ }, { "type": "ObjectProperty", - "start": 1551, - "end": 1594, + "start": 1552, + "end": 1595, "loc": { "start": { "line": 58, @@ -2632,8 +2632,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1551, - "end": 1565, + "start": 1552, + "end": 1566, "loc": { "start": { "line": 58, @@ -2649,8 +2649,8 @@ }, "value": { "type": "MemberExpression", - "start": 1567, - "end": 1594, + "start": 1568, + "end": 1595, "loc": { "start": { "line": 58, @@ -2663,8 +2663,8 @@ }, "object": { "type": "MemberExpression", - "start": 1567, - "end": 1583, + "start": 1568, + "end": 1584, "loc": { "start": { "line": 58, @@ -2677,8 +2677,8 @@ }, "object": { "type": "Identifier", - "start": 1567, - "end": 1576, + "start": 1568, + "end": 1577, "loc": { "start": { "line": 58, @@ -2694,8 +2694,8 @@ }, "property": { "type": "Identifier", - "start": 1577, - "end": 1583, + "start": 1578, + "end": 1584, "loc": { "start": { "line": 58, @@ -2713,8 +2713,8 @@ }, "property": { "type": "Identifier", - "start": 1584, - "end": 1594, + "start": 1585, + "end": 1595, "loc": { "start": { "line": 58, @@ -2733,8 +2733,8 @@ }, { "type": "ObjectProperty", - "start": 1597, - "end": 1619, + "start": 1598, + "end": 1620, "loc": { "start": { "line": 59, @@ -2750,8 +2750,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1597, - "end": 1601, + "start": 1598, + "end": 1602, "loc": { "start": { "line": 59, @@ -2767,8 +2767,8 @@ }, "value": { "type": "MemberExpression", - "start": 1603, - "end": 1619, + "start": 1604, + "end": 1620, "loc": { "start": { "line": 59, @@ -2781,8 +2781,8 @@ }, "object": { "type": "Identifier", - "start": 1603, - "end": 1612, + "start": 1604, + "end": 1613, "loc": { "start": { "line": 59, @@ -2798,8 +2798,8 @@ }, "property": { "type": "Identifier", - "start": 1613, - "end": 1619, + "start": 1614, + "end": 1620, "loc": { "start": { "line": 59, @@ -2818,8 +2818,8 @@ }, { "type": "ObjectProperty", - "start": 1622, - "end": 1642, + "start": 1623, + "end": 1643, "loc": { "start": { "line": 60, @@ -2835,8 +2835,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1622, - "end": 1627, + "start": 1623, + "end": 1628, "loc": { "start": { "line": 60, @@ -2852,8 +2852,8 @@ }, "value": { "type": "Identifier", - "start": 1629, - "end": 1642, + "start": 1630, + "end": 1643, "loc": { "start": { "line": 60, @@ -2870,8 +2870,8 @@ }, { "type": "ObjectProperty", - "start": 1645, - "end": 1681, + "start": 1646, + "end": 1682, "loc": { "start": { "line": 61, @@ -2887,8 +2887,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1645, - "end": 1658, + "start": 1646, + "end": 1659, "loc": { "start": { "line": 61, @@ -2904,8 +2904,8 @@ }, "value": { "type": "Identifier", - "start": 1660, - "end": 1681, + "start": 1661, + "end": 1682, "loc": { "start": { "line": 61, @@ -2922,8 +2922,8 @@ }, { "type": "ObjectProperty", - "start": 1684, - "end": 1708, + "start": 1685, + "end": 1709, "loc": { "start": { "line": 62, @@ -2939,8 +2939,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1684, - "end": 1693, + "start": 1685, + "end": 1694, "loc": { "start": { "line": 62, @@ -2956,8 +2956,8 @@ }, "value": { "type": "Identifier", - "start": 1695, - "end": 1708, + "start": 1696, + "end": 1709, "loc": { "start": { "line": 62, @@ -2974,8 +2974,8 @@ }, { "type": "ObjectProperty", - "start": 1711, - "end": 1748, + "start": 1712, + "end": 1749, "loc": { "start": { "line": 63, @@ -2991,8 +2991,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1711, - "end": 1730, + "start": 1712, + "end": 1731, "loc": { "start": { "line": 63, @@ -3008,8 +3008,8 @@ }, "value": { "type": "MemberExpression", - "start": 1732, - "end": 1748, + "start": 1733, + "end": 1749, "loc": { "start": { "line": 63, @@ -3022,8 +3022,8 @@ }, "object": { "type": "Identifier", - "start": 1732, - "end": 1741, + "start": 1733, + "end": 1742, "loc": { "start": { "line": 63, @@ -3039,8 +3039,8 @@ }, "property": { "type": "Identifier", - "start": 1742, - "end": 1748, + "start": 1743, + "end": 1749, "loc": { "start": { "line": 63, @@ -3059,8 +3059,8 @@ }, { "type": "ObjectProperty", - "start": 1751, - "end": 1773, + "start": 1752, + "end": 1774, "loc": { "start": { "line": 64, @@ -3076,8 +3076,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1751, - "end": 1757, + "start": 1752, + "end": 1758, "loc": { "start": { "line": 64, @@ -3093,8 +3093,8 @@ }, "value": { "type": "MemberExpression", - "start": 1759, - "end": 1773, + "start": 1760, + "end": 1774, "loc": { "start": { "line": 64, @@ -3107,8 +3107,8 @@ }, "object": { "type": "Identifier", - "start": 1759, - "end": 1768, + "start": 1760, + "end": 1769, "loc": { "start": { "line": 64, @@ -3124,8 +3124,8 @@ }, "property": { "type": "Identifier", - "start": 1769, - "end": 1773, + "start": 1770, + "end": 1774, "loc": { "start": { "line": 64, @@ -3144,8 +3144,8 @@ }, { "type": "ObjectProperty", - "start": 1776, - "end": 1799, + "start": 1777, + "end": 1800, "loc": { "start": { "line": 65, @@ -3161,8 +3161,8 @@ "computed": false, "key": { "type": "Identifier", - "start": 1776, - "end": 1783, + "start": 1777, + "end": 1784, "loc": { "start": { "line": 65, @@ -3178,8 +3178,8 @@ }, "value": { "type": "MemberExpression", - "start": 1785, - "end": 1799, + "start": 1786, + "end": 1800, "loc": { "start": { "line": 65, @@ -3192,8 +3192,8 @@ }, "object": { "type": "Identifier", - "start": 1785, - "end": 1794, + "start": 1786, + "end": 1795, "loc": { "start": { "line": 65, @@ -3209,8 +3209,8 @@ }, "property": { "type": "Identifier", - "start": 1795, - "end": 1799, + "start": 1796, + "end": 1800, "loc": { "start": { "line": 65, @@ -3237,8 +3237,8 @@ { "type": "CommentBlock", "value": "*\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 ", - "start": 1283, - "end": 1478, + "start": 1284, + "end": 1479, "loc": { "start": { "line": 51, @@ -3257,8 +3257,8 @@ { "type": "CommentBlock", "value": "*\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 ", - "start": 1283, - "end": 1478, + "start": 1284, + "end": 1479, "loc": { "start": { "line": 51, @@ -3274,8 +3274,8 @@ }, { "type": "ExportNamedDeclaration", - "start": 1804, - "end": 1854, + "start": 1805, + "end": 1855, "loc": { "start": { "line": 68, @@ -3290,8 +3290,8 @@ "source": null, "declaration": { "type": "VariableDeclaration", - "start": 1811, - "end": 1854, + "start": 1812, + "end": 1855, "loc": { "start": { "line": 68, @@ -3305,8 +3305,8 @@ "declarations": [ { "type": "VariableDeclarator", - "start": 1817, - "end": 1853, + "start": 1818, + "end": 1854, "loc": { "start": { "line": 68, @@ -3319,8 +3319,8 @@ }, "id": { "type": "Identifier", - "start": 1817, - "end": 1831, + "start": 1818, + "end": 1832, "loc": { "start": { "line": 68, @@ -3336,8 +3336,8 @@ }, "init": { "type": "Identifier", - "start": 1834, - "end": 1853, + "start": 1835, + "end": 1854, "loc": { "start": { "line": 68, @@ -3354,233 +3354,2047 @@ } ], "kind": "const", - "leadingComments": [], - "trailingComments": [] - } - } - ], - "directives": [] - }, - "comments": [ - { - "type": "CommentBlock", - "value": "*\n * PropType for the field value used in multiple components\n *\n * @type {shim}\n ", - "start": 99, - "end": 185, - "loc": { - "start": { - "line": 4, - "column": 0 - }, - "end": { - "line": 8, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * PropType for the field value change event used in multiple components\n *\n * @type {shim}\n ", - "start": 314, - "end": 413, - "loc": { - "start": { - "line": 16, - "column": 0 - }, - "end": { - "line": 20, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Proptypes for Input component\n * @type {shim}\n ", - "start": 479, - "end": 535, - "loc": { - "start": { - "line": 23, - "column": 0 - }, - "end": { - "line": 26, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\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 ", - "start": 585, - "end": 809, - "loc": { - "start": { - "line": 29, - "column": 0 - }, - "end": { - "line": 33, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\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 ", - "start": 1283, - "end": 1478, - "loc": { - "start": { - "line": 51, - "column": 0 - }, - "end": { - "line": 55, - "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": "PropTypes", - "start": 7, - "end": 16, - "loc": { - "start": { - "line": 1, - "column": 7 - }, - "end": { - "line": 1, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "from", - "start": 17, - "end": 21, - "loc": { - "start": { - "line": 1, - "column": 17 + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * The shape of one option for a select field\n *\n * @type {{label: shim, value: shim}}\n ", + "start": 1857, + "end": 1951, + "loc": { + "start": { + "line": 70, + "column": 0 + }, + "end": { + "line": 74, + "column": 3 + } + } + } + ], + "leadingComments": [] }, - "end": { - "line": 1, - "column": 21 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * The shape of one option for a select field\n *\n * @type {{label: shim, value: shim}}\n ", + "start": 1857, + "end": 1951, + "loc": { + "start": { + "line": 70, + "column": 0 + }, + "end": { + "line": 74, + "column": 3 + } + } + } + ] }, - "value": "prop-types", - "start": 22, - "end": 34, - "loc": { - "start": { - "line": 1, - "column": 22 + { + "type": "ExportNamedDeclaration", + "start": 1952, + "end": 2083, + "loc": { + "start": { + "line": 75, + "column": 0 + }, + "end": { + "line": 81, + "column": 2 + } }, - "end": { - "line": 1, - "column": 34 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 34, + "specifiers": [], + "source": null, + "declaration": { + "type": "VariableDeclaration", + "start": 1959, + "end": 2083, + "loc": { + "start": { + "line": 75, + "column": 7 + }, + "end": { + "line": 81, + "column": 2 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1965, + "end": 2082, + "loc": { + "start": { + "line": 75, + "column": 13 + }, + "end": { + "line": 81, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 1965, + "end": 1976, + "loc": { + "start": { + "line": 75, + "column": 13 + }, + "end": { + "line": 75, + "column": 24 + }, + "identifierName": "optionShape" + }, + "name": "optionShape", + "leadingComments": null + }, + "init": { + "type": "ObjectExpression", + "start": 1979, + "end": 2082, + "loc": { + "start": { + "line": 75, + "column": 27 + }, + "end": { + "line": 81, + "column": 1 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 1982, + "end": 2005, + "loc": { + "start": { + "line": 76, + "column": 1 + }, + "end": { + "line": 76, + "column": 24 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1982, + "end": 1987, + "loc": { + "start": { + "line": 76, + "column": 1 + }, + "end": { + "line": 76, + "column": 6 + }, + "identifierName": "label" + }, + "name": "label" + }, + "value": { + "type": "MemberExpression", + "start": 1989, + "end": 2005, + "loc": { + "start": { + "line": 76, + "column": 8 + }, + "end": { + "line": 76, + "column": 24 + } + }, + "object": { + "type": "Identifier", + "start": 1989, + "end": 1998, + "loc": { + "start": { + "line": 76, + "column": 8 + }, + "end": { + "line": 76, + "column": 17 + }, + "identifierName": "PropTypes" + }, + "name": "PropTypes" + }, + "property": { + "type": "Identifier", + "start": 1999, + "end": 2005, + "loc": { + "start": { + "line": 76, + "column": 18 + }, + "end": { + "line": 76, + "column": 24 + }, + "identifierName": "string" + }, + "name": "string" + }, + "computed": false + } + }, + { + "type": "ObjectProperty", + "start": 2008, + "end": 2080, + "loc": { + "start": { + "line": 77, + "column": 1 + }, + "end": { + "line": 80, + "column": 3 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 2008, + "end": 2013, + "loc": { + "start": { + "line": 77, + "column": 1 + }, + "end": { + "line": 77, + "column": 6 + }, + "identifierName": "value" + }, + "name": "value" + }, + "value": { + "type": "CallExpression", + "start": 2015, + "end": 2080, + "loc": { + "start": { + "line": 77, + "column": 8 + }, + "end": { + "line": 80, + "column": 3 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2015, + "end": 2034, + "loc": { + "start": { + "line": 77, + "column": 8 + }, + "end": { + "line": 77, + "column": 27 + } + }, + "object": { + "type": "Identifier", + "start": 2015, + "end": 2024, + "loc": { + "start": { + "line": 77, + "column": 8 + }, + "end": { + "line": 77, + "column": 17 + }, + "identifierName": "PropTypes" + }, + "name": "PropTypes" + }, + "property": { + "type": "Identifier", + "start": 2025, + "end": 2034, + "loc": { + "start": { + "line": 77, + "column": 18 + }, + "end": { + "line": 77, + "column": 27 + }, + "identifierName": "oneOfType" + }, + "name": "oneOfType" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrayExpression", + "start": 2035, + "end": 2079, + "loc": { + "start": { + "line": 77, + "column": 28 + }, + "end": { + "line": 80, + "column": 2 + } + }, + "elements": [ + { + "type": "MemberExpression", + "start": 2039, + "end": 2055, + "loc": { + "start": { + "line": 78, + "column": 2 + }, + "end": { + "line": 78, + "column": 18 + } + }, + "object": { + "type": "Identifier", + "start": 2039, + "end": 2048, + "loc": { + "start": { + "line": 78, + "column": 2 + }, + "end": { + "line": 78, + "column": 11 + }, + "identifierName": "PropTypes" + }, + "name": "PropTypes" + }, + "property": { + "type": "Identifier", + "start": 2049, + "end": 2055, + "loc": { + "start": { + "line": 78, + "column": 12 + }, + "end": { + "line": 78, + "column": 18 + }, + "identifierName": "string" + }, + "name": "string" + }, + "computed": false + }, + { + "type": "MemberExpression", + "start": 2059, + "end": 2075, + "loc": { + "start": { + "line": 79, + "column": 2 + }, + "end": { + "line": 79, + "column": 18 + } + }, + "object": { + "type": "Identifier", + "start": 2059, + "end": 2068, + "loc": { + "start": { + "line": 79, + "column": 2 + }, + "end": { + "line": 79, + "column": 11 + }, + "identifierName": "PropTypes" + }, + "name": "PropTypes" + }, + "property": { + "type": "Identifier", + "start": 2069, + "end": 2075, + "loc": { + "start": { + "line": 79, + "column": 12 + }, + "end": { + "line": 79, + "column": 18 + }, + "identifierName": "number" + }, + "name": "number" + }, + "computed": false + } + ] + } + ] + } + } + ] + }, + "leadingComments": null + } + ], + "kind": "const", + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * The shape of one option for a select field\n *\n * @type {{label: shim, value: shim}}\n ", + "start": 1857, + "end": 1951, + "loc": { + "start": { + "line": 70, + "column": 0 + }, + "end": { + "line": 74, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Shape of options prop for select fields\n *\n * @type {shim}\n ", + "start": 2085, + "end": 2154, + "loc": { + "start": { + "line": 83, + "column": 0 + }, + "end": { + "line": 87, + "column": 3 + } + } + } + ] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * The shape of one option for a select field\n *\n * @type {{label: shim, value: shim}}\n ", + "start": 1857, + "end": 1951, + "loc": { + "start": { + "line": 70, + "column": 0 + }, + "end": { + "line": 74, + "column": 3 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Shape of options prop for select fields\n *\n * @type {shim}\n ", + "start": 2085, + "end": 2154, + "loc": { + "start": { + "line": 83, + "column": 0 + }, + "end": { + "line": 87, + "column": 3 + } + } + } + ] + }, + { + "type": "ExportNamedDeclaration", + "start": 2155, + "end": 2238, + "loc": { + "start": { + "line": 88, + "column": 0 + }, + "end": { + "line": 90, + "column": 2 + } + }, + "specifiers": [], + "source": null, + "declaration": { + "type": "VariableDeclaration", + "start": 2162, + "end": 2238, + "loc": { + "start": { + "line": 88, + "column": 7 + }, + "end": { + "line": 90, + "column": 2 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 2168, + "end": 2237, + "loc": { + "start": { + "line": 88, + "column": 13 + }, + "end": { + "line": 90, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 2168, + "end": 2184, + "loc": { + "start": { + "line": 88, + "column": 13 + }, + "end": { + "line": 88, + "column": 29 + }, + "identifierName": "optionsShapeProp" + }, + "name": "optionsShapeProp", + "leadingComments": null + }, + "init": { + "type": "CallExpression", + "start": 2187, + "end": 2237, + "loc": { + "start": { + "line": 88, + "column": 32 + }, + "end": { + "line": 90, + "column": 1 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2187, + "end": 2204, + "loc": { + "start": { + "line": 88, + "column": 32 + }, + "end": { + "line": 88, + "column": 49 + } + }, + "object": { + "type": "Identifier", + "start": 2187, + "end": 2196, + "loc": { + "start": { + "line": 88, + "column": 32 + }, + "end": { + "line": 88, + "column": 41 + }, + "identifierName": "PropTypes" + }, + "name": "PropTypes" + }, + "property": { + "type": "Identifier", + "start": 2197, + "end": 2204, + "loc": { + "start": { + "line": 88, + "column": 42 + }, + "end": { + "line": 88, + "column": 49 + }, + "identifierName": "arrayOf" + }, + "name": "arrayOf" + }, + "computed": false + }, + "arguments": [ + { + "type": "CallExpression", + "start": 2207, + "end": 2235, + "loc": { + "start": { + "line": 89, + "column": 1 + }, + "end": { + "line": 89, + "column": 29 + } + }, + "callee": { + "type": "MemberExpression", + "start": 2207, + "end": 2222, + "loc": { + "start": { + "line": 89, + "column": 1 + }, + "end": { + "line": 89, + "column": 16 + } + }, + "object": { + "type": "Identifier", + "start": 2207, + "end": 2216, + "loc": { + "start": { + "line": 89, + "column": 1 + }, + "end": { + "line": 89, + "column": 10 + }, + "identifierName": "PropTypes" + }, + "name": "PropTypes" + }, + "property": { + "type": "Identifier", + "start": 2217, + "end": 2222, + "loc": { + "start": { + "line": 89, + "column": 11 + }, + "end": { + "line": 89, + "column": 16 + }, + "identifierName": "shape" + }, + "name": "shape" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 2223, + "end": 2234, + "loc": { + "start": { + "line": 89, + "column": 17 + }, + "end": { + "line": 89, + "column": 28 + }, + "identifierName": "optionShape" + }, + "name": "optionShape" + } + ] + } + ] + }, + "leadingComments": null + } + ], + "kind": "const", + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Shape of options prop for select fields\n *\n * @type {shim}\n ", + "start": 2085, + "end": 2154, + "loc": { + "start": { + "line": 83, + "column": 0 + }, + "end": { + "line": 87, + "column": 3 + } + } + } + ], + "trailingComments": [] + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Shape of options prop for select fields\n *\n * @type {shim}\n ", + "start": 2085, + "end": 2154, + "loc": { + "start": { + "line": 83, + "column": 0 + }, + "end": { + "line": 87, + "column": 3 + } + } + } + ] + } + ], + "directives": [] + }, + "comments": [ + { + "type": "CommentBlock", + "value": "*\n * PropType for the field value used in multiple components\n *\n * @type {shim}\n ", + "start": 99, + "end": 185, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 8, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * PropType for the field value change event used in multiple components\n *\n * @type {shim}\n ", + "start": 314, + "end": 413, + "loc": { + "start": { + "line": 16, + "column": 0 + }, + "end": { + "line": 20, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Proptypes for Input component\n * @type {shim}\n ", + "start": 479, + "end": 535, + "loc": { + "start": { + "line": 23, + "column": 0 + }, + "end": { + "line": 26, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\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 ", + "start": 584, + "end": 808, + "loc": { + "start": { + "line": 29, + "column": 0 + }, + "end": { + "line": 33, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\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 ", + "start": 1284, + "end": 1479, + "loc": { + "start": { + "line": 51, + "column": 0 + }, + "end": { + "line": 55, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * The shape of one option for a select field\n *\n * @type {{label: shim, value: shim}}\n ", + "start": 1857, + "end": 1951, + "loc": { + "start": { + "line": 70, + "column": 0 + }, + "end": { + "line": 74, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Shape of options prop for select fields\n *\n * @type {shim}\n ", + "start": 2085, + "end": 2154, + "loc": { + "start": { + "line": 83, + "column": 0 + }, + "end": { + "line": 87, + "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": "PropTypes", + "start": 7, + "end": 16, + "loc": { + "start": { + "line": 1, + "column": 7 + }, + "end": { + "line": 1, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 17, + "end": 21, + "loc": { + "start": { + "line": 1, + "column": 17 + }, + "end": { + "line": 1, + "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": 22, + "end": 34, + "loc": { + "start": { + "line": 1, + "column": 22 + }, + "end": { + "line": 1, + "column": 34 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 34, "end": 35, "loc": { "start": { - "line": 1, - "column": 34 + "line": 1, + "column": 34 + }, + "end": { + "line": 1, + "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": 36, + "end": 42, + "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": 43, + "end": 44, + "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": "messagePropShape", + "start": 44, + "end": 60, + "loc": { + "start": { + "line": 2, + "column": 8 + }, + "end": { + "line": 2, + "column": 24 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 60, + "end": 61, + "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": "from", + "start": 62, + "end": 66, + "loc": { + "start": { + "line": 2, + "column": 26 + }, + "end": { + "line": 2, + "column": 30 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./messages/messagePropTypes", + "start": 67, + "end": 96, + "loc": { + "start": { + "line": 2, + "column": 31 + }, + "end": { + "line": 2, + "column": 60 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 96, + "end": 97, + "loc": { + "start": { + "line": 2, + "column": 60 + }, + "end": { + "line": 2, + "column": 61 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * PropType for the field value used in multiple components\n *\n * @type {shim}\n ", + "start": 99, + "end": 185, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 8, + "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": 186, + "end": 192, + "loc": { + "start": { + "line": 9, + "column": 0 + }, + "end": { + "line": 9, + "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": 193, + "end": 198, + "loc": { + "start": { + "line": 9, + "column": 7 + }, + "end": { + "line": 9, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "valuePropType", + "start": 199, + "end": 212, + "loc": { + "start": { + "line": 9, + "column": 13 + }, + "end": { + "line": 9, + "column": 26 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 213, + "end": 214, + "loc": { + "start": { + "line": 9, + "column": 27 + }, + "end": { + "line": 9, + "column": 28 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PropTypes", + "start": 215, + "end": 224, + "loc": { + "start": { + "line": 9, + "column": 29 + }, + "end": { + "line": 9, + "column": 38 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 224, + "end": 225, + "loc": { + "start": { + "line": 9, + "column": 38 + }, + "end": { + "line": 9, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "oneOfType", + "start": 225, + "end": 234, + "loc": { + "start": { + "line": 9, + "column": 39 + }, + "end": { + "line": 9, + "column": 48 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 234, + "end": 235, + "loc": { + "start": { + "line": 9, + "column": 48 + }, + "end": { + "line": 9, + "column": 49 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 235, + "end": 236, + "loc": { + "start": { + "line": 9, + "column": 49 + }, + "end": { + "line": 9, + "column": 50 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PropTypes", + "start": 238, + "end": 247, + "loc": { + "start": { + "line": 10, + "column": 1 + }, + "end": { + "line": 10, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 247, + "end": 248, + "loc": { + "start": { + "line": 10, + "column": 10 + }, + "end": { + "line": 10, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "string", + "start": 248, + "end": 254, + "loc": { + "start": { + "line": 10, + "column": 11 + }, + "end": { + "line": 10, + "column": 17 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 254, + "end": 255, + "loc": { + "start": { + "line": 10, + "column": 17 + }, + "end": { + "line": 10, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PropTypes", + "start": 257, + "end": 266, + "loc": { + "start": { + "line": 11, + "column": 1 + }, + "end": { + "line": 11, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 266, + "end": 267, + "loc": { + "start": { + "line": 11, + "column": 10 + }, + "end": { + "line": 11, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "number", + "start": 267, + "end": 273, + "loc": { + "start": { + "line": 11, + "column": 11 + }, + "end": { + "line": 11, + "column": 17 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 273, + "end": 274, + "loc": { + "start": { + "line": 11, + "column": 17 + }, + "end": { + "line": 11, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PropTypes", + "start": 276, + "end": 285, + "loc": { + "start": { + "line": 12, + "column": 1 + }, + "end": { + "line": 12, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 285, + "end": 286, + "loc": { + "start": { + "line": 12, + "column": 10 + }, + "end": { + "line": 12, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "array", + "start": 286, + "end": 291, + "loc": { + "start": { + "line": 12, + "column": 11 + }, + "end": { + "line": 12, + "column": 16 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 291, + "end": 292, + "loc": { + "start": { + "line": 12, + "column": 16 + }, + "end": { + "line": 12, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "PropTypes", + "start": 294, + "end": 303, + "loc": { + "start": { + "line": 13, + "column": 1 + }, + "end": { + "line": 13, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 303, + "end": 304, + "loc": { + "start": { + "line": 13, + "column": 10 + }, + "end": { + "line": 13, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "bool", + "start": 304, + "end": 308, + "loc": { + "start": { + "line": 13, + "column": 11 + }, + "end": { + "line": 13, + "column": 15 + } + } + }, + { + "type": { + "label": "]", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 309, + "end": 310, + "loc": { + "start": { + "line": 14, + "column": 0 + }, + "end": { + "line": 14, + "column": 1 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 310, + "end": 311, + "loc": { + "start": { + "line": 14, + "column": 1 + }, + "end": { + "line": 14, + "column": 2 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 311, + "end": 312, + "loc": { + "start": { + "line": 14, + "column": 2 + }, + "end": { + "line": 14, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * PropType for the field value change event used in multiple components\n *\n * @type {shim}\n ", + "start": 314, + "end": 413, + "loc": { + "start": { + "line": 16, + "column": 0 + }, + "end": { + "line": 20, + "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": 414, + "end": 420, + "loc": { + "start": { + "line": 21, + "column": 0 + }, + "end": { + "line": 21, + "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": 421, + "end": 426, + "loc": { + "start": { + "line": 21, + "column": 7 + }, + "end": { + "line": 21, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "onValueChangePropType", + "start": 427, + "end": 448, + "loc": { + "start": { + "line": 21, + "column": 13 }, "end": { - "line": 1, + "line": 21, + "column": 34 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 449, + "end": 450, + "loc": { + "start": { + "line": 21, "column": 35 + }, + "end": { + "line": 21, + "column": 36 } } }, { "type": { - "label": "import", - "keyword": "import", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -3588,27 +5402,228 @@ "isAssign": false, "prefix": false, "postfix": false, + "binop": null + }, + "value": "PropTypes", + "start": 451, + "end": 460, + "loc": { + "start": { + "line": 21, + "column": 37 + }, + "end": { + "line": 21, + "column": 46 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, "binop": null, "updateContext": null }, - "value": "import", - "start": 36, - "end": 42, + "start": 460, + "end": 461, + "loc": { + "start": { + "line": 21, + "column": 46 + }, + "end": { + "line": 21, + "column": 47 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "func", + "start": 461, + "end": 465, + "loc": { + "start": { + "line": 21, + "column": 47 + }, + "end": { + "line": 21, + "column": 51 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 465, + "end": 466, + "loc": { + "start": { + "line": 21, + "column": 51 + }, + "end": { + "line": 21, + "column": 52 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "isRequired", + "start": 466, + "end": 476, + "loc": { + "start": { + "line": 21, + "column": 52 + }, + "end": { + "line": 21, + "column": 62 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 476, + "end": 477, + "loc": { + "start": { + "line": 21, + "column": 62 + }, + "end": { + "line": 21, + "column": 63 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Proptypes for Input component\n * @type {shim}\n ", + "start": 479, + "end": 535, + "loc": { + "start": { + "line": 23, + "column": 0 + }, + "end": { + "line": 26, + "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": 536, + "end": 542, + "loc": { + "start": { + "line": 27, + "column": 0 + }, + "end": { + "line": 27, + "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": 543, + "end": 548, "loc": { "start": { - "line": 2, - "column": 0 + "line": 27, + "column": 7 }, "end": { - "line": 2, - "column": 6 + "line": 27, + "column": 12 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -3617,50 +5632,52 @@ "postfix": false, "binop": null }, - "start": 43, - "end": 44, + "value": "inputTypeProp", + "start": 549, + "end": 562, "loc": { "start": { - "line": 2, - "column": 7 + "line": 27, + "column": 13 }, "end": { - "line": 2, - "column": 8 + "line": 27, + "column": 26 } } }, { "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": "messagePropShape", - "start": 44, - "end": 60, + "value": "=", + "start": 563, + "end": 564, "loc": { "start": { - "line": 2, - "column": 8 + "line": 27, + "column": 27 }, "end": { - "line": 2, - "column": 24 + "line": 27, + "column": 28 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -3668,48 +5685,49 @@ "postfix": false, "binop": null }, - "start": 60, - "end": 61, + "value": "PropTypes", + "start": 565, + "end": 574, "loc": { "start": { - "line": 2, - "column": 24 + "line": 27, + "column": 29 }, "end": { - "line": 2, - "column": 25 + "line": 27, + "column": 38 } } }, { "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": "from", - "start": 62, - "end": 66, + "start": 574, + "end": 575, "loc": { "start": { - "line": 2, - "column": 26 + "line": 27, + "column": 38 }, "end": { - "line": 2, - "column": 30 + "line": 27, + "column": 39 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -3717,20 +5735,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "./messages/messagePropTypes", - "start": 67, - "end": 96, + "value": "string", + "start": 575, + "end": 581, "loc": { "start": { - "line": 2, - "column": 31 + "line": 27, + "column": 39 }, "end": { - "line": 2, - "column": 60 + "line": 27, + "column": 45 } } }, @@ -3747,31 +5764,31 @@ "binop": null, "updateContext": null }, - "start": 96, - "end": 97, + "start": 581, + "end": 582, "loc": { "start": { - "line": 2, - "column": 60 + "line": 27, + "column": 45 }, "end": { - "line": 2, - "column": 61 + "line": 27, + "column": 46 } } }, { "type": "CommentBlock", - "value": "*\n * PropType for the field value used in multiple components\n *\n * @type {shim}\n ", - "start": 99, - "end": 185, + "value": "*\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 ", + "start": 584, + "end": 808, "loc": { "start": { - "line": 4, + "line": 29, "column": 0 }, "end": { - "line": 8, + "line": 33, "column": 3 } } @@ -3791,15 +5808,15 @@ "updateContext": null }, "value": "export", - "start": 186, - "end": 192, + "start": 809, + "end": 815, "loc": { "start": { - "line": 9, + "line": 34, "column": 0 }, "end": { - "line": 9, + "line": 34, "column": 6 } } @@ -3819,15 +5836,15 @@ "updateContext": null }, "value": "const", - "start": 193, - "end": 198, + "start": 816, + "end": 821, "loc": { "start": { - "line": 9, + "line": 34, "column": 7 }, "end": { - "line": 9, + "line": 34, "column": 12 } } @@ -3844,17 +5861,17 @@ "postfix": false, "binop": null }, - "value": "valuePropType", - "start": 199, - "end": 212, + "value": "fieldGroupPropTypes", + "start": 822, + "end": 841, "loc": { "start": { - "line": 9, + "line": 34, "column": 13 }, "end": { - "line": 9, - "column": 26 + "line": 34, + "column": 32 } } }, @@ -3872,23 +5889,23 @@ "updateContext": null }, "value": "=", - "start": 213, - "end": 214, + "start": 842, + "end": 843, "loc": { "start": { - "line": 9, - "column": 27 + "line": 34, + "column": 33 }, "end": { - "line": 9, - "column": 28 + "line": 34, + "column": 34 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -3897,76 +5914,75 @@ "postfix": false, "binop": null }, - "value": "PropTypes", - "start": 215, - "end": 224, + "start": 844, + "end": 845, "loc": { "start": { - "line": 9, - "column": 29 + "line": 34, + "column": 35 }, "end": { - "line": 9, - "column": 38 + "line": 34, + "column": 36 } } }, { "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": 224, - "end": 225, + "value": "id", + "start": 847, + "end": 849, "loc": { "start": { - "line": 9, - "column": 38 + "line": 35, + "column": 1 }, "end": { - "line": 9, - "column": 39 + "line": 35, + "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": "oneOfType", - "start": 225, - "end": 234, + "start": 849, + "end": 850, "loc": { "start": { - "line": 9, - "column": 39 + "line": 35, + "column": 3 }, "end": { - "line": 9, - "column": 48 + "line": 35, + "column": 4 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -3975,24 +5991,25 @@ "postfix": false, "binop": null }, - "start": 234, - "end": 235, + "value": "PropTypes", + "start": 851, + "end": 860, "loc": { "start": { - "line": 9, - "column": 48 + "line": 35, + "column": 5 }, "end": { - "line": 9, - "column": 49 + "line": 35, + "column": 14 } } }, { "type": { - "label": "[", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -4001,16 +6018,16 @@ "binop": null, "updateContext": null }, - "start": 235, - "end": 236, + "start": 860, + "end": 861, "loc": { "start": { - "line": 9, - "column": 49 + "line": 35, + "column": 14 }, "end": { - "line": 9, - "column": 50 + "line": 35, + "column": 15 } } }, @@ -4026,17 +6043,17 @@ "postfix": false, "binop": null }, - "value": "PropTypes", - "start": 238, - "end": 247, + "value": "string", + "start": 861, + "end": 867, "loc": { "start": { - "line": 10, - "column": 1 + "line": 35, + "column": 15 }, "end": { - "line": 10, - "column": 10 + "line": 35, + "column": 21 } } }, @@ -4053,16 +6070,16 @@ "binop": null, "updateContext": null }, - "start": 247, - "end": 248, + "start": 867, + "end": 868, "loc": { - "start": { - "line": 10, - "column": 10 + "start": { + "line": 35, + "column": 21 }, "end": { - "line": 10, - "column": 11 + "line": 35, + "column": 22 } } }, @@ -4078,17 +6095,17 @@ "postfix": false, "binop": null }, - "value": "string", - "start": 248, - "end": 254, + "value": "isRequired", + "start": 868, + "end": 878, "loc": { "start": { - "line": 10, - "column": 11 + "line": 35, + "column": 22 }, "end": { - "line": 10, - "column": 17 + "line": 35, + "column": 32 } } }, @@ -4105,16 +6122,16 @@ "binop": null, "updateContext": null }, - "start": 254, - "end": 255, + "start": 878, + "end": 879, "loc": { "start": { - "line": 10, - "column": 17 + "line": 35, + "column": 32 }, "end": { - "line": 10, - "column": 18 + "line": 35, + "column": 33 } } }, @@ -4130,24 +6147,24 @@ "postfix": false, "binop": null }, - "value": "PropTypes", - "start": 257, - "end": 266, + "value": "isBlockInput", + "start": 881, + "end": 893, "loc": { "start": { - "line": 11, + "line": 36, "column": 1 }, "end": { - "line": 11, - "column": 10 + "line": 36, + "column": 13 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ":", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -4157,16 +6174,16 @@ "binop": null, "updateContext": null }, - "start": 266, - "end": 267, + "start": 893, + "end": 894, "loc": { "start": { - "line": 11, - "column": 10 + "line": 36, + "column": 13 }, "end": { - "line": 11, - "column": 11 + "line": 36, + "column": 14 } } }, @@ -4182,24 +6199,24 @@ "postfix": false, "binop": null }, - "value": "number", - "start": 267, - "end": 273, + "value": "PropTypes", + "start": 895, + "end": 904, "loc": { "start": { - "line": 11, - "column": 11 + "line": 36, + "column": 15 }, "end": { - "line": 11, - "column": 17 + "line": 36, + "column": 24 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -4209,16 +6226,16 @@ "binop": null, "updateContext": null }, - "start": 273, - "end": 274, + "start": 904, + "end": 905, "loc": { "start": { - "line": 11, - "column": 17 + "line": 36, + "column": 24 }, "end": { - "line": 11, - "column": 18 + "line": 36, + "column": 25 } } }, @@ -4234,24 +6251,24 @@ "postfix": false, "binop": null }, - "value": "PropTypes", - "start": 276, - "end": 285, + "value": "bool", + "start": 905, + "end": 909, "loc": { "start": { - "line": 12, - "column": 1 + "line": 36, + "column": 25 }, "end": { - "line": 12, - "column": 10 + "line": 36, + "column": 29 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -4261,16 +6278,16 @@ "binop": null, "updateContext": null }, - "start": 285, - "end": 286, + "start": 909, + "end": 910, "loc": { "start": { - "line": 12, - "column": 10 + "line": 36, + "column": 29 }, "end": { - "line": 12, - "column": 11 + "line": 36, + "column": 30 } } }, @@ -4286,23 +6303,23 @@ "postfix": false, "binop": null }, - "value": "array", - "start": 286, - "end": 291, + "value": "isRequired", + "start": 912, + "end": 922, "loc": { "start": { - "line": 12, - "column": 11 + "line": 37, + "column": 1 }, "end": { - "line": 12, - "column": 16 + "line": 37, + "column": 11 } } }, { "type": { - "label": ",", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -4313,16 +6330,16 @@ "binop": null, "updateContext": null }, - "start": 291, - "end": 292, + "start": 922, + "end": 923, "loc": { "start": { - "line": 12, - "column": 16 + "line": 37, + "column": 11 }, "end": { - "line": 12, - "column": 17 + "line": 37, + "column": 12 } } }, @@ -4339,16 +6356,16 @@ "binop": null }, "value": "PropTypes", - "start": 294, - "end": 303, + "start": 924, + "end": 933, "loc": { "start": { - "line": 13, - "column": 1 + "line": 37, + "column": 13 }, "end": { - "line": 13, - "column": 10 + "line": 37, + "column": 22 } } }, @@ -4365,16 +6382,16 @@ "binop": null, "updateContext": null }, - "start": 303, - "end": 304, + "start": 933, + "end": 934, "loc": { "start": { - "line": 13, - "column": 10 + "line": 37, + "column": 22 }, "end": { - "line": 13, - "column": 11 + "line": 37, + "column": 23 } } }, @@ -4391,23 +6408,23 @@ "binop": null }, "value": "bool", - "start": 304, - "end": 308, + "start": 934, + "end": 938, "loc": { "start": { - "line": 13, - "column": 11 + "line": 37, + "column": 23 }, "end": { - "line": 13, - "column": 15 + "line": 37, + "column": 27 } } }, { "type": { - "label": "]", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -4417,24 +6434,24 @@ "binop": null, "updateContext": null }, - "start": 309, - "end": 310, + "start": 938, + "end": 939, "loc": { "start": { - "line": 14, - "column": 0 + "line": 37, + "column": 27 }, "end": { - "line": 14, - "column": 1 + "line": 37, + "column": 28 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -4442,22 +6459,23 @@ "postfix": false, "binop": null }, - "start": 310, - "end": 311, + "value": "help", + "start": 941, + "end": 945, "loc": { "start": { - "line": 14, + "line": 38, "column": 1 }, "end": { - "line": 14, - "column": 2 + "line": 38, + "column": 5 } } }, { "type": { - "label": ";", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -4468,67 +6486,48 @@ "binop": null, "updateContext": null }, - "start": 311, - "end": 312, - "loc": { - "start": { - "line": 14, - "column": 2 - }, - "end": { - "line": 14, - "column": 3 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * PropType for the field value change event used in multiple components\n *\n * @type {shim}\n ", - "start": 314, - "end": 413, + "start": 945, + "end": 946, "loc": { "start": { - "line": 16, - "column": 0 + "line": 38, + "column": 5 }, "end": { - "line": 20, - "column": 3 + "line": 38, + "column": 6 } } }, { "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": 414, - "end": 420, + "value": "PropTypes", + "start": 947, + "end": 956, "loc": { "start": { - "line": 21, - "column": 0 + "line": 38, + "column": 7 }, "end": { - "line": 21, - "column": 6 + "line": 38, + "column": 16 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -4539,17 +6538,16 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 421, - "end": 426, + "start": 956, + "end": 957, "loc": { "start": { - "line": 21, - "column": 7 + "line": 38, + "column": 16 }, "end": { - "line": 21, - "column": 12 + "line": 38, + "column": 17 } } }, @@ -4565,44 +6563,43 @@ "postfix": false, "binop": null }, - "value": "onValueChangePropType", - "start": 427, - "end": 448, + "value": "string", + "start": 957, + "end": 963, "loc": { "start": { - "line": 21, - "column": 13 + "line": 38, + "column": 17 }, "end": { - "line": 21, - "column": 34 + "line": 38, + "column": 23 } } }, { "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": 449, - "end": 450, + "start": 963, + "end": 964, "loc": { "start": { - "line": 21, - "column": 35 + "line": 38, + "column": 23 }, "end": { - "line": 21, - "column": 36 + "line": 38, + "column": 24 } } }, @@ -4618,24 +6615,24 @@ "postfix": false, "binop": null }, - "value": "PropTypes", - "start": 451, - "end": 460, + "value": "label", + "start": 966, + "end": 971, "loc": { "start": { - "line": 21, - "column": 37 + "line": 39, + "column": 1 }, "end": { - "line": 21, - "column": 46 + "line": 39, + "column": 6 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ":", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -4645,16 +6642,16 @@ "binop": null, "updateContext": null }, - "start": 460, - "end": 461, + "start": 971, + "end": 972, "loc": { "start": { - "line": 21, - "column": 46 + "line": 39, + "column": 6 }, "end": { - "line": 21, - "column": 47 + "line": 39, + "column": 7 } } }, @@ -4670,17 +6667,17 @@ "postfix": false, "binop": null }, - "value": "func", - "start": 461, - "end": 465, + "value": "PropTypes", + "start": 973, + "end": 982, "loc": { "start": { - "line": 21, - "column": 47 + "line": 39, + "column": 8 }, "end": { - "line": 21, - "column": 51 + "line": 39, + "column": 17 } } }, @@ -4697,16 +6694,16 @@ "binop": null, "updateContext": null }, - "start": 465, - "end": 466, + "start": 982, + "end": 983, "loc": { "start": { - "line": 21, - "column": 51 + "line": 39, + "column": 17 }, "end": { - "line": 21, - "column": 52 + "line": 39, + "column": 18 } } }, @@ -4722,24 +6719,24 @@ "postfix": false, "binop": null }, - "value": "isRequired", - "start": 466, - "end": 476, + "value": "string", + "start": 983, + "end": 989, "loc": { "start": { - "line": 21, - "column": 52 + "line": 39, + "column": 18 }, "end": { - "line": 21, - "column": 62 + "line": 39, + "column": 24 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -4749,68 +6746,49 @@ "binop": null, "updateContext": null }, - "start": 476, - "end": 477, - "loc": { - "start": { - "line": 21, - "column": 62 - }, - "end": { - "line": 21, - "column": 63 - } - } - }, - { - "type": "CommentBlock", - "value": "*\n * Proptypes for Input component\n * @type {shim}\n ", - "start": 479, - "end": 535, + "start": 989, + "end": 990, "loc": { "start": { - "line": 23, - "column": 0 + "line": 39, + "column": 24 }, "end": { - "line": 26, - "column": 3 + "line": 39, + "column": 25 } } }, { "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": 536, - "end": 542, + "value": "isRequired", + "start": 990, + "end": 1000, "loc": { "start": { - "line": 27, - "column": 0 + "line": 39, + "column": 25 }, "end": { - "line": 27, - "column": 6 + "line": 39, + "column": 35 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -4820,17 +6798,16 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 544, - "end": 549, + "start": 1000, + "end": 1001, "loc": { "start": { - "line": 27, - "column": 8 + "line": 39, + "column": 35 }, "end": { - "line": 27, - "column": 13 + "line": 39, + "column": 36 } } }, @@ -4846,44 +6823,43 @@ "postfix": false, "binop": null }, - "value": "inputTypeProp", - "start": 550, - "end": 563, + "value": "type", + "start": 1003, + "end": 1007, "loc": { "start": { - "line": 27, - "column": 14 + "line": 40, + "column": 1 }, "end": { - "line": 27, - "column": 27 + "line": 40, + "column": 5 } } }, { "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": 564, - "end": 565, + "start": 1007, + "end": 1008, "loc": { "start": { - "line": 27, - "column": 28 + "line": 40, + "column": 5 }, "end": { - "line": 27, - "column": 29 + "line": 40, + "column": 6 } } }, @@ -4900,16 +6876,16 @@ "binop": null }, "value": "PropTypes", - "start": 566, - "end": 575, + "start": 1009, + "end": 1018, "loc": { "start": { - "line": 27, - "column": 30 + "line": 40, + "column": 7 }, "end": { - "line": 27, - "column": 39 + "line": 40, + "column": 16 } } }, @@ -4926,16 +6902,16 @@ "binop": null, "updateContext": null }, - "start": 575, - "end": 576, + "start": 1018, + "end": 1019, "loc": { "start": { - "line": 27, - "column": 39 + "line": 40, + "column": 16 }, "end": { - "line": 27, - "column": 40 + "line": 40, + "column": 17 } } }, @@ -4951,68 +6927,76 @@ "postfix": false, "binop": null }, - "value": "string", - "start": 576, - "end": 582, + "value": "oneOf", + "start": 1019, + "end": 1024, "loc": { "start": { - "line": 27, - "column": 40 + "line": 40, + "column": 17 }, "end": { - "line": 27, - "column": 46 + "line": 40, + "column": 22 } } }, { "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": 582, - "end": 583, + "start": 1024, + "end": 1025, "loc": { "start": { - "line": 27, - "column": 46 + "line": 40, + "column": 22 }, "end": { - "line": 27, - "column": 47 + "line": 40, + "column": 23 } } }, { - "type": "CommentBlock", - "value": "*\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 ", - "start": 585, - "end": 809, + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1025, + "end": 1026, "loc": { "start": { - "line": 29, - "column": 0 + "line": 40, + "column": 23 }, "end": { - "line": 33, - "column": 3 + "line": 40, + "column": 24 } } }, { "type": { - "label": "export", - "keyword": "export", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -5021,25 +7005,24 @@ "binop": null, "updateContext": null }, - "value": "export", - "start": 810, - "end": 816, + "value": "input", + "start": 1026, + "end": 1033, "loc": { "start": { - "line": 34, - "column": 0 + "line": 40, + "column": 24 }, "end": { - "line": 34, - "column": 6 + "line": 40, + "column": 31 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -5049,23 +7032,22 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 817, - "end": 822, + "start": 1033, + "end": 1034, "loc": { "start": { - "line": 34, - "column": 7 + "line": 40, + "column": 31 }, "end": { - "line": 34, - "column": 12 + "line": 40, + "column": 32 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -5073,79 +7055,107 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "fieldGroupPropTypes", - "start": 823, - "end": 842, + "value": "select", + "start": 1035, + "end": 1043, "loc": { "start": { - "line": 34, - "column": 13 + "line": 40, + "column": 33 }, "end": { - "line": 34, - "column": 32 + "line": 40, + "column": 41 } } }, { "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": 843, - "end": 844, + "start": 1043, + "end": 1044, "loc": { "start": { - "line": 34, - "column": 33 + "line": 40, + "column": 41 }, "end": { - "line": 34, - "column": 34 + "line": 40, + "column": 42 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "string", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 845, - "end": 846, + "value": "fieldset", + "start": 1045, + "end": 1055, "loc": { "start": { - "line": 34, - "column": 35 + "line": 40, + "column": 43 }, "end": { - "line": 34, - "column": 36 + "line": 40, + "column": 53 } } }, { "type": { - "label": "name", + "label": "]", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1055, + "end": 1056, + "loc": { + "start": { + "line": 40, + "column": 53 + }, + "end": { + "line": 40, + "column": 54 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -5153,23 +7163,22 @@ "postfix": false, "binop": null }, - "value": "id", - "start": 848, - "end": 850, + "start": 1056, + "end": 1057, "loc": { "start": { - "line": 35, - "column": 1 + "line": 40, + "column": 54 }, "end": { - "line": 35, - "column": 3 + "line": 40, + "column": 55 } } }, { "type": { - "label": ":", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -5180,16 +7189,16 @@ "binop": null, "updateContext": null }, - "start": 850, - "end": 851, + "start": 1057, + "end": 1058, "loc": { "start": { - "line": 35, - "column": 3 + "line": 40, + "column": 55 }, "end": { - "line": 35, - "column": 4 + "line": 40, + "column": 56 } } }, @@ -5205,24 +7214,24 @@ "postfix": false, "binop": null }, - "value": "PropTypes", - "start": 852, - "end": 861, + "value": "value", + "start": 1060, + "end": 1065, "loc": { "start": { - "line": 35, - "column": 5 + "line": 41, + "column": 1 }, "end": { - "line": 35, - "column": 14 + "line": 41, + "column": 6 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ":", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -5232,16 +7241,16 @@ "binop": null, "updateContext": null }, - "start": 861, - "end": 862, + "start": 1065, + "end": 1066, "loc": { "start": { - "line": 35, - "column": 14 + "line": 41, + "column": 6 }, "end": { - "line": 35, - "column": 15 + "line": 41, + "column": 7 } } }, @@ -5257,24 +7266,24 @@ "postfix": false, "binop": null }, - "value": "string", - "start": 862, - "end": 868, + "value": "valuePropType", + "start": 1067, + "end": 1080, "loc": { "start": { - "line": 35, - "column": 15 + "line": 41, + "column": 8 }, "end": { - "line": 35, + "line": 41, "column": 21 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -5284,15 +7293,15 @@ "binop": null, "updateContext": null }, - "start": 868, - "end": 869, + "start": 1080, + "end": 1081, "loc": { "start": { - "line": 35, + "line": 41, "column": 21 }, "end": { - "line": 35, + "line": 41, "column": 22 } } @@ -5309,23 +7318,23 @@ "postfix": false, "binop": null }, - "value": "isRequired", - "start": 869, - "end": 879, + "value": "onValueChange", + "start": 1083, + "end": 1096, "loc": { "start": { - "line": 35, - "column": 22 + "line": 42, + "column": 1 }, "end": { - "line": 35, - "column": 32 + "line": 42, + "column": 14 } } }, { "type": { - "label": ",", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -5336,16 +7345,16 @@ "binop": null, "updateContext": null }, - "start": 879, - "end": 880, + "start": 1096, + "end": 1097, "loc": { "start": { - "line": 35, - "column": 32 + "line": 42, + "column": 14 }, "end": { - "line": 35, - "column": 33 + "line": 42, + "column": 15 } } }, @@ -5361,23 +7370,23 @@ "postfix": false, "binop": null }, - "value": "isBlockInput", - "start": 882, - "end": 894, + "value": "onValueChangePropType", + "start": 1098, + "end": 1119, "loc": { "start": { - "line": 36, - "column": 1 + "line": 42, + "column": 16 }, "end": { - "line": 36, - "column": 13 + "line": 42, + "column": 37 } } }, { "type": { - "label": ":", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -5388,16 +7397,16 @@ "binop": null, "updateContext": null }, - "start": 894, - "end": 895, + "start": 1119, + "end": 1120, "loc": { "start": { - "line": 36, - "column": 13 + "line": 42, + "column": 37 }, "end": { - "line": 36, - "column": 14 + "line": 42, + "column": 38 } } }, @@ -5413,24 +7422,24 @@ "postfix": false, "binop": null }, - "value": "PropTypes", - "start": 896, - "end": 905, + "value": "options", + "start": 1122, + "end": 1129, "loc": { "start": { - "line": 36, - "column": 15 + "line": 43, + "column": 1 }, "end": { - "line": 36, - "column": 24 + "line": 43, + "column": 8 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ":", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -5440,16 +7449,16 @@ "binop": null, "updateContext": null }, - "start": 905, - "end": 906, + "start": 1129, + "end": 1130, "loc": { - "start": { - "line": 36, - "column": 24 + "start": { + "line": 43, + "column": 8 }, "end": { - "line": 36, - "column": 25 + "line": 43, + "column": 9 } } }, @@ -5465,24 +7474,24 @@ "postfix": false, "binop": null }, - "value": "bool", - "start": 906, - "end": 910, + "value": "PropTypes", + "start": 1131, + "end": 1140, "loc": { "start": { - "line": 36, - "column": 25 + "line": 43, + "column": 10 }, "end": { - "line": 36, - "column": 29 + "line": 43, + "column": 19 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -5492,16 +7501,16 @@ "binop": null, "updateContext": null }, - "start": 910, - "end": 911, + "start": 1140, + "end": 1141, "loc": { "start": { - "line": 36, - "column": 29 + "line": 43, + "column": 19 }, "end": { - "line": 36, - "column": 30 + "line": 43, + "column": 20 } } }, @@ -5517,23 +7526,23 @@ "postfix": false, "binop": null }, - "value": "isRequired", - "start": 913, - "end": 923, + "value": "array", + "start": 1141, + "end": 1146, "loc": { "start": { - "line": 37, - "column": 1 + "line": 43, + "column": 20 }, "end": { - "line": 37, - "column": 11 + "line": 43, + "column": 25 } } }, { "type": { - "label": ":", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -5544,16 +7553,16 @@ "binop": null, "updateContext": null }, - "start": 923, - "end": 924, + "start": 1146, + "end": 1147, "loc": { "start": { - "line": 37, - "column": 11 + "line": 43, + "column": 25 }, "end": { - "line": 37, - "column": 12 + "line": 43, + "column": 26 } } }, @@ -5569,24 +7578,24 @@ "postfix": false, "binop": null }, - "value": "PropTypes", - "start": 925, - "end": 934, + "value": "inputType", + "start": 1149, + "end": 1158, "loc": { "start": { - "line": 37, - "column": 13 + "line": 44, + "column": 1 }, "end": { - "line": 37, - "column": 22 + "line": 44, + "column": 10 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ":", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -5596,16 +7605,16 @@ "binop": null, "updateContext": null }, - "start": 934, - "end": 935, + "start": 1158, + "end": 1159, "loc": { "start": { - "line": 37, - "column": 22 + "line": 44, + "column": 10 }, "end": { - "line": 37, - "column": 23 + "line": 44, + "column": 11 } } }, @@ -5621,17 +7630,17 @@ "postfix": false, "binop": null }, - "value": "bool", - "start": 935, - "end": 939, + "value": "inputTypeProp", + "start": 1160, + "end": 1173, "loc": { "start": { - "line": 37, - "column": 23 + "line": 44, + "column": 12 }, "end": { - "line": 37, - "column": 27 + "line": 44, + "column": 25 } } }, @@ -5648,16 +7657,16 @@ "binop": null, "updateContext": null }, - "start": 939, - "end": 940, + "start": 1173, + "end": 1174, "loc": { "start": { - "line": 37, - "column": 27 + "line": 44, + "column": 25 }, "end": { - "line": 37, - "column": 28 + "line": 44, + "column": 26 } } }, @@ -5673,17 +7682,17 @@ "postfix": false, "binop": null }, - "value": "help", - "start": 942, - "end": 946, + "value": "disabled", + "start": 1176, + "end": 1184, "loc": { "start": { - "line": 38, + "line": 45, "column": 1 }, "end": { - "line": 38, - "column": 5 + "line": 45, + "column": 9 } } }, @@ -5700,16 +7709,16 @@ "binop": null, "updateContext": null }, - "start": 946, - "end": 947, + "start": 1184, + "end": 1185, "loc": { "start": { - "line": 38, - "column": 5 + "line": 45, + "column": 9 }, "end": { - "line": 38, - "column": 6 + "line": 45, + "column": 10 } } }, @@ -5726,16 +7735,16 @@ "binop": null }, "value": "PropTypes", - "start": 948, - "end": 957, + "start": 1186, + "end": 1195, "loc": { "start": { - "line": 38, - "column": 7 + "line": 45, + "column": 11 }, "end": { - "line": 38, - "column": 16 + "line": 45, + "column": 20 } } }, @@ -5752,16 +7761,16 @@ "binop": null, "updateContext": null }, - "start": 957, - "end": 958, + "start": 1195, + "end": 1196, "loc": { "start": { - "line": 38, - "column": 16 + "line": 45, + "column": 20 }, "end": { - "line": 38, - "column": 17 + "line": 45, + "column": 21 } } }, @@ -5777,17 +7786,17 @@ "postfix": false, "binop": null }, - "value": "string", - "start": 958, - "end": 964, + "value": "bool", + "start": 1196, + "end": 1200, "loc": { "start": { - "line": 38, - "column": 17 + "line": 45, + "column": 21 }, "end": { - "line": 38, - "column": 23 + "line": 45, + "column": 25 } } }, @@ -5804,16 +7813,16 @@ "binop": null, "updateContext": null }, - "start": 964, - "end": 965, + "start": 1200, + "end": 1201, "loc": { "start": { - "line": 38, - "column": 23 + "line": 45, + "column": 25 }, "end": { - "line": 38, - "column": 24 + "line": 45, + "column": 26 } } }, @@ -5829,17 +7838,17 @@ "postfix": false, "binop": null }, - "value": "label", - "start": 967, - "end": 972, + "value": "message", + "start": 1203, + "end": 1210, "loc": { "start": { - "line": 39, + "line": 46, "column": 1 }, "end": { - "line": 39, - "column": 6 + "line": 46, + "column": 8 } } }, @@ -5856,16 +7865,16 @@ "binop": null, "updateContext": null }, - "start": 972, - "end": 973, + "start": 1210, + "end": 1211, "loc": { "start": { - "line": 39, - "column": 6 + "line": 46, + "column": 8 }, "end": { - "line": 39, - "column": 7 + "line": 46, + "column": 9 } } }, @@ -5881,24 +7890,24 @@ "postfix": false, "binop": null }, - "value": "PropTypes", - "start": 974, - "end": 983, + "value": "messagePropShape", + "start": 1212, + "end": 1228, "loc": { "start": { - "line": 39, - "column": 8 + "line": 46, + "column": 10 }, "end": { - "line": 39, - "column": 17 + "line": 46, + "column": 26 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -5908,16 +7917,16 @@ "binop": null, "updateContext": null }, - "start": 983, - "end": 984, + "start": 1228, + "end": 1229, "loc": { "start": { - "line": 39, - "column": 17 + "line": 46, + "column": 26 }, "end": { - "line": 39, - "column": 18 + "line": 46, + "column": 27 } } }, @@ -5933,24 +7942,24 @@ "postfix": false, "binop": null }, - "value": "string", - "start": 984, - "end": 990, + "value": "onBlur", + "start": 1231, + "end": 1237, "loc": { "start": { - "line": 39, - "column": 18 + "line": 47, + "column": 1 }, "end": { - "line": 39, - "column": 24 + "line": 47, + "column": 7 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ":", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -5960,16 +7969,16 @@ "binop": null, "updateContext": null }, - "start": 990, - "end": 991, + "start": 1237, + "end": 1238, "loc": { "start": { - "line": 39, - "column": 24 + "line": 47, + "column": 7 }, "end": { - "line": 39, - "column": 25 + "line": 47, + "column": 8 } } }, @@ -5985,24 +7994,24 @@ "postfix": false, "binop": null }, - "value": "isRequired", - "start": 991, - "end": 1001, + "value": "PropTypes", + "start": 1239, + "end": 1248, "loc": { "start": { - "line": 39, - "column": 25 + "line": 47, + "column": 9 }, "end": { - "line": 39, - "column": 35 + "line": 47, + "column": 18 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -6012,16 +8021,16 @@ "binop": null, "updateContext": null }, - "start": 1001, - "end": 1002, + "start": 1248, + "end": 1249, "loc": { "start": { - "line": 39, - "column": 35 + "line": 47, + "column": 18 }, "end": { - "line": 39, - "column": 36 + "line": 47, + "column": 19 } } }, @@ -6037,23 +8046,23 @@ "postfix": false, "binop": null }, - "value": "type", - "start": 1004, - "end": 1008, + "value": "func", + "start": 1249, + "end": 1253, "loc": { "start": { - "line": 40, - "column": 1 + "line": 47, + "column": 19 }, "end": { - "line": 40, - "column": 5 + "line": 47, + "column": 23 } } }, { "type": { - "label": ":", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -6064,16 +8073,16 @@ "binop": null, "updateContext": null }, - "start": 1008, - "end": 1009, + "start": 1253, + "end": 1254, "loc": { "start": { - "line": 40, - "column": 5 + "line": 47, + "column": 23 }, "end": { - "line": 40, - "column": 6 + "line": 47, + "column": 24 } } }, @@ -6089,24 +8098,24 @@ "postfix": false, "binop": null }, - "value": "PropTypes", - "start": 1010, - "end": 1019, + "value": "onFocus", + "start": 1256, + "end": 1263, "loc": { "start": { - "line": 40, - "column": 7 + "line": 48, + "column": 1 }, "end": { - "line": 40, - "column": 16 + "line": 48, + "column": 8 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ":", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -6116,16 +8125,16 @@ "binop": null, "updateContext": null }, - "start": 1019, - "end": 1020, + "start": 1263, + "end": 1264, "loc": { "start": { - "line": 40, - "column": 16 + "line": 48, + "column": 8 }, "end": { - "line": 40, - "column": 17 + "line": 48, + "column": 9 } } }, @@ -6141,101 +8150,100 @@ "postfix": false, "binop": null }, - "value": "oneOf", - "start": 1020, - "end": 1025, + "value": "PropTypes", + "start": 1265, + "end": 1274, "loc": { "start": { - "line": 40, - "column": 17 + "line": 48, + "column": 10 }, "end": { - "line": 40, - "column": 22 + "line": 48, + "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": 1025, - "end": 1026, + "start": 1274, + "end": 1275, "loc": { "start": { - "line": 40, - "column": 22 + "line": 48, + "column": 19 }, "end": { - "line": 40, - "column": 23 + "line": 48, + "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": 1026, - "end": 1027, + "value": "func", + "start": 1275, + "end": 1279, "loc": { "start": { - "line": 40, - "column": 23 + "line": 48, + "column": 20 }, "end": { - "line": 40, + "line": 48, "column": 24 } } }, { "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": "input", - "start": 1027, - "end": 1034, + "start": 1280, + "end": 1281, "loc": { "start": { - "line": 40, - "column": 24 + "line": 49, + "column": 0 }, "end": { - "line": 40, - "column": 31 + "line": 49, + "column": 1 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -6246,50 +8254,40 @@ "binop": null, "updateContext": null }, - "start": 1034, - "end": 1035, + "start": 1281, + "end": 1282, "loc": { "start": { - "line": 40, - "column": 31 + "line": 49, + "column": 1 }, "end": { - "line": 40, - "column": 32 + "line": 49, + "column": 2 } } }, { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "select", - "start": 1035, - "end": 1043, + "type": "CommentBlock", + "value": "*\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 ", + "start": 1284, + "end": 1479, "loc": { "start": { - "line": 40, - "column": 32 + "line": 51, + "column": 0 }, "end": { - "line": 40, - "column": 40 + "line": 55, + "column": 3 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "export", + "keyword": "export", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -6299,24 +8297,26 @@ "binop": null, "updateContext": null }, - "start": 1043, - "end": 1044, + "value": "export", + "start": 1480, + "end": 1486, "loc": { "start": { - "line": 40, - "column": 40 + "line": 56, + "column": 0 }, "end": { - "line": 40, - "column": 41 + "line": 56, + "column": 6 } } }, { "type": { - "label": "string", + "label": "const", + "keyword": "const", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -6325,94 +8325,95 @@ "binop": null, "updateContext": null }, - "value": "fieldset", - "start": 1045, - "end": 1055, + "value": "const", + "start": 1487, + "end": 1492, "loc": { "start": { - "line": 40, - "column": 42 + "line": 56, + "column": 7 }, "end": { - "line": 40, - "column": 52 + "line": 56, + "column": 12 } } }, { "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": 1055, - "end": 1056, + "value": "fieldInnerPropTypes", + "start": 1493, + "end": 1512, "loc": { "start": { - "line": 40, - "column": 52 + "line": 56, + "column": 13 }, "end": { - "line": 40, - "column": 53 + "line": 56, + "column": 32 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1056, - "end": 1057, + "value": "=", + "start": 1513, + "end": 1514, "loc": { "start": { - "line": 40, - "column": 53 + "line": 56, + "column": 33 }, "end": { - "line": 40, - "column": 54 + "line": 56, + "column": 34 } } }, { "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": 1057, - "end": 1058, + "start": 1515, + "end": 1516, "loc": { "start": { - "line": 40, - "column": 54 + "line": 56, + "column": 35 }, "end": { - "line": 40, - "column": 55 + "line": 56, + "column": 36 } } }, @@ -6428,17 +8429,17 @@ "postfix": false, "binop": null }, - "value": "value", - "start": 1060, - "end": 1065, + "value": "id", + "start": 1518, + "end": 1520, "loc": { "start": { - "line": 41, + "line": 57, "column": 1 }, "end": { - "line": 41, - "column": 6 + "line": 57, + "column": 3 } } }, @@ -6455,16 +8456,16 @@ "binop": null, "updateContext": null }, - "start": 1065, - "end": 1066, + "start": 1520, + "end": 1521, "loc": { "start": { - "line": 41, - "column": 6 + "line": 57, + "column": 3 }, - "end": { - "line": 41, - "column": 7 + "end": { + "line": 57, + "column": 4 } } }, @@ -6480,24 +8481,24 @@ "postfix": false, "binop": null }, - "value": "valuePropType", - "start": 1067, - "end": 1080, + "value": "PropTypes", + "start": 1522, + "end": 1531, "loc": { "start": { - "line": 41, - "column": 8 + "line": 57, + "column": 5 }, "end": { - "line": 41, - "column": 21 + "line": 57, + "column": 14 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -6507,16 +8508,16 @@ "binop": null, "updateContext": null }, - "start": 1080, - "end": 1081, + "start": 1531, + "end": 1532, "loc": { "start": { - "line": 41, - "column": 21 + "line": 57, + "column": 14 }, "end": { - "line": 41, - "column": 22 + "line": 57, + "column": 15 } } }, @@ -6532,24 +8533,24 @@ "postfix": false, "binop": null }, - "value": "onValueChange", - "start": 1083, - "end": 1096, + "value": "string", + "start": 1532, + "end": 1538, "loc": { "start": { - "line": 42, - "column": 1 + "line": 57, + "column": 15 }, "end": { - "line": 42, - "column": 14 + "line": 57, + "column": 21 } } }, { "type": { - "label": ":", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -6559,16 +8560,16 @@ "binop": null, "updateContext": null }, - "start": 1096, - "end": 1097, + "start": 1538, + "end": 1539, "loc": { "start": { - "line": 42, - "column": 14 + "line": 57, + "column": 21 }, "end": { - "line": 42, - "column": 15 + "line": 57, + "column": 22 } } }, @@ -6584,17 +8585,17 @@ "postfix": false, "binop": null }, - "value": "onValueChangePropType", - "start": 1098, - "end": 1119, + "value": "isRequired", + "start": 1539, + "end": 1549, "loc": { "start": { - "line": 42, - "column": 16 + "line": 57, + "column": 22 }, "end": { - "line": 42, - "column": 37 + "line": 57, + "column": 32 } } }, @@ -6611,16 +8612,16 @@ "binop": null, "updateContext": null }, - "start": 1119, - "end": 1120, + "start": 1549, + "end": 1550, "loc": { "start": { - "line": 42, - "column": 37 + "line": 57, + "column": 32 }, "end": { - "line": 42, - "column": 38 + "line": 57, + "column": 33 } } }, @@ -6636,17 +8637,17 @@ "postfix": false, "binop": null }, - "value": "options", - "start": 1122, - "end": 1129, + "value": "fieldClassName", + "start": 1552, + "end": 1566, "loc": { "start": { - "line": 43, + "line": 58, "column": 1 }, "end": { - "line": 43, - "column": 8 + "line": 58, + "column": 15 } } }, @@ -6663,16 +8664,16 @@ "binop": null, "updateContext": null }, - "start": 1129, - "end": 1130, + "start": 1566, + "end": 1567, "loc": { "start": { - "line": 43, - "column": 8 + "line": 58, + "column": 15 }, "end": { - "line": 43, - "column": 9 + "line": 58, + "column": 16 } } }, @@ -6689,16 +8690,16 @@ "binop": null }, "value": "PropTypes", - "start": 1131, - "end": 1140, + "start": 1568, + "end": 1577, "loc": { "start": { - "line": 43, - "column": 10 + "line": 58, + "column": 17 }, "end": { - "line": 43, - "column": 19 + "line": 58, + "column": 26 } } }, @@ -6715,16 +8716,16 @@ "binop": null, "updateContext": null }, - "start": 1140, - "end": 1141, + "start": 1577, + "end": 1578, "loc": { "start": { - "line": 43, - "column": 19 + "line": 58, + "column": 26 }, "end": { - "line": 43, - "column": 20 + "line": 58, + "column": 27 } } }, @@ -6740,24 +8741,24 @@ "postfix": false, "binop": null }, - "value": "array", - "start": 1141, - "end": 1146, + "value": "string", + "start": 1578, + "end": 1584, "loc": { "start": { - "line": 43, - "column": 20 + "line": 58, + "column": 27 }, "end": { - "line": 43, - "column": 25 + "line": 58, + "column": 33 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -6767,16 +8768,16 @@ "binop": null, "updateContext": null }, - "start": 1146, - "end": 1147, + "start": 1584, + "end": 1585, "loc": { "start": { - "line": 43, - "column": 25 + "line": 58, + "column": 33 }, "end": { - "line": 43, - "column": 26 + "line": 58, + "column": 34 } } }, @@ -6792,23 +8793,23 @@ "postfix": false, "binop": null }, - "value": "inputType", - "start": 1149, - "end": 1158, + "value": "isRequired", + "start": 1585, + "end": 1595, "loc": { "start": { - "line": 44, - "column": 1 + "line": 58, + "column": 34 }, "end": { - "line": 44, - "column": 10 + "line": 58, + "column": 44 } } }, { "type": { - "label": ":", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -6819,16 +8820,16 @@ "binop": null, "updateContext": null }, - "start": 1158, - "end": 1159, + "start": 1595, + "end": 1596, "loc": { "start": { - "line": 44, - "column": 10 + "line": 58, + "column": 44 }, "end": { - "line": 44, - "column": 11 + "line": 58, + "column": 45 } } }, @@ -6844,23 +8845,23 @@ "postfix": false, "binop": null }, - "value": "inputTypeProp", - "start": 1159, - "end": 1172, + "value": "help", + "start": 1598, + "end": 1602, "loc": { "start": { - "line": 44, - "column": 11 + "line": 59, + "column": 1 }, "end": { - "line": 44, - "column": 24 + "line": 59, + "column": 5 } } }, { "type": { - "label": ",", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -6871,16 +8872,16 @@ "binop": null, "updateContext": null }, - "start": 1172, - "end": 1173, + "start": 1602, + "end": 1603, "loc": { "start": { - "line": 44, - "column": 24 + "line": 59, + "column": 5 }, "end": { - "line": 44, - "column": 25 + "line": 59, + "column": 6 } } }, @@ -6896,24 +8897,24 @@ "postfix": false, "binop": null }, - "value": "disabled", - "start": 1175, - "end": 1183, + "value": "PropTypes", + "start": 1604, + "end": 1613, "loc": { "start": { - "line": 45, - "column": 1 + "line": 59, + "column": 7 }, "end": { - "line": 45, - "column": 9 + "line": 59, + "column": 16 } } }, { "type": { - "label": ":", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -6923,16 +8924,16 @@ "binop": null, "updateContext": null }, - "start": 1183, - "end": 1184, + "start": 1613, + "end": 1614, "loc": { "start": { - "line": 45, - "column": 9 + "line": 59, + "column": 16 }, "end": { - "line": 45, - "column": 10 + "line": 59, + "column": 17 } } }, @@ -6948,24 +8949,24 @@ "postfix": false, "binop": null }, - "value": "PropTypes", - "start": 1185, - "end": 1194, + "value": "string", + "start": 1614, + "end": 1620, "loc": { "start": { - "line": 45, - "column": 11 + "line": 59, + "column": 17 }, "end": { - "line": 45, - "column": 20 + "line": 59, + "column": 23 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -6975,16 +8976,16 @@ "binop": null, "updateContext": null }, - "start": 1194, - "end": 1195, + "start": 1620, + "end": 1621, "loc": { "start": { - "line": 45, - "column": 20 + "line": 59, + "column": 23 }, "end": { - "line": 45, - "column": 21 + "line": 59, + "column": 24 } } }, @@ -7000,23 +9001,23 @@ "postfix": false, "binop": null }, - "value": "bool", - "start": 1195, - "end": 1199, + "value": "value", + "start": 1623, + "end": 1628, "loc": { "start": { - "line": 45, - "column": 21 + "line": 60, + "column": 1 }, "end": { - "line": 45, - "column": 25 + "line": 60, + "column": 6 } } }, { "type": { - "label": ",", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -7027,16 +9028,16 @@ "binop": null, "updateContext": null }, - "start": 1199, - "end": 1200, + "start": 1628, + "end": 1629, "loc": { "start": { - "line": 45, - "column": 25 + "line": 60, + "column": 6 }, "end": { - "line": 45, - "column": 26 + "line": 60, + "column": 7 } } }, @@ -7052,23 +9053,23 @@ "postfix": false, "binop": null }, - "value": "message", - "start": 1202, - "end": 1209, + "value": "valuePropType", + "start": 1630, + "end": 1643, "loc": { "start": { - "line": 46, - "column": 1 + "line": 60, + "column": 8 }, "end": { - "line": 46, - "column": 8 + "line": 60, + "column": 21 } } }, { "type": { - "label": ":", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -7079,16 +9080,16 @@ "binop": null, "updateContext": null }, - "start": 1209, - "end": 1210, + "start": 1643, + "end": 1644, "loc": { "start": { - "line": 46, - "column": 8 + "line": 60, + "column": 21 }, "end": { - "line": 46, - "column": 9 + "line": 60, + "column": 22 } } }, @@ -7104,23 +9105,23 @@ "postfix": false, "binop": null }, - "value": "messagePropShape", - "start": 1211, - "end": 1227, + "value": "onValueChange", + "start": 1646, + "end": 1659, "loc": { "start": { - "line": 46, - "column": 10 + "line": 61, + "column": 1 }, "end": { - "line": 46, - "column": 26 + "line": 61, + "column": 14 } } }, { "type": { - "label": ",", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -7131,16 +9132,16 @@ "binop": null, "updateContext": null }, - "start": 1227, - "end": 1228, + "start": 1659, + "end": 1660, "loc": { "start": { - "line": 46, - "column": 26 + "line": 61, + "column": 14 }, "end": { - "line": 46, - "column": 27 + "line": 61, + "column": 15 } } }, @@ -7156,23 +9157,23 @@ "postfix": false, "binop": null }, - "value": "onBlur", - "start": 1230, - "end": 1236, + "value": "onValueChangePropType", + "start": 1661, + "end": 1682, "loc": { "start": { - "line": 47, - "column": 1 + "line": 61, + "column": 16 }, "end": { - "line": 47, - "column": 7 + "line": 61, + "column": 37 } } }, { "type": { - "label": ":", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -7183,16 +9184,16 @@ "binop": null, "updateContext": null }, - "start": 1236, - "end": 1237, + "start": 1682, + "end": 1683, "loc": { "start": { - "line": 47, - "column": 7 + "line": 61, + "column": 37 }, "end": { - "line": 47, - "column": 8 + "line": 61, + "column": 38 } } }, @@ -7208,24 +9209,24 @@ "postfix": false, "binop": null }, - "value": "PropTypes", - "start": 1238, - "end": 1247, + "value": "inputType", + "start": 1685, + "end": 1694, "loc": { "start": { - "line": 47, - "column": 9 + "line": 62, + "column": 1 }, "end": { - "line": 47, - "column": 18 + "line": 62, + "column": 10 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ":", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -7235,16 +9236,16 @@ "binop": null, "updateContext": null }, - "start": 1247, - "end": 1248, + "start": 1694, + "end": 1695, "loc": { "start": { - "line": 47, - "column": 18 + "line": 62, + "column": 10 }, "end": { - "line": 47, - "column": 19 + "line": 62, + "column": 11 } } }, @@ -7260,17 +9261,17 @@ "postfix": false, "binop": null }, - "value": "func", - "start": 1248, - "end": 1252, + "value": "inputTypeProp", + "start": 1696, + "end": 1709, "loc": { "start": { - "line": 47, - "column": 19 + "line": 62, + "column": 12 }, "end": { - "line": 47, - "column": 23 + "line": 62, + "column": 25 } } }, @@ -7287,16 +9288,16 @@ "binop": null, "updateContext": null }, - "start": 1252, - "end": 1253, + "start": 1709, + "end": 1710, "loc": { "start": { - "line": 47, - "column": 23 + "line": 62, + "column": 25 }, "end": { - "line": 47, - "column": 24 + "line": 62, + "column": 26 } } }, @@ -7312,17 +9313,17 @@ "postfix": false, "binop": null }, - "value": "onFocus", - "start": 1255, - "end": 1262, + "value": "ariaDescribedbyAttr", + "start": 1712, + "end": 1731, "loc": { "start": { - "line": 48, + "line": 63, "column": 1 }, "end": { - "line": 48, - "column": 8 + "line": 63, + "column": 20 } } }, @@ -7339,16 +9340,16 @@ "binop": null, "updateContext": null }, - "start": 1262, - "end": 1263, + "start": 1731, + "end": 1732, "loc": { "start": { - "line": 48, - "column": 8 + "line": 63, + "column": 20 }, "end": { - "line": 48, - "column": 9 + "line": 63, + "column": 21 } } }, @@ -7365,16 +9366,16 @@ "binop": null }, "value": "PropTypes", - "start": 1264, - "end": 1273, + "start": 1733, + "end": 1742, "loc": { "start": { - "line": 48, - "column": 10 + "line": 63, + "column": 22 }, "end": { - "line": 48, - "column": 19 + "line": 63, + "column": 31 } } }, @@ -7391,16 +9392,16 @@ "binop": null, "updateContext": null }, - "start": 1273, - "end": 1274, + "start": 1742, + "end": 1743, "loc": { "start": { - "line": 48, - "column": 19 + "line": 63, + "column": 31 }, "end": { - "line": 48, - "column": 20 + "line": 63, + "column": 32 } } }, @@ -7416,92 +9417,76 @@ "postfix": false, "binop": null }, - "value": "func", - "start": 1274, - "end": 1278, + "value": "string", + "start": 1743, + "end": 1749, "loc": { "start": { - "line": 48, - "column": 20 + "line": 63, + "column": 32 }, "end": { - "line": 48, - "column": 24 + "line": 63, + "column": 38 } } }, { "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": 1279, - "end": 1280, + "start": 1749, + "end": 1750, "loc": { "start": { - "line": 49, - "column": 0 + "line": 63, + "column": 38 }, "end": { - "line": 49, - "column": 1 + "line": 63, + "column": 39 } } }, { "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": 1280, - "end": 1281, + "value": "onBlur", + "start": 1752, + "end": 1758, "loc": { "start": { - "line": 49, + "line": 64, "column": 1 }, "end": { - "line": 49, - "column": 2 - } - } - }, - { - "type": "CommentBlock", - "value": "*\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 ", - "start": 1283, - "end": 1478, - "loc": { - "start": { - "line": 51, - "column": 0 - }, - "end": { - "line": 55, - "column": 3 + "line": 64, + "column": 7 } } }, { "type": { - "label": "export", - "keyword": "export", - "beforeExpr": false, + "label": ":", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -7511,123 +9496,120 @@ "binop": null, "updateContext": null }, - "value": "export", - "start": 1479, - "end": 1485, + "start": 1758, + "end": 1759, "loc": { "start": { - "line": 56, - "column": 0 + "line": 64, + "column": 7 }, "end": { - "line": 56, - "column": 6 + "line": 64, + "column": 8 } } }, { "type": { - "label": "const", - "keyword": "const", + "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": "const", - "start": 1486, - "end": 1491, + "value": "PropTypes", + "start": 1760, + "end": 1769, "loc": { "start": { - "line": 56, - "column": 7 + "line": 64, + "column": 9 }, "end": { - "line": 56, - "column": 12 + "line": 64, + "column": 18 } } }, { "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": "fieldInnerPropTypes", - "start": 1492, - "end": 1511, + "start": 1769, + "end": 1770, "loc": { "start": { - "line": 56, - "column": 13 + "line": 64, + "column": 18 }, "end": { - "line": 56, - "column": 32 + "line": 64, + "column": 19 } } }, { "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": 1512, - "end": 1513, + "value": "func", + "start": 1770, + "end": 1774, "loc": { "start": { - "line": 56, - "column": 33 + "line": 64, + "column": 19 }, "end": { - "line": 56, - "column": 34 + "line": 64, + "column": 23 } } }, { "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": 1514, - "end": 1515, + "start": 1774, + "end": 1775, "loc": { "start": { - "line": 56, - "column": 35 + "line": 64, + "column": 23 }, "end": { - "line": 56, - "column": 36 + "line": 64, + "column": 24 } } }, @@ -7643,17 +9625,17 @@ "postfix": false, "binop": null }, - "value": "id", - "start": 1517, - "end": 1519, + "value": "onFocus", + "start": 1777, + "end": 1784, "loc": { "start": { - "line": 57, + "line": 65, "column": 1 }, "end": { - "line": 57, - "column": 3 + "line": 65, + "column": 8 } } }, @@ -7670,16 +9652,16 @@ "binop": null, "updateContext": null }, - "start": 1519, - "end": 1520, + "start": 1784, + "end": 1785, "loc": { "start": { - "line": 57, - "column": 3 + "line": 65, + "column": 8 }, "end": { - "line": 57, - "column": 4 + "line": 65, + "column": 9 } } }, @@ -7696,16 +9678,16 @@ "binop": null }, "value": "PropTypes", - "start": 1521, - "end": 1530, + "start": 1786, + "end": 1795, "loc": { "start": { - "line": 57, - "column": 5 + "line": 65, + "column": 10 }, "end": { - "line": 57, - "column": 14 + "line": 65, + "column": 19 } } }, @@ -7722,16 +9704,16 @@ "binop": null, "updateContext": null }, - "start": 1530, - "end": 1531, + "start": 1795, + "end": 1796, "loc": { "start": { - "line": 57, - "column": 14 + "line": 65, + "column": 19 }, "end": { - "line": 57, - "column": 15 + "line": 65, + "column": 20 } } }, @@ -7747,23 +9729,23 @@ "postfix": false, "binop": null }, - "value": "string", - "start": 1531, - "end": 1537, + "value": "func", + "start": 1796, + "end": 1800, "loc": { "start": { - "line": 57, - "column": 15 + "line": 65, + "column": 20 }, "end": { - "line": 57, - "column": 21 + "line": 65, + "column": 24 } } }, { "type": { - "label": ".", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -7771,51 +9753,24 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1537, - "end": 1538, - "loc": { - "start": { - "line": 57, - "column": 21 - }, - "end": { - "line": 57, - "column": 22 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, "binop": null }, - "value": "isRequired", - "start": 1538, - "end": 1548, + "start": 1801, + "end": 1802, "loc": { "start": { - "line": 57, - "column": 22 + "line": 66, + "column": 0 }, "end": { - "line": 57, - "column": 32 + "line": 66, + "column": 1 } } }, { "type": { - "label": ",", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -7826,49 +9781,52 @@ "binop": null, "updateContext": null }, - "start": 1548, - "end": 1549, + "start": 1802, + "end": 1803, "loc": { "start": { - "line": 57, - "column": 32 + "line": 66, + "column": 1 }, "end": { - "line": 57, - "column": 33 + "line": 66, + "column": 2 } } }, { "type": { - "label": "name", + "label": "export", + "keyword": "export", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "fieldClassName", - "start": 1551, - "end": 1565, + "value": "export", + "start": 1805, + "end": 1811, "loc": { "start": { - "line": 58, - "column": 1 + "line": 68, + "column": 0 }, "end": { - "line": 58, - "column": 15 + "line": 68, + "column": 6 } } }, { "type": { - "label": ":", - "beforeExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -7878,16 +9836,17 @@ "binop": null, "updateContext": null }, - "start": 1565, - "end": 1566, + "value": "const", + "start": 1812, + "end": 1817, "loc": { "start": { - "line": 58, - "column": 15 + "line": 68, + "column": 7 }, "end": { - "line": 58, - "column": 16 + "line": 68, + "column": 12 } } }, @@ -7903,43 +9862,44 @@ "postfix": false, "binop": null }, - "value": "PropTypes", - "start": 1567, - "end": 1576, + "value": "fieldPropTypes", + "start": 1818, + "end": 1832, "loc": { "start": { - "line": 58, - "column": 17 + "line": 68, + "column": 13 }, "end": { - "line": 58, - "column": 26 + "line": 68, + "column": 27 } } }, { "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": 1576, - "end": 1577, + "value": "=", + "start": 1833, + "end": 1834, "loc": { "start": { - "line": 58, - "column": 26 + "line": 68, + "column": 28 }, "end": { - "line": 58, - "column": 27 + "line": 68, + "column": 29 } } }, @@ -7955,24 +9915,24 @@ "postfix": false, "binop": null }, - "value": "string", - "start": 1577, - "end": 1583, + "value": "fieldInnerPropTypes", + "start": 1835, + "end": 1854, "loc": { "start": { - "line": 58, - "column": 27 + "line": 68, + "column": 30 }, "end": { - "line": 58, - "column": 33 + "line": 68, + "column": 49 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -7982,49 +9942,68 @@ "binop": null, "updateContext": null }, - "start": 1583, - "end": 1584, + "start": 1854, + "end": 1855, "loc": { "start": { - "line": 58, - "column": 33 + "line": 68, + "column": 49 }, "end": { - "line": 58, - "column": 34 + "line": 68, + "column": 50 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * The shape of one option for a select field\n *\n * @type {{label: shim, value: shim}}\n ", + "start": 1857, + "end": 1951, + "loc": { + "start": { + "line": 70, + "column": 0 + }, + "end": { + "line": 74, + "column": 3 } } }, { "type": { - "label": "name", + "label": "export", + "keyword": "export", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "isRequired", - "start": 1584, - "end": 1594, + "value": "export", + "start": 1952, + "end": 1958, "loc": { "start": { - "line": 58, - "column": 34 + "line": 75, + "column": 0 }, "end": { - "line": 58, - "column": 44 + "line": 75, + "column": 6 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -8034,16 +10013,17 @@ "binop": null, "updateContext": null }, - "start": 1594, - "end": 1595, + "value": "const", + "start": 1959, + "end": 1964, "loc": { "start": { - "line": 58, - "column": 44 + "line": 75, + "column": 7 }, "end": { - "line": 58, - "column": 45 + "line": 75, + "column": 12 } } }, @@ -8059,50 +10039,51 @@ "postfix": false, "binop": null }, - "value": "help", - "start": 1597, - "end": 1601, + "value": "optionShape", + "start": 1965, + "end": 1976, "loc": { "start": { - "line": 59, - "column": 1 + "line": 75, + "column": 13 }, "end": { - "line": 59, - "column": 5 + "line": 75, + "column": 24 } } }, { "type": { - "label": ":", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 1601, - "end": 1602, + "value": "=", + "start": 1977, + "end": 1978, "loc": { "start": { - "line": 59, - "column": 5 + "line": 75, + "column": 25 }, "end": { - "line": 59, - "column": 6 + "line": 75, + "column": 26 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -8111,43 +10092,16 @@ "postfix": false, "binop": null }, - "value": "PropTypes", - "start": 1603, - "end": 1612, - "loc": { - "start": { - "line": 59, - "column": 7 - }, - "end": { - "line": 59, - "column": 16 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 1612, - "end": 1613, + "start": 1979, + "end": 1980, "loc": { "start": { - "line": 59, - "column": 16 + "line": 75, + "column": 27 }, "end": { - "line": 59, - "column": 17 + "line": 75, + "column": 28 } } }, @@ -8163,23 +10117,23 @@ "postfix": false, "binop": null }, - "value": "string", - "start": 1613, - "end": 1619, + "value": "label", + "start": 1982, + "end": 1987, "loc": { "start": { - "line": 59, - "column": 17 + "line": 76, + "column": 1 }, "end": { - "line": 59, - "column": 23 + "line": 76, + "column": 6 } } }, { "type": { - "label": ",", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -8190,16 +10144,16 @@ "binop": null, "updateContext": null }, - "start": 1619, - "end": 1620, + "start": 1987, + "end": 1988, "loc": { "start": { - "line": 59, - "column": 23 + "line": 76, + "column": 6 }, "end": { - "line": 59, - "column": 24 + "line": 76, + "column": 7 } } }, @@ -8215,24 +10169,24 @@ "postfix": false, "binop": null }, - "value": "value", - "start": 1622, - "end": 1627, + "value": "PropTypes", + "start": 1989, + "end": 1998, "loc": { "start": { - "line": 60, - "column": 1 + "line": 76, + "column": 8 }, "end": { - "line": 60, - "column": 6 + "line": 76, + "column": 17 } } }, { "type": { - "label": ":", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -8242,16 +10196,16 @@ "binop": null, "updateContext": null }, - "start": 1627, - "end": 1628, + "start": 1998, + "end": 1999, "loc": { "start": { - "line": 60, - "column": 6 + "line": 76, + "column": 17 }, "end": { - "line": 60, - "column": 7 + "line": 76, + "column": 18 } } }, @@ -8267,17 +10221,17 @@ "postfix": false, "binop": null }, - "value": "valuePropType", - "start": 1629, - "end": 1642, + "value": "string", + "start": 1999, + "end": 2005, "loc": { "start": { - "line": 60, - "column": 8 + "line": 76, + "column": 18 }, "end": { - "line": 60, - "column": 21 + "line": 76, + "column": 24 } } }, @@ -8294,16 +10248,16 @@ "binop": null, "updateContext": null }, - "start": 1642, - "end": 1643, + "start": 2005, + "end": 2006, "loc": { "start": { - "line": 60, - "column": 21 + "line": 76, + "column": 24 }, "end": { - "line": 60, - "column": 22 + "line": 76, + "column": 25 } } }, @@ -8319,17 +10273,17 @@ "postfix": false, "binop": null }, - "value": "onValueChange", - "start": 1645, - "end": 1658, + "value": "value", + "start": 2008, + "end": 2013, "loc": { "start": { - "line": 61, + "line": 77, "column": 1 }, "end": { - "line": 61, - "column": 14 + "line": 77, + "column": 6 } } }, @@ -8346,16 +10300,16 @@ "binop": null, "updateContext": null }, - "start": 1658, - "end": 1659, + "start": 2013, + "end": 2014, "loc": { "start": { - "line": 61, - "column": 14 + "line": 77, + "column": 6 }, "end": { - "line": 61, - "column": 15 + "line": 77, + "column": 7 } } }, @@ -8371,24 +10325,24 @@ "postfix": false, "binop": null }, - "value": "onValueChangePropType", - "start": 1660, - "end": 1681, + "value": "PropTypes", + "start": 2015, + "end": 2024, "loc": { "start": { - "line": 61, - "column": 16 + "line": 77, + "column": 8 }, "end": { - "line": 61, - "column": 37 + "line": 77, + "column": 17 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -8398,16 +10352,16 @@ "binop": null, "updateContext": null }, - "start": 1681, - "end": 1682, + "start": 2024, + "end": 2025, "loc": { "start": { - "line": 61, - "column": 37 + "line": 77, + "column": 17 }, "end": { - "line": 61, - "column": 38 + "line": 77, + "column": 18 } } }, @@ -8423,25 +10377,50 @@ "postfix": false, "binop": null }, - "value": "inputType", - "start": 1684, - "end": 1693, + "value": "oneOfType", + "start": 2025, + "end": 2034, "loc": { "start": { - "line": 62, - "column": 1 + "line": 77, + "column": 18 }, "end": { - "line": 62, - "column": 10 + "line": 77, + "column": 27 } } }, { "type": { - "label": ":", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2034, + "end": 2035, + "loc": { + "start": { + "line": 77, + "column": 27 + }, + "end": { + "line": 77, + "column": 28 + } + } + }, + { + "type": { + "label": "[", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -8450,16 +10429,16 @@ "binop": null, "updateContext": null }, - "start": 1693, - "end": 1694, + "start": 2035, + "end": 2036, "loc": { "start": { - "line": 62, - "column": 10 + "line": 77, + "column": 28 }, "end": { - "line": 62, - "column": 11 + "line": 77, + "column": 29 } } }, @@ -8475,24 +10454,24 @@ "postfix": false, "binop": null }, - "value": "inputTypeProp", - "start": 1695, - "end": 1708, + "value": "PropTypes", + "start": 2039, + "end": 2048, "loc": { "start": { - "line": 62, - "column": 12 + "line": 78, + "column": 2 }, "end": { - "line": 62, - "column": 25 + "line": 78, + "column": 11 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -8502,16 +10481,16 @@ "binop": null, "updateContext": null }, - "start": 1708, - "end": 1709, + "start": 2048, + "end": 2049, "loc": { "start": { - "line": 62, - "column": 25 + "line": 78, + "column": 11 }, "end": { - "line": 62, - "column": 26 + "line": 78, + "column": 12 } } }, @@ -8527,23 +10506,23 @@ "postfix": false, "binop": null }, - "value": "ariaDescribedbyAttr", - "start": 1711, - "end": 1730, + "value": "string", + "start": 2049, + "end": 2055, "loc": { "start": { - "line": 63, - "column": 1 + "line": 78, + "column": 12 }, "end": { - "line": 63, - "column": 20 + "line": 78, + "column": 18 } } }, { "type": { - "label": ":", + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -8554,16 +10533,16 @@ "binop": null, "updateContext": null }, - "start": 1730, - "end": 1731, + "start": 2055, + "end": 2056, "loc": { "start": { - "line": 63, - "column": 20 + "line": 78, + "column": 18 }, "end": { - "line": 63, - "column": 21 + "line": 78, + "column": 19 } } }, @@ -8580,16 +10559,16 @@ "binop": null }, "value": "PropTypes", - "start": 1732, - "end": 1741, + "start": 2059, + "end": 2068, "loc": { "start": { - "line": 63, - "column": 22 + "line": 79, + "column": 2 }, "end": { - "line": 63, - "column": 31 + "line": 79, + "column": 11 } } }, @@ -8606,16 +10585,16 @@ "binop": null, "updateContext": null }, - "start": 1741, - "end": 1742, + "start": 2068, + "end": 2069, "loc": { "start": { - "line": 63, - "column": 31 + "line": 79, + "column": 11 }, "end": { - "line": 63, - "column": 32 + "line": 79, + "column": 12 } } }, @@ -8631,17 +10610,17 @@ "postfix": false, "binop": null }, - "value": "string", - "start": 1742, - "end": 1748, + "value": "number", + "start": 2069, + "end": 2075, "loc": { "start": { - "line": 63, - "column": 32 + "line": 79, + "column": 12 }, "end": { - "line": 63, - "column": 38 + "line": 79, + "column": 18 } } }, @@ -8658,76 +10637,75 @@ "binop": null, "updateContext": null }, - "start": 1748, - "end": 1749, + "start": 2075, + "end": 2076, "loc": { "start": { - "line": 63, - "column": 38 + "line": 79, + "column": 18 }, "end": { - "line": 63, - "column": 39 + "line": 79, + "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": "onBlur", - "start": 1751, - "end": 1757, + "start": 2078, + "end": 2079, "loc": { "start": { - "line": 64, + "line": 80, "column": 1 }, "end": { - "line": 64, - "column": 7 + "line": 80, + "column": 2 } } }, { "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": 1757, - "end": 1758, + "start": 2079, + "end": 2080, "loc": { "start": { - "line": 64, - "column": 7 + "line": 80, + "column": 2 }, "end": { - "line": 64, - "column": 8 + "line": 80, + "column": 3 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -8735,24 +10713,23 @@ "postfix": false, "binop": null }, - "value": "PropTypes", - "start": 1759, - "end": 1768, + "start": 2081, + "end": 2082, "loc": { "start": { - "line": 64, - "column": 9 + "line": 81, + "column": 0 }, "end": { - "line": 64, - "column": 18 + "line": 81, + "column": 1 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -8762,49 +10739,68 @@ "binop": null, "updateContext": null }, - "start": 1768, - "end": 1769, + "start": 2082, + "end": 2083, "loc": { "start": { - "line": 64, - "column": 18 + "line": 81, + "column": 1 }, "end": { - "line": 64, - "column": 19 + "line": 81, + "column": 2 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * Shape of options prop for select fields\n *\n * @type {shim}\n ", + "start": 2085, + "end": 2154, + "loc": { + "start": { + "line": 83, + "column": 0 + }, + "end": { + "line": 87, + "column": 3 } } }, { "type": { - "label": "name", + "label": "export", + "keyword": "export", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "func", - "start": 1769, - "end": 1773, + "value": "export", + "start": 2155, + "end": 2161, "loc": { "start": { - "line": 64, - "column": 19 + "line": 88, + "column": 0 }, "end": { - "line": 64, - "column": 23 + "line": 88, + "column": 6 } } }, { "type": { - "label": ",", - "beforeExpr": true, + "label": "const", + "keyword": "const", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -8814,16 +10810,17 @@ "binop": null, "updateContext": null }, - "start": 1773, - "end": 1774, + "value": "const", + "start": 2162, + "end": 2167, "loc": { "start": { - "line": 64, - "column": 23 + "line": 88, + "column": 7 }, "end": { - "line": 64, - "column": 24 + "line": 88, + "column": 12 } } }, @@ -8839,43 +10836,44 @@ "postfix": false, "binop": null }, - "value": "onFocus", - "start": 1776, - "end": 1783, + "value": "optionsShapeProp", + "start": 2168, + "end": 2184, "loc": { "start": { - "line": 65, - "column": 1 + "line": 88, + "column": 13 }, "end": { - "line": 65, - "column": 8 + "line": 88, + "column": 29 } } }, { "type": { - "label": ":", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 1783, - "end": 1784, + "value": "=", + "start": 2185, + "end": 2186, "loc": { "start": { - "line": 65, - "column": 8 + "line": 88, + "column": 30 }, "end": { - "line": 65, - "column": 9 + "line": 88, + "column": 31 } } }, @@ -8892,16 +10890,16 @@ "binop": null }, "value": "PropTypes", - "start": 1785, - "end": 1794, + "start": 2187, + "end": 2196, "loc": { "start": { - "line": 65, - "column": 10 + "line": 88, + "column": 32 }, "end": { - "line": 65, - "column": 19 + "line": 88, + "column": 41 } } }, @@ -8918,16 +10916,16 @@ "binop": null, "updateContext": null }, - "start": 1794, - "end": 1795, + "start": 2196, + "end": 2197, "loc": { "start": { - "line": 65, - "column": 19 + "line": 88, + "column": 41 }, "end": { - "line": 65, - "column": 20 + "line": 88, + "column": 42 } } }, @@ -8943,25 +10941,25 @@ "postfix": false, "binop": null }, - "value": "func", - "start": 1795, - "end": 1799, + "value": "arrayOf", + "start": 2197, + "end": 2204, "loc": { "start": { - "line": 65, - "column": 20 + "line": 88, + "column": 42 }, "end": { - "line": 65, - "column": 24 + "line": 88, + "column": 49 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -8969,49 +10967,48 @@ "postfix": false, "binop": null }, - "start": 1800, - "end": 1801, + "start": 2204, + "end": 2205, "loc": { "start": { - "line": 66, - "column": 0 + "line": 88, + "column": 49 }, "end": { - "line": 66, - "column": 1 + "line": 88, + "column": 50 } } }, { "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": 1801, - "end": 1802, + "value": "PropTypes", + "start": 2207, + "end": 2216, "loc": { "start": { - "line": 66, + "line": 89, "column": 1 }, "end": { - "line": 66, - "column": 2 + "line": 89, + "column": 10 } } }, { "type": { - "label": "export", - "keyword": "export", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -9022,45 +11019,67 @@ "binop": null, "updateContext": null }, - "value": "export", - "start": 1804, - "end": 1810, + "start": 2216, + "end": 2217, "loc": { "start": { - "line": 68, - "column": 0 + "line": 89, + "column": 10 }, "end": { - "line": 68, - "column": 6 + "line": 89, + "column": 11 } } }, { "type": { - "label": "const", - "keyword": "const", + "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": "const", - "start": 1811, - "end": 1816, + "value": "shape", + "start": 2217, + "end": 2222, "loc": { "start": { - "line": 68, - "column": 7 + "line": 89, + "column": 11 }, "end": { - "line": 68, - "column": 12 + "line": 89, + "column": 16 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 2222, + "end": 2223, + "loc": { + "start": { + "line": 89, + "column": 16 + }, + "end": { + "line": 89, + "column": 17 } } }, @@ -9076,52 +11095,50 @@ "postfix": false, "binop": null }, - "value": "fieldPropTypes", - "start": 1817, - "end": 1831, + "value": "optionShape", + "start": 2223, + "end": 2234, "loc": { "start": { - "line": 68, - "column": 13 + "line": 89, + "column": 17 }, "end": { - "line": 68, - "column": 27 + "line": 89, + "column": 28 } } }, { "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": 1832, - "end": 1833, + "start": 2234, + "end": 2235, "loc": { "start": { - "line": 68, + "line": 89, "column": 28 }, "end": { - "line": 68, + "line": 89, "column": 29 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -9129,17 +11146,16 @@ "postfix": false, "binop": null }, - "value": "fieldInnerPropTypes", - "start": 1834, - "end": 1853, + "start": 2236, + "end": 2237, "loc": { "start": { - "line": 68, - "column": 30 + "line": 90, + "column": 0 }, "end": { - "line": 68, - "column": 49 + "line": 90, + "column": 1 } } }, @@ -9156,16 +11172,16 @@ "binop": null, "updateContext": null }, - "start": 1853, - "end": 1854, + "start": 2237, + "end": 2238, "loc": { "start": { - "line": 68, - "column": 49 + "line": 90, + "column": 1 }, "end": { - "line": 68, - "column": 50 + "line": 90, + "column": 2 } } }, @@ -9182,16 +11198,16 @@ "binop": null, "updateContext": null }, - "start": 1855, - "end": 1855, + "start": 2238, + "end": 2238, "loc": { "start": { - "line": 69, - "column": 0 + "line": 90, + "column": 2 }, "end": { - "line": 69, - "column": 0 + "line": 90, + "column": 2 } } } diff --git a/docs/ast/source/components/fields/select/SelectField.js.json b/docs/ast/source/components/fields/select/SelectField.js.json index d0933c8..440cbb1 100644 --- a/docs/ast/source/components/fields/select/SelectField.js.json +++ b/docs/ast/source/components/fields/select/SelectField.js.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 1360, + "end": 1435, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 81, + "line": 84, "column": 2 } }, "program": { "type": "Program", "start": 0, - "end": 1360, + "end": 1435, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 81, + "line": 84, "column": 2 } }, @@ -336,20 +336,106 @@ "raw": "'../../RenderGroup'" }, "value": "../../RenderGroup" + } + }, + { + "type": "ImportDeclaration", + "start": 156, + "end": 202, + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 46 + } + }, + "specifiers": [ + { + "type": "ImportSpecifier", + "start": 164, + "end": 180, + "loc": { + "start": { + "line": 5, + "column": 8 + }, + "end": { + "line": 5, + "column": 24 + } + }, + "imported": { + "type": "Identifier", + "start": 164, + "end": 180, + "loc": { + "start": { + "line": 5, + "column": 8 + }, + "end": { + "line": 5, + "column": 24 + }, + "identifierName": "optionsShapeProp" + }, + "name": "optionsShapeProp" + }, + "local": { + "type": "Identifier", + "start": 164, + "end": 180, + "loc": { + "start": { + "line": 5, + "column": 8 + }, + "end": { + "line": 5, + "column": 24 + }, + "identifierName": "optionsShapeProp" + }, + "name": "optionsShapeProp" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 187, + "end": 201, + "loc": { + "start": { + "line": 5, + "column": 31 + }, + "end": { + "line": 5, + "column": 45 + } + }, + "extra": { + "rawValue": "../propTypes", + "raw": "'../propTypes'" + }, + "value": "../propTypes" }, "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Creates a select field\n *\n * @param {Object} props\n * @returns {*}\n * @constructor\n ", - "start": 157, - "end": 250, + "start": 204, + "end": 297, "loc": { "start": { - "line": 6, + "line": 7, "column": 0 }, "end": { - "line": 12, + "line": 13, "column": 3 } } @@ -358,15 +444,15 @@ }, { "type": "ExportNamedDeclaration", - "start": 251, - "end": 1128, + "start": 298, + "end": 1175, "loc": { "start": { - "line": 13, + "line": 14, "column": 0 }, "end": { - "line": 63, + "line": 64, "column": 2 } }, @@ -374,44 +460,44 @@ "source": null, "declaration": { "type": "VariableDeclaration", - "start": 258, - "end": 1128, + "start": 305, + "end": 1175, "loc": { "start": { - "line": 13, + "line": 14, "column": 7 }, "end": { - "line": 63, + "line": 64, "column": 2 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 264, - "end": 1127, + "start": 311, + "end": 1174, "loc": { "start": { - "line": 13, + "line": 14, "column": 13 }, "end": { - "line": 63, + "line": 64, "column": 1 } }, "id": { "type": "Identifier", - "start": 264, - "end": 275, + "start": 311, + "end": 322, "loc": { "start": { - "line": 13, + "line": 14, "column": 13 }, "end": { - "line": 13, + "line": 14, "column": 24 }, "identifierName": "SelectField" @@ -421,29 +507,29 @@ }, "init": { "type": "ArrowFunctionExpression", - "start": 278, - "end": 1127, + "start": 325, + "end": 1174, "loc": { "start": { - "line": 13, + "line": 14, "column": 27 }, "end": { - "line": 63, + "line": 64, "column": 1 } }, "id": { "type": "Identifier", - "start": 264, - "end": 275, + "start": 311, + "end": 322, "loc": { "start": { - "line": 13, + "line": 14, "column": 13 }, "end": { - "line": 13, + "line": 14, "column": 24 }, "identifierName": "SelectField" @@ -457,15 +543,15 @@ "params": [ { "type": "Identifier", - "start": 279, - "end": 284, + "start": 326, + "end": 331, "loc": { "start": { - "line": 13, + "line": 14, "column": 28 }, "end": { - "line": 13, + "line": 14, "column": 33 }, "identifierName": "props" @@ -475,44 +561,44 @@ ], "body": { "type": "BlockStatement", - "start": 289, - "end": 1127, + "start": 336, + "end": 1174, "loc": { "start": { - "line": 13, + "line": 14, "column": 38 }, "end": { - "line": 63, + "line": 64, "column": 1 } }, "body": [ { "type": "FunctionDeclaration", - "start": 382, - "end": 461, + "start": 429, + "end": 508, "loc": { "start": { - "line": 20, + "line": 21, "column": 1 }, "end": { - "line": 22, + "line": 23, "column": 2 } }, "id": { "type": "Identifier", - "start": 391, - "end": 404, + "start": 438, + "end": 451, "loc": { "start": { - "line": 20, + "line": 21, "column": 10 }, "end": { - "line": 20, + "line": 21, "column": 23 }, "identifierName": "changeHandler" @@ -526,15 +612,15 @@ "params": [ { "type": "Identifier", - "start": 405, - "end": 414, + "start": 452, + "end": 461, "loc": { "start": { - "line": 20, + "line": 21, "column": 24 }, "end": { - "line": 20, + "line": 21, "column": 33 }, "identifierName": "selection" @@ -544,72 +630,72 @@ ], "body": { "type": "BlockStatement", - "start": 416, - "end": 461, + "start": 463, + "end": 508, "loc": { "start": { - "line": 20, + "line": 21, "column": 35 }, "end": { - "line": 22, + "line": 23, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 420, - "end": 458, + "start": 467, + "end": 505, "loc": { "start": { - "line": 21, + "line": 22, "column": 2 }, "end": { - "line": 21, + "line": 22, "column": 40 } }, "argument": { "type": "CallExpression", - "start": 427, - "end": 457, + "start": 474, + "end": 504, "loc": { "start": { - "line": 21, + "line": 22, "column": 9 }, "end": { - "line": 21, + "line": 22, "column": 39 } }, "callee": { "type": "MemberExpression", - "start": 427, - "end": 446, + "start": 474, + "end": 493, "loc": { "start": { - "line": 21, + "line": 22, "column": 9 }, "end": { - "line": 21, + "line": 22, "column": 28 } }, "object": { "type": "Identifier", - "start": 427, - "end": 432, + "start": 474, + "end": 479, "loc": { "start": { - "line": 21, + "line": 22, "column": 9 }, "end": { - "line": 21, + "line": 22, "column": 14 }, "identifierName": "props" @@ -618,15 +704,15 @@ }, "property": { "type": "Identifier", - "start": 433, - "end": 446, + "start": 480, + "end": 493, "loc": { "start": { - "line": 21, + "line": 22, "column": 15 }, "end": { - "line": 21, + "line": 22, "column": 28 }, "identifierName": "onValueChange" @@ -638,15 +724,15 @@ "arguments": [ { "type": "Identifier", - "start": 447, - "end": 456, + "start": 494, + "end": 503, "loc": { "start": { - "line": 21, + "line": 22, "column": 29 }, "end": { - "line": 21, + "line": 22, "column": 38 }, "identifierName": "selection" @@ -664,15 +750,15 @@ { "type": "CommentBlock", "value": "*\n\t * Dispatches new value(s) to parent\n\t *\n\t * @param selection\n\t * @returns {*}\n\t ", - "start": 292, - "end": 380, + "start": 339, + "end": 427, "loc": { "start": { - "line": 14, + "line": 15, "column": 1 }, "end": { - "line": 19, + "line": 20, "column": 4 } } @@ -682,15 +768,15 @@ { "type": "CommentBlock", "value": "*\n\t * Get the className prop for the select element\n\t *\n\t * @return {String}\n\t ", - "start": 464, - "end": 547, + "start": 511, + "end": 594, "loc": { "start": { - "line": 24, + "line": 25, "column": 1 }, "end": { - "line": 28, + "line": 29, "column": 4 } } @@ -699,29 +785,29 @@ }, { "type": "FunctionDeclaration", - "start": 549, - "end": 664, + "start": 596, + "end": 711, "loc": { "start": { - "line": 29, + "line": 30, "column": 1 }, "end": { - "line": 34, + "line": 35, "column": 2 } }, "id": { "type": "Identifier", - "start": 558, - "end": 574, + "start": 605, + "end": 621, "loc": { "start": { - "line": 29, + "line": 30, "column": 10 }, "end": { - "line": 29, + "line": 30, "column": 26 }, "identifierName": "selectClassNames" @@ -735,58 +821,58 @@ "params": [], "body": { "type": "BlockStatement", - "start": 577, - "end": 664, + "start": 624, + "end": 711, "loc": { "start": { - "line": 29, + "line": 30, "column": 29 }, "end": { - "line": 34, + "line": 35, "column": 2 } }, "body": [ { "type": "ReturnStatement", - "start": 581, - "end": 661, + "start": 628, + "end": 708, "loc": { "start": { - "line": 30, + "line": 31, "column": 2 }, "end": { - "line": 33, + "line": 34, "column": 4 } }, "argument": { "type": "CallExpression", - "start": 588, - "end": 660, + "start": 635, + "end": 707, "loc": { "start": { - "line": 30, + "line": 31, "column": 9 }, "end": { - "line": 33, + "line": 34, "column": 3 } }, "callee": { "type": "Identifier", - "start": 588, - "end": 598, + "start": 635, + "end": 645, "loc": { "start": { - "line": 30, + "line": 31, "column": 9 }, "end": { - "line": 30, + "line": 31, "column": 19 }, "identifierName": "classNames" @@ -796,29 +882,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 603, - "end": 623, + "start": 650, + "end": 670, "loc": { "start": { - "line": 31, + "line": 32, "column": 3 }, "end": { - "line": 31, + "line": 32, "column": 23 } }, "object": { "type": "Identifier", - "start": 603, - "end": 608, + "start": 650, + "end": 655, "loc": { "start": { - "line": 31, + "line": 32, "column": 3 }, "end": { - "line": 31, + "line": 32, "column": 8 }, "identifierName": "props" @@ -827,15 +913,15 @@ }, "property": { "type": "Identifier", - "start": 609, - "end": 623, + "start": 656, + "end": 670, "loc": { "start": { - "line": 31, + "line": 32, "column": 9 }, "end": { - "line": 31, + "line": 32, "column": 23 }, "identifierName": "fieldClassName" @@ -846,43 +932,43 @@ }, { "type": "MemberExpression", - "start": 628, - "end": 656, + "start": 675, + "end": 703, "loc": { "start": { - "line": 32, + "line": 33, "column": 3 }, "end": { - "line": 32, + "line": 33, "column": 31 } }, "object": { "type": "MemberExpression", - "start": 628, - "end": 650, + "start": 675, + "end": 697, "loc": { "start": { - "line": 32, + "line": 33, "column": 3 }, "end": { - "line": 32, + "line": 33, "column": 25 } }, "object": { "type": "Identifier", - "start": 628, - "end": 639, + "start": 675, + "end": 686, "loc": { "start": { - "line": 32, + "line": 33, "column": 3 }, "end": { - "line": 32, + "line": 33, "column": 14 }, "identifierName": "RenderGroup" @@ -891,15 +977,15 @@ }, "property": { "type": "Identifier", - "start": 640, - "end": 650, + "start": 687, + "end": 697, "loc": { "start": { - "line": 32, + "line": 33, "column": 15 }, "end": { - "line": 32, + "line": 33, "column": 25 }, "identifierName": "classNames" @@ -910,15 +996,15 @@ }, "property": { "type": "Identifier", - "start": 651, - "end": 656, + "start": 698, + "end": 703, "loc": { "start": { - "line": 32, + "line": 33, "column": 26 }, "end": { - "line": 32, + "line": 33, "column": 31 }, "identifierName": "input" @@ -937,15 +1023,15 @@ { "type": "CommentBlock", "value": "*\n\t * Get the className prop for the select element\n\t *\n\t * @return {String}\n\t ", - "start": 464, - "end": 547, + "start": 511, + "end": 594, "loc": { "start": { - "line": 24, + "line": 25, "column": 1 }, "end": { - "line": 28, + "line": 29, "column": 4 } } @@ -954,72 +1040,72 @@ }, { "type": "ReturnStatement", - "start": 667, - "end": 1125, + "start": 714, + "end": 1172, "loc": { "start": { - "line": 36, + "line": 37, "column": 1 }, "end": { - "line": 62, + "line": 63, "column": 3 } }, "argument": { "type": "JSXElement", - "start": 678, - "end": 1118, + "start": 725, + "end": 1165, "loc": { "start": { - "line": 37, + "line": 38, "column": 2 }, "end": { - "line": 58, + "line": 59, "column": 11 } }, "openingElement": { "type": "JSXOpeningElement", - "start": 678, - "end": 820, + "start": 725, + "end": 867, "loc": { "start": { - "line": 37, + "line": 38, "column": 2 }, "end": { - "line": 43, + "line": 44, "column": 3 } }, "attributes": [ { "type": "JSXAttribute", - "start": 689, - "end": 702, + "start": 736, + "end": 749, "loc": { "start": { - "line": 38, + "line": 39, "column": 3 }, "end": { - "line": 38, + "line": 39, "column": 16 } }, "name": { "type": "JSXIdentifier", - "start": 689, - "end": 691, + "start": 736, + "end": 738, "loc": { "start": { - "line": 38, + "line": 39, "column": 3 }, "end": { - "line": 38, + "line": 39, "column": 5 } }, @@ -1027,43 +1113,43 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 692, - "end": 702, + "start": 739, + "end": 749, "loc": { "start": { - "line": 38, + "line": 39, "column": 6 }, "end": { - "line": 38, + "line": 39, "column": 16 } }, "expression": { "type": "MemberExpression", - "start": 693, - "end": 701, + "start": 740, + "end": 748, "loc": { "start": { - "line": 38, + "line": 39, "column": 7 }, "end": { - "line": 38, + "line": 39, "column": 15 } }, "object": { "type": "Identifier", - "start": 693, - "end": 698, + "start": 740, + "end": 745, "loc": { "start": { - "line": 38, + "line": 39, "column": 7 }, "end": { - "line": 38, + "line": 39, "column": 12 }, "identifierName": "props" @@ -1072,15 +1158,15 @@ }, "property": { "type": "Identifier", - "start": 699, - "end": 701, + "start": 746, + "end": 748, "loc": { "start": { - "line": 38, + "line": 39, "column": 13 }, "end": { - "line": 38, + "line": 39, "column": 15 }, "identifierName": "id" @@ -1093,29 +1179,29 @@ }, { "type": "JSXAttribute", - "start": 706, - "end": 736, + "start": 753, + "end": 783, "loc": { "start": { - "line": 39, + "line": 40, "column": 3 }, "end": { - "line": 39, + "line": 40, "column": 33 } }, "name": { "type": "JSXIdentifier", - "start": 706, - "end": 715, + "start": 753, + "end": 762, "loc": { "start": { - "line": 39, + "line": 40, "column": 3 }, "end": { - "line": 39, + "line": 40, "column": 12 } }, @@ -1123,43 +1209,43 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 716, - "end": 736, + "start": 763, + "end": 783, "loc": { "start": { - "line": 39, + "line": 40, "column": 13 }, "end": { - "line": 39, + "line": 40, "column": 33 } }, "expression": { "type": "CallExpression", - "start": 717, - "end": 735, + "start": 764, + "end": 782, "loc": { "start": { - "line": 39, + "line": 40, "column": 14 }, "end": { - "line": 39, + "line": 40, "column": 32 } }, "callee": { "type": "Identifier", - "start": 717, - "end": 733, + "start": 764, + "end": 780, "loc": { "start": { - "line": 39, + "line": 40, "column": 14 }, "end": { - "line": 39, + "line": 40, "column": 30 }, "identifierName": "selectClassNames" @@ -1172,29 +1258,29 @@ }, { "type": "JSXAttribute", - "start": 740, - "end": 759, + "start": 787, + "end": 806, "loc": { "start": { - "line": 40, + "line": 41, "column": 3 }, "end": { - "line": 40, + "line": 41, "column": 22 } }, "name": { "type": "JSXIdentifier", - "start": 740, - "end": 745, + "start": 787, + "end": 792, "loc": { "start": { - "line": 40, + "line": 41, "column": 3 }, "end": { - "line": 40, + "line": 41, "column": 8 } }, @@ -1202,43 +1288,43 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 746, - "end": 759, + "start": 793, + "end": 806, "loc": { "start": { - "line": 40, + "line": 41, "column": 9 }, "end": { - "line": 40, + "line": 41, "column": 22 } }, "expression": { "type": "MemberExpression", - "start": 747, - "end": 758, + "start": 794, + "end": 805, "loc": { "start": { - "line": 40, + "line": 41, "column": 10 }, "end": { - "line": 40, + "line": 41, "column": 21 } }, "object": { "type": "Identifier", - "start": 747, - "end": 752, + "start": 794, + "end": 799, "loc": { "start": { - "line": 40, + "line": 41, "column": 10 }, "end": { - "line": 40, + "line": 41, "column": 15 }, "identifierName": "props" @@ -1247,15 +1333,15 @@ }, "property": { "type": "Identifier", - "start": 753, - "end": 758, + "start": 800, + "end": 805, "loc": { "start": { - "line": 40, + "line": 41, "column": 16 }, "end": { - "line": 40, + "line": 41, "column": 21 }, "identifierName": "value" @@ -1268,29 +1354,29 @@ }, { "type": "JSXAttribute", - "start": 763, - "end": 788, + "start": 810, + "end": 835, "loc": { "start": { - "line": 41, + "line": 42, "column": 3 }, "end": { - "line": 41, + "line": 42, "column": 28 } }, "name": { "type": "JSXIdentifier", - "start": 763, - "end": 771, + "start": 810, + "end": 818, "loc": { "start": { - "line": 41, + "line": 42, "column": 3 }, "end": { - "line": 41, + "line": 42, "column": 11 } }, @@ -1298,43 +1384,43 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 772, - "end": 788, + "start": 819, + "end": 835, "loc": { "start": { - "line": 41, + "line": 42, "column": 12 }, "end": { - "line": 41, + "line": 42, "column": 28 } }, "expression": { "type": "MemberExpression", - "start": 773, - "end": 787, + "start": 820, + "end": 834, "loc": { "start": { - "line": 41, + "line": 42, "column": 13 }, "end": { - "line": 41, + "line": 42, "column": 27 } }, "object": { "type": "Identifier", - "start": 773, - "end": 778, + "start": 820, + "end": 825, "loc": { "start": { - "line": 41, + "line": 42, "column": 13 }, "end": { - "line": 41, + "line": 42, "column": 18 }, "identifierName": "props" @@ -1343,15 +1429,15 @@ }, "property": { "type": "Identifier", - "start": 779, - "end": 787, + "start": 826, + "end": 834, "loc": { "start": { - "line": 41, + "line": 42, "column": 19 }, "end": { - "line": 41, + "line": 42, "column": 27 }, "identifierName": "disabled" @@ -1364,29 +1450,29 @@ }, { "type": "JSXAttribute", - "start": 792, - "end": 816, + "start": 839, + "end": 863, "loc": { "start": { - "line": 42, + "line": 43, "column": 3 }, "end": { - "line": 42, + "line": 43, "column": 27 } }, "name": { "type": "JSXIdentifier", - "start": 792, - "end": 800, + "start": 839, + "end": 847, "loc": { "start": { - "line": 42, + "line": 43, "column": 3 }, "end": { - "line": 42, + "line": 43, "column": 11 } }, @@ -1394,29 +1480,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 801, - "end": 816, + "start": 848, + "end": 863, "loc": { "start": { - "line": 42, + "line": 43, "column": 12 }, "end": { - "line": 42, + "line": 43, "column": 27 } }, "expression": { "type": "Identifier", - "start": 802, - "end": 815, + "start": 849, + "end": 862, "loc": { "start": { - "line": 42, + "line": 43, "column": 13 }, "end": { - "line": 42, + "line": 43, "column": 26 }, "identifierName": "changeHandler" @@ -1428,15 +1514,15 @@ ], "name": { "type": "JSXIdentifier", - "start": 679, - "end": 685, + "start": 726, + "end": 732, "loc": { "start": { - "line": 37, + "line": 38, "column": 3 }, "end": { - "line": 37, + "line": 38, "column": 9 } }, @@ -1446,29 +1532,29 @@ }, "closingElement": { "type": "JSXClosingElement", - "start": 1109, - "end": 1118, + "start": 1156, + "end": 1165, "loc": { "start": { - "line": 58, + "line": 59, "column": 2 }, "end": { - "line": 58, + "line": 59, "column": 11 } }, "name": { "type": "JSXIdentifier", - "start": 1111, - "end": 1117, + "start": 1158, + "end": 1164, "loc": { "start": { - "line": 58, + "line": 59, "column": 4 }, "end": { - "line": 58, + "line": 59, "column": 10 } }, @@ -1478,15 +1564,15 @@ "children": [ { "type": "JSXText", - "start": 820, - "end": 824, + "start": 867, + "end": 871, "loc": { "start": { - "line": 43, + "line": 44, "column": 3 }, "end": { - "line": 44, + "line": 45, "column": 3 } }, @@ -1495,71 +1581,71 @@ }, { "type": "JSXExpressionContainer", - "start": 824, - "end": 1106, + "start": 871, + "end": 1153, "loc": { "start": { - "line": 44, + "line": 45, "column": 3 }, "end": { - "line": 57, + "line": 58, "column": 4 } }, "expression": { "type": "CallExpression", - "start": 825, - "end": 1101, + "start": 872, + "end": 1148, "loc": { "start": { - "line": 44, + "line": 45, "column": 4 }, "end": { - "line": 56, + "line": 57, "column": 6 } }, "callee": { "type": "MemberExpression", - "start": 825, - "end": 847, + "start": 872, + "end": 894, "loc": { "start": { - "line": 44, + "line": 45, "column": 4 }, "end": { - "line": 45, + "line": 46, "column": 8 } }, "object": { "type": "MemberExpression", - "start": 825, - "end": 838, + "start": 872, + "end": 885, "loc": { "start": { - "line": 44, + "line": 45, "column": 4 }, "end": { - "line": 44, + "line": 45, "column": 17 } }, "object": { "type": "Identifier", - "start": 825, - "end": 830, + "start": 872, + "end": 877, "loc": { "start": { - "line": 44, + "line": 45, "column": 4 }, "end": { - "line": 44, + "line": 45, "column": 9 }, "identifierName": "props" @@ -1568,15 +1654,15 @@ }, "property": { "type": "Identifier", - "start": 831, - "end": 838, + "start": 878, + "end": 885, "loc": { "start": { - "line": 44, + "line": 45, "column": 10 }, "end": { - "line": 44, + "line": 45, "column": 17 }, "identifierName": "options" @@ -1587,15 +1673,15 @@ }, "property": { "type": "Identifier", - "start": 844, - "end": 847, + "start": 891, + "end": 894, "loc": { "start": { - "line": 45, + "line": 46, "column": 5 }, "end": { - "line": 45, + "line": 46, "column": 8 }, "identifierName": "map" @@ -1607,15 +1693,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 848, - "end": 1100, + "start": 895, + "end": 1147, "loc": { "start": { - "line": 45, + "line": 46, "column": 9 }, "end": { - "line": 56, + "line": 57, "column": 5 } }, @@ -1626,15 +1712,15 @@ "params": [ { "type": "Identifier", - "start": 849, - "end": 853, + "start": 896, + "end": 900, "loc": { "start": { - "line": 45, + "line": 46, "column": 10 }, "end": { - "line": 45, + "line": 46, "column": 14 }, "identifierName": "item" @@ -1643,15 +1729,15 @@ }, { "type": "Identifier", - "start": 854, - "end": 855, + "start": 901, + "end": 902, "loc": { "start": { - "line": 45, + "line": 46, "column": 15 }, "end": { - "line": 45, + "line": 46, "column": 16 }, "identifierName": "i" @@ -1661,59 +1747,59 @@ ], "body": { "type": "BlockStatement", - "start": 860, - "end": 1100, + "start": 907, + "end": 1147, "loc": { "start": { - "line": 45, + "line": 46, "column": 21 }, "end": { - "line": 56, + "line": 57, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 867, - "end": 927, + "start": 914, + "end": 974, "loc": { "start": { - "line": 46, + "line": 47, "column": 5 }, "end": { - "line": 46, + "line": 47, "column": 65 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 873, - "end": 926, + "start": 920, + "end": 973, "loc": { "start": { - "line": 46, + "line": 47, "column": 11 }, "end": { - "line": 46, + "line": 47, "column": 64 } }, "id": { "type": "Identifier", - "start": 873, - "end": 876, + "start": 920, + "end": 923, "loc": { "start": { - "line": 46, + "line": 47, "column": 11 }, "end": { - "line": 46, + "line": 47, "column": 14 }, "identifierName": "key" @@ -1722,43 +1808,43 @@ }, "init": { "type": "ConditionalExpression", - "start": 879, - "end": 926, + "start": 926, + "end": 973, "loc": { "start": { - "line": 46, + "line": 47, "column": 17 }, "end": { - "line": 46, + "line": 47, "column": 64 } }, "test": { "type": "BinaryExpression", - "start": 879, - "end": 909, + "start": 926, + "end": 956, "loc": { "start": { - "line": 46, + "line": 47, "column": 17 }, "end": { - "line": 46, + "line": 47, "column": 47 } }, "left": { "type": "StringLiteral", - "start": 879, - "end": 887, + "start": 926, + "end": 934, "loc": { "start": { - "line": 46, + "line": 47, "column": 17 }, "end": { - "line": 46, + "line": 47, "column": 25 } }, @@ -1771,15 +1857,15 @@ "operator": "===", "right": { "type": "UnaryExpression", - "start": 892, - "end": 909, + "start": 939, + "end": 956, "loc": { "start": { - "line": 46, + "line": 47, "column": 30 }, "end": { - "line": 46, + "line": 47, "column": 47 } }, @@ -1787,29 +1873,29 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 899, - "end": 909, + "start": 946, + "end": 956, "loc": { "start": { - "line": 46, + "line": 47, "column": 37 }, "end": { - "line": 46, + "line": 47, "column": 47 } }, "object": { "type": "Identifier", - "start": 899, - "end": 903, + "start": 946, + "end": 950, "loc": { "start": { - "line": 46, + "line": 47, "column": 37 }, "end": { - "line": 46, + "line": 47, "column": 41 }, "identifierName": "item" @@ -1818,15 +1904,15 @@ }, "property": { "type": "Identifier", - "start": 904, - "end": 909, + "start": 951, + "end": 956, "loc": { "start": { - "line": 46, + "line": 47, "column": 42 }, "end": { - "line": 46, + "line": 47, "column": 47 }, "identifierName": "value" @@ -1842,29 +1928,29 @@ }, "consequent": { "type": "MemberExpression", - "start": 912, - "end": 922, + "start": 959, + "end": 969, "loc": { "start": { - "line": 46, + "line": 47, "column": 50 }, "end": { - "line": 46, + "line": 47, "column": 60 } }, "object": { "type": "Identifier", - "start": 912, - "end": 916, + "start": 959, + "end": 963, "loc": { "start": { - "line": 46, + "line": 47, "column": 50 }, "end": { - "line": 46, + "line": 47, "column": 54 }, "identifierName": "item" @@ -1873,15 +1959,15 @@ }, "property": { "type": "Identifier", - "start": 917, - "end": 922, + "start": 964, + "end": 969, "loc": { "start": { - "line": 46, + "line": 47, "column": 55 }, "end": { - "line": 46, + "line": 47, "column": 60 }, "identifierName": "value" @@ -1892,15 +1978,15 @@ }, "alternate": { "type": "Identifier", - "start": 925, - "end": 926, + "start": 972, + "end": 973, "loc": { "start": { - "line": 46, + "line": 47, "column": 63 }, "end": { - "line": 46, + "line": 47, "column": 64 }, "identifierName": "i" @@ -1914,72 +2000,72 @@ }, { "type": "ReturnStatement", - "start": 933, - "end": 1094, + "start": 980, + "end": 1141, "loc": { "start": { - "line": 47, + "line": 48, "column": 5 }, "end": { - "line": 55, + "line": 56, "column": 7 } }, "argument": { "type": "JSXElement", - "start": 947, - "end": 1086, + "start": 994, + "end": 1133, "loc": { "start": { - "line": 48, + "line": 49, "column": 6 }, "end": { - "line": 54, + "line": 55, "column": 15 } }, "openingElement": { "type": "JSXOpeningElement", - "start": 947, - "end": 1050, + "start": 994, + "end": 1097, "loc": { "start": { - "line": 48, + "line": 49, "column": 6 }, "end": { - "line": 52, + "line": 53, "column": 7 } }, "attributes": [ { "type": "JSXAttribute", - "start": 962, - "end": 971, + "start": 1009, + "end": 1018, "loc": { "start": { - "line": 49, + "line": 50, "column": 7 }, "end": { - "line": 49, + "line": 50, "column": 16 } }, "name": { "type": "JSXIdentifier", - "start": 962, - "end": 965, + "start": 1009, + "end": 1012, "loc": { "start": { - "line": 49, + "line": 50, "column": 7 }, "end": { - "line": 49, + "line": 50, "column": 10 } }, @@ -1987,29 +2073,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 966, - "end": 971, + "start": 1013, + "end": 1018, "loc": { "start": { - "line": 49, + "line": 50, "column": 11 }, "end": { - "line": 49, + "line": 50, "column": 16 } }, "expression": { "type": "Identifier", - "start": 967, - "end": 970, + "start": 1014, + "end": 1017, "loc": { "start": { - "line": 49, + "line": 50, "column": 12 }, "end": { - "line": 49, + "line": 50, "column": 15 }, "identifierName": "key" @@ -2020,29 +2106,29 @@ }, { "type": "JSXAttribute", - "start": 979, - "end": 1016, + "start": 1026, + "end": 1063, "loc": { "start": { - "line": 50, + "line": 51, "column": 7 }, "end": { - "line": 50, + "line": 51, "column": 44 } }, "name": { "type": "JSXIdentifier", - "start": 979, - "end": 988, + "start": 1026, + "end": 1035, "loc": { "start": { - "line": 50, + "line": 51, "column": 7 }, "end": { - "line": 50, + "line": 51, "column": 16 } }, @@ -2050,29 +2136,29 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 989, - "end": 1016, + "start": 1036, + "end": 1063, "loc": { "start": { - "line": 50, + "line": 51, "column": 17 }, "end": { - "line": 50, + "line": 51, "column": 44 } }, "expression": { "type": "StringLiteral", - "start": 991, - "end": 1014, + "start": 1038, + "end": 1061, "loc": { "start": { - "line": 50, + "line": 51, "column": 19 }, "end": { - "line": 50, + "line": 51, "column": 42 } }, @@ -2086,29 +2172,29 @@ }, { "type": "JSXAttribute", - "start": 1024, - "end": 1042, + "start": 1071, + "end": 1089, "loc": { "start": { - "line": 51, + "line": 52, "column": 7 }, "end": { - "line": 51, + "line": 52, "column": 25 } }, "name": { "type": "JSXIdentifier", - "start": 1024, - "end": 1029, + "start": 1071, + "end": 1076, "loc": { "start": { - "line": 51, + "line": 52, "column": 7 }, "end": { - "line": 51, + "line": 52, "column": 12 } }, @@ -2116,43 +2202,43 @@ }, "value": { "type": "JSXExpressionContainer", - "start": 1030, - "end": 1042, + "start": 1077, + "end": 1089, "loc": { "start": { - "line": 51, + "line": 52, "column": 13 }, "end": { - "line": 51, + "line": 52, "column": 25 } }, "expression": { "type": "MemberExpression", - "start": 1031, - "end": 1041, + "start": 1078, + "end": 1088, "loc": { "start": { - "line": 51, + "line": 52, "column": 14 }, "end": { - "line": 51, + "line": 52, "column": 24 } }, "object": { "type": "Identifier", - "start": 1031, - "end": 1035, + "start": 1078, + "end": 1082, "loc": { "start": { - "line": 51, + "line": 52, "column": 14 }, "end": { - "line": 51, + "line": 52, "column": 18 }, "identifierName": "item" @@ -2161,15 +2247,15 @@ }, "property": { "type": "Identifier", - "start": 1036, - "end": 1041, + "start": 1083, + "end": 1088, "loc": { "start": { - "line": 51, + "line": 52, "column": 19 }, "end": { - "line": 51, + "line": 52, "column": 24 }, "identifierName": "value" @@ -2183,15 +2269,15 @@ ], "name": { "type": "JSXIdentifier", - "start": 948, - "end": 954, + "start": 995, + "end": 1001, "loc": { "start": { - "line": 48, + "line": 49, "column": 7 }, "end": { - "line": 48, + "line": 49, "column": 13 } }, @@ -2201,29 +2287,29 @@ }, "closingElement": { "type": "JSXClosingElement", - "start": 1077, - "end": 1086, + "start": 1124, + "end": 1133, "loc": { "start": { - "line": 54, + "line": 55, "column": 6 }, "end": { - "line": 54, + "line": 55, "column": 15 } }, "name": { "type": "JSXIdentifier", - "start": 1079, - "end": 1085, + "start": 1126, + "end": 1132, "loc": { "start": { - "line": 54, + "line": 55, "column": 8 }, "end": { - "line": 54, + "line": 55, "column": 14 } }, @@ -2233,15 +2319,15 @@ "children": [ { "type": "JSXText", - "start": 1050, - "end": 1058, + "start": 1097, + "end": 1105, "loc": { "start": { - "line": 52, + "line": 53, "column": 7 }, "end": { - "line": 53, + "line": 54, "column": 7 } }, @@ -2250,43 +2336,43 @@ }, { "type": "JSXExpressionContainer", - "start": 1058, - "end": 1070, + "start": 1105, + "end": 1117, "loc": { "start": { - "line": 53, + "line": 54, "column": 7 }, "end": { - "line": 53, + "line": 54, "column": 19 } }, "expression": { "type": "MemberExpression", - "start": 1059, - "end": 1069, + "start": 1106, + "end": 1116, "loc": { "start": { - "line": 53, + "line": 54, "column": 8 }, "end": { - "line": 53, + "line": 54, "column": 18 } }, "object": { "type": "Identifier", - "start": 1059, - "end": 1063, + "start": 1106, + "end": 1110, "loc": { "start": { - "line": 53, + "line": 54, "column": 8 }, "end": { - "line": 53, + "line": 54, "column": 12 }, "identifierName": "item" @@ -2295,15 +2381,15 @@ }, "property": { "type": "Identifier", - "start": 1064, - "end": 1069, + "start": 1111, + "end": 1116, "loc": { "start": { - "line": 53, + "line": 54, "column": 13 }, "end": { - "line": 53, + "line": 54, "column": 18 }, "identifierName": "label" @@ -2315,15 +2401,15 @@ }, { "type": "JSXText", - "start": 1070, - "end": 1077, + "start": 1117, + "end": 1124, "loc": { "start": { - "line": 53, + "line": 54, "column": 19 }, "end": { - "line": 54, + "line": 55, "column": 6 } }, @@ -2333,7 +2419,7 @@ ], "extra": { "parenthesized": true, - "parenStart": 939 + "parenStart": 986 } } } @@ -2346,15 +2432,15 @@ }, { "type": "JSXText", - "start": 1106, - "end": 1109, + "start": 1153, + "end": 1156, "loc": { "start": { - "line": 57, + "line": 58, "column": 4 }, "end": { - "line": 58, + "line": 59, "column": 2 } }, @@ -2364,7 +2450,7 @@ ], "extra": { "parenthesized": true, - "parenStart": 674 + "parenStart": 721 } } } @@ -2380,15 +2466,15 @@ { "type": "CommentBlock", "value": "*\n * Creates a select field\n *\n * @param {Object} props\n * @returns {*}\n * @constructor\n ", - "start": 157, - "end": 250, + "start": 204, + "end": 297, "loc": { "start": { - "line": 6, + "line": 7, "column": 0 }, "end": { - "line": 12, + "line": 13, "column": 3 } } @@ -2398,15 +2484,15 @@ { "type": "CommentBlock", "value": "*\n * Prop definition for select fields\n *\n * @type {{}}\n ", - "start": 1130, - "end": 1191, + "start": 1177, + "end": 1238, "loc": { "start": { - "line": 65, + "line": 66, "column": 0 }, "end": { - "line": 69, + "line": 70, "column": 3 } } @@ -2417,15 +2503,15 @@ { "type": "CommentBlock", "value": "*\n * Creates a select field\n *\n * @param {Object} props\n * @returns {*}\n * @constructor\n ", - "start": 157, - "end": 250, + "start": 204, + "end": 297, "loc": { "start": { - "line": 6, + "line": 7, "column": 0 }, "end": { - "line": 12, + "line": 13, "column": 3 } } @@ -2435,15 +2521,15 @@ { "type": "CommentBlock", "value": "*\n * Prop definition for select fields\n *\n * @type {{}}\n ", - "start": 1130, - "end": 1191, + "start": 1177, + "end": 1238, "loc": { "start": { - "line": 65, + "line": 66, "column": 0 }, "end": { - "line": 69, + "line": 70, "column": 3 } } @@ -2452,58 +2538,58 @@ }, { "type": "ExpressionStatement", - "start": 1192, - "end": 1240, + "start": 1239, + "end": 1315, "loc": { "start": { - "line": 70, + "line": 71, "column": 0 }, "end": { - "line": 72, + "line": 75, "column": 2 } }, "expression": { "type": "AssignmentExpression", - "start": 1192, - "end": 1239, + "start": 1239, + "end": 1314, "loc": { "start": { - "line": 70, + "line": 71, "column": 0 }, "end": { - "line": 72, + "line": 75, "column": 1 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1192, - "end": 1213, + "start": 1239, + "end": 1260, "loc": { "start": { - "line": 70, + "line": 71, "column": 0 }, "end": { - "line": 70, + "line": 71, "column": 21 } }, "object": { "type": "Identifier", - "start": 1192, - "end": 1203, + "start": 1239, + "end": 1250, "loc": { "start": { - "line": 70, + "line": 71, "column": 0 }, "end": { - "line": 70, + "line": 71, "column": 11 }, "identifierName": "SelectField" @@ -2513,15 +2599,15 @@ }, "property": { "type": "Identifier", - "start": 1204, - "end": 1213, + "start": 1251, + "end": 1260, "loc": { "start": { - "line": 70, + "line": 71, "column": 12 }, "end": { - "line": 70, + "line": 71, "column": 21 }, "identifierName": "propTypes" @@ -2533,68 +2619,120 @@ }, "right": { "type": "ObjectExpression", - "start": 1216, - "end": 1239, + "start": 1263, + "end": 1314, "loc": { "start": { - "line": 70, + "line": 71, "column": 24 }, "end": { - "line": 72, + "line": 75, "column": 1 } }, "properties": [ { "type": "SpreadProperty", - "start": 1219, - "end": 1236, + "start": 1266, + "end": 1283, "loc": { "start": { - "line": 71, + "line": 72, "column": 1 }, "end": { - "line": 71, + "line": 72, "column": 18 } }, "argument": { "type": "Identifier", - "start": 1222, - "end": 1236, + "start": 1269, + "end": 1283, "loc": { "start": { - "line": 71, + "line": 72, "column": 4 }, "end": { - "line": 71, + "line": 72, "column": 18 }, "identifierName": "fieldPropTypes" }, "name": "fieldPropTypes" } - } - ] - }, - "leadingComments": null - }, - "leadingComments": [ - { - "type": "CommentBlock", - "value": "*\n * Prop definition for select fields\n *\n * @type {{}}\n ", - "start": 1130, - "end": 1191, - "loc": { - "start": { - "line": 65, - "column": 0 + }, + { + "type": "ObjectProperty", + "start": 1286, + "end": 1311, + "loc": { + "start": { + "line": 73, + "column": 1 + }, + "end": { + "line": 73, + "column": 26 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 1286, + "end": 1293, + "loc": { + "start": { + "line": 73, + "column": 1 + }, + "end": { + "line": 73, + "column": 8 + }, + "identifierName": "options" + }, + "name": "options" + }, + "value": { + "type": "Identifier", + "start": 1295, + "end": 1311, + "loc": { + "start": { + "line": 73, + "column": 10 + }, + "end": { + "line": 73, + "column": 26 + }, + "identifierName": "optionsShapeProp" + }, + "name": "optionsShapeProp" + } + } + ] + }, + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Prop definition for select fields\n *\n * @type {{}}\n ", + "start": 1177, + "end": 1238, + "loc": { + "start": { + "line": 66, + "column": 0 }, "end": { - "line": 69, + "line": 70, "column": 3 } } @@ -2604,15 +2742,15 @@ { "type": "CommentBlock", "value": "*\n * Default props for select fields\n *\n * @type {{options: Array}}\n ", - "start": 1242, - "end": 1315, + "start": 1317, + "end": 1390, "loc": { "start": { - "line": 74, + "line": 77, "column": 0 }, "end": { - "line": 78, + "line": 81, "column": 3 } } @@ -2621,58 +2759,58 @@ }, { "type": "ExpressionStatement", - "start": 1316, - "end": 1360, + "start": 1391, + "end": 1435, "loc": { "start": { - "line": 79, + "line": 82, "column": 0 }, "end": { - "line": 81, + "line": 84, "column": 2 } }, "expression": { "type": "AssignmentExpression", - "start": 1316, - "end": 1359, + "start": 1391, + "end": 1434, "loc": { "start": { - "line": 79, + "line": 82, "column": 0 }, "end": { - "line": 81, + "line": 84, "column": 1 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1316, - "end": 1340, + "start": 1391, + "end": 1415, "loc": { "start": { - "line": 79, + "line": 82, "column": 0 }, "end": { - "line": 79, + "line": 82, "column": 24 } }, "object": { "type": "Identifier", - "start": 1316, - "end": 1327, + "start": 1391, + "end": 1402, "loc": { "start": { - "line": 79, + "line": 82, "column": 0 }, "end": { - "line": 79, + "line": 82, "column": 11 }, "identifierName": "SelectField" @@ -2682,15 +2820,15 @@ }, "property": { "type": "Identifier", - "start": 1328, - "end": 1340, + "start": 1403, + "end": 1415, "loc": { "start": { - "line": 79, + "line": 82, "column": 12 }, "end": { - "line": 79, + "line": 82, "column": 24 }, "identifierName": "defaultProps" @@ -2702,30 +2840,30 @@ }, "right": { "type": "ObjectExpression", - "start": 1343, - "end": 1359, + "start": 1418, + "end": 1434, "loc": { "start": { - "line": 79, + "line": 82, "column": 27 }, "end": { - "line": 81, + "line": 84, "column": 1 } }, "properties": [ { "type": "ObjectProperty", - "start": 1346, - "end": 1357, + "start": 1421, + "end": 1432, "loc": { "start": { - "line": 80, + "line": 83, "column": 1 }, "end": { - "line": 80, + "line": 83, "column": 12 } }, @@ -2734,15 +2872,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1346, - "end": 1353, + "start": 1421, + "end": 1428, "loc": { "start": { - "line": 80, + "line": 83, "column": 1 }, "end": { - "line": 80, + "line": 83, "column": 8 }, "identifierName": "options" @@ -2751,15 +2889,15 @@ }, "value": { "type": "ArrayExpression", - "start": 1355, - "end": 1357, + "start": 1430, + "end": 1432, "loc": { "start": { - "line": 80, + "line": 83, "column": 10 }, "end": { - "line": 80, + "line": 83, "column": 12 } }, @@ -2774,15 +2912,15 @@ { "type": "CommentBlock", "value": "*\n * Default props for select fields\n *\n * @type {{options: Array}}\n ", - "start": 1242, - "end": 1315, + "start": 1317, + "end": 1390, "loc": { "start": { - "line": 74, + "line": 77, "column": 0 }, "end": { - "line": 78, + "line": 81, "column": 3 } } @@ -2796,15 +2934,15 @@ { "type": "CommentBlock", "value": "*\n * Creates a select field\n *\n * @param {Object} props\n * @returns {*}\n * @constructor\n ", - "start": 157, - "end": 250, + "start": 204, + "end": 297, "loc": { "start": { - "line": 6, + "line": 7, "column": 0 }, "end": { - "line": 12, + "line": 13, "column": 3 } } @@ -2812,15 +2950,15 @@ { "type": "CommentBlock", "value": "*\n\t * Dispatches new value(s) to parent\n\t *\n\t * @param selection\n\t * @returns {*}\n\t ", - "start": 292, - "end": 380, + "start": 339, + "end": 427, "loc": { "start": { - "line": 14, + "line": 15, "column": 1 }, "end": { - "line": 19, + "line": 20, "column": 4 } } @@ -2828,15 +2966,15 @@ { "type": "CommentBlock", "value": "*\n\t * Get the className prop for the select element\n\t *\n\t * @return {String}\n\t ", - "start": 464, - "end": 547, + "start": 511, + "end": 594, "loc": { "start": { - "line": 24, + "line": 25, "column": 1 }, "end": { - "line": 28, + "line": 29, "column": 4 } } @@ -2844,15 +2982,15 @@ { "type": "CommentBlock", "value": "*\n * Prop definition for select fields\n *\n * @type {{}}\n ", - "start": 1130, - "end": 1191, + "start": 1177, + "end": 1238, "loc": { "start": { - "line": 65, + "line": 66, "column": 0 }, "end": { - "line": 69, + "line": 70, "column": 3 } } @@ -2860,15 +2998,15 @@ { "type": "CommentBlock", "value": "*\n * Default props for select fields\n *\n * @type {{options: Array}}\n ", - "start": 1242, - "end": 1315, + "start": 1317, + "end": 1390, "loc": { "start": { - "line": 74, + "line": 77, "column": 0 }, "end": { - "line": 78, + "line": 81, "column": 3 } } @@ -3507,18 +3645,201 @@ } } }, + { + "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": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 163, + "end": 164, + "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": "optionsShapeProp", + "start": 164, + "end": 180, + "loc": { + "start": { + "line": 5, + "column": 8 + }, + "end": { + "line": 5, + "column": 24 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 180, + "end": 181, + "loc": { + "start": { + "line": 5, + "column": 24 + }, + "end": { + "line": 5, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 182, + "end": 186, + "loc": { + "start": { + "line": 5, + "column": 26 + }, + "end": { + "line": 5, + "column": 30 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "../propTypes", + "start": 187, + "end": 201, + "loc": { + "start": { + "line": 5, + "column": 31 + }, + "end": { + "line": 5, + "column": 45 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 201, + "end": 202, + "loc": { + "start": { + "line": 5, + "column": 45 + }, + "end": { + "line": 5, + "column": 46 + } + } + }, { "type": "CommentBlock", "value": "*\n * Creates a select field\n *\n * @param {Object} props\n * @returns {*}\n * @constructor\n ", - "start": 157, - "end": 250, + "start": 204, + "end": 297, "loc": { "start": { - "line": 6, + "line": 7, "column": 0 }, "end": { - "line": 12, + "line": 13, "column": 3 } } @@ -3538,15 +3859,15 @@ "updateContext": null }, "value": "export", - "start": 251, - "end": 257, + "start": 298, + "end": 304, "loc": { "start": { - "line": 13, + "line": 14, "column": 0 }, "end": { - "line": 13, + "line": 14, "column": 6 } } @@ -3566,15 +3887,15 @@ "updateContext": null }, "value": "const", - "start": 258, - "end": 263, + "start": 305, + "end": 310, "loc": { "start": { - "line": 13, + "line": 14, "column": 7 }, "end": { - "line": 13, + "line": 14, "column": 12 } } @@ -3592,15 +3913,15 @@ "binop": null }, "value": "SelectField", - "start": 264, - "end": 275, + "start": 311, + "end": 322, "loc": { "start": { - "line": 13, + "line": 14, "column": 13 }, "end": { - "line": 13, + "line": 14, "column": 24 } } @@ -3619,15 +3940,15 @@ "updateContext": null }, "value": "=", - "start": 276, - "end": 277, + "start": 323, + "end": 324, "loc": { "start": { - "line": 13, + "line": 14, "column": 25 }, "end": { - "line": 13, + "line": 14, "column": 26 } } @@ -3644,15 +3965,15 @@ "postfix": false, "binop": null }, - "start": 278, - "end": 279, + "start": 325, + "end": 326, "loc": { "start": { - "line": 13, + "line": 14, "column": 27 }, "end": { - "line": 13, + "line": 14, "column": 28 } } @@ -3670,15 +3991,15 @@ "binop": null }, "value": "props", - "start": 279, - "end": 284, + "start": 326, + "end": 331, "loc": { "start": { - "line": 13, + "line": 14, "column": 28 }, "end": { - "line": 13, + "line": 14, "column": 33 } } @@ -3695,15 +4016,15 @@ "postfix": false, "binop": null }, - "start": 284, - "end": 285, + "start": 331, + "end": 332, "loc": { "start": { - "line": 13, + "line": 14, "column": 33 }, "end": { - "line": 13, + "line": 14, "column": 34 } } @@ -3721,15 +4042,15 @@ "binop": null, "updateContext": null }, - "start": 286, - "end": 288, + "start": 333, + "end": 335, "loc": { "start": { - "line": 13, + "line": 14, "column": 35 }, "end": { - "line": 13, + "line": 14, "column": 37 } } @@ -3746,15 +4067,15 @@ "postfix": false, "binop": null }, - "start": 289, - "end": 290, + "start": 336, + "end": 337, "loc": { "start": { - "line": 13, + "line": 14, "column": 38 }, "end": { - "line": 13, + "line": 14, "column": 39 } } @@ -3762,15 +4083,15 @@ { "type": "CommentBlock", "value": "*\n\t * Dispatches new value(s) to parent\n\t *\n\t * @param selection\n\t * @returns {*}\n\t ", - "start": 292, - "end": 380, + "start": 339, + "end": 427, "loc": { "start": { - "line": 14, + "line": 15, "column": 1 }, "end": { - "line": 19, + "line": 20, "column": 4 } } @@ -3789,15 +4110,15 @@ "binop": null }, "value": "function", - "start": 382, - "end": 390, + "start": 429, + "end": 437, "loc": { "start": { - "line": 20, + "line": 21, "column": 1 }, "end": { - "line": 20, + "line": 21, "column": 9 } } @@ -3815,15 +4136,15 @@ "binop": null }, "value": "changeHandler", - "start": 391, - "end": 404, + "start": 438, + "end": 451, "loc": { "start": { - "line": 20, + "line": 21, "column": 10 }, "end": { - "line": 20, + "line": 21, "column": 23 } } @@ -3840,15 +4161,15 @@ "postfix": false, "binop": null }, - "start": 404, - "end": 405, + "start": 451, + "end": 452, "loc": { "start": { - "line": 20, + "line": 21, "column": 23 }, "end": { - "line": 20, + "line": 21, "column": 24 } } @@ -3866,15 +4187,15 @@ "binop": null }, "value": "selection", - "start": 405, - "end": 414, + "start": 452, + "end": 461, "loc": { "start": { - "line": 20, + "line": 21, "column": 24 }, "end": { - "line": 20, + "line": 21, "column": 33 } } @@ -3891,15 +4212,15 @@ "postfix": false, "binop": null }, - "start": 414, - "end": 415, + "start": 461, + "end": 462, "loc": { "start": { - "line": 20, + "line": 21, "column": 33 }, "end": { - "line": 20, + "line": 21, "column": 34 } } @@ -3916,15 +4237,15 @@ "postfix": false, "binop": null }, - "start": 416, - "end": 417, + "start": 463, + "end": 464, "loc": { "start": { - "line": 20, + "line": 21, "column": 35 }, "end": { - "line": 20, + "line": 21, "column": 36 } } @@ -3944,15 +4265,15 @@ "updateContext": null }, "value": "return", - "start": 420, - "end": 426, + "start": 467, + "end": 473, "loc": { "start": { - "line": 21, + "line": 22, "column": 2 }, "end": { - "line": 21, + "line": 22, "column": 8 } } @@ -3970,15 +4291,15 @@ "binop": null }, "value": "props", - "start": 427, - "end": 432, + "start": 474, + "end": 479, "loc": { "start": { - "line": 21, + "line": 22, "column": 9 }, "end": { - "line": 21, + "line": 22, "column": 14 } } @@ -3996,15 +4317,15 @@ "binop": null, "updateContext": null }, - "start": 432, - "end": 433, + "start": 479, + "end": 480, "loc": { "start": { - "line": 21, + "line": 22, "column": 14 }, "end": { - "line": 21, + "line": 22, "column": 15 } } @@ -4022,15 +4343,15 @@ "binop": null }, "value": "onValueChange", - "start": 433, - "end": 446, + "start": 480, + "end": 493, "loc": { "start": { - "line": 21, + "line": 22, "column": 15 }, "end": { - "line": 21, + "line": 22, "column": 28 } } @@ -4047,15 +4368,15 @@ "postfix": false, "binop": null }, - "start": 446, - "end": 447, + "start": 493, + "end": 494, "loc": { "start": { - "line": 21, + "line": 22, "column": 28 }, "end": { - "line": 21, + "line": 22, "column": 29 } } @@ -4073,15 +4394,15 @@ "binop": null }, "value": "selection", - "start": 447, - "end": 456, + "start": 494, + "end": 503, "loc": { "start": { - "line": 21, + "line": 22, "column": 29 }, "end": { - "line": 21, + "line": 22, "column": 38 } } @@ -4098,15 +4419,15 @@ "postfix": false, "binop": null }, - "start": 456, - "end": 457, + "start": 503, + "end": 504, "loc": { "start": { - "line": 21, + "line": 22, "column": 38 }, "end": { - "line": 21, + "line": 22, "column": 39 } } @@ -4124,15 +4445,15 @@ "binop": null, "updateContext": null }, - "start": 457, - "end": 458, + "start": 504, + "end": 505, "loc": { "start": { - "line": 21, + "line": 22, "column": 39 }, "end": { - "line": 21, + "line": 22, "column": 40 } } @@ -4149,15 +4470,15 @@ "postfix": false, "binop": null }, - "start": 460, - "end": 461, + "start": 507, + "end": 508, "loc": { "start": { - "line": 22, + "line": 23, "column": 1 }, "end": { - "line": 22, + "line": 23, "column": 2 } } @@ -4165,15 +4486,15 @@ { "type": "CommentBlock", "value": "*\n\t * Get the className prop for the select element\n\t *\n\t * @return {String}\n\t ", - "start": 464, - "end": 547, + "start": 511, + "end": 594, "loc": { "start": { - "line": 24, + "line": 25, "column": 1 }, "end": { - "line": 28, + "line": 29, "column": 4 } } @@ -4192,15 +4513,15 @@ "binop": null }, "value": "function", - "start": 549, - "end": 557, + "start": 596, + "end": 604, "loc": { "start": { - "line": 29, + "line": 30, "column": 1 }, "end": { - "line": 29, + "line": 30, "column": 9 } } @@ -4218,15 +4539,15 @@ "binop": null }, "value": "selectClassNames", - "start": 558, - "end": 574, + "start": 605, + "end": 621, "loc": { "start": { - "line": 29, + "line": 30, "column": 10 }, "end": { - "line": 29, + "line": 30, "column": 26 } } @@ -4243,15 +4564,15 @@ "postfix": false, "binop": null }, - "start": 574, - "end": 575, + "start": 621, + "end": 622, "loc": { "start": { - "line": 29, + "line": 30, "column": 26 }, "end": { - "line": 29, + "line": 30, "column": 27 } } @@ -4268,15 +4589,15 @@ "postfix": false, "binop": null }, - "start": 575, - "end": 576, + "start": 622, + "end": 623, "loc": { "start": { - "line": 29, + "line": 30, "column": 27 }, "end": { - "line": 29, + "line": 30, "column": 28 } } @@ -4293,15 +4614,15 @@ "postfix": false, "binop": null }, - "start": 577, - "end": 578, + "start": 624, + "end": 625, "loc": { "start": { - "line": 29, + "line": 30, "column": 29 }, "end": { - "line": 29, + "line": 30, "column": 30 } } @@ -4321,15 +4642,15 @@ "updateContext": null }, "value": "return", - "start": 581, - "end": 587, + "start": 628, + "end": 634, "loc": { "start": { - "line": 30, + "line": 31, "column": 2 }, "end": { - "line": 30, + "line": 31, "column": 8 } } @@ -4347,15 +4668,15 @@ "binop": null }, "value": "classNames", - "start": 588, - "end": 598, + "start": 635, + "end": 645, "loc": { "start": { - "line": 30, + "line": 31, "column": 9 }, "end": { - "line": 30, + "line": 31, "column": 19 } } @@ -4372,15 +4693,15 @@ "postfix": false, "binop": null }, - "start": 598, - "end": 599, + "start": 645, + "end": 646, "loc": { "start": { - "line": 30, + "line": 31, "column": 19 }, "end": { - "line": 30, + "line": 31, "column": 20 } } @@ -4398,15 +4719,15 @@ "binop": null }, "value": "props", - "start": 603, - "end": 608, + "start": 650, + "end": 655, "loc": { "start": { - "line": 31, + "line": 32, "column": 3 }, "end": { - "line": 31, + "line": 32, "column": 8 } } @@ -4424,15 +4745,15 @@ "binop": null, "updateContext": null }, - "start": 608, - "end": 609, + "start": 655, + "end": 656, "loc": { "start": { - "line": 31, + "line": 32, "column": 8 }, "end": { - "line": 31, + "line": 32, "column": 9 } } @@ -4450,15 +4771,15 @@ "binop": null }, "value": "fieldClassName", - "start": 609, - "end": 623, + "start": 656, + "end": 670, "loc": { "start": { - "line": 31, + "line": 32, "column": 9 }, "end": { - "line": 31, + "line": 32, "column": 23 } } @@ -4476,15 +4797,15 @@ "binop": null, "updateContext": null }, - "start": 623, - "end": 624, + "start": 670, + "end": 671, "loc": { "start": { - "line": 31, + "line": 32, "column": 23 }, "end": { - "line": 31, + "line": 32, "column": 24 } } @@ -4502,15 +4823,15 @@ "binop": null }, "value": "RenderGroup", - "start": 628, - "end": 639, + "start": 675, + "end": 686, "loc": { "start": { - "line": 32, + "line": 33, "column": 3 }, "end": { - "line": 32, + "line": 33, "column": 14 } } @@ -4528,15 +4849,15 @@ "binop": null, "updateContext": null }, - "start": 639, - "end": 640, + "start": 686, + "end": 687, "loc": { "start": { - "line": 32, + "line": 33, "column": 14 }, "end": { - "line": 32, + "line": 33, "column": 15 } } @@ -4554,15 +4875,15 @@ "binop": null }, "value": "classNames", - "start": 640, - "end": 650, + "start": 687, + "end": 697, "loc": { "start": { - "line": 32, + "line": 33, "column": 15 }, "end": { - "line": 32, + "line": 33, "column": 25 } } @@ -4580,15 +4901,15 @@ "binop": null, "updateContext": null }, - "start": 650, - "end": 651, + "start": 697, + "end": 698, "loc": { "start": { - "line": 32, + "line": 33, "column": 25 }, "end": { - "line": 32, + "line": 33, "column": 26 } } @@ -4606,15 +4927,15 @@ "binop": null }, "value": "input", - "start": 651, - "end": 656, + "start": 698, + "end": 703, "loc": { "start": { - "line": 32, + "line": 33, "column": 26 }, "end": { - "line": 32, + "line": 33, "column": 31 } } @@ -4631,15 +4952,15 @@ "postfix": false, "binop": null }, - "start": 659, - "end": 660, + "start": 706, + "end": 707, "loc": { "start": { - "line": 33, + "line": 34, "column": 2 }, "end": { - "line": 33, + "line": 34, "column": 3 } } @@ -4657,15 +4978,15 @@ "binop": null, "updateContext": null }, - "start": 660, - "end": 661, + "start": 707, + "end": 708, "loc": { "start": { - "line": 33, + "line": 34, "column": 3 }, "end": { - "line": 33, + "line": 34, "column": 4 } } @@ -4682,15 +5003,15 @@ "postfix": false, "binop": null }, - "start": 663, - "end": 664, + "start": 710, + "end": 711, "loc": { "start": { - "line": 34, + "line": 35, "column": 1 }, "end": { - "line": 34, + "line": 35, "column": 2 } } @@ -4710,15 +5031,15 @@ "updateContext": null }, "value": "return", - "start": 667, - "end": 673, + "start": 714, + "end": 720, "loc": { "start": { - "line": 36, + "line": 37, "column": 1 }, "end": { - "line": 36, + "line": 37, "column": 7 } } @@ -4735,15 +5056,15 @@ "postfix": false, "binop": null }, - "start": 674, - "end": 675, + "start": 721, + "end": 722, "loc": { "start": { - "line": 36, + "line": 37, "column": 8 }, "end": { - "line": 36, + "line": 37, "column": 9 } } @@ -4760,15 +5081,15 @@ "postfix": false, "binop": null }, - "start": 678, - "end": 679, + "start": 725, + "end": 726, "loc": { "start": { - "line": 37, + "line": 38, "column": 2 }, "end": { - "line": 37, + "line": 38, "column": 3 } } @@ -4787,15 +5108,15 @@ "updateContext": null }, "value": "select", - "start": 679, - "end": 685, + "start": 726, + "end": 732, "loc": { "start": { - "line": 37, + "line": 38, "column": 3 }, "end": { - "line": 37, + "line": 38, "column": 9 } } @@ -4814,15 +5135,15 @@ "updateContext": null }, "value": "id", - "start": 689, - "end": 691, + "start": 736, + "end": 738, "loc": { "start": { - "line": 38, + "line": 39, "column": 3 }, "end": { - "line": 38, + "line": 39, "column": 5 } } @@ -4841,15 +5162,15 @@ "updateContext": null }, "value": "=", - "start": 691, - "end": 692, + "start": 738, + "end": 739, "loc": { "start": { - "line": 38, + "line": 39, "column": 5 }, "end": { - "line": 38, + "line": 39, "column": 6 } } @@ -4866,15 +5187,15 @@ "postfix": false, "binop": null }, - "start": 692, - "end": 693, + "start": 739, + "end": 740, "loc": { "start": { - "line": 38, + "line": 39, "column": 6 }, "end": { - "line": 38, + "line": 39, "column": 7 } } @@ -4892,15 +5213,15 @@ "binop": null }, "value": "props", - "start": 693, - "end": 698, + "start": 740, + "end": 745, "loc": { "start": { - "line": 38, + "line": 39, "column": 7 }, "end": { - "line": 38, + "line": 39, "column": 12 } } @@ -4918,15 +5239,15 @@ "binop": null, "updateContext": null }, - "start": 698, - "end": 699, + "start": 745, + "end": 746, "loc": { "start": { - "line": 38, + "line": 39, "column": 12 }, "end": { - "line": 38, + "line": 39, "column": 13 } } @@ -4944,15 +5265,15 @@ "binop": null }, "value": "id", - "start": 699, - "end": 701, + "start": 746, + "end": 748, "loc": { "start": { - "line": 38, + "line": 39, "column": 13 }, "end": { - "line": 38, + "line": 39, "column": 15 } } @@ -4969,15 +5290,15 @@ "postfix": false, "binop": null }, - "start": 701, - "end": 702, + "start": 748, + "end": 749, "loc": { "start": { - "line": 38, + "line": 39, "column": 15 }, "end": { - "line": 38, + "line": 39, "column": 16 } } @@ -4996,15 +5317,15 @@ "updateContext": null }, "value": "className", - "start": 706, - "end": 715, + "start": 753, + "end": 762, "loc": { "start": { - "line": 39, + "line": 40, "column": 3 }, "end": { - "line": 39, + "line": 40, "column": 12 } } @@ -5023,15 +5344,15 @@ "updateContext": null }, "value": "=", - "start": 715, - "end": 716, + "start": 762, + "end": 763, "loc": { "start": { - "line": 39, + "line": 40, "column": 12 }, "end": { - "line": 39, + "line": 40, "column": 13 } } @@ -5048,15 +5369,15 @@ "postfix": false, "binop": null }, - "start": 716, - "end": 717, + "start": 763, + "end": 764, "loc": { "start": { - "line": 39, + "line": 40, "column": 13 }, "end": { - "line": 39, + "line": 40, "column": 14 } } @@ -5074,15 +5395,15 @@ "binop": null }, "value": "selectClassNames", - "start": 717, - "end": 733, + "start": 764, + "end": 780, "loc": { "start": { - "line": 39, + "line": 40, "column": 14 }, "end": { - "line": 39, + "line": 40, "column": 30 } } @@ -5099,15 +5420,15 @@ "postfix": false, "binop": null }, - "start": 733, - "end": 734, + "start": 780, + "end": 781, "loc": { "start": { - "line": 39, + "line": 40, "column": 30 }, "end": { - "line": 39, + "line": 40, "column": 31 } } @@ -5124,15 +5445,15 @@ "postfix": false, "binop": null }, - "start": 734, - "end": 735, + "start": 781, + "end": 782, "loc": { "start": { - "line": 39, + "line": 40, "column": 31 }, "end": { - "line": 39, + "line": 40, "column": 32 } } @@ -5149,15 +5470,15 @@ "postfix": false, "binop": null }, - "start": 735, - "end": 736, + "start": 782, + "end": 783, "loc": { "start": { - "line": 39, + "line": 40, "column": 32 }, "end": { - "line": 39, + "line": 40, "column": 33 } } @@ -5176,15 +5497,15 @@ "updateContext": null }, "value": "value", - "start": 740, - "end": 745, + "start": 787, + "end": 792, "loc": { "start": { - "line": 40, + "line": 41, "column": 3 }, "end": { - "line": 40, + "line": 41, "column": 8 } } @@ -5203,15 +5524,15 @@ "updateContext": null }, "value": "=", - "start": 745, - "end": 746, + "start": 792, + "end": 793, "loc": { "start": { - "line": 40, + "line": 41, "column": 8 }, "end": { - "line": 40, + "line": 41, "column": 9 } } @@ -5228,15 +5549,15 @@ "postfix": false, "binop": null }, - "start": 746, - "end": 747, + "start": 793, + "end": 794, "loc": { "start": { - "line": 40, + "line": 41, "column": 9 }, "end": { - "line": 40, + "line": 41, "column": 10 } } @@ -5254,15 +5575,15 @@ "binop": null }, "value": "props", - "start": 747, - "end": 752, + "start": 794, + "end": 799, "loc": { "start": { - "line": 40, + "line": 41, "column": 10 }, "end": { - "line": 40, + "line": 41, "column": 15 } } @@ -5280,15 +5601,15 @@ "binop": null, "updateContext": null }, - "start": 752, - "end": 753, + "start": 799, + "end": 800, "loc": { "start": { - "line": 40, + "line": 41, "column": 15 }, "end": { - "line": 40, + "line": 41, "column": 16 } } @@ -5306,15 +5627,15 @@ "binop": null }, "value": "value", - "start": 753, - "end": 758, + "start": 800, + "end": 805, "loc": { "start": { - "line": 40, + "line": 41, "column": 16 }, "end": { - "line": 40, + "line": 41, "column": 21 } } @@ -5331,15 +5652,15 @@ "postfix": false, "binop": null }, - "start": 758, - "end": 759, + "start": 805, + "end": 806, "loc": { "start": { - "line": 40, + "line": 41, "column": 21 }, "end": { - "line": 40, + "line": 41, "column": 22 } } @@ -5358,15 +5679,15 @@ "updateContext": null }, "value": "disabled", - "start": 763, - "end": 771, + "start": 810, + "end": 818, "loc": { "start": { - "line": 41, + "line": 42, "column": 3 }, "end": { - "line": 41, + "line": 42, "column": 11 } } @@ -5385,15 +5706,15 @@ "updateContext": null }, "value": "=", - "start": 771, - "end": 772, + "start": 818, + "end": 819, "loc": { "start": { - "line": 41, + "line": 42, "column": 11 }, "end": { - "line": 41, + "line": 42, "column": 12 } } @@ -5410,15 +5731,15 @@ "postfix": false, "binop": null }, - "start": 772, - "end": 773, + "start": 819, + "end": 820, "loc": { "start": { - "line": 41, + "line": 42, "column": 12 }, "end": { - "line": 41, + "line": 42, "column": 13 } } @@ -5436,15 +5757,15 @@ "binop": null }, "value": "props", - "start": 773, - "end": 778, + "start": 820, + "end": 825, "loc": { "start": { - "line": 41, + "line": 42, "column": 13 }, "end": { - "line": 41, + "line": 42, "column": 18 } } @@ -5462,15 +5783,15 @@ "binop": null, "updateContext": null }, - "start": 778, - "end": 779, + "start": 825, + "end": 826, "loc": { "start": { - "line": 41, + "line": 42, "column": 18 }, "end": { - "line": 41, + "line": 42, "column": 19 } } @@ -5488,15 +5809,15 @@ "binop": null }, "value": "disabled", - "start": 779, - "end": 787, + "start": 826, + "end": 834, "loc": { "start": { - "line": 41, + "line": 42, "column": 19 }, "end": { - "line": 41, + "line": 42, "column": 27 } } @@ -5513,15 +5834,15 @@ "postfix": false, "binop": null }, - "start": 787, - "end": 788, + "start": 834, + "end": 835, "loc": { "start": { - "line": 41, + "line": 42, "column": 27 }, "end": { - "line": 41, + "line": 42, "column": 28 } } @@ -5540,15 +5861,15 @@ "updateContext": null }, "value": "onChange", - "start": 792, - "end": 800, + "start": 839, + "end": 847, "loc": { "start": { - "line": 42, + "line": 43, "column": 3 }, "end": { - "line": 42, + "line": 43, "column": 11 } } @@ -5567,15 +5888,15 @@ "updateContext": null }, "value": "=", - "start": 800, - "end": 801, + "start": 847, + "end": 848, "loc": { "start": { - "line": 42, + "line": 43, "column": 11 }, "end": { - "line": 42, + "line": 43, "column": 12 } } @@ -5592,15 +5913,15 @@ "postfix": false, "binop": null }, - "start": 801, - "end": 802, + "start": 848, + "end": 849, "loc": { "start": { - "line": 42, + "line": 43, "column": 12 }, "end": { - "line": 42, + "line": 43, "column": 13 } } @@ -5618,15 +5939,15 @@ "binop": null }, "value": "changeHandler", - "start": 802, - "end": 815, + "start": 849, + "end": 862, "loc": { "start": { - "line": 42, + "line": 43, "column": 13 }, "end": { - "line": 42, + "line": 43, "column": 26 } } @@ -5643,15 +5964,15 @@ "postfix": false, "binop": null }, - "start": 815, - "end": 816, + "start": 862, + "end": 863, "loc": { "start": { - "line": 42, + "line": 43, "column": 26 }, "end": { - "line": 42, + "line": 43, "column": 27 } } @@ -5668,15 +5989,15 @@ "postfix": false, "binop": null }, - "start": 819, - "end": 820, + "start": 866, + "end": 867, "loc": { "start": { - "line": 43, + "line": 44, "column": 2 }, "end": { - "line": 43, + "line": 44, "column": 3 } } @@ -5695,15 +6016,15 @@ "updateContext": null }, "value": "\n\t\t\t", - "start": 820, - "end": 824, + "start": 867, + "end": 871, "loc": { "start": { - "line": 43, + "line": 44, "column": 3 }, "end": { - "line": 44, + "line": 45, "column": 3 } } @@ -5720,15 +6041,15 @@ "postfix": false, "binop": null }, - "start": 824, - "end": 825, + "start": 871, + "end": 872, "loc": { "start": { - "line": 44, + "line": 45, "column": 3 }, "end": { - "line": 44, + "line": 45, "column": 4 } } @@ -5746,15 +6067,15 @@ "binop": null }, "value": "props", - "start": 825, - "end": 830, + "start": 872, + "end": 877, "loc": { "start": { - "line": 44, + "line": 45, "column": 4 }, "end": { - "line": 44, + "line": 45, "column": 9 } } @@ -5772,15 +6093,15 @@ "binop": null, "updateContext": null }, - "start": 830, - "end": 831, + "start": 877, + "end": 878, "loc": { "start": { - "line": 44, + "line": 45, "column": 9 }, "end": { - "line": 44, + "line": 45, "column": 10 } } @@ -5798,15 +6119,15 @@ "binop": null }, "value": "options", - "start": 831, - "end": 838, + "start": 878, + "end": 885, "loc": { "start": { - "line": 44, + "line": 45, "column": 10 }, "end": { - "line": 44, + "line": 45, "column": 17 } } @@ -5824,15 +6145,15 @@ "binop": null, "updateContext": null }, - "start": 843, - "end": 844, + "start": 890, + "end": 891, "loc": { "start": { - "line": 45, + "line": 46, "column": 4 }, "end": { - "line": 45, + "line": 46, "column": 5 } } @@ -5850,15 +6171,15 @@ "binop": null }, "value": "map", - "start": 844, - "end": 847, + "start": 891, + "end": 894, "loc": { "start": { - "line": 45, + "line": 46, "column": 5 }, "end": { - "line": 45, + "line": 46, "column": 8 } } @@ -5875,15 +6196,15 @@ "postfix": false, "binop": null }, - "start": 847, - "end": 848, + "start": 894, + "end": 895, "loc": { "start": { - "line": 45, + "line": 46, "column": 8 }, "end": { - "line": 45, + "line": 46, "column": 9 } } @@ -5900,15 +6221,15 @@ "postfix": false, "binop": null }, - "start": 848, - "end": 849, + "start": 895, + "end": 896, "loc": { "start": { - "line": 45, + "line": 46, "column": 9 }, "end": { - "line": 45, + "line": 46, "column": 10 } } @@ -5926,15 +6247,15 @@ "binop": null }, "value": "item", - "start": 849, - "end": 853, + "start": 896, + "end": 900, "loc": { "start": { - "line": 45, + "line": 46, "column": 10 }, "end": { - "line": 45, + "line": 46, "column": 14 } } @@ -5952,15 +6273,15 @@ "binop": null, "updateContext": null }, - "start": 853, - "end": 854, + "start": 900, + "end": 901, "loc": { "start": { - "line": 45, + "line": 46, "column": 14 }, "end": { - "line": 45, + "line": 46, "column": 15 } } @@ -5978,15 +6299,15 @@ "binop": null }, "value": "i", - "start": 854, - "end": 855, + "start": 901, + "end": 902, "loc": { "start": { - "line": 45, + "line": 46, "column": 15 }, "end": { - "line": 45, + "line": 46, "column": 16 } } @@ -6003,15 +6324,15 @@ "postfix": false, "binop": null }, - "start": 855, - "end": 856, + "start": 902, + "end": 903, "loc": { "start": { - "line": 45, + "line": 46, "column": 16 }, "end": { - "line": 45, + "line": 46, "column": 17 } } @@ -6029,15 +6350,15 @@ "binop": null, "updateContext": null }, - "start": 857, - "end": 859, + "start": 904, + "end": 906, "loc": { "start": { - "line": 45, + "line": 46, "column": 18 }, "end": { - "line": 45, + "line": 46, "column": 20 } } @@ -6054,15 +6375,15 @@ "postfix": false, "binop": null }, - "start": 860, - "end": 861, + "start": 907, + "end": 908, "loc": { "start": { - "line": 45, + "line": 46, "column": 21 }, "end": { - "line": 45, + "line": 46, "column": 22 } } @@ -6082,15 +6403,15 @@ "updateContext": null }, "value": "const", - "start": 867, - "end": 872, + "start": 914, + "end": 919, "loc": { "start": { - "line": 46, + "line": 47, "column": 5 }, "end": { - "line": 46, + "line": 47, "column": 10 } } @@ -6108,15 +6429,15 @@ "binop": null }, "value": "key", - "start": 873, - "end": 876, + "start": 920, + "end": 923, "loc": { "start": { - "line": 46, + "line": 47, "column": 11 }, "end": { - "line": 46, + "line": 47, "column": 14 } } @@ -6135,15 +6456,15 @@ "updateContext": null }, "value": "=", - "start": 877, - "end": 878, + "start": 924, + "end": 925, "loc": { "start": { - "line": 46, + "line": 47, "column": 15 }, "end": { - "line": 46, + "line": 47, "column": 16 } } @@ -6162,15 +6483,15 @@ "updateContext": null }, "value": "string", - "start": 879, - "end": 887, + "start": 926, + "end": 934, "loc": { "start": { - "line": 46, + "line": 47, "column": 17 }, "end": { - "line": 46, + "line": 47, "column": 25 } } @@ -6189,15 +6510,15 @@ "updateContext": null }, "value": "===", - "start": 888, - "end": 891, + "start": 935, + "end": 938, "loc": { "start": { - "line": 46, + "line": 47, "column": 26 }, "end": { - "line": 46, + "line": 47, "column": 29 } } @@ -6217,15 +6538,15 @@ "updateContext": null }, "value": "typeof", - "start": 892, - "end": 898, + "start": 939, + "end": 945, "loc": { "start": { - "line": 46, + "line": 47, "column": 30 }, "end": { - "line": 46, + "line": 47, "column": 36 } } @@ -6243,15 +6564,15 @@ "binop": null }, "value": "item", - "start": 899, - "end": 903, + "start": 946, + "end": 950, "loc": { "start": { - "line": 46, + "line": 47, "column": 37 }, "end": { - "line": 46, + "line": 47, "column": 41 } } @@ -6269,15 +6590,15 @@ "binop": null, "updateContext": null }, - "start": 903, - "end": 904, + "start": 950, + "end": 951, "loc": { "start": { - "line": 46, + "line": 47, "column": 41 }, "end": { - "line": 46, + "line": 47, "column": 42 } } @@ -6295,15 +6616,15 @@ "binop": null }, "value": "value", - "start": 904, - "end": 909, + "start": 951, + "end": 956, "loc": { "start": { - "line": 46, + "line": 47, "column": 42 }, "end": { - "line": 46, + "line": 47, "column": 47 } } @@ -6321,15 +6642,15 @@ "binop": null, "updateContext": null }, - "start": 910, - "end": 911, + "start": 957, + "end": 958, "loc": { "start": { - "line": 46, + "line": 47, "column": 48 }, "end": { - "line": 46, + "line": 47, "column": 49 } } @@ -6347,15 +6668,15 @@ "binop": null }, "value": "item", - "start": 912, - "end": 916, + "start": 959, + "end": 963, "loc": { "start": { - "line": 46, + "line": 47, "column": 50 }, "end": { - "line": 46, + "line": 47, "column": 54 } } @@ -6373,15 +6694,15 @@ "binop": null, "updateContext": null }, - "start": 916, - "end": 917, + "start": 963, + "end": 964, "loc": { "start": { - "line": 46, + "line": 47, "column": 54 }, "end": { - "line": 46, + "line": 47, "column": 55 } } @@ -6399,15 +6720,15 @@ "binop": null }, "value": "value", - "start": 917, - "end": 922, + "start": 964, + "end": 969, "loc": { "start": { - "line": 46, + "line": 47, "column": 55 }, "end": { - "line": 46, + "line": 47, "column": 60 } } @@ -6425,15 +6746,15 @@ "binop": null, "updateContext": null }, - "start": 923, - "end": 924, + "start": 970, + "end": 971, "loc": { "start": { - "line": 46, + "line": 47, "column": 61 }, "end": { - "line": 46, + "line": 47, "column": 62 } } @@ -6451,15 +6772,15 @@ "binop": null }, "value": "i", - "start": 925, - "end": 926, + "start": 972, + "end": 973, "loc": { "start": { - "line": 46, + "line": 47, "column": 63 }, "end": { - "line": 46, + "line": 47, "column": 64 } } @@ -6477,15 +6798,15 @@ "binop": null, "updateContext": null }, - "start": 926, - "end": 927, + "start": 973, + "end": 974, "loc": { "start": { - "line": 46, + "line": 47, "column": 64 }, "end": { - "line": 46, + "line": 47, "column": 65 } } @@ -6505,15 +6826,15 @@ "updateContext": null }, "value": "return", - "start": 933, - "end": 939, + "start": 980, + "end": 986, "loc": { "start": { - "line": 47, + "line": 48, "column": 5 }, "end": { - "line": 47, + "line": 48, "column": 11 } } @@ -6530,15 +6851,15 @@ "postfix": false, "binop": null }, - "start": 939, - "end": 940, + "start": 986, + "end": 987, "loc": { "start": { - "line": 47, + "line": 48, "column": 11 }, "end": { - "line": 47, + "line": 48, "column": 12 } } @@ -6555,15 +6876,15 @@ "postfix": false, "binop": null }, - "start": 947, - "end": 948, + "start": 994, + "end": 995, "loc": { "start": { - "line": 48, + "line": 49, "column": 6 }, "end": { - "line": 48, + "line": 49, "column": 7 } } @@ -6582,15 +6903,15 @@ "updateContext": null }, "value": "option", - "start": 948, - "end": 954, + "start": 995, + "end": 1001, "loc": { "start": { - "line": 48, + "line": 49, "column": 7 }, "end": { - "line": 48, + "line": 49, "column": 13 } } @@ -6609,15 +6930,15 @@ "updateContext": null }, "value": "key", - "start": 962, - "end": 965, + "start": 1009, + "end": 1012, "loc": { "start": { - "line": 49, + "line": 50, "column": 7 }, "end": { - "line": 49, + "line": 50, "column": 10 } } @@ -6636,15 +6957,15 @@ "updateContext": null }, "value": "=", - "start": 965, - "end": 966, + "start": 1012, + "end": 1013, "loc": { "start": { - "line": 49, + "line": 50, "column": 10 }, "end": { - "line": 49, + "line": 50, "column": 11 } } @@ -6661,15 +6982,15 @@ "postfix": false, "binop": null }, - "start": 966, - "end": 967, + "start": 1013, + "end": 1014, "loc": { "start": { - "line": 49, + "line": 50, "column": 11 }, "end": { - "line": 49, + "line": 50, "column": 12 } } @@ -6687,15 +7008,15 @@ "binop": null }, "value": "key", - "start": 967, - "end": 970, + "start": 1014, + "end": 1017, "loc": { "start": { - "line": 49, + "line": 50, "column": 12 }, "end": { - "line": 49, + "line": 50, "column": 15 } } @@ -6712,15 +7033,15 @@ "postfix": false, "binop": null }, - "start": 970, - "end": 971, + "start": 1017, + "end": 1018, "loc": { "start": { - "line": 49, + "line": 50, "column": 15 }, "end": { - "line": 49, + "line": 50, "column": 16 } } @@ -6739,15 +7060,15 @@ "updateContext": null }, "value": "className", - "start": 979, - "end": 988, + "start": 1026, + "end": 1035, "loc": { "start": { - "line": 50, + "line": 51, "column": 7 }, "end": { - "line": 50, + "line": 51, "column": 16 } } @@ -6766,15 +7087,15 @@ "updateContext": null }, "value": "=", - "start": 988, - "end": 989, + "start": 1035, + "end": 1036, "loc": { "start": { - "line": 50, + "line": 51, "column": 16 }, "end": { - "line": 50, + "line": 51, "column": 17 } } @@ -6791,15 +7112,15 @@ "postfix": false, "binop": null }, - "start": 989, - "end": 990, + "start": 1036, + "end": 1037, "loc": { "start": { - "line": 50, + "line": 51, "column": 17 }, "end": { - "line": 50, + "line": 51, "column": 18 } } @@ -6818,15 +7139,15 @@ "updateContext": null }, "value": "caldera-config-option", - "start": 991, - "end": 1014, + "start": 1038, + "end": 1061, "loc": { "start": { - "line": 50, + "line": 51, "column": 19 }, "end": { - "line": 50, + "line": 51, "column": 42 } } @@ -6843,15 +7164,15 @@ "postfix": false, "binop": null }, - "start": 1015, - "end": 1016, + "start": 1062, + "end": 1063, "loc": { "start": { - "line": 50, + "line": 51, "column": 43 }, "end": { - "line": 50, + "line": 51, "column": 44 } } @@ -6870,15 +7191,15 @@ "updateContext": null }, "value": "value", - "start": 1024, - "end": 1029, + "start": 1071, + "end": 1076, "loc": { "start": { - "line": 51, + "line": 52, "column": 7 }, "end": { - "line": 51, + "line": 52, "column": 12 } } @@ -6897,15 +7218,15 @@ "updateContext": null }, "value": "=", - "start": 1029, - "end": 1030, + "start": 1076, + "end": 1077, "loc": { "start": { - "line": 51, + "line": 52, "column": 12 }, "end": { - "line": 51, + "line": 52, "column": 13 } } @@ -6922,15 +7243,15 @@ "postfix": false, "binop": null }, - "start": 1030, - "end": 1031, + "start": 1077, + "end": 1078, "loc": { "start": { - "line": 51, + "line": 52, "column": 13 }, "end": { - "line": 51, + "line": 52, "column": 14 } } @@ -6948,15 +7269,15 @@ "binop": null }, "value": "item", - "start": 1031, - "end": 1035, + "start": 1078, + "end": 1082, "loc": { "start": { - "line": 51, + "line": 52, "column": 14 }, "end": { - "line": 51, + "line": 52, "column": 18 } } @@ -6974,15 +7295,15 @@ "binop": null, "updateContext": null }, - "start": 1035, - "end": 1036, + "start": 1082, + "end": 1083, "loc": { "start": { - "line": 51, + "line": 52, "column": 18 }, "end": { - "line": 51, + "line": 52, "column": 19 } } @@ -7000,15 +7321,15 @@ "binop": null }, "value": "value", - "start": 1036, - "end": 1041, + "start": 1083, + "end": 1088, "loc": { "start": { - "line": 51, + "line": 52, "column": 19 }, "end": { - "line": 51, + "line": 52, "column": 24 } } @@ -7025,15 +7346,15 @@ "postfix": false, "binop": null }, - "start": 1041, - "end": 1042, + "start": 1088, + "end": 1089, "loc": { "start": { - "line": 51, + "line": 52, "column": 24 }, "end": { - "line": 51, + "line": 52, "column": 25 } } @@ -7050,15 +7371,15 @@ "postfix": false, "binop": null }, - "start": 1049, - "end": 1050, + "start": 1096, + "end": 1097, "loc": { "start": { - "line": 52, + "line": 53, "column": 6 }, "end": { - "line": 52, + "line": 53, "column": 7 } } @@ -7077,15 +7398,15 @@ "updateContext": null }, "value": "\n\t\t\t\t\t\t\t", - "start": 1050, - "end": 1058, + "start": 1097, + "end": 1105, "loc": { "start": { - "line": 52, + "line": 53, "column": 7 }, "end": { - "line": 53, + "line": 54, "column": 7 } } @@ -7102,15 +7423,15 @@ "postfix": false, "binop": null }, - "start": 1058, - "end": 1059, + "start": 1105, + "end": 1106, "loc": { "start": { - "line": 53, + "line": 54, "column": 7 }, "end": { - "line": 53, + "line": 54, "column": 8 } } @@ -7128,15 +7449,15 @@ "binop": null }, "value": "item", - "start": 1059, - "end": 1063, + "start": 1106, + "end": 1110, "loc": { "start": { - "line": 53, + "line": 54, "column": 8 }, "end": { - "line": 53, + "line": 54, "column": 12 } } @@ -7154,15 +7475,15 @@ "binop": null, "updateContext": null }, - "start": 1063, - "end": 1064, + "start": 1110, + "end": 1111, "loc": { "start": { - "line": 53, + "line": 54, "column": 12 }, "end": { - "line": 53, + "line": 54, "column": 13 } } @@ -7180,15 +7501,15 @@ "binop": null }, "value": "label", - "start": 1064, - "end": 1069, + "start": 1111, + "end": 1116, "loc": { "start": { - "line": 53, + "line": 54, "column": 13 }, "end": { - "line": 53, + "line": 54, "column": 18 } } @@ -7205,15 +7526,15 @@ "postfix": false, "binop": null }, - "start": 1069, - "end": 1070, + "start": 1116, + "end": 1117, "loc": { "start": { - "line": 53, + "line": 54, "column": 18 }, "end": { - "line": 53, + "line": 54, "column": 19 } } @@ -7232,15 +7553,15 @@ "updateContext": null }, "value": "\n\t\t\t\t\t\t", - "start": 1070, - "end": 1077, + "start": 1117, + "end": 1124, "loc": { "start": { - "line": 53, + "line": 54, "column": 19 }, "end": { - "line": 54, + "line": 55, "column": 6 } } @@ -7257,15 +7578,15 @@ "postfix": false, "binop": null }, - "start": 1077, - "end": 1078, + "start": 1124, + "end": 1125, "loc": { "start": { - "line": 54, + "line": 55, "column": 6 }, "end": { - "line": 54, + "line": 55, "column": 7 } } @@ -7284,15 +7605,15 @@ "updateContext": null }, "value": "/", - "start": 1078, - "end": 1079, + "start": 1125, + "end": 1126, "loc": { "start": { - "line": 54, + "line": 55, "column": 7 }, "end": { - "line": 54, + "line": 55, "column": 8 } } @@ -7311,15 +7632,15 @@ "updateContext": null }, "value": "option", - "start": 1079, - "end": 1085, + "start": 1126, + "end": 1132, "loc": { "start": { - "line": 54, + "line": 55, "column": 8 }, "end": { - "line": 54, + "line": 55, "column": 14 } } @@ -7336,15 +7657,15 @@ "postfix": false, "binop": null }, - "start": 1085, - "end": 1086, + "start": 1132, + "end": 1133, "loc": { "start": { - "line": 54, + "line": 55, "column": 14 }, "end": { - "line": 54, + "line": 55, "column": 15 } } @@ -7361,15 +7682,15 @@ "postfix": false, "binop": null }, - "start": 1092, - "end": 1093, + "start": 1139, + "end": 1140, "loc": { "start": { - "line": 55, + "line": 56, "column": 5 }, "end": { - "line": 55, + "line": 56, "column": 6 } } @@ -7387,15 +7708,15 @@ "binop": null, "updateContext": null }, - "start": 1093, - "end": 1094, + "start": 1140, + "end": 1141, "loc": { "start": { - "line": 55, + "line": 56, "column": 6 }, "end": { - "line": 55, + "line": 56, "column": 7 } } @@ -7412,15 +7733,15 @@ "postfix": false, "binop": null }, - "start": 1099, - "end": 1100, + "start": 1146, + "end": 1147, "loc": { "start": { - "line": 56, + "line": 57, "column": 4 }, "end": { - "line": 56, + "line": 57, "column": 5 } } @@ -7437,15 +7758,15 @@ "postfix": false, "binop": null }, - "start": 1100, - "end": 1101, + "start": 1147, + "end": 1148, "loc": { "start": { - "line": 56, + "line": 57, "column": 5 }, "end": { - "line": 56, + "line": 57, "column": 6 } } @@ -7462,15 +7783,15 @@ "postfix": false, "binop": null }, - "start": 1105, - "end": 1106, + "start": 1152, + "end": 1153, "loc": { "start": { - "line": 57, + "line": 58, "column": 3 }, "end": { - "line": 57, + "line": 58, "column": 4 } } @@ -7489,15 +7810,15 @@ "updateContext": null }, "value": "\n\t\t", - "start": 1106, - "end": 1109, + "start": 1153, + "end": 1156, "loc": { "start": { - "line": 57, + "line": 58, "column": 4 }, "end": { - "line": 58, + "line": 59, "column": 2 } } @@ -7514,15 +7835,15 @@ "postfix": false, "binop": null }, - "start": 1109, - "end": 1110, + "start": 1156, + "end": 1157, "loc": { "start": { - "line": 58, + "line": 59, "column": 2 }, "end": { - "line": 58, + "line": 59, "column": 3 } } @@ -7541,15 +7862,15 @@ "updateContext": null }, "value": "/", - "start": 1110, - "end": 1111, + "start": 1157, + "end": 1158, "loc": { "start": { - "line": 58, + "line": 59, "column": 3 }, "end": { - "line": 58, + "line": 59, "column": 4 } } @@ -7568,15 +7889,15 @@ "updateContext": null }, "value": "select", - "start": 1111, - "end": 1117, + "start": 1158, + "end": 1164, "loc": { "start": { - "line": 58, + "line": 59, "column": 4 }, "end": { - "line": 58, + "line": 59, "column": 10 } } @@ -7593,15 +7914,15 @@ "postfix": false, "binop": null }, - "start": 1117, - "end": 1118, + "start": 1164, + "end": 1165, "loc": { "start": { - "line": 58, + "line": 59, "column": 10 }, "end": { - "line": 58, + "line": 59, "column": 11 } } @@ -7618,15 +7939,15 @@ "postfix": false, "binop": null }, - "start": 1123, - "end": 1124, + "start": 1170, + "end": 1171, "loc": { "start": { - "line": 62, + "line": 63, "column": 1 }, "end": { - "line": 62, + "line": 63, "column": 2 } } @@ -7644,15 +7965,15 @@ "binop": null, "updateContext": null }, - "start": 1124, - "end": 1125, + "start": 1171, + "end": 1172, "loc": { "start": { - "line": 62, + "line": 63, "column": 2 }, "end": { - "line": 62, + "line": 63, "column": 3 } } @@ -7669,15 +7990,15 @@ "postfix": false, "binop": null }, - "start": 1126, - "end": 1127, + "start": 1173, + "end": 1174, "loc": { "start": { - "line": 63, + "line": 64, "column": 0 }, "end": { - "line": 63, + "line": 64, "column": 1 } } @@ -7695,15 +8016,15 @@ "binop": null, "updateContext": null }, - "start": 1127, - "end": 1128, + "start": 1174, + "end": 1175, "loc": { "start": { - "line": 63, + "line": 64, "column": 1 }, "end": { - "line": 63, + "line": 64, "column": 2 } } @@ -7711,15 +8032,15 @@ { "type": "CommentBlock", "value": "*\n * Prop definition for select fields\n *\n * @type {{}}\n ", - "start": 1130, - "end": 1191, + "start": 1177, + "end": 1238, "loc": { "start": { - "line": 65, + "line": 66, "column": 0 }, "end": { - "line": 69, + "line": 70, "column": 3 } } @@ -7737,15 +8058,15 @@ "binop": null }, "value": "SelectField", - "start": 1192, - "end": 1203, + "start": 1239, + "end": 1250, "loc": { "start": { - "line": 70, + "line": 71, "column": 0 }, "end": { - "line": 70, + "line": 71, "column": 11 } } @@ -7763,15 +8084,15 @@ "binop": null, "updateContext": null }, - "start": 1203, - "end": 1204, + "start": 1250, + "end": 1251, "loc": { "start": { - "line": 70, + "line": 71, "column": 11 }, "end": { - "line": 70, + "line": 71, "column": 12 } } @@ -7789,15 +8110,15 @@ "binop": null }, "value": "propTypes", - "start": 1204, - "end": 1213, + "start": 1251, + "end": 1260, "loc": { "start": { - "line": 70, + "line": 71, "column": 12 }, "end": { - "line": 70, + "line": 71, "column": 21 } } @@ -7816,15 +8137,15 @@ "updateContext": null }, "value": "=", - "start": 1214, - "end": 1215, + "start": 1261, + "end": 1262, "loc": { "start": { - "line": 70, + "line": 71, "column": 22 }, "end": { - "line": 70, + "line": 71, "column": 23 } } @@ -7841,15 +8162,15 @@ "postfix": false, "binop": null }, - "start": 1216, - "end": 1217, + "start": 1263, + "end": 1264, "loc": { "start": { - "line": 70, + "line": 71, "column": 24 }, "end": { - "line": 70, + "line": 71, "column": 25 } } @@ -7867,15 +8188,15 @@ "binop": null, "updateContext": null }, - "start": 1219, - "end": 1222, + "start": 1266, + "end": 1269, "loc": { "start": { - "line": 71, + "line": 72, "column": 1 }, "end": { - "line": 71, + "line": 72, "column": 4 } } @@ -7893,15 +8214,15 @@ "binop": null }, "value": "fieldPropTypes", - "start": 1222, - "end": 1236, + "start": 1269, + "end": 1283, "loc": { "start": { - "line": 71, + "line": 72, "column": 4 }, "end": { - "line": 71, + "line": 72, "column": 18 } } @@ -7919,19 +8240,97 @@ "binop": null, "updateContext": null }, - "start": 1236, - "end": 1237, + "start": 1283, + "end": 1284, "loc": { "start": { - "line": 71, + "line": 72, "column": 18 }, "end": { - "line": 71, + "line": 72, "column": 19 } } }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "options", + "start": 1286, + "end": 1293, + "loc": { + "start": { + "line": 73, + "column": 1 + }, + "end": { + "line": 73, + "column": 8 + } + } + }, + { + "type": { + "label": ":", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1293, + "end": 1294, + "loc": { + "start": { + "line": 73, + "column": 8 + }, + "end": { + "line": 73, + "column": 9 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "optionsShapeProp", + "start": 1295, + "end": 1311, + "loc": { + "start": { + "line": 73, + "column": 10 + }, + "end": { + "line": 73, + "column": 26 + } + } + }, { "type": { "label": "}", @@ -7944,15 +8343,15 @@ "postfix": false, "binop": null }, - "start": 1238, - "end": 1239, + "start": 1313, + "end": 1314, "loc": { "start": { - "line": 72, + "line": 75, "column": 0 }, "end": { - "line": 72, + "line": 75, "column": 1 } } @@ -7970,15 +8369,15 @@ "binop": null, "updateContext": null }, - "start": 1239, - "end": 1240, + "start": 1314, + "end": 1315, "loc": { "start": { - "line": 72, + "line": 75, "column": 1 }, "end": { - "line": 72, + "line": 75, "column": 2 } } @@ -7986,15 +8385,15 @@ { "type": "CommentBlock", "value": "*\n * Default props for select fields\n *\n * @type {{options: Array}}\n ", - "start": 1242, - "end": 1315, + "start": 1317, + "end": 1390, "loc": { "start": { - "line": 74, + "line": 77, "column": 0 }, "end": { - "line": 78, + "line": 81, "column": 3 } } @@ -8012,15 +8411,15 @@ "binop": null }, "value": "SelectField", - "start": 1316, - "end": 1327, + "start": 1391, + "end": 1402, "loc": { "start": { - "line": 79, + "line": 82, "column": 0 }, "end": { - "line": 79, + "line": 82, "column": 11 } } @@ -8038,15 +8437,15 @@ "binop": null, "updateContext": null }, - "start": 1327, - "end": 1328, + "start": 1402, + "end": 1403, "loc": { "start": { - "line": 79, + "line": 82, "column": 11 }, "end": { - "line": 79, + "line": 82, "column": 12 } } @@ -8064,15 +8463,15 @@ "binop": null }, "value": "defaultProps", - "start": 1328, - "end": 1340, + "start": 1403, + "end": 1415, "loc": { "start": { - "line": 79, + "line": 82, "column": 12 }, "end": { - "line": 79, + "line": 82, "column": 24 } } @@ -8091,15 +8490,15 @@ "updateContext": null }, "value": "=", - "start": 1341, - "end": 1342, + "start": 1416, + "end": 1417, "loc": { "start": { - "line": 79, + "line": 82, "column": 25 }, "end": { - "line": 79, + "line": 82, "column": 26 } } @@ -8116,15 +8515,15 @@ "postfix": false, "binop": null }, - "start": 1343, - "end": 1344, + "start": 1418, + "end": 1419, "loc": { "start": { - "line": 79, + "line": 82, "column": 27 }, "end": { - "line": 79, + "line": 82, "column": 28 } } @@ -8142,15 +8541,15 @@ "binop": null }, "value": "options", - "start": 1346, - "end": 1353, + "start": 1421, + "end": 1428, "loc": { "start": { - "line": 80, + "line": 83, "column": 1 }, "end": { - "line": 80, + "line": 83, "column": 8 } } @@ -8168,15 +8567,15 @@ "binop": null, "updateContext": null }, - "start": 1353, - "end": 1354, + "start": 1428, + "end": 1429, "loc": { "start": { - "line": 80, + "line": 83, "column": 8 }, "end": { - "line": 80, + "line": 83, "column": 9 } } @@ -8194,15 +8593,15 @@ "binop": null, "updateContext": null }, - "start": 1355, - "end": 1356, + "start": 1430, + "end": 1431, "loc": { "start": { - "line": 80, + "line": 83, "column": 10 }, "end": { - "line": 80, + "line": 83, "column": 11 } } @@ -8220,15 +8619,15 @@ "binop": null, "updateContext": null }, - "start": 1356, - "end": 1357, + "start": 1431, + "end": 1432, "loc": { "start": { - "line": 80, + "line": 83, "column": 11 }, "end": { - "line": 80, + "line": 83, "column": 12 } } @@ -8245,15 +8644,15 @@ "postfix": false, "binop": null }, - "start": 1358, - "end": 1359, + "start": 1433, + "end": 1434, "loc": { "start": { - "line": 81, + "line": 84, "column": 0 }, "end": { - "line": 81, + "line": 84, "column": 1 } } @@ -8271,15 +8670,15 @@ "binop": null, "updateContext": null }, - "start": 1359, - "end": 1360, + "start": 1434, + "end": 1435, "loc": { "start": { - "line": 81, + "line": 84, "column": 1 }, "end": { - "line": 81, + "line": 84, "column": 2 } } @@ -8297,15 +8696,15 @@ "binop": null, "updateContext": null }, - "start": 1360, - "end": 1360, + "start": 1435, + "end": 1435, "loc": { "start": { - "line": 81, + "line": 84, "column": 2 }, "end": { - "line": 81, + "line": 84, "column": 2 } } diff --git a/docs/badge.svg b/docs/badge.svg index a5edf2e..da5b4f7 100644 --- a/docs/badge.svg +++ b/docs/badge.svg @@ -11,7 +11,7 @@ document document - 66% - 66% + 73% + 73% diff --git a/docs/class/src/App.js~App.html b/docs/class/src/App.js~App.html index df7ef89..ca507a4 100644 --- a/docs/class/src/App.js~App.html +++ b/docs/class/src/App.js~App.html @@ -48,12 +48,18 @@
  • VfieldPropTypes
  • VinputTypeProp
  • VonValueChangePropType
  • +
  • VoptionShape
  • +
  • VoptionsShapeProp
  • VvaluePropType
  • +
  • components/fields/button-groupFButtonGroup
  • components/fields/factoriesFfieldFactory
  • FfieldSetFactory
  • FprepareFieldConfig
  • components/fields/field-group-change-handlersFfieldsetCheckboxHandler
  • components/fields/inputFInput
  • +
  • components/fields/magic-selectCMagicFieldGroup
  • +
  • CMagicItem
  • +
  • CMagicSelect
  • components/fields/messagesFMessage
  • FmessageObjectFactory
  • VMESSAGE_CLASS
  • @@ -73,13 +79,13 @@
    - + public class - | source + | source
    @@ -171,7 +177,7 @@

    - source + source

    diff --git a/docs/class/src/components/RenderGroup.js~RenderGroup.html b/docs/class/src/components/RenderGroup.js~RenderGroup.html index 3b60e85..88a4a29 100644 --- a/docs/class/src/components/RenderGroup.js~RenderGroup.html +++ b/docs/class/src/components/RenderGroup.js~RenderGroup.html @@ -48,12 +48,18 @@
  • VfieldPropTypes
  • VinputTypeProp
  • VonValueChangePropType
  • +
  • VoptionShape
  • +
  • VoptionsShapeProp
  • VvaluePropType
  • +
  • components/fields/button-groupFButtonGroup
  • components/fields/factoriesFfieldFactory
  • FfieldSetFactory
  • FprepareFieldConfig
  • components/fields/field-group-change-handlersFfieldsetCheckboxHandler
  • components/fields/inputFInput
  • +
  • components/fields/magic-selectCMagicFieldGroup
  • +
  • CMagicItem
  • +
  • CMagicSelect
  • components/fields/messagesFMessage
  • FmessageObjectFactory
  • VMESSAGE_CLASS
  • 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 new file mode 100644 index 0000000..f6fdf3a --- /dev/null +++ b/docs/class/src/components/fields/magic-select/MagicFieldGroup.js~MagicFieldGroup.html @@ -0,0 +1,1107 @@ + + + + + + MagicFieldGroup | Caldera Components library + + + + + + + +
    + + + Reference + Source + + +
    + + + +
    + + public + class + + + + | source +
    + +
    +

    MagicFieldGroup

    + + + + + +

    Extends:

    react~React.PureComponent → MagicFieldGroup
    + + + + + + + + + +

    Encapsulates a complete Magic Select field group including label and the type chooser and the input

    +
    + + + + + + + + + +
    + + + +

    Constructor Summary

    + + + + + + + + + +
    Public Constructor
    + public + + + + + +
    +

    + + + + constructor(props: Object) +

    +
    +
    + + +

    Create a MagicFieldGroup component

    +
    +
    +
    + + +
    +
    +

    Member Summary

    + + + + + + + + + +
    Public Members
    + public + + + + + +
    +

    + + + + state: {"currentListType": *, "isOpen": *} +

    +
    +
    + + + +
    +
    + + +
    +
    +

    Method Summary

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Public Methods
    + public + + + + + +
    +

    + + + + items(): Array +

    +
    +
    + + +

    Create the list of items

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + + + + listTypeOptions(): *[] +

    +
    +
    + + +

    Options for type chooser

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + + + + onChange(newValue: String | number) +

    +
    +
    + + +

    Handle direct change events

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + + + + onChangeListType({String}newType: *) +

    +
    +
    + + +

    Update list of tags to show

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + + + + onInputBlur() +

    +
    +
    + + +

    Handle when the field is blurred

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + + + + onInputFocus() +

    +
    +
    + + +

    Handle when the field gets focus

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + + + + onSelect(value: String | number) +

    +
    +
    + + +

    Handle when the option is chosen

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + + + + render(): * +

    +
    +
    + + +

    Render MagicFieldGroup component

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + + + + renderItem(item: object, isHighlighted: bool): * +

    +
    +
    + + +

    Render option

    +
    +
    +
    + + +
    +
    + + + + + +

    Public Constructors

    + +
    +

    + public + + + + + + constructor(props: Object) + + + + source + +

    + + + + +

    Create a MagicFieldGroup component

    +
    + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    propsObject
    +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    Public Members

    + +
    +

    + public + + + + + + state: {"currentListType": *, "isOpen": *} + + + + source + +

    + + + + + + + + +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    Public Methods

    + +
    +

    + public + + + + + + items(): Array + + + + source + +

    + + + + +

    Create the list of items

    +
    + + + +
    +
    + +
    +

    Return:

    + + + + + + + +
    Array
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + listTypeOptions(): *[] + + + + source + +

    + + + + +

    Options for type chooser

    +
    + + + +
    +
    + +
    +

    Return:

    + + + + + + + +
    *[]
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + onChange(newValue: String | number) + + + + source + +

    + + + + +

    Handle direct change events

    +
    + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    newValueString | number
    +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + onChangeListType({String}newType: *) + + + + source + +

    + + + + +

    Update list of tags to show

    +
    + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    {String}newType*
    +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + onInputBlur() + + + + source + +

    + + + + +

    Handle when the field is blurred

    +
    + + + +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + onInputFocus() + + + + source + +

    + + + + +

    Handle when the field gets focus

    +
    + + + +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + onSelect(value: String | number) + + + + source + +

    + + + + +

    Handle when the option is chosen

    +
    + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    valueString | number
    +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + render(): * + + + + source + +

    + + + + +

    Render MagicFieldGroup component

    +
    + + + +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + renderItem(item: object, isHighlighted: bool): * + + + + source + +

    + + + + +

    Render option

    +
    + + + +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    itemobject
    isHighlightedbool
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +
    + + + + + + + + + + + + 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 new file mode 100644 index 0000000..8ac078c --- /dev/null +++ b/docs/class/src/components/fields/magic-select/MagicItem.js~MagicItem.html @@ -0,0 +1,243 @@ + + + + + + MagicItem | Caldera Components library + + + + + + + +
    + + + Reference + Source + + +
    + + + +
    + + public + class + + + + | source +
    + +
    +

    MagicItem

    + + + + + +

    Extends:

    react~React.PureComponent → MagicItem
    + + + + + + + + + +

    Create magic item for option of magic selects

    +

    This can not be a functional component +https://github.com/reactjs/react-autocomplete/pull/293#issuecomment-371617758

    +
    + + + + + + + + + +
    + + + + + +

    Method Summary

    + + + + + + + + + +
    Public Methods
    + public + + + + + +
    +

    + + + + render(): * +

    +
    +
    + + +

    Render magic item components

    +
    +
    +
    + + +
    +
    + + + + + + + +

    Public Methods

    + +
    +

    + public + + + + + + render(): * + + + + source + +

    + + + + +

    Render magic item components

    +
    + + + +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +
    + + + + + + + + + + + + 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 new file mode 100644 index 0000000..50a788b --- /dev/null +++ b/docs/class/src/components/fields/magic-select/MagicSelect.js~MagicSelect.html @@ -0,0 +1,770 @@ + + + + + + MagicSelect | Caldera Components library + + + + + + + +
    + + + Reference + Source + + +
    + + + +
    + + public + class + + + + | source +
    + +
    +

    MagicSelect

    + + + + + +

    Extends:

    react~React.PureComponent → MagicSelect
    + + + + + + + + + +

    Encapsulates a complete Magic Select field

    +
    + + + + + + + + + +
    + + + +

    Constructor Summary

    + + + + + + + + + +
    Public Constructor
    + public + + + + + +
    +

    + + + + constructor(props: Object) +

    +
    +
    + + +

    Create a MagicSelect component

    +
    +
    +
    + + +
    +
    + +

    Method Summary

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Public Methods
    + public + + + + + +
    +

    + + + + onChange(event: Event) +

    +
    +
    + + +

    Handle direct change events

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + + + + onInputBlur() +

    +
    +
    + + +

    Handle when the field is blurred

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + + + + onInputFocus() +

    +
    +
    + + +

    Handle when the field gets focus

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + + + + onSelect(value: String | number) +

    +
    +
    + + +

    Handle when the option is chosen

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + + + + render(): * +

    +
    +
    + + +

    Render MagicSelect component

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + + + + renderItem(item: object, isHighlighted: bool): * +

    +
    +
    + + +

    Render option

    +
    +
    +
    + + +
    +
    + + + + + +

    Public Constructors

    + +
    +

    + public + + + + + + constructor(props: Object) + + + + source + +

    + + + + +

    Create a MagicSelect component

    +
    + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    propsObject
    +
    +
    + + + + + + + + + + + + + + + + + +
    +
    + +

    Public Methods

    + +
    +

    + public + + + + + + onChange(event: Event) + + + + source + +

    + + + + +

    Handle direct change events

    +

    Probably not needed

    +
    + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    eventEvent
    +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + onInputBlur() + + + + source + +

    + + + + +

    Handle when the field is blurred

    +
    + + + +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + onInputFocus() + + + + source + +

    + + + + +

    Handle when the field gets focus

    +
    + + + +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + onSelect(value: String | number) + + + + source + +

    + + + + +

    Handle when the option is chosen

    +
    + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    valueString | number
    +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + render(): * + + + + source + +

    + + + + +

    Render MagicSelect component

    +
    + + + +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + renderItem(item: object, isHighlighted: bool): * + + + + source + +

    + + + + +

    Render option

    +
    + + + +
    +

    Params:

    + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    itemobject
    isHighlightedbool
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +
    + + + + + + + + + + + + diff --git a/docs/coverage.json b/docs/coverage.json index 4e74899..c4d157f 100644 --- a/docs/coverage.json +++ b/docs/coverage.json @@ -1,25 +1,27 @@ { - "coverage": "66.1%", - "expectCount": 59, - "actualCount": 39, + "coverage": "73.56%", + "expectCount": 87, + "actualCount": 64, "files": { "src/App.js": { - "expectCount": 13, + "expectCount": 15, "actualCount": 0, "undocumentLines": [ - 8, 9, - 23, + 10, 24, - 35, - 36, - 57, - 58, - 79, - 85, - 89, - 95, - 97 + 42, + 43, + 54, + 55, + 76, + 77, + 98, + 105, + 109, + 115, + 117, + 119 ] }, "src/components/RenderGroup.js": { @@ -52,6 +54,11 @@ "actualCount": 1, "undocumentLines": [] }, + "src/components/fields/button-group/ButtonGroup.js": { + "expectCount": 1, + "actualCount": 1, + "undocumentLines": [] + }, "src/components/fields/factories/fieldFactory.js": { "expectCount": 1, "actualCount": 1, @@ -77,6 +84,23 @@ "actualCount": 1, "undocumentLines": [] }, + "src/components/fields/magic-select/MagicFieldGroup.js": { + "expectCount": 12, + "actualCount": 11, + "undocumentLines": [ + 25 + ] + }, + "src/components/fields/magic-select/MagicItem.js": { + "expectCount": 3, + "actualCount": 3, + "undocumentLines": [] + }, + "src/components/fields/magic-select/MagicSelect.js": { + "expectCount": 8, + "actualCount": 8, + "undocumentLines": [] + }, "src/components/fields/messages/Message.js": { "expectCount": 2, "actualCount": 2, @@ -93,8 +117,8 @@ "undocumentLines": [] }, "src/components/fields/propTypes.js": { - "expectCount": 6, - "actualCount": 5, + "expectCount": 8, + "actualCount": 7, "undocumentLines": [ 68 ] diff --git a/docs/file/src/App.js.html b/docs/file/src/App.js.html index 2a3d115..101b5c5 100644 --- a/docs/file/src/App.js.html +++ b/docs/file/src/App.js.html @@ -48,12 +48,18 @@
  • VfieldPropTypes
  • VinputTypeProp
  • VonValueChangePropType
  • +
  • VoptionShape
  • +
  • VoptionsShapeProp
  • VvaluePropType
  • +
  • components/fields/button-groupFButtonGroup
  • components/fields/factoriesFfieldFactory
  • FfieldSetFactory
  • FprepareFieldConfig
  • components/fields/field-group-change-handlersFfieldsetCheckboxHandler
  • components/fields/inputFInput
  • +
  • components/fields/magic-selectCMagicFieldGroup
  • +
  • CMagicItem
  • +
  • CMagicSelect
  • components/fields/messagesFMessage
  • FmessageObjectFactory
  • VMESSAGE_CLASS
  • @@ -79,6 +85,7 @@ import {FieldGroup} from "./components/fields/FieldGroup"; import {fieldSetFactory} from "./components/fields/factories/fieldSetFactory"; import {RenderGroup} from "./components/RenderGroup"; +import {MagicFieldGroup} from "./components/fields/magic-select/MagicFieldGroup"; let textFieldValue = 'Roy,Mike'; const textFieldConfig = { @@ -95,6 +102,24 @@ }; +const numberFieldConfig = { + 'id': 'cf--something-some-number', + 'label': 'The number of something', + 'desc': 'How many somethings?', + 'type': 'text', + 'inputType': 'number', + attributes: { + min: -1, + max: 22, + step: 0.1, + }, + value: 42, + onValueChange: (newNumberValue) =>{ + console.log(newNumberValue); + }, + +}; + let hiddenFieldValue = '42'; const hiddenFieldConfig = { 'id': 'cf-something-sequence-id', @@ -155,7 +180,8 @@ textFieldConfig, hiddenFieldConfig, selectFieldConfig, - fieldSetField + fieldSetField, + numberFieldConfig ]; const configFieldEls = fieldSetFactory(configFields); @@ -167,6 +193,8 @@ three: '' }; +let magicFieldValue = ''; + class App extends Component { render() { @@ -198,6 +226,39 @@ })} </div> + <div> + <h2>Magic Select</h2> + <MagicFieldGroup + id={'magic-5'} + fieldClassName={'magic'} + onValueChange={(newValue) => { + magicFieldValue = newValue; + } } + fieldsList={[ + { + label: 'Field One', + value: '%fldOne%' + }, + { + label: 'Field Two', + value: '%fldTwo%' + }, + { + label: 'Field Three', + value: '%fldThree%' + }, + ]} + systemTagsList={[ + { + label: 'User First Name', + value: '{user:first_name}' + } + ]} + isOpen={true} + value={magicFieldValue} + /> + </div> + <div> <h2>Inputs</h2> <FieldGroup diff --git a/docs/file/src/components/RenderGroup.js.html b/docs/file/src/components/RenderGroup.js.html index d7d67da..1846b6b 100644 --- a/docs/file/src/components/RenderGroup.js.html +++ b/docs/file/src/components/RenderGroup.js.html @@ -48,12 +48,18 @@
  • VfieldPropTypes
  • VinputTypeProp
  • VonValueChangePropType
  • +
  • VoptionShape
  • +
  • VoptionsShapeProp
  • VvaluePropType
  • +
  • components/fields/button-groupFButtonGroup
  • components/fields/factoriesFfieldFactory
  • FfieldSetFactory
  • FprepareFieldConfig
  • components/fields/field-group-change-handlersFfieldsetCheckboxHandler
  • components/fields/inputFInput
  • +
  • components/fields/magic-selectCMagicFieldGroup
  • +
  • CMagicItem
  • +
  • CMagicSelect
  • components/fields/messagesFMessage
  • FmessageObjectFactory
  • VMESSAGE_CLASS
  • diff --git a/docs/file/src/components/conditional-logic/checkConfigFieldConditionals.js.html b/docs/file/src/components/conditional-logic/checkConfigFieldConditionals.js.html index de88bf5..0ffa444 100644 --- a/docs/file/src/components/conditional-logic/checkConfigFieldConditionals.js.html +++ b/docs/file/src/components/conditional-logic/checkConfigFieldConditionals.js.html @@ -48,12 +48,18 @@
  • VfieldPropTypes
  • VinputTypeProp
  • VonValueChangePropType
  • +
  • VoptionShape
  • +
  • VoptionsShapeProp
  • VvaluePropType
  • +
  • components/fields/button-groupFButtonGroup
  • components/fields/factoriesFfieldFactory
  • FfieldSetFactory
  • FprepareFieldConfig
  • components/fields/field-group-change-handlersFfieldsetCheckboxHandler
  • components/fields/inputFInput
  • +
  • components/fields/magic-selectCMagicFieldGroup
  • +
  • CMagicItem
  • +
  • CMagicSelect
  • components/fields/messagesFMessage
  • FmessageObjectFactory
  • VMESSAGE_CLASS
  • diff --git a/docs/file/src/components/conditional-logic/checkConfigFieldsConditionals.js.html b/docs/file/src/components/conditional-logic/checkConfigFieldsConditionals.js.html index 6e5f8b7..7801e2c 100644 --- a/docs/file/src/components/conditional-logic/checkConfigFieldsConditionals.js.html +++ b/docs/file/src/components/conditional-logic/checkConfigFieldsConditionals.js.html @@ -48,12 +48,18 @@
  • VfieldPropTypes
  • VinputTypeProp
  • VonValueChangePropType
  • +
  • VoptionShape
  • +
  • VoptionsShapeProp
  • VvaluePropType
  • +
  • components/fields/button-groupFButtonGroup
  • components/fields/factoriesFfieldFactory
  • FfieldSetFactory
  • FprepareFieldConfig
  • components/fields/field-group-change-handlersFfieldsetCheckboxHandler
  • components/fields/inputFInput
  • +
  • components/fields/magic-selectCMagicFieldGroup
  • +
  • CMagicItem
  • +
  • CMagicSelect
  • components/fields/messagesFMessage
  • FmessageObjectFactory
  • VMESSAGE_CLASS
  • diff --git a/docs/file/src/components/conditional-logic/index.js.html b/docs/file/src/components/conditional-logic/index.js.html index 4df4c89..327a9da 100644 --- a/docs/file/src/components/conditional-logic/index.js.html +++ b/docs/file/src/components/conditional-logic/index.js.html @@ -48,12 +48,18 @@
  • VfieldPropTypes
  • VinputTypeProp
  • VonValueChangePropType
  • +
  • VoptionShape
  • +
  • VoptionsShapeProp
  • VvaluePropType
  • +
  • components/fields/button-groupFButtonGroup
  • components/fields/factoriesFfieldFactory
  • FfieldSetFactory
  • FprepareFieldConfig
  • components/fields/field-group-change-handlersFfieldsetCheckboxHandler
  • components/fields/inputFInput
  • +
  • components/fields/magic-selectCMagicFieldGroup
  • +
  • CMagicItem
  • +
  • CMagicSelect
  • components/fields/messagesFMessage
  • FmessageObjectFactory
  • VMESSAGE_CLASS
  • diff --git a/docs/file/src/components/conditional-logic/util.js.html b/docs/file/src/components/conditional-logic/util.js.html index b1097c6..566b425 100644 --- a/docs/file/src/components/conditional-logic/util.js.html +++ b/docs/file/src/components/conditional-logic/util.js.html @@ -48,12 +48,18 @@
  • VfieldPropTypes
  • VinputTypeProp
  • VonValueChangePropType
  • +
  • VoptionShape
  • +
  • VoptionsShapeProp
  • VvaluePropType
  • +
  • components/fields/button-groupFButtonGroup
  • components/fields/factoriesFfieldFactory
  • FfieldSetFactory
  • FprepareFieldConfig
  • components/fields/field-group-change-handlersFfieldsetCheckboxHandler
  • components/fields/inputFInput
  • +
  • components/fields/magic-selectCMagicFieldGroup
  • +
  • CMagicItem
  • +
  • CMagicSelect
  • components/fields/messagesFMessage
  • FmessageObjectFactory
  • VMESSAGE_CLASS
  • diff --git a/docs/file/src/components/fields/FieldGroup.js.html b/docs/file/src/components/fields/FieldGroup.js.html index d9ee939..212ec63 100644 --- a/docs/file/src/components/fields/FieldGroup.js.html +++ b/docs/file/src/components/fields/FieldGroup.js.html @@ -48,12 +48,18 @@
  • VfieldPropTypes
  • VinputTypeProp
  • VonValueChangePropType
  • +
  • VoptionShape
  • +
  • VoptionsShapeProp
  • VvaluePropType
  • +
  • components/fields/button-groupFButtonGroup
  • components/fields/factoriesFfieldFactory
  • FfieldSetFactory
  • FprepareFieldConfig
  • components/fields/field-group-change-handlersFfieldsetCheckboxHandler
  • components/fields/inputFInput
  • +
  • components/fields/magic-selectCMagicFieldGroup
  • +
  • CMagicItem
  • +
  • CMagicSelect
  • components/fields/messagesFMessage
  • FmessageObjectFactory
  • VMESSAGE_CLASS
  • diff --git a/docs/file/src/components/fields/FieldInner.js.html b/docs/file/src/components/fields/FieldInner.js.html index c1c4118..f3e13bc 100644 --- a/docs/file/src/components/fields/FieldInner.js.html +++ b/docs/file/src/components/fields/FieldInner.js.html @@ -48,12 +48,18 @@
  • VfieldPropTypes
  • VinputTypeProp
  • VonValueChangePropType
  • +
  • VoptionShape
  • +
  • VoptionsShapeProp
  • VvaluePropType
  • +
  • components/fields/button-groupFButtonGroup
  • components/fields/factoriesFfieldFactory
  • FfieldSetFactory
  • FprepareFieldConfig
  • components/fields/field-group-change-handlersFfieldsetCheckboxHandler
  • components/fields/inputFInput
  • +
  • components/fields/magic-selectCMagicFieldGroup
  • +
  • CMagicItem
  • +
  • CMagicSelect
  • components/fields/messagesFMessage
  • FmessageObjectFactory
  • VMESSAGE_CLASS
  • @@ -115,6 +121,7 @@ switch( props.type ){ case 'select': case 'dropdown': + const options = Array.isArray(props.options) ? props.options : []; return ( <SelectField id={props.id} @@ -123,7 +130,7 @@ value={props.value} onValueChange={props.onValueChange} inputType={props.inputType} - options={props.options} + options={options} 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 new file mode 100644 index 0000000..4cb5d1d --- /dev/null +++ b/docs/file/src/components/fields/button-group/ButtonGroup.js.html @@ -0,0 +1,175 @@ + + + + + + src/components/fields/button-group/ButtonGroup.js | Caldera Components library + + + + + + + +
    + + + Reference + Source + + +
    + + + +

    src/components/fields/button-group/ButtonGroup.js

    +
    import React from 'react';
    +import {optionShape} from '../propTypes';
    +import PropTypes from 'prop-types'
    +/**
    + * Creates a button group field
    + *
    + * @param {Object} props
    + * @returns {*}
    + * @constructor
    + */
    +export const ButtonGroup = (props) => {
    +	/**
    +	 * Dispatches new value(s) to parent
    +	 *
    +	 * @param selection
    +	 * @returns {*}
    +	 */
    +	function changeHandler(selection) {
    +		return props.onChange(selection);
    +	}
    +
    +	/**
    +	 * Render a button group
    +	 */
    +	return (
    +		<div
    +			role="group"
    +		>
    +			{props.options.map(option => {
    +				return <button
    +					aria-label={option.ariaLabel ? option.ariaLabel : option.label}
    +					key={option.value}
    +					className={props.value === option.value ? 'selected' : 'not-selected' }
    +					onClick={() => {
    +						return changeHandler(option.value);
    +					}}
    +				>
    +					{option.hasOwnProperty('icon')&&
    +						<span className={option.icon}></span>
    +					}
    +					{!option.hasOwnProperty('icon') &&
    +						<React.Fragment>{option.label}</React.Fragment>
    +					}
    +
    +				</button>
    +			})}
    +		</div>
    +	);
    +};
    +
    +/**
    + * Prop definition for select fields
    + *
    + * @type {{}}
    + */
    +ButtonGroup.propTypes = {
    +	onChange: PropTypes.func.isRequired,
    +	options: PropTypes.arrayOf(
    +		PropTypes.shape({
    +			...optionShape,
    +			icon:PropTypes.string,
    +			ariaLabel:PropTypes.string
    +		})
    +	),
    +	value: PropTypes.oneOfType([
    +		PropTypes.number,
    +		PropTypes.string
    +	])
    +};
    +
    +/**
    + * Default props for select fields
    + *
    + * @type {{options: Array}}
    + */
    +ButtonGroup.defaultProps = {
    +	options: []
    +};
    + +
    + + + + + + + + + + + + diff --git a/docs/file/src/components/fields/factories/fieldFactory.js.html b/docs/file/src/components/fields/factories/fieldFactory.js.html index e91a416..dee9a51 100644 --- a/docs/file/src/components/fields/factories/fieldFactory.js.html +++ b/docs/file/src/components/fields/factories/fieldFactory.js.html @@ -48,12 +48,18 @@
  • VfieldPropTypes
  • VinputTypeProp
  • VonValueChangePropType
  • +
  • VoptionShape
  • +
  • VoptionsShapeProp
  • VvaluePropType
  • +
  • components/fields/button-groupFButtonGroup
  • components/fields/factoriesFfieldFactory
  • FfieldSetFactory
  • FprepareFieldConfig
  • components/fields/field-group-change-handlersFfieldsetCheckboxHandler
  • components/fields/inputFInput
  • +
  • components/fields/magic-selectCMagicFieldGroup
  • +
  • CMagicItem
  • +
  • CMagicSelect
  • components/fields/messagesFMessage
  • FmessageObjectFactory
  • VMESSAGE_CLASS
  • diff --git a/docs/file/src/components/fields/factories/fieldSetFactory.js.html b/docs/file/src/components/fields/factories/fieldSetFactory.js.html index 433f985..078dc08 100644 --- a/docs/file/src/components/fields/factories/fieldSetFactory.js.html +++ b/docs/file/src/components/fields/factories/fieldSetFactory.js.html @@ -48,12 +48,18 @@
  • VfieldPropTypes
  • VinputTypeProp
  • VonValueChangePropType
  • +
  • VoptionShape
  • +
  • VoptionsShapeProp
  • VvaluePropType
  • +
  • components/fields/button-groupFButtonGroup
  • components/fields/factoriesFfieldFactory
  • FfieldSetFactory
  • FprepareFieldConfig
  • components/fields/field-group-change-handlersFfieldsetCheckboxHandler
  • components/fields/inputFInput
  • +
  • components/fields/magic-selectCMagicFieldGroup
  • +
  • CMagicItem
  • +
  • CMagicSelect
  • components/fields/messagesFMessage
  • FmessageObjectFactory
  • VMESSAGE_CLASS
  • diff --git a/docs/file/src/components/fields/factories/index.js.html b/docs/file/src/components/fields/factories/index.js.html index 60f1b79..366ff38 100644 --- a/docs/file/src/components/fields/factories/index.js.html +++ b/docs/file/src/components/fields/factories/index.js.html @@ -48,12 +48,18 @@
  • VfieldPropTypes
  • VinputTypeProp
  • VonValueChangePropType
  • +
  • VoptionShape
  • +
  • VoptionsShapeProp
  • VvaluePropType
  • +
  • components/fields/button-groupFButtonGroup
  • components/fields/factoriesFfieldFactory
  • FfieldSetFactory
  • FprepareFieldConfig
  • components/fields/field-group-change-handlersFfieldsetCheckboxHandler
  • components/fields/inputFInput
  • +
  • components/fields/magic-selectCMagicFieldGroup
  • +
  • CMagicItem
  • +
  • CMagicSelect
  • components/fields/messagesFMessage
  • FmessageObjectFactory
  • VMESSAGE_CLASS
  • diff --git a/docs/file/src/components/fields/factories/prepareFieldConfig.js.html b/docs/file/src/components/fields/factories/prepareFieldConfig.js.html index 0fbd2ef..d9deebc 100644 --- a/docs/file/src/components/fields/factories/prepareFieldConfig.js.html +++ b/docs/file/src/components/fields/factories/prepareFieldConfig.js.html @@ -48,12 +48,18 @@
  • VfieldPropTypes
  • VinputTypeProp
  • VonValueChangePropType
  • +
  • VoptionShape
  • +
  • VoptionsShapeProp
  • VvaluePropType
  • +
  • components/fields/button-groupFButtonGroup
  • components/fields/factoriesFfieldFactory
  • FfieldSetFactory
  • FprepareFieldConfig
  • components/fields/field-group-change-handlersFfieldsetCheckboxHandler
  • components/fields/inputFInput
  • +
  • components/fields/magic-selectCMagicFieldGroup
  • +
  • CMagicItem
  • +
  • CMagicSelect
  • components/fields/messagesFMessage
  • FmessageObjectFactory
  • VMESSAGE_CLASS
  • 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 b118462..ab70078 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 @@ -48,12 +48,18 @@
  • VfieldPropTypes
  • VinputTypeProp
  • VonValueChangePropType
  • +
  • VoptionShape
  • +
  • VoptionsShapeProp
  • VvaluePropType
  • +
  • components/fields/button-groupFButtonGroup
  • components/fields/factoriesFfieldFactory
  • FfieldSetFactory
  • FprepareFieldConfig
  • components/fields/field-group-change-handlersFfieldsetCheckboxHandler
  • components/fields/inputFInput
  • +
  • components/fields/magic-selectCMagicFieldGroup
  • +
  • CMagicItem
  • +
  • CMagicSelect
  • components/fields/messagesFMessage
  • FmessageObjectFactory
  • VMESSAGE_CLASS
  • diff --git a/docs/file/src/components/fields/index.js.html b/docs/file/src/components/fields/index.js.html index 4a1dc7e..fa5187d 100644 --- a/docs/file/src/components/fields/index.js.html +++ b/docs/file/src/components/fields/index.js.html @@ -48,12 +48,18 @@
  • VfieldPropTypes
  • VinputTypeProp
  • VonValueChangePropType
  • +
  • VoptionShape
  • +
  • VoptionsShapeProp
  • VvaluePropType
  • +
  • components/fields/button-groupFButtonGroup
  • components/fields/factoriesFfieldFactory
  • FfieldSetFactory
  • FprepareFieldConfig
  • components/fields/field-group-change-handlersFfieldsetCheckboxHandler
  • components/fields/inputFInput
  • +
  • components/fields/magic-selectCMagicFieldGroup
  • +
  • CMagicItem
  • +
  • CMagicSelect
  • components/fields/messagesFMessage
  • FmessageObjectFactory
  • VMESSAGE_CLASS
  • diff --git a/docs/file/src/components/fields/input/Input.js.html b/docs/file/src/components/fields/input/Input.js.html index ae46e6b..ad8f2f0 100644 --- a/docs/file/src/components/fields/input/Input.js.html +++ b/docs/file/src/components/fields/input/Input.js.html @@ -48,12 +48,18 @@
  • VfieldPropTypes
  • VinputTypeProp
  • VonValueChangePropType
  • +
  • VoptionShape
  • +
  • VoptionsShapeProp
  • VvaluePropType
  • +
  • components/fields/button-groupFButtonGroup
  • components/fields/factoriesFfieldFactory
  • FfieldSetFactory
  • FprepareFieldConfig
  • components/fields/field-group-change-handlersFfieldsetCheckboxHandler
  • components/fields/inputFInput
  • +
  • components/fields/magic-selectCMagicFieldGroup
  • +
  • CMagicItem
  • +
  • CMagicSelect
  • components/fields/messagesFMessage
  • FmessageObjectFactory
  • VMESSAGE_CLASS
  • diff --git a/docs/file/src/components/fields/magic-select/MagicFieldGroup.js.html b/docs/file/src/components/fields/magic-select/MagicFieldGroup.js.html new file mode 100644 index 0000000..0e0675a --- /dev/null +++ b/docs/file/src/components/fields/magic-select/MagicFieldGroup.js.html @@ -0,0 +1,305 @@ + + + + + + src/components/fields/magic-select/MagicFieldGroup.js | Caldera Components library + + + + + + + +
    + + + Reference + Source + + +
    + + + +

    src/components/fields/magic-select/MagicFieldGroup.js

    +
    import React from 'react';
    +import {
    +	onValueChangePropType,
    +	optionsShapeProp,
    +	valuePropType
    +} from '../propTypes';
    +import classNames from 'classnames';
    +import PropTypes from 'prop-types';
    +import {MagicItem} from './MagicItem';
    +import {ButtonGroup} from "../button-group/ButtonGroup";
    +import {MagicSelect} from "./MagicSelect";
    +
    +/**
    + * Encapsulates a complete Magic Select field group including label and the type chooser and the input
    + */
    +export class MagicFieldGroup extends React.PureComponent {
    +
    +	/**
    +	 * Create a MagicFieldGroup component
    +	 *
    +	 * @param {Object} props
    +	 */
    +	constructor(props) {
    +		super(props);
    +		this.state = {
    +			currentListType: props.defaultList,
    +			isOpen: props.isOpen
    +		};
    +		this.onChange = this.onChange.bind(this);
    +		this.items = this.items.bind(this);
    +		this.onChange = this.onChange.bind(this);
    +		this.onSelect = this.onSelect.bind(this);
    +		this.onInputFocus = this.onInputFocus.bind(this);
    +		this.renderItem = this.renderItem.bind(this);
    +		this.onInputBlur = this.onInputBlur.bind(this);
    +		this.onChangeListType = this.onChangeListType.bind(this);
    +		this.listTypeOptions = this.listTypeOptions.bind(this);
    +	}
    +
    +	/**
    +	 * Handle direct change events
    +	 * @param {String|number} newValue
    +	 */
    +	onChange(newValue) {
    +		this.props.onValueChange(newValue);
    +	}
    +
    +	/**
    +	 * Handle when the field gets focus
    +	 */
    +	onInputFocus() {
    +		this.setState({isOpen: true});
    +	}
    +
    +	/**
    +	 * Handle when the field is blurred
    +	 */
    +	onInputBlur() {
    +		this.setState({isOpen: false});
    +	}
    +
    +
    +	/**
    +	 * Handle when the option is chosen
    +	 * @param {String|number} value
    +	 */
    +	onSelect(value) {
    +		this.props.onValueChange(value);
    +	}
    +
    +	/**
    +	 * Update list of tags to show
    +	 * @param {String}newType
    +	 */
    +	onChangeListType(newType){
    +		if( ! this.state.isOpen ){
    +			this.setState({isOpen:true});
    +		}
    +		this.setState({currentListType:newType});
    +	}
    +
    +	/**
    +	 * Render option
    +	 *
    +	 * @param {object} item
    +	 * @param {bool} isHighlighted
    +	 * @return {*}
    +	 */
    +	renderItem(item, isHighlighted){
    +		return <MagicItem item={item} isHighlighted={isHighlighted} innerKey={item.innerKey} key={item.innerKey} />
    +	}
    +
    +	/**
    +	 * Create the list of items
    +	 *
    +	 * @return {Array}
    +	 */
    +	items() {
    +		const optionsOrEmpty =(options) => {
    +			return Array.isArray(options) && options.length ? options : [];
    +		};
    +
    +		let items = [];
    +
    +		if( optionsOrEmpty(this.props.options).length){
    +			items = optionsOrEmpty(this.props.options);
    +		}
    +		else if ('system' === this.state.currentListType ) {
    +			items = optionsOrEmpty(this.props.systemTagsList);
    +		} else {
    +			items = optionsOrEmpty(this.props.fieldsList);
    +		}
    +
    +		if (items.length) {
    +			items.forEach((item, itemIndex) => {
    +				items[itemIndex].innerKey = `${item.value}-${itemIndex}`;
    +			});
    +		}else{
    +			items.push({
    +				value: null,
    +				label: null,
    +				innerKey:this.props.id
    +			})
    +		}
    +
    +		return items;
    +
    +	}
    +
    +	/**
    +	 * Options for type chooser
    +	 *
    +	 * @return {*[]}
    +	 */
    +	listTypeOptions(){
    +		return [
    +			{
    +				value: 'fields',
    +				label: '%',
    +				ariaLabel: 'Select from field values'
    +			},
    +			{
    +				value: 'system',
    +				label: '{}',
    +				ariaLabel: 'Select from system values'
    +			},
    +		]
    +	}
    +
    +
    +
    +	/**
    +	 * Render MagicFieldGroup component
    +	 * @return {*}
    +	 */
    +	render() {
    +		return (
    +			<div
    +				className={classNames('magic-select', this.props.className)}
    +			>
    +				{this.state.isOpen &&
    +					<ButtonGroup
    +						onChange={this.onChangeListType}
    +						options={this.listTypeOptions()}
    +						value={this.state.currentListType}
    +					/>
    +				}
    +
    +				<MagicSelect
    +					id={this.props.id}
    +					options={this.items()}
    +					onValueChange={this.props.onValueChange}
    +					value={this.props.value}
    +					isRequired={this.props.isRequired}
    +					isOpen={this.state.isOpen}
    +				/>
    +			</div>
    +		);
    +	}
    +}
    +
    +
    +/**
    + * Prop definitions for MagicFieldGroup component
    + */
    +MagicFieldGroup.propTypes = {
    +	id: PropTypes.string.isRequired,
    +	fieldsList: optionsShapeProp,
    +	systemTagsList: optionsShapeProp,
    +	options: optionsShapeProp,
    +	isRequired: PropTypes.bool,
    +	help: PropTypes.string,
    +	value: valuePropType,
    +	onValueChange: onValueChangePropType,
    +	disabled: PropTypes.bool,
    +	defaultList: PropTypes.string,
    +	isOpen: PropTypes.bool
    +};
    +
    +/**
    + * Default property values for MagicFieldGroup component
    + *
    + * @type {{}}
    + */
    +MagicFieldGroup.defaultProps = {
    +	defaultList: 'fields',
    +	isOpen: false,
    +};
    + +
    + + + + + + + + + + + + diff --git a/docs/file/src/components/fields/magic-select/MagicItem.js.html b/docs/file/src/components/fields/magic-select/MagicItem.js.html new file mode 100644 index 0000000..00d95c7 --- /dev/null +++ b/docs/file/src/components/fields/magic-select/MagicItem.js.html @@ -0,0 +1,183 @@ + + + + + + src/components/fields/magic-select/MagicItem.js | Caldera Components library + + + + + + + +
    + + + Reference + Source + + +
    + + + +

    src/components/fields/magic-select/MagicItem.js

    +
    import React from 'react';
    +import {
    +	optionShape
    +} from '../propTypes';
    +import classNames from 'classnames';
    +import PropTypes from 'prop-types';
    +
    +/**
    + * Create magic item for option of magic selects
    + *
    + * This can not be a functional component
    + * https://github.com/reactjs/react-autocomplete/pull/293#issuecomment-371617758
    + *
    + *
    + * @param {Object} props
    + * @return {*}
    + * @constructor
    + */
    +export class MagicItem extends React.PureComponent {
    +
    +	/**
    +	 * Render magic item components
    +	 */
    +	render() {
    +		return React.createElement(
    +			this.props.elementType,
    +			{
    +				style: {background: this.props.isHighlighted ? this.props.highlightColor : this.props.notHighlighterColor},
    +				className: classNames(this.props.className, 'magic-input-option'),
    +
    +			},
    +			[
    +				React.createElement(
    +					this.props.innerElementType,
    +					{
    +						key: `left--${this.props.innerKey}`,
    +						className: classNames('magic-item-value', 'magic-item-left')
    +					},
    +					this.props.item.value
    +				),
    +				React.createElement(
    +					this.props.innerElementType,
    +					{
    +						key: `right--${this.props.innerKey}`,
    +						className: classNames('magic-item-label', 'magic-item-right')
    +					},
    +					this.props.item.label
    +				)
    +			]
    +		);
    +	}
    +};
    +
    +/**
    + * Prop definition for allowed element types
    + * @type {shim}
    + */
    +const elementTypesProp = PropTypes.oneOf(['div', 'span']);
    +/**
    + * Prop definitions for MagicItem component
    + *
    + * @type {{item: shim, isHighlighted: shim, className: shim, highlightColor: shim, notHighlighterColor: shim}}
    + */
    +MagicItem.propTypes = {
    +	elementType: elementTypesProp,
    +	innerElementType: elementTypesProp,
    +	item: PropTypes.shape(optionShape),
    +	isHighlighted: PropTypes.bool,
    +	className: PropTypes.string,
    +	highlightColor: PropTypes.string,
    +	notHighlighterColor: PropTypes.string,
    +	innerKey: PropTypes.string.isRequired
    +};
    +
    +/**
    + * Default props for the MagicItem component
    + *
    + * @type {{isHighlighted: boolean, highlightColor: string, notHighlightedColor: string}}
    + */
    +MagicItem.defaultProps = {
    +	elementType: 'div',
    +	innerElementType: 'span',
    +	isHighlighted: false,
    +	highlightColor: 'lightgray',
    +	notHighlightedColor: 'white',
    +};
    + +
    + + + + + + + + + + + + diff --git a/docs/file/src/components/fields/magic-select/MagicSelect.js.html b/docs/file/src/components/fields/magic-select/MagicSelect.js.html new file mode 100644 index 0000000..3ca61c7 --- /dev/null +++ b/docs/file/src/components/fields/magic-select/MagicSelect.js.html @@ -0,0 +1,234 @@ + + + + + + src/components/fields/magic-select/MagicSelect.js | Caldera Components library + + + + + + + +
    + + + Reference + Source + + +
    + + + +

    src/components/fields/magic-select/MagicSelect.js

    +
    import React from 'react';
    +import {
    +	onValueChangePropType,
    +	optionsShapeProp,
    +	valuePropType
    +} from '../propTypes';
    +import Autocomplete from 'react-autocomplete';
    +import PropTypes from 'prop-types';
    +import {MagicItem} from './MagicItem';
    +
    +/**
    + * Encapsulates a complete Magic Select field
    + */
    +export class MagicSelect extends React.PureComponent {
    +
    +	/**
    +	 * Create a MagicSelect component
    +	 *
    +	 * @param {Object} props
    +	 */
    +	constructor(props) {
    +		super(props);
    +		this.onChange = this.onChange.bind(this);
    +		this.onChange = this.onChange.bind(this);
    +		this.onSelect = this.onSelect.bind(this);
    +		this.onInputFocus = this.onInputFocus.bind(this);
    +		this.renderItem = this.renderItem.bind(this);
    +		this.onInputBlur = this.onInputBlur.bind(this);
    +	}
    +
    +	/**
    +	 * Handle direct change events
    +	 *
    +	 * Probably not needed
    +	 * @param {Event} event
    +	 */
    +	onChange(event) {
    +		this.props.onValueChange(event.target.value);
    +	}
    +
    +	/**
    +	 * Handle when the field gets focus
    +	 */
    +	onInputFocus() {
    +		if( 'function' === typeof this.props.onFocus ){
    +			this.props.onFocus();
    +		}
    +	}
    +
    +	/**
    +	 * Handle when the field is blurred
    +	 */
    +	onInputBlur() {
    +		if( 'function' === typeof this.props.onBlur ){
    +			this.props.onBlur();
    +		}
    +	}
    +
    +
    +	/**
    +	 * Handle when the option is chosen
    +	 * @param {String|number} value
    +	 */
    +	onSelect(value) {
    +		this.props.onValueChange(value);
    +	}
    +
    +
    +	/**
    +	 * Render option
    +	 *
    +	 * @param {object} item
    +	 * @param {bool} isHighlighted
    +	 * @return {*}
    +	 */
    +	renderItem(item, isHighlighted){
    +		return <MagicItem item={item} isHighlighted={isHighlighted} innerKey={item.innerKey} key={item.innerKey} />
    +	}
    +
    +
    +	/**
    +	 * Render MagicSelect component
    +	 * @return {*}
    +	 */
    +	render() {
    +		return (
    +
    +			<Autocomplete
    +				getItemValue={(item) => item.value}
    +				items={this.props.options}
    +				inputProps={{
    +					id: this.props.id,
    +					value: this.props.value,
    +					className: `${this.props.id}-magic-input`,
    +					onFocus: this.onInputFocus,
    +					onBlur:this.onInputBlur,
    +					onClick:this.onChange
    +				}}
    +				renderItem={this.renderItem}
    +				value={this.props.value}
    +				onChange={this.onChange}
    +				open={this.props.isOpen}
    +				selectOnBlur={true}
    +				onSelect={this.onSelect}
    +			/>
    +
    +		);
    +	}
    +}
    +
    +
    +/**
    + * Prop definitions for MagicSelect component
    + */
    +MagicSelect.propTypes = {
    +	id: PropTypes.string.isRequired,
    +	options: optionsShapeProp,
    +	isRequired: PropTypes.bool,
    +	help: PropTypes.string,
    +	value: valuePropType,
    +	onValueChange: onValueChangePropType,
    +	disabled: PropTypes.bool,
    +	isOpen: PropTypes.bool,
    +	onBlur: PropTypes.func,
    +	onFocus: PropTypes.func
    +};
    +
    +/**
    + * Default property values for MagicSelect component
    + *
    + * @type {{}}
    + */
    +MagicSelect.defaultProps = {
    +	defaultList: 'fields',
    +	isOpen: false,
    +	options:[]
    +};
    + +
    + + + + + + + + + + + + diff --git a/docs/file/src/components/fields/messages/Message.js.html b/docs/file/src/components/fields/messages/Message.js.html index a230d1c..8c7486e 100644 --- a/docs/file/src/components/fields/messages/Message.js.html +++ b/docs/file/src/components/fields/messages/Message.js.html @@ -48,12 +48,18 @@
  • VfieldPropTypes
  • VinputTypeProp
  • VonValueChangePropType
  • +
  • VoptionShape
  • +
  • VoptionsShapeProp
  • VvaluePropType
  • +
  • components/fields/button-groupFButtonGroup
  • components/fields/factoriesFfieldFactory
  • FfieldSetFactory
  • FprepareFieldConfig
  • components/fields/field-group-change-handlersFfieldsetCheckboxHandler
  • components/fields/inputFInput
  • +
  • components/fields/magic-selectCMagicFieldGroup
  • +
  • CMagicItem
  • +
  • CMagicSelect
  • components/fields/messagesFMessage
  • FmessageObjectFactory
  • VMESSAGE_CLASS
  • diff --git a/docs/file/src/components/fields/messages/messageObjectFactory.js.html b/docs/file/src/components/fields/messages/messageObjectFactory.js.html index 32ffb9b..009966c 100644 --- a/docs/file/src/components/fields/messages/messageObjectFactory.js.html +++ b/docs/file/src/components/fields/messages/messageObjectFactory.js.html @@ -48,12 +48,18 @@
  • VfieldPropTypes
  • VinputTypeProp
  • VonValueChangePropType
  • +
  • VoptionShape
  • +
  • VoptionsShapeProp
  • VvaluePropType
  • +
  • components/fields/button-groupFButtonGroup
  • components/fields/factoriesFfieldFactory
  • FfieldSetFactory
  • FprepareFieldConfig
  • components/fields/field-group-change-handlersFfieldsetCheckboxHandler
  • components/fields/inputFInput
  • +
  • components/fields/magic-selectCMagicFieldGroup
  • +
  • CMagicItem
  • +
  • CMagicSelect
  • components/fields/messagesFMessage
  • FmessageObjectFactory
  • VMESSAGE_CLASS
  • diff --git a/docs/file/src/components/fields/messages/messagePropTypes.js.html b/docs/file/src/components/fields/messages/messagePropTypes.js.html index 86aef0d..43f0e37 100644 --- a/docs/file/src/components/fields/messages/messagePropTypes.js.html +++ b/docs/file/src/components/fields/messages/messagePropTypes.js.html @@ -48,12 +48,18 @@
  • VfieldPropTypes
  • VinputTypeProp
  • VonValueChangePropType
  • +
  • VoptionShape
  • +
  • VoptionsShapeProp
  • VvaluePropType
  • +
  • components/fields/button-groupFButtonGroup
  • components/fields/factoriesFfieldFactory
  • FfieldSetFactory
  • FprepareFieldConfig
  • components/fields/field-group-change-handlersFfieldsetCheckboxHandler
  • components/fields/inputFInput
  • +
  • components/fields/magic-selectCMagicFieldGroup
  • +
  • CMagicItem
  • +
  • CMagicSelect
  • components/fields/messagesFMessage
  • FmessageObjectFactory
  • VMESSAGE_CLASS
  • diff --git a/docs/file/src/components/fields/propTypes.js.html b/docs/file/src/components/fields/propTypes.js.html index 711cdcc..611e680 100644 --- a/docs/file/src/components/fields/propTypes.js.html +++ b/docs/file/src/components/fields/propTypes.js.html @@ -48,12 +48,18 @@
  • VfieldPropTypes
  • VinputTypeProp
  • VonValueChangePropType
  • +
  • VoptionShape
  • +
  • VoptionsShapeProp
  • VvaluePropType
  • +
  • components/fields/button-groupFButtonGroup
  • components/fields/factoriesFfieldFactory
  • FfieldSetFactory
  • FprepareFieldConfig
  • components/fields/field-group-change-handlersFfieldsetCheckboxHandler
  • components/fields/inputFInput
  • +
  • components/fields/magic-selectCMagicFieldGroup
  • +
  • CMagicItem
  • +
  • CMagicSelect
  • components/fields/messagesFMessage
  • FmessageObjectFactory
  • VMESSAGE_CLASS
  • @@ -99,7 +105,7 @@ * Proptypes for Input component * @type {shim} */ -export const inputTypeProp = PropTypes.string; +export const inputTypeProp = PropTypes.string; /** * PropTypes for field groups @@ -112,11 +118,11 @@ isRequired: PropTypes.bool, help: PropTypes.string, label: PropTypes.string.isRequired, - type: PropTypes.oneOf(['input','select', 'fieldset']), + type: PropTypes.oneOf(['input', 'select', 'fieldset']), value: valuePropType, onValueChange: onValueChangePropType, options: PropTypes.array, - inputType:inputTypeProp, + inputType: inputTypeProp, disabled: PropTypes.bool, message: messagePropShape, onBlur: PropTypes.func, @@ -141,7 +147,28 @@ }; export const fieldPropTypes = fieldInnerPropTypes; - + +/** + * The shape of one option for a select field + * + * @type {{label: shim, value: shim}} + */ +export const optionShape = { + label: PropTypes.string, + value: PropTypes.oneOfType([ + PropTypes.string, + PropTypes.number, + ]) +}; + +/** + * Shape of options prop for select fields + * + * @type {shim} + */ +export const optionsShapeProp = PropTypes.arrayOf( + PropTypes.shape(optionShape) +);
    diff --git a/docs/file/src/components/fields/select/SelectField.js.html b/docs/file/src/components/fields/select/SelectField.js.html index de364e0..4fe43b7 100644 --- a/docs/file/src/components/fields/select/SelectField.js.html +++ b/docs/file/src/components/fields/select/SelectField.js.html @@ -48,12 +48,18 @@
  • VfieldPropTypes
  • VinputTypeProp
  • VonValueChangePropType
  • +
  • VoptionShape
  • +
  • VoptionsShapeProp
  • VvaluePropType
  • +
  • components/fields/button-groupFButtonGroup
  • components/fields/factoriesFfieldFactory
  • FfieldSetFactory
  • FprepareFieldConfig
  • components/fields/field-group-change-handlersFfieldsetCheckboxHandler
  • components/fields/inputFInput
  • +
  • components/fields/magic-selectCMagicFieldGroup
  • +
  • CMagicItem
  • +
  • CMagicSelect
  • components/fields/messagesFMessage
  • FmessageObjectFactory
  • VMESSAGE_CLASS
  • @@ -77,6 +83,7 @@ import {fieldPropTypes} from '../propTypes'; import classNames from 'classnames'; import {RenderGroup} from '../../RenderGroup'; +import {optionsShapeProp} from '../propTypes'; /** * Creates a select field @@ -144,6 +151,8 @@ */ SelectField.propTypes = { ...fieldPropTypes, + options: optionsShapeProp + }; /** diff --git a/docs/file/src/components/fields/select/SelectFieldFancy.js.html b/docs/file/src/components/fields/select/SelectFieldFancy.js.html index b7d6a7c..56630e2 100644 --- a/docs/file/src/components/fields/select/SelectFieldFancy.js.html +++ b/docs/file/src/components/fields/select/SelectFieldFancy.js.html @@ -48,12 +48,18 @@
  • VfieldPropTypes
  • VinputTypeProp
  • VonValueChangePropType
  • +
  • VoptionShape
  • +
  • VoptionsShapeProp
  • VvaluePropType
  • +
  • components/fields/button-groupFButtonGroup
  • components/fields/factoriesFfieldFactory
  • FfieldSetFactory
  • FprepareFieldConfig
  • components/fields/field-group-change-handlersFfieldsetCheckboxHandler
  • components/fields/inputFInput
  • +
  • components/fields/magic-selectCMagicFieldGroup
  • +
  • CMagicItem
  • +
  • CMagicSelect
  • components/fields/messagesFMessage
  • FmessageObjectFactory
  • VMESSAGE_CLASS
  • diff --git a/docs/file/src/components/fields/util.js.html b/docs/file/src/components/fields/util.js.html index fa4d35b..16cd194 100644 --- a/docs/file/src/components/fields/util.js.html +++ b/docs/file/src/components/fields/util.js.html @@ -48,12 +48,18 @@
  • VfieldPropTypes
  • VinputTypeProp
  • VonValueChangePropType
  • +
  • VoptionShape
  • +
  • VoptionsShapeProp
  • VvaluePropType
  • +
  • components/fields/button-groupFButtonGroup
  • components/fields/factoriesFfieldFactory
  • FfieldSetFactory
  • FprepareFieldConfig
  • components/fields/field-group-change-handlersFfieldsetCheckboxHandler
  • components/fields/inputFInput
  • +
  • components/fields/magic-selectCMagicFieldGroup
  • +
  • CMagicItem
  • +
  • CMagicSelect
  • components/fields/messagesFMessage
  • FmessageObjectFactory
  • VMESSAGE_CLASS
  • diff --git a/docs/file/src/components/index.js.html b/docs/file/src/components/index.js.html index 9051e22..b825aa3 100644 --- a/docs/file/src/components/index.js.html +++ b/docs/file/src/components/index.js.html @@ -48,12 +48,18 @@
  • VfieldPropTypes
  • VinputTypeProp
  • VonValueChangePropType
  • +
  • VoptionShape
  • +
  • VoptionsShapeProp
  • VvaluePropType
  • +
  • components/fields/button-groupFButtonGroup
  • components/fields/factoriesFfieldFactory
  • FfieldSetFactory
  • FprepareFieldConfig
  • components/fields/field-group-change-handlersFfieldsetCheckboxHandler
  • components/fields/inputFInput
  • +
  • components/fields/magic-selectCMagicFieldGroup
  • +
  • CMagicItem
  • +
  • CMagicSelect
  • components/fields/messagesFMessage
  • FmessageObjectFactory
  • VMESSAGE_CLASS
  • diff --git a/docs/file/src/components/validation/addAutomaticValidators.js.html b/docs/file/src/components/validation/addAutomaticValidators.js.html index ac7ad45..c2889c5 100644 --- a/docs/file/src/components/validation/addAutomaticValidators.js.html +++ b/docs/file/src/components/validation/addAutomaticValidators.js.html @@ -48,12 +48,18 @@
  • VfieldPropTypes
  • VinputTypeProp
  • VonValueChangePropType
  • +
  • VoptionShape
  • +
  • VoptionsShapeProp
  • VvaluePropType
  • +
  • components/fields/button-groupFButtonGroup
  • components/fields/factoriesFfieldFactory
  • FfieldSetFactory
  • FprepareFieldConfig
  • components/fields/field-group-change-handlersFfieldsetCheckboxHandler
  • components/fields/inputFInput
  • +
  • components/fields/magic-selectCMagicFieldGroup
  • +
  • CMagicItem
  • +
  • CMagicSelect
  • components/fields/messagesFMessage
  • FmessageObjectFactory
  • VMESSAGE_CLASS
  • diff --git a/docs/file/src/components/validation/checkValidatorsForConfigField.js.html b/docs/file/src/components/validation/checkValidatorsForConfigField.js.html index 7e4cd1a..8c97deb 100644 --- a/docs/file/src/components/validation/checkValidatorsForConfigField.js.html +++ b/docs/file/src/components/validation/checkValidatorsForConfigField.js.html @@ -48,12 +48,18 @@
  • VfieldPropTypes
  • VinputTypeProp
  • VonValueChangePropType
  • +
  • VoptionShape
  • +
  • VoptionsShapeProp
  • VvaluePropType
  • +
  • components/fields/button-groupFButtonGroup
  • components/fields/factoriesFfieldFactory
  • FfieldSetFactory
  • FprepareFieldConfig
  • components/fields/field-group-change-handlersFfieldsetCheckboxHandler
  • components/fields/inputFInput
  • +
  • components/fields/magic-selectCMagicFieldGroup
  • +
  • CMagicItem
  • +
  • CMagicSelect
  • components/fields/messagesFMessage
  • FmessageObjectFactory
  • VMESSAGE_CLASS
  • diff --git a/docs/file/src/components/validation/checkValidatorsForConfigFields.js.html b/docs/file/src/components/validation/checkValidatorsForConfigFields.js.html index b4ce82c..b08e5a5 100644 --- a/docs/file/src/components/validation/checkValidatorsForConfigFields.js.html +++ b/docs/file/src/components/validation/checkValidatorsForConfigFields.js.html @@ -48,12 +48,18 @@
  • VfieldPropTypes
  • VinputTypeProp
  • VonValueChangePropType
  • +
  • VoptionShape
  • +
  • VoptionsShapeProp
  • VvaluePropType
  • +
  • components/fields/button-groupFButtonGroup
  • components/fields/factoriesFfieldFactory
  • FfieldSetFactory
  • FprepareFieldConfig
  • components/fields/field-group-change-handlersFfieldsetCheckboxHandler
  • components/fields/inputFInput
  • +
  • components/fields/magic-selectCMagicFieldGroup
  • +
  • CMagicItem
  • +
  • CMagicSelect
  • components/fields/messagesFMessage
  • FmessageObjectFactory
  • VMESSAGE_CLASS
  • diff --git a/docs/file/src/components/validation/getValidatorsFromConfigField.js.html b/docs/file/src/components/validation/getValidatorsFromConfigField.js.html index 5faf966..bba444b 100644 --- a/docs/file/src/components/validation/getValidatorsFromConfigField.js.html +++ b/docs/file/src/components/validation/getValidatorsFromConfigField.js.html @@ -48,12 +48,18 @@
  • VfieldPropTypes
  • VinputTypeProp
  • VonValueChangePropType
  • +
  • VoptionShape
  • +
  • VoptionsShapeProp
  • VvaluePropType
  • +
  • components/fields/button-groupFButtonGroup
  • components/fields/factoriesFfieldFactory
  • FfieldSetFactory
  • FprepareFieldConfig
  • components/fields/field-group-change-handlersFfieldsetCheckboxHandler
  • components/fields/inputFInput
  • +
  • components/fields/magic-selectCMagicFieldGroup
  • +
  • CMagicItem
  • +
  • CMagicSelect
  • components/fields/messagesFMessage
  • FmessageObjectFactory
  • VMESSAGE_CLASS
  • diff --git a/docs/file/src/components/validation/index.js.html b/docs/file/src/components/validation/index.js.html index 8da4c3f..1c0a873 100644 --- a/docs/file/src/components/validation/index.js.html +++ b/docs/file/src/components/validation/index.js.html @@ -48,12 +48,18 @@
  • VfieldPropTypes
  • VinputTypeProp
  • VonValueChangePropType
  • +
  • VoptionShape
  • +
  • VoptionsShapeProp
  • VvaluePropType
  • +
  • components/fields/button-groupFButtonGroup
  • components/fields/factoriesFfieldFactory
  • FfieldSetFactory
  • FprepareFieldConfig
  • components/fields/field-group-change-handlersFfieldsetCheckboxHandler
  • components/fields/inputFInput
  • +
  • components/fields/magic-selectCMagicFieldGroup
  • +
  • CMagicItem
  • +
  • CMagicSelect
  • components/fields/messagesFMessage
  • FmessageObjectFactory
  • VMESSAGE_CLASS
  • diff --git a/docs/file/src/components/validation/isEmpty.js.html b/docs/file/src/components/validation/isEmpty.js.html index ad83a2b..5b94f1e 100644 --- a/docs/file/src/components/validation/isEmpty.js.html +++ b/docs/file/src/components/validation/isEmpty.js.html @@ -48,12 +48,18 @@
  • VfieldPropTypes
  • VinputTypeProp
  • VonValueChangePropType
  • +
  • VoptionShape
  • +
  • VoptionsShapeProp
  • VvaluePropType
  • +
  • components/fields/button-groupFButtonGroup
  • components/fields/factoriesFfieldFactory
  • FfieldSetFactory
  • FprepareFieldConfig
  • components/fields/field-group-change-handlersFfieldsetCheckboxHandler
  • components/fields/inputFInput
  • +
  • components/fields/magic-selectCMagicFieldGroup
  • +
  • CMagicItem
  • +
  • CMagicSelect
  • components/fields/messagesFMessage
  • FmessageObjectFactory
  • VMESSAGE_CLASS
  • diff --git a/docs/file/src/components/validation/isValid.js.html b/docs/file/src/components/validation/isValid.js.html index 334483f..e1118cc 100644 --- a/docs/file/src/components/validation/isValid.js.html +++ b/docs/file/src/components/validation/isValid.js.html @@ -48,12 +48,18 @@
  • VfieldPropTypes
  • VinputTypeProp
  • VonValueChangePropType
  • +
  • VoptionShape
  • +
  • VoptionsShapeProp
  • VvaluePropType
  • +
  • components/fields/button-groupFButtonGroup
  • components/fields/factoriesFfieldFactory
  • FfieldSetFactory
  • FprepareFieldConfig
  • components/fields/field-group-change-handlersFfieldsetCheckboxHandler
  • components/fields/inputFInput
  • +
  • components/fields/magic-selectCMagicFieldGroup
  • +
  • CMagicItem
  • +
  • CMagicSelect
  • components/fields/messagesFMessage
  • FmessageObjectFactory
  • VMESSAGE_CLASS
  • diff --git a/docs/file/src/components/validation/isValidOrEmpty.js.html b/docs/file/src/components/validation/isValidOrEmpty.js.html index 6c13b24..6912c04 100644 --- a/docs/file/src/components/validation/isValidOrEmpty.js.html +++ b/docs/file/src/components/validation/isValidOrEmpty.js.html @@ -48,12 +48,18 @@
  • VfieldPropTypes
  • VinputTypeProp
  • VonValueChangePropType
  • +
  • VoptionShape
  • +
  • VoptionsShapeProp
  • VvaluePropType
  • +
  • components/fields/button-groupFButtonGroup
  • components/fields/factoriesFfieldFactory
  • FfieldSetFactory
  • FprepareFieldConfig
  • components/fields/field-group-change-handlersFfieldsetCheckboxHandler
  • components/fields/inputFInput
  • +
  • components/fields/magic-selectCMagicFieldGroup
  • +
  • CMagicItem
  • +
  • CMagicSelect
  • components/fields/messagesFMessage
  • FmessageObjectFactory
  • VMESSAGE_CLASS
  • diff --git a/docs/file/src/components/validation/messageStrings.js.html b/docs/file/src/components/validation/messageStrings.js.html index 9c7209c..6ee2a87 100644 --- a/docs/file/src/components/validation/messageStrings.js.html +++ b/docs/file/src/components/validation/messageStrings.js.html @@ -48,12 +48,18 @@
  • VfieldPropTypes
  • VinputTypeProp
  • VonValueChangePropType
  • +
  • VoptionShape
  • +
  • VoptionsShapeProp
  • VvaluePropType
  • +
  • components/fields/button-groupFButtonGroup
  • components/fields/factoriesFfieldFactory
  • FfieldSetFactory
  • FprepareFieldConfig
  • components/fields/field-group-change-handlersFfieldsetCheckboxHandler
  • components/fields/inputFInput
  • +
  • components/fields/magic-selectCMagicFieldGroup
  • +
  • CMagicItem
  • +
  • CMagicSelect
  • components/fields/messagesFMessage
  • FmessageObjectFactory
  • VMESSAGE_CLASS
  • diff --git a/docs/file/src/components/validation/strings.js.html b/docs/file/src/components/validation/strings.js.html index fa4eb15..3a8f837 100644 --- a/docs/file/src/components/validation/strings.js.html +++ b/docs/file/src/components/validation/strings.js.html @@ -48,12 +48,18 @@
  • VfieldPropTypes
  • VinputTypeProp
  • VonValueChangePropType
  • +
  • VoptionShape
  • +
  • VoptionsShapeProp
  • VvaluePropType
  • +
  • components/fields/button-groupFButtonGroup
  • components/fields/factoriesFfieldFactory
  • FfieldSetFactory
  • FprepareFieldConfig
  • components/fields/field-group-change-handlersFfieldsetCheckboxHandler
  • components/fields/inputFInput
  • +
  • components/fields/magic-selectCMagicFieldGroup
  • +
  • CMagicItem
  • +
  • CMagicSelect
  • components/fields/messagesFMessage
  • FmessageObjectFactory
  • VMESSAGE_CLASS
  • diff --git a/docs/file/src/components/validation/util.js.html b/docs/file/src/components/validation/util.js.html index 0310b3e..1ee42ce 100644 --- a/docs/file/src/components/validation/util.js.html +++ b/docs/file/src/components/validation/util.js.html @@ -48,12 +48,18 @@
  • VfieldPropTypes
  • VinputTypeProp
  • VonValueChangePropType
  • +
  • VoptionShape
  • +
  • VoptionsShapeProp
  • VvaluePropType
  • +
  • components/fields/button-groupFButtonGroup
  • components/fields/factoriesFfieldFactory
  • FfieldSetFactory
  • FprepareFieldConfig
  • components/fields/field-group-change-handlersFfieldsetCheckboxHandler
  • components/fields/inputFInput
  • +
  • components/fields/magic-selectCMagicFieldGroup
  • +
  • CMagicItem
  • +
  • CMagicSelect
  • components/fields/messagesFMessage
  • FmessageObjectFactory
  • VMESSAGE_CLASS
  • diff --git a/docs/file/src/index.js.html b/docs/file/src/index.js.html index 2c99636..c91d2e7 100644 --- a/docs/file/src/index.js.html +++ b/docs/file/src/index.js.html @@ -48,12 +48,18 @@
  • VfieldPropTypes
  • VinputTypeProp
  • VonValueChangePropType
  • +
  • VoptionShape
  • +
  • VoptionsShapeProp
  • VvaluePropType
  • +
  • components/fields/button-groupFButtonGroup
  • components/fields/factoriesFfieldFactory
  • FfieldSetFactory
  • FprepareFieldConfig
  • components/fields/field-group-change-handlersFfieldsetCheckboxHandler
  • components/fields/inputFInput
  • +
  • components/fields/magic-selectCMagicFieldGroup
  • +
  • CMagicItem
  • +
  • CMagicSelect
  • components/fields/messagesFMessage
  • FmessageObjectFactory
  • VMESSAGE_CLASS
  • diff --git a/docs/file/src/registerServiceWorker.js.html b/docs/file/src/registerServiceWorker.js.html index 92067fb..9e0af31 100644 --- a/docs/file/src/registerServiceWorker.js.html +++ b/docs/file/src/registerServiceWorker.js.html @@ -48,12 +48,18 @@
  • VfieldPropTypes
  • VinputTypeProp
  • VonValueChangePropType
  • +
  • VoptionShape
  • +
  • VoptionsShapeProp
  • VvaluePropType
  • +
  • components/fields/button-groupFButtonGroup
  • components/fields/factoriesFfieldFactory
  • FfieldSetFactory
  • FprepareFieldConfig
  • components/fields/field-group-change-handlersFfieldsetCheckboxHandler
  • components/fields/inputFInput
  • +
  • components/fields/magic-selectCMagicFieldGroup
  • +
  • CMagicItem
  • +
  • CMagicSelect
  • components/fields/messagesFMessage
  • FmessageObjectFactory
  • VMESSAGE_CLASS
  • diff --git a/docs/function/index.html b/docs/function/index.html index 1aff0dc..4eea9b4 100644 --- a/docs/function/index.html +++ b/docs/function/index.html @@ -48,12 +48,18 @@
  • VfieldPropTypes
  • VinputTypeProp
  • VonValueChangePropType
  • +
  • VoptionShape
  • +
  • VoptionsShapeProp
  • VvaluePropType
  • +
  • components/fields/button-groupFButtonGroup
  • components/fields/factoriesFfieldFactory
  • FfieldSetFactory
  • FprepareFieldConfig
  • components/fields/field-group-change-handlersFfieldsetCheckboxHandler
  • components/fields/inputFInput
  • +
  • components/fields/magic-selectCMagicFieldGroup
  • +
  • CMagicItem
  • +
  • CMagicSelect
  • components/fields/messagesFMessage
  • FmessageObjectFactory
  • VMESSAGE_CLASS
  • @@ -83,6 +89,35 @@ + + + +
    +

    + + + + ButtonGroup(props: Object): * +

    +
    +
    + + +

    Creates a button group field

    +
    +
    + + + + + + + + + public + + + @@ -920,6 +955,78 @@

    Static Public

    +
    +

    + public + + + + + + ButtonGroup(props: Object): * + + + + source + +

    + + + + +

    Creates a button group field

    +
    + + + +
    +

    Params:

    + + + + + + + + + + + + + +
    NameTypeAttributeDescription
    propsObject
    +
    +
    + +
    +

    Return:

    + + + + + + + +
    *
    +
    +
    +
    + + + + + + + + + + + + + + + +

    public @@ -1221,11 +1328,11 @@

    - source + source

    - +

    Creates a select field

    diff --git a/docs/identifiers.html b/docs/identifiers.html index cedf283..01f8214 100644 --- a/docs/identifiers.html +++ b/docs/identifiers.html @@ -48,12 +48,18 @@
  • VfieldPropTypes
  • VinputTypeProp
  • VonValueChangePropType
  • +
  • VoptionShape
  • +
  • VoptionsShapeProp
  • VvaluePropType
  • +
  • components/fields/button-groupFButtonGroup
  • components/fields/factoriesFfieldFactory
  • FfieldSetFactory
  • FprepareFieldConfig
  • components/fields/field-group-change-handlersFfieldsetCheckboxHandler
  • components/fields/inputFInput
  • +
  • components/fields/magic-selectCMagicFieldGroup
  • +
  • CMagicItem
  • +
  • CMagicSelect
  • components/fields/messagesFMessage
  • FmessageObjectFactory
  • VMESSAGE_CLASS
  • @@ -666,6 +672,64 @@

    components/fields

    + + + +
    +

    + V + + + optionShape: {label: shim, value: shim} +

    +
    +
    + + +

    The shape of one option for a select field

    +
    +
    + + + + + + + + + public + + + + + + +
    +

    + V + + + optionsShapeProp: shim +

    +
    +
    + + +

    Shape of options prop for select fields

    +
    +
    + + + + + + + + + public + + + @@ -687,6 +751,45 @@

    components/fields

    + + + + +
    +
    +
    +

    components/fields/button-group

    +
    + + + + + + + @@ -862,6 +965,103 @@

    components/fields/input

    + + +
    summary
    + public + + + + + +
    +

    + F + + + ButtonGroup(props: Object): * +

    +
    +
    + + +

    Creates a button group field

    +
    +
    +
    + +
    +
    +
    +
    +
    +

    components/fields/magic-select

    +
    + + + + + + + + + + + + + + + + + @@ -1310,9 +1510,11 @@

    components/validation

    diff --git a/docs/index.html b/docs/index.html index af7856b..a609c45 100644 --- a/docs/index.html +++ b/docs/index.html @@ -58,12 +58,17 @@
  • Add onFocus Event For All Fields Of Render Group
  • Add onBlur Event For All Fields Of Render Group
  • Field Groups
  • -
  • Text field that is required
  • -
  • Text field that is not required
  • -
  • Text field with help text
  • -
  • Number Field
  • -
  • Select Fields
  • +
  • Text Field Groups
  • +
  • Text field that is required
  • +
  • Text field that is not required
  • +
  • Text field with help text
  • +
  • Number Field Group
  • Fieldsets
  • +
  • Button Group
  • +
  • Examples
  • +
  • Button Group With Two Options
  • +
  • Button Group With Icon
  • +
  • Explicitly set aria-label Attribute
  • Message component
  • An error message
  • A non-error message
  • @@ -401,7 +406,7 @@

    Structure of class attributes

    The

    Field Groups

    If you have to use a component, please use FieldGroup not its inner components.

    Text field that is required

    <FieldGroup
    +

    Text Field Groups

    If 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.

    Text field that is required

    <FieldGroup
         id={'control-22'}
         label={'Required Text input'}
         type={'input'}
    @@ -412,7 +417,7 @@ 

    Structure of class attributes

    The }} /> -

    Text field that is not required

    <FieldGroup
    +

    Text field that is not required

    <FieldGroup
         id={'control-23'}
         label={'Non Required Text input'}
         type={'input'}
    @@ -422,7 +427,7 @@ 

    Structure of class attributes

    The values.two=newValue; }} /> -

    Text field with help text

      +

    Text field with help text

    • Adding help text automatically ads aria-describedby
    <FieldGroup
         id={'control-23'}
    @@ -435,7 +440,7 @@ 

    Structure of class attributes

    The values.three=newValue; }} /> -

    Number Field

    <FieldGroup
    +

    Number Field Group

    <FieldGroup
         id={'control-24'}
         label={'Non Required Numeric input'}
         type={'input'}
    @@ -446,10 +451,38 @@ 

    Structure of class attributes

    The values.two=newValue; }} /> + +### 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 have the shape defiend in the + + -

    Select Fields

    import {SelectFieldFancy} from '@caldera-labs/components/src/components/fields/select/SelectFieldFancyFancy.js'
    +

    let selectFieldValue = '';

    <FieldGroup + type={'select'} + label={'Basic select field'} + value={selectFieldValue} + id={'id-of-the-select-field-itself'} + onValueChange={(newValue) => { + selectFieldValue = newValue; + }} + options={[ + { + value: 1, + label: 'One' + }, + { + value: 2, + label: 'Two' + } + ]} +/>

    ## Select Fields
    +* [Reference](https://calderalabs.org/caldera-components/function/index.html#static-function-SelectField)
    +
    +```jsx 
    +import {SelectFieldFancy} from '@caldera-labs/components/src/components/fields/select/SelectFieldFancyFancy.js'
     
     <SelectFieldFancy
         id={'number-of-things'} //ID attribute for input
    @@ -493,6 +526,60 @@ 

    Structure of class attributes

    The } ]} /> +

    Button Group

    Examples

    Button Group With Two Options

    <ButtonGroup
    +    onChange={(selectedValue) => {
    +        console.log(selectedValue);
    +    }}
    +    options={[
    +        {
    +            value: 1,
    +            label: 'Option One',
    +        },
    +        {
    +            value: 2,
    +            label: 'Option Two',
    +        }
    +    ]}
    +    value={1}
    +/>
    +

    Button Group With Icon

    If options have icon, the rendered markup for the button will be like this:

    <button ...><span class="fa-envelope"></span></button>
    +
    +

    That'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.

    <ButtonGroup
    +    onChange={(selectedValue) => {
    +        console.log(selectedValue);
    +    }}
    +    options={[
    +        {
    +            value: 1,
    +            label: 'Option One',
    +            icon: 'fa-envelop'
    +        },
    +        {
    +            value: 2,
    +            label: 'Option Two',
    +            icon: 'fa-twitter'
    +
    +        }
    +    ]}
    +    value={1}
    +/>
    +

    Explicitly set aria-label Attribute

    By 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.

    But, 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.

    <ButtonGroup
    +    onChange={(selectedValue) => {
    +        console.log(selectedValue);
    +    }}
    +    options={[
    +        {
    +            value: 'fields',
    +            label: '%',
    +            ariaLabel: 'Select from field values'
    +        },
    +        {
    +            value: 'system',
    +            label: '{}',
    +            ariaLabel: 'Select from system values'
    +        },
    +    ]}
    +/>
     

    Message component

    The 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.

    An error message

    <Message
         message={{
             message:'Something bad has happened.',
    diff --git a/docs/index.json b/docs/index.json
    index c0115e9..03e84b0 100644
    --- a/docs/index.json
    +++ b/docs/index.json
    @@ -567,7 +567,7 @@
         "__docId__": 48,
         "kind": "file",
         "name": "src/App.js",
    -    "content": "import React, { Component } from 'react';\nimport logo from './logo.svg';\nimport './App.css';\nimport {FieldGroup} from \"./components/fields/FieldGroup\";\nimport {fieldSetFactory} from \"./components/fields/factories/fieldSetFactory\";\nimport {RenderGroup} from \"./components/RenderGroup\";\n\nlet textFieldValue = 'Roy,Mike';\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: textFieldValue,\n\tonValueChange: function(newValue){\n\t\ttextFieldValue = newValue\n\t},\n\n\n};\n\nlet hiddenFieldValue = '42';\nconst hiddenFieldConfig = {\n\t'id': 'cf-something-sequence-id',\n\t'type': 'hidden',\n\t'label': 'Sequence ID',\n\t'description': false,\n\tvalue: hiddenFieldValue,\n\tonValueChange: function(newValue){\n\t\thiddenFieldValue = newValue\n\t},\n};\n\nlet selectFieldValue = 'html';\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: selectFieldValue,\n\tonValueChange: function(newValue){\n\t\tselectFieldValue = newValue\n\t}\n};\n\nlet fieldSetFieldValue = ['1'];\nconst fieldSetField = {\n\tid: 'fieldset-3',\n\tlabel: 'How many?',\n\ttype: 'fieldset',\n\toptions: [\n\t\t{\n\t\t\tvalue: '1',\n\t\t\tlabel: 'One'\n\t\t},\n\t\t{\n\t\t\tvalue: '2',\n\t\t\tlabel: 'Two'\n\t\t}\n\n\t],\n\tvalue:[],\n\tonValueChange:(newValue) => {\n\t\tfieldSetFieldValue=newValue;\n\t}\n};\n\nconst configFields = [\n\ttextFieldConfig,\n\thiddenFieldConfig,\n\tselectFieldConfig,\n\tfieldSetField\n];\nconst configFieldEls = fieldSetFactory(configFields);\n\n\n\nlet values = {\n\tone: '',\n\ttwo: '',\n\tthree: ''\n};\n\nclass App extends Component {\n\n\trender() {\n\t\treturn (\n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\"logo\"\n\t\t\t\t\t

    Welcome to React

    \n\t\t\t\t
    \n\n\n\t\t\t\t
    \n\t\t\t\t\t

    Created With RenderGroup Component

    \n\t\t\t\t\t {console.log(fI)}}\n\t\t\t\t\t/>\n\t\t\t\t
    \n\n\t\t\t\t
    \n\t\t\t\t\t

    Created With Factory

    \n\t\t\t\t\t{Array.from(configFieldEls).map((field,i) => {\n\t\t\t\t\t\treturn React.createElement(\n\t\t\t\t\t\t\tReact.Fragment, {\n\t\t\t\t\t\t\t\tkey: i,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfield\n\t\t\t\t\t\t);\n\t\t\t\t\t})}\n\t\t\t\t
    \n\n\t\t\t\t
    \n\t\t\t\t\t

    Inputs

    \n\t\t\t\t\t {\n\t\t\t\t\t\t\tvalues.one=newValue;\n\t\t\t\t\t\t}}\n\t\t\t\t\t/>\n\n\t\t\t\t\t {\n\t\t\t\t\t\t\tvalues.two=newValue;\n\t\t\t\t\t\t}}\n\t\t\t\t\t/>\n\n\t\t\t\t\t {\n\t\t\t\t\t\t\tvalues.three=newValue;\n\t\t\t\t\t\t}}\n\t\t\t\t\t/>\n\n\t\t\t\t\t {\n\t\t\t\t\t\t\tvalues.two=newValue;\n\t\t\t\t\t\t}}\n\t\t\t\t\t/>\n\n\t\t\t\t\t {\n\t\t\t\t\t\t\tvalues.two=newValue;\n\t\t\t\t\t\t}}\n\t\t\t\t\t\tmessage={{\n\t\t\t\t\t\t\tmessage:'Failures happened',\n\t\t\t\t\t\t\terror: true\n\t\t\t\t\t\t}}\n\t\t\t\t\t\tdisabled={true}\n\t\t\t\t\t/>\n\n\t\t\t\t\t {\n\t\t\t\t\t\t\tvalues.two=newValue;\n\t\t\t\t\t\t}}\n\t\t\t\t\t\tmessage={{\n\t\t\t\t\t\t\tmessage:'Failures did not happened',\n\t\t\t\t\t\t\terror: false\n\t\t\t\t\t\t}}\n\t\t\t\t\t/>\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t

    Selects

    \n\t\t\t\t\t {\n\t\t\t\t\t\t\tselectFieldValue = newValue;\n\t\t\t\t\t\t}}\n\t\t\t\t\t\toptions={[\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tvalue: 1,\n\t\t\t\t\t\t\t\tlabel: 'One'\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tvalue: 2,\n\t\t\t\t\t\t\t\tlabel: 'Two'\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t]}\n\t\t\t\t\t/>\n\n\t\t\t\t
    \n\n\t\t\t\t
    \n\t\t\t\t\t

    fieldsets

    \n\t\t\t\t\t {\n\t\t\t\t\t\t\tfieldSetFieldValue = newValue;\n\t\t\t\t\t\t}}\n\t\t\t\t\t\toptions={[\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tvalue: '1',\n\t\t\t\t\t\t\t\tlabel: 'One'\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tvalue: '2',\n\t\t\t\t\t\t\t\tlabel: 'Two'\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\n\t\t\t
    \n\t\t);\n\t}\n}\n\nexport default App;\n", + "content": "import React, { Component } from 'react';\nimport logo from './logo.svg';\nimport './App.css';\nimport {FieldGroup} from \"./components/fields/FieldGroup\";\nimport {fieldSetFactory} from \"./components/fields/factories/fieldSetFactory\";\nimport {RenderGroup} from \"./components/RenderGroup\";\nimport {MagicFieldGroup} from \"./components/fields/magic-select/MagicFieldGroup\";\n\nlet textFieldValue = 'Roy,Mike';\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: textFieldValue,\n\tonValueChange: function(newValue){\n\t\ttextFieldValue = newValue\n\t},\n\n\n};\n\nconst numberFieldConfig = {\n\t'id': 'cf--something-some-number',\n\t'label': 'The number of something',\n\t'desc': 'How many somethings?',\n\t'type': 'text',\n\t'inputType': 'number',\n\tattributes: {\n\t\tmin: -1,\n\t\tmax: 22,\n\t\tstep: 0.1,\n\t},\n\tvalue: 42,\n\tonValueChange: (newNumberValue) =>{\n\t\tconsole.log(newNumberValue);\n\t},\n\n};\n\nlet hiddenFieldValue = '42';\nconst hiddenFieldConfig = {\n\t'id': 'cf-something-sequence-id',\n\t'type': 'hidden',\n\t'label': 'Sequence ID',\n\t'description': false,\n\tvalue: hiddenFieldValue,\n\tonValueChange: function(newValue){\n\t\thiddenFieldValue = newValue\n\t},\n};\n\nlet selectFieldValue = 'html';\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: selectFieldValue,\n\tonValueChange: function(newValue){\n\t\tselectFieldValue = newValue\n\t}\n};\n\nlet fieldSetFieldValue = ['1'];\nconst fieldSetField = {\n\tid: 'fieldset-3',\n\tlabel: 'How many?',\n\ttype: 'fieldset',\n\toptions: [\n\t\t{\n\t\t\tvalue: '1',\n\t\t\tlabel: 'One'\n\t\t},\n\t\t{\n\t\t\tvalue: '2',\n\t\t\tlabel: 'Two'\n\t\t}\n\n\t],\n\tvalue:[],\n\tonValueChange:(newValue) => {\n\t\tfieldSetFieldValue=newValue;\n\t}\n};\n\nconst configFields = [\n\ttextFieldConfig,\n\thiddenFieldConfig,\n\tselectFieldConfig,\n\tfieldSetField,\n\tnumberFieldConfig\n];\nconst configFieldEls = fieldSetFactory(configFields);\n\n\n\nlet values = {\n\tone: '',\n\ttwo: '',\n\tthree: ''\n};\n\nlet magicFieldValue = '';\n\nclass App extends Component {\n\n\trender() {\n\t\treturn (\n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\"logo\"\n\t\t\t\t\t

    Welcome to React

    \n\t\t\t\t
    \n\n\n\t\t\t\t
    \n\t\t\t\t\t

    Created With RenderGroup Component

    \n\t\t\t\t\t {console.log(fI)}}\n\t\t\t\t\t/>\n\t\t\t\t
    \n\n\t\t\t\t
    \n\t\t\t\t\t

    Created With Factory

    \n\t\t\t\t\t{Array.from(configFieldEls).map((field,i) => {\n\t\t\t\t\t\treturn React.createElement(\n\t\t\t\t\t\t\tReact.Fragment, {\n\t\t\t\t\t\t\t\tkey: i,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfield\n\t\t\t\t\t\t);\n\t\t\t\t\t})}\n\t\t\t\t
    \n\n\t\t\t\t
    \n\t\t\t\t\t

    Magic Select

    \n\t\t\t\t\t {\n\t\t\t\t\t\t\tmagicFieldValue = newValue;\n\t\t\t\t\t\t} }\n\t\t\t\t\t\tfieldsList={[\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tlabel: 'Field One',\n\t\t\t\t\t\t\t\tvalue: '%fldOne%'\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tlabel: 'Field Two',\n\t\t\t\t\t\t\t\tvalue: '%fldTwo%'\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tlabel: 'Field Three',\n\t\t\t\t\t\t\t\tvalue: '%fldThree%'\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t]}\n\t\t\t\t\t\tsystemTagsList={[\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tlabel: 'User First Name',\n\t\t\t\t\t\t\t\tvalue: '{user:first_name}'\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t]}\n\t\t\t\t\t\tisOpen={true}\n\t\t\t\t\t\tvalue={magicFieldValue}\n\t\t\t\t\t/>\n\t\t\t\t
    \n\n\t\t\t\t
    \n\t\t\t\t\t

    Inputs

    \n\t\t\t\t\t {\n\t\t\t\t\t\t\tvalues.one=newValue;\n\t\t\t\t\t\t}}\n\t\t\t\t\t/>\n\n\t\t\t\t\t {\n\t\t\t\t\t\t\tvalues.two=newValue;\n\t\t\t\t\t\t}}\n\t\t\t\t\t/>\n\n\t\t\t\t\t {\n\t\t\t\t\t\t\tvalues.three=newValue;\n\t\t\t\t\t\t}}\n\t\t\t\t\t/>\n\n\t\t\t\t\t {\n\t\t\t\t\t\t\tvalues.two=newValue;\n\t\t\t\t\t\t}}\n\t\t\t\t\t/>\n\n\t\t\t\t\t {\n\t\t\t\t\t\t\tvalues.two=newValue;\n\t\t\t\t\t\t}}\n\t\t\t\t\t\tmessage={{\n\t\t\t\t\t\t\tmessage:'Failures happened',\n\t\t\t\t\t\t\terror: true\n\t\t\t\t\t\t}}\n\t\t\t\t\t\tdisabled={true}\n\t\t\t\t\t/>\n\n\t\t\t\t\t {\n\t\t\t\t\t\t\tvalues.two=newValue;\n\t\t\t\t\t\t}}\n\t\t\t\t\t\tmessage={{\n\t\t\t\t\t\t\tmessage:'Failures did not happened',\n\t\t\t\t\t\t\terror: false\n\t\t\t\t\t\t}}\n\t\t\t\t\t/>\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t

    Selects

    \n\t\t\t\t\t {\n\t\t\t\t\t\t\tselectFieldValue = newValue;\n\t\t\t\t\t\t}}\n\t\t\t\t\t\toptions={[\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tvalue: 1,\n\t\t\t\t\t\t\t\tlabel: 'One'\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tvalue: 2,\n\t\t\t\t\t\t\t\tlabel: 'Two'\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t]}\n\t\t\t\t\t/>\n\n\t\t\t\t
    \n\n\t\t\t\t
    \n\t\t\t\t\t

    fieldsets

    \n\t\t\t\t\t {\n\t\t\t\t\t\t\tfieldSetFieldValue = newValue;\n\t\t\t\t\t\t}}\n\t\t\t\t\t\toptions={[\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tvalue: '1',\n\t\t\t\t\t\t\t\tlabel: 'One'\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tvalue: '2',\n\t\t\t\t\t\t\t\tlabel: 'Two'\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\n\t\t\t
    \n\t\t);\n\t}\n}\n\nexport default App;\n", "static": true, "longname": "/Users/josh/caldera-js/components/src/App.js", "access": "public", @@ -586,7 +586,7 @@ "importPath": "@caldera-labs/components/src/App.js", "importStyle": null, "description": null, - "lineNumber": 8, + "lineNumber": 9, "undocument": true, "type": { "types": [ @@ -607,7 +607,7 @@ "importPath": "@caldera-labs/components/src/App.js", "importStyle": null, "description": null, - "lineNumber": 9, + "lineNumber": 10, "undocument": true, "type": { "types": [ @@ -619,6 +619,27 @@ { "__docId__": 51, "kind": "variable", + "name": "numberFieldConfig", + "memberof": "src/App.js", + "static": true, + "longname": "src/App.js~numberFieldConfig", + "access": "public", + "export": false, + "importPath": "@caldera-labs/components/src/App.js", + "importStyle": null, + "description": null, + "lineNumber": 24, + "undocument": true, + "type": { + "types": [ + "{\"id\": string, \"label\": string, \"desc\": string, \"type\": string, \"inputType\": string, \"attributes\": *, \"value\": number, \"onValueChange\": *}" + ] + }, + "ignore": true + }, + { + "__docId__": 52, + "kind": "variable", "name": "hiddenFieldValue", "memberof": "src/App.js", "static": true, @@ -628,7 +649,7 @@ "importPath": "@caldera-labs/components/src/App.js", "importStyle": null, "description": null, - "lineNumber": 23, + "lineNumber": 42, "undocument": true, "type": { "types": [ @@ -638,7 +659,7 @@ "ignore": true }, { - "__docId__": 52, + "__docId__": 53, "kind": "variable", "name": "hiddenFieldConfig", "memberof": "src/App.js", @@ -649,7 +670,7 @@ "importPath": "@caldera-labs/components/src/App.js", "importStyle": null, "description": null, - "lineNumber": 24, + "lineNumber": 43, "undocument": true, "type": { "types": [ @@ -659,7 +680,7 @@ "ignore": true }, { - "__docId__": 53, + "__docId__": 54, "kind": "variable", "name": "selectFieldValue", "memberof": "src/App.js", @@ -670,7 +691,7 @@ "importPath": "@caldera-labs/components/src/App.js", "importStyle": null, "description": null, - "lineNumber": 35, + "lineNumber": 54, "undocument": true, "type": { "types": [ @@ -680,7 +701,7 @@ "ignore": true }, { - "__docId__": 54, + "__docId__": 55, "kind": "variable", "name": "selectFieldConfig", "memberof": "src/App.js", @@ -691,7 +712,7 @@ "importPath": "@caldera-labs/components/src/App.js", "importStyle": null, "description": null, - "lineNumber": 36, + "lineNumber": 55, "undocument": true, "type": { "types": [ @@ -701,7 +722,7 @@ "ignore": true }, { - "__docId__": 55, + "__docId__": 56, "kind": "variable", "name": "fieldSetFieldValue", "memberof": "src/App.js", @@ -712,7 +733,7 @@ "importPath": "@caldera-labs/components/src/App.js", "importStyle": null, "description": null, - "lineNumber": 57, + "lineNumber": 76, "undocument": true, "type": { "types": [ @@ -722,7 +743,7 @@ "ignore": true }, { - "__docId__": 56, + "__docId__": 57, "kind": "variable", "name": "fieldSetField", "memberof": "src/App.js", @@ -733,7 +754,7 @@ "importPath": "@caldera-labs/components/src/App.js", "importStyle": null, "description": null, - "lineNumber": 58, + "lineNumber": 77, "undocument": true, "type": { "types": [ @@ -743,7 +764,7 @@ "ignore": true }, { - "__docId__": 57, + "__docId__": 58, "kind": "variable", "name": "configFields", "memberof": "src/App.js", @@ -754,7 +775,7 @@ "importPath": "@caldera-labs/components/src/App.js", "importStyle": null, "description": null, - "lineNumber": 79, + "lineNumber": 98, "undocument": true, "type": { "types": [ @@ -764,7 +785,7 @@ "ignore": true }, { - "__docId__": 58, + "__docId__": 59, "kind": "variable", "name": "configFieldEls", "memberof": "src/App.js", @@ -775,7 +796,7 @@ "importPath": "@caldera-labs/components/src/App.js", "importStyle": null, "description": null, - "lineNumber": 85, + "lineNumber": 105, "undocument": true, "type": { "types": [ @@ -785,7 +806,7 @@ "ignore": true }, { - "__docId__": 59, + "__docId__": 60, "kind": "variable", "name": "values", "memberof": "src/App.js", @@ -796,7 +817,7 @@ "importPath": "@caldera-labs/components/src/App.js", "importStyle": null, "description": null, - "lineNumber": 89, + "lineNumber": 109, "undocument": true, "type": { "types": [ @@ -806,7 +827,28 @@ "ignore": true }, { - "__docId__": 60, + "__docId__": 61, + "kind": "variable", + "name": "magicFieldValue", + "memberof": "src/App.js", + "static": true, + "longname": "src/App.js~magicFieldValue", + "access": "public", + "export": false, + "importPath": "@caldera-labs/components/src/App.js", + "importStyle": null, + "description": null, + "lineNumber": 115, + "undocument": true, + "type": { + "types": [ + "string" + ] + }, + "ignore": true + }, + { + "__docId__": 62, "kind": "class", "name": "App", "memberof": "src/App.js", @@ -817,7 +859,7 @@ "importPath": "@caldera-labs/components/src/App.js", "importStyle": "App", "description": null, - "lineNumber": 95, + "lineNumber": 117, "undocument": true, "interface": false, "extends": [ @@ -825,7 +867,7 @@ ] }, { - "__docId__": 61, + "__docId__": 63, "kind": "method", "name": "render", "memberof": "src/App.js~App", @@ -835,7 +877,7 @@ "longname": "src/App.js~App#render", "access": "public", "description": null, - "lineNumber": 97, + "lineNumber": 119, "undocument": true, "params": [], "return": { @@ -845,7 +887,7 @@ } }, { - "__docId__": 62, + "__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};", @@ -856,7 +898,7 @@ "lineNumber": 1 }, { - "__docId__": 63, + "__docId__": 65, "kind": "class", "name": "RenderGroup", "memberof": "src/components/RenderGroup.js", @@ -874,7 +916,7 @@ ] }, { - "__docId__": 64, + "__docId__": 66, "kind": "constructor", "name": "constructor", "memberof": "src/components/RenderGroup.js~RenderGroup", @@ -899,7 +941,7 @@ ] }, { - "__docId__": 66, + "__docId__": 68, "kind": "method", "name": "createComponents", "memberof": "src/components/RenderGroup.js~RenderGroup", @@ -921,7 +963,7 @@ "params": [] }, { - "__docId__": 67, + "__docId__": 69, "kind": "method", "name": "render", "memberof": "src/components/RenderGroup.js~RenderGroup", @@ -943,7 +985,7 @@ "params": [] }, { - "__docId__": 68, + "__docId__": 70, "kind": "file", "name": "src/components/conditional-logic/checkConfigFieldConditionals.js", "content": "/**\n * Check configField conditionals.\n *\n * Returns false if any conditionals fail.\n * Returns true if no conditionals fail, or there are no conditionals.\n *\n * @param {Object} configField The field to check the conditionals of.\n * @param {Object} fieldValues Optional. Data to pass to conditional rule callbacks\n * @return {boolean}\n */\nexport const checkConfigFieldConditionals = (configField, fieldValues = {}) => {\n\tif (!configField.hasOwnProperty('conditionals') || !Array.isArray(configField.conditionals)) {\n\t\treturn true;\n\t}\n\n\tlet allRulesPassed = true;\n\tconfigField.conditionals.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};", @@ -954,7 +996,7 @@ "lineNumber": 1 }, { - "__docId__": 69, + "__docId__": 71, "kind": "function", "name": "checkConfigFieldConditionals", "memberof": "src/components/conditional-logic/checkConfigFieldConditionals.js", @@ -1000,7 +1042,7 @@ } }, { - "__docId__": 70, + "__docId__": 72, "kind": "file", "name": "src/components/conditional-logic/checkConfigFieldsConditionals.js", "content": "import {checkConfigFieldConditionals} from './checkConfigFieldConditionals';\n\n/**\n * Check conditionals for a collection of configFields\n *\n * Returns false if any conditionals fail.\n * Returns true if no conditionals fail, or there are no conditionals.\n *\n * @param {Array} configFields The fields to check the conditionals of.\n * @param {Object} fieldValues Optional. Data to pass to conditional rules' callbacks\n * @return {boolean}\n */\nexport const checkConfigFieldsConditionals = (configFields, fieldValues = {}) => {\n\tlet results = {};\n\tObject.values( configFields ).forEach(configField => {\n\t\tresults[configField.ID] = checkConfigFieldConditionals(configField,fieldValues);\n\t});\n\treturn results;\n\n};", @@ -1011,7 +1053,7 @@ "lineNumber": 1 }, { - "__docId__": 71, + "__docId__": 73, "kind": "function", "name": "checkConfigFieldsConditionals", "memberof": "src/components/conditional-logic/checkConfigFieldsConditionals.js", @@ -1057,7 +1099,7 @@ } }, { - "__docId__": 72, + "__docId__": 74, "kind": "file", "name": "src/components/conditional-logic/index.js", "content": "/*eslint no-undef: \"error\"*/\n/*eslint-env node*/\nimport {checkConfigFieldConditionals} from './checkConfigFieldConditionals';\nimport {checkConfigFieldsConditionals} from './checkConfigFieldsConditionals';\nimport {reduceConfigFieldsToValues} from './util';\n\n/**\n * The Caldera Components conditional logic system\n */\nexport default {\n\tcheckConfigFieldConditionals,\n\tcheckConfigFieldsConditionals,\n\treduceConfigFieldsToValues\n};", @@ -1068,7 +1110,7 @@ "lineNumber": 1 }, { - "__docId__": 73, + "__docId__": 75, "kind": "file", "name": "src/components/conditional-logic/util.js", "content": "/**\n * Get the current values for prepareConfigFields\n *\n * @param {Array} configFields\n */\nexport const reduceConfigFieldsToValues = (configFields) => {\n\tlet values = {};\n\tconfigFields.forEach(field => {\n\t\tvalues[field.ID] = field.value\n\t\t\t? field.value\n\t\t\t: field.default\n\t\t\t\t? field.default\n\t\t\t\t: null;\n\t});\n\treturn values;\n};\n", @@ -1079,7 +1121,7 @@ "lineNumber": 1 }, { - "__docId__": 74, + "__docId__": 76, "kind": "function", "name": "reduceConfigFieldsToValues", "memberof": "src/components/conditional-logic/util.js", @@ -1112,7 +1154,7 @@ } }, { - "__docId__": 75, + "__docId__": 77, "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';\n\n/**\n * Represents one configField -- wrapper, label and input.\n *\n * @param props\n * @return {*}\n * @constructor\n */\nexport const FieldGroup = (props) => {\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\t\t\t\t\t\t{fieldProps.label}\n\t\t\t\t\t\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\n\t\t\t\t\t\t{fieldProps.help}\n\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\nFieldGroup.propTypes = fieldGroupPropTypes;\n\nFieldGroup.defaultProps = {\n\tisBlockInput: true,\n\tisRequired: false,\n\thelp: ''\n};", @@ -1123,7 +1165,7 @@ "lineNumber": 1 }, { - "__docId__": 76, + "__docId__": 78, "kind": "function", "name": "FieldGroup", "memberof": "src/components/fields/FieldGroup.js", @@ -1165,10 +1207,10 @@ } }, { - "__docId__": 77, + "__docId__": 79, "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\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';\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};", "static": true, "longname": "/Users/josh/caldera-js/components/src/components/fields/FieldInner.js", "access": "public", @@ -1176,7 +1218,7 @@ "lineNumber": 1 }, { - "__docId__": 78, + "__docId__": 80, "kind": "function", "name": "FieldInner", "memberof": "src/components/fields/FieldInner.js", @@ -1222,7 +1264,64 @@ } }, { - "__docId__": 79, + "__docId__": 81, + "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, + "longname": "/Users/josh/caldera-js/components/src/components/fields/button-group/ButtonGroup.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 82, + "kind": "function", + "name": "ButtonGroup", + "memberof": "src/components/fields/button-group/ButtonGroup.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/components/fields/button-group/ButtonGroup.js~ButtonGroup", + "access": "public", + "export": true, + "importPath": "@caldera-labs/components/src/components/fields/button-group/ButtonGroup.js", + "importStyle": "{ButtonGroup}", + "description": "Creates a button group field", + "lineNumber": 11, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{*}" + }, + { + "tagName": "@constructor", + "tagValue": "" + } + ], + "params": [ + { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "optional": false, + "name": "props", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "*" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 83, "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 {Array} fieldArgs Field config\n * @returns {*}\n */\nexport const fieldFactory = (fieldArgs) =>{\n\treturn FieldGroup(prepareFieldConfig(fieldArgs));\n};\n", @@ -1233,7 +1332,7 @@ "lineNumber": 1 }, { - "__docId__": 80, + "__docId__": 84, "kind": "function", "name": "fieldFactory", "memberof": "src/components/fields/factories/fieldFactory.js", @@ -1275,7 +1374,7 @@ } }, { - "__docId__": 81, + "__docId__": 85, "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};", @@ -1286,7 +1385,7 @@ "lineNumber": 1 }, { - "__docId__": 82, + "__docId__": 86, "kind": "function", "name": "fieldSetFactory", "memberof": "src/components/fields/factories/fieldSetFactory.js", @@ -1328,7 +1427,7 @@ } }, { - "__docId__": 83, + "__docId__": 87, "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};", @@ -1339,7 +1438,7 @@ "lineNumber": 1 }, { - "__docId__": 84, + "__docId__": 88, "kind": "file", "name": "src/components/fields/factories/prepareFieldConfig.js", "content": "import {fieldGroupPropTypes} 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\tfieldArgs = pick(fieldArgs, Object.keys(fieldGroupPropTypes));\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};", @@ -1350,7 +1449,7 @@ "lineNumber": 1 }, { - "__docId__": 85, + "__docId__": 89, "kind": "function", "name": "prepareFieldConfig", "memberof": "src/components/fields/factories/prepareFieldConfig.js", @@ -1385,38 +1484,570 @@ "return": { "nullable": null, "types": [ - "*" + "*" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 90, + "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};", + "static": true, + "longname": "/Users/josh/caldera-js/components/src/components/fields/field-group-change-handlers/fieldsetCheckboxHandler.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 91, + "kind": "function", + "name": "fieldsetCheckboxHandler", + "memberof": "src/components/fields/field-group-change-handlers/fieldsetCheckboxHandler.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/components/fields/field-group-change-handlers/fieldsetCheckboxHandler.js~fieldsetCheckboxHandler", + "access": "public", + "export": true, + "importPath": "@caldera-labs/components/src/components/fields/field-group-change-handlers/fieldsetCheckboxHandler.js", + "importStyle": "{fieldsetCheckboxHandler}", + "description": "Change handler for a checkbox that is a part of a group", + "lineNumber": 9, + "params": [ + { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "optional": false, + "name": "option", + "description": "Option that is being changed. Shape: `{value:String|number,label:String}`," + }, + { + "nullable": null, + "types": [ + "Array", + "string", + "number" + ], + "spread": false, + "optional": false, + "name": "values", + "description": "Current values" + }, + { + "nullable": null, + "types": [ + "Function" + ], + "spread": false, + "optional": false, + "name": "onValueChange", + "description": "Function to call with updated value" + } + ], + "return": null + }, + { + "__docId__": 92, + "kind": "file", + "name": "src/components/fields/index.js", + "content": "/*eslint no-undef: \"error\"*/\n/*eslint-env node*/\nimport {FieldGroup} from './FieldGroup';\nimport {SelectFieldFancy} from './select/SelectFieldFancy';\nimport {Input} from './input/Input';\n\nmodule.exports = {\n\tFieldGroup,\n\tSelectField: SelectFieldFancy,\n\tInput\n};", + "static": true, + "longname": "/Users/josh/caldera-js/components/src/components/fields/index.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 93, + "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};", + "static": true, + "longname": "/Users/josh/caldera-js/components/src/components/fields/input/Input.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 94, + "kind": "function", + "name": "Input", + "memberof": "src/components/fields/input/Input.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/components/fields/input/Input.js~Input", + "access": "public", + "export": true, + "importPath": "@caldera-labs/components/src/components/fields/input/Input.js", + "importStyle": "{Input}", + "description": "Input component for any HTML5 input type", + "lineNumber": 12, + "unknown": [ + { + "tagName": "@returns", + "tagValue": "{*}" + }, + { + "tagName": "@constructor", + "tagValue": "" + } + ], + "params": [ + { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "optional": false, + "name": "props", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "*" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 95, + "kind": "file", + "name": "src/components/fields/magic-select/MagicFieldGroup.js", + "content": "import React from 'react';\nimport {\n\tonValueChangePropType,\n\toptionsShapeProp,\n\tvaluePropType\n} from '../propTypes';\nimport classNames from 'classnames';\nimport PropTypes from 'prop-types';\nimport {MagicItem} from './MagicItem';\nimport {ButtonGroup} from \"../button-group/ButtonGroup\";\nimport {MagicSelect} from \"./MagicSelect\";\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}\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{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 = {\n\tid: PropTypes.string.isRequired,\n\tfieldsList: optionsShapeProp,\n\tsystemTagsList: optionsShapeProp,\n\toptions: optionsShapeProp,\n\tisRequired: PropTypes.bool,\n\thelp: PropTypes.string,\n\tvalue: valuePropType,\n\tonValueChange: onValueChangePropType,\n\tdisabled: PropTypes.bool,\n\tdefaultList: PropTypes.string,\n\tisOpen: PropTypes.bool\n};\n\n/**\n * Default property values for MagicFieldGroup component\n *\n * @type {{}}\n */\nMagicFieldGroup.defaultProps = {\n\tdefaultList: 'fields',\n\tisOpen: false,\n};", + "static": true, + "longname": "/Users/josh/caldera-js/components/src/components/fields/magic-select/MagicFieldGroup.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 96, + "kind": "class", + "name": "MagicFieldGroup", + "memberof": "src/components/fields/magic-select/MagicFieldGroup.js", + "static": true, + "longname": "src/components/fields/magic-select/MagicFieldGroup.js~MagicFieldGroup", + "access": "public", + "export": true, + "importPath": "@caldera-labs/components/src/components/fields/magic-select/MagicFieldGroup.js", + "importStyle": "{MagicFieldGroup}", + "description": "Encapsulates a complete Magic Select field group including label and the type chooser and the input", + "lineNumber": 16, + "interface": false, + "extends": [ + "react~React.PureComponent" + ] + }, + { + "__docId__": 97, + "kind": "constructor", + "name": "constructor", + "memberof": "src/components/fields/magic-select/MagicFieldGroup.js~MagicFieldGroup", + "generator": false, + "async": false, + "static": false, + "longname": "src/components/fields/magic-select/MagicFieldGroup.js~MagicFieldGroup#constructor", + "access": "public", + "description": "Create a MagicFieldGroup component", + "lineNumber": 23, + "params": [ + { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "optional": false, + "name": "props", + "description": "" + } + ] + }, + { + "__docId__": 98, + "kind": "member", + "name": "state", + "memberof": "src/components/fields/magic-select/MagicFieldGroup.js~MagicFieldGroup", + "static": false, + "longname": "src/components/fields/magic-select/MagicFieldGroup.js~MagicFieldGroup#state", + "access": "public", + "description": null, + "lineNumber": 25, + "undocument": true, + "type": { + "types": [ + "{\"currentListType\": *, \"isOpen\": *}" + ] + } + }, + { + "__docId__": 108, + "kind": "method", + "name": "onChange", + "memberof": "src/components/fields/magic-select/MagicFieldGroup.js~MagicFieldGroup", + "generator": false, + "async": false, + "static": false, + "longname": "src/components/fields/magic-select/MagicFieldGroup.js~MagicFieldGroup#onChange", + "access": "public", + "description": "Handle direct change events", + "lineNumber": 44, + "params": [ + { + "nullable": null, + "types": [ + "String", + "number" + ], + "spread": false, + "optional": false, + "name": "newValue", + "description": "" + } + ], + "return": null + }, + { + "__docId__": 109, + "kind": "method", + "name": "onInputFocus", + "memberof": "src/components/fields/magic-select/MagicFieldGroup.js~MagicFieldGroup", + "generator": false, + "async": false, + "static": false, + "longname": "src/components/fields/magic-select/MagicFieldGroup.js~MagicFieldGroup#onInputFocus", + "access": "public", + "description": "Handle when the field gets focus", + "lineNumber": 51, + "params": [], + "return": null + }, + { + "__docId__": 110, + "kind": "method", + "name": "onInputBlur", + "memberof": "src/components/fields/magic-select/MagicFieldGroup.js~MagicFieldGroup", + "generator": false, + "async": false, + "static": false, + "longname": "src/components/fields/magic-select/MagicFieldGroup.js~MagicFieldGroup#onInputBlur", + "access": "public", + "description": "Handle when the field is blurred", + "lineNumber": 58, + "params": [], + "return": null + }, + { + "__docId__": 111, + "kind": "method", + "name": "onSelect", + "memberof": "src/components/fields/magic-select/MagicFieldGroup.js~MagicFieldGroup", + "generator": false, + "async": false, + "static": false, + "longname": "src/components/fields/magic-select/MagicFieldGroup.js~MagicFieldGroup#onSelect", + "access": "public", + "description": "Handle when the option is chosen", + "lineNumber": 67, + "params": [ + { + "nullable": null, + "types": [ + "String", + "number" + ], + "spread": false, + "optional": false, + "name": "value", + "description": "" + } + ], + "return": null + }, + { + "__docId__": 112, + "kind": "method", + "name": "onChangeListType", + "memberof": "src/components/fields/magic-select/MagicFieldGroup.js~MagicFieldGroup", + "generator": false, + "async": false, + "static": false, + "longname": "src/components/fields/magic-select/MagicFieldGroup.js~MagicFieldGroup#onChangeListType", + "access": "public", + "description": "Update list of tags to show", + "lineNumber": 75, + "params": [ + { + "nullable": null, + "types": [ + "*" + ], + "spread": false, + "optional": false, + "name": "{String}newType", + "description": "" + } + ], + "return": null + }, + { + "__docId__": 113, + "kind": "method", + "name": "renderItem", + "memberof": "src/components/fields/magic-select/MagicFieldGroup.js~MagicFieldGroup", + "generator": false, + "async": false, + "static": false, + "longname": "src/components/fields/magic-select/MagicFieldGroup.js~MagicFieldGroup#renderItem", + "access": "public", + "description": "Render option", + "lineNumber": 89, + "params": [ + { + "nullable": null, + "types": [ + "object" + ], + "spread": false, + "optional": false, + "name": "item", + "description": "" + }, + { + "nullable": null, + "types": [ + "bool" + ], + "spread": false, + "optional": false, + "name": "isHighlighted", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "*" + ], + "spread": false, + "description": "" + } + }, + { + "__docId__": 114, + "kind": "method", + "name": "items", + "memberof": "src/components/fields/magic-select/MagicFieldGroup.js~MagicFieldGroup", + "generator": false, + "async": false, + "static": false, + "longname": "src/components/fields/magic-select/MagicFieldGroup.js~MagicFieldGroup#items", + "access": "public", + "description": "Create the list of items", + "lineNumber": 98, + "return": { + "nullable": null, + "types": [ + "Array" + ], + "spread": false, + "description": "" + }, + "params": [] + }, + { + "__docId__": 115, + "kind": "method", + "name": "listTypeOptions", + "memberof": "src/components/fields/magic-select/MagicFieldGroup.js~MagicFieldGroup", + "generator": false, + "async": false, + "static": false, + "longname": "src/components/fields/magic-select/MagicFieldGroup.js~MagicFieldGroup#listTypeOptions", + "access": "public", + "description": "Options for type chooser", + "lineNumber": 135, + "return": { + "nullable": null, + "types": [ + "*[]" + ], + "spread": false, + "description": "" + }, + "params": [] + }, + { + "__docId__": 116, + "kind": "method", + "name": "render", + "memberof": "src/components/fields/magic-select/MagicFieldGroup.js~MagicFieldGroup", + "generator": false, + "async": false, + "static": false, + "longname": "src/components/fields/magic-select/MagicFieldGroup.js~MagicFieldGroup#render", + "access": "public", + "description": "Render MagicFieldGroup component", + "lineNumber": 156, + "return": { + "nullable": null, + "types": [ + "*" + ], + "spread": false, + "description": "" + }, + "params": [] + }, + { + "__docId__": 117, + "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\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};\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};", + "static": true, + "longname": "/Users/josh/caldera-js/components/src/components/fields/magic-select/MagicItem.js", + "access": "public", + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 118, + "kind": "class", + "name": "MagicItem", + "memberof": "src/components/fields/magic-select/MagicItem.js", + "static": true, + "longname": "src/components/fields/magic-select/MagicItem.js~MagicItem", + "access": "public", + "export": true, + "importPath": "@caldera-labs/components/src/components/fields/magic-select/MagicItem.js", + "importStyle": "{MagicItem}", + "description": "Create magic item for option of magic selects\n\nThis can not be a functional component\nhttps://github.com/reactjs/react-autocomplete/pull/293#issuecomment-371617758", + "lineNumber": 19, + "unknown": [ + { + "tagName": "@constructor", + "tagValue": "" + } + ], + "params": [ + { + "nullable": null, + "types": [ + "Object" + ], + "spread": false, + "optional": false, + "name": "props", + "description": "" + } + ], + "return": { + "nullable": null, + "types": [ + "*" + ], + "spread": false, + "description": "" + }, + "interface": false, + "extends": [ + "react~React.PureComponent" + ] + }, + { + "__docId__": 119, + "kind": "method", + "name": "render", + "memberof": "src/components/fields/magic-select/MagicItem.js~MagicItem", + "generator": false, + "async": false, + "static": false, + "longname": "src/components/fields/magic-select/MagicItem.js~MagicItem#render", + "access": "public", + "description": "Render magic item components", + "lineNumber": 24, + "params": [], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 120, + "kind": "variable", + "name": "elementTypesProp", + "memberof": "src/components/fields/magic-select/MagicItem.js", + "static": true, + "longname": "src/components/fields/magic-select/MagicItem.js~elementTypesProp", + "access": "public", + "export": false, + "importPath": "@caldera-labs/components/src/components/fields/magic-select/MagicItem.js", + "importStyle": null, + "description": "Prop definition for allowed element types", + "lineNumber": 58, + "type": { + "nullable": null, + "types": [ + "shim" ], "spread": false, - "description": "" - } + "description": null + }, + "ignore": true }, { - "__docId__": 86, + "__docId__": 121, "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};", + "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';\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}\n\n\t/**\n\t * Handle direct change events\n\t *\n\t * Probably not needed\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\n\t/**\n\t * Render MagicSelect component\n\t * @return {*}\n\t */\n\trender() {\n\t\treturn (\n\n\t\t\t item.value}\n\t\t\t\titems={this.props.options}\n\t\t\t\tinputProps={{\n\t\t\t\t\tid: this.props.id,\n\t\t\t\t\tvalue: this.props.value,\n\t\t\t\t\tclassName: `${this.props.id}-magic-input`,\n\t\t\t\t\tonFocus: this.onInputFocus,\n\t\t\t\t\tonBlur:this.onInputBlur,\n\t\t\t\t\tonClick:this.onChange\n\t\t\t\t}}\n\t\t\t\trenderItem={this.renderItem}\n\t\t\t\tvalue={this.props.value}\n\t\t\t\tonChange={this.onChange}\n\t\t\t\topen={this.props.isOpen}\n\t\t\t\tselectOnBlur={true}\n\t\t\t\tonSelect={this.onSelect}\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};\n\n/**\n * Default property values for MagicSelect component\n *\n * @type {{}}\n */\nMagicSelect.defaultProps = {\n\tdefaultList: 'fields',\n\tisOpen: false,\n\toptions:[]\n};", "static": true, - "longname": "/Users/josh/caldera-js/components/src/components/fields/field-group-change-handlers/fieldsetCheckboxHandler.js", + "longname": "/Users/josh/caldera-js/components/src/components/fields/magic-select/MagicSelect.js", "access": "public", "description": null, "lineNumber": 1 }, { - "__docId__": 87, - "kind": "function", - "name": "fieldsetCheckboxHandler", - "memberof": "src/components/fields/field-group-change-handlers/fieldsetCheckboxHandler.js", - "generator": false, - "async": false, + "__docId__": 122, + "kind": "class", + "name": "MagicSelect", + "memberof": "src/components/fields/magic-select/MagicSelect.js", "static": true, - "longname": "src/components/fields/field-group-change-handlers/fieldsetCheckboxHandler.js~fieldsetCheckboxHandler", + "longname": "src/components/fields/magic-select/MagicSelect.js~MagicSelect", "access": "public", "export": true, - "importPath": "@caldera-labs/components/src/components/fields/field-group-change-handlers/fieldsetCheckboxHandler.js", - "importStyle": "{fieldsetCheckboxHandler}", - "description": "Change handler for a checkbox that is a part of a group", - "lineNumber": 9, + "importPath": "@caldera-labs/components/src/components/fields/magic-select/MagicSelect.js", + "importStyle": "{MagicSelect}", + "description": "Encapsulates a complete Magic Select field", + "lineNumber": 14, + "interface": false, + "extends": [ + "react~React.PureComponent" + ] + }, + { + "__docId__": 123, + "kind": "constructor", + "name": "constructor", + "memberof": "src/components/fields/magic-select/MagicSelect.js~MagicSelect", + "generator": false, + "async": false, + "static": false, + "longname": "src/components/fields/magic-select/MagicSelect.js~MagicSelect#constructor", + "access": "public", + "description": "Create a MagicSelect component", + "lineNumber": 21, "params": [ { "nullable": null, @@ -1425,90 +2056,125 @@ ], "spread": false, "optional": false, - "name": "option", - "description": "Option that is being changed. Shape: `{value:String|number,label:String}`," - }, - { - "nullable": null, - "types": [ - "Array", - "string", - "number" - ], - "spread": false, - "optional": false, - "name": "values", - "description": "Current values" - }, + "name": "props", + "description": "" + } + ] + }, + { + "__docId__": 130, + "kind": "method", + "name": "onChange", + "memberof": "src/components/fields/magic-select/MagicSelect.js~MagicSelect", + "generator": false, + "async": false, + "static": false, + "longname": "src/components/fields/magic-select/MagicSelect.js~MagicSelect#onChange", + "access": "public", + "description": "Handle direct change events\n\nProbably not needed", + "lineNumber": 37, + "params": [ { "nullable": null, "types": [ - "Function" + "Event" ], "spread": false, "optional": false, - "name": "onValueChange", - "description": "Function to call with updated value" + "name": "event", + "description": "" } ], "return": null }, { - "__docId__": 88, - "kind": "file", - "name": "src/components/fields/index.js", - "content": "/*eslint no-undef: \"error\"*/\n/*eslint-env node*/\nimport {FieldGroup} from './FieldGroup';\nimport {SelectFieldFancy} from './select/SelectFieldFancy';\nimport {Input} from './input/Input';\n\nmodule.exports = {\n\tFieldGroup,\n\tSelectField: SelectFieldFancy,\n\tInput\n};", - "static": true, - "longname": "/Users/josh/caldera-js/components/src/components/fields/index.js", + "__docId__": 131, + "kind": "method", + "name": "onInputFocus", + "memberof": "src/components/fields/magic-select/MagicSelect.js~MagicSelect", + "generator": false, + "async": false, + "static": false, + "longname": "src/components/fields/magic-select/MagicSelect.js~MagicSelect#onInputFocus", "access": "public", - "description": null, - "lineNumber": 1 + "description": "Handle when the field gets focus", + "lineNumber": 44, + "params": [], + "return": null }, { - "__docId__": 89, - "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};", - "static": true, - "longname": "/Users/josh/caldera-js/components/src/components/fields/input/Input.js", + "__docId__": 132, + "kind": "method", + "name": "onInputBlur", + "memberof": "src/components/fields/magic-select/MagicSelect.js~MagicSelect", + "generator": false, + "async": false, + "static": false, + "longname": "src/components/fields/magic-select/MagicSelect.js~MagicSelect#onInputBlur", "access": "public", - "description": null, - "lineNumber": 1 + "description": "Handle when the field is blurred", + "lineNumber": 53, + "params": [], + "return": null }, { - "__docId__": 90, - "kind": "function", - "name": "Input", - "memberof": "src/components/fields/input/Input.js", + "__docId__": 133, + "kind": "method", + "name": "onSelect", + "memberof": "src/components/fields/magic-select/MagicSelect.js~MagicSelect", "generator": false, "async": false, - "static": true, - "longname": "src/components/fields/input/Input.js~Input", + "static": false, + "longname": "src/components/fields/magic-select/MagicSelect.js~MagicSelect#onSelect", "access": "public", - "export": true, - "importPath": "@caldera-labs/components/src/components/fields/input/Input.js", - "importStyle": "{Input}", - "description": "Input component for any HTML5 input type", - "lineNumber": 12, - "unknown": [ - { - "tagName": "@returns", - "tagValue": "{*}" - }, + "description": "Handle when the option is chosen", + "lineNumber": 64, + "params": [ { - "tagName": "@constructor", - "tagValue": "" + "nullable": null, + "types": [ + "String", + "number" + ], + "spread": false, + "optional": false, + "name": "value", + "description": "" } ], + "return": null + }, + { + "__docId__": 134, + "kind": "method", + "name": "renderItem", + "memberof": "src/components/fields/magic-select/MagicSelect.js~MagicSelect", + "generator": false, + "async": false, + "static": false, + "longname": "src/components/fields/magic-select/MagicSelect.js~MagicSelect#renderItem", + "access": "public", + "description": "Render option", + "lineNumber": 76, "params": [ { "nullable": null, "types": [ - "Object" + "object" ], "spread": false, "optional": false, - "name": "props", + "name": "item", + "description": "" + }, + { + "nullable": null, + "types": [ + "bool" + ], + "spread": false, + "optional": false, + "name": "isHighlighted", "description": "" } ], @@ -1522,7 +2188,29 @@ } }, { - "__docId__": 91, + "__docId__": 135, + "kind": "method", + "name": "render", + "memberof": "src/components/fields/magic-select/MagicSelect.js~MagicSelect", + "generator": false, + "async": false, + "static": false, + "longname": "src/components/fields/magic-select/MagicSelect.js~MagicSelect#render", + "access": "public", + "description": "Render MagicSelect component", + "lineNumber": 85, + "return": { + "nullable": null, + "types": [ + "*" + ], + "spread": false, + "description": "" + }, + "params": [] + }, + { + "__docId__": 136, "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", @@ -1533,7 +2221,7 @@ "lineNumber": 1 }, { - "__docId__": 92, + "__docId__": 137, "kind": "variable", "name": "MESSAGE_CLASS", "memberof": "src/components/fields/messages/Message.js", @@ -1555,7 +2243,7 @@ } }, { - "__docId__": 93, + "__docId__": 138, "kind": "function", "name": "Message", "memberof": "src/components/fields/messages/Message.js", @@ -1597,7 +2285,7 @@ } }, { - "__docId__": 94, + "__docId__": 139, "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};", @@ -1608,7 +2296,7 @@ "lineNumber": 1 }, { - "__docId__": 95, + "__docId__": 140, "kind": "function", "name": "messageObjectFactory", "memberof": "src/components/fields/messages/messageObjectFactory.js", @@ -1654,7 +2342,7 @@ } }, { - "__docId__": 96, + "__docId__": 141, "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);", @@ -1665,7 +2353,7 @@ "lineNumber": 1 }, { - "__docId__": 97, + "__docId__": 142, "kind": "variable", "name": "messagePropShape", "memberof": "src/components/fields/messages/messagePropTypes.js", @@ -1687,10 +2375,10 @@ } }, { - "__docId__": 98, + "__docId__": 143, "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']),\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", + "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']),\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);", "static": true, "longname": "/Users/josh/caldera-js/components/src/components/fields/propTypes.js", "access": "public", @@ -1698,7 +2386,7 @@ "lineNumber": 1 }, { - "__docId__": 99, + "__docId__": 144, "kind": "variable", "name": "valuePropType", "memberof": "src/components/fields/propTypes.js", @@ -1720,7 +2408,7 @@ } }, { - "__docId__": 100, + "__docId__": 145, "kind": "variable", "name": "onValueChangePropType", "memberof": "src/components/fields/propTypes.js", @@ -1742,7 +2430,7 @@ } }, { - "__docId__": 101, + "__docId__": 146, "kind": "variable", "name": "inputTypeProp", "memberof": "src/components/fields/propTypes.js", @@ -1764,7 +2452,7 @@ } }, { - "__docId__": 102, + "__docId__": 147, "kind": "variable", "name": "fieldGroupPropTypes", "memberof": "src/components/fields/propTypes.js", @@ -1786,7 +2474,7 @@ } }, { - "__docId__": 103, + "__docId__": 148, "kind": "variable", "name": "fieldInnerPropTypes", "memberof": "src/components/fields/propTypes.js", @@ -1808,7 +2496,7 @@ } }, { - "__docId__": 104, + "__docId__": 149, "kind": "variable", "name": "fieldPropTypes", "memberof": "src/components/fields/propTypes.js", @@ -1828,10 +2516,54 @@ } }, { - "__docId__": 105, + "__docId__": 150, + "kind": "variable", + "name": "optionShape", + "memberof": "src/components/fields/propTypes.js", + "static": true, + "longname": "src/components/fields/propTypes.js~optionShape", + "access": "public", + "export": true, + "importPath": "@caldera-labs/components/src/components/fields/propTypes.js", + "importStyle": "{optionShape}", + "description": "The shape of one option for a select field", + "lineNumber": 75, + "type": { + "nullable": null, + "types": [ + "{label: shim, value: shim}" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 151, + "kind": "variable", + "name": "optionsShapeProp", + "memberof": "src/components/fields/propTypes.js", + "static": true, + "longname": "src/components/fields/propTypes.js~optionsShapeProp", + "access": "public", + "export": true, + "importPath": "@caldera-labs/components/src/components/fields/propTypes.js", + "importStyle": "{optionsShapeProp}", + "description": "Shape of options prop for select fields", + "lineNumber": 88, + "type": { + "nullable": null, + "types": [ + "shim" + ], + "spread": false, + "description": null + } + }, + { + "__docId__": 152, "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';\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};\n\n/**\n * Default props for select fields\n *\n * @type {{options: Array}}\n */\nSelectField.defaultProps = {\n\toptions: []\n};", + "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};", "static": true, "longname": "/Users/josh/caldera-js/components/src/components/fields/select/SelectField.js", "access": "public", @@ -1839,7 +2571,7 @@ "lineNumber": 1 }, { - "__docId__": 106, + "__docId__": 153, "kind": "function", "name": "SelectField", "memberof": "src/components/fields/select/SelectField.js", @@ -1852,7 +2584,7 @@ "importPath": "@caldera-labs/components/src/components/fields/select/SelectField.js", "importStyle": "{SelectField}", "description": "Creates a select field", - "lineNumber": 13, + "lineNumber": 14, "unknown": [ { "tagName": "@returns", @@ -1885,7 +2617,7 @@ } }, { - "__docId__": 107, + "__docId__": 154, "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};", @@ -1896,7 +2628,7 @@ "lineNumber": 1 }, { - "__docId__": 108, + "__docId__": 155, "kind": "function", "name": "SelectFieldFancy", "memberof": "src/components/fields/select/SelectFieldFancy.js", @@ -1942,7 +2674,7 @@ } }, { - "__docId__": 109, + "__docId__": 156, "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};", @@ -1953,7 +2685,7 @@ "lineNumber": 1 }, { - "__docId__": 110, + "__docId__": 157, "kind": "function", "name": "ariaDescribedbyAttr", "memberof": "src/components/fields/util.js", @@ -2006,7 +2738,7 @@ } }, { - "__docId__": 111, + "__docId__": 158, "kind": "function", "name": "getHtmlInputTypes", "memberof": "src/components/fields/util.js", @@ -2037,7 +2769,7 @@ "params": [] }, { - "__docId__": 112, + "__docId__": 159, "kind": "function", "name": "isValidHtml5type", "memberof": "src/components/fields/util.js", @@ -2079,7 +2811,7 @@ } }, { - "__docId__": 113, + "__docId__": 160, "kind": "function", "name": "addOrRemoveFromArray", "memberof": "src/components/fields/util.js", @@ -2126,7 +2858,7 @@ } }, { - "__docId__": 114, + "__docId__": 161, "kind": "function", "name": "toBoolean", "memberof": "src/components/fields/util.js", @@ -2162,7 +2894,7 @@ } }, { - "__docId__": 115, + "__docId__": 162, "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';\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};", @@ -2173,7 +2905,7 @@ "lineNumber": 1 }, { - "__docId__": 116, + "__docId__": 163, "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};", @@ -2184,7 +2916,7 @@ "lineNumber": 1 }, { - "__docId__": 117, + "__docId__": 164, "kind": "function", "name": "curryValidator", "memberof": "src/components/validation/addAutomaticValidators.js", @@ -2231,7 +2963,7 @@ "ignore": true }, { - "__docId__": 118, + "__docId__": 165, "kind": "function", "name": "addValidatorsForType", "memberof": "src/components/validation/addAutomaticValidators.js", @@ -2288,7 +3020,7 @@ "ignore": true }, { - "__docId__": 119, + "__docId__": 166, "kind": "function", "name": "addAutomaticValidators", "memberof": "src/components/validation/addAutomaticValidators.js", @@ -2324,7 +3056,7 @@ } }, { - "__docId__": 120, + "__docId__": 167, "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", @@ -2335,7 +3067,7 @@ "lineNumber": 1 }, { - "__docId__": 121, + "__docId__": 168, "kind": "function", "name": "checkValidatorsForConfigField", "memberof": "src/components/validation/checkValidatorsForConfigField.js", @@ -2371,7 +3103,7 @@ } }, { - "__docId__": 122, + "__docId__": 169, "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", @@ -2382,7 +3114,7 @@ "lineNumber": 1 }, { - "__docId__": 123, + "__docId__": 170, "kind": "function", "name": "checkValidatorsForConfigFields", "memberof": "src/components/validation/checkValidatorsForConfigFields.js", @@ -2428,7 +3160,7 @@ } }, { - "__docId__": 124, + "__docId__": 171, "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", @@ -2439,7 +3171,7 @@ "lineNumber": 1 }, { - "__docId__": 125, + "__docId__": 172, "kind": "function", "name": "getValidatorsFromConfigField", "memberof": "src/components/validation/getValidatorsFromConfigField.js", @@ -2475,7 +3207,7 @@ } }, { - "__docId__": 126, + "__docId__": 173, "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};", @@ -2486,7 +3218,7 @@ "lineNumber": 1 }, { - "__docId__": 127, + "__docId__": 174, "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};", @@ -2497,7 +3229,7 @@ "lineNumber": 1 }, { - "__docId__": 128, + "__docId__": 175, "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};", @@ -2508,7 +3240,7 @@ "lineNumber": 1 }, { - "__docId__": 129, + "__docId__": 176, "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};", @@ -2519,7 +3251,7 @@ "lineNumber": 1 }, { - "__docId__": 130, + "__docId__": 177, "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};", @@ -2530,7 +3262,7 @@ "lineNumber": 1 }, { - "__docId__": 131, + "__docId__": 178, "kind": "function", "name": "getMessageStrings", "memberof": "src/components/validation/messageStrings.js", @@ -2577,7 +3309,7 @@ } }, { - "__docId__": 132, + "__docId__": 179, "kind": "function", "name": "getMessageStringByType", "memberof": "src/components/validation/messageStrings.js", @@ -2634,7 +3366,7 @@ } }, { - "__docId__": 133, + "__docId__": 180, "kind": "function", "name": "getRequiredMessage", "memberof": "src/components/validation/messageStrings.js", @@ -2681,7 +3413,7 @@ } }, { - "__docId__": 134, + "__docId__": 181, "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};", @@ -2692,7 +3424,7 @@ "lineNumber": 1 }, { - "__docId__": 135, + "__docId__": 182, "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", @@ -2703,7 +3435,7 @@ "lineNumber": 1 }, { - "__docId__": 136, + "__docId__": 183, "kind": "function", "name": "findFieldValueInFieldValues", "memberof": "src/components/validation/util.js", @@ -2753,7 +3485,7 @@ } }, { - "__docId__": 137, + "__docId__": 184, "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", @@ -2764,7 +3496,7 @@ "lineNumber": 1 }, { - "__docId__": 138, + "__docId__": 185, "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", @@ -2775,7 +3507,7 @@ "lineNumber": 1 }, { - "__docId__": 139, + "__docId__": 186, "kind": "variable", "name": "isLocalhost", "memberof": "src/registerServiceWorker.js", @@ -2796,7 +3528,7 @@ "ignore": true }, { - "__docId__": 140, + "__docId__": 187, "kind": "function", "name": "register", "memberof": "src/registerServiceWorker.js", @@ -2815,7 +3547,7 @@ "return": null }, { - "__docId__": 141, + "__docId__": 188, "kind": "function", "name": "registerValidSW", "memberof": "src/registerServiceWorker.js", @@ -2842,7 +3574,7 @@ "ignore": true }, { - "__docId__": 142, + "__docId__": 189, "kind": "function", "name": "checkValidServiceWorker", "memberof": "src/registerServiceWorker.js", @@ -2869,7 +3601,7 @@ "ignore": true }, { - "__docId__": 143, + "__docId__": 190, "kind": "function", "name": "unregister", "memberof": "src/registerServiceWorker.js", @@ -2897,7 +3629,7 @@ }, { "kind": "packageJSON", - "content": "{\n \"name\": \"@caldera-labs/components\",\n \"version\": \"1.3.0\",\n \"dependencies\": {\n \"@helpdotcom/is\": \"^3.0.4\",\n \"classnames\": \"^2.2.6\",\n \"downshift\": \"^1.31.16\"\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 \"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.3.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, @@ -2924,7 +3656,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### 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### 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### 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\n\n```jsx\n {\n values.two=newValue;\n }}\n/>\n\n```\n## Select Fields\n* [Reference](https://calderalabs.org/caldera-components/function/index.html#static-function-SelectField)\n\n```jsx \nimport {SelectFieldFancy} from '@caldera-labs/components/src/components/fields/select/SelectFieldFancyFancy.js'\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```js\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
    summary
    + public + + + + + +
    +

    + C + + + MagicFieldGroup +

    +
    +
    + + +

    Encapsulates a complete Magic Select field group including label and the type chooser and the input

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + C + + + MagicItem(props: Object): * +

    +
    +
    + + +

    Create magic item for option of magic selects

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + C + + + MagicSelect +

    +
    +
    + + +

    Encapsulates a complete Magic Select field

    +
    +
    +
    + +
    @@ -88,12 +94,12 @@ - + - - - - + + + + @@ -147,9 +153,17 @@ - - - + + + + + + + + + + + @@ -207,6 +221,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + - - - - + + + + - - - + + + @@ -259,7 +299,7 @@ - + diff --git a/docs/variable/index.html b/docs/variable/index.html index c7ea534..1b58c5c 100644 --- a/docs/variable/index.html +++ b/docs/variable/index.html @@ -48,12 +48,18 @@
  • VfieldPropTypes
  • VinputTypeProp
  • VonValueChangePropType
  • +
  • VoptionShape
  • +
  • VoptionsShapeProp
  • VvaluePropType
  • +
  • components/fields/button-groupFButtonGroup
  • components/fields/factoriesFfieldFactory
  • FfieldSetFactory
  • FprepareFieldConfig
  • components/fields/field-group-change-handlersFfieldsetCheckboxHandler
  • components/fields/inputFInput
  • +
  • components/fields/magic-selectCMagicFieldGroup
  • +
  • CMagicItem
  • +
  • CMagicSelect
  • components/fields/messagesFMessage
  • FmessageObjectFactory
  • VMESSAGE_CLASS
  • @@ -285,6 +291,64 @@ + + +
    + + + + + + + + + + + + + +
    src/App.jssrc/App.js App0 %0/135010 byte2592018-07-03 00:20:51 (UTC)0 %0/156092 byte3142018-07-07 15:22:28 (UTC)
    src/components/RenderGroup.jssrc/components/fields/FieldInner.js FieldInner 100 %1/11891 byte912018-07-02 23:40:06 (UTC)1954 byte922018-07-06 20:04:30 (UTC)
    src/components/fields/button-group/ButtonGroup.jsButtonGroup100 %1/11468 byte772018-07-07 14:22:40 (UTC)
    src/components/fields/factories/fieldFactory.js90 2018-07-02 23:40:21 (UTC)
    src/components/fields/magic-select/MagicFieldGroup.jsMagicFieldGroup91 %11/124272 byte2072018-07-07 15:29:04 (UTC)
    src/components/fields/magic-select/MagicItem.jsMagicItem100 %3/32121 byte852018-07-06 21:16:41 (UTC)
    src/components/fields/magic-select/MagicSelect.jsMagicSelect100 %8/82707 byte1362018-07-07 15:30:39 (UTC)
    src/components/fields/messages/Message.js MESSAGE_CLASS @@ -239,19 +277,21 @@ fieldPropTypes inputTypeProp onValueChangePropType +optionShape +optionsShapeProp valuePropType83 %5/61855 byte682018-07-02 23:41:06 (UTC)87 %7/82238 byte892018-07-05 21:59:46 (UTC)
    src/components/fields/select/SelectField.js SelectField 100 %1/11360 byte802018-06-06 17:53:28 (UTC)1435 byte832018-07-05 22:12:50 (UTC)
    src/components/fields/select/SelectFieldFancy.js100 %1/1 1665 byte 792018-06-05 17:05:53 (UTC)2018-07-05 18:01:12 (UTC)
    src/components/fields/util.js +
    +

    + + + + optionShape: {label: shim, value: shim} +

    +
    +
    + + +

    The shape of one option for a select field

    +
    +
    +
    + + +
    + public + + + + + +
    +

    + + + + optionsShapeProp: shim +

    +
    +
    + + +

    Shape of options prop for select fields

    +
    +
    +
    + + +
    + public + + + @@ -619,6 +683,94 @@

    + +
    +

    + public + + + + + + optionShape: {label: shim, value: shim} + + + + source + +

    + + + + +

    The shape of one option for a select field

    +
    + + + +
    +
    + + + + + + + + + + + + + + + + + +
    +
    +

    + public + + + + + + optionsShapeProp: shim + + + + source + +

    + + + + +

    Shape of options prop for select fields

    +
    + + + +
    +
    + + + + + + + + + + + + + + + + +

    diff --git a/manual/components.md b/manual/components.md index 9fd1daa..c4962c5 100644 --- a/manual/components.md +++ b/manual/components.md @@ -66,6 +66,42 @@ const configFields = [ /> ``` +### A Magic Aut-Complete Field Selector In A RednerGroup +```js +const magicField = { + 'id': 'cf-magic-example', + 'type': 'magic', + 'label': 'Magic ID', + 'description': 'Select a value from list of magic tags or type a value', + fieldsList: [ + { + label: '0', + value: 0 + }, + { + label: '1', + value: 1 + }, + { + label: '3', + value: 3 + } + ], + systemTagsList: [ + { + label: '3', + value: 3 + } + ], + isOpen: true, + onValueChange: () => { + } +}; + + + +``` + ### Add onFocus Event For All Fields Of Render Group You 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. ```js @@ -99,7 +135,10 @@ If you have to use a component, please use `FieldGroup` not its inner components * [Reference](https://calderalabs.org/caldera-components/function/index.html#static-function-Input) -### Text field that is required +### Text Field Groups +If 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. + +#### Text field that is required ```jsx ``` -### Text field with help text +#### Text field with help text * Adding help text automatically ads `aria-describedby` ```jsx @@ -146,7 +185,7 @@ If you have to use a component, please use `FieldGroup` not its inner components ``` -### Number Field +### Number Field Group ```jsx +### 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](https://calderalabs.org/caldera-components/docs/file/src/components/fields/propTypes.js.html#lineNumber75) + + +``` +let selectFieldValue = ''; + { + selectFieldValue = newValue; + }} + options={[ + { + value: 1, + label: 'One' + }, + { + value: 2, + 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. +```js +let magicFieldValue =''; + + { + magicFieldValue = newValue; + } } + fieldsList={[ + { + label: 'Field One', + value: '%fldOne%' + }, + { + label: 'Field Two', + value: '%fldTwo%' + }, + { + label: 'Field Three', + value: '%fldThree%' + }, + ]} + systemTagsList={[ + { + label: 'User First Name', + value: '{user:first_name}' + } + ]} + isOpen={true} + value={magicFieldValue} + /> +``` ``` ## Select Fields * [Reference](https://calderalabs.org/caldera-components/function/index.html#static-function-SelectField) @@ -220,6 +328,11 @@ let checkBoxValue = ['1']; ``` ## 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](https://calderalabs.org/caldera-components/docs/file/src/components/fields/propTypes.js.html#lineNumber75) ### Examples ### Button Group With Two Options diff --git a/src/App.js b/src/App.js index a78ff26..8f0a026 100644 --- a/src/App.js +++ b/src/App.js @@ -4,7 +4,7 @@ import './App.css'; import {FieldGroup} from "./components/fields/FieldGroup"; import {fieldSetFactory} from "./components/fields/factories/fieldSetFactory"; import {RenderGroup} from "./components/RenderGroup"; -import {MagicSelect} from "./components/fields/magic-select/MagicSelect"; +import {MagicFieldGroup} from "./components/fields/magic-select/MagicFieldGroup"; let textFieldValue = 'Roy,Mike'; const textFieldConfig = { @@ -147,8 +147,9 @@ class App extends Component {

    Magic Select

    - { magicFieldValue = newValue; diff --git a/src/components/RenderGroup.js b/src/components/RenderGroup.js index f675072..2f559d9 100644 --- a/src/components/RenderGroup.js +++ b/src/components/RenderGroup.js @@ -35,7 +35,7 @@ export class RenderGroup extends React.Component { return configField.ID ? configField.ID : configField.id ? configField.id : false; } - if( 'function' === typeof this.props.onBlur ){ + if( 'function' === typeof this.props.onBlur ){ configFields.forEach((configField, configFieldIndex ) => { const configFieldId = findFieldId(configField); if( configFieldId ){ @@ -48,7 +48,7 @@ export class RenderGroup extends React.Component { }); } - if( 'function' === typeof this.props.onFocus ){ + if( 'function' === typeof this.props.onFocus ){ configFields.forEach((configField, configFieldIndex ) => { const configFieldId = findFieldId(configField); if( configFieldId ){ diff --git a/src/components/fields/FieldGroup.js b/src/components/fields/FieldGroup.js index 163f587..6572542 100644 --- a/src/components/fields/FieldGroup.js +++ b/src/components/fields/FieldGroup.js @@ -10,6 +10,7 @@ import {RenderGroup} from '../RenderGroup'; import {Message} from './messages/Message'; import {messageObjectFactory} from './messages/messageObjectFactory'; import {fieldsetCheckboxHandler} from './field-group-change-handlers/fieldsetCheckboxHandler'; +import {MagicFieldGroup} from './magic-select/MagicFieldGroup'; /** * Represents one configField -- wrapper, label and input. @@ -19,6 +20,9 @@ import {fieldsetCheckboxHandler} from './field-group-change-handlers/fieldsetChe * @constructor */ export const FieldGroup = (props) => { + if( 'magic' === props.type ){ + return ; + } /** * Creates the id attribute @@ -118,11 +122,8 @@ export const FieldGroup = (props) => {
    - + + @@ -163,11 +164,37 @@ export const FieldGroup = (props) => { return fieldInner(props); }; - +/** + * The prop type definitions for FieldGroup components + * + * @type {{id: (boolean|shim|*), isBlockInput: shim, isRequired: shim, help: shim, label: (boolean|shim|*), type: shim, value: shim, onValueChange: (boolean|shim|*), inputType: shim}} + */ FieldGroup.propTypes = fieldGroupPropTypes; +/** + * Default props for FieldGroups + * + * @type {{isBlockInput: boolean, isRequired: boolean, help: string}} + */ FieldGroup.defaultProps = { isBlockInput: true, isRequired: false, help: '' +}; + +/** + * Creates the FieldGroup's label component + * + * @param {Object} props + * @return {*} + * @constructor + */ +FieldGroup.Label = (props) => { + return ( + + ); }; \ No newline at end of file diff --git a/src/components/fields/FieldGroup.test.js b/src/components/fields/FieldGroup.test.js index 212637b..8475dfd 100644 --- a/src/components/fields/FieldGroup.test.js +++ b/src/components/fields/FieldGroup.test.js @@ -554,4 +554,16 @@ describe('Field Group component', () => { expect(wrapper.find('.caldera-components-message')).toHaveLength(0); }); }); + + it( 'Uses the Magic group, if type is magic', () => { + const component = renderer.create( + {}} + /> + ); + expect(component.toJSON()).toMatchSnapshot(); + }); }); \ No newline at end of file diff --git a/src/components/fields/__snapshots__/FieldGroup.test.js.snap b/src/components/fields/__snapshots__/FieldGroup.test.js.snap index 6560fa9..c8a36d6 100644 --- a/src/components/fields/__snapshots__/FieldGroup.test.js.snap +++ b/src/components/fields/__snapshots__/FieldGroup.test.js.snap @@ -129,3 +129,37 @@ exports[`Field Group component Field group component props Works with help text

    `; + +exports[`Field Group component Uses the Magic group, if type is magic 1`] = ` +
    + +
    + +
    +
    +`; diff --git a/src/components/fields/button-group/ButtonGroup.js b/src/components/fields/button-group/ButtonGroup.js index f48c194..1980831 100644 --- a/src/components/fields/button-group/ButtonGroup.js +++ b/src/components/fields/button-group/ButtonGroup.js @@ -1,6 +1,6 @@ import React from 'react'; import {optionShape} from '../propTypes'; -import PropTypes from 'prop-types' +import PropTypes from 'prop-types'; /** * Creates a button group field * @@ -42,7 +42,7 @@ export const ButtonGroup = (props) => { {option.label} } - + ; })}
    ); diff --git a/src/components/fields/button-group/ButtonGroup.test.js b/src/components/fields/button-group/ButtonGroup.test.js index 6c6ec69..6b26e9d 100644 --- a/src/components/fields/button-group/ButtonGroup.test.js +++ b/src/components/fields/button-group/ButtonGroup.test.js @@ -32,7 +32,7 @@ describe('Button Group component', () => { const component = mount( { - updateValue = newValue + updateValue = newValue; }} options={[ { @@ -46,7 +46,7 @@ describe('Button Group component', () => { ]} /> ); - expect(component.find('button').length).toBe(2) + expect(component.find('button')).toHaveLength(2); }); it('Sends the right update value when clicked', () => { @@ -54,7 +54,7 @@ describe('Button Group component', () => { const component = mount( { - updateValue = newValue + updateValue = newValue; }} options={[ { @@ -65,7 +65,7 @@ describe('Button Group component', () => { /> ); component.find('button').simulate('click'); - expect(updateValue).toBe('Tags') + expect(updateValue).toBe('Tags'); }); it('Marks the value as selected if it should on initial load', () => { @@ -84,7 +84,7 @@ describe('Button Group component', () => { /> ); - expect(component.find('button').hasClass('selected')).toBe(true) + expect(component.find('button').hasClass('selected')).toBe(true); }); it('Sets aria-label to label when ariaLabel not provided', () => { @@ -100,8 +100,8 @@ describe('Button Group component', () => { /> ); - expect(component.find('button').prop('aria-label')).toBe('Tags') - }) + expect(component.find('button').prop('aria-label')).toBe('Tags'); + }); it('Sets aria-label to explicit value when passed', () => { const component = mount( @@ -117,7 +117,7 @@ describe('Button Group component', () => { /> ); - expect(component.find('button').prop('aria-label')).toBe('Select field values') + expect(component.find('button').prop('aria-label')).toBe('Select field values'); }); }); diff --git a/src/components/fields/factories/fieldFactory.test.js b/src/components/fields/factories/fieldFactory.test.js index 35371bf..6a0c995 100644 --- a/src/components/fields/factories/fieldFactory.test.js +++ b/src/components/fields/factories/fieldFactory.test.js @@ -27,6 +27,34 @@ const hiddenFieldConfig = { 'description': false }; +const magicField = { + 'id': 'cf-magic-example', + 'type': 'magic', + 'label': 'Magic ID', + 'description': 'Select a value from list of magic tags or type a value', + fieldsList: [ + { + label: '0', + value: 0 + }, + { + label: '1', + value: 1 + }, + { + label: '3', + value: 3 + } + ], + systemTagsList: [ + { + label: '3', + value: 3 + } + ], + onValueChange: () => {} +}; + const configFields = [ { 'id': 'cf-convertkit-apikey', 'label': 'API Key', 'type': 'text' @@ -37,7 +65,7 @@ const configFields = [ 'type': 'dropdown', 'options': [{ value: null, - label:'-- Select --' + label: '-- Select --' }], 'desc': 'ConvertKit sequence to add subscriber to. Sequences are also referred to as courses.', 'description': false, @@ -373,6 +401,26 @@ describe('Factories', () => { expect(wrapper.find('.f-1')).toHaveLength(1); }); + it('Creates the if a magic field is in collection', () => { + const components = fieldSetFactory([ + magicField + ]); + const wrapper = mount( +
    + {Array.from(components).map((field, i) => { + return React.createElement( + 'div', { + key: i, + className: `f-${i}` + }, + field + ); + })} +
    + ); + expect(wrapper.find('input')).toHaveLength(1); + }); + }); }); diff --git a/src/components/fields/factories/prepareFieldConfig.js b/src/components/fields/factories/prepareFieldConfig.js index 3fb39a0..2b7fea9 100644 --- a/src/components/fields/factories/prepareFieldConfig.js +++ b/src/components/fields/factories/prepareFieldConfig.js @@ -1,4 +1,4 @@ -import {fieldGroupPropTypes} from '../propTypes'; +import {fieldGroupPropTypes,magicGroupPropTypes} from '../propTypes'; import {isValidHtml5type, toBoolean} from '../util'; import {messageObjectFactory} from '../messages/messageObjectFactory'; @@ -53,7 +53,8 @@ export const prepareFieldConfig = (fieldArgs) => { validators = fieldArgs.validators; } - fieldArgs = pick(fieldArgs, Object.keys(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) diff --git a/src/components/fields/magic-select/MagicFieldGroup.js b/src/components/fields/magic-select/MagicFieldGroup.js index aac4d12..0049bc2 100644 --- a/src/components/fields/magic-select/MagicFieldGroup.js +++ b/src/components/fields/magic-select/MagicFieldGroup.js @@ -1,18 +1,12 @@ import React from 'react'; -import { - onValueChangePropType, - optionsShapeProp, - valuePropType, - fieldGroupPropTypes -} from '../propTypes'; +import {magicGroupPropTypes} from '../propTypes'; import classNames from 'classnames'; -import PropTypes from 'prop-types'; import {MagicItem} from './MagicItem'; -import {ButtonGroup} from "../button-group/ButtonGroup"; -import {MagicSelect} from "./MagicSelect"; -import {RenderGroup} from "../../RenderGroup"; -import {Message} from "../messages/Message"; -import {FieldGroup} from "../FieldGroup"; +import {ButtonGroup} from '../button-group/ButtonGroup'; +import {MagicSelect} from './MagicSelect'; +import {RenderGroup} from '../../RenderGroup'; +import {Message} from '../messages/Message'; +import {FieldGroup} from '../FieldGroup'; /** @@ -93,7 +87,7 @@ export class MagicFieldGroup extends React.PureComponent { * @return {*} */ renderItem(item, isHighlighted){ - return + return ; } /** @@ -126,7 +120,7 @@ export class MagicFieldGroup extends React.PureComponent { value: null, label: null, innerKey:this.props.id - }) + }); } return items; @@ -150,7 +144,7 @@ export class MagicFieldGroup extends React.PureComponent { label: '{}', ariaLabel: 'Select from system values' }, - ] + ]; } @@ -166,7 +160,7 @@ export class MagicFieldGroup extends React.PureComponent { MagicFieldGroup.classNames.fieldWrapper, RenderGroup.classNames.fieldWrapper, this.props.className - ) + ) } > { isOpen={false} /> ); - expect(component.find('input').length).toBe(1); + expect(component.find('input')).toHaveLength(1); }); }); describe('Options', () => { @@ -129,7 +129,7 @@ describe('MagicFieldGroup component', () => { /> ); component.find('input').simulate('focus'); - expect(component.find('.magic-input-option').length).toBe(2); + expect(component.find('.magic-input-option')).toHaveLength(2); }); it('Uses fieldsList prop if no options prop', () => { @@ -163,7 +163,7 @@ describe('MagicFieldGroup component', () => { /> ); component.find('input').simulate('focus'); - expect(component.find('.magic-input-option').length).toBe(3); + expect(component.find('.magic-input-option')).toHaveLength(3); }); it('Uses systemTagsList prop if no options prop and currentListType state is system', () => { @@ -198,7 +198,7 @@ describe('MagicFieldGroup component', () => { ); component.find('input').simulate('focus'); component.setState({currentListType: 'system'}); - expect(component.find('.magic-input-option').length).toBe(1); + expect(component.find('.magic-input-option')).toHaveLength(1); }); it('Receives updated value', () => { @@ -323,7 +323,7 @@ describe('MagicFieldGroup component', () => { isOpen={true} /> ); - expect(component.find('button').length).toBe(2); + expect(component.find('button')).toHaveLength(2); }); it( 'Does not output the buttons if not open', () => { const component = mount( @@ -355,7 +355,7 @@ describe('MagicFieldGroup component', () => { isOpen={false} /> ); - expect(component.find('button').length).toBe(0); + expect(component.find('button')).toHaveLength(0); }); }); }); \ No newline at end of file diff --git a/src/components/fields/magic-select/MagicItem.js b/src/components/fields/magic-select/MagicItem.js index 7dffd96..675c727 100644 --- a/src/components/fields/magic-select/MagicItem.js +++ b/src/components/fields/magic-select/MagicItem.js @@ -49,7 +49,7 @@ export class MagicItem extends React.PureComponent { ] ); } -}; +} /** * Prop definition for allowed element types diff --git a/src/components/fields/magic-select/MagicSelect.js b/src/components/fields/magic-select/MagicSelect.js index 0ca9475..03aa2e5 100644 --- a/src/components/fields/magic-select/MagicSelect.js +++ b/src/components/fields/magic-select/MagicSelect.js @@ -7,8 +7,8 @@ import { import Autocomplete from 'react-autocomplete'; import PropTypes from 'prop-types'; import {MagicItem} from './MagicItem'; -import {MagicFieldGroup} from "./MagicFieldGroup"; -import classNames from "classnames"; +import {MagicFieldGroup} from './MagicFieldGroup'; +import classNames from 'classnames'; /** @@ -76,7 +76,7 @@ export class MagicSelect extends React.PureComponent { * @return {*} */ renderItem(item, isHighlighted){ - return + return ; } diff --git a/src/components/fields/magic-select/MagicSelect.test.js b/src/components/fields/magic-select/MagicSelect.test.js index 137f7bb..9d6e766 100644 --- a/src/components/fields/magic-select/MagicSelect.test.js +++ b/src/components/fields/magic-select/MagicSelect.test.js @@ -88,17 +88,17 @@ describe('MagicSelect component', () => { fieldClassName={'magic'} onValueChange={genericChangeHandler} options={[ - { - label: 'HTML', - value: 'html', - innerKey:'html' - }, - { - label: 'Plain Text', - value: 'plain', - innerKey:'plain' - } - ]} + { + label: 'HTML', + value: 'html', + innerKey:'html' + }, + { + label: 'Plain Text', + value: 'plain', + innerKey:'plain' + } + ]} isOpen={false} /> ); @@ -112,17 +112,17 @@ describe('MagicSelect component', () => { fieldClassName={'magic'} onValueChange={genericChangeHandler} options={[ - { - label: 'HTML', - value: 'html', - innerKey:'html' - }, - { - label: 'Plain Text', - value: 'plain', - innerKey:'plain' - } - ]} + { + label: 'HTML', + value: 'html', + innerKey:'html' + }, + { + label: 'Plain Text', + value: 'plain', + innerKey:'plain' + } + ]} isOpen={true} /> ); @@ -226,17 +226,17 @@ describe('MagicSelect component', () => { fieldClassName={'magic'} onValueChange={genericChangeHandler} options={[ - { - label: 'HTML', - value: 'html', - innerKey:'html' - }, - { - label: 'Plain Text', - value: 'plain', - innerKey:'plain' - } - ]} + { + label: 'HTML', + value: 'html', + innerKey:'html' + }, + { + label: 'Plain Text', + value: 'plain', + innerKey:'plain' + } + ]} isOpen={true} /> ); diff --git a/src/components/fields/propTypes.js b/src/components/fields/propTypes.js index 482814b..83babf8 100644 --- a/src/components/fields/propTypes.js +++ b/src/components/fields/propTypes.js @@ -37,7 +37,7 @@ export const fieldGroupPropTypes = { isRequired: PropTypes.bool, help: PropTypes.string, label: PropTypes.string.isRequired, - type: PropTypes.oneOf(['input', 'select', 'fieldset']), + type: PropTypes.oneOf(['input', 'select', 'fieldset', 'magic']), value: valuePropType, onValueChange: onValueChangePropType, options: PropTypes.array, @@ -87,4 +87,13 @@ export const optionShape = { */ export const optionsShapeProp = PropTypes.arrayOf( PropTypes.shape(optionShape) -); \ No newline at end of file +); + +export const magicGroupPropTypes = { + ...fieldGroupPropTypes, + fieldsList: optionsShapeProp, + systemTagsList: optionsShapeProp, + defaultList: PropTypes.string, + isOpen: PropTypes.bool, + type: PropTypes.string +}; \ No newline at end of file diff --git a/src/components/renderGroup.test.js b/src/components/renderGroup.test.js index e73f448..bf8d0c8 100644 --- a/src/components/renderGroup.test.js +++ b/src/components/renderGroup.test.js @@ -1,10 +1,11 @@ import {RenderGroup} from './RenderGroup'; -import { mount } from 'enzyme'; +import {mount} from 'enzyme'; import Enzyme from 'enzyme'; import Adapter from 'enzyme-adapter-react-16'; import React from 'react'; import renderer from 'react-test-renderer'; -Enzyme.configure({ adapter: new Adapter() }); + +Enzyme.configure({adapter: new Adapter()}); const textFieldConfig = { 'id': 'cf-something-tags', @@ -29,66 +30,69 @@ const configFields = [ textFieldConfig ]; -const genericHandler = () => {}; +const genericHandler = () => { +}; configFields.map(config => { config.onValueChange = genericHandler; }); -describe( 'The render group component', () => { +describe('The render group component', () => { - describe( 'Rendering with fields', () => { - it( 'Works with one text field', () => { + describe('Rendering with fields', () => { + it('Works with one text field', () => { const component = renderer.create( - + ); - expect( component.toJSON() ).toMatchSnapshot(); + expect(component.toJSON()).toMatchSnapshot(); }); - it( 'Works with a few fields', () => { + it('Works with a few fields', () => { const component = renderer.create( ); - expect( component.toJSON() ).toMatchSnapshot(); + expect(component.toJSON()).toMatchSnapshot(); }); - it( 'Does not error when passed empty array of fields', () => { + it('Does not error when passed empty array of fields', () => { const component = renderer.create( ); - expect( component.toJSON() ).toMatchSnapshot(); + expect(component.toJSON()).toMatchSnapshot(); }); }); - describe( 'Creates the inner components correctly', () =>{ - it( 'Creates array of components', () => { + describe('Creates the inner components correctly', () => { + it('Creates array of components', () => { const component = new RenderGroup({ - configFields:configFields + configFields: configFields }); - expect( component.createComponents() ).toBeInstanceOf(Array); + expect(component.createComponents()).toBeInstanceOf(Array); }); - it( 'Has the right number of children', () => { + it('Has the right number of children', () => { const wrapper = mount( ); - expect( wrapper.find('.x1').children() ).toHaveLength(4); + expect(wrapper.find('.x1').children()).toHaveLength(4); }); - it( 'Adds the description', () => { + it('Adds the description', () => { const thisConfigFields = [ { 'id': 'sz', @@ -100,12 +104,12 @@ describe( 'The render group component', () => { } ]; - const wrapper = mount( ); + const wrapper = mount(); - expect( wrapper.find('p.description') ).toHaveLength(1); + expect(wrapper.find('p.description')).toHaveLength(1); }); - it( 'Adds the right description', () => { + it('Adds the right description', () => { const thisConfigFields = [ { 'id': 'sz', @@ -116,11 +120,11 @@ describe( 'The render group component', () => { onValueChange: genericHandler } ]; - const wrapper = mount( ); - expect( wrapper.find('p.description').text() ).toEqual( 'Expect This' ); + const wrapper = mount(); + expect(wrapper.find('p.description').text()).toEqual('Expect This'); }); - it( 'Sets aria-describedby prop on input to match description', () => { + it('Sets aria-describedby prop on input to match description', () => { const thisConfigFields = [ { 'id': 'sz', @@ -131,11 +135,11 @@ describe( 'The render group component', () => { onValueChange: genericHandler } ]; - const wrapper = mount( ); - expect( wrapper.find('input').prop('aria-describedby') ).toEqual( 'sz-description' ); + const wrapper = mount(); + expect(wrapper.find('input').prop('aria-describedby')).toEqual('sz-description'); }); - it( 'Adds the description using .desc if .description is not provided to match old spec', () => { + it('Adds the description using .desc if .description is not provided to match old spec', () => { const thisConfigFields = [ { 'id': 'sz', @@ -146,13 +150,13 @@ describe( 'The render group component', () => { } ]; - const wrapper = mount( ); + const wrapper = mount(); - expect( wrapper.find('p.description') ).toHaveLength(1); - expect( wrapper.find('p.description').text() ).toEqual( 'Expect This' ); + expect(wrapper.find('p.description')).toHaveLength(1); + expect(wrapper.find('p.description').text()).toEqual('Expect This'); }); - it( 'Adds the right description using .desc if .description is not provided to match old spec', () => { + it('Adds the right description using .desc if .description is not provided to match old spec', () => { const thisConfigFields = [ { 'id': 'sz', @@ -163,12 +167,12 @@ describe( 'The render group component', () => { } ]; - const wrapper = mount( ); + const wrapper = mount(); - expect( wrapper.find('p.description').text() ).toEqual( 'Expect This' ); + expect(wrapper.find('p.description').text()).toEqual('Expect This'); }); - it( 'Adds no description if .description is false', () => { + it('Adds no description if .description is false', () => { const thisConfigFields = [ { 'id': 'sz', @@ -178,11 +182,11 @@ describe( 'The render group component', () => { } ]; - const wrapper = mount( ); - expect( wrapper.find('p.description') ).toHaveLength(0); + const wrapper = mount(); + expect(wrapper.find('p.description')).toHaveLength(0); }); - it( 'Adds the label', () => { + it('Adds the label', () => { const thisConfigFields = [ { 'id': 'sz', @@ -193,12 +197,12 @@ describe( 'The render group component', () => { onValueChange: genericHandler } ]; - const wrapper = mount( ); - expect( wrapper.find('label') ).toHaveLength(1); - expect( wrapper.find('label').text() ).toEqual(thisConfigFields[0].label); + const wrapper = mount(); + expect(wrapper.find('label')).toHaveLength(1); + expect(wrapper.find('label').text()).toEqual(thisConfigFields[0].label); }); - it( 'Adds the right label', () => { + it('Adds the right label', () => { const thisConfigFields = [ { 'id': 'sz', @@ -209,8 +213,8 @@ describe( 'The render group component', () => { onValueChange: genericHandler } ]; - const wrapper = mount( ); - expect( wrapper.find('label').text() ).toEqual(thisConfigFields[0].label); + const wrapper = mount(); + expect(wrapper.find('label').text()).toEqual(thisConfigFields[0].label); }); }); @@ -230,30 +234,30 @@ describe( 'The render group component', () => { } ], - value:[], - onValueChange:genericHandler + value: [], + onValueChange: genericHandler }; - describe( 'fieldsets', () => { - it( 'Outputs a fieldset', () => { - const wrapper = mount( ); - expect( wrapper.find('fieldset') ).toHaveLength(1); + describe('fieldsets', () => { + it('Outputs a fieldset', () => { + const wrapper = mount(); + expect(wrapper.find('fieldset')).toHaveLength(1); }); - it( 'has inputs in the fieldset', () =>{ - const wrapper = mount( ); - expect( wrapper.find('fieldset').children().find('input' ) ).toHaveLength(2); + it('has inputs in the fieldset', () => { + const wrapper = mount(); + expect(wrapper.find('fieldset').children().find('input')).toHaveLength(2); }); - it( 'has inputs that are checbkoxes in the fieldset', () =>{ - const wrapper = mount( ); - expect( wrapper.find('fieldset').children().find('input' ).first().prop('type') ).toEqual( 'checkbox' ); + it('has inputs that are checbkoxes in the fieldset', () => { + const wrapper = mount(); + expect(wrapper.find('fieldset').children().find('input').first().prop('type')).toEqual('checkbox'); }); }); - describe( 'class structure', () => { + describe('class structure', () => { const fieldConfigsForThisTest = [ { 'id': 'cf-something-else', @@ -264,26 +268,26 @@ describe( 'The render group component', () => { textFieldConfig ]; - it( 'Puts .caldera-config-field-setup on outermost element', () =>{ - const wrapper = mount( ); - expect( wrapper.find('.caldera-config-field-setup') ).toHaveLength(1); + it('Puts .caldera-config-field-setup on outermost element', () => { + const wrapper = mount(); + expect(wrapper.find('.caldera-config-field-setup')).toHaveLength(1); }); - it( 'It puts .caldera-config-group around each group', () => { - const wrapper = mount( ); + it('It puts .caldera-config-group around each group', () => { + const wrapper = mount(); expect( wrapper.find('.caldera-config-field-setup').children().find('.caldera-config-group') ).toHaveLength(2); }); - it( 'Matches snapshot', () => { + it('Matches snapshot', () => { const component = renderer.create(); - expect( component.toJSON()).toMatchSnapshot(); + expect(component.toJSON()).toMatchSnapshot(); }); }); - describe( 'Select fields', () => { - it( 'Select fields have options', () => { + describe('Select fields', () => { + it('Select fields have options', () => { const selectFieldConfig = { 'id': 'cf-something-select-id', 'type': 'dropdown', @@ -307,13 +311,13 @@ describe( 'The render group component', () => { onValueChange: genericHandler }; - const wrapper = mount( ); + const wrapper = mount(); expect( wrapper.find('select').children().find('option') ).toHaveLength(3); }); - it( 'Select fields can have no options', () => { + it('Select fields can have no options', () => { const selectFieldConfig = { 'id': 'cf-something-select-id', 'type': 'dropdown', @@ -324,13 +328,13 @@ describe( 'The render group component', () => { onValueChange: genericHandler }; - const wrapper = mount( ); + const wrapper = mount(); expect( wrapper.find('select').children().find('option')//this would make an error if the select field was invalid ).toHaveLength(0); }); - it( 'Select field change handlers receive value, not event ', () => { + it('Select field change handlers receive value, not event ', () => { let updateValue = ''; const selectFieldConfig = { 'id': 'cf-something-select-id', @@ -358,68 +362,82 @@ describe( 'The render group component', () => { } }; - const wrapper = mount( ); - wrapper.find( 'select' ).simulate('change', { target: { value: 'imaginary' } }); + const wrapper = mount(); + wrapper.find('select').simulate('change', {target: {value: 'imaginary'}}); expect( wrapper.find('select').children().find('option') ).toHaveLength(3); }); }); - describe( 'adding blur and focus', () => { - it( 'Adds the props', () => { - const component = renderer.create( {}, - onFocus: () => {} - }]}/> ); - expect( component.toJSON() ).toMatchSnapshot(); + describe('adding blur and focus', () => { + it('Adds the props', () => { + const component = renderer.create( { + }, + onFocus: () => { + } + }]} + />); + expect(component.toJSON()).toMatchSnapshot(); }); - it ( 'Passes down the onFocus handler', () => { + it('Passes down the onFocus handler', () => { let itFired = false; const idArg = 'a1'; - const wrapper = mount( {}, - onFocus: () => {itFired = true;} - }]}/> ); - - wrapper.find('input').simulate( 'focus' ); - expect(itFired ).toBe(true); + const wrapper = mount( { + }, + onFocus: () => { + itFired = true; + } + }]} + />); + + wrapper.find('input').simulate('focus'); + expect(itFired).toBe(true); }); - it( 'Fires the onFocus handler', () => { + it('Fires the onFocus handler', () => { let itFired = false; - const wrapper = mount( {}, - onFocus: () => { - itFired = true; - } - }]}/> ); - wrapper.find( 'input' ).simulate('focus'); + const wrapper = mount( { + }, + onFocus: () => { + itFired = true; + } + }]} + />); + wrapper.find('input').simulate('focus'); - expect( itFired ).toBe(true); + expect(itFired).toBe(true); }); - it( 'Fires the onBlur handler', () => { + it('Fires the onBlur handler', () => { let itFired = false; - const wrapper = mount( { - itFired = true; - } - }]}/> ); - wrapper.find( 'input' ).simulate('blur'); + const wrapper = mount( { + itFired = true; + } + }]} + />); + wrapper.find('input').simulate('blur'); - expect( itFired ).toBe(true); + expect(itFired).toBe(true); }); }); - describe( 'showing component in the child fields', () => { + describe('showing component in the child fields', () => { const successMessage = { message: 'Hi Roy', error: false, @@ -429,28 +447,89 @@ describe( 'The render group component', () => { message: 'Fail' }; - it( 'shows success message', () => { - const wrapper = mount( ); - expect( wrapper.find( '.caldera-components-message' ).text() ).toBe('Hi Roy'); + it('shows success message', () => { + const wrapper = mount(); + expect(wrapper.find('.caldera-components-message').text()).toBe('Hi Roy'); }); - it( 'shows error message', () => { - const wrapper = mount( ); + it('shows error message', () => { + const wrapper = mount(); expect(wrapper.find('.caldera-components-message').text()).toBe('Fail'); }); }); + describe('Magic fields inside render groups', () => { + const magicField = { + 'id': 'cf-magic-example', + 'type': 'magic', + 'label': 'Magic ID', + 'description': 'Select a value from list of magic tags or type a value', + fieldsList: [ + { + label: '0', + value: 0 + }, + { + label: '1', + value: 1 + }, + { + label: '3', + value: 3 + } + ], + systemTagsList: [ + { + label: '3', + value: 3 + } + ], + isOpen: true, + onValueChange: () => { + } + }; + + it('Has the input', () => { + const component = mount( + + ); + expect(component.find('input')).toHaveLength(1); + }); + + it('Get values update ', () => { + let value = '1'; + const component = mount( + { + value = newValue; + } + } + ]}/> + ); + component.find('input').simulate('change', { target: { value: 3 } }); + + expect(value).toBe(3); + }); + + }); + - }); From 410d17b7cd87d70f25032e97f64cc3e8670763c6 Mon Sep 17 00:00:00 2001 From: Josh Pollock Date: Sat, 7 Jul 2018 13:44:29 -0400 Subject: [PATCH 22/25] clean up the message component in magic field gorup #1 --- .../fields/magic-select/MagicFieldGroup.js | 9 ++-- .../magic-select/MagicFieldGroup.test.js | 29 ++++++++++++- .../MagicFieldGroup.test.js.snap | 42 ++++++++++++++++++- 3 files changed, 74 insertions(+), 6 deletions(-) diff --git a/src/components/fields/magic-select/MagicFieldGroup.js b/src/components/fields/magic-select/MagicFieldGroup.js index 0049bc2..f01638c 100644 --- a/src/components/fields/magic-select/MagicFieldGroup.js +++ b/src/components/fields/magic-select/MagicFieldGroup.js @@ -167,10 +167,11 @@ export class MagicFieldGroup extends React.PureComponent { id={this.props.id} label={this.props.label} /> - - + {this.props.message.message && + + } {this.state.isOpen && { describe('MagicFieldGroup component', () => { - it( 'matches snapshot', () => { + it( 'matches snapshot with no message', () => { const component = renderer.create( { expect(component.toJSON() ).toMatchSnapshot(); }); + it( 'matches snapshot with message', () => { + const component = renderer.create( + + ); + expect(component.toJSON() ).toMatchSnapshot(); + }); + describe( 'Inner input', () => { it('Has inner input', () => { const component = mount( diff --git a/src/components/fields/magic-select/__snapshots__/MagicFieldGroup.test.js.snap b/src/components/fields/magic-select/__snapshots__/MagicFieldGroup.test.js.snap index c1f1c17..35f8ce0 100644 --- a/src/components/fields/magic-select/__snapshots__/MagicFieldGroup.test.js.snap +++ b/src/components/fields/magic-select/__snapshots__/MagicFieldGroup.test.js.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`MagicFieldGroup component matches snapshot 1`] = ` +exports[`MagicFieldGroup component matches snapshot with message 1`] = `
    @@ -9,6 +9,46 @@ exports[`MagicFieldGroup component matches snapshot 1`] = ` > Hi Roy +
    + Hi Roy +
    +
    + +
    +
    +`; + +exports[`MagicFieldGroup component matches snapshot with no message 1`] = ` +
    + +
    Date: Sat, 7 Jul 2018 13:49:43 -0400 Subject: [PATCH 23/25] #1 refresh snapshots and docs --- .idea/workspace.xml | 204 +- docs/ast/source/App.js.json | 14405 +++++----- .../ast/source/components/RenderGroup.js.json | 2034 +- .../components/fields/FieldGroup.js.json | 17948 +++++++----- .../fields/button-group/ButtonGroup.js.json | 1868 +- .../factories/prepareFieldConfig.js.json | 3337 ++- .../magic-select/MagicFieldGroup.js.json | 23652 +++++++++------- .../fields/magic-select/MagicItem.js.json | 2279 +- .../fields/magic-select/MagicSelect.js.json | 10882 ++++--- .../components/fields/propTypes.js.json | 6775 +++-- docs/badge.svg | 4 +- docs/class/src/App.js~App.html | 1 + .../RenderGroup.js~RenderGroup.html | 1 + .../MagicFieldGroup.js~MagicFieldGroup.html | 17 +- .../magic-select/MagicItem.js~MagicItem.html | 1 + .../MagicSelect.js~MagicSelect.html | 20 +- docs/coverage.json | 11 +- docs/file/src/App.js.html | 2 + docs/file/src/components/RenderGroup.js.html | 5 +- .../checkConfigFieldConditionals.js.html | 1 + .../checkConfigFieldsConditionals.js.html | 1 + .../conditional-logic/index.js.html | 1 + .../components/conditional-logic/util.js.html | 1 + .../src/components/fields/FieldGroup.js.html | 40 +- .../src/components/fields/FieldInner.js.html | 1 + .../fields/button-group/ButtonGroup.js.html | 5 +- .../fields/factories/fieldFactory.js.html | 1 + .../fields/factories/fieldSetFactory.js.html | 1 + .../components/fields/factories/index.js.html | 1 + .../factories/prepareFieldConfig.js.html | 6 +- .../fieldsetCheckboxHandler.js.html | 1 + docs/file/src/components/fields/index.js.html | 1 + .../src/components/fields/input/Input.js.html | 1 + .../magic-select/MagicFieldGroup.js.html | 73 +- .../fields/magic-select/MagicItem.js.html | 8 +- .../fields/magic-select/MagicSelect.js.html | 17 +- .../fields/messages/Message.js.html | 1 + .../messages/messageObjectFactory.js.html | 1 + .../fields/messages/messagePropTypes.js.html | 1 + .../src/components/fields/propTypes.js.html | 14 +- .../fields/select/SelectField.js.html | 1 + .../fields/select/SelectFieldFancy.js.html | 1 + docs/file/src/components/fields/util.js.html | 1 + docs/file/src/components/index.js.html | 1 + .../validation/addAutomaticValidators.js.html | 1 + .../checkValidatorsForConfigField.js.html | 1 + .../checkValidatorsForConfigFields.js.html | 1 + .../getValidatorsFromConfigField.js.html | 1 + .../src/components/validation/index.js.html | 1 + .../src/components/validation/isEmpty.js.html | 1 + .../src/components/validation/isValid.js.html | 1 + .../validation/isValidOrEmpty.js.html | 1 + .../validation/messageStrings.js.html | 1 + .../src/components/validation/strings.js.html | 1 + .../src/components/validation/util.js.html | 1 + docs/file/src/index.js.html | 1 + docs/file/src/registerServiceWorker.js.html | 1 + docs/function/index.html | 5 +- docs/identifiers.html | 29 + docs/index.html | 73 +- docs/index.json | 150 +- docs/manual/README.html | 2 + docs/manual/components.html | 79 +- docs/manual/conditional-logic.html | 2 + docs/manual/factories.html | 2 + docs/manual/index.html | 73 +- docs/manual/testing.html | 2 + docs/manual/validation.html | 2 + docs/script/search_index.js | 6 + docs/source.html | 60 +- docs/variable/index.html | 72 + .../__snapshots__/FieldGroup.test.js.snap | 1 + 72 files changed, 47736 insertions(+), 36462 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 3ef637c..699eb57 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -4,12 +4,20 @@ - + + + + + + + - + + + @@ -19,6 +27,7 @@ + @@ -26,6 +35,9 @@ + + + @@ -51,7 +63,6 @@ - @@ -62,23 +73,7 @@ - - - - - - - - - - - - - - - -

    +
    +

    + V + + + magicGroupPropTypes: {...fieldGroupPropTypes: Object, "fieldsList": *, "systemTagsList": *, "defaultList": *, "isOpen": *, "type": *} +

    +
    +
    + + + +
    +
    + + +
    + public + + + diff --git a/docs/index.html b/docs/index.html index a609c45..c4d6ff8 100644 --- a/docs/index.html +++ b/docs/index.html @@ -55,6 +55,7 @@
  • Included Component
  • RenderGroup
  • Example Of RenderGroup Component Usage
  • +
  • A Magic Aut-Complete Field Selector In A RednerGroup
  • Add onFocus Event For All Fields Of Render Group
  • Add onBlur Event For All Fields Of Render Group
  • Field Groups
  • @@ -63,6 +64,7 @@
  • Text field that is not required
  • Text field with help text
  • Number Field Group
  • +
  • Magic Select Groups
  • Fieldsets
  • Button Group
  • Examples
  • @@ -388,6 +390,38 @@

    Structure of class attributes

    The configFields={configFields} className={'cf-something-config'} /> +

    A Magic Aut-Complete Field Selector In A RednerGroup

    const magicField = {
    +    'id': 'cf-magic-example',
    +    'type': 'magic',
    +    'label': 'Magic ID',
    +    'description': 'Select a value from list of magic tags or type a value',
    +    fieldsList: [
    +        {
    +            label: '0',
    +            value: 0
    +        },
    +        {
    +            label: '1',
    +            value: 1
    +        },
    +        {
    +            label: '3',
    +            value: 3
    +        }
    +    ],
    +    systemTagsList: [
    +        {
    +            label: '3',
    +            value: 3
    +        }
    +    ],
    +    isOpen: true,
    +    onValueChange: () => {
    +    }
    +};
    +
    +<RenderGroup configFields={[magicField]}/>
    +
     

    Add onFocus Event For All Fields Of Render Group

    You 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.

    <RenderGroup
         configFields={[
             //add your fields
    @@ -456,8 +490,7 @@ 

    Structure of class attributes

    The Select field groups happen when you pass "select" to the `type` prop. -Select fields take an array of options in the prop option. Options have the shape defiend in the - +Select 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)

    let selectFieldValue = '';

    <FieldGroup @@ -478,7 +511,39 @@

    Structure of class attributes

    The label: 'Two' } ]} -/>

    ## Select Fields
    +/>

    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.

    let magicFieldValue ='';
    +
    +<MagicFieldGroup
    +        id={'magic-5'}
    +        fieldClassName={'magic'}
    +        label={'Magic Group'}
    +        onValueChange={(newValue) => {
    +            magicFieldValue = newValue;
    +        } }
    +        fieldsList={[
    +            {
    +                label: 'Field One',
    +                value: '%fldOne%'
    +            },
    +            {
    +                label: 'Field Two',
    +                value: '%fldTwo%'
    +            },
    +            {
    +                label: 'Field Three',
    +                value: '%fldThree%'
    +            },
    +        ]}
    +        systemTagsList={[
    +            {
    +                label: 'User First Name',
    +                value: '{user:first_name}'
    +            }
    +        ]}
    +        isOpen={true}
    +        value={magicFieldValue}
    +    />
    +
    ## Select Fields
     * [Reference](https://calderalabs.org/caldera-components/function/index.html#static-function-SelectField)
     
     ```jsx 
    @@ -526,7 +591,7 @@ 

    Structure of class attributes

    The } ]} /> -

    Button Group

    Examples

    Button Group With Two Options

    <ButtonGroup
    +

    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

    Examples

    Button Group With Two Options

    <ButtonGroup
         onChange={(selectedValue) => {
             console.log(selectedValue);
         }}
    diff --git a/docs/index.json b/docs/index.json
    index 03e84b0..d07c5e7 100644
    --- a/docs/index.json
    +++ b/docs/index.json
    @@ -567,7 +567,7 @@
         "__docId__": 48,
         "kind": "file",
         "name": "src/App.js",
    -    "content": "import React, { Component } from 'react';\nimport logo from './logo.svg';\nimport './App.css';\nimport {FieldGroup} from \"./components/fields/FieldGroup\";\nimport {fieldSetFactory} from \"./components/fields/factories/fieldSetFactory\";\nimport {RenderGroup} from \"./components/RenderGroup\";\nimport {MagicFieldGroup} from \"./components/fields/magic-select/MagicFieldGroup\";\n\nlet textFieldValue = 'Roy,Mike';\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: textFieldValue,\n\tonValueChange: function(newValue){\n\t\ttextFieldValue = newValue\n\t},\n\n\n};\n\nconst numberFieldConfig = {\n\t'id': 'cf--something-some-number',\n\t'label': 'The number of something',\n\t'desc': 'How many somethings?',\n\t'type': 'text',\n\t'inputType': 'number',\n\tattributes: {\n\t\tmin: -1,\n\t\tmax: 22,\n\t\tstep: 0.1,\n\t},\n\tvalue: 42,\n\tonValueChange: (newNumberValue) =>{\n\t\tconsole.log(newNumberValue);\n\t},\n\n};\n\nlet hiddenFieldValue = '42';\nconst hiddenFieldConfig = {\n\t'id': 'cf-something-sequence-id',\n\t'type': 'hidden',\n\t'label': 'Sequence ID',\n\t'description': false,\n\tvalue: hiddenFieldValue,\n\tonValueChange: function(newValue){\n\t\thiddenFieldValue = newValue\n\t},\n};\n\nlet selectFieldValue = 'html';\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: selectFieldValue,\n\tonValueChange: function(newValue){\n\t\tselectFieldValue = newValue\n\t}\n};\n\nlet fieldSetFieldValue = ['1'];\nconst fieldSetField = {\n\tid: 'fieldset-3',\n\tlabel: 'How many?',\n\ttype: 'fieldset',\n\toptions: [\n\t\t{\n\t\t\tvalue: '1',\n\t\t\tlabel: 'One'\n\t\t},\n\t\t{\n\t\t\tvalue: '2',\n\t\t\tlabel: 'Two'\n\t\t}\n\n\t],\n\tvalue:[],\n\tonValueChange:(newValue) => {\n\t\tfieldSetFieldValue=newValue;\n\t}\n};\n\nconst configFields = [\n\ttextFieldConfig,\n\thiddenFieldConfig,\n\tselectFieldConfig,\n\tfieldSetField,\n\tnumberFieldConfig\n];\nconst configFieldEls = fieldSetFactory(configFields);\n\n\n\nlet values = {\n\tone: '',\n\ttwo: '',\n\tthree: ''\n};\n\nlet magicFieldValue = '';\n\nclass App extends Component {\n\n\trender() {\n\t\treturn (\n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\"logo\"\n\t\t\t\t\t

    Welcome to React

    \n\t\t\t\t
    \n\n\n\t\t\t\t
    \n\t\t\t\t\t

    Created With RenderGroup Component

    \n\t\t\t\t\t {console.log(fI)}}\n\t\t\t\t\t/>\n\t\t\t\t
    \n\n\t\t\t\t
    \n\t\t\t\t\t

    Created With Factory

    \n\t\t\t\t\t{Array.from(configFieldEls).map((field,i) => {\n\t\t\t\t\t\treturn React.createElement(\n\t\t\t\t\t\t\tReact.Fragment, {\n\t\t\t\t\t\t\t\tkey: i,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfield\n\t\t\t\t\t\t);\n\t\t\t\t\t})}\n\t\t\t\t
    \n\n\t\t\t\t
    \n\t\t\t\t\t

    Magic Select

    \n\t\t\t\t\t {\n\t\t\t\t\t\t\tmagicFieldValue = newValue;\n\t\t\t\t\t\t} }\n\t\t\t\t\t\tfieldsList={[\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tlabel: 'Field One',\n\t\t\t\t\t\t\t\tvalue: '%fldOne%'\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tlabel: 'Field Two',\n\t\t\t\t\t\t\t\tvalue: '%fldTwo%'\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tlabel: 'Field Three',\n\t\t\t\t\t\t\t\tvalue: '%fldThree%'\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t]}\n\t\t\t\t\t\tsystemTagsList={[\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tlabel: 'User First Name',\n\t\t\t\t\t\t\t\tvalue: '{user:first_name}'\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t]}\n\t\t\t\t\t\tisOpen={true}\n\t\t\t\t\t\tvalue={magicFieldValue}\n\t\t\t\t\t/>\n\t\t\t\t
    \n\n\t\t\t\t
    \n\t\t\t\t\t

    Inputs

    \n\t\t\t\t\t {\n\t\t\t\t\t\t\tvalues.one=newValue;\n\t\t\t\t\t\t}}\n\t\t\t\t\t/>\n\n\t\t\t\t\t {\n\t\t\t\t\t\t\tvalues.two=newValue;\n\t\t\t\t\t\t}}\n\t\t\t\t\t/>\n\n\t\t\t\t\t {\n\t\t\t\t\t\t\tvalues.three=newValue;\n\t\t\t\t\t\t}}\n\t\t\t\t\t/>\n\n\t\t\t\t\t {\n\t\t\t\t\t\t\tvalues.two=newValue;\n\t\t\t\t\t\t}}\n\t\t\t\t\t/>\n\n\t\t\t\t\t {\n\t\t\t\t\t\t\tvalues.two=newValue;\n\t\t\t\t\t\t}}\n\t\t\t\t\t\tmessage={{\n\t\t\t\t\t\t\tmessage:'Failures happened',\n\t\t\t\t\t\t\terror: true\n\t\t\t\t\t\t}}\n\t\t\t\t\t\tdisabled={true}\n\t\t\t\t\t/>\n\n\t\t\t\t\t {\n\t\t\t\t\t\t\tvalues.two=newValue;\n\t\t\t\t\t\t}}\n\t\t\t\t\t\tmessage={{\n\t\t\t\t\t\t\tmessage:'Failures did not happened',\n\t\t\t\t\t\t\terror: false\n\t\t\t\t\t\t}}\n\t\t\t\t\t/>\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t

    Selects

    \n\t\t\t\t\t {\n\t\t\t\t\t\t\tselectFieldValue = newValue;\n\t\t\t\t\t\t}}\n\t\t\t\t\t\toptions={[\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tvalue: 1,\n\t\t\t\t\t\t\t\tlabel: 'One'\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tvalue: 2,\n\t\t\t\t\t\t\t\tlabel: 'Two'\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t]}\n\t\t\t\t\t/>\n\n\t\t\t\t
    \n\n\t\t\t\t
    \n\t\t\t\t\t

    fieldsets

    \n\t\t\t\t\t {\n\t\t\t\t\t\t\tfieldSetFieldValue = newValue;\n\t\t\t\t\t\t}}\n\t\t\t\t\t\toptions={[\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tvalue: '1',\n\t\t\t\t\t\t\t\tlabel: 'One'\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tvalue: '2',\n\t\t\t\t\t\t\t\tlabel: 'Two'\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\n\t\t\t
    \n\t\t);\n\t}\n}\n\nexport default App;\n", + "content": "import React, { Component } from 'react';\nimport logo from './logo.svg';\nimport './App.css';\nimport {FieldGroup} from \"./components/fields/FieldGroup\";\nimport {fieldSetFactory} from \"./components/fields/factories/fieldSetFactory\";\nimport {RenderGroup} from \"./components/RenderGroup\";\nimport {MagicFieldGroup} from \"./components/fields/magic-select/MagicFieldGroup\";\n\nlet textFieldValue = 'Roy,Mike';\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: textFieldValue,\n\tonValueChange: function(newValue){\n\t\ttextFieldValue = newValue\n\t},\n\n\n};\n\nconst numberFieldConfig = {\n\t'id': 'cf--something-some-number',\n\t'label': 'The number of something',\n\t'desc': 'How many somethings?',\n\t'type': 'text',\n\t'inputType': 'number',\n\tattributes: {\n\t\tmin: -1,\n\t\tmax: 22,\n\t\tstep: 0.1,\n\t},\n\tvalue: 42,\n\tonValueChange: (newNumberValue) =>{\n\t\tconsole.log(newNumberValue);\n\t},\n\n};\n\nlet hiddenFieldValue = '42';\nconst hiddenFieldConfig = {\n\t'id': 'cf-something-sequence-id',\n\t'type': 'hidden',\n\t'label': 'Sequence ID',\n\t'description': false,\n\tvalue: hiddenFieldValue,\n\tonValueChange: function(newValue){\n\t\thiddenFieldValue = newValue\n\t},\n};\n\nlet selectFieldValue = 'html';\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: selectFieldValue,\n\tonValueChange: function(newValue){\n\t\tselectFieldValue = newValue\n\t}\n};\n\nlet fieldSetFieldValue = ['1'];\nconst fieldSetField = {\n\tid: 'fieldset-3',\n\tlabel: 'How many?',\n\ttype: 'fieldset',\n\toptions: [\n\t\t{\n\t\t\tvalue: '1',\n\t\t\tlabel: 'One'\n\t\t},\n\t\t{\n\t\t\tvalue: '2',\n\t\t\tlabel: 'Two'\n\t\t}\n\n\t],\n\tvalue:[],\n\tonValueChange:(newValue) => {\n\t\tfieldSetFieldValue=newValue;\n\t}\n};\n\nconst configFields = [\n\ttextFieldConfig,\n\thiddenFieldConfig,\n\tselectFieldConfig,\n\tfieldSetField,\n\tnumberFieldConfig\n];\nconst configFieldEls = fieldSetFactory(configFields);\n\n\n\nlet values = {\n\tone: '',\n\ttwo: '',\n\tthree: ''\n};\n\nlet magicFieldValue = '';\n\nclass App extends Component {\n\n\trender() {\n\t\treturn (\n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t\"logo\"\n\t\t\t\t\t

    Welcome to React

    \n\t\t\t\t
    \n\n\n\t\t\t\t
    \n\t\t\t\t\t

    Created With RenderGroup Component

    \n\t\t\t\t\t {console.log(fI)}}\n\t\t\t\t\t/>\n\t\t\t\t
    \n\n\t\t\t\t
    \n\t\t\t\t\t

    Created With Factory

    \n\t\t\t\t\t{Array.from(configFieldEls).map((field,i) => {\n\t\t\t\t\t\treturn React.createElement(\n\t\t\t\t\t\t\tReact.Fragment, {\n\t\t\t\t\t\t\t\tkey: i,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tfield\n\t\t\t\t\t\t);\n\t\t\t\t\t})}\n\t\t\t\t
    \n\n\t\t\t\t
    \n\t\t\t\t\t

    Magic Select

    \n\t\t\t\t\t {\n\t\t\t\t\t\t\tmagicFieldValue = newValue;\n\t\t\t\t\t\t} }\n\t\t\t\t\t\tfieldsList={[\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tlabel: 'Field One',\n\t\t\t\t\t\t\t\tvalue: '%fldOne%'\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tlabel: 'Field Two',\n\t\t\t\t\t\t\t\tvalue: '%fldTwo%'\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tlabel: 'Field Three',\n\t\t\t\t\t\t\t\tvalue: '%fldThree%'\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t]}\n\t\t\t\t\t\tsystemTagsList={[\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tlabel: 'User First Name',\n\t\t\t\t\t\t\t\tvalue: '{user:first_name}'\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t]}\n\t\t\t\t\t\tisOpen={true}\n\t\t\t\t\t\tvalue={magicFieldValue}\n\t\t\t\t\t/>\n\t\t\t\t
    \n\n\t\t\t\t
    \n\t\t\t\t\t

    Inputs

    \n\t\t\t\t\t {\n\t\t\t\t\t\t\tvalues.one=newValue;\n\t\t\t\t\t\t}}\n\t\t\t\t\t/>\n\n\t\t\t\t\t {\n\t\t\t\t\t\t\tvalues.two=newValue;\n\t\t\t\t\t\t}}\n\t\t\t\t\t/>\n\n\t\t\t\t\t {\n\t\t\t\t\t\t\tvalues.three=newValue;\n\t\t\t\t\t\t}}\n\t\t\t\t\t/>\n\n\t\t\t\t\t {\n\t\t\t\t\t\t\tvalues.two=newValue;\n\t\t\t\t\t\t}}\n\t\t\t\t\t/>\n\n\t\t\t\t\t {\n\t\t\t\t\t\t\tvalues.two=newValue;\n\t\t\t\t\t\t}}\n\t\t\t\t\t\tmessage={{\n\t\t\t\t\t\t\tmessage:'Failures happened',\n\t\t\t\t\t\t\terror: true\n\t\t\t\t\t\t}}\n\t\t\t\t\t\tdisabled={true}\n\t\t\t\t\t/>\n\n\t\t\t\t\t {\n\t\t\t\t\t\t\tvalues.two=newValue;\n\t\t\t\t\t\t}}\n\t\t\t\t\t\tmessage={{\n\t\t\t\t\t\t\tmessage:'Failures did not happened',\n\t\t\t\t\t\t\terror: false\n\t\t\t\t\t\t}}\n\t\t\t\t\t/>\n\t\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t

    Selects

    \n\t\t\t\t\t {\n\t\t\t\t\t\t\tselectFieldValue = newValue;\n\t\t\t\t\t\t}}\n\t\t\t\t\t\toptions={[\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tvalue: 1,\n\t\t\t\t\t\t\t\tlabel: 'One'\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tvalue: 2,\n\t\t\t\t\t\t\t\tlabel: 'Two'\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t]}\n\t\t\t\t\t/>\n\n\t\t\t\t
    \n\n\t\t\t\t
    \n\t\t\t\t\t

    fieldsets

    \n\t\t\t\t\t {\n\t\t\t\t\t\t\tfieldSetFieldValue = newValue;\n\t\t\t\t\t\t}}\n\t\t\t\t\t\toptions={[\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tvalue: '1',\n\t\t\t\t\t\t\t\tlabel: 'One'\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tvalue: '2',\n\t\t\t\t\t\t\t\tlabel: 'Two'\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\n\t\t\t
    \n\t\t);\n\t}\n}\n\nexport default App;\n", "static": true, "longname": "/Users/josh/caldera-js/components/src/App.js", "access": "public", @@ -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\n};", "static": true, "longname": "/Users/josh/caldera-js/components/src/components/RenderGroup.js", "access": "public", @@ -1157,7 +1157,7 @@ "__docId__": 77, "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';\n\n/**\n * Represents one configField -- wrapper, label and input.\n *\n * @param props\n * @return {*}\n * @constructor\n */\nexport const FieldGroup = (props) => {\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\t\t\t\t\t\t{fieldProps.label}\n\t\t\t\t\t\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\n\t\t\t\t\t\t{fieldProps.help}\n\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\nFieldGroup.propTypes = fieldGroupPropTypes;\n\nFieldGroup.defaultProps = {\n\tisBlockInput: true,\n\tisRequired: false,\n\thelp: ''\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\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\n\t\t\t\t\t\t{fieldProps.help}\n\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", @@ -1178,7 +1178,7 @@ "importPath": "@caldera-labs/components/src/components/fields/FieldGroup.js", "importStyle": "{FieldGroup}", "description": "Represents one configField -- wrapper, label and input.", - "lineNumber": 21, + "lineNumber": 22, "unknown": [ { "tagName": "@constructor", @@ -1267,7 +1267,7 @@ "__docId__": 81, "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};", + "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, "longname": "/Users/josh/caldera-js/components/src/components/fields/button-group/ButtonGroup.js", "access": "public", @@ -1441,7 +1441,7 @@ "__docId__": 88, "kind": "file", "name": "src/components/fields/factories/prepareFieldConfig.js", - "content": "import {fieldGroupPropTypes} 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\tfieldArgs = pick(fieldArgs, Object.keys(fieldGroupPropTypes));\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\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};", "static": true, "longname": "/Users/josh/caldera-js/components/src/components/fields/factories/prepareFieldConfig.js", "access": "public", @@ -1624,7 +1624,7 @@ "__docId__": 95, "kind": "file", "name": "src/components/fields/magic-select/MagicFieldGroup.js", - "content": "import React from 'react';\nimport {\n\tonValueChangePropType,\n\toptionsShapeProp,\n\tvaluePropType\n} from '../propTypes';\nimport classNames from 'classnames';\nimport PropTypes from 'prop-types';\nimport {MagicItem} from './MagicItem';\nimport {ButtonGroup} from \"../button-group/ButtonGroup\";\nimport {MagicSelect} from \"./MagicSelect\";\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}\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{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 = {\n\tid: PropTypes.string.isRequired,\n\tfieldsList: optionsShapeProp,\n\tsystemTagsList: optionsShapeProp,\n\toptions: optionsShapeProp,\n\tisRequired: PropTypes.bool,\n\thelp: PropTypes.string,\n\tvalue: valuePropType,\n\tonValueChange: onValueChangePropType,\n\tdisabled: PropTypes.bool,\n\tdefaultList: PropTypes.string,\n\tisOpen: PropTypes.bool\n};\n\n/**\n * Default property values for MagicFieldGroup component\n *\n * @type {{}}\n */\nMagicFieldGroup.defaultProps = {\n\tdefaultList: 'fields',\n\tisOpen: false,\n};", + "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};", "static": true, "longname": "/Users/josh/caldera-js/components/src/components/fields/magic-select/MagicFieldGroup.js", "access": "public", @@ -1643,7 +1643,7 @@ "importPath": "@caldera-labs/components/src/components/fields/magic-select/MagicFieldGroup.js", "importStyle": "{MagicFieldGroup}", "description": "Encapsulates a complete Magic Select field group including label and the type chooser and the input", - "lineNumber": 16, + "lineNumber": 15, "interface": false, "extends": [ "react~React.PureComponent" @@ -1660,7 +1660,7 @@ "longname": "src/components/fields/magic-select/MagicFieldGroup.js~MagicFieldGroup#constructor", "access": "public", "description": "Create a MagicFieldGroup component", - "lineNumber": 23, + "lineNumber": 22, "params": [ { "nullable": null, @@ -1683,7 +1683,7 @@ "longname": "src/components/fields/magic-select/MagicFieldGroup.js~MagicFieldGroup#state", "access": "public", "description": null, - "lineNumber": 25, + "lineNumber": 24, "undocument": true, "type": { "types": [ @@ -1702,7 +1702,7 @@ "longname": "src/components/fields/magic-select/MagicFieldGroup.js~MagicFieldGroup#onChange", "access": "public", "description": "Handle direct change events", - "lineNumber": 44, + "lineNumber": 43, "params": [ { "nullable": null, @@ -1729,7 +1729,7 @@ "longname": "src/components/fields/magic-select/MagicFieldGroup.js~MagicFieldGroup#onInputFocus", "access": "public", "description": "Handle when the field gets focus", - "lineNumber": 51, + "lineNumber": 50, "params": [], "return": null }, @@ -1744,7 +1744,7 @@ "longname": "src/components/fields/magic-select/MagicFieldGroup.js~MagicFieldGroup#onInputBlur", "access": "public", "description": "Handle when the field is blurred", - "lineNumber": 58, + "lineNumber": 57, "params": [], "return": null }, @@ -1759,7 +1759,7 @@ "longname": "src/components/fields/magic-select/MagicFieldGroup.js~MagicFieldGroup#onSelect", "access": "public", "description": "Handle when the option is chosen", - "lineNumber": 67, + "lineNumber": 66, "params": [ { "nullable": null, @@ -1914,7 +1914,7 @@ "__docId__": 117, "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\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};\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};", + "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};", "static": true, "longname": "/Users/josh/caldera-js/components/src/components/fields/magic-select/MagicItem.js", "access": "public", @@ -2011,7 +2011,7 @@ "__docId__": 121, "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';\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}\n\n\t/**\n\t * Handle direct change events\n\t *\n\t * Probably not needed\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\n\t/**\n\t * Render MagicSelect component\n\t * @return {*}\n\t */\n\trender() {\n\t\treturn (\n\n\t\t\t item.value}\n\t\t\t\titems={this.props.options}\n\t\t\t\tinputProps={{\n\t\t\t\t\tid: this.props.id,\n\t\t\t\t\tvalue: this.props.value,\n\t\t\t\t\tclassName: `${this.props.id}-magic-input`,\n\t\t\t\t\tonFocus: this.onInputFocus,\n\t\t\t\t\tonBlur:this.onInputBlur,\n\t\t\t\t\tonClick:this.onChange\n\t\t\t\t}}\n\t\t\t\trenderItem={this.renderItem}\n\t\t\t\tvalue={this.props.value}\n\t\t\t\tonChange={this.onChange}\n\t\t\t\topen={this.props.isOpen}\n\t\t\t\tselectOnBlur={true}\n\t\t\t\tonSelect={this.onSelect}\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};\n\n/**\n * Default property values for MagicSelect component\n *\n * @type {{}}\n */\nMagicSelect.defaultProps = {\n\tdefaultList: 'fields',\n\tisOpen: false,\n\toptions:[]\n};", + "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}\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\n\t/**\n\t * Render MagicSelect component\n\t * @return {*}\n\t */\n\trender() {\n\t\treturn (\n\t\t\t item.value}\n\t\t\t\titems={this.props.options}\n\t\t\t\tinputProps={{\n\t\t\t\t\tid: this.props.id,\n\t\t\t\t\tvalue: this.props.value,\n\t\t\t\t\tclassName:classNames(\n\t\t\t\t\t\tMagicFieldGroup.classNames.input,\n\t\t\t\t\t\t`${MagicFieldGroup.classNames.input}-${this.props.id}`,\n\t\t\t\t\t\tthis.props.className\n\t\t\t\t\t),\n\t\t\t\t\tonFocus: this.onInputFocus,\n\t\t\t\t\tonBlur:this.onInputBlur,\n\t\t\t\t\tonClick:this.onChange\n\t\t\t\t}}\n\t\t\t\trenderItem={this.renderItem}\n\t\t\t\tvalue={this.props.value}\n\t\t\t\tonChange={this.onChange}\n\t\t\t\topen={this.props.isOpen}\n\t\t\t\tselectOnBlur={true}\n\t\t\t\tonSelect={this.onSelect}\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};", "static": true, "longname": "/Users/josh/caldera-js/components/src/components/fields/magic-select/MagicSelect.js", "access": "public", @@ -2030,7 +2030,7 @@ "importPath": "@caldera-labs/components/src/components/fields/magic-select/MagicSelect.js", "importStyle": "{MagicSelect}", "description": "Encapsulates a complete Magic Select field", - "lineNumber": 14, + "lineNumber": 17, "interface": false, "extends": [ "react~React.PureComponent" @@ -2047,7 +2047,7 @@ "longname": "src/components/fields/magic-select/MagicSelect.js~MagicSelect#constructor", "access": "public", "description": "Create a MagicSelect component", - "lineNumber": 21, + "lineNumber": 24, "params": [ { "nullable": null, @@ -2071,8 +2071,8 @@ "static": false, "longname": "src/components/fields/magic-select/MagicSelect.js~MagicSelect#onChange", "access": "public", - "description": "Handle direct change events\n\nProbably not needed", - "lineNumber": 37, + "description": "Handle direct change events", + "lineNumber": 39, "params": [ { "nullable": null, @@ -2098,7 +2098,7 @@ "longname": "src/components/fields/magic-select/MagicSelect.js~MagicSelect#onInputFocus", "access": "public", "description": "Handle when the field gets focus", - "lineNumber": 44, + "lineNumber": 46, "params": [], "return": null }, @@ -2113,7 +2113,7 @@ "longname": "src/components/fields/magic-select/MagicSelect.js~MagicSelect#onInputBlur", "access": "public", "description": "Handle when the field is blurred", - "lineNumber": 53, + "lineNumber": 55, "params": [], "return": null }, @@ -2128,7 +2128,7 @@ "longname": "src/components/fields/magic-select/MagicSelect.js~MagicSelect#onSelect", "access": "public", "description": "Handle when the option is chosen", - "lineNumber": 64, + "lineNumber": 66, "params": [ { "nullable": null, @@ -2155,7 +2155,7 @@ "longname": "src/components/fields/magic-select/MagicSelect.js~MagicSelect#renderItem", "access": "public", "description": "Render option", - "lineNumber": 76, + "lineNumber": 78, "params": [ { "nullable": null, @@ -2198,7 +2198,7 @@ "longname": "src/components/fields/magic-select/MagicSelect.js~MagicSelect#render", "access": "public", "description": "Render MagicSelect component", - "lineNumber": 85, + "lineNumber": 87, "return": { "nullable": null, "types": [ @@ -2378,7 +2378,7 @@ "__docId__": 143, "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']),\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);", + "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};", "static": true, "longname": "/Users/josh/caldera-js/components/src/components/fields/propTypes.js", "access": "public", @@ -2561,6 +2561,26 @@ }, { "__docId__": 152, + "kind": "variable", + "name": "magicGroupPropTypes", + "memberof": "src/components/fields/propTypes.js", + "static": true, + "longname": "src/components/fields/propTypes.js~magicGroupPropTypes", + "access": "public", + "export": true, + "importPath": "@caldera-labs/components/src/components/fields/propTypes.js", + "importStyle": "{magicGroupPropTypes}", + "description": null, + "lineNumber": 92, + "undocument": true, + "type": { + "types": [ + "{...fieldGroupPropTypes: Object, \"fieldsList\": *, \"systemTagsList\": *, \"defaultList\": *, \"isOpen\": *, \"type\": *}" + ] + } + }, + { + "__docId__": 153, "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};", @@ -2571,7 +2591,7 @@ "lineNumber": 1 }, { - "__docId__": 153, + "__docId__": 154, "kind": "function", "name": "SelectField", "memberof": "src/components/fields/select/SelectField.js", @@ -2617,7 +2637,7 @@ } }, { - "__docId__": 154, + "__docId__": 155, "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};", @@ -2628,7 +2648,7 @@ "lineNumber": 1 }, { - "__docId__": 155, + "__docId__": 156, "kind": "function", "name": "SelectFieldFancy", "memberof": "src/components/fields/select/SelectFieldFancy.js", @@ -2674,7 +2694,7 @@ } }, { - "__docId__": 156, + "__docId__": 157, "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};", @@ -2685,7 +2705,7 @@ "lineNumber": 1 }, { - "__docId__": 157, + "__docId__": 158, "kind": "function", "name": "ariaDescribedbyAttr", "memberof": "src/components/fields/util.js", @@ -2738,7 +2758,7 @@ } }, { - "__docId__": 158, + "__docId__": 159, "kind": "function", "name": "getHtmlInputTypes", "memberof": "src/components/fields/util.js", @@ -2769,7 +2789,7 @@ "params": [] }, { - "__docId__": 159, + "__docId__": 160, "kind": "function", "name": "isValidHtml5type", "memberof": "src/components/fields/util.js", @@ -2811,7 +2831,7 @@ } }, { - "__docId__": 160, + "__docId__": 161, "kind": "function", "name": "addOrRemoveFromArray", "memberof": "src/components/fields/util.js", @@ -2858,7 +2878,7 @@ } }, { - "__docId__": 161, + "__docId__": 162, "kind": "function", "name": "toBoolean", "memberof": "src/components/fields/util.js", @@ -2894,7 +2914,7 @@ } }, { - "__docId__": 162, + "__docId__": 163, "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';\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};", @@ -2905,7 +2925,7 @@ "lineNumber": 1 }, { - "__docId__": 163, + "__docId__": 164, "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};", @@ -2916,7 +2936,7 @@ "lineNumber": 1 }, { - "__docId__": 164, + "__docId__": 165, "kind": "function", "name": "curryValidator", "memberof": "src/components/validation/addAutomaticValidators.js", @@ -2963,7 +2983,7 @@ "ignore": true }, { - "__docId__": 165, + "__docId__": 166, "kind": "function", "name": "addValidatorsForType", "memberof": "src/components/validation/addAutomaticValidators.js", @@ -3020,7 +3040,7 @@ "ignore": true }, { - "__docId__": 166, + "__docId__": 167, "kind": "function", "name": "addAutomaticValidators", "memberof": "src/components/validation/addAutomaticValidators.js", @@ -3056,7 +3076,7 @@ } }, { - "__docId__": 167, + "__docId__": 168, "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", @@ -3067,7 +3087,7 @@ "lineNumber": 1 }, { - "__docId__": 168, + "__docId__": 169, "kind": "function", "name": "checkValidatorsForConfigField", "memberof": "src/components/validation/checkValidatorsForConfigField.js", @@ -3103,7 +3123,7 @@ } }, { - "__docId__": 169, + "__docId__": 170, "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", @@ -3114,7 +3134,7 @@ "lineNumber": 1 }, { - "__docId__": 170, + "__docId__": 171, "kind": "function", "name": "checkValidatorsForConfigFields", "memberof": "src/components/validation/checkValidatorsForConfigFields.js", @@ -3160,7 +3180,7 @@ } }, { - "__docId__": 171, + "__docId__": 172, "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", @@ -3171,7 +3191,7 @@ "lineNumber": 1 }, { - "__docId__": 172, + "__docId__": 173, "kind": "function", "name": "getValidatorsFromConfigField", "memberof": "src/components/validation/getValidatorsFromConfigField.js", @@ -3207,7 +3227,7 @@ } }, { - "__docId__": 173, + "__docId__": 174, "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};", @@ -3218,7 +3238,7 @@ "lineNumber": 1 }, { - "__docId__": 174, + "__docId__": 175, "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};", @@ -3229,7 +3249,7 @@ "lineNumber": 1 }, { - "__docId__": 175, + "__docId__": 176, "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};", @@ -3240,7 +3260,7 @@ "lineNumber": 1 }, { - "__docId__": 176, + "__docId__": 177, "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};", @@ -3251,7 +3271,7 @@ "lineNumber": 1 }, { - "__docId__": 177, + "__docId__": 178, "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};", @@ -3262,7 +3282,7 @@ "lineNumber": 1 }, { - "__docId__": 178, + "__docId__": 179, "kind": "function", "name": "getMessageStrings", "memberof": "src/components/validation/messageStrings.js", @@ -3309,7 +3329,7 @@ } }, { - "__docId__": 179, + "__docId__": 180, "kind": "function", "name": "getMessageStringByType", "memberof": "src/components/validation/messageStrings.js", @@ -3366,7 +3386,7 @@ } }, { - "__docId__": 180, + "__docId__": 181, "kind": "function", "name": "getRequiredMessage", "memberof": "src/components/validation/messageStrings.js", @@ -3413,7 +3433,7 @@ } }, { - "__docId__": 181, + "__docId__": 182, "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};", @@ -3424,7 +3444,7 @@ "lineNumber": 1 }, { - "__docId__": 182, + "__docId__": 183, "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", @@ -3435,7 +3455,7 @@ "lineNumber": 1 }, { - "__docId__": 183, + "__docId__": 184, "kind": "function", "name": "findFieldValueInFieldValues", "memberof": "src/components/validation/util.js", @@ -3485,7 +3505,7 @@ } }, { - "__docId__": 184, + "__docId__": 185, "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", @@ -3496,7 +3516,7 @@ "lineNumber": 1 }, { - "__docId__": 185, + "__docId__": 186, "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", @@ -3507,7 +3527,7 @@ "lineNumber": 1 }, { - "__docId__": 186, + "__docId__": 187, "kind": "variable", "name": "isLocalhost", "memberof": "src/registerServiceWorker.js", @@ -3528,7 +3548,7 @@ "ignore": true }, { - "__docId__": 187, + "__docId__": 188, "kind": "function", "name": "register", "memberof": "src/registerServiceWorker.js", @@ -3547,7 +3567,7 @@ "return": null }, { - "__docId__": 188, + "__docId__": 189, "kind": "function", "name": "registerValidSW", "memberof": "src/registerServiceWorker.js", @@ -3574,7 +3594,7 @@ "ignore": true }, { - "__docId__": 189, + "__docId__": 190, "kind": "function", "name": "checkValidServiceWorker", "memberof": "src/registerServiceWorker.js", @@ -3601,7 +3621,7 @@ "ignore": true }, { - "__docId__": 190, + "__docId__": 191, "kind": "function", "name": "unregister", "memberof": "src/registerServiceWorker.js", @@ -3656,7 +3676,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### 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### 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### 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### 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 have the shape defiend in the \n\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```\n## Select Fields\n* [Reference](https://calderalabs.org/caldera-components/function/index.html#static-function-SelectField)\n\n```jsx \nimport {SelectFieldFancy} from '@caldera-labs/components/src/components/fields/select/SelectFieldFancyFancy.js'\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```js\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
    ` element containing checkboxes, pass the value `fieldset` to the `type\n\n\n```js\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

    Example Of Re className={'cf-something-config'} />

    +

    A Magic Aut-Complete Field Selector In A RednerGroup

    const magicField = {
    +    'id': 'cf-magic-example',
    +    'type': 'magic',
    +    'label': 'Magic ID',
    +    'description': 'Select a value from list of magic tags or type a value',
    +    fieldsList: [
    +        {
    +            label: '0',
    +            value: 0
    +        },
    +        {
    +            label: '1',
    +            value: 1
    +        },
    +        {
    +            label: '3',
    +            value: 3
    +        }
    +    ],
    +    systemTagsList: [
    +        {
    +            label: '3',
    +            value: 3
    +        }
    +    ],
    +    isOpen: true,
    +    onValueChange: () => {
    +    }
    +};
    +
    +<RenderGroup configFields={[magicField]}/>
    +
    +

    Add onFocus Event For All Fields Of Render Group

    You 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.

    <RenderGroup
         configFields={[
    @@ -283,8 +318,7 @@ 

    Number Field Group

    <
     
     Select field groups happen when you pass "select" to the `type` prop. 
     
    -Select fields take an array of options in the prop option. Options have the shape defiend in the 
    -
    +Select 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)
     
     
     
    @@ -308,6 +342,42 @@

    Number Field Group

    <
             }
         ]}
     />

    +

    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.

    +
    let magicFieldValue ='';
    +
    +<MagicFieldGroup
    +        id={'magic-5'}
    +        fieldClassName={'magic'}
    +        label={'Magic Group'}
    +        onValueChange={(newValue) => {
    +            magicFieldValue = newValue;
    +        } }
    +        fieldsList={[
    +            {
    +                label: 'Field One',
    +                value: '%fldOne%'
    +            },
    +            {
    +                label: 'Field Two',
    +                value: '%fldTwo%'
    +            },
    +            {
    +                label: 'Field Three',
    +                value: '%fldThree%'
    +            },
    +        ]}
    +        systemTagsList={[
    +            {
    +                label: 'User First Name',
    +                value: '{user:first_name}'
    +            }
    +        ]}
    +        isOpen={true}
    +        value={magicFieldValue}
    +    />
    +
    ## Select Fields
     * [Reference](https://calderalabs.org/caldera-components/function/index.html#static-function-SelectField)
     
    @@ -358,7 +428,10 @@ 

    Number Field Group

    <
         ]}
     />
     
    -

    Button Group

    Examples

    Button Group With Two Options

    <ButtonGroup
    +

    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

    +

    Examples

    Button Group With Two Options

    <ButtonGroup
         onChange={(selectedValue) => {
             console.log(selectedValue);
         }}
    diff --git a/docs/manual/conditional-logic.html b/docs/manual/conditional-logic.html
    index d00f93d..6a7b365 100644
    --- a/docs/manual/conditional-logic.html
    +++ b/docs/manual/conditional-logic.html
    @@ -55,6 +55,7 @@
         
  • Included Component
  • RenderGroup
  • Example Of RenderGroup Component Usage
  • +
  • A Magic Aut-Complete Field Selector In A RednerGroup
  • Add onFocus Event For All Fields Of Render Group
  • Add onBlur Event For All Fields Of Render Group
  • Field Groups
  • @@ -63,6 +64,7 @@
  • Text field that is not required
  • Text field with help text
  • Number Field Group
  • +
  • Magic Select Groups
  • Fieldsets
  • Button Group
  • Examples
  • diff --git a/docs/manual/factories.html b/docs/manual/factories.html index e8289b6..e3839aa 100644 --- a/docs/manual/factories.html +++ b/docs/manual/factories.html @@ -55,6 +55,7 @@
  • Included Component
  • RenderGroup
  • Example Of RenderGroup Component Usage
  • +
  • A Magic Aut-Complete Field Selector In A RednerGroup
  • Add onFocus Event For All Fields Of Render Group
  • Add onBlur Event For All Fields Of Render Group
  • Field Groups
  • @@ -63,6 +64,7 @@
  • Text field that is not required
  • Text field with help text
  • Number Field Group
  • +
  • Magic Select Groups
  • Fieldsets
  • Button Group
  • Examples
  • diff --git a/docs/manual/index.html b/docs/manual/index.html index ed1fb78..7ad413a 100644 --- a/docs/manual/index.html +++ b/docs/manual/index.html @@ -55,6 +55,7 @@
  • Included Component
  • RenderGroup
  • Example Of RenderGroup Component Usage
  • +
  • A Magic Aut-Complete Field Selector In A RednerGroup
  • Add onFocus Event For All Fields Of Render Group
  • Add onBlur Event For All Fields Of Render Group
  • Field Groups
  • @@ -63,6 +64,7 @@
  • Text field that is not required
  • Text field with help text
  • Number Field Group
  • +
  • Magic Select Groups
  • Fieldsets
  • Button Group
  • Examples
  • @@ -388,6 +390,38 @@

    Structure of class attributes

    The configFields={configFields} className={'cf-something-config'} /> +

    A Magic Aut-Complete Field Selector In A RednerGroup

    const magicField = {
    +    'id': 'cf-magic-example',
    +    'type': 'magic',
    +    'label': 'Magic ID',
    +    'description': 'Select a value from list of magic tags or type a value',
    +    fieldsList: [
    +        {
    +            label: '0',
    +            value: 0
    +        },
    +        {
    +            label: '1',
    +            value: 1
    +        },
    +        {
    +            label: '3',
    +            value: 3
    +        }
    +    ],
    +    systemTagsList: [
    +        {
    +            label: '3',
    +            value: 3
    +        }
    +    ],
    +    isOpen: true,
    +    onValueChange: () => {
    +    }
    +};
    +
    +<RenderGroup configFields={[magicField]}/>
    +
     

    Add onFocus Event For All Fields Of Render Group

    You 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.

    <RenderGroup
         configFields={[
             //add your fields
    @@ -456,8 +490,7 @@ 

    Structure of class attributes

    The Select field groups happen when you pass "select" to the `type` prop. -Select fields take an array of options in the prop option. Options have the shape defiend in the - +Select 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)

    let selectFieldValue = '';

    <FieldGroup @@ -478,7 +511,39 @@

    Structure of class attributes

    The label: 'Two' } ]} -/>

    ## Select Fields
    +/>

    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.

    let magicFieldValue ='';
    +
    +<MagicFieldGroup
    +        id={'magic-5'}
    +        fieldClassName={'magic'}
    +        label={'Magic Group'}
    +        onValueChange={(newValue) => {
    +            magicFieldValue = newValue;
    +        } }
    +        fieldsList={[
    +            {
    +                label: 'Field One',
    +                value: '%fldOne%'
    +            },
    +            {
    +                label: 'Field Two',
    +                value: '%fldTwo%'
    +            },
    +            {
    +                label: 'Field Three',
    +                value: '%fldThree%'
    +            },
    +        ]}
    +        systemTagsList={[
    +            {
    +                label: 'User First Name',
    +                value: '{user:first_name}'
    +            }
    +        ]}
    +        isOpen={true}
    +        value={magicFieldValue}
    +    />
    +
    ## Select Fields
     * [Reference](https://calderalabs.org/caldera-components/function/index.html#static-function-SelectField)
     
     ```jsx 
    @@ -526,7 +591,7 @@ 

    Structure of class attributes

    The } ]} /> -

    Button Group

    Examples

    Button Group With Two Options

    <ButtonGroup
    +

    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

    Examples

    Button Group With Two Options

    <ButtonGroup
         onChange={(selectedValue) => {
             console.log(selectedValue);
         }}
    diff --git a/docs/manual/testing.html b/docs/manual/testing.html
    index d973356..5381f33 100644
    --- a/docs/manual/testing.html
    +++ b/docs/manual/testing.html
    @@ -55,6 +55,7 @@
         
  • Included Component
  • RenderGroup
  • Example Of RenderGroup Component Usage
  • +
  • A Magic Aut-Complete Field Selector In A RednerGroup
  • Add onFocus Event For All Fields Of Render Group
  • Add onBlur Event For All Fields Of Render Group
  • Field Groups
  • @@ -63,6 +64,7 @@
  • Text field that is not required
  • Text field with help text
  • Number Field Group
  • +
  • Magic Select Groups
  • Fieldsets
  • Button Group
  • Examples
  • diff --git a/docs/manual/validation.html b/docs/manual/validation.html index d8b43d1..a2f6d01 100644 --- a/docs/manual/validation.html +++ b/docs/manual/validation.html @@ -55,6 +55,7 @@
  • Included Component
  • RenderGroup
  • Example Of RenderGroup Component Usage
  • +
  • A Magic Aut-Complete Field Selector In A RednerGroup
  • Add onFocus Event For All Fields Of Render Group
  • Add onBlur Event For All Fields Of Render Group
  • Field Groups
  • @@ -63,6 +64,7 @@
  • Text field that is not required
  • Text field with help text
  • Number Field Group
  • +
  • Magic Select Groups
  • Fieldsets
  • Button Group
  • Examples
  • diff --git a/docs/script/search_index.js b/docs/script/search_index.js index 1a37eef..2fa62a2 100644 --- a/docs/script/search_index.js +++ b/docs/script/search_index.js @@ -203,6 +203,12 @@ window.esdocSearchIndex = [ "isValidHtml5type @caldera-labs/components/src/components/fields/util.js", "function" ], + [ + "@caldera-labs/components/src/components/fields/proptypes.js~magicgroupproptypes", + "variable/index.html#static-variable-magicGroupPropTypes", + "magicGroupPropTypes @caldera-labs/components/src/components/fields/propTypes.js", + "variable" + ], [ "@caldera-labs/components/src/components/fields/messages/messageobjectfactory.js~messageobjectfactory", "function/index.html#static-function-messageObjectFactory", diff --git a/docs/source.html b/docs/source.html index 1f213ee..4d593b4 100644 --- a/docs/source.html +++ b/docs/source.html @@ -47,6 +47,7 @@
  • VfieldInnerPropTypes
  • VfieldPropTypes
  • VinputTypeProp
  • +
  • VmagicGroupPropTypes
  • VonValueChangePropType
  • VoptionShape
  • VoptionsShapeProp
  • @@ -78,7 +79,7 @@ -

    Source 64/87

    +

    Source 64/88

    @@ -97,17 +98,17 @@ - - - + + + - + - + @@ -145,9 +146,9 @@ - - - + + + @@ -161,9 +162,9 @@ - + - + @@ -193,9 +194,9 @@ - - - + + + @@ -222,28 +223,28 @@ - + - - - + + + - - - + + + - - - + + + @@ -271,19 +272,20 @@ - + - - - - + + + + diff --git a/docs/variable/index.html b/docs/variable/index.html index 1b58c5c..10e12d0 100644 --- a/docs/variable/index.html +++ b/docs/variable/index.html @@ -47,6 +47,7 @@
  • VfieldInnerPropTypes
  • VfieldPropTypes
  • VinputTypeProp
  • +
  • VmagicGroupPropTypes
  • VonValueChangePropType
  • VoptionShape
  • VoptionsShapeProp
  • @@ -233,6 +234,34 @@ + + + + + + +
    src/App.js App 0 %0/156092 byte3142018-07-07 15:22:28 (UTC)6120 byte3152018-07-07 16:34:14 (UTC)
    src/components/RenderGroup.js RenderGroup 100 %4/42466 byte2464 byte 1112018-07-03 00:33:05 (UTC)2018-07-07 17:14:45 (UTC)
    src/components/conditional-logic/checkConfigFieldConditionals.jssrc/components/fields/FieldGroup.js FieldGroup 100 %1/13940 byte1722018-07-02 23:41:58 (UTC)4649 byte1992018-07-07 17:38:16 (UTC)
    src/components/fields/FieldInner.jssrc/components/fields/button-group/ButtonGroup.js ButtonGroup 100 %1/11468 byte1470 byte 772018-07-07 14:22:40 (UTC)2018-07-07 16:53:16 (UTC)
    src/components/fields/factories/fieldFactory.jssrc/components/fields/factories/prepareFieldConfig.js prepareFieldConfig 100 %1/11772 byte632018-07-01 00:21:18 (UTC)1864 byte642018-07-07 17:21:56 (UTC)
    src/components/fields/field-group-change-handlers/fieldsetCheckboxHandler.js2018-07-02 23:40:21 (UTC)
    src/components/fields/magic-select/MagicFieldGroup.jssrc/components/fields/magic-select/MagicFieldGroup.js MagicFieldGroup 91 %11/124272 byte2072018-07-07 15:29:04 (UTC)4787 byte2272018-07-07 17:43:02 (UTC)
    src/components/fields/magic-select/MagicItem.js MagicItem 100 %3/32121 byte852018-07-06 21:16:41 (UTC)2177 byte862018-07-07 16:53:16 (UTC)
    src/components/fields/magic-select/MagicSelect.js MagicSelect 100 %8/82707 byte1362018-07-07 15:30:39 (UTC)2942 byte1422018-07-07 16:53:16 (UTC)
    src/components/fields/messages/Message.js2018-06-06 21:39:38 (UTC)
    src/components/fields/propTypes.jssrc/components/fields/propTypes.js fieldGroupPropTypes fieldInnerPropTypes fieldPropTypes inputTypeProp +magicGroupPropTypes onValueChangePropType optionShape optionsShapeProp valuePropType87 %7/82238 byte892018-07-05 21:59:46 (UTC)77 %7/92460 byte982018-07-07 17:23:30 (UTC)
    src/components/fields/select/SelectField.js +
    +

    + + + + magicGroupPropTypes: {...fieldGroupPropTypes: Object, "fieldsList": *, "systemTagsList": *, "defaultList": *, "isOpen": *, "type": *} +

    +
    +
    + + + +
    +
    + + +
    + public + + + @@ -595,6 +624,49 @@

    + +
    +

    + public + + + + + + magicGroupPropTypes: {...fieldGroupPropTypes: Object, "fieldsList": *, "systemTagsList": *, "defaultList": *, "isOpen": *, "type": *} + + + + source + +

    + + + + + + + + +
    +
    + + + + + + + + + + + + + + + + +

    diff --git a/src/components/fields/__snapshots__/FieldGroup.test.js.snap b/src/components/fields/__snapshots__/FieldGroup.test.js.snap index c8a36d6..34e9082 100644 --- a/src/components/fields/__snapshots__/FieldGroup.test.js.snap +++ b/src/components/fields/__snapshots__/FieldGroup.test.js.snap @@ -139,6 +139,7 @@ exports[`Field Group component Uses the Magic group, if type is magic 1`] = ` > magic +
    Date: Sat, 7 Jul 2018 14:15:03 -0400 Subject: [PATCH 24/25] #1 increase coverage for magic tag selectors --- .idea/workspace.xml | 211 +++++------------- .../magic-select/MagicFieldGroup.test.js | 159 ++++++++++++- .../MagicFieldGroup.test.js.snap | 23 ++ 3 files changed, 229 insertions(+), 164 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 699eb57..ccb391e 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,78 +2,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - onBlur - Does not disable by default - it.skip( Uses props.value to set value fieldsL open @@ -215,7 +114,10 @@ Magic toMatc magic + state event + RenderItem + toMat caldera-components @@ -233,8 +135,8 @@ $PROJECT_DIR$/src $PROJECT_DIR$/src/components $PROJECT_DIR$/src/components/fields - $PROJECT_DIR$/src/components/fields/magic-select $PROJECT_DIR$ + $PROJECT_DIR$/src/components/fields/magic-select @@ -449,15 +351,16 @@ - + - + @@ -813,16 +716,6 @@ - - - - - - - - - - @@ -868,13 +761,6 @@ - - - - - - - @@ -902,13 +788,10 @@ - + - - - - - + + @@ -925,29 +808,22 @@ - + - - + + - + - - - - - - - - + - - + + - + @@ -955,12 +831,39 @@ - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/components/fields/magic-select/MagicFieldGroup.test.js b/src/components/fields/magic-select/MagicFieldGroup.test.js index dc541ee..a0797ed 100644 --- a/src/components/fields/magic-select/MagicFieldGroup.test.js +++ b/src/components/fields/magic-select/MagicFieldGroup.test.js @@ -12,7 +12,7 @@ const genericChangeHandler = () => { describe('MagicFieldGroup component', () => { - it( 'matches snapshot with no message', () => { + it('matches snapshot with no message', () => { const component = renderer.create( { isOpen={false} /> ); - expect(component.toJSON() ).toMatchSnapshot(); + expect(component.toJSON()).toMatchSnapshot(); }); - it( 'matches snapshot with message', () => { + it('matches snapshot with message', () => { const component = renderer.create( { }} /> ); - expect(component.toJSON() ).toMatchSnapshot(); + expect(component.toJSON()).toMatchSnapshot(); }); - describe( 'Inner input', () => { + describe('Inner input', () => { it('Has inner input', () => { const component = mount( { /> ); component.find('input').simulate('focus'); - component.find('input').simulate('change', { target: { value: '3' } }); - expect( value ).toEqual('3'); + component.find('input').simulate('change', {target: {value: '3'}}); + expect(value).toEqual('3'); }); }); @@ -319,8 +319,8 @@ describe('MagicFieldGroup component', () => { }); }); - describe( 'Button group for type choice', () => { - it( 'Outputs the buttons if open', () => { + describe('Button group for type choice', () => { + it('Outputs the buttons if open', () => { const component = mount( { ); expect(component.find('button')).toHaveLength(2); }); - it( 'Does not output the buttons if not open', () => { + it('Does not output the buttons if not open', () => { const component = mount( { expect(component.find('button')).toHaveLength(0); }); }); + + it('onChange passes value', () => { + let value = 2; + const component = mount( + { + value = newValue; + }} + fieldsList={[ + { + label: '0', + value: 0 + }, + { + label: '1', + value: 1 + }, + { + label: '3', + value: 3 + } + ]} + systemTagsList={[ + { + label: '3', + value: 3 + } + ]} + value={value} + isOpen={true} + /> + ); + component.instance().onChange(3); + expect(value).toBe(3); + }); + + describe('updates state on focus', () => { + it('Updates state when calling handler directly', () => { + const component = mount( + { + }} + defaultList={'fields'} + options={[]} + + isOpen={false} + /> + ); + component.instance().onInputFocus(); + expect(component.state().isOpen).toBe(true); + }); + + it('Updates state when simulating focus', () => { + const component = mount( + { + }} + defaultList={'fields'} + options={[]} + + isOpen={false} + /> + ); + component.find('input').simulate('focus'); + expect(component.state().isOpen).toBe(true); + }); + }); + + describe('updates state on blur', () => { + + it('Updates state when calling handler directly', () => { + const component = mount( + { + }} + defaultList={'fields'} + options={[]} + + isOpen={true} + /> + ); + component.instance().onInputBlur(); + expect(component.state().isOpen).toBe(false); + }); + + it('Updates state when simulating blur', () => { + const component = mount( + { + }} + defaultList={'fields'} + options={[]} + + isOpen={true} + /> + ); + component.find('input').simulate('blur'); + expect(component.state().isOpen).toBe(false); + }); + + }); + + it('Renders the inner items', () => { + const component = mount( + { + }} + defaultList={'fields'} + options={[]} + isOpen={true} + /> + ); + const innerComponent = renderer.create( + component.instance().renderItem({ + label: '1', + value: '1', + innerKey: '1' + }, true + )); + expect(innerComponent.toJSON()).toMatchSnapshot(); + }); }); \ No newline at end of file diff --git a/src/components/fields/magic-select/__snapshots__/MagicFieldGroup.test.js.snap b/src/components/fields/magic-select/__snapshots__/MagicFieldGroup.test.js.snap index 35f8ce0..d58cea5 100644 --- a/src/components/fields/magic-select/__snapshots__/MagicFieldGroup.test.js.snap +++ b/src/components/fields/magic-select/__snapshots__/MagicFieldGroup.test.js.snap @@ -1,5 +1,28 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP +exports[`MagicFieldGroup component Renders the inner items 1`] = ` +
    + + 1 + + + 1 + +
    +`; + exports[`MagicFieldGroup component matches snapshot with message 1`] = `
    Date: Sat, 7 Jul 2018 14:30:11 -0400 Subject: [PATCH 25/25] #1 additonal tests for magic groups --- .idea/workspace.xml | 111 ++++++++++-------- .../magic-select/MagicFieldGroup.test.js | 46 +++++++- .../fields/magic-select/MagicSelect.js | 12 +- .../fields/magic-select/MagicSelect.test.js | 28 +++++ 4 files changed, 145 insertions(+), 52 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index ccb391e..0a8a1e4 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,7 +2,10 @@ + + + - @@ -367,9 +382,9 @@ - + - + @@ -761,16 +776,6 @@ - - - - - - - - - - @@ -818,16 +823,6 @@ - - - - - - - - - - @@ -838,27 +833,47 @@ + + + + + + + + + + - - + + - + - - + + + + + + + + + + + + - + - - + + diff --git a/src/components/fields/magic-select/MagicFieldGroup.test.js b/src/components/fields/magic-select/MagicFieldGroup.test.js index a0797ed..3d7fad7 100644 --- a/src/components/fields/magic-select/MagicFieldGroup.test.js +++ b/src/components/fields/magic-select/MagicFieldGroup.test.js @@ -482,7 +482,29 @@ describe('MagicFieldGroup component', () => { expect(component.state().isOpen).toBe(false); }); - it('Updates state when simulating blur', () => { + + + }); + + describe( 'Changing list type', () => { + it('Opens whenever changing type', () => { + const component = mount( + { + }} + defaultList={'fields'} + options={[]} + + isOpen={false} + /> + ); + component.instance().onChangeListType('system'); + expect(component.state().isOpen).toBe(true); + }); + it('Stays opens changing type', () => { const component = mount( { isOpen={true} /> ); - component.find('input').simulate('blur'); - expect(component.state().isOpen).toBe(false); + component.instance().onChangeListType('system'); + expect(component.state().isOpen).toBe(true); }); + it('Changes the type', () => { + const component = mount( + { + }} + defaultList={'fields'} + options={[]} + + isOpen={true} + /> + ); + component.instance().onChangeListType('system'); + expect(component.state().currentListType).toBe('system'); + }); }); + it('Renders the inner items', () => { const component = mount( ; } + /** + * Get the value of the item + * @param {Object} item + * @return {*} + */ + getItemValue(item){ + return item.value; + } + /** * Render MagicSelect component @@ -87,7 +97,7 @@ export class MagicSelect extends React.PureComponent { render() { return ( item.value} + getItemValue={this.getItemValue} items={this.props.options} inputProps={{ id: this.props.id, diff --git a/src/components/fields/magic-select/MagicSelect.test.js b/src/components/fields/magic-select/MagicSelect.test.js index 9d6e766..61a7672 100644 --- a/src/components/fields/magic-select/MagicSelect.test.js +++ b/src/components/fields/magic-select/MagicSelect.test.js @@ -356,6 +356,34 @@ describe('MagicSelect component', () => { component.find('input').simulate('change', { target: { value: 12 } }); expect(updatedValue).toEqual(12); }); + + it('Gets the item value ', () => { + let updatedValue = 1; + const component = mount( + { + updatedValue = newValue; + }} + options={[ + { + label: '1', + value: 1, + innerKey: '1' + }, + { + label: '12', + value: 12, + innerKey: '12' + } + ]} + value={updatedValue} + isOpen={true} + /> + ); + expect(component.instance().getItemValue({value: 12})).toEqual(12); + }); });