@cuby-ui/core 0.0.180 → 0.0.190

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 (246) hide show
  1. package/animations/animations.d.ts +36 -0
  2. package/animations/index.d.ts +1 -0
  3. package/classes/accessors.d.ts +17 -0
  4. package/classes/driver.d.ts +16 -0
  5. package/classes/index.d.ts +3 -0
  6. package/classes/vehicle.d.ts +6 -0
  7. package/components/accordion/accordion-item/accordion-item.component.d.ts +1 -1
  8. package/components/alert/alert.tokens.d.ts +2 -2
  9. package/components/badge/badge.component.d.ts +1 -1
  10. package/components/banner/banner.component.d.ts +1 -1
  11. package/components/breadcrumbs/breadcrumb/breadcrumb.component.d.ts +1 -1
  12. package/components/button/button.component.d.ts +3 -3
  13. package/components/context-menu/context-menu.component.d.ts +1 -1
  14. package/components/dialog/dialog-header/dialog-header.component.d.ts +3 -3
  15. package/components/dialog/dialog.interfaces.d.ts +1 -1
  16. package/components/dialog/dialog.module.d.ts +2 -2
  17. package/components/hint/hint.component.d.ts +1 -1
  18. package/components/icon-button/icon-button.component.d.ts +1 -1
  19. package/components/input-number/input-number.component.d.ts +1 -1
  20. package/components/input-time/input-time.component.d.ts +1 -1
  21. package/components/label/label.component.d.ts +1 -1
  22. package/components/notification/notification.component.d.ts +3 -3
  23. package/components/root/root.module.d.ts +2 -1
  24. package/components/select/select.component.d.ts +1 -1
  25. package/components/svg/svg.component.d.ts +1 -1
  26. package/components/tabs/tabs.component.d.ts +1 -1
  27. package/components/textarea/textarea.component.d.ts +1 -1
  28. package/directives/index.d.ts +1 -0
  29. package/directives/text-field-controller/text-field-icon-left.directive.d.ts +1 -1
  30. package/directives/text-field-controller/text-field-id.directive.d.ts +1 -1
  31. package/directives/text-field-controller/text-field-is-error.directive.d.ts +1 -1
  32. package/directives/text-field-controller/text-field-placeholder.directive.d.ts +1 -1
  33. package/directives/text-field-controller/text-field-size.directive.d.ts +1 -1
  34. package/directives/tooltip/index.d.ts +16 -0
  35. package/directives/tooltip/tooltip-describe.directive.d.ts +16 -0
  36. package/directives/tooltip/tooltip-driver.directive.d.ts +7 -0
  37. package/directives/tooltip/tooltip-host.directive.d.ts +9 -0
  38. package/directives/tooltip/tooltip-hover.directive.d.ts +21 -0
  39. package/directives/tooltip/tooltip-manual.directive.d.ts +13 -0
  40. package/directives/tooltip/tooltip-options.directive.d.ts +36 -0
  41. package/directives/tooltip/tooltip-overflow.directive.d.ts +8 -0
  42. package/directives/tooltip/tooltip-pointer.directive.d.ts +10 -0
  43. package/directives/tooltip/tooltip-position.directive.d.ts +20 -0
  44. package/directives/tooltip/tooltip-unstyled.component.d.ts +17 -0
  45. package/directives/tooltip/tooltip.component.d.ts +33 -0
  46. package/directives/tooltip/tooltip.d.ts +13 -0
  47. package/directives/tooltip/tooltip.directive.d.ts +26 -0
  48. package/directives/tooltip/tooltip.providers.d.ts +5 -0
  49. package/directives/tooltip/tooltip.service.d.ts +13 -0
  50. package/directives/tooltip/tooltips.component.d.ts +12 -0
  51. package/esm2022/animations/animations.mjs +272 -0
  52. package/esm2022/animations/index.mjs +2 -0
  53. package/esm2022/classes/accessors.mjs +31 -0
  54. package/esm2022/classes/driver.mjs +35 -0
  55. package/esm2022/classes/index.mjs +4 -0
  56. package/esm2022/classes/vehicle.mjs +7 -0
  57. package/{esm2020 → esm2022}/components/accordion/accordion-item/accordion-item.component.mjs +4 -4
  58. package/{esm2020 → esm2022}/components/accordion/accordion.component.mjs +4 -4
  59. package/{esm2020 → esm2022}/components/accordion/accordion.module.mjs +11 -11
  60. package/{esm2020 → esm2022}/components/alert/alert.component.mjs +4 -4
  61. package/{esm2020 → esm2022}/components/alert/alert.module.mjs +12 -12
  62. package/{esm2020 → esm2022}/components/alert/alert.service.mjs +4 -4
  63. package/{esm2020 → esm2022}/components/alert/alerts.component.mjs +4 -4
  64. package/{esm2020 → esm2022}/components/badge/badge.component.mjs +4 -4
  65. package/{esm2020 → esm2022}/components/badge/badge.module.mjs +5 -5
  66. package/{esm2020 → esm2022}/components/banner/banner.component.mjs +5 -5
  67. package/{esm2020 → esm2022}/components/banner/banner.module.mjs +10 -10
  68. package/{esm2020 → esm2022}/components/breadcrumbs/breadcrumb/breadcrumb.component.mjs +4 -4
  69. package/{esm2020 → esm2022}/components/breadcrumbs/breadcrumbs.component.mjs +4 -4
  70. package/{esm2020 → esm2022}/components/breadcrumbs/breadcrumbs.module.mjs +9 -9
  71. package/{esm2020 → esm2022}/components/button/button.component.mjs +4 -4
  72. package/{esm2020 → esm2022}/components/button/button.module.mjs +7 -7
  73. package/{esm2020 → esm2022}/components/button-group/button-group.component.mjs +4 -4
  74. package/{esm2020 → esm2022}/components/button-group/button-group.module.mjs +5 -5
  75. package/esm2022/components/checkbox/checkbox.component.mjs +11 -0
  76. package/{esm2020 → esm2022}/components/checkbox/checkbox.module.mjs +5 -5
  77. package/{esm2020 → esm2022}/components/context-menu/context-menu.component.mjs +4 -4
  78. package/{esm2020 → esm2022}/components/context-menu/context-menu.module.mjs +7 -7
  79. package/{esm2020 → esm2022}/components/dialog/dialog-actions/dialog-actions.component.mjs +4 -4
  80. package/esm2022/components/dialog/dialog-header/dialog-header.component.mjs +28 -0
  81. package/{esm2020 → esm2022}/components/dialog/dialog.component.mjs +5 -5
  82. package/{esm2020 → esm2022}/components/dialog/dialog.interfaces.mjs +1 -1
  83. package/esm2022/components/dialog/dialog.module.mjs +49 -0
  84. package/{esm2020 → esm2022}/components/dialog/dialog.service.mjs +4 -4
  85. package/{esm2020 → esm2022}/components/dialog/dialogs.component.mjs +4 -4
  86. package/{esm2020 → esm2022}/components/form-field/form-field.component.mjs +4 -4
  87. package/{esm2020 → esm2022}/components/form-field/form-field.module.mjs +5 -5
  88. package/{esm2020 → esm2022}/components/hint/hint.component.mjs +4 -4
  89. package/{esm2020 → esm2022}/components/hint/hint.module.mjs +5 -5
  90. package/{esm2020 → esm2022}/components/icon-button/icon-button.component.mjs +4 -4
  91. package/{esm2020 → esm2022}/components/icon-button/icon-button.module.mjs +7 -7
  92. package/{esm2020 → esm2022}/components/input-number/input-number.component.mjs +7 -7
  93. package/{esm2020 → esm2022}/components/input-number/input-number.module.mjs +11 -11
  94. package/{esm2020 → esm2022}/components/input-password/input-password.component.mjs +7 -7
  95. package/{esm2020 → esm2022}/components/input-password/input-password.module.mjs +10 -10
  96. package/{esm2020 → esm2022}/components/input-text/input-text.component.mjs +7 -7
  97. package/{esm2020 → esm2022}/components/input-text/input-text.module.mjs +10 -10
  98. package/{esm2020 → esm2022}/components/input-time/input-time.component.mjs +7 -7
  99. package/{esm2020 → esm2022}/components/input-time/input-time.module.mjs +11 -11
  100. package/{esm2020 → esm2022}/components/label/label.component.mjs +4 -4
  101. package/{esm2020 → esm2022}/components/label/label.module.mjs +5 -5
  102. package/{esm2020 → esm2022}/components/notification/notification.component.mjs +5 -5
  103. package/{esm2020 → esm2022}/components/notification/notification.module.mjs +7 -7
  104. package/{esm2020 → esm2022}/components/radio/radio.component.mjs +4 -4
  105. package/{esm2020 → esm2022}/components/radio/radio.module.mjs +5 -5
  106. package/esm2022/components/root/root.component.mjs +32 -0
  107. package/esm2022/components/root/root.module.mjs +31 -0
  108. package/{esm2020 → esm2022}/components/select/select.component.mjs +8 -8
  109. package/{esm2020 → esm2022}/components/select/select.module.mjs +9 -9
  110. package/{esm2020 → esm2022}/components/svg/svg.component.mjs +4 -4
  111. package/{esm2020 → esm2022}/components/svg/svg.module.mjs +5 -5
  112. package/{esm2020 → esm2022}/components/tabs/tab/tab.component.mjs +4 -4
  113. package/{esm2020 → esm2022}/components/tabs/tabs.component.mjs +4 -4
  114. package/{esm2020 → esm2022}/components/tabs/tabs.module.mjs +5 -5
  115. package/{esm2020 → esm2022}/components/textarea/textarea.component.mjs +4 -4
  116. package/{esm2020 → esm2022}/components/textarea/textarea.module.mjs +5 -5
  117. package/{esm2020 → esm2022}/components/toggle/toggle.component.mjs +4 -4
  118. package/{esm2020 → esm2022}/components/toggle/toggle.module.mjs +5 -5
  119. package/esm2022/directives/index.mjs +3 -0
  120. package/{esm2020 → esm2022}/directives/text-field-controller/text-field-controller.module.mjs +13 -13
  121. package/{esm2020 → esm2022}/directives/text-field-controller/text-field-icon-left.directive.mjs +4 -4
  122. package/{esm2020 → esm2022}/directives/text-field-controller/text-field-id.directive.mjs +4 -4
  123. package/{esm2020 → esm2022}/directives/text-field-controller/text-field-is-error.directive.mjs +4 -4
  124. package/{esm2020 → esm2022}/directives/text-field-controller/text-field-placeholder.directive.mjs +4 -4
  125. package/{esm2020 → esm2022}/directives/text-field-controller/text-field-size.directive.mjs +4 -4
  126. package/esm2022/directives/tooltip/index.mjs +17 -0
  127. package/esm2022/directives/tooltip/tooltip-describe.directive.mjs +45 -0
  128. package/esm2022/directives/tooltip/tooltip-driver.directive.mjs +18 -0
  129. package/esm2022/directives/tooltip/tooltip-host.directive.mjs +26 -0
  130. package/esm2022/directives/tooltip/tooltip-hover.directive.mjs +53 -0
  131. package/esm2022/directives/tooltip/tooltip-manual.directive.mjs +31 -0
  132. package/esm2022/directives/tooltip/tooltip-options.directive.mjs +83 -0
  133. package/esm2022/directives/tooltip/tooltip-overflow.directive.mjs +31 -0
  134. package/esm2022/directives/tooltip/tooltip-pointer.directive.mjs +31 -0
  135. package/esm2022/directives/tooltip/tooltip-position.directive.mjs +96 -0
  136. package/esm2022/directives/tooltip/tooltip-unstyled.component.mjs +40 -0
  137. package/esm2022/directives/tooltip/tooltip.component.mjs +110 -0
  138. package/esm2022/directives/tooltip/tooltip.directive.mjs +92 -0
  139. package/esm2022/directives/tooltip/tooltip.mjs +27 -0
  140. package/esm2022/directives/tooltip/tooltip.providers.mjs +7 -0
  141. package/esm2022/directives/tooltip/tooltip.service.mjs +28 -0
  142. package/esm2022/directives/tooltip/tooltips.component.mjs +33 -0
  143. package/esm2022/services/index.mjs +5 -0
  144. package/esm2022/services/position.service.mjs +23 -0
  145. package/{esm2020 → esm2022}/services/theme.service.mjs +4 -4
  146. package/esm2022/services/visual-viewport.service.mjs +28 -0
  147. package/esm2022/tokens/animations-speed.mjs +8 -0
  148. package/esm2022/tokens/index.mjs +4 -0
  149. package/esm2022/tokens/reduced-motion.mjs +6 -0
  150. package/esm2022/tokens/viewport.mjs +31 -0
  151. package/esm2022/types/index.mjs +10 -0
  152. package/esm2022/types/point.mjs +2 -0
  153. package/esm2022/types/portal-item.mjs +2 -0
  154. package/esm2022/utils/index.mjs +3 -0
  155. package/esm2022/utils/miscellaneous/index.mjs +4 -0
  156. package/esm2022/utils/miscellaneous/is-obscured.mjs +8 -0
  157. package/esm2022/utils/miscellaneous/override-options.mjs +11 -0
  158. package/esm2022/utils/miscellaneous/to-animation-options.mjs +14 -0
  159. package/fesm2022/cuby-ui-core.mjs +3416 -0
  160. package/fesm2022/cuby-ui-core.mjs.map +1 -0
  161. package/package.json +8 -14
  162. package/services/index.d.ts +2 -0
  163. package/services/position.service.d.ts +10 -0
  164. package/services/visual-viewport.service.d.ts +9 -0
  165. package/tokens/animations-speed.d.ts +4 -0
  166. package/tokens/index.d.ts +3 -0
  167. package/tokens/reduced-motion.d.ts +1 -0
  168. package/tokens/viewport.d.ts +7 -0
  169. package/types/index.d.ts +2 -0
  170. package/types/point.d.ts +1 -0
  171. package/types/portal-item.d.ts +9 -0
  172. package/utils/index.d.ts +1 -0
  173. package/utils/miscellaneous/index.d.ts +3 -0
  174. package/utils/miscellaneous/is-obscured.d.ts +4 -0
  175. package/utils/miscellaneous/override-options.d.ts +1 -0
  176. package/utils/miscellaneous/to-animation-options.d.ts +4 -0
  177. package/esm2020/components/checkbox/checkbox.component.mjs +0 -11
  178. package/esm2020/components/dialog/dialog-header/dialog-header.component.mjs +0 -28
  179. package/esm2020/components/dialog/dialog.module.mjs +0 -50
  180. package/esm2020/components/root/root.component.mjs +0 -31
  181. package/esm2020/components/root/root.module.mjs +0 -28
  182. package/esm2020/directives/index.mjs +0 -2
  183. package/esm2020/services/index.mjs +0 -3
  184. package/esm2020/types/index.mjs +0 -8
  185. package/esm2020/utils/index.mjs +0 -2
  186. package/fesm2015/cuby-ui-core.mjs +0 -2326
  187. package/fesm2015/cuby-ui-core.mjs.map +0 -1
  188. package/fesm2020/cuby-ui-core.mjs +0 -2326
  189. package/fesm2020/cuby-ui-core.mjs.map +0 -1
  190. /package/{esm2020 → esm2022}/components/accordion/index.mjs +0 -0
  191. /package/{esm2020 → esm2022}/components/alert/alert.interfaces.mjs +0 -0
  192. /package/{esm2020 → esm2022}/components/alert/alert.tokens.mjs +0 -0
  193. /package/{esm2020 → esm2022}/components/alert/alert.types.mjs +0 -0
  194. /package/{esm2020 → esm2022}/components/alert/index.mjs +0 -0
  195. /package/{esm2020 → esm2022}/components/badge/badge.options.mjs +0 -0
  196. /package/{esm2020 → esm2022}/components/badge/index.mjs +0 -0
  197. /package/{esm2020 → esm2022}/components/banner/banner.options.mjs +0 -0
  198. /package/{esm2020 → esm2022}/components/banner/index.mjs +0 -0
  199. /package/{esm2020 → esm2022}/components/breadcrumbs/index.mjs +0 -0
  200. /package/{esm2020 → esm2022}/components/button/button.options.mjs +0 -0
  201. /package/{esm2020 → esm2022}/components/button/index.mjs +0 -0
  202. /package/{esm2020 → esm2022}/components/button-group/index.mjs +0 -0
  203. /package/{esm2020 → esm2022}/components/checkbox/index.mjs +0 -0
  204. /package/{esm2020 → esm2022}/components/context-menu/index.mjs +0 -0
  205. /package/{esm2020 → esm2022}/components/dialog/dialog.tokens.mjs +0 -0
  206. /package/{esm2020 → esm2022}/components/dialog/index.mjs +0 -0
  207. /package/{esm2020 → esm2022}/components/form-field/index.mjs +0 -0
  208. /package/{esm2020 → esm2022}/components/hint/index.mjs +0 -0
  209. /package/{esm2020 → esm2022}/components/icon-button/index.mjs +0 -0
  210. /package/{esm2020 → esm2022}/components/index.mjs +0 -0
  211. /package/{esm2020 → esm2022}/components/input-number/index.mjs +0 -0
  212. /package/{esm2020 → esm2022}/components/input-password/index.mjs +0 -0
  213. /package/{esm2020 → esm2022}/components/input-text/index.mjs +0 -0
  214. /package/{esm2020 → esm2022}/components/input-time/index.mjs +0 -0
  215. /package/{esm2020 → esm2022}/components/input-time/input-time.options.mjs +0 -0
  216. /package/{esm2020 → esm2022}/components/label/index.mjs +0 -0
  217. /package/{esm2020 → esm2022}/components/notification/index.mjs +0 -0
  218. /package/{esm2020 → esm2022}/components/notification/notification.options.mjs +0 -0
  219. /package/{esm2020 → esm2022}/components/radio/index.mjs +0 -0
  220. /package/{esm2020 → esm2022}/components/root/index.mjs +0 -0
  221. /package/{esm2020 → esm2022}/components/root/root.options.mjs +0 -0
  222. /package/{esm2020 → esm2022}/components/select/index.mjs +0 -0
  223. /package/{esm2020 → esm2022}/components/svg/index.mjs +0 -0
  224. /package/{esm2020 → esm2022}/components/tabs/index.mjs +0 -0
  225. /package/{esm2020 → esm2022}/components/tabs/tab/index.mjs +0 -0
  226. /package/{esm2020 → esm2022}/components/textarea/index.mjs +0 -0
  227. /package/{esm2020 → esm2022}/components/toggle/index.mjs +0 -0
  228. /package/{esm2020 → esm2022}/cuby-ui-core.mjs +0 -0
  229. /package/{esm2020 → esm2022}/directives/text-field-controller/index.mjs +0 -0
  230. /package/{esm2020 → esm2022}/directives/text-field-controller/text-field-controller.provider.mjs +0 -0
  231. /package/{esm2020 → esm2022}/directives/text-field-controller/text-field.controller.mjs +0 -0
  232. /package/{esm2020 → esm2022}/index.mjs +0 -0
  233. /package/{esm2020 → esm2022}/interfaces/context-menu-item.mjs +0 -0
  234. /package/{esm2020 → esm2022}/interfaces/index.mjs +0 -0
  235. /package/{esm2020 → esm2022}/interfaces/option.mjs +0 -0
  236. /package/{esm2020 → esm2022}/services/theme.options.mjs +0 -0
  237. /package/{esm2020 → esm2022}/types/appearance.mjs +0 -0
  238. /package/{esm2020 → esm2022}/types/hint-type.mjs +0 -0
  239. /package/{esm2020 → esm2022}/types/position.mjs +0 -0
  240. /package/{esm2020 → esm2022}/types/resizing.mjs +0 -0
  241. /package/{esm2020 → esm2022}/types/shape.mjs +0 -0
  242. /package/{esm2020 → esm2022}/types/size.mjs +0 -0
  243. /package/{esm2020 → esm2022}/types/status.mjs +0 -0
  244. /package/{esm2020 → esm2022}/utils/format/index.mjs +0 -0
  245. /package/{esm2020 → esm2022}/utils/format/remove-spaces.mjs +0 -0
  246. /package/{esm2020 → esm2022}/utils/format/replace.mjs +0 -0
