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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (255) hide show
  1. package/README.md +77 -7
  2. package/assets/i18n/en.json +81 -12
  3. package/assets/i18n/it.json +80 -11
  4. package/esm2022/lib/abstracts/abstract-form.component.mjs +187 -0
  5. package/esm2022/lib/abstracts/abstract.component.mjs +45 -0
  6. package/esm2022/lib/components/components.module.mjs +218 -0
  7. package/esm2022/lib/components/core/accordion/accordion.component.mjs +38 -0
  8. package/esm2022/lib/components/core/alert/alert.component.mjs +72 -0
  9. package/esm2022/lib/components/core/avatar/avatar-dropdown/avatar-dropdown.component.mjs +43 -0
  10. package/esm2022/lib/components/core/avatar/avatar-group/avatar-group.component.mjs +38 -0
  11. package/esm2022/lib/components/core/avatar/avatar.directive.mjs +78 -0
  12. package/esm2022/lib/components/core/badge/badge.directive.mjs +39 -0
  13. package/esm2022/lib/components/core/button/button.directive.mjs +86 -0
  14. package/esm2022/lib/components/core/callout/callout.component.mjs +57 -0
  15. package/esm2022/lib/components/core/card/card.component.mjs +59 -0
  16. package/esm2022/lib/components/core/carousel/carousel/carousel.component.mjs +81 -0
  17. package/esm2022/lib/components/core/carousel/carousel-item/carousel-item.component.mjs +19 -0
  18. package/esm2022/lib/components/core/carousel/carousel.module.mjs +23 -0
  19. package/esm2022/lib/components/core/chip/chip.component.mjs +96 -0
  20. package/esm2022/lib/components/core/collapse/collapse.component.mjs +104 -0
  21. package/esm2022/lib/components/core/dimmer/dimmer-buttons/dimmer-buttons.component.mjs +24 -0
  22. package/esm2022/lib/components/core/dimmer/dimmer-icon/dimmer-icon.component.mjs +11 -0
  23. package/esm2022/lib/components/core/dimmer/dimmer.component.mjs +59 -0
  24. package/esm2022/lib/components/core/dimmer/dimmer.module.mjs +27 -0
  25. package/esm2022/lib/components/core/dropdown/dropdown/dropdown.component.mjs +141 -0
  26. package/esm2022/lib/components/core/dropdown/dropdown-item/dropdown-item.component.mjs +62 -0
  27. package/esm2022/lib/components/core/dropdown/dropdown.module.mjs +18 -0
  28. package/esm2022/lib/components/core/forward/forward.directive.mjs +53 -0
  29. package/esm2022/lib/components/core/link/link.component.mjs +42 -0
  30. package/esm2022/lib/components/core/list/list/list.component.mjs +22 -0
  31. package/esm2022/lib/components/core/list/list-item/list-item.component.mjs +51 -0
  32. package/esm2022/lib/components/core/list/list.module.mjs +23 -0
  33. package/esm2022/lib/components/core/modal/modal.component.mjs +195 -0
  34. package/esm2022/lib/components/core/notifications/notifications.component.mjs +112 -0
  35. package/esm2022/lib/components/core/pagination/pagination.component.mjs +127 -0
  36. package/esm2022/lib/components/core/popover/popover.directive.mjs +176 -0
  37. package/esm2022/lib/components/core/progress-bar/progress-bar.component.mjs +34 -0
  38. package/esm2022/lib/components/core/progress-button/progress-button.component.mjs +26 -0
  39. package/esm2022/lib/components/core/spinner/spinner.component.mjs +31 -0
  40. package/esm2022/lib/components/core/steppers/steppers-container/steppers-container.component.mjs +112 -0
  41. package/esm2022/lib/components/core/steppers/steppers-item/steppers-item.component.mjs +19 -0
  42. package/esm2022/lib/components/core/steppers/steppers.module.mjs +23 -0
  43. package/esm2022/lib/components/core/tab/tab-container/tab-container.component.mjs +60 -0
  44. package/esm2022/lib/components/core/tab/tab-item/tab-item.component.mjs +39 -0
  45. package/esm2022/lib/components/core/tab/tab.module.mjs +23 -0
  46. package/esm2022/lib/components/core/table/sort/sort-header/sort-header.component.mjs +136 -0
  47. package/esm2022/lib/components/core/table/sort/sort.directive.mjs +123 -0
  48. package/esm2022/lib/components/core/table/table.component.mjs +45 -0
  49. package/esm2022/lib/components/core/tooltip/tooltip.directive.mjs +143 -0
  50. package/esm2022/lib/components/form/autocomplete/autocomplete.component.mjs +95 -0
  51. package/esm2022/lib/components/form/checkbox/checkbox.component.mjs +48 -0
  52. package/esm2022/lib/components/form/form.module.mjs +59 -0
  53. package/esm2022/lib/components/form/input/input.component.mjs +187 -0
  54. package/esm2022/lib/components/form/password-input/password-input.component.mjs +149 -0
  55. package/esm2022/lib/components/form/radio-button/radio-button.component.mjs +58 -0
  56. package/esm2022/lib/components/form/range/range.component.mjs +64 -0
  57. package/esm2022/lib/components/form/rating/rating.component.mjs +51 -0
  58. package/esm2022/lib/components/form/select/select.component.mjs +70 -0
  59. package/esm2022/lib/components/form/textarea/textarea.component.mjs +55 -0
  60. package/esm2022/lib/components/form/upload-drag-drop/upload-drag-drop.component.mjs +140 -0
  61. package/esm2022/lib/components/form/upload-file-list/upload-file-list.component.mjs +107 -0
  62. package/esm2022/lib/components/navigation/back-button/back-button.component.mjs +67 -0
  63. package/esm2022/lib/components/navigation/back-to-top/back-to-top.component.mjs +58 -0
  64. package/esm2022/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.mjs +55 -0
  65. package/esm2022/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.mjs +21 -0
  66. package/esm2022/lib/components/navigation/breadcrumbs/breadcrumbs.module.mjs +18 -0
  67. package/esm2022/lib/components/navigation/header/header.component.mjs +73 -0
  68. package/esm2022/lib/components/navigation/navbar/navbar/navbar.component.mjs +41 -0
  69. package/esm2022/lib/components/navigation/navbar/navbar-item/navbar-item.component.mjs +13 -0
  70. package/esm2022/lib/components/navigation/navbar/navbar.module.mjs +18 -0
  71. package/esm2022/lib/components/utils/error-page/error-page.component.mjs +75 -0
  72. package/esm2022/lib/components/utils/icon/icon.component.mjs +56 -0
  73. package/esm2022/lib/components/utils/language-switcher/language-switcher.component.mjs +47 -0
  74. package/esm2022/lib/design-angular-kit-config.mjs +15 -0
  75. package/esm2022/lib/design-angular-kit.module.mjs +68 -0
  76. package/esm2022/lib/enums/colors.enums.mjs +12 -0
  77. package/esm2022/lib/enums/sizes.enum.mjs +9 -0
  78. package/esm2022/lib/interfaces/core.mjs +16 -0
  79. package/esm2022/lib/interfaces/design-angular-kit-init.mjs +2 -0
  80. package/esm2022/lib/interfaces/form.mjs +2 -0
  81. package/esm2022/lib/interfaces/icon.mjs +165 -0
  82. package/esm2022/lib/interfaces/sortable-table.mjs +6 -0
  83. package/esm2022/lib/pipes/date-ago.pipe.mjs +56 -0
  84. package/esm2022/lib/pipes/duration.pipe.mjs +110 -0
  85. package/esm2022/lib/pipes/mark-matching-text.pipe.mjs +48 -0
  86. package/esm2022/lib/services/notification/notification.service.mjs +120 -0
  87. package/esm2022/lib/utils/coercion.mjs +18 -0
  88. package/esm2022/lib/utils/date-utils.mjs +160 -0
  89. package/esm2022/lib/utils/file-utils.mjs +73 -0
  90. package/esm2022/lib/utils/regex.mjs +31 -0
  91. package/esm2022/lib/validators/it-validators.mjs +153 -0
  92. package/esm2022/public_api.mjs +98 -0
  93. package/fesm2022/design-angular-kit.mjs +5450 -0
  94. package/fesm2022/design-angular-kit.mjs.map +1 -0
  95. package/lib/abstracts/{abstract-form-component.d.ts → abstract-form.component.d.ts} +12 -14
  96. package/lib/abstracts/abstract.component.d.ts +18 -8
  97. package/lib/components/components.module.d.ts +45 -0
  98. package/lib/components/core/accordion/accordion.component.d.ts +11 -5
  99. package/lib/components/core/alert/alert.component.d.ts +15 -10
  100. package/lib/components/core/avatar/avatar-dropdown/avatar-dropdown.component.d.ts +29 -0
  101. package/lib/components/core/avatar/avatar-group/avatar-group.component.d.ts +13 -0
  102. package/lib/components/core/avatar/avatar.directive.d.ts +33 -0
  103. package/lib/components/core/badge/badge.directive.d.ts +14 -7
  104. package/lib/components/core/button/button.directive.d.ts +25 -15
  105. package/lib/components/core/callout/callout.component.d.ts +18 -20
  106. package/lib/components/core/card/card.component.d.ts +46 -18
  107. package/lib/components/core/carousel/carousel/carousel.component.d.ts +34 -15
  108. package/lib/components/core/carousel/carousel-item/carousel-item.component.d.ts +8 -3
  109. package/lib/components/core/carousel/carousel.module.d.ts +8 -0
  110. package/lib/components/core/chip/chip.component.d.ts +8 -5
  111. package/lib/components/core/collapse/collapse.component.d.ts +22 -15
  112. package/lib/components/core/dimmer/dimmer-buttons/dimmer-buttons.component.d.ts +3 -3
  113. package/lib/components/core/dimmer/dimmer-icon/dimmer-icon.component.d.ts +3 -3
  114. package/lib/components/core/dimmer/dimmer.component.d.ts +4 -4
  115. package/lib/components/core/dimmer/dimmer.module.d.ts +9 -0
  116. package/lib/components/core/dropdown/dropdown/dropdown.component.d.ts +24 -17
  117. package/lib/components/core/dropdown/dropdown-item/dropdown-item.component.d.ts +15 -12
  118. package/lib/components/core/dropdown/dropdown.module.d.ts +8 -0
  119. package/lib/components/core/forward/forward.directive.d.ts +3 -3
  120. package/lib/components/core/link/link.component.d.ts +14 -10
  121. package/lib/components/core/list/list/list.component.d.ts +20 -6
  122. package/lib/components/core/list/list-item/list-item.component.d.ts +23 -9
  123. package/lib/components/core/list/list.module.d.ts +8 -0
  124. package/lib/components/core/modal/modal.component.d.ts +89 -13
  125. package/lib/components/core/notifications/notifications.component.d.ts +9 -8
  126. package/lib/components/core/pagination/pagination.component.d.ts +71 -10
  127. package/lib/components/core/popover/popover.directive.d.ts +15 -14
  128. package/lib/components/core/progress-bar/progress-bar.component.d.ts +11 -8
  129. package/lib/components/core/progress-button/progress-button.component.d.ts +5 -6
  130. package/lib/components/core/spinner/spinner.component.d.ts +13 -10
  131. package/lib/components/core/steppers/steppers-container/steppers-container.component.d.ts +55 -27
  132. package/lib/components/core/steppers/steppers-item/steppers-item.component.d.ts +5 -4
  133. package/lib/components/core/steppers/steppers.module.d.ts +8 -0
  134. package/lib/components/core/tab/tab-container/tab-container.component.d.ts +15 -12
  135. package/lib/components/core/tab/tab-item/tab-item.component.d.ts +14 -10
  136. package/lib/components/core/tab/tab.module.d.ts +8 -0
  137. package/lib/components/core/table/sort/sort-header/sort-header.component.d.ts +72 -0
  138. package/lib/components/core/table/sort/sort.directive.d.ts +53 -0
  139. package/lib/components/core/table/table.component.d.ts +26 -20
  140. package/lib/components/core/tooltip/tooltip.directive.d.ts +12 -11
  141. package/lib/components/form/autocomplete/autocomplete.component.d.ts +49 -0
  142. package/lib/components/form/checkbox/checkbox.component.d.ts +23 -12
  143. package/lib/components/form/form.module.d.ts +17 -0
  144. package/lib/components/form/input/input.component.d.ts +42 -43
  145. package/lib/components/form/password-input/password-input.component.d.ts +35 -10
  146. package/lib/components/form/radio-button/radio-button.component.d.ts +20 -11
  147. package/lib/components/form/range/range.component.d.ts +42 -0
  148. package/lib/components/form/rating/rating.component.d.ts +24 -0
  149. package/lib/components/form/select/select.component.d.ts +12 -6
  150. package/lib/components/form/textarea/textarea.component.d.ts +15 -5
  151. package/lib/components/form/upload-drag-drop/upload-drag-drop.component.d.ts +5 -5
  152. package/lib/components/form/upload-file-list/upload-file-list.component.d.ts +14 -11
  153. package/lib/components/navigation/back-button/back-button.component.d.ts +8 -8
  154. package/lib/components/navigation/back-to-top/back-to-top.component.d.ts +15 -16
  155. package/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.d.ts +13 -10
  156. package/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.d.ts +9 -8
  157. package/lib/components/navigation/breadcrumbs/breadcrumbs.module.d.ts +8 -0
  158. package/lib/components/navigation/header/header.component.d.ts +22 -25
  159. package/lib/components/navigation/navbar/navbar/navbar.component.d.ts +16 -0
  160. package/lib/components/navigation/navbar/navbar-item/navbar-item.component.d.ts +5 -0
  161. package/lib/components/navigation/navbar/navbar.module.d.ts +8 -0
  162. package/lib/components/utils/error-page/error-page.component.d.ts +44 -0
  163. package/lib/components/utils/icon/icon.component.d.ts +15 -15
  164. package/lib/components/utils/language-switcher/language-switcher.component.d.ts +9 -5
  165. package/lib/design-angular-kit-config.d.ts +16 -0
  166. package/lib/design-angular-kit.module.d.ts +6 -4
  167. package/lib/enums/colors.enums.d.ts +10 -0
  168. package/lib/enums/sizes.enum.d.ts +7 -0
  169. package/lib/interfaces/core.d.ts +16 -15
  170. package/lib/interfaces/design-angular-kit-init.d.ts +7 -0
  171. package/lib/interfaces/form.d.ts +9 -9
  172. package/lib/interfaces/icon.d.ts +4 -3
  173. package/lib/interfaces/sortable-table.d.ts +33 -0
  174. package/lib/pipes/date-ago.pipe.d.ts +17 -0
  175. package/lib/pipes/duration.pipe.d.ts +35 -0
  176. package/lib/pipes/mark-matching-text.pipe.d.ts +15 -7
  177. package/lib/services/{notifications/notifications.service.d.ts → notification/notification.service.d.ts} +3 -3
  178. package/lib/utils/coercion.d.ts +14 -0
  179. package/lib/utils/date-utils.d.ts +78 -0
  180. package/lib/utils/file-utils.d.ts +1 -1
  181. package/lib/utils/regex.d.ts +5 -0
  182. package/lib/validators/it-validators.d.ts +9 -2
  183. package/package.json +14 -20
  184. package/public_api.d.ts +29 -4
  185. package/esm2020/lib/abstracts/abstract-form-component.mjs +0 -174
  186. package/esm2020/lib/abstracts/abstract.component.mjs +0 -27
  187. package/esm2020/lib/components/core/accordion/accordion.component.mjs +0 -31
  188. package/esm2020/lib/components/core/alert/alert.component.mjs +0 -69
  189. package/esm2020/lib/components/core/badge/badge.directive.mjs +0 -34
  190. package/esm2020/lib/components/core/button/button.directive.mjs +0 -80
  191. package/esm2020/lib/components/core/callout/callout.component.mjs +0 -84
  192. package/esm2020/lib/components/core/card/card.component.mjs +0 -58
  193. package/esm2020/lib/components/core/carousel/carousel/carousel.component.mjs +0 -66
  194. package/esm2020/lib/components/core/carousel/carousel-item/carousel-item.component.mjs +0 -14
  195. package/esm2020/lib/components/core/chip/chip.component.mjs +0 -89
  196. package/esm2020/lib/components/core/collapse/collapse.component.mjs +0 -101
  197. package/esm2020/lib/components/core/dimmer/dimmer-buttons/dimmer-buttons.component.mjs +0 -24
  198. package/esm2020/lib/components/core/dimmer/dimmer-icon/dimmer-icon.component.mjs +0 -11
  199. package/esm2020/lib/components/core/dimmer/dimmer.component.mjs +0 -59
  200. package/esm2020/lib/components/core/dropdown/dropdown/dropdown.component.mjs +0 -130
  201. package/esm2020/lib/components/core/dropdown/dropdown-item/dropdown-item.component.mjs +0 -68
  202. package/esm2020/lib/components/core/forward/forward.directive.mjs +0 -51
  203. package/esm2020/lib/components/core/link/link.component.mjs +0 -40
  204. package/esm2020/lib/components/core/list/list/list.component.mjs +0 -13
  205. package/esm2020/lib/components/core/list/list-item/list-item.component.mjs +0 -36
  206. package/esm2020/lib/components/core/modal/modal.component.mjs +0 -98
  207. package/esm2020/lib/components/core/notifications/notifications.component.mjs +0 -110
  208. package/esm2020/lib/components/core/pagination/pagination.component.mjs +0 -51
  209. package/esm2020/lib/components/core/popover/popover.directive.mjs +0 -179
  210. package/esm2020/lib/components/core/progress-bar/progress-bar.component.mjs +0 -34
  211. package/esm2020/lib/components/core/progress-button/progress-button.component.mjs +0 -27
  212. package/esm2020/lib/components/core/spinner/spinner.component.mjs +0 -35
  213. package/esm2020/lib/components/core/steppers/steppers-container/steppers-container.component.mjs +0 -119
  214. package/esm2020/lib/components/core/steppers/steppers-item/steppers-item.component.mjs +0 -18
  215. package/esm2020/lib/components/core/tab/tab-container/tab-container.component.mjs +0 -59
  216. package/esm2020/lib/components/core/tab/tab-item/tab-item.component.mjs +0 -36
  217. package/esm2020/lib/components/core/table/table.component.mjs +0 -57
  218. package/esm2020/lib/components/core/tooltip/tooltip.directive.mjs +0 -143
  219. package/esm2020/lib/components/form/checkbox/checkbox.component.mjs +0 -40
  220. package/esm2020/lib/components/form/input/input.component.mjs +0 -222
  221. package/esm2020/lib/components/form/password-input/password-input.component.mjs +0 -112
  222. package/esm2020/lib/components/form/radio-button/radio-button.component.mjs +0 -53
  223. package/esm2020/lib/components/form/select/select.component.mjs +0 -62
  224. package/esm2020/lib/components/form/textarea/textarea.component.mjs +0 -46
  225. package/esm2020/lib/components/form/upload-drag-drop/upload-drag-drop.component.mjs +0 -137
  226. package/esm2020/lib/components/form/upload-file-list/upload-file-list.component.mjs +0 -104
  227. package/esm2020/lib/components/navigation/back-button/back-button.component.mjs +0 -69
  228. package/esm2020/lib/components/navigation/back-to-top/back-to-top.component.mjs +0 -74
  229. package/esm2020/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.mjs +0 -45
  230. package/esm2020/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.mjs +0 -23
  231. package/esm2020/lib/components/navigation/header/header.component.mjs +0 -63
  232. package/esm2020/lib/components/utils/icon/icon.component.mjs +0 -54
  233. package/esm2020/lib/components/utils/language-switcher/language-switcher.component.mjs +0 -39
  234. package/esm2020/lib/components/utils/not-found-page/not-found-page.component.mjs +0 -13
  235. package/esm2020/lib/design-angular-kit.module.mjs +0 -56
  236. package/esm2020/lib/interfaces/core.mjs +0 -16
  237. package/esm2020/lib/interfaces/form.mjs +0 -2
  238. package/esm2020/lib/interfaces/icon.mjs +0 -2
  239. package/esm2020/lib/modules/components.module.mjs +0 -257
  240. package/esm2020/lib/pipes/mark-matching-text.pipe.mjs +0 -36
  241. package/esm2020/lib/services/notifications/notifications.service.mjs +0 -120
  242. package/esm2020/lib/utils/boolean-input.mjs +0 -15
  243. package/esm2020/lib/utils/file-utils.mjs +0 -73
  244. package/esm2020/lib/utils/regex.mjs +0 -26
  245. package/esm2020/lib/validators/it-validators.mjs +0 -134
  246. package/esm2020/public_api.mjs +0 -70
  247. package/fesm2015/design-angular-kit.mjs +0 -3850
  248. package/fesm2015/design-angular-kit.mjs.map +0 -1
  249. package/fesm2020/design-angular-kit.mjs +0 -3797
  250. package/fesm2020/design-angular-kit.mjs.map +0 -1
  251. package/lib/components/utils/not-found-page/not-found-page.component.d.ts +0 -5
  252. package/lib/modules/components.module.d.ts +0 -61
  253. package/lib/utils/boolean-input.d.ts +0 -11
  254. /package/{esm2020 → esm2022}/design-angular-kit.mjs +0 -0
  255. /package/{esm2020 → esm2022}/lib/interfaces/utils.mjs +0 -0
