@mintplayer/ng-bootstrap 18.1.1 → 18.2.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/parallax/index.mjs +2 -0
- package/esm2022/parallax/mintplayer-ng-bootstrap-parallax.mjs +5 -0
- package/esm2022/parallax/src/parallax.component.mjs +20 -0
- package/fesm2022/mintplayer-ng-bootstrap-parallax.mjs +27 -0
- package/fesm2022/mintplayer-ng-bootstrap-parallax.mjs.map +1 -0
- package/package.json +7 -1
- package/parallax/index.d.ts +1 -0
- package/parallax/src/parallax.component.d.ts +8 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export * from './src/parallax.component';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL21pbnRwbGF5ZXItbmctYm9vdHN0cmFwL3BhcmFsbGF4L2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsMEJBQTBCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3NyYy9wYXJhbGxheC5jb21wb25lbnQnO1xuIl19
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
export * from './index';
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWludHBsYXllci1uZy1ib290c3RyYXAtcGFyYWxsYXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL21pbnRwbGF5ZXItbmctYm9vdHN0cmFwL3BhcmFsbGF4L21pbnRwbGF5ZXItbmctYm9vdHN0cmFwLXBhcmFsbGF4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuIl19
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Component, computed, input } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class BsParallaxComponent {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.height = input(150);
|
|
7
|
+
this.image = input.required();
|
|
8
|
+
this.imageStyle = computed(() => {
|
|
9
|
+
const img = this.image();
|
|
10
|
+
return !!img ? `url(${img})` : '';
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: BsParallaxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
14
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.0.1", type: BsParallaxComponent, isStandalone: true, selector: "bs-parallax", inputs: { height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null }, image: { classPropertyName: "image", publicName: "image", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<div class=\"parallax\" [style.height.px]=\"height()\" [style.background-image]=\"imageStyle()\"></div>\n", styles: [".parallax{background-attachment:fixed;background-position:center;background-repeat:no-repeat;background-size:cover}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }] }); }
|
|
15
|
+
}
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: BsParallaxComponent, decorators: [{
|
|
17
|
+
type: Component,
|
|
18
|
+
args: [{ selector: 'bs-parallax', standalone: true, imports: [CommonModule], template: "<div class=\"parallax\" [style.height.px]=\"height()\" [style.background-image]=\"imageStyle()\"></div>\n", styles: [".parallax{background-attachment:fixed;background-position:center;background-repeat:no-repeat;background-size:cover}\n"] }]
|
|
19
|
+
}] });
|
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFyYWxsYXguY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9taW50cGxheWVyLW5nLWJvb3RzdHJhcC9wYXJhbGxheC9zcmMvcGFyYWxsYXguY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9taW50cGxheWVyLW5nLWJvb3RzdHJhcC9wYXJhbGxheC9zcmMvcGFyYWxsYXguY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBUyxRQUFRLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ2xFLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQzs7QUFTL0MsTUFBTSxPQUFPLG1CQUFtQjtJQVBoQztRQVFFLFdBQU0sR0FBRyxLQUFLLENBQVMsR0FBRyxDQUFDLENBQUM7UUFDNUIsVUFBSyxHQUFHLEtBQUssQ0FBQyxRQUFRLEVBQVUsQ0FBQztRQUNqQyxlQUFVLEdBQUcsUUFBUSxDQUFDLEdBQUcsRUFBRTtZQUN6QixNQUFNLEdBQUcsR0FBRyxJQUFJLENBQUMsS0FBSyxFQUFFLENBQUM7WUFDekIsT0FBTyxDQUFDLENBQUMsR0FBRyxDQUFDLENBQUMsQ0FBQyxPQUFPLEdBQUcsR0FBRyxDQUFDLENBQUMsQ0FBQyxFQUFFLENBQUM7UUFDcEMsQ0FBQyxDQUFDL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as i0 from '@angular/core';
|
|
2
|
+
import { input, computed, Component } from '@angular/core';
|
|
3
|
+
import { CommonModule } from '@angular/common';
|
|
4
|
+
|
|
5
|
+
class BsParallaxComponent {
|
|
6
|
+
constructor() {
|
|
7
|
+
this.height = input(150);
|
|
8
|
+
this.image = input.required();
|
|
9
|
+
this.imageStyle = computed(() => {
|
|
10
|
+
const img = this.image();
|
|
11
|
+
return !!img ? `url(${img})` : '';
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: BsParallaxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
15
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.0.1", type: BsParallaxComponent, isStandalone: true, selector: "bs-parallax", inputs: { height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null }, image: { classPropertyName: "image", publicName: "image", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<div class=\"parallax\" [style.height.px]=\"height()\" [style.background-image]=\"imageStyle()\"></div>\n", styles: [".parallax{background-attachment:fixed;background-position:center;background-repeat:no-repeat;background-size:cover}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }] }); }
|
|
16
|
+
}
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: BsParallaxComponent, decorators: [{
|
|
18
|
+
type: Component,
|
|
19
|
+
args: [{ selector: 'bs-parallax', standalone: true, imports: [CommonModule], template: "<div class=\"parallax\" [style.height.px]=\"height()\" [style.background-image]=\"imageStyle()\"></div>\n", styles: [".parallax{background-attachment:fixed;background-position:center;background-repeat:no-repeat;background-size:cover}\n"] }]
|
|
20
|
+
}] });
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Generated bundle index. Do not edit.
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
export { BsParallaxComponent };
|
|
27
|
+
//# sourceMappingURL=mintplayer-ng-bootstrap-parallax.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mintplayer-ng-bootstrap-parallax.mjs","sources":["../../../../libs/mintplayer-ng-bootstrap/parallax/src/parallax.component.ts","../../../../libs/mintplayer-ng-bootstrap/parallax/src/parallax.component.html","../../../../libs/mintplayer-ng-bootstrap/parallax/mintplayer-ng-bootstrap-parallax.ts"],"sourcesContent":["import { Component, Input, computed, input } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\n@Component({\n selector: 'bs-parallax',\n standalone: true,\n imports: [CommonModule],\n templateUrl: './parallax.component.html',\n styleUrl: './parallax.component.scss',\n})\nexport class BsParallaxComponent {\n height = input<number>(150);\n image = input.required<string>();\n imageStyle = computed(() => {\n const img = this.image();\n return !!img ? `url(${img})` : '';\n });\n}\n","<div class=\"parallax\" [style.height.px]=\"height()\" [style.background-image]=\"imageStyle()\"></div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAUa,mBAAmB,CAAA;AAPhC,IAAA,WAAA,GAAA;AAQE,QAAA,IAAA,CAAA,MAAM,GAAG,KAAK,CAAS,GAAG,CAAC,CAAC;AAC5B,QAAA,IAAA,CAAA,KAAK,GAAG,KAAK,CAAC,QAAQ,EAAU,CAAC;AACjC,QAAA,IAAA,CAAA,UAAU,GAAG,QAAQ,CAAC,MAAK;AACzB,YAAA,MAAM,GAAG,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC;AACzB,YAAA,OAAO,CAAC,CAAC,GAAG,GAAG,CAAO,IAAA,EAAA,GAAG,CAAG,CAAA,CAAA,GAAG,EAAE,CAAC;AACpC,SAAC,CAAC,CAAC;AACJ,KAAA;8GAPY,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAAnB,mBAAmB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,aAAA,EAAA,MAAA,EAAA,EAAA,MAAA,EAAA,EAAA,iBAAA,EAAA,QAAA,EAAA,UAAA,EAAA,QAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,KAAA,EAAA,EAAA,iBAAA,EAAA,OAAA,EAAA,UAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECVhC,2GACA,EAAA,MAAA,EAAA,CAAA,uHAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EDKY,YAAY,EAAA,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAIX,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAP/B,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,aAAa,EACX,UAAA,EAAA,IAAI,EACP,OAAA,EAAA,CAAC,YAAY,CAAC,EAAA,QAAA,EAAA,2GAAA,EAAA,MAAA,EAAA,CAAA,uHAAA,CAAA,EAAA,CAAA;;;AENzB;;AAEG;;;;"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mintplayer/ng-bootstrap",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "18.
|
|
4
|
+
"version": "18.2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/MintPlayer/mintplayer-ng-bootstrap",
|
|
@@ -324,6 +324,12 @@
|
|
|
324
324
|
"esm": "./esm2022/pagination/mintplayer-ng-bootstrap-pagination.mjs",
|
|
325
325
|
"default": "./fesm2022/mintplayer-ng-bootstrap-pagination.mjs"
|
|
326
326
|
},
|
|
327
|
+
"./parallax": {
|
|
328
|
+
"types": "./parallax/index.d.ts",
|
|
329
|
+
"esm2022": "./esm2022/parallax/mintplayer-ng-bootstrap-parallax.mjs",
|
|
330
|
+
"esm": "./esm2022/parallax/mintplayer-ng-bootstrap-parallax.mjs",
|
|
331
|
+
"default": "./fesm2022/mintplayer-ng-bootstrap-parallax.mjs"
|
|
332
|
+
},
|
|
327
333
|
"./placeholder": {
|
|
328
334
|
"types": "./placeholder/index.d.ts",
|
|
329
335
|
"esm2022": "./esm2022/placeholder/mintplayer-ng-bootstrap-placeholder.mjs",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src/parallax.component';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class BsParallaxComponent {
|
|
3
|
+
height: import("@angular/core").InputSignal<number>;
|
|
4
|
+
image: import("@angular/core").InputSignal<string>;
|
|
5
|
+
imageStyle: import("@angular/core").Signal<string>;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BsParallaxComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BsParallaxComponent, "bs-parallax", never, { "height": { "alias": "height"; "required": false; "isSignal": true; }; "image": { "alias": "image"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
8
|
+
}
|