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
@@ -1,65 +0,0 @@
1
- import { AfterViewInit, ChangeDetectorRef, OnDestroy, QueryList } from '@angular/core';
2
- import { CarouselType } from '../../../../interfaces/core';
3
- import { ItCarouselItemComponent } from '../carousel-item/carousel-item.component';
4
- import * as i0 from "@angular/core";
5
- import * as i1 from "../../../../utils/coercion";
6
- /**
7
- * Carousel
8
- * @description A presentation component for scrolling through elements, images or text slides.
9
- */
10
- export declare class ItCarouselComponent implements AfterViewInit, OnDestroy {
11
- private readonly _changeDetectorRef;
12
- /**
13
- * The callout title
14
- * @default undefined
15
- */
16
- title: string | undefined;
17
- /**
18
- * The carousel type
19
- * @default default
20
- */
21
- type: CarouselType;
22
- /**
23
- * Custom class in splide__track element
24
- * @default ''
25
- */
26
- trackClass: string;
27
- /**
28
- * True for full screen (landscape) viewing
29
- * @default false
30
- */
31
- fullCarousel?: boolean;
32
- /**
33
- * To indicate that the contained image is of a large type
34
- * @default false
35
- */
36
- bigImg?: boolean;
37
- /**
38
- * To indicate that the contained image is of a standard type
39
- * @default false
40
- */
41
- standardImage?: boolean;
42
- /**
43
- * Card line style
44
- * @default false
45
- */
46
- lined?: boolean;
47
- protected items?: QueryList<ItCarouselItemComponent>;
48
- private carousel?;
49
- private carouselDiv;
50
- private itemSubscriptions?;
51
- protected get typeClass(): string;
52
- constructor(_changeDetectorRef: ChangeDetectorRef);
53
- ngAfterViewInit(): void;
54
- ngOnDestroy(): void;
55
- /**
56
- * Removes Carousel features
57
- */
58
- dispose(): void;
59
- static ɵfac: i0.ɵɵFactoryDeclaration<ItCarouselComponent, never>;
60
- 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>;
61
- static ngAcceptInputType_fullCarousel: i1.BooleanInput;
62
- static ngAcceptInputType_bigImg: i1.BooleanInput;
63
- static ngAcceptInputType_standardImage: i1.BooleanInput;
64
- static ngAcceptInputType_lined: i1.BooleanInput;
65
- }
@@ -1,15 +0,0 @@
1
- import { TemplateRef } from '@angular/core';
2
- import { ItAbstractComponent } from '../../../../abstracts/abstract.component';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * Carousel Item
6
- * @description element, image or text slide of carousel
7
- */
8
- export declare class ItCarouselItemComponent extends ItAbstractComponent {
9
- /**
10
- * The content of item
11
- */
12
- htmlContent: TemplateRef<any>;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<ItCarouselItemComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<ItCarouselItemComponent, "it-carousel-item", never, {}, {}, never, ["*"], true, never>;
15
- }
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./carousel/carousel.component";
3
- import * as i2 from "./carousel-item/carousel-item.component";
4
- export declare class ItCarouselModule {
5
- static ɵfac: i0.ɵɵFactoryDeclaration<ItCarouselModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<ItCarouselModule, never, [typeof i1.ItCarouselComponent, typeof i2.ItCarouselItemComponent], [typeof i1.ItCarouselComponent, typeof i2.ItCarouselItemComponent]>;
7
- static ɵinj: i0.ɵɵInjectorDeclaration<ItCarouselModule>;
8
- }
@@ -1,76 +0,0 @@
1
- import { EventEmitter } from '@angular/core';
2
- import { IconName } from '../../../interfaces/icon';
3
- import { ChipColor } from '../../../interfaces/core';
4
- import * as i0 from "@angular/core";
5
- export declare class ItChipComponent {
6
- /**
7
- * Indica la label
8
- */
9
- set label(value: string);
10
- get label(): string;
11
- private _label;
12
- /**
13
- * Indica se mostrate il pulante di chisura
14
- */
15
- set showCloseButton(value: boolean);
16
- get showCloseButton(): boolean;
17
- private _showCloseButton;
18
- /**
19
- * Indica il size
20
- */
21
- set size(value: '' | 'lg');
22
- get size(): '' | 'lg';
23
- private _size;
24
- /**
25
- * Indica il colore della chip
26
- */
27
- set color(value: ChipColor | undefined);
28
- get color(): ChipColor | undefined;
29
- private _color;
30
- /**
31
- * Indica se la chip è disabilitata
32
- */
33
- set disabled(value: boolean);
34
- get disabled(): boolean;
35
- private _disabled;
36
- /**
37
- * Indica il nome dell'icona, se valorizzata viene mostrata
38
- */
39
- set icon(value: IconName | undefined);
40
- get icon(): IconName | undefined;
41
- private _icon;
42
- /**
43
- * Indica l'url dell'avatar, se valorizzata viene mostrata
44
- */
45
- set avatar(value: string | undefined);
46
- get avatar(): string | undefined;
47
- private _avatar;
48
- /**
49
- * Indica il valore da aggiungere al parametro alt, di default ''
50
- */
51
- set altAvatar(value: string);
52
- get altAvatar(): string;
53
- private _altAvatar;
54
- /**
55
- * Evento emesso al click sul bottone di chiusura
56
- */
57
- closeEvent: EventEmitter<any>;
58
- /**
59
- * Return the icon href
60
- */
61
- protected get iconHref(): string;
62
- private iconClose;
63
- /**
64
- * Return the close icon href
65
- */
66
- protected get iconCloseHref(): string;
67
- /**
68
- * The bootstrap-italia asset folder path
69
- * @default ./bootstrap-italia
70
- */
71
- protected assetBasePath: string;
72
- constructor();
73
- clickToClose(): void;
74
- static ɵfac: i0.ɵɵFactoryDeclaration<ItChipComponent, never>;
75
- 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>;
76
- }
@@ -1,67 +0,0 @@
1
- import { AfterViewInit, ElementRef, EventEmitter } from '@angular/core';
2
- import { ItAbstractComponent } from '../../../abstracts/abstract.component';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "../../../utils/coercion";
5
- export declare class ItCollapseComponent extends ItAbstractComponent implements AfterViewInit {
6
- /**
7
- * Enable multiple collapse
8
- * @default false
9
- */
10
- multi?: boolean;
11
- /**
12
- * Toggles the collapsible element on invocation
13
- * @default false
14
- */
15
- opened?: boolean;
16
- /**
17
- * Custom class
18
- */
19
- class: string;
20
- /**
21
- * This event fires immediately when the show method is called.
22
- */
23
- showEvent: EventEmitter<Event>;
24
- /**
25
- * This event is triggered when the tooltip has been made visible to the user (it will wait for the CSS transitions to complete).
26
- */
27
- shownEvent: EventEmitter<Event>;
28
- /**
29
- * This event fires immediately when the hide method is called.
30
- */
31
- hideEvent: EventEmitter<Event>;
32
- /**
33
- * This event is raised when the tooltip has finished being hidden from the user (it will wait for the CSS transitions to complete).
34
- */
35
- hiddenEvent: EventEmitter<Event>;
36
- private collapse?;
37
- private open;
38
- protected collapseDiv?: ElementRef<HTMLDivElement>;
39
- ngAfterViewInit(): void;
40
- /**
41
- * Shows if collapse is open or not
42
- */
43
- isOpen(): boolean;
44
- /**
45
- * Shows a resealable item
46
- * NOTE: Returns to the caller before the collapsable element has actually been shown (onShown event).
47
- */
48
- show(): void;
49
- /**
50
- * Hides a resealable item
51
- * NOTE: Returns to the caller before the collapsable element has actually been hidden (onHidden Event)
52
- */
53
- hide(): void;
54
- /**
55
- * Toggle a collapsible item to show or hide it.
56
- * NOTE: Returns to the caller before the collapsable element has actually been shown or hidden (onShown and onHidden events)
57
- */
58
- toggle(): void;
59
- /**
60
- * Eliminates the possibility of an item being resealable
61
- */
62
- dispose(): void;
63
- static ɵfac: i0.ɵɵFactoryDeclaration<ItCollapseComponent, never>;
64
- static ɵcmp: i0.ɵɵComponentDeclaration<ItCollapseComponent, "it-collapse", ["itCollapse"], { "multi": { "alias": "multi"; "required": false; }; "opened": { "alias": "opened"; "required": false; }; "class": { "alias": "class"; "required": false; }; }, { "showEvent": "showEvent"; "shownEvent": "shownEvent"; "hideEvent": "hideEvent"; "hiddenEvent": "hiddenEvent"; }, never, ["*"], true, never>;
65
- static ngAcceptInputType_multi: i1.BooleanInput;
66
- static ngAcceptInputType_opened: i1.BooleanInput;
67
- }
@@ -1,12 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class ItDimmerButtonsComponent {
3
- /**
4
- * Indica se abbiamo 1 solo bottone
5
- * @default false
6
- */
7
- set hasOneButton(value: boolean);
8
- get hasOneButton(): boolean;
9
- private _hasOneButton;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<ItDimmerButtonsComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<ItDimmerButtonsComponent, "it-dimmer-buttons", never, { "hasOneButton": { "alias": "hasOneButton"; "required": false; }; }, {}, never, ["*"], true, never>;
12
- }
@@ -1,5 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class ItDimmerIconComponent {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<ItDimmerIconComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<ItDimmerIconComponent, "it-dimmer-icon", never, {}, {}, never, ["*"], true, never>;
5
- }
@@ -1,24 +0,0 @@
1
- import { ElementRef, OnInit } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export type DimmerColor = '' | 'dimmer-primary';
4
- export declare class ItDimmerComponent implements OnInit {
5
- private elementRef;
6
- /**
7
- * Dimmer status
8
- * @default false
9
- */
10
- set active(value: boolean);
11
- get active(): boolean;
12
- private _active;
13
- /**
14
- * Colore del dimmer
15
- * @default ''
16
- */
17
- set color(value: DimmerColor);
18
- get color(): DimmerColor;
19
- private _color;
20
- constructor(elementRef: ElementRef);
21
- ngOnInit(): void;
22
- static ɵfac: i0.ɵɵFactoryDeclaration<ItDimmerComponent, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<ItDimmerComponent, "it-dimmer", never, { "active": { "alias": "active"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, ["*"], true, never>;
24
- }
@@ -1,9 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./dimmer.component";
3
- import * as i2 from "./dimmer-icon/dimmer-icon.component";
4
- import * as i3 from "./dimmer-buttons/dimmer-buttons.component";
5
- export declare class ItDimmerModule {
6
- static ɵfac: i0.ɵɵFactoryDeclaration<ItDimmerModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<ItDimmerModule, never, [typeof i1.ItDimmerComponent, typeof i2.ItDimmerIconComponent, typeof i3.ItDimmerButtonsComponent], [typeof i1.ItDimmerComponent, typeof i2.ItDimmerIconComponent, typeof i3.ItDimmerButtonsComponent]>;
8
- static ɵinj: i0.ɵɵInjectorDeclaration<ItDimmerModule>;
9
- }
@@ -1,94 +0,0 @@
1
- import { AfterViewInit, EventEmitter, OnChanges, QueryList, SimpleChanges } from '@angular/core';
2
- import { ItAbstractComponent } from '../../../../abstracts/abstract.component';
3
- import { ButtonColor, DropdownDirection } from '../../../../interfaces/core';
4
- import { ItDropdownItemComponent } from '../dropdown-item/dropdown-item.component';
5
- import * as i0 from "@angular/core";
6
- import * as i1 from "../../../../utils/coercion";
7
- export declare class ItDropdownComponent extends ItAbstractComponent implements AfterViewInit, OnChanges {
8
- /**
9
- * Dropdown mode
10
- */
11
- mode: 'button' | 'link' | 'nav';
12
- /**
13
- * Button color
14
- */
15
- color?: ButtonColor;
16
- /**
17
- * To open menu items to:
18
- * - <strong>dropup</strong>: up
19
- * - <strong>dropend</strong>: right
20
- * - <strong>dropstart</strong>: left
21
- */
22
- direction: DropdownDirection | undefined;
23
- /**
24
- * To get a dropdown menu as wide as the element containing the dropdown button
25
- * @default false
26
- */
27
- fullWidth?: boolean;
28
- /**
29
- * Contains a Megamenu element
30
- * @default false
31
- */
32
- megamenu?: boolean;
33
- /**
34
- * Dark menu style
35
- * @default false
36
- */
37
- dark?: boolean;
38
- /**
39
- * The dropdown items
40
- */
41
- items?: QueryList<ItDropdownItemComponent>;
42
- /**
43
- * Fires immediately when the show instance method is called.
44
- */
45
- showEvent: EventEmitter<Event>;
46
- /**
47
- * Fired when the dropdown has been made visible to the user and CSS transitions have completed.
48
- */
49
- shownEvent: EventEmitter<Event>;
50
- /**
51
- * Fires immediately when the hide instance method has been called.
52
- */
53
- hideEvent: EventEmitter<Event>;
54
- /**
55
- * Fired when the dropdown has finished being hidden from the user and CSS transitions have completed.
56
- */
57
- hiddenEvent: EventEmitter<Event>;
58
- private dropdown?;
59
- private dropdownButton?;
60
- get buttonClass(): string;
61
- ngOnChanges(changes: SimpleChanges): void;
62
- ngAfterViewInit(): void;
63
- /**
64
- * Set child items dark mode
65
- * @private
66
- */
67
- private setDarkItems;
68
- private updateListeners;
69
- /**
70
- * Toggles the dropdown menu of a given navbar or tabbed navigation.
71
- */
72
- toggle(): void;
73
- /**
74
- * Shows the dropdown menu of a given navbar or tabbed navigation.
75
- */
76
- show(): void;
77
- /**
78
- * Hides the dropdown menu of a given navbar or tabbed navigation.
79
- */
80
- hide(): void;
81
- /**
82
- * Updates the position of an element's dropdown.
83
- */
84
- update(): void;
85
- /**
86
- * Destroys an element's dropdown. (Removes stored data on the DOM element)
87
- */
88
- dispose(): void;
89
- static ɵfac: i0.ɵɵFactoryDeclaration<ItDropdownComponent, never>;
90
- 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>;
91
- static ngAcceptInputType_fullWidth: i1.BooleanInput;
92
- static ngAcceptInputType_megamenu: i1.BooleanInput;
93
- static ngAcceptInputType_dark: i1.BooleanInput;
94
- }
@@ -1,46 +0,0 @@
1
- import { IconName } from '../../../../interfaces/icon';
2
- import { ItLinkComponent } from '../../link/link.component';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "../../../../utils/coercion";
5
- export declare class ItDropdownItemComponent extends ItLinkComponent {
6
- /**
7
- * Show divider
8
- * @default false
9
- */
10
- divider?: boolean;
11
- /**
12
- * Active item
13
- * @default false
14
- */
15
- active?: boolean;
16
- /**
17
- * To increase the size of links
18
- * @default false
19
- */
20
- large?: boolean;
21
- /**
22
- * The name of icon to show
23
- */
24
- iconName: IconName | undefined;
25
- /**
26
- * The icon position
27
- * @default right
28
- */
29
- iconPosition: 'left' | 'right';
30
- /**
31
- * Dropdown mode
32
- */
33
- mode?: 'button' | 'link' | 'nav';
34
- /**
35
- * Change icon color if menu is dark
36
- * @default false
37
- */
38
- isDark: boolean;
39
- get linkClass(): string;
40
- setDark(dark: boolean): void;
41
- static ɵfac: i0.ɵɵFactoryDeclaration<ItDropdownItemComponent, never>;
42
- 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>;
43
- static ngAcceptInputType_divider: i1.BooleanInput;
44
- static ngAcceptInputType_active: i1.BooleanInput;
45
- static ngAcceptInputType_large: i1.BooleanInput;
46
- }
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./dropdown/dropdown.component";
3
- import * as i2 from "./dropdown-item/dropdown-item.component";
4
- export declare class ItDropdownModule {
5
- static ɵfac: i0.ɵɵFactoryDeclaration<ItDropdownModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<ItDropdownModule, never, [typeof i1.ItDropdownComponent, typeof i2.ItDropdownItemComponent], [typeof i1.ItDropdownComponent, typeof i2.ItDropdownItemComponent]>;
7
- static ɵinj: i0.ɵɵInjectorDeclaration<ItDropdownModule>;
8
- }
@@ -1,14 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class ItForwardDirective {
3
- private document?;
4
- /**
5
- * Indica, se HTMLElement, l'elemento a cui navigare, o se stringa, il selettore che selezionerà l'elemento a cui navigare.
6
- */
7
- set itForward(value: HTMLElement | string | undefined);
8
- get itForward(): HTMLElement | string | undefined;
9
- private _itForward;
10
- constructor(document?: Document | undefined);
11
- onClick(event: any): void;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<ItForwardDirective, never>;
13
- static ɵdir: i0.ɵɵDirectiveDeclaration<ItForwardDirective, "[itForward]", never, { "itForward": { "alias": "itForward"; "required": false; }; }, {}, never, never, true, never>;
14
- }
@@ -1,35 +0,0 @@
1
- import { AfterViewInit, OnChanges, SimpleChanges } from '@angular/core';
2
- import { ItAbstractComponent } from '../../../abstracts/abstract.component';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "../../../utils/coercion";
5
- export declare class ItLinkComponent extends ItAbstractComponent implements AfterViewInit, OnChanges {
6
- /**
7
- * The router link action
8
- *
9
- * Commands to pass to Router#createUrlTree.
10
- * - array: commands to pass to Router#createUrlTree.
11
- * - string: shorthand for array of commands with just the string, i.e. ['/route']
12
- * - null|undefined: Disables the link by removing the href
13
- */
14
- href: any[] | string | null | undefined;
15
- /**
16
- * Is an external link (false to not use Angular router link)
17
- * @default false
18
- */
19
- externalLink?: boolean;
20
- /**
21
- * Is disabled link
22
- * @default false
23
- */
24
- disabled?: boolean;
25
- /**
26
- * Custom class
27
- */
28
- class: string;
29
- ngAfterViewInit(): void;
30
- ngOnChanges(changes: SimpleChanges): void;
31
- static ɵfac: i0.ɵɵFactoryDeclaration<ItLinkComponent, never>;
32
- static ɵcmp: i0.ɵɵComponentDeclaration<ItLinkComponent, "it-link", never, { "href": { "alias": "href"; "required": false; }; "externalLink": { "alias": "externalLink"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "class": { "alias": "class"; "required": false; }; }, {}, never, ["*"], true, never>;
33
- static ngAcceptInputType_externalLink: i1.BooleanInput;
34
- static ngAcceptInputType_disabled: i1.BooleanInput;
35
- }
@@ -1,24 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "../../../../utils/coercion";
3
- export declare class ItListComponent {
4
- /**
5
- * Add 'link-list' class for navigation menu
6
- * @default false
7
- */
8
- linkList?: boolean;
9
- /**
10
- * Add 'link-sublist' class for navigation menu
11
- * @default false
12
- */
13
- linkSubList?: boolean;
14
- /**
15
- * Add 'multiline' class for wrapper
16
- * @default false
17
- */
18
- multiline?: boolean;
19
- static ɵfac: i0.ɵɵFactoryDeclaration<ItListComponent, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<ItListComponent, "it-list", never, { "linkList": { "alias": "linkList"; "required": false; }; "linkSubList": { "alias": "linkSubList"; "required": false; }; "multiline": { "alias": "multiline"; "required": false; }; }, {}, never, ["*"], true, never>;
21
- static ngAcceptInputType_linkList: i1.BooleanInput;
22
- static ngAcceptInputType_linkSubList: i1.BooleanInput;
23
- static ngAcceptInputType_multiline: i1.BooleanInput;
24
- }
@@ -1,44 +0,0 @@
1
- import { ElementRef } from '@angular/core';
2
- import { ItLinkComponent } from '../../link/link.component';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "../../../../utils/coercion";
5
- export declare class ItListItemComponent extends ItLinkComponent {
6
- private elRef;
7
- constructor(elRef: ElementRef);
8
- /**
9
- * Add active class
10
- * @default false
11
- */
12
- active?: boolean;
13
- /**
14
- * Add large class
15
- */
16
- size?: 'large' | 'medium';
17
- /**
18
- * Add icon-left class
19
- * @default false
20
- */
21
- iconLeft?: boolean;
22
- /**
23
- * Add icon-right class
24
- * @default false
25
- */
26
- iconRight?: boolean;
27
- private _avatar;
28
- /**
29
- * The avatar url
30
- * @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.
31
- */
32
- get avatar(): URL | undefined;
33
- set avatar(value: URL | undefined);
34
- /**
35
- * The thumb image url
36
- */
37
- image: URL | undefined;
38
- get itemClass(): string;
39
- static ɵfac: i0.ɵɵFactoryDeclaration<ItListItemComponent, never>;
40
- 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>;
41
- static ngAcceptInputType_active: i1.BooleanInput;
42
- static ngAcceptInputType_iconLeft: i1.BooleanInput;
43
- static ngAcceptInputType_iconRight: i1.BooleanInput;
44
- }
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./list/list.component";
3
- import * as i2 from "./list-item/list-item.component";
4
- export declare class ItListModule {
5
- static ɵfac: i0.ɵɵFactoryDeclaration<ItListModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<ItListModule, never, [typeof i1.ItListComponent, typeof i2.ItListItemComponent], [typeof i1.ItListComponent, typeof i2.ItListItemComponent]>;
7
- static ɵinj: i0.ɵɵInjectorDeclaration<ItListModule>;
8
- }