diff --git a/apps/browser/src/_locales/en/messages.json b/apps/browser/src/_locales/en/messages.json index c90780e03a8..70adbdceb41 100644 --- a/apps/browser/src/_locales/en/messages.json +++ b/apps/browser/src/_locales/en/messages.json @@ -2003,9 +2003,6 @@ "disabledOrganizationFilterError": { "message": "Items in suspended Organizations cannot be accessed. Contact your Organization owner for assistance." }, - "cardBrandMir": { - "message": "Mir" - }, "loggingInTo": { "message": "Logging in to $DOMAIN$", "placeholders": { diff --git a/apps/desktop/src/locales/en/messages.json b/apps/desktop/src/locales/en/messages.json index 93901ddc7aa..47fab63a9dd 100644 --- a/apps/desktop/src/locales/en/messages.json +++ b/apps/desktop/src/locales/en/messages.json @@ -2035,9 +2035,6 @@ "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." }, - "cardBrandMir": { - "message": "Mir" - }, "vault": { "message": "Vault" }, diff --git a/apps/web/src/locales/en/messages.json b/apps/web/src/locales/en/messages.json index d95bf7172dd..1dc3fbc385a 100644 --- a/apps/web/src/locales/en/messages.json +++ b/apps/web/src/locales/en/messages.json @@ -5639,9 +5639,6 @@ "reporting": { "message": "Reporting" }, - "cardBrandMir": { - "message": "Mir" - }, "numberOfUsers": { "message": "Number of users" }, diff --git a/libs/angular/src/images/cards/mir-dark.png b/libs/angular/src/images/cards/mir-dark.png deleted file mode 100644 index e158470db06..00000000000 Binary files a/libs/angular/src/images/cards/mir-dark.png and /dev/null differ diff --git a/libs/angular/src/images/cards/mir-light.png b/libs/angular/src/images/cards/mir-light.png deleted file mode 100644 index e4997415205..00000000000 Binary files a/libs/angular/src/images/cards/mir-light.png and /dev/null differ diff --git a/libs/angular/src/pipes/credit-card-number.pipe.ts b/libs/angular/src/pipes/credit-card-number.pipe.ts index a90ae9724d3..11500ef9510 100644 --- a/libs/angular/src/pipes/credit-card-number.pipe.ts +++ b/libs/angular/src/pipes/credit-card-number.pipe.ts @@ -25,12 +25,6 @@ const numberFormats: Record = { { cardLength: 19, blocks: [6, 13] }, ], 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] }], }; diff --git a/libs/angular/src/scss/icons.scss b/libs/angular/src/scss/icons.scss index eaf061912d3..58c860ff7ed 100644 --- a/libs/angular/src/scss/icons.scss +++ b/libs/angular/src/scss/icons.scss @@ -9,7 +9,6 @@ $card-icons: ( "mastercard": $card-icons-base + "mastercard-light.png", "union-pay": $card-icons-base + "union_pay-light.png", "ru-pay": $card-icons-base + "ru_pay-light.png", - "mir": $card-icons-base + "mir-light.png", ); $card-icons-dark: ( @@ -22,7 +21,6 @@ $card-icons-dark: ( "mastercard": $card-icons-base + "mastercard-dark.png", "union-pay": $card-icons-base + "union_pay-dark.png", "ru-pay": $card-icons-base + "ru_pay-dark.png", - "mir": $card-icons-base + "mir-dark.png", ); .credit-card-icon { diff --git a/libs/angular/src/vault/components/add-edit.component.ts b/libs/angular/src/vault/components/add-edit.component.ts index b8258297cc4..d632c3ce8d3 100644 --- a/libs/angular/src/vault/components/add-edit.component.ts +++ b/libs/angular/src/vault/components/add-edit.component.ts @@ -118,7 +118,6 @@ export class AddEditComponent implements OnInit, OnDestroy { { name: "Maestro", value: "Maestro" }, { name: "UnionPay", value: "UnionPay" }, { name: "RuPay", value: "RuPay" }, - { name: i18nService.t("cardBrandMir"), value: "Mir" }, { name: i18nService.t("other"), value: "Other" }, ]; this.cardExpMonthOptions = [ diff --git a/libs/angular/src/vault/components/icon.component.ts b/libs/angular/src/vault/components/icon.component.ts index 111f89ff831..568df7147ae 100644 --- a/libs/angular/src/vault/components/icon.component.ts +++ b/libs/angular/src/vault/components/icon.component.ts @@ -20,7 +20,6 @@ const cardIcons: Record = { Maestro: "card-maestro", UnionPay: "card-union-pay", RuPay: "card-ru-pay", - Mir: "card-mir", }; @Component({ diff --git a/libs/common/src/importers/base-importer.ts b/libs/common/src/importers/base-importer.ts index 7406e9b5694..0f0a4e54e09 100644 --- a/libs/common/src/importers/base-importer.ts +++ b/libs/common/src/importers/base-importer.ts @@ -301,12 +301,6 @@ export abstract class BaseImporter { return "Visa"; } - // Mir - re = new RegExp("^220[0-4]"); - if (cardNum.match(re) != null) { - return "Mir"; - } - return null; }