@taiga-ui/legacy 4.52.0-canary.3915ce7 → 4.52.0-canary.40b6993

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 (270) hide show
  1. package/README.md +1 -1
  2. package/components/dialog/dialog.component.d.ts +19 -0
  3. package/components/dialog/dialog.directive.d.ts +8 -0
  4. package/components/dialog/dialog.factory.d.ts +16 -0
  5. package/components/dialog/dialog.interfaces.d.ts +30 -0
  6. package/components/dialog/dialog.service.d.ts +10 -0
  7. package/components/dialog/dialog.tokens.d.ts +6 -0
  8. package/components/dialog/index.d.ts +6 -0
  9. package/components/index.d.ts +3 -19
  10. package/components/mobile-dialog/index.d.ts +3 -0
  11. package/components/mobile-dialog/mobile-dialog.component.d.ts +10 -0
  12. package/components/mobile-dialog/mobile-dialog.options.d.ts +10 -0
  13. package/components/mobile-dialog/mobile-dialog.service.d.ts +14 -0
  14. package/components/pdf-viewer/index.d.ts +4 -0
  15. package/components/pdf-viewer/pdf-viewer.component.d.ts +12 -0
  16. package/components/pdf-viewer/pdf-viewer.directive.d.ts +8 -0
  17. package/components/pdf-viewer/pdf-viewer.options.d.ts +11 -0
  18. package/components/pdf-viewer/pdf-viewer.service.d.ts +17 -0
  19. package/fesm2022/taiga-ui-legacy-components-dialog.mjs +136 -0
  20. package/fesm2022/taiga-ui-legacy-components-dialog.mjs.map +1 -0
  21. package/fesm2022/taiga-ui-legacy-components-mobile-dialog.mjs +62 -0
  22. package/fesm2022/taiga-ui-legacy-components-mobile-dialog.mjs.map +1 -0
  23. package/fesm2022/taiga-ui-legacy-components-pdf-viewer.mjs +88 -0
  24. package/fesm2022/taiga-ui-legacy-components-pdf-viewer.mjs.map +1 -0
  25. package/fesm2022/taiga-ui-legacy-components.mjs +3 -19
  26. package/fesm2022/taiga-ui-legacy-components.mjs.map +1 -1
  27. package/fesm2022/taiga-ui-legacy.mjs +0 -6
  28. package/fesm2022/taiga-ui-legacy.mjs.map +1 -1
  29. package/index.d.ts +0 -6
  30. package/package.json +22 -137
  31. package/classes/abstract-native-select.d.ts +0 -22
  32. package/classes/abstract-textfield-host.d.ts +0 -19
  33. package/classes/control.d.ts +0 -60
  34. package/classes/controller.d.ts +0 -9
  35. package/classes/index.d.ts +0 -9
  36. package/classes/interactive.d.ts +0 -34
  37. package/classes/multiple-control.d.ts +0 -11
  38. package/classes/named-day.d.ts +0 -11
  39. package/classes/nullable-control.d.ts +0 -10
  40. package/classes/stringifiable-item.d.ts +0 -11
  41. package/components/arrow/arrow.component.d.ts +0 -17
  42. package/components/arrow/arrow.options.d.ts +0 -19
  43. package/components/arrow/arrow.providers.d.ts +0 -23
  44. package/components/arrow/index.d.ts +0 -3
  45. package/components/combo-box/combo-box-strict.directive.d.ts +0 -12
  46. package/components/combo-box/combo-box.component.d.ts +0 -52
  47. package/components/combo-box/combo-box.directive.d.ts +0 -13
  48. package/components/combo-box/combo-box.module.d.ts +0 -20
  49. package/components/combo-box/index.d.ts +0 -4
  50. package/components/input/index.d.ts +0 -3
  51. package/components/input/input.component.d.ts +0 -32
  52. package/components/input/input.directive.d.ts +0 -12
  53. package/components/input/input.module.d.ts +0 -16
  54. package/components/input-date-range/index.d.ts +0 -3
  55. package/components/input-date-range/input-date-range.component.d.ts +0 -67
  56. package/components/input-date-range/input-date-range.directive.d.ts +0 -16
  57. package/components/input-date-range/input-date-range.module.d.ts +0 -22
  58. package/components/input-date-time/index.d.ts +0 -3
  59. package/components/input-date-time/input-date-time.component.d.ts +0 -87
  60. package/components/input-date-time/input-date-time.directive.d.ts +0 -17
  61. package/components/input-date-time/input-date-time.module.d.ts +0 -23
  62. package/components/input-date-time/native-date-time/native-date-time.directive.d.ts +0 -13
  63. package/components/input-month-range/index.d.ts +0 -3
  64. package/components/input-month-range/input-month-range.component.d.ts +0 -38
  65. package/components/input-month-range/input-month-range.directive.d.ts +0 -23
  66. package/components/input-month-range/input-month-range.module.d.ts +0 -18
  67. package/components/input-number/index.d.ts +0 -4
  68. package/components/input-number/input-number.component.d.ts +0 -63
  69. package/components/input-number/input-number.directive.d.ts +0 -16
  70. package/components/input-number/input-number.module.d.ts +0 -18
  71. package/components/input-number/input-number.options.d.ts +0 -29
  72. package/components/input-range/index.d.ts +0 -2
  73. package/components/input-range/input-range.component.d.ts +0 -56
  74. package/components/input-range/input-range.module.d.ts +0 -19
  75. package/components/input-slider/index.d.ts +0 -2
  76. package/components/input-slider/input-slider.component.d.ts +0 -42
  77. package/components/input-slider/input-slider.module.d.ts +0 -18
  78. package/components/input-tag/index.d.ts +0 -3
  79. package/components/input-tag/input-tag.component.d.ts +0 -103
  80. package/components/input-tag/input-tag.module.d.ts +0 -22
  81. package/components/input-tag/input-tag.options.d.ts +0 -27
  82. package/components/multi-select/hide-selected.pipe.d.ts +0 -11
  83. package/components/multi-select/index.d.ts +0 -10
  84. package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +0 -23
  85. package/components/multi-select/multi-select-group/multi-select-group.directive.d.ts +0 -8
  86. package/components/multi-select/multi-select.component.d.ts +0 -71
  87. package/components/multi-select/multi-select.directive.d.ts +0 -14
  88. package/components/multi-select/multi-select.module.d.ts +0 -31
  89. package/components/multi-select/multi-select.options.d.ts +0 -14
  90. package/components/multi-select/native-multi-select/native-multi-select-group.component.d.ts +0 -9
  91. package/components/multi-select/native-multi-select/native-multi-select.component.d.ts +0 -8
  92. package/components/multi-select/native-multi-select/native-multi-select.d.ts +0 -11
  93. package/components/multi-select-option/index.d.ts +0 -2
  94. package/components/multi-select-option/multi-select-option.component.d.ts +0 -9
  95. package/components/multi-select-option/multi-select-option.module.d.ts +0 -9
  96. package/components/primitive-textfield/index.d.ts +0 -7
  97. package/components/primitive-textfield/primitive-textfield-options.d.ts +0 -21
  98. package/components/primitive-textfield/primitive-textfield-types.d.ts +0 -11
  99. package/components/primitive-textfield/primitive-textfield.component.d.ts +0 -73
  100. package/components/primitive-textfield/primitive-textfield.directive.d.ts +0 -14
  101. package/components/primitive-textfield/primitive-textfield.module.d.ts +0 -21
  102. package/components/primitive-textfield/textfield/textfield.component.d.ts +0 -13
  103. package/components/primitive-textfield/value-decoration/value-decoration.component.d.ts +0 -22
  104. package/components/select/index.d.ts +0 -6
  105. package/components/select/native-select/native-select-group.component.d.ts +0 -17
  106. package/components/select/native-select/native-select.component.d.ts +0 -16
  107. package/components/select/select.component.d.ts +0 -45
  108. package/components/select/select.directive.d.ts +0 -16
  109. package/components/select/select.module.d.ts +0 -24
  110. package/components/select/select.options.d.ts +0 -25
  111. package/components/select-option/index.d.ts +0 -2
  112. package/components/select-option/select-option.component.d.ts +0 -27
  113. package/components/select-option/select-option.module.d.ts +0 -10
  114. package/components/svg/content-processor.d.ts +0 -19
  115. package/components/svg/deprecated-icons.d.ts +0 -5
  116. package/components/svg/index.d.ts +0 -5
  117. package/components/svg/svg-options.d.ts +0 -50
  118. package/components/svg/svg.component.d.ts +0 -50
  119. package/components/svg/svg.service.d.ts +0 -21
  120. package/components/tag/index.d.ts +0 -3
  121. package/components/tag/tag.component.d.ts +0 -44
  122. package/components/tag/tag.module.d.ts +0 -16
  123. package/components/tag/tag.options.d.ts +0 -27
  124. package/components/textarea/index.d.ts +0 -3
  125. package/components/textarea/textarea.component.d.ts +0 -54
  126. package/components/textarea/textarea.directive.d.ts +0 -12
  127. package/components/textarea/textarea.module.d.ts +0 -21
  128. package/components/tooltip/index.d.ts +0 -2
  129. package/components/tooltip/tooltip.component.d.ts +0 -12
  130. package/components/tooltip/tooltip.module.d.ts +0 -13
  131. package/directives/index.d.ts +0 -5
  132. package/directives/legacy-dropdown-open-monitor/index.d.ts +0 -1
  133. package/directives/legacy-dropdown-open-monitor/legacy-dropdown-open-monitor.d.ts +0 -11
  134. package/directives/textfield-controller/index.d.ts +0 -14
  135. package/directives/textfield-controller/textfield-appearance.directive.d.ts +0 -9
  136. package/directives/textfield-controller/textfield-cleaner.directive.d.ts +0 -9
  137. package/directives/textfield-controller/textfield-controller.module.d.ts +0 -17
  138. package/directives/textfield-controller/textfield-controller.provider.d.ts +0 -4
  139. package/directives/textfield-controller/textfield-custom-content.directive.d.ts +0 -10
  140. package/directives/textfield-controller/textfield-filler.directive.d.ts +0 -9
  141. package/directives/textfield-controller/textfield-icon-left.directive.d.ts +0 -12
  142. package/directives/textfield-controller/textfield-icon.directive.d.ts +0 -12
  143. package/directives/textfield-controller/textfield-label-outside.directive.d.ts +0 -9
  144. package/directives/textfield-controller/textfield-postfix.directive.d.ts +0 -9
  145. package/directives/textfield-controller/textfield-prefix.directive.d.ts +0 -9
  146. package/directives/textfield-controller/textfield-size.directive.d.ts +0 -10
  147. package/directives/textfield-controller/textfield.controller.d.ts +0 -41
  148. package/directives/textfield-controller/textfield.options.d.ts +0 -19
  149. package/directives/unfinished-validator/index.d.ts +0 -2
  150. package/directives/unfinished-validator/unfinished-validator.directive.d.ts +0 -10
  151. package/directives/unfinished-validator/unfinished.validator.d.ts +0 -4
  152. package/directives/value-accessor/index.d.ts +0 -3
  153. package/directives/value-accessor/value-accessor.directive.d.ts +0 -5
  154. package/directives/value-accessor/value-accessor.module.d.ts +0 -7
  155. package/directives/value-accessor/value-accessor.provider.d.ts +0 -2
  156. package/directives/wrapper/README.md +0 -19
  157. package/directives/wrapper/index.d.ts +0 -2
  158. package/directives/wrapper/wrapper.directive.d.ts +0 -22
  159. package/directives/wrapper/wrapper.module.d.ts +0 -10
  160. package/fesm2022/taiga-ui-legacy-classes.mjs +0 -415
  161. package/fesm2022/taiga-ui-legacy-classes.mjs.map +0 -1
  162. package/fesm2022/taiga-ui-legacy-components-arrow.mjs +0 -85
  163. package/fesm2022/taiga-ui-legacy-components-arrow.mjs.map +0 -1
  164. package/fesm2022/taiga-ui-legacy-components-combo-box.mjs +0 -299
  165. package/fesm2022/taiga-ui-legacy-components-combo-box.mjs.map +0 -1
  166. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs +0 -356
  167. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs.map +0 -1
  168. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs +0 -465
  169. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs.map +0 -1
  170. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs +0 -221
  171. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs.map +0 -1
  172. package/fesm2022/taiga-ui-legacy-components-input-number.mjs +0 -390
  173. package/fesm2022/taiga-ui-legacy-components-input-number.mjs.map +0 -1
  174. package/fesm2022/taiga-ui-legacy-components-input-range.mjs +0 -261
  175. package/fesm2022/taiga-ui-legacy-components-input-range.mjs.map +0 -1
  176. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs +0 -199
  177. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs.map +0 -1
  178. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs +0 -524
  179. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs.map +0 -1
  180. package/fesm2022/taiga-ui-legacy-components-input.mjs +0 -155
  181. package/fesm2022/taiga-ui-legacy-components-input.mjs.map +0 -1
  182. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs +0 -47
  183. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs.map +0 -1
  184. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs +0 -690
  185. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs.map +0 -1
  186. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs +0 -454
  187. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs.map +0 -1
  188. package/fesm2022/taiga-ui-legacy-components-select-option.mjs +0 -88
  189. package/fesm2022/taiga-ui-legacy-components-select-option.mjs.map +0 -1
  190. package/fesm2022/taiga-ui-legacy-components-select.mjs +0 -353
  191. package/fesm2022/taiga-ui-legacy-components-select.mjs.map +0 -1
  192. package/fesm2022/taiga-ui-legacy-components-svg.mjs +0 -387
  193. package/fesm2022/taiga-ui-legacy-components-svg.mjs.map +0 -1
  194. package/fesm2022/taiga-ui-legacy-components-tag.mjs +0 -225
  195. package/fesm2022/taiga-ui-legacy-components-tag.mjs.map +0 -1
  196. package/fesm2022/taiga-ui-legacy-components-textarea.mjs +0 -262
  197. package/fesm2022/taiga-ui-legacy-components-textarea.mjs.map +0 -1
  198. package/fesm2022/taiga-ui-legacy-components-tooltip.mjs +0 -53
  199. package/fesm2022/taiga-ui-legacy-components-tooltip.mjs.map +0 -1
  200. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs +0 -50
  201. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs.map +0 -1
  202. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs +0 -401
  203. package/fesm2022/taiga-ui-legacy-directives-textfield-controller.mjs.map +0 -1
  204. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs +0 -50
  205. package/fesm2022/taiga-ui-legacy-directives-unfinished-validator.mjs.map +0 -1
  206. package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs +0 -44
  207. package/fesm2022/taiga-ui-legacy-directives-value-accessor.mjs.map +0 -1
  208. package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs +0 -99
  209. package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs.map +0 -1
  210. package/fesm2022/taiga-ui-legacy-directives.mjs +0 -10
  211. package/fesm2022/taiga-ui-legacy-directives.mjs.map +0 -1
  212. package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs +0 -59
  213. package/fesm2022/taiga-ui-legacy-pipes-format-phone.mjs.map +0 -1
  214. package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs +0 -50
  215. package/fesm2022/taiga-ui-legacy-pipes-iso-to-country-code.mjs.map +0 -1
  216. package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs +0 -80
  217. package/fesm2022/taiga-ui-legacy-pipes-to-country-code.mjs.map +0 -1
  218. package/fesm2022/taiga-ui-legacy-pipes.mjs +0 -8
  219. package/fesm2022/taiga-ui-legacy-pipes.mjs.map +0 -1
  220. package/fesm2022/taiga-ui-legacy-services.mjs +0 -42
  221. package/fesm2022/taiga-ui-legacy-services.mjs.map +0 -1
  222. package/fesm2022/taiga-ui-legacy-tokens.mjs +0 -384
  223. package/fesm2022/taiga-ui-legacy-tokens.mjs.map +0 -1
  224. package/fesm2022/taiga-ui-legacy-utils.mjs +0 -268
  225. package/fesm2022/taiga-ui-legacy-utils.mjs.map +0 -1
  226. package/pipes/format-phone/format-phone.pipe.d.ts +0 -37
  227. package/pipes/format-phone/index.d.ts +0 -1
  228. package/pipes/index.d.ts +0 -3
  229. package/pipes/iso-to-country-code/index.d.ts +0 -1
  230. package/pipes/iso-to-country-code/iso-to-country-code.pipe.d.ts +0 -30
  231. package/pipes/to-country-code/index.d.ts +0 -1
  232. package/pipes/to-country-code/to-country-code.pipe.d.ts +0 -38
  233. package/services/index.d.ts +0 -1
  234. package/services/static-request.service.d.ts +0 -11
  235. package/styles/mixins/mixins.less +0 -239
  236. package/styles/mixins/mixins.scss +0 -224
  237. package/styles/mixins/textfield.less +0 -324
  238. package/styles/mixins/textfield.scss +0 -308
  239. package/styles/taiga-ui-local.less +0 -3
  240. package/styles/taiga-ui-local.scss +0 -3
  241. package/tokens/countries-masks.d.ts +0 -9
  242. package/tokens/focusable-item-accessor.d.ts +0 -25
  243. package/tokens/fonts-ready.d.ts +0 -6
  244. package/tokens/icons.d.ts +0 -6
  245. package/tokens/index.d.ts +0 -14
  246. package/tokens/is-apple.d.ts +0 -6
  247. package/tokens/is-chromium.d.ts +0 -6
  248. package/tokens/is-firefox.d.ts +0 -6
  249. package/tokens/is-stackblitz.d.ts +0 -5
  250. package/tokens/month-formatter.d.ts +0 -10
  251. package/tokens/sanitizer.d.ts +0 -6
  252. package/tokens/textfield-appearance.d.ts +0 -7
  253. package/tokens/textfield-host.d.ts +0 -23
  254. package/tokens/touch-supported.d.ts +0 -5
  255. package/tokens/value-accessor.d.ts +0 -7
  256. package/utils/capitalize-first-letter.d.ts +0 -4
  257. package/utils/date-mode-maskito-adapter.d.ts +0 -6
  258. package/utils/format-phone.d.ts +0 -30
  259. package/utils/get-border.d.ts +0 -5
  260. package/utils/get-max-allowed-phone-length.d.ts +0 -24
  261. package/utils/get-safe-area-size.d.ts +0 -7
  262. package/utils/icons-path-factory.d.ts +0 -13
  263. package/utils/index.d.ts +0 -14
  264. package/utils/is-apple.d.ts +0 -5
  265. package/utils/is-presumed-html-string.d.ts +0 -4
  266. package/utils/iso-to-country-code.d.ts +0 -13
  267. package/utils/not-kz-region.d.ts +0 -20
  268. package/utils/process-icon.d.ts +0 -4
  269. package/utils/specific-dropdown-controllers.d.ts +0 -4
  270. package/utils/status.d.ts +0 -4
