design-angular-kit 1.0.0-21 → 1.0.0-22

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.
@@ -1,40 +1,43 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./core/accordion/accordion.component";
3
3
  import * as i2 from "./core/alert/alert.component";
4
- import * as i3 from "./core/badge/badge.directive";
5
- import * as i4 from "./core/button/button.directive";
6
- import * as i5 from "./core/callout/callout.component";
7
- import * as i6 from "./core/card/card.component";
8
- import * as i7 from "./core/carousel/carousel.module";
9
- import * as i8 from "./core/chip/chip.component";
10
- import * as i9 from "./core/collapse/collapse.component";
11
- import * as i10 from "./core/dimmer/dimmer.module";
12
- import * as i11 from "./core/dropdown/dropdown.module";
13
- import * as i12 from "./core/forward/forward.directive";
14
- import * as i13 from "./core/link/link.component";
15
- import * as i14 from "./core/list/list.module";
16
- import * as i15 from "./core/modal/modal.component";
17
- import * as i16 from "./core/notifications/notifications.component";
18
- import * as i17 from "./core/pagination/pagination.component";
19
- import * as i18 from "./core/popover/popover.directive";
20
- import * as i19 from "./core/progress-bar/progress-bar.component";
21
- import * as i20 from "./core/progress-button/progress-button.component";
22
- import * as i21 from "./core/spinner/spinner.component";
23
- import * as i22 from "./core/steppers/steppers.module";
24
- import * as i23 from "./core/tab/tab.module";
25
- import * as i24 from "./core/table/table.component";
26
- import * as i25 from "./core/tooltip/tooltip.directive";
27
- import * as i26 from "./form/form.module";
28
- import * as i27 from "./navigation/back-button/back-button.component";
29
- import * as i28 from "./navigation/back-to-top/back-to-top.component";
30
- import * as i29 from "./navigation/breadcrumbs/breadcrumbs.module";
31
- import * as i30 from "./navigation/header/header.component";
32
- import * as i31 from "./utils/error-page/error-page.component";
33
- import * as i32 from "./utils/icon/icon.component";
34
- import * as i33 from "./utils/language-switcher/language-switcher.component";
35
- import * as i34 from "../pipes/mark-matching-text.pipe";
4
+ import * as i3 from "./core/avatar/avatar-group/avatar-group.component";
5
+ import * as i4 from "./core/avatar/avatar-dropdown/avatar-dropdown.component";
6
+ import * as i5 from "./core/avatar/avatar.directive";
7
+ import * as i6 from "./core/badge/badge.directive";
8
+ import * as i7 from "./core/button/button.directive";
9
+ import * as i8 from "./core/callout/callout.component";
10
+ import * as i9 from "./core/card/card.component";
11
+ import * as i10 from "./core/carousel/carousel.module";
12
+ import * as i11 from "./core/chip/chip.component";
13
+ import * as i12 from "./core/collapse/collapse.component";
14
+ import * as i13 from "./core/dimmer/dimmer.module";
15
+ import * as i14 from "./core/dropdown/dropdown.module";
16
+ import * as i15 from "./core/forward/forward.directive";
17
+ import * as i16 from "./core/link/link.component";
18
+ import * as i17 from "./core/list/list.module";
19
+ import * as i18 from "./core/modal/modal.component";
20
+ import * as i19 from "./core/notifications/notifications.component";
21
+ import * as i20 from "./core/pagination/pagination.component";
22
+ import * as i21 from "./core/popover/popover.directive";
23
+ import * as i22 from "./core/progress-bar/progress-bar.component";
24
+ import * as i23 from "./core/progress-button/progress-button.component";
25
+ import * as i24 from "./core/spinner/spinner.component";
26
+ import * as i25 from "./core/steppers/steppers.module";
27
+ import * as i26 from "./core/tab/tab.module";
28
+ import * as i27 from "./core/table/table.component";
29
+ import * as i28 from "./core/tooltip/tooltip.directive";
30
+ import * as i29 from "./form/form.module";
31
+ import * as i30 from "./navigation/back-button/back-button.component";
32
+ import * as i31 from "./navigation/back-to-top/back-to-top.component";
33
+ import * as i32 from "./navigation/breadcrumbs/breadcrumbs.module";
34
+ import * as i33 from "./navigation/header/header.component";
35
+ import * as i34 from "./utils/error-page/error-page.component";
36
+ import * as i35 from "./utils/icon/icon.component";
37
+ import * as i36 from "./utils/language-switcher/language-switcher.component";
38
+ import * as i37 from "../pipes/mark-matching-text.pipe";
36
39
  export declare class ItComponentsModule {
37
40
  static ɵfac: i0.ɵɵFactoryDeclaration<ItComponentsModule, never>;
38
- static ɵmod: i0.ɵɵNgModuleDeclaration<ItComponentsModule, never, [typeof i1.ItAccordionComponent, typeof i2.ItAlertComponent, typeof i3.ItBadgeDirective, typeof i4.ItButtonDirective, typeof i5.ItCalloutComponent, typeof i6.ItCardComponent, typeof i7.ItCarouselModule, typeof i8.ItChipComponent, typeof i9.ItCollapseComponent, typeof i10.ItDimmerModule, typeof i11.ItDropdownModule, typeof i12.ItForwardDirective, typeof i13.ItLinkComponent, typeof i14.ItListModule, typeof i15.ItModalComponent, typeof i16.ItNotificationsComponent, typeof i17.ItPaginationComponent, typeof i18.ItPopoverDirective, typeof i19.ItProgressBarComponent, typeof i20.ItProgressButtonComponent, typeof i21.ItSpinnerComponent, typeof i22.ItSteppersModule, typeof i23.ItTabModule, typeof i24.ItTableComponent, typeof i25.ItTooltipDirective, typeof i26.ItFormModule, typeof i27.ItBackButtonComponent, typeof i28.ItBackToTopComponent, typeof i29.ItBreadcrumbsModule, typeof i30.ItHeaderComponent, typeof i31.ItErrorPageComponent, typeof i32.ItIconComponent, typeof i33.ItLanguageSwitcherComponent, typeof i34.MarkMatchingTextPipe], [typeof i1.ItAccordionComponent, typeof i2.ItAlertComponent, typeof i3.ItBadgeDirective, typeof i4.ItButtonDirective, typeof i5.ItCalloutComponent, typeof i6.ItCardComponent, typeof i7.ItCarouselModule, typeof i8.ItChipComponent, typeof i9.ItCollapseComponent, typeof i10.ItDimmerModule, typeof i11.ItDropdownModule, typeof i12.ItForwardDirective, typeof i13.ItLinkComponent, typeof i14.ItListModule, typeof i15.ItModalComponent, typeof i16.ItNotificationsComponent, typeof i17.ItPaginationComponent, typeof i18.ItPopoverDirective, typeof i19.ItProgressBarComponent, typeof i20.ItProgressButtonComponent, typeof i21.ItSpinnerComponent, typeof i22.ItSteppersModule, typeof i23.ItTabModule, typeof i24.ItTableComponent, typeof i25.ItTooltipDirective, typeof i26.ItFormModule, typeof i27.ItBackButtonComponent, typeof i28.ItBackToTopComponent, typeof i29.ItBreadcrumbsModule, typeof i30.ItHeaderComponent, typeof i31.ItErrorPageComponent, typeof i32.ItIconComponent, typeof i33.ItLanguageSwitcherComponent, typeof i34.MarkMatchingTextPipe]>;
41
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ItComponentsModule, never, [typeof i1.ItAccordionComponent, typeof i2.ItAlertComponent, typeof i3.ItAvatarGroupItemComponent, typeof i3.ItAvatarGroupComponent, typeof i4.ItAvatarDropdownComponent, typeof i4.ItAvatarDropdownItemComponent, typeof i5.ItAvatarDirective, typeof i6.ItBadgeDirective, typeof i7.ItButtonDirective, typeof i8.ItCalloutComponent, typeof i9.ItCardComponent, typeof i10.ItCarouselModule, typeof i11.ItChipComponent, typeof i12.ItCollapseComponent, typeof i13.ItDimmerModule, typeof i14.ItDropdownModule, typeof i15.ItForwardDirective, typeof i16.ItLinkComponent, typeof i17.ItListModule, typeof i18.ItModalComponent, typeof i19.ItNotificationsComponent, typeof i20.ItPaginationComponent, typeof i21.ItPopoverDirective, typeof i22.ItProgressBarComponent, typeof i23.ItProgressButtonComponent, typeof i24.ItSpinnerComponent, typeof i25.ItSteppersModule, typeof i26.ItTabModule, typeof i27.ItTableComponent, typeof i28.ItTooltipDirective, typeof i29.ItFormModule, typeof i30.ItBackButtonComponent, typeof i31.ItBackToTopComponent, typeof i32.ItBreadcrumbsModule, typeof i33.ItHeaderComponent, typeof i34.ItErrorPageComponent, typeof i35.ItIconComponent, typeof i36.ItLanguageSwitcherComponent, typeof i37.MarkMatchingTextPipe], [typeof i1.ItAccordionComponent, typeof i2.ItAlertComponent, typeof i3.ItAvatarGroupItemComponent, typeof i3.ItAvatarGroupComponent, typeof i4.ItAvatarDropdownComponent, typeof i4.ItAvatarDropdownItemComponent, typeof i5.ItAvatarDirective, typeof i6.ItBadgeDirective, typeof i7.ItButtonDirective, typeof i8.ItCalloutComponent, typeof i9.ItCardComponent, typeof i10.ItCarouselModule, typeof i11.ItChipComponent, typeof i12.ItCollapseComponent, typeof i13.ItDimmerModule, typeof i14.ItDropdownModule, typeof i15.ItForwardDirective, typeof i16.ItLinkComponent, typeof i17.ItListModule, typeof i18.ItModalComponent, typeof i19.ItNotificationsComponent, typeof i20.ItPaginationComponent, typeof i21.ItPopoverDirective, typeof i22.ItProgressBarComponent, typeof i23.ItProgressButtonComponent, typeof i24.ItSpinnerComponent, typeof i25.ItSteppersModule, typeof i26.ItTabModule, typeof i27.ItTableComponent, typeof i28.ItTooltipDirective, typeof i29.ItFormModule, typeof i30.ItBackButtonComponent, typeof i31.ItBackToTopComponent, typeof i32.ItBreadcrumbsModule, typeof i33.ItHeaderComponent, typeof i34.ItErrorPageComponent, typeof i35.ItIconComponent, typeof i36.ItLanguageSwitcherComponent, typeof i37.MarkMatchingTextPipe]>;
39
42
  static ɵinj: i0.ɵɵInjectorDeclaration<ItComponentsModule>;
40
43
  }
