design-angular-kit 1.0.0-1 → 1.0.0-10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +183 -24
- package/assets/i18n/en.json +93 -0
- package/assets/i18n/it.json +93 -0
- package/esm2020/lib/abstracts/abstract-form-component.mjs +174 -0
- package/esm2020/lib/abstracts/abstract.component.mjs +27 -0
- package/esm2020/lib/components/core/accordion/accordion.component.mjs +31 -0
- package/esm2020/lib/components/core/alert/alert.component.mjs +69 -0
- package/esm2020/lib/components/core/badge/badge.directive.mjs +34 -0
- package/esm2020/lib/components/core/button/button.directive.mjs +80 -0
- package/esm2020/lib/components/core/callout/callout.component.mjs +84 -0
- package/esm2020/lib/components/core/card/card.component.mjs +58 -0
- package/esm2020/lib/components/core/carousel/carousel/carousel.component.mjs +66 -0
- package/esm2020/lib/components/core/carousel/carousel-item/carousel-item.component.mjs +14 -0
- package/esm2020/lib/components/core/chip/chip.component.mjs +89 -0
- package/esm2020/lib/components/core/collapse/collapse.component.mjs +101 -0
- package/esm2020/lib/components/core/dimmer/dimmer-buttons/dimmer-buttons.component.mjs +24 -0
- package/esm2020/lib/components/core/dimmer/dimmer-icon/dimmer-icon.component.mjs +11 -0
- package/esm2020/lib/components/core/dimmer/dimmer.component.mjs +59 -0
- package/esm2020/lib/components/core/dropdown/dropdown/dropdown.component.mjs +130 -0
- package/esm2020/lib/components/core/dropdown/dropdown-item/dropdown-item.component.mjs +68 -0
- package/esm2020/lib/components/core/forward/forward.directive.mjs +51 -0
- package/esm2020/lib/components/core/link/link.component.mjs +40 -0
- package/esm2020/lib/components/core/list/list/list.component.mjs +13 -0
- package/esm2020/lib/components/core/list/list-item/list-item.component.mjs +36 -0
- package/esm2020/lib/components/core/modal/modal.component.mjs +98 -0
- package/esm2020/lib/components/core/notifications/notifications.component.mjs +110 -0
- package/esm2020/lib/components/core/pagination/pagination.component.mjs +51 -0
- package/esm2020/lib/components/core/popover/popover.directive.mjs +179 -0
- package/esm2020/lib/components/core/progress-bar/progress-bar.component.mjs +34 -0
- package/esm2020/lib/components/core/progress-button/progress-button.component.mjs +27 -0
- package/esm2020/lib/components/core/rating/rating.component.mjs +45 -0
- package/esm2020/lib/components/core/spinner/spinner.component.mjs +35 -0
- package/esm2020/lib/components/core/steppers/steppers-container/steppers-container.component.mjs +119 -0
- package/esm2020/lib/components/core/steppers/steppers-item/steppers-item.component.mjs +18 -0
- package/esm2020/lib/components/core/tab/tab-container/tab-container.component.mjs +59 -0
- package/esm2020/lib/components/core/tab/tab-item/tab-item.component.mjs +36 -0
- package/esm2020/lib/components/core/table/table.component.mjs +57 -0
- package/esm2020/lib/components/core/tooltip/tooltip.directive.mjs +143 -0
- package/esm2020/lib/components/form/checkbox/checkbox.component.mjs +40 -0
- package/esm2020/lib/components/form/input/input.component.mjs +222 -0
- package/esm2020/lib/components/form/password-input/password-input.component.mjs +112 -0
- package/esm2020/lib/components/form/radio-button/radio-button.component.mjs +53 -0
- package/esm2020/lib/components/form/select/select.component.mjs +62 -0
- package/esm2020/lib/components/form/textarea/textarea.component.mjs +46 -0
- package/esm2020/lib/components/form/upload-drag-drop/upload-drag-drop.component.mjs +137 -0
- package/esm2020/lib/components/form/upload-file-list/upload-file-list.component.mjs +104 -0
- package/esm2020/lib/components/navigation/back-button/back-button.component.mjs +69 -0
- package/esm2020/lib/components/navigation/back-to-top/back-to-top.component.mjs +74 -0
- package/esm2020/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.mjs +45 -0
- package/esm2020/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.mjs +23 -0
- package/esm2020/lib/components/navigation/header/header.component.mjs +63 -0
- package/esm2020/lib/components/utils/icon/icon.component.mjs +54 -0
- package/esm2020/lib/components/utils/language-switcher/language-switcher.component.mjs +39 -0
- package/esm2020/lib/components/utils/not-found-page/not-found-page.component.mjs +13 -0
- package/esm2020/lib/design-angular-kit.module.mjs +45 -131
- package/esm2020/lib/interfaces/core.mjs +16 -0
- package/esm2020/lib/interfaces/form.mjs +2 -0
- package/esm2020/lib/interfaces/icon.mjs +2 -0
- package/esm2020/lib/interfaces/utils.mjs +2 -0
- package/esm2020/lib/modules/components.module.mjs +261 -0
- package/esm2020/lib/pipes/mark-matching-text.pipe.mjs +36 -0
- package/esm2020/lib/services/notifications/notifications.service.mjs +120 -0
- package/esm2020/lib/utils/boolean-input.mjs +15 -0
- package/esm2020/lib/utils/file-utils.mjs +73 -0
- package/esm2020/lib/utils/regex.mjs +26 -0
- package/esm2020/lib/validators/it-validators.mjs +134 -0
- package/esm2020/public_api.mjs +67 -36
- package/fesm2015/design-angular-kit.mjs +3424 -2713
- package/fesm2015/design-angular-kit.mjs.map +1 -1
- package/fesm2020/design-angular-kit.mjs +3391 -2713
- package/fesm2020/design-angular-kit.mjs.map +1 -1
- package/lib/abstracts/abstract-form-component.d.ts +89 -0
- package/lib/abstracts/abstract.component.d.ts +20 -0
- package/lib/components/core/accordion/accordion.component.d.ts +12 -0
- package/lib/components/core/alert/alert.component.d.ts +39 -0
- package/lib/components/core/badge/badge.directive.d.ts +16 -0
- package/lib/components/core/button/button.directive.d.ts +36 -0
- package/lib/components/core/callout/callout.component.d.ts +47 -0
- package/lib/components/core/card/card.component.d.ts +41 -0
- package/lib/components/core/carousel/carousel/carousel.component.d.ts +46 -0
- package/lib/components/core/carousel/carousel-item/carousel-item.component.d.ts +10 -0
- package/lib/components/core/chip/chip.component.d.ts +62 -0
- package/lib/components/core/collapse/collapse.component.d.ts +60 -0
- package/lib/components/core/dimmer/dimmer-buttons/dimmer-buttons.component.d.ts +12 -0
- package/lib/components/core/dimmer/dimmer-icon/dimmer-icon.component.d.ts +5 -0
- package/lib/components/core/dimmer/dimmer.component.d.ts +24 -0
- package/lib/components/core/dropdown/dropdown/dropdown.component.d.ts +81 -0
- package/lib/components/core/dropdown/dropdown-item/dropdown-item.component.d.ts +39 -0
- package/lib/components/core/forward/forward.directive.d.ts +14 -0
- package/lib/components/core/link/link.component.d.ts +31 -0
- package/lib/components/core/list/list/list.component.d.ts +10 -0
- package/lib/components/core/list/list-item/list-item.component.d.ts +24 -0
- package/lib/components/core/modal/modal.component.d.ts +59 -0
- package/lib/components/core/notifications/notifications.component.d.ts +44 -0
- package/lib/components/core/pagination/pagination.component.d.ts +31 -0
- package/lib/components/core/popover/popover.directive.d.ts +98 -0
- package/lib/components/core/progress-bar/progress-bar.component.d.ts +28 -0
- package/lib/components/core/progress-button/progress-button.component.d.ts +22 -0
- package/lib/components/core/rating/rating.component.d.ts +20 -0
- package/lib/components/core/spinner/spinner.component.d.ts +21 -0
- package/lib/components/core/steppers/steppers-container/steppers-container.component.d.ts +102 -0
- package/lib/components/core/steppers/steppers-item/steppers-item.component.d.ts +19 -0
- package/lib/components/core/tab/tab-container/tab-container.component.d.ts +30 -0
- package/lib/components/core/tab/tab-item/tab-item.component.d.ts +34 -0
- package/lib/components/core/table/table.component.d.ts +54 -0
- package/lib/components/core/tooltip/tooltip.directive.d.ts +81 -0
- package/lib/components/form/checkbox/checkbox.component.d.ts +30 -0
- package/lib/components/form/input/input.component.d.ts +96 -0
- package/lib/components/form/password-input/password-input.component.d.ts +55 -0
- package/lib/components/form/radio-button/radio-button.component.d.ts +29 -0
- package/lib/components/form/select/select.component.d.ts +30 -0
- package/lib/components/form/textarea/textarea.component.d.ts +24 -0
- package/lib/components/form/upload-drag-drop/upload-drag-drop.component.d.ts +54 -0
- package/lib/components/form/upload-file-list/upload-file-list.component.d.ts +59 -0
- package/lib/components/navigation/back-button/back-button.component.d.ts +47 -0
- package/lib/components/navigation/back-to-top/back-to-top.component.d.ts +46 -0
- package/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.d.ts +30 -0
- package/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.d.ts +22 -0
- package/lib/components/navigation/header/header.component.d.ts +30 -0
- package/lib/components/utils/icon/icon.component.d.ts +40 -0
- package/lib/components/utils/language-switcher/language-switcher.component.d.ts +23 -0
- package/lib/components/utils/not-found-page/not-found-page.component.d.ts +5 -0
- package/lib/design-angular-kit.module.d.ts +7 -24
- package/lib/interfaces/core.d.ts +59 -0
- package/lib/interfaces/form.d.ts +67 -0
- package/lib/interfaces/icon.d.ts +3 -0
- package/lib/interfaces/utils.d.ts +10 -0
- package/lib/modules/components.module.d.ts +62 -0
- package/lib/services/notifications/notifications.service.d.ts +63 -0
- package/lib/utils/boolean-input.d.ts +11 -0
- package/lib/utils/file-utils.d.ts +32 -0
- package/lib/utils/regex.d.ts +25 -0
- package/lib/validators/it-validators.d.ts +58 -0
- package/package.json +22 -13
- package/public_api.d.ts +59 -35
- package/esm2020/lib/badge/badge.directive.mjs +0 -83
- package/esm2020/lib/breadcrumb/breadcrumb-item.component.mjs +0 -66
- package/esm2020/lib/breadcrumb/breadcrumb.component.mjs +0 -89
- package/esm2020/lib/button/button.directive.mjs +0 -185
- package/esm2020/lib/button/button.module.mjs +0 -18
- package/esm2020/lib/checkbox/checkbox.component.mjs +0 -138
- package/esm2020/lib/collapse/collapse-group.component.mjs +0 -57
- package/esm2020/lib/collapse/collapse-item.component.mjs +0 -79
- package/esm2020/lib/collapse/collapse.config.mjs +0 -12
- package/esm2020/lib/collapse/collapse.directive.mjs +0 -55
- package/esm2020/lib/collapse/collapse.module.mjs +0 -22
- package/esm2020/lib/dropdown/dropdown-divider.component.mjs +0 -11
- package/esm2020/lib/dropdown/dropdown-item.component.mjs +0 -97
- package/esm2020/lib/dropdown/dropdown.component.mjs +0 -143
- package/esm2020/lib/dropdown/dropdown.config.mjs +0 -12
- package/esm2020/lib/dropdown/dropdown.directive.mjs +0 -156
- package/esm2020/lib/dropdown/dropdown.module.mjs +0 -25
- package/esm2020/lib/enums/icons.enum.mjs +0 -27
- package/esm2020/lib/form-input/form-input-password.utils.mjs +0 -154
- package/esm2020/lib/form-input/form-input.component.mjs +0 -495
- package/esm2020/lib/form-input/it-prefix.directive.mjs +0 -13
- package/esm2020/lib/form-input/it-suffix.directive.mjs +0 -13
- package/esm2020/lib/form-input/it-text-prefix.directive.mjs +0 -13
- package/esm2020/lib/form-input/it-text-suffix.directive.mjs +0 -13
- package/esm2020/lib/form-input/mark-matching-text.pipe.mjs +0 -36
- package/esm2020/lib/icon/icon.component.mjs +0 -87
- package/esm2020/lib/icon/icon.module.mjs +0 -18
- package/esm2020/lib/models/Alignment.mjs +0 -15
- package/esm2020/lib/models/ButtonSize.mjs +0 -15
- package/esm2020/lib/models/InputType.mjs +0 -44
- package/esm2020/lib/models/ThemeColor.mjs +0 -30
- package/esm2020/lib/popover/popover.config.mjs +0 -17
- package/esm2020/lib/popover/popover.directive.mjs +0 -33
- package/esm2020/lib/popover/popover.module.mjs +0 -19
- package/esm2020/lib/progress-bar/progress-bar.component.mjs +0 -98
- package/esm2020/lib/radio/radio.component.mjs +0 -287
- package/esm2020/lib/radio/unique-selection-dispatcher.mjs +0 -55
- package/esm2020/lib/tabs/tab-group.component.mjs +0 -177
- package/esm2020/lib/tabs/tab.component.mjs +0 -73
- package/esm2020/lib/tabs/tabs.module.mjs +0 -20
- package/esm2020/lib/toggle/toggle.component.mjs +0 -86
- package/esm2020/lib/tooltip/tooltip.config.mjs +0 -17
- package/esm2020/lib/tooltip/tooltip.directive.mjs +0 -43
- package/esm2020/lib/tooltip/tooltip.module.mjs +0 -19
- package/esm2020/lib/util/focus-mouse.directive.mjs +0 -32
- package/esm2020/lib/util/util.mjs +0 -12
- package/esm2020/lib/util/utils.module.mjs +0 -16
- package/lib/badge/badge.directive.d.ts +0 -33
- package/lib/breadcrumb/breadcrumb-item.component.d.ts +0 -33
- package/lib/breadcrumb/breadcrumb.component.d.ts +0 -33
- package/lib/button/button.directive.d.ts +0 -72
- package/lib/button/button.module.d.ts +0 -8
- package/lib/checkbox/checkbox.component.d.ts +0 -61
- package/lib/collapse/collapse-group.component.d.ts +0 -16
- package/lib/collapse/collapse-item.component.d.ts +0 -46
- package/lib/collapse/collapse.config.d.ts +0 -6
- package/lib/collapse/collapse.directive.d.ts +0 -25
- package/lib/collapse/collapse.module.d.ts +0 -12
- package/lib/dropdown/dropdown-divider.component.d.ts +0 -5
- package/lib/dropdown/dropdown-item.component.d.ts +0 -56
- package/lib/dropdown/dropdown.component.d.ts +0 -65
- package/lib/dropdown/dropdown.config.d.ts +0 -6
- package/lib/dropdown/dropdown.directive.d.ts +0 -77
- package/lib/dropdown/dropdown.module.d.ts +0 -15
- package/lib/enums/icons.enum.d.ts +0 -23
- package/lib/form-input/form-input-password.utils.d.ts +0 -45
- package/lib/form-input/form-input.component.d.ts +0 -283
- package/lib/form-input/it-prefix.directive.d.ts +0 -5
- package/lib/form-input/it-suffix.directive.d.ts +0 -5
- package/lib/form-input/it-text-prefix.directive.d.ts +0 -5
- package/lib/form-input/it-text-suffix.directive.d.ts +0 -5
- package/lib/icon/icon.component.d.ts +0 -34
- package/lib/icon/icon.module.d.ts +0 -8
- package/lib/models/Alignment.d.ts +0 -12
- package/lib/models/ButtonSize.d.ts +0 -11
- package/lib/models/InputType.d.ts +0 -36
- package/lib/models/ThemeColor.d.ts +0 -21
- package/lib/popover/popover.config.d.ts +0 -11
- package/lib/popover/popover.directive.d.ts +0 -20
- package/lib/popover/popover.module.d.ts +0 -9
- package/lib/progress-bar/progress-bar.component.d.ts +0 -55
- package/lib/radio/radio.component.d.ts +0 -116
- package/lib/radio/unique-selection-dispatcher.d.ts +0 -36
- package/lib/tabs/tab-group.component.d.ts +0 -71
- package/lib/tabs/tab.component.d.ts +0 -44
- package/lib/tabs/tabs.module.d.ts +0 -10
- package/lib/toggle/toggle.component.d.ts +0 -46
- package/lib/tooltip/tooltip.config.d.ts +0 -11
- package/lib/tooltip/tooltip.directive.d.ts +0 -27
- package/lib/tooltip/tooltip.module.d.ts +0 -9
- package/lib/util/focus-mouse.directive.d.ts +0 -13
- package/lib/util/util.d.ts +0 -5
- package/lib/util/utils.module.d.ts +0 -7
- /package/lib/{form-input → pipes}/mark-matching-text.pipe.d.ts +0 -0
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ForwardDirective {
|
|
3
|
+
private document?;
|
|
4
|
+
/**
|
|
5
|
+
* Indica, se HTMLElement, l'elemento a cui navigare, o se stringa, il selettore che selezionerà l'elemento a cui navigare.
|
|
6
|
+
*/
|
|
7
|
+
set itForward(value: HTMLElement | string | undefined);
|
|
8
|
+
get itForward(): HTMLElement | string | undefined;
|
|
9
|
+
private _itForward;
|
|
10
|
+
constructor(document?: Document | undefined);
|
|
11
|
+
onClick(event: any): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ForwardDirective, never>;
|
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ForwardDirective, "[itForward]", never, { "itForward": "itForward"; }, {}, never, never, false, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { BooleanInput } from '../../../utils/boolean-input';
|
|
2
|
+
import { AbstractComponent } from '../../../abstracts/abstract.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class LinkComponent extends AbstractComponent {
|
|
5
|
+
/**
|
|
6
|
+
* The router link action
|
|
7
|
+
*
|
|
8
|
+
* Commands to pass to Router#createUrlTree.
|
|
9
|
+
* - array: commands to pass to Router#createUrlTree.
|
|
10
|
+
* - string: shorthand for array of commands with just the string, i.e. ['/route']
|
|
11
|
+
* - null|undefined: Disables the link by removing the href
|
|
12
|
+
*/
|
|
13
|
+
href?: any[] | string | null;
|
|
14
|
+
/**
|
|
15
|
+
* Is an external link (false to not use Angular router link)
|
|
16
|
+
*/
|
|
17
|
+
externalLink?: BooleanInput;
|
|
18
|
+
/**
|
|
19
|
+
* Is disabled link
|
|
20
|
+
*/
|
|
21
|
+
disabled?: BooleanInput;
|
|
22
|
+
/**
|
|
23
|
+
* Custom class
|
|
24
|
+
*/
|
|
25
|
+
class: string;
|
|
26
|
+
get isExternalLink(): boolean;
|
|
27
|
+
get isDisabled(): boolean;
|
|
28
|
+
ngAfterViewInit(): void;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LinkComponent, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LinkComponent, "it-link", never, { "href": "href"; "externalLink": "externalLink"; "disabled": "disabled"; "class": "class"; }, {}, never, ["*"], false, never>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BooleanInput } from '../../../../utils/boolean-input';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ListComponent {
|
|
4
|
+
/**
|
|
5
|
+
* Add 'link-list' class for navigation menù
|
|
6
|
+
*/
|
|
7
|
+
linkList?: BooleanInput;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ListComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ListComponent, "it-list", never, { "linkList": "linkList"; }, {}, never, ["*"], false, never>;
|
|
10
|
+
}
|
|
@@ -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,44 @@
|
|
|
1
|
+
import { ChangeDetectorRef, OnDestroy } from '@angular/core';
|
|
2
|
+
import { NotificationsService } from '../../../services/notifications/notifications.service';
|
|
3
|
+
import { Notification, NotificationPosition, NotificationType } from '../../../interfaces/core';
|
|
4
|
+
import { BooleanInput } from '../../../utils/boolean-input';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class NotificationsComponent implements OnDestroy {
|
|
7
|
+
private readonly _changeDetectorRef;
|
|
8
|
+
private readonly _notificationService;
|
|
9
|
+
/**
|
|
10
|
+
* Default notifications duration (milliseconds)
|
|
11
|
+
* @default 8000
|
|
12
|
+
*/
|
|
13
|
+
duration: number;
|
|
14
|
+
/**
|
|
15
|
+
* Default notifications position
|
|
16
|
+
*/
|
|
17
|
+
position?: NotificationPosition;
|
|
18
|
+
/**
|
|
19
|
+
* Default notifications is dismissible
|
|
20
|
+
* @default true
|
|
21
|
+
*/
|
|
22
|
+
dismissible?: BooleanInput;
|
|
23
|
+
private subscription;
|
|
24
|
+
private notificationCount;
|
|
25
|
+
protected notifications: Array<Notification & {
|
|
26
|
+
id: string;
|
|
27
|
+
}>;
|
|
28
|
+
constructor(_changeDetectorRef: ChangeDetectorRef, _notificationService: NotificationsService);
|
|
29
|
+
ngOnDestroy(): void;
|
|
30
|
+
protected get NotificationType(): typeof NotificationType;
|
|
31
|
+
/**
|
|
32
|
+
* Hide the notification
|
|
33
|
+
* @param id
|
|
34
|
+
*/
|
|
35
|
+
protected hideNotification(id: string): void;
|
|
36
|
+
/**
|
|
37
|
+
* Retrieve the icon name by notification type
|
|
38
|
+
* @param notification the notification
|
|
39
|
+
* @protected
|
|
40
|
+
*/
|
|
41
|
+
private getNotificationIcon;
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NotificationsComponent, never>;
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NotificationsComponent, "it-notifications", never, { "duration": "duration"; "position": "position"; "dismissible": "dismissible"; }, {}, never, never, false, never>;
|
|
44
|
+
}
|
|
@@ -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,98 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef, EventEmitter, OnDestroy } 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, OnDestroy {
|
|
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
|
+
ngOnDestroy(): void;
|
|
64
|
+
/**
|
|
65
|
+
* Shows the popover of an item.
|
|
66
|
+
*/
|
|
67
|
+
show(): void;
|
|
68
|
+
/**
|
|
69
|
+
* Hide the popover of an element.
|
|
70
|
+
*/
|
|
71
|
+
hide(): void;
|
|
72
|
+
/**
|
|
73
|
+
* Activate / Deactivate the popover of an element
|
|
74
|
+
*/
|
|
75
|
+
toggle(): void;
|
|
76
|
+
/**
|
|
77
|
+
* Hides and destroys the popover of an element.
|
|
78
|
+
*/
|
|
79
|
+
dispose(): void;
|
|
80
|
+
/**
|
|
81
|
+
* Gives the popover of an element a chance to be shown.
|
|
82
|
+
*/
|
|
83
|
+
enable(): void;
|
|
84
|
+
/**
|
|
85
|
+
* Removes the ability to show the popover of an element.
|
|
86
|
+
*/
|
|
87
|
+
disable(): void;
|
|
88
|
+
/**
|
|
89
|
+
* Toggles the possibility that the popover of an element is shown or hidden.
|
|
90
|
+
*/
|
|
91
|
+
toggleEnabled(): void;
|
|
92
|
+
/**
|
|
93
|
+
* Updates the position of an element's popover.
|
|
94
|
+
*/
|
|
95
|
+
update(): void;
|
|
96
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PopoverDirective, never>;
|
|
97
|
+
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>;
|
|
98
|
+
}
|
|
@@ -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,20 @@
|
|
|
1
|
+
import { SimpleChanges } from '@angular/core';
|
|
2
|
+
import { AbstractFormComponent } from '../../../abstracts/abstract-form-component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class RatingComponent extends AbstractFormComponent<number> {
|
|
5
|
+
/**
|
|
6
|
+
* The rating value
|
|
7
|
+
*/
|
|
8
|
+
value?: number;
|
|
9
|
+
/**
|
|
10
|
+
* Number of stars to show
|
|
11
|
+
* @default 5
|
|
12
|
+
*/
|
|
13
|
+
starCount: number;
|
|
14
|
+
protected stars: Array<number>;
|
|
15
|
+
get name(): string;
|
|
16
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RatingComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RatingComponent, "it-rating[id]", never, { "value": "value"; "starCount": "starCount"; }, {}, never, never, false, never>;
|
|
20
|
+
}
|
|
@@ -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,102 @@
|
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, EventEmitter, QueryList } from '@angular/core';
|
|
2
|
+
import { BooleanInput } from '../../../../utils/boolean-input';
|
|
3
|
+
import { SteppersItemComponent } from '../steppers-item/steppers-item.component';
|
|
4
|
+
import { ProgressBarColor } from '../../../../interfaces/core';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class SteppersContainerComponent implements AfterViewInit {
|
|
7
|
+
private readonly _changeDetectorRef;
|
|
8
|
+
/**
|
|
9
|
+
* The active step index
|
|
10
|
+
* @param index the step index
|
|
11
|
+
*/
|
|
12
|
+
activeStep: number;
|
|
13
|
+
/**
|
|
14
|
+
* Show the stepper header
|
|
15
|
+
* @default true
|
|
16
|
+
*/
|
|
17
|
+
showHeader: BooleanInput;
|
|
18
|
+
/**
|
|
19
|
+
* Dark style
|
|
20
|
+
*/
|
|
21
|
+
dark?: BooleanInput;
|
|
22
|
+
/**
|
|
23
|
+
* The labels present in the header steps can be anticipated by the relative ordinal number.
|
|
24
|
+
*/
|
|
25
|
+
steppersNumber?: BooleanInput;
|
|
26
|
+
/**
|
|
27
|
+
* The progress style
|
|
28
|
+
* -<b>progress</b>: Show progress bar - You can change the color with the `progressColor` attribute
|
|
29
|
+
* -<b>dots</b>: Show progress dots
|
|
30
|
+
* @default undefined - don't show progress
|
|
31
|
+
*/
|
|
32
|
+
progressStyle?: 'progress' | 'dots';
|
|
33
|
+
/**
|
|
34
|
+
* Customize progress color
|
|
35
|
+
*/
|
|
36
|
+
progressColor?: ProgressBarColor;
|
|
37
|
+
/**
|
|
38
|
+
* Show the back button
|
|
39
|
+
* @default true
|
|
40
|
+
*/
|
|
41
|
+
showBackButton: BooleanInput;
|
|
42
|
+
/**
|
|
43
|
+
* Show the forward button
|
|
44
|
+
* @default true
|
|
45
|
+
*/
|
|
46
|
+
showForwardButton: BooleanInput;
|
|
47
|
+
/**
|
|
48
|
+
* Show the confirm button
|
|
49
|
+
* @default false
|
|
50
|
+
*/
|
|
51
|
+
showConfirmButton: BooleanInput;
|
|
52
|
+
/**
|
|
53
|
+
* Show the confirm button as indeterminate progress button
|
|
54
|
+
*/
|
|
55
|
+
confirmLoading?: BooleanInput;
|
|
56
|
+
/**
|
|
57
|
+
* Show the save button
|
|
58
|
+
* @default false
|
|
59
|
+
*/
|
|
60
|
+
showSaveButton: BooleanInput;
|
|
61
|
+
/**
|
|
62
|
+
* Show the save button as indeterminate progress button
|
|
63
|
+
*/
|
|
64
|
+
saveLoading?: BooleanInput;
|
|
65
|
+
/**
|
|
66
|
+
* The stepper items
|
|
67
|
+
*/
|
|
68
|
+
steps?: QueryList<SteppersItemComponent>;
|
|
69
|
+
/**
|
|
70
|
+
* On back button click
|
|
71
|
+
* @event activeStep the current step index
|
|
72
|
+
*/
|
|
73
|
+
backClick: EventEmitter<number>;
|
|
74
|
+
/**
|
|
75
|
+
* On forward button click
|
|
76
|
+
* @event activeStep the current step index
|
|
77
|
+
*/
|
|
78
|
+
forwardClick: EventEmitter<number>;
|
|
79
|
+
/**
|
|
80
|
+
* On confirm button click
|
|
81
|
+
* @event activeStep the current step index
|
|
82
|
+
*/
|
|
83
|
+
confirmClick: EventEmitter<number>;
|
|
84
|
+
/**
|
|
85
|
+
* On save button click
|
|
86
|
+
* @event activeStep the current step index
|
|
87
|
+
*/
|
|
88
|
+
saveClick: EventEmitter<number>;
|
|
89
|
+
get isShowHeader(): boolean;
|
|
90
|
+
get isSteppersNumber(): boolean;
|
|
91
|
+
get isDark(): boolean;
|
|
92
|
+
get isShowBackButton(): boolean;
|
|
93
|
+
get isShowForwardButton(): boolean;
|
|
94
|
+
get isShowConfirmButton(): boolean;
|
|
95
|
+
get isConfirmLoading(): boolean;
|
|
96
|
+
get isShowSaveButton(): boolean;
|
|
97
|
+
get isSaveLoading(): boolean;
|
|
98
|
+
constructor(_changeDetectorRef: ChangeDetectorRef);
|
|
99
|
+
ngAfterViewInit(): void;
|
|
100
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SteppersContainerComponent, never>;
|
|
101
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SteppersContainerComponent, "it-steppers-container[activeStep]", never, { "activeStep": "activeStep"; "showHeader": "showHeader"; "dark": "dark"; "steppersNumber": "steppersNumber"; "progressStyle": "progressStyle"; "progressColor": "progressColor"; "showBackButton": "showBackButton"; "showForwardButton": "showForwardButton"; "showConfirmButton": "showConfirmButton"; "confirmLoading": "confirmLoading"; "showSaveButton": "showSaveButton"; "saveLoading": "saveLoading"; }, { "backClick": "backClick"; "forwardClick": "forwardClick"; "confirmClick": "confirmClick"; "saveClick": "saveClick"; }, ["steps"], never, false, never>;
|
|
102
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import { IconName } from '../../../../interfaces/icon';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SteppersItemComponent {
|
|
5
|
+
/**
|
|
6
|
+
* The labels present in the header steps
|
|
7
|
+
*/
|
|
8
|
+
label: string;
|
|
9
|
+
/**
|
|
10
|
+
* The labels present in the header steps can be preceded by an icon.
|
|
11
|
+
*/
|
|
12
|
+
icon?: IconName;
|
|
13
|
+
/**
|
|
14
|
+
* The content of step
|
|
15
|
+
*/
|
|
16
|
+
htmlContent: TemplateRef<any>;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SteppersItemComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SteppersItemComponent, "it-steppers-item[label]", never, { "label": "label"; "icon": "icon"; }, {}, never, ["*"], false, never>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { OnDestroy, QueryList } from '@angular/core';
|
|
2
|
+
import { BooleanInput } from '../../../../utils/boolean-input';
|
|
3
|
+
import { TabItemComponent } from '../tab-item/tab-item.component';
|
|
4
|
+
import { AbstractComponent } from '../../../../abstracts/abstract.component';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class TabContainerComponent extends AbstractComponent implements OnDestroy {
|
|
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
|
+
private tabNavLinks?;
|
|
24
|
+
private tabSubscriptions?;
|
|
25
|
+
isTrueBooleanInput(booleanInput?: BooleanInput): boolean;
|
|
26
|
+
ngAfterViewInit(): void;
|
|
27
|
+
ngOnDestroy(): void;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TabContainerComponent, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TabContainerComponent, "it-tab-container", never, { "auto": "auto"; "iconText": "iconText"; "dark": "dark"; }, {}, ["tabs"], never, false, never>;
|
|
30
|
+
}
|
|
@@ -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
|
+
}
|