@mintplayer/ng-bootstrap 15.8.0 → 15.11.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 (47) hide show
  1. package/code-snippet/src/code-snippet.module.d.ts +3 -2
  2. package/esm2020/code-snippet/src/code-snippet.module.mjs +5 -1
  3. package/esm2020/markdown/index.mjs +6 -0
  4. package/esm2020/markdown/mintplayer-ng-bootstrap-markdown.mjs +5 -0
  5. package/esm2020/markdown/src/bold/bold.pipe.mjs +30 -0
  6. package/esm2020/markdown/src/italic/italic.pipe.mjs +30 -0
  7. package/esm2020/markdown/src/markdown.module.mjs +39 -0
  8. package/esm2020/markdown/src/strikethrough/strikethrough.pipe.mjs +30 -0
  9. package/esm2020/markdown/src/underline/underline.pipe.mjs +30 -0
  10. package/esm2020/offcanvas/src/directives/index.mjs +2 -1
  11. package/esm2020/offcanvas/src/directives/offcanvas-push/offcanvas-push.directive.mjs +72 -0
  12. package/esm2020/offcanvas/src/offcanvas.module.mjs +10 -5
  13. package/esm2020/ordinal-number/index.mjs +2 -0
  14. package/esm2020/ordinal-number/mintplayer-ng-bootstrap-ordinal-number.mjs +5 -0
  15. package/esm2020/ordinal-number/src/index.mjs +3 -0
  16. package/esm2020/ordinal-number/src/ordinal-number/ordinal-number.pipe.mjs +29 -0
  17. package/esm2020/ordinal-number/src/ordinal-number.module.mjs +24 -0
  18. package/fesm2015/mintplayer-ng-bootstrap-code-snippet.mjs +4 -0
  19. package/fesm2015/mintplayer-ng-bootstrap-code-snippet.mjs.map +1 -1
  20. package/fesm2015/mintplayer-ng-bootstrap-markdown.mjs +147 -0
  21. package/fesm2015/mintplayer-ng-bootstrap-markdown.mjs.map +1 -0
  22. package/fesm2015/mintplayer-ng-bootstrap-offcanvas.mjs +77 -5
  23. package/fesm2015/mintplayer-ng-bootstrap-offcanvas.mjs.map +1 -1
  24. package/fesm2015/mintplayer-ng-bootstrap-ordinal-number.mjs +56 -0
  25. package/fesm2015/mintplayer-ng-bootstrap-ordinal-number.mjs.map +1 -0
  26. package/fesm2020/mintplayer-ng-bootstrap-code-snippet.mjs +4 -0
  27. package/fesm2020/mintplayer-ng-bootstrap-code-snippet.mjs.map +1 -1
  28. package/fesm2020/mintplayer-ng-bootstrap-markdown.mjs +147 -0
  29. package/fesm2020/mintplayer-ng-bootstrap-markdown.mjs.map +1 -0
  30. package/fesm2020/mintplayer-ng-bootstrap-offcanvas.mjs +77 -5
  31. package/fesm2020/mintplayer-ng-bootstrap-offcanvas.mjs.map +1 -1
  32. package/fesm2020/mintplayer-ng-bootstrap-ordinal-number.mjs +56 -0
  33. package/fesm2020/mintplayer-ng-bootstrap-ordinal-number.mjs.map +1 -0
  34. package/markdown/index.d.ts +5 -0
  35. package/markdown/src/bold/bold.pipe.d.ts +10 -0
  36. package/markdown/src/italic/italic.pipe.d.ts +10 -0
  37. package/markdown/src/markdown.module.d.ts +11 -0
  38. package/markdown/src/strikethrough/strikethrough.pipe.d.ts +10 -0
  39. package/markdown/src/underline/underline.pipe.d.ts +10 -0
  40. package/offcanvas/src/directives/index.d.ts +1 -0
  41. package/offcanvas/src/directives/offcanvas-push/offcanvas-push.directive.d.ts +16 -0
  42. package/offcanvas/src/offcanvas.module.d.ts +5 -4
  43. package/ordinal-number/index.d.ts +1 -0
  44. package/ordinal-number/src/index.d.ts +2 -0
  45. package/ordinal-number/src/ordinal-number/ordinal-number.pipe.d.ts +10 -0
  46. package/ordinal-number/src/ordinal-number.module.d.ts +8 -0
  47. package/package.json +17 -1
