adb-shared 5.0.40 → 5.0.42
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.
- package/esm2022/lib/components/pagers/pager-inline.mjs +7 -4
- package/esm2022/lib/pipes/highlight-html.pipe.mjs +46 -0
- package/esm2022/lib/pipes/pipes.module.mjs +5 -4
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/adb-shared.mjs +53 -6
- package/fesm2022/adb-shared.mjs.map +1 -1
- package/lib/components/pagers/pager-inline.d.ts +2 -1
- package/lib/pipes/highlight-html.pipe.d.ts +10 -0
- package/lib/pipes/pipes.module.d.ts +5 -4
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -3,6 +3,7 @@ import { PagerBaseDirective } from './pager-base.directive';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class PagerInlineComponent extends PagerBaseDirective implements OnInit {
|
|
5
5
|
pageChanged: EventEmitter<number>;
|
|
6
|
+
infiniteLimit: boolean;
|
|
6
7
|
constructor();
|
|
7
8
|
ngOnInit(): void;
|
|
8
9
|
onFirstClick(): void;
|
|
@@ -11,5 +12,5 @@ export declare class PagerInlineComponent extends PagerBaseDirective implements
|
|
|
11
12
|
onNextClick(): void;
|
|
12
13
|
onLastClick(): void;
|
|
13
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<PagerInlineComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PagerInlineComponent, "adb-pager", never, {}, { "pageChanged": "pageChanged"; }, never, never, false, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PagerInlineComponent, "adb-pager", never, { "infiniteLimit": { "alias": "infiniteLimit"; "required": false; }; }, { "pageChanged": "pageChanged"; }, never, never, false, never>;
|
|
15
16
|
}
|
|
@@ -0,0 +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,10 +1,11 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./highlight.pipe";
|
|
3
|
-
import * as i2 from "./
|
|
4
|
-
import * as i3 from "./
|
|
5
|
-
import * as i4 from "./
|
|
3
|
+
import * as i2 from "./highlight-html.pipe";
|
|
4
|
+
import * as i3 from "./number-spacing.pipe";
|
|
5
|
+
import * as i4 from "./date.pipe";
|
|
6
|
+
import * as i5 from "./emptyValue.pipe";
|
|
6
7
|
export declare class AdbPipesModule {
|
|
7
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<AdbPipesModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AdbPipesModule, [typeof i1.HighlightPipe, typeof i2.
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AdbPipesModule, [typeof i1.HighlightPipe, typeof i2.HighlightHtmlPipe, typeof i3.NumberSpacingPipe, typeof i4.LocaleDatePipe, typeof i5.EmptyValuePipe], never, [typeof i1.HighlightPipe, typeof i2.HighlightHtmlPipe, typeof i3.NumberSpacingPipe, typeof i4.LocaleDatePipe, typeof i5.EmptyValuePipe]>;
|
|
9
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<AdbPipesModule>;
|
|
10
11
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ export * from './lib/components/pagers/pager';
|
|
|
15
15
|
export * from './lib/components/pagers/pager-inline';
|
|
16
16
|
export * from './lib/pipes/pipes.module';
|
|
17
17
|
export * from './lib/pipes/highlight.pipe';
|
|
18
|
+
export * from './lib/pipes/highlight-html.pipe';
|
|
18
19
|
export * from './lib/pipes/number-spacing.pipe';
|
|
19
20
|
export * from './lib/pipes/date.pipe';
|
|
20
21
|
export * from './lib/pipes/emptyValue.pipe';
|