@taiga-ui/addon-commerce 5.23.0-canary.dd294f6 → 5.24.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/fesm2022/taiga-ui-addon-commerce-components-input-card.mjs +3 -3
- package/fesm2022/taiga-ui-addon-commerce-components-input-card.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-commerce-types.mjs +198 -0
- package/fesm2022/taiga-ui-addon-commerce-types.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-commerce-utils.mjs +57 -5
- package/fesm2022/taiga-ui-addon-commerce-utils.mjs.map +1 -1
- package/package.json +9 -9
- package/types/currency-code.d.ts +99 -0
- package/types/currency.d.ts +99 -0
|
@@ -31,7 +31,7 @@ class TuiInputCardContent {
|
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
33
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: TuiInputCardContent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
34
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.25", type: TuiInputCardContent, isStandalone: true, selector: "tui-input-card-content", host: { attributes: { "data-tui-version": "5.
|
|
34
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.25", type: TuiInputCardContent, isStandalone: true, selector: "tui-input-card-content", host: { attributes: { "data-tui-version": "5.24.0" } }, ngImport: i0, template: `
|
|
35
35
|
@if (image()) {
|
|
36
36
|
<img
|
|
37
37
|
alt=""
|
|
@@ -39,7 +39,7 @@ class TuiInputCardContent {
|
|
|
39
39
|
[src]="image() | tuiIcon"
|
|
40
40
|
/>
|
|
41
41
|
}
|
|
42
|
-
`, isInline: true, styles: ["tui-input-card-content:where(*[data-tui-version=\"5.
|
|
42
|
+
`, isInline: true, styles: ["tui-input-card-content:where(*[data-tui-version=\"5.24.0\"]){display:contents}tui-textfield:where(*[data-tui-version=\"5.24.0\"]) .t-payment-system:not(:first-child){display:none}tui-textfield:where(*[data-tui-version=\"5.24.0\"]) .t-payment-system{inline-size:1.5rem}tui-textfield[data-size=l]:where(*[data-tui-version=\"5.24.0\"]) .t-payment-system{inline-size:2rem}\n"], dependencies: [{ kind: "pipe", type: TuiIconPipe, name: "tuiIcon" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
43
43
|
}
|
|
44
44
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: TuiInputCardContent, decorators: [{
|
|
45
45
|
type: Component,
|
|
@@ -51,7 +51,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
|
|
|
51
51
|
[src]="image() | tuiIcon"
|
|
52
52
|
/>
|
|
53
53
|
}
|
|
54
|
-
`, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { 'data-tui-version': TUI_VERSION }, styles: ["tui-input-card-content:where(*[data-tui-version=\"5.
|
|
54
|
+
`, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { 'data-tui-version': TUI_VERSION }, styles: ["tui-input-card-content:where(*[data-tui-version=\"5.24.0\"]){display:contents}tui-textfield:where(*[data-tui-version=\"5.24.0\"]) .t-payment-system:not(:first-child){display:none}tui-textfield:where(*[data-tui-version=\"5.24.0\"]) .t-payment-system{inline-size:1.5rem}tui-textfield[data-size=l]:where(*[data-tui-version=\"5.24.0\"]) .t-payment-system{inline-size:2rem}\n"] }]
|
|
55
55
|
}] });
|
|
56
56
|
|
|
57
57
|
// TODO(v6): rename to TuiInputCardDirective
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-addon-commerce-components-input-card.mjs","sources":["../../../projects/addon-commerce/components/input-card/input-card-content.component.ts","../../../projects/addon-commerce/components/input-card/input-card.component.ts","../../../projects/addon-commerce/components/input-card/input-cvc.directive.ts","../../../projects/addon-commerce/components/input-card/input-expire.directive.ts","../../../projects/addon-commerce/components/input-card/input-card.ts","../../../projects/addon-commerce/components/input-card/taiga-ui-addon-commerce-components-input-card.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n computed,\n inject,\n INJECTOR,\n ViewEncapsulation,\n} from '@angular/core';\nimport {toSignal} from '@angular/core/rxjs-interop';\nimport {NgControl} from '@angular/forms';\nimport {TUI_PAYMENT_SYSTEM_ICONS} from '@taiga-ui/addon-commerce/tokens';\nimport {tuiGetPaymentSystem} from '@taiga-ui/addon-commerce/utils';\nimport {TUI_VERSION} from '@taiga-ui/cdk/constants';\nimport {tuiControlValue} from '@taiga-ui/cdk/observables';\nimport {TuiIconPipe} from '@taiga-ui/core/components/icon';\nimport {switchMap, timer} from 'rxjs';\n\n@Component({\n selector: 'tui-input-card-content',\n imports: [TuiIconPipe],\n template: `\n @if (image()) {\n <img\n alt=\"\"\n class=\"t-payment-system\"\n [src]=\"image() | tuiIcon\"\n />\n }\n `,\n styles: `\n [data-tui-version='${TUI_VERSION}'] {\n @import './input-card.style.less';\n }\n `,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {'data-tui-version': TUI_VERSION},\n})\nexport class TuiInputCardContent {\n private readonly injector = inject(INJECTOR);\n private readonly icons = inject(TUI_PAYMENT_SYSTEM_ICONS);\n private readonly control = inject(NgControl);\n\n private readonly value = toSignal(\n timer(0).pipe(\n switchMap(() => tuiControlValue<string>(this.control, this.injector)),\n ),\n {initialValue: ''},\n );\n\n protected readonly image = computed(() => {\n const system = tuiGetPaymentSystem(this.value());\n\n return (system && this.icons[system]) || '';\n });\n}\n","import {Directive, inject, INJECTOR, type OnInit} from '@angular/core';\nimport {outputFromObservable} from '@angular/core/rxjs-interop';\nimport {DefaultValueAccessor, NgControl} from '@angular/forms';\nimport {MaskitoDirective} from '@maskito/angular';\nimport {TUI_MASK_CARD} from '@taiga-ui/addon-commerce/constants';\nimport {CHAR_NO_BREAK_SPACE} from '@taiga-ui/cdk/constants';\nimport {tuiControlValue} from '@taiga-ui/cdk/observables';\nimport {TuiWithInput} from '@taiga-ui/core/components/input';\nimport {\n tuiAsTextfieldContent,\n TuiTextfieldContent,\n} from '@taiga-ui/core/components/textfield';\nimport {tuiMaskito} from '@taiga-ui/kit/utils';\nimport {distinctUntilChanged, map, skip, startWith, switchMap, timer} from 'rxjs';\n\nimport {TuiInputCardContent} from './input-card-content.component';\n\n@Directive({\n selector: 'input[tuiInputCard]',\n providers: [tuiAsTextfieldContent(() => TuiInputCardContent)],\n hostDirectives: [MaskitoDirective, TuiWithInput, TuiTextfieldContent],\n host: {\n autocomplete: 'cc-number',\n inputmode: 'numeric',\n placeholder: '0000 0000 0000 0000',\n },\n})\n// TODO(v6): rename to TuiInputCardDirective\nexport class TuiInputCardComponent implements OnInit {\n private readonly injector = inject(INJECTOR);\n private readonly control = inject(NgControl);\n\n private readonly accessor = inject(DefaultValueAccessor, {\n self: true,\n optional: true,\n });\n\n protected readonly mask = tuiMaskito(TUI_MASK_CARD);\n\n public readonly binChange = outputFromObservable(\n timer(0).pipe(\n switchMap(() => tuiControlValue<string>(this.control, this.injector)),\n map((v) => (v.length < 6 ? null : v.replace(' ', '').slice(0, 6))),\n startWith(null),\n distinctUntilChanged(),\n skip(1),\n ),\n );\n\n public ngOnInit(): void {\n if (!this.accessor) {\n return;\n }\n\n const onChanges = this.accessor.onChange.bind(this.accessor);\n\n this.accessor.onChange = (value: string) =>\n onChanges(value.replaceAll(CHAR_NO_BREAK_SPACE, ''));\n }\n}\n","import {computed, Directive, input} from '@angular/core';\nimport {MaskitoDirective} from '@maskito/angular';\nimport {TUI_MASK_CVC} from '@taiga-ui/addon-commerce/constants';\nimport {TuiWithInput} from '@taiga-ui/core/components/input';\nimport {tuiMaskito} from '@taiga-ui/kit/utils';\n\n@Directive({\n selector: 'input[tuiInputCVC]',\n hostDirectives: [MaskitoDirective, TuiWithInput],\n host: {\n autocomplete: 'cc-csc',\n inputmode: 'numeric',\n '[placeholder]': '\"0\".repeat(length())',\n '[style.-webkit-text-security]': 'hidden() ? \"disc\" : null',\n '(copy.prevent)': '(0)',\n },\n})\nexport class TuiInputCVCDirective {\n protected readonly mask = tuiMaskito(computed(() => TUI_MASK_CVC(this.length())));\n\n public readonly hidden = input(true);\n public readonly length = input<3 | 4>(3);\n}\n","import {Directive} from '@angular/core';\nimport {MaskitoDirective} from '@maskito/angular';\nimport {TUI_MASK_EXPIRE} from '@taiga-ui/addon-commerce/constants';\nimport {TuiWithInput} from '@taiga-ui/core/components/input';\nimport {tuiMaskito} from '@taiga-ui/kit/utils';\n\n@Directive({\n selector: 'input[tuiInputExpire]',\n hostDirectives: [MaskitoDirective, TuiWithInput],\n host: {\n autocomplete: 'cc-exp',\n inputmode: 'numeric',\n maxlength: '5',\n name: 'ccexpiryyear',\n placeholder: '00/00',\n translate: 'no',\n },\n})\nexport class TuiInputExpireDirective {\n protected readonly mask = tuiMaskito(TUI_MASK_EXPIRE);\n}\n","import {TuiLabel} from '@taiga-ui/core/components/label';\nimport {\n TuiTextfieldComponent,\n TuiTextfieldOptionsDirective,\n} from '@taiga-ui/core/components/textfield';\nimport {TuiDropdownContent} from '@taiga-ui/core/portals/dropdown';\n\nimport {TuiInputCardComponent} from './input-card.component';\nimport {TuiInputCVCDirective} from './input-cvc.directive';\nimport {TuiInputExpireDirective} from './input-expire.directive';\n\nexport const TuiInputCard = [\n TuiInputCardComponent,\n TuiInputCVCDirective,\n TuiInputExpireDirective,\n TuiLabel,\n TuiTextfieldComponent,\n TuiTextfieldOptionsDirective,\n TuiDropdownContent,\n] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;MAsCa,mBAAmB,CAAA;AArBhC,IAAA,WAAA,GAAA;AAsBqB,QAAA,IAAA,CAAA,QAAQ,GAA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AuB,EAAA,UAAA,EAAA,CAAA;kBAZnC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,uBAAuB;AACjC,oBAAA,cAAc,EAAE,CAAC,gBAAgB,EAAE,YAAY,CAAC;AAChD,oBAAA,IAAI,EAAE;AACF,wBAAA,YAAY,EAAE,QAAQ;AACtB,wBAAA,SAAS,EAAE,SAAS;AACpB,wBAAA,SAAS,EAAE,GAAG;AACd,wBAAA,IAAI,EAAE,cAAc;AACpB,wBAAA,WAAW,EAAE,OAAO;AACpB,wBAAA,SAAS,EAAE,IAAI;AAClB,qBAAA;AACJ,iBAAA;;;ACNM,MAAM,YAAY,GAAG;IACxB,qBAAqB;IACrB,oBAAoB;IACpB,uBAAuB;IACvB,QAAQ;IACR,qBAAqB;IACrB,4BAA4B;IAC5B,kBAAkB;;;AClBtB;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"taiga-ui-addon-commerce-components-input-card.mjs","sources":["../../../projects/addon-commerce/components/input-card/input-card-content.component.ts","../../../projects/addon-commerce/components/input-card/input-card.component.ts","../../../projects/addon-commerce/components/input-card/input-cvc.directive.ts","../../../projects/addon-commerce/components/input-card/input-expire.directive.ts","../../../projects/addon-commerce/components/input-card/input-card.ts","../../../projects/addon-commerce/components/input-card/taiga-ui-addon-commerce-components-input-card.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n computed,\n inject,\n INJECTOR,\n ViewEncapsulation,\n} from '@angular/core';\nimport {toSignal} from '@angular/core/rxjs-interop';\nimport {NgControl} from '@angular/forms';\nimport {TUI_PAYMENT_SYSTEM_ICONS} from '@taiga-ui/addon-commerce/tokens';\nimport {tuiGetPaymentSystem} from '@taiga-ui/addon-commerce/utils';\nimport {TUI_VERSION} from '@taiga-ui/cdk/constants';\nimport {tuiControlValue} from '@taiga-ui/cdk/observables';\nimport {TuiIconPipe} from '@taiga-ui/core/components/icon';\nimport {switchMap, timer} from 'rxjs';\n\n@Component({\n selector: 'tui-input-card-content',\n imports: [TuiIconPipe],\n template: `\n @if (image()) {\n <img\n alt=\"\"\n class=\"t-payment-system\"\n [src]=\"image() | tuiIcon\"\n />\n }\n `,\n styles: `\n [data-tui-version='${TUI_VERSION}'] {\n @import './input-card.style.less';\n }\n `,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {'data-tui-version': TUI_VERSION},\n})\nexport class TuiInputCardContent {\n private readonly injector = inject(INJECTOR);\n private readonly icons = inject(TUI_PAYMENT_SYSTEM_ICONS);\n private readonly control = inject(NgControl);\n\n private readonly value = toSignal(\n timer(0).pipe(\n switchMap(() => tuiControlValue<string>(this.control, this.injector)),\n ),\n {initialValue: ''},\n );\n\n protected readonly image = computed(() => {\n const system = tuiGetPaymentSystem(this.value());\n\n return (system && this.icons[system]) || '';\n });\n}\n","import {Directive, inject, INJECTOR, type OnInit} from '@angular/core';\nimport {outputFromObservable} from '@angular/core/rxjs-interop';\nimport {DefaultValueAccessor, NgControl} from '@angular/forms';\nimport {MaskitoDirective} from '@maskito/angular';\nimport {TUI_MASK_CARD} from '@taiga-ui/addon-commerce/constants';\nimport {CHAR_NO_BREAK_SPACE} from '@taiga-ui/cdk/constants';\nimport {tuiControlValue} from '@taiga-ui/cdk/observables';\nimport {TuiWithInput} from '@taiga-ui/core/components/input';\nimport {\n tuiAsTextfieldContent,\n TuiTextfieldContent,\n} from '@taiga-ui/core/components/textfield';\nimport {tuiMaskito} from '@taiga-ui/kit/utils';\nimport {distinctUntilChanged, map, skip, startWith, switchMap, timer} from 'rxjs';\n\nimport {TuiInputCardContent} from './input-card-content.component';\n\n@Directive({\n selector: 'input[tuiInputCard]',\n providers: [tuiAsTextfieldContent(() => TuiInputCardContent)],\n hostDirectives: [MaskitoDirective, TuiWithInput, TuiTextfieldContent],\n host: {\n autocomplete: 'cc-number',\n inputmode: 'numeric',\n placeholder: '0000 0000 0000 0000',\n },\n})\n// TODO(v6): rename to TuiInputCardDirective\nexport class TuiInputCardComponent implements OnInit {\n private readonly injector = inject(INJECTOR);\n private readonly control = inject(NgControl);\n\n private readonly accessor = inject(DefaultValueAccessor, {\n self: true,\n optional: true,\n });\n\n protected readonly mask = tuiMaskito(TUI_MASK_CARD);\n\n public readonly binChange = outputFromObservable(\n timer(0).pipe(\n switchMap(() => tuiControlValue<string>(this.control, this.injector)),\n map((v) => (v.length < 6 ? null : v.replace(' ', '').slice(0, 6))),\n startWith(null),\n distinctUntilChanged(),\n skip(1),\n ),\n );\n\n public ngOnInit(): void {\n if (!this.accessor) {\n return;\n }\n\n const onChanges = this.accessor.onChange.bind(this.accessor);\n\n this.accessor.onChange = (value: string) =>\n onChanges(value.replaceAll(CHAR_NO_BREAK_SPACE, ''));\n }\n}\n","import {computed, Directive, input} from '@angular/core';\nimport {MaskitoDirective} from '@maskito/angular';\nimport {TUI_MASK_CVC} from '@taiga-ui/addon-commerce/constants';\nimport {TuiWithInput} from '@taiga-ui/core/components/input';\nimport {tuiMaskito} from '@taiga-ui/kit/utils';\n\n@Directive({\n selector: 'input[tuiInputCVC]',\n hostDirectives: [MaskitoDirective, TuiWithInput],\n host: {\n autocomplete: 'cc-csc',\n inputmode: 'numeric',\n '[placeholder]': '\"0\".repeat(length())',\n '[style.-webkit-text-security]': 'hidden() ? \"disc\" : null',\n '(copy.prevent)': '(0)',\n },\n})\nexport class TuiInputCVCDirective {\n protected readonly mask = tuiMaskito(computed(() => TUI_MASK_CVC(this.length())));\n\n public readonly hidden = input(true);\n public readonly length = input<3 | 4>(3);\n}\n","import {Directive} from '@angular/core';\nimport {MaskitoDirective} from '@maskito/angular';\nimport {TUI_MASK_EXPIRE} from '@taiga-ui/addon-commerce/constants';\nimport {TuiWithInput} from '@taiga-ui/core/components/input';\nimport {tuiMaskito} from '@taiga-ui/kit/utils';\n\n@Directive({\n selector: 'input[tuiInputExpire]',\n hostDirectives: [MaskitoDirective, TuiWithInput],\n host: {\n autocomplete: 'cc-exp',\n inputmode: 'numeric',\n maxlength: '5',\n name: 'ccexpiryyear',\n placeholder: '00/00',\n translate: 'no',\n },\n})\nexport class TuiInputExpireDirective {\n protected readonly mask = tuiMaskito(TUI_MASK_EXPIRE);\n}\n","import {TuiLabel} from '@taiga-ui/core/components/label';\nimport {\n TuiTextfieldComponent,\n TuiTextfieldOptionsDirective,\n} from '@taiga-ui/core/components/textfield';\nimport {TuiDropdownContent} from '@taiga-ui/core/portals/dropdown';\n\nimport {TuiInputCardComponent} from './input-card.component';\nimport {TuiInputCVCDirective} from './input-cvc.directive';\nimport {TuiInputExpireDirective} from './input-expire.directive';\n\nexport const TuiInputCard = [\n TuiInputCardComponent,\n TuiInputCVCDirective,\n TuiInputExpireDirective,\n TuiLabel,\n TuiTextfieldComponent,\n TuiTextfieldOptionsDirective,\n TuiDropdownContent,\n] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;MAsCa,mBAAmB,CAAA;AArBhC,IAAA,WAAA,GAAA;AAsBqB,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;AAC3B,QAAA,IAAA,CAAA,KAAK,GAAG,MAAM,CAAC,wBAAwB,CAAC;AACxC,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,CAAC,SAAS,CAAC;AAE3B,QAAA,IAAA,CAAA,KAAK,GAAG,QAAQ,CAC7B,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CACT,SAAS,CAAC,MAAM,eAAe,CAAS,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CACxE,EACD,EAAC,YAAY,EAAE,EAAE,EAAC,CACrB;AAEkB,QAAA,IAAA,CAAA,KAAK,GAAG,QAAQ,CAAC,MAAK;YACrC,MAAM,MAAM,GAAG,mBAAmB,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC;AAEhD,YAAA,OAAO,CAAC,MAAM,IAAI,IAAI,CAAC,KAA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|
@@ -10,6 +10,15 @@
|
|
|
10
10
|
// eslint-disable-next-line no-restricted-syntax
|
|
11
11
|
var TuiCurrency;
|
|
12
12
|
(function (TuiCurrency) {
|
|
13
|
+
/**
|
|
14
|
+
* Argentine peso
|
|
15
|
+
*
|
|
16
|
+
* @description Numeric code: 032
|
|
17
|
+
* @description Alphabetic code: ARS
|
|
18
|
+
* @description Countries and territories: Argentina
|
|
19
|
+
* @description Currency symbol: $
|
|
20
|
+
*/
|
|
21
|
+
TuiCurrency["ArgentinePeso"] = "ARS";
|
|
13
22
|
/**
|
|
14
23
|
* Armenian dram
|
|
15
24
|
*
|
|
@@ -65,6 +74,15 @@ var TuiCurrency;
|
|
|
65
74
|
* @description Currency symbol: R$
|
|
66
75
|
*/
|
|
67
76
|
TuiCurrency["BrazilianReal"] = "BRL";
|
|
77
|
+
/**
|
|
78
|
+
* Cambodian riel
|
|
79
|
+
*
|
|
80
|
+
* @description Numeric code: 116
|
|
81
|
+
* @description Alphabetic code: KHR
|
|
82
|
+
* @description Countries and territories: Cambodia
|
|
83
|
+
* @description Currency symbol: ៛
|
|
84
|
+
*/
|
|
85
|
+
TuiCurrency["CambodianRiel"] = "KHR";
|
|
68
86
|
/**
|
|
69
87
|
* Canadian dollar
|
|
70
88
|
*
|
|
@@ -74,6 +92,15 @@ var TuiCurrency;
|
|
|
74
92
|
* @description Currency symbol: C$
|
|
75
93
|
*/
|
|
76
94
|
TuiCurrency["CanadianDollar"] = "CAD";
|
|
95
|
+
/**
|
|
96
|
+
* Chilean peso
|
|
97
|
+
*
|
|
98
|
+
* @description Numeric code: 152
|
|
99
|
+
* @description Alphabetic code: CLP
|
|
100
|
+
* @description Countries and territories: Chile
|
|
101
|
+
* @description Currency symbol: $
|
|
102
|
+
*/
|
|
103
|
+
TuiCurrency["ChileanPeso"] = "CLP";
|
|
77
104
|
/**
|
|
78
105
|
* Czech Koruna
|
|
79
106
|
*
|
|
@@ -110,6 +137,15 @@ var TuiCurrency;
|
|
|
110
137
|
* @description Currency symbol: EC$
|
|
111
138
|
*/
|
|
112
139
|
TuiCurrency["EastCaribbeanDollar"] = "XCD";
|
|
140
|
+
/**
|
|
141
|
+
* Egyptian pound
|
|
142
|
+
*
|
|
143
|
+
* @description Numeric code: 818
|
|
144
|
+
* @description Alphabetic code: EGP
|
|
145
|
+
* @description Countries and territories: Egypt
|
|
146
|
+
* @description Currency symbol: £E
|
|
147
|
+
*/
|
|
148
|
+
TuiCurrency["EgyptianPound"] = "EGP";
|
|
113
149
|
/**
|
|
114
150
|
* Euro
|
|
115
151
|
*
|
|
@@ -167,6 +203,15 @@ var TuiCurrency;
|
|
|
167
203
|
* @description Currency symbol: ₪
|
|
168
204
|
*/
|
|
169
205
|
TuiCurrency["IsraeliShekel"] = "ILS";
|
|
206
|
+
/**
|
|
207
|
+
* Kenyan shilling
|
|
208
|
+
*
|
|
209
|
+
* @description Numeric code: 404
|
|
210
|
+
* @description Alphabetic code: KES
|
|
211
|
+
* @description Countries and territories: Kenya
|
|
212
|
+
* @description Currency symbol: KSh
|
|
213
|
+
*/
|
|
214
|
+
TuiCurrency["KenyanShilling"] = "KES";
|
|
170
215
|
/**
|
|
171
216
|
* Kyrgyzstani som
|
|
172
217
|
*
|
|
@@ -176,7 +221,25 @@ var TuiCurrency;
|
|
|
176
221
|
* @description Currency symbol: c
|
|
177
222
|
*/
|
|
178
223
|
TuiCurrency["KyrgyzstanSom"] = "KGS";
|
|
224
|
+
/**
|
|
225
|
+
* Lao kip
|
|
226
|
+
*
|
|
227
|
+
* @description Numeric code: 418
|
|
228
|
+
* @description Alphabetic code: LAK
|
|
229
|
+
* @description Countries and territories: Laos
|
|
230
|
+
* @description Currency symbol: ₭
|
|
231
|
+
*/
|
|
232
|
+
TuiCurrency["LaoKip"] = "LAK";
|
|
179
233
|
TuiCurrency["MalaysianRinggit"] = "MYR";
|
|
234
|
+
/**
|
|
235
|
+
* Maldivian rufiyaa
|
|
236
|
+
*
|
|
237
|
+
* @description Numeric code: 462
|
|
238
|
+
* @description Alphabetic code: MVR
|
|
239
|
+
* @description Countries and territories: Maldives
|
|
240
|
+
* @description Currency symbol: ރ
|
|
241
|
+
*/
|
|
242
|
+
TuiCurrency["MaldivianRufiyaa"] = "MVR";
|
|
180
243
|
/**
|
|
181
244
|
* Mexican peso
|
|
182
245
|
*
|
|
@@ -197,6 +260,24 @@ var TuiCurrency;
|
|
|
197
260
|
TuiCurrency["MoldovanLeu"] = "MDL";
|
|
198
261
|
TuiCurrency["MongolianTugrik"] = "MNT";
|
|
199
262
|
TuiCurrency["NewTurkmenManat"] = "TMT";
|
|
263
|
+
/**
|
|
264
|
+
* Peruvian sol
|
|
265
|
+
*
|
|
266
|
+
* @description Numeric code: 604
|
|
267
|
+
* @description Alphabetic code: PEN
|
|
268
|
+
* @description Countries and territories: Peru
|
|
269
|
+
* @description Currency symbol: S/
|
|
270
|
+
*/
|
|
271
|
+
TuiCurrency["PeruvianSol"] = "PEN";
|
|
272
|
+
/**
|
|
273
|
+
* Philippine peso
|
|
274
|
+
*
|
|
275
|
+
* @description Numeric code: 608
|
|
276
|
+
* @description Alphabetic code: PHP
|
|
277
|
+
* @description Countries and territories: Philippines
|
|
278
|
+
* @description Currency symbol: ₱
|
|
279
|
+
*/
|
|
280
|
+
TuiCurrency["PhilippinePeso"] = "PHP";
|
|
200
281
|
/**
|
|
201
282
|
* Poland Zloty
|
|
202
283
|
*
|
|
@@ -312,6 +393,15 @@ var TuiCurrency;
|
|
|
312
393
|
* @description Currency symbol: SM
|
|
313
394
|
*/
|
|
314
395
|
TuiCurrency["TajikistaniSomoni"] = "TJS";
|
|
396
|
+
/**
|
|
397
|
+
* Tanzanian shilling
|
|
398
|
+
*
|
|
399
|
+
* @description Numeric code: 834
|
|
400
|
+
* @description Alphabetic code: TZS
|
|
401
|
+
* @description Countries and territories: Tanzania
|
|
402
|
+
* @description Currency symbol: TSh
|
|
403
|
+
*/
|
|
404
|
+
TuiCurrency["TanzanianShilling"] = "TZS";
|
|
315
405
|
/**
|
|
316
406
|
* Mongolian tugrik
|
|
317
407
|
*
|
|
@@ -346,6 +436,15 @@ var TuiCurrency;
|
|
|
346
436
|
* @description Currency symbol: ₺
|
|
347
437
|
*/
|
|
348
438
|
TuiCurrency["TurkishLira"] = "TRY";
|
|
439
|
+
/**
|
|
440
|
+
* Unidad de Fomento
|
|
441
|
+
*
|
|
442
|
+
* @description Numeric code: 990
|
|
443
|
+
* @description Alphabetic code: CLF
|
|
444
|
+
* @description Countries and territories: Chile
|
|
445
|
+
* @description Currency symbol: $
|
|
446
|
+
*/
|
|
447
|
+
TuiCurrency["UnidadDeFomento"] = "CLF";
|
|
349
448
|
/**
|
|
350
449
|
* Iranian rial
|
|
351
450
|
*
|
|
@@ -429,6 +528,15 @@ var TuiCurrency;
|
|
|
429
528
|
// eslint-disable-next-line no-restricted-syntax
|
|
430
529
|
var TuiCurrencyCode;
|
|
431
530
|
(function (TuiCurrencyCode) {
|
|
531
|
+
/**
|
|
532
|
+
* Argentine peso
|
|
533
|
+
*
|
|
534
|
+
* @description Numeric code: 032
|
|
535
|
+
* @description Alphabetic code: ARS
|
|
536
|
+
* @description Countries and territories: Argentina
|
|
537
|
+
* @description Currency symbol: $
|
|
538
|
+
*/
|
|
539
|
+
TuiCurrencyCode["ArgentinePeso"] = "032";
|
|
432
540
|
/**
|
|
433
541
|
* Armenian dram
|
|
434
542
|
*
|
|
@@ -492,6 +600,15 @@ var TuiCurrencyCode;
|
|
|
492
600
|
* @description Currency symbol: R$
|
|
493
601
|
*/
|
|
494
602
|
TuiCurrencyCode["BrazilianReal"] = "986";
|
|
603
|
+
/**
|
|
604
|
+
* Cambodian riel
|
|
605
|
+
*
|
|
606
|
+
* @description Numeric code: 116
|
|
607
|
+
* @description Alphabetic code: KHR
|
|
608
|
+
* @description Countries and territories: Cambodia
|
|
609
|
+
* @description Currency symbol: ៛
|
|
610
|
+
*/
|
|
611
|
+
TuiCurrencyCode["CambodianRiel"] = "116";
|
|
495
612
|
/**
|
|
496
613
|
* Canadian dollar
|
|
497
614
|
*
|
|
@@ -501,6 +618,15 @@ var TuiCurrencyCode;
|
|
|
501
618
|
* @description Currency symbol: C$
|
|
502
619
|
*/
|
|
503
620
|
TuiCurrencyCode["CanadianDollar"] = "124";
|
|
621
|
+
/**
|
|
622
|
+
* Chilean peso
|
|
623
|
+
*
|
|
624
|
+
* @description Numeric code: 152
|
|
625
|
+
* @description Alphabetic code: CLP
|
|
626
|
+
* @description Countries and territories: Chile
|
|
627
|
+
* @description Currency symbol: $
|
|
628
|
+
*/
|
|
629
|
+
TuiCurrencyCode["ChileanPeso"] = "152";
|
|
504
630
|
/**
|
|
505
631
|
* Czech Koruna
|
|
506
632
|
*
|
|
@@ -537,6 +663,15 @@ var TuiCurrencyCode;
|
|
|
537
663
|
* @description Currency symbol: EC$
|
|
538
664
|
*/
|
|
539
665
|
TuiCurrencyCode["EastCaribbeanDollar"] = "951";
|
|
666
|
+
/**
|
|
667
|
+
* Egyptian pound
|
|
668
|
+
*
|
|
669
|
+
* @description Numeric code: 818
|
|
670
|
+
* @description Alphabetic code: EGP
|
|
671
|
+
* @description Countries and territories: Egypt
|
|
672
|
+
* @description Currency symbol: £E
|
|
673
|
+
*/
|
|
674
|
+
TuiCurrencyCode["EgyptianPound"] = "818";
|
|
540
675
|
/**
|
|
541
676
|
* Euro
|
|
542
677
|
*
|
|
@@ -618,6 +753,15 @@ var TuiCurrencyCode;
|
|
|
618
753
|
* @description Currency symbol: ₪
|
|
619
754
|
*/
|
|
620
755
|
TuiCurrencyCode["IsraeliShekel"] = "376";
|
|
756
|
+
/**
|
|
757
|
+
* Kenyan shilling
|
|
758
|
+
*
|
|
759
|
+
* @description Numeric code: 404
|
|
760
|
+
* @description Alphabetic code: KES
|
|
761
|
+
* @description Countries and territories: Kenya
|
|
762
|
+
* @description Currency symbol: KSh
|
|
763
|
+
*/
|
|
764
|
+
TuiCurrencyCode["KenyanShilling"] = "404";
|
|
621
765
|
/**
|
|
622
766
|
* Kyrgyzstani som
|
|
623
767
|
*
|
|
@@ -627,6 +771,15 @@ var TuiCurrencyCode;
|
|
|
627
771
|
* @description Currency symbol: c
|
|
628
772
|
*/
|
|
629
773
|
TuiCurrencyCode["KyrgyzstanSom"] = "417";
|
|
774
|
+
/**
|
|
775
|
+
* Lao kip
|
|
776
|
+
*
|
|
777
|
+
* @description Numeric code: 418
|
|
778
|
+
* @description Alphabetic code: LAK
|
|
779
|
+
* @description Countries and territories: Laos
|
|
780
|
+
* @description Currency symbol: ₭
|
|
781
|
+
*/
|
|
782
|
+
TuiCurrencyCode["LaoKip"] = "418";
|
|
630
783
|
/**
|
|
631
784
|
* Malaysian ringgit
|
|
632
785
|
*
|
|
@@ -636,6 +789,15 @@ var TuiCurrencyCode;
|
|
|
636
789
|
* @description Currency symbol: RM
|
|
637
790
|
*/
|
|
638
791
|
TuiCurrencyCode["MalaysianRinggit"] = "458";
|
|
792
|
+
/**
|
|
793
|
+
* Maldivian rufiyaa
|
|
794
|
+
*
|
|
795
|
+
* @description Numeric code: 462
|
|
796
|
+
* @description Alphabetic code: MVR
|
|
797
|
+
* @description Countries and territories: Maldives
|
|
798
|
+
* @description Currency symbol: ރ
|
|
799
|
+
*/
|
|
800
|
+
TuiCurrencyCode["MaldivianRufiyaa"] = "462";
|
|
639
801
|
/**
|
|
640
802
|
* Mexican peso
|
|
641
803
|
*
|
|
@@ -672,6 +834,24 @@ var TuiCurrencyCode;
|
|
|
672
834
|
* @description Currency symbol: TMT
|
|
673
835
|
*/
|
|
674
836
|
TuiCurrencyCode["NewTurkmenManat"] = "934";
|
|
837
|
+
/**
|
|
838
|
+
* Peruvian sol
|
|
839
|
+
*
|
|
840
|
+
* @description Numeric code: 604
|
|
841
|
+
* @description Alphabetic code: PEN
|
|
842
|
+
* @description Countries and territories: Peru
|
|
843
|
+
* @description Currency symbol: S/
|
|
844
|
+
*/
|
|
845
|
+
TuiCurrencyCode["PeruvianSol"] = "604";
|
|
846
|
+
/**
|
|
847
|
+
* Philippine peso
|
|
848
|
+
*
|
|
849
|
+
* @description Numeric code: 608
|
|
850
|
+
* @description Alphabetic code: PHP
|
|
851
|
+
* @description Countries and territories: Philippines
|
|
852
|
+
* @description Currency symbol: ₱
|
|
853
|
+
*/
|
|
854
|
+
TuiCurrencyCode["PhilippinePeso"] = "608";
|
|
675
855
|
/**
|
|
676
856
|
* Poland Zloty
|
|
677
857
|
*
|
|
@@ -762,6 +942,15 @@ var TuiCurrencyCode;
|
|
|
762
942
|
*/
|
|
763
943
|
TuiCurrencyCode["SwissFranc"] = "756";
|
|
764
944
|
TuiCurrencyCode["TajikistaniSomoni"] = "972";
|
|
945
|
+
/**
|
|
946
|
+
* Tanzanian shilling
|
|
947
|
+
*
|
|
948
|
+
* @description Numeric code: 834
|
|
949
|
+
* @description Alphabetic code: TZS
|
|
950
|
+
* @description Countries and territories: Tanzania
|
|
951
|
+
* @description Currency symbol: TSh
|
|
952
|
+
*/
|
|
953
|
+
TuiCurrencyCode["TanzanianShilling"] = "834";
|
|
765
954
|
/**
|
|
766
955
|
* Kazakhstani tenge
|
|
767
956
|
*
|
|
@@ -780,6 +969,15 @@ var TuiCurrencyCode;
|
|
|
780
969
|
* @description Currency symbol: ₺
|
|
781
970
|
*/
|
|
782
971
|
TuiCurrencyCode["TurkishLira"] = "949";
|
|
972
|
+
/**
|
|
973
|
+
* Unidad de Fomento
|
|
974
|
+
*
|
|
975
|
+
* @description Numeric code: 990
|
|
976
|
+
* @description Alphabetic code: CLF
|
|
977
|
+
* @description Countries and territories: Chile
|
|
978
|
+
* @description Currency symbol: $
|
|
979
|
+
*/
|
|
980
|
+
TuiCurrencyCode["UnidadDeFomento"] = "990";
|
|
783
981
|
/**
|
|
784
982
|
* Uzbek sum
|
|
785
983
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-addon-commerce-types.mjs","sources":["../../../projects/addon-commerce/types/currency.ts","../../../projects/addon-commerce/types/currency-code.ts","../../../projects/addon-commerce/types/taiga-ui-addon-commerce-types.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// 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 /**\n * \tBahraini Dinar\n *\n * @description Numeric code: 048\n * @description Alphabetic code: BHD\n * @description Countries and territories: Bahrain\n * @description Currency symbol: BD\n */\n BahrainiDinar = 'BHD',\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: Br\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 * Czech Koruna\n *\n * @description Numeric code: 203\n * @description Alphabetic code: СZK\n * @description Countries and territories: Czech Republic\n * @description Currency symbol: Kč\n */\n CzechKoruna = 'CZK',\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 * East Caribbean Dollar\n *\n * @description Numeric code: 951\n * @description Alphabetic code: XCD\n * @description Countries and territories: Anguilla, Antigua and Barbuda, Dominica, Grenada, Montserrat, Saint Kitts and Nevis, Saint Lucia, Saint Vincent and the Grenadines\n * @description Currency symbol: EC$\n */\n EastCaribbeanDollar = 'XCD',\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 /**\n * Forint\n *\n * @description Numeric code: 348\n * @description Alphabetic code: HUF\n * @description Countries and territories: Hungray\n * @description Currency symbol: Ft\n */\n Forint = 'HUF',\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 /**\n * Moldovan Leu\n *\n * @description Numeric code: 498\n * @description Alphabetic code: MDL\n * @description Countries and territories: Moldova\n * @description Currency symbol: L\n */\n MoldovanLeu = 'MDL',\n\n MongolianTugrik = 'MNT',\n\n NewTurkmenManat = 'TMT',\n\n /**\n * Poland Zloty\n *\n * @description Numeric code: 985\n * @description Alphabetic code: PLN\n * @description Countries and territories: Poland\n * @description Currency symbol: zł\n */\n PolandZloty = 'PLN',\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","// cspell:disable\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// 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 * \tBahraini Dinar\n *\n * @description Numeric code: 048\n * @description Alphabetic code: BHD\n * @description Countries and territories: Bahrain\n * @description Currency symbol: BD\n */\n BahrainiDinar = '048',\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: Br\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 * Czech Koruna\n *\n * @description Numeric code: 203\n * @description Alphabetic code: CZK\n * @description Countries and territories: Czech Republic\n * @description Currency symbol: Kč\n */\n CzechKoruna = '203',\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 * East Caribbean Dollar\n *\n * @description Numeric code: 951\n * @description Alphabetic code: XCD\n * @description Countries and territories: Anguilla, Antigua and Barbuda, Dominica, Grenada, Montserrat, Saint Kitts and Nevis, Saint Lucia, Saint Vincent and the Grenadines\n * @description Currency symbol: EC$\n */\n EastCaribbeanDollar = '951',\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 * Forint\n *\n * @description Numeric code: 348\n * @description Alphabetic code: HUF\n * @description Countries and territories: Hungray\n * @description Currency symbol: Ft\n */\n Forint = '348',\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 * Moldovan Leu\n *\n * @description Numeric code: 498\n * @description Alphabetic code: MDL\n * @description Countries and territories: Moldova\n * @description Currency symbol: L\n */\n MoldovanLeu = '498',\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 * Poland Zloty\n *\n * @description Numeric code: 985\n * @description Alphabetic code: PLN\n * @description Countries and territories: Poland\n * @description Currency symbol: zł\n */\n PolandZloty = '985',\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;IACY;AAAZ,CAAA,UAAY,WAAW,EAAA;AACnB;;;;;;;AAOG;AACH,IAAA,WAAA,CAAA,cAAA,CAAA,GAAA,KAAoB;AAEpB;;;;;;;AAOG;AACH,IAAA,WAAA,CAAA,kBAAA,CAAA,GAAA,KAAwB;AAExB,IAAA,WAAA,CAAA,kBAAA,CAAA,GAAA,KAAwB;AAExB;;;;;;;AAOG;AACH,IAAA,WAAA,CAAA,MAAA,CAAA,GAAA,KAAY;AAEZ;;;;;;;AAOG;AACH,IAAA,WAAA,CAAA,eAAA,CAAA,GAAA,KAAqB;AAErB;;;;;;;AAOG;AACH,IAAA,WAAA,CAAA,iBAAA,CAAA,GAAA,KAAuB;AAEvB;;;;;;;AAOG;AACH,IAAA,WAAA,CAAA,eAAA,CAAA,GAAA,KAAqB;AAErB;;;;;;;AAOG;AACH,IAAA,WAAA,CAAA,gBAAA,CAAA,GAAA,KAAsB;AAEtB;;;;;;;AAOG;AACH,IAAA,WAAA,CAAA,aAAA,CAAA,GAAA,KAAmB;AAEnB;;;;;;;AAOG;AACH,IAAA,WAAA,CAAA,QAAA,CAAA,GAAA,KAAc;AAEd;;;;;;;AAOG;AACH,IAAA,WAAA,CAAA,QAAA,CAAA,GAAA,KAAc;AAEd;;;;;;;AAOG;AACH,IAAA,WAAA,CAAA,qBAAA,CAAA,GAAA,KAA2B;AAE3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A,KAAa;AAEb;;;;;;;AAOG;AACH,IAAA,eAAA,CAAA,aAAA,CAAA,GAAA,KAAmB;AAEnB;;;;;;;AAOG;AACH,IAAA,eAAA,CAAA,UAAA,CAAA,GAAA,KAAgB;AAEhB;;;;;;;AAOG;AACH,IAAA,eAAA,CAAA,gBAAA,CAAA,GAAA,KAAsB;AAEtB;;;;;;;AAOG;AACH,IAAA,eAAA,CAAA,KAAA,CAAA,GAAA,KAAW;AAEX;;;;;;;AAOG;AACH,IAAA,eAAA,CAAA,KAAA,CAAA,GAAA,KAAW;AAEX;;;;;;;AAOG;AACH,IAAA,eAAA,CAAA,cAAA,CAAA,GAAA,KAAoB;AACxB,CAAC,EAzbW,eAAe,KAAf,eAAe,GAAA,EAAA,CAAA,CAAA;;ACV3B;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"taiga-ui-addon-commerce-types.mjs","sources":["../../../projects/addon-commerce/types/currency.ts","../../../projects/addon-commerce/types/currency-code.ts","../../../projects/addon-commerce/types/taiga-ui-addon-commerce-types.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// eslint-disable-next-line no-restricted-syntax\nexport enum TuiCurrency {\n /**\n * Argentine peso\n *\n * @description Numeric code: 032\n * @description Alphabetic code: ARS\n * @description Countries and territories: Argentina\n * @description Currency symbol: $\n */\n ArgentinePeso = 'ARS',\n\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 /**\n * \tBahraini Dinar\n *\n * @description Numeric code: 048\n * @description Alphabetic code: BHD\n * @description Countries and territories: Bahrain\n * @description Currency symbol: BD\n */\n BahrainiDinar = 'BHD',\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: Br\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 * Cambodian riel\n *\n * @description Numeric code: 116\n * @description Alphabetic code: KHR\n * @description Countries and territories: Cambodia\n * @description Currency symbol: ៛\n */\n CambodianRiel = 'KHR',\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 * Chilean peso\n *\n * @description Numeric code: 152\n * @description Alphabetic code: CLP\n * @description Countries and territories: Chile\n * @description Currency symbol: $\n */\n ChileanPeso = 'CLP',\n\n /**\n * Czech Koruna\n *\n * @description Numeric code: 203\n * @description Alphabetic code: СZK\n * @description Countries and territories: Czech Republic\n * @description Currency symbol: Kč\n */\n CzechKoruna = 'CZK',\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 * East Caribbean Dollar\n *\n * @description Numeric code: 951\n * @description Alphabetic code: XCD\n * @description Countries and territories: Anguilla, Antigua and Barbuda, Dominica, Grenada, Montserrat, Saint Kitts and Nevis, Saint Lucia, Saint Vincent and the Grenadines\n * @description Currency symbol: EC$\n */\n EastCaribbeanDollar = 'XCD',\n\n /**\n * Egyptian pound\n *\n * @description Numeric code: 818\n * @description Alphabetic code: EGP\n * @description Countries and territories: Egypt\n * @description Currency symbol: £E\n */\n EgyptianPound = 'EGP',\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 /**\n * Forint\n *\n * @description Numeric code: 348\n * @description Alphabetic code: HUF\n * @description Countries and territories: Hungray\n * @description Currency symbol: Ft\n */\n Forint = 'HUF',\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 * Kenyan shilling\n *\n * @description Numeric code: 404\n * @description Alphabetic code: KES\n * @description Countries and territories: Kenya\n * @description Currency symbol: KSh\n */\n KenyanShilling = 'KES',\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 /**\n * Lao kip\n *\n * @description Numeric code: 418\n * @description Alphabetic code: LAK\n * @description Countries and territories: Laos\n * @description Currency symbol: ₭\n */\n LaoKip = 'LAK',\n\n MalaysianRinggit = 'MYR',\n\n /**\n * Maldivian rufiyaa\n *\n * @description Numeric code: 462\n * @description Alphabetic code: MVR\n * @description Countries and territories: Maldives\n * @description Currency symbol: ރ\n */\n MaldivianRufiyaa = 'MVR',\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 /**\n * Moldovan Leu\n *\n * @description Numeric code: 498\n * @description Alphabetic code: MDL\n * @description Countries and territories: Moldova\n * @description Currency symbol: L\n */\n MoldovanLeu = 'MDL',\n\n MongolianTugrik = 'MNT',\n\n NewTurkmenManat = 'TMT',\n\n /**\n * Peruvian sol\n *\n * @description Numeric code: 604\n * @description Alphabetic code: PEN\n * @description Countries and territories: Peru\n * @description Currency symbol: S/\n */\n PeruvianSol = 'PEN',\n\n /**\n * Philippine peso\n *\n * @description Numeric code: 608\n * @description Alphabetic code: PHP\n * @description Countries and territories: Philippines\n * @description Currency symbol: ₱\n */\n PhilippinePeso = 'PHP',\n\n /**\n * Poland Zloty\n *\n * @description Numeric code: 985\n * @description Alphabetic code: PLN\n * @description Countries and territories: Poland\n * @description Currency symbol: zł\n */\n PolandZloty = 'PLN',\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 /**\n * Tanzanian shilling\n *\n * @description Numeric code: 834\n * @description Alphabetic code: TZS\n * @description Countries and territories: Tanzania\n * @description Currency symbol: TSh\n */\n TanzanianShilling = 'TZS',\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 /**\n * Unidad de Fomento\n *\n * @description Numeric code: 990\n * @description Alphabetic code: CLF\n * @description Countries and territories: Chile\n * @description Currency symbol: $\n */\n UnidadDeFomento = 'CLF',\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","// cspell:disable\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// eslint-disable-next-line no-restricted-syntax\nexport enum TuiCurrencyCode {\n /**\n * Argentine peso\n *\n * @description Numeric code: 032\n * @description Alphabetic code: ARS\n * @description Countries and territories: Argentina\n * @description Currency symbol: $\n */\n ArgentinePeso = '032',\n\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 * \tBahraini Dinar\n *\n * @description Numeric code: 048\n * @description Alphabetic code: BHD\n * @description Countries and territories: Bahrain\n * @description Currency symbol: BD\n */\n BahrainiDinar = '048',\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: Br\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 * Cambodian riel\n *\n * @description Numeric code: 116\n * @description Alphabetic code: KHR\n * @description Countries and territories: Cambodia\n * @description Currency symbol: ៛\n */\n CambodianRiel = '116',\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 * Chilean peso\n *\n * @description Numeric code: 152\n * @description Alphabetic code: CLP\n * @description Countries and territories: Chile\n * @description Currency symbol: $\n */\n ChileanPeso = '152',\n\n /**\n * Czech Koruna\n *\n * @description Numeric code: 203\n * @description Alphabetic code: CZK\n * @description Countries and territories: Czech Republic\n * @description Currency symbol: Kč\n */\n CzechKoruna = '203',\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 * East Caribbean Dollar\n *\n * @description Numeric code: 951\n * @description Alphabetic code: XCD\n * @description Countries and territories: Anguilla, Antigua and Barbuda, Dominica, Grenada, Montserrat, Saint Kitts and Nevis, Saint Lucia, Saint Vincent and the Grenadines\n * @description Currency symbol: EC$\n */\n EastCaribbeanDollar = '951',\n\n /**\n * Egyptian pound\n *\n * @description Numeric code: 818\n * @description Alphabetic code: EGP\n * @description Countries and territories: Egypt\n * @description Currency symbol: £E\n */\n EgyptianPound = '818',\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 * Forint\n *\n * @description Numeric code: 348\n * @description Alphabetic code: HUF\n * @description Countries and territories: Hungray\n * @description Currency symbol: Ft\n */\n Forint = '348',\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 * Kenyan shilling\n *\n * @description Numeric code: 404\n * @description Alphabetic code: KES\n * @description Countries and territories: Kenya\n * @description Currency symbol: KSh\n */\n KenyanShilling = '404',\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 * Lao kip\n *\n * @description Numeric code: 418\n * @description Alphabetic code: LAK\n * @description Countries and territories: Laos\n * @description Currency symbol: ₭\n */\n LaoKip = '418',\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 * Maldivian rufiyaa\n *\n * @description Numeric code: 462\n * @description Alphabetic code: MVR\n * @description Countries and territories: Maldives\n * @description Currency symbol: ރ\n */\n MaldivianRufiyaa = '462',\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 * Moldovan Leu\n *\n * @description Numeric code: 498\n * @description Alphabetic code: MDL\n * @description Countries and territories: Moldova\n * @description Currency symbol: L\n */\n MoldovanLeu = '498',\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 * Peruvian sol\n *\n * @description Numeric code: 604\n * @description Alphabetic code: PEN\n * @description Countries and territories: Peru\n * @description Currency symbol: S/\n */\n PeruvianSol = '604',\n\n /**\n * Philippine peso\n *\n * @description Numeric code: 608\n * @description Alphabetic code: PHP\n * @description Countries and territories: Philippines\n * @description Currency symbol: ₱\n */\n PhilippinePeso = '608',\n\n /**\n * Poland Zloty\n *\n * @description Numeric code: 985\n * @description Alphabetic code: PLN\n * @description Countries and territories: Poland\n * @description Currency symbol: zł\n */\n PolandZloty = '985',\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 * Tanzanian shilling\n *\n * @description Numeric code: 834\n * @description Alphabetic code: TZS\n * @description Countries and territories: Tanzania\n * @description Currency symbol: TSh\n */\n TanzanianShilling = '834',\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 * Unidad de Fomento\n *\n * @description Numeric code: 990\n * @description Alphabetic code: CLF\n * @description Countries and territories: Chile\n * @description Currency symbol: $\n */\n UnidadDeFomento = '990',\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;IACY;AAAZ,CAAA,UAAY,WAAW,EAAA;AACnB;;;;;;;AAOG;AACH,IAAA,WAAA,CAAA,eAAA,CAAA,GAAA,KAAqB;AAErB;;;;;;;AAOG;AACH,I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eAAA,CAAA,KAAA,CAAA,GAAA,KAAW;AAEX;;;;;;;AAOG;AACH,IAAA,eAAA,CAAA,KAAA,CAAA,GAAA,KAAW;AAEX;;;;;;;AAOG;AACH,IAAA,eAAA,CAAA,cAAA,CAAA,GAAA,KAAoB;AACxB,CAAC,EAviBW,eAAe,KAAf,eAAe,GAAA,EAAA,CAAA,CAAA;;ACV3B;;AAEG;;;;"}
|
|
@@ -7,6 +7,17 @@ function tuiGetCurrencySymbol(currency) {
|
|
|
7
7
|
return tuiGetCurrencySymbol(String(currency).padStart(3, '0'));
|
|
8
8
|
}
|
|
9
9
|
switch (currency) {
|
|
10
|
+
case TuiCurrency.ArgentinePeso:
|
|
11
|
+
case TuiCurrency.ChileanPeso:
|
|
12
|
+
case TuiCurrency.Dollar:
|
|
13
|
+
case TuiCurrency.MexicanPeso:
|
|
14
|
+
case TuiCurrency.UnidadDeFomento:
|
|
15
|
+
case TuiCurrencyCode.ArgentinePeso:
|
|
16
|
+
case TuiCurrencyCode.ChileanPeso:
|
|
17
|
+
case TuiCurrencyCode.Dollar:
|
|
18
|
+
case TuiCurrencyCode.MexicanPeso:
|
|
19
|
+
case TuiCurrencyCode.UnidadDeFomento:
|
|
20
|
+
return '$';
|
|
10
21
|
case TuiCurrency.ArmenianDram:
|
|
11
22
|
case TuiCurrencyCode.ArmenianDram:
|
|
12
23
|
return '֏';
|
|
@@ -28,6 +39,9 @@ function tuiGetCurrencySymbol(currency) {
|
|
|
28
39
|
case TuiCurrency.BrazilianReal:
|
|
29
40
|
case TuiCurrencyCode.BrazilianReal:
|
|
30
41
|
return 'R$';
|
|
42
|
+
case TuiCurrency.CambodianRiel:
|
|
43
|
+
case TuiCurrencyCode.CambodianRiel:
|
|
44
|
+
return '៛';
|
|
31
45
|
case TuiCurrency.CanadianDollar:
|
|
32
46
|
case TuiCurrencyCode.CanadianDollar:
|
|
33
47
|
return 'C$';
|
|
@@ -37,14 +51,12 @@ function tuiGetCurrencySymbol(currency) {
|
|
|
37
51
|
case TuiCurrency.Dirham:
|
|
38
52
|
case TuiCurrencyCode.Dirham:
|
|
39
53
|
return 'Dh';
|
|
40
|
-
case TuiCurrency.Dollar:
|
|
41
|
-
case TuiCurrency.MexicanPeso:
|
|
42
|
-
case TuiCurrencyCode.Dollar:
|
|
43
|
-
case TuiCurrencyCode.MexicanPeso:
|
|
44
|
-
return '$';
|
|
45
54
|
case TuiCurrency.EastCaribbeanDollar:
|
|
46
55
|
case TuiCurrencyCode.EastCaribbeanDollar:
|
|
47
56
|
return 'EC$';
|
|
57
|
+
case TuiCurrency.EgyptianPound:
|
|
58
|
+
case TuiCurrencyCode.EgyptianPound:
|
|
59
|
+
return '£E';
|
|
48
60
|
case TuiCurrency.Euro:
|
|
49
61
|
case TuiCurrencyCode.Euro:
|
|
50
62
|
return '€';
|
|
@@ -72,12 +84,21 @@ function tuiGetCurrencySymbol(currency) {
|
|
|
72
84
|
case TuiCurrency.IsraeliShekel:
|
|
73
85
|
case TuiCurrencyCode.IsraeliShekel:
|
|
74
86
|
return '₪';
|
|
87
|
+
case TuiCurrency.KenyanShilling:
|
|
88
|
+
case TuiCurrencyCode.KenyanShilling:
|
|
89
|
+
return 'KSh';
|
|
75
90
|
case TuiCurrency.KyrgyzstanSom:
|
|
76
91
|
case TuiCurrencyCode.KyrgyzstanSom:
|
|
77
92
|
return 'c';
|
|
93
|
+
case TuiCurrency.LaoKip:
|
|
94
|
+
case TuiCurrencyCode.LaoKip:
|
|
95
|
+
return '₭';
|
|
78
96
|
case TuiCurrency.MalaysianRinggit:
|
|
79
97
|
case TuiCurrencyCode.MalaysianRinggit:
|
|
80
98
|
return 'RM';
|
|
99
|
+
case TuiCurrency.MaldivianRufiyaa:
|
|
100
|
+
case TuiCurrencyCode.MaldivianRufiyaa:
|
|
101
|
+
return 'ރ';
|
|
81
102
|
case TuiCurrency.MoldovanLeu:
|
|
82
103
|
case TuiCurrencyCode.MoldovanLeu:
|
|
83
104
|
return 'L';
|
|
@@ -87,6 +108,12 @@ function tuiGetCurrencySymbol(currency) {
|
|
|
87
108
|
case TuiCurrency.NewTurkmenManat:
|
|
88
109
|
case TuiCurrencyCode.NewTurkmenManat:
|
|
89
110
|
return 'TMT';
|
|
111
|
+
case TuiCurrency.PeruvianSol:
|
|
112
|
+
case TuiCurrencyCode.PeruvianSol:
|
|
113
|
+
return 'S/';
|
|
114
|
+
case TuiCurrency.PhilippinePeso:
|
|
115
|
+
case TuiCurrencyCode.PhilippinePeso:
|
|
116
|
+
return '₱';
|
|
90
117
|
case TuiCurrency.PolandZloty:
|
|
91
118
|
case TuiCurrencyCode.PolandZloty:
|
|
92
119
|
return 'zł';
|
|
@@ -117,6 +144,9 @@ function tuiGetCurrencySymbol(currency) {
|
|
|
117
144
|
case TuiCurrency.TajikistaniSomoni:
|
|
118
145
|
case TuiCurrencyCode.TajikistaniSomoni:
|
|
119
146
|
return 'SM';
|
|
147
|
+
case TuiCurrency.TanzanianShilling:
|
|
148
|
+
case TuiCurrencyCode.TanzanianShilling:
|
|
149
|
+
return 'TSh';
|
|
120
150
|
case TuiCurrency.Tenge:
|
|
121
151
|
case TuiCurrencyCode.Tenge:
|
|
122
152
|
return '₸';
|
|
@@ -198,6 +228,17 @@ const TUI_CODE_DICTIONARY = {
|
|
|
198
228
|
[TuiCurrency.VietnameseDong]: TuiCurrencyCode.VietnameseDong,
|
|
199
229
|
[TuiCurrency.NewTurkmenManat]: TuiCurrencyCode.NewTurkmenManat,
|
|
200
230
|
[TuiCurrency.BrazilianReal]: TuiCurrencyCode.BrazilianReal,
|
|
231
|
+
[TuiCurrency.ArgentinePeso]: TuiCurrencyCode.ArgentinePeso,
|
|
232
|
+
[TuiCurrency.CambodianRiel]: TuiCurrencyCode.CambodianRiel,
|
|
233
|
+
[TuiCurrency.ChileanPeso]: TuiCurrencyCode.ChileanPeso,
|
|
234
|
+
[TuiCurrency.EgyptianPound]: TuiCurrencyCode.EgyptianPound,
|
|
235
|
+
[TuiCurrency.KenyanShilling]: TuiCurrencyCode.KenyanShilling,
|
|
236
|
+
[TuiCurrency.LaoKip]: TuiCurrencyCode.LaoKip,
|
|
237
|
+
[TuiCurrency.MaldivianRufiyaa]: TuiCurrencyCode.MaldivianRufiyaa,
|
|
238
|
+
[TuiCurrency.PeruvianSol]: TuiCurrencyCode.PeruvianSol,
|
|
239
|
+
[TuiCurrency.PhilippinePeso]: TuiCurrencyCode.PhilippinePeso,
|
|
240
|
+
[TuiCurrency.TanzanianShilling]: TuiCurrencyCode.TanzanianShilling,
|
|
241
|
+
[TuiCurrency.UnidadDeFomento]: TuiCurrencyCode.UnidadDeFomento,
|
|
201
242
|
};
|
|
202
243
|
function tuiGetCodeByCurrency(code) {
|
|
203
244
|
return TUI_CODE_DICTIONARY[code] ?? null;
|
|
@@ -249,6 +290,17 @@ const TUI_CURRENCY_DICTIONARY = {
|
|
|
249
290
|
[TuiCurrencyCode.VietnameseDong]: TuiCurrency.VietnameseDong,
|
|
250
291
|
[TuiCurrencyCode.NewTurkmenManat]: TuiCurrency.NewTurkmenManat,
|
|
251
292
|
[TuiCurrencyCode.BrazilianReal]: TuiCurrency.BrazilianReal,
|
|
293
|
+
[TuiCurrencyCode.ArgentinePeso]: TuiCurrency.ArgentinePeso,
|
|
294
|
+
[TuiCurrencyCode.CambodianRiel]: TuiCurrency.CambodianRiel,
|
|
295
|
+
[TuiCurrencyCode.ChileanPeso]: TuiCurrency.ChileanPeso,
|
|
296
|
+
[TuiCurrencyCode.EgyptianPound]: TuiCurrency.EgyptianPound,
|
|
297
|
+
[TuiCurrencyCode.KenyanShilling]: TuiCurrency.KenyanShilling,
|
|
298
|
+
[TuiCurrencyCode.LaoKip]: TuiCurrency.LaoKip,
|
|
299
|
+
[TuiCurrencyCode.MaldivianRufiyaa]: TuiCurrency.MaldivianRufiyaa,
|
|
300
|
+
[TuiCurrencyCode.PeruvianSol]: TuiCurrency.PeruvianSol,
|
|
301
|
+
[TuiCurrencyCode.PhilippinePeso]: TuiCurrency.PhilippinePeso,
|
|
302
|
+
[TuiCurrencyCode.TanzanianShilling]: TuiCurrency.TanzanianShilling,
|
|
303
|
+
[TuiCurrencyCode.UnidadDeFomento]: TuiCurrency.UnidadDeFomento,
|
|
252
304
|
};
|
|
253
305
|
function tuiGetCurrencyByCode(currency) {
|
|
254
306
|
return TUI_CURRENCY_DICTIONARY[currency] ?? null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-addon-commerce-utils.mjs","sources":["../../../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/taiga-ui-addon-commerce-utils.ts"],"sourcesContent":["import {\n TuiCurrency,\n TuiCurrencyCode,\n type TuiCurrencyVariants,\n} from '@taiga-ui/addon-commerce/types';\n\nexport function tuiGetCurrencySymbol(currency: TuiCurrencyVariants): string | null {\n if (typeof currency === 'number') {\n return tuiGetCurrencySymbol(String(currency).padStart(3, '0'));\n }\n\n switch (currency) {\n case TuiCurrency.ArmenianDram:\n case TuiCurrencyCode.ArmenianDram:\n return '֏';\n case TuiCurrency.AustralianDollar:\n case TuiCurrencyCode.AustralianDollar:\n return 'A$';\n case TuiCurrency.AzerbaijaniManat:\n case TuiCurrencyCode.AzerbaijaniManat:\n return '₼';\n case TuiCurrency.BahrainiDinar:\n case TuiCurrencyCode.BahrainiDinar:\n return 'BD';\n case TuiCurrency.Baht:\n case TuiCurrencyCode.Baht:\n return '฿';\n case TuiCurrency.BelarusianRuble:\n case TuiCurrencyCode.BelarusianRuble:\n return 'Br';\n case TuiCurrency.BrazilianReal:\n case TuiCurrencyCode.BrazilianReal:\n return 'R$';\n case TuiCurrency.CanadianDollar:\n case TuiCurrencyCode.CanadianDollar:\n return 'C$';\n case TuiCurrency.CzechKoruna:\n case TuiCurrencyCode.CzechKoruna:\n return 'Kč';\n case TuiCurrency.Dirham:\n case TuiCurrencyCode.Dirham:\n return 'Dh';\n case TuiCurrency.Dollar:\n case TuiCurrency.MexicanPeso:\n case TuiCurrencyCode.Dollar:\n case TuiCurrencyCode.MexicanPeso:\n return '$';\n case TuiCurrency.EastCaribbeanDollar:\n case TuiCurrencyCode.EastCaribbeanDollar:\n return 'EC$';\n case TuiCurrency.Euro:\n case TuiCurrencyCode.Euro:\n return '€';\n case TuiCurrency.Forint:\n case TuiCurrencyCode.Forint:\n return 'Ft';\n case TuiCurrency.GeorgianLari:\n case TuiCurrencyCode.GeorgianLari:\n return '₾';\n case TuiCurrency.HongKongDollar:\n case TuiCurrencyCode.HongKongDollar:\n return 'HK$';\n case TuiCurrency.Hryvnia:\n case TuiCurrencyCode.Hryvnia:\n return '₴';\n case TuiCurrency.IndianRupee:\n case TuiCurrencyCode.IndianRupee:\n return '₹';\n case TuiCurrency.IndonesianRupiah:\n case TuiCurrencyCode.IndonesianRupiah:\n return 'Rp';\n case TuiCurrency.IranianRial:\n case TuiCurrencyCode.IranianRial:\n return 'IR';\n case TuiCurrency.IsraeliShekel:\n case TuiCurrencyCode.IsraeliShekel:\n return '₪';\n case TuiCurrency.KyrgyzstanSom:\n case TuiCurrencyCode.KyrgyzstanSom:\n return 'c';\n case TuiCurrency.MalaysianRinggit:\n case TuiCurrencyCode.MalaysianRinggit:\n return 'RM';\n case TuiCurrency.MoldovanLeu:\n case TuiCurrencyCode.MoldovanLeu:\n return 'L';\n case TuiCurrency.MongolianTugrik:\n case TuiCurrencyCode.MongolianTugrik:\n return '₮';\n case TuiCurrency.NewTurkmenManat:\n case TuiCurrencyCode.NewTurkmenManat:\n return 'TMT';\n case TuiCurrency.PolandZloty:\n case TuiCurrencyCode.PolandZloty:\n return 'zł';\n case TuiCurrency.Pound:\n case TuiCurrencyCode.Pound:\n return '£';\n case TuiCurrency.Ruble:\n case TuiCurrencyCode.Ruble:\n return '₽';\n case TuiCurrency.SaudiRiyal:\n case TuiCurrencyCode.SaudiRiyal:\n return 'SR';\n case TuiCurrency.SerbianDinar:\n case TuiCurrencyCode.SerbianDinar:\n return 'DIN';\n case TuiCurrency.SingaporeDollar:\n case TuiCurrencyCode.SingaporeDollar:\n return 'S$';\n case TuiCurrency.SouthAfricanRand:\n case TuiCurrencyCode.SouthAfricanRand:\n return 'R';\n case TuiCurrency.SriLankanRupee:\n case TuiCurrencyCode.SriLankanRupee:\n return 'Rs.';\n case TuiCurrency.SwissFranc:\n case TuiCurrencyCode.SwissFranc:\n return '₣';\n case TuiCurrency.TajikistaniSomoni:\n case TuiCurrencyCode.TajikistaniSomoni:\n return 'SM';\n case TuiCurrency.Tenge:\n case TuiCurrencyCode.Tenge:\n return '₸';\n case TuiCurrency.TurkishLira:\n case TuiCurrencyCode.TurkishLira:\n return '₺';\n case TuiCurrency.UzbekSum:\n case TuiCurrencyCode.UzbekSum:\n return \"So'm\";\n case TuiCurrency.VietnameseDong:\n case TuiCurrencyCode.VietnameseDong:\n return 'đ';\n case TuiCurrency.Won:\n case TuiCurrencyCode.Won:\n return '₩';\n case TuiCurrency.Yen:\n case TuiCurrencyCode.Yen:\n return '¥';\n case TuiCurrency.YuanRenminbi:\n case TuiCurrencyCode.YuanRenminbi:\n return 'CN¥';\n default:\n return null;\n }\n}\n","import {type TuiCurrencyVariants} from '@taiga-ui/addon-commerce/types';\n\nimport {tuiGetCurrencySymbol} from './get-currency-symbol';\n\n/**\n * @deprecated Use {@link tuiGetCurrencySymbol} instead.\n * TODO(v6): delete\n */\nexport function tuiFormatCurrency(currency: TuiCurrencyVariants): string {\n const fallback =\n typeof currency === 'number' ? String(currency).padStart(3, '0') : currency;\n\n return tuiGetCurrencySymbol(currency) ?? fallback ?? '';\n}\n","// cspell:disable\nimport {TuiCurrency, TuiCurrencyCode} from '@taiga-ui/addon-commerce/types';\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.MoldovanLeu]: TuiCurrencyCode.MoldovanLeu,\n [TuiCurrency.PolandZloty]: TuiCurrencyCode.PolandZloty,\n [TuiCurrency.SingaporeDollar]: TuiCurrencyCode.SingaporeDollar,\n [TuiCurrency.AustralianDollar]: TuiCurrencyCode.AustralianDollar,\n [TuiCurrency.HongKongDollar]: TuiCurrencyCode.HongKongDollar,\n [TuiCurrency.CanadianDollar]: TuiCurrencyCode.CanadianDollar,\n [TuiCurrency.CzechKoruna]: TuiCurrencyCode.CzechKoruna,\n [TuiCurrency.EastCaribbeanDollar]: TuiCurrencyCode.EastCaribbeanDollar,\n [TuiCurrency.Euro]: TuiCurrencyCode.Euro,\n [TuiCurrency.Forint]: TuiCurrencyCode.Forint,\n [TuiCurrency.Pound]: TuiCurrencyCode.Pound,\n [TuiCurrency.Baht]: TuiCurrencyCode.Baht,\n [TuiCurrency.BahrainiDinar]: TuiCurrencyCode.BahrainiDinar,\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/types';\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.MoldovanLeu]: TuiCurrency.MoldovanLeu,\n [TuiCurrencyCode.PolandZloty]: TuiCurrency.PolandZloty,\n [TuiCurrencyCode.SingaporeDollar]: TuiCurrency.SingaporeDollar,\n [TuiCurrencyCode.AustralianDollar]: TuiCurrency.AustralianDollar,\n [TuiCurrencyCode.HongKongDollar]: TuiCurrency.HongKongDollar,\n [TuiCurrencyCode.CanadianDollar]: TuiCurrency.CanadianDollar,\n [TuiCurrencyCode.CzechKoruna]: TuiCurrency.CzechKoruna,\n [TuiCurrencyCode.EastCaribbeanDollar]: TuiCurrency.EastCaribbeanDollar,\n [TuiCurrencyCode.Euro]: TuiCurrency.Euro,\n [TuiCurrencyCode.Forint]: TuiCurrency.Forint,\n [TuiCurrencyCode.Pound]: TuiCurrency.Pound,\n [TuiCurrencyCode.Baht]: TuiCurrency.Baht,\n [TuiCurrencyCode.BahrainiDinar]: TuiCurrency.BahrainiDinar,\n [TuiCurrencyCode.TurkishLira]: TuiCurrency.TurkishLira,\n [TuiCurrencyCode.YuanRenminbi]: TuiCurrency.YuanRenminbi,\n [TuiCurrencyCode.Yen]: TuiCurrency.Yen,\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 {type 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 ['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 || two === 50 || (two > 55 && two < 59)) {\n return true;\n }\n\n return three < 500 ? false : 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 return four < 1000 ? false : 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/cdk/constants';\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 const {length} = cardNumber;\n\n const arr = cardNumber.split('').map((char, index) => {\n const digit = Number.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/utils/math';\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(Number.parseInt(expire.slice(0, 2), 10), 1, 12);\n const expireYear = tuiClamp(Number.parseInt(expire.slice(-2), 10), 0, 99);\n\n return (\n expireYear > currentYear ||\n (currentYear === expireYear && expireMonth >= currentMonth)\n );\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAMM,SAAU,oBAAoB,CAAC,QAA6B,EAAA;AAC9D,IAAA,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE;AAC9B,QAAA,OAAO,oBAAoB,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC;IAClE;IAEA,QAAQ,QAAQ;QACZ,KAAK,WAAW,CAAC,YAAY;QAC7B,KAAK,eAAe,CAAC,YAAY;AAC7B,YAAA,OAAO,GAAG;QACd,KAAK,WAAW,CAAC,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CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;IAC5E,MAAM,UAAU,GAAG,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;IAEzE,QACI,UAAU,GAAG,WAAW;SACvB,WAAW,KAAK,UAAU,IAAI,WAAW,IAAI,YAAY,CAAC;AAEnE;;ACZA;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"taiga-ui-addon-commerce-utils.mjs","sources":["../../../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/taiga-ui-addon-commerce-utils.ts"],"sourcesContent":["import {\n TuiCurrency,\n TuiCurrencyCode,\n type TuiCurrencyVariants,\n} from '@taiga-ui/addon-commerce/types';\n\nexport function tuiGetCurrencySymbol(currency: TuiCurrencyVariants): string | null {\n if (typeof currency === 'number') {\n return tuiGetCurrencySymbol(String(currency).padStart(3, '0'));\n }\n\n switch (currency) {\n case TuiCurrency.ArgentinePeso:\n case TuiCurrency.ChileanPeso:\n case TuiCurrency.Dollar:\n case TuiCurrency.MexicanPeso:\n case TuiCurrency.UnidadDeFomento:\n case TuiCurrencyCode.ArgentinePeso:\n case TuiCurrencyCode.ChileanPeso:\n case TuiCurrencyCode.Dollar:\n case TuiCurrencyCode.MexicanPeso:\n case TuiCurrencyCode.UnidadDeFomento:\n return '$';\n case TuiCurrency.ArmenianDram:\n case TuiCurrencyCode.ArmenianDram:\n return '֏';\n case TuiCurrency.AustralianDollar:\n case TuiCurrencyCode.AustralianDollar:\n return 'A$';\n case TuiCurrency.AzerbaijaniManat:\n case TuiCurrencyCode.AzerbaijaniManat:\n return '₼';\n case TuiCurrency.BahrainiDinar:\n case TuiCurrencyCode.BahrainiDinar:\n return 'BD';\n case TuiCurrency.Baht:\n case TuiCurrencyCode.Baht:\n return '฿';\n case TuiCurrency.BelarusianRuble:\n case TuiCurrencyCode.BelarusianRuble:\n return 'Br';\n case TuiCurrency.BrazilianReal:\n case TuiCurrencyCode.BrazilianReal:\n return 'R$';\n case TuiCurrency.CambodianRiel:\n case TuiCurrencyCode.CambodianRiel:\n return '៛';\n case TuiCurrency.CanadianDollar:\n case TuiCurrencyCode.CanadianDollar:\n return 'C$';\n case TuiCurrency.CzechKoruna:\n case TuiCurrencyCode.CzechKoruna:\n return 'Kč';\n case TuiCurrency.Dirham:\n case TuiCurrencyCode.Dirham:\n return 'Dh';\n case TuiCurrency.EastCaribbeanDollar:\n case TuiCurrencyCode.EastCaribbeanDollar:\n return 'EC$';\n case TuiCurrency.EgyptianPound:\n case TuiCurrencyCode.EgyptianPound:\n return '£E';\n case TuiCurrency.Euro:\n case TuiCurrencyCode.Euro:\n return '€';\n case TuiCurrency.Forint:\n case TuiCurrencyCode.Forint:\n return 'Ft';\n case TuiCurrency.GeorgianLari:\n case TuiCurrencyCode.GeorgianLari:\n return '₾';\n case TuiCurrency.HongKongDollar:\n case TuiCurrencyCode.HongKongDollar:\n return 'HK$';\n case TuiCurrency.Hryvnia:\n case TuiCurrencyCode.Hryvnia:\n return '₴';\n case TuiCurrency.IndianRupee:\n case TuiCurrencyCode.IndianRupee:\n return '₹';\n case TuiCurrency.IndonesianRupiah:\n case TuiCurrencyCode.IndonesianRupiah:\n return 'Rp';\n case TuiCurrency.IranianRial:\n case TuiCurrencyCode.IranianRial:\n return 'IR';\n case TuiCurrency.IsraeliShekel:\n case TuiCurrencyCode.IsraeliShekel:\n return '₪';\n case TuiCurrency.KenyanShilling:\n case TuiCurrencyCode.KenyanShilling:\n return 'KSh';\n case TuiCurrency.KyrgyzstanSom:\n case TuiCurrencyCode.KyrgyzstanSom:\n return 'c';\n case TuiCurrency.LaoKip:\n case TuiCurrencyCode.LaoKip:\n return '₭';\n case TuiCurrency.MalaysianRinggit:\n case TuiCurrencyCode.MalaysianRinggit:\n return 'RM';\n case TuiCurrency.MaldivianRufiyaa:\n case TuiCurrencyCode.MaldivianRufiyaa:\n return 'ރ';\n case TuiCurrency.MoldovanLeu:\n case TuiCurrencyCode.MoldovanLeu:\n return 'L';\n case TuiCurrency.MongolianTugrik:\n case TuiCurrencyCode.MongolianTugrik:\n return '₮';\n case TuiCurrency.NewTurkmenManat:\n case TuiCurrencyCode.NewTurkmenManat:\n return 'TMT';\n case TuiCurrency.PeruvianSol:\n case TuiCurrencyCode.PeruvianSol:\n return 'S/';\n case TuiCurrency.PhilippinePeso:\n case TuiCurrencyCode.PhilippinePeso:\n return '₱';\n case TuiCurrency.PolandZloty:\n case TuiCurrencyCode.PolandZloty:\n return 'zł';\n case TuiCurrency.Pound:\n case TuiCurrencyCode.Pound:\n return '£';\n case TuiCurrency.Ruble:\n case TuiCurrencyCode.Ruble:\n return '₽';\n case TuiCurrency.SaudiRiyal:\n case TuiCurrencyCode.SaudiRiyal:\n return 'SR';\n case TuiCurrency.SerbianDinar:\n case TuiCurrencyCode.SerbianDinar:\n return 'DIN';\n case TuiCurrency.SingaporeDollar:\n case TuiCurrencyCode.SingaporeDollar:\n return 'S$';\n case TuiCurrency.SouthAfricanRand:\n case TuiCurrencyCode.SouthAfricanRand:\n return 'R';\n case TuiCurrency.SriLankanRupee:\n case TuiCurrencyCode.SriLankanRupee:\n return 'Rs.';\n case TuiCurrency.SwissFranc:\n case TuiCurrencyCode.SwissFranc:\n return '₣';\n case TuiCurrency.TajikistaniSomoni:\n case TuiCurrencyCode.TajikistaniSomoni:\n return 'SM';\n case TuiCurrency.TanzanianShilling:\n case TuiCurrencyCode.TanzanianShilling:\n return 'TSh';\n case TuiCurrency.Tenge:\n case TuiCurrencyCode.Tenge:\n return '₸';\n case TuiCurrency.TurkishLira:\n case TuiCurrencyCode.TurkishLira:\n return '₺';\n case TuiCurrency.UzbekSum:\n case TuiCurrencyCode.UzbekSum:\n return \"So'm\";\n case TuiCurrency.VietnameseDong:\n case TuiCurrencyCode.VietnameseDong:\n return 'đ';\n case TuiCurrency.Won:\n case TuiCurrencyCode.Won:\n return '₩';\n case TuiCurrency.Yen:\n case TuiCurrencyCode.Yen:\n return '¥';\n case TuiCurrency.YuanRenminbi:\n case TuiCurrencyCode.YuanRenminbi:\n return 'CN¥';\n default:\n return null;\n }\n}\n","import {type TuiCurrencyVariants} from '@taiga-ui/addon-commerce/types';\n\nimport {tuiGetCurrencySymbol} from './get-currency-symbol';\n\n/**\n * @deprecated Use {@link tuiGetCurrencySymbol} instead.\n * TODO(v6): delete\n */\nexport function tuiFormatCurrency(currency: TuiCurrencyVariants): string {\n const fallback =\n typeof currency === 'number' ? String(currency).padStart(3, '0') : currency;\n\n return tuiGetCurrencySymbol(currency) ?? fallback ?? '';\n}\n","// cspell:disable\nimport {TuiCurrency, TuiCurrencyCode} from '@taiga-ui/addon-commerce/types';\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.MoldovanLeu]: TuiCurrencyCode.MoldovanLeu,\n [TuiCurrency.PolandZloty]: TuiCurrencyCode.PolandZloty,\n [TuiCurrency.SingaporeDollar]: TuiCurrencyCode.SingaporeDollar,\n [TuiCurrency.AustralianDollar]: TuiCurrencyCode.AustralianDollar,\n [TuiCurrency.HongKongDollar]: TuiCurrencyCode.HongKongDollar,\n [TuiCurrency.CanadianDollar]: TuiCurrencyCode.CanadianDollar,\n [TuiCurrency.CzechKoruna]: TuiCurrencyCode.CzechKoruna,\n [TuiCurrency.EastCaribbeanDollar]: TuiCurrencyCode.EastCaribbeanDollar,\n [TuiCurrency.Euro]: TuiCurrencyCode.Euro,\n [TuiCurrency.Forint]: TuiCurrencyCode.Forint,\n [TuiCurrency.Pound]: TuiCurrencyCode.Pound,\n [TuiCurrency.Baht]: TuiCurrencyCode.Baht,\n [TuiCurrency.BahrainiDinar]: TuiCurrencyCode.BahrainiDinar,\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 [TuiCurrency.ArgentinePeso]: TuiCurrencyCode.ArgentinePeso,\n [TuiCurrency.CambodianRiel]: TuiCurrencyCode.CambodianRiel,\n [TuiCurrency.ChileanPeso]: TuiCurrencyCode.ChileanPeso,\n [TuiCurrency.EgyptianPound]: TuiCurrencyCode.EgyptianPound,\n [TuiCurrency.KenyanShilling]: TuiCurrencyCode.KenyanShilling,\n [TuiCurrency.LaoKip]: TuiCurrencyCode.LaoKip,\n [TuiCurrency.MaldivianRufiyaa]: TuiCurrencyCode.MaldivianRufiyaa,\n [TuiCurrency.PeruvianSol]: TuiCurrencyCode.PeruvianSol,\n [TuiCurrency.PhilippinePeso]: TuiCurrencyCode.PhilippinePeso,\n [TuiCurrency.TanzanianShilling]: TuiCurrencyCode.TanzanianShilling,\n [TuiCurrency.UnidadDeFomento]: TuiCurrencyCode.UnidadDeFomento,\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/types';\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.MoldovanLeu]: TuiCurrency.MoldovanLeu,\n [TuiCurrencyCode.PolandZloty]: TuiCurrency.PolandZloty,\n [TuiCurrencyCode.SingaporeDollar]: TuiCurrency.SingaporeDollar,\n [TuiCurrencyCode.AustralianDollar]: TuiCurrency.AustralianDollar,\n [TuiCurrencyCode.HongKongDollar]: TuiCurrency.HongKongDollar,\n [TuiCurrencyCode.CanadianDollar]: TuiCurrency.CanadianDollar,\n [TuiCurrencyCode.CzechKoruna]: TuiCurrency.CzechKoruna,\n [TuiCurrencyCode.EastCaribbeanDollar]: TuiCurrency.EastCaribbeanDollar,\n [TuiCurrencyCode.Euro]: TuiCurrency.Euro,\n [TuiCurrencyCode.Forint]: TuiCurrency.Forint,\n [TuiCurrencyCode.Pound]: TuiCurrency.Pound,\n [TuiCurrencyCode.Baht]: TuiCurrency.Baht,\n [TuiCurrencyCode.BahrainiDinar]: TuiCurrency.BahrainiDinar,\n [TuiCurrencyCode.TurkishLira]: TuiCurrency.TurkishLira,\n [TuiCurrencyCode.YuanRenminbi]: TuiCurrency.YuanRenminbi,\n [TuiCurrencyCode.Yen]: TuiCurrency.Yen,\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 [TuiCurrencyCode.ArgentinePeso]: TuiCurrency.ArgentinePeso,\n [TuiCurrencyCode.CambodianRiel]: TuiCurrency.CambodianRiel,\n [TuiCurrencyCode.ChileanPeso]: TuiCurrency.ChileanPeso,\n [TuiCurrencyCode.EgyptianPound]: TuiCurrency.EgyptianPound,\n [TuiCurrencyCode.KenyanShilling]: TuiCurrency.KenyanShilling,\n [TuiCurrencyCode.LaoKip]: TuiCurrency.LaoKip,\n [TuiCurrencyCode.MaldivianRufiyaa]: TuiCurrency.MaldivianRufiyaa,\n [TuiCurrencyCode.PeruvianSol]: TuiCurrency.PeruvianSol,\n [TuiCurrencyCode.PhilippinePeso]: TuiCurrency.PhilippinePeso,\n [TuiCurrencyCode.TanzanianShilling]: TuiCurrency.TanzanianShilling,\n [TuiCurrencyCode.UnidadDeFomento]: TuiCurrency.UnidadDeFomento,\n};\n\nexport function tuiGetCurrencyByCode(currency: TuiCurrencyCode): TuiCurrency | null {\n return TUI_CURRENCY_DICTIONARY[currency] ?? null;\n}\n","import {type 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 ['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 || two === 50 || (two > 55 && two < 59)) {\n return true;\n }\n\n return three < 500 ? false : 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 return four < 1000 ? false : 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/cdk/constants';\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 const {length} = cardNumber;\n\n const arr = cardNumber.split('').map((char, index) => {\n const digit = Number.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/utils/math';\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(Number.parseInt(expire.slice(0, 2), 10), 1, 12);\n const expireYear = tuiClamp(Number.parseInt(expire.slice(-2), 10), 0, 99);\n\n return (\n expireYear > currentYear ||\n (currentYear === expireYear && expireMonth >= currentMonth)\n );\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAMM,SAAU,oBAAoB,CAAC,QAA6B,EAAA;AAC9D,IAAA,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE;AAC9B,QAAA,OAAO,oBAAoB,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC;IAClE;IAEA,QAAQ,QAAQ;QACZ,KAAK,WAAW,CAAC,aAAa;QAC9B,KAAK,WAAW,CAAC,WAAW;QAC5B,KAAK,WAAW,CAAC,MAAM;QACvB,KAAK,WAAW,CAAC,WAAW;QAC5B,KAAK,WAAW,CAAC,eAAe;QAChC,KAAK,eAAe,CAAC,aAAa;QAClC,KAAK,eAAe,CAAC,WAAW;QAChC,KAAK,eAAe,CAAC,MAAM;QAC3B,KAAK,eAAe,CAAC,WAAW;QAChC,KAAK,eAAe,CAAC,eAAe;AAChC,YAAA,OAAO,GAAG;QACd,KAAK,WAAW,CAAC,YAAY;QAC7B,KAAK,eAAe,CAAC,YAAY;AAC7B,YAAA,OAAO,GAAG;QACd,KAAK,WAAW,CAAC,gBAAgB;QACjC,KAAK,eAAe,CAAC,gBAAgB;AACjC,YAAA,OAAO,IAAI;QACf,KAAK,WAAW,CAAC,gBAAgB;QACjC,KAAK,eAAe,CAAC,gBAAgB;AACjC,YAAA,OAAO,GAAG;QACd,KAAK,WAAW,CAAC,aAAa;QAC9B,KAAK,eAAe,CAAC,aAAa;AAC9B,YAAA,OAAO,IAAI;QACf,KAAK,WAAW,CAAC,IAAI;QACrB,KAAK,eAAe,CAAC,IAAI;AACrB,YAAA,OAAO,GAAG;QACd,KAA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AAC,GAAG,CAAC,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC;AACjD;;ACpBM,SAAU,gBAAgB,CAAC,MAAc,EAAE,KAAK,GAAG,IAAI,IAAI,EAAE,EAAA;IAC/D,MAAM,YAAY,GAAG,KAAK,CAAC,QAAQ,EAAE,GAAG,CAAC;IACzC,MAAM,WAAW,GAAG,KAAK,CAAC,WAAW,EAAE,GAAG,IAAI;IAC9C,MAAM,WAAW,GAAG,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;IAC5E,MAAM,UAAU,GAAG,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;IAEzE,QACI,UAAU,GAAG,WAAW;SACvB,WAAW,KAAK,UAAU,IAAI,WAAW,IAAI,YAAY,CAAC;AAEnE;;ACZA;;AAEG;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taiga-ui/addon-commerce",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.24.0",
|
|
4
4
|
"description": "Extension package for Taiga UI related to commerce, payment systems, currencies etc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -38,10 +38,10 @@
|
|
|
38
38
|
"@maskito/core": "^5.3.1",
|
|
39
39
|
"@maskito/kit": "^5.3.1",
|
|
40
40
|
"@ng-web-apis/common": "^5.3.0",
|
|
41
|
-
"@taiga-ui/cdk": "5.
|
|
42
|
-
"@taiga-ui/core": "5.
|
|
43
|
-
"@taiga-ui/i18n": "5.
|
|
44
|
-
"@taiga-ui/kit": "5.
|
|
41
|
+
"@taiga-ui/cdk": "5.24.0",
|
|
42
|
+
"@taiga-ui/core": "5.24.0",
|
|
43
|
+
"@taiga-ui/i18n": "5.24.0",
|
|
44
|
+
"@taiga-ui/kit": "5.24.0",
|
|
45
45
|
"@taiga-ui/polymorpheus": "^5.0.1",
|
|
46
46
|
"rxjs": ">=7.0.0"
|
|
47
47
|
},
|
|
@@ -75,14 +75,14 @@
|
|
|
75
75
|
"types": "./types/index.d.ts",
|
|
76
76
|
"default": "./fesm2022/taiga-ui-addon-commerce-types.mjs"
|
|
77
77
|
},
|
|
78
|
-
"./utils": {
|
|
79
|
-
"types": "./utils/index.d.ts",
|
|
80
|
-
"default": "./fesm2022/taiga-ui-addon-commerce-utils.mjs"
|
|
81
|
-
},
|
|
82
78
|
"./validators": {
|
|
83
79
|
"types": "./validators/index.d.ts",
|
|
84
80
|
"default": "./fesm2022/taiga-ui-addon-commerce-validators.mjs"
|
|
85
81
|
},
|
|
82
|
+
"./utils": {
|
|
83
|
+
"types": "./utils/index.d.ts",
|
|
84
|
+
"default": "./fesm2022/taiga-ui-addon-commerce-utils.mjs"
|
|
85
|
+
},
|
|
86
86
|
"./components/input-card": {
|
|
87
87
|
"types": "./components/input-card/index.d.ts",
|
|
88
88
|
"default": "./fesm2022/taiga-ui-addon-commerce-components-input-card.mjs"
|
package/types/currency-code.d.ts
CHANGED
|
@@ -7,6 +7,15 @@
|
|
|
7
7
|
* @link https://en.wikipedia.org/wiki/ISO_4217
|
|
8
8
|
*/
|
|
9
9
|
export declare enum TuiCurrencyCode {
|
|
10
|
+
/**
|
|
11
|
+
* Argentine peso
|
|
12
|
+
*
|
|
13
|
+
* @description Numeric code: 032
|
|
14
|
+
* @description Alphabetic code: ARS
|
|
15
|
+
* @description Countries and territories: Argentina
|
|
16
|
+
* @description Currency symbol: $
|
|
17
|
+
*/
|
|
18
|
+
ArgentinePeso = "032",
|
|
10
19
|
/**
|
|
11
20
|
* Armenian dram
|
|
12
21
|
*
|
|
@@ -70,6 +79,15 @@ export declare enum TuiCurrencyCode {
|
|
|
70
79
|
* @description Currency symbol: R$
|
|
71
80
|
*/
|
|
72
81
|
BrazilianReal = "986",
|
|
82
|
+
/**
|
|
83
|
+
* Cambodian riel
|
|
84
|
+
*
|
|
85
|
+
* @description Numeric code: 116
|
|
86
|
+
* @description Alphabetic code: KHR
|
|
87
|
+
* @description Countries and territories: Cambodia
|
|
88
|
+
* @description Currency symbol: ៛
|
|
89
|
+
*/
|
|
90
|
+
CambodianRiel = "116",
|
|
73
91
|
/**
|
|
74
92
|
* Canadian dollar
|
|
75
93
|
*
|
|
@@ -79,6 +97,15 @@ export declare enum TuiCurrencyCode {
|
|
|
79
97
|
* @description Currency symbol: C$
|
|
80
98
|
*/
|
|
81
99
|
CanadianDollar = "124",
|
|
100
|
+
/**
|
|
101
|
+
* Chilean peso
|
|
102
|
+
*
|
|
103
|
+
* @description Numeric code: 152
|
|
104
|
+
* @description Alphabetic code: CLP
|
|
105
|
+
* @description Countries and territories: Chile
|
|
106
|
+
* @description Currency symbol: $
|
|
107
|
+
*/
|
|
108
|
+
ChileanPeso = "152",
|
|
82
109
|
/**
|
|
83
110
|
* Czech Koruna
|
|
84
111
|
*
|
|
@@ -115,6 +142,15 @@ export declare enum TuiCurrencyCode {
|
|
|
115
142
|
* @description Currency symbol: EC$
|
|
116
143
|
*/
|
|
117
144
|
EastCaribbeanDollar = "951",
|
|
145
|
+
/**
|
|
146
|
+
* Egyptian pound
|
|
147
|
+
*
|
|
148
|
+
* @description Numeric code: 818
|
|
149
|
+
* @description Alphabetic code: EGP
|
|
150
|
+
* @description Countries and territories: Egypt
|
|
151
|
+
* @description Currency symbol: £E
|
|
152
|
+
*/
|
|
153
|
+
EgyptianPound = "818",
|
|
118
154
|
/**
|
|
119
155
|
* Euro
|
|
120
156
|
*
|
|
@@ -196,6 +232,15 @@ export declare enum TuiCurrencyCode {
|
|
|
196
232
|
* @description Currency symbol: ₪
|
|
197
233
|
*/
|
|
198
234
|
IsraeliShekel = "376",
|
|
235
|
+
/**
|
|
236
|
+
* Kenyan shilling
|
|
237
|
+
*
|
|
238
|
+
* @description Numeric code: 404
|
|
239
|
+
* @description Alphabetic code: KES
|
|
240
|
+
* @description Countries and territories: Kenya
|
|
241
|
+
* @description Currency symbol: KSh
|
|
242
|
+
*/
|
|
243
|
+
KenyanShilling = "404",
|
|
199
244
|
/**
|
|
200
245
|
* Kyrgyzstani som
|
|
201
246
|
*
|
|
@@ -205,6 +250,15 @@ export declare enum TuiCurrencyCode {
|
|
|
205
250
|
* @description Currency symbol: c
|
|
206
251
|
*/
|
|
207
252
|
KyrgyzstanSom = "417",
|
|
253
|
+
/**
|
|
254
|
+
* Lao kip
|
|
255
|
+
*
|
|
256
|
+
* @description Numeric code: 418
|
|
257
|
+
* @description Alphabetic code: LAK
|
|
258
|
+
* @description Countries and territories: Laos
|
|
259
|
+
* @description Currency symbol: ₭
|
|
260
|
+
*/
|
|
261
|
+
LaoKip = "418",
|
|
208
262
|
/**
|
|
209
263
|
* Malaysian ringgit
|
|
210
264
|
*
|
|
@@ -214,6 +268,15 @@ export declare enum TuiCurrencyCode {
|
|
|
214
268
|
* @description Currency symbol: RM
|
|
215
269
|
*/
|
|
216
270
|
MalaysianRinggit = "458",
|
|
271
|
+
/**
|
|
272
|
+
* Maldivian rufiyaa
|
|
273
|
+
*
|
|
274
|
+
* @description Numeric code: 462
|
|
275
|
+
* @description Alphabetic code: MVR
|
|
276
|
+
* @description Countries and territories: Maldives
|
|
277
|
+
* @description Currency symbol: ރ
|
|
278
|
+
*/
|
|
279
|
+
MaldivianRufiyaa = "462",
|
|
217
280
|
/**
|
|
218
281
|
* Mexican peso
|
|
219
282
|
*
|
|
@@ -250,6 +313,24 @@ export declare enum TuiCurrencyCode {
|
|
|
250
313
|
* @description Currency symbol: TMT
|
|
251
314
|
*/
|
|
252
315
|
NewTurkmenManat = "934",
|
|
316
|
+
/**
|
|
317
|
+
* Peruvian sol
|
|
318
|
+
*
|
|
319
|
+
* @description Numeric code: 604
|
|
320
|
+
* @description Alphabetic code: PEN
|
|
321
|
+
* @description Countries and territories: Peru
|
|
322
|
+
* @description Currency symbol: S/
|
|
323
|
+
*/
|
|
324
|
+
PeruvianSol = "604",
|
|
325
|
+
/**
|
|
326
|
+
* Philippine peso
|
|
327
|
+
*
|
|
328
|
+
* @description Numeric code: 608
|
|
329
|
+
* @description Alphabetic code: PHP
|
|
330
|
+
* @description Countries and territories: Philippines
|
|
331
|
+
* @description Currency symbol: ₱
|
|
332
|
+
*/
|
|
333
|
+
PhilippinePeso = "608",
|
|
253
334
|
/**
|
|
254
335
|
* Poland Zloty
|
|
255
336
|
*
|
|
@@ -340,6 +421,15 @@ export declare enum TuiCurrencyCode {
|
|
|
340
421
|
*/
|
|
341
422
|
SwissFranc = "756",
|
|
342
423
|
TajikistaniSomoni = "972",
|
|
424
|
+
/**
|
|
425
|
+
* Tanzanian shilling
|
|
426
|
+
*
|
|
427
|
+
* @description Numeric code: 834
|
|
428
|
+
* @description Alphabetic code: TZS
|
|
429
|
+
* @description Countries and territories: Tanzania
|
|
430
|
+
* @description Currency symbol: TSh
|
|
431
|
+
*/
|
|
432
|
+
TanzanianShilling = "834",
|
|
343
433
|
/**
|
|
344
434
|
* Kazakhstani tenge
|
|
345
435
|
*
|
|
@@ -358,6 +448,15 @@ export declare enum TuiCurrencyCode {
|
|
|
358
448
|
* @description Currency symbol: ₺
|
|
359
449
|
*/
|
|
360
450
|
TurkishLira = "949",
|
|
451
|
+
/**
|
|
452
|
+
* Unidad de Fomento
|
|
453
|
+
*
|
|
454
|
+
* @description Numeric code: 990
|
|
455
|
+
* @description Alphabetic code: CLF
|
|
456
|
+
* @description Countries and territories: Chile
|
|
457
|
+
* @description Currency symbol: $
|
|
458
|
+
*/
|
|
459
|
+
UnidadDeFomento = "990",
|
|
361
460
|
/**
|
|
362
461
|
* Uzbek sum
|
|
363
462
|
*
|
package/types/currency.d.ts
CHANGED
|
@@ -7,6 +7,15 @@
|
|
|
7
7
|
* @link https://en.wikipedia.org/wiki/ISO_4217
|
|
8
8
|
*/
|
|
9
9
|
export declare enum TuiCurrency {
|
|
10
|
+
/**
|
|
11
|
+
* Argentine peso
|
|
12
|
+
*
|
|
13
|
+
* @description Numeric code: 032
|
|
14
|
+
* @description Alphabetic code: ARS
|
|
15
|
+
* @description Countries and territories: Argentina
|
|
16
|
+
* @description Currency symbol: $
|
|
17
|
+
*/
|
|
18
|
+
ArgentinePeso = "ARS",
|
|
10
19
|
/**
|
|
11
20
|
* Armenian dram
|
|
12
21
|
*
|
|
@@ -62,6 +71,15 @@ export declare enum TuiCurrency {
|
|
|
62
71
|
* @description Currency symbol: R$
|
|
63
72
|
*/
|
|
64
73
|
BrazilianReal = "BRL",
|
|
74
|
+
/**
|
|
75
|
+
* Cambodian riel
|
|
76
|
+
*
|
|
77
|
+
* @description Numeric code: 116
|
|
78
|
+
* @description Alphabetic code: KHR
|
|
79
|
+
* @description Countries and territories: Cambodia
|
|
80
|
+
* @description Currency symbol: ៛
|
|
81
|
+
*/
|
|
82
|
+
CambodianRiel = "KHR",
|
|
65
83
|
/**
|
|
66
84
|
* Canadian dollar
|
|
67
85
|
*
|
|
@@ -71,6 +89,15 @@ export declare enum TuiCurrency {
|
|
|
71
89
|
* @description Currency symbol: C$
|
|
72
90
|
*/
|
|
73
91
|
CanadianDollar = "CAD",
|
|
92
|
+
/**
|
|
93
|
+
* Chilean peso
|
|
94
|
+
*
|
|
95
|
+
* @description Numeric code: 152
|
|
96
|
+
* @description Alphabetic code: CLP
|
|
97
|
+
* @description Countries and territories: Chile
|
|
98
|
+
* @description Currency symbol: $
|
|
99
|
+
*/
|
|
100
|
+
ChileanPeso = "CLP",
|
|
74
101
|
/**
|
|
75
102
|
* Czech Koruna
|
|
76
103
|
*
|
|
@@ -107,6 +134,15 @@ export declare enum TuiCurrency {
|
|
|
107
134
|
* @description Currency symbol: EC$
|
|
108
135
|
*/
|
|
109
136
|
EastCaribbeanDollar = "XCD",
|
|
137
|
+
/**
|
|
138
|
+
* Egyptian pound
|
|
139
|
+
*
|
|
140
|
+
* @description Numeric code: 818
|
|
141
|
+
* @description Alphabetic code: EGP
|
|
142
|
+
* @description Countries and territories: Egypt
|
|
143
|
+
* @description Currency symbol: £E
|
|
144
|
+
*/
|
|
145
|
+
EgyptianPound = "EGP",
|
|
110
146
|
/**
|
|
111
147
|
* Euro
|
|
112
148
|
*
|
|
@@ -164,6 +200,15 @@ export declare enum TuiCurrency {
|
|
|
164
200
|
* @description Currency symbol: ₪
|
|
165
201
|
*/
|
|
166
202
|
IsraeliShekel = "ILS",
|
|
203
|
+
/**
|
|
204
|
+
* Kenyan shilling
|
|
205
|
+
*
|
|
206
|
+
* @description Numeric code: 404
|
|
207
|
+
* @description Alphabetic code: KES
|
|
208
|
+
* @description Countries and territories: Kenya
|
|
209
|
+
* @description Currency symbol: KSh
|
|
210
|
+
*/
|
|
211
|
+
KenyanShilling = "KES",
|
|
167
212
|
/**
|
|
168
213
|
* Kyrgyzstani som
|
|
169
214
|
*
|
|
@@ -173,7 +218,25 @@ export declare enum TuiCurrency {
|
|
|
173
218
|
* @description Currency symbol: c
|
|
174
219
|
*/
|
|
175
220
|
KyrgyzstanSom = "KGS",
|
|
221
|
+
/**
|
|
222
|
+
* Lao kip
|
|
223
|
+
*
|
|
224
|
+
* @description Numeric code: 418
|
|
225
|
+
* @description Alphabetic code: LAK
|
|
226
|
+
* @description Countries and territories: Laos
|
|
227
|
+
* @description Currency symbol: ₭
|
|
228
|
+
*/
|
|
229
|
+
LaoKip = "LAK",
|
|
176
230
|
MalaysianRinggit = "MYR",
|
|
231
|
+
/**
|
|
232
|
+
* Maldivian rufiyaa
|
|
233
|
+
*
|
|
234
|
+
* @description Numeric code: 462
|
|
235
|
+
* @description Alphabetic code: MVR
|
|
236
|
+
* @description Countries and territories: Maldives
|
|
237
|
+
* @description Currency symbol: ރ
|
|
238
|
+
*/
|
|
239
|
+
MaldivianRufiyaa = "MVR",
|
|
177
240
|
/**
|
|
178
241
|
* Mexican peso
|
|
179
242
|
*
|
|
@@ -194,6 +257,24 @@ export declare enum TuiCurrency {
|
|
|
194
257
|
MoldovanLeu = "MDL",
|
|
195
258
|
MongolianTugrik = "MNT",
|
|
196
259
|
NewTurkmenManat = "TMT",
|
|
260
|
+
/**
|
|
261
|
+
* Peruvian sol
|
|
262
|
+
*
|
|
263
|
+
* @description Numeric code: 604
|
|
264
|
+
* @description Alphabetic code: PEN
|
|
265
|
+
* @description Countries and territories: Peru
|
|
266
|
+
* @description Currency symbol: S/
|
|
267
|
+
*/
|
|
268
|
+
PeruvianSol = "PEN",
|
|
269
|
+
/**
|
|
270
|
+
* Philippine peso
|
|
271
|
+
*
|
|
272
|
+
* @description Numeric code: 608
|
|
273
|
+
* @description Alphabetic code: PHP
|
|
274
|
+
* @description Countries and territories: Philippines
|
|
275
|
+
* @description Currency symbol: ₱
|
|
276
|
+
*/
|
|
277
|
+
PhilippinePeso = "PHP",
|
|
197
278
|
/**
|
|
198
279
|
* Poland Zloty
|
|
199
280
|
*
|
|
@@ -309,6 +390,15 @@ export declare enum TuiCurrency {
|
|
|
309
390
|
* @description Currency symbol: SM
|
|
310
391
|
*/
|
|
311
392
|
TajikistaniSomoni = "TJS",
|
|
393
|
+
/**
|
|
394
|
+
* Tanzanian shilling
|
|
395
|
+
*
|
|
396
|
+
* @description Numeric code: 834
|
|
397
|
+
* @description Alphabetic code: TZS
|
|
398
|
+
* @description Countries and territories: Tanzania
|
|
399
|
+
* @description Currency symbol: TSh
|
|
400
|
+
*/
|
|
401
|
+
TanzanianShilling = "TZS",
|
|
312
402
|
/**
|
|
313
403
|
* Mongolian tugrik
|
|
314
404
|
*
|
|
@@ -343,6 +433,15 @@ export declare enum TuiCurrency {
|
|
|
343
433
|
* @description Currency symbol: ₺
|
|
344
434
|
*/
|
|
345
435
|
TurkishLira = "TRY",
|
|
436
|
+
/**
|
|
437
|
+
* Unidad de Fomento
|
|
438
|
+
*
|
|
439
|
+
* @description Numeric code: 990
|
|
440
|
+
* @description Alphabetic code: CLF
|
|
441
|
+
* @description Countries and territories: Chile
|
|
442
|
+
* @description Currency symbol: $
|
|
443
|
+
*/
|
|
444
|
+
UnidadDeFomento = "CLF",
|
|
346
445
|
/**
|
|
347
446
|
* Iranian rial
|
|
348
447
|
*
|