design-angular-kit 1.0.0-9 → 1.0.0-prerelease.1

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 (255) hide show
  1. package/README.md +77 -7
  2. package/assets/i18n/en.json +81 -12
  3. package/assets/i18n/it.json +80 -11
  4. package/esm2022/lib/abstracts/abstract-form.component.mjs +187 -0
  5. package/esm2022/lib/abstracts/abstract.component.mjs +45 -0
  6. package/esm2022/lib/components/components.module.mjs +218 -0
  7. package/esm2022/lib/components/core/accordion/accordion.component.mjs +38 -0
  8. package/esm2022/lib/components/core/alert/alert.component.mjs +72 -0
  9. package/esm2022/lib/components/core/avatar/avatar-dropdown/avatar-dropdown.component.mjs +43 -0
  10. package/esm2022/lib/components/core/avatar/avatar-group/avatar-group.component.mjs +38 -0
  11. package/esm2022/lib/components/core/avatar/avatar.directive.mjs +78 -0
  12. package/esm2022/lib/components/core/badge/badge.directive.mjs +39 -0
  13. package/esm2022/lib/components/core/button/button.directive.mjs +86 -0
  14. package/esm2022/lib/components/core/callout/callout.component.mjs +57 -0
  15. package/esm2022/lib/components/core/card/card.component.mjs +59 -0
  16. package/esm2022/lib/components/core/carousel/carousel/carousel.component.mjs +81 -0
  17. package/esm2022/lib/components/core/carousel/carousel-item/carousel-item.component.mjs +19 -0
  18. package/esm2022/lib/components/core/carousel/carousel.module.mjs +23 -0
  19. package/esm2022/lib/components/core/chip/chip.component.mjs +96 -0
  20. package/esm2022/lib/components/core/collapse/collapse.component.mjs +104 -0
  21. package/esm2022/lib/components/core/dimmer/dimmer-buttons/dimmer-buttons.component.mjs +24 -0
  22. package/esm2022/lib/components/core/dimmer/dimmer-icon/dimmer-icon.component.mjs +11 -0
  23. package/esm2022/lib/components/core/dimmer/dimmer.component.mjs +59 -0
  24. package/esm2022/lib/components/core/dimmer/dimmer.module.mjs +27 -0
  25. package/esm2022/lib/components/core/dropdown/dropdown/dropdown.component.mjs +141 -0
  26. package/esm2022/lib/components/core/dropdown/dropdown-item/dropdown-item.component.mjs +62 -0
  27. package/esm2022/lib/components/core/dropdown/dropdown.module.mjs +18 -0
  28. package/esm2022/lib/components/core/forward/forward.directive.mjs +53 -0
  29. package/esm2022/lib/components/core/link/link.component.mjs +42 -0
  30. package/esm2022/lib/components/core/list/list/list.component.mjs +22 -0
  31. package/esm2022/lib/components/core/list/list-item/list-item.component.mjs +51 -0
  32. package/esm2022/lib/components/core/list/list.module.mjs +23 -0
  33. package/esm2022/lib/components/core/modal/modal.component.mjs +195 -0
  34. package/esm2022/lib/components/core/notifications/notifications.component.mjs +112 -0
  35. package/esm2022/lib/components/core/pagination/pagination.component.mjs +127 -0
  36. package/esm2022/lib/components/core/popover/popover.directive.mjs +176 -0
  37. package/esm2022/lib/components/core/progress-bar/progress-bar.component.mjs +34 -0
  38. package/esm2022/lib/components/core/progress-button/progress-button.component.mjs +26 -0
  39. package/esm2022/lib/components/core/spinner/spinner.component.mjs +31 -0
  40. package/esm2022/lib/components/core/steppers/steppers-container/steppers-container.component.mjs +112 -0
  41. package/esm2022/lib/components/core/steppers/steppers-item/steppers-item.component.mjs +19 -0
  42. package/esm2022/lib/components/core/steppers/steppers.module.mjs +23 -0
  43. package/esm2022/lib/components/core/tab/tab-container/tab-container.component.mjs +60 -0
  44. package/esm2022/lib/components/core/tab/tab-item/tab-item.component.mjs +39 -0
  45. package/esm2022/lib/components/core/tab/tab.module.mjs +23 -0
  46. package/esm2022/lib/components/core/table/sort/sort-header/sort-header.component.mjs +136 -0
  47. package/esm2022/lib/components/core/table/sort/sort.directive.mjs +123 -0
  48. package/esm2022/lib/components/core/table/table.component.mjs +45 -0
  49. package/esm2022/lib/components/core/tooltip/tooltip.directive.mjs +143 -0
  50. package/esm2022/lib/components/form/autocomplete/autocomplete.component.mjs +95 -0
  51. package/esm2022/lib/components/form/checkbox/checkbox.component.mjs +48 -0
  52. package/esm2022/lib/components/form/form.module.mjs +59 -0
  53. package/esm2022/lib/components/form/input/input.component.mjs +187 -0
  54. package/esm2022/lib/components/form/password-input/password-input.component.mjs +149 -0
  55. package/esm2022/lib/components/form/radio-button/radio-button.component.mjs +58 -0
  56. package/esm2022/lib/components/form/range/range.component.mjs +64 -0
  57. package/esm2022/lib/components/form/rating/rating.component.mjs +51 -0
  58. package/esm2022/lib/components/form/select/select.component.mjs +70 -0
  59. package/esm2022/lib/components/form/textarea/textarea.component.mjs +55 -0
  60. package/esm2022/lib/components/form/upload-drag-drop/upload-drag-drop.component.mjs +140 -0
  61. package/esm2022/lib/components/form/upload-file-list/upload-file-list.component.mjs +107 -0
  62. package/esm2022/lib/components/navigation/back-button/back-button.component.mjs +67 -0
  63. package/esm2022/lib/components/navigation/back-to-top/back-to-top.component.mjs +58 -0
  64. package/esm2022/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.mjs +55 -0
  65. package/esm2022/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.mjs +21 -0
  66. package/esm2022/lib/components/navigation/breadcrumbs/breadcrumbs.module.mjs +18 -0
  67. package/esm2022/lib/components/navigation/header/header.component.mjs +73 -0
  68. package/esm2022/lib/components/navigation/navbar/navbar/navbar.component.mjs +41 -0
  69. package/esm2022/lib/components/navigation/navbar/navbar-item/navbar-item.component.mjs +13 -0
  70. package/esm2022/lib/components/navigation/navbar/navbar.module.mjs +18 -0
  71. package/esm2022/lib/components/utils/error-page/error-page.component.mjs +75 -0
  72. package/esm2022/lib/components/utils/icon/icon.component.mjs +56 -0
  73. package/esm2022/lib/components/utils/language-switcher/language-switcher.component.mjs +47 -0
  74. package/esm2022/lib/design-angular-kit-config.mjs +15 -0
  75. package/esm2022/lib/design-angular-kit.module.mjs +68 -0
  76. package/esm2022/lib/enums/colors.enums.mjs +12 -0
  77. package/esm2022/lib/enums/sizes.enum.mjs +9 -0
  78. package/esm2022/lib/interfaces/core.mjs +16 -0
  79. package/esm2022/lib/interfaces/design-angular-kit-init.mjs +2 -0
  80. package/esm2022/lib/interfaces/form.mjs +2 -0
  81. package/esm2022/lib/interfaces/icon.mjs +165 -0
  82. package/esm2022/lib/interfaces/sortable-table.mjs +6 -0
  83. package/esm2022/lib/pipes/date-ago.pipe.mjs +56 -0
  84. package/esm2022/lib/pipes/duration.pipe.mjs +110 -0
  85. package/esm2022/lib/pipes/mark-matching-text.pipe.mjs +48 -0
  86. package/esm2022/lib/services/notification/notification.service.mjs +120 -0
  87. package/esm2022/lib/utils/coercion.mjs +18 -0
  88. package/esm2022/lib/utils/date-utils.mjs +160 -0
  89. package/esm2022/lib/utils/file-utils.mjs +73 -0
  90. package/esm2022/lib/utils/regex.mjs +31 -0
  91. package/esm2022/lib/validators/it-validators.mjs +153 -0
  92. package/esm2022/public_api.mjs +98 -0
  93. package/fesm2022/design-angular-kit.mjs +5450 -0
  94. package/fesm2022/design-angular-kit.mjs.map +1 -0
  95. package/lib/abstracts/{abstract-form-component.d.ts → abstract-form.component.d.ts} +12 -14
  96. package/lib/abstracts/abstract.component.d.ts +18 -8
  97. package/lib/components/components.module.d.ts +45 -0
  98. package/lib/components/core/accordion/accordion.component.d.ts +11 -5
  99. package/lib/components/core/alert/alert.component.d.ts +15 -10
  100. package/lib/components/core/avatar/avatar-dropdown/avatar-dropdown.component.d.ts +29 -0
  101. package/lib/components/core/avatar/avatar-group/avatar-group.component.d.ts +13 -0
  102. package/lib/components/core/avatar/avatar.directive.d.ts +33 -0
  103. package/lib/components/core/badge/badge.directive.d.ts +14 -7
  104. package/lib/components/core/button/button.directive.d.ts +25 -15
  105. package/lib/components/core/callout/callout.component.d.ts +18 -20
  106. package/lib/components/core/card/card.component.d.ts +46 -18
  107. package/lib/components/core/carousel/carousel/carousel.component.d.ts +34 -15
  108. package/lib/components/core/carousel/carousel-item/carousel-item.component.d.ts +8 -3
  109. package/lib/components/core/carousel/carousel.module.d.ts +8 -0
  110. package/lib/components/core/chip/chip.component.d.ts +8 -5
  111. package/lib/components/core/collapse/collapse.component.d.ts +22 -15
  112. package/lib/components/core/dimmer/dimmer-buttons/dimmer-buttons.component.d.ts +3 -3
  113. package/lib/components/core/dimmer/dimmer-icon/dimmer-icon.component.d.ts +3 -3
  114. package/lib/components/core/dimmer/dimmer.component.d.ts +4 -4
  115. package/lib/components/core/dimmer/dimmer.module.d.ts +9 -0
  116. package/lib/components/core/dropdown/dropdown/dropdown.component.d.ts +24 -17
  117. package/lib/components/core/dropdown/dropdown-item/dropdown-item.component.d.ts +15 -12
  118. package/lib/components/core/dropdown/dropdown.module.d.ts +8 -0
  119. package/lib/components/core/forward/forward.directive.d.ts +3 -3
  120. package/lib/components/core/link/link.component.d.ts +14 -10
  121. package/lib/components/core/list/list/list.component.d.ts +20 -6
  122. package/lib/components/core/list/list-item/list-item.component.d.ts +23 -9
  123. package/lib/components/core/list/list.module.d.ts +8 -0
  124. package/lib/components/core/modal/modal.component.d.ts +89 -13
  125. package/lib/components/core/notifications/notifications.component.d.ts +9 -8
  126. package/lib/components/core/pagination/pagination.component.d.ts +71 -10
  127. package/lib/components/core/popover/popover.directive.d.ts +15 -14
  128. package/lib/components/core/progress-bar/progress-bar.component.d.ts +11 -8
  129. package/lib/components/core/progress-button/progress-button.component.d.ts +5 -6
  130. package/lib/components/core/spinner/spinner.component.d.ts +13 -10
  131. package/lib/components/core/steppers/steppers-container/steppers-container.component.d.ts +55 -27
  132. package/lib/components/core/steppers/steppers-item/steppers-item.component.d.ts +5 -4
  133. package/lib/components/core/steppers/steppers.module.d.ts +8 -0
  134. package/lib/components/core/tab/tab-container/tab-container.component.d.ts +15 -12
  135. package/lib/components/core/tab/tab-item/tab-item.component.d.ts +14 -10
  136. package/lib/components/core/tab/tab.module.d.ts +8 -0
  137. package/lib/components/core/table/sort/sort-header/sort-header.component.d.ts +72 -0
  138. package/lib/components/core/table/sort/sort.directive.d.ts +53 -0
  139. package/lib/components/core/table/table.component.d.ts +26 -20
  140. package/lib/components/core/tooltip/tooltip.directive.d.ts +12 -11
  141. package/lib/components/form/autocomplete/autocomplete.component.d.ts +49 -0
  142. package/lib/components/form/checkbox/checkbox.component.d.ts +23 -12
  143. package/lib/components/form/form.module.d.ts +17 -0
  144. package/lib/components/form/input/input.component.d.ts +42 -43
  145. package/lib/components/form/password-input/password-input.component.d.ts +35 -10
  146. package/lib/components/form/radio-button/radio-button.component.d.ts +20 -11
  147. package/lib/components/form/range/range.component.d.ts +42 -0
  148. package/lib/components/form/rating/rating.component.d.ts +24 -0
  149. package/lib/components/form/select/select.component.d.ts +12 -6
  150. package/lib/components/form/textarea/textarea.component.d.ts +15 -5
  151. package/lib/components/form/upload-drag-drop/upload-drag-drop.component.d.ts +5 -5
  152. package/lib/components/form/upload-file-list/upload-file-list.component.d.ts +14 -11
  153. package/lib/components/navigation/back-button/back-button.component.d.ts +8 -8
  154. package/lib/components/navigation/back-to-top/back-to-top.component.d.ts +15 -16
  155. package/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.d.ts +13 -10
  156. package/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.d.ts +9 -8
  157. package/lib/components/navigation/breadcrumbs/breadcrumbs.module.d.ts +8 -0
  158. package/lib/components/navigation/header/header.component.d.ts +22 -25
  159. package/lib/components/navigation/navbar/navbar/navbar.component.d.ts +16 -0
  160. package/lib/components/navigation/navbar/navbar-item/navbar-item.component.d.ts +5 -0
  161. package/lib/components/navigation/navbar/navbar.module.d.ts +8 -0
  162. package/lib/components/utils/error-page/error-page.component.d.ts +44 -0
  163. package/lib/components/utils/icon/icon.component.d.ts +15 -15
  164. package/lib/components/utils/language-switcher/language-switcher.component.d.ts +9 -5
  165. package/lib/design-angular-kit-config.d.ts +16 -0
  166. package/lib/design-angular-kit.module.d.ts +6 -4
  167. package/lib/enums/colors.enums.d.ts +10 -0
  168. package/lib/enums/sizes.enum.d.ts +7 -0
  169. package/lib/interfaces/core.d.ts +16 -15
  170. package/lib/interfaces/design-angular-kit-init.d.ts +7 -0
  171. package/lib/interfaces/form.d.ts +9 -9
  172. package/lib/interfaces/icon.d.ts +4 -3
  173. package/lib/interfaces/sortable-table.d.ts +33 -0
  174. package/lib/pipes/date-ago.pipe.d.ts +17 -0
  175. package/lib/pipes/duration.pipe.d.ts +35 -0
  176. package/lib/pipes/mark-matching-text.pipe.d.ts +15 -7
  177. package/lib/services/{notifications/notifications.service.d.ts → notification/notification.service.d.ts} +3 -3
  178. package/lib/utils/coercion.d.ts +14 -0
  179. package/lib/utils/date-utils.d.ts +78 -0
  180. package/lib/utils/file-utils.d.ts +1 -1
  181. package/lib/utils/regex.d.ts +5 -0
  182. package/lib/validators/it-validators.d.ts +9 -2
  183. package/package.json +14 -20
  184. package/public_api.d.ts +29 -4
  185. package/esm2020/lib/abstracts/abstract-form-component.mjs +0 -174
  186. package/esm2020/lib/abstracts/abstract.component.mjs +0 -27
  187. package/esm2020/lib/components/core/accordion/accordion.component.mjs +0 -31
  188. package/esm2020/lib/components/core/alert/alert.component.mjs +0 -69
  189. package/esm2020/lib/components/core/badge/badge.directive.mjs +0 -34
  190. package/esm2020/lib/components/core/button/button.directive.mjs +0 -80
  191. package/esm2020/lib/components/core/callout/callout.component.mjs +0 -84
  192. package/esm2020/lib/components/core/card/card.component.mjs +0 -58
  193. package/esm2020/lib/components/core/carousel/carousel/carousel.component.mjs +0 -66
  194. package/esm2020/lib/components/core/carousel/carousel-item/carousel-item.component.mjs +0 -14
  195. package/esm2020/lib/components/core/chip/chip.component.mjs +0 -89
  196. package/esm2020/lib/components/core/collapse/collapse.component.mjs +0 -101
  197. package/esm2020/lib/components/core/dimmer/dimmer-buttons/dimmer-buttons.component.mjs +0 -24
  198. package/esm2020/lib/components/core/dimmer/dimmer-icon/dimmer-icon.component.mjs +0 -11
  199. package/esm2020/lib/components/core/dimmer/dimmer.component.mjs +0 -59
  200. package/esm2020/lib/components/core/dropdown/dropdown/dropdown.component.mjs +0 -130
  201. package/esm2020/lib/components/core/dropdown/dropdown-item/dropdown-item.component.mjs +0 -68
  202. package/esm2020/lib/components/core/forward/forward.directive.mjs +0 -51
  203. package/esm2020/lib/components/core/link/link.component.mjs +0 -40
  204. package/esm2020/lib/components/core/list/list/list.component.mjs +0 -13
  205. package/esm2020/lib/components/core/list/list-item/list-item.component.mjs +0 -36
  206. package/esm2020/lib/components/core/modal/modal.component.mjs +0 -98
  207. package/esm2020/lib/components/core/notifications/notifications.component.mjs +0 -110
  208. package/esm2020/lib/components/core/pagination/pagination.component.mjs +0 -51
  209. package/esm2020/lib/components/core/popover/popover.directive.mjs +0 -179
  210. package/esm2020/lib/components/core/progress-bar/progress-bar.component.mjs +0 -34
  211. package/esm2020/lib/components/core/progress-button/progress-button.component.mjs +0 -27
  212. package/esm2020/lib/components/core/spinner/spinner.component.mjs +0 -35
  213. package/esm2020/lib/components/core/steppers/steppers-container/steppers-container.component.mjs +0 -119
  214. package/esm2020/lib/components/core/steppers/steppers-item/steppers-item.component.mjs +0 -18
  215. package/esm2020/lib/components/core/tab/tab-container/tab-container.component.mjs +0 -59
  216. package/esm2020/lib/components/core/tab/tab-item/tab-item.component.mjs +0 -36
  217. package/esm2020/lib/components/core/table/table.component.mjs +0 -57
  218. package/esm2020/lib/components/core/tooltip/tooltip.directive.mjs +0 -143
  219. package/esm2020/lib/components/form/checkbox/checkbox.component.mjs +0 -40
  220. package/esm2020/lib/components/form/input/input.component.mjs +0 -222
  221. package/esm2020/lib/components/form/password-input/password-input.component.mjs +0 -112
  222. package/esm2020/lib/components/form/radio-button/radio-button.component.mjs +0 -53
  223. package/esm2020/lib/components/form/select/select.component.mjs +0 -62
  224. package/esm2020/lib/components/form/textarea/textarea.component.mjs +0 -46
  225. package/esm2020/lib/components/form/upload-drag-drop/upload-drag-drop.component.mjs +0 -137
  226. package/esm2020/lib/components/form/upload-file-list/upload-file-list.component.mjs +0 -104
  227. package/esm2020/lib/components/navigation/back-button/back-button.component.mjs +0 -69
  228. package/esm2020/lib/components/navigation/back-to-top/back-to-top.component.mjs +0 -74
  229. package/esm2020/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.mjs +0 -45
  230. package/esm2020/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.mjs +0 -23
  231. package/esm2020/lib/components/navigation/header/header.component.mjs +0 -63
  232. package/esm2020/lib/components/utils/icon/icon.component.mjs +0 -54
  233. package/esm2020/lib/components/utils/language-switcher/language-switcher.component.mjs +0 -39
  234. package/esm2020/lib/components/utils/not-found-page/not-found-page.component.mjs +0 -13
  235. package/esm2020/lib/design-angular-kit.module.mjs +0 -56
  236. package/esm2020/lib/interfaces/core.mjs +0 -16
  237. package/esm2020/lib/interfaces/form.mjs +0 -2
  238. package/esm2020/lib/interfaces/icon.mjs +0 -2
  239. package/esm2020/lib/modules/components.module.mjs +0 -257
  240. package/esm2020/lib/pipes/mark-matching-text.pipe.mjs +0 -36
  241. package/esm2020/lib/services/notifications/notifications.service.mjs +0 -120
  242. package/esm2020/lib/utils/boolean-input.mjs +0 -15
  243. package/esm2020/lib/utils/file-utils.mjs +0 -73
  244. package/esm2020/lib/utils/regex.mjs +0 -26
  245. package/esm2020/lib/validators/it-validators.mjs +0 -134
  246. package/esm2020/public_api.mjs +0 -70
  247. package/fesm2015/design-angular-kit.mjs +0 -3850
  248. package/fesm2015/design-angular-kit.mjs.map +0 -1
  249. package/fesm2020/design-angular-kit.mjs +0 -3797
  250. package/fesm2020/design-angular-kit.mjs.map +0 -1
  251. package/lib/components/utils/not-found-page/not-found-page.component.d.ts +0 -5
  252. package/lib/modules/components.module.d.ts +0 -61
  253. package/lib/utils/boolean-input.d.ts +0 -11
  254. /package/{esm2020 → esm2022}/design-angular-kit.mjs +0 -0
  255. /package/{esm2020 → esm2022}/lib/interfaces/utils.mjs +0 -0
