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

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 (259) hide show
  1. package/README.md +212 -64
  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/core/accordion/accordion.component.mjs +39 -0
  7. package/esm2022/lib/components/core/alert/alert.component.mjs +71 -0
  8. package/esm2022/lib/components/core/avatar/avatar-dropdown/avatar-dropdown.component.mjs +43 -0
  9. package/esm2022/lib/components/core/avatar/avatar-group/avatar-group.component.mjs +38 -0
  10. package/esm2022/lib/components/core/avatar/avatar.directive.mjs +78 -0
  11. package/esm2022/lib/components/core/avatar/avatar.module.mjs +33 -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 +84 -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 +18 -0
  19. package/esm2022/lib/components/core/chip/chip.component.mjs +136 -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 +55 -0
  24. package/esm2022/lib/components/core/dimmer/dimmer.module.mjs +19 -0
  25. package/esm2022/lib/components/core/dropdown/dropdown/dropdown.component.mjs +144 -0
  26. package/esm2022/lib/components/core/dropdown/dropdown-item/dropdown-item.component.mjs +61 -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 +18 -0
  33. package/esm2022/lib/components/core/modal/modal.component.mjs +194 -0
  34. package/esm2022/lib/components/core/notifications/notifications.component.mjs +111 -0
  35. package/esm2022/lib/components/core/pagination/pagination.component.mjs +130 -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 +25 -0
  39. package/esm2022/lib/components/core/spinner/spinner.component.mjs +30 -0
  40. package/esm2022/lib/components/core/steppers/steppers-container/steppers-container.component.mjs +116 -0
  41. package/esm2022/lib/components/core/steppers/steppers-item/steppers-item.component.mjs +20 -0
  42. package/esm2022/lib/components/core/steppers/steppers.module.mjs +18 -0
  43. package/esm2022/lib/components/core/tab/tab-container/tab-container.component.mjs +63 -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 +18 -0
  46. package/esm2022/lib/components/core/table/sort/sort-header/sort-header.component.mjs +134 -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/table/table.module.mjs +19 -0
  50. package/esm2022/lib/components/core/tooltip/tooltip.directive.mjs +143 -0
  51. package/esm2022/lib/components/form/autocomplete/autocomplete.component.mjs +106 -0
  52. package/esm2022/lib/components/form/checkbox/checkbox.component.mjs +48 -0
  53. package/esm2022/lib/components/form/form.module.mjs +59 -0
  54. package/esm2022/lib/components/form/input/input.component.mjs +187 -0
  55. package/esm2022/lib/components/form/password-input/password-input.component.mjs +149 -0
  56. package/esm2022/lib/components/form/radio-button/radio-button.component.mjs +60 -0
  57. package/esm2022/lib/components/form/range/range.component.mjs +64 -0
  58. package/esm2022/lib/components/form/rating/rating.component.mjs +50 -0
  59. package/esm2022/lib/components/form/select/select.component.mjs +70 -0
  60. package/esm2022/lib/components/form/textarea/textarea.component.mjs +55 -0
  61. package/esm2022/lib/components/form/upload-drag-drop/upload-drag-drop.component.mjs +142 -0
  62. package/esm2022/lib/components/form/upload-file-list/upload-file-list.component.mjs +107 -0
  63. package/esm2022/lib/components/navigation/back-button/back-button.component.mjs +67 -0
  64. package/esm2022/lib/components/navigation/back-to-top/back-to-top.component.mjs +58 -0
  65. package/esm2022/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.mjs +51 -0
  66. package/esm2022/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.mjs +21 -0
  67. package/esm2022/lib/components/navigation/breadcrumbs/breadcrumbs.module.mjs +18 -0
  68. package/esm2022/lib/components/navigation/header/header.component.mjs +87 -0
  69. package/esm2022/lib/components/navigation/megamenu/megamenu.component.mjs +27 -0
  70. package/esm2022/lib/components/navigation/navbar/navbar/navbar.component.mjs +40 -0
  71. package/esm2022/lib/components/navigation/navbar/navbar-item/navbar-item.component.mjs +11 -0
  72. package/esm2022/lib/components/navigation/navbar/navbar.module.mjs +18 -0
  73. package/esm2022/lib/components/utils/error-page/error-page.component.mjs +74 -0
  74. package/esm2022/lib/components/utils/icon/icon.component.mjs +58 -0
  75. package/esm2022/lib/components/utils/language-switcher/language-switcher.component.mjs +50 -0
  76. package/esm2022/lib/design-angular-kit.module.mjs +213 -0
  77. package/esm2022/lib/enums/colors.enums.mjs +12 -0
  78. package/esm2022/lib/enums/sizes.enum.mjs +9 -0
  79. package/esm2022/lib/interfaces/core.mjs +16 -0
  80. package/esm2022/lib/interfaces/design-angular-kit-config.mjs +7 -0
  81. package/esm2022/lib/interfaces/form.mjs +2 -0
  82. package/esm2022/lib/interfaces/icon.mjs +165 -0
  83. package/esm2022/lib/interfaces/sortable-table.mjs +6 -0
  84. package/esm2022/lib/pipes/date-ago.pipe.mjs +56 -0
  85. package/esm2022/lib/pipes/duration.pipe.mjs +110 -0
  86. package/esm2022/lib/pipes/mark-matching-text.pipe.mjs +48 -0
  87. package/esm2022/lib/provide-design-angular-kit.mjs +61 -0
  88. package/esm2022/lib/services/notification/notification.service.mjs +120 -0
  89. package/esm2022/lib/utils/coercion.mjs +18 -0
  90. package/esm2022/lib/utils/date-utils.mjs +160 -0
  91. package/esm2022/lib/utils/file-utils.mjs +73 -0
  92. package/esm2022/lib/utils/regex.mjs +31 -0
  93. package/esm2022/lib/validators/it-validators.mjs +153 -0
  94. package/esm2022/public_api.mjs +99 -0
  95. package/fesm2022/design-angular-kit.mjs +5556 -0
  96. package/fesm2022/design-angular-kit.mjs.map +1 -0
  97. package/lib/abstracts/{abstract-form-component.d.ts → abstract-form.component.d.ts} +12 -14
  98. package/lib/abstracts/abstract.component.d.ts +18 -8
  99. package/lib/components/core/accordion/accordion.component.d.ts +11 -5
  100. package/lib/components/core/alert/alert.component.d.ts +15 -10
  101. package/lib/components/core/avatar/avatar-dropdown/avatar-dropdown.component.d.ts +29 -0
  102. package/lib/components/core/avatar/avatar-group/avatar-group.component.d.ts +13 -0
  103. package/lib/components/core/avatar/avatar.directive.d.ts +33 -0
  104. package/lib/components/core/avatar/avatar.module.d.ts +9 -0
  105. package/lib/components/core/badge/badge.directive.d.ts +14 -7
  106. package/lib/components/core/button/button.directive.d.ts +25 -15
  107. package/lib/components/core/callout/callout.component.d.ts +18 -20
  108. package/lib/components/core/card/card.component.d.ts +46 -18
  109. package/lib/components/core/carousel/carousel/carousel.component.d.ts +34 -15
  110. package/lib/components/core/carousel/carousel-item/carousel-item.component.d.ts +8 -3
  111. package/lib/components/core/carousel/carousel.module.d.ts +8 -0
  112. package/lib/components/core/chip/chip.component.d.ts +29 -15
  113. package/lib/components/core/collapse/collapse.component.d.ts +22 -15
  114. package/lib/components/core/dimmer/dimmer-buttons/dimmer-buttons.component.d.ts +3 -3
  115. package/lib/components/core/dimmer/dimmer-icon/dimmer-icon.component.d.ts +3 -3
  116. package/lib/components/core/dimmer/dimmer.component.d.ts +6 -6
  117. package/lib/components/core/dimmer/dimmer.module.d.ts +9 -0
  118. package/lib/components/core/dropdown/dropdown/dropdown.component.d.ts +30 -17
  119. package/lib/components/core/dropdown/dropdown-item/dropdown-item.component.d.ts +15 -12
  120. package/lib/components/core/dropdown/dropdown.module.d.ts +8 -0
  121. package/lib/components/core/forward/forward.directive.d.ts +3 -3
  122. package/lib/components/core/link/link.component.d.ts +14 -10
  123. package/lib/components/core/list/list/list.component.d.ts +20 -6
  124. package/lib/components/core/list/list-item/list-item.component.d.ts +23 -9
  125. package/lib/components/core/list/list.module.d.ts +8 -0
  126. package/lib/components/core/modal/modal.component.d.ts +89 -13
  127. package/lib/components/core/notifications/notifications.component.d.ts +9 -8
  128. package/lib/components/core/pagination/pagination.component.d.ts +71 -10
  129. package/lib/components/core/popover/popover.directive.d.ts +15 -14
  130. package/lib/components/core/progress-bar/progress-bar.component.d.ts +11 -8
  131. package/lib/components/core/progress-button/progress-button.component.d.ts +5 -6
  132. package/lib/components/core/spinner/spinner.component.d.ts +13 -10
  133. package/lib/components/core/steppers/steppers-container/steppers-container.component.d.ts +55 -27
  134. package/lib/components/core/steppers/steppers-item/steppers-item.component.d.ts +5 -4
  135. package/lib/components/core/steppers/steppers.module.d.ts +8 -0
  136. package/lib/components/core/tab/tab-container/tab-container.component.d.ts +15 -12
  137. package/lib/components/core/tab/tab-item/tab-item.component.d.ts +14 -10
  138. package/lib/components/core/tab/tab.module.d.ts +8 -0
  139. package/lib/components/core/table/sort/sort-header/sort-header.component.d.ts +72 -0
  140. package/lib/components/core/table/sort/sort.directive.d.ts +53 -0
  141. package/lib/components/core/table/table.component.d.ts +26 -20
  142. package/lib/components/core/table/table.module.d.ts +9 -0
  143. package/lib/components/core/tooltip/tooltip.directive.d.ts +12 -11
  144. package/lib/components/form/autocomplete/autocomplete.component.d.ts +55 -0
  145. package/lib/components/form/checkbox/checkbox.component.d.ts +23 -12
  146. package/lib/components/form/form.module.d.ts +17 -0
  147. package/lib/components/form/input/input.component.d.ts +42 -43
  148. package/lib/components/form/password-input/password-input.component.d.ts +35 -10
  149. package/lib/components/form/radio-button/radio-button.component.d.ts +20 -11
  150. package/lib/components/form/range/range.component.d.ts +42 -0
  151. package/lib/components/form/rating/rating.component.d.ts +24 -0
  152. package/lib/components/form/select/select.component.d.ts +12 -6
  153. package/lib/components/form/textarea/textarea.component.d.ts +15 -5
  154. package/lib/components/form/upload-drag-drop/upload-drag-drop.component.d.ts +18 -12
  155. package/lib/components/form/upload-file-list/upload-file-list.component.d.ts +14 -11
  156. package/lib/components/navigation/back-button/back-button.component.d.ts +8 -8
  157. package/lib/components/navigation/back-to-top/back-to-top.component.d.ts +15 -16
  158. package/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.d.ts +12 -14
  159. package/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.d.ts +9 -8
  160. package/lib/components/navigation/breadcrumbs/breadcrumbs.module.d.ts +8 -0
  161. package/lib/components/navigation/header/header.component.d.ts +28 -25
  162. package/lib/components/navigation/megamenu/megamenu.component.d.ts +22 -0
  163. package/lib/components/navigation/navbar/navbar/navbar.component.d.ts +16 -0
  164. package/lib/components/navigation/navbar/navbar-item/navbar-item.component.d.ts +5 -0
  165. package/lib/components/navigation/navbar/navbar.module.d.ts +8 -0
  166. package/lib/components/utils/error-page/error-page.component.d.ts +44 -0
  167. package/lib/components/utils/icon/icon.component.d.ts +25 -17
  168. package/lib/components/utils/language-switcher/language-switcher.component.d.ts +9 -5
  169. package/lib/design-angular-kit.module.d.ts +44 -7
  170. package/lib/enums/colors.enums.d.ts +10 -0
  171. package/lib/enums/sizes.enum.d.ts +7 -0
  172. package/lib/interfaces/core.d.ts +16 -15
  173. package/lib/interfaces/design-angular-kit-config.d.ts +30 -0
  174. package/lib/interfaces/form.d.ts +9 -9
  175. package/lib/interfaces/icon.d.ts +4 -3
  176. package/lib/interfaces/sortable-table.d.ts +33 -0
  177. package/lib/pipes/date-ago.pipe.d.ts +17 -0
  178. package/lib/pipes/duration.pipe.d.ts +35 -0
  179. package/lib/pipes/mark-matching-text.pipe.d.ts +15 -7
  180. package/lib/provide-design-angular-kit.d.ts +7 -0
  181. package/lib/services/{notifications/notifications.service.d.ts → notification/notification.service.d.ts} +3 -3
  182. package/lib/utils/coercion.d.ts +14 -0
  183. package/lib/utils/date-utils.d.ts +78 -0
  184. package/lib/utils/file-utils.d.ts +1 -1
  185. package/lib/utils/regex.d.ts +5 -0
  186. package/lib/validators/it-validators.d.ts +9 -2
  187. package/package.json +17 -22
  188. package/public_api.d.ts +31 -4
  189. package/esm2020/lib/abstracts/abstract-form-component.mjs +0 -174
  190. package/esm2020/lib/abstracts/abstract.component.mjs +0 -27
  191. package/esm2020/lib/components/core/accordion/accordion.component.mjs +0 -31
  192. package/esm2020/lib/components/core/alert/alert.component.mjs +0 -69
  193. package/esm2020/lib/components/core/badge/badge.directive.mjs +0 -34
  194. package/esm2020/lib/components/core/button/button.directive.mjs +0 -80
  195. package/esm2020/lib/components/core/callout/callout.component.mjs +0 -84
  196. package/esm2020/lib/components/core/card/card.component.mjs +0 -58
  197. package/esm2020/lib/components/core/carousel/carousel/carousel.component.mjs +0 -66
  198. package/esm2020/lib/components/core/carousel/carousel-item/carousel-item.component.mjs +0 -14
  199. package/esm2020/lib/components/core/chip/chip.component.mjs +0 -89
  200. package/esm2020/lib/components/core/collapse/collapse.component.mjs +0 -101
  201. package/esm2020/lib/components/core/dimmer/dimmer-buttons/dimmer-buttons.component.mjs +0 -24
  202. package/esm2020/lib/components/core/dimmer/dimmer-icon/dimmer-icon.component.mjs +0 -11
  203. package/esm2020/lib/components/core/dimmer/dimmer.component.mjs +0 -59
  204. package/esm2020/lib/components/core/dropdown/dropdown/dropdown.component.mjs +0 -130
  205. package/esm2020/lib/components/core/dropdown/dropdown-item/dropdown-item.component.mjs +0 -68
  206. package/esm2020/lib/components/core/forward/forward.directive.mjs +0 -51
  207. package/esm2020/lib/components/core/link/link.component.mjs +0 -40
  208. package/esm2020/lib/components/core/list/list/list.component.mjs +0 -13
  209. package/esm2020/lib/components/core/list/list-item/list-item.component.mjs +0 -36
  210. package/esm2020/lib/components/core/modal/modal.component.mjs +0 -98
  211. package/esm2020/lib/components/core/notifications/notifications.component.mjs +0 -110
  212. package/esm2020/lib/components/core/pagination/pagination.component.mjs +0 -51
  213. package/esm2020/lib/components/core/popover/popover.directive.mjs +0 -179
  214. package/esm2020/lib/components/core/progress-bar/progress-bar.component.mjs +0 -34
  215. package/esm2020/lib/components/core/progress-button/progress-button.component.mjs +0 -27
  216. package/esm2020/lib/components/core/spinner/spinner.component.mjs +0 -35
  217. package/esm2020/lib/components/core/steppers/steppers-container/steppers-container.component.mjs +0 -119
  218. package/esm2020/lib/components/core/steppers/steppers-item/steppers-item.component.mjs +0 -18
  219. package/esm2020/lib/components/core/tab/tab-container/tab-container.component.mjs +0 -59
  220. package/esm2020/lib/components/core/tab/tab-item/tab-item.component.mjs +0 -36
  221. package/esm2020/lib/components/core/table/table.component.mjs +0 -57
  222. package/esm2020/lib/components/core/tooltip/tooltip.directive.mjs +0 -143
  223. package/esm2020/lib/components/form/checkbox/checkbox.component.mjs +0 -40
  224. package/esm2020/lib/components/form/input/input.component.mjs +0 -222
  225. package/esm2020/lib/components/form/password-input/password-input.component.mjs +0 -112
  226. package/esm2020/lib/components/form/radio-button/radio-button.component.mjs +0 -53
  227. package/esm2020/lib/components/form/select/select.component.mjs +0 -62
  228. package/esm2020/lib/components/form/textarea/textarea.component.mjs +0 -46
  229. package/esm2020/lib/components/form/upload-drag-drop/upload-drag-drop.component.mjs +0 -137
  230. package/esm2020/lib/components/form/upload-file-list/upload-file-list.component.mjs +0 -104
  231. package/esm2020/lib/components/navigation/back-button/back-button.component.mjs +0 -69
  232. package/esm2020/lib/components/navigation/back-to-top/back-to-top.component.mjs +0 -74
  233. package/esm2020/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.mjs +0 -45
  234. package/esm2020/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.mjs +0 -23
  235. package/esm2020/lib/components/navigation/header/header.component.mjs +0 -63
  236. package/esm2020/lib/components/utils/icon/icon.component.mjs +0 -54
  237. package/esm2020/lib/components/utils/language-switcher/language-switcher.component.mjs +0 -39
  238. package/esm2020/lib/components/utils/not-found-page/not-found-page.component.mjs +0 -13
  239. package/esm2020/lib/design-angular-kit.module.mjs +0 -56
  240. package/esm2020/lib/interfaces/core.mjs +0 -16
  241. package/esm2020/lib/interfaces/form.mjs +0 -2
  242. package/esm2020/lib/interfaces/icon.mjs +0 -2
  243. package/esm2020/lib/modules/components.module.mjs +0 -257
  244. package/esm2020/lib/pipes/mark-matching-text.pipe.mjs +0 -36
  245. package/esm2020/lib/services/notifications/notifications.service.mjs +0 -120
  246. package/esm2020/lib/utils/boolean-input.mjs +0 -15
  247. package/esm2020/lib/utils/file-utils.mjs +0 -73
  248. package/esm2020/lib/utils/regex.mjs +0 -26
  249. package/esm2020/lib/validators/it-validators.mjs +0 -134
  250. package/esm2020/public_api.mjs +0 -70
  251. package/fesm2015/design-angular-kit.mjs +0 -3850
  252. package/fesm2015/design-angular-kit.mjs.map +0 -1
  253. package/fesm2020/design-angular-kit.mjs +0 -3797
  254. package/fesm2020/design-angular-kit.mjs.map +0 -1
  255. package/lib/components/utils/not-found-page/not-found-page.component.d.ts +0 -5
  256. package/lib/modules/components.module.d.ts +0 -61
  257. package/lib/utils/boolean-input.d.ts +0 -11
  258. /package/{esm2020 → esm2022}/design-angular-kit.mjs +0 -0
  259. /package/{esm2020 → esm2022}/lib/interfaces/utils.mjs +0 -0
