Repository URL to install this package:
|
Version:
2.1.12 ▾
|
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
const words_1 = require("@skava/ui/dist/words");
exports.inputList = [{
identity: 'name',
type: 'text',
value: '',
className: 'form-inputs',
name: 'name',
labelText: words_1.wording.nameLabel,
maxLength: '50',
wrapperClassName: 'form-item-wrapper',
validationType: 'name',
errorMessageFor: 'name',
dataQa: 'qa-name',
autocomplete: 'given-name',
ariaLabel: words_1.wording.nameLabel,
animatePlaceholder: false
}, {
identity: 'address',
type: 'text',
value: '',
className: 'form-inputs',
name: 'addressLine1',
labelText: words_1.wording.addressLabel,
maxLength: '50',
wrapperClassName: 'form-item-wrapper',
validationType: 'address',
errorMessageFor: 'address',
dataQa: 'qa-address-one',
autocomplete: 'given-address',
ariaLabel: words_1.wording.addressLabel,
animatePlaceholder: false
}, {
identity: 'address',
type: 'text',
value: '',
className: 'form-inputs',
name: 'addressLine2',
labelText: words_1.wording.addressLabel,
maxLength: '50',
wrapperClassName: 'form-item-wrapper',
validationType: 'address',
errorMessageFor: 'address',
dataQa: 'qa-address-two',
autocomplete: 'given-address',
ariaLabel: words_1.wording.addressLabel,
animatePlaceholder: false
}, {
identity: 'city',
type: 'text',
value: '',
className: 'form-inputs',
name: 'city',
labelText: words_1.wording.cityLabel,
maxLength: '50',
wrapperClassName: 'form-item-wrapper',
validationType: 'city',
errorMessageFor: 'city',
dataQa: 'qa-city',
autocomplete: 'given-city',
ariaLabel: words_1.wording.cityLabel,
animatePlaceholder: false
}, {
identity: 'state',
type: 'text',
value: '',
className: 'form-inputs',
name: 'state',
labelText: words_1.wording.stateLabel,
maxLength: '50',
wrapperClassName: 'form-item-wrapper left-align',
validationType: 'state',
errorMessageFor: 'state',
dataQa: 'qa-state',
autocomplete: 'given-city',
ariaLabel: words_1.wording.stateLabel,
animatePlaceholder: false
}, {
identity: 'postalCode',
type: 'text',
value: '',
className: 'form-inputs',
name: 'postalCode',
labelText: words_1.wording.zipLabel,
maxLength: '6',
wrapperClassName: 'form-item-wrapper right-align',
validationType: 'zipCode',
errorMessageFor: 'zipCode',
dataQa: 'qa-postal-code',
autocomplete: 'given-zip-code',
ariaLabel: words_1.wording.zipCode,
animatePlaceholder: false
}, {
identity: 'country',
type: 'text',
value: '',
className: 'form-inputs',
name: 'country',
labelText: words_1.wording.countryLabel,
maxLength: '50',
wrapperClassName: 'form-item-wrapper ',
validationType: 'country',
errorMessageFor: 'country',
dataQa: 'qa-country',
autocomplete: 'given-country-code',
ariaLabel: words_1.wording.countryLabel,
animatePlaceholder: false
}, {
identity: 'addAddressToProfile',
type: 'checkbox',
label: words_1.wording.addAddressToProfile,
className: 'form-item-wrapper add-address',
name: 'addAddressToProfile',
isSelected: true,
bgColor: '#00a0db',
dataQa: 'qa-add-shipping-address',
ariaLabel: words_1.wording.addAddressToProfile
}];