@cuby-ui/core 0.0.193 → 0.0.194

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 (348) hide show
  1. package/README.md +24 -24
  2. package/animations/animations.d.ts +36 -36
  3. package/animations/index.d.ts +1 -1
  4. package/classes/accessors.d.ts +17 -17
  5. package/classes/driver.d.ts +16 -16
  6. package/classes/index.d.ts +3 -3
  7. package/classes/vehicle.d.ts +6 -6
  8. package/components/accordion/accordion-item/accordion-item.component.d.ts +11 -11
  9. package/components/accordion/accordion.component.d.ts +5 -5
  10. package/components/accordion/accordion.module.d.ts +11 -11
  11. package/components/accordion/index.d.ts +3 -3
  12. package/components/alert/alert.component.d.ts +13 -13
  13. package/components/alert/alert.interfaces.d.ts +9 -9
  14. package/components/alert/alert.module.d.ts +11 -11
  15. package/components/alert/alert.service.d.ts +7 -7
  16. package/components/alert/alert.tokens.d.ts +16 -16
  17. package/components/alert/alert.types.d.ts +3 -3
  18. package/components/alert/alerts.component.d.ts +17 -17
  19. package/components/alert/index.d.ts +8 -8
  20. package/components/badge/badge.component.d.ts +10 -10
  21. package/components/badge/badge.module.d.ts +8 -8
  22. package/components/badge/badge.options.d.ts +8 -8
  23. package/components/badge/index.d.ts +2 -2
  24. package/components/banner/banner.component.d.ts +21 -21
  25. package/components/banner/banner.module.d.ts +11 -11
  26. package/components/banner/banner.options.d.ts +13 -13
  27. package/components/banner/index.d.ts +3 -3
  28. package/components/breadcrumbs/breadcrumb/breadcrumb.component.d.ts +6 -6
  29. package/components/breadcrumbs/breadcrumbs.component.d.ts +7 -7
  30. package/components/breadcrumbs/breadcrumbs.module.d.ts +10 -10
  31. package/components/breadcrumbs/index.d.ts +3 -3
  32. package/components/button/button.component.d.ts +38 -38
  33. package/components/button/button.module.d.ts +9 -9
  34. package/components/button/button.options.d.ts +9 -9
  35. package/components/button/index.d.ts +3 -3
  36. package/components/button-group/button-group.component.d.ts +5 -5
  37. package/components/button-group/button-group.module.d.ts +7 -7
  38. package/components/button-group/index.d.ts +2 -2
  39. package/components/checkbox/checkbox.component.d.ts +5 -5
  40. package/components/checkbox/checkbox.module.d.ts +7 -7
  41. package/components/checkbox/index.d.ts +2 -2
  42. package/components/context-menu/context-menu.component.d.ts +39 -39
  43. package/components/context-menu/context-menu.module.d.ts +9 -9
  44. package/components/context-menu/index.d.ts +2 -2
  45. package/components/dialog/dialog-actions/dialog-actions.component.d.ts +5 -5
  46. package/components/dialog/dialog-header/dialog-header.component.d.ts +13 -13
  47. package/components/dialog/dialog.component.d.ts +33 -33
  48. package/components/dialog/dialog.interfaces.d.ts +11 -11
  49. package/components/dialog/dialog.module.d.ts +14 -14
  50. package/components/dialog/dialog.service.d.ts +7 -7
  51. package/components/dialog/dialog.tokens.d.ts +8 -8
  52. package/components/dialog/dialogs.component.d.ts +18 -18
  53. package/components/dialog/index.d.ts +8 -8
  54. package/components/form-field/form-field.component.d.ts +5 -5
  55. package/components/form-field/form-field.module.d.ts +7 -7
  56. package/components/form-field/index.d.ts +2 -2
  57. package/components/hint/hint.component.d.ts +7 -7
  58. package/components/hint/hint.module.d.ts +7 -7
  59. package/components/hint/index.d.ts +2 -2
  60. package/components/icon-button/icon-button.component.d.ts +13 -13
  61. package/components/icon-button/icon-button.module.d.ts +9 -9
  62. package/components/icon-button/index.d.ts +2 -2
  63. package/components/index.d.ts +26 -26
  64. package/components/input-number/index.d.ts +2 -2
  65. package/components/input-number/input-number.component.d.ts +38 -38
  66. package/components/input-number/input-number.module.d.ts +12 -12
  67. package/components/input-password/index.d.ts +2 -2
  68. package/components/input-password/input-password.component.d.ts +31 -31
  69. package/components/input-password/input-password.module.d.ts +11 -11
  70. package/components/input-text/index.d.ts +2 -2
  71. package/components/input-text/input-text.component.d.ts +31 -31
  72. package/components/input-text/input-text.module.d.ts +11 -11
  73. package/components/input-time/index.d.ts +3 -3
  74. package/components/input-time/input-time.component.d.ts +36 -36
  75. package/components/input-time/input-time.module.d.ts +12 -12
  76. package/components/input-time/input-time.options.d.ts +7 -7
  77. package/components/label/index.d.ts +2 -2
  78. package/components/label/label.component.d.ts +6 -6
  79. package/components/label/label.module.d.ts +8 -8
  80. package/components/notification/index.d.ts +3 -3
  81. package/components/notification/notification.component.d.ts +18 -18
  82. package/components/notification/notification.module.d.ts +9 -9
  83. package/components/notification/notification.options.d.ts +17 -17
  84. package/components/radio/index.d.ts +2 -2
  85. package/components/radio/radio.component.d.ts +5 -5
  86. package/components/radio/radio.module.d.ts +7 -7
  87. package/components/root/index.d.ts +3 -3
  88. package/components/root/root.component.d.ts +11 -11
  89. package/components/root/root.module.d.ts +11 -11
  90. package/components/root/root.options.d.ts +1 -1
  91. package/components/select/index.d.ts +2 -2
  92. package/components/select/select.component.d.ts +53 -53
  93. package/components/select/select.module.d.ts +11 -11
  94. package/components/svg/index.d.ts +2 -2
  95. package/components/svg/svg.component.d.ts +16 -16
  96. package/components/svg/svg.module.d.ts +8 -8
  97. package/components/tabs/index.d.ts +3 -3
  98. package/components/tabs/tab/index.d.ts +1 -1
  99. package/components/tabs/tab/tab.component.d.ts +8 -8
  100. package/components/tabs/tabs.component.d.ts +16 -16
  101. package/components/tabs/tabs.module.d.ts +8 -8
  102. package/components/textarea/index.d.ts +2 -2
  103. package/components/textarea/textarea.component.d.ts +10 -10
  104. package/components/textarea/textarea.module.d.ts +7 -7
  105. package/components/toggle/index.d.ts +2 -2
  106. package/components/toggle/toggle.component.d.ts +5 -5
  107. package/components/toggle/toggle.module.d.ts +7 -7
  108. package/directives/index.d.ts +2 -2
  109. package/directives/text-field-controller/index.d.ts +8 -8
  110. package/directives/text-field-controller/text-field-controller.module.d.ts +11 -11
  111. package/directives/text-field-controller/text-field-controller.provider.d.ts +4 -4
  112. package/directives/text-field-controller/text-field-icon-left.directive.d.ts +9 -9
  113. package/directives/text-field-controller/text-field-id.directive.d.ts +8 -8
  114. package/directives/text-field-controller/text-field-is-error.directive.d.ts +8 -8
  115. package/directives/text-field-controller/text-field-placeholder.directive.d.ts +8 -8
  116. package/directives/text-field-controller/text-field-size.directive.d.ts +9 -9
  117. package/directives/text-field-controller/text-field.controller.d.ts +20 -20
  118. package/directives/tooltip/index.d.ts +16 -16
  119. package/directives/tooltip/tooltip-describe.directive.d.ts +16 -16
  120. package/directives/tooltip/tooltip-driver.directive.d.ts +7 -7
  121. package/directives/tooltip/tooltip-host.directive.d.ts +9 -9
  122. package/directives/tooltip/tooltip-hover.directive.d.ts +21 -21
  123. package/directives/tooltip/tooltip-manual.directive.d.ts +13 -13
  124. package/directives/tooltip/tooltip-options.directive.d.ts +36 -36
  125. package/directives/tooltip/tooltip-overflow.directive.d.ts +8 -8
  126. package/directives/tooltip/tooltip-pointer.directive.d.ts +10 -10
  127. package/directives/tooltip/tooltip-position.directive.d.ts +20 -20
  128. package/directives/tooltip/tooltip-unstyled.component.d.ts +17 -17
  129. package/directives/tooltip/tooltip.component.d.ts +33 -33
  130. package/directives/tooltip/tooltip.d.ts +13 -13
  131. package/directives/tooltip/tooltip.directive.d.ts +26 -26
  132. package/directives/tooltip/tooltip.providers.d.ts +5 -5
  133. package/directives/tooltip/tooltip.service.d.ts +13 -13
  134. package/directives/tooltip/tooltips.component.d.ts +12 -12
  135. package/esm2022/animations/animations.mjs +272 -272
  136. package/esm2022/animations/index.mjs +1 -1
  137. package/esm2022/classes/accessors.mjs +31 -31
  138. package/esm2022/classes/driver.mjs +35 -35
  139. package/esm2022/classes/index.mjs +4 -4
  140. package/esm2022/classes/vehicle.mjs +7 -7
  141. package/esm2022/components/accordion/accordion-item/accordion-item.component.mjs +28 -28
  142. package/esm2022/components/accordion/accordion.component.mjs +11 -11
  143. package/esm2022/components/accordion/accordion.module.mjs +37 -37
  144. package/esm2022/components/accordion/index.mjs +4 -4
  145. package/esm2022/components/alert/alert.component.mjs +36 -36
  146. package/esm2022/components/alert/alert.interfaces.mjs +2 -2
  147. package/esm2022/components/alert/alert.module.mjs +40 -40
  148. package/esm2022/components/alert/alert.service.mjs +17 -17
  149. package/esm2022/components/alert/alert.tokens.mjs +20 -20
  150. package/esm2022/components/alert/alert.types.mjs +2 -2
  151. package/esm2022/components/alert/alerts.component.mjs +36 -36
  152. package/esm2022/components/alert/index.mjs +9 -9
  153. package/esm2022/components/badge/badge.component.mjs +31 -31
  154. package/esm2022/components/badge/badge.module.mjs +18 -18
  155. package/esm2022/components/badge/badge.options.mjs +8 -8
  156. package/esm2022/components/badge/index.mjs +3 -3
  157. package/esm2022/components/banner/banner.component.mjs +68 -68
  158. package/esm2022/components/banner/banner.module.mjs +31 -31
  159. package/esm2022/components/banner/banner.options.mjs +6 -6
  160. package/esm2022/components/banner/index.mjs +4 -4
  161. package/esm2022/components/breadcrumbs/breadcrumb/breadcrumb.component.mjs +16 -16
  162. package/esm2022/components/breadcrumbs/breadcrumbs.component.mjs +17 -17
  163. package/esm2022/components/breadcrumbs/breadcrumbs.module.mjs +33 -33
  164. package/esm2022/components/breadcrumbs/index.mjs +4 -4
  165. package/esm2022/components/button/button.component.mjs +138 -138
  166. package/esm2022/components/button/button.module.mjs +24 -24
  167. package/esm2022/components/button/button.options.mjs +10 -10
  168. package/esm2022/components/button/index.mjs +4 -4
  169. package/esm2022/components/button-group/button-group.component.mjs +11 -11
  170. package/esm2022/components/button-group/button-group.module.mjs +16 -16
  171. package/esm2022/components/button-group/index.mjs +3 -3
  172. package/esm2022/components/checkbox/checkbox.component.mjs +11 -11
  173. package/esm2022/components/checkbox/checkbox.module.mjs +16 -16
  174. package/esm2022/components/checkbox/index.mjs +3 -3
  175. package/esm2022/components/context-menu/context-menu.component.mjs +148 -146
  176. package/esm2022/components/context-menu/context-menu.module.mjs +24 -24
  177. package/esm2022/components/context-menu/index.mjs +3 -3
  178. package/esm2022/components/dialog/dialog-actions/dialog-actions.component.mjs +11 -11
  179. package/esm2022/components/dialog/dialog-header/dialog-header.component.mjs +28 -28
  180. package/esm2022/components/dialog/dialog.component.mjs +67 -67
  181. package/esm2022/components/dialog/dialog.interfaces.mjs +2 -2
  182. package/esm2022/components/dialog/dialog.module.mjs +49 -49
  183. package/esm2022/components/dialog/dialog.service.mjs +17 -17
  184. package/esm2022/components/dialog/dialog.tokens.mjs +12 -12
  185. package/esm2022/components/dialog/dialogs.component.mjs +51 -51
  186. package/esm2022/components/dialog/index.mjs +9 -9
  187. package/esm2022/components/form-field/form-field.component.mjs +11 -11
  188. package/esm2022/components/form-field/form-field.module.mjs +16 -16
  189. package/esm2022/components/form-field/index.mjs +3 -3
  190. package/esm2022/components/hint/hint.component.mjs +19 -19
  191. package/esm2022/components/hint/hint.module.mjs +16 -16
  192. package/esm2022/components/hint/index.mjs +3 -3
  193. package/esm2022/components/icon-button/icon-button.component.mjs +32 -32
  194. package/esm2022/components/icon-button/icon-button.module.mjs +24 -24
  195. package/esm2022/components/icon-button/index.mjs +3 -3
  196. package/esm2022/components/index.mjs +27 -27
  197. package/esm2022/components/input-number/index.mjs +3 -3
  198. package/esm2022/components/input-number/input-number.component.mjs +113 -113
  199. package/esm2022/components/input-number/input-number.module.mjs +36 -36
  200. package/esm2022/components/input-password/index.mjs +3 -3
  201. package/esm2022/components/input-password/input-password.component.mjs +89 -89
  202. package/esm2022/components/input-password/input-password.module.mjs +33 -33
  203. package/esm2022/components/input-text/index.mjs +3 -3
  204. package/esm2022/components/input-text/input-text.component.mjs +87 -87
  205. package/esm2022/components/input-text/input-text.module.mjs +33 -33
  206. package/esm2022/components/input-time/index.mjs +4 -4
  207. package/esm2022/components/input-time/input-time.component.mjs +99 -99
  208. package/esm2022/components/input-time/input-time.module.mjs +36 -36
  209. package/esm2022/components/input-time/input-time.options.mjs +8 -8
  210. package/esm2022/components/label/index.mjs +3 -3
  211. package/esm2022/components/label/label.component.mjs +17 -17
  212. package/esm2022/components/label/label.module.mjs +18 -18
  213. package/esm2022/components/notification/index.mjs +4 -4
  214. package/esm2022/components/notification/notification.component.mjs +47 -47
  215. package/esm2022/components/notification/notification.module.mjs +24 -24
  216. package/esm2022/components/notification/notification.options.mjs +53 -53
  217. package/esm2022/components/radio/index.mjs +3 -3
  218. package/esm2022/components/radio/radio.component.mjs +11 -11
  219. package/esm2022/components/radio/radio.module.mjs +16 -16
  220. package/esm2022/components/root/index.mjs +4 -4
  221. package/esm2022/components/root/root.component.mjs +32 -32
  222. package/esm2022/components/root/root.module.mjs +31 -31
  223. package/esm2022/components/root/root.options.mjs +1 -1
  224. package/esm2022/components/select/index.mjs +3 -3
  225. package/esm2022/components/select/select.component.mjs +172 -172
  226. package/esm2022/components/select/select.module.mjs +32 -32
  227. package/esm2022/components/svg/index.mjs +3 -3
  228. package/esm2022/components/svg/svg.component.mjs +50 -50
  229. package/esm2022/components/svg/svg.module.mjs +18 -18
  230. package/esm2022/components/tabs/index.mjs +4 -4
  231. package/esm2022/components/tabs/tab/index.mjs +1 -1
  232. package/esm2022/components/tabs/tab/tab.component.mjs +21 -21
  233. package/esm2022/components/tabs/tabs.component.mjs +49 -49
  234. package/esm2022/components/tabs/tabs.module.mjs +18 -18
  235. package/esm2022/components/textarea/index.mjs +3 -3
  236. package/esm2022/components/textarea/textarea.component.mjs +35 -35
  237. package/esm2022/components/textarea/textarea.module.mjs +16 -16
  238. package/esm2022/components/toggle/index.mjs +3 -3
  239. package/esm2022/components/toggle/toggle.component.mjs +11 -11
  240. package/esm2022/components/toggle/toggle.module.mjs +16 -16
  241. package/esm2022/cuby-ui-core.mjs +4 -4
  242. package/esm2022/directives/index.mjs +3 -3
  243. package/esm2022/directives/text-field-controller/index.mjs +9 -9
  244. package/esm2022/directives/text-field-controller/text-field-controller.module.mjs +40 -40
  245. package/esm2022/directives/text-field-controller/text-field-controller.provider.mjs +24 -24
  246. package/esm2022/directives/text-field-controller/text-field-icon-left.directive.mjs +21 -21
  247. package/esm2022/directives/text-field-controller/text-field-id.directive.mjs +21 -21
  248. package/esm2022/directives/text-field-controller/text-field-is-error.directive.mjs +24 -24
  249. package/esm2022/directives/text-field-controller/text-field-placeholder.directive.mjs +21 -21
  250. package/esm2022/directives/text-field-controller/text-field-size.directive.mjs +24 -24
  251. package/esm2022/directives/text-field-controller/text-field.controller.mjs +25 -25
  252. package/esm2022/directives/tooltip/index.mjs +17 -17
  253. package/esm2022/directives/tooltip/tooltip-describe.directive.mjs +45 -45
  254. package/esm2022/directives/tooltip/tooltip-driver.directive.mjs +18 -18
  255. package/esm2022/directives/tooltip/tooltip-host.directive.mjs +26 -26
  256. package/esm2022/directives/tooltip/tooltip-hover.directive.mjs +53 -53
  257. package/esm2022/directives/tooltip/tooltip-manual.directive.mjs +31 -31
  258. package/esm2022/directives/tooltip/tooltip-options.directive.mjs +83 -83
  259. package/esm2022/directives/tooltip/tooltip-overflow.directive.mjs +31 -31
  260. package/esm2022/directives/tooltip/tooltip-pointer.directive.mjs +31 -31
  261. package/esm2022/directives/tooltip/tooltip-position.directive.mjs +96 -96
  262. package/esm2022/directives/tooltip/tooltip-unstyled.component.mjs +40 -40
  263. package/esm2022/directives/tooltip/tooltip.component.mjs +110 -110
  264. package/esm2022/directives/tooltip/tooltip.directive.mjs +92 -92
  265. package/esm2022/directives/tooltip/tooltip.mjs +27 -27
  266. package/esm2022/directives/tooltip/tooltip.providers.mjs +7 -7
  267. package/esm2022/directives/tooltip/tooltip.service.mjs +28 -28
  268. package/esm2022/directives/tooltip/tooltips.component.mjs +33 -33
  269. package/esm2022/index.mjs +7 -7
  270. package/esm2022/interfaces/context-menu-item.mjs +2 -2
  271. package/esm2022/interfaces/index.mjs +3 -3
  272. package/esm2022/interfaces/option.mjs +2 -2
  273. package/esm2022/services/index.mjs +5 -5
  274. package/esm2022/services/position.service.mjs +23 -23
  275. package/esm2022/services/theme.options.mjs +6 -6
  276. package/esm2022/services/theme.service.mjs +30 -30
  277. package/esm2022/services/visual-viewport.service.mjs +28 -28
  278. package/esm2022/tokens/animations-speed.mjs +8 -8
  279. package/esm2022/tokens/index.mjs +4 -4
  280. package/esm2022/tokens/reduced-motion.mjs +6 -6
  281. package/esm2022/tokens/viewport.mjs +31 -31
  282. package/esm2022/types/appearance.mjs +2 -2
  283. package/esm2022/types/hint-type.mjs +2 -2
  284. package/esm2022/types/index.mjs +10 -10
  285. package/esm2022/types/point.mjs +2 -2
  286. package/esm2022/types/portal-item.mjs +2 -2
  287. package/esm2022/types/position.mjs +2 -2
  288. package/esm2022/types/resizing.mjs +2 -2
  289. package/esm2022/types/shape.mjs +2 -2
  290. package/esm2022/types/size.mjs +2 -2
  291. package/esm2022/types/status.mjs +2 -2
  292. package/esm2022/utils/format/index.mjs +3 -3
  293. package/esm2022/utils/format/remove-spaces.mjs +4 -4
  294. package/esm2022/utils/format/replace.mjs +5 -5
  295. package/esm2022/utils/index.mjs +3 -3
  296. package/esm2022/utils/miscellaneous/index.mjs +4 -4
  297. package/esm2022/utils/miscellaneous/is-obscured.mjs +8 -8
  298. package/esm2022/utils/miscellaneous/override-options.mjs +11 -11
  299. package/esm2022/utils/miscellaneous/to-animation-options.mjs +14 -14
  300. package/fesm2022/cuby-ui-core.mjs +3195 -3193
  301. package/fesm2022/cuby-ui-core.mjs.map +1 -1
  302. package/fonts/Inter-Bold.svg +25443 -25443
  303. package/fonts/Inter-Medium.svg +25400 -25400
  304. package/fonts/Inter-Regular.svg +24341 -24341
  305. package/fonts/Inter-SemiBold.svg +25459 -25459
  306. package/index.d.ts +6 -6
  307. package/interfaces/context-menu-item.d.ts +7 -7
  308. package/interfaces/index.d.ts +2 -2
  309. package/interfaces/option.d.ts +5 -5
  310. package/package.json +3 -3
  311. package/services/index.d.ts +4 -4
  312. package/services/position.service.d.ts +10 -10
  313. package/services/theme.options.d.ts +5 -5
  314. package/services/theme.service.d.ts +12 -12
  315. package/services/visual-viewport.service.d.ts +9 -9
  316. package/styles/fonts.scss +51 -51
  317. package/styles/global.scss +9 -9
  318. package/styles/mixins/buttons.scss +13 -13
  319. package/styles/mixins/headings.scss +115 -115
  320. package/styles/mixins/inputs.scss +91 -91
  321. package/styles/mixins/lists.scss +5 -5
  322. package/styles/mixins/paddings.scss +35 -35
  323. package/styles/mixins/shadows.scss +38 -38
  324. package/styles/mixins/texts.scss +225 -225
  325. package/styles/theme.scss +385 -385
  326. package/styles/variables/colors.scss +253 -253
  327. package/tokens/animations-speed.d.ts +4 -4
  328. package/tokens/index.d.ts +3 -3
  329. package/tokens/reduced-motion.d.ts +1 -1
  330. package/tokens/viewport.d.ts +7 -7
  331. package/types/appearance.d.ts +8 -8
  332. package/types/hint-type.d.ts +1 -1
  333. package/types/index.d.ts +9 -9
  334. package/types/point.d.ts +1 -1
  335. package/types/portal-item.d.ts +9 -9
  336. package/types/position.d.ts +2 -2
  337. package/types/resizing.d.ts +2 -2
  338. package/types/shape.d.ts +1 -1
  339. package/types/size.d.ts +4 -4
  340. package/types/status.d.ts +1 -1
  341. package/utils/format/index.d.ts +2 -2
  342. package/utils/format/remove-spaces.d.ts +1 -1
  343. package/utils/format/replace.d.ts +1 -1
  344. package/utils/index.d.ts +2 -2
  345. package/utils/miscellaneous/index.d.ts +3 -3
  346. package/utils/miscellaneous/is-obscured.d.ts +4 -4
  347. package/utils/miscellaneous/override-options.d.ts +1 -1
  348. package/utils/miscellaneous/to-animation-options.d.ts +4 -4
