ca-components 0.0.1 → 0.0.2
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,18 @@
|
|
|
1
|
+
import { NgModule } from '@angular/core';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import { CaProfileImageComponent } from './components/ca-profile-image/ca-profile-image.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export class CaComponentsLibModule {
|
|
6
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CaComponentsLibModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
7
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: CaComponentsLibModule, imports: [CommonModule, CaProfileImageComponent], exports: [CaProfileImageComponent] }); }
|
|
8
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CaComponentsLibModule, imports: [CommonModule, CaProfileImageComponent] }); }
|
|
9
|
+
}
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CaComponentsLibModule, decorators: [{
|
|
11
|
+
type: NgModule,
|
|
12
|
+
args: [{
|
|
13
|
+
declarations: [],
|
|
14
|
+
imports: [CommonModule, CaProfileImageComponent],
|
|
15
|
+
exports: [CaProfileImageComponent],
|
|
16
|
+
}]
|
|
17
|
+
}] });
|
|
18
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2EtY29tcG9uZW50cy5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9jYS1jb21wb25lbnRzL3NyYy9saWIvY2EtY29tcG9uZW50cy5tb2R1bGUudHM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VsZSB7fSJdfQ==
|
package/esm2022/public-api.mjs
CHANGED
|
@@ -2,6 +2,5 @@
|
|
|
2
2
|
* Public API Surface of ca-components
|
|
3
3
|
*/
|
|
4
4
|
export * from './lib/components/ca-profile-image/ca-profile-image.component';
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL2NhLWNvbXBvbmVudHMvc3JjL3B1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLDhEQUE4RCxDQUFDO0FBQzdFLGlEQUFpRDtBQUNqRCw4Q0FBOEMiLCJzb3VyY2VzQ29udGVudCI6WyIvKlxuICogUHVibGljIEFQSSBTdXJmYWNlIG9mIGNhLWNvbXBvbmVudHNcbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2xpYi9jb21wb25lbnRzL2NhLXByb2ZpbGUtaW1hZ2UvY2EtcHJvZmlsZS1pbWFnZS5jb21wb25lbnQnO1xuLy8gZXhwb3J0ICogZnJvbSAnLi9saWIvY2EtY29tcG9uZW50cy5jb21wb25lbnQnO1xuLy8gZXhwb3J0ICogZnJvbSAnLi9saWIvY2EtY29tcG9uZW50cy5tb2R1bGUnO1xuIl19
|
|
5
|
+
export * from './lib/ca-components.module';
|
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL2NhLWNvbXBvbmVudHMvc3JjL3B1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLDhEQUE4RCxDQUFDO0FBQzdFLGNBQWMsNEJBQTRCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKlxuICogUHVibGljIEFQSSBTdXJmYWNlIG9mIGNhLWNvbXBvbmVudHNcbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2xpYi9jb21wb25lbnRzL2NhLXByb2ZpbGUtaW1hZ2UvY2EtcHJvZmlsZS1pbWFnZS5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvY2EtY29tcG9uZW50cy5tb2R1bGUnOyJdfQ==
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i1 from '@angular/common';
|
|
2
2
|
import { CommonModule } from '@angular/common';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
|
-
import { Component, Input } from '@angular/core';
|
|
4
|
+
import { Component, Input, NgModule } from '@angular/core';
|
|
5
5
|
|
|
6
6
|
class CaProfileImageComponent {
|
|
7
7
|
constructor() {
|
|
@@ -31,15 +31,27 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
31
31
|
type: Input
|
|
32
32
|
}] } });
|
|
33
33
|
|
|
34
|
+
class CaComponentsLibModule {
|
|
35
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CaComponentsLibModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
36
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: CaComponentsLibModule, imports: [CommonModule, CaProfileImageComponent], exports: [CaProfileImageComponent] }); }
|
|
37
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CaComponentsLibModule, imports: [CommonModule, CaProfileImageComponent] }); }
|
|
38
|
+
}
|
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CaComponentsLibModule, decorators: [{
|
|
40
|
+
type: NgModule,
|
|
41
|
+
args: [{
|
|
42
|
+
declarations: [],
|
|
43
|
+
imports: [CommonModule, CaProfileImageComponent],
|
|
44
|
+
exports: [CaProfileImageComponent],
|
|
45
|
+
}]
|
|
46
|
+
}] });
|
|
47
|
+
|
|
34
48
|
/*
|
|
35
49
|
* Public API Surface of ca-components
|
|
36
50
|
*/
|
|
37
|
-
// export * from './lib/ca-components.component';
|
|
38
|
-
// export * from './lib/ca-components.module';
|
|
39
51
|
|
|
40
52
|
/**
|
|
41
53
|
* Generated bundle index. Do not edit.
|
|
42
54
|
*/
|
|
43
55
|
|
|
44
|
-
export { CaProfileImageComponent };
|
|
56
|
+
export { CaComponentsLibModule, CaProfileImageComponent };
|
|
45
57
|
//# sourceMappingURL=ca-components.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ca-components.mjs","sources":["../../../projects/ca-components/src/lib/components/ca-profile-image/ca-profile-image.component.ts","../../../projects/ca-components/src/lib/components/ca-profile-image/ca-profile-image.component.html","../../../projects/ca-components/src/public-api.ts","../../../projects/ca-components/src/ca-components.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { Component, Input, OnInit } from '@angular/core';\n\n@Component({\n selector: 'app-ca-profile-image',\n templateUrl: './ca-profile-image.component.html',\n styleUrls: ['./ca-profile-image.component.scss'],\n standalone: true,\n imports: [CommonModule],\n})\nexport class CaProfileImageComponent implements OnInit {\n @Input() avatarImg!: string;\n @Input() avatarColor!: { background?: string; color?: string };\n @Input() textShortName!: string;\n @Input() isRound: boolean = true;\n @Input() size!: string | number;\n @Input() fontSize!: string | number;\n @Input() isHoverEffect: boolean = true;\n constructor() {}\n\n ngOnInit() {}\n}\n","<div \n class=\"avatar-container d-flex\"\n [ngClass]=\"{\n 'avatar-hover': isHoverEffect,\n }\" \n>\n <ng-container *ngIf=\"avatarImg else noImage\">\n <div \n class=\"avatar-img\" \n [ngClass]=\"{\n 'round-avatar': isRound,\n 'regular-avatar': !isRound\n }\" \n [ngStyle]=\"{\n width: size + 'px',\n height: size + 'px'\n }\"\n >\n \n <img class=\"d-flex\" alt=\"avatar\" [src]=\"avatarImg\" />\n </div>\n </ng-container>\n\n <ng-template #noImage>\n <div class=\"avatar-no-img d-flex justify-content-center align-items-center\" \n [ngClass]=\"{\n 'round-avatar': isRound,\n 'regular-avatar': !isRound\n }\" \n [ngStyle]=\"{\n 'background-color': \n avatarColor.background\n ? avatarColor.background\n : 'unset',\n color: avatarColor.color\n ? avatarColor.color\n : 'unset',\n width: size + 'px',\n height: size + 'px',\n 'font-size': fontSize + 'px'\n }\"\n >\n {{ textShortName }}\n </div>\n </ng-template>\n</div>","/*\n * Public API Surface of ca-components\n */\n\nexport * from './lib/components/ca-profile-image/ca-profile-image.component';\
|
|
1
|
+
{"version":3,"file":"ca-components.mjs","sources":["../../../projects/ca-components/src/lib/components/ca-profile-image/ca-profile-image.component.ts","../../../projects/ca-components/src/lib/components/ca-profile-image/ca-profile-image.component.html","../../../projects/ca-components/src/lib/ca-components.module.ts","../../../projects/ca-components/src/public-api.ts","../../../projects/ca-components/src/ca-components.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { Component, Input, OnInit } from '@angular/core';\n\n@Component({\n selector: 'app-ca-profile-image',\n templateUrl: './ca-profile-image.component.html',\n styleUrls: ['./ca-profile-image.component.scss'],\n standalone: true,\n imports: [CommonModule],\n})\nexport class CaProfileImageComponent implements OnInit {\n @Input() avatarImg!: string;\n @Input() avatarColor!: { background?: string; color?: string };\n @Input() textShortName!: string;\n @Input() isRound: boolean = true;\n @Input() size!: string | number;\n @Input() fontSize!: string | number;\n @Input() isHoverEffect: boolean = true;\n constructor() {}\n\n ngOnInit() {}\n}\n","<div \n class=\"avatar-container d-flex\"\n [ngClass]=\"{\n 'avatar-hover': isHoverEffect,\n }\" \n>\n <ng-container *ngIf=\"avatarImg else noImage\">\n <div \n class=\"avatar-img\" \n [ngClass]=\"{\n 'round-avatar': isRound,\n 'regular-avatar': !isRound\n }\" \n [ngStyle]=\"{\n width: size + 'px',\n height: size + 'px'\n }\"\n >\n \n <img class=\"d-flex\" alt=\"avatar\" [src]=\"avatarImg\" />\n </div>\n </ng-container>\n\n <ng-template #noImage>\n <div class=\"avatar-no-img d-flex justify-content-center align-items-center\" \n [ngClass]=\"{\n 'round-avatar': isRound,\n 'regular-avatar': !isRound\n }\" \n [ngStyle]=\"{\n 'background-color': \n avatarColor.background\n ? avatarColor.background\n : 'unset',\n color: avatarColor.color\n ? avatarColor.color\n : 'unset',\n width: size + 'px',\n height: size + 'px',\n 'font-size': fontSize + 'px'\n }\"\n >\n {{ textShortName }}\n </div>\n </ng-template>\n</div>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { CaProfileImageComponent } from './components/ca-profile-image/ca-profile-image.component';\n\n@NgModule({\n declarations: [],\n imports: [CommonModule, CaProfileImageComponent],\n exports: [CaProfileImageComponent],\n})\nexport class CaComponentsLibModule {}","/*\n * Public API Surface of ca-components\n */\n\nexport * from './lib/components/ca-profile-image/ca-profile-image.component';\nexport * from './lib/ca-components.module';","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;MAUa,uBAAuB,CAAA;AAQlC,IAAA,WAAA,GAAA;QAJS,IAAO,CAAA,OAAA,GAAY,IAAI,CAAC;QAGxB,IAAa,CAAA,aAAA,GAAY,IAAI,CAAC;KACvB;AAEhB,IAAA,QAAQ,MAAK;+GAVF,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;mGAAvB,uBAAuB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,sBAAA,EAAA,MAAA,EAAA,EAAA,SAAA,EAAA,WAAA,EAAA,WAAA,EAAA,aAAA,EAAA,aAAA,EAAA,eAAA,EAAA,O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sBAArB,KAAK;;;MERK,qBAAqB,CAAA;+GAArB,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;AAArB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,qBAAqB,EAHtB,OAAA,EAAA,CAAA,YAAY,EAAE,uBAAuB,aACrC,uBAAuB,CAAA,EAAA,CAAA,CAAA,EAAA;gHAEtB,qBAAqB,EAAA,OAAA,EAAA,CAHtB,YAAY,EAAE,uBAAuB,CAAA,EAAA,CAAA,CAAA,EAAA;;4FAGpC,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBALjC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE,EAAE;AAChB,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,uBAAuB,CAAC;oBAChD,OAAO,EAAE,CAAC,uBAAuB,CAAC;AACnC,iBAAA,CAAA;;;ACRD;;AAEG;;ACFH;;AAEG;;;;"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/common";
|
|
3
|
+
import * as i2 from "./components/ca-profile-image/ca-profile-image.component";
|
|
4
|
+
export declare class CaComponentsLibModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CaComponentsLibModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CaComponentsLibModule, never, [typeof i1.CommonModule, typeof i2.CaProfileImageComponent], [typeof i2.CaProfileImageComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CaComponentsLibModule>;
|
|
8
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED