game-lobby-lib 0.0.1 → 0.0.3
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.
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Component, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/common";
|
|
5
|
+
export class BannersComponent {
|
|
6
|
+
constructor() {
|
|
7
|
+
this.slides = [
|
|
8
|
+
{ image: 'https://cdn.photoswipe.com/photoswipe-demo-images/photos/3/img-200.jpg', title: 'Slide 1' },
|
|
9
|
+
{ image: 'https://cdn.photoswipe.com/photoswipe-demo-images/photos/3/img-200.jpg', title: 'Slide 2' },
|
|
10
|
+
{ image: 'https://cdn.photoswipe.com/photoswipe-demo-images/photos/3/img-200.jpg', title: 'Slide 3' },
|
|
11
|
+
{ image: 'https://cdn.photoswipe.com/photoswipe-demo-images/photos/3/img-200.jpg', title: 'Slide 4' },
|
|
12
|
+
{ image: 'https://cdn.photoswipe.com/photoswipe-demo-images/photos/3/img-200.jpg', title: 'Slide 5' },
|
|
13
|
+
{ image: 'https://cdn.photoswipe.com/photoswipe-demo-images/photos/3/img-200.jpg', title: 'Slide 6' }
|
|
14
|
+
];
|
|
15
|
+
}
|
|
16
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BannersComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
17
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: BannersComponent, isStandalone: true, selector: "app-banners", ngImport: i0, template: "<swiper-container\r\n slides-per-view=\"1\"\r\n pagination=\"true\"\r\n pagination-clickable=\"true\"\r\n speed=\"500\"\r\n loop=\"true\"\r\n autoplay=\"true\"\r\n autoplay-delay=\"5000\"\r\n css-mode=\"true\">\r\n \r\n <swiper-slide *ngFor=\"let slide of slides\">\r\n <img [src]=\"slide.image\" [alt]=\"slide.title\">\r\n <h3>{{ slide.title }}</h3>\r\n </swiper-slide>\r\n \r\n</swiper-container>", styles: ["img{width:100%;height:340px;min-height:340px;display:block}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] }); }
|
|
18
|
+
}
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BannersComponent, decorators: [{
|
|
20
|
+
type: Component,
|
|
21
|
+
args: [{ selector: 'app-banners', standalone: true, imports: [CommonModule], schemas: [CUSTOM_ELEMENTS_SCHEMA], template: "<swiper-container\r\n slides-per-view=\"1\"\r\n pagination=\"true\"\r\n pagination-clickable=\"true\"\r\n speed=\"500\"\r\n loop=\"true\"\r\n autoplay=\"true\"\r\n autoplay-delay=\"5000\"\r\n css-mode=\"true\">\r\n \r\n <swiper-slide *ngFor=\"let slide of slides\">\r\n <img [src]=\"slide.image\" [alt]=\"slide.title\">\r\n <h3>{{ slide.title }}</h3>\r\n </swiper-slide>\r\n \r\n</swiper-container>", styles: ["img{width:100%;height:340px;min-height:340px;display:block}\n"] }]
|
|
22
|
+
}] });
|
|
23
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFubmVycy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9nYW1lLWxvYmJ5LWxpYi9zcmMvbGliL2Jhbm5lcnMvYmFubmVycy5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9nYW1lLWxvYmJ5LWxpYi9zcmMvbGliL2Jhbm5lcnMvYmFubmVycy5jb21wb25lbnQuaHRtb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waG90b3MvMy9pbWctMjAwLmpwZycsIHRpdGxlOiAnU2xpZGUgNScgfSxcclxuICAgICAgeyBpbWFnZTogJ2h0dHBzOi8vY2RuLnBob3Rvc3dpcGUuY29tL3Bob3Rvc3dpcGUtZGVtby1pbWFnZXMvcGhvdG9zLzMvaW1nLTIwMC5qcGcnLCB0aXRsZTogJ1NsaWRlIDYnIH1cclxuICAgIF07XHJcbn1cclxuXHJcblxyXG4iLCI8c3dpcGVyLWNvbnRhaW5lclxyXG4gIHNsaWRlcy1wZXItdmlldz1cIjFcIlxyXG4gIHBhZ2luYXRpb249XCJ0cnVlXCJcclxuICBwYWdpbmF0aW9uLWNsaWNrYWJsZT1cInRydWVcIlxyXG4gIHNwZWVkPVwiNTAwXCJcclxuICBsb29wPVwidHJ1ZVwiXHJcbiAgYXV0b3BsYXk9XCJ0cnVlXCJcclxuICBhdXRvcGxheS1kZWxheT1cIjUwMDBcIlxyXG4gIGNzcy1tb2RlPVwidHJ1ZVwiPlxyXG4gIFxyXG4gIDxzd2lwZXItc2xpZGUgKm5nRm9yPVwibGV0IHNsaWRlIG9mIHNsaWRlc1wiPlxyXG4gICAgPGltZyBbc3JjXT1cInNsaWRlLmltYWdlXCIgW2FsdF09XCJzbGlkZS50aXRsZVwiPlxyXG4gICAgPGgzPnt7IHNsaWRlLnRpdGxlIH19PC9oMz5cclxuICA8L3N3aXBlci1zbGlkZT5cclxuICBcclxuPC9zd2lwZXItY29udGFpbmVyPiJdfQ==
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Component } from '@angular/core';
|
|
2
|
+
import { BannersComponent } from './banners/banners.component';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export class GameLobbyLibComponent {
|
|
4
5
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: GameLobbyLibComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
@@ -6,14 +7,16 @@ export class GameLobbyLibComponent {
|
|
|
6
7
|
<p>
|
|
7
8
|
game-lobby-lib works!
|
|
8
9
|
</p>
|
|
9
|
-
|
|
10
|
+
<app-banners></app-banners>
|
|
11
|
+
`, isInline: true, styles: [""], dependencies: [{ kind: "component", type: BannersComponent, selector: "app-banners" }] }); }
|
|
10
12
|
}
|
|
11
13
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: GameLobbyLibComponent, decorators: [{
|
|
12
14
|
type: Component,
|
|
13
|
-
args: [{ selector: 'lib-game-lobby-lib', standalone: true, imports: [], template: `
|
|
15
|
+
args: [{ selector: 'lib-game-lobby-lib', standalone: true, imports: [BannersComponent], template: `
|
|
14
16
|
<p>
|
|
15
17
|
game-lobby-lib works!
|
|
16
18
|
</p>
|
|
19
|
+
<app-banners></app-banners>
|
|
17
20
|
` }]
|
|
18
21
|
}] });
|
|
19
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
22
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2FtZS1sb2JieS1saWIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvZ2FtZS1sb2JieS1saWIvc3JjL2xpYi9nYW1lLWxvYmJ5LWxpYi5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMxQyxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQzs7QUFhL0QsTUFBTSxPQUFPLHFCQUFxQjsrR0FBckIscUJBQXFCO21HQUFyQixxQkFBcUIsOEVBUnRCOzs7OztHQUtULDBFQU5TLGdCQUFnQjs7NEZBU2YscUJBQXFCO2tCQVpqQyxTQUFTOytCQUNFLG9CQUFvQixjQUNsQixJQUFJLFdBQ1AsQ0FBQyxnQkFBZ0IsQ0FBQyxZQUNqQjs7Ozs7R0FLVCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbXBvbmVudCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5pbXBvcnQgeyBCYW5uZXJzQ29tcG9uZW50IH0gZnJvbSAnLi9iYW5uZXJzL2Jhbm5lcnMuY29tcG9uZW50JztcclxuQENvbXBvbmVudCh7XHJcbiAgc2VsZWN0b3I6ICdsaWItZ2FtZS1sb2JieS1saWInLFxyXG4gIHN0YW5kYWxvbmU6IHRydWUsXHJcbiAgaW1wb3J0czogW0Jhbm5lcnNDb21wb25lbnRdLFxyXG4gIHRlbXBsYXRlOiBgXHJcbiAgICA8cD5cclxuICAgICAgZ2FtZS1sb2JieS1saWIgd29ya3MhXHJcbiAgICA8L3A+XHJcbiAgICA8YXBwLWJhbm5lcnM+PC9hcHAtYmFubmVycz5cclxuICBgLFxyXG4gIHN0eWxlczogYGBcclxufSlcclxuZXhwb3J0IGNsYXNzIEdhbWVMb2JieUxpYkNvbXBvbmVudCB7XHJcblxyXG59XHJcbiJdfQ==
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Injectable, Component } from '@angular/core';
|
|
2
|
+
import { Injectable, CUSTOM_ELEMENTS_SCHEMA, Component } from '@angular/core';
|
|
3
|
+
import * as i1 from '@angular/common';
|
|
4
|
+
import { CommonModule } from '@angular/common';
|
|
3
5
|
|
|
4
6
|
class GameLobbyLibService {
|
|
5
7
|
constructor() { }
|
|
@@ -13,20 +15,41 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
13
15
|
}]
|
|
14
16
|
}], ctorParameters: () => [] });
|
|
15
17
|
|
|
18
|
+
class BannersComponent {
|
|
19
|
+
constructor() {
|
|
20
|
+
this.slides = [
|
|
21
|
+
{ image: 'https://cdn.photoswipe.com/photoswipe-demo-images/photos/3/img-200.jpg', title: 'Slide 1' },
|
|
22
|
+
{ image: 'https://cdn.photoswipe.com/photoswipe-demo-images/photos/3/img-200.jpg', title: 'Slide 2' },
|
|
23
|
+
{ image: 'https://cdn.photoswipe.com/photoswipe-demo-images/photos/3/img-200.jpg', title: 'Slide 3' },
|
|
24
|
+
{ image: 'https://cdn.photoswipe.com/photoswipe-demo-images/photos/3/img-200.jpg', title: 'Slide 4' },
|
|
25
|
+
{ image: 'https://cdn.photoswipe.com/photoswipe-demo-images/photos/3/img-200.jpg', title: 'Slide 5' },
|
|
26
|
+
{ image: 'https://cdn.photoswipe.com/photoswipe-demo-images/photos/3/img-200.jpg', title: 'Slide 6' }
|
|
27
|
+
];
|
|
28
|
+
}
|
|
29
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BannersComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
30
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: BannersComponent, isStandalone: true, selector: "app-banners", ngImport: i0, template: "<swiper-container\r\n slides-per-view=\"1\"\r\n pagination=\"true\"\r\n pagination-clickable=\"true\"\r\n speed=\"500\"\r\n loop=\"true\"\r\n autoplay=\"true\"\r\n autoplay-delay=\"5000\"\r\n css-mode=\"true\">\r\n \r\n <swiper-slide *ngFor=\"let slide of slides\">\r\n <img [src]=\"slide.image\" [alt]=\"slide.title\">\r\n <h3>{{ slide.title }}</h3>\r\n </swiper-slide>\r\n \r\n</swiper-container>", styles: ["img{width:100%;height:340px;min-height:340px;display:block}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] }); }
|
|
31
|
+
}
|
|
32
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: BannersComponent, decorators: [{
|
|
33
|
+
type: Component,
|
|
34
|
+
args: [{ selector: 'app-banners', standalone: true, imports: [CommonModule], schemas: [CUSTOM_ELEMENTS_SCHEMA], template: "<swiper-container\r\n slides-per-view=\"1\"\r\n pagination=\"true\"\r\n pagination-clickable=\"true\"\r\n speed=\"500\"\r\n loop=\"true\"\r\n autoplay=\"true\"\r\n autoplay-delay=\"5000\"\r\n css-mode=\"true\">\r\n \r\n <swiper-slide *ngFor=\"let slide of slides\">\r\n <img [src]=\"slide.image\" [alt]=\"slide.title\">\r\n <h3>{{ slide.title }}</h3>\r\n </swiper-slide>\r\n \r\n</swiper-container>", styles: ["img{width:100%;height:340px;min-height:340px;display:block}\n"] }]
|
|
35
|
+
}] });
|
|
36
|
+
|
|
16
37
|
class GameLobbyLibComponent {
|
|
17
38
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: GameLobbyLibComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
18
39
|
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: GameLobbyLibComponent, isStandalone: true, selector: "lib-game-lobby-lib", ngImport: i0, template: `
|
|
19
40
|
<p>
|
|
20
41
|
game-lobby-lib works!
|
|
21
42
|
</p>
|
|
22
|
-
|
|
43
|
+
<app-banners></app-banners>
|
|
44
|
+
`, isInline: true, styles: [""], dependencies: [{ kind: "component", type: BannersComponent, selector: "app-banners" }] }); }
|
|
23
45
|
}
|
|
24
46
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: GameLobbyLibComponent, decorators: [{
|
|
25
47
|
type: Component,
|
|
26
|
-
args: [{ selector: 'lib-game-lobby-lib', standalone: true, imports: [], template: `
|
|
48
|
+
args: [{ selector: 'lib-game-lobby-lib', standalone: true, imports: [BannersComponent], template: `
|
|
27
49
|
<p>
|
|
28
50
|
game-lobby-lib works!
|
|
29
51
|
</p>
|
|
52
|
+
<app-banners></app-banners>
|
|
30
53
|
` }]
|
|
31
54
|
}] });
|
|
32
55
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"game-lobby-lib.mjs","sources":["../../../projects/game-lobby-lib/src/lib/game-lobby-lib.service.ts","../../../projects/game-lobby-lib/src/lib/game-lobby-lib.component.ts","../../../projects/game-lobby-lib/src/public-api.ts","../../../projects/game-lobby-lib/src/game-lobby-lib.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class GameLobbyLibService {\r\n\r\n constructor() { }\r\n}\r\n","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'lib-game-lobby-lib',\r\n standalone: true,\r\n imports: [],\r\n template: `\r\n <p>\r\n game-lobby-lib works!\r\n </p>\r\n `,\r\n styles: ``\r\n})\r\nexport class GameLobbyLibComponent {\r\n\r\n}\r\n","/*\r\n * Public API Surface of game-lobby-lib\r\n */\r\n\r\nexport * from './lib/game-lobby-lib.service';\r\nexport * from './lib/game-lobby-lib.component';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"game-lobby-lib.mjs","sources":["../../../projects/game-lobby-lib/src/lib/game-lobby-lib.service.ts","../../../projects/game-lobby-lib/src/lib/banners/banners.component.ts","../../../projects/game-lobby-lib/src/lib/banners/banners.component.html","../../../projects/game-lobby-lib/src/lib/game-lobby-lib.component.ts","../../../projects/game-lobby-lib/src/public-api.ts","../../../projects/game-lobby-lib/src/game-lobby-lib.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class GameLobbyLibService {\r\n\r\n constructor() { }\r\n}\r\n","import { Component, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\n\r\n@Component({\r\n selector: 'app-banners',\r\n standalone: true,\r\n imports: [CommonModule],\r\n schemas: [CUSTOM_ELEMENTS_SCHEMA],\r\n templateUrl: './banners.component.html',\r\n styleUrl: './banners.component.scss'\r\n})\r\nexport class BannersComponent {\r\n slides = [\r\n { image: 'https://cdn.photoswipe.com/photoswipe-demo-images/photos/3/img-200.jpg', title: 'Slide 1' },\r\n { image: 'https://cdn.photoswipe.com/photoswipe-demo-images/photos/3/img-200.jpg', title: 'Slide 2' },\r\n { image: 'https://cdn.photoswipe.com/photoswipe-demo-images/photos/3/img-200.jpg', title: 'Slide 3' },\r\n { image: 'https://cdn.photoswipe.com/photoswipe-demo-images/photos/3/img-200.jpg', title: 'Slide 4' },\r\n { image: 'https://cdn.photoswipe.com/photoswipe-demo-images/photos/3/img-200.jpg', title: 'Slide 5' },\r\n { image: 'https://cdn.photoswipe.com/photoswipe-demo-images/photos/3/img-200.jpg', title: 'Slide 6' }\r\n ];\r\n}\r\n\r\n\r\n","<swiper-container\r\n slides-per-view=\"1\"\r\n pagination=\"true\"\r\n pagination-clickable=\"true\"\r\n speed=\"500\"\r\n loop=\"true\"\r\n autoplay=\"true\"\r\n autoplay-delay=\"5000\"\r\n css-mode=\"true\">\r\n \r\n <swiper-slide *ngFor=\"let slide of slides\">\r\n <img [src]=\"slide.image\" [alt]=\"slide.title\">\r\n <h3>{{ slide.title }}</h3>\r\n </swiper-slide>\r\n \r\n</swiper-container>","import { Component } from '@angular/core';\r\nimport { BannersComponent } from './banners/banners.component';\r\n@Component({\r\n selector: 'lib-game-lobby-lib',\r\n standalone: true,\r\n imports: [BannersComponent],\r\n template: `\r\n <p>\r\n game-lobby-lib works!\r\n </p>\r\n <app-banners></app-banners>\r\n `,\r\n styles: ``\r\n})\r\nexport class GameLobbyLibComponent {\r\n\r\n}\r\n","/*\r\n * Public API Surface of game-lobby-lib\r\n */\r\n\r\nexport * from './lib/game-lobby-lib.service';\r\nexport * from './lib/game-lobby-lib.component';\r\n","/**\n * Gener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,EAAA,oBAAoB,cAClB,IAAI,EAAA,OAAA,EACP,CAAC,gBAAgB,CAAC,EAAA,QAAA,EACjB,CAAA;;;;;AAKT,EAAA,CAAA,EAAA;;;ACXH;;AAEG;;ACFH;;AAEG;;;;"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class BannersComponent {
|
|
3
|
+
slides: {
|
|
4
|
+
image: string;
|
|
5
|
+
title: string;
|
|
6
|
+
}[];
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BannersComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BannersComponent, "app-banners", never, {}, {}, never, never, true, never>;
|
|
9
|
+
}
|
package/package.json
CHANGED