@taiga-ui/addon-commerce 3.26.0 → 3.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/taiga-ui-addon-commerce-components-card.umd.js +5 -11
- 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 +31 -44
- 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 +12 -35
- 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 +15 -17
- 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 -39
- package/bundles/taiga-ui-addon-commerce-components-input-expire.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-commerce-utils.umd.js +390 -18
- package/bundles/taiga-ui-addon-commerce-utils.umd.js.map +1 -1
- package/components/input-card/input-card.component.d.ts +2 -4
- package/components/input-card/input-card.module.d.ts +3 -2
- package/components/input-card-grouped/input-card-grouped.component.d.ts +6 -4
- package/components/input-card-grouped/input-card-grouped.module.d.ts +2 -2
- package/components/input-cvc/input-cvc.component.d.ts +3 -3
- package/components/input-cvc/input-cvc.module.d.ts +3 -2
- package/components/input-expire/input-expire.component.d.ts +1 -3
- package/components/input-expire/input-expire.module.d.ts +3 -2
- package/esm2015/components/card/card.component.js +3 -8
- package/esm2015/components/input-card/input-card.component.js +8 -22
- package/esm2015/components/input-card/input-card.module.js +6 -5
- package/esm2015/components/input-card/input-card.providers.js +3 -9
- package/esm2015/components/input-card-grouped/input-card-grouped.component.js +17 -34
- package/esm2015/components/input-card-grouped/input-card-grouped.module.js +5 -5
- package/esm2015/components/input-cvc/input-cvc.component.js +7 -9
- package/esm2015/components/input-cvc/input-cvc.module.js +6 -5
- package/esm2015/components/input-expire/input-expire.component.js +11 -33
- package/esm2015/components/input-expire/input-expire.module.js +6 -5
- package/esm2015/types/payment-system.js +1 -1
- package/esm2015/utils/get-payment-system.js +56 -22
- package/esm2015/utils/index.js +2 -1
- package/esm2015/utils/payment-system-icons.js +17 -0
- package/fesm2015/taiga-ui-addon-commerce-components-card.js +2 -7
- package/fesm2015/taiga-ui-addon-commerce-components-card.js.map +1 -1
- package/fesm2015/taiga-ui-addon-commerce-components-input-card-grouped.js +20 -37
- package/fesm2015/taiga-ui-addon-commerce-components-input-card-grouped.js.map +1 -1
- package/fesm2015/taiga-ui-addon-commerce-components-input-card.js +11 -29
- package/fesm2015/taiga-ui-addon-commerce-components-input-card.js.map +1 -1
- package/fesm2015/taiga-ui-addon-commerce-components-input-cvc.js +11 -12
- package/fesm2015/taiga-ui-addon-commerce-components-input-cvc.js.map +1 -1
- package/fesm2015/taiga-ui-addon-commerce-components-input-expire.js +15 -36
- package/fesm2015/taiga-ui-addon-commerce-components-input-expire.js.map +1 -1
- package/fesm2015/taiga-ui-addon-commerce-utils.js +73 -22
- package/fesm2015/taiga-ui-addon-commerce-utils.js.map +1 -1
- package/package.json +7 -4
- package/types/payment-system.d.ts +1 -1
- package/utils/get-payment-system.d.ts +6 -1
- package/utils/index.d.ts +1 -0
- package/utils/payment-system-icons.d.ts +2 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taiga-ui/addon-commerce",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.27.0",
|
|
4
4
|
"description": "Extension package for Taiga UI related to commerce, payment systems, currencies etc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -17,10 +17,13 @@
|
|
|
17
17
|
"@angular/common": ">=12.0.0",
|
|
18
18
|
"@angular/core": ">=12.0.0",
|
|
19
19
|
"@angular/forms": ">=12.0.0",
|
|
20
|
+
"@maskito/angular": ">=0.11.1",
|
|
21
|
+
"@maskito/core": ">=0.11.1",
|
|
22
|
+
"@maskito/kit": ">=0.11.1",
|
|
20
23
|
"@ng-web-apis/common": ">=2.0.0",
|
|
21
|
-
"@taiga-ui/cdk": ">=3.
|
|
22
|
-
"@taiga-ui/core": ">=3.
|
|
23
|
-
"@taiga-ui/i18n": ">=3.
|
|
24
|
+
"@taiga-ui/cdk": ">=3.27.0",
|
|
25
|
+
"@taiga-ui/core": ">=3.27.0",
|
|
26
|
+
"@taiga-ui/i18n": ">=3.27.0",
|
|
24
27
|
"@tinkoff/ng-polymorpheus": ">=4.0.0",
|
|
25
28
|
"rxjs": ">=6.0.0"
|
|
26
29
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare type TuiPaymentSystem = 'electron' | 'maestro' | 'mastercard' | 'mir' | 'visa';
|
|
1
|
+
export declare type TuiPaymentSystem = 'amex' | 'dinersclub' | 'discover' | 'electron' | 'humo' | 'jcb' | 'maestro' | 'mastercard' | 'mir' | 'rupay' | 'unionpay' | 'uzcard' | 'verve' | 'visa';
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { TuiPaymentSystem } from '@taiga-ui/addon-commerce/types';
|
|
2
|
-
export declare
|
|
2
|
+
export declare const TUI_BIN_TABLE: ReadonlyArray<[
|
|
3
|
+
paymentSystem: TuiPaymentSystem,
|
|
4
|
+
start: number,
|
|
5
|
+
end?: number
|
|
6
|
+
]>;
|
|
7
|
+
export declare function tuiGetPaymentSystem(cardNumber?: string | null, supported?: TuiPaymentSystem[]): TuiPaymentSystem | null;
|
|
3
8
|
export declare function tuiIsMaestro(three: number, two: number, one: number): boolean;
|
|
4
9
|
export declare function tuiIsMastercard(four: number, two: number, one: number): boolean;
|
|
5
10
|
export declare function tuiIsMir(four: number): boolean;
|
package/utils/index.d.ts
CHANGED