@@ -1,13 +1,13 @@
1
- import type { CuiStatus } from '../../types';
2
- import type { CuiIcon } from '@cuby-ui/icons';
3
- export type CuiBannerIconOptions = {
4
- [k in CuiStatus]: {
5
- icon: CuiIcon;
6
- color: string;
7
- };
8
- };
9
- export interface CuiBannerOptions {
10
- readonly status: CuiStatus;
11
- }
12
- export declare const CUI_BANNER_DEFAULT_OPTIONS: CuiBannerOptions;
13
- export declare const CUI_BANNER_OPTIONS: import("@angular/core").InjectionToken<CuiBannerOptions>;
1
+ import type { CuiStatus } from '../../types';
2
+ import type { CuiIcon } from '@cuby-ui/icons';
3
+ export type CuiBannerIconOptions = {
4
+ [k in CuiStatus]: {
5
+ icon: CuiIcon;
6
+ color: string;
7
+ };
8
+ };
9
+ export interface CuiBannerOptions {
10
+ readonly status: CuiStatus;
11
+ }
12
+ export declare const CUI_BANNER_DEFAULT_OPTIONS: CuiBannerOptions;
13
+ export declare const CUI_BANNER_OPTIONS: import("@angular/core").InjectionToken<CuiBannerOptions>;
@@ -1,3 +1,3 @@
1
- export * from './banner.component';
2
- export * from './banner.module';
3
- export * from './banner.options';
1
+ export * from './banner.component';
2
+ export * from './banner.module';
3
+ export * from './banner.options';
@@ -1,6 +1,6 @@
1
- import * as i0 from "@angular/core";
2
- export declare class CuiBreadcrumbComponent {
3
- isLast: boolean;
4
- static ɵfac: i0.ɵɵFactoryDeclaration<CuiBreadcrumbComponent, never>;
5
- static ɵcmp: i0.ɵɵComponentDeclaration<CuiBreadcrumbComponent, "[cuiBreadcrumb]", never, { "isLast": { "alias": "isLast"; "required": false; }; }, {}, never, ["*"], false, never>;
6
- }
1
+ import * as i0 from "@angular/core";
2
+ export declare class CuiBreadcrumbComponent {
3
+ isLast: boolean;
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiBreadcrumbComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<CuiBreadcrumbComponent, "[cuiBreadcrumb]", never, { "isLast": { "alias": "isLast"; "required": false; }; }, {}, never, ["*"], false, never>;
6
+ }
@@ -1,7 +1,7 @@
1
- import { QueryList, TemplateRef } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class CuiBreadcrumbsComponent {
4
- protected readonly breadcrumbs: QueryList<TemplateRef<unknown>>;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<CuiBreadcrumbsComponent, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<CuiBreadcrumbsComponent, "cui-breadcrumbs", never, {}, {}, ["breadcrumbs"], never, false, never>;
7
- }
1
+ import { QueryList, TemplateRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class CuiBreadcrumbsComponent {
4
+ protected readonly breadcrumbs: QueryList<TemplateRef<unknown>>;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiBreadcrumbsComponent, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<CuiBreadcrumbsComponent, "cui-breadcrumbs", never, {}, {}, ["breadcrumbs"], never, false, never>;
7
+ }
@@ -1,10 +1,10 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./breadcrumbs.component";
3
- import * as i2 from "./breadcrumb/breadcrumb.component";
4
- import * as i3 from "@angular/common";
5
- import * as i4 from "../svg/svg.module";
6
- export declare class CuiBreadcrumbsModule {
7
- static ɵfac: i0.ɵɵFactoryDeclaration<CuiBreadcrumbsModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<CuiBreadcrumbsModule, [typeof i1.CuiBreadcrumbsComponent, typeof i2.CuiBreadcrumbComponent], [typeof i3.CommonModule, typeof i4.CuiSvgModule], [typeof i1.CuiBreadcrumbsComponent, typeof i2.CuiBreadcrumbComponent]>;
9
- static ɵinj: i0.ɵɵInjectorDeclaration<CuiBreadcrumbsModule>;
10
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./breadcrumbs.component";
3
+ import * as i2 from "./breadcrumb/breadcrumb.component";
4
+ import * as i3 from "@angular/common";
5
+ import * as i4 from "../svg/svg.module";
6
+ export declare class CuiBreadcrumbsModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiBreadcrumbsModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CuiBreadcrumbsModule, [typeof i1.CuiBreadcrumbsComponent, typeof i2.CuiBreadcrumbComponent], [typeof i3.CommonModule, typeof i4.CuiSvgModule], [typeof i1.CuiBreadcrumbsComponent, typeof i2.CuiBreadcrumbComponent]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<CuiBreadcrumbsModule>;
10
+ }
@@ -1,3 +1,3 @@
1
- export * from './breadcrumbs.component';
2
- export * from './breadcrumbs.module';
3
- export * from './breadcrumb/breadcrumb.component';
1
+ export * from './breadcrumbs.component';
2
+ export * from './breadcrumbs.module';
3
+ export * from './breadcrumb/breadcrumb.component';
@@ -1,38 +1,38 @@
1
- import { ElementRef, OnInit } from '@angular/core';
2
- import type { CuiIcon } from '@cuby-ui/icons';
3
- import { CuiButtonOptions } from './button.options';
4
- import * as i0 from "@angular/core";
5
- export declare class CuiButtonComponent implements CuiButtonOptions, OnInit {
6
- private readonly changeDetectorRef;
7
- private readonly element;
8
- private readonly window;
9
- private readonly cuiButtonOptions;
10
- protected readonly AppearanceIconColors: Record<CuiButtonOptions['appearance'], string>;
11
- protected readonly COLOR_BASE_500 = "var(--cui-base-500)";
12
- protected readonly BUTTON_ICONS_COLOR_BASE_500: CuiButtonOptions['appearance'][];
13
- protected _appearance: "action" | "secondary" | "outlined" | "outlined-gray" | "ghost" | "flat" | "destructive" | "link";
14
- protected iconColor: string;
15
- protected _size: "xxs" | "xs" | "sm" | "md";
16
- protected iconDimensions: {
17
- width: number;
18
- height: number;
19
- };
20
- shape: "rounded" | null;
21
- disabled: boolean;
22
- isLoaderShown: boolean;
23
- icon?: CuiIcon | string;
24
- iconRight?: CuiIcon | string;
25
- get appearance(): CuiButtonOptions['appearance'];
26
- set appearance(appearance: CuiButtonOptions['appearance']);
27
- get size(): CuiButtonOptions['size'];
28
- set size(size: CuiButtonOptions['size']);
29
- protected containsOnlyIcon: boolean;
30
- protected get isDisabled(): boolean;
31
- protected content: ElementRef<HTMLSpanElement>;
32
- ngOnInit(): void;
33
- private initIconColor;
34
- private changeIconColor;
35
- private getIconColor;
36
- static ɵfac: i0.ɵɵFactoryDeclaration<CuiButtonComponent, 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
- }
1
+ import { ElementRef, OnInit } from '@angular/core';
2
+ import type { CuiIcon } from '@cuby-ui/icons';
3
+ import { CuiButtonOptions } from './button.options';
4
+ import * as i0 from "@angular/core";
5
+ export declare class CuiButtonComponent implements CuiButtonOptions, OnInit {
6
+ private readonly changeDetectorRef;
7
+ private readonly element;
8
+ private readonly window;
9
+ private readonly cuiButtonOptions;
10
+ protected readonly AppearanceIconColors: Record<CuiButtonOptions['appearance'], string>;
11
+ protected readonly COLOR_BASE_500 = "var(--cui-base-500)";
12
+ protected readonly BUTTON_ICONS_COLOR_BASE_500: CuiButtonOptions['appearance'][];
13
+ protected _appearance: "flat" | "link" | "action" | "secondary" | "outlined" | "outlined-gray" | "ghost" | "destructive";
14
+ protected iconColor: string;
15
+ protected _size: "xxs" | "xs" | "sm" | "md";
16
+ protected iconDimensions: {
17
+ width: number;
18
+ height: number;
19
+ };
20
+ shape: "rounded" | null;
21
+ disabled: boolean;
22
+ isLoaderShown: boolean;
23
+ icon?: CuiIcon | string;
24
+ iconRight?: CuiIcon | string;
25
+ get appearance(): CuiButtonOptions['appearance'];
26
+ set appearance(appearance: CuiButtonOptions['appearance']);
27
+ get size(): CuiButtonOptions['size'];
28
+ set size(size: CuiButtonOptions['size']);
29
+ protected containsOnlyIcon: boolean;
30
+ protected get isDisabled(): boolean;
31
+ protected content: ElementRef<HTMLSpanElement>;
32
+ ngOnInit(): void;
33
+ private initIconColor;
34
+ private changeIconColor;
35
+ private getIconColor;
36
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiButtonComponent, 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
+ }
@@ -1,9 +1,9 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./button.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "../svg/svg.module";
5
- export declare class CuiButtonModule {
6
- static ɵfac: i0.ɵɵFactoryDeclaration<CuiButtonModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<CuiButtonModule, [typeof i1.CuiButtonComponent], [typeof i2.CommonModule, typeof i3.CuiSvgModule], [typeof i1.CuiButtonComponent]>;
8
- static ɵinj: i0.ɵɵInjectorDeclaration<CuiButtonModule>;
9
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./button.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../svg/svg.module";
5
+ export declare class CuiButtonModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiButtonModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CuiButtonModule, [typeof i1.CuiButtonComponent], [typeof i2.CommonModule, typeof i3.CuiSvgModule], [typeof i1.CuiButtonComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<CuiButtonModule>;
9
+ }
@@ -1,9 +1,9 @@
1
- import { InjectionToken } from '@angular/core';
2
- import type { CuiAppearanceAction, CuiAppearanceDestructive, CuiAppearanceFlat, CuiAppearanceGhost, CuiAppearanceLink, CuiAppearanceOutlined, CuiAppearanceOutlinedGray, CuiAppearanceSecondary, CuiShapeRounded, CuiSizeMd, CuiSizeSm, CuiSizeXs, CuiSizeXxs } from '../../types';
3
- export interface CuiButtonOptions {
4
- readonly appearance: CuiAppearanceAction | CuiAppearanceSecondary | CuiAppearanceOutlined | CuiAppearanceOutlinedGray | CuiAppearanceGhost | CuiAppearanceFlat | CuiAppearanceDestructive | CuiAppearanceLink;
5
- readonly shape: CuiShapeRounded | null;
6
- readonly size: CuiSizeXxs | CuiSizeXs | CuiSizeSm | CuiSizeMd;
7
- }
8
- export declare const CUI_BUTTON_DEFAULT_OPTIONS: CuiButtonOptions;
9
- export declare const CUI_BUTTON_OPTIONS: InjectionToken<CuiButtonOptions>;
1
+ import { InjectionToken } from '@angular/core';
2
+ import type { CuiAppearanceAction, CuiAppearanceDestructive, CuiAppearanceFlat, CuiAppearanceGhost, CuiAppearanceLink, CuiAppearanceOutlined, CuiAppearanceOutlinedGray, CuiAppearanceSecondary, CuiShapeRounded, CuiSizeMd, CuiSizeSm, CuiSizeXs, CuiSizeXxs } from '../../types';
3
+ export interface CuiButtonOptions {
4
+ readonly appearance: CuiAppearanceAction | CuiAppearanceSecondary | CuiAppearanceOutlined | CuiAppearanceOutlinedGray | CuiAppearanceGhost | CuiAppearanceFlat | CuiAppearanceDestructive | CuiAppearanceLink;
5
+ readonly shape: CuiShapeRounded | null;
6
+ readonly size: CuiSizeXxs | CuiSizeXs | CuiSizeSm | CuiSizeMd;
7
+ }
8
+ export declare const CUI_BUTTON_DEFAULT_OPTIONS: CuiButtonOptions;
9
+ export declare const CUI_BUTTON_OPTIONS: InjectionToken<CuiButtonOptions>;
@@ -1,3 +1,3 @@
1
- export * from './button.component';
2
- export * from './button.module';
3
- export * from './button.options';
1
+ export * from './button.component';
2
+ export * from './button.module';
3
+ export * from './button.options';
@@ -1,5 +1,5 @@
1
- import * as i0 from "@angular/core";
2
- export declare class CuiButtonGroupComponent {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<CuiButtonGroupComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<CuiButtonGroupComponent, "cui-button-group", never, {}, {}, never, ["button[cuiButton], a[cuiButton]"], false, never>;
5
- }
1
+ import * as i0 from "@angular/core";
2
+ export declare class CuiButtonGroupComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiButtonGroupComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<CuiButtonGroupComponent, "cui-button-group", never, {}, {}, never, ["button[cuiButton], a[cuiButton]"], false, never>;
5
+ }
@@ -1,7 +1,7 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./button-group.component";
3
- export declare class CuiButtonGroupModule {
4
- static ɵfac: i0.ɵɵFactoryDeclaration<CuiButtonGroupModule, never>;
5
- static ɵmod: i0.ɵɵNgModuleDeclaration<CuiButtonGroupModule, [typeof i1.CuiButtonGroupComponent], never, [typeof i1.CuiButtonGroupComponent]>;
6
- static ɵinj: i0.ɵɵInjectorDeclaration<CuiButtonGroupModule>;
7
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./button-group.component";
3
+ export declare class CuiButtonGroupModule {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiButtonGroupModule, never>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CuiButtonGroupModule, [typeof i1.CuiButtonGroupComponent], never, [typeof i1.CuiButtonGroupComponent]>;
6
+ static ɵinj: i0.ɵɵInjectorDeclaration<CuiButtonGroupModule>;
7
+ }
@@ -1,2 +1,2 @@
1
- export * from './button-group.component';
2
- export * from './button-group.module';
1
+ export * from './button-group.component';
2
+ export * from './button-group.module';
@@ -1,5 +1,5 @@
1
- import * as i0 from "@angular/core";
2
- export declare class CuiCheckboxComponent {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<CuiCheckboxComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<CuiCheckboxComponent, "input[type=\"checkbox\"][cuiCheckbox]", never, {}, {}, never, never, false, never>;
5
- }
1
+ import * as i0 from "@angular/core";
2
+ export declare class CuiCheckboxComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiCheckboxComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<CuiCheckboxComponent, "input[type=\"checkbox\"][cuiCheckbox]", never, {}, {}, never, never, false, never>;
5
+ }
@@ -1,7 +1,7 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./checkbox.component";
3
- export declare class CuiCheckboxModule {
4
- static ɵfac: i0.ɵɵFactoryDeclaration<CuiCheckboxModule, never>;
5
- static ɵmod: i0.ɵɵNgModuleDeclaration<CuiCheckboxModule, [typeof i1.CuiCheckboxComponent], never, [typeof i1.CuiCheckboxComponent]>;
6
- static ɵinj: i0.ɵɵInjectorDeclaration<CuiCheckboxModule>;
7
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./checkbox.component";
3
+ export declare class CuiCheckboxModule {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiCheckboxModule, never>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CuiCheckboxModule, [typeof i1.CuiCheckboxComponent], never, [typeof i1.CuiCheckboxComponent]>;
6
+ static ɵinj: i0.ɵɵInjectorDeclaration<CuiCheckboxModule>;
7
+ }
@@ -1,2 +1,2 @@
1
- export * from './checkbox.component';
2
- export * from './checkbox.module';
1
+ export * from './checkbox.component';
2
+ export * from './checkbox.module';
@@ -1,39 +1,39 @@
1
- import type { OnInit, AfterViewInit, TemplateRef, OnDestroy } from '@angular/core';
2
- import type { CuiContextMenuItem } from '../../interfaces';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@cuby-ui/cdk";
5
- export declare class CuiContextMenuComponent implements OnInit, AfterViewInit, OnDestroy {
6
- private readonly changeDetectorRef;
7
- private readonly viewContainerRef;
8
- private readonly document;
9
- private readonly documentElement;
10
- private readonly window;
11
- private readonly destroy$;
12
- private readonly cuiClickOutsideDirective;
13
- private readonly cuiTargetDirective;
14
- protected readonly EXTRA_OFFSET_LEFT = 0;
15
- protected readonly EXTRA_OFFSET_TOP = 0;
16
- protected isVisible: boolean;
17
- protected targetEventListener: (event: MouseEvent) => void;
18
- protected node?: HTMLDivElement;
19
- items: CuiContextMenuItem[];
20
- target: HTMLElement;
21
- protected readonly list: TemplateRef<any>;
22
- ngOnInit(): void;
23
- ngOnDestroy(): void;
24
- ngAfterViewInit(): void;
25
- protected onSelect(item: CuiContextMenuItem): void;
26
- protected onClose(): void;
27
- protected onStopClickPropagation(event: MouseEvent): void;
28
- protected trackByFn(_: number, item: CuiContextMenuItem): string;
29
- private initClickOutsideSubscription;
30
- private initTargetElementListener;
31
- private initHidingSubscription;
32
- private initHidingFromWindowEvent;
33
- private close;
34
- private renderList;
35
- private changePosition;
36
- private clearViewContainerRef;
37
- static ɵfac: i0.ɵɵFactoryDeclaration<CuiContextMenuComponent, never>;
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
- }
1
+ import type { OnInit, AfterViewInit, TemplateRef, OnDestroy } from '@angular/core';
2
+ import type { CuiContextMenuItem } from '../../interfaces';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@cuby-ui/cdk";
5
+ export declare class CuiContextMenuComponent implements OnInit, AfterViewInit, OnDestroy {
6
+ private readonly viewContainerRef;
7
+ private readonly document;
8
+ private readonly documentElement;
9
+ private readonly window;
10
+ private readonly destroy$;
11
+ private readonly cuiClickOutsideDirective;
12
+ private readonly cuiTargetDirective;
13
+ protected readonly EXTRA_OFFSET_LEFT = 0;
14
+ protected readonly EXTRA_OFFSET_TOP = 0;
15
+ protected isVisible: boolean;
16
+ protected node?: HTMLDivElement;
17
+ items: CuiContextMenuItem[];
18
+ target: HTMLElement;
19
+ protected readonly list: TemplateRef<any>;
20
+ protected readonly backdrop: TemplateRef<any>;
21
+ ngOnInit(): void;
22
+ ngOnDestroy(): void;
23
+ ngAfterViewInit(): void;
24
+ protected onSelect(item: CuiContextMenuItem): void;
25
+ protected onClose(): void;
26
+ protected onStopClickPropagation(event: MouseEvent): void;
27
+ protected trackByFn(_: number, item: CuiContextMenuItem): string;
28
+ private initClickOutsideSubscription;
29
+ private initTargetElementListener;
30
+ private initHidingSubscription;
31
+ private initHidingFromWindowEvent;
32
+ private targetEventListener;
33
+ private close;
34
+ private renderList;
35
+ private changePosition;
36
+ private clearViewContainerRef;
37
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiContextMenuComponent, never>;
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
+ }
@@ -1,9 +1,9 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./context-menu.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "../svg/svg.module";
5
- export declare class CuiContextMenuModule {
6
- static ɵfac: i0.ɵɵFactoryDeclaration<CuiContextMenuModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<CuiContextMenuModule, [typeof i1.CuiContextMenuComponent], [typeof i2.CommonModule, typeof i3.CuiSvgModule], [typeof i1.CuiContextMenuComponent]>;
8
- static ɵinj: i0.ɵɵInjectorDeclaration<CuiContextMenuModule>;
9
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./context-menu.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../svg/svg.module";
5
+ export declare class CuiContextMenuModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiContextMenuModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CuiContextMenuModule, [typeof i1.CuiContextMenuComponent], [typeof i2.CommonModule, typeof i3.CuiSvgModule], [typeof i1.CuiContextMenuComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<CuiContextMenuModule>;
9
+ }
@@ -1,2 +1,2 @@
1
- export * from './context-menu.component';
2
- export * from './context-menu.module';
1
+ export * from './context-menu.component';
2
+ export * from './context-menu.module';
@@ -1,5 +1,5 @@
1
- import * as i0 from "@angular/core";
2
- export declare class CuiDialogActionsComponent {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<CuiDialogActionsComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<CuiDialogActionsComponent, "cui-dialog-actions", never, {}, {}, never, ["*"], false, never>;
5
- }
1
+ import * as i0 from "@angular/core";
2
+ export declare class CuiDialogActionsComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiDialogActionsComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<CuiDialogActionsComponent, "cui-dialog-actions", never, {}, {}, never, ["*"], false, never>;
5
+ }
@@ -1,13 +1,13 @@
1
- import { EventEmitter } from '@angular/core';
2
- import type { PolymorpheusContent } from '@taiga-ui/polymorpheus';
3
- import { PolymorpheusContext } from '@taiga-ui/polymorpheus/classes/context';
4
- import * as i0 from "@angular/core";
5
- export declare class CuiDialogHeaderComponent {
6
- heading: PolymorpheusContent;
7
- headingContext?: PolymorpheusContext<any>['$implicit'];
8
- subheading?: string;
9
- readonly closed: EventEmitter<MouseEvent>;
10
- protected onClose(event: MouseEvent): void;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<CuiDialogHeaderComponent, 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
- }
1
+ import { EventEmitter } from '@angular/core';
2
+ import type { PolymorpheusContent } from '@taiga-ui/polymorpheus';
3
+ import { PolymorpheusContext } from '@taiga-ui/polymorpheus/classes/context';
4
+ import * as i0 from "@angular/core";
5
+ export declare class CuiDialogHeaderComponent {
6
+ heading: PolymorpheusContent;
7
+ headingContext?: PolymorpheusContext<any>['$implicit'];
8
+ subheading?: string;
9
+ readonly closed: EventEmitter<MouseEvent>;
10
+ protected onClose(event: MouseEvent): void;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiDialogHeaderComponent, 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
+ }
@@ -1,33 +1,33 @@
1
- import type { OnInit } from '@angular/core';
2
- import { Type } from '@angular/core';
3
- import { TemplateRef } from '@angular/core';
4
- import type { CuiValueOf } from '@cuby-ui/cdk';
5
- import type { CuiDialogSize } from './dialog.interfaces';
6
- import * as i0 from "@angular/core";
7
- import * as i1 from "@cuby-ui/cdk";
8
- declare const ContentType: {
9
- readonly String: "string";
10
- readonly Template: "template";
11
- readonly Component: "component";
12
- };
13
- type IContentType = CuiValueOf<typeof ContentType>;
14
- export declare class CuiDialogComponent implements OnInit {
15
- protected readonly element: HTMLElement;
16
- protected readonly context: import("@cuby-ui/cdk").CuiPopover<import("./dialog.interfaces").CuiDialogOptions<any>>;
17
- protected readonly LAST_OF_TYPE_SELECTOR = ":last-of-type";
18
- protected readonly ContentType: {
19
- readonly String: "string";
20
- readonly Template: "template";
21
- readonly Component: "component";
22
- };
23
- protected contentType: IContentType;
24
- protected get size(): CuiDialogSize;
25
- ngOnInit(): void;
26
- protected get contentTemplateRef(): TemplateRef<unknown>;
27
- protected get componentType(): Type<unknown>;
28
- protected onEscape(): void;
29
- private initContentType;
30
- static ɵfac: i0.ɵɵFactoryDeclaration<CuiDialogComponent, never>;
31
- static ɵcmp: i0.ɵɵComponentDeclaration<CuiDialogComponent, "cui-dialog", never, {}, {}, never, never, false, [{ directive: typeof i1.CuiFocusTrapDirective; inputs: {}; outputs: {}; }]>;
32
- }
33
- export {};
1
+ import type { OnInit } from '@angular/core';
2
+ import { Type } from '@angular/core';
3
+ import { TemplateRef } from '@angular/core';
4
+ import type { CuiValueOf } from '@cuby-ui/cdk';
5
+ import type { CuiDialogSize } from './dialog.interfaces';
6
+ import * as i0 from "@angular/core";
7
+ import * as i1 from "@cuby-ui/cdk";
8
+ declare const ContentType: {
9
+ readonly String: "string";
10
+ readonly Template: "template";
11
+ readonly Component: "component";
12
+ };
13
+ type IContentType = CuiValueOf<typeof ContentType>;
14
+ export declare class CuiDialogComponent implements OnInit {
15
+ protected readonly element: HTMLElement;
16
+ protected readonly context: import("@cuby-ui/cdk").CuiPopover<import("./dialog.interfaces").CuiDialogOptions<any>>;
17
+ protected readonly LAST_OF_TYPE_SELECTOR = ":last-of-type";
18
+ protected readonly ContentType: {
19
+ readonly String: "string";
20
+ readonly Template: "template";
21
+ readonly Component: "component";
22
+ };
23
+ protected contentType: IContentType;
24
+ protected get size(): CuiDialogSize;
25
+ ngOnInit(): void;
26
+ protected get contentTemplateRef(): TemplateRef<unknown>;
27
+ protected get componentType(): Type<unknown>;
28
+ protected onEscape(): void;
29
+ private initContentType;
30
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiDialogComponent, never>;
31
+ static ɵcmp: i0.ɵɵComponentDeclaration<CuiDialogComponent, "cui-dialog", never, {}, {}, never, never, false, [{ directive: typeof i1.CuiFocusTrapDirective; inputs: {}; outputs: {}; }]>;
32
+ }
33
+ export {};
@@ -1,11 +1,11 @@
1
- import type { Injector } from '@angular/core';
2
- import type { CuiPopoverContext } from '@cuby-ui/cdk';
3
- export type CuiDialogSize = 'xl' | 'sm' | 'auto';
4
- export interface CuiDialogOptions<I = any> {
5
- readonly size: CuiDialogSize;
6
- readonly data: I;
7
- readonly dismissible: boolean;
8
- readonly injector?: Injector;
9
- }
10
- export interface CuiDialogContext<I = undefined> extends CuiPopoverContext, CuiDialogOptions<I> {
11
- }
1
+ import type { Injector } from '@angular/core';
2
+ import type { CuiPopoverContext } from '@cuby-ui/cdk';
3
+ export type CuiDialogSize = 'xl' | 'sm' | 'auto';
4
+ export interface CuiDialogOptions<I = any> {
5
+ readonly size: CuiDialogSize;
6
+ readonly data: I;
7
+ readonly dismissible: boolean;
8
+ readonly injector?: Injector;
9
+ }
10
+ export interface CuiDialogContext<I = undefined> extends CuiPopoverContext, CuiDialogOptions<I> {
11
+ }
@@ -1,14 +1,14 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./dialog.component";
3
- import * as i2 from "./dialogs.component";
4
- import * as i3 from "./dialog-actions/dialog-actions.component";
5
- import * as i4 from "./dialog-header/dialog-header.component";
6
- import * as i5 from "@angular/common";
7
- import * as i6 from "@taiga-ui/polymorpheus";
8
- import * as i7 from "@cuby-ui/cdk";
9
- import * as i8 from "../button/button.module";
10
- export declare class CuiDialogModule {
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.PolymorpheusOutlet, typeof i7.CuiLetDirective, typeof i8.CuiButtonModule], [typeof i1.CuiDialogComponent, typeof i2.CuiDialogsComponent, typeof i3.CuiDialogActionsComponent, typeof i4.CuiDialogHeaderComponent]>;
13
- static ɵinj: i0.ɵɵInjectorDeclaration<CuiDialogModule>;
14
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./dialog.component";
3
+ import * as i2 from "./dialogs.component";
4
+ import * as i3 from "./dialog-actions/dialog-actions.component";
5
+ import * as i4 from "./dialog-header/dialog-header.component";
6
+ import * as i5 from "@angular/common";
7
+ import * as i6 from "@taiga-ui/polymorpheus";
8
+ import * as i7 from "@cuby-ui/cdk";
9
+ import * as i8 from "../button/button.module";
10
+ export declare class CuiDialogModule {
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.PolymorpheusOutlet, typeof i7.CuiLetDirective, typeof i8.CuiButtonModule], [typeof i1.CuiDialogComponent, typeof i2.CuiDialogsComponent, typeof i3.CuiDialogActionsComponent, typeof i4.CuiDialogHeaderComponent]>;
13
+ static ɵinj: i0.ɵɵInjectorDeclaration<CuiDialogModule>;
14
+ }
@@ -1,7 +1,7 @@
1
- import { CuiPopoverService } from '@cuby-ui/cdk';
2
- import type { CuiDialogOptions } from './dialog.interfaces';
3
- import * as i0 from "@angular/core";
4
- export declare class CuiDialogService extends CuiPopoverService<CuiDialogOptions> {
5
- static ɵfac: i0.ɵɵFactoryDeclaration<CuiDialogService, never>;
6
- static ɵprov: i0.ɵɵInjectableDeclaration<CuiDialogService>;
7
- }
1
+ import { CuiPopoverService } from '@cuby-ui/cdk';
2
+ import type { CuiDialogOptions } from './dialog.interfaces';
3
+ import * as i0 from "@angular/core";
4
+ export declare class CuiDialogService extends CuiPopoverService<CuiDialogOptions> {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiDialogService, never>;
6
+ static ɵprov: i0.ɵɵInjectableDeclaration<CuiDialogService>;
7
+ }
@@ -1,8 +1,8 @@
1
- import { InjectionToken } from '@angular/core';
2
- import type { CuiPopover } from '@cuby-ui/cdk';
3
- import { BehaviorSubject } from 'rxjs';
4
- import type { CuiDialogOptions } from './dialog.interfaces';
5
- export declare const CUI_DIALOGS: InjectionToken<BehaviorSubject<readonly CuiPopover<CuiDialogOptions<any>>[]>>;
6
- export declare const CUI_DIALOG_DEFAULT_OPTIONS: CuiDialogOptions;
7
- export declare const CUI_DIALOG_OPTIONS: InjectionToken<CuiDialogOptions<any>>;
8
- export declare const CUI_DIALOG_CONTEXT: InjectionToken<CuiPopover<CuiDialogOptions<any>>>;
1
+ import { InjectionToken } from '@angular/core';
2
+ import type { CuiPopover } from '@cuby-ui/cdk';
3
+ import { BehaviorSubject } from 'rxjs';
4
+ import type { CuiDialogOptions } from './dialog.interfaces';
5
+ export declare const CUI_DIALOGS: InjectionToken<BehaviorSubject<readonly CuiPopover<CuiDialogOptions<any>>[]>>;
6
+ export declare const CUI_DIALOG_DEFAULT_OPTIONS: CuiDialogOptions;
7
+ export declare const CUI_DIALOG_OPTIONS: InjectionToken<CuiDialogOptions<any>>;
8
+ export declare const CUI_DIALOG_CONTEXT: InjectionToken<CuiPopover<CuiDialogOptions<any>>>;