adb-shared 6.0.2 → 6.0.4

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 (97) hide show
  1. package/esm2022/adb-shared.mjs +4 -4
  2. package/esm2022/lib/components/adb-artportalen-nav/adb-artportalen-footer.component.mjs +48 -48
  3. package/esm2022/lib/components/adb-artportalen-nav/adb-artportalen-nav.component.mjs +112 -112
  4. package/esm2022/lib/components/adb-artportalen-nav/adb-artportalen-nav.module.mjs +58 -66
  5. package/esm2022/lib/components/adb-artportalen-nav/environment.service.mjs +16 -16
  6. package/esm2022/lib/components/adb-artportalen-nav/navigation.model.mjs +1 -1
  7. package/esm2022/lib/components/adb-buttons/adb-buttons.module.mjs +19 -19
  8. package/esm2022/lib/components/adb-buttons/help-button.component.mjs +35 -35
  9. package/esm2022/lib/components/adb-confirm-modal/adb-confirm-modal.mjs +29 -29
  10. package/esm2022/lib/components/adb-confirm-modal/adb-modal.module.mjs +23 -23
  11. package/esm2022/lib/components/adb-confirm-modal/adb-modal.service.mjs +46 -46
  12. package/esm2022/lib/components/adb-dropdown/adb-dropdown.directive.mjs +100 -100
  13. package/esm2022/lib/components/adb-dropdown/adb-dropdown.module.mjs +24 -24
  14. package/esm2022/lib/components/adb-dropdown/adb-dropdown.service.mjs +10 -10
  15. package/esm2022/lib/components/adb-dropdown/adb-dropdown2.directive.mjs +119 -119
  16. package/esm2022/lib/components/adb-header/adb-header.module.mjs +49 -57
  17. package/esm2022/lib/components/adb-header/adb-nav.component.mjs +115 -115
  18. package/esm2022/lib/components/adb-header/environment.service.mjs +16 -16
  19. package/esm2022/lib/components/adb-header/navigation.model.mjs +1 -1
  20. package/esm2022/lib/components/adb-rich-editor/adb-rich-editor.component.mjs +84 -65
  21. package/esm2022/lib/components/adb-rich-editor/adb-rich-editor.module.mjs +19 -19
  22. package/esm2022/lib/components/adb-toast/adb-toast.mjs +25 -25
  23. package/esm2022/lib/components/adb-toast/adb-toast.module.mjs +23 -23
  24. package/esm2022/lib/components/adb-toast/adb-toast.service.mjs +55 -55
  25. package/esm2022/lib/components/date-picker/adb-date-picker.component.mjs +177 -177
  26. package/esm2022/lib/components/date-picker/adb-date-picker.directive.mjs +220 -220
  27. package/esm2022/lib/components/date-picker/adb-date-picker.module.mjs +25 -25
  28. package/esm2022/lib/components/date-picker/adb-date-picker.service.mjs +10 -10
  29. package/esm2022/lib/components/pagers/infinite-scroll.component.mjs +47 -47
  30. package/esm2022/lib/components/pagers/pager-base.directive.mjs +57 -57
  31. package/esm2022/lib/components/pagers/pager-inline.mjs +49 -49
  32. package/esm2022/lib/components/pagers/pager.mjs +53 -53
  33. package/esm2022/lib/components/pagers/pagers.module.mjs +26 -26
  34. package/esm2022/lib/directives/click-outside.directive.mjs +28 -28
  35. package/esm2022/lib/directives/directives.module.mjs +21 -21
  36. package/esm2022/lib/directives/file-upload.directive.mjs +36 -36
  37. package/esm2022/lib/directives/focus.directive.mjs +34 -34
  38. package/esm2022/lib/directives/redlist-badge-class.directive.mjs +44 -44
  39. package/esm2022/lib/directives/risk-class.directive.mjs +37 -37
  40. package/esm2022/lib/pipes/date.pipe.mjs +22 -22
  41. package/esm2022/lib/pipes/emptyValue.pipe.mjs +22 -22
  42. package/esm2022/lib/pipes/highlight-html.pipe.mjs +46 -46
  43. package/esm2022/lib/pipes/highlight.pipe.mjs +46 -46
  44. package/esm2022/lib/pipes/number-spacing.pipe.mjs +21 -21
  45. package/esm2022/lib/pipes/pipes.module.mjs +22 -22
  46. package/esm2022/lib/pipes/rich.pipe.mjs +36 -36
  47. package/esm2022/public-api.mjs +41 -41
  48. package/fesm2022/adb-shared.mjs +1817 -1815
  49. package/fesm2022/adb-shared.mjs.map +1 -1
  50. package/index.d.ts +5 -5
  51. package/lib/components/adb-artportalen-nav/adb-artportalen-footer.component.d.ts +23 -23
  52. package/lib/components/adb-artportalen-nav/adb-artportalen-nav.component.d.ts +41 -41
  53. package/lib/components/adb-artportalen-nav/adb-artportalen-nav.module.d.ts +16 -17
  54. package/lib/components/adb-artportalen-nav/environment.service.d.ts +7 -7
  55. package/lib/components/adb-artportalen-nav/navigation.model.d.ts +18 -18
  56. package/lib/components/adb-buttons/adb-buttons.module.d.ts +9 -9
  57. package/lib/components/adb-buttons/help-button.component.d.ts +13 -13
  58. package/lib/components/adb-confirm-modal/adb-confirm-modal.d.ts +20 -20
  59. package/lib/components/adb-confirm-modal/adb-modal.module.d.ts +10 -10
  60. package/lib/components/adb-confirm-modal/adb-modal.service.d.ts +18 -18
  61. package/lib/components/adb-dropdown/adb-dropdown.directive.d.ts +21 -21
  62. package/lib/components/adb-dropdown/adb-dropdown.module.d.ts +11 -11
  63. package/lib/components/adb-dropdown/adb-dropdown.service.d.ts +7 -7
  64. package/lib/components/adb-dropdown/adb-dropdown2.directive.d.ts +23 -23
  65. package/lib/components/adb-header/adb-header.module.d.ts +15 -16
  66. package/lib/components/adb-header/adb-nav.component.d.ts +41 -41
  67. package/lib/components/adb-header/environment.service.d.ts +7 -7
  68. package/lib/components/adb-header/navigation.model.d.ts +29 -29
  69. package/lib/components/adb-rich-editor/adb-rich-editor.component.d.ts +24 -22
  70. package/lib/components/adb-rich-editor/adb-rich-editor.module.d.ts +9 -9
  71. package/lib/components/adb-toast/adb-toast.d.ts +11 -11
  72. package/lib/components/adb-toast/adb-toast.module.d.ts +10 -10
  73. package/lib/components/adb-toast/adb-toast.service.d.ts +36 -36
  74. package/lib/components/date-picker/adb-date-picker.component.d.ts +64 -64
  75. package/lib/components/date-picker/adb-date-picker.directive.d.ts +47 -47
  76. package/lib/components/date-picker/adb-date-picker.module.d.ts +12 -12
  77. package/lib/components/date-picker/adb-date-picker.service.d.ts +8 -8
  78. package/lib/components/pagers/infinite-scroll.component.d.ts +15 -15
  79. package/lib/components/pagers/pager-base.directive.d.ts +16 -16
  80. package/lib/components/pagers/pager-inline.d.ts +16 -16
  81. package/lib/components/pagers/pager.d.ts +22 -22
  82. package/lib/components/pagers/pagers.module.d.ts +11 -11
  83. package/lib/directives/click-outside.directive.d.ts +10 -10
  84. package/lib/directives/directives.module.d.ts +11 -11
  85. package/lib/directives/file-upload.directive.d.ts +12 -12
  86. package/lib/directives/focus.directive.d.ts +11 -11
  87. package/lib/directives/redlist-badge-class.directive.d.ts +7 -7
  88. package/lib/directives/risk-class.directive.d.ts +7 -7
  89. package/lib/pipes/date.pipe.d.ts +10 -10
  90. package/lib/pipes/emptyValue.pipe.d.ts +7 -7
  91. package/lib/pipes/highlight-html.pipe.d.ts +10 -10
  92. package/lib/pipes/highlight.pipe.d.ts +9 -9
  93. package/lib/pipes/number-spacing.pipe.d.ts +7 -7
  94. package/lib/pipes/pipes.module.d.ts +12 -12
  95. package/lib/pipes/rich.pipe.d.ts +11 -11
  96. package/package.json +4 -4
  97. package/public-api.d.ts +38 -38
