design-angular-kit 1.0.0-1 → 1.0.0-3
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 +152 -18
- package/assets/i18n/it.json +81 -0
- package/esm2020/lib/abstracts/abstract-form-component.mjs +165 -0
- package/esm2020/lib/abstracts/abstract.component.mjs +20 -0
- package/esm2020/lib/components/core/accordion/accordion.component.mjs +20 -0
- package/esm2020/lib/components/core/alert/alert.component.mjs +29 -0
- package/esm2020/lib/components/core/badge/badge.directive.mjs +34 -0
- package/esm2020/lib/components/core/button/button.directive.mjs +78 -0
- package/esm2020/lib/components/core/callout/callout.component.mjs +84 -0
- package/esm2020/lib/components/core/card/card.component.mjs +58 -0
- package/esm2020/lib/components/core/carousel/carousel/carousel.component.mjs +66 -0
- package/esm2020/lib/components/core/carousel/carousel-item/carousel-item.component.mjs +14 -0
- package/esm2020/lib/components/core/chip/chip.component.mjs +89 -0
- package/esm2020/lib/components/core/collapse/collapse.component.mjs +96 -0
- package/esm2020/lib/components/core/dimmer/dimmer-buttons/dimmer-buttons.component.mjs +24 -0
- package/esm2020/lib/components/core/dimmer/dimmer-icon/dimmer-icon.component.mjs +11 -0
- package/esm2020/lib/components/core/dimmer/dimmer.component.mjs +59 -0
- package/esm2020/lib/components/core/dropdown/dropdown/dropdown.component.mjs +60 -0
- package/esm2020/lib/components/core/dropdown/dropdown-item/dropdown-item.component.mjs +71 -0
- package/esm2020/lib/components/core/forward/forward.directive.mjs +51 -0
- package/esm2020/lib/components/core/link/link.component.mjs +39 -0
- package/esm2020/lib/components/core/list/list/list.component.mjs +13 -0
- package/esm2020/lib/components/core/list/list-item/list-item.component.mjs +36 -0
- package/esm2020/lib/components/core/modal/modal.component.mjs +98 -0
- package/esm2020/lib/components/core/notifications/notifications.component.mjs +66 -0
- package/esm2020/lib/components/core/pagination/pagination.component.mjs +51 -0
- package/esm2020/lib/components/core/popover/popover.directive.mjs +176 -0
- package/esm2020/lib/components/core/progress-bar/progress-bar.component.mjs +34 -0
- package/esm2020/lib/components/core/progress-button/progress-button.component.mjs +27 -0
- package/esm2020/lib/components/core/spinner/spinner.component.mjs +35 -0
- package/esm2020/lib/components/core/tab/tab-container/tab-container.component.mjs +33 -0
- package/esm2020/lib/components/core/tab/tab-item/tab-item.component.mjs +36 -0
- package/esm2020/lib/components/core/table/table.component.mjs +57 -0
- package/esm2020/lib/components/core/tooltip/tooltip.directive.mjs +140 -0
- package/esm2020/lib/components/form/checkbox/checkbox.component.mjs +40 -0
- package/esm2020/lib/components/form/input/input.component.mjs +226 -0
- package/esm2020/lib/components/form/password-input/password-input.component.mjs +112 -0
- package/esm2020/lib/components/form/radio-button/radio-button.component.mjs +53 -0
- package/esm2020/lib/components/form/select/select.component.mjs +62 -0
- package/esm2020/lib/components/form/textarea/textarea.component.mjs +46 -0
- package/esm2020/lib/components/form/upload-drag-drop/upload-drag-drop.component.mjs +134 -0
- package/esm2020/lib/components/form/upload-file-list/upload-file-list.component.mjs +99 -0
- package/esm2020/lib/components/navigation/back-button/back-button.component.mjs +69 -0
- package/esm2020/lib/components/navigation/back-to-top/back-to-top.component.mjs +39 -0
- package/esm2020/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.mjs +45 -0
- package/esm2020/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.mjs +23 -0
- package/esm2020/lib/components/navigation/header/header.component.mjs +61 -0
- package/esm2020/lib/components/utils/icon/icon.component.mjs +54 -0
- package/esm2020/lib/components/utils/not-found-page/not-found-page.component.mjs +13 -0
- package/esm2020/lib/design-angular-kit.module.mjs +32 -132
- package/esm2020/lib/interfaces/core.mjs +16 -0
- package/esm2020/lib/interfaces/form.mjs +2 -0
- package/esm2020/lib/interfaces/icon.mjs +2 -0
- package/esm2020/lib/modules/components.module.mjs +245 -0
- package/esm2020/lib/pipes/mark-matching-text.pipe.mjs +36 -0
- package/esm2020/lib/services/notifications/notifications.service.mjs +122 -0
- package/esm2020/lib/utils/boolean-input.mjs +15 -0
- package/esm2020/lib/utils/file-utils.mjs +65 -0
- package/esm2020/lib/utils/regex.mjs +26 -0
- package/esm2020/lib/validators/it-validators.mjs +131 -0
- package/esm2020/public_api.mjs +62 -36
- package/fesm2015/design-angular-kit.mjs +2856 -2640
- package/fesm2015/design-angular-kit.mjs.map +1 -1
- package/fesm2020/design-angular-kit.mjs +2837 -2640
- package/fesm2020/design-angular-kit.mjs.map +1 -1
- package/lib/abstracts/abstract-form-component.d.ts +84 -0
- package/lib/abstracts/abstract.component.d.ts +14 -0
- package/lib/components/core/accordion/accordion.component.d.ts +16 -0
- package/lib/components/core/alert/alert.component.d.ts +17 -0
- package/lib/components/core/badge/badge.directive.d.ts +16 -0
- package/lib/components/core/button/button.directive.d.ts +38 -0
- package/lib/components/core/callout/callout.component.d.ts +47 -0
- package/lib/components/core/card/card.component.d.ts +41 -0
- package/lib/components/core/carousel/carousel/carousel.component.d.ts +46 -0
- package/lib/components/core/carousel/carousel-item/carousel-item.component.d.ts +10 -0
- package/lib/components/core/chip/chip.component.d.ts +62 -0
- package/lib/components/core/collapse/collapse.component.d.ts +59 -0
- package/lib/components/core/dimmer/dimmer-buttons/dimmer-buttons.component.d.ts +12 -0
- package/lib/components/core/dimmer/dimmer-icon/dimmer-icon.component.d.ts +5 -0
- package/lib/components/core/dimmer/dimmer.component.d.ts +24 -0
- package/lib/components/core/dropdown/dropdown/dropdown.component.d.ts +43 -0
- package/lib/components/core/dropdown/dropdown-item/dropdown-item.component.d.ts +44 -0
- package/lib/components/core/forward/forward.directive.d.ts +14 -0
- package/lib/components/core/link/link.component.d.ts +34 -0
- package/lib/components/core/list/list/list.component.d.ts +10 -0
- package/lib/components/core/list/list-item/list-item.component.d.ts +24 -0
- package/lib/components/core/modal/modal.component.d.ts +59 -0
- package/lib/components/core/notifications/notifications.component.d.ts +30 -0
- package/lib/components/core/pagination/pagination.component.d.ts +31 -0
- package/lib/components/core/popover/popover.directive.d.ts +97 -0
- package/lib/components/core/progress-bar/progress-bar.component.d.ts +28 -0
- package/lib/components/core/progress-button/progress-button.component.d.ts +22 -0
- package/lib/components/core/spinner/spinner.component.d.ts +21 -0
- package/lib/components/core/tab/tab-container/tab-container.component.d.ts +28 -0
- package/lib/components/core/tab/tab-item/tab-item.component.d.ts +34 -0
- package/lib/components/core/table/table.component.d.ts +54 -0
- package/lib/components/core/tooltip/tooltip.directive.d.ts +80 -0
- package/lib/components/form/checkbox/checkbox.component.d.ts +30 -0
- package/lib/components/form/input/input.component.d.ts +94 -0
- package/lib/components/form/password-input/password-input.component.d.ts +54 -0
- package/lib/components/form/radio-button/radio-button.component.d.ts +29 -0
- package/lib/components/form/select/select.component.d.ts +30 -0
- package/lib/components/form/textarea/textarea.component.d.ts +24 -0
- package/lib/components/form/upload-drag-drop/upload-drag-drop.component.d.ts +53 -0
- package/lib/components/form/upload-file-list/upload-file-list.component.d.ts +57 -0
- package/lib/components/navigation/back-button/back-button.component.d.ts +47 -0
- package/lib/components/navigation/back-to-top/back-to-top.component.d.ts +27 -0
- package/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.d.ts +30 -0
- package/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.d.ts +22 -0
- package/lib/components/navigation/header/header.component.d.ts +28 -0
- package/lib/components/utils/icon/icon.component.d.ts +40 -0
- package/lib/components/utils/not-found-page/not-found-page.component.d.ts +5 -0
- package/lib/design-angular-kit.module.d.ts +4 -24
- package/lib/interfaces/core.d.ts +36 -0
- package/lib/interfaces/form.d.ts +61 -0
- package/lib/interfaces/icon.d.ts +3 -0
- package/lib/modules/components.module.d.ts +58 -0
- package/lib/{form-input → pipes}/mark-matching-text.pipe.d.ts +0 -0
- package/lib/services/notifications/notifications.service.d.ts +63 -0
- package/lib/utils/boolean-input.d.ts +11 -0
- package/lib/utils/file-utils.d.ts +27 -0
- package/lib/utils/regex.d.ts +25 -0
- package/lib/validators/it-validators.d.ts +58 -0
- package/package.json +20 -13
- package/public_api.d.ts +54 -35
- package/esm2020/lib/badge/badge.directive.mjs +0 -83
- package/esm2020/lib/breadcrumb/breadcrumb-item.component.mjs +0 -66
- package/esm2020/lib/breadcrumb/breadcrumb.component.mjs +0 -89
- package/esm2020/lib/button/button.directive.mjs +0 -185
- package/esm2020/lib/button/button.module.mjs +0 -18
- package/esm2020/lib/checkbox/checkbox.component.mjs +0 -138
- package/esm2020/lib/collapse/collapse-group.component.mjs +0 -57
- package/esm2020/lib/collapse/collapse-item.component.mjs +0 -79
- package/esm2020/lib/collapse/collapse.config.mjs +0 -12
- package/esm2020/lib/collapse/collapse.directive.mjs +0 -55
- package/esm2020/lib/collapse/collapse.module.mjs +0 -22
- package/esm2020/lib/dropdown/dropdown-divider.component.mjs +0 -11
- package/esm2020/lib/dropdown/dropdown-item.component.mjs +0 -97
- package/esm2020/lib/dropdown/dropdown.component.mjs +0 -143
- package/esm2020/lib/dropdown/dropdown.config.mjs +0 -12
- package/esm2020/lib/dropdown/dropdown.directive.mjs +0 -156
- package/esm2020/lib/dropdown/dropdown.module.mjs +0 -25
- package/esm2020/lib/enums/icons.enum.mjs +0 -27
- package/esm2020/lib/form-input/form-input-password.utils.mjs +0 -154
- package/esm2020/lib/form-input/form-input.component.mjs +0 -495
- package/esm2020/lib/form-input/it-prefix.directive.mjs +0 -13
- package/esm2020/lib/form-input/it-suffix.directive.mjs +0 -13
- package/esm2020/lib/form-input/it-text-prefix.directive.mjs +0 -13
- package/esm2020/lib/form-input/it-text-suffix.directive.mjs +0 -13
- package/esm2020/lib/form-input/mark-matching-text.pipe.mjs +0 -36
- package/esm2020/lib/icon/icon.component.mjs +0 -87
- package/esm2020/lib/icon/icon.module.mjs +0 -18
- package/esm2020/lib/models/Alignment.mjs +0 -15
- package/esm2020/lib/models/ButtonSize.mjs +0 -15
- package/esm2020/lib/models/InputType.mjs +0 -44
- package/esm2020/lib/models/ThemeColor.mjs +0 -30
- package/esm2020/lib/popover/popover.config.mjs +0 -17
- package/esm2020/lib/popover/popover.directive.mjs +0 -33
- package/esm2020/lib/popover/popover.module.mjs +0 -19
- package/esm2020/lib/progress-bar/progress-bar.component.mjs +0 -98
- package/esm2020/lib/radio/radio.component.mjs +0 -287
- package/esm2020/lib/radio/unique-selection-dispatcher.mjs +0 -55
- package/esm2020/lib/tabs/tab-group.component.mjs +0 -177
- package/esm2020/lib/tabs/tab.component.mjs +0 -73
- package/esm2020/lib/tabs/tabs.module.mjs +0 -20
- package/esm2020/lib/toggle/toggle.component.mjs +0 -86
- package/esm2020/lib/tooltip/tooltip.config.mjs +0 -17
- package/esm2020/lib/tooltip/tooltip.directive.mjs +0 -43
- package/esm2020/lib/tooltip/tooltip.module.mjs +0 -19
- package/esm2020/lib/util/focus-mouse.directive.mjs +0 -32
- package/esm2020/lib/util/util.mjs +0 -12
- package/esm2020/lib/util/utils.module.mjs +0 -16
- package/lib/badge/badge.directive.d.ts +0 -33
- package/lib/breadcrumb/breadcrumb-item.component.d.ts +0 -33
- package/lib/breadcrumb/breadcrumb.component.d.ts +0 -33
- package/lib/button/button.directive.d.ts +0 -72
- package/lib/button/button.module.d.ts +0 -8
- package/lib/checkbox/checkbox.component.d.ts +0 -61
- package/lib/collapse/collapse-group.component.d.ts +0 -16
- package/lib/collapse/collapse-item.component.d.ts +0 -46
- package/lib/collapse/collapse.config.d.ts +0 -6
- package/lib/collapse/collapse.directive.d.ts +0 -25
- package/lib/collapse/collapse.module.d.ts +0 -12
- package/lib/dropdown/dropdown-divider.component.d.ts +0 -5
- package/lib/dropdown/dropdown-item.component.d.ts +0 -56
- package/lib/dropdown/dropdown.component.d.ts +0 -65
- package/lib/dropdown/dropdown.config.d.ts +0 -6
- package/lib/dropdown/dropdown.directive.d.ts +0 -77
- package/lib/dropdown/dropdown.module.d.ts +0 -15
- package/lib/enums/icons.enum.d.ts +0 -23
- package/lib/form-input/form-input-password.utils.d.ts +0 -45
- package/lib/form-input/form-input.component.d.ts +0 -283
- package/lib/form-input/it-prefix.directive.d.ts +0 -5
- package/lib/form-input/it-suffix.directive.d.ts +0 -5
- package/lib/form-input/it-text-prefix.directive.d.ts +0 -5
- package/lib/form-input/it-text-suffix.directive.d.ts +0 -5
- package/lib/icon/icon.component.d.ts +0 -34
- package/lib/icon/icon.module.d.ts +0 -8
- package/lib/models/Alignment.d.ts +0 -12
- package/lib/models/ButtonSize.d.ts +0 -11
- package/lib/models/InputType.d.ts +0 -36
- package/lib/models/ThemeColor.d.ts +0 -21
- package/lib/popover/popover.config.d.ts +0 -11
- package/lib/popover/popover.directive.d.ts +0 -20
- package/lib/popover/popover.module.d.ts +0 -9
- package/lib/progress-bar/progress-bar.component.d.ts +0 -55
- package/lib/radio/radio.component.d.ts +0 -116
- package/lib/radio/unique-selection-dispatcher.d.ts +0 -36
- package/lib/tabs/tab-group.component.d.ts +0 -71
- package/lib/tabs/tab.component.d.ts +0 -44
- package/lib/tabs/tabs.module.d.ts +0 -10
- package/lib/toggle/toggle.component.d.ts +0 -46
- package/lib/tooltip/tooltip.config.d.ts +0 -11
- package/lib/tooltip/tooltip.directive.d.ts +0 -27
- package/lib/tooltip/tooltip.module.d.ts +0 -9
- package/lib/util/focus-mouse.directive.d.ts +0 -13
- package/lib/util/util.d.ts +0 -5
- package/lib/util/utils.module.d.ts +0 -7
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { BooleanInput } from '../../../../utils/boolean-input';
|
|
2
|
+
import { LinkComponent } from '../../link/link.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ListItemComponent extends LinkComponent {
|
|
5
|
+
/**
|
|
6
|
+
* Add active class
|
|
7
|
+
*/
|
|
8
|
+
active?: BooleanInput;
|
|
9
|
+
/**
|
|
10
|
+
* Add large class
|
|
11
|
+
*/
|
|
12
|
+
large?: BooleanInput;
|
|
13
|
+
/**
|
|
14
|
+
* The avatar url
|
|
15
|
+
*/
|
|
16
|
+
avatar?: URL;
|
|
17
|
+
/**
|
|
18
|
+
* The thumb image url
|
|
19
|
+
*/
|
|
20
|
+
image?: URL;
|
|
21
|
+
get itemClass(): string;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ListItemComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ListItemComponent, "it-list-item", never, { "active": "active"; "large": "large"; "avatar": "avatar"; "image": "image"; }, {}, never, ["[icon]", "*", "[action]", "[metadata]", "[multiple]"], false, never>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { AbstractComponent } from "../../../abstracts/abstract.component";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ModalComponent extends AbstractComponent {
|
|
5
|
+
/**
|
|
6
|
+
* The modal Title
|
|
7
|
+
*/
|
|
8
|
+
title: string;
|
|
9
|
+
/**
|
|
10
|
+
* The modal size
|
|
11
|
+
*/
|
|
12
|
+
size?: 'modal-sm' | 'modal-lg' | 'modal-xl';
|
|
13
|
+
/**
|
|
14
|
+
* This event fires immediately when the instance method show is called.
|
|
15
|
+
*/
|
|
16
|
+
onShow: EventEmitter<Event>;
|
|
17
|
+
/**
|
|
18
|
+
* This event fires when the modal has been made visible to the user (it will wait for CSS transitions to complete).
|
|
19
|
+
*/
|
|
20
|
+
onShown: EventEmitter<Event>;
|
|
21
|
+
/**
|
|
22
|
+
* This event is raised immediately when the instance method hide has been called.
|
|
23
|
+
*/
|
|
24
|
+
onHide: EventEmitter<Event>;
|
|
25
|
+
/**
|
|
26
|
+
* This event fires when the modal has finished hiding from the user (it will wait for CSS transitions to complete).
|
|
27
|
+
*/
|
|
28
|
+
onHidden: EventEmitter<Event>;
|
|
29
|
+
/**
|
|
30
|
+
* This event is fired when the modal is displayed, its background is static and a click outside the modal or a press
|
|
31
|
+
* of the esc key occurs and data-bs-keyboard is set to false.
|
|
32
|
+
*/
|
|
33
|
+
onHidePrevented: EventEmitter<Event>;
|
|
34
|
+
private modal;
|
|
35
|
+
private modalElement?;
|
|
36
|
+
ngAfterViewInit(): void;
|
|
37
|
+
/**
|
|
38
|
+
* Manually activate/deactivate a modal. Returns to the caller before the modal has actually been shown or hidden
|
|
39
|
+
*/
|
|
40
|
+
toggle(): void;
|
|
41
|
+
/**
|
|
42
|
+
* Manually open a modal. Returns to the caller before the modal has actually been displayed
|
|
43
|
+
*/
|
|
44
|
+
show(): void;
|
|
45
|
+
/**
|
|
46
|
+
* Manually hide a modal. Returns to the caller before the modal has actually been hidden
|
|
47
|
+
*/
|
|
48
|
+
hide(): void;
|
|
49
|
+
/**
|
|
50
|
+
* Manually reposition the modal if the height of the modal changes when it is opened (in case a scroll bar appears).
|
|
51
|
+
*/
|
|
52
|
+
handleUpdate(): void;
|
|
53
|
+
/**
|
|
54
|
+
* Destroys the modal of an element.
|
|
55
|
+
*/
|
|
56
|
+
dispose(): void;
|
|
57
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModalComponent, never>;
|
|
58
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModalComponent, "it-modal[id][title]", ["itModal"], { "title": "title"; "size": "size"; }, { "onShow": "onShow"; "onShown": "onShown"; "onHide": "onHide"; "onHidden": "onHidden"; "onHidePrevented": "onHidePrevented"; }, never, ["*", "[footer]"], false, never>;
|
|
59
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
|
+
import { NotificationsService } from '../../../services/notifications/notifications.service';
|
|
3
|
+
import { Notification, NotificationPosition, NotificationType } from '../../../interfaces/core';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class NotificationsComponent implements OnDestroy {
|
|
6
|
+
private readonly _notificationService;
|
|
7
|
+
/**
|
|
8
|
+
* Default notifications duration
|
|
9
|
+
* @default 8000
|
|
10
|
+
*/
|
|
11
|
+
duration: number;
|
|
12
|
+
/**
|
|
13
|
+
* Default notifications position
|
|
14
|
+
*/
|
|
15
|
+
position?: NotificationPosition;
|
|
16
|
+
private subscription;
|
|
17
|
+
notifications: Array<Notification & {
|
|
18
|
+
id: string;
|
|
19
|
+
}>;
|
|
20
|
+
constructor(_notificationService: NotificationsService);
|
|
21
|
+
ngOnDestroy(): void;
|
|
22
|
+
get NotificationType(): typeof NotificationType;
|
|
23
|
+
/**
|
|
24
|
+
* Hide the notification
|
|
25
|
+
* @param id
|
|
26
|
+
*/
|
|
27
|
+
hideNotification(id: string): void;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationsComponent, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NotificationsComponent, "it-notifications", never, { "duration": "duration"; "position": "position"; }, {}, never, never, false, never>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class PaginationComponent {
|
|
4
|
+
/**
|
|
5
|
+
* Index of page (start 0)
|
|
6
|
+
*/
|
|
7
|
+
currentPage: number;
|
|
8
|
+
/**
|
|
9
|
+
* Max number of page (counter)
|
|
10
|
+
*/
|
|
11
|
+
pageNumbers: number;
|
|
12
|
+
/**
|
|
13
|
+
* Pagination alignment (justify-content)
|
|
14
|
+
*/
|
|
15
|
+
alignment?: 'center' | 'end';
|
|
16
|
+
/**
|
|
17
|
+
* Fired when page is changed
|
|
18
|
+
*/
|
|
19
|
+
newPageEvent: EventEmitter<number>;
|
|
20
|
+
/**
|
|
21
|
+
* Create array to generate pagination of 5 element
|
|
22
|
+
*/
|
|
23
|
+
get pages(): Array<number>;
|
|
24
|
+
/**
|
|
25
|
+
* On click page change
|
|
26
|
+
* @param newPage the new page of table
|
|
27
|
+
*/
|
|
28
|
+
pageChange(newPage: number): void;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PaginationComponent, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PaginationComponent, "it-pagination[currentPage][pageNumbers]", never, { "currentPage": "currentPage"; "pageNumbers": "pageNumbers"; "alignment": "alignment"; }, { "newPageEvent": "newPageEvent"; }, never, never, false, never>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
+
import { ElementPlacement } from '../../../interfaces/core';
|
|
3
|
+
import { BooleanInput } from '../../../utils/boolean-input';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class PopoverDirective implements AfterViewInit {
|
|
6
|
+
private readonly _elementRef;
|
|
7
|
+
/**
|
|
8
|
+
* Define the popover content
|
|
9
|
+
* @param content the popover content
|
|
10
|
+
*/
|
|
11
|
+
set content(content: string);
|
|
12
|
+
/**
|
|
13
|
+
* Define the popover title
|
|
14
|
+
* @param title the popover title
|
|
15
|
+
*/
|
|
16
|
+
set title(title: string | undefined);
|
|
17
|
+
/**
|
|
18
|
+
* Define the popover placement
|
|
19
|
+
* @param placement
|
|
20
|
+
*/
|
|
21
|
+
set placement(placement: ElementPlacement);
|
|
22
|
+
/**
|
|
23
|
+
* Appends the popover to a specific element.
|
|
24
|
+
* @param container
|
|
25
|
+
*/
|
|
26
|
+
set container(container: 'body' | string | undefined);
|
|
27
|
+
/**
|
|
28
|
+
* Indicates whether the title contains html
|
|
29
|
+
* @param html true if contain html
|
|
30
|
+
*/
|
|
31
|
+
set html(html: BooleanInput);
|
|
32
|
+
/**
|
|
33
|
+
* How popover is triggered
|
|
34
|
+
* - 'hover': To open the Popover on hover of the mouse over the element
|
|
35
|
+
* - 'focus': To ignore popovers on the user's next click of an element other than the toggle element.
|
|
36
|
+
* @param trigger
|
|
37
|
+
*/
|
|
38
|
+
set hover(trigger: 'click' | 'hover' | 'focus' | 'manual' | undefined);
|
|
39
|
+
/**
|
|
40
|
+
* This event fires immediately when the show method is called.
|
|
41
|
+
*/
|
|
42
|
+
onShow: EventEmitter<Event>;
|
|
43
|
+
/**
|
|
44
|
+
* This event is triggered when the tooltip has been made visible to the user (it will wait for the CSS transitions to complete).
|
|
45
|
+
*/
|
|
46
|
+
onShown: EventEmitter<Event>;
|
|
47
|
+
/**
|
|
48
|
+
* This event fires immediately when the hide method is called.
|
|
49
|
+
*/
|
|
50
|
+
onHide: EventEmitter<Event>;
|
|
51
|
+
/**
|
|
52
|
+
* This event is raised when the tooltip has finished being hidden from the user (it will wait for the CSS transitions to complete).
|
|
53
|
+
*/
|
|
54
|
+
onHidden: EventEmitter<Event>;
|
|
55
|
+
/**
|
|
56
|
+
* This event fires after the show event when the tooltip template has been added to the DOM.
|
|
57
|
+
*/
|
|
58
|
+
onInserted: EventEmitter<Event>;
|
|
59
|
+
private readonly element;
|
|
60
|
+
private popover?;
|
|
61
|
+
constructor(_elementRef: ElementRef);
|
|
62
|
+
ngAfterViewInit(): void;
|
|
63
|
+
/**
|
|
64
|
+
* Shows the popover of an item.
|
|
65
|
+
*/
|
|
66
|
+
show(): void;
|
|
67
|
+
/**
|
|
68
|
+
* Hide the popover of an element.
|
|
69
|
+
*/
|
|
70
|
+
hide(): void;
|
|
71
|
+
/**
|
|
72
|
+
* Activate / Deactivate the popover of an element
|
|
73
|
+
*/
|
|
74
|
+
toggle(): void;
|
|
75
|
+
/**
|
|
76
|
+
* Hides and destroys the popover of an element.
|
|
77
|
+
*/
|
|
78
|
+
dispose(): void;
|
|
79
|
+
/**
|
|
80
|
+
* Gives the popover of an element a chance to be shown.
|
|
81
|
+
*/
|
|
82
|
+
enable(): void;
|
|
83
|
+
/**
|
|
84
|
+
* Removes the ability to show the popover of an element.
|
|
85
|
+
*/
|
|
86
|
+
disable(): void;
|
|
87
|
+
/**
|
|
88
|
+
* Toggles the possibility that the popover of an element is shown or hidden.
|
|
89
|
+
*/
|
|
90
|
+
toggleEnabled(): void;
|
|
91
|
+
/**
|
|
92
|
+
* Updates the position of an element's popover.
|
|
93
|
+
*/
|
|
94
|
+
update(): void;
|
|
95
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PopoverDirective, never>;
|
|
96
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PopoverDirective, "[itPopover]", ["itPopover"], { "content": "itPopover"; "title": "popoverTitle"; "placement": "popoverPlacement"; "container": "popoverContainer"; "html": "popoverHtml"; "hover": "popoverTrigger"; }, { "onShow": "onShow"; "onShown": "onShown"; "onHide": "onHide"; "onHidden": "onHidden"; "onInserted": "onInserted"; }, never, never, false, never>;
|
|
97
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ProgressBarColor } from '../../../interfaces/core';
|
|
2
|
+
import { BooleanInput } from '../../../utils/boolean-input';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ProgressBarComponent {
|
|
5
|
+
/**
|
|
6
|
+
* The progress bar value [0, 100]
|
|
7
|
+
*/
|
|
8
|
+
value: number;
|
|
9
|
+
/**
|
|
10
|
+
* Show the progress label
|
|
11
|
+
*/
|
|
12
|
+
showLabel?: BooleanInput;
|
|
13
|
+
/**
|
|
14
|
+
* Show the progress as indeterminate
|
|
15
|
+
*/
|
|
16
|
+
indeterminate?: BooleanInput;
|
|
17
|
+
/**
|
|
18
|
+
* The progress bar color
|
|
19
|
+
*/
|
|
20
|
+
color?: ProgressBarColor;
|
|
21
|
+
/**
|
|
22
|
+
* Return the background color
|
|
23
|
+
*/
|
|
24
|
+
get bgColor(): string;
|
|
25
|
+
get isIndeterminate(): boolean;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProgressBarComponent, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProgressBarComponent, "it-progress-bar[value]", never, { "value": "value"; "showLabel": "showLabel"; "indeterminate": "indeterminate"; "color": "color"; }, {}, never, never, false, never>;
|
|
28
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { BooleanInput } from '../../../utils/boolean-input';
|
|
2
|
+
import { ProgressBarColor } from '../../../interfaces/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ProgressButtonComponent {
|
|
5
|
+
/**
|
|
6
|
+
* Behavior of the progress bar
|
|
7
|
+
* - <b>true</b>: Show indeterminate progress bar
|
|
8
|
+
* - <b>false</b> or <b>undefined</b>: Hide progress bar
|
|
9
|
+
* - <b>number</b> [0, 100]: Assign a specific value to the progress bar
|
|
10
|
+
* @default undefined
|
|
11
|
+
*/
|
|
12
|
+
progress?: number | BooleanInput;
|
|
13
|
+
/**
|
|
14
|
+
* The progress bar color
|
|
15
|
+
*/
|
|
16
|
+
progressColor?: ProgressBarColor;
|
|
17
|
+
get isProgress(): boolean;
|
|
18
|
+
get progressValue(): number;
|
|
19
|
+
get isIndeterminate(): boolean;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProgressButtonComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProgressButtonComponent, "button[itButton][progress]", never, { "progress": "progress"; "progressColor": "progressColor"; }, {}, never, ["*"], false, never>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { BooleanInput } from "../../../utils/boolean-input";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SpinnerComponent {
|
|
4
|
+
/**
|
|
5
|
+
* The spinner is active
|
|
6
|
+
*/
|
|
7
|
+
active: BooleanInput;
|
|
8
|
+
/**
|
|
9
|
+
* Show a small spinner
|
|
10
|
+
*/
|
|
11
|
+
small?: BooleanInput;
|
|
12
|
+
/**
|
|
13
|
+
* Show the double animation
|
|
14
|
+
*/
|
|
15
|
+
double?: BooleanInput;
|
|
16
|
+
get isActive(): boolean;
|
|
17
|
+
get isSmall(): boolean;
|
|
18
|
+
get isDouble(): boolean;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpinnerComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SpinnerComponent, "it-spinner", never, { "active": "active"; "small": "small"; "double": "double"; }, {}, never, never, false, never>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, QueryList } from '@angular/core';
|
|
2
|
+
import { BooleanInput } from "../../../../utils/boolean-input";
|
|
3
|
+
import { TabItemComponent } from "../tab-item/tab-item.component";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class TabContainerComponent implements AfterViewInit {
|
|
6
|
+
private readonly _changeDetectorRef;
|
|
7
|
+
/**
|
|
8
|
+
* Tabs automatically occupy the entire available width
|
|
9
|
+
*/
|
|
10
|
+
auto?: BooleanInput;
|
|
11
|
+
/**
|
|
12
|
+
* To obtain the correct margin between text and icon in the horizontally developed tab
|
|
13
|
+
*/
|
|
14
|
+
iconText?: BooleanInput;
|
|
15
|
+
/**
|
|
16
|
+
* Dark style
|
|
17
|
+
*/
|
|
18
|
+
dark?: BooleanInput;
|
|
19
|
+
/**
|
|
20
|
+
* The tab items
|
|
21
|
+
*/
|
|
22
|
+
tabs?: QueryList<TabItemComponent>;
|
|
23
|
+
constructor(_changeDetectorRef: ChangeDetectorRef);
|
|
24
|
+
isTrueBooleanInput(booleanInput?: BooleanInput): boolean;
|
|
25
|
+
ngAfterViewInit(): void;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TabContainerComponent, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TabContainerComponent, "it-tab-container", never, { "auto": "auto"; "iconText": "iconText"; "dark": "dark"; }, {}, ["tabs"], never, false, never>;
|
|
28
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import { AbstractComponent } from "../../../../abstracts/abstract.component";
|
|
3
|
+
import { BooleanInput } from "../../../../utils/boolean-input";
|
|
4
|
+
import { IconName } from "../../../../interfaces/icon";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class TabItemComponent extends AbstractComponent {
|
|
7
|
+
/**
|
|
8
|
+
* The tab label
|
|
9
|
+
*/
|
|
10
|
+
label?: string;
|
|
11
|
+
/**
|
|
12
|
+
* The icon name
|
|
13
|
+
*/
|
|
14
|
+
icon?: IconName;
|
|
15
|
+
/**
|
|
16
|
+
* Default active tab
|
|
17
|
+
*/
|
|
18
|
+
active?: BooleanInput;
|
|
19
|
+
/**
|
|
20
|
+
* Default disabled tab
|
|
21
|
+
*/
|
|
22
|
+
disabled?: BooleanInput;
|
|
23
|
+
/**
|
|
24
|
+
* Custom class
|
|
25
|
+
*/
|
|
26
|
+
class: string;
|
|
27
|
+
/**
|
|
28
|
+
* The content of tab
|
|
29
|
+
*/
|
|
30
|
+
htmlContent: TemplateRef<any>;
|
|
31
|
+
ngAfterViewInit(): void;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TabItemComponent, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TabItemComponent, "it-tab-item[id]", never, { "label": "label"; "icon": "icon"; "active": "active"; "disabled": "disabled"; "class": "class"; }, {}, never, ["*"], false, never>;
|
|
34
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { TableColor, TableHeadColor, TableResponsive, VerticalAlignment } from "../../../interfaces/core";
|
|
2
|
+
import { BooleanInput } from "../../../utils/boolean-input";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class TableComponent {
|
|
5
|
+
/**
|
|
6
|
+
* Table color
|
|
7
|
+
*/
|
|
8
|
+
color?: TableColor;
|
|
9
|
+
/**
|
|
10
|
+
* Head table color
|
|
11
|
+
*/
|
|
12
|
+
headColor?: TableHeadColor;
|
|
13
|
+
/**
|
|
14
|
+
* Use vertical alignment classes to realign where needed.
|
|
15
|
+
*/
|
|
16
|
+
alignment?: VerticalAlignment;
|
|
17
|
+
/**
|
|
18
|
+
* Use .table-striped to add zebra stripes to each table row contained in <tbody>.
|
|
19
|
+
*/
|
|
20
|
+
striped?: BooleanInput;
|
|
21
|
+
/**
|
|
22
|
+
* Add .table-hover to enable hover state on table rows contained in <tbody>.
|
|
23
|
+
*/
|
|
24
|
+
hover?: BooleanInput;
|
|
25
|
+
/**
|
|
26
|
+
* Add .table-bordered to have borders on all sides of the table and on all cells.
|
|
27
|
+
*/
|
|
28
|
+
bordered?: BooleanInput;
|
|
29
|
+
/**
|
|
30
|
+
* Add the .table-borderless class for a borderless table.
|
|
31
|
+
*/
|
|
32
|
+
borderless?: BooleanInput;
|
|
33
|
+
/**
|
|
34
|
+
* Add .table-sm to make tables more compact by halving the cell padding.
|
|
35
|
+
*/
|
|
36
|
+
compact?: BooleanInput;
|
|
37
|
+
/**
|
|
38
|
+
* To render the <caption> on top of the table
|
|
39
|
+
*/
|
|
40
|
+
captionTop?: BooleanInput;
|
|
41
|
+
/**
|
|
42
|
+
* Responsive tables allow you to scroll tables horizontally with ease.
|
|
43
|
+
* @default responsive
|
|
44
|
+
*/
|
|
45
|
+
responsive: TableResponsive;
|
|
46
|
+
get isStriped(): boolean;
|
|
47
|
+
get isHover(): boolean;
|
|
48
|
+
get isBordered(): boolean;
|
|
49
|
+
get isBorderless(): boolean;
|
|
50
|
+
get isCompact(): boolean;
|
|
51
|
+
get isCaptionTop(): boolean;
|
|
52
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, never>;
|
|
53
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "it-table", never, { "color": "color"; "headColor": "headColor"; "alignment": "alignment"; "striped": "striped"; "hover": "hover"; "bordered": "bordered"; "borderless": "borderless"; "compact": "compact"; "captionTop": "captionTop"; "responsive": "responsive"; }, {}, never, ["[caption]", "[thead]", "[tbody]", "[tfoot]"], false, never>;
|
|
54
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
+
import { ElementPlacement } from '../../../interfaces/core';
|
|
3
|
+
import { BooleanInput } from '../../../utils/boolean-input';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class TooltipDirective implements AfterViewInit {
|
|
6
|
+
private readonly _elementRef;
|
|
7
|
+
/**
|
|
8
|
+
* Define the tooltip title
|
|
9
|
+
* @param title the tooltip title
|
|
10
|
+
*/
|
|
11
|
+
set title(title: string | undefined);
|
|
12
|
+
/**
|
|
13
|
+
* Define the tooltip placement
|
|
14
|
+
* @param placement
|
|
15
|
+
*/
|
|
16
|
+
set placement(placement: ElementPlacement);
|
|
17
|
+
/**
|
|
18
|
+
* Indicates whether the title contains html
|
|
19
|
+
* @param html true if contain html
|
|
20
|
+
*/
|
|
21
|
+
set html(html: BooleanInput);
|
|
22
|
+
/**
|
|
23
|
+
* This event fires immediately when the show method is called.
|
|
24
|
+
*/
|
|
25
|
+
onShow: EventEmitter<Event>;
|
|
26
|
+
/**
|
|
27
|
+
* This event is triggered when the tooltip has been made visible to the user (it will wait for the CSS transitions to complete).
|
|
28
|
+
*/
|
|
29
|
+
onShown: EventEmitter<Event>;
|
|
30
|
+
/**
|
|
31
|
+
* This event fires immediately when the hide method is called.
|
|
32
|
+
*/
|
|
33
|
+
onHide: EventEmitter<Event>;
|
|
34
|
+
/**
|
|
35
|
+
* This event is raised when the tooltip has finished being hidden from the user (it will wait for the CSS transitions to complete).
|
|
36
|
+
*/
|
|
37
|
+
onHidden: EventEmitter<Event>;
|
|
38
|
+
/**
|
|
39
|
+
* This event fires after the show event when the tooltip template has been added to the DOM.
|
|
40
|
+
*/
|
|
41
|
+
onInserted: EventEmitter<Event>;
|
|
42
|
+
private readonly element;
|
|
43
|
+
private tooltip?;
|
|
44
|
+
constructor(_elementRef: ElementRef);
|
|
45
|
+
ngAfterViewInit(): void;
|
|
46
|
+
/**
|
|
47
|
+
* Shows the tooltip of an item.
|
|
48
|
+
*/
|
|
49
|
+
show(): void;
|
|
50
|
+
/**
|
|
51
|
+
* Hide the tooltip of an element.
|
|
52
|
+
*/
|
|
53
|
+
hide(): void;
|
|
54
|
+
/**
|
|
55
|
+
* Activate / Deactivate the tooltip of an element
|
|
56
|
+
*/
|
|
57
|
+
toggle(): void;
|
|
58
|
+
/**
|
|
59
|
+
* Hides and destroys the tooltip of an element.
|
|
60
|
+
*/
|
|
61
|
+
dispose(): void;
|
|
62
|
+
/**
|
|
63
|
+
* Gives the tooltip of an element a chance to be shown.
|
|
64
|
+
*/
|
|
65
|
+
enable(): void;
|
|
66
|
+
/**
|
|
67
|
+
* Removes the ability to show the tooltip of an element.
|
|
68
|
+
*/
|
|
69
|
+
disable(): void;
|
|
70
|
+
/**
|
|
71
|
+
* Toggles the possibility that the tooltip of an element is shown or hidden.
|
|
72
|
+
*/
|
|
73
|
+
toggleEnabled(): void;
|
|
74
|
+
/**
|
|
75
|
+
* Updates the position of an element's tooltip.
|
|
76
|
+
*/
|
|
77
|
+
update(): void;
|
|
78
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipDirective, never>;
|
|
79
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipDirective, "[itTooltip]", ["itTooltip"], { "title": "itTooltip"; "placement": "tooltipPlacement"; "html": "tooltipHtml"; }, { "onShow": "onShow"; "onShown": "onShown"; "onHide": "onHide"; "onHidden": "onHidden"; "onInserted": "onInserted"; }, never, never, false, never>;
|
|
80
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { AbstractFormComponent } from "../../../abstracts/abstract-form-component";
|
|
2
|
+
import { BooleanInput } from "../../../utils/boolean-input";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class CheckboxComponent extends AbstractFormComponent<boolean> {
|
|
5
|
+
/**
|
|
6
|
+
* If show checkbox as toggle
|
|
7
|
+
*/
|
|
8
|
+
toggle?: BooleanInput;
|
|
9
|
+
/**
|
|
10
|
+
* If show checkbox inline
|
|
11
|
+
*/
|
|
12
|
+
inline?: BooleanInput;
|
|
13
|
+
/**
|
|
14
|
+
* If is checkbox group
|
|
15
|
+
*/
|
|
16
|
+
group?: BooleanInput;
|
|
17
|
+
/**
|
|
18
|
+
* If checkbox is checked
|
|
19
|
+
*/
|
|
20
|
+
checked?: BooleanInput;
|
|
21
|
+
/**
|
|
22
|
+
* If checkbox is indeterminate
|
|
23
|
+
*/
|
|
24
|
+
indeterminate?: BooleanInput;
|
|
25
|
+
get isIndeterminate(): boolean;
|
|
26
|
+
get isGroup(): boolean;
|
|
27
|
+
ngOnInit(): void;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxComponent, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "it-checkbox[id][label]", never, { "toggle": "toggle"; "inline": "inline"; "group": "group"; "checked": "checked"; "indeterminate": "indeterminate"; }, {}, never, ["*", "[error]"], false, never>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { AbstractFormComponent } from '../../../abstracts/abstract-form-component';
|
|
2
|
+
import { AutoCompleteItem, InputControlType } from '../../../interfaces/form';
|
|
3
|
+
import { BooleanInput } from '../../../utils/boolean-input';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class InputComponent extends AbstractFormComponent<string | number> {
|
|
7
|
+
/**
|
|
8
|
+
* The input type
|
|
9
|
+
* @default text
|
|
10
|
+
*/
|
|
11
|
+
type: InputControlType;
|
|
12
|
+
/**
|
|
13
|
+
* The input placeholder
|
|
14
|
+
*/
|
|
15
|
+
placeholder: string;
|
|
16
|
+
/**
|
|
17
|
+
* The input description
|
|
18
|
+
*/
|
|
19
|
+
description?: string;
|
|
20
|
+
/**
|
|
21
|
+
* To prevent modification of the contained value.
|
|
22
|
+
* - <b>plaintext</b>: Readonly field in the form stylized as plain text
|
|
23
|
+
*/
|
|
24
|
+
readonly?: BooleanInput | 'plaintext';
|
|
25
|
+
/**
|
|
26
|
+
* The max value [Used only in type = 'number']
|
|
27
|
+
*/
|
|
28
|
+
max?: number;
|
|
29
|
+
/**
|
|
30
|
+
* The min value [Used only in type = 'number']
|
|
31
|
+
*/
|
|
32
|
+
min?: number;
|
|
33
|
+
/**
|
|
34
|
+
* The step value [Used only in type = 'number']
|
|
35
|
+
*/
|
|
36
|
+
step?: number | 'any';
|
|
37
|
+
/**
|
|
38
|
+
* If is a currency number [Used only in type = 'number']
|
|
39
|
+
*/
|
|
40
|
+
currency?: BooleanInput;
|
|
41
|
+
/**
|
|
42
|
+
* If is a percentage number [Used only in type = 'number']
|
|
43
|
+
*/
|
|
44
|
+
percentage?: BooleanInput;
|
|
45
|
+
/**
|
|
46
|
+
* To make the numeric field automatically resize according to the value contained in it. [Used only in type = 'number']
|
|
47
|
+
*/
|
|
48
|
+
adaptive?: BooleanInput;
|
|
49
|
+
/**
|
|
50
|
+
* Opzionale.
|
|
51
|
+
* Disponibile solo se il type è search.
|
|
52
|
+
* Indica la lista di elementi ricercabili su cui basare il sistema di autocompletamento della input
|
|
53
|
+
*/
|
|
54
|
+
set autoCompleteData(value: Array<AutoCompleteItem>);
|
|
55
|
+
get autoCompleteData(): Array<AutoCompleteItem>;
|
|
56
|
+
private _autoCompleteData;
|
|
57
|
+
showAutocompletion: boolean;
|
|
58
|
+
get isActiveLabel(): boolean;
|
|
59
|
+
/**
|
|
60
|
+
* Check is readonly field
|
|
61
|
+
*/
|
|
62
|
+
get isReadonly(): boolean;
|
|
63
|
+
/**
|
|
64
|
+
* Return the invalid message string from TranslateService
|
|
65
|
+
*/
|
|
66
|
+
get invalidMessage(): Observable<string>;
|
|
67
|
+
/** Observable da cui vengono emessi i risultati dell'auto completamento */
|
|
68
|
+
autocompleteResults$: Observable<{
|
|
69
|
+
searchedValue: string;
|
|
70
|
+
relatedEntries: Array<AutoCompleteItem & {
|
|
71
|
+
original: string;
|
|
72
|
+
lowercase: string;
|
|
73
|
+
}>;
|
|
74
|
+
}>;
|
|
75
|
+
ngOnInit(): void;
|
|
76
|
+
/**
|
|
77
|
+
* Increment or decrease the input number value of step
|
|
78
|
+
* @param decrease true to decrease value
|
|
79
|
+
*/
|
|
80
|
+
incrementNumber(decrease?: boolean): void;
|
|
81
|
+
getAutocompleteResults$(): Observable<{
|
|
82
|
+
searchedValue: string;
|
|
83
|
+
relatedEntries: Array<AutoCompleteItem & {
|
|
84
|
+
original: string;
|
|
85
|
+
lowercase: string;
|
|
86
|
+
}>;
|
|
87
|
+
}>;
|
|
88
|
+
isAutocompletable(): boolean;
|
|
89
|
+
onEntryClick(entry: AutoCompleteItem, event: Event): void;
|
|
90
|
+
autocompleteItemTrackByValueFn(index: number, item: AutoCompleteItem): string;
|
|
91
|
+
onKeyDown(): void;
|
|
92
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputComponent, never>;
|
|
93
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "it-input[id]", never, { "type": "type"; "placeholder": "placeholder"; "description": "description"; "readonly": "readonly"; "max": "max"; "min": "min"; "step": "step"; "currency": "currency"; "percentage": "percentage"; "adaptive": "adaptive"; "autoCompleteData": "autoCompleteData"; }, {}, never, ["[prepend]", "[prependText]", "[append]", "[appendText]", "[error]"], false, never>;
|
|
94
|
+
}
|