design-angular-kit 18.1.0 → 18.2.0

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,8 +1,9 @@
1
+ import { OnInit } from '@angular/core';
1
2
  import { IconName } from '../../../../interfaces/icon';
2
3
  import { ItLinkComponent } from '../../link/link.component';
3
4
  import * as i0 from "@angular/core";
4
5
  import * as i1 from "../../../../utils/coercion";
5
- export declare class ItDropdownItemComponent extends ItLinkComponent {
6
+ export declare class ItDropdownItemComponent extends ItLinkComponent implements OnInit {
6
7
  /**
7
8
  * Show divider
8
9
  * @default false
@@ -36,10 +37,13 @@ export declare class ItDropdownItemComponent extends ItLinkComponent {
36
37
  * @default false
37
38
  */
38
39
  isDark: boolean;
40
+ private elRef;
41
+ protected isHostElement: boolean;
39
42
  get linkClass(): string;
43
+ ngOnInit(): void;
40
44
  setDark(dark: boolean): void;
41
45
  static ɵfac: i0.ɵɵFactoryDeclaration<ItDropdownItemComponent, never>;
42
- static ɵcmp: i0.ɵɵComponentDeclaration<ItDropdownItemComponent, "it-dropdown-item", never, { "divider": { "alias": "divider"; "required": false; }; "active": { "alias": "active"; "required": false; }; "large": { "alias": "large"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; "iconPosition": { "alias": "iconPosition"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; }, {}, never, ["*"], true, never>;
46
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItDropdownItemComponent, "it-dropdown-item, li[itDropdownItem]", never, { "divider": { "alias": "divider"; "required": false; }; "active": { "alias": "active"; "required": false; }; "large": { "alias": "large"; "required": false; }; "iconName": { "alias": "iconName"; "required": false; }; "iconPosition": { "alias": "iconPosition"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; }, {}, never, ["*"], true, never>;
43
47
  static ngAcceptInputType_divider: i1.BooleanInput;
44
48
  static ngAcceptInputType_active: i1.BooleanInput;
45
49
  static ngAcceptInputType_large: i1.BooleanInput;
@@ -1,10 +1,10 @@
1
- import { ElementRef } from '@angular/core';
1
+ import { OnInit } from '@angular/core';
2
2
  import { ItLinkComponent } from '../../link/link.component';
3
3
  import * as i0 from "@angular/core";
4
4
  import * as i1 from "../../../../utils/coercion";
5
- export declare class ItListItemComponent extends ItLinkComponent {
5
+ export declare class ItListItemComponent extends ItLinkComponent implements OnInit {
6
6
  private elRef;
7
- constructor(elRef: ElementRef);
7
+ protected isHostElement: boolean;
8
8
  /**
9
9
  * Add active class
10
10
  * @default false
@@ -36,8 +36,9 @@ export declare class ItListItemComponent extends ItLinkComponent {
36
36
  */
37
37
  image: URL | undefined;
38
38
  get itemClass(): string;
39
+ ngOnInit(): void;
39
40
  static ɵfac: i0.ɵɵFactoryDeclaration<ItListItemComponent, never>;
40
- static ɵcmp: i0.ɵɵComponentDeclaration<ItListItemComponent, "it-list-item", never, { "active": { "alias": "active"; "required": false; }; "size": { "alias": "size"; "required": false; }; "iconLeft": { "alias": "iconLeft"; "required": false; }; "iconRight": { "alias": "iconRight"; "required": false; }; "avatar": { "alias": "avatar"; "required": false; }; "image": { "alias": "image"; "required": false; }; }, {}, never, ["[icon]", "*", "[action]", "[metadata]", "[multiple]"], true, never>;
41
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItListItemComponent, "it-list-item, li[itListItem]", never, { "active": { "alias": "active"; "required": false; }; "size": { "alias": "size"; "required": false; }; "iconLeft": { "alias": "iconLeft"; "required": false; }; "iconRight": { "alias": "iconRight"; "required": false; }; "avatar": { "alias": "avatar"; "required": false; }; "image": { "alias": "image"; "required": false; }; }, {}, never, ["[icon]", "*", "[action]", "[metadata]", "[multiple]"], true, never>;
41
42
  static ngAcceptInputType_active: i1.BooleanInput;
42
43
  static ngAcceptInputType_iconLeft: i1.BooleanInput;
43
44
  static ngAcceptInputType_iconRight: i1.BooleanInput;
@@ -5,6 +5,11 @@ import * as i0 from "@angular/core";
5
5
  import * as i1 from "../../../../utils/coercion";
6
6
  export declare class ItSteppersContainerComponent implements AfterViewInit, OnDestroy {
7
7
  private readonly _changeDetectorRef;
8
+ /**
9
+ * The confirmed label if different from default
10
+ * @default null
11
+ */
12
+ confirmedLabel: string | null;
8
13
  /**
9
14
  * The active step index
10
15
  * @param index the step index
@@ -113,7 +118,7 @@ export declare class ItSteppersContainerComponent implements AfterViewInit, OnDe
113
118
  ngAfterViewInit(): void;
114
119
  ngOnDestroy(): void;
115
120
  static ɵfac: i0.ɵɵFactoryDeclaration<ItSteppersContainerComponent, never>;
116
- static ɵcmp: i0.ɵɵComponentDeclaration<ItSteppersContainerComponent, "it-steppers-container", never, { "activeStep": { "alias": "activeStep"; "required": true; }; "showHeader": { "alias": "showHeader"; "required": false; }; "dark": { "alias": "dark"; "required": false; }; "steppersNumber": { "alias": "steppersNumber"; "required": false; }; "progressStyle": { "alias": "progressStyle"; "required": false; }; "progressColor": { "alias": "progressColor"; "required": false; }; "showBackButton": { "alias": "showBackButton"; "required": false; }; "disableBackButton": { "alias": "disableBackButton"; "required": false; }; "showForwardButton": { "alias": "showForwardButton"; "required": false; }; "disableForwardButton": { "alias": "disableForwardButton"; "required": false; }; "showConfirmButton": { "alias": "showConfirmButton"; "required": false; }; "disableConfirmButton": { "alias": "disableConfirmButton"; "required": false; }; "confirmLoading": { "alias": "confirmLoading"; "required": false; }; "showSaveButton": { "alias": "showSaveButton"; "required": false; }; "disableSaveButton": { "alias": "disableSaveButton"; "required": false; }; "saveLoading": { "alias": "saveLoading"; "required": false; }; }, { "backClick": "backClick"; "forwardClick": "forwardClick"; "confirmClick": "confirmClick"; "saveClick": "saveClick"; }, ["steps"], never, true, never>;
121
+ static ɵcmp: i0.ɵɵComponentDeclaration<ItSteppersContainerComponent, "it-steppers-container", never, { "confirmedLabel": { "alias": "confirmedLabel"; "required": false; }; "activeStep": { "alias": "activeStep"; "required": true; }; "showHeader": { "alias": "showHeader"; "required": false; }; "dark": { "alias": "dark"; "required": false; }; "steppersNumber": { "alias": "steppersNumber"; "required": false; }; "progressStyle": { "alias": "progressStyle"; "required": false; }; "progressColor": { "alias": "progressColor"; "required": false; }; "showBackButton": { "alias": "showBackButton"; "required": false; }; "disableBackButton": { "alias": "disableBackButton"; "required": false; }; "showForwardButton": { "alias": "showForwardButton"; "required": false; }; "disableForwardButton": { "alias": "disableForwardButton"; "required": false; }; "showConfirmButton": { "alias": "showConfirmButton"; "required": false; }; "disableConfirmButton": { "alias": "disableConfirmButton"; "required": false; }; "confirmLoading": { "alias": "confirmLoading"; "required": false; }; "showSaveButton": { "alias": "showSaveButton"; "required": false; }; "disableSaveButton": { "alias": "disableSaveButton"; "required": false; }; "saveLoading": { "alias": "saveLoading"; "required": false; }; }, { "backClick": "backClick"; "forwardClick": "forwardClick"; "confirmClick": "confirmClick"; "saveClick": "saveClick"; }, ["steps"], never, true, never>;
117
122
  static ngAcceptInputType_showHeader: i1.BooleanInput;
118
123
  static ngAcceptInputType_dark: i1.BooleanInput;
119
124
  static ngAcceptInputType_steppersNumber: i1.BooleanInput;
@@ -51,7 +51,6 @@ export declare class ItSearchComponent extends ItAbstractFormComponent<string |
51
51
  protected onEntryClick(entry: SearchItem, event: Event): void;
52
52
  protected searchItemTrackByValueFn(index: number, item: SearchItem): string;
53
53
  protected onKeyDown(): void;
54
- protected get isActiveLabel(): boolean;
55
54
  static ɵfac: i0.ɵɵFactoryDeclaration<ItSearchComponent, never>;
56
55
  static ɵcmp: i0.ɵɵComponentDeclaration<ItSearchComponent, "it-search", never, { "searchData": { "alias": "searchData"; "required": true; }; "big": { "alias": "big"; "required": false; }; "debounceTime": { "alias": "debounceTime"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "labelWaria": { "alias": "labelWaria"; "required": false; }; "forceShowLabel": { "alias": "forceShowLabel"; "required": false; }; }, { "searchSelectedEvent": "searchSelectedEvent"; }, never, ["[error]"], true, never>;
57
56
  static ngAcceptInputType_big: i1.BooleanInput;
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": "18.1.0",
4
+ "version": "18.2.0",
5
5
  "license": "BSD-3-Clause",
6
6
  "keywords": [
7
7
  "angular",
@@ -55,7 +55,7 @@
55
55
  "@angular/router": "^18.0.0",
56
56
  "@ngx-translate/core": "^15.0.0",
57
57
  "@ngx-translate/http-loader": "^8.0.0",
58
- "bootstrap-italia": "^2.16.1"
58
+ "bootstrap-italia": "^2.17.0"
59
59
  },
60
60
  "sideEffects": false,
61
61
  "module": "fesm2022/design-angular-kit.mjs",