ngx-wapp-components 3.2.7-alpha.6 → 3.2.7-alpha.7

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.
@@ -3404,7 +3404,7 @@ class WToggleButtonComponent {
3404
3404
  useExisting: forwardRef(() => WToggleButtonComponent),
3405
3405
  multi: true
3406
3406
  }
3407
- ], viewQueries: [{ propertyName: "viewSelectorEl", first: true, predicate: ["wToggleButton"], descendants: true, read: ElementRef }], ngImport: i0, template: "@if (formControl) {\r\n <p-togglebutton #wToggleButton\r\n [class]=\"'w-togglebutton-small'\" \r\n [ngClass]=\"{'empty-onlabel': isEmpty(onLabel), 'empty-offlabel': isEmpty(offLabel),\r\n 'only-icon-onlabel': hasOnlyIcon(onIcon, onLabel), 'only-icon-offlabel': hasOnlyIcon(offIcon, offLabel), \r\n buttonClass: buttonClass}\"\r\n [onLabel]=\"onLabel\"\r\n [offLabel]=\"offLabel\"\r\n iconPos=\"left\"\r\n [onIcon]=\"onIcon\"\r\n [offIcon]=\"offIcon\" \r\n [allowEmpty]=\"allowEmpty\"\r\n [pTooltip]=\"tooltip\"\r\n [tooltipPosition]=\"tooltipPosition\"\r\n [formControl]=\"formControl\"\r\n (onChange)=\"onButtonChangedForm($event)\">\r\n </p-togglebutton>\r\n} @else {\r\n <p-togglebutton #wToggleButton\r\n [class]=\"'w-togglebutton-small'\" \r\n [ngClass]=\"{'empty-onlabel': isEmpty(onLabel), 'empty-offlabel': isEmpty(offLabel),\r\n 'only-icon-onlabel': hasOnlyIcon(onIcon, onLabel), 'only-icon-offlabel': hasOnlyIcon(offIcon, offLabel), \r\n buttonClass: buttonClass, \r\n 'active': this.ngModelValue}\"\r\n [(ngModel)]=\"ngModelValue\"\r\n (ngModelChange)=\"onButtonChanged()\"\r\n [disabled]=\"disabled\"\r\n [onLabel]=\"onLabel\"\r\n [offLabel]=\"offLabel\" \r\n iconPos=\"left\"\r\n [onIcon]=\"onIcon\"\r\n [offIcon]=\"offIcon\"\r\n [allowEmpty]=\"allowEmpty\"\r\n [pTooltip]=\"tooltip\"\r\n [tooltipPosition]=\"tooltipPosition\">\r\n </p-togglebutton>\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,.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,:host ::ng-deep .w-togglebutton-small.p-togglebutton .p-togglebutton-content .p-button-label,.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,:host ::ng-deep .w-togglebutton-small.p-togglebutton .p-togglebutton-content .p-button-label,.w-button-small-tertiary-label-text{font-weight:600}.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,:host ::ng-deep .w-togglebutton-small.p-togglebutton .p-togglebutton-content .p-button-icon{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}:host ::ng-deep .w-togglebutton-small.p-togglebutton{height:32px;padding:7px 15px;border-radius:8px;border-width:1px;color:#1f2224;box-shadow:0 0 1px #0000001a inset,1px 1px 5px #0000000f,1px 1px 1px #00000014;gap:8px}:host ::ng-deep .w-togglebutton-small.p-togglebutton.p-togglebutton-checked{border:1px solid #005c7a;background-color:#005c7a;color:#fff}:host ::ng-deep .w-togglebutton-small.p-togglebutton.p-togglebutton-checked .p-togglebutton-content .p-togglebutton-icon{color:#fff}:host ::ng-deep .w-togglebutton-small.p-togglebutton.p-togglebutton-checked:not(:disabled):hover{background-color:#00b3eb;border-color:#00b3eb}:host ::ng-deep .w-togglebutton-small.p-togglebutton.p-togglebutton-checked.empty-onlabel .p-togglebutton-content .p-togglebutton-label{display:none}:host ::ng-deep .w-togglebutton-small.p-togglebutton.p-togglebutton-checked.only-icon-onlabel{width:32px;padding:0}:host ::ng-deep .w-togglebutton-small.p-togglebutton.p-togglebutton-checked.p-disabled{background:#e8ebee;border-color:#e8ebee;color:#bdc1c6}:host ::ng-deep .w-togglebutton-small.p-togglebutton.p-togglebutton-checked.p-disabled .p-togglebutton-content .p-togglebutton-icon{color:#bdc1c6}:host ::ng-deep .w-togglebutton-small.p-togglebutton:not(.p-togglebutton-checked){border:1px solid rgba(0,92,122,.25)}:host ::ng-deep .w-togglebutton-small.p-togglebutton:not(.p-togglebutton-checked):not(:disabled):hover{border-color:#00b3eb;color:#00b3eb}:host ::ng-deep .w-togglebutton-small.p-togglebutton:not(.p-togglebutton-checked):not(:disabled):hover .p-togglebutton-content .p-togglebutton-icon{color:#00b3eb}:host ::ng-deep .w-togglebutton-small.p-togglebutton:not(.p-togglebutton-checked).empty-offlabel .p-togglebutton-content .p-togglebutton-label{display:none}:host ::ng-deep .w-togglebutton-small.p-togglebutton:not(.p-togglebutton-checked).only-icon-offlabel{width:32px;padding:0}:host ::ng-deep .w-togglebutton-small.p-togglebutton:not(.p-togglebutton-checked).p-disabled{background-color:#fff;color:#bdc1c6;border-color:#e8ebee}\n"], dependencies: [{ kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { 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: "directive", type: i2.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "showOnEllipsis", "pTooltip", "tooltipDisabled", "tooltipOptions", "appendTo", "ptTooltip", "pTooltipPT", "pTooltipUnstyled"] }, { kind: "component", type: i4$2.ToggleButton, selector: "p-toggleButton, p-togglebutton, p-toggle-button", inputs: ["onLabel", "offLabel", "onIcon", "offIcon", "ariaLabel", "ariaLabelledBy", "styleClass", "inputId", "tabindex", "iconPos", "autofocus", "size", "allowEmpty", "fluid"], outputs: ["onChange"] }, { 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"] }] }); }
3407
+ ], viewQueries: [{ propertyName: "viewSelectorEl", first: true, predicate: ["wToggleButton"], descendants: true, read: ElementRef }], ngImport: i0, template: "@if (formControl) {\r\n <p-togglebutton #wToggleButton\r\n [class]=\"'w-togglebutton-small ' + (buttonClass ? buttonClass : '')\" \r\n [ngClass]=\"{'empty-onlabel': isEmpty(onLabel), 'empty-offlabel': isEmpty(offLabel),\r\n 'only-icon-onlabel': hasOnlyIcon(onIcon, onLabel), 'only-icon-offlabel': hasOnlyIcon(offIcon, offLabel)}\"\r\n [onLabel]=\"onLabel\"\r\n [offLabel]=\"offLabel\"\r\n iconPos=\"left\"\r\n [onIcon]=\"onIcon\"\r\n [offIcon]=\"offIcon\" \r\n [allowEmpty]=\"allowEmpty\"\r\n [pTooltip]=\"tooltip\"\r\n [tooltipPosition]=\"tooltipPosition\"\r\n [formControl]=\"formControl\"\r\n (onChange)=\"onButtonChangedForm($event)\">\r\n </p-togglebutton>\r\n} @else {\r\n <p-togglebutton #wToggleButton\r\n [class]=\"'w-togglebutton-small ' + (buttonClass ? buttonClass : '')\" \r\n [ngClass]=\"{'empty-onlabel': isEmpty(onLabel), 'empty-offlabel': isEmpty(offLabel),\r\n 'only-icon-onlabel': hasOnlyIcon(onIcon, onLabel), 'only-icon-offlabel': hasOnlyIcon(offIcon, offLabel), \r\n 'active': this.ngModelValue}\"\r\n [(ngModel)]=\"ngModelValue\"\r\n (ngModelChange)=\"onButtonChanged()\"\r\n [disabled]=\"disabled\"\r\n [onLabel]=\"onLabel\"\r\n [offLabel]=\"offLabel\" \r\n iconPos=\"left\"\r\n [onIcon]=\"onIcon\"\r\n [offIcon]=\"offIcon\"\r\n [allowEmpty]=\"allowEmpty\"\r\n [pTooltip]=\"tooltip\"\r\n [tooltipPosition]=\"tooltipPosition\">\r\n </p-togglebutton>\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,.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,:host ::ng-deep .w-togglebutton-small.p-togglebutton .p-togglebutton-content .p-button-label,.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,:host ::ng-deep .w-togglebutton-small.p-togglebutton .p-togglebutton-content .p-button-label,.w-button-small-tertiary-label-text{font-weight:600}.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,:host ::ng-deep .w-togglebutton-small.p-togglebutton .p-togglebutton-content .p-button-icon{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}:host ::ng-deep .w-togglebutton-small.p-togglebutton{height:32px;padding:7px 15px;border-radius:8px;border-width:1px;color:#1f2224;box-shadow:0 0 1px #0000001a inset,1px 1px 5px #0000000f,1px 1px 1px #00000014;gap:8px}:host ::ng-deep .w-togglebutton-small.p-togglebutton.p-togglebutton-checked{border:1px solid #005c7a;background-color:#005c7a;color:#fff}:host ::ng-deep .w-togglebutton-small.p-togglebutton.p-togglebutton-checked .p-togglebutton-content .p-togglebutton-icon{color:#fff}:host ::ng-deep .w-togglebutton-small.p-togglebutton.p-togglebutton-checked:not(:disabled):hover{background-color:#00b3eb;border-color:#00b3eb}:host ::ng-deep .w-togglebutton-small.p-togglebutton.p-togglebutton-checked.empty-onlabel .p-togglebutton-content .p-togglebutton-label{display:none}:host ::ng-deep .w-togglebutton-small.p-togglebutton.p-togglebutton-checked.only-icon-onlabel{width:32px;padding:0}:host ::ng-deep .w-togglebutton-small.p-togglebutton.p-togglebutton-checked.p-disabled{background:#e8ebee;border-color:#e8ebee;color:#bdc1c6}:host ::ng-deep .w-togglebutton-small.p-togglebutton.p-togglebutton-checked.p-disabled .p-togglebutton-content .p-togglebutton-icon{color:#bdc1c6}:host ::ng-deep .w-togglebutton-small.p-togglebutton:not(.p-togglebutton-checked){border:1px solid rgba(0,92,122,.25)}:host ::ng-deep .w-togglebutton-small.p-togglebutton:not(.p-togglebutton-checked):not(:disabled):hover{border-color:#00b3eb;color:#00b3eb}:host ::ng-deep .w-togglebutton-small.p-togglebutton:not(.p-togglebutton-checked):not(:disabled):hover .p-togglebutton-content .p-togglebutton-icon{color:#00b3eb}:host ::ng-deep .w-togglebutton-small.p-togglebutton:not(.p-togglebutton-checked).empty-offlabel .p-togglebutton-content .p-togglebutton-label{display:none}:host ::ng-deep .w-togglebutton-small.p-togglebutton:not(.p-togglebutton-checked).only-icon-offlabel{width:32px;padding:0}:host ::ng-deep .w-togglebutton-small.p-togglebutton:not(.p-togglebutton-checked).p-disabled{background-color:#fff;color:#bdc1c6;border-color:#e8ebee}\n"], dependencies: [{ kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { 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: "directive", type: i2.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "showOnEllipsis", "pTooltip", "tooltipDisabled", "tooltipOptions", "appendTo", "ptTooltip", "pTooltipPT", "pTooltipUnstyled"] }, { kind: "component", type: i4$2.ToggleButton, selector: "p-toggleButton, p-togglebutton, p-toggle-button", inputs: ["onLabel", "offLabel", "onIcon", "offIcon", "ariaLabel", "ariaLabelledBy", "styleClass", "inputId", "tabindex", "iconPos", "autofocus", "size", "allowEmpty", "fluid"], outputs: ["onChange"] }, { 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"] }] }); }
3408
3408
  }
3409
3409
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: WToggleButtonComponent, decorators: [{
3410
3410
  type: Component,
@@ -3414,7 +3414,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImpo
3414
3414
  useExisting: forwardRef(() => WToggleButtonComponent),
3415
3415
  multi: true
3416
3416
  }
3417
- ], standalone: false, template: "@if (formControl) {\r\n <p-togglebutton #wToggleButton\r\n [class]=\"'w-togglebutton-small'\" \r\n [ngClass]=\"{'empty-onlabel': isEmpty(onLabel), 'empty-offlabel': isEmpty(offLabel),\r\n 'only-icon-onlabel': hasOnlyIcon(onIcon, onLabel), 'only-icon-offlabel': hasOnlyIcon(offIcon, offLabel), \r\n buttonClass: buttonClass}\"\r\n [onLabel]=\"onLabel\"\r\n [offLabel]=\"offLabel\"\r\n iconPos=\"left\"\r\n [onIcon]=\"onIcon\"\r\n [offIcon]=\"offIcon\" \r\n [allowEmpty]=\"allowEmpty\"\r\n [pTooltip]=\"tooltip\"\r\n [tooltipPosition]=\"tooltipPosition\"\r\n [formControl]=\"formControl\"\r\n (onChange)=\"onButtonChangedForm($event)\">\r\n </p-togglebutton>\r\n} @else {\r\n <p-togglebutton #wToggleButton\r\n [class]=\"'w-togglebutton-small'\" \r\n [ngClass]=\"{'empty-onlabel': isEmpty(onLabel), 'empty-offlabel': isEmpty(offLabel),\r\n 'only-icon-onlabel': hasOnlyIcon(onIcon, onLabel), 'only-icon-offlabel': hasOnlyIcon(offIcon, offLabel), \r\n buttonClass: buttonClass, \r\n 'active': this.ngModelValue}\"\r\n [(ngModel)]=\"ngModelValue\"\r\n (ngModelChange)=\"onButtonChanged()\"\r\n [disabled]=\"disabled\"\r\n [onLabel]=\"onLabel\"\r\n [offLabel]=\"offLabel\" \r\n iconPos=\"left\"\r\n [onIcon]=\"onIcon\"\r\n [offIcon]=\"offIcon\"\r\n [allowEmpty]=\"allowEmpty\"\r\n [pTooltip]=\"tooltip\"\r\n [tooltipPosition]=\"tooltipPosition\">\r\n </p-togglebutton>\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,.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,:host ::ng-deep .w-togglebutton-small.p-togglebutton .p-togglebutton-content .p-button-label,.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,:host ::ng-deep .w-togglebutton-small.p-togglebutton .p-togglebutton-content .p-button-label,.w-button-small-tertiary-label-text{font-weight:600}.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,:host ::ng-deep .w-togglebutton-small.p-togglebutton .p-togglebutton-content .p-button-icon{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}:host ::ng-deep .w-togglebutton-small.p-togglebutton{height:32px;padding:7px 15px;border-radius:8px;border-width:1px;color:#1f2224;box-shadow:0 0 1px #0000001a inset,1px 1px 5px #0000000f,1px 1px 1px #00000014;gap:8px}:host ::ng-deep .w-togglebutton-small.p-togglebutton.p-togglebutton-checked{border:1px solid #005c7a;background-color:#005c7a;color:#fff}:host ::ng-deep .w-togglebutton-small.p-togglebutton.p-togglebutton-checked .p-togglebutton-content .p-togglebutton-icon{color:#fff}:host ::ng-deep .w-togglebutton-small.p-togglebutton.p-togglebutton-checked:not(:disabled):hover{background-color:#00b3eb;border-color:#00b3eb}:host ::ng-deep .w-togglebutton-small.p-togglebutton.p-togglebutton-checked.empty-onlabel .p-togglebutton-content .p-togglebutton-label{display:none}:host ::ng-deep .w-togglebutton-small.p-togglebutton.p-togglebutton-checked.only-icon-onlabel{width:32px;padding:0}:host ::ng-deep .w-togglebutton-small.p-togglebutton.p-togglebutton-checked.p-disabled{background:#e8ebee;border-color:#e8ebee;color:#bdc1c6}:host ::ng-deep .w-togglebutton-small.p-togglebutton.p-togglebutton-checked.p-disabled .p-togglebutton-content .p-togglebutton-icon{color:#bdc1c6}:host ::ng-deep .w-togglebutton-small.p-togglebutton:not(.p-togglebutton-checked){border:1px solid rgba(0,92,122,.25)}:host ::ng-deep .w-togglebutton-small.p-togglebutton:not(.p-togglebutton-checked):not(:disabled):hover{border-color:#00b3eb;color:#00b3eb}:host ::ng-deep .w-togglebutton-small.p-togglebutton:not(.p-togglebutton-checked):not(:disabled):hover .p-togglebutton-content .p-togglebutton-icon{color:#00b3eb}:host ::ng-deep .w-togglebutton-small.p-togglebutton:not(.p-togglebutton-checked).empty-offlabel .p-togglebutton-content .p-togglebutton-label{display:none}:host ::ng-deep .w-togglebutton-small.p-togglebutton:not(.p-togglebutton-checked).only-icon-offlabel{width:32px;padding:0}:host ::ng-deep .w-togglebutton-small.p-togglebutton:not(.p-togglebutton-checked).p-disabled{background-color:#fff;color:#bdc1c6;border-color:#e8ebee}\n"] }]
3417
+ ], standalone: false, template: "@if (formControl) {\r\n <p-togglebutton #wToggleButton\r\n [class]=\"'w-togglebutton-small ' + (buttonClass ? buttonClass : '')\" \r\n [ngClass]=\"{'empty-onlabel': isEmpty(onLabel), 'empty-offlabel': isEmpty(offLabel),\r\n 'only-icon-onlabel': hasOnlyIcon(onIcon, onLabel), 'only-icon-offlabel': hasOnlyIcon(offIcon, offLabel)}\"\r\n [onLabel]=\"onLabel\"\r\n [offLabel]=\"offLabel\"\r\n iconPos=\"left\"\r\n [onIcon]=\"onIcon\"\r\n [offIcon]=\"offIcon\" \r\n [allowEmpty]=\"allowEmpty\"\r\n [pTooltip]=\"tooltip\"\r\n [tooltipPosition]=\"tooltipPosition\"\r\n [formControl]=\"formControl\"\r\n (onChange)=\"onButtonChangedForm($event)\">\r\n </p-togglebutton>\r\n} @else {\r\n <p-togglebutton #wToggleButton\r\n [class]=\"'w-togglebutton-small ' + (buttonClass ? buttonClass : '')\" \r\n [ngClass]=\"{'empty-onlabel': isEmpty(onLabel), 'empty-offlabel': isEmpty(offLabel),\r\n 'only-icon-onlabel': hasOnlyIcon(onIcon, onLabel), 'only-icon-offlabel': hasOnlyIcon(offIcon, offLabel), \r\n 'active': this.ngModelValue}\"\r\n [(ngModel)]=\"ngModelValue\"\r\n (ngModelChange)=\"onButtonChanged()\"\r\n [disabled]=\"disabled\"\r\n [onLabel]=\"onLabel\"\r\n [offLabel]=\"offLabel\" \r\n iconPos=\"left\"\r\n [onIcon]=\"onIcon\"\r\n [offIcon]=\"offIcon\"\r\n [allowEmpty]=\"allowEmpty\"\r\n [pTooltip]=\"tooltip\"\r\n [tooltipPosition]=\"tooltipPosition\">\r\n </p-togglebutton>\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,.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,:host ::ng-deep .w-togglebutton-small.p-togglebutton .p-togglebutton-content .p-button-label,.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,:host ::ng-deep .w-togglebutton-small.p-togglebutton .p-togglebutton-content .p-button-label,.w-button-small-tertiary-label-text{font-weight:600}.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,:host ::ng-deep .w-togglebutton-small.p-togglebutton .p-togglebutton-content .p-button-icon{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}:host ::ng-deep .w-togglebutton-small.p-togglebutton{height:32px;padding:7px 15px;border-radius:8px;border-width:1px;color:#1f2224;box-shadow:0 0 1px #0000001a inset,1px 1px 5px #0000000f,1px 1px 1px #00000014;gap:8px}:host ::ng-deep .w-togglebutton-small.p-togglebutton.p-togglebutton-checked{border:1px solid #005c7a;background-color:#005c7a;color:#fff}:host ::ng-deep .w-togglebutton-small.p-togglebutton.p-togglebutton-checked .p-togglebutton-content .p-togglebutton-icon{color:#fff}:host ::ng-deep .w-togglebutton-small.p-togglebutton.p-togglebutton-checked:not(:disabled):hover{background-color:#00b3eb;border-color:#00b3eb}:host ::ng-deep .w-togglebutton-small.p-togglebutton.p-togglebutton-checked.empty-onlabel .p-togglebutton-content .p-togglebutton-label{display:none}:host ::ng-deep .w-togglebutton-small.p-togglebutton.p-togglebutton-checked.only-icon-onlabel{width:32px;padding:0}:host ::ng-deep .w-togglebutton-small.p-togglebutton.p-togglebutton-checked.p-disabled{background:#e8ebee;border-color:#e8ebee;color:#bdc1c6}:host ::ng-deep .w-togglebutton-small.p-togglebutton.p-togglebutton-checked.p-disabled .p-togglebutton-content .p-togglebutton-icon{color:#bdc1c6}:host ::ng-deep .w-togglebutton-small.p-togglebutton:not(.p-togglebutton-checked){border:1px solid rgba(0,92,122,.25)}:host ::ng-deep .w-togglebutton-small.p-togglebutton:not(.p-togglebutton-checked):not(:disabled):hover{border-color:#00b3eb;color:#00b3eb}:host ::ng-deep .w-togglebutton-small.p-togglebutton:not(.p-togglebutton-checked):not(:disabled):hover .p-togglebutton-content .p-togglebutton-icon{color:#00b3eb}:host ::ng-deep .w-togglebutton-small.p-togglebutton:not(.p-togglebutton-checked).empty-offlabel .p-togglebutton-content .p-togglebutton-label{display:none}:host ::ng-deep .w-togglebutton-small.p-togglebutton:not(.p-togglebutton-checked).only-icon-offlabel{width:32px;padding:0}:host ::ng-deep .w-togglebutton-small.p-togglebutton:not(.p-togglebutton-checked).p-disabled{background-color:#fff;color:#bdc1c6;border-color:#e8ebee}\n"] }]
3418
3418
  }], ctorParameters: () => [{ type: i0.Renderer2 }], propDecorators: { onLabel: [{
3419
3419
  type: Input,
3420
3420
  args: ['onLabel']