@mintplayer/ng-bootstrap 16.6.1 → 16.7.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/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 +29 -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 +63 -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 +14 -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,29 @@
|
|
|
1
|
+
import { Component, ElementRef, ViewChild } from '@angular/core';
|
|
2
|
+
import { BsStickyFooterParentDirective } from '../sticky-footer-parent/sticky-footer-parent.directive';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "../sticky-footer-parent/sticky-footer-parent.directive";
|
|
5
|
+
export class BsStickyFooterComponent {
|
|
6
|
+
constructor(parent, element) {
|
|
7
|
+
this.parent = parent;
|
|
8
|
+
this.element = element;
|
|
9
|
+
this.resizeObserver = new ResizeObserver((entries) => {
|
|
10
|
+
this.parent.marginBottom = entries[0].contentRect.height;
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
ngAfterViewInit() {
|
|
14
|
+
this.resizeObserver.observe(this.footer.nativeElement);
|
|
15
|
+
}
|
|
16
|
+
ngOnDestroy() {
|
|
17
|
+
this.resizeObserver.unobserve(this.footer.nativeElement);
|
|
18
|
+
}
|
|
19
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: BsStickyFooterComponent, deps: [{ token: i1.BsStickyFooterParentDirective }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
20
|
+
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"] }); }
|
|
21
|
+
}
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: BsStickyFooterComponent, decorators: [{
|
|
23
|
+
type: Component,
|
|
24
|
+
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"] }]
|
|
25
|
+
}], ctorParameters: function () { return [{ type: i1.BsStickyFooterParentDirective }, { type: i0.ElementRef }]; }, propDecorators: { footer: [{
|
|
26
|
+
type: ViewChild,
|
|
27
|
+
args: ['foot']
|
|
28
|
+
}] } });
|
|
29
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RpY2t5LWZvb3Rlci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL21pbnRwbGF5ZXItbmctYm9vdHN0cmFwL3N0aWNreS1mb290ZXIvc3JjL3N0aWNreS1mb290ZXIvc3RpY2t5LWZvb3Rlci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL21pbnRwbGF5ZXItbmctYm9vdHN0cmFwL3N0aWNreS1mb290ZXIvc3JjL3N0aWNreS1mb290ZXIvc3RpY2t5LWZvb3Rlci5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFpQixVQUFVLEVBQUUsU0FBUyxFQUFhLE1BQU0sZUFBZSxDQUFDO0FBQzNGLE9BQU8sRUFBRSw2QkFBNkIsRUFBRSxNQUFNLHdEQUF3RCxDQUFDOzs7QUFPdkcsTUFBTSxPQUFPLHVCQUF1QjtJQUNsQyxZQUFvQixNQUFxQyxFQUFVLE9BQW1CO1FBQWxFLFdBQU0sR0FBTixNQUFNLENBQStCO1FBQVUsWUFBTyxHQUFQLE9BQU8sQ0FBWTtRQUNwRixJQUFJ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ZXIuY29tcG9uZW50LnNjc3MnXSxcbn0pXG5leHBvcnQgY2xhc3MgQnNTdGlja3lGb290ZXJDb21wb25lbnQgaW1wbGVtZW50cyBBZnRlclZpZXdJbml0LCBPbkRlc3Ryb3kge1xuICBjb25zdHJ1Y3Rvcihwcml2YXRlIHBhcmVudDogQnNTdGlja3lGb290ZXJQYXJlbnREaXJlY3RpdmUsIHByaXZhdGUgZWxlbWVudDogRWxlbWVudFJlZikge1xuICAgIHRoaXMucmVzaXplT2JzZXJ2ZXIgPSBuZXcgUmVzaXplT2JzZXJ2ZXIoKGVudHJpZXMpID0+IHtcbiAgICAgIHRoaXMucGFyZW50Lm1hcmdpbkJvdHRvbSA9IGVudHJpZXNbMF0uY29udGVudFJlY3QuaGVpZ2h0O1xuICAgIH0pO1xuICB9XG5cbiAgcmVzaXplT2JzZXJ2ZXI6IFJlc2l6ZU9ic2VydmVyO1xuICBAVmlld0NoaWxkKCdmb290JykgZm9vdGVyITogRWxlbWVudFJlZjxIVE1MRWxlbWVudD47XG5cbiAgbmdBZnRlclZpZXdJbml0KCkge1xuICAgIHRoaXMucmVzaXplT2JzZXJ2ZXIub2JzZXJ2ZSh0aGlzLmZvb3Rlci5uYXRpdmVFbGVtZW50KTtcbiAgfVxuXG4gIG5nT25EZXN0cm95KCkge1xuICAgIHRoaXMucmVzaXplT2JzZXJ2ZXIudW5vYnNlcnZlKHRoaXMuZm9vdGVyLm5hdGl2ZUVsZW1lbnQpO1xuICB9XG59XG4iLCI8Zm9vdGVyICNmb290IGNsYXNzPVwiZm9vdGVyIHBvc2l0aW9uLWFic29sdXRlXCI+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
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RpY2t5LWZvb3Rlci5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL21pbnRwbGF5ZXItbmctYm9vdHN0cmFwL3N0aWNreS1mb290ZXIvc3JjL3N0aWNreS1mb290ZXIubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxNQUFNLHlDQUF5QyxDQUFDO0FBQ2xGLE9BQU8sRUFBRSw2QkFBNkIsRUFBRSxNQUFNLHVEQUF1RCxDQUFDOztBQU90RyxNQUFNLE9BQU8sb0JBQW9COzhHQUFwQixvQkFBb0I7K0dBQXBCLG9CQUFvQixpQkFKaEIsdUJBQXVCLEVBQUUsNkJBQTZCLGFBQzNELFlBQVksYUFDWix1QkFBdUIsRUFBRSw2QkFBNkI7K0dBRXJELG9CQUFvQixZQUhyQixZQUFZOzsyRkFHWCxvQkFBb0I7a0JBTGhDLFFBQVE7bUJBQUM7b0JBQ1IsWUFBWSxFQUFFLENBQUMsdUJBQXVCLEVBQUUsNkJBQTZCLENBQUM7b0JBQ3RFLE9BQU8sRUFBRSxDQUFDLFlBQVksQ0FBQztvQkFDdkIsT0FBTyxFQUFFLENBQUMsdUJBQXVCLEVBQUUsNkJBQTZCLENBQUM7aUJBQ2xFIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgTmdNb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IENvbW1vbk1vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvbW1vbic7XG5pbXBvcnQgeyBCc1N0aWNreUZvb3RlckNvbXBvbmVudCB9IGZyb20gJy4vc3RpY2t5LWZvb3Rlci9zdGlja3ktZm9vdGVyLmNvbXBvbmVudCc7XG5pbXBvcnQgeyBCc1N0aWNreUZvb3RlclBhcmVudERpcmVjdGl2ZSB9IGZyb20gJy4vc3RpY2t5LWZvb3Rlci1wYXJlbnQvc3RpY2t5LWZvb3Rlci1wYXJlbnQuZGlyZWN0aXZlJztcblxuQE5nTW9kdWxlKHtcbiAgZGVjbGFyYXRpb25zOiBbQnNTdGlja3lGb290ZXJDb21wb25lbnQsIEJzU3RpY2t5Rm9vdGVyUGFyZW50RGlyZWN0aXZlXSxcbiAgaW1wb3J0czogW0NvbW1vbk1vZHVsZV0sXG4gIGV4cG9ydHM6IFtCc1N0aWNreUZvb3RlckNvbXBvbmVudCwgQnNTdGlja3lGb290ZXJQYXJlbnREaXJlY3RpdmVdLFxufSlcbmV4cG9ydCBjbGFzcyBCc1N0aWNreUZvb3Rlck1vZHVsZSB7fVxuIl19
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Directive, HostBinding, Component, ViewChild, NgModule } from '@angular/core';
|
|
3
|
+
import { 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) {
|
|
21
|
+
this.parent = parent;
|
|
22
|
+
this.element = element;
|
|
23
|
+
this.resizeObserver = new ResizeObserver((entries) => {
|
|
24
|
+
this.parent.marginBottom = entries[0].contentRect.height;
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
ngAfterViewInit() {
|
|
28
|
+
this.resizeObserver.observe(this.footer.nativeElement);
|
|
29
|
+
}
|
|
30
|
+
ngOnDestroy() {
|
|
31
|
+
this.resizeObserver.unobserve(this.footer.nativeElement);
|
|
32
|
+
}
|
|
33
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: BsStickyFooterComponent, deps: [{ token: BsStickyFooterParentDirective }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
34
|
+
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"] }); }
|
|
35
|
+
}
|
|
36
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: BsStickyFooterComponent, decorators: [{
|
|
37
|
+
type: Component,
|
|
38
|
+
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"] }]
|
|
39
|
+
}], ctorParameters: function () { return [{ type: BsStickyFooterParentDirective }, { type: i0.ElementRef }]; }, propDecorators: { footer: [{
|
|
40
|
+
type: ViewChild,
|
|
41
|
+
args: ['foot']
|
|
42
|
+
}] } });
|
|
43
|
+
|
|
44
|
+
class BsStickyFooterModule {
|
|
45
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: BsStickyFooterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
46
|
+
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] }); }
|
|
47
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: BsStickyFooterModule, imports: [CommonModule] }); }
|
|
48
|
+
}
|
|
49
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.2", ngImport: i0, type: BsStickyFooterModule, decorators: [{
|
|
50
|
+
type: NgModule,
|
|
51
|
+
args: [{
|
|
52
|
+
declarations: [BsStickyFooterComponent, BsStickyFooterParentDirective],
|
|
53
|
+
imports: [CommonModule],
|
|
54
|
+
exports: [BsStickyFooterComponent, BsStickyFooterParentDirective],
|
|
55
|
+
}]
|
|
56
|
+
}] });
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Generated bundle index. Do not edit.
|
|
60
|
+
*/
|
|
61
|
+
|
|
62
|
+
export { BsStickyFooterComponent, BsStickyFooterModule, BsStickyFooterParentDirective };
|
|
63
|
+
//# 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 } from '@angular/core';\nimport { BsStickyFooterParentDirective } from '../sticky-footer-parent/sticky-footer-parent.directive';\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) {\n this.resizeObserver = new ResizeObserver((entries) => {\n this.parent.marginBottom = entries[0].contentRect.height;\n });\n }\n\n resizeObserver: ResizeObserver;\n @ViewChild('foot') footer!: ElementRef<HTMLElement>;\n\n ngAfterViewInit() {\n this.resizeObserver.observe(this.footer.nativeElement);\n }\n\n ngOnDestroy() {\n 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":["i1.BsStickyFooterParentDirective"],"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;;;MCE1B,uBAAuB,CAAA;IAClC,WAAoB,CAAA,MAAqC,EAAU,OAAmB,EAAA;QAAlE,IAAM,CAAA,MAAA,GAAN,MAAM,CAA+B;QAAU,IAAO,CAAA,OAAA,GAAP,OAAO,CAAY;QACpF,IAAI,CAAC,cAAc,GAAG,IAAI,cAAc,CAAC,CAAC,OAAO,KAAI;AACnD,YAAA,IAAI,CAAC,MAAM,CAAC,YAAY,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,MAAM,CAAC;AAC3D,SAAC,CAAC,CAAC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,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.0",
|
|
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,14 @@
|
|
|
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
|
+
constructor(parent: BsStickyFooterParentDirective, element: ElementRef);
|
|
8
|
+
resizeObserver: ResizeObserver;
|
|
9
|
+
footer: ElementRef<HTMLElement>;
|
|
10
|
+
ngAfterViewInit(): void;
|
|
11
|
+
ngOnDestroy(): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsStickyFooterComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BsStickyFooterComponent, "bs-sticky-footer", never, {}, {}, never, ["*"], false, never>;
|
|
14
|
+
}
|
|
@@ -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
|
+
}
|