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,27 +1,42 @@
1
- import { BooleanInput } from "../../../utils/boolean-input";
2
- import { AbstractComponent } from "../../../abstracts/abstract.component";
1
+ import { AfterViewInit } from '@angular/core';
2
+ import { BooleanInput } from '../../../utils/boolean-input';
3
+ import { ItAbstractComponent } from '../../../abstracts/abstract.component';
3
4
  import * as i0 from "@angular/core";
4
- export declare class BackToTopComponent extends AbstractComponent {
5
- /**
6
- * The back to top ID
7
- * @default 'back-to-top-button'
8
- */
9
- id: string;
5
+ export declare class ItBackToTopComponent extends ItAbstractComponent implements AfterViewInit {
10
6
  /**
11
7
  * Show small button
12
8
  */
13
- small?: BooleanInput;
9
+ small: BooleanInput | undefined;
14
10
  /**
15
11
  * Show shadow
16
12
  */
17
- shadow?: BooleanInput;
13
+ shadow: BooleanInput | undefined;
18
14
  /**
19
15
  * Button usable button on a dark background
20
16
  */
21
- dark?: BooleanInput;
17
+ dark: BooleanInput | undefined;
18
+ private backToTop?;
19
+ private backToTopElement?;
22
20
  get isSmall(): boolean;
23
21
  get isShadow(): boolean;
24
22
  get isDark(): boolean;
25
- static ɵfac: i0.ɵɵFactoryDeclaration<BackToTopComponent, never>;
26
- static ɵcmp: i0.ɵɵComponentDeclaration<BackToTopComponent, "it-back-to-top", never, { "id": "id"; "small": "small"; "shadow": "shadow"; "dark": "dark"; }, {}, never, never, false, never>;
23
+ ngAfterViewInit(): void;
24
+ /**
25
+ * Show button
26
+ */
27
+ show(): void;
28
+ /**
29
+ * Hide the button
30
+ */
31
+ hide(): void;
32
+ /**
33
+ * Activates the scroll animation towards the Y coordinate indicated by the positionTop option
34
+ */
35
+ scrollToTop(): void;
36
+ /**
37
+ * Eliminate component features
38
+ */
39
+ dispose(): void;
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItBackToTopComponent, never>;
41
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItBackToTopComponent, "it-back-to-top", ["itBackToTop"], { "small": { "alias": "small"; "required": false; }; "shadow": { "alias": "shadow"; "required": false; }; "dark": { "alias": "dark"; "required": false; }; }, {}, never, never, true, never>;
27
42
  }
@@ -1,8 +1,8 @@
1
- import { ChangeDetectorRef, QueryList } from '@angular/core';
2
- import { BreadcrumbItemComponent } from "../breadcrumb-item/breadcrumb-item.component";
3
- import { BooleanInput } from "../../../../utils/boolean-input";
1
+ import { AfterViewInit, ChangeDetectorRef, OnDestroy, QueryList } from '@angular/core';
2
+ import { ItBreadcrumbItemComponent } from '../breadcrumb-item/breadcrumb-item.component';
3
+ import { BooleanInput } from '../../../../utils/boolean-input';
4
4
  import * as i0 from "@angular/core";
5
- export declare class BreadcrumbComponent {
5
+ export declare class ItBreadcrumbComponent implements AfterViewInit, OnDestroy {
6
6
  private readonly _changeDetectorRef;
7
7
  /**
8
8
  * The character to use as separator
@@ -12,19 +12,21 @@ export declare class BreadcrumbComponent {
12
12
  /**
13
13
  * Dark style
14
14
  */
15
- dark?: BooleanInput;
15
+ dark: BooleanInput | undefined;
16
16
  /**
17
17
  * The tab items
18
18
  */
19
- items?: QueryList<BreadcrumbItemComponent>;
19
+ items?: QueryList<ItBreadcrumbItemComponent>;
20
20
  get isDark(): boolean;
21
+ private itemSubscriptions?;
21
22
  constructor(_changeDetectorRef: ChangeDetectorRef);
22
23
  ngAfterViewInit(): void;
24
+ ngOnDestroy(): void;
23
25
  /**
24
26
  * Check if index is last item
25
27
  * @param index
26
28
  */
27
- isLastItem(index: number): boolean;
28
- static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbComponent, never>;
29
- static ɵcmp: i0.ɵɵComponentDeclaration<BreadcrumbComponent, "it-breadcrumb", never, { "separator": "separator"; "dark": "dark"; }, {}, ["items"], never, false, never>;
29
+ protected isLastItem(index: number): boolean;
30
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItBreadcrumbComponent, never>;
31
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItBreadcrumbComponent, "it-breadcrumb", never, { "separator": { "alias": "separator"; "required": false; }; "dark": { "alias": "dark"; "required": false; }; }, {}, ["items"], never, true, never>;
30
32
  }
@@ -1,22 +1,22 @@
1
1
  import { TemplateRef } from '@angular/core';
2
2
  import { BooleanInput } from '../../../../utils/boolean-input';
3
3
  import { IconName } from '../../../../interfaces/icon';
4
- import { LinkComponent } from '../../../core/link/link.component';
4
+ import { ItLinkComponent } from '../../../core/link/link.component';
5
5
  import * as i0 from "@angular/core";
6
- export declare class BreadcrumbItemComponent extends LinkComponent {
6
+ export declare class ItBreadcrumbItemComponent extends ItLinkComponent {
7
7
  /**
8
8
  * Is active breadcrumb item
9
9
  */
10
- active?: BooleanInput;
10
+ active: BooleanInput | undefined;
11
11
  /**
12
12
  * The name of icon to show
13
13
  */
14
- iconName?: IconName;
14
+ iconName: IconName | undefined;
15
15
  /**
16
16
  * The content of item
17
17
  */
18
18
  htmlContent: TemplateRef<any>;
19
19
  get isActive(): boolean;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbItemComponent, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<BreadcrumbItemComponent, "it-breadcrumb-item", never, { "active": "active"; "iconName": "iconName"; }, {}, never, ["*"], false, never>;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItBreadcrumbItemComponent, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItBreadcrumbItemComponent, "it-breadcrumb-item", never, { "active": { "alias": "active"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; }, {}, never, ["*"], true, never>;
22
22
  }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./breadcrumb/breadcrumb.component";
3
+ import * as i2 from "./breadcrumb-item/breadcrumb-item.component";
4
+ export declare class ItBreadcrumbsModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItBreadcrumbsModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ItBreadcrumbsModule, never, [typeof i1.ItBreadcrumbComponent, typeof i2.ItBreadcrumbItemComponent], [typeof i1.ItBreadcrumbComponent, typeof i2.ItBreadcrumbItemComponent]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<ItBreadcrumbsModule>;
8
+ }
@@ -1,13 +1,11 @@
1
- import { ElementRef, EventEmitter, Renderer2 } from '@angular/core';
2
- import { BooleanInput } from "../../../utils/boolean-input";
3
- import { AbstractComponent } from "../../../abstracts/abstract.component";
1
+ import { EventEmitter } from '@angular/core';
2
+ import { BooleanInput } from '../../../utils/boolean-input';
3
+ import { ItAbstractComponent } from '../../../abstracts/abstract.component';
4
4
  import * as i0 from "@angular/core";
5
- export declare class HeaderComponent extends AbstractComponent {
6
- protected readonly _renderer: Renderer2;
7
- protected readonly _elementRef: ElementRef;
8
- light?: BooleanInput;
5
+ export declare class ItHeaderComponent extends ItAbstractComponent {
6
+ light: BooleanInput | undefined;
9
7
  showSlim?: BooleanInput;
10
- slimTitle?: string;
8
+ slimTitle: string | undefined;
11
9
  loginStyle: 'none' | 'default' | 'full';
12
10
  smallHeader?: BooleanInput;
13
11
  showSearch?: BooleanInput;
@@ -15,14 +13,12 @@ export declare class HeaderComponent extends AbstractComponent {
15
13
  searchClick: EventEmitter<Event>;
16
14
  /**
17
15
  * TODO: complete header
18
- * @param _renderer
19
- * @param _elementRef
20
16
  */
21
- constructor(_renderer: Renderer2, _elementRef: ElementRef);
17
+ constructor();
22
18
  get isLight(): boolean;
23
19
  get isShowSlim(): boolean;
24
20
  get isSmallHeader(): boolean;
25
21
  get isShowSearch(): boolean;
26
- static ɵfac: i0.ɵɵFactoryDeclaration<HeaderComponent, never>;
27
- static ɵcmp: i0.ɵɵComponentDeclaration<HeaderComponent, "it-header", never, { "light": "light"; "showSlim": "showSlim"; "slimTitle": "slimTitle"; "loginStyle": "loginStyle"; "smallHeader": "smallHeader"; "showSearch": "showSearch"; }, { "loginClick": "loginClick"; "searchClick": "searchClick"; }, never, ["[slimLinkList]", "[slimRightZone]", "[brand]", "[rightZone]"], false, never>;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItHeaderComponent, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItHeaderComponent, "it-header", never, { "light": { "alias": "light"; "required": false; }; "showSlim": { "alias": "showSlim"; "required": false; }; "slimTitle": { "alias": "slimTitle"; "required": false; }; "loginStyle": { "alias": "loginStyle"; "required": false; }; "smallHeader": { "alias": "smallHeader"; "required": false; }; "showSearch": { "alias": "showSearch"; "required": false; }; }, { "loginClick": "loginClick"; "searchClick": "searchClick"; }, never, ["[slimLinkList]", "[slimRightZone]", "[brand]", "[rightZone]"], true, never>;
28
24
  }
@@ -0,0 +1,44 @@
1
+ import { ActivatedRoute } from '@angular/router';
2
+ import { BooleanInput } from '../../../utils/boolean-input';
3
+ import * as i0 from "@angular/core";
4
+ export declare class ItErrorPageComponent {
5
+ private readonly route;
6
+ /**
7
+ * The error code to show
8
+ */
9
+ errorCode: number | 404 | 403 | 500 | undefined;
10
+ /**
11
+ * Show/Hide error code
12
+ * @default true - show
13
+ */
14
+ showErrorCode?: BooleanInput;
15
+ /**
16
+ * Custom error title
17
+ * - If set it will be displayed instead of the default title.
18
+ * - It is possible to use i18n keys
19
+ */
20
+ errorTitle: string | undefined;
21
+ /**
22
+ * Custom error description
23
+ * - If set it will be displayed instead of the default description.
24
+ * - It is possible to use i18n keys
25
+ */
26
+ errorDescription: string | undefined;
27
+ /**
28
+ * Show/Hide back button
29
+ * @default true - show
30
+ */
31
+ showBackButton?: BooleanInput;
32
+ /**
33
+ * Show/Hide home button
34
+ * @default true - show
35
+ */
36
+ showHomeButton?: BooleanInput;
37
+ constructor(route: ActivatedRoute);
38
+ get isDefaultErrorCode(): boolean;
39
+ get isShowErrorCode(): boolean;
40
+ get isShowBackButton(): boolean;
41
+ get isShowHomeButton(): boolean;
42
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItErrorPageComponent, never>;
43
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItErrorPageComponent, "it-error-page", never, { "errorCode": { "alias": "errorCode"; "required": false; }; "showErrorCode": { "alias": "showErrorCode"; "required": false; }; "errorTitle": { "alias": "errorTitle"; "required": false; }; "errorDescription": { "alias": "errorDescription"; "required": false; }; "showBackButton": { "alias": "showBackButton"; "required": false; }; "showHomeButton": { "alias": "showHomeButton"; "required": false; }; }, {}, never, never, true, never>;
44
+ }
@@ -1,30 +1,29 @@
1
- import { AfterViewInit, ElementRef, Renderer2 } from '@angular/core';
2
- import { IconColor, IconName, IconSize } from "../../../interfaces/icon";
3
- import { BooleanInput } from "../../../utils/boolean-input";
1
+ import { IconColor, IconName, IconSize } from '../../../interfaces/icon';
2
+ import { BooleanInput } from '../../../utils/boolean-input';
3
+ import { DesignAngularKitConfig } from '../../../design-angular-kit-config';
4
4
  import * as i0 from "@angular/core";
5
- export declare class IconComponent implements AfterViewInit {
6
- protected readonly _renderer: Renderer2;
7
- protected readonly _elementRef: ElementRef;
5
+ export declare class ItIconComponent {
6
+ private readonly config;
8
7
  /**
9
- * The icon size
8
+ * The icon name
10
9
  */
11
10
  name: IconName;
12
11
  /**
13
12
  * The icon size
14
13
  */
15
- size?: IconSize;
14
+ size: IconSize | undefined;
16
15
  /**
17
16
  * The icon color
18
17
  */
19
- color?: IconColor;
18
+ color: IconColor | undefined;
20
19
  /**
21
20
  * Create a padding proportional to the size of the surrounding icon.
22
21
  */
23
- padded?: BooleanInput;
22
+ padded: BooleanInput | undefined;
24
23
  /**
25
- * Custom class
24
+ * Custom class of svg
26
25
  */
27
- class: string;
26
+ svgClass: string | undefined;
28
27
  /**
29
28
  * Return the icon href
30
29
  */
@@ -33,8 +32,7 @@ export declare class IconComponent implements AfterViewInit {
33
32
  * Return the icon class
34
33
  */
35
34
  get iconClass(): string;
36
- constructor(_renderer: Renderer2, _elementRef: ElementRef);
37
- ngAfterViewInit(): void;
38
- static ɵfac: i0.ɵɵFactoryDeclaration<IconComponent, never>;
39
- static ɵcmp: i0.ɵɵComponentDeclaration<IconComponent, "it-icon[name]", never, { "name": "name"; "size": "size"; "color": "color"; "padded": "padded"; "class": "class"; }, {}, never, never, false, never>;
35
+ constructor(config: DesignAngularKitConfig);
36
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItIconComponent, never>;
37
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItIconComponent, "it-icon[name]", never, { "name": { "alias": "name"; "required": false; }; "size": { "alias": "size"; "required": false; }; "color": { "alias": "color"; "required": false; }; "padded": { "alias": "padded"; "required": false; }; "svgClass": { "alias": "svgClass"; "required": false; }; }, {}, never, never, true, never>;
40
38
  }
@@ -0,0 +1,27 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { Observable } from 'rxjs';
3
+ import { TranslateService } from '@ngx-translate/core';
4
+ import { AvailableLanguage } from '../../../interfaces/utils';
5
+ import * as i0 from "@angular/core";
6
+ export declare class ItLanguageSwitcherComponent implements OnInit {
7
+ private readonly translateService;
8
+ /**
9
+ * The available languages
10
+ * @default The languages available through TranslateService (ngx-translate)
11
+ */
12
+ availableLanguages: Array<AvailableLanguage> | undefined;
13
+ /**
14
+ * Dropdown mode
15
+ */
16
+ mode: 'button' | 'link';
17
+ protected currentLang$: Observable<AvailableLanguage | undefined>;
18
+ constructor(translateService: TranslateService);
19
+ ngOnInit(): void;
20
+ /**
21
+ * Change the current language
22
+ * @param lang the language code
23
+ */
24
+ changeLanguage(lang: string): void;
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItLanguageSwitcherComponent, never>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItLanguageSwitcherComponent, "it-language-switcher", never, { "availableLanguages": { "alias": "availableLanguages"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; }, {}, never, never, true, never>;
27
+ }
@@ -0,0 +1,16 @@
1
+ import { InjectionToken } from '@angular/core';
2
+ import { DesignAngularKitInit } from './interfaces/design-angular-kit-init';
3
+ export declare const DESIGN_ANGULAR_KIT_CONFIG: InjectionToken<DesignAngularKitConfig>;
4
+ export declare class DesignAngularKitConfig {
5
+ /**
6
+ * The init config
7
+ * @private
8
+ */
9
+ private readonly initConfig?;
10
+ constructor(nextInit?: DesignAngularKitInit);
11
+ /**
12
+ * The initial path in the `href` attribute in the `IconComponent` component
13
+ * @default './bootstrap-italia/dist/svg/sprites.svg'
14
+ */
15
+ get iconHref(): string;
16
+ }
@@ -1,9 +1,14 @@
1
+ import { ModuleWithProviders } from '@angular/core';
2
+ import { TranslateService } from '@ngx-translate/core';
3
+ import { DesignAngularKitInit } from './interfaces/design-angular-kit-init';
1
4
  import * as i0 from "@angular/core";
2
- import * as i1 from "./modules/components.module";
3
- import * as i2 from "@angular/common/http";
4
- import * as i3 from "@ngx-translate/core";
5
+ import * as i1 from "@angular/common/http";
6
+ import * as i2 from "@ngx-translate/core";
5
7
  export declare class DesignAngularKitModule {
8
+ private readonly translateService;
9
+ static forRoot(initConfig?: DesignAngularKitInit): ModuleWithProviders<DesignAngularKitModule>;
10
+ constructor(translateService: TranslateService);
6
11
  static ɵfac: i0.ɵɵFactoryDeclaration<DesignAngularKitModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<DesignAngularKitModule, never, [typeof i1.ComponentsModule, typeof i2.HttpClientModule, typeof i3.TranslateModule], [typeof i1.ComponentsModule]>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DesignAngularKitModule, never, [typeof i1.HttpClientModule, typeof i2.TranslateModule], never>;
8
13
  static ɵinj: i0.ɵɵInjectorDeclaration<DesignAngularKitModule>;
9
14
  }
@@ -1,25 +1,49 @@
1
- export declare type AlertColor = 'info' | 'success' | 'warning' | 'danger';
2
- export declare type ButtonColor = 'primary' | 'outline-primary' | 'secondary' | 'outline-secondary' | 'success' | 'outline-success' | 'danger' | 'outline-danger' | 'warning' | 'outline-warning' | 'info' | 'outline-info' | 'light' | 'outline-light' | 'dark' | 'outline-dark' | 'link';
3
- export declare type ButtonSize = 'lg' | 'sm' | 'xs';
4
- export declare type ButtonType = 'submit' | 'button';
5
- export declare type CalloutColor = 'success' | 'warning' | 'danger' | 'important' | 'note';
6
- export declare type CalloutAppearance = 'default' | 'highlight' | 'more';
7
- export declare type ElementPlacement = 'top' | 'bottom' | 'left' | 'right';
8
- export declare type ProgressBarColor = 'primary' | 'success' | 'warning' | 'danger' | 'info';
9
- export declare type BadgeColor = 'primary' | 'secondary' | 'success' | 'warning' | 'danger';
10
- export declare type TableColor = 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark';
11
- export declare type TableHeadColor = 'light' | 'dark';
12
- export declare type TableResponsive = 'responsive' | 'responsive-sm' | 'responsive-md' | 'responsive-lg' | 'responsive-xl' | 'responsive-xxl';
13
- export declare type VerticalAlignment = 'align-baseline' | 'align-top' | 'align-middle' | 'align-bottom' | 'align-text-bottom' | 'align-text-top';
14
- export declare type DropdownDirection = 'dropup' | 'dropend' | 'dropstart';
15
- export declare type CarouselType = 'default' | 'three-cols' | 'three-cols-arrow-visible';
1
+ import { IconName } from './icon';
2
+ export type AlertColor = 'primary' | 'info' | 'success' | 'warning' | 'danger';
3
+ export type ButtonColor = 'primary' | 'outline-primary' | 'secondary' | 'outline-secondary' | 'success' | 'outline-success' | 'danger' | 'outline-danger' | 'warning' | 'outline-warning' | 'info' | 'outline-info' | 'light' | 'outline-light' | 'dark' | 'outline-dark' | 'link';
4
+ export type ButtonSize = 'lg' | 'sm' | 'xs';
5
+ export type ButtonType = 'submit' | 'button';
6
+ export type CalloutColor = 'success' | 'warning' | 'danger' | 'important' | 'note';
7
+ export type CalloutAppearance = 'default' | 'highlight' | 'more';
8
+ export type ChipColor = 'primary' | 'secondary' | 'success' | 'danger' | 'warning';
9
+ export type ElementPlacement = 'top' | 'bottom' | 'left' | 'right';
10
+ export type ProgressBarColor = 'primary' | 'success' | 'warning' | 'danger' | 'info';
11
+ export type BadgeColor = 'primary' | 'secondary' | 'success' | 'warning' | 'danger';
12
+ export type TableColor = 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark';
13
+ export type TableHeadColor = 'light' | 'dark';
14
+ export type TableResponsive = 'responsive' | 'responsive-sm' | 'responsive-md' | 'responsive-lg' | 'responsive-xl' | 'responsive-xxl';
15
+ export type VerticalAlignment = 'align-baseline' | 'align-top' | 'align-middle' | 'align-bottom' | 'align-text-bottom' | 'align-text-top';
16
+ export type DropdownDirection = 'dropup' | 'dropend' | 'dropstart';
17
+ export type CarouselType = 'default' | 'three-cols' | 'three-cols-arrow-visible';
16
18
  export interface Notification {
19
+ /**
20
+ * Notification type
21
+ */
17
22
  type: NotificationType;
23
+ /**
24
+ * Notification title
25
+ */
18
26
  title: string;
27
+ /**
28
+ * Notification message / text
29
+ */
19
30
  message?: string;
31
+ /**
32
+ * Custom duration of notification
33
+ */
20
34
  duration?: number;
21
- dismissable?: boolean;
35
+ /**
36
+ * The close notification button appears
37
+ */
38
+ dismissible?: boolean;
39
+ /**
40
+ * Custom position of notification
41
+ */
22
42
  position?: NotificationPosition;
43
+ /**
44
+ * Custom icon of notification
45
+ */
46
+ icon?: IconName;
23
47
  }
24
48
  export declare enum NotificationType {
25
49
  Standard = "standard",
@@ -0,0 +1,7 @@
1
+ export interface DesignAngularKitInit {
2
+ /**
3
+ * The initial path in the `href` attribute in the `IconComponent` component
4
+ * @default './bootstrap-italia/dist/svg/sprites.svg'
5
+ */
6
+ iconHref?: string;
7
+ }
@@ -1,13 +1,14 @@
1
- export declare type InputControlType = 'text' | 'email' | 'number' | 'date' | 'time' | 'tel' | 'color' | 'url';
2
- export interface SelectControlOption {
3
- value: any;
1
+ import { IconName } from './icon';
2
+ export type InputControlType = 'text' | 'email' | 'number' | 'date' | 'time' | 'tel' | 'color' | 'url' | 'search';
3
+ export interface SelectControlOption<T = any> {
4
+ value: T;
4
5
  text?: string;
5
- selected?: boolean | ((value: any) => boolean);
6
- disabled?: boolean | ((value: any) => boolean);
6
+ selected?: boolean | ((value: T) => boolean);
7
+ disabled?: boolean | ((value: T) => boolean);
7
8
  }
8
- export interface SelectControlGroup {
9
+ export interface SelectControlGroup<T = any> {
9
10
  label: string;
10
- options: Array<SelectControlOption>;
11
+ options: Array<SelectControlOption<T>>;
11
12
  dragdrop?: boolean;
12
13
  }
13
14
  export interface UploadFileListItem {
@@ -35,9 +36,32 @@ export interface UploadFileListItem {
35
36
  /**
36
37
  * Set the status of the item as 'error'
37
38
  */
38
- error?: string;
39
+ error?: boolean;
39
40
  /**
40
41
  * Add tooltip on file item name
42
+ * @example It can be used to show the error message or additional information about the file
41
43
  */
42
44
  tooltip?: string;
43
45
  }
46
+ /**
47
+ * Elemento disponibile per l'autocompletamento del it-form-input
48
+ */
49
+ export interface AutocompleteItem<T = any> {
50
+ /** Valore voce di autocompletamento */
51
+ value: string;
52
+ /** Opzionale. Path in cui ricercare l'immagine dell'avatar da posizionare a sinistra della voce di autocompletamento */
53
+ avatarSrcPath?: string;
54
+ /** Opzionale. Testo in alternativa dell'avatar per accessibilità */
55
+ avatarAltText?: string;
56
+ /** Opzionale. Icona posizionata a sinistra della voce di autocompletamento */
57
+ icon?: IconName;
58
+ /** Opzionale. Label posizionata a destra della voce di autocompletamento */
59
+ label?: string;
60
+ /** Opzionale. Link relativo all'elemento */
61
+ link?: string;
62
+ /**
63
+ * Attribute not used for autocomplete rendering.
64
+ * It can be useful to retrieve some extra information when selecting the autocomplete item
65
+ */
66
+ additionalData?: T;
67
+ }
@@ -1,3 +1,4 @@
1
- export declare type IconSize = 'xs' | 'sm' | 'lg' | 'xl';
2
- export declare type IconColor = 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'light' | 'white';
3
- export declare type IconName = 'arrow-down' | 'arrow-down-circle' | 'arrow-down-triangle' | 'arrow-left' | 'arrow-left-circle' | 'arrow-left-triangle' | 'arrow-right' | 'arrow-right-circle' | 'arrow-right-triangle' | 'arrow-up' | 'arrow-up-circle' | 'arrow-up-triangle' | 'ban' | 'bookmark' | 'box' | 'burger' | 'calendar' | 'camera' | 'card' | 'chart-line' | 'check' | 'check-circle' | 'chevron-left' | 'chevron-right' | 'clip' | 'clock' | 'close' | 'close-big' | 'close-circle' | 'comment' | 'copy' | 'delete' | 'download' | 'error' | 'exchange-circle' | 'expand' | 'external-link' | 'flag' | 'folder' | 'fullscreen' | 'funnel' | 'hearing' | 'help' | 'help-circle' | 'horn' | 'inbox' | 'info-circle' | 'key' | 'link' | 'list' | 'locked' | 'logout' | 'mail' | 'mail-open' | 'map-marker' | 'map-marker-circle' | 'map-marker-minus' | 'map-marker-plus' | 'maximize' | 'maximize-alt' | 'minimize' | 'minus' | 'minus-circle' | 'more-actions' | 'more-items' | 'note' | 'pa' | 'password-invisible' | 'password-visible' | 'pencil' | 'piattaforme' | 'pin' | 'plug' | 'plus' | 'plus-circle' | 'presentation' | 'print' | 'refresh' | 'restore' | 'rss' | 'rss-square' | 'search' | 'settings' | 'share' | 'software' | 'star-full' | 'star-outline' | 'telephone' | 'tool' | 'unlocked' | 'upload' | 'user' | 'video' | 'warning' | 'warning-circle' | 'wifi' | 'zoom-in' | 'zoom-out' | 'behance' | 'facebook' | 'facebook-square' | 'figma' | 'figma-square' | 'flickr' | 'flickr-square' | 'github' | 'instagram' | 'linkedin' | 'linkedin-square' | 'medium' | 'medium-square' | 'pinterest' | 'pinterest-square' | 'quora' | 'quora-square' | 'reddit' | 'reddit-square' | 'slack' | 'slack-square' | 'snapchat' | 'snapchat-square' | 'stackexchange' | 'stackexchange-square' | 'stackoverflow' | 'stackoverflow-square' | 'telegram' | 'tiktok' | 'tiktok-square' | 'twitter' | 'twitter-square' | 'vimeo' | 'vimeo-square' | 'whatsapp' | 'whatsapp-square' | 'youtube' | 'google' | 'designers-italia' | 'team-digitale' | 'file' | 'files' | 'file-audio' | 'file-compressed' | 'file-csv' | 'file-json' | 'file-odp' | 'file-ods' | 'file-odt' | 'file-pdf' | 'file-pdf-ext' | 'file-sheet' | 'file-slides' | 'file-txt' | 'file-video' | 'file-xml';
1
+ export type IconSize = 'xs' | 'sm' | 'lg' | 'xl';
2
+ export type IconColor = 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'light' | 'white';
3
+ export type IconName = typeof IconNameArray[number];
4
+ export declare const IconNameArray: readonly ["arrow-down", "arrow-down-circle", "arrow-down-triangle", "arrow-left", "arrow-left-circle", "arrow-left-triangle", "arrow-right", "arrow-right-circle", "arrow-right-triangle", "arrow-up", "arrow-up-circle", "arrow-up-triangle", "ban", "bookmark", "box", "burger", "calendar", "camera", "card", "chart-line", "check", "check-circle", "chevron-left", "chevron-right", "clip", "clock", "close", "close-big", "close-circle", "comment", "copy", "delete", "download", "error", "exchange-circle", "expand", "external-link", "flag", "folder", "fullscreen", "funnel", "hearing", "help", "help-circle", "horn", "inbox", "info-circle", "key", "link", "list", "locked", "logout", "mail", "mail-open", "map-marker", "map-marker-circle", "map-marker-minus", "map-marker-plus", "maximize", "maximize-alt", "minimize", "minus", "minus-circle", "more-actions", "more-items", "note", "pa", "password-invisible", "password-visible", "pencil", "piattaforme", "pin", "plug", "plus", "plus-circle", "presentation", "print", "refresh", "restore", "rss", "rss-square", "search", "settings", "share", "software", "star-full", "star-outline", "telephone", "tool", "unlocked", "upload", "user", "video", "warning", "warning-circle", "wifi", "zoom-in", "zoom-out", "file", "files", "file-audio", "file-compressed", "file-csv", "file-json", "file-odp", "file-ods", "file-odt", "file-pdf", "file-pdf-ext", "file-sheet", "file-slides", "file-ppt", "file-txt", "file-video", "file-xml", "behance", "facebook", "facebook-square", "figma", "figma-square", "flickr", "flickr-square", "github", "instagram", "linkedin", "linkedin-square", "mastodon", "mastodon-square", "medium", "medium-square", "moodle", "moodle-square", "pinterest", "pinterest-square", "quora", "quora-square", "reddit", "reddit-square", "slack", "slack-square", "snapchat", "snapchat-square", "stackexchange", "stackexchange-square", "stackoverflow", "stackoverflow-square", "telegram", "tiktok", "tiktok-square", "twitter", "twitter-square", "vimeo", "vimeo-square", "whatsapp", "whatsapp-square", "youtube", "google", "designers-italia", "team-digitale"];
@@ -0,0 +1,10 @@
1
+ export interface AvailableLanguage {
2
+ /**
3
+ * The language code
4
+ */
5
+ code: string;
6
+ /**
7
+ * Label to show
8
+ */
9
+ label: string;
10
+ }
@@ -0,0 +1,10 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import { DomSanitizer } from '@angular/platform-browser';
3
+ import * as i0 from "@angular/core";
4
+ export declare class MarkMatchingTextPipe implements PipeTransform {
5
+ private readonly domSanitizer;
6
+ constructor(domSanitizer: DomSanitizer);
7
+ transform(allString: string, searchString: string): any;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<MarkMatchingTextPipe, never>;
9
+ static ɵpipe: i0.ɵɵPipeDeclaration<MarkMatchingTextPipe, "markMatchingText", true>;
10
+ }
@@ -1,7 +1,7 @@
1
- import { Observable } from "rxjs";
2
- import { Notification, NotificationPosition, NotificationType } from "../../interfaces/core";
1
+ import { Observable } from 'rxjs';
2
+ import { Notification, NotificationPosition, NotificationType } from '../../interfaces/core';
3
3
  import * as i0 from "@angular/core";
4
- export declare class NotificationsService {
4
+ export declare class ItNotificationService {
5
5
  private subject;
6
6
  /**
7
7
  * Listen on notification arrived
@@ -17,47 +17,47 @@ export declare class NotificationsService {
17
17
  * Create new Standard notification
18
18
  * @param title notification title
19
19
  * @param message notification message
20
- * @param dismissable notification dismissable
21
- * @param duration notification duration (millis)
20
+ * @param dismissible notification dismissible
21
+ * @param duration notification duration (milliseconds)
22
22
  * @param position notification position
23
23
  */
24
- standard(title: string, message?: string, dismissable?: boolean, duration?: number, position?: NotificationPosition): void;
24
+ standard(title: string, message?: string, dismissible?: boolean, duration?: number, position?: NotificationPosition): void;
25
25
  /**
26
26
  * Create new Success notification
27
27
  * @param title notification title
28
28
  * @param message notification message
29
- * @param dismissable notification dismissable
30
- * @param duration notification duration (millis)
29
+ * @param dismissible notification dismissible
30
+ * @param duration notification duration (milliseconds)
31
31
  * @param position notification position
32
32
  */
33
- success(title: string, message?: string, dismissable?: boolean, duration?: number, position?: NotificationPosition): void;
33
+ success(title: string, message?: string, dismissible?: boolean, duration?: number, position?: NotificationPosition): void;
34
34
  /**
35
35
  * Create new Error notification
36
36
  * @param title notification title
37
37
  * @param message notification message
38
- * @param dismissable notification dismissable
39
- * @param duration notification duration (millis)
38
+ * @param dismissible notification dismissible
39
+ * @param duration notification duration (milliseconds)
40
40
  * @param position notification position
41
41
  */
42
- error(title: string, message?: string, dismissable?: boolean, duration?: number, position?: NotificationPosition): void;
42
+ error(title: string, message?: string, dismissible?: boolean, duration?: number, position?: NotificationPosition): void;
43
43
  /**
44
44
  * Create new Warning notification
45
45
  * @param title notification title
46
46
  * @param message notification message
47
- * @param dismissable notification dismissable
48
- * @param duration notification duration (millis)
47
+ * @param dismissible notification dismissible
48
+ * @param duration notification duration (milliseconds)
49
49
  * @param position notification position
50
50
  */
51
- warning(title: string, message?: string, dismissable?: boolean, duration?: number, position?: NotificationPosition): void;
51
+ warning(title: string, message?: string, dismissible?: boolean, duration?: number, position?: NotificationPosition): void;
52
52
  /**
53
53
  * Create new Info notification
54
54
  * @param title notification title
55
55
  * @param message notification message
56
- * @param dismissable notification dismissable
57
- * @param duration notification duration (millis)
56
+ * @param dismissible notification dismissible
57
+ * @param duration notification duration (milliseconds)
58
58
  * @param position notification position
59
59
  */
60
- info(title: string, message?: string, dismissable?: boolean, duration?: number, position?: NotificationPosition): void;
61
- static ɵfac: i0.ɵɵFactoryDeclaration<NotificationsService, never>;
62
- static ɵprov: i0.ɵɵInjectableDeclaration<NotificationsService>;
60
+ info(title: string, message?: string, dismissible?: boolean, duration?: number, position?: NotificationPosition): void;
61
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItNotificationService, never>;
62
+ static ɵprov: i0.ɵɵInjectableDeclaration<ItNotificationService>;
63
63
  }
@@ -1,4 +1,4 @@
1
- export declare type BooleanInput = boolean | 'true' | 'false';
1
+ export type BooleanInput = boolean | 'true' | 'false';
2
2
  /**
3
3
  * Check if boolean input has true value and not is `undefined`
4
4
  * @param booleanInput the boolean input
@@ -24,4 +24,9 @@ export declare class FileUtils {
24
24
  * @param filename the file name
25
25
  */
26
26
  static base64ToFile(base64: string, mimeType: string, filename: string): File;
27
+ /**
28
+ * Extract the MIME type from base64 string
29
+ * @param base64 the base64 string
30
+ */
31
+ static getMimeTypeFromBase64(base64: string): string | undefined;
27
32
  }