design-angular-kit 1.0.0-13 → 1.0.0-14
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/esm2020/lib/abstracts/abstract-form.component.mjs +2 -1
- package/esm2020/lib/components/core/accordion/accordion.component.mjs +5 -1
- package/esm2020/lib/components/core/alert/alert.component.mjs +5 -1
- package/esm2020/lib/components/core/badge/badge.directive.mjs +5 -1
- package/esm2020/lib/components/core/button/button.directive.mjs +5 -1
- package/esm2020/lib/components/core/callout/callout.component.mjs +15 -42
- package/esm2020/lib/components/core/card/card.component.mjs +7 -1
- package/esm2020/lib/components/core/carousel/carousel/carousel.component.mjs +6 -1
- package/esm2020/lib/components/core/carousel/carousel-item/carousel-item.component.mjs +5 -1
- package/esm2020/lib/components/core/chip/chip.component.mjs +3 -3
- package/esm2020/lib/components/core/list/list/list.component.mjs +7 -3
- package/esm2020/lib/components/core/list/list-item/list-item.component.mjs +7 -2
- package/esm2020/lib/components/core/modal/modal.component.mjs +70 -5
- package/esm2020/lib/components/utils/icon/icon.component.mjs +2 -2
- package/esm2020/lib/components/utils/language-switcher/language-switcher.component.mjs +6 -6
- package/fesm2015/design-angular-kit.mjs +129 -53
- package/fesm2015/design-angular-kit.mjs.map +1 -1
- package/fesm2020/design-angular-kit.mjs +129 -53
- package/fesm2020/design-angular-kit.mjs.map +1 -1
- package/lib/abstracts/abstract-form.component.d.ts +1 -1
- package/lib/components/core/accordion/accordion.component.d.ts +5 -1
- package/lib/components/core/alert/alert.component.d.ts +6 -1
- package/lib/components/core/badge/badge.directive.d.ts +7 -1
- package/lib/components/core/button/button.directive.d.ts +13 -4
- package/lib/components/core/callout/callout.component.d.ts +15 -17
- package/lib/components/core/card/card.component.d.ts +15 -5
- package/lib/components/core/carousel/carousel/carousel.component.d.ts +14 -5
- package/lib/components/core/carousel/carousel-item/carousel-item.component.d.ts +4 -0
- package/lib/components/core/list/list/list.component.d.ts +2 -1
- package/lib/components/core/list/list-item/list-item.component.d.ts +5 -1
- package/lib/components/core/modal/modal.component.d.ts +53 -4
- package/lib/components/utils/language-switcher/language-switcher.component.d.ts +1 -1
- package/package.json +2 -2
|
@@ -28,7 +28,7 @@ export declare abstract class AbstractFormComponent<T = any> extends AbstractCom
|
|
|
28
28
|
/**
|
|
29
29
|
* Internal form control
|
|
30
30
|
*/
|
|
31
|
-
control: FormControl;
|
|
31
|
+
protected control: FormControl;
|
|
32
32
|
constructor(_translateService: TranslateService, _ngControl: NgControl);
|
|
33
33
|
/**
|
|
34
34
|
* Check if field is invalid (Validation failed)
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
import { CollapseComponent } from '../collapse/collapse.component';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Accordion
|
|
5
|
+
* @description Build vertically collapsible accordions based on Collapse.
|
|
6
|
+
*/
|
|
3
7
|
export declare class AccordionComponent extends CollapseComponent {
|
|
4
8
|
/**
|
|
5
9
|
* Accordion Title
|
|
6
10
|
*/
|
|
7
11
|
title: string;
|
|
8
|
-
isCollapsed: boolean;
|
|
12
|
+
protected isCollapsed: boolean;
|
|
9
13
|
ngAfterViewInit(): void;
|
|
10
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<AccordionComponent, never>;
|
|
11
15
|
static ɵcmp: i0.ɵɵComponentDeclaration<AccordionComponent, "it-accordion[title]", ["itAccordion"], { "title": "title"; }, {}, never, ["*"], false, never>;
|
|
@@ -3,6 +3,10 @@ import { AlertColor } from '../../../interfaces/core';
|
|
|
3
3
|
import { BooleanInput } from '../../../utils/boolean-input';
|
|
4
4
|
import { AbstractComponent } from '../../../abstracts/abstract.component';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
+
/**
|
|
7
|
+
* Alert
|
|
8
|
+
* @description You can provide feedback to the user via alert messages.
|
|
9
|
+
*/
|
|
6
10
|
export declare class AlertComponent extends AbstractComponent {
|
|
7
11
|
/**
|
|
8
12
|
* The alert color
|
|
@@ -11,6 +15,7 @@ export declare class AlertComponent extends AbstractComponent {
|
|
|
11
15
|
color: AlertColor;
|
|
12
16
|
/**
|
|
13
17
|
* Inserts the close button
|
|
18
|
+
* @default false
|
|
14
19
|
*/
|
|
15
20
|
dismissible?: BooleanInput;
|
|
16
21
|
/**
|
|
@@ -23,7 +28,7 @@ export declare class AlertComponent extends AbstractComponent {
|
|
|
23
28
|
onClosed: EventEmitter<Event>;
|
|
24
29
|
private alert?;
|
|
25
30
|
private alertElement?;
|
|
26
|
-
get isDismissible(): boolean;
|
|
31
|
+
protected get isDismissible(): boolean;
|
|
27
32
|
ngAfterViewInit(): void;
|
|
28
33
|
/**
|
|
29
34
|
* Close an alert by removing it from the DOM.
|
|
@@ -1,16 +1,22 @@
|
|
|
1
1
|
import { BadgeColor } from '../../../interfaces/core';
|
|
2
2
|
import { BooleanInput } from '../../../utils/boolean-input';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Badge
|
|
6
|
+
* @description Useful for small counters and labels
|
|
7
|
+
*/
|
|
4
8
|
export declare class BadgeDirective {
|
|
5
9
|
/**
|
|
6
10
|
* Define the badge color
|
|
11
|
+
* @default undefined
|
|
7
12
|
*/
|
|
8
13
|
color?: BadgeColor;
|
|
9
14
|
/**
|
|
10
15
|
* Show rounded badge
|
|
16
|
+
* @default false
|
|
11
17
|
*/
|
|
12
18
|
rounded?: BooleanInput;
|
|
13
|
-
get badgeClass(): string;
|
|
19
|
+
protected get badgeClass(): string;
|
|
14
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<BadgeDirective, never>;
|
|
15
21
|
static ɵdir: i0.ɵɵDirectiveDeclaration<BadgeDirective, "[itBadge]", ["itBadge"], { "color": "itBadge"; "rounded": "rounded"; }, {}, never, never, false, never>;
|
|
16
22
|
}
|
|
@@ -4,33 +4,42 @@ import { IconComponent } from '../../utils/icon/icon.component';
|
|
|
4
4
|
import { BooleanInput } from '../../../utils/boolean-input';
|
|
5
5
|
import { ProgressButtonComponent } from '../progress-button/progress-button.component';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
+
/**
|
|
8
|
+
* Button
|
|
9
|
+
* @description Bootstrap italia custom button styles
|
|
10
|
+
*/
|
|
7
11
|
export declare class ButtonDirective {
|
|
8
12
|
private progressButtonComponent;
|
|
9
13
|
/**
|
|
10
14
|
* Button color
|
|
15
|
+
* @default undefined
|
|
11
16
|
*/
|
|
12
17
|
color?: ButtonColor;
|
|
13
18
|
/**
|
|
14
19
|
* Button size
|
|
20
|
+
* @default undefined
|
|
15
21
|
*/
|
|
16
22
|
size?: ButtonSize;
|
|
17
23
|
/**
|
|
18
24
|
* Indicates whether the button occupies all the width available to it.
|
|
25
|
+
* @default undefined
|
|
19
26
|
*/
|
|
20
27
|
block?: ButtonSize;
|
|
21
28
|
/**
|
|
22
29
|
* If button is disabled
|
|
30
|
+
* @default false
|
|
23
31
|
*/
|
|
24
32
|
disabled?: BooleanInput;
|
|
25
33
|
/**
|
|
26
34
|
* The icon children
|
|
35
|
+
* @default undefined
|
|
27
36
|
*/
|
|
28
|
-
icons?: QueryList<IconComponent>;
|
|
37
|
+
protected icons?: QueryList<IconComponent>;
|
|
29
38
|
private isFocus;
|
|
30
39
|
constructor(progressButtonComponent: ProgressButtonComponent);
|
|
31
|
-
onFocus(): void;
|
|
32
|
-
onBlur(): void;
|
|
33
|
-
get hostClasses(): string;
|
|
40
|
+
protected onFocus(): void;
|
|
41
|
+
protected onBlur(): void;
|
|
42
|
+
protected get hostClasses(): string;
|
|
34
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonDirective, [{ optional: true; host: true; }]>;
|
|
35
44
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ButtonDirective, "[itButton]", ["itButton"], { "color": "itButton"; "size": "size"; "block": "block"; "disabled": "disabled"; }, {}, ["icons"], never, false, never>;
|
|
36
45
|
}
|
|
@@ -1,19 +1,21 @@
|
|
|
1
|
-
import { CalloutAppearance, CalloutColor } from
|
|
1
|
+
import { CalloutAppearance, CalloutColor } from '../../../interfaces/core';
|
|
2
2
|
import { IconName } from '../../../interfaces/icon';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Callout
|
|
6
|
+
* @description Callouts can be used to highlight certain parts of the text that require particular attention. They may contain error messages, warnings, hints, etc.
|
|
7
|
+
*/
|
|
4
8
|
export declare class CalloutComponent {
|
|
5
9
|
/**
|
|
6
10
|
* Callout label
|
|
11
|
+
* @default undefined
|
|
7
12
|
*/
|
|
8
|
-
|
|
9
|
-
get label(): string | undefined;
|
|
10
|
-
private _label;
|
|
13
|
+
label?: string;
|
|
11
14
|
/**
|
|
12
15
|
* Callout hiddenLabel
|
|
16
|
+
* @default undefined
|
|
13
17
|
*/
|
|
14
|
-
|
|
15
|
-
get hiddenLabel(): string | undefined;
|
|
16
|
-
private _hiddenLabel;
|
|
18
|
+
hiddenLabel?: string;
|
|
17
19
|
/**
|
|
18
20
|
* Callout color
|
|
19
21
|
* - <b>success</b>
|
|
@@ -21,10 +23,9 @@ export declare class CalloutComponent {
|
|
|
21
23
|
* - <b>warning</b>
|
|
22
24
|
* - <b>important</b>
|
|
23
25
|
* - <b>note</b>
|
|
26
|
+
* @default undefined
|
|
24
27
|
*/
|
|
25
|
-
|
|
26
|
-
get color(): CalloutColor | undefined;
|
|
27
|
-
private _color;
|
|
28
|
+
color?: CalloutColor;
|
|
28
29
|
/**
|
|
29
30
|
* Callout appearance
|
|
30
31
|
* - <b>default</b>
|
|
@@ -32,16 +33,13 @@ export declare class CalloutComponent {
|
|
|
32
33
|
* - <b>more</b>: It looks radically different from the other styles available and is suitable for more extensive texts
|
|
33
34
|
* @default default
|
|
34
35
|
*/
|
|
35
|
-
|
|
36
|
-
get appearance(): CalloutAppearance;
|
|
37
|
-
private _appearance;
|
|
36
|
+
appearance: CalloutAppearance;
|
|
38
37
|
/**
|
|
39
38
|
* Custom icon
|
|
39
|
+
* @default undefined
|
|
40
40
|
*/
|
|
41
|
-
|
|
42
|
-
get
|
|
43
|
-
private _icon;
|
|
44
|
-
get iconName(): IconName;
|
|
41
|
+
icon?: IconName;
|
|
42
|
+
protected get iconName(): IconName;
|
|
45
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<CalloutComponent, never>;
|
|
46
44
|
static ɵcmp: i0.ɵɵComponentDeclaration<CalloutComponent, "it-callout", never, { "label": "label"; "hiddenLabel": "hiddenLabel"; "color": "color"; "appearance": "appearance"; "icon": "icon"; }, {}, never, ["[bigText]", "*"], false, never>;
|
|
47
45
|
}
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { AbstractComponent } from '../../../abstracts/abstract.component';
|
|
2
2
|
import { BooleanInput } from '../../../utils/boolean-input';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Card
|
|
6
|
+
* @description A container of texts and images with many options and variations.
|
|
7
|
+
*/
|
|
4
8
|
export declare class CardComponent extends AbstractComponent {
|
|
5
9
|
/**
|
|
6
10
|
* It serves to space the cards in their mobile version.
|
|
@@ -9,33 +13,39 @@ export declare class CardComponent extends AbstractComponent {
|
|
|
9
13
|
space: BooleanInput;
|
|
10
14
|
/**
|
|
11
15
|
* To create cards with short or "preview" content
|
|
16
|
+
* @default false
|
|
12
17
|
*/
|
|
13
18
|
teaser?: BooleanInput;
|
|
14
19
|
/**
|
|
15
20
|
* Card with image
|
|
21
|
+
* @default false
|
|
16
22
|
*/
|
|
17
23
|
hasImage?: BooleanInput;
|
|
18
24
|
/**
|
|
19
25
|
* To add rounding effects
|
|
26
|
+
* @default false
|
|
20
27
|
*/
|
|
21
28
|
rounded?: BooleanInput;
|
|
22
29
|
/**
|
|
23
30
|
* To add shadow effects
|
|
31
|
+
* @default false
|
|
24
32
|
*/
|
|
25
33
|
shadow?: BooleanInput;
|
|
26
34
|
/**
|
|
27
35
|
* Custom card class
|
|
36
|
+
* @default ''
|
|
28
37
|
*/
|
|
29
38
|
cardClass: string;
|
|
30
39
|
/**
|
|
31
40
|
* Custom card body class
|
|
41
|
+
* @default ''
|
|
32
42
|
*/
|
|
33
43
|
bodyClass: string;
|
|
34
|
-
get isSpace(): boolean;
|
|
35
|
-
get isTeaser(): boolean;
|
|
36
|
-
get isHasImage(): boolean;
|
|
37
|
-
get isRounded(): boolean;
|
|
38
|
-
get isShadow(): boolean;
|
|
44
|
+
protected get isSpace(): boolean;
|
|
45
|
+
protected get isTeaser(): boolean;
|
|
46
|
+
protected get isHasImage(): boolean;
|
|
47
|
+
protected get isRounded(): boolean;
|
|
48
|
+
protected get isShadow(): boolean;
|
|
39
49
|
static ɵfac: i0.ɵɵFactoryDeclaration<CardComponent, never>;
|
|
40
50
|
static ɵcmp: i0.ɵɵComponentDeclaration<CardComponent, "it-card", never, { "space": "space"; "teaser": "teaser"; "hasImage": "hasImage"; "rounded": "rounded"; "shadow": "shadow"; "cardClass": "cardClass"; "bodyClass": "bodyClass"; }, {}, never, ["[beforeBody]", "*"], false, never>;
|
|
41
51
|
}
|
|
@@ -3,10 +3,15 @@ import { CarouselType } from '../../../../interfaces/core';
|
|
|
3
3
|
import { BooleanInput } from '../../../../utils/boolean-input';
|
|
4
4
|
import { CarouselItemComponent } from '../carousel-item/carousel-item.component';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
+
/**
|
|
7
|
+
* Carousel
|
|
8
|
+
* @description A presentation component for scrolling through elements, images or text slides.
|
|
9
|
+
*/
|
|
6
10
|
export declare class CarouselComponent implements AfterViewInit, OnDestroy {
|
|
7
11
|
private readonly _changeDetectorRef;
|
|
8
12
|
/**
|
|
9
13
|
* The callout title
|
|
14
|
+
* @default undefined
|
|
10
15
|
*/
|
|
11
16
|
title?: string;
|
|
12
17
|
/**
|
|
@@ -16,28 +21,32 @@ export declare class CarouselComponent implements AfterViewInit, OnDestroy {
|
|
|
16
21
|
type: CarouselType;
|
|
17
22
|
/**
|
|
18
23
|
* Custom class in splide__track element
|
|
24
|
+
* @default ''
|
|
19
25
|
*/
|
|
20
26
|
trackClass: string;
|
|
21
27
|
/**
|
|
22
28
|
* True for full screen (landscape) viewing
|
|
29
|
+
* @default undefined
|
|
23
30
|
*/
|
|
24
31
|
fullCarousel?: BooleanInput;
|
|
25
32
|
/**
|
|
26
33
|
* To indicate that the contained image is of a large type
|
|
34
|
+
* @default undefined
|
|
27
35
|
*/
|
|
28
36
|
bigImg?: BooleanInput;
|
|
29
37
|
/**
|
|
30
38
|
* Card line style
|
|
39
|
+
* @default undefined
|
|
31
40
|
*/
|
|
32
41
|
lined?: BooleanInput;
|
|
33
|
-
items?: QueryList<CarouselItemComponent>;
|
|
42
|
+
protected items?: QueryList<CarouselItemComponent>;
|
|
34
43
|
private carousel?;
|
|
35
44
|
private carouselDiv;
|
|
36
45
|
private itemSubscriptions?;
|
|
37
|
-
get typeClass(): string;
|
|
38
|
-
get isFullCarousel(): boolean;
|
|
39
|
-
get isBigImg(): boolean;
|
|
40
|
-
get isLined(): boolean;
|
|
46
|
+
protected get typeClass(): string;
|
|
47
|
+
protected get isFullCarousel(): boolean;
|
|
48
|
+
protected get isBigImg(): boolean;
|
|
49
|
+
protected get isLined(): boolean;
|
|
41
50
|
constructor(_changeDetectorRef: ChangeDetectorRef);
|
|
42
51
|
ngAfterViewInit(): void;
|
|
43
52
|
ngOnDestroy(): void;
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { TemplateRef } from '@angular/core';
|
|
2
2
|
import { AbstractComponent } from '../../../../abstracts/abstract.component';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Carousel Item
|
|
6
|
+
* @description element, image or text slide of carousel
|
|
7
|
+
*/
|
|
4
8
|
export declare class CarouselItemComponent extends AbstractComponent {
|
|
5
9
|
/**
|
|
6
10
|
* The content of item
|
|
@@ -2,9 +2,10 @@ import { BooleanInput } from '../../../../utils/boolean-input';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class ListComponent {
|
|
4
4
|
/**
|
|
5
|
-
* Add 'link-list' class for navigation
|
|
5
|
+
* Add 'link-list' class for navigation menu
|
|
6
6
|
*/
|
|
7
7
|
linkList?: BooleanInput;
|
|
8
|
+
protected get isLinkList(): boolean;
|
|
8
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<ListComponent, never>;
|
|
9
10
|
static ɵcmp: i0.ɵɵComponentDeclaration<ListComponent, "it-list", never, { "linkList": "linkList"; }, {}, never, ["*"], false, never>;
|
|
10
11
|
}
|
|
@@ -10,6 +10,10 @@ export declare class ListItemComponent extends LinkComponent {
|
|
|
10
10
|
* Add large class
|
|
11
11
|
*/
|
|
12
12
|
large?: BooleanInput;
|
|
13
|
+
/**
|
|
14
|
+
* Add icon-left class
|
|
15
|
+
*/
|
|
16
|
+
iconLeft?: BooleanInput;
|
|
13
17
|
/**
|
|
14
18
|
* The avatar url
|
|
15
19
|
*/
|
|
@@ -20,5 +24,5 @@ export declare class ListItemComponent extends LinkComponent {
|
|
|
20
24
|
image?: URL;
|
|
21
25
|
get itemClass(): string;
|
|
22
26
|
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>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ListItemComponent, "it-list-item", never, { "active": "active"; "large": "large"; "iconLeft": "iconLeft"; "avatar": "avatar"; "image": "image"; }, {}, never, ["[icon]", "*", "[action]", "[metadata]", "[multiple]"], false, never>;
|
|
24
28
|
}
|
|
@@ -1,15 +1,60 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { AbstractComponent } from '../../../abstracts/abstract.component';
|
|
3
|
+
import { BooleanInput } from '../../../utils/boolean-input';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* Modal windows
|
|
7
|
+
* @description To show featured content, notifications to users, or personalized content.
|
|
8
|
+
*/
|
|
4
9
|
export declare class ModalComponent extends AbstractComponent {
|
|
5
10
|
/**
|
|
6
|
-
*
|
|
11
|
+
* Show/Hide close button on header
|
|
12
|
+
* @default true
|
|
7
13
|
*/
|
|
8
|
-
|
|
14
|
+
closeButton: BooleanInput;
|
|
15
|
+
/**
|
|
16
|
+
* To correctly format the contents of the modal with icon
|
|
17
|
+
* @default false
|
|
18
|
+
*/
|
|
19
|
+
alertModal?: BooleanInput;
|
|
20
|
+
/**
|
|
21
|
+
* To correctly format the contents of the modal with Link List
|
|
22
|
+
* @default false
|
|
23
|
+
*/
|
|
24
|
+
dialogLinkList?: BooleanInput;
|
|
25
|
+
/**
|
|
26
|
+
* Modal type Popconfirm can be used for short confirmation messages.
|
|
27
|
+
* @default false
|
|
28
|
+
*/
|
|
29
|
+
popconfirm?: BooleanInput;
|
|
30
|
+
/**
|
|
31
|
+
* You can choose to use a scroll inside the modal, keeping the header and footer of the modal always visible
|
|
32
|
+
* @default false
|
|
33
|
+
*/
|
|
34
|
+
scrollable?: BooleanInput;
|
|
35
|
+
/**
|
|
36
|
+
* To have modals that appear with fades
|
|
37
|
+
* @default true
|
|
38
|
+
*/
|
|
39
|
+
fade?: BooleanInput;
|
|
40
|
+
/**
|
|
41
|
+
* Modal alignment
|
|
42
|
+
* - <b>centered</b>: to vertically center the modal
|
|
43
|
+
* - <b>left</b>: to left-align the modal
|
|
44
|
+
* - <b>right</b>: to right-align the modal
|
|
45
|
+
* @default undefined
|
|
46
|
+
*/
|
|
47
|
+
alignment?: 'centered' | 'left' | 'right';
|
|
9
48
|
/**
|
|
10
49
|
* The modal size
|
|
50
|
+
* @default undefined
|
|
51
|
+
*/
|
|
52
|
+
size?: 'sm' | 'lg' | 'xl';
|
|
53
|
+
/**
|
|
54
|
+
* To better distinguish the footer element with a shadow
|
|
55
|
+
* @default false
|
|
11
56
|
*/
|
|
12
|
-
|
|
57
|
+
footerShadow?: BooleanInput;
|
|
13
58
|
/**
|
|
14
59
|
* This event fires immediately when the instance method show is called.
|
|
15
60
|
*/
|
|
@@ -34,6 +79,10 @@ export declare class ModalComponent extends AbstractComponent {
|
|
|
34
79
|
private modal?;
|
|
35
80
|
private modalElement?;
|
|
36
81
|
ngAfterViewInit(): void;
|
|
82
|
+
protected get isCloseButton(): boolean;
|
|
83
|
+
protected get isFooterShadow(): boolean;
|
|
84
|
+
protected get modalClass(): string;
|
|
85
|
+
protected get dialogClass(): string;
|
|
37
86
|
/**
|
|
38
87
|
* Manually activate/deactivate a modal. Returns to the caller before the modal has actually been shown or hidden
|
|
39
88
|
*/
|
|
@@ -55,5 +104,5 @@ export declare class ModalComponent extends AbstractComponent {
|
|
|
55
104
|
*/
|
|
56
105
|
dispose(): void;
|
|
57
106
|
static ɵfac: i0.ɵɵFactoryDeclaration<ModalComponent, never>;
|
|
58
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ModalComponent, "it-modal
|
|
107
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModalComponent, "it-modal", ["itModal"], { "closeButton": "closeButton"; "alertModal": "alertModal"; "dialogLinkList": "dialogLinkList"; "popconfirm": "popconfirm"; "scrollable": "scrollable"; "fade": "fade"; "alignment": "alignment"; "size": "size"; "footerShadow": "footerShadow"; }, { "onShow": "onShow"; "onShown": "onShown"; "onHide": "onHide"; "onHidden": "onHidden"; "onHidePrevented": "onHidePrevented"; }, never, ["[beforeTitle]", "[modalTitle]", "[description]", "*", "[footer]"], false, never>;
|
|
59
108
|
}
|
|
@@ -10,7 +10,7 @@ export declare class LanguageSwitcherComponent implements OnInit {
|
|
|
10
10
|
* @default The languages available through TranslateService (ngx-translate)
|
|
11
11
|
*/
|
|
12
12
|
availableLanguages?: Array<AvailableLanguage>;
|
|
13
|
-
currentLang$: Observable<AvailableLanguage | undefined>;
|
|
13
|
+
protected currentLang$: Observable<AvailableLanguage | undefined>;
|
|
14
14
|
constructor(translateService: TranslateService);
|
|
15
15
|
ngOnInit(): void;
|
|
16
16
|
/**
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "design-angular-kit",
|
|
3
3
|
"description": "Un toolkit Angular conforme alle linee guida di design per i servizi web della PA",
|
|
4
|
-
"version": "1.0.0-
|
|
4
|
+
"version": "1.0.0-14",
|
|
5
5
|
"license": "BSD-3-Clause",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"angular",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@angular/platform-browser": "^15.0.4",
|
|
38
38
|
"@ngx-translate/core": "^14.0.0",
|
|
39
39
|
"@ngx-translate/http-loader": "^7.0.0",
|
|
40
|
-
"bootstrap-italia": "^2.3.
|
|
40
|
+
"bootstrap-italia": "^2.3.6"
|
|
41
41
|
},
|
|
42
42
|
"module": "fesm2015/design-angular-kit.mjs",
|
|
43
43
|
"es2020": "fesm2020/design-angular-kit.mjs",
|