Remove "Mir" CC brand option (#5011)
This commit is contained in:
parent
499f0f93f9
commit
ca0a525895
|
@ -2003,9 +2003,6 @@
|
||||||
"disabledOrganizationFilterError": {
|
"disabledOrganizationFilterError": {
|
||||||
"message": "Items in suspended Organizations cannot be accessed. Contact your Organization owner for assistance."
|
"message": "Items in suspended Organizations cannot be accessed. Contact your Organization owner for assistance."
|
||||||
},
|
},
|
||||||
"cardBrandMir": {
|
|
||||||
"message": "Mir"
|
|
||||||
},
|
|
||||||
"loggingInTo": {
|
"loggingInTo": {
|
||||||
"message": "Logging in to $DOMAIN$",
|
"message": "Logging in to $DOMAIN$",
|
||||||
"placeholders": {
|
"placeholders": {
|
||||||
|
|
|
@ -2035,9 +2035,6 @@
|
||||||
"neverLockWarning": {
|
"neverLockWarning": {
|
||||||
"message": "Are you sure you want to use the \"Never\" option? Setting your lock options to \"Never\" stores your vault's encryption key on your device. If you use this option you should ensure that you keep your device properly protected."
|
"message": "Are you sure you want to use the \"Never\" option? Setting your lock options to \"Never\" stores your vault's encryption key on your device. If you use this option you should ensure that you keep your device properly protected."
|
||||||
},
|
},
|
||||||
"cardBrandMir": {
|
|
||||||
"message": "Mir"
|
|
||||||
},
|
|
||||||
"vault": {
|
"vault": {
|
||||||
"message": "Vault"
|
"message": "Vault"
|
||||||
},
|
},
|
||||||
|
|
|
@ -5639,9 +5639,6 @@
|
||||||
"reporting": {
|
"reporting": {
|
||||||
"message": "Reporting"
|
"message": "Reporting"
|
||||||
},
|
},
|
||||||
"cardBrandMir": {
|
|
||||||
"message": "Mir"
|
|
||||||
},
|
|
||||||
"numberOfUsers": {
|
"numberOfUsers": {
|
||||||
"message": "Number of users"
|
"message": "Number of users"
|
||||||
},
|
},
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 505 B |
Binary file not shown.
Before Width: | Height: | Size: 644 B |
|
@ -25,12 +25,6 @@ const numberFormats: Record<string, CardRuleEntry[]> = {
|
||||||
{ cardLength: 19, blocks: [6, 13] },
|
{ cardLength: 19, blocks: [6, 13] },
|
||||||
],
|
],
|
||||||
Amex: [{ cardLength: 15, blocks: [4, 6, 5] }],
|
Amex: [{ cardLength: 15, blocks: [4, 6, 5] }],
|
||||||
Mir: [
|
|
||||||
{ cardLength: 16, blocks: [4, 4, 4, 4] },
|
|
||||||
{ cardLength: 17, blocks: [5, 4, 4, 4] },
|
|
||||||
{ cardLength: 18, blocks: [6, 4, 4, 4] },
|
|
||||||
{ cardLength: 19, blocks: [7, 4, 4, 4] },
|
|
||||||
],
|
|
||||||
Other: [{ cardLength: 16, blocks: [4, 4, 4, 4] }],
|
Other: [{ cardLength: 16, blocks: [4, 4, 4, 4] }],
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,6 @@ $card-icons: (
|
||||||
"mastercard": $card-icons-base + "mastercard-light.png",
|
"mastercard": $card-icons-base + "mastercard-light.png",
|
||||||
"union-pay": $card-icons-base + "union_pay-light.png",
|
"union-pay": $card-icons-base + "union_pay-light.png",
|
||||||
"ru-pay": $card-icons-base + "ru_pay-light.png",
|
"ru-pay": $card-icons-base + "ru_pay-light.png",
|
||||||
"mir": $card-icons-base + "mir-light.png",
|
|
||||||
);
|
);
|
||||||
|
|
||||||
$card-icons-dark: (
|
$card-icons-dark: (
|
||||||
|
@ -22,7 +21,6 @@ $card-icons-dark: (
|
||||||
"mastercard": $card-icons-base + "mastercard-dark.png",
|
"mastercard": $card-icons-base + "mastercard-dark.png",
|
||||||
"union-pay": $card-icons-base + "union_pay-dark.png",
|
"union-pay": $card-icons-base + "union_pay-dark.png",
|
||||||
"ru-pay": $card-icons-base + "ru_pay-dark.png",
|
"ru-pay": $card-icons-base + "ru_pay-dark.png",
|
||||||
"mir": $card-icons-base + "mir-dark.png",
|
|
||||||
);
|
);
|
||||||
|
|
||||||
.credit-card-icon {
|
.credit-card-icon {
|
||||||
|
|
|
@ -118,7 +118,6 @@ export class AddEditComponent implements OnInit, OnDestroy {
|
||||||
{ name: "Maestro", value: "Maestro" },
|
{ name: "Maestro", value: "Maestro" },
|
||||||
{ name: "UnionPay", value: "UnionPay" },
|
{ name: "UnionPay", value: "UnionPay" },
|
||||||
{ name: "RuPay", value: "RuPay" },
|
{ name: "RuPay", value: "RuPay" },
|
||||||
{ name: i18nService.t("cardBrandMir"), value: "Mir" },
|
|
||||||
{ name: i18nService.t("other"), value: "Other" },
|
{ name: i18nService.t("other"), value: "Other" },
|
||||||
];
|
];
|
||||||
this.cardExpMonthOptions = [
|
this.cardExpMonthOptions = [
|
||||||
|
|
|
@ -20,7 +20,6 @@ const cardIcons: Record<string, string> = {
|
||||||
Maestro: "card-maestro",
|
Maestro: "card-maestro",
|
||||||
UnionPay: "card-union-pay",
|
UnionPay: "card-union-pay",
|
||||||
RuPay: "card-ru-pay",
|
RuPay: "card-ru-pay",
|
||||||
Mir: "card-mir",
|
|
||||||
};
|
};
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
|
|
|
@ -301,12 +301,6 @@ export abstract class BaseImporter {
|
||||||
return "Visa";
|
return "Visa";
|
||||||
}
|
}
|
||||||
|
|
||||||
// Mir
|
|
||||||
re = new RegExp("^220[0-4]");
|
|
||||||
if (cardNum.match(re) != null) {
|
|
||||||
return "Mir";
|
|
||||||
}
|
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue