@taiga-ui/cdk 4.52.0-canary.c107f6a → 4.52.0-canary.ca43bcb

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 (219) hide show
  1. package/README.md +1 -1
  2. package/classes/control.d.ts +4 -6
  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 -2
  11. package/directives/auto-focus/autofocus.directive.d.ts +2 -3
  12. package/directives/copy-processor/copy-processor.directive.d.ts +2 -2
  13. package/directives/hovered/hovered.directive.d.ts +1 -2
  14. package/directives/index.d.ts +0 -5
  15. package/directives/media/media.directive.d.ts +8 -12
  16. package/directives/native-validator/native-validator.directive.d.ts +2 -2
  17. package/directives/obscured/obscured.directive.d.ts +4 -4
  18. package/directives/pan/pan.directive.d.ts +1 -2
  19. package/directives/platform/platform.directive.d.ts +2 -2
  20. package/directives/resizer/resizer.directive.d.ts +3 -4
  21. package/directives/swipe/swipe.directive.d.ts +1 -2
  22. package/directives/transitioned/transitioned.directive.d.ts +1 -0
  23. package/directives/value-changes/value-changes.directive.d.ts +2 -2
  24. package/fesm2022/taiga-ui-cdk-classes.mjs +5 -17
  25. package/fesm2022/taiga-ui-cdk-classes.mjs.map +1 -1
  26. package/fesm2022/taiga-ui-cdk-constants.mjs +13 -2
  27. package/fesm2022/taiga-ui-cdk-constants.mjs.map +1 -1
  28. package/fesm2022/taiga-ui-cdk-date-time.mjs +22 -22
  29. package/fesm2022/taiga-ui-cdk-date-time.mjs.map +1 -1
  30. package/fesm2022/taiga-ui-cdk-directives-active-zone.mjs +7 -11
  31. package/fesm2022/taiga-ui-cdk-directives-active-zone.mjs.map +1 -1
  32. package/fesm2022/taiga-ui-cdk-directives-auto-focus.mjs +8 -10
  33. package/fesm2022/taiga-ui-cdk-directives-auto-focus.mjs.map +1 -1
  34. package/fesm2022/taiga-ui-cdk-directives-copy-processor.mjs +5 -7
  35. package/fesm2022/taiga-ui-cdk-directives-copy-processor.mjs.map +1 -1
  36. package/fesm2022/taiga-ui-cdk-directives-focus-trap.mjs +3 -5
  37. package/fesm2022/taiga-ui-cdk-directives-focus-trap.mjs.map +1 -1
  38. package/fesm2022/taiga-ui-cdk-directives-hovered.mjs +4 -6
  39. package/fesm2022/taiga-ui-cdk-directives-hovered.mjs.map +1 -1
  40. package/fesm2022/taiga-ui-cdk-directives-media.mjs +30 -54
  41. package/fesm2022/taiga-ui-cdk-directives-media.mjs.map +1 -1
  42. package/fesm2022/taiga-ui-cdk-directives-native-validator.mjs +5 -7
  43. package/fesm2022/taiga-ui-cdk-directives-native-validator.mjs.map +1 -1
  44. package/fesm2022/taiga-ui-cdk-directives-obscured.mjs +9 -20
  45. package/fesm2022/taiga-ui-cdk-directives-obscured.mjs.map +1 -1
  46. package/fesm2022/taiga-ui-cdk-directives-pan.mjs +4 -5
  47. package/fesm2022/taiga-ui-cdk-directives-pan.mjs.map +1 -1
  48. package/fesm2022/taiga-ui-cdk-directives-platform.mjs +7 -9
  49. package/fesm2022/taiga-ui-cdk-directives-platform.mjs.map +1 -1
  50. package/fesm2022/taiga-ui-cdk-directives-resizer.mjs +14 -16
  51. package/fesm2022/taiga-ui-cdk-directives-resizer.mjs.map +1 -1
  52. package/fesm2022/taiga-ui-cdk-directives-swipe.mjs +4 -5
  53. package/fesm2022/taiga-ui-cdk-directives-swipe.mjs.map +1 -1
  54. package/fesm2022/taiga-ui-cdk-directives-transitioned.mjs +4 -10
  55. package/fesm2022/taiga-ui-cdk-directives-transitioned.mjs.map +1 -1
  56. package/fesm2022/taiga-ui-cdk-directives-value-changes.mjs +5 -5
  57. package/fesm2022/taiga-ui-cdk-directives-value-changes.mjs.map +1 -1
  58. package/fesm2022/taiga-ui-cdk-directives.mjs +0 -5
  59. package/fesm2022/taiga-ui-cdk-directives.mjs.map +1 -1
  60. package/fesm2022/taiga-ui-cdk-observables.mjs +2 -24
  61. package/fesm2022/taiga-ui-cdk-observables.mjs.map +1 -1
  62. package/fesm2022/taiga-ui-cdk-pipes-obfuscate.mjs.map +1 -1
  63. package/fesm2022/taiga-ui-cdk-pipes.mjs +0 -6
  64. package/fesm2022/taiga-ui-cdk-pipes.mjs.map +1 -1
  65. package/fesm2022/taiga-ui-cdk-portals.mjs +4 -4
  66. package/fesm2022/taiga-ui-cdk-portals.mjs.map +1 -1
  67. package/fesm2022/taiga-ui-cdk-tokens.mjs +13 -47
  68. package/fesm2022/taiga-ui-cdk-tokens.mjs.map +1 -1
  69. package/fesm2022/taiga-ui-cdk-utils-browser.mjs +2 -3
  70. package/fesm2022/taiga-ui-cdk-utils-browser.mjs.map +1 -1
  71. package/fesm2022/taiga-ui-cdk-utils-di.mjs +45 -4
  72. package/fesm2022/taiga-ui-cdk-utils-di.mjs.map +1 -1
  73. package/fesm2022/taiga-ui-cdk-utils-dom.mjs +2 -74
  74. package/fesm2022/taiga-ui-cdk-utils-dom.mjs.map +1 -1
  75. package/fesm2022/taiga-ui-cdk-utils-focus.mjs +22 -38
  76. package/fesm2022/taiga-ui-cdk-utils-focus.mjs.map +1 -1
  77. package/fesm2022/taiga-ui-cdk-utils-math.mjs +1 -12
  78. package/fesm2022/taiga-ui-cdk-utils-math.mjs.map +1 -1
  79. package/fesm2022/taiga-ui-cdk-utils-miscellaneous.mjs +45 -119
  80. package/fesm2022/taiga-ui-cdk-utils-miscellaneous.mjs.map +1 -1
  81. package/fesm2022/taiga-ui-cdk-utils.mjs +0 -1
  82. package/fesm2022/taiga-ui-cdk-utils.mjs.map +1 -1
  83. package/fesm2022/taiga-ui-cdk.mjs +0 -1
  84. package/fesm2022/taiga-ui-cdk.mjs.map +1 -1
  85. package/index.d.ts +0 -1
  86. package/observables/index.d.ts +0 -2
  87. package/package.json +1 -54
  88. package/pipes/index.d.ts +0 -6
  89. package/pipes/obfuscate/obfuscate.options.d.ts +1 -1
  90. package/portals/portal.d.ts +1 -2
  91. package/schematics/ng-add/constants/versions.d.ts +1 -1
  92. package/schematics/ng-update/interfaces/html-comment.d.ts +1 -1
  93. package/schematics/ng-update/interfaces/removable-input.d.ts +1 -1
  94. package/schematics/ng-update/interfaces/replacement-attribute-to-directive.d.ts +1 -1
  95. package/schematics/ng-update/interfaces/replacement-attribute-value.d.ts +1 -1
  96. package/schematics/ng-update/interfaces/replacement-attribute.d.ts +1 -1
  97. package/schematics/ng-update/interfaces/replacement-tag.d.ts +1 -1
  98. package/schematics/ng-update/v4/steps/migrate-templates.d.ts +2 -2
  99. package/schematics/ng-update/v5/steps/constants/attrs-to-replace.d.ts +2 -0
  100. package/schematics/ng-update/v5/steps/constants/attrs-to-replace.js +22 -0
  101. package/schematics/ng-update/v5/steps/constants/attrs-to-replace.js.map +1 -0
  102. package/schematics/ng-update/v5/steps/constants/functions.js +1 -6
  103. package/schematics/ng-update/v5/steps/constants/functions.js.map +1 -1
  104. package/schematics/ng-update/v5/steps/migrate-templates.d.ts +2 -2
  105. package/schematics/ng-update/v5/steps/migrate-templates.js +4 -0
  106. package/schematics/ng-update/v5/steps/migrate-templates.js.map +1 -1
  107. package/schematics/ng-update/v5/steps/templates/migrate-avatar.d.ts +8 -0
  108. package/schematics/ng-update/v5/steps/templates/migrate-avatar.js +111 -0
  109. package/schematics/ng-update/v5/steps/templates/migrate-avatar.js.map +1 -0
  110. package/schematics/utils/run-migration.d.ts +2 -2
  111. package/schematics/utils/run-migration.js +4 -3
  112. package/schematics/utils/run-migration.js.map +1 -1
  113. package/schematics/utils/templates/ng-component-input-manipulations.d.ts +3 -3
  114. package/tokens/environment.d.ts +0 -13
  115. package/tokens/index.d.ts +0 -2
  116. package/tokens/removed-element.d.ts +0 -3
  117. package/types/index.d.ts +0 -2
  118. package/utils/di/index.d.ts +3 -0
  119. package/utils/dom/index.d.ts +0 -6
  120. package/utils/focus/get-closest-focusable.d.ts +1 -6
  121. package/utils/focus/index.d.ts +4 -6
  122. package/utils/focus/{is-native-keyboard-focusable.d.ts → is-focusable.d.ts} +1 -1
  123. package/utils/index.d.ts +0 -1
  124. package/utils/math/index.d.ts +0 -2
  125. package/utils/miscellaneous/generate-id.d.ts +1 -0
  126. package/utils/miscellaneous/index.d.ts +2 -10
  127. package/utils/miscellaneous/sanitize-text.d.ts +23 -0
  128. package/directives/click-outside/click-outside.directive.d.ts +0 -14
  129. package/directives/click-outside/index.d.ts +0 -1
  130. package/directives/droppable/droppable.directive.d.ts +0 -8
  131. package/directives/droppable/index.d.ts +0 -1
  132. package/directives/let/index.d.ts +0 -2
  133. package/directives/let/let-context.d.ts +0 -11
  134. package/directives/let/let.directive.d.ts +0 -18
  135. package/directives/popover/index.d.ts +0 -1
  136. package/directives/popover/popover.directive.d.ts +0 -14
  137. package/directives/repeat-times/index.d.ts +0 -1
  138. package/directives/repeat-times/repeat-times.directive.d.ts +0 -22
  139. package/fesm2022/taiga-ui-cdk-directives-click-outside.mjs +0 -38
  140. package/fesm2022/taiga-ui-cdk-directives-click-outside.mjs.map +0 -1
  141. package/fesm2022/taiga-ui-cdk-directives-droppable.mjs +0 -36
  142. package/fesm2022/taiga-ui-cdk-directives-droppable.mjs.map +0 -1
  143. package/fesm2022/taiga-ui-cdk-directives-let.mjs +0 -52
  144. package/fesm2022/taiga-ui-cdk-directives-let.mjs.map +0 -1
  145. package/fesm2022/taiga-ui-cdk-directives-popover.mjs +0 -32
  146. package/fesm2022/taiga-ui-cdk-directives-popover.mjs.map +0 -1
  147. package/fesm2022/taiga-ui-cdk-directives-repeat-times.mjs +0 -60
  148. package/fesm2022/taiga-ui-cdk-directives-repeat-times.mjs.map +0 -1
  149. package/fesm2022/taiga-ui-cdk-pipes-animation.mjs +0 -32
  150. package/fesm2022/taiga-ui-cdk-pipes-animation.mjs.map +0 -1
  151. package/fesm2022/taiga-ui-cdk-pipes-is-present.mjs +0 -24
  152. package/fesm2022/taiga-ui-cdk-pipes-is-present.mjs.map +0 -1
  153. package/fesm2022/taiga-ui-cdk-pipes-keys.mjs +0 -23
  154. package/fesm2022/taiga-ui-cdk-pipes-keys.mjs.map +0 -1
  155. package/fesm2022/taiga-ui-cdk-pipes-repeat-times.mjs +0 -24
  156. package/fesm2022/taiga-ui-cdk-pipes-repeat-times.mjs.map +0 -1
  157. package/fesm2022/taiga-ui-cdk-pipes-replace.mjs +0 -25
  158. package/fesm2022/taiga-ui-cdk-pipes-replace.mjs.map +0 -1
  159. package/fesm2022/taiga-ui-cdk-pipes-to-array.mjs +0 -23
  160. package/fesm2022/taiga-ui-cdk-pipes-to-array.mjs.map +0 -1
  161. package/fesm2022/taiga-ui-cdk-services.mjs +0 -151
  162. package/fesm2022/taiga-ui-cdk-services.mjs.map +0 -1
  163. package/fesm2022/taiga-ui-cdk-utils-color.mjs +0 -195
  164. package/fesm2022/taiga-ui-cdk-utils-color.mjs.map +0 -1
  165. package/observables/must-be-present.d.ts +0 -5
  166. package/observables/query-list-observable.d.ts +0 -6
  167. package/pipes/animation/animation.pipe.d.ts +0 -13
  168. package/pipes/animation/index.d.ts +0 -1
  169. package/pipes/is-present/index.d.ts +0 -1
  170. package/pipes/is-present/is-present.pipe.d.ts +0 -7
  171. package/pipes/keys/index.d.ts +0 -1
  172. package/pipes/keys/keys.pipe.d.ts +0 -7
  173. package/pipes/repeat-times/index.d.ts +0 -7
  174. package/pipes/replace/index.d.ts +0 -1
  175. package/pipes/replace/replace.pipe.d.ts +0 -7
  176. package/pipes/to-array/index.d.ts +0 -1
  177. package/pipes/to-array/to-array.pipe.d.ts +0 -7
  178. package/services/id.service.d.ts +0 -8
  179. package/services/index.d.ts +0 -4
  180. package/services/popover.service.d.ts +0 -25
  181. package/services/scroll.service.d.ts +0 -13
  182. package/services/theme-color.service.d.ts +0 -18
  183. package/tokens/base-href.d.ts +0 -2
  184. package/tokens/range.d.ts +0 -5
  185. package/types/safe-html.d.ts +0 -2
  186. package/types/values-of.d.ts +0 -1
  187. package/utils/color/get-gradient-data.d.ts +0 -1
  188. package/utils/color/hex-to-rgb.d.ts +0 -1
  189. package/utils/color/hex-to-rgba.d.ts +0 -3
  190. package/utils/color/hsv-to-rgb.d.ts +0 -4
  191. package/utils/color/index.d.ts +0 -9
  192. package/utils/color/parse-color.d.ts +0 -1
  193. package/utils/color/parse-gradient.d.ts +0 -10
  194. package/utils/color/rgb-to-hex.d.ts +0 -1
  195. package/utils/color/rgb-to-hsv.d.ts +0 -1
  196. package/utils/color/rgba-to-hex.d.ts +0 -2
  197. package/utils/dom/get-element-point.d.ts +0 -2
  198. package/utils/dom/is-current-target.d.ts +0 -1
  199. package/utils/dom/is-inside-iframe.d.ts +0 -4
  200. package/utils/dom/is-node-in.d.ts +0 -8
  201. package/utils/dom/retarget-boundary-crossing.d.ts +0 -1
  202. package/utils/dom/value-binding.d.ts +0 -3
  203. package/utils/focus/blur-native-focused.d.ts +0 -4
  204. package/utils/focus/is-native-mouse-focusable.d.ts +0 -1
  205. package/utils/math/to-integer.d.ts +0 -1
  206. package/utils/math/to-radians.d.ts +0 -4
  207. package/utils/miscellaneous/change-date-separator.d.ts +0 -1
  208. package/utils/miscellaneous/create-token.d.ts +0 -9
  209. package/utils/miscellaneous/flat-length.d.ts +0 -6
  210. package/utils/miscellaneous/get-original-array-from-query-list.d.ts +0 -8
  211. package/utils/miscellaneous/is-falsy.d.ts +0 -1
  212. package/utils/miscellaneous/is-valid-url.d.ts +0 -4
  213. package/utils/miscellaneous/uniq-by.d.ts +0 -1
  214. /package/utils/{miscellaneous → di}/directive-binding.d.ts +0 -0
  215. /package/utils/{miscellaneous → di}/provide-options.d.ts +0 -0
  216. /package/utils/{miscellaneous → di}/provide.d.ts +0 -0
  217. /package/utils/focus/{get-native-focused.d.ts → get-focused.d.ts} +0 -0
  218. /package/utils/focus/{is-native-focused-in.d.ts → is-focused-in.d.ts} +0 -0
  219. /package/utils/focus/{is-native-focused.d.ts → is-focused.d.ts} +0 -0
