design-angular-kit 1.0.0-2 → 1.0.0-21

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 (220) hide show
  1. package/README.md +102 -26
  2. package/assets/i18n/en.json +122 -0
  3. package/assets/i18n/it.json +52 -11
  4. package/esm2022/lib/abstracts/abstract-form.component.mjs +186 -0
  5. package/esm2022/lib/abstracts/abstract.component.mjs +45 -0
  6. package/esm2022/lib/components/components.module.mjs +188 -0
  7. package/esm2022/lib/components/core/accordion/accordion.component.mjs +38 -0
  8. package/esm2022/lib/components/core/alert/alert.component.mjs +74 -0
  9. package/esm2022/lib/components/core/badge/badge.directive.mjs +38 -0
  10. package/esm2022/lib/components/core/button/button.directive.mjs +85 -0
  11. package/esm2022/lib/components/core/callout/callout.component.mjs +57 -0
  12. package/esm2022/lib/components/core/card/card.component.mjs +64 -0
  13. package/esm2022/lib/components/core/carousel/carousel/carousel.component.mjs +89 -0
  14. package/esm2022/lib/components/core/carousel/carousel-item/carousel-item.component.mjs +19 -0
  15. package/esm2022/lib/components/core/carousel/carousel.module.mjs +23 -0
  16. package/esm2022/lib/components/core/chip/chip.component.mjs +96 -0
  17. package/esm2022/lib/components/core/collapse/collapse.component.mjs +101 -0
  18. package/esm2022/lib/components/core/dimmer/dimmer-buttons/dimmer-buttons.component.mjs +24 -0
  19. package/esm2022/lib/components/core/dimmer/dimmer-icon/dimmer-icon.component.mjs +11 -0
  20. package/esm2022/lib/components/core/dimmer/dimmer.component.mjs +59 -0
  21. package/esm2022/lib/components/core/dimmer/dimmer.module.mjs +27 -0
  22. package/esm2022/lib/components/core/dropdown/dropdown/dropdown.component.mjs +143 -0
  23. package/esm2022/lib/components/core/dropdown/dropdown-item/dropdown-item.component.mjs +68 -0
  24. package/esm2022/lib/components/core/dropdown/dropdown.module.mjs +18 -0
  25. package/esm2022/lib/components/core/forward/forward.directive.mjs +53 -0
  26. package/esm2022/lib/components/core/link/link.component.mjs +46 -0
  27. package/esm2022/lib/components/core/list/list/list.component.mjs +17 -0
  28. package/esm2022/lib/components/core/list/list-item/list-item.component.mjs +40 -0
  29. package/esm2022/lib/components/core/list/list.module.mjs +23 -0
  30. package/esm2022/lib/components/core/modal/modal.component.mjs +192 -0
  31. package/esm2022/lib/components/core/notifications/notifications.component.mjs +111 -0
  32. package/esm2022/lib/components/core/pagination/pagination.component.mjs +133 -0
  33. package/esm2022/lib/components/core/popover/popover.directive.mjs +175 -0
  34. package/esm2022/lib/components/core/progress-bar/progress-bar.component.mjs +35 -0
  35. package/esm2022/lib/components/core/progress-button/progress-button.component.mjs +27 -0
  36. package/esm2022/lib/components/core/spinner/spinner.component.mjs +36 -0
  37. package/esm2022/lib/components/core/steppers/steppers-container/steppers-container.component.mjs +138 -0
  38. package/esm2022/lib/components/core/steppers/steppers-item/steppers-item.component.mjs +19 -0
  39. package/esm2022/lib/components/core/steppers/steppers.module.mjs +23 -0
  40. package/esm2022/lib/components/core/tab/tab-container/tab-container.component.mjs +60 -0
  41. package/esm2022/lib/components/core/tab/tab-item/tab-item.component.mjs +36 -0
  42. package/esm2022/lib/components/core/tab/tab.module.mjs +23 -0
  43. package/esm2022/lib/components/core/table/table.component.mjs +57 -0
  44. package/esm2022/lib/components/core/tooltip/tooltip.directive.mjs +142 -0
  45. package/esm2022/lib/components/form/checkbox/checkbox.component.mjs +49 -0
  46. package/esm2022/lib/components/form/form.module.mjs +55 -0
  47. package/esm2022/lib/components/form/input/input.component.mjs +239 -0
  48. package/esm2022/lib/components/form/password-input/password-input.component.mjs +155 -0
  49. package/esm2022/lib/components/form/radio-button/radio-button.component.mjs +69 -0
  50. package/esm2022/lib/components/form/range/range.component.mjs +64 -0
  51. package/esm2022/lib/components/form/rating/rating.component.mjs +51 -0
  52. package/esm2022/lib/components/form/select/select.component.mjs +70 -0
  53. package/esm2022/lib/components/form/textarea/textarea.component.mjs +47 -0
  54. package/esm2022/lib/components/form/upload-drag-drop/upload-drag-drop.component.mjs +140 -0
  55. package/esm2022/lib/components/form/upload-file-list/upload-file-list.component.mjs +112 -0
  56. package/esm2022/lib/components/navigation/back-button/back-button.component.mjs +71 -0
  57. package/esm2022/lib/components/navigation/back-to-top/back-to-top.component.mjs +64 -0
  58. package/esm2022/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.mjs +57 -0
  59. package/esm2022/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.mjs +23 -0
  60. package/esm2022/lib/components/navigation/breadcrumbs/breadcrumbs.module.mjs +18 -0
  61. package/esm2022/lib/components/navigation/header/header.component.mjs +58 -0
  62. package/esm2022/lib/components/utils/error-page/error-page.component.mjs +81 -0
  63. package/esm2022/lib/components/utils/icon/icon.component.mjs +55 -0
  64. package/esm2022/lib/components/utils/language-switcher/language-switcher.component.mjs +47 -0
  65. package/esm2022/lib/design-angular-kit-config.mjs +15 -0
  66. package/esm2022/lib/design-angular-kit.module.mjs +68 -0
  67. package/esm2022/lib/interfaces/core.mjs +16 -0
  68. package/esm2022/lib/interfaces/design-angular-kit-init.mjs +2 -0
  69. package/esm2022/lib/interfaces/form.mjs +2 -0
  70. package/esm2022/lib/interfaces/icon.mjs +165 -0
  71. package/esm2022/lib/interfaces/utils.mjs +2 -0
  72. package/esm2022/lib/pipes/mark-matching-text.pipe.mjs +37 -0
  73. package/esm2022/lib/services/notification/notification.service.mjs +120 -0
  74. package/esm2022/lib/utils/file-utils.mjs +73 -0
  75. package/esm2022/lib/utils/regex.mjs +31 -0
  76. package/esm2022/lib/validators/it-validators.mjs +153 -0
  77. package/esm2022/public_api.mjs +85 -0
  78. package/fesm2022/design-angular-kit.mjs +4649 -0
  79. package/fesm2022/design-angular-kit.mjs.map +1 -0
  80. package/lib/abstracts/{abstract-form-component.d.ts → abstract-form.component.d.ts} +12 -10
  81. package/lib/abstracts/abstract.component.d.ts +24 -8
  82. package/lib/components/components.module.d.ts +40 -0
  83. package/lib/components/core/accordion/accordion.component.d.ts +11 -9
  84. package/lib/components/core/alert/alert.component.d.ts +32 -5
  85. package/lib/components/core/badge/badge.directive.d.ts +12 -6
  86. package/lib/components/core/button/button.directive.d.ts +24 -17
  87. package/lib/components/core/callout/callout.component.d.ts +26 -17
  88. package/lib/components/core/card/card.component.d.ts +23 -13
  89. package/lib/components/core/carousel/carousel/carousel.component.d.ts +34 -15
  90. package/lib/components/core/carousel/carousel-item/carousel-item.component.d.ts +8 -3
  91. package/lib/components/core/carousel/carousel.module.d.ts +8 -0
  92. package/lib/components/core/chip/chip.component.d.ts +8 -5
  93. package/lib/components/core/collapse/collapse.component.d.ts +16 -15
  94. package/lib/components/core/dimmer/dimmer-buttons/dimmer-buttons.component.d.ts +3 -3
  95. package/lib/components/core/dimmer/dimmer-icon/dimmer-icon.component.d.ts +3 -3
  96. package/lib/components/core/dimmer/dimmer.component.d.ts +4 -4
  97. package/lib/components/core/dimmer/dimmer.module.d.ts +9 -0
  98. package/lib/components/core/dropdown/dropdown/dropdown.component.d.ts +53 -10
  99. package/lib/components/core/dropdown/dropdown-item/dropdown-item.component.d.ts +8 -13
  100. package/lib/components/core/dropdown/dropdown.module.d.ts +8 -0
  101. package/lib/components/core/forward/forward.directive.d.ts +3 -3
  102. package/lib/components/core/link/link.component.d.ts +9 -10
  103. package/lib/components/core/list/list/list.component.d.ts +6 -5
  104. package/lib/components/core/list/list-item/list-item.component.d.ts +12 -8
  105. package/lib/components/core/list/list.module.d.ts +8 -0
  106. package/lib/components/core/modal/modal.component.d.ts +83 -14
  107. package/lib/components/core/notifications/notifications.component.d.ts +25 -11
  108. package/lib/components/core/pagination/pagination.component.d.ts +71 -10
  109. package/lib/components/core/popover/popover.directive.d.ts +15 -14
  110. package/lib/components/core/progress-bar/progress-bar.component.d.ts +6 -6
  111. package/lib/components/core/progress-button/progress-button.component.d.ts +5 -5
  112. package/lib/components/core/spinner/spinner.component.d.ts +6 -6
  113. package/lib/components/core/steppers/steppers-container/steppers-container.component.d.ts +128 -0
  114. package/lib/components/core/steppers/steppers-item/steppers-item.component.d.ts +20 -0
  115. package/lib/components/core/steppers/steppers.module.d.ts +8 -0
  116. package/lib/components/core/tab/tab-container/tab-container.component.d.ts +14 -12
  117. package/lib/components/core/tab/tab-item/tab-item.component.d.ts +11 -11
  118. package/lib/components/core/tab/tab.module.d.ts +8 -0
  119. package/lib/components/core/table/table.component.d.ts +14 -14
  120. package/lib/components/core/tooltip/tooltip.directive.d.ts +12 -11
  121. package/lib/components/form/checkbox/checkbox.component.d.ts +13 -10
  122. package/lib/components/form/form.module.d.ts +16 -0
  123. package/lib/components/form/input/input.component.d.ts +59 -13
  124. package/lib/components/form/password-input/password-input.component.d.ts +33 -8
  125. package/lib/components/form/radio-button/radio-button.component.d.ts +7 -6
  126. package/lib/components/form/range/range.component.d.ts +42 -0
  127. package/lib/components/form/rating/rating.component.d.ts +24 -0
  128. package/lib/components/form/select/select.component.d.ts +12 -6
  129. package/lib/components/form/textarea/textarea.component.d.ts +5 -5
  130. package/lib/components/form/upload-drag-drop/upload-drag-drop.component.d.ts +8 -7
  131. package/lib/components/form/upload-file-list/upload-file-list.component.d.ts +11 -9
  132. package/lib/components/navigation/back-button/back-button.component.d.ts +4 -4
  133. package/lib/components/navigation/back-to-top/back-to-top.component.d.ts +28 -13
  134. package/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.d.ts +11 -9
  135. package/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.d.ts +6 -6
  136. package/lib/components/navigation/breadcrumbs/breadcrumbs.module.d.ts +8 -0
  137. package/lib/components/navigation/header/header.component.d.ts +9 -13
  138. package/lib/components/utils/error-page/error-page.component.d.ts +44 -0
  139. package/lib/components/utils/icon/icon.component.d.ts +14 -16
  140. package/lib/components/utils/language-switcher/language-switcher.component.d.ts +27 -0
  141. package/lib/design-angular-kit-config.d.ts +16 -0
  142. package/lib/design-angular-kit.module.d.ts +9 -4
  143. package/lib/interfaces/core.d.ts +40 -16
  144. package/lib/interfaces/design-angular-kit-init.d.ts +7 -0
  145. package/lib/interfaces/form.d.ts +32 -8
  146. package/lib/interfaces/icon.d.ts +4 -3
  147. package/lib/interfaces/utils.d.ts +10 -0
  148. package/lib/pipes/mark-matching-text.pipe.d.ts +10 -0
  149. package/lib/services/{notifications/notifications.service.d.ts → notification/notification.service.d.ts} +20 -20
  150. package/lib/utils/boolean-input.d.ts +1 -1
  151. package/lib/utils/file-utils.d.ts +5 -0
  152. package/lib/utils/regex.d.ts +5 -0
  153. package/lib/validators/it-validators.d.ts +16 -9
  154. package/package.json +13 -17
  155. package/public_api.d.ts +21 -4
  156. package/esm2020/lib/abstracts/abstract-form-component.mjs +0 -165
  157. package/esm2020/lib/abstracts/abstract.component.mjs +0 -20
  158. package/esm2020/lib/components/core/accordion/accordion.component.mjs +0 -20
  159. package/esm2020/lib/components/core/alert/alert.component.mjs +0 -29
  160. package/esm2020/lib/components/core/badge/badge.directive.mjs +0 -34
  161. package/esm2020/lib/components/core/button/button.directive.mjs +0 -78
  162. package/esm2020/lib/components/core/callout/callout.component.mjs +0 -59
  163. package/esm2020/lib/components/core/card/card.component.mjs +0 -58
  164. package/esm2020/lib/components/core/carousel/carousel/carousel.component.mjs +0 -66
  165. package/esm2020/lib/components/core/carousel/carousel-item/carousel-item.component.mjs +0 -14
  166. package/esm2020/lib/components/core/chip/chip.component.mjs +0 -89
  167. package/esm2020/lib/components/core/collapse/collapse.component.mjs +0 -96
  168. package/esm2020/lib/components/core/dimmer/dimmer-buttons/dimmer-buttons.component.mjs +0 -24
  169. package/esm2020/lib/components/core/dimmer/dimmer-icon/dimmer-icon.component.mjs +0 -11
  170. package/esm2020/lib/components/core/dimmer/dimmer.component.mjs +0 -59
  171. package/esm2020/lib/components/core/dropdown/dropdown/dropdown.component.mjs +0 -60
  172. package/esm2020/lib/components/core/dropdown/dropdown-item/dropdown-item.component.mjs +0 -71
  173. package/esm2020/lib/components/core/forward/forward.directive.mjs +0 -51
  174. package/esm2020/lib/components/core/link/link.component.mjs +0 -39
  175. package/esm2020/lib/components/core/list/list/list.component.mjs +0 -13
  176. package/esm2020/lib/components/core/list/list-item/list-item.component.mjs +0 -36
  177. package/esm2020/lib/components/core/modal/modal.component.mjs +0 -98
  178. package/esm2020/lib/components/core/notifications/notifications.component.mjs +0 -66
  179. package/esm2020/lib/components/core/pagination/pagination.component.mjs +0 -51
  180. package/esm2020/lib/components/core/popover/popover.directive.mjs +0 -176
  181. package/esm2020/lib/components/core/progress-bar/progress-bar.component.mjs +0 -34
  182. package/esm2020/lib/components/core/progress-button/progress-button.component.mjs +0 -27
  183. package/esm2020/lib/components/core/spinner/spinner.component.mjs +0 -35
  184. package/esm2020/lib/components/core/tab/tab-container/tab-container.component.mjs +0 -33
  185. package/esm2020/lib/components/core/tab/tab-item/tab-item.component.mjs +0 -36
  186. package/esm2020/lib/components/core/table/table.component.mjs +0 -57
  187. package/esm2020/lib/components/core/tooltip/tooltip.directive.mjs +0 -140
  188. package/esm2020/lib/components/form/checkbox/checkbox.component.mjs +0 -40
  189. package/esm2020/lib/components/form/input/input.component.mjs +0 -159
  190. package/esm2020/lib/components/form/password-input/password-input.component.mjs +0 -112
  191. package/esm2020/lib/components/form/radio-button/radio-button.component.mjs +0 -53
  192. package/esm2020/lib/components/form/select/select.component.mjs +0 -62
  193. package/esm2020/lib/components/form/textarea/textarea.component.mjs +0 -46
  194. package/esm2020/lib/components/form/upload-drag-drop/upload-drag-drop.component.mjs +0 -134
  195. package/esm2020/lib/components/form/upload-file-list/upload-file-list.component.mjs +0 -99
  196. package/esm2020/lib/components/navigation/back-button/back-button.component.mjs +0 -69
  197. package/esm2020/lib/components/navigation/back-to-top/back-to-top.component.mjs +0 -39
  198. package/esm2020/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.mjs +0 -45
  199. package/esm2020/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.mjs +0 -23
  200. package/esm2020/lib/components/navigation/header/header.component.mjs +0 -61
  201. package/esm2020/lib/components/utils/icon/icon.component.mjs +0 -54
  202. package/esm2020/lib/components/utils/not-found-page/not-found-page.component.mjs +0 -13
  203. package/esm2020/lib/design-angular-kit.module.mjs +0 -42
  204. package/esm2020/lib/interfaces/core.mjs +0 -16
  205. package/esm2020/lib/interfaces/form.mjs +0 -2
  206. package/esm2020/lib/interfaces/icon.mjs +0 -2
  207. package/esm2020/lib/modules/components.module.mjs +0 -241
  208. package/esm2020/lib/services/notifications/notifications.service.mjs +0 -122
  209. package/esm2020/lib/utils/file-utils.mjs +0 -65
  210. package/esm2020/lib/utils/regex.mjs +0 -26
  211. package/esm2020/lib/validators/it-validators.mjs +0 -131
  212. package/esm2020/public_api.mjs +0 -64
  213. package/fesm2015/design-angular-kit.mjs +0 -3271
  214. package/fesm2015/design-angular-kit.mjs.map +0 -1
  215. package/fesm2020/design-angular-kit.mjs +0 -3231
  216. package/fesm2020/design-angular-kit.mjs.map +0 -1
  217. package/lib/components/utils/not-found-page/not-found-page.component.d.ts +0 -5
  218. package/lib/modules/components.module.d.ts +0 -57
  219. /package/{esm2020 → esm2022}/design-angular-kit.mjs +0 -0
  220. /package/{esm2020 → esm2022}/lib/utils/boolean-input.mjs +0 -0