@@ -1,22 +1,22 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
2
- import { ActivatedRoute } from '@angular/router';
3
- import { PagerBaseDirective } from './pager-base.directive';
4
- import * as i0 from "@angular/core";
5
- export declare class PagerComponent extends PagerBaseDirective implements OnInit, OnDestroy {
6
- private activatedRoute;
7
- private subscription;
8
- offsetName: string;
9
- infiniteLimit: boolean;
10
- params: {
11
- first: any;
12
- prev: any;
13
- pages?: any[];
14
- next: any;
15
- last: any;
16
- };
17
- constructor(activatedRoute: ActivatedRoute);
18
- ngOnInit(): void;
19
- ngOnDestroy(): void;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<PagerComponent, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<PagerComponent, "adb-pager-nav", never, { "offsetName": { "alias": "offsetName"; "required": false; }; "infiniteLimit": { "alias": "infiniteLimit"; "required": false; }; }, {}, never, never, false, never>;
22
- }
1
+ import { OnDestroy, OnInit } from '@angular/core';
2
+ import { ActivatedRoute } from '@angular/router';
3
+ import { PagerBaseDirective } from './pager-base.directive';
4
+ import * as i0 from "@angular/core";
5
+ export declare class PagerComponent extends PagerBaseDirective implements OnInit, OnDestroy {
6
+ private activatedRoute;
7
+ private subscription;
8
+ offsetName: string;
9
+ infiniteLimit: boolean;
10
+ params: {
11
+ first: any;
12
+ prev: any;
13
+ pages?: any[];
14
+ next: any;
15
+ last: any;
16
+ };
17
+ constructor(activatedRoute: ActivatedRoute);
18
+ ngOnInit(): void;
19
+ ngOnDestroy(): void;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<PagerComponent, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<PagerComponent, "adb-pager-nav", never, { "offsetName": { "alias": "offsetName"; "required": false; }; "infiniteLimit": { "alias": "infiniteLimit"; "required": false; }; }, {}, never, never, false, never>;
22
+ }
@@ -1,11 +1,11 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./infinite-scroll.component";
3
- import * as i2 from "./pager";
4
- import * as i3 from "./pager-inline";
5
- import * as i4 from "@angular/common";
6
- import * as i5 from "@angular/router";
7
- export declare class AdbPagersModule {
8
- static ɵfac: i0.ɵɵFactoryDeclaration<AdbPagersModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<AdbPagersModule, [typeof i1.InfiniteScrollComponent, typeof i2.PagerComponent, typeof i3.PagerInlineComponent], [typeof i4.CommonModule, typeof i5.RouterModule], [typeof i1.InfiniteScrollComponent, typeof i2.PagerComponent, typeof i3.PagerInlineComponent]>;
10
- static ɵinj: i0.ɵɵInjectorDeclaration<AdbPagersModule>;
11
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./infinite-scroll.component";
3
+ import * as i2 from "./pager";
4
+ import * as i3 from "./pager-inline";
5
+ import * as i4 from "@angular/common";
6
+ import * as i5 from "@angular/router";
7
+ export declare class AdbPagersModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<AdbPagersModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AdbPagersModule, [typeof i1.InfiniteScrollComponent, typeof i2.PagerComponent, typeof i3.PagerInlineComponent], [typeof i4.CommonModule, typeof i5.RouterModule], [typeof i1.InfiniteScrollComponent, typeof i2.PagerComponent, typeof i3.PagerInlineComponent]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<AdbPagersModule>;
11
+ }
@@ -1,10 +1,10 @@
1
- import { EventEmitter, ElementRef } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class ClickOutsideDirective {
4
- private elementRef;
5
- adbClickOutside: EventEmitter<any>;
6
- constructor(elementRef: ElementRef);
7
- onClick(target: any): void;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<ClickOutsideDirective, never>;
9
- static ɵdir: i0.ɵɵDirectiveDeclaration<ClickOutsideDirective, "[adbClickOutside]", never, {}, { "adbClickOutside": "adbClickOutside"; }, never, never, false, never>;
10
- }
1
+ import { EventEmitter, ElementRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ClickOutsideDirective {
4
+ private elementRef;
5
+ adbClickOutside: EventEmitter<any>;
6
+ constructor(elementRef: ElementRef);
7
+ onClick(target: any): void;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<ClickOutsideDirective, never>;
9
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ClickOutsideDirective, "[adbClickOutside]", never, {}, { "adbClickOutside": "adbClickOutside"; }, never, never, false, never>;
10
+ }
@@ -1,11 +1,11 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./click-outside.directive";
3
- import * as i2 from "./focus.directive";
4
- import * as i3 from "./file-upload.directive";
5
- import * as i4 from "./redlist-badge-class.directive";
6
- import * as i5 from "./risk-class.directive";
7
- export declare class AdbDirectivesModule {
8
- static ɵfac: i0.ɵɵFactoryDeclaration<AdbDirectivesModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<AdbDirectivesModule, [typeof i1.ClickOutsideDirective, typeof i2.FocusDirective, typeof i3.FileUploadDirective, typeof i4.RedListBadgeClassDirective, typeof i5.RiskClassDirective], never, [typeof i1.ClickOutsideDirective, typeof i2.FocusDirective, typeof i3.FileUploadDirective, typeof i4.RedListBadgeClassDirective, typeof i5.RiskClassDirective]>;
10
- static ɵinj: i0.ɵɵInjectorDeclaration<AdbDirectivesModule>;
11
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./click-outside.directive";
3
+ import * as i2 from "./focus.directive";
4
+ import * as i3 from "./file-upload.directive";
5
+ import * as i4 from "./redlist-badge-class.directive";
6
+ import * as i5 from "./risk-class.directive";
7
+ export declare class AdbDirectivesModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<AdbDirectivesModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AdbDirectivesModule, [typeof i1.ClickOutsideDirective, typeof i2.FocusDirective, typeof i3.FileUploadDirective, typeof i4.RedListBadgeClassDirective, typeof i5.RiskClassDirective], never, [typeof i1.ClickOutsideDirective, typeof i2.FocusDirective, typeof i3.FileUploadDirective, typeof i4.RedListBadgeClassDirective, typeof i5.RiskClassDirective]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<AdbDirectivesModule>;
11
+ }
@@ -1,12 +1,12 @@
1
- import { ElementRef, EventEmitter } from "@angular/core";
2
- import * as i0 from "@angular/core";
3
- export declare class FileUploadDirective {
4
- private el;
5
- upload: EventEmitter<any>;
6
- click: EventEmitter<any>;
7
- constructor(el: ElementRef);
8
- onBeginUpload(target: any): void;
9
- onClick(target: any): void;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadDirective, never>;
11
- static ɵdir: i0.ɵɵDirectiveDeclaration<FileUploadDirective, "input[adbFileUpload]", never, {}, { "upload": "upload"; }, never, never, false, never>;
12
- }
1
+ import { ElementRef, EventEmitter } from "@angular/core";
2
+ import * as i0 from "@angular/core";
3
+ export declare class FileUploadDirective {
4
+ private el;
5
+ upload: EventEmitter<any>;
6
+ click: EventEmitter<any>;
7
+ constructor(el: ElementRef);
8
+ onBeginUpload(target: any): void;
9
+ onClick(target: any): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadDirective, never>;
11
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FileUploadDirective, "input[adbFileUpload]", never, {}, { "upload": "upload"; }, never, never, false, never>;
12
+ }
@@ -1,11 +1,11 @@
1
- import { ElementRef, AfterViewInit } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class FocusDirective implements AfterViewInit {
4
- element: ElementRef<HTMLElement>;
5
- focused: boolean;
6
- set adbFocus(value: boolean);
7
- constructor(element: ElementRef<HTMLElement>);
8
- ngAfterViewInit(): void;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<FocusDirective, never>;
10
- static ɵdir: i0.ɵɵDirectiveDeclaration<FocusDirective, "[adbFocus]", never, { "adbFocus": { "alias": "adbFocus"; "required": false; }; }, {}, never, never, false, never>;
11
- }
1
+ import { ElementRef, AfterViewInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class FocusDirective implements AfterViewInit {
4
+ element: ElementRef<HTMLElement>;
5
+ focused: boolean;
6
+ set adbFocus(value: boolean);
7
+ constructor(element: ElementRef<HTMLElement>);
8
+ ngAfterViewInit(): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<FocusDirective, never>;
10
+ static ɵdir: i0.ɵɵDirectiveDeclaration<FocusDirective, "[adbFocus]", never, { "adbFocus": { "alias": "adbFocus"; "required": false; }; }, {}, never, never, false, never>;
11
+ }
@@ -1,7 +1,7 @@
1
- import * as i0 from "@angular/core";
2
- export declare class RedListBadgeClassDirective {
3
- redlistId: string;
4
- get hostClasses(): string;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<RedListBadgeClassDirective, never>;
6
- static ɵdir: i0.ɵɵDirectiveDeclaration<RedListBadgeClassDirective, "[adbRedListBadgeClass]", never, { "redlistId": { "alias": "adbRedListBadgeClass"; "required": false; }; }, {}, never, never, false, never>;
7
- }
1
+ import * as i0 from "@angular/core";
2
+ export declare class RedListBadgeClassDirective {
3
+ redlistId: string;
4
+ get hostClasses(): string;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<RedListBadgeClassDirective, never>;
6
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RedListBadgeClassDirective, "[adbRedListBadgeClass]", never, { "redlistId": { "alias": "adbRedListBadgeClass"; "required": false; }; }, {}, never, never, false, never>;
7
+ }
@@ -1,7 +1,7 @@
1
- import * as i0 from "@angular/core";
2
- export declare class RiskClassDirective {
3
- category: string;
4
- get hostClasses(): string;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<RiskClassDirective, never>;
6
- static ɵdir: i0.ɵɵDirectiveDeclaration<RiskClassDirective, "[adbRiskClass]", never, { "category": { "alias": "adbRiskClass"; "required": false; }; }, {}, never, never, false, never>;
7
- }
1
+ import * as i0 from "@angular/core";
2
+ export declare class RiskClassDirective {
3
+ category: string;
4
+ get hostClasses(): string;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<RiskClassDirective, never>;
6
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RiskClassDirective, "[adbRiskClass]", never, { "category": { "alias": "adbRiskClass"; "required": false; }; }, {}, never, never, false, never>;
7
+ }
@@ -1,10 +1,10 @@
1
- import { PipeTransform } from "@angular/core";
2
- import { TranslateService } from "@ngx-translate/core";
3
- import * as i0 from "@angular/core";
4
- export declare class LocaleDatePipe implements PipeTransform {
5
- private translate;
6
- constructor(translate: TranslateService);
7
- transform(value: any, format: string): string;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<LocaleDatePipe, never>;
9
- static ɵpipe: i0.ɵɵPipeDeclaration<LocaleDatePipe, "adbLocaleDate", false>;
10
- }
1
+ import { PipeTransform } from "@angular/core";
2
+ import { TranslateService } from "@ngx-translate/core";
3
+ import * as i0 from "@angular/core";
4
+ export declare class LocaleDatePipe implements PipeTransform {
5
+ private translate;
6
+ constructor(translate: TranslateService);
7
+ transform(value: any, format: string): string;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<LocaleDatePipe, never>;
9
+ static ɵpipe: i0.ɵɵPipeDeclaration<LocaleDatePipe, "adbLocaleDate", false>;
10
+ }
@@ -1,7 +1,7 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class EmptyValuePipe implements PipeTransform {
4
- transform(value: any): any;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<EmptyValuePipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<EmptyValuePipe, "adbEmptyValue", false>;
7
- }
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class EmptyValuePipe implements PipeTransform {
4
+ transform(value: any): any;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<EmptyValuePipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<EmptyValuePipe, "adbEmptyValue", false>;
7
+ }
@@ -1,10 +1,10 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class HighlightHtmlPipe implements PipeTransform {
4
- forbiddenSymbols: RegExp;
5
- transform(value: any, searchs: any): any;
6
- private normalizeText;
7
- private escapeRegExp;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<HighlightHtmlPipe, never>;
9
- static ɵpipe: i0.ɵɵPipeDeclaration<HighlightHtmlPipe, "adbHighlightHtml", false>;
10
- }
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class HighlightHtmlPipe implements PipeTransform {
4
+ forbiddenSymbols: RegExp;
5
+ transform(value: any, searchs: any): any;
6
+ private normalizeText;
7
+ private escapeRegExp;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<HighlightHtmlPipe, never>;
9
+ static ɵpipe: i0.ɵɵPipeDeclaration<HighlightHtmlPipe, "adbHighlightHtml", false>;
10
+ }
@@ -1,9 +1,9 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class HighlightPipe implements PipeTransform {
4
- forbiddenSymbols: RegExp;
5
- transform(value: any, searchs: any): any;
6
- private normalizeText;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<HighlightPipe, never>;
8
- static ɵpipe: i0.ɵɵPipeDeclaration<HighlightPipe, "adbHighlight", false>;
9
- }
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class HighlightPipe implements PipeTransform {
4
+ forbiddenSymbols: RegExp;
5
+ transform(value: any, searchs: any): any;
6
+ private normalizeText;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<HighlightPipe, never>;
8
+ static ɵpipe: i0.ɵɵPipeDeclaration<HighlightPipe, "adbHighlight", false>;
9
+ }
@@ -1,7 +1,7 @@
1
- import { PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class NumberSpacingPipe implements PipeTransform {
4
- transform(value: any): any;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<NumberSpacingPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<NumberSpacingPipe, "adbSpacing", false>;
7
- }
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class NumberSpacingPipe implements PipeTransform {
4
+ transform(value: any): any;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<NumberSpacingPipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<NumberSpacingPipe, "adbSpacing", false>;
7
+ }
@@ -1,12 +1,12 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./rich.pipe";
3
- import * as i2 from "./highlight.pipe";
4
- import * as i3 from "./highlight-html.pipe";
5
- import * as i4 from "./number-spacing.pipe";
6
- import * as i5 from "./date.pipe";
7
- import * as i6 from "./emptyValue.pipe";
8
- export declare class AdbPipesModule {
9
- static ɵfac: i0.ɵɵFactoryDeclaration<AdbPipesModule, never>;
10
- static ɵmod: i0.ɵɵNgModuleDeclaration<AdbPipesModule, [typeof i1.RichPipe, typeof i2.HighlightPipe, typeof i3.HighlightHtmlPipe, typeof i4.NumberSpacingPipe, typeof i5.LocaleDatePipe, typeof i6.EmptyValuePipe], never, [typeof i1.RichPipe, typeof i2.HighlightPipe, typeof i3.HighlightHtmlPipe, typeof i4.NumberSpacingPipe, typeof i5.LocaleDatePipe, typeof i6.EmptyValuePipe]>;
11
- static ɵinj: i0.ɵɵInjectorDeclaration<AdbPipesModule>;
12
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./rich.pipe";
3
+ import * as i2 from "./highlight.pipe";
4
+ import * as i3 from "./highlight-html.pipe";
5
+ import * as i4 from "./number-spacing.pipe";
6
+ import * as i5 from "./date.pipe";
7
+ import * as i6 from "./emptyValue.pipe";
8
+ export declare class AdbPipesModule {
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<AdbPipesModule, never>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AdbPipesModule, [typeof i1.RichPipe, typeof i2.HighlightPipe, typeof i3.HighlightHtmlPipe, typeof i4.NumberSpacingPipe, typeof i5.LocaleDatePipe, typeof i6.EmptyValuePipe], never, [typeof i1.RichPipe, typeof i2.HighlightPipe, typeof i3.HighlightHtmlPipe, typeof i4.NumberSpacingPipe, typeof i5.LocaleDatePipe, typeof i6.EmptyValuePipe]>;
11
+ static ɵinj: i0.ɵɵInjectorDeclaration<AdbPipesModule>;
12
+ }
@@ -1,11 +1,11 @@
1
- import { PipeTransform } from "@angular/core";
2
- import { DomSanitizer, SafeHtml } from "@angular/platform-browser";
3
- import * as i0 from "@angular/core";
4
- export declare class RichPipe implements PipeTransform {
5
- private sanitizer;
6
- constructor(sanitizer: DomSanitizer);
7
- transform(value: string): SafeHtml;
8
- private parseCustomMarkdown;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<RichPipe, never>;
10
- static ɵpipe: i0.ɵɵPipeDeclaration<RichPipe, "rich", false>;
11
- }
1
+ import { PipeTransform } from "@angular/core";
2
+ import { DomSanitizer, SafeHtml } from "@angular/platform-browser";
3
+ import * as i0 from "@angular/core";
4
+ export declare class RichPipe implements PipeTransform {
5
+ private sanitizer;
6
+ constructor(sanitizer: DomSanitizer);
7
+ transform(value: string, baseUrl: string): SafeHtml;
8
+ private parseCustomMarkdown;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<RichPipe, never>;
10
+ static ɵpipe: i0.ɵɵPipeDeclaration<RichPipe, "rich", false>;
11
+ }
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "adb-shared",
3
- "version": "6.0.2",
3
+ "version": "6.0.4",
4
4
  "author": "ADB",
5
5
  "license": "ISC",
6
6
  "peerDependencies": {
7
- "@angular/common": ">= 15.x",
8
- "@angular/core": ">= 15.x ",
9
- "@angular/router": ">= 15.x ",
7
+ "@angular/common": ">= 16.x",
8
+ "@angular/core": ">= 16.x ",
9
+ "@angular/router": ">= 16.x ",
10
10
  "@ngx-translate/core": ">= 15.x",
11
11
  "@ngx-translate/http-loader": ">= 8.x",
12
12
  "date-fns": ">= 2.28.x"
package/public-api.d.ts CHANGED
@@ -1,38 +1,38 @@
1
- export * from './lib/components/adb-header/adb-header.module';
2
- export * from './lib/components/adb-header/adb-nav.component';
3
- export * from './lib/components/adb-artportalen-nav/adb-artportalen-nav.module';
4
- export * from './lib/components/adb-artportalen-nav/adb-artportalen-nav.component';
5
- export * from './lib/components/adb-artportalen-nav/adb-artportalen-footer.component';
6
- export * from './lib/directives/directives.module';
7
- export * from './lib/directives/click-outside.directive';
8
- export * from './lib/directives/focus.directive';
9
- export * from './lib/directives/redlist-badge-class.directive';
10
- export * from './lib/directives/risk-class.directive';
11
- export * from './lib/directives/file-upload.directive';
12
- export * from './lib/components/pagers/pagers.module';
13
- export * from './lib/components/pagers/infinite-scroll.component';
14
- export * from './lib/components/pagers/pager';
15
- export * from './lib/components/pagers/pager-inline';
16
- export * from './lib/pipes/pipes.module';
17
- export * from './lib/pipes/highlight.pipe';
18
- export * from './lib/pipes/highlight-html.pipe';
19
- export * from './lib/pipes/number-spacing.pipe';
20
- export * from './lib/pipes/date.pipe';
21
- export * from './lib/pipes/emptyValue.pipe';
22
- export * from './lib/pipes/rich.pipe';
23
- export * from './lib/components/date-picker/adb-date-picker.module';
24
- export * from './lib/components/date-picker/adb-date-picker.component';
25
- export * from './lib/components/date-picker/adb-date-picker.directive';
26
- export * from './lib/components/adb-dropdown/adb-dropdown.module';
27
- export * from './lib/components/adb-dropdown/adb-dropdown.directive';
28
- export * from './lib/components/adb-dropdown/adb-dropdown2.directive';
29
- export * from './lib/components/adb-confirm-modal/adb-modal.module';
30
- export * from './lib/components/adb-confirm-modal/adb-confirm-modal';
31
- export * from './lib/components/adb-confirm-modal/adb-modal.service';
32
- export * from './lib/components/adb-toast/adb-toast.module';
33
- export * from './lib/components/adb-toast/adb-toast';
34
- export * from './lib/components/adb-toast/adb-toast.service';
35
- export * from './lib/components/adb-buttons/adb-buttons.module';
36
- export * from './lib/components/adb-buttons/help-button.component';
37
- export * from './lib/components/adb-rich-editor/adb-rich-editor.module';
38
- export * from './lib/components/adb-rich-editor/adb-rich-editor.component';
1
+ export * from './lib/components/adb-header/adb-header.module';
2
+ export * from './lib/components/adb-header/adb-nav.component';
3
+ export * from './lib/components/adb-artportalen-nav/adb-artportalen-nav.module';
4
+ export * from './lib/components/adb-artportalen-nav/adb-artportalen-nav.component';
5
+ export * from './lib/components/adb-artportalen-nav/adb-artportalen-footer.component';
6
+ export * from './lib/directives/directives.module';
7
+ export * from './lib/directives/click-outside.directive';
8
+ export * from './lib/directives/focus.directive';
9
+ export * from './lib/directives/redlist-badge-class.directive';
10
+ export * from './lib/directives/risk-class.directive';
11
+ export * from './lib/directives/file-upload.directive';
12
+ export * from './lib/components/pagers/pagers.module';
13
+ export * from './lib/components/pagers/infinite-scroll.component';
14
+ export * from './lib/components/pagers/pager';
15
+ export * from './lib/components/pagers/pager-inline';
16
+ export * from './lib/pipes/pipes.module';
17
+ export * from './lib/pipes/highlight.pipe';
18
+ export * from './lib/pipes/highlight-html.pipe';
19
+ export * from './lib/pipes/number-spacing.pipe';
20
+ export * from './lib/pipes/date.pipe';
21
+ export * from './lib/pipes/emptyValue.pipe';
22
+ export * from './lib/pipes/rich.pipe';
23
+ export * from './lib/components/date-picker/adb-date-picker.module';
24
+ export * from './lib/components/date-picker/adb-date-picker.component';
25
+ export * from './lib/components/date-picker/adb-date-picker.directive';
26
+ export * from './lib/components/adb-dropdown/adb-dropdown.module';
27
+ export * from './lib/components/adb-dropdown/adb-dropdown.directive';
28
+ export * from './lib/components/adb-dropdown/adb-dropdown2.directive';
29
+ export * from './lib/components/adb-confirm-modal/adb-modal.module';
30
+ export * from './lib/components/adb-confirm-modal/adb-confirm-modal';
31
+ export * from './lib/components/adb-confirm-modal/adb-modal.service';
32
+ export * from './lib/components/adb-toast/adb-toast.module';
33
+ export * from './lib/components/adb-toast/adb-toast';
34
+ export * from './lib/components/adb-toast/adb-toast.service';
35
+ export * from './lib/components/adb-buttons/adb-buttons.module';
36
+ export * from './lib/components/adb-buttons/help-button.component';
37
+ export * from './lib/components/adb-rich-editor/adb-rich-editor.module';
38
+ export * from './lib/components/adb-rich-editor/adb-rich-editor.component';