@taiga-ui/addon-commerce 3.36.2 → 3.37.0-dev.main.89945b8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/taiga-ui-addon-commerce-components-input-card-grouped.umd.js +1 -1
- package/bundles/taiga-ui-addon-commerce-components-input-card-grouped.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-commerce-components-input-card.umd.js +17 -3
- package/bundles/taiga-ui-addon-commerce-components-input-card.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-commerce-components-input-cvc.umd.js +17 -3
- package/bundles/taiga-ui-addon-commerce-components-input-cvc.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-commerce-components-input-expire.umd.js +17 -3
- package/bundles/taiga-ui-addon-commerce-components-input-expire.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-commerce-enums.umd.js +272 -0
- package/bundles/taiga-ui-addon-commerce-enums.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-commerce-utils.umd.js +60 -0
- package/bundles/taiga-ui-addon-commerce-utils.umd.js.map +1 -1
- package/components/input-card/input-card.component.d.ts +5 -2
- package/components/input-cvc/input-cvc.component.d.ts +5 -3
- package/components/input-expire/input-expire.component.d.ts +5 -2
- package/enums/currency-code.d.ts +137 -1
- package/enums/currency.d.ts +137 -1
- package/esm2015/components/input-card/input-card.component.js +16 -6
- package/esm2015/components/input-card-grouped/input-card-grouped.component.js +1 -1
- package/esm2015/components/input-cvc/input-cvc.component.js +16 -6
- package/esm2015/components/input-expire/input-expire.component.js +16 -6
- package/esm2015/enums/currency-code.js +137 -1
- package/esm2015/enums/currency.js +137 -1
- package/esm2015/utils/get-currency-by-code.js +16 -1
- package/esm2015/utils/get-currency-symbol.js +46 -1
- package/fesm2015/taiga-ui-addon-commerce-components-input-card-grouped.js +1 -1
- package/fesm2015/taiga-ui-addon-commerce-components-input-card-grouped.js.map +1 -1
- package/fesm2015/taiga-ui-addon-commerce-components-input-card.js +15 -5
- package/fesm2015/taiga-ui-addon-commerce-components-input-card.js.map +1 -1
- package/fesm2015/taiga-ui-addon-commerce-components-input-cvc.js +15 -5
- package/fesm2015/taiga-ui-addon-commerce-components-input-cvc.js.map +1 -1
- package/fesm2015/taiga-ui-addon-commerce-components-input-expire.js +15 -5
- package/fesm2015/taiga-ui-addon-commerce-components-input-expire.js.map +1 -1
- package/fesm2015/taiga-ui-addon-commerce-enums.js +272 -0
- package/fesm2015/taiga-ui-addon-commerce-enums.js.map +1 -1
- package/fesm2015/taiga-ui-addon-commerce-utils.js +60 -0
- package/fesm2015/taiga-ui-addon-commerce-utils.js.map +1 -1
- package/package.json +7 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-addon-commerce-components-input-cvc.js","sources":["../../../projects/addon-commerce/components/input-cvc/input-cvc.component.ts","../../../projects/addon-commerce/components/input-cvc/input-cvc.template.html","../../../projects/addon-commerce/components/input-cvc/input-cvc.module.ts","../../../projects/addon-commerce/components/input-cvc/taiga-ui-addon-commerce-components-input-cvc.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n Inject,\n Input,\n Optional,\n Self,\n ViewChild,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {MaskitoOptions} from '@maskito/core';\nimport {TuiCodeCVCLength} from '@taiga-ui/addon-commerce/types';\nimport {\n AbstractTuiControl,\n tuiAsControl,\n tuiAsFocusableItemAccessor,\n TuiAutofillFieldName,\n TuiFocusableElementAccessor,\n TuiNativeFocusableElement,\n} from '@taiga-ui/cdk';\nimport {\n TUI_DIGIT_REGEXP,\n TUI_TEXTFIELD_LABEL_OUTSIDE,\n TuiPrimitiveTextfieldComponent,\n TuiTextfieldLabelOutsideDirective,\n} from '@taiga-ui/core';\n\n@Component({\n selector: 'tui-input-cvc',\n templateUrl: './input-cvc.template.html',\n styleUrls: ['./input-cvc.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n tuiAsFocusableItemAccessor(TuiInputCVCComponent),\n tuiAsControl(TuiInputCVCComponent),\n ],\n})\nexport class TuiInputCVCComponent\n extends AbstractTuiControl<string>\n implements TuiFocusableElementAccessor\n{\n @ViewChild(TuiPrimitiveTextfieldComponent)\n private readonly input?: TuiPrimitiveTextfieldComponent;\n\n @Input()\n autocompleteEnabled = false;\n\n @Input()\n set length(length: TuiCodeCVCLength) {\n this.exampleText = '0'.repeat(length);\n this.maskOptions = {\n mask: new Array(length).fill(TUI_DIGIT_REGEXP),\n };\n }\n\n exampleText = '000';\n\n maskOptions: MaskitoOptions = {\n mask: new Array(3).fill(TUI_DIGIT_REGEXP),\n };\n\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef) cdr: ChangeDetectorRef,\n @Inject(TUI_TEXTFIELD_LABEL_OUTSIDE)\n private readonly textfieldLabelOutside: TuiTextfieldLabelOutsideDirective,\n ) {\n super(control, cdr);\n }\n\n get nativeFocusableElement(): TuiNativeFocusableElement | null {\n return this.input ? this.input.nativeFocusableElement : null;\n }\n\n get focused(): boolean {\n return !!this.input && this.input.focused;\n }\n\n get autocomplete(): TuiAutofillFieldName {\n return this.autocompleteEnabled ? 'cc-csc' : 'off';\n }\n\n get computedPlaceholder(): string {\n return this.textfieldLabelOutside.labelOutside ? '' : this.exampleText;\n }\n\n onFocused(focused: boolean): void {\n this.updateFocused(focused);\n }\n\n /** deprecated use 'value' setter */\n onValueChange(value: string): void {\n this.value = value;\n }\n\n protected getFallbackValue(): string {\n return '';\n }\n}\n","<tui-primitive-textfield\n tuiValueAccessor\n class=\"t-input\"\n [disabled]=\"disabled\"\n [readOnly]=\"readOnly\"\n [nativeId]=\"nativeId\"\n [maskito]=\"maskOptions\"\n [invalid]=\"computedInvalid\"\n [focusable]=\"focusable\"\n [pseudoHover]=\"pseudoHover\"\n [pseudoActive]=\"pseudoActive\"\n [pseudoFocus]=\"pseudoFocus\"\n [(value)]=\"value\"\n (focusedChange)=\"onFocused($event)\"\n (copy.prevent)=\"(0)\"\n>\n <ng-content></ng-content>\n <input\n tuiTextfield\n inputmode=\"numeric\"\n [autocomplete]=\"autocomplete\"\n [placeholder]=\"computedPlaceholder\"\n />\n</tui-primitive-textfield>\n","import {NgModule} from '@angular/core';\nimport {MaskitoModule} from '@maskito/angular';\nimport {TuiPrimitiveTextfieldModule, TuiTextfieldControllerModule} from '@taiga-ui/core';\nimport {TuiValueAccessorModule} from '@taiga-ui/kit';\n\nimport {TuiInputCVCComponent} from './input-cvc.component';\n\n@NgModule({\n imports: [\n MaskitoModule,\n TuiPrimitiveTextfieldModule,\n TuiTextfieldControllerModule,\n TuiValueAccessorModule,\n ],\n declarations: [TuiInputCVCComponent],\n exports: [TuiInputCVCComponent],\n})\nexport class TuiInputCVCModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"taiga-ui-addon-commerce-components-input-cvc.js","sources":["../../../projects/addon-commerce/components/input-cvc/input-cvc.component.ts","../../../projects/addon-commerce/components/input-cvc/input-cvc.template.html","../../../projects/addon-commerce/components/input-cvc/input-cvc.module.ts","../../../projects/addon-commerce/components/input-cvc/taiga-ui-addon-commerce-components-input-cvc.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n HostBinding,\n Inject,\n Input,\n Optional,\n Self,\n ViewChild,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {MaskitoOptions} from '@maskito/core';\nimport {TuiCodeCVCLength} from '@taiga-ui/addon-commerce/types';\nimport {\n AbstractTuiControl,\n tuiAsControl,\n tuiAsFocusableItemAccessor,\n TuiAutofillFieldName,\n TuiFocusableElementAccessor,\n TuiNativeFocusableElement,\n} from '@taiga-ui/cdk';\nimport {\n TUI_DIGIT_REGEXP,\n TUI_TEXTFIELD_LABEL_OUTSIDE,\n TUI_TEXTFIELD_SIZE,\n TuiPrimitiveTextfieldComponent,\n TuiSizeL,\n TuiSizeS,\n TuiTextfieldLabelOutsideDirective,\n TuiTextfieldSizeDirective,\n} from '@taiga-ui/core';\n\n@Component({\n selector: 'tui-input-cvc',\n templateUrl: './input-cvc.template.html',\n styleUrls: ['./input-cvc.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n tuiAsFocusableItemAccessor(TuiInputCVCComponent),\n tuiAsControl(TuiInputCVCComponent),\n ],\n})\nexport class TuiInputCVCComponent\n extends AbstractTuiControl<string>\n implements TuiFocusableElementAccessor\n{\n @ViewChild(TuiPrimitiveTextfieldComponent)\n private readonly input?: TuiPrimitiveTextfieldComponent;\n\n @Input()\n autocompleteEnabled = false;\n\n @Input()\n set length(length: TuiCodeCVCLength) {\n this.exampleText = '0'.repeat(length);\n this.maskOptions = {\n mask: new Array(length).fill(TUI_DIGIT_REGEXP),\n };\n }\n\n exampleText = '000';\n\n maskOptions: MaskitoOptions = {\n mask: new Array(3).fill(TUI_DIGIT_REGEXP),\n };\n\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef) cdr: ChangeDetectorRef,\n @Inject(TUI_TEXTFIELD_LABEL_OUTSIDE)\n private readonly textfieldLabelOutside: TuiTextfieldLabelOutsideDirective,\n @Inject(TUI_TEXTFIELD_SIZE)\n private readonly textfieldSize: TuiTextfieldSizeDirective,\n ) {\n super(control, cdr);\n }\n\n @HostBinding('attr.data-size')\n get size(): TuiSizeL | TuiSizeS {\n return this.textfieldSize.size;\n }\n\n get nativeFocusableElement(): TuiNativeFocusableElement | null {\n return this.input ? this.input.nativeFocusableElement : null;\n }\n\n get focused(): boolean {\n return !!this.input && this.input.focused;\n }\n\n get autocomplete(): TuiAutofillFieldName {\n return this.autocompleteEnabled ? 'cc-csc' : 'off';\n }\n\n get computedPlaceholder(): string {\n return this.textfieldLabelOutside.labelOutside ? '' : this.exampleText;\n }\n\n onFocused(focused: boolean): void {\n this.updateFocused(focused);\n }\n\n /** deprecated use 'value' setter */\n onValueChange(value: string): void {\n this.value = value;\n }\n\n protected getFallbackValue(): string {\n return '';\n }\n}\n","<tui-primitive-textfield\n tuiValueAccessor\n class=\"t-input\"\n [disabled]=\"disabled\"\n [readOnly]=\"readOnly\"\n [nativeId]=\"nativeId\"\n [maskito]=\"maskOptions\"\n [invalid]=\"computedInvalid\"\n [focusable]=\"focusable\"\n [pseudoHover]=\"pseudoHover\"\n [pseudoActive]=\"pseudoActive\"\n [pseudoFocus]=\"pseudoFocus\"\n [(value)]=\"value\"\n (focusedChange)=\"onFocused($event)\"\n (copy.prevent)=\"(0)\"\n>\n <ng-content></ng-content>\n <input\n tuiTextfield\n inputmode=\"numeric\"\n [autocomplete]=\"autocomplete\"\n [placeholder]=\"computedPlaceholder\"\n />\n</tui-primitive-textfield>\n","import {NgModule} from '@angular/core';\nimport {MaskitoModule} from '@maskito/angular';\nimport {TuiPrimitiveTextfieldModule, TuiTextfieldControllerModule} from '@taiga-ui/core';\nimport {TuiValueAccessorModule} from '@taiga-ui/kit';\n\nimport {TuiInputCVCComponent} from './input-cvc.component';\n\n@NgModule({\n imports: [\n MaskitoModule,\n TuiPrimitiveTextfieldModule,\n TuiTextfieldControllerModule,\n TuiValueAccessorModule,\n ],\n declarations: [TuiInputCVCComponent],\n exports: [TuiInputCVCComponent],\n})\nexport class TuiInputCVCModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;AA2CM,MAAO,oBACT,SAAQ,kBAA0B,CAAA;AAuBlC,IAAA,WAAA,CAII,OAAyB,EACE,GAAsB,EAEhC,qBAAwD,EAExD,aAAwC,EAAA;AAEzD,QAAA,KAAK,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC;QAJH,IAAqB,CAAA,qBAAA,GAArB,qBAAqB,CAAmC;QAExD,IAAa,CAAA,aAAA,GAAb,aAAa,CAA2B;QAzB7D,IAAmB,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AiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;gHAAjB,iBAAiB,EAAA,YAAA,EAAA,CAHX,oBAAoB,CAAA,EAAA,OAAA,EAAA,CAL/B,aAAa;QACb,2BAA2B;QAC3B,4BAA4B;AAC5B,QAAA,sBAAsB,aAGhB,oBAAoB,CAAA,EAAA,CAAA,CAAA;AAErB,iBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,EATjB,OAAA,EAAA,CAAA;YACL,aAAa;YACb,2BAA2B;YAC3B,4BAA4B;YAC5B,sBAAsB;AACzB,SAAA,CAAA,EAAA,CAAA,CAAA;4FAIQ,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAV7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE;wBACL,aAAa;wBACb,2BAA2B;wBAC3B,4BAA4B;wBAC5B,sBAAsB;AACzB,qBAAA;oBACD,YAAY,EAAE,CAAC,oBAAoB,CAAC;oBACpC,OAAO,EAAE,CAAC,oBAAoB,CAAC;AAClC,iBAAA,CAAA;;;AChBD;;AAEG;;;;"}
|
|
@@ -1,25 +1,29 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { ChangeDetectorRef, Component, ChangeDetectionStrategy, Optional, Self, Inject, ViewChild, Input, NgModule } from '@angular/core';
|
|
2
|
+
import { ChangeDetectorRef, Component, ChangeDetectionStrategy, Optional, Self, Inject, ViewChild, Input, HostBinding, NgModule } from '@angular/core';
|
|
3
3
|
import * as i4 from '@angular/forms';
|
|
4
4
|
import { NgControl } from '@angular/forms';
|
|
5
5
|
import { maskitoDateOptionsGenerator } from '@maskito/kit';
|
|
6
6
|
import { AbstractTuiControl, tuiAsFocusableItemAccessor, tuiAsControl } from '@taiga-ui/cdk';
|
|
7
7
|
import * as i1 from '@taiga-ui/core';
|
|
8
|
-
import { TuiPrimitiveTextfieldComponent, TuiPrimitiveTextfieldModule, TuiTextfieldControllerModule } from '@taiga-ui/core';
|
|
8
|
+
import { TUI_TEXTFIELD_SIZE, TuiPrimitiveTextfieldComponent, TuiPrimitiveTextfieldModule, TuiTextfieldControllerModule } from '@taiga-ui/core';
|
|
9
9
|
import * as i2 from '@taiga-ui/kit';
|
|
10
10
|
import { TuiValueAccessorModule } from '@taiga-ui/kit';
|
|
11
11
|
import * as i3 from '@maskito/angular';
|
|
12
12
|
import { MaskitoModule } from '@maskito/angular';
|
|
13
13
|
|
|
14
14
|
class TuiInputExpireComponent extends AbstractTuiControl {
|
|
15
|
-
constructor(control, cdr) {
|
|
15
|
+
constructor(control, cdr, textfieldSize) {
|
|
16
16
|
super(control, cdr);
|
|
17
|
+
this.textfieldSize = textfieldSize;
|
|
17
18
|
this.autocompleteEnabled = false;
|
|
18
19
|
this.maskOptions = maskitoDateOptionsGenerator({
|
|
19
20
|
mode: 'mm/yy',
|
|
20
21
|
separator: '/',
|
|
21
22
|
});
|
|
22
23
|
}
|
|
24
|
+
get size() {
|
|
25
|
+
return this.textfieldSize.size;
|
|
26
|
+
}
|
|
23
27
|
get nativeFocusableElement() {
|
|
24
28
|
return this.input ? this.input.nativeFocusableElement : null;
|
|
25
29
|
}
|
|
@@ -36,8 +40,8 @@ class TuiInputExpireComponent extends AbstractTuiControl {
|
|
|
36
40
|
return '';
|
|
37
41
|
}
|
|
38
42
|
}
|
|
39
|
-
TuiInputExpireComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputExpireComponent, deps: [{ token: NgControl, optional: true, self: true }, { token: ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
40
|
-
TuiInputExpireComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiInputExpireComponent, selector: "tui-input-expire", inputs: { autocompleteEnabled: "autocompleteEnabled" }, providers: [
|
|
43
|
+
TuiInputExpireComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputExpireComponent, deps: [{ token: NgControl, optional: true, self: true }, { token: ChangeDetectorRef }, { token: TUI_TEXTFIELD_SIZE }], target: i0.ɵɵFactoryTarget.Component });
|
|
44
|
+
TuiInputExpireComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiInputExpireComponent, selector: "tui-input-expire", inputs: { autocompleteEnabled: "autocompleteEnabled" }, host: { properties: { "attr.data-size": "this.size" } }, providers: [
|
|
41
45
|
tuiAsFocusableItemAccessor(TuiInputExpireComponent),
|
|
42
46
|
tuiAsControl(TuiInputExpireComponent),
|
|
43
47
|
], viewQueries: [{ propertyName: "input", first: true, predicate: TuiPrimitiveTextfieldComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<tui-primitive-textfield\n tuiValueAccessor\n class=\"t-input\"\n [nativeId]=\"nativeId\"\n [disabled]=\"disabled\"\n [maskito]=\"maskOptions\"\n [readOnly]=\"readOnly\"\n [invalid]=\"computedInvalid\"\n [pseudoHover]=\"pseudoHover\"\n [pseudoActive]=\"pseudoActive\"\n [pseudoFocus]=\"pseudoFocus\"\n [(value)]=\"value\"\n (focusedChange)=\"onFocused($event)\"\n>\n <input\n tuiTextfield\n inputmode=\"numeric\"\n placeholder=\"00/00\"\n translate=\"no\"\n type=\"\"\n [attr.autocomplete]=\"autocomplete\"\n />\n <ng-content></ng-content>\n</tui-primitive-textfield>\n", styles: [":host{display:block;max-width:11rem;border-radius:var(--tui-radius-m);text-align:left}.t-input{border-radius:inherit;text-align:inherit}\n"], components: [{ type: i1.TuiPrimitiveTextfieldComponent, selector: "tui-primitive-textfield", inputs: ["editable", "filler", "iconCleaner", "readOnly", "invalid", "disabled", "prefix", "postfix", "value"], outputs: ["valueChange"] }, { type: i1.TuiTextfieldComponent, selector: "input[tuiTextfield], textarea[tuiTextfield]" }], directives: [{ type: i1.TuiPrimitiveTextfieldDirective, selector: "tui-primitive-textfield" }, { type: i2.TuiValueAccessorDirective, selector: "[tuiValueAccessor]" }, { type: i3.MaskitoDirective, selector: "[maskito]", inputs: ["maskito", "maskitoElement"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
@@ -63,11 +67,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
63
67
|
}] }, { type: i0.ChangeDetectorRef, decorators: [{
|
|
64
68
|
type: Inject,
|
|
65
69
|
args: [ChangeDetectorRef]
|
|
70
|
+
}] }, { type: i1.TuiTextfieldSizeDirective, decorators: [{
|
|
71
|
+
type: Inject,
|
|
72
|
+
args: [TUI_TEXTFIELD_SIZE]
|
|
66
73
|
}] }]; }, propDecorators: { input: [{
|
|
67
74
|
type: ViewChild,
|
|
68
75
|
args: [TuiPrimitiveTextfieldComponent]
|
|
69
76
|
}], autocompleteEnabled: [{
|
|
70
77
|
type: Input
|
|
78
|
+
}], size: [{
|
|
79
|
+
type: HostBinding,
|
|
80
|
+
args: ['attr.data-size']
|
|
71
81
|
}] } });
|
|
72
82
|
|
|
73
83
|
class TuiInputExpireModule {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-addon-commerce-components-input-expire.js","sources":["../../../projects/addon-commerce/components/input-expire/input-expire.component.ts","../../../projects/addon-commerce/components/input-expire/input-expire.template.html","../../../projects/addon-commerce/components/input-expire/input-expire.module.ts","../../../projects/addon-commerce/components/input-expire/taiga-ui-addon-commerce-components-input-expire.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n Inject,\n Input,\n Optional,\n Self,\n ViewChild,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {maskitoDateOptionsGenerator} from '@maskito/kit';\nimport {\n AbstractTuiControl,\n tuiAsControl,\n tuiAsFocusableItemAccessor,\n TuiAutofillFieldName,\n TuiFocusableElementAccessor,\n} from '@taiga-ui/cdk';\nimport {TuiPrimitiveTextfieldComponent} from '@taiga-ui/core';\n\n@Component({\n selector: 'tui-input-expire',\n templateUrl: './input-expire.template.html',\n styleUrls: ['./input-expire.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n tuiAsFocusableItemAccessor(TuiInputExpireComponent),\n tuiAsControl(TuiInputExpireComponent),\n ],\n})\nexport class TuiInputExpireComponent\n extends AbstractTuiControl<string>\n implements TuiFocusableElementAccessor\n{\n @ViewChild(TuiPrimitiveTextfieldComponent)\n private readonly input?: TuiPrimitiveTextfieldComponent;\n\n @Input()\n autocompleteEnabled = false;\n\n readonly maskOptions = maskitoDateOptionsGenerator({\n mode: 'mm/yy',\n separator: '/',\n });\n\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef) cdr: ChangeDetectorRef,\n ) {\n super(control, cdr);\n }\n\n get nativeFocusableElement(): HTMLInputElement | null {\n return this.input ? this.input.nativeFocusableElement : null;\n }\n\n get focused(): boolean {\n return !!this.input && this.input.focused;\n }\n\n get autocomplete(): TuiAutofillFieldName {\n return this.autocompleteEnabled ? 'cc-exp' : 'off';\n }\n\n onFocused(focused: boolean): void {\n this.updateFocused(focused);\n }\n\n protected getFallbackValue(): string {\n return '';\n }\n}\n","<tui-primitive-textfield\n tuiValueAccessor\n class=\"t-input\"\n [nativeId]=\"nativeId\"\n [disabled]=\"disabled\"\n [maskito]=\"maskOptions\"\n [readOnly]=\"readOnly\"\n [invalid]=\"computedInvalid\"\n [pseudoHover]=\"pseudoHover\"\n [pseudoActive]=\"pseudoActive\"\n [pseudoFocus]=\"pseudoFocus\"\n [(value)]=\"value\"\n (focusedChange)=\"onFocused($event)\"\n>\n <input\n tuiTextfield\n inputmode=\"numeric\"\n placeholder=\"00/00\"\n translate=\"no\"\n type=\"\"\n [attr.autocomplete]=\"autocomplete\"\n />\n <ng-content></ng-content>\n</tui-primitive-textfield>\n","import {NgModule} from '@angular/core';\nimport {MaskitoModule} from '@maskito/angular';\nimport {TuiPrimitiveTextfieldModule, TuiTextfieldControllerModule} from '@taiga-ui/core';\nimport {TuiValueAccessorModule} from '@taiga-ui/kit';\n\nimport {TuiInputExpireComponent} from './input-expire.component';\n\n@NgModule({\n imports: [\n MaskitoModule,\n TuiPrimitiveTextfieldModule,\n TuiTextfieldControllerModule,\n TuiValueAccessorModule,\n ],\n declarations: [TuiInputExpireComponent],\n exports: [TuiInputExpireComponent],\n})\nexport class TuiInputExpireModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"taiga-ui-addon-commerce-components-input-expire.js","sources":["../../../projects/addon-commerce/components/input-expire/input-expire.component.ts","../../../projects/addon-commerce/components/input-expire/input-expire.template.html","../../../projects/addon-commerce/components/input-expire/input-expire.module.ts","../../../projects/addon-commerce/components/input-expire/taiga-ui-addon-commerce-components-input-expire.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n HostBinding,\n Inject,\n Input,\n Optional,\n Self,\n ViewChild,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {maskitoDateOptionsGenerator} from '@maskito/kit';\nimport {\n AbstractTuiControl,\n tuiAsControl,\n tuiAsFocusableItemAccessor,\n TuiAutofillFieldName,\n TuiFocusableElementAccessor,\n} from '@taiga-ui/cdk';\nimport {\n TUI_TEXTFIELD_SIZE,\n TuiPrimitiveTextfieldComponent,\n TuiSizeL,\n TuiSizeS,\n TuiTextfieldSizeDirective,\n} from '@taiga-ui/core';\n\n@Component({\n selector: 'tui-input-expire',\n templateUrl: './input-expire.template.html',\n styleUrls: ['./input-expire.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n tuiAsFocusableItemAccessor(TuiInputExpireComponent),\n tuiAsControl(TuiInputExpireComponent),\n ],\n})\nexport class TuiInputExpireComponent\n extends AbstractTuiControl<string>\n implements TuiFocusableElementAccessor\n{\n @ViewChild(TuiPrimitiveTextfieldComponent)\n private readonly input?: TuiPrimitiveTextfieldComponent;\n\n @Input()\n autocompleteEnabled = false;\n\n readonly maskOptions = maskitoDateOptionsGenerator({\n mode: 'mm/yy',\n separator: '/',\n });\n\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef) cdr: ChangeDetectorRef,\n @Inject(TUI_TEXTFIELD_SIZE)\n private readonly textfieldSize: TuiTextfieldSizeDirective,\n ) {\n super(control, cdr);\n }\n\n @HostBinding('attr.data-size')\n get size(): TuiSizeL | TuiSizeS {\n return this.textfieldSize.size;\n }\n\n get nativeFocusableElement(): HTMLInputElement | null {\n return this.input ? this.input.nativeFocusableElement : null;\n }\n\n get focused(): boolean {\n return !!this.input && this.input.focused;\n }\n\n get autocomplete(): TuiAutofillFieldName {\n return this.autocompleteEnabled ? 'cc-exp' : 'off';\n }\n\n onFocused(focused: boolean): void {\n this.updateFocused(focused);\n }\n\n protected getFallbackValue(): string {\n return '';\n }\n}\n","<tui-primitive-textfield\n tuiValueAccessor\n class=\"t-input\"\n [nativeId]=\"nativeId\"\n [disabled]=\"disabled\"\n [maskito]=\"maskOptions\"\n [readOnly]=\"readOnly\"\n [invalid]=\"computedInvalid\"\n [pseudoHover]=\"pseudoHover\"\n [pseudoActive]=\"pseudoActive\"\n [pseudoFocus]=\"pseudoFocus\"\n [(value)]=\"value\"\n (focusedChange)=\"onFocused($event)\"\n>\n <input\n tuiTextfield\n inputmode=\"numeric\"\n placeholder=\"00/00\"\n translate=\"no\"\n type=\"\"\n [attr.autocomplete]=\"autocomplete\"\n />\n <ng-content></ng-content>\n</tui-primitive-textfield>\n","import {NgModule} from '@angular/core';\nimport {MaskitoModule} from '@maskito/angular';\nimport {TuiPrimitiveTextfieldModule, TuiTextfieldControllerModule} from '@taiga-ui/core';\nimport {TuiValueAccessorModule} from '@taiga-ui/kit';\n\nimport {TuiInputExpireComponent} from './input-expire.component';\n\n@NgModule({\n imports: [\n MaskitoModule,\n TuiPrimitiveTextfieldModule,\n TuiTextfieldControllerModule,\n TuiValueAccessorModule,\n ],\n declarations: [TuiInputExpireComponent],\n exports: [TuiInputExpireComponent],\n})\nexport class TuiInputExpireModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;AAsCM,MAAO,uBACT,SAAQ,kBAA0B,CAAA;AAclC,IAAA,WAAA,CAII,OAAyB,EACE,GAAsB,EAEhC,aAAwC,EAAA;AAEzD,QAAA,KAAK,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC;QAFH,IAAa,CAAA,aAAA,GAAb,aAAa,CAA2B;QAd7D,IAAmB,CAAA,mBAAA,GAAG,KAAK,CAAC;QAEnB,IAAW,CAAA,WAAA,GAAG,2BAA2B,CAAC;AAC/C,YAAA,IAAI,EAAE,OAAO;AACb,YAAA,SAAS,EAAE,GAAG;AACjB,SAAA,CAAC,CAAC;KAYF;AAED,IAAA,IACI,IAAI,GAAA;AACJ,QAAA,OAAO,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC;KAClC;AAED,IAAA,IAAI,sBAAsB,GAAA;AACtB,QAAA,OAAO,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,sBAAsB,GAAG,IAAI,CAAC;KAChE;AAED,IAAA,IAAI,OAAO,GAAA;QACP,OAAO,CAAC,CAAC,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC;KAC7C;AAED,IAAA,IAAI,YAAY,GAAA;QACZ,OAAO,IAAI,CAAC,mBAAmB,GAAG,QAAQ,GAAG,KAAK,CAAC;KACtD;AAED,IAAA,SAAS,CAAC,OAAgB,EAAA;AACtB,Q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AA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;mHAApB,oBAAoB,EAAA,YAAA,EAAA,CAHd,uBAAuB,CAAA,EAAA,OAAA,EAAA,CALlC,aAAa;QACb,2BAA2B;QAC3B,4BAA4B;AAC5B,QAAA,sBAAsB,aAGhB,uBAAuB,CAAA,EAAA,CAAA,CAAA;AAExB,oBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,EATpB,OAAA,EAAA,CAAA;YACL,aAAa;YACb,2BAA2B;YAC3B,4BAA4B;YAC5B,sBAAsB;AACzB,SAAA,CAAA,EAAA,CAAA,CAAA;4FAIQ,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAVhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE;wBACL,aAAa;wBACb,2BAA2B;wBAC3B,4BAA4B;wBAC5B,sBAAsB;AACzB,qBAAA;oBACD,YAAY,EAAE,CAAC,uBAAuB,CAAC;oBACvC,OAAO,EAAE,CAAC,uBAAuB,CAAC;AACrC,iBAAA,CAAA;;;AChBD;;AAEG;;;;"}
|
|
@@ -218,6 +218,142 @@ var TuiCurrency;
|
|
|
218
218
|
* @description Currency symbol: Dh
|
|
219
219
|
*/
|
|
220
220
|
TuiCurrency["Dirham"] = "AED";
|
|
221
|
+
/**
|
|
222
|
+
* Tajikistani somoni
|
|
223
|
+
*
|
|
224
|
+
* @description Numeric code: 972
|
|
225
|
+
* @description Alphabetic code: TJS
|
|
226
|
+
* @description Countries and territories: Tajikistan
|
|
227
|
+
* @description Currency symbol: SM
|
|
228
|
+
*/
|
|
229
|
+
TuiCurrency["TajikistaniSomoni"] = "TJS";
|
|
230
|
+
/**
|
|
231
|
+
* Malaysian ringgit
|
|
232
|
+
*
|
|
233
|
+
* @description Numeric code: 458
|
|
234
|
+
* @description Alphabetic code: MYR
|
|
235
|
+
* @description Countries and territories: Malaysia
|
|
236
|
+
* @description Currency symbol: RM
|
|
237
|
+
*/
|
|
238
|
+
TuiCurrency["MalaysianRinggit"] = "MYR";
|
|
239
|
+
/**
|
|
240
|
+
*
|
|
241
|
+
* Belarusian ruble
|
|
242
|
+
*
|
|
243
|
+
* @description Numeric code: 933
|
|
244
|
+
* @description Alphabetic code: BYN
|
|
245
|
+
* @description Countries and territories: Belarus
|
|
246
|
+
* @description Currency symbol: Rbl
|
|
247
|
+
*/
|
|
248
|
+
TuiCurrency["BelarusianRuble"] = "BYN";
|
|
249
|
+
/**
|
|
250
|
+
* Georgian lari
|
|
251
|
+
*
|
|
252
|
+
* @description Numeric code: 981
|
|
253
|
+
* @description Alphabetic code: GEL
|
|
254
|
+
* @description Countries and territories: Georgia
|
|
255
|
+
* @description Currency symbol: ₾
|
|
256
|
+
*/
|
|
257
|
+
TuiCurrency["GeorgianLari"] = "GEL";
|
|
258
|
+
/**
|
|
259
|
+
* Azerbaijani manat
|
|
260
|
+
*
|
|
261
|
+
* @description Numeric code: 944
|
|
262
|
+
* @description Alphabetic code: AZN
|
|
263
|
+
* @description Countries and territories: Azerbaijan
|
|
264
|
+
* @description Currency symbol: ₼
|
|
265
|
+
*/
|
|
266
|
+
TuiCurrency["AzerbaijaniManat"] = "AZN";
|
|
267
|
+
/**
|
|
268
|
+
* Sri Lankan rupee
|
|
269
|
+
*
|
|
270
|
+
* @description Numeric code: 144
|
|
271
|
+
* @description Alphabetic code: LKR
|
|
272
|
+
* @description Countries and territories: Sri Lanka
|
|
273
|
+
* @description Currency symbol: Rs.
|
|
274
|
+
*/
|
|
275
|
+
TuiCurrency["SriLankanRupee"] = "LKR";
|
|
276
|
+
/**
|
|
277
|
+
* Serbian dinar
|
|
278
|
+
*
|
|
279
|
+
* @description Numeric code: 941
|
|
280
|
+
* @description Alphabetic code: RSD
|
|
281
|
+
* @description Countries and territories: Serbia
|
|
282
|
+
* @description Currency symbol: DIN
|
|
283
|
+
*/
|
|
284
|
+
TuiCurrency["SerbianDinar"] = "RSD";
|
|
285
|
+
/**
|
|
286
|
+
* Saudi Riyal
|
|
287
|
+
*
|
|
288
|
+
* @description Numeric code: 682
|
|
289
|
+
* @description Alphabetic code: SAR
|
|
290
|
+
* @description Countries and territories: Saudi Arabia
|
|
291
|
+
* @description Currency symbol: SR
|
|
292
|
+
*/
|
|
293
|
+
TuiCurrency["SaudiRiyal"] = "SAR";
|
|
294
|
+
/**
|
|
295
|
+
* Mongolian tugrik
|
|
296
|
+
*
|
|
297
|
+
* @description Numeric code: 496
|
|
298
|
+
* @description Alphabetic code: MNT
|
|
299
|
+
* @description Countries and territories: Mongolia
|
|
300
|
+
* @description Currency symbol: ₮
|
|
301
|
+
*/
|
|
302
|
+
TuiCurrency["MongolianTugrik"] = "MNT";
|
|
303
|
+
/**
|
|
304
|
+
* South African rand
|
|
305
|
+
*
|
|
306
|
+
* @description Numeric code: 710
|
|
307
|
+
* @description Alphabetic code: ZAR
|
|
308
|
+
* @description Countries and territories: South Africa
|
|
309
|
+
* @description Currency symbol: R
|
|
310
|
+
*/
|
|
311
|
+
TuiCurrency["SouthAfricanRand"] = "ZAR";
|
|
312
|
+
/**
|
|
313
|
+
* Iranian rial
|
|
314
|
+
*
|
|
315
|
+
* @description Numeric code: 364
|
|
316
|
+
* @description Alphabetic code: IRR
|
|
317
|
+
* @description Countries and territories: Iran
|
|
318
|
+
* @description Currency symbol: IR
|
|
319
|
+
*/
|
|
320
|
+
TuiCurrency["IranianRial"] = "IRR";
|
|
321
|
+
/**
|
|
322
|
+
* Indonesian rupiah
|
|
323
|
+
*
|
|
324
|
+
* @description Numeric code: 360
|
|
325
|
+
* @description Alphabetic code: IDR
|
|
326
|
+
* @description Countries and territories: Indonesia
|
|
327
|
+
* @description Currency symbol: Rp
|
|
328
|
+
*/
|
|
329
|
+
TuiCurrency["IndonesianRupiah"] = "IDR";
|
|
330
|
+
/**
|
|
331
|
+
* Vietnamese dong
|
|
332
|
+
*
|
|
333
|
+
* @description Numeric code: 704
|
|
334
|
+
* @description Alphabetic code: VND
|
|
335
|
+
* @description Countries and territories: Vietnam
|
|
336
|
+
* @description Currency symbol: đ
|
|
337
|
+
*/
|
|
338
|
+
TuiCurrency["VietnameseDong"] = "VND";
|
|
339
|
+
/**
|
|
340
|
+
* New Turkmen manat
|
|
341
|
+
*
|
|
342
|
+
* @description Numeric code: 934
|
|
343
|
+
* @description Alphabetic code: TMT
|
|
344
|
+
* @description Countries and territories: Turkmenistan
|
|
345
|
+
* @description Currency symbol: TMT
|
|
346
|
+
*/
|
|
347
|
+
TuiCurrency["NewTurkmenManat"] = "TMT";
|
|
348
|
+
/**
|
|
349
|
+
* Brazilian Real
|
|
350
|
+
*
|
|
351
|
+
* @description Numeric code: 986
|
|
352
|
+
* @description Alphabetic code: BRL
|
|
353
|
+
* @description Countries and territories: Brazilia
|
|
354
|
+
* @description Currency symbol: R$
|
|
355
|
+
*/
|
|
356
|
+
TuiCurrency["BrazilianReal"] = "BRL";
|
|
221
357
|
})(TuiCurrency || (TuiCurrency = {}));
|
|
222
358
|
|
|
223
359
|
/**
|
|
@@ -439,6 +575,142 @@ var TuiCurrencyCode;
|
|
|
439
575
|
* @description Currency symbol: Dh
|
|
440
576
|
*/
|
|
441
577
|
TuiCurrencyCode["Dirham"] = "784";
|
|
578
|
+
/**
|
|
579
|
+
* Tajikistani somoni
|
|
580
|
+
*
|
|
581
|
+
* @description Numeric code: 972
|
|
582
|
+
* @description Alphabetic code: TJS
|
|
583
|
+
* @description Countries and territories: Tajikistan
|
|
584
|
+
* @description Currency symbol: SM
|
|
585
|
+
*/
|
|
586
|
+
TuiCurrencyCode["TajikistaniSomoni"] = "972";
|
|
587
|
+
/**
|
|
588
|
+
* Malaysian ringgit
|
|
589
|
+
*
|
|
590
|
+
* @description Numeric code: 458
|
|
591
|
+
* @description Alphabetic code: MYR
|
|
592
|
+
* @description Countries and territories: Malaysia
|
|
593
|
+
* @description Currency symbol: RM
|
|
594
|
+
*/
|
|
595
|
+
TuiCurrencyCode["MalaysianRinggit"] = "458";
|
|
596
|
+
/**
|
|
597
|
+
*
|
|
598
|
+
* Belarusian ruble
|
|
599
|
+
*
|
|
600
|
+
* @description Numeric code: 933
|
|
601
|
+
* @description Alphabetic code: BYN
|
|
602
|
+
* @description Countries and territories: Belarus
|
|
603
|
+
* @description Currency symbol: Rbl
|
|
604
|
+
*/
|
|
605
|
+
TuiCurrencyCode["BelarusianRuble"] = "933";
|
|
606
|
+
/**
|
|
607
|
+
* Georgian lari
|
|
608
|
+
*
|
|
609
|
+
* @description Numeric code: 981
|
|
610
|
+
* @description Alphabetic code: GEL
|
|
611
|
+
* @description Countries and territories: Georgia
|
|
612
|
+
* @description Currency symbol: ₾
|
|
613
|
+
*/
|
|
614
|
+
TuiCurrencyCode["GeorgianLari"] = "981";
|
|
615
|
+
/**
|
|
616
|
+
* Azerbaijani manat
|
|
617
|
+
*
|
|
618
|
+
* @description Numeric code: 944
|
|
619
|
+
* @description Alphabetic code: AZN
|
|
620
|
+
* @description Countries and territories: Azerbaijan
|
|
621
|
+
* @description Currency symbol: ₼
|
|
622
|
+
*/
|
|
623
|
+
TuiCurrencyCode["AzerbaijaniManat"] = "944";
|
|
624
|
+
/**
|
|
625
|
+
* Sri Lankan rupee
|
|
626
|
+
*
|
|
627
|
+
* @description Numeric code: 144
|
|
628
|
+
* @description Alphabetic code: LKR
|
|
629
|
+
* @description Countries and territories: Sri Lanka
|
|
630
|
+
* @description Currency symbol: Rs.
|
|
631
|
+
*/
|
|
632
|
+
TuiCurrencyCode["SriLankanRupee"] = "144";
|
|
633
|
+
/**
|
|
634
|
+
* Serbian dinar
|
|
635
|
+
*
|
|
636
|
+
* @description Numeric code: 941
|
|
637
|
+
* @description Alphabetic code: RSD
|
|
638
|
+
* @description Countries and territories: Serbia
|
|
639
|
+
* @description Currency symbol: DIN
|
|
640
|
+
*/
|
|
641
|
+
TuiCurrencyCode["SerbianDinar"] = "941";
|
|
642
|
+
/**
|
|
643
|
+
* Saudi Riyal
|
|
644
|
+
*
|
|
645
|
+
* @description Numeric code: 682
|
|
646
|
+
* @description Alphabetic code: SAR
|
|
647
|
+
* @description Countries and territories: Saudi Arabia
|
|
648
|
+
* @description Currency symbol: SR
|
|
649
|
+
*/
|
|
650
|
+
TuiCurrencyCode["SaudiRiyal"] = "682";
|
|
651
|
+
/**
|
|
652
|
+
* Mongolian tugrik
|
|
653
|
+
*
|
|
654
|
+
* @description Numeric code: 496
|
|
655
|
+
* @description Alphabetic code: MNT
|
|
656
|
+
* @description Countries and territories: Mongolia
|
|
657
|
+
* @description Currency symbol: ₮
|
|
658
|
+
*/
|
|
659
|
+
TuiCurrencyCode["MongolianTugrik"] = "496";
|
|
660
|
+
/**
|
|
661
|
+
* South African rand
|
|
662
|
+
*
|
|
663
|
+
* @description Numeric code: 710
|
|
664
|
+
* @description Alphabetic code: ZAR
|
|
665
|
+
* @description Countries and territories: South Africa
|
|
666
|
+
* @description Currency symbol: R
|
|
667
|
+
*/
|
|
668
|
+
TuiCurrencyCode["SouthAfricanRand"] = "710";
|
|
669
|
+
/**
|
|
670
|
+
* Iranian rial
|
|
671
|
+
*
|
|
672
|
+
* @description Numeric code: 364
|
|
673
|
+
* @description Alphabetic code: IRR
|
|
674
|
+
* @description Countries and territories: Iran
|
|
675
|
+
* @description Currency symbol: IR
|
|
676
|
+
*/
|
|
677
|
+
TuiCurrencyCode["IranianRial"] = "364";
|
|
678
|
+
/**
|
|
679
|
+
* Indonesian rupiah
|
|
680
|
+
*
|
|
681
|
+
* @description Numeric code: 360
|
|
682
|
+
* @description Alphabetic code: IDR
|
|
683
|
+
* @description Countries and territories: Indonesia
|
|
684
|
+
* @description Currency symbol: Rp
|
|
685
|
+
*/
|
|
686
|
+
TuiCurrencyCode["IndonesianRupiah"] = "360";
|
|
687
|
+
/**
|
|
688
|
+
* Vietnamese dong
|
|
689
|
+
*
|
|
690
|
+
* @description Numeric code: 704
|
|
691
|
+
* @description Alphabetic code: VND
|
|
692
|
+
* @description Countries and territories: Vietnam
|
|
693
|
+
* @description Currency symbol: đ
|
|
694
|
+
*/
|
|
695
|
+
TuiCurrencyCode["VietnameseDong"] = "704";
|
|
696
|
+
/**
|
|
697
|
+
* New Turkmen manat
|
|
698
|
+
*
|
|
699
|
+
* @description Numeric code: 934
|
|
700
|
+
* @description Alphabetic code: TMT
|
|
701
|
+
* @description Countries and territories: Turkmenistan
|
|
702
|
+
* @description Currency symbol: TMT
|
|
703
|
+
*/
|
|
704
|
+
TuiCurrencyCode["NewTurkmenManat"] = "934";
|
|
705
|
+
/**
|
|
706
|
+
* Brazilian Real
|
|
707
|
+
*
|
|
708
|
+
* @description Numeric code: 986
|
|
709
|
+
* @description Alphabetic code: BRL
|
|
710
|
+
* @description Countries and territories: Brazilia
|
|
711
|
+
* @description Currency symbol: R$
|
|
712
|
+
*/
|
|
713
|
+
TuiCurrencyCode["BrazilianReal"] = "986";
|
|
442
714
|
})(TuiCurrencyCode || (TuiCurrencyCode = {}));
|
|
443
715
|
|
|
444
716
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-addon-commerce-enums.js","sources":["../../../projects/addon-commerce/enums/currency.ts","../../../projects/addon-commerce/enums/currency-code.ts","../../../projects/addon-commerce/enums/taiga-ui-addon-commerce-enums.ts"],"sourcesContent":["// cspell:disable\n/**\n * **Active ISO 4217 alphabetic currency codes**\n *\n * @description The ISO 4217 classification is used to describe alphabetic and numeric currency codes.\n * @description Alphabetic code is also called \"alfa-3\".\n *\n * @link https://en.wikipedia.org/wiki/ISO_4217\n */\n// TODO: change type in v4.0\n// eslint-disable-next-line no-restricted-syntax\nexport enum TuiCurrency {\n /**\n * 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 * 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 * 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 * 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 * 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 * 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 * Chinese yuan\n *\n * @description Numeric code: 156\n * @description Alphabetic code: CNY\n * @description Countries and territories: China\n * @description Currency symbol: CN¥\n */\n YuanRenminbi = `CNY`,\n\n /**\n * 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 /**\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 * 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 /**\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 /**\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 /**\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 /**\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 /**\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 /**\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 * 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 * 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 * 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 * 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 * 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 /**\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 * 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 * **Active ISO 4217 numeric currency codes**\n *\n * @description The ISO 4217 classification is used to describe alphabetic and numeric currency codes.\n * @description Numeric code is also called \"number-3\".\n *\n * @link https://en.wikipedia.org/wiki/ISO_4217\n */\n// TODO: change type in v4.0\n// eslint-disable-next-line no-restricted-syntax\nexport enum TuiCurrencyCode {\n /**\n * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 /**\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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAA;AACA;;;;;;;AAOG;AACH;AACA;IACY,YAsOX;AAtOD,CAAA,UAAY,WAAW,EAAA;AACnB;;;;;;;AAOG;AACH,IAAA,WAAA,CAAA,OAAA,CAAA,GAAA,KAAa,CAAA;AAEb;;;;;;;AAOG;AACH,IAAA,WAAA,CAAA,MAAA,CAAA,GAAA,KAAY,CAAA;AAEZ;;;;;;;AAOG;AACH,IAAA,WAAA,CAAA,QA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OG;AACH,IAAA,eAAA,CAAA,KAAA,CAAA,GAAA,KAAW,CAAA;AAEX;;;;;;;AAOG;AACH,IAAA,eAAA,CAAA,YAAA,CAAA,GAAA,KAAkB,CAAA;AAElB;;;;;;;AAOG;AACH,IAAA,eAAA,CAAA,iBAAA,CAAA,GAAA,KAAuB,CAAA;AAEvB;;;;;;;AAOG;AACH,IAAA,eAAA,CAAA,kBAAA,CAAA,GAAA,KAAwB,CAAA;AAExB;;;;;;;AAOG;AACH,IAAA,eAAA,CAAA,gBAAA,CAAA,GAAA,KAAsB,CAAA;AAEtB;;;;;;;AAOG;AACH,IAAA,eAAA,CAAA,gBAAA,CAAA,GAAA,KAAsB,CAAA;AAEtB;;;;;;;AAOG;AACH,IAAA,eAAA,CAAA,cAAA,CAAA,GAAA,KAAoB,CAAA;AAEpB;;;;;;;AAOG;AACH,IAAA,eAAA,CAAA,SAAA,CAAA,GAAA,KAAe,CAAA;AAEf;;;;;;;AAOG;AACH,IAAA,eAAA,CAAA,aAAA,CAAA,GAAA,KAAmB,CAAA;AAEnB;;;;;;;AAOG;AACH,IAAA,eAAA,CAAA,UAAA,CAAA,GAAA,KAAgB,CAAA;AAEhB;;;;;;;AAOG;AACH,IAAA,eAAA,CAAA,eAAA,CAAA,GAAA,KAAqB,CAAA;AAErB;;;;;;;AAOG;AACH,IAAA,eAAA,CAAA,QAAA,CAAA,GAAA,KAAc,CAAA;AAClB,CAAC,EAtOW,eAAe,KAAf,eAAe,GAsO1B,EAAA,CAAA,CAAA;;AChPD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"taiga-ui-addon-commerce-enums.js","sources":["../../../projects/addon-commerce/enums/currency.ts","../../../projects/addon-commerce/enums/currency-code.ts","../../../projects/addon-commerce/enums/taiga-ui-addon-commerce-enums.ts"],"sourcesContent":["// cspell:disable\n/**\n * **Active ISO 4217 alphabetic currency codes**\n *\n * @description The ISO 4217 classification is used to describe alphabetic and numeric currency codes.\n * @description Alphabetic code is also called \"alfa-3\".\n *\n * @link https://en.wikipedia.org/wiki/ISO_4217\n */\n// TODO: change type in v4.0\n// eslint-disable-next-line no-restricted-syntax\nexport enum TuiCurrency {\n /**\n * 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 * 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 * 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 * 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 * 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 * 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 * Chinese yuan\n *\n * @description Numeric code: 156\n * @description Alphabetic code: CNY\n * @description Countries and territories: China\n * @description Currency symbol: CN¥\n */\n YuanRenminbi = `CNY`,\n\n /**\n * 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 /**\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 * 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 /**\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 /**\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 /**\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 /**\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 /**\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 /**\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 * 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 * 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 * 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 * 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 * 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 /**\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 * 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 * 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 * 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 MalaysianRinggit = `MYR`,\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 BelarusianRuble = `BYN`,\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 GeorgianLari = `GEL`,\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 AzerbaijaniManat = `AZN`,\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 SerbianDinar = `RSD`,\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 SaudiRiyal = `SAR`,\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 MongolianTugrik = `MNT`,\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 SouthAfricanRand = `ZAR`,\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 IranianRial = `IRR`,\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 IndonesianRupiah = `IDR`,\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 VietnameseDong = `VND`,\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 NewTurkmenManat = `TMT`,\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 * **Active ISO 4217 numeric currency codes**\n *\n * @description The ISO 4217 classification is used to describe alphabetic and numeric currency codes.\n * @description Numeric code is also called \"number-3\".\n *\n * @link https://en.wikipedia.org/wiki/ISO_4217\n */\n// TODO: change type in v4.0\n// eslint-disable-next-line no-restricted-syntax\nexport enum TuiCurrencyCode {\n /**\n * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 /**\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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * 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 * Tajikistani somoni\n *\n * @description Numeric code: 972\n * @description Alphabetic code: TJS\n * @description Countries and territories: Tajikistan\n * @description Currency symbol: SM\n */\n TajikistaniSomoni = `972`,\n\n /**\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 MalaysianRinggit = `458`,\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 BelarusianRuble = `933`,\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 GeorgianLari = `981`,\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 AzerbaijaniManat = `944`,\n /**\n * Sri Lankan rupee\n *\n * @description Numeric code: 144\n * @description Alphabetic code: LKR\n * @description Countries and territories: Sri Lanka\n * @description Currency symbol: Rs.\n */\n\n SriLankanRupee = `144`,\n /**\n * Serbian dinar\n *\n * @description Numeric code: 941\n * @description Alphabetic code: RSD\n * @description Countries and territories: Serbia\n * @description Currency symbol: DIN\n */\n\n SerbianDinar = `941`,\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 SaudiRiyal = `682`,\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 MongolianTugrik = `496`,\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 SouthAfricanRand = `710`,\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 IranianRial = `364`,\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 IndonesianRupiah = `360`,\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 VietnameseDong = `704`,\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 NewTurkmenManat = `934`,\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 * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAA;AACA;;;;;;;AAOG;AACH;AACA;IACY,YA6XX;AA7XD,CAAA,UAAY,WAAW,EAAA;AACnB;;;;;;;AAOG;AACH,IAAA,WAAA,CAAA,OAAA,CA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G;AAEH,IAAA,eAAA,CAAA,kBAAA,CAAA,GAAA,KAAwB,CAAA;AACxB;;;;;;;AAOG;AAEH,IAAA,eAAA,CAAA,gBAAA,CAAA,GAAA,KAAsB,CAAA;AACtB;;;;;;;AAOG;AAEH,IAAA,eAAA,CAAA,cAAA,CAAA,GAAA,KAAoB,CAAA;AACpB;;;;;;;AAOG;AAEH,IAAA,eAAA,CAAA,YAAA,CAAA,GAAA,KAAkB,CAAA;AAClB;;;;;;;AAOG;AAEH,IAAA,eAAA,CAAA,iBAAA,CAAA,GAAA,KAAuB,CAAA;AACvB;;;;;;;AAOG;AAEH,IAAA,eAAA,CAAA,kBAAA,CAAA,GAAA,KAAwB,CAAA;AACxB;;;;;;;AAOG;AAEH,IAAA,eAAA,CAAA,aAAA,CAAA,GAAA,KAAmB,CAAA;AACnB;;;;;;;AAOG;AAEH,IAAA,eAAA,CAAA,kBAAA,CAAA,GAAA,KAAwB,CAAA;AACxB;;;;;;;AAOG;AAEH,IAAA,eAAA,CAAA,gBAAA,CAAA,GAAA,KAAsB,CAAA;AACtB;;;;;;;AAOG;AAEH,IAAA,eAAA,CAAA,iBAAA,CAAA,GAAA,KAAuB,CAAA;AACvB;;;;;;;AAOG;AACH,IAAA,eAAA,CAAA,eAAA,CAAA,GAAA,KAAqB,CAAA;AACzB,CAAC,EA7XW,eAAe,KAAf,eAAe,GA6X1B,EAAA,CAAA,CAAA;;ACvYD;;AAEG;;;;"}
|
|
@@ -114,6 +114,51 @@ function tuiGetCurrencySymbol(currency) {
|
|
|
114
114
|
case TuiCurrency.Dirham:
|
|
115
115
|
case TuiCurrencyCode.Dirham:
|
|
116
116
|
return `Dh`;
|
|
117
|
+
case TuiCurrency.TajikistaniSomoni:
|
|
118
|
+
case TuiCurrencyCode.TajikistaniSomoni:
|
|
119
|
+
return `SM`;
|
|
120
|
+
case TuiCurrency.MalaysianRinggit:
|
|
121
|
+
case TuiCurrencyCode.MalaysianRinggit:
|
|
122
|
+
return `RM`;
|
|
123
|
+
case TuiCurrency.BelarusianRuble:
|
|
124
|
+
case TuiCurrencyCode.BelarusianRuble:
|
|
125
|
+
return `Rbl`;
|
|
126
|
+
case TuiCurrency.GeorgianLari:
|
|
127
|
+
case TuiCurrencyCode.GeorgianLari:
|
|
128
|
+
return `₾`;
|
|
129
|
+
case TuiCurrency.AzerbaijaniManat:
|
|
130
|
+
case TuiCurrencyCode.AzerbaijaniManat:
|
|
131
|
+
return `₼`;
|
|
132
|
+
case TuiCurrency.SriLankanRupee:
|
|
133
|
+
case TuiCurrencyCode.SriLankanRupee:
|
|
134
|
+
return `Rs.`;
|
|
135
|
+
case TuiCurrency.SerbianDinar:
|
|
136
|
+
case TuiCurrencyCode.SerbianDinar:
|
|
137
|
+
return `DIN`;
|
|
138
|
+
case TuiCurrency.SaudiRiyal:
|
|
139
|
+
case TuiCurrencyCode.SaudiRiyal:
|
|
140
|
+
return `SR`;
|
|
141
|
+
case TuiCurrency.MongolianTugrik:
|
|
142
|
+
case TuiCurrencyCode.MongolianTugrik:
|
|
143
|
+
return `₮`;
|
|
144
|
+
case TuiCurrency.SouthAfricanRand:
|
|
145
|
+
case TuiCurrencyCode.SouthAfricanRand:
|
|
146
|
+
return `R`;
|
|
147
|
+
case TuiCurrency.IranianRial:
|
|
148
|
+
case TuiCurrencyCode.IranianRial:
|
|
149
|
+
return `IR`;
|
|
150
|
+
case TuiCurrency.IndonesianRupiah:
|
|
151
|
+
case TuiCurrencyCode.IndonesianRupiah:
|
|
152
|
+
return `Rp`;
|
|
153
|
+
case TuiCurrency.VietnameseDong:
|
|
154
|
+
case TuiCurrencyCode.VietnameseDong:
|
|
155
|
+
return `đ`;
|
|
156
|
+
case TuiCurrency.NewTurkmenManat:
|
|
157
|
+
case TuiCurrencyCode.NewTurkmenManat:
|
|
158
|
+
return `TMT`;
|
|
159
|
+
case TuiCurrency.BrazilianReal:
|
|
160
|
+
case TuiCurrencyCode.BrazilianReal:
|
|
161
|
+
return `R$`;
|
|
117
162
|
default:
|
|
118
163
|
return null;
|
|
119
164
|
}
|
|
@@ -156,6 +201,21 @@ const TUI_CURRENCY_DICTIONARY = {
|
|
|
156
201
|
[TuiCurrencyCode.UzbekSum]: TuiCurrency.UzbekSum,
|
|
157
202
|
[TuiCurrencyCode.KyrgyzstanSom]: TuiCurrency.KyrgyzstanSom,
|
|
158
203
|
[TuiCurrencyCode.Dirham]: TuiCurrency.Dirham,
|
|
204
|
+
[TuiCurrencyCode.TajikistaniSomoni]: TuiCurrency.TajikistaniSomoni,
|
|
205
|
+
[TuiCurrencyCode.MalaysianRinggit]: TuiCurrency.MalaysianRinggit,
|
|
206
|
+
[TuiCurrencyCode.BelarusianRuble]: TuiCurrency.BelarusianRuble,
|
|
207
|
+
[TuiCurrencyCode.GeorgianLari]: TuiCurrency.GeorgianLari,
|
|
208
|
+
[TuiCurrencyCode.AzerbaijaniManat]: TuiCurrency.AzerbaijaniManat,
|
|
209
|
+
[TuiCurrencyCode.SriLankanRupee]: TuiCurrency.SriLankanRupee,
|
|
210
|
+
[TuiCurrencyCode.SerbianDinar]: TuiCurrency.SerbianDinar,
|
|
211
|
+
[TuiCurrencyCode.SaudiRiyal]: TuiCurrency.SaudiRiyal,
|
|
212
|
+
[TuiCurrencyCode.MongolianTugrik]: TuiCurrency.MongolianTugrik,
|
|
213
|
+
[TuiCurrencyCode.SouthAfricanRand]: TuiCurrency.SouthAfricanRand,
|
|
214
|
+
[TuiCurrencyCode.IranianRial]: TuiCurrency.IranianRial,
|
|
215
|
+
[TuiCurrencyCode.IndonesianRupiah]: TuiCurrency.IndonesianRupiah,
|
|
216
|
+
[TuiCurrencyCode.VietnameseDong]: TuiCurrency.VietnameseDong,
|
|
217
|
+
[TuiCurrencyCode.NewTurkmenManat]: TuiCurrency.NewTurkmenManat,
|
|
218
|
+
[TuiCurrencyCode.BrazilianReal]: TuiCurrency.BrazilianReal,
|
|
159
219
|
};
|
|
160
220
|
function tuiGetCurrencyByCode(currency) {
|
|
161
221
|
var _a;
|