@inera/ids-angular 1.9.0 → 1.10.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.
Files changed (36) hide show
  1. package/bundles/inera-ids-angular.umd.js +141 -33
  2. package/bundles/inera-ids-angular.umd.js.map +1 -1
  3. package/esm2015/lib/classes/header/IDHeaderAvatar.js +4 -1
  4. package/esm2015/lib/classes/header/IDHeaderAvatarProps.js +1 -1
  5. package/esm2015/lib/classes/header/IDHeaderNavItem.js +4 -1
  6. package/esm2015/lib/classes/header/IDHeaderNavItemProps.js +1 -1
  7. package/esm2015/lib/components/agent/agent.component.js +33 -0
  8. package/esm2015/lib/components/agent/agent.module.js +24 -0
  9. package/esm2015/lib/components/dialog/dialog.component.js +8 -2
  10. package/esm2015/lib/components/form/base/IDFormBase.js +18 -0
  11. package/esm2015/lib/components/form/checkbox/checkbox.component.js +5 -3
  12. package/esm2015/lib/components/form/checkbox-group/checkbox-group.component.js +5 -3
  13. package/esm2015/lib/components/form/input/input.component.js +6 -4
  14. package/esm2015/lib/components/form/select/select.component.js +8 -4
  15. package/esm2015/lib/components/form/select-multiple/select-multiple.component.js +6 -4
  16. package/esm2015/lib/components/form/textarea/textarea.component.js +7 -4
  17. package/esm2015/lib/components/header/header.component.js +2 -2
  18. package/esm2015/public-api.js +4 -1
  19. package/fesm2015/inera-ids-angular.js +107 -20
  20. package/fesm2015/inera-ids-angular.js.map +1 -1
  21. package/lib/classes/header/IDHeaderAvatar.d.ts +1 -0
  22. package/lib/classes/header/IDHeaderAvatarProps.d.ts +1 -0
  23. package/lib/classes/header/IDHeaderNavItem.d.ts +1 -0
  24. package/lib/classes/header/IDHeaderNavItemProps.d.ts +1 -0
  25. package/lib/components/agent/agent.component.d.ts +12 -0
  26. package/lib/components/agent/agent.module.d.ts +9 -0
  27. package/lib/components/dialog/dialog.component.d.ts +3 -1
  28. package/lib/components/form/base/IDFormBase.d.ts +8 -0
  29. package/lib/components/form/checkbox/checkbox.component.d.ts +2 -1
  30. package/lib/components/form/checkbox-group/checkbox-group.component.d.ts +2 -1
  31. package/lib/components/form/input/input.component.d.ts +3 -1
  32. package/lib/components/form/select/select.component.d.ts +3 -1
  33. package/lib/components/form/select-multiple/select-multiple.component.d.ts +2 -1
  34. package/lib/components/form/textarea/textarea.component.d.ts +2 -1
  35. package/package.json +2 -2
  36. package/public-api.d.ts +2 -0
@@ -7,4 +7,5 @@ export declare class IDHeaderAvatar {
7
7
  get linkLeft(): IDLink | undefined;
8
8
  get linkRight(): IDLink | undefined;
9
9
  get serviceName(): string | undefined;
10
+ get linkMobile(): IDLink | undefined;
10
11
  }
@@ -3,5 +3,6 @@ export interface IDHeaderAvatarProps {
3
3
  username?: string;
4
4
  linkLeft?: IDLink;
5
5
  linkRight?: IDLink;
6
+ linkMobile?: IDLink;
6
7
  serviceName?: string;
7
8
  }
@@ -11,4 +11,5 @@ export declare class IDHeaderNavItem {
11
11
  get paragraph(): string | undefined;
12
12
  get link(): IDLink | undefined;
13
13
  get paragraphLink(): IDLink | undefined;
14
+ get active(): boolean | undefined;
14
15
  }
@@ -8,4 +8,5 @@ export interface IDHeaderNavItemProps {
8
8
  paragraph?: string;
9
9
  link?: IDLink;
10
10
  pragraphLink?: IDLink;
11
+ active?: boolean;
11
12
  }