@@ -0,0 +1,56 @@
1
+ import * as i0 from '@angular/core';
2
+ import { SecurityContext, Pipe, NgModule } from '@angular/core';
3
+ import { CommonModule } from '@angular/common';
4
+ import * as i1 from '@angular/platform-browser';
5
+
6
+ class BsOrdinalNumberPipe {
7
+ constructor(domSanitizer) {
8
+ this.domSanitizer = domSanitizer;
9
+ }
10
+ transform(value, ...args) {
11
+ const sanitizeRgx = new RegExp(`[^A-Za-z]`, 'gm');
12
+ const countWords = args.map(w => w.replace(sanitizeRgx, '')).join('|');
13
+ const rgx = new RegExp(`\\b(?<num>[0-9]+)(?<tel>${countWords})\\b`, 'gm');
14
+ const safeValue = this.domSanitizer.sanitize(SecurityContext.HTML, value);
15
+ if (!safeValue)
16
+ return '';
17
+ const result = safeValue.replace(rgx, "$<num><sup>$<tel></sup>");
18
+ const safeResult = this.domSanitizer.bypassSecurityTrustHtml(result);
19
+ return safeResult;
20
+ }
21
+ }
22
+ BsOrdinalNumberPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: BsOrdinalNumberPipe, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
23
+ BsOrdinalNumberPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: BsOrdinalNumberPipe, name: "ordinalNumber" });
24
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: BsOrdinalNumberPipe, decorators: [{
25
+ type: Pipe,
26
+ args: [{
27
+ name: 'ordinalNumber'
28
+ }]
29
+ }], ctorParameters: function () { return [{ type: i1.DomSanitizer }]; } });
30
+
31
+ class BsOrdinalNumberModule {
32
+ }
33
+ BsOrdinalNumberModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: BsOrdinalNumberModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
34
+ BsOrdinalNumberModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: BsOrdinalNumberModule, declarations: [BsOrdinalNumberPipe], imports: [CommonModule], exports: [BsOrdinalNumberPipe] });
35
+ BsOrdinalNumberModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: BsOrdinalNumberModule, imports: [CommonModule] });
36
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: BsOrdinalNumberModule, decorators: [{
37
+ type: NgModule,
38
+ args: [{
39
+ declarations: [
40
+ BsOrdinalNumberPipe
41
+ ],
42
+ imports: [
43
+ CommonModule
44
+ ],
45
+ exports: [
46
+ BsOrdinalNumberPipe
47
+ ]
48
+ }]
49
+ }] });
50
+
51
+ /**
52
+ * Generated bundle index. Do not edit.
53
+ */
54
+
55
+ export { BsOrdinalNumberModule, BsOrdinalNumberPipe };
56
+ //# sourceMappingURL=mintplayer-ng-bootstrap-ordinal-number.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mintplayer-ng-bootstrap-ordinal-number.mjs","sources":["../esm2020/ordinal-number/src/ordinal-number/ordinal-number.pipe.mjs","../esm2020/ordinal-number/src/ordinal-number.module.mjs","../esm2020/ordinal-number/mintplayer-ng-bootstrap-ordinal-number.mjs"],"sourcesContent":["import { Pipe, SecurityContext } from '@angular/core';\nimport { DomSanitizer } from '@angular/platform-browser';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/platform-browser\";\nexport class BsOrdinalNumberPipe {\n constructor(domSanitizer) {\n this.domSanitizer = domSanitizer;\n }\n transform(value, ...args) {\n const sanitizeRgx = new RegExp(`[^A-Za-z]`, 'gm');\n const countWords = args.map(w => w.replace(sanitizeRgx, '')).join('|');\n const rgx = new RegExp(`\\\\b(?<num>[0-9]+)(?<tel>${countWords})\\\\b`, 'gm');\n const safeValue = this.domSanitizer.sanitize(SecurityContext.HTML, value);\n if (!safeValue)\n return '';\n const result = safeValue.replace(rgx, \"$<num><sup>$<tel></sup>\");\n const safeResult = this.domSanitizer.bypassSecurityTrustHtml(result);\n return safeResult;\n }\n}\nBsOrdinalNumberPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.4\", ngImport: i0, type: BsOrdinalNumberPipe, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });\nBsOrdinalNumberPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: \"14.0.0\", version: \"15.0.4\", ngImport: i0, type: BsOrdinalNumberPipe, name: \"ordinalNumber\" });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.4\", ngImport: i0, type: BsOrdinalNumberPipe, decorators: [{\n type: Pipe,\n args: [{\n name: 'ordinalNumber'\n }]\n }], ctorParameters: function () { return [{ type: i1.DomSanitizer }]; } });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkaW5hbC1udW1iZXIucGlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvbWludHBsYXllci1uZy1ib290c3RyYXAvb3JkaW5hbC1udW1iZXIvc3JjL29yZGluYWwtbnVtYmVyL29yZGluYWwtbnVtYmVyLnBpcGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLElBQUksRUFBaUIsZUFBZSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3JFLE9BQU8sRUFBRSxZQUFZLEVBQVksTUFBTSwyQkFBMkIsQ0FBQzs7O0FBS25FLE1BQU0sT0FBTyxtQkFBbUI7SUFFOUIsWUFBb0IsWUFBMEI7UUFBMUIsaUJBQVksR0FBWixZQUFZLENBQWM7SUFBRyxDQUFDO0lBRWxELFNBQVMsQ0FBQyxLQUFhLEVBQUUsR0FBRyxJQUFjO1FBQ3hDLE1BQU0sV0FBVyxHQUFHLElBQUksTUFBTSxDQUFDLFdBQVcsRUFBRSxJQUFJLENBQUMsQ0FBQztRQUNsRCxNQUFNLFVBQVUsR0FBRyxJQUFJLENBQUMsR0FBRyxDQUFDLENBQUMsQ0FBQyxFQUFFLENBQUMsQ0FBQyxDQUFDLE9BQU8sQ0FBQyxXQUFXLEVBQUUsRUFBRSxDQUFDLENBQUM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ZXIpIHt9XG5cbiAgdHJhbnNmb3JtKHZhbHVlOiBzdHJpbmcsIC4uLmFyZ3M6IHN0cmluZ1tdKTogU2FmZUh0bWwge1xuICAgIGNvbnN0IHNhbml0aXplUmd4ID0gbmV3IFJlZ0V4cChgW15BLVphLXpdYCwgJ2dtJyk7XG4gICAgY29uc3QgY291bnRXb3JkcyA9IGFyZ3MubWFwKHcgPT4gdy5yZXBsYWNlKHNhbml0aXplUmd4LCAnJykpLmpvaW4oJ3wnKTtcbiAgICBjb25zdCByZ3ggPSBuZXcgUmVnRXhwKGBcXFxcYig/PG51bT5bMC05XSspKD88dGVsPiR7Y291bnRXb3Jkc30pXFxcXGJgLCAnZ20nKTtcbiAgICBjb25zdCBzYWZlVmFsdWUgPSB0aGlzLmRvbVNhbml0aXplci5zYW5pdGl6ZShTZWN1cml0eUNvbnRleHQuSFRNTCwgdmFsdWUpO1xuICAgIGlmICghc2FmZVZhbHVlKSByZXR1cm4gJyc7XG5cbiAgICBjb25zdCByZXN1bHQgPSBzYWZlVmFsdWUucmVwbGFjZShyZ3gsIFwiJDxudW0+PHN1cD4kPHRlbD48L3N1cD5cIik7XG4gICAgY29uc3Qgc2FmZVJlc3VsdCA9IHRoaXMuZG9tU2FuaXRpemVyLmJ5cGFzc1NlY3VyaXR5VHJ1c3RIdG1sKHJlc3VsdCk7XG4gICAgcmV0dXJuIHNhZmVSZXN1bHQ7XG4gIH1cblxufVxuIl19","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { BsOrdinalNumberPipe } from './ordinal-number/ordinal-number.pipe';\nimport * as i0 from \"@angular/core\";\nexport class BsOrdinalNumberModule {\n}\nBsOrdinalNumberModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"15.0.4\", ngImport: i0, type: BsOrdinalNumberModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\nBsOrdinalNumberModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"15.0.4\", ngImport: i0, type: BsOrdinalNumberModule, declarations: [BsOrdinalNumberPipe], imports: [CommonModule], exports: [BsOrdinalNumberPipe] });\nBsOrdinalNumberModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"15.0.4\", ngImport: i0, type: BsOrdinalNumberModule, imports: [CommonModule] });\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"15.0.4\", ngImport: i0, type: BsOrdinalNumberModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [\n BsOrdinalNumberPipe\n ],\n imports: [\n CommonModule\n ],\n exports: [\n BsOrdinalNumberPipe\n ]\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkaW5hbC1udW1iZXIubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9taW50cGxheWVyLW5nLWJvb3RzdHJhcC9vcmRpbmFsLW51bWJlci9zcmMvb3JkaW5hbC1udW1iZXIubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLHNDQUFzQyxDQUFDOztBQWEzRSxNQUFNLE9BQU8scUJBQXFCOztrSEFBckIscUJBQXFCO21IQUFyQixxQkFBcUIsaUJBVDlCLG1CQUFtQixhQUduQixZQUFZLGFBR1osbUJBQW1CO21IQUdWLHFCQUFxQixZQU45QixZQUFZOzJGQU1ILHFCQUFxQjtrQkFYakMsUUFBUTttQkFBQztvQkFDUixZQUFZLEVBQUU7d0JBQ1osbUJBQW1CO3FCQUNwQjtvQkFDRCxPQUFPLEVBQUU7d0JBQ1AsWUFBWTtxQkFDYjtvQkFDRCxPQUFPLEVBQUU7d0JBQ1AsbUJBQW1CO3FCQUNwQjtpQkFDRiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBDb21tb25Nb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb21tb24nO1xuaW1wb3J0IHsgQnNPcmRpbmFsTnVtYmVyUGlwZSB9IGZyb20gJy4vb3JkaW5hbC1udW1iZXIvb3JkaW5hbC1udW1iZXIucGlwZSc7XG5cbkBOZ01vZHVsZSh7XG4gIGRlY2xhcmF0aW9uczogW1xuICAgIEJzT3JkaW5hbE51bWJlclBpcGVcbiAgXSxcbiAgaW1wb3J0czogW1xuICAgIENvbW1vbk1vZHVsZVxuICBdLFxuICBleHBvcnRzOiBbXG4gICAgQnNPcmRpbmFsTnVtYmVyUGlwZVxuICBdXG59KVxuZXhwb3J0IGNsYXNzIEJzT3JkaW5hbE51bWJlck1vZHVsZSB7IH1cbiJdfQ==","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWludHBsYXllci1uZy1ib290c3RyYXAtb3JkaW5hbC1udW1iZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL21pbnRwbGF5ZXItbmctYm9vdHN0cmFwL29yZGluYWwtbnVtYmVyL21pbnRwbGF5ZXItbmctYm9vdHN0cmFwLW9yZGluYWwtbnVtYmVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIG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mBAAmB,CAAC,EAAE,CAAC,CAAC;AAC1O,qBAAqB,CAAC,IAAI,GAAG,EAAE,CAAC,mBAAmB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,qBAAqB,EAAE,OAAO,EAAE,CAAC,YAAY,CAAC,EAAE,CAAC,CAAC;AACrK,EAAE,CAAC,wBAAwB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,qBAAqB,EAAE,UAAU,EAAE,CAAC;AAC/H,YAAY,IAAI,EAAE,QAAQ;AAC1B,YAAY,IAAI,EAAE,CAAC;AACnB,oBAAoB,YAAY,EAAE;AAClC,wBAAwB,mBAAmB;AAC3C,qBAAqB;AACrB,oBAAoB,OAAO,EAAE;AAC7B,wBAAwB,YAAY;AACpC,qBAAqB;AACrB,oBAAoB,OAAO,EAAE;AAC7B,wBAAwB,mBAAmB;AAC3C,qBAAqB;AACrB,iBAAiB,CAAC;AAClB,SAAS,CAAC,EAAE,CAAC;;ACtBb;AACA;AACA;;;;"}
@@ -0,0 +1,5 @@
1
+ export * from './src/markdown.module';
2
+ export * from './src/bold/bold.pipe';
3
+ export * from './src/italic/italic.pipe';
4
+ export * from './src/strikethrough/strikethrough.pipe';
5
+ export * from './src/underline/underline.pipe';
@@ -0,0 +1,10 @@
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 BsBoldPipe implements PipeTransform {
5
+ private domSanitizer;
6
+ constructor(domSanitizer: DomSanitizer);
7
+ transform(value: string, numberOfStars?: number, classList?: string[]): SafeHtml | null;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<BsBoldPipe, never>;
9
+ static ɵpipe: i0.ɵɵPipeDeclaration<BsBoldPipe, "bsBold", false>;
10
+ }
@@ -0,0 +1,10 @@
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 BsItalicPipe implements PipeTransform {
5
+ private domSanitizer;
6
+ constructor(domSanitizer: DomSanitizer);
7
+ transform(value: string | SafeHtml | null, numberOfStars?: number, classList?: string[]): SafeHtml | null;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<BsItalicPipe, never>;
9
+ static ɵpipe: i0.ɵɵPipeDeclaration<BsItalicPipe, "bsItalic", false>;
10
+ }
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./bold/bold.pipe";
3
+ import * as i2 from "./italic/italic.pipe";
4
+ import * as i3 from "./underline/underline.pipe";
5
+ import * as i4 from "./strikethrough/strikethrough.pipe";
6
+ import * as i5 from "@angular/common";
7
+ export declare class BsMarkdownModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<BsMarkdownModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<BsMarkdownModule, [typeof i1.BsBoldPipe, typeof i2.BsItalicPipe, typeof i3.BsUnderlinePipe, typeof i4.BsStrikethroughPipe], [typeof i5.CommonModule], [typeof i1.BsBoldPipe, typeof i2.BsItalicPipe, typeof i3.BsUnderlinePipe, typeof i4.BsStrikethroughPipe]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<BsMarkdownModule>;
11
+ }
@@ -0,0 +1,10 @@
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 BsStrikethroughPipe implements PipeTransform {
5
+ private domSanitizer;
6
+ constructor(domSanitizer: DomSanitizer);
7
+ transform(value: string | SafeHtml | null, numberOfTildes?: number, classList?: string[]): SafeHtml | null;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<BsStrikethroughPipe, never>;
9
+ static ɵpipe: i0.ɵɵPipeDeclaration<BsStrikethroughPipe, "bsStrikethrough", false>;
10
+ }
@@ -0,0 +1,10 @@
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 BsUnderlinePipe implements PipeTransform {
5
+ private domSanitizer;
6
+ constructor(domSanitizer: DomSanitizer);
7
+ transform(value: string | SafeHtml | null, classList?: string[]): SafeHtml | null;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<BsUnderlinePipe, never>;
9
+ static ɵpipe: i0.ɵɵPipeDeclaration<BsUnderlinePipe, "bsUnderline", false>;
10
+ }
@@ -1,2 +1,3 @@
1
1
  export * from './offcanvas-close/offcanvas-close.directive';