@@ -0,0 +1,36 @@
1
+ export interface CuiDurationOptions {
2
+ params: {
3
+ duration: number;
4
+ };
5
+ value: string;
6
+ }
7
+ /**
8
+ * Add to enable child :leave animation (fixes https://github.com/angular/angular/issues/15753)
9
+ */
10
+ export declare const cuiParentAnimation: import("@angular/animations").AnimationTriggerMetadata;
11
+ /**
12
+ * Add on parent to stop initial :enter animation for children
13
+ */
14
+ export declare const cuiParentStop: import("@angular/animations").AnimationTriggerMetadata;
15
+ export declare const cuiHost: import("@angular/animations").AnimationTriggerMetadata;
16
+ export declare const cuiHeightCollapse: import("@angular/animations").AnimationTriggerMetadata;
17
+ export declare const cuiHeightCollapseList: import("@angular/animations").AnimationTriggerMetadata;
18
+ export declare const cuiWidthCollapse: import("@angular/animations").AnimationTriggerMetadata;
19
+ export declare const cuiWidthCollapseList: import("@angular/animations").AnimationTriggerMetadata;
20
+ export declare const cuiFadeIn: import("@angular/animations").AnimationTriggerMetadata;
21
+ export declare const cuiFadeInList: import("@angular/animations").AnimationTriggerMetadata;
22
+ export declare const cuiFadeInTop: import("@angular/animations").AnimationTriggerMetadata;
23
+ export declare const cuiFadeInBottom: import("@angular/animations").AnimationTriggerMetadata;
24
+ export declare const cuiDropdownAnimation: import("@angular/animations").AnimationTriggerMetadata;
25
+ export declare const cuiScaleIn: import("@angular/animations").AnimationTriggerMetadata;
26
+ export declare const cuiPop: import("@angular/animations").AnimationTriggerMetadata;
27
+ export declare const cuiScaleInList: import("@angular/animations").AnimationTriggerMetadata;
28
+ export declare const cuiSlideIn: import("@angular/animations").AnimationTriggerMetadata;
29
+ export declare const cuiSlideInLeft: import("@angular/animations").AnimationTriggerMetadata;
30
+ export declare const cuiSlideInLeftList: import("@angular/animations").AnimationTriggerMetadata;
31
+ export declare const cuiSlideInRight: import("@angular/animations").AnimationTriggerMetadata;
32
+ export declare const cuiSlideInRightList: import("@angular/animations").AnimationTriggerMetadata;
33
+ export declare const cuiSlideInTop: import("@angular/animations").AnimationTriggerMetadata;
34
+ export declare const cuiSlideInTopList: import("@angular/animations").AnimationTriggerMetadata;
35
+ export declare const cuiSlideInBottom: import("@angular/animations").AnimationTriggerMetadata;
36
+ export declare const cuiSlideInBottomList: import("@angular/animations").AnimationTriggerMetadata;
@@ -0,0 +1 @@
1
+ export * from './animations';
@@ -0,0 +1,17 @@
1
+ import type { AbstractType, ExistingProvider, FactoryProvider, Type } from '@angular/core';
2
+ import type { CuiPoint } from '../types';
3
+ export declare abstract class CuiAccessor {
4
+ abstract readonly type: string;
5
+ }
6
+ export declare abstract class CuiPositionAccessor extends CuiAccessor {
7
+ abstract getPosition(rect: DOMRect, element?: HTMLElement): CuiPoint;
8
+ }
9
+ export declare abstract class CuiRectAccessor extends CuiAccessor {
10
+ abstract getClientRect(): DOMRect;
11
+ }
12
+ export declare function cuiProvideAccessor<T extends CuiAccessor>(provide: AbstractType<T>, type: string, fallback: Type<T>): FactoryProvider;
13
+ export declare function cuiFallbackAccessor<T extends CuiAccessor>(type: string): (accessors: readonly T[] | null, fallback: T) => T;
14
+ export declare function cuiPositionAccessorFor(type: string, fallback: Type<CuiPositionAccessor>): FactoryProvider;
15
+ export declare function cuiRectAccessorFor(type: string, fallback: Type<CuiRectAccessor>): FactoryProvider;
16
+ export declare function cuiAsPositionAccessor(accessor: Type<CuiPositionAccessor>): ExistingProvider;
17
+ export declare function cuiAsRectAccessor(accessor: Type<CuiRectAccessor>): ExistingProvider;
@@ -0,0 +1,16 @@
1
+ import type { AfterViewInit, ExistingProvider, Type } from '@angular/core';
2
+ import { Observable } from 'rxjs';
3
+ import * as i0 from "@angular/core";
4
+ export declare abstract class CuiDriver extends Observable<boolean> {
5
+ abstract readonly type: string;
6
+ }
7
+ export declare function cuiAsDriver(driver: Type<CuiDriver>): ExistingProvider;
8
+ export declare abstract class CuiDriverDirective implements AfterViewInit {
9
+ abstract type: string;
10
+ private readonly destroyRef;
11
+ private readonly drivers;
12
+ private readonly vehicles;
13
+ ngAfterViewInit(): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiDriverDirective, never>;
15
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CuiDriverDirective, never, never, {}, {}, never, never, false, never>;
16
+ }
@@ -0,0 +1,3 @@
1
+ export * from './accessors';
2
+ export * from './driver';
3
+ export * from './vehicle';
@@ -0,0 +1,6 @@
1
+ import type { ExistingProvider, Type } from '@angular/core';
2
+ export declare abstract class CuiVehicle {
3
+ abstract readonly type: string;
4
+ abstract toggle(value: boolean): void;
5
+ }
6
+ export declare function cuiAsVehicle(vehicle: Type<CuiVehicle>): ExistingProvider;
@@ -7,5 +7,5 @@ export declare class CuiAccordionItemComponent {
7
7
  protected get buttonIcon(): CuiIcon;
8
8
  protected onRowToggle(): void;
9
9
  static ɵfac: i0.ɵɵFactoryDeclaration<CuiAccordionItemComponent, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<CuiAccordionItemComponent, "cui-accordion-item", never, { "isOpen": "isOpen"; }, { "isOpenChange": "isOpenChange"; }, never, ["*", "[cuiAccordionItemContent]"], false, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<CuiAccordionItemComponent, "cui-accordion-item", never, { "isOpen": { "alias": "isOpen"; "required": false; }; }, { "isOpenChange": "isOpenChange"; }, never, ["*", "[cuiAccordionItemContent]"], false, never>;
11
11
  }
