@cuby-ui/core 0.0.180 → 0.0.181

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 (280) hide show
  1. package/README.md +24 -24
  2. package/components/accordion/accordion-item/accordion-item.component.d.ts +11 -11
  3. package/components/accordion/accordion.component.d.ts +5 -5
  4. package/components/accordion/accordion.module.d.ts +11 -11
  5. package/components/accordion/index.d.ts +3 -3
  6. package/components/alert/alert.component.d.ts +13 -13
  7. package/components/alert/alert.interfaces.d.ts +9 -9
  8. package/components/alert/alert.module.d.ts +11 -11
  9. package/components/alert/alert.service.d.ts +7 -7
  10. package/components/alert/alert.tokens.d.ts +16 -16
  11. package/components/alert/alert.types.d.ts +3 -3
  12. package/components/alert/alerts.component.d.ts +17 -17
  13. package/components/alert/index.d.ts +8 -8
  14. package/components/badge/badge.component.d.ts +10 -10
  15. package/components/badge/badge.module.d.ts +8 -8
  16. package/components/badge/badge.options.d.ts +8 -8
  17. package/components/badge/index.d.ts +2 -2
  18. package/components/banner/banner.component.d.ts +21 -21
  19. package/components/banner/banner.module.d.ts +11 -11
  20. package/components/banner/banner.options.d.ts +13 -13
  21. package/components/banner/index.d.ts +3 -3
  22. package/components/breadcrumbs/breadcrumb/breadcrumb.component.d.ts +6 -6
  23. package/components/breadcrumbs/breadcrumbs.component.d.ts +7 -7
  24. package/components/breadcrumbs/breadcrumbs.module.d.ts +10 -10
  25. package/components/breadcrumbs/index.d.ts +3 -3
  26. package/components/button/button.component.d.ts +38 -38
  27. package/components/button/button.module.d.ts +9 -9
  28. package/components/button/button.options.d.ts +9 -9
  29. package/components/button/index.d.ts +3 -3
  30. package/components/button-group/button-group.component.d.ts +5 -5
  31. package/components/button-group/button-group.module.d.ts +7 -7
  32. package/components/button-group/index.d.ts +2 -2
  33. package/components/checkbox/checkbox.component.d.ts +5 -5
  34. package/components/checkbox/checkbox.module.d.ts +7 -7
  35. package/components/checkbox/index.d.ts +2 -2
  36. package/components/context-menu/context-menu.component.d.ts +39 -39
  37. package/components/context-menu/context-menu.module.d.ts +9 -9
  38. package/components/context-menu/index.d.ts +2 -2
  39. package/components/dialog/dialog-actions/dialog-actions.component.d.ts +5 -5
  40. package/components/dialog/dialog-header/dialog-header.component.d.ts +13 -13
  41. package/components/dialog/dialog.component.d.ts +33 -33
  42. package/components/dialog/dialog.interfaces.d.ts +11 -11
  43. package/components/dialog/dialog.module.d.ts +14 -14
  44. package/components/dialog/dialog.service.d.ts +7 -7
  45. package/components/dialog/dialog.tokens.d.ts +8 -8
  46. package/components/dialog/dialogs.component.d.ts +18 -18
  47. package/components/dialog/index.d.ts +8 -8
  48. package/components/form-field/form-field.component.d.ts +5 -5
  49. package/components/form-field/form-field.module.d.ts +7 -7
  50. package/components/form-field/index.d.ts +2 -2
  51. package/components/hint/hint.component.d.ts +7 -7
  52. package/components/hint/hint.module.d.ts +7 -7
  53. package/components/hint/index.d.ts +2 -2
  54. package/components/icon-button/icon-button.component.d.ts +13 -13
  55. package/components/icon-button/icon-button.module.d.ts +9 -9
  56. package/components/icon-button/index.d.ts +2 -2
  57. package/components/index.d.ts +26 -26
  58. package/components/input-number/index.d.ts +2 -2
  59. package/components/input-number/input-number.component.d.ts +38 -38
  60. package/components/input-number/input-number.module.d.ts +12 -12
  61. package/components/input-password/index.d.ts +2 -2
  62. package/components/input-password/input-password.component.d.ts +31 -31
  63. package/components/input-password/input-password.module.d.ts +11 -11
  64. package/components/input-text/index.d.ts +2 -2
  65. package/components/input-text/input-text.component.d.ts +31 -31
  66. package/components/input-text/input-text.module.d.ts +11 -11
  67. package/components/input-time/index.d.ts +3 -3
  68. package/components/input-time/input-time.component.d.ts +36 -36
  69. package/components/input-time/input-time.module.d.ts +12 -12
  70. package/components/input-time/input-time.options.d.ts +7 -7
  71. package/components/label/index.d.ts +2 -2
  72. package/components/label/label.component.d.ts +6 -6
  73. package/components/label/label.module.d.ts +8 -8
  74. package/components/notification/index.d.ts +3 -3
  75. package/components/notification/notification.component.d.ts +18 -18
  76. package/components/notification/notification.module.d.ts +9 -9
  77. package/components/notification/notification.options.d.ts +17 -17
  78. package/components/radio/index.d.ts +2 -2
  79. package/components/radio/radio.component.d.ts +5 -5
  80. package/components/radio/radio.module.d.ts +7 -7
  81. package/components/root/index.d.ts +3 -3
  82. package/components/root/root.component.d.ts +11 -11
  83. package/components/root/root.module.d.ts +10 -10
  84. package/components/root/root.options.d.ts +1 -1
  85. package/components/select/index.d.ts +2 -2
  86. package/components/select/select.component.d.ts +53 -53
  87. package/components/select/select.module.d.ts +11 -11
  88. package/components/svg/index.d.ts +2 -2
  89. package/components/svg/svg.component.d.ts +16 -16
  90. package/components/svg/svg.module.d.ts +8 -8
  91. package/components/tabs/index.d.ts +3 -3
  92. package/components/tabs/tab/index.d.ts +1 -1
  93. package/components/tabs/tab/tab.component.d.ts +8 -8
  94. package/components/tabs/tabs.component.d.ts +16 -16
  95. package/components/tabs/tabs.module.d.ts +8 -8
  96. package/components/textarea/index.d.ts +2 -2
  97. package/components/textarea/textarea.component.d.ts +10 -10
  98. package/components/textarea/textarea.module.d.ts +7 -7
  99. package/components/toggle/index.d.ts +2 -2
  100. package/components/toggle/toggle.component.d.ts +5 -5
  101. package/components/toggle/toggle.module.d.ts +7 -7
  102. package/directives/index.d.ts +1 -1
  103. package/directives/text-field-controller/index.d.ts +8 -8
  104. package/directives/text-field-controller/text-field-controller.module.d.ts +11 -11
  105. package/directives/text-field-controller/text-field-controller.provider.d.ts +4 -4
  106. package/directives/text-field-controller/text-field-icon-left.directive.d.ts +9 -9
  107. package/directives/text-field-controller/text-field-id.directive.d.ts +8 -8
  108. package/directives/text-field-controller/text-field-is-error.directive.d.ts +8 -8
  109. package/directives/text-field-controller/text-field-placeholder.directive.d.ts +8 -8
  110. package/directives/text-field-controller/text-field-size.directive.d.ts +9 -9
  111. package/directives/text-field-controller/text-field.controller.d.ts +20 -20
  112. package/esm2020/components/accordion/accordion-item/accordion-item.component.mjs +28 -28
  113. package/esm2020/components/accordion/accordion.component.mjs +11 -11
  114. package/esm2020/components/accordion/accordion.module.mjs +37 -37
  115. package/esm2020/components/accordion/index.mjs +4 -4
  116. package/esm2020/components/alert/alert.component.mjs +36 -36
  117. package/esm2020/components/alert/alert.interfaces.mjs +2 -2
  118. package/esm2020/components/alert/alert.module.mjs +40 -40
  119. package/esm2020/components/alert/alert.service.mjs +17 -17
  120. package/esm2020/components/alert/alert.tokens.mjs +20 -20
  121. package/esm2020/components/alert/alert.types.mjs +2 -2
  122. package/esm2020/components/alert/alerts.component.mjs +36 -36
  123. package/esm2020/components/alert/index.mjs +9 -9
  124. package/esm2020/components/badge/badge.component.mjs +31 -31
  125. package/esm2020/components/badge/badge.module.mjs +18 -18
  126. package/esm2020/components/badge/badge.options.mjs +8 -8
  127. package/esm2020/components/badge/index.mjs +3 -3
  128. package/esm2020/components/banner/banner.component.mjs +68 -68
  129. package/esm2020/components/banner/banner.module.mjs +31 -31
  130. package/esm2020/components/banner/banner.options.mjs +6 -6
  131. package/esm2020/components/banner/index.mjs +4 -4
  132. package/esm2020/components/breadcrumbs/breadcrumb/breadcrumb.component.mjs +16 -16
  133. package/esm2020/components/breadcrumbs/breadcrumbs.component.mjs +17 -17
  134. package/esm2020/components/breadcrumbs/breadcrumbs.module.mjs +33 -33
  135. package/esm2020/components/breadcrumbs/index.mjs +4 -4
  136. package/esm2020/components/button/button.component.mjs +138 -138
  137. package/esm2020/components/button/button.module.mjs +24 -24
  138. package/esm2020/components/button/button.options.mjs +10 -10
  139. package/esm2020/components/button/index.mjs +4 -4
  140. package/esm2020/components/button-group/button-group.component.mjs +11 -11
  141. package/esm2020/components/button-group/button-group.module.mjs +16 -16
  142. package/esm2020/components/button-group/index.mjs +3 -3
  143. package/esm2020/components/checkbox/checkbox.component.mjs +11 -11
  144. package/esm2020/components/checkbox/checkbox.module.mjs +16 -16
  145. package/esm2020/components/checkbox/index.mjs +3 -3
  146. package/esm2020/components/context-menu/context-menu.component.mjs +146 -146
  147. package/esm2020/components/context-menu/context-menu.module.mjs +24 -24
  148. package/esm2020/components/context-menu/index.mjs +3 -3
  149. package/esm2020/components/dialog/dialog-actions/dialog-actions.component.mjs +11 -11
  150. package/esm2020/components/dialog/dialog-header/dialog-header.component.mjs +28 -28
  151. package/esm2020/components/dialog/dialog.component.mjs +67 -67
  152. package/esm2020/components/dialog/dialog.interfaces.mjs +2 -2
  153. package/esm2020/components/dialog/dialog.module.mjs +50 -50
  154. package/esm2020/components/dialog/dialog.service.mjs +17 -17
  155. package/esm2020/components/dialog/dialog.tokens.mjs +12 -12
  156. package/esm2020/components/dialog/dialogs.component.mjs +51 -51
  157. package/esm2020/components/dialog/index.mjs +9 -9
  158. package/esm2020/components/form-field/form-field.component.mjs +11 -11
  159. package/esm2020/components/form-field/form-field.module.mjs +16 -16
  160. package/esm2020/components/form-field/index.mjs +3 -3
  161. package/esm2020/components/hint/hint.component.mjs +19 -19
  162. package/esm2020/components/hint/hint.module.mjs +16 -16
  163. package/esm2020/components/hint/index.mjs +3 -3
  164. package/esm2020/components/icon-button/icon-button.component.mjs +32 -32
  165. package/esm2020/components/icon-button/icon-button.module.mjs +24 -24
  166. package/esm2020/components/icon-button/index.mjs +3 -3
  167. package/esm2020/components/index.mjs +27 -27
  168. package/esm2020/components/input-number/index.mjs +3 -3
  169. package/esm2020/components/input-number/input-number.component.mjs +113 -113
  170. package/esm2020/components/input-number/input-number.module.mjs +36 -36
  171. package/esm2020/components/input-password/index.mjs +3 -3
  172. package/esm2020/components/input-password/input-password.component.mjs +89 -89
  173. package/esm2020/components/input-password/input-password.module.mjs +33 -33
  174. package/esm2020/components/input-text/index.mjs +3 -3
  175. package/esm2020/components/input-text/input-text.component.mjs +87 -87
  176. package/esm2020/components/input-text/input-text.module.mjs +33 -33
  177. package/esm2020/components/input-time/index.mjs +4 -4
  178. package/esm2020/components/input-time/input-time.component.mjs +99 -99
  179. package/esm2020/components/input-time/input-time.module.mjs +36 -36
  180. package/esm2020/components/input-time/input-time.options.mjs +8 -8
  181. package/esm2020/components/label/index.mjs +3 -3
  182. package/esm2020/components/label/label.component.mjs +17 -17
  183. package/esm2020/components/label/label.module.mjs +18 -18
  184. package/esm2020/components/notification/index.mjs +4 -4
  185. package/esm2020/components/notification/notification.component.mjs +47 -47
  186. package/esm2020/components/notification/notification.module.mjs +24 -24
  187. package/esm2020/components/notification/notification.options.mjs +53 -53
  188. package/esm2020/components/radio/index.mjs +3 -3
  189. package/esm2020/components/radio/radio.component.mjs +11 -11
  190. package/esm2020/components/radio/radio.module.mjs +16 -16
  191. package/esm2020/components/root/index.mjs +4 -4
  192. package/esm2020/components/root/root.component.mjs +31 -31
  193. package/esm2020/components/root/root.module.mjs +28 -28
  194. package/esm2020/components/root/root.options.mjs +1 -1
  195. package/esm2020/components/select/index.mjs +3 -3
  196. package/esm2020/components/select/select.component.mjs +172 -172
  197. package/esm2020/components/select/select.module.mjs +32 -32
  198. package/esm2020/components/svg/index.mjs +3 -3
  199. package/esm2020/components/svg/svg.component.mjs +50 -50
  200. package/esm2020/components/svg/svg.module.mjs +18 -18
  201. package/esm2020/components/tabs/index.mjs +4 -4
  202. package/esm2020/components/tabs/tab/index.mjs +1 -1
  203. package/esm2020/components/tabs/tab/tab.component.mjs +21 -21
  204. package/esm2020/components/tabs/tabs.component.mjs +49 -49
  205. package/esm2020/components/tabs/tabs.module.mjs +18 -18
  206. package/esm2020/components/textarea/index.mjs +3 -3
  207. package/esm2020/components/textarea/textarea.component.mjs +35 -35
  208. package/esm2020/components/textarea/textarea.module.mjs +16 -16
  209. package/esm2020/components/toggle/index.mjs +3 -3
  210. package/esm2020/components/toggle/toggle.component.mjs +11 -11
  211. package/esm2020/components/toggle/toggle.module.mjs +16 -16
  212. package/esm2020/cuby-ui-core.mjs +4 -4
  213. package/esm2020/directives/index.mjs +2 -2
  214. package/esm2020/directives/text-field-controller/index.mjs +9 -9
  215. package/esm2020/directives/text-field-controller/text-field-controller.module.mjs +40 -40
  216. package/esm2020/directives/text-field-controller/text-field-controller.provider.mjs +24 -24
  217. package/esm2020/directives/text-field-controller/text-field-icon-left.directive.mjs +21 -21
  218. package/esm2020/directives/text-field-controller/text-field-id.directive.mjs +21 -21
  219. package/esm2020/directives/text-field-controller/text-field-is-error.directive.mjs +24 -24
  220. package/esm2020/directives/text-field-controller/text-field-placeholder.directive.mjs +21 -21
  221. package/esm2020/directives/text-field-controller/text-field-size.directive.mjs +24 -24
  222. package/esm2020/directives/text-field-controller/text-field.controller.mjs +25 -25
  223. package/esm2020/index.mjs +7 -7
  224. package/esm2020/interfaces/context-menu-item.mjs +2 -2
  225. package/esm2020/interfaces/index.mjs +3 -3
  226. package/esm2020/interfaces/option.mjs +2 -2
  227. package/esm2020/services/index.mjs +3 -3
  228. package/esm2020/services/theme.options.mjs +6 -6
  229. package/esm2020/services/theme.service.mjs +30 -30
  230. package/esm2020/types/appearance.mjs +2 -2
  231. package/esm2020/types/hint-type.mjs +2 -2
  232. package/esm2020/types/index.mjs +8 -8
  233. package/esm2020/types/position.mjs +2 -2
  234. package/esm2020/types/resizing.mjs +2 -2
  235. package/esm2020/types/shape.mjs +2 -2
  236. package/esm2020/types/size.mjs +2 -2
  237. package/esm2020/types/status.mjs +2 -2
  238. package/esm2020/utils/format/index.mjs +3 -3
  239. package/esm2020/utils/format/remove-spaces.mjs +4 -4
  240. package/esm2020/utils/format/replace.mjs +5 -5
  241. package/esm2020/utils/index.mjs +2 -2
  242. package/fesm2015/cuby-ui-core.mjs +2145 -2145
  243. package/fesm2015/cuby-ui-core.mjs.map +1 -1
  244. package/fesm2020/cuby-ui-core.mjs +2145 -2145
  245. package/fesm2020/cuby-ui-core.mjs.map +1 -1
  246. package/fonts/Inter-Bold.svg +25443 -25443
  247. package/fonts/Inter-Medium.svg +25400 -25400
  248. package/fonts/Inter-Regular.svg +24341 -24341
  249. package/fonts/Inter-SemiBold.svg +25459 -25459
  250. package/index.d.ts +6 -6
  251. package/interfaces/context-menu-item.d.ts +7 -7
  252. package/interfaces/index.d.ts +2 -2
  253. package/interfaces/option.d.ts +5 -5
  254. package/package.json +3 -3
  255. package/services/index.d.ts +2 -2
  256. package/services/theme.options.d.ts +5 -5
  257. package/services/theme.service.d.ts +12 -12
  258. package/styles/fonts.scss +51 -51
  259. package/styles/global.scss +9 -9
  260. package/styles/mixins/buttons.scss +13 -13
  261. package/styles/mixins/headings.scss +115 -115
  262. package/styles/mixins/inputs.scss +91 -91
  263. package/styles/mixins/lists.scss +5 -5
  264. package/styles/mixins/paddings.scss +35 -35
  265. package/styles/mixins/shadows.scss +38 -38
  266. package/styles/mixins/texts.scss +225 -225
  267. package/styles/theme.scss +385 -385
  268. package/styles/variables/colors.scss +253 -253
  269. package/types/appearance.d.ts +8 -8
  270. package/types/hint-type.d.ts +1 -1
  271. package/types/index.d.ts +7 -7
  272. package/types/position.d.ts +2 -2
  273. package/types/resizing.d.ts +2 -2
  274. package/types/shape.d.ts +1 -1
  275. package/types/size.d.ts +4 -4
  276. package/types/status.d.ts +1 -1
  277. package/utils/format/index.d.ts +2 -2
  278. package/utils/format/remove-spaces.d.ts +1 -1
  279. package/utils/format/replace.d.ts +1 -1
  280. package/utils/index.d.ts +1 -1
