{"version":3,"file":"textTypes.js","names":[],"sources":["esm/platform/textTypes.js"],"sourcesContent":["const keyboardTypes = [\n  \"default\",\n  \"asciiCapable\",\n  \"numbersAndPunctuation\",\n  \"url\",\n  \"numberPad\",\n  \"phonePad\",\n  \"namePhonePad\",\n  \"emailAddress\",\n  \"decimalPad\",\n  \"twitter\",\n  \"webSearch\",\n  \"asciiCapableNumberPad\"\n];\nconst textContentTypes = [\n  \"none\",\n  \"URL\",\n  \"addressCity\",\n  \"addressCityAndState\",\n  \"addressState\",\n  \"countryName\",\n  \"creditCardNumber\",\n  \"creditCardExpiration\",\n  \"creditCardExpirationMonth\",\n  \"creditCardExpirationYear\",\n  \"creditCardSecurityCode\",\n  \"creditCardType\",\n  \"creditCardName\",\n  \"creditCardGivenName\",\n  \"creditCardMiddleName\",\n  \"creditCardFamilyName\",\n  \"emailAddress\",\n  \"familyName\",\n  \"fullStreetAddress\",\n  \"givenName\",\n  \"jobTitle\",\n  \"location\",\n  \"middleName\",\n  \"name\",\n  \"namePrefix\",\n  \"nameSuffix\",\n  \"nickname\",\n  \"organizationName\",\n  \"postalCode\",\n  \"streetAddressLine1\",\n  \"streetAddressLine2\",\n  \"sublocality\",\n  \"telephoneNumber\",\n  \"username\",\n  \"password\",\n  \"newPassword\",\n  \"oneTimeCode\",\n  \"birthdate\",\n  \"birthdateDay\",\n  \"birthdateMonth\",\n  \"birthdateYear\",\n  \"cellularEID\",\n  \"cellularIMEI\",\n  \"dateTime\",\n  \"flightNumber\",\n  \"shipmentTrackingNumber\"\n];\nfunction assertTextInputOptions(owner, keyboardType, textContentType) {\n  if (keyboardType && !keyboardTypes.includes(keyboardType))\n    throw new Error(`${owner} keyboardType must be a supported UIKit keyboard type`);\n  if (textContentType && !textContentTypes.includes(textContentType))\n    throw new Error(`${owner} textContentType must be a supported UIKit text content type`);\n}\nexport {\n  assertTextInputOptions,\n  keyboardTypes,\n  textContentTypes\n};\n//# sourceMappingURL=textTypes.js.map\n"],"mappings":";AAAA,MAAM,gBAAgB;CACpB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF;AACA,MAAM,mBAAmB;CACvB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF;AACA,SAAS,uBAAuB,OAAO,cAAc,iBAAiB;CACpE,IAAI,gBAAgB,CAAC,cAAc,SAAS,YAAY,GACtD,MAAM,IAAI,MAAM,GAAG,MAAM,sDAAsD;CACjF,IAAI,mBAAmB,CAAC,iBAAiB,SAAS,eAAe,GAC/D,MAAM,IAAI,MAAM,GAAG,MAAM,6DAA6D;AAC1F"}