otimus-library 0.0.39 → 0.0.42
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/lib/components/oc-menu/oc-menu.component.mjs +42 -0
- package/esm2022/lib/components/oc-not-found/oc-not-found.component.mjs +11 -0
- package/esm2022/lib/components/oc-profile/oc-profile.component.mjs +2 -2
- package/esm2022/lib/interfaces/oc-menu.mjs +2 -0
- package/esm2022/public-api.mjs +3 -1
- package/fesm2022/otimus-library.mjs +50 -3
- package/fesm2022/otimus-library.mjs.map +1 -1
- package/lib/components/oc-menu/oc-menu.component.d.ts +15 -0
- package/lib/components/oc-not-found/oc-not-found.component.d.ts +5 -0
- package/lib/interfaces/oc-menu.d.ts +8 -0
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
|
@@ -20,11 +20,11 @@ export class OcProfileComponent {
|
|
|
20
20
|
this.nameInitials = (firstLetter + lastLetter).toUpperCase();
|
|
21
21
|
}
|
|
22
22
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.5", ngImport: i0, type: OcProfileComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
23
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.5", type: OcProfileComponent, isStandalone: true, selector: "oc-profile", inputs: { ocUserName: "ocUserName", ocProfilePic: "ocProfilePic" }, ngImport: i0, template: "<div class=\"oc-profile\">\n <div class=\"content\">\n @if(ocProfilePic){\n <img [src]=\"ocProfilePic\" [alt]=\"ocUserName || 'Foto de perfil do usu\u00E1rio'\">\n }@else {\n <span>\n {{nameInitials}}\n </span>\n }\n </div>\n</div>", styles: [".oc-profile{transform:rotate(45deg);width:55px;height:55px;padding:0;margin:0;display:flex;align-items:center;justify-content:center;background-color:#5505a2;border-radius
|
|
23
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.0.5", type: OcProfileComponent, isStandalone: true, selector: "oc-profile", inputs: { ocUserName: "ocUserName", ocProfilePic: "ocProfilePic" }, ngImport: i0, template: "<div class=\"oc-profile\">\n <div class=\"content\">\n @if(ocProfilePic){\n <img [src]=\"ocProfilePic\" [alt]=\"ocUserName || 'Foto de perfil do usu\u00E1rio'\">\n }@else {\n <span>\n {{nameInitials}}\n </span>\n }\n </div>\n</div>", styles: [".oc-profile{transform:rotate(45deg);width:55px;height:55px;padding:0;margin:0;display:flex;align-items:center;justify-content:center;background-color:#5505a2;border-radius:1rem;overflow:hidden}.oc-profile .content{transform:rotate(-45deg);color:#f8f9ff;font-weight:500;font-size:1.5rem}.oc-profile .content:hover img{transform:scale(2.05)}.oc-profile img{width:100%;height:100%;max-height:55px;max-width:55px;transform:scale(1.95);transition:.3s ease;object-fit:cover}\n"], encapsulation: i0.ViewEncapsulation.None }); }
|
|
24
24
|
}
|
|
25
25
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.5", ngImport: i0, type: OcProfileComponent, decorators: [{
|
|
26
26
|
type: Component,
|
|
27
|
-
args: [{ selector: 'oc-profile', standalone: true, imports: [], encapsulation: ViewEncapsulation.None, template: "<div class=\"oc-profile\">\n <div class=\"content\">\n @if(ocProfilePic){\n <img [src]=\"ocProfilePic\" [alt]=\"ocUserName || 'Foto de perfil do usu\u00E1rio'\">\n }@else {\n <span>\n {{nameInitials}}\n </span>\n }\n </div>\n</div>", styles: [".oc-profile{transform:rotate(45deg);width:55px;height:55px;padding:0;margin:0;display:flex;align-items:center;justify-content:center;background-color:#5505a2;border-radius
|
|
27
|
+
args: [{ selector: 'oc-profile', standalone: true, imports: [], encapsulation: ViewEncapsulation.None, template: "<div class=\"oc-profile\">\n <div class=\"content\">\n @if(ocProfilePic){\n <img [src]=\"ocProfilePic\" [alt]=\"ocUserName || 'Foto de perfil do usu\u00E1rio'\">\n }@else {\n <span>\n {{nameInitials}}\n </span>\n }\n </div>\n</div>", styles: [".oc-profile{transform:rotate(45deg);width:55px;height:55px;padding:0;margin:0;display:flex;align-items:center;justify-content:center;background-color:#5505a2;border-radius:1rem;overflow:hidden}.oc-profile .content{transform:rotate(-45deg);color:#f8f9ff;font-weight:500;font-size:1.5rem}.oc-profile .content:hover img{transform:scale(2.05)}.oc-profile img{width:100%;height:100%;max-height:55px;max-width:55px;transform:scale(1.95);transition:.3s ease;object-fit:cover}\n"] }]
|
|
28
28
|
}], propDecorators: { ocUserName: [{
|
|
29
29
|
type: Input
|
|
30
30
|
}], ocProfilePic: [{
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib2MtbWVudS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL290aW11cy1saWJyYXJ5L3NyYy9saWIvaW50ZXJmYWNlcy9vYy1tZW51LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbnRlcmZhY2UgT2NNZW51VHlwZSB7XHJcbiAgbmFtZTogc3RyaW5nXHJcbiAgdXJsPzogc3RyaW5nXHJcbiAgY2FsbGJhY2s/OiBhbnlcclxuICB0YXJnZXRCbGFuaz86IGJvb2xlYW5cclxuICBpY29uPzogc3RyaW5nXHJcbn1cclxuXHJcbmV4cG9ydCB7IE9jTWVudVR5cGUgfSJdfQ==
|
package/esm2022/public-api.mjs
CHANGED
|
@@ -16,4 +16,6 @@ export * from './lib/components/oc-autocomplete/oc-autocomplete.component';
|
|
|
16
16
|
export * from './lib/components/oc-profile/oc-profile.component';
|
|
17
17
|
export * from './lib/components/oc-log/oc-log.component';
|
|
18
18
|
export * from './lib/components/oc-pagination/oc-pagination.component';
|
|
19
|
-
|
|
19
|
+
export * from './lib/components/oc-not-found/oc-not-found.component';
|
|
20
|
+
export * from './lib/components/oc-menu/oc-menu.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