@taiga-ui/addon-commerce 4.33.0 → 4.34.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/components/input-card/input-card.component.d.ts +1 -0
- package/components/input-card/input-card.options.d.ts +1 -0
- package/components/input-card-group/input-card-group.component.d.ts +8 -2
- package/components/input-cvc/input-cvc.directive.d.ts +1 -0
- package/components/input-expire/input-expire.directive.d.ts +1 -0
- package/esm2022/components/input-card/input-card.component.mjs +4 -3
- package/esm2022/components/input-card/input-card.options.mjs +1 -1
- package/esm2022/components/input-card-group/input-card-group.component.mjs +38 -17
- package/esm2022/components/input-cvc/input-cvc.directive.mjs +4 -3
- package/esm2022/components/input-expire/input-expire.directive.mjs +5 -4
- package/fesm2022/taiga-ui-addon-commerce-components-input-card-group.mjs +37 -16
- package/fesm2022/taiga-ui-addon-commerce-components-input-card-group.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-commerce-components-input-card.mjs +3 -2
- package/fesm2022/taiga-ui-addon-commerce-components-input-card.mjs.map +1 -1
- package/fesm2022/taiga-ui-addon-commerce-components-input-cvc.mjs +3 -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 -3
- package/fesm2022/taiga-ui-addon-commerce-components-input-expire.mjs.map +1 -1
- package/package.json +8 -8
|
@@ -11,10 +11,11 @@ import { tuiMaskito } from '@taiga-ui/kit/utils';
|
|
|
11
11
|
class TuiInputExpire {
|
|
12
12
|
constructor() {
|
|
13
13
|
this.mask = tuiMaskito(TUI_MASK_EXPIRE);
|
|
14
|
+
/** @deprecated apparently "off" doesn't disable autocomplete */
|
|
14
15
|
this.autocomplete = inject(TUI_INPUT_CARD_OPTIONS).autocomplete;
|
|
15
16
|
}
|
|
16
17
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputExpire, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
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"
|
|
18
|
+
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", "name": "ccexpiryyear", "autocomplete": "cc-exp" } }, hostDirectives: [{ directive: i1.MaskitoDirective }, { directive: i2.TuiWithTextfield }], ngImport: i0 }); }
|
|
18
19
|
}
|
|
19
20
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputExpire, decorators: [{
|
|
20
21
|
type: Directive,
|
|
@@ -27,8 +28,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
27
28
|
placeholder: '00/00',
|
|
28
29
|
translate: 'no',
|
|
29
30
|
maxlength: '5',
|
|
30
|
-
|
|
31
|
-
|
|
31
|
+
name: 'ccexpiryyear',
|
|
32
|
+
autocomplete: 'cc-exp',
|
|
32
33
|
},
|
|
33
34
|
}]
|
|
34
35
|
}], propDecorators: { autocomplete: [{
|
|
@@ -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 {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
|
|
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 name: 'ccexpiryyear',\n autocomplete: 'cc-exp',\n },\n})\nexport class TuiInputExpire {\n protected readonly mask = tuiMaskito(TUI_MASK_EXPIRE);\n\n /** @deprecated apparently \"off\" doesn't disable autocomplete */\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;;AAI/C,QAAA,IAAA,CAAA,YAAY,GAAG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ui/addon-commerce",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.34.0",
|
|
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.
|
|
21
|
-
"@maskito/core": "^3.
|
|
22
|
-
"@maskito/kit": "^3.
|
|
20
|
+
"@maskito/angular": "^3.7.1",
|
|
21
|
+
"@maskito/core": "^3.7.1",
|
|
22
|
+
"@maskito/kit": "^3.7.1",
|
|
23
23
|
"@ng-web-apis/common": "^4.12.0",
|
|
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.34.0",
|
|
25
|
+
"@taiga-ui/core": "^4.34.0",
|
|
26
|
+
"@taiga-ui/i18n": "^4.34.0",
|
|
27
|
+
"@taiga-ui/kit": "^4.34.0",
|
|
28
28
|
"@taiga-ui/polymorpheus": "^4.9.0",
|
|
29
29
|
"rxjs": ">=7.0.0"
|
|
30
30
|
},
|