@taiga-ui/legacy 4.52.0-canary.a4e325d → 4.52.0-canary.a59c4d0

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 (226) hide show
  1. package/components/combo-box/combo-box.module.d.ts +1 -1
  2. package/components/dialog/dialog.component.d.ts +20 -0
  3. package/components/dialog/dialog.directive.d.ts +7 -0
  4. package/components/dialog/dialog.factory.d.ts +16 -0
  5. package/components/dialog/dialog.interfaces.d.ts +31 -0
  6. package/components/dialog/dialog.service.d.ts +7 -0
  7. package/components/dialog/dialog.tokens.d.ts +8 -0
  8. package/components/dialog/index.d.ts +6 -0
  9. package/components/index.d.ts +2 -15
  10. package/components/input/input.module.d.ts +1 -1
  11. package/components/input-date-range/input-date-range.module.d.ts +1 -1
  12. package/components/input-date-time/input-date-time.module.d.ts +1 -1
  13. package/components/input-month-range/input-month-range.module.d.ts +1 -1
  14. package/components/input-range/input-range.component.d.ts +1 -1
  15. package/components/input-tag/input-tag.module.d.ts +1 -1
  16. package/components/multi-select/multi-select.module.d.ts +1 -1
  17. package/components/pdf-viewer/index.d.ts +4 -0
  18. package/components/pdf-viewer/pdf-viewer.component.d.ts +12 -0
  19. package/components/pdf-viewer/pdf-viewer.directive.d.ts +7 -0
  20. package/components/pdf-viewer/pdf-viewer.options.d.ts +13 -0
  21. package/components/pdf-viewer/pdf-viewer.service.d.ts +13 -0
  22. package/components/select/select.module.d.ts +1 -1
  23. package/fesm2022/taiga-ui-legacy-classes.mjs +21 -21
  24. package/fesm2022/taiga-ui-legacy-classes.mjs.map +1 -1
  25. package/fesm2022/taiga-ui-legacy-components-arrow.mjs +3 -3
  26. package/fesm2022/taiga-ui-legacy-components-arrow.mjs.map +1 -1
  27. package/fesm2022/taiga-ui-legacy-components-combo-box.mjs +23 -25
  28. package/fesm2022/taiga-ui-legacy-components-combo-box.mjs.map +1 -1
  29. package/fesm2022/taiga-ui-legacy-components-dialog.mjs +130 -0
  30. package/fesm2022/taiga-ui-legacy-components-dialog.mjs.map +1 -0
  31. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs +24 -24
  32. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs.map +1 -1
  33. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs +26 -26
  34. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs.map +1 -1
  35. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs +12 -12
  36. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs.map +1 -1
  37. package/fesm2022/taiga-ui-legacy-components-input-number.mjs +21 -21
  38. package/fesm2022/taiga-ui-legacy-components-input-number.mjs.map +1 -1
  39. package/fesm2022/taiga-ui-legacy-components-input-range.mjs +25 -25
  40. package/fesm2022/taiga-ui-legacy-components-input-range.mjs.map +1 -1
  41. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs +18 -19
  42. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs.map +1 -1
  43. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs +22 -22
  44. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs.map +1 -1
  45. package/fesm2022/taiga-ui-legacy-components-input.mjs +14 -15
  46. package/fesm2022/taiga-ui-legacy-components-input.mjs.map +1 -1
  47. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs +7 -7
  48. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs.map +1 -1
  49. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs +47 -47
  50. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs.map +1 -1
  51. package/fesm2022/taiga-ui-legacy-components-pdf-viewer.mjs +83 -0
  52. package/fesm2022/taiga-ui-legacy-components-pdf-viewer.mjs.map +1 -0
  53. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs +28 -28
  54. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs.map +1 -1
  55. package/fesm2022/taiga-ui-legacy-components-select-option.mjs +8 -8
  56. package/fesm2022/taiga-ui-legacy-components-select-option.mjs.map +1 -1
  57. package/fesm2022/taiga-ui-legacy-components-select.mjs +33 -34
  58. package/fesm2022/taiga-ui-legacy-components-select.mjs.map +1 -1
  59. package/fesm2022/taiga-ui-legacy-components-tag.mjs +13 -14
  60. package/fesm2022/taiga-ui-legacy-components-tag.mjs.map +1 -1
  61. package/fesm2022/taiga-ui-legacy-components-textarea.mjs +23 -23
  62. package/fesm2022/taiga-ui-legacy-components-textarea.mjs.map +1 -1
  63. package/fesm2022/taiga-ui-legacy-components-tooltip.mjs +7 -7
  64. package/fesm2022/taiga-ui-legacy-components-tooltip.mjs.map +1 -1
  65. package/fesm2022/taiga-ui-legacy-components.mjs +2 -15
  66. package/fesm2022/taiga-ui-legacy-components.mjs.map +1 -1
  67. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs +3 -3
  68. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs.map +1 -1
  69. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs +34 -34
  70. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs.map +1 -1
  71. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs +3 -3
  72. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs.map +1 -1
  73. package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs +7 -7
  74. package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs.map +1 -1
  75. package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs +7 -7
  76. package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs.map +1 -1
  77. package/fesm2022/taiga-ui-legacy-tokens.mjs.map +1 -1
  78. package/fesm2022/taiga-ui-legacy-utils.mjs.map +1 -1
  79. package/fesm2022/taiga-ui-legacy.mjs +0 -2
  80. package/fesm2022/taiga-ui-legacy.mjs.map +1 -1
  81. package/index.d.ts +0 -2
  82. package/package.json +16 -88
  83. package/utils/icons-path-factory.d.ts +1 -1
  84. package/components/color-selector/color-edit/color-edit.component.d.ts +0 -18
  85. package/components/color-selector/color-edit/color-edit.module.d.ts +0 -21
  86. package/components/color-selector/color-picker/color-picker.component.d.ts +0 -22
  87. package/components/color-selector/color-picker/color-picker.module.d.ts +0 -14
  88. package/components/color-selector/color-selector.component.d.ts +0 -47
  89. package/components/color-selector/color-selector.module.d.ts +0 -24
  90. package/components/color-selector/color-selector.options.d.ts +0 -25
  91. package/components/color-selector/flat-picker/flat-picker.component.d.ts +0 -12
  92. package/components/color-selector/flat-picker/flat-picker.module.d.ts +0 -12
  93. package/components/color-selector/index.d.ts +0 -16
  94. package/components/color-selector/linear-multi-picker/linear-multi-picker.component.d.ts +0 -17
  95. package/components/color-selector/linear-multi-picker/linear-multi-picker.module.d.ts +0 -12
  96. package/components/color-selector/linear-picker/linear-picker.component.d.ts +0 -10
  97. package/components/color-selector/linear-picker/linear-picker.module.d.ts +0 -12
  98. package/components/color-selector/palette/palette.component.d.ts +0 -10
  99. package/components/color-selector/palette/palette.module.d.ts +0 -13
  100. package/components/color-selector/services/picker.service.d.ts +0 -15
  101. package/components/input-color/index.d.ts +0 -2
  102. package/components/input-color/input-color.component.d.ts +0 -30
  103. package/components/input-color/input-color.module.d.ts +0 -17
  104. package/components/input-copy/index.d.ts +0 -4
  105. package/components/input-copy/input-copy.component.d.ts +0 -33
  106. package/components/input-copy/input-copy.directive.d.ts +0 -11
  107. package/components/input-copy/input-copy.module.d.ts +0 -18
  108. package/components/input-copy/input-copy.options.d.ts +0 -26
  109. package/components/input-date/index.d.ts +0 -3
  110. package/components/input-date/input-date.component.d.ts +0 -62
  111. package/components/input-date/input-date.directive.d.ts +0 -19
  112. package/components/input-date/input-date.module.d.ts +0 -24
  113. package/components/input-date/native-date/native-date.component.d.ts +0 -15
  114. package/components/input-date-multi/index.d.ts +0 -2
  115. package/components/input-date-multi/input-date-multi.component.d.ts +0 -66
  116. package/components/input-date-multi/input-date-multi.module.d.ts +0 -20
  117. package/components/input-month/index.d.ts +0 -3
  118. package/components/input-month/input-month.component.d.ts +0 -44
  119. package/components/input-month/input-month.directive.d.ts +0 -19
  120. package/components/input-month/input-month.module.d.ts +0 -19
  121. package/components/input-password/index.d.ts +0 -4
  122. package/components/input-password/input-password.component.d.ts +0 -33
  123. package/components/input-password/input-password.directive.d.ts +0 -15
  124. package/components/input-password/input-password.module.d.ts +0 -19
  125. package/components/input-password/input-password.options.d.ts +0 -25
  126. package/components/input-phone/index.d.ts +0 -4
  127. package/components/input-phone/input-phone.component.d.ts +0 -49
  128. package/components/input-phone/input-phone.directive.d.ts +0 -13
  129. package/components/input-phone/input-phone.module.d.ts +0 -12
  130. package/components/input-phone/input-phone.options.d.ts +0 -13
  131. package/components/input-phone/utils/complete-phone-insertion-preprocessor.d.ts +0 -9
  132. package/components/input-phone/utils/create-phone-mask-expression.d.ts +0 -7
  133. package/components/input-phone/utils/index.d.ts +0 -2
  134. package/components/input-phone-international/index.d.ts +0 -3
  135. package/components/input-phone-international/input-phone-international.component.d.ts +0 -43
  136. package/components/input-phone-international/input-phone-international.options.d.ts +0 -25
  137. package/components/input-phone-international/utils/extract-value-from-event.d.ts +0 -4
  138. package/components/input-time/index.d.ts +0 -4
  139. package/components/input-time/input-time.component.d.ts +0 -62
  140. package/components/input-time/input-time.directive.d.ts +0 -17
  141. package/components/input-time/input-time.module.d.ts +0 -23
  142. package/components/input-time/input-time.options.d.ts +0 -42
  143. package/components/input-time/native-time/native-time.component.d.ts +0 -12
  144. package/components/input-year/index.d.ts +0 -3
  145. package/components/input-year/input-year.component.d.ts +0 -36
  146. package/components/input-year/input-year.directive.d.ts +0 -14
  147. package/components/input-year/input-year.module.d.ts +0 -18
  148. package/components/island/index.d.ts +0 -1
  149. package/components/island/island.directive.d.ts +0 -20
  150. package/components/sheet/components/sheet/sheet.component.d.ts +0 -31
  151. package/components/sheet/components/sheet/sheet.providers.d.ts +0 -2
  152. package/components/sheet/components/sheet-bar/sheet-bar.component.d.ts +0 -11
  153. package/components/sheet/components/sheet-heading/sheet-heading.component.d.ts +0 -14
  154. package/components/sheet/components/sheets-host/sheets-host.component.d.ts +0 -15
  155. package/components/sheet/directives/sheet-close/sheet-close.directive.d.ts +0 -14
  156. package/components/sheet/directives/sheet-stop/sheet-stop.directive.d.ts +0 -9
  157. package/components/sheet/directives/sheet-top/sheet-top.directive.d.ts +0 -14
  158. package/components/sheet/directives/sheet-wrapper/sheet-wrapper.directive.d.ts +0 -17
  159. package/components/sheet/index.d.ts +0 -14
  160. package/components/sheet/sheet-options.d.ts +0 -27
  161. package/components/sheet/sheet-tokens.d.ts +0 -18
  162. package/components/sheet/sheet.d.ts +0 -21
  163. package/components/sheet/sheet.directive.d.ts +0 -17
  164. package/components/sheet/sheet.module.d.ts +0 -24
  165. package/components/sheet/sheet.service.d.ts +0 -17
  166. package/components/svg/content-processor.d.ts +0 -19
  167. package/components/svg/deprecated-icons.d.ts +0 -5
  168. package/components/svg/index.d.ts +0 -5
  169. package/components/svg/svg-options.d.ts +0 -50
  170. package/components/svg/svg.component.d.ts +0 -50
  171. package/components/svg/svg.service.d.ts +0 -21
  172. package/components/table-bar/index.d.ts +0 -4
  173. package/components/table-bar/table-bar.component.d.ts +0 -17
  174. package/components/table-bar/table-bar.directive.d.ts +0 -11
  175. package/components/table-bar/table-bar.options.d.ts +0 -31
  176. package/components/table-bar/table-bars-host.component.d.ts +0 -10
  177. package/components/table-bar/table-bars.service.d.ts +0 -11
  178. package/fesm2022/taiga-ui-legacy-components-color-selector.mjs +0 -730
  179. package/fesm2022/taiga-ui-legacy-components-color-selector.mjs.map +0 -1
  180. package/fesm2022/taiga-ui-legacy-components-input-color.mjs +0 -127
  181. package/fesm2022/taiga-ui-legacy-components-input-color.mjs.map +0 -1
  182. package/fesm2022/taiga-ui-legacy-components-input-copy.mjs +0 -197
  183. package/fesm2022/taiga-ui-legacy-components-input-copy.mjs.map +0 -1
  184. package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs +0 -272
  185. package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs.map +0 -1
  186. package/fesm2022/taiga-ui-legacy-components-input-date.mjs +0 -372
  187. package/fesm2022/taiga-ui-legacy-components-input-date.mjs.map +0 -1
  188. package/fesm2022/taiga-ui-legacy-components-input-month.mjs +0 -231
  189. package/fesm2022/taiga-ui-legacy-components-input-month.mjs.map +0 -1
  190. package/fesm2022/taiga-ui-legacy-components-input-password.mjs +0 -187
  191. package/fesm2022/taiga-ui-legacy-components-input-password.mjs.map +0 -1
  192. package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs +0 -215
  193. package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs.map +0 -1
  194. package/fesm2022/taiga-ui-legacy-components-input-phone.mjs +0 -358
  195. package/fesm2022/taiga-ui-legacy-components-input-phone.mjs.map +0 -1
  196. package/fesm2022/taiga-ui-legacy-components-input-time.mjs +0 -434
  197. package/fesm2022/taiga-ui-legacy-components-input-time.mjs.map +0 -1
  198. package/fesm2022/taiga-ui-legacy-components-input-year.mjs +0 -188
  199. package/fesm2022/taiga-ui-legacy-components-input-year.mjs.map +0 -1
  200. package/fesm2022/taiga-ui-legacy-components-island.mjs +0 -68
  201. package/fesm2022/taiga-ui-legacy-components-island.mjs.map +0 -1
  202. package/fesm2022/taiga-ui-legacy-components-sheet.mjs +0 -577
  203. package/fesm2022/taiga-ui-legacy-components-sheet.mjs.map +0 -1
  204. package/fesm2022/taiga-ui-legacy-components-svg.mjs +0 -387
  205. package/fesm2022/taiga-ui-legacy-components-svg.mjs.map +0 -1
  206. package/fesm2022/taiga-ui-legacy-components-table-bar.mjs +0 -145
  207. package/fesm2022/taiga-ui-legacy-components-table-bar.mjs.map +0 -1
  208. package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs +0 -59
  209. package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs.map +0 -1
  210. package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs +0 -50
  211. package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs.map +0 -1
  212. package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs +0 -80
  213. package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs.map +0 -1
  214. package/fesm2022/taiga-ui-legacy-pipes.mjs +0 -8
  215. package/fesm2022/taiga-ui-legacy-pipes.mjs.map +0 -1
  216. package/fesm2022/taiga-ui-legacy-services.mjs +0 -42
  217. package/fesm2022/taiga-ui-legacy-services.mjs.map +0 -1
  218. package/pipes/format-phone/format-phone.pipe.d.ts +0 -37
  219. package/pipes/format-phone/index.d.ts +0 -1
  220. package/pipes/index.d.ts +0 -3
  221. package/pipes/iso-to-country-code/index.d.ts +0 -1
  222. package/pipes/iso-to-country-code/iso-to-country-code.pipe.d.ts +0 -30
  223. package/pipes/to-country-code/index.d.ts +0 -1
  224. package/pipes/to-country-code/to-country-code.pipe.d.ts +0 -38
  225. package/services/index.d.ts +0 -1
  226. package/services/static-request.service.d.ts +0 -11