@@ -1,29 +1,38 @@
1
- import { AbstractFormComponent } from '../../../abstracts/abstract-form-component';
2
- import { BooleanInput } from '../../../utils/boolean-input';
1
+ import { OnInit } from '@angular/core';
2
+ import { ItAbstractFormComponent } from '../../../abstracts/abstract-form.component';
3
3
  import * as i0 from "@angular/core";
4
- export declare class RadioButtonComponent extends AbstractFormComponent<string | number> {
4
+ import * as i1 from "../../../utils/coercion";
5
+ export declare class ItRadioButtonComponent extends ItAbstractFormComponent<string | number | null | undefined> implements OnInit {
5
6
  /**
6
7
  * The radio value
7
8
  */
8
- value?: string | number;
9
+ value: string | number | undefined | null;
9
10
  /**
10
11
  * If show radio inline
11
12
  * @default false
12
13
  */
13
- inline: BooleanInput;
14
+ inline?: boolean;
14
15
  /**
15
16
  * If is radio group
16
17
  * @default false
17
18
  */
18
- group: BooleanInput;
19
+ group?: boolean;
19
20
  /**
20
21
  * If is radio is checked
22
+ * @default false
23
+ */
24
+ checked?: boolean;
25
+ /**
26
+ * Set the radio name manually.
27
+ * For example when the radio button name is duplicated inside page
28
+ * @default by default the radio name is calculated from form field name
21
29
  */
22
- checked?: BooleanInput;
23
- get isInline(): boolean;
24
- get isGroup(): boolean;
30
+ forceRadioName?: string;
25
31
  get name(): string;
26
32
  ngOnInit(): void;
27
- static ɵfac: i0.ɵɵFactoryDeclaration<RadioButtonComponent, never>;
28
- static ɵcmp: i0.ɵɵComponentDeclaration<RadioButtonComponent, "it-radio-button[id][value]", never, { "value": "value"; "inline": "inline"; "group": "group"; "checked": "checked"; }, {}, never, ["[label]", "*", "[error]", "[error]"], false, never>;
33
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItRadioButtonComponent, never>;
34
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItRadioButtonComponent, "it-radio-button[value]", never, { "value": { "alias": "value"; "required": false; }; "inline": { "alias": "inline"; "required": false; }; "group": { "alias": "group"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "forceRadioName": { "alias": "forceRadioName"; "required": false; }; }, {}, never, ["[label]", "*", "[error]", "[error]"], true, never>;
35
+ static ngAcceptInputType_inline: i1.BooleanInput;
36
+ static ngAcceptInputType_group: i1.BooleanInput;
37
+ static ngAcceptInputType_checked: i1.BooleanInput;
29
38
  }
@@ -0,0 +1,42 @@
1
+ import { ElementRef, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
2
+ import { ItAbstractFormComponent } from '../../../abstracts/abstract-form.component';
3
+ import * as i0 from "@angular/core";
4
+ export declare class ItRangeComponent extends ItAbstractFormComponent<number | null | undefined> implements OnInit, OnChanges, OnDestroy {
5
+ /**
6
+ * The max value
7
+ */
8
+ max?: number;
9
+ /**
10
+ * The min value
11
+ */
12
+ min?: number;
13
+ /**
14
+ * The step value
15
+ */
16
+ step?: number | 'any';
17
+ /**
18
+ * The color on left of thumb [Require rightColor]
19
+ * @example '#0d6efd' or 'var(--bs-primary)'
20
+ * @default undefined ('var(--bs-gray-300)')
21
+ */
22
+ leftColor?: string;
23
+ /**
24
+ * The color on right of thumb [Require leftColor]
25
+ * @example '#0d6efd' or 'var(--bs-primary)'
26
+ * @default undefined ('var(--bs-gray-300)')
27
+ */
28
+ rightColor?: string;
29
+ slider: ElementRef<HTMLInputElement>;
30
+ private subscription?;
31
+ ngOnInit(): void;
32
+ ngOnChanges(changes: SimpleChanges): void;
33
+ ngOnDestroy(): void;
34
+ writeValue(value: number | null | undefined): void;
35
+ /**
36
+ * Update the percentage of slider color
37
+ * @private
38
+ */
39
+ private updateSliderColor;
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItRangeComponent, never>;
41
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItRangeComponent, "it-range", never, { "max": { "alias": "max"; "required": false; }; "min": { "alias": "min"; "required": false; }; "step": { "alias": "step"; "required": false; }; "leftColor": { "alias": "leftColor"; "required": false; }; "rightColor": { "alias": "rightColor"; "required": false; }; }, {}, never, ["*"], true, never>;
42
+ }
@@ -0,0 +1,24 @@
1
+ import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
+ import { ItAbstractFormComponent } from '../../../abstracts/abstract-form.component';
3
+ import * as i0 from "@angular/core";
4
+ export declare class ItRatingComponent extends ItAbstractFormComponent<number | null | undefined> implements OnInit, OnChanges {
5
+ /**
6
+ * The rating value
7
+ */
8
+ value: number | undefined;
9
+ /**
10
+ * Number of stars to show
11
+ * @default 5
12
+ */
13
+ starCount: number;
14
+ protected stars: Array<number>;
15
+ ngOnChanges(changes: SimpleChanges): void;
16
+ ngOnInit(): void;
17
+ /**
18
+ * Generate the array of stars
19
+ * @private
20
+ */
21
+ private generateStars;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItRatingComponent, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItRatingComponent, "it-rating", never, { "value": { "alias": "value"; "required": false; }; "starCount": { "alias": "starCount"; "required": false; }; }, {}, never, never, true, never>;
24
+ }
@@ -1,19 +1,25 @@
1
- import { AbstractFormComponent } from '../../../abstracts/abstract-form-component';
1
+ import { OnInit } from '@angular/core';
2
+ import { ItAbstractFormComponent } from '../../../abstracts/abstract-form.component';
2
3
  import { SelectControlGroup, SelectControlOption } from '../../../interfaces/form';
3
4
  import * as i0 from "@angular/core";
4
- export declare class SelectComponent extends AbstractFormComponent {
5
+ export declare class ItSelectComponent extends ItAbstractFormComponent implements OnInit {
5
6
  /**
6
7
  * The select options
7
8
  */
8
- options: Array<SelectControlOption>;
9
+ options: Array<SelectControlOption> | undefined;
9
10
  /**
10
11
  * The select group options
11
12
  */
12
- groups?: Array<SelectControlGroup>;
13
+ groups: Array<SelectControlGroup> | undefined;
13
14
  /**
14
15
  * The select description
15
16
  */
16
17
  description?: string;
18
+ /**
19
+ * If set, add a `disabled selected` option with value `null` and as text the value of the attribute
20
+ * @example 'Select an option'
21
+ */
22
+ defaultOption?: string;
17
23
  ngOnInit(): void;
18
24
  /**
19
25
  * Check if the option is selected
@@ -25,6 +31,6 @@ export declare class SelectComponent extends AbstractFormComponent {
25
31
  * @param option the option
26
32
  */
27
33
  optionIsDisabled(option: SelectControlOption): boolean;
28
- static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent, never>;
29
- static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "it-select[id][options]", never, { "options": "options"; "groups": "groups"; "description": "description"; }, {}, never, never, false, never>;
34
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItSelectComponent, never>;
35
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItSelectComponent, "it-select", never, { "options": { "alias": "options"; "required": false; }; "groups": { "alias": "groups"; "required": false; }; "description": { "alias": "description"; "required": false; }; "defaultOption": { "alias": "defaultOption"; "required": false; }; }, {}, never, ["*", "[error]"], true, never>;
30
36
  }
@@ -1,7 +1,7 @@
1
- import { AbstractFormComponent } from '../../../abstracts/abstract-form-component';
1
+ import { ItAbstractFormComponent } from '../../../abstracts/abstract-form.component';
2
2
  import { Observable } from 'rxjs';
3
3
  import * as i0 from "@angular/core";
4
- export declare class TextareaComponent extends AbstractFormComponent<string> {
4
+ export declare class ItTextareaComponent extends ItAbstractFormComponent<string | null | undefined> {
5
5
  /**
6
6
  * Textarea Rows
7
7
  * @default 3
@@ -14,11 +14,21 @@ export declare class TextareaComponent extends AbstractFormComponent<string> {
14
14
  /**
15
15
  * The input description
16
16
  */
17
- description?: string;
17
+ description: string | undefined;
18
+ /**
19
+ * To prevent modification of the contained value.
20
+ * - <b>plaintext</b>: Readonly field in the form stylized as plain text
21
+ * @default undefined
22
+ */
23
+ readonly: boolean | 'plaintext' | undefined;
18
24
  /**
19
25
  * Return the invalid message string from TranslateService
20
26
  */
21
27
  get invalidMessage(): Observable<string>;
22
- static ɵfac: i0.ɵɵFactoryDeclaration<TextareaComponent, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<TextareaComponent, "it-textarea[id]", never, { "rows": "rows"; "placeholder": "placeholder"; "description": "description"; }, {}, never, ["[error]"], false, never>;
28
+ /**
29
+ * Check is readonly field
30
+ */
31
+ protected get isReadonly(): boolean;
32
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItTextareaComponent, never>;
33
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItTextareaComponent, "it-textarea", never, { "rows": { "alias": "rows"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "description": { "alias": "description"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; }, {}, never, ["[error]"], true, never>;
24
34
  }
@@ -1,8 +1,8 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { AbstractComponent } from '../../../abstracts/abstract.component';
1
+ import { AfterViewInit, EventEmitter } from '@angular/core';
2
+ import { ItAbstractComponent } from '../../../abstracts/abstract.component';
3
3
  import { ProgressDonut } from 'bootstrap-italia';
4
4
  import * as i0 from "@angular/core";
5
- export declare class UploadDragDropComponent extends AbstractComponent {
5
+ export declare class ItUploadDragDropComponent extends ItAbstractComponent implements AfterViewInit {
6
6
  /**
7
7
  * The accepted file type to upload <br>
8
8
  * Possible values: <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types">MIME Types</a> separated by comma
@@ -49,6 +49,6 @@ export declare class UploadDragDropComponent extends AbstractComponent {
49
49
  * Reset file uploader
50
50
  */
51
51
  reset(): void;
52
- static ɵfac: i0.ɵɵFactoryDeclaration<UploadDragDropComponent, never>;
53
- static ɵcmp: i0.ɵɵComponentDeclaration<UploadDragDropComponent, "it-upload-drag-drop[id]", ["itUploadDragDrop"], { "accept": "accept"; }, { "fileStartUpload": "fileStartUpload"; }, never, never, false, never>;
52
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItUploadDragDropComponent, never>;
53
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItUploadDragDropComponent, "it-upload-drag-drop", ["itUploadDragDrop"], { "accept": { "alias": "accept"; "required": false; }; }, { "fileStartUpload": "fileStartUpload"; }, never, never, true, never>;
54
54
  }
@@ -1,9 +1,9 @@
1
1
  import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
- import { AbstractComponent } from '../../../abstracts/abstract.component';
3
- import { BooleanInput } from '../../../utils/boolean-input';
2
+ import { ItAbstractComponent } from '../../../abstracts/abstract.component';
4
3
  import { UploadFileListItem } from '../../../interfaces/form';
5
4
  import * as i0 from "@angular/core";
6
- export declare class UploadFileListComponent extends AbstractComponent implements OnInit, OnChanges {
5
+ import * as i1 from "../../../utils/coercion";
6
+ export declare class ItUploadFileListComponent extends ItAbstractComponent implements OnInit, OnChanges {
7
7
  /**
8
8
  * The list of files to show in list
9
9
  */
@@ -17,16 +17,19 @@ export declare class UploadFileListComponent extends AbstractComponent implement
17
17
  accept: string;
18
18
  /**
19
19
  * If upload multiple files
20
+ * @default true
20
21
  */
21
- multiple: BooleanInput;
22
+ multiple: boolean;
22
23
  /**
23
24
  * If is file list image
25
+ * @default false
24
26
  */
25
- images?: BooleanInput;
27
+ images?: boolean;
26
28
  /**
27
29
  * Hide the load button
30
+ * @default false
28
31
  */
29
- hideLoadButton?: BooleanInput;
32
+ hideLoadButton?: boolean;
30
33
  /**
31
34
  * Fired when upload new files
32
35
  */
@@ -41,9 +44,6 @@ export declare class UploadFileListComponent extends AbstractComponent implement
41
44
  previewImages: Map<number, string>;
42
45
  ngOnInit(): void;
43
46
  ngOnChanges(changes: SimpleChanges): void;
44
- get isMultipleInput(): boolean;
45
- get isImageList(): boolean;
46
- get isHideLoadButton(): boolean;
47
47
  /**
48
48
  * On load file from input
49
49
  * @param event
@@ -54,6 +54,9 @@ export declare class UploadFileListComponent extends AbstractComponent implement
54
54
  * @param file
55
55
  */
56
56
  getFileSize(file: File): string;
57
- static ɵfac: i0.ɵɵFactoryDeclaration<UploadFileListComponent, never>;
58
- static ɵcmp: i0.ɵɵComponentDeclaration<UploadFileListComponent, "it-upload-file-list[id][fileList]", never, { "fileList": "fileList"; "accept": "accept"; "multiple": "multiple"; "images": "images"; "hideLoadButton": "hideLoadButton"; }, { "uploadFiles": "uploadFiles"; "deleteItem": "deleteItem"; }, never, never, false, never>;
57
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItUploadFileListComponent, never>;
58
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItUploadFileListComponent, "it-upload-file-list[fileList]", never, { "fileList": { "alias": "fileList"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "images": { "alias": "images"; "required": false; }; "hideLoadButton": { "alias": "hideLoadButton"; "required": false; }; }, { "uploadFiles": "uploadFiles"; "deleteItem": "deleteItem"; }, never, never, true, never>;
59
+ static ngAcceptInputType_multiple: i1.BooleanInput;
60
+ static ngAcceptInputType_images: i1.BooleanInput;
61
+ static ngAcceptInputType_hideLoadButton: i1.BooleanInput;
59
62
  }
@@ -1,7 +1,7 @@
1
1
  import { Location } from '@angular/common';
2
- import { BooleanInput } from '../../../utils/boolean-input';
3
2
  import * as i0 from "@angular/core";
4
- export declare class BackButtonComponent {
3
+ import * as i1 from "../../../utils/coercion";
4
+ export declare class ItBackButtonComponent {
5
5
  readonly _location: Location;
6
6
  /**
7
7
  * Back button style
@@ -21,12 +21,12 @@ export declare class BackButtonComponent {
21
21
  * Show/Hide icon
22
22
  * @default true
23
23
  */
24
- showIcon: BooleanInput;
24
+ showIcon: boolean;
25
25
  /**
26
26
  * Show/Hide text
27
27
  * @default true
28
28
  */
29
- showText: BooleanInput;
29
+ showText: boolean;
30
30
  /**
31
31
  * Custom back logic <br/>
32
32
  *
@@ -35,13 +35,13 @@ export declare class BackButtonComponent {
35
35
  * (errorCallback is your function, pass backCbFn to the component)
36
36
  */
37
37
  backFn?: (location: Location) => void;
38
- get isShowIcon(): boolean;
39
- get isShowText(): boolean;
40
38
  constructor(_location: Location);
41
39
  /**
42
40
  * Go back function
43
41
  */
44
42
  goBack(event: Event): void;
45
- static ɵfac: i0.ɵɵFactoryDeclaration<BackButtonComponent, never>;
46
- static ɵcmp: i0.ɵɵComponentDeclaration<BackButtonComponent, "it-back-button", ["itBackButton"], { "buttonStyle": "buttonStyle"; "direction": "direction"; "showIcon": "showIcon"; "showText": "showText"; "backFn": "backFn"; }, {}, never, never, false, never>;
43
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItBackButtonComponent, never>;
44
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItBackButtonComponent, "it-back-button", ["itBackButton"], { "buttonStyle": { "alias": "buttonStyle"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "showIcon": { "alias": "showIcon"; "required": false; }; "showText": { "alias": "showText"; "required": false; }; "backFn": { "alias": "backFn"; "required": false; }; }, {}, never, never, true, never>;
45
+ static ngAcceptInputType_showIcon: i1.BooleanInput;
46
+ static ngAcceptInputType_showText: i1.BooleanInput;
47
47
  }
@@ -1,29 +1,25 @@
1
- import { BooleanInput } from '../../../utils/boolean-input';
2
- import { AbstractComponent } from '../../../abstracts/abstract.component';
1
+ import { AfterViewInit } from '@angular/core';
2
+ import { ItAbstractComponent } from '../../../abstracts/abstract.component';
3
3
  import * as i0 from "@angular/core";
4
- export declare class BackToTopComponent extends AbstractComponent {
5
- /**
6
- * The back to top ID
7
- * @default 'back-to-top-button'
8
- */
9
- id: string;
4
+ import * as i1 from "../../../utils/coercion";
5
+ export declare class ItBackToTopComponent extends ItAbstractComponent implements AfterViewInit {
10
6
  /**
11
7
  * Show small button
8
+ * @default false
12
9
  */
13
- small?: BooleanInput;
10
+ small?: boolean;
14
11
  /**
15
12
  * Show shadow
13
+ * @default false
16
14
  */
17
- shadow?: BooleanInput;
15
+ shadow?: boolean;
18
16
  /**
19
17
  * Button usable button on a dark background
18
+ * @default false
20
19
  */
21
- dark?: BooleanInput;
20
+ dark?: boolean;
22
21
  private backToTop?;
23
22
  private backToTopElement?;
24
- get isSmall(): boolean;
25
- get isShadow(): boolean;
26
- get isDark(): boolean;
27
23
  ngAfterViewInit(): void;
28
24
  /**
29
25
  * Show button
@@ -41,6 +37,9 @@ export declare class BackToTopComponent extends AbstractComponent {
41
37
  * Eliminate component features
42
38
  */
43
39
  dispose(): void;
44
- static ɵfac: i0.ɵɵFactoryDeclaration<BackToTopComponent, never>;
45
- static ɵcmp: i0.ɵɵComponentDeclaration<BackToTopComponent, "it-back-to-top", ["itBackToTop"], { "id": "id"; "small": "small"; "shadow": "shadow"; "dark": "dark"; }, {}, never, never, false, never>;
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItBackToTopComponent, never>;
41
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItBackToTopComponent, "it-back-to-top", ["itBackToTop"], { "small": { "alias": "small"; "required": false; }; "shadow": { "alias": "shadow"; "required": false; }; "dark": { "alias": "dark"; "required": false; }; }, {}, never, never, true, never>;
42
+ static ngAcceptInputType_small: i1.BooleanInput;
43
+ static ngAcceptInputType_shadow: i1.BooleanInput;
44
+ static ngAcceptInputType_dark: i1.BooleanInput;
46
45
  }
@@ -1,8 +1,8 @@
1
- import { ChangeDetectorRef, QueryList } from '@angular/core';
2
- import { BreadcrumbItemComponent } from "../breadcrumb-item/breadcrumb-item.component";
3
- import { BooleanInput } from "../../../../utils/boolean-input";
1
+ import { AfterViewInit, ChangeDetectorRef, OnDestroy, QueryList } from '@angular/core';
2
+ import { ItBreadcrumbItemComponent } from '../breadcrumb-item/breadcrumb-item.component';
4
3
  import * as i0 from "@angular/core";
5
- export declare class BreadcrumbComponent {
4
+ import * as i1 from "../../../../utils/coercion";
5
+ export declare class ItBreadcrumbComponent implements AfterViewInit, OnDestroy {
6
6
  private readonly _changeDetectorRef;
7
7
  /**
8
8
  * The character to use as separator
@@ -11,20 +11,23 @@ export declare class BreadcrumbComponent {
11
11
  separator: string;
12
12
  /**
13
13
  * Dark style
14
+ * @default false
14
15
  */
15
- dark?: BooleanInput;
16
+ dark?: boolean;
16
17
  /**
17
18
  * The tab items
18
19
  */
19
- items?: QueryList<BreadcrumbItemComponent>;
20
- get isDark(): boolean;
20
+ items?: QueryList<ItBreadcrumbItemComponent>;
21
+ private itemSubscriptions?;
21
22
  constructor(_changeDetectorRef: ChangeDetectorRef);
22
23
  ngAfterViewInit(): void;
24
+ ngOnDestroy(): void;
23
25
  /**
24
26
  * Check if index is last item
25
27
  * @param index
26
28
  */
27
- isLastItem(index: number): boolean;
28
- static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbComponent, never>;
29
- static ɵcmp: i0.ɵɵComponentDeclaration<BreadcrumbComponent, "it-breadcrumb", never, { "separator": "separator"; "dark": "dark"; }, {}, ["items"], never, false, never>;
29
+ protected isLastItem(index: number): boolean;
30
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItBreadcrumbComponent, never>;
31
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItBreadcrumbComponent, "it-breadcrumb", never, { "separator": { "alias": "separator"; "required": false; }; "dark": { "alias": "dark"; "required": false; }; }, {}, ["items"], never, true, never>;
32
+ static ngAcceptInputType_dark: i1.BooleanInput;
30
33
  }
@@ -1,22 +1,23 @@
1
1
  import { TemplateRef } from '@angular/core';
2
- import { BooleanInput } from '../../../../utils/boolean-input';
3
2
  import { IconName } from '../../../../interfaces/icon';
4
- import { LinkComponent } from '../../../core/link/link.component';
3
+ import { ItLinkComponent } from '../../../core/link/link.component';
5
4
  import * as i0 from "@angular/core";
6
- export declare class BreadcrumbItemComponent extends LinkComponent {
5
+ import * as i1 from "../../../../utils/coercion";
6
+ export declare class ItBreadcrumbItemComponent extends ItLinkComponent {
7
7
  /**
8
8
  * Is active breadcrumb item
9
+ * @default false
9
10
  */
10
- active?: BooleanInput;
11
+ active?: boolean;
11
12
  /**
12
13
  * The name of icon to show
13
14
  */
14
- iconName?: IconName;
15
+ iconName: IconName | undefined;
15
16
  /**
16
17
  * The content of item
17
18
  */
18
19
  htmlContent: TemplateRef<any>;
19
- get isActive(): boolean;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbItemComponent, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<BreadcrumbItemComponent, "it-breadcrumb-item", never, { "active": "active"; "iconName": "iconName"; }, {}, never, ["*"], false, never>;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItBreadcrumbItemComponent, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItBreadcrumbItemComponent, "it-breadcrumb-item", never, { "active": { "alias": "active"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; }, {}, never, ["*"], true, never>;
22
+ static ngAcceptInputType_active: i1.BooleanInput;
22
23
  }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./breadcrumb/breadcrumb.component";
3
+ import * as i2 from "./breadcrumb-item/breadcrumb-item.component";
4
+ export declare class ItBreadcrumbsModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItBreadcrumbsModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ItBreadcrumbsModule, never, [typeof i1.ItBreadcrumbComponent, typeof i2.ItBreadcrumbItemComponent], [typeof i1.ItBreadcrumbComponent, typeof i2.ItBreadcrumbItemComponent]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<ItBreadcrumbsModule>;
8
+ }
@@ -1,30 +1,27 @@
1
- import { ChangeDetectorRef, ElementRef, EventEmitter, Renderer2 } from '@angular/core';
2
- import { BooleanInput } from '../../../utils/boolean-input';
3
- import { AbstractComponent } from '../../../abstracts/abstract.component';
1
+ import { AfterViewInit, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
4
2
  import * as i0 from "@angular/core";
5
- export declare class HeaderComponent extends AbstractComponent {
6
- protected readonly _renderer: Renderer2;
7
- protected readonly _elementRef: ElementRef;
8
- protected readonly _changeDetectorRef: ChangeDetectorRef;
9
- light?: BooleanInput;
10
- showSlim?: BooleanInput;
11
- slimTitle?: string;
3
+ import * as i1 from "../../../utils/coercion";
4
+ export declare class ItHeaderComponent implements AfterViewInit, OnChanges {
5
+ light?: boolean;
6
+ sticky?: boolean;
7
+ showSlim?: boolean;
8
+ smallHeader?: boolean;
9
+ showSearch?: boolean;
10
+ slimTitle: string | undefined;
12
11
  loginStyle: 'none' | 'default' | 'full';
13
- smallHeader?: BooleanInput;
14
- showSearch?: BooleanInput;
15
12
  loginClick: EventEmitter<Event>;
16
13
  searchClick: EventEmitter<Event>;
17
- /**
18
- * TODO: complete header
19
- * @param _renderer
20
- * @param _elementRef
21
- * @param _changeDetectorRef
22
- */
23
- constructor(_renderer: Renderer2, _elementRef: ElementRef, _changeDetectorRef: ChangeDetectorRef);
24
- get isLight(): boolean;
25
- get isShowSlim(): boolean;
26
- get isSmallHeader(): boolean;
27
- get isShowSearch(): boolean;
28
- static ɵfac: i0.ɵɵFactoryDeclaration<HeaderComponent, never>;
29
- static ɵcmp: i0.ɵɵComponentDeclaration<HeaderComponent, "it-header", never, { "light": "light"; "showSlim": "showSlim"; "slimTitle": "slimTitle"; "loginStyle": "loginStyle"; "smallHeader": "smallHeader"; "showSearch": "showSearch"; }, { "loginClick": "loginClick"; "searchClick": "searchClick"; }, never, ["[slimLinkList]", "[slimRightZone]", "[brand]", "[rightZone]"], false, never>;
14
+ private headerWrapper?;
15
+ private stickyHeader?;
16
+ constructor();
17
+ ngAfterViewInit(): void;
18
+ ngOnChanges(changes: SimpleChanges): void;
19
+ updateListeners(): void;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItHeaderComponent, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItHeaderComponent, "it-header", never, { "light": { "alias": "light"; "required": false; }; "sticky": { "alias": "sticky"; "required": false; }; "showSlim": { "alias": "showSlim"; "required": false; }; "smallHeader": { "alias": "smallHeader"; "required": false; }; "showSearch": { "alias": "showSearch"; "required": false; }; "slimTitle": { "alias": "slimTitle"; "required": false; }; "loginStyle": { "alias": "loginStyle"; "required": false; }; }, { "loginClick": "loginClick"; "searchClick": "searchClick"; }, never, ["[slimLinkList]", "[slimRightZone]", "[brand]", "[rightZone]", "[navItems]"], true, never>;
22
+ static ngAcceptInputType_light: i1.BooleanInput;
23
+ static ngAcceptInputType_sticky: i1.BooleanInput;
24
+ static ngAcceptInputType_showSlim: i1.BooleanInput;
25
+ static ngAcceptInputType_smallHeader: i1.BooleanInput;
26
+ static ngAcceptInputType_showSearch: i1.BooleanInput;
30
27
  }
@@ -0,0 +1,16 @@
1
+ import { AfterViewInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "../../../../utils/coercion";
4
+ export declare class ItNavBarComponent implements AfterViewInit {
5
+ megamenu?: boolean;
6
+ expand?: boolean;
7
+ private collapseButton?;
8
+ private collapseView?;
9
+ private navbar?;
10
+ ngAfterViewInit(): void;
11
+ toggleCollapse(): void;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItNavBarComponent, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItNavBarComponent, "it-navbar", never, { "megamenu": { "alias": "megamenu"; "required": false; }; "expand": { "alias": "expand"; "required": false; }; }, {}, never, ["[navItems]"], true, never>;
14
+ static ngAcceptInputType_megamenu: i1.BooleanInput;
15
+ static ngAcceptInputType_expand: i1.BooleanInput;
16
+ }
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class ItNavBarItemComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItNavBarItemComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItNavBarItemComponent, "it-navbar-item", never, {}, {}, never, ["*"], true, never>;
5
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./navbar/navbar.component";
3
+ import * as i2 from "./navbar-item/navbar-item.component";
4
+ export declare class ItNavBarModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItNavBarModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ItNavBarModule, never, [typeof i1.ItNavBarComponent, typeof i2.ItNavBarItemComponent], [typeof i1.ItNavBarComponent, typeof i2.ItNavBarItemComponent]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<ItNavBarModule>;
8
+ }
@@ -0,0 +1,44 @@
1
+ import { ActivatedRoute } from '@angular/router';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "../../../utils/coercion";
4
+ export declare class ItErrorPageComponent {
5
+ private readonly route;
6
+ /**
7
+ * The error code to show
8
+ */
9
+ errorCode: number | 404 | 403 | 500 | undefined;
10
+ /**
11
+ * Show/Hide error code
12
+ * @default true - show
13
+ */
14
+ showErrorCode?: boolean;
15
+ /**
16
+ * Custom error title
17
+ * - If set it will be displayed instead of the default title.
18
+ * - It is possible to use i18n keys
19
+ */
20
+ errorTitle: string | undefined;
21
+ /**
22
+ * Custom error description
23
+ * - If set it will be displayed instead of the default description.
24
+ * - It is possible to use i18n keys
25
+ */
26
+ errorDescription: string | undefined;
27
+ /**
28
+ * Show/Hide back button
29
+ * @default true - show
30
+ */
31
+ showBackButton?: boolean;
32
+ /**
33
+ * Show/Hide home button
34
+ * @default true - show
35
+ */
36
+ showHomeButton?: boolean;
37
+ constructor(route: ActivatedRoute);
38
+ get isDefaultErrorCode(): boolean;
39
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItErrorPageComponent, never>;
40
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItErrorPageComponent, "it-error-page", never, { "errorCode": { "alias": "errorCode"; "required": false; }; "showErrorCode": { "alias": "showErrorCode"; "required": false; }; "errorTitle": { "alias": "errorTitle"; "required": false; }; "errorDescription": { "alias": "errorDescription"; "required": false; }; "showBackButton": { "alias": "showBackButton"; "required": false; }; "showHomeButton": { "alias": "showHomeButton"; "required": false; }; }, {}, never, never, true, never>;
41
+ static ngAcceptInputType_showErrorCode: i1.BooleanInput;
42
+ static ngAcceptInputType_showBackButton: i1.BooleanInput;
43
+ static ngAcceptInputType_showHomeButton: i1.BooleanInput;
44
+ }