@@ -1,10 +1,15 @@
1
1
  import { TemplateRef } from '@angular/core';
2
+ import { ItAbstractComponent } from '../../../../abstracts/abstract.component';
2
3
  import * as i0 from "@angular/core";
3
- export declare class CarouselItemComponent {
4
+ /**
5
+ * Carousel Item
6
+ * @description element, image or text slide of carousel
7
+ */
8
+ export declare class ItCarouselItemComponent extends ItAbstractComponent {
4
9
  /**
5
10
  * The content of item
6
11
  */
7
12
  htmlContent: TemplateRef<any>;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<CarouselItemComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<CarouselItemComponent, "it-carousel-item", never, {}, {}, never, ["*"], false, never>;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItCarouselItemComponent, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItCarouselItemComponent, "it-carousel-item", never, {}, {}, never, ["*"], true, never>;
10
15
  }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./carousel/carousel.component";
3
+ import * as i2 from "./carousel-item/carousel-item.component";
4
+ export declare class ItCarouselModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItCarouselModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ItCarouselModule, never, [typeof i1.ItCarouselComponent, typeof i2.ItCarouselItemComponent], [typeof i1.ItCarouselComponent, typeof i2.ItCarouselItemComponent]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<ItCarouselModule>;
8
+ }
@@ -1,8 +1,10 @@
1
1
  import { EventEmitter } from '@angular/core';