@@ -1,18 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./input-copy.component";
3
- import * as i2 from "./input-copy.directive";
4
- import * as i3 from "@angular/common";
5
- import * as i4 from "@taiga-ui/polymorpheus";
6
- import * as i5 from "@taiga-ui/legacy/components/primitive-textfield";
7
- import * as i6 from "@taiga-ui/legacy/directives";
8
- import * as i7 from "@taiga-ui/core/directives/appearance";
9
- import * as i8 from "@taiga-ui/core/components/icon";
10
- import * as i9 from "@taiga-ui/core/directives/hint";
11
- /**
12
- * @deprecated use {@link TuiCopy} with {@link TuiTextfield}
13
- */
14
- export declare class TuiInputCopyModule {
15
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputCopyModule, never>;
16
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputCopyModule, [typeof i1.TuiInputCopyComponent, typeof i2.TuiInputCopyDirective], [typeof i3.CommonModule, typeof i4.PolymorpheusOutlet, typeof i4.PolymorpheusTemplate, typeof i5.TuiPrimitiveTextfieldModule, typeof i6.TuiTextfieldControllerModule, typeof i7.TuiAppearance, typeof i8.TuiIcon, typeof i9.TuiHintComponent, typeof i9.TuiHintDirective, typeof i9.TuiHintOptionsDirective, typeof i9.TuiHintUnstyled, typeof i9.TuiHintDriver, typeof i9.TuiHintPosition, typeof i9.TuiHintHover, typeof i9.TuiHintOverflow, typeof i9.TuiHintDescribe, typeof i9.TuiHintHost, typeof i9.TuiHintManual, typeof i9.TuiHintPointer], [typeof i1.TuiInputCopyComponent, typeof i2.TuiInputCopyDirective, typeof i5.TuiTextfieldComponent, typeof i9.TuiHintComponent, typeof i9.TuiHintDirective, typeof i9.TuiHintOptionsDirective, typeof i9.TuiHintUnstyled, typeof i9.TuiHintDriver, typeof i9.TuiHintPosition, typeof i9.TuiHintHover, typeof i9.TuiHintOverflow, typeof i9.TuiHintDescribe, typeof i9.TuiHintHost, typeof i9.TuiHintManual, typeof i9.TuiHintPointer]>;
17
- static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputCopyModule>;
18
- }
@@ -1,26 +0,0 @@
1
- import { InjectionToken, type Provider } from '@angular/core';
2
- import { type TuiContext } from '@taiga-ui/cdk/types';
3
- import { type TuiHintDirection } from '@taiga-ui/core/directives/hint';
4
- import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
5
- import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
6
- /**
7
- * @deprecated use {@link TuiCopy} with {@link TuiTextfield}
8
- */
9
- export interface TuiInputCopyOptions {
10
- readonly icon: PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;
11
- readonly messageAppearance: string;
12
- readonly messageDirection: TuiHintDirection;
13
- readonly successMessage: PolymorpheusContent;
14
- }
15
- /**
16
- * @deprecated use {@link TuiCopy} with {@link TuiTextfield}
17
- */
18
- export declare const TUI_INPUT_COPY_DEFAULT_OPTIONS: TuiInputCopyOptions;
19
- /**
20
- * @deprecated use {@link TuiCopy} with {@link TuiTextfield}
21
- */
22
- export declare const TUI_INPUT_COPY_OPTIONS: InjectionToken<TuiInputCopyOptions>;
23
- /**
24
- * @deprecated use {@link TuiCopy} with {@link TuiTextfield}
25
- */
26
- export declare function tuiInputCopyOptionsProvider(options: Partial<TuiInputCopyOptions>): Provider;
@@ -1,3 +0,0 @@
1
- export * from './input-date.component';
2
- export * from './input-date.directive';
3
- export * from './input-date.module';
@@ -1,62 +0,0 @@
1
- import { type MaskitoOptions } from '@maskito/core';
2
- import { type TuiDateMode, TuiDay, TuiMonth } from '@taiga-ui/cdk/date-time';
3
- import { type TuiActiveZone } from '@taiga-ui/cdk/directives/active-zone';
4
- import { type TuiBooleanHandler, type TuiContext } from '@taiga-ui/cdk/types';
5
- import { type TuiMarkerHandler } from '@taiga-ui/core/components/calendar';
6
- import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
7
- import { type TuiInputDateOptions } from '@taiga-ui/kit/tokens';
8
- import { AbstractTuiNullableControl, type TuiNamedDay } from '@taiga-ui/legacy/classes';
9
- import { type TuiFocusableElementAccessor } from '@taiga-ui/legacy/tokens';
10
- import { type Observable } from 'rxjs';
11
- import * as i0 from "@angular/core";
12
- /**
13
- * TODO(v5): delete it
14
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-date TuiInputDate} (from @taiga-ui/kit) instead
15
- */
16
- export declare class TuiInputDateComponent extends AbstractTuiNullableControl<TuiDay> implements TuiFocusableElementAccessor {
17
- private readonly textfield?;
18
- private readonly options;
19
- private readonly textfieldSize;
20
- private readonly mobileCalendar;
21
- private month;
22
- private readonly nativeValue;
23
- min: TuiDay | null;
24
- max: TuiDay | null;
25
- disabledItemHandler: TuiBooleanHandler<TuiDay>;
26
- markerHandler: TuiMarkerHandler | null;
27
- items: readonly TuiNamedDay[];
28
- defaultActiveYearMonth: TuiMonth;
29
- dateFormat: import("@taiga-ui/core/tokens").TuiDateFormatSettings;
30
- protected open: boolean;
31
- protected readonly dateTexts$: Observable<Record<TuiDateMode, string>>;
32
- protected readonly valueTransformer: import("@taiga-ui/cdk/classes").TuiValueTransformer<TuiDay | null, unknown> | null;
33
- protected readonly isMobile: boolean;
34
- protected readonly type: TuiContext<TuiActiveZone>;
35
- protected readonly filler$: Observable<string>;
36
- protected readonly dateFormat$: import("rxjs").Subscription;
37
- get computedMin(): TuiDay;
38
- get computedMax(): TuiDay;
39
- get nativeFocusableElement(): HTMLInputElement | null;
40
- get focused(): boolean;
41
- get computedValue(): string;
42
- onValueChange(value: string): void;
43
- setDisabledState(): void;
44
- writeValue(value: TuiDay | null): void;
45
- protected get size(): TuiSizeL | TuiSizeS;
46
- protected get nativePicker(): boolean;
47
- protected get calendarIcon(): TuiInputDateOptions['icon'];
48
- protected get computedActiveYearMonth(): TuiMonth;
49
- protected get computedMask(): MaskitoOptions;
50
- protected get activeItem(): TuiNamedDay | null;
51
- protected onClick(): void;
52
- protected getComputedFiller(filler: string): string;
53
- protected onIconClick(): void;
54
- protected onDayClick(value: TuiDay): void;
55
- protected onMonthChange(month: TuiMonth): void;
56
- protected onOpenChange(open: boolean): void;
57
- protected onFocused(focused: boolean): void;
58
- protected valueIdenticalComparator(oldValue: TuiDay | null, newValue: TuiDay | null): boolean;
59
- private computeMaskOptions;
60
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputDateComponent, never>;
61
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputDateComponent, "tui-input-date:not([multiple])", never, { "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "disabledItemHandler": { "alias": "disabledItemHandler"; "required": false; }; "markerHandler": { "alias": "markerHandler"; "required": false; }; "items": { "alias": "items"; "required": false; }; "defaultActiveYearMonth": { "alias": "defaultActiveYearMonth"; "required": false; }; }, {}, never, ["*", "input"], false, never>;
62
- }
@@ -1,19 +0,0 @@
1
- import { type TuiDay } from '@taiga-ui/cdk/date-time';
2
- import { type TuiDateFormatSettings } from '@taiga-ui/core/tokens';
3
- import { AbstractTuiTextfieldHost } from '@taiga-ui/legacy/classes';
4
- import { type TuiInputDateComponent } from './input-date.component';
5
- import * as i0 from "@angular/core";
6
- /**
7
- * TODO(v5): delete it
8
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-date TuiInputDate} (from @taiga-ui/kit) instead
9
- */
10
- export declare class TuiInputDateDirective extends AbstractTuiTextfieldHost<TuiInputDateComponent> {
11
- get value(): string;
12
- get max(): TuiDay;
13
- get min(): TuiDay;
14
- get format(): TuiDateFormatSettings;
15
- onValueChange(value: string): void;
16
- process(input: HTMLInputElement): void;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputDateDirective, never>;
18
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiInputDateDirective, "tui-input-date:not([multiple])", never, {}, {}, never, never, false, never>;
19
- }
@@ -1,24 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./input-date.component";
3
- import * as i2 from "./input-date.directive";
4
- import * as i3 from "./native-date/native-date.component";
5
- import * as i4 from "@angular/common";
6
- import * as i5 from "@maskito/angular";
7
- import * as i6 from "@taiga-ui/polymorpheus";
8
- import * as i7 from "@taiga-ui/core/components/calendar";
9
- import * as i8 from "@taiga-ui/core/components/link";
10
- import * as i9 from "@taiga-ui/legacy/components/primitive-textfield";
11
- import * as i10 from "@taiga-ui/legacy/directives";
12
- import * as i11 from "@taiga-ui/cdk/directives/let";
13
- import * as i12 from "@taiga-ui/core/directives/appearance";
14
- import * as i13 from "@taiga-ui/core/components/icon";
15
- import * as i14 from "@taiga-ui/core/directives/dropdown";
16
- /**
17
- * TODO(v5): delete it
18
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-date TuiInputDate} (from @taiga-ui/kit) instead
19
- */
20
- export declare class TuiInputDateModule {
21
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputDateModule, never>;
22
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputDateModule, [typeof i1.TuiInputDateComponent, typeof i2.TuiInputDateDirective, typeof i3.TuiNativeDateDirective], [typeof i4.CommonModule, typeof i5.MaskitoDirective, typeof i6.PolymorpheusOutlet, typeof i6.PolymorpheusTemplate, typeof i7.TuiCalendar, typeof i8.TuiLink, typeof i9.TuiPrimitiveTextfieldModule, typeof i10.TuiValueAccessorModule, typeof i11.TuiLet, typeof i10.TuiTextfieldControllerModule, typeof i10.TuiLegacyDropdownOpenMonitorDirective, typeof i12.TuiAppearance, typeof i13.TuiIcon, typeof i14.TuiDropdownOptionsDirective, typeof i14.TuiDropdownDriverDirective, typeof i14.TuiDropdownDirective, typeof i14.TuiDropdownComponent, typeof i14.TuiDropdownOpen, typeof i14.TuiDropdownOpenLegacy, typeof i14.TuiDropdownPortal, typeof i14.TuiDropdownManual, typeof i14.TuiDropdownHover, typeof i14.TuiDropdownContext, typeof i14.TuiDropdownPosition, typeof i14.TuiDropdownPositionSided, typeof i14.TuiDropdownSelection], [typeof i1.TuiInputDateComponent, typeof i2.TuiInputDateDirective, typeof i9.TuiTextfieldComponent, typeof i14.TuiDropdownOptionsDirective, typeof i14.TuiDropdownDriverDirective, typeof i14.TuiDropdownDirective, typeof i14.TuiDropdownComponent, typeof i14.TuiDropdownOpen, typeof i14.TuiDropdownOpenLegacy, typeof i14.TuiDropdownPortal, typeof i14.TuiDropdownManual, typeof i14.TuiDropdownHover, typeof i14.TuiDropdownContext, typeof i14.TuiDropdownPosition, typeof i14.TuiDropdownPositionSided, typeof i14.TuiDropdownSelection]>;
23
- static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputDateModule>;
24
- }
@@ -1,15 +0,0 @@
1
- import { TuiInputDateDirective } from '../input-date.directive';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * TODO(v5): delete it
5
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-date#mobile TuiInputDate} (from @taiga-ui/kit) instead
6
- */
7
- export declare class TuiNativeDateDirective {
8
- protected readonly host: TuiInputDateDirective;
9
- protected get value(): string;
10
- protected get max(): string;
11
- protected get min(): string;
12
- protected onChange(value: string): void;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiNativeDateDirective, never>;
14
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiNativeDateDirective, "input[tuiDate]", never, {}, {}, never, never, false, never>;
15
- }
@@ -1,2 +0,0 @@
1
- export * from './input-date-multi.component';
2
- export * from './input-date-multi.module';
@@ -1,66 +0,0 @@
1
- import { type MaskitoOptions } from '@maskito/core';
2
- import { type TuiValueTransformer } from '@taiga-ui/cdk/classes';
3
- import { TuiDay, TuiMonth } from '@taiga-ui/cdk/date-time';
4
- import { type TuiBooleanHandler, type TuiMapper } from '@taiga-ui/cdk/types';
5
- import { type TuiMarkerHandler } from '@taiga-ui/core/components/calendar';
6
- import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
7
- import { type TuiInputDateOptions } from '@taiga-ui/kit/tokens';
8
- import { AbstractTuiMultipleControl, TuiStringifiableItem } from '@taiga-ui/legacy/classes';
9
- import { type TuiFocusableElementAccessor } from '@taiga-ui/legacy/tokens';
10
- import { type Observable } from 'rxjs';
11
- import * as i0 from "@angular/core";
12
- export declare class TuiInputDateMultiComponent extends AbstractTuiMultipleControl<TuiDay> implements TuiFocusableElementAccessor {
13
- private readonly textfield?;
14
- private readonly inputTag?;
15
- private month;
16
- private readonly mobileCalendar;
17
- private readonly options;
18
- private readonly textfieldSize;
19
- protected readonly dateTexts$: Observable<Record<import("@taiga-ui/cdk/date-time").TuiDateMode, string>>;
20
- protected readonly valueTransformer: TuiValueTransformer<readonly TuiDay[], unknown> | null;
21
- protected open: boolean;
22
- protected dateFormat: import("@taiga-ui/core/tokens").TuiDateFormatSettings;
23
- protected readonly isMobile: boolean;
24
- protected readonly doneWord$: Observable<string>;
25
- protected readonly filler$: Observable<string>;
26
- protected readonly dateFormat$: import("rxjs").Subscription;
27
- min: TuiDay | null;
28
- max: TuiDay | null;
29
- disabledItemHandler: TuiBooleanHandler<TuiDay>;
30
- markerHandler: TuiMarkerHandler | null;
31
- defaultActiveYearMonth: TuiMonth;
32
- inputHidden: boolean;
33
- editable: boolean;
34
- search: string | null;
35
- placeholder: string;
36
- rows: number;
37
- readonly maskitoOptions: MaskitoOptions;
38
- get nativeFocusableElement(): HTMLInputElement | null;
39
- get focused(): boolean;
40
- tagValidator: TuiBooleanHandler<string>;
41
- setDisabledState(): void;
42
- protected get size(): TuiSizeL | TuiSizeS;
43
- protected get nativeDropdownMode(): boolean;
44
- protected get computedMin(): TuiDay;
45
- protected get computedMax(): TuiDay;
46
- protected get computedMobile(): boolean;
47
- protected get calendarIcon(): TuiInputDateOptions['icon'];
48
- protected get computedActiveYearMonth(): TuiMonth;
49
- protected onClick(): void;
50
- protected onIconClick(): void;
51
- protected readonly disabledItemHandlerWrapper: TuiMapper<[
52
- TuiBooleanHandler<string> | TuiBooleanHandler<TuiDay>
53
- ], TuiBooleanHandler<TuiStringifiableItem<any> | string>>;
54
- protected readonly valueMapper: TuiMapper<[
55
- readonly TuiDay[]
56
- ], ReadonlyArray<TuiStringifiableItem<TuiDay>>>;
57
- protected onEnter(search: string): void;
58
- protected onValueChange(value: ReadonlyArray<TuiStringifiableItem<TuiDay>>): void;
59
- protected onDayClick(value: TuiDay): void;
60
- protected done(): void;
61
- protected onMonthChange(month: TuiMonth): void;
62
- protected onOpenChange(open: boolean): void;
63
- protected onFocused(focused: boolean): void;
64
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputDateMultiComponent, never>;
65
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputDateMultiComponent, "tui-input-date[multiple]", never, { "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "disabledItemHandler": { "alias": "disabledItemHandler"; "required": false; }; "markerHandler": { "alias": "markerHandler"; "required": false; }; "defaultActiveYearMonth": { "alias": "defaultActiveYearMonth"; "required": false; }; "inputHidden": { "alias": "inputHidden"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "search": { "alias": "search"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "tagValidator": { "alias": "tagValidator"; "required": false; }; }, {}, never, ["*", "input"], false, never>;
66
- }
@@ -1,20 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./input-date-multi.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@maskito/angular";
5
- import * as i4 from "@taiga-ui/polymorpheus";
6
- import * as i5 from "@taiga-ui/core/components/calendar";
7
- import * as i6 from "@taiga-ui/core/components/link";
8
- import * as i7 from "@taiga-ui/legacy/components/input-tag";
9
- import * as i8 from "@angular/forms";
10
- import * as i9 from "@taiga-ui/cdk/pipes/mapper";
11
- import * as i10 from "@taiga-ui/legacy/directives";
12
- import * as i11 from "@taiga-ui/legacy/components/primitive-textfield";
13
- import * as i12 from "@taiga-ui/core/components/icon";
14
- import * as i13 from "@taiga-ui/core/directives/appearance";
15
- import * as i14 from "@taiga-ui/core/directives/dropdown";
16
- export declare class TuiInputDateMultiModule {
17
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputDateMultiModule, never>;
18
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputDateMultiModule, [typeof i1.TuiInputDateMultiComponent], [typeof i2.CommonModule, typeof i3.MaskitoDirective, typeof i4.PolymorpheusOutlet, typeof i4.PolymorpheusTemplate, typeof i5.TuiCalendar, typeof i6.TuiLink, typeof i7.TuiInputTagModule, typeof i8.FormsModule, typeof i9.TuiMapperPipe, typeof i10.TuiTextfieldControllerModule, typeof i11.TuiPrimitiveTextfieldModule, typeof i10.TuiLegacyDropdownOpenMonitorDirective, typeof i12.TuiIcon, typeof i13.TuiAppearance, typeof i14.TuiDropdownOptionsDirective, typeof i14.TuiDropdownDriverDirective, typeof i14.TuiDropdownDirective, typeof i14.TuiDropdownComponent, typeof i14.TuiDropdownOpen, typeof i14.TuiDropdownOpenLegacy, typeof i14.TuiDropdownPortal, typeof i14.TuiDropdownManual, typeof i14.TuiDropdownHover, typeof i14.TuiDropdownContext, typeof i14.TuiDropdownPosition, typeof i14.TuiDropdownPositionSided, typeof i14.TuiDropdownSelection], [typeof i1.TuiInputDateMultiComponent, typeof i14.TuiDropdownOptionsDirective, typeof i14.TuiDropdownDriverDirective, typeof i14.TuiDropdownDirective, typeof i14.TuiDropdownComponent, typeof i14.TuiDropdownOpen, typeof i14.TuiDropdownOpenLegacy, typeof i14.TuiDropdownPortal, typeof i14.TuiDropdownManual, typeof i14.TuiDropdownHover, typeof i14.TuiDropdownContext, typeof i14.TuiDropdownPosition, typeof i14.TuiDropdownPositionSided, typeof i14.TuiDropdownSelection]>;
19
- static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputDateMultiModule>;
20
- }
@@ -1,3 +0,0 @@
1
- export * from './input-month.component';
2
- export * from './input-month.directive';
3
- export * from './input-month.module';
@@ -1,44 +0,0 @@
1
- import { TuiMonth, type TuiYear } from '@taiga-ui/cdk/date-time';
2
- import { type TuiBooleanHandler } from '@taiga-ui/cdk/types';
3
- import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
4
- import { type TuiInputDateOptions } from '@taiga-ui/kit/tokens';
5
- import { AbstractTuiNullableControl } from '@taiga-ui/legacy/classes';
6
- import { type TuiFocusableElementAccessor } from '@taiga-ui/legacy/tokens';
7
- import * as i0 from "@angular/core";
8
- /**
9
- * TODO(v5): delete it
10
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-month TuiInputMonth} (from @taiga-ui/kit) instead
11
- */
12
- export declare class TuiInputMonthComponent extends AbstractTuiNullableControl<TuiMonth> implements TuiFocusableElementAccessor {
13
- private readonly textfield?;
14
- private readonly isMobile;
15
- private readonly options;
16
- private readonly textfieldSize;
17
- protected readonly formatter: import("@taiga-ui/cdk/types").TuiHandler<TuiMonth | null, import("rxjs").Observable<string>>;
18
- protected activeYear?: TuiYear;
19
- min: TuiMonth | null;
20
- max: TuiMonth | null;
21
- disabledItemHandler: TuiBooleanHandler<TuiMonth>;
22
- defaultActiveYear: TuiYear;
23
- open: boolean;
24
- get nativeFocusableElement(): HTMLInputElement | null;
25
- get focused(): boolean;
26
- onValueChange(value: string): void;
27
- onMonthClick(month: TuiMonth): void;
28
- setDisabledState(): void;
29
- protected get size(): TuiSizeL | TuiSizeS;
30
- protected get computedMin(): TuiMonth;
31
- protected get computedMax(): TuiMonth;
32
- protected get computedDefaultActiveYear(): TuiYear;
33
- protected get calendarIcon(): TuiInputDateOptions['icon'];
34
- protected get nativePicker(): boolean;
35
- protected get nativePickerMin(): string;
36
- protected get nativePickerMax(): string;
37
- protected get nativeValue(): string;
38
- protected onNativeChange(value: string): void;
39
- protected onFocused(focused: boolean): void;
40
- protected onOpenChange(open: boolean): void;
41
- private close;
42
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputMonthComponent, never>;
43
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputMonthComponent, "tui-input-month", never, { "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "disabledItemHandler": { "alias": "disabledItemHandler"; "required": false; }; "defaultActiveYear": { "alias": "defaultActiveYear"; "required": false; }; }, {}, never, ["*", "input"], false, never>;
44
- }
@@ -1,19 +0,0 @@
1
- import { type DoCheck } from '@angular/core';
2
- import { AbstractTuiTextfieldHost } from '@taiga-ui/legacy/classes';
3
- import { type TuiInputMonthComponent } from './input-month.component';
4
- import * as i0 from "@angular/core";
5
- /**
6
- * TODO(v5): delete it
7
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-month TuiInputMonth} (from @taiga-ui/kit) instead
8
- */
9
- export declare class TuiInputMonthDirective extends AbstractTuiTextfieldHost<TuiInputMonthComponent> implements DoCheck {
10
- private readonly value$;
11
- private localizedValue;
12
- protected readonly $: import("rxjs").Subscription;
13
- get readOnly(): boolean;
14
- get value(): string;
15
- ngDoCheck(): void;
16
- onValueChange(value: string): void;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputMonthDirective, never>;
18
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiInputMonthDirective, "tui-input-month", never, {}, {}, never, never, false, never>;
19
- }
@@ -1,19 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./input-month.component";
3
- import * as i2 from "./input-month.directive";
4
- import * as i3 from "@angular/common";
5
- import * as i4 from "@taiga-ui/kit/components/calendar-month";
6
- import * as i5 from "@taiga-ui/legacy/components/primitive-textfield";
7
- import * as i6 from "@taiga-ui/cdk/pipes/mapper";
8
- import * as i7 from "@taiga-ui/legacy/directives";
9
- import * as i8 from "@angular/forms";
10
- import * as i9 from "@taiga-ui/core/directives/dropdown";
11
- /**
12
- * TODO(v5): delete it
13
- * @deprecated use new version of {@link https://taiga-ui.dev/components/input-month TuiInputMonth} (from @taiga-ui/kit) instead
14
- */
15
- export declare class TuiInputMonthModule {
16
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputMonthModule, never>;
17
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputMonthModule, [typeof i1.TuiInputMonthComponent, typeof i2.TuiInputMonthDirective], [typeof i3.CommonModule, typeof i4.TuiCalendarMonth, typeof i5.TuiPrimitiveTextfieldModule, typeof i6.TuiMapperPipe, typeof i7.TuiTextfieldControllerModule, typeof i8.FormsModule, typeof i7.TuiLegacyDropdownOpenMonitorDirective, typeof i9.TuiDropdownOptionsDirective, typeof i9.TuiDropdownDriverDirective, typeof i9.TuiDropdownDirective, typeof i9.TuiDropdownComponent, typeof i9.TuiDropdownOpen, typeof i9.TuiDropdownOpenLegacy, typeof i9.TuiDropdownPortal, typeof i9.TuiDropdownManual, typeof i9.TuiDropdownHover, typeof i9.TuiDropdownContext, typeof i9.TuiDropdownPosition, typeof i9.TuiDropdownPositionSided, typeof i9.TuiDropdownSelection], [typeof i1.TuiInputMonthComponent, typeof i2.TuiInputMonthDirective, typeof i5.TuiTextfieldComponent, typeof i9.TuiDropdownOptionsDirective, typeof i9.TuiDropdownDriverDirective, typeof i9.TuiDropdownDirective, typeof i9.TuiDropdownComponent, typeof i9.TuiDropdownOpen, typeof i9.TuiDropdownOpenLegacy, typeof i9.TuiDropdownPortal, typeof i9.TuiDropdownManual, typeof i9.TuiDropdownHover, typeof i9.TuiDropdownContext, typeof i9.TuiDropdownPosition, typeof i9.TuiDropdownPositionSided, typeof i9.TuiDropdownSelection]>;
18
- static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputMonthModule>;
19
- }
@@ -1,4 +0,0 @@
1
- export * from './input-password.component';
2
- export * from './input-password.directive';
3
- export * from './input-password.module';
4
- export * from './input-password.options';
@@ -1,33 +0,0 @@
1
- import { type TuiContext } from '@taiga-ui/cdk/types';
2
- import { TuiHintOptionsDirective } from '@taiga-ui/core/directives/hint';
3
- import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
4
- import { AbstractTuiControl } from '@taiga-ui/legacy/classes';
5
- import { type TuiFocusableElementAccessor, type TuiNativeFocusableElement } from '@taiga-ui/legacy/tokens';
6
- import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
7
- import { type Observable } from 'rxjs';
8
- import * as i0 from "@angular/core";
9
- /**
10
- * @deprecated use {@link TuiPassword} with {@link TuiTextfield}
11
- */
12
- export declare class TuiInputPasswordComponent extends AbstractTuiControl<string> implements TuiFocusableElementAccessor {
13
- private readonly textfield?;
14
- private readonly textfieldSize;
15
- protected readonly hintOptions: TuiHintOptionsDirective | null;
16
- protected readonly directive$: Observable<any>;
17
- protected isPasswordHidden: boolean;
18
- protected readonly computedAppearance$: Observable<string>;
19
- protected readonly passwordTexts$: Observable<readonly [show_password: string, hide_password: string]>;
20
- protected readonly options: import("./input-password.options").TuiInputPasswordOptions;
21
- protected readonly type: TuiContext<TuiSizeL | TuiSizeS>;
22
- get nativeFocusableElement(): TuiNativeFocusableElement | null;
23
- get focused(): boolean;
24
- get inputType(): string;
25
- onValueChange(textValue: string): void;
26
- protected get size(): TuiSizeL | TuiSizeS;
27
- protected get icon(): PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;
28
- protected onFocused(focused: boolean): void;
29
- protected togglePasswordVisibility(): void;
30
- protected getFallbackValue(): string;
31
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputPasswordComponent, never>;
32
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputPasswordComponent, "tui-input-password", never, {}, {}, never, ["*", "input"], false, never>;
33
- }
@@ -1,15 +0,0 @@
1
- import { type DoCheck } from '@angular/core';
2
- import { AbstractTuiTextfieldHost } from '@taiga-ui/legacy/classes';
3
- import { type TuiInputPasswordComponent } from './input-password.component';
4
- import * as i0 from "@angular/core";
5
- /**
6
- * @deprecated use {@link TuiPassword} with {@link TuiTextfield}
7
- */
8
- export declare class TuiInputPasswordDirective extends AbstractTuiTextfieldHost<TuiInputPasswordComponent> implements DoCheck {
9
- protected input?: HTMLInputElement;
10
- onValueChange(value: string): void;
11
- process(input: HTMLInputElement): void;
12
- ngDoCheck(): void;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputPasswordDirective, never>;
14
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiInputPasswordDirective, "tui-input-password", never, {}, {}, never, never, false, never>;
15
- }
@@ -1,19 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./input-password.component";
3
- import * as i2 from "./input-password.directive";
4
- import * as i3 from "@taiga-ui/core/directives/hint";
5
- import * as i4 from "@angular/common";
6
- import * as i5 from "@angular/forms";
7
- import * as i6 from "@taiga-ui/polymorpheus";
8
- import * as i7 from "@taiga-ui/legacy/components/primitive-textfield";
9
- import * as i8 from "@taiga-ui/legacy/directives";
10
- import * as i9 from "@taiga-ui/core/directives/appearance";
11
- import * as i10 from "@taiga-ui/core/components/icon";
12
- /**
13
- * @deprecated use {@link TuiPassword} with {@link TuiTextfield}
14
- */
15
- export declare class TuiInputPasswordModule {
16
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputPasswordModule, never>;
17
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputPasswordModule, [typeof i1.TuiInputPasswordComponent, typeof i2.TuiInputPasswordDirective], [typeof i3.TuiHintComponent, typeof i3.TuiHintDirective, typeof i3.TuiHintOptionsDirective, typeof i3.TuiHintUnstyled, typeof i3.TuiHintDriver, typeof i3.TuiHintPosition, typeof i3.TuiHintHover, typeof i3.TuiHintOverflow, typeof i3.TuiHintDescribe, typeof i3.TuiHintHost, typeof i3.TuiHintManual, typeof i3.TuiHintPointer, typeof i4.CommonModule, typeof i5.FormsModule, typeof i6.PolymorpheusOutlet, typeof i6.PolymorpheusTemplate, typeof i7.TuiPrimitiveTextfieldModule, typeof i8.TuiTextfieldControllerModule, typeof i9.TuiAppearance, typeof i10.TuiIcon], [typeof i1.TuiInputPasswordComponent, typeof i2.TuiInputPasswordDirective, typeof i7.TuiTextfieldComponent, typeof i3.TuiHintComponent, typeof i3.TuiHintDirective, typeof i3.TuiHintOptionsDirective, typeof i3.TuiHintUnstyled, typeof i3.TuiHintDriver, typeof i3.TuiHintPosition, typeof i3.TuiHintHover, typeof i3.TuiHintOverflow, typeof i3.TuiHintDescribe, typeof i3.TuiHintHost, typeof i3.TuiHintManual, typeof i3.TuiHintPointer]>;
18
- static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputPasswordModule>;
19
- }
@@ -1,25 +0,0 @@
1
- import { InjectionToken, type Provider } from '@angular/core';
2
- import { type TuiContext } from '@taiga-ui/cdk/types';
3
- import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
4
- import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
5
- /**
6
- * @deprecated use {@link TuiPassword} with {@link TuiTextfield}
7
- */
8
- export interface TuiInputPasswordOptions {
9
- readonly icons: Readonly<{
10
- hide: PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;
11
- show: PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;
12
- }>;
13
- }
14
- /**
15
- * @deprecated use {@link TuiPassword} with {@link TuiTextfield}
16
- */
17
- export declare const TUI_INPUT_PASSWORD_DEFAULT_OPTIONS: TuiInputPasswordOptions;
18
- /**
19
- * @deprecated use {@link TuiPassword} with {@link TuiTextfield}
20
- */
21
- export declare const TUI_INPUT_PASSWORD_OPTIONS: InjectionToken<TuiInputPasswordOptions>;
22
- /**
23
- * @deprecated use {@link TuiPassword} with {@link TuiTextfield}
24
- */
25
- export declare function tuiInputPasswordOptionsProvider(options: Partial<TuiInputPasswordOptions>): Provider;
@@ -1,4 +0,0 @@
1
- export * from './input-phone.component';
2
- export * from './input-phone.directive';
3
- export * from './input-phone.module';
4
- export * from './input-phone.options';
@@ -1,49 +0,0 @@
1
- import { EventEmitter, TemplateRef } from '@angular/core';
2
- import { type MaskitoOptions } from '@maskito/core';
3
- import { type TuiActiveZone } from '@taiga-ui/cdk/directives/active-zone';
4
- import { type TuiContext } from '@taiga-ui/cdk/types';
5
- import { type TuiDataListHost } from '@taiga-ui/core/components/data-list';
6
- import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
7
- import { AbstractTuiControl } from '@taiga-ui/legacy/classes';
8
- import { type TuiFocusableElementAccessor } from '@taiga-ui/legacy/tokens';
9
- import * as i0 from "@angular/core";
10
- import * as i1 from "@taiga-ui/core/directives/dropdown";
11
- export declare class TuiInputPhoneComponent extends AbstractTuiControl<string> implements TuiFocusableElementAccessor, TuiDataListHost<string> {
12
- private readonly dropdown?;
13
- private readonly textfield?;
14
- private readonly textfieldCleaner;
15
- private readonly options;
16
- private readonly textfieldSize;
17
- protected readonly datalist?: TemplateRef<TuiContext<TuiActiveZone>>;
18
- protected open: boolean;
19
- phoneMaskAfterCountryCode: string;
20
- allowText: boolean;
21
- search: string;
22
- readonly searchChange: EventEmitter<string>;
23
- countryCode: string;
24
- set countryCodeSetter(newCountryCode: string);
25
- get size(): TuiSizeL | TuiSizeS;
26
- get nativeFocusableElement(): HTMLInputElement | null;
27
- get focused(): boolean;
28
- get nativeValue(): string;
29
- set nativeValue(value: string);
30
- get inputMode(): string;
31
- onValueChange(value: string): void;
32
- handleOption(item: string): void;
33
- setDisabledState(): void;
34
- writeValue(value: string | null): void;
35
- protected get canOpen(): boolean;
36
- protected get canClean(): boolean;
37
- protected get maskOptions(): MaskitoOptions;
38
- protected onActiveZone(active: boolean): void;
39
- protected getFallbackValue(): string;
40
- private get nonRemovablePrefix();
41
- private get maxPhoneLength();
42
- private get isTextValue();
43
- private calculateMask;
44
- private focusInput;
45
- private updateSearch;
46
- private updateValueWithNewCountryCode;
47
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputPhoneComponent, never>;
48
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiInputPhoneComponent, "tui-input-phone", never, { "phoneMaskAfterCountryCode": { "alias": "phoneMaskAfterCountryCode"; "required": false; }; "allowText": { "alias": "allowText"; "required": false; }; "search": { "alias": "search"; "required": false; }; "countryCodeSetter": { "alias": "countryCode"; "required": false; }; }, { "searchChange": "searchChange"; }, ["datalist"], ["*", "input"], false, [{ directive: typeof i1.TuiDropdownFixed; inputs: {}; outputs: {}; }]>;
49
- }
@@ -1,13 +0,0 @@
1
- import { type DoCheck } from '@angular/core';
2
- import { AbstractTuiTextfieldHost } from '@taiga-ui/legacy/classes';
3
- import { type TuiInputPhoneComponent } from './input-phone.component';
4
- import * as i0 from "@angular/core";
5
- export declare class TuiInputPhoneDirective extends AbstractTuiTextfieldHost<TuiInputPhoneComponent> implements DoCheck {
6
- protected input?: HTMLInputElement;
7
- get value(): string;
8
- onValueChange(value: string): void;
9
- process(input: HTMLInputElement): void;
10
- ngDoCheck(): void;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputPhoneDirective, never>;
12
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiInputPhoneDirective, "tui-input-phone", never, {}, {}, never, never, false, never>;
13
- }
@@ -1,12 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./input-phone.component";
3
- import * as i2 from "./input-phone.directive";
4
- import * as i3 from "@maskito/angular";
5
- import * as i4 from "@taiga-ui/legacy/components/primitive-textfield";
6
- import * as i5 from "@taiga-ui/legacy/directives";
7
- import * as i6 from "@taiga-ui/core/directives/dropdown";
8
- export declare class TuiInputPhoneModule {
9
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiInputPhoneModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiInputPhoneModule, [typeof i1.TuiInputPhoneComponent, typeof i2.TuiInputPhoneDirective], [typeof i3.MaskitoDirective, typeof i4.TuiPrimitiveTextfieldModule, typeof i5.TuiTextfieldControllerModule, typeof i5.TuiValueAccessorModule, typeof i5.TuiLegacyDropdownOpenMonitorDirective, typeof i6.TuiDropdownOptionsDirective, typeof i6.TuiDropdownDriverDirective, typeof i6.TuiDropdownDirective, typeof i6.TuiDropdownComponent, typeof i6.TuiDropdownOpen, typeof i6.TuiDropdownOpenLegacy, typeof i6.TuiDropdownPortal, typeof i6.TuiDropdownManual, typeof i6.TuiDropdownHover, typeof i6.TuiDropdownContext, typeof i6.TuiDropdownPosition, typeof i6.TuiDropdownPositionSided, typeof i6.TuiDropdownSelection], [typeof i1.TuiInputPhoneComponent, typeof i2.TuiInputPhoneDirective, typeof i4.TuiTextfieldComponent, typeof i6.TuiDropdownOptionsDirective, typeof i6.TuiDropdownDriverDirective, typeof i6.TuiDropdownDirective, typeof i6.TuiDropdownComponent, typeof i6.TuiDropdownOpen, typeof i6.TuiDropdownOpenLegacy, typeof i6.TuiDropdownPortal, typeof i6.TuiDropdownManual, typeof i6.TuiDropdownHover, typeof i6.TuiDropdownContext, typeof i6.TuiDropdownPosition, typeof i6.TuiDropdownPositionSided, typeof i6.TuiDropdownSelection]>;
11
- static ɵinj: i0.ɵɵInjectorDeclaration<TuiInputPhoneModule>;
12
- }
@@ -1,13 +0,0 @@
1
- import { InjectionToken, type Provider } from '@angular/core';
2
- export interface TuiInputPhoneOptions {
3
- readonly allowText: boolean;
4
- readonly countryCode: string;
5
- readonly phoneMaskAfterCountryCode: string;
6
- }
7
- export declare const TUI_INPUT_PHONE_DEFAULT_OPTIONS: TuiInputPhoneOptions;
8
- /**
9
- * @deprecated: drop in v5.0
10
- * Default parameters for input phone component
11
- */
12
- export declare const TUI_INPUT_PHONE_OPTIONS: InjectionToken<TuiInputPhoneOptions>;
13
- export declare function tuiInputPhoneOptionsProvider(options: Partial<TuiInputPhoneOptions>): Provider;
@@ -1,9 +0,0 @@
1
- import { type MaskitoPreprocessor } from '@maskito/core';
2
- /**
3
- * `InputPhone` component sets country code as non-removable prefix.
4
- * This prefix appears on focus and cannot be erased.
5
- * But users sometimes can copy complete phone number (from any different source)
6
- * and try to insert the whole string inside our `InputPhone` textfield.
7
- * This preprocessor helps to avoid country prefix duplication on paste/drop/autofill events.
8
- */
9
- export declare function tuiCreateCompletePhoneInsertionPreprocessor(countryCode: string, phoneMaskAfterCountryCode: string): MaskitoPreprocessor;
@@ -1,7 +0,0 @@
1
- /**
2
- * Create {@link https://maskito.dev/core-concepts/mask-expression pattern mask expression} for phone number
3
- *
4
- * @example
5
- * tuiCreatePhoneMaskExpression('+1', '(###) ###-####');
6
- */
7
- export declare function tuiCreatePhoneMaskExpression(countryCode: string, phoneMaskAfterCountryCode: string): Array<RegExp | string>;
@@ -1,2 +0,0 @@
1
- export * from './complete-phone-insertion-preprocessor';
2
- export * from './create-phone-mask-expression';
@@ -1,3 +0,0 @@
1
- export * from './input-phone-international.component';
2
- export * from './input-phone-international.options';
3
- export * from './utils/extract-value-from-event';