@@ -6,11 +6,11 @@ export declare const CUI_ALERTS: InjectionToken<BehaviorSubject<readonly CuiPopo
6
6
  export declare const CUI_ALERT_DEFAULT_OPTIONS: Omit<CuiAlertOptions, 'status'>;
7
7
  export declare const CUI_ALERT_OPTIONS: InjectionToken<{
8
8
  status: import("@cuby-ui/core").CuiStatus;
9
- mode: "default" | "light";
10
- position: import("@cuby-ui/core").CuiAlertPosition;
9
+ mode: "light" | "default";
11
10
  label: string;
12
11
  needAutoClose: boolean;
13
12
  isCloseable: boolean;
13
+ position: import("@cuby-ui/core").CuiAlertPosition;
14
14
  resizing: import("@cuby-ui/core").CuiAlertResizing;
15
15
  }>;
16
16
  export declare const CUI_ALERT_CONTEXT: InjectionToken<CuiPopover<CuiAlertOptions>>;
@@ -6,5 +6,5 @@ export declare class CuiBadgeComponent implements CuiBadgeOptions {
6
6
  size: "sm" | "md";
7
7
  isWithDot: boolean;
8
8
  static ɵfac: i0.ɵɵFactoryDeclaration<CuiBadgeComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<CuiBadgeComponent, "cui-badge", never, { "color": "color"; "size": "size"; "isWithDot": "isWithDot"; }, {}, never, ["*"], false, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<CuiBadgeComponent, "cui-badge", never, { "color": { "alias": "color"; "required": false; }; "size": { "alias": "size"; "required": false; }; "isWithDot": { "alias": "isWithDot"; "required": false; }; }, {}, never, ["*"], false, never>;
10
10
  }
