@mintplayer/ng-bootstrap 16.6.1 → 16.7.1
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/sticky-footer/index.mjs +2 -0
- package/esm2022/sticky-footer/mintplayer-ng-bootstrap-sticky-footer.mjs +5 -0
- package/esm2022/sticky-footer/src/index.mjs +4 -0
- package/esm2022/sticky-footer/src/sticky-footer/sticky-footer.component.mjs +36 -0
- package/esm2022/sticky-footer/src/sticky-footer-parent/sticky-footer-parent.directive.mjs +16 -0
- package/esm2022/sticky-footer/src/sticky-footer.module.mjs +19 -0
- package/fesm2022/mintplayer-ng-bootstrap-sticky-footer.mjs +69 -0
- package/fesm2022/mintplayer-ng-bootstrap-sticky-footer.mjs.map +1 -0
- package/package.json +7 -1
- package/sticky-footer/index.d.ts +1 -0
- package/sticky-footer/src/index.d.ts +3 -0
- package/sticky-footer/src/sticky-footer/sticky-footer.component.d.ts +15 -0
- package/sticky-footer/src/sticky-footer-parent/sticky-footer-parent.directive.d.ts +6 -0
- package/sticky-footer/src/sticky-footer.module.d.ts +9 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export * from './src';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL21pbnRwbGF5ZXItbmctYm9vdHN0cmFwL3N0aWNreS1mb290ZXIvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxPQUFPLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3NyYyc7XG4iXX0=
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
export * from './index';
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWludHBsYXllci1uZy1ib290c3RyYXAtc3RpY2t5LWZvb3Rlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvbWludHBsYXllci1uZy1ib290c3RyYXAvc3RpY2t5LWZvb3Rlci9taW50cGxheWVyLW5nLWJvb3RzdHJhcC1zdGlja3ktZm9vdGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuIl19
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export * from './sticky-footer.module';
|
|
2
|
+
export * from './sticky-footer/sticky-footer.component';
|
|
3
|
+
export * from './sticky-footer-parent/sticky-footer-parent.directive';
|
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL21pbnRwbGF5ZXItbmctYm9vdHN0cmFwL3N0aWNreS1mb290ZXIvc3JjL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsd0JBQXdCLENBQUM7QUFDdkMsY0FBYyx5Q0FBeUMsQ0FBQztBQUN4RCxjQUFjLHVEQUF1RCxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9zdGlja3ktZm9vdGVyLm1vZHVsZSc7XG5leHBvcnQgKiBmcm9tICcuL3N0aWNreS1mb290ZXIvc3RpY2t5LWZvb3Rlci5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9zdGlja3ktZm9vdGVyLXBhcmVudC9zdGlja3ktZm9vdGVyLXBhcmVudC5kaXJlY3RpdmUnOyJdfQ==
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Component, ElementRef, ViewChild, Inject, PLATFORM_ID } from '@angular/core';
|
|
2
|
+
import { BsStickyFooterParentDirective } from '../sticky-footer-parent/sticky-footer-parent.directive';
|
|
3
|
+
import { isPlatformServer } from '@angular/common';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "../sticky-footer-parent/sticky-footer-parent.directive";
|
|
6
|
+
export class BsStickyFooterComponent {
|
|
7
|
+
constructor(parent, element, platformId) {
|
|
8
|
+
this.parent = parent;
|
|
9
|
+
this.element = element;
|
|
10
|
+
this.platformId = platformId;
|
|
11
|
+
if (!isPlatformServer(this.platformId)) {
|
|
12
|
+
this.resizeObserver = new ResizeObserver((entries) => {
|
|
13
|
+
this.parent.marginBottom = entries[0].contentRect.height;
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
ngAfterViewInit() {
|
|
18
|
+
this.resizeObserver && this.resizeObserver.observe(this.footer.nativeElement);
|
|
19
|
+
}
|
|
20
|
+
ngOnDestroy() {
|
|
21
|
+
this.resizeObserver && this.resizeObserver.unobserve(this.footer.nativeElement);
|
|
22
|
+
}
|
|
23
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: BsStickyFooterComponent, deps: [{ token: i1.BsStickyFooterParentDirective }, { token: i0.ElementRef }, { token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
24
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.2", type: BsStickyFooterComponent, selector: "bs-sticky-footer", viewQueries: [{ propertyName: "footer", first: true, predicate: ["foot"], descendants: true }], ngImport: i0, template: "<footer #foot class=\"footer position-absolute\">\n <ng-content></ng-content>\n</footer>", styles: [".footer{bottom:0;left:0;right:0}::ng-deep html{position:relative;min-height:100%}\n"] }); }
|
|
25
|
+
}
|
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: BsStickyFooterComponent, decorators: [{
|
|
27
|
+
type: Component,
|
|
28
|
+
args: [{ selector: 'bs-sticky-footer', template: "<footer #foot class=\"footer position-absolute\">\n <ng-content></ng-content>\n</footer>", styles: [".footer{bottom:0;left:0;right:0}::ng-deep html{position:relative;min-height:100%}\n"] }]
|
|
29
|
+
}], ctorParameters: function () { return [{ type: i1.BsStickyFooterParentDirective }, { type: i0.ElementRef }, { type: undefined, decorators: [{
|
|
30
|
+
type: Inject,
|
|
31
|
+
args: [PLATFORM_ID]
|
|
32
|
+
}] }]; }, propDecorators: { footer: [{
|
|
33
|
+
type: ViewChild,
|
|
34
|
+
args: ['foot']
|
|
35
|
+
}] } });
|
|
36
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RpY2t5LWZvb3Rlci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL21pbnRwbGF5ZXItbmctYm9vdHN0cmFwL3N0aWNreS1mb290ZXIvc3JjL3N0aWNreS1mb290ZXIvc3RpY2t5LWZvb3Rlci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL21pbnRwbGF5ZXItbmctYm9vdHN0cmFwL3N0aWNreS1mb290ZXIvc3JjL3N0aWNreS1mb290ZXIvc3RpY2t5LWZvb3Rlci5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFpQixVQUFVLEVBQUUsU0FBUyxFQUFhLE1BQU0sRUFBRSxXQUFXL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cnZlciA9IG5ldyBSZXNpemVPYnNlcnZlcigoZW50cmllcykgPT4ge1xuICAgICAgICB0aGlzLnBhcmVudC5tYXJnaW5Cb3R0b20gPSBlbnRyaWVzWzBdLmNvbnRlbnRSZWN0LmhlaWdodDtcbiAgICAgIH0pO1xuICAgIH1cbiAgfVxuXG4gIHJlc2l6ZU9ic2VydmVyPzogUmVzaXplT2JzZXJ2ZXI7XG4gIEBWaWV3Q2hpbGQoJ2Zvb3QnKSBmb290ZXIhOiBFbGVtZW50UmVmPEhUTUxFbGVtZW50PjtcblxuICBuZ0FmdGVyVmlld0luaXQoKSB7XG4gICAgdGhpcy5yZXNpemVPYnNlcnZlciAmJiB0aGlzLnJlc2l6ZU9ic2VydmVyLm9ic2VydmUodGhpcy5mb290ZXIubmF0aXZlRWxlbWVudCk7XG4gIH1cblxuICBuZ09uRGVzdHJveSgpIHtcbiAgICB0aGlzLnJlc2l6ZU9ic2VydmVyICYmIHRoaXMucmVzaXplT2JzZXJ2ZXIudW5vYnNlcnZlKHRoaXMuZm9vdGVyLm5hdGl2ZUVsZW1lbnQpO1xuICB9XG59XG4iLCI8Zm9vdGVyICNmb290IGNsYXNzPVwiZm9vdGVyIHBvc2l0aW9uLWFic29sdXRlXCI+XG4gICAgPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PlxuPC9mb290ZXI+Il19
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Directive, HostBinding } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class BsStickyFooterParentDirective {
|
|
4
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: BsStickyFooterParentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
5
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.2", type: BsStickyFooterParentDirective, selector: "[bsStickyFooterParent]", host: { properties: { "style.margin-bottom.px": "this.marginBottom" } }, ngImport: i0 }); }
|
|
6
|
+
}
|
|
7
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: BsStickyFooterParentDirective, decorators: [{
|
|
8
|
+
type: Directive,
|
|
9
|
+
args: [{
|
|
10
|
+
selector: '[bsStickyFooterParent]',
|
|
11
|
+
}]
|
|
12
|
+
}], propDecorators: { marginBottom: [{
|
|
13
|
+
type: HostBinding,
|
|
14
|
+
args: ['style.margin-bottom.px']
|
|
15
|
+
}] } });
|
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RpY2t5LWZvb3Rlci1wYXJlbnQuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9taW50cGxheWVyLW5nLWJvb3RzdHJhcC9zdGlja3ktZm9vdGVyL3NyYy9zdGlja3ktZm9vdGVyLXBhcmVudC9zdGlja3ktZm9vdGVyLXBhcmVudC5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxXQUFXLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBS3ZELE1BQU0sT0FBTyw2QkFBNkI7OEdBQTdCLDZCQUE2QjtrR0FBN0IsNkJBQTZCOzsyRkFBN0IsNkJBQTZCO2tCQUh6QyxTQUFTO21CQUFDO29CQUNULFFBQVEsRUFBRSx3QkFBd0I7aUJBQ25DOzhCQUV3QyxZQUFZO3NCQUFsRCxXQUFXO3VCQUFDLHdCQUF3QiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IERpcmVjdGl2ZSwgSG9zdEJpbmRpbmcgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQERpcmVjdGl2ZSh7XG4gIHNlbGVjdG9yOiAnW2JzU3RpY2t5Rm9vdGVyUGFyZW50XScsXG59KVxuZXhwb3J0IGNsYXNzIEJzU3RpY2t5Rm9vdGVyUGFyZW50RGlyZWN0aXZlIHtcbiAgQEhvc3RCaW5kaW5nKCdzdHlsZS5tYXJnaW4tYm90dG9tLnB4JykgbWFyZ2luQm90dG9tPzogbnVtYmVyO1xufVxuIl19
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { BsStickyFooterComponent } from './sticky-footer/sticky-footer.component';
|
|
4
|
+
import { BsStickyFooterParentDirective } from './sticky-footer-parent/sticky-footer-parent.directive';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export class BsStickyFooterModule {
|
|
7
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: BsStickyFooterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
8
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.2", ngImport: i0, type: BsStickyFooterModule, declarations: [BsStickyFooterComponent, BsStickyFooterParentDirective], imports: [CommonModule], exports: [BsStickyFooterComponent, BsStickyFooterParentDirective] }); }
|
|
9
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: BsStickyFooterModule, imports: [CommonModule] }); }
|
|
10
|
+
}
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: BsStickyFooterModule, decorators: [{
|
|
12
|
+
type: NgModule,
|
|
13
|
+
args: [{
|
|
14
|
+
declarations: [BsStickyFooterComponent, BsStickyFooterParentDirective],
|
|
15
|
+
imports: [CommonModule],
|
|
16
|
+
exports: [BsStickyFooterComponent, BsStickyFooterParentDirective],
|
|
17
|
+
}]
|
|
18
|
+
}] });
|
|
19
|
+
//# sourceMappingUR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UZvb3RlckNvbXBvbmVudCB9IGZyb20gJy4vc3RpY2t5LWZvb3Rlci9zdGlja3ktZm9vdGVyLmNvbXBvbmVudCc7XG5pbXBvcnQgeyBCc1N0aWNreUZvb3RlclBhcmVudERpcmVjdGl2ZSB9IGZyb20gJy4vc3RpY2t5LWZvb3Rlci1wYXJlbnQvc3RpY2t5LWZvb3Rlci1wYXJlbnQuZGlyZWN0aXZlJztcblxuQE5nTW9kdWxlKHtcbiAgZGVjbGFyYXRpb25zOiBbQnNTdGlja3lGb290ZXJDb21wb25lbnQsIEJzU3RpY2t5Rm9vdGVyUGFyZW50RGlyZWN0aXZlXSxcbiAgaW1wb3J0czogW0NvbW1vbk1vZHVsZV0sXG4gIGV4cG9ydHM6IFtCc1N0aWNreUZvb3RlckNvbXBvbmVudCwgQnNTdGlja3lGb290ZXJQYXJlbnREaXJlY3RpdmVdLFxufSlcbmV4cG9ydCBjbGFzcyBCc1N0aWNreUZvb3Rlck1vZHVsZSB7fVxuIl19
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Directive, HostBinding, PLATFORM_ID, Component, Inject, ViewChild, NgModule } from '@angular/core';
|
|
3
|
+
import { isPlatformServer, CommonModule } from '@angular/common';
|
|
4
|
+
|
|
5
|
+
class BsStickyFooterParentDirective {
|
|
6
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: BsStickyFooterParentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
7
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.2", type: BsStickyFooterParentDirective, selector: "[bsStickyFooterParent]", host: { properties: { "style.margin-bottom.px": "this.marginBottom" } }, ngImport: i0 }); }
|
|
8
|
+
}
|
|
9
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: BsStickyFooterParentDirective, decorators: [{
|
|
10
|
+
type: Directive,
|
|
11
|
+
args: [{
|
|
12
|
+
selector: '[bsStickyFooterParent]',
|
|
13
|
+
}]
|
|
14
|
+
}], propDecorators: { marginBottom: [{
|
|
15
|
+
type: HostBinding,
|
|
16
|
+
args: ['style.margin-bottom.px']
|
|
17
|
+
}] } });
|
|
18
|
+
|
|
19
|
+
class BsStickyFooterComponent {
|
|
20
|
+
constructor(parent, element, platformId) {
|
|
21
|
+
this.parent = parent;
|
|
22
|
+
this.element = element;
|
|
23
|
+
this.platformId = platformId;
|
|
24
|
+
if (!isPlatformServer(this.platformId)) {
|
|
25
|
+
this.resizeObserver = new ResizeObserver((entries) => {
|
|
26
|
+
this.parent.marginBottom = entries[0].contentRect.height;
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
ngAfterViewInit() {
|
|
31
|
+
this.resizeObserver && this.resizeObserver.observe(this.footer.nativeElement);
|
|
32
|
+
}
|
|
33
|
+
ngOnDestroy() {
|
|
34
|
+
this.resizeObserver && this.resizeObserver.unobserve(this.footer.nativeElement);
|
|
35
|
+
}
|
|
36
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: BsStickyFooterComponent, deps: [{ token: BsStickyFooterParentDirective }, { token: i0.ElementRef }, { token: PLATFORM_ID }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
37
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.2", type: BsStickyFooterComponent, selector: "bs-sticky-footer", viewQueries: [{ propertyName: "footer", first: true, predicate: ["foot"], descendants: true }], ngImport: i0, template: "<footer #foot class=\"footer position-absolute\">\n <ng-content></ng-content>\n</footer>", styles: [".footer{bottom:0;left:0;right:0}::ng-deep html{position:relative;min-height:100%}\n"] }); }
|
|
38
|
+
}
|
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: BsStickyFooterComponent, decorators: [{
|
|
40
|
+
type: Component,
|
|
41
|
+
args: [{ selector: 'bs-sticky-footer', template: "<footer #foot class=\"footer position-absolute\">\n <ng-content></ng-content>\n</footer>", styles: [".footer{bottom:0;left:0;right:0}::ng-deep html{position:relative;min-height:100%}\n"] }]
|
|
42
|
+
}], ctorParameters: function () { return [{ type: BsStickyFooterParentDirective }, { type: i0.ElementRef }, { type: undefined, decorators: [{
|
|
43
|
+
type: Inject,
|
|
44
|
+
args: [PLATFORM_ID]
|
|
45
|
+
}] }]; }, propDecorators: { footer: [{
|
|
46
|
+
type: ViewChild,
|
|
47
|
+
args: ['foot']
|
|
48
|
+
}] } });
|
|
49
|
+
|
|
50
|
+
class BsStickyFooterModule {
|
|
51
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: BsStickyFooterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
52
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.2", ngImport: i0, type: BsStickyFooterModule, declarations: [BsStickyFooterComponent, BsStickyFooterParentDirective], imports: [CommonModule], exports: [BsStickyFooterComponent, BsStickyFooterParentDirective] }); }
|
|
53
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: BsStickyFooterModule, imports: [CommonModule] }); }
|
|
54
|
+
}
|
|
55
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: BsStickyFooterModule, decorators: [{
|
|
56
|
+
type: NgModule,
|
|
57
|
+
args: [{
|
|
58
|
+
declarations: [BsStickyFooterComponent, BsStickyFooterParentDirective],
|
|
59
|
+
imports: [CommonModule],
|
|
60
|
+
exports: [BsStickyFooterComponent, BsStickyFooterParentDirective],
|
|
61
|
+
}]
|
|
62
|
+
}] });
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Generated bundle index. Do not edit.
|
|
66
|
+
*/
|
|
67
|
+
|
|
68
|
+
export { BsStickyFooterComponent, BsStickyFooterModule, BsStickyFooterParentDirective };
|
|
69
|
+
//# sourceMappingURL=mintplayer-ng-bootstrap-sticky-footer.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-sticky-footer.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/sticky-footer/src/sticky-footer-parent/sticky-footer-parent.directive.ts","../../../../libs/mintplayer-ng-bootstrap/sticky-footer/src/sticky-footer/sticky-footer.component.ts","../../../../libs/mintplayer-ng-bootstrap/sticky-footer/src/sticky-footer/sticky-footer.component.html","../../../../libs/mintplayer-ng-bootstrap/sticky-footer/src/sticky-footer.module.ts","../../../../libs/mintplayer-ng-bootstrap/sticky-footer/mintplayer-ng-bootstrap-sticky-footer.ts"],"sourcesContent":["import { Directive, HostBinding } from '@angular/core';\n\n@Directive({\n selector: '[bsStickyFooterParent]',\n})\nexport class BsStickyFooterParentDirective {\n @HostBinding('style.margin-bottom.px') marginBottom?: number;\n}\n","import { Component, AfterViewInit, ElementRef, ViewChild, OnDestroy, Inject, PLATFORM_ID } from '@angular/core';\nimport { BsStickyFooterParentDirective } from '../sticky-footer-parent/sticky-footer-parent.directive';\nimport { isPlatformServer } from '@angular/common';\n\n@Component({\n selector: 'bs-sticky-footer',\n templateUrl: './sticky-footer.component.html',\n styleUrls: ['./sticky-footer.component.scss'],\n})\nexport class BsStickyFooterComponent implements AfterViewInit, OnDestroy {\n constructor(private parent: BsStickyFooterParentDirective, private element: ElementRef, @Inject(PLATFORM_ID) private platformId: any) {\n if (!isPlatformServer(this.platformId)) {\n this.resizeObserver = new ResizeObserver((entries) => {\n this.parent.marginBottom = entries[0].contentRect.height;\n });\n }\n }\n\n resizeObserver?: ResizeObserver;\n @ViewChild('foot') footer!: ElementRef<HTMLElement>;\n\n ngAfterViewInit() {\n this.resizeObserver && this.resizeObserver.observe(this.footer.nativeElement);\n }\n\n ngOnDestroy() {\n this.resizeObserver && this.resizeObserver.unobserve(this.footer.nativeElement);\n }\n}\n","<footer #foot class=\"footer position-absolute\">\n <ng-content></ng-content>\n</footer>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { BsStickyFooterComponent } from './sticky-footer/sticky-footer.component';\nimport { BsStickyFooterParentDirective } from './sticky-footer-parent/sticky-footer-parent.directive';\n\n@NgModule({\n declarations: [BsStickyFooterComponent, BsStickyFooterParentDirective],\n imports: [CommonModule],\n exports: [BsStickyFooterComponent, BsStickyFooterParentDirective],\n})\nexport class BsStickyFooterModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAKa,6BAA6B,CAAA;8GAA7B,6BAA6B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAA7B,6BAA6B,EAAA,QAAA,EAAA,wBAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,wBAAA,EAAA,mBAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;2FAA7B,6BAA6B,EAAA,UAAA,EAAA,CAAA;kBAHzC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,wBAAwB;AACnC,iBAAA,CAAA;8BAEwC,YAAY,EAAA,CAAA;sBAAlD,WAAW;uBAAC,wBAAwB,CAAA;;;MCG1B,uBAAuB,CAAA;AAClC,IAAA,WAAA,CAAoB,MAAqC,EAAU,OAAmB,EAA+B,UAAe,EAAA;QAAhH,IAAM,CAAA,MAAA,GAAN,MAAM,CAA+B;QAAU,IAAO,CAAA,OAAA,GAAP,OAAO,CAAY;QAA+B,IAAU,CAAA,UAAA,GAAV,UAAU,CAAK;AAClI,QAAA,IAAI,CAAC,gBAA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C,MAAM,CAAA;;;METN,oBAAoB,CAAA;8GAApB,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;+GAApB,oBAAoB,EAAA,YAAA,EAAA,CAJhB,uBAAuB,EAAE,6BAA6B,aAC3D,YAAY,CAAA,EAAA,OAAA,EAAA,CACZ,uBAAuB,EAAE,6BAA6B,CAAA,EAAA,CAAA,CAAA,EAAA;AAErD,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,YAHrB,YAAY,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAGX,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBALhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE,CAAC,uBAAuB,EAAE,6BAA6B,CAAC;oBACtE,OAAO,EAAE,CAAC,YAAY,CAAC;AACvB,oBAAA,OAAO,EAAE,CAAC,uBAAuB,EAAE,6BAA6B,CAAC;AAClE,iBAAA,CAAA;;;ACTD;;AAEG;;;;"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mintplayer/ng-bootstrap",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "16.
|
|
4
|
+
"version": "16.7.1",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/MintPlayer/mintplayer-ng-bootstrap",
|
|
@@ -372,6 +372,12 @@
|
|
|
372
372
|
"esm": "./esm2022/splitter/mintplayer-ng-bootstrap-splitter.mjs",
|
|
373
373
|
"default": "./fesm2022/mintplayer-ng-bootstrap-splitter.mjs"
|
|
374
374
|
},
|
|
375
|
+
"./sticky-footer": {
|
|
376
|
+
"types": "./sticky-footer/index.d.ts",
|
|
377
|
+
"esm2022": "./esm2022/sticky-footer/mintplayer-ng-bootstrap-sticky-footer.mjs",
|
|
378
|
+
"esm": "./esm2022/sticky-footer/mintplayer-ng-bootstrap-sticky-footer.mjs",
|
|
379
|
+
"default": "./fesm2022/mintplayer-ng-bootstrap-sticky-footer.mjs"
|
|
380
|
+
},
|
|
375
381
|
"./tab-control": {
|
|
376
382
|
"types": "./tab-control/index.d.ts",
|
|
377
383
|
"esm2022": "./esm2022/tab-control/mintplayer-ng-bootstrap-tab-control.mjs",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef, OnDestroy } from '@angular/core';
|
|
2
|
+
import { BsStickyFooterParentDirective } from '../sticky-footer-parent/sticky-footer-parent.directive';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class BsStickyFooterComponent implements AfterViewInit, OnDestroy {
|
|
5
|
+
private parent;
|
|
6
|
+
private element;
|
|
7
|
+
private platformId;
|
|
8
|
+
constructor(parent: BsStickyFooterParentDirective, element: ElementRef, platformId: any);
|
|
9
|
+
resizeObserver?: ResizeObserver;
|
|
10
|
+
footer: ElementRef<HTMLElement>;
|
|
11
|
+
ngAfterViewInit(): void;
|
|
12
|
+
ngOnDestroy(): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsStickyFooterComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BsStickyFooterComponent, "bs-sticky-footer", never, {}, {}, never, ["*"], false, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class BsStickyFooterParentDirective {
|
|
3
|
+
marginBottom?: number;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsStickyFooterParentDirective, never>;
|
|
5
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BsStickyFooterParentDirective, "[bsStickyFooterParent]", never, {}, {}, never, never, false, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./sticky-footer/sticky-footer.component";
|
|
3
|
+
import * as i2 from "./sticky-footer-parent/sticky-footer-parent.directive";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
export declare class BsStickyFooterModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsStickyFooterModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BsStickyFooterModule, [typeof i1.BsStickyFooterComponent, typeof i2.BsStickyFooterParentDirective], [typeof i3.CommonModule], [typeof i1.BsStickyFooterComponent, typeof i2.BsStickyFooterParentDirective]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<BsStickyFooterModule>;
|
|
9
|
+
}
|