@taiga-ui/cdk 4.52.0-canary.974ca4b → 4.52.0-canary.9c7b1f0

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 (243) hide show
  1. package/constants/empty.d.ts +0 -9
  2. package/constants/handlers.d.ts +2 -0
  3. package/constants/used-icons.d.ts +2 -2
  4. package/constants/version.d.ts +1 -1
  5. package/constants/version.js +1 -1
  6. package/date-time/date-fillers.d.ts +5 -5
  7. package/date-time/day-range.d.ts +1 -1
  8. package/date-time/day.d.ts +3 -3
  9. package/date-time/types.d.ts +1 -7
  10. package/directives/active-zone/active-zone.directive.d.ts +0 -3
  11. package/directives/animated/animated.directive.d.ts +1 -3
  12. package/directives/animated/index.d.ts +0 -1
  13. package/directives/index.d.ts +0 -4
  14. package/directives/transitioned/transitioned.directive.d.ts +1 -0
  15. package/directives/value-changes/value-changes.directive.d.ts +1 -1
  16. package/fesm2022/taiga-ui-cdk-classes.mjs +4 -4
  17. package/fesm2022/taiga-ui-cdk-classes.mjs.map +1 -1
  18. package/fesm2022/taiga-ui-cdk-constants.mjs +5 -14
  19. package/fesm2022/taiga-ui-cdk-constants.mjs.map +1 -1
  20. package/fesm2022/taiga-ui-cdk-date-time.mjs +22 -23
  21. package/fesm2022/taiga-ui-cdk-date-time.mjs.map +1 -1
  22. package/fesm2022/taiga-ui-cdk-directives-active-zone.mjs +16 -27
  23. package/fesm2022/taiga-ui-cdk-directives-active-zone.mjs.map +1 -1
  24. package/fesm2022/taiga-ui-cdk-directives-animated.mjs +23 -70
  25. package/fesm2022/taiga-ui-cdk-directives-animated.mjs.map +1 -1
  26. package/fesm2022/taiga-ui-cdk-directives-auto-focus.mjs +5 -4
  27. package/fesm2022/taiga-ui-cdk-directives-auto-focus.mjs.map +1 -1
  28. package/fesm2022/taiga-ui-cdk-directives-control.mjs +3 -3
  29. package/fesm2022/taiga-ui-cdk-directives-copy-processor.mjs +4 -4
  30. package/fesm2022/taiga-ui-cdk-directives-copy-processor.mjs.map +1 -1
  31. package/fesm2022/taiga-ui-cdk-directives-element.mjs +4 -4
  32. package/fesm2022/taiga-ui-cdk-directives-element.mjs.map +1 -1
  33. package/fesm2022/taiga-ui-cdk-directives-focus-trap.mjs +5 -7
  34. package/fesm2022/taiga-ui-cdk-directives-focus-trap.mjs.map +1 -1
  35. package/fesm2022/taiga-ui-cdk-directives-font-size.mjs +3 -3
  36. package/fesm2022/taiga-ui-cdk-directives-high-dpi.mjs +3 -3
  37. package/fesm2022/taiga-ui-cdk-directives-hovered.mjs +7 -7
  38. package/fesm2022/taiga-ui-cdk-directives-hovered.mjs.map +1 -1
  39. package/fesm2022/taiga-ui-cdk-directives-item.mjs +3 -3
  40. package/fesm2022/taiga-ui-cdk-directives-media.mjs +4 -4
  41. package/fesm2022/taiga-ui-cdk-directives-media.mjs.map +1 -1
  42. package/fesm2022/taiga-ui-cdk-directives-native-validator.mjs +5 -4
  43. package/fesm2022/taiga-ui-cdk-directives-native-validator.mjs.map +1 -1
  44. package/fesm2022/taiga-ui-cdk-directives-obscured.mjs +7 -13
  45. package/fesm2022/taiga-ui-cdk-directives-obscured.mjs.map +1 -1
  46. package/fesm2022/taiga-ui-cdk-directives-pan.mjs +6 -6
  47. package/fesm2022/taiga-ui-cdk-directives-platform.mjs +3 -3
  48. package/fesm2022/taiga-ui-cdk-directives-resizer.mjs +6 -6
  49. package/fesm2022/taiga-ui-cdk-directives-swipe.mjs +6 -6
  50. package/fesm2022/taiga-ui-cdk-directives-transitioned.mjs +8 -14
  51. package/fesm2022/taiga-ui-cdk-directives-transitioned.mjs.map +1 -1
  52. package/fesm2022/taiga-ui-cdk-directives-validator.mjs +4 -4
  53. package/fesm2022/taiga-ui-cdk-directives-validator.mjs.map +1 -1
  54. package/fesm2022/taiga-ui-cdk-directives-value-changes.mjs +8 -7
  55. package/fesm2022/taiga-ui-cdk-directives-value-changes.mjs.map +1 -1
  56. package/fesm2022/taiga-ui-cdk-directives-visual-viewport.mjs +5 -4
  57. package/fesm2022/taiga-ui-cdk-directives-visual-viewport.mjs.map +1 -1
  58. package/fesm2022/taiga-ui-cdk-directives-with-styles.mjs +3 -3
  59. package/fesm2022/taiga-ui-cdk-directives-zoom.mjs +8 -7
  60. package/fesm2022/taiga-ui-cdk-directives-zoom.mjs.map +1 -1
  61. package/fesm2022/taiga-ui-cdk-directives.mjs +0 -4
  62. package/fesm2022/taiga-ui-cdk-directives.mjs.map +1 -1
  63. package/fesm2022/taiga-ui-cdk-observables.mjs +2 -24
  64. package/fesm2022/taiga-ui-cdk-observables.mjs.map +1 -1
  65. package/fesm2022/taiga-ui-cdk-pipes-filter.mjs +3 -3
  66. package/fesm2022/taiga-ui-cdk-pipes-mapper.mjs +3 -3
  67. package/fesm2022/taiga-ui-cdk-pipes-obfuscate.mjs +5 -4
  68. package/fesm2022/taiga-ui-cdk-pipes-obfuscate.mjs.map +1 -1
  69. package/fesm2022/taiga-ui-cdk-pipes.mjs +0 -6
  70. package/fesm2022/taiga-ui-cdk-pipes.mjs.map +1 -1
  71. package/fesm2022/taiga-ui-cdk-portals.mjs +15 -16
  72. package/fesm2022/taiga-ui-cdk-portals.mjs.map +1 -1
  73. package/fesm2022/taiga-ui-cdk-tokens.mjs +14 -47
  74. package/fesm2022/taiga-ui-cdk-tokens.mjs.map +1 -1
  75. package/fesm2022/taiga-ui-cdk-utils-browser.mjs +2 -3
  76. package/fesm2022/taiga-ui-cdk-utils-browser.mjs.map +1 -1
  77. package/fesm2022/taiga-ui-cdk-utils-di.mjs +45 -4
  78. package/fesm2022/taiga-ui-cdk-utils-di.mjs.map +1 -1
  79. package/fesm2022/taiga-ui-cdk-utils-dom.mjs +1 -74
  80. package/fesm2022/taiga-ui-cdk-utils-dom.mjs.map +1 -1
  81. package/fesm2022/taiga-ui-cdk-utils-focus.mjs +22 -38
  82. package/fesm2022/taiga-ui-cdk-utils-focus.mjs.map +1 -1
  83. package/fesm2022/taiga-ui-cdk-utils-math.mjs +13 -21
  84. package/fesm2022/taiga-ui-cdk-utils-math.mjs.map +1 -1
  85. package/fesm2022/taiga-ui-cdk-utils-miscellaneous.mjs +45 -123
  86. package/fesm2022/taiga-ui-cdk-utils-miscellaneous.mjs.map +1 -1
  87. package/fesm2022/taiga-ui-cdk-utils.mjs +0 -1
  88. package/fesm2022/taiga-ui-cdk-utils.mjs.map +1 -1
  89. package/fesm2022/taiga-ui-cdk.mjs +0 -1
  90. package/fesm2022/taiga-ui-cdk.mjs.map +1 -1
  91. package/index.d.ts +0 -1
  92. package/observables/index.d.ts +0 -2
  93. package/package.json +8 -57
  94. package/pipes/index.d.ts +0 -6
  95. package/portals/portal.d.ts +0 -1
  96. package/schematics/index.d.ts +5 -0
  97. package/schematics/index.js +4 -0
  98. package/schematics/index.js.map +1 -1
  99. package/schematics/ng-add/constants/versions.d.ts +1 -1
  100. package/schematics/ng-add/steps/add-taiga-modules.js +0 -15
  101. package/schematics/ng-add/steps/add-taiga-modules.js.map +1 -1
  102. package/schematics/ng-update/v4/migrate-css-vars/palette.d.ts +4 -4
  103. package/schematics/ng-update/v4/migrate-css-vars/palette.js +4 -4
  104. package/schematics/ng-update/v4/migrate-css-vars/palette.js.map +1 -1
  105. package/schematics/ng-update/v4/steps/styles/migrate-text-mixins.js +13 -13
  106. package/schematics/ng-update/v4/steps/styles/migrate-text-mixins.js.map +1 -1
  107. package/schematics/ng-update/v5/index.js +4 -0
  108. package/schematics/ng-update/v5/index.js.map +1 -1
  109. package/schematics/ng-update/v5/steps/constants/attrs-to-replace.d.ts +2 -0
  110. package/schematics/ng-update/v5/steps/constants/attrs-to-replace.js +26 -0
  111. package/schematics/ng-update/v5/steps/constants/attrs-to-replace.js.map +1 -0
  112. package/schematics/ng-update/v5/steps/constants/functions.js +1 -6
  113. package/schematics/ng-update/v5/steps/constants/functions.js.map +1 -1
  114. package/schematics/ng-update/v5/steps/constants/identifiers-to-replace.js +10 -0
  115. package/schematics/ng-update/v5/steps/constants/identifiers-to-replace.js.map +1 -1
  116. package/schematics/ng-update/v5/steps/migrate-css-variables.d.ts +3 -0
  117. package/schematics/ng-update/v5/steps/migrate-css-variables.js +30 -0
  118. package/schematics/ng-update/v5/steps/migrate-css-variables.js.map +1 -0
  119. package/schematics/ng-update/v5/steps/migrate-templates.js +6 -0
  120. package/schematics/ng-update/v5/steps/migrate-templates.js.map +1 -1
  121. package/schematics/ng-update/v5/steps/migrate-tui-let.d.ts +3 -0
  122. package/schematics/ng-update/v5/steps/migrate-tui-let.js +95 -0
  123. package/schematics/ng-update/v5/steps/migrate-tui-let.js.map +1 -0
  124. package/schematics/ng-update/v5/steps/templates/migrate-avatar.d.ts +8 -0
  125. package/schematics/ng-update/v5/steps/templates/migrate-avatar.js +111 -0
  126. package/schematics/ng-update/v5/steps/templates/migrate-avatar.js.map +1 -0
  127. package/schematics/ng-update/v5/steps/templates/migrate-notification.d.ts +8 -0
  128. package/schematics/ng-update/v5/steps/templates/migrate-notification.js +45 -0
  129. package/schematics/ng-update/v5/steps/templates/migrate-notification.js.map +1 -0
  130. package/schematics/utils/run-migration.d.ts +2 -2
  131. package/schematics/utils/run-migration.js +4 -3
  132. package/schematics/utils/run-migration.js.map +1 -1
  133. package/schematics/utils/templates/elements.d.ts +4 -1
  134. package/schematics/utils/templates/elements.js.map +1 -1
  135. package/tokens/environment.d.ts +0 -13
  136. package/tokens/index.d.ts +0 -2
  137. package/tokens/removed-element.d.ts +0 -3
  138. package/types/index.d.ts +0 -3
  139. package/utils/di/index.d.ts +3 -0
  140. package/utils/dom/index.d.ts +0 -6
  141. package/utils/focus/get-closest-focusable.d.ts +1 -6
  142. package/utils/focus/index.d.ts +4 -6
  143. package/utils/focus/{is-native-keyboard-focusable.d.ts → is-focusable.d.ts} +1 -1
  144. package/utils/index.d.ts +0 -1
  145. package/utils/math/clamp.d.ts +1 -5
  146. package/utils/math/index.d.ts +0 -2
  147. package/utils/miscellaneous/generate-id.d.ts +1 -0
  148. package/utils/miscellaneous/index.d.ts +2 -11
  149. package/utils/miscellaneous/sanitize-text.d.ts +23 -0
  150. package/directives/animated/animated-parent.directive.d.ts +0 -10
  151. package/directives/click-outside/click-outside.directive.d.ts +0 -14
  152. package/directives/click-outside/index.d.ts +0 -1
  153. package/directives/droppable/droppable.directive.d.ts +0 -10
  154. package/directives/droppable/index.d.ts +0 -1
  155. package/directives/let/index.d.ts +0 -2
  156. package/directives/let/let-context.d.ts +0 -11
  157. package/directives/let/let.directive.d.ts +0 -18
  158. package/directives/repeat-times/index.d.ts +0 -1
  159. package/directives/repeat-times/repeat-times.directive.d.ts +0 -23
  160. package/fesm2022/taiga-ui-cdk-directives-click-outside.mjs +0 -38
  161. package/fesm2022/taiga-ui-cdk-directives-click-outside.mjs.map +0 -1
  162. package/fesm2022/taiga-ui-cdk-directives-droppable.mjs +0 -35
  163. package/fesm2022/taiga-ui-cdk-directives-droppable.mjs.map +0 -1
  164. package/fesm2022/taiga-ui-cdk-directives-let.mjs +0 -52
  165. package/fesm2022/taiga-ui-cdk-directives-let.mjs.map +0 -1
  166. package/fesm2022/taiga-ui-cdk-directives-repeat-times.mjs +0 -60
  167. package/fesm2022/taiga-ui-cdk-directives-repeat-times.mjs.map +0 -1
  168. package/fesm2022/taiga-ui-cdk-pipes-animation.mjs +0 -32
  169. package/fesm2022/taiga-ui-cdk-pipes-animation.mjs.map +0 -1
  170. package/fesm2022/taiga-ui-cdk-pipes-is-present.mjs +0 -24
  171. package/fesm2022/taiga-ui-cdk-pipes-is-present.mjs.map +0 -1
  172. package/fesm2022/taiga-ui-cdk-pipes-keys.mjs +0 -23
  173. package/fesm2022/taiga-ui-cdk-pipes-keys.mjs.map +0 -1
  174. package/fesm2022/taiga-ui-cdk-pipes-repeat-times.mjs +0 -24
  175. package/fesm2022/taiga-ui-cdk-pipes-repeat-times.mjs.map +0 -1
  176. package/fesm2022/taiga-ui-cdk-pipes-replace.mjs +0 -25
  177. package/fesm2022/taiga-ui-cdk-pipes-replace.mjs.map +0 -1
  178. package/fesm2022/taiga-ui-cdk-pipes-to-array.mjs +0 -23
  179. package/fesm2022/taiga-ui-cdk-pipes-to-array.mjs.map +0 -1
  180. package/fesm2022/taiga-ui-cdk-services.mjs +0 -111
  181. package/fesm2022/taiga-ui-cdk-services.mjs.map +0 -1
  182. package/fesm2022/taiga-ui-cdk-utils-color.mjs +0 -196
  183. package/fesm2022/taiga-ui-cdk-utils-color.mjs.map +0 -1
  184. package/observables/must-be-present.d.ts +0 -5
  185. package/observables/query-list-observable.d.ts +0 -6
  186. package/pipes/animation/animation.pipe.d.ts +0 -13
  187. package/pipes/animation/index.d.ts +0 -1
  188. package/pipes/is-present/index.d.ts +0 -1
  189. package/pipes/is-present/is-present.pipe.d.ts +0 -7
  190. package/pipes/keys/index.d.ts +0 -1
  191. package/pipes/keys/keys.pipe.d.ts +0 -7
  192. package/pipes/repeat-times/index.d.ts +0 -7
  193. package/pipes/replace/index.d.ts +0 -1
  194. package/pipes/replace/replace.pipe.d.ts +0 -7
  195. package/pipes/to-array/index.d.ts +0 -1
  196. package/pipes/to-array/to-array.pipe.d.ts +0 -7
  197. package/schematics/migrate-tui-let/index.d.ts +0 -3
  198. package/schematics/migrate-tui-let/index.js +0 -73
  199. package/schematics/migrate-tui-let/index.js.map +0 -1
  200. package/schematics/migrate-tui-let/schema.json +0 -7
  201. package/services/id.service.d.ts +0 -8
  202. package/services/index.d.ts +0 -3
  203. package/services/scroll.service.d.ts +0 -13
  204. package/services/theme-color.service.d.ts +0 -18
  205. package/tokens/base-href.d.ts +0 -2
  206. package/tokens/range.d.ts +0 -5
  207. package/types/loose-union.d.ts +0 -36
  208. package/types/safe-html.d.ts +0 -2
  209. package/types/values-of.d.ts +0 -1
  210. package/utils/color/get-gradient-data.d.ts +0 -1
  211. package/utils/color/hex-to-rgb.d.ts +0 -1
  212. package/utils/color/hex-to-rgba.d.ts +0 -3
  213. package/utils/color/hsv-to-rgb.d.ts +0 -4
  214. package/utils/color/index.d.ts +0 -9
  215. package/utils/color/parse-color.d.ts +0 -1
  216. package/utils/color/parse-gradient.d.ts +0 -10
  217. package/utils/color/rgb-to-hex.d.ts +0 -1
  218. package/utils/color/rgb-to-hsv.d.ts +0 -1
  219. package/utils/color/rgba-to-hex.d.ts +0 -2
  220. package/utils/dom/get-element-point.d.ts +0 -2
  221. package/utils/dom/is-current-target.d.ts +0 -1
  222. package/utils/dom/is-inside-iframe.d.ts +0 -4
  223. package/utils/dom/is-node-in.d.ts +0 -8
  224. package/utils/dom/retarget-boundary-crossing.d.ts +0 -1
  225. package/utils/dom/value-binding.d.ts +0 -3
  226. package/utils/focus/blur-native-focused.d.ts +0 -4
  227. package/utils/focus/is-native-mouse-focusable.d.ts +0 -1
  228. package/utils/math/to-integer.d.ts +0 -1
  229. package/utils/math/to-radians.d.ts +0 -4
  230. package/utils/miscellaneous/change-date-separator.d.ts +0 -1
  231. package/utils/miscellaneous/create-token.d.ts +0 -9
  232. package/utils/miscellaneous/flat-length.d.ts +0 -6
  233. package/utils/miscellaneous/get-original-array-from-query-list.d.ts +0 -8
  234. package/utils/miscellaneous/is-falsy.d.ts +0 -1
  235. package/utils/miscellaneous/is-valid-url.d.ts +0 -4
  236. package/utils/miscellaneous/object-shallow-equals.d.ts +0 -1
  237. package/utils/miscellaneous/uniq-by.d.ts +0 -1
  238. /package/utils/{miscellaneous → di}/directive-binding.d.ts +0 -0
  239. /package/utils/{miscellaneous → di}/provide-options.d.ts +0 -0
  240. /package/utils/{miscellaneous → di}/provide.d.ts +0 -0
  241. /package/utils/focus/{get-native-focused.d.ts → get-focused.d.ts} +0 -0
  242. /package/utils/focus/{is-native-focused-in.d.ts → is-focused-in.d.ts} +0 -0
  243. /package/utils/focus/{is-native-focused.d.ts → is-focused.d.ts} +0 -0
