@litigiovirtual/ius-design-components 1.0.191 → 1.0.194
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/card-list-drag-on/card-list-drag-on.component.mjs +10 -6
- package/esm2022/lib/card-tipo-proceso/card-tipo-proceso.component.mjs +8 -5
- package/fesm2022/litigiovirtual-ius-design-components.mjs +14 -9
- package/fesm2022/litigiovirtual-ius-design-components.mjs.map +1 -1
- package/lib/card-list-drag-on/card-list-drag-on.component.d.ts +3 -2
- package/lib/card-tipo-proceso/card-tipo-proceso.component.d.ts +3 -2
- package/package.json +1 -1
|
@@ -2,16 +2,18 @@ import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
|
2
2
|
import { IconSmComponent } from "../icon-sm/icon-sm.component";
|
|
3
3
|
import { IconMdComponent } from "../icon-md/icon-md.component";
|
|
4
4
|
import { ButtonSquaredTertiaryComponent } from "../button-squared-tertiary/button-squared-tertiary.component";
|
|
5
|
+
import { IconLgComponent } from "../icon-lg";
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export class CardListDragOnComponent {
|
|
7
8
|
constructor() {
|
|
8
9
|
this.state = '';
|
|
9
10
|
this.name = '';
|
|
10
|
-
this.smallText = '';
|
|
11
11
|
this.subetapas = 0;
|
|
12
12
|
this.fecha = '';
|
|
13
13
|
this.imageUrl = '';
|
|
14
|
+
this.isUsed = false;
|
|
14
15
|
this.isSelected = false;
|
|
16
|
+
this.smallText = '';
|
|
15
17
|
this.onClickEdit = new EventEmitter();
|
|
16
18
|
this.onClickDelete = new EventEmitter();
|
|
17
19
|
this.onClickCard = new EventEmitter();
|
|
@@ -42,11 +44,11 @@ export class CardListDragOnComponent {
|
|
|
42
44
|
this.onClickCard.emit(this.id);
|
|
43
45
|
}
|
|
44
46
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CardListDragOnComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
45
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: CardListDragOnComponent, isStandalone: true, selector: "ius-card-list-drag-on", inputs: { etapaID: "etapaID", subetapaID: "subetapaID", anotherID: "anotherID", state: "state", name: "name",
|
|
47
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: CardListDragOnComponent, isStandalone: true, selector: "ius-card-list-drag-on", inputs: { etapaID: "etapaID", subetapaID: "subetapaID", anotherID: "anotherID", state: "state", name: "name", subetapas: "subetapas", fecha: "fecha", imageUrl: "imageUrl", isUsed: "isUsed", isSelected: "isSelected", smallText: "smallText" }, outputs: { onClickEdit: "onClickEdit", onClickDelete: "onClickDelete", onClickCard: "onClickCard" }, ngImport: i0, template: "<div class=\"general-container\">\r\n <div class=\"container\" [class.isClicked]=\"isSelected\" (mouseenter)=\"onMouseEnter()\" (mouseleave)=\"onMouseLeave()\"\r\n (click)=\"clickCard($event)\">\r\n <ius-icon-sm [iconName]=\"'icon-drag-indicator'\"></ius-icon-sm>\r\n <div class=\"data-container\">\r\n <div class=\"content\">\r\n <div class=\"general-data\">\r\n <div class=\"data\">\r\n <div class=\"state\">{{ isUsed ? 'En uso' : 'Activo' }}</div>\r\n <div class=\"name\">{{ name }}</div>\r\n <div class=\"small-text\">{{ smallText }}</div>\r\n </div>\r\n </div>\r\n @if(etapaID){\r\n <div class=\"optional-data\">\r\n <div class=\"title-text-container\">\r\n <p class=\"title\">Subetapas</p>\r\n <p class=\"text\">{{ subetapas }}</p>\r\n </div>\r\n @if (hover ) {\r\n <div class=\"buttons\">\r\n <div>\r\n <ius-button-squared-tertiary iconName=\"icon-edit\"\r\n (buttonClicked)=\"clickEdit($event)\"></ius-button-squared-tertiary>\r\n </div>\r\n <div>\r\n <ius-button-squared-tertiary iconName=\"icon-delete\"\r\n (buttonClicked)=\"clickDelete($event)\"></ius-button-squared-tertiary>\r\n </div>\r\n </div>\r\n }@else{\r\n <div class=\"title-text-container\">\r\n <p class=\"title\">Creado/modificado</p>\r\n <div class=\"image-date\">\r\n @if(fecha){\r\n @if(imageUrl){\r\n <div class=\"image\">\r\n <img [src]=\"imageUrl\" />\r\n </div>\r\n } @else{\r\n <ius-icon-lg [iconName]=\"'icon-account-circle'\" class=\"icon-placeholder\"></ius-icon-lg>\r\n }\r\n }\r\n <p class=\"text\">{{ fecha }}</p>\r\n </div>\r\n </div>\r\n }\r\n </div>\r\n } @if (hover && (subetapaID || anotherID) ) {\r\n <div class=\"buttons\">\r\n <div>\r\n <ius-button-squared-tertiary iconName=\"icon-edit\"\r\n (buttonClicked)=\"clickEdit($event)\"></ius-button-squared-tertiary>\r\n </div>\r\n <div>\r\n <ius-button-squared-tertiary iconName=\"icon-delete\"\r\n (buttonClicked)=\"clickDelete($event)\"></ius-button-squared-tertiary>\r\n </div>\r\n </div>\r\n }\r\n </div>\r\n </div>\r\n\r\n <ius-icon-md [iconName]=\"'icon-keyboard-arrow-right'\"></ius-icon-md>\r\n </div>\r\n</div>", 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}.general-container{position:relative}p{margin:0}.container{display:flex;padding:8px 12px;height:56px;box-sizing:border-box;align-items:center;align-content:center;gap:12px 12px;align-self:stretch;border-radius:8px;border:1px solid #eaeaea;background:#fff;cursor:pointer}.container:hover{border:1px solid #C4DFFF;box-shadow:0 1px 3px #0000001f,0 1px 2px #00000014}.icon-placeholder{color:#8c8c8c}.data-container{display:flex;align-items:center;gap:24px;flex:1 0 0;min-width:0}.content{display:flex;align-items:center;align-content:center;gap:8px 8px;flex:1 0 0;align-self:stretch;min-width:0}.general-data{display:flex;align-items:center;gap:8px;flex:1 0 0;min-width:0}.data{display:flex;flex-direction:column;align-items:flex-start;gap:0;flex:1 0 0;min-width:0}.state{color:#595959;font-family:Rubik,sans-serif;font-size:.75rem;font-style:normal;font-weight:400;line-height:16px;letter-spacing:.24px}.name{color:#333;font-family:Rubik,sans-serif;font-size:.875rem;font-style:normal;font-weight:500;line-height:20px;letter-spacing:.28px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%}.optional-data{display:flex;align-items:center;align-content:space-between;gap:24px}.title-text-container{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:0}.title{color:#8c8c8c;font-family:Rubik,sans-serif;font-size:.75rem;font-style:normal;font-weight:400;line-height:16px;letter-spacing:.24px}.text{color:#595959;font-family:Rubik,sans-serif;font-size:.875rem;font-style:normal;font-weight:400;line-height:20px;letter-spacing:.28px}.image-date{display:flex;align-items:center;gap:8px}.image{display:flex;width:24px;height:24px;justify-content:center;align-items:center;aspect-ratio:1/1;border-radius:100px;border:.5px solid #f5f5f5;background:#fff3}img{width:24px;height:24px;flex-shrink:0;aspect-ratio:1/1;border-radius:24px}.buttons{display:flex;justify-content:flex-end;align-items:center;gap:8px}.isClicked{border:1px solid #c4dfff!important;background:#edf6ff!important}.small-text{color:var(--ColorText-colorTextTertiary, #8c8c8c);font-family:Rubik;font-size:var(--Text-Size-FontSize-Small, 12px);font-style:normal;font-weight:400;line-height:var(--Text-Size-FontHeight-Small, 16px);letter-spacing:.24px}\n"], dependencies: [{ kind: "component", type: IconSmComponent, selector: "ius-icon-sm", inputs: ["iconName", "color"] }, { kind: "component", type: IconMdComponent, selector: "ius-icon-md", inputs: ["iconName", "color"] }, { kind: "component", type: ButtonSquaredTertiaryComponent, selector: "ius-button-squared-tertiary", inputs: ["disabled", "iconName"], outputs: ["buttonClicked"] }, { kind: "component", type: IconLgComponent, selector: "ius-icon-lg", inputs: ["iconName", "color"] }] }); }
|
|
46
48
|
}
|
|
47
49
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CardListDragOnComponent, decorators: [{
|
|
48
50
|
type: Component,
|
|
49
|
-
args: [{ selector: 'ius-card-list-drag-on', standalone: true, imports: [IconSmComponent, IconMdComponent, ButtonSquaredTertiaryComponent], template: "<div class=\"general-container\">\r\n <div
|
|
51
|
+
args: [{ selector: 'ius-card-list-drag-on', standalone: true, imports: [IconSmComponent, IconMdComponent, ButtonSquaredTertiaryComponent, IconLgComponent], template: "<div class=\"general-container\">\r\n <div class=\"container\" [class.isClicked]=\"isSelected\" (mouseenter)=\"onMouseEnter()\" (mouseleave)=\"onMouseLeave()\"\r\n (click)=\"clickCard($event)\">\r\n <ius-icon-sm [iconName]=\"'icon-drag-indicator'\"></ius-icon-sm>\r\n <div class=\"data-container\">\r\n <div class=\"content\">\r\n <div class=\"general-data\">\r\n <div class=\"data\">\r\n <div class=\"state\">{{ isUsed ? 'En uso' : 'Activo' }}</div>\r\n <div class=\"name\">{{ name }}</div>\r\n <div class=\"small-text\">{{ smallText }}</div>\r\n </div>\r\n </div>\r\n @if(etapaID){\r\n <div class=\"optional-data\">\r\n <div class=\"title-text-container\">\r\n <p class=\"title\">Subetapas</p>\r\n <p class=\"text\">{{ subetapas }}</p>\r\n </div>\r\n @if (hover ) {\r\n <div class=\"buttons\">\r\n <div>\r\n <ius-button-squared-tertiary iconName=\"icon-edit\"\r\n (buttonClicked)=\"clickEdit($event)\"></ius-button-squared-tertiary>\r\n </div>\r\n <div>\r\n <ius-button-squared-tertiary iconName=\"icon-delete\"\r\n (buttonClicked)=\"clickDelete($event)\"></ius-button-squared-tertiary>\r\n </div>\r\n </div>\r\n }@else{\r\n <div class=\"title-text-container\">\r\n <p class=\"title\">Creado/modificado</p>\r\n <div class=\"image-date\">\r\n @if(fecha){\r\n @if(imageUrl){\r\n <div class=\"image\">\r\n <img [src]=\"imageUrl\" />\r\n </div>\r\n } @else{\r\n <ius-icon-lg [iconName]=\"'icon-account-circle'\" class=\"icon-placeholder\"></ius-icon-lg>\r\n }\r\n }\r\n <p class=\"text\">{{ fecha }}</p>\r\n </div>\r\n </div>\r\n }\r\n </div>\r\n } @if (hover && (subetapaID || anotherID) ) {\r\n <div class=\"buttons\">\r\n <div>\r\n <ius-button-squared-tertiary iconName=\"icon-edit\"\r\n (buttonClicked)=\"clickEdit($event)\"></ius-button-squared-tertiary>\r\n </div>\r\n <div>\r\n <ius-button-squared-tertiary iconName=\"icon-delete\"\r\n (buttonClicked)=\"clickDelete($event)\"></ius-button-squared-tertiary>\r\n </div>\r\n </div>\r\n }\r\n </div>\r\n </div>\r\n\r\n <ius-icon-md [iconName]=\"'icon-keyboard-arrow-right'\"></ius-icon-md>\r\n </div>\r\n</div>", 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}.general-container{position:relative}p{margin:0}.container{display:flex;padding:8px 12px;height:56px;box-sizing:border-box;align-items:center;align-content:center;gap:12px 12px;align-self:stretch;border-radius:8px;border:1px solid #eaeaea;background:#fff;cursor:pointer}.container:hover{border:1px solid #C4DFFF;box-shadow:0 1px 3px #0000001f,0 1px 2px #00000014}.icon-placeholder{color:#8c8c8c}.data-container{display:flex;align-items:center;gap:24px;flex:1 0 0;min-width:0}.content{display:flex;align-items:center;align-content:center;gap:8px 8px;flex:1 0 0;align-self:stretch;min-width:0}.general-data{display:flex;align-items:center;gap:8px;flex:1 0 0;min-width:0}.data{display:flex;flex-direction:column;align-items:flex-start;gap:0;flex:1 0 0;min-width:0}.state{color:#595959;font-family:Rubik,sans-serif;font-size:.75rem;font-style:normal;font-weight:400;line-height:16px;letter-spacing:.24px}.name{color:#333;font-family:Rubik,sans-serif;font-size:.875rem;font-style:normal;font-weight:500;line-height:20px;letter-spacing:.28px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%}.optional-data{display:flex;align-items:center;align-content:space-between;gap:24px}.title-text-container{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:0}.title{color:#8c8c8c;font-family:Rubik,sans-serif;font-size:.75rem;font-style:normal;font-weight:400;line-height:16px;letter-spacing:.24px}.text{color:#595959;font-family:Rubik,sans-serif;font-size:.875rem;font-style:normal;font-weight:400;line-height:20px;letter-spacing:.28px}.image-date{display:flex;align-items:center;gap:8px}.image{display:flex;width:24px;height:24px;justify-content:center;align-items:center;aspect-ratio:1/1;border-radius:100px;border:.5px solid #f5f5f5;background:#fff3}img{width:24px;height:24px;flex-shrink:0;aspect-ratio:1/1;border-radius:24px}.buttons{display:flex;justify-content:flex-end;align-items:center;gap:8px}.isClicked{border:1px solid #c4dfff!important;background:#edf6ff!important}.small-text{color:var(--ColorText-colorTextTertiary, #8c8c8c);font-family:Rubik;font-size:var(--Text-Size-FontSize-Small, 12px);font-style:normal;font-weight:400;line-height:var(--Text-Size-FontHeight-Small, 16px);letter-spacing:.24px}\n"] }]
|
|
50
52
|
}], propDecorators: { etapaID: [{
|
|
51
53
|
type: Input
|
|
52
54
|
}], subetapaID: [{
|
|
@@ -57,16 +59,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
57
59
|
type: Input
|
|
58
60
|
}], name: [{
|
|
59
61
|
type: Input
|
|
60
|
-
}], smallText: [{
|
|
61
|
-
type: Input
|
|
62
62
|
}], subetapas: [{
|
|
63
63
|
type: Input
|
|
64
64
|
}], fecha: [{
|
|
65
65
|
type: Input
|
|
66
66
|
}], imageUrl: [{
|
|
67
67
|
type: Input
|
|
68
|
+
}], isUsed: [{
|
|
69
|
+
type: Input
|
|
68
70
|
}], isSelected: [{
|
|
69
71
|
type: Input
|
|
72
|
+
}], smallText: [{
|
|
73
|
+
type: Input
|
|
70
74
|
}], onClickEdit: [{
|
|
71
75
|
type: Output
|
|
72
76
|
}], onClickDelete: [{
|
|
@@ -74,4 +78,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
74
78
|
}], onClickCard: [{
|
|
75
79
|
type: Output
|
|
76
80
|
}] } });
|
|
77
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
81
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FyZC1saXN0LWRyYWctb24uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvaXVzLWRlc2lnbi1jb21wb25lbnRzL3NyYy9saWIvY2FyZC1saXN0LWRyYWctb24vY2FyZC1saXN0LWRyYWctb24uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvaXVzLWRlc2lnbi1jb21wb25lbnRzL3NyYy9saWIvY2FyZC1saXN0LWRyYWctb24vY2FyZC1saXN0LWRyYWctb24uY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxZQUFZLEVBQUUsS0FBSyxFQUFFLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN2RSxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sOEJBQThCLENBQUM7QUFDL0QsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLDhCQUE4QixDQUFDO0FBQy9ELE9BQU8sRUFBRSw4QkFBOEIsRUFBRSxNQUFNLDhEQUE4RCxDQUFBO0FBQzdHLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxZQUFZLENBQUM7O0FBUz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ICAgICAgICAgICAoYnV0dG9uQ2xpY2tlZCk9XCJjbGlja0RlbGV0ZSgkZXZlbnQpXCI+PC9pdXMtYnV0dG9uLXNxdWFyZWQtdGVydGlhcnk+XHJcbiAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgICB9QGVsc2V7XHJcbiAgICAgICAgICA8ZGl2IGNsYXNzPVwidGl0bGUtdGV4dC1jb250YWluZXJcIj5cclxuICAgICAgICAgICAgPHAgY2xhc3M9XCJ0aXRsZVwiPkNyZWFkby9tb2RpZmljYWRvPC9wPlxyXG4gICAgICAgICAgICA8ZGl2IGNsYXNzPVwiaW1hZ2UtZGF0ZVwiPlxyXG4gICAgICAgICAgICAgIEBpZihmZWNoYSl7XHJcbiAgICAgICAgICAgICAgQGlmKGltYWdlVXJsKXtcclxuICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwiaW1hZ2VcIj5cclxuICAgICAgICAgICAgICAgIDxpbWcgW3NyY109XCJpbWFnZVVybFwiIC8+XHJcbiAgICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgICAgICAgfSBAZWxzZXtcclxuICAgICAgICAgICAgICA8aXVzLWljb24tbGcgW2ljb25OYW1lXT1cIidpY29uLWFjY291bnQtY2lyY2xlJ1wiIGNsYXNzPVwiaWNvbi1wbGFjZWhvbGRlclwiPjwvaXVzLWljb24tbGc+XHJcbiAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICA8cCBjbGFzcz1cInRleHRcIj57eyBmZWNoYSB9fTwvcD5cclxuICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgIH1cclxuICAgICAgICA8L2Rpdj5cclxuICAgICAgICB9IEBpZiAoaG92ZXIgJiYgKHN1YmV0YXBhSUQgfHwgYW5vdGhlcklEKSApIHtcclxuICAgICAgICA8ZGl2IGNsYXNzPVwiYnV0dG9uc1wiPlxyXG4gICAgICAgICAgPGRpdj5cclxuICAgICAgICAgICAgPGl1cy1idXR0b24tc3F1YXJlZC10ZXJ0aWFyeSBpY29uTmFtZT1cImljb24tZWRpdFwiXHJcbiAgICAgICAgICAgICAgKGJ1dHRvbkNsaWNrZWQpPVwiY2xpY2tFZGl0KCRldmVudClcIj48L2l1cy1idXR0b24tc3F1YXJlZC10ZXJ0aWFyeT5cclxuICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgICAgPGRpdj5cclxuICAgICAgICAgICAgPGl1cy1idXR0b24tc3F1YXJlZC10ZXJ0aWFyeSBpY29uTmFtZT1cImljb24tZGVsZXRlXCJcclxuICAgICAgICAgICAgICAoYnV0dG9uQ2xpY2tlZCk9XCJjbGlja0RlbGV0ZSgkZXZlbnQpXCI+PC9pdXMtYnV0dG9uLXNxdWFyZWQtdGVydGlhcnk+XHJcbiAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICA8L2Rpdj5cclxuICAgICAgICB9XHJcbiAgICAgIDwvZGl2PlxyXG4gICAgPC9kaXY+XHJcblxyXG4gICAgPGl1cy1pY29uLW1kIFtpY29uTmFtZV09XCInaWNvbi1rZXlib2FyZC1hcnJvdy1yaWdodCdcIj48L2l1cy1pY29uLW1kPlxyXG4gIDwvZGl2PlxyXG48L2Rpdj4iXX0=
|
|
@@ -2,16 +2,19 @@ import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
|
2
2
|
import { IconMdComponent } from "../icon-md/icon-md.component";
|
|
3
3
|
import { IconLgComponent } from "../icon-lg/icon-lg.component";
|
|
4
4
|
import { ButtonSquaredTertiaryComponent } from "../button-squared-tertiary/button-squared-tertiary.component";
|
|
5
|
+
import { PopoverDirective } from '../directives/popover.directive';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export class CardTipoProcesoComponent {
|
|
7
8
|
constructor() {
|
|
8
|
-
this.estadoTipoProceso = 'Activo';
|
|
9
9
|
this.nombreTipoProceso = '';
|
|
10
10
|
this.onClickEdit = new EventEmitter();
|
|
11
11
|
this.onClickDelete = new EventEmitter();
|
|
12
12
|
this.onClickCard = new EventEmitter();
|
|
13
13
|
this.hover = false;
|
|
14
14
|
}
|
|
15
|
+
get displayEstado() {
|
|
16
|
+
return this.isUsed ? 'En uso' : 'Activo';
|
|
17
|
+
}
|
|
15
18
|
onMouseEnter() {
|
|
16
19
|
this.hover = true;
|
|
17
20
|
}
|
|
@@ -31,14 +34,14 @@ export class CardTipoProcesoComponent {
|
|
|
31
34
|
this.onClickCard.emit(this.tipoProcesoID);
|
|
32
35
|
}
|
|
33
36
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CardTipoProcesoComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
34
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: CardTipoProcesoComponent, isStandalone: true, selector: "ius-card-tipo-proceso", inputs: { tipoProcesoID: "tipoProcesoID",
|
|
37
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: CardTipoProcesoComponent, isStandalone: true, selector: "ius-card-tipo-proceso", inputs: { tipoProcesoID: "tipoProcesoID", isUsed: "isUsed", nombreTipoProceso: "nombreTipoProceso", tipoCompetente: "tipoCompetente", usuarioCreacion: "usuarioCreacion", fechaCreacion: "fechaCreacion", usuarioModificacion: "usuarioModificacion", cantidadEstados: "cantidadEstados", etapasSubetapas: "etapasSubetapas" }, outputs: { onClickEdit: "onClickEdit", onClickDelete: "onClickDelete", onClickCard: "onClickCard" }, ngImport: i0, template: "<div class=\"general-container\">\r\n <div class=\"container\" (mouseenter)=\"onMouseEnter()\" (mouseleave)=\"onMouseLeave()\" (click)=\"clickCard($event)\">\r\n <div class=\"container-content\">\r\n <div class=\"content\">\r\n <div class=\"general-info\">\r\n <div class=\"icon-container\">\r\n <div class=\"icon-shadow\">\r\n <ius-icon-lg [iconName]=\"'icon-strategy'\"> </ius-icon-lg>\r\n </div>\r\n </div>\r\n <div class=\"text-container\">\r\n <p class=\"state-text\">{{ displayEstado }}</p>\r\n <p class=\"process-type\">{{ nombreTipoProceso }}</p>\r\n <p class=\"subtitle\">{{ tipoCompetente }}</p>\r\n </div>\r\n </div>\r\n <div class=\"another-info\">\r\n <div class=\"title-text-container wt-creado\">\r\n <p class=\"title\">Creado por</p>\r\n <p class=\"text body-base-1\" [iusPopoverContent]=\"usuarioCreacion\">{{ usuarioCreacion }}</p>\r\n </div>\r\n <div class=\"title-text-container\">\r\n <p class=\"title\">Fecha creaci\u00F3n</p>\r\n <p class=\"text body-base-1\">{{ fechaCreacion }}</p>\r\n </div>\r\n <div class=\"title-text-container wt-modificado\">\r\n <p class=\"title\">Modificado por</p>\r\n <p class=\"text body-base-1\" [iusPopoverContent]=\"usuarioModificacion ?? 'Sin registro'\">{{\r\n usuarioModificacion ?? 'Sin registro' }}</p>\r\n </div>\r\n <div class=\"title-text-container\">\r\n <p class=\"title\">Estados</p>\r\n <p class=\"text body-base-1\">{{ cantidadEstados }}</p>\r\n </div>\r\n @if(hover){\r\n <div class=\"buttons wt-etapas\">\r\n <div>\r\n <ius-button-squared-tertiary iconName=\"icon-edit\"\r\n (buttonClicked)=\"clickEdit($event)\"></ius-button-squared-tertiary>\r\n </div>\r\n @if(!isUsed){\r\n <div>\r\n <ius-button-squared-tertiary iconName=\"icon-delete\"\r\n (buttonClicked)=\"clickDelete($event)\"></ius-button-squared-tertiary>\r\n </div>\r\n }\r\n </div>\r\n }@else{\r\n <div class=\"title-text-container wt-etapas\">\r\n <p class=\"title\">Etapas/Subetapas</p>\r\n <p class=\"text body-base-1\">{{ etapasSubetapas }}</p>\r\n </div>\r\n }\r\n </div>\r\n </div>\r\n <button>\r\n <ius-icon-md [iconName]=\"'icon-keyboard-arrow-right'\"></ius-icon-md>\r\n </button>\r\n </div>\r\n </div>\r\n</div>", 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}.general-container{position:relative}p{margin:0}.container{display:flex;height:86px;box-sizing:border-box;padding:16px 40px;align-items:center;align-content:center;gap:12px 12px;align-self:stretch;flex-wrap:wrap;border-radius:8px;border:1px solid #eaeaea;background:#fff;cursor:pointer}.container:hover{border:1px solid #C4DFFF;box-shadow:0 1px 3px #0000001f,0 1px 2px #00000014}.container-content{display:flex;align-items:center;gap:24px;width:100%;justify-content:space-between}.content{display:flex;align-items:center;align-content:center;gap:8px 8px;flex-wrap:wrap;justify-content:space-between;width:100%}.general-info,.icon-container{display:flex;align-items:center;gap:8px}.icon-shadow{display:flex;width:40px;height:40px;padding:0;justify-content:center;align-items:center;gap:8px;aspect-ratio:1/1;border-radius:100px;background:#c4dfff}.text-container{display:flex;flex-direction:column;align-items:flex-start;gap:0}.state-text{color:#595959;font-family:Rubik,sans-serif;font-size:.75rem;font-style:normal;font-weight:400;line-height:16px;letter-spacing:.24px}.process-type{color:#333;font-family:Roboto,sans-serif;font-size:1rem;font-style:normal;font-weight:500;line-height:22px}.subtitle{color:#8c8c8c;font-family:Rubik,sans-serif;font-size:.75rem;font-style:normal;font-weight:400;line-height:16px;letter-spacing:.24px}.another-info{display:flex;align-items:center;align-content:space-between;column-gap:24px;flex-wrap:wrap}.title-text-container{display:flex;flex-direction:column;height:32px;align-items:flex-start;gap:0}.title{color:#8c8c8c;font-family:Rubik,sans-serif;font-size:.75rem;font-style:normal;font-weight:400;line-height:16px;letter-spacing:.24px}.text{color:#595959}button{border:none;background-color:transparent;cursor:pointer}.buttons{display:flex;justify-content:flex-end;align-items:center;gap:8px}.wt-etapas{width:110px}.wt-modificado{width:205px}.wt-creado{width:124px}.wt-creado,.wt-modificado{overflow:hidden}.wt-creado .text,.wt-modificado .text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}\n"], dependencies: [{ kind: "component", type: IconMdComponent, selector: "ius-icon-md", inputs: ["iconName", "color"] }, { kind: "component", type: IconLgComponent, selector: "ius-icon-lg", inputs: ["iconName", "color"] }, { kind: "component", type: ButtonSquaredTertiaryComponent, selector: "ius-button-squared-tertiary", inputs: ["disabled", "iconName"], outputs: ["buttonClicked"] }, { kind: "directive", type: PopoverDirective, selector: "[iusPopover], [iusPopoverTitle], [iusPopoverContent]", inputs: ["iusPopover", "iusPopoverTitle", "iusPopoverContent", "iusPopoverPosition", "iusPopoverOpenDelay", "iusPopoverCloseDelay"] }] }); }
|
|
35
38
|
}
|
|
36
39
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CardTipoProcesoComponent, decorators: [{
|
|
37
40
|
type: Component,
|
|
38
|
-
args: [{ selector: 'ius-card-tipo-proceso', standalone: true, imports: [IconMdComponent, IconLgComponent, ButtonSquaredTertiaryComponent], template: "<div class=\"general-container\">\r\n <div class=\"container\" (mouseenter)=\"onMouseEnter()\" (mouseleave)=\"onMouseLeave()\" (click)=\"clickCard($event)\">\r\n <div class=\"container-content\">\r\n <div class=\"content\">\r\n <div class=\"general-info\">\r\n <div class=\"icon-container\">\r\n <div class=\"icon-shadow\">\r\n <ius-icon-lg [iconName]=\"'icon-strategy'\"> </ius-icon-lg>\r\n </div>\r\n </div>\r\n <div class=\"text-container\">\r\n <p class=\"state-text\">{{
|
|
41
|
+
args: [{ selector: 'ius-card-tipo-proceso', standalone: true, imports: [IconMdComponent, IconLgComponent, ButtonSquaredTertiaryComponent, PopoverDirective], template: "<div class=\"general-container\">\r\n <div class=\"container\" (mouseenter)=\"onMouseEnter()\" (mouseleave)=\"onMouseLeave()\" (click)=\"clickCard($event)\">\r\n <div class=\"container-content\">\r\n <div class=\"content\">\r\n <div class=\"general-info\">\r\n <div class=\"icon-container\">\r\n <div class=\"icon-shadow\">\r\n <ius-icon-lg [iconName]=\"'icon-strategy'\"> </ius-icon-lg>\r\n </div>\r\n </div>\r\n <div class=\"text-container\">\r\n <p class=\"state-text\">{{ displayEstado }}</p>\r\n <p class=\"process-type\">{{ nombreTipoProceso }}</p>\r\n <p class=\"subtitle\">{{ tipoCompetente }}</p>\r\n </div>\r\n </div>\r\n <div class=\"another-info\">\r\n <div class=\"title-text-container wt-creado\">\r\n <p class=\"title\">Creado por</p>\r\n <p class=\"text body-base-1\" [iusPopoverContent]=\"usuarioCreacion\">{{ usuarioCreacion }}</p>\r\n </div>\r\n <div class=\"title-text-container\">\r\n <p class=\"title\">Fecha creaci\u00F3n</p>\r\n <p class=\"text body-base-1\">{{ fechaCreacion }}</p>\r\n </div>\r\n <div class=\"title-text-container wt-modificado\">\r\n <p class=\"title\">Modificado por</p>\r\n <p class=\"text body-base-1\" [iusPopoverContent]=\"usuarioModificacion ?? 'Sin registro'\">{{\r\n usuarioModificacion ?? 'Sin registro' }}</p>\r\n </div>\r\n <div class=\"title-text-container\">\r\n <p class=\"title\">Estados</p>\r\n <p class=\"text body-base-1\">{{ cantidadEstados }}</p>\r\n </div>\r\n @if(hover){\r\n <div class=\"buttons wt-etapas\">\r\n <div>\r\n <ius-button-squared-tertiary iconName=\"icon-edit\"\r\n (buttonClicked)=\"clickEdit($event)\"></ius-button-squared-tertiary>\r\n </div>\r\n @if(!isUsed){\r\n <div>\r\n <ius-button-squared-tertiary iconName=\"icon-delete\"\r\n (buttonClicked)=\"clickDelete($event)\"></ius-button-squared-tertiary>\r\n </div>\r\n }\r\n </div>\r\n }@else{\r\n <div class=\"title-text-container wt-etapas\">\r\n <p class=\"title\">Etapas/Subetapas</p>\r\n <p class=\"text body-base-1\">{{ etapasSubetapas }}</p>\r\n </div>\r\n }\r\n </div>\r\n </div>\r\n <button>\r\n <ius-icon-md [iconName]=\"'icon-keyboard-arrow-right'\"></ius-icon-md>\r\n </button>\r\n </div>\r\n </div>\r\n</div>", 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}.general-container{position:relative}p{margin:0}.container{display:flex;height:86px;box-sizing:border-box;padding:16px 40px;align-items:center;align-content:center;gap:12px 12px;align-self:stretch;flex-wrap:wrap;border-radius:8px;border:1px solid #eaeaea;background:#fff;cursor:pointer}.container:hover{border:1px solid #C4DFFF;box-shadow:0 1px 3px #0000001f,0 1px 2px #00000014}.container-content{display:flex;align-items:center;gap:24px;width:100%;justify-content:space-between}.content{display:flex;align-items:center;align-content:center;gap:8px 8px;flex-wrap:wrap;justify-content:space-between;width:100%}.general-info,.icon-container{display:flex;align-items:center;gap:8px}.icon-shadow{display:flex;width:40px;height:40px;padding:0;justify-content:center;align-items:center;gap:8px;aspect-ratio:1/1;border-radius:100px;background:#c4dfff}.text-container{display:flex;flex-direction:column;align-items:flex-start;gap:0}.state-text{color:#595959;font-family:Rubik,sans-serif;font-size:.75rem;font-style:normal;font-weight:400;line-height:16px;letter-spacing:.24px}.process-type{color:#333;font-family:Roboto,sans-serif;font-size:1rem;font-style:normal;font-weight:500;line-height:22px}.subtitle{color:#8c8c8c;font-family:Rubik,sans-serif;font-size:.75rem;font-style:normal;font-weight:400;line-height:16px;letter-spacing:.24px}.another-info{display:flex;align-items:center;align-content:space-between;column-gap:24px;flex-wrap:wrap}.title-text-container{display:flex;flex-direction:column;height:32px;align-items:flex-start;gap:0}.title{color:#8c8c8c;font-family:Rubik,sans-serif;font-size:.75rem;font-style:normal;font-weight:400;line-height:16px;letter-spacing:.24px}.text{color:#595959}button{border:none;background-color:transparent;cursor:pointer}.buttons{display:flex;justify-content:flex-end;align-items:center;gap:8px}.wt-etapas{width:110px}.wt-modificado{width:205px}.wt-creado{width:124px}.wt-creado,.wt-modificado{overflow:hidden}.wt-creado .text,.wt-modificado .text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}\n"] }]
|
|
39
42
|
}], propDecorators: { tipoProcesoID: [{
|
|
40
43
|
type: Input
|
|
41
|
-
}],
|
|
44
|
+
}], isUsed: [{
|
|
42
45
|
type: Input
|
|
43
46
|
}], nombreTipoProceso: [{
|
|
44
47
|
type: Input
|
|
@@ -61,4 +64,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
61
64
|
}], onClickCard: [{
|
|
62
65
|
type: Output
|
|
63
66
|
}] } });
|
|
64
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
67
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FyZC10aXBvLXByb2Nlc28uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvaXVzLWRlc2lnbi1jb21wb25lbnRzL3NyYy9saWIvY2FyZC10aXBvLXByb2Nlc28vY2FyZC10aXBvLXByb2Nlc28uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvaXVzLWRlc2lnbi1jb21wb25lbnRzL3NyYy9saWIvY2FyZC10aXBvLXByb2Nlc28vY2FyZC10aXBvLXByb2Nlc28uY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxZQUFZLEVBQUUsS0FBSyxFQUFFLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN2RSxPQUFPLEVBQUUsZUFBZSxFQUFFLE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2xhc3M9XCJ0aXRsZS10ZXh0LWNvbnRhaW5lciB3dC1ldGFwYXNcIj5cclxuICAgICAgICAgICAgPHAgY2xhc3M9XCJ0aXRsZVwiPkV0YXBhcy9TdWJldGFwYXM8L3A+XHJcbiAgICAgICAgICAgIDxwIGNsYXNzPVwidGV4dCBib2R5LWJhc2UtMVwiPnt7IGV0YXBhc1N1YmV0YXBhcyB9fTwvcD5cclxuICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgICAgfVxyXG4gICAgICAgIDwvZGl2PlxyXG4gICAgICA8L2Rpdj5cclxuICAgICAgPGJ1dHRvbj5cclxuICAgICAgICA8aXVzLWljb24tbWQgW2ljb25OYW1lXT1cIidpY29uLWtleWJvYXJkLWFycm93LXJpZ2h0J1wiPjwvaXVzLWljb24tbWQ+XHJcbiAgICAgIDwvYnV0dG9uPlxyXG4gICAgPC9kaXY+XHJcbiAgPC9kaXY+XHJcbjwvZGl2PiJdfQ==
|
|
@@ -6120,13 +6120,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
6120
6120
|
|
|
6121
6121
|
class CardTipoProcesoComponent {
|
|
6122
6122
|
constructor() {
|
|
6123
|
-
this.estadoTipoProceso = 'Activo';
|
|
6124
6123
|
this.nombreTipoProceso = '';
|
|
6125
6124
|
this.onClickEdit = new EventEmitter();
|
|
6126
6125
|
this.onClickDelete = new EventEmitter();
|
|
6127
6126
|
this.onClickCard = new EventEmitter();
|
|
6128
6127
|
this.hover = false;
|
|
6129
6128
|
}
|
|
6129
|
+
get displayEstado() {
|
|
6130
|
+
return this.isUsed ? 'En uso' : 'Activo';
|
|
6131
|
+
}
|
|
6130
6132
|
onMouseEnter() {
|
|
6131
6133
|
this.hover = true;
|
|
6132
6134
|
}
|
|
@@ -6146,14 +6148,14 @@ class CardTipoProcesoComponent {
|
|
|
6146
6148
|
this.onClickCard.emit(this.tipoProcesoID);
|
|
6147
6149
|
}
|
|
6148
6150
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CardTipoProcesoComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6149
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: CardTipoProcesoComponent, isStandalone: true, selector: "ius-card-tipo-proceso", inputs: { tipoProcesoID: "tipoProcesoID",
|
|
6151
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: CardTipoProcesoComponent, isStandalone: true, selector: "ius-card-tipo-proceso", inputs: { tipoProcesoID: "tipoProcesoID", isUsed: "isUsed", nombreTipoProceso: "nombreTipoProceso", tipoCompetente: "tipoCompetente", usuarioCreacion: "usuarioCreacion", fechaCreacion: "fechaCreacion", usuarioModificacion: "usuarioModificacion", cantidadEstados: "cantidadEstados", etapasSubetapas: "etapasSubetapas" }, outputs: { onClickEdit: "onClickEdit", onClickDelete: "onClickDelete", onClickCard: "onClickCard" }, ngImport: i0, template: "<div class=\"general-container\">\r\n <div class=\"container\" (mouseenter)=\"onMouseEnter()\" (mouseleave)=\"onMouseLeave()\" (click)=\"clickCard($event)\">\r\n <div class=\"container-content\">\r\n <div class=\"content\">\r\n <div class=\"general-info\">\r\n <div class=\"icon-container\">\r\n <div class=\"icon-shadow\">\r\n <ius-icon-lg [iconName]=\"'icon-strategy'\"> </ius-icon-lg>\r\n </div>\r\n </div>\r\n <div class=\"text-container\">\r\n <p class=\"state-text\">{{ displayEstado }}</p>\r\n <p class=\"process-type\">{{ nombreTipoProceso }}</p>\r\n <p class=\"subtitle\">{{ tipoCompetente }}</p>\r\n </div>\r\n </div>\r\n <div class=\"another-info\">\r\n <div class=\"title-text-container wt-creado\">\r\n <p class=\"title\">Creado por</p>\r\n <p class=\"text body-base-1\" [iusPopoverContent]=\"usuarioCreacion\">{{ usuarioCreacion }}</p>\r\n </div>\r\n <div class=\"title-text-container\">\r\n <p class=\"title\">Fecha creaci\u00F3n</p>\r\n <p class=\"text body-base-1\">{{ fechaCreacion }}</p>\r\n </div>\r\n <div class=\"title-text-container wt-modificado\">\r\n <p class=\"title\">Modificado por</p>\r\n <p class=\"text body-base-1\" [iusPopoverContent]=\"usuarioModificacion ?? 'Sin registro'\">{{\r\n usuarioModificacion ?? 'Sin registro' }}</p>\r\n </div>\r\n <div class=\"title-text-container\">\r\n <p class=\"title\">Estados</p>\r\n <p class=\"text body-base-1\">{{ cantidadEstados }}</p>\r\n </div>\r\n @if(hover){\r\n <div class=\"buttons wt-etapas\">\r\n <div>\r\n <ius-button-squared-tertiary iconName=\"icon-edit\"\r\n (buttonClicked)=\"clickEdit($event)\"></ius-button-squared-tertiary>\r\n </div>\r\n @if(!isUsed){\r\n <div>\r\n <ius-button-squared-tertiary iconName=\"icon-delete\"\r\n (buttonClicked)=\"clickDelete($event)\"></ius-button-squared-tertiary>\r\n </div>\r\n }\r\n </div>\r\n }@else{\r\n <div class=\"title-text-container wt-etapas\">\r\n <p class=\"title\">Etapas/Subetapas</p>\r\n <p class=\"text body-base-1\">{{ etapasSubetapas }}</p>\r\n </div>\r\n }\r\n </div>\r\n </div>\r\n <button>\r\n <ius-icon-md [iconName]=\"'icon-keyboard-arrow-right'\"></ius-icon-md>\r\n </button>\r\n </div>\r\n </div>\r\n</div>", 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}.general-container{position:relative}p{margin:0}.container{display:flex;height:86px;box-sizing:border-box;padding:16px 40px;align-items:center;align-content:center;gap:12px 12px;align-self:stretch;flex-wrap:wrap;border-radius:8px;border:1px solid #eaeaea;background:#fff;cursor:pointer}.container:hover{border:1px solid #C4DFFF;box-shadow:0 1px 3px #0000001f,0 1px 2px #00000014}.container-content{display:flex;align-items:center;gap:24px;width:100%;justify-content:space-between}.content{display:flex;align-items:center;align-content:center;gap:8px 8px;flex-wrap:wrap;justify-content:space-between;width:100%}.general-info,.icon-container{display:flex;align-items:center;gap:8px}.icon-shadow{display:flex;width:40px;height:40px;padding:0;justify-content:center;align-items:center;gap:8px;aspect-ratio:1/1;border-radius:100px;background:#c4dfff}.text-container{display:flex;flex-direction:column;align-items:flex-start;gap:0}.state-text{color:#595959;font-family:Rubik,sans-serif;font-size:.75rem;font-style:normal;font-weight:400;line-height:16px;letter-spacing:.24px}.process-type{color:#333;font-family:Roboto,sans-serif;font-size:1rem;font-style:normal;font-weight:500;line-height:22px}.subtitle{color:#8c8c8c;font-family:Rubik,sans-serif;font-size:.75rem;font-style:normal;font-weight:400;line-height:16px;letter-spacing:.24px}.another-info{display:flex;align-items:center;align-content:space-between;column-gap:24px;flex-wrap:wrap}.title-text-container{display:flex;flex-direction:column;height:32px;align-items:flex-start;gap:0}.title{color:#8c8c8c;font-family:Rubik,sans-serif;font-size:.75rem;font-style:normal;font-weight:400;line-height:16px;letter-spacing:.24px}.text{color:#595959}button{border:none;background-color:transparent;cursor:pointer}.buttons{display:flex;justify-content:flex-end;align-items:center;gap:8px}.wt-etapas{width:110px}.wt-modificado{width:205px}.wt-creado{width:124px}.wt-creado,.wt-modificado{overflow:hidden}.wt-creado .text,.wt-modificado .text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}\n"], dependencies: [{ kind: "component", type: IconMdComponent, selector: "ius-icon-md", inputs: ["iconName", "color"] }, { kind: "component", type: IconLgComponent, selector: "ius-icon-lg", inputs: ["iconName", "color"] }, { kind: "component", type: ButtonSquaredTertiaryComponent, selector: "ius-button-squared-tertiary", inputs: ["disabled", "iconName"], outputs: ["buttonClicked"] }, { kind: "directive", type: PopoverDirective, selector: "[iusPopover], [iusPopoverTitle], [iusPopoverContent]", inputs: ["iusPopover", "iusPopoverTitle", "iusPopoverContent", "iusPopoverPosition", "iusPopoverOpenDelay", "iusPopoverCloseDelay"] }] }); }
|
|
6150
6152
|
}
|
|
6151
6153
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CardTipoProcesoComponent, decorators: [{
|
|
6152
6154
|
type: Component,
|
|
6153
|
-
args: [{ selector: 'ius-card-tipo-proceso', standalone: true, imports: [IconMdComponent, IconLgComponent, ButtonSquaredTertiaryComponent], template: "<div class=\"general-container\">\r\n <div class=\"container\" (mouseenter)=\"onMouseEnter()\" (mouseleave)=\"onMouseLeave()\" (click)=\"clickCard($event)\">\r\n <div class=\"container-content\">\r\n <div class=\"content\">\r\n <div class=\"general-info\">\r\n <div class=\"icon-container\">\r\n <div class=\"icon-shadow\">\r\n <ius-icon-lg [iconName]=\"'icon-strategy'\"> </ius-icon-lg>\r\n </div>\r\n </div>\r\n <div class=\"text-container\">\r\n <p class=\"state-text\">{{
|
|
6155
|
+
args: [{ selector: 'ius-card-tipo-proceso', standalone: true, imports: [IconMdComponent, IconLgComponent, ButtonSquaredTertiaryComponent, PopoverDirective], template: "<div class=\"general-container\">\r\n <div class=\"container\" (mouseenter)=\"onMouseEnter()\" (mouseleave)=\"onMouseLeave()\" (click)=\"clickCard($event)\">\r\n <div class=\"container-content\">\r\n <div class=\"content\">\r\n <div class=\"general-info\">\r\n <div class=\"icon-container\">\r\n <div class=\"icon-shadow\">\r\n <ius-icon-lg [iconName]=\"'icon-strategy'\"> </ius-icon-lg>\r\n </div>\r\n </div>\r\n <div class=\"text-container\">\r\n <p class=\"state-text\">{{ displayEstado }}</p>\r\n <p class=\"process-type\">{{ nombreTipoProceso }}</p>\r\n <p class=\"subtitle\">{{ tipoCompetente }}</p>\r\n </div>\r\n </div>\r\n <div class=\"another-info\">\r\n <div class=\"title-text-container wt-creado\">\r\n <p class=\"title\">Creado por</p>\r\n <p class=\"text body-base-1\" [iusPopoverContent]=\"usuarioCreacion\">{{ usuarioCreacion }}</p>\r\n </div>\r\n <div class=\"title-text-container\">\r\n <p class=\"title\">Fecha creaci\u00F3n</p>\r\n <p class=\"text body-base-1\">{{ fechaCreacion }}</p>\r\n </div>\r\n <div class=\"title-text-container wt-modificado\">\r\n <p class=\"title\">Modificado por</p>\r\n <p class=\"text body-base-1\" [iusPopoverContent]=\"usuarioModificacion ?? 'Sin registro'\">{{\r\n usuarioModificacion ?? 'Sin registro' }}</p>\r\n </div>\r\n <div class=\"title-text-container\">\r\n <p class=\"title\">Estados</p>\r\n <p class=\"text body-base-1\">{{ cantidadEstados }}</p>\r\n </div>\r\n @if(hover){\r\n <div class=\"buttons wt-etapas\">\r\n <div>\r\n <ius-button-squared-tertiary iconName=\"icon-edit\"\r\n (buttonClicked)=\"clickEdit($event)\"></ius-button-squared-tertiary>\r\n </div>\r\n @if(!isUsed){\r\n <div>\r\n <ius-button-squared-tertiary iconName=\"icon-delete\"\r\n (buttonClicked)=\"clickDelete($event)\"></ius-button-squared-tertiary>\r\n </div>\r\n }\r\n </div>\r\n }@else{\r\n <div class=\"title-text-container wt-etapas\">\r\n <p class=\"title\">Etapas/Subetapas</p>\r\n <p class=\"text body-base-1\">{{ etapasSubetapas }}</p>\r\n </div>\r\n }\r\n </div>\r\n </div>\r\n <button>\r\n <ius-icon-md [iconName]=\"'icon-keyboard-arrow-right'\"></ius-icon-md>\r\n </button>\r\n </div>\r\n </div>\r\n</div>", 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}.general-container{position:relative}p{margin:0}.container{display:flex;height:86px;box-sizing:border-box;padding:16px 40px;align-items:center;align-content:center;gap:12px 12px;align-self:stretch;flex-wrap:wrap;border-radius:8px;border:1px solid #eaeaea;background:#fff;cursor:pointer}.container:hover{border:1px solid #C4DFFF;box-shadow:0 1px 3px #0000001f,0 1px 2px #00000014}.container-content{display:flex;align-items:center;gap:24px;width:100%;justify-content:space-between}.content{display:flex;align-items:center;align-content:center;gap:8px 8px;flex-wrap:wrap;justify-content:space-between;width:100%}.general-info,.icon-container{display:flex;align-items:center;gap:8px}.icon-shadow{display:flex;width:40px;height:40px;padding:0;justify-content:center;align-items:center;gap:8px;aspect-ratio:1/1;border-radius:100px;background:#c4dfff}.text-container{display:flex;flex-direction:column;align-items:flex-start;gap:0}.state-text{color:#595959;font-family:Rubik,sans-serif;font-size:.75rem;font-style:normal;font-weight:400;line-height:16px;letter-spacing:.24px}.process-type{color:#333;font-family:Roboto,sans-serif;font-size:1rem;font-style:normal;font-weight:500;line-height:22px}.subtitle{color:#8c8c8c;font-family:Rubik,sans-serif;font-size:.75rem;font-style:normal;font-weight:400;line-height:16px;letter-spacing:.24px}.another-info{display:flex;align-items:center;align-content:space-between;column-gap:24px;flex-wrap:wrap}.title-text-container{display:flex;flex-direction:column;height:32px;align-items:flex-start;gap:0}.title{color:#8c8c8c;font-family:Rubik,sans-serif;font-size:.75rem;font-style:normal;font-weight:400;line-height:16px;letter-spacing:.24px}.text{color:#595959}button{border:none;background-color:transparent;cursor:pointer}.buttons{display:flex;justify-content:flex-end;align-items:center;gap:8px}.wt-etapas{width:110px}.wt-modificado{width:205px}.wt-creado{width:124px}.wt-creado,.wt-modificado{overflow:hidden}.wt-creado .text,.wt-modificado .text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}\n"] }]
|
|
6154
6156
|
}], propDecorators: { tipoProcesoID: [{
|
|
6155
6157
|
type: Input
|
|
6156
|
-
}],
|
|
6158
|
+
}], isUsed: [{
|
|
6157
6159
|
type: Input
|
|
6158
6160
|
}], nombreTipoProceso: [{
|
|
6159
6161
|
type: Input
|
|
@@ -6181,11 +6183,12 @@ class CardListDragOnComponent {
|
|
|
6181
6183
|
constructor() {
|
|
6182
6184
|
this.state = '';
|
|
6183
6185
|
this.name = '';
|
|
6184
|
-
this.smallText = '';
|
|
6185
6186
|
this.subetapas = 0;
|
|
6186
6187
|
this.fecha = '';
|
|
6187
6188
|
this.imageUrl = '';
|
|
6189
|
+
this.isUsed = false;
|
|
6188
6190
|
this.isSelected = false;
|
|
6191
|
+
this.smallText = '';
|
|
6189
6192
|
this.onClickEdit = new EventEmitter();
|
|
6190
6193
|
this.onClickDelete = new EventEmitter();
|
|
6191
6194
|
this.onClickCard = new EventEmitter();
|
|
@@ -6216,11 +6219,11 @@ class CardListDragOnComponent {
|
|
|
6216
6219
|
this.onClickCard.emit(this.id);
|
|
6217
6220
|
}
|
|
6218
6221
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CardListDragOnComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6219
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: CardListDragOnComponent, isStandalone: true, selector: "ius-card-list-drag-on", inputs: { etapaID: "etapaID", subetapaID: "subetapaID", anotherID: "anotherID", state: "state", name: "name",
|
|
6222
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: CardListDragOnComponent, isStandalone: true, selector: "ius-card-list-drag-on", inputs: { etapaID: "etapaID", subetapaID: "subetapaID", anotherID: "anotherID", state: "state", name: "name", subetapas: "subetapas", fecha: "fecha", imageUrl: "imageUrl", isUsed: "isUsed", isSelected: "isSelected", smallText: "smallText" }, outputs: { onClickEdit: "onClickEdit", onClickDelete: "onClickDelete", onClickCard: "onClickCard" }, ngImport: i0, template: "<div class=\"general-container\">\r\n <div class=\"container\" [class.isClicked]=\"isSelected\" (mouseenter)=\"onMouseEnter()\" (mouseleave)=\"onMouseLeave()\"\r\n (click)=\"clickCard($event)\">\r\n <ius-icon-sm [iconName]=\"'icon-drag-indicator'\"></ius-icon-sm>\r\n <div class=\"data-container\">\r\n <div class=\"content\">\r\n <div class=\"general-data\">\r\n <div class=\"data\">\r\n <div class=\"state\">{{ isUsed ? 'En uso' : 'Activo' }}</div>\r\n <div class=\"name\">{{ name }}</div>\r\n <div class=\"small-text\">{{ smallText }}</div>\r\n </div>\r\n </div>\r\n @if(etapaID){\r\n <div class=\"optional-data\">\r\n <div class=\"title-text-container\">\r\n <p class=\"title\">Subetapas</p>\r\n <p class=\"text\">{{ subetapas }}</p>\r\n </div>\r\n @if (hover ) {\r\n <div class=\"buttons\">\r\n <div>\r\n <ius-button-squared-tertiary iconName=\"icon-edit\"\r\n (buttonClicked)=\"clickEdit($event)\"></ius-button-squared-tertiary>\r\n </div>\r\n <div>\r\n <ius-button-squared-tertiary iconName=\"icon-delete\"\r\n (buttonClicked)=\"clickDelete($event)\"></ius-button-squared-tertiary>\r\n </div>\r\n </div>\r\n }@else{\r\n <div class=\"title-text-container\">\r\n <p class=\"title\">Creado/modificado</p>\r\n <div class=\"image-date\">\r\n @if(fecha){\r\n @if(imageUrl){\r\n <div class=\"image\">\r\n <img [src]=\"imageUrl\" />\r\n </div>\r\n } @else{\r\n <ius-icon-lg [iconName]=\"'icon-account-circle'\" class=\"icon-placeholder\"></ius-icon-lg>\r\n }\r\n }\r\n <p class=\"text\">{{ fecha }}</p>\r\n </div>\r\n </div>\r\n }\r\n </div>\r\n } @if (hover && (subetapaID || anotherID) ) {\r\n <div class=\"buttons\">\r\n <div>\r\n <ius-button-squared-tertiary iconName=\"icon-edit\"\r\n (buttonClicked)=\"clickEdit($event)\"></ius-button-squared-tertiary>\r\n </div>\r\n <div>\r\n <ius-button-squared-tertiary iconName=\"icon-delete\"\r\n (buttonClicked)=\"clickDelete($event)\"></ius-button-squared-tertiary>\r\n </div>\r\n </div>\r\n }\r\n </div>\r\n </div>\r\n\r\n <ius-icon-md [iconName]=\"'icon-keyboard-arrow-right'\"></ius-icon-md>\r\n </div>\r\n</div>", 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}.general-container{position:relative}p{margin:0}.container{display:flex;padding:8px 12px;height:56px;box-sizing:border-box;align-items:center;align-content:center;gap:12px 12px;align-self:stretch;border-radius:8px;border:1px solid #eaeaea;background:#fff;cursor:pointer}.container:hover{border:1px solid #C4DFFF;box-shadow:0 1px 3px #0000001f,0 1px 2px #00000014}.icon-placeholder{color:#8c8c8c}.data-container{display:flex;align-items:center;gap:24px;flex:1 0 0;min-width:0}.content{display:flex;align-items:center;align-content:center;gap:8px 8px;flex:1 0 0;align-self:stretch;min-width:0}.general-data{display:flex;align-items:center;gap:8px;flex:1 0 0;min-width:0}.data{display:flex;flex-direction:column;align-items:flex-start;gap:0;flex:1 0 0;min-width:0}.state{color:#595959;font-family:Rubik,sans-serif;font-size:.75rem;font-style:normal;font-weight:400;line-height:16px;letter-spacing:.24px}.name{color:#333;font-family:Rubik,sans-serif;font-size:.875rem;font-style:normal;font-weight:500;line-height:20px;letter-spacing:.28px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%}.optional-data{display:flex;align-items:center;align-content:space-between;gap:24px}.title-text-container{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:0}.title{color:#8c8c8c;font-family:Rubik,sans-serif;font-size:.75rem;font-style:normal;font-weight:400;line-height:16px;letter-spacing:.24px}.text{color:#595959;font-family:Rubik,sans-serif;font-size:.875rem;font-style:normal;font-weight:400;line-height:20px;letter-spacing:.28px}.image-date{display:flex;align-items:center;gap:8px}.image{display:flex;width:24px;height:24px;justify-content:center;align-items:center;aspect-ratio:1/1;border-radius:100px;border:.5px solid #f5f5f5;background:#fff3}img{width:24px;height:24px;flex-shrink:0;aspect-ratio:1/1;border-radius:24px}.buttons{display:flex;justify-content:flex-end;align-items:center;gap:8px}.isClicked{border:1px solid #c4dfff!important;background:#edf6ff!important}.small-text{color:var(--ColorText-colorTextTertiary, #8c8c8c);font-family:Rubik;font-size:var(--Text-Size-FontSize-Small, 12px);font-style:normal;font-weight:400;line-height:var(--Text-Size-FontHeight-Small, 16px);letter-spacing:.24px}\n"], dependencies: [{ kind: "component", type: IconSmComponent, selector: "ius-icon-sm", inputs: ["iconName", "color"] }, { kind: "component", type: IconMdComponent, selector: "ius-icon-md", inputs: ["iconName", "color"] }, { kind: "component", type: ButtonSquaredTertiaryComponent, selector: "ius-button-squared-tertiary", inputs: ["disabled", "iconName"], outputs: ["buttonClicked"] }, { kind: "component", type: IconLgComponent, selector: "ius-icon-lg", inputs: ["iconName", "color"] }] }); }
|
|
6220
6223
|
}
|
|
6221
6224
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CardListDragOnComponent, decorators: [{
|
|
6222
6225
|
type: Component,
|
|
6223
|
-
args: [{ selector: 'ius-card-list-drag-on', standalone: true, imports: [IconSmComponent, IconMdComponent, ButtonSquaredTertiaryComponent], template: "<div class=\"general-container\">\r\n <div
|
|
6226
|
+
args: [{ selector: 'ius-card-list-drag-on', standalone: true, imports: [IconSmComponent, IconMdComponent, ButtonSquaredTertiaryComponent, IconLgComponent], template: "<div class=\"general-container\">\r\n <div class=\"container\" [class.isClicked]=\"isSelected\" (mouseenter)=\"onMouseEnter()\" (mouseleave)=\"onMouseLeave()\"\r\n (click)=\"clickCard($event)\">\r\n <ius-icon-sm [iconName]=\"'icon-drag-indicator'\"></ius-icon-sm>\r\n <div class=\"data-container\">\r\n <div class=\"content\">\r\n <div class=\"general-data\">\r\n <div class=\"data\">\r\n <div class=\"state\">{{ isUsed ? 'En uso' : 'Activo' }}</div>\r\n <div class=\"name\">{{ name }}</div>\r\n <div class=\"small-text\">{{ smallText }}</div>\r\n </div>\r\n </div>\r\n @if(etapaID){\r\n <div class=\"optional-data\">\r\n <div class=\"title-text-container\">\r\n <p class=\"title\">Subetapas</p>\r\n <p class=\"text\">{{ subetapas }}</p>\r\n </div>\r\n @if (hover ) {\r\n <div class=\"buttons\">\r\n <div>\r\n <ius-button-squared-tertiary iconName=\"icon-edit\"\r\n (buttonClicked)=\"clickEdit($event)\"></ius-button-squared-tertiary>\r\n </div>\r\n <div>\r\n <ius-button-squared-tertiary iconName=\"icon-delete\"\r\n (buttonClicked)=\"clickDelete($event)\"></ius-button-squared-tertiary>\r\n </div>\r\n </div>\r\n }@else{\r\n <div class=\"title-text-container\">\r\n <p class=\"title\">Creado/modificado</p>\r\n <div class=\"image-date\">\r\n @if(fecha){\r\n @if(imageUrl){\r\n <div class=\"image\">\r\n <img [src]=\"imageUrl\" />\r\n </div>\r\n } @else{\r\n <ius-icon-lg [iconName]=\"'icon-account-circle'\" class=\"icon-placeholder\"></ius-icon-lg>\r\n }\r\n }\r\n <p class=\"text\">{{ fecha }}</p>\r\n </div>\r\n </div>\r\n }\r\n </div>\r\n } @if (hover && (subetapaID || anotherID) ) {\r\n <div class=\"buttons\">\r\n <div>\r\n <ius-button-squared-tertiary iconName=\"icon-edit\"\r\n (buttonClicked)=\"clickEdit($event)\"></ius-button-squared-tertiary>\r\n </div>\r\n <div>\r\n <ius-button-squared-tertiary iconName=\"icon-delete\"\r\n (buttonClicked)=\"clickDelete($event)\"></ius-button-squared-tertiary>\r\n </div>\r\n </div>\r\n }\r\n </div>\r\n </div>\r\n\r\n <ius-icon-md [iconName]=\"'icon-keyboard-arrow-right'\"></ius-icon-md>\r\n </div>\r\n</div>", 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}.general-container{position:relative}p{margin:0}.container{display:flex;padding:8px 12px;height:56px;box-sizing:border-box;align-items:center;align-content:center;gap:12px 12px;align-self:stretch;border-radius:8px;border:1px solid #eaeaea;background:#fff;cursor:pointer}.container:hover{border:1px solid #C4DFFF;box-shadow:0 1px 3px #0000001f,0 1px 2px #00000014}.icon-placeholder{color:#8c8c8c}.data-container{display:flex;align-items:center;gap:24px;flex:1 0 0;min-width:0}.content{display:flex;align-items:center;align-content:center;gap:8px 8px;flex:1 0 0;align-self:stretch;min-width:0}.general-data{display:flex;align-items:center;gap:8px;flex:1 0 0;min-width:0}.data{display:flex;flex-direction:column;align-items:flex-start;gap:0;flex:1 0 0;min-width:0}.state{color:#595959;font-family:Rubik,sans-serif;font-size:.75rem;font-style:normal;font-weight:400;line-height:16px;letter-spacing:.24px}.name{color:#333;font-family:Rubik,sans-serif;font-size:.875rem;font-style:normal;font-weight:500;line-height:20px;letter-spacing:.28px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%}.optional-data{display:flex;align-items:center;align-content:space-between;gap:24px}.title-text-container{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:0}.title{color:#8c8c8c;font-family:Rubik,sans-serif;font-size:.75rem;font-style:normal;font-weight:400;line-height:16px;letter-spacing:.24px}.text{color:#595959;font-family:Rubik,sans-serif;font-size:.875rem;font-style:normal;font-weight:400;line-height:20px;letter-spacing:.28px}.image-date{display:flex;align-items:center;gap:8px}.image{display:flex;width:24px;height:24px;justify-content:center;align-items:center;aspect-ratio:1/1;border-radius:100px;border:.5px solid #f5f5f5;background:#fff3}img{width:24px;height:24px;flex-shrink:0;aspect-ratio:1/1;border-radius:24px}.buttons{display:flex;justify-content:flex-end;align-items:center;gap:8px}.isClicked{border:1px solid #c4dfff!important;background:#edf6ff!important}.small-text{color:var(--ColorText-colorTextTertiary, #8c8c8c);font-family:Rubik;font-size:var(--Text-Size-FontSize-Small, 12px);font-style:normal;font-weight:400;line-height:var(--Text-Size-FontHeight-Small, 16px);letter-spacing:.24px}\n"] }]
|
|
6224
6227
|
}], propDecorators: { etapaID: [{
|
|
6225
6228
|
type: Input
|
|
6226
6229
|
}], subetapaID: [{
|
|
@@ -6231,16 +6234,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
6231
6234
|
type: Input
|
|
6232
6235
|
}], name: [{
|
|
6233
6236
|
type: Input
|
|
6234
|
-
}], smallText: [{
|
|
6235
|
-
type: Input
|
|
6236
6237
|
}], subetapas: [{
|
|
6237
6238
|
type: Input
|
|
6238
6239
|
}], fecha: [{
|
|
6239
6240
|
type: Input
|
|
6240
6241
|
}], imageUrl: [{
|
|
6241
6242
|
type: Input
|
|
6243
|
+
}], isUsed: [{
|
|
6244
|
+
type: Input
|
|
6242
6245
|
}], isSelected: [{
|
|
6243
6246
|
type: Input
|
|
6247
|
+
}], smallText: [{
|
|
6248
|
+
type: Input
|
|
6244
6249
|
}], onClickEdit: [{
|
|
6245
6250
|
type: Output
|
|
6246
6251
|
}], onClickDelete: [{
|