@taiga-ui/addon-commerce 3.18.0 → 3.19.0-dev.main-9e6bc23
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-card.umd.js +11 -20
- package/bundles/taiga-ui-addon-commerce-components-card.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-commerce-components-input-card-grouped.umd.js +24 -24
- 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 +14 -23
- 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 +11 -20
- 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 +11 -20
- package/bundles/taiga-ui-addon-commerce-components-input-expire.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-commerce-components-money.umd.js +20 -29
- package/bundles/taiga-ui-addon-commerce-components-money.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-commerce-pipes.umd.js +14 -14
- package/components/input-card-grouped/input-card-grouped.component.d.ts +4 -3
- package/esm2015/components/card/card.component.js +3 -3
- package/esm2015/components/card/card.module.js +4 -4
- package/esm2015/components/input-card/input-card.component.js +3 -3
- package/esm2015/components/input-card/input-card.directive.js +3 -3
- package/esm2015/components/input-card/input-card.module.js +4 -4
- package/esm2015/components/input-card-grouped/input-card-grouped.component.js +14 -9
- package/esm2015/components/input-card-grouped/input-card-grouped.module.js +4 -4
- package/esm2015/components/input-cvc/input-cvc.component.js +3 -3
- package/esm2015/components/input-cvc/input-cvc.module.js +4 -4
- package/esm2015/components/input-expire/input-expire.component.js +3 -3
- package/esm2015/components/input-expire/input-expire.module.js +4 -4
- package/esm2015/components/money/money.component.js +3 -3
- package/esm2015/components/money/money.module.js +4 -4
- package/esm2015/components/money/pipes/fraction-part.pipe.js +3 -3
- package/esm2015/components/money/pipes/integer-part.pipe.js +3 -3
- package/esm2015/components/money/pipes/sign-symbol.pipe.js +3 -3
- package/esm2015/pipes/currency/currency.module.js +4 -4
- package/esm2015/pipes/currency/currency.pipe.js +3 -3
- package/esm2015/pipes/format-card/format-card.module.js +4 -4
- package/esm2015/pipes/format-card/format-card.pipe.js +3 -3
- package/fesm2015/taiga-ui-addon-commerce-components-card.js +7 -7
- package/fesm2015/taiga-ui-addon-commerce-components-input-card-grouped.js +17 -12
- package/fesm2015/taiga-ui-addon-commerce-components-input-card-grouped.js.map +1 -1
- package/fesm2015/taiga-ui-addon-commerce-components-input-card.js +10 -10
- package/fesm2015/taiga-ui-addon-commerce-components-input-cvc.js +7 -7
- package/fesm2015/taiga-ui-addon-commerce-components-input-expire.js +7 -7
- package/fesm2015/taiga-ui-addon-commerce-components-money.js +16 -16
- package/fesm2015/taiga-ui-addon-commerce-pipes.js +14 -14
- package/package.json +4 -4
|
@@ -38,9 +38,9 @@ class TuiSignSymbolPipe {
|
|
|
38
38
|
return tuiFormatSignSymbol(value, sign);
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
|
-
TuiSignSymbolPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
42
|
-
TuiSignSymbolPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.
|
|
43
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
41
|
+
TuiSignSymbolPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiSignSymbolPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
42
|
+
TuiSignSymbolPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiSignSymbolPipe, name: "tuiSignSymbol" });
|
|
43
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiSignSymbolPipe, decorators: [{
|
|
44
44
|
type: Pipe,
|
|
45
45
|
args: [{ name: `tuiSignSymbol` }]
|
|
46
46
|
}] });
|
|
@@ -53,9 +53,9 @@ class TuiIntegerPartPipe {
|
|
|
53
53
|
return tuiFormatNumber(Math.floor(Math.abs(Number(value))), this.numberFormat);
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
|
-
TuiIntegerPartPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
57
|
-
TuiIntegerPartPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.
|
|
58
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
56
|
+
TuiIntegerPartPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiIntegerPartPipe, deps: [{ token: TUI_NUMBER_FORMAT }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
57
|
+
TuiIntegerPartPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiIntegerPartPipe, name: "tuiIntegerPart" });
|
|
58
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiIntegerPartPipe, decorators: [{
|
|
59
59
|
type: Pipe,
|
|
60
60
|
args: [{ name: `tuiIntegerPart` }]
|
|
61
61
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -83,9 +83,9 @@ class TuiFractionPartPipe {
|
|
|
83
83
|
});
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
|
-
TuiFractionPartPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
87
|
-
TuiFractionPartPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.
|
|
88
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
86
|
+
TuiFractionPartPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiFractionPartPipe, deps: [{ token: TUI_NUMBER_FORMAT }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
87
|
+
TuiFractionPartPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiFractionPartPipe, name: "tuiFractionPart" });
|
|
88
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiFractionPartPipe, decorators: [{
|
|
89
89
|
type: Pipe,
|
|
90
90
|
args: [{ name: `tuiFractionPart` }]
|
|
91
91
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -121,8 +121,8 @@ class TuiMoneyComponent {
|
|
|
121
121
|
return this.singleColor || (this.value === 0 && this.colored);
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
|
-
TuiMoneyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
125
|
-
TuiMoneyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.
|
|
124
|
+
TuiMoneyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiMoneyComponent, deps: [{ token: TUI_MONEY_OPTIONS }], target: i0.ɵɵFactoryTarget.Component });
|
|
125
|
+
TuiMoneyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiMoneyComponent, selector: "tui-money", inputs: { value: "value", decimal: "decimal", currency: "currency", sign: "sign", colored: "colored", precision: "precision", singleColor: "singleColor" }, host: { properties: { "class._red": "this.red", "class._green": "this.green", "class._inherit-color": "this.inheritColor" } }, ngImport: i0, template: "<span\n automation-id=\"tui-money__sign\"\n [textContent]=\"value | tuiSignSymbol : sign\"\n></span>\n<span\n automation-id=\"tui-money__integer-part\"\n [textContent]=\"value | tuiIntegerPart\"\n></span>\n<span class=\"t-lighter\">\n <span\n automation-id=\"tui-money__fraction-part\"\n [textContent]=\"value | tuiFractionPart : decimal : precision\"\n ></span>\n <span\n automation-id=\"tui-money__currency\"\n class=\"t-currency\"\n [textContent]=\"currency | tuiCurrency\"\n ></span>\n</span>\n", styles: [":host{white-space:nowrap}:host._red{color:var(--tui-negative)}:host._green{color:var(--tui-positive)}:host:not(._inherit-color) .t-lighter{opacity:var(--tui-disabled-opacity)}.t-currency:not(:empty){padding-left:.2rem}\n"], pipes: { "tuiSignSymbol": TuiSignSymbolPipe, "tuiIntegerPart": TuiIntegerPartPipe, "tuiFractionPart": TuiFractionPartPipe, "tuiCurrency": i4.TuiCurrencyPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
126
126
|
__decorate([
|
|
127
127
|
tuiDefaultProp()
|
|
128
128
|
], TuiMoneyComponent.prototype, "value", void 0);
|
|
@@ -144,7 +144,7 @@ __decorate([
|
|
|
144
144
|
__decorate([
|
|
145
145
|
tuiDefaultProp()
|
|
146
146
|
], TuiMoneyComponent.prototype, "singleColor", void 0);
|
|
147
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
147
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiMoneyComponent, decorators: [{
|
|
148
148
|
type: Component,
|
|
149
149
|
args: [{
|
|
150
150
|
selector: 'tui-money',
|
|
@@ -182,13 +182,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
182
182
|
|
|
183
183
|
class TuiMoneyModule {
|
|
184
184
|
}
|
|
185
|
-
TuiMoneyModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
186
|
-
TuiMoneyModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
185
|
+
TuiMoneyModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiMoneyModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
186
|
+
TuiMoneyModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiMoneyModule, declarations: [TuiMoneyComponent,
|
|
187
187
|
TuiFractionPartPipe,
|
|
188
188
|
TuiIntegerPartPipe,
|
|
189
189
|
TuiSignSymbolPipe], imports: [CommonModule, TuiCurrencyPipeModule], exports: [TuiMoneyComponent] });
|
|
190
|
-
TuiMoneyModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
191
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
190
|
+
TuiMoneyModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiMoneyModule, imports: [[CommonModule, TuiCurrencyPipeModule]] });
|
|
191
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiMoneyModule, decorators: [{
|
|
192
192
|
type: NgModule,
|
|
193
193
|
args: [{
|
|
194
194
|
imports: [CommonModule, TuiCurrencyPipeModule],
|
|
@@ -7,9 +7,9 @@ class TuiCurrencyPipe {
|
|
|
7
7
|
return tuiFormatCurrency(currency);
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
|
-
TuiCurrencyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
11
|
-
TuiCurrencyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
10
|
+
TuiCurrencyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiCurrencyPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
11
|
+
TuiCurrencyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiCurrencyPipe, name: "tuiCurrency" });
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiCurrencyPipe, decorators: [{
|
|
13
13
|
type: Pipe,
|
|
14
14
|
args: [{
|
|
15
15
|
name: `tuiCurrency`,
|
|
@@ -18,10 +18,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
18
18
|
|
|
19
19
|
class TuiCurrencyPipeModule {
|
|
20
20
|
}
|
|
21
|
-
TuiCurrencyPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
22
|
-
TuiCurrencyPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
23
|
-
TuiCurrencyPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
24
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
21
|
+
TuiCurrencyPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiCurrencyPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
22
|
+
TuiCurrencyPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiCurrencyPipeModule, declarations: [TuiCurrencyPipe], exports: [TuiCurrencyPipe] });
|
|
23
|
+
TuiCurrencyPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiCurrencyPipeModule });
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiCurrencyPipeModule, decorators: [{
|
|
25
25
|
type: NgModule,
|
|
26
26
|
args: [{
|
|
27
27
|
declarations: [TuiCurrencyPipe],
|
|
@@ -39,19 +39,19 @@ class TuiFormatCardPipe {
|
|
|
39
39
|
: ``;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
TuiFormatCardPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
43
|
-
TuiFormatCardPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.
|
|
44
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
42
|
+
TuiFormatCardPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiFormatCardPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
43
|
+
TuiFormatCardPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiFormatCardPipe, name: "tuiFormatCard" });
|
|
44
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiFormatCardPipe, decorators: [{
|
|
45
45
|
type: Pipe,
|
|
46
46
|
args: [{ name: `tuiFormatCard` }]
|
|
47
47
|
}] });
|
|
48
48
|
|
|
49
49
|
class TuiFormatCardModule {
|
|
50
50
|
}
|
|
51
|
-
TuiFormatCardModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
52
|
-
TuiFormatCardModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
53
|
-
TuiFormatCardModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
54
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
51
|
+
TuiFormatCardModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiFormatCardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
52
|
+
TuiFormatCardModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiFormatCardModule, declarations: [TuiFormatCardPipe], exports: [TuiFormatCardPipe] });
|
|
53
|
+
TuiFormatCardModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiFormatCardModule });
|
|
54
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiFormatCardModule, decorators: [{
|
|
55
55
|
type: NgModule,
|
|
56
56
|
args: [{
|
|
57
57
|
declarations: [TuiFormatCardPipe],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taiga-ui/addon-commerce",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.19.0-dev.main-9e6bc23",
|
|
4
4
|
"description": "Extension package for Taiga UI related to commerce, payment systems, currencies etc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"@angular/core": ">=12.0.0",
|
|
19
19
|
"@angular/forms": ">=12.0.0",
|
|
20
20
|
"@ng-web-apis/common": ">=2.0.0",
|
|
21
|
-
"@taiga-ui/cdk": ">=3.
|
|
22
|
-
"@taiga-ui/core": ">=3.
|
|
23
|
-
"@taiga-ui/i18n": ">=3.
|
|
21
|
+
"@taiga-ui/cdk": ">=3.19.0",
|
|
22
|
+
"@taiga-ui/core": ">=3.19.0",
|
|
23
|
+
"@taiga-ui/i18n": ">=3.19.0",
|
|
24
24
|
"@tinkoff/ng-polymorpheus": ">=4.0.0",
|
|
25
25
|
"rxjs": ">=6.0.0"
|
|
26
26
|
},
|