@@ -1,18 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare const TUI_THEME_COLOR: InjectionToken<string>;
4
- interface TuiThemeColor {
5
- get color(): string;
6
- set color(value: string);
7
- }
8
- export declare class TuiThemeColorService implements TuiThemeColor {
9
- private current;
10
- private readonly doc;
11
- private readonly meta;
12
- constructor();
13
- get color(): string;
14
- set color(content: string);
15
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiThemeColorService, never>;
16
- static ɵprov: i0.ɵɵInjectableDeclaration<TuiThemeColorService>;
17
- }
18
- export {};
@@ -1,2 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- export declare const TUI_BASE_HREF: InjectionToken<string>;
package/tokens/range.d.ts DELETED
@@ -1,5 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- /**
3
- * SSR safe default empty Range
4
- */
5
- export declare const TUI_RANGE: InjectionToken<Range>;
@@ -1,36 +0,0 @@
1
- /**
2
- * @example
3
- * type Color = 'primary' | 'secondary' | string;
4
- *
5
- * Your brand has some known colors, like `primary` and `secondary`.
6
- * But you also want to make sure that users can specify any color they want.
7
- *
8
- * @Input() color: Color = '';
9
- *
10
- * <my-icon color="red" />
11
- *
12
- * But there's an issue. We aren't getting `color`
13
- * suggestions when we use the `MyIcon` component.
14
- * If we try to autocomplete the `color` prop, we get no suggestions.
15
- * Ideally, we want `primary` and `secondary` to be part of that list.
16
- * How do we manage that?
17
- *
18
- * This works because of a quirk of the TypeScript compiler.
19
- * When you create a union between a string literal type and `string`,
20
- * TypeScript will eagerly widen the type to `string`.
21
- *
22
- * But if we change type to
23
- * type Color = 'primary' | 'secondary' | (string & {});
24
- *
25
- * TypeScript has already forgotten that `"primary"` and `"secondary"`
26
- * were ever part of the type. But by intersecting `string` with
27
- * an empty object, we trick TypeScript into retaining the string
28
- * literal types for a bit longer.
29
- *
30
- * This might feel pretty fragile to you. This doesn't seem like
31
- * intended behavior from TypeScript. Well, the team actually
32
- * know about this trick. They test against it. And someday, they may make
33
- * it so that a plain `string` type will just work.
34
- * But until then, keep this in mind.
35
- */
36
- export type TuiLooseUnion<U> = U | (U extends string ? Record<never, never> & string : U extends number ? Record<never, never> & number : U extends symbol ? Record<never, never> & symbol : U extends bigint ? Record<never, never> & bigint : never);
@@ -1,2 +0,0 @@
1
- import { type SafeHtml } from '@angular/platform-browser';
2
- export type TuiSafeHtml = SafeHtml | string;
@@ -1 +0,0 @@
1
- export type TuiValuesOf<T> = T[keyof T];
@@ -1 +0,0 @@
1
- export declare function tuiGetGradientData(gradient: string): string;
@@ -1 +0,0 @@
1
- export declare function tuiHexToRgb(hex: string): [number, number, number];
@@ -1,3 +0,0 @@
1
- export declare function tuiHexToRGBA(hex: string, alpha?: number): string;
2
- export declare function tuiIsValidHex(hex: string): boolean;
3
- export declare function tuiParseHex(hex: string, alpha?: number): [number, number, number, number];
@@ -1,4 +0,0 @@
1
- /**
2
- * https://stackoverflow.com/a/54024653/2706426
3
- */
4
- export declare function tuiHsvToRgb(h: number, s: number, v: number): [number, number, number];
@@ -1,9 +0,0 @@
1
- export * from './get-gradient-data';
2
- export * from './hex-to-rgb';
3
- export * from './hex-to-rgba';
4
- export * from './hsv-to-rgb';
5
- export * from './parse-color';
6
- export * from './parse-gradient';
7
- export * from './rgb-to-hex';
8
- export * from './rgb-to-hsv';
9
- export * from './rgba-to-hex';
@@ -1 +0,0 @@
1
- export declare function tuiParseColor(color: string): [number, number, number, number];
@@ -1,10 +0,0 @@
1
- export interface TuiParsedGradient {
2
- readonly side: TuiGradientDirection;
3
- readonly stops: ReadonlyArray<{
4
- readonly color: string;
5
- readonly position: string;
6
- }>;
7
- }
8
- export type TuiGradientDirection = 'to bottom left' | 'to bottom right' | 'to bottom' | 'to left' | 'to right' | 'to top left' | 'to top right' | 'to top';
9
- export declare function tuiParseGradient(input: string): TuiParsedGradient;
10
- export declare function tuiToGradient({ stops, side }: TuiParsedGradient): string;
@@ -1 +0,0 @@
1
- export declare function tuiRgbToHex(r: number, g: number, b: number): string;
@@ -1 +0,0 @@
1
- export declare function tuiRgbToHsv(r: number, g: number, b: number): [number, number, number];
@@ -1,2 +0,0 @@
1
- export declare function tuiRgbaToHex(color: string): string;
2
- export declare function tuiIsValidRgba(rgba: string): boolean;
@@ -1,2 +0,0 @@
1
- import { type TuiPoint } from '@taiga-ui/core/types';
2
- export declare function tuiGetElementPoint(x: number, y: number, element: HTMLElement): TuiPoint;
@@ -1 +0,0 @@
1
- export declare function tuiIsCurrentTarget({ target, currentTarget }: Event): boolean;
@@ -1,4 +0,0 @@
1
- /**
2
- * Checks if an app is running inside <iframe /> tag
3
- */
4
- export declare function tuiIsInsideIframe(win: Window): boolean;
@@ -1,8 +0,0 @@
1
- /**
2
- * Checks if node is inside a specific selector
3
- *
4
- * @param node
5
- * @param selector
6
- * @return true if node is inside a particular selector
7
- */
8
- export declare function tuiIsNodeIn(node: Node, selector: string): boolean;
@@ -1 +0,0 @@
1
- export declare function tuiRetargetedBoundaryCrossing(event: Event): boolean;
@@ -1,3 +0,0 @@
1
- import { type Signal, type WritableSignal } from '@angular/core';
2
- export declare function tuiValueBinding(value?: WritableSignal<string>): WritableSignal<string>;
3
- export declare function tuiValueBinding(value?: Signal<string>): Signal<string>;
@@ -1,4 +0,0 @@
1
- /**
2
- * Finds and blurs current active element, including shadow DOM
3
- */
4
- export declare function tuiBlurFocused(doc: Document): void;
@@ -1 +0,0 @@
1
- export declare function tuiIsMouseFocusable(element: Element): boolean;
@@ -1 +0,0 @@
1
- export declare function tuiToInteger(value: number | string): number;
@@ -1,4 +0,0 @@
1
- /**
2
- * Converts angle in degrees to radians
3
- */
4
- export declare function tuiToRadians(deg: number): number;
@@ -1 +0,0 @@
1
- export declare const changeDateSeparator: (dateString: string, newDateSeparator: string) => string;
@@ -1,9 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- /**
3
- * @deprecated: drop in v5.0
4
- */
5
- export declare function tuiCreateToken<T>(defaults?: T): InjectionToken<T>;
6
- /**
7
- * @deprecated: drop in v5.0
8
- */
9
- export declare function tuiCreateTokenFromFactory<T>(factory?: () => T): InjectionToken<T>;
@@ -1,6 +0,0 @@
1
- /**
2
- * Flattens two-dimensional array and calculates resulting length
3
- *
4
- * @param array twi dimensional array
5
- */
6
- export declare function tuiFlatLength(array: ReadonlyArray<readonly unknown[]>): number;
@@ -1,8 +0,0 @@
1
- import { type QueryList } from '@angular/core';
2
- /**
3
- * Extracts original array from {@link QueryList} rather than
4
- * creating a copy like {@link QueryList.toArray} does.
5
- * @param queryList
6
- * @returns original array from {@link QueryList}.
7
- */
8
- export declare function tuiGetOriginalArrayFromQueryList<T>(queryList: QueryList<T>): readonly T[];
@@ -1 +0,0 @@
1
- export declare function tuiIsFalsy(value: unknown): boolean;
@@ -1,4 +0,0 @@
1
- /**
2
- * @deprecated: drop in v5.0
3
- */
4
- export declare function tuiIsValidUrl(url: string): boolean;
@@ -1 +0,0 @@
1
- export declare const tuiObjectShallowEquals: <T extends object>(a: T, b: T) => boolean;
@@ -1 +0,0 @@
1
- export declare function tuiUniqBy<T extends Record<string, any>>(array: readonly T[], key: keyof T): readonly T[];
File without changes