design-angular-kit 1.0.0-2 → 1.0.0-21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +102 -26
- package/assets/i18n/en.json +122 -0
- package/assets/i18n/it.json +52 -11
- package/esm2022/lib/abstracts/abstract-form.component.mjs +186 -0
- package/esm2022/lib/abstracts/abstract.component.mjs +45 -0
- package/esm2022/lib/components/components.module.mjs +188 -0
- package/esm2022/lib/components/core/accordion/accordion.component.mjs +38 -0
- package/esm2022/lib/components/core/alert/alert.component.mjs +74 -0
- package/esm2022/lib/components/core/badge/badge.directive.mjs +38 -0
- package/esm2022/lib/components/core/button/button.directive.mjs +85 -0
- package/esm2022/lib/components/core/callout/callout.component.mjs +57 -0
- package/esm2022/lib/components/core/card/card.component.mjs +64 -0
- package/esm2022/lib/components/core/carousel/carousel/carousel.component.mjs +89 -0
- package/esm2022/lib/components/core/carousel/carousel-item/carousel-item.component.mjs +19 -0
- package/esm2022/lib/components/core/carousel/carousel.module.mjs +23 -0
- package/esm2022/lib/components/core/chip/chip.component.mjs +96 -0
- package/esm2022/lib/components/core/collapse/collapse.component.mjs +101 -0
- package/esm2022/lib/components/core/dimmer/dimmer-buttons/dimmer-buttons.component.mjs +24 -0
- package/esm2022/lib/components/core/dimmer/dimmer-icon/dimmer-icon.component.mjs +11 -0
- package/esm2022/lib/components/core/dimmer/dimmer.component.mjs +59 -0
- package/esm2022/lib/components/core/dimmer/dimmer.module.mjs +27 -0
- package/esm2022/lib/components/core/dropdown/dropdown/dropdown.component.mjs +143 -0
- package/esm2022/lib/components/core/dropdown/dropdown-item/dropdown-item.component.mjs +68 -0
- package/esm2022/lib/components/core/dropdown/dropdown.module.mjs +18 -0
- package/esm2022/lib/components/core/forward/forward.directive.mjs +53 -0
- package/esm2022/lib/components/core/link/link.component.mjs +46 -0
- package/esm2022/lib/components/core/list/list/list.component.mjs +17 -0
- package/esm2022/lib/components/core/list/list-item/list-item.component.mjs +40 -0
- package/esm2022/lib/components/core/list/list.module.mjs +23 -0
- package/esm2022/lib/components/core/modal/modal.component.mjs +192 -0
- package/esm2022/lib/components/core/notifications/notifications.component.mjs +111 -0
- package/esm2022/lib/components/core/pagination/pagination.component.mjs +133 -0
- package/esm2022/lib/components/core/popover/popover.directive.mjs +175 -0
- package/esm2022/lib/components/core/progress-bar/progress-bar.component.mjs +35 -0
- package/esm2022/lib/components/core/progress-button/progress-button.component.mjs +27 -0
- package/esm2022/lib/components/core/spinner/spinner.component.mjs +36 -0
- package/esm2022/lib/components/core/steppers/steppers-container/steppers-container.component.mjs +138 -0
- package/esm2022/lib/components/core/steppers/steppers-item/steppers-item.component.mjs +19 -0
- package/esm2022/lib/components/core/steppers/steppers.module.mjs +23 -0
- package/esm2022/lib/components/core/tab/tab-container/tab-container.component.mjs +60 -0
- package/esm2022/lib/components/core/tab/tab-item/tab-item.component.mjs +36 -0
- package/esm2022/lib/components/core/tab/tab.module.mjs +23 -0
- package/esm2022/lib/components/core/table/table.component.mjs +57 -0
- package/esm2022/lib/components/core/tooltip/tooltip.directive.mjs +142 -0
- package/esm2022/lib/components/form/checkbox/checkbox.component.mjs +49 -0
- package/esm2022/lib/components/form/form.module.mjs +55 -0
- package/esm2022/lib/components/form/input/input.component.mjs +239 -0
- package/esm2022/lib/components/form/password-input/password-input.component.mjs +155 -0
- package/esm2022/lib/components/form/radio-button/radio-button.component.mjs +69 -0
- package/esm2022/lib/components/form/range/range.component.mjs +64 -0
- package/esm2022/lib/components/form/rating/rating.component.mjs +51 -0
- package/esm2022/lib/components/form/select/select.component.mjs +70 -0
- package/esm2022/lib/components/form/textarea/textarea.component.mjs +47 -0
- package/esm2022/lib/components/form/upload-drag-drop/upload-drag-drop.component.mjs +140 -0
- package/esm2022/lib/components/form/upload-file-list/upload-file-list.component.mjs +112 -0
- package/esm2022/lib/components/navigation/back-button/back-button.component.mjs +71 -0
- package/esm2022/lib/components/navigation/back-to-top/back-to-top.component.mjs +64 -0
- package/esm2022/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.mjs +57 -0
- package/esm2022/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.mjs +23 -0
- package/esm2022/lib/components/navigation/breadcrumbs/breadcrumbs.module.mjs +18 -0
- package/esm2022/lib/components/navigation/header/header.component.mjs +58 -0
- package/esm2022/lib/components/utils/error-page/error-page.component.mjs +81 -0
- package/esm2022/lib/components/utils/icon/icon.component.mjs +55 -0
- package/esm2022/lib/components/utils/language-switcher/language-switcher.component.mjs +47 -0
- package/esm2022/lib/design-angular-kit-config.mjs +15 -0
- package/esm2022/lib/design-angular-kit.module.mjs +68 -0
- package/esm2022/lib/interfaces/core.mjs +16 -0
- package/esm2022/lib/interfaces/design-angular-kit-init.mjs +2 -0
- package/esm2022/lib/interfaces/form.mjs +2 -0
- package/esm2022/lib/interfaces/icon.mjs +165 -0
- package/esm2022/lib/interfaces/utils.mjs +2 -0
- package/esm2022/lib/pipes/mark-matching-text.pipe.mjs +37 -0
- package/esm2022/lib/services/notification/notification.service.mjs +120 -0
- package/esm2022/lib/utils/file-utils.mjs +73 -0
- package/esm2022/lib/utils/regex.mjs +31 -0
- package/esm2022/lib/validators/it-validators.mjs +153 -0
- package/esm2022/public_api.mjs +85 -0
- package/fesm2022/design-angular-kit.mjs +4649 -0
- package/fesm2022/design-angular-kit.mjs.map +1 -0
- package/lib/abstracts/{abstract-form-component.d.ts → abstract-form.component.d.ts} +12 -10
- package/lib/abstracts/abstract.component.d.ts +24 -8
- package/lib/components/components.module.d.ts +40 -0
- package/lib/components/core/accordion/accordion.component.d.ts +11 -9
- package/lib/components/core/alert/alert.component.d.ts +32 -5
- package/lib/components/core/badge/badge.directive.d.ts +12 -6
- package/lib/components/core/button/button.directive.d.ts +24 -17
- package/lib/components/core/callout/callout.component.d.ts +26 -17
- package/lib/components/core/card/card.component.d.ts +23 -13
- package/lib/components/core/carousel/carousel/carousel.component.d.ts +34 -15
- package/lib/components/core/carousel/carousel-item/carousel-item.component.d.ts +8 -3
- package/lib/components/core/carousel/carousel.module.d.ts +8 -0
- package/lib/components/core/chip/chip.component.d.ts +8 -5
- package/lib/components/core/collapse/collapse.component.d.ts +16 -15
- package/lib/components/core/dimmer/dimmer-buttons/dimmer-buttons.component.d.ts +3 -3
- package/lib/components/core/dimmer/dimmer-icon/dimmer-icon.component.d.ts +3 -3
- package/lib/components/core/dimmer/dimmer.component.d.ts +4 -4
- package/lib/components/core/dimmer/dimmer.module.d.ts +9 -0
- package/lib/components/core/dropdown/dropdown/dropdown.component.d.ts +53 -10
- package/lib/components/core/dropdown/dropdown-item/dropdown-item.component.d.ts +8 -13
- package/lib/components/core/dropdown/dropdown.module.d.ts +8 -0
- package/lib/components/core/forward/forward.directive.d.ts +3 -3
- package/lib/components/core/link/link.component.d.ts +9 -10
- package/lib/components/core/list/list/list.component.d.ts +6 -5
- package/lib/components/core/list/list-item/list-item.component.d.ts +12 -8
- package/lib/components/core/list/list.module.d.ts +8 -0
- package/lib/components/core/modal/modal.component.d.ts +83 -14
- package/lib/components/core/notifications/notifications.component.d.ts +25 -11
- package/lib/components/core/pagination/pagination.component.d.ts +71 -10
- package/lib/components/core/popover/popover.directive.d.ts +15 -14
- package/lib/components/core/progress-bar/progress-bar.component.d.ts +6 -6
- package/lib/components/core/progress-button/progress-button.component.d.ts +5 -5
- package/lib/components/core/spinner/spinner.component.d.ts +6 -6
- package/lib/components/core/steppers/steppers-container/steppers-container.component.d.ts +128 -0
- package/lib/components/core/steppers/steppers-item/steppers-item.component.d.ts +20 -0
- package/lib/components/core/steppers/steppers.module.d.ts +8 -0
- package/lib/components/core/tab/tab-container/tab-container.component.d.ts +14 -12
- package/lib/components/core/tab/tab-item/tab-item.component.d.ts +11 -11
- package/lib/components/core/tab/tab.module.d.ts +8 -0
- package/lib/components/core/table/table.component.d.ts +14 -14
- package/lib/components/core/tooltip/tooltip.directive.d.ts +12 -11
- package/lib/components/form/checkbox/checkbox.component.d.ts +13 -10
- package/lib/components/form/form.module.d.ts +16 -0
- package/lib/components/form/input/input.component.d.ts +59 -13
- package/lib/components/form/password-input/password-input.component.d.ts +33 -8
- package/lib/components/form/radio-button/radio-button.component.d.ts +7 -6
- package/lib/components/form/range/range.component.d.ts +42 -0
- package/lib/components/form/rating/rating.component.d.ts +24 -0
- package/lib/components/form/select/select.component.d.ts +12 -6
- package/lib/components/form/textarea/textarea.component.d.ts +5 -5
- package/lib/components/form/upload-drag-drop/upload-drag-drop.component.d.ts +8 -7
- package/lib/components/form/upload-file-list/upload-file-list.component.d.ts +11 -9
- package/lib/components/navigation/back-button/back-button.component.d.ts +4 -4
- package/lib/components/navigation/back-to-top/back-to-top.component.d.ts +28 -13
- package/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.d.ts +11 -9
- package/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.d.ts +6 -6
- package/lib/components/navigation/breadcrumbs/breadcrumbs.module.d.ts +8 -0
- package/lib/components/navigation/header/header.component.d.ts +9 -13
- package/lib/components/utils/error-page/error-page.component.d.ts +44 -0
- package/lib/components/utils/icon/icon.component.d.ts +14 -16
- package/lib/components/utils/language-switcher/language-switcher.component.d.ts +27 -0
- package/lib/design-angular-kit-config.d.ts +16 -0
- package/lib/design-angular-kit.module.d.ts +9 -4
- package/lib/interfaces/core.d.ts +40 -16
- package/lib/interfaces/design-angular-kit-init.d.ts +7 -0
- package/lib/interfaces/form.d.ts +32 -8
- package/lib/interfaces/icon.d.ts +4 -3
- package/lib/interfaces/utils.d.ts +10 -0
- package/lib/pipes/mark-matching-text.pipe.d.ts +10 -0
- package/lib/services/{notifications/notifications.service.d.ts → notification/notification.service.d.ts} +20 -20
- package/lib/utils/boolean-input.d.ts +1 -1
- package/lib/utils/file-utils.d.ts +5 -0
- package/lib/utils/regex.d.ts +5 -0
- package/lib/validators/it-validators.d.ts +16 -9
- package/package.json +13 -17
- package/public_api.d.ts +21 -4
- package/esm2020/lib/abstracts/abstract-form-component.mjs +0 -165
- package/esm2020/lib/abstracts/abstract.component.mjs +0 -20
- package/esm2020/lib/components/core/accordion/accordion.component.mjs +0 -20
- package/esm2020/lib/components/core/alert/alert.component.mjs +0 -29
- package/esm2020/lib/components/core/badge/badge.directive.mjs +0 -34
- package/esm2020/lib/components/core/button/button.directive.mjs +0 -78
- package/esm2020/lib/components/core/callout/callout.component.mjs +0 -59
- package/esm2020/lib/components/core/card/card.component.mjs +0 -58
- package/esm2020/lib/components/core/carousel/carousel/carousel.component.mjs +0 -66
- package/esm2020/lib/components/core/carousel/carousel-item/carousel-item.component.mjs +0 -14
- package/esm2020/lib/components/core/chip/chip.component.mjs +0 -89
- package/esm2020/lib/components/core/collapse/collapse.component.mjs +0 -96
- package/esm2020/lib/components/core/dimmer/dimmer-buttons/dimmer-buttons.component.mjs +0 -24
- package/esm2020/lib/components/core/dimmer/dimmer-icon/dimmer-icon.component.mjs +0 -11
- package/esm2020/lib/components/core/dimmer/dimmer.component.mjs +0 -59
- package/esm2020/lib/components/core/dropdown/dropdown/dropdown.component.mjs +0 -60
- package/esm2020/lib/components/core/dropdown/dropdown-item/dropdown-item.component.mjs +0 -71
- package/esm2020/lib/components/core/forward/forward.directive.mjs +0 -51
- package/esm2020/lib/components/core/link/link.component.mjs +0 -39
- package/esm2020/lib/components/core/list/list/list.component.mjs +0 -13
- package/esm2020/lib/components/core/list/list-item/list-item.component.mjs +0 -36
- package/esm2020/lib/components/core/modal/modal.component.mjs +0 -98
- package/esm2020/lib/components/core/notifications/notifications.component.mjs +0 -66
- package/esm2020/lib/components/core/pagination/pagination.component.mjs +0 -51
- package/esm2020/lib/components/core/popover/popover.directive.mjs +0 -176
- package/esm2020/lib/components/core/progress-bar/progress-bar.component.mjs +0 -34
- package/esm2020/lib/components/core/progress-button/progress-button.component.mjs +0 -27
- package/esm2020/lib/components/core/spinner/spinner.component.mjs +0 -35
- package/esm2020/lib/components/core/tab/tab-container/tab-container.component.mjs +0 -33
- package/esm2020/lib/components/core/tab/tab-item/tab-item.component.mjs +0 -36
- package/esm2020/lib/components/core/table/table.component.mjs +0 -57
- package/esm2020/lib/components/core/tooltip/tooltip.directive.mjs +0 -140
- package/esm2020/lib/components/form/checkbox/checkbox.component.mjs +0 -40
- package/esm2020/lib/components/form/input/input.component.mjs +0 -159
- package/esm2020/lib/components/form/password-input/password-input.component.mjs +0 -112
- package/esm2020/lib/components/form/radio-button/radio-button.component.mjs +0 -53
- package/esm2020/lib/components/form/select/select.component.mjs +0 -62
- package/esm2020/lib/components/form/textarea/textarea.component.mjs +0 -46
- package/esm2020/lib/components/form/upload-drag-drop/upload-drag-drop.component.mjs +0 -134
- package/esm2020/lib/components/form/upload-file-list/upload-file-list.component.mjs +0 -99
- package/esm2020/lib/components/navigation/back-button/back-button.component.mjs +0 -69
- package/esm2020/lib/components/navigation/back-to-top/back-to-top.component.mjs +0 -39
- package/esm2020/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.mjs +0 -45
- package/esm2020/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.mjs +0 -23
- package/esm2020/lib/components/navigation/header/header.component.mjs +0 -61
- package/esm2020/lib/components/utils/icon/icon.component.mjs +0 -54
- package/esm2020/lib/components/utils/not-found-page/not-found-page.component.mjs +0 -13
- package/esm2020/lib/design-angular-kit.module.mjs +0 -42
- package/esm2020/lib/interfaces/core.mjs +0 -16
- package/esm2020/lib/interfaces/form.mjs +0 -2
- package/esm2020/lib/interfaces/icon.mjs +0 -2
- package/esm2020/lib/modules/components.module.mjs +0 -241
- package/esm2020/lib/services/notifications/notifications.service.mjs +0 -122
- package/esm2020/lib/utils/file-utils.mjs +0 -65
- package/esm2020/lib/utils/regex.mjs +0 -26
- package/esm2020/lib/validators/it-validators.mjs +0 -131
- package/esm2020/public_api.mjs +0 -64
- package/fesm2015/design-angular-kit.mjs +0 -3271
- package/fesm2015/design-angular-kit.mjs.map +0 -1
- package/fesm2020/design-angular-kit.mjs +0 -3231
- package/fesm2020/design-angular-kit.mjs.map +0 -1
- package/lib/components/utils/not-found-page/not-found-page.component.d.ts +0 -5
- package/lib/modules/components.module.d.ts +0 -57
- /package/{esm2020 → esm2022}/design-angular-kit.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/utils/boolean-input.mjs +0 -0
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
import { ControlValueAccessor, FormControl, NgControl, ValidatorFn } from '@angular/forms';
|
|
2
|
-
import { DoCheck,
|
|
3
|
-
import {
|
|
2
|
+
import { DoCheck, OnInit } from '@angular/core';
|
|
3
|
+
import { ItAbstractComponent } from './abstract.component';
|
|
4
4
|
import { BooleanInput } from '../utils/boolean-input';
|
|
5
5
|
import { Observable } from 'rxjs';
|
|
6
6
|
import { TranslateService } from '@ngx-translate/core';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class
|
|
9
|
-
protected readonly _ngControl: NgControl;
|
|
8
|
+
export declare abstract class ItAbstractFormComponent<T = any> extends ItAbstractComponent implements OnInit, ControlValueAccessor, DoCheck {
|
|
10
9
|
protected readonly _translateService: TranslateService;
|
|
11
|
-
protected readonly
|
|
12
|
-
protected readonly _elementRef: ElementRef;
|
|
10
|
+
protected readonly _ngControl: NgControl;
|
|
13
11
|
/**
|
|
14
12
|
* The label of form control
|
|
15
13
|
*/
|
|
@@ -23,11 +21,15 @@ export declare class AbstractFormComponent<T = any> extends AbstractComponent im
|
|
|
23
21
|
* @default <b>only-invalid</b>: Show only invalid validation color
|
|
24
22
|
*/
|
|
25
23
|
validationMode: BooleanInput | 'only-valid' | 'only-invalid';
|
|
24
|
+
/**
|
|
25
|
+
* Set the disabled state
|
|
26
|
+
*/
|
|
27
|
+
set disabled(isDisabled: BooleanInput);
|
|
26
28
|
/**
|
|
27
29
|
* Internal form control
|
|
28
30
|
*/
|
|
29
|
-
control: FormControl
|
|
30
|
-
constructor(
|
|
31
|
+
protected control: FormControl<T>;
|
|
32
|
+
constructor(_translateService: TranslateService, _ngControl: NgControl);
|
|
31
33
|
/**
|
|
32
34
|
* Check if field is invalid (Validation failed)
|
|
33
35
|
*/
|
|
@@ -79,6 +81,6 @@ export declare class AbstractFormComponent<T = any> extends AbstractComponent im
|
|
|
79
81
|
* null is returned.
|
|
80
82
|
*/
|
|
81
83
|
getError(errorCode: string, path?: Array<string | number> | string): any;
|
|
82
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
83
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
84
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItAbstractFormComponent<any>, [null, { optional: true; self: true; }]>;
|
|
85
|
+
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>;
|
|
84
86
|
}
|
|
@@ -1,14 +1,30 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, Renderer2 } from
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, Renderer2, SimpleChanges } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class
|
|
4
|
-
protected readonly _renderer: Renderer2;
|
|
5
|
-
protected readonly _elementRef: ElementRef;
|
|
3
|
+
export declare abstract class ItAbstractComponent implements AfterViewInit, OnChanges {
|
|
6
4
|
/**
|
|
7
5
|
* The element ID
|
|
8
6
|
*/
|
|
9
|
-
id
|
|
10
|
-
|
|
7
|
+
id: string;
|
|
8
|
+
/**
|
|
9
|
+
* Fired when component input attributes was changed
|
|
10
|
+
*/
|
|
11
|
+
valueChanges: EventEmitter<void>;
|
|
12
|
+
/**
|
|
13
|
+
* Counter of active instances
|
|
14
|
+
* @private
|
|
15
|
+
*/
|
|
16
|
+
private static instances;
|
|
17
|
+
protected readonly _renderer: Renderer2;
|
|
18
|
+
protected readonly _elementRef: ElementRef;
|
|
19
|
+
protected readonly _changeDetectorRef: ChangeDetectorRef;
|
|
20
|
+
constructor();
|
|
11
21
|
ngAfterViewInit(): void;
|
|
12
|
-
|
|
13
|
-
|
|
22
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
23
|
+
/**
|
|
24
|
+
* Generate unique id for components
|
|
25
|
+
* @private
|
|
26
|
+
*/
|
|
27
|
+
private getDefaultId;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItAbstractComponent, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItAbstractComponent, "ng-component", never, { "id": { "alias": "id"; "required": false; }; }, { "valueChanges": "valueChanges"; }, never, never, false, never>;
|
|
14
30
|
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./core/accordion/accordion.component";
|
|
3
|
+
import * as i2 from "./core/alert/alert.component";
|
|
4
|
+
import * as i3 from "./core/badge/badge.directive";
|
|
5
|
+
import * as i4 from "./core/button/button.directive";
|
|
6
|
+
import * as i5 from "./core/callout/callout.component";
|
|
7
|
+
import * as i6 from "./core/card/card.component";
|
|
8
|
+
import * as i7 from "./core/carousel/carousel.module";
|
|
9
|
+
import * as i8 from "./core/chip/chip.component";
|
|
10
|
+
import * as i9 from "./core/collapse/collapse.component";
|
|
11
|
+
import * as i10 from "./core/dimmer/dimmer.module";
|
|
12
|
+
import * as i11 from "./core/dropdown/dropdown.module";
|
|
13
|
+
import * as i12 from "./core/forward/forward.directive";
|
|
14
|
+
import * as i13 from "./core/link/link.component";
|
|
15
|
+
import * as i14 from "./core/list/list.module";
|
|
16
|
+
import * as i15 from "./core/modal/modal.component";
|
|
17
|
+
import * as i16 from "./core/notifications/notifications.component";
|
|
18
|
+
import * as i17 from "./core/pagination/pagination.component";
|
|
19
|
+
import * as i18 from "./core/popover/popover.directive";
|
|
20
|
+
import * as i19 from "./core/progress-bar/progress-bar.component";
|
|
21
|
+
import * as i20 from "./core/progress-button/progress-button.component";
|
|
22
|
+
import * as i21 from "./core/spinner/spinner.component";
|
|
23
|
+
import * as i22 from "./core/steppers/steppers.module";
|
|
24
|
+
import * as i23 from "./core/tab/tab.module";
|
|
25
|
+
import * as i24 from "./core/table/table.component";
|
|
26
|
+
import * as i25 from "./core/tooltip/tooltip.directive";
|
|
27
|
+
import * as i26 from "./form/form.module";
|
|
28
|
+
import * as i27 from "./navigation/back-button/back-button.component";
|
|
29
|
+
import * as i28 from "./navigation/back-to-top/back-to-top.component";
|
|
30
|
+
import * as i29 from "./navigation/breadcrumbs/breadcrumbs.module";
|
|
31
|
+
import * as i30 from "./navigation/header/header.component";
|
|
32
|
+
import * as i31 from "./utils/error-page/error-page.component";
|
|
33
|
+
import * as i32 from "./utils/icon/icon.component";
|
|
34
|
+
import * as i33 from "./utils/language-switcher/language-switcher.component";
|
|
35
|
+
import * as i34 from "../pipes/mark-matching-text.pipe";
|
|
36
|
+
export declare class ItComponentsModule {
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItComponentsModule, never>;
|
|
38
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ItComponentsModule, never, [typeof i1.ItAccordionComponent, typeof i2.ItAlertComponent, typeof i3.ItBadgeDirective, typeof i4.ItButtonDirective, typeof i5.ItCalloutComponent, typeof i6.ItCardComponent, typeof i7.ItCarouselModule, typeof i8.ItChipComponent, typeof i9.ItCollapseComponent, typeof i10.ItDimmerModule, typeof i11.ItDropdownModule, typeof i12.ItForwardDirective, typeof i13.ItLinkComponent, typeof i14.ItListModule, typeof i15.ItModalComponent, typeof i16.ItNotificationsComponent, typeof i17.ItPaginationComponent, typeof i18.ItPopoverDirective, typeof i19.ItProgressBarComponent, typeof i20.ItProgressButtonComponent, typeof i21.ItSpinnerComponent, typeof i22.ItSteppersModule, typeof i23.ItTabModule, typeof i24.ItTableComponent, typeof i25.ItTooltipDirective, typeof i26.ItFormModule, typeof i27.ItBackButtonComponent, typeof i28.ItBackToTopComponent, typeof i29.ItBreadcrumbsModule, typeof i30.ItHeaderComponent, typeof i31.ItErrorPageComponent, typeof i32.ItIconComponent, typeof i33.ItLanguageSwitcherComponent, typeof i34.MarkMatchingTextPipe], [typeof i1.ItAccordionComponent, typeof i2.ItAlertComponent, typeof i3.ItBadgeDirective, typeof i4.ItButtonDirective, typeof i5.ItCalloutComponent, typeof i6.ItCardComponent, typeof i7.ItCarouselModule, typeof i8.ItChipComponent, typeof i9.ItCollapseComponent, typeof i10.ItDimmerModule, typeof i11.ItDropdownModule, typeof i12.ItForwardDirective, typeof i13.ItLinkComponent, typeof i14.ItListModule, typeof i15.ItModalComponent, typeof i16.ItNotificationsComponent, typeof i17.ItPaginationComponent, typeof i18.ItPopoverDirective, typeof i19.ItProgressBarComponent, typeof i20.ItProgressButtonComponent, typeof i21.ItSpinnerComponent, typeof i22.ItSteppersModule, typeof i23.ItTabModule, typeof i24.ItTableComponent, typeof i25.ItTooltipDirective, typeof i26.ItFormModule, typeof i27.ItBackButtonComponent, typeof i28.ItBackToTopComponent, typeof i29.ItBreadcrumbsModule, typeof i30.ItHeaderComponent, typeof i31.ItErrorPageComponent, typeof i32.ItIconComponent, typeof i33.ItLanguageSwitcherComponent, typeof i34.MarkMatchingTextPipe]>;
|
|
39
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ItComponentsModule>;
|
|
40
|
+
}
|
|
@@ -1,16 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { AfterViewInit, ElementRef } from '@angular/core';
|
|
2
|
+
import { ItCollapseComponent } from '../collapse/collapse.component';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
|
|
4
|
+
/**
|
|
5
|
+
* Accordion
|
|
6
|
+
* @description Build vertically collapsible accordions based on Collapse.
|
|
7
|
+
*/
|
|
8
|
+
export declare class ItAccordionComponent extends ItCollapseComponent implements AfterViewInit {
|
|
5
9
|
/**
|
|
6
10
|
* Accordion Title
|
|
7
11
|
*/
|
|
8
12
|
title: string;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
*/
|
|
12
|
-
opened?: BooleanInput;
|
|
13
|
+
protected collapseDiv?: ElementRef<HTMLDivElement>;
|
|
14
|
+
protected isCollapsed: boolean;
|
|
13
15
|
ngAfterViewInit(): void;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItAccordionComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItAccordionComponent, "it-accordion[title]", ["itAccordion"], { "title": { "alias": "title"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
16
18
|
}
|
|
@@ -1,7 +1,13 @@
|
|
|
1
|
+
import { AfterViewInit, EventEmitter } from '@angular/core';
|
|
1
2
|
import { AlertColor } from '../../../interfaces/core';
|
|
2
3
|
import { BooleanInput } from '../../../utils/boolean-input';
|
|
4
|
+
import { ItAbstractComponent } from '../../../abstracts/abstract.component';
|
|
3
5
|
import * as i0 from "@angular/core";
|
|
4
|
-
|
|
6
|
+
/**
|
|
7
|
+
* Alert
|
|
8
|
+
* @description You can provide feedback to the user via alert messages.
|
|
9
|
+
*/
|
|
10
|
+
export declare class ItAlertComponent extends ItAbstractComponent implements AfterViewInit {
|
|
5
11
|
/**
|
|
6
12
|
* The alert color
|
|
7
13
|
* @default info
|
|
@@ -9,9 +15,30 @@ export declare class AlertComponent {
|
|
|
9
15
|
color: AlertColor;
|
|
10
16
|
/**
|
|
11
17
|
* Inserts the close button
|
|
18
|
+
* @default false
|
|
12
19
|
*/
|
|
13
|
-
dismissible
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
20
|
+
dismissible: BooleanInput | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* This event fires immediately when the instance's close method is called.
|
|
23
|
+
*/
|
|
24
|
+
closeEvent: EventEmitter<Event>;
|
|
25
|
+
/**
|
|
26
|
+
* This event fires when the alert has been closed (it will wait for CSS transitions to complete).
|
|
27
|
+
*/
|
|
28
|
+
closedEvent: EventEmitter<Event>;
|
|
29
|
+
private alert?;
|
|
30
|
+
private alertElement?;
|
|
31
|
+
protected get isDismissible(): boolean;
|
|
32
|
+
ngAfterViewInit(): void;
|
|
33
|
+
/**
|
|
34
|
+
* Close an alert by removing it from the DOM.
|
|
35
|
+
* If the `.fade` and `.show` classes are present in the element, the alert will be closed with a disappearing effect.
|
|
36
|
+
*/
|
|
37
|
+
close(): void;
|
|
38
|
+
/**
|
|
39
|
+
* The alert is removed
|
|
40
|
+
*/
|
|
41
|
+
dispose(): void;
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItAlertComponent, never>;
|
|
43
|
+
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>;
|
|
17
44
|
}
|
|
@@ -1,16 +1,22 @@
|
|
|
1
1
|
import { BadgeColor } from '../../../interfaces/core';
|
|
2
2
|
import { BooleanInput } from '../../../utils/boolean-input';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
|
|
4
|
+
/**
|
|
5
|
+
* Badge
|
|
6
|
+
* @description Useful for small counters and labels
|
|
7
|
+
*/
|
|
8
|
+
export declare class ItBadgeDirective {
|
|
5
9
|
/**
|
|
6
10
|
* Define the badge color
|
|
11
|
+
* @default undefined
|
|
7
12
|
*/
|
|
8
|
-
color
|
|
13
|
+
color: BadgeColor | undefined;
|
|
9
14
|
/**
|
|
10
15
|
* Show rounded badge
|
|
16
|
+
* @default false
|
|
11
17
|
*/
|
|
12
|
-
rounded
|
|
13
|
-
get badgeClass(): string;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<
|
|
18
|
+
rounded: BooleanInput | undefined;
|
|
19
|
+
protected get badgeClass(): string;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItBadgeDirective, never>;
|
|
21
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ItBadgeDirective, "[itBadge]", ["itBadge"], { "color": { "alias": "itBadge"; "required": false; }; "rounded": { "alias": "rounded"; "required": false; }; }, {}, never, never, true, never>;
|
|
16
22
|
}
|
|
@@ -1,38 +1,45 @@
|
|
|
1
1
|
import { QueryList } from '@angular/core';
|
|
2
2
|
import { ButtonColor, ButtonSize } from '../../../interfaces/core';
|
|
3
|
-
import {
|
|
4
|
-
import { ProgressBarComponent } from '../progress-bar/progress-bar.component';
|
|
3
|
+
import { ItIconComponent } from '../../utils/icon/icon.component';
|
|
5
4
|
import { BooleanInput } from '../../../utils/boolean-input';
|
|
5
|
+
import { ItProgressButtonComponent } from '../progress-button/progress-button.component';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
|
|
7
|
+
/**
|
|
8
|
+
* Button
|
|
9
|
+
* @description Bootstrap italia custom button styles
|
|
10
|
+
*/
|
|
11
|
+
export declare class ItButtonDirective {
|
|
12
|
+
private progressButtonComponent;
|
|
8
13
|
/**
|
|
9
14
|
* Button color
|
|
15
|
+
* @default undefined
|
|
10
16
|
*/
|
|
11
|
-
color
|
|
17
|
+
color: ButtonColor | undefined;
|
|
12
18
|
/**
|
|
13
19
|
* Button size
|
|
20
|
+
* @default undefined
|
|
14
21
|
*/
|
|
15
|
-
size
|
|
22
|
+
size: ButtonSize | undefined;
|
|
16
23
|
/**
|
|
17
24
|
* Indicates whether the button occupies all the width available to it.
|
|
25
|
+
* @default undefined
|
|
18
26
|
*/
|
|
19
|
-
block
|
|
27
|
+
block: ButtonSize | undefined;
|
|
20
28
|
/**
|
|
21
29
|
* If button is disabled
|
|
30
|
+
* @default false
|
|
22
31
|
*/
|
|
23
|
-
disabled
|
|
32
|
+
disabled: BooleanInput | undefined;
|
|
24
33
|
/**
|
|
25
34
|
* The icon children
|
|
35
|
+
* @default undefined
|
|
26
36
|
*/
|
|
27
|
-
icons?: QueryList<
|
|
28
|
-
/**
|
|
29
|
-
* The progress bar children
|
|
30
|
-
*/
|
|
31
|
-
progressBar?: ProgressBarComponent;
|
|
37
|
+
protected icons?: QueryList<ItIconComponent>;
|
|
32
38
|
private isFocus;
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
static
|
|
39
|
+
constructor(progressButtonComponent: ItProgressButtonComponent);
|
|
40
|
+
protected onFocus(): void;
|
|
41
|
+
protected onBlur(): void;
|
|
42
|
+
protected get hostClasses(): string;
|
|
43
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItButtonDirective, [{ optional: true; host: true; }]>;
|
|
44
|
+
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; }; }, {}, ["icons"], never, true, never>;
|
|
38
45
|
}
|
|
@@ -1,22 +1,31 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { IconName } from
|
|
3
|
-
import { CalloutAppearance, CalloutColor } from "../../../interfaces/core";
|
|
1
|
+
import { CalloutAppearance, CalloutColor } from '../../../interfaces/core';
|
|
2
|
+
import { IconName } from '../../../interfaces/icon';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
/**
|
|
5
|
+
* Callout
|
|
6
|
+
* @description Callouts can be used to highlight certain parts of the text that require particular attention. They may contain error messages, warnings, hints, etc.
|
|
7
|
+
*/
|
|
8
|
+
export declare class ItCalloutComponent {
|
|
8
9
|
/**
|
|
9
|
-
* Callout
|
|
10
|
+
* Callout label
|
|
11
|
+
* @default undefined
|
|
10
12
|
*/
|
|
11
|
-
|
|
13
|
+
label: string | undefined;
|
|
12
14
|
/**
|
|
13
|
-
*
|
|
15
|
+
* Callout hiddenLabel
|
|
16
|
+
* @default undefined
|
|
14
17
|
*/
|
|
15
|
-
|
|
18
|
+
hiddenLabel: string | undefined;
|
|
16
19
|
/**
|
|
17
20
|
* Callout color
|
|
21
|
+
* - <b>success</b>
|
|
22
|
+
* - <b>danger</b>
|
|
23
|
+
* - <b>warning</b>
|
|
24
|
+
* - <b>important</b>
|
|
25
|
+
* - <b>note</b>
|
|
26
|
+
* @default undefined
|
|
18
27
|
*/
|
|
19
|
-
color
|
|
28
|
+
color: CalloutColor | undefined;
|
|
20
29
|
/**
|
|
21
30
|
* Callout appearance
|
|
22
31
|
* - <b>default</b>
|
|
@@ -26,11 +35,11 @@ export declare class CalloutComponent implements AfterViewInit {
|
|
|
26
35
|
*/
|
|
27
36
|
appearance: CalloutAppearance;
|
|
28
37
|
/**
|
|
29
|
-
*
|
|
38
|
+
* Custom icon
|
|
39
|
+
* @default undefined
|
|
30
40
|
*/
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
static
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CalloutComponent, "it-callout", never, { "title": "title"; "icon": "icon"; "color": "color"; "appearance": "appearance"; }, {}, never, ["[bigText]", "*"], false, never>;
|
|
41
|
+
icon: IconName | undefined;
|
|
42
|
+
protected get iconName(): IconName;
|
|
43
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItCalloutComponent, never>;
|
|
44
|
+
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; }; }, {}, never, ["[bigText]", "*"], true, never>;
|
|
36
45
|
}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ItAbstractComponent } from '../../../abstracts/abstract.component';
|
|
2
2
|
import { BooleanInput } from '../../../utils/boolean-input';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
|
|
4
|
+
/**
|
|
5
|
+
* Card
|
|
6
|
+
* @description A container of texts and images with many options and variations.
|
|
7
|
+
*/
|
|
8
|
+
export declare class ItCardComponent extends ItAbstractComponent {
|
|
5
9
|
/**
|
|
6
10
|
* It serves to space the cards in their mobile version.
|
|
7
11
|
* @default true
|
|
@@ -9,33 +13,39 @@ export declare class CardComponent extends AbstractComponent {
|
|
|
9
13
|
space: BooleanInput;
|
|
10
14
|
/**
|
|
11
15
|
* To create cards with short or "preview" content
|
|
16
|
+
* @default false
|
|
12
17
|
*/
|
|
13
|
-
teaser
|
|
18
|
+
teaser: BooleanInput | undefined;
|
|
14
19
|
/**
|
|
15
20
|
* Card with image
|
|
21
|
+
* @default false
|
|
16
22
|
*/
|
|
17
|
-
hasImage
|
|
23
|
+
hasImage: BooleanInput | undefined;
|
|
18
24
|
/**
|
|
19
25
|
* To add rounding effects
|
|
26
|
+
* @default false
|
|
20
27
|
*/
|
|
21
|
-
rounded
|
|
28
|
+
rounded: BooleanInput | undefined;
|
|
22
29
|
/**
|
|
23
30
|
* To add shadow effects
|
|
31
|
+
* @default false
|
|
24
32
|
*/
|
|
25
|
-
shadow
|
|
33
|
+
shadow: BooleanInput | undefined;
|
|
26
34
|
/**
|
|
27
35
|
* Custom card class
|
|
36
|
+
* @default ''
|
|
28
37
|
*/
|
|
29
38
|
cardClass: string;
|
|
30
39
|
/**
|
|
31
40
|
* Custom card body class
|
|
41
|
+
* @default ''
|
|
32
42
|
*/
|
|
33
43
|
bodyClass: string;
|
|
34
|
-
get isSpace(): boolean;
|
|
35
|
-
get isTeaser(): boolean;
|
|
36
|
-
get isHasImage(): boolean;
|
|
37
|
-
get isRounded(): boolean;
|
|
38
|
-
get isShadow(): boolean;
|
|
39
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
40
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
44
|
+
protected get isSpace(): boolean;
|
|
45
|
+
protected get isTeaser(): boolean;
|
|
46
|
+
protected get isHasImage(): boolean;
|
|
47
|
+
protected get isRounded(): boolean;
|
|
48
|
+
protected get isShadow(): boolean;
|
|
49
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItCardComponent, never>;
|
|
50
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItCardComponent, "it-card", never, { "space": { "alias": "space"; "required": false; }; "teaser": { "alias": "teaser"; "required": false; }; "hasImage": { "alias": "hasImage"; "required": false; }; "rounded": { "alias": "rounded"; "required": false; }; "shadow": { "alias": "shadow"; "required": false; }; "cardClass": { "alias": "cardClass"; "required": false; }; "bodyClass": { "alias": "bodyClass"; "required": false; }; }, {}, never, ["[beforeBody]", "*"], true, never>;
|
|
41
51
|
}
|
|
@@ -1,13 +1,19 @@
|
|
|
1
|
-
import { AfterViewInit, QueryList } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, OnDestroy, QueryList } from '@angular/core';
|
|
2
2
|
import { CarouselType } from '../../../../interfaces/core';
|
|
3
3
|
import { BooleanInput } from '../../../../utils/boolean-input';
|
|
4
|
-
import {
|
|
4
|
+
import { ItCarouselItemComponent } from '../carousel-item/carousel-item.component';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
|
|
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;
|
|
7
12
|
/**
|
|
8
13
|
* The callout title
|
|
14
|
+
* @default undefined
|
|
9
15
|
*/
|
|
10
|
-
title
|
|
16
|
+
title: string | undefined;
|
|
11
17
|
/**
|
|
12
18
|
* The carousel type
|
|
13
19
|
* @default default
|
|
@@ -15,32 +21,45 @@ export declare class CarouselComponent implements AfterViewInit {
|
|
|
15
21
|
type: CarouselType;
|
|
16
22
|
/**
|
|
17
23
|
* Custom class in splide__track element
|
|
24
|
+
* @default ''
|
|
18
25
|
*/
|
|
19
26
|
trackClass: string;
|
|
20
27
|
/**
|
|
21
28
|
* True for full screen (landscape) viewing
|
|
29
|
+
* @default undefined
|
|
22
30
|
*/
|
|
23
|
-
fullCarousel
|
|
31
|
+
fullCarousel: BooleanInput | undefined;
|
|
24
32
|
/**
|
|
25
33
|
* To indicate that the contained image is of a large type
|
|
34
|
+
* @default undefined
|
|
26
35
|
*/
|
|
27
|
-
bigImg
|
|
36
|
+
bigImg: BooleanInput | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* To indicate that the contained image is of a standard type
|
|
39
|
+
* @default undefined
|
|
40
|
+
*/
|
|
41
|
+
standardImage: BooleanInput | undefined;
|
|
28
42
|
/**
|
|
29
43
|
* Card line style
|
|
44
|
+
* @default undefined
|
|
30
45
|
*/
|
|
31
|
-
lined
|
|
32
|
-
items?: QueryList<
|
|
33
|
-
private carouselDiv;
|
|
46
|
+
lined: BooleanInput | undefined;
|
|
47
|
+
protected items?: QueryList<ItCarouselItemComponent>;
|
|
34
48
|
private carousel?;
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
get
|
|
38
|
-
get
|
|
49
|
+
private carouselDiv;
|
|
50
|
+
private itemSubscriptions?;
|
|
51
|
+
protected get typeClass(): string;
|
|
52
|
+
protected get isFullCarousel(): boolean;
|
|
53
|
+
protected get isBigImg(): boolean;
|
|
54
|
+
protected get isStandardImage(): boolean;
|
|
55
|
+
protected get isLined(): boolean;
|
|
56
|
+
constructor(_changeDetectorRef: ChangeDetectorRef);
|
|
39
57
|
ngAfterViewInit(): void;
|
|
58
|
+
ngOnDestroy(): void;
|
|
40
59
|
/**
|
|
41
60
|
* Removes CarouselBI features
|
|
42
61
|
*/
|
|
43
62
|
dispose(): void;
|
|
44
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
45
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
63
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItCarouselComponent, never>;
|
|
64
|
+
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>;
|
|
46
65
|
}
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import { ItAbstractComponent } from '../../../../abstracts/abstract.component';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
|
-
|
|
4
|
+
/**
|
|
5
|
+
* Carousel Item
|
|
6
|
+
* @description element, image or text slide of carousel
|
|
7
|
+
*/
|
|
8
|
+
export declare class ItCarouselItemComponent extends ItAbstractComponent {
|
|
4
9
|
/**
|
|
5
10
|
* The content of item
|
|
6
11
|
*/
|
|
7
12
|
htmlContent: TemplateRef<any>;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItCarouselItemComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItCarouselItemComponent, "it-carousel-item", never, {}, {}, never, ["*"], true, never>;
|
|
10
15
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
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,8 +1,10 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { IconName } from '../../../interfaces/icon';
|
|
3
|
+
import { ChipColor } from '../../../interfaces/core';
|
|
4
|
+
import { DesignAngularKitConfig } from '../../../design-angular-kit-config';
|
|
3
5
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare
|
|
5
|
-
|
|
6
|
+
export declare class ItChipComponent {
|
|
7
|
+
protected readonly config: DesignAngularKitConfig;
|
|
6
8
|
/**
|
|
7
9
|
* Indica la label
|
|
8
10
|
*/
|
|
@@ -54,9 +56,10 @@ export declare class ChipComponent {
|
|
|
54
56
|
/**
|
|
55
57
|
* Evento emesso al click sul bottone di chiusura
|
|
56
58
|
*/
|
|
57
|
-
|
|
59
|
+
closeEvent: EventEmitter<any>;
|
|
58
60
|
iconClose: IconName;
|
|
61
|
+
constructor(config: DesignAngularKitConfig);
|
|
59
62
|
clickToClose(): void;
|
|
60
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
61
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
63
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItChipComponent, never>;
|
|
64
|
+
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>;
|
|
62
65
|
}
|