@taiga-ui/kit 3.0.1 → 3.1.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.
Files changed (143) hide show
  1. package/bundles/taiga-ui-kit-components-carousel.umd.js +10 -1
  2. package/bundles/taiga-ui-kit-components-carousel.umd.js.map +1 -1
  3. package/bundles/taiga-ui-kit-components-checkbox.umd.js.map +1 -1
  4. package/bundles/taiga-ui-kit-components-combo-box.umd.js.map +1 -1
  5. package/bundles/taiga-ui-kit-components-input-count.umd.js +17 -18
  6. package/bundles/taiga-ui-kit-components-input-count.umd.js.map +1 -1
  7. package/bundles/taiga-ui-kit-components-input-date-range.umd.js +18 -21
  8. package/bundles/taiga-ui-kit-components-input-date-range.umd.js.map +1 -1
  9. package/bundles/taiga-ui-kit-components-input-date-time.umd.js +57 -58
  10. package/bundles/taiga-ui-kit-components-input-date-time.umd.js.map +1 -1
  11. package/bundles/taiga-ui-kit-components-input-date.umd.js +24 -27
  12. package/bundles/taiga-ui-kit-components-input-date.umd.js.map +1 -1
  13. package/bundles/taiga-ui-kit-components-input-month-range.umd.js.map +1 -1
  14. package/bundles/taiga-ui-kit-components-input-month.umd.js.map +1 -1
  15. package/bundles/taiga-ui-kit-components-input-number.umd.js +43 -38
  16. package/bundles/taiga-ui-kit-components-input-number.umd.js.map +1 -1
  17. package/bundles/taiga-ui-kit-components-input-password.umd.js.map +1 -1
  18. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js.map +1 -1
  19. package/bundles/taiga-ui-kit-components-input-phone.umd.js +15 -16
  20. package/bundles/taiga-ui-kit-components-input-phone.umd.js.map +1 -1
  21. package/bundles/taiga-ui-kit-components-input-tag.umd.js.map +1 -1
  22. package/bundles/taiga-ui-kit-components-input-time.umd.js +17 -18
  23. package/bundles/taiga-ui-kit-components-input-time.umd.js.map +1 -1
  24. package/bundles/taiga-ui-kit-components-multi-select-option.umd.js.map +1 -1
  25. package/bundles/taiga-ui-kit-components-multi-select.umd.js.map +1 -1
  26. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js.map +1 -1
  27. package/bundles/taiga-ui-kit-components-push.umd.js.map +1 -1
  28. package/bundles/taiga-ui-kit-components-radio-block.umd.js.map +1 -1
  29. package/bundles/taiga-ui-kit-components-radio-labeled.umd.js.map +1 -1
  30. package/bundles/taiga-ui-kit-components-radio.umd.js.map +1 -1
  31. package/bundles/taiga-ui-kit-components-select.umd.js.map +1 -1
  32. package/bundles/taiga-ui-kit-components-slider.umd.js.map +1 -1
  33. package/bundles/taiga-ui-kit-directives-mask.umd.js +193 -0
  34. package/bundles/taiga-ui-kit-directives-mask.umd.js.map +1 -0
  35. package/bundles/taiga-ui-kit-directives.umd.js +10 -4
  36. package/bundles/taiga-ui-kit-directives.umd.js.map +1 -1
  37. package/components/arrow/arrow.component.d.ts +1 -1
  38. package/components/carousel/carousel.directive.d.ts +2 -1
  39. package/components/input-count/input-count.component.d.ts +2 -3
  40. package/components/input-count/input-count.module.d.ts +3 -4
  41. package/components/input-date/input-date.component.d.ts +2 -3
  42. package/components/input-date/input-date.module.d.ts +2 -3
  43. package/components/input-date-range/input-date-range.component.d.ts +2 -3
  44. package/components/input-date-range/input-date-range.module.d.ts +2 -3
  45. package/components/input-date-time/input-date-time.component.d.ts +2 -3
  46. package/components/input-date-time/input-date-time.module.d.ts +2 -3
  47. package/components/input-number/input-number.component.d.ts +3 -3
  48. package/components/input-number/input-number.module.d.ts +3 -4
  49. package/components/input-phone/input-phone.component.d.ts +2 -3
  50. package/components/input-phone/input-phone.module.d.ts +2 -3
  51. package/components/input-time/input-time.component.d.ts +2 -2
  52. package/components/input-time/input-time.module.d.ts +2 -3
  53. package/components/multi-select/multi-select-group/multi-select-group.directive.d.ts +1 -1
  54. package/components/pdf-viewer/pdf-viewer.service.d.ts +1 -1
  55. package/components/push/push.service.d.ts +1 -1
  56. package/components/select-option/select-option.component.d.ts +1 -1
  57. package/components/tree/misc/tree.constants.d.ts +1 -1
  58. package/directives/index.d.ts +1 -0
  59. package/directives/mask/index.d.ts +1 -0
  60. package/directives/mask/legacy-mask.d.ts +53 -0
  61. package/directives/mask/package.json +10 -0
  62. package/directives/mask/taiga-ui-kit-directives-mask.d.ts +5 -0
  63. package/esm2015/components/carousel/carousel.directive.js +7 -2
  64. package/esm2015/components/checkbox/checkbox.component.js +1 -1
  65. package/esm2015/components/combo-box/combo-box.component.js +1 -1
  66. package/esm2015/components/combo-box/combo-box.directive.js +1 -1
  67. package/esm2015/components/input-count/input-count.component.js +7 -8
  68. package/esm2015/components/input-count/input-count.module.js +2 -3
  69. package/esm2015/components/input-date/input-date.component.js +9 -12
  70. package/esm2015/components/input-date/input-date.directive.js +1 -1
  71. package/esm2015/components/input-date/input-date.module.js +2 -3
  72. package/esm2015/components/input-date-range/input-date-range.component.js +8 -11
  73. package/esm2015/components/input-date-range/input-date-range.directive.js +1 -1
  74. package/esm2015/components/input-date-range/input-date-range.module.js +2 -3
  75. package/esm2015/components/input-date-time/input-date-time.component.js +10 -11
  76. package/esm2015/components/input-date-time/input-date-time.directive.js +1 -1
  77. package/esm2015/components/input-date-time/input-date-time.module.js +2 -3
  78. package/esm2015/components/input-month/input-month.component.js +1 -1
  79. package/esm2015/components/input-month/input-month.directive.js +1 -1
  80. package/esm2015/components/input-month-range/input-month-range.component.js +1 -1
  81. package/esm2015/components/input-month-range/input-month-range.directive.js +1 -1
  82. package/esm2015/components/input-number/input-number.component.js +14 -9
  83. package/esm2015/components/input-number/input-number.directive.js +1 -1
  84. package/esm2015/components/input-number/input-number.module.js +2 -3
  85. package/esm2015/components/input-password/input-password.directive.js +1 -1
  86. package/esm2015/components/input-phone/input-phone.component.js +7 -8
  87. package/esm2015/components/input-phone/input-phone.directive.js +1 -1
  88. package/esm2015/components/input-phone/input-phone.module.js +2 -3
  89. package/esm2015/components/input-phone-international/input-phone-international.component.js +1 -1
  90. package/esm2015/components/input-tag/input-tag.component.js +1 -1
  91. package/esm2015/components/input-time/input-time.component.js +7 -8
  92. package/esm2015/components/input-time/input-time.module.js +2 -3
  93. package/esm2015/components/multi-select/multi-select.component.js +1 -1
  94. package/esm2015/components/multi-select-option/multi-select-option.component.js +1 -1
  95. package/esm2015/components/pdf-viewer/pdf-viewer.service.js +1 -1
  96. package/esm2015/components/push/push.directive.js +1 -1
  97. package/esm2015/components/push/push.service.js +1 -1
  98. package/esm2015/components/radio/radio.component.js +1 -1
  99. package/esm2015/components/radio-block/radio-block.component.js +1 -1
  100. package/esm2015/components/radio-labeled/radio-labeled.component.js +1 -1
  101. package/esm2015/components/select/select.directive.js +1 -1
  102. package/esm2015/components/slider/helpers/slider-key-steps.directive.js +1 -1
  103. package/esm2015/directives/index.js +2 -1
  104. package/esm2015/directives/mask/index.js +2 -0
  105. package/esm2015/directives/mask/legacy-mask.js +162 -0
  106. package/esm2015/directives/mask/taiga-ui-kit-directives-mask.js +5 -0
  107. package/fesm2015/taiga-ui-kit-components-carousel.js +6 -1
  108. package/fesm2015/taiga-ui-kit-components-carousel.js.map +1 -1
  109. package/fesm2015/taiga-ui-kit-components-checkbox.js.map +1 -1
  110. package/fesm2015/taiga-ui-kit-components-combo-box.js.map +1 -1
  111. package/fesm2015/taiga-ui-kit-components-input-count.js +7 -9
  112. package/fesm2015/taiga-ui-kit-components-input-count.js.map +1 -1
  113. package/fesm2015/taiga-ui-kit-components-input-date-range.js +8 -12
  114. package/fesm2015/taiga-ui-kit-components-input-date-range.js.map +1 -1
  115. package/fesm2015/taiga-ui-kit-components-input-date-time.js +10 -12
  116. package/fesm2015/taiga-ui-kit-components-input-date-time.js.map +1 -1
  117. package/fesm2015/taiga-ui-kit-components-input-date.js +9 -13
  118. package/fesm2015/taiga-ui-kit-components-input-date.js.map +1 -1
  119. package/fesm2015/taiga-ui-kit-components-input-month-range.js.map +1 -1
  120. package/fesm2015/taiga-ui-kit-components-input-month.js.map +1 -1
  121. package/fesm2015/taiga-ui-kit-components-input-number.js +14 -10
  122. package/fesm2015/taiga-ui-kit-components-input-number.js.map +1 -1
  123. package/fesm2015/taiga-ui-kit-components-input-password.js.map +1 -1
  124. package/fesm2015/taiga-ui-kit-components-input-phone-international.js.map +1 -1
  125. package/fesm2015/taiga-ui-kit-components-input-phone.js +8 -10
  126. package/fesm2015/taiga-ui-kit-components-input-phone.js.map +1 -1
  127. package/fesm2015/taiga-ui-kit-components-input-tag.js.map +1 -1
  128. package/fesm2015/taiga-ui-kit-components-input-time.js +7 -9
  129. package/fesm2015/taiga-ui-kit-components-input-time.js.map +1 -1
  130. package/fesm2015/taiga-ui-kit-components-multi-select-option.js.map +1 -1
  131. package/fesm2015/taiga-ui-kit-components-multi-select.js.map +1 -1
  132. package/fesm2015/taiga-ui-kit-components-pdf-viewer.js.map +1 -1
  133. package/fesm2015/taiga-ui-kit-components-push.js.map +1 -1
  134. package/fesm2015/taiga-ui-kit-components-radio-block.js.map +1 -1
  135. package/fesm2015/taiga-ui-kit-components-radio-labeled.js.map +1 -1
  136. package/fesm2015/taiga-ui-kit-components-radio.js.map +1 -1
  137. package/fesm2015/taiga-ui-kit-components-select.js.map +1 -1
  138. package/fesm2015/taiga-ui-kit-components-slider.js.map +1 -1
  139. package/fesm2015/taiga-ui-kit-directives-mask.js +161 -0
  140. package/fesm2015/taiga-ui-kit-directives-mask.js.map +1 -0
  141. package/fesm2015/taiga-ui-kit-directives.js +1 -0
  142. package/fesm2015/taiga-ui-kit-directives.js.map +1 -1
  143. package/package.json +5 -5
