design-angular-kit 19.1.0 → 20.1.0

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 (130) hide show
  1. package/README.md +26 -1
  2. package/fesm2022/design-angular-kit.mjs +442 -474
  3. package/fesm2022/design-angular-kit.mjs.map +1 -1
  4. package/index.d.ts +4007 -3
  5. package/package.json +8 -8
  6. package/schematics/ng-add/setup-project.spec.js +1 -1
  7. package/lib/abstracts/abstract-form.component.d.ts +0 -89
  8. package/lib/abstracts/abstract.component.d.ts +0 -30
  9. package/lib/components/core/accordion/accordion.component.d.ts +0 -18
  10. package/lib/components/core/alert/alert.component.d.ts +0 -44
  11. package/lib/components/core/avatar/avatar-dropdown/avatar-dropdown.component.d.ts +0 -29
  12. package/lib/components/core/avatar/avatar-extra-text.directive.d.ts +0 -6
  13. package/lib/components/core/avatar/avatar-group/avatar-group.component.d.ts +0 -20
  14. package/lib/components/core/avatar/avatar-presence.directive.d.ts +0 -17
  15. package/lib/components/core/avatar/avatar-status.directive.d.ts +0 -17
  16. package/lib/components/core/avatar/avatar-wrapper.directive.d.ts +0 -9
  17. package/lib/components/core/avatar/avatar.directive.d.ts +0 -33
  18. package/lib/components/core/avatar/avatar.module.d.ts +0 -13
  19. package/lib/components/core/badge/badge.directive.d.ts +0 -23
  20. package/lib/components/core/button/button.directive.d.ts +0 -48
  21. package/lib/components/core/callout/callout.component.d.ts +0 -50
  22. package/lib/components/core/card/card.component.d.ts +0 -86
  23. package/lib/components/core/carousel/carousel/carousel.component.d.ts +0 -65
  24. package/lib/components/core/carousel/carousel-item/carousel-item.component.d.ts +0 -15
  25. package/lib/components/core/carousel/carousel.module.d.ts +0 -8
  26. package/lib/components/core/chip/chip.component.d.ts +0 -76
  27. package/lib/components/core/collapse/collapse.component.d.ts +0 -67
  28. package/lib/components/core/dimmer/dimmer-buttons/dimmer-buttons.component.d.ts +0 -12
  29. package/lib/components/core/dimmer/dimmer-icon/dimmer-icon.component.d.ts +0 -5
  30. package/lib/components/core/dimmer/dimmer.component.d.ts +0 -24
  31. package/lib/components/core/dimmer/dimmer.module.d.ts +0 -9
  32. package/lib/components/core/dropdown/dropdown/dropdown.component.d.ts +0 -94
  33. package/lib/components/core/dropdown/dropdown-item/dropdown-item.component.d.ts +0 -46
  34. package/lib/components/core/dropdown/dropdown.module.d.ts +0 -8
  35. package/lib/components/core/forward/forward.directive.d.ts +0 -14
  36. package/lib/components/core/link/link.component.d.ts +0 -35
  37. package/lib/components/core/list/list/list.component.d.ts +0 -24
  38. package/lib/components/core/list/list-item/list-item.component.d.ts +0 -44
  39. package/lib/components/core/list/list.module.d.ts +0 -8
  40. package/lib/components/core/modal/modal.component.d.ts +0 -135
  41. package/lib/components/core/notifications/notifications.component.d.ts +0 -45
  42. package/lib/components/core/pagination/pagination.component.d.ts +0 -92
  43. package/lib/components/core/popover/popover.directive.d.ts +0 -99
  44. package/lib/components/core/progress-bar/progress-bar.component.d.ts +0 -31
  45. package/lib/components/core/progress-button/progress-button.component.d.ts +0 -21
  46. package/lib/components/core/spinner/spinner.component.d.ts +0 -24
  47. package/lib/components/core/steppers/steppers-container/steppers-container.component.d.ts +0 -130
  48. package/lib/components/core/steppers/steppers-item/steppers-item.component.d.ts +0 -24
  49. package/lib/components/core/steppers/steppers.module.d.ts +0 -8
  50. package/lib/components/core/tab/tab-container/tab-container.component.d.ts +0 -60
  51. package/lib/components/core/tab/tab-item/tab-item.component.d.ts +0 -38
  52. package/lib/components/core/tab/tab.module.d.ts +0 -8
  53. package/lib/components/core/table/sort/sort-header/sort-header.component.d.ts +0 -72
  54. package/lib/components/core/table/sort/sort.directive.d.ts +0 -53
  55. package/lib/components/core/table/table.component.d.ts +0 -60
  56. package/lib/components/core/table/table.module.d.ts +0 -9
  57. package/lib/components/core/timeline/timeline-item/timeline-item.component.d.ts +0 -79
  58. package/lib/components/core/timeline/timeline.component.d.ts +0 -21
  59. package/lib/components/core/timeline/timeline.module.d.ts +0 -8
  60. package/lib/components/core/tooltip/tooltip.directive.d.ts +0 -82
  61. package/lib/components/core/video-player/video-player-i18n.model.d.ts +0 -179
  62. package/lib/components/core/video-player/video-player-i18n.service.d.ts +0 -17
  63. package/lib/components/core/video-player/video-player.component.d.ts +0 -46
  64. package/lib/components/core/video-player/video-player.config.d.ts +0 -68
  65. package/lib/components/core/video-player/video-player.cookie.d.ts +0 -6
  66. package/lib/components/core/video-player/video-player.model.d.ts +0 -44
  67. package/lib/components/core/video-player/video-player.module.d.ts +0 -7
  68. package/lib/components/form/autocomplete/autocomplete.component.d.ts +0 -75
  69. package/lib/components/form/checkbox/checkbox.component.d.ts +0 -41
  70. package/lib/components/form/form.module.d.ts +0 -19
  71. package/lib/components/form/input/input.component.d.ts +0 -95
  72. package/lib/components/form/password-input/password-input.component.d.ts +0 -80
  73. package/lib/components/form/radio-button/radio-button.component.d.ts +0 -38
  74. package/lib/components/form/range/range.component.d.ts +0 -42
  75. package/lib/components/form/rating/rating.component.d.ts +0 -24
  76. package/lib/components/form/search/search.component.d.ts +0 -59
  77. package/lib/components/form/select/select.component.d.ts +0 -36
  78. package/lib/components/form/textarea/textarea.component.d.ts +0 -34
  79. package/lib/components/form/transfer/store/transfer.reducers.d.ts +0 -103
  80. package/lib/components/form/transfer/store/transfer.state.d.ts +0 -18
  81. package/lib/components/form/transfer/store/transfer.store.d.ts +0 -23
  82. package/lib/components/form/transfer/transfer-list/transfer-list.component.d.ts +0 -48
  83. package/lib/components/form/transfer/transfer.component.d.ts +0 -75
  84. package/lib/components/form/transfer/transfer.model.d.ts +0 -6
  85. package/lib/components/form/upload-drag-drop/upload-drag-drop.component.d.ts +0 -60
  86. package/lib/components/form/upload-file-list/upload-file-list.component.d.ts +0 -66
  87. package/lib/components/navigation/back-button/back-button.component.d.ts +0 -47
  88. package/lib/components/navigation/back-to-top/back-to-top.component.d.ts +0 -50
  89. package/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.d.ts +0 -28
  90. package/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.d.ts +0 -23
  91. package/lib/components/navigation/breadcrumbs/breadcrumbs.module.d.ts +0 -8
  92. package/lib/components/navigation/footer/footer.component.d.ts +0 -6
  93. package/lib/components/navigation/header/header.component.d.ts +0 -39
  94. package/lib/components/navigation/megamenu/megamenu.component.d.ts +0 -22
  95. package/lib/components/navigation/navbar/navbar/navbar.component.d.ts +0 -19
  96. package/lib/components/navigation/navbar/navbar-item/navbar-item.component.d.ts +0 -5
  97. package/lib/components/navigation/navbar/navbar.module.d.ts +0 -8
  98. package/lib/components/navigation/navscroll/navscroll-list-item.component.d.ts +0 -16
  99. package/lib/components/navigation/navscroll/navscroll-list-items.component.d.ts +0 -7
  100. package/lib/components/navigation/navscroll/navscroll.component.d.ts +0 -47
  101. package/lib/components/navigation/navscroll/navscroll.model.d.ts +0 -15
  102. package/lib/components/navigation/navscroll/navscroll.store.d.ts +0 -16
  103. package/lib/components/navigation/navscroll/navscroll.utils.d.ts +0 -6
  104. package/lib/components/navigation/sidebar/sidebar.component.d.ts +0 -26
  105. package/lib/components/navigation/skiplink/skiplink/skiplink.component.d.ts +0 -17
  106. package/lib/components/navigation/skiplink/skiplink-item/skiplink-item.component.d.ts +0 -24
  107. package/lib/components/navigation/skiplink/skiplink.module.d.ts +0 -8
  108. package/lib/components/utils/error-page/error-page.component.d.ts +0 -44
  109. package/lib/components/utils/icon/icon.component.d.ts +0 -53
  110. package/lib/components/utils/language-switcher/language-switcher.component.d.ts +0 -27
  111. package/lib/design-angular-kit.module.d.ts +0 -55
  112. package/lib/enums/colors.enums.d.ts +0 -10
  113. package/lib/enums/sizes.enum.d.ts +0 -7
  114. package/lib/interfaces/core.d.ts +0 -77
  115. package/lib/interfaces/design-angular-kit-config.d.ts +0 -30
  116. package/lib/interfaces/form.d.ts +0 -67
  117. package/lib/interfaces/icon.d.ts +0 -4
  118. package/lib/interfaces/sortable-table.d.ts +0 -33
  119. package/lib/interfaces/utils.d.ts +0 -10
  120. package/lib/pipes/date-ago.pipe.d.ts +0 -17
  121. package/lib/pipes/duration.pipe.d.ts +0 -35
  122. package/lib/pipes/mark-matching-text.pipe.d.ts +0 -18
  123. package/lib/provide-design-angular-kit.d.ts +0 -7
  124. package/lib/services/notification/notification.service.d.ts +0 -63
  125. package/lib/utils/coercion.d.ts +0 -14
  126. package/lib/utils/date-utils.d.ts +0 -79
  127. package/lib/utils/file-utils.d.ts +0 -32
  128. package/lib/utils/regex.d.ts +0 -34
  129. package/lib/validators/it-validators.d.ts +0 -70
  130. package/public_api.d.ts +0 -106
package/index.d.ts CHANGED
@@ -1,5 +1,4009 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Provider, InjectionToken, AfterViewInit, OnChanges, EventEmitter, Renderer2, ElementRef, ChangeDetectorRef, SimpleChanges, TemplateRef, QueryList, OnDestroy, OnInit, DestroyRef, DoCheck, PipeTransform, ModuleWithProviders, EnvironmentProviders } from '@angular/core';
3
+ import { Modal } from 'bootstrap';
4
+ import { FormControl, ControlValueAccessor, NgControl, ControlContainer, ValidatorFn, ValidationErrors, AbstractControl } from '@angular/forms';
5
+ import * as rxjs from 'rxjs';
6
+ import { Subject, Observable } from 'rxjs';
7
+ import Player from 'video.js/dist/types/player';
8
+ import { TranslateService, TranslatePipe } from '@ngx-translate/core';
9
+ import { ProgressDonut } from 'bootstrap-italia';
10
+ import { Location } from '@angular/common';
11
+ import { SafeHtml } from '@angular/platform-browser';
12
+
1
13
  /**
2
- * Generated bundle index. Do not edit.
14
+ * The bootstrap-italia asset folder path
15
+ * @default ./bootstrap-italia
3
16
  */