@@ -1,8 +1,8 @@
1
- import { AfterViewInit, ElementRef, EventEmitter } from '@angular/core';
1
+ import { AfterViewInit, ElementRef, EventEmitter, OnDestroy } from '@angular/core';
2
2
  import { ElementPlacement } from '../../../interfaces/core';
3
3
  import { BooleanInput } from '../../../utils/boolean-input';
4
4
  import * as i0 from "@angular/core";
5
- export declare class TooltipDirective implements AfterViewInit {
5
+ export declare class ItTooltipDirective implements AfterViewInit, OnDestroy {
6
6
  private readonly _elementRef;
7
7
  /**
8
8
  * Define the tooltip title
@@ -13,36 +13,37 @@ export declare class TooltipDirective implements AfterViewInit {
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: BooleanInput);
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);
45
45
  ngAfterViewInit(): void;
46
+ ngOnDestroy(): void;
46
47
  /**
47
48
  * Shows the tooltip of an item.
48
49
  */
@@ -75,6 +76,6 @@ export declare class TooltipDirective implements AfterViewInit {
75
76
  * Updates the position of an element's tooltip.
76
77
  */
77
78
  update(): void;
78
- static ɵfac: i0.ɵɵFactoryDeclaration<TooltipDirective, never>;
79
- 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>;
80
81
  }
@@ -1,30 +1,33 @@
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
+ import { BooleanInput } from '../../../utils/boolean-input';
3
4
  import * as i0 from "@angular/core";
4
- export declare class CheckboxComponent extends AbstractFormComponent<boolean> {
5
+ export declare class ItCheckboxComponent extends ItAbstractFormComponent<boolean | null | undefined> implements OnInit, OnChanges {
5
6
  /**
6
7
  * If show checkbox as toggle
7
8
  */
8
- toggle?: BooleanInput;
9
+ toggle: BooleanInput | undefined;
9
10
  /**
10
11
  * If show checkbox inline
11
12
  */
12
- inline?: BooleanInput;
13
+ inline: BooleanInput | undefined;
13
14
  /**
14
15
  * If is checkbox group
15
16
  */
16
- group?: BooleanInput;
17
+ group: BooleanInput | undefined;
17
18
  /**
18
19
  * If checkbox is checked
19
20
  */
20
- checked?: BooleanInput;
21
+ checked: BooleanInput | undefined;
21
22
  /**
22
23
  * If checkbox is indeterminate
23
24
  */
24
- indeterminate?: BooleanInput;
25
+ indeterminate: BooleanInput | undefined;
25
26
  get isIndeterminate(): boolean;
26
27
  get isGroup(): boolean;
27
28
  ngOnInit(): void;
28
- static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxComponent, never>;
29
- static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "it-checkbox[id][label]", never, { "toggle": "toggle"; "inline": "inline"; "group": "group"; "checked": "checked"; "indeterminate": "indeterminate"; }, {}, never, ["*", "[error]"], false, never>;
29
+ ngOnChanges(changes: SimpleChanges): void;
30
+ private markAsChecked;
31
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItCheckboxComponent, never>;
32
+ 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>;
30
33
  }
@@ -0,0 +1,16 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./checkbox/checkbox.component";
3
+ import * as i2 from "./input/input.component";
4
+ import * as i3 from "./password-input/password-input.component";
5
+ import * as i4 from "./radio-button/radio-button.component";
6
+ import * as i5 from "./range/range.component";
7
+ import * as i6 from "./rating/rating.component";
8
+ import * as i7 from "./select/select.component";
9
+ import * as i8 from "./textarea/textarea.component";
10
+ import * as i9 from "./upload-drag-drop/upload-drag-drop.component";
11
+ import * as i10 from "./upload-file-list/upload-file-list.component";
12
+ export declare class ItFormModule {
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItFormModule, never>;
14
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ItFormModule, never, [typeof i1.ItCheckboxComponent, typeof i2.ItInputComponent, typeof i3.ItPasswordInputComponent, typeof i4.ItRadioButtonComponent, typeof i5.ItRangeComponent, typeof i6.ItRatingComponent, typeof i7.ItSelectComponent, typeof i8.ItTextareaComponent, typeof i9.ItUploadDragDropComponent, typeof i10.ItUploadFileListComponent], [typeof i1.ItCheckboxComponent, typeof i2.ItInputComponent, typeof i3.ItPasswordInputComponent, typeof i4.ItRadioButtonComponent, typeof i5.ItRangeComponent, typeof i6.ItRatingComponent, typeof i7.ItSelectComponent, typeof i8.ItTextareaComponent, typeof i9.ItUploadDragDropComponent, typeof i10.ItUploadFileListComponent]>;
15
+ static ɵinj: i0.ɵɵInjectorDeclaration<ItFormModule>;
16
+ }
@@ -1,9 +1,10 @@
1
- import { AbstractFormComponent } from '../../../abstracts/abstract-form-component';
2
- import { InputControlType } from '../../../interfaces/form';
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { ItAbstractFormComponent } from '../../../abstracts/abstract-form.component';
3
+ import { AutocompleteItem, InputControlType } from '../../../interfaces/form';
3
4
  import { BooleanInput } from '../../../utils/boolean-input';
4
5
  import { Observable } from 'rxjs';
5
6
  import * as i0 from "@angular/core";
6
- export declare class InputComponent extends AbstractFormComponent<string | number> {
7
+ export declare class ItInputComponent extends ItAbstractFormComponent<string | number | null | undefined> implements OnInit {
7
8
  /**
8
9
  * The input type
9
10
  * @default text
@@ -16,36 +17,69 @@ export declare class InputComponent extends AbstractFormComponent<string | numbe
16
17
  /**
17
18
  * The input description
18
19
  */
19
- description?: string;
20
+ description: string | undefined;
20
21
  /**
21
22
  * To prevent modification of the contained value.
22
23
  * - <b>plaintext</b>: Readonly field in the form stylized as plain text
23
24
  */
24
- readonly?: BooleanInput | 'plaintext';
25
+ readonly: BooleanInput | 'plaintext' | undefined;
26
+ /**
27
+ * The max date value [Used only in type = 'date']
28
+ * @default '9999-12-31'
29
+ * @example 'yyyy-mm-dd'
30
+ */
31
+ maxDate?: string;
32
+ /**
33
+ * The min date value [Used only in type = 'date']
34
+ * @example 'yyyy-mm-dd'
35
+ */
36
+ minDate: string | undefined;
25
37
  /**
26
38
  * The max value [Used only in type = 'number']
27
39
  */
28
- max?: number;
40
+ max: number | undefined;
29
41
  /**
30
42
  * The min value [Used only in type = 'number']
31
43
  */
32
- min?: number;
44
+ min: number | undefined;
33
45
  /**
34
46
  * The step value [Used only in type = 'number']
35
47
  */
36
- step?: number | 'any';
48
+ step: number | 'any' | undefined;
37
49
  /**
38
50
  * If is a currency number [Used only in type = 'number']
39
51
  */
40
- currency?: BooleanInput;
52
+ currency: BooleanInput | undefined;
41
53
  /**
42
54
  * If is a percentage number [Used only in type = 'number']
43
55
  */
44
- percentage?: BooleanInput;
56
+ percentage: BooleanInput | undefined;
45
57
  /**
46
58
  * To make the numeric field automatically resize according to the value contained in it. [Used only in type = 'number']
47
59
  */
48
- adaptive?: BooleanInput;
60
+ adaptive: BooleanInput | undefined;
61
+ /**
62
+ * Input autocomplete attribute (Browser autocomplete)
63
+ * @default undefined
64
+ */
65
+ autocomplete: string | undefined;
66
+ /**
67
+ * Indicates the list of searchable elements on which to base the input autocomplete system [Optional. Used only in type = 'search']
68
+ * If you need to retrieve items via API, can pass a function of Observable
69
+ * @default undefined
70
+ */
71
+ autocompleteData?: Array<AutocompleteItem> | ((search?: string | number | null) => Observable<Array<AutocompleteItem>>);
72
+ /**
73
+ * Time span [ms] has passed without another source emission, to delay data filtering.
74
+ * Useful when the user is typing multiple letters
75
+ * @default 300 [ms]
76
+ */
77
+ autocompleteDebounceTime: number;
78
+ /**
79
+ * Fired when the Autocomplete Item has been selected
80
+ */
81
+ autocompleteSelectedEvent: EventEmitter<AutocompleteItem>;
82
+ protected showAutocompletion: boolean;
49
83
  get isActiveLabel(): boolean;
50
84
  /**
51
85
  * Check is readonly field
@@ -55,12 +89,24 @@ export declare class InputComponent extends AbstractFormComponent<string | numbe
55
89
  * Return the invalid message string from TranslateService
56
90
  */
57
91
  get invalidMessage(): Observable<string>;
92
+ /** Observable da cui vengono emessi i risultati dell'auto completamento */
93
+ autocompleteResults$: Observable<{
94
+ searchedValue: string | number | null | undefined;
95
+ relatedEntries: Array<AutocompleteItem>;
96
+ }>;
58
97
  ngOnInit(): void;
59
98
  /**
60
99
  * Increment or decrease the input number value of step
61
100
  * @param decrease true to decrease value
62
101
  */
63
102
  incrementNumber(decrease?: boolean): void;
64
- static ɵfac: i0.ɵɵFactoryDeclaration<InputComponent, never>;
65
- static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "it-input[id]", never, { "type": "type"; "placeholder": "placeholder"; "description": "description"; "readonly": "readonly"; "max": "max"; "min": "min"; "step": "step"; "currency": "currency"; "percentage": "percentage"; "adaptive": "adaptive"; }, {}, never, ["[prepend]", "[prependText]", "[append]", "[appendText]", "[error]"], false, never>;
103
+ /**
104
+ * Create the autocomplete list
105
+ */
106
+ private getAutocompleteResults$;
107
+ onEntryClick(entry: AutocompleteItem, event: Event): void;
108
+ autocompleteItemTrackByValueFn(index: number, item: AutocompleteItem): string;
109
+ onKeyDown(): void;
110
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItInputComponent, never>;
111
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItInputComponent, "it-input", never, { "type": { "alias": "type"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "description": { "alias": "description"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "max": { "alias": "max"; "required": false; }; "min": { "alias": "min"; "required": false; }; "step": { "alias": "step"; "required": false; }; "currency": { "alias": "currency"; "required": false; }; "percentage": { "alias": "percentage"; "required": false; }; "adaptive": { "alias": "adaptive"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "autocompleteData": { "alias": "autocompleteData"; "required": false; }; "autocompleteDebounceTime": { "alias": "autocompleteDebounceTime"; "required": false; }; }, { "autocompleteSelectedEvent": "autocompleteSelectedEvent"; }, never, ["[prepend]", "[prependText]", "[append]", "[appendText]", "[error]"], true, never>;
66
112
  }
@@ -1,8 +1,14 @@
1
- import { AbstractFormComponent } from '../../../abstracts/abstract-form-component';
1
+ import { AfterViewInit, OnInit } from '@angular/core';
2
+ import { ItAbstractFormComponent } from '../../../abstracts/abstract-form.component';
2
3
  import { Observable } from 'rxjs';
3
4
  import { BooleanInput } from '../../../utils/boolean-input';
4
5
  import * as i0 from "@angular/core";
5
- export declare class PasswordInputComponent extends AbstractFormComponent<string> {
6
+ export declare class ItPasswordInputComponent extends ItAbstractFormComponent<string | null | undefined> implements OnInit, AfterViewInit {
7
+ /**
8
+ * The field is required
9
+ * @default true
10
+ */
11
+ required: boolean;
6
12
  /**
7
13
  * The password minimum length
8
14
  * @default 10
@@ -34,21 +40,40 @@ export declare class PasswordInputComponent extends AbstractFormComponent<string
34
40
  placeholder: string;
35
41
  /**
36
42
  * The input description
43
+ * - <b>true</b>: show the StrengthMeter description message
44
+ * - <b>string</b>: show custom description
45
+ * @default true for StrengthMeter mode else is undefined
37
46
  */
38
- description?: string;
47
+ description: string | true | undefined;
39
48
  /**
40
49
  * Enable to show the strength meter
50
+ * @default false
51
+ */
52
+ showStrengthMeter: BooleanInput | undefined;
53
+ /**
54
+ * Is the confirmation password field
55
+ * @default false
41
56
  */
42
- showStrengthMeter?: BooleanInput;
43
- inputPasswordBs?: any;
57
+ confirmPasswordField: BooleanInput;
58
+ /**
59
+ * Input autocomplete attribute (Browser autocomplete)
60
+ * @default undefined
61
+ */
62
+ autocomplete: string | undefined;
63
+ private inputPasswordBs?;
44
64
  private inputElement?;
45
65
  ngOnInit(): void;
46
66
  ngAfterViewInit(): void;
47
- get isStrengthMeter(): boolean;
67
+ protected get isStrengthMeter(): boolean;
68
+ protected get isConfirmPasswordField(): boolean;
48
69
  /**
49
70
  * Return the invalid message string from TranslateService
50
71
  */
51
72
  get invalidMessage(): Observable<string>;
52
- static ɵfac: i0.ɵɵFactoryDeclaration<PasswordInputComponent, never>;
53
- static ɵcmp: i0.ɵɵComponentDeclaration<PasswordInputComponent, "it-password-input[id]", never, { "minLength": "minLength"; "useNumber": "useNumber"; "useCapitalCase": "useCapitalCase"; "useSmallCase": "useSmallCase"; "useSpecialCharacters": "useSpecialCharacters"; "placeholder": "placeholder"; "description": "description"; "showStrengthMeter": "showStrengthMeter"; }, {}, never, ["[error]"], false, never>;
73
+ /**
74
+ * Retrieve the default StrengthMeter description message from TranslateService
75
+ */
76
+ protected get strengthMeterDescription(): Observable<string>;
77
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItPasswordInputComponent, never>;
78
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItPasswordInputComponent, "it-password-input", never, { "required": { "alias": "required"; "required": false; }; "minLength": { "alias": "minLength"; "required": false; }; "useNumber": { "alias": "useNumber"; "required": false; }; "useCapitalCase": { "alias": "useCapitalCase"; "required": false; }; "useSmallCase": { "alias": "useSmallCase"; "required": false; }; "useSpecialCharacters": { "alias": "useSpecialCharacters"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "description": { "alias": "description"; "required": false; }; "showStrengthMeter": { "alias": "showStrengthMeter"; "required": false; }; "confirmPasswordField": { "alias": "confirmPasswordField"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; }, {}, never, ["[error]"], true, never>;
54
79
  }
@@ -1,11 +1,12 @@
1
- import { AbstractFormComponent } from '../../../abstracts/abstract-form-component';
1
+ import { OnInit } from '@angular/core';
2
+ import { ItAbstractFormComponent } from '../../../abstracts/abstract-form.component';
2
3
  import { BooleanInput } from '../../../utils/boolean-input';
3
4
  import * as i0 from "@angular/core";
4
- export declare class RadioButtonComponent extends AbstractFormComponent<string | number> {
5
+ export declare class ItRadioButtonComponent extends ItAbstractFormComponent<string | number | null | undefined> implements OnInit {
5
6
  /**
6
7
  * The radio value
7
8
  */
8
- value?: string | number;
9
+ value: string | number | undefined | null;
9
10
  /**
10
11
  * If show radio inline
11
12
  * @default false
@@ -19,11 +20,11 @@ export declare class RadioButtonComponent extends AbstractFormComponent<string |
19
20
  /**
20
21
  * If is radio is checked
21
22
  */
22
- checked?: BooleanInput;
23
+ checked: BooleanInput | undefined;
23
24
  get isInline(): boolean;
24
25
  get isGroup(): boolean;
25
26
  get name(): string;
26
27
  ngOnInit(): void;
27
- static ɵfac: i0.ɵɵFactoryDeclaration<RadioButtonComponent, never>;
28
- static ɵcmp: i0.ɵɵComponentDeclaration<RadioButtonComponent, "it-radio-button[id][label][value]", never, { "value": "value"; "inline": "inline"; "group": "group"; "checked": "checked"; }, {}, never, ["*", "[error]", "[error]"], false, never>;
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItRadioButtonComponent, never>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItRadioButtonComponent, "it-radio-button[value]", never, { "value": { "alias": "value"; "required": false; }; "inline": { "alias": "inline"; "required": false; }; "group": { "alias": "group"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; }, {}, never, ["[label]", "*", "[error]", "[error]"], true, never>;
29
30
  }
@@ -0,0 +1,42 @@
1
+ import { ElementRef, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
2
+ import { ItAbstractFormComponent } from '../../../abstracts/abstract-form.component';
3
+ import * as i0 from "@angular/core";
4
+ export declare class ItRangeComponent extends ItAbstractFormComponent<number | null | undefined> implements OnInit, OnChanges, OnDestroy {
5
+ /**
6
+ * The max value
7
+ */
8
+ max?: number;
9
+ /**
10
+ * The min value
11
+ */
12
+ min?: number;
13
+ /**
14
+ * The step value
15
+ */
16
+ step?: number | 'any';
17
+ /**
18
+ * The color on left of thumb [Require rightColor]
19
+ * @example '#0d6efd' or 'var(--bs-primary)'
20
+ * @default undefined ('var(--bs-gray-300)')
21
+ */
22
+ leftColor?: string;
23
+ /**
24
+ * The color on right of thumb [Require leftColor]
25
+ * @example '#0d6efd' or 'var(--bs-primary)'
26
+ * @default undefined ('var(--bs-gray-300)')
27
+ */
28
+ rightColor?: string;
29
+ slider: ElementRef<HTMLInputElement>;
30
+ private subscription?;
31
+ ngOnInit(): void;
32
+ ngOnChanges(changes: SimpleChanges): void;
33
+ ngOnDestroy(): void;
34
+ writeValue(value: number | null | undefined): void;
35
+ /**
36
+ * Update the percentage of slider color
37
+ * @private
38
+ */
39
+ private updateSliderColor;
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItRangeComponent, never>;
41
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItRangeComponent, "it-range", never, { "max": { "alias": "max"; "required": false; }; "min": { "alias": "min"; "required": false; }; "step": { "alias": "step"; "required": false; }; "leftColor": { "alias": "leftColor"; "required": false; }; "rightColor": { "alias": "rightColor"; "required": false; }; }, {}, never, ["*"], true, never>;
42
+ }
@@ -0,0 +1,24 @@
1
+ import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
+ import { ItAbstractFormComponent } from '../../../abstracts/abstract-form.component';
3
+ import * as i0 from "@angular/core";
4
+ export declare class ItRatingComponent extends ItAbstractFormComponent<number | null | undefined> implements OnInit, OnChanges {
5
+ /**
6
+ * The rating value
7
+ */
8
+ value: number | undefined;
9
+ /**
10
+ * Number of stars to show
11
+ * @default 5
12
+ */
13
+ starCount: number;
14
+ protected stars: Array<number>;
15
+ ngOnChanges(changes: SimpleChanges): void;
16
+ ngOnInit(): void;
17
+ /**
18
+ * Generate the array of stars
19
+ * @private
20
+ */
21
+ private generateStars;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItRatingComponent, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItRatingComponent, "it-rating", never, { "value": { "alias": "value"; "required": false; }; "starCount": { "alias": "starCount"; "required": false; }; }, {}, never, never, true, never>;
24
+ }
@@ -1,19 +1,25 @@
1
- import { AbstractFormComponent } from '../../../abstracts/abstract-form-component';
1
+ import { OnInit } from '@angular/core';
2
+ import { ItAbstractFormComponent } from '../../../abstracts/abstract-form.component';
2
3
  import { SelectControlGroup, SelectControlOption } from '../../../interfaces/form';
3
4
  import * as i0 from "@angular/core";
4
- export declare class SelectComponent extends AbstractFormComponent {
5
+ export declare class ItSelectComponent extends ItAbstractFormComponent implements OnInit {
5
6
  /**
6
7
  * The select options
7
8
  */
8
- options: Array<SelectControlOption>;
9
+ options: Array<SelectControlOption> | undefined;
9
10
  /**
10
11
  * The select group options
11
12
  */
12
- groups?: Array<SelectControlGroup>;
13
+ groups: Array<SelectControlGroup> | undefined;
13
14
  /**
14
15
  * The select description
15
16
  */
16
17
  description?: string;
18
+ /**
19
+ * If set, add a `disabled selected` option with value `null` and as text the value of the attribute
20
+ * @example 'Select an option'
21
+ */
22
+ defaultOption?: string;
17
23
  ngOnInit(): void;
18
24
  /**
19
25
  * Check if the option is selected
@@ -25,6 +31,6 @@ export declare class SelectComponent extends AbstractFormComponent {
25
31
  * @param option the option
26
32
  */
27
33
  optionIsDisabled(option: SelectControlOption): boolean;
28
- static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent, never>;
29
- static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "it-select[id][options]", never, { "options": "options"; "groups": "groups"; "description": "description"; }, {}, never, never, false, never>;
34
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItSelectComponent, never>;
35
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItSelectComponent, "it-select", never, { "options": { "alias": "options"; "required": false; }; "groups": { "alias": "groups"; "required": false; }; "description": { "alias": "description"; "required": false; }; "defaultOption": { "alias": "defaultOption"; "required": false; }; }, {}, never, ["*", "[error]"], true, never>;
30
36
  }
@@ -1,7 +1,7 @@
1
- import { AbstractFormComponent } from '../../../abstracts/abstract-form-component';
1
+ import { ItAbstractFormComponent } from '../../../abstracts/abstract-form.component';
2
2
  import { Observable } from 'rxjs';
3
3
  import * as i0 from "@angular/core";
4
- export declare class TextareaComponent extends AbstractFormComponent<string> {
4
+ export declare class ItTextareaComponent extends ItAbstractFormComponent<string | null | undefined> {
5
5
  /**
6
6
  * Textarea Rows
7
7
  * @default 3
@@ -14,11 +14,11 @@ export declare class TextareaComponent extends AbstractFormComponent<string> {
14
14
  /**
15
15
  * The input description
16
16
  */
17
- description?: string;
17
+ description: string | undefined;
18
18
  /**
19
19
  * Return the invalid message string from TranslateService
20
20
  */
21
21
  get invalidMessage(): Observable<string>;
22
- static ɵfac: i0.ɵɵFactoryDeclaration<TextareaComponent, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<TextareaComponent, "it-textarea[id]", never, { "rows": "rows"; "placeholder": "placeholder"; "description": "description"; }, {}, never, ["[error]"], false, never>;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItTextareaComponent, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItTextareaComponent, "it-textarea", never, { "rows": { "alias": "rows"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "description": { "alias": "description"; "required": false; }; }, {}, never, ["[error]"], true, never>;
24
24
  }
@@ -1,7 +1,8 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { AbstractComponent } from '../../../abstracts/abstract.component';
1
+ import { AfterViewInit, EventEmitter } from '@angular/core';
2
+ import { ItAbstractComponent } from '../../../abstracts/abstract.component';
3
+ import { ProgressDonut } from 'bootstrap-italia';
3
4
  import * as i0 from "@angular/core";
4
- export declare class UploadDragDropComponent extends AbstractComponent {
5
+ export declare class ItUploadDragDropComponent extends ItAbstractComponent implements AfterViewInit {
5
6
  /**
6
7
  * The accepted file type to upload <br>
7
8
  * Possible values: <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types">MIME Types</a> separated by comma
@@ -16,7 +17,7 @@ export declare class UploadDragDropComponent extends AbstractComponent {
16
17
  isDragover: boolean;
17
18
  isLoading: boolean;
18
19
  isSuccess: boolean;
19
- donut?: any;
20
+ donut?: ProgressDonut;
20
21
  private donutElement?;
21
22
  filename?: string;
22
23
  extension?: string;
@@ -37,7 +38,7 @@ export declare class UploadDragDropComponent extends AbstractComponent {
37
38
  start(file: File): void;
38
39
  /**
39
40
  * Percentage of upload
40
- * @param value the percentage
41
+ * @param value the percentage [0 - 100]
41
42
  */
42
43
  progress(value: number): void;
43
44
  /**
@@ -48,6 +49,6 @@ export declare class UploadDragDropComponent extends AbstractComponent {
48
49
  * Reset file uploader
49
50
  */
50
51
  reset(): void;
51
- static ɵfac: i0.ɵɵFactoryDeclaration<UploadDragDropComponent, never>;
52
- static ɵcmp: i0.ɵɵComponentDeclaration<UploadDragDropComponent, "it-upload-drag-drop[id]", ["itUploadDragDrop"], { "accept": "accept"; }, { "fileStartUpload": "fileStartUpload"; }, never, never, false, never>;
52
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItUploadDragDropComponent, never>;
53
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItUploadDragDropComponent, "it-upload-drag-drop", ["itUploadDragDrop"], { "accept": { "alias": "accept"; "required": false; }; }, { "fileStartUpload": "fileStartUpload"; }, never, never, true, never>;
53
54
  }
@@ -1,15 +1,17 @@
1
1
  import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
- import { AbstractComponent } from "../../../abstracts/abstract.component";
3
- import { BooleanInput } from "../../../utils/boolean-input";
4
- import { UploadFileListItem } from "../../../interfaces/form";
2
+ import { ItAbstractComponent } from '../../../abstracts/abstract.component';
3
+ import { BooleanInput } from '../../../utils/boolean-input';
4
+ import { UploadFileListItem } from '../../../interfaces/form';
5
5
  import * as i0 from "@angular/core";
6
- export declare class UploadFileListComponent extends AbstractComponent implements OnInit, OnChanges {
6
+ export declare class ItUploadFileListComponent extends ItAbstractComponent implements OnInit, OnChanges {
7
7
  /**
8
8
  * The list of files to show in list
9
9
  */
10
10
  fileList: Array<UploadFileListItem>;
11
11
  /**
12
- * The accepted file type to upload
12
+ * The accepted file type to upload <br>
13
+ * Possible values: <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types">MIME Types</a> separated by comma
14
+ * @example application/pdf,image/png
13
15
  * @default *
14
16
  */
15
17
  accept: string;
@@ -20,11 +22,11 @@ export declare class UploadFileListComponent extends AbstractComponent implement
20
22
  /**
21
23
  * If is file list image
22
24
  */
23
- images?: BooleanInput;
25
+ images: BooleanInput | undefined;
24
26
  /**
25
27
  * Hide the load button
26
28
  */
27
- hideLoadButton?: BooleanInput;
29
+ hideLoadButton: BooleanInput | undefined;
28
30
  /**
29
31
  * Fired when upload new files
30
32
  */
@@ -52,6 +54,6 @@ export declare class UploadFileListComponent extends AbstractComponent implement
52
54
  * @param file
53
55
  */
54
56
  getFileSize(file: File): string;
55
- static ɵfac: i0.ɵɵFactoryDeclaration<UploadFileListComponent, never>;
56
- static ɵcmp: i0.ɵɵComponentDeclaration<UploadFileListComponent, "it-upload-file-list[id][fileList]", never, { "fileList": "fileList"; "accept": "accept"; "multiple": "multiple"; "images": "images"; "hideLoadButton": "hideLoadButton"; }, { "uploadFiles": "uploadFiles"; "deleteItem": "deleteItem"; }, never, never, false, never>;
57
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItUploadFileListComponent, never>;
58
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItUploadFileListComponent, "it-upload-file-list[fileList]", never, { "fileList": { "alias": "fileList"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "images": { "alias": "images"; "required": false; }; "hideLoadButton": { "alias": "hideLoadButton"; "required": false; }; }, { "uploadFiles": "uploadFiles"; "deleteItem": "deleteItem"; }, never, never, true, never>;
57
59
  }
@@ -1,7 +1,7 @@
1
1
  import { Location } from '@angular/common';
2
2
  import { BooleanInput } from '../../../utils/boolean-input';
3
3
  import * as i0 from "@angular/core";
4
- export declare class BackButtonComponent {
4
+ export declare class ItBackButtonComponent {
5
5
  readonly _location: Location;
6
6
  /**
7
7
  * Back button style
@@ -41,7 +41,7 @@ export declare class BackButtonComponent {
41
41
  /**
42
42
  * Go back function
43
43
  */
44
- goBack(): void;
45
- static ɵfac: i0.ɵɵFactoryDeclaration<BackButtonComponent, never>;
46
- static ɵcmp: i0.ɵɵComponentDeclaration<BackButtonComponent, "it-back-button", ["itBackButton"], { "buttonStyle": "buttonStyle"; "direction": "direction"; "showIcon": "showIcon"; "showText": "showText"; "backFn": "backFn"; }, {}, never, never, false, never>;
44
+ goBack(event: Event): void;
45
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItBackButtonComponent, never>;
46
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItBackButtonComponent, "it-back-button", ["itBackButton"], { "buttonStyle": { "alias": "buttonStyle"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "showIcon": { "alias": "showIcon"; "required": false; }; "showText": { "alias": "showText"; "required": false; }; "backFn": { "alias": "backFn"; "required": false; }; }, {}, never, never, true, never>;
47
47
  }