2
2
  import { IconName } from '../../../interfaces/icon';
3
+ import { ChipColor } from '../../../interfaces/core';
4
+ import { DesignAngularKitConfig } from '../../../design-angular-kit-config';
3
5
  import * as i0 from "@angular/core";
4
- export declare type ChipColor = 'primary' | 'secondary' | 'success' | 'danger' | 'warning';
5
- export declare class ChipComponent {
6
+ export declare class ItChipComponent {
7
+ protected readonly config: DesignAngularKitConfig;
6
8
  /**
7
9
  * Indica la label
8
10
  */
@@ -54,9 +56,10 @@ export declare class ChipComponent {
54
56
  /**
55
57
  * Evento emesso al click sul bottone di chiusura
56
58
  */
57
- close: EventEmitter<any>;
59
+ closeEvent: EventEmitter<any>;
58
60
  iconClose: IconName;
61
+ constructor(config: DesignAngularKitConfig);
59
62
  clickToClose(): void;
60
- static ɵfac: i0.ɵɵFactoryDeclaration<ChipComponent, never>;
61
- static ɵcmp: i0.ɵɵComponentDeclaration<ChipComponent, "it-chip", never, { "label": "label"; "showCloseButton": "showCloseButton"; "size": "size"; "color": "color"; "disabled": "disabled"; "icon": "icon"; "avatar": "avatar"; "altAvatar": "altAvatar"; }, { "close": "close"; }, never, never, false, never>;
63
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItChipComponent, never>;
64
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItChipComponent, "it-chip", never, { "label": { "alias": "label"; "required": false; }; "showCloseButton": { "alias": "showCloseButton"; "required": false; }; "size": { "alias": "size"; "required": false; }; "color": { "alias": "color"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "avatar": { "alias": "avatar"; "required": false; }; "altAvatar": { "alias": "altAvatar"; "required": false; }; }, { "closeEvent": "closeEvent"; }, never, never, true, never>;
62
65
  }
@@ -1,16 +1,18 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { AbstractComponent } from '../../../abstracts/abstract.component';
3
- import { BooleanInput } from '../../../utils/boolean-input';
1
+ import { AfterViewInit, ElementRef, EventEmitter } from '@angular/core';
2
+ import { ItAbstractComponent } from '../../../abstracts/abstract.component';
4
3
  import * as i0 from "@angular/core";
5
- export declare class CollapseComponent extends AbstractComponent {
4
+ import * as i1 from "../../../utils/coercion";
5
+ export declare class ItCollapseComponent extends ItAbstractComponent implements AfterViewInit {
6
6
  /**
7
7
  * Enable multiple collapse
8
+ * @default false
8
9
  */
9
- multi?: BooleanInput;
10
+ multi?: boolean;
10
11
  /**
11
12
  * Toggles the collapsible element on invocation
13
+ * @default false
12
14
  */
13
- opened?: BooleanInput;
15
+ opened?: boolean;
14
16
  /**
15
17
  * Custom class
16
18
  */
@@ -18,24 +20,27 @@ export declare class CollapseComponent extends AbstractComponent {
18
20
  /**
19
21
  * This event fires immediately when the show method is called.
20
22
  */
21
- onShow: EventEmitter<Event>;
23
+ showEvent: EventEmitter<Event>;
22
24
  /**
23
25
  * This event is triggered when the tooltip has been made visible to the user (it will wait for the CSS transitions to complete).
24
26
  */
25
- onShown: EventEmitter<Event>;
27
+ shownEvent: EventEmitter<Event>;
26
28
  /**
27
29
  * This event fires immediately when the hide method is called.
28
30
  */
29
- onHide: EventEmitter<Event>;
31
+ hideEvent: EventEmitter<Event>;
30
32
  /**
31
33
  * This event is raised when the tooltip has finished being hidden from the user (it will wait for the CSS transitions to complete).
32
34
  */
33
- onHidden: EventEmitter<Event>;
35
+ hiddenEvent: EventEmitter<Event>;
34
36
  private collapse?;
35
- private collapseDiv?;
36
- get isMulti(): boolean;
37
- get isOpenedOnStart(): boolean;
37
+ private open;
38
+ protected collapseDiv?: ElementRef<HTMLDivElement>;
38
39
  ngAfterViewInit(): void;
40
+ /**
41
+ * Shows if collapse is open or not
42
+ */
43
+ isOpen(): boolean;
39
44
  /**
40
45
  * Shows a resealable item
41
46
  * NOTE: Returns to the caller before the collapsable element has actually been shown (onShown event).
@@ -55,6 +60,8 @@ export declare class CollapseComponent extends AbstractComponent {
55
60
  * Eliminates the possibility of an item being resealable
56
61
  */
57
62
  dispose(): void;
58
- static ɵfac: i0.ɵɵFactoryDeclaration<CollapseComponent, never>;
59
- static ɵcmp: i0.ɵɵComponentDeclaration<CollapseComponent, "it-collapse[id]", ["itCollapse"], { "multi": "multi"; "opened": "opened"; "class": "class"; }, { "onShow": "onShow"; "onShown": "onShown"; "onHide": "onHide"; "onHidden": "onHidden"; }, never, ["*"], false, never>;
63
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItCollapseComponent, never>;
64
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItCollapseComponent, "it-collapse", ["itCollapse"], { "multi": { "alias": "multi"; "required": false; }; "opened": { "alias": "opened"; "required": false; }; "class": { "alias": "class"; "required": false; }; }, { "showEvent": "showEvent"; "shownEvent": "shownEvent"; "hideEvent": "hideEvent"; "hiddenEvent": "hiddenEvent"; }, never, ["*"], true, never>;
65
+ static ngAcceptInputType_multi: i1.BooleanInput;
66
+ static ngAcceptInputType_opened: i1.BooleanInput;
60
67
  }
@@ -1,5 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
- export declare class DimmerButtonsComponent {
2
+ export declare class ItDimmerButtonsComponent {
3
3
  /**
4
4
  * Indica se abbiamo 1 solo bottone
5
5
  * @default false
@@ -7,6 +7,6 @@ export declare class DimmerButtonsComponent {
7
7
  set hasOneButton(value: boolean);
8
8
  get hasOneButton(): boolean;
9
9
  private _hasOneButton;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<DimmerButtonsComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<DimmerButtonsComponent, "it-dimmer-buttons", never, { "hasOneButton": "hasOneButton"; }, {}, never, ["*"], false, never>;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItDimmerButtonsComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItDimmerButtonsComponent, "it-dimmer-buttons", never, { "hasOneButton": { "alias": "hasOneButton"; "required": false; }; }, {}, never, ["*"], true, never>;
12
12
  }
@@ -1,5 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
- export declare class DimmerIconComponent {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<DimmerIconComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<DimmerIconComponent, "it-dimmer-icon", never, {}, {}, never, ["*"], false, never>;
2
+ export declare class ItDimmerIconComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItDimmerIconComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItDimmerIconComponent, "it-dimmer-icon", never, {}, {}, never, ["*"], true, never>;
5
5
  }
@@ -1,7 +1,7 @@
1
1
  import { ElementRef, OnInit } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
- export declare type DimmerColor = '' | 'dimmer-primary';
4
- export declare class DimmerComponent implements OnInit {
3
+ export type DimmerColor = '' | 'dimmer-primary';
4
+ export declare class ItDimmerComponent implements OnInit {
5
5
  private elementRef;
6
6
  /**
7
7
  * Dimmer status
@@ -19,6 +19,6 @@ export declare class DimmerComponent implements OnInit {
19
19
  private _color;
20
20
  constructor(elementRef: ElementRef);
21
21
  ngOnInit(): void;
22
- static ɵfac: i0.ɵɵFactoryDeclaration<DimmerComponent, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<DimmerComponent, "it-dimmer", never, { "active": "active"; "color": "color"; }, {}, never, ["*"], false, never>;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItDimmerComponent, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItDimmerComponent, "it-dimmer", never, { "active": { "alias": "active"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, ["*"], true, never>;
24
24
  }
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./dimmer.component";
3
+ import * as i2 from "./dimmer-icon/dimmer-icon.component";
4
+ import * as i3 from "./dimmer-buttons/dimmer-buttons.component";
5
+ export declare class ItDimmerModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItDimmerModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ItDimmerModule, never, [typeof i1.ItDimmerComponent, typeof i2.ItDimmerIconComponent, typeof i3.ItDimmerButtonsComponent], [typeof i1.ItDimmerComponent, typeof i2.ItDimmerIconComponent, typeof i3.ItDimmerButtonsComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<ItDimmerModule>;
9
+ }
@@ -1,10 +1,14 @@
1
- import { EventEmitter, QueryList, SimpleChanges } from '@angular/core';
2
- import { AbstractComponent } from '../../../../abstracts/abstract.component';
1
+ import { AfterViewInit, EventEmitter, OnChanges, QueryList, SimpleChanges } from '@angular/core';
2
+ import { ItAbstractComponent } from '../../../../abstracts/abstract.component';
3
3
  import { ButtonColor, DropdownDirection } from '../../../../interfaces/core';
4
- import { BooleanInput } from '../../../../utils/boolean-input';
5
- import { DropdownItemComponent } from '../dropdown-item/dropdown-item.component';
4
+ import { ItDropdownItemComponent } from '../dropdown-item/dropdown-item.component';
6
5
  import * as i0 from "@angular/core";
7
- export declare class DropdownComponent extends AbstractComponent {
6
+ import * as i1 from "../../../../utils/coercion";
7
+ export declare class ItDropdownComponent extends ItAbstractComponent implements AfterViewInit, OnChanges {
8
+ /**
9
+ * Dropdown mode
10
+ */
11
+ mode: 'button' | 'link' | 'nav';
8
12
  /**
9
13
  * Button color
10
14
  */
@@ -15,40 +19,40 @@ export declare class DropdownComponent extends AbstractComponent {
15
19
  * - <strong>dropend</strong>: right
16
20
  * - <strong>dropstart</strong>: left
17
21
  */
18
- direction?: DropdownDirection;
22
+ direction: DropdownDirection | undefined;
19
23
  /**
20
24
  * To get a dropdown menu as wide as the element containing the dropdown button
25
+ * @default false
21
26
  */
22
- fullWidth?: BooleanInput;
27
+ fullWidth?: boolean;
23
28
  /**
24
29
  * Dark menu style
30
+ * @default false
25
31
  */
26
- dark?: BooleanInput;
32
+ dark?: boolean;
27
33
  /**
28
34
  * The dropdown items
29
35
  */
30
- items?: QueryList<DropdownItemComponent>;
36
+ items?: QueryList<ItDropdownItemComponent>;
31
37
  /**
32
38
  * Fires immediately when the show instance method is called.
33
39
  */
34
- onShow: EventEmitter<Event>;
40
+ showEvent: EventEmitter<Event>;
35
41
  /**
36
42
  * Fired when the dropdown has been made visible to the user and CSS transitions have completed.
37
43
  */
38
- onShown: EventEmitter<Event>;
44
+ shownEvent: EventEmitter<Event>;
39
45
  /**
40
46
  * Fires immediately when the hide instance method has been called.
41
47
  */
42
- onHide: EventEmitter<Event>;
48
+ hideEvent: EventEmitter<Event>;
43
49
  /**
44
50
  * Fired when the dropdown has finished being hidden from the user and CSS transitions have completed.
45
51
  */
46
- onHidden: EventEmitter<Event>;
52
+ hiddenEvent: EventEmitter<Event>;
47
53
  private dropdown?;
48
54
  private dropdownButton?;
49
55
  get buttonClass(): string;
50
- get isFullWidth(): boolean;
51
- get isDark(): boolean;
52
56
  ngOnChanges(changes: SimpleChanges): void;
53
57
  ngAfterViewInit(): void;
54
58
  /**
@@ -56,6 +60,7 @@ export declare class DropdownComponent extends AbstractComponent {
56
60
  * @private
57
61
  */
58
62
  private setDarkItems;
63
+ private updateListeners;
59
64
  /**
60
65
  * Toggles the dropdown menu of a given navbar or tabbed navigation.
61
66
  */
@@ -76,6 +81,8 @@ export declare class DropdownComponent extends AbstractComponent {
76
81
  * Destroys an element's dropdown. (Removes stored data on the DOM element)
77
82
  */
78
83
  dispose(): void;
79
- static ɵfac: i0.ɵɵFactoryDeclaration<DropdownComponent, never>;
80
- static ɵcmp: i0.ɵɵComponentDeclaration<DropdownComponent, "it-dropdown[id]", ["itDropdown"], { "color": "color"; "direction": "direction"; "fullWidth": "fullWidth"; "dark": "dark"; }, { "onShow": "onShow"; "onShown": "onShown"; "onHide": "onHide"; "onHidden": "onHidden"; }, ["items"], ["[button]", "[listHeading]", "[list]"], false, never>;
84
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItDropdownComponent, never>;
85
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItDropdownComponent, "it-dropdown", ["itDropdown"], { "mode": { "alias": "mode"; "required": false; }; "color": { "alias": "color"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "dark": { "alias": "dark"; "required": false; }; }, { "showEvent": "showEvent"; "shownEvent": "shownEvent"; "hideEvent": "hideEvent"; "hiddenEvent": "hiddenEvent"; }, ["items"], ["[listHeading]", "[list]", "[button]"], true, never>;
86
+ static ngAcceptInputType_fullWidth: i1.BooleanInput;
87
+ static ngAcceptInputType_dark: i1.BooleanInput;
81
88
  }
@@ -1,24 +1,27 @@
1
- import { BooleanInput } from '../../../../utils/boolean-input';
2
1
  import { IconName } from '../../../../interfaces/icon';
3
- import { LinkComponent } from '../../link/link.component';
2
+ import { ItLinkComponent } from '../../link/link.component';
4
3
  import * as i0 from "@angular/core";
5
- export declare class DropdownItemComponent extends LinkComponent {
4
+ import * as i1 from "../../../../utils/coercion";
5
+ export declare class ItDropdownItemComponent extends ItLinkComponent {
6
6
  /**
7
7
  * Show divider
8
+ * @default false
8
9
  */
9
- divider?: BooleanInput;
10
+ divider?: boolean;
10
11
  /**
11
12
  * Active item
13
+ * @default false
12
14
  */
13
- active?: BooleanInput;
15
+ active?: boolean;
14
16
  /**
15
17
  * To increase the size of links
18
+ * @default false
16
19
  */
17
- large?: BooleanInput;
20
+ large?: boolean;
18
21
  /**
19
22
  * The name of icon to show
20
23
  */
21
- iconName?: IconName;
24
+ iconName: IconName | undefined;
22
25
  /**
23
26
  * The icon position
24
27
  * @default right
@@ -29,11 +32,11 @@ export declare class DropdownItemComponent extends LinkComponent {
29
32
  * @default false
30
33
  */
31
34
  isDark: boolean;
32
- get isDivider(): boolean;
33
- get isActive(): boolean;
34
- get isLarge(): boolean;
35
35
  get linkClass(): string;
36
36
  setDark(dark: boolean): void;
37
- static ɵfac: i0.ɵɵFactoryDeclaration<DropdownItemComponent, never>;
38
- static ɵcmp: i0.ɵɵComponentDeclaration<DropdownItemComponent, "it-dropdown-item", never, { "divider": "divider"; "active": "active"; "large": "large"; "iconName": "iconName"; "iconPosition": "iconPosition"; }, {}, never, ["*"], false, never>;
37
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItDropdownItemComponent, never>;
38
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItDropdownItemComponent, "it-dropdown-item", never, { "divider": { "alias": "divider"; "required": false; }; "active": { "alias": "active"; "required": false; }; "large": { "alias": "large"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; "iconPosition": { "alias": "iconPosition"; "required": false; }; }, {}, never, ["*"], true, never>;
39
+ static ngAcceptInputType_divider: i1.BooleanInput;
40
+ static ngAcceptInputType_active: i1.BooleanInput;
41
+ static ngAcceptInputType_large: i1.BooleanInput;
39
42
  }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./dropdown/dropdown.component";
3
+ import * as i2 from "./dropdown-item/dropdown-item.component";
4
+ export declare class ItDropdownModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItDropdownModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ItDropdownModule, never, [typeof i1.ItDropdownComponent, typeof i2.ItDropdownItemComponent], [typeof i1.ItDropdownComponent, typeof i2.ItDropdownItemComponent]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<ItDropdownModule>;
8
+ }
@@ -1,5 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
- export declare class ForwardDirective {
2
+ export declare class ItForwardDirective {
3
3
  private document?;
4
4
  /**
5
5
  * Indica, se HTMLElement, l'elemento a cui navigare, o se stringa, il selettore che selezionerà l'elemento a cui navigare.
@@ -9,6 +9,6 @@ export declare class ForwardDirective {
9
9
  private _itForward;
10
10
  constructor(document?: Document | undefined);
11
11
  onClick(event: any): void;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<ForwardDirective, never>;
13
- static ɵdir: i0.ɵɵDirectiveDeclaration<ForwardDirective, "[itForward]", never, { "itForward": "itForward"; }, {}, never, never, false, never>;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItForwardDirective, never>;
13
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ItForwardDirective, "[itForward]", never, { "itForward": { "alias": "itForward"; "required": false; }; }, {}, never, never, true, never>;
14
14
  }
@@ -1,7 +1,8 @@
1
- import { BooleanInput } from '../../../utils/boolean-input';
2
- import { AbstractComponent } from '../../../abstracts/abstract.component';
1
+ import { AfterViewInit, OnChanges, SimpleChanges } from '@angular/core';
2
+ import { ItAbstractComponent } from '../../../abstracts/abstract.component';
3
3
  import * as i0 from "@angular/core";
4
- export declare class LinkComponent extends AbstractComponent {
4
+ import * as i1 from "../../../utils/coercion";
5
+ export declare class ItLinkComponent extends ItAbstractComponent implements AfterViewInit, OnChanges {
5
6
  /**
6
7
  * The router link action
7
8
  *
@@ -10,22 +11,25 @@ export declare class LinkComponent extends AbstractComponent {
10
11
  * - string: shorthand for array of commands with just the string, i.e. ['/route']
11
12
  * - null|undefined: Disables the link by removing the href
12
13
  */
13
- href?: any[] | string | null;
14
+ href: any[] | string | null | undefined;
14
15
  /**
15
16
  * Is an external link (false to not use Angular router link)
17
+ * @default false
16
18
  */
17
- externalLink?: BooleanInput;
19
+ externalLink?: boolean;
18
20
  /**
19
21
  * Is disabled link
22
+ * @default false
20
23
  */
21
- disabled?: BooleanInput;
24
+ disabled?: boolean;
22
25
  /**
23
26
  * Custom class
24
27
  */
25
28
  class: string;
26
- get isExternalLink(): boolean;
27
- get isDisabled(): boolean;
28
29
  ngAfterViewInit(): void;
29
- static ɵfac: i0.ɵɵFactoryDeclaration<LinkComponent, never>;
30
- static ɵcmp: i0.ɵɵComponentDeclaration<LinkComponent, "it-link", never, { "href": "href"; "externalLink": "externalLink"; "disabled": "disabled"; "class": "class"; }, {}, never, ["*"], false, never>;
30
+ ngOnChanges(changes: SimpleChanges): void;
31
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItLinkComponent, never>;
32
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItLinkComponent, "it-link", never, { "href": { "alias": "href"; "required": false; }; "externalLink": { "alias": "externalLink"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "class": { "alias": "class"; "required": false; }; }, {}, never, ["*"], true, never>;
33
+ static ngAcceptInputType_externalLink: i1.BooleanInput;
34
+ static ngAcceptInputType_disabled: i1.BooleanInput;
31
35
  }
@@ -1,10 +1,24 @@
1
- import { BooleanInput } from '../../../../utils/boolean-input';
2
1
  import * as i0 from "@angular/core";
3
- export declare class ListComponent {
2
+ import * as i1 from "../../../../utils/coercion";
3
+ export declare class ItListComponent {
4
4
  /**
5
- * Add 'link-list' class for navigation menù
5
+ * Add 'link-list' class for navigation menu
6
+ * @default false
6
7
  */
7
- linkList?: BooleanInput;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<ListComponent, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<ListComponent, "it-list", never, { "linkList": "linkList"; }, {}, never, ["*"], false, never>;
8
+ linkList?: boolean;
9
+ /**
10
+ * Add 'link-sublist' class for navigation menu
11
+ * @default false
12
+ */
13
+ linkSubList?: boolean;
14
+ /**
15
+ * Add 'multiline' class for wrapper
16
+ * @default false
17
+ */
18
+ multiline?: boolean;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItListComponent, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItListComponent, "it-list", never, { "linkList": { "alias": "linkList"; "required": false; }; "linkSubList": { "alias": "linkSubList"; "required": false; }; "multiline": { "alias": "multiline"; "required": false; }; }, {}, never, ["*"], true, never>;
21
+ static ngAcceptInputType_linkList: i1.BooleanInput;
22
+ static ngAcceptInputType_linkSubList: i1.BooleanInput;
23
+ static ngAcceptInputType_multiline: i1.BooleanInput;
10
24
  }
@@ -1,24 +1,38 @@
1
- import { BooleanInput } from '../../../../utils/boolean-input';
2
- import { LinkComponent } from '../../link/link.component';
1
+ import { ItLinkComponent } from '../../link/link.component';
3
2
  import * as i0 from "@angular/core";
4
- export declare class ListItemComponent extends LinkComponent {
3
+ import * as i1 from "../../../../utils/coercion";
4
+ export declare class ItListItemComponent extends ItLinkComponent {
5
5
  /**
6
6
  * Add active class
7
+ * @default false
7
8
  */
8
- active?: BooleanInput;
9
+ active?: boolean;
9
10
  /**
10
11
  * Add large class
11
12
  */
12
- large?: BooleanInput;
13
+ large?: boolean;
14
+ /**
15
+ * Add icon-left class
16
+ * @default false
17
+ */
18
+ iconLeft?: boolean;
19
+ /**
20
+ * Add icon-right class
21
+ * @default false
22
+ */
23
+ iconRight?: boolean;
13
24
  /**
14
25
  * The avatar url
15
26
  */
16
- avatar?: URL;
27
+ avatar: URL | undefined;
17
28
  /**
18
29
  * The thumb image url
19
30
  */
20
- image?: URL;
31
+ image: URL | undefined;
21
32
  get itemClass(): string;
22
- static ɵfac: i0.ɵɵFactoryDeclaration<ListItemComponent, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<ListItemComponent, "it-list-item", never, { "active": "active"; "large": "large"; "avatar": "avatar"; "image": "image"; }, {}, never, ["[icon]", "*", "[action]", "[metadata]", "[multiple]"], false, never>;
33
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItListItemComponent, never>;
34
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItListItemComponent, "it-list-item", never, { "active": { "alias": "active"; "required": false; }; "large": { "alias": "large"; "required": false; }; "iconLeft": { "alias": "iconLeft"; "required": false; }; "iconRight": { "alias": "iconRight"; "required": false; }; "avatar": { "alias": "avatar"; "required": false; }; "image": { "alias": "image"; "required": false; }; }, {}, never, ["[icon]", "*", "[action]", "[metadata]", "[multiple]"], true, never>;
35
+ static ngAcceptInputType_active: i1.BooleanInput;
36
+ static ngAcceptInputType_iconLeft: i1.BooleanInput;
37
+ static ngAcceptInputType_iconRight: i1.BooleanInput;
24
38
  }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./list/list.component";
3
+ import * as i2 from "./list-item/list-item.component";
4
+ export declare class ItListModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItListModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ItListModule, never, [typeof i1.ItListComponent, typeof i2.ItListItemComponent], [typeof i1.ItListComponent, typeof i2.ItListItemComponent]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<ItListModule>;
8
+ }
@@ -1,39 +1,106 @@
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
+ import { Modal as BSModal } from 'bootstrap';
3
4
  import * as i0 from "@angular/core";
4
- export declare class ModalComponent extends AbstractComponent {
5
+ import * as i1 from "../../../utils/coercion";
6
+ /**
7
+ * Modal windows
8
+ * @description To show featured content, notifications to users, or personalized content.
9
+ */
10
+ export declare class ItModalComponent extends ItAbstractComponent implements AfterViewInit {
5
11
  /**
6
- * The modal Title
12
+ * Show/Hide close button on header
13
+ * @default true
7
14
  */
8
- title: string;
15
+ closeButton: boolean;
16
+ /**
17
+ * To correctly format the contents of the modal with icon
18
+ * @default false
19
+ */
20
+ alertModal?: boolean;
21
+ /**
22
+ * To correctly format the contents of the modal with Link List
23
+ * @default false
24
+ */
25
+ dialogLinkList?: boolean;
26
+ /**
27
+ * Modal type Popconfirm can be used for short confirmation messages.
28
+ * @default false
29
+ */
30
+ popconfirm?: boolean;
31
+ /**
32
+ * You can choose to use a scroll inside the modal, keeping the header and footer of the modal always visible
33
+ * @default false
34
+ */
35
+ scrollable?: boolean;
36
+ /**
37
+ * To have modals that appear with fades
38
+ * @default true
39
+ */
40
+ fade?: boolean;
41
+ /**
42
+ * Modal alignment
43
+ * - <b>centered</b>: to vertically center the modal
44
+ * - <b>left</b>: to left-align the modal
45
+ * - <b>right</b>: to right-align the modal
46
+ * @default undefined
47
+ */
48
+ alignment: 'centered' | 'left' | 'right' | undefined;
9
49
  /**
10
50
  * The modal size
51
+ * @default undefined
52
+ */
53
+ size: 'sm' | 'lg' | 'xl' | undefined;
54
+ /**
55
+ * Includes a modal-backdrop element. Alternatively, specify static for a backdrop which doesn’t close the modal when clicked.
56
+ * @default true
57
+ */
58
+ backdrop: 'static' | boolean;
59
+ /**
60
+ * Puts the focus on the modal when initialized.
61
+ * @default true
62
+ */
63
+ focus: boolean;
64
+ /**
65
+ * Closes the modal when escape key is pressed.
66
+ * @default true
67
+ */
68
+ keyboard: boolean;
69
+ /**
70
+ * To better distinguish the footer element with a shadow
71
+ * @default false
72
+ */
73
+ footerShadow?: boolean;
74
+ /**
75
+ * Modal options
11
76
  */
12
- size?: 'modal-sm' | 'modal-lg' | 'modal-xl';
77
+ options?: Partial<BSModal.Options>;
13
78
  /**
14
79
  * This event fires immediately when the instance method show is called.
15
80
  */
16
- onShow: EventEmitter<Event>;
81
+ showEvent: EventEmitter<Event>;
17
82
  /**
18
83
  * This event fires when the modal has been made visible to the user (it will wait for CSS transitions to complete).
19
84
  */
20
- onShown: EventEmitter<Event>;
85
+ shownEvent: EventEmitter<Event>;
21
86
  /**
22
87
  * This event is raised immediately when the instance method hide has been called.
23
88
  */
24
- onHide: EventEmitter<Event>;
89
+ hideEvent: EventEmitter<Event>;
25
90
  /**
26
91
  * This event fires when the modal has finished hiding from the user (it will wait for CSS transitions to complete).
27
92
  */
28
- onHidden: EventEmitter<Event>;
93
+ hiddenEvent: EventEmitter<Event>;
29
94
  /**
30
95
  * This event is fired when the modal is displayed, its background is static and a click outside the modal or a press
31
96
  * of the esc key occurs and data-bs-keyboard is set to false.
32
97
  */
33
- onHidePrevented: EventEmitter<Event>;
98
+ hidePreventedEvent: EventEmitter<Event>;
34
99
  private modal?;
35
100
  private modalElement?;
36
101
  ngAfterViewInit(): void;
102
+ protected get modalClass(): string;
103
+ protected get dialogClass(): string;
37
104
  /**
38
105
  * Manually activate/deactivate a modal. Returns to the caller before the modal has actually been shown or hidden
39
106
  */
@@ -54,6 +121,15 @@ export declare class ModalComponent extends AbstractComponent {
54
121
  * Destroys the modal of an element.
55
122
  */
56
123
  dispose(): void;
57
- static ɵfac: i0.ɵɵFactoryDeclaration<ModalComponent, never>;
58
- static ɵcmp: i0.ɵɵComponentDeclaration<ModalComponent, "it-modal[id][title]", ["itModal"], { "title": "title"; "size": "size"; }, { "onShow": "onShow"; "onShown": "onShown"; "onHide": "onHide"; "onHidden": "onHidden"; "onHidePrevented": "onHidePrevented"; }, never, ["*", "[footer]"], false, never>;
124
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItModalComponent, never>;
125
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItModalComponent, "it-modal", ["itModal"], { "closeButton": { "alias": "closeButton"; "required": false; }; "alertModal": { "alias": "alertModal"; "required": false; }; "dialogLinkList": { "alias": "dialogLinkList"; "required": false; }; "popconfirm": { "alias": "popconfirm"; "required": false; }; "scrollable": { "alias": "scrollable"; "required": false; }; "fade": { "alias": "fade"; "required": false; }; "alignment": { "alias": "alignment"; "required": false; }; "size": { "alias": "size"; "required": false; }; "backdrop": { "alias": "backdrop"; "required": false; }; "focus": { "alias": "focus"; "required": false; }; "keyboard": { "alias": "keyboard"; "required": false; }; "footerShadow": { "alias": "footerShadow"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, { "showEvent": "showEvent"; "shownEvent": "shownEvent"; "hideEvent": "hideEvent"; "hiddenEvent": "hiddenEvent"; "hidePreventedEvent": "hidePreventedEvent"; }, never, ["[beforeTitle]", "[modalTitle]", "[description]", "*", "[footer]"], true, never>;
126
+ static ngAcceptInputType_closeButton: i1.BooleanInput;
127
+ static ngAcceptInputType_alertModal: i1.BooleanInput;
128
+ static ngAcceptInputType_dialogLinkList: i1.BooleanInput;
129
+ static ngAcceptInputType_popconfirm: i1.BooleanInput;
130
+ static ngAcceptInputType_scrollable: i1.BooleanInput;
131
+ static ngAcceptInputType_fade: i1.BooleanInput;
132
+ static ngAcceptInputType_focus: i1.BooleanInput;
133
+ static ngAcceptInputType_keyboard: i1.BooleanInput;
134
+ static ngAcceptInputType_footerShadow: i1.BooleanInput;
59
135
  }