2
2
  export * from './offcanvas-content/offcanvas-content.directive';
3
+ export * from './offcanvas-push/offcanvas-push.directive';
@@ -0,0 +1,16 @@
1
+ import { AnimationBuilder } from '@angular/animations';
2
+ import { ElementRef, OnDestroy } from '@angular/core';
3
+ import { BsOffcanvasHostComponent } from '../../components';
4
+ import * as i0 from "@angular/core";
5
+ export declare class BsOffcanvasPushDirective implements OnDestroy {
6
+ private element;
7
+ private builder;
8
+ constructor(element: ElementRef<HTMLElement>, builder: AnimationBuilder);
9
+ private offcanvas$;
10
+ private destroyed$;
11
+ private initialOverflowX?;
12
+ set offcanvas(value: BsOffcanvasHostComponent);
13
+ ngOnDestroy(): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<BsOffcanvasPushDirective, never>;
15
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BsOffcanvasPushDirective, "[bsOffcanvasPush]", never, { "offcanvas": "bsOffcanvasPush"; }, {}, never, never, false, never>;
16
+ }
@@ -5,11 +5,12 @@ import * as i3 from "./components/offcanvas-host/offcanvas-host.component";
5
5
  import * as i4 from "./directives/offcanvas-close/offcanvas-close.directive";
