design-angular-kit 1.0.0-9 → 1.0.0-prerelease.1
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 +77 -7
- package/assets/i18n/en.json +81 -12
- package/assets/i18n/it.json +80 -11
- package/esm2022/lib/abstracts/abstract-form.component.mjs +187 -0
- package/esm2022/lib/abstracts/abstract.component.mjs +45 -0
- package/esm2022/lib/components/components.module.mjs +218 -0
- package/esm2022/lib/components/core/accordion/accordion.component.mjs +38 -0
- package/esm2022/lib/components/core/alert/alert.component.mjs +72 -0
- package/esm2022/lib/components/core/avatar/avatar-dropdown/avatar-dropdown.component.mjs +43 -0
- package/esm2022/lib/components/core/avatar/avatar-group/avatar-group.component.mjs +38 -0
- package/esm2022/lib/components/core/avatar/avatar.directive.mjs +78 -0
- package/esm2022/lib/components/core/badge/badge.directive.mjs +39 -0
- package/esm2022/lib/components/core/button/button.directive.mjs +86 -0
- package/esm2022/lib/components/core/callout/callout.component.mjs +57 -0
- package/esm2022/lib/components/core/card/card.component.mjs +59 -0
- package/esm2022/lib/components/core/carousel/carousel/carousel.component.mjs +81 -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 +104 -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 +141 -0
- package/esm2022/lib/components/core/dropdown/dropdown-item/dropdown-item.component.mjs +62 -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 +42 -0
- package/esm2022/lib/components/core/list/list/list.component.mjs +22 -0
- package/esm2022/lib/components/core/list/list-item/list-item.component.mjs +51 -0
- package/esm2022/lib/components/core/list/list.module.mjs +23 -0
- package/esm2022/lib/components/core/modal/modal.component.mjs +195 -0
- package/esm2022/lib/components/core/notifications/notifications.component.mjs +112 -0
- package/esm2022/lib/components/core/pagination/pagination.component.mjs +127 -0
- package/esm2022/lib/components/core/popover/popover.directive.mjs +176 -0
- package/esm2022/lib/components/core/progress-bar/progress-bar.component.mjs +34 -0
- package/esm2022/lib/components/core/progress-button/progress-button.component.mjs +26 -0
- package/esm2022/lib/components/core/spinner/spinner.component.mjs +31 -0
- package/esm2022/lib/components/core/steppers/steppers-container/steppers-container.component.mjs +112 -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 +39 -0
- package/esm2022/lib/components/core/tab/tab.module.mjs +23 -0
- package/esm2022/lib/components/core/table/sort/sort-header/sort-header.component.mjs +136 -0
- package/esm2022/lib/components/core/table/sort/sort.directive.mjs +123 -0
- package/esm2022/lib/components/core/table/table.component.mjs +45 -0
- package/esm2022/lib/components/core/tooltip/tooltip.directive.mjs +143 -0
- package/esm2022/lib/components/form/autocomplete/autocomplete.component.mjs +95 -0
- package/esm2022/lib/components/form/checkbox/checkbox.component.mjs +48 -0
- package/esm2022/lib/components/form/form.module.mjs +59 -0
- package/esm2022/lib/components/form/input/input.component.mjs +187 -0
- package/esm2022/lib/components/form/password-input/password-input.component.mjs +149 -0
- package/esm2022/lib/components/form/radio-button/radio-button.component.mjs +58 -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 +55 -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 +107 -0
- package/esm2022/lib/components/navigation/back-button/back-button.component.mjs +67 -0
- package/esm2022/lib/components/navigation/back-to-top/back-to-top.component.mjs +58 -0
- package/esm2022/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.mjs +55 -0
- package/esm2022/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.mjs +21 -0
- package/esm2022/lib/components/navigation/breadcrumbs/breadcrumbs.module.mjs +18 -0
- package/esm2022/lib/components/navigation/header/header.component.mjs +73 -0
- package/esm2022/lib/components/navigation/navbar/navbar/navbar.component.mjs +41 -0
- package/esm2022/lib/components/navigation/navbar/navbar-item/navbar-item.component.mjs +13 -0
- package/esm2022/lib/components/navigation/navbar/navbar.module.mjs +18 -0
- package/esm2022/lib/components/utils/error-page/error-page.component.mjs +75 -0
- package/esm2022/lib/components/utils/icon/icon.component.mjs +56 -0
- package/esm2022/lib/components/utils/language-switcher/language-switcher.component.mjs +47 -0
- package/esm2022/lib/design-angular-kit-config.mjs +15 -0
- package/esm2022/lib/design-angular-kit.module.mjs +68 -0
- package/esm2022/lib/enums/colors.enums.mjs +12 -0
- package/esm2022/lib/enums/sizes.enum.mjs +9 -0
- package/esm2022/lib/interfaces/core.mjs +16 -0
- package/esm2022/lib/interfaces/design-angular-kit-init.mjs +2 -0
- package/esm2022/lib/interfaces/form.mjs +2 -0
- package/esm2022/lib/interfaces/icon.mjs +165 -0
- package/esm2022/lib/interfaces/sortable-table.mjs +6 -0
- package/esm2022/lib/pipes/date-ago.pipe.mjs +56 -0
- package/esm2022/lib/pipes/duration.pipe.mjs +110 -0
- package/esm2022/lib/pipes/mark-matching-text.pipe.mjs +48 -0
- package/esm2022/lib/services/notification/notification.service.mjs +120 -0
- package/esm2022/lib/utils/coercion.mjs +18 -0
- package/esm2022/lib/utils/date-utils.mjs +160 -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 +98 -0
- package/fesm2022/design-angular-kit.mjs +5450 -0
- package/fesm2022/design-angular-kit.mjs.map +1 -0
- package/lib/abstracts/{abstract-form-component.d.ts → abstract-form.component.d.ts} +12 -14
- package/lib/abstracts/abstract.component.d.ts +18 -8
- package/lib/components/components.module.d.ts +45 -0
- package/lib/components/core/accordion/accordion.component.d.ts +11 -5
- package/lib/components/core/alert/alert.component.d.ts +15 -10
- package/lib/components/core/avatar/avatar-dropdown/avatar-dropdown.component.d.ts +29 -0
- package/lib/components/core/avatar/avatar-group/avatar-group.component.d.ts +13 -0
- package/lib/components/core/avatar/avatar.directive.d.ts +33 -0
- package/lib/components/core/badge/badge.directive.d.ts +14 -7
- package/lib/components/core/button/button.directive.d.ts +25 -15
- package/lib/components/core/callout/callout.component.d.ts +18 -20
- package/lib/components/core/card/card.component.d.ts +46 -18
- package/lib/components/core/carousel/carousel/carousel.component.d.ts +34 -15
- package/lib/components/core/carousel/carousel-item/carousel-item.component.d.ts +8 -3
- package/lib/components/core/carousel/carousel.module.d.ts +8 -0
- package/lib/components/core/chip/chip.component.d.ts +8 -5
- package/lib/components/core/collapse/collapse.component.d.ts +22 -15
- package/lib/components/core/dimmer/dimmer-buttons/dimmer-buttons.component.d.ts +3 -3
- package/lib/components/core/dimmer/dimmer-icon/dimmer-icon.component.d.ts +3 -3
- package/lib/components/core/dimmer/dimmer.component.d.ts +4 -4
- package/lib/components/core/dimmer/dimmer.module.d.ts +9 -0
- package/lib/components/core/dropdown/dropdown/dropdown.component.d.ts +24 -17
- package/lib/components/core/dropdown/dropdown-item/dropdown-item.component.d.ts +15 -12
- 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 +14 -10
- package/lib/components/core/list/list/list.component.d.ts +20 -6
- package/lib/components/core/list/list-item/list-item.component.d.ts +23 -9
- package/lib/components/core/list/list.module.d.ts +8 -0
- package/lib/components/core/modal/modal.component.d.ts +89 -13
- package/lib/components/core/notifications/notifications.component.d.ts +9 -8
- package/lib/components/core/pagination/pagination.component.d.ts +71 -10
- package/lib/components/core/popover/popover.directive.d.ts +15 -14
- package/lib/components/core/progress-bar/progress-bar.component.d.ts +11 -8
- package/lib/components/core/progress-button/progress-button.component.d.ts +5 -6
- package/lib/components/core/spinner/spinner.component.d.ts +13 -10
- package/lib/components/core/steppers/steppers-container/steppers-container.component.d.ts +55 -27
- package/lib/components/core/steppers/steppers-item/steppers-item.component.d.ts +5 -4
- package/lib/components/core/steppers/steppers.module.d.ts +8 -0
- package/lib/components/core/tab/tab-container/tab-container.component.d.ts +15 -12
- package/lib/components/core/tab/tab-item/tab-item.component.d.ts +14 -10
- package/lib/components/core/tab/tab.module.d.ts +8 -0
- package/lib/components/core/table/sort/sort-header/sort-header.component.d.ts +72 -0
- package/lib/components/core/table/sort/sort.directive.d.ts +53 -0
- package/lib/components/core/table/table.component.d.ts +26 -20
- package/lib/components/core/tooltip/tooltip.directive.d.ts +12 -11
- package/lib/components/form/autocomplete/autocomplete.component.d.ts +49 -0
- package/lib/components/form/checkbox/checkbox.component.d.ts +23 -12
- package/lib/components/form/form.module.d.ts +17 -0
- package/lib/components/form/input/input.component.d.ts +42 -43
- package/lib/components/form/password-input/password-input.component.d.ts +35 -10
- package/lib/components/form/radio-button/radio-button.component.d.ts +20 -11
- package/lib/components/form/range/range.component.d.ts +42 -0
- package/lib/components/form/rating/rating.component.d.ts +24 -0
- package/lib/components/form/select/select.component.d.ts +12 -6
- package/lib/components/form/textarea/textarea.component.d.ts +15 -5
- package/lib/components/form/upload-drag-drop/upload-drag-drop.component.d.ts +5 -5
- package/lib/components/form/upload-file-list/upload-file-list.component.d.ts +14 -11
- package/lib/components/navigation/back-button/back-button.component.d.ts +8 -8
- package/lib/components/navigation/back-to-top/back-to-top.component.d.ts +15 -16
- package/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.d.ts +13 -10
- package/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.d.ts +9 -8
- package/lib/components/navigation/breadcrumbs/breadcrumbs.module.d.ts +8 -0
- package/lib/components/navigation/header/header.component.d.ts +22 -25
- package/lib/components/navigation/navbar/navbar/navbar.component.d.ts +16 -0
- package/lib/components/navigation/navbar/navbar-item/navbar-item.component.d.ts +5 -0
- package/lib/components/navigation/navbar/navbar.module.d.ts +8 -0
- package/lib/components/utils/error-page/error-page.component.d.ts +44 -0
- package/lib/components/utils/icon/icon.component.d.ts +15 -15
- package/lib/components/utils/language-switcher/language-switcher.component.d.ts +9 -5
- package/lib/design-angular-kit-config.d.ts +16 -0
- package/lib/design-angular-kit.module.d.ts +6 -4
- package/lib/enums/colors.enums.d.ts +10 -0
- package/lib/enums/sizes.enum.d.ts +7 -0
- package/lib/interfaces/core.d.ts +16 -15
- package/lib/interfaces/design-angular-kit-init.d.ts +7 -0
- package/lib/interfaces/form.d.ts +9 -9
- package/lib/interfaces/icon.d.ts +4 -3
- package/lib/interfaces/sortable-table.d.ts +33 -0
- package/lib/pipes/date-ago.pipe.d.ts +17 -0
- package/lib/pipes/duration.pipe.d.ts +35 -0
- package/lib/pipes/mark-matching-text.pipe.d.ts +15 -7
- package/lib/services/{notifications/notifications.service.d.ts → notification/notification.service.d.ts} +3 -3
- package/lib/utils/coercion.d.ts +14 -0
- package/lib/utils/date-utils.d.ts +78 -0
- package/lib/utils/file-utils.d.ts +1 -1
- package/lib/utils/regex.d.ts +5 -0
- package/lib/validators/it-validators.d.ts +9 -2
- package/package.json +14 -20
- package/public_api.d.ts +29 -4
- package/esm2020/lib/abstracts/abstract-form-component.mjs +0 -174
- package/esm2020/lib/abstracts/abstract.component.mjs +0 -27
- package/esm2020/lib/components/core/accordion/accordion.component.mjs +0 -31
- package/esm2020/lib/components/core/alert/alert.component.mjs +0 -69
- package/esm2020/lib/components/core/badge/badge.directive.mjs +0 -34
- package/esm2020/lib/components/core/button/button.directive.mjs +0 -80
- package/esm2020/lib/components/core/callout/callout.component.mjs +0 -84
- package/esm2020/lib/components/core/card/card.component.mjs +0 -58
- package/esm2020/lib/components/core/carousel/carousel/carousel.component.mjs +0 -66
- package/esm2020/lib/components/core/carousel/carousel-item/carousel-item.component.mjs +0 -14
- package/esm2020/lib/components/core/chip/chip.component.mjs +0 -89
- package/esm2020/lib/components/core/collapse/collapse.component.mjs +0 -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 -51
- package/esm2020/lib/components/core/link/link.component.mjs +0 -40
- package/esm2020/lib/components/core/list/list/list.component.mjs +0 -13
- package/esm2020/lib/components/core/list/list-item/list-item.component.mjs +0 -36
- package/esm2020/lib/components/core/modal/modal.component.mjs +0 -98
- package/esm2020/lib/components/core/notifications/notifications.component.mjs +0 -110
- package/esm2020/lib/components/core/pagination/pagination.component.mjs +0 -51
- package/esm2020/lib/components/core/popover/popover.directive.mjs +0 -179
- package/esm2020/lib/components/core/progress-bar/progress-bar.component.mjs +0 -34
- package/esm2020/lib/components/core/progress-button/progress-button.component.mjs +0 -27
- package/esm2020/lib/components/core/spinner/spinner.component.mjs +0 -35
- package/esm2020/lib/components/core/steppers/steppers-container/steppers-container.component.mjs +0 -119
- package/esm2020/lib/components/core/steppers/steppers-item/steppers-item.component.mjs +0 -18
- 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 -143
- package/esm2020/lib/components/form/checkbox/checkbox.component.mjs +0 -40
- package/esm2020/lib/components/form/input/input.component.mjs +0 -222
- package/esm2020/lib/components/form/password-input/password-input.component.mjs +0 -112
- package/esm2020/lib/components/form/radio-button/radio-button.component.mjs +0 -53
- package/esm2020/lib/components/form/select/select.component.mjs +0 -62
- package/esm2020/lib/components/form/textarea/textarea.component.mjs +0 -46
- package/esm2020/lib/components/form/upload-drag-drop/upload-drag-drop.component.mjs +0 -137
- 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 -74
- package/esm2020/lib/components/navigation/breadcrumbs/breadcrumb/breadcrumb.component.mjs +0 -45
- package/esm2020/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.mjs +0 -23
- package/esm2020/lib/components/navigation/header/header.component.mjs +0 -63
- package/esm2020/lib/components/utils/icon/icon.component.mjs +0 -54
- package/esm2020/lib/components/utils/language-switcher/language-switcher.component.mjs +0 -39
- package/esm2020/lib/components/utils/not-found-page/not-found-page.component.mjs +0 -13
- package/esm2020/lib/design-angular-kit.module.mjs +0 -56
- package/esm2020/lib/interfaces/core.mjs +0 -16
- package/esm2020/lib/interfaces/form.mjs +0 -2
- package/esm2020/lib/interfaces/icon.mjs +0 -2
- package/esm2020/lib/modules/components.module.mjs +0 -257
- 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/boolean-input.mjs +0 -15
- 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 -134
- package/esm2020/public_api.mjs +0 -70
- package/fesm2015/design-angular-kit.mjs +0 -3850
- package/fesm2015/design-angular-kit.mjs.map +0 -1
- package/fesm2020/design-angular-kit.mjs +0 -3797
- package/fesm2020/design-angular-kit.mjs.map +0 -1
- package/lib/components/utils/not-found-page/not-found-page.component.d.ts +0 -5
- package/lib/modules/components.module.d.ts +0 -61
- package/lib/utils/boolean-input.d.ts +0 -11
- /package/{esm2020 → esm2022}/design-angular-kit.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/interfaces/utils.mjs +0 -0
|
@@ -1,29 +1,38 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { ItAbstractFormComponent } from '../../../abstracts/abstract-form.component';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
|
|
4
|
+
import * as i1 from "../../../utils/coercion";
|
|
5
|
+
export declare class ItRadioButtonComponent extends ItAbstractFormComponent<string | number | null | undefined> implements OnInit {
|
|
5
6
|
/**
|
|
6
7
|
* The radio value
|
|
7
8
|
*/
|
|
8
|
-
value
|
|
9
|
+
value: string | number | undefined | null;
|
|
9
10
|
/**
|
|
10
11
|
* If show radio inline
|
|
11
12
|
* @default false
|
|
12
13
|
*/
|
|
13
|
-
inline
|
|
14
|
+
inline?: boolean;
|
|
14
15
|
/**
|
|
15
16
|
* If is radio group
|
|
16
17
|
* @default false
|
|
17
18
|
*/
|
|
18
|
-
group
|
|
19
|
+
group?: boolean;
|
|
19
20
|
/**
|
|
20
21
|
* If is radio is checked
|
|
22
|
+
* @default false
|
|
23
|
+
*/
|
|
24
|
+
checked?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Set the radio name manually.
|
|
27
|
+
* For example when the radio button name is duplicated inside page
|
|
28
|
+
* @default by default the radio name is calculated from form field name
|
|
21
29
|
*/
|
|
22
|
-
|
|
23
|
-
get isInline(): boolean;
|
|
24
|
-
get isGroup(): boolean;
|
|
30
|
+
forceRadioName?: string;
|
|
25
31
|
get name(): string;
|
|
26
32
|
ngOnInit(): void;
|
|
27
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItRadioButtonComponent, never>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItRadioButtonComponent, "it-radio-button[value]", never, { "value": { "alias": "value"; "required": false; }; "inline": { "alias": "inline"; "required": false; }; "group": { "alias": "group"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "forceRadioName": { "alias": "forceRadioName"; "required": false; }; }, {}, never, ["[label]", "*", "[error]", "[error]"], true, never>;
|
|
35
|
+
static ngAcceptInputType_inline: i1.BooleanInput;
|
|
36
|
+
static ngAcceptInputType_group: i1.BooleanInput;
|
|
37
|
+
static ngAcceptInputType_checked: i1.BooleanInput;
|
|
29
38
|
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { ElementRef, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { ItAbstractFormComponent } from '../../../abstracts/abstract-form.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ItRangeComponent extends ItAbstractFormComponent<number | null | undefined> implements OnInit, OnChanges, OnDestroy {
|
|
5
|
+
/**
|
|
6
|
+
* The max value
|
|
7
|
+
*/
|
|
8
|
+
max?: number;
|
|
9
|
+
/**
|
|
10
|
+
* The min value
|
|
11
|
+
*/
|
|
12
|
+
min?: number;
|
|
13
|
+
/**
|
|
14
|
+
* The step value
|
|
15
|
+
*/
|
|
16
|
+
step?: number | 'any';
|
|
17
|
+
/**
|
|
18
|
+
* The color on left of thumb [Require rightColor]
|
|
19
|
+
* @example '#0d6efd' or 'var(--bs-primary)'
|
|
20
|
+
* @default undefined ('var(--bs-gray-300)')
|
|
21
|
+
*/
|
|
22
|
+
leftColor?: string;
|
|
23
|
+
/**
|
|
24
|
+
* The color on right of thumb [Require leftColor]
|
|
25
|
+
* @example '#0d6efd' or 'var(--bs-primary)'
|
|
26
|
+
* @default undefined ('var(--bs-gray-300)')
|
|
27
|
+
*/
|
|
28
|
+
rightColor?: string;
|
|
29
|
+
slider: ElementRef<HTMLInputElement>;
|
|
30
|
+
private subscription?;
|
|
31
|
+
ngOnInit(): void;
|
|
32
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
33
|
+
ngOnDestroy(): void;
|
|
34
|
+
writeValue(value: number | null | undefined): void;
|
|
35
|
+
/**
|
|
36
|
+
* Update the percentage of slider color
|
|
37
|
+
* @private
|
|
38
|
+
*/
|
|
39
|
+
private updateSliderColor;
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItRangeComponent, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItRangeComponent, "it-range", never, { "max": { "alias": "max"; "required": false; }; "min": { "alias": "min"; "required": false; }; "step": { "alias": "step"; "required": false; }; "leftColor": { "alias": "leftColor"; "required": false; }; "rightColor": { "alias": "rightColor"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
42
|
+
}
|
|
@@ -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,19 +1,25 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { ItAbstractFormComponent } from '../../../abstracts/abstract-form.component';
|
|
2
3
|
import { SelectControlGroup, SelectControlOption } from '../../../interfaces/form';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class
|
|
5
|
+
export declare class ItSelectComponent extends ItAbstractFormComponent implements OnInit {
|
|
5
6
|
/**
|
|
6
7
|
* The select options
|
|
7
8
|
*/
|
|
8
|
-
options: Array<SelectControlOption
|
|
9
|
+
options: Array<SelectControlOption> | undefined;
|
|
9
10
|
/**
|
|
10
11
|
* The select group options
|
|
11
12
|
*/
|
|
12
|
-
groups
|
|
13
|
+
groups: Array<SelectControlGroup> | undefined;
|
|
13
14
|
/**
|
|
14
15
|
* The select description
|
|
15
16
|
*/
|
|
16
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;
|
|
17
23
|
ngOnInit(): void;
|
|
18
24
|
/**
|
|
19
25
|
* Check if the option is selected
|
|
@@ -25,6 +31,6 @@ export declare class SelectComponent extends AbstractFormComponent {
|
|
|
25
31
|
* @param option the option
|
|
26
32
|
*/
|
|
27
33
|
optionIsDisabled(option: SelectControlOption): boolean;
|
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
29
|
-
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>;
|
|
30
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,21 @@ export declare class TextareaComponent extends AbstractFormComponent<string> {
|
|
|
14
14
|
/**
|
|
15
15
|
* The input description
|
|
16
16
|
*/
|
|
17
|
-
description
|
|
17
|
+
description: string | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* To prevent modification of the contained value.
|
|
20
|
+
* - <b>plaintext</b>: Readonly field in the form stylized as plain text
|
|
21
|
+
* @default undefined
|
|
22
|
+
*/
|
|
23
|
+
readonly: boolean | 'plaintext' | undefined;
|
|
18
24
|
/**
|
|
19
25
|
* Return the invalid message string from TranslateService
|
|
20
26
|
*/
|
|
21
27
|
get invalidMessage(): Observable<string>;
|
|
22
|
-
|
|
23
|
-
|
|
28
|
+
/**
|
|
29
|
+
* Check is readonly field
|
|
30
|
+
*/
|
|
31
|
+
protected get isReadonly(): boolean;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItTextareaComponent, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItTextareaComponent, "it-textarea", never, { "rows": { "alias": "rows"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "description": { "alias": "description"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; }, {}, never, ["[error]"], true, never>;
|
|
24
34
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import {
|
|
1
|
+
import { AfterViewInit, EventEmitter } from '@angular/core';
|
|
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 {
|
|
|
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 {
|
|
3
|
-
import { BooleanInput } from '../../../utils/boolean-input';
|
|
2
|
+
import { ItAbstractComponent } from '../../../abstracts/abstract.component';
|
|
4
3
|
import { UploadFileListItem } from '../../../interfaces/form';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
|
-
|
|
5
|
+
import * as i1 from "../../../utils/coercion";
|
|
6
|
+
export declare class ItUploadFileListComponent extends ItAbstractComponent implements OnInit, OnChanges {
|
|
7
7
|
/**
|
|
8
8
|
* The list of files to show in list
|
|
9
9
|
*/
|
|
@@ -17,16 +17,19 @@ export declare class UploadFileListComponent extends AbstractComponent implement
|
|
|
17
17
|
accept: string;
|
|
18
18
|
/**
|
|
19
19
|
* If upload multiple files
|
|
20
|
+
* @default true
|
|
20
21
|
*/
|
|
21
|
-
multiple:
|
|
22
|
+
multiple: boolean;
|
|
22
23
|
/**
|
|
23
24
|
* If is file list image
|
|
25
|
+
* @default false
|
|
24
26
|
*/
|
|
25
|
-
images?:
|
|
27
|
+
images?: boolean;
|
|
26
28
|
/**
|
|
27
29
|
* Hide the load button
|
|
30
|
+
* @default false
|
|
28
31
|
*/
|
|
29
|
-
hideLoadButton?:
|
|
32
|
+
hideLoadButton?: boolean;
|
|
30
33
|
/**
|
|
31
34
|
* Fired when upload new files
|
|
32
35
|
*/
|
|
@@ -41,9 +44,6 @@ export declare class UploadFileListComponent extends AbstractComponent implement
|
|
|
41
44
|
previewImages: Map<number, string>;
|
|
42
45
|
ngOnInit(): void;
|
|
43
46
|
ngOnChanges(changes: SimpleChanges): void;
|
|
44
|
-
get isMultipleInput(): boolean;
|
|
45
|
-
get isImageList(): boolean;
|
|
46
|
-
get isHideLoadButton(): boolean;
|
|
47
47
|
/**
|
|
48
48
|
* On load file from input
|
|
49
49
|
* @param event
|
|
@@ -54,6 +54,9 @@ 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
|
+
static ngAcceptInputType_multiple: i1.BooleanInput;
|
|
60
|
+
static ngAcceptInputType_images: i1.BooleanInput;
|
|
61
|
+
static ngAcceptInputType_hideLoadButton: i1.BooleanInput;
|
|
59
62
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Location } from '@angular/common';
|
|
2
|
-
import { BooleanInput } from '../../../utils/boolean-input';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
|
-
|
|
3
|
+
import * as i1 from "../../../utils/coercion";
|
|
4
|
+
export declare class ItBackButtonComponent {
|
|
5
5
|
readonly _location: Location;
|
|
6
6
|
/**
|
|
7
7
|
* Back button style
|
|
@@ -21,12 +21,12 @@ export declare class BackButtonComponent {
|
|
|
21
21
|
* Show/Hide icon
|
|
22
22
|
* @default true
|
|
23
23
|
*/
|
|
24
|
-
showIcon:
|
|
24
|
+
showIcon: boolean;
|
|
25
25
|
/**
|
|
26
26
|
* Show/Hide text
|
|
27
27
|
* @default true
|
|
28
28
|
*/
|
|
29
|
-
showText:
|
|
29
|
+
showText: boolean;
|
|
30
30
|
/**
|
|
31
31
|
* Custom back logic <br/>
|
|
32
32
|
*
|
|
@@ -35,13 +35,13 @@ export declare class BackButtonComponent {
|
|
|
35
35
|
* (errorCallback is your function, pass backCbFn to the component)
|
|
36
36
|
*/
|
|
37
37
|
backFn?: (location: Location) => void;
|
|
38
|
-
get isShowIcon(): boolean;
|
|
39
|
-
get isShowText(): boolean;
|
|
40
38
|
constructor(_location: Location);
|
|
41
39
|
/**
|
|
42
40
|
* Go back function
|
|
43
41
|
*/
|
|
44
42
|
goBack(event: Event): void;
|
|
45
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
46
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
43
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItBackButtonComponent, never>;
|
|
44
|
+
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>;
|
|
45
|
+
static ngAcceptInputType_showIcon: i1.BooleanInput;
|
|
46
|
+
static ngAcceptInputType_showText: i1.BooleanInput;
|
|
47
47
|
}
|
|
@@ -1,29 +1,25 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { AfterViewInit } from '@angular/core';
|
|
2
|
+
import { ItAbstractComponent } from '../../../abstracts/abstract.component';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
* The back to top ID
|
|
7
|
-
* @default 'back-to-top-button'
|
|
8
|
-
*/
|
|
9
|
-
id: string;
|
|
4
|
+
import * as i1 from "../../../utils/coercion";
|
|
5
|
+
export declare class ItBackToTopComponent extends ItAbstractComponent implements AfterViewInit {
|
|
10
6
|
/**
|
|
11
7
|
* Show small button
|
|
8
|
+
* @default false
|
|
12
9
|
*/
|
|
13
|
-
small?:
|
|
10
|
+
small?: boolean;
|
|
14
11
|
/**
|
|
15
12
|
* Show shadow
|
|
13
|
+
* @default false
|
|
16
14
|
*/
|
|
17
|
-
shadow?:
|
|
15
|
+
shadow?: boolean;
|
|
18
16
|
/**
|
|
19
17
|
* Button usable button on a dark background
|
|
18
|
+
* @default false
|
|
20
19
|
*/
|
|
21
|
-
dark?:
|
|
20
|
+
dark?: boolean;
|
|
22
21
|
private backToTop?;
|
|
23
22
|
private backToTopElement?;
|
|
24
|
-
get isSmall(): boolean;
|
|
25
|
-
get isShadow(): boolean;
|
|
26
|
-
get isDark(): boolean;
|
|
27
23
|
ngAfterViewInit(): void;
|
|
28
24
|
/**
|
|
29
25
|
* Show button
|
|
@@ -41,6 +37,9 @@ export declare class BackToTopComponent extends AbstractComponent {
|
|
|
41
37
|
* Eliminate component features
|
|
42
38
|
*/
|
|
43
39
|
dispose(): void;
|
|
44
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
45
|
-
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
|
+
static ngAcceptInputType_small: i1.BooleanInput;
|
|
43
|
+
static ngAcceptInputType_shadow: i1.BooleanInput;
|
|
44
|
+
static ngAcceptInputType_dark: i1.BooleanInput;
|
|
46
45
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ChangeDetectorRef, QueryList } from '@angular/core';
|
|
2
|
-
import {
|
|
3
|
-
import { BooleanInput } from "../../../../utils/boolean-input";
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, OnDestroy, QueryList } from '@angular/core';
|
|
2
|
+
import { ItBreadcrumbItemComponent } from '../breadcrumb-item/breadcrumb-item.component';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
|
-
|
|
4
|
+
import * as i1 from "../../../../utils/coercion";
|
|
5
|
+
export declare class ItBreadcrumbComponent implements AfterViewInit, OnDestroy {
|
|
6
6
|
private readonly _changeDetectorRef;
|
|
7
7
|
/**
|
|
8
8
|
* The character to use as separator
|
|
@@ -11,20 +11,23 @@ export declare class BreadcrumbComponent {
|
|
|
11
11
|
separator: string;
|
|
12
12
|
/**
|
|
13
13
|
* Dark style
|
|
14
|
+
* @default false
|
|
14
15
|
*/
|
|
15
|
-
dark?:
|
|
16
|
+
dark?: boolean;
|
|
16
17
|
/**
|
|
17
18
|
* The tab items
|
|
18
19
|
*/
|
|
19
|
-
items?: QueryList<
|
|
20
|
-
|
|
20
|
+
items?: QueryList<ItBreadcrumbItemComponent>;
|
|
21
|
+
private itemSubscriptions?;
|
|
21
22
|
constructor(_changeDetectorRef: ChangeDetectorRef);
|
|
22
23
|
ngAfterViewInit(): void;
|
|
24
|
+
ngOnDestroy(): void;
|
|
23
25
|
/**
|
|
24
26
|
* Check if index is last item
|
|
25
27
|
* @param index
|
|
26
28
|
*/
|
|
27
|
-
isLastItem(index: number): boolean;
|
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<
|
|
29
|
+
protected isLastItem(index: number): boolean;
|
|
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
|
+
static ngAcceptInputType_dark: i1.BooleanInput;
|
|
30
33
|
}
|
package/lib/components/navigation/breadcrumbs/breadcrumb-item/breadcrumb-item.component.d.ts
CHANGED
|
@@ -1,22 +1,23 @@
|
|
|
1
1
|
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import { BooleanInput } from '../../../../utils/boolean-input';
|
|
3
2
|
import { IconName } from '../../../../interfaces/icon';
|
|
4
|
-
import {
|
|
3
|
+
import { ItLinkComponent } from '../../../core/link/link.component';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
|
-
|
|
5
|
+
import * as i1 from "../../../../utils/coercion";
|
|
6
|
+
export declare class ItBreadcrumbItemComponent extends ItLinkComponent {
|
|
7
7
|
/**
|
|
8
8
|
* Is active breadcrumb item
|
|
9
|
+
* @default false
|
|
9
10
|
*/
|
|
10
|
-
active?:
|
|
11
|
+
active?: boolean;
|
|
11
12
|
/**
|
|
12
13
|
* The name of icon to show
|
|
13
14
|
*/
|
|
14
|
-
iconName
|
|
15
|
+
iconName: IconName | undefined;
|
|
15
16
|
/**
|
|
16
17
|
* The content of item
|
|
17
18
|
*/
|
|
18
19
|
htmlContent: TemplateRef<any>;
|
|
19
|
-
|
|
20
|
-
static
|
|
21
|
-
static
|
|
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
|
+
static ngAcceptInputType_active: i1.BooleanInput;
|
|
22
23
|
}
|
|
@@ -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,30 +1,27 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { BooleanInput } from '../../../utils/boolean-input';
|
|
3
|
-
import { AbstractComponent } from '../../../abstracts/abstract.component';
|
|
1
|
+
import { AfterViewInit, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
4
2
|
import * as i0 from "@angular/core";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
3
|
+
import * as i1 from "../../../utils/coercion";
|
|
4
|
+
export declare class ItHeaderComponent implements AfterViewInit, OnChanges {
|
|
5
|
+
light?: boolean;
|
|
6
|
+
sticky?: boolean;
|
|
7
|
+
showSlim?: boolean;
|
|
8
|
+
smallHeader?: boolean;
|
|
9
|
+
showSearch?: boolean;
|
|
10
|
+
slimTitle: string | undefined;
|
|
12
11
|
loginStyle: 'none' | 'default' | 'full';
|
|
13
|
-
smallHeader?: BooleanInput;
|
|
14
|
-
showSearch?: BooleanInput;
|
|
15
12
|
loginClick: EventEmitter<Event>;
|
|
16
13
|
searchClick: EventEmitter<Event>;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
static
|
|
29
|
-
static
|
|
14
|
+
private headerWrapper?;
|
|
15
|
+
private stickyHeader?;
|
|
16
|
+
constructor();
|
|
17
|
+
ngAfterViewInit(): void;
|
|
18
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
19
|
+
updateListeners(): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItHeaderComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItHeaderComponent, "it-header", never, { "light": { "alias": "light"; "required": false; }; "sticky": { "alias": "sticky"; "required": false; }; "showSlim": { "alias": "showSlim"; "required": false; }; "smallHeader": { "alias": "smallHeader"; "required": false; }; "showSearch": { "alias": "showSearch"; "required": false; }; "slimTitle": { "alias": "slimTitle"; "required": false; }; "loginStyle": { "alias": "loginStyle"; "required": false; }; }, { "loginClick": "loginClick"; "searchClick": "searchClick"; }, never, ["[slimLinkList]", "[slimRightZone]", "[brand]", "[rightZone]", "[navItems]"], true, never>;
|
|
22
|
+
static ngAcceptInputType_light: i1.BooleanInput;
|
|
23
|
+
static ngAcceptInputType_sticky: i1.BooleanInput;
|
|
24
|
+
static ngAcceptInputType_showSlim: i1.BooleanInput;
|
|
25
|
+
static ngAcceptInputType_smallHeader: i1.BooleanInput;
|
|
26
|
+
static ngAcceptInputType_showSearch: i1.BooleanInput;
|
|
30
27
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { AfterViewInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "../../../../utils/coercion";
|
|
4
|
+
export declare class ItNavBarComponent implements AfterViewInit {
|
|
5
|
+
megamenu?: boolean;
|
|
6
|
+
expand?: boolean;
|
|
7
|
+
private collapseButton?;
|
|
8
|
+
private collapseView?;
|
|
9
|
+
private navbar?;
|
|
10
|
+
ngAfterViewInit(): void;
|
|
11
|
+
toggleCollapse(): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItNavBarComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItNavBarComponent, "it-navbar", never, { "megamenu": { "alias": "megamenu"; "required": false; }; "expand": { "alias": "expand"; "required": false; }; }, {}, never, ["[navItems]"], true, never>;
|
|
14
|
+
static ngAcceptInputType_megamenu: i1.BooleanInput;
|
|
15
|
+
static ngAcceptInputType_expand: i1.BooleanInput;
|
|
16
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ItNavBarItemComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItNavBarItemComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ItNavBarItemComponent, "it-navbar-item", never, {}, {}, never, ["*"], true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./navbar/navbar.component";
|
|
3
|
+
import * as i2 from "./navbar-item/navbar-item.component";
|
|
4
|
+
export declare class ItNavBarModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItNavBarModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ItNavBarModule, never, [typeof i1.ItNavBarComponent, typeof i2.ItNavBarItemComponent], [typeof i1.ItNavBarComponent, typeof i2.ItNavBarItemComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ItNavBarModule>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { ActivatedRoute } from '@angular/router';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "../../../utils/coercion";
|
|
4
|
+
export declare class ItErrorPageComponent {
|
|
5
|
+
private readonly route;
|
|
6
|
+
/**
|
|
7
|
+
* The error code to show
|
|
8
|
+
*/
|
|
9
|
+
errorCode: number | 404 | 403 | 500 | undefined;
|
|
10
|
+
/**
|
|
11
|
+
* Show/Hide error code
|
|
12
|
+
* @default true - show
|
|
13
|
+
*/
|
|
14
|
+
showErrorCode?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Custom error title
|
|
17
|
+
* - If set it will be displayed instead of the default title.
|
|
18
|
+
* - It is possible to use i18n keys
|
|
19
|
+
*/
|
|
20
|
+
errorTitle: string | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* Custom error description
|
|
23
|
+
* - If set it will be displayed instead of the default description.
|
|
24
|
+
* - It is possible to use i18n keys
|
|
25
|
+
*/
|
|
26
|
+
errorDescription: string | undefined;
|
|
27
|
+
/**
|
|
28
|
+
* Show/Hide back button
|
|
29
|
+
* @default true - show
|
|
30
|
+
*/
|
|
31
|
+
showBackButton?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Show/Hide home button
|
|
34
|
+
* @default true - show
|
|
35
|
+
*/
|
|
36
|
+
showHomeButton?: boolean;
|
|
37
|
+
constructor(route: ActivatedRoute);
|
|
38
|
+
get isDefaultErrorCode(): boolean;
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ItErrorPageComponent, never>;
|
|
40
|
+
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>;
|
|
41
|
+
static ngAcceptInputType_showErrorCode: i1.BooleanInput;
|
|
42
|
+
static ngAcceptInputType_showBackButton: i1.BooleanInput;
|
|
43
|
+
static ngAcceptInputType_showHomeButton: i1.BooleanInput;
|
|
44
|
+
}
|