@@ -0,0 +1,12 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class IDAgentComponent {
4
+ constructor();
5
+ expanded: boolean;
6
+ headline: String;
7
+ showText: String;
8
+ hideText: String;
9
+ didToggleExpansion: EventEmitter<boolean>;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<IDAgentComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<IDAgentComponent, "id-agent", never, { "expanded": "expanded"; "headline": "headline"; "showText": "showText"; "hideText": "hideText"; }, { "didToggleExpansion": "didToggleExpansion"; }, never, ["*"]>;
12
+ }
@@ -0,0 +1,9 @@
1
+ import '@inera/ids-core/components/agent/register';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "./agent.component";
4
+ import * as i2 from "@angular/common";
5
+ export declare class IDAgentModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<IDAgentModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<IDAgentModule, [typeof i1.IDAgentComponent], [typeof i2.CommonModule], [typeof i1.IDAgentComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<IDAgentModule>;
9
+ }
@@ -2,11 +2,13 @@ import * as i0 from "@angular/core";
2
2
  export declare class IDDialogComponent {
3
3
  constructor();
4
4
  dismissible: boolean;
5
+ srCloseText: boolean;
6
+ noFocusTrap: boolean;
5
7
  headline: string;
6
8
  overlay: boolean;
7
9
  persistent: boolean;
8
10
  show: boolean;
9
11
  width: string;
10
12
  static ɵfac: i0.ɵɵFactoryDeclaration<IDDialogComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<IDDialogComponent, "id-dialog", never, { "dismissible": "dismissible"; "headline": "headline"; "overlay": "overlay"; "persistent": "persistent"; "show": "show"; "width": "width"; }, {}, never, ["*"]>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<IDDialogComponent, "id-dialog", never, { "dismissible": "dismissible"; "srCloseText": "srCloseText"; "noFocusTrap": "noFocusTrap"; "headline": "headline"; "overlay": "overlay"; "persistent": "persistent"; "show": "show"; "width": "width"; }, {}, never, ["*"]>;
12
14
  }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class IDFormBase {
3
+ valid: boolean;
4
+ noValidation: boolean;
5
+ constructor();
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<IDFormBase, never>;
7
+ static ɵprov: i0.ɵɵInjectableDeclaration<IDFormBase>;
8
+ }
@@ -1,5 +1,6 @@
1
+ import { IDFormBase } from '../base/IDFormBase';
1
2
  import * as i0 from "@angular/core";
2
- export declare class IDCheckboxComponent {
3
+ export declare class IDCheckboxComponent extends IDFormBase {
3
4
  valid: boolean;
4
5
  constructor();
5
6
  static ɵfac: i0.ɵɵFactoryDeclaration<IDCheckboxComponent, never>;
@@ -1,6 +1,7 @@
1
1
  import { OnInit } from '@angular/core';
2
+ import { IDFormBase } from '../base/IDFormBase';
2
3
  import * as i0 from "@angular/core";
3
- export declare class IDCheckboxGroupComponent implements OnInit {
4
+ export declare class IDCheckboxGroupComponent extends IDFormBase implements OnInit {
4
5
  errorMessage: string | undefined;
5
6
  constructor();
6
7
  ngOnInit(): void;
@@ -1,6 +1,8 @@
1
+ import { IDFormBase } from '../base/IDFormBase';
1
2
  import * as i0 from "@angular/core";
2
- export declare class IDInputComponent {
3
+ export declare class IDInputComponent extends IDFormBase {
3
4
  autofocus: boolean;
5
+ constructor();
4
6
  static ɵfac: i0.ɵɵFactoryDeclaration<IDInputComponent, never>;
5
7
  static ɵcmp: i0.ɵɵComponentDeclaration<IDInputComponent, "id-input", never, { "autofocus": "autofocus"; }, {}, never, ["*"]>;
6
8
  }
@@ -1,5 +1,7 @@
1
+ import { IDFormBase } from '../base/IDFormBase';
1
2
  import * as i0 from "@angular/core";
2
- export declare class IDSelectComponent {
3
+ export declare class IDSelectComponent extends IDFormBase {
4
+ constructor();
3
5
  static ɵfac: i0.ɵɵFactoryDeclaration<IDSelectComponent, never>;
4
6
  static ɵcmp: i0.ɵɵComponentDeclaration<IDSelectComponent, "id-select", never, {}, {}, never, ["*"]>;
5
7
  }
@@ -1,5 +1,6 @@
1
+ import { IDFormBase } from '../base/IDFormBase';
1
2
  import * as i0 from "@angular/core";
2
- export declare class IDSelectMultipleComponent {
3
+ export declare class IDSelectMultipleComponent extends IDFormBase {
3
4
  label: String | undefined;
4
5
  errorMessage: String | undefined;
5
6
  placeholder: String;
@@ -1,5 +1,6 @@
1
+ import { IDFormBase } from '../base/IDFormBase';
1
2
  import * as i0 from "@angular/core";
2
- export declare class IDTextareaComponent {
3
+ export declare class IDTextareaComponent extends IDFormBase {
3
4
  constructor();
4
5
  static ɵfac: i0.ɵɵFactoryDeclaration<IDTextareaComponent, never>;
5
6
  static ɵcmp: i0.ɵɵComponentDeclaration<IDTextareaComponent, "id-textarea", never, {}, {}, never, ["*"]>;
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@inera/ids-angular",
3
- "version": "1.9.0",
3
+ "version": "1.10.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^12.2.0",
6
6
  "@angular/core": "^12.2.0",
7
- "@inera/ids-core": "1.9.x"
7
+ "@inera/ids-core": "1.10.x"
8
8
  },
9
9
  "publishConfig": {
10
10
  "access": "public"
package/public-api.d.ts CHANGED
@@ -2,6 +2,8 @@ export * from './lib/components/alert/alert.component';
2
2
  export * from './lib/components/alert/alert.module';
3
3
  export * from './lib/components/alert-global/alert-global.component';
4
4
  export * from './lib/components/alert-global/alert-global.module';
5
+ export * from './lib/components/agent/agent.component';
6
+ export * from './lib/components/agent/agent.module';
5
7
  export * from './lib/components/button/button.component';
6
8
  export * from './lib/components/button/button.module';
7
9
  export * from './lib/components/button-group/button-group.component';