@@ -17,5 +17,5 @@ export declare class CuiBannerComponent implements CuiBannerOptions {
17
17
  protected onAction(): void;
18
18
  protected onClose(): void;
19
19
  static ɵfac: i0.ɵɵFactoryDeclaration<CuiBannerComponent, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<CuiBannerComponent, "cui-banner", never, { "status": "status"; "isCloseable": "isCloseable"; "label": "label"; "actionButtonText": "actionButtonText"; }, { "actionButtonClicked": "actionButtonClicked"; "closed": "closed"; }, never, ["*"], false, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<CuiBannerComponent, "cui-banner", never, { "status": { "alias": "status"; "required": false; }; "isCloseable": { "alias": "isCloseable"; "required": false; }; "label": { "alias": "label"; "required": false; }; "actionButtonText": { "alias": "actionButtonText"; "required": false; }; }, { "actionButtonClicked": "actionButtonClicked"; "closed": "closed"; }, never, ["*"], false, never>;
21
21
  }
@@ -2,5 +2,5 @@ import * as i0 from "@angular/core";
2
2
  export declare class CuiBreadcrumbComponent {
3
3
  isLast: boolean;
4
4
  static ɵfac: i0.ɵɵFactoryDeclaration<CuiBreadcrumbComponent, never>;
5
- static ɵcmp: i0.ɵɵComponentDeclaration<CuiBreadcrumbComponent, "[cuiBreadcrumb]", never, { "isLast": "isLast"; }, {}, never, ["*"], false, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<CuiBreadcrumbComponent, "[cuiBreadcrumb]", never, { "isLast": { "alias": "isLast"; "required": false; }; }, {}, never, ["*"], false, never>;
6
6
  }
@@ -10,9 +10,9 @@ export declare class CuiButtonComponent implements CuiButtonOptions, OnInit {
10
10
  protected readonly AppearanceIconColors: Record<CuiButtonOptions['appearance'], string>;
11
11
  protected readonly COLOR_BASE_500 = "var(--cui-base-500)";
12
12
  protected readonly BUTTON_ICONS_COLOR_BASE_500: CuiButtonOptions['appearance'][];
13
- protected _appearance: "link" | "flat" | "action" | "secondary" | "outlined" | "outlined-gray" | "ghost" | "destructive";
13
+ protected _appearance: "flat" | "link" | "action" | "secondary" | "outlined" | "outlined-gray" | "ghost" | "destructive";
14
14
  protected iconColor: string;
15
- protected _size: "xxs" | "xs" | "sm" | "md";
15
+ protected _size: "sm" | "md" | "xxs" | "xs";
16
16
  protected iconDimensions: {
17
17
  width: number;
18
18
  height: number;
@@ -34,5 +34,5 @@ export declare class CuiButtonComponent implements CuiButtonOptions, OnInit {
34
34
  private changeIconColor;
35
35
  private getIconColor;
36
36
  static ɵfac: i0.ɵɵFactoryDeclaration<CuiButtonComponent, never>;
37
- static ɵcmp: i0.ɵɵComponentDeclaration<CuiButtonComponent, "button[cuiButton], a[cuiButton]", never, { "shape": "shape"; "disabled": "disabled"; "isLoaderShown": "isLoaderShown"; "icon": "icon"; "iconRight": "iconRight"; "appearance": "appearance"; "size": "size"; }, {}, never, ["*"], false, never>;
37
+ static ɵcmp: i0.ɵɵComponentDeclaration<CuiButtonComponent, "button[cuiButton], a[cuiButton]", never, { "shape": { "alias": "shape"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "isLoaderShown": { "alias": "isLoaderShown"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconRight": { "alias": "iconRight"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, ["*"], false, never>;
38
38
  }
@@ -35,5 +35,5 @@ export declare class CuiContextMenuComponent implements OnInit, AfterViewInit, O
35
35
  private changePosition;
36
36
  private clearViewContainerRef;
37
37
  static ɵfac: i0.ɵɵFactoryDeclaration<CuiContextMenuComponent, never>;
38
- static ɵcmp: i0.ɵɵComponentDeclaration<CuiContextMenuComponent, "cui-context-menu[items][target]", never, { "items": "items"; "target": "target"; }, {}, never, never, false, [{ directive: typeof i1.CuiClickOutsideDirective; inputs: {}; outputs: {}; }, { directive: typeof i1.CuiTargetDirective; inputs: { "ccTarget": "target"; }; outputs: {}; }]>;
38
+ static ɵcmp: i0.ɵɵComponentDeclaration<CuiContextMenuComponent, "cui-context-menu[items][target]", never, { "items": { "alias": "items"; "required": false; }; "target": { "alias": "target"; "required": false; }; }, {}, never, never, false, [{ directive: typeof i1.CuiClickOutsideDirective; inputs: {}; outputs: {}; }, { directive: typeof i1.CuiTargetDirective; inputs: { "ccTarget": "target"; }; outputs: {}; }]>;
39
39
  }
@@ -1,6 +1,6 @@
1
1
  import { EventEmitter } from '@angular/core';
2
- import type { PolymorpheusContent } from '@tinkoff/ng-polymorpheus';
3
- import { PolymorpheusContext } from '@tinkoff/ng-polymorpheus/classes/context';
2
+ import type { PolymorpheusContent } from '@taiga-ui/polymorpheus';
3
+ import { PolymorpheusContext } from '@taiga-ui/polymorpheus/classes/context';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class CuiDialogHeaderComponent {
6
6
  heading: PolymorpheusContent;
@@ -9,5 +9,5 @@ export declare class CuiDialogHeaderComponent {
9
9
  readonly closed: EventEmitter<MouseEvent>;
10
10
  protected onClose(event: MouseEvent): void;
11
11
  static ɵfac: i0.ɵɵFactoryDeclaration<CuiDialogHeaderComponent, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<CuiDialogHeaderComponent, "header[cuiDialogHeader][heading]", never, { "heading": "heading"; "headingContext": "headingContext"; "subheading": "subheading"; }, { "closed": "closed"; }, never, ["*"], false, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<CuiDialogHeaderComponent, "header[cuiDialogHeader][heading]", never, { "heading": { "alias": "heading"; "required": false; }; "headingContext": { "alias": "headingContext"; "required": false; }; "subheading": { "alias": "subheading"; "required": false; }; }, { "closed": "closed"; }, never, ["*"], false, never>;
13
13
  }
@@ -1,6 +1,6 @@
1
1
  import type { Injector } from '@angular/core';
2
2
  import type { CuiPopoverContext } from '@cuby-ui/cdk';
3
- export type CuiDialogSize = 'xl' | 'auto';
3
+ export type CuiDialogSize = 'xl' | 'sm' | 'auto';
4
4
  export interface CuiDialogOptions<I = any> {
5
5
  readonly size: CuiDialogSize;
6
6
  readonly data: I;
@@ -4,11 +4,11 @@ import * as i2 from "./dialogs.component";
4
4
  import * as i3 from "./dialog-actions/dialog-actions.component";
5
5
  import * as i4 from "./dialog-header/dialog-header.component";
6
6
  import * as i5 from "@angular/common";
7
- import * as i6 from "@tinkoff/ng-polymorpheus";
7
+ import * as i6 from "@taiga-ui/polymorpheus";
8
8
  import * as i7 from "@cuby-ui/cdk";
9
9
  import * as i8 from "../button/button.module";
10
10
  export declare class CuiDialogModule {
11
11
  static ɵfac: i0.ɵɵFactoryDeclaration<CuiDialogModule, never>;
12
- static ɵmod: i0.ɵɵNgModuleDeclaration<CuiDialogModule, [typeof i1.CuiDialogComponent, typeof i2.CuiDialogsComponent, typeof i3.CuiDialogActionsComponent, typeof i4.CuiDialogHeaderComponent], [typeof i5.CommonModule, typeof i6.PolymorpheusModule, typeof i7.CuiLetDirective, typeof i8.CuiButtonModule], [typeof i1.CuiDialogComponent, typeof i2.CuiDialogsComponent, typeof i3.CuiDialogActionsComponent, typeof i4.CuiDialogHeaderComponent]>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CuiDialogModule, [typeof i1.CuiDialogComponent, typeof i2.CuiDialogsComponent, typeof i3.CuiDialogActionsComponent, typeof i4.CuiDialogHeaderComponent], [typeof i5.CommonModule, typeof i6.PolymorpheusOutlet, typeof i7.CuiLetDirective, typeof i8.CuiButtonModule], [typeof i1.CuiDialogComponent, typeof i2.CuiDialogsComponent, typeof i3.CuiDialogActionsComponent, typeof i4.CuiDialogHeaderComponent]>;
13
13
  static ɵinj: i0.ɵɵInjectorDeclaration<CuiDialogModule>;
14
14
  }
@@ -3,5 +3,5 @@ import * as i0 from "@angular/core";
3
3
  export declare class CuiHintComponent {
4
4
  hintType: CuiHintType;
5
5
  static ɵfac: i0.ɵɵFactoryDeclaration<CuiHintComponent, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<CuiHintComponent, "cui-hint", never, { "hintType": "hintType"; }, {}, never, ["*"], false, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<CuiHintComponent, "cui-hint", never, { "hintType": { "alias": "hintType"; "required": false; }; }, {}, never, ["*"], false, never>;
7
7
  }
@@ -9,5 +9,5 @@ export declare class CuiIconButtonComponent {
9
9
  hoverColor?: string;
10
10
  protected get isWithHoverColor(): boolean;
11
11
  static ɵfac: i0.ɵɵFactoryDeclaration<CuiIconButtonComponent, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<CuiIconButtonComponent, "button[cuiIconButton][icon], a[cuiIconButton][icon]", never, { "icon": "icon"; "color": "color"; "hoverColor": "hoverColor"; }, {}, never, never, false, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<CuiIconButtonComponent, "button[cuiIconButton][icon], a[cuiIconButton][icon]", never, { "icon": { "alias": "icon"; "required": false; }; "color": { "alias": "color"; "required": false; }; "hoverColor": { "alias": "hoverColor"; "required": false; }; }, {}, never, never, false, never>;
13
13
  }
@@ -34,5 +34,5 @@ export declare class CuiInputNumberComponent implements ControlValueAccessor {
34
34
  private changeModel;
35
35
  private generateMask;
36
36
  static ɵfac: i0.ɵɵFactoryDeclaration<CuiInputNumberComponent, never>;
37
- static ɵcmp: i0.ɵɵComponentDeclaration<CuiInputNumberComponent, "cui-input-number", never, { "precision": "precision"; "min": "min"; "max": "max"; }, {}, never, never, false, never>;
37
+ static ɵcmp: i0.ɵɵComponentDeclaration<CuiInputNumberComponent, "cui-input-number", never, { "precision": { "alias": "precision"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; }, {}, never, never, false, never>;
38
38
  }
@@ -32,5 +32,5 @@ export declare class CuiInputTimeComponent implements CuiInputTimeOptions, Contr
32
32
  protected onFocus(): void;
33
33
  private generateMask;
34
34
  static ɵfac: i0.ɵɵFactoryDeclaration<CuiInputTimeComponent, never>;
35
- static ɵcmp: i0.ɵɵComponentDeclaration<CuiInputTimeComponent, "cui-input-time", never, { "mode": "mode"; }, {}, never, never, false, never>;
35
+ static ɵcmp: i0.ɵɵComponentDeclaration<CuiInputTimeComponent, "cui-input-time", never, { "mode": { "alias": "mode"; "required": false; }; }, {}, never, never, false, never>;
36
36
  }
@@ -2,5 +2,5 @@ import * as i0 from "@angular/core";
2
2
  export declare class CuiLabelComponent {
3
3
  isRequired: boolean;
4
4
  static ɵfac: i0.ɵɵFactoryDeclaration<CuiLabelComponent, never>;
5
- static ɵcmp: i0.ɵɵComponentDeclaration<CuiLabelComponent, "label[cuiLabel]", never, { "isRequired": "isRequired"; }, {}, never, ["*"], false, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<CuiLabelComponent, "label[cuiLabel]", never, { "isRequired": { "alias": "isRequired"; "required": false; }; }, {}, never, ["*"], false, never>;
6
6
  }
@@ -4,15 +4,15 @@ import * as i0 from "@angular/core";
4
4
  export declare class CuiNotificationComponent implements CuiNotificationOptions, OnInit {
5
5
  private readonly cuiNotificationOptions;
6
6
  protected readonly ICONS: import("./notification.options").CuiNotificationIcons;
7
- protected readonly ICON_OPTIONS: Record<"default" | "light", CuiNotificationIconOptions>;
7
+ protected readonly ICON_OPTIONS: Record<"light" | "default", CuiNotificationIconOptions>;
8
8
  protected iconOptions: CuiNotificationIconOptions;
9
9
  status: import("@cuby-ui/core").CuiStatus;
10
- mode: "default" | "light";
10
+ mode: "light" | "default";
11
11
  isCloseable: boolean;
12
12
  readonly closed: EventEmitter<void>;
13
13
  ngOnInit(): void;
14
14
  protected onClose(): void;
15
15
  private initIconOptions;
16
16
  static ɵfac: i0.ɵɵFactoryDeclaration<CuiNotificationComponent, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<CuiNotificationComponent, "cui-notification", never, { "status": "status"; "mode": "mode"; "isCloseable": "isCloseable"; }, { "closed": "closed"; }, never, ["*"], false, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<CuiNotificationComponent, "cui-notification", never, { "status": { "alias": "status"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "isCloseable": { "alias": "isCloseable"; "required": false; }; }, { "closed": "closed"; }, never, ["*"], false, never>;
18
18
  }
@@ -3,8 +3,9 @@ import * as i1 from "./root.component";
3
3
  import * as i2 from "@angular/common";
4
4
  import * as i3 from "../dialog/dialog.module";
5
5
  import * as i4 from "../alert/alert.module";
6
+ import * as i5 from "../../directives/tooltip/tooltips.component";
6
7
  export declare class CuiRootModule {
7
8
  static ɵfac: i0.ɵɵFactoryDeclaration<CuiRootModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<CuiRootModule, [typeof i1.CuiRootComponent], [typeof i2.CommonModule, typeof i3.CuiDialogModule, typeof i4.CuiAlertModule], [typeof i1.CuiRootComponent]>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CuiRootModule, [typeof i1.CuiRootComponent], [typeof i2.CommonModule, typeof i3.CuiDialogModule, typeof i4.CuiAlertModule, typeof i5.CuiTooltips], [typeof i1.CuiRootComponent]>;
9
10
  static ɵinj: i0.ɵɵInjectorDeclaration<CuiRootModule>;
10
11
  }
@@ -49,5 +49,5 @@ export declare class CuiSelectComponent implements ControlValueAccessor, OnInit,
49
49
  private close;
50
50
  private clearViewContainerRef;
51
51
  static ɵfac: i0.ɵɵFactoryDeclaration<CuiSelectComponent, never>;
52
- static ɵcmp: i0.ɵɵComponentDeclaration<CuiSelectComponent, "cui-select[options]", never, { "options": "options"; "defaultOptionText": "defaultOptionText"; }, {}, never, never, false, [{ directive: typeof i1.CuiClickOutsideDirective; inputs: {}; outputs: {}; }]>;
52
+ static ɵcmp: i0.ɵɵComponentDeclaration<CuiSelectComponent, "cui-select[options]", never, { "options": { "alias": "options"; "required": false; }; "defaultOptionText": { "alias": "defaultOptionText"; "required": false; }; }, {}, never, never, false, [{ directive: typeof i1.CuiClickOutsideDirective; inputs: {}; outputs: {}; }]>;
53
53
  }
@@ -12,5 +12,5 @@ export declare class CuiSvgComponent {
12
12
  get isWithStrokeWidth(): boolean;
13
13
  get isWithColor(): boolean;
14
14
  static ɵfac: i0.ɵɵFactoryDeclaration<CuiSvgComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<CuiSvgComponent, "cui-svg[icon]", never, { "width": "width"; "height": "height"; "strokeWidth": "strokeWidth"; "color": "color"; "icon": "icon"; }, {}, never, never, false, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<CuiSvgComponent, "cui-svg[icon]", never, { "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "strokeWidth": { "alias": "strokeWidth"; "required": false; }; "color": { "alias": "color"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; }, {}, never, never, false, never>;
16
16
  }
@@ -12,5 +12,5 @@ export declare class CuiTabsComponent implements AfterViewChecked {
12
12
  protected onActivate(event: CustomEvent): void;
13
13
  private changeActiveItem;
14
14
  static ɵfac: i0.ɵɵFactoryDeclaration<CuiTabsComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<CuiTabsComponent, "cui-tabs", never, { "activeItemIndex": "activeItemIndex"; }, { "activeItemIndexChange": "activeItemIndexChange"; }, never, ["[cuiTab]"], false, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<CuiTabsComponent, "cui-tabs", never, { "activeItemIndex": { "alias": "activeItemIndex"; "required": false; }; }, { "activeItemIndexChange": "activeItemIndexChange"; }, never, ["[cuiTab]"], false, never>;
16
16
  }
@@ -6,5 +6,5 @@ export declare class CuiTextareaComponent {
6
6
  noBordersAndPaddings: boolean;
7
7
  protected get isError(): boolean;
8
8
  static ɵfac: i0.ɵɵFactoryDeclaration<CuiTextareaComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<CuiTextareaComponent, "textarea[cuiTextarea]", never, { "rows": "rows"; "noBordersAndPaddings": "noBordersAndPaddings"; }, {}, never, never, false, [{ directive: typeof i1.CuiAutoResizingDirective; inputs: {}; outputs: {}; }]>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<CuiTextareaComponent, "textarea[cuiTextarea]", never, { "rows": { "alias": "rows"; "required": false; }; "noBordersAndPaddings": { "alias": "noBordersAndPaddings"; "required": false; }; }, {}, never, never, false, [{ directive: typeof i1.CuiAutoResizingDirective; inputs: {}; outputs: {}; }]>;
10
10
  }
@@ -1 +1,2 @@
1
1
  export * from './text-field-controller';
2
+ export * from './tooltip';
@@ -5,5 +5,5 @@ export declare const CUI_TEXT_FIELD_ICON_LEFT: InjectionToken<CuiTextFieldIconLe
5
5
  export declare class CuiTextFieldIconLeftDirective {
6
6
  iconLeft?: CuiIcon | string;
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<CuiTextFieldIconLeftDirective, never>;
8
- static ɵdir: i0.ɵɵDirectiveDeclaration<CuiTextFieldIconLeftDirective, "[cuiTextFieldIconLeft]", never, { "iconLeft": "cuiTextFieldIconLeft"; }, {}, never, never, false, never>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CuiTextFieldIconLeftDirective, "[cuiTextFieldIconLeft]", never, { "iconLeft": { "alias": "cuiTextFieldIconLeft"; "required": false; }; }, {}, never, never, false, never>;
9
9
  }
@@ -4,5 +4,5 @@ export declare const CUI_TEXT_FIELD_ID: InjectionToken<CuiTextFieldIdDirective>;
4
4
  export declare class CuiTextFieldIdDirective {
5
5
  id?: string;
6
6
  static ɵfac: i0.ɵɵFactoryDeclaration<CuiTextFieldIdDirective, never>;
7
- static ɵdir: i0.ɵɵDirectiveDeclaration<CuiTextFieldIdDirective, "[cuiTextFieldId]", never, { "id": "cuiTextFieldId"; }, {}, never, never, false, never>;
7
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CuiTextFieldIdDirective, "[cuiTextFieldId]", never, { "id": { "alias": "cuiTextFieldId"; "required": false; }; }, {}, never, never, false, never>;
8
8
  }
@@ -4,5 +4,5 @@ export declare const CUI_TEXT_FIELD_IS_ERROR: InjectionToken<CuiTextFieldIsError
4
4
  export declare class CuiTextFieldIsErrorDirective {
5
5
  isError: boolean;
6
6
  static ɵfac: i0.ɵɵFactoryDeclaration<CuiTextFieldIsErrorDirective, never>;
7
- static ɵdir: i0.ɵɵDirectiveDeclaration<CuiTextFieldIsErrorDirective, "[cuiTextFieldIsError]", never, { "isError": "cuiTextFieldIsError"; }, {}, never, never, false, never>;
7
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CuiTextFieldIsErrorDirective, "[cuiTextFieldIsError]", never, { "isError": { "alias": "cuiTextFieldIsError"; "required": false; }; }, {}, never, never, false, never>;
8
8
  }
@@ -4,5 +4,5 @@ export declare const CUI_TEXT_FIELD_PLACEHOLDER: InjectionToken<CuiTextFieldPlac
4
4
  export declare class CuiTextFieldPlaceholderDirective {
5
5
  placeholder?: string;
6
6
  static ɵfac: i0.ɵɵFactoryDeclaration<CuiTextFieldPlaceholderDirective, never>;
7
- static ɵdir: i0.ɵɵDirectiveDeclaration<CuiTextFieldPlaceholderDirective, "[cuiTextFieldPlaceholder]", never, { "placeholder": "cuiTextFieldPlaceholder"; }, {}, never, never, false, never>;
7
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CuiTextFieldPlaceholderDirective, "[cuiTextFieldPlaceholder]", never, { "placeholder": { "alias": "cuiTextFieldPlaceholder"; "required": false; }; }, {}, never, never, false, never>;
8
8
  }
@@ -5,5 +5,5 @@ export declare const CUI_TEXT_FIELD_SIZE: InjectionToken<CuiTextFieldSizeDirecti
5
5
  export declare class CuiTextFieldSizeDirective {
6
6
  size: CuiSizeSm | CuiSizeMd;
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<CuiTextFieldSizeDirective, never>;
8
- static ɵdir: i0.ɵɵDirectiveDeclaration<CuiTextFieldSizeDirective, "[cuiTextFieldSize]", never, { "size": "cuiTextFieldSize"; }, {}, never, never, false, never>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CuiTextFieldSizeDirective, "[cuiTextFieldSize]", never, { "size": { "alias": "cuiTextFieldSize"; "required": false; }; }, {}, never, never, false, never>;
9
9
  }
@@ -0,0 +1,16 @@
1
+ export * from './tooltip';
2
+ export * from './tooltip.component';
3
+ export * from './tooltip.directive';
4
+ export * from './tooltip.providers';
5
+ export * from './tooltip.service';
6
+ export * from './tooltip-describe.directive';
7
+ export * from './tooltip-driver.directive';
8
+ export * from './tooltip-host.directive';
9
+ export * from './tooltip-hover.directive';
10
+ export * from './tooltip-manual.directive';
11
+ export * from './tooltip-options.directive';
12
+ export * from './tooltip-overflow.directive';
13
+ export * from './tooltip-pointer.directive';
14
+ export * from './tooltip-position.directive';
15
+ export * from './tooltip-unstyled.component';
16
+ export * from './tooltips.component';
@@ -0,0 +1,16 @@
1
+ import { CuiDriver } from '../../classes';
2
+ import * as i0 from "@angular/core";
3
+ export declare class CuiTooltipDescribe extends CuiDriver {
4
+ private readonly doc;
5
+ private readonly el;
6
+ private readonly zone;
7
+ private readonly id$;
8
+ private readonly stream$;
9
+ readonly type = "hint";
10
+ constructor();
11
+ set cuiTooltipDescribe(id: string | null | undefined);
12
+ private get element();
13
+ private get focused();
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiTooltipDescribe, never>;
15
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CuiTooltipDescribe, "[cuiTooltipDescribe]", never, { "cuiTooltipDescribe": { "alias": "cuiTooltipDescribe"; "required": false; }; }, {}, never, never, true, never>;
16
+ }
@@ -0,0 +1,7 @@
1
+ import { CuiDriverDirective } from '../../classes';
2
+ import * as i0 from "@angular/core";
3
+ export declare class CuiTooltipDriver extends CuiDriverDirective {
4
+ readonly type = "hint";
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiTooltipDriver, never>;
6
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CuiTooltipDriver, never, never, {}, {}, never, never, true, never>;
7
+ }
@@ -0,0 +1,9 @@
1
+ import { CuiRectAccessor } from '../../classes';
2
+ import * as i0 from "@angular/core";
3
+ export declare class CuiTooltipHost extends CuiRectAccessor {
4
+ cuiTooltipHost?: HTMLElement;
5
+ readonly type = "hint";
6
+ getClientRect(): DOMRect;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiTooltipHost, never>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CuiTooltipHost, "[cuiTooltip][cuiTooltipHost]", never, { "cuiTooltipHost": { "alias": "cuiTooltipHost"; "required": false; }; }, {}, never, never, true, never>;
9
+ }
@@ -0,0 +1,21 @@
1
+ import { CuiDriver } from '../../classes';
2
+ import type { CuiTooltipOptions } from './tooltip-options.directive';
3
+ import * as i0 from "@angular/core";
4
+ export declare class CuiTooltipHover extends CuiDriver {
5
+ private readonly isMobile;
6
+ private readonly el;
7
+ private readonly hovered$;
8
+ private readonly options;
9
+ private visible;
10
+ private readonly toggle$;
11
+ private readonly stream$;
12
+ private readonly parent;
13
+ cuiTooltipShowDelay: CuiTooltipOptions['showDelay'];
14
+ cuiTooltipHideDelay: CuiTooltipOptions['hideDelay'];
15
+ readonly type = "hint";
16
+ enabled: boolean;
17
+ constructor();
18
+ toggle(visible?: boolean): void;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiTooltipHover, never>;
20
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CuiTooltipHover, never, ["cuiTooltipHover"], { "cuiTooltipShowDelay": { "alias": "cuiTooltipShowDelay"; "required": false; }; "cuiTooltipHideDelay": { "alias": "cuiTooltipHideDelay"; "required": false; }; }, {}, never, never, true, never>;
21
+ }
@@ -0,0 +1,13 @@
1
+ import type { OnChanges } from '@angular/core';
2
+ import { CuiDriver } from '../../classes';
3
+ import * as i0 from "@angular/core";
4
+ export declare class CuiTooltipManual extends CuiDriver implements OnChanges {
5
+ private readonly hover;
6
+ private readonly stream$;
7
+ cuiTooltipManual: boolean;
8
+ readonly type = "hint";
9
+ constructor();
10
+ ngOnChanges(): void;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiTooltipManual, never>;
12
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CuiTooltipManual, "[cuiTooltip][cuiTooltipManual]", never, { "cuiTooltipManual": { "alias": "cuiTooltipManual"; "required": false; }; }, {}, never, never, true, never>;
13
+ }
@@ -0,0 +1,36 @@
1
+ import type { FactoryProvider, OnChanges } from '@angular/core';
2
+ import type { PolymorpheusContent } from '@taiga-ui/polymorpheus';
3
+ import { Subject } from 'rxjs';
4
+ import * as i0 from "@angular/core";
5
+ export type CuiTooltipDirection = 'bottom-left' | 'bottom-right' | 'bottom' | 'left-bottom' | 'left-top' | 'left' | 'right-bottom' | 'right-top' | 'right' | 'top-left' | 'top-right' | 'top';
6
+ export declare const CUI_TOOLTIP_DIRECTIONS: readonly CuiTooltipDirection[];
7
+ export interface CuiTooltipOptions {
8
+ readonly appearance: string;
9
+ readonly direction: CuiTooltipDirection | CuiTooltipDirection[];
10
+ readonly hideDelay: number;
11
+ readonly icon: string;
12
+ readonly showDelay: number;
13
+ }
14
+ /** Default values for tooltip options */
15
+ export declare const CUI_TOOLTIP_DEFAULT_OPTIONS: CuiTooltipOptions;
16
+ /**
17
+ * Default parameters for tooltip directive
18
+ */
19
+ export declare const CUI_TOOLTIP_OPTIONS: import("@angular/core").InjectionToken<CuiTooltipOptions>;
20
+ export declare const cuiTooltipOptionsProvider: (options: Partial<CuiTooltipOptions>) => FactoryProvider;
21
+ /**
22
+ * @deprecated: drop in 5.0
23
+ */
24
+ export declare class CuiTooltipOptionsDirective implements CuiTooltipOptions, OnChanges {
25
+ private readonly options;
26
+ content: PolymorpheusContent;
27
+ direction: CuiTooltipDirection | CuiTooltipDirection[];
28
+ appearance: string;
29
+ showDelay: number;
30
+ hideDelay: number;
31
+ icon: string;
32
+ readonly change$: Subject<void>;
33
+ ngOnChanges(): void;
34
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiTooltipOptionsDirective, never>;
35
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CuiTooltipOptionsDirective, "[cuiTooltipContent]", never, { "content": { "alias": "cuiTooltipContent"; "required": false; }; "direction": { "alias": "cuiTooltipDirection"; "required": false; }; "appearance": { "alias": "cuiTooltipAppearance"; "required": false; }; "showDelay": { "alias": "cuiTooltipShowDelay"; "required": false; }; "hideDelay": { "alias": "cuiTooltipHideDelay"; "required": false; }; }, {}, never, never, true, never>;
36
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./tooltip.directive";
3
+ export declare class CuiTooltipOverflow {
4
+ private readonly hint;
5
+ protected onMouseEnter({ scrollWidth, clientWidth, textContent }: Element): void;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiTooltipOverflow, never>;
7
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CuiTooltipOverflow, "[cuiTooltipOverflow]", never, {}, {}, never, never, true, [{ directive: typeof i1.CuiTooltipDirective; inputs: { "cuiTooltipAppearance": "cuiTooltipAppearance"; }; outputs: {}; }]>;
8
+ }
@@ -0,0 +1,10 @@
1
+ import type { CuiRectAccessor } from '../../classes';
2
+ import { CuiTooltipHover } from './tooltip-hover.directive';
3
+ import * as i0 from "@angular/core";
4
+ export declare class CuiTooltipPointer extends CuiTooltipHover implements CuiRectAccessor {
5
+ private currentRect;
6
+ getClientRect(): DOMRect;
7
+ protected onMove({ clientX, clientY }: MouseEvent): void;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiTooltipPointer, never>;
9
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CuiTooltipPointer, "[cuiTooltip][cuiTooltipPointer]", never, {}, {}, never, never, true, never>;
10
+ }
@@ -0,0 +1,20 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { CuiPositionAccessor } from '../../classes';
3
+ import type { CuiPoint } from '../../types';
4
+ import type { CuiTooltipDirection, CuiTooltipOptions } from './tooltip-options.directive';
5
+ import * as i0 from "@angular/core";
6
+ export declare class CuiTooltipPosition extends CuiPositionAccessor {
7
+ private readonly offset;
8
+ private readonly viewport;
9
+ private readonly accessor;
10
+ private readonly points;
11
+ direction: CuiTooltipOptions['direction'];
12
+ readonly directionChange: EventEmitter<CuiTooltipDirection>;
13
+ readonly type = "hint";
14
+ emitDirection(direction: CuiTooltipDirection): void;
15
+ getPosition(rect: DOMRect, el?: HTMLElement): CuiPoint;
16
+ private get fallback();
17
+ private checkPosition;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiTooltipPosition, never>;
19
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CuiTooltipPosition, never, never, { "direction": { "alias": "cuiTooltipDirection"; "required": false; }; }, { "directionChange": "cuiTooltipDirectionChange"; }, never, never, true, never>;
20
+ }
@@ -0,0 +1,17 @@
1
+ import type { WritableSignal } from '@angular/core';
2
+ import type { CuiContext } from '@cuby-ui/cdk';
3
+ import type { CuiPortalItem } from '../../types';
4
+ import type { PolymorpheusContent } from '@taiga-ui/polymorpheus';
5
+ import * as i0 from "@angular/core";
6
+ export declare class CuiTooltipUnstyledComponent {
7
+ protected readonly context: CuiContext<CuiPortalItem<any> & {
8
+ content: WritableSignal<PolymorpheusContent>;
9
+ }>;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiTooltipUnstyledComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<CuiTooltipUnstyledComponent, "ng-component", never, {}, {}, never, never, true, never>;
12
+ }
13
+ export declare class CuiTooltipUnstyled<C> {
14
+ constructor();
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiTooltipUnstyled<any>, never>;
16
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CuiTooltipUnstyled<any>, "ng-template[cuiTooltip]", never, {}, {}, never, never, true, never>;
17
+ }