ngx-wapp-components 3.0.0 → 3.0.1-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Injectable, Component, Input, forwardRef, EventEmitter, Output, ChangeDetectionStrategy, Pipe, ViewChild, Directive, ContentChild, ContentChildren, ViewChildren, Inject, NgModule } from '@angular/core';
|
|
2
|
+
import { Injectable, Component, Input, forwardRef, EventEmitter, Output, ChangeDetectionStrategy, Pipe, ViewChild, Directive, ContentChild, ContentChildren, ViewChildren, ViewEncapsulation, Inject, NgModule } from '@angular/core';
|
|
3
3
|
import * as i1$2 from '@angular/forms';
|
|
4
4
|
import { NG_VALUE_ACCESSOR, NG_VALIDATORS, FormControl, Validators, FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
5
5
|
import * as i1 from '@angular/common';
|
|
@@ -8115,11 +8115,11 @@ class WTabviewComponent {
|
|
|
8115
8115
|
}
|
|
8116
8116
|
}
|
|
8117
8117
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: WTabviewComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8118
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.13", type: WTabviewComponent, isStandalone: false, selector: "w-tabview", inputs: { headers: "headers", disabledTabs: "disabledTabs", requiredTabs: "requiredTabs", validatedTabs: "validatedTabs", applyValidationStyle: "applyValidationStyle", icons: "icons", activeIndex: "activeIndex", type: "type", titleTabActive: "titleTabActive", keepTabsVisible: "keepTabsVisible" }, outputs: { outActiveIndex: "outActiveIndex" }, viewQueries: [{ propertyName: "tabView", first: true, predicate: Tabs, descendants: true }], ngImport: i0, template: "<!-- ToDo revisar tabs con iconos -->\r\n<p-tabs [value]=\"activeIndex\" [class]=\"type == 'regular' ? 'w-tabview-regular' : 'w-tabview-secondary'\"\r\n (valueChange)=\"activeIndexChange($event)\" [scrollable]=\"isScrollable\" [ngClass]=\"{'title-tabActive': titleTabActive}\">\r\n <p-tablist>\r\n @if (headers.length > 0) {\r\n <p-tab [value]=\"0\" [disabled]=\"disabledTabs[0]\" [ngClass]=\"{'flex items-center !gap-2 text-inherit': (icons && icons[0])}\">\r\n @if (icons && icons[0]) {\r\n <i [class]=\"'pi '+icons[0]\"></i>\r\n }\r\n <div>\r\n @if (headers[0]) {\r\n <span class=\"p-tabview-title\">{{headers[0]}}</span>\r\n }\r\n @if (requiredTabs[0] && !disabledTabs[0]) {\r\n <span class=\"p-tabview-asterisk\" [ngClass]=\"{'not-validated': applyValidationStyle && !validatedTabs[0]}\">*</span>\r\n }\r\n </div>\r\n </p-tab>\r\n }\r\n @if (headers.length > 1) {\r\n <p-tab [value]=\"1\" [disabled]=\"disabledTabs[1]\" [ngClass]=\"{'flex items-center !gap-2 text-inherit': (icons && icons[0])}\">\r\n @if (icons && icons[1]) {\r\n <i [class]=\"'pi '+icons[1]\"></i>\r\n }\r\n <div>\r\n @if (headers[1]) {\r\n <span class=\"p-tabview-title\">{{headers[1]}}</span>\r\n }\r\n @if (requiredTabs[1] && !disabledTabs[1]) {\r\n <span class=\"p-tabview-asterisk\" [ngClass]=\"{'not-validated': applyValidationStyle && !validatedTabs[1]}\">*</span>\r\n }\r\n </div>\r\n </p-tab>\r\n }\r\n @if (headers.length > 2 ) {\r\n <p-tab [value]=\"2\" [disabled]=\"disabledTabs[2]\" [ngClass]=\"{'flex items-center !gap-2 text-inherit': (icons && icons[0])}\">\r\n @if (icons && icons[2]) {\r\n <i [class]=\"'pi '+icons[2]\"></i>\r\n }\r\n <div>\r\n @if (headers[2]) {\r\n <span class=\"p-tabview-title\">{{headers[2]}}</span>\r\n }\r\n @if (requiredTabs[2] && !disabledTabs[2]) {\r\n <span class=\"p-tabview-asterisk\" [ngClass]=\"{'not-validated': applyValidationStyle && !validatedTabs[2]}\">*</span>\r\n }\r\n </div>\r\n </p-tab>\r\n }\r\n @if (headers.length > 3) {\r\n <p-tab [value]=\"3\" [disabled]=\"disabledTabs[3]\" [ngClass]=\"{'flex items-center !gap-2 text-inherit': (icons && icons[0])}\">\r\n @if (icons && icons[3]) {\r\n <i [class]=\"'pi '+icons[3]\"></i>\r\n }\r\n <div>\r\n @if (headers[3]) {\r\n <span class=\"p-tabview-title\">{{headers[3]}}</span>\r\n }\r\n @if (requiredTabs[3] && !disabledTabs[3]) {\r\n <span class=\"p-tabview-asterisk\" [ngClass]=\"{'not-validated': applyValidationStyle && !validatedTabs[3]}\">*</span>\r\n }\r\n </div>\r\n </p-tab>\r\n }\r\n @if (headers.length > 4) {\r\n <p-tab [value]=\"4\" [disabled]=\"disabledTabs[4]\" [ngClass]=\"{'flex items-center !gap-2 text-inherit': (icons && icons[0])}\">\r\n @if (icons && icons[4]) {\r\n <i [class]=\"'pi '+icons[4]\"></i>\r\n }\r\n <div>\r\n @if (headers[4]) {\r\n <span class=\"p-tabview-title\">{{headers[4]}}</span>\r\n }\r\n @if (requiredTabs[4] && !disabledTabs[4]) {\r\n <span class=\"p-tabview-asterisk\" [ngClass]=\"{'not-validated': applyValidationStyle && !validatedTabs[4]}\">*</span>\r\n }\r\n </div>\r\n </p-tab>\r\n }\r\n @if (headers.length > 5) {\r\n <p-tab [value]=\"5\" [disabled]=\"disabledTabs[5]\" [ngClass]=\"{'flex items-center !gap-2 text-inherit': (icons && icons[0])}\">\r\n @if (icons && icons[5]) {\r\n <i [class]=\"'pi '+icons[5]\"></i>\r\n }\r\n <div>\r\n @if (headers[5]) {\r\n <span class=\"p-tabview-title\">{{headers[5]}}</span>\r\n }\r\n @if (requiredTabs[5] && !disabledTabs[5]) {\r\n <span class=\"p-tabview-asterisk\" [ngClass]=\"{'not-validated': applyValidationStyle && !validatedTabs[5]}\">*</span>\r\n }\r\n </div>\r\n </p-tab>\r\n }\r\n @if (headers.length > 6) {\r\n <p-tab [value]=\"6\" [disabled]=\"disabledTabs[6]\" [ngClass]=\"{'flex items-center !gap-2 text-inherit': (icons && icons[0])}\">\r\n @if (icons && icons[6]) {\r\n <i [class]=\"'pi '+icons[6]\"></i>\r\n }\r\n <div>\r\n @if (headers[6]) {\r\n <span class=\"p-tabview-title\">{{headers[6]}}</span>\r\n }\r\n @if (requiredTabs[6] && !disabledTabs[6]) {\r\n <span class=\"p-tabview-asterisk\" [ngClass]=\"{'not-validated': applyValidationStyle && !validatedTabs[6]}\">*</span>\r\n }\r\n </div>\r\n </p-tab>\r\n }\r\n @if (headers.length > 7) {\r\n <p-tab [value]=\"7\" [disabled]=\"disabledTabs[7]\" [ngClass]=\"{'flex items-center !gap-2 text-inherit': (icons && icons[0])}\">\r\n @if (icons && icons[7]) {\r\n <i [class]=\"'pi '+icons[7]\"></i>\r\n }\r\n <div>\r\n @if (headers[7]) {\r\n <span class=\"p-tabview-title\">{{headers[7]}}</span>\r\n }\r\n @if (requiredTabs[7] && !disabledTabs[7]) {\r\n <span class=\"p-tabview-asterisk\" [ngClass]=\"{'not-validated': applyValidationStyle && !validatedTabs[7]}\">*</span>\r\n }\r\n </div>\r\n </p-tab>\r\n }\r\n @if (headers.length > 8) {\r\n <p-tab [value]=\"8\" [disabled]=\"disabledTabs[8]\" [ngClass]=\"{'flex items-center !gap-2 text-inherit': (icons && icons[0])}\">\r\n @if (icons && icons[8]) {\r\n <i [class]=\"'pi '+icons[8]\"></i>\r\n }\r\n <div>\r\n @if (headers[8]) {\r\n <span class=\"p-tabview-title\">{{headers[8]}}</span>\r\n }\r\n @if (requiredTabs[8] && !disabledTabs[8]) {\r\n <span class=\"p-tabview-asterisk\" [ngClass]=\"{'not-validated': applyValidationStyle && !validatedTabs[8]}\">*</span>\r\n }\r\n </div>\r\n </p-tab>\r\n }\r\n @if (headers.length > 9) {\r\n <p-tab [value]=\"9\" [disabled]=\"disabledTabs[9]\" [ngClass]=\"{'flex items-center !gap-2 text-inherit': (icons && icons[0])}\">\r\n @if (icons && icons[9]) {\r\n <i [class]=\"'pi '+icons[9]\"></i>\r\n }\r\n <div>\r\n @if (headers[9]) {\r\n <span class=\"p-tabview-title\">{{headers[9]}}</span>\r\n }\r\n @if (requiredTabs[9] && !disabledTabs[9]) {\r\n <span class=\"p-tabview-asterisk\" [ngClass]=\"{'not-validated': applyValidationStyle && !validatedTabs[9]}\">*</span>\r\n }\r\n </div>\r\n </p-tab>\r\n }\r\n </p-tablist>\r\n <p-tabpanels>\r\n @if (headers.length > 0 ) {\r\n <p-tabpanel [value]=\"0\">\r\n @if (keepTabsVisible == true ? true : activeIndex == 0) {\r\n <ng-content select=\".panel-1\"></ng-content>\r\n }\r\n </p-tabpanel>\r\n }\r\n @if (headers.length > 1) {\r\n <p-tabpanel [value]=\"1\">\r\n @if (keepTabsVisible == true ? true : activeIndex == 1) {\r\n <ng-content select=\".panel-2\"></ng-content>\r\n }\r\n </p-tabpanel>\r\n }\r\n @if (headers.length > 2 ) {\r\n <p-tabpanel [value]=\"2\">\r\n @if (keepTabsVisible == true ? true : activeIndex == 2) {\r\n <ng-content select=\".panel-3\"></ng-content>\r\n }\r\n </p-tabpanel>\r\n }\r\n @if (headers.length > 3) {\r\n <p-tabpanel [value]=\"3\">\r\n @if (keepTabsVisible == true ? true : activeIndex == 3) {\r\n <ng-content select=\".panel-4\"></ng-content>\r\n }\r\n </p-tabpanel>\r\n }\r\n @if (headers.length > 4) {\r\n <p-tabpanel [value]=\"4\">\r\n @if (keepTabsVisible == true ? true : activeIndex == 4) {\r\n <ng-content select=\".panel-5\"></ng-content>\r\n }\r\n </p-tabpanel>\r\n }\r\n @if (headers.length > 5) {\r\n <p-tabpanel [value]=\"5\">\r\n @if (keepTabsVisible == true ? true : activeIndex == 5) {\r\n <ng-content select=\".panel-6\"></ng-content>\r\n }\r\n </p-tabpanel>\r\n }\r\n @if (headers.length > 6) {\r\n <p-tabpanel [value]=\"6\">\r\n @if (keepTabsVisible == true ? true : activeIndex == 6) {\r\n <ng-content select=\".panel-7\"></ng-content>\r\n }\r\n </p-tabpanel>\r\n }\r\n @if (headers.length > 7) {\r\n <p-tabpanel [value]=\"7\">\r\n @if (keepTabsVisible == true ? true : activeIndex == 7) {\r\n <ng-content select=\".panel-8\"></ng-content>\r\n }\r\n </p-tabpanel>\r\n }\r\n @if (headers.length > 8) {\r\n <p-tabpanel [value]=\"8\">\r\n @if (keepTabsVisible == true ? true : activeIndex == 8) {\r\n <ng-content select=\".panel-9\"></ng-content>\r\n }\r\n </p-tabpanel>\r\n }\r\n @if (headers.length > 9) {\r\n <p-tabpanel [value]=\"9\">\r\n @if (keepTabsVisible == true ? true : activeIndex == 9) {\r\n <ng-content select=\".panel-10\"></ng-content>\r\n }\r\n </p-tabpanel>\r\n }\r\n </p-tabpanels>\r\n</p-tabs>\r\n", styles: [".heading1{font-size:2.6666666667rem;line-height:3rem;font-weight:700}.heading2{font-size:2.3333333333rem;line-height:2.6666666667rem;font-weight:700}.heading3{font-size:2rem;line-height:2.3333333333rem;font-weight:700}.heading4{font-size:1.6666666667rem;line-height:2rem;font-weight:700}.heading5,:host ::ng-deep .title-tabActive .p-tabview-title,.w-sidebar-title-text{font-size:1.5rem;line-height:1.8333333333rem;font-weight:700}.heading6{font-size:1.3333333333rem;line-height:1.6666666667rem;font-weight:700}.subtitle1,.w-tab-text,.w-panel-title-text{font-size:1.1666666667rem;line-height:1.3333333333rem;font-weight:700}.subtitle2,.w-table-th-text,.w-panel-subtitle-text,.w-input-small-label-text-typography,.w-input-small-label-text,.w-input-small-label-disabled,.w-view-small-label-text-typography,.w-view-small-label-text,.w-button-small-text-label-text-typography,.w-button-small-text-label-text{font-size:1rem;line-height:1.1666666667rem;font-weight:600}.body,.w-image-file-uploader-navigators-text,.w-table-td-text,.w-chip-text,.w-panel-content,.w-input-small-select-options-text,.w-input-small-placeholder-text-typography,.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text,.w-view-small-value-text-typography,.w-view-small-value-text,.w-button-small-label-text-typography,.w-button-small-tertiary-label-text{font-size:1rem;line-height:1.1666666667rem;font-weight:400}.caption,.w-input-success-alert-text{font-size:.6666666667rem;line-height:1rem;font-weight:400}.light,.w-input-small-placeholder-text-only-color{font-size:.9166666667rem;line-height:1.0833333333rem;font-weight:300}.small,.w-error-message,.w-input-error-alert-text,.w-input-warning-alert-text,.w-button-small-label-text-typography-sm{font-size:.8333333333rem;line-height:1rem;font-weight:400}.textMainColor{color:#1f2224}.textSoftColor{color:#5f6468}.textSofterColor{color:#9aa0a7}.textSoftestColor{color:#e8ebee}.textInverseColor{color:#fff}.spacingXXS{padding:4px}.spacingXSM{padding:6px}.spacingXSMDivider{height:6px}.spacingXS{padding:8px}.spacingS{padding:12px}.spacingM{padding:16px}.spacingL{padding:20px}.spacingXL{padding:24px}.spacingXXL{padding:28px}.spacingXXXL{padding:32px}.panel-title-gap-divider{height:20px}.panel-section-gap-divider{height:32px}.input-vertical-gap-divider{height:24px}.input-label-gap-divider{height:6px}.focusedInput{border:1px solid rgba(0,157,253,.25);box-shadow:0 0 10px #00b3eb40}.focus{box-shadow:0 0 8px #00a6e980}.hover{border-radius:8px;border:1px solid #00b3eb}.hoveredInput{border-radius:8px;border:1px solid rgba(0,179,235,.5)}.input-generic-valid{border-radius:8px;border:1px solid #B3FFD3}.input-generic-valid-focus{border-radius:8px;border:1px solid #B3FFD3!important;box-shadow:0 0 8px #46ff9b80!important;padding-left:16px}.input-generic-warning{border-radius:8px;border:1px solid #FFECB8!important}.input-generic-warning-focus{border-radius:8px;border:1px solid #FFECB8!important;box-shadow:0 0 8px #ffcd4680!important;padding-left:16px}.input-generic-error-focus{border-radius:8px;border:1px solid #FFBDBD!important;box-shadow:0 0 8px #ff555580!important;padding-left:16px}.input-generic-error{border-radius:8px;border:1px solid #FFBDBD}.toggle-small-typography{font-size:12px;line-height:16px;font-weight:600}.w-button-small-label-text-typography,.w-button-small-tertiary-label-text,.w-button-small-label-text-typography-sm{font-weight:600}.w-button-small-tertiary-label-text{color:#5f6468}.w-button-small-text-label-text{color:#1f2224}.w-button-small-icon-text{font-size:12px;font-weight:600}.w-table-button-small-icon-text{font-size:12px;color:#9aa0a7}.w-control-button-small-label-text{font-size:12px;font-weight:600;line-height:16px}.w-control-button-x-small-icon-text{font-size:10px;font-weight:700}.w-control-button-small-icon-text{font-size:8px;font-weight:700}.w-button-medium-label-text-typography,.w-button-medium-tertiary-label-text{font-size:16px;font-weight:600;line-height:16px}.w-button-medium-tertiary-label-text{color:#1f2224}.w-button-medium-icon-text{font-size:16px}.w-control-button-medium-label-text{font-size:14px;font-weight:600;line-height:16px}.w-control-button-medium-icon-text{font-size:12px;font-weight:700}.w-button-large-label-text-typography,.w-button-large-tertiary-label-text{font-size:20px;font-weight:600;line-height:24px}.w-button-large-tertiary-label-text{color:#1f2224}.w-button-x-small-label-text{font-size:10px;font-weight:600;line-height:10px}.w-button-small-only-label-text{font-size:12px;font-weight:600;line-height:16px}.w-button-large-icon-text{font-size:24px}.w-view-small-label-text{color:#1f2224}.w-view-small-value-text{color:#5f6468}.w-input-no-label-height{height:14px}.w-input-disabled{background-color:#f8f9fa!important;border-color:#e8ebee!important;opacity:.6!important}.w-input-small-label-text-typography,.w-input-small-label-text,.w-input-small-label-disabled{height:fit-content}.w-input-small-label-text,.w-input-small-label-disabled{color:#1f2224}.w-input-small-label-disabled{color:#9aa0a7}.w-input-small-label-text-content{padding:12px 8px 8px 0;margin:0}.w-input-small-label-text-content-no-top{padding-top:0}.w-input-small-placeholder-text{color:#1f2224}.w-input-small-placeholder-text-only-color{color:#9aa0a7;line-height:1.3333333333rem}.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text-disabled-only-color{color:#5f6468}.w-input-small-text-icon,.w-input-small-select-options-text{color:#1f2224}.w-input-medium-label-text-typography,.w-input-medium-label-text,.w-input-medium-label-disabled{font-size:14px;font-weight:600;line-height:16px}.w-input-medium-label-text,.w-input-medium-label-disabled{color:#1f2224}.w-input-medium-label-disabled{color:#9aa0a7}.w-input-medium-placeholder-text-typography,.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text{font-size:16px;font-weight:400;line-height:24px}.w-input-medium-placeholder-text,.w-input-medium-placeholder-text-only-color{color:#1f2224}.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text-disabled-only-color{color:#5f6468}.w-input-medium-text-icon{color:#1f2224}.w-input-medium-select-options-text{font-size:16px;font-weight:400;line-height:24px;color:#1f2224}.w-input-success-alert-text{color:#00db5d;padding:8px 8px 0;margin-top:0}.w-input-warning-alert-text{color:#eeae00;padding:0 4px;margin-top:-2px}.w-input-error-alert-text{color:#e50000;padding:0 4px;margin-top:-2px}.w-input-alert-message-height{height:32px}.w-error-message{color:#e50000;padding:0 4px;margin-top:-2px}.w-sidebar-title-text,.w-panel-title-text,.w-panel-subtitle-text{color:#1f2224}.w-panel-content{color:#5f6468}.w-tab-text,.w-chip-text{color:#1f2224}.w-badge-text{font-size:10px;font-weight:700;line-height:8px}.w-table-th-text{color:#1f2224}.w-table-td-text{color:#5f6468}.w-table-height{padding:6px 8px 5px}.w-table-no-buttons-height{padding:16px 8px 15px!important}.w-tree-table-height{padding:8px 8px 7px}.w-image-file-uploader-navigators-text{font-size:12px;color:#fff}.grid{margin:0}::ng-deep .p-tooltip,.p-tooltip{filter:0px 0px 1px 0px rgba(0,0,0,.1) inset,1px 1px 5px rgba(0,0,0,.06),1px 1px 1px rgba(0,0,0,.08)}::ng-deep .p-tooltip .p-tooltip-text,.p-tooltip .p-tooltip-text{background:#fff!important;color:#1f2224;padding:12px 16px;max-width:192px;width:max-content;margin-left:3px;pointer-events:none}::ng-deep .p-tooltip.p-tooltip-left,.p-tooltip.p-tooltip-left{margin-right:6px;width:max-content;transform:translate(-6px)}::ng-deep .p-tooltip.p-tooltip-left .p-tooltip-arrow,.p-tooltip.p-tooltip-left .p-tooltip-arrow{border-left-color:#fff!important;top:50%;right:-3px;margin-top:-4px;border-width:4px 0 4px 6px!important}::ng-deep .p-tooltip.p-tooltip-right,.p-tooltip.p-tooltip-right{margin-left:6px;width:max-content;transform:translateY(-1px)}::ng-deep .p-tooltip.p-tooltip-right .p-tooltip-arrow,.p-tooltip.p-tooltip-right .p-tooltip-arrow{border-right-color:#fff!important;top:50%;left:0;margin-top:-4px;border-width:4px 6px 4px 0!important}::ng-deep .p-tooltip.p-tooltip-bottom .p-tooltip-arrow,.p-tooltip.p-tooltip-bottom .p-tooltip-arrow{border-bottom-color:#fff!important;border-width:0 4px 6px 4px!important;margin-top:-3px}.w-tabview-regular.p-tablist{background:transparent}::ng-deep .w-tabview-secondary .p-tablist{background:#fff;box-shadow:0 0 1px #0000001a inset,0 4px 8px #005c7a0d,0 1px 3px #005c7a1a;border-radius:8px}::ng-deep .w-tabview-regular .p-tab{background:transparent;color:#000;transition:none;border-top:none;border-bottom:2px solid #e2e8f0;gap:8px;transition:.5s cubic-bezier(.35,0,.25,1)}::ng-deep .w-tabview-secondary .p-tab{background:transparent;color:#000;transition:none;border-top:none;border-bottom:2px solid #e2e8f0;gap:8px;transition:.5s cubic-bezier(.35,0,.25,1);height:52px;align-content:center;padding:0 32px}.p-tab:not(.p-tab-active):not(.p-disabled):hover{background:transparent;border-color:#64748b;color:#64748b}::ng-deep .w-tabview-regular .p-tab-active{background:transparent;color:#000;border-top:none;border-bottom:2px solid;border-color:#005c7a;transition:background-color .2s,border-color .2s,box-shadow .2s}:host ::ng-deep .w-tabview-regular .p-tablist-tab-list{background:transparent}:host ::ng-deep .w-tabview-secondary .p-tablist-tab-list{background:#fff}.w-tabview-secondary.p-tab{height:52px;align-content:center}:host ::ng-deep .p-tabpanels{background:transparent}::ng-deep .p-tabview .p-tabview-nav-btn.p-link{background-color:#fff!important;padding:0 12px!important;width:40px!important;box-shadow:none!important;color:#000!important}::ng-deep .p-tabview .p-tabview-nav-btn.p-link .pi{font-size:16px!important}:host ::ng-deep .title-tabActive .p-tabview{margin-top:32px!important}:host ::ng-deep .title-tabActive .p-tabview-title{color:#1f2224}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: i2$7.Tabs, selector: "p-tabs", inputs: ["value", "scrollable", "lazy", "selectOnFocus", "showNavigators", "tabindex"], outputs: ["valueChange"] }, { kind: "component", type: i2$7.TabPanels, selector: "p-tabpanels" }, { kind: "component", type: i2$7.TabPanel, selector: "p-tabpanel", inputs: ["lazy", "value"], outputs: ["valueChange"] }, { kind: "component", type: i2$7.TabList, selector: "p-tablist" }, { kind: "component", type: i2$7.Tab, selector: "p-tab", inputs: ["value", "disabled"], outputs: ["valueChange"] }, { kind: "directive", type: i4.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }] }); }
|
|
8118
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.13", type: WTabviewComponent, isStandalone: false, selector: "w-tabview", inputs: { headers: "headers", disabledTabs: "disabledTabs", requiredTabs: "requiredTabs", validatedTabs: "validatedTabs", applyValidationStyle: "applyValidationStyle", icons: "icons", activeIndex: "activeIndex", type: "type", titleTabActive: "titleTabActive", keepTabsVisible: "keepTabsVisible" }, outputs: { outActiveIndex: "outActiveIndex" }, viewQueries: [{ propertyName: "tabView", first: true, predicate: Tabs, descendants: true }], ngImport: i0, template: "<!-- ToDo revisar tabs con iconos -->\r\n<p-tabs [value]=\"activeIndex\" [class]=\"type == 'regular' ? 'w-tabview-regular' : 'w-tabview-secondary'\"\r\n (valueChange)=\"activeIndexChange($event)\" [scrollable]=\"isScrollable\" [ngClass]=\"{'title-tabActive': titleTabActive}\" [scrollable]=\"true\">\r\n <p-tablist>\r\n @if (headers.length > 0) {\r\n <p-tab [value]=\"0\" [disabled]=\"disabledTabs[0]\" [ngClass]=\"{'flex items-center !gap-2 text-inherit': (icons && icons[0])}\">\r\n @if (icons && icons[0]) {\r\n <i [class]=\"'pi '+icons[0]\"></i>\r\n }\r\n <div>\r\n @if (headers[0]) {\r\n <span class=\"p-tabview-title\">{{headers[0]}}</span>\r\n }\r\n @if (requiredTabs[0] && !disabledTabs[0]) {\r\n <span class=\"p-tabview-asterisk\" [ngClass]=\"{'not-validated': applyValidationStyle && !validatedTabs[0]}\">*</span>\r\n }\r\n </div>\r\n </p-tab>\r\n }\r\n @if (headers.length > 1) {\r\n <p-tab [value]=\"1\" [disabled]=\"disabledTabs[1]\" [ngClass]=\"{'flex items-center !gap-2 text-inherit': (icons && icons[0])}\">\r\n @if (icons && icons[1]) {\r\n <i [class]=\"'pi '+icons[1]\"></i>\r\n }\r\n <div>\r\n @if (headers[1]) {\r\n <span class=\"p-tabview-title\">{{headers[1]}}</span>\r\n }\r\n @if (requiredTabs[1] && !disabledTabs[1]) {\r\n <span class=\"p-tabview-asterisk\" [ngClass]=\"{'not-validated': applyValidationStyle && !validatedTabs[1]}\">*</span>\r\n }\r\n </div>\r\n </p-tab>\r\n }\r\n @if (headers.length > 2 ) {\r\n <p-tab [value]=\"2\" [disabled]=\"disabledTabs[2]\" [ngClass]=\"{'flex items-center !gap-2 text-inherit': (icons && icons[0])}\">\r\n @if (icons && icons[2]) {\r\n <i [class]=\"'pi '+icons[2]\"></i>\r\n }\r\n <div>\r\n @if (headers[2]) {\r\n <span class=\"p-tabview-title\">{{headers[2]}}</span>\r\n }\r\n @if (requiredTabs[2] && !disabledTabs[2]) {\r\n <span class=\"p-tabview-asterisk\" [ngClass]=\"{'not-validated': applyValidationStyle && !validatedTabs[2]}\">*</span>\r\n }\r\n </div>\r\n </p-tab>\r\n }\r\n @if (headers.length > 3) {\r\n <p-tab [value]=\"3\" [disabled]=\"disabledTabs[3]\" [ngClass]=\"{'flex items-center !gap-2 text-inherit': (icons && icons[0])}\">\r\n @if (icons && icons[3]) {\r\n <i [class]=\"'pi '+icons[3]\"></i>\r\n }\r\n <div>\r\n @if (headers[3]) {\r\n <span class=\"p-tabview-title\">{{headers[3]}}</span>\r\n }\r\n @if (requiredTabs[3] && !disabledTabs[3]) {\r\n <span class=\"p-tabview-asterisk\" [ngClass]=\"{'not-validated': applyValidationStyle && !validatedTabs[3]}\">*</span>\r\n }\r\n </div>\r\n </p-tab>\r\n }\r\n @if (headers.length > 4) {\r\n <p-tab [value]=\"4\" [disabled]=\"disabledTabs[4]\" [ngClass]=\"{'flex items-center !gap-2 text-inherit': (icons && icons[0])}\">\r\n @if (icons && icons[4]) {\r\n <i [class]=\"'pi '+icons[4]\"></i>\r\n }\r\n <div>\r\n @if (headers[4]) {\r\n <span class=\"p-tabview-title\">{{headers[4]}}</span>\r\n }\r\n @if (requiredTabs[4] && !disabledTabs[4]) {\r\n <span class=\"p-tabview-asterisk\" [ngClass]=\"{'not-validated': applyValidationStyle && !validatedTabs[4]}\">*</span>\r\n }\r\n </div>\r\n </p-tab>\r\n }\r\n @if (headers.length > 5) {\r\n <p-tab [value]=\"5\" [disabled]=\"disabledTabs[5]\" [ngClass]=\"{'flex items-center !gap-2 text-inherit': (icons && icons[0])}\">\r\n @if (icons && icons[5]) {\r\n <i [class]=\"'pi '+icons[5]\"></i>\r\n }\r\n <div>\r\n @if (headers[5]) {\r\n <span class=\"p-tabview-title\">{{headers[5]}}</span>\r\n }\r\n @if (requiredTabs[5] && !disabledTabs[5]) {\r\n <span class=\"p-tabview-asterisk\" [ngClass]=\"{'not-validated': applyValidationStyle && !validatedTabs[5]}\">*</span>\r\n }\r\n </div>\r\n </p-tab>\r\n }\r\n @if (headers.length > 6) {\r\n <p-tab [value]=\"6\" [disabled]=\"disabledTabs[6]\" [ngClass]=\"{'flex items-center !gap-2 text-inherit': (icons && icons[0])}\">\r\n @if (icons && icons[6]) {\r\n <i [class]=\"'pi '+icons[6]\"></i>\r\n }\r\n <div>\r\n @if (headers[6]) {\r\n <span class=\"p-tabview-title\">{{headers[6]}}</span>\r\n }\r\n @if (requiredTabs[6] && !disabledTabs[6]) {\r\n <span class=\"p-tabview-asterisk\" [ngClass]=\"{'not-validated': applyValidationStyle && !validatedTabs[6]}\">*</span>\r\n }\r\n </div>\r\n </p-tab>\r\n }\r\n @if (headers.length > 7) {\r\n <p-tab [value]=\"7\" [disabled]=\"disabledTabs[7]\" [ngClass]=\"{'flex items-center !gap-2 text-inherit': (icons && icons[0])}\">\r\n @if (icons && icons[7]) {\r\n <i [class]=\"'pi '+icons[7]\"></i>\r\n }\r\n <div>\r\n @if (headers[7]) {\r\n <span class=\"p-tabview-title\">{{headers[7]}}</span>\r\n }\r\n @if (requiredTabs[7] && !disabledTabs[7]) {\r\n <span class=\"p-tabview-asterisk\" [ngClass]=\"{'not-validated': applyValidationStyle && !validatedTabs[7]}\">*</span>\r\n }\r\n </div>\r\n </p-tab>\r\n }\r\n @if (headers.length > 8) {\r\n <p-tab [value]=\"8\" [disabled]=\"disabledTabs[8]\" [ngClass]=\"{'flex items-center !gap-2 text-inherit': (icons && icons[0])}\">\r\n @if (icons && icons[8]) {\r\n <i [class]=\"'pi '+icons[8]\"></i>\r\n }\r\n <div>\r\n @if (headers[8]) {\r\n <span class=\"p-tabview-title\">{{headers[8]}}</span>\r\n }\r\n @if (requiredTabs[8] && !disabledTabs[8]) {\r\n <span class=\"p-tabview-asterisk\" [ngClass]=\"{'not-validated': applyValidationStyle && !validatedTabs[8]}\">*</span>\r\n }\r\n </div>\r\n </p-tab>\r\n }\r\n @if (headers.length > 9) {\r\n <p-tab [value]=\"9\" [disabled]=\"disabledTabs[9]\" [ngClass]=\"{'flex items-center !gap-2 text-inherit': (icons && icons[0])}\">\r\n @if (icons && icons[9]) {\r\n <i [class]=\"'pi '+icons[9]\"></i>\r\n }\r\n <div>\r\n @if (headers[9]) {\r\n <span class=\"p-tabview-title\">{{headers[9]}}</span>\r\n }\r\n @if (requiredTabs[9] && !disabledTabs[9]) {\r\n <span class=\"p-tabview-asterisk\" [ngClass]=\"{'not-validated': applyValidationStyle && !validatedTabs[9]}\">*</span>\r\n }\r\n </div>\r\n </p-tab>\r\n }\r\n </p-tablist>\r\n <p-tabpanels>\r\n @if (headers.length > 0 ) {\r\n <p-tabpanel [value]=\"0\">\r\n @if (keepTabsVisible == true ? true : activeIndex == 0) {\r\n <ng-content select=\".panel-1\"></ng-content>\r\n }\r\n </p-tabpanel>\r\n }\r\n @if (headers.length > 1) {\r\n <p-tabpanel [value]=\"1\">\r\n @if (keepTabsVisible == true ? true : activeIndex == 1) {\r\n <ng-content select=\".panel-2\"></ng-content>\r\n }\r\n </p-tabpanel>\r\n }\r\n @if (headers.length > 2 ) {\r\n <p-tabpanel [value]=\"2\">\r\n @if (keepTabsVisible == true ? true : activeIndex == 2) {\r\n <ng-content select=\".panel-3\"></ng-content>\r\n }\r\n </p-tabpanel>\r\n }\r\n @if (headers.length > 3) {\r\n <p-tabpanel [value]=\"3\">\r\n @if (keepTabsVisible == true ? true : activeIndex == 3) {\r\n <ng-content select=\".panel-4\"></ng-content>\r\n }\r\n </p-tabpanel>\r\n }\r\n @if (headers.length > 4) {\r\n <p-tabpanel [value]=\"4\">\r\n @if (keepTabsVisible == true ? true : activeIndex == 4) {\r\n <ng-content select=\".panel-5\"></ng-content>\r\n }\r\n </p-tabpanel>\r\n }\r\n @if (headers.length > 5) {\r\n <p-tabpanel [value]=\"5\">\r\n @if (keepTabsVisible == true ? true : activeIndex == 5) {\r\n <ng-content select=\".panel-6\"></ng-content>\r\n }\r\n </p-tabpanel>\r\n }\r\n @if (headers.length > 6) {\r\n <p-tabpanel [value]=\"6\">\r\n @if (keepTabsVisible == true ? true : activeIndex == 6) {\r\n <ng-content select=\".panel-7\"></ng-content>\r\n }\r\n </p-tabpanel>\r\n }\r\n @if (headers.length > 7) {\r\n <p-tabpanel [value]=\"7\">\r\n @if (keepTabsVisible == true ? true : activeIndex == 7) {\r\n <ng-content select=\".panel-8\"></ng-content>\r\n }\r\n </p-tabpanel>\r\n }\r\n @if (headers.length > 8) {\r\n <p-tabpanel [value]=\"8\">\r\n @if (keepTabsVisible == true ? true : activeIndex == 8) {\r\n <ng-content select=\".panel-9\"></ng-content>\r\n }\r\n </p-tabpanel>\r\n }\r\n @if (headers.length > 9) {\r\n <p-tabpanel [value]=\"9\">\r\n @if (keepTabsVisible == true ? true : activeIndex == 9) {\r\n <ng-content select=\".panel-10\"></ng-content>\r\n }\r\n </p-tabpanel>\r\n }\r\n </p-tabpanels>\r\n</p-tabs>\r\n", styles: [".heading1{font-size:2.6666666667rem;line-height:3rem;font-weight:700}.heading2{font-size:2.3333333333rem;line-height:2.6666666667rem;font-weight:700}.heading3{font-size:2rem;line-height:2.3333333333rem;font-weight:700}.heading4{font-size:1.6666666667rem;line-height:2rem;font-weight:700}.heading5,.w-sidebar-title-text{font-size:1.5rem;line-height:1.8333333333rem;font-weight:700}.heading6{font-size:1.3333333333rem;line-height:1.6666666667rem;font-weight:700}.subtitle1,.w-tab-text,:host ::ng-deep .w-tabview-regular.p-tabs .p-tablist .p-tablist-content .p-tablist-tab-list .p-tab,:host ::ng-deep .w-tabview-secondary.p-tabs .p-tablist .p-tablist-content .p-tablist-tab-list .p-tab,.w-panel-title-text{font-size:1.1666666667rem;line-height:1.3333333333rem;font-weight:700}.subtitle2,.w-table-th-text,.w-panel-subtitle-text,.w-input-small-label-text-typography,.w-input-small-label-text,.w-input-small-label-disabled,.w-view-small-label-text-typography,.w-view-small-label-text,.w-button-small-text-label-text-typography,.w-button-small-text-label-text{font-size:1rem;line-height:1.1666666667rem;font-weight:600}.body,.w-image-file-uploader-navigators-text,.w-table-td-text,.w-chip-text,.w-panel-content,.w-input-small-select-options-text,.w-input-small-placeholder-text-typography,.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text,.w-view-small-value-text-typography,.w-view-small-value-text,.w-button-small-label-text-typography,.w-button-small-tertiary-label-text{font-size:1rem;line-height:1.1666666667rem;font-weight:400}.caption,.w-input-success-alert-text{font-size:.6666666667rem;line-height:1rem;font-weight:400}.light,.w-input-small-placeholder-text-only-color{font-size:.9166666667rem;line-height:1.0833333333rem;font-weight:300}.small,.w-error-message,.w-input-error-alert-text,.w-input-warning-alert-text,.w-button-small-label-text-typography-sm{font-size:.8333333333rem;line-height:1rem;font-weight:400}.textMainColor{color:#1f2224}.textSoftColor{color:#5f6468}.textSofterColor{color:#9aa0a7}.textSoftestColor{color:#e8ebee}.textInverseColor{color:#fff}.spacingXXS{padding:4px}.spacingXSM{padding:6px}.spacingXSMDivider{height:6px}.spacingXS{padding:8px}.spacingS{padding:12px}.spacingM{padding:16px}.spacingL{padding:20px}.spacingXL{padding:24px}.spacingXXL{padding:28px}.spacingXXXL{padding:32px}.panel-title-gap-divider{height:20px}.panel-section-gap-divider{height:32px}.input-vertical-gap-divider{height:24px}.input-label-gap-divider{height:6px}.focusedInput{border:1px solid rgba(0,157,253,.25);box-shadow:0 0 10px #00b3eb40}.focus{box-shadow:0 0 8px #00a6e980}.hover{border-radius:8px;border:1px solid #00b3eb}.hoveredInput{border-radius:8px;border:1px solid rgba(0,179,235,.5)}.input-generic-valid{border-radius:8px;border:1px solid #B3FFD3}.input-generic-valid-focus{border-radius:8px;border:1px solid #B3FFD3!important;box-shadow:0 0 8px #46ff9b80!important;padding-left:16px}.input-generic-warning{border-radius:8px;border:1px solid #FFECB8!important}.input-generic-warning-focus{border-radius:8px;border:1px solid #FFECB8!important;box-shadow:0 0 8px #ffcd4680!important;padding-left:16px}.input-generic-error-focus{border-radius:8px;border:1px solid #FFBDBD!important;box-shadow:0 0 8px #ff555580!important;padding-left:16px}.input-generic-error{border-radius:8px;border:1px solid #FFBDBD}.toggle-small-typography{font-size:12px;line-height:16px;font-weight:600}.w-button-small-label-text-typography,.w-button-small-tertiary-label-text,.w-button-small-label-text-typography-sm{font-weight:600}.w-button-small-tertiary-label-text{color:#5f6468}.w-button-small-text-label-text{color:#1f2224}.w-button-small-icon-text{font-size:12px;font-weight:600}.w-table-button-small-icon-text{font-size:12px;color:#9aa0a7}.w-control-button-small-label-text{font-size:12px;font-weight:600;line-height:16px}.w-control-button-x-small-icon-text{font-size:10px;font-weight:700}.w-control-button-small-icon-text{font-size:8px;font-weight:700}.w-button-medium-label-text-typography,.w-button-medium-tertiary-label-text{font-size:16px;font-weight:600;line-height:16px}.w-button-medium-tertiary-label-text{color:#1f2224}.w-button-medium-icon-text{font-size:16px}.w-control-button-medium-label-text{font-size:14px;font-weight:600;line-height:16px}.w-control-button-medium-icon-text{font-size:12px;font-weight:700}.w-button-large-label-text-typography,.w-button-large-tertiary-label-text{font-size:20px;font-weight:600;line-height:24px}.w-button-large-tertiary-label-text{color:#1f2224}.w-button-x-small-label-text{font-size:10px;font-weight:600;line-height:10px}.w-button-small-only-label-text{font-size:12px;font-weight:600;line-height:16px}.w-button-large-icon-text{font-size:24px}.w-view-small-label-text{color:#1f2224}.w-view-small-value-text{color:#5f6468}.w-input-no-label-height{height:14px}.w-input-disabled{background-color:#f8f9fa!important;border-color:#e8ebee!important;opacity:.6!important}.w-input-small-label-text-typography,.w-input-small-label-text,.w-input-small-label-disabled{height:fit-content}.w-input-small-label-text,.w-input-small-label-disabled{color:#1f2224}.w-input-small-label-disabled{color:#9aa0a7}.w-input-small-label-text-content{padding:12px 8px 8px 0;margin:0}.w-input-small-label-text-content-no-top{padding-top:0}.w-input-small-placeholder-text{color:#1f2224}.w-input-small-placeholder-text-only-color{color:#9aa0a7;line-height:1.3333333333rem}.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text-disabled-only-color{color:#5f6468}.w-input-small-text-icon,.w-input-small-select-options-text{color:#1f2224}.w-input-medium-label-text-typography,.w-input-medium-label-text,.w-input-medium-label-disabled{font-size:14px;font-weight:600;line-height:16px}.w-input-medium-label-text,.w-input-medium-label-disabled{color:#1f2224}.w-input-medium-label-disabled{color:#9aa0a7}.w-input-medium-placeholder-text-typography,.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text{font-size:16px;font-weight:400;line-height:24px}.w-input-medium-placeholder-text,.w-input-medium-placeholder-text-only-color{color:#1f2224}.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text-disabled-only-color{color:#5f6468}.w-input-medium-text-icon{color:#1f2224}.w-input-medium-select-options-text{font-size:16px;font-weight:400;line-height:24px;color:#1f2224}.w-input-success-alert-text{color:#00db5d;padding:8px 8px 0;margin-top:0}.w-input-warning-alert-text{color:#eeae00;padding:0 4px;margin-top:-2px}.w-input-error-alert-text{color:#e50000;padding:0 4px;margin-top:-2px}.w-input-alert-message-height{height:32px}.w-error-message{color:#e50000;padding:0 4px;margin-top:-2px}.w-sidebar-title-text,.w-panel-title-text,.w-panel-subtitle-text{color:#1f2224}.w-panel-content{color:#5f6468}.w-tab-text,:host ::ng-deep .w-tabview-regular.p-tabs .p-tablist .p-tablist-content .p-tablist-tab-list .p-tab,:host ::ng-deep .w-tabview-secondary.p-tabs .p-tablist .p-tablist-content .p-tablist-tab-list .p-tab{color:#1f2224}.w-chip-text{color:#1f2224}.w-badge-text{font-size:10px;font-weight:700;line-height:8px}.w-table-th-text{color:#1f2224}.w-table-td-text{color:#5f6468}.w-table-height{padding:6px 8px 5px}.w-table-no-buttons-height{padding:16px 8px 15px!important}.w-tree-table-height{padding:8px 8px 7px}.w-image-file-uploader-navigators-text{font-size:12px;color:#fff}.grid{margin:0}::ng-deep .p-tooltip,.p-tooltip{filter:0px 0px 1px 0px rgba(0,0,0,.1) inset,1px 1px 5px rgba(0,0,0,.06),1px 1px 1px rgba(0,0,0,.08)}::ng-deep .p-tooltip .p-tooltip-text,.p-tooltip .p-tooltip-text{background:#fff!important;color:#1f2224;padding:12px 16px;max-width:192px;width:max-content;margin-left:3px;pointer-events:none}::ng-deep .p-tooltip.p-tooltip-left,.p-tooltip.p-tooltip-left{margin-right:6px;width:max-content;transform:translate(-6px)}::ng-deep .p-tooltip.p-tooltip-left .p-tooltip-arrow,.p-tooltip.p-tooltip-left .p-tooltip-arrow{border-left-color:#fff!important;top:50%;right:-3px;margin-top:-4px;border-width:4px 0 4px 6px!important}::ng-deep .p-tooltip.p-tooltip-right,.p-tooltip.p-tooltip-right{margin-left:6px;width:max-content;transform:translateY(-1px)}::ng-deep .p-tooltip.p-tooltip-right .p-tooltip-arrow,.p-tooltip.p-tooltip-right .p-tooltip-arrow{border-right-color:#fff!important;top:50%;left:0;margin-top:-4px;border-width:4px 6px 4px 0!important}::ng-deep .p-tooltip.p-tooltip-bottom .p-tooltip-arrow,.p-tooltip.p-tooltip-bottom .p-tooltip-arrow{border-bottom-color:#fff!important;border-width:0 4px 6px 4px!important;margin-top:-3px}:host ::ng-deep .w-tabview-regular.p-tabs .p-tablist,:host ::ng-deep .w-tabview-secondary.p-tabs .p-tablist{background:transparent}:host ::ng-deep .w-tabview-regular.p-tabs .p-tablist .p-tablist-content .p-tablist-tab-list,:host ::ng-deep .w-tabview-secondary.p-tabs .p-tablist .p-tablist-content .p-tablist-tab-list{position:inherit;border-width:0 0 2px 0;border-color:#e8ebee}:host ::ng-deep .w-tabview-regular.p-tabs .p-tablist .p-tablist-content .p-tablist-tab-list .p-tab,:host ::ng-deep .w-tabview-secondary.p-tabs .p-tablist .p-tablist-content .p-tablist-tab-list .p-tab{font-weight:400;padding:12px;gap:8px;background-color:transparent;border:none}:host ::ng-deep .w-tabview-regular.p-tabs .p-tablist .p-tablist-content .p-tablist-tab-list .p-tab.p-tab-active,:host ::ng-deep .w-tabview-secondary.p-tabs .p-tablist .p-tablist-content .p-tablist-tab-list .p-tab.p-tab-active{font-weight:700;border:none}:host ::ng-deep .w-tabview-regular.p-tabs .p-tablist .p-tablist-content .p-tablist-tab-list .p-tab div .p-tabview-asterisk.not-validated,:host ::ng-deep .w-tabview-secondary.p-tabs .p-tablist .p-tablist-content .p-tablist-tab-list .p-tab div .p-tabview-asterisk.not-validated{color:#e50000}:host ::ng-deep .w-tabview-regular.p-tabs .p-tablist .p-tablist-content .p-tablist-tab-list .p-tablist-active-bar,:host ::ng-deep .w-tabview-secondary.p-tabs .p-tablist .p-tablist-content .p-tablist-tab-list .p-tablist-active-bar{height:2px;background-color:#000;bottom:0;transition:.5s cubic-bezier(.35,0,.25,1)!important}:host ::ng-deep .w-tabview-regular.p-tabs .p-tabpanels,:host ::ng-deep .w-tabview-secondary.p-tabs .p-tabpanels{background:none!important;padding:0!important;margin-top:8px!important}::ng-deep .w-tabview-secondary.p-tabs .p-tablist{background:#fff;box-shadow:0 0 1px #0000001a inset,0 4px 8px #005c7a0d,0 1px 3px #005c7a1a;border-radius:8px}::ng-deep .w-tabview-secondary.p-tabs .p-tablist .p-tablist-content .p-tablist-tab-list .p-tab{color:#000;padding:0 32px;height:52px!important;align-content:center}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: i2$7.Tabs, selector: "p-tabs", inputs: ["value", "scrollable", "lazy", "selectOnFocus", "showNavigators", "tabindex"], outputs: ["valueChange"] }, { kind: "component", type: i2$7.TabPanels, selector: "p-tabpanels" }, { kind: "component", type: i2$7.TabPanel, selector: "p-tabpanel", inputs: ["lazy", "value"], outputs: ["valueChange"] }, { kind: "component", type: i2$7.TabList, selector: "p-tablist" }, { kind: "component", type: i2$7.Tab, selector: "p-tab", inputs: ["value", "disabled"], outputs: ["valueChange"] }, { kind: "directive", type: i4.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }] }); }
|
|
8119
8119
|
}
|
|
8120
8120
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: WTabviewComponent, decorators: [{
|
|
8121
8121
|
type: Component,
|
|
8122
|
-
args: [{ selector: 'w-tabview', standalone: false, template: "<!-- ToDo revisar tabs con iconos -->\r\n<p-tabs [value]=\"activeIndex\" [class]=\"type == 'regular' ? 'w-tabview-regular' : 'w-tabview-secondary'\"\r\n (valueChange)=\"activeIndexChange($event)\" [scrollable]=\"isScrollable\" [ngClass]=\"{'title-tabActive': titleTabActive}\">\r\n <p-tablist>\r\n @if (headers.length > 0) {\r\n <p-tab [value]=\"0\" [disabled]=\"disabledTabs[0]\" [ngClass]=\"{'flex items-center !gap-2 text-inherit': (icons && icons[0])}\">\r\n @if (icons && icons[0]) {\r\n <i [class]=\"'pi '+icons[0]\"></i>\r\n }\r\n <div>\r\n @if (headers[0]) {\r\n <span class=\"p-tabview-title\">{{headers[0]}}</span>\r\n }\r\n @if (requiredTabs[0] && !disabledTabs[0]) {\r\n <span class=\"p-tabview-asterisk\" [ngClass]=\"{'not-validated': applyValidationStyle && !validatedTabs[0]}\">*</span>\r\n }\r\n </div>\r\n </p-tab>\r\n }\r\n @if (headers.length > 1) {\r\n <p-tab [value]=\"1\" [disabled]=\"disabledTabs[1]\" [ngClass]=\"{'flex items-center !gap-2 text-inherit': (icons && icons[0])}\">\r\n @if (icons && icons[1]) {\r\n <i [class]=\"'pi '+icons[1]\"></i>\r\n }\r\n <div>\r\n @if (headers[1]) {\r\n <span class=\"p-tabview-title\">{{headers[1]}}</span>\r\n }\r\n @if (requiredTabs[1] && !disabledTabs[1]) {\r\n <span class=\"p-tabview-asterisk\" [ngClass]=\"{'not-validated': applyValidationStyle && !validatedTabs[1]}\">*</span>\r\n }\r\n </div>\r\n </p-tab>\r\n }\r\n @if (headers.length > 2 ) {\r\n <p-tab [value]=\"2\" [disabled]=\"disabledTabs[2]\" [ngClass]=\"{'flex items-center !gap-2 text-inherit': (icons && icons[0])}\">\r\n @if (icons && icons[2]) {\r\n <i [class]=\"'pi '+icons[2]\"></i>\r\n }\r\n <div>\r\n @if (headers[2]) {\r\n <span class=\"p-tabview-title\">{{headers[2]}}</span>\r\n }\r\n @if (requiredTabs[2] && !disabledTabs[2]) {\r\n <span class=\"p-tabview-asterisk\" [ngClass]=\"{'not-validated': applyValidationStyle && !validatedTabs[2]}\">*</span>\r\n }\r\n </div>\r\n </p-tab>\r\n }\r\n @if (headers.length > 3) {\r\n <p-tab [value]=\"3\" [disabled]=\"disabledTabs[3]\" [ngClass]=\"{'flex items-center !gap-2 text-inherit': (icons && icons[0])}\">\r\n @if (icons && icons[3]) {\r\n <i [class]=\"'pi '+icons[3]\"></i>\r\n }\r\n <div>\r\n @if (headers[3]) {\r\n <span class=\"p-tabview-title\">{{headers[3]}}</span>\r\n }\r\n @if (requiredTabs[3] && !disabledTabs[3]) {\r\n <span class=\"p-tabview-asterisk\" [ngClass]=\"{'not-validated': applyValidationStyle && !validatedTabs[3]}\">*</span>\r\n }\r\n </div>\r\n </p-tab>\r\n }\r\n @if (headers.length > 4) {\r\n <p-tab [value]=\"4\" [disabled]=\"disabledTabs[4]\" [ngClass]=\"{'flex items-center !gap-2 text-inherit': (icons && icons[0])}\">\r\n @if (icons && icons[4]) {\r\n <i [class]=\"'pi '+icons[4]\"></i>\r\n }\r\n <div>\r\n @if (headers[4]) {\r\n <span class=\"p-tabview-title\">{{headers[4]}}</span>\r\n }\r\n @if (requiredTabs[4] && !disabledTabs[4]) {\r\n <span class=\"p-tabview-asterisk\" [ngClass]=\"{'not-validated': applyValidationStyle && !validatedTabs[4]}\">*</span>\r\n }\r\n </div>\r\n </p-tab>\r\n }\r\n @if (headers.length > 5) {\r\n <p-tab [value]=\"5\" [disabled]=\"disabledTabs[5]\" [ngClass]=\"{'flex items-center !gap-2 text-inherit': (icons && icons[0])}\">\r\n @if (icons && icons[5]) {\r\n <i [class]=\"'pi '+icons[5]\"></i>\r\n }\r\n <div>\r\n @if (headers[5]) {\r\n <span class=\"p-tabview-title\">{{headers[5]}}</span>\r\n }\r\n @if (requiredTabs[5] && !disabledTabs[5]) {\r\n <span class=\"p-tabview-asterisk\" [ngClass]=\"{'not-validated': applyValidationStyle && !validatedTabs[5]}\">*</span>\r\n }\r\n </div>\r\n </p-tab>\r\n }\r\n @if (headers.length > 6) {\r\n <p-tab [value]=\"6\" [disabled]=\"disabledTabs[6]\" [ngClass]=\"{'flex items-center !gap-2 text-inherit': (icons && icons[0])}\">\r\n @if (icons && icons[6]) {\r\n <i [class]=\"'pi '+icons[6]\"></i>\r\n }\r\n <div>\r\n @if (headers[6]) {\r\n <span class=\"p-tabview-title\">{{headers[6]}}</span>\r\n }\r\n @if (requiredTabs[6] && !disabledTabs[6]) {\r\n <span class=\"p-tabview-asterisk\" [ngClass]=\"{'not-validated': applyValidationStyle && !validatedTabs[6]}\">*</span>\r\n }\r\n </div>\r\n </p-tab>\r\n }\r\n @if (headers.length > 7) {\r\n <p-tab [value]=\"7\" [disabled]=\"disabledTabs[7]\" [ngClass]=\"{'flex items-center !gap-2 text-inherit': (icons && icons[0])}\">\r\n @if (icons && icons[7]) {\r\n <i [class]=\"'pi '+icons[7]\"></i>\r\n }\r\n <div>\r\n @if (headers[7]) {\r\n <span class=\"p-tabview-title\">{{headers[7]}}</span>\r\n }\r\n @if (requiredTabs[7] && !disabledTabs[7]) {\r\n <span class=\"p-tabview-asterisk\" [ngClass]=\"{'not-validated': applyValidationStyle && !validatedTabs[7]}\">*</span>\r\n }\r\n </div>\r\n </p-tab>\r\n }\r\n @if (headers.length > 8) {\r\n <p-tab [value]=\"8\" [disabled]=\"disabledTabs[8]\" [ngClass]=\"{'flex items-center !gap-2 text-inherit': (icons && icons[0])}\">\r\n @if (icons && icons[8]) {\r\n <i [class]=\"'pi '+icons[8]\"></i>\r\n }\r\n <div>\r\n @if (headers[8]) {\r\n <span class=\"p-tabview-title\">{{headers[8]}}</span>\r\n }\r\n @if (requiredTabs[8] && !disabledTabs[8]) {\r\n <span class=\"p-tabview-asterisk\" [ngClass]=\"{'not-validated': applyValidationStyle && !validatedTabs[8]}\">*</span>\r\n }\r\n </div>\r\n </p-tab>\r\n }\r\n @if (headers.length > 9) {\r\n <p-tab [value]=\"9\" [disabled]=\"disabledTabs[9]\" [ngClass]=\"{'flex items-center !gap-2 text-inherit': (icons && icons[0])}\">\r\n @if (icons && icons[9]) {\r\n <i [class]=\"'pi '+icons[9]\"></i>\r\n }\r\n <div>\r\n @if (headers[9]) {\r\n <span class=\"p-tabview-title\">{{headers[9]}}</span>\r\n }\r\n @if (requiredTabs[9] && !disabledTabs[9]) {\r\n <span class=\"p-tabview-asterisk\" [ngClass]=\"{'not-validated': applyValidationStyle && !validatedTabs[9]}\">*</span>\r\n }\r\n </div>\r\n </p-tab>\r\n }\r\n </p-tablist>\r\n <p-tabpanels>\r\n @if (headers.length > 0 ) {\r\n <p-tabpanel [value]=\"0\">\r\n @if (keepTabsVisible == true ? true : activeIndex == 0) {\r\n <ng-content select=\".panel-1\"></ng-content>\r\n }\r\n </p-tabpanel>\r\n }\r\n @if (headers.length > 1) {\r\n <p-tabpanel [value]=\"1\">\r\n @if (keepTabsVisible == true ? true : activeIndex == 1) {\r\n <ng-content select=\".panel-2\"></ng-content>\r\n }\r\n </p-tabpanel>\r\n }\r\n @if (headers.length > 2 ) {\r\n <p-tabpanel [value]=\"2\">\r\n @if (keepTabsVisible == true ? true : activeIndex == 2) {\r\n <ng-content select=\".panel-3\"></ng-content>\r\n }\r\n </p-tabpanel>\r\n }\r\n @if (headers.length > 3) {\r\n <p-tabpanel [value]=\"3\">\r\n @if (keepTabsVisible == true ? true : activeIndex == 3) {\r\n <ng-content select=\".panel-4\"></ng-content>\r\n }\r\n </p-tabpanel>\r\n }\r\n @if (headers.length > 4) {\r\n <p-tabpanel [value]=\"4\">\r\n @if (keepTabsVisible == true ? true : activeIndex == 4) {\r\n <ng-content select=\".panel-5\"></ng-content>\r\n }\r\n </p-tabpanel>\r\n }\r\n @if (headers.length > 5) {\r\n <p-tabpanel [value]=\"5\">\r\n @if (keepTabsVisible == true ? true : activeIndex == 5) {\r\n <ng-content select=\".panel-6\"></ng-content>\r\n }\r\n </p-tabpanel>\r\n }\r\n @if (headers.length > 6) {\r\n <p-tabpanel [value]=\"6\">\r\n @if (keepTabsVisible == true ? true : activeIndex == 6) {\r\n <ng-content select=\".panel-7\"></ng-content>\r\n }\r\n </p-tabpanel>\r\n }\r\n @if (headers.length > 7) {\r\n <p-tabpanel [value]=\"7\">\r\n @if (keepTabsVisible == true ? true : activeIndex == 7) {\r\n <ng-content select=\".panel-8\"></ng-content>\r\n }\r\n </p-tabpanel>\r\n }\r\n @if (headers.length > 8) {\r\n <p-tabpanel [value]=\"8\">\r\n @if (keepTabsVisible == true ? true : activeIndex == 8) {\r\n <ng-content select=\".panel-9\"></ng-content>\r\n }\r\n </p-tabpanel>\r\n }\r\n @if (headers.length > 9) {\r\n <p-tabpanel [value]=\"9\">\r\n @if (keepTabsVisible == true ? true : activeIndex == 9) {\r\n <ng-content select=\".panel-10\"></ng-content>\r\n }\r\n </p-tabpanel>\r\n }\r\n </p-tabpanels>\r\n</p-tabs>\r\n", styles: [".heading1{font-size:2.6666666667rem;line-height:3rem;font-weight:700}.heading2{font-size:2.3333333333rem;line-height:2.6666666667rem;font-weight:700}.heading3{font-size:2rem;line-height:2.3333333333rem;font-weight:700}.heading4{font-size:1.6666666667rem;line-height:2rem;font-weight:700}.heading5,:host ::ng-deep .title-tabActive .p-tabview-title,.w-sidebar-title-text{font-size:1.5rem;line-height:1.8333333333rem;font-weight:700}.heading6{font-size:1.3333333333rem;line-height:1.6666666667rem;font-weight:700}.subtitle1,.w-tab-text,.w-panel-title-text{font-size:1.1666666667rem;line-height:1.3333333333rem;font-weight:700}.subtitle2,.w-table-th-text,.w-panel-subtitle-text,.w-input-small-label-text-typography,.w-input-small-label-text,.w-input-small-label-disabled,.w-view-small-label-text-typography,.w-view-small-label-text,.w-button-small-text-label-text-typography,.w-button-small-text-label-text{font-size:1rem;line-height:1.1666666667rem;font-weight:600}.body,.w-image-file-uploader-navigators-text,.w-table-td-text,.w-chip-text,.w-panel-content,.w-input-small-select-options-text,.w-input-small-placeholder-text-typography,.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text,.w-view-small-value-text-typography,.w-view-small-value-text,.w-button-small-label-text-typography,.w-button-small-tertiary-label-text{font-size:1rem;line-height:1.1666666667rem;font-weight:400}.caption,.w-input-success-alert-text{font-size:.6666666667rem;line-height:1rem;font-weight:400}.light,.w-input-small-placeholder-text-only-color{font-size:.9166666667rem;line-height:1.0833333333rem;font-weight:300}.small,.w-error-message,.w-input-error-alert-text,.w-input-warning-alert-text,.w-button-small-label-text-typography-sm{font-size:.8333333333rem;line-height:1rem;font-weight:400}.textMainColor{color:#1f2224}.textSoftColor{color:#5f6468}.textSofterColor{color:#9aa0a7}.textSoftestColor{color:#e8ebee}.textInverseColor{color:#fff}.spacingXXS{padding:4px}.spacingXSM{padding:6px}.spacingXSMDivider{height:6px}.spacingXS{padding:8px}.spacingS{padding:12px}.spacingM{padding:16px}.spacingL{padding:20px}.spacingXL{padding:24px}.spacingXXL{padding:28px}.spacingXXXL{padding:32px}.panel-title-gap-divider{height:20px}.panel-section-gap-divider{height:32px}.input-vertical-gap-divider{height:24px}.input-label-gap-divider{height:6px}.focusedInput{border:1px solid rgba(0,157,253,.25);box-shadow:0 0 10px #00b3eb40}.focus{box-shadow:0 0 8px #00a6e980}.hover{border-radius:8px;border:1px solid #00b3eb}.hoveredInput{border-radius:8px;border:1px solid rgba(0,179,235,.5)}.input-generic-valid{border-radius:8px;border:1px solid #B3FFD3}.input-generic-valid-focus{border-radius:8px;border:1px solid #B3FFD3!important;box-shadow:0 0 8px #46ff9b80!important;padding-left:16px}.input-generic-warning{border-radius:8px;border:1px solid #FFECB8!important}.input-generic-warning-focus{border-radius:8px;border:1px solid #FFECB8!important;box-shadow:0 0 8px #ffcd4680!important;padding-left:16px}.input-generic-error-focus{border-radius:8px;border:1px solid #FFBDBD!important;box-shadow:0 0 8px #ff555580!important;padding-left:16px}.input-generic-error{border-radius:8px;border:1px solid #FFBDBD}.toggle-small-typography{font-size:12px;line-height:16px;font-weight:600}.w-button-small-label-text-typography,.w-button-small-tertiary-label-text,.w-button-small-label-text-typography-sm{font-weight:600}.w-button-small-tertiary-label-text{color:#5f6468}.w-button-small-text-label-text{color:#1f2224}.w-button-small-icon-text{font-size:12px;font-weight:600}.w-table-button-small-icon-text{font-size:12px;color:#9aa0a7}.w-control-button-small-label-text{font-size:12px;font-weight:600;line-height:16px}.w-control-button-x-small-icon-text{font-size:10px;font-weight:700}.w-control-button-small-icon-text{font-size:8px;font-weight:700}.w-button-medium-label-text-typography,.w-button-medium-tertiary-label-text{font-size:16px;font-weight:600;line-height:16px}.w-button-medium-tertiary-label-text{color:#1f2224}.w-button-medium-icon-text{font-size:16px}.w-control-button-medium-label-text{font-size:14px;font-weight:600;line-height:16px}.w-control-button-medium-icon-text{font-size:12px;font-weight:700}.w-button-large-label-text-typography,.w-button-large-tertiary-label-text{font-size:20px;font-weight:600;line-height:24px}.w-button-large-tertiary-label-text{color:#1f2224}.w-button-x-small-label-text{font-size:10px;font-weight:600;line-height:10px}.w-button-small-only-label-text{font-size:12px;font-weight:600;line-height:16px}.w-button-large-icon-text{font-size:24px}.w-view-small-label-text{color:#1f2224}.w-view-small-value-text{color:#5f6468}.w-input-no-label-height{height:14px}.w-input-disabled{background-color:#f8f9fa!important;border-color:#e8ebee!important;opacity:.6!important}.w-input-small-label-text-typography,.w-input-small-label-text,.w-input-small-label-disabled{height:fit-content}.w-input-small-label-text,.w-input-small-label-disabled{color:#1f2224}.w-input-small-label-disabled{color:#9aa0a7}.w-input-small-label-text-content{padding:12px 8px 8px 0;margin:0}.w-input-small-label-text-content-no-top{padding-top:0}.w-input-small-placeholder-text{color:#1f2224}.w-input-small-placeholder-text-only-color{color:#9aa0a7;line-height:1.3333333333rem}.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text-disabled-only-color{color:#5f6468}.w-input-small-text-icon,.w-input-small-select-options-text{color:#1f2224}.w-input-medium-label-text-typography,.w-input-medium-label-text,.w-input-medium-label-disabled{font-size:14px;font-weight:600;line-height:16px}.w-input-medium-label-text,.w-input-medium-label-disabled{color:#1f2224}.w-input-medium-label-disabled{color:#9aa0a7}.w-input-medium-placeholder-text-typography,.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text{font-size:16px;font-weight:400;line-height:24px}.w-input-medium-placeholder-text,.w-input-medium-placeholder-text-only-color{color:#1f2224}.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text-disabled-only-color{color:#5f6468}.w-input-medium-text-icon{color:#1f2224}.w-input-medium-select-options-text{font-size:16px;font-weight:400;line-height:24px;color:#1f2224}.w-input-success-alert-text{color:#00db5d;padding:8px 8px 0;margin-top:0}.w-input-warning-alert-text{color:#eeae00;padding:0 4px;margin-top:-2px}.w-input-error-alert-text{color:#e50000;padding:0 4px;margin-top:-2px}.w-input-alert-message-height{height:32px}.w-error-message{color:#e50000;padding:0 4px;margin-top:-2px}.w-sidebar-title-text,.w-panel-title-text,.w-panel-subtitle-text{color:#1f2224}.w-panel-content{color:#5f6468}.w-tab-text,.w-chip-text{color:#1f2224}.w-badge-text{font-size:10px;font-weight:700;line-height:8px}.w-table-th-text{color:#1f2224}.w-table-td-text{color:#5f6468}.w-table-height{padding:6px 8px 5px}.w-table-no-buttons-height{padding:16px 8px 15px!important}.w-tree-table-height{padding:8px 8px 7px}.w-image-file-uploader-navigators-text{font-size:12px;color:#fff}.grid{margin:0}::ng-deep .p-tooltip,.p-tooltip{filter:0px 0px 1px 0px rgba(0,0,0,.1) inset,1px 1px 5px rgba(0,0,0,.06),1px 1px 1px rgba(0,0,0,.08)}::ng-deep .p-tooltip .p-tooltip-text,.p-tooltip .p-tooltip-text{background:#fff!important;color:#1f2224;padding:12px 16px;max-width:192px;width:max-content;margin-left:3px;pointer-events:none}::ng-deep .p-tooltip.p-tooltip-left,.p-tooltip.p-tooltip-left{margin-right:6px;width:max-content;transform:translate(-6px)}::ng-deep .p-tooltip.p-tooltip-left .p-tooltip-arrow,.p-tooltip.p-tooltip-left .p-tooltip-arrow{border-left-color:#fff!important;top:50%;right:-3px;margin-top:-4px;border-width:4px 0 4px 6px!important}::ng-deep .p-tooltip.p-tooltip-right,.p-tooltip.p-tooltip-right{margin-left:6px;width:max-content;transform:translateY(-1px)}::ng-deep .p-tooltip.p-tooltip-right .p-tooltip-arrow,.p-tooltip.p-tooltip-right .p-tooltip-arrow{border-right-color:#fff!important;top:50%;left:0;margin-top:-4px;border-width:4px 6px 4px 0!important}::ng-deep .p-tooltip.p-tooltip-bottom .p-tooltip-arrow,.p-tooltip.p-tooltip-bottom .p-tooltip-arrow{border-bottom-color:#fff!important;border-width:0 4px 6px 4px!important;margin-top:-3px}.w-tabview-regular.p-tablist{background:transparent}::ng-deep .w-tabview-secondary .p-tablist{background:#fff;box-shadow:0 0 1px #0000001a inset,0 4px 8px #005c7a0d,0 1px 3px #005c7a1a;border-radius:8px}::ng-deep .w-tabview-regular .p-tab{background:transparent;color:#000;transition:none;border-top:none;border-bottom:2px solid #e2e8f0;gap:8px;transition:.5s cubic-bezier(.35,0,.25,1)}::ng-deep .w-tabview-secondary .p-tab{background:transparent;color:#000;transition:none;border-top:none;border-bottom:2px solid #e2e8f0;gap:8px;transition:.5s cubic-bezier(.35,0,.25,1);height:52px;align-content:center;padding:0 32px}.p-tab:not(.p-tab-active):not(.p-disabled):hover{background:transparent;border-color:#64748b;color:#64748b}::ng-deep .w-tabview-regular .p-tab-active{background:transparent;color:#000;border-top:none;border-bottom:2px solid;border-color:#005c7a;transition:background-color .2s,border-color .2s,box-shadow .2s}:host ::ng-deep .w-tabview-regular .p-tablist-tab-list{background:transparent}:host ::ng-deep .w-tabview-secondary .p-tablist-tab-list{background:#fff}.w-tabview-secondary.p-tab{height:52px;align-content:center}:host ::ng-deep .p-tabpanels{background:transparent}::ng-deep .p-tabview .p-tabview-nav-btn.p-link{background-color:#fff!important;padding:0 12px!important;width:40px!important;box-shadow:none!important;color:#000!important}::ng-deep .p-tabview .p-tabview-nav-btn.p-link .pi{font-size:16px!important}:host ::ng-deep .title-tabActive .p-tabview{margin-top:32px!important}:host ::ng-deep .title-tabActive .p-tabview-title{color:#1f2224}\n"] }]
|
|
8122
|
+
args: [{ selector: 'w-tabview', standalone: false, template: "<!-- ToDo revisar tabs con iconos -->\r\n<p-tabs [value]=\"activeIndex\" [class]=\"type == 'regular' ? 'w-tabview-regular' : 'w-tabview-secondary'\"\r\n (valueChange)=\"activeIndexChange($event)\" [scrollable]=\"isScrollable\" [ngClass]=\"{'title-tabActive': titleTabActive}\" [scrollable]=\"true\">\r\n <p-tablist>\r\n @if (headers.length > 0) {\r\n <p-tab [value]=\"0\" [disabled]=\"disabledTabs[0]\" [ngClass]=\"{'flex items-center !gap-2 text-inherit': (icons && icons[0])}\">\r\n @if (icons && icons[0]) {\r\n <i [class]=\"'pi '+icons[0]\"></i>\r\n }\r\n <div>\r\n @if (headers[0]) {\r\n <span class=\"p-tabview-title\">{{headers[0]}}</span>\r\n }\r\n @if (requiredTabs[0] && !disabledTabs[0]) {\r\n <span class=\"p-tabview-asterisk\" [ngClass]=\"{'not-validated': applyValidationStyle && !validatedTabs[0]}\">*</span>\r\n }\r\n </div>\r\n </p-tab>\r\n }\r\n @if (headers.length > 1) {\r\n <p-tab [value]=\"1\" [disabled]=\"disabledTabs[1]\" [ngClass]=\"{'flex items-center !gap-2 text-inherit': (icons && icons[0])}\">\r\n @if (icons && icons[1]) {\r\n <i [class]=\"'pi '+icons[1]\"></i>\r\n }\r\n <div>\r\n @if (headers[1]) {\r\n <span class=\"p-tabview-title\">{{headers[1]}}</span>\r\n }\r\n @if (requiredTabs[1] && !disabledTabs[1]) {\r\n <span class=\"p-tabview-asterisk\" [ngClass]=\"{'not-validated': applyValidationStyle && !validatedTabs[1]}\">*</span>\r\n }\r\n </div>\r\n </p-tab>\r\n }\r\n @if (headers.length > 2 ) {\r\n <p-tab [value]=\"2\" [disabled]=\"disabledTabs[2]\" [ngClass]=\"{'flex items-center !gap-2 text-inherit': (icons && icons[0])}\">\r\n @if (icons && icons[2]) {\r\n <i [class]=\"'pi '+icons[2]\"></i>\r\n }\r\n <div>\r\n @if (headers[2]) {\r\n <span class=\"p-tabview-title\">{{headers[2]}}</span>\r\n }\r\n @if (requiredTabs[2] && !disabledTabs[2]) {\r\n <span class=\"p-tabview-asterisk\" [ngClass]=\"{'not-validated': applyValidationStyle && !validatedTabs[2]}\">*</span>\r\n }\r\n </div>\r\n </p-tab>\r\n }\r\n @if (headers.length > 3) {\r\n <p-tab [value]=\"3\" [disabled]=\"disabledTabs[3]\" [ngClass]=\"{'flex items-center !gap-2 text-inherit': (icons && icons[0])}\">\r\n @if (icons && icons[3]) {\r\n <i [class]=\"'pi '+icons[3]\"></i>\r\n }\r\n <div>\r\n @if (headers[3]) {\r\n <span class=\"p-tabview-title\">{{headers[3]}}</span>\r\n }\r\n @if (requiredTabs[3] && !disabledTabs[3]) {\r\n <span class=\"p-tabview-asterisk\" [ngClass]=\"{'not-validated': applyValidationStyle && !validatedTabs[3]}\">*</span>\r\n }\r\n </div>\r\n </p-tab>\r\n }\r\n @if (headers.length > 4) {\r\n <p-tab [value]=\"4\" [disabled]=\"disabledTabs[4]\" [ngClass]=\"{'flex items-center !gap-2 text-inherit': (icons && icons[0])}\">\r\n @if (icons && icons[4]) {\r\n <i [class]=\"'pi '+icons[4]\"></i>\r\n }\r\n <div>\r\n @if (headers[4]) {\r\n <span class=\"p-tabview-title\">{{headers[4]}}</span>\r\n }\r\n @if (requiredTabs[4] && !disabledTabs[4]) {\r\n <span class=\"p-tabview-asterisk\" [ngClass]=\"{'not-validated': applyValidationStyle && !validatedTabs[4]}\">*</span>\r\n }\r\n </div>\r\n </p-tab>\r\n }\r\n @if (headers.length > 5) {\r\n <p-tab [value]=\"5\" [disabled]=\"disabledTabs[5]\" [ngClass]=\"{'flex items-center !gap-2 text-inherit': (icons && icons[0])}\">\r\n @if (icons && icons[5]) {\r\n <i [class]=\"'pi '+icons[5]\"></i>\r\n }\r\n <div>\r\n @if (headers[5]) {\r\n <span class=\"p-tabview-title\">{{headers[5]}}</span>\r\n }\r\n @if (requiredTabs[5] && !disabledTabs[5]) {\r\n <span class=\"p-tabview-asterisk\" [ngClass]=\"{'not-validated': applyValidationStyle && !validatedTabs[5]}\">*</span>\r\n }\r\n </div>\r\n </p-tab>\r\n }\r\n @if (headers.length > 6) {\r\n <p-tab [value]=\"6\" [disabled]=\"disabledTabs[6]\" [ngClass]=\"{'flex items-center !gap-2 text-inherit': (icons && icons[0])}\">\r\n @if (icons && icons[6]) {\r\n <i [class]=\"'pi '+icons[6]\"></i>\r\n }\r\n <div>\r\n @if (headers[6]) {\r\n <span class=\"p-tabview-title\">{{headers[6]}}</span>\r\n }\r\n @if (requiredTabs[6] && !disabledTabs[6]) {\r\n <span class=\"p-tabview-asterisk\" [ngClass]=\"{'not-validated': applyValidationStyle && !validatedTabs[6]}\">*</span>\r\n }\r\n </div>\r\n </p-tab>\r\n }\r\n @if (headers.length > 7) {\r\n <p-tab [value]=\"7\" [disabled]=\"disabledTabs[7]\" [ngClass]=\"{'flex items-center !gap-2 text-inherit': (icons && icons[0])}\">\r\n @if (icons && icons[7]) {\r\n <i [class]=\"'pi '+icons[7]\"></i>\r\n }\r\n <div>\r\n @if (headers[7]) {\r\n <span class=\"p-tabview-title\">{{headers[7]}}</span>\r\n }\r\n @if (requiredTabs[7] && !disabledTabs[7]) {\r\n <span class=\"p-tabview-asterisk\" [ngClass]=\"{'not-validated': applyValidationStyle && !validatedTabs[7]}\">*</span>\r\n }\r\n </div>\r\n </p-tab>\r\n }\r\n @if (headers.length > 8) {\r\n <p-tab [value]=\"8\" [disabled]=\"disabledTabs[8]\" [ngClass]=\"{'flex items-center !gap-2 text-inherit': (icons && icons[0])}\">\r\n @if (icons && icons[8]) {\r\n <i [class]=\"'pi '+icons[8]\"></i>\r\n }\r\n <div>\r\n @if (headers[8]) {\r\n <span class=\"p-tabview-title\">{{headers[8]}}</span>\r\n }\r\n @if (requiredTabs[8] && !disabledTabs[8]) {\r\n <span class=\"p-tabview-asterisk\" [ngClass]=\"{'not-validated': applyValidationStyle && !validatedTabs[8]}\">*</span>\r\n }\r\n </div>\r\n </p-tab>\r\n }\r\n @if (headers.length > 9) {\r\n <p-tab [value]=\"9\" [disabled]=\"disabledTabs[9]\" [ngClass]=\"{'flex items-center !gap-2 text-inherit': (icons && icons[0])}\">\r\n @if (icons && icons[9]) {\r\n <i [class]=\"'pi '+icons[9]\"></i>\r\n }\r\n <div>\r\n @if (headers[9]) {\r\n <span class=\"p-tabview-title\">{{headers[9]}}</span>\r\n }\r\n @if (requiredTabs[9] && !disabledTabs[9]) {\r\n <span class=\"p-tabview-asterisk\" [ngClass]=\"{'not-validated': applyValidationStyle && !validatedTabs[9]}\">*</span>\r\n }\r\n </div>\r\n </p-tab>\r\n }\r\n </p-tablist>\r\n <p-tabpanels>\r\n @if (headers.length > 0 ) {\r\n <p-tabpanel [value]=\"0\">\r\n @if (keepTabsVisible == true ? true : activeIndex == 0) {\r\n <ng-content select=\".panel-1\"></ng-content>\r\n }\r\n </p-tabpanel>\r\n }\r\n @if (headers.length > 1) {\r\n <p-tabpanel [value]=\"1\">\r\n @if (keepTabsVisible == true ? true : activeIndex == 1) {\r\n <ng-content select=\".panel-2\"></ng-content>\r\n }\r\n </p-tabpanel>\r\n }\r\n @if (headers.length > 2 ) {\r\n <p-tabpanel [value]=\"2\">\r\n @if (keepTabsVisible == true ? true : activeIndex == 2) {\r\n <ng-content select=\".panel-3\"></ng-content>\r\n }\r\n </p-tabpanel>\r\n }\r\n @if (headers.length > 3) {\r\n <p-tabpanel [value]=\"3\">\r\n @if (keepTabsVisible == true ? true : activeIndex == 3) {\r\n <ng-content select=\".panel-4\"></ng-content>\r\n }\r\n </p-tabpanel>\r\n }\r\n @if (headers.length > 4) {\r\n <p-tabpanel [value]=\"4\">\r\n @if (keepTabsVisible == true ? true : activeIndex == 4) {\r\n <ng-content select=\".panel-5\"></ng-content>\r\n }\r\n </p-tabpanel>\r\n }\r\n @if (headers.length > 5) {\r\n <p-tabpanel [value]=\"5\">\r\n @if (keepTabsVisible == true ? true : activeIndex == 5) {\r\n <ng-content select=\".panel-6\"></ng-content>\r\n }\r\n </p-tabpanel>\r\n }\r\n @if (headers.length > 6) {\r\n <p-tabpanel [value]=\"6\">\r\n @if (keepTabsVisible == true ? true : activeIndex == 6) {\r\n <ng-content select=\".panel-7\"></ng-content>\r\n }\r\n </p-tabpanel>\r\n }\r\n @if (headers.length > 7) {\r\n <p-tabpanel [value]=\"7\">\r\n @if (keepTabsVisible == true ? true : activeIndex == 7) {\r\n <ng-content select=\".panel-8\"></ng-content>\r\n }\r\n </p-tabpanel>\r\n }\r\n @if (headers.length > 8) {\r\n <p-tabpanel [value]=\"8\">\r\n @if (keepTabsVisible == true ? true : activeIndex == 8) {\r\n <ng-content select=\".panel-9\"></ng-content>\r\n }\r\n </p-tabpanel>\r\n }\r\n @if (headers.length > 9) {\r\n <p-tabpanel [value]=\"9\">\r\n @if (keepTabsVisible == true ? true : activeIndex == 9) {\r\n <ng-content select=\".panel-10\"></ng-content>\r\n }\r\n </p-tabpanel>\r\n }\r\n </p-tabpanels>\r\n</p-tabs>\r\n", styles: [".heading1{font-size:2.6666666667rem;line-height:3rem;font-weight:700}.heading2{font-size:2.3333333333rem;line-height:2.6666666667rem;font-weight:700}.heading3{font-size:2rem;line-height:2.3333333333rem;font-weight:700}.heading4{font-size:1.6666666667rem;line-height:2rem;font-weight:700}.heading5,.w-sidebar-title-text{font-size:1.5rem;line-height:1.8333333333rem;font-weight:700}.heading6{font-size:1.3333333333rem;line-height:1.6666666667rem;font-weight:700}.subtitle1,.w-tab-text,:host ::ng-deep .w-tabview-regular.p-tabs .p-tablist .p-tablist-content .p-tablist-tab-list .p-tab,:host ::ng-deep .w-tabview-secondary.p-tabs .p-tablist .p-tablist-content .p-tablist-tab-list .p-tab,.w-panel-title-text{font-size:1.1666666667rem;line-height:1.3333333333rem;font-weight:700}.subtitle2,.w-table-th-text,.w-panel-subtitle-text,.w-input-small-label-text-typography,.w-input-small-label-text,.w-input-small-label-disabled,.w-view-small-label-text-typography,.w-view-small-label-text,.w-button-small-text-label-text-typography,.w-button-small-text-label-text{font-size:1rem;line-height:1.1666666667rem;font-weight:600}.body,.w-image-file-uploader-navigators-text,.w-table-td-text,.w-chip-text,.w-panel-content,.w-input-small-select-options-text,.w-input-small-placeholder-text-typography,.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text,.w-view-small-value-text-typography,.w-view-small-value-text,.w-button-small-label-text-typography,.w-button-small-tertiary-label-text{font-size:1rem;line-height:1.1666666667rem;font-weight:400}.caption,.w-input-success-alert-text{font-size:.6666666667rem;line-height:1rem;font-weight:400}.light,.w-input-small-placeholder-text-only-color{font-size:.9166666667rem;line-height:1.0833333333rem;font-weight:300}.small,.w-error-message,.w-input-error-alert-text,.w-input-warning-alert-text,.w-button-small-label-text-typography-sm{font-size:.8333333333rem;line-height:1rem;font-weight:400}.textMainColor{color:#1f2224}.textSoftColor{color:#5f6468}.textSofterColor{color:#9aa0a7}.textSoftestColor{color:#e8ebee}.textInverseColor{color:#fff}.spacingXXS{padding:4px}.spacingXSM{padding:6px}.spacingXSMDivider{height:6px}.spacingXS{padding:8px}.spacingS{padding:12px}.spacingM{padding:16px}.spacingL{padding:20px}.spacingXL{padding:24px}.spacingXXL{padding:28px}.spacingXXXL{padding:32px}.panel-title-gap-divider{height:20px}.panel-section-gap-divider{height:32px}.input-vertical-gap-divider{height:24px}.input-label-gap-divider{height:6px}.focusedInput{border:1px solid rgba(0,157,253,.25);box-shadow:0 0 10px #00b3eb40}.focus{box-shadow:0 0 8px #00a6e980}.hover{border-radius:8px;border:1px solid #00b3eb}.hoveredInput{border-radius:8px;border:1px solid rgba(0,179,235,.5)}.input-generic-valid{border-radius:8px;border:1px solid #B3FFD3}.input-generic-valid-focus{border-radius:8px;border:1px solid #B3FFD3!important;box-shadow:0 0 8px #46ff9b80!important;padding-left:16px}.input-generic-warning{border-radius:8px;border:1px solid #FFECB8!important}.input-generic-warning-focus{border-radius:8px;border:1px solid #FFECB8!important;box-shadow:0 0 8px #ffcd4680!important;padding-left:16px}.input-generic-error-focus{border-radius:8px;border:1px solid #FFBDBD!important;box-shadow:0 0 8px #ff555580!important;padding-left:16px}.input-generic-error{border-radius:8px;border:1px solid #FFBDBD}.toggle-small-typography{font-size:12px;line-height:16px;font-weight:600}.w-button-small-label-text-typography,.w-button-small-tertiary-label-text,.w-button-small-label-text-typography-sm{font-weight:600}.w-button-small-tertiary-label-text{color:#5f6468}.w-button-small-text-label-text{color:#1f2224}.w-button-small-icon-text{font-size:12px;font-weight:600}.w-table-button-small-icon-text{font-size:12px;color:#9aa0a7}.w-control-button-small-label-text{font-size:12px;font-weight:600;line-height:16px}.w-control-button-x-small-icon-text{font-size:10px;font-weight:700}.w-control-button-small-icon-text{font-size:8px;font-weight:700}.w-button-medium-label-text-typography,.w-button-medium-tertiary-label-text{font-size:16px;font-weight:600;line-height:16px}.w-button-medium-tertiary-label-text{color:#1f2224}.w-button-medium-icon-text{font-size:16px}.w-control-button-medium-label-text{font-size:14px;font-weight:600;line-height:16px}.w-control-button-medium-icon-text{font-size:12px;font-weight:700}.w-button-large-label-text-typography,.w-button-large-tertiary-label-text{font-size:20px;font-weight:600;line-height:24px}.w-button-large-tertiary-label-text{color:#1f2224}.w-button-x-small-label-text{font-size:10px;font-weight:600;line-height:10px}.w-button-small-only-label-text{font-size:12px;font-weight:600;line-height:16px}.w-button-large-icon-text{font-size:24px}.w-view-small-label-text{color:#1f2224}.w-view-small-value-text{color:#5f6468}.w-input-no-label-height{height:14px}.w-input-disabled{background-color:#f8f9fa!important;border-color:#e8ebee!important;opacity:.6!important}.w-input-small-label-text-typography,.w-input-small-label-text,.w-input-small-label-disabled{height:fit-content}.w-input-small-label-text,.w-input-small-label-disabled{color:#1f2224}.w-input-small-label-disabled{color:#9aa0a7}.w-input-small-label-text-content{padding:12px 8px 8px 0;margin:0}.w-input-small-label-text-content-no-top{padding-top:0}.w-input-small-placeholder-text{color:#1f2224}.w-input-small-placeholder-text-only-color{color:#9aa0a7;line-height:1.3333333333rem}.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text-disabled-only-color{color:#5f6468}.w-input-small-text-icon,.w-input-small-select-options-text{color:#1f2224}.w-input-medium-label-text-typography,.w-input-medium-label-text,.w-input-medium-label-disabled{font-size:14px;font-weight:600;line-height:16px}.w-input-medium-label-text,.w-input-medium-label-disabled{color:#1f2224}.w-input-medium-label-disabled{color:#9aa0a7}.w-input-medium-placeholder-text-typography,.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text{font-size:16px;font-weight:400;line-height:24px}.w-input-medium-placeholder-text,.w-input-medium-placeholder-text-only-color{color:#1f2224}.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text-disabled-only-color{color:#5f6468}.w-input-medium-text-icon{color:#1f2224}.w-input-medium-select-options-text{font-size:16px;font-weight:400;line-height:24px;color:#1f2224}.w-input-success-alert-text{color:#00db5d;padding:8px 8px 0;margin-top:0}.w-input-warning-alert-text{color:#eeae00;padding:0 4px;margin-top:-2px}.w-input-error-alert-text{color:#e50000;padding:0 4px;margin-top:-2px}.w-input-alert-message-height{height:32px}.w-error-message{color:#e50000;padding:0 4px;margin-top:-2px}.w-sidebar-title-text,.w-panel-title-text,.w-panel-subtitle-text{color:#1f2224}.w-panel-content{color:#5f6468}.w-tab-text,:host ::ng-deep .w-tabview-regular.p-tabs .p-tablist .p-tablist-content .p-tablist-tab-list .p-tab,:host ::ng-deep .w-tabview-secondary.p-tabs .p-tablist .p-tablist-content .p-tablist-tab-list .p-tab{color:#1f2224}.w-chip-text{color:#1f2224}.w-badge-text{font-size:10px;font-weight:700;line-height:8px}.w-table-th-text{color:#1f2224}.w-table-td-text{color:#5f6468}.w-table-height{padding:6px 8px 5px}.w-table-no-buttons-height{padding:16px 8px 15px!important}.w-tree-table-height{padding:8px 8px 7px}.w-image-file-uploader-navigators-text{font-size:12px;color:#fff}.grid{margin:0}::ng-deep .p-tooltip,.p-tooltip{filter:0px 0px 1px 0px rgba(0,0,0,.1) inset,1px 1px 5px rgba(0,0,0,.06),1px 1px 1px rgba(0,0,0,.08)}::ng-deep .p-tooltip .p-tooltip-text,.p-tooltip .p-tooltip-text{background:#fff!important;color:#1f2224;padding:12px 16px;max-width:192px;width:max-content;margin-left:3px;pointer-events:none}::ng-deep .p-tooltip.p-tooltip-left,.p-tooltip.p-tooltip-left{margin-right:6px;width:max-content;transform:translate(-6px)}::ng-deep .p-tooltip.p-tooltip-left .p-tooltip-arrow,.p-tooltip.p-tooltip-left .p-tooltip-arrow{border-left-color:#fff!important;top:50%;right:-3px;margin-top:-4px;border-width:4px 0 4px 6px!important}::ng-deep .p-tooltip.p-tooltip-right,.p-tooltip.p-tooltip-right{margin-left:6px;width:max-content;transform:translateY(-1px)}::ng-deep .p-tooltip.p-tooltip-right .p-tooltip-arrow,.p-tooltip.p-tooltip-right .p-tooltip-arrow{border-right-color:#fff!important;top:50%;left:0;margin-top:-4px;border-width:4px 6px 4px 0!important}::ng-deep .p-tooltip.p-tooltip-bottom .p-tooltip-arrow,.p-tooltip.p-tooltip-bottom .p-tooltip-arrow{border-bottom-color:#fff!important;border-width:0 4px 6px 4px!important;margin-top:-3px}:host ::ng-deep .w-tabview-regular.p-tabs .p-tablist,:host ::ng-deep .w-tabview-secondary.p-tabs .p-tablist{background:transparent}:host ::ng-deep .w-tabview-regular.p-tabs .p-tablist .p-tablist-content .p-tablist-tab-list,:host ::ng-deep .w-tabview-secondary.p-tabs .p-tablist .p-tablist-content .p-tablist-tab-list{position:inherit;border-width:0 0 2px 0;border-color:#e8ebee}:host ::ng-deep .w-tabview-regular.p-tabs .p-tablist .p-tablist-content .p-tablist-tab-list .p-tab,:host ::ng-deep .w-tabview-secondary.p-tabs .p-tablist .p-tablist-content .p-tablist-tab-list .p-tab{font-weight:400;padding:12px;gap:8px;background-color:transparent;border:none}:host ::ng-deep .w-tabview-regular.p-tabs .p-tablist .p-tablist-content .p-tablist-tab-list .p-tab.p-tab-active,:host ::ng-deep .w-tabview-secondary.p-tabs .p-tablist .p-tablist-content .p-tablist-tab-list .p-tab.p-tab-active{font-weight:700;border:none}:host ::ng-deep .w-tabview-regular.p-tabs .p-tablist .p-tablist-content .p-tablist-tab-list .p-tab div .p-tabview-asterisk.not-validated,:host ::ng-deep .w-tabview-secondary.p-tabs .p-tablist .p-tablist-content .p-tablist-tab-list .p-tab div .p-tabview-asterisk.not-validated{color:#e50000}:host ::ng-deep .w-tabview-regular.p-tabs .p-tablist .p-tablist-content .p-tablist-tab-list .p-tablist-active-bar,:host ::ng-deep .w-tabview-secondary.p-tabs .p-tablist .p-tablist-content .p-tablist-tab-list .p-tablist-active-bar{height:2px;background-color:#000;bottom:0;transition:.5s cubic-bezier(.35,0,.25,1)!important}:host ::ng-deep .w-tabview-regular.p-tabs .p-tabpanels,:host ::ng-deep .w-tabview-secondary.p-tabs .p-tabpanels{background:none!important;padding:0!important;margin-top:8px!important}::ng-deep .w-tabview-secondary.p-tabs .p-tablist{background:#fff;box-shadow:0 0 1px #0000001a inset,0 4px 8px #005c7a0d,0 1px 3px #005c7a1a;border-radius:8px}::ng-deep .w-tabview-secondary.p-tabs .p-tablist .p-tablist-content .p-tablist-tab-list .p-tab{color:#000;padding:0 32px;height:52px!important;align-content:center}\n"] }]
|
|
8123
8123
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { headers: [{
|
|
8124
8124
|
type: Input,
|
|
8125
8125
|
args: ['headers']
|
|
@@ -8170,14 +8170,15 @@ class WButtonTabviewComponent {
|
|
|
8170
8170
|
this.cdref.detectChanges();
|
|
8171
8171
|
}
|
|
8172
8172
|
activeIndexChange(index) {
|
|
8173
|
+
this.activeIndex = index;
|
|
8173
8174
|
this.outActiveIndex.emit(index);
|
|
8174
8175
|
}
|
|
8175
8176
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: WButtonTabviewComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8176
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.13", type: WButtonTabviewComponent, isStandalone: false, selector: "w-button-tabview", inputs: { headers: "headers", disabledTabs: "disabledTabs", icons: "icons", activeIndex: "activeIndex" }, outputs: { outActiveIndex: "outActiveIndex" }, ngImport: i0, template: "<!-- ToDo actualizar a p-tab (p-tabView esta obsoleto) -->\r\n<!-- <p-tabView [(activeIndex)]=\"activeIndex\" styleClass=\"w-button-tabview\" (activeIndexChange)=\"activeIndexChange($event)\">\r\n <p-tabPanel *ngIf=\"headers.length > 0 \" [header]=\"headers[0]\" [disabled]=\"disabledTabs[0]\">\r\n <ng-template pTemplate=\"header\">\r\n <i *ngIf=\"icons && icons[0]\" [class]=\"'pi '+icons[0]\"></i>\r\n <span class=\"p-tabview-title\" *ngIf=\"headers[0]\">{{headers[0]}}</span>\r\n </ng-template>\r\n <ng-template pTemplate=\"content\">\r\n <ng-content *ngIf=\"activeIndex == 0\" select=\".panel-1\"></ng-content>\r\n </ng-template>\r\n </p-tabPanel>\r\n <p-tabPanel *ngIf=\"headers.length > 1\" [header]=\"headers[1]\" [disabled]=\"disabledTabs[1]\">\r\n <ng-template pTemplate=\"header\">\r\n <i *ngIf=\"icons && icons[1]\" [class]=\"'pi '+icons[1]\"></i>\r\n <span class=\"p-tabview-title\" *ngIf=\"headers[1]\">{{headers[1]}}</span>\r\n </ng-template>\r\n <ng-template pTemplate=\"content\">\r\n <ng-content *ngIf=\"activeIndex == 1\" select=\".panel-2\"></ng-content>\r\n </ng-template>\r\n </p-tabPanel>\r\n <p-tabPanel *ngIf=\"headers.length > 2 \" [header]=\"headers[2]\" [disabled]=\"disabledTabs[2]\">\r\n <ng-template pTemplate=\"header\">\r\n <i *ngIf=\"icons && icons[2]\" [class]=\"'pi '+icons[2]\"></i>\r\n <span class=\"p-tabview-title\" *ngIf=\"headers[2]\">{{headers[2]}}</span>\r\n </ng-template>\r\n <ng-template pTemplate=\"content\">\r\n <ng-content *ngIf=\"activeIndex == 2\" select=\".panel-3\"></ng-content>\r\n </ng-template>\r\n </p-tabPanel>\r\n <p-tabPanel *ngIf=\"headers.length > 3\" [header]=\"headers[3]\" [disabled]=\"disabledTabs[3]\">\r\n <ng-template pTemplate=\"header\">\r\n <i *ngIf=\"icons && icons[3]\" [class]=\"'pi '+icons[3]\"></i>\r\n <span class=\"p-tabview-title\" *ngIf=\"headers[3]\">{{headers[3]}}</span>\r\n </ng-template>\r\n <ng-template pTemplate=\"content\">\r\n <ng-content *ngIf=\"activeIndex == 3\" select=\".panel-4\"></ng-content>\r\n </ng-template>\r\n </p-tabPanel>\r\n <p-tabPanel *ngIf=\"headers.length > 4\" [header]=\"headers[4]\" [disabled]=\"disabledTabs[4]\">\r\n <ng-template pTemplate=\"header\">\r\n <i *ngIf=\"icons && icons[4]\" [class]=\"'pi '+icons[4]\"></i>\r\n <span class=\"p-tabview-title\" *ngIf=\"headers[4]\">{{headers[4]}}</span>\r\n </ng-template>\r\n <ng-template pTemplate=\"content\">\r\n <ng-content *ngIf=\"activeIndex == 4\" select=\".panel-5\"></ng-content>\r\n </ng-template>\r\n </p-tabPanel>\r\n <p-tabPanel *ngIf=\"headers.length > 5\" [header]=\"headers[5]\" [disabled]=\"disabledTabs[5]\">\r\n <ng-template pTemplate=\"header\">\r\n <i *ngIf=\"icons && icons[5]\" [class]=\"'pi '+icons[5]\"></i>\r\n <span class=\"p-tabview-title\" *ngIf=\"headers[5]\">{{headers[5]}}</span>\r\n </ng-template>\r\n <ng-template pTemplate=\"content\">\r\n <ng-content *ngIf=\"activeIndex == 5\" select=\".panel-6\"></ng-content>\r\n </ng-template>\r\n </p-tabPanel>\r\n <p-tabPanel *ngIf=\"headers.length > 6\" [header]=\"headers[6]\" [disabled]=\"disabledTabs[6]\">\r\n <ng-template pTemplate=\"header\">\r\n <i *ngIf=\"icons && icons[6]\" [class]=\"'pi '+icons[6]\"></i>\r\n <span class=\"p-tabview-title\" *ngIf=\"headers[6]\">{{headers[6]}}</span>\r\n </ng-template>\r\n <ng-template pTemplate=\"content\">\r\n <ng-content *ngIf=\"activeIndex == 6\" select=\".panel-7\"></ng-content>\r\n </ng-template>\r\n </p-tabPanel>\r\n <p-tabPanel *ngIf=\"headers.length > 7\" [header]=\"headers[7]\" [disabled]=\"disabledTabs[7]\">\r\n <ng-template pTemplate=\"header\">\r\n <i *ngIf=\"icons && icons[7]\" [class]=\"'pi '+icons[7]\"></i>\r\n <span class=\"p-tabview-title\" *ngIf=\"headers[7]\">{{headers[7]}}</span>\r\n </ng-template>\r\n <ng-template pTemplate=\"content\">\r\n <ng-content *ngIf=\"activeIndex == 7\" select=\".panel-8\"></ng-content>\r\n </ng-template>\r\n </p-tabPanel>\r\n <p-tabPanel *ngIf=\"headers.length > 8\" [header]=\"headers[8]\" [disabled]=\"disabledTabs[8]\">\r\n <ng-template pTemplate=\"header\">\r\n <i *ngIf=\"icons && icons[8]\" [class]=\"'pi '+icons[8]\"></i>\r\n <span class=\"p-tabview-title\" *ngIf=\"headers[8]\">{{headers[8]}}</span>\r\n </ng-template>\r\n <ng-template pTemplate=\"content\">\r\n <ng-content *ngIf=\"activeIndex == 8\" select=\".panel-9\"></ng-content>\r\n </ng-template>\r\n </p-tabPanel>\r\n <p-tabPanel *ngIf=\"headers.length > 9\" [header]=\"headers[9]\" [disabled]=\"disabledTabs[9]\">\r\n <ng-template pTemplate=\"header\">\r\n <i *ngIf=\"icons && icons[9]\" [class]=\"'pi '+icons[9]\"></i>\r\n <span class=\"p-tabview-title\" *ngIf=\"headers[9]\">{{headers[9]}}</span>\r\n </ng-template>\r\n <ng-template pTemplate=\"content\">\r\n <ng-content *ngIf=\"activeIndex == 9\" select=\".panel-10\"></ng-content>\r\n </ng-template>\r\n </p-tabPanel>\r\n</p-tabView> -->\r\n", styles: [".heading1{font-size:2.6666666667rem;line-height:3rem;font-weight:700}.heading2{font-size:2.3333333333rem;line-height:2.6666666667rem;font-weight:700}.heading3{font-size:2rem;line-height:2.3333333333rem;font-weight:700}.heading4{font-size:1.6666666667rem;line-height:2rem;font-weight:700}.heading5,.w-sidebar-title-text{font-size:1.5rem;line-height:1.8333333333rem;font-weight:700}.heading6{font-size:1.3333333333rem;line-height:1.6666666667rem;font-weight:700}.subtitle1,.w-tab-text,.w-panel-title-text{font-size:1.1666666667rem;line-height:1.3333333333rem;font-weight:700}.subtitle2,.w-table-th-text,.w-panel-subtitle-text,.w-input-small-label-text-typography,.w-input-small-label-text,.w-input-small-label-disabled,.w-view-small-label-text-typography,.w-view-small-label-text,.w-button-small-text-label-text-typography,.w-button-small-text-label-text{font-size:1rem;line-height:1.1666666667rem;font-weight:600}.body,.w-image-file-uploader-navigators-text,.w-table-td-text,.w-chip-text,.w-panel-content,.w-input-small-select-options-text,.w-input-small-placeholder-text-typography,.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text,.w-view-small-value-text-typography,.w-view-small-value-text,.w-button-small-label-text-typography,.w-button-small-tertiary-label-text{font-size:1rem;line-height:1.1666666667rem;font-weight:400}.caption,.w-input-success-alert-text{font-size:.6666666667rem;line-height:1rem;font-weight:400}.light,.w-input-small-placeholder-text-only-color{font-size:.9166666667rem;line-height:1.0833333333rem;font-weight:300}.small,.w-error-message,.w-input-error-alert-text,.w-input-warning-alert-text,.w-button-small-label-text-typography-sm{font-size:.8333333333rem;line-height:1rem;font-weight:400}.textMainColor{color:#1f2224}.textSoftColor{color:#5f6468}.textSofterColor{color:#9aa0a7}.textSoftestColor{color:#e8ebee}.textInverseColor{color:#fff}.spacingXXS{padding:4px}.spacingXSM{padding:6px}.spacingXSMDivider{height:6px}.spacingXS{padding:8px}.spacingS{padding:12px}.spacingM{padding:16px}.spacingL{padding:20px}.spacingXL{padding:24px}.spacingXXL{padding:28px}.spacingXXXL{padding:32px}.panel-title-gap-divider{height:20px}.panel-section-gap-divider{height:32px}.input-vertical-gap-divider{height:24px}.input-label-gap-divider{height:6px}.focusedInput{border:1px solid rgba(0,157,253,.25);box-shadow:0 0 10px #00b3eb40}.focus{box-shadow:0 0 8px #00a6e980}.hover{border-radius:8px;border:1px solid #00b3eb}.hoveredInput{border-radius:8px;border:1px solid rgba(0,179,235,.5)}.input-generic-valid{border-radius:8px;border:1px solid #B3FFD3}.input-generic-valid-focus{border-radius:8px;border:1px solid #B3FFD3!important;box-shadow:0 0 8px #46ff9b80!important;padding-left:16px}.input-generic-warning{border-radius:8px;border:1px solid #FFECB8!important}.input-generic-warning-focus{border-radius:8px;border:1px solid #FFECB8!important;box-shadow:0 0 8px #ffcd4680!important;padding-left:16px}.input-generic-error-focus{border-radius:8px;border:1px solid #FFBDBD!important;box-shadow:0 0 8px #ff555580!important;padding-left:16px}.input-generic-error{border-radius:8px;border:1px solid #FFBDBD}.toggle-small-typography{font-size:12px;line-height:16px;font-weight:600}.w-button-small-label-text-typography,.w-button-small-tertiary-label-text,.w-button-small-label-text-typography-sm{font-weight:600}.w-button-small-tertiary-label-text{color:#5f6468}.w-button-small-text-label-text{color:#1f2224}.w-button-small-icon-text{font-size:12px;font-weight:600}.w-table-button-small-icon-text{font-size:12px;color:#9aa0a7}.w-control-button-small-label-text{font-size:12px;font-weight:600;line-height:16px}.w-control-button-x-small-icon-text{font-size:10px;font-weight:700}.w-control-button-small-icon-text{font-size:8px;font-weight:700}.w-button-medium-label-text-typography,.w-button-medium-tertiary-label-text{font-size:16px;font-weight:600;line-height:16px}.w-button-medium-tertiary-label-text{color:#1f2224}.w-button-medium-icon-text{font-size:16px}.w-control-button-medium-label-text{font-size:14px;font-weight:600;line-height:16px}.w-control-button-medium-icon-text{font-size:12px;font-weight:700}.w-button-large-label-text-typography,.w-button-large-tertiary-label-text{font-size:20px;font-weight:600;line-height:24px}.w-button-large-tertiary-label-text{color:#1f2224}.w-button-x-small-label-text{font-size:10px;font-weight:600;line-height:10px}.w-button-small-only-label-text{font-size:12px;font-weight:600;line-height:16px}.w-button-large-icon-text{font-size:24px}.w-view-small-label-text{color:#1f2224}.w-view-small-value-text{color:#5f6468}.w-input-no-label-height{height:14px}.w-input-disabled{background-color:#f8f9fa!important;border-color:#e8ebee!important;opacity:.6!important}.w-input-small-label-text-typography,.w-input-small-label-text,.w-input-small-label-disabled{height:fit-content}.w-input-small-label-text,.w-input-small-label-disabled{color:#1f2224}.w-input-small-label-disabled{color:#9aa0a7}.w-input-small-label-text-content{padding:12px 8px 8px 0;margin:0}.w-input-small-label-text-content-no-top{padding-top:0}.w-input-small-placeholder-text{color:#1f2224}.w-input-small-placeholder-text-only-color{color:#9aa0a7;line-height:1.3333333333rem}.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text-disabled-only-color{color:#5f6468}.w-input-small-text-icon,.w-input-small-select-options-text{color:#1f2224}.w-input-medium-label-text-typography,.w-input-medium-label-text,.w-input-medium-label-disabled{font-size:14px;font-weight:600;line-height:16px}.w-input-medium-label-text,.w-input-medium-label-disabled{color:#1f2224}.w-input-medium-label-disabled{color:#9aa0a7}.w-input-medium-placeholder-text-typography,.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text{font-size:16px;font-weight:400;line-height:24px}.w-input-medium-placeholder-text,.w-input-medium-placeholder-text-only-color{color:#1f2224}.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text-disabled-only-color{color:#5f6468}.w-input-medium-text-icon{color:#1f2224}.w-input-medium-select-options-text{font-size:16px;font-weight:400;line-height:24px;color:#1f2224}.w-input-success-alert-text{color:#00db5d;padding:8px 8px 0;margin-top:0}.w-input-warning-alert-text{color:#eeae00;padding:0 4px;margin-top:-2px}.w-input-error-alert-text{color:#e50000;padding:0 4px;margin-top:-2px}.w-input-alert-message-height{height:32px}.w-error-message{color:#e50000;padding:0 4px;margin-top:-2px}.w-sidebar-title-text,.w-panel-title-text,.w-panel-subtitle-text{color:#1f2224}.w-panel-content{color:#5f6468}.w-tab-text,.w-chip-text{color:#1f2224}.w-badge-text{font-size:10px;font-weight:700;line-height:8px}.w-table-th-text{color:#1f2224}.w-table-td-text{color:#5f6468}.w-table-height{padding:6px 8px 5px}.w-table-no-buttons-height{padding:16px 8px 15px!important}.w-tree-table-height{padding:8px 8px 7px}.w-image-file-uploader-navigators-text{font-size:12px;color:#fff}.grid{margin:0}::ng-deep .p-tooltip,.p-tooltip{filter:0px 0px 1px 0px rgba(0,0,0,.1) inset,1px 1px 5px rgba(0,0,0,.06),1px 1px 1px rgba(0,0,0,.08)}::ng-deep .p-tooltip .p-tooltip-text,.p-tooltip .p-tooltip-text{background:#fff!important;color:#1f2224;padding:12px 16px;max-width:192px;width:max-content;margin-left:3px;pointer-events:none}::ng-deep .p-tooltip.p-tooltip-left,.p-tooltip.p-tooltip-left{margin-right:6px;width:max-content;transform:translate(-6px)}::ng-deep .p-tooltip.p-tooltip-left .p-tooltip-arrow,.p-tooltip.p-tooltip-left .p-tooltip-arrow{border-left-color:#fff!important;top:50%;right:-3px;margin-top:-4px;border-width:4px 0 4px 6px!important}::ng-deep .p-tooltip.p-tooltip-right,.p-tooltip.p-tooltip-right{margin-left:6px;width:max-content;transform:translateY(-1px)}::ng-deep .p-tooltip.p-tooltip-right .p-tooltip-arrow,.p-tooltip.p-tooltip-right .p-tooltip-arrow{border-right-color:#fff!important;top:50%;left:0;margin-top:-4px;border-width:4px 6px 4px 0!important}::ng-deep .p-tooltip.p-tooltip-bottom .p-tooltip-arrow,.p-tooltip.p-tooltip-bottom .p-tooltip-arrow{border-bottom-color:#fff!important;border-width:0 4px 6px 4px!important;margin-top:-3px}::ng-deep .w-button-tabview.p-tabview{display:flex;gap:20px;flex-direction:column}::ng-deep .w-button-tabview.p-tabview .p-tabview-ink-bar{visibility:hidden!important}::ng-deep .w-button-tabview.p-tabview .p-tabview-panels{padding:0}::ng-deep .w-button-tabview.p-tabview .p-tabview-nav{gap:12px;border:none}::ng-deep .w-button-tabview.p-tabview .p-tabview-nav-content{overflow:visible}::ng-deep .w-button-tabview.p-tabview .p-tabview-nav-content li .p-tabview-nav-link{gap:8px;border:1px solid #9aa0a7!important;border-radius:8px;font-size:12px;box-shadow:0 0 1px #0000001a inset,1px 1px 5px #0000000f,1px 1px 1px #00000014;transition:.2s;height:32px}::ng-deep .w-button-tabview.p-tabview .p-tabview-nav-content li .p-tabview-nav-link[aria-selected=true]{background-color:#1f2224;color:#fff}::ng-deep .w-button-tabview.p-tabview .p-tabview-nav-content li .p-tabview-nav-link[aria-selected=false]{background-color:#fff;color:#1f2224}::ng-deep .w-button-tabview.p-tabview .p-tabview-nav-content li .p-tabview-nav-link i{font-size:16px}::ng-deep .w-button-tabview.p-tabview .p-tabview-nav-content li.p-disabled .p-tabview-nav-link{gap:8px;box-shadow:none!important;background-color:#f8f9fa!important}::ng-deep .w-button-tabview.p-tabview .p-tabview-nav-content li.p-disabled .p-tabview-nav-link i{font-size:16px}\n"] }); }
|
|
8177
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.13", type: WButtonTabviewComponent, isStandalone: false, selector: "w-button-tabview", inputs: { headers: "headers", disabledTabs: "disabledTabs", icons: "icons", activeIndex: "activeIndex" }, outputs: { outActiveIndex: "outActiveIndex" }, ngImport: i0, template: "<p-tabs [value]=\"activeIndex\" class=\"w-button-tabview\" (valueChange)=\"activeIndexChange($event)\" [scrollable]=\"true\">\r\n <p-tablist>\r\n @if (headers.length > 0) {\r\n <p-tab [value]=\"0\" [disabled]=\"disabledTabs[0]\">\r\n @if(icons && icons[0]){\r\n <i [class]=\"'pi '+icons[0]\"></i>\r\n }\r\n @if(headers[0]){\r\n <span class=\"p-tabview-title\">{{headers[0]}}</span>\r\n }\r\n </p-tab>\r\n }\r\n @if (headers.length > 1) {\r\n <p-tab [value]=\"1\" [disabled]=\"disabledTabs[1]\">\r\n @if(icons && icons[1]){\r\n <i [class]=\"'pi '+icons[1]\"></i>\r\n }\r\n @if(headers[1]){\r\n <span class=\"p-tabview-title\">{{headers[1]}}</span>\r\n }\r\n </p-tab>\r\n }\r\n @if (headers.length > 2) {\r\n <p-tab [value]=\"2\" [disabled]=\"disabledTabs[2]\">\r\n @if(icons && icons[2]){\r\n <i [class]=\"'pi '+icons[2]\"></i>\r\n }\r\n @if(headers[2]){\r\n <span class=\"p-tabview-title\">{{headers[2]}}</span>\r\n }\r\n </p-tab>\r\n }\r\n @if (headers.length > 3) {\r\n <p-tab [value]=\"3\" [disabled]=\"disabledTabs[3]\">\r\n @if(icons && icons[3]){\r\n <i [class]=\"'pi '+icons[3]\"></i>\r\n }\r\n @if(headers[3]){\r\n <span class=\"p-tabview-title\">{{headers[3]}}</span>\r\n }\r\n </p-tab>\r\n }\r\n @if (headers.length > 4) {\r\n <p-tab [value]=\"4\" [disabled]=\"disabledTabs[4]\">\r\n @if(icons && icons[4]){\r\n <i [class]=\"'pi '+icons[4]\"></i>\r\n }\r\n @if(headers[4]){\r\n <span class=\"p-tabview-title\">{{headers[4]}}</span>\r\n }\r\n </p-tab>\r\n }\r\n @if (headers.length > 5) {\r\n <p-tab [value]=\"5\" [disabled]=\"disabledTabs[5]\">\r\n @if(icons && icons[5]){\r\n <i [class]=\"'pi '+icons[5]\"></i>\r\n }\r\n @if(headers[5]){\r\n <span class=\"p-tabview-title\">{{headers[5]}}</span>\r\n }\r\n </p-tab>\r\n }\r\n @if (headers.length > 6) {\r\n <p-tab [value]=\"6\" [disabled]=\"disabledTabs[6]\">\r\n @if(icons && icons[6]){\r\n <i [class]=\"'pi '+icons[6]\"></i>\r\n }\r\n @if(headers[6]){\r\n <span class=\"p-tabview-title\">{{headers[6]}}</span>\r\n }\r\n </p-tab>\r\n }\r\n @if (headers.length > 7) {\r\n <p-tab [value]=\"7\" [disabled]=\"disabledTabs[7]\">\r\n @if(icons && icons[7]){\r\n <i [class]=\"'pi '+icons[7]\"></i>\r\n }\r\n @if(headers[7]){\r\n <span class=\"p-tabview-title\">{{headers[7]}}</span>\r\n }\r\n </p-tab>\r\n }\r\n @if (headers.length > 8) {\r\n <p-tab [value]=\"8\" [disabled]=\"disabledTabs[8]\">\r\n @if(icons && icons[8]){\r\n <i [class]=\"'pi '+icons[8]\"></i>\r\n }\r\n @if(headers[8]){\r\n <span class=\"p-tabview-title\">{{headers[8]}}</span>\r\n }\r\n </p-tab>\r\n }\r\n @if (headers.length > 9) {\r\n <p-tab [value]=\"9\" [disabled]=\"disabledTabs[9]\">\r\n @if(icons && icons[9]){\r\n <i [class]=\"'pi '+icons[9]\"></i>\r\n }\r\n @if(headers[9]){\r\n <span class=\"p-tabview-title\">{{headers[9]}}</span>\r\n }\r\n </p-tab>\r\n }\r\n </p-tablist>\r\n <p-tabpanels>\r\n @if (headers.length > 0 ) {\r\n <p-tabpanel [value]=\"0\">\r\n @if (activeIndex == 0) {\r\n <ng-content select=\".panel-1\"></ng-content>\r\n }\r\n </p-tabpanel>\r\n }\r\n @if (headers.length > 1) {\r\n <p-tabpanel [value]=\"1\">\r\n @if (activeIndex == 1) {\r\n <ng-content select=\".panel-2\"></ng-content>\r\n }\r\n </p-tabpanel>\r\n }\r\n @if (headers.length > 2 ) {\r\n <p-tabpanel [value]=\"2\">\r\n @if (activeIndex == 2) {\r\n <ng-content select=\".panel-3\"></ng-content>\r\n }\r\n </p-tabpanel>\r\n }\r\n @if (headers.length > 3) {\r\n <p-tabpanel [value]=\"3\">\r\n @if (activeIndex == 3) {\r\n <ng-content select=\".panel-4\"></ng-content>\r\n }\r\n </p-tabpanel>\r\n }\r\n @if (headers.length > 4) {\r\n <p-tabpanel [value]=\"4\">\r\n @if (activeIndex == 4) {\r\n <ng-content select=\".panel-5\"></ng-content>\r\n }\r\n </p-tabpanel>\r\n }\r\n @if (headers.length > 5) {\r\n <p-tabpanel [value]=\"5\">\r\n @if (activeIndex == 5) {\r\n <ng-content select=\".panel-6\"></ng-content>\r\n }\r\n </p-tabpanel>\r\n }\r\n @if (headers.length > 6) {\r\n <p-tabpanel [value]=\"6\">\r\n @if (activeIndex == 6) {\r\n <ng-content select=\".panel-7\"></ng-content>\r\n }\r\n </p-tabpanel>\r\n }\r\n @if (headers.length > 7) {\r\n <p-tabpanel [value]=\"7\">\r\n @if (activeIndex == 7) {\r\n <ng-content select=\".panel-8\"></ng-content>\r\n }\r\n </p-tabpanel>\r\n }\r\n @if (headers.length > 8) {\r\n <p-tabpanel [value]=\"8\">\r\n @if (activeIndex == 8) {\r\n <ng-content select=\".panel-9\"></ng-content>\r\n }\r\n </p-tabpanel>\r\n }\r\n @if (headers.length > 9) {\r\n <p-tabpanel [value]=\"9\">\r\n @if (activeIndex == 9) {\r\n <ng-content select=\".panel-10\"></ng-content>\r\n }\r\n </p-tabpanel>\r\n }\r\n </p-tabpanels>\r\n</p-tabs>\r\n", styles: [".heading1{font-size:2.6666666667rem;line-height:3rem;font-weight:700}.heading2{font-size:2.3333333333rem;line-height:2.6666666667rem;font-weight:700}.heading3{font-size:2rem;line-height:2.3333333333rem;font-weight:700}.heading4{font-size:1.6666666667rem;line-height:2rem;font-weight:700}.heading5,.w-sidebar-title-text{font-size:1.5rem;line-height:1.8333333333rem;font-weight:700}.heading6{font-size:1.3333333333rem;line-height:1.6666666667rem;font-weight:700}.subtitle1,.w-tab-text,.w-panel-title-text{font-size:1.1666666667rem;line-height:1.3333333333rem;font-weight:700}.subtitle2,.w-table-th-text,.w-panel-subtitle-text,.w-input-small-label-text-typography,.w-input-small-label-text,.w-input-small-label-disabled,.w-view-small-label-text-typography,.w-view-small-label-text,.w-button-small-text-label-text-typography,.w-button-small-text-label-text{font-size:1rem;line-height:1.1666666667rem;font-weight:600}.body,.w-image-file-uploader-navigators-text,.w-table-td-text,.w-chip-text,.w-panel-content,.w-input-small-select-options-text,.w-input-small-placeholder-text-typography,.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text,.w-view-small-value-text-typography,.w-view-small-value-text,.w-button-small-label-text-typography,.w-button-small-tertiary-label-text{font-size:1rem;line-height:1.1666666667rem;font-weight:400}.caption,.w-input-success-alert-text{font-size:.6666666667rem;line-height:1rem;font-weight:400}.light,.w-input-small-placeholder-text-only-color{font-size:.9166666667rem;line-height:1.0833333333rem;font-weight:300}.small,.w-error-message,.w-input-error-alert-text,.w-input-warning-alert-text,.w-button-small-label-text-typography-sm{font-size:.8333333333rem;line-height:1rem;font-weight:400}.textMainColor{color:#1f2224}.textSoftColor{color:#5f6468}.textSofterColor{color:#9aa0a7}.textSoftestColor{color:#e8ebee}.textInverseColor{color:#fff}.spacingXXS{padding:4px}.spacingXSM{padding:6px}.spacingXSMDivider{height:6px}.spacingXS{padding:8px}.spacingS{padding:12px}.spacingM{padding:16px}.spacingL{padding:20px}.spacingXL{padding:24px}.spacingXXL{padding:28px}.spacingXXXL{padding:32px}.panel-title-gap-divider{height:20px}.panel-section-gap-divider{height:32px}.input-vertical-gap-divider{height:24px}.input-label-gap-divider{height:6px}.focusedInput{border:1px solid rgba(0,157,253,.25);box-shadow:0 0 10px #00b3eb40}.focus{box-shadow:0 0 8px #00a6e980}.hover{border-radius:8px;border:1px solid #00b3eb}.hoveredInput{border-radius:8px;border:1px solid rgba(0,179,235,.5)}.input-generic-valid{border-radius:8px;border:1px solid #B3FFD3}.input-generic-valid-focus{border-radius:8px;border:1px solid #B3FFD3!important;box-shadow:0 0 8px #46ff9b80!important;padding-left:16px}.input-generic-warning{border-radius:8px;border:1px solid #FFECB8!important}.input-generic-warning-focus{border-radius:8px;border:1px solid #FFECB8!important;box-shadow:0 0 8px #ffcd4680!important;padding-left:16px}.input-generic-error-focus{border-radius:8px;border:1px solid #FFBDBD!important;box-shadow:0 0 8px #ff555580!important;padding-left:16px}.input-generic-error{border-radius:8px;border:1px solid #FFBDBD}.toggle-small-typography{font-size:12px;line-height:16px;font-weight:600}.w-button-small-label-text-typography,.w-button-small-tertiary-label-text,.w-button-small-label-text-typography-sm{font-weight:600}.w-button-small-tertiary-label-text{color:#5f6468}.w-button-small-text-label-text{color:#1f2224}.w-button-small-icon-text{font-size:12px;font-weight:600}.w-table-button-small-icon-text{font-size:12px;color:#9aa0a7}.w-control-button-small-label-text{font-size:12px;font-weight:600;line-height:16px}.w-control-button-x-small-icon-text{font-size:10px;font-weight:700}.w-control-button-small-icon-text{font-size:8px;font-weight:700}.w-button-medium-label-text-typography,.w-button-medium-tertiary-label-text{font-size:16px;font-weight:600;line-height:16px}.w-button-medium-tertiary-label-text{color:#1f2224}.w-button-medium-icon-text{font-size:16px}.w-control-button-medium-label-text{font-size:14px;font-weight:600;line-height:16px}.w-control-button-medium-icon-text{font-size:12px;font-weight:700}.w-button-large-label-text-typography,.w-button-large-tertiary-label-text{font-size:20px;font-weight:600;line-height:24px}.w-button-large-tertiary-label-text{color:#1f2224}.w-button-x-small-label-text{font-size:10px;font-weight:600;line-height:10px}.w-button-small-only-label-text{font-size:12px;font-weight:600;line-height:16px}.w-button-large-icon-text{font-size:24px}.w-view-small-label-text{color:#1f2224}.w-view-small-value-text{color:#5f6468}.w-input-no-label-height{height:14px}.w-input-disabled{background-color:#f8f9fa!important;border-color:#e8ebee!important;opacity:.6!important}.w-input-small-label-text-typography,.w-input-small-label-text,.w-input-small-label-disabled{height:fit-content}.w-input-small-label-text,.w-input-small-label-disabled{color:#1f2224}.w-input-small-label-disabled{color:#9aa0a7}.w-input-small-label-text-content{padding:12px 8px 8px 0;margin:0}.w-input-small-label-text-content-no-top{padding-top:0}.w-input-small-placeholder-text{color:#1f2224}.w-input-small-placeholder-text-only-color{color:#9aa0a7;line-height:1.3333333333rem}.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text-disabled-only-color{color:#5f6468}.w-input-small-text-icon,.w-input-small-select-options-text{color:#1f2224}.w-input-medium-label-text-typography,.w-input-medium-label-text,.w-input-medium-label-disabled{font-size:14px;font-weight:600;line-height:16px}.w-input-medium-label-text,.w-input-medium-label-disabled{color:#1f2224}.w-input-medium-label-disabled{color:#9aa0a7}.w-input-medium-placeholder-text-typography,.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text{font-size:16px;font-weight:400;line-height:24px}.w-input-medium-placeholder-text,.w-input-medium-placeholder-text-only-color{color:#1f2224}.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text-disabled-only-color{color:#5f6468}.w-input-medium-text-icon{color:#1f2224}.w-input-medium-select-options-text{font-size:16px;font-weight:400;line-height:24px;color:#1f2224}.w-input-success-alert-text{color:#00db5d;padding:8px 8px 0;margin-top:0}.w-input-warning-alert-text{color:#eeae00;padding:0 4px;margin-top:-2px}.w-input-error-alert-text{color:#e50000;padding:0 4px;margin-top:-2px}.w-input-alert-message-height{height:32px}.w-error-message{color:#e50000;padding:0 4px;margin-top:-2px}.w-sidebar-title-text,.w-panel-title-text,.w-panel-subtitle-text{color:#1f2224}.w-panel-content{color:#5f6468}.w-tab-text,.w-chip-text{color:#1f2224}.w-badge-text{font-size:10px;font-weight:700;line-height:8px}.w-table-th-text{color:#1f2224}.w-table-td-text{color:#5f6468}.w-table-height{padding:6px 8px 5px}.w-table-no-buttons-height{padding:16px 8px 15px!important}.w-tree-table-height{padding:8px 8px 7px}.w-image-file-uploader-navigators-text{font-size:12px;color:#fff}.grid{margin:0}::ng-deep .p-tooltip,.p-tooltip{filter:0px 0px 1px 0px rgba(0,0,0,.1) inset,1px 1px 5px rgba(0,0,0,.06),1px 1px 1px rgba(0,0,0,.08)}::ng-deep .p-tooltip .p-tooltip-text,.p-tooltip .p-tooltip-text{background:#fff!important;color:#1f2224;padding:12px 16px;max-width:192px;width:max-content;margin-left:3px;pointer-events:none}::ng-deep .p-tooltip.p-tooltip-left,.p-tooltip.p-tooltip-left{margin-right:6px;width:max-content;transform:translate(-6px)}::ng-deep .p-tooltip.p-tooltip-left .p-tooltip-arrow,.p-tooltip.p-tooltip-left .p-tooltip-arrow{border-left-color:#fff!important;top:50%;right:-3px;margin-top:-4px;border-width:4px 0 4px 6px!important}::ng-deep .p-tooltip.p-tooltip-right,.p-tooltip.p-tooltip-right{margin-left:6px;width:max-content;transform:translateY(-1px)}::ng-deep .p-tooltip.p-tooltip-right .p-tooltip-arrow,.p-tooltip.p-tooltip-right .p-tooltip-arrow{border-right-color:#fff!important;top:50%;left:0;margin-top:-4px;border-width:4px 6px 4px 0!important}::ng-deep .p-tooltip.p-tooltip-bottom .p-tooltip-arrow,.p-tooltip.p-tooltip-bottom .p-tooltip-arrow{border-bottom-color:#fff!important;border-width:0 4px 6px 4px!important;margin-top:-3px}::ng-deep .w-button-tabview.p-tabs{gap:20px}::ng-deep .w-button-tabview.p-tabs .p-tablist .p-tablist-content .p-tablist-tab-list{gap:12px;border:none}::ng-deep .w-button-tabview.p-tabs .p-tablist .p-tablist-content .p-tablist-tab-list .p-tab{gap:8px;border:1px solid #9aa0a7!important;border-radius:8px;font-size:12px!important;font-weight:700!important;box-shadow:0 0 1px #0000001a inset,1px 1px 5px #0000000f,1px 1px 1px #00000014;transition:.2s;height:32px;padding:0 12px!important;display:flex;align-items:center}::ng-deep .w-button-tabview.p-tabs .p-tablist .p-tablist-content .p-tablist-tab-list .p-tab.p-tab-active{background-color:#1f2224;color:#fff}::ng-deep .w-button-tabview.p-tabs .p-tablist .p-tablist-content .p-tablist-tab-list .p-tablist-active-bar{visibility:hidden!important}\n"], dependencies: [{ kind: "component", type: i2$7.Tabs, selector: "p-tabs", inputs: ["value", "scrollable", "lazy", "selectOnFocus", "showNavigators", "tabindex"], outputs: ["valueChange"] }, { kind: "component", type: i2$7.TabPanels, selector: "p-tabpanels" }, { kind: "component", type: i2$7.TabPanel, selector: "p-tabpanel", inputs: ["lazy", "value"], outputs: ["valueChange"] }, { kind: "component", type: i2$7.TabList, selector: "p-tablist" }, { kind: "component", type: i2$7.Tab, selector: "p-tab", inputs: ["value", "disabled"], outputs: ["valueChange"] }] }); }
|
|
8177
8178
|
}
|
|
8178
8179
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: WButtonTabviewComponent, decorators: [{
|
|
8179
8180
|
type: Component,
|
|
8180
|
-
args: [{ selector: 'w-button-tabview', standalone: false, template: "<!-- ToDo actualizar a p-tab (p-tabView esta obsoleto) -->\r\n<!-- <p-tabView [(activeIndex)]=\"activeIndex\" styleClass=\"w-button-tabview\" (activeIndexChange)=\"activeIndexChange($event)\">\r\n <p-tabPanel *ngIf=\"headers.length > 0 \" [header]=\"headers[0]\" [disabled]=\"disabledTabs[0]\">\r\n <ng-template pTemplate=\"header\">\r\n <i *ngIf=\"icons && icons[0]\" [class]=\"'pi '+icons[0]\"></i>\r\n <span class=\"p-tabview-title\" *ngIf=\"headers[0]\">{{headers[0]}}</span>\r\n </ng-template>\r\n <ng-template pTemplate=\"content\">\r\n <ng-content *ngIf=\"activeIndex == 0\" select=\".panel-1\"></ng-content>\r\n </ng-template>\r\n </p-tabPanel>\r\n <p-tabPanel *ngIf=\"headers.length > 1\" [header]=\"headers[1]\" [disabled]=\"disabledTabs[1]\">\r\n <ng-template pTemplate=\"header\">\r\n <i *ngIf=\"icons && icons[1]\" [class]=\"'pi '+icons[1]\"></i>\r\n <span class=\"p-tabview-title\" *ngIf=\"headers[1]\">{{headers[1]}}</span>\r\n </ng-template>\r\n <ng-template pTemplate=\"content\">\r\n <ng-content *ngIf=\"activeIndex == 1\" select=\".panel-2\"></ng-content>\r\n </ng-template>\r\n </p-tabPanel>\r\n <p-tabPanel *ngIf=\"headers.length > 2 \" [header]=\"headers[2]\" [disabled]=\"disabledTabs[2]\">\r\n <ng-template pTemplate=\"header\">\r\n <i *ngIf=\"icons && icons[2]\" [class]=\"'pi '+icons[2]\"></i>\r\n <span class=\"p-tabview-title\" *ngIf=\"headers[2]\">{{headers[2]}}</span>\r\n </ng-template>\r\n <ng-template pTemplate=\"content\">\r\n <ng-content *ngIf=\"activeIndex == 2\" select=\".panel-3\"></ng-content>\r\n </ng-template>\r\n </p-tabPanel>\r\n <p-tabPanel *ngIf=\"headers.length > 3\" [header]=\"headers[3]\" [disabled]=\"disabledTabs[3]\">\r\n <ng-template pTemplate=\"header\">\r\n <i *ngIf=\"icons && icons[3]\" [class]=\"'pi '+icons[3]\"></i>\r\n <span class=\"p-tabview-title\" *ngIf=\"headers[3]\">{{headers[3]}}</span>\r\n </ng-template>\r\n <ng-template pTemplate=\"content\">\r\n <ng-content *ngIf=\"activeIndex == 3\" select=\".panel-4\"></ng-content>\r\n </ng-template>\r\n </p-tabPanel>\r\n <p-tabPanel *ngIf=\"headers.length > 4\" [header]=\"headers[4]\" [disabled]=\"disabledTabs[4]\">\r\n <ng-template pTemplate=\"header\">\r\n <i *ngIf=\"icons && icons[4]\" [class]=\"'pi '+icons[4]\"></i>\r\n <span class=\"p-tabview-title\" *ngIf=\"headers[4]\">{{headers[4]}}</span>\r\n </ng-template>\r\n <ng-template pTemplate=\"content\">\r\n <ng-content *ngIf=\"activeIndex == 4\" select=\".panel-5\"></ng-content>\r\n </ng-template>\r\n </p-tabPanel>\r\n <p-tabPanel *ngIf=\"headers.length > 5\" [header]=\"headers[5]\" [disabled]=\"disabledTabs[5]\">\r\n <ng-template pTemplate=\"header\">\r\n <i *ngIf=\"icons && icons[5]\" [class]=\"'pi '+icons[5]\"></i>\r\n <span class=\"p-tabview-title\" *ngIf=\"headers[5]\">{{headers[5]}}</span>\r\n </ng-template>\r\n <ng-template pTemplate=\"content\">\r\n <ng-content *ngIf=\"activeIndex == 5\" select=\".panel-6\"></ng-content>\r\n </ng-template>\r\n </p-tabPanel>\r\n <p-tabPanel *ngIf=\"headers.length > 6\" [header]=\"headers[6]\" [disabled]=\"disabledTabs[6]\">\r\n <ng-template pTemplate=\"header\">\r\n <i *ngIf=\"icons && icons[6]\" [class]=\"'pi '+icons[6]\"></i>\r\n <span class=\"p-tabview-title\" *ngIf=\"headers[6]\">{{headers[6]}}</span>\r\n </ng-template>\r\n <ng-template pTemplate=\"content\">\r\n <ng-content *ngIf=\"activeIndex == 6\" select=\".panel-7\"></ng-content>\r\n </ng-template>\r\n </p-tabPanel>\r\n <p-tabPanel *ngIf=\"headers.length > 7\" [header]=\"headers[7]\" [disabled]=\"disabledTabs[7]\">\r\n <ng-template pTemplate=\"header\">\r\n <i *ngIf=\"icons && icons[7]\" [class]=\"'pi '+icons[7]\"></i>\r\n <span class=\"p-tabview-title\" *ngIf=\"headers[7]\">{{headers[7]}}</span>\r\n </ng-template>\r\n <ng-template pTemplate=\"content\">\r\n <ng-content *ngIf=\"activeIndex == 7\" select=\".panel-8\"></ng-content>\r\n </ng-template>\r\n </p-tabPanel>\r\n <p-tabPanel *ngIf=\"headers.length > 8\" [header]=\"headers[8]\" [disabled]=\"disabledTabs[8]\">\r\n <ng-template pTemplate=\"header\">\r\n <i *ngIf=\"icons && icons[8]\" [class]=\"'pi '+icons[8]\"></i>\r\n <span class=\"p-tabview-title\" *ngIf=\"headers[8]\">{{headers[8]}}</span>\r\n </ng-template>\r\n <ng-template pTemplate=\"content\">\r\n <ng-content *ngIf=\"activeIndex == 8\" select=\".panel-9\"></ng-content>\r\n </ng-template>\r\n </p-tabPanel>\r\n <p-tabPanel *ngIf=\"headers.length > 9\" [header]=\"headers[9]\" [disabled]=\"disabledTabs[9]\">\r\n <ng-template pTemplate=\"header\">\r\n <i *ngIf=\"icons && icons[9]\" [class]=\"'pi '+icons[9]\"></i>\r\n <span class=\"p-tabview-title\" *ngIf=\"headers[9]\">{{headers[9]}}</span>\r\n </ng-template>\r\n <ng-template pTemplate=\"content\">\r\n <ng-content *ngIf=\"activeIndex == 9\" select=\".panel-10\"></ng-content>\r\n </ng-template>\r\n </p-tabPanel>\r\n</p-tabView> -->\r\n", styles: [".heading1{font-size:2.6666666667rem;line-height:3rem;font-weight:700}.heading2{font-size:2.3333333333rem;line-height:2.6666666667rem;font-weight:700}.heading3{font-size:2rem;line-height:2.3333333333rem;font-weight:700}.heading4{font-size:1.6666666667rem;line-height:2rem;font-weight:700}.heading5,.w-sidebar-title-text{font-size:1.5rem;line-height:1.8333333333rem;font-weight:700}.heading6{font-size:1.3333333333rem;line-height:1.6666666667rem;font-weight:700}.subtitle1,.w-tab-text,.w-panel-title-text{font-size:1.1666666667rem;line-height:1.3333333333rem;font-weight:700}.subtitle2,.w-table-th-text,.w-panel-subtitle-text,.w-input-small-label-text-typography,.w-input-small-label-text,.w-input-small-label-disabled,.w-view-small-label-text-typography,.w-view-small-label-text,.w-button-small-text-label-text-typography,.w-button-small-text-label-text{font-size:1rem;line-height:1.1666666667rem;font-weight:600}.body,.w-image-file-uploader-navigators-text,.w-table-td-text,.w-chip-text,.w-panel-content,.w-input-small-select-options-text,.w-input-small-placeholder-text-typography,.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text,.w-view-small-value-text-typography,.w-view-small-value-text,.w-button-small-label-text-typography,.w-button-small-tertiary-label-text{font-size:1rem;line-height:1.1666666667rem;font-weight:400}.caption,.w-input-success-alert-text{font-size:.6666666667rem;line-height:1rem;font-weight:400}.light,.w-input-small-placeholder-text-only-color{font-size:.9166666667rem;line-height:1.0833333333rem;font-weight:300}.small,.w-error-message,.w-input-error-alert-text,.w-input-warning-alert-text,.w-button-small-label-text-typography-sm{font-size:.8333333333rem;line-height:1rem;font-weight:400}.textMainColor{color:#1f2224}.textSoftColor{color:#5f6468}.textSofterColor{color:#9aa0a7}.textSoftestColor{color:#e8ebee}.textInverseColor{color:#fff}.spacingXXS{padding:4px}.spacingXSM{padding:6px}.spacingXSMDivider{height:6px}.spacingXS{padding:8px}.spacingS{padding:12px}.spacingM{padding:16px}.spacingL{padding:20px}.spacingXL{padding:24px}.spacingXXL{padding:28px}.spacingXXXL{padding:32px}.panel-title-gap-divider{height:20px}.panel-section-gap-divider{height:32px}.input-vertical-gap-divider{height:24px}.input-label-gap-divider{height:6px}.focusedInput{border:1px solid rgba(0,157,253,.25);box-shadow:0 0 10px #00b3eb40}.focus{box-shadow:0 0 8px #00a6e980}.hover{border-radius:8px;border:1px solid #00b3eb}.hoveredInput{border-radius:8px;border:1px solid rgba(0,179,235,.5)}.input-generic-valid{border-radius:8px;border:1px solid #B3FFD3}.input-generic-valid-focus{border-radius:8px;border:1px solid #B3FFD3!important;box-shadow:0 0 8px #46ff9b80!important;padding-left:16px}.input-generic-warning{border-radius:8px;border:1px solid #FFECB8!important}.input-generic-warning-focus{border-radius:8px;border:1px solid #FFECB8!important;box-shadow:0 0 8px #ffcd4680!important;padding-left:16px}.input-generic-error-focus{border-radius:8px;border:1px solid #FFBDBD!important;box-shadow:0 0 8px #ff555580!important;padding-left:16px}.input-generic-error{border-radius:8px;border:1px solid #FFBDBD}.toggle-small-typography{font-size:12px;line-height:16px;font-weight:600}.w-button-small-label-text-typography,.w-button-small-tertiary-label-text,.w-button-small-label-text-typography-sm{font-weight:600}.w-button-small-tertiary-label-text{color:#5f6468}.w-button-small-text-label-text{color:#1f2224}.w-button-small-icon-text{font-size:12px;font-weight:600}.w-table-button-small-icon-text{font-size:12px;color:#9aa0a7}.w-control-button-small-label-text{font-size:12px;font-weight:600;line-height:16px}.w-control-button-x-small-icon-text{font-size:10px;font-weight:700}.w-control-button-small-icon-text{font-size:8px;font-weight:700}.w-button-medium-label-text-typography,.w-button-medium-tertiary-label-text{font-size:16px;font-weight:600;line-height:16px}.w-button-medium-tertiary-label-text{color:#1f2224}.w-button-medium-icon-text{font-size:16px}.w-control-button-medium-label-text{font-size:14px;font-weight:600;line-height:16px}.w-control-button-medium-icon-text{font-size:12px;font-weight:700}.w-button-large-label-text-typography,.w-button-large-tertiary-label-text{font-size:20px;font-weight:600;line-height:24px}.w-button-large-tertiary-label-text{color:#1f2224}.w-button-x-small-label-text{font-size:10px;font-weight:600;line-height:10px}.w-button-small-only-label-text{font-size:12px;font-weight:600;line-height:16px}.w-button-large-icon-text{font-size:24px}.w-view-small-label-text{color:#1f2224}.w-view-small-value-text{color:#5f6468}.w-input-no-label-height{height:14px}.w-input-disabled{background-color:#f8f9fa!important;border-color:#e8ebee!important;opacity:.6!important}.w-input-small-label-text-typography,.w-input-small-label-text,.w-input-small-label-disabled{height:fit-content}.w-input-small-label-text,.w-input-small-label-disabled{color:#1f2224}.w-input-small-label-disabled{color:#9aa0a7}.w-input-small-label-text-content{padding:12px 8px 8px 0;margin:0}.w-input-small-label-text-content-no-top{padding-top:0}.w-input-small-placeholder-text{color:#1f2224}.w-input-small-placeholder-text-only-color{color:#9aa0a7;line-height:1.3333333333rem}.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text-disabled-only-color{color:#5f6468}.w-input-small-text-icon,.w-input-small-select-options-text{color:#1f2224}.w-input-medium-label-text-typography,.w-input-medium-label-text,.w-input-medium-label-disabled{font-size:14px;font-weight:600;line-height:16px}.w-input-medium-label-text,.w-input-medium-label-disabled{color:#1f2224}.w-input-medium-label-disabled{color:#9aa0a7}.w-input-medium-placeholder-text-typography,.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text{font-size:16px;font-weight:400;line-height:24px}.w-input-medium-placeholder-text,.w-input-medium-placeholder-text-only-color{color:#1f2224}.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text-disabled-only-color{color:#5f6468}.w-input-medium-text-icon{color:#1f2224}.w-input-medium-select-options-text{font-size:16px;font-weight:400;line-height:24px;color:#1f2224}.w-input-success-alert-text{color:#00db5d;padding:8px 8px 0;margin-top:0}.w-input-warning-alert-text{color:#eeae00;padding:0 4px;margin-top:-2px}.w-input-error-alert-text{color:#e50000;padding:0 4px;margin-top:-2px}.w-input-alert-message-height{height:32px}.w-error-message{color:#e50000;padding:0 4px;margin-top:-2px}.w-sidebar-title-text,.w-panel-title-text,.w-panel-subtitle-text{color:#1f2224}.w-panel-content{color:#5f6468}.w-tab-text,.w-chip-text{color:#1f2224}.w-badge-text{font-size:10px;font-weight:700;line-height:8px}.w-table-th-text{color:#1f2224}.w-table-td-text{color:#5f6468}.w-table-height{padding:6px 8px 5px}.w-table-no-buttons-height{padding:16px 8px 15px!important}.w-tree-table-height{padding:8px 8px 7px}.w-image-file-uploader-navigators-text{font-size:12px;color:#fff}.grid{margin:0}::ng-deep .p-tooltip,.p-tooltip{filter:0px 0px 1px 0px rgba(0,0,0,.1) inset,1px 1px 5px rgba(0,0,0,.06),1px 1px 1px rgba(0,0,0,.08)}::ng-deep .p-tooltip .p-tooltip-text,.p-tooltip .p-tooltip-text{background:#fff!important;color:#1f2224;padding:12px 16px;max-width:192px;width:max-content;margin-left:3px;pointer-events:none}::ng-deep .p-tooltip.p-tooltip-left,.p-tooltip.p-tooltip-left{margin-right:6px;width:max-content;transform:translate(-6px)}::ng-deep .p-tooltip.p-tooltip-left .p-tooltip-arrow,.p-tooltip.p-tooltip-left .p-tooltip-arrow{border-left-color:#fff!important;top:50%;right:-3px;margin-top:-4px;border-width:4px 0 4px 6px!important}::ng-deep .p-tooltip.p-tooltip-right,.p-tooltip.p-tooltip-right{margin-left:6px;width:max-content;transform:translateY(-1px)}::ng-deep .p-tooltip.p-tooltip-right .p-tooltip-arrow,.p-tooltip.p-tooltip-right .p-tooltip-arrow{border-right-color:#fff!important;top:50%;left:0;margin-top:-4px;border-width:4px 6px 4px 0!important}::ng-deep .p-tooltip.p-tooltip-bottom .p-tooltip-arrow,.p-tooltip.p-tooltip-bottom .p-tooltip-arrow{border-bottom-color:#fff!important;border-width:0 4px 6px 4px!important;margin-top:-3px}::ng-deep .w-button-tabview.p-tabview{display:flex;gap:20px;flex-direction:column}::ng-deep .w-button-tabview.p-tabview .p-tabview-ink-bar{visibility:hidden!important}::ng-deep .w-button-tabview.p-tabview .p-tabview-panels{padding:0}::ng-deep .w-button-tabview.p-tabview .p-tabview-nav{gap:12px;border:none}::ng-deep .w-button-tabview.p-tabview .p-tabview-nav-content{overflow:visible}::ng-deep .w-button-tabview.p-tabview .p-tabview-nav-content li .p-tabview-nav-link{gap:8px;border:1px solid #9aa0a7!important;border-radius:8px;font-size:12px;box-shadow:0 0 1px #0000001a inset,1px 1px 5px #0000000f,1px 1px 1px #00000014;transition:.2s;height:32px}::ng-deep .w-button-tabview.p-tabview .p-tabview-nav-content li .p-tabview-nav-link[aria-selected=true]{background-color:#1f2224;color:#fff}::ng-deep .w-button-tabview.p-tabview .p-tabview-nav-content li .p-tabview-nav-link[aria-selected=false]{background-color:#fff;color:#1f2224}::ng-deep .w-button-tabview.p-tabview .p-tabview-nav-content li .p-tabview-nav-link i{font-size:16px}::ng-deep .w-button-tabview.p-tabview .p-tabview-nav-content li.p-disabled .p-tabview-nav-link{gap:8px;box-shadow:none!important;background-color:#f8f9fa!important}::ng-deep .w-button-tabview.p-tabview .p-tabview-nav-content li.p-disabled .p-tabview-nav-link i{font-size:16px}\n"] }]
|
|
8181
|
+
args: [{ selector: 'w-button-tabview', standalone: false, encapsulation: ViewEncapsulation.Emulated, template: "<p-tabs [value]=\"activeIndex\" class=\"w-button-tabview\" (valueChange)=\"activeIndexChange($event)\" [scrollable]=\"true\">\r\n <p-tablist>\r\n @if (headers.length > 0) {\r\n <p-tab [value]=\"0\" [disabled]=\"disabledTabs[0]\">\r\n @if(icons && icons[0]){\r\n <i [class]=\"'pi '+icons[0]\"></i>\r\n }\r\n @if(headers[0]){\r\n <span class=\"p-tabview-title\">{{headers[0]}}</span>\r\n }\r\n </p-tab>\r\n }\r\n @if (headers.length > 1) {\r\n <p-tab [value]=\"1\" [disabled]=\"disabledTabs[1]\">\r\n @if(icons && icons[1]){\r\n <i [class]=\"'pi '+icons[1]\"></i>\r\n }\r\n @if(headers[1]){\r\n <span class=\"p-tabview-title\">{{headers[1]}}</span>\r\n }\r\n </p-tab>\r\n }\r\n @if (headers.length > 2) {\r\n <p-tab [value]=\"2\" [disabled]=\"disabledTabs[2]\">\r\n @if(icons && icons[2]){\r\n <i [class]=\"'pi '+icons[2]\"></i>\r\n }\r\n @if(headers[2]){\r\n <span class=\"p-tabview-title\">{{headers[2]}}</span>\r\n }\r\n </p-tab>\r\n }\r\n @if (headers.length > 3) {\r\n <p-tab [value]=\"3\" [disabled]=\"disabledTabs[3]\">\r\n @if(icons && icons[3]){\r\n <i [class]=\"'pi '+icons[3]\"></i>\r\n }\r\n @if(headers[3]){\r\n <span class=\"p-tabview-title\">{{headers[3]}}</span>\r\n }\r\n </p-tab>\r\n }\r\n @if (headers.length > 4) {\r\n <p-tab [value]=\"4\" [disabled]=\"disabledTabs[4]\">\r\n @if(icons && icons[4]){\r\n <i [class]=\"'pi '+icons[4]\"></i>\r\n }\r\n @if(headers[4]){\r\n <span class=\"p-tabview-title\">{{headers[4]}}</span>\r\n }\r\n </p-tab>\r\n }\r\n @if (headers.length > 5) {\r\n <p-tab [value]=\"5\" [disabled]=\"disabledTabs[5]\">\r\n @if(icons && icons[5]){\r\n <i [class]=\"'pi '+icons[5]\"></i>\r\n }\r\n @if(headers[5]){\r\n <span class=\"p-tabview-title\">{{headers[5]}}</span>\r\n }\r\n </p-tab>\r\n }\r\n @if (headers.length > 6) {\r\n <p-tab [value]=\"6\" [disabled]=\"disabledTabs[6]\">\r\n @if(icons && icons[6]){\r\n <i [class]=\"'pi '+icons[6]\"></i>\r\n }\r\n @if(headers[6]){\r\n <span class=\"p-tabview-title\">{{headers[6]}}</span>\r\n }\r\n </p-tab>\r\n }\r\n @if (headers.length > 7) {\r\n <p-tab [value]=\"7\" [disabled]=\"disabledTabs[7]\">\r\n @if(icons && icons[7]){\r\n <i [class]=\"'pi '+icons[7]\"></i>\r\n }\r\n @if(headers[7]){\r\n <span class=\"p-tabview-title\">{{headers[7]}}</span>\r\n }\r\n </p-tab>\r\n }\r\n @if (headers.length > 8) {\r\n <p-tab [value]=\"8\" [disabled]=\"disabledTabs[8]\">\r\n @if(icons && icons[8]){\r\n <i [class]=\"'pi '+icons[8]\"></i>\r\n }\r\n @if(headers[8]){\r\n <span class=\"p-tabview-title\">{{headers[8]}}</span>\r\n }\r\n </p-tab>\r\n }\r\n @if (headers.length > 9) {\r\n <p-tab [value]=\"9\" [disabled]=\"disabledTabs[9]\">\r\n @if(icons && icons[9]){\r\n <i [class]=\"'pi '+icons[9]\"></i>\r\n }\r\n @if(headers[9]){\r\n <span class=\"p-tabview-title\">{{headers[9]}}</span>\r\n }\r\n </p-tab>\r\n }\r\n </p-tablist>\r\n <p-tabpanels>\r\n @if (headers.length > 0 ) {\r\n <p-tabpanel [value]=\"0\">\r\n @if (activeIndex == 0) {\r\n <ng-content select=\".panel-1\"></ng-content>\r\n }\r\n </p-tabpanel>\r\n }\r\n @if (headers.length > 1) {\r\n <p-tabpanel [value]=\"1\">\r\n @if (activeIndex == 1) {\r\n <ng-content select=\".panel-2\"></ng-content>\r\n }\r\n </p-tabpanel>\r\n }\r\n @if (headers.length > 2 ) {\r\n <p-tabpanel [value]=\"2\">\r\n @if (activeIndex == 2) {\r\n <ng-content select=\".panel-3\"></ng-content>\r\n }\r\n </p-tabpanel>\r\n }\r\n @if (headers.length > 3) {\r\n <p-tabpanel [value]=\"3\">\r\n @if (activeIndex == 3) {\r\n <ng-content select=\".panel-4\"></ng-content>\r\n }\r\n </p-tabpanel>\r\n }\r\n @if (headers.length > 4) {\r\n <p-tabpanel [value]=\"4\">\r\n @if (activeIndex == 4) {\r\n <ng-content select=\".panel-5\"></ng-content>\r\n }\r\n </p-tabpanel>\r\n }\r\n @if (headers.length > 5) {\r\n <p-tabpanel [value]=\"5\">\r\n @if (activeIndex == 5) {\r\n <ng-content select=\".panel-6\"></ng-content>\r\n }\r\n </p-tabpanel>\r\n }\r\n @if (headers.length > 6) {\r\n <p-tabpanel [value]=\"6\">\r\n @if (activeIndex == 6) {\r\n <ng-content select=\".panel-7\"></ng-content>\r\n }\r\n </p-tabpanel>\r\n }\r\n @if (headers.length > 7) {\r\n <p-tabpanel [value]=\"7\">\r\n @if (activeIndex == 7) {\r\n <ng-content select=\".panel-8\"></ng-content>\r\n }\r\n </p-tabpanel>\r\n }\r\n @if (headers.length > 8) {\r\n <p-tabpanel [value]=\"8\">\r\n @if (activeIndex == 8) {\r\n <ng-content select=\".panel-9\"></ng-content>\r\n }\r\n </p-tabpanel>\r\n }\r\n @if (headers.length > 9) {\r\n <p-tabpanel [value]=\"9\">\r\n @if (activeIndex == 9) {\r\n <ng-content select=\".panel-10\"></ng-content>\r\n }\r\n </p-tabpanel>\r\n }\r\n </p-tabpanels>\r\n</p-tabs>\r\n", styles: [".heading1{font-size:2.6666666667rem;line-height:3rem;font-weight:700}.heading2{font-size:2.3333333333rem;line-height:2.6666666667rem;font-weight:700}.heading3{font-size:2rem;line-height:2.3333333333rem;font-weight:700}.heading4{font-size:1.6666666667rem;line-height:2rem;font-weight:700}.heading5,.w-sidebar-title-text{font-size:1.5rem;line-height:1.8333333333rem;font-weight:700}.heading6{font-size:1.3333333333rem;line-height:1.6666666667rem;font-weight:700}.subtitle1,.w-tab-text,.w-panel-title-text{font-size:1.1666666667rem;line-height:1.3333333333rem;font-weight:700}.subtitle2,.w-table-th-text,.w-panel-subtitle-text,.w-input-small-label-text-typography,.w-input-small-label-text,.w-input-small-label-disabled,.w-view-small-label-text-typography,.w-view-small-label-text,.w-button-small-text-label-text-typography,.w-button-small-text-label-text{font-size:1rem;line-height:1.1666666667rem;font-weight:600}.body,.w-image-file-uploader-navigators-text,.w-table-td-text,.w-chip-text,.w-panel-content,.w-input-small-select-options-text,.w-input-small-placeholder-text-typography,.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text,.w-view-small-value-text-typography,.w-view-small-value-text,.w-button-small-label-text-typography,.w-button-small-tertiary-label-text{font-size:1rem;line-height:1.1666666667rem;font-weight:400}.caption,.w-input-success-alert-text{font-size:.6666666667rem;line-height:1rem;font-weight:400}.light,.w-input-small-placeholder-text-only-color{font-size:.9166666667rem;line-height:1.0833333333rem;font-weight:300}.small,.w-error-message,.w-input-error-alert-text,.w-input-warning-alert-text,.w-button-small-label-text-typography-sm{font-size:.8333333333rem;line-height:1rem;font-weight:400}.textMainColor{color:#1f2224}.textSoftColor{color:#5f6468}.textSofterColor{color:#9aa0a7}.textSoftestColor{color:#e8ebee}.textInverseColor{color:#fff}.spacingXXS{padding:4px}.spacingXSM{padding:6px}.spacingXSMDivider{height:6px}.spacingXS{padding:8px}.spacingS{padding:12px}.spacingM{padding:16px}.spacingL{padding:20px}.spacingXL{padding:24px}.spacingXXL{padding:28px}.spacingXXXL{padding:32px}.panel-title-gap-divider{height:20px}.panel-section-gap-divider{height:32px}.input-vertical-gap-divider{height:24px}.input-label-gap-divider{height:6px}.focusedInput{border:1px solid rgba(0,157,253,.25);box-shadow:0 0 10px #00b3eb40}.focus{box-shadow:0 0 8px #00a6e980}.hover{border-radius:8px;border:1px solid #00b3eb}.hoveredInput{border-radius:8px;border:1px solid rgba(0,179,235,.5)}.input-generic-valid{border-radius:8px;border:1px solid #B3FFD3}.input-generic-valid-focus{border-radius:8px;border:1px solid #B3FFD3!important;box-shadow:0 0 8px #46ff9b80!important;padding-left:16px}.input-generic-warning{border-radius:8px;border:1px solid #FFECB8!important}.input-generic-warning-focus{border-radius:8px;border:1px solid #FFECB8!important;box-shadow:0 0 8px #ffcd4680!important;padding-left:16px}.input-generic-error-focus{border-radius:8px;border:1px solid #FFBDBD!important;box-shadow:0 0 8px #ff555580!important;padding-left:16px}.input-generic-error{border-radius:8px;border:1px solid #FFBDBD}.toggle-small-typography{font-size:12px;line-height:16px;font-weight:600}.w-button-small-label-text-typography,.w-button-small-tertiary-label-text,.w-button-small-label-text-typography-sm{font-weight:600}.w-button-small-tertiary-label-text{color:#5f6468}.w-button-small-text-label-text{color:#1f2224}.w-button-small-icon-text{font-size:12px;font-weight:600}.w-table-button-small-icon-text{font-size:12px;color:#9aa0a7}.w-control-button-small-label-text{font-size:12px;font-weight:600;line-height:16px}.w-control-button-x-small-icon-text{font-size:10px;font-weight:700}.w-control-button-small-icon-text{font-size:8px;font-weight:700}.w-button-medium-label-text-typography,.w-button-medium-tertiary-label-text{font-size:16px;font-weight:600;line-height:16px}.w-button-medium-tertiary-label-text{color:#1f2224}.w-button-medium-icon-text{font-size:16px}.w-control-button-medium-label-text{font-size:14px;font-weight:600;line-height:16px}.w-control-button-medium-icon-text{font-size:12px;font-weight:700}.w-button-large-label-text-typography,.w-button-large-tertiary-label-text{font-size:20px;font-weight:600;line-height:24px}.w-button-large-tertiary-label-text{color:#1f2224}.w-button-x-small-label-text{font-size:10px;font-weight:600;line-height:10px}.w-button-small-only-label-text{font-size:12px;font-weight:600;line-height:16px}.w-button-large-icon-text{font-size:24px}.w-view-small-label-text{color:#1f2224}.w-view-small-value-text{color:#5f6468}.w-input-no-label-height{height:14px}.w-input-disabled{background-color:#f8f9fa!important;border-color:#e8ebee!important;opacity:.6!important}.w-input-small-label-text-typography,.w-input-small-label-text,.w-input-small-label-disabled{height:fit-content}.w-input-small-label-text,.w-input-small-label-disabled{color:#1f2224}.w-input-small-label-disabled{color:#9aa0a7}.w-input-small-label-text-content{padding:12px 8px 8px 0;margin:0}.w-input-small-label-text-content-no-top{padding-top:0}.w-input-small-placeholder-text{color:#1f2224}.w-input-small-placeholder-text-only-color{color:#9aa0a7;line-height:1.3333333333rem}.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text-disabled-only-color{color:#5f6468}.w-input-small-text-icon,.w-input-small-select-options-text{color:#1f2224}.w-input-medium-label-text-typography,.w-input-medium-label-text,.w-input-medium-label-disabled{font-size:14px;font-weight:600;line-height:16px}.w-input-medium-label-text,.w-input-medium-label-disabled{color:#1f2224}.w-input-medium-label-disabled{color:#9aa0a7}.w-input-medium-placeholder-text-typography,.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text{font-size:16px;font-weight:400;line-height:24px}.w-input-medium-placeholder-text,.w-input-medium-placeholder-text-only-color{color:#1f2224}.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text-disabled-only-color{color:#5f6468}.w-input-medium-text-icon{color:#1f2224}.w-input-medium-select-options-text{font-size:16px;font-weight:400;line-height:24px;color:#1f2224}.w-input-success-alert-text{color:#00db5d;padding:8px 8px 0;margin-top:0}.w-input-warning-alert-text{color:#eeae00;padding:0 4px;margin-top:-2px}.w-input-error-alert-text{color:#e50000;padding:0 4px;margin-top:-2px}.w-input-alert-message-height{height:32px}.w-error-message{color:#e50000;padding:0 4px;margin-top:-2px}.w-sidebar-title-text,.w-panel-title-text,.w-panel-subtitle-text{color:#1f2224}.w-panel-content{color:#5f6468}.w-tab-text,.w-chip-text{color:#1f2224}.w-badge-text{font-size:10px;font-weight:700;line-height:8px}.w-table-th-text{color:#1f2224}.w-table-td-text{color:#5f6468}.w-table-height{padding:6px 8px 5px}.w-table-no-buttons-height{padding:16px 8px 15px!important}.w-tree-table-height{padding:8px 8px 7px}.w-image-file-uploader-navigators-text{font-size:12px;color:#fff}.grid{margin:0}::ng-deep .p-tooltip,.p-tooltip{filter:0px 0px 1px 0px rgba(0,0,0,.1) inset,1px 1px 5px rgba(0,0,0,.06),1px 1px 1px rgba(0,0,0,.08)}::ng-deep .p-tooltip .p-tooltip-text,.p-tooltip .p-tooltip-text{background:#fff!important;color:#1f2224;padding:12px 16px;max-width:192px;width:max-content;margin-left:3px;pointer-events:none}::ng-deep .p-tooltip.p-tooltip-left,.p-tooltip.p-tooltip-left{margin-right:6px;width:max-content;transform:translate(-6px)}::ng-deep .p-tooltip.p-tooltip-left .p-tooltip-arrow,.p-tooltip.p-tooltip-left .p-tooltip-arrow{border-left-color:#fff!important;top:50%;right:-3px;margin-top:-4px;border-width:4px 0 4px 6px!important}::ng-deep .p-tooltip.p-tooltip-right,.p-tooltip.p-tooltip-right{margin-left:6px;width:max-content;transform:translateY(-1px)}::ng-deep .p-tooltip.p-tooltip-right .p-tooltip-arrow,.p-tooltip.p-tooltip-right .p-tooltip-arrow{border-right-color:#fff!important;top:50%;left:0;margin-top:-4px;border-width:4px 6px 4px 0!important}::ng-deep .p-tooltip.p-tooltip-bottom .p-tooltip-arrow,.p-tooltip.p-tooltip-bottom .p-tooltip-arrow{border-bottom-color:#fff!important;border-width:0 4px 6px 4px!important;margin-top:-3px}::ng-deep .w-button-tabview.p-tabs{gap:20px}::ng-deep .w-button-tabview.p-tabs .p-tablist .p-tablist-content .p-tablist-tab-list{gap:12px;border:none}::ng-deep .w-button-tabview.p-tabs .p-tablist .p-tablist-content .p-tablist-tab-list .p-tab{gap:8px;border:1px solid #9aa0a7!important;border-radius:8px;font-size:12px!important;font-weight:700!important;box-shadow:0 0 1px #0000001a inset,1px 1px 5px #0000000f,1px 1px 1px #00000014;transition:.2s;height:32px;padding:0 12px!important;display:flex;align-items:center}::ng-deep .w-button-tabview.p-tabs .p-tablist .p-tablist-content .p-tablist-tab-list .p-tab.p-tab-active{background-color:#1f2224;color:#fff}::ng-deep .w-button-tabview.p-tabs .p-tablist .p-tablist-content .p-tablist-tab-list .p-tablist-active-bar{visibility:hidden!important}\n"] }]
|
|
8181
8182
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { headers: [{
|
|
8182
8183
|
type: Input,
|
|
8183
8184
|
args: ['headers']
|