@taiga-ui/addon-commerce 3.47.0 → 3.48.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/taiga-ui-addon-commerce-enums.umd.js +89 -89
- package/bundles/taiga-ui-addon-commerce-enums.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-commerce-utils.umd.js +0 -1
- package/bundles/taiga-ui-addon-commerce-utils.umd.js.map +1 -1
- package/enums/currency-code.d.ts +89 -89
- package/esm2015/enums/currency-code.js +90 -90
- package/esm2015/utils/get-currency-symbol.js +1 -2
- package/fesm2015/taiga-ui-addon-commerce-enums.js +89 -89
- package/fesm2015/taiga-ui-addon-commerce-enums.js.map +1 -1
- package/fesm2015/taiga-ui-addon-commerce-utils.js +0 -1
- package/fesm2015/taiga-ui-addon-commerce-utils.js.map +1 -1
- package/package.json +5 -5
|
@@ -386,6 +386,14 @@ var TuiCurrencyCode;
|
|
|
386
386
|
* @description Currency symbol: A$
|
|
387
387
|
*/
|
|
388
388
|
TuiCurrencyCode["AustralianDollar"] = "036";
|
|
389
|
+
/**
|
|
390
|
+
* Azerbaijani manat
|
|
391
|
+
*
|
|
392
|
+
* @description Numeric code: 944
|
|
393
|
+
* @description Alphabetic code: AZN
|
|
394
|
+
* @description Countries and territories: Azerbaijan
|
|
395
|
+
* @description Currency symbol: ₼
|
|
396
|
+
*/
|
|
389
397
|
TuiCurrencyCode["AzerbaijaniManat"] = "944";
|
|
390
398
|
/**
|
|
391
399
|
* Thai baht
|
|
@@ -396,6 +404,15 @@ var TuiCurrencyCode;
|
|
|
396
404
|
* @description Currency symbol: ฿
|
|
397
405
|
*/
|
|
398
406
|
TuiCurrencyCode["Baht"] = "764";
|
|
407
|
+
/**
|
|
408
|
+
*
|
|
409
|
+
* Belarusian ruble
|
|
410
|
+
*
|
|
411
|
+
* @description Numeric code: 933
|
|
412
|
+
* @description Alphabetic code: BYN
|
|
413
|
+
* @description Countries and territories: Belarus
|
|
414
|
+
* @description Currency symbol: Rbl
|
|
415
|
+
*/
|
|
399
416
|
TuiCurrencyCode["BelarusianRuble"] = "933";
|
|
400
417
|
/**
|
|
401
418
|
* Brazilian Real
|
|
@@ -442,6 +459,14 @@ var TuiCurrencyCode;
|
|
|
442
459
|
* @description Currency symbol: €
|
|
443
460
|
*/
|
|
444
461
|
TuiCurrencyCode["Euro"] = "978";
|
|
462
|
+
/**
|
|
463
|
+
* Georgian lari
|
|
464
|
+
*
|
|
465
|
+
* @description Numeric code: 981
|
|
466
|
+
* @description Alphabetic code: GEL
|
|
467
|
+
* @description Countries and territories: Georgia
|
|
468
|
+
* @description Currency symbol: ₾
|
|
469
|
+
*/
|
|
445
470
|
TuiCurrencyCode["GeorgianLari"] = "981";
|
|
446
471
|
/**
|
|
447
472
|
* Hong Kong dollar
|
|
@@ -470,7 +495,23 @@ var TuiCurrencyCode;
|
|
|
470
495
|
* @description Currency symbol: ₹
|
|
471
496
|
*/
|
|
472
497
|
TuiCurrencyCode["IndianRupee"] = "356";
|
|
498
|
+
/**
|
|
499
|
+
* Indonesian rupiah
|
|
500
|
+
*
|
|
501
|
+
* @description Numeric code: 360
|
|
502
|
+
* @description Alphabetic code: IDR
|
|
503
|
+
* @description Countries and territories: Indonesia
|
|
504
|
+
* @description Currency symbol: Rp
|
|
505
|
+
*/
|
|
473
506
|
TuiCurrencyCode["IndonesianRupiah"] = "360";
|
|
507
|
+
/**
|
|
508
|
+
* Iranian rial
|
|
509
|
+
*
|
|
510
|
+
* @description Numeric code: 364
|
|
511
|
+
* @description Alphabetic code: IRR
|
|
512
|
+
* @description Countries and territories: Iran
|
|
513
|
+
* @description Currency symbol: IR
|
|
514
|
+
*/
|
|
474
515
|
TuiCurrencyCode["IranianRial"] = "364";
|
|
475
516
|
/**
|
|
476
517
|
* Israeli new shekel
|
|
@@ -490,6 +531,14 @@ var TuiCurrencyCode;
|
|
|
490
531
|
* @description Currency symbol: c
|
|
491
532
|
*/
|
|
492
533
|
TuiCurrencyCode["KyrgyzstanSom"] = "417";
|
|
534
|
+
/**
|
|
535
|
+
* Malaysian ringgit
|
|
536
|
+
*
|
|
537
|
+
* @description Numeric code: 458
|
|
538
|
+
* @description Alphabetic code: MYR
|
|
539
|
+
* @description Countries and territories: Malaysia
|
|
540
|
+
* @description Currency symbol: RM
|
|
541
|
+
*/
|
|
493
542
|
TuiCurrencyCode["MalaysianRinggit"] = "458";
|
|
494
543
|
/**
|
|
495
544
|
* Mexican peso
|
|
@@ -500,7 +549,23 @@ var TuiCurrencyCode;
|
|
|
500
549
|
* @description Currency symbol: $
|
|
501
550
|
*/
|
|
502
551
|
TuiCurrencyCode["MexicanPeso"] = "484";
|
|
552
|
+
/**
|
|
553
|
+
* Mongolian tugrik
|
|
554
|
+
*
|
|
555
|
+
* @description Numeric code: 496
|
|
556
|
+
* @description Alphabetic code: MNT
|
|
557
|
+
* @description Countries and territories: Mongolia
|
|
558
|
+
* @description Currency symbol: ₮
|
|
559
|
+
*/
|
|
503
560
|
TuiCurrencyCode["MongolianTugrik"] = "496";
|
|
561
|
+
/**
|
|
562
|
+
* New Turkmen manat
|
|
563
|
+
*
|
|
564
|
+
* @description Numeric code: 934
|
|
565
|
+
* @description Alphabetic code: TMT
|
|
566
|
+
* @description Countries and territories: Turkmenistan
|
|
567
|
+
* @description Currency symbol: TMT
|
|
568
|
+
*/
|
|
504
569
|
TuiCurrencyCode["NewTurkmenManat"] = "934";
|
|
505
570
|
/**
|
|
506
571
|
* Pound sterling
|
|
@@ -511,6 +576,14 @@ var TuiCurrencyCode;
|
|
|
511
576
|
* @description Currency symbol: £
|
|
512
577
|
*/
|
|
513
578
|
TuiCurrencyCode["Pound"] = "826";
|
|
579
|
+
/**
|
|
580
|
+
* Tajikistani somoni
|
|
581
|
+
*
|
|
582
|
+
* @description Numeric code: 972
|
|
583
|
+
* @description Alphabetic code: TJS
|
|
584
|
+
* @description Countries and territories: Tajikistan
|
|
585
|
+
* @description Currency symbol: SM
|
|
586
|
+
*/
|
|
514
587
|
/**
|
|
515
588
|
* Russian ruble
|
|
516
589
|
*
|
|
@@ -521,32 +594,23 @@ var TuiCurrencyCode;
|
|
|
521
594
|
*/
|
|
522
595
|
TuiCurrencyCode["Ruble"] = "643";
|
|
523
596
|
/**
|
|
524
|
-
*
|
|
597
|
+
* Saudi Riyal
|
|
525
598
|
*
|
|
526
|
-
* @description Numeric code:
|
|
527
|
-
* @description Alphabetic code:
|
|
528
|
-
* @description Countries and territories:
|
|
529
|
-
* @description Currency symbol:
|
|
599
|
+
* @description Numeric code: 682
|
|
600
|
+
* @description Alphabetic code: SAR
|
|
601
|
+
* @description Countries and territories: Saudi Arabia
|
|
602
|
+
* @description Currency symbol: SR
|
|
530
603
|
*/
|
|
531
604
|
TuiCurrencyCode["SaudiRiyal"] = "682";
|
|
532
605
|
/**
|
|
606
|
+
* Serbian dinar
|
|
533
607
|
*
|
|
534
|
-
*
|
|
535
|
-
*
|
|
536
|
-
* @description
|
|
537
|
-
* @description
|
|
538
|
-
* @description Countries and territories: Belarus
|
|
539
|
-
* @description Currency symbol: Rbl
|
|
608
|
+
* @description Numeric code: 941
|
|
609
|
+
* @description Alphabetic code: RSD
|
|
610
|
+
* @description Countries and territories: Serbia
|
|
611
|
+
* @description Currency symbol: DIN
|
|
540
612
|
*/
|
|
541
613
|
TuiCurrencyCode["SerbianDinar"] = "941";
|
|
542
|
-
/**
|
|
543
|
-
* Georgian lari
|
|
544
|
-
*
|
|
545
|
-
* @description Numeric code: 981
|
|
546
|
-
* @description Alphabetic code: GEL
|
|
547
|
-
* @description Countries and territories: Georgia
|
|
548
|
-
* @description Currency symbol: ₾
|
|
549
|
-
*/
|
|
550
614
|
/**
|
|
551
615
|
* Singapore dollar
|
|
552
616
|
*
|
|
@@ -557,12 +621,12 @@ var TuiCurrencyCode;
|
|
|
557
621
|
*/
|
|
558
622
|
TuiCurrencyCode["SingaporeDollar"] = "702";
|
|
559
623
|
/**
|
|
560
|
-
*
|
|
624
|
+
* South African rand
|
|
561
625
|
*
|
|
562
|
-
* @description Numeric code:
|
|
563
|
-
* @description Alphabetic code:
|
|
564
|
-
* @description Countries and territories:
|
|
565
|
-
* @description Currency symbol:
|
|
626
|
+
* @description Numeric code: 710
|
|
627
|
+
* @description Alphabetic code: ZAR
|
|
628
|
+
* @description Countries and territories: South Africa
|
|
629
|
+
* @description Currency symbol: R
|
|
566
630
|
*/
|
|
567
631
|
TuiCurrencyCode["SouthAfricanRand"] = "710";
|
|
568
632
|
/**
|
|
@@ -574,14 +638,6 @@ var TuiCurrencyCode;
|
|
|
574
638
|
* @description Currency symbol: Rs.
|
|
575
639
|
*/
|
|
576
640
|
TuiCurrencyCode["SriLankanRupee"] = "144";
|
|
577
|
-
/**
|
|
578
|
-
* Serbian dinar
|
|
579
|
-
*
|
|
580
|
-
* @description Numeric code: 941
|
|
581
|
-
* @description Alphabetic code: RSD
|
|
582
|
-
* @description Countries and territories: Serbia
|
|
583
|
-
* @description Currency symbol: DIN
|
|
584
|
-
*/
|
|
585
641
|
/**
|
|
586
642
|
* Swiss franc
|
|
587
643
|
*
|
|
@@ -591,31 +647,7 @@ var TuiCurrencyCode;
|
|
|
591
647
|
* @description Currency symbol: ₣
|
|
592
648
|
*/
|
|
593
649
|
TuiCurrencyCode["SwissFranc"] = "756";
|
|
594
|
-
/**
|
|
595
|
-
* Saudi Riyal
|
|
596
|
-
*
|
|
597
|
-
* @description Numeric code: 682
|
|
598
|
-
* @description Alphabetic code: SAR
|
|
599
|
-
* @description Countries and territories: Saudi Arabia
|
|
600
|
-
* @description Currency symbol: SR
|
|
601
|
-
*/
|
|
602
|
-
/**
|
|
603
|
-
* Tajikistani somoni
|
|
604
|
-
*
|
|
605
|
-
* @description Numeric code: 972
|
|
606
|
-
* @description Alphabetic code: TJS
|
|
607
|
-
* @description Countries and territories: Tajikistan
|
|
608
|
-
* @description Currency symbol: SM
|
|
609
|
-
*/
|
|
610
650
|
TuiCurrencyCode["TajikistaniSomoni"] = "972";
|
|
611
|
-
/**
|
|
612
|
-
* Mongolian tugrik
|
|
613
|
-
*
|
|
614
|
-
* @description Numeric code: 496
|
|
615
|
-
* @description Alphabetic code: MNT
|
|
616
|
-
* @description Countries and territories: Mongolia
|
|
617
|
-
* @description Currency symbol: ₮
|
|
618
|
-
*/
|
|
619
651
|
/**
|
|
620
652
|
* Kazakhstani tenge
|
|
621
653
|
*
|
|
@@ -625,14 +657,6 @@ var TuiCurrencyCode;
|
|
|
625
657
|
* @description Currency symbol: ₸
|
|
626
658
|
*/
|
|
627
659
|
TuiCurrencyCode["Tenge"] = "398";
|
|
628
|
-
/**
|
|
629
|
-
* South African rand
|
|
630
|
-
*
|
|
631
|
-
* @description Numeric code: 710
|
|
632
|
-
* @description Alphabetic code: ZAR
|
|
633
|
-
* @description Countries and territories: South Africa
|
|
634
|
-
* @description Currency symbol: R
|
|
635
|
-
*/
|
|
636
660
|
/**
|
|
637
661
|
* Turkish lira
|
|
638
662
|
*
|
|
@@ -642,14 +666,6 @@ var TuiCurrencyCode;
|
|
|
642
666
|
* @description Currency symbol: ₺
|
|
643
667
|
*/
|
|
644
668
|
TuiCurrencyCode["TurkishLira"] = "949";
|
|
645
|
-
/**
|
|
646
|
-
* Iranian rial
|
|
647
|
-
*
|
|
648
|
-
* @description Numeric code: 364
|
|
649
|
-
* @description Alphabetic code: IRR
|
|
650
|
-
* @description Countries and territories: Iran
|
|
651
|
-
* @description Currency symbol: IR
|
|
652
|
-
*/
|
|
653
669
|
/**
|
|
654
670
|
* Uzbek sum
|
|
655
671
|
*
|
|
@@ -659,15 +675,6 @@ var TuiCurrencyCode;
|
|
|
659
675
|
* @description Currency symbol: So'm
|
|
660
676
|
*/
|
|
661
677
|
TuiCurrencyCode["UzbekSum"] = "860";
|
|
662
|
-
/**
|
|
663
|
-
* Indonesian rupiah
|
|
664
|
-
*
|
|
665
|
-
* @description Numeric code: 360
|
|
666
|
-
* @description Alphabetic code: IDR
|
|
667
|
-
* @description Countries and territories: Indonesia
|
|
668
|
-
* @description Currency symbol: Rp
|
|
669
|
-
*/
|
|
670
|
-
TuiCurrencyCode["VietnameseDong"] = "704";
|
|
671
678
|
/**
|
|
672
679
|
* Vietnamese dong
|
|
673
680
|
*
|
|
@@ -676,6 +683,7 @@ var TuiCurrencyCode;
|
|
|
676
683
|
* @description Countries and territories: Vietnam
|
|
677
684
|
* @description Currency symbol: đ
|
|
678
685
|
*/
|
|
686
|
+
TuiCurrencyCode["VietnameseDong"] = "704";
|
|
679
687
|
/**
|
|
680
688
|
* South Korean won
|
|
681
689
|
*
|
|
@@ -685,14 +693,6 @@ var TuiCurrencyCode;
|
|
|
685
693
|
* @description Currency symbol: ₩
|
|
686
694
|
*/
|
|
687
695
|
TuiCurrencyCode["Won"] = "410";
|
|
688
|
-
/**
|
|
689
|
-
* New Turkmen manat
|
|
690
|
-
*
|
|
691
|
-
* @description Numeric code: 934
|
|
692
|
-
* @description Alphabetic code: TMT
|
|
693
|
-
* @description Countries and territories: Turkmenistan
|
|
694
|
-
* @description Currency symbol: TMT
|
|
695
|
-
*/
|
|
696
696
|
/**
|
|
697
697
|
* Japanese yen
|
|
698
698
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-addon-commerce-enums.js","sources":["../../../projects/addon-commerce/enums/currency.ts","../../../projects/addon-commerce/enums/currency-code.ts","../../../projects/addon-commerce/enums/taiga-ui-addon-commerce-enums.ts"],"sourcesContent":["// cspell:disable\n/**\n * **Active ISO 4217 alphabetic currency codes**\n *\n * @description The ISO 4217 classification is used to describe alphabetic and numeric currency codes.\n * @description Alphabetic code is also called \"alfa-3\".\n *\n * @link https://en.wikipedia.org/wiki/ISO_4217\n */\n// TODO: change type in v4.0\n// eslint-disable-next-line no-restricted-syntax\nexport enum TuiCurrency {\n /**\n * Armenian dram\n *\n * @description Numeric code: 051\n * @description Alphabetic code: AMD\n * @description Countries and territories: Armenia\n * @description Currency symbol: ֏\n */\n ArmenianDram = `AMD`,\n\n /**\n * Australian dollar\n *\n * @description Numeric code: 036\n * @description Alphabetic code: AUD\n * @description Countries and territories: Australia, Christmas Island (CX), Cocos (Keeling) Islands (CC), Heard Island and McDonald Islands (HM), Kiribati (KI), Nauru (NR), Norfolk Island (NF), Tuvalu (TV)\n * @description Currency symbol: A$\n */\n AustralianDollar = `AUD`,\n\n AzerbaijaniManat = `AZN`,\n\n /**\n * Thai baht\n *\n * @description Numeric code: 764\n * @description Alphabetic code: THB\n * @description Countries and territories: Thailand\n * @description Currency symbol: ฿\n */\n Baht = `THB`,\n\n BelarusianRuble = `BYN`,\n\n /**\n * Brazilian Real\n *\n * @description Numeric code: 986\n * @description Alphabetic code: BRL\n * @description Countries and territories: Brazilia\n * @description Currency symbol: R$\n */\n BrazilianReal = `BRL`,\n\n /**\n * Canadian dollar\n *\n * @description Numeric code: 124\n * @description Alphabetic code: CAD\n * @description Countries and territories: Canada\n * @description Currency symbol: C$\n */\n CanadianDollar = `CAD`,\n\n /**\n * United Arab Emirates dirham\n *\n * @description Numeric code: 784\n * @description Alphabetic code: AED\n * @description Countries and territories: United Arab Emirates\n * @description Currency symbol: Dh\n */\n Dirham = `AED`,\n\n /**\n * United States dollar\n *\n * @description Numeric code: 840\n * @description Alphabetic code: USD\n * @description Countries and territories: United States, American Samoa (AS), British Indian Ocean Territory (IO) (also uses GBP), British Virgin Islands (VG), Caribbean Netherlands (BQ – Bonaire, Sint Eustatius and Saba), Ecuador (EC), El Salvador (SV), Guam (GU), Marshall Islands (MH), Federated States of Micronesia (FM), Northern Mariana Islands (MP), Palau (PW), Panama (PA) (as well as Panamanian Balboa), Puerto Rico (PR), Timor-Leste (TL), Turks and Caicos Islands (TC), U.S. Virgin Islands (VI), United States Minor Outlying Islands (UM)\n * @description Currency symbol: $\n */\n Dollar = `USD`,\n\n /**\n * Euro\n *\n * @description Numeric code: 978\n * @description Alphabetic code: EUR\n * @description Countries and territories: Åland Islands (AX), European Union (EU), Andorra (AD), Austria (AT), Belgium (BE), Cyprus (CY), Estonia (EE), Finland (FI), France (FR), French Southern and Antarctic Lands (TF), Germany (DE), Greece (GR), Guadeloupe (GP), Ireland (IE), Italy (IT), Latvia (LV), Lithuania (LT), Luxembourg (LU), Malta (MT), French Guiana (GF), Martinique (MQ), Mayotte (YT), Monaco (MC), Montenegro (ME), Netherlands (NL), Portugal (PT), Réunion (RE), Saint Barthélemy (BL), Saint Martin (MF), Saint Pierre and Miquelon (PM), San Marino (SM), Slovakia (SK), Slovenia (SI), Spain (ES), Vatican City (VA)\n * @description Currency symbol: €\n */\n Euro = `EUR`,\n\n GeorgianLari = `GEL`,\n\n /**\n * Hong Kong dollar\n *\n * @description Numeric code: 344\n * @description Alphabetic code: HKD\n * @description Countries and territories: Hong Kong\n * @description Currency symbol: HK$\n */\n HongKongDollar = `HKD`,\n\n /**\n * Ukrainian hryvnia\n *\n * @description Numeric code: 980\n * @description Alphabetic code: UAH\n * @description Countries and territories: Ukraine\n * @description Currency symbol: ₴\n */\n Hryvnia = `UAH`,\n\n /**\n * Indian rupee\n *\n * @description Numeric code: 356\n * @description Alphabetic code: INR\n * @description Countries and territories: India, Bhutan\n * @description Currency symbol: ₹\n */\n IndianRupee = `INR`,\n\n IndonesianRupiah = `IDR`,\n\n IranianRial = `IRR`,\n\n /**\n * Israeli new shekel\n *\n * @description Numeric code: 376\n * @description Alphabetic code: ILS\n * @description Countries and territories: Israel\n * @description Currency symbol: ₪\n */\n IsraeliShekel = `ILS`,\n\n /**\n * Kyrgyzstani som\n *\n * @description Numeric code: 417\n * @description Alphabetic code: KGS\n * @description Countries and territories: Kyrgyzstan\n * @description Currency symbol: c\n */\n KyrgyzstanSom = `KGS`,\n\n MalaysianRinggit = `MYR`,\n\n /**\n * Mexican peso\n *\n * @description Numeric code: 484\n * @description Alphabetic code: MXN\n * @description Countries and territories: Mexico\n * @description Currency symbol: $\n */\n MexicanPeso = `MXN`,\n\n MongolianTugrik = `MNT`,\n\n NewTurkmenManat = `TMT`,\n\n /**\n * Pound sterling\n *\n * @description Numeric code: 826\n * @description Alphabetic code: GBP\n * @description Countries and territories: United Kingdom, Isle of Man (IM, see Manx pound), Jersey (JE, see Jersey pound), Guernsey (GG, see Guernsey pound), Tristan da Cunha (SH-TA)\n * @description Currency symbol: £\n */\n Pound = `GBP`,\n\n /**\n * Russian ruble\n *\n * @description Numeric code: 643\n * @description Alphabetic code: RUB\n * @description Countries and territories: Russia\n * @description Currency symbol: ₽\n */\n Ruble = `RUB`,\n\n /**\n * Malaysian ringgit\n *\n * @description Numeric code: 458\n * @description Alphabetic code: MYR\n * @description Countries and territories: Malaysia\n * @description Currency symbol: RM\n */\n\n SaudiRiyal = `SAR`,\n /**\n *\n * Belarusian ruble\n *\n * @description Numeric code: 933\n * @description Alphabetic code: BYN\n * @description Countries and territories: Belarus\n * @description Currency symbol: Rbl\n */\n\n SerbianDinar = `RSD`,\n /**\n * Georgian lari\n *\n * @description Numeric code: 981\n * @description Alphabetic code: GEL\n * @description Countries and territories: Georgia\n * @description Currency symbol: ₾\n */\n\n /**\n * Singapore dollar\n *\n * @description Numeric code: 702\n * @description Alphabetic code: SGD\n * @description Countries and territories: Singapore\n * @description Currency symbol: S$\n */\n SingaporeDollar = `SGD`,\n /**\n * Azerbaijani manat\n *\n * @description Numeric code: 944\n * @description Alphabetic code: AZN\n * @description Countries and territories: Azerbaijan\n * @description Currency symbol: ₼\n */\n\n SouthAfricanRand = `ZAR`,\n /**\n * Sri Lankan rupee\n *\n * @description Numeric code: 144\n * @description Alphabetic code: LKR\n * @description Countries and territories: Sri Lanka\n * @description Currency symbol: Rs.\n */\n\n SriLankanRupee = `LKR`,\n /**\n * Serbian dinar\n *\n * @description Numeric code: 941\n * @description Alphabetic code: RSD\n * @description Countries and territories: Serbia\n * @description Currency symbol: DIN\n */\n\n /**\n * Swiss franc\n *\n * @description Numeric code: 756\n * @description Alphabetic code: CHF\n * @description Countries and territories: Switzerland, Liechtenstein (LI)\n * @description Currency symbol: ₣\n */\n SwissFranc = `CHF`,\n /**\n * Saudi Riyal\n *\n * @description Numeric code: 682\n * @description Alphabetic code: SAR\n * @description Countries and territories: Saudi Arabia\n * @description Currency symbol: SR\n */\n\n /**\n * Tajikistani somoni\n *\n * @description Numeric code: 972\n * @description Alphabetic code: TJS\n * @description Countries and territories: Tajikistan\n * @description Currency symbol: SM\n */\n TajikistaniSomoni = `TJS`,\n /**\n * Mongolian tugrik\n *\n * @description Numeric code: 496\n * @description Alphabetic code: MNT\n * @description Countries and territories: Mongolia\n * @description Currency symbol: ₮\n */\n\n /**\n * Kazakhstani tenge\n *\n * @description Numeric code: 398\n * @description Alphabetic code: KZT\n * @description Countries and territories: Kazakhstan\n * @description Currency symbol: ₸\n */\n Tenge = `KZT`,\n /**\n * South African rand\n *\n * @description Numeric code: 710\n * @description Alphabetic code: ZAR\n * @description Countries and territories: South Africa\n * @description Currency symbol: R\n */\n\n /**\n * Turkish lira\n *\n * @description Numeric code: 949\n * @description Alphabetic code: TRY\n * @description Countries and territories: Turkey\n * @description Currency symbol: ₺\n */\n TurkishLira = `TRY`,\n /**\n * Iranian rial\n *\n * @description Numeric code: 364\n * @description Alphabetic code: IRR\n * @description Countries and territories: Iran\n * @description Currency symbol: IR\n */\n\n /**\n * Uzbek sum\n *\n * @description Numeric code: 860\n * @description Alphabetic code: UZS\n * @description Countries and territories: Uzbekistan\n * @description Currency symbol: So'm\n */\n UzbekSum = `UZS`,\n /**\n * Indonesian rupiah\n *\n * @description Numeric code: 360\n * @description Alphabetic code: IDR\n * @description Countries and territories: Indonesia\n * @description Currency symbol: Rp\n */\n\n VietnameseDong = `VND`,\n /**\n * Vietnamese dong\n *\n * @description Numeric code: 704\n * @description Alphabetic code: VND\n * @description Countries and territories: Vietnam\n * @description Currency symbol: đ\n */\n\n /**\n * South Korean won\n *\n * @description Numeric code: 410\n * @description Alphabetic code: KRW\n * @description Countries and territories: South Korea\n * @description Currency symbol: ₩\n */\n Won = `KRW`,\n /**\n * New Turkmen manat\n *\n * @description Numeric code: 934\n * @description Alphabetic code: TMT\n * @description Countries and territories: Turkmenistan\n * @description Currency symbol: TMT\n */\n\n /**\n * Japanese yen\n *\n * @description Numeric code: 392\n * @description Alphabetic code: JPY\n * @description Countries and territories: Japan\n * @description Currency symbol: ¥\n */\n Yen = `JPY`,\n /**\n * Chinese yuan\n *\n * @description Numeric code: 156\n * @description Alphabetic code: CNY\n * @description Countries and territories: China\n * @description Currency symbol: CN¥\n */\n YuanRenminbi = `CNY`,\n}\n","/**\n * **Active ISO 4217 numeric currency codes**\n *\n * @description The ISO 4217 classification is used to describe alphabetic and numeric currency codes.\n * @description Numeric code is also called \"number-3\".\n *\n * @link https://en.wikipedia.org/wiki/ISO_4217\n */\n// TODO: change type in v4.0\n// eslint-disable-next-line no-restricted-syntax\nexport enum TuiCurrencyCode {\n /**\n * Armenian dram\n *\n * @description Numeric code: 051\n * @description Alphabetic code: AMD\n * @description Countries and territories: Armenia\n * @description Currency symbol: ֏\n */\n ArmenianDram = `051`,\n\n /**\n * Australian dollar\n *\n * @description Numeric code: 036\n * @description Alphabetic code: AUD\n * @description Countries and territories: Australia, Christmas Island (CX), Cocos (Keeling) Islands (CC), Heard Island and McDonald Islands (HM), Kiribati (KI), Nauru (NR), Norfolk Island (NF), Tuvalu (TV)\n * @description Currency symbol: A$\n */\n AustralianDollar = `036`,\n\n AzerbaijaniManat = `944`,\n\n /**\n * Thai baht\n *\n * @description Numeric code: 764\n * @description Alphabetic code: THB\n * @description Countries and territories: Thailand\n * @description Currency symbol: ฿\n */\n Baht = `764`,\n\n BelarusianRuble = `933`,\n\n /**\n * Brazilian Real\n *\n * @description Numeric code: 986\n * @description Alphabetic code: BRL\n * @description Countries and territories: Brazilia\n * @description Currency symbol: R$\n */\n BrazilianReal = `986`,\n\n /**\n * Canadian dollar\n *\n * @description Numeric code: 124\n * @description Alphabetic code: CAD\n * @description Countries and territories: Canada\n * @description Currency symbol: C$\n */\n CanadianDollar = `124`,\n\n /**\n * United Arab Emirates dirham\n *\n * @description Numeric code: 784\n * @description Alphabetic code: AED\n * @description Countries and territories: United Arab Emirates\n * @description Currency symbol: Dh\n */\n Dirham = `784`,\n\n /**\n * United States dollar\n *\n * @description Numeric code: 840\n * @description Alphabetic code: USD\n * @description Countries and territories: United States, American Samoa (AS), British Indian Ocean Territory (IO) (also uses GBP), British Virgin Islands (VG), Caribbean Netherlands (BQ – Bonaire, Sint Eustatius and Saba), Ecuador (EC), El Salvador (SV), Guam (GU), Marshall Islands (MH), Federated States of Micronesia (FM), Northern Mariana Islands (MP), Palau (PW), Panama (PA) (as well as Panamanian Balboa), Puerto Rico (PR), Timor-Leste (TL), Turks and Caicos Islands (TC), U.S. Virgin Islands (VI), United States Minor Outlying Islands (UM)\n * @description Currency symbol: $\n */\n Dollar = `840`,\n\n /**\n * Euro\n *\n * @description Numeric code: 978\n * @description Alphabetic code: EUR\n * @description Countries and territories: Åland Islands (AX), European Union (EU), Andorra (AD), Austria (AT), Belgium (BE), Cyprus (CY), Estonia (EE), Finland (FI), France (FR), French Southern and Antarctic Lands (TF), Germany (DE), Greece (GR), Guadeloupe (GP), Ireland (IE), Italy (IT), Latvia (LV), Lithuania (LT), Luxembourg (LU), Malta (MT), French Guiana (GF), Martinique (MQ), Mayotte (YT), Monaco (MC), Montenegro (ME), Netherlands (NL), Portugal (PT), Réunion (RE), Saint Barthélemy (BL), Saint Martin (MF), Saint Pierre and Miquelon (PM), San Marino (SM), Slovakia (SK), Slovenia (SI), Spain (ES), Vatican City (VA)\n * @description Currency symbol: €\n */\n Euro = `978`,\n\n GeorgianLari = `981`,\n\n /**\n * Hong Kong dollar\n *\n * @description Numeric code: 344\n * @description Alphabetic code: HKD\n * @description Countries and territories: Hong Kong\n * @description Currency symbol: HK$\n */\n HongKongDollar = `344`,\n\n /**\n * Ukrainian hryvnia\n *\n * @description Numeric code: 980\n * @description Alphabetic code: UAH\n * @description Countries and territories: Ukraine\n * @description Currency symbol: ₴\n */\n Hryvnia = `980`,\n\n /**\n * Indian rupee\n *\n * @description Numeric code: 356\n * @description Alphabetic code: INR\n * @description Countries and territories: India, Bhutan\n * @description Currency symbol: ₹\n */\n IndianRupee = `356`,\n\n IndonesianRupiah = `360`,\n\n IranianRial = `364`,\n\n /**\n * Israeli new shekel\n *\n * @description Numeric code: 376\n * @description Alphabetic code: ILS\n * @description Countries and territories: Israel\n * @description Currency symbol: ₪\n */\n IsraeliShekel = `376`,\n\n /**\n * Kyrgyzstani som\n *\n * @description Numeric code: 417\n * @description Alphabetic code: KGS\n * @description Countries and territories: Kyrgyzstan\n * @description Currency symbol: c\n */\n KyrgyzstanSom = `417`,\n\n MalaysianRinggit = `458`,\n\n /**\n * Mexican peso\n *\n * @description Numeric code: 484\n * @description Alphabetic code: MXN\n * @description Countries and territories: Mexico\n * @description Currency symbol: $\n */\n MexicanPeso = `484`,\n\n MongolianTugrik = `496`,\n\n NewTurkmenManat = `934`,\n\n /**\n * Pound sterling\n *\n * @description Numeric code: 826\n * @description Alphabetic code: GBP\n * @description Countries and territories: United Kingdom, Isle of Man (IM, see Manx pound), Jersey (JE, see Jersey pound), Guernsey (GG, see Guernsey pound), Tristan da Cunha (SH-TA)\n * @description Currency symbol: £\n */\n Pound = `826`,\n\n /**\n * Russian ruble\n *\n * @description Numeric code: 643\n * @description Alphabetic code: RUB\n * @description Countries and territories: Russia\n * @description Currency symbol: ₽\n */\n Ruble = `643`,\n\n /**\n * Malaysian ringgit\n *\n * @description Numeric code: 458\n * @description Alphabetic code: MYR\n * @description Countries and territories: Malaysia\n * @description Currency symbol: RM\n */\n\n SaudiRiyal = `682`,\n /**\n *\n * Belarusian ruble\n *\n * @description Numeric code: 933\n * @description Alphabetic code: BYN\n * @description Countries and territories: Belarus\n * @description Currency symbol: Rbl\n */\n\n SerbianDinar = `941`,\n /**\n * Georgian lari\n *\n * @description Numeric code: 981\n * @description Alphabetic code: GEL\n * @description Countries and territories: Georgia\n * @description Currency symbol: ₾\n */\n\n /**\n * Singapore dollar\n *\n * @description Numeric code: 702\n * @description Alphabetic code: SGD\n * @description Countries and territories: Singapore\n * @description Currency symbol: S$\n */\n SingaporeDollar = `702`,\n /**\n * Azerbaijani manat\n *\n * @description Numeric code: 944\n * @description Alphabetic code: AZN\n * @description Countries and territories: Azerbaijan\n * @description Currency symbol: ₼\n */\n\n SouthAfricanRand = `710`,\n /**\n * Sri Lankan rupee\n *\n * @description Numeric code: 144\n * @description Alphabetic code: LKR\n * @description Countries and territories: Sri Lanka\n * @description Currency symbol: Rs.\n */\n\n SriLankanRupee = `144`,\n /**\n * Serbian dinar\n *\n * @description Numeric code: 941\n * @description Alphabetic code: RSD\n * @description Countries and territories: Serbia\n * @description Currency symbol: DIN\n */\n\n /**\n * Swiss franc\n *\n * @description Numeric code: 756\n * @description Alphabetic code: CHF\n * @description Countries and territories: Switzerland, Liechtenstein (LI)\n * @description Currency symbol: ₣\n */\n SwissFranc = `756`,\n /**\n * Saudi Riyal\n *\n * @description Numeric code: 682\n * @description Alphabetic code: SAR\n * @description Countries and territories: Saudi Arabia\n * @description Currency symbol: SR\n */\n\n /**\n * Tajikistani somoni\n *\n * @description Numeric code: 972\n * @description Alphabetic code: TJS\n * @description Countries and territories: Tajikistan\n * @description Currency symbol: SM\n */\n TajikistaniSomoni = `972`,\n /**\n * Mongolian tugrik\n *\n * @description Numeric code: 496\n * @description Alphabetic code: MNT\n * @description Countries and territories: Mongolia\n * @description Currency symbol: ₮\n */\n\n /**\n * Kazakhstani tenge\n *\n * @description Numeric code: 398\n * @description Alphabetic code: KZT\n * @description Countries and territories: Kazakhstan\n * @description Currency symbol: ₸\n */\n Tenge = `398`,\n /**\n * South African rand\n *\n * @description Numeric code: 710\n * @description Alphabetic code: ZAR\n * @description Countries and territories: South Africa\n * @description Currency symbol: R\n */\n\n /**\n * Turkish lira\n *\n * @description Numeric code: 949\n * @description Alphabetic code: TRY\n * @description Countries and territories: Turkey\n * @description Currency symbol: ₺\n */\n TurkishLira = `949`,\n /**\n * Iranian rial\n *\n * @description Numeric code: 364\n * @description Alphabetic code: IRR\n * @description Countries and territories: Iran\n * @description Currency symbol: IR\n */\n\n /**\n * Uzbek sum\n *\n * @description Numeric code: 860\n * @description Alphabetic code: UZS\n * @description Countries and territories: Uzbekistan\n * @description Currency symbol: So'm\n */\n UzbekSum = `860`,\n /**\n * Indonesian rupiah\n *\n * @description Numeric code: 360\n * @description Alphabetic code: IDR\n * @description Countries and territories: Indonesia\n * @description Currency symbol: Rp\n */\n\n VietnameseDong = `704`,\n /**\n * Vietnamese dong\n *\n * @description Numeric code: 704\n * @description Alphabetic code: VND\n * @description Countries and territories: Vietnam\n * @description Currency symbol: đ\n */\n\n /**\n * South Korean won\n *\n * @description Numeric code: 410\n * @description Alphabetic code: KRW\n * @description Countries and territories: South Korea\n * @description Currency symbol: ₩\n */\n Won = `410`,\n /**\n * New Turkmen manat\n *\n * @description Numeric code: 934\n * @description Alphabetic code: TMT\n * @description Countries and territories: Turkmenistan\n * @description Currency symbol: TMT\n */\n\n /**\n * Japanese yen\n *\n * @description Numeric code: 392\n * @description Alphabetic code: JPY\n * @description Countries and territories: Japan\n * @description Currency symbol: ¥\n */\n Yen = `392`,\n /**\n * Chinese yuan\n *\n * @description Numeric code: 156\n * @description Alphabetic code: CNY\n * @description Countries and territories: China\n * @description Currency symbol: CN¥\n */\n YuanRenminbi = `156`,\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAA;AACA;;;;;;;AAOG;AACH;AACA;IACY,YA6XX;AA7XD,CAAA,UAAY,WAAW,EAAA;AACnB;;;;;;;AAOG;AACH,IAAA,WAAA,CAAA,cAAA,CAAA,GAAA,KAAoB,CAAA;AAEpB;;;;;;;AAOG;AACH,IAAA,WAAA,CAAA,kBAAA,CAAA,GAAA,KAAwB,CAAA;AAExB,IAAA,WAAA,CAAA,kBAAA,CAAA,GAAA,KAAwB,CAAA;AAExB;;;;;;;AAOG;AACH,IAAA,WAAA,CAAA,MAAA,CAAA,GAAA,KAAY,CAAA;AAEZ,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G;AACH,IAAA,eAAA,CAAA,OAAA,CAAA,GAAA,KAAa,CAAA;AACb;;;;;;;AAOG;AAEH;;;;;;;AAOG;AACH,IAAA,eAAA,CAAA,aAAA,CAAA,GAAA,KAAmB,CAAA;AACnB;;;;;;;AAOG;AAEH;;;;;;;AAOG;AACH,IAAA,eAAA,CAAA,UAAA,CAAA,GAAA,KAAgB,CAAA;AAChB;;;;;;;AAOG;AAEH,IAAA,eAAA,CAAA,gBAAA,CAAA,GAAA,KAAsB,CAAA;AACtB;;;;;;;AAOG;AAEH;;;;;;;AAOG;AACH,IAAA,eAAA,CAAA,KAAA,CAAA,GAAA,KAAW,CAAA;AACX;;;;;;;AAOG;AAEH;;;;;;;AAOG;AACH,IAAA,eAAA,CAAA,KAAA,CAAA,GAAA,KAAW,CAAA;AACX;;;;;;;AAOG;AACH,IAAA,eAAA,CAAA,cAAA,CAAA,GAAA,KAAoB,CAAA;AACxB,CAAC,EA7XW,eAAe,KAAf,eAAe,GA6X1B,EAAA,CAAA,CAAA;;ACvYD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"taiga-ui-addon-commerce-enums.js","sources":["../../../projects/addon-commerce/enums/currency.ts","../../../projects/addon-commerce/enums/currency-code.ts","../../../projects/addon-commerce/enums/taiga-ui-addon-commerce-enums.ts"],"sourcesContent":["// cspell:disable\n/**\n * **Active ISO 4217 alphabetic currency codes**\n *\n * @description The ISO 4217 classification is used to describe alphabetic and numeric currency codes.\n * @description Alphabetic code is also called \"alfa-3\".\n *\n * @link https://en.wikipedia.org/wiki/ISO_4217\n */\n// TODO: change type in v4.0\n// eslint-disable-next-line no-restricted-syntax\nexport enum TuiCurrency {\n /**\n * Armenian dram\n *\n * @description Numeric code: 051\n * @description Alphabetic code: AMD\n * @description Countries and territories: Armenia\n * @description Currency symbol: ֏\n */\n ArmenianDram = `AMD`,\n\n /**\n * Australian dollar\n *\n * @description Numeric code: 036\n * @description Alphabetic code: AUD\n * @description Countries and territories: Australia, Christmas Island (CX), Cocos (Keeling) Islands (CC), Heard Island and McDonald Islands (HM), Kiribati (KI), Nauru (NR), Norfolk Island (NF), Tuvalu (TV)\n * @description Currency symbol: A$\n */\n AustralianDollar = `AUD`,\n\n AzerbaijaniManat = `AZN`,\n\n /**\n * Thai baht\n *\n * @description Numeric code: 764\n * @description Alphabetic code: THB\n * @description Countries and territories: Thailand\n * @description Currency symbol: ฿\n */\n Baht = `THB`,\n\n BelarusianRuble = `BYN`,\n\n /**\n * Brazilian Real\n *\n * @description Numeric code: 986\n * @description Alphabetic code: BRL\n * @description Countries and territories: Brazilia\n * @description Currency symbol: R$\n */\n BrazilianReal = `BRL`,\n\n /**\n * Canadian dollar\n *\n * @description Numeric code: 124\n * @description Alphabetic code: CAD\n * @description Countries and territories: Canada\n * @description Currency symbol: C$\n */\n CanadianDollar = `CAD`,\n\n /**\n * United Arab Emirates dirham\n *\n * @description Numeric code: 784\n * @description Alphabetic code: AED\n * @description Countries and territories: United Arab Emirates\n * @description Currency symbol: Dh\n */\n Dirham = `AED`,\n\n /**\n * United States dollar\n *\n * @description Numeric code: 840\n * @description Alphabetic code: USD\n * @description Countries and territories: United States, American Samoa (AS), British Indian Ocean Territory (IO) (also uses GBP), British Virgin Islands (VG), Caribbean Netherlands (BQ – Bonaire, Sint Eustatius and Saba), Ecuador (EC), El Salvador (SV), Guam (GU), Marshall Islands (MH), Federated States of Micronesia (FM), Northern Mariana Islands (MP), Palau (PW), Panama (PA) (as well as Panamanian Balboa), Puerto Rico (PR), Timor-Leste (TL), Turks and Caicos Islands (TC), U.S. Virgin Islands (VI), United States Minor Outlying Islands (UM)\n * @description Currency symbol: $\n */\n Dollar = `USD`,\n\n /**\n * Euro\n *\n * @description Numeric code: 978\n * @description Alphabetic code: EUR\n * @description Countries and territories: Åland Islands (AX), European Union (EU), Andorra (AD), Austria (AT), Belgium (BE), Cyprus (CY), Estonia (EE), Finland (FI), France (FR), French Southern and Antarctic Lands (TF), Germany (DE), Greece (GR), Guadeloupe (GP), Ireland (IE), Italy (IT), Latvia (LV), Lithuania (LT), Luxembourg (LU), Malta (MT), French Guiana (GF), Martinique (MQ), Mayotte (YT), Monaco (MC), Montenegro (ME), Netherlands (NL), Portugal (PT), Réunion (RE), Saint Barthélemy (BL), Saint Martin (MF), Saint Pierre and Miquelon (PM), San Marino (SM), Slovakia (SK), Slovenia (SI), Spain (ES), Vatican City (VA)\n * @description Currency symbol: €\n */\n Euro = `EUR`,\n\n GeorgianLari = `GEL`,\n\n /**\n * Hong Kong dollar\n *\n * @description Numeric code: 344\n * @description Alphabetic code: HKD\n * @description Countries and territories: Hong Kong\n * @description Currency symbol: HK$\n */\n HongKongDollar = `HKD`,\n\n /**\n * Ukrainian hryvnia\n *\n * @description Numeric code: 980\n * @description Alphabetic code: UAH\n * @description Countries and territories: Ukraine\n * @description Currency symbol: ₴\n */\n Hryvnia = `UAH`,\n\n /**\n * Indian rupee\n *\n * @description Numeric code: 356\n * @description Alphabetic code: INR\n * @description Countries and territories: India, Bhutan\n * @description Currency symbol: ₹\n */\n IndianRupee = `INR`,\n\n IndonesianRupiah = `IDR`,\n\n IranianRial = `IRR`,\n\n /**\n * Israeli new shekel\n *\n * @description Numeric code: 376\n * @description Alphabetic code: ILS\n * @description Countries and territories: Israel\n * @description Currency symbol: ₪\n */\n IsraeliShekel = `ILS`,\n\n /**\n * Kyrgyzstani som\n *\n * @description Numeric code: 417\n * @description Alphabetic code: KGS\n * @description Countries and territories: Kyrgyzstan\n * @description Currency symbol: c\n */\n KyrgyzstanSom = `KGS`,\n\n MalaysianRinggit = `MYR`,\n\n /**\n * Mexican peso\n *\n * @description Numeric code: 484\n * @description Alphabetic code: MXN\n * @description Countries and territories: Mexico\n * @description Currency symbol: $\n */\n MexicanPeso = `MXN`,\n\n MongolianTugrik = `MNT`,\n\n NewTurkmenManat = `TMT`,\n\n /**\n * Pound sterling\n *\n * @description Numeric code: 826\n * @description Alphabetic code: GBP\n * @description Countries and territories: United Kingdom, Isle of Man (IM, see Manx pound), Jersey (JE, see Jersey pound), Guernsey (GG, see Guernsey pound), Tristan da Cunha (SH-TA)\n * @description Currency symbol: £\n */\n Pound = `GBP`,\n\n /**\n * Russian ruble\n *\n * @description Numeric code: 643\n * @description Alphabetic code: RUB\n * @description Countries and territories: Russia\n * @description Currency symbol: ₽\n */\n Ruble = `RUB`,\n\n /**\n * Malaysian ringgit\n *\n * @description Numeric code: 458\n * @description Alphabetic code: MYR\n * @description Countries and territories: Malaysia\n * @description Currency symbol: RM\n */\n\n SaudiRiyal = `SAR`,\n /**\n *\n * Belarusian ruble\n *\n * @description Numeric code: 933\n * @description Alphabetic code: BYN\n * @description Countries and territories: Belarus\n * @description Currency symbol: Rbl\n */\n\n SerbianDinar = `RSD`,\n /**\n * Georgian lari\n *\n * @description Numeric code: 981\n * @description Alphabetic code: GEL\n * @description Countries and territories: Georgia\n * @description Currency symbol: ₾\n */\n\n /**\n * Singapore dollar\n *\n * @description Numeric code: 702\n * @description Alphabetic code: SGD\n * @description Countries and territories: Singapore\n * @description Currency symbol: S$\n */\n SingaporeDollar = `SGD`,\n /**\n * Azerbaijani manat\n *\n * @description Numeric code: 944\n * @description Alphabetic code: AZN\n * @description Countries and territories: Azerbaijan\n * @description Currency symbol: ₼\n */\n\n SouthAfricanRand = `ZAR`,\n /**\n * Sri Lankan rupee\n *\n * @description Numeric code: 144\n * @description Alphabetic code: LKR\n * @description Countries and territories: Sri Lanka\n * @description Currency symbol: Rs.\n */\n\n SriLankanRupee = `LKR`,\n /**\n * Serbian dinar\n *\n * @description Numeric code: 941\n * @description Alphabetic code: RSD\n * @description Countries and territories: Serbia\n * @description Currency symbol: DIN\n */\n\n /**\n * Swiss franc\n *\n * @description Numeric code: 756\n * @description Alphabetic code: CHF\n * @description Countries and territories: Switzerland, Liechtenstein (LI)\n * @description Currency symbol: ₣\n */\n SwissFranc = `CHF`,\n /**\n * Saudi Riyal\n *\n * @description Numeric code: 682\n * @description Alphabetic code: SAR\n * @description Countries and territories: Saudi Arabia\n * @description Currency symbol: SR\n */\n\n /**\n * Tajikistani somoni\n *\n * @description Numeric code: 972\n * @description Alphabetic code: TJS\n * @description Countries and territories: Tajikistan\n * @description Currency symbol: SM\n */\n TajikistaniSomoni = `TJS`,\n /**\n * Mongolian tugrik\n *\n * @description Numeric code: 496\n * @description Alphabetic code: MNT\n * @description Countries and territories: Mongolia\n * @description Currency symbol: ₮\n */\n\n /**\n * Kazakhstani tenge\n *\n * @description Numeric code: 398\n * @description Alphabetic code: KZT\n * @description Countries and territories: Kazakhstan\n * @description Currency symbol: ₸\n */\n Tenge = `KZT`,\n /**\n * South African rand\n *\n * @description Numeric code: 710\n * @description Alphabetic code: ZAR\n * @description Countries and territories: South Africa\n * @description Currency symbol: R\n */\n\n /**\n * Turkish lira\n *\n * @description Numeric code: 949\n * @description Alphabetic code: TRY\n * @description Countries and territories: Turkey\n * @description Currency symbol: ₺\n */\n TurkishLira = `TRY`,\n /**\n * Iranian rial\n *\n * @description Numeric code: 364\n * @description Alphabetic code: IRR\n * @description Countries and territories: Iran\n * @description Currency symbol: IR\n */\n\n /**\n * Uzbek sum\n *\n * @description Numeric code: 860\n * @description Alphabetic code: UZS\n * @description Countries and territories: Uzbekistan\n * @description Currency symbol: So'm\n */\n UzbekSum = `UZS`,\n /**\n * Indonesian rupiah\n *\n * @description Numeric code: 360\n * @description Alphabetic code: IDR\n * @description Countries and territories: Indonesia\n * @description Currency symbol: Rp\n */\n\n VietnameseDong = `VND`,\n /**\n * Vietnamese dong\n *\n * @description Numeric code: 704\n * @description Alphabetic code: VND\n * @description Countries and territories: Vietnam\n * @description Currency symbol: đ\n */\n\n /**\n * South Korean won\n *\n * @description Numeric code: 410\n * @description Alphabetic code: KRW\n * @description Countries and territories: South Korea\n * @description Currency symbol: ₩\n */\n Won = `KRW`,\n /**\n * New Turkmen manat\n *\n * @description Numeric code: 934\n * @description Alphabetic code: TMT\n * @description Countries and territories: Turkmenistan\n * @description Currency symbol: TMT\n */\n\n /**\n * Japanese yen\n *\n * @description Numeric code: 392\n * @description Alphabetic code: JPY\n * @description Countries and territories: Japan\n * @description Currency symbol: ¥\n */\n Yen = `JPY`,\n /**\n * Chinese yuan\n *\n * @description Numeric code: 156\n * @description Alphabetic code: CNY\n * @description Countries and territories: China\n * @description Currency symbol: CN¥\n */\n YuanRenminbi = `CNY`,\n}\n","/**\n * **Active ISO 4217 numeric currency codes**\n *\n * @description The ISO 4217 classification is used to describe alphabetic and numeric currency codes.\n * @description Numeric code is also called \"number-3\".\n *\n * @link https://en.wikipedia.org/wiki/ISO_4217\n */\n// TODO: change type in v4.0\n// eslint-disable-next-line no-restricted-syntax\nexport enum TuiCurrencyCode {\n /**\n * Armenian dram\n *\n * @description Numeric code: 051\n * @description Alphabetic code: AMD\n * @description Countries and territories: Armenia\n * @description Currency symbol: ֏\n */\n ArmenianDram = `051`,\n\n /**\n * Australian dollar\n *\n * @description Numeric code: 036\n * @description Alphabetic code: AUD\n * @description Countries and territories: Australia, Christmas Island (CX), Cocos (Keeling) Islands (CC), Heard Island and McDonald Islands (HM), Kiribati (KI), Nauru (NR), Norfolk Island (NF), Tuvalu (TV)\n * @description Currency symbol: A$\n */\n AustralianDollar = `036`,\n\n /**\n * Azerbaijani manat\n *\n * @description Numeric code: 944\n * @description Alphabetic code: AZN\n * @description Countries and territories: Azerbaijan\n * @description Currency symbol: ₼\n */\n AzerbaijaniManat = `944`,\n\n /**\n * Thai baht\n *\n * @description Numeric code: 764\n * @description Alphabetic code: THB\n * @description Countries and territories: Thailand\n * @description Currency symbol: ฿\n */\n Baht = `764`,\n\n /**\n *\n * Belarusian ruble\n *\n * @description Numeric code: 933\n * @description Alphabetic code: BYN\n * @description Countries and territories: Belarus\n * @description Currency symbol: Rbl\n */\n BelarusianRuble = `933`,\n\n /**\n * Brazilian Real\n *\n * @description Numeric code: 986\n * @description Alphabetic code: BRL\n * @description Countries and territories: Brazilia\n * @description Currency symbol: R$\n */\n BrazilianReal = `986`,\n\n /**\n * Canadian dollar\n *\n * @description Numeric code: 124\n * @description Alphabetic code: CAD\n * @description Countries and territories: Canada\n * @description Currency symbol: C$\n */\n CanadianDollar = `124`,\n\n /**\n * United Arab Emirates dirham\n *\n * @description Numeric code: 784\n * @description Alphabetic code: AED\n * @description Countries and territories: United Arab Emirates\n * @description Currency symbol: Dh\n */\n Dirham = `784`,\n\n /**\n * United States dollar\n *\n * @description Numeric code: 840\n * @description Alphabetic code: USD\n * @description Countries and territories: United States, American Samoa (AS), British Indian Ocean Territory (IO) (also uses GBP), British Virgin Islands (VG), Caribbean Netherlands (BQ – Bonaire, Sint Eustatius and Saba), Ecuador (EC), El Salvador (SV), Guam (GU), Marshall Islands (MH), Federated States of Micronesia (FM), Northern Mariana Islands (MP), Palau (PW), Panama (PA) (as well as Panamanian Balboa), Puerto Rico (PR), Timor-Leste (TL), Turks and Caicos Islands (TC), U.S. Virgin Islands (VI), United States Minor Outlying Islands (UM)\n * @description Currency symbol: $\n */\n Dollar = `840`,\n\n /**\n * Euro\n *\n * @description Numeric code: 978\n * @description Alphabetic code: EUR\n * @description Countries and territories: Åland Islands (AX), European Union (EU), Andorra (AD), Austria (AT), Belgium (BE), Cyprus (CY), Estonia (EE), Finland (FI), France (FR), French Southern and Antarctic Lands (TF), Germany (DE), Greece (GR), Guadeloupe (GP), Ireland (IE), Italy (IT), Latvia (LV), Lithuania (LT), Luxembourg (LU), Malta (MT), French Guiana (GF), Martinique (MQ), Mayotte (YT), Monaco (MC), Montenegro (ME), Netherlands (NL), Portugal (PT), Réunion (RE), Saint Barthélemy (BL), Saint Martin (MF), Saint Pierre and Miquelon (PM), San Marino (SM), Slovakia (SK), Slovenia (SI), Spain (ES), Vatican City (VA)\n * @description Currency symbol: €\n */\n Euro = `978`,\n\n /**\n * Georgian lari\n *\n * @description Numeric code: 981\n * @description Alphabetic code: GEL\n * @description Countries and territories: Georgia\n * @description Currency symbol: ₾\n */\n GeorgianLari = `981`,\n\n /**\n * Hong Kong dollar\n *\n * @description Numeric code: 344\n * @description Alphabetic code: HKD\n * @description Countries and territories: Hong Kong\n * @description Currency symbol: HK$\n */\n HongKongDollar = `344`,\n\n /**\n * Ukrainian hryvnia\n *\n * @description Numeric code: 980\n * @description Alphabetic code: UAH\n * @description Countries and territories: Ukraine\n * @description Currency symbol: ₴\n */\n Hryvnia = `980`,\n\n /**\n * Indian rupee\n *\n * @description Numeric code: 356\n * @description Alphabetic code: INR\n * @description Countries and territories: India, Bhutan\n * @description Currency symbol: ₹\n */\n IndianRupee = `356`,\n\n /**\n * Indonesian rupiah\n *\n * @description Numeric code: 360\n * @description Alphabetic code: IDR\n * @description Countries and territories: Indonesia\n * @description Currency symbol: Rp\n */\n IndonesianRupiah = `360`,\n\n /**\n * Iranian rial\n *\n * @description Numeric code: 364\n * @description Alphabetic code: IRR\n * @description Countries and territories: Iran\n * @description Currency symbol: IR\n */\n IranianRial = `364`,\n\n /**\n * Israeli new shekel\n *\n * @description Numeric code: 376\n * @description Alphabetic code: ILS\n * @description Countries and territories: Israel\n * @description Currency symbol: ₪\n */\n IsraeliShekel = `376`,\n\n /**\n * Kyrgyzstani som\n *\n * @description Numeric code: 417\n * @description Alphabetic code: KGS\n * @description Countries and territories: Kyrgyzstan\n * @description Currency symbol: c\n */\n KyrgyzstanSom = `417`,\n\n /**\n * Malaysian ringgit\n *\n * @description Numeric code: 458\n * @description Alphabetic code: MYR\n * @description Countries and territories: Malaysia\n * @description Currency symbol: RM\n */\n MalaysianRinggit = `458`,\n\n /**\n * Mexican peso\n *\n * @description Numeric code: 484\n * @description Alphabetic code: MXN\n * @description Countries and territories: Mexico\n * @description Currency symbol: $\n */\n MexicanPeso = `484`,\n\n /**\n * Mongolian tugrik\n *\n * @description Numeric code: 496\n * @description Alphabetic code: MNT\n * @description Countries and territories: Mongolia\n * @description Currency symbol: ₮\n */\n MongolianTugrik = `496`,\n\n /**\n * New Turkmen manat\n *\n * @description Numeric code: 934\n * @description Alphabetic code: TMT\n * @description Countries and territories: Turkmenistan\n * @description Currency symbol: TMT\n */\n NewTurkmenManat = `934`,\n\n /**\n * Pound sterling\n *\n * @description Numeric code: 826\n * @description Alphabetic code: GBP\n * @description Countries and territories: United Kingdom, Isle of Man (IM, see Manx pound), Jersey (JE, see Jersey pound), Guernsey (GG, see Guernsey pound), Tristan da Cunha (SH-TA)\n * @description Currency symbol: £\n */\n Pound = `826`,\n\n /**\n * Tajikistani somoni\n *\n * @description Numeric code: 972\n * @description Alphabetic code: TJS\n * @description Countries and territories: Tajikistan\n * @description Currency symbol: SM\n */\n\n /**\n * Russian ruble\n *\n * @description Numeric code: 643\n * @description Alphabetic code: RUB\n * @description Countries and territories: Russia\n * @description Currency symbol: ₽\n */\n Ruble = `643`,\n\n /**\n * Saudi Riyal\n *\n * @description Numeric code: 682\n * @description Alphabetic code: SAR\n * @description Countries and territories: Saudi Arabia\n * @description Currency symbol: SR\n */\n SaudiRiyal = `682`,\n\n /**\n * Serbian dinar\n *\n * @description Numeric code: 941\n * @description Alphabetic code: RSD\n * @description Countries and territories: Serbia\n * @description Currency symbol: DIN\n */\n SerbianDinar = `941`,\n\n /**\n * Singapore dollar\n *\n * @description Numeric code: 702\n * @description Alphabetic code: SGD\n * @description Countries and territories: Singapore\n * @description Currency symbol: S$\n */\n SingaporeDollar = `702`,\n\n /**\n * South African rand\n *\n * @description Numeric code: 710\n * @description Alphabetic code: ZAR\n * @description Countries and territories: South Africa\n * @description Currency symbol: R\n */\n SouthAfricanRand = `710`,\n\n /**\n * Sri Lankan rupee\n *\n * @description Numeric code: 144\n * @description Alphabetic code: LKR\n * @description Countries and territories: Sri Lanka\n * @description Currency symbol: Rs.\n */\n SriLankanRupee = `144`,\n\n /**\n * Swiss franc\n *\n * @description Numeric code: 756\n * @description Alphabetic code: CHF\n * @description Countries and territories: Switzerland, Liechtenstein (LI)\n * @description Currency symbol: ₣\n */\n SwissFranc = `756`,\n\n TajikistaniSomoni = `972`,\n\n /**\n * Kazakhstani tenge\n *\n * @description Numeric code: 398\n * @description Alphabetic code: KZT\n * @description Countries and territories: Kazakhstan\n * @description Currency symbol: ₸\n */\n Tenge = `398`,\n\n /**\n * Turkish lira\n *\n * @description Numeric code: 949\n * @description Alphabetic code: TRY\n * @description Countries and territories: Turkey\n * @description Currency symbol: ₺\n */\n TurkishLira = `949`,\n\n /**\n * Uzbek sum\n *\n * @description Numeric code: 860\n * @description Alphabetic code: UZS\n * @description Countries and territories: Uzbekistan\n * @description Currency symbol: So'm\n */\n UzbekSum = `860`,\n\n /**\n * Vietnamese dong\n *\n * @description Numeric code: 704\n * @description Alphabetic code: VND\n * @description Countries and territories: Vietnam\n * @description Currency symbol: đ\n */\n VietnameseDong = `704`,\n\n /**\n * South Korean won\n *\n * @description Numeric code: 410\n * @description Alphabetic code: KRW\n * @description Countries and territories: South Korea\n * @description Currency symbol: ₩\n */\n Won = `410`,\n\n /**\n * Japanese yen\n *\n * @description Numeric code: 392\n * @description Alphabetic code: JPY\n * @description Countries and territories: Japan\n * @description Currency symbol: ¥\n */\n Yen = `392`,\n\n /**\n * Chinese yuan\n *\n * @description Numeric code: 156\n * @description Alphabetic code: CNY\n * @description Countries and territories: China\n * @description Currency symbol: CN¥\n */\n YuanRenminbi = `156`,\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAA;AACA;;;;;;;AAOG;AACH;AACA;IACY,YA6XX;AA7XD,CAAA,UAAY,WAAW,EAAA;AACnB;;;;;;;AAOG;AACH,IAAA,WAAA,CAAA,cAAA,CAAA,GAAA,KAAoB,CAAA;AAEpB;;;;;;;AAOG;AACH,IAAA,WAAA,CAAA,kBAAA,CAAA,GAAA,KAAwB,CAAA;AAExB,IAAA,WAAA,CAAA,kBAAA,CAAA,GAAA,KAAwB,CAAA;AAExB;;;;;;;AAOG;AACH,IAAA,WAAA,CAAA,MAAA,CAAA,GAAA,KAAY,CAAA;AAEZ,IAAA,WAAA,CAAA,iBAAA,CAAA,GAAA,KAAuB,CAAA;AAEvB;;;;;;;A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AOG;AACH,IAAA,eAAA,CAAA,OAAA,CAAA,GAAA,KAAa,CAAA;AAEb;;;;;;;AAOG;AACH,IAAA,eAAA,CAAA,aAAA,CAAA,GAAA,KAAmB,CAAA;AAEnB;;;;;;;AAOG;AACH,IAAA,eAAA,CAAA,UAAA,CAAA,GAAA,KAAgB,CAAA;AAEhB;;;;;;;AAOG;AACH,IAAA,eAAA,CAAA,gBAAA,CAAA,GAAA,KAAsB,CAAA;AAEtB;;;;;;;AAOG;AACH,IAAA,eAAA,CAAA,KAAA,CAAA,GAAA,KAAW,CAAA;AAEX;;;;;;;AAOG;AACH,IAAA,eAAA,CAAA,KAAA,CAAA,GAAA,KAAW,CAAA;AAEX;;;;;;;AAOG;AACH,IAAA,eAAA,CAAA,cAAA,CAAA,GAAA,KAAoB,CAAA;AACxB,CAAC,EA9XW,eAAe,KAAf,eAAe,GA8X1B,EAAA,CAAA,CAAA;;ACxYD;;AAEG;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-addon-commerce-utils.js","sources":["../../../projects/addon-commerce/utils/create-auto-corrected-expire-pipe.ts","../../../projects/addon-commerce/utils/get-currency-symbol.ts","../../../projects/addon-commerce/utils/format-currency.ts","../../../projects/addon-commerce/utils/get-code-by-currency.ts","../../../projects/addon-commerce/utils/get-currency-by-code.ts","../../../projects/addon-commerce/utils/get-payment-system.ts","../../../projects/addon-commerce/utils/is-card-length-valid.ts","../../../projects/addon-commerce/utils/is-card-number-valid.ts","../../../projects/addon-commerce/utils/is-expire-valid.ts","../../../projects/addon-commerce/utils/payment-system-icons.ts","../../../projects/addon-commerce/utils/taiga-ui-addon-commerce-utils.ts"],"sourcesContent":["import {TUI_NON_DIGIT_REGEXP, TuiTextMaskPipeHandler} from '@taiga-ui/core';\n\nconst TUI_EXP_YEAR_MONTH = /^\\d{2}[/|.]\\d{4}$/;\nconst TUI_EXP_SAFARI = /^\\d{1,4}.\\d{1,2}.\\d{1,4}$/;\n\n/**\n * @deprecated Use {@link https://maskito.dev/kit/date Date} from {@link https://github.com/taiga-family/maskito Maskito} instead\n * TODO: delete in v4.0\n * Correct expiration date text allowing only valid months\n * @internal\n *\n * @returns MM/YY\n */\nexport function tuiCreateAutoCorrectedExpirePipe(): TuiTextMaskPipeHandler {\n return (conformedValue, {rawValue}) => {\n // Autofilled with MM/YYYY format\n if (TUI_EXP_YEAR_MONTH.test(rawValue)) {\n conformedValue = `${rawValue.slice(0, 2)}/${rawValue.slice(5)}`;\n }\n\n // Autofilled with Safari crazy format\n if (\n rawValue.length > 7 &&\n rawValue.length < 11 &&\n TUI_EXP_SAFARI.test(rawValue)\n ) {\n const array = rawValue.split(TUI_NON_DIGIT_REGEXP);\n\n // TODO: investigate why the month is sometimes more than 2-length in safari\n const month = array[1].slice(2);\n const year = array.find(({length}) => length === 4);\n\n conformedValue = `${`0`.repeat(2 - month.length)}${month}/${\n year ? year.slice(2) : ``\n }`;\n }\n\n const indexesOfPipedChars: number[] = [];\n const conformedValueArr = conformedValue.split(``);\n\n if (parseInt(conformedValueArr[0], 10) > 1) {\n conformedValueArr[2] = `/`;\n conformedValueArr[1] = conformedValueArr[0];\n conformedValueArr[0] = `0`;\n indexesOfPipedChars.push(0);\n }\n\n return {\n value: conformedValueArr.join(``),\n indexesOfPipedChars,\n };\n };\n}\n","import {TuiCurrency, TuiCurrencyCode} from '@taiga-ui/addon-commerce/enums';\nimport {TuiCurrencyVariants} from '@taiga-ui/addon-commerce/types';\n\n// eslint-disable-next-line complexity\nexport function tuiGetCurrencySymbol(currency: TuiCurrencyVariants): string | null {\n switch (currency) {\n case TuiCurrency.Ruble:\n case TuiCurrencyCode.Ruble:\n return `₽`;\n case TuiCurrency.Dollar:\n case TuiCurrencyCode.Dollar:\n case TuiCurrency.MexicanPeso:\n case TuiCurrencyCode.MexicanPeso:\n return `$`;\n case TuiCurrency.SingaporeDollar:\n case TuiCurrencyCode.SingaporeDollar:\n return `S$`;\n case TuiCurrency.AustralianDollar:\n case TuiCurrencyCode.AustralianDollar:\n return `A$`;\n case TuiCurrency.HongKongDollar:\n case TuiCurrencyCode.HongKongDollar:\n return `HK$`;\n case TuiCurrency.CanadianDollar:\n case TuiCurrencyCode.CanadianDollar:\n return `C$`;\n case TuiCurrency.Euro:\n case TuiCurrencyCode.Euro:\n return `€`;\n case TuiCurrency.Pound:\n case TuiCurrencyCode.Pound:\n return `£`;\n case TuiCurrency.Baht:\n case TuiCurrencyCode.Baht:\n return `฿`;\n case TuiCurrency.TurkishLira:\n case TuiCurrencyCode.TurkishLira:\n return `₺`;\n case TuiCurrency.YuanRenminbi:\n case TuiCurrencyCode.YuanRenminbi:\n return `CN¥`;\n case TuiCurrency.Yen:\n case TuiCurrencyCode.Yen:\n return `¥`;\n case TuiCurrency.IsraeliShekel:\n case TuiCurrencyCode.IsraeliShekel:\n return `₪`;\n case TuiCurrency.IndianRupee:\n case TuiCurrencyCode.IndianRupee:\n return `₹`;\n case TuiCurrency.SwissFranc:\n case TuiCurrencyCode.SwissFranc:\n return `₣`;\n case TuiCurrency.ArmenianDram:\n case TuiCurrencyCode.ArmenianDram:\n return `֏`;\n case TuiCurrency.Won:\n case TuiCurrencyCode.Won:\n return `₩`;\n case TuiCurrency.Tenge:\n case TuiCurrencyCode.Tenge:\n return `₸`;\n case TuiCurrency.Hryvnia:\n case TuiCurrencyCode.Hryvnia:\n return `₴`;\n case TuiCurrency.UzbekSum:\n case TuiCurrencyCode.UzbekSum:\n return `So'm`;\n case TuiCurrency.KyrgyzstanSom:\n case TuiCurrencyCode.KyrgyzstanSom:\n return `c`;\n case TuiCurrency.Dirham:\n case TuiCurrencyCode.Dirham:\n return `Dh`;\n case TuiCurrency.TajikistaniSomoni:\n case TuiCurrencyCode.TajikistaniSomoni:\n return `SM`;\n case TuiCurrency.MalaysianRinggit:\n case TuiCurrencyCode.MalaysianRinggit:\n return `RM`;\n case TuiCurrency.BelarusianRuble:\n case TuiCurrencyCode.BelarusianRuble:\n return `Rbl`;\n case TuiCurrency.GeorgianLari:\n case TuiCurrencyCode.GeorgianLari:\n return `₾`;\n case TuiCurrency.AzerbaijaniManat:\n case TuiCurrencyCode.AzerbaijaniManat:\n return `₼`;\n case TuiCurrency.SriLankanRupee:\n case TuiCurrencyCode.SriLankanRupee:\n return `Rs.`;\n case TuiCurrency.SerbianDinar:\n case TuiCurrencyCode.SerbianDinar:\n return `DIN`;\n case TuiCurrency.SaudiRiyal:\n case TuiCurrencyCode.SaudiRiyal:\n return `SR`;\n case TuiCurrency.MongolianTugrik:\n case TuiCurrencyCode.MongolianTugrik:\n return `₮`;\n case TuiCurrency.SouthAfricanRand:\n case TuiCurrencyCode.SouthAfricanRand:\n return `R`;\n case TuiCurrency.IranianRial:\n case TuiCurrencyCode.IranianRial:\n return `IR`;\n case TuiCurrency.IndonesianRupiah:\n case TuiCurrencyCode.IndonesianRupiah:\n return `Rp`;\n case TuiCurrency.VietnameseDong:\n case TuiCurrencyCode.VietnameseDong:\n return `đ`;\n case TuiCurrency.NewTurkmenManat:\n case TuiCurrencyCode.NewTurkmenManat:\n return `TMT`;\n case TuiCurrency.BrazilianReal:\n case TuiCurrencyCode.BrazilianReal:\n return `R$`;\n default:\n return null;\n }\n}\n","import {TuiCurrencyVariants} from '@taiga-ui/addon-commerce/types';\nimport {tuiIsString} from '@taiga-ui/cdk';\n\nimport {tuiGetCurrencySymbol} from './get-currency-symbol';\n\nexport function tuiFormatCurrency(currency: TuiCurrencyVariants): string {\n const stringifiedCurrency = stringifyCurrency(currency);\n\n return tuiGetCurrencySymbol(stringifiedCurrency) || stringifiedCurrency;\n}\n\nfunction stringifyCurrency(currency: TuiCurrencyVariants): string {\n return currency === null || tuiIsString(currency)\n ? currency || ``\n : String(currency).padStart(3, `0`);\n}\n","// cspell:disable\nimport {TuiCurrency, TuiCurrencyCode} from '@taiga-ui/addon-commerce/enums';\n\nexport const TUI_CODE_DICTIONARY: Record<TuiCurrency, TuiCurrencyCode> = {\n [TuiCurrency.Ruble]: TuiCurrencyCode.Ruble,\n [TuiCurrency.Dollar]: TuiCurrencyCode.Dollar,\n [TuiCurrency.MexicanPeso]: TuiCurrencyCode.MexicanPeso,\n [TuiCurrency.SingaporeDollar]: TuiCurrencyCode.SingaporeDollar,\n [TuiCurrency.AustralianDollar]: TuiCurrencyCode.AustralianDollar,\n [TuiCurrency.HongKongDollar]: TuiCurrencyCode.HongKongDollar,\n [TuiCurrency.CanadianDollar]: TuiCurrencyCode.CanadianDollar,\n [TuiCurrency.Euro]: TuiCurrencyCode.Euro,\n [TuiCurrency.Pound]: TuiCurrencyCode.Pound,\n [TuiCurrency.Baht]: TuiCurrencyCode.Baht,\n [TuiCurrency.TurkishLira]: TuiCurrencyCode.TurkishLira,\n [TuiCurrency.YuanRenminbi]: TuiCurrencyCode.YuanRenminbi,\n [TuiCurrency.Yen]: TuiCurrencyCode.Yen,\n [TuiCurrency.IsraeliShekel]: TuiCurrencyCode.IsraeliShekel,\n [TuiCurrency.IndianRupee]: TuiCurrencyCode.IndianRupee,\n [TuiCurrency.SwissFranc]: TuiCurrencyCode.SwissFranc,\n [TuiCurrency.ArmenianDram]: TuiCurrencyCode.ArmenianDram,\n [TuiCurrency.Won]: TuiCurrencyCode.Won,\n [TuiCurrency.Tenge]: TuiCurrencyCode.Tenge,\n [TuiCurrency.Hryvnia]: TuiCurrencyCode.Hryvnia,\n [TuiCurrency.UzbekSum]: TuiCurrencyCode.UzbekSum,\n [TuiCurrency.KyrgyzstanSom]: TuiCurrencyCode.KyrgyzstanSom,\n [TuiCurrency.Dirham]: TuiCurrencyCode.Dirham,\n [TuiCurrency.TajikistaniSomoni]: TuiCurrencyCode.TajikistaniSomoni,\n [TuiCurrency.MalaysianRinggit]: TuiCurrencyCode.MalaysianRinggit,\n [TuiCurrency.BelarusianRuble]: TuiCurrencyCode.BelarusianRuble,\n [TuiCurrency.GeorgianLari]: TuiCurrencyCode.GeorgianLari,\n [TuiCurrency.AzerbaijaniManat]: TuiCurrencyCode.AzerbaijaniManat,\n [TuiCurrency.SriLankanRupee]: TuiCurrencyCode.SriLankanRupee,\n [TuiCurrency.SerbianDinar]: TuiCurrencyCode.SerbianDinar,\n [TuiCurrency.SaudiRiyal]: TuiCurrencyCode.SaudiRiyal,\n [TuiCurrency.MongolianTugrik]: TuiCurrencyCode.MongolianTugrik,\n [TuiCurrency.SouthAfricanRand]: TuiCurrencyCode.SouthAfricanRand,\n [TuiCurrency.IranianRial]: TuiCurrencyCode.IranianRial,\n [TuiCurrency.IndonesianRupiah]: TuiCurrencyCode.IndonesianRupiah,\n [TuiCurrency.VietnameseDong]: TuiCurrencyCode.VietnameseDong,\n [TuiCurrency.NewTurkmenManat]: TuiCurrencyCode.NewTurkmenManat,\n [TuiCurrency.BrazilianReal]: TuiCurrencyCode.BrazilianReal,\n};\n\nexport function tuiGetCodeByCurrency(code: TuiCurrency): TuiCurrencyCode | null {\n return TUI_CODE_DICTIONARY[code] ?? null;\n}\n","// cspell:disable\nimport {TuiCurrency, TuiCurrencyCode} from '@taiga-ui/addon-commerce/enums';\n\nexport const TUI_CURRENCY_DICTIONARY: Record<TuiCurrencyCode, TuiCurrency> = {\n [TuiCurrencyCode.Ruble]: TuiCurrency.Ruble,\n [TuiCurrencyCode.Dollar]: TuiCurrency.Dollar,\n [TuiCurrencyCode.MexicanPeso]: TuiCurrency.MexicanPeso,\n [TuiCurrencyCode.SingaporeDollar]: TuiCurrency.SingaporeDollar,\n [TuiCurrencyCode.SingaporeDollar]: TuiCurrency.SingaporeDollar,\n [TuiCurrencyCode.AustralianDollar]: TuiCurrency.AustralianDollar,\n [TuiCurrencyCode.HongKongDollar]: TuiCurrency.HongKongDollar,\n [TuiCurrencyCode.CanadianDollar]: TuiCurrency.CanadianDollar,\n [TuiCurrencyCode.Euro]: TuiCurrency.Euro,\n [TuiCurrencyCode.Pound]: TuiCurrency.Pound,\n [TuiCurrencyCode.Baht]: TuiCurrency.Baht,\n [TuiCurrencyCode.TurkishLira]: TuiCurrency.TurkishLira,\n [TuiCurrencyCode.YuanRenminbi]: TuiCurrency.YuanRenminbi,\n [TuiCurrencyCode.Yen]: TuiCurrency.Yen,\n [TuiCurrencyCode.IsraeliShekel]: TuiCurrency.IsraeliShekel,\n [TuiCurrencyCode.IsraeliShekel]: TuiCurrency.IsraeliShekel,\n [TuiCurrencyCode.IndianRupee]: TuiCurrency.IndianRupee,\n [TuiCurrencyCode.SwissFranc]: TuiCurrency.SwissFranc,\n [TuiCurrencyCode.ArmenianDram]: TuiCurrency.ArmenianDram,\n [TuiCurrencyCode.Won]: TuiCurrency.Won,\n [TuiCurrencyCode.Tenge]: TuiCurrency.Tenge,\n [TuiCurrencyCode.Hryvnia]: TuiCurrency.Hryvnia,\n [TuiCurrencyCode.UzbekSum]: TuiCurrency.UzbekSum,\n [TuiCurrencyCode.KyrgyzstanSom]: TuiCurrency.KyrgyzstanSom,\n [TuiCurrencyCode.Dirham]: TuiCurrency.Dirham,\n [TuiCurrencyCode.TajikistaniSomoni]: TuiCurrency.TajikistaniSomoni,\n [TuiCurrencyCode.MalaysianRinggit]: TuiCurrency.MalaysianRinggit,\n [TuiCurrencyCode.BelarusianRuble]: TuiCurrency.BelarusianRuble,\n [TuiCurrencyCode.GeorgianLari]: TuiCurrency.GeorgianLari,\n [TuiCurrencyCode.AzerbaijaniManat]: TuiCurrency.AzerbaijaniManat,\n [TuiCurrencyCode.SriLankanRupee]: TuiCurrency.SriLankanRupee,\n [TuiCurrencyCode.SerbianDinar]: TuiCurrency.SerbianDinar,\n [TuiCurrencyCode.SaudiRiyal]: TuiCurrency.SaudiRiyal,\n [TuiCurrencyCode.MongolianTugrik]: TuiCurrency.MongolianTugrik,\n [TuiCurrencyCode.SouthAfricanRand]: TuiCurrency.SouthAfricanRand,\n [TuiCurrencyCode.IranianRial]: TuiCurrency.IranianRial,\n [TuiCurrencyCode.IndonesianRupiah]: TuiCurrency.IndonesianRupiah,\n [TuiCurrencyCode.VietnameseDong]: TuiCurrency.VietnameseDong,\n [TuiCurrencyCode.NewTurkmenManat]: TuiCurrency.NewTurkmenManat,\n [TuiCurrencyCode.BrazilianReal]: TuiCurrency.BrazilianReal,\n};\n\nexport function tuiGetCurrencyByCode(currency: TuiCurrencyCode): TuiCurrency | null {\n return TUI_CURRENCY_DICTIONARY[currency] ?? null;\n}\n","import {TuiPaymentSystem} from '@taiga-ui/addon-commerce/types';\n\n// https://en.wikipedia.org/wiki/Payment_card_number#Issuer_identification_number_(IIN)\nexport const TUI_BIN_TABLE: ReadonlyArray<\n [paymentSystem: TuiPaymentSystem, start: number, end?: number]\n> = [\n [`mir`, 2200, 2204],\n [`mastercard`, 2221, 2720],\n [`jcb`, 3528, 3589],\n [`amex`, 34],\n [`amex`, 37],\n [`dinersclub`, 36],\n [`electron`, 4026],\n [`electron`, 4175],\n [`electron`, 4405],\n [`electron`, 4508],\n [`electron`, 4844],\n [`electron`, 4913],\n [`electron`, 4917],\n [`visa`, 4],\n [`verve`, 506099, 506198],\n [`verve`, 507865, 507964],\n [`maestro`, 5018],\n [`maestro`, 5020],\n [`maestro`, 5038],\n [`maestro`, 5090],\n [`maestro`, 5890],\n [`maestro`, 5893],\n [`rupay`, 508],\n [`maestro`, 50],\n [`dinersclub`, 54],\n [`mastercard`, 51, 55],\n [`maestro`, 56],\n [`maestro`, 58],\n [`mastercard`, 5],\n [`maestro`, 6000],\n [`maestro`, 6304],\n [`maestro`, 6759, 6763],\n [`verve`, 650002, 650027],\n [`maestro`, 676770],\n [`maestro`, 676774],\n [`discover`, 644, 649],\n [`discover`, 6011],\n [`rupay`, 60],\n [`unionpay`, 62],\n [`discover`, 65],\n [`maestro`, 6],\n [`rupay`, 81, 82],\n [`uzcard`, 8600],\n [`humo`, 9860],\n];\n\nexport function tuiGetPaymentSystem(\n cardNumber?: string | null,\n supported?: TuiPaymentSystem[],\n): TuiPaymentSystem | null {\n if (!cardNumber) {\n return null;\n }\n\n const row = TUI_BIN_TABLE.find(([paymentSystem, start, end = start]) => {\n const cardNumberNumeric = Number.parseInt(\n cardNumber.slice(0, String(start).length),\n 10,\n );\n\n const match = cardNumberNumeric >= start && cardNumberNumeric <= end;\n\n return match && (!supported?.length || supported.includes(paymentSystem));\n });\n\n return row?.[0] ?? null;\n}\n\nexport function tuiIsMaestro(three: number, two: number, one: number): boolean {\n if (one === 6) {\n return true;\n }\n\n if (two === 50 || (two > 55 && two < 59)) {\n return true;\n }\n\n if (three < 500) {\n return false;\n }\n\n return three < 510;\n}\n\nexport function tuiIsMastercard(four: number, two: number, one: number): boolean {\n if (one === 5) {\n return true;\n }\n\n if (two < 10) {\n return false;\n }\n\n if (two > 50 && two < 56) {\n return true;\n }\n\n if (four < 1000) {\n return false;\n }\n\n return four > 2220 && four < 2721;\n}\n\nexport function tuiIsMir(four: number): boolean {\n return four > 2199 && four < 2205;\n}\n\nexport function tuiIsElectron(four: number): boolean {\n switch (four) {\n case 4026:\n case 4175:\n case 4405:\n case 4508:\n case 4844:\n case 4913:\n case 4917:\n return true;\n default:\n return false;\n }\n}\n\nexport function tuiIsVisa(one: number): boolean {\n return one === 4;\n}\n","import {tuiGetPaymentSystem} from './get-payment-system';\n\n/**\n * Validates card number length using payment system dictionary\n */\nexport function tuiIsCardLengthValid(cardNumber: string): boolean {\n const {length} = cardNumber;\n const paymentSystem = tuiGetPaymentSystem(cardNumber);\n\n switch (paymentSystem) {\n case `electron`:\n return length === 16;\n case `maestro`:\n return length > 11 && length < 20;\n case `mastercard`:\n case `mir`:\n return length > 15 && length < 20;\n case `visa`:\n return length > 12 && length < 20;\n default:\n return length > 8 && length < 20;\n }\n}\n","import {TUI_NON_DIGITS_REGEXP} from '@taiga-ui/core';\n\n/**\n * Validates card number using Luhn algorithm\n */\nexport function tuiIsCardNumberValid(value: number | string): boolean {\n const cardNumber = String(value).replace(TUI_NON_DIGITS_REGEXP, ``);\n\n const {length} = cardNumber;\n const arr = cardNumber.split(``).map((char, index) => {\n const digit = parseInt(char, 10);\n\n if ((index + length) % 2 === 0) {\n const digitX2 = digit * 2;\n\n return digitX2 > 9 ? digitX2 - 9 : digitX2;\n }\n\n return digit;\n });\n\n return !(arr.reduce((a, b) => a + b, 0) % 10);\n}\n","import {tuiClamp} from '@taiga-ui/cdk';\n\nexport function tuiIsExpireValid(expire: string, today = new Date()): boolean {\n const currentMonth = today.getMonth() + 1;\n const currentYear = today.getFullYear() - 2000;\n const expireMonth = tuiClamp(parseInt(expire.slice(0, 2), 10), 1, 12);\n const expireYear = tuiClamp(parseInt(expire.slice(-2), 10), 0, 99);\n\n return (\n expireYear > currentYear ||\n (currentYear === expireYear && expireMonth >= currentMonth)\n );\n}\n","import {TuiPaymentSystem} from '@taiga-ui/addon-commerce/types';\n\n// TODO: Make it a token in 4.0, think about mono icons for card component\nexport const TUI_PAYMENT_SYSTEM_ICONS: Record<TuiPaymentSystem, string> = {\n mir: `tuiIconMir`,\n visa: `tuiIconVisaMono`,\n electron: `tuiIconElectronMono`,\n mastercard: `tuiIconMastercard`,\n maestro: `tuiIconMaestro`,\n amex: `tuiIconAmex`,\n dinersclub: `tuiIconDinersClub`,\n discover: `tuiIconDiscover`,\n humo: `tuiIconHumo`,\n jcb: `tuiIconJCB`,\n rupay: `tuiIconRuPay`,\n unionpay: `tuiIconUnionPay`,\n uzcard: `tuiIconUzcard`,\n verve: `tuiIconVerve`,\n};\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAEA,MAAM,kBAAkB,GAAG,mBAAmB,CAAC;AAC/C,MAAM,cAAc,GAAG,2BAA2B,CAAC;AAEnD;;;;;;;AAOG;SACa,gCAAgC,GAAA;AAC5C,IAAA,OAAO,CAAC,cAAc,EAAE,EAAC,QAAQ,EAAC,KAAI;;AAElC,QAAA,IAAI,kBAAkB,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE;AACnC,YAAA,cAAc,GAAG,CAAG,EAAA,QAAQ,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA,CAAA,EAAI,QAAQ,CAAC,KAAK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UAAU,GAAG,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IAEnE,QACI,UAAU,GAAG,WAAW;SACvB,WAAW,KAAK,UAAU,IAAI,WAAW,IAAI,YAAY,CAAC,EAC7D;AACN;;ACVA;AACa,MAAA,wBAAwB,GAAqC;AACtE,IAAA,GAAG,EAAE,CAAY,UAAA,CAAA;AACjB,IAAA,IAAI,EAAE,CAAiB,eAAA,CAAA;AACvB,IAAA,QAAQ,EAAE,CAAqB,mBAAA,CAAA;AAC/B,IAAA,UAAU,EAAE,CAAmB,iBAAA,CAAA;AAC/B,IAAA,OAAO,EAAE,CAAgB,cAAA,CAAA;AACzB,IAAA,IAAI,EAAE,CAAa,WAAA,CAAA;AACnB,IAAA,UAAU,EAAE,CAAmB,iBAAA,CAAA;AAC/B,IAAA,QAAQ,EAAE,CAAiB,eAAA,CAAA;AAC3B,IAAA,IAAI,EAAE,CAAa,WAAA,CAAA;AACnB,IAAA,GAAG,EAAE,CAAY,UAAA,CAAA;AACjB,IAAA,KAAK,EAAE,CAAc,YAAA,CAAA;AACrB,IAAA,QAAQ,EAAE,CAAiB,eAAA,CAAA;AAC3B,IAAA,MAAM,EAAE,CAAe,aAAA,CAAA;AACvB,IAAA,KAAK,EAAE,CAAc,YAAA,CAAA;;;ACjBzB;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"taiga-ui-addon-commerce-utils.js","sources":["../../../projects/addon-commerce/utils/create-auto-corrected-expire-pipe.ts","../../../projects/addon-commerce/utils/get-currency-symbol.ts","../../../projects/addon-commerce/utils/format-currency.ts","../../../projects/addon-commerce/utils/get-code-by-currency.ts","../../../projects/addon-commerce/utils/get-currency-by-code.ts","../../../projects/addon-commerce/utils/get-payment-system.ts","../../../projects/addon-commerce/utils/is-card-length-valid.ts","../../../projects/addon-commerce/utils/is-card-number-valid.ts","../../../projects/addon-commerce/utils/is-expire-valid.ts","../../../projects/addon-commerce/utils/payment-system-icons.ts","../../../projects/addon-commerce/utils/taiga-ui-addon-commerce-utils.ts"],"sourcesContent":["import {TUI_NON_DIGIT_REGEXP, TuiTextMaskPipeHandler} from '@taiga-ui/core';\n\nconst TUI_EXP_YEAR_MONTH = /^\\d{2}[/|.]\\d{4}$/;\nconst TUI_EXP_SAFARI = /^\\d{1,4}.\\d{1,2}.\\d{1,4}$/;\n\n/**\n * @deprecated Use {@link https://maskito.dev/kit/date Date} from {@link https://github.com/taiga-family/maskito Maskito} instead\n * TODO: delete in v4.0\n * Correct expiration date text allowing only valid months\n * @internal\n *\n * @returns MM/YY\n */\nexport function tuiCreateAutoCorrectedExpirePipe(): TuiTextMaskPipeHandler {\n return (conformedValue, {rawValue}) => {\n // Autofilled with MM/YYYY format\n if (TUI_EXP_YEAR_MONTH.test(rawValue)) {\n conformedValue = `${rawValue.slice(0, 2)}/${rawValue.slice(5)}`;\n }\n\n // Autofilled with Safari crazy format\n if (\n rawValue.length > 7 &&\n rawValue.length < 11 &&\n TUI_EXP_SAFARI.test(rawValue)\n ) {\n const array = rawValue.split(TUI_NON_DIGIT_REGEXP);\n\n // TODO: investigate why the month is sometimes more than 2-length in safari\n const month = array[1].slice(2);\n const year = array.find(({length}) => length === 4);\n\n conformedValue = `${`0`.repeat(2 - month.length)}${month}/${\n year ? year.slice(2) : ``\n }`;\n }\n\n const indexesOfPipedChars: number[] = [];\n const conformedValueArr = conformedValue.split(``);\n\n if (parseInt(conformedValueArr[0], 10) > 1) {\n conformedValueArr[2] = `/`;\n conformedValueArr[1] = conformedValueArr[0];\n conformedValueArr[0] = `0`;\n indexesOfPipedChars.push(0);\n }\n\n return {\n value: conformedValueArr.join(``),\n indexesOfPipedChars,\n };\n };\n}\n","import {TuiCurrency, TuiCurrencyCode} from '@taiga-ui/addon-commerce/enums';\nimport {TuiCurrencyVariants} from '@taiga-ui/addon-commerce/types';\n\nexport function tuiGetCurrencySymbol(currency: TuiCurrencyVariants): string | null {\n switch (currency) {\n case TuiCurrency.Ruble:\n case TuiCurrencyCode.Ruble:\n return `₽`;\n case TuiCurrency.Dollar:\n case TuiCurrencyCode.Dollar:\n case TuiCurrency.MexicanPeso:\n case TuiCurrencyCode.MexicanPeso:\n return `$`;\n case TuiCurrency.SingaporeDollar:\n case TuiCurrencyCode.SingaporeDollar:\n return `S$`;\n case TuiCurrency.AustralianDollar:\n case TuiCurrencyCode.AustralianDollar:\n return `A$`;\n case TuiCurrency.HongKongDollar:\n case TuiCurrencyCode.HongKongDollar:\n return `HK$`;\n case TuiCurrency.CanadianDollar:\n case TuiCurrencyCode.CanadianDollar:\n return `C$`;\n case TuiCurrency.Euro:\n case TuiCurrencyCode.Euro:\n return `€`;\n case TuiCurrency.Pound:\n case TuiCurrencyCode.Pound:\n return `£`;\n case TuiCurrency.Baht:\n case TuiCurrencyCode.Baht:\n return `฿`;\n case TuiCurrency.TurkishLira:\n case TuiCurrencyCode.TurkishLira:\n return `₺`;\n case TuiCurrency.YuanRenminbi:\n case TuiCurrencyCode.YuanRenminbi:\n return `CN¥`;\n case TuiCurrency.Yen:\n case TuiCurrencyCode.Yen:\n return `¥`;\n case TuiCurrency.IsraeliShekel:\n case TuiCurrencyCode.IsraeliShekel:\n return `₪`;\n case TuiCurrency.IndianRupee:\n case TuiCurrencyCode.IndianRupee:\n return `₹`;\n case TuiCurrency.SwissFranc:\n case TuiCurrencyCode.SwissFranc:\n return `₣`;\n case TuiCurrency.ArmenianDram:\n case TuiCurrencyCode.ArmenianDram:\n return `֏`;\n case TuiCurrency.Won:\n case TuiCurrencyCode.Won:\n return `₩`;\n case TuiCurrency.Tenge:\n case TuiCurrencyCode.Tenge:\n return `₸`;\n case TuiCurrency.Hryvnia:\n case TuiCurrencyCode.Hryvnia:\n return `₴`;\n case TuiCurrency.UzbekSum:\n case TuiCurrencyCode.UzbekSum:\n return `So'm`;\n case TuiCurrency.KyrgyzstanSom:\n case TuiCurrencyCode.KyrgyzstanSom:\n return `c`;\n case TuiCurrency.Dirham:\n case TuiCurrencyCode.Dirham:\n return `Dh`;\n case TuiCurrency.TajikistaniSomoni:\n case TuiCurrencyCode.TajikistaniSomoni:\n return `SM`;\n case TuiCurrency.MalaysianRinggit:\n case TuiCurrencyCode.MalaysianRinggit:\n return `RM`;\n case TuiCurrency.BelarusianRuble:\n case TuiCurrencyCode.BelarusianRuble:\n return `Rbl`;\n case TuiCurrency.GeorgianLari:\n case TuiCurrencyCode.GeorgianLari:\n return `₾`;\n case TuiCurrency.AzerbaijaniManat:\n case TuiCurrencyCode.AzerbaijaniManat:\n return `₼`;\n case TuiCurrency.SriLankanRupee:\n case TuiCurrencyCode.SriLankanRupee:\n return `Rs.`;\n case TuiCurrency.SerbianDinar:\n case TuiCurrencyCode.SerbianDinar:\n return `DIN`;\n case TuiCurrency.SaudiRiyal:\n case TuiCurrencyCode.SaudiRiyal:\n return `SR`;\n case TuiCurrency.MongolianTugrik:\n case TuiCurrencyCode.MongolianTugrik:\n return `₮`;\n case TuiCurrency.SouthAfricanRand:\n case TuiCurrencyCode.SouthAfricanRand:\n return `R`;\n case TuiCurrency.IranianRial:\n case TuiCurrencyCode.IranianRial:\n return `IR`;\n case TuiCurrency.IndonesianRupiah:\n case TuiCurrencyCode.IndonesianRupiah:\n return `Rp`;\n case TuiCurrency.VietnameseDong:\n case TuiCurrencyCode.VietnameseDong:\n return `đ`;\n case TuiCurrency.NewTurkmenManat:\n case TuiCurrencyCode.NewTurkmenManat:\n return `TMT`;\n case TuiCurrency.BrazilianReal:\n case TuiCurrencyCode.BrazilianReal:\n return `R$`;\n default:\n return null;\n }\n}\n","import {TuiCurrencyVariants} from '@taiga-ui/addon-commerce/types';\nimport {tuiIsString} from '@taiga-ui/cdk';\n\nimport {tuiGetCurrencySymbol} from './get-currency-symbol';\n\nexport function tuiFormatCurrency(currency: TuiCurrencyVariants): string {\n const stringifiedCurrency = stringifyCurrency(currency);\n\n return tuiGetCurrencySymbol(stringifiedCurrency) || stringifiedCurrency;\n}\n\nfunction stringifyCurrency(currency: TuiCurrencyVariants): string {\n return currency === null || tuiIsString(currency)\n ? currency || ``\n : String(currency).padStart(3, `0`);\n}\n","// cspell:disable\nimport {TuiCurrency, TuiCurrencyCode} from '@taiga-ui/addon-commerce/enums';\n\nexport const TUI_CODE_DICTIONARY: Record<TuiCurrency, TuiCurrencyCode> = {\n [TuiCurrency.Ruble]: TuiCurrencyCode.Ruble,\n [TuiCurrency.Dollar]: TuiCurrencyCode.Dollar,\n [TuiCurrency.MexicanPeso]: TuiCurrencyCode.MexicanPeso,\n [TuiCurrency.SingaporeDollar]: TuiCurrencyCode.SingaporeDollar,\n [TuiCurrency.AustralianDollar]: TuiCurrencyCode.AustralianDollar,\n [TuiCurrency.HongKongDollar]: TuiCurrencyCode.HongKongDollar,\n [TuiCurrency.CanadianDollar]: TuiCurrencyCode.CanadianDollar,\n [TuiCurrency.Euro]: TuiCurrencyCode.Euro,\n [TuiCurrency.Pound]: TuiCurrencyCode.Pound,\n [TuiCurrency.Baht]: TuiCurrencyCode.Baht,\n [TuiCurrency.TurkishLira]: TuiCurrencyCode.TurkishLira,\n [TuiCurrency.YuanRenminbi]: TuiCurrencyCode.YuanRenminbi,\n [TuiCurrency.Yen]: TuiCurrencyCode.Yen,\n [TuiCurrency.IsraeliShekel]: TuiCurrencyCode.IsraeliShekel,\n [TuiCurrency.IndianRupee]: TuiCurrencyCode.IndianRupee,\n [TuiCurrency.SwissFranc]: TuiCurrencyCode.SwissFranc,\n [TuiCurrency.ArmenianDram]: TuiCurrencyCode.ArmenianDram,\n [TuiCurrency.Won]: TuiCurrencyCode.Won,\n [TuiCurrency.Tenge]: TuiCurrencyCode.Tenge,\n [TuiCurrency.Hryvnia]: TuiCurrencyCode.Hryvnia,\n [TuiCurrency.UzbekSum]: TuiCurrencyCode.UzbekSum,\n [TuiCurrency.KyrgyzstanSom]: TuiCurrencyCode.KyrgyzstanSom,\n [TuiCurrency.Dirham]: TuiCurrencyCode.Dirham,\n [TuiCurrency.TajikistaniSomoni]: TuiCurrencyCode.TajikistaniSomoni,\n [TuiCurrency.MalaysianRinggit]: TuiCurrencyCode.MalaysianRinggit,\n [TuiCurrency.BelarusianRuble]: TuiCurrencyCode.BelarusianRuble,\n [TuiCurrency.GeorgianLari]: TuiCurrencyCode.GeorgianLari,\n [TuiCurrency.AzerbaijaniManat]: TuiCurrencyCode.AzerbaijaniManat,\n [TuiCurrency.SriLankanRupee]: TuiCurrencyCode.SriLankanRupee,\n [TuiCurrency.SerbianDinar]: TuiCurrencyCode.SerbianDinar,\n [TuiCurrency.SaudiRiyal]: TuiCurrencyCode.SaudiRiyal,\n [TuiCurrency.MongolianTugrik]: TuiCurrencyCode.MongolianTugrik,\n [TuiCurrency.SouthAfricanRand]: TuiCurrencyCode.SouthAfricanRand,\n [TuiCurrency.IranianRial]: TuiCurrencyCode.IranianRial,\n [TuiCurrency.IndonesianRupiah]: TuiCurrencyCode.IndonesianRupiah,\n [TuiCurrency.VietnameseDong]: TuiCurrencyCode.VietnameseDong,\n [TuiCurrency.NewTurkmenManat]: TuiCurrencyCode.NewTurkmenManat,\n [TuiCurrency.BrazilianReal]: TuiCurrencyCode.BrazilianReal,\n};\n\nexport function tuiGetCodeByCurrency(code: TuiCurrency): TuiCurrencyCode | null {\n return TUI_CODE_DICTIONARY[code] ?? null;\n}\n","// cspell:disable\nimport {TuiCurrency, TuiCurrencyCode} from '@taiga-ui/addon-commerce/enums';\n\nexport const TUI_CURRENCY_DICTIONARY: Record<TuiCurrencyCode, TuiCurrency> = {\n [TuiCurrencyCode.Ruble]: TuiCurrency.Ruble,\n [TuiCurrencyCode.Dollar]: TuiCurrency.Dollar,\n [TuiCurrencyCode.MexicanPeso]: TuiCurrency.MexicanPeso,\n [TuiCurrencyCode.SingaporeDollar]: TuiCurrency.SingaporeDollar,\n [TuiCurrencyCode.SingaporeDollar]: TuiCurrency.SingaporeDollar,\n [TuiCurrencyCode.AustralianDollar]: TuiCurrency.AustralianDollar,\n [TuiCurrencyCode.HongKongDollar]: TuiCurrency.HongKongDollar,\n [TuiCurrencyCode.CanadianDollar]: TuiCurrency.CanadianDollar,\n [TuiCurrencyCode.Euro]: TuiCurrency.Euro,\n [TuiCurrencyCode.Pound]: TuiCurrency.Pound,\n [TuiCurrencyCode.Baht]: TuiCurrency.Baht,\n [TuiCurrencyCode.TurkishLira]: TuiCurrency.TurkishLira,\n [TuiCurrencyCode.YuanRenminbi]: TuiCurrency.YuanRenminbi,\n [TuiCurrencyCode.Yen]: TuiCurrency.Yen,\n [TuiCurrencyCode.IsraeliShekel]: TuiCurrency.IsraeliShekel,\n [TuiCurrencyCode.IsraeliShekel]: TuiCurrency.IsraeliShekel,\n [TuiCurrencyCode.IndianRupee]: TuiCurrency.IndianRupee,\n [TuiCurrencyCode.SwissFranc]: TuiCurrency.SwissFranc,\n [TuiCurrencyCode.ArmenianDram]: TuiCurrency.ArmenianDram,\n [TuiCurrencyCode.Won]: TuiCurrency.Won,\n [TuiCurrencyCode.Tenge]: TuiCurrency.Tenge,\n [TuiCurrencyCode.Hryvnia]: TuiCurrency.Hryvnia,\n [TuiCurrencyCode.UzbekSum]: TuiCurrency.UzbekSum,\n [TuiCurrencyCode.KyrgyzstanSom]: TuiCurrency.KyrgyzstanSom,\n [TuiCurrencyCode.Dirham]: TuiCurrency.Dirham,\n [TuiCurrencyCode.TajikistaniSomoni]: TuiCurrency.TajikistaniSomoni,\n [TuiCurrencyCode.MalaysianRinggit]: TuiCurrency.MalaysianRinggit,\n [TuiCurrencyCode.BelarusianRuble]: TuiCurrency.BelarusianRuble,\n [TuiCurrencyCode.GeorgianLari]: TuiCurrency.GeorgianLari,\n [TuiCurrencyCode.AzerbaijaniManat]: TuiCurrency.AzerbaijaniManat,\n [TuiCurrencyCode.SriLankanRupee]: TuiCurrency.SriLankanRupee,\n [TuiCurrencyCode.SerbianDinar]: TuiCurrency.SerbianDinar,\n [TuiCurrencyCode.SaudiRiyal]: TuiCurrency.SaudiRiyal,\n [TuiCurrencyCode.MongolianTugrik]: TuiCurrency.MongolianTugrik,\n [TuiCurrencyCode.SouthAfricanRand]: TuiCurrency.SouthAfricanRand,\n [TuiCurrencyCode.IranianRial]: TuiCurrency.IranianRial,\n [TuiCurrencyCode.IndonesianRupiah]: TuiCurrency.IndonesianRupiah,\n [TuiCurrencyCode.VietnameseDong]: TuiCurrency.VietnameseDong,\n [TuiCurrencyCode.NewTurkmenManat]: TuiCurrency.NewTurkmenManat,\n [TuiCurrencyCode.BrazilianReal]: TuiCurrency.BrazilianReal,\n};\n\nexport function tuiGetCurrencyByCode(currency: TuiCurrencyCode): TuiCurrency | null {\n return TUI_CURRENCY_DICTIONARY[currency] ?? null;\n}\n","import {TuiPaymentSystem} from '@taiga-ui/addon-commerce/types';\n\n// https://en.wikipedia.org/wiki/Payment_card_number#Issuer_identification_number_(IIN)\nexport const TUI_BIN_TABLE: ReadonlyArray<\n [paymentSystem: TuiPaymentSystem, start: number, end?: number]\n> = [\n [`mir`, 2200, 2204],\n [`mastercard`, 2221, 2720],\n [`jcb`, 3528, 3589],\n [`amex`, 34],\n [`amex`, 37],\n [`dinersclub`, 36],\n [`electron`, 4026],\n [`electron`, 4175],\n [`electron`, 4405],\n [`electron`, 4508],\n [`electron`, 4844],\n [`electron`, 4913],\n [`electron`, 4917],\n [`visa`, 4],\n [`verve`, 506099, 506198],\n [`verve`, 507865, 507964],\n [`maestro`, 5018],\n [`maestro`, 5020],\n [`maestro`, 5038],\n [`maestro`, 5090],\n [`maestro`, 5890],\n [`maestro`, 5893],\n [`rupay`, 508],\n [`maestro`, 50],\n [`dinersclub`, 54],\n [`mastercard`, 51, 55],\n [`maestro`, 56],\n [`maestro`, 58],\n [`mastercard`, 5],\n [`maestro`, 6000],\n [`maestro`, 6304],\n [`maestro`, 6759, 6763],\n [`verve`, 650002, 650027],\n [`maestro`, 676770],\n [`maestro`, 676774],\n [`discover`, 644, 649],\n [`discover`, 6011],\n [`rupay`, 60],\n [`unionpay`, 62],\n [`discover`, 65],\n [`maestro`, 6],\n [`rupay`, 81, 82],\n [`uzcard`, 8600],\n [`humo`, 9860],\n];\n\nexport function tuiGetPaymentSystem(\n cardNumber?: string | null,\n supported?: TuiPaymentSystem[],\n): TuiPaymentSystem | null {\n if (!cardNumber) {\n return null;\n }\n\n const row = TUI_BIN_TABLE.find(([paymentSystem, start, end = start]) => {\n const cardNumberNumeric = Number.parseInt(\n cardNumber.slice(0, String(start).length),\n 10,\n );\n\n const match = cardNumberNumeric >= start && cardNumberNumeric <= end;\n\n return match && (!supported?.length || supported.includes(paymentSystem));\n });\n\n return row?.[0] ?? null;\n}\n\nexport function tuiIsMaestro(three: number, two: number, one: number): boolean {\n if (one === 6) {\n return true;\n }\n\n if (two === 50 || (two > 55 && two < 59)) {\n return true;\n }\n\n if (three < 500) {\n return false;\n }\n\n return three < 510;\n}\n\nexport function tuiIsMastercard(four: number, two: number, one: number): boolean {\n if (one === 5) {\n return true;\n }\n\n if (two < 10) {\n return false;\n }\n\n if (two > 50 && two < 56) {\n return true;\n }\n\n if (four < 1000) {\n return false;\n }\n\n return four > 2220 && four < 2721;\n}\n\nexport function tuiIsMir(four: number): boolean {\n return four > 2199 && four < 2205;\n}\n\nexport function tuiIsElectron(four: number): boolean {\n switch (four) {\n case 4026:\n case 4175:\n case 4405:\n case 4508:\n case 4844:\n case 4913:\n case 4917:\n return true;\n default:\n return false;\n }\n}\n\nexport function tuiIsVisa(one: number): boolean {\n return one === 4;\n}\n","import {tuiGetPaymentSystem} from './get-payment-system';\n\n/**\n * Validates card number length using payment system dictionary\n */\nexport function tuiIsCardLengthValid(cardNumber: string): boolean {\n const {length} = cardNumber;\n const paymentSystem = tuiGetPaymentSystem(cardNumber);\n\n switch (paymentSystem) {\n case `electron`:\n return length === 16;\n case `maestro`:\n return length > 11 && length < 20;\n case `mastercard`:\n case `mir`:\n return length > 15 && length < 20;\n case `visa`:\n return length > 12 && length < 20;\n default:\n return length > 8 && length < 20;\n }\n}\n","import {TUI_NON_DIGITS_REGEXP} from '@taiga-ui/core';\n\n/**\n * Validates card number using Luhn algorithm\n */\nexport function tuiIsCardNumberValid(value: number | string): boolean {\n const cardNumber = String(value).replace(TUI_NON_DIGITS_REGEXP, ``);\n\n const {length} = cardNumber;\n const arr = cardNumber.split(``).map((char, index) => {\n const digit = parseInt(char, 10);\n\n if ((index + length) % 2 === 0) {\n const digitX2 = digit * 2;\n\n return digitX2 > 9 ? digitX2 - 9 : digitX2;\n }\n\n return digit;\n });\n\n return !(arr.reduce((a, b) => a + b, 0) % 10);\n}\n","import {tuiClamp} from '@taiga-ui/cdk';\n\nexport function tuiIsExpireValid(expire: string, today = new Date()): boolean {\n const currentMonth = today.getMonth() + 1;\n const currentYear = today.getFullYear() - 2000;\n const expireMonth = tuiClamp(parseInt(expire.slice(0, 2), 10), 1, 12);\n const expireYear = tuiClamp(parseInt(expire.slice(-2), 10), 0, 99);\n\n return (\n expireYear > currentYear ||\n (currentYear === expireYear && expireMonth >= currentMonth)\n );\n}\n","import {TuiPaymentSystem} from '@taiga-ui/addon-commerce/types';\n\n// TODO: Make it a token in 4.0, think about mono icons for card component\nexport const TUI_PAYMENT_SYSTEM_ICONS: Record<TuiPaymentSystem, string> = {\n mir: `tuiIconMir`,\n visa: `tuiIconVisaMono`,\n electron: `tuiIconElectronMono`,\n mastercard: `tuiIconMastercard`,\n maestro: `tuiIconMaestro`,\n amex: `tuiIconAmex`,\n dinersclub: `tuiIconDinersClub`,\n discover: `tuiIconDiscover`,\n humo: `tuiIconHumo`,\n jcb: `tuiIconJCB`,\n rupay: `tuiIconRuPay`,\n unionpay: `tuiIconUnionPay`,\n uzcard: `tuiIconUzcard`,\n verve: `tuiIconVerve`,\n};\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAEA,MAAM,kBAAkB,GAAG,mBAAmB,CAAC;AAC/C,MAAM,cAAc,GAAG,2BAA2B,CAAC;AAEnD;;;;;;;A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2
|
"name": "@taiga-ui/addon-commerce",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.48.0",
|
|
4
4
|
"description": "Extension package for Taiga UI related to commerce, payment systems, currencies etc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
"@maskito/core": ">=1.3.0",
|
|
22
22
|
"@maskito/kit": ">=1.3.0",
|
|
23
23
|
"@ng-web-apis/common": ">=3.0.0",
|
|
24
|
-
"@taiga-ui/cdk": ">=3.
|
|
25
|
-
"@taiga-ui/core": ">=3.
|
|
26
|
-
"@taiga-ui/i18n": ">=3.
|
|
27
|
-
"@taiga-ui/kit": ">=3.
|
|
24
|
+
"@taiga-ui/cdk": ">=3.48.0",
|
|
25
|
+
"@taiga-ui/core": ">=3.48.0",
|
|
26
|
+
"@taiga-ui/i18n": ">=3.48.0",
|
|
27
|
+
"@taiga-ui/kit": ">=3.48.0",
|
|
28
28
|
"@tinkoff/ng-polymorpheus": ">=4.0.0",
|
|
29
29
|
"rxjs": ">=6.0.0"
|
|
30
30
|
},
|