@inera/ids-angular 3.1.4 → 4.1.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 (30) hide show
  1. package/bundles/inera-ids-angular.umd.js +72 -37
  2. package/bundles/inera-ids-angular.umd.js.map +1 -1
  3. package/esm2015/lib/classes/mobile/MobileMenuItem.js +7 -1
  4. package/esm2015/lib/classes/mobile/MobileMenuItemProps.js +1 -1
  5. package/esm2015/lib/classes/tabs/IDTab.js +21 -0
  6. package/esm2015/lib/classes/tabs/IDTabProps.js +2 -0
  7. package/esm2015/lib/components/button/button.component.js +2 -2
  8. package/esm2015/lib/components/dialog/dialog.component.js +2 -5
  9. package/esm2015/lib/components/dialog/dialog.module.js +4 -9
  10. package/esm2015/lib/components/footer/footer.component.js +2 -2
  11. package/esm2015/lib/components/header/header.component.js +2 -2
  12. package/esm2015/lib/components/link/link.component.js +2 -2
  13. package/esm2015/lib/components/mobile/menu/mobile-menu.component.js +2 -2
  14. package/esm2015/lib/components/tabs/tabs.component.js +6 -3
  15. package/esm2015/lib/internals/anchor.component.js +3 -3
  16. package/esm2015/public-api.js +3 -2
  17. package/fesm2015/inera-ids-angular.js +43 -35
  18. package/fesm2015/inera-ids-angular.js.map +1 -1
  19. package/lib/classes/mobile/MobileMenuItem.d.ts +2 -0
  20. package/lib/classes/mobile/MobileMenuItemProps.d.ts +2 -0
  21. package/lib/classes/tabs/IDTab.d.ts +11 -0
  22. package/lib/classes/tabs/IDTabProps.d.ts +8 -0
  23. package/lib/components/dialog/dialog.component.d.ts +1 -2
  24. package/lib/components/dialog/dialog.module.d.ts +1 -2
  25. package/lib/components/tabs/tabs.component.d.ts +3 -2
  26. package/license.md +7 -0
  27. package/package.json +3 -3
  28. package/public-api.d.ts +2 -1
  29. package/esm2015/lib/components/dialog/actions/dialog-actions.component.js +0 -16
  30. package/lib/components/dialog/actions/dialog-actions.component.d.ts +0 -6
@@ -13,6 +13,8 @@ export declare class IDMobileMenuItem {
13
13
  get secondary(): boolean | undefined;
14
14
  get active(): boolean | undefined;
15
15
  get variation(): number | undefined;
16
+ get showtext(): string | undefined;
17
+ get hidetext(): string | undefined;
16
18
  get expansionToggled(): (() => any) | undefined;
17
19
  togleExpansion(): void;
18
20
  }
@@ -3,6 +3,8 @@ import { IDLink } from "../link/IDLink";
3
3
  import { IDMobileMenuItem } from "./MobileMenuItem";
