mirror of
https://github.com/bitwarden/browser
synced 2025-12-20 10:13:31 +00:00
Move ExpiryMonth fieldnames to CC constants
This commit is contained in:
@@ -50,6 +50,48 @@ export class CreditCardAutoFillConstants {
|
||||
"label-right",
|
||||
];
|
||||
|
||||
static readonly ExpiryMonthFieldNames: string[] = [
|
||||
"exp-month",
|
||||
"cc-exp-month",
|
||||
"cc-month",
|
||||
"card-month",
|
||||
"cc-mo",
|
||||
"card-mo",
|
||||
"exp-mo",
|
||||
"card-exp-mo",
|
||||
"cc-exp-mo",
|
||||
"card-expiration-month",
|
||||
"expiration-month",
|
||||
"cc-mm",
|
||||
"cc-m",
|
||||
"card-mm",
|
||||
"card-m",
|
||||
"card-exp-mm",
|
||||
"cc-exp-mm",
|
||||
"exp-mm",
|
||||
"exp-m",
|
||||
"expire-month",
|
||||
"expire-mo",
|
||||
"expiry-month",
|
||||
"expiry-mo",
|
||||
"card-expire-month",
|
||||
"card-expire-mo",
|
||||
"card-expiry-month",
|
||||
"card-expiry-mo",
|
||||
"mois-validite",
|
||||
"mois-expiration",
|
||||
"m-validite",
|
||||
"m-expiration",
|
||||
"expiry-date-field-month",
|
||||
"expiration-date-month",
|
||||
"expiration-date-mm",
|
||||
"exp-mon",
|
||||
"validity-mo",
|
||||
"exp-date-mo",
|
||||
"cb-date-mois",
|
||||
"date-m",
|
||||
];
|
||||
|
||||
// Each index represents a language. These three arrays should all be the same length.
|
||||
// 0: English, 1: Danish, 2: German/Dutch, 3: French/Spanish/Italian, 4: Russian, 5: Portuguese
|
||||
static readonly MonthAbbr = ["mm", "mm", "mm", "mm", "mm", "mm"];
|
||||
|
||||
Reference in New Issue
Block a user