design-angular-kit 1.0.0-1 → 1.0.0-10
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.
- package/README.md +183 -24
- package/assets/i18n/en.json +93 -0
- package/assets/i18n/it.json +93 -0
- package/esm2020/lib/abstracts/abstract-form-component.mjs +174 -0
- package/esm2020/lib/abstracts/abstract.component.mjs +27 -0
- package/esm2020/lib/components/core/accordion/accordion.component.mjs +31 -0
- package/esm2020/lib/components/core/alert/alert.component.mjs +69 -0
- package/esm2020/lib/components/core/badge/badge.directive.mjs +34 -0
- package/esm2020/lib/components/core/button/button.directive.mjs +80 -0
- package/esm2020/lib/components/core/callout/callout.component.mjs +84 -0
- package/esm2020/lib/components/core/card/card.component.mjs +58 -0
- package/esm2020/lib/components/core/carousel/carousel/carousel.component.mjs +66 -0
- package/esm2020/lib/components/core/carousel/carousel-item/carousel-item.component.mjs +14 -0
- package/esm2020/lib/components/core/chip/chip.component.mjs +89 -0
- package/esm2020/lib/components/core/collapse/collapse.component.mjs +101 -0
- package/esm2020/lib/components/core/dimmer/dimmer-buttons/dimmer-buttons.component.mjs +24 -0
- package/esm2020/lib/components/core/dimmer/dimmer-icon/dimmer-icon.component.mjs +11 -0
- package/esm2020/lib/components/core/dimmer/dimmer.component.mjs +59 -0
- package/esm2020/lib/components/core/dropdown/dropdown/dropdown.component.mjs +130 -0
- package/esm2020/lib/components/core/dropdown/dropdown-item/dropdown-item.component.mjs +68 -0
- package/esm2020/lib/components/core/forward/forward.directive.mjs +51 -0
- package/esm2020/lib/components/core/link/link.component.mjs +40 -0
- package/esm2020/lib/components/core/list/list/list.component.mjs +13 -0
- package/esm2020/lib/components/core/list/list-item/list-item.component.mjs +36 -0
- package/esm2020/lib/components/core/modal/modal.component.mjs +98 -0
- package/esm2020/lib/components/core/notifications/notifications.component.mjs +110 -0
- package/esm2020/lib/components/core/pagination/pagination.component.mjs +51 -0
- package/esm2020/lib/components/core/popover/popover.directive.mjs +179 -0
- package/esm2020/lib/components/core/progress-bar/progress-bar.component.mjs +34 -0
- package/esm2020/lib/components/core/progress-button/progress-button.component.mjs +27 -0
- package/esm2020/lib/components/core/rating/rating.component.mjs +45 -0
- package/esm2020/lib/components/core/spinner/spinner.component.mjs +35 -0
- package/esm2020/lib/components/core/steppers/steppers-container/steppers-container.component.mjs +119 -0
- package/esm2020/lib/components/core/steppers/steppers-item/steppers-item.component.mjs +18 -0
- package/esm2020/lib/components/core/tab/tab-container/tab-container.component.mjs +59 -0
- package/esm2020/lib/components/core/tab/tab-item/tab-item.component.mjs +36 -0
- package/esm2020/lib/components/core/table/table.component.mjs +57 -0
- package/esm2020/lib/components/core/tooltip/tooltip.directive.mjs +143 -0
- package/esm2020/lib/components/form/checkbox/checkbox.component.mjs +40 -0
- package/esm2020/lib/components/form/input/input.component.mjs +222 -0
- package/esm2020/lib/components/form/password-input/password-input.component.mjs +112 -0
- package/esm2020/lib/components/form/radio-button/radio-button.component.mjs +53 -0
- package/esm2020/lib/components/form/select/select.component.mjs +62 -0
- package/esm2020/lib/components/form/textarea/textarea.component.mjs +46 -0
- package/esm2020/lib/components/form/upload-drag-drop/upload-drag-drop.component.mjs +137 -0
- package/esm2020/lib/components/form/upload-file-list/upload-file-list.component.mjs +104 -0
- package/esm2020/lib/components/navigation/back-button/back-button.component.mjs +69 -0
- package/esm2020/lib/components/navigation/back-to-top/back-to-top.component.mjs +74 -0
- package/esm2020/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.mjs +45 -0
- package/esm2020/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.mjs +23 -0
- package/esm2020/lib/components/navigation/header/header.component.mjs +63 -0
- package/esm2020/lib/components/utils/icon/icon.component.mjs +54 -0
- package/esm2020/lib/components/utils/language-switcher/language-switcher.component.mjs +39 -0
- package/esm2020/lib/components/utils/not-found-page/not-found-page.component.mjs +13 -0
- package/esm2020/lib/design-angular-kit.module.mjs +45 -131
- package/esm2020/lib/interfaces/core.mjs +16 -0
- package/esm2020/lib/interfaces/form.mjs +2 -0
- package/esm2020/lib/interfaces/icon.mjs +2 -0
- package/esm2020/lib/interfaces/utils.mjs +2 -0
- package/esm2020/lib/modules/components.module.mjs +261 -0
- package/esm2020/lib/pipes/mark-matching-text.pipe.mjs +36 -0
- package/esm2020/lib/services/notifications/notifications.service.mjs +120 -0
- package/esm2020/lib/utils/boolean-input.mjs +15 -0
- package/esm2020/lib/utils/file-utils.mjs +73 -0
- package/esm2020/lib/utils/regex.mjs +26 -0
- package/esm2020/lib/validators/it-validators.mjs +134 -0
- package/esm2020/public_api.mjs +67 -36
- package/fesm2015/design-angular-kit.mjs +3424 -2713
- package/fesm2015/design-angular-kit.mjs.map +1 -1
- package/fesm2020/design-angular-kit.mjs +3391 -2713
- package/fesm2020/design-angular-kit.mjs.map +1 -1
- package/lib/abstracts/abstract-form-component.d.ts +89 -0
- package/lib/abstracts/abstract.component.d.ts +20 -0
- package/lib/components/core/accordion/accordion.component.d.ts +12 -0
- package/lib/components/core/alert/alert.component.d.ts +39 -0
- package/lib/components/core/badge/badge.directive.d.ts +16 -0
- package/lib/components/core/button/button.directive.d.ts +36 -0
- package/lib/components/core/callout/callout.component.d.ts +47 -0
- package/lib/components/core/card/card.component.d.ts +41 -0
- package/lib/components/core/carousel/carousel/carousel.component.d.ts +46 -0
- package/lib/components/core/carousel/carousel-item/carousel-item.component.d.ts +10 -0
- package/lib/components/core/chip/chip.component.d.ts +62 -0
- package/lib/components/core/collapse/collapse.component.d.ts +60 -0
- package/lib/components/core/dimmer/dimmer-buttons/dimmer-buttons.component.d.ts +12 -0
- package/lib/components/core/dimmer/dimmer-icon/dimmer-icon.component.d.ts +5 -0
- package/lib/components/core/dimmer/dimmer.component.d.ts +24 -0
- package/lib/components/core/dropdown/dropdown/dropdown.component.d.ts +81 -0
- package/lib/components/core/dropdown/dropdown-item/dropdown-item.component.d.ts +39 -0
- package/lib/components/core/forward/forward.directive.d.ts +14 -0
- package/lib/components/core/link/link.component.d.ts +31 -0
- package/lib/components/core/list/list/list.component.d.ts +10 -0
- package/lib/components/core/list/list-item/list-item.component.d.ts +24 -0
- package/lib/components/core/modal/modal.component.d.ts +59 -0
- package/lib/components/core/notifications/notifications.component.d.ts +44 -0
- package/lib/components/core/pagination/pagination.component.d.ts +31 -0
- package/lib/components/core/popover/popover.directive.d.ts +98 -0
- package/lib/components/core/progress-bar/progress-bar.component.d.ts +28 -0
- package/lib/components/core/progress-button/progress-button.component.d.ts +22 -0
- package/lib/components/core/rating/rating.component.d.ts +20 -0
- package/lib/components/core/spinner/spinner.component.d.ts +21 -0
- package/lib/components/core/steppers/steppers-container/steppers-container.component.d.ts +102 -0
- package/lib/components/core/steppers/steppers-item/steppers-item.component.d.ts +19 -0
- package/lib/components/core/tab/tab-container/tab-container.component.d.ts +30 -0
- package/lib/components/core/tab/tab-item/tab-item.component.d.ts +34 -0
- package/lib/components/core/table/table.component.d.ts +54 -0
- package/lib/components/core/tooltip/tooltip.directive.d.ts +81 -0
- package/lib/components/form/checkbox/checkbox.component.d.ts +30 -0
- package/lib/components/form/input/input.component.d.ts +96 -0
- package/lib/components/form/password-input/password-input.component.d.ts +55 -0
- package/lib/components/form/radio-button/radio-button.component.d.ts +29 -0
- package/lib/components/form/select/select.component.d.ts +30 -0
- package/lib/components/form/textarea/textarea.component.d.ts +24 -0
- package/lib/components/form/upload-drag-drop/upload-drag-drop.component.d.ts +54 -0
- package/lib/components/form/upload-file-list/upload-file-list.component.d.ts +59 -0
- package/lib/components/navigation/back-button/back-button.component.d.ts +47 -0
- package/lib/components/navigation/back-to-top/back-to-top.component.d.ts +46 -0
- package/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.d.ts +30 -0
- package/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.d.ts +22 -0
- package/lib/components/navigation/header/header.component.d.ts +30 -0
- package/lib/components/utils/icon/icon.component.d.ts +40 -0
- package/lib/components/utils/language-switcher/language-switcher.component.d.ts +23 -0
- package/lib/components/utils/not-found-page/not-found-page.component.d.ts +5 -0
- package/lib/design-angular-kit.module.d.ts +7 -24
- package/lib/interfaces/core.d.ts +59 -0
- package/lib/interfaces/form.d.ts +67 -0
- package/lib/interfaces/icon.d.ts +3 -0
- package/lib/interfaces/utils.d.ts +10 -0
- package/lib/modules/components.module.d.ts +62 -0
- package/lib/services/notifications/notifications.service.d.ts +63 -0
- package/lib/utils/boolean-input.d.ts +11 -0
- package/lib/utils/file-utils.d.ts +32 -0
- package/lib/utils/regex.d.ts +25 -0
- package/lib/validators/it-validators.d.ts +58 -0
- package/package.json +22 -13
- package/public_api.d.ts +59 -35
- package/esm2020/lib/badge/badge.directive.mjs +0 -83
- package/esm2020/lib/breadcrumb/breadcrumb-item.component.mjs +0 -66
- package/esm2020/lib/breadcrumb/breadcrumb.component.mjs +0 -89
- package/esm2020/lib/button/button.directive.mjs +0 -185
- package/esm2020/lib/button/button.module.mjs +0 -18
- package/esm2020/lib/checkbox/checkbox.component.mjs +0 -138
- package/esm2020/lib/collapse/collapse-group.component.mjs +0 -57
- package/esm2020/lib/collapse/collapse-item.component.mjs +0 -79
- package/esm2020/lib/collapse/collapse.config.mjs +0 -12
- package/esm2020/lib/collapse/collapse.directive.mjs +0 -55
- package/esm2020/lib/collapse/collapse.module.mjs +0 -22
- package/esm2020/lib/dropdown/dropdown-divider.component.mjs +0 -11
- package/esm2020/lib/dropdown/dropdown-item.component.mjs +0 -97
- package/esm2020/lib/dropdown/dropdown.component.mjs +0 -143
- package/esm2020/lib/dropdown/dropdown.config.mjs +0 -12
- package/esm2020/lib/dropdown/dropdown.directive.mjs +0 -156
- package/esm2020/lib/dropdown/dropdown.module.mjs +0 -25
- package/esm2020/lib/enums/icons.enum.mjs +0 -27
- package/esm2020/lib/form-input/form-input-password.utils.mjs +0 -154
- package/esm2020/lib/form-input/form-input.component.mjs +0 -495
- package/esm2020/lib/form-input/it-prefix.directive.mjs +0 -13
- package/esm2020/lib/form-input/it-suffix.directive.mjs +0 -13
- package/esm2020/lib/form-input/it-text-prefix.directive.mjs +0 -13
- package/esm2020/lib/form-input/it-text-suffix.directive.mjs +0 -13
- package/esm2020/lib/form-input/mark-matching-text.pipe.mjs +0 -36
- package/esm2020/lib/icon/icon.component.mjs +0 -87
- package/esm2020/lib/icon/icon.module.mjs +0 -18
- package/esm2020/lib/models/Alignment.mjs +0 -15
- package/esm2020/lib/models/ButtonSize.mjs +0 -15
- package/esm2020/lib/models/InputType.mjs +0 -44
- package/esm2020/lib/models/ThemeColor.mjs +0 -30
- package/esm2020/lib/popover/popover.config.mjs +0 -17
- package/esm2020/lib/popover/popover.directive.mjs +0 -33
- package/esm2020/lib/popover/popover.module.mjs +0 -19
- package/esm2020/lib/progress-bar/progress-bar.component.mjs +0 -98
- package/esm2020/lib/radio/radio.component.mjs +0 -287
- package/esm2020/lib/radio/unique-selection-dispatcher.mjs +0 -55
- package/esm2020/lib/tabs/tab-group.component.mjs +0 -177
- package/esm2020/lib/tabs/tab.component.mjs +0 -73
- package/esm2020/lib/tabs/tabs.module.mjs +0 -20
- package/esm2020/lib/toggle/toggle.component.mjs +0 -86
- package/esm2020/lib/tooltip/tooltip.config.mjs +0 -17
- package/esm2020/lib/tooltip/tooltip.directive.mjs +0 -43
- package/esm2020/lib/tooltip/tooltip.module.mjs +0 -19
- package/esm2020/lib/util/focus-mouse.directive.mjs +0 -32
- package/esm2020/lib/util/util.mjs +0 -12
- package/esm2020/lib/util/utils.module.mjs +0 -16
- package/lib/badge/badge.directive.d.ts +0 -33
- package/lib/breadcrumb/breadcrumb-item.component.d.ts +0 -33
- package/lib/breadcrumb/breadcrumb.component.d.ts +0 -33
- package/lib/button/button.directive.d.ts +0 -72
- package/lib/button/button.module.d.ts +0 -8
- package/lib/checkbox/checkbox.component.d.ts +0 -61
- package/lib/collapse/collapse-group.component.d.ts +0 -16
- package/lib/collapse/collapse-item.component.d.ts +0 -46
- package/lib/collapse/collapse.config.d.ts +0 -6
- package/lib/collapse/collapse.directive.d.ts +0 -25
- package/lib/collapse/collapse.module.d.ts +0 -12
- package/lib/dropdown/dropdown-divider.component.d.ts +0 -5
- package/lib/dropdown/dropdown-item.component.d.ts +0 -56
- package/lib/dropdown/dropdown.component.d.ts +0 -65
- package/lib/dropdown/dropdown.config.d.ts +0 -6
- package/lib/dropdown/dropdown.directive.d.ts +0 -77
- package/lib/dropdown/dropdown.module.d.ts +0 -15
- package/lib/enums/icons.enum.d.ts +0 -23
- package/lib/form-input/form-input-password.utils.d.ts +0 -45
- package/lib/form-input/form-input.component.d.ts +0 -283
- package/lib/form-input/it-prefix.directive.d.ts +0 -5
- package/lib/form-input/it-suffix.directive.d.ts +0 -5
- package/lib/form-input/it-text-prefix.directive.d.ts +0 -5
- package/lib/form-input/it-text-suffix.directive.d.ts +0 -5
- package/lib/icon/icon.component.d.ts +0 -34
- package/lib/icon/icon.module.d.ts +0 -8
- package/lib/models/Alignment.d.ts +0 -12
- package/lib/models/ButtonSize.d.ts +0 -11
- package/lib/models/InputType.d.ts +0 -36
- package/lib/models/ThemeColor.d.ts +0 -21
- package/lib/popover/popover.config.d.ts +0 -11
- package/lib/popover/popover.directive.d.ts +0 -20
- package/lib/popover/popover.module.d.ts +0 -9
- package/lib/progress-bar/progress-bar.component.d.ts +0 -55
- package/lib/radio/radio.component.d.ts +0 -116
- package/lib/radio/unique-selection-dispatcher.d.ts +0 -36
- package/lib/tabs/tab-group.component.d.ts +0 -71
- package/lib/tabs/tab.component.d.ts +0 -44
- package/lib/tabs/tabs.module.d.ts +0 -10
- package/lib/toggle/toggle.component.d.ts +0 -46
- package/lib/tooltip/tooltip.config.d.ts +0 -11
- package/lib/tooltip/tooltip.directive.d.ts +0 -27
- package/lib/tooltip/tooltip.module.d.ts +0 -9
- package/lib/util/focus-mouse.directive.d.ts +0 -13
- package/lib/util/util.d.ts +0 -5
- package/lib/util/utils.module.d.ts +0 -7
- /package/lib/{form-input → pipes}/mark-matching-text.pipe.d.ts +0 -0
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
-
import { ItCollapseDirective } from './collapse.directive';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ItCollapseItemComponent {
|
|
5
|
-
readonly elementRef: ElementRef;
|
|
6
|
-
readonly directive: ItCollapseDirective;
|
|
7
|
-
id: string;
|
|
8
|
-
headingId: string;
|
|
9
|
-
/**
|
|
10
|
-
* Testo del bottone di apertura/chiusura del collapse item
|
|
11
|
-
*/
|
|
12
|
-
get header(): string;
|
|
13
|
-
set header(value: string);
|
|
14
|
-
private _header;
|
|
15
|
-
/**
|
|
16
|
-
* Evento da emettere quando il collapse sta per essere mostrato
|
|
17
|
-
*/
|
|
18
|
-
get showEvent(): EventEmitter<ItCollapseItemComponent>;
|
|
19
|
-
set showEvent(value: EventEmitter<ItCollapseItemComponent>);
|
|
20
|
-
private _showEvent;
|
|
21
|
-
/**
|
|
22
|
-
* Evento da emettere quando il collapse è mostrato
|
|
23
|
-
*/
|
|
24
|
-
get shownEvent(): EventEmitter<ItCollapseItemComponent>;
|
|
25
|
-
set shownEvent(value: EventEmitter<ItCollapseItemComponent>);
|
|
26
|
-
private _shownEvent;
|
|
27
|
-
/**
|
|
28
|
-
* Evento da emettere quando il collapse sta per essere nascosto
|
|
29
|
-
*/
|
|
30
|
-
get hideEvent(): EventEmitter<ItCollapseItemComponent>;
|
|
31
|
-
set hideEvent(value: EventEmitter<ItCollapseItemComponent>);
|
|
32
|
-
private _hideEvent;
|
|
33
|
-
/**
|
|
34
|
-
* Evento da emettere quando il collapse è nascosto
|
|
35
|
-
*/
|
|
36
|
-
get hiddenEvent(): EventEmitter<ItCollapseItemComponent>;
|
|
37
|
-
set hiddenEvent(value: EventEmitter<ItCollapseItemComponent>);
|
|
38
|
-
private _hiddenEvent;
|
|
39
|
-
show(): void;
|
|
40
|
-
hide(): void;
|
|
41
|
-
shown(): void;
|
|
42
|
-
hidden(): void;
|
|
43
|
-
constructor(elementRef: ElementRef);
|
|
44
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItCollapseItemComponent, never>;
|
|
45
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ItCollapseItemComponent, "it-collapse-item", never, { "header": "header"; }, { "showEvent": "show"; "shownEvent": "shown"; "hideEvent": "hide"; "hiddenEvent": "hidden"; }, never, ["*"], false>;
|
|
46
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { NgbCollapseConfig } from "@ng-bootstrap/ng-bootstrap";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ItCollapseConfig extends NgbCollapseConfig {
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItCollapseConfig, never>;
|
|
5
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ItCollapseConfig>;
|
|
6
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { ElementRef, NgZone, OnInit, OnChanges, SimpleChanges, ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
2
|
-
import { NgbCollapse } from '@ng-bootstrap/ng-bootstrap';
|
|
3
|
-
import { ItCollapseConfig } from './collapse.config';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* Per ottimizzare l’ingombro dei contenuti di una pagina si possono usare degli elementi richiudibili
|
|
7
|
-
* (in gergo definiti collassabili o collapse), che possono essere attivati indipendentemente l’uno dall’altro
|
|
8
|
-
*/
|
|
9
|
-
export declare class ItCollapseDirective extends NgbCollapse implements OnInit, OnChanges {
|
|
10
|
-
private _cd;
|
|
11
|
-
constructor(_cd: ChangeDetectorRef, _elementRef: ElementRef<HTMLElement>, _config: ItCollapseConfig, _ngZone: NgZone);
|
|
12
|
-
ngOnInit(): void;
|
|
13
|
-
ngOnChanges({ itCollapse }: SimpleChanges): void;
|
|
14
|
-
/**
|
|
15
|
-
* La direttiva di collapse che opzionalmente contiene il predicato che ne stabilisce
|
|
16
|
-
* che sarà avvalorato a true quando il collapse è espanso, a false altrimenti
|
|
17
|
-
*/
|
|
18
|
-
itCollapse: boolean;
|
|
19
|
-
itCollapseChange: EventEmitter<boolean>;
|
|
20
|
-
get isCollapsed(): boolean;
|
|
21
|
-
show(): void;
|
|
22
|
-
hide(): void;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItCollapseDirective, never>;
|
|
24
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ItCollapseDirective, "[itCollapse]", ["itCollapse"], { "itCollapse": "itCollapse"; }, { "itCollapseChange": "itCollapseChange"; }, never, never, false>;
|
|
25
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./collapse.directive";
|
|
3
|
-
import * as i2 from "./collapse-item.component";
|
|
4
|
-
import * as i3 from "./collapse-group.component";
|
|
5
|
-
import * as i4 from "@angular/common";
|
|
6
|
-
import * as i5 from "@ng-bootstrap/ng-bootstrap";
|
|
7
|
-
import * as i6 from "../util/utils.module";
|
|
8
|
-
export declare class ItCollapseModule {
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItCollapseModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ItCollapseModule, [typeof i1.ItCollapseDirective, typeof i2.ItCollapseItemComponent, typeof i3.ItCollapseGroupComponent], [typeof i4.CommonModule, typeof i5.NgbCollapseModule, typeof i6.ItUtilsModule], [typeof i1.ItCollapseDirective, typeof i2.ItCollapseItemComponent, typeof i3.ItCollapseGroupComponent]>;
|
|
11
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ItCollapseModule>;
|
|
12
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class DropdownDividerComponent {
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownDividerComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownDividerComponent, "it-dropdown-divider", never, {}, {}, never, never, false>;
|
|
5
|
-
}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { IconColorEnum } from '../enums/icons.enum';
|
|
2
|
-
import { HorizontalAlign } from '../models/Alignment';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* Componente usata per visualizzare una voce di menù all'interno di una dropdown
|
|
6
|
-
*/
|
|
7
|
-
export declare class DropdownItemComponent {
|
|
8
|
-
id: string;
|
|
9
|
-
/**
|
|
10
|
-
* Il link alla pagina verso cui andare al click sull'elemento del dropdown
|
|
11
|
-
*/
|
|
12
|
-
get link(): string;
|
|
13
|
-
set link(value: string);
|
|
14
|
-
private _link;
|
|
15
|
-
/**
|
|
16
|
-
* Se presente indica che l'elemento viene renderizzato come elemento attivo.
|
|
17
|
-
* Accetta una espressione booleana o può essere usato come attributo senza valore
|
|
18
|
-
*/
|
|
19
|
-
get active(): boolean;
|
|
20
|
-
set active(value: boolean);
|
|
21
|
-
private _active;
|
|
22
|
-
/**
|
|
23
|
-
* Se presente indica che l'elemento è disabilitato.
|
|
24
|
-
* Accetta una espressione booleana o può essere usato come attributo senza valore
|
|
25
|
-
*/
|
|
26
|
-
get disabled(): boolean;
|
|
27
|
-
set disabled(value: boolean);
|
|
28
|
-
private _disabled;
|
|
29
|
-
/**
|
|
30
|
-
* Se presente indica che il testo dell'elemento viene renderizzato più grande.
|
|
31
|
-
* Accetta una espressione booleana o può essere usato come attributo senza valore
|
|
32
|
-
*/
|
|
33
|
-
get large(): boolean;
|
|
34
|
-
set large(value: boolean);
|
|
35
|
-
private _large;
|
|
36
|
-
/**
|
|
37
|
-
* La classe dell'icona da usare prima o dopo del testo dell'elemento del dropdown
|
|
38
|
-
*/
|
|
39
|
-
get icon(): string;
|
|
40
|
-
set icon(value: string);
|
|
41
|
-
private _icon;
|
|
42
|
-
/**
|
|
43
|
-
* La posizione dell'icona rispetto al testo dell'elemento del dropdown.
|
|
44
|
-
* Può assumere valori right o left.
|
|
45
|
-
*/
|
|
46
|
-
get iconPosition(): HorizontalAlign;
|
|
47
|
-
set iconPosition(value: any);
|
|
48
|
-
private _iconPosition;
|
|
49
|
-
get iconColor(): IconColorEnum;
|
|
50
|
-
set iconColor(value: IconColorEnum);
|
|
51
|
-
private _iconColor;
|
|
52
|
-
get dropdownItemClass(): string;
|
|
53
|
-
get iconClass(): string;
|
|
54
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownItemComponent, never>;
|
|
55
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownItemComponent, "it-dropdown-item", never, { "link": "link"; "active": "active"; "disabled": "disabled"; "large": "large"; "icon": "icon"; "iconPosition": "iconPosition"; "iconColor": "iconColor"; }, {}, never, ["*"], false>;
|
|
56
|
-
}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, QueryList } from '@angular/core';
|
|
2
|
-
import { DropdownItemComponent } from './dropdown-item.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare type DropdownMenuPlacement = 'bottom-start' | 'top-start' | 'left-start' | 'right-start';
|
|
5
|
-
/**
|
|
6
|
-
* Componente usata per attivare o disattivare overlay contestuali per visualizzare elenchi di link e altro ancora con questi menù a tendina
|
|
7
|
-
*/
|
|
8
|
-
export declare class DropdownComponent {
|
|
9
|
-
id: string;
|
|
10
|
-
menuItems: QueryList<DropdownItemComponent>;
|
|
11
|
-
menuHeading: string;
|
|
12
|
-
expandIcon: string | null;
|
|
13
|
-
expandIconPosition: 'start' | 'end';
|
|
14
|
-
private _menuPlacement;
|
|
15
|
-
get menuPlacement(): DropdownMenuPlacement;
|
|
16
|
-
set menuPlacement(value: DropdownMenuPlacement);
|
|
17
|
-
/**
|
|
18
|
-
* Se presente indica che il dropdown utilizza il tema di colorazione scura.
|
|
19
|
-
* Accetta una espressione booleana o può essere usato come attributo senza valore
|
|
20
|
-
*/
|
|
21
|
-
get dark(): boolean;
|
|
22
|
-
set dark(value: boolean);
|
|
23
|
-
private _dark;
|
|
24
|
-
/**
|
|
25
|
-
* Se presente indica che le voci del dropdown si sviluppano orizzontalmente.
|
|
26
|
-
* Accetta una espressione booleana o può essere usato come attributo senza valore
|
|
27
|
-
*/
|
|
28
|
-
get fullWidth(): boolean;
|
|
29
|
-
set fullWidth(value: boolean);
|
|
30
|
-
private _fullWidth;
|
|
31
|
-
/**
|
|
32
|
-
* Il colore del pulsante che attiva il dropdown.
|
|
33
|
-
* Può assumere i valori primary, secondary, danger, warning, info, warning, success, light e dark
|
|
34
|
-
*/
|
|
35
|
-
get color(): any;
|
|
36
|
-
set color(value: any);
|
|
37
|
-
private _color;
|
|
38
|
-
/**
|
|
39
|
-
* Il testo presente sul pulsante che attiva il dropdown
|
|
40
|
-
*/
|
|
41
|
-
get label(): string;
|
|
42
|
-
set label(value: string);
|
|
43
|
-
private _label;
|
|
44
|
-
/**
|
|
45
|
-
* Evento che viene lanciato ogni volta che il dropdown viene aperto
|
|
46
|
-
*/
|
|
47
|
-
get onOpen(): EventEmitter<DropdownComponent>;
|
|
48
|
-
set onOpen(value: EventEmitter<DropdownComponent>);
|
|
49
|
-
private _onOpen;
|
|
50
|
-
/**
|
|
51
|
-
* Evento che viene lanciato ogni volta che il dropdown viene chiuso
|
|
52
|
-
*/
|
|
53
|
-
get onClose(): EventEmitter<DropdownComponent>;
|
|
54
|
-
set onClose(value: EventEmitter<DropdownComponent>);
|
|
55
|
-
private _onClose;
|
|
56
|
-
isOpen: boolean;
|
|
57
|
-
onOpenChange(isOpen: boolean): void;
|
|
58
|
-
autoUpdateMenuItemsIconColor: boolean;
|
|
59
|
-
private updateMenuItemsIconColor;
|
|
60
|
-
get isDropend(): boolean;
|
|
61
|
-
get isDropstart(): boolean;
|
|
62
|
-
get isDropup(): boolean;
|
|
63
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownComponent, never>;
|
|
64
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownComponent, "it-dropdown", never, { "menuHeading": "menuHeading"; "expandIcon": "expandIcon"; "expandIconPosition": "expandIconPosition"; "menuPlacement": "menuPlacement"; "dark": "dark"; "fullWidth": "fullWidth"; "color": "color"; "label": "label"; "autoUpdateMenuItemsIconColor": "autoUpdateMenuItemsIconColor"; }, { "onOpen": "onOpen"; "onClose": "onClose"; }, ["menuItems"], ["*"], false>;
|
|
65
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { NgbDropdownConfig } from "@ng-bootstrap/ng-bootstrap";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ItDropdownConfig extends NgbDropdownConfig {
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItDropdownConfig, never>;
|
|
5
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ItDropdownConfig>;
|
|
6
|
-
}
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, EventEmitter, NgZone, AfterContentInit, OnDestroy, QueryList, Renderer2, SimpleChanges, OnChanges } from '@angular/core';
|
|
2
|
-
import { NgbDropdown, NgbDropdownAnchor, NgbDropdownItem, NgbDropdownMenu, NgbDropdownToggle, NgbNavbar } from '@ng-bootstrap/ng-bootstrap';
|
|
3
|
-
import { ItDropdownConfig } from './dropdown.config';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class ItNavbar extends NgbNavbar {
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItNavbar, never>;
|
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ItNavbar, ".navbar", never, {}, {}, never, never, false>;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* A directive you should put on a dropdown item to enable keyboard navigation.
|
|
11
|
-
* Arrow keys will move focus between items marked with this directive.
|
|
12
|
-
*
|
|
13
|
-
* @since 4.1.0
|
|
14
|
-
*/
|
|
15
|
-
export declare class ItDropdownItem extends NgbDropdownItem {
|
|
16
|
-
constructor(elementRef: ElementRef<HTMLElement>, _renderer: Renderer2);
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItDropdownItem, never>;
|
|
18
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ItDropdownItem, "[itDropdownItem]", never, {}, {}, never, never, false>;
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* A directive that wraps dropdown menu content and dropdown items.
|
|
22
|
-
*/
|
|
23
|
-
export declare class ItDropdownMenu extends NgbDropdownMenu implements AfterContentInit {
|
|
24
|
-
dropdown: ItDropdown;
|
|
25
|
-
menuItems: QueryList<ItDropdownItem>;
|
|
26
|
-
constructor(dropdown: ItDropdown, _elementRef: ElementRef<HTMLElement>);
|
|
27
|
-
ngAfterContentInit(): void;
|
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItDropdownMenu, never>;
|
|
29
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ItDropdownMenu, "[itDropdownMenu]", never, {}, {}, ["menuItems"], never, false>;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* A directive to mark an element to which dropdown menu will be anchored.
|
|
33
|
-
*
|
|
34
|
-
* This is a simple version of the `NgbDropdownToggle` directive.
|
|
35
|
-
* It plays the same role, but doesn't listen to click events to toggle dropdown menu thus enabling support
|
|
36
|
-
* for events other than click.
|
|
37
|
-
*
|
|
38
|
-
* @since 1.1.0
|
|
39
|
-
*/
|
|
40
|
-
export declare class ItDropdownAnchor extends NgbDropdownAnchor {
|
|
41
|
-
dropdown: ItDropdown;
|
|
42
|
-
constructor(dropdown: ItDropdown, _elementRef: ElementRef<HTMLElement>);
|
|
43
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItDropdownAnchor, never>;
|
|
44
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ItDropdownAnchor, "[itDropdownAnchor]", never, {}, {}, never, never, false>;
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* A directive to mark an element that will toggle dropdown via the `click` event.
|
|
48
|
-
*
|
|
49
|
-
* You can also use `NgbDropdownAnchor` as an alternative.
|
|
50
|
-
*/
|
|
51
|
-
export declare class ItDropdownToggle extends NgbDropdownToggle {
|
|
52
|
-
dropdown: ItDropdown;
|
|
53
|
-
constructor(dropdown: ItDropdown, elementRef: ElementRef<HTMLElement>);
|
|
54
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItDropdownToggle, never>;
|
|
55
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ItDropdownToggle, "[itDropdownToggle]", never, {}, {}, never, never, false>;
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* A directive that provides contextual overlays for displaying lists of links and more.
|
|
59
|
-
*/
|
|
60
|
-
export declare class ItDropdown extends NgbDropdown implements AfterContentInit, OnChanges, OnDestroy {
|
|
61
|
-
_itMenu: ItDropdownMenu;
|
|
62
|
-
_itAnchor: ItDropdownAnchor;
|
|
63
|
-
/**
|
|
64
|
-
* An event fired when the dropdown is opened or closed.
|
|
65
|
-
*
|
|
66
|
-
* The event payload is a `boolean`:
|
|
67
|
-
* * `true` - the dropdown was opened
|
|
68
|
-
* * `false` - the dropdown was closed
|
|
69
|
-
*/
|
|
70
|
-
openChange: EventEmitter<boolean>;
|
|
71
|
-
constructor(_changeDetector: ChangeDetectorRef, config: ItDropdownConfig, _document: any, _ngZone: NgZone, _elementRef: ElementRef<HTMLElement>, _renderer: Renderer2, itNavbar: ItNavbar);
|
|
72
|
-
ngAfterContentInit(): void;
|
|
73
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
74
|
-
ngOnDestroy(): void;
|
|
75
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItDropdown, [null, null, null, null, null, null, { optional: true; }]>;
|
|
76
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ItDropdown, "[itDropdown]", ["itDropdown"], {}, { "openChange": "openChange"; }, ["_itMenu", "_itAnchor"], never, false>;
|
|
77
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./dropdown.component";
|
|
3
|
-
import * as i2 from "./dropdown-divider.component";
|
|
4
|
-
import * as i3 from "./dropdown-item.component";
|
|
5
|
-
import * as i4 from "./dropdown.directive";
|
|
6
|
-
import * as i5 from "@angular/common";
|
|
7
|
-
import * as i6 from "@ng-bootstrap/ng-bootstrap";
|
|
8
|
-
import * as i7 from "../icon/icon.module";
|
|
9
|
-
import * as i8 from "../button/button.module";
|
|
10
|
-
import * as i9 from "../util/utils.module";
|
|
11
|
-
export declare class ItDropdownModule {
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItDropdownModule, never>;
|
|
13
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ItDropdownModule, [typeof i1.DropdownComponent, typeof i2.DropdownDividerComponent, typeof i3.DropdownItemComponent, typeof i4.ItDropdown, typeof i4.ItNavbar, typeof i4.ItDropdownMenu, typeof i4.ItDropdownAnchor, typeof i4.ItDropdownToggle, typeof i4.ItDropdownItem], [typeof i5.CommonModule, typeof i6.NgbDropdownModule, typeof i7.ItIconModule, typeof i8.ItButtonModule, typeof i9.ItUtilsModule], [typeof i1.DropdownComponent, typeof i2.DropdownDividerComponent, typeof i3.DropdownItemComponent, typeof i4.ItDropdown, typeof i4.ItNavbar, typeof i4.ItDropdownMenu, typeof i4.ItDropdownAnchor, typeof i4.ItDropdownToggle, typeof i4.ItDropdownItem]>;
|
|
14
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ItDropdownModule>;
|
|
15
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export declare enum IconSizeEnum {
|
|
2
|
-
sx = "icon-xs",
|
|
3
|
-
sm = "icon-sm",
|
|
4
|
-
lg = "icon-lg",
|
|
5
|
-
xl = "icon-xl",
|
|
6
|
-
default = ""
|
|
7
|
-
}
|
|
8
|
-
export declare enum IconColorEnum {
|
|
9
|
-
default = "default",
|
|
10
|
-
primary = "primary",
|
|
11
|
-
secondary = "secondary",
|
|
12
|
-
info = "info",
|
|
13
|
-
success = "success",
|
|
14
|
-
warning = "warning",
|
|
15
|
-
danger = "danger",
|
|
16
|
-
disable = "disable",
|
|
17
|
-
light = "light",
|
|
18
|
-
white = "white"
|
|
19
|
-
}
|
|
20
|
-
export declare enum IconBackgroundColorEnum {
|
|
21
|
-
light = "light",
|
|
22
|
-
dark = "dark"
|
|
23
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { PasswordStrengthMeterConfig } from "./form-input.component";
|
|
2
|
-
/**
|
|
3
|
-
* Classe di utility creata sulla base del seguente sorgente di bootstrap-italia: https://github.com/italia/bootstrap-italia/blob/main/src/js/plugins/input-password.js
|
|
4
|
-
* TODO: Da sostituire una volta che i metodi scoreText, scoreColor, e calculateScore
|
|
5
|
-
* saranno importabili dalla libreria bootstrap-italia.
|
|
6
|
-
*/
|
|
7
|
-
export declare class FormInputPasswordUtils {
|
|
8
|
-
private _config;
|
|
9
|
-
static readonly DEFAULT_CONFIG: {
|
|
10
|
-
shortPass: string;
|
|
11
|
-
badPass: string;
|
|
12
|
-
goodPass: string;
|
|
13
|
-
strongPass: string;
|
|
14
|
-
enterPass: string;
|
|
15
|
-
alertCaps: string;
|
|
16
|
-
showText: boolean;
|
|
17
|
-
minimumLength: number;
|
|
18
|
-
};
|
|
19
|
-
constructor(_config: PasswordStrengthMeterConfig);
|
|
20
|
-
/**
|
|
21
|
-
* Returns a value between -1 and 100 to score
|
|
22
|
-
* the user's password.
|
|
23
|
-
*
|
|
24
|
-
* @param string password The password to be checked.
|
|
25
|
-
* @return int
|
|
26
|
-
*/
|
|
27
|
-
calculateScore(password: string): number;
|
|
28
|
-
/**
|
|
29
|
-
* Checks for repetition of characters in
|
|
30
|
-
* a string
|
|
31
|
-
*
|
|
32
|
-
* @param int rLen Repetition length.
|
|
33
|
-
* @param string str The string to be checked.
|
|
34
|
-
* @return string
|
|
35
|
-
*/
|
|
36
|
-
private _checkRepetition;
|
|
37
|
-
/**
|
|
38
|
-
* Returns strings based on the score given.
|
|
39
|
-
*
|
|
40
|
-
* @param int score Score base.
|
|
41
|
-
* @return string
|
|
42
|
-
*/
|
|
43
|
-
scoreText(score: any): string;
|
|
44
|
-
scoreColor(score: any): "success" | "warning" | "danger" | "muted";
|
|
45
|
-
}
|