@@ -1,26 +1,26 @@
1
- export * from './accordion';
2
- export * from './alert';
3
- export * from './badge';
4
- export * from './banner';
5
- export * from './breadcrumbs';
6
- export * from './button';
7
- export * from './button-group';
8
- export * from './checkbox';
9
- export * from './context-menu';
10
- export * from './dialog';
11
- export * from './form-field';
12
- export * from './hint';
13
- export * from './icon-button';
14
- export * from './input-number';
15
- export * from './input-password';
16
- export * from './input-text';
17
- export * from './input-time';
18
- export * from './label';
19
- export * from './notification';
20
- export * from './radio';
21
- export * from './root';
22
- export * from './select';
23
- export * from './svg';
24
- export * from './tabs';
25
- export * from './textarea';
26
- export * from './toggle';
1
+ export * from './accordion';
2
+ export * from './alert';
3
+ export * from './badge';
4
+ export * from './banner';
5
+ export * from './breadcrumbs';
6
+ export * from './button';
7
+ export * from './button-group';
8
+ export * from './checkbox';
9
+ export * from './context-menu';
10
+ export * from './dialog';
11
+ export * from './form-field';
12
+ export * from './hint';
13
+ export * from './icon-button';
14
+ export * from './input-number';
15
+ export * from './input-password';
16
+ export * from './input-text';
17
+ export * from './input-time';
18
+ export * from './label';
19
+ export * from './notification';
20
+ export * from './radio';
21
+ export * from './root';
22
+ export * from './select';
23
+ export * from './svg';
24
+ export * from './tabs';
25
+ export * from './textarea';
26
+ export * from './toggle';
@@ -1,2 +1,2 @@
1
- export * from './input-number.component';
2
- export * from './input-number.module';
1
+ export * from './input-number.component';
2
+ export * from './input-number.module';
@@ -1,38 +1,38 @@
1
- import type { ElementRef } from '@angular/core';
2
- import type { ControlValueAccessor } from '@angular/forms';
3
- import type { MaskitoOptions } from '@maskito/core';
4
- import { CuiNullable, CuiOnChange, CuiOnTouched } from '@cuby-ui/cdk';
5
- import type { CuiIcon } from '@cuby-ui/icons';
6
- import { CuiSizeMd, CuiSizeSm } from '../../types';
7
- import * as i0 from "@angular/core";
8
- export declare class CuiInputNumberComponent implements ControlValueAccessor {
9
- private readonly changeDetectorRef;
10
- private readonly cuiTextFieldController;
11
- protected maskOptions: MaskitoOptions;
12
- protected _precision: number;
13
- protected _min: number;
14
- protected _max: number;
15
- protected value: CuiNullable<string>;
16
- protected onChange: CuiOnChange<CuiNullable<number>>;
17
- protected onTouched: CuiOnTouched;
18
- set precision(value: number);
19
- set min(value: number);
20
- set max(value: number);
21
- protected isDisabled: boolean;
22
- protected input: ElementRef<HTMLInputElement>;
23
- protected get id(): string | undefined;
24
- protected get placeholder(): string | undefined;
25
- protected get iconLeft(): CuiIcon | string | undefined;
26
- protected get size(): CuiSizeSm | CuiSizeMd;
27
- protected get isError(): boolean;
28
- writeValue(value: CuiNullable<number>): void;
29
- registerOnChange(fn: CuiOnChange<CuiNullable<number>>): void;
30
- registerOnTouched(fn: CuiOnTouched): void;
31
- setDisabledState(isDisabled: boolean): void;
32
- protected onInput({ target }: Event): void;
33
- protected onFocus(): void;
34
- private changeModel;
35
- private generateMask;
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>;
38
- }
1
+ import type { ElementRef } from '@angular/core';
2
+ import type { ControlValueAccessor } from '@angular/forms';
3
+ import type { MaskitoOptions } from '@maskito/core';
4
+ import { CuiNullable, CuiOnChange, CuiOnTouched } from '@cuby-ui/cdk';
5
+ import type { CuiIcon } from '@cuby-ui/icons';
6
+ import { CuiSizeMd, CuiSizeSm } from '../../types';
7
+ import * as i0 from "@angular/core";
8
+ export declare class CuiInputNumberComponent implements ControlValueAccessor {
9
+ private readonly changeDetectorRef;
10
+ private readonly cuiTextFieldController;
11
+ protected maskOptions: MaskitoOptions;
12
+ protected _precision: number;
13
+ protected _min: number;
14
+ protected _max: number;
15
+ protected value: CuiNullable<string>;
16
+ protected onChange: CuiOnChange<CuiNullable<number>>;
17
+ protected onTouched: CuiOnTouched;
18
+ set precision(value: number);
19
+ set min(value: number);
20
+ set max(value: number);
21
+ protected isDisabled: boolean;
22
+ protected input: ElementRef<HTMLInputElement>;
23
+ protected get id(): string | undefined;
24
+ protected get placeholder(): string | undefined;
25
+ protected get iconLeft(): CuiIcon | string | undefined;
26
+ protected get size(): CuiSizeSm | CuiSizeMd;
27
+ protected get isError(): boolean;
28
+ writeValue(value: CuiNullable<number>): void;
29
+ registerOnChange(fn: CuiOnChange<CuiNullable<number>>): void;
30
+ registerOnTouched(fn: CuiOnTouched): void;
31
+ setDisabledState(isDisabled: boolean): void;
32
+ protected onInput({ target }: Event): void;
33
+ protected onFocus(): void;
34
+ private changeModel;
35
+ private generateMask;
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>;
38
+ }
@@ -1,12 +1,12 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./input-number.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/forms";
5
- import * as i4 from "@maskito/angular";
6
- import * as i5 from "../svg/svg.module";
7
- import * as i6 from "../../directives/text-field-controller/text-field-controller.module";
8
- export declare class CuiInputNumberModule {
9
- static ɵfac: i0.ɵɵFactoryDeclaration<CuiInputNumberModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<CuiInputNumberModule, [typeof i1.CuiInputNumberComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.MaskitoDirective, typeof i5.CuiSvgModule], [typeof i1.CuiInputNumberComponent, typeof i6.CuiTextFieldControllerModule]>;
11
- static ɵinj: i0.ɵɵInjectorDeclaration<CuiInputNumberModule>;
12
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./input-number.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/forms";
5
+ import * as i4 from "@maskito/angular";
6
+ import * as i5 from "../svg/svg.module";
7
+ import * as i6 from "../../directives/text-field-controller/text-field-controller.module";
8
+ export declare class CuiInputNumberModule {
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiInputNumberModule, never>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CuiInputNumberModule, [typeof i1.CuiInputNumberComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.MaskitoDirective, typeof i5.CuiSvgModule], [typeof i1.CuiInputNumberComponent, typeof i6.CuiTextFieldControllerModule]>;
11
+ static ɵinj: i0.ɵɵInjectorDeclaration<CuiInputNumberModule>;
12
+ }
@@ -1,2 +1,2 @@
1
- export * from './input-password.component';
2
- export * from './input-password.module';
1
+ export * from './input-password.component';
2
+ export * from './input-password.module';
@@ -1,31 +1,31 @@
1
- import type { ControlValueAccessor } from '@angular/forms';
2
- import type { CuiInputType, CuiNullable, CuiOnChange, CuiOnTouched } from '@cuby-ui/cdk';
3
- import type { CuiIcon } from '@cuby-ui/icons';
4
- import { CuiSizeMd, CuiSizeSm } from '../../types';
5
- import * as i0 from "@angular/core";
6
- export declare class CuiInputPasswordComponent implements ControlValueAccessor {
7
- private readonly changeDetectorRef;
8
- private readonly cuiTextFieldController;
9
- protected isPasswordHidden: boolean;
10
- protected value: CuiNullable<string>;
11
- protected onChange: CuiOnChange<string>;
12
- protected onTouched: CuiOnTouched;
13
- protected isDisabled: boolean;
14
- protected get id(): string | undefined;
15
- protected get placeholder(): string | undefined;
16
- protected get iconLeft(): CuiIcon | string | undefined;
17
- protected get isToggleButtonShown(): boolean;
18
- protected get icon(): CuiIcon;
19
- protected get type(): CuiInputType;
20
- protected get buttonTitle(): string;
21
- protected get size(): CuiSizeSm | CuiSizeMd;
22
- protected get isError(): boolean;
23
- writeValue(value: CuiNullable<string>): void;
24
- registerOnChange(fn: CuiOnChange<string>): void;
25
- registerOnTouched(fn: CuiOnTouched): void;
26
- setDisabledState(isDisabled: boolean): void;
27
- protected onInput({ target }: Event): void;
28
- protected onTogglePasswordVisibility(): void;
29
- static ɵfac: i0.ɵɵFactoryDeclaration<CuiInputPasswordComponent, never>;
30
- static ɵcmp: i0.ɵɵComponentDeclaration<CuiInputPasswordComponent, "cui-input-password", never, {}, {}, never, never, false, never>;
31
- }
1
+ import type { ControlValueAccessor } from '@angular/forms';
2
+ import type { CuiInputType, CuiNullable, CuiOnChange, CuiOnTouched } from '@cuby-ui/cdk';
3
+ import type { CuiIcon } from '@cuby-ui/icons';
4
+ import { CuiSizeMd, CuiSizeSm } from '../../types';
5
+ import * as i0 from "@angular/core";
6
+ export declare class CuiInputPasswordComponent implements ControlValueAccessor {
7
+ private readonly changeDetectorRef;
8
+ private readonly cuiTextFieldController;
9
+ protected isPasswordHidden: boolean;
10
+ protected value: CuiNullable<string>;
11
+ protected onChange: CuiOnChange<string>;
12
+ protected onTouched: CuiOnTouched;
13
+ protected isDisabled: boolean;
14
+ protected get id(): string | undefined;
15
+ protected get placeholder(): string | undefined;
16
+ protected get iconLeft(): CuiIcon | string | undefined;
17
+ protected get isToggleButtonShown(): boolean;
18
+ protected get icon(): CuiIcon;
19
+ protected get type(): CuiInputType;
20
+ protected get buttonTitle(): string;
21
+ protected get size(): CuiSizeSm | CuiSizeMd;
22
+ protected get isError(): boolean;
23
+ writeValue(value: CuiNullable<string>): void;
24
+ registerOnChange(fn: CuiOnChange<string>): void;
25
+ registerOnTouched(fn: CuiOnTouched): void;
26
+ setDisabledState(isDisabled: boolean): void;
27
+ protected onInput({ target }: Event): void;
28
+ protected onTogglePasswordVisibility(): void;
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiInputPasswordComponent, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<CuiInputPasswordComponent, "cui-input-password", never, {}, {}, never, never, false, never>;
31
+ }
@@ -1,11 +1,11 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./input-password.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/forms";
5
- import * as i4 from "../svg/svg.module";
6
- import * as i5 from "../../directives/text-field-controller/text-field-controller.module";
7
- export declare class CuiInputPasswordModule {
8
- static ɵfac: i0.ɵɵFactoryDeclaration<CuiInputPasswordModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<CuiInputPasswordModule, [typeof i1.CuiInputPasswordComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.CuiSvgModule], [typeof i1.CuiInputPasswordComponent, typeof i5.CuiTextFieldControllerModule]>;
10
- static ɵinj: i0.ɵɵInjectorDeclaration<CuiInputPasswordModule>;
11
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./input-password.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/forms";
5
+ import * as i4 from "../svg/svg.module";
6
+ import * as i5 from "../../directives/text-field-controller/text-field-controller.module";
7
+ export declare class CuiInputPasswordModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiInputPasswordModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CuiInputPasswordModule, [typeof i1.CuiInputPasswordComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.CuiSvgModule], [typeof i1.CuiInputPasswordComponent, typeof i5.CuiTextFieldControllerModule]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<CuiInputPasswordModule>;
11
+ }
@@ -1,2 +1,2 @@
1
- export * from './input-text.component';
2
- export * from './input-text.module';
1
+ export * from './input-text.component';
2
+ export * from './input-text.module';
@@ -1,31 +1,31 @@
1
- import type { ElementRef } from '@angular/core';
2
- import type { ControlValueAccessor } from '@angular/forms';
3
- import type { CuiOnChange, CuiOnTouched, CuiNullable } from '@cuby-ui/cdk';
4
- import type { CuiIcon } from '@cuby-ui/icons';
5
- import { CuiSizeMd, CuiSizeSm } from '../../types';
6
- import * as i0 from "@angular/core";
7
- export declare class CuiInputTextComponent implements ControlValueAccessor {
8
- private readonly changeDetectorRef;
9
- private readonly cuiTextFieldController;
10
- protected value: CuiNullable<string>;
11
- protected onChange: CuiOnChange<string>;
12
- protected onTouched: CuiOnTouched;
13
- protected isDisabled: boolean;
14
- protected input: ElementRef<HTMLInputElement>;
15
- protected get id(): string | undefined;
16
- protected get placeholder(): string | undefined;
17
- protected get iconLeft(): CuiIcon | string | undefined;
18
- protected get isClearButtonHidden(): boolean;
19
- protected get size(): CuiSizeSm | CuiSizeMd;
20
- protected get isError(): boolean;
21
- writeValue(value: CuiNullable<string>): void;
22
- registerOnChange(fn: CuiOnChange<string>): void;
23
- registerOnTouched(fn: CuiOnTouched): void;
24
- setDisabledState(isDisabled: boolean): void;
25
- protected onInput({ target }: Event): void;
26
- protected onClear(): void;
27
- protected onFocus(): void;
28
- private changeModel;
29
- static ɵfac: i0.ɵɵFactoryDeclaration<CuiInputTextComponent, never>;
30
- static ɵcmp: i0.ɵɵComponentDeclaration<CuiInputTextComponent, "cui-input-text", never, {}, {}, never, never, false, never>;
31
- }
1
+ import type { ElementRef } from '@angular/core';
2
+ import type { ControlValueAccessor } from '@angular/forms';
3
+ import type { CuiOnChange, CuiOnTouched, CuiNullable } from '@cuby-ui/cdk';
4
+ import type { CuiIcon } from '@cuby-ui/icons';
5
+ import { CuiSizeMd, CuiSizeSm } from '../../types';
6
+ import * as i0 from "@angular/core";
7
+ export declare class CuiInputTextComponent implements ControlValueAccessor {
8
+ private readonly changeDetectorRef;
9
+ private readonly cuiTextFieldController;
10
+ protected value: CuiNullable<string>;
11
+ protected onChange: CuiOnChange<string>;
12
+ protected onTouched: CuiOnTouched;
13
+ protected isDisabled: boolean;
14
+ protected input: ElementRef<HTMLInputElement>;
15
+ protected get id(): string | undefined;
16
+ protected get placeholder(): string | undefined;
17
+ protected get iconLeft(): CuiIcon | string | undefined;
18
+ protected get isClearButtonHidden(): boolean;
19
+ protected get size(): CuiSizeSm | CuiSizeMd;
20
+ protected get isError(): boolean;
21
+ writeValue(value: CuiNullable<string>): void;
22
+ registerOnChange(fn: CuiOnChange<string>): void;
23
+ registerOnTouched(fn: CuiOnTouched): void;
24
+ setDisabledState(isDisabled: boolean): void;
25
+ protected onInput({ target }: Event): void;
26
+ protected onClear(): void;
27
+ protected onFocus(): void;
28
+ private changeModel;
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiInputTextComponent, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<CuiInputTextComponent, "cui-input-text", never, {}, {}, never, never, false, never>;
31
+ }
@@ -1,11 +1,11 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./input-text.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/forms";
5
- import * as i4 from "../svg/svg.module";
6
- import * as i5 from "../../directives/text-field-controller/text-field-controller.module";
7
- export declare class CuiInputModule {
8
- static ɵfac: i0.ɵɵFactoryDeclaration<CuiInputModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<CuiInputModule, [typeof i1.CuiInputTextComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.CuiSvgModule], [typeof i1.CuiInputTextComponent, typeof i5.CuiTextFieldControllerModule]>;
10
- static ɵinj: i0.ɵɵInjectorDeclaration<CuiInputModule>;
11
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./input-text.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/forms";
5
+ import * as i4 from "../svg/svg.module";
6
+ import * as i5 from "../../directives/text-field-controller/text-field-controller.module";
7
+ export declare class CuiInputModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiInputModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CuiInputModule, [typeof i1.CuiInputTextComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.CuiSvgModule], [typeof i1.CuiInputTextComponent, typeof i5.CuiTextFieldControllerModule]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<CuiInputModule>;
11
+ }
@@ -1,3 +1,3 @@
1
- export * from './input-time.component';
2
- export * from './input-time.module';
3
- export * from './input-time.options';
1
+ export * from './input-time.component';
2
+ export * from './input-time.module';
3
+ export * from './input-time.options';
@@ -1,36 +1,36 @@
1
- import type { ElementRef } from '@angular/core';
2
- import type { ControlValueAccessor } from '@angular/forms';
3
- import type { MaskitoOptions } from '@maskito/core';
4
- import type { CuiNullable, CuiOnChange, CuiOnTouched } from '@cuby-ui/cdk';
5
- import { CuiTime } from '@cuby-ui/cdk';
6
- import { CuiInputTimeOptions } from './input-time.options';
7
- import type { CuiSizeMd, CuiSizeSm } from '../../types';
8
- import * as i0 from "@angular/core";
9
- export declare class CuiInputTimeComponent implements CuiInputTimeOptions, ControlValueAccessor {
10
- private readonly changeDetectorRef;
11
- private readonly cuiTextFieldController;
12
- private readonly options;
13
- protected _mode: import("@cuby-ui/cdk").CuiTimeMode;
14
- protected maskOptions: MaskitoOptions;
15
- protected defaultPlaceholder: string;
16
- protected value: CuiNullable<CuiTime>;
17
- protected onChange: CuiOnChange<CuiNullable<CuiTime>>;
18
- protected onTouched: CuiOnTouched;
19
- set mode(value: CuiInputTimeOptions['mode']);
20
- protected isDisabled: boolean;
21
- protected input: ElementRef<HTMLInputElement>;
22
- protected get id(): string | undefined;
23
- protected get placeholder(): string | undefined;
24
- get computedValue(): string;
25
- protected get size(): CuiSizeSm | CuiSizeMd;
26
- protected get isError(): boolean;
27
- writeValue(value: CuiNullable<CuiTime>): void;
28
- registerOnChange(fn: CuiOnChange<CuiNullable<CuiTime>>): void;
29
- registerOnTouched(fn: CuiOnTouched): void;
30
- setDisabledState(isDisabled: boolean): void;
31
- protected onInput(event: Event): void;
32
- protected onFocus(): void;
33
- private generateMask;
34
- static ɵfac: i0.ɵɵFactoryDeclaration<CuiInputTimeComponent, never>;
35
- static ɵcmp: i0.ɵɵComponentDeclaration<CuiInputTimeComponent, "cui-input-time", never, { "mode": "mode"; }, {}, never, never, false, never>;
36
- }
1
+ import type { ElementRef } from '@angular/core';
2
+ import type { ControlValueAccessor } from '@angular/forms';
3
+ import type { MaskitoOptions } from '@maskito/core';
4
+ import type { CuiNullable, CuiOnChange, CuiOnTouched } from '@cuby-ui/cdk';
5
+ import { CuiTime } from '@cuby-ui/cdk';
6
+ import { CuiInputTimeOptions } from './input-time.options';
7
+ import type { CuiSizeMd, CuiSizeSm } from '../../types';
8
+ import * as i0 from "@angular/core";
9
+ export declare class CuiInputTimeComponent implements CuiInputTimeOptions, ControlValueAccessor {
10
+ private readonly changeDetectorRef;
11
+ private readonly cuiTextFieldController;
12
+ private readonly options;
13
+ protected _mode: import("@cuby-ui/cdk").CuiTimeMode;
14
+ protected maskOptions: MaskitoOptions;
15
+ protected defaultPlaceholder: string;
16
+ protected value: CuiNullable<CuiTime>;
17
+ protected onChange: CuiOnChange<CuiNullable<CuiTime>>;
18
+ protected onTouched: CuiOnTouched;
19
+ set mode(value: CuiInputTimeOptions['mode']);
20
+ protected isDisabled: boolean;
21
+ protected input: ElementRef<HTMLInputElement>;
22
+ protected get id(): string | undefined;
23
+ protected get placeholder(): string | undefined;
24
+ get computedValue(): string;
25
+ protected get size(): CuiSizeSm | CuiSizeMd;
26
+ protected get isError(): boolean;
27
+ writeValue(value: CuiNullable<CuiTime>): void;
28
+ registerOnChange(fn: CuiOnChange<CuiNullable<CuiTime>>): void;
29
+ registerOnTouched(fn: CuiOnTouched): void;
30
+ setDisabledState(isDisabled: boolean): void;
31
+ protected onInput(event: Event): void;
32
+ protected onFocus(): void;
33
+ private generateMask;
34
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiInputTimeComponent, never>;
35
+ static ɵcmp: i0.ɵɵComponentDeclaration<CuiInputTimeComponent, "cui-input-time", never, { "mode": "mode"; }, {}, never, never, false, never>;
36
+ }
@@ -1,12 +1,12 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./input-time.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/forms";
5
- import * as i4 from "@maskito/angular";
6
- import * as i5 from "../svg/svg.module";
7
- import * as i6 from "../../directives/text-field-controller/text-field-controller.module";
8
- export declare class CuiInputTimeModule {
9
- static ɵfac: i0.ɵɵFactoryDeclaration<CuiInputTimeModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<CuiInputTimeModule, [typeof i1.CuiInputTimeComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.MaskitoDirective, typeof i5.CuiSvgModule], [typeof i1.CuiInputTimeComponent, typeof i6.CuiTextFieldControllerModule]>;
11
- static ɵinj: i0.ɵɵInjectorDeclaration<CuiInputTimeModule>;
12
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./input-time.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/forms";
5
+ import * as i4 from "@maskito/angular";
6
+ import * as i5 from "../svg/svg.module";
7
+ import * as i6 from "../../directives/text-field-controller/text-field-controller.module";
8
+ export declare class CuiInputTimeModule {
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiInputTimeModule, never>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CuiInputTimeModule, [typeof i1.CuiInputTimeComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.MaskitoDirective, typeof i5.CuiSvgModule], [typeof i1.CuiInputTimeComponent, typeof i6.CuiTextFieldControllerModule]>;
11
+ static ɵinj: i0.ɵɵInjectorDeclaration<CuiInputTimeModule>;
12
+ }
@@ -1,7 +1,7 @@
1
- import { InjectionToken } from '@angular/core';
2
- import type { CuiTimeMode } from '@cuby-ui/cdk';
3
- export interface CuiInputTimeOptions {
4
- readonly mode: CuiTimeMode;
5
- }
6
- export declare const CUI_INPUT_TIME_DEFAULT_OPTIONS: CuiInputTimeOptions;
7
- export declare const CUI_INPUT_TIME_OPTIONS: InjectionToken<CuiInputTimeOptions>;
1
+ import { InjectionToken } from '@angular/core';
2
+ import type { CuiTimeMode } from '@cuby-ui/cdk';
3
+ export interface CuiInputTimeOptions {
4
+ readonly mode: CuiTimeMode;
5
+ }
6
+ export declare const CUI_INPUT_TIME_DEFAULT_OPTIONS: CuiInputTimeOptions;
7
+ export declare const CUI_INPUT_TIME_OPTIONS: InjectionToken<CuiInputTimeOptions>;
@@ -1,2 +1,2 @@
1
- export * from './label.component';
2
- export * from './label.module';
1
+ export * from './label.component';
2
+ export * from './label.module';
@@ -1,6 +1,6 @@
1
- import * as i0 from "@angular/core";
2
- export declare class CuiLabelComponent {
3
- isRequired: boolean;
4
- static ɵfac: i0.ɵɵFactoryDeclaration<CuiLabelComponent, never>;
5
- static ɵcmp: i0.ɵɵComponentDeclaration<CuiLabelComponent, "label[cuiLabel]", never, { "isRequired": "isRequired"; }, {}, never, ["*"], false, never>;
6
- }
1
+ import * as i0 from "@angular/core";
2
+ export declare class CuiLabelComponent {
3
+ isRequired: boolean;
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiLabelComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<CuiLabelComponent, "label[cuiLabel]", never, { "isRequired": "isRequired"; }, {}, never, ["*"], false, never>;
6
+ }
@@ -1,8 +1,8 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./label.component";
3
- import * as i2 from "@angular/common";
4
- export declare class CuiLabelModule {
5
- static ɵfac: i0.ɵɵFactoryDeclaration<CuiLabelModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<CuiLabelModule, [typeof i1.CuiLabelComponent], [typeof i2.CommonModule], [typeof i1.CuiLabelComponent]>;
7
- static ɵinj: i0.ɵɵInjectorDeclaration<CuiLabelModule>;
8
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./label.component";
3
+ import * as i2 from "@angular/common";
4
+ export declare class CuiLabelModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiLabelModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CuiLabelModule, [typeof i1.CuiLabelComponent], [typeof i2.CommonModule], [typeof i1.CuiLabelComponent]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<CuiLabelModule>;
8
+ }
@@ -1,3 +1,3 @@
1
- export * from './notification.component';
2
- export * from './notification.module';
3
- export * from './notification.options';
1
+ export * from './notification.component';
2
+ export * from './notification.module';
3
+ export * from './notification.options';
@@ -1,18 +1,18 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
2
- import { CuiNotificationIconOptions, CuiNotificationOptions } from './notification.options';
3
- import * as i0 from "@angular/core";
4
- export declare class CuiNotificationComponent implements CuiNotificationOptions, OnInit {
5
- private readonly cuiNotificationOptions;
6
- protected readonly ICONS: import("./notification.options").CuiNotificationIcons;
7
- protected readonly ICON_OPTIONS: Record<"default" | "light", CuiNotificationIconOptions>;
8
- protected iconOptions: CuiNotificationIconOptions;
9
- status: import("@cuby-ui/core").CuiStatus;
10
- mode: "default" | "light";
11
- isCloseable: boolean;
12
- readonly closed: EventEmitter<void>;
13
- ngOnInit(): void;
14
- protected onClose(): void;
15
- private initIconOptions;
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>;
18
- }
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { CuiNotificationIconOptions, CuiNotificationOptions } from './notification.options';
3
+ import * as i0 from "@angular/core";
4
+ export declare class CuiNotificationComponent implements CuiNotificationOptions, OnInit {
5
+ private readonly cuiNotificationOptions;
6
+ protected readonly ICONS: import("./notification.options").CuiNotificationIcons;
7
+ protected readonly ICON_OPTIONS: Record<"default" | "light", CuiNotificationIconOptions>;
8
+ protected iconOptions: CuiNotificationIconOptions;
9
+ status: import("@cuby-ui/core").CuiStatus;
10
+ mode: "default" | "light";
11
+ isCloseable: boolean;
12
+ readonly closed: EventEmitter<void>;
13
+ ngOnInit(): void;
14
+ protected onClose(): void;
15
+ private initIconOptions;
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>;
18
+ }
@@ -1,9 +1,9 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./notification.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "../svg/svg.module";
5
- export declare class CuiNotificationModule {
6
- static ɵfac: i0.ɵɵFactoryDeclaration<CuiNotificationModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<CuiNotificationModule, [typeof i1.CuiNotificationComponent], [typeof i2.CommonModule, typeof i3.CuiSvgModule], [typeof i1.CuiNotificationComponent]>;
8
- static ɵinj: i0.ɵɵInjectorDeclaration<CuiNotificationModule>;
9
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./notification.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../svg/svg.module";
5
+ export declare class CuiNotificationModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiNotificationModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CuiNotificationModule, [typeof i1.CuiNotificationComponent], [typeof i2.CommonModule, typeof i3.CuiSvgModule], [typeof i1.CuiNotificationComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<CuiNotificationModule>;
9
+ }
@@ -1,17 +1,17 @@
1
- import type { CuiStatus } from '../../types';
2
- export type CuiNotificationIcons = Record<CuiStatus, {
3
- icon: string;
4
- }>;
5
- export type CuiNotificationIconOptions = Record<CuiStatus, {
6
- color: string;
7
- }>;
8
- export interface CuiNotificationOptions {
9
- readonly status: CuiStatus;
10
- readonly mode: 'default' | 'light';
11
- }
12
- export declare const CUI_NOTIFICATION_DEFAULT_OPTIONS: CuiNotificationOptions;
13
- export declare const CUI_NOTIFICATION_OPTIONS: import("@angular/core").InjectionToken<CuiNotificationOptions>;
14
- export declare const CUI_NOTIFICATION_ICONS: CuiNotificationIcons;
15
- export declare const CUI_NOTIFICATION_ICON_OPTIONS_DEFAULT_MODE: CuiNotificationIconOptions;
16
- export declare const CUI_NOTIFICATION_ICON_OPTIONS_LIGHT_MODE: CuiNotificationIconOptions;
17
- export declare const CUI_NOTIFICATION_ICON_OPTIONS: Record<CuiNotificationOptions['mode'], CuiNotificationIconOptions>;
1
+ import type { CuiStatus } from '../../types';
2
+ export type CuiNotificationIcons = Record<CuiStatus, {
3
+ icon: string;
4
+ }>;
5
+ export type CuiNotificationIconOptions = Record<CuiStatus, {
6
+ color: string;
7
+ }>;
8
+ export interface CuiNotificationOptions {
9
+ readonly status: CuiStatus;
10
+ readonly mode: 'default' | 'light';
11
+ }
12
+ export declare const CUI_NOTIFICATION_DEFAULT_OPTIONS: CuiNotificationOptions;
13
+ export declare const CUI_NOTIFICATION_OPTIONS: import("@angular/core").InjectionToken<CuiNotificationOptions>;
14
+ export declare const CUI_NOTIFICATION_ICONS: CuiNotificationIcons;
15
+ export declare const CUI_NOTIFICATION_ICON_OPTIONS_DEFAULT_MODE: CuiNotificationIconOptions;
16
+ export declare const CUI_NOTIFICATION_ICON_OPTIONS_LIGHT_MODE: CuiNotificationIconOptions;
17
+ export declare const CUI_NOTIFICATION_ICON_OPTIONS: Record<CuiNotificationOptions['mode'], CuiNotificationIconOptions>;
@@ -1,2 +1,2 @@
1
- export * from './radio.module';
2
- export * from './radio.component';
1
+ export * from './radio.module';
2
+ export * from './radio.component';