ngx-wapp-components 3.0.20 → 3.0.21-alpha.1
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.
|
@@ -8265,11 +8265,11 @@ class WTabviewComponent {
|
|
|
8265
8265
|
}
|
|
8266
8266
|
}
|
|
8267
8267
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: WTabviewComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8268
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.2", 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", lazy: "lazy" }, 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\" [lazy]=\"lazy\">\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,::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,: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 .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-regular.p-tabs .p-tablist{background:transparent}::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!important;height:52px!important;align-content:center}::ng-deep .title-tabActive.p-tabs{margin-top:32px!important}::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$8.Tabs, selector: "p-tabs", inputs: ["value", "scrollable", "lazy", "selectOnFocus", "showNavigators", "tabindex"], outputs: ["valueChange"] }, { kind: "component", type: i2$8.TabPanels, selector: "p-tabpanels" }, { kind: "component", type: i2$8.TabPanel, selector: "p-tabpanel", inputs: ["lazy", "value"], outputs: ["valueChange"] }, { kind: "component", type: i2$8.TabList, selector: "p-tablist" }, { kind: "component", type: i2$8.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"] }] }); }
|
|
8268
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.2", 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", lazy: "lazy" }, 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\" \r\n [class]=\"type == 'regular' ? 'w-tabview-regular' : 'w-tabview-secondary'\"\r\n (valueChange)=\"activeIndexChange($event)\" \r\n [scrollable]=\"isScrollable\" \r\n [ngClass]=\"{'title-tabActive': titleTabActive}\" \r\n [scrollable]=\"true\" \r\n [lazy]=\"lazy\">\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 -->\r\n<p-tabs\r\n [value]=\"activeIndex\"\r\n [class]=\"type === 'regular' ? 'w-tabview-regular' : 'w-tabview-secondary'\"\r\n (valueChange)=\"activeIndexChange($event)\"\r\n [scrollable]=\"isScrollable\"\r\n [ngClass]=\"{'title-tabActive': titleTabActive}\"\r\n [lazy]=\"lazy\"\r\n>\r\n <p-tablist>\r\n <ng-container *ngFor=\"let header of headers; let i = index\">\r\n <p-tab\r\n [value]=\"i\"\r\n [disabled]=\"disabledTabs[i]\"\r\n [ngClass]=\"{'flex items-center !gap-2 text-inherit': (icons && icons[i])}\"\r\n >\r\n <ng-container *ngIf=\"icons && icons[i]\">\r\n <i [class]=\"'pi ' + icons[i]\"></i>\r\n </ng-container>\r\n\r\n <div>\r\n <span class=\"p-tabview-title\">{{ header }}</span>\r\n <ng-container *ngIf=\"requiredTabs[i] && !disabledTabs[i]\">\r\n <span\r\n class=\"p-tabview-asterisk\"\r\n [ngClass]=\"{'not-validated': applyValidationStyle && !validatedTabs[i]}\"\r\n >*</span\r\n >\r\n </ng-container>\r\n </div>\r\n </p-tab>\r\n </ng-container>\r\n </p-tablist>\r\n\r\n <p-tabpanels>\r\n <ng-container *ngFor=\"let _ of headers; let i = index\">\r\n <p-tabpanel [value]=\"i\">\r\n <!-- No destruir: solo ocultar -->\r\n <div [hidden]=\"!keepTabsVisible && activeIndex !== i\">\r\n <!-- Mant\u00E9n tu patr\u00F3n de proyecci\u00F3n .panel-1, .panel-2, ... -->\r\n @switch (i) {\r\n @case (0){\r\n <ng-content select=\".panel-1\"></ng-content>\r\n }\r\n @case (1){\r\n <ng-content select=\".panel-2\"></ng-content>\r\n }\r\n @case (2){\r\n <ng-content select=\".panel-3\"></ng-content>\r\n }\r\n @case (3){\r\n <ng-content select=\".panel-4\"></ng-content>\r\n }\r\n @case (4){\r\n <ng-content select=\".panel-5\"></ng-content>\r\n }\r\n @case (5){\r\n <ng-content select=\".panel-6\"></ng-content>\r\n }\r\n @case (6){\r\n <ng-content select=\".panel-7\"></ng-content>\r\n }\r\n @case (7){\r\n <ng-content select=\".panel-8\"></ng-content>\r\n }\r\n @case (8){\r\n <ng-content select=\".panel-9\"></ng-content>\r\n }\r\n @case (9){\r\n <ng-content select=\".panel-10\"></ng-content>\r\n }\r\n <!-- Si hay m\u00E1s de 10, puedes extender o cambiar a una convenci\u00F3n basada en atributo -->\r\n }\r\n </div>\r\n </p-tabpanel>\r\n </ng-container>\r\n </p-tabpanels>\r\n</p-tabs>", 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,::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,: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 .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-regular.p-tabs .p-tablist{background:transparent}::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!important;height:52px!important;align-content:center}::ng-deep .title-tabActive.p-tabs{margin-top:32px!important}::ng-deep .title-tabActive .p-tabview-title{color:#1f2224}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2$8.Tabs, selector: "p-tabs", inputs: ["value", "scrollable", "lazy", "selectOnFocus", "showNavigators", "tabindex"], outputs: ["valueChange"] }, { kind: "component", type: i2$8.TabPanels, selector: "p-tabpanels" }, { kind: "component", type: i2$8.TabPanel, selector: "p-tabpanel", inputs: ["lazy", "value"], outputs: ["valueChange"] }, { kind: "component", type: i2$8.TabList, selector: "p-tablist" }, { kind: "component", type: i2$8.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"] }] }); }
|
|
8269
8269
|
}
|
|
8270
8270
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.2", ngImport: i0, type: WTabviewComponent, decorators: [{
|
|
8271
8271
|
type: Component,
|
|
8272
|
-
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\" [lazy]=\"lazy\">\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,::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,: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 .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-regular.p-tabs .p-tablist{background:transparent}::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!important;height:52px!important;align-content:center}::ng-deep .title-tabActive.p-tabs{margin-top:32px!important}::ng-deep .title-tabActive .p-tabview-title{color:#1f2224}\n"] }]
|
|
8272
|
+
args: [{ selector: 'w-tabview', standalone: false, template: "<!-- ToDo revisar tabs con iconos -->\r\n<!-- <p-tabs [value]=\"activeIndex\" \r\n [class]=\"type == 'regular' ? 'w-tabview-regular' : 'w-tabview-secondary'\"\r\n (valueChange)=\"activeIndexChange($event)\" \r\n [scrollable]=\"isScrollable\" \r\n [ngClass]=\"{'title-tabActive': titleTabActive}\" \r\n [scrollable]=\"true\" \r\n [lazy]=\"lazy\">\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 -->\r\n<p-tabs\r\n [value]=\"activeIndex\"\r\n [class]=\"type === 'regular' ? 'w-tabview-regular' : 'w-tabview-secondary'\"\r\n (valueChange)=\"activeIndexChange($event)\"\r\n [scrollable]=\"isScrollable\"\r\n [ngClass]=\"{'title-tabActive': titleTabActive}\"\r\n [lazy]=\"lazy\"\r\n>\r\n <p-tablist>\r\n <ng-container *ngFor=\"let header of headers; let i = index\">\r\n <p-tab\r\n [value]=\"i\"\r\n [disabled]=\"disabledTabs[i]\"\r\n [ngClass]=\"{'flex items-center !gap-2 text-inherit': (icons && icons[i])}\"\r\n >\r\n <ng-container *ngIf=\"icons && icons[i]\">\r\n <i [class]=\"'pi ' + icons[i]\"></i>\r\n </ng-container>\r\n\r\n <div>\r\n <span class=\"p-tabview-title\">{{ header }}</span>\r\n <ng-container *ngIf=\"requiredTabs[i] && !disabledTabs[i]\">\r\n <span\r\n class=\"p-tabview-asterisk\"\r\n [ngClass]=\"{'not-validated': applyValidationStyle && !validatedTabs[i]}\"\r\n >*</span\r\n >\r\n </ng-container>\r\n </div>\r\n </p-tab>\r\n </ng-container>\r\n </p-tablist>\r\n\r\n <p-tabpanels>\r\n <ng-container *ngFor=\"let _ of headers; let i = index\">\r\n <p-tabpanel [value]=\"i\">\r\n <!-- No destruir: solo ocultar -->\r\n <div [hidden]=\"!keepTabsVisible && activeIndex !== i\">\r\n <!-- Mant\u00E9n tu patr\u00F3n de proyecci\u00F3n .panel-1, .panel-2, ... -->\r\n @switch (i) {\r\n @case (0){\r\n <ng-content select=\".panel-1\"></ng-content>\r\n }\r\n @case (1){\r\n <ng-content select=\".panel-2\"></ng-content>\r\n }\r\n @case (2){\r\n <ng-content select=\".panel-3\"></ng-content>\r\n }\r\n @case (3){\r\n <ng-content select=\".panel-4\"></ng-content>\r\n }\r\n @case (4){\r\n <ng-content select=\".panel-5\"></ng-content>\r\n }\r\n @case (5){\r\n <ng-content select=\".panel-6\"></ng-content>\r\n }\r\n @case (6){\r\n <ng-content select=\".panel-7\"></ng-content>\r\n }\r\n @case (7){\r\n <ng-content select=\".panel-8\"></ng-content>\r\n }\r\n @case (8){\r\n <ng-content select=\".panel-9\"></ng-content>\r\n }\r\n @case (9){\r\n <ng-content select=\".panel-10\"></ng-content>\r\n }\r\n <!-- Si hay m\u00E1s de 10, puedes extender o cambiar a una convenci\u00F3n basada en atributo -->\r\n }\r\n </div>\r\n </p-tabpanel>\r\n </ng-container>\r\n </p-tabpanels>\r\n</p-tabs>", 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,::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,: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 .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-regular.p-tabs .p-tablist{background:transparent}::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!important;height:52px!important;align-content:center}::ng-deep .title-tabActive.p-tabs{margin-top:32px!important}::ng-deep .title-tabActive .p-tabview-title{color:#1f2224}\n"] }]
|
|
8273
8273
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { headers: [{
|
|
8274
8274
|
type: Input,
|
|
8275
8275
|
args: ['headers']
|