@@ -1,9 +0,0 @@
1
- import { type TuiSizeS } from '@taiga-ui/core/types';
2
- import { TuiSelectOptionComponent } from '@taiga-ui/legacy/components/select-option';
3
- import * as i0 from "@angular/core";
4
- export declare class TuiMultiSelectOptionComponent<T extends any[]> extends TuiSelectOptionComponent<T> {
5
- protected get size(): TuiSizeS;
6
- protected get selected(): boolean;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiMultiSelectOptionComponent<any>, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiMultiSelectOptionComponent<any>, "tui-multi-select-option", never, {}, {}, never, never, false, never>;
9
- }
@@ -1,9 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./multi-select-option.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@taiga-ui/kit/components/checkbox";
5
- export declare class TuiMultiSelectOptionModule {
6
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiMultiSelectOptionModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiMultiSelectOptionModule, [typeof i1.TuiMultiSelectOptionComponent], [typeof i2.CommonModule, typeof i3.TuiCheckbox], [typeof i1.TuiMultiSelectOptionComponent]>;
8
- static ɵinj: i0.ɵɵInjectorDeclaration<TuiMultiSelectOptionModule>;
9
- }
@@ -1,7 +0,0 @@
1
- export * from './primitive-textfield.component';
2
- export * from './primitive-textfield.directive';
3
- export * from './primitive-textfield.module';
4
- export * from './primitive-textfield-options';
5
- export type * from './primitive-textfield-types';
6
- export * from './textfield/textfield.component';
7
- export * from './value-decoration/value-decoration.component';
@@ -1,21 +0,0 @@
1
- import { type TuiTextfieldOptions, tuiTextfieldOptionsProvider } from '@taiga-ui/legacy/directives';
2
- /**
3
- * @deprecated:
4
- * use {@link TuiTextfieldOptions}
5
- */
6
- export type TuiPrimitiveTextfieldOptions = TuiTextfieldOptions;
7
- /**
8
- * @deprecated:
9
- * use {@link TUI_TEXTFIELD_DEFAULT_OPTIONS}
10
- */
11
- export declare const TUI_PRIMITIVE_TEXTFIELD_DEFAULT_OPTIONS: TuiPrimitiveTextfieldOptions;
12
- /**
13
- * @deprecated:
14
- * use {@link TUI_TEXTFIELD_OPTIONS}
15
- */
16
- export declare const TUI_PRIMITIVE_TEXTFIELD_OPTIONS: import("@angular/core").InjectionToken<TuiTextfieldOptions>;
17
- /**
18
- * @deprecated:
19
- * use {@link tuiTextfieldOptionsProvider}
20
- */
21
- export declare const tuiPrimitiveTextfieldOptionsProvider: typeof tuiTextfieldOptionsProvider;
@@ -1,11 +0,0 @@
1
- import { type AbstractTuiInteractive } from '@taiga-ui/legacy/classes';
2
- import { type TuiFocusableElementAccessor } from '@taiga-ui/legacy/tokens';
3
- export type TuiPrimitiveTextfield = AbstractTuiInteractive & TuiFocusableElementAccessor & {
4
- appearance: string;
5
- filler: string;
6
- nativeFocusableElement: HTMLInputElement | null;
7
- postfix: string;
8
- prefix: string;
9
- readOnly: boolean;
10
- value: string;
11
- };
@@ -1,73 +0,0 @@
1
- import { EventEmitter, type QueryList } from '@angular/core';
2
- import { type TuiContext } from '@taiga-ui/cdk/types';
3
- import { TuiHintOptionsDirective } from '@taiga-ui/core/directives/hint';
4
- import { type TuiSizeL, type TuiSizeS } from '@taiga-ui/core/types';
5
- import { AbstractTuiInteractive } from '@taiga-ui/legacy/classes';
6
- import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
7
- import { type Observable } from 'rxjs';
8
- import { type TuiPrimitiveTextfield } from './primitive-textfield-types';
9
- import * as i0 from "@angular/core";
10
- export declare const TUI_ICON_START_PADDINGS: Record<TuiSizeL | TuiSizeS, number>;
11
- /**
12
- * @deprecated: use {@link TuiTextfield}
13
- * https://taiga-ui.dev/components/textfield
14
- */
15
- export declare class TuiPrimitiveTextfieldComponent extends AbstractTuiInteractive implements TuiPrimitiveTextfield {
16
- private readonly focusableElement?;
17
- private readonly legacyOptions;
18
- private readonly el;
19
- protected readonly content?: QueryList<unknown>;
20
- protected readonly options: import("@taiga-ui/core/components/textfield").TuiTextfieldOptions;
21
- protected readonly controller: import("@taiga-ui/legacy/directives").TuiTextfieldController;
22
- protected readonly hintOptions: TuiHintOptionsDirective | null;
23
- protected autofilled: boolean;
24
- editable: boolean;
25
- /**
26
- * @deprecated:
27
- * use `tuiTextfieldOptionsProvider({iconCleaner: `@tui.chevron-up`})`
28
- */
29
- iconCleaner: PolymorpheusContent<TuiContext<"m" | "l" | "s">>;
30
- readOnly: boolean;
31
- invalid: boolean;
32
- disabled: boolean;
33
- value: string;
34
- readonly valueChange: EventEmitter<string>;
35
- get prefix(): string;
36
- get postfix(): string;
37
- get filler(): string;
38
- get nativeFocusableElement(): HTMLInputElement | null;
39
- get focused(): boolean;
40
- get appearance(): string;
41
- onModelChange(value: string): void;
42
- protected get labelOutside(): boolean;
43
- protected get size(): TuiSizeL | TuiSizeS;
44
- protected get computedInvalid(): boolean;
45
- protected get inputHidden(): boolean;
46
- protected get borderStart(): number;
47
- protected get borderEnd(): number;
48
- protected get hasValue(): boolean;
49
- protected get hasCleaner(): boolean;
50
- protected get hasTooltip(): boolean;
51
- protected get hasCustomContent(): boolean;
52
- protected get placeholderVisible(): boolean;
53
- protected get hasPlaceholder(): boolean;
54
- protected get placeholderRaised(): boolean;
55
- protected get iconContent(): PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;
56
- protected get iconLeftContent(): PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeS>>;
57
- protected get showHint(): boolean;
58
- protected get name(): 'ccexpiryyear' | null;
59
- protected get computedId(): string;
60
- protected getIndent$(element: HTMLElement): Observable<number>;
61
- protected onFocused(focused: boolean): void;
62
- protected clear(): void;
63
- protected onMouseDown(event: MouseEvent): void;
64
- protected transitionStartHandler({ propertyName, target }: TransitionEvent): void;
65
- protected onAutofilled(autofilled: boolean): void;
66
- protected detectRetargetFromLabel(event: Event): void;
67
- private get iconPaddingLeft();
68
- private get placeholderRaisable();
69
- private updateAutofilled;
70
- private updateValue;
71
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiPrimitiveTextfieldComponent, never>;
72
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiPrimitiveTextfieldComponent, "tui-primitive-textfield", never, { "editable": { "alias": "editable"; "required": false; }; "iconCleaner": { "alias": "iconCleaner"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, ["content"], ["input", "select", "tuiContent", "*"], false, never>;
73
- }
@@ -1,14 +0,0 @@
1
- import { AbstractTuiTextfieldHost } from '@taiga-ui/legacy/classes';
2
- import { TuiPrimitiveTextfieldComponent } from './primitive-textfield.component';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * @deprecated: use {@link TuiTextfield}
6
- * https://taiga-ui.dev/components/textfield
7
- */
8
- export declare class TuiPrimitiveTextfieldDirective extends AbstractTuiTextfieldHost<any> {
9
- protected readonly host: TuiPrimitiveTextfieldComponent;
10
- get readOnly(): boolean;
11
- onValueChange(value: string): void;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiPrimitiveTextfieldDirective, never>;
13
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiPrimitiveTextfieldDirective, "tui-primitive-textfield", never, {}, {}, never, never, false, never>;
14
- }
@@ -1,21 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./primitive-textfield.component";
3
- import * as i2 from "./primitive-textfield.directive";
4
- import * as i3 from "./textfield/textfield.component";
5
- import * as i4 from "./value-decoration/value-decoration.component";
6
- import * as i5 from "@angular/common";
7
- import * as i6 from "@angular/forms";
8
- import * as i7 from "@taiga-ui/polymorpheus";
9
- import * as i8 from "@taiga-ui/legacy/directives/wrapper";
10
- import * as i9 from "@taiga-ui/legacy/components/tooltip";
11
- import * as i10 from "@taiga-ui/core/components/icon";
12
- import * as i11 from "@taiga-ui/core/directives/appearance";
13
- /**
14
- * @deprecated: use {@link TuiTextfield}
15
- * https://taiga-ui.dev/components/textfield
16
- */
17
- export declare class TuiPrimitiveTextfieldModule {
18
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiPrimitiveTextfieldModule, never>;
19
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiPrimitiveTextfieldModule, [typeof i1.TuiPrimitiveTextfieldComponent, typeof i2.TuiPrimitiveTextfieldDirective, typeof i3.TuiTextfieldComponent, typeof i4.TuiValueDecorationComponent], [typeof i5.CommonModule, typeof i6.FormsModule, typeof i7.PolymorpheusOutlet, typeof i7.PolymorpheusTemplate, typeof i8.TuiWrapperModule, typeof i9.TuiTooltipModule, typeof i10.TuiIcon, typeof i11.TuiAppearance], [typeof i1.TuiPrimitiveTextfieldComponent, typeof i2.TuiPrimitiveTextfieldDirective, typeof i3.TuiTextfieldComponent]>;
20
- static ɵinj: i0.ɵɵInjectorDeclaration<TuiPrimitiveTextfieldModule>;
21
- }
@@ -1,13 +0,0 @@
1
- import { type TuiTextfieldHost } from '@taiga-ui/legacy/tokens';
2
- import * as i0 from "@angular/core";
3
- export declare class TuiTextfieldComponent {
4
- private readonly autoId;
5
- private readonly el;
6
- protected readonly controller: import("@taiga-ui/legacy/directives").TuiTextfieldController;
7
- protected readonly host: TuiTextfieldHost;
8
- constructor();
9
- protected get id(): string;
10
- protected get inputMode(): string;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiTextfieldComponent, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiTextfieldComponent, "input[tuiTextfieldLegacy], textarea[tuiTextfieldLegacy]", never, {}, {}, never, never, false, never>;
13
- }
@@ -1,22 +0,0 @@
1
- import { type DoCheck } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class TuiValueDecorationComponent implements DoCheck {
4
- private readonly pre?;
5
- private readonly textfield;
6
- private readonly fontsReady$;
7
- private readonly prefix$;
8
- readonly pre$: import("rxjs").Observable<number>;
9
- ngDoCheck(): void;
10
- protected get isContextTable(): boolean;
11
- protected get filler(): string;
12
- protected get value(): string;
13
- protected get prefix(): string;
14
- protected get postfix(): string;
15
- private get placeholder();
16
- private get exampleText();
17
- private get decorationsVisible();
18
- private get focused();
19
- private get computedPostfix();
20
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiValueDecorationComponent, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiValueDecorationComponent, "tui-value-decoration", never, {}, {}, never, never, false, never>;
22
- }
@@ -1,6 +0,0 @@
1
- export * from './native-select/native-select.component';
2
- export * from './native-select/native-select-group.component';
3
- export * from './select.component';
4
- export * from './select.directive';
5
- export * from './select.module';
6
- export * from './select.options';
@@ -1,17 +0,0 @@
1
- import { type TuiItemsHandlers } from '@taiga-ui/kit/tokens';
2
- import { AbstractTuiNativeSelect } from '@taiga-ui/legacy/classes';
3
- import { type TuiSelectDirective } from '../select.directive';
4
- import * as i0 from "@angular/core";
5
- /**
6
- * TODO(v5): delete it
7
- * @deprecated use native picker from new version of {@link https://taiga-ui.dev/components/select#native-picker-groups TuiSelect} (from @taiga-ui/kit) instead
8
- */
9
- export declare class TuiNativeSelectGroupComponent<T> extends AbstractTuiNativeSelect<TuiSelectDirective, T> {
10
- items: readonly T[][] | null;
11
- labels: readonly string[];
12
- protected get stringify(): TuiItemsHandlers<T>['stringify'];
13
- protected selected(option: T): boolean;
14
- protected onValueChange(index: number): void;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiNativeSelectGroupComponent<any>, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiNativeSelectGroupComponent<any>, "select[tuiSelect][labels]:not([multiple])", never, { "items": { "alias": "items"; "required": false; }; "labels": { "alias": "labels"; "required": false; }; }, {}, never, never, false, never>;
17
- }
@@ -1,16 +0,0 @@
1
- import { type TuiItemsHandlers } from '@taiga-ui/kit/tokens';
2
- import { AbstractTuiNativeSelect } from '@taiga-ui/legacy/classes';
3
- import { type TuiSelectDirective } from '../select.directive';
4
- import * as i0 from "@angular/core";
5
- /**
6
- * TODO(v5): delete it
7
- * @deprecated use native picker from new version of {@link https://taiga-ui.dev/components/select#native-picker-disabled-option TuiSelect} (from @taiga-ui/kit) instead
8
- */
9
- export declare class TuiNativeSelectComponent<T> extends AbstractTuiNativeSelect<TuiSelectDirective, T> {
10
- items: readonly T[] | null;
11
- protected get stringify(): TuiItemsHandlers<T>['stringify'];
12
- protected selected(option: T): boolean;
13
- protected onValueChange(index: number): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiNativeSelectComponent<any>, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiNativeSelectComponent<any>, "select[tuiSelect]:not([labels]):not([multiple])", never, { "items": { "alias": "items"; "required": false; }; }, {}, never, never, false, never>;
16
- }
@@ -1,45 +0,0 @@
1
- import { type TuiActiveZone } from '@taiga-ui/cdk/directives/active-zone';
2
- import { type TuiContext } from '@taiga-ui/cdk/types';
3
- import { type TuiDataListHost } from '@taiga-ui/core/components/data-list';
4
- import { type TuiSizeL, type TuiSizeM, type TuiSizeS, type TuiValueContentContext } from '@taiga-ui/core/types';
5
- import { type TuiItemsHandlers } from '@taiga-ui/kit/tokens';
6
- import { AbstractTuiNullableControl } from '@taiga-ui/legacy/classes';
7
- import { type TuiFocusableElementAccessor } from '@taiga-ui/legacy/tokens';
8
- import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
9
- import { type TuiSelectOptions } from './select.options';
10
- import * as i0 from "@angular/core";
11
- import * as i1 from "@taiga-ui/core/directives/dropdown";
12
- /**
13
- * TODO(v5): delete it
14
- * @deprecated use new version of {@link https://taiga-ui.dev/components/select TuiSelect} (from @taiga-ui/kit) instead
15
- */
16
- export declare class TuiSelectComponent<T> extends AbstractTuiNullableControl<T> implements TuiFocusableElementAccessor, TuiDataListHost<T> {
17
- private readonly textfield?;
18
- private readonly dropdown?;
19
- private readonly nativeSelect?;
20
- private readonly itemsHandlers;
21
- private readonly textfieldCleaner;
22
- private readonly textfieldSize;
23
- private readonly arrowMode;
24
- private readonly options;
25
- protected readonly datalist: PolymorpheusContent<TuiContext<TuiActiveZone>>;
26
- protected readonly isMobile: boolean;
27
- protected open: boolean;
28
- stringify: TuiItemsHandlers<T>['stringify'];
29
- identityMatcher: TuiItemsHandlers<T>['identityMatcher'];
30
- valueContent: TuiSelectOptions<T>['valueContent'];
31
- get size(): TuiSizeL | TuiSizeS;
32
- get nativeFocusableElement(): HTMLInputElement | null;
33
- get focused(): boolean;
34
- get computedValue(): string;
35
- onValueChange(value: T): void;
36
- handleOption(option: T): void;
37
- protected get arrow(): PolymorpheusContent<TuiContext<TuiSizeL | TuiSizeM | TuiSizeS>>;
38
- protected get nativeDropdownMode(): boolean;
39
- protected get computedContent(): PolymorpheusContent<TuiValueContentContext<T>>;
40
- protected onActiveZone(active: boolean): void;
41
- protected onKeyDownDelete(): void;
42
- private focusInput;
43
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiSelectComponent<any>, never>;
44
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiSelectComponent<any>, "tui-select", never, { "stringify": { "alias": "stringify"; "required": false; }; "identityMatcher": { "alias": "identityMatcher"; "required": false; }; "valueContent": { "alias": "valueContent"; "required": false; }; }, {}, ["nativeSelect", "datalist"], ["*", "input", "select"], false, [{ directive: typeof i1.TuiDropdownFixed; inputs: {}; outputs: {}; }]>;
45
- }
@@ -1,16 +0,0 @@
1
- import { type TuiItemsHandlers } from '@taiga-ui/kit/tokens';
2
- import { AbstractTuiTextfieldHost } from '@taiga-ui/legacy/classes';
3
- import { type TuiSelectComponent } from './select.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/select TuiSelect} (from @taiga-ui/kit) instead
8
- */
9
- export declare class TuiSelectDirective extends AbstractTuiTextfieldHost<TuiSelectComponent<unknown>> {
10
- get readOnly(): boolean;
11
- get value(): string;
12
- get stringify(): TuiItemsHandlers<unknown>['stringify'];
13
- onValueChange(value: unknown): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiSelectDirective, never>;
15
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiSelectDirective, "tui-select", never, {}, {}, never, never, false, never>;
16
- }
@@ -1,24 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./select.component";
3
- import * as i2 from "./select.directive";
4
- import * as i3 from "./native-select/native-select.component";
5
- import * as i4 from "./native-select/native-select-group.component";
6
- import * as i5 from "@angular/common";
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/components/select-option";
10
- import * as i9 from "@taiga-ui/legacy/components/arrow";
11
- import * as i10 from "@taiga-ui/legacy/directives";
12
- import * as i11 from "@taiga-ui/kit/pipes/stringify-content";
13
- import * as i12 from "@taiga-ui/core/directives/dropdown";
14
- import * as i13 from "@taiga-ui/core/components/data-list";
15
- import * as i14 from "@taiga-ui/kit/components/data-list-wrapper";
16
- /**
17
- * TODO(v5): delete it
18
- * @deprecated use new version of {@link https://taiga-ui.dev/components/select TuiSelect} (from @taiga-ui/kit) instead
19
- */
20
- export declare class TuiSelectModule {
21
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiSelectModule, never>;
22
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiSelectModule, [typeof i1.TuiSelectComponent, typeof i2.TuiSelectDirective, typeof i3.TuiNativeSelectComponent, typeof i4.TuiNativeSelectGroupComponent], [typeof i5.CommonModule, typeof i6.PolymorpheusOutlet, typeof i6.PolymorpheusTemplate, typeof i7.TuiPrimitiveTextfieldModule, typeof i8.TuiSelectOptionModule, typeof i9.TuiArrowComponent, typeof i10.TuiWrapperModule, typeof i10.TuiTextfieldControllerModule, typeof i11.TuiStringifyContentPipe, typeof i10.TuiLegacyDropdownOpenMonitorDirective, typeof i12.TuiDropdownOptionsDirective, typeof i12.TuiDropdownDriverDirective, typeof i12.TuiDropdownDirective, typeof i12.TuiDropdownComponent, typeof i12.TuiDropdownOpen, typeof i12.TuiDropdownOpenLegacy, typeof i12.TuiDropdownPortal, typeof i12.TuiDropdownManual, typeof i12.TuiDropdownHover, typeof i12.TuiDropdownContext, typeof i12.TuiDropdownPosition, typeof i12.TuiDropdownPositionSided, typeof i12.TuiDropdownSelection, typeof i13.TuiDataListComponent, typeof i13.TuiDataListDirective, typeof i13.TuiOption, typeof i13.TuiOptionNew, typeof i13.TuiOptionWithValue, typeof i13.TuiOptGroup, typeof i14.TuiDataListWrapperComponent, typeof i14.TuiDataListGroupWrapperComponent, typeof i13.TuiDataListDirective], [typeof i1.TuiSelectComponent, typeof i2.TuiSelectDirective, typeof i7.TuiTextfieldComponent, typeof i3.TuiNativeSelectComponent, typeof i4.TuiNativeSelectGroupComponent, typeof i12.TuiDropdownOptionsDirective, typeof i12.TuiDropdownDriverDirective, typeof i12.TuiDropdownDirective, typeof i12.TuiDropdownComponent, typeof i12.TuiDropdownOpen, typeof i12.TuiDropdownOpenLegacy, typeof i12.TuiDropdownPortal, typeof i12.TuiDropdownManual, typeof i12.TuiDropdownHover, typeof i12.TuiDropdownContext, typeof i12.TuiDropdownPosition, typeof i12.TuiDropdownPositionSided, typeof i12.TuiDropdownSelection, typeof i13.TuiDataListComponent, typeof i13.TuiDataListDirective, typeof i13.TuiOption, typeof i13.TuiOptionNew, typeof i13.TuiOptionWithValue, typeof i13.TuiOptGroup, typeof i14.TuiDataListWrapperComponent, typeof i14.TuiDataListGroupWrapperComponent, typeof i13.TuiDataListDirective]>;
23
- static ɵinj: i0.ɵɵInjectorDeclaration<TuiSelectModule>;
24
- }
@@ -1,25 +0,0 @@
1
- import { InjectionToken, type Provider } from '@angular/core';
2
- import { type TuiValueContentContext } from '@taiga-ui/core/types';
3
- import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
4
- /**
5
- * TODO(v5): delete it
6
- * @deprecated use new version of {@link https://taiga-ui.dev/components/select TuiSelect} (from @taiga-ui/kit) instead
7
- */
8
- export interface TuiSelectOptions<T> {
9
- readonly valueContent: PolymorpheusContent<TuiValueContentContext<T>>;
10
- }
11
- /**
12
- * TODO(v5): delete it
13
- * @deprecated use new version of {@link https://taiga-ui.dev/components/select TuiSelect} (from @taiga-ui/kit) instead
14
- */
15
- export declare const TUI_SELECT_DEFAULT_OPTIONS: TuiSelectOptions<unknown>;
16
- /**
17
- * TODO(v5): delete it
18
- * @deprecated use new version of {@link https://taiga-ui.dev/components/select TuiSelect} (from @taiga-ui/kit) instead
19
- */
20
- export declare const TUI_SELECT_OPTIONS: InjectionToken<TuiSelectOptions<unknown>>;
21
- /**
22
- * TODO(v5): delete it
23
- * @deprecated use {@link https://taiga-ui.dev/components/select#override-option-component tuiAsOptionContent} with new version of {@link https://taiga-ui.dev/components/select TuiSelect} (from @taiga-ui/kit) instead
24
- */
25
- export declare function tuiSelectOptionsProvider<T>(options: Partial<TuiSelectOptions<T>>): Provider;
@@ -1,2 +0,0 @@
1
- export * from './select-option.component';
2
- export * from './select-option.module';
@@ -1,27 +0,0 @@
1
- import { type DoCheck, type OnInit, type TemplateRef } from '@angular/core';
2
- import { NgControl } from '@angular/forms';
3
- import { type TuiContext, type TuiIdentityMatcher } from '@taiga-ui/cdk/types';
4
- import { TuiDataListComponent, TuiOption } from '@taiga-ui/core/components/data-list';
5
- import { AbstractTuiControl } from '@taiga-ui/legacy/classes';
6
- import { PolymorpheusComponent } from '@taiga-ui/polymorpheus';
7
- import * as i0 from "@angular/core";
8
- export declare class TuiSelectOptionComponent<T> implements OnInit, DoCheck {
9
- private readonly host;
10
- private readonly el;
11
- private readonly changeDetection$;
12
- protected readonly abstractControl: AbstractTuiControl<any> | null;
13
- protected readonly control: NgControl;
14
- protected readonly option: TuiOption<any>;
15
- protected readonly dataList: TuiDataListComponent<any> | null;
16
- protected readonly icons: import("@taiga-ui/core/tokens").TuiCommonIcons;
17
- protected readonly context: TuiContext<TemplateRef<Record<string, unknown>>>;
18
- protected readonly selected$: import("rxjs").Observable<boolean>;
19
- ngOnInit(): void;
20
- ngDoCheck(): void;
21
- protected get value(): T | null;
22
- protected get matcher(): TuiIdentityMatcher<T>;
23
- protected get selected(): boolean;
24
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiSelectOptionComponent<any>, never>;
25
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiSelectOptionComponent<any>, "tui-select-option", never, {}, {}, never, never, false, never>;
26
- }
27
- export declare const TUI_SELECT_OPTION: PolymorpheusComponent<TuiSelectOptionComponent<unknown>>;
@@ -1,10 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./select-option.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@taiga-ui/core/components/scrollbar";
5
- import * as i4 from "@taiga-ui/core/components/icon";
6
- export declare class TuiSelectOptionModule {
7
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiSelectOptionModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiSelectOptionModule, [typeof i1.TuiSelectOptionComponent], [typeof i2.CommonModule, typeof i3.TuiScrollIntoView, typeof i4.TuiIcon], [typeof i1.TuiSelectOptionComponent]>;
9
- static ɵinj: i0.ɵɵInjectorDeclaration<TuiSelectOptionModule>;
10
- }
@@ -1,19 +0,0 @@
1
- import { type TuiSafeHtml } from '@taiga-ui/cdk/types';
2
- /**
3
- * @deprecated: drop in v5.0 use {@link TuiIcon}
4
- * https://taiga-ui.dev/components/icon
5
- *
6
- * @description:
7
- * Any ‘linearGradient’ attributes which are defined on the referenced
8
- * element which are not defined on this element are inherited by this element.
9
- * If this element has no defined gradient stops, and the referenced element does
10
- * (possibly due to its own ‘xlink:href’ attribute), then this element inherits
11
- * the gradient stop from the referenced element. Inheritance can be indirect
12
- * to an arbitrary level; thus, if the referenced element inherits attribute
13
- * or gradient stops due to its own ‘xlink:href’ attribute, then the current
14
- * element can inherit those attributes or gradient stops.
15
- *
16
- * Documentation: https://www.w3.org/TR/SVG11/pservers.html
17
- *
18
- */
19
- export declare function tuiSvgLinearGradientProcessor(svg: TuiSafeHtml, salt?: number | string): TuiSafeHtml;
@@ -1,5 +0,0 @@
1
- /**
2
- * @deprecated: drop in v5.0 use {@link TuiIcon}
3
- * https://taiga-ui.dev/components/icon
4
- */
5
- export declare const TUI_DEPRECATED_ICONS: Record<string, string>;
@@ -1,5 +0,0 @@
1
- export * from './content-processor';
2
- export * from './deprecated-icons';
3
- export * from './svg.component';
4
- export * from './svg.service';
5
- export * from './svg-options';
@@ -1,50 +0,0 @@
1
- import { type FactoryProvider, InjectionToken, type Provider } from '@angular/core';
2
- import { type TuiHandler, type TuiSafeHtml, type TuiStringHandler } from '@taiga-ui/cdk/types';
3
- /**
4
- * @deprecated: drop in v5.0 use {@link TuiIcon}
5
- * https://taiga-ui.dev/components/icon
6
- */
7
- export declare const TUI_DEFAULT_ICONS_PLACE = "assets/taiga-ui/icons";
8
- /**
9
- * @deprecated: drop in v5.0 use {@link TuiIcon}
10
- * https://taiga-ui.dev/components/icon
11
- */
12
- export interface TuiSvgOptions {
13
- readonly contentProcessor: TuiHandler<TuiSafeHtml, TuiSafeHtml>;
14
- readonly deprecated: TuiStringHandler<string>;
15
- readonly iconsPlace: string;
16
- readonly path: (name: string, baseHref?: string) => string;
17
- readonly srcProcessor: TuiHandler<TuiSafeHtml, TuiSafeHtml>;
18
- }
19
- /**
20
- * @deprecated: drop in v5.0 use {@link TuiIcon}
21
- * https://taiga-ui.dev/components/icon
22
- */
23
- export type TuiSvgInterceptorHandler = ((src: TuiSafeHtml, options: TuiSvgOptions) => TuiSafeHtml) | ((src: TuiSafeHtml) => TuiSafeHtml);
24
- /**
25
- * @deprecated: drop in v5.0 use {@link TuiIcon}
26
- * https://taiga-ui.dev/components/icon
27
- */
28
- export declare const TUI_SVG_DEFAULT_OPTIONS: TuiSvgOptions;
29
- /**
30
- * @deprecated: drop in v5.0 use {@link TuiIcon}
31
- * https://taiga-ui.dev/components/icon
32
- */
33
- export declare const TUI_SVG_OPTIONS: InjectionToken<TuiSvgOptions>;
34
- /**
35
- * @deprecated: drop in v5.0 use {@link TuiIcon}
36
- * https://taiga-ui.dev/components/icon
37
- */
38
- export declare const TUI_SVG_SRC_INTERCEPTORS: InjectionToken<TuiSvgInterceptorHandler>;
39
- /**
40
- * @deprecated: drop in v5.0 use {@link TuiIcon}
41
- * https://taiga-ui.dev/components/icon
42
- */
43
- export declare function tuiSvgSrcInterceptors(interceptor: TuiSvgInterceptorHandler): Provider;
44
- /**
45
- * @deprecated: drop in v5.0 use {@link TuiIcon}
46
- * https://taiga-ui.dev/components/icon
47
- */
48
- export declare const tuiSvgOptionsProvider: (options: Partial<Omit<TuiSvgOptions, 'path'>> & {
49
- path?: TuiSvgOptions['path'] | string;
50
- }) => FactoryProvider;
@@ -1,50 +0,0 @@
1
- import { type SafeHtml } from '@angular/platform-browser';
2
- import { type TuiSafeHtml } from '@taiga-ui/cdk/types';
3
- import { type Observable } from 'rxjs';
4
- import * as i0 from "@angular/core";
5
- /**
6
- * @deprecated: drop in v5.0 use {@link TuiIcon}
7
- * https://taiga-ui.dev/components/icon
8
- */
9
- export interface TuiIconError {
10
- readonly icon: string;
11
- readonly message: string;
12
- }
13
- /**
14
- * @deprecated: drop in v5.0 use {@link TuiIcon}
15
- * https://taiga-ui.dev/components/icon
16
- */
17
- export declare class TuiSvgComponent {
18
- private icon;
19
- private readonly doc;
20
- private readonly win;
21
- private readonly options;
22
- private readonly tuiSanitizer;
23
- private readonly svgService;
24
- private readonly staticRequestService;
25
- private readonly sanitizer;
26
- private readonly el;
27
- private readonly baseHref;
28
- private readonly src$;
29
- private readonly srcInterceptors;
30
- protected readonly innerHTML$: Observable<SafeHtml>;
31
- set src(src: TuiSafeHtml | null | undefined);
32
- get src(): TuiSafeHtml;
33
- get use(): string;
34
- get isInnerHTML(): boolean;
35
- protected onError(message?: string): void;
36
- private get isShadowDOM();
37
- private get isUse();
38
- private get isExternal();
39
- private get isUrl();
40
- private get isSrc();
41
- private get isName();
42
- private get isCrossDomain();
43
- private resolveName;
44
- private getSafeHtml;
45
- private process;
46
- private sanitize;
47
- private getExternalIcon;
48
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiSvgComponent, never>;
49
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiSvgComponent, "tui-svg", never, { "src": { "alias": "src"; "required": false; }; }, {}, never, never, true, never>;
50
- }
@@ -1,21 +0,0 @@
1
- import { type SafeHtml } from '@angular/platform-browser';
2
- import { BehaviorSubject } from 'rxjs';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * @deprecated: drop in v5.0 use {@link TuiIcon}
6
- * Service for reusing SVGs without inlining each instance
7
- */
8
- export declare class TuiSvgService {
9
- private readonly tuiSanitizer;
10
- private readonly sanitizer;
11
- private originals;
12
- readonly items$: BehaviorSubject<Map<string, SafeHtml>>;
13
- constructor();
14
- define(icons: Record<string, string>): void;
15
- getOriginal(name: string): string | null;
16
- private defineIcon;
17
- private parseSrc;
18
- private sanitize;
19
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiSvgService, never>;
20
- static ɵprov: i0.ɵɵInjectableDeclaration<TuiSvgService>;
21
- }
@@ -1,3 +0,0 @@
1
- export * from './tag.component';
2
- export * from './tag.module';
3
- export * from './tag.options';
@@ -1,44 +0,0 @@
1
- import { ElementRef, EventEmitter } from '@angular/core';
2
- import { type TuiSizeL, type TuiSizeS, type TuiSizeXS } from '@taiga-ui/core/types';
3
- import { type TuiStatus } from '@taiga-ui/legacy/utils';
4
- import { type PolymorpheusContent } from '@taiga-ui/polymorpheus';
5
- import * as i0 from "@angular/core";
6
- /**
7
- * @deprecated: drop in v5.0 use {@link TuiChip}
8
- * https://taiga-ui.dev/components/chip
9
- */
10
- export declare class TuiTagComponent {
11
- private readonly el;
12
- private readonly options;
13
- protected editing: boolean;
14
- protected readonly icons: import("@taiga-ui/core/tokens").TuiCommonIcons;
15
- protected editedText: string | null;
16
- value: string;
17
- editable: boolean;
18
- separator: RegExp | string;
19
- maxLength: number | null;
20
- size: TuiSizeL | TuiSizeS;
21
- showLoader: boolean;
22
- status: TuiStatus;
23
- hoverable: boolean;
24
- removable: boolean;
25
- disabled: boolean;
26
- autoColor: boolean;
27
- leftContent: PolymorpheusContent;
28
- readonly edited: EventEmitter<string>;
29
- protected set input(input: ElementRef<HTMLInputElement>);
30
- protected get backgroundColor(): string | null;
31
- protected get canRemove(): boolean;
32
- protected get displayText(): string;
33
- protected get loaderSize(): TuiSizeXS;
34
- protected edit(event: Event): void;
35
- protected remove(event: Event): void;
36
- protected onInput(value: string): void;
37
- protected onKeyDown(event: KeyboardEvent): void;
38
- protected onBlur(): void;
39
- private get canEdit();
40
- private stopEditing;
41
- private save;
42
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiTagComponent, never>;
43
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiTagComponent, "tui-tag, a[tuiTag], button[tuiTag]", never, { "value": { "alias": "value"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "separator": { "alias": "separator"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "size": { "alias": "size"; "required": false; }; "showLoader": { "alias": "showLoader"; "required": false; }; "status": { "alias": "status"; "required": false; }; "hoverable": { "alias": "hoverable"; "required": false; }; "removable": { "alias": "removable"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "autoColor": { "alias": "autoColor"; "required": false; }; "leftContent": { "alias": "leftContent"; "required": false; }; }, { "edited": "edited"; }, never, never, false, never>;
44
- }