@@ -1,25 +0,0 @@
1
- import { type Provider, type ProviderToken, type Type } from '@angular/core';
2
- import { type TuiContext } from '@taiga-ui/cdk/types';
3
- import { PolymorpheusComponent, type PolymorpheusContent } from '@taiga-ui/polymorpheus';
4
- import { type BehaviorSubject, Observable, type Observer } from 'rxjs';
5
- import * as i0 from "@angular/core";
6
- export interface TuiPopoverContext<O> extends TuiContext<Observer<O>> {
7
- readonly component: PolymorpheusComponent<any>;
8
- readonly createdAt: number;
9
- readonly id: string;
10
- readonly completeWith: (value: O) => void;
11
- }
12
- export type TuiPopover<T, O> = T & TuiPopoverContext<O> & {
13
- content: PolymorpheusContent<T & TuiPopoverContext<O>>;
14
- };
15
- export declare abstract class TuiPopoverService<T, K = void> {
16
- protected readonly options: T;
17
- private readonly component;
18
- private readonly id;
19
- protected readonly items$: BehaviorSubject<ReadonlyArray<TuiPopover<T, any>>>;
20
- constructor(items: ProviderToken<BehaviorSubject<ReadonlyArray<TuiPopover<T, any>>>>, component: Type<any>, options?: T);
21
- open<G = void>(content: PolymorpheusContent<T & TuiPopoverContext<K extends void ? G : K>>, options?: Partial<T>): Observable<K extends void ? G : K>;
22
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiPopoverService<any, any>, never>;
23
- static ɵprov: i0.ɵɵInjectableDeclaration<TuiPopoverService<any, any>>;
24
- }
25
- export declare function tuiAsPopover(popover: Type<TuiPopoverService<any>>): Provider;
@@ -1,13 +0,0 @@
1
- import { type Observable } from 'rxjs';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * @deprecated: use native scroll
5
- */
6
- export declare class TuiScrollService {
7
- private readonly performanceRef;
8
- private readonly animationFrame$;
9
- private readonly zone;
10
- scroll$(elementOrWindow: Element | Window, scrollTop: number, scrollLeft?: number, duration?: number): Observable<[number, number]>;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiScrollService, never>;
12
- static ɵprov: i0.ɵɵInjectableDeclaration<TuiScrollService>;
13
- }
@@ -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,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 function tuiUniqBy<T extends Record<string, any>>(array: readonly T[], key: keyof T): readonly T[];
File without changes