@@ -1,10 +1,10 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { AbstractFormComponent } from '../../../abstracts/abstract-form-component';
3
- import { AutocompleteItem, InputControlType } from '../../../interfaces/form';
4
- import { BooleanInput } from '../../../utils/boolean-input';
1
+ import { OnInit } from '@angular/core';
2
+ import { ItAbstractFormComponent } from '../../../abstracts/abstract-form.component';
3
+ import { InputControlType } from '../../../interfaces/form';
5
4
  import { Observable } from 'rxjs';
6
5
  import * as i0 from "@angular/core";
7
- export declare class InputComponent extends AbstractFormComponent<string | number> {
6
+ import * as i1 from "../../../utils/coercion";
7
+ export declare class ItInputComponent extends ItAbstractFormComponent<string | number | null | undefined> implements OnInit {
8
8
  /**
9
9
  * The input type
10
10
  * @default text
@@ -17,80 +17,79 @@ export declare class InputComponent extends AbstractFormComponent<string | numbe
17
17
  /**
18
18
  * The input description
19
19
  */
20
- description?: string;
20
+ description: string | undefined;
21
21
  /**
22
22
  * To prevent modification of the contained value.
23
23
  * - <b>plaintext</b>: Readonly field in the form stylized as plain text
24
+ * @default undefined
25
+ */
26
+ readonly: boolean | 'plaintext' | undefined;
27
+ /**
28
+ * The max date value [Used only in type = 'date']
29
+ * @default '9999-12-31'
30
+ * @example 'yyyy-mm-dd'
24
31
  */
25
- readonly?: BooleanInput | 'plaintext';
32
+ maxDate?: string;
33
+ /**
34
+ * The min date value [Used only in type = 'date']
35
+ * @example 'yyyy-mm-dd'
36
+ */
37
+ minDate: string | undefined;
26
38
  /**
27
39
  * The max value [Used only in type = 'number']
28
40
  */
29
- max?: number;
41
+ max: number | undefined;
30
42
  /**
31
43
  * The min value [Used only in type = 'number']
32
44
  */
33
- min?: number;
45
+ min: number | undefined;
34
46
  /**
35
47
  * The step value [Used only in type = 'number']
36
48
  */
37
- step?: number | 'any';
49
+ step: number | 'any' | undefined;
38
50
  /**
39
51
  * If is a currency number [Used only in type = 'number']
52
+ * @default false
40
53
  */
41
- currency?: BooleanInput;
54
+ currency?: boolean;
42
55
  /**
43
56
  * If is a percentage number [Used only in type = 'number']
57
+ * @default false
44
58
  */
45
- percentage?: BooleanInput;
59
+ percentage?: boolean;
46
60
  /**
47
- * To make the numeric field automatically resize according to the value contained in it. [Used only in type = 'number']
61
+ * The currency or percentage symbol [Used only if percentage or currency]
62
+ * @example '$'
48
63
  */
49
- adaptive?: BooleanInput;
64
+ symbol: string | undefined;
50
65
  /**
51
- * Indicates the list of searchable elements on which to base the input autocomplete system [Optional. Used only in type = 'search']
52
- * If you need to retrieve items via API, can pass a function of Observable
53
- * @default undefined
54
- */
55
- autocompleteData?: Array<AutocompleteItem> | ((search?: string) => Observable<Array<AutocompleteItem>>);
56
- /**
57
- * Time span [ms] has passed without another source emission, to delay data filtering.
58
- * Useful when the user is typing multiple letters
59
- * @default 300 [ms]
66
+ * To make the numeric field automatically resize according to the value contained in it. [Used only in type = 'number']
67
+ * @default false
60
68
  */
61
- autocompleteDebounceTime: number;
69
+ adaptive?: boolean;
62
70
  /**
63
- * Fired when the Autocomplete Item has been selected
71
+ * Input autocomplete attribute (Browser autocomplete)
72
+ * @default undefined
64
73
  */
65
- onAutocompleteSelected: EventEmitter<AutocompleteItem>;
66
- showAutocompletion: boolean;
74
+ autocomplete: string | undefined;
67
75
  get isActiveLabel(): boolean;
68
76
  /**
69
77
  * Check is readonly field
70
78
  */
71
- get isReadonly(): boolean;
79
+ protected get isReadonly(): boolean;
72
80
  /**
73
81
  * Return the invalid message string from TranslateService
74
82
  */
75
83
  get invalidMessage(): Observable<string>;
76
- /** Observable da cui vengono emessi i risultati dell'auto completamento */
77
- autocompleteResults$: Observable<{
78
- searchedValue: string;
79
- relatedEntries: Array<AutocompleteItem>;
80
- }>;
81
84
  ngOnInit(): void;
82
85
  /**
83
86
  * Increment or decrease the input number value of step
84
87
  * @param decrease true to decrease value
85
88
  */
86
- incrementNumber(decrease?: boolean): void;
87
- /**
88
- * Create the autocomplete list
89
- */
90
- private getAutocompleteResults$;
91
- onEntryClick(entry: AutocompleteItem, event: Event): void;
92
- autocompleteItemTrackByValueFn(index: number, item: AutocompleteItem): string;
93
- onKeyDown(): void;
94
- static ɵfac: i0.ɵɵFactoryDeclaration<InputComponent, never>;
95
- static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "it-input[id]", never, { "type": "type"; "placeholder": "placeholder"; "description": "description"; "readonly": "readonly"; "max": "max"; "min": "min"; "step": "step"; "currency": "currency"; "percentage": "percentage"; "adaptive": "adaptive"; "autocompleteData": "autocompleteData"; "autocompleteDebounceTime": "autocompleteDebounceTime"; }, { "onAutocompleteSelected": "onAutocompleteSelected"; }, never, ["[prepend]", "[prependText]", "[append]", "[appendText]", "[error]"], false, never>;
89
+ protected incrementNumber(decrease?: boolean): void;
90
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItInputComponent, never>;
91
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItInputComponent, "it-input", never, { "type": { "alias": "type"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "description": { "alias": "description"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "max": { "alias": "max"; "required": false; }; "min": { "alias": "min"; "required": false; }; "step": { "alias": "step"; "required": false; }; "currency": { "alias": "currency"; "required": false; }; "percentage": { "alias": "percentage"; "required": false; }; "symbol": { "alias": "symbol"; "required": false; }; "adaptive": { "alias": "adaptive"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; }, {}, never, ["[prependText]", "[append]", "[appendText]", "[error]"], true, never>;
92
+ static ngAcceptInputType_currency: i1.BooleanInput;
93
+ static ngAcceptInputType_percentage: i1.BooleanInput;
94
+ static ngAcceptInputType_adaptive: i1.BooleanInput;
96
95
  }
@@ -1,9 +1,14 @@
1
- import { AbstractFormComponent } from '../../../abstracts/abstract-form-component';
1
+ import { AfterViewInit, OnInit } from '@angular/core';
2
+ import { ItAbstractFormComponent } from '../../../abstracts/abstract-form.component';
2
3
  import { Observable } from 'rxjs';
3
- import { BooleanInput } from '../../../utils/boolean-input';
4
- import { InputPassword } from 'bootstrap-italia';
5
4
  import * as i0 from "@angular/core";
6
- export declare class PasswordInputComponent extends AbstractFormComponent<string> {
5
+ import * as i1 from "../../../utils/coercion";
6
+ export declare class ItPasswordInputComponent extends ItAbstractFormComponent<string | null | undefined> implements OnInit, AfterViewInit {
7
+ /**
8
+ * The field is required
9
+ * @default true
10
+ */
11
+ required: boolean;
7
12
  /**
8
13
  * The password minimum length
9
14
  * @default 10
@@ -35,21 +40,41 @@ export declare class PasswordInputComponent extends AbstractFormComponent<string
35
40
  placeholder: string;
36
41
  /**
37
42
  * The input description
43
+ * - <b>true</b>: show the StrengthMeter description message
44
+ * - <b>string</b>: show custom description
45
+ * @default true for StrengthMeter mode else is undefined
38
46
  */
39
- description?: string;
47
+ description: string | true | undefined;
40
48
  /**
41
49
  * Enable to show the strength meter
50
+ * @default false
51
+ */
52
+ showStrengthMeter?: boolean;
53
+ /**
54
+ * Is the confirmation password field
55
+ * @default false
42
56
  */
43
- showStrengthMeter?: BooleanInput;
44
- inputPasswordBs?: InputPassword;
57
+ confirmPasswordField?: boolean;
58
+ /**
59
+ * Input autocomplete attribute (Browser autocomplete)
60
+ * @default undefined
61
+ */
62
+ autocomplete: string | undefined;
63
+ private inputPasswordBs?;
45
64
  private inputElement?;
46
65
  ngOnInit(): void;
47
66
  ngAfterViewInit(): void;
48
- get isStrengthMeter(): boolean;
67
+ protected get isStrengthMeter(): boolean;
49
68
  /**
50
69
  * Return the invalid message string from TranslateService
51
70
  */
52
71
  get invalidMessage(): Observable<string>;
53
- static ɵfac: i0.ɵɵFactoryDeclaration<PasswordInputComponent, never>;
54
- static ɵcmp: i0.ɵɵComponentDeclaration<PasswordInputComponent, "it-password-input[id]", never, { "minLength": "minLength"; "useNumber": "useNumber"; "useCapitalCase": "useCapitalCase"; "useSmallCase": "useSmallCase"; "useSpecialCharacters": "useSpecialCharacters"; "placeholder": "placeholder"; "description": "description"; "showStrengthMeter": "showStrengthMeter"; }, {}, never, ["[error]"], false, never>;
72
+ /**
73
+ * Retrieve the default StrengthMeter description message from TranslateService
74
+ */
75
+ protected get strengthMeterDescription(): Observable<string>;
76
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItPasswordInputComponent, never>;
77
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItPasswordInputComponent, "it-password-input", never, { "required": { "alias": "required"; "required": false; }; "minLength": { "alias": "minLength"; "required": false; }; "useNumber": { "alias": "useNumber"; "required": false; }; "useCapitalCase": { "alias": "useCapitalCase"; "required": false; }; "useSmallCase": { "alias": "useSmallCase"; "required": false; }; "useSpecialCharacters": { "alias": "useSpecialCharacters"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "description": { "alias": "description"; "required": false; }; "showStrengthMeter": { "alias": "showStrengthMeter"; "required": false; }; "confirmPasswordField": { "alias": "confirmPasswordField"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; }, {}, never, ["[error]"], true, never>;
78
+ static ngAcceptInputType_showStrengthMeter: i1.BooleanInput;
79
+ static ngAcceptInputType_confirmPasswordField: i1.BooleanInput;
55
80
  }
@@ -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", never, { "value": { "alias": "value"; "required": true; }; "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
@@ -14,14 +14,20 @@ export declare class UploadDragDropComponent extends AbstractComponent {
14
14
  * Fired when file start to upload
15
15
  */
16
16
  fileStartUpload: EventEmitter<File>;
17
- isDragover: boolean;
18
- isLoading: boolean;
19
- isSuccess: boolean;
20
- donut?: ProgressDonut;
17
+ protected isDragover: boolean;
18
+ protected isLoading: boolean;
19
+ protected isSuccess: boolean;
20
+ protected donut?: ProgressDonut;
21
21
  private donutElement?;
22
- filename?: string;
23
- extension?: string;
24
- fileSize?: string;
22
+ protected filename?: string;
23
+ protected extension?: string;
24
+ protected fileSize?: string;
25
+ /**
26
+ * The bootstrap-italia asset folder path
27
+ * @default ./bootstrap-italia
28
+ */
29
+ protected assetBasePath: string;
30
+ constructor();
25
31
  ngAfterViewInit(): void;
26
32
  onDragOver(evt: DragEvent): void;
27
33
  onDragLeave(evt: DragEvent): void;
@@ -49,6 +55,6 @@ export declare class UploadDragDropComponent extends AbstractComponent {
49
55
  * Reset file uploader
50
56
  */
51
57
  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>;
58
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItUploadDragDropComponent, never>;
59
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItUploadDragDropComponent, "it-upload-drag-drop", ["itUploadDragDrop"], { "accept": { "alias": "accept"; "required": false; }; }, { "fileStartUpload": "fileStartUpload"; }, never, never, true, never>;
54
60
  }
@@ -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", never, { "fileList": { "alias": "fileList"; "required": true; }; "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
  }