@mintplayer/ng-bootstrap 15.7.0 → 15.9.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.
- package/code-snippet/src/code-snippet.module.d.ts +3 -2
- package/esm2020/code-snippet/src/code-snippet.module.mjs +5 -1
- package/esm2020/form/src/form-group/form-group.directive.mjs +19 -0
- package/esm2020/form/src/form.module.mjs +5 -4
- package/esm2020/form/src/index.mjs +2 -1
- package/esm2020/offcanvas/src/directives/index.mjs +2 -1
- package/esm2020/offcanvas/src/directives/offcanvas-push/offcanvas-push.directive.mjs +70 -0
- package/esm2020/offcanvas/src/offcanvas.module.mjs +10 -5
- package/esm2020/ordinal-number/index.mjs +2 -0
- package/esm2020/ordinal-number/mintplayer-ng-bootstrap-ordinal-number.mjs +5 -0
- package/esm2020/ordinal-number/src/index.mjs +3 -0
- package/esm2020/ordinal-number/src/ordinal-number/ordinal-number.pipe.mjs +29 -0
- package/esm2020/ordinal-number/src/ordinal-number.module.mjs +24 -0
- package/fesm2015/mintplayer-ng-bootstrap-code-snippet.mjs +4 -0
- package/fesm2015/mintplayer-ng-bootstrap-code-snippet.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-form.mjs +21 -4
- package/fesm2015/mintplayer-ng-bootstrap-form.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-offcanvas.mjs +75 -5
- package/fesm2015/mintplayer-ng-bootstrap-offcanvas.mjs.map +1 -1
- package/fesm2015/mintplayer-ng-bootstrap-ordinal-number.mjs +56 -0
- package/fesm2015/mintplayer-ng-bootstrap-ordinal-number.mjs.map +1 -0
- package/fesm2020/mintplayer-ng-bootstrap-code-snippet.mjs +4 -0
- package/fesm2020/mintplayer-ng-bootstrap-code-snippet.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-form.mjs +21 -4
- package/fesm2020/mintplayer-ng-bootstrap-form.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-offcanvas.mjs +75 -5
- package/fesm2020/mintplayer-ng-bootstrap-offcanvas.mjs.map +1 -1
- package/fesm2020/mintplayer-ng-bootstrap-ordinal-number.mjs +56 -0
- package/fesm2020/mintplayer-ng-bootstrap-ordinal-number.mjs.map +1 -0
- package/form/src/form-group/form-group.directive.d.ts +6 -0
- package/form/src/form.module.d.ts +3 -2
- package/form/src/index.d.ts +1 -0
- package/offcanvas/src/directives/index.d.ts +1 -0
- package/offcanvas/src/directives/offcanvas-push/offcanvas-push.directive.d.ts +16 -0
- package/offcanvas/src/offcanvas.module.d.ts +5 -4
- package/ordinal-number/index.d.ts +1 -0
- package/ordinal-number/src/index.d.ts +2 -0
- package/ordinal-number/src/ordinal-number/ordinal-number.pipe.d.ts +10 -0
- package/ordinal-number/src/ordinal-number.module.d.ts +8 -0
- package/package.json +9 -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkaW5hbC1udW1iZXIucGlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvbWludHBsYXllci1uZy1ib290c3RyYXAvb3JkaW5hbC1udW1iZXIvc3JjL29yZGluYWwtbnVtYmVyL29yZGluYWwtbnVtYmVyLnBpcGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLElBQUksRUFBaUIsZUFBZSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3JFLE9BQU8sRUFBRSxZQUFZLEVBQVksTUFBTSwyQkFBMkIsQ0FBQzs7O0FBS25FLE1BQU0sT0FBTyxtQkFBbUI7SUFFOUIsWUFBb0IsWUFBMEI7UUFBMUIsaUJBQVksR0FBWixZQUFZLENBQWM7SUFBRyxDQUFDO0lBRWxELFNBQVMsQ0FBQyxLQUFhLEVBQUUsR0FBRyxJQUFjO1FBQ3hDLE1BQU0sV0FBVyxHQUFHLElBQUksTUFBTSxDQUFDLFdBQVcsRUFBRSxJQUFJLENBQUMsQ0FBQztRQUNsRCxNQUFNLFVBQVUsR0FBRyxJQUFJLENBQUMsR0FBRyxDQUFDLENBQUMsQ0FBQyxFQUFFLENBQUMsQ0FBQyxDQUFDLE9BQU8sQ0FBQyxXQUFXLEVBQUUsRUFBRSxDQUFDLENBQUMsQ0FBQyxJQ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5cbiAgdHJhbnNmb3JtKHZhbHVlOiBzdHJpbmcsIC4uLmFyZ3M6IHN0cmluZ1tdKTogU2FmZUh0bWwge1xuICAgIGNvbnN0IHNhbml0aXplUmd4ID0gbmV3IFJlZ0V4cChgW15BLVphLXpdYCwgJ2dtJyk7XG4gICAgY29uc3QgY291bnRXb3JkcyA9IGFyZ3MubWFwKHcgPT4gdy5yZXBsYWNlKHNhbml0aXplUmd4LCAnJykpLmpvaW4oJ3wnKTtcbiAgICBjb25zdCByZ3ggPSBuZXcgUmVnRXhwKGBcXFxcYig/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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWludHBsYXllci1uZy1ib290c3RyYXAtb3JkaW5hbC1udW1iZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL21pbnRwbGF5ZXItbmctYm9vdHN0cmFwL29yZGluYWwtbnVtYmVyL21pbnRwbGF5ZXItbmctYm9vdHN0cmFwLW9yZGluYWwtbnVtYmVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW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,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,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class BsFormGroupDirective {
|
|
3
|
+
formGroupClass: boolean;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsFormGroupDirective, never>;
|
|
5
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BsFormGroupDirective, "[bsFormGroup]", never, {}, {}, never, never, false, never>;
|
|
6
|
+
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./form/form.component";
|
|
3
3
|
import * as i2 from "./form-control/form-control.directive";
|
|
4
|
-
import * as i3 from "
|
|
4
|
+
import * as i3 from "./form-group/form-group.directive";
|
|
5
|
+
import * as i4 from "@angular/common";
|
|
5
6
|
export declare class BsFormModule {
|
|
6
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<BsFormModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BsFormModule, [typeof i1.BsFormComponent, typeof i2.BsFormControlDirective], [typeof
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BsFormModule, [typeof i1.BsFormComponent, typeof i2.BsFormControlDirective, typeof i3.BsFormGroupDirective], [typeof i4.CommonModule], [typeof i1.BsFormComponent, typeof i2.BsFormControlDirective, typeof i3.BsFormGroupDirective]>;
|
|
8
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<BsFormModule>;
|
|
9
10
|
}
|
package/form/src/index.d.ts
CHANGED
|
@@ -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 "
|
|
9
|
-
import * as i8 from "@angular/
|
|
10
|
-
import * as i9 from "@
|
|
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
|
|
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,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.
|
|
4
|
+
"version": "15.9.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/MintPlayer/mintplayer-ng-bootstrap",
|
|
@@ -316,6 +316,14 @@
|
|
|
316
316
|
"node": "./fesm2015/mintplayer-ng-bootstrap-offcanvas.mjs",
|
|
317
317
|
"default": "./fesm2020/mintplayer-ng-bootstrap-offcanvas.mjs"
|
|
318
318
|
},
|
|
319
|
+
"./ordinal-number": {
|
|
320
|
+
"types": "./ordinal-number/index.d.ts",
|
|
321
|
+
"esm2020": "./esm2020/ordinal-number/mintplayer-ng-bootstrap-ordinal-number.mjs",
|
|
322
|
+
"es2020": "./fesm2020/mintplayer-ng-bootstrap-ordinal-number.mjs",
|
|
323
|
+
"es2015": "./fesm2015/mintplayer-ng-bootstrap-ordinal-number.mjs",
|
|
324
|
+
"node": "./fesm2015/mintplayer-ng-bootstrap-ordinal-number.mjs",
|
|
325
|
+
"default": "./fesm2020/mintplayer-ng-bootstrap-ordinal-number.mjs"
|
|
326
|
+
},
|
|
319
327
|
"./pagination": {
|
|
320
328
|
"types": "./pagination/index.d.ts",
|
|
321
329
|
"esm2020": "./esm2020/pagination/mintplayer-ng-bootstrap-pagination.mjs",
|