@@ -0,0 +1,29 @@
1
+ import { TemplateRef, QueryList } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ItAvatarDropdownItemComponent {
4
+ _implicitContent: TemplateRef<any>;
5
+ /**
6
+ * Indica il link che possiamo passare all'elemento
7
+ */
8
+ link?: string | any[] | null | undefined;
9
+ /**
10
+ * Permette di utilizzare l'attributo html title
11
+ */
12
+ title?: string;
13
+ /**
14
+ * Permette di utilizzare l'attributo html accesskey
15
+ */
16
+ accesskey?: string;
17
+ /**
18
+ * Permette di utilizzare l'attributo html tabindex
19
+ */
20
+ tabindex?: number;
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItAvatarDropdownItemComponent, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItAvatarDropdownItemComponent, "it-avatar-dropdown-item", never, { "link": { "alias": "link"; "required": false; }; "title": { "alias": "title"; "required": false; }; "accesskey": { "alias": "accesskey"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; }, {}, never, ["*"], true, never>;
23
+ }
24
+ export declare class ItAvatarDropdownComponent {
25
+ constructor();
26
+ items: QueryList<ItAvatarDropdownItemComponent>;
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItAvatarDropdownComponent, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItAvatarDropdownComponent, "it-avatar-dropdown", never, {}, {}, ["items"], ["[it-avatar-dropdown-toggle]"], true, never>;
29
+ }
@@ -0,0 +1,14 @@
1
+ import { QueryList, TemplateRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ItAvatarGroupItemComponent {
4
+ constructor();
5
+ _implicitContent: TemplateRef<any>;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItAvatarGroupItemComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItAvatarGroupItemComponent, "it-avatar-item", never, {}, {}, never, ["*"], true, never>;
8
+ }
9
+ export declare class ItAvatarGroupComponent {
10
+ constructor();
11
+ avatars: QueryList<ItAvatarGroupItemComponent>;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItAvatarGroupComponent, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItAvatarGroupComponent, "it-avatar-group", never, {}, {}, ["avatars"], never, true, never>;
14
+ }
@@ -0,0 +1,33 @@
1
+ import { SizesEnum } from '../../../enums/sizes.enum';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ItAvatarDirective {
4
+ /**
5
+ * Indica il colore dell'avatar. Può assumere i valori:
6
+ * <ul>
7
+ * <li> primary
8
+ * <li> secondary
9
+ * <li> green
10
+ * <li> orange
11
+ * <li> red
12
+ * </ul>
13
+ */
14
+ get color(): string | undefined;
15
+ set color(value: string | undefined);
16
+ private _color?;
17
+ /**
18
+ * Indica la grandezza dell'avatar. Può assumere i valori:
19
+ * <ul>
20
+ * <li> xs
21
+ * <li> sm
22
+ * <li> lg
23
+ * <li> xl
24
+ * <li> xxl
25
+ * </ul>
26
+ */
27
+ get size(): SizesEnum | undefined;
28
+ set size(value: string | undefined);
29
+ private _size?;
30
+ get hostClasses(): string;
31
+ static ɵfac: i0.ɵɵFactoryDeclaration<ItAvatarDirective, never>;
32
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ItAvatarDirective, "[itAvatar]", ["itAvatar"], { "color": { "alias": "color"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
33
+ }
@@ -54,6 +54,11 @@ export declare class ItInputComponent extends ItAbstractFormComponent<string | n
54
54
  * If is a percentage number [Used only in type = 'number']
55
55
  */
56
56
  percentage: BooleanInput | undefined;
57
+ /**
58
+ * The currency or percentage symbol [Used only if percentage or currency]
59
+ * @example '$'
60
+ */
61
+ symbol: string | undefined;
57
62
  /**
58
63
  * To make the numeric field automatically resize according to the value contained in it. [Used only in type = 'number']
59
64
  */
@@ -108,5 +113,5 @@ export declare class ItInputComponent extends ItAbstractFormComponent<string | n
108
113
  autocompleteItemTrackByValueFn(index: number, item: AutocompleteItem): string;
109
114
  onKeyDown(): void;
110
115
  static ɵfac: i0.ɵɵFactoryDeclaration<ItInputComponent, never>;
111
- static ɵcmp: i0.ɵɵComponentDeclaration<ItInputComponent, "it-input", never, { "type": { "alias": "type"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "description": { "alias": "description"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "max": { "alias": "max"; "required": false; }; "min": { "alias": "min"; "required": false; }; "step": { "alias": "step"; "required": false; }; "currency": { "alias": "currency"; "required": false; }; "percentage": { "alias": "percentage"; "required": false; }; "adaptive": { "alias": "adaptive"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "autocompleteData": { "alias": "autocompleteData"; "required": false; }; "autocompleteDebounceTime": { "alias": "autocompleteDebounceTime"; "required": false; }; }, { "autocompleteSelectedEvent": "autocompleteSelectedEvent"; }, never, ["[prepend]", "[prependText]", "[append]", "[appendText]", "[error]"], true, never>;
116
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItInputComponent, "it-input", never, { "type": { "alias": "type"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "description": { "alias": "description"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "max": { "alias": "max"; "required": false; }; "min": { "alias": "min"; "required": false; }; "step": { "alias": "step"; "required": false; }; "currency": { "alias": "currency"; "required": false; }; "percentage": { "alias": "percentage"; "required": false; }; "symbol": { "alias": "symbol"; "required": false; }; "adaptive": { "alias": "adaptive"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "autocompleteData": { "alias": "autocompleteData"; "required": false; }; "autocompleteDebounceTime": { "alias": "autocompleteDebounceTime"; "required": false; }; }, { "autocompleteSelectedEvent": "autocompleteSelectedEvent"; }, never, ["[prepend]", "[prependText]", "[append]", "[appendText]", "[error]"], true, never>;
112
117
  }
@@ -0,0 +1,10 @@
1
+ export declare enum ColorsEnum {
2
+ primary = "primary",
3
+ secondary = "secondary",
4
+ success = "success",
5
+ danger = "danger",
6
+ warning = "warning",
7
+ green = "green",
8
+ orange = "orange",
9
+ red = "red"
10
+ }
@@ -0,0 +1,7 @@
1
+ export declare enum SizesEnum {
2
+ xs = "size-xs",
3
+ sm = "size-sm",
4
+ lg = "size-lg",
5
+ xl = "size-xl",
6
+ xxl = "size-xxl"
7
+ }
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-21",
4
+ "version": "1.0.0-22",
5
5
  "license": "BSD-3-Clause",
6
6
  "keywords": [
7
7
  "angular",
@@ -37,7 +37,7 @@
37
37
  "@angular/platform-browser": "^16.0.0",
38
38
  "@ngx-translate/core": "^15.0.0",
39
39
  "@ngx-translate/http-loader": "^8.0.0",
40
- "bootstrap-italia": "^2.7.10"
40
+ "bootstrap-italia": "^2.7.12"
41
41
  },
42
42
  "module": "fesm2022/design-angular-kit.mjs",
43
43
  "typings": "index.d.ts",
package/public_api.d.ts CHANGED
@@ -39,6 +39,9 @@ export * from './lib/components/core/tab/tab-container/tab-container.component';
39
39
  export * from './lib/components/core/tab/tab-item/tab-item.component';
40
40
  export * from './lib/components/core/table/table.component';
41
41
  export * from './lib/components/core/tooltip/tooltip.directive';
42
+ export * from './lib/components/core/avatar/avatar.directive';
43
+ export * from './lib/components/core/avatar/avatar-dropdown/avatar-dropdown.component';
44
+ export * from './lib/components/core/avatar/avatar-group/avatar-group.component';
42
45
  export * from './lib/components/form/form.module';
43
46
  export * from './lib/components/form/checkbox/checkbox.component';
44
47
  export * from './lib/components/form/input/input.component';