@litigiovirtual/ius-design-components 1.0.169 → 1.0.170
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/simple-card-contador/simple-card-contador.component.mjs +16 -30
- package/esm2022/public-api.mjs +1 -2
- package/fesm2022/litigiovirtual-ius-design-components.mjs +17 -98
- package/fesm2022/litigiovirtual-ius-design-components.mjs.map +1 -1
- package/lib/simple-card-contador/simple-card-contador.component.d.ts +3 -5
- package/package.json +1 -1
- package/public-api.d.ts +0 -1
- package/esm2022/lib/alert/alert.component.mjs +0 -76
- package/esm2022/lib/alert/index.mjs +0 -2
- package/lib/alert/alert.component.d.ts +0 -22
- package/lib/alert/index.d.ts +0 -1
|
@@ -3,12 +3,10 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class SimpleCardContadorComponent {
|
|
4
4
|
title?: string;
|
|
5
5
|
value: number;
|
|
6
|
-
maxValue: number;
|
|
7
6
|
valueChange: EventEmitter<number>;
|
|
8
|
-
errorMaxValue: EventEmitter<string>;
|
|
9
7
|
step(el: HTMLInputElement, dir: 1 | -1): void;
|
|
10
|
-
onTyped(
|
|
11
|
-
private
|
|
8
|
+
onTyped(raw: string): void;
|
|
9
|
+
private syncAndEmit;
|
|
12
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<SimpleCardContadorComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SimpleCardContadorComponent, "ius-simple-card-contador", never, { "title": { "alias": "title"; "required": false; }; "value": { "alias": "value"; "required": false; };
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SimpleCardContadorComponent, "ius-simple-card-contador", never, { "title": { "alias": "title"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
14
12
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { OverlayModule } from '@angular/cdk/overlay';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { Component, EventEmitter, Input, Output, ViewChild } from '@angular/core';
|
|
4
|
-
import { ButtonDynamicComponent } from "../button-dynamic";
|
|
5
|
-
import { ButtonStandardSecondaryComponent } from "../button-standard-secondary";
|
|
6
|
-
import { SimpleDividerComponent } from "../simple-divider";
|
|
7
|
-
import { PortalModule, TemplatePortal } from '@angular/cdk/portal';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
import * as i1 from "@angular/cdk/overlay";
|
|
10
|
-
export class AlertComponent {
|
|
11
|
-
constructor(overlay, vcr) {
|
|
12
|
-
this.overlay = overlay;
|
|
13
|
-
this.vcr = vcr;
|
|
14
|
-
this.title = 'Título del Popup';
|
|
15
|
-
this.text = 'Texto';
|
|
16
|
-
this.leftButtonName = 'Cancelar';
|
|
17
|
-
this.rightButtonName = 'Confirmar';
|
|
18
|
-
this.onAccept = new EventEmitter();
|
|
19
|
-
this.onCancel = new EventEmitter();
|
|
20
|
-
}
|
|
21
|
-
ngAfterViewInit() {
|
|
22
|
-
const positionStrategy = this.overlay.position()
|
|
23
|
-
.global()
|
|
24
|
-
.centerHorizontally()
|
|
25
|
-
.centerVertically();
|
|
26
|
-
this.overlayRef = this.overlay.create({
|
|
27
|
-
positionStrategy,
|
|
28
|
-
hasBackdrop: true,
|
|
29
|
-
backdropClass: 'cdk-overlay-dark-backdrop',
|
|
30
|
-
scrollStrategy: this.overlay.scrollStrategies.block(),
|
|
31
|
-
panelClass: 'modal-alerta',
|
|
32
|
-
disposeOnNavigation: true,
|
|
33
|
-
});
|
|
34
|
-
const portal = new TemplatePortal(this.modalTpl, this.vcr);
|
|
35
|
-
this.overlayRef.attach(portal);
|
|
36
|
-
this.overlayRef.keydownEvents().subscribe((ev) => {
|
|
37
|
-
if (ev.key === 'Escape')
|
|
38
|
-
this.close();
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
close() {
|
|
42
|
-
this.overlayRef?.dispose();
|
|
43
|
-
this.overlayRef = undefined;
|
|
44
|
-
this.onCancel.emit();
|
|
45
|
-
}
|
|
46
|
-
accept() {
|
|
47
|
-
this.overlayRef?.dispose();
|
|
48
|
-
this.overlayRef = undefined;
|
|
49
|
-
this.onAccept.emit();
|
|
50
|
-
}
|
|
51
|
-
ngOnDestroy() {
|
|
52
|
-
this.close();
|
|
53
|
-
}
|
|
54
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AlertComponent, deps: [{ token: i1.Overlay }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
55
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: AlertComponent, isStandalone: true, selector: "ius-alert", inputs: { title: "title", text: "text", leftButtonName: "leftButtonName", rightButtonName: "rightButtonName" }, outputs: { onAccept: "onAccept", onCancel: "onCancel" }, viewQueries: [{ propertyName: "modalTpl", first: true, predicate: ["modalTpl"], descendants: true, static: true }], ngImport: i0, template: "<ng-template #modalTpl>\r\n <div class=\"modal\">\r\n <h3 class=\"title\">{{ title }}</h3>\r\n\r\n <ius-simple-divider></ius-simple-divider>\r\n\r\n <p class=\"msg\">{{ text }}</p>\r\n\r\n <div class=\"actions\">\r\n <ius-button-standard-secondary (buttonClicked)=\"close()\">{{\r\n leftButtonName\r\n }}</ius-button-standard-secondary>\r\n <ius-button-dynamic\r\n [labelDefault]=\"rightButtonName\"\r\n (buttonClicked)=\"accept()\"\r\n ></ius-button-dynamic>\r\n </div>\r\n </div>\r\n</ng-template>\r\n", styles: [".h1{font-family:Roboto,sans-serif;font-size:2.375rem;font-weight:500;line-height:46px}.h2{font-family:Roboto,sans-serif;font-size:1.875rem;font-weight:700;line-height:38px}.h3{font-family:Roboto,sans-serif;font-size:1.5rem;font-weight:500;line-height:32px}.h4{font-family:Roboto,sans-serif;font-size:1.25rem;font-weight:700;line-height:26px}.h5{font-family:Roboto,sans-serif;font-size:1.125rem;font-weight:500;line-height:24px;letter-spacing:.18px}.label-large{font-family:Roboto,sans-serif;font-size:1rem;font-weight:500;line-height:22px}.body-large{font-family:Rubik,sans-serif;font-size:1rem;font-weight:400;line-height:22px}.label-base{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:500;line-height:20px;letter-spacing:.28px}.body-base{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;font-style:italic;letter-spacing:.28px}.body-base-1,.body-base-1-1{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;letter-spacing:.28px}.body-sm{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:400;line-height:16px;letter-spacing:.28px}.body-sm-italic{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:400;line-height:16px;font-style:italic;letter-spacing:.28px}.caption-sm{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:500;line-height:16px;letter-spacing:.28px}.caption-sm-italic{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:500;line-height:16px;font-style:italic;letter-spacing:.28px}.modal{background:#fff;border-radius:16px;padding:18px;box-shadow:0 18px 45px #00000040;display:flex;flex-direction:column;max-width:450px}.title{color:#333;font-family:Roboto,sans-serif;font-size:1.25rem;font-style:normal;font-weight:700;line-height:26px;letter-spacing:.2px;overflow-wrap:anywhere;word-break:break-word;white-space:normal}.msg{color:#333;font-family:Rubik,sans-serif;font-size:.875rem;font-style:normal;font-weight:400;line-height:20px;letter-spacing:.28px;overflow-wrap:anywhere;word-break:break-word;white-space:normal}.actions{display:flex;padding:8px 16px;justify-content:space-evenly;gap:4px}\n"], dependencies: [{ kind: "ngmodule", type: OverlayModule }, { kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: PortalModule }, { kind: "component", type: ButtonStandardSecondaryComponent, selector: "ius-button-standard-secondary", inputs: ["disabled"], outputs: ["buttonClicked"] }, { kind: "component", type: ButtonDynamicComponent, selector: "ius-button-dynamic", inputs: ["labelDefault", "labelSuccess", "labelError", "disabled", "loading", "result", "autoReset", "autoResetDelay"], outputs: ["buttonClicked"] }, { kind: "component", type: SimpleDividerComponent, selector: "ius-simple-divider" }] }); }
|
|
56
|
-
}
|
|
57
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: AlertComponent, decorators: [{
|
|
58
|
-
type: Component,
|
|
59
|
-
args: [{ selector: 'ius-alert', standalone: true, imports: [OverlayModule, CommonModule, PortalModule, ButtonStandardSecondaryComponent, ButtonDynamicComponent, SimpleDividerComponent], template: "<ng-template #modalTpl>\r\n <div class=\"modal\">\r\n <h3 class=\"title\">{{ title }}</h3>\r\n\r\n <ius-simple-divider></ius-simple-divider>\r\n\r\n <p class=\"msg\">{{ text }}</p>\r\n\r\n <div class=\"actions\">\r\n <ius-button-standard-secondary (buttonClicked)=\"close()\">{{\r\n leftButtonName\r\n }}</ius-button-standard-secondary>\r\n <ius-button-dynamic\r\n [labelDefault]=\"rightButtonName\"\r\n (buttonClicked)=\"accept()\"\r\n ></ius-button-dynamic>\r\n </div>\r\n </div>\r\n</ng-template>\r\n", styles: [".h1{font-family:Roboto,sans-serif;font-size:2.375rem;font-weight:500;line-height:46px}.h2{font-family:Roboto,sans-serif;font-size:1.875rem;font-weight:700;line-height:38px}.h3{font-family:Roboto,sans-serif;font-size:1.5rem;font-weight:500;line-height:32px}.h4{font-family:Roboto,sans-serif;font-size:1.25rem;font-weight:700;line-height:26px}.h5{font-family:Roboto,sans-serif;font-size:1.125rem;font-weight:500;line-height:24px;letter-spacing:.18px}.label-large{font-family:Roboto,sans-serif;font-size:1rem;font-weight:500;line-height:22px}.body-large{font-family:Rubik,sans-serif;font-size:1rem;font-weight:400;line-height:22px}.label-base{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:500;line-height:20px;letter-spacing:.28px}.body-base{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;font-style:italic;letter-spacing:.28px}.body-base-1,.body-base-1-1{font-family:Rubik,sans-serif;font-size:.875rem;font-weight:400;line-height:20px;letter-spacing:.28px}.body-sm{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:400;line-height:16px;letter-spacing:.28px}.body-sm-italic{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:400;line-height:16px;font-style:italic;letter-spacing:.28px}.caption-sm{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:500;line-height:16px;letter-spacing:.28px}.caption-sm-italic{font-family:Rubik,sans-serif;font-size:.75rem;font-weight:500;line-height:16px;font-style:italic;letter-spacing:.28px}.modal{background:#fff;border-radius:16px;padding:18px;box-shadow:0 18px 45px #00000040;display:flex;flex-direction:column;max-width:450px}.title{color:#333;font-family:Roboto,sans-serif;font-size:1.25rem;font-style:normal;font-weight:700;line-height:26px;letter-spacing:.2px;overflow-wrap:anywhere;word-break:break-word;white-space:normal}.msg{color:#333;font-family:Rubik,sans-serif;font-size:.875rem;font-style:normal;font-weight:400;line-height:20px;letter-spacing:.28px;overflow-wrap:anywhere;word-break:break-word;white-space:normal}.actions{display:flex;padding:8px 16px;justify-content:space-evenly;gap:4px}\n"] }]
|
|
60
|
-
}], ctorParameters: () => [{ type: i1.Overlay }, { type: i0.ViewContainerRef }], propDecorators: { modalTpl: [{
|
|
61
|
-
type: ViewChild,
|
|
62
|
-
args: ['modalTpl', { static: true }]
|
|
63
|
-
}], title: [{
|
|
64
|
-
type: Input
|
|
65
|
-
}], text: [{
|
|
66
|
-
type: Input
|
|
67
|
-
}], leftButtonName: [{
|
|
68
|
-
type: Input
|
|
69
|
-
}], rightButtonName: [{
|
|
70
|
-
type: Input
|
|
71
|
-
}], onAccept: [{
|
|
72
|
-
type: Output
|
|
73
|
-
}], onCancel: [{
|
|
74
|
-
type: Output
|
|
75
|
-
}] } });
|
|
76
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxlcnQuY29tcG9uZW50LmpzIiwic291cm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gY2xhc3M9XCJtb2RhbFwiPlxyXG4gICAgPGgzIGNsYXNzPVwidGl0bGVcIj57eyB0aXRsZSB9fTwvaDM+XHJcblxyXG4gICAgPGl1cy1zaW1wbGUtZGl2aWRlcj48L2l1cy1zaW1wbGUtZGl2aWRlcj5cclxuXHJcbiAgICA8cCBjbGFzcz1cIm1zZ1wiPnt7IHRleHQgfX08L3A+XHJcblxyXG4gICAgPGRpdiBjbGFzcz1cImFjdGlvbnNcIj5cclxuICAgICAgPGl1cy1idXR0b24tc3RhbmRhcmQtc2Vjb25kYXJ5IChidXR0b25DbGlja2VkKT1cImNsb3NlKClcIj57e1xyXG4gICAgICAgIGxlZnRCdXR0b25OYW1lXHJcbiAgICAgIH19PC9pdXMtYnV0dG9uLXN0YW5kYXJkLXNlY29uZGFyeT5cclxuICAgICAgPGl1cy1idXR0b24tZHluYW1pY1xyXG4gICAgICAgIFtsYWJlbERlZmF1bHRdPVwicmlnaHRCdXR0b25OYW1lXCJcclxuICAgICAgICAoYnV0dG9uQ2xpY2tlZCk9XCJhY2NlcHQoKVwiXHJcbiAgICAgID48L2l1cy1idXR0b24tZHluYW1pYz5cclxuICAgIDwvZGl2PlxyXG4gIDwvZGl2PlxyXG48L25nLXRlbXBsYXRlPlxyXG4iXX0=
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export * from './alert.component';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9pdXMtZGVzaWduLWNvbXBvbmVudHMvc3JjL2xpYi9hbGVydC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLG1CQUFtQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9hbGVydC5jb21wb25lbnQnO1xyXG5cclxuIl19
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { Overlay } from '@angular/cdk/overlay';
|
|
2
|
-
import { EventEmitter, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class AlertComponent {
|
|
5
|
-
private overlay;
|
|
6
|
-
private vcr;
|
|
7
|
-
modalTpl: TemplateRef<any>;
|
|
8
|
-
title: string;
|
|
9
|
-
text: string;
|
|
10
|
-
leftButtonName: string;
|
|
11
|
-
rightButtonName: string;
|
|
12
|
-
onAccept: EventEmitter<void>;
|
|
13
|
-
onCancel: EventEmitter<void>;
|
|
14
|
-
private overlayRef?;
|
|
15
|
-
constructor(overlay: Overlay, vcr: ViewContainerRef);
|
|
16
|
-
ngAfterViewInit(): void;
|
|
17
|
-
close(): void;
|
|
18
|
-
accept(): void;
|
|
19
|
-
ngOnDestroy(): void;
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AlertComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AlertComponent, "ius-alert", never, { "title": { "alias": "title"; "required": false; }; "text": { "alias": "text"; "required": false; }; "leftButtonName": { "alias": "leftButtonName"; "required": false; }; "rightButtonName": { "alias": "rightButtonName"; "required": false; }; }, { "onAccept": "onAccept"; "onCancel": "onCancel"; }, never, never, true, never>;
|
|
22
|
-
}
|
package/lib/alert/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './alert.component';
|