ngx-wapp-components 3.0.1 → 3.0.2-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.
|
@@ -2457,7 +2457,7 @@ class WEditTreeselectComponent {
|
|
|
2457
2457
|
useExisting: forwardRef(() => WEditTreeselectComponent),
|
|
2458
2458
|
multi: true
|
|
2459
2459
|
}
|
|
2460
|
-
], usesOnChanges: true, ngImport: i0, template: "@if (formControl) {\r\n <div class=\"w-edit-treeselect-field p-fluid field\">\r\n @if (showLabel) {\r\n <w-input-label [label]=\"label\" [required]=\"required\" [disabled]=\"disabled\" [size]=\"size\" [tooltip]=\"tooltip\" [tooltipPosition]=\"tooltipPosition\" [validated]=\"isRequiredValid()\"></w-input-label>\r\n }\r\n <p-treeselect class=\"w-edit-treeselect-small\"\r\n [ngClass]=\"{'ng-invalid ng-dirty': formControl.dirty && formControl.hasError('required')}\"\r\n [options]=\"options\"\r\n [selectionMode]=\"selectionMode\"\r\n [placeholder]=\"placeholder\"\r\n [showClear]=\"showClear\"\r\n [filter]=\"true\"\r\n [filterBy]=\"filterBy\"\r\n [required]=\"required\"\r\n [formControl]=\"formControl\"\r\n [appendTo]=\"appendTo\"\r\n (onNodeSelect)=\"onOptionSelectedForm($event)\">\r\n </p-treeselect>\r\n @if (formControl.dirty && formControl.hasError('required')) {\r\n <small class=\"w-error-message-container w-full w-error-message p-error block\">{{errorDescription}}</small>\r\n }\r\n </div>\r\n} @else {\r\n <div class=\"w-edit-treeselect-field p-fluid field\">\r\n @if (showLabel) {\r\n <w-input-label [required]=\"required\" [label]=\"label\" [disabled]=\"disabled\" [size]=\"size\" [tooltip]=\"tooltip\" [tooltipPosition]=\"tooltipPosition\" [validated]=\"isRequiredValidNgModel()\"></w-input-label>\r\n }\r\n <p-treeselect class=\"w-edit-treeselect-small\"\r\n [options]=\"options\"\r\n [selectionMode]=\"selectionMode\"\r\n [placeholder]=\"placeholder\"\r\n [showClear]=\"showClear\"\r\n [disabled]=\"disabled\"\r\n [filter]=\"true\"\r\n [filterBy]=\"filterBy\"\r\n [(ngModel)]=\"ngModelValue\"\r\n (ngModelChange)=\"onOptionSelected()\"\r\n [appendTo]=\"appendTo\">\r\n </p-treeselect>\r\n </div>\r\n}\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,:host ::ng-deep .w-edit-treeselect-small.p-treeselect p-overlay .p-overlay .p-overlay-content .p-treeselect-overlay .p-treeselect-tree-container p-tree.p-tree-selectable .p-tree-root .p-tree-root-children p-treenode .p-tree-node .p-tree-node-content.p-tree-node-selectable,.w-input-small-placeholder-text-typography,.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text,:host ::ng-deep .w-edit-treeselect-small.p-treeselect .p-treeselect-label-container.p-inputwrapper-filled .p-select-label,:host ::ng-deep .w-edit-treeselect-small.p-treeselect p-overlay .p-overlay .p-overlay-content .p-treeselect-overlay .p-treeselect-tree-container p-tree.p-tree-selectable .p-iconfield .p-inputtext:-ms-input-placeholder,:host ::ng-deep .w-edit-treeselect-small.p-treeselect p-overlay .p-overlay .p-overlay-content .p-treeselect-overlay .p-treeselect-tree-container p-tree.p-tree-selectable .p-iconfield .p-inputtext::placeholder,.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,:host ::ng-deep .w-edit-treeselect-small.p-treeselect p-overlay .p-overlay .p-overlay-content .p-treeselect-overlay .p-treeselect-tree-container p-tree.p-tree-selectable .p-iconfield .p-inputtext,.w-input-small-placeholder-text-only-color,:host ::ng-deep .w-edit-treeselect-small.p-treeselect .p-treeselect-label-container .p-treeselect-label.p-placeholder{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,:host ::ng-deep .w-edit-treeselect-small.p-treeselect:not(.p-disabled).p-focus{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,:host ::ng-deep .w-edit-treeselect-small.p-treeselect p-overlay .p-overlay .p-overlay-content .p-treeselect-overlay{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,:host ::ng-deep .w-edit-treeselect-small.p-treeselect.p-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,:host ::ng-deep .w-edit-treeselect-small.p-treeselect .p-treeselect-label-container.p-inputwrapper-filled .p-select-label,:host ::ng-deep .w-edit-treeselect-small.p-treeselect p-overlay .p-overlay .p-overlay-content .p-treeselect-overlay .p-treeselect-tree-container p-tree.p-tree-selectable .p-iconfield .p-inputtext:-ms-input-placeholder,:host ::ng-deep .w-edit-treeselect-small.p-treeselect p-overlay .p-overlay .p-overlay-content .p-treeselect-overlay .p-treeselect-tree-container p-tree.p-tree-selectable .p-iconfield .p-inputtext::placeholder{color:#1f2224}.w-input-small-placeholder-text-only-color,:host ::ng-deep .w-edit-treeselect-small.p-treeselect .p-treeselect-label-container .p-treeselect-label.p-placeholder{color:#9aa0a7;line-height:1.3333333333rem}.w-input-small-placeholder-text-disabled{color:#5f6468}.w-input-small-placeholder-text-disabled-only-color,:host ::ng-deep .w-edit-treeselect-small.p-treeselect.p-disabled .p-select-label.p-placeholder{color:#5f6468}.w-input-small-text-icon{color:#1f2224}.w-input-small-select-options-text,:host ::ng-deep .w-edit-treeselect-small.p-treeselect p-overlay .p-overlay .p-overlay-content .p-treeselect-overlay .p-treeselect-tree-container p-tree.p-tree-selectable .p-tree-root .p-tree-root-children p-treenode .p-tree-node .p-tree-node-content.p-tree-node-selectable{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-edit-treeselect-field{margin:0;display:flex;flex-direction:column;gap:6px!important}:host ::ng-deep .w-edit-treeselect-small.p-treeselect{border:1px solid #e8ebee;border-radius:8px;border-color:#e8ebee;height:28px;width:100%}:host ::ng-deep .w-edit-treeselect-small.p-treeselect .p-treeselect-label-container .p-treeselect-label{padding:5px 0 5px 7px;height:100%}:host ::ng-deep .w-edit-treeselect-small.p-treeselect:not(.p-disabled):hover{border:1px solid #00b3eb}:host ::ng-deep .w-edit-treeselect-small.p-treeselect.p-treeselect-open:not(.p-disabled).p-focus{border-color:#e8ebee;box-shadow:none}:host ::ng-deep .w-edit-treeselect-small.p-treeselect.p-treeselect-open:not(.p-disabled):hover{border-color:#e8ebee}:host ::ng-deep .w-edit-treeselect-small.p-treeselect p-overlay .p-overlay .p-overlay-content .p-treeselect-overlay{border-radius:8px}:host ::ng-deep .w-edit-treeselect-small.p-treeselect p-overlay .p-overlay .p-overlay-content .p-treeselect-overlay .p-treeselect-tree-container p-tree.p-tree-selectable{padding:0}:host ::ng-deep .w-edit-treeselect-small.p-treeselect p-overlay .p-overlay .p-overlay-content .p-treeselect-overlay .p-treeselect-tree-container p-tree.p-tree-selectable .p-iconfield{margin:6px}:host ::ng-deep .w-edit-treeselect-small.p-treeselect p-overlay .p-overlay .p-overlay-content .p-treeselect-overlay .p-treeselect-tree-container p-tree.p-tree-selectable .p-iconfield .p-inputtext{height:20px!important;padding:4px 24px 4px 8px!important}:host ::ng-deep .w-edit-treeselect-small.p-treeselect p-overlay .p-overlay .p-overlay-content .p-treeselect-overlay .p-treeselect-tree-container p-tree.p-tree-selectable .p-iconfield .p-inputtext:focus{border:1px solid #e8ebee;border-radius:8px;box-shadow:none}:host ::ng-deep .w-edit-treeselect-small.p-treeselect p-overlay .p-overlay .p-overlay-content .p-treeselect-overlay .p-treeselect-tree-container p-tree.p-tree-selectable .p-iconfield .p-inputicon svg{width:8px;height:8px}:host ::ng-deep .w-edit-treeselect-small.p-treeselect p-overlay .p-overlay .p-overlay-content .p-treeselect-overlay .p-treeselect-tree-container p-tree.p-tree-selectable .p-tree-empty-message{padding:0 8px 6px}:host ::ng-deep .w-edit-treeselect-small.p-treeselect p-overlay .p-overlay .p-overlay-content .p-treeselect-overlay .p-treeselect-tree-container p-tree.p-tree-selectable .p-tree-root .p-tree-root-children{padding:4px;display:grid;gap:4px}:host ::ng-deep .w-edit-treeselect-small.p-treeselect p-overlay .p-overlay .p-overlay-content .p-treeselect-overlay .p-treeselect-tree-container p-tree.p-tree-selectable .p-tree-root .p-tree-root-children p-treenode .p-tree-node .p-tree-node-content.p-tree-node-selectable:not(.p-tree-node-selected):hover{background-color:#e0f5fc;border-radius:2px}:host ::ng-deep .w-edit-treeselect-small.p-treeselect p-overlay .p-overlay .p-overlay-content .p-treeselect-overlay .p-treeselect-tree-container p-tree.p-tree-selectable .p-tree-root .p-tree-root-children p-treenode .p-tree-node .p-tree-node-content.p-tree-node-selectable.p-tree-node-selected{background-color:#e0f5fc;color:#000;font-weight:600}:host ::ng-deep .w-edit-treeselect-small.p-treeselect p-overlay .p-overlay .p-overlay-content .p-treeselect-overlay .p-treeselect-tree-container p-tree.p-tree-selectable .p-tree-root .p-tree-root-children p-treenode .p-tree-node .p-tree-node-content.p-tree-node-selectable.p-tree-node-selected .p-tree-node-icon{font-weight:600;color:#000}:host ::ng-deep .w-edit-treeselect-small.p-treeselect p-overlay .p-overlay .p-overlay-content .p-treeselect-overlay .p-treeselect-tree-container p-tree.p-tree-selectable .p-tree-root .p-tree-root-children p-treenode .p-tree-node .p-tree-node-content.p-tree-node-selectable p-checkbox{display:flex}:host ::ng-deep .w-edit-treeselect-small.p-treeselect p-overlay .p-overlay .p-overlay-content .p-treeselect-overlay .p-treeselect-tree-container p-tree.p-tree-selectable .p-tree-root .p-tree-root-children p-treenode .p-tree-node .p-tree-node-content.p-tree-node-selectable p-checkbox.p-tree-node-checkbox{width:12px;height:12px}:host ::ng-deep .w-edit-treeselect-small.p-treeselect p-overlay .p-overlay .p-overlay-content .p-treeselect-overlay .p-treeselect-tree-container p-tree.p-tree-selectable .p-tree-root .p-tree-root-children p-treenode .p-tree-node .p-tree-node-content.p-tree-node-selectable p-checkbox.p-tree-node-checkbox:not(.p-disabled):not([data-p-highlight=true]):has(.p-checkbox-input:hover) .p-checkbox-box{background-color:#e8ebee;border:1px solid #9aa0a7}:host ::ng-deep .w-edit-treeselect-small.p-treeselect p-overlay .p-overlay .p-overlay-content .p-treeselect-overlay .p-treeselect-tree-container p-tree.p-tree-selectable .p-tree-root .p-tree-root-children p-treenode .p-tree-node .p-tree-node-content.p-tree-node-selectable p-checkbox.p-tree-node-checkbox .p-checkbox-box{width:12px;height:12px;border-radius:2px;border:1px solid #9aa0a7}:host ::ng-deep .w-edit-treeselect-small.p-treeselect p-overlay .p-overlay .p-overlay-content .p-treeselect-overlay .p-treeselect-tree-container p-tree.p-tree-selectable .p-tree-root .p-tree-root-children p-treenode .p-tree-node .p-tree-node-content.p-tree-node-selectable p-checkbox.p-tree-node-checkbox.p-checkbox-checked .p-checkbox-box{border:#e0f5fc}:host ::ng-deep .w-edit-treeselect-small.p-treeselect p-overlay .p-overlay .p-overlay-content .p-treeselect-overlay .p-treeselect-tree-container p-tree.p-tree-selectable .p-tree-root .p-tree-root-children p-treenode .p-tree-node .p-tree-node-content.p-tree-node-selectable:has(.p-tree-node-checkbox.p-checkbox-checked){background-color:#e0f5fc;color:#000;font-weight:600}:host ::ng-deep .w-edit-treeselect-small.p-treeselect p-overlay .p-overlay .p-overlay-content .p-treeselect-overlay .p-treeselect-tree-container p-tree.p-tree-selectable .p-tree-root .p-tree-root-children p-treenode .p-tree-node .p-tree-node-content.p-tree-node-selectable:has(.p-tree-node-checkbox.p-checkbox-checked) .p-tree-node-icon{font-weight:600;color:#000}:host ::ng-deep .w-edit-treeselect-small.p-treeselect p-overlay .p-overlay .p-overlay-content .p-treeselect-overlay .p-treeselect-tree-container p-tree.p-tree-selectable .p-tree-root .p-tree-root-children p-treenode .p-tree-node .p-tree-node-children{display:grid!important;gap:4px;padding-block-start:4px}:host ::ng-deep .w-edit-treeselect-small.p-treeselect .p-treeselect-clear-icon{width:24px}\n"], dependencies: [{ kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i1$2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: i3$2.TreeSelect, selector: "p-treeSelect, p-treeselect, p-tree-select", inputs: ["inputId", "scrollHeight", "metaKeySelection", "display", "selectionMode", "tabindex", "ariaLabel", "ariaLabelledBy", "placeholder", "panelClass", "panelStyle", "panelStyleClass", "containerStyle", "containerStyleClass", "labelStyle", "labelStyleClass", "overlayOptions", "emptyMessage", "filter", "filterBy", "filterMode", "filterPlaceholder", "filterLocale", "filterInputAutoFocus", "propagateSelectionDown", "propagateSelectionUp", "showClear", "resetFilterOnHide", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "autofocus", "options", "loading", "size", "variant", "fluid", "appendTo"], outputs: ["onNodeExpand", "onNodeCollapse", "onShow", "onHide", "onClear", "onFilter", "onFocus", "onBlur", "onNodeUnselect", "onNodeSelect"] }, { 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"] }, { kind: "component", type: WInputLabelComponent, selector: "w-input-label", inputs: ["label", "disabled", "required", "validated", "tooltip", "tooltipPosition", "size", "labelStyleClass", "message"] }] }); }
|
|
2460
|
+
], usesOnChanges: true, ngImport: i0, template: "@if (formControl) {\r\n <div class=\"w-edit-treeselect-field p-fluid field\">\r\n @if (showLabel) {\r\n <w-input-label [label]=\"label\" [required]=\"required\" [disabled]=\"disabled\" [size]=\"size\" [tooltip]=\"tooltip\" [tooltipPosition]=\"tooltipPosition\" [validated]=\"isRequiredValid()\"></w-input-label>\r\n }\r\n <p-treeselect class=\"w-edit-treeselect-small\"\r\n [ngClass]=\"{'ng-invalid ng-dirty': formControl.dirty && formControl.hasError('required')}\"\r\n [options]=\"options\"\r\n [selectionMode]=\"selectionMode\"\r\n [placeholder]=\"placeholder\"\r\n [showClear]=\"showClear\"\r\n [filter]=\"true\"\r\n [filterBy]=\"filterBy\"\r\n [required]=\"required\"\r\n [formControl]=\"formControl\"\r\n [appendTo]=\"appendTo\"\r\n (onNodeSelect)=\"onOptionSelectedForm($event)\">\r\n </p-treeselect>\r\n @if (formControl.dirty && formControl.hasError('required')) {\r\n <small class=\"w-error-message-container w-full w-error-message p-error block\">{{errorDescription}}</small>\r\n }\r\n </div>\r\n} @else {\r\n <div class=\"w-edit-treeselect-field p-fluid field\">\r\n @if (showLabel) {\r\n <w-input-label [required]=\"required\" [label]=\"label\" [disabled]=\"disabled\" [size]=\"size\" [tooltip]=\"tooltip\" [tooltipPosition]=\"tooltipPosition\" [validated]=\"isRequiredValidNgModel()\"></w-input-label>\r\n }\r\n <p-treeselect class=\"w-edit-treeselect-small\"\r\n [options]=\"options\"\r\n [selectionMode]=\"selectionMode\"\r\n [placeholder]=\"placeholder\"\r\n [showClear]=\"showClear\"\r\n [disabled]=\"disabled\"\r\n [filter]=\"true\"\r\n [filterBy]=\"filterBy\"\r\n [(ngModel)]=\"ngModelValue\"\r\n (ngModelChange)=\"onOptionSelected()\"\r\n [appendTo]=\"appendTo\">\r\n </p-treeselect>\r\n </div>\r\n}\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,:host ::ng-deep .w-edit-treeselect-small.p-treeselect p-overlay .p-overlay .p-overlay-content .p-treeselect-overlay .p-treeselect-tree-container p-tree.p-tree-selectable .p-tree-root .p-tree-root-children p-treenode .p-tree-node .p-tree-node-content.p-tree-node-selectable,.w-input-small-placeholder-text-typography,.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text,:host ::ng-deep .w-edit-treeselect-small.p-treeselect .p-treeselect-label-container.p-inputwrapper-filled .p-select-label,:host ::ng-deep .w-edit-treeselect-small.p-treeselect p-overlay .p-overlay .p-overlay-content .p-treeselect-overlay .p-treeselect-tree-container p-tree.p-tree-selectable .p-iconfield .p-inputtext:-ms-input-placeholder,:host ::ng-deep .w-edit-treeselect-small.p-treeselect p-overlay .p-overlay .p-overlay-content .p-treeselect-overlay .p-treeselect-tree-container p-tree.p-tree-selectable .p-iconfield .p-inputtext::placeholder,.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,:host ::ng-deep .w-edit-treeselect-small.p-treeselect p-overlay .p-overlay .p-overlay-content .p-treeselect-overlay .p-treeselect-tree-container p-tree.p-tree-selectable .p-iconfield .p-inputtext,.w-input-small-placeholder-text-only-color,:host ::ng-deep .w-edit-treeselect-small.p-treeselect .p-treeselect-label-container .p-treeselect-label.p-placeholder{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,:host ::ng-deep .w-edit-treeselect-small.p-treeselect:not(.p-disabled).p-focus{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,:host ::ng-deep .w-edit-treeselect-small.p-treeselect p-overlay .p-overlay .p-overlay-content .p-treeselect-overlay{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,:host ::ng-deep .w-edit-treeselect-small.p-treeselect.p-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,:host ::ng-deep .w-edit-treeselect-small.p-treeselect .p-treeselect-label-container.p-inputwrapper-filled .p-select-label,:host ::ng-deep .w-edit-treeselect-small.p-treeselect p-overlay .p-overlay .p-overlay-content .p-treeselect-overlay .p-treeselect-tree-container p-tree.p-tree-selectable .p-iconfield .p-inputtext:-ms-input-placeholder,:host ::ng-deep .w-edit-treeselect-small.p-treeselect p-overlay .p-overlay .p-overlay-content .p-treeselect-overlay .p-treeselect-tree-container p-tree.p-tree-selectable .p-iconfield .p-inputtext::placeholder{color:#1f2224}.w-input-small-placeholder-text-only-color,:host ::ng-deep .w-edit-treeselect-small.p-treeselect .p-treeselect-label-container .p-treeselect-label.p-placeholder{color:#9aa0a7;line-height:1.3333333333rem}.w-input-small-placeholder-text-disabled{color:#5f6468}.w-input-small-placeholder-text-disabled-only-color,:host ::ng-deep .w-edit-treeselect-small.p-treeselect.p-disabled .p-select-label.p-placeholder{color:#5f6468}.w-input-small-text-icon{color:#1f2224}.w-input-small-select-options-text,:host ::ng-deep .w-edit-treeselect-small.p-treeselect p-overlay .p-overlay .p-overlay-content .p-treeselect-overlay .p-treeselect-tree-container p-tree.p-tree-selectable .p-tree-root .p-tree-root-children p-treenode .p-tree-node .p-tree-node-content.p-tree-node-selectable{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-edit-treeselect-field{margin:0;display:flex;flex-direction:column;gap:6px!important}:host ::ng-deep .w-edit-treeselect-small.p-treeselect{border:1px solid #e8ebee;border-radius:8px;border-color:#e8ebee;height:28px;width:100%}:host ::ng-deep .w-edit-treeselect-small.p-treeselect .p-treeselect-label-container .p-treeselect-label{padding:5px 0 5px 7px;height:100%}:host ::ng-deep .w-edit-treeselect-small.p-treeselect:not(.p-disabled):hover{border:1px solid #00b3eb}:host ::ng-deep .w-edit-treeselect-small.p-treeselect.p-treeselect-open:not(.p-disabled).p-focus{border-color:#e8ebee;box-shadow:none}:host ::ng-deep .w-edit-treeselect-small.p-treeselect.p-treeselect-open:not(.p-disabled):hover{border-color:#e8ebee}:host ::ng-deep .w-edit-treeselect-small.p-treeselect p-overlay .p-overlay .p-overlay-content .p-treeselect-overlay{border-radius:8px}:host ::ng-deep .w-edit-treeselect-small.p-treeselect p-overlay .p-overlay .p-overlay-content .p-treeselect-overlay .p-treeselect-tree-container p-tree.p-tree-selectable{padding:0}:host ::ng-deep .w-edit-treeselect-small.p-treeselect p-overlay .p-overlay .p-overlay-content .p-treeselect-overlay .p-treeselect-tree-container p-tree.p-tree-selectable .p-iconfield{margin:6px}:host ::ng-deep .w-edit-treeselect-small.p-treeselect p-overlay .p-overlay .p-overlay-content .p-treeselect-overlay .p-treeselect-tree-container p-tree.p-tree-selectable .p-iconfield .p-inputtext{height:20px!important;padding:4px 24px 4px 8px!important}:host ::ng-deep .w-edit-treeselect-small.p-treeselect p-overlay .p-overlay .p-overlay-content .p-treeselect-overlay .p-treeselect-tree-container p-tree.p-tree-selectable .p-iconfield .p-inputtext:focus{border:1px solid #e8ebee;border-radius:8px;box-shadow:none}:host ::ng-deep .w-edit-treeselect-small.p-treeselect p-overlay .p-overlay .p-overlay-content .p-treeselect-overlay .p-treeselect-tree-container p-tree.p-tree-selectable .p-iconfield .p-inputicon svg{width:8px;height:8px}:host ::ng-deep .w-edit-treeselect-small.p-treeselect p-overlay .p-overlay .p-overlay-content .p-treeselect-overlay .p-treeselect-tree-container p-tree.p-tree-selectable .p-tree-empty-message{padding:0 8px 6px}:host ::ng-deep .w-edit-treeselect-small.p-treeselect p-overlay .p-overlay .p-overlay-content .p-treeselect-overlay .p-treeselect-tree-container p-tree.p-tree-selectable .p-tree-root .p-tree-root-children{padding:4px;display:grid;gap:4px}:host ::ng-deep .w-edit-treeselect-small.p-treeselect p-overlay .p-overlay .p-overlay-content .p-treeselect-overlay .p-treeselect-tree-container p-tree.p-tree-selectable .p-tree-root .p-tree-root-children p-treenode .p-tree-node .p-tree-node-content.p-tree-node-selectable:not(.p-tree-node-selected):hover{background-color:#e0f5fc;border-radius:2px}:host ::ng-deep .w-edit-treeselect-small.p-treeselect p-overlay .p-overlay .p-overlay-content .p-treeselect-overlay .p-treeselect-tree-container p-tree.p-tree-selectable .p-tree-root .p-tree-root-children p-treenode .p-tree-node .p-tree-node-content.p-tree-node-selectable.p-tree-node-selected{background-color:#e0f5fc;color:#000;font-weight:600}:host ::ng-deep .w-edit-treeselect-small.p-treeselect p-overlay .p-overlay .p-overlay-content .p-treeselect-overlay .p-treeselect-tree-container p-tree.p-tree-selectable .p-tree-root .p-tree-root-children p-treenode .p-tree-node .p-tree-node-content.p-tree-node-selectable.p-tree-node-selected .p-tree-node-icon{font-weight:600;color:#000}:host ::ng-deep .w-edit-treeselect-small.p-treeselect p-overlay .p-overlay .p-overlay-content .p-treeselect-overlay .p-treeselect-tree-container p-tree.p-tree-selectable .p-tree-root .p-tree-root-children p-treenode .p-tree-node .p-tree-node-content.p-tree-node-selectable p-checkbox{display:flex}:host ::ng-deep .w-edit-treeselect-small.p-treeselect p-overlay .p-overlay .p-overlay-content .p-treeselect-overlay .p-treeselect-tree-container p-tree.p-tree-selectable .p-tree-root .p-tree-root-children p-treenode .p-tree-node .p-tree-node-content.p-tree-node-selectable p-checkbox.p-tree-node-checkbox{width:12px;height:12px}:host ::ng-deep .w-edit-treeselect-small.p-treeselect p-overlay .p-overlay .p-overlay-content .p-treeselect-overlay .p-treeselect-tree-container p-tree.p-tree-selectable .p-tree-root .p-tree-root-children p-treenode .p-tree-node .p-tree-node-content.p-tree-node-selectable p-checkbox.p-tree-node-checkbox:not(.p-disabled):not([data-p-highlight=true]):has(.p-checkbox-input:hover) .p-checkbox-box{background-color:#e8ebee;border:1px solid #9aa0a7}:host ::ng-deep .w-edit-treeselect-small.p-treeselect p-overlay .p-overlay .p-overlay-content .p-treeselect-overlay .p-treeselect-tree-container p-tree.p-tree-selectable .p-tree-root .p-tree-root-children p-treenode .p-tree-node .p-tree-node-content.p-tree-node-selectable p-checkbox.p-tree-node-checkbox .p-checkbox-box{width:12px;height:12px;border-radius:2px;border:1px solid #9aa0a7}:host ::ng-deep .w-edit-treeselect-small.p-treeselect p-overlay .p-overlay .p-overlay-content .p-treeselect-overlay .p-treeselect-tree-container p-tree.p-tree-selectable .p-tree-root .p-tree-root-children p-treenode .p-tree-node .p-tree-node-content.p-tree-node-selectable p-checkbox.p-tree-node-checkbox.p-checkbox-checked .p-checkbox-box{border:#e0f5fc}:host ::ng-deep .w-edit-treeselect-small.p-treeselect p-overlay .p-overlay .p-overlay-content .p-treeselect-overlay .p-treeselect-tree-container p-tree.p-tree-selectable .p-tree-root .p-tree-root-children p-treenode .p-tree-node .p-tree-node-content.p-tree-node-selectable:has(.p-tree-node-checkbox.p-checkbox-checked){background-color:#e0f5fc;color:#000;font-weight:600}:host ::ng-deep .w-edit-treeselect-small.p-treeselect p-overlay .p-overlay .p-overlay-content .p-treeselect-overlay .p-treeselect-tree-container p-tree.p-tree-selectable .p-tree-root .p-tree-root-children p-treenode .p-tree-node .p-tree-node-content.p-tree-node-selectable:has(.p-tree-node-checkbox.p-checkbox-checked) .p-tree-node-icon{font-weight:600;color:#000}:host ::ng-deep .w-edit-treeselect-small.p-treeselect p-overlay .p-overlay .p-overlay-content .p-treeselect-overlay .p-treeselect-tree-container p-tree.p-tree-selectable .p-tree-root .p-tree-root-children p-treenode .p-tree-node .p-tree-node-children{display:grid!important;gap:4px;padding-block-start:4px}:host ::ng-deep .w-edit-treeselect-small.p-treeselect .p-treeselect-clear-icon{width:24px}\n"], dependencies: [{ kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i1$2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: i3$2.TreeSelect, selector: "p-treeSelect, p-treeselect, p-tree-select", inputs: ["inputId", "scrollHeight", "metaKeySelection", "display", "selectionMode", "tabindex", "ariaLabel", "ariaLabelledBy", "placeholder", "panelClass", "panelStyle", "panelStyleClass", "containerStyle", "containerStyleClass", "labelStyle", "labelStyleClass", "overlayOptions", "emptyMessage", "filter", "filterBy", "filterMode", "filterPlaceholder", "filterLocale", "filterInputAutoFocus", "propagateSelectionDown", "propagateSelectionUp", "showClear", "resetFilterOnHide", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "autofocus", "options", "loading", "loadingMode", "size", "variant", "fluid", "appendTo"], outputs: ["onNodeExpand", "onNodeCollapse", "onShow", "onHide", "onClear", "onFilter", "onFocus", "onBlur", "onNodeUnselect", "onNodeSelect"] }, { 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"] }, { kind: "component", type: WInputLabelComponent, selector: "w-input-label", inputs: ["label", "disabled", "required", "validated", "tooltip", "tooltipPosition", "size", "labelStyleClass", "message"] }] }); }
|
|
2461
2461
|
}
|
|
2462
2462
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: WEditTreeselectComponent, decorators: [{
|
|
2463
2463
|
type: Component,
|
|
@@ -7106,6 +7106,9 @@ class WSidebarComponent {
|
|
|
7106
7106
|
if (this.size == 'big') {
|
|
7107
7107
|
this.styleClass = this.styleClass + " w-sidebar w-full md:w-6 lg:w-6";
|
|
7108
7108
|
}
|
|
7109
|
+
this.styleClass = this.styleClass + (this.titleTabActive ? ' hide-header' : '');
|
|
7110
|
+
console.log(this.styleClass);
|
|
7111
|
+
this.styleClass = this.styleClass + (this.activeStaticContent ? ' auto-height' : '');
|
|
7109
7112
|
}
|
|
7110
7113
|
onClose() {
|
|
7111
7114
|
this.visible = false;
|
|
@@ -7126,11 +7129,11 @@ class WSidebarComponent {
|
|
|
7126
7129
|
return patronURL.test(url);
|
|
7127
7130
|
}
|
|
7128
7131
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: WSidebarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7129
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.13", type: WSidebarComponent, isStandalone: false, selector: "w-sidebar", inputs: { headerTitle: "headerTitle", showCloseIcon: "showCloseIcon", activeGrid: "activeGrid", activeStaticContent: "activeStaticContent", closeOnOverlay: "closeOnOverlay", closeOnEscape: "closeOnEscape", styleClass: "styleClass", size: "size", icon: "icon", iconWidth: "iconWidth", iconHeight: "iconHeight", titleTabActive: "titleTabActive", visible: "visible" }, outputs: { visibleChange: "visibleChange" }, ngImport: i0, template: "<!-- <p-drawer [(visible)]=\"visible\" position=\"right\" [showCloseIcon]=\"showCloseIcon\" [modal]=\"true\" [blockScroll]=\"true\" [dismissible]=\"closeOnOverlay\" [closeOnEscape]=\"closeOnEscape\"\r\n [styleClass]=\"styleClass\" class=\"wapp-sidebar\" [ngClass]=\"{'hide-header': titleTabActive, 'auto-height': activeStaticContent}\">\r\n <ng-template pTemplate=\"header\">\r\n <div class=\"flex\">\r\n @if (icon && getIconType() == iconType.pIcon) {\r\n <span class=\"w-sidebar-icon icon-large-size textMainColor\" [ngClass]=\"icon\"></span>\r\n }\r\n @if (icon && getIconType() == iconType.wIcon) {\r\n <w-icons class=\"w-sidebar-icon\" [name]=\"icon\" color=\"var(--text-color)\" [width]=\"24\" [height]=\"24\"></w-icons>\r\n }\r\n @if (icon && getIconType() == iconType.urlIcon) {\r\n <div class=\"flex align-content-start flex-wrap\">\r\n <div class=\"flex align-items-center justify-content-center w-sidebar-img-container\">\r\n <span class=\"w-sidebar-span-img-container w-sidebar-icon flex align-items-center justify-content-center\" [ngStyle]=\"{'width.px': iconWidth, 'height.px': iconHeight}\">\r\n <img class=\"w-sidebar-img-responsive\" [src]=\"icon\">\r\n </span>\r\n </div>\r\n <div class=\"flex align-items-center justify-content-center\">\r\n <span class=\"w-sidebar-title-text m-0\">{{headerTitle}}</span>\r\n </div>\r\n </div>\r\n }\r\n @if (icon == null || getIconType() != iconType.urlIcon) {\r\n <span class=\"w-sidebar-title-text m-0\">{{headerTitle}}</span>\r\n }\r\n </div>\r\n @if (activeStaticContent) {\r\n <div class=\"w-sidebar-static-content\">\r\n <ng-content select=\".static-content\"></ng-content>\r\n </div>\r\n }\r\n </ng-template>\r\n\r\n <ng-template pTemplate=\"content\">\r\n <div [ngClass]=\"{'w-sidebar-content grid' : activeGrid}\">\r\n <ng-content></ng-content>\r\n </div>\r\n </ng-template>\r\n\r\n <ng-template pTemplate=\"footer\"></ng-template>\r\n</p-drawer>\r\n -->\r\n\r\n<p-drawer [(visible)]=\"visible\" position=\"right\" [showCloseIcon]=\"showCloseIcon\" [modal]=\"true\" [blockScroll]=\"true\" [dismissible]=\"closeOnOverlay\" [closeOnEscape]=\"closeOnEscape\"\r\n [styleClass]=\"styleClass\" [ngClass]=\"{'hide-header': titleTabActive, 'auto-height': activeStaticContent}\">\r\n <ng-template #header>\r\n <div class=\"flex\">\r\n @if (icon && getIconType() == iconType.pIcon) {\r\n <span class=\"w-sidebar-icon icon-large-size textMainColor\" [ngClass]=\"icon\"></span>\r\n }\r\n @if (icon && getIconType() == iconType.wIcon) {\r\n <w-icons class=\"w-sidebar-icon\" [name]=\"icon\" color=\"var(--text-color)\" [width]=\"24\" [height]=\"24\"></w-icons>\r\n }\r\n @if (icon && getIconType() == iconType.urlIcon) {\r\n <div class=\"flex align-content-start flex-wrap\">\r\n <div class=\"flex align-items-center justify-content-center w-sidebar-img-container\">\r\n <span class=\"w-sidebar-span-img-container w-sidebar-icon flex align-items-center justify-content-center\" [ngStyle]=\"{'width.px': iconWidth, 'height.px': iconHeight}\">\r\n <img class=\"w-sidebar-img-responsive\" [src]=\"icon\">\r\n </span>\r\n </div>\r\n <div class=\"flex align-items-center justify-content-center\">\r\n <span class=\"w-sidebar-title-text m-0\">{{headerTitle}}</span>\r\n </div>\r\n </div>\r\n }\r\n @if (icon == null || getIconType() != iconType.urlIcon) {\r\n <span class=\"w-sidebar-title-text m-0\">{{headerTitle}}</span>\r\n }\r\n </div>\r\n @if (activeStaticContent) {\r\n <div class=\"w-sidebar-static-content\">\r\n <ng-content select=\".static-content\"></ng-content>\r\n </div>\r\n }\r\n </ng-template>\r\n <ng-template #content>\r\n <div [ngClass]=\"{'w-sidebar-content grid' : activeGrid}\">\r\n <ng-content></ng-content>\r\n </div>\r\n </ng-template>\r\n <ng-template pTemplate=\"footer\"></ng-template>\r\n</p-drawer>\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-sidebar.p-drawer{background-color:#fff}::ng-deep .w-sidebar.p-drawer .p-drawer-header{padding:32px 44px 20px}::ng-deep .w-sidebar.p-drawer .p-drawer-header .p-drawer-close-button .p-button-icon-only svg{height:24px}::ng-deep .w-sidebar.p-drawer .p-drawer-header.auto-height{height:auto;display:flex;flex-direction:column;align-items:normal}::ng-deep .w-sidebar.p-drawer.hide-header .p-drawer-header{display:none!important}::ng-deep .w-sidebar.p-drawer .p-drawer-content{padding:0 44px;height:100%}::ng-deep .w-sidebar.p-drawer .p-drawer-footer{padding:40px}::ng-deep .w-sidebar-static-content{display:flex;margin-top:20px;margin-bottom:0}::ng-deep .w-sidebar-static-content .static-content{width:100%}:host ::ng-deep .w-sidebar-content .col-1{padding:10px 12px}:host ::ng-deep .w-sidebar-content .col-2{padding:10px 12px}:host ::ng-deep .w-sidebar-content .col-3{padding:10px 12px}:host ::ng-deep .w-sidebar-content .col-4{padding:10px 12px}:host ::ng-deep .w-sidebar-content .col-5{padding:10px 12px}:host ::ng-deep .w-sidebar-content .col-6{padding:10px 12px}:host ::ng-deep .w-sidebar-content .col-7{padding:10px 12px}:host ::ng-deep .w-sidebar-content .col-8{padding:10px 12px}:host ::ng-deep .w-sidebar-content .col-9{padding:10px 12px}:host ::ng-deep .w-sidebar-content .col-10{padding:10px 12px}:host ::ng-deep .w-sidebar-content .col-11{padding:10px 12px}:host ::ng-deep .w-sidebar-content .col-12{padding:10px 12px}:host ::ng-deep .w-sidebar-content.grid{display:flex;flex-wrap:wrap;margin-right:-12px!important;margin-left:-12px!important;margin-top:-8px!important}.w-sidebar-icon{margin-right:12px}.w-sidebar-img-container{height:24px}.w-sidebar-span-img-container{position:relative}.w-sidebar-img-responsive{max-width:100%}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i1$4.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i3$7.Drawer, selector: "p-drawer", inputs: ["appendTo", "blockScroll", "style", "styleClass", "ariaCloseLabel", "autoZIndex", "baseZIndex", "modal", "closeButtonProps", "dismissible", "showCloseIcon", "closeOnEscape", "transitionOptions", "visible", "position", "fullScreen", "header", "maskStyle", "closable"], outputs: ["onShow", "onHide", "visibleChange"] }, { 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"] }, { kind: "directive", type: i4.DefaultStyleDirective, selector: " [ngStyle], [ngStyle.xs], [ngStyle.sm], [ngStyle.md], [ngStyle.lg], [ngStyle.xl], [ngStyle.lt-sm], [ngStyle.lt-md], [ngStyle.lt-lg], [ngStyle.lt-xl], [ngStyle.gt-xs], [ngStyle.gt-sm], [ngStyle.gt-md], [ngStyle.gt-lg]", inputs: ["ngStyle", "ngStyle.xs", "ngStyle.sm", "ngStyle.md", "ngStyle.lg", "ngStyle.xl", "ngStyle.lt-sm", "ngStyle.lt-md", "ngStyle.lt-lg", "ngStyle.lt-xl", "ngStyle.gt-xs", "ngStyle.gt-sm", "ngStyle.gt-md", "ngStyle.gt-lg"] }, { kind: "component", type: WIconsComponent, selector: "w-icons", inputs: ["name", "width", "height", "color"] }] }); }
|
|
7132
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.13", type: WSidebarComponent, isStandalone: false, selector: "w-sidebar", inputs: { headerTitle: "headerTitle", showCloseIcon: "showCloseIcon", activeGrid: "activeGrid", activeStaticContent: "activeStaticContent", closeOnOverlay: "closeOnOverlay", closeOnEscape: "closeOnEscape", styleClass: "styleClass", size: "size", icon: "icon", iconWidth: "iconWidth", iconHeight: "iconHeight", titleTabActive: "titleTabActive", visible: "visible" }, outputs: { visibleChange: "visibleChange" }, ngImport: i0, template: "<!-- <p-drawer [(visible)]=\"visible\" position=\"right\" [showCloseIcon]=\"showCloseIcon\" [modal]=\"true\" [blockScroll]=\"true\" [dismissible]=\"closeOnOverlay\" [closeOnEscape]=\"closeOnEscape\"\r\n [styleClass]=\"styleClass\" class=\"wapp-sidebar\" [ngClass]=\"{'hide-header': titleTabActive, 'auto-height': activeStaticContent}\">\r\n <ng-template pTemplate=\"header\">\r\n <div class=\"flex\">\r\n @if (icon && getIconType() == iconType.pIcon) {\r\n <span class=\"w-sidebar-icon icon-large-size textMainColor\" [ngClass]=\"icon\"></span>\r\n }\r\n @if (icon && getIconType() == iconType.wIcon) {\r\n <w-icons class=\"w-sidebar-icon\" [name]=\"icon\" color=\"var(--text-color)\" [width]=\"24\" [height]=\"24\"></w-icons>\r\n }\r\n @if (icon && getIconType() == iconType.urlIcon) {\r\n <div class=\"flex align-content-start flex-wrap\">\r\n <div class=\"flex align-items-center justify-content-center w-sidebar-img-container\">\r\n <span class=\"w-sidebar-span-img-container w-sidebar-icon flex align-items-center justify-content-center\" [ngStyle]=\"{'width.px': iconWidth, 'height.px': iconHeight}\">\r\n <img class=\"w-sidebar-img-responsive\" [src]=\"icon\">\r\n </span>\r\n </div>\r\n <div class=\"flex align-items-center justify-content-center\">\r\n <span class=\"w-sidebar-title-text m-0\">{{headerTitle}}</span>\r\n </div>\r\n </div>\r\n }\r\n @if (icon == null || getIconType() != iconType.urlIcon) {\r\n <span class=\"w-sidebar-title-text m-0\">{{headerTitle}}</span>\r\n }\r\n </div>\r\n @if (activeStaticContent) {\r\n <div class=\"w-sidebar-static-content\">\r\n <ng-content select=\".static-content\"></ng-content>\r\n </div>\r\n }\r\n </ng-template>\r\n\r\n <ng-template pTemplate=\"content\">\r\n <div [ngClass]=\"{'w-sidebar-content grid' : activeGrid}\">\r\n <ng-content></ng-content>\r\n </div>\r\n </ng-template>\r\n\r\n <ng-template pTemplate=\"footer\"></ng-template>\r\n</p-drawer>\r\n -->\r\n\r\n<p-drawer [(visible)]=\"visible\" position=\"right\" [showCloseIcon]=\"showCloseIcon\" [modal]=\"true\" [blockScroll]=\"true\" [dismissible]=\"closeOnOverlay\" [closeOnEscape]=\"closeOnEscape\"\r\n [styleClass]=\"styleClass\" [ngClass]=\"{'hide-header': titleTabActive, 'auto-height': activeStaticContent}\">\r\n <ng-template #header>\r\n <div class=\"flex\">\r\n @if (icon && getIconType() == iconType.pIcon) {\r\n <span class=\"w-sidebar-icon icon-large-size textMainColor\" [ngClass]=\"icon\"></span>\r\n }\r\n @if (icon && getIconType() == iconType.wIcon) {\r\n <w-icons class=\"w-sidebar-icon\" [name]=\"icon\" color=\"var(--text-color)\" [width]=\"24\" [height]=\"24\"></w-icons>\r\n }\r\n @if (icon && getIconType() == iconType.urlIcon) {\r\n <div class=\"flex align-content-start flex-wrap\">\r\n <div class=\"flex align-items-center justify-content-center w-sidebar-img-container\">\r\n <span class=\"w-sidebar-span-img-container w-sidebar-icon flex align-items-center justify-content-center\" [ngStyle]=\"{'width.px': iconWidth, 'height.px': iconHeight}\">\r\n <img class=\"w-sidebar-img-responsive\" [src]=\"icon\">\r\n </span>\r\n </div>\r\n <div class=\"flex align-items-center justify-content-center\">\r\n <span class=\"w-sidebar-title-text m-0\">{{headerTitle}}</span>\r\n </div>\r\n </div>\r\n }\r\n @if (icon == null || getIconType() != iconType.urlIcon) {\r\n <span class=\"w-sidebar-title-text m-0\">{{headerTitle}}</span>\r\n }\r\n </div>\r\n @if (activeStaticContent) {\r\n <div class=\"w-sidebar-static-content\">\r\n <ng-content select=\".static-content\"></ng-content>\r\n </div>\r\n }\r\n </ng-template>\r\n <ng-template #content>\r\n <div [ngClass]=\"{'w-sidebar-content grid' : activeGrid}\">\r\n <ng-content></ng-content>\r\n </div>\r\n </ng-template>\r\n <ng-template pTemplate=\"footer\"></ng-template>\r\n</p-drawer>\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-sidebar.p-drawer{background-color:#fff}::ng-deep .w-sidebar.p-drawer .p-drawer-header{padding:32px 44px 20px}::ng-deep .w-sidebar.p-drawer .p-drawer-header .p-drawer-close-button .p-button-icon-only svg{height:24px}::ng-deep .w-sidebar.p-drawer .p-drawer-header.auto-height{height:auto;display:flex;flex-direction:column;align-items:normal}::ng-deep .w-sidebar.p-drawer.hide-header .p-drawer-header{display:none!important}::ng-deep .w-sidebar.p-drawer .p-drawer-content{padding:0 44px;height:100%}::ng-deep .w-sidebar.p-drawer .p-drawer-footer{padding:40px}:host ::ng-deep .w-sidebar.hide-header .p-drawer .p-drawer-header{display:none!important}::ng-deep .w-sidebar-static-content{display:flex;margin-top:20px;margin-bottom:0}::ng-deep .w-sidebar-static-content .static-content{width:100%}:host ::ng-deep .w-sidebar-content .col-1{padding:10px 12px}:host ::ng-deep .w-sidebar-content .col-2{padding:10px 12px}:host ::ng-deep .w-sidebar-content .col-3{padding:10px 12px}:host ::ng-deep .w-sidebar-content .col-4{padding:10px 12px}:host ::ng-deep .w-sidebar-content .col-5{padding:10px 12px}:host ::ng-deep .w-sidebar-content .col-6{padding:10px 12px}:host ::ng-deep .w-sidebar-content .col-7{padding:10px 12px}:host ::ng-deep .w-sidebar-content .col-8{padding:10px 12px}:host ::ng-deep .w-sidebar-content .col-9{padding:10px 12px}:host ::ng-deep .w-sidebar-content .col-10{padding:10px 12px}:host ::ng-deep .w-sidebar-content .col-11{padding:10px 12px}:host ::ng-deep .w-sidebar-content .col-12{padding:10px 12px}:host ::ng-deep .w-sidebar-content.grid{display:flex;flex-wrap:wrap;margin-right:-12px!important;margin-left:-12px!important;margin-top:-8px!important}.w-sidebar-icon{margin-right:12px}.w-sidebar-img-container{height:24px}.w-sidebar-span-img-container{position:relative}.w-sidebar-img-responsive{max-width:100%}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i1$4.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i3$7.Drawer, selector: "p-drawer", inputs: ["appendTo", "blockScroll", "style", "styleClass", "ariaCloseLabel", "autoZIndex", "baseZIndex", "modal", "closeButtonProps", "dismissible", "showCloseIcon", "closeOnEscape", "transitionOptions", "visible", "position", "fullScreen", "header", "maskStyle", "closable"], outputs: ["onShow", "onHide", "visibleChange"] }, { 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"] }, { kind: "directive", type: i4.DefaultStyleDirective, selector: " [ngStyle], [ngStyle.xs], [ngStyle.sm], [ngStyle.md], [ngStyle.lg], [ngStyle.xl], [ngStyle.lt-sm], [ngStyle.lt-md], [ngStyle.lt-lg], [ngStyle.lt-xl], [ngStyle.gt-xs], [ngStyle.gt-sm], [ngStyle.gt-md], [ngStyle.gt-lg]", inputs: ["ngStyle", "ngStyle.xs", "ngStyle.sm", "ngStyle.md", "ngStyle.lg", "ngStyle.xl", "ngStyle.lt-sm", "ngStyle.lt-md", "ngStyle.lt-lg", "ngStyle.lt-xl", "ngStyle.gt-xs", "ngStyle.gt-sm", "ngStyle.gt-md", "ngStyle.gt-lg"] }, { kind: "component", type: WIconsComponent, selector: "w-icons", inputs: ["name", "width", "height", "color"] }] }); }
|
|
7130
7133
|
}
|
|
7131
7134
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: WSidebarComponent, decorators: [{
|
|
7132
7135
|
type: Component,
|
|
7133
|
-
args: [{ selector: 'w-sidebar', standalone: false, template: "<!-- <p-drawer [(visible)]=\"visible\" position=\"right\" [showCloseIcon]=\"showCloseIcon\" [modal]=\"true\" [blockScroll]=\"true\" [dismissible]=\"closeOnOverlay\" [closeOnEscape]=\"closeOnEscape\"\r\n [styleClass]=\"styleClass\" class=\"wapp-sidebar\" [ngClass]=\"{'hide-header': titleTabActive, 'auto-height': activeStaticContent}\">\r\n <ng-template pTemplate=\"header\">\r\n <div class=\"flex\">\r\n @if (icon && getIconType() == iconType.pIcon) {\r\n <span class=\"w-sidebar-icon icon-large-size textMainColor\" [ngClass]=\"icon\"></span>\r\n }\r\n @if (icon && getIconType() == iconType.wIcon) {\r\n <w-icons class=\"w-sidebar-icon\" [name]=\"icon\" color=\"var(--text-color)\" [width]=\"24\" [height]=\"24\"></w-icons>\r\n }\r\n @if (icon && getIconType() == iconType.urlIcon) {\r\n <div class=\"flex align-content-start flex-wrap\">\r\n <div class=\"flex align-items-center justify-content-center w-sidebar-img-container\">\r\n <span class=\"w-sidebar-span-img-container w-sidebar-icon flex align-items-center justify-content-center\" [ngStyle]=\"{'width.px': iconWidth, 'height.px': iconHeight}\">\r\n <img class=\"w-sidebar-img-responsive\" [src]=\"icon\">\r\n </span>\r\n </div>\r\n <div class=\"flex align-items-center justify-content-center\">\r\n <span class=\"w-sidebar-title-text m-0\">{{headerTitle}}</span>\r\n </div>\r\n </div>\r\n }\r\n @if (icon == null || getIconType() != iconType.urlIcon) {\r\n <span class=\"w-sidebar-title-text m-0\">{{headerTitle}}</span>\r\n }\r\n </div>\r\n @if (activeStaticContent) {\r\n <div class=\"w-sidebar-static-content\">\r\n <ng-content select=\".static-content\"></ng-content>\r\n </div>\r\n }\r\n </ng-template>\r\n\r\n <ng-template pTemplate=\"content\">\r\n <div [ngClass]=\"{'w-sidebar-content grid' : activeGrid}\">\r\n <ng-content></ng-content>\r\n </div>\r\n </ng-template>\r\n\r\n <ng-template pTemplate=\"footer\"></ng-template>\r\n</p-drawer>\r\n -->\r\n\r\n<p-drawer [(visible)]=\"visible\" position=\"right\" [showCloseIcon]=\"showCloseIcon\" [modal]=\"true\" [blockScroll]=\"true\" [dismissible]=\"closeOnOverlay\" [closeOnEscape]=\"closeOnEscape\"\r\n [styleClass]=\"styleClass\" [ngClass]=\"{'hide-header': titleTabActive, 'auto-height': activeStaticContent}\">\r\n <ng-template #header>\r\n <div class=\"flex\">\r\n @if (icon && getIconType() == iconType.pIcon) {\r\n <span class=\"w-sidebar-icon icon-large-size textMainColor\" [ngClass]=\"icon\"></span>\r\n }\r\n @if (icon && getIconType() == iconType.wIcon) {\r\n <w-icons class=\"w-sidebar-icon\" [name]=\"icon\" color=\"var(--text-color)\" [width]=\"24\" [height]=\"24\"></w-icons>\r\n }\r\n @if (icon && getIconType() == iconType.urlIcon) {\r\n <div class=\"flex align-content-start flex-wrap\">\r\n <div class=\"flex align-items-center justify-content-center w-sidebar-img-container\">\r\n <span class=\"w-sidebar-span-img-container w-sidebar-icon flex align-items-center justify-content-center\" [ngStyle]=\"{'width.px': iconWidth, 'height.px': iconHeight}\">\r\n <img class=\"w-sidebar-img-responsive\" [src]=\"icon\">\r\n </span>\r\n </div>\r\n <div class=\"flex align-items-center justify-content-center\">\r\n <span class=\"w-sidebar-title-text m-0\">{{headerTitle}}</span>\r\n </div>\r\n </div>\r\n }\r\n @if (icon == null || getIconType() != iconType.urlIcon) {\r\n <span class=\"w-sidebar-title-text m-0\">{{headerTitle}}</span>\r\n }\r\n </div>\r\n @if (activeStaticContent) {\r\n <div class=\"w-sidebar-static-content\">\r\n <ng-content select=\".static-content\"></ng-content>\r\n </div>\r\n }\r\n </ng-template>\r\n <ng-template #content>\r\n <div [ngClass]=\"{'w-sidebar-content grid' : activeGrid}\">\r\n <ng-content></ng-content>\r\n </div>\r\n </ng-template>\r\n <ng-template pTemplate=\"footer\"></ng-template>\r\n</p-drawer>\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-sidebar.p-drawer{background-color:#fff}::ng-deep .w-sidebar.p-drawer .p-drawer-header{padding:32px 44px 20px}::ng-deep .w-sidebar.p-drawer .p-drawer-header .p-drawer-close-button .p-button-icon-only svg{height:24px}::ng-deep .w-sidebar.p-drawer .p-drawer-header.auto-height{height:auto;display:flex;flex-direction:column;align-items:normal}::ng-deep .w-sidebar.p-drawer.hide-header .p-drawer-header{display:none!important}::ng-deep .w-sidebar.p-drawer .p-drawer-content{padding:0 44px;height:100%}::ng-deep .w-sidebar.p-drawer .p-drawer-footer{padding:40px}::ng-deep .w-sidebar-static-content{display:flex;margin-top:20px;margin-bottom:0}::ng-deep .w-sidebar-static-content .static-content{width:100%}:host ::ng-deep .w-sidebar-content .col-1{padding:10px 12px}:host ::ng-deep .w-sidebar-content .col-2{padding:10px 12px}:host ::ng-deep .w-sidebar-content .col-3{padding:10px 12px}:host ::ng-deep .w-sidebar-content .col-4{padding:10px 12px}:host ::ng-deep .w-sidebar-content .col-5{padding:10px 12px}:host ::ng-deep .w-sidebar-content .col-6{padding:10px 12px}:host ::ng-deep .w-sidebar-content .col-7{padding:10px 12px}:host ::ng-deep .w-sidebar-content .col-8{padding:10px 12px}:host ::ng-deep .w-sidebar-content .col-9{padding:10px 12px}:host ::ng-deep .w-sidebar-content .col-10{padding:10px 12px}:host ::ng-deep .w-sidebar-content .col-11{padding:10px 12px}:host ::ng-deep .w-sidebar-content .col-12{padding:10px 12px}:host ::ng-deep .w-sidebar-content.grid{display:flex;flex-wrap:wrap;margin-right:-12px!important;margin-left:-12px!important;margin-top:-8px!important}.w-sidebar-icon{margin-right:12px}.w-sidebar-img-container{height:24px}.w-sidebar-span-img-container{position:relative}.w-sidebar-img-responsive{max-width:100%}\n"] }]
|
|
7136
|
+
args: [{ selector: 'w-sidebar', standalone: false, template: "<!-- <p-drawer [(visible)]=\"visible\" position=\"right\" [showCloseIcon]=\"showCloseIcon\" [modal]=\"true\" [blockScroll]=\"true\" [dismissible]=\"closeOnOverlay\" [closeOnEscape]=\"closeOnEscape\"\r\n [styleClass]=\"styleClass\" class=\"wapp-sidebar\" [ngClass]=\"{'hide-header': titleTabActive, 'auto-height': activeStaticContent}\">\r\n <ng-template pTemplate=\"header\">\r\n <div class=\"flex\">\r\n @if (icon && getIconType() == iconType.pIcon) {\r\n <span class=\"w-sidebar-icon icon-large-size textMainColor\" [ngClass]=\"icon\"></span>\r\n }\r\n @if (icon && getIconType() == iconType.wIcon) {\r\n <w-icons class=\"w-sidebar-icon\" [name]=\"icon\" color=\"var(--text-color)\" [width]=\"24\" [height]=\"24\"></w-icons>\r\n }\r\n @if (icon && getIconType() == iconType.urlIcon) {\r\n <div class=\"flex align-content-start flex-wrap\">\r\n <div class=\"flex align-items-center justify-content-center w-sidebar-img-container\">\r\n <span class=\"w-sidebar-span-img-container w-sidebar-icon flex align-items-center justify-content-center\" [ngStyle]=\"{'width.px': iconWidth, 'height.px': iconHeight}\">\r\n <img class=\"w-sidebar-img-responsive\" [src]=\"icon\">\r\n </span>\r\n </div>\r\n <div class=\"flex align-items-center justify-content-center\">\r\n <span class=\"w-sidebar-title-text m-0\">{{headerTitle}}</span>\r\n </div>\r\n </div>\r\n }\r\n @if (icon == null || getIconType() != iconType.urlIcon) {\r\n <span class=\"w-sidebar-title-text m-0\">{{headerTitle}}</span>\r\n }\r\n </div>\r\n @if (activeStaticContent) {\r\n <div class=\"w-sidebar-static-content\">\r\n <ng-content select=\".static-content\"></ng-content>\r\n </div>\r\n }\r\n </ng-template>\r\n\r\n <ng-template pTemplate=\"content\">\r\n <div [ngClass]=\"{'w-sidebar-content grid' : activeGrid}\">\r\n <ng-content></ng-content>\r\n </div>\r\n </ng-template>\r\n\r\n <ng-template pTemplate=\"footer\"></ng-template>\r\n</p-drawer>\r\n -->\r\n\r\n<p-drawer [(visible)]=\"visible\" position=\"right\" [showCloseIcon]=\"showCloseIcon\" [modal]=\"true\" [blockScroll]=\"true\" [dismissible]=\"closeOnOverlay\" [closeOnEscape]=\"closeOnEscape\"\r\n [styleClass]=\"styleClass\" [ngClass]=\"{'hide-header': titleTabActive, 'auto-height': activeStaticContent}\">\r\n <ng-template #header>\r\n <div class=\"flex\">\r\n @if (icon && getIconType() == iconType.pIcon) {\r\n <span class=\"w-sidebar-icon icon-large-size textMainColor\" [ngClass]=\"icon\"></span>\r\n }\r\n @if (icon && getIconType() == iconType.wIcon) {\r\n <w-icons class=\"w-sidebar-icon\" [name]=\"icon\" color=\"var(--text-color)\" [width]=\"24\" [height]=\"24\"></w-icons>\r\n }\r\n @if (icon && getIconType() == iconType.urlIcon) {\r\n <div class=\"flex align-content-start flex-wrap\">\r\n <div class=\"flex align-items-center justify-content-center w-sidebar-img-container\">\r\n <span class=\"w-sidebar-span-img-container w-sidebar-icon flex align-items-center justify-content-center\" [ngStyle]=\"{'width.px': iconWidth, 'height.px': iconHeight}\">\r\n <img class=\"w-sidebar-img-responsive\" [src]=\"icon\">\r\n </span>\r\n </div>\r\n <div class=\"flex align-items-center justify-content-center\">\r\n <span class=\"w-sidebar-title-text m-0\">{{headerTitle}}</span>\r\n </div>\r\n </div>\r\n }\r\n @if (icon == null || getIconType() != iconType.urlIcon) {\r\n <span class=\"w-sidebar-title-text m-0\">{{headerTitle}}</span>\r\n }\r\n </div>\r\n @if (activeStaticContent) {\r\n <div class=\"w-sidebar-static-content\">\r\n <ng-content select=\".static-content\"></ng-content>\r\n </div>\r\n }\r\n </ng-template>\r\n <ng-template #content>\r\n <div [ngClass]=\"{'w-sidebar-content grid' : activeGrid}\">\r\n <ng-content></ng-content>\r\n </div>\r\n </ng-template>\r\n <ng-template pTemplate=\"footer\"></ng-template>\r\n</p-drawer>\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-sidebar.p-drawer{background-color:#fff}::ng-deep .w-sidebar.p-drawer .p-drawer-header{padding:32px 44px 20px}::ng-deep .w-sidebar.p-drawer .p-drawer-header .p-drawer-close-button .p-button-icon-only svg{height:24px}::ng-deep .w-sidebar.p-drawer .p-drawer-header.auto-height{height:auto;display:flex;flex-direction:column;align-items:normal}::ng-deep .w-sidebar.p-drawer.hide-header .p-drawer-header{display:none!important}::ng-deep .w-sidebar.p-drawer .p-drawer-content{padding:0 44px;height:100%}::ng-deep .w-sidebar.p-drawer .p-drawer-footer{padding:40px}:host ::ng-deep .w-sidebar.hide-header .p-drawer .p-drawer-header{display:none!important}::ng-deep .w-sidebar-static-content{display:flex;margin-top:20px;margin-bottom:0}::ng-deep .w-sidebar-static-content .static-content{width:100%}:host ::ng-deep .w-sidebar-content .col-1{padding:10px 12px}:host ::ng-deep .w-sidebar-content .col-2{padding:10px 12px}:host ::ng-deep .w-sidebar-content .col-3{padding:10px 12px}:host ::ng-deep .w-sidebar-content .col-4{padding:10px 12px}:host ::ng-deep .w-sidebar-content .col-5{padding:10px 12px}:host ::ng-deep .w-sidebar-content .col-6{padding:10px 12px}:host ::ng-deep .w-sidebar-content .col-7{padding:10px 12px}:host ::ng-deep .w-sidebar-content .col-8{padding:10px 12px}:host ::ng-deep .w-sidebar-content .col-9{padding:10px 12px}:host ::ng-deep .w-sidebar-content .col-10{padding:10px 12px}:host ::ng-deep .w-sidebar-content .col-11{padding:10px 12px}:host ::ng-deep .w-sidebar-content .col-12{padding:10px 12px}:host ::ng-deep .w-sidebar-content.grid{display:flex;flex-wrap:wrap;margin-right:-12px!important;margin-left:-12px!important;margin-top:-8px!important}.w-sidebar-icon{margin-right:12px}.w-sidebar-img-container{height:24px}.w-sidebar-span-img-container{position:relative}.w-sidebar-img-responsive{max-width:100%}\n"] }]
|
|
7134
7137
|
}], ctorParameters: () => [], propDecorators: { headerTitle: [{
|
|
7135
7138
|
type: Input,
|
|
7136
7139
|
args: ['headerTitle']
|
|
@@ -8115,11 +8118,11 @@ class WTabviewComponent {
|
|
|
8115
8118
|
}
|
|
8116
8119
|
}
|
|
8117
8120
|
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}\" [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 .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}\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"] }] }); }
|
|
8121
|
+
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,::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$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
8122
|
}
|
|
8120
8123
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: WTabviewComponent, decorators: [{
|
|
8121
8124
|
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}\" [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 .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}\n"] }]
|
|
8125
|
+
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,::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"] }]
|
|
8123
8126
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }], propDecorators: { headers: [{
|
|
8124
8127
|
type: Input,
|
|
8125
8128
|
args: ['headers']
|
|
@@ -8256,7 +8259,7 @@ class WTreeComponent {
|
|
|
8256
8259
|
return 'pi pi-fw ' + icon;
|
|
8257
8260
|
}
|
|
8258
8261
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: WTreeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8259
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.13", type: WTreeComponent, isStandalone: false, selector: "w-tree", inputs: { nodes: "nodes", selection: "selection", selectionMode: "selectionMode", activeToggleButton: "activeToggleButton", collapsedNodes: "collapsedNodes", collapseButtonLabel: "collapseButtonLabel", expandButtonLabel: "expandButtonLabel", propagateSelectionDown: "propagateSelectionDown", propagateSelectionUp: "propagateSelectionUp", activeFilter: "activeFilter", filterPlaceholder: "filterPlaceholder", filterBy: "filterBy", emptyMessage: "emptyMessage", loading: "loading", draggableNodes: "draggableNodes", draggableScope: "draggableScope", droppableNodes: "droppableNodes", droppableScope: "droppableScope", scrollHeight: "scrollHeight", activeVirtualScroll: "activeVirtualScroll", virtualScrollItemSize: "virtualScrollItemSize", nodeItemTemplateName: "nodeItemTemplateName" }, outputs: { selectionChange: "selectionChange", onFilterEmit: "onFilter", onNodeDropeEmit: "onNodeDrope" }, providers: [TreeDragDropService], ngImport: i0, template: "@if (activeToggleButton) {\r\n <div class=\"w-tree-buttontoggle flex justify-content-end flex-wrap card-container green-container\">\r\n @if (collapsedNodes) {\r\n <div>\r\n <w-button\r\n size=\"small\"\r\n type=\"secondary\"\r\n icon=\"pi pi-plus\"\r\n [label]=\"expandButtonLabel\"\r\n (onClick)=\"expandAll()\">\r\n </w-button>\r\n </div>\r\n } @else {\r\n <w-button\r\n size=\"small\"\r\n type=\"secondary\"\r\n icon=\"pi pi-minus\"\r\n [label]=\"collapseButtonLabel\"\r\n (onClick)=\"collapseAll()\">\r\n </w-button>\r\n }\r\n </div>\r\n}\r\n\r\n<p-tree class=\"w-full w-tree\" #wTree\r\n [value]=\"nodes\"\r\n [(selection)]=\"selection\"\r\n (selectionChange)=\"onSelectionChange($event)\"\r\n [selectionMode]=\"selectionMode\"\r\n [loading]=\"loading\"\r\n [filter]=\"activeFilter\"\r\n [filterPlaceholder]=\"filterPlaceholder\"\r\n [propagateSelectionDown]=\"propagateSelectionDown\"\r\n [propagateSelectionUp]=\"propagateSelectionUp\"\r\n [emptyMessage]=\"emptyMessage\"\r\n [draggableNodes]=\"draggableNodes\"\r\n [draggableScope]=\"draggableScope\"\r\n [droppableNodes]=\"droppableNodes\"\r\n [droppableScope]=\"droppableScope\"\r\n (onNodeDrop)=\"onNodeDrope($event)\"\r\n [virtualScroll]=\"activeVirtualScroll\"\r\n [virtualScrollItemSize]=\"virtualScrollItemSize\"\r\n [scrollHeight]=\"scrollHeight\"\r\n (onFilter)=\"onFilter($event)\"\r\n styleClass=\"w-tree\">\r\n <ng-template let-node [pTemplate]=\"nodeItemTemplateName\">\r\n <div class=\"flex p-elemnt\">\r\n @if (node.icon && isPrimeIcon(node.icon)) {\r\n <span class=\"w-tree-icon flex align-items-center justify-content-center\" [class]=\"getIcon(node.icon)\"></span>\r\n }\r\n @if (node.icon && isPrimeIcon(node.icon) == false) {\r\n <w-icons class=\"w-tree-icon flex align-items-center\" [name]=\"node.icon\" [height]=\"16\" [width]=\"18\" [color]=\"'#2e3134'\"></w-icons>\r\n }\r\n <div class=\"flex align-items-center\">{{node.label}}</div>\r\n </div>\r\n </ng-template>\r\n</p-tree>", styles: [".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,::ng-deep .w-tree .p-inputtext:enabled,::ng-deep .w-input-search .input.p-inputtext,.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}.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}.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}.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-panel-title-text,.w-tab-text{font-size:1.1666666667rem;line-height:1.3333333333rem;font-weight:700}.subtitle2,.w-button-small-text-label-text-typography,.w-button-small-text-label-text,.w-view-small-label-text-typography,.w-view-small-label-text,.w-input-small-label-text-typography,.w-input-small-label-text,.w-input-small-label-disabled,.w-panel-subtitle-text,.w-table-th-text{font-size:1rem;line-height:1.1666666667rem;font-weight:600}.body,.w-button-small-label-text-typography,.w-button-small-tertiary-label-text,.w-view-small-value-text-typography,.w-view-small-value-text,.w-input-small-placeholder-text-typography,.w-input-small-placeholder-text,::ng-deep .w-tree .p-inputtext:enabled,::ng-deep .w-input-search .input.p-inputtext,.w-input-small-placeholder-text-disabled,.w-input-small-select-options-text,.w-panel-content,.w-chip-text,.w-table-td-text,.w-image-file-uploader-navigators-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-button-small-label-text-typography-sm,.w-input-warning-alert-text,.w-input-error-alert-text,.w-error-message{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,::ng-deep .w-tree .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box.p-focus,::ng-deep .w-tree .p-inputtext:enabled:focus,::ng-deep .w-input-search .input.p-inputtext:not(:disabled):focus,::ng-deep .w-input-search .button .p-button:enabled:focus{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,::ng-deep .w-tree .p-inputtext:enabled:hover{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,::ng-deep .w-input-search .input.p-inputtext[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,::ng-deep .w-tree .p-inputtext:enabled,::ng-deep .w-input-search .input.p-inputtext{color:#1f2224}.w-input-small-placeholder-text-only-color{color:#9aa0a7;line-height:1.3333333333rem}.w-input-small-placeholder-text-disabled{color:#5f6468}.w-input-small-placeholder-text-disabled-only-color,::ng-deep .w-input-search .input.p-inputtext[disabled] .p-select-label.p-placeholder{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,.w-input-medium-placeholder-text-disabled{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,:host ::ng-deep .w-tree .p-tree .p-tree-container .p-treenode .p-treenode-content{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-input-search-field{margin:0;display:flex;flex-direction:column;gap:6px!important}::ng-deep .w-input-search{height:28px}::ng-deep .w-input-search .button .p-button{width:28px}::ng-deep .w-input-search .button .p-button:not(:disabled):hover{background-color:#00b3eb;border-color:#00b3eb;color:#fff}::ng-deep .w-input-search .button .p-button:enabled:focus{outline:1px solid #d6f2ff;background-color:#005c7a;border-color:#005c7a;color:#fff}::ng-deep .w-input-search .button .p-button[disabled]{background:#e8ebee;color:#bdc1c6;border-color:#e8ebee}::ng-deep .w-input-search .input.p-inputtext{border-radius:0 8px 8px 0;border-width:1px;border:1px solid #e8ebee}::ng-deep .w-input-search .input.p-inputtext:not(:disabled):hover{border-color:#00b3eb}::ng-deep .w-input-search .input.p-inputtext:not(:disabled):focus{z-index:auto}::ng-deep .w-input-search>.p-iconfield:first-child>.p-component{border-radius:8px}.w-tree-buttontoggle{margin-bottom:8px}:host ::ng-deep .w-tree.p-tree{padding:0;border:none!important}:host ::ng-deep .w-tree.p-tree .p-tree-filter-container{margin-bottom:8px;padding-left:70%;width:100%}:host ::ng-deep .w-tree.p-tree .p-tree-container{padding:0px,20px,16px 20px}::ng-deep .w-tree .p-inputtext:enabled{height:32px;border-radius:8px;border:1px solid #e8ebee;gap:16px}:host ::ng-deep .w-tree .p-tree .p-tree-container .p-treenode .p-treenode-content{border-radius:8px;padding:8px 16px;color:#1f2224}:host ::ng-deep .w-tree .p-tree .p-tree-container .p-treenode .p-treenode-content.p-treenode-selectable:not(.p-highlight):hover{background-color:#e0f5fc}:host ::ng-deep .w-tree .p-tree .p-tree-container .p-treenode .p-treenode-content .p-treenode-icon{color:#1f2224}:host ::ng-deep .w-tree .p-tree .p-tree-container .p-treenode .p-treenode-content.p-highlight .p-treenode-icon{color:#1f2224}.w-tree-icon{margin-right:12px}::ng-deep .w-tree .p-checkbox{width:24px;height:24px;margin-right:11px!important;border-width:1px}::ng-deep .w-tree .p-checkbox .p-checkbox-box{border:1px solid #dadce0;border-radius:4px;align-self:center}::ng-deep .w-tree .p-checkbox .p-checkbox-box .p-checkbox-icon{font-size:12px;font-weight:700}::ng-deep .w-tree .p-checkbox .p-checkbox-box.p-highlight{border-color:#00b3eb;background:#00b3eb}::ng-deep .w-tree .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box:hover{background-color:#dadce0;border:1px solid #dadce0}::ng-deep .w-tree .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box.p-focus{background-color:#00b3eb;border:1px solid #e0f5fc}::ng-deep .w-tree .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box:not(.p-highlight).p-focus{background-color:#dadce0;border:1px solid #dadce0}::ng-deep .w-tree .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box.p-highlight:hover{border-color:#00b3eb;background:#00b3eb}::ng-deep .w-tree .p-tree .p-tree-container .p-treenode .p-treenode-content .p-treenode-icon{display:none}\n"], dependencies: [{ kind: "directive", type: i1$4.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i2$8.Tree, selector: "p-tree", inputs: ["value", "selectionMode", "loadingMode", "selection", "styleClass", "contextMenu", "draggableScope", "droppableScope", "draggableNodes", "droppableNodes", "metaKeySelection", "propagateSelectionUp", "propagateSelectionDown", "loading", "loadingIcon", "emptyMessage", "ariaLabel", "togglerAriaLabel", "ariaLabelledBy", "validateDrop", "filter", "filterInputAutoFocus", "filterBy", "filterMode", "filterOptions", "filterPlaceholder", "filteredNodes", "filterLocale", "scrollHeight", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "indentation", "_templateMap", "trackBy", "highlightOnSelect"], outputs: ["selectionChange", "onNodeSelect", "onNodeUnselect", "onNodeExpand", "onNodeCollapse", "onNodeContextMenuSelect", "onNodeDoubleClick", "onNodeDrop", "onLazyLoad", "onScroll", "onScrollIndexChange", "onFilter"] }, { kind: "component", type: WIconsComponent, selector: "w-icons", inputs: ["name", "width", "height", "color"] }, { kind: "component", type: WButtonComponent, selector: "w-button", inputs: ["type", "label", "size", "icon", "iconPos", "tooltipPosition", "tooltip", "disabled", "loading", "buttonClass"], outputs: ["onClick"] }] }); }
|
|
8262
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.13", type: WTreeComponent, isStandalone: false, selector: "w-tree", inputs: { nodes: "nodes", selection: "selection", selectionMode: "selectionMode", activeToggleButton: "activeToggleButton", collapsedNodes: "collapsedNodes", collapseButtonLabel: "collapseButtonLabel", expandButtonLabel: "expandButtonLabel", propagateSelectionDown: "propagateSelectionDown", propagateSelectionUp: "propagateSelectionUp", activeFilter: "activeFilter", filterPlaceholder: "filterPlaceholder", filterBy: "filterBy", emptyMessage: "emptyMessage", loading: "loading", draggableNodes: "draggableNodes", draggableScope: "draggableScope", droppableNodes: "droppableNodes", droppableScope: "droppableScope", scrollHeight: "scrollHeight", activeVirtualScroll: "activeVirtualScroll", virtualScrollItemSize: "virtualScrollItemSize", nodeItemTemplateName: "nodeItemTemplateName" }, outputs: { selectionChange: "selectionChange", onFilterEmit: "onFilter", onNodeDropeEmit: "onNodeDrope" }, providers: [TreeDragDropService], ngImport: i0, template: "@if (activeToggleButton) {\r\n <div class=\"w-tree-buttontoggle flex justify-content-end flex-wrap card-container green-container\">\r\n @if (collapsedNodes) {\r\n <div>\r\n <w-button\r\n size=\"small\"\r\n type=\"secondary\"\r\n icon=\"pi pi-plus\"\r\n [label]=\"expandButtonLabel\"\r\n (onClick)=\"expandAll()\">\r\n </w-button>\r\n </div>\r\n } @else {\r\n <w-button\r\n size=\"small\"\r\n type=\"secondary\"\r\n icon=\"pi pi-minus\"\r\n [label]=\"collapseButtonLabel\"\r\n (onClick)=\"collapseAll()\">\r\n </w-button>\r\n }\r\n </div>\r\n}\r\n\r\n<p-tree class=\"w-full w-tree\" #wTree\r\n [value]=\"nodes\"\r\n [(selection)]=\"selection\"\r\n (selectionChange)=\"onSelectionChange($event)\"\r\n [selectionMode]=\"selectionMode\"\r\n [loading]=\"loading\"\r\n [filter]=\"activeFilter\"\r\n [filterPlaceholder]=\"filterPlaceholder\"\r\n [propagateSelectionDown]=\"propagateSelectionDown\"\r\n [propagateSelectionUp]=\"propagateSelectionUp\"\r\n [emptyMessage]=\"emptyMessage\"\r\n [draggableNodes]=\"draggableNodes\"\r\n [draggableScope]=\"draggableScope\"\r\n [droppableNodes]=\"droppableNodes\"\r\n [droppableScope]=\"droppableScope\"\r\n (onNodeDrop)=\"onNodeDrope($event)\"\r\n [virtualScroll]=\"activeVirtualScroll\"\r\n [virtualScrollItemSize]=\"virtualScrollItemSize\"\r\n [scrollHeight]=\"scrollHeight\"\r\n (onFilter)=\"onFilter($event)\"\r\n styleClass=\"w-tree\">\r\n <ng-template let-node [pTemplate]=\"nodeItemTemplateName\">\r\n <div class=\"flex p-elemnt\">\r\n @if (node.icon && isPrimeIcon(node.icon)) {\r\n <span class=\"w-tree-icon flex align-items-center justify-content-center\" [class]=\"getIcon(node.icon)\"></span>\r\n }\r\n @if (node.icon && isPrimeIcon(node.icon) == false) {\r\n <w-icons class=\"w-tree-icon flex align-items-center\" [name]=\"node.icon\" [height]=\"16\" [width]=\"18\" [color]=\"'#2e3134'\"></w-icons>\r\n }\r\n <div class=\"flex align-items-center\">{{node.label}}</div>\r\n </div>\r\n </ng-template>\r\n</p-tree>", styles: [".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,::ng-deep .w-tree .p-inputtext:enabled,::ng-deep .w-input-search .input.p-inputtext,.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}.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}.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}.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-panel-title-text,.w-tab-text{font-size:1.1666666667rem;line-height:1.3333333333rem;font-weight:700}.subtitle2,.w-button-small-text-label-text-typography,.w-button-small-text-label-text,.w-view-small-label-text-typography,.w-view-small-label-text,.w-input-small-label-text-typography,.w-input-small-label-text,.w-input-small-label-disabled,.w-panel-subtitle-text,.w-table-th-text{font-size:1rem;line-height:1.1666666667rem;font-weight:600}.body,.w-button-small-label-text-typography,.w-button-small-tertiary-label-text,.w-view-small-value-text-typography,.w-view-small-value-text,.w-input-small-placeholder-text-typography,.w-input-small-placeholder-text,::ng-deep .w-tree .p-inputtext:enabled,::ng-deep .w-input-search .input.p-inputtext,.w-input-small-placeholder-text-disabled,.w-input-small-select-options-text,.w-panel-content,.w-chip-text,.w-table-td-text,.w-image-file-uploader-navigators-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-button-small-label-text-typography-sm,.w-input-warning-alert-text,.w-input-error-alert-text,.w-error-message{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,::ng-deep .w-tree .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box.p-focus,::ng-deep .w-tree .p-inputtext:enabled:focus,::ng-deep .w-input-search .input.p-inputtext:not(:disabled):focus,::ng-deep .w-input-search .button .p-button:enabled:focus{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,::ng-deep .w-tree .p-inputtext:enabled:hover{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,::ng-deep .w-input-search .input.p-inputtext[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,::ng-deep .w-tree .p-inputtext:enabled,::ng-deep .w-input-search .input.p-inputtext{color:#1f2224}.w-input-small-placeholder-text-only-color{color:#9aa0a7;line-height:1.3333333333rem}.w-input-small-placeholder-text-disabled{color:#5f6468}.w-input-small-placeholder-text-disabled-only-color,::ng-deep .w-input-search .input.p-inputtext[disabled] .p-select-label.p-placeholder{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,.w-input-medium-placeholder-text-disabled{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,:host ::ng-deep .w-tree .p-tree .p-tree-container .p-treenode .p-treenode-content{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-input-search-field{margin:0;display:flex;flex-direction:column;gap:6px!important}::ng-deep .w-input-search{height:28px}::ng-deep .w-input-search .button .p-button{width:28px}::ng-deep .w-input-search .button .p-button:not(:disabled):hover{background-color:#00b3eb;border-color:#00b3eb;color:#fff}::ng-deep .w-input-search .button .p-button:enabled:focus{outline:1px solid #d6f2ff;background-color:#005c7a;border-color:#005c7a;color:#fff}::ng-deep .w-input-search .button .p-button[disabled]{background:#e8ebee;color:#bdc1c6;border-color:#e8ebee}::ng-deep .w-input-search .input.p-inputtext{border-radius:0 8px 8px 0;border-width:1px;border:1px solid #e8ebee}::ng-deep .w-input-search .input.p-inputtext:not(:disabled):hover{border-color:#00b3eb}::ng-deep .w-input-search .input.p-inputtext:not(:disabled):focus{z-index:auto}::ng-deep .w-input-search>.p-iconfield:first-child>.p-component{border-radius:8px}.w-tree-buttontoggle{margin-bottom:8px}:host ::ng-deep .w-tree.p-tree{padding:0;border:none!important}:host ::ng-deep .w-tree.p-tree .p-tree-filter-container{margin-bottom:8px;padding-left:70%;width:100%}:host ::ng-deep .w-tree.p-tree .p-tree-container{padding:0px,20px,16px 20px}::ng-deep .w-tree .p-inputtext:enabled{height:32px;border-radius:8px;border:1px solid #e8ebee;gap:16px}:host ::ng-deep .w-tree .p-tree .p-tree-container .p-treenode .p-treenode-content{border-radius:8px;padding:8px 16px;color:#1f2224}:host ::ng-deep .w-tree .p-tree .p-tree-container .p-treenode .p-treenode-content.p-treenode-selectable:not(.p-highlight):hover{background-color:#e0f5fc}:host ::ng-deep .w-tree .p-tree .p-tree-container .p-treenode .p-treenode-content .p-treenode-icon{color:#1f2224}:host ::ng-deep .w-tree .p-tree .p-tree-container .p-treenode .p-treenode-content.p-highlight .p-treenode-icon{color:#1f2224}.w-tree-icon{margin-right:12px}::ng-deep .w-tree .p-checkbox{width:24px;height:24px;margin-right:11px!important;border-width:1px}::ng-deep .w-tree .p-checkbox .p-checkbox-box{border:1px solid #dadce0;border-radius:4px;align-self:center}::ng-deep .w-tree .p-checkbox .p-checkbox-box .p-checkbox-icon{font-size:12px;font-weight:700}::ng-deep .w-tree .p-checkbox .p-checkbox-box.p-highlight{border-color:#00b3eb;background:#00b3eb}::ng-deep .w-tree .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box:hover{background-color:#dadce0;border:1px solid #dadce0}::ng-deep .w-tree .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box.p-focus{background-color:#00b3eb;border:1px solid #e0f5fc}::ng-deep .w-tree .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box:not(.p-highlight).p-focus{background-color:#dadce0;border:1px solid #dadce0}::ng-deep .w-tree .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box.p-highlight:hover{border-color:#00b3eb;background:#00b3eb}::ng-deep .w-tree .p-tree .p-tree-container .p-treenode .p-treenode-content .p-treenode-icon{display:none}\n"], dependencies: [{ kind: "directive", type: i1$4.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i2$8.Tree, selector: "p-tree", inputs: ["value", "selectionMode", "loadingMode", "selection", "styleClass", "contextMenu", "contextMenuSelectionMode", "contextMenuSelection", "draggableScope", "droppableScope", "draggableNodes", "droppableNodes", "metaKeySelection", "propagateSelectionUp", "propagateSelectionDown", "loading", "loadingIcon", "emptyMessage", "ariaLabel", "togglerAriaLabel", "ariaLabelledBy", "validateDrop", "filter", "filterInputAutoFocus", "filterBy", "filterMode", "filterOptions", "filterPlaceholder", "filteredNodes", "filterLocale", "scrollHeight", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "indentation", "_templateMap", "trackBy", "highlightOnSelect"], outputs: ["selectionChange", "contextMenuSelectionChange", "onNodeSelect", "onNodeUnselect", "onNodeExpand", "onNodeCollapse", "onNodeContextMenuSelect", "onNodeDoubleClick", "onNodeDrop", "onLazyLoad", "onScroll", "onScrollIndexChange", "onFilter"] }, { kind: "component", type: WIconsComponent, selector: "w-icons", inputs: ["name", "width", "height", "color"] }, { kind: "component", type: WButtonComponent, selector: "w-button", inputs: ["type", "label", "size", "icon", "iconPos", "tooltipPosition", "tooltip", "disabled", "loading", "buttonClass"], outputs: ["onClick"] }] }); }
|
|
8260
8263
|
}
|
|
8261
8264
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.13", ngImport: i0, type: WTreeComponent, decorators: [{
|
|
8262
8265
|
type: Component,
|