ngx-wapp-components 1.0.59 → 1.0.60
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/esm2020/lib/shared/enums/enum.mjs +7 -1
- package/esm2020/lib/sidebar/w-sidebar/w-sidebar.component.mjs +25 -4
- package/esm2020/lib/view/w-view-text/w-view-text.component.mjs +3 -3
- package/fesm2015/ngx-wapp-components.mjs +31 -6
- package/fesm2015/ngx-wapp-components.mjs.map +1 -1
- package/fesm2020/ngx-wapp-components.mjs +31 -6
- package/fesm2020/ngx-wapp-components.mjs.map +1 -1
- package/lib/shared/enums/enum.d.ts +5 -0
- package/lib/sidebar/w-sidebar/w-sidebar.component.d.ts +6 -1
- package/package.json +1 -1
|
@@ -11,4 +11,10 @@ export var ButtonType;
|
|
|
11
11
|
ButtonType[ButtonType["tertiary"] = 2] = "tertiary";
|
|
12
12
|
ButtonType[ButtonType["text"] = 3] = "text";
|
|
13
13
|
})(ButtonType || (ButtonType = {}));
|
|
14
|
-
|
|
14
|
+
export var IconType;
|
|
15
|
+
(function (IconType) {
|
|
16
|
+
IconType[IconType["pIcon"] = 0] = "pIcon";
|
|
17
|
+
IconType[IconType["urlIcon"] = 1] = "urlIcon";
|
|
18
|
+
IconType[IconType["wIcon"] = 2] = "wIcon";
|
|
19
|
+
})(IconType || (IconType = {}));
|
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW51bS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3dhcHAtY29tcG9uZW50cy9zcmMvbGliL3NoYXJlZC9lbnVtcy9lbnVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBTixJQUFZLFFBSVg7QUFKRCxXQUFZLFFBQVE7SUFDaEIseUNBQVMsQ0FBQTtJQUNULDJDQUFVLENBQUE7SUFDVix5Q0FBUyxDQUFBO0FBQ2IsQ0FBQyxFQUpXLFFBQVEsS0FBUixRQUFRLFFBSW5CO0FBRUQsTUFBTSxDQUFOLElBQVksVUFLWDtBQUxELFdBQVksVUFBVTtJQUNwQixpREFBVyxDQUFBO0lBQ1gscURBQWEsQ0FBQTtJQUNiLG1EQUFZLENBQUE7SUFDWiwyQ0FBUSxDQUFBO0FBQ1YsQ0FBQyxFQUxXLFVBQVUsS0FBVixVQUFVLFFBS3JCO0FBRUQsTUFBTSxDQUFOLElBQVksUUFJWDtBQUpELFdBQVksUUFBUTtJQUNsQix5Q0FBUyxDQUFBO0lBQ1QsNkNBQVcsQ0FBQTtJQUNYLHlDQUFTLENBQUE7QUFDWCxDQUFDLEVBSlcsUUFBUSxLQUFSLFFBQVEsUUFJbkIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZW51bSBTaXplVHlwZSB7XHJcbiAgICBzbWFsbCA9IDAsXHJcbiAgICBtZWRpdW0gPSAxLFxyXG4gICAgbGFyZ2UgPSAyXHJcbn1cclxuXHJcbmV4cG9ydCBlbnVtIEJ1dHRvblR5cGV7XHJcbiAgcHJpbWFyeSA9IDAsXHJcbiAgc2Vjb25kYXJ5ID0gMSxcclxuICB0ZXJ0aWFyeSA9IDIsXHJcbiAgdGV4dCA9IDNcclxufVxyXG5cclxuZXhwb3J0IGVudW0gSWNvblR5cGV7XHJcbiAgcEljb24gPSAwLCBcclxuICB1cmxJY29uID0gMSwgXHJcbiAgd0ljb24gPSAyXHJcbn1cclxuIl19
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
+
import { IconType } from '../../shared/enums/enum';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
import * as i1 from "@angular/common";
|
|
4
5
|
import * as i2 from "primeng/api";
|
|
5
6
|
import * as i3 from "primeng/sidebar";
|
|
7
|
+
import * as i4 from "../../icons/wapping-icons/w-icons.component";
|
|
6
8
|
export class WSidebarComponent {
|
|
7
9
|
constructor() {
|
|
8
10
|
this.activeGrid = false;
|
|
9
11
|
this.closeOnOverlay = false;
|
|
10
|
-
this.styleClass = "w-full md:w-
|
|
12
|
+
this.styleClass = "w-full md:w-6 lg:w-5";
|
|
13
|
+
this.iconType = IconType;
|
|
11
14
|
this.visibleChange = new EventEmitter();
|
|
12
15
|
this._visible = false;
|
|
13
16
|
}
|
|
@@ -24,12 +27,27 @@ export class WSidebarComponent {
|
|
|
24
27
|
onClose() {
|
|
25
28
|
this.visible = false;
|
|
26
29
|
}
|
|
30
|
+
getIconType() {
|
|
31
|
+
if (this.icon.includes("pi pi-")) {
|
|
32
|
+
return IconType.pIcon;
|
|
33
|
+
}
|
|
34
|
+
else if (this.isURL(this.icon)) {
|
|
35
|
+
return IconType.urlIcon;
|
|
36
|
+
}
|
|
37
|
+
else {
|
|
38
|
+
return IconType.wIcon;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
isURL(url) {
|
|
42
|
+
const patronURL = /^(ftp|http|https):\/\/[^ "]+$/;
|
|
43
|
+
return patronURL.test(url);
|
|
44
|
+
}
|
|
27
45
|
}
|
|
28
46
|
WSidebarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: WSidebarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
29
|
-
WSidebarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: WSidebarComponent, selector: "w-sidebar", inputs: { headerTitle: "headerTitle", activeGrid: "activeGrid", closeOnOverlay: "closeOnOverlay", styleClass: "styleClass", visible: "visible" }, outputs: { visibleChange: "visibleChange" }, ngImport: i0, template: "<p-sidebar [(visible)]=\"visible\" position=\"right\" [modal]=\"true\" [blockScroll]=\"true\" [dismissible]=\"closeOnOverlay\" [styleClass]=\"styleClass\" class=\"wapp-sidebar\">\r\n <ng-template pTemplate=\"header\"
|
|
47
|
+
WSidebarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: WSidebarComponent, selector: "w-sidebar", inputs: { headerTitle: "headerTitle", activeGrid: "activeGrid", closeOnOverlay: "closeOnOverlay", styleClass: "styleClass", icon: "icon", visible: "visible" }, outputs: { visibleChange: "visibleChange" }, ngImport: i0, template: "<p-sidebar [(visible)]=\"visible\" position=\"right\" [modal]=\"true\" [blockScroll]=\"true\" [dismissible]=\"closeOnOverlay\" [styleClass]=\"styleClass\" class=\"wapp-sidebar\">\r\n <ng-template pTemplate=\"header\">\r\n <span *ngIf=\"icon && getIconType() == iconType.pIcon\" class=\"w-sidebar-icon icon-large-size\" [ngClass]=\"icon\"></span>\r\n <img *ngIf=\"icon && getIconType() == iconType.urlIcon\" class=\"w-sidebar-icon\" [src]=\"icon\" width=\"24\" height=\"24\">\r\n <w-icons *ngIf=\"icon && getIconType() == iconType.wIcon\" class=\"w-sidebar-icon\" [name]=\"icon\" [width]=\"24\" [height]=\"24\"></w-icons>\r\n\r\n <span class=\"subtitle1 m-0\">{{headerTitle}}</span>\r\n </ng-template>\r\n \r\n <ng-template pTemplate=\"content\">\r\n <div [ngClass]=\"{'w-sidebar-content grid' : activeGrid}\">\r\n <ng-content></ng-content>\r\n </div>\r\n </ng-template>\r\n\r\n <ng-template pTemplate=\"footer\"></ng-template>\r\n</p-sidebar>\r\n", styles: [".heading1{font-size:3.1428571429rem;line-height:3.4285714286rem;font-weight:700}.heading2{font-size:2.8571428571rem;line-height:3.1428571429rem;font-weight:700}.heading3{font-size:2.5714285714rem;line-height:2.8571428571rem;font-weight:700}.heading4{font-size:2.2857142857rem;line-height:2.5714285714rem;font-weight:700}.heading5{font-size:2rem;line-height:2.2857142857rem;font-weight:700}.heading6{font-size:1.7142857143rem;line-height:2rem;font-weight:700}.subtitle1{font-size:1.4285714286rem;line-height:1.7142857143rem;font-weight:700}.subtitle2{font-size:1.1428571429rem;line-height:1.4285714286rem;font-weight:700}.body,.input-generic-placeholder-small,.input-generic-small{font-size:1rem;line-height:1.1428571429rem;font-weight:600}.caption{font-size:.8571428571rem;line-height:1.1428571429rem;font-weight:600}.select-option-text{font-size:16;line-height:24px;font-weight:600}.icon-small-size{font-size:8px}.icon-small-x-size{font-size:12px}.icon-medium-size{font-size:16px}.icon-large-size{font-size:24px}.spacingXXS{padding:4px}.spacingXSM{padding:6px}.spacingXS{padding:8px}.spacingS{padding:12px}.spacingM{padding:16px}.spacingL{padding:20px}.spacingXL{padding:24px}.spacingXXL{padding:28px}.spacingXXXL{padding:32px}.focus{box-shadow:0 0 8px #00a6e980}.hover{border-radius:8px;border:2px solid #00b2eb}.button-large-typography{font-size:20px;line-height:24px;font-weight:700}.button-medium-typography{font-size:16px;line-height:16px;font-weight:700}.button-small-typography{font-size:12px;line-height:16px;font-weight:700}.button-text-typography,.input-generic-label{font-size:14px;line-height:16px;font-weight:700}.input-generic-placeholder{font-size:16px;line-height:24px;font-weight:600;color:#bdc1c6!important;opacity:unset!important}.input-generic{font-size:16px;line-height:24px;font-weight:600}.input-generic-placeholder-small{padding:8px 12px 12px;color:#bdc1c6!important}.input-generic-valid{border-radius:8px;border:2px solid #B3FFD3}.input-generic-valid-focus{border-radius:8px;border:2px solid #B3FFD3!important;box-shadow:0 0 8px #46ff9b80!important;padding-left:16px}.input-generic-warning{border-radius:8px;border:2px solid #FFECB8!important}.input-generic-warning-focus{border-radius:8px;border:2px solid #FFECB8!important;box-shadow:0 0 8px #ffcd4680!important;padding-left:16px}.input-generic-error-focus{border-radius:8px;border:2px solid #FFBDBD!important;box-shadow:0 0 8px #ff555580!important;padding-left:16px}.input-generic-error{border-radius:8px;border:2px solid #FFBDBD}.tag-generic{font-size:14px;line-height:16px;font-weight:700}.tag-generic-small{font-size:12px;line-height:16px;font-weight:700}.toggle-small-typography{font-size:12px;line-height:16px;font-weight:600}.w-generic-input-no-label-height{height:36px}:host ::ng-deep .wapp-sidebar .p-sidebar-header{padding:40px}:host ::ng-deep .wapp-sidebar .p-sidebar-content{padding:0 40px}:host ::ng-deep .p-sidebar-footer{padding:60px!important}:host ::ng-deep .w-sidebar-content .col-1{padding:4px 20px}:host ::ng-deep .w-sidebar-content .col-2{padding:4px 20px}:host ::ng-deep .w-sidebar-content .col-3{padding:4px 20px}:host ::ng-deep .w-sidebar-content .col-4{padding:4px 20px}:host ::ng-deep .w-sidebar-content .col-5{padding:4px 20px}:host ::ng-deep .w-sidebar-content .col-6{padding:4px 20px}:host ::ng-deep .w-sidebar-content .col-7{padding:4px 20px}:host ::ng-deep .w-sidebar-content .col-8{padding:4px 20px}:host ::ng-deep .w-sidebar-content .col-9{padding:4px 20px}:host ::ng-deep .w-sidebar-content .col-10{padding:4px 20px}:host ::ng-deep .w-sidebar-content .col-11{padding:4px 20px}:host ::ng-deep .w-sidebar-content .col-12{padding:4px 20px}:host ::ng-deep .w-sidebar-content.grid{display:flex;flex-wrap:wrap;margin-right:-20px;margin-left:-20px;margin-top:-4px}.w-sidebar-icon{margin-right:12px}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i3.Sidebar, selector: "p-sidebar", inputs: ["appendTo", "blockScroll", "style", "styleClass", "ariaCloseLabel", "autoZIndex", "baseZIndex", "modal", "dismissible", "showCloseIcon", "closeOnEscape", "transitionOptions", "visible", "position", "fullScreen"], outputs: ["onShow", "onHide", "visibleChange"] }, { kind: "component", type: i4.WIconsComponent, selector: "w-icons", inputs: ["name", "width", "height", "color"] }] });
|
|
30
48
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: WSidebarComponent, decorators: [{
|
|
31
49
|
type: Component,
|
|
32
|
-
args: [{ selector: 'w-sidebar', template: "<p-sidebar [(visible)]=\"visible\" position=\"right\" [modal]=\"true\" [blockScroll]=\"true\" [dismissible]=\"closeOnOverlay\" [styleClass]=\"styleClass\" class=\"wapp-sidebar\">\r\n <ng-template pTemplate=\"header\"
|
|
50
|
+
args: [{ selector: 'w-sidebar', template: "<p-sidebar [(visible)]=\"visible\" position=\"right\" [modal]=\"true\" [blockScroll]=\"true\" [dismissible]=\"closeOnOverlay\" [styleClass]=\"styleClass\" class=\"wapp-sidebar\">\r\n <ng-template pTemplate=\"header\">\r\n <span *ngIf=\"icon && getIconType() == iconType.pIcon\" class=\"w-sidebar-icon icon-large-size\" [ngClass]=\"icon\"></span>\r\n <img *ngIf=\"icon && getIconType() == iconType.urlIcon\" class=\"w-sidebar-icon\" [src]=\"icon\" width=\"24\" height=\"24\">\r\n <w-icons *ngIf=\"icon && getIconType() == iconType.wIcon\" class=\"w-sidebar-icon\" [name]=\"icon\" [width]=\"24\" [height]=\"24\"></w-icons>\r\n\r\n <span class=\"subtitle1 m-0\">{{headerTitle}}</span>\r\n </ng-template>\r\n \r\n <ng-template pTemplate=\"content\">\r\n <div [ngClass]=\"{'w-sidebar-content grid' : activeGrid}\">\r\n <ng-content></ng-content>\r\n </div>\r\n </ng-template>\r\n\r\n <ng-template pTemplate=\"footer\"></ng-template>\r\n</p-sidebar>\r\n", styles: [".heading1{font-size:3.1428571429rem;line-height:3.4285714286rem;font-weight:700}.heading2{font-size:2.8571428571rem;line-height:3.1428571429rem;font-weight:700}.heading3{font-size:2.5714285714rem;line-height:2.8571428571rem;font-weight:700}.heading4{font-size:2.2857142857rem;line-height:2.5714285714rem;font-weight:700}.heading5{font-size:2rem;line-height:2.2857142857rem;font-weight:700}.heading6{font-size:1.7142857143rem;line-height:2rem;font-weight:700}.subtitle1{font-size:1.4285714286rem;line-height:1.7142857143rem;font-weight:700}.subtitle2{font-size:1.1428571429rem;line-height:1.4285714286rem;font-weight:700}.body,.input-generic-placeholder-small,.input-generic-small{font-size:1rem;line-height:1.1428571429rem;font-weight:600}.caption{font-size:.8571428571rem;line-height:1.1428571429rem;font-weight:600}.select-option-text{font-size:16;line-height:24px;font-weight:600}.icon-small-size{font-size:8px}.icon-small-x-size{font-size:12px}.icon-medium-size{font-size:16px}.icon-large-size{font-size:24px}.spacingXXS{padding:4px}.spacingXSM{padding:6px}.spacingXS{padding:8px}.spacingS{padding:12px}.spacingM{padding:16px}.spacingL{padding:20px}.spacingXL{padding:24px}.spacingXXL{padding:28px}.spacingXXXL{padding:32px}.focus{box-shadow:0 0 8px #00a6e980}.hover{border-radius:8px;border:2px solid #00b2eb}.button-large-typography{font-size:20px;line-height:24px;font-weight:700}.button-medium-typography{font-size:16px;line-height:16px;font-weight:700}.button-small-typography{font-size:12px;line-height:16px;font-weight:700}.button-text-typography,.input-generic-label{font-size:14px;line-height:16px;font-weight:700}.input-generic-placeholder{font-size:16px;line-height:24px;font-weight:600;color:#bdc1c6!important;opacity:unset!important}.input-generic{font-size:16px;line-height:24px;font-weight:600}.input-generic-placeholder-small{padding:8px 12px 12px;color:#bdc1c6!important}.input-generic-valid{border-radius:8px;border:2px solid #B3FFD3}.input-generic-valid-focus{border-radius:8px;border:2px solid #B3FFD3!important;box-shadow:0 0 8px #46ff9b80!important;padding-left:16px}.input-generic-warning{border-radius:8px;border:2px solid #FFECB8!important}.input-generic-warning-focus{border-radius:8px;border:2px solid #FFECB8!important;box-shadow:0 0 8px #ffcd4680!important;padding-left:16px}.input-generic-error-focus{border-radius:8px;border:2px solid #FFBDBD!important;box-shadow:0 0 8px #ff555580!important;padding-left:16px}.input-generic-error{border-radius:8px;border:2px solid #FFBDBD}.tag-generic{font-size:14px;line-height:16px;font-weight:700}.tag-generic-small{font-size:12px;line-height:16px;font-weight:700}.toggle-small-typography{font-size:12px;line-height:16px;font-weight:600}.w-generic-input-no-label-height{height:36px}:host ::ng-deep .wapp-sidebar .p-sidebar-header{padding:40px}:host ::ng-deep .wapp-sidebar .p-sidebar-content{padding:0 40px}:host ::ng-deep .p-sidebar-footer{padding:60px!important}:host ::ng-deep .w-sidebar-content .col-1{padding:4px 20px}:host ::ng-deep .w-sidebar-content .col-2{padding:4px 20px}:host ::ng-deep .w-sidebar-content .col-3{padding:4px 20px}:host ::ng-deep .w-sidebar-content .col-4{padding:4px 20px}:host ::ng-deep .w-sidebar-content .col-5{padding:4px 20px}:host ::ng-deep .w-sidebar-content .col-6{padding:4px 20px}:host ::ng-deep .w-sidebar-content .col-7{padding:4px 20px}:host ::ng-deep .w-sidebar-content .col-8{padding:4px 20px}:host ::ng-deep .w-sidebar-content .col-9{padding:4px 20px}:host ::ng-deep .w-sidebar-content .col-10{padding:4px 20px}:host ::ng-deep .w-sidebar-content .col-11{padding:4px 20px}:host ::ng-deep .w-sidebar-content .col-12{padding:4px 20px}:host ::ng-deep .w-sidebar-content.grid{display:flex;flex-wrap:wrap;margin-right:-20px;margin-left:-20px;margin-top:-4px}.w-sidebar-icon{margin-right:12px}\n"] }]
|
|
33
51
|
}], ctorParameters: function () { return []; }, propDecorators: { headerTitle: [{
|
|
34
52
|
type: Input,
|
|
35
53
|
args: ['headerTitle']
|
|
@@ -42,9 +60,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImpor
|
|
|
42
60
|
}], styleClass: [{
|
|
43
61
|
type: Input,
|
|
44
62
|
args: ['styleClass']
|
|
63
|
+
}], icon: [{
|
|
64
|
+
type: Input,
|
|
65
|
+
args: ['icon']
|
|
45
66
|
}], visibleChange: [{
|
|
46
67
|
type: Output
|
|
47
68
|
}], visible: [{
|
|
48
69
|
type: Input
|
|
49
70
|
}] } });
|
|
50
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
71
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidy1zaWRlYmFyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy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Atc2lkZWJhcj5cclxuIl19
|
|
@@ -7,10 +7,10 @@ export class WViewTextComponent {
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
WViewTextComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: WViewTextComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
10
|
-
WViewTextComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: WViewTextComponent, selector: "w-view-text", inputs: { label: "label", value: "value", layout: "layout" }, ngImport: i0, template: "<div *ngIf=\"layout == 'horizontal'; else vertical\" class=\"w-view-text-content grid flex align-content-center\">\n <div class=\"col-4 body\">\n <p class=\"w-view-text-label-color\"> {{label}} </p>\n </div>\n <div class=\"col-8 body\">\n <p> {{value}} </p>\n </div>\n</div>\n<ng-template #vertical>\n <div class=\"p-fluid field\">\n <div class=\"w-view-text-label\">\n <p class=\"caption w-view-text-label-color\"> {{label}} </p>\n </div>\n <div class=\"w-view-text-value\">\n <p class=\"body\"> {{value}} </p>\n </div>\n </div>\n</ng-template>", styles: [".heading1{font-size:3.1428571429rem;line-height:3.4285714286rem;font-weight:700}.heading2{font-size:2.8571428571rem;line-height:3.1428571429rem;font-weight:700}.heading3{font-size:2.5714285714rem;line-height:2.8571428571rem;font-weight:700}.heading4{font-size:2.2857142857rem;line-height:2.5714285714rem;font-weight:700}.heading5{font-size:2rem;line-height:2.2857142857rem;font-weight:700}.heading6{font-size:1.7142857143rem;line-height:2rem;font-weight:700}.subtitle1{font-size:1.4285714286rem;line-height:1.7142857143rem;font-weight:700}.subtitle2{font-size:1.1428571429rem;line-height:1.4285714286rem;font-weight:700}.body,.input-generic-placeholder-small,.input-generic-small{font-size:1rem;line-height:1.1428571429rem;font-weight:600}.caption{font-size:.8571428571rem;line-height:1.1428571429rem;font-weight:600}.select-option-text{font-size:16;line-height:24px;font-weight:600}.icon-small-size{font-size:8px}.icon-small-x-size{font-size:12px}.icon-medium-size{font-size:16px}.icon-large-size{font-size:24px}.spacingXXS{padding:4px}.spacingXSM{padding:6px}.spacingXS{padding:8px}.spacingS{padding:12px}.spacingM{padding:16px}.spacingL{padding:20px}.spacingXL{padding:24px}.spacingXXL{padding:28px}.spacingXXXL{padding:32px}.focus{box-shadow:0 0 8px #00a6e980}.hover{border-radius:8px;border:2px solid #00b2eb}.button-large-typography{font-size:20px;line-height:24px;font-weight:700}.button-medium-typography{font-size:16px;line-height:16px;font-weight:700}.button-small-typography{font-size:12px;line-height:16px;font-weight:700}.button-text-typography,.input-generic-label{font-size:14px;line-height:16px;font-weight:700}.input-generic-placeholder{font-size:16px;line-height:24px;font-weight:600;color:#bdc1c6!important;opacity:unset!important}.input-generic{font-size:16px;line-height:24px;font-weight:600}.input-generic-placeholder-small{padding:8px 12px 12px;color:#bdc1c6!important}.input-generic-valid{border-radius:8px;border:2px solid #B3FFD3}.input-generic-valid-focus{border-radius:8px;border:2px solid #B3FFD3!important;box-shadow:0 0 8px #46ff9b80!important;padding-left:16px}.input-generic-warning{border-radius:8px;border:2px solid #FFECB8!important}.input-generic-warning-focus{border-radius:8px;border:2px solid #FFECB8!important;box-shadow:0 0 8px #ffcd4680!important;padding-left:16px}.input-generic-error-focus{border-radius:8px;border:2px solid #FFBDBD!important;box-shadow:0 0 8px #ff555580!important;padding-left:16px}.input-generic-error{border-radius:8px;border:2px solid #FFBDBD}.tag-generic{font-size:14px;line-height:16px;font-weight:700}.tag-generic-small{font-size:12px;line-height:16px;font-weight:700}.toggle-small-typography{font-size:12px;line-height:16px;font-weight:600}.w-generic-input-no-label-height{height:36px}.w-view-text-label{height:36px;padding:4px 0}.w-view-text-label-color{color:#bdc1c6}.w-view-text-value{height:40px;padding:4px 0}.w-view-text-content{height:40px}:host ::ng-deep .w-view-text-content .col-4{padding:4px 20px!important}:host ::ng-deep .w-view-text-content .col-8{padding:4px 20px!important}:host ::ng-deep .w-view-text-content.grid{display:flex;flex-wrap:wrap;margin:-4px -20px!important}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
10
|
+
WViewTextComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: WViewTextComponent, selector: "w-view-text", inputs: { label: "label", value: "value", layout: "layout" }, ngImport: i0, template: "<div *ngIf=\"layout == 'horizontal'; else vertical\" class=\"w-view-text-content grid flex align-content-center\">\r\n <div class=\"col-4 body\">\r\n <p class=\"w-view-text-label-color\"> {{label}} </p>\r\n </div>\r\n <div class=\"col-8 body\">\r\n <p> {{value}} </p>\r\n </div>\r\n</div>\r\n<ng-template #vertical>\r\n <div class=\"p-fluid field\">\r\n <div class=\"w-view-text-label\">\r\n <p class=\"caption w-view-text-label-color\"> {{label}} </p>\r\n </div>\r\n <div class=\"w-view-text-value\">\r\n <p class=\"body\"> {{value}} </p>\r\n </div>\r\n </div>\r\n</ng-template>", styles: [".heading1{font-size:3.1428571429rem;line-height:3.4285714286rem;font-weight:700}.heading2{font-size:2.8571428571rem;line-height:3.1428571429rem;font-weight:700}.heading3{font-size:2.5714285714rem;line-height:2.8571428571rem;font-weight:700}.heading4{font-size:2.2857142857rem;line-height:2.5714285714rem;font-weight:700}.heading5{font-size:2rem;line-height:2.2857142857rem;font-weight:700}.heading6{font-size:1.7142857143rem;line-height:2rem;font-weight:700}.subtitle1{font-size:1.4285714286rem;line-height:1.7142857143rem;font-weight:700}.subtitle2{font-size:1.1428571429rem;line-height:1.4285714286rem;font-weight:700}.body,.input-generic-placeholder-small,.input-generic-small{font-size:1rem;line-height:1.1428571429rem;font-weight:600}.caption{font-size:.8571428571rem;line-height:1.1428571429rem;font-weight:600}.select-option-text{font-size:16;line-height:24px;font-weight:600}.icon-small-size{font-size:8px}.icon-small-x-size{font-size:12px}.icon-medium-size{font-size:16px}.icon-large-size{font-size:24px}.spacingXXS{padding:4px}.spacingXSM{padding:6px}.spacingXS{padding:8px}.spacingS{padding:12px}.spacingM{padding:16px}.spacingL{padding:20px}.spacingXL{padding:24px}.spacingXXL{padding:28px}.spacingXXXL{padding:32px}.focus{box-shadow:0 0 8px #00a6e980}.hover{border-radius:8px;border:2px solid #00b2eb}.button-large-typography{font-size:20px;line-height:24px;font-weight:700}.button-medium-typography{font-size:16px;line-height:16px;font-weight:700}.button-small-typography{font-size:12px;line-height:16px;font-weight:700}.button-text-typography,.input-generic-label{font-size:14px;line-height:16px;font-weight:700}.input-generic-placeholder{font-size:16px;line-height:24px;font-weight:600;color:#bdc1c6!important;opacity:unset!important}.input-generic{font-size:16px;line-height:24px;font-weight:600}.input-generic-placeholder-small{padding:8px 12px 12px;color:#bdc1c6!important}.input-generic-valid{border-radius:8px;border:2px solid #B3FFD3}.input-generic-valid-focus{border-radius:8px;border:2px solid #B3FFD3!important;box-shadow:0 0 8px #46ff9b80!important;padding-left:16px}.input-generic-warning{border-radius:8px;border:2px solid #FFECB8!important}.input-generic-warning-focus{border-radius:8px;border:2px solid #FFECB8!important;box-shadow:0 0 8px #ffcd4680!important;padding-left:16px}.input-generic-error-focus{border-radius:8px;border:2px solid #FFBDBD!important;box-shadow:0 0 8px #ff555580!important;padding-left:16px}.input-generic-error{border-radius:8px;border:2px solid #FFBDBD}.tag-generic{font-size:14px;line-height:16px;font-weight:700}.tag-generic-small{font-size:12px;line-height:16px;font-weight:700}.toggle-small-typography{font-size:12px;line-height:16px;font-weight:600}.w-generic-input-no-label-height{height:36px}.w-view-text-label{height:36px;padding:4px 0}.w-view-text-label-color{color:#bdc1c6}.w-view-text-value{height:40px;padding:4px 0}.w-view-text-content{height:40px}:host ::ng-deep .w-view-text-content .col-4{padding:4px 20px!important}:host ::ng-deep .w-view-text-content .col-8{padding:4px 20px!important}:host ::ng-deep .w-view-text-content.grid{display:flex;flex-wrap:wrap;margin:-4px -20px!important}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
11
11
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: WViewTextComponent, decorators: [{
|
|
12
12
|
type: Component,
|
|
13
|
-
args: [{ selector: 'w-view-text', template: "<div *ngIf=\"layout == 'horizontal'; else vertical\" class=\"w-view-text-content grid flex align-content-center\">\n <div class=\"col-4 body\">\n <p class=\"w-view-text-label-color\"> {{label}} </p>\n </div>\n <div class=\"col-8 body\">\n <p> {{value}} </p>\n </div>\n</div>\n<ng-template #vertical>\n <div class=\"p-fluid field\">\n <div class=\"w-view-text-label\">\n <p class=\"caption w-view-text-label-color\"> {{label}} </p>\n </div>\n <div class=\"w-view-text-value\">\n <p class=\"body\"> {{value}} </p>\n </div>\n </div>\n</ng-template>", styles: [".heading1{font-size:3.1428571429rem;line-height:3.4285714286rem;font-weight:700}.heading2{font-size:2.8571428571rem;line-height:3.1428571429rem;font-weight:700}.heading3{font-size:2.5714285714rem;line-height:2.8571428571rem;font-weight:700}.heading4{font-size:2.2857142857rem;line-height:2.5714285714rem;font-weight:700}.heading5{font-size:2rem;line-height:2.2857142857rem;font-weight:700}.heading6{font-size:1.7142857143rem;line-height:2rem;font-weight:700}.subtitle1{font-size:1.4285714286rem;line-height:1.7142857143rem;font-weight:700}.subtitle2{font-size:1.1428571429rem;line-height:1.4285714286rem;font-weight:700}.body,.input-generic-placeholder-small,.input-generic-small{font-size:1rem;line-height:1.1428571429rem;font-weight:600}.caption{font-size:.8571428571rem;line-height:1.1428571429rem;font-weight:600}.select-option-text{font-size:16;line-height:24px;font-weight:600}.icon-small-size{font-size:8px}.icon-small-x-size{font-size:12px}.icon-medium-size{font-size:16px}.icon-large-size{font-size:24px}.spacingXXS{padding:4px}.spacingXSM{padding:6px}.spacingXS{padding:8px}.spacingS{padding:12px}.spacingM{padding:16px}.spacingL{padding:20px}.spacingXL{padding:24px}.spacingXXL{padding:28px}.spacingXXXL{padding:32px}.focus{box-shadow:0 0 8px #00a6e980}.hover{border-radius:8px;border:2px solid #00b2eb}.button-large-typography{font-size:20px;line-height:24px;font-weight:700}.button-medium-typography{font-size:16px;line-height:16px;font-weight:700}.button-small-typography{font-size:12px;line-height:16px;font-weight:700}.button-text-typography,.input-generic-label{font-size:14px;line-height:16px;font-weight:700}.input-generic-placeholder{font-size:16px;line-height:24px;font-weight:600;color:#bdc1c6!important;opacity:unset!important}.input-generic{font-size:16px;line-height:24px;font-weight:600}.input-generic-placeholder-small{padding:8px 12px 12px;color:#bdc1c6!important}.input-generic-valid{border-radius:8px;border:2px solid #B3FFD3}.input-generic-valid-focus{border-radius:8px;border:2px solid #B3FFD3!important;box-shadow:0 0 8px #46ff9b80!important;padding-left:16px}.input-generic-warning{border-radius:8px;border:2px solid #FFECB8!important}.input-generic-warning-focus{border-radius:8px;border:2px solid #FFECB8!important;box-shadow:0 0 8px #ffcd4680!important;padding-left:16px}.input-generic-error-focus{border-radius:8px;border:2px solid #FFBDBD!important;box-shadow:0 0 8px #ff555580!important;padding-left:16px}.input-generic-error{border-radius:8px;border:2px solid #FFBDBD}.tag-generic{font-size:14px;line-height:16px;font-weight:700}.tag-generic-small{font-size:12px;line-height:16px;font-weight:700}.toggle-small-typography{font-size:12px;line-height:16px;font-weight:600}.w-generic-input-no-label-height{height:36px}.w-view-text-label{height:36px;padding:4px 0}.w-view-text-label-color{color:#bdc1c6}.w-view-text-value{height:40px;padding:4px 0}.w-view-text-content{height:40px}:host ::ng-deep .w-view-text-content .col-4{padding:4px 20px!important}:host ::ng-deep .w-view-text-content .col-8{padding:4px 20px!important}:host ::ng-deep .w-view-text-content.grid{display:flex;flex-wrap:wrap;margin:-4px -20px!important}\n"] }]
|
|
13
|
+
args: [{ selector: 'w-view-text', template: "<div *ngIf=\"layout == 'horizontal'; else vertical\" class=\"w-view-text-content grid flex align-content-center\">\r\n <div class=\"col-4 body\">\r\n <p class=\"w-view-text-label-color\"> {{label}} </p>\r\n </div>\r\n <div class=\"col-8 body\">\r\n <p> {{value}} </p>\r\n </div>\r\n</div>\r\n<ng-template #vertical>\r\n <div class=\"p-fluid field\">\r\n <div class=\"w-view-text-label\">\r\n <p class=\"caption w-view-text-label-color\"> {{label}} </p>\r\n </div>\r\n <div class=\"w-view-text-value\">\r\n <p class=\"body\"> {{value}} </p>\r\n </div>\r\n </div>\r\n</ng-template>", styles: [".heading1{font-size:3.1428571429rem;line-height:3.4285714286rem;font-weight:700}.heading2{font-size:2.8571428571rem;line-height:3.1428571429rem;font-weight:700}.heading3{font-size:2.5714285714rem;line-height:2.8571428571rem;font-weight:700}.heading4{font-size:2.2857142857rem;line-height:2.5714285714rem;font-weight:700}.heading5{font-size:2rem;line-height:2.2857142857rem;font-weight:700}.heading6{font-size:1.7142857143rem;line-height:2rem;font-weight:700}.subtitle1{font-size:1.4285714286rem;line-height:1.7142857143rem;font-weight:700}.subtitle2{font-size:1.1428571429rem;line-height:1.4285714286rem;font-weight:700}.body,.input-generic-placeholder-small,.input-generic-small{font-size:1rem;line-height:1.1428571429rem;font-weight:600}.caption{font-size:.8571428571rem;line-height:1.1428571429rem;font-weight:600}.select-option-text{font-size:16;line-height:24px;font-weight:600}.icon-small-size{font-size:8px}.icon-small-x-size{font-size:12px}.icon-medium-size{font-size:16px}.icon-large-size{font-size:24px}.spacingXXS{padding:4px}.spacingXSM{padding:6px}.spacingXS{padding:8px}.spacingS{padding:12px}.spacingM{padding:16px}.spacingL{padding:20px}.spacingXL{padding:24px}.spacingXXL{padding:28px}.spacingXXXL{padding:32px}.focus{box-shadow:0 0 8px #00a6e980}.hover{border-radius:8px;border:2px solid #00b2eb}.button-large-typography{font-size:20px;line-height:24px;font-weight:700}.button-medium-typography{font-size:16px;line-height:16px;font-weight:700}.button-small-typography{font-size:12px;line-height:16px;font-weight:700}.button-text-typography,.input-generic-label{font-size:14px;line-height:16px;font-weight:700}.input-generic-placeholder{font-size:16px;line-height:24px;font-weight:600;color:#bdc1c6!important;opacity:unset!important}.input-generic{font-size:16px;line-height:24px;font-weight:600}.input-generic-placeholder-small{padding:8px 12px 12px;color:#bdc1c6!important}.input-generic-valid{border-radius:8px;border:2px solid #B3FFD3}.input-generic-valid-focus{border-radius:8px;border:2px solid #B3FFD3!important;box-shadow:0 0 8px #46ff9b80!important;padding-left:16px}.input-generic-warning{border-radius:8px;border:2px solid #FFECB8!important}.input-generic-warning-focus{border-radius:8px;border:2px solid #FFECB8!important;box-shadow:0 0 8px #ffcd4680!important;padding-left:16px}.input-generic-error-focus{border-radius:8px;border:2px solid #FFBDBD!important;box-shadow:0 0 8px #ff555580!important;padding-left:16px}.input-generic-error{border-radius:8px;border:2px solid #FFBDBD}.tag-generic{font-size:14px;line-height:16px;font-weight:700}.tag-generic-small{font-size:12px;line-height:16px;font-weight:700}.toggle-small-typography{font-size:12px;line-height:16px;font-weight:600}.w-generic-input-no-label-height{height:36px}.w-view-text-label{height:36px;padding:4px 0}.w-view-text-label-color{color:#bdc1c6}.w-view-text-value{height:40px;padding:4px 0}.w-view-text-content{height:40px}:host ::ng-deep .w-view-text-content .col-4{padding:4px 20px!important}:host ::ng-deep .w-view-text-content .col-8{padding:4px 20px!important}:host ::ng-deep .w-view-text-content.grid{display:flex;flex-wrap:wrap;margin:-4px -20px!important}\n"] }]
|
|
14
14
|
}], propDecorators: { label: [{
|
|
15
15
|
type: Input,
|
|
16
16
|
args: ['label']
|
|
@@ -21,4 +21,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImpor
|
|
|
21
21
|
type: Input,
|
|
22
22
|
args: ['layout']
|
|
23
23
|
}] } });
|
|
24
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
24
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidy12aWV3LXRleHQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvd2FwcC1jb21wb25lbnRzL3NyY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bGF5b3V0JykgbGF5b3V0OiBzdHJpbmcgPSAnaG9yaXpvbnRhbCc7XHJcbn1cclxuIiwiPGRpdiAqbmdJZj1cImxheW91dCA9PSAnaG9yaXpvbnRhbCc7IGVsc2UgdmVydGljYWxcIiBjbGFzcz1cInctdmlldy10ZXh0LWNvbnRlbnQgZ3JpZCBmbGV4IGFsaWduLWNvbnRlbnQtY2VudGVyXCI+XHJcbiAgICA8ZGl2IGNsYXNzPVwiY29sLTQgYm9keVwiPlxyXG4gICAgICAgIDxwIGNsYXNzPVwidy12aWV3LXRleHQtbGFiZWwtY29sb3JcIj4ge3tsYWJlbH19IDwvcD5cclxuICAgIDwvZGl2PlxyXG4gICAgPGRpdiBjbGFzcz1cImNvbC04IGJvZHlcIj5cclxuICAgICAgICA8cD4ge3t2YWx1ZX19IDwvcD5cclxuICAgIDwvZGl2PlxyXG48L2Rpdj5cclxuPG5nLXRlbXBsYXRlICN2ZXJ0aWNhbD5cclxuICAgIDxkaXYgY2xhc3M9XCJwLWZsdWlkIGZpZWxkXCI+XHJcbiAgICAgICAgPGRpdiBjbGFzcz1cInctdmlldy10ZXh0LWxhYmVsXCI+XHJcbiAgICAgICAgICAgIDxwIGNsYXNzPVwiY2FwdGlvbiB3LXZpZXctdGV4dC1sYWJlbC1jb2xvclwiPiB7e2xhYmVsfX0gPC9wPlxyXG4gICAgICAgIDwvZGl2PlxyXG4gICAgICAgIDxkaXYgY2xhc3M9XCJ3LXZpZXctdGV4dC12YWx1ZVwiPlxyXG4gICAgICAgICAgICA8cCBjbGFzcz1cImJvZHlcIj4ge3t2YWx1ZX19IDwvcD5cclxuICAgICAgICA8L2Rpdj5cclxuICAgIDwvZGl2PlxyXG48L25nLXRlbXBsYXRlPiJdfQ==
|
|
@@ -135,7 +135,13 @@ var ButtonType;
|
|
|
135
135
|
ButtonType[ButtonType["secondary"] = 1] = "secondary";
|
|
136
136
|
ButtonType[ButtonType["tertiary"] = 2] = "tertiary";
|
|
137
137
|
ButtonType[ButtonType["text"] = 3] = "text";
|
|
138
|
-
})(ButtonType || (ButtonType = {}));
|
|
138
|
+
})(ButtonType || (ButtonType = {}));
|
|
139
|
+
var IconType;
|
|
140
|
+
(function (IconType) {
|
|
141
|
+
IconType[IconType["pIcon"] = 0] = "pIcon";
|
|
142
|
+
IconType[IconType["urlIcon"] = 1] = "urlIcon";
|
|
143
|
+
IconType[IconType["wIcon"] = 2] = "wIcon";
|
|
144
|
+
})(IconType || (IconType = {}));
|
|
139
145
|
|
|
140
146
|
class WEditInputTextComponent {
|
|
141
147
|
constructor() {
|
|
@@ -3451,7 +3457,8 @@ class WSidebarComponent {
|
|
|
3451
3457
|
constructor() {
|
|
3452
3458
|
this.activeGrid = false;
|
|
3453
3459
|
this.closeOnOverlay = false;
|
|
3454
|
-
this.styleClass = "w-full md:w-
|
|
3460
|
+
this.styleClass = "w-full md:w-6 lg:w-5";
|
|
3461
|
+
this.iconType = IconType;
|
|
3455
3462
|
this.visibleChange = new EventEmitter();
|
|
3456
3463
|
this._visible = false;
|
|
3457
3464
|
}
|
|
@@ -3468,12 +3475,27 @@ class WSidebarComponent {
|
|
|
3468
3475
|
onClose() {
|
|
3469
3476
|
this.visible = false;
|
|
3470
3477
|
}
|
|
3478
|
+
getIconType() {
|
|
3479
|
+
if (this.icon.includes("pi pi-")) {
|
|
3480
|
+
return IconType.pIcon;
|
|
3481
|
+
}
|
|
3482
|
+
else if (this.isURL(this.icon)) {
|
|
3483
|
+
return IconType.urlIcon;
|
|
3484
|
+
}
|
|
3485
|
+
else {
|
|
3486
|
+
return IconType.wIcon;
|
|
3487
|
+
}
|
|
3488
|
+
}
|
|
3489
|
+
isURL(url) {
|
|
3490
|
+
const patronURL = /^(ftp|http|https):\/\/[^ "]+$/;
|
|
3491
|
+
return patronURL.test(url);
|
|
3492
|
+
}
|
|
3471
3493
|
}
|
|
3472
3494
|
WSidebarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: WSidebarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3473
|
-
WSidebarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: WSidebarComponent, selector: "w-sidebar", inputs: { headerTitle: "headerTitle", activeGrid: "activeGrid", closeOnOverlay: "closeOnOverlay", styleClass: "styleClass", visible: "visible" }, outputs: { visibleChange: "visibleChange" }, ngImport: i0, template: "<p-sidebar [(visible)]=\"visible\" position=\"right\" [modal]=\"true\" [blockScroll]=\"true\" [dismissible]=\"closeOnOverlay\" [styleClass]=\"styleClass\" class=\"wapp-sidebar\">\r\n <ng-template pTemplate=\"header\"
|
|
3495
|
+
WSidebarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: WSidebarComponent, selector: "w-sidebar", inputs: { headerTitle: "headerTitle", activeGrid: "activeGrid", closeOnOverlay: "closeOnOverlay", styleClass: "styleClass", icon: "icon", visible: "visible" }, outputs: { visibleChange: "visibleChange" }, ngImport: i0, template: "<p-sidebar [(visible)]=\"visible\" position=\"right\" [modal]=\"true\" [blockScroll]=\"true\" [dismissible]=\"closeOnOverlay\" [styleClass]=\"styleClass\" class=\"wapp-sidebar\">\r\n <ng-template pTemplate=\"header\">\r\n <span *ngIf=\"icon && getIconType() == iconType.pIcon\" class=\"w-sidebar-icon icon-large-size\" [ngClass]=\"icon\"></span>\r\n <img *ngIf=\"icon && getIconType() == iconType.urlIcon\" class=\"w-sidebar-icon\" [src]=\"icon\" width=\"24\" height=\"24\">\r\n <w-icons *ngIf=\"icon && getIconType() == iconType.wIcon\" class=\"w-sidebar-icon\" [name]=\"icon\" [width]=\"24\" [height]=\"24\"></w-icons>\r\n\r\n <span class=\"subtitle1 m-0\">{{headerTitle}}</span>\r\n </ng-template>\r\n \r\n <ng-template pTemplate=\"content\">\r\n <div [ngClass]=\"{'w-sidebar-content grid' : activeGrid}\">\r\n <ng-content></ng-content>\r\n </div>\r\n </ng-template>\r\n\r\n <ng-template pTemplate=\"footer\"></ng-template>\r\n</p-sidebar>\r\n", styles: [".heading1{font-size:3.1428571429rem;line-height:3.4285714286rem;font-weight:700}.heading2{font-size:2.8571428571rem;line-height:3.1428571429rem;font-weight:700}.heading3{font-size:2.5714285714rem;line-height:2.8571428571rem;font-weight:700}.heading4{font-size:2.2857142857rem;line-height:2.5714285714rem;font-weight:700}.heading5{font-size:2rem;line-height:2.2857142857rem;font-weight:700}.heading6{font-size:1.7142857143rem;line-height:2rem;font-weight:700}.subtitle1{font-size:1.4285714286rem;line-height:1.7142857143rem;font-weight:700}.subtitle2{font-size:1.1428571429rem;line-height:1.4285714286rem;font-weight:700}.body,.input-generic-placeholder-small,.input-generic-small{font-size:1rem;line-height:1.1428571429rem;font-weight:600}.caption{font-size:.8571428571rem;line-height:1.1428571429rem;font-weight:600}.select-option-text{font-size:16;line-height:24px;font-weight:600}.icon-small-size{font-size:8px}.icon-small-x-size{font-size:12px}.icon-medium-size{font-size:16px}.icon-large-size{font-size:24px}.spacingXXS{padding:4px}.spacingXSM{padding:6px}.spacingXS{padding:8px}.spacingS{padding:12px}.spacingM{padding:16px}.spacingL{padding:20px}.spacingXL{padding:24px}.spacingXXL{padding:28px}.spacingXXXL{padding:32px}.focus{box-shadow:0 0 8px #00a6e980}.hover{border-radius:8px;border:2px solid #00b2eb}.button-large-typography{font-size:20px;line-height:24px;font-weight:700}.button-medium-typography{font-size:16px;line-height:16px;font-weight:700}.button-small-typography{font-size:12px;line-height:16px;font-weight:700}.button-text-typography,.input-generic-label{font-size:14px;line-height:16px;font-weight:700}.input-generic-placeholder{font-size:16px;line-height:24px;font-weight:600;color:#bdc1c6!important;opacity:unset!important}.input-generic{font-size:16px;line-height:24px;font-weight:600}.input-generic-placeholder-small{padding:8px 12px 12px;color:#bdc1c6!important}.input-generic-valid{border-radius:8px;border:2px solid #B3FFD3}.input-generic-valid-focus{border-radius:8px;border:2px solid #B3FFD3!important;box-shadow:0 0 8px #46ff9b80!important;padding-left:16px}.input-generic-warning{border-radius:8px;border:2px solid #FFECB8!important}.input-generic-warning-focus{border-radius:8px;border:2px solid #FFECB8!important;box-shadow:0 0 8px #ffcd4680!important;padding-left:16px}.input-generic-error-focus{border-radius:8px;border:2px solid #FFBDBD!important;box-shadow:0 0 8px #ff555580!important;padding-left:16px}.input-generic-error{border-radius:8px;border:2px solid #FFBDBD}.tag-generic{font-size:14px;line-height:16px;font-weight:700}.tag-generic-small{font-size:12px;line-height:16px;font-weight:700}.toggle-small-typography{font-size:12px;line-height:16px;font-weight:600}.w-generic-input-no-label-height{height:36px}:host ::ng-deep .wapp-sidebar .p-sidebar-header{padding:40px}:host ::ng-deep .wapp-sidebar .p-sidebar-content{padding:0 40px}:host ::ng-deep .p-sidebar-footer{padding:60px!important}:host ::ng-deep .w-sidebar-content .col-1{padding:4px 20px}:host ::ng-deep .w-sidebar-content .col-2{padding:4px 20px}:host ::ng-deep .w-sidebar-content .col-3{padding:4px 20px}:host ::ng-deep .w-sidebar-content .col-4{padding:4px 20px}:host ::ng-deep .w-sidebar-content .col-5{padding:4px 20px}:host ::ng-deep .w-sidebar-content .col-6{padding:4px 20px}:host ::ng-deep .w-sidebar-content .col-7{padding:4px 20px}:host ::ng-deep .w-sidebar-content .col-8{padding:4px 20px}:host ::ng-deep .w-sidebar-content .col-9{padding:4px 20px}:host ::ng-deep .w-sidebar-content .col-10{padding:4px 20px}:host ::ng-deep .w-sidebar-content .col-11{padding:4px 20px}:host ::ng-deep .w-sidebar-content .col-12{padding:4px 20px}:host ::ng-deep .w-sidebar-content.grid{display:flex;flex-wrap:wrap;margin-right:-20px;margin-left:-20px;margin-top:-4px}.w-sidebar-icon{margin-right:12px}\n"], dependencies: [{ kind: "directive", type: i2$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1$2.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i3$6.Sidebar, selector: "p-sidebar", inputs: ["appendTo", "blockScroll", "style", "styleClass", "ariaCloseLabel", "autoZIndex", "baseZIndex", "modal", "dismissible", "showCloseIcon", "closeOnEscape", "transitionOptions", "visible", "position", "fullScreen"], outputs: ["onShow", "onHide", "visibleChange"] }, { kind: "component", type: WIconsComponent, selector: "w-icons", inputs: ["name", "width", "height", "color"] }] });
|
|
3474
3496
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: WSidebarComponent, decorators: [{
|
|
3475
3497
|
type: Component,
|
|
3476
|
-
args: [{ selector: 'w-sidebar', template: "<p-sidebar [(visible)]=\"visible\" position=\"right\" [modal]=\"true\" [blockScroll]=\"true\" [dismissible]=\"closeOnOverlay\" [styleClass]=\"styleClass\" class=\"wapp-sidebar\">\r\n <ng-template pTemplate=\"header\"
|
|
3498
|
+
args: [{ selector: 'w-sidebar', template: "<p-sidebar [(visible)]=\"visible\" position=\"right\" [modal]=\"true\" [blockScroll]=\"true\" [dismissible]=\"closeOnOverlay\" [styleClass]=\"styleClass\" class=\"wapp-sidebar\">\r\n <ng-template pTemplate=\"header\">\r\n <span *ngIf=\"icon && getIconType() == iconType.pIcon\" class=\"w-sidebar-icon icon-large-size\" [ngClass]=\"icon\"></span>\r\n <img *ngIf=\"icon && getIconType() == iconType.urlIcon\" class=\"w-sidebar-icon\" [src]=\"icon\" width=\"24\" height=\"24\">\r\n <w-icons *ngIf=\"icon && getIconType() == iconType.wIcon\" class=\"w-sidebar-icon\" [name]=\"icon\" [width]=\"24\" [height]=\"24\"></w-icons>\r\n\r\n <span class=\"subtitle1 m-0\">{{headerTitle}}</span>\r\n </ng-template>\r\n \r\n <ng-template pTemplate=\"content\">\r\n <div [ngClass]=\"{'w-sidebar-content grid' : activeGrid}\">\r\n <ng-content></ng-content>\r\n </div>\r\n </ng-template>\r\n\r\n <ng-template pTemplate=\"footer\"></ng-template>\r\n</p-sidebar>\r\n", styles: [".heading1{font-size:3.1428571429rem;line-height:3.4285714286rem;font-weight:700}.heading2{font-size:2.8571428571rem;line-height:3.1428571429rem;font-weight:700}.heading3{font-size:2.5714285714rem;line-height:2.8571428571rem;font-weight:700}.heading4{font-size:2.2857142857rem;line-height:2.5714285714rem;font-weight:700}.heading5{font-size:2rem;line-height:2.2857142857rem;font-weight:700}.heading6{font-size:1.7142857143rem;line-height:2rem;font-weight:700}.subtitle1{font-size:1.4285714286rem;line-height:1.7142857143rem;font-weight:700}.subtitle2{font-size:1.1428571429rem;line-height:1.4285714286rem;font-weight:700}.body,.input-generic-placeholder-small,.input-generic-small{font-size:1rem;line-height:1.1428571429rem;font-weight:600}.caption{font-size:.8571428571rem;line-height:1.1428571429rem;font-weight:600}.select-option-text{font-size:16;line-height:24px;font-weight:600}.icon-small-size{font-size:8px}.icon-small-x-size{font-size:12px}.icon-medium-size{font-size:16px}.icon-large-size{font-size:24px}.spacingXXS{padding:4px}.spacingXSM{padding:6px}.spacingXS{padding:8px}.spacingS{padding:12px}.spacingM{padding:16px}.spacingL{padding:20px}.spacingXL{padding:24px}.spacingXXL{padding:28px}.spacingXXXL{padding:32px}.focus{box-shadow:0 0 8px #00a6e980}.hover{border-radius:8px;border:2px solid #00b2eb}.button-large-typography{font-size:20px;line-height:24px;font-weight:700}.button-medium-typography{font-size:16px;line-height:16px;font-weight:700}.button-small-typography{font-size:12px;line-height:16px;font-weight:700}.button-text-typography,.input-generic-label{font-size:14px;line-height:16px;font-weight:700}.input-generic-placeholder{font-size:16px;line-height:24px;font-weight:600;color:#bdc1c6!important;opacity:unset!important}.input-generic{font-size:16px;line-height:24px;font-weight:600}.input-generic-placeholder-small{padding:8px 12px 12px;color:#bdc1c6!important}.input-generic-valid{border-radius:8px;border:2px solid #B3FFD3}.input-generic-valid-focus{border-radius:8px;border:2px solid #B3FFD3!important;box-shadow:0 0 8px #46ff9b80!important;padding-left:16px}.input-generic-warning{border-radius:8px;border:2px solid #FFECB8!important}.input-generic-warning-focus{border-radius:8px;border:2px solid #FFECB8!important;box-shadow:0 0 8px #ffcd4680!important;padding-left:16px}.input-generic-error-focus{border-radius:8px;border:2px solid #FFBDBD!important;box-shadow:0 0 8px #ff555580!important;padding-left:16px}.input-generic-error{border-radius:8px;border:2px solid #FFBDBD}.tag-generic{font-size:14px;line-height:16px;font-weight:700}.tag-generic-small{font-size:12px;line-height:16px;font-weight:700}.toggle-small-typography{font-size:12px;line-height:16px;font-weight:600}.w-generic-input-no-label-height{height:36px}:host ::ng-deep .wapp-sidebar .p-sidebar-header{padding:40px}:host ::ng-deep .wapp-sidebar .p-sidebar-content{padding:0 40px}:host ::ng-deep .p-sidebar-footer{padding:60px!important}:host ::ng-deep .w-sidebar-content .col-1{padding:4px 20px}:host ::ng-deep .w-sidebar-content .col-2{padding:4px 20px}:host ::ng-deep .w-sidebar-content .col-3{padding:4px 20px}:host ::ng-deep .w-sidebar-content .col-4{padding:4px 20px}:host ::ng-deep .w-sidebar-content .col-5{padding:4px 20px}:host ::ng-deep .w-sidebar-content .col-6{padding:4px 20px}:host ::ng-deep .w-sidebar-content .col-7{padding:4px 20px}:host ::ng-deep .w-sidebar-content .col-8{padding:4px 20px}:host ::ng-deep .w-sidebar-content .col-9{padding:4px 20px}:host ::ng-deep .w-sidebar-content .col-10{padding:4px 20px}:host ::ng-deep .w-sidebar-content .col-11{padding:4px 20px}:host ::ng-deep .w-sidebar-content .col-12{padding:4px 20px}:host ::ng-deep .w-sidebar-content.grid{display:flex;flex-wrap:wrap;margin-right:-20px;margin-left:-20px;margin-top:-4px}.w-sidebar-icon{margin-right:12px}\n"] }]
|
|
3477
3499
|
}], ctorParameters: function () { return []; }, propDecorators: { headerTitle: [{
|
|
3478
3500
|
type: Input,
|
|
3479
3501
|
args: ['headerTitle']
|
|
@@ -3486,6 +3508,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImpor
|
|
|
3486
3508
|
}], styleClass: [{
|
|
3487
3509
|
type: Input,
|
|
3488
3510
|
args: ['styleClass']
|
|
3511
|
+
}], icon: [{
|
|
3512
|
+
type: Input,
|
|
3513
|
+
args: ['icon']
|
|
3489
3514
|
}], visibleChange: [{
|
|
3490
3515
|
type: Output
|
|
3491
3516
|
}], visible: [{
|
|
@@ -4524,10 +4549,10 @@ class WViewTextComponent {
|
|
|
4524
4549
|
}
|
|
4525
4550
|
}
|
|
4526
4551
|
WViewTextComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: WViewTextComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4527
|
-
WViewTextComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: WViewTextComponent, selector: "w-view-text", inputs: { label: "label", value: "value", layout: "layout" }, ngImport: i0, template: "<div *ngIf=\"layout == 'horizontal'; else vertical\" class=\"w-view-text-content grid flex align-content-center\">\n <div class=\"col-4 body\">\n <p class=\"w-view-text-label-color\"> {{label}} </p>\n </div>\n <div class=\"col-8 body\">\n <p> {{value}} </p>\n </div>\n</div>\n<ng-template #vertical>\n <div class=\"p-fluid field\">\n <div class=\"w-view-text-label\">\n <p class=\"caption w-view-text-label-color\"> {{label}} </p>\n </div>\n <div class=\"w-view-text-value\">\n <p class=\"body\"> {{value}} </p>\n </div>\n </div>\n</ng-template>", styles: [".heading1{font-size:3.1428571429rem;line-height:3.4285714286rem;font-weight:700}.heading2{font-size:2.8571428571rem;line-height:3.1428571429rem;font-weight:700}.heading3{font-size:2.5714285714rem;line-height:2.8571428571rem;font-weight:700}.heading4{font-size:2.2857142857rem;line-height:2.5714285714rem;font-weight:700}.heading5{font-size:2rem;line-height:2.2857142857rem;font-weight:700}.heading6{font-size:1.7142857143rem;line-height:2rem;font-weight:700}.subtitle1{font-size:1.4285714286rem;line-height:1.7142857143rem;font-weight:700}.subtitle2{font-size:1.1428571429rem;line-height:1.4285714286rem;font-weight:700}.body,.input-generic-placeholder-small,.input-generic-small{font-size:1rem;line-height:1.1428571429rem;font-weight:600}.caption{font-size:.8571428571rem;line-height:1.1428571429rem;font-weight:600}.select-option-text{font-size:16;line-height:24px;font-weight:600}.icon-small-size{font-size:8px}.icon-small-x-size{font-size:12px}.icon-medium-size{font-size:16px}.icon-large-size{font-size:24px}.spacingXXS{padding:4px}.spacingXSM{padding:6px}.spacingXS{padding:8px}.spacingS{padding:12px}.spacingM{padding:16px}.spacingL{padding:20px}.spacingXL{padding:24px}.spacingXXL{padding:28px}.spacingXXXL{padding:32px}.focus{box-shadow:0 0 8px #00a6e980}.hover{border-radius:8px;border:2px solid #00b2eb}.button-large-typography{font-size:20px;line-height:24px;font-weight:700}.button-medium-typography{font-size:16px;line-height:16px;font-weight:700}.button-small-typography{font-size:12px;line-height:16px;font-weight:700}.button-text-typography,.input-generic-label{font-size:14px;line-height:16px;font-weight:700}.input-generic-placeholder{font-size:16px;line-height:24px;font-weight:600;color:#bdc1c6!important;opacity:unset!important}.input-generic{font-size:16px;line-height:24px;font-weight:600}.input-generic-placeholder-small{padding:8px 12px 12px;color:#bdc1c6!important}.input-generic-valid{border-radius:8px;border:2px solid #B3FFD3}.input-generic-valid-focus{border-radius:8px;border:2px solid #B3FFD3!important;box-shadow:0 0 8px #46ff9b80!important;padding-left:16px}.input-generic-warning{border-radius:8px;border:2px solid #FFECB8!important}.input-generic-warning-focus{border-radius:8px;border:2px solid #FFECB8!important;box-shadow:0 0 8px #ffcd4680!important;padding-left:16px}.input-generic-error-focus{border-radius:8px;border:2px solid #FFBDBD!important;box-shadow:0 0 8px #ff555580!important;padding-left:16px}.input-generic-error{border-radius:8px;border:2px solid #FFBDBD}.tag-generic{font-size:14px;line-height:16px;font-weight:700}.tag-generic-small{font-size:12px;line-height:16px;font-weight:700}.toggle-small-typography{font-size:12px;line-height:16px;font-weight:600}.w-generic-input-no-label-height{height:36px}.w-view-text-label{height:36px;padding:4px 0}.w-view-text-label-color{color:#bdc1c6}.w-view-text-value{height:40px;padding:4px 0}.w-view-text-content{height:40px}:host ::ng-deep .w-view-text-content .col-4{padding:4px 20px!important}:host ::ng-deep .w-view-text-content .col-8{padding:4px 20px!important}:host ::ng-deep .w-view-text-content.grid{display:flex;flex-wrap:wrap;margin:-4px -20px!important}\n"], dependencies: [{ kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
4552
|
+
WViewTextComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.7", type: WViewTextComponent, selector: "w-view-text", inputs: { label: "label", value: "value", layout: "layout" }, ngImport: i0, template: "<div *ngIf=\"layout == 'horizontal'; else vertical\" class=\"w-view-text-content grid flex align-content-center\">\r\n <div class=\"col-4 body\">\r\n <p class=\"w-view-text-label-color\"> {{label}} </p>\r\n </div>\r\n <div class=\"col-8 body\">\r\n <p> {{value}} </p>\r\n </div>\r\n</div>\r\n<ng-template #vertical>\r\n <div class=\"p-fluid field\">\r\n <div class=\"w-view-text-label\">\r\n <p class=\"caption w-view-text-label-color\"> {{label}} </p>\r\n </div>\r\n <div class=\"w-view-text-value\">\r\n <p class=\"body\"> {{value}} </p>\r\n </div>\r\n </div>\r\n</ng-template>", styles: [".heading1{font-size:3.1428571429rem;line-height:3.4285714286rem;font-weight:700}.heading2{font-size:2.8571428571rem;line-height:3.1428571429rem;font-weight:700}.heading3{font-size:2.5714285714rem;line-height:2.8571428571rem;font-weight:700}.heading4{font-size:2.2857142857rem;line-height:2.5714285714rem;font-weight:700}.heading5{font-size:2rem;line-height:2.2857142857rem;font-weight:700}.heading6{font-size:1.7142857143rem;line-height:2rem;font-weight:700}.subtitle1{font-size:1.4285714286rem;line-height:1.7142857143rem;font-weight:700}.subtitle2{font-size:1.1428571429rem;line-height:1.4285714286rem;font-weight:700}.body,.input-generic-placeholder-small,.input-generic-small{font-size:1rem;line-height:1.1428571429rem;font-weight:600}.caption{font-size:.8571428571rem;line-height:1.1428571429rem;font-weight:600}.select-option-text{font-size:16;line-height:24px;font-weight:600}.icon-small-size{font-size:8px}.icon-small-x-size{font-size:12px}.icon-medium-size{font-size:16px}.icon-large-size{font-size:24px}.spacingXXS{padding:4px}.spacingXSM{padding:6px}.spacingXS{padding:8px}.spacingS{padding:12px}.spacingM{padding:16px}.spacingL{padding:20px}.spacingXL{padding:24px}.spacingXXL{padding:28px}.spacingXXXL{padding:32px}.focus{box-shadow:0 0 8px #00a6e980}.hover{border-radius:8px;border:2px solid #00b2eb}.button-large-typography{font-size:20px;line-height:24px;font-weight:700}.button-medium-typography{font-size:16px;line-height:16px;font-weight:700}.button-small-typography{font-size:12px;line-height:16px;font-weight:700}.button-text-typography,.input-generic-label{font-size:14px;line-height:16px;font-weight:700}.input-generic-placeholder{font-size:16px;line-height:24px;font-weight:600;color:#bdc1c6!important;opacity:unset!important}.input-generic{font-size:16px;line-height:24px;font-weight:600}.input-generic-placeholder-small{padding:8px 12px 12px;color:#bdc1c6!important}.input-generic-valid{border-radius:8px;border:2px solid #B3FFD3}.input-generic-valid-focus{border-radius:8px;border:2px solid #B3FFD3!important;box-shadow:0 0 8px #46ff9b80!important;padding-left:16px}.input-generic-warning{border-radius:8px;border:2px solid #FFECB8!important}.input-generic-warning-focus{border-radius:8px;border:2px solid #FFECB8!important;box-shadow:0 0 8px #ffcd4680!important;padding-left:16px}.input-generic-error-focus{border-radius:8px;border:2px solid #FFBDBD!important;box-shadow:0 0 8px #ff555580!important;padding-left:16px}.input-generic-error{border-radius:8px;border:2px solid #FFBDBD}.tag-generic{font-size:14px;line-height:16px;font-weight:700}.tag-generic-small{font-size:12px;line-height:16px;font-weight:700}.toggle-small-typography{font-size:12px;line-height:16px;font-weight:600}.w-generic-input-no-label-height{height:36px}.w-view-text-label{height:36px;padding:4px 0}.w-view-text-label-color{color:#bdc1c6}.w-view-text-value{height:40px;padding:4px 0}.w-view-text-content{height:40px}:host ::ng-deep .w-view-text-content .col-4{padding:4px 20px!important}:host ::ng-deep .w-view-text-content .col-8{padding:4px 20px!important}:host ::ng-deep .w-view-text-content.grid{display:flex;flex-wrap:wrap;margin:-4px -20px!important}\n"], dependencies: [{ kind: "directive", type: i2$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
4528
4553
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: WViewTextComponent, decorators: [{
|
|
4529
4554
|
type: Component,
|
|
4530
|
-
args: [{ selector: 'w-view-text', template: "<div *ngIf=\"layout == 'horizontal'; else vertical\" class=\"w-view-text-content grid flex align-content-center\">\n <div class=\"col-4 body\">\n <p class=\"w-view-text-label-color\"> {{label}} </p>\n </div>\n <div class=\"col-8 body\">\n <p> {{value}} </p>\n </div>\n</div>\n<ng-template #vertical>\n <div class=\"p-fluid field\">\n <div class=\"w-view-text-label\">\n <p class=\"caption w-view-text-label-color\"> {{label}} </p>\n </div>\n <div class=\"w-view-text-value\">\n <p class=\"body\"> {{value}} </p>\n </div>\n </div>\n</ng-template>", styles: [".heading1{font-size:3.1428571429rem;line-height:3.4285714286rem;font-weight:700}.heading2{font-size:2.8571428571rem;line-height:3.1428571429rem;font-weight:700}.heading3{font-size:2.5714285714rem;line-height:2.8571428571rem;font-weight:700}.heading4{font-size:2.2857142857rem;line-height:2.5714285714rem;font-weight:700}.heading5{font-size:2rem;line-height:2.2857142857rem;font-weight:700}.heading6{font-size:1.7142857143rem;line-height:2rem;font-weight:700}.subtitle1{font-size:1.4285714286rem;line-height:1.7142857143rem;font-weight:700}.subtitle2{font-size:1.1428571429rem;line-height:1.4285714286rem;font-weight:700}.body,.input-generic-placeholder-small,.input-generic-small{font-size:1rem;line-height:1.1428571429rem;font-weight:600}.caption{font-size:.8571428571rem;line-height:1.1428571429rem;font-weight:600}.select-option-text{font-size:16;line-height:24px;font-weight:600}.icon-small-size{font-size:8px}.icon-small-x-size{font-size:12px}.icon-medium-size{font-size:16px}.icon-large-size{font-size:24px}.spacingXXS{padding:4px}.spacingXSM{padding:6px}.spacingXS{padding:8px}.spacingS{padding:12px}.spacingM{padding:16px}.spacingL{padding:20px}.spacingXL{padding:24px}.spacingXXL{padding:28px}.spacingXXXL{padding:32px}.focus{box-shadow:0 0 8px #00a6e980}.hover{border-radius:8px;border:2px solid #00b2eb}.button-large-typography{font-size:20px;line-height:24px;font-weight:700}.button-medium-typography{font-size:16px;line-height:16px;font-weight:700}.button-small-typography{font-size:12px;line-height:16px;font-weight:700}.button-text-typography,.input-generic-label{font-size:14px;line-height:16px;font-weight:700}.input-generic-placeholder{font-size:16px;line-height:24px;font-weight:600;color:#bdc1c6!important;opacity:unset!important}.input-generic{font-size:16px;line-height:24px;font-weight:600}.input-generic-placeholder-small{padding:8px 12px 12px;color:#bdc1c6!important}.input-generic-valid{border-radius:8px;border:2px solid #B3FFD3}.input-generic-valid-focus{border-radius:8px;border:2px solid #B3FFD3!important;box-shadow:0 0 8px #46ff9b80!important;padding-left:16px}.input-generic-warning{border-radius:8px;border:2px solid #FFECB8!important}.input-generic-warning-focus{border-radius:8px;border:2px solid #FFECB8!important;box-shadow:0 0 8px #ffcd4680!important;padding-left:16px}.input-generic-error-focus{border-radius:8px;border:2px solid #FFBDBD!important;box-shadow:0 0 8px #ff555580!important;padding-left:16px}.input-generic-error{border-radius:8px;border:2px solid #FFBDBD}.tag-generic{font-size:14px;line-height:16px;font-weight:700}.tag-generic-small{font-size:12px;line-height:16px;font-weight:700}.toggle-small-typography{font-size:12px;line-height:16px;font-weight:600}.w-generic-input-no-label-height{height:36px}.w-view-text-label{height:36px;padding:4px 0}.w-view-text-label-color{color:#bdc1c6}.w-view-text-value{height:40px;padding:4px 0}.w-view-text-content{height:40px}:host ::ng-deep .w-view-text-content .col-4{padding:4px 20px!important}:host ::ng-deep .w-view-text-content .col-8{padding:4px 20px!important}:host ::ng-deep .w-view-text-content.grid{display:flex;flex-wrap:wrap;margin:-4px -20px!important}\n"] }]
|
|
4555
|
+
args: [{ selector: 'w-view-text', template: "<div *ngIf=\"layout == 'horizontal'; else vertical\" class=\"w-view-text-content grid flex align-content-center\">\r\n <div class=\"col-4 body\">\r\n <p class=\"w-view-text-label-color\"> {{label}} </p>\r\n </div>\r\n <div class=\"col-8 body\">\r\n <p> {{value}} </p>\r\n </div>\r\n</div>\r\n<ng-template #vertical>\r\n <div class=\"p-fluid field\">\r\n <div class=\"w-view-text-label\">\r\n <p class=\"caption w-view-text-label-color\"> {{label}} </p>\r\n </div>\r\n <div class=\"w-view-text-value\">\r\n <p class=\"body\"> {{value}} </p>\r\n </div>\r\n </div>\r\n</ng-template>", styles: [".heading1{font-size:3.1428571429rem;line-height:3.4285714286rem;font-weight:700}.heading2{font-size:2.8571428571rem;line-height:3.1428571429rem;font-weight:700}.heading3{font-size:2.5714285714rem;line-height:2.8571428571rem;font-weight:700}.heading4{font-size:2.2857142857rem;line-height:2.5714285714rem;font-weight:700}.heading5{font-size:2rem;line-height:2.2857142857rem;font-weight:700}.heading6{font-size:1.7142857143rem;line-height:2rem;font-weight:700}.subtitle1{font-size:1.4285714286rem;line-height:1.7142857143rem;font-weight:700}.subtitle2{font-size:1.1428571429rem;line-height:1.4285714286rem;font-weight:700}.body,.input-generic-placeholder-small,.input-generic-small{font-size:1rem;line-height:1.1428571429rem;font-weight:600}.caption{font-size:.8571428571rem;line-height:1.1428571429rem;font-weight:600}.select-option-text{font-size:16;line-height:24px;font-weight:600}.icon-small-size{font-size:8px}.icon-small-x-size{font-size:12px}.icon-medium-size{font-size:16px}.icon-large-size{font-size:24px}.spacingXXS{padding:4px}.spacingXSM{padding:6px}.spacingXS{padding:8px}.spacingS{padding:12px}.spacingM{padding:16px}.spacingL{padding:20px}.spacingXL{padding:24px}.spacingXXL{padding:28px}.spacingXXXL{padding:32px}.focus{box-shadow:0 0 8px #00a6e980}.hover{border-radius:8px;border:2px solid #00b2eb}.button-large-typography{font-size:20px;line-height:24px;font-weight:700}.button-medium-typography{font-size:16px;line-height:16px;font-weight:700}.button-small-typography{font-size:12px;line-height:16px;font-weight:700}.button-text-typography,.input-generic-label{font-size:14px;line-height:16px;font-weight:700}.input-generic-placeholder{font-size:16px;line-height:24px;font-weight:600;color:#bdc1c6!important;opacity:unset!important}.input-generic{font-size:16px;line-height:24px;font-weight:600}.input-generic-placeholder-small{padding:8px 12px 12px;color:#bdc1c6!important}.input-generic-valid{border-radius:8px;border:2px solid #B3FFD3}.input-generic-valid-focus{border-radius:8px;border:2px solid #B3FFD3!important;box-shadow:0 0 8px #46ff9b80!important;padding-left:16px}.input-generic-warning{border-radius:8px;border:2px solid #FFECB8!important}.input-generic-warning-focus{border-radius:8px;border:2px solid #FFECB8!important;box-shadow:0 0 8px #ffcd4680!important;padding-left:16px}.input-generic-error-focus{border-radius:8px;border:2px solid #FFBDBD!important;box-shadow:0 0 8px #ff555580!important;padding-left:16px}.input-generic-error{border-radius:8px;border:2px solid #FFBDBD}.tag-generic{font-size:14px;line-height:16px;font-weight:700}.tag-generic-small{font-size:12px;line-height:16px;font-weight:700}.toggle-small-typography{font-size:12px;line-height:16px;font-weight:600}.w-generic-input-no-label-height{height:36px}.w-view-text-label{height:36px;padding:4px 0}.w-view-text-label-color{color:#bdc1c6}.w-view-text-value{height:40px;padding:4px 0}.w-view-text-content{height:40px}:host ::ng-deep .w-view-text-content .col-4{padding:4px 20px!important}:host ::ng-deep .w-view-text-content .col-8{padding:4px 20px!important}:host ::ng-deep .w-view-text-content.grid{display:flex;flex-wrap:wrap;margin:-4px -20px!important}\n"] }]
|
|
4531
4556
|
}], propDecorators: { label: [{
|
|
4532
4557
|
type: Input,
|
|
4533
4558
|
args: ['label']
|