4
4
  export interface IDMobileMenuItemProps {
5
5
  headline?: string;
6
+ showtext?: string;
7
+ hidetext?: string;
6
8
  link?: IDLink;
7
9
  prependIcon?: IDIcon;
8
10
  appendIcon?: IDIcon;
@@ -0,0 +1,11 @@
1
+ import { IDIcon } from "../icon/IDIcon";
2
+ import { IDTabProps } from "./IDTabProps";
3
+ export declare class IDTab {
4
+ private _props;
5
+ constructor(_props: IDTabProps);
6
+ get label(): string | undefined;
7
+ get selected(): boolean | undefined;
8
+ get notices(): number | undefined;
9
+ get notifications(): number | undefined;
10
+ get icon(): IDIcon | undefined;
11
+ }
@@ -0,0 +1,8 @@
1
+ import { IDIcon } from "../icon/IDIcon";
2
+ export interface IDTabProps {
3
+ label: string;
4
+ selected?: boolean;
5
+ notices?: number;
6
+ notifications?: number;
7
+ icon?: IDIcon;
8
+ }
@@ -6,7 +6,6 @@ export declare class IDDialogComponent {
6
6
  srclosetext: string;
7
7
  nofocustrap: boolean;
8
8
  autofocus: boolean;
9
- headline: string;
10
9
  overlay: boolean;
11
10
  persistent: boolean;
12
11
  show: boolean;
@@ -14,5 +13,5 @@ export declare class IDDialogComponent {
14
13
  onClosed: EventEmitter<Event>;
15
14
  emitOnClosed(e: Event): void;
16
15
  static ɵfac: i0.ɵɵFactoryDeclaration<IDDialogComponent, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<IDDialogComponent, "id-dialog", never, { "dismissible": "dismissible"; "srclosetext": "srclosetext"; "nofocustrap": "nofocustrap"; "autofocus": "autofocus"; "headline": "headline"; "overlay": "overlay"; "persistent": "persistent"; "show": "show"; "width": "width"; }, { "onClosed": "onClosed"; }, never, ["*"]>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<IDDialogComponent, "id-dialog", never, { "dismissible": "dismissible"; "srclosetext": "srclosetext"; "nofocustrap": "nofocustrap"; "autofocus": "autofocus"; "overlay": "overlay"; "persistent": "persistent"; "show": "show"; "width": "width"; }, { "onClosed": "onClosed"; }, never, ["*"]>;
18
17
  }
@@ -1,9 +1,8 @@
1
1
  import '@inera/ids-core/components/dialog/register';
2
2
  import * as i0 from "@angular/core";
3
3
  import * as i1 from "./dialog.component";
4
- import * as i2 from "./actions/dialog-actions.component";
5
4
  export declare class IDDialogModule {
6
5
  static ɵfac: i0.ɵɵFactoryDeclaration<IDDialogModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<IDDialogModule, [typeof i1.IDDialogComponent, typeof i2.IDDialogActionsComponent], never, [typeof i1.IDDialogComponent, typeof i2.IDDialogActionsComponent]>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<IDDialogModule, [typeof i1.IDDialogComponent], never, [typeof i1.IDDialogComponent]>;
8
7
  static ɵinj: i0.ɵɵInjectorDeclaration<IDDialogModule>;
9
8
  }
@@ -1,9 +1,10 @@
1
+ import { IDTab } from '../../classes/tabs/IDTab';
1
2
  import * as i0 from "@angular/core";
2
3
  export declare class IDTabsComponent {
4
+ tabs: IDTab[] | undefined;
3
5
  responsive: 'm' | 's';
4
6
  unresponsive: boolean;
5
7
  selectLabel: string;
6
- constructor();
7
8
  static ɵfac: i0.ɵɵFactoryDeclaration<IDTabsComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<IDTabsComponent, "id-tabs", never, { "responsive": "responsive"; "unresponsive": "unresponsive"; "selectLabel": "selectLabel"; }, {}, never, ["*"]>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<IDTabsComponent, "id-tabs", never, { "tabs": "tabs"; "responsive": "responsive"; "unresponsive": "unresponsive"; "selectLabel": "selectLabel"; }, {}, never, ["*", "[panel-0]", "[panel-1]", "[panel-2]", "[panel-3]", "[panel-4]", "[panel-5]", "[panel-6]", "[panel-7]", "[panel-8]", "[panel-9]"]>;
9
10
  }
package/license.md ADDED
@@ -0,0 +1,7 @@
1
+ # License
2
+
3
+ The package @inera/ids-angular is solely for the purpose of being used for and on behalf of Inera AB and its subsidiaries.
4
+
5
+ Individuals or entities that are not affiliated with or employed by Inera AB or its subsidiaries are prohibited from accessing or utilizing this package. Additionally, they may not reproduce, sell, publish any information, content, or materials available through it for any purpose.
6
+
7
+ By accessing and using this package, you agree to be bound by these terms of use.
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@inera/ids-angular",
3
- "version": "3.1.4",
3
+ "version": "4.1.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "*",
6
6
  "@angular/core": "*",
7
- "@inera/ids-core": "3.1.x"
7
+ "@inera/ids-core": "4.1.x"
8
8
  },
9
9
  "publishConfig": {
10
10
  "access": "public"
11
11
  },
12
- "license": "UNLICENSED",
12
+ "license": "SEE LICENSE IN LICENSE.md",
13
13
  "dependencies": {
14
14
  "tslib": "^2.3.0"
15
15
  },
package/public-api.d.ts CHANGED
@@ -21,7 +21,6 @@ export * from './lib/components/date-label/date-label.component';
21
21
  export * from './lib/components/date-label/date-label.module';
22
22
  export * from './lib/components/dialog/dialog.component';
23
23
  export * from './lib/components/dialog/dialog.module';
24
- export * from './lib/components/dialog/actions/dialog-actions.component';
25
24
  export * from './lib/components/expandable/expandable.component';
26
25
  export * from './lib/components/expandable/expandable.module';
27
26
  export * from './lib/classes/icon/IDIcon';
@@ -102,6 +101,8 @@ export * from './lib/components/tabs/tabs.component';
102
101
  export * from './lib/components/tabs/panel/tab-panel.component';
103
102
  export * from './lib/components/tabs/tab/tab.component';
104
103
  export * from './lib/components/tabs/tabs.module';
104
+ export * from './lib/classes/tabs/IDTab';
105
+ export * from './lib/classes/tabs/IDTabProps';
105
106
  export * from './lib/components/tag/tag.component';
106
107
  export * from './lib/components/tag/tag.module';
107
108
  export * from './lib/components/tooltip/tooltip.component';
@@ -1,16 +0,0 @@
1
- import { Component, ViewEncapsulation } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class IDDialogActionsComponent {
4
- constructor() { }
5
- }
6
- IDDialogActionsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDDialogActionsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
7
- IDDialogActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: IDDialogActionsComponent, selector: "id-dialog-actions", ngImport: i0, template: "<ids-dialog-actions>\r\n <ng-content></ng-content>\r\n</ids-dialog-actions>", encapsulation: i0.ViewEncapsulation.None });
8
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: IDDialogActionsComponent, decorators: [{
9
- type: Component,
10
- args: [{
11
- selector: 'id-dialog-actions',
12
- templateUrl: './dialog-actions.component.html',
13
- encapsulation: ViewEncapsulation.None,
14
- }]
15
- }], ctorParameters: function () { return []; } });
16
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGlhbG9nLWFjdGlvbnMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvaWRzLWFuZ3VsYXIvc3JjL2xpYi9jb21wb25lbnRzL2RpYWxvZy9hY3Rpb25zL2RpYWxvZy1hY3Rpb25zLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2lkcy1hbmd1bGFyL3NyYy9saWIvY29tcG9uZW50cy9kaWFsb2cvYWN0aW9ucy9kaWFsb2ctYWN0aW9ucy5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sZUFBZSxDQUFDOztBQU83RCxNQUFNLE9BQU8sd0JBQXdCO0lBRW5DLGdCQUFnQixDQUFDOztzSEFGTix3QkFBd0I7MEdBQXhCLHdCQUF3Qix5RENQckMsOEVBRXFCOzRGREtSLHdCQUF3QjtrQkFMcEMsU0FBUzttQkFBQztvQkFDVCxRQUFRLEVBQUUsbUJBQW1CO29CQUM3QixXQUFXLEVBQUUsaUNBQWlDO29CQUM5QyxhQUFhLEVBQUUsaUJBQWlCLENBQUMsSUFBSTtpQkFDdEMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb21wb25lbnQsIFZpZXdFbmNhcHN1bGF0aW9uIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcblxyXG5AQ29tcG9uZW50KHtcclxuICBzZWxlY3RvcjogJ2lkLWRpYWxvZy1hY3Rpb25zJyxcclxuICB0ZW1wbGF0ZVVybDogJy4vZGlhbG9nLWFjdGlvbnMuY29tcG9uZW50Lmh0bWwnLFxyXG4gIGVuY2Fwc3VsYXRpb246IFZpZXdFbmNhcHN1bGF0aW9uLk5vbmUsXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBJRERpYWxvZ0FjdGlvbnNDb21wb25lbnQge1xyXG5cclxuICBjb25zdHJ1Y3RvcigpIHsgfVxyXG5cclxufVxyXG4iLCI8aWRzLWRpYWxvZy1hY3Rpb25zPlxyXG4gIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cclxuPC9pZHMtZGlhbG9nLWFjdGlvbnM+Il19
@@ -1,6 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class IDDialogActionsComponent {
3
- constructor();
4
- static ɵfac: i0.ɵɵFactoryDeclaration<IDDialogActionsComponent, never>;
5
- static ɵcmp: i0.ɵɵComponentDeclaration<IDDialogActionsComponent, "id-dialog-actions", never, {}, {}, never, ["*"]>;
6
- }