export default { type: 'form', components: [ { title: 'SUBSIDIARY/AFFILIATE/OTHER ENTITIES INFORMATION', collapsible: false, key: 'subsidiaryAffiliateOtherEntitiesInformation', type: 'panel', label: 'SUBSIDIARY/AFFILIATE/OTHER ENTITIES INFORMATION', input: false, tableView: false, components: [ { legend: 'Important Information', key: 'fieldset', type: 'fieldset', label: '', input: false, tableView: false, components: [], }, { label: 'Subsidiary Edit Grid', openWhenEmpty: true, hideLabel: true, tableView: false, templates: { header: '
\n {% util.eachComponent(components, function(component) { %}\n {% if (!component.hasOwnProperty(\'tableView\') || component.tableView) { %}\n
{{ component.label }}
\n {% } %}\n {% }) %}\n
', row: '
\n {% util.eachComponent(components, function(component) { %}\n {% if (!component.hasOwnProperty(\'tableView\') || component.tableView) { %}\n
\n {{ getView(component, row[component.key]) }}\n
\n {% } %}\n {% }) %}\n {% if (!instance.disabled) { %}\n
\n
\n \n {% if (!instance.hasRemoveButtons || instance.hasRemoveButtons()) { %}\n \n {% } %}\n
\n
\n {% } %}\n
', }, addAnother: 'Add Another', validate: { maxLength: 10, }, rowDrafts: false, key: 'subsidiaryEditGrid', type: 'editgrid', input: true, components: [ { label: 'Subsidiary Entity Container', tableView: false, key: 'subsidiaryEntityContainer', type: 'container', input: true, components: [ { label: 'Columns', columns: [ { components: [ { label: 'Full Name of Entity as legally registered with the Government', tableView: true, validate: { required: true, maxLength: 200, }, key: 'entityFullName', type: 'textfield', input: true, hideOnChildrenHidden: false, }, ], width: 6, offset: 0, push: 0, pull: 0, size: 'md', currentWidth: 6, }, { components: [ { label: 'Division #', tableView: false, validate: { pattern: '(^\\d{3}$)', customMessage: 'Division Number must be 3 digits long (can use leading zeros).', }, key: 'divisionNum', type: 'textfield', input: true, hideOnChildrenHidden: false, }, ], width: 2, offset: 0, push: 0, pull: 0, size: 'md', currentWidth: 2, }, { components: [], size: 'md', width: 4, offset: 0, push: 0, pull: 0, currentWidth: 4, }, ], key: 'columns', type: 'columns', input: false, tableView: false, clearOnHide: true, }, { label: 'Columns', columns: [ { components: [ { label: 'Select one of the following:', optionsLabelPosition: 'right', inline: false, tableView: false, values: [ { label: 'Subsidiary', value: 'subsidiary', shortcut: '', }, { label: 'Affiliate', value: 'affiliate', shortcut: '', }, { label: 'Other Entity', value: 'otherEntity', shortcut: '', }, ], key: 'entityType', type: 'radio', input: true, hideOnChildrenHidden: false, }, ], width: 4, offset: 0, push: 0, pull: 0, size: 'md', currentWidth: 4, }, { components: [], width: 8, offset: 0, push: 0, pull: 0, size: 'md', currentWidth: 8, }, ], key: 'columns4', type: 'columns', input: false, tableView: false, clearOnHide: true, }, { label: "If 'Other Entity', please explain", tableView: false, validate: { maxLength: 200, }, key: 'ifOtherEntityPleaseExplain', customConditional: "show = row.entityType === 'otherEntity';", type: 'textfield', input: true, hideOnChildrenHidden: false, }, ], }, ], }, ], clearOnHide: true, }, { label: 'Submit', showValidations: false, tableView: false, key: 'submit', type: 'button', input: true, }, ], revisions: '', _vid: 0, title: 'FIO-3326', display: 'form', };