4
- /// <amd-module name="design-angular-kit" />
5
- export * from './public_api';
17
+ declare const IT_ASSET_BASE_PATH: InjectionToken<string>;
18
+ interface DesignAngularKitConfig {
19
+ /**
20
+ * The bootstrap-italia asset folder path
21
+ * @default ./bootstrap-italia
22
+ */
23
+ assetBasePath?: string;
24
+ /**
25
+ * Load the <a href="https://italia.github.io/bootstrap-italia/docs/come-iniziare/introduzione/#fonts">bootstrap-italia fonts</a>
26
+ * @default true
27
+ */
28
+ loadFont?: boolean;
29
+ /**
30
+ * The TranslateModule loader
31
+ * @param itPrefix the design-angular-kit i18n path
32
+ * @param itSuffix the design-angular-kit i18n suffix
33
+ * @default
34
+ * {
35
+ * provide: TranslateLoader,
36
+ * useFactory: (http: HttpClient) => new TranslateHttpLoader(http, `${assetBasePath}/i18n/`, `.json?v${version}`),
37
+ * deps: [HttpClient],
38
+ * }
39
+ */
40
+ translateLoader?: (itPrefix: string, itSuffix: string) => Provider;
41
+ }
42
+
43
+ declare abstract class ItAbstractComponent implements AfterViewInit, OnChanges {
44
+ /**
45
+ * The element ID
46
+ */
47
+ id: string;
48
+ /**
49
+ * Fired when component input attributes was changed
50
+ */
51
+ valueChanges: EventEmitter<void>;
52
+ /**
53
+ * Counter of active instances
54
+ * @private
55
+ */
56
+ private static instances;
57
+ protected readonly _renderer: Renderer2;
58
+ protected readonly _elementRef: ElementRef;
59
+ protected readonly _changeDetectorRef: ChangeDetectorRef;
60
+ constructor();
61
+ ngAfterViewInit(): void;
62
+ ngOnChanges(changes: SimpleChanges): void;
63
+ /**
64
+ * Generate unique id for components
65
+ * @private
66
+ */
67
+ private getDefaultId;
68
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItAbstractComponent, never>;
69
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItAbstractComponent, "ng-component", never, { "id": { "alias": "id"; "required": false; }; }, { "valueChanges": "valueChanges"; }, never, never, false, never>;
70
+ }
71
+
72
+ type BooleanInput = 'false' | 'true' | boolean | undefined;
73
+
74
+ declare class ItCollapseComponent extends ItAbstractComponent implements AfterViewInit {
75
+ /**
76
+ * Enable multiple collapse
77
+ * @default false
78
+ */
79
+ multi?: boolean;
80
+ /**
81
+ * Toggles the collapsible element on invocation
82
+ * @default false
83
+ */
84
+ opened?: boolean;
85
+ /**
86
+ * Custom class
87
+ */
88
+ class: string;
89
+ /**
90
+ * This event fires immediately when the show method is called.
91
+ */
92
+ showEvent: EventEmitter<Event>;
93
+ /**
94
+ * This event is triggered when the tooltip has been made visible to the user (it will wait for the CSS transitions to complete).
95
+ */
96
+ shownEvent: EventEmitter<Event>;
97
+ /**
98
+ * This event fires immediately when the hide method is called.
99
+ */
100
+ hideEvent: EventEmitter<Event>;
101
+ /**
102
+ * This event is raised when the tooltip has finished being hidden from the user (it will wait for the CSS transitions to complete).
103
+ */
104
+ hiddenEvent: EventEmitter<Event>;
105
+ private collapse?;
106
+ private open;
107
+ protected collapseDiv?: ElementRef<HTMLDivElement>;
108
+ ngAfterViewInit(): void;
109
+ /**
110
+ * Shows if collapse is open or not
111
+ */
112
+ isOpen(): boolean;
113
+ /**
114
+ * Shows a resealable item
115
+ * NOTE: Returns to the caller before the collapsable element has actually been shown (onShown event).
116
+ */
117
+ show(): void;
118
+ /**
119
+ * Hides a resealable item
120
+ * NOTE: Returns to the caller before the collapsable element has actually been hidden (onHidden Event)
121
+ */
122
+ hide(): void;
123
+ /**
124
+ * Toggle a collapsible item to show or hide it.
125
+ * NOTE: Returns to the caller before the collapsable element has actually been shown or hidden (onShown and onHidden events)
126
+ */
127
+ toggle(): void;
128
+ /**
129
+ * Eliminates the possibility of an item being resealable
130
+ */
131
+ dispose(): void;
132
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItCollapseComponent, never>;
133
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItCollapseComponent, "it-collapse", ["itCollapse"], { "multi": { "alias": "multi"; "required": false; }; "opened": { "alias": "opened"; "required": false; }; "class": { "alias": "class"; "required": false; }; }, { "showEvent": "showEvent"; "shownEvent": "shownEvent"; "hideEvent": "hideEvent"; "hiddenEvent": "hiddenEvent"; }, never, ["*"], true, never>;
134
+ static ngAcceptInputType_multi: BooleanInput;
135
+ static ngAcceptInputType_opened: BooleanInput;
136
+ }
137
+
138
+ /**
139
+ * Accordion
140
+ * @description Build vertically collapsible accordions based on Collapse.
141
+ */
142
+ declare class ItAccordionComponent extends ItCollapseComponent implements AfterViewInit {
143
+ /**
144
+ * Accordion Title
145
+ */
146
+ title: string;
147
+ protected collapseDiv?: ElementRef<HTMLDivElement>;
148
+ protected isCollapsed: boolean;
149
+ ngAfterViewInit(): void;
150
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItAccordionComponent, never>;
151
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItAccordionComponent, "it-accordion", ["itAccordion"], { "title": { "alias": "title"; "required": true; }; }, {}, never, ["*"], true, never>;
152
+ }
153
+
154
+ type IconSize = 'xs' | 'sm' | 'lg' | 'xl';
155
+ type IconColor = 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'light' | 'white';
156
+ type IconName = (typeof IconNameArray)[number];
157
+ 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", "bluesky", "bookmark", "box", "burger", "calendar", "camera", "car", "card", "cart", "chart-line", "check", "check-circle", "chevron-left", "chevron-right", "clip", "clock", "close", "close-big", "close-circle", "code-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", "sign", "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-docx", "file-json", "file-image", "file-odp", "file-ods", "file-odt", "file-pdf", "file-pdf-ext", "file-sheet", "file-slides", "file-ppt", "file-signed", "file-txt", "file-video", "file-xlsx", "file-xml", "behance", "android-square", "android", "apple-square", "apple", "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", "threads", "threads-square", "tiktok", "tiktok-square", "twitter", "twitter-square", "vimeo", "vimeo-square", "whatsapp", "whatsapp-square", "youtube", "google", "spotify", "designers-italia", "team-digitale"];
158
+
159
+ type AlertColor = 'primary' | 'info' | 'success' | 'warning' | 'danger';
160
+ 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';
161
+ type ButtonSize = 'lg' | 'sm' | 'xs';
162
+ type ButtonType = 'submit' | 'button';
163
+ type CalloutColor = 'success' | 'warning' | 'danger' | 'important' | 'note';
164
+ type CalloutAppearance = 'default' | 'highlight' | 'more';
165
+ type ChipColor = 'primary' | 'secondary' | 'success' | 'danger' | 'warning';
166
+ type ElementPlacement = 'top' | 'bottom' | 'left' | 'right';
167
+ type ProgressBarColor = 'primary' | 'success' | 'warning' | 'danger' | 'info';
168
+ type BadgeColor = 'primary' | 'secondary' | 'success' | 'warning' | 'danger';
169
+ type TableColor = 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark';
170
+ type TableHeadColor = 'light' | 'dark';
171
+ type TableResponsive = 'responsive' | 'responsive-sm' | 'responsive-md' | 'responsive-lg' | 'responsive-xl' | 'responsive-xxl';
172
+ type VerticalAlignment = 'align-baseline' | 'align-top' | 'align-middle' | 'align-bottom' | 'align-text-bottom' | 'align-text-top';
173
+ type DropdownDirection = 'dropup' | 'dropend' | 'dropstart';
174
+ type CarouselType = 'default' | 'three-cols' | 'three-cols-arrow-visible';
175
+ type TimelinePINType = 'default' | 'evidence' | 'now';
176
+ interface TimelineElement {
177
+ pin: {
178
+ type?: TimelinePINType;
179
+ icon?: IconName;
180
+ text: string;
181
+ };
182
+ category?: {
183
+ title: string;
184
+ link: string;
185
+ };
186
+ title: string;
187
+ text: string;
188
+ signature?: string;
189
+ eventDate?: Date;
190
+ link?: string;
191
+ }
192
+ interface Notification {
193
+ /**
194
+ * Notification type
195
+ */
196
+ type: NotificationType;
197
+ /**
198
+ * Notification title
199
+ */
200
+ title: string;
201
+ /**
202
+ * Notification message / text
203
+ */
204
+ message?: string;
205
+ /**
206
+ * Custom duration of notification
207
+ */
208
+ duration?: number;
209
+ /**
210
+ * The close notification button appears
211
+ */
212
+ dismissible?: boolean;
213
+ /**
214
+ * Custom position of notification
215
+ */
216
+ position?: NotificationPosition;
217
+ /**
218
+ * Custom icon of notification
219
+ */
220
+ icon?: IconName;
221
+ }
222
+ declare enum NotificationType {
223
+ Standard = "standard",
224
+ Success = "success",
225
+ Error = "error",
226
+ Info = "info",
227
+ Warning = "warning"
228
+ }
229
+ declare enum NotificationPosition {
230
+ Top = "top-fix mt-3",
231
+ Bottom = "bottom-fix mb-3",
232
+ Left = "left-fix ms-3",
233
+ Right = "right-fix me-3"
234
+ }
235
+
236
+ /**
237
+ * Alert
238
+ * @description You can provide feedback to the user via alert messages.
239
+ */
240
+ declare class ItAlertComponent extends ItAbstractComponent implements AfterViewInit {
241
+ /**
242
+ * The alert color
243
+ * @default info
244
+ */
245
+ color: AlertColor;
246
+ /**
247
+ * Inserts the close button
248
+ * @default false
249
+ */
250
+ dismissible?: boolean;
251
+ /**
252
+ * This event fires immediately when the instance's close method is called.
253
+ */
254
+ closeEvent: EventEmitter<Event>;
255
+ /**
256
+ * This event fires when the alert has been closed (it will wait for CSS transitions to complete).
257
+ */
258
+ closedEvent: EventEmitter<Event>;
259
+ private alert?;
260
+ private alertElement?;
261
+ ngAfterViewInit(): void;
262
+ /**
263
+ * Close an alert by removing it from the DOM.
264
+ * If the `.fade` and `.show` classes are present in the element, the alert will be closed with a disappearing effect.
265
+ */
266
+ close(): void;
267
+ /**
268
+ * The alert is removed
269
+ */
270
+ dispose(): void;
271
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItAlertComponent, never>;
272
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItAlertComponent, "it-alert", ["itAlert"], { "color": { "alias": "color"; "required": false; }; "dismissible": { "alias": "dismissible"; "required": false; }; }, { "closeEvent": "closeEvent"; "closedEvent": "closedEvent"; }, never, ["[heading]", "*"], true, never>;
273
+ static ngAcceptInputType_dismissible: BooleanInput;
274
+ }
275
+
276
+ declare class ItAvatarListItemDirective {
277
+ get hostClasses(): string;
278
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItAvatarListItemDirective, never>;
279
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ItAvatarListItemDirective, "[itAvatarListItem]", ["itAvatarListItem"], {}, {}, never, never, true, never>;
280
+ }
281
+ declare class ItAvatarGroupItemComponent {
282
+ _implicitContent: TemplateRef<any>;
283
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItAvatarGroupItemComponent, never>;
284
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItAvatarGroupItemComponent, "it-avatar-item", never, {}, {}, never, ["*"], true, never>;
285
+ }
286
+ declare class ItAvatarGroupComponent {
287
+ linkList: boolean;
288
+ avatars: QueryList<ItAvatarGroupItemComponent>;
289
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItAvatarGroupComponent, never>;
290
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItAvatarGroupComponent, "it-avatar-group", never, { "linkList": { "alias": "linkList"; "required": false; }; }, {}, ["avatars"], never, true, never>;
291
+ static ngAcceptInputType_linkList: BooleanInput;
292
+ }
293
+
294
+ declare class ItAvatarDropdownItemComponent {
295
+ _implicitContent: TemplateRef<any>;
296
+ /**
297
+ * Indica il link che possiamo passare all'elemento
298
+ */
299
+ link: string | any[] | null | undefined;
300
+ /**
301
+ * Permette di utilizzare l'attributo html title
302
+ */
303
+ title?: string;
304
+ /**
305
+ * Permette di utilizzare l'attributo html accesskey
306
+ */
307
+ accesskey?: string;
308
+ /**
309
+ * Permette di utilizzare l'attributo html tabindex
310
+ */
311
+ tabindex?: number;
312
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItAvatarDropdownItemComponent, never>;
313
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItAvatarDropdownItemComponent, "it-avatar-dropdown-item", never, { "link": { "alias": "link"; "required": false; }; "title": { "alias": "title"; "required": false; }; "accesskey": { "alias": "accesskey"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; }, {}, never, ["*"], true, never>;
314
+ }
315
+ declare class ItAvatarDropdownComponent {
316
+ componentClass: string;
317
+ items: QueryList<ItAvatarDropdownItemComponent>;
318
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItAvatarDropdownComponent, never>;
319
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItAvatarDropdownComponent, "it-avatar-dropdown", never, {}, {}, ["items"], ["[it-avatar-dropdown-toggle]"], true, never>;
320
+ }
321
+
322
+ declare enum SizesEnum {
323
+ xs = "size-xs",
324
+ sm = "size-sm",
325
+ lg = "size-lg",
326
+ xl = "size-xl",
327
+ xxl = "size-xxl"
328
+ }
329
+
330
+ declare class ItAvatarDirective {
331
+ /**
332
+ * Indica il colore dell'avatar. Può assumere i valori:
333
+ * <ul>
334
+ * <li> primary
335
+ * <li> secondary
336
+ * <li> green
337
+ * <li> orange
338
+ * <li> red
339
+ * </ul>
340
+ */
341
+ get color(): string | undefined;
342
+ set color(value: string | undefined);
343
+ private _color?;
344
+ /**
345
+ * Indica la grandezza dell'avatar. Può assumere i valori:
346
+ * <ul>
347
+ * <li> xs
348
+ * <li> sm
349
+ * <li> lg
350
+ * <li> xl
351
+ * <li> xxl
352
+ * </ul>
353
+ */
354
+ get size(): SizesEnum | undefined;
355
+ set size(value: string | undefined);
356
+ private _size?;
357
+ get hostClasses(): string;
358
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItAvatarDirective, never>;
359
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ItAvatarDirective, "[itAvatar]", ["itAvatar"], { "color": { "alias": "color"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
360
+ }
361
+
362
+ declare class ItAvatarExtraTextDirective {
363
+ get hostClasses(): string;
364
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItAvatarExtraTextDirective, never>;
365
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ItAvatarExtraTextDirective, "[itAvatarExtraText]", ["itAvatarExtraText"], {}, {}, never, never, true, never>;
366
+ }
367
+
368
+ declare class ItAvatarWrapperDirective {
369
+ extraText: boolean;
370
+ get hostClasses(): string;
371
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItAvatarWrapperDirective, never>;
372
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ItAvatarWrapperDirective, "[itAvatarWrapper]", ["itAvatarWrapper"], { "extraText": { "alias": "extraText"; "required": false; }; }, {}, never, never, true, never>;
373
+ static ngAcceptInputType_extraText: BooleanInput;
374
+ }
375
+
376
+ declare class ItAvatarStatusDirective {
377
+ /**
378
+ * Indica lo stato della presenza. Può assumere i valori:
379
+ * <ul>
380
+ * <li> approved
381
+ * <li> declined
382
+ * <li> notify
383
+ * </ul>
384
+ */
385
+ get status(): string | undefined;
386
+ set status(value: string | undefined);
387
+ private _status?;
388
+ get hostClasses(): string;
389
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItAvatarStatusDirective, never>;
390
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ItAvatarStatusDirective, "[itAvatarStatus]", ["itAvatarStatus"], { "status": { "alias": "status"; "required": false; }; }, {}, never, never, true, never>;
391
+ }
392
+
393
+ declare class ItAvatarPresenceDirective {
394
+ /**
395
+ * Indica lo stato della presenza. Può assumere i valori:
396
+ * <ul>
397
+ * <li> active
398
+ * <li> busy
399
+ * <li> hidden
400
+ * </ul>
401
+ */
402
+ get presence(): string | undefined;
403
+ set presence(value: string | undefined);
404
+ private _presence?;
405
+ get hostClasses(): string;
406
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItAvatarPresenceDirective, never>;
407
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ItAvatarPresenceDirective, "[itAvatarPresence]", ["itAvatarPresence"], { "presence": { "alias": "presence"; "required": false; }; }, {}, never, never, true, never>;
408
+ }
409
+
410
+ declare class ItAvatarModule {
411
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItAvatarModule, never>;
412
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ItAvatarModule, never, [typeof ItAvatarGroupItemComponent, typeof ItAvatarGroupComponent, typeof ItAvatarDropdownComponent, typeof ItAvatarDropdownItemComponent, typeof ItAvatarDirective, typeof ItAvatarExtraTextDirective, typeof ItAvatarWrapperDirective, typeof ItAvatarStatusDirective, typeof ItAvatarPresenceDirective, typeof ItAvatarListItemDirective], [typeof ItAvatarGroupItemComponent, typeof ItAvatarGroupComponent, typeof ItAvatarDropdownComponent, typeof ItAvatarDropdownItemComponent, typeof ItAvatarDirective, typeof ItAvatarExtraTextDirective, typeof ItAvatarWrapperDirective, typeof ItAvatarStatusDirective, typeof ItAvatarPresenceDirective, typeof ItAvatarListItemDirective]>;
413
+ static ɵinj: i0.ɵɵInjectorDeclaration<ItAvatarModule>;
414
+ }
415
+
416
+ /**
417
+ * Badge
418
+ * @description Useful for small counters and labels
419
+ */
420
+ declare class ItBadgeDirective {
421
+ /**
422
+ * Define the badge color
423
+ * @default undefined
424
+ */
425
+ color: BadgeColor | undefined;
426
+ /**
427
+ * Show rounded badge
428
+ * @default false
429
+ */
430
+ rounded?: boolean;
431
+ protected get badgeClass(): string;
432
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItBadgeDirective, never>;
433
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ItBadgeDirective, "[itBadge]", ["itBadge"], { "color": { "alias": "itBadge"; "required": false; }; "rounded": { "alias": "rounded"; "required": false; }; }, {}, never, never, true, never>;
434
+ static ngAcceptInputType_rounded: BooleanInput;
435
+ }
436
+
437
+ declare class ItIconComponent {
438
+ /**
439
+ * The icon name
440
+ */
441
+ name: IconName;
442
+ /**
443
+ * The icon size
444
+ */
445
+ size: IconSize | undefined;
446
+ /**
447
+ * The icon color
448
+ */
449
+ color: IconColor | undefined;
450
+ /**
451
+ * Create a padding proportional to the size of the surrounding icon.
452
+ * @default false
453
+ */
454
+ padded?: boolean;
455
+ /**
456
+ * Custom class of svg
457
+ */
458
+ svgClass: string | undefined;
459
+ /**
460
+ * Title of the icon
461
+ */
462
+ title: string | undefined;
463
+ /**
464
+ * Custom Waria label
465
+ */
466
+ labelWaria: string | undefined;
467
+ /**
468
+ * Return the icon href
469
+ */
470
+ protected get iconHref(): string;
471
+ /**
472
+ * Return the icon class
473
+ */
474
+ protected get iconClass(): string;
475
+ /**
476
+ * The bootstrap-italia asset folder path
477
+ * @default ./bootstrap-italia
478
+ */
479
+ protected assetBasePath: string;
480
+ get isAriaHidden(): boolean;
481
+ get role(): string | null;
482
+ constructor();
483
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItIconComponent, never>;
484
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItIconComponent, "it-icon", never, { "name": { "alias": "name"; "required": true; }; "size": { "alias": "size"; "required": false; }; "color": { "alias": "color"; "required": false; }; "padded": { "alias": "padded"; "required": false; }; "svgClass": { "alias": "svgClass"; "required": false; }; "title": { "alias": "title"; "required": false; }; "labelWaria": { "alias": "labelWaria"; "required": false; }; }, {}, never, never, true, never>;
485
+ static ngAcceptInputType_padded: BooleanInput;
486
+ }
487
+
488
+ /**
489
+ * Button
490
+ * @description Bootstrap italia custom button styles
491
+ */
492
+ declare class ItButtonDirective {
493
+ private progressButtonComponent;
494
+ /**
495
+ * Button color
496
+ * @default undefined
497
+ */
498
+ color: ButtonColor | undefined;
499
+ /**
500
+ * Button size
501
+ * @default undefined
502
+ */
503
+ size: ButtonSize | undefined;
504
+ /**
505
+ * Indicates whether the button occupies all the width available to it.
506
+ * @default undefined
507
+ */
508
+ block: ButtonSize | undefined;
509
+ /**
510
+ * If button is disabled
511
+ * @default false
512
+ */
513
+ disabled?: boolean;
514
+ /**
515
+ * The type attribute
516
+ * @default button
517
+ */
518
+ type: 'button' | 'reset' | 'submit';
519
+ /**
520
+ * The icon children
521
+ * @default undefined
522
+ */
523
+ protected icons?: QueryList<ItIconComponent>;
524
+ protected get hostClasses(): string;
525
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItButtonDirective, never>;
526
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ItButtonDirective, "[itButton]", ["itButton"], { "color": { "alias": "itButton"; "required": false; }; "size": { "alias": "size"; "required": false; }; "block": { "alias": "block"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, ["icons"], never, true, never>;
527
+ static ngAcceptInputType_disabled: BooleanInput;
528
+ }
529
+
530
+ /**
531
+ * Callout
532
+ * @description Callouts can be used to highlight certain parts of the text that require particular attention. They may contain error messages, warnings, hints, etc.
533
+ */
534
+ declare class ItCalloutComponent {
535
+ /**
536
+ * Callout label
537
+ * @default undefined
538
+ */
539
+ label: string | undefined;
540
+ /**
541
+ * Callout hiddenLabel
542
+ * @default undefined
543
+ */
544
+ hiddenLabel: string | undefined;
545
+ /**
546
+ * Callout color
547
+ * - <b>success</b>
548
+ * - <b>danger</b>
549
+ * - <b>warning</b>
550
+ * - <b>important</b>
551
+ * - <b>note</b>
552
+ * @default undefined
553
+ */
554
+ color: CalloutColor | undefined;
555
+ /**
556
+ * Callout appearance
557
+ * - <b>default</b>
558
+ * - <b>highlight</b>: Callout version with border only on the left side
559
+ * - <b>more</b>: It looks radically different from the other styles available and is suitable for more extensive texts
560
+ * @default default
561
+ */
562
+ appearance: CalloutAppearance;
563
+ /**
564
+ * Custom icon
565
+ * @default undefined
566
+ */
567
+ icon: IconName | undefined;
568
+ /**
569
+ * The input label even get labelWaria icon
570
+ * @default undefined
571
+ */
572
+ labelWaria: string | undefined;
573
+ protected get iconName(): IconName;
574
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItCalloutComponent, never>;
575
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItCalloutComponent, "it-callout", never, { "label": { "alias": "label"; "required": false; }; "hiddenLabel": { "alias": "hiddenLabel"; "required": false; }; "color": { "alias": "color"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "labelWaria": { "alias": "labelWaria"; "required": false; }; }, {}, never, ["[bigText]", "*"], true, never>;
576
+ }
577
+
578
+ /**
579
+ * Card
580
+ * @description A container of texts and images with many options and variations.
581
+ */
582
+ declare class ItCardComponent extends ItAbstractComponent {
583
+ /**
584
+ * To create inline cards
585
+ * @default false
586
+ */
587
+ inline?: boolean;
588
+ /**
589
+ * To create inline mini cards
590
+ * @default false
591
+ */
592
+ mini?: boolean;
593
+ /**
594
+ * To add border
595
+ * @default true
596
+ */
597
+ border: boolean;
598
+ /**
599
+ * To create banner cards
600
+ * @default false
601
+ */
602
+ banner?: boolean;
603
+ /**
604
+ * To create profile cards
605
+ * @default false
606
+ */
607
+ profile?: boolean;
608
+ /**
609
+ * To create rounded cards
610
+ * @default false
611
+ */
612
+ rounded?: boolean;
613
+ /**
614
+ * To create inline reverse cards
615
+ * @default false
616
+ */
617
+ reverse?: boolean;
618
+ /**
619
+ * To create full height cards
620
+ * @default false
621
+ */
622
+ fullHeight?: boolean;
623
+ /**
624
+ * Card with image
625
+ * @default false
626
+ */
627
+ hasImage?: boolean;
628
+ /**
629
+ * To add top border
630
+ * @default false
631
+ */
632
+ borderTop?: boolean;
633
+ /**
634
+ * Custom card class
635
+ * @default ''
636
+ */
637
+ cardClass: string;
638
+ /**
639
+ * Custom card body class
640
+ * @default ''
641
+ */
642
+ bodyClass: string;
643
+ /**
644
+ * Shadow type
645
+ * @default 'sm'
646
+ */
647
+ shadow: 'sm' | 'lg' | 'normal' | 'none';
648
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItCardComponent, never>;
649
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItCardComponent, "it-card", never, { "inline": { "alias": "inline"; "required": false; }; "mini": { "alias": "mini"; "required": false; }; "border": { "alias": "border"; "required": false; }; "banner": { "alias": "banner"; "required": false; }; "profile": { "alias": "profile"; "required": false; }; "rounded": { "alias": "rounded"; "required": false; }; "reverse": { "alias": "reverse"; "required": false; }; "fullHeight": { "alias": "fullHeight"; "required": false; }; "hasImage": { "alias": "hasImage"; "required": false; }; "borderTop": { "alias": "borderTop"; "required": false; }; "cardClass": { "alias": "cardClass"; "required": false; }; "bodyClass": { "alias": "bodyClass"; "required": false; }; "shadow": { "alias": "shadow"; "required": false; }; }, {}, never, ["[beforeBody]", "*"], true, never>;
650
+ static ngAcceptInputType_inline: BooleanInput;
651
+ static ngAcceptInputType_mini: BooleanInput;
652
+ static ngAcceptInputType_border: BooleanInput;
653
+ static ngAcceptInputType_banner: BooleanInput;
654
+ static ngAcceptInputType_profile: BooleanInput;
655
+ static ngAcceptInputType_rounded: BooleanInput;
656
+ static ngAcceptInputType_reverse: BooleanInput;
657
+ static ngAcceptInputType_fullHeight: BooleanInput;
658
+ static ngAcceptInputType_hasImage: BooleanInput;
659
+ static ngAcceptInputType_borderTop: BooleanInput;
660
+ }
661
+
662
+ /**
663
+ * Carousel Item
664
+ * @description element, image or text slide of carousel
665
+ */
666
+ declare class ItCarouselItemComponent extends ItAbstractComponent {
667
+ /**
668
+ * The content of item
669
+ */
670
+ htmlContent: TemplateRef<any>;
671
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItCarouselItemComponent, never>;
672
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItCarouselItemComponent, "it-carousel-item", never, {}, {}, never, ["*"], true, never>;
673
+ }
674
+
675
+ /**
676
+ * Carousel
677
+ * @description A presentation component for scrolling through elements, images or text slides.
678
+ */
679
+ declare class ItCarouselComponent implements AfterViewInit, OnDestroy {
680
+ private readonly _changeDetectorRef;
681
+ /**
682
+ * The callout title
683
+ * @default undefined
684
+ */
685
+ title: string | undefined;
686
+ /**
687
+ * The carousel type
688
+ * @default default
689
+ */
690
+ type: CarouselType;
691
+ /**
692
+ * Custom class in splide__track element
693
+ * @default ''
694
+ */
695
+ trackClass: string;
696
+ /**
697
+ * True for full screen (landscape) viewing
698
+ * @default false
699
+ */
700
+ fullCarousel?: boolean;
701
+ /**
702
+ * To indicate that the contained image is of a large type
703
+ * @default false
704
+ */
705
+ bigImg?: boolean;
706
+ /**
707
+ * To indicate that the contained image is of a standard type
708
+ * @default false
709
+ */
710
+ standardImage?: boolean;
711
+ /**
712
+ * Card line style
713
+ * @default false
714
+ */
715
+ lined?: boolean;
716
+ protected items?: QueryList<ItCarouselItemComponent>;
717
+ private carousel?;
718
+ private carouselDiv;
719
+ private itemSubscriptions?;
720
+ protected get typeClass(): string;
721
+ ngAfterViewInit(): void;
722
+ ngOnDestroy(): void;
723
+ /**
724
+ * Removes Carousel features
725
+ */
726
+ dispose(): void;
727
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItCarouselComponent, never>;
728
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItCarouselComponent, "it-carousel", ["itCarousel"], { "title": { "alias": "title"; "required": false; }; "type": { "alias": "type"; "required": false; }; "trackClass": { "alias": "trackClass"; "required": false; }; "fullCarousel": { "alias": "fullCarousel"; "required": false; }; "bigImg": { "alias": "bigImg"; "required": false; }; "standardImage": { "alias": "standardImage"; "required": false; }; "lined": { "alias": "lined"; "required": false; }; }, {}, ["items"], never, true, never>;
729
+ static ngAcceptInputType_fullCarousel: BooleanInput;
730
+ static ngAcceptInputType_bigImg: BooleanInput;
731
+ static ngAcceptInputType_standardImage: BooleanInput;
732
+ static ngAcceptInputType_lined: BooleanInput;
733
+ }
734
+
735
+ declare class ItCarouselModule {
736
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItCarouselModule, never>;
737
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ItCarouselModule, never, [typeof ItCarouselComponent, typeof ItCarouselItemComponent], [typeof ItCarouselComponent, typeof ItCarouselItemComponent]>;
738
+ static ɵinj: i0.ɵɵInjectorDeclaration<ItCarouselModule>;
739
+ }
740
+
741
+ declare class ItChipComponent {
742
+ /**
743
+ * Indica la label
744
+ */
745
+ set label(value: string);
746
+ get label(): string;
747
+ private _label;
748
+ /**
749
+ * Indica se mostrate il pulante di chisura
750
+ */
751
+ set showCloseButton(value: boolean);
752
+ get showCloseButton(): boolean;
753
+ private _showCloseButton;
754
+ /**
755
+ * Indica il size
756
+ */
757
+ set size(value: '' | 'lg');
758
+ get size(): '' | 'lg';
759
+ private _size;
760
+ /**
761
+ * Indica il colore della chip
762
+ */
763
+ set color(value: ChipColor | undefined);
764
+ get color(): ChipColor | undefined;
765
+ private _color;
766
+ /**
767
+ * Indica se la chip è disabilitata
768
+ */
769
+ set disabled(value: boolean);
770
+ get disabled(): boolean;
771
+ private _disabled;
772
+ /**
773
+ * Indica il nome dell'icona, se valorizzata viene mostrata
774
+ */
775
+ set icon(value: IconName | undefined);
776
+ get icon(): IconName | undefined;
777
+ private _icon;
778
+ /**
779
+ * Indica l'url dell'avatar, se valorizzata viene mostrata
780
+ */
781
+ set avatar(value: string | undefined);
782
+ get avatar(): string | undefined;
783
+ private _avatar;
784
+ /**
785
+ * Indica il valore da aggiungere al parametro alt, di default ''
786
+ */
787
+ set altAvatar(value: string);
788
+ get altAvatar(): string;
789
+ private _altAvatar;
790
+ /**
791
+ * Evento emesso al click sul bottone di chiusura
792
+ */
793
+ closeEvent: EventEmitter<any>;
794
+ /**
795
+ * Return the icon href
796
+ */
797
+ protected get iconHref(): string;
798
+ private iconClose;
799
+ /**
800
+ * Return the close icon href
801
+ */
802
+ protected get iconCloseHref(): string;
803
+ /**
804
+ * The bootstrap-italia asset folder path
805
+ * @default ./bootstrap-italia
806
+ */
807
+ protected assetBasePath: string;
808
+ constructor();
809
+ clickToClose(): void;
810
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItChipComponent, never>;
811
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItChipComponent, "it-chip", never, { "label": { "alias": "label"; "required": false; }; "showCloseButton": { "alias": "showCloseButton"; "required": false; }; "size": { "alias": "size"; "required": false; }; "color": { "alias": "color"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "avatar": { "alias": "avatar"; "required": false; }; "altAvatar": { "alias": "altAvatar"; "required": false; }; }, { "closeEvent": "closeEvent"; }, never, never, true, never>;
812
+ }
813
+
814
+ type DimmerColor = '' | 'dimmer-primary';
815
+ declare class ItDimmerComponent implements OnInit {
816
+ private elementRef;
817
+ /**
818
+ * Dimmer status
819
+ * @default false
820
+ */
821
+ set active(value: boolean);
822
+ get active(): boolean;
823
+ private _active;
824
+ /**
825
+ * Colore del dimmer
826
+ * @default ''
827
+ */
828
+ set color(value: DimmerColor);
829
+ get color(): DimmerColor;
830
+ private _color;
831
+ ngOnInit(): void;
832
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItDimmerComponent, never>;
833
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItDimmerComponent, "it-dimmer", never, { "active": { "alias": "active"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, ["*"], true, never>;
834
+ }
835
+
836
+ declare class ItDimmerIconComponent {
837
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItDimmerIconComponent, never>;
838
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItDimmerIconComponent, "it-dimmer-icon", never, {}, {}, never, ["*"], true, never>;
839
+ }
840
+
841
+ declare class ItDimmerButtonsComponent {
842
+ /**
843
+ * Indica se abbiamo 1 solo bottone
844
+ * @default false
845
+ */
846
+ set hasOneButton(value: boolean);
847
+ get hasOneButton(): boolean;
848
+ private _hasOneButton;
849
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItDimmerButtonsComponent, never>;
850
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItDimmerButtonsComponent, "it-dimmer-buttons", never, { "hasOneButton": { "alias": "hasOneButton"; "required": false; }; }, {}, never, ["*"], true, never>;
851
+ }
852
+
853
+ declare class ItDimmerModule {
854
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItDimmerModule, never>;
855
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ItDimmerModule, never, [typeof ItDimmerComponent, typeof ItDimmerIconComponent, typeof ItDimmerButtonsComponent], [typeof ItDimmerComponent, typeof ItDimmerIconComponent, typeof ItDimmerButtonsComponent]>;
856
+ static ɵinj: i0.ɵɵInjectorDeclaration<ItDimmerModule>;
857
+ }
858
+
859
+ declare class ItLinkComponent extends ItAbstractComponent implements AfterViewInit, OnChanges {
860
+ /**
861
+ * The router link action
862
+ *
863
+ * Commands to pass to Router#createUrlTree.
864
+ * - array: commands to pass to Router#createUrlTree.
865
+ * - string: shorthand for array of commands with just the string, i.e. ['/route']
866
+ * - null|undefined: Disables the link by removing the href
867
+ */
868
+ href: any[] | string | null | undefined;
869
+ /**
870
+ * Is an external link (false to not use Angular router link)
871
+ * @default false
872
+ */
873
+ externalLink?: boolean;
874
+ /**
875
+ * Is disabled link
876
+ * @default false
877
+ */
878
+ disabled?: boolean;
879
+ /**
880
+ * Custom class
881
+ */
882
+ class: string;
883
+ ngAfterViewInit(): void;
884
+ ngOnChanges(changes: SimpleChanges): void;
885
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItLinkComponent, never>;
886
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItLinkComponent, "it-link", never, { "href": { "alias": "href"; "required": false; }; "externalLink": { "alias": "externalLink"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "class": { "alias": "class"; "required": false; }; }, {}, never, ["*"], true, never>;
887
+ static ngAcceptInputType_externalLink: BooleanInput;
888
+ static ngAcceptInputType_disabled: BooleanInput;
889
+ }
890
+
891
+ declare class ItDropdownItemComponent extends ItLinkComponent {
892
+ /**
893
+ * Show divider
894
+ * @default false
895
+ */
896
+ divider?: boolean;
897
+ /**
898
+ * Active item
899
+ * @default false
900
+ */
901
+ active?: boolean;
902
+ /**
903
+ * To increase the size of links
904
+ * @default false
905
+ */
906
+ large?: boolean;
907
+ /**
908
+ * The name of icon to show
909
+ */
910
+ iconName: IconName | undefined;
911
+ /**
912
+ * The icon position
913
+ * @default right
914
+ */
915
+ iconPosition: 'left' | 'right';
916
+ /**
917
+ * Dropdown mode
918
+ */
919
+ mode?: 'button' | 'link' | 'nav';
920
+ /**
921
+ * Change icon color if menu is dark
922
+ * @default false
923
+ */
924
+ isDark: boolean;
925
+ get linkClass(): string;
926
+ setDark(dark: boolean): void;
927
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItDropdownItemComponent, never>;
928
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItDropdownItemComponent, "it-dropdown-item", never, { "divider": { "alias": "divider"; "required": false; }; "active": { "alias": "active"; "required": false; }; "large": { "alias": "large"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; "iconPosition": { "alias": "iconPosition"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; }, {}, never, ["*"], true, never>;
929
+ static ngAcceptInputType_divider: BooleanInput;
930
+ static ngAcceptInputType_active: BooleanInput;
931
+ static ngAcceptInputType_large: BooleanInput;
932
+ }
933
+
934
+ declare class ItDropdownComponent extends ItAbstractComponent implements AfterViewInit, OnChanges {
935
+ /**
936
+ * Dropdown mode
937
+ */
938
+ mode: 'button' | 'link' | 'nav';
939
+ /**
940
+ * Button color
941
+ */
942
+ color?: ButtonColor;
943
+ /**
944
+ * To open menu items to:
945
+ * - <strong>dropup</strong>: up
946
+ * - <strong>dropend</strong>: right
947
+ * - <strong>dropstart</strong>: left
948
+ */
949
+ direction: DropdownDirection | undefined;
950
+ /**
951
+ * To get a dropdown menu as wide as the element containing the dropdown button
952
+ * @default false
953
+ */
954
+ fullWidth?: boolean;
955
+ /**
956
+ * Contains a Megamenu element
957
+ * @default false
958
+ */
959
+ megamenu?: boolean;
960
+ /**
961
+ * Dark menu style
962
+ * @default false
963
+ */
964
+ dark?: boolean;
965
+ /**
966
+ * The dropdown items
967
+ */
968
+ items?: QueryList<ItDropdownItemComponent>;
969
+ /**
970
+ * Fires immediately when the show instance method is called.
971
+ */
972
+ showEvent: EventEmitter<Event>;
973
+ /**
974
+ * Fired when the dropdown has been made visible to the user and CSS transitions have completed.
975
+ */
976
+ shownEvent: EventEmitter<Event>;
977
+ /**
978
+ * Fires immediately when the hide instance method has been called.
979
+ */
980
+ hideEvent: EventEmitter<Event>;
981
+ /**
982
+ * Fired when the dropdown has finished being hidden from the user and CSS transitions have completed.
983
+ */
984
+ hiddenEvent: EventEmitter<Event>;
985
+ private dropdown?;
986
+ private dropdownButton?;
987
+ get buttonClass(): string;
988
+ ngOnChanges(changes: SimpleChanges): void;
989
+ ngAfterViewInit(): void;
990
+ /**
991
+ * Set child items dark mode
992
+ * @private
993
+ */
994
+ private setDarkItems;
995
+ private updateListeners;
996
+ /**
997
+ * Toggles the dropdown menu of a given navbar or tabbed navigation.
998
+ */
999
+ toggle(): void;
1000
+ /**
1001
+ * Shows the dropdown menu of a given navbar or tabbed navigation.
1002
+ */
1003
+ show(): void;
1004
+ /**
1005
+ * Hides the dropdown menu of a given navbar or tabbed navigation.
1006
+ */
1007
+ hide(): void;
1008
+ /**
1009
+ * Updates the position of an element's dropdown.
1010
+ */
1011
+ update(): void;
1012
+ /**
1013
+ * Destroys an element's dropdown. (Removes stored data on the DOM element)
1014
+ */
1015
+ dispose(): void;
1016
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItDropdownComponent, never>;
1017
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItDropdownComponent, "it-dropdown", ["itDropdown"], { "mode": { "alias": "mode"; "required": false; }; "color": { "alias": "color"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "megamenu": { "alias": "megamenu"; "required": false; }; "dark": { "alias": "dark"; "required": false; }; }, { "showEvent": "showEvent"; "shownEvent": "shownEvent"; "hideEvent": "hideEvent"; "hiddenEvent": "hiddenEvent"; }, ["items"], ["[listHeading]", "[list]", "[button]"], true, never>;
1018
+ static ngAcceptInputType_fullWidth: BooleanInput;
1019
+ static ngAcceptInputType_megamenu: BooleanInput;
1020
+ static ngAcceptInputType_dark: BooleanInput;
1021
+ }
1022
+
1023
+ declare class ItDropdownModule {
1024
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItDropdownModule, never>;
1025
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ItDropdownModule, never, [typeof ItDropdownComponent, typeof ItDropdownItemComponent], [typeof ItDropdownComponent, typeof ItDropdownItemComponent]>;
1026
+ static ɵinj: i0.ɵɵInjectorDeclaration<ItDropdownModule>;
1027
+ }
1028
+
1029
+ declare class ItForwardDirective {
1030
+ private document;
1031
+ /**
1032
+ * Indica, se HTMLElement, l'elemento a cui navigare, o se stringa, il selettore che selezionerà l'elemento a cui navigare.
1033
+ */
1034
+ set itForward(value: HTMLElement | string | undefined);
1035
+ get itForward(): HTMLElement | string | undefined;
1036
+ private _itForward;
1037
+ onClick(event: any): void;
1038
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItForwardDirective, never>;
1039
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ItForwardDirective, "[itForward]", never, { "itForward": { "alias": "itForward"; "required": false; }; }, {}, never, never, true, never>;
1040
+ }
1041
+
1042
+ declare class ItListComponent {
1043
+ /**
1044
+ * Add 'link-list' class for navigation menu
1045
+ * @default false
1046
+ */
1047
+ linkList?: boolean;
1048
+ /**
1049
+ * Add 'link-sublist' class for navigation menu
1050
+ * @default false
1051
+ */
1052
+ linkSubList?: boolean;
1053
+ /**
1054
+ * Add 'multiline' class for wrapper
1055
+ * @default false
1056
+ */
1057
+ multiline?: boolean;
1058
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItListComponent, never>;
1059
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItListComponent, "it-list", never, { "linkList": { "alias": "linkList"; "required": false; }; "linkSubList": { "alias": "linkSubList"; "required": false; }; "multiline": { "alias": "multiline"; "required": false; }; }, {}, never, ["*"], true, never>;
1060
+ static ngAcceptInputType_linkList: BooleanInput;
1061
+ static ngAcceptInputType_linkSubList: BooleanInput;
1062
+ static ngAcceptInputType_multiline: BooleanInput;
1063
+ }
1064
+
1065
+ declare class ItListItemComponent extends ItLinkComponent {
1066
+ private elRef;
1067
+ /**
1068
+ * Add active class
1069
+ * @default false
1070
+ */
1071
+ active?: boolean;
1072
+ /**
1073
+ * Add large class
1074
+ */
1075
+ size?: 'large' | 'medium';
1076
+ /**
1077
+ * Add icon-left class
1078
+ * @default false
1079
+ */
1080
+ iconLeft?: boolean;
1081
+ /**
1082
+ * Add icon-right class
1083
+ * @default false
1084
+ */
1085
+ iconRight?: boolean;
1086
+ private _avatar;
1087
+ /**
1088
+ * The avatar url
1089
+ * @deprecated L'input 'avatar' è deprecato. Usa la documentazione del component Avatar per questo caso d'uso, facendo riferimento all'esempio Avatar con lista. Sarà rimosso nelle prossime versioni.
1090
+ */
1091
+ get avatar(): URL | undefined;
1092
+ set avatar(value: URL | undefined);
1093
+ /**
1094
+ * The thumb image url
1095
+ */
1096
+ image: URL | undefined;
1097
+ get itemClass(): string;
1098
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItListItemComponent, never>;
1099
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItListItemComponent, "it-list-item", never, { "active": { "alias": "active"; "required": false; }; "size": { "alias": "size"; "required": false; }; "iconLeft": { "alias": "iconLeft"; "required": false; }; "iconRight": { "alias": "iconRight"; "required": false; }; "avatar": { "alias": "avatar"; "required": false; }; "image": { "alias": "image"; "required": false; }; }, {}, never, ["[icon]", "*", "[action]", "[metadata]", "[multiple]"], true, never>;
1100
+ static ngAcceptInputType_active: BooleanInput;
1101
+ static ngAcceptInputType_iconLeft: BooleanInput;
1102
+ static ngAcceptInputType_iconRight: BooleanInput;
1103
+ }
1104
+
1105
+ declare class ItListModule {
1106
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItListModule, never>;
1107
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ItListModule, never, [typeof ItListComponent, typeof ItListItemComponent], [typeof ItListComponent, typeof ItListItemComponent]>;
1108
+ static ɵinj: i0.ɵɵInjectorDeclaration<ItListModule>;
1109
+ }
1110
+
1111
+ /**
1112
+ * Modal windows
1113
+ * @description To show featured content, notifications to users, or personalized content.
1114
+ */
1115
+ declare class ItModalComponent extends ItAbstractComponent implements AfterViewInit {
1116
+ /**
1117
+ * Show/Hide close button on header
1118
+ * @default true
1119
+ */
1120
+ closeButton: boolean;
1121
+ /**
1122
+ * To correctly format the contents of the modal with icon
1123
+ * @default false
1124
+ */
1125
+ alertModal?: boolean;
1126
+ /**
1127
+ * To correctly format the contents of the modal with Link List
1128
+ * @default false
1129
+ */
1130
+ dialogLinkList?: boolean;
1131
+ /**
1132
+ * Modal type Popconfirm can be used for short confirmation messages.
1133
+ * @default false
1134
+ */
1135
+ popconfirm?: boolean;
1136
+ /**
1137
+ * You can choose to use a scroll inside the modal, keeping the header and footer of the modal always visible
1138
+ * @default false
1139
+ */
1140
+ scrollable?: boolean;
1141
+ /**
1142
+ * To have modals that appear with fades
1143
+ * @default true
1144
+ */
1145
+ fade?: boolean;
1146
+ /**
1147
+ * Modal alignment
1148
+ * - <b>centered</b>: to vertically center the modal
1149
+ * - <b>left</b>: to left-align the modal
1150
+ * - <b>right</b>: to right-align the modal
1151
+ * @default undefined
1152
+ */
1153
+ alignment: 'centered' | 'left' | 'right' | undefined;
1154
+ /**
1155
+ * The modal size
1156
+ * @default undefined
1157
+ */
1158
+ size: 'sm' | 'lg' | 'xl' | undefined;
1159
+ /**
1160
+ * Includes a modal-backdrop element. Alternatively, specify static for a backdrop which doesn’t close the modal when clicked.
1161
+ * @default true
1162
+ */
1163
+ backdrop: 'static' | boolean;
1164
+ /**
1165
+ * Puts the focus on the modal when initialized.
1166
+ * @default true
1167
+ */
1168
+ focus: boolean;
1169
+ /**
1170
+ * Closes the modal when escape key is pressed.
1171
+ * @default true
1172
+ */
1173
+ keyboard: boolean;
1174
+ /**
1175
+ * To better distinguish the footer element with a shadow
1176
+ * @default false
1177
+ */
1178
+ footerShadow?: boolean;
1179
+ /**
1180
+ * Modal options
1181
+ */
1182
+ options?: Partial<Modal.Options>;
1183
+ /**
1184
+ * This event fires immediately when the instance method show is called.
1185
+ */
1186
+ showEvent: EventEmitter<Event>;
1187
+ /**
1188
+ * This event fires when the modal has been made visible to the user (it will wait for CSS transitions to complete).
1189
+ */
1190
+ shownEvent: EventEmitter<Event>;
1191
+ /**
1192
+ * This event is raised immediately when the instance method hide has been called.
1193
+ */
1194
+ hideEvent: EventEmitter<Event>;
1195
+ /**
1196
+ * This event fires when the modal has finished hiding from the user (it will wait for CSS transitions to complete).
1197
+ */
1198
+ hiddenEvent: EventEmitter<Event>;
1199
+ /**
1200
+ * This event is fired when the modal is displayed, its background is static and a click outside the modal or a press
1201
+ * of the esc key occurs and data-bs-keyboard is set to false.
1202
+ */
1203
+ hidePreventedEvent: EventEmitter<Event>;
1204
+ private modal?;
1205
+ private modalElement?;
1206
+ ngAfterViewInit(): void;
1207
+ protected get modalClass(): string;
1208
+ protected get dialogClass(): string;
1209
+ /**
1210
+ * Manually activate/deactivate a modal. Returns to the caller before the modal has actually been shown or hidden
1211
+ */
1212
+ toggle(): void;
1213
+ /**
1214
+ * Manually open a modal. Returns to the caller before the modal has actually been displayed
1215
+ */
1216
+ show(): void;
1217
+ /**
1218
+ * Manually hide a modal. Returns to the caller before the modal has actually been hidden
1219
+ */
1220
+ hide(): void;
1221
+ /**
1222
+ * Manually reposition the modal if the height of the modal changes when it is opened (in case a scroll bar appears).
1223
+ */
1224
+ handleUpdate(): void;
1225
+ /**
1226
+ * Destroys the modal of an element.
1227
+ */
1228
+ dispose(): void;
1229
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItModalComponent, never>;
1230
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItModalComponent, "it-modal", ["itModal"], { "closeButton": { "alias": "closeButton"; "required": false; }; "alertModal": { "alias": "alertModal"; "required": false; }; "dialogLinkList": { "alias": "dialogLinkList"; "required": false; }; "popconfirm": { "alias": "popconfirm"; "required": false; }; "scrollable": { "alias": "scrollable"; "required": false; }; "fade": { "alias": "fade"; "required": false; }; "alignment": { "alias": "alignment"; "required": false; }; "size": { "alias": "size"; "required": false; }; "backdrop": { "alias": "backdrop"; "required": false; }; "focus": { "alias": "focus"; "required": false; }; "keyboard": { "alias": "keyboard"; "required": false; }; "footerShadow": { "alias": "footerShadow"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, { "showEvent": "showEvent"; "shownEvent": "shownEvent"; "hideEvent": "hideEvent"; "hiddenEvent": "hiddenEvent"; "hidePreventedEvent": "hidePreventedEvent"; }, never, ["[beforeTitle]", "[modalTitle]", "[description]", "*", "[footer]"], true, never>;
1231
+ static ngAcceptInputType_closeButton: BooleanInput;
1232
+ static ngAcceptInputType_alertModal: BooleanInput;
1233
+ static ngAcceptInputType_dialogLinkList: BooleanInput;
1234
+ static ngAcceptInputType_popconfirm: BooleanInput;
1235
+ static ngAcceptInputType_scrollable: BooleanInput;
1236
+ static ngAcceptInputType_fade: BooleanInput;
1237
+ static ngAcceptInputType_focus: BooleanInput;
1238
+ static ngAcceptInputType_keyboard: BooleanInput;
1239
+ static ngAcceptInputType_footerShadow: BooleanInput;
1240
+ }
1241
+
1242
+ declare class ItNotificationsComponent implements OnDestroy {
1243
+ private readonly _changeDetectorRef;
1244
+ private readonly _notificationService;
1245
+ /**
1246
+ * Default notifications duration (milliseconds)
1247
+ * @default 8000
1248
+ */
1249
+ duration: number;
1250
+ /**
1251
+ * Default notifications position
1252
+ */
1253
+ position: NotificationPosition | undefined;
1254
+ /**
1255
+ * Default notifications is dismissible
1256
+ * @default true
1257
+ */
1258
+ dismissible: boolean;
1259
+ private subscription;
1260
+ private notificationCount;
1261
+ protected notifications: Array<Notification & {
1262
+ id: string;
1263
+ }>;
1264
+ constructor();
1265
+ ngOnDestroy(): void;
1266
+ protected get NotificationType(): typeof NotificationType;
1267
+ /**
1268
+ * Hide the notification
1269
+ * @param id
1270
+ */
1271
+ protected hideNotification(id: string): void;
1272
+ /**
1273
+ * Retrieve the icon name by notification type
1274
+ * @param notification the notification
1275
+ * @protected
1276
+ */
1277
+ private getNotificationIcon;
1278
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItNotificationsComponent, never>;
1279
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItNotificationsComponent, "it-notifications", never, { "duration": { "alias": "duration"; "required": false; }; "position": { "alias": "position"; "required": false; }; "dismissible": { "alias": "dismissible"; "required": false; }; }, {}, never, never, true, never>;
1280
+ static ngAcceptInputType_dismissible: BooleanInput;
1281
+ }
1282
+
1283
+ declare class ItPaginationComponent implements OnChanges {
1284
+ /**
1285
+ * Index of page (start 0)
1286
+ */
1287
+ currentPage: number;
1288
+ /**
1289
+ * Max number of page (counter)
1290
+ */
1291
+ pageNumbers: number;
1292
+ /**
1293
+ * Number of pages closest to the current one to display
1294
+ * @default 5
1295
+ */
1296
+ visiblePages: number;
1297
+ /**
1298
+ * Pagination alignment (justify-content)
1299
+ */
1300
+ alignment: 'center' | 'end' | undefined;
1301
+ /**
1302
+ * Enable/Disable simple mode
1303
+ * Pagination in the "Simple mode" version is optimized for mobile devices.
1304
+ * @default false - disabled
1305
+ */
1306
+ simpleMode?: boolean;
1307
+ /**
1308
+ * Enable/Disable text links
1309
+ * Chevron icons used as navigation links are replaced by text links such as “previous” and “next”.
1310
+ * @default false - disabled
1311
+ */
1312
+ textLinks?: boolean;
1313
+ /**
1314
+ * Current value of Changer
1315
+ * If is set show the Changer
1316
+ * @default undefined - hide the Changer
1317
+ */
1318
+ currentChanger: number | undefined;
1319
+ /**
1320
+ * Available Changer values
1321
+ * @default [10, 25, 50, 100]
1322
+ */
1323
+ changerValues: Array<number>;
1324
+ /**
1325
+ * Hide/Show "Jump to page" input
1326
+ * @default false - hidden
1327
+ */
1328
+ showJumpToPage?: boolean;
1329
+ /**
1330
+ * Fired when page is changed. Emit the new index of page
1331
+ */
1332
+ pageEvent: EventEmitter<number>;
1333
+ /**
1334
+ * Fired when changer is changed. Emit the new changer value
1335
+ */
1336
+ changerEvent: EventEmitter<number>;
1337
+ /**
1338
+ * The pages
1339
+ * @protected
1340
+ */
1341
+ protected pages: Array<number>;
1342
+ /**
1343
+ * Jump to page input
1344
+ * @protected
1345
+ */
1346
+ protected jumpToPage: FormControl<number | null>;
1347
+ constructor();
1348
+ ngOnChanges(changes: SimpleChanges): void;
1349
+ /**
1350
+ * Create array to generate pagination of `visiblePages` element
1351
+ */
1352
+ private calculatePages;
1353
+ /**
1354
+ * On click page change
1355
+ * @param event click event
1356
+ * @param newPage the new page of table
1357
+ */
1358
+ protected pageChange(event: Event, newPage: number): void;
1359
+ /**
1360
+ * On click changer
1361
+ * @param event click event
1362
+ * @param value the new changer value
1363
+ */
1364
+ protected changerChange(event: Event, value: number): void;
1365
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItPaginationComponent, never>;
1366
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItPaginationComponent, "it-pagination", never, { "currentPage": { "alias": "currentPage"; "required": true; }; "pageNumbers": { "alias": "pageNumbers"; "required": true; }; "visiblePages": { "alias": "visiblePages"; "required": false; }; "alignment": { "alias": "alignment"; "required": false; }; "simpleMode": { "alias": "simpleMode"; "required": false; }; "textLinks": { "alias": "textLinks"; "required": false; }; "currentChanger": { "alias": "currentChanger"; "required": false; }; "changerValues": { "alias": "changerValues"; "required": false; }; "showJumpToPage": { "alias": "showJumpToPage"; "required": false; }; }, { "pageEvent": "pageEvent"; "changerEvent": "changerEvent"; }, never, ["*"], true, never>;
1367
+ static ngAcceptInputType_simpleMode: BooleanInput;
1368
+ static ngAcceptInputType_textLinks: BooleanInput;
1369
+ static ngAcceptInputType_showJumpToPage: BooleanInput;
1370
+ }
1371
+
1372
+ declare class ItPopoverDirective implements AfterViewInit, OnDestroy {
1373
+ private readonly _elementRef;
1374
+ /**
1375
+ * Define the popover content
1376
+ * @param content the popover content
1377
+ */
1378
+ set content(content: string);
1379
+ /**
1380
+ * Define the popover title
1381
+ * @param title the popover title
1382
+ */
1383
+ set popoverTitle(title: string | undefined);
1384
+ /**
1385
+ * Define the popover placement
1386
+ * @param placement
1387
+ */
1388
+ set popoverPlacement(placement: ElementPlacement);
1389
+ /**
1390
+ * Appends the popover to a specific element.
1391
+ * @param container
1392
+ */
1393
+ set popoverContainer(container: 'body' | string | undefined);
1394
+ /**
1395
+ * Indicates whether the title contains html
1396
+ * @param html true if contain html
1397
+ */
1398
+ set popoverHtml(html: boolean);
1399
+ /**
1400
+ * How popover is triggered
1401
+ * - 'hover': To open the Popover on hover of the mouse over the element
1402
+ * - 'focus': To ignore popovers on the user's next click of an element other than the toggle element.
1403
+ * @param trigger
1404
+ */
1405
+ set popoverTrigger(trigger: 'click' | 'hover' | 'focus' | 'manual' | undefined);
1406
+ /**
1407
+ * This event fires immediately when the show method is called.
1408
+ */
1409
+ showEvent: EventEmitter<Event>;
1410
+ /**
1411
+ * This event is triggered when the tooltip has been made visible to the user (it will wait for the CSS transitions to complete).
1412
+ */
1413
+ shownEvent: EventEmitter<Event>;
1414
+ /**
1415
+ * This event fires immediately when the hide method is called.
1416
+ */
1417
+ hideEvent: EventEmitter<Event>;
1418
+ /**
1419
+ * This event is raised when the tooltip has finished being hidden from the user (it will wait for the CSS transitions to complete).
1420
+ */
1421
+ hiddenEvent: EventEmitter<Event>;
1422
+ /**
1423
+ * This event fires after the show event when the tooltip template has been added to the DOM.
1424
+ */
1425
+ insertedEvent: EventEmitter<Event>;
1426
+ private readonly element;
1427
+ private popover?;
1428
+ constructor();
1429
+ ngAfterViewInit(): void;
1430
+ ngOnDestroy(): void;
1431
+ /**
1432
+ * Shows the popover of an item.
1433
+ */
1434
+ show(): void;
1435
+ /**
1436
+ * Hide the popover of an element.
1437
+ */
1438
+ hide(): void;
1439
+ /**
1440
+ * Activate / Deactivate the popover of an element
1441
+ */
1442
+ toggle(): void;
1443
+ /**
1444
+ * Hides and destroys the popover of an element.
1445
+ */
1446
+ dispose(): void;
1447
+ /**
1448
+ * Gives the popover of an element a chance to be shown.
1449
+ */
1450
+ enable(): void;
1451
+ /**
1452
+ * Removes the ability to show the popover of an element.
1453
+ */
1454
+ disable(): void;
1455
+ /**
1456
+ * Toggles the possibility that the popover of an element is shown or hidden.
1457
+ */
1458
+ toggleEnabled(): void;
1459
+ /**
1460
+ * Updates the position of an element's popover.
1461
+ */
1462
+ update(): void;
1463
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItPopoverDirective, never>;
1464
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ItPopoverDirective, "[itPopover]", ["itPopover"], { "content": { "alias": "itPopover"; "required": false; }; "popoverTitle": { "alias": "popoverTitle"; "required": false; }; "popoverPlacement": { "alias": "popoverPlacement"; "required": false; }; "popoverContainer": { "alias": "popoverContainer"; "required": false; }; "popoverHtml": { "alias": "popoverHtml"; "required": false; }; "popoverTrigger": { "alias": "popoverTrigger"; "required": false; }; }, { "showEvent": "showEvent"; "shownEvent": "shownEvent"; "hideEvent": "hideEvent"; "hiddenEvent": "hiddenEvent"; "insertedEvent": "insertedEvent"; }, never, never, true, never>;
1465
+ static ngAcceptInputType_popoverHtml: BooleanInput;
1466
+ }
1467
+
1468
+ declare class ItProgressBarComponent {
1469
+ /**
1470
+ * The progress bar value [0, 100]
1471
+ */
1472
+ value: number;
1473
+ /**
1474
+ * Show the progress label
1475
+ * @default false
1476
+ */
1477
+ showLabel?: boolean;
1478
+ /**
1479
+ * Show the progress as indeterminate
1480
+ * @default false
1481
+ */
1482
+ indeterminate?: boolean;
1483
+ /**
1484
+ * The progress bar color
1485
+ */
1486
+ color: ProgressBarColor | undefined;
1487
+ /**
1488
+ * Return the background color
1489
+ */
1490
+ get bgColor(): string;
1491
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItProgressBarComponent, never>;
1492
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItProgressBarComponent, "it-progress-bar", never, { "value": { "alias": "value"; "required": true; }; "showLabel": { "alias": "showLabel"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, never, true, never>;
1493
+ static ngAcceptInputType_showLabel: BooleanInput;
1494
+ static ngAcceptInputType_indeterminate: BooleanInput;
1495
+ }
1496
+
1497
+ declare class ItProgressButtonComponent {
1498
+ /**
1499
+ * Behavior of the progress bar
1500
+ * - <b>true</b>: Show indeterminate progress bar
1501
+ * - <b>false</b> or <b>undefined</b>: Hide progress bar
1502
+ * - <b>number</b> [0, 100]: Assign a specific value to the progress bar
1503
+ * @default undefined
1504
+ */
1505
+ progress: number | boolean | undefined;
1506
+ /**
1507
+ * The progress bar color
1508
+ */
1509
+ progressColor: ProgressBarColor | undefined;
1510
+ get isProgress(): boolean;
1511
+ get progressValue(): number;
1512
+ get isIndeterminate(): boolean;
1513
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItProgressButtonComponent, never>;
1514
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItProgressButtonComponent, "button[itButton][progress]", never, { "progress": { "alias": "progress"; "required": false; }; "progressColor": { "alias": "progressColor"; "required": false; }; }, {}, never, ["*"], true, never>;
1515
+ }
1516
+
1517
+ declare class ItSpinnerComponent {
1518
+ /**
1519
+ * The spinner is active
1520
+ * @default true
1521
+ */
1522
+ active: boolean;
1523
+ /**
1524
+ * Show a small spinner
1525
+ * @default false
1526
+ */
1527
+ small?: boolean;
1528
+ /**
1529
+ * Show the double animation
1530
+ * @default false
1531
+ */
1532
+ double?: boolean;
1533
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItSpinnerComponent, never>;
1534
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItSpinnerComponent, "it-spinner", never, { "active": { "alias": "active"; "required": false; }; "small": { "alias": "small"; "required": false; }; "double": { "alias": "double"; "required": false; }; }, {}, never, never, true, never>;
1535
+ static ngAcceptInputType_active: BooleanInput;
1536
+ static ngAcceptInputType_small: BooleanInput;
1537
+ static ngAcceptInputType_double: BooleanInput;
1538
+ }
1539
+
1540
+ declare class ItSteppersItemComponent extends ItAbstractComponent {
1541
+ /**
1542
+ * The labels present in the header steps
1543
+ */
1544
+ label: string;
1545
+ /**
1546
+ * The labels present in the header steps can be preceded by an icon.
1547
+ */
1548
+ icon: IconName | undefined;
1549
+ /**
1550
+ * The title for the icon.
1551
+ */
1552
+ iconTitle: string | undefined;
1553
+ /**
1554
+ * The content of step
1555
+ */
1556
+ htmlContent: TemplateRef<any>;
1557
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItSteppersItemComponent, never>;
1558
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItSteppersItemComponent, "it-steppers-item", never, { "label": { "alias": "label"; "required": true; }; "icon": { "alias": "icon"; "required": false; }; "iconTitle": { "alias": "iconTitle"; "required": false; }; }, {}, never, ["*"], true, never>;
1559
+ }
1560
+
1561
+ declare class ItSteppersContainerComponent implements AfterViewInit, OnDestroy {
1562
+ private readonly _changeDetectorRef;
1563
+ /**
1564
+ * The active step index
1565
+ * @param index the step index
1566
+ */
1567
+ activeStep: number;
1568
+ /**
1569
+ * Show the stepper header
1570
+ * @default true
1571
+ */
1572
+ showHeader: boolean;
1573
+ /**
1574
+ * Dark style
1575
+ * @default false
1576
+ */
1577
+ dark?: boolean;
1578
+ /**
1579
+ * The labels present in the header steps can be anticipated by the relative ordinal number.
1580
+ * @efualt false
1581
+ */
1582
+ steppersNumber?: boolean;
1583
+ /**
1584
+ * The progress style
1585
+ * -<b>progress</b>: Show progress bar - You can change the color with the `progressColor` attribute
1586
+ * -<b>dots</b>: Show progress dots
1587
+ * @default undefined - don't show progress
1588
+ */
1589
+ progressStyle: 'progress' | 'dots' | undefined;
1590
+ /**
1591
+ * Customize progress color
1592
+ */
1593
+ progressColor: ProgressBarColor | undefined;
1594
+ /**
1595
+ * Show the back button
1596
+ * @default true
1597
+ */
1598
+ showBackButton: boolean;
1599
+ /**
1600
+ * Disable the back button
1601
+ * @default false
1602
+ */
1603
+ disableBackButton?: boolean;
1604
+ /**
1605
+ * Show the forward button
1606
+ * @default true
1607
+ */
1608
+ showForwardButton: boolean;
1609
+ /**
1610
+ * Disable the forward button
1611
+ * @default false
1612
+ */
1613
+ disableForwardButton?: boolean;
1614
+ /**
1615
+ * Show the confirm button
1616
+ * @default false
1617
+ */
1618
+ showConfirmButton?: boolean;
1619
+ /**
1620
+ * Disable the confirm button
1621
+ * @default false
1622
+ */
1623
+ disableConfirmButton?: boolean;
1624
+ /**
1625
+ * Show the confirm button as indeterminate progress button
1626
+ */
1627
+ confirmLoading?: boolean;
1628
+ /**
1629
+ * Show the save button
1630
+ * @default false
1631
+ */
1632
+ showSaveButton?: boolean;
1633
+ /**
1634
+ * Disable the save button
1635
+ * @default false
1636
+ */
1637
+ disableSaveButton?: boolean;
1638
+ /**
1639
+ * Show the save button as indeterminate progress button
1640
+ */
1641
+ saveLoading?: boolean;
1642
+ /**
1643
+ * The stepper items
1644
+ */
1645
+ steps?: QueryList<ItSteppersItemComponent>;
1646
+ /**
1647
+ * On back button click
1648
+ * @event activeStep the current step index
1649
+ */
1650
+ backClick: EventEmitter<number>;
1651
+ /**
1652
+ * On forward button click
1653
+ * @event activeStep the current step index
1654
+ */
1655
+ forwardClick: EventEmitter<number>;
1656
+ /**
1657
+ * On confirm button click
1658
+ * @event activeStep the current step index
1659
+ */
1660
+ confirmClick: EventEmitter<number>;
1661
+ /**
1662
+ * On save button click
1663
+ * @event activeStep the current step index
1664
+ */
1665
+ saveClick: EventEmitter<number>;
1666
+ private stepsSubscriptions?;
1667
+ constructor();
1668
+ ngAfterViewInit(): void;
1669
+ ngOnDestroy(): void;
1670
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItSteppersContainerComponent, never>;
1671
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItSteppersContainerComponent, "it-steppers-container", never, { "activeStep": { "alias": "activeStep"; "required": true; }; "showHeader": { "alias": "showHeader"; "required": false; }; "dark": { "alias": "dark"; "required": false; }; "steppersNumber": { "alias": "steppersNumber"; "required": false; }; "progressStyle": { "alias": "progressStyle"; "required": false; }; "progressColor": { "alias": "progressColor"; "required": false; }; "showBackButton": { "alias": "showBackButton"; "required": false; }; "disableBackButton": { "alias": "disableBackButton"; "required": false; }; "showForwardButton": { "alias": "showForwardButton"; "required": false; }; "disableForwardButton": { "alias": "disableForwardButton"; "required": false; }; "showConfirmButton": { "alias": "showConfirmButton"; "required": false; }; "disableConfirmButton": { "alias": "disableConfirmButton"; "required": false; }; "confirmLoading": { "alias": "confirmLoading"; "required": false; }; "showSaveButton": { "alias": "showSaveButton"; "required": false; }; "disableSaveButton": { "alias": "disableSaveButton"; "required": false; }; "saveLoading": { "alias": "saveLoading"; "required": false; }; }, { "backClick": "backClick"; "forwardClick": "forwardClick"; "confirmClick": "confirmClick"; "saveClick": "saveClick"; }, ["steps"], never, true, never>;
1672
+ static ngAcceptInputType_showHeader: BooleanInput;
1673
+ static ngAcceptInputType_dark: BooleanInput;
1674
+ static ngAcceptInputType_steppersNumber: BooleanInput;
1675
+ static ngAcceptInputType_showBackButton: BooleanInput;
1676
+ static ngAcceptInputType_disableBackButton: BooleanInput;
1677
+ static ngAcceptInputType_showForwardButton: BooleanInput;
1678
+ static ngAcceptInputType_disableForwardButton: BooleanInput;
1679
+ static ngAcceptInputType_showConfirmButton: BooleanInput;
1680
+ static ngAcceptInputType_disableConfirmButton: BooleanInput;
1681
+ static ngAcceptInputType_confirmLoading: BooleanInput;
1682
+ static ngAcceptInputType_showSaveButton: BooleanInput;
1683
+ static ngAcceptInputType_disableSaveButton: BooleanInput;
1684
+ static ngAcceptInputType_saveLoading: BooleanInput;
1685
+ }
1686
+
1687
+ declare class ItSteppersModule {
1688
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItSteppersModule, never>;
1689
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ItSteppersModule, never, [typeof ItSteppersContainerComponent, typeof ItSteppersItemComponent], [typeof ItSteppersContainerComponent, typeof ItSteppersItemComponent]>;
1690
+ static ɵinj: i0.ɵɵInjectorDeclaration<ItSteppersModule>;
1691
+ }
1692
+
1693
+ declare class ItTabItemComponent extends ItAbstractComponent implements AfterViewInit {
1694
+ /**
1695
+ * The tab label
1696
+ */
1697
+ label: string | undefined;
1698
+ /**
1699
+ * The icon name
1700
+ */
1701
+ icon: IconName | undefined;
1702
+ /**
1703
+ * Default active tab
1704
+ * @default false
1705
+ */
1706
+ active?: boolean;
1707
+ /**
1708
+ * Default disabled tab
1709
+ * @default false
1710
+ */
1711
+ disabled?: boolean;
1712
+ /**
1713
+ * Custom class
1714
+ */
1715
+ class: string;
1716
+ /**
1717
+ * The content of tab
1718
+ */
1719
+ htmlContent: TemplateRef<any>;
1720
+ ngAfterViewInit(): void;
1721
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItTabItemComponent, never>;
1722
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItTabItemComponent, "it-tab-item", never, { "label": { "alias": "label"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "active": { "alias": "active"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "class": { "alias": "class"; "required": false; }; }, {}, never, ["*"], true, never>;
1723
+ static ngAcceptInputType_active: BooleanInput;
1724
+ static ngAcceptInputType_disabled: BooleanInput;
1725
+ }
1726
+
1727
+ declare class ItTabContainerComponent extends ItAbstractComponent implements OnDestroy, AfterViewInit {
1728
+ /**
1729
+ * Tabs automatically occupy the entire available width
1730
+ * @default false
1731
+ */
1732
+ auto?: boolean;
1733
+ /**
1734
+ * To obtain the correct margin between text and icon in the horizontally developed tab
1735
+ */
1736
+ iconText?: boolean;
1737
+ /**
1738
+ * Dark style
1739
+ */
1740
+ dark?: boolean;
1741
+ /**
1742
+ * Show items as cards
1743
+ */
1744
+ cards?: boolean;
1745
+ /**
1746
+ * Show vertical navigation
1747
+ */
1748
+ vertical?: boolean;
1749
+ /**
1750
+ * The tab position
1751
+ */
1752
+ inverted?: boolean;
1753
+ /**
1754
+ * If tabs are editable
1755
+ */
1756
+ editable?: boolean;
1757
+ /**
1758
+ * The tab items
1759
+ */
1760
+ tabs?: QueryList<ItTabItemComponent>;
1761
+ private tabNavLinks?;
1762
+ tabSelected: EventEmitter<ItTabItemComponent>;
1763
+ tabClosed: EventEmitter<any>;
1764
+ tabAdded: EventEmitter<any>;
1765
+ private tabSubscriptions?;
1766
+ constructor();
1767
+ ngAfterViewInit(): void;
1768
+ ngOnDestroy(): void;
1769
+ onTab(tab: ItTabItemComponent): void;
1770
+ clickToClose(index: number): void;
1771
+ clickToAdd($event: Event): void;
1772
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItTabContainerComponent, never>;
1773
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItTabContainerComponent, "it-tab-container", never, { "auto": { "alias": "auto"; "required": false; }; "iconText": { "alias": "iconText"; "required": false; }; "dark": { "alias": "dark"; "required": false; }; "cards": { "alias": "cards"; "required": false; }; "vertical": { "alias": "vertical"; "required": false; }; "inverted": { "alias": "inverted"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; }, { "tabSelected": "tabSelected"; "tabClosed": "tabClosed"; "tabAdded": "tabAdded"; }, ["tabs"], never, true, never>;
1774
+ static ngAcceptInputType_auto: BooleanInput;
1775
+ static ngAcceptInputType_iconText: BooleanInput;
1776
+ static ngAcceptInputType_dark: BooleanInput;
1777
+ static ngAcceptInputType_cards: BooleanInput;
1778
+ static ngAcceptInputType_vertical: BooleanInput;
1779
+ static ngAcceptInputType_inverted: BooleanInput;
1780
+ static ngAcceptInputType_editable: BooleanInput;
1781
+ }
1782
+
1783
+ declare class ItTabModule {
1784
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItTabModule, never>;
1785
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ItTabModule, never, [typeof ItTabContainerComponent, typeof ItTabItemComponent], [typeof ItTabContainerComponent, typeof ItTabItemComponent]>;
1786
+ static ɵinj: i0.ɵɵInjectorDeclaration<ItTabModule>;
1787
+ }
1788
+
1789
+ declare class ItTableComponent {
1790
+ /**
1791
+ * Table color
1792
+ */
1793
+ color: TableColor | undefined;
1794
+ /**
1795
+ * Head table color
1796
+ */
1797
+ headColor: TableHeadColor | undefined;
1798
+ /**
1799
+ * Use vertical alignment classes to realign where needed.
1800
+ */
1801
+ alignment: VerticalAlignment | undefined;
1802
+ /**
1803
+ * Use .table-striped to add zebra stripes to each table row contained in <tbody>.
1804
+ * @default false
1805
+ */
1806
+ striped?: boolean;
1807
+ /**
1808
+ * Add .table-hover to enable hover state on table rows contained in <tbody>.
1809
+ * @default false
1810
+ */
1811
+ hover?: boolean;
1812
+ /**
1813
+ * Add .table-bordered to have borders on all sides of the table and on all cells.
1814
+ * @default false
1815
+ */
1816
+ bordered?: boolean;
1817
+ /**
1818
+ * Add the .table-borderless class for a borderless table.
1819
+ * @default false
1820
+ */
1821
+ borderless?: boolean;
1822
+ /**
1823
+ * Add .table-sm to make tables more compact by halving the cell padding.
1824
+ * @efault false
1825
+ */
1826
+ compact?: boolean;
1827
+ /**
1828
+ * To render the <caption> on top of the table
1829
+ * @default false
1830
+ */
1831
+ captionTop?: boolean;
1832
+ /**
1833
+ * Responsive tables allow you to scroll tables horizontally with ease.
1834
+ * @default responsive
1835
+ */
1836
+ responsive: TableResponsive;
1837
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItTableComponent, never>;
1838
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItTableComponent, "it-table", never, { "color": { "alias": "color"; "required": false; }; "headColor": { "alias": "headColor"; "required": false; }; "alignment": { "alias": "alignment"; "required": false; }; "striped": { "alias": "striped"; "required": false; }; "hover": { "alias": "hover"; "required": false; }; "bordered": { "alias": "bordered"; "required": false; }; "borderless": { "alias": "borderless"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "captionTop": { "alias": "captionTop"; "required": false; }; "responsive": { "alias": "responsive"; "required": false; }; }, {}, never, ["[caption]", "[thead]", "[tbody]", "[tfoot]"], true, never>;
1839
+ static ngAcceptInputType_striped: BooleanInput;
1840
+ static ngAcceptInputType_hover: BooleanInput;
1841
+ static ngAcceptInputType_bordered: BooleanInput;
1842
+ static ngAcceptInputType_borderless: BooleanInput;
1843
+ static ngAcceptInputType_compact: BooleanInput;
1844
+ static ngAcceptInputType_captionTop: BooleanInput;
1845
+ }
1846
+
1847
+ type SortDirection = 'asc' | 'desc' | undefined;
1848
+ /** Position of the arrow that displays when sorted. */
1849
+ type SortHeaderArrowPosition = 'before' | 'after';
1850
+ /** Interface for a directive that holds sorting state consumed by `ItSortHeader`. */
1851
+ interface ItSortable {
1852
+ /** The id of the column being sorted. */
1853
+ id: string;
1854
+ /** Starting sort direction. */
1855
+ start?: SortDirection;
1856
+ /** Whether to disable clearing the sorting state. */
1857
+ disableSortClear?: boolean;
1858
+ }
1859
+ /** The current sort state. */
1860
+ interface ItSortEvent {
1861
+ /** The id of the column being sorted. */
1862
+ active: string;
1863
+ /** The sort direction. */
1864
+ direction: SortDirection;
1865
+ }
1866
+ /**
1867
+ * Default options for `it-sort`.
1868
+ */
1869
+ interface ItSortDefaultOptions {
1870
+ /** Whether to disable clearing the sorting state. */
1871
+ disableClear?: boolean;
1872
+ /** Position of the arrow that displays when sorted. */
1873
+ arrowPosition?: SortHeaderArrowPosition;
1874
+ }
1875
+ /**
1876
+ * Injection token to be used to override the default options for `it-sort`.
1877
+ */
1878
+ declare const IT_SORT_DEFAULT_OPTIONS: InjectionToken<ItSortDefaultOptions>;
1879
+
1880
+ declare class ItSortDirective implements OnChanges, OnDestroy {
1881
+ private _defaultOptions;
1882
+ /** The id of the most recently sorted ItSortable. */
1883
+ active?: string;
1884
+ /**
1885
+ * The direction to set when an MatSortable is initially sorted.
1886
+ * May be overridden by the MatSortable's sort start.
1887
+ */
1888
+ start: SortDirection;
1889
+ /** The sort direction of the currently active ItSortable. */
1890
+ get direction(): SortDirection;
1891
+ set direction(direction: SortDirection);
1892
+ private _direction;
1893
+ /**
1894
+ * Whether to disable the user from clearing the sort by finishing the sort direction cycle.
1895
+ * May be overridden by the ItSortable's disable clear input.
1896
+ */
1897
+ disableSortClear?: boolean;
1898
+ /** Whether the sortable is disabled. */
1899
+ sortDisabled: boolean;
1900
+ /** Event emitted when the user changes either the active sort or sort direction. */
1901
+ readonly sortChange: EventEmitter<ItSortEvent>;
1902
+ readonly sortDirectiveClass = "it-sort";
1903
+ /** Collection of all registered sortables that this directive manages. */
1904
+ protected sortables: Map<string, ItSortable>;
1905
+ /** Used to notify any child components listening to state changes. */
1906
+ readonly _stateChanges: Subject<void>;
1907
+ /**
1908
+ * Register function to be used by the contained ItSortables. Adds the ItSortable to the
1909
+ * collection of ItSortables.
1910
+ */
1911
+ register(sortable: ItSortable): void;
1912
+ /**
1913
+ * Unregister function to be used by the contained ItSortables. Removes the ItSortable from the
1914
+ * collection of contained ItSortables.
1915
+ */
1916
+ deregister(sortable: ItSortable): void;
1917
+ /** Sets the active sort id and determines the new sort direction. */
1918
+ sort(sortable: ItSortable): void;
1919
+ /** Returns the next sort direction of the active sortable, checking for potential overrides. */
1920
+ getNextSortDirection(sortable: ItSortable): SortDirection;
1921
+ ngOnChanges(): void;
1922
+ ngOnDestroy(): void;
1923
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItSortDirective, never>;
1924
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ItSortDirective, "[itSort]", ["itSort"], { "active": { "alias": "itSortActive"; "required": false; }; "start": { "alias": "itSortStart"; "required": false; }; "direction": { "alias": "itSortDirection"; "required": false; }; "disableSortClear": { "alias": "disableSortClear"; "required": false; }; "sortDisabled": { "alias": "sortDisabled"; "required": false; }; }, { "sortChange": "sortChange"; }, never, never, true, never>;
1925
+ static ngAcceptInputType_disableSortClear: unknown;
1926
+ static ngAcceptInputType_sortDisabled: unknown;
1927
+ }
1928
+
1929
+ /**
1930
+ * Applies sorting behavior (click to change sort) and styles to an element, including an
1931
+ * arrow to display the current sort direction.
1932
+ *
1933
+ * Must be provided with an id and contained within a parent ItSort directive.
1934
+ *
1935
+ * If used on header cells in a CdkTable, it will automatically default its id from its containing
1936
+ * column definition.
1937
+ */
1938
+ declare class ItSortHeaderComponent implements ItSortable, OnDestroy, OnInit {
1939
+ private readonly _changeDetectorRef;
1940
+ readonly _sort: ItSortDirective;
1941
+ /**
1942
+ * ID of this sort header. If used within the context of a CdkColumnDef, this will default to
1943
+ * the column's name.
1944
+ */
1945
+ id: string;
1946
+ /** Sets the position of the arrow that displays when sorted. */
1947
+ arrowPosition: SortHeaderArrowPosition;
1948
+ /** Overrides the sort start value of the containing MatSort for this SortHeaderComponent. */
1949
+ start?: SortDirection;
1950
+ /** whether the sort header is disabled. */
1951
+ sortDisabled: boolean;
1952
+ /** Overrides the disable clear value of the containing SortDirective for this MatSortable. */
1953
+ disableSortClear?: boolean;
1954
+ readonly sortHeaderClass = "it-sort-header";
1955
+ private _rerenderSubscription?;
1956
+ /** The direction the arrow should be facing according to the current state. */
1957
+ private _arrowDirection?;
1958
+ constructor();
1959
+ ngOnInit(): void;
1960
+ ngOnDestroy(): void;
1961
+ _handleClick(): void;
1962
+ /**
1963
+ * Whether this MatSortHeader is currently sorted in either ascending or descending order.
1964
+ */
1965
+ protected get isSorted(): boolean;
1966
+ /**
1967
+ * Returns the icon class by the arrow direction
1968
+ */
1969
+ protected get arrowIconClass(): IconName;
1970
+ /**
1971
+ * Updates the direction the arrow should be pointing. If it is not sorted, the arrow should be
1972
+ * facing the start direction. Otherwise if it is sorted, the arrow should point in the currently
1973
+ * active sorted direction. The reason this is updated through a function is because the direction
1974
+ * should only be changed at specific times - when deactivated but the hint is displayed and when
1975
+ * the sort is active and the direction changes. Otherwise the arrow's direction should linger
1976
+ * in cases such as the sort becoming deactivated but we want to animate the arrow away while
1977
+ * preserving its direction, even though the next sort direction is actually different and should
1978
+ * only be changed once the arrow displays again (hint or activation).
1979
+ */
1980
+ private updateArrowDirection;
1981
+ get isDisabled(): boolean;
1982
+ /**
1983
+ * Gets the aria-sort attribute that should be applied to this sort header. If this header
1984
+ * is not sorted, returns null so that the attribute is removed from the host element. Aria spec
1985
+ * says that the aria-sort property should only be present on one header at a time, so removing
1986
+ * ensures this is true.
1987
+ */
1988
+ get ariaSortAttribute(): "none" | "ascending" | "descending";
1989
+ /** Handles changes in the sorting state. */
1990
+ private _handleStateChanges;
1991
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItSortHeaderComponent, never>;
1992
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItSortHeaderComponent, "[it-sort-header]", ["itSortHeader"], { "id": { "alias": "it-sort-header"; "required": false; }; "arrowPosition": { "alias": "arrowPosition"; "required": false; }; "start": { "alias": "start"; "required": false; }; "sortDisabled": { "alias": "sortDisabled"; "required": false; }; "disableSortClear": { "alias": "disableSortClear"; "required": false; }; }, {}, never, ["*"], true, never>;
1993
+ static ngAcceptInputType_sortDisabled: unknown;
1994
+ static ngAcceptInputType_disableSortClear: unknown;
1995
+ }
1996
+
1997
+ declare class ItTableModule {
1998
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItTableModule, never>;
1999
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ItTableModule, never, [typeof ItTableComponent, typeof ItSortDirective, typeof ItSortHeaderComponent], [typeof ItTableComponent, typeof ItSortDirective, typeof ItSortHeaderComponent]>;
2000
+ static ɵinj: i0.ɵɵInjectorDeclaration<ItTableModule>;
2001
+ }
2002
+
2003
+ declare class ItTooltipDirective implements AfterViewInit, OnDestroy {
2004
+ private readonly _elementRef;
2005
+ /**
2006
+ * Define the tooltip title
2007
+ * @param title the tooltip title
2008
+ */
2009
+ set title(title: string | undefined);
2010
+ /**
2011
+ * Define the tooltip placement
2012
+ * @param placement
2013
+ */
2014
+ set tooltipPlacement(placement: ElementPlacement);
2015
+ /**
2016
+ * Indicates whether the title contains html
2017
+ * @param html true if contain html
2018
+ */
2019
+ set tooltipHtml(html: boolean);
2020
+ /**
2021
+ * This event fires immediately when the show method is called.
2022
+ */
2023
+ showEvent: EventEmitter<Event>;
2024
+ /**
2025
+ * This event is triggered when the tooltip has been made visible to the user (it will wait for the CSS transitions to complete).
2026
+ */
2027
+ shownEvent: EventEmitter<Event>;
2028
+ /**
2029
+ * This event fires immediately when the hide method is called.
2030
+ */
2031
+ hideEvent: EventEmitter<Event>;
2032
+ /**
2033
+ * This event is raised when the tooltip has finished being hidden from the user (it will wait for the CSS transitions to complete).
2034
+ */
2035
+ hiddenEvent: EventEmitter<Event>;
2036
+ /**
2037
+ * This event fires after the show event when the tooltip template has been added to the DOM.
2038
+ */
2039
+ insertedEvent: EventEmitter<Event>;
2040
+ private readonly element;
2041
+ private tooltip?;
2042
+ constructor();
2043
+ ngAfterViewInit(): void;
2044
+ ngOnDestroy(): void;
2045
+ /**
2046
+ * Shows the tooltip of an item.
2047
+ */
2048
+ show(): void;
2049
+ /**
2050
+ * Hide the tooltip of an element.
2051
+ */
2052
+ hide(): void;
2053
+ /**
2054
+ * Activate / Deactivate the tooltip of an element
2055
+ */
2056
+ toggle(): void;
2057
+ /**
2058
+ * Hides and destroys the tooltip of an element.
2059
+ */
2060
+ dispose(): void;
2061
+ /**
2062
+ * Gives the tooltip of an element a chance to be shown.
2063
+ */
2064
+ enable(): void;
2065
+ /**
2066
+ * Removes the ability to show the tooltip of an element.
2067
+ */
2068
+ disable(): void;
2069
+ /**
2070
+ * Toggles the possibility that the tooltip of an element is shown or hidden.
2071
+ */
2072
+ toggleEnabled(): void;
2073
+ /**
2074
+ * Updates the position of an element's tooltip.
2075
+ */
2076
+ update(): void;
2077
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItTooltipDirective, never>;
2078
+ 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>;
2079
+ static ngAcceptInputType_tooltipHtml: BooleanInput;
2080
+ }
2081
+
2082
+ /**
2083
+ * Timeline
2084
+ * @description Build timeline for chronological representation of events.
2085
+ */
2086
+ declare class ItTimelineComponent extends ItAbstractComponent {
2087
+ /**
2088
+ * Timeline elements array
2089
+ * @default []
2090
+ */
2091
+ timelineElements: TimelineElement[];
2092
+ /**
2093
+ * Default date format for timeline element reference date
2094
+ * @default dd/MM/yyyy
2095
+ */
2096
+ dateFormat: string;
2097
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItTimelineComponent, never>;
2098
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItTimelineComponent, "it-timeline", never, { "timelineElements": { "alias": "timelineElements"; "required": false; }; "dateFormat": { "alias": "dateFormat"; "required": false; }; }, {}, never, never, true, never>;
2099
+ }
2100
+
2101
+ /**
2102
+ * Timeline Item
2103
+ * @description Represents a single event for Timeline component.
2104
+ */
2105
+ declare class ItTimelineItemComponent extends ItAbstractComponent {
2106
+ /**
2107
+ * Timeline element title
2108
+ */
2109
+ title: string;
2110
+ /**
2111
+ * Timeline element text
2112
+ */
2113
+ text: string;
2114
+ /**
2115
+ * Timeline element signature
2116
+ */
2117
+ signature: string | undefined;
2118
+ /**
2119
+ * Timeline element reference date
2120
+ */
2121
+ eventDate: Date | undefined;
2122
+ /**
2123
+ * Timeline element reference date format
2124
+ * @default dd/MM/yyyy
2125
+ */
2126
+ dateFormat: string;
2127
+ /**
2128
+ * Timeline element PIN text
2129
+ */
2130
+ pinText: string | undefined;
2131
+ /**
2132
+ * Timeline element PIN type
2133
+ * @default none
2134
+ */
2135
+ pinType: TimelinePINType | undefined;
2136
+ /**
2137
+ * Timeline element PIN icon
2138
+ * @default code-circle
2139
+ */
2140
+ pinIcon: IconName | undefined;
2141
+ /**
2142
+ * Timeline element PIN icon
2143
+ * @default code-circle
2144
+ */
2145
+ pinIconTitle: string | undefined;
2146
+ /**
2147
+ * Timeline element category label
2148
+ */
2149
+ categoryLabel: string | undefined;
2150
+ /**
2151
+ * Timeline element date label
2152
+ */
2153
+ dateLabel: string | undefined;
2154
+ /**
2155
+ * Timeline element category title
2156
+ */
2157
+ categoryTitle: string | undefined;
2158
+ /**
2159
+ * Timeline element category link
2160
+ */
2161
+ categoryLink: string | undefined;
2162
+ /**
2163
+ * Timeline element show detail link
2164
+ * @default false
2165
+ */
2166
+ showReadMore: boolean;
2167
+ /** Timeline element detail link
2168
+ * @default #
2169
+ */
2170
+ readMoreLink: string | undefined;
2171
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItTimelineItemComponent, never>;
2172
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItTimelineItemComponent, "it-timeline-item", never, { "title": { "alias": "title"; "required": true; }; "text": { "alias": "text"; "required": true; }; "signature": { "alias": "signature"; "required": false; }; "eventDate": { "alias": "eventDate"; "required": false; }; "dateFormat": { "alias": "dateFormat"; "required": false; }; "pinText": { "alias": "pinText"; "required": true; }; "pinType": { "alias": "pinType"; "required": false; }; "pinIcon": { "alias": "pinIcon"; "required": false; }; "pinIconTitle": { "alias": "pinIconTitle"; "required": false; }; "categoryLabel": { "alias": "categoryLabel"; "required": false; }; "dateLabel": { "alias": "dateLabel"; "required": false; }; "categoryTitle": { "alias": "categoryTitle"; "required": false; }; "categoryLink": { "alias": "categoryLink"; "required": false; }; "showReadMore": { "alias": "showReadMore"; "required": false; }; "readMoreLink": { "alias": "readMoreLink"; "required": false; }; }, {}, never, never, true, never>;
2173
+ static ngAcceptInputType_showReadMore: BooleanInput;
2174
+ }
2175
+
2176
+ declare class ItTimelineModule {
2177
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItTimelineModule, never>;
2178
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ItTimelineModule, never, [typeof ItTimelineComponent, typeof ItTimelineItemComponent], [typeof ItTimelineComponent, typeof ItTimelineItemComponent]>;
2179
+ static ɵinj: i0.ɵɵInjectorDeclaration<ItTimelineModule>;
2180
+ }
2181
+
2182
+ interface VideoJsTranslation {
2183
+ 'Audio Player': string;
2184
+ 'Video Player': string;
2185
+ Play: string;
2186
+ Pause: string;
2187
+ Replay: string;
2188
+ 'Current Time': string;
2189
+ Duration: string;
2190
+ 'Remaining Time': string;
2191
+ 'Stream Type': string;
2192
+ LIVE: string;
2193
+ Loaded: string;
2194
+ Progress: string;
2195
+ 'Progress Bar': string;
2196
+ 'progress bar timing: currentTime={1} duration={2}': string;
2197
+ Fullscreen: string;
2198
+ 'Exit Fullscreen': string;
2199
+ Mute: string;
2200
+ Unmute: string;
2201
+ 'Playback Rate': string;
2202
+ Subtitles: string;
2203
+ 'subtitles off': string;
2204
+ Captions: string;
2205
+ 'captions off': string;
2206
+ Chapters: string;
2207
+ Descriptions: string;
2208
+ 'descriptions off': string;
2209
+ 'Audio Track': string;
2210
+ 'Volume Level': string;
2211
+ 'You aborted the media playback': string;
2212
+ 'A network error caused the media download to fail part-way.': string;
2213
+ 'The media could not be loaded, either because the server or network failed or because the format is not supported.': string;
2214
+ 'The media playback was aborted due to a corruption problem or because the media used features your browser did not support.': string;
2215
+ 'No compatible source was found for this media.': string;
2216
+ 'The media is encrypted and we do not have the keys to decrypt it.': string;
2217
+ 'Play Video': string;
2218
+ Close: string;
2219
+ 'Close Modal Dialog': string;
2220
+ 'Modal Window': string;
2221
+ 'This is a modal window': string;
2222
+ 'This modal can be closed by pressing the Escape key or activating the close button.': string;
2223
+ ', opens captions settings dialog': string;
2224
+ ', opens subtitles settings dialog': string;
2225
+ ', opens descriptions settings dialog': string;
2226
+ ', selected': string;
2227
+ 'captions settings': string;
2228
+ 'subtitles settings': string;
2229
+ 'descriptions settings': string;
2230
+ Text: string;
2231
+ White: string;
2232
+ Black: string;
2233
+ Red: string;
2234
+ Green: string;
2235
+ Blue: string;
2236
+ Yellow: string;
2237
+ Magenta: string;
2238
+ Cyan: string;
2239
+ Background: string;
2240
+ Window: string;
2241
+ Transparent: string;
2242
+ 'Semi-Transparent': string;
2243
+ Opaque: string;
2244
+ 'Font Size': string;
2245
+ 'Text Edge Style': string;
2246
+ None: string;
2247
+ Uniform: string;
2248
+ 'Drop shadow': string;
2249
+ 'Font Family': string;
2250
+ 'Proportional Sans-Serif': string;
2251
+ 'Monospace Sans-Serif': string;
2252
+ 'Proportional Serif': string;
2253
+ 'Monospace Serif': string;
2254
+ 'Small Caps': string;
2255
+ Reset: string;
2256
+ 'restore all settings to the default values': string;
2257
+ Done: string;
2258
+ 'Caption Settings Dialog': string;
2259
+ 'Beginning of dialog window. Escape will cancel and close the window.': string;
2260
+ 'End of dialog window.': string;
2261
+ '{1} is loading.': string;
2262
+ 'Exit Picture-in-Picture': string;
2263
+ 'Picture-in-Picture': string;
2264
+ Color: string;
2265
+ Opacity: string;
2266
+ 'Text Background': string;
2267
+ 'Caption Area Background': string;
2268
+ 'Skip forward {1} seconds': string;
2269
+ 'Skip backward {1} seconds': string;
2270
+ }
2271
+
2272
+ declare class VideoPlayerI18nService {
2273
+ #private;
2274
+ init(player: Player, destroyRef: DestroyRef): void;
2275
+ getLanguage(): {
2276
+ languages: {
2277
+ [x: string]: VideoJsTranslation;
2278
+ };
2279
+ language: string;
2280
+ };
2281
+ private getTranslations;
2282
+ static ɵfac: i0.ɵɵFactoryDeclaration<VideoPlayerI18nService, never>;
2283
+ static ɵprov: i0.ɵɵInjectableDeclaration<VideoPlayerI18nService>;
2284
+ }
2285
+
2286
+ interface Source {
2287
+ src: string;
2288
+ type: string;
2289
+ }
2290
+ interface Caption {
2291
+ lang: string;
2292
+ src: string;
2293
+ label: string;
2294
+ default?: true;
2295
+ }
2296
+ interface Chapter {
2297
+ lang: string;
2298
+ src: string;
2299
+ label: string;
2300
+ default?: true;
2301
+ }
2302
+ type Sources = Array<Source>;
2303
+ type Captions = Array<Caption>;
2304
+ type Chapters = Array<Chapter>;
2305
+ type Preload = 'auto' | 'none' | 'metadata' | '';
2306
+ type EmbedSourceType = 'video/youtube';
2307
+ type TAutoplay = 'muted' | 'play' | 'any';
2308
+ type ItNativeVideoPlayerOptions = {
2309
+ autoplay?: boolean | TAutoplay;
2310
+ controls?: boolean;
2311
+ fluid?: boolean;
2312
+ loop?: boolean;
2313
+ muted?: boolean;
2314
+ poster?: string;
2315
+ preload?: Preload;
2316
+ sources: Sources;
2317
+ captions?: Captions;
2318
+ chapters?: Chapters;
2319
+ };
2320
+ type ItEmbedVideoPlayerOptions = Omit<ItNativeVideoPlayerOptions, 'sources' | 'captions' | 'chapters'> & {
2321
+ source: Source & {
2322
+ type: EmbedSourceType;
2323
+ };
2324
+ };
2325
+ type ItVideoPlayerOptions = ItNativeVideoPlayerOptions | ItEmbedVideoPlayerOptions;
2326
+ type ItVideoPlayerConfig = ItVideoPlayerOptions & {
2327
+ tech: string;
2328
+ };
2329
+
2330
+ declare enum ViewType {
2331
+ Default = "DEFAULT",
2332
+ Overlay = "OVERLAY"
2333
+ }
2334
+ /**
2335
+ * Video Player
2336
+ * @description Component that allows playing a video.
2337
+ */
2338
+ declare class ItVideoPlayerComponent extends ItAbstractComponent implements OnInit {
2339
+ #private;
2340
+ private config;
2341
+ /**
2342
+ * Options for video player configuration
2343
+ */
2344
+ options: ItVideoPlayerOptions;
2345
+ videoPlayerRef?: ElementRef<HTMLVideoElement>;
2346
+ acceptOveralyRef?: ElementRef<HTMLDivElement>;
2347
+ acceptOverlayableRef?: ElementRef<HTMLDivElement>;
2348
+ chrRememberRef?: ElementRef<HTMLInputElement>;
2349
+ player: Player | null;
2350
+ readonly viewTypes: typeof ViewType;
2351
+ readonly viewType: i0.WritableSignal<ViewType | undefined>;
2352
+ readonly cookieAccepted: i0.WritableSignal<boolean>;
2353
+ protected readonly i18nService: VideoPlayerI18nService;
2354
+ private ngZone;
2355
+ private injector;
2356
+ constructor();
2357
+ ngOnInit(): Promise<void>;
2358
+ acceptCookieHandler(): void;
2359
+ private initVideoPlayer;
2360
+ private setVideoPlayer;
2361
+ private setViewType;
2362
+ private hideOverlay;
2363
+ private rememberHandler;
2364
+ private setVideoAttributes;
2365
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItVideoPlayerComponent, never>;
2366
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItVideoPlayerComponent, "it-video-player", never, { "options": { "alias": "options"; "required": false; }; }, {}, never, ["[transcriptionTitle]", "[transcriptionText]"], true, never>;
2367
+ }
2368
+
2369
+ declare abstract class ItAbstractFormComponent<T = any> extends ItAbstractComponent implements OnInit, ControlValueAccessor, DoCheck {
2370
+ protected readonly _translateService: TranslateService;
2371
+ protected readonly _ngControl: NgControl | null;
2372
+ protected fgd?: ControlContainer | null | undefined;
2373
+ /**
2374
+ * The label of form control
2375
+ */
2376
+ label?: string;
2377
+ /**
2378
+ * Validation color display mode (validation triggered if field is touched or not pristine)
2379
+ * - <b>true</b>: Always show the validation color
2380
+ * - <b>false</b>: Never show validation color
2381
+ * - <b>only-valid</b>: Show only valid validation color
2382
+ * - <b>only-invalid</b>: Show only invalid validation color
2383
+ * @default <b>false</b>: Do not show the validation color by default
2384
+ */
2385
+ validationMode: boolean | 'only-valid' | 'only-invalid';
2386
+ /**
2387
+ * Set the disabled state
2388
+ */
2389
+ set disabled(isDisabled: boolean);
2390
+ /**
2391
+ * Internal form control
2392
+ */
2393
+ protected control: FormControl<T>;
2394
+ constructor();
2395
+ /**
2396
+ * Check if field is invalid (Validation failed)
2397
+ */
2398
+ get isInvalid(): boolean | undefined;
2399
+ /**
2400
+ * Check if field is valid (Validation successful)
2401
+ */
2402
+ get isValid(): boolean | undefined;
2403
+ /**
2404
+ * Return the invalid message string from TranslateService
2405
+ */
2406
+ get invalidMessage(): Observable<string>;
2407
+ ngOnInit(): void;
2408
+ onChange: (_: T) => void;
2409
+ onTouched: () => void;
2410
+ registerOnChange(fn: any): void;
2411
+ registerOnTouched(fn: any): void;
2412
+ setDisabledState(isDisabled: boolean): void;
2413
+ writeValue(value: T): void;
2414
+ /**
2415
+ * Mark the control as touched
2416
+ */
2417
+ markAsTouched(): void;
2418
+ /**
2419
+ * Fired to check if form control is touched
2420
+ */
2421
+ ngDoCheck(): void;
2422
+ /**
2423
+ * Add the validators in control and parent control
2424
+ * @param validators the validators
2425
+ * @protected
2426
+ */
2427
+ protected addValidators(validators: ValidatorFn | ValidatorFn[]): void;
2428
+ /**
2429
+ * Reports whether the control with the given path has the error specified. <br/>
2430
+ * If the control is not present, false is returned.
2431
+ * @param errorCode The code of the error to check
2432
+ * @param path A list of control names that designates how to move from the current control
2433
+ * to the control that should be queried for errors.
2434
+ * @returns whether the given error is present in the control at the given path.
2435
+ */
2436
+ hasError(errorCode: string, path?: Array<string | number> | string): boolean;
2437
+ /**
2438
+ * Reports error data for the control with the given path.
2439
+ * @param errorCode The code of the error to check
2440
+ * @param path A list of control names that designates how to move from the current control
2441
+ * to the control that should be queried for errors.
2442
+ * @returns error data for that particular error. If the control or error is not present,
2443
+ * null is returned.
2444
+ */
2445
+ getError(errorCode: string, path?: Array<string | number> | string): any;
2446
+ private setValidationModeWhenInAForm;
2447
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItAbstractFormComponent<any>, never>;
2448
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItAbstractFormComponent<any>, "ng-component", never, { "label": { "alias": "label"; "required": false; }; "validationMode": { "alias": "validationMode"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, false, never>;
2449
+ static ngAcceptInputType_disabled: BooleanInput;
2450
+ }
2451
+
2452
+ type functionSource = (query: string, populateResults: (results: string[]) => void) => void;
2453
+ declare class ItAutocompleteComponent extends ItAbstractFormComponent<string | null | undefined> {
2454
+ /**
2455
+ * Autocomplete elements.
2456
+ * @default []
2457
+ */
2458
+ source: string[] | functionSource;
2459
+ /**
2460
+ * Autocomplete if required.
2461
+ * @default false
2462
+ */
2463
+ required: boolean;
2464
+ /**
2465
+ * Input field name
2466
+ */
2467
+ name: string | undefined;
2468
+ /**
2469
+ * The input description
2470
+ */
2471
+ description: string | undefined;
2472
+ /**
2473
+ * Prevents suggestions from appearing if fewer than N characters are typed
2474
+ * @default 0
2475
+ */
2476
+ minLength: number;
2477
+ /**
2478
+ * Default value
2479
+ */
2480
+ defaultValue: string | null;
2481
+ /**
2482
+ * Function to set assistive hint label. For more information https://github.com/alphagov/accessible-autocomplete?tab=readme-ov-file#internationalization
2483
+ */
2484
+ assistiveHintLabel: () => string;
2485
+ /**
2486
+ * Function to set label in case of no result. For more information https://github.com/alphagov/accessible-autocomplete?tab=readme-ov-file#internationalization
2487
+ */
2488
+ noResultsLabel: () => string;
2489
+ /**
2490
+ * Function to set label that alerts you that query's too short. For more information https://github.com/alphagov/accessible-autocomplete?tab=readme-ov-file#internationalization
2491
+ */
2492
+ statusQueryTooShortLabel: (minQueryLength: number) => string;
2493
+ /**
2494
+ * Function to set no results label. For more information https://github.com/alphagov/accessible-autocomplete?tab=readme-ov-file#internationalization
2495
+ */
2496
+ statusNoResultsLabel: () => string;
2497
+ /**
2498
+ * Function to set selected option label. For more information https://github.com/alphagov/accessible-autocomplete?tab=readme-ov-file#internationalization
2499
+ */
2500
+ statusSelectedOptionLabel: (selectedOption: string, length: number, index: number) => string;
2501
+ /**
2502
+ * Function to set status results label. For more information https://github.com/alphagov/accessible-autocomplete?tab=readme-ov-file#internationalization
2503
+ */
2504
+ statusResultsLabel: (length: number, contentSelectedOption: string) => string;
2505
+ /**
2506
+ * Fired when value changes
2507
+ */
2508
+ selected: EventEmitter<any>;
2509
+ private selectAutocompleteEl?;
2510
+ private selectAutocomplete?;
2511
+ private value;
2512
+ private _interval;
2513
+ private _inputEl;
2514
+ ngOnInit(): void;
2515
+ clear(): void;
2516
+ _findInput(): void;
2517
+ private _setAndCheck;
2518
+ private _initInputEl;
2519
+ ngAfterViewInit(): void;
2520
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItAutocompleteComponent, never>;
2521
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItAutocompleteComponent, "it-autocomplete", never, { "source": { "alias": "source"; "required": false; }; "required": { "alias": "required"; "required": false; }; "name": { "alias": "name"; "required": false; }; "description": { "alias": "description"; "required": false; }; "minLength": { "alias": "minLength"; "required": false; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; "assistiveHintLabel": { "alias": "assistiveHintLabel"; "required": false; }; "noResultsLabel": { "alias": "noResultsLabel"; "required": false; }; "statusQueryTooShortLabel": { "alias": "statusQueryTooShortLabel"; "required": false; }; "statusNoResultsLabel": { "alias": "statusNoResultsLabel"; "required": false; }; "statusSelectedOptionLabel": { "alias": "statusSelectedOptionLabel"; "required": false; }; "statusResultsLabel": { "alias": "statusResultsLabel"; "required": false; }; }, { "selected": "selected"; }, never, ["[error]"], true, never>;
2522
+ }
2523
+
2524
+ type InputControlType = 'text' | 'email' | 'number' | 'date' | 'time' | 'tel' | 'color' | 'url';
2525
+ interface SelectControlOption<T = any> {
2526
+ value: T;
2527
+ text?: string;
2528
+ selected?: boolean | ((value: T) => boolean);
2529
+ disabled?: boolean | ((value: T) => boolean);
2530
+ }
2531
+ interface SelectControlGroup<T = any> {
2532
+ label: string;
2533
+ options: Array<SelectControlOption<T>>;
2534
+ dragdrop?: boolean;
2535
+ }
2536
+ interface UploadFileListItem {
2537
+ /**
2538
+ * The item id
2539
+ */
2540
+ id: number;
2541
+ /**
2542
+ * The uploaded file
2543
+ */
2544
+ file: File;
2545
+ /**
2546
+ * Show progress bar
2547
+ *
2548
+ * The status of the item changes based on the value:
2549
+ * - <b>uploading</b>: if value is between 0 and 100 (exclusive 0 < value < 100)
2550
+ * - <b>success</b>: if value is greater than 100
2551
+ */
2552
+ progress?: number;
2553
+ /**
2554
+ * Show the ability to delete item
2555
+ * @default false
2556
+ */
2557
+ removable?: boolean;
2558
+ /**
2559
+ * Set the status of the item as 'error'
2560
+ */
2561
+ error?: boolean;
2562
+ /**
2563
+ * Add tooltip on file item name
2564
+ * @example It can be used to show the error message or additional information about the file
2565
+ */
2566
+ tooltip?: string;
2567
+ }
2568
+ /**
2569
+ * Elemento disponibile per l'autocompletamento del it-form-input
2570
+ */
2571
+ interface SearchItem<T = any> {
2572
+ /** Valore voce di autocompletamento */
2573
+ value: string;
2574
+ /** Opzionale. Path in cui ricercare l'immagine dell'avatar da posizionare a sinistra della voce di autocompletamento */
2575
+ avatarSrcPath?: string;
2576
+ /** Opzionale. Testo in alternativa dell'avatar per accessibilità */
2577
+ avatarAltText?: string;
2578
+ /** Opzionale. Icona posizionata a sinistra della voce di autocompletamento */
2579
+ icon?: IconName;
2580
+ /** Opzionale. Label posizionata a destra della voce di autocompletamento */
2581
+ label?: string;
2582
+ /** Opzionale. Link relativo all'elemento */
2583
+ link?: string;
2584
+ /**
2585
+ * Attribute not used for Search rendering.
2586
+ * It can be useful to retrieve some extra information when selecting the Search item
2587
+ */
2588
+ additionalData?: T;
2589
+ }
2590
+
2591
+ declare class ItSearchComponent extends ItAbstractFormComponent<string | null | undefined> implements OnInit {
2592
+ /**
2593
+ * Indicates the list of searchable elements on which to base the input search system
2594
+ * If you need to retrieve items via API, can pass a function of Observable
2595
+ * @default undefined
2596
+ */
2597
+ searchData: Array<SearchItem> | ((search?: string | null) => Observable<Array<SearchItem>>);
2598
+ /**
2599
+ * To get a large version of Search
2600
+ */
2601
+ big?: boolean;
2602
+ /**
2603
+ * Time span [ms] has passed without another source emission, to delay data filtering.
2604
+ * Useful when the user is typing multiple letters
2605
+ * @default 300 [ms]
2606
+ */
2607
+ debounceTime: number;
2608
+ /**
2609
+ * The input placeholder
2610
+ */
2611
+ placeholder: string;
2612
+ /**
2613
+ * The input label even get labelWaria icon
2614
+ */
2615
+ labelWaria: string | undefined;
2616
+ /**
2617
+ * Show the label
2618
+ */
2619
+ forceShowLabel: boolean;
2620
+ /**
2621
+ * Fired when the Search Item has been selected
2622
+ */
2623
+ searchSelectedEvent: EventEmitter<SearchItem>;
2624
+ protected showAutocompletion: boolean;
2625
+ /** Observable da cui vengono emessi i risultati dell'auto completamento */
2626
+ protected searchResults$: Observable<{
2627
+ searchedValue: string | undefined | null;
2628
+ relatedEntries: Array<SearchItem>;
2629
+ }>;
2630
+ ngOnInit(): void;
2631
+ /**
2632
+ * Create the search list
2633
+ */
2634
+ private getSearchResults$;
2635
+ protected onEntryClick(entry: SearchItem, event: Event): void;
2636
+ protected searchItemTrackByValueFn(index: number, item: SearchItem): string;
2637
+ protected onKeyDown(): void;
2638
+ protected get isActiveLabel(): boolean;
2639
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItSearchComponent, never>;
2640
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItSearchComponent, "it-search", never, { "searchData": { "alias": "searchData"; "required": true; }; "big": { "alias": "big"; "required": false; }; "debounceTime": { "alias": "debounceTime"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "labelWaria": { "alias": "labelWaria"; "required": false; }; "forceShowLabel": { "alias": "forceShowLabel"; "required": false; }; }, { "searchSelectedEvent": "searchSelectedEvent"; }, never, ["[error]"], true, never>;
2641
+ static ngAcceptInputType_big: BooleanInput;
2642
+ static ngAcceptInputType_forceShowLabel: BooleanInput;
2643
+ }
2644
+
2645
+ declare class ItCheckboxComponent extends ItAbstractFormComponent<boolean | null | undefined> implements OnInit, OnChanges {
2646
+ /**
2647
+ * If show checkbox as toggle
2648
+ * @default false
2649
+ */
2650
+ toggle?: boolean;
2651
+ /**
2652
+ * If show checkbox inline
2653
+ * @default false
2654
+ */
2655
+ inline?: boolean;
2656
+ /**
2657
+ * If is checkbox group
2658
+ * @default false
2659
+ */
2660
+ group?: boolean;
2661
+ /**
2662
+ * If checkbox is checked
2663
+ * @default false
2664
+ */
2665
+ checked?: boolean;
2666
+ /**
2667
+ * If checkbox is indeterminate
2668
+ * @default false
2669
+ */
2670
+ indeterminate?: boolean;
2671
+ ngOnInit(): void;
2672
+ ngOnChanges(changes: SimpleChanges): void;
2673
+ private markAsChecked;
2674
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItCheckboxComponent, never>;
2675
+ 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>;
2676
+ static ngAcceptInputType_toggle: BooleanInput;
2677
+ static ngAcceptInputType_inline: BooleanInput;
2678
+ static ngAcceptInputType_group: BooleanInput;
2679
+ static ngAcceptInputType_checked: BooleanInput;
2680
+ static ngAcceptInputType_indeterminate: BooleanInput;
2681
+ }
2682
+
2683
+ declare class ItInputComponent extends ItAbstractFormComponent<string | number | null | undefined> implements OnInit {
2684
+ /**
2685
+ * The input type
2686
+ * @default text
2687
+ */
2688
+ type: InputControlType;
2689
+ /**
2690
+ * The input placeholder
2691
+ */
2692
+ placeholder: string;
2693
+ /**
2694
+ * The input description
2695
+ */
2696
+ description: string | undefined;
2697
+ /**
2698
+ * To prevent modification of the contained value.
2699
+ * - <b>plaintext</b>: Readonly field in the form stylized as plain text
2700
+ * @default undefined
2701
+ */
2702
+ readonly: boolean | 'plaintext' | undefined;
2703
+ /**
2704
+ * The max date value [Used only in type = 'date']
2705
+ * @default '9999-12-31'
2706
+ * @example 'yyyy-mm-dd'
2707
+ */
2708
+ maxDate?: string;
2709
+ /**
2710
+ * The min date value [Used only in type = 'date']
2711
+ * @example 'yyyy-mm-dd'
2712
+ */
2713
+ minDate: string | undefined;
2714
+ /**
2715
+ * The max value [Used only in type = 'number']
2716
+ */
2717
+ max: number | undefined;
2718
+ /**
2719
+ * The min value [Used only in type = 'number']
2720
+ */
2721
+ min: number | undefined;
2722
+ /**
2723
+ * The step value [Used only in type = 'number']
2724
+ */
2725
+ step: number | 'any' | undefined;
2726
+ /**
2727
+ * If is a currency number [Used only in type = 'number']
2728
+ * @default false
2729
+ */
2730
+ currency?: boolean;
2731
+ /**
2732
+ * If is a percentage number [Used only in type = 'number']
2733
+ * @default false
2734
+ */
2735
+ percentage?: boolean;
2736
+ /**
2737
+ * The currency or percentage symbol [Used only if percentage or currency]
2738
+ * @example '$'
2739
+ */
2740
+ symbol: string | undefined;
2741
+ /**
2742
+ * To make the numeric field automatically resize according to the value contained in it. [Used only in type = 'number']
2743
+ * @default false
2744
+ */
2745
+ adaptive?: boolean;
2746
+ /**
2747
+ * Input autocomplete attribute (Browser autocomplete)
2748
+ * @default undefined
2749
+ */
2750
+ autocomplete: string | undefined;
2751
+ get isActiveLabel(): boolean;
2752
+ /**
2753
+ * Check is readonly field
2754
+ */
2755
+ protected get isReadonly(): boolean;
2756
+ /**
2757
+ * Return the invalid message string from TranslateService
2758
+ */
2759
+ get invalidMessage(): Observable<string>;
2760
+ ngOnInit(): void;
2761
+ /**
2762
+ * Increment or decrease the input number value of step
2763
+ * @param decrease true to decrease value
2764
+ */
2765
+ protected incrementNumber(decrease?: boolean): void;
2766
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItInputComponent, never>;
2767
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItInputComponent, "it-input", never, { "type": { "alias": "type"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "description": { "alias": "description"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "max": { "alias": "max"; "required": false; }; "min": { "alias": "min"; "required": false; }; "step": { "alias": "step"; "required": false; }; "currency": { "alias": "currency"; "required": false; }; "percentage": { "alias": "percentage"; "required": false; }; "symbol": { "alias": "symbol"; "required": false; }; "adaptive": { "alias": "adaptive"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; }, {}, never, ["[prependText]", "[append]", "[appendText]", "[error]"], true, never>;
2768
+ static ngAcceptInputType_currency: BooleanInput;
2769
+ static ngAcceptInputType_percentage: BooleanInput;
2770
+ static ngAcceptInputType_adaptive: BooleanInput;
2771
+ }
2772
+
2773
+ declare class ItPasswordInputComponent extends ItAbstractFormComponent<string | null | undefined> implements OnInit, AfterViewInit {
2774
+ /**
2775
+ * The field is required
2776
+ * @default true
2777
+ */
2778
+ required: boolean;
2779
+ /**
2780
+ * The password minimum length
2781
+ * @default 10
2782
+ */
2783
+ minLength: number;
2784
+ /**
2785
+ * The password must contain at least one number
2786
+ * @default true
2787
+ */
2788
+ useNumber: boolean;
2789
+ /**
2790
+ * The password must contain at least one uppercase character
2791
+ * @default true
2792
+ */
2793
+ useCapitalCase: boolean;
2794
+ /**
2795
+ * The password must contain at least one lowercase character
2796
+ * @default true
2797
+ */
2798
+ useSmallCase: boolean;
2799
+ /**
2800
+ * The password must contain at least one special character
2801
+ * @default true
2802
+ */
2803
+ useSpecialCharacters: boolean;
2804
+ /**
2805
+ * The input placeholder
2806
+ */
2807
+ placeholder: string;
2808
+ /**
2809
+ * The input description
2810
+ * - <b>true</b>: show the StrengthMeter description message
2811
+ * - <b>string</b>: show custom description
2812
+ * @default true for StrengthMeter mode else is undefined
2813
+ */
2814
+ description: string | true | undefined;
2815
+ /**
2816
+ * Enable to show the strength meter
2817
+ * @default false
2818
+ */
2819
+ showStrengthMeter?: boolean;
2820
+ /**
2821
+ * Is the confirmation password field
2822
+ * @default false
2823
+ */
2824
+ confirmPasswordField?: boolean;
2825
+ /**
2826
+ * Input autocomplete attribute (Browser autocomplete)
2827
+ * @default undefined
2828
+ */
2829
+ autocomplete: string | undefined;
2830
+ private inputPasswordBs?;
2831
+ private inputElement?;
2832
+ ngOnInit(): void;
2833
+ ngAfterViewInit(): void;
2834
+ protected get isStrengthMeter(): boolean;
2835
+ /**
2836
+ * Return the invalid message string from TranslateService
2837
+ */
2838
+ get invalidMessage(): Observable<string>;
2839
+ /**
2840
+ * Retrieve the default StrengthMeter description message from TranslateService
2841
+ */
2842
+ protected get strengthMeterDescription(): Observable<string>;
2843
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItPasswordInputComponent, never>;
2844
+ 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>;
2845
+ static ngAcceptInputType_showStrengthMeter: BooleanInput;
2846
+ static ngAcceptInputType_confirmPasswordField: BooleanInput;
2847
+ }
2848
+
2849
+ declare class ItRadioButtonComponent extends ItAbstractFormComponent<string | number | null | undefined> implements OnInit {
2850
+ /**
2851
+ * The radio value
2852
+ */
2853
+ value: string | number | undefined | null;
2854
+ /**
2855
+ * If show radio inline
2856
+ * @default false
2857
+ */
2858
+ inline?: boolean;
2859
+ /**
2860
+ * If is radio group
2861
+ * @default false
2862
+ */
2863
+ group?: boolean;
2864
+ /**
2865
+ * If is radio is checked
2866
+ * @default false
2867
+ */
2868
+ checked?: boolean;
2869
+ /**
2870
+ * Set the radio name manually.
2871
+ * For example when the radio button name is duplicated inside page
2872
+ * @default by default the radio name is calculated from form field name
2873
+ */
2874
+ forceRadioName?: string;
2875
+ get name(): string;
2876
+ ngOnInit(): void;
2877
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItRadioButtonComponent, never>;
2878
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItRadioButtonComponent, "it-radio-button", never, { "value": { "alias": "value"; "required": true; }; "inline": { "alias": "inline"; "required": false; }; "group": { "alias": "group"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "forceRadioName": { "alias": "forceRadioName"; "required": false; }; }, {}, never, ["[label]", "*", "[error]", "[error]"], true, never>;
2879
+ static ngAcceptInputType_inline: BooleanInput;
2880
+ static ngAcceptInputType_group: BooleanInput;
2881
+ static ngAcceptInputType_checked: BooleanInput;
2882
+ }
2883
+
2884
+ declare class ItRangeComponent extends ItAbstractFormComponent<number | null | undefined> implements OnInit, OnChanges, OnDestroy {
2885
+ /**
2886
+ * The max value
2887
+ */
2888
+ max?: number;
2889
+ /**
2890
+ * The min value
2891
+ */
2892
+ min?: number;
2893
+ /**
2894
+ * The step value
2895
+ */
2896
+ step?: number | 'any';
2897
+ /**
2898
+ * The color on left of thumb [Require rightColor]
2899
+ * @example '#0d6efd' or 'var(--bs-primary)'
2900
+ * @default undefined ('var(--bs-gray-300)')
2901
+ */
2902
+ leftColor?: string;
2903
+ /**
2904
+ * The color on right of thumb [Require leftColor]
2905
+ * @example '#0d6efd' or 'var(--bs-primary)'
2906
+ * @default undefined ('var(--bs-gray-300)')
2907
+ */
2908
+ rightColor?: string;
2909
+ slider: ElementRef<HTMLInputElement>;
2910
+ private subscription?;
2911
+ ngOnInit(): void;
2912
+ ngOnChanges(changes: SimpleChanges): void;
2913
+ ngOnDestroy(): void;
2914
+ writeValue(value: number | null | undefined): void;
2915
+ /**
2916
+ * Update the percentage of slider color
2917
+ * @private
2918
+ */
2919
+ private updateSliderColor;
2920
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItRangeComponent, never>;
2921
+ 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>;
2922
+ }
2923
+
2924
+ declare class ItRatingComponent extends ItAbstractFormComponent<number | null | undefined> implements OnInit, OnChanges {
2925
+ /**
2926
+ * The rating value
2927
+ */
2928
+ value: number | undefined;
2929
+ /**
2930
+ * Number of stars to show
2931
+ * @default 5
2932
+ */
2933
+ starCount: number;
2934
+ protected stars: Array<number>;
2935
+ ngOnChanges(changes: SimpleChanges): void;
2936
+ ngOnInit(): void;
2937
+ /**
2938
+ * Generate the array of stars
2939
+ * @private
2940
+ */
2941
+ private generateStars;
2942
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItRatingComponent, never>;
2943
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItRatingComponent, "it-rating", never, { "value": { "alias": "value"; "required": false; }; "starCount": { "alias": "starCount"; "required": false; }; }, {}, never, never, true, never>;
2944
+ }
2945
+
2946
+ declare class ItSelectComponent extends ItAbstractFormComponent implements OnInit {
2947
+ /**
2948
+ * The select options
2949
+ */
2950
+ options: Array<SelectControlOption> | undefined;
2951
+ /**
2952
+ * The select group options
2953
+ */
2954
+ groups: Array<SelectControlGroup> | undefined;
2955
+ /**
2956
+ * The select description
2957
+ */
2958
+ description?: string;
2959
+ /**
2960
+ * If set, add a `disabled selected` option with value `null` and as text the value of the attribute
2961
+ * @example 'Select an option'
2962
+ */
2963
+ defaultOption?: string;
2964
+ ngOnInit(): void;
2965
+ /**
2966
+ * Check if the option is selected
2967
+ * @param option the option
2968
+ */
2969
+ optionIsSelected(option: SelectControlOption): boolean;
2970
+ /**
2971
+ * Check if the option is disabled
2972
+ * @param option the option
2973
+ */
2974
+ optionIsDisabled(option: SelectControlOption): boolean;
2975
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItSelectComponent, never>;
2976
+ 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>;
2977
+ }
2978
+
2979
+ declare class ItTextareaComponent extends ItAbstractFormComponent<string | null | undefined> {
2980
+ /**
2981
+ * Textarea Rows
2982
+ * @default 3
2983
+ */
2984
+ rows?: number;
2985
+ /**
2986
+ * The textarea placeholder
2987
+ */
2988
+ placeholder: string;
2989
+ /**
2990
+ * The input description
2991
+ */
2992
+ description: string | undefined;
2993
+ /**
2994
+ * To prevent modification of the contained value.
2995
+ * - <b>plaintext</b>: Readonly field in the form stylized as plain text
2996
+ * @default undefined
2997
+ */
2998
+ readonly: boolean | 'plaintext' | undefined;
2999
+ /**
3000
+ * Return the invalid message string from TranslateService
3001
+ */
3002
+ get invalidMessage(): Observable<string>;
3003
+ /**
3004
+ * Check is readonly field
3005
+ */
3006
+ protected get isReadonly(): boolean;
3007
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItTextareaComponent, never>;
3008
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItTextareaComponent, "it-textarea", never, { "rows": { "alias": "rows"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "description": { "alias": "description"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; }, {}, never, ["[error]"], true, never>;
3009
+ }
3010
+
3011
+ interface TransferItem<ValueType> {
3012
+ text: string;
3013
+ value: ValueType;
3014
+ }
3015
+ type TransferItemSelection<ValueType> = Array<TransferItem<ValueType>>;
3016
+ type SourceType = 'source' | 'target';
3017
+
3018
+ /**
3019
+ * Transfer
3020
+ * @description Component that allows the creation of checkbox lists.
3021
+ */
3022
+ declare class ItTransferComponent<T = any> extends ItAbstractFormComponent<T> implements OnInit {
3023
+ protected _ngControl: NgControl | null;
3024
+ protected _translateService: TranslateService;
3025
+ private readonly store;
3026
+ /**
3027
+ * The select options (left side)
3028
+ */
3029
+ options: never[];
3030
+ /**
3031
+ * The selected options (right side)
3032
+ */
3033
+ selected: never[];
3034
+ /**
3035
+ * Fired when there is a transfer, a backtransfer or a reset event
3036
+ */
3037
+ readonly transferChanges: EventEmitter<TransferItem<T>[]>;
3038
+ /**
3039
+ * Enable transfer button
3040
+ * @default false
3041
+ */
3042
+ readonly transferEnabled: rxjs.Observable<boolean>;
3043
+ /**
3044
+ * Enable backtransfer button
3045
+ * @default false
3046
+ */
3047
+ readonly backtransferEnabled: rxjs.Observable<boolean>;
3048
+ /**
3049
+ * Enable reset button
3050
+ * @default false
3051
+ */
3052
+ readonly resetEnabled: rxjs.Observable<boolean>;
3053
+ private readonly destroyRef;
3054
+ ngOnInit(): void;
3055
+ /**
3056
+ * Transfer button click handler
3057
+ */
3058
+ transferClickHandler(event: MouseEvent): void;
3059
+ /**
3060
+ * Transfer button keypress handler
3061
+ */
3062
+ transferKeyPressHandler(event: KeyboardEvent): void;
3063
+ /**
3064
+ * Backtransfer button click handler
3065
+ */
3066
+ backtransferClickHandler(event: MouseEvent): void;
3067
+ /**
3068
+ * Backtransfer button keypress handler
3069
+ */
3070
+ backtransferKeyPressHandler(event: KeyboardEvent): void;
3071
+ /**
3072
+ * Reset button click handler
3073
+ */
3074
+ resetClickHandler(event: MouseEvent): void;
3075
+ /**
3076
+ * Reset button keypress handler
3077
+ */
3078
+ resetKeyPressHandler(event: KeyboardEvent): void;
3079
+ private buttonEventHandler;
3080
+ private storeInit;
3081
+ private onStoreValueChanged;
3082
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItTransferComponent<any>, never>;
3083
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItTransferComponent<any>, "it-transfer", never, { "options": { "alias": "options"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; }, { "transferChanges": "transferChanges"; }, never, never, true, never>;
3084
+ }
3085
+
3086
+ declare class ItUploadDragDropComponent extends ItAbstractComponent implements AfterViewInit {
3087
+ /**
3088
+ * The accepted file type to upload <br>
3089
+ * 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
3090
+ * @example application/pdf,image/png
3091
+ * @default *
3092
+ */
3093
+ accept: string;
3094
+ /**
3095
+ * Fired when file start to upload
3096
+ */
3097
+ fileStartUpload: EventEmitter<File>;
3098
+ protected isDragover: boolean;
3099
+ protected isLoading: boolean;
3100
+ protected isSuccess: boolean;
3101
+ protected donut?: ProgressDonut;
3102
+ private donutElement?;
3103
+ protected filename?: string;
3104
+ protected extension?: string;
3105
+ protected fileSize?: string;
3106
+ /**
3107
+ * The bootstrap-italia asset folder path
3108
+ * @default ./bootstrap-italia
3109
+ */
3110
+ protected assetBasePath: string;
3111
+ constructor();
3112
+ ngAfterViewInit(): void;
3113
+ onDragOver(evt: DragEvent): void;
3114
+ onDragLeave(evt: DragEvent): void;
3115
+ onDrop(evt: DragEvent): void;
3116
+ /**
3117
+ * On load file from input
3118
+ * @param event
3119
+ */
3120
+ onLoadFile(event: Event): void;
3121
+ /**
3122
+ * Start the upload file
3123
+ * @param file
3124
+ */
3125
+ start(file: File): void;
3126
+ /**
3127
+ * Percentage of upload
3128
+ * @param value the percentage [0 - 100]
3129
+ */
3130
+ progress(value: number): void;
3131
+ /**
3132
+ * Upload success
3133
+ */
3134
+ success(): void;
3135
+ /**
3136
+ * Reset file uploader
3137
+ */
3138
+ reset(): void;
3139
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItUploadDragDropComponent, never>;
3140
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItUploadDragDropComponent, "it-upload-drag-drop", ["itUploadDragDrop"], { "accept": { "alias": "accept"; "required": false; }; }, { "fileStartUpload": "fileStartUpload"; }, never, never, true, never>;
3141
+ }
3142
+
3143
+ declare class ItUploadFileListComponent extends ItAbstractComponent implements OnInit, OnChanges {
3144
+ /**
3145
+ * The list of files to show in list
3146
+ */
3147
+ fileList: Array<UploadFileListItem>;
3148
+ /**
3149
+ * The accepted file type to upload <br>
3150
+ * 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
3151
+ * @example application/pdf,image/png
3152
+ * @default *
3153
+ */
3154
+ accept: string;
3155
+ /**
3156
+ * A label for the upload button
3157
+ */
3158
+ label?: string;
3159
+ /**
3160
+ * If upload multiple files
3161
+ * @default true
3162
+ */
3163
+ multiple: boolean;
3164
+ /**
3165
+ * If is file list image
3166
+ * @default false
3167
+ */
3168
+ images?: boolean;
3169
+ /**
3170
+ * Hide the load button
3171
+ * @default false
3172
+ */
3173
+ hideLoadButton?: boolean;
3174
+ /**
3175
+ * Fired when upload new files
3176
+ */
3177
+ uploadFiles: EventEmitter<FileList>;
3178
+ /**
3179
+ * Fired on delete item button click
3180
+ */
3181
+ deleteItem: EventEmitter<UploadFileListItem>;
3182
+ /**
3183
+ * Cache to preview image
3184
+ */
3185
+ previewImages: Map<number, string>;
3186
+ ngOnInit(): void;
3187
+ ngOnChanges(changes: SimpleChanges): void;
3188
+ /**
3189
+ * On load file from input
3190
+ * @param event
3191
+ */
3192
+ onLoadFiles(event: Event): void;
3193
+ /**
3194
+ * Get the file size string
3195
+ * @param file
3196
+ */
3197
+ getFileSize(file: File): string;
3198
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItUploadFileListComponent, never>;
3199
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItUploadFileListComponent, "it-upload-file-list", never, { "fileList": { "alias": "fileList"; "required": true; }; "accept": { "alias": "accept"; "required": false; }; "label": { "alias": "label"; "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>;
3200
+ static ngAcceptInputType_multiple: BooleanInput;
3201
+ static ngAcceptInputType_images: BooleanInput;
3202
+ static ngAcceptInputType_hideLoadButton: BooleanInput;
3203
+ }
3204
+
3205
+ declare class ItFormModule {
3206
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItFormModule, never>;
3207
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ItFormModule, never, [typeof ItAutocompleteComponent, typeof ItSearchComponent, typeof ItCheckboxComponent, typeof ItInputComponent, typeof ItPasswordInputComponent, typeof ItRadioButtonComponent, typeof ItRangeComponent, typeof ItRatingComponent, typeof ItSelectComponent, typeof ItTextareaComponent, typeof ItTransferComponent, typeof ItUploadDragDropComponent, typeof ItUploadFileListComponent], [typeof ItAutocompleteComponent, typeof ItSearchComponent, typeof ItCheckboxComponent, typeof ItInputComponent, typeof ItPasswordInputComponent, typeof ItRadioButtonComponent, typeof ItRangeComponent, typeof ItRatingComponent, typeof ItSelectComponent, typeof ItTextareaComponent, typeof ItTransferComponent, typeof ItUploadDragDropComponent, typeof ItUploadFileListComponent]>;
3208
+ static ɵinj: i0.ɵɵInjectorDeclaration<ItFormModule>;
3209
+ }
3210
+
3211
+ declare class ItBackButtonComponent {
3212
+ readonly _location: Location;
3213
+ /**
3214
+ * Back button style
3215
+ * - <b>link</b>: use a link with icon and text
3216
+ * - <b>button</b>: use a button with icon and text
3217
+ * @default button
3218
+ */
3219
+ buttonStyle: 'link' | 'button';
3220
+ /**
3221
+ * Button direction
3222
+ * - <b>left</b>: Back direction
3223
+ * - <b>up</b>: Upper direction
3224
+ * @default left
3225
+ */
3226
+ direction: 'left' | 'up';
3227
+ /**
3228
+ * Show/Hide icon
3229
+ * @default true
3230
+ */
3231
+ showIcon: boolean;
3232
+ /**
3233
+ * Show/Hide text
3234
+ * @default true
3235
+ */
3236
+ showText: boolean;
3237
+ /**
3238
+ * Custom back logic <br/>
3239
+ *
3240
+ * NOTE: to use 'this' need bind function <br/>
3241
+ * @example backCbFn = this.errorCallback.bind(this);
3242
+ * (errorCallback is your function, pass backCbFn to the component)
3243
+ */
3244
+ backFn?: (location: Location) => void;
3245
+ /**
3246
+ * Go back function
3247
+ */
3248
+ goBack(event: Event): void;
3249
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItBackButtonComponent, never>;
3250
+ 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>;
3251
+ static ngAcceptInputType_showIcon: BooleanInput;
3252
+ static ngAcceptInputType_showText: BooleanInput;
3253
+ }
3254
+
3255
+ declare class ItBackToTopComponent extends ItAbstractComponent implements AfterViewInit {
3256
+ /**
3257
+ * Aria label for the component
3258
+ * @default 'Torna su'
3259
+ */
3260
+ ariaLabel: string;
3261
+ /**
3262
+ * Show small button
3263
+ * @default false
3264
+ */
3265
+ small?: boolean;
3266
+ /**
3267
+ * Show shadow
3268
+ * @default false
3269
+ */
3270
+ shadow?: boolean;
3271
+ /**
3272
+ * Button usable button on a dark background
3273
+ * @default false
3274
+ */
3275
+ dark?: boolean;
3276
+ private backToTop?;
3277
+ private backToTopElement?;
3278
+ ngAfterViewInit(): void;
3279
+ /**
3280
+ * Show button
3281
+ */
3282
+ show(): void;
3283
+ /**
3284
+ * Hide the button
3285
+ */
3286
+ hide(): void;
3287
+ /**
3288
+ * Activates the scroll animation towards the Y coordinate indicated by the positionTop option
3289
+ */
3290
+ scrollToTop(): void;
3291
+ /**
3292
+ * Eliminate component features
3293
+ */
3294
+ dispose(): void;
3295
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItBackToTopComponent, never>;
3296
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItBackToTopComponent, "it-back-to-top", ["itBackToTop"], { "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "small": { "alias": "small"; "required": false; }; "shadow": { "alias": "shadow"; "required": false; }; "dark": { "alias": "dark"; "required": false; }; }, {}, never, never, true, never>;
3297
+ static ngAcceptInputType_small: BooleanInput;
3298
+ static ngAcceptInputType_shadow: BooleanInput;
3299
+ static ngAcceptInputType_dark: BooleanInput;
3300
+ }
3301
+
3302
+ declare class ItBreadcrumbItemComponent extends ItLinkComponent {
3303
+ /**
3304
+ * Is active breadcrumb item
3305
+ * @default false
3306
+ */
3307
+ active?: boolean;
3308
+ /**
3309
+ * The name of icon to show
3310
+ */
3311
+ iconName: IconName | undefined;
3312
+ /**
3313
+ * The content of item
3314
+ */
3315
+ htmlContent: TemplateRef<any>;
3316
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItBreadcrumbItemComponent, never>;
3317
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItBreadcrumbItemComponent, "it-breadcrumb-item", never, { "active": { "alias": "active"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; }, {}, never, ["*"], true, never>;
3318
+ static ngAcceptInputType_active: BooleanInput;
3319
+ }
3320
+
3321
+ declare class ItBreadcrumbComponent implements AfterViewInit, OnDestroy {
3322
+ private readonly _changeDetectorRef;
3323
+ /**
3324
+ * The character to use as separator
3325
+ * @default /
3326
+ */
3327
+ separator: string;
3328
+ /**
3329
+ * Dark style
3330
+ * @default false
3331
+ */
3332
+ dark?: boolean;
3333
+ /**
3334
+ * The tab items
3335
+ */
3336
+ items?: QueryList<ItBreadcrumbItemComponent>;
3337
+ private itemSubscriptions?;
3338
+ ngAfterViewInit(): void;
3339
+ ngOnDestroy(): void;
3340
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItBreadcrumbComponent, never>;
3341
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItBreadcrumbComponent, "it-breadcrumb", never, { "separator": { "alias": "separator"; "required": false; }; "dark": { "alias": "dark"; "required": false; }; }, {}, ["items"], never, true, never>;
3342
+ static ngAcceptInputType_dark: BooleanInput;
3343
+ }
3344
+
3345
+ declare class ItBreadcrumbsModule {
3346
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItBreadcrumbsModule, never>;
3347
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ItBreadcrumbsModule, never, [typeof ItBreadcrumbComponent, typeof ItBreadcrumbItemComponent], [typeof ItBreadcrumbComponent, typeof ItBreadcrumbItemComponent]>;
3348
+ static ɵinj: i0.ɵɵInjectorDeclaration<ItBreadcrumbsModule>;
3349
+ }
3350
+
3351
+ declare class ItHeaderComponent implements AfterViewInit, OnChanges {
3352
+ light?: boolean;
3353
+ sticky?: boolean;
3354
+ showSlim?: boolean;
3355
+ smallHeader?: boolean;
3356
+ showSearch?: boolean;
3357
+ idCollapsable: string;
3358
+ slimTitle: string | undefined;
3359
+ slimTitleLink: string | undefined;
3360
+ loginStyle: 'none' | 'default' | 'full';
3361
+ loginClick: EventEmitter<Event>;
3362
+ searchClick: EventEmitter<Event>;
3363
+ private headerWrapper?;
3364
+ private itNavBarComponent?;
3365
+ megamenu?: boolean;
3366
+ expand?: boolean;
3367
+ private stickyHeader?;
3368
+ constructor();
3369
+ ngAfterViewInit(): void;
3370
+ ngOnChanges(changes: SimpleChanges): void;
3371
+ updateListeners(): void;
3372
+ openNavBar(): void;
3373
+ closeNavBar(): void;
3374
+ protected emitLoginClick(event: Event): void;
3375
+ protected emitSearchClick(event: Event): void;
3376
+ toggleCollapse(): void;
3377
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItHeaderComponent, never>;
3378
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItHeaderComponent, "it-header", never, { "light": { "alias": "light"; "required": false; }; "sticky": { "alias": "sticky"; "required": false; }; "showSlim": { "alias": "showSlim"; "required": false; }; "smallHeader": { "alias": "smallHeader"; "required": false; }; "showSearch": { "alias": "showSearch"; "required": false; }; "idCollapsable": { "alias": "idCollapsable"; "required": false; }; "slimTitle": { "alias": "slimTitle"; "required": false; }; "slimTitleLink": { "alias": "slimTitleLink"; "required": false; }; "loginStyle": { "alias": "loginStyle"; "required": false; }; "megamenu": { "alias": "megamenu"; "required": false; }; "expand": { "alias": "expand"; "required": false; }; }, { "loginClick": "loginClick"; "searchClick": "searchClick"; }, never, ["[slimLinkList]", "[slimRightZone]", "[brand]", "[rightZone]", "[navItems]"], true, never>;
3379
+ static ngAcceptInputType_light: BooleanInput;
3380
+ static ngAcceptInputType_sticky: BooleanInput;
3381
+ static ngAcceptInputType_showSlim: BooleanInput;
3382
+ static ngAcceptInputType_smallHeader: BooleanInput;
3383
+ static ngAcceptInputType_showSearch: BooleanInput;
3384
+ static ngAcceptInputType_megamenu: BooleanInput;
3385
+ static ngAcceptInputType_expand: BooleanInput;
3386
+ }
3387
+
3388
+ declare class ItFooterComponent extends ItAbstractComponent {
3389
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItFooterComponent, never>;
3390
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItFooterComponent, "it-footer", ["itFooter"], {}, {}, never, ["[header]", "[links]", "[contacts]", "[small-links]"], true, never>;
3391
+ }
3392
+
3393
+ declare class ItNavBarComponent implements AfterViewInit {
3394
+ megamenu?: boolean;
3395
+ expand?: boolean;
3396
+ private collapseButton?;
3397
+ private collapseView?;
3398
+ private navbar?;
3399
+ ngAfterViewInit(): void;
3400
+ get isOpen(): boolean | undefined;
3401
+ open(): void;
3402
+ close(): void;
3403
+ toggleCollapse(): void;
3404
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItNavBarComponent, never>;
3405
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItNavBarComponent, "it-navbar", never, { "megamenu": { "alias": "megamenu"; "required": false; }; "expand": { "alias": "expand"; "required": false; }; }, {}, never, ["[navItems]"], true, never>;
3406
+ static ngAcceptInputType_megamenu: BooleanInput;
3407
+ static ngAcceptInputType_expand: BooleanInput;
3408
+ }
3409
+
3410
+ declare class ItNavBarItemComponent {
3411
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItNavBarItemComponent, never>;
3412
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItNavBarItemComponent, "it-navbar-item", never, {}, {}, never, ["*"], true, never>;
3413
+ }
3414
+
3415
+ declare class ItNavBarModule {
3416
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItNavBarModule, never>;
3417
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ItNavBarModule, never, [typeof ItNavBarComponent, typeof ItNavBarItemComponent], [typeof ItNavBarComponent, typeof ItNavBarItemComponent]>;
3418
+ static ɵinj: i0.ɵɵInjectorDeclaration<ItNavBarModule>;
3419
+ }
3420
+
3421
+ declare class ItSidebarComponent {
3422
+ /**
3423
+ * Per creare una sidebar con linea separatrice a destra è sufficiente aggiungere la classe
3424
+ */
3425
+ withRightLine: boolean;
3426
+ /**
3427
+ * Per creare una sidebar con linea separatrice a sinistra è sufficiente aggiungere la classe
3428
+ */
3429
+ withLeftLine: boolean;
3430
+ /**
3431
+ * Per cambiare il tema della sidebar e renderla scura
3432
+ */
3433
+ dark: boolean;
3434
+ /**
3435
+ * L'intestazione della sidebar
3436
+ */
3437
+ header?: string;
3438
+ componentClass: string;
3439
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItSidebarComponent, never>;
3440
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItSidebarComponent, "it-sidebar", never, { "withRightLine": { "alias": "withRightLine"; "required": false; }; "withLeftLine": { "alias": "withLeftLine"; "required": false; }; "dark": { "alias": "dark"; "required": false; }; "header": { "alias": "header"; "required": false; }; }, {}, never, ["*", "[secondary]"], true, never>;
3441
+ static ngAcceptInputType_withRightLine: BooleanInput;
3442
+ static ngAcceptInputType_withLeftLine: BooleanInput;
3443
+ static ngAcceptInputType_dark: BooleanInput;
3444
+ }
3445
+
3446
+ declare class ItMegamenuComponent {
3447
+ /**
3448
+ * Megamenu mode
3449
+ */
3450
+ mode: 'right-section' | 'left-section' | 'normal';
3451
+ /**
3452
+ * To show Megamenu header
3453
+ * @default false
3454
+ */
3455
+ header?: boolean;
3456
+ /**
3457
+ * To show Megamenu footer
3458
+ * @default false
3459
+ */
3460
+ footer?: boolean;
3461
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItMegamenuComponent, never>;
3462
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItMegamenuComponent, "it-megamenu", never, { "mode": { "alias": "mode"; "required": false; }; "header": { "alias": "header"; "required": false; }; "footer": { "alias": "footer"; "required": false; }; }, {}, never, ["[megamenuLeftZone]", "[megamenuHeadingLink]", "[megamenuLinkList]", "[megamenuFooter]"], true, never>;
3463
+ static ngAcceptInputType_header: BooleanInput;
3464
+ static ngAcceptInputType_footer: BooleanInput;
3465
+ }
3466
+
3467
+ declare class ItSkiplinkComponent {
3468
+ /**
3469
+ * Aria label for `nav` mode
3470
+ * @default 'Scorciatoie di navigazione'
3471
+ */
3472
+ ariaLabel: string;
3473
+ /**
3474
+ * If `true` nav mode is enabled
3475
+ * @default false
3476
+ */
3477
+ nav?: boolean;
3478
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItSkiplinkComponent, never>;
3479
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItSkiplinkComponent, "it-skiplink", ["itSkipLink"], { "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "nav": { "alias": "nav"; "required": false; }; }, {}, never, ["*"], true, never>;
3480
+ static ngAcceptInputType_nav: BooleanInput;
3481
+ }
3482
+
3483
+ declare class ItSkiplinkItemComponent {
3484
+ /**
3485
+ * The router link action
3486
+ *
3487
+ * Commands to pass to Router#createUrlTree.
3488
+ * - array: commands to pass to Router#createUrlTree.
3489
+ * - string: shorthand for array of commands with just the string, i.e. ['/route']
3490
+ * - null|undefined: Disables the link by removing the href
3491
+ */
3492
+ href: any[] | string | null | undefined;
3493
+ /**
3494
+ * Is an external link (false to not use Angular router link)
3495
+ * @default false
3496
+ */
3497
+ externalLink?: boolean;
3498
+ inNav: boolean;
3499
+ constructor();
3500
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItSkiplinkItemComponent, never>;
3501
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItSkiplinkItemComponent, "it-skiplink-item", ["itSkipLinkItem"], { "href": { "alias": "href"; "required": false; }; "externalLink": { "alias": "externalLink"; "required": false; }; }, {}, never, ["*"], true, never>;
3502
+ static ngAcceptInputType_externalLink: BooleanInput;
3503
+ }
3504
+
3505
+ declare class ItSkiplinkModule {
3506
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItSkiplinkModule, never>;
3507
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ItSkiplinkModule, never, [typeof ItSkiplinkComponent, typeof ItSkiplinkItemComponent], [typeof ItSkiplinkComponent, typeof ItSkiplinkItemComponent]>;
3508
+ static ɵinj: i0.ɵɵInjectorDeclaration<ItSkiplinkModule>;
3509
+ }
3510
+
3511
+ type NavscrollItem = ({
3512
+ text: string;
3513
+ html?: never;
3514
+ } | {
3515
+ html: string;
3516
+ text?: never;
3517
+ }) & {
3518
+ title: string;
3519
+ href: string;
3520
+ childs: NavscrollItems;
3521
+ };
3522
+ type NavscrollItems = Array<NavscrollItem>;
3523
+ interface NavscrollItemActive {
3524
+ active: boolean;
3525
+ }
3526
+
3527
+ /**
3528
+ * Navscroll
3529
+ * @description Show a list of links to anchor of the document.
3530
+ */
3531
+ declare class ItNavscrollComponent implements OnInit {
3532
+ #private;
3533
+ /**
3534
+ * Header of the Navscroll
3535
+ */
3536
+ header: string;
3537
+ /**
3538
+ * A list of links
3539
+ */
3540
+ items: Array<NavscrollItem>;
3541
+ /**
3542
+ * Border position
3543
+ * @default left
3544
+ */
3545
+ borderPosition: 'left' | 'right';
3546
+ /**
3547
+ * Alignment
3548
+ * @default top
3549
+ */
3550
+ alignment: 'top' | 'bottom';
3551
+ /**
3552
+ * Theme
3553
+ * @default light
3554
+ */
3555
+ theme: 'light' | 'dark';
3556
+ /**
3557
+ * Custom template for the content section
3558
+ */
3559
+ pageSectionsTemplate?: TemplateRef<any>;
3560
+ onScroll(): void;
3561
+ onResize(): void;
3562
+ readonly toggleButtonRef: ElementRef<HTMLButtonElement>;
3563
+ readonly selectedTitle: rxjs.Observable<string>;
3564
+ readonly progressBarValue: rxjs.Observable<number>;
3565
+ readonly isMobile: rxjs.Observable<boolean>;
3566
+ constructor();
3567
+ ngOnInit(): void;
3568
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItNavscrollComponent, never>;
3569
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItNavscrollComponent, "it-navscroll", never, { "header": { "alias": "header"; "required": false; }; "items": { "alias": "items"; "required": false; }; "borderPosition": { "alias": "borderPosition"; "required": false; }; "alignment": { "alias": "alignment"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "pageSectionsTemplate": { "alias": "pageSectionsTemplate"; "required": false; }; }, {}, never, never, true, never>;
3570
+ }
3571
+
3572
+ declare class ItErrorPageComponent {
3573
+ private readonly route;
3574
+ /**
3575
+ * The error code to show
3576
+ */
3577
+ errorCode: number | 404 | 403 | 500 | undefined;
3578
+ /**
3579
+ * Show/Hide error code
3580
+ * @default true - show
3581
+ */
3582
+ showErrorCode?: boolean;
3583
+ /**
3584
+ * Custom error title
3585
+ * - If set it will be displayed instead of the default title.
3586
+ * - It is possible to use i18n keys
3587
+ */
3588
+ errorTitle: string | undefined;
3589
+ /**
3590
+ * Custom error description
3591
+ * - If set it will be displayed instead of the default description.
3592
+ * - It is possible to use i18n keys
3593
+ */
3594
+ errorDescription: string | undefined;
3595
+ /**
3596
+ * Show/Hide back button
3597
+ * @default true - show
3598
+ */
3599
+ showBackButton?: boolean;
3600
+ /**
3601
+ * Show/Hide home button
3602
+ * @default true - show
3603
+ */
3604
+ showHomeButton?: boolean;
3605
+ constructor();
3606
+ get isDefaultErrorCode(): boolean;
3607
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItErrorPageComponent, never>;
3608
+ 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>;
3609
+ static ngAcceptInputType_showErrorCode: BooleanInput;
3610
+ static ngAcceptInputType_showBackButton: BooleanInput;
3611
+ static ngAcceptInputType_showHomeButton: BooleanInput;
3612
+ }
3613
+
3614
+ interface AvailableLanguage {
3615
+ /**
3616
+ * The language code
3617
+ */
3618
+ code: string;
3619
+ /**
3620
+ * Label to show
3621
+ */
3622
+ label: string;
3623
+ }
3624
+
3625
+ declare class ItLanguageSwitcherComponent implements OnInit {
3626
+ private readonly translateService;
3627
+ /**
3628
+ * The available languages
3629
+ * @default The languages available through TranslateService (ngx-translate)
3630
+ */
3631
+ availableLanguages: Array<AvailableLanguage> | undefined;
3632
+ /**
3633
+ * Dropdown mode
3634
+ */
3635
+ mode: 'button' | 'link' | 'nav';
3636
+ protected currentLang$: Observable<AvailableLanguage | undefined>;
3637
+ constructor();
3638
+ ngOnInit(): void;
3639
+ /**
3640
+ * Change the current language
3641
+ * @param lang the language code
3642
+ */
3643
+ changeLanguage(lang: string): void;
3644
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItLanguageSwitcherComponent, never>;
3645
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItLanguageSwitcherComponent, "it-language-switcher", never, { "availableLanguages": { "alias": "availableLanguages"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; }, {}, never, never, true, never>;
3646
+ }
3647
+
3648
+ /**
3649
+ * Indicates in a textual way how much time has passed since the indicated date
3650
+ * @example 2 hours ago
3651
+ */
3652
+ declare class ItDateAgoPipe extends TranslatePipe implements PipeTransform {
3653
+ /**
3654
+ * Indicates in a textual way how much time has passed since the indicated date
3655
+ * @example 2 hours ago
3656
+ * @param value the Date or date string
3657
+ */
3658
+ transform(value: string | Date): string;
3659
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItDateAgoPipe, never>;
3660
+ static ɵpipe: i0.ɵɵPipeDeclaration<ItDateAgoPipe, "itDateAgo", true>;
3661
+ }
3662
+
3663
+ type ItDurationPipeType = 'year' | 'month' | 'week' | 'day' | 'hour' | 'minute' | 'second';
3664
+ /**
3665
+ * Transform a number into a duration.
3666
+ * Is necessary indicate the value expressed by the number, for example 'day'.
3667
+ * @example
3668
+ * - 1, 'day' -> 1 day
3669
+ * - 5, 'day' -> 5 days
3670
+ * - 7, 'day' -> 1 week
3671
+ * - 365, 'day' -> 1 year
3672
+ * - 2, 'week' -> 2 weeks
3673
+ * ...
3674
+ */
3675
+ declare class ItDurationPipe extends TranslatePipe implements PipeTransform {
3676
+ /**
3677
+ * Transform a number into a duration.
3678
+ * Is necessary indicate the value expressed by the number, for example 'day'.
3679
+ * @example
3680
+ * - 1, 'day' -> 1 day
3681
+ * - 5, 'day' -> 5 days
3682
+ * - 7, 'day' -> 1 week
3683
+ * - 8, 'day' -> 1 week
3684
+ * - 365, 'day' -> 1 year
3685
+ * - 2, 'week' -> 2 weeks
3686
+ * - 24, 'month' -> 1 year
3687
+ * ...
3688
+ * @param value the number
3689
+ * @param type the number expressed type
3690
+ */
3691
+ transform(value: string | number | undefined, type: ItDurationPipeType): string;
3692
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItDurationPipe, never>;
3693
+ static ɵpipe: i0.ɵɵPipeDeclaration<ItDurationPipe, "itDuration", true>;
3694
+ }
3695
+
3696
+ /**
3697
+ * Allows you to highlight text with the <mark> tag
3698
+ */
3699
+ declare class ItMarkMatchingTextPipe implements PipeTransform {
3700
+ private readonly domSanitizer;
3701
+ /**
3702
+ * Allows you to highlight text with the <mark> tag
3703
+ * @param allString the full text to search from
3704
+ * @param searchString the string to search
3705
+ */
3706
+ transform(allString: string | undefined, searchString: string | number | null | undefined): SafeHtml | string | undefined;
3707
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItMarkMatchingTextPipe, never>;
3708
+ static ɵpipe: i0.ɵɵPipeDeclaration<ItMarkMatchingTextPipe, "itMarkMatchingText", true>;
3709
+ }
3710
+
3711
+ declare class DesignAngularKitModule {
3712
+ static forRoot(config?: DesignAngularKitConfig): ModuleWithProviders<DesignAngularKitModule>;
3713
+ static forChild(): ModuleWithProviders<DesignAngularKitModule>;
3714
+ static ɵfac: i0.ɵɵFactoryDeclaration<DesignAngularKitModule, never>;
3715
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DesignAngularKitModule, never, [typeof ItAccordionComponent, typeof ItAlertComponent, typeof ItAvatarModule, typeof ItBadgeDirective, typeof ItButtonDirective, typeof ItCalloutComponent, typeof ItCardComponent, typeof ItCarouselModule, typeof ItChipComponent, typeof ItCollapseComponent, typeof ItDimmerModule, typeof ItDropdownModule, typeof ItForwardDirective, typeof ItLinkComponent, typeof ItListModule, typeof ItModalComponent, typeof ItNotificationsComponent, typeof ItPaginationComponent, typeof ItPopoverDirective, typeof ItProgressBarComponent, typeof ItProgressButtonComponent, typeof ItSpinnerComponent, typeof ItSteppersModule, typeof ItTabModule, typeof ItTableModule, typeof ItTooltipDirective, typeof ItTimelineModule, typeof ItVideoPlayerComponent, typeof ItFormModule, typeof ItBackButtonComponent, typeof ItBackToTopComponent, typeof ItBreadcrumbsModule, typeof ItHeaderComponent, typeof ItFooterComponent, typeof ItNavBarModule, typeof ItSidebarComponent, typeof ItMegamenuComponent, typeof ItSkiplinkModule, typeof ItNavscrollComponent, typeof ItErrorPageComponent, typeof ItIconComponent, typeof ItLanguageSwitcherComponent, typeof ItDateAgoPipe, typeof ItDurationPipe, typeof ItMarkMatchingTextPipe], [typeof ItAccordionComponent, typeof ItAlertComponent, typeof ItAvatarModule, typeof ItBadgeDirective, typeof ItButtonDirective, typeof ItCalloutComponent, typeof ItCardComponent, typeof ItCarouselModule, typeof ItChipComponent, typeof ItCollapseComponent, typeof ItDimmerModule, typeof ItDropdownModule, typeof ItForwardDirective, typeof ItLinkComponent, typeof ItListModule, typeof ItModalComponent, typeof ItNotificationsComponent, typeof ItPaginationComponent, typeof ItPopoverDirective, typeof ItProgressBarComponent, typeof ItProgressButtonComponent, typeof ItSpinnerComponent, typeof ItSteppersModule, typeof ItTabModule, typeof ItTableModule, typeof ItTooltipDirective, typeof ItTimelineModule, typeof ItVideoPlayerComponent, typeof ItFormModule, typeof ItBackButtonComponent, typeof ItBackToTopComponent, typeof ItBreadcrumbsModule, typeof ItHeaderComponent, typeof ItFooterComponent, typeof ItNavBarModule, typeof ItSidebarComponent, typeof ItMegamenuComponent, typeof ItSkiplinkModule, typeof ItNavscrollComponent, typeof ItErrorPageComponent, typeof ItIconComponent, typeof ItLanguageSwitcherComponent, typeof ItDateAgoPipe, typeof ItDurationPipe, typeof ItMarkMatchingTextPipe]>;
3716
+ static ɵinj: i0.ɵɵInjectorDeclaration<DesignAngularKitModule>;
3717
+ }
3718
+
3719
+ /**
3720
+ * Configures DesignAngularKit library
3721
+ * @param config the DesignAngularKit config
3722
+ */
3723
+ declare function provideDesignAngularKit(config?: DesignAngularKitConfig): EnvironmentProviders;
3724
+
3725
+ declare class ItVideoPlayerModule {
3726
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItVideoPlayerModule, never>;
3727
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ItVideoPlayerModule, never, [typeof ItVideoPlayerComponent], [typeof ItVideoPlayerComponent]>;
3728
+ static ɵinj: i0.ɵɵInjectorDeclaration<ItVideoPlayerModule>;
3729
+ }
3730
+
3731
+ declare class ItNotificationService {
3732
+ private subject;
3733
+ /**
3734
+ * Listen on notification arrived
3735
+ * @param filterType filter type of notification
3736
+ */
3737
+ onNotification(filterType?: NotificationType): Observable<Notification>;
3738
+ /**
3739
+ * Show new notification
3740
+ * @param notification notification
3741
+ */
3742
+ addNotification(notification: Notification): void;
3743
+ /**
3744
+ * Create new Standard notification
3745
+ * @param title notification title
3746
+ * @param message notification message
3747
+ * @param dismissible notification dismissible
3748
+ * @param duration notification duration (milliseconds)
3749
+ * @param position notification position
3750
+ */
3751
+ standard(title: string, message?: string, dismissible?: boolean, duration?: number, position?: NotificationPosition): void;
3752
+ /**
3753
+ * Create new Success notification
3754
+ * @param title notification title
3755
+ * @param message notification message
3756
+ * @param dismissible notification dismissible
3757
+ * @param duration notification duration (milliseconds)
3758
+ * @param position notification position
3759
+ */
3760
+ success(title: string, message?: string, dismissible?: boolean, duration?: number, position?: NotificationPosition): void;
3761
+ /**
3762
+ * Create new Error notification
3763
+ * @param title notification title
3764
+ * @param message notification message
3765
+ * @param dismissible notification dismissible
3766
+ * @param duration notification duration (milliseconds)
3767
+ * @param position notification position
3768
+ */
3769
+ error(title: string, message?: string, dismissible?: boolean, duration?: number, position?: NotificationPosition): void;
3770
+ /**
3771
+ * Create new Warning notification
3772
+ * @param title notification title
3773
+ * @param message notification message
3774
+ * @param dismissible notification dismissible
3775
+ * @param duration notification duration (milliseconds)
3776
+ * @param position notification position
3777
+ */
3778
+ warning(title: string, message?: string, dismissible?: boolean, duration?: number, position?: NotificationPosition): void;
3779
+ /**
3780
+ * Create new Info notification
3781
+ * @param title notification title
3782
+ * @param message notification message
3783
+ * @param dismissible notification dismissible
3784
+ * @param duration notification duration (milliseconds)
3785
+ * @param position notification position
3786
+ */
3787
+ info(title: string, message?: string, dismissible?: boolean, duration?: number, position?: NotificationPosition): void;
3788
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItNotificationService, never>;
3789
+ static ɵprov: i0.ɵɵInjectableDeclaration<ItNotificationService>;
3790
+ }
3791
+
3792
+ declare class ItDateUtils {
3793
+ /**
3794
+ * Add seconds to date
3795
+ * @param date the date
3796
+ * @param seconds seconds to add
3797
+ */
3798
+ static addSeconds(date: Date, seconds: number): Date;
3799
+ /**
3800
+ * Add minutes to date
3801
+ * @param date the date
3802
+ * @param minutes minutes to add
3803
+ */
3804
+ static addMinutes(date: Date, minutes: number): Date;
3805
+ /**
3806
+ * Add hours to date
3807
+ * @param date the date
3808
+ * @param hours hours to add
3809
+ */
3810
+ static addHours(date: Date, hours: number): Date;
3811
+ /**
3812
+ * Add days to date
3813
+ * @param date the date
3814
+ * @param days days to add
3815
+ */
3816
+ static addDays(date: Date, days: number): Date;
3817
+ /**
3818
+ * Add years to date
3819
+ * @param date the date
3820
+ * @param months months to add
3821
+ */
3822
+ static addMonths(date: Date, months: number): Date;
3823
+ /**
3824
+ * Add years to date
3825
+ * @param date the date
3826
+ * @param years years to add
3827
+ */
3828
+ static addYears(date: Date, years: number): Date;
3829
+ /**
3830
+ * Calculate number of days between two date
3831
+ * @param startDate
3832
+ * @param endDate
3833
+ * @param absolute return unsigned result
3834
+ */
3835
+ static countDays(startDate: Date, endDate: Date, absolute?: boolean): number;
3836
+ /**
3837
+ * Check if string is a date with iso format
3838
+ * @param value the string
3839
+ */
3840
+ static isIsoString(value: string | null): boolean;
3841
+ /**
3842
+ * Convert iso string to Date
3843
+ * @param isoString the iso string
3844
+ */
3845
+ static isoStringToDate(isoString: string | null): Date | null;
3846
+ /**
3847
+ * Remove time from an iso date string
3848
+ * @param isoString the iso string
3849
+ */
3850
+ static isoStringRemoveTime(isoString: string): string;
3851
+ /**
3852
+ * Set iso string hours to 0 and format correctly the date (consider timezone offset)
3853
+ * @example '2024-03-04T23:00:00.000Z' -> '2024-03-05T00:00:00.000Z'
3854
+ * @param isoString the iso string
3855
+ */
3856
+ static isoStringSetZeroTime(isoString: string): string;
3857
+ /**
3858
+ * Calculate the date time left and return the string format [d h m s]
3859
+ * @param endDate
3860
+ */
3861
+ static timeLeftString(endDate: Date): Observable<string>;
3862
+ /**
3863
+ * Calculate the next day of week
3864
+ * @param dayOfWeek Day of week 0=Sunday, 1=Monday...4=Thursday...
3865
+ * @param hour the specif hour
3866
+ * @param minute the specific minute
3867
+ */
3868
+ static nextWeekDayAndTime(dayOfWeek: number, hour?: number, minute?: number): Date;
3869
+ }
3870
+
3871
+ declare class ItFileUtils {
3872
+ /**
3873
+ * Return the file size string
3874
+ * @param file the file
3875
+ * @param decimals decimal to show
3876
+ */
3877
+ static getFileSizeString(file: File, decimals?: number): string;
3878
+ /**
3879
+ * Convert a file to base64 string
3880
+ * @param file the base64 string
3881
+ */
3882
+ static fileToBase64(file: File): Observable<string>;
3883
+ /**
3884
+ * Convert base64 to Blob
3885
+ * @param base64 the base64 string
3886
+ * @param mimeType the <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types">MIME type</a> (example 'application/pdf')
3887
+ */
3888
+ static base64ToBlob(base64: string, mimeType: string): Blob;
3889
+ /**
3890
+ * Convert base64 to File
3891
+ * @param base64 the base64 string
3892
+ * @param mimeType the <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types">MIME type</a> (example 'application/pdf')
3893
+ * @param filename the file name
3894
+ */
3895
+ static base64ToFile(base64: string, mimeType: string, filename: string): File;
3896
+ /**
3897
+ * Extract the MIME type from base64 string
3898
+ * @param base64 the base64 string
3899
+ */
3900
+ static getMimeTypeFromBase64(base64: string): string | undefined;
3901
+ }
3902
+
3903
+ /**
3904
+ * General Email Regex (RFC 5322 Official Standard)
3905
+ * http://emailregex.com/
3906
+ */
3907
+ declare const EMAIL_REGEX: RegExp;
3908
+ /**
3909
+ * Phone number Regex
3910
+ */
3911
+ declare const PHONE_NUMBER_REGEX: RegExp;
3912
+ /**
3913
+ * URL Regex
3914
+ */
3915
+ declare const URL_REGEX: RegExp;
3916
+ /**
3917
+ * The italian tax code Regex (Codice Fiscale)
3918
+ */
3919
+ declare const ITALIAN_TAX_CODE_REGEX: RegExp;
3920
+ /**
3921
+ * The VAT number Regex (Partita iva)
3922
+ */
3923
+ declare const VAT_NUMBER_REGEX: RegExp;
3924
+ /**
3925
+ * Italian CAP Regex
3926
+ */
3927
+ declare const CAP_REGEX: RegExp;
3928
+ /**
3929
+ * Italian Plate Regex
3930
+ */
3931
+ declare const PLATE_REGEX: RegExp;
3932
+ /**
3933
+ * IBAN Regex
3934
+ * https://blog.marketto.it/en/2018/06/validate-any-country-iban/
3935
+ */
3936
+ declare const IBAN_REGEX: RegExp;
3937
+
3938
+ declare class ItValidators {
3939
+ static SpecialCharacterPattern: string;
3940
+ /**
3941
+ * Static pattern validator with custom error
3942
+ * @param regex
3943
+ * @param error
3944
+ */
3945
+ static customPattern(regex: RegExp, error: ValidationErrors): ValidatorFn;
3946
+ /**
3947
+ * Set Validator if the condition is satisfied
3948
+ * @param validator the validator to apply if the condition is true
3949
+ * @param condition the condition
3950
+ */
3951
+ static conditional(validator: ValidatorFn, condition: (control: AbstractControl) => boolean): ValidatorFn;
3952
+ /**
3953
+ * Check whether our password and confirm password are a match
3954
+ * @param control
3955
+ * @param passwordControlName the password formControlName
3956
+ * @param confirmControlName the confirmPassword formControlName
3957
+ */
3958
+ static passwordMatch(control: AbstractControl, passwordControlName?: string, confirmControlName?: string): AbstractControl | null;
3959
+ /**
3960
+ * Password validator
3961
+ * @param minLength minimum password length - default 10
3962
+ * @param hasNumber check whether the entered password has a number - default true
3963
+ * @param hasCapitalCase check whether the entered password has upper case letter - default true
3964
+ * @param hasSmallCase check whether the entered password has a lower-case letter - default true
3965
+ * @param hasSpecialCharacters check whether the entered password has a special character - default true
3966
+ * @param required the field is required - default true
3967
+ */
3968
+ static password(minLength?: number, hasNumber?: boolean, hasCapitalCase?: boolean, hasSmallCase?: boolean, hasSpecialCharacters?: boolean, required?: boolean): ValidatorFn;
3969
+ /**
3970
+ * Email validator
3971
+ */
3972
+ static get email(): ValidatorFn;
3973
+ /**
3974
+ * Phone number validator
3975
+ */
3976
+ static get tel(): ValidatorFn;
3977
+ static includes(possibleValues: string[]): ValidatorFn;
3978
+ /**
3979
+ * URL validator
3980
+ */
3981
+ static get url(): ValidatorFn;
3982
+ /**
3983
+ * Italian Tax Code validator
3984
+ */
3985
+ static get taxCode(): ValidatorFn;
3986
+ /**
3987
+ * VAT Number validator
3988
+ */
3989
+ static get vatNumber(): ValidatorFn;
3990
+ /**
3991
+ * Italian Postal Code validator (CAP)
3992
+ */
3993
+ static get cap(): ValidatorFn;
3994
+ /**
3995
+ * IBAN validator
3996
+ */
3997
+ static get iban(): ValidatorFn;
3998
+ /**
3999
+ * Italian plate validator
4000
+ */
4001
+ static get plate(): ValidatorFn;
4002
+ /**
4003
+ * Check if value is a valid RegExp
4004
+ */
4005
+ static get regExp(): ValidatorFn;
4006
+ }
4007
+
4008
+ export { CAP_REGEX, DesignAngularKitModule, EMAIL_REGEX, IBAN_REGEX, ITALIAN_TAX_CODE_REGEX, IT_ASSET_BASE_PATH, IT_SORT_DEFAULT_OPTIONS, IconNameArray, ItAccordionComponent, ItAlertComponent, ItAutocompleteComponent, ItAvatarDirective, ItAvatarDropdownComponent, ItAvatarDropdownItemComponent, ItAvatarExtraTextDirective, ItAvatarGroupComponent, ItAvatarGroupItemComponent, ItAvatarListItemDirective, ItAvatarModule, ItAvatarPresenceDirective, ItAvatarStatusDirective, ItAvatarWrapperDirective, ItBackButtonComponent, ItBackToTopComponent, ItBadgeDirective, ItBreadcrumbComponent, ItBreadcrumbItemComponent, ItBreadcrumbsModule, ItButtonDirective, ItCalloutComponent, ItCardComponent, ItCarouselComponent, ItCarouselItemComponent, ItCarouselModule, ItCheckboxComponent, ItChipComponent, ItCollapseComponent, ItDateAgoPipe, ItDateUtils, ItDimmerButtonsComponent, ItDimmerComponent, ItDimmerIconComponent, ItDimmerModule, ItDropdownComponent, ItDropdownItemComponent, ItDropdownModule, ItDurationPipe, ItErrorPageComponent, ItFileUtils, ItFooterComponent, ItFormModule, ItForwardDirective, ItHeaderComponent, ItIconComponent, ItInputComponent, ItLanguageSwitcherComponent, ItLinkComponent, ItListComponent, ItListItemComponent, ItListModule, ItMarkMatchingTextPipe, ItMegamenuComponent, ItModalComponent, ItNavBarComponent, ItNavBarItemComponent, ItNavBarModule, ItNavscrollComponent, ItNotificationService, ItNotificationsComponent, ItPaginationComponent, ItPasswordInputComponent, ItPopoverDirective, ItProgressBarComponent, ItProgressButtonComponent, ItRadioButtonComponent, ItRangeComponent, ItRatingComponent, ItSearchComponent, ItSelectComponent, ItSidebarComponent, ItSkiplinkComponent, ItSkiplinkItemComponent, ItSkiplinkModule, ItSortDirective, ItSortHeaderComponent, ItSpinnerComponent, ItSteppersContainerComponent, ItSteppersItemComponent, ItSteppersModule, ItTabContainerComponent, ItTabItemComponent, ItTabModule, ItTableComponent, ItTableModule, ItTextareaComponent, ItTimelineComponent, ItTimelineItemComponent, ItTimelineModule, ItTooltipDirective, ItTransferComponent, ItUploadDragDropComponent, ItUploadFileListComponent, ItValidators, ItVideoPlayerComponent, ItVideoPlayerModule, NotificationPosition, NotificationType, PHONE_NUMBER_REGEX, PLATE_REGEX, URL_REGEX, VAT_NUMBER_REGEX, provideDesignAngularKit };
4009
+ export type { AlertColor, AvailableLanguage, BadgeColor, ButtonColor, ButtonSize, ButtonType, CalloutAppearance, CalloutColor, Caption, CarouselType, Chapter, ChipColor, DesignAngularKitConfig, DimmerColor, DropdownDirection, ElementPlacement, IconColor, IconName, IconSize, InputControlType, ItDurationPipeType, ItEmbedVideoPlayerOptions, ItNativeVideoPlayerOptions, ItSortDefaultOptions, ItSortEvent, ItSortable, ItVideoPlayerConfig, ItVideoPlayerOptions, NavscrollItem, NavscrollItemActive, NavscrollItems, Notification, ProgressBarColor, SearchItem, SelectControlGroup, SelectControlOption, SortDirection, SortHeaderArrowPosition, Source, SourceType, TableColor, TableHeadColor, TableResponsive, TimelineElement, TimelinePINType, TransferItem, TransferItemSelection, UploadFileListItem, VerticalAlignment };