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
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./steppers-container/steppers-container.component";
3
+ import * as i2 from "./steppers-item/steppers-item.component";
4
+ export declare class ItSteppersModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItSteppersModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ItSteppersModule, never, [typeof i1.ItSteppersContainerComponent, typeof i2.ItSteppersItemComponent], [typeof i1.ItSteppersContainerComponent, typeof i2.ItSteppersItemComponent]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<ItSteppersModule>;
8
+ }
@@ -1,30 +1,33 @@
1
- import { OnDestroy, QueryList } from '@angular/core';
2
- import { BooleanInput } from '../../../../utils/boolean-input';
3
- import { TabItemComponent } from '../tab-item/tab-item.component';
4
- import { AbstractComponent } from '../../../../abstracts/abstract.component';
1
+ import { AfterViewInit, OnDestroy, QueryList } from '@angular/core';
2
+ import { ItTabItemComponent } from '../tab-item/tab-item.component';
3
+ import { ItAbstractComponent } from '../../../../abstracts/abstract.component';
5
4
  import * as i0 from "@angular/core";
6
- export declare class TabContainerComponent extends AbstractComponent implements OnDestroy {
5
+ import * as i1 from "../../../../utils/coercion";
6
+ export declare class ItTabContainerComponent extends ItAbstractComponent implements OnDestroy, AfterViewInit {
7
7
  /**
8
8
  * Tabs automatically occupy the entire available width
9
+ * @default false
9
10
  */
10
- auto?: BooleanInput;
11
+ auto?: boolean;
11
12
  /**
12
13
  * To obtain the correct margin between text and icon in the horizontally developed tab
13
14
  */
14
- iconText?: BooleanInput;
15
+ iconText?: boolean;
15
16
  /**
16
17
  * Dark style
17
18
  */
18
- dark?: BooleanInput;
19
+ dark?: boolean;
19
20
  /**
20
21
  * The tab items
21
22
  */
22
- tabs?: QueryList<TabItemComponent>;
23
+ tabs?: QueryList<ItTabItemComponent>;
23
24
  private tabNavLinks?;
24
25
  private tabSubscriptions?;
25
- isTrueBooleanInput(booleanInput?: BooleanInput): boolean;
26
26
  ngAfterViewInit(): void;
27
27
  ngOnDestroy(): void;
28
- static ɵfac: i0.ɵɵFactoryDeclaration<TabContainerComponent, never>;
29
- static ɵcmp: i0.ɵɵComponentDeclaration<TabContainerComponent, "it-tab-container", never, { "auto": "auto"; "iconText": "iconText"; "dark": "dark"; }, {}, ["tabs"], never, false, never>;
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItTabContainerComponent, never>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItTabContainerComponent, "it-tab-container", never, { "auto": { "alias": "auto"; "required": false; }; "iconText": { "alias": "iconText"; "required": false; }; "dark": { "alias": "dark"; "required": false; }; }, {}, ["tabs"], never, true, never>;
30
+ static ngAcceptInputType_auto: i1.BooleanInput;
31
+ static ngAcceptInputType_iconText: i1.BooleanInput;
32
+ static ngAcceptInputType_dark: i1.BooleanInput;
30
33
  }
@@ -1,25 +1,27 @@
1
- import { TemplateRef } from '@angular/core';
2
- import { AbstractComponent } from '../../../../abstracts/abstract.component';
3
- import { BooleanInput } from '../../../../utils/boolean-input';
1
+ import { AfterViewInit, TemplateRef } from '@angular/core';
2
+ import { ItAbstractComponent } from '../../../../abstracts/abstract.component';
4
3
  import { IconName } from '../../../../interfaces/icon';
5
4
  import * as i0 from "@angular/core";
6
- export declare class TabItemComponent extends AbstractComponent {
5
+ import * as i1 from "../../../../utils/coercion";
6
+ export declare class ItTabItemComponent extends ItAbstractComponent implements AfterViewInit {
7
7
  /**
8
8
  * The tab label
9
9
  */
10
- label?: string;
10
+ label: string | undefined;
11
11
  /**
12
12
  * The icon name
13
13
  */
14
- icon?: IconName;
14
+ icon: IconName | undefined;
15
15
  /**
16
16
  * Default active tab
17
+ * @default false
17
18
  */
18
- active?: BooleanInput;
19
+ active?: boolean;
19
20
  /**
20
21
  * Default disabled tab
22
+ * @default false
21
23
  */
22
- disabled?: BooleanInput;
24
+ disabled?: boolean;
23
25
  /**
24
26
  * Custom class
25
27
  */
@@ -29,6 +31,8 @@ export declare class TabItemComponent extends AbstractComponent {
29
31
  */
30
32
  htmlContent: TemplateRef<any>;
31
33
  ngAfterViewInit(): void;
32
- static ɵfac: i0.ɵɵFactoryDeclaration<TabItemComponent, never>;
33
- static ɵcmp: i0.ɵɵComponentDeclaration<TabItemComponent, "it-tab-item[id]", never, { "label": "label"; "icon": "icon"; "active": "active"; "disabled": "disabled"; "class": "class"; }, {}, never, ["*"], false, never>;
34
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItTabItemComponent, never>;
35
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItTabItemComponent, "it-tab-item", never, { "label": { "alias": "label"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "active": { "alias": "active"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "class": { "alias": "class"; "required": false; }; }, {}, never, ["*"], true, never>;
36
+ static ngAcceptInputType_active: i1.BooleanInput;
37
+ static ngAcceptInputType_disabled: i1.BooleanInput;
34
38
  }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./tab-container/tab-container.component";
3
+ import * as i2 from "./tab-item/tab-item.component";
4
+ export declare class ItTabModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItTabModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ItTabModule, never, [typeof i1.ItTabContainerComponent, typeof i2.ItTabItemComponent], [typeof i1.ItTabContainerComponent, typeof i2.ItTabItemComponent]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<ItTabModule>;
8
+ }
@@ -0,0 +1,72 @@
1
+ import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
2
+ import { ItSortDirective } from '../sort.directive';
3
+ import { IconName } from '../../../../../interfaces/icon';
4
+ import { ItSortable, ItSortDefaultOptions, SortDirection, SortHeaderArrowPosition } from '../../../../../interfaces/sortable-table';
5
+ import * as i0 from "@angular/core";
6
+ /**
7
+ * Applies sorting behavior (click to change sort) and styles to an element, including an
8
+ * arrow to display the current sort direction.
9
+ *
10
+ * Must be provided with an id and contained within a parent ItSort directive.
11
+ *
12
+ * If used on header cells in a CdkTable, it will automatically default its id from its containing
13
+ * column definition.
14
+ */
15
+ export declare class ItSortHeaderComponent implements ItSortable, OnDestroy, OnInit {
16
+ private readonly _changeDetectorRef;
17
+ readonly _sort: ItSortDirective;
18
+ /**
19
+ * ID of this sort header. If used within the context of a CdkColumnDef, this will default to
20
+ * the column's name.
21
+ */
22
+ id: string;
23
+ /** Sets the position of the arrow that displays when sorted. */
24
+ arrowPosition: SortHeaderArrowPosition;
25
+ /** Overrides the sort start value of the containing MatSort for this SortHeaderComponent. */
26
+ start?: SortDirection;
27
+ /** whether the sort header is disabled. */
28
+ sortDisabled: boolean;
29
+ /** Overrides the disable clear value of the containing SortDirective for this MatSortable. */
30
+ disableSortClear?: boolean;
31
+ readonly sortHeaderClass = "it-sort-header";
32
+ private _rerenderSubscription?;
33
+ /** The direction the arrow should be facing according to the current state. */
34
+ private _arrowDirection?;
35
+ constructor(_changeDetectorRef: ChangeDetectorRef, _sort: ItSortDirective, defaultOptions?: ItSortDefaultOptions);
36
+ ngOnInit(): void;
37
+ ngOnDestroy(): void;
38
+ _handleClick(): void;
39
+ /**
40
+ * Whether this MatSortHeader is currently sorted in either ascending or descending order.
41
+ */
42
+ protected get isSorted(): boolean;
43
+ /**
44
+ * Returns the icon class by the arrow direction
45
+ */
46
+ protected get arrowIconClass(): IconName;
47
+ /**
48
+ * Updates the direction the arrow should be pointing. If it is not sorted, the arrow should be
49
+ * facing the start direction. Otherwise if it is sorted, the arrow should point in the currently
50
+ * active sorted direction. The reason this is updated through a function is because the direction
51
+ * should only be changed at specific times - when deactivated but the hint is displayed and when
52
+ * the sort is active and the direction changes. Otherwise the arrow's direction should linger
53
+ * in cases such as the sort becoming deactivated but we want to animate the arrow away while
54
+ * preserving its direction, even though the next sort direction is actually different and should
55
+ * only be changed once the arrow displays again (hint or activation).
56
+ */
57
+ private updateArrowDirection;
58
+ get isDisabled(): boolean;
59
+ /**
60
+ * Gets the aria-sort attribute that should be applied to this sort header. If this header
61
+ * is not sorted, returns null so that the attribute is removed from the host element. Aria spec
62
+ * says that the aria-sort property should only be present on one header at a time, so removing
63
+ * ensures this is true.
64
+ */
65
+ get ariaSortAttribute(): "none" | "ascending" | "descending";
66
+ /** Handles changes in the sorting state. */
67
+ private _handleStateChanges;
68
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItSortHeaderComponent, [null, { optional: true; }, { optional: true; }]>;
69
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItSortHeaderComponent, "[it-sort-header]", ["itSortHeader"], { "id": { "alias": "it-sort-header"; "required": false; }; "arrowPosition": { "alias": "arrowPosition"; "required": false; }; "start": { "alias": "start"; "required": false; }; "sortDisabled": { "alias": "sortDisabled"; "required": false; }; "disableSortClear": { "alias": "disableSortClear"; "required": false; }; }, {}, never, ["*"], true, never>;
70
+ static ngAcceptInputType_sortDisabled: unknown;
71
+ static ngAcceptInputType_disableSortClear: unknown;
72
+ }
@@ -0,0 +1,53 @@
1
+ import { EventEmitter, OnChanges, OnDestroy } from '@angular/core';
2
+ import { Subject } from 'rxjs';
3
+ import { ItSortable, ItSortDefaultOptions, ItSortEvent, SortDirection } from "../../../../interfaces/sortable-table";
4
+ import * as i0 from "@angular/core";
5
+ export declare class ItSortDirective implements OnChanges, OnDestroy {
6
+ private _defaultOptions?;
7
+ /** The id of the most recently sorted ItSortable. */
8
+ active?: string;
9
+ /**
10
+ * The direction to set when an MatSortable is initially sorted.
11
+ * May be overridden by the MatSortable's sort start.
12
+ */
13
+ start: SortDirection;
14
+ /** The sort direction of the currently active ItSortable. */
15
+ get direction(): SortDirection;
16
+ set direction(direction: SortDirection);
17
+ private _direction;
18
+ /**
19
+ * Whether to disable the user from clearing the sort by finishing the sort direction cycle.
20
+ * May be overridden by the ItSortable's disable clear input.
21
+ */
22
+ disableSortClear?: boolean;
23
+ /** Whether the sortable is disabled. */
24
+ sortDisabled: boolean;
25
+ /** Event emitted when the user changes either the active sort or sort direction. */
26
+ readonly sortChange: EventEmitter<ItSortEvent>;
27
+ readonly sortDirectiveClass = "it-sort";
28
+ /** Collection of all registered sortables that this directive manages. */
29
+ protected sortables: Map<string, ItSortable>;
30
+ /** Used to notify any child components listening to state changes. */
31
+ readonly _stateChanges: Subject<void>;
32
+ constructor(_defaultOptions?: ItSortDefaultOptions | undefined);
33
+ /**
34
+ * Register function to be used by the contained ItSortables. Adds the ItSortable to the
35
+ * collection of ItSortables.
36
+ */
37
+ register(sortable: ItSortable): void;
38
+ /**
39
+ * Unregister function to be used by the contained ItSortables. Removes the ItSortable from the
40
+ * collection of contained ItSortables.
41
+ */
42
+ deregister(sortable: ItSortable): void;
43
+ /** Sets the active sort id and determines the new sort direction. */
44
+ sort(sortable: ItSortable): void;
45
+ /** Returns the next sort direction of the active sortable, checking for potential overrides. */
46
+ getNextSortDirection(sortable: ItSortable): SortDirection;
47
+ ngOnChanges(): void;
48
+ ngOnDestroy(): void;
49
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItSortDirective, [{ optional: true; }]>;
50
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ItSortDirective, "[itSort]", ["itSort"], { "active": { "alias": "itSortActive"; "required": false; }; "start": { "alias": "itSortStart"; "required": false; }; "direction": { "alias": "itSortDirection"; "required": false; }; "disableSortClear": { "alias": "disableSortClear"; "required": false; }; "sortDisabled": { "alias": "sortDisabled"; "required": false; }; }, { "sortChange": "sortChange"; }, never, never, true, never>;
51
+ static ngAcceptInputType_disableSortClear: unknown;
52
+ static ngAcceptInputType_sortDisabled: unknown;
53
+ }
@@ -1,54 +1,60 @@
1
- import { TableColor, TableHeadColor, TableResponsive, VerticalAlignment } from "../../../interfaces/core";
2
- import { BooleanInput } from "../../../utils/boolean-input";
1
+ import { TableColor, TableHeadColor, TableResponsive, VerticalAlignment } from '../../../interfaces/core';
3
2
  import * as i0 from "@angular/core";
4
- export declare class TableComponent {
3
+ import * as i1 from "../../../utils/coercion";
4
+ export declare class ItTableComponent {
5
5
  /**
6
6
  * Table color
7
7
  */
8
- color?: TableColor;
8
+ color: TableColor | undefined;
9
9
  /**
10
10
  * Head table color
11
11
  */
12
- headColor?: TableHeadColor;
12
+ headColor: TableHeadColor | undefined;
13
13
  /**
14
14
  * Use vertical alignment classes to realign where needed.
15
15
  */
16
- alignment?: VerticalAlignment;
16
+ alignment: VerticalAlignment | undefined;
17
17
  /**
18
18
  * Use .table-striped to add zebra stripes to each table row contained in <tbody>.
19
+ * @default false
19
20
  */
20
- striped?: BooleanInput;
21
+ striped?: boolean;
21
22
  /**
22
23
  * Add .table-hover to enable hover state on table rows contained in <tbody>.
24
+ * @default false
23
25
  */
24
- hover?: BooleanInput;
26
+ hover?: boolean;
25
27
  /**
26
28
  * Add .table-bordered to have borders on all sides of the table and on all cells.
29
+ * @default false
27
30
  */
28
- bordered?: BooleanInput;
31
+ bordered?: boolean;
29
32
  /**
30
33
  * Add the .table-borderless class for a borderless table.
34
+ * @default false
31
35
  */
32
- borderless?: BooleanInput;
36
+ borderless?: boolean;
33
37
  /**
34
38
  * Add .table-sm to make tables more compact by halving the cell padding.
39
+ * @efault false
35
40
  */
36
- compact?: BooleanInput;
41
+ compact?: boolean;
37
42
  /**
38
43
  * To render the <caption> on top of the table
44
+ * @default false
39
45
  */
40
- captionTop?: BooleanInput;
46
+ captionTop?: boolean;
41
47
  /**
42
48
  * Responsive tables allow you to scroll tables horizontally with ease.
43
49
  * @default responsive
44
50
  */
45
51
  responsive: TableResponsive;
46
- get isStriped(): boolean;
47
- get isHover(): boolean;
48
- get isBordered(): boolean;
49
- get isBorderless(): boolean;
50
- get isCompact(): boolean;
51
- get isCaptionTop(): boolean;
52
- static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, never>;
53
- static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "it-table", never, { "color": "color"; "headColor": "headColor"; "alignment": "alignment"; "striped": "striped"; "hover": "hover"; "bordered": "bordered"; "borderless": "borderless"; "compact": "compact"; "captionTop": "captionTop"; "responsive": "responsive"; }, {}, never, ["[caption]", "[thead]", "[tbody]", "[tfoot]"], false, never>;
52
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItTableComponent, never>;
53
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItTableComponent, "it-table", never, { "color": { "alias": "color"; "required": false; }; "headColor": { "alias": "headColor"; "required": false; }; "alignment": { "alias": "alignment"; "required": false; }; "striped": { "alias": "striped"; "required": false; }; "hover": { "alias": "hover"; "required": false; }; "bordered": { "alias": "bordered"; "required": false; }; "borderless": { "alias": "borderless"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "captionTop": { "alias": "captionTop"; "required": false; }; "responsive": { "alias": "responsive"; "required": false; }; }, {}, never, ["[caption]", "[thead]", "[tbody]", "[tfoot]"], true, never>;
54
+ static ngAcceptInputType_striped: i1.BooleanInput;
55
+ static ngAcceptInputType_hover: i1.BooleanInput;
56
+ static ngAcceptInputType_bordered: i1.BooleanInput;
57
+ static ngAcceptInputType_borderless: i1.BooleanInput;
58
+ static ngAcceptInputType_compact: i1.BooleanInput;
59
+ static ngAcceptInputType_captionTop: i1.BooleanInput;
54
60
  }
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./table.component";
3
+ import * as i2 from "./sort/sort.directive";
4
+ import * as i3 from "./sort/sort-header/sort-header.component";
5
+ export declare class ItTableModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItTableModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ItTableModule, never, [typeof i1.ItTableComponent, typeof i2.ItSortDirective, typeof i3.ItSortHeaderComponent], [typeof i1.ItTableComponent, typeof i2.ItSortDirective, typeof i3.ItSortHeaderComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<ItTableModule>;
9
+ }
@@ -1,8 +1,8 @@
1
1
  import { AfterViewInit, ElementRef, EventEmitter, OnDestroy } from '@angular/core';
2
2
  import { ElementPlacement } from '../../../interfaces/core';
3
- import { BooleanInput } from '../../../utils/boolean-input';
4
3
  import * as i0 from "@angular/core";
5
- export declare class TooltipDirective implements AfterViewInit, OnDestroy {
4
+ import * as i1 from "../../../utils/coercion";
5
+ export declare class ItTooltipDirective implements AfterViewInit, OnDestroy {
6
6
  private readonly _elementRef;
7
7
  /**
8
8
  * Define the tooltip title
@@ -13,32 +13,32 @@ export declare class TooltipDirective implements AfterViewInit, OnDestroy {
13
13
  * Define the tooltip placement
14
14
  * @param placement
15
15
  */
16
- set placement(placement: ElementPlacement);
16
+ set tooltipPlacement(placement: ElementPlacement);
17
17
  /**
18
18
  * Indicates whether the title contains html
19
19
  * @param html true if contain html
20
20
  */
21
- set html(html: BooleanInput);
21
+ set tooltipHtml(html: boolean);
22
22
  /**
23
23
  * This event fires immediately when the show method is called.
24
24
  */
25
- onShow: EventEmitter<Event>;
25
+ showEvent: EventEmitter<Event>;
26
26
  /**
27
27
  * This event is triggered when the tooltip has been made visible to the user (it will wait for the CSS transitions to complete).
28
28
  */
29
- onShown: EventEmitter<Event>;
29
+ shownEvent: EventEmitter<Event>;
30
30
  /**
31
31
  * This event fires immediately when the hide method is called.
32
32
  */
33
- onHide: EventEmitter<Event>;
33
+ hideEvent: EventEmitter<Event>;
34
34
  /**
35
35
  * This event is raised when the tooltip has finished being hidden from the user (it will wait for the CSS transitions to complete).
36
36
  */
37
- onHidden: EventEmitter<Event>;
37
+ hiddenEvent: EventEmitter<Event>;
38
38
  /**
39
39
  * This event fires after the show event when the tooltip template has been added to the DOM.
40
40
  */
41
- onInserted: EventEmitter<Event>;
41
+ insertedEvent: EventEmitter<Event>;
42
42
  private readonly element;
43
43
  private tooltip?;
44
44
  constructor(_elementRef: ElementRef);
@@ -76,6 +76,7 @@ export declare class TooltipDirective implements AfterViewInit, OnDestroy {
76
76
  * Updates the position of an element's tooltip.
77
77
  */
78
78
  update(): void;
79
- static ɵfac: i0.ɵɵFactoryDeclaration<TooltipDirective, never>;
80
- static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipDirective, "[itTooltip]", ["itTooltip"], { "title": "itTooltip"; "placement": "tooltipPlacement"; "html": "tooltipHtml"; }, { "onShow": "onShow"; "onShown": "onShown"; "onHide": "onHide"; "onHidden": "onHidden"; "onInserted": "onInserted"; }, never, never, false, never>;
79
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItTooltipDirective, never>;
80
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ItTooltipDirective, "[itTooltip]", ["itTooltip"], { "title": { "alias": "itTooltip"; "required": false; }; "tooltipPlacement": { "alias": "tooltipPlacement"; "required": false; }; "tooltipHtml": { "alias": "tooltipHtml"; "required": false; }; }, { "showEvent": "showEvent"; "shownEvent": "shownEvent"; "hideEvent": "hideEvent"; "hiddenEvent": "hiddenEvent"; "insertedEvent": "insertedEvent"; }, never, never, true, never>;
81
+ static ngAcceptInputType_tooltipHtml: i1.BooleanInput;
81
82
  }
@@ -0,0 +1,55 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { Observable } from 'rxjs';
3
+ import { ItAbstractFormComponent } from '../../../abstracts/abstract-form.component';
4
+ import { AutocompleteItem } from '../../../interfaces/form';
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "../../../utils/coercion";
7
+ export declare class ItAutocompleteComponent extends ItAbstractFormComponent<string | null | undefined> implements OnInit {
8
+ /**
9
+ * Indicates the list of searchable elements on which to base the input autocomplete system
10
+ * If you need to retrieve items via API, can pass a function of Observable
11
+ * @default undefined
12
+ */
13
+ autocompleteData: Array<AutocompleteItem> | ((search?: string | null) => Observable<Array<AutocompleteItem>>);
14
+ /**
15
+ * To get a large version of Autocomplete
16
+ */
17
+ big?: boolean;
18
+ /**
19
+ * Time span [ms] has passed without another source emission, to delay data filtering.
20
+ * Useful when the user is typing multiple letters
21
+ * @default 300 [ms]
22
+ */
23
+ debounceTime: number;
24
+ /**
25
+ * The input placeholder
26
+ */
27
+ placeholder: string;
28
+ /**
29
+ * Show the label
30
+ */
31
+ forceShowLabel: boolean;
32
+ /**
33
+ * Fired when the Autocomplete Item has been selected
34
+ */
35
+ autocompleteSelectedEvent: EventEmitter<AutocompleteItem>;
36
+ protected showAutocompletion: boolean;
37
+ /** Observable da cui vengono emessi i risultati dell'auto completamento */
38
+ protected autocompleteResults$: Observable<{
39
+ searchedValue: string | undefined | null;
40
+ relatedEntries: Array<AutocompleteItem>;
41
+ }>;
42
+ ngOnInit(): void;
43
+ /**
44
+ * Create the autocomplete list
45
+ */
46
+ private getAutocompleteResults$;
47
+ protected onEntryClick(entry: AutocompleteItem, event: Event): void;
48
+ protected autocompleteItemTrackByValueFn(index: number, item: AutocompleteItem): string;
49
+ protected onKeyDown(): void;
50
+ protected get isActiveLabel(): boolean;
51
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItAutocompleteComponent, never>;
52
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItAutocompleteComponent, "it-autocomplete", never, { "autocompleteData": { "alias": "autocompleteData"; "required": true; }; "big": { "alias": "big"; "required": false; }; "debounceTime": { "alias": "debounceTime"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "forceShowLabel": { "alias": "forceShowLabel"; "required": false; }; }, { "autocompleteSelectedEvent": "autocompleteSelectedEvent"; }, never, ["[error]"], true, never>;
53
+ static ngAcceptInputType_big: i1.BooleanInput;
54
+ static ngAcceptInputType_forceShowLabel: i1.BooleanInput;
55
+ }
@@ -1,30 +1,41 @@
1
- import { AbstractFormComponent } from '../../../abstracts/abstract-form-component';
2
- import { BooleanInput } from '../../../utils/boolean-input';
1
+ import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
+ import { ItAbstractFormComponent } from '../../../abstracts/abstract-form.component';
3
3
  import * as i0 from "@angular/core";
4
- export declare class CheckboxComponent extends AbstractFormComponent<boolean> {
4
+ import * as i1 from "../../../utils/coercion";
5
+ export declare class ItCheckboxComponent extends ItAbstractFormComponent<boolean | null | undefined> implements OnInit, OnChanges {
5
6
  /**
6
7
  * If show checkbox as toggle
8
+ * @default false
7
9
  */
8
- toggle?: BooleanInput;
10
+ toggle?: boolean;
9
11
  /**
10
12
  * If show checkbox inline
13
+ * @default false
11
14
  */
12
- inline?: BooleanInput;
15
+ inline?: boolean;
13
16
  /**
14
17
  * If is checkbox group
18
+ * @default false
15
19
  */
16
- group?: BooleanInput;
20
+ group?: boolean;
17
21
  /**
18
22
  * If checkbox is checked
23
+ * @default false
19
24
  */
20
- checked?: BooleanInput;
25
+ checked?: boolean;
21
26
  /**
22
27
  * If checkbox is indeterminate
28
+ * @default false
23
29
  */
24
- indeterminate?: BooleanInput;
25
- get isIndeterminate(): boolean;
26
- get isGroup(): boolean;
30
+ indeterminate?: boolean;
27
31
  ngOnInit(): void;
28
- static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxComponent, never>;
29
- static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "it-checkbox[id]", never, { "toggle": "toggle"; "inline": "inline"; "group": "group"; "checked": "checked"; "indeterminate": "indeterminate"; }, {}, never, ["*", "[error]", "[label]"], false, never>;
32
+ ngOnChanges(changes: SimpleChanges): void;
33
+ private markAsChecked;
34
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItCheckboxComponent, never>;
35
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItCheckboxComponent, "it-checkbox", never, { "toggle": { "alias": "toggle"; "required": false; }; "inline": { "alias": "inline"; "required": false; }; "group": { "alias": "group"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; }, {}, never, ["*", "[error]", "[label]"], true, never>;
36
+ static ngAcceptInputType_toggle: i1.BooleanInput;
37
+ static ngAcceptInputType_inline: i1.BooleanInput;
38
+ static ngAcceptInputType_group: i1.BooleanInput;
39
+ static ngAcceptInputType_checked: i1.BooleanInput;
40
+ static ngAcceptInputType_indeterminate: i1.BooleanInput;
30
41
  }
@@ -0,0 +1,17 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./autocomplete/autocomplete.component";
3
+ import * as i2 from "./checkbox/checkbox.component";
4
+ import * as i3 from "./input/input.component";
5
+ import * as i4 from "./password-input/password-input.component";
6
+ import * as i5 from "./radio-button/radio-button.component";
7
+ import * as i6 from "./range/range.component";
8
+ import * as i7 from "./rating/rating.component";
9
+ import * as i8 from "./select/select.component";
10
+ import * as i9 from "./textarea/textarea.component";
11
+ import * as i10 from "./upload-drag-drop/upload-drag-drop.component";
12
+ import * as i11 from "./upload-file-list/upload-file-list.component";
13
+ export declare class ItFormModule {
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItFormModule, never>;
15
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ItFormModule, never, [typeof i1.ItAutocompleteComponent, typeof i2.ItCheckboxComponent, typeof i3.ItInputComponent, typeof i4.ItPasswordInputComponent, typeof i5.ItRadioButtonComponent, typeof i6.ItRangeComponent, typeof i7.ItRatingComponent, typeof i8.ItSelectComponent, typeof i9.ItTextareaComponent, typeof i10.ItUploadDragDropComponent, typeof i11.ItUploadFileListComponent], [typeof i1.ItAutocompleteComponent, typeof i2.ItCheckboxComponent, typeof i3.ItInputComponent, typeof i4.ItPasswordInputComponent, typeof i5.ItRadioButtonComponent, typeof i6.ItRangeComponent, typeof i7.ItRatingComponent, typeof i8.ItSelectComponent, typeof i9.ItTextareaComponent, typeof i10.ItUploadDragDropComponent, typeof i11.ItUploadFileListComponent]>;
16
+ static ɵinj: i0.ɵɵInjectorDeclaration<ItFormModule>;
17
+ }