@@ -0,0 +1,193 @@
1
+ (function (global, factory) {
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/forms'), require('@angular/platform-browser'), require('text-mask-core')) :
3
+ typeof define === 'function' && define.amd ? define('@taiga-ui/kit/directives/mask', ['exports', '@angular/core', '@angular/forms', '@angular/platform-browser', 'text-mask-core'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["taiga-ui"] = global["taiga-ui"] || {}, global["taiga-ui"].kit = global["taiga-ui"].kit || {}, global["taiga-ui"].kit.directives = global["taiga-ui"].kit.directives || {}, global["taiga-ui"].kit.directives.mask = {}), global.ng.core, global.ng.forms, global.ng.platformBrowser, global.textMaskCore));
5
+ })(this, (function (exports, i0, forms, platformBrowser, textMaskCore) { 'use strict';
6
+
7
+ function _interopNamespace(e) {
8
+ if (e && e.__esModule) return e;
9
+ var n = Object.create(null);
10
+ if (e) {
11
+ Object.keys(e).forEach(function (k) {
12
+ if (k !== 'default') {
13
+ var d = Object.getOwnPropertyDescriptor(e, k);
14
+ Object.defineProperty(n, k, d.get ? d : {
15
+ enumerable: true,
16
+ get: function () { return e[k]; }
17
+ });
18
+ }
19
+ });
20
+ }
21
+ n["default"] = e;
22
+ return Object.freeze(n);
23
+ }
24
+
25
+ var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
26
+
27
+ /* eslint-disable */
28
+ /**
29
+ * We must check whether the agent is Android because composition events
30
+ * behave differently between iOS and Android.
31
+ */
32
+ function _isAndroid() {
33
+ var userAgent = platformBrowser["ɵgetDOM"]() ? platformBrowser["ɵgetDOM"]().getUserAgent() : '';
34
+ return /android (\d+)/.test(userAgent.toLowerCase());
35
+ }
36
+ /**
37
+ * @internal
38
+ * @deprecated
39
+ * Don't use it! It can be deleted at any time (even in minor releases).
40
+ * Use {@link https://github.com/text-mask/text-mask/tree/master/angular2 angular2-text-mask} instead.
41
+ */
42
+ var MaskedInputDirective = /** @class */ (function () {
43
+ function MaskedInputDirective(_renderer, _elementRef, _compositionMode) {
44
+ this._renderer = _renderer;
45
+ this._elementRef = _elementRef;
46
+ this._compositionMode = _compositionMode;
47
+ this.textMaskConfig = {
48
+ mask: [],
49
+ guide: true,
50
+ placeholderChar: '_',
51
+ pipe: undefined,
52
+ keepCharPositions: false,
53
+ };
54
+ this.onChange = function (_) { };
55
+ this.onTouched = function () { };
56
+ /** Whether the user is creating a composition string (IME events). */
57
+ this._composing = false;
58
+ if (this._compositionMode == null) {
59
+ this._compositionMode = !_isAndroid();
60
+ }
61
+ }
62
+ MaskedInputDirective.prototype.ngOnChanges = function () {
63
+ this._setupMask(true);
64
+ if (this.textMaskInputElement !== undefined) {
65
+ this.textMaskInputElement.update(this.inputElement.value);
66
+ }
67
+ };
68
+ MaskedInputDirective.prototype.writeValue = function (value) {
69
+ this._setupMask();
70
+ // set the initial value for cases where the mask is disabled
71
+ var normalizedValue = value == null ? '' : value;
72
+ this._renderer.setProperty(this.inputElement, 'value', normalizedValue);
73
+ if (this.textMaskInputElement !== undefined) {
74
+ this.textMaskInputElement.update(value);
75
+ }
76
+ };
77
+ MaskedInputDirective.prototype.registerOnChange = function (fn) {
78
+ this.onChange = fn;
79
+ };
80
+ MaskedInputDirective.prototype.registerOnTouched = function (fn) {
81
+ this.onTouched = fn;
82
+ };
83
+ MaskedInputDirective.prototype.setDisabledState = function (isDisabled) {
84
+ this._renderer.setProperty(this._elementRef.nativeElement, 'disabled', isDisabled);
85
+ };
86
+ MaskedInputDirective.prototype._handleInput = function (value) {
87
+ if (!this._compositionMode || (this._compositionMode && !this._composing)) {
88
+ this._setupMask();
89
+ if (this.textMaskInputElement !== undefined) {
90
+ this.textMaskInputElement.update(value);
91
+ // get the updated value
92
+ value = this.inputElement.value;
93
+ this.onChange(value);
94
+ }
95
+ }
96
+ };
97
+ MaskedInputDirective.prototype._setupMask = function (create) {
98
+ if (create === void 0) { create = false; }
99
+ if (!this.inputElement) {
100
+ if (this._elementRef.nativeElement.tagName.toUpperCase() === 'INPUT') {
101
+ // `textMask` directive is used directly on an input element
102
+ this.inputElement = this._elementRef.nativeElement;
103
+ }
104
+ else {
105
+ // `textMask` directive is used on an abstracted input element, `md-input-container`, etc
106
+ this.inputElement =
107
+ this._elementRef.nativeElement.getElementsByTagName('INPUT')[0];
108
+ }
109
+ }
110
+ if (this.inputElement && create) {
111
+ this.textMaskInputElement = textMaskCore.createTextMaskInputElement(Object.assign({ inputElement: this.inputElement }, this.textMaskConfig));
112
+ }
113
+ };
114
+ MaskedInputDirective.prototype._compositionStart = function () {
115
+ this._composing = true;
116
+ };
117
+ MaskedInputDirective.prototype._compositionEnd = function (value) {
118
+ this._composing = false;
119
+ this._compositionMode && this._handleInput(value);
120
+ };
121
+ return MaskedInputDirective;
122
+ }());
123
+ MaskedInputDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: MaskedInputDirective, deps: [{ token: i0__namespace.Renderer2 }, { token: i0__namespace.ElementRef }, { token: forms.COMPOSITION_BUFFER_MODE, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Directive });
124
+ MaskedInputDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: MaskedInputDirective, selector: "[textMask]", inputs: { textMaskConfig: ["textMask", "textMaskConfig"] }, host: { listeners: { "input": "_handleInput($event.target.value)", "blur": "onTouched()", "compositionstart": "_compositionStart()", "compositionend": "_compositionEnd($event.target.value)" } }, providers: [
125
+ {
126
+ provide: forms.NG_VALUE_ACCESSOR,
127
+ useExisting: i0.forwardRef(function () { return MaskedInputDirective; }),
128
+ multi: true,
129
+ },
130
+ ], exportAs: ["textMask"], usesOnChanges: true, ngImport: i0__namespace });
131
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: MaskedInputDirective, decorators: [{
132
+ type: i0.Directive,
133
+ args: [{
134
+ host: {
135
+ '(input)': '_handleInput($event.target.value)',
136
+ '(blur)': 'onTouched()',
137
+ '(compositionstart)': '_compositionStart()',
138
+ '(compositionend)': '_compositionEnd($event.target.value)',
139
+ },
140
+ selector: '[textMask]',
141
+ exportAs: 'textMask',
142
+ providers: [
143
+ {
144
+ provide: forms.NG_VALUE_ACCESSOR,
145
+ useExisting: i0.forwardRef(function () { return MaskedInputDirective; }),
146
+ multi: true,
147
+ },
148
+ ],
149
+ }]
150
+ }], ctorParameters: function () {
151
+ return [{ type: i0__namespace.Renderer2 }, { type: i0__namespace.ElementRef }, { type: undefined, decorators: [{
152
+ type: i0.Optional
153
+ }, {
154
+ type: i0.Inject,
155
+ args: [forms.COMPOSITION_BUFFER_MODE]
156
+ }] }];
157
+ }, propDecorators: { textMaskConfig: [{
158
+ type: i0.Input,
159
+ args: ['textMask']
160
+ }] } });
161
+ /**
162
+ * @internal
163
+ * @deprecated
164
+ * Don't use it! It can be deleted at any time (even in minor releases).
165
+ * Use {@link https://github.com/text-mask/text-mask/tree/master/angular2 angular2-text-mask} instead.
166
+ */
167
+ var TextMaskModule = /** @class */ (function () {
168
+ function TextMaskModule() {
169
+ }
170
+ return TextMaskModule;
171
+ }());
172
+ TextMaskModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TextMaskModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
173
+ TextMaskModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TextMaskModule, declarations: [MaskedInputDirective], exports: [MaskedInputDirective] });
174
+ TextMaskModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TextMaskModule });
175
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TextMaskModule, decorators: [{
176
+ type: i0.NgModule,
177
+ args: [{
178
+ declarations: [MaskedInputDirective],
179
+ exports: [MaskedInputDirective],
180
+ }]
181
+ }] });
182
+
183
+ /**
184
+ * Generated bundle index. Do not edit.
185
+ */
186
+
187
+ exports.MaskedInputDirective = MaskedInputDirective;
188
+ exports.TextMaskModule = TextMaskModule;
189
+
190
+ Object.defineProperty(exports, '__esModule', { value: true });
191
+
192
+ }));
193
+ //# sourceMappingURL=taiga-ui-kit-directives-mask.umd.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"taiga-ui-kit-directives-mask.umd.js","sources":["../../../projects/kit/directives/mask/legacy-mask.ts","../../../projects/kit/directives/mask/taiga-ui-kit-directives-mask.ts"],"sourcesContent":["/* eslint-disable */\n/**\n * Copied from\n * {@link https://github.com/text-mask/text-mask/blob/master/angular2/src/angular2TextMask.ts angular2-text-mask}\n * ___\n * \"angular2-text-mask\" is a legacy not-maintained library. It is published using legacy View Engine distribution.\n * Stackblitz fails to run \"View Engine\"-libraries in Ivy application.\n * See {@link https://github.com/Tinkoff/taiga-ui/issues/2541#issuecomment-1235516443 this comment}.\n */\nimport {\n Directive,\n ElementRef,\n forwardRef,\n Inject,\n Input,\n NgModule,\n OnChanges,\n Optional,\n Renderer2,\n} from '@angular/core';\nimport {\n COMPOSITION_BUFFER_MODE,\n ControlValueAccessor,\n NG_VALUE_ACCESSOR,\n} from '@angular/forms';\nimport {ɵgetDOM as getDOM} from '@angular/platform-browser';\nimport {TuiTextMaskOptions} from '@taiga-ui/core';\nimport {createTextMaskInputElement} from 'text-mask-core';\n\n/**\n * We must check whether the agent is Android because composition events\n * behave differently between iOS and Android.\n */\nfunction _isAndroid(): boolean {\n const userAgent = getDOM() ? getDOM().getUserAgent() : '';\n return /android (\\d+)/.test(userAgent.toLowerCase());\n}\n\n/**\n * @internal\n * @deprecated\n * Don't use it! It can be deleted at any time (even in minor releases).\n * Use {@link https://github.com/text-mask/text-mask/tree/master/angular2 angular2-text-mask} instead.\n */\n@Directive({\n host: {\n '(input)': '_handleInput($event.target.value)',\n '(blur)': 'onTouched()',\n '(compositionstart)': '_compositionStart()',\n '(compositionend)': '_compositionEnd($event.target.value)',\n },\n selector: '[textMask]',\n exportAs: 'textMask',\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => MaskedInputDirective),\n multi: true,\n },\n ],\n})\nexport class MaskedInputDirective implements ControlValueAccessor, OnChanges {\n @Input('textMask') textMaskConfig: TuiTextMaskOptions = {\n mask: [],\n guide: true,\n placeholderChar: '_',\n pipe: undefined,\n keepCharPositions: false,\n };\n\n onChange = (_: any) => {};\n onTouched = () => {};\n\n private textMaskInputElement: any;\n private inputElement!: HTMLInputElement;\n\n /** Whether the user is creating a composition string (IME events). */\n private _composing = false;\n\n constructor(\n private _renderer: Renderer2,\n private _elementRef: ElementRef,\n @Optional() @Inject(COMPOSITION_BUFFER_MODE) private _compositionMode: boolean,\n ) {\n if (this._compositionMode == null) {\n this._compositionMode = !_isAndroid();\n }\n }\n\n ngOnChanges() {\n this._setupMask(true);\n if (this.textMaskInputElement !== undefined) {\n this.textMaskInputElement.update(this.inputElement.value);\n }\n }\n\n writeValue(value: any) {\n this._setupMask();\n\n // set the initial value for cases where the mask is disabled\n const normalizedValue = value == null ? '' : value;\n this._renderer.setProperty(this.inputElement, 'value', normalizedValue);\n\n if (this.textMaskInputElement !== undefined) {\n this.textMaskInputElement.update(value);\n }\n }\n\n registerOnChange(fn: (_: any) => void): void {\n this.onChange = fn;\n }\n registerOnTouched(fn: () => void): void {\n this.onTouched = fn;\n }\n\n setDisabledState(isDisabled: boolean): void {\n this._renderer.setProperty(\n this._elementRef.nativeElement,\n 'disabled',\n isDisabled,\n );\n }\n\n _handleInput(value: any) {\n if (!this._compositionMode || (this._compositionMode && !this._composing)) {\n this._setupMask();\n\n if (this.textMaskInputElement !== undefined) {\n this.textMaskInputElement.update(value);\n\n // get the updated value\n value = this.inputElement.value;\n this.onChange(value);\n }\n }\n }\n\n _setupMask(create = false) {\n if (!this.inputElement) {\n if (this._elementRef.nativeElement.tagName.toUpperCase() === 'INPUT') {\n // `textMask` directive is used directly on an input element\n this.inputElement = this._elementRef.nativeElement;\n } else {\n // `textMask` directive is used on an abstracted input element, `md-input-container`, etc\n this.inputElement =\n this._elementRef.nativeElement.getElementsByTagName('INPUT')[0];\n }\n }\n\n if (this.inputElement && create) {\n this.textMaskInputElement = createTextMaskInputElement(\n Object.assign({inputElement: this.inputElement}, this.textMaskConfig),\n );\n }\n }\n\n _compositionStart(): void {\n this._composing = true;\n }\n\n _compositionEnd(value: any): void {\n this._composing = false;\n this._compositionMode && this._handleInput(value);\n }\n}\n\n/**\n * @internal\n * @deprecated\n * Don't use it! It can be deleted at any time (even in minor releases).\n * Use {@link https://github.com/text-mask/text-mask/tree/master/angular2 angular2-text-mask} instead.\n */\n@NgModule({\n declarations: [MaskedInputDirective],\n exports: [MaskedInputDirective],\n})\nexport class TextMaskModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["getDOM","createTextMaskInputElement","i0","COMPOSITION_BUFFER_MODE","NG_VALUE_ACCESSOR","forwardRef","Directive","Optional","Inject","Input","NgModule"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;IAAA;IA6BA;;;IAGG;IACH,SAAS,UAAU,GAAA;IACf,IAAA,IAAM,SAAS,GAAGA,0BAAM,EAAE,GAAGA,0BAAM,EAAE,CAAC,YAAY,EAAE,GAAG,EAAE,CAAC;QAC1D,OAAO,eAAe,CAAC,IAAI,CAAC,SAAS,CAAC,WAAW,EAAE,CAAC,CAAC;IACzD,CAAC;IAED;;;;;IAKG;AAkBH,QAAA,oBAAA,kBAAA,YAAA;IAkBI,IAAA,SAAA,oBAAA,CACY,SAAoB,EACpB,WAAuB,EACsB,gBAAyB,EAAA;IAFtE,QAAA,IAAS,CAAA,SAAA,GAAT,SAAS,CAAW;IACpB,QAAA,IAAW,CAAA,WAAA,GAAX,WAAW,CAAY;IACsB,QAAA,IAAgB,CAAA,gBAAA,GAAhB,gBAAgB,CAAS;YApB/D,IAAA,CAAA,cAAc,GAAuB;IACpD,YAAA,IAAI,EAAE,EAAE;IACR,YAAA,KAAK,EAAE,IAAI;IACX,YAAA,eAAe,EAAE,GAAG;IACpB,YAAA,IAAI,EAAE,SAAS;IACf,YAAA,iBAAiB,EAAE,KAAK;aAC3B,CAAC;IAEF,QAAA,IAAA,CAAA,QAAQ,GAAG,UAAC,CAAM,EAAA,GAAO,CAAC;IAC1B,QAAA,IAAA,CAAA,SAAS,GAAG,YAAA,GAAQ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WAAQ;IAAC,YAAA,IAAA,EAAA,CAAA;wBACN,YAAY,EAAE,CAAC,oBAAoB,CAAC;wBACpC,OAAO,EAAE,CAAC,oBAAoB,CAAC;qBAClC,CAAA;;;IC/KD;;IAEG;;;;;;;;;;;"}
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@taiga-ui/kit/directives/data-list-dropdown-manager'), require('@taiga-ui/kit/directives/highlight'), require('@taiga-ui/kit/directives/lazy-loading'), require('@taiga-ui/kit/directives/present'), require('@taiga-ui/kit/directives/project-class'), require('@taiga-ui/kit/directives/unfinished-validator'), require('@taiga-ui/kit/directives/value-accessor')) :
3
- typeof define === 'function' && define.amd ? define('@taiga-ui/kit/directives', ['exports', '@taiga-ui/kit/directives/data-list-dropdown-manager', '@taiga-ui/kit/directives/highlight', '@taiga-ui/kit/directives/lazy-loading', '@taiga-ui/kit/directives/present', '@taiga-ui/kit/directives/project-class', '@taiga-ui/kit/directives/unfinished-validator', '@taiga-ui/kit/directives/value-accessor'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["taiga-ui"] = global["taiga-ui"] || {}, global["taiga-ui"].kit = global["taiga-ui"].kit || {}, global["taiga-ui"].kit.directives = {}), global["taiga-ui"].kit.directives["data-list-dropdown-manager"], global["taiga-ui"].kit.directives.highlight, global["taiga-ui"].kit.directives["lazy-loading"], global["taiga-ui"].kit.directives.present, global["taiga-ui"].kit.directives["project-class"], global["taiga-ui"].kit.directives["unfinished-validator"], global["taiga-ui"].kit.directives["value-accessor"]));
5
- })(this, (function (exports, dataListDropdownManager, highlight, lazyLoading, present, projectClass, unfinishedValidator, valueAccessor) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@taiga-ui/kit/directives/data-list-dropdown-manager'), require('@taiga-ui/kit/directives/highlight'), require('@taiga-ui/kit/directives/lazy-loading'), require('@taiga-ui/kit/directives/mask'), require('@taiga-ui/kit/directives/present'), require('@taiga-ui/kit/directives/project-class'), require('@taiga-ui/kit/directives/unfinished-validator'), require('@taiga-ui/kit/directives/value-accessor')) :
3
+ typeof define === 'function' && define.amd ? define('@taiga-ui/kit/directives', ['exports', '@taiga-ui/kit/directives/data-list-dropdown-manager', '@taiga-ui/kit/directives/highlight', '@taiga-ui/kit/directives/lazy-loading', '@taiga-ui/kit/directives/mask', '@taiga-ui/kit/directives/present', '@taiga-ui/kit/directives/project-class', '@taiga-ui/kit/directives/unfinished-validator', '@taiga-ui/kit/directives/value-accessor'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["taiga-ui"] = global["taiga-ui"] || {}, global["taiga-ui"].kit = global["taiga-ui"].kit || {}, global["taiga-ui"].kit.directives = {}), global["taiga-ui"].kit.directives["data-list-dropdown-manager"], global["taiga-ui"].kit.directives.highlight, global["taiga-ui"].kit.directives["lazy-loading"], global["taiga-ui"].kit.directives.mask, global["taiga-ui"].kit.directives.present, global["taiga-ui"].kit.directives["project-class"], global["taiga-ui"].kit.directives["unfinished-validator"], global["taiga-ui"].kit.directives["value-accessor"]));
5
+ })(this, (function (exports, dataListDropdownManager, highlight, lazyLoading, mask, present, projectClass, unfinishedValidator, valueAccessor) { 'use strict';
6
6
 
7
7
  /**
8
8
  * Generated bundle index. Do not edit.
@@ -26,6 +26,12 @@
26
26
  get: function () { return lazyLoading[k]; }
27
27
  });
28
28
  });
29
+ Object.keys(mask).forEach(function (k) {
30
+ if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
31
+ enumerable: true,
32
+ get: function () { return mask[k]; }
33
+ });
34
+ });
29
35
  Object.keys(present).forEach(function (k) {
30
36
  if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
31
37
  enumerable: true,
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-directives.umd.js","sources":["../../../projects/kit/directives/taiga-ui-kit-directives.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;CAAA;;CAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-directives.umd.js","sources":["../../../projects/kit/directives/taiga-ui-kit-directives.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;CAAA;;CAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -12,4 +12,4 @@ export declare class TuiArrowComponent {
12
12
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiArrowComponent, never>;
13
13
  static ɵcmp: i0.ɵɵComponentDeclaration<TuiArrowComponent, "tui-arrow", never, {}, {}, never, never>;
14
14
  }
15
- export declare const TUI_ARROW: PolymorpheusComponent<TuiArrowComponent, Record<any, any>>;
15
+ export declare const TUI_ARROW: PolymorpheusComponent<TuiArrowComponent, unknown>;
@@ -8,7 +8,8 @@ export declare class TuiCarouselDirective extends Observable<unknown> {
8
8
  private readonly running$;
9
9
  private readonly output$;
10
10
  set duration(duration: number);
11
+ set index(_: number);
11
12
  constructor(elementRef: ElementRef<HTMLElement>, visible$: Observable<boolean>);
12
13
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiCarouselDirective, never>;
13
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiCarouselDirective, "tui-carousel", never, { "duration": "duration"; }, {}, never>;
14
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiCarouselDirective, "tui-carousel", never, { "duration": "duration"; "index": "index"; }, {}, never>;
14
15
  }
@@ -1,9 +1,8 @@
1
1
  import { ChangeDetectorRef } from '@angular/core';
2
2
  import { NgControl } from '@angular/forms';
3
3
  import { AbstractTuiControl, TuiFocusableElementAccessor } from '@taiga-ui/cdk';
4
- import { TuiNumberFormatSettings, TuiSizeL, TuiSizeS, TuiTextfieldSizeDirective, TuiWithOptionalMinMax } from '@taiga-ui/core';
4
+ import { TuiNumberFormatSettings, TuiSizeL, TuiSizeS, TuiTextfieldSizeDirective, TuiTextMaskOptions, TuiWithOptionalMinMax } from '@taiga-ui/core';
5
5
  import { PolymorpheusContent } from '@tinkoff/ng-polymorpheus';
6
- import { TextMaskConfig } from 'angular2-text-mask';
7
6
  import { Observable } from 'rxjs';
8
7
  import { TuiInputCountOptions } from './input-count-options';
9
8
  import * as i0 from "@angular/core";
@@ -22,7 +21,7 @@ export declare class TuiInputCountComponent extends AbstractTuiControl<number> i
22
21
  prefix: string;
23
22
  postfix: string;
24
23
  constructor(control: NgControl | null, changeDetectorRef: ChangeDetectorRef, appearance: string, textfieldSize: TuiTextfieldSizeDirective, minusTexts$: Observable<[string, string]>, isMobile: boolean, options: TuiInputCountOptions, numberFormat: TuiNumberFormatSettings);
25
- getMask(allowNegative: boolean): TextMaskConfig;
24
+ getMask(allowNegative: boolean): TuiTextMaskOptions;
26
25
  get buttonsHidden(): boolean;
27
26
  get iconUp(): PolymorpheusContent<Record<string, unknown>>;
28
27
  get iconDown(): PolymorpheusContent<Record<string, unknown>>;
@@ -2,12 +2,11 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./input-count.component";
3
3
  import * as i2 from "./input-count.directive";
4
4
  import * as i3 from "@angular/common";
5
- import * as i4 from "angular2-text-mask";
5
+ import * as i4 from "@taiga-ui/kit/directives";
6
6
  import * as i5 from "@taiga-ui/core";
7
- import * as i6 from "@taiga-ui/kit/directives";
8
- import * as i7 from "@tinkoff/ng-polymorpheus";
7
+ import * as i6 from "@tinkoff/ng-polymorpheus";
9
8
  export declare class TuiInputCountModule {
10
9
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputCountModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputCountModule, [typeof i1.TuiInputCountComponent, typeof i2.TuiInputCountDirective], [typeof i3.CommonModule, typeof i4.TextMaskModule, typeof i5.TuiButtonModule, typeof i5.TuiPrimitiveTextfieldModule, typeof i5.TuiTextfieldControllerModule, typeof i6.TuiValueAccessorModule, typeof i7.PolymorpheusModule], [typeof i1.TuiInputCountComponent, typeof i2.TuiInputCountDirective, typeof i5.TuiTextfieldComponent]>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputCountModule, [typeof i1.TuiInputCountComponent, typeof i2.TuiInputCountDirective], [typeof i3.CommonModule, typeof i4.TextMaskModule, typeof i5.TuiButtonModule, typeof i5.TuiPrimitiveTextfieldModule, typeof i5.TuiTextfieldControllerModule, typeof i4.TuiValueAccessorModule, typeof i6.PolymorpheusModule], [typeof i1.TuiInputCountComponent, typeof i2.TuiInputCountDirective, typeof i5.TuiTextfieldComponent]>;
12
11
  static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputCountModule>;
13
12
  }
@@ -1,9 +1,8 @@
1
1
  import { ChangeDetectorRef, Injector, Type } from '@angular/core';
2
2
  import { NgControl } from '@angular/forms';
3
3
  import { AbstractTuiNullableControl, TuiActiveZoneDirective, TuiBooleanHandler, TuiContextWithImplicit, TuiControlValueTransformer, TuiDateMode, TuiDay, TuiFocusableElementAccessor, TuiMonth } from '@taiga-ui/cdk';
4
- import { TuiDialogService, TuiMarkerHandler, TuiTextfieldSizeDirective, TuiWithOptionalMinMax } from '@taiga-ui/core';
4
+ import { TuiDialogService, TuiMarkerHandler, TuiTextfieldSizeDirective, TuiTextMaskOptions, TuiWithOptionalMinMax } from '@taiga-ui/core';
5
5
  import { TuiNamedDay } from '@taiga-ui/kit/classes';
6
- import { TextMaskConfig } from 'angular2-text-mask';
7
6
  import { Observable } from 'rxjs';
8
7
  import * as i0 from "@angular/core";
9
8
  export declare class TuiInputDateComponent extends AbstractTuiNullableControl<TuiDay> implements TuiWithOptionalMinMax<TuiDay>, TuiFocusableElementAccessor {
@@ -38,7 +37,7 @@ export declare class TuiInputDateComponent extends AbstractTuiNullableControl<Tu
38
37
  get nativeValue(): string;
39
38
  set nativeValue(value: string);
40
39
  get canOpen(): boolean;
41
- get computedMask(): TextMaskConfig;
40
+ get computedMask(): TuiTextMaskOptions;
42
41
  get activeItem(): TuiNamedDay | null;
43
42
  onClick(): void;
44
43
  getComputedFiller(filler: string): string;
@@ -2,13 +2,12 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./input-date.component";
3
3
  import * as i2 from "./input-date.directive";
4
4
  import * as i3 from "@angular/common";
5
- import * as i4 from "angular2-text-mask";
5
+ import * as i4 from "@taiga-ui/kit/directives";
6
6
  import * as i5 from "@tinkoff/ng-polymorpheus";
7
7
  import * as i6 from "@taiga-ui/cdk";
8
8
  import * as i7 from "@taiga-ui/core";
9
- import * as i8 from "@taiga-ui/kit/directives";
10
9
  export declare class TuiInputDateModule {
11
10
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputDateModule, never>;
12
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputDateModule, [typeof i1.TuiInputDateComponent, typeof i2.TuiInputDateDirective], [typeof i3.CommonModule, typeof i4.TextMaskModule, typeof i5.PolymorpheusModule, typeof i6.TuiPreventDefaultModule, typeof i7.TuiCalendarModule, typeof i7.TuiSvgModule, typeof i7.TuiLinkModule, typeof i7.TuiHostedDropdownModule, typeof i7.TuiPrimitiveTextfieldModule, typeof i8.TuiValueAccessorModule, typeof i6.TuiLetModule, typeof i7.TuiTextfieldControllerModule], [typeof i1.TuiInputDateComponent, typeof i2.TuiInputDateDirective, typeof i7.TuiTextfieldComponent]>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputDateModule, [typeof i1.TuiInputDateComponent, typeof i2.TuiInputDateDirective], [typeof i3.CommonModule, typeof i4.TextMaskModule, typeof i5.PolymorpheusModule, typeof i6.TuiPreventDefaultModule, typeof i7.TuiCalendarModule, typeof i7.TuiSvgModule, typeof i7.TuiLinkModule, typeof i7.TuiHostedDropdownModule, typeof i7.TuiPrimitiveTextfieldModule, typeof i4.TuiValueAccessorModule, typeof i6.TuiLetModule, typeof i7.TuiTextfieldControllerModule], [typeof i1.TuiInputDateComponent, typeof i2.TuiInputDateDirective, typeof i7.TuiTextfieldComponent]>;
13
12
  static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputDateModule>;
14
13
  }
@@ -1,9 +1,8 @@
1
1
  import { ChangeDetectorRef, Injector, Type } from '@angular/core';
2
2
  import { NgControl } from '@angular/forms';
3
3
  import { AbstractTuiNullableControl, TuiBooleanHandler, TuiControlValueTransformer, TuiDateMode, TuiDay, TuiDayLike, TuiDayRange, TuiFocusableElementAccessor, TuiMapper, TuiMonth } from '@taiga-ui/cdk';
4
- import { TuiDialogService, TuiMarkerHandler, TuiTextfieldSizeDirective, TuiWithOptionalMinMax } from '@taiga-ui/core';
4
+ import { TuiDialogService, TuiMarkerHandler, TuiTextfieldSizeDirective, TuiTextMaskOptions, TuiWithOptionalMinMax } from '@taiga-ui/core';
5
5
  import { TuiDayRangePeriod } from '@taiga-ui/kit/classes';
6
- import { TextMaskConfig } from 'angular2-text-mask';
7
6
  import { Observable } from 'rxjs';
8
7
  import * as i0 from "@angular/core";
9
8
  export declare class TuiInputDateRangeComponent extends AbstractTuiNullableControl<TuiDayRange> implements TuiWithOptionalMinMax<TuiDay>, TuiFocusableElementAccessor {
@@ -36,7 +35,7 @@ export declare class TuiInputDateRangeComponent extends AbstractTuiNullableContr
36
35
  get calendarIcon(): string;
37
36
  get canOpen(): boolean;
38
37
  get computedExampleText(): string;
39
- get computedMask(): TextMaskConfig;
38
+ get computedMask(): TuiTextMaskOptions;
40
39
  get activePeriod(): TuiDayRangePeriod | null;
41
40
  get computedValue(): string;
42
41
  get innerPseudoFocused(): boolean | null;
@@ -2,14 +2,13 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./input-date-range.component";
3
3
  import * as i2 from "./input-date-range.directive";
4
4
  import * as i3 from "@angular/common";
5
- import * as i4 from "angular2-text-mask";
5
+ import * as i4 from "@taiga-ui/kit/directives";
6
6
  import * as i5 from "@taiga-ui/cdk";
7
7
  import * as i6 from "@tinkoff/ng-polymorpheus";
8
8
  import * as i7 from "@taiga-ui/core";
9
9
  import * as i8 from "@taiga-ui/kit/components/calendar-range";
10
- import * as i9 from "@taiga-ui/kit/directives";
11
10
  export declare class TuiInputDateRangeModule {
12
11
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputDateRangeModule, never>;
13
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputDateRangeModule, [typeof i1.TuiInputDateRangeComponent, typeof i2.TuiInputDateRangeDirective], [typeof i3.CommonModule, typeof i4.TextMaskModule, typeof i5.TuiActiveZoneModule, typeof i5.TuiLetModule, typeof i6.PolymorpheusModule, typeof i7.TuiPrimitiveTextfieldModule, typeof i7.TuiTextfieldControllerModule, typeof i7.TuiHostedDropdownModule, typeof i7.TuiSvgModule, typeof i8.TuiCalendarRangeModule, typeof i9.TuiValueAccessorModule], [typeof i1.TuiInputDateRangeComponent, typeof i2.TuiInputDateRangeDirective, typeof i7.TuiTextfieldComponent]>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputDateRangeModule, [typeof i1.TuiInputDateRangeComponent, typeof i2.TuiInputDateRangeDirective], [typeof i3.CommonModule, typeof i4.TextMaskModule, typeof i5.TuiActiveZoneModule, typeof i5.TuiLetModule, typeof i6.PolymorpheusModule, typeof i7.TuiPrimitiveTextfieldModule, typeof i7.TuiTextfieldControllerModule, typeof i7.TuiHostedDropdownModule, typeof i7.TuiSvgModule, typeof i8.TuiCalendarRangeModule, typeof i4.TuiValueAccessorModule], [typeof i1.TuiInputDateRangeComponent, typeof i2.TuiInputDateRangeDirective, typeof i7.TuiTextfieldComponent]>;
14
13
  static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputDateRangeModule>;
15
14
  }
@@ -1,8 +1,7 @@
1
1
  import { ChangeDetectorRef } from '@angular/core';
2
2
  import { NgControl } from '@angular/forms';
3
3
  import { AbstractTuiControl, TuiActiveZoneDirective, TuiBooleanHandler, TuiContextWithImplicit, TuiControlValueTransformer, TuiDateMode, TuiDay, TuiFocusableElementAccessor, TuiMonth, TuiTime, TuiTimeMode } from '@taiga-ui/cdk';
4
- import { TuiTextfieldSizeDirective, TuiWithOptionalMinMax } from '@taiga-ui/core';
5
- import { TextMaskConfig } from 'angular2-text-mask';
4
+ import { TuiTextfieldSizeDirective, TuiTextMaskOptions, TuiWithOptionalMinMax } from '@taiga-ui/core';
6
5
  import { Observable } from 'rxjs';
7
6
  import * as i0 from "@angular/core";
8
7
  export declare class TuiInputDateTimeComponent extends AbstractTuiControl<[TuiDay | null, TuiTime | null]> implements TuiWithOptionalMinMax<TuiDay | [TuiDay, TuiTime]>, TuiFocusableElementAccessor {
@@ -30,7 +29,7 @@ export declare class TuiInputDateTimeComponent extends AbstractTuiControl<[TuiDa
30
29
  TuiTime | null
31
30
  ]> | null);
32
31
  get fillerLength(): number;
33
- get textMaskOptions(): TextMaskConfig;
32
+ get textMaskOptions(): TuiTextMaskOptions;
34
33
  get nativeFocusableElement(): HTMLInputElement | null;
35
34
  get focused(): boolean;
36
35
  get calendarIcon(): string;
@@ -2,13 +2,12 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./input-date-time.component";
3
3
  import * as i2 from "./input-date-time.directive";
4
4
  import * as i3 from "@angular/common";
5
- import * as i4 from "angular2-text-mask";
5
+ import * as i4 from "@taiga-ui/kit/directives";
6
6
  import * as i5 from "@tinkoff/ng-polymorpheus";
7
7
  import * as i6 from "@taiga-ui/cdk";
8
8
  import * as i7 from "@taiga-ui/core";
9
- import * as i8 from "@taiga-ui/kit/directives";
10
9
  export declare class TuiInputDateTimeModule {
11
10
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputDateTimeModule, never>;
12
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputDateTimeModule, [typeof i1.TuiInputDateTimeComponent, typeof i2.TuiInputDateTimeDirective], [typeof i3.CommonModule, typeof i4.TextMaskModule, typeof i5.PolymorpheusModule, typeof i6.TuiPreventDefaultModule, typeof i7.TuiCalendarModule, typeof i7.TuiSvgModule, typeof i7.TuiLinkModule, typeof i7.TuiHostedDropdownModule, typeof i7.TuiPrimitiveTextfieldModule, typeof i8.TuiValueAccessorModule, typeof i7.TuiTextfieldControllerModule], [typeof i1.TuiInputDateTimeComponent, typeof i2.TuiInputDateTimeDirective, typeof i7.TuiTextfieldComponent]>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputDateTimeModule, [typeof i1.TuiInputDateTimeComponent, typeof i2.TuiInputDateTimeDirective], [typeof i3.CommonModule, typeof i4.TextMaskModule, typeof i5.PolymorpheusModule, typeof i6.TuiPreventDefaultModule, typeof i7.TuiCalendarModule, typeof i7.TuiSvgModule, typeof i7.TuiLinkModule, typeof i7.TuiHostedDropdownModule, typeof i7.TuiPrimitiveTextfieldModule, typeof i4.TuiValueAccessorModule, typeof i7.TuiTextfieldControllerModule], [typeof i1.TuiInputDateTimeComponent, typeof i2.TuiInputDateTimeDirective, typeof i7.TuiTextfieldComponent]>;
13
12
  static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputDateTimeModule>;
14
13
  }
@@ -1,13 +1,13 @@
1
1
  import { ChangeDetectorRef, QueryList } from '@angular/core';
2
2
  import { NgControl } from '@angular/forms';
3
3
  import { AbstractTuiNullableControl, TuiFocusableElementAccessor, TuiInputMode, TuiMapper } from '@taiga-ui/cdk';
4
- import { TuiDecimal, TuiNumberFormatSettings } from '@taiga-ui/core';
5
- import { TextMaskConfig } from 'angular2-text-mask';
4
+ import { TuiDecimal, TuiNumberFormatSettings, TuiTextMaskOptions } from '@taiga-ui/core';
6
5
  import * as i0 from "@angular/core";
7
6
  export declare class TuiInputNumberComponent extends AbstractTuiNullableControl<number> implements TuiFocusableElementAccessor {
8
7
  private readonly numberFormat;
9
8
  private readonly isIOS;
10
9
  private readonly primitiveTextfield?;
10
+ private unfinishedValue;
11
11
  min: number;
12
12
  max: number;
13
13
  decimal: TuiDecimal;
@@ -24,7 +24,7 @@ export declare class TuiInputNumberComponent extends AbstractTuiNullableControl<
24
24
  get formattedValue(): string;
25
25
  get computedValue(): string;
26
26
  onZero(event: KeyboardEvent): void;
27
- mask: TuiMapper<boolean, TextMaskConfig>;
27
+ mask: TuiMapper<boolean, TuiTextMaskOptions>;
28
28
  onValueChange(value: string): void;
29
29
  onKeyDown(event: KeyboardEvent): void;
30
30
  onFocused(focused: boolean): void;
@@ -2,13 +2,12 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./input-number.component";
3
3
  import * as i2 from "./input-number.directive";
4
4
  import * as i3 from "@angular/common";
5
- import * as i4 from "angular2-text-mask";
5
+ import * as i4 from "@taiga-ui/kit/directives";
6
6
  import * as i5 from "@taiga-ui/cdk";
7
7
  import * as i6 from "@taiga-ui/core";
8
- import * as i7 from "@taiga-ui/kit/directives";
9
- import * as i8 from "@tinkoff/ng-polymorpheus";
8
+ import * as i7 from "@tinkoff/ng-polymorpheus";
10
9
  export declare class TuiInputNumberModule {
11
10
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputNumberModule, never>;
12
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputNumberModule, [typeof i1.TuiInputNumberComponent, typeof i2.TuiInputNumberDirective], [typeof i3.CommonModule, typeof i4.TextMaskModule, typeof i5.TuiMapperPipeModule, typeof i6.TuiPrimitiveTextfieldModule, typeof i6.TuiTextfieldControllerModule, typeof i7.TuiValueAccessorModule, typeof i8.PolymorpheusModule], [typeof i1.TuiInputNumberComponent, typeof i2.TuiInputNumberDirective, typeof i6.TuiTextfieldComponent]>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputNumberModule, [typeof i1.TuiInputNumberComponent, typeof i2.TuiInputNumberDirective], [typeof i3.CommonModule, typeof i4.TextMaskModule, typeof i5.TuiMapperPipeModule, typeof i6.TuiPrimitiveTextfieldModule, typeof i6.TuiTextfieldControllerModule, typeof i4.TuiValueAccessorModule, typeof i7.PolymorpheusModule], [typeof i1.TuiInputNumberComponent, typeof i2.TuiInputNumberDirective, typeof i6.TuiTextfieldComponent]>;
13
12
  static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputNumberModule>;
14
13
  }
@@ -1,8 +1,7 @@
1
1
  import { ChangeDetectorRef, EventEmitter, TemplateRef } from '@angular/core';
2
2
  import { NgControl } from '@angular/forms';
3
3
  import { AbstractTuiControl, TuiActiveZoneDirective, TuiContextWithImplicit, TuiFocusableElementAccessor, TuiInputMode } from '@taiga-ui/cdk';
4
- import { TuiDataListHost, TuiTextfieldCleanerDirective } from '@taiga-ui/core';
5
- import { TextMaskConfig } from 'angular2-text-mask';
4
+ import { TuiDataListHost, TuiTextfieldCleanerDirective, TuiTextMaskOptions } from '@taiga-ui/core';
6
5
  import { Observable } from 'rxjs';
7
6
  import { TuiInputPhoneOptions } from './input-phone.options';
8
7
  import * as i0 from "@angular/core";
@@ -17,7 +16,7 @@ export declare class TuiInputPhoneComponent extends AbstractTuiControl<string> i
17
16
  search: string;
18
17
  readonly searchChange: EventEmitter<string>;
19
18
  readonly datalist?: TemplateRef<TuiContextWithImplicit<TuiActiveZoneDirective>>;
20
- readonly textMaskOptions: TextMaskConfig;
19
+ readonly textMaskOptions: TuiTextMaskOptions;
21
20
  countryCode: string;
22
21
  open: boolean;
23
22
  constructor(control: NgControl | null, destroy$: Observable<unknown>, changeDetectorRef: ChangeDetectorRef, selection$: Observable<unknown>, textfieldCleaner: TuiTextfieldCleanerDirective, options: TuiInputPhoneOptions);
@@ -1,12 +1,11 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./input-phone.component";
3
3
  import * as i2 from "./input-phone.directive";
4
- import * as i3 from "angular2-text-mask";
4
+ import * as i3 from "@taiga-ui/kit/directives";
5
5
  import * as i4 from "@taiga-ui/core";
6
6
  import * as i5 from "@taiga-ui/cdk";
7
- import * as i6 from "@taiga-ui/kit/directives";
8
7
  export declare class TuiInputPhoneModule {
9
8
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputPhoneModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputPhoneModule, [typeof i1.TuiInputPhoneComponent, typeof i2.TuiInputPhoneDirective], [typeof i3.TextMaskModule, typeof i4.TuiPrimitiveTextfieldModule, typeof i4.TuiHostedDropdownModule, typeof i4.TuiTextfieldControllerModule, typeof i5.TuiActiveZoneModule, typeof i6.TuiValueAccessorModule], [typeof i1.TuiInputPhoneComponent, typeof i2.TuiInputPhoneDirective, typeof i4.TuiTextfieldComponent]>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputPhoneModule, [typeof i1.TuiInputPhoneComponent, typeof i2.TuiInputPhoneDirective], [typeof i3.TextMaskModule, typeof i4.TuiPrimitiveTextfieldModule, typeof i4.TuiHostedDropdownModule, typeof i4.TuiTextfieldControllerModule, typeof i5.TuiActiveZoneModule, typeof i3.TuiValueAccessorModule], [typeof i1.TuiInputPhoneComponent, typeof i2.TuiInputPhoneDirective, typeof i4.TuiTextfieldComponent]>;
11
10
  static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputPhoneModule>;
12
11
  }
@@ -1,7 +1,7 @@
1
1
  import { ChangeDetectorRef } from '@angular/core';
2
2
  import { NgControl } from '@angular/forms';
3
3
  import { AbstractTuiNullableControl, TuiBooleanHandler, TuiFocusableElementAccessor, TuiTime, TuiTimeMode } from '@taiga-ui/cdk';
4
- import { TextMaskConfig } from 'angular2-text-mask';
4
+ import { TuiTextMaskOptions } from '@taiga-ui/core';
5
5
  import { Observable } from 'rxjs';
6
6
  import { TuiInputTimeOptions } from './input-time-options';
7
7
  import * as i0 from "@angular/core";
@@ -20,7 +20,7 @@ export declare class TuiInputTimeComponent extends AbstractTuiNullableControl<Tu
20
20
  get nativeFocusableElement(): HTMLInputElement | null;
21
21
  get focused(): boolean;
22
22
  get filtered(): readonly TuiTime[];
23
- get textMaskOptions(): TextMaskConfig;
23
+ get textMaskOptions(): TuiTextMaskOptions;
24
24
  get computedValue(): string;
25
25
  get computedSearch(): string;
26
26
  get innerPseudoFocused(): boolean | null;
@@ -1,11 +1,10 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./input-time.component";
3
3
  import * as i2 from "@angular/common";
4
- import * as i3 from "angular2-text-mask";
4
+ import * as i3 from "@taiga-ui/kit/directives";
5
5
  import * as i4 from "@taiga-ui/core";
6
- import * as i5 from "@taiga-ui/kit/directives";
7
6
  export declare class TuiInputTimeModule {
8
7
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputTimeModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputTimeModule, [typeof i1.TuiInputTimeComponent], [typeof i2.CommonModule, typeof i3.TextMaskModule, typeof i4.TuiDataListModule, typeof i4.TuiHostedDropdownModule, typeof i4.TuiPrimitiveTextfieldModule, typeof i5.TuiValueAccessorModule, typeof i4.TuiTextfieldControllerModule], [typeof i1.TuiInputTimeComponent]>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputTimeModule, [typeof i1.TuiInputTimeComponent], [typeof i2.CommonModule, typeof i3.TextMaskModule, typeof i4.TuiDataListModule, typeof i4.TuiHostedDropdownModule, typeof i4.TuiPrimitiveTextfieldModule, typeof i3.TuiValueAccessorModule, typeof i4.TuiTextfieldControllerModule], [typeof i1.TuiInputTimeComponent]>;
10
9
  static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputTimeModule>;
11
10
  }
@@ -1,7 +1,7 @@
1
1
  import { TuiMultiSelectOptionComponent } from '@taiga-ui/kit/components/multi-select-option';
2
2
  import { PolymorpheusComponent } from '@tinkoff/ng-polymorpheus';
3
3
  import * as i0 from "@angular/core";
4
- export declare const TUI_MULTI_SELECT_OPTION: PolymorpheusComponent<TuiMultiSelectOptionComponent<unknown>, Record<any, any>>;
4
+ export declare const TUI_MULTI_SELECT_OPTION: PolymorpheusComponent<TuiMultiSelectOptionComponent<unknown>, unknown>;
5
5
  export declare class TuiMultiSelectGroupDirective {
6
6
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiMultiSelectGroupDirective, never>;
7
7
  static ɵdir: i0.ɵɵDirectiveDeclaration<TuiMultiSelectGroupDirective, "[tuiMultiSelectGroup]", never, {}, {}, never>;
@@ -7,7 +7,7 @@ import { TuiPdfViewerOptions } from './pdf-viewer-options';
7
7
  import * as i0 from "@angular/core";
8
8
  declare type Content<G> = PolymorpheusContent<TuiBaseDialogContext<G> & TuiPdfViewerOptions<unknown>>;
9
9
  export declare class TuiPdfViewerService extends AbstractTuiDialogService<TuiPdfViewerOptions<unknown>> {
10
- protected readonly component: PolymorpheusComponent<TuiPdfViewerComponent<unknown, unknown>, Record<any, any>>;
10
+ protected readonly component: PolymorpheusComponent<TuiPdfViewerComponent<unknown, unknown>, unknown>;
11
11
  protected readonly defaultOptions: TuiPdfViewerOptions<unknown>;
12
12
  open<G>(content: SafeResourceUrl | Content<G>, options?: Partial<TuiPdfViewerOptions<any>>): Observable<G>;
13
13
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiPdfViewerService, never>;
@@ -5,7 +5,7 @@ import { TuiPushOptions } from './push.options';
5
5
  import { TuiPushAlertComponent } from './push-alert.component';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class TuiPushService extends AbstractTuiDialogService<TuiPushOptions, string> {
8
- protected readonly component: PolymorpheusComponent<TuiPushAlertComponent, Record<any, any>>;
8
+ protected readonly component: PolymorpheusComponent<TuiPushAlertComponent, unknown>;
9
9
  protected readonly defaultOptions: TuiPushOptions;
10
10
  open(content: PolymorpheusContent<TuiBaseDialogContext<string> & TuiPushOptions>, options?: Partial<TuiPushOptions>): Observable<string>;
11
11
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiPushService, never>;
@@ -18,4 +18,4 @@ export declare class TuiSelectOptionComponent<T> implements OnInit {
18
18
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiSelectOptionComponent<any>, never>;
19
19
  static ɵcmp: i0.ɵɵComponentDeclaration<TuiSelectOptionComponent<any>, "tui-select-option", never, {}, {}, never, never>;
20
20
  }
21
- export declare const TUI_SELECT_OPTION: PolymorpheusComponent<TuiSelectOptionComponent<unknown>, Record<any, any>>;
21
+ export declare const TUI_SELECT_OPTION: PolymorpheusComponent<TuiSelectOptionComponent<unknown>, unknown>;
@@ -1,5 +1,5 @@
1
1
  import { PolymorpheusComponent } from '@tinkoff/ng-polymorpheus';
2
2
  import { TuiTreeItemContentComponent } from '../components/tree-item-content/tree-item-content.component';
3
3
  import { TuiTreeController } from './tree.interfaces';
4
- export declare const TUI_TREE_ITEM_CONTENT: PolymorpheusComponent<TuiTreeItemContentComponent, Record<any, any>>;
4
+ export declare const TUI_TREE_ITEM_CONTENT: PolymorpheusComponent<TuiTreeItemContentComponent, unknown>;
5
5
  export declare const TUI_DEFAULT_TREE_CONTROLLER: TuiTreeController;
@@ -1,6 +1,7 @@
1
1
  export * from '@taiga-ui/kit/directives/data-list-dropdown-manager';
2
2
  export * from '@taiga-ui/kit/directives/highlight';
3
3
  export * from '@taiga-ui/kit/directives/lazy-loading';
4
+ export * from '@taiga-ui/kit/directives/mask';
4
5
  export * from '@taiga-ui/kit/directives/present';
5
6
  export * from '@taiga-ui/kit/directives/project-class';
6
7
  export * from '@taiga-ui/kit/directives/unfinished-validator';
@@ -0,0 +1 @@
1
+ export * from './legacy-mask';