design-angular-kit 1.0.0-16 → 1.0.0-18
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 +31 -6
- package/assets/i18n/en.json +4 -1
- package/assets/i18n/it.json +4 -1
- 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 +164 -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 +41 -0
- package/esm2022/lib/design-angular-kit.module.mjs +68 -0
- package/{esm2020 → esm2022}/lib/interfaces/form.mjs +1 -1
- package/esm2022/lib/interfaces/icon.mjs +165 -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 +4615 -0
- package/fesm2022/design-angular-kit.mjs.map +1 -0
- package/lib/abstracts/abstract-form.component.d.ts +4 -4
- package/lib/abstracts/abstract.component.d.ts +3 -3
- package/lib/components/components.module.d.ts +32 -52
- package/lib/components/core/accordion/accordion.component.d.ts +6 -5
- package/lib/components/core/alert/alert.component.d.ts +5 -5
- package/lib/components/core/badge/badge.directive.d.ts +5 -5
- package/lib/components/core/button/button.directive.d.ts +11 -11
- package/lib/components/core/callout/callout.component.d.ts +7 -7
- package/lib/components/core/card/card.component.d.ts +8 -8
- package/lib/components/core/carousel/carousel/carousel.component.d.ts +10 -10
- package/lib/components/core/carousel/carousel-item/carousel-item.component.d.ts +4 -4
- package/lib/components/core/carousel/carousel.module.d.ts +8 -0
- package/lib/components/core/chip/chip.component.d.ts +6 -3
- package/lib/components/core/collapse/collapse.component.d.ts +8 -8
- 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 +14 -9
- package/lib/components/core/dropdown/dropdown-item/dropdown-item.component.d.ts +8 -8
- 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 -8
- package/lib/components/core/list/list/list.component.d.ts +4 -4
- package/lib/components/core/list/list-item/list-item.component.d.ts +9 -9
- package/lib/components/core/list/list.module.d.ts +8 -0
- package/lib/components/core/modal/modal.component.d.ts +11 -11
- package/lib/components/core/notifications/notifications.component.d.ts +6 -6
- package/lib/components/core/pagination/pagination.component.d.ts +8 -8
- package/lib/components/core/popover/popover.directive.d.ts +3 -3
- 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 +5 -5
- package/lib/components/core/steppers/steppers-container/steppers-container.component.d.ts +37 -13
- package/lib/components/core/steppers/steppers-item/steppers-item.component.d.ts +5 -5
- package/lib/components/core/steppers/steppers.module.d.ts +8 -0
- package/lib/components/core/tab/tab-container/tab-container.component.d.ts +9 -9
- package/lib/components/core/tab/tab-item/tab-item.component.d.ts +8 -8
- package/lib/components/core/tab/tab.module.d.ts +8 -0
- package/lib/components/core/table/table.component.d.ts +12 -12
- package/lib/components/core/tooltip/tooltip.directive.d.ts +3 -3
- package/lib/components/form/checkbox/checkbox.component.d.ts +12 -10
- package/lib/components/form/form.module.d.ts +16 -0
- package/lib/components/form/input/input.component.d.ts +18 -13
- package/lib/components/form/password-input/password-input.component.d.ts +11 -6
- package/lib/components/form/radio-button/radio-button.component.d.ts +6 -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 +11 -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 +4 -4
- package/lib/components/form/upload-file-list/upload-file-list.component.d.ts +6 -6
- package/lib/components/navigation/back-button/back-button.component.d.ts +3 -3
- package/lib/components/navigation/back-to-top/back-to-top.component.d.ts +7 -7
- package/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.d.ts +6 -6
- 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 +6 -6
- package/lib/components/utils/error-page/error-page.component.d.ts +6 -6
- package/lib/components/utils/icon/icon.component.d.ts +7 -7
- package/lib/components/utils/language-switcher/language-switcher.component.d.ts +4 -4
- package/lib/design-angular-kit.module.d.ts +3 -4
- package/lib/interfaces/core.d.ts +16 -16
- package/lib/interfaces/form.d.ts +3 -3
- package/lib/interfaces/icon.d.ts +4 -4
- package/lib/pipes/mark-matching-text.pipe.d.ts +4 -4
- package/lib/services/{notifications/notifications.service.d.ts → notification/notification.service.d.ts} +3 -3
- package/lib/utils/boolean-input.d.ts +1 -1
- package/lib/utils/regex.d.ts +5 -0
- package/lib/validators/it-validators.d.ts +4 -0
- package/package.json +13 -19
- package/public_api.d.ts +13 -4
- package/esm2020/lib/abstracts/abstract-form.component.mjs +0 -188
- package/esm2020/lib/abstracts/abstract.component.mjs +0 -45
- package/esm2020/lib/components/components.module.mjs +0 -256
- package/esm2020/lib/components/core/accordion/accordion.component.mjs +0 -35
- package/esm2020/lib/components/core/alert/alert.component.mjs +0 -73
- package/esm2020/lib/components/core/badge/badge.directive.mjs +0 -37
- package/esm2020/lib/components/core/button/button.directive.mjs +0 -84
- package/esm2020/lib/components/core/callout/callout.component.mjs +0 -57
- package/esm2020/lib/components/core/card/card.component.mjs +0 -64
- package/esm2020/lib/components/core/carousel/carousel/carousel.component.mjs +0 -89
- package/esm2020/lib/components/core/carousel/carousel-item/carousel-item.component.mjs +0 -19
- package/esm2020/lib/components/core/chip/chip.component.mjs +0 -89
- package/esm2020/lib/components/core/collapse/collapse.component.mjs +0 -101
- 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 -130
- package/esm2020/lib/components/core/dropdown/dropdown-item/dropdown-item.component.mjs +0 -68
- package/esm2020/lib/components/core/forward/forward.directive.mjs +0 -52
- package/esm2020/lib/components/core/link/link.component.mjs +0 -40
- package/esm2020/lib/components/core/list/list/list.component.mjs +0 -17
- package/esm2020/lib/components/core/list/list-item/list-item.component.mjs +0 -41
- package/esm2020/lib/components/core/modal/modal.component.mjs +0 -163
- package/esm2020/lib/components/core/notifications/notifications.component.mjs +0 -110
- package/esm2020/lib/components/core/pagination/pagination.component.mjs +0 -131
- package/esm2020/lib/components/core/popover/popover.directive.mjs +0 -174
- 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/rating/rating.component.mjs +0 -49
- package/esm2020/lib/components/core/spinner/spinner.component.mjs +0 -35
- package/esm2020/lib/components/core/steppers/steppers-container/steppers-container.component.mjs +0 -127
- package/esm2020/lib/components/core/steppers/steppers-item/steppers-item.component.mjs +0 -19
- package/esm2020/lib/components/core/tab/tab-container/tab-container.component.mjs +0 -59
- 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 -141
- package/esm2020/lib/components/form/checkbox/checkbox.component.mjs +0 -40
- package/esm2020/lib/components/form/input/input.component.mjs +0 -232
- package/esm2020/lib/components/form/password-input/password-input.component.mjs +0 -152
- package/esm2020/lib/components/form/radio-button/radio-button.component.mjs +0 -68
- 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 -139
- package/esm2020/lib/components/form/upload-file-list/upload-file-list.component.mjs +0 -104
- 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 -64
- package/esm2020/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.mjs +0 -56
- package/esm2020/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.mjs +0 -23
- package/esm2020/lib/components/navigation/header/header.component.mjs +0 -57
- package/esm2020/lib/components/utils/error-page/error-page.component.mjs +0 -79
- package/esm2020/lib/components/utils/icon/icon.component.mjs +0 -55
- package/esm2020/lib/components/utils/language-switcher/language-switcher.component.mjs +0 -39
- package/esm2020/lib/design-angular-kit.module.mjs +0 -68
- package/esm2020/lib/interfaces/icon.mjs +0 -162
- package/esm2020/lib/pipes/mark-matching-text.pipe.mjs +0 -36
- package/esm2020/lib/services/notifications/notifications.service.mjs +0 -120
- package/esm2020/lib/utils/file-utils.mjs +0 -73
- package/esm2020/lib/utils/regex.mjs +0 -26
- package/esm2020/lib/validators/it-validators.mjs +0 -147
- package/esm2020/public_api.mjs +0 -74
- package/fesm2015/design-angular-kit.mjs +0 -4422
- package/fesm2015/design-angular-kit.mjs.map +0 -1
- package/fesm2020/design-angular-kit.mjs +0 -4354
- package/fesm2020/design-angular-kit.mjs.map +0 -1
- package/lib/components/core/rating/rating.component.d.ts +0 -24
- /package/{esm2020 → esm2022}/design-angular-kit.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/design-angular-kit-config.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/interfaces/core.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/interfaces/design-angular-kit-init.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/interfaces/utils.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/utils/boolean-input.mjs +0 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { ItAbstractFormComponent } from '../../../abstracts/abstract-form.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ItRatingComponent extends ItAbstractFormComponent<number | null | undefined> implements OnInit, OnChanges {
|
|
5
|
+
/**
|
|
6
|
+
* The rating value
|
|
7
|
+
*/
|
|
8
|
+
value: number | undefined;
|
|
9
|
+
/**
|
|
10
|
+
* Number of stars to show
|
|
11
|
+
* @default 5
|
|
12
|
+
*/
|
|
13
|
+
starCount: number;
|
|
14
|
+
protected stars: Array<number>;
|
|
15
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
16
|
+
ngOnInit(): void;
|
|
17
|
+
/**
|
|
18
|
+
* Generate the array of stars
|
|
19
|
+
* @private
|
|
20
|
+
*/
|
|
21
|
+
private generateStars;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItRatingComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItRatingComponent, "it-rating", never, { "value": { "alias": "value"; "required": false; }; "starCount": { "alias": "starCount"; "required": false; }; }, {}, never, never, true, never>;
|
|
24
|
+
}
|
|
@@ -1,20 +1,25 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { ItAbstractFormComponent } from '../../../abstracts/abstract-form.component';
|
|
3
3
|
import { SelectControlGroup, SelectControlOption } from '../../../interfaces/form';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class
|
|
5
|
+
export declare class ItSelectComponent extends ItAbstractFormComponent implements OnInit {
|
|
6
6
|
/**
|
|
7
7
|
* The select options
|
|
8
8
|
*/
|
|
9
|
-
options
|
|
9
|
+
options: Array<SelectControlOption> | undefined;
|
|
10
10
|
/**
|
|
11
11
|
* The select group options
|
|
12
12
|
*/
|
|
13
|
-
groups
|
|
13
|
+
groups: Array<SelectControlGroup> | undefined;
|
|
14
14
|
/**
|
|
15
15
|
* The select description
|
|
16
16
|
*/
|
|
17
17
|
description?: string;
|
|
18
|
+
/**
|
|
19
|
+
* If set, add a `disabled selected` option with value `null` and as text the value of the attribute
|
|
20
|
+
* @example 'Select an option'
|
|
21
|
+
*/
|
|
22
|
+
defaultOption?: string;
|
|
18
23
|
ngOnInit(): void;
|
|
19
24
|
/**
|
|
20
25
|
* Check if the option is selected
|
|
@@ -26,6 +31,6 @@ export declare class SelectComponent extends AbstractFormComponent implements On
|
|
|
26
31
|
* @param option the option
|
|
27
32
|
*/
|
|
28
33
|
optionIsDisabled(option: SelectControlOption): boolean;
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItSelectComponent, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItSelectComponent, "it-select", never, { "options": { "alias": "options"; "required": false; }; "groups": { "alias": "groups"; "required": false; }; "description": { "alias": "description"; "required": false; }; "defaultOption": { "alias": "defaultOption"; "required": false; }; }, {}, never, ["*", "[error]"], true, never>;
|
|
31
36
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ItAbstractFormComponent } from '../../../abstracts/abstract-form.component';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class
|
|
4
|
+
export declare class ItTextareaComponent extends ItAbstractFormComponent<string | null | undefined> {
|
|
5
5
|
/**
|
|
6
6
|
* Textarea Rows
|
|
7
7
|
* @default 3
|
|
@@ -14,11 +14,11 @@ export declare class TextareaComponent extends AbstractFormComponent<string> {
|
|
|
14
14
|
/**
|
|
15
15
|
* The input description
|
|
16
16
|
*/
|
|
17
|
-
description
|
|
17
|
+
description: string | undefined;
|
|
18
18
|
/**
|
|
19
19
|
* Return the invalid message string from TranslateService
|
|
20
20
|
*/
|
|
21
21
|
get invalidMessage(): Observable<string>;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItTextareaComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItTextareaComponent, "it-textarea", never, { "rows": { "alias": "rows"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "description": { "alias": "description"; "required": false; }; }, {}, never, ["[error]"], true, never>;
|
|
24
24
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { AfterViewInit, EventEmitter } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { ItAbstractComponent } from '../../../abstracts/abstract.component';
|
|
3
3
|
import { ProgressDonut } from 'bootstrap-italia';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class
|
|
5
|
+
export declare class ItUploadDragDropComponent extends ItAbstractComponent implements AfterViewInit {
|
|
6
6
|
/**
|
|
7
7
|
* The accepted file type to upload <br>
|
|
8
8
|
* Possible values: <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types">MIME Types</a> separated by comma
|
|
@@ -49,6 +49,6 @@ export declare class UploadDragDropComponent extends AbstractComponent implement
|
|
|
49
49
|
* Reset file uploader
|
|
50
50
|
*/
|
|
51
51
|
reset(): void;
|
|
52
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
53
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
52
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItUploadDragDropComponent, never>;
|
|
53
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItUploadDragDropComponent, "it-upload-drag-drop", ["itUploadDragDrop"], { "accept": { "alias": "accept"; "required": false; }; }, { "fileStartUpload": "fileStartUpload"; }, never, never, true, never>;
|
|
54
54
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { ItAbstractComponent } from '../../../abstracts/abstract.component';
|
|
3
3
|
import { BooleanInput } from '../../../utils/boolean-input';
|
|
4
4
|
import { UploadFileListItem } from '../../../interfaces/form';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class
|
|
6
|
+
export declare class ItUploadFileListComponent extends ItAbstractComponent implements OnInit, OnChanges {
|
|
7
7
|
/**
|
|
8
8
|
* The list of files to show in list
|
|
9
9
|
*/
|
|
@@ -22,11 +22,11 @@ export declare class UploadFileListComponent extends AbstractComponent implement
|
|
|
22
22
|
/**
|
|
23
23
|
* If is file list image
|
|
24
24
|
*/
|
|
25
|
-
images
|
|
25
|
+
images: BooleanInput | undefined;
|
|
26
26
|
/**
|
|
27
27
|
* Hide the load button
|
|
28
28
|
*/
|
|
29
|
-
hideLoadButton
|
|
29
|
+
hideLoadButton: BooleanInput | undefined;
|
|
30
30
|
/**
|
|
31
31
|
* Fired when upload new files
|
|
32
32
|
*/
|
|
@@ -54,6 +54,6 @@ export declare class UploadFileListComponent extends AbstractComponent implement
|
|
|
54
54
|
* @param file
|
|
55
55
|
*/
|
|
56
56
|
getFileSize(file: File): string;
|
|
57
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
58
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
57
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItUploadFileListComponent, never>;
|
|
58
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItUploadFileListComponent, "it-upload-file-list[fileList]", never, { "fileList": { "alias": "fileList"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "images": { "alias": "images"; "required": false; }; "hideLoadButton": { "alias": "hideLoadButton"; "required": false; }; }, { "uploadFiles": "uploadFiles"; "deleteItem": "deleteItem"; }, never, never, true, never>;
|
|
59
59
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Location } from '@angular/common';
|
|
2
2
|
import { BooleanInput } from '../../../utils/boolean-input';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class
|
|
4
|
+
export declare class ItBackButtonComponent {
|
|
5
5
|
readonly _location: Location;
|
|
6
6
|
/**
|
|
7
7
|
* Back button style
|
|
@@ -42,6 +42,6 @@ export declare class BackButtonComponent {
|
|
|
42
42
|
* Go back function
|
|
43
43
|
*/
|
|
44
44
|
goBack(event: Event): void;
|
|
45
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
46
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
45
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItBackButtonComponent, never>;
|
|
46
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItBackButtonComponent, "it-back-button", ["itBackButton"], { "buttonStyle": { "alias": "buttonStyle"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; "showIcon": { "alias": "showIcon"; "required": false; }; "showText": { "alias": "showText"; "required": false; }; "backFn": { "alias": "backFn"; "required": false; }; }, {}, never, never, true, never>;
|
|
47
47
|
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { AfterViewInit } from '@angular/core';
|
|
2
2
|
import { BooleanInput } from '../../../utils/boolean-input';
|
|
3
|
-
import {
|
|
3
|
+
import { ItAbstractComponent } from '../../../abstracts/abstract.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class
|
|
5
|
+
export declare class ItBackToTopComponent extends ItAbstractComponent implements AfterViewInit {
|
|
6
6
|
/**
|
|
7
7
|
* Show small button
|
|
8
8
|
*/
|
|
9
|
-
small
|
|
9
|
+
small: BooleanInput | undefined;
|
|
10
10
|
/**
|
|
11
11
|
* Show shadow
|
|
12
12
|
*/
|
|
13
|
-
shadow
|
|
13
|
+
shadow: BooleanInput | undefined;
|
|
14
14
|
/**
|
|
15
15
|
* Button usable button on a dark background
|
|
16
16
|
*/
|
|
17
|
-
dark
|
|
17
|
+
dark: BooleanInput | undefined;
|
|
18
18
|
private backToTop?;
|
|
19
19
|
private backToTopElement?;
|
|
20
20
|
get isSmall(): boolean;
|
|
@@ -37,6 +37,6 @@ export declare class BackToTopComponent extends AbstractComponent implements Aft
|
|
|
37
37
|
* Eliminate component features
|
|
38
38
|
*/
|
|
39
39
|
dispose(): void;
|
|
40
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
41
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItBackToTopComponent, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItBackToTopComponent, "it-back-to-top", ["itBackToTop"], { "small": { "alias": "small"; "required": false; }; "shadow": { "alias": "shadow"; "required": false; }; "dark": { "alias": "dark"; "required": false; }; }, {}, never, never, true, never>;
|
|
42
42
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { AfterViewInit, ChangeDetectorRef, OnDestroy, QueryList } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { ItBreadcrumbItemComponent } from '../breadcrumb-item/breadcrumb-item.component';
|
|
3
3
|
import { BooleanInput } from '../../../../utils/boolean-input';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class
|
|
5
|
+
export declare class ItBreadcrumbComponent implements AfterViewInit, OnDestroy {
|
|
6
6
|
private readonly _changeDetectorRef;
|
|
7
7
|
/**
|
|
8
8
|
* The character to use as separator
|
|
@@ -12,11 +12,11 @@ export declare class BreadcrumbComponent implements AfterViewInit, OnDestroy {
|
|
|
12
12
|
/**
|
|
13
13
|
* Dark style
|
|
14
14
|
*/
|
|
15
|
-
dark
|
|
15
|
+
dark: BooleanInput | undefined;
|
|
16
16
|
/**
|
|
17
17
|
* The tab items
|
|
18
18
|
*/
|
|
19
|
-
items?: QueryList<
|
|
19
|
+
items?: QueryList<ItBreadcrumbItemComponent>;
|
|
20
20
|
get isDark(): boolean;
|
|
21
21
|
private itemSubscriptions?;
|
|
22
22
|
constructor(_changeDetectorRef: ChangeDetectorRef);
|
|
@@ -27,6 +27,6 @@ export declare class BreadcrumbComponent implements AfterViewInit, OnDestroy {
|
|
|
27
27
|
* @param index
|
|
28
28
|
*/
|
|
29
29
|
protected isLastItem(index: number): boolean;
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItBreadcrumbComponent, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItBreadcrumbComponent, "it-breadcrumb", never, { "separator": { "alias": "separator"; "required": false; }; "dark": { "alias": "dark"; "required": false; }; }, {}, ["items"], never, true, never>;
|
|
32
32
|
}
|
package/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.d.ts
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { TemplateRef } from '@angular/core';
|
|
2
2
|
import { BooleanInput } from '../../../../utils/boolean-input';
|
|
3
3
|
import { IconName } from '../../../../interfaces/icon';
|
|
4
|
-
import {
|
|
4
|
+
import { ItLinkComponent } from '../../../core/link/link.component';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class
|
|
6
|
+
export declare class ItBreadcrumbItemComponent extends ItLinkComponent {
|
|
7
7
|
/**
|
|
8
8
|
* Is active breadcrumb item
|
|
9
9
|
*/
|
|
10
|
-
active
|
|
10
|
+
active: BooleanInput | undefined;
|
|
11
11
|
/**
|
|
12
12
|
* The name of icon to show
|
|
13
13
|
*/
|
|
14
|
-
iconName
|
|
14
|
+
iconName: IconName | undefined;
|
|
15
15
|
/**
|
|
16
16
|
* The content of item
|
|
17
17
|
*/
|
|
18
18
|
htmlContent: TemplateRef<any>;
|
|
19
19
|
get isActive(): boolean;
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItBreadcrumbItemComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItBreadcrumbItemComponent, "it-breadcrumb-item", never, { "active": { "alias": "active"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
22
22
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./breadcrumb/breadcrumb.component";
|
|
3
|
+
import * as i2 from "./breadcrumb-item/breadcrumb-item.component";
|
|
4
|
+
export declare class ItBreadcrumbsModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItBreadcrumbsModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ItBreadcrumbsModule, never, [typeof i1.ItBreadcrumbComponent, typeof i2.ItBreadcrumbItemComponent], [typeof i1.ItBreadcrumbComponent, typeof i2.ItBreadcrumbItemComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ItBreadcrumbsModule>;
|
|
8
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { BooleanInput } from '../../../utils/boolean-input';
|
|
3
|
-
import {
|
|
3
|
+
import { ItAbstractComponent } from '../../../abstracts/abstract.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class
|
|
6
|
-
light
|
|
5
|
+
export declare class ItHeaderComponent extends ItAbstractComponent {
|
|
6
|
+
light: BooleanInput | undefined;
|
|
7
7
|
showSlim?: BooleanInput;
|
|
8
|
-
slimTitle
|
|
8
|
+
slimTitle: string | undefined;
|
|
9
9
|
loginStyle: 'none' | 'default' | 'full';
|
|
10
10
|
smallHeader?: BooleanInput;
|
|
11
11
|
showSearch?: BooleanInput;
|
|
@@ -19,6 +19,6 @@ export declare class HeaderComponent extends AbstractComponent {
|
|
|
19
19
|
get isShowSlim(): boolean;
|
|
20
20
|
get isSmallHeader(): boolean;
|
|
21
21
|
get isShowSearch(): boolean;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItHeaderComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItHeaderComponent, "it-header", never, { "light": { "alias": "light"; "required": false; }; "showSlim": { "alias": "showSlim"; "required": false; }; "slimTitle": { "alias": "slimTitle"; "required": false; }; "loginStyle": { "alias": "loginStyle"; "required": false; }; "smallHeader": { "alias": "smallHeader"; "required": false; }; "showSearch": { "alias": "showSearch"; "required": false; }; }, { "loginClick": "loginClick"; "searchClick": "searchClick"; }, never, ["[slimLinkList]", "[slimRightZone]", "[brand]", "[rightZone]"], true, never>;
|
|
24
24
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ActivatedRoute } from '@angular/router';
|
|
2
2
|
import { BooleanInput } from '../../../utils/boolean-input';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class
|
|
4
|
+
export declare class ItErrorPageComponent {
|
|
5
5
|
private readonly route;
|
|
6
6
|
/**
|
|
7
7
|
* The error code to show
|
|
8
8
|
*/
|
|
9
|
-
errorCode
|
|
9
|
+
errorCode: number | 404 | 403 | 500 | undefined;
|
|
10
10
|
/**
|
|
11
11
|
* Show/Hide error code
|
|
12
12
|
* @default true - show
|
|
@@ -17,13 +17,13 @@ export declare class ErrorPageComponent {
|
|
|
17
17
|
* - If set it will be displayed instead of the default title.
|
|
18
18
|
* - It is possible to use i18n keys
|
|
19
19
|
*/
|
|
20
|
-
errorTitle
|
|
20
|
+
errorTitle: string | undefined;
|
|
21
21
|
/**
|
|
22
22
|
* Custom error description
|
|
23
23
|
* - If set it will be displayed instead of the default description.
|
|
24
24
|
* - It is possible to use i18n keys
|
|
25
25
|
*/
|
|
26
|
-
errorDescription
|
|
26
|
+
errorDescription: string | undefined;
|
|
27
27
|
/**
|
|
28
28
|
* Show/Hide back button
|
|
29
29
|
* @default true - show
|
|
@@ -39,6 +39,6 @@ export declare class ErrorPageComponent {
|
|
|
39
39
|
get isShowErrorCode(): boolean;
|
|
40
40
|
get isShowBackButton(): boolean;
|
|
41
41
|
get isShowHomeButton(): boolean;
|
|
42
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
43
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItErrorPageComponent, never>;
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItErrorPageComponent, "it-error-page", never, { "errorCode": { "alias": "errorCode"; "required": false; }; "showErrorCode": { "alias": "showErrorCode"; "required": false; }; "errorTitle": { "alias": "errorTitle"; "required": false; }; "errorDescription": { "alias": "errorDescription"; "required": false; }; "showBackButton": { "alias": "showBackButton"; "required": false; }; "showHomeButton": { "alias": "showHomeButton"; "required": false; }; }, {}, never, never, true, never>;
|
|
44
44
|
}
|
|
@@ -2,7 +2,7 @@ import { IconColor, IconName, IconSize } from '../../../interfaces/icon';
|
|
|
2
2
|
import { BooleanInput } from '../../../utils/boolean-input';
|
|
3
3
|
import { DesignAngularKitConfig } from '../../../design-angular-kit-config';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class
|
|
5
|
+
export declare class ItIconComponent {
|
|
6
6
|
private readonly config;
|
|
7
7
|
/**
|
|
8
8
|
* The icon name
|
|
@@ -11,19 +11,19 @@ export declare class IconComponent {
|
|
|
11
11
|
/**
|
|
12
12
|
* The icon size
|
|
13
13
|
*/
|
|
14
|
-
size
|
|
14
|
+
size: IconSize | undefined;
|
|
15
15
|
/**
|
|
16
16
|
* The icon color
|
|
17
17
|
*/
|
|
18
|
-
color
|
|
18
|
+
color: IconColor | undefined;
|
|
19
19
|
/**
|
|
20
20
|
* Create a padding proportional to the size of the surrounding icon.
|
|
21
21
|
*/
|
|
22
|
-
padded
|
|
22
|
+
padded: BooleanInput | undefined;
|
|
23
23
|
/**
|
|
24
24
|
* Custom class of svg
|
|
25
25
|
*/
|
|
26
|
-
svgClass
|
|
26
|
+
svgClass: string | undefined;
|
|
27
27
|
/**
|
|
28
28
|
* Return the icon href
|
|
29
29
|
*/
|
|
@@ -33,6 +33,6 @@ export declare class IconComponent {
|
|
|
33
33
|
*/
|
|
34
34
|
get iconClass(): string;
|
|
35
35
|
constructor(config: DesignAngularKitConfig);
|
|
36
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
37
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItIconComponent, never>;
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItIconComponent, "it-icon[name]", never, { "name": { "alias": "name"; "required": false; }; "size": { "alias": "size"; "required": false; }; "color": { "alias": "color"; "required": false; }; "padded": { "alias": "padded"; "required": false; }; "svgClass": { "alias": "svgClass"; "required": false; }; }, {}, never, never, true, never>;
|
|
38
38
|
}
|
|
@@ -3,13 +3,13 @@ import { Observable } from 'rxjs';
|
|
|
3
3
|
import { TranslateService } from '@ngx-translate/core';
|
|
4
4
|
import { AvailableLanguage } from '../../../interfaces/utils';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class
|
|
6
|
+
export declare class ItLanguageSwitcherComponent implements OnInit {
|
|
7
7
|
private readonly translateService;
|
|
8
8
|
/**
|
|
9
9
|
* The available languages
|
|
10
10
|
* @default The languages available through TranslateService (ngx-translate)
|
|
11
11
|
*/
|
|
12
|
-
availableLanguages
|
|
12
|
+
availableLanguages: Array<AvailableLanguage> | undefined;
|
|
13
13
|
protected currentLang$: Observable<AvailableLanguage | undefined>;
|
|
14
14
|
constructor(translateService: TranslateService);
|
|
15
15
|
ngOnInit(): void;
|
|
@@ -18,6 +18,6 @@ export declare class LanguageSwitcherComponent implements OnInit {
|
|
|
18
18
|
* @param lang the language code
|
|
19
19
|
*/
|
|
20
20
|
changeLanguage(lang: string): void;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItLanguageSwitcherComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItLanguageSwitcherComponent, "it-language-switcher", never, { "availableLanguages": { "alias": "availableLanguages"; "required": false; }; }, {}, never, never, true, never>;
|
|
23
23
|
}
|
|
@@ -2,14 +2,13 @@ import { ModuleWithProviders } from '@angular/core';
|
|
|
2
2
|
import { TranslateService } from '@ngx-translate/core';
|
|
3
3
|
import { DesignAngularKitInit } from './interfaces/design-angular-kit-init';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "
|
|
6
|
-
import * as i2 from "@
|
|
7
|
-
import * as i3 from "@ngx-translate/core";
|
|
5
|
+
import * as i1 from "@angular/common/http";
|
|
6
|
+
import * as i2 from "@ngx-translate/core";
|
|
8
7
|
export declare class DesignAngularKitModule {
|
|
9
8
|
private readonly translateService;
|
|
10
9
|
static forRoot(initConfig?: DesignAngularKitInit): ModuleWithProviders<DesignAngularKitModule>;
|
|
11
10
|
constructor(translateService: TranslateService);
|
|
12
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<DesignAngularKitModule, never>;
|
|
13
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DesignAngularKitModule, never, [typeof i1.
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DesignAngularKitModule, never, [typeof i1.HttpClientModule, typeof i2.TranslateModule], never>;
|
|
14
13
|
static ɵinj: i0.ɵɵInjectorDeclaration<DesignAngularKitModule>;
|
|
15
14
|
}
|
package/lib/interfaces/core.d.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { IconName } from './icon';
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
export
|
|
14
|
-
export
|
|
15
|
-
export
|
|
16
|
-
export
|
|
17
|
-
export
|
|
2
|
+
export type AlertColor = 'info' | 'success' | 'warning' | 'danger';
|
|
3
|
+
export type ButtonColor = 'primary' | 'outline-primary' | 'secondary' | 'outline-secondary' | 'success' | 'outline-success' | 'danger' | 'outline-danger' | 'warning' | 'outline-warning' | 'info' | 'outline-info' | 'light' | 'outline-light' | 'dark' | 'outline-dark' | 'link';
|
|
4
|
+
export type ButtonSize = 'lg' | 'sm' | 'xs';
|
|
5
|
+
export type ButtonType = 'submit' | 'button';
|
|
6
|
+
export type CalloutColor = 'success' | 'warning' | 'danger' | 'important' | 'note';
|
|
7
|
+
export type CalloutAppearance = 'default' | 'highlight' | 'more';
|
|
8
|
+
export type ChipColor = 'primary' | 'secondary' | 'success' | 'danger' | 'warning';
|
|
9
|
+
export type ElementPlacement = 'top' | 'bottom' | 'left' | 'right';
|
|
10
|
+
export type ProgressBarColor = 'primary' | 'success' | 'warning' | 'danger' | 'info';
|
|
11
|
+
export type BadgeColor = 'primary' | 'secondary' | 'success' | 'warning' | 'danger';
|
|
12
|
+
export type TableColor = 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark';
|
|
13
|
+
export type TableHeadColor = 'light' | 'dark';
|
|
14
|
+
export type TableResponsive = 'responsive' | 'responsive-sm' | 'responsive-md' | 'responsive-lg' | 'responsive-xl' | 'responsive-xxl';
|
|
15
|
+
export type VerticalAlignment = 'align-baseline' | 'align-top' | 'align-middle' | 'align-bottom' | 'align-text-bottom' | 'align-text-top';
|
|
16
|
+
export type DropdownDirection = 'dropup' | 'dropend' | 'dropstart';
|
|
17
|
+
export type CarouselType = 'default' | 'three-cols' | 'three-cols-arrow-visible';
|
|
18
18
|
export interface Notification {
|
|
19
19
|
/**
|
|
20
20
|
* Notification type
|
package/lib/interfaces/form.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IconName } from './icon';
|
|
2
|
-
export
|
|
2
|
+
export type InputControlType = 'text' | 'email' | 'number' | 'date' | 'time' | 'tel' | 'color' | 'url' | 'search';
|
|
3
3
|
export interface SelectControlOption {
|
|
4
4
|
value: any;
|
|
5
5
|
text?: string;
|
|
@@ -46,7 +46,7 @@ export interface UploadFileListItem {
|
|
|
46
46
|
/**
|
|
47
47
|
* Elemento disponibile per l'autocompletamento del it-form-input
|
|
48
48
|
*/
|
|
49
|
-
export interface AutocompleteItem {
|
|
49
|
+
export interface AutocompleteItem<T = any> {
|
|
50
50
|
/** Valore voce di autocompletamento */
|
|
51
51
|
value: string;
|
|
52
52
|
/** Opzionale. Path in cui ricercare l'immagine dell'avatar da posizionare a sinistra della voce di autocompletamento */
|
|
@@ -63,5 +63,5 @@ export interface AutocompleteItem {
|
|
|
63
63
|
* Attribute not used for autocomplete rendering.
|
|
64
64
|
* It can be useful to retrieve some extra information when selecting the autocomplete item
|
|
65
65
|
*/
|
|
66
|
-
additionalData?:
|
|
66
|
+
additionalData?: T;
|
|
67
67
|
}
|
package/lib/interfaces/icon.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export declare const IconNameArray: readonly ["arrow-down", "arrow-down-circle", "arrow-down-triangle", "arrow-left", "arrow-left-circle", "arrow-left-triangle", "arrow-right", "arrow-right-circle", "arrow-right-triangle", "arrow-up", "arrow-up-circle", "arrow-up-triangle", "ban", "bookmark", "box", "burger", "calendar", "camera", "card", "chart-line", "check", "check-circle", "chevron-left", "chevron-right", "clip", "clock", "close", "close-big", "close-circle", "comment", "copy", "delete", "download", "error", "exchange-circle", "expand", "external-link", "flag", "folder", "fullscreen", "funnel", "hearing", "help", "help-circle", "horn", "inbox", "info-circle", "key", "link", "list", "locked", "logout", "mail", "mail-open", "map-marker", "map-marker-circle", "map-marker-minus", "map-marker-plus", "maximize", "maximize-alt", "minimize", "minus", "minus-circle", "more-actions", "more-items", "note", "pa", "password-invisible", "password-visible", "pencil", "piattaforme", "pin", "plug", "plus", "plus-circle", "presentation", "print", "refresh", "restore", "rss", "rss-square", "search", "settings", "share", "software", "star-full", "star-outline", "telephone", "tool", "unlocked", "upload", "user", "video", "warning", "warning-circle", "wifi", "zoom-in", "zoom-out", "file", "files", "file-audio", "file-compressed", "file-csv", "file-json", "file-odp", "file-ods", "file-odt", "file-pdf", "file-pdf-ext", "file-sheet", "file-slides", "file-txt", "file-video", "file-xml", "behance", "facebook", "facebook-square", "figma", "figma-square", "flickr", "flickr-square", "github", "instagram", "linkedin", "linkedin-square", "mastodon", "mastodon-square", "medium", "medium-square", "pinterest", "pinterest-square", "quora", "quora-square", "reddit", "reddit-square", "slack", "slack-square", "snapchat", "snapchat-square", "stackexchange", "stackexchange-square", "stackoverflow", "stackoverflow-square", "telegram", "tiktok", "tiktok-square", "twitter", "twitter-square", "vimeo", "vimeo-square", "whatsapp", "whatsapp-square", "youtube", "google", "designers-italia", "team-digitale"];
|
|
1
|
+
export type IconSize = 'xs' | 'sm' | 'lg' | 'xl';
|
|
2
|
+
export type IconColor = 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'light' | 'white';
|
|
3
|
+
export type IconName = typeof IconNameArray[number];
|
|
4
|
+
export declare const IconNameArray: readonly ["arrow-down", "arrow-down-circle", "arrow-down-triangle", "arrow-left", "arrow-left-circle", "arrow-left-triangle", "arrow-right", "arrow-right-circle", "arrow-right-triangle", "arrow-up", "arrow-up-circle", "arrow-up-triangle", "ban", "bookmark", "box", "burger", "calendar", "camera", "card", "chart-line", "check", "check-circle", "chevron-left", "chevron-right", "clip", "clock", "close", "close-big", "close-circle", "comment", "copy", "delete", "download", "error", "exchange-circle", "expand", "external-link", "flag", "folder", "fullscreen", "funnel", "hearing", "help", "help-circle", "horn", "inbox", "info-circle", "key", "link", "list", "locked", "logout", "mail", "mail-open", "map-marker", "map-marker-circle", "map-marker-minus", "map-marker-plus", "maximize", "maximize-alt", "minimize", "minus", "minus-circle", "more-actions", "more-items", "note", "pa", "password-invisible", "password-visible", "pencil", "piattaforme", "pin", "plug", "plus", "plus-circle", "presentation", "print", "refresh", "restore", "rss", "rss-square", "search", "settings", "share", "software", "star-full", "star-outline", "telephone", "tool", "unlocked", "upload", "user", "video", "warning", "warning-circle", "wifi", "zoom-in", "zoom-out", "file", "files", "file-audio", "file-compressed", "file-csv", "file-json", "file-odp", "file-ods", "file-odt", "file-pdf", "file-pdf-ext", "file-sheet", "file-slides", "file-ppt", "file-txt", "file-video", "file-xml", "behance", "facebook", "facebook-square", "figma", "figma-square", "flickr", "flickr-square", "github", "instagram", "linkedin", "linkedin-square", "mastodon", "mastodon-square", "medium", "medium-square", "moodle", "moodle-square", "pinterest", "pinterest-square", "quora", "quora-square", "reddit", "reddit-square", "slack", "slack-square", "snapchat", "snapchat-square", "stackexchange", "stackexchange-square", "stackoverflow", "stackoverflow-square", "telegram", "tiktok", "tiktok-square", "twitter", "twitter-square", "vimeo", "vimeo-square", "whatsapp", "whatsapp-square", "youtube", "google", "designers-italia", "team-digitale"];
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { PipeTransform } from
|
|
2
|
-
import { DomSanitizer } from
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { DomSanitizer } from '@angular/platform-browser';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class MarkMatchingTextPipe implements PipeTransform {
|
|
5
|
-
private domSanitizer;
|
|
5
|
+
private readonly domSanitizer;
|
|
6
6
|
constructor(domSanitizer: DomSanitizer);
|
|
7
7
|
transform(allString: string, searchString: string): any;
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<MarkMatchingTextPipe, never>;
|
|
9
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<MarkMatchingTextPipe, "markMatchingText",
|
|
9
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<MarkMatchingTextPipe, "markMatchingText", true>;
|
|
10
10
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
2
|
import { Notification, NotificationPosition, NotificationType } from '../../interfaces/core';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class
|
|
4
|
+
export declare class ItNotificationService {
|
|
5
5
|
private subject;
|
|
6
6
|
/**
|
|
7
7
|
* Listen on notification arrived
|
|
@@ -58,6 +58,6 @@ export declare class NotificationsService {
|
|
|
58
58
|
* @param position notification position
|
|
59
59
|
*/
|
|
60
60
|
info(title: string, message?: string, dismissible?: boolean, duration?: number, position?: NotificationPosition): void;
|
|
61
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
62
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
61
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItNotificationService, never>;
|
|
62
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ItNotificationService>;
|
|
63
63
|
}
|
package/lib/utils/regex.d.ts
CHANGED