@taiga-ui/addon-commerce 4.18.0-canary.d26f32b → 4.19.0-canary.2a86fb0
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/components/input-card/input-card.component.d.ts +2 -1
- package/components/input-card-group/input-card-group.component.d.ts +6 -1
- package/components/input-card-group/input-card-group.options.d.ts +5 -0
- package/components/input-cvc/input-cvc.directive.d.ts +2 -1
- package/components/input-expire/input-expire.directive.d.ts +2 -1
- package/esm2022/components/input-card/input-card.component.mjs +5 -4
- package/esm2022/components/input-card-group/input-card-group.component.mjs +20 -6
- package/esm2022/components/input-card-group/input-card-group.options.mjs +2 -1
- package/esm2022/components/input-cvc/input-cvc.directive.mjs +5 -3
- package/esm2022/components/input-expire/input-expire.directive.mjs +5 -3
- package/fesm2022/taiga-ui-addon-commerce-components-input-card-group.mjs +20 -5
- package/fesm2022/taiga-ui-addon-commerce-components-input-card-group.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-commerce-components-input-card.mjs +4 -3
- package/fesm2022/taiga-ui-addon-commerce-components-input-card.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-commerce-components-input-cvc.mjs +4 -2
- package/fesm2022/taiga-ui-addon-commerce-components-input-cvc.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-commerce-components-input-expire.mjs +4 -2
- package/fesm2022/taiga-ui-addon-commerce-components-input-expire.mjs.map +1 -1
- package/package.json +8 -8
|
@@ -4,6 +4,8 @@ import * as i1 from '@maskito/angular';
|
|
|
4
4
|
import { MaskitoDirective } from '@maskito/angular';
|
|
5
5
|
import { TUI_INPUT_CARD_OPTIONS } from '@taiga-ui/addon-commerce/components/input-card';
|
|
6
6
|
import { TUI_MASK_EXPIRE } from '@taiga-ui/addon-commerce/constants';
|
|
7
|
+
import * as i2 from '@taiga-ui/core/components/textfield';
|
|
8
|
+
import { TuiWithTextfield } from '@taiga-ui/core/components/textfield';
|
|
7
9
|
import { tuiMaskito } from '@taiga-ui/kit/utils';
|
|
8
10
|
|
|
9
11
|
class TuiInputExpire {
|
|
@@ -12,14 +14,14 @@ class TuiInputExpire {
|
|
|
12
14
|
this.autocomplete = inject(TUI_INPUT_CARD_OPTIONS).autocomplete;
|
|
13
15
|
}
|
|
14
16
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputExpire, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
15
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiInputExpire, isStandalone: true, selector: "input[tuiInputExpire]", inputs: { autocomplete: "autocomplete" }, host: { attributes: { "inputmode": "numeric", "placeholder": "00/00", "translate": "no", "maxlength": "5" }, properties: { "attr.name": "autocomplete ? \"ccexpiryyear\" : null", "autocomplete": "autocomplete ? \"cc-exp\" : \"off\"" } }, hostDirectives: [{ directive: i1.MaskitoDirective }], ngImport: i0 }); }
|
|
17
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiInputExpire, isStandalone: true, selector: "input[tuiInputExpire]", inputs: { autocomplete: "autocomplete" }, host: { attributes: { "inputmode": "numeric", "placeholder": "00/00", "translate": "no", "maxlength": "5" }, properties: { "attr.name": "autocomplete ? \"ccexpiryyear\" : null", "autocomplete": "autocomplete ? \"cc-exp\" : \"off\"" } }, hostDirectives: [{ directive: i1.MaskitoDirective }, { directive: i2.TuiWithTextfield }], ngImport: i0 }); }
|
|
16
18
|
}
|
|
17
19
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputExpire, decorators: [{
|
|
18
20
|
type: Directive,
|
|
19
21
|
args: [{
|
|
20
22
|
standalone: true,
|
|
21
23
|
selector: 'input[tuiInputExpire]',
|
|
22
|
-
hostDirectives: [MaskitoDirective],
|
|
24
|
+
hostDirectives: [MaskitoDirective, TuiWithTextfield],
|
|
23
25
|
host: {
|
|
24
26
|
inputmode: 'numeric',
|
|
25
27
|
placeholder: '00/00',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-addon-commerce-components-input-expire.mjs","sources":["../../../projects/addon-commerce/components/input-expire/input-expire.directive.ts","../../../projects/addon-commerce/components/input-expire/taiga-ui-addon-commerce-components-input-expire.ts"],"sourcesContent":["import {Directive, inject, Input} from '@angular/core';\nimport {MaskitoDirective} from '@maskito/angular';\nimport {TUI_INPUT_CARD_OPTIONS} from '@taiga-ui/addon-commerce/components/input-card';\nimport {TUI_MASK_EXPIRE} from '@taiga-ui/addon-commerce/constants';\nimport {tuiMaskito} from '@taiga-ui/kit/utils';\n\n@Directive({\n standalone: true,\n selector: 'input[tuiInputExpire]',\n hostDirectives: [MaskitoDirective],\n host: {\n inputmode: 'numeric',\n placeholder: '00/00',\n translate: 'no',\n maxlength: '5',\n '[attr.name]': 'autocomplete ? \"ccexpiryyear\" : null',\n '[autocomplete]': 'autocomplete ? \"cc-exp\" : \"off\"',\n },\n})\nexport class TuiInputExpire {\n protected readonly mask = tuiMaskito(TUI_MASK_EXPIRE);\n\n @Input()\n public autocomplete = inject(TUI_INPUT_CARD_OPTIONS).autocomplete;\n}\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.mjs","sources":["../../../projects/addon-commerce/components/input-expire/input-expire.directive.ts","../../../projects/addon-commerce/components/input-expire/taiga-ui-addon-commerce-components-input-expire.ts"],"sourcesContent":["import {Directive, inject, Input} from '@angular/core';\nimport {MaskitoDirective} from '@maskito/angular';\nimport {TUI_INPUT_CARD_OPTIONS} from '@taiga-ui/addon-commerce/components/input-card';\nimport {TUI_MASK_EXPIRE} from '@taiga-ui/addon-commerce/constants';\nimport {TuiWithTextfield} from '@taiga-ui/core/components/textfield';\nimport {tuiMaskito} from '@taiga-ui/kit/utils';\n\n@Directive({\n standalone: true,\n selector: 'input[tuiInputExpire]',\n hostDirectives: [MaskitoDirective, TuiWithTextfield],\n host: {\n inputmode: 'numeric',\n placeholder: '00/00',\n translate: 'no',\n maxlength: '5',\n '[attr.name]': 'autocomplete ? \"ccexpiryyear\" : null',\n '[autocomplete]': 'autocomplete ? \"cc-exp\" : \"off\"',\n },\n})\nexport class TuiInputExpire {\n protected readonly mask = tuiMaskito(TUI_MASK_EXPIRE);\n\n @Input()\n public autocomplete = inject(TUI_INPUT_CARD_OPTIONS).autocomplete;\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;AAOA,MAaa,cAAc,CAAA;AAb3B,IAAA,WAAA,GAAA;AAcuB,QAAA,IAAA,CAAA,IAAI,GAAG,UAAU,CAAC,eAAe,CAAC,CAAC;AAG/C,QAAA,IAAA,CAAA,YAAY,GAAG,MAAM,CAAC,sBAAsB,CAAC,CAAC,YAAY,CAAC;AACrE,KAAA;+GALY,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;mGAAd,cAAc,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,uBAAA,EAAA,MAAA,EAAA,EAAA,YAAA,EAAA,cAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,WAAA,EAAA,SAAA,EAAA,aAAA,EAAA,OAAA,EAAA,WAAA,EAAA,IAAA,EAAA,WAAA,EAAA,GAAA,EAAA,EAAA,UAAA,EAAA,EAAA,WAAA,EAAA,wCAAA,EAAA,cAAA,EAAA,qCAAA,EAAA,EAAA,EAAA,cAAA,EAAA,CAAA,EAAA,SAAA,EAAA,EAAA,CAAA,gBAAA,EAAA,EAAA,EAAA,SAAA,EAAA,EAAA,CAAA,gBAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;4FAAd,cAAc,EAAA,UAAA,EAAA,CAAA;kBAb1B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,uBAAuB;AACjC,oBAAA,cAAc,EAAE,CAAC,gBAAgB,EAAE,gBAAgB,CAAC;AACpD,oBAAA,IAAI,EAAE;AACF,wBAAA,SAAS,EAAE,SAAS;AACpB,wBAAA,WAAW,EAAE,OAAO;AACpB,wBAAA,SAAS,EAAE,IAAI;AACf,wBAAA,SAAS,EAAE,GAAG;AACd,wBAAA,aAAa,EAAE,sCAAsC;AACrD,wBAAA,gBAAgB,EAAE,iCAAiC;AACtD,qBAAA;AACJ,iBAAA,CAAA;8BAKU,YAAY,EAAA,CAAA;sBADlB,KAAK;;;ACvBV;;AAEG;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taiga-ui/addon-commerce",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.19.0-canary.2a86fb0",
|
|
4
4
|
"description": "Extension package for Taiga UI related to commerce, payment systems, currencies etc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -17,14 +17,14 @@
|
|
|
17
17
|
"@angular/common": ">=16.0.0",
|
|
18
18
|
"@angular/core": ">=16.0.0",
|
|
19
19
|
"@angular/forms": ">=16.0.0",
|
|
20
|
-
"@maskito/angular": "^3.2.
|
|
21
|
-
"@maskito/core": "^3.2.
|
|
22
|
-
"@maskito/kit": "^3.2.
|
|
20
|
+
"@maskito/angular": "^3.2.1",
|
|
21
|
+
"@maskito/core": "^3.2.1",
|
|
22
|
+
"@maskito/kit": "^3.2.1",
|
|
23
23
|
"@ng-web-apis/common": "^4.11.1",
|
|
24
|
-
"@taiga-ui/cdk": "^4.
|
|
25
|
-
"@taiga-ui/core": "^4.
|
|
26
|
-
"@taiga-ui/i18n": "^4.
|
|
27
|
-
"@taiga-ui/kit": "^4.
|
|
24
|
+
"@taiga-ui/cdk": "^4.19.0",
|
|
25
|
+
"@taiga-ui/core": "^4.19.0",
|
|
26
|
+
"@taiga-ui/i18n": "^4.19.0",
|
|
27
|
+
"@taiga-ui/kit": "^4.19.0",
|
|
28
28
|
"@taiga-ui/polymorpheus": "^4.7.4",
|
|
29
29
|
"rxjs": ">=7.0.0"
|
|
30
30
|
},
|