6
6
  import * as i5 from "./components/offcanvas-header/offcanvas-header.component";
7
7
  import * as i6 from "./components/offcanvas-body/offcanvas-body.component";
8
- import * as i7 from "@angular/common";
9
- import * as i8 from "@angular/cdk/overlay";
10
- import * as i9 from "@mintplayer/ng-bootstrap/has-overlay";
8
+ import * as i7 from "./directives/offcanvas-push/offcanvas-push.directive";
9
+ import * as i8 from "@angular/common";
10
+ import * as i9 from "@angular/cdk/overlay";
11
+ import * as i10 from "@mintplayer/ng-bootstrap/has-overlay";
11
12
  export declare class BsOffcanvasModule {
12
13
  static ɵfac: i0.ɵɵFactoryDeclaration<BsOffcanvasModule, never>;
13
- static ɵmod: i0.ɵɵNgModuleDeclaration<BsOffcanvasModule, [typeof i1.BsOffcanvasComponent, typeof i2.BsOffcanvasContentDirective, typeof i3.BsOffcanvasHostComponent, typeof i4.BsOffcanvasCloseDirective, typeof i5.OffcanvasHeaderComponent, typeof i6.OffcanvasBodyComponent], [typeof i7.CommonModule, typeof i8.OverlayModule, typeof i9.BsHasOverlayModule], [typeof i1.BsOffcanvasComponent, typeof i2.BsOffcanvasContentDirective, typeof i3.BsOffcanvasHostComponent, typeof i4.BsOffcanvasCloseDirective, typeof i5.OffcanvasHeaderComponent, typeof i6.OffcanvasBodyComponent]>;
14
+ static ɵmod: i0.ɵɵNgModuleDeclaration<BsOffcanvasModule, [typeof i1.BsOffcanvasComponent, typeof i2.BsOffcanvasContentDirective, typeof i3.BsOffcanvasHostComponent, typeof i4.BsOffcanvasCloseDirective, typeof i5.OffcanvasHeaderComponent, typeof i6.OffcanvasBodyComponent, typeof i7.BsOffcanvasPushDirective], [typeof i8.CommonModule, typeof i9.OverlayModule, typeof i10.BsHasOverlayModule], [typeof i1.BsOffcanvasComponent, typeof i2.BsOffcanvasContentDirective, typeof i3.BsOffcanvasHostComponent, typeof i4.BsOffcanvasCloseDirective, typeof i5.OffcanvasHeaderComponent, typeof i6.OffcanvasBodyComponent, typeof i7.BsOffcanvasPushDirective]>;
14
15
  static ɵinj: i0.ɵɵInjectorDeclaration<BsOffcanvasModule>;
15
16
  }
@@ -0,0 +1 @@
1
+ export * from './src';
@@ -0,0 +1,2 @@
1
+ export * from './ordinal-number.module';
2
+ export * from './ordinal-number/ordinal-number.pipe';
@@ -0,0 +1,10 @@
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 BsOrdinalNumberPipe implements PipeTransform {
5
+ private domSanitizer;
6
+ constructor(domSanitizer: DomSanitizer);
7
+ transform(value: string, ...args: string[]): SafeHtml;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<BsOrdinalNumberPipe, never>;
9
+ static ɵpipe: i0.ɵɵPipeDeclaration<BsOrdinalNumberPipe, "ordinalNumber", false>;
10
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./ordinal-number/ordinal-number.pipe";
3
+ import * as i2 from "@angular/common";
4
+ export declare class BsOrdinalNumberModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<BsOrdinalNumberModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<BsOrdinalNumberModule, [typeof i1.BsOrdinalNumberPipe], [typeof i2.CommonModule], [typeof i1.BsOrdinalNumberPipe]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<BsOrdinalNumberModule>;
8
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mintplayer/ng-bootstrap",
3
3
  "private": false,
4
- "version": "15.8.0",
4
+ "version": "15.11.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/MintPlayer/mintplayer-ng-bootstrap",
@@ -284,6 +284,14 @@
284
284
  "node": "./fesm2015/mintplayer-ng-bootstrap-list-group.mjs",
285
285
  "default": "./fesm2020/mintplayer-ng-bootstrap-list-group.mjs"
286
286
  },
287
+ "./markdown": {
288
+ "types": "./markdown/index.d.ts",
289
+ "esm2020": "./esm2020/markdown/mintplayer-ng-bootstrap-markdown.mjs",
290
+ "es2020": "./fesm2020/mintplayer-ng-bootstrap-markdown.mjs",
291
+ "es2015": "./fesm2015/mintplayer-ng-bootstrap-markdown.mjs",
292
+ "node": "./fesm2015/mintplayer-ng-bootstrap-markdown.mjs",
293
+ "default": "./fesm2020/mintplayer-ng-bootstrap-markdown.mjs"
294
+ },
287
295
  "./modal": {
288
296
  "types": "./modal/index.d.ts",
289
297
  "esm2020": "./esm2020/modal/mintplayer-ng-bootstrap-modal.mjs",
@@ -316,6 +324,14 @@
316
324
  "node": "./fesm2015/mintplayer-ng-bootstrap-offcanvas.mjs",
317
325
  "default": "./fesm2020/mintplayer-ng-bootstrap-offcanvas.mjs"
318
326
  },
327
+ "./ordinal-number": {
328
+ "types": "./ordinal-number/index.d.ts",
329
+ "esm2020": "./esm2020/ordinal-number/mintplayer-ng-bootstrap-ordinal-number.mjs",
330
+ "es2020": "./fesm2020/mintplayer-ng-bootstrap-ordinal-number.mjs",
331
+ "es2015": "./fesm2015/mintplayer-ng-bootstrap-ordinal-number.mjs",
332
+ "node": "./fesm2015/mintplayer-ng-bootstrap-ordinal-number.mjs",
333
+ "default": "./fesm2020/mintplayer-ng-bootstrap-ordinal-number.mjs"
334
+ },
319
335
  "./pagination": {
320
336
  "types": "./pagination/index.d.ts",
321
337
  "esm2020": "./esm2020/pagination/mintplayer-ng-bootstrap-pagination.mjs",