ngx-wapp-components 1.3.0 → 1.3.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.
- package/esm2020/lib/edit/w-edit-input-number/w-edit-input-number.component.mjs +3 -3
- package/esm2020/lib/edit/w-edit-multiselect/w-edit-multiselect.component.mjs +4 -4
- package/esm2020/lib/edit/w-edit-select/w-edit-select.component.mjs +4 -4
- package/esm2020/lib/edit/w-edit-toggle/w-edit-toggle.component.mjs +4 -4
- package/fesm2015/ngx-wapp-components.mjs +9 -9
- package/fesm2015/ngx-wapp-components.mjs.map +1 -1
- package/fesm2020/ngx-wapp-components.mjs +9 -9
- package/fesm2020/ngx-wapp-components.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -742,7 +742,7 @@ WEditSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
|
|
|
742
742
|
useExisting: forwardRef(() => WEditSelectComponent),
|
|
743
743
|
multi: true
|
|
744
744
|
}
|
|
745
|
-
], ngImport: i0, template: "<div *ngIf=\"formControl; else noNgControl\" class=\"w-edit-select-field p-fluid field\">\r\n <label *ngIf=\"(label != undefined && label.length > 0)\" htmlFor=\"state\" \r\n [ngClass]=\"{'w-edit-select-small-label' : getSizeName(sizeType.small) == size && !disabled,\r\n 'w-edit-select-small-label-disabled' : getSizeName(sizeType.small) == size && disabled,\r\n 'w-edit-select-medium-label' : getSizeName(sizeType.medium) == size && !disabled,\r\n 'w-edit-select-medium-label-disabled' : getSizeName(sizeType.medium) == size && disabled}\">\r\n {{label}}\r\n </label>\r\n <div *ngIf=\"(label != undefined && label == '')\" class=\"w-input-no-label-height\"></div>\r\n <p-dropdown *ngIf=\"getSizeName(sizeType.medium) == size\" class=\"w-edit-select-medium\" \r\n [ngClass]=\"{'ng-invalid ng-dirty': formControl.dirty && formControl.hasError('required')}\"\r\n [options]=\"options\" \r\n [optionLabel]=\"optionLabel\" \r\n [optionValue]=\"optionValue\" \r\n [placeholder]=\"placeholder\" \r\n [filter]=\"filter\"\r\n [showClear]=\"showClear\" \r\n [required]=\"required\"\r\n [formControl]=\"formControl\" \r\n [appendTo]=\"appendTo\" \r\n (onChange)=\"onOptionSelectForm($event)\">\r\n </p-dropdown>\r\n <p-dropdown *ngIf=\"getSizeName(sizeType.small) == size\" class=\"w-edit-select-small\" \r\n [ngClass]=\"{'ng-invalid ng-dirty': formControl.dirty && formControl.hasError('required')}\"\r\n [options]=\"options\" \r\n [optionLabel]=\"optionLabel\" \r\n [optionValue]=\"optionValue\" \r\n [filter]=\"filter\"\r\n [placeholder]=\"placeholder\" \r\n [showClear]=\"showClear\"\r\n [required]=\"required\"\r\n [formControl]=\"formControl\"\r\n [appendTo]=\"appendTo\" \r\n (onChange)=\"onOptionSelectForm($event)\">\r\n </p-dropdown>\r\n <small *ngIf=\"getSizeName(sizeType.medium) == size && formControl.dirty && formControl.hasError('required')\" \r\n class=\"w-error-message-container w-full w-error-message p-error block\">{{errorDescription}}</small> \r\n</div>\r\n<ng-template #noNgControl>\r\n <div class=\"w-edit-select-field p-fluid field\">\r\n <label *ngIf=\"(label != undefined && label.length > 0)\" htmlFor=\"state\" \r\n [ngClass]=\"{'w-edit-select-small-label' : getSizeName(sizeType.small) == size && !disabled,\r\n 'w-edit-select-small-label-disabled' : getSizeName(sizeType.small) == size && disabled,\r\n 'w-edit-select-medium-label' : getSizeName(sizeType.medium) == size && !disabled,\r\n 'w-edit-select-medium-label-disabled' : getSizeName(sizeType.medium) == size && disabled}\">\r\n {{label}}\r\n </label>\r\n <div *ngIf=\"(label != undefined && label == '')\" class=\"w-input-no-label-height\"></div>\r\n <p-dropdown *ngIf=\"getSizeName(sizeType.medium) == size\" class=\"w-edit-select-medium\" \r\n [options]=\"options\" \r\n [optionLabel]=\"optionLabel\" \r\n [optionValue]=\"optionValue\" \r\n [filter]=\"filter\"\r\n [placeholder]=\"placeholder\" \r\n [disabled]=\"disabled\" [(ngModel)]=\"ngModelValue\" (ngModelChange)=\"onOptionSelected()\" [showClear]=\"showClear\"\r\n [appendTo]=\"appendTo\">\r\n </p-dropdown>\r\n <p-dropdown *ngIf=\"getSizeName(sizeType.small) == size\" class=\"w-edit-select-small\" \r\n [options]=\"options\" \r\n [filter]=\"filter\"\r\n [optionLabel]=\"optionLabel\" \r\n [optionValue]=\"optionValue\" \r\n [placeholder]=\"placeholder\" \r\n [disabled]=\"disabled\" [(ngModel)]=\"ngModelValue\" (ngModelChange)=\"onOptionSelected()\" [showClear]=\"showClear\"\r\n [appendTo]=\"appendTo\">\r\n </p-dropdown>\r\n </div>\r\n</ng-template>", 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:400}.heading5{font-size:1.5rem;line-height:1.8333333333rem;font-weight:600}.heading6{font-size:1.3333333333rem;line-height:1.6666666667rem;font-weight:400}.subtitle1,.w-tab-text,.w-panel-title-text,.w-sidebar-title-text{font-size:1.1666666667rem;line-height:1.3333333333rem;font-weight:600}.subtitle2,.w-table-th-text,.w-panel-subtitle-text,.w-input-small-label-text-typography,.w-input-small-label-text,.w-edit-select-small-label,.w-input-small-label-disabled,.w-edit-select-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.3333333333rem;font-weight:600}.body,.w-table-td-text,.w-chip-text,.w-panel-content,.w-input-small-select-options-text,:host ::ng-deep .w-edit-select-small .p-dropdown-panel .p-dropdown-items .p-dropdown-item,.w-input-small-placeholder-text-typography,.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text,:host ::ng-deep .w-edit-select-small .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.3333333333rem;font-weight:400}.caption,.w-error-message,.w-input-error-alert-text,.w-input-warning-alert-text,.w-input-success-alert-text{font-size:.6666666667rem;line-height:1rem;font-weight:400}.text846{color:#2e3134}.text700{color:#5f6368}.text500{color:#9aa0a6}.textWhite{color:#fff}.spacingXXS{padding:4px}.spacingXSM{padding:6px}.spacingXS{padding:8px}.spacingS{padding:12px}.spacingM{padding:16px}.spacingL{padding:20px}.spacingXL{padding:24px}.spacingXXL{padding:28px}.spacingXXXL{padding:32px}.focus,:host ::ng-deep .w-edit-select-medium .p-dropdown:not(.p-disabled).p-focus,:host ::ng-deep .w-edit-select-small .p-dropdown:not(.p-disabled).p-focus{box-shadow:0 0 8px #00a6e980}.hover{border-radius:8px;border:1px solid #00b2eb}.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-tertiary-label-text,.w-button-small-text-label-text{color:#2e3134}.w-button-small-icon-text{font-size:12px}.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:400;line-height:16px}.w-button-medium-tertiary-label-text{color:#2e3134}.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:400;line-height:24px}.w-button-large-tertiary-label-text{color:#2e3134}.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,.w-view-small-value-text{color:#2e3134}.w-input-no-label-height{height:36px}.w-input-disabled,:host ::ng-deep .w-edit-select-medium .p-disabled,:host ::ng-deep .w-edit-select-small .p-disabled{background-color:#f1f3f4;border-color:#e8eaed;opacity:1}.w-input-small-label-text,.w-edit-select-small-label,.w-input-small-label-disabled,.w-edit-select-small-label-disabled{color:#2e3134}.w-input-small-label-disabled,.w-edit-select-small-label-disabled{color:#9aa0a6}.w-input-small-label-text-content,.w-edit-select-medium-label-disabled,.w-edit-select-medium-label,.w-edit-select-small-label-disabled,.w-edit-select-small-label{padding:12px 8px 8px 0;margin:0}.w-input-small-placeholder-text,:host ::ng-deep .w-edit-select-small .p-inputtext{color:#2e3134}.w-input-small-placeholder-text-only-color,:host ::ng-deep .w-edit-select-small .p-dropdown .p-placeholder{color:#2e3134}.w-input-small-placeholder-text-disabled{color:#5f6368}.w-input-small-placeholder-text-disabled-only-color,:host ::ng-deep .w-edit-select-small .p-disabled .p-inputtext{color:#5f6368}.w-input-small-text-icon{color:#2e3134}.w-input-small-select-options-text,:host ::ng-deep .w-edit-select-small .p-dropdown-panel .p-dropdown-items .p-dropdown-item{color:#2e3134}.w-input-medium-label-text-typography,.w-input-medium-label-text,.w-edit-select-medium-label,.w-input-medium-label-disabled,.w-edit-select-medium-label-disabled{font-size:14px;font-weight:600;line-height:16px}.w-input-medium-label-text,.w-edit-select-medium-label,.w-input-medium-label-disabled,.w-edit-select-medium-label-disabled{color:#2e3134}.w-input-medium-label-disabled,.w-edit-select-medium-label-disabled{color:#9aa0a6}.w-input-medium-placeholder-text-typography,.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text,:host ::ng-deep .w-edit-select-medium .p-inputtext{font-size:16px;font-weight:400;line-height:24px}.w-input-medium-placeholder-text,:host ::ng-deep .w-edit-select-medium .p-inputtext{color:#2e3134}.w-input-medium-placeholder-text-only-color,:host ::ng-deep .w-edit-select-medium .p-dropdown .p-placeholder{color:#2e3134}.w-input-medium-placeholder-text-disabled{color:#5f6368}.w-input-medium-placeholder-text-disabled-only-color,:host ::ng-deep .w-edit-select-medium .p-disabled .p-inputtext{color:#5f6368}.w-input-medium-text-icon{color:#2e3134}.w-input-medium-select-options-text,:host ::ng-deep .w-edit-select-medium .p-dropdown-panel .p-dropdown-items .p-dropdown-item{font-size:16px;font-weight:400;line-height:24px;color:#2e3134}.w-input-success-alert-text{color:#00db5d;padding:8px 8px 0;margin-top:0}.w-input-warning-alert-text{color:#eeae00;padding:8px 8px 0;margin-top:0}.w-input-error-alert-text{color:#e50000;padding:8px 8px 0;margin-top:0}.w-input-alert-message-height{height:32px}.w-sidebar-title-text,.w-panel-title-text,.w-panel-subtitle-text{color:#2e3134}.w-panel-content{color:#5f6368}.w-tab-text,.w-chip-text{color:#2e3134}.w-badge-text{font-size:8px;font-weight:700;line-height:8px}.w-table-th-text{color:#2e3134}.w-table-td-text{color:#5f6368}.w-edit-select-field{margin:0}:host ::ng-deep .w-edit-select-small .p-dropdown{border-width:1px;border-radius:8px;border-color:#e8eaed}:host ::ng-deep .w-edit-select-small .p-dropdown.p-dropdown-clearable .p-dropdown-label{padding-right:28px}:host ::ng-deep .w-edit-select-small .p-inputtext{padding:7px 11px;align-self:center}:host ::ng-deep .w-edit-select-small .p-dropdown:not(.p-disabled):hover{border:1px solid #00b2eb}:host ::ng-deep .w-edit-select-small .p-dropdown:not(.p-disabled).p-focus{border:1px solid #d6f2ff}:host ::ng-deep .w-edit-select-small .p-dropdown .p-dropdown-trigger{width:auto;height:28px;padding-right:12px}:host ::ng-deep .w-edit-select-small .p-dropdown-panel{padding:8px}:host ::ng-deep .w-edit-select-small .p-dropdown-panel .p-dropdown-items{padding:0}:host ::ng-deep .w-edit-select-small .p-dropdown-panel .p-dropdown-items .p-dropdown-item{padding:8px;margin-bottom:4px}:host ::ng-deep .w-edit-select-small .p-dropdown-panel .p-dropdown-items .p-dropdown-item:hover{background:#d6f2ff;border-radius:8px}:host ::ng-deep .w-edit-select-small .p-dropdown-panel .p-dropdown-items .p-dropdown-item.p-highlight{background:#d6f2ff;border-radius:8px;color:#000}:host ::ng-deep .w-edit-select-medium .p-dropdown{border-width:1px;border-radius:8px;border-color:#e8eaed}:host ::ng-deep .w-edit-select-medium .p-inputtext{padding:7px 0 7px 15px}:host ::ng-deep .w-edit-select-medium .p-dropdown:not(.p-disabled):hover{border:1px solid #00b2eb}:host ::ng-deep .w-edit-select-medium .p-dropdown:not(.p-disabled).p-focus{border:1px solid #d6f2ff}:host ::ng-deep .w-edit-select-medium .p-dropdown .p-dropdown-trigger{width:24px;padding:8px 24px}:host ::ng-deep .w-edit-select-medium .p-dropdown-panel{padding:8px 8px 16px}:host ::ng-deep .w-edit-select-medium .p-dropdown-panel .p-dropdown-items{padding:0}:host ::ng-deep .w-edit-select-medium .p-dropdown-panel .p-dropdown-items .p-dropdown-item{padding:8px 16px;margin-bottom:4px}:host ::ng-deep .w-edit-select-medium .p-dropdown-panel .p-dropdown-items .p-dropdown-item:hover{background:#d6f2ff;border-radius:8px}:host ::ng-deep .w-edit-select-medium .p-multiselect-panel .p-multiselect-items .p-multiselect-item.p-highlight{background:#d6f2ff;border-radius:8px}:host ::ng-deep .w-edit-select-medium .p-dropdown-panel .p-dropdown-items .p-dropdown-item.p-highlight{background:#d6f2ff;border-radius:8px;color:#000}:host ::ng-deep p-dropdown.w-edit-select-medium.ng-dirty.ng-invalid>.p-dropdown{border-color:#ffbdbd}.w-error-message-container{height:32px}.w-error-message{color:#e50000;padding:8px;margin-top:0}\n"], dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3$2.Dropdown, selector: "p-dropdown", inputs: ["scrollHeight", "filter", "name", "style", "panelStyle", "styleClass", "panelStyleClass", "readonly", "required", "editable", "appendTo", "tabindex", "placeholder", "filterPlaceholder", "filterLocale", "inputId", "selectId", "dataKey", "filterBy", "autofocus", "resetFilterOnHide", "dropdownIcon", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "autoDisplayFirst", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "maxlength", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "autofocusFilter", "overlayDirection", "disabled", "itemSize", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "options", "filterValue"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }] });
|
|
745
|
+
], ngImport: i0, template: "<div *ngIf=\"formControl; else noNgControl\" class=\"w-edit-select-field p-fluid field\">\r\n <label *ngIf=\"(label != undefined && label.length > 0)\" htmlFor=\"state\" \r\n [ngClass]=\"{'w-edit-select-small-label' : getSizeName(sizeType.small) == size && !disabled,\r\n 'w-edit-select-small-label-disabled' : getSizeName(sizeType.small) == size && disabled,\r\n 'w-edit-select-medium-label' : getSizeName(sizeType.medium) == size && !disabled,\r\n 'w-edit-select-medium-label-disabled' : getSizeName(sizeType.medium) == size && disabled}\">\r\n {{label}}\r\n </label>\r\n <div *ngIf=\"(label != undefined && label == '')\" class=\"w-input-no-label-height\"></div>\r\n <p-dropdown *ngIf=\"getSizeName(sizeType.medium) == size\" class=\"w-edit-select-medium\" \r\n [ngClass]=\"{'ng-invalid ng-dirty': formControl.dirty && formControl.hasError('required')}\"\r\n [options]=\"options\" \r\n [optionLabel]=\"optionLabel\" \r\n [optionValue]=\"optionValue\" \r\n [placeholder]=\"placeholder\" \r\n [filter]=\"filter\"\r\n [showClear]=\"showClear\" \r\n [required]=\"required\"\r\n [formControl]=\"formControl\" \r\n [appendTo]=\"appendTo\" \r\n (onChange)=\"onOptionSelectForm($event)\">\r\n </p-dropdown>\r\n <p-dropdown *ngIf=\"getSizeName(sizeType.small) == size\" class=\"w-edit-select-small\" \r\n [ngClass]=\"{'ng-invalid ng-dirty': formControl.dirty && formControl.hasError('required')}\"\r\n [options]=\"options\" \r\n [optionLabel]=\"optionLabel\" \r\n [optionValue]=\"optionValue\" \r\n [filter]=\"filter\"\r\n [placeholder]=\"placeholder\" \r\n [showClear]=\"showClear\"\r\n [required]=\"required\"\r\n [formControl]=\"formControl\"\r\n [appendTo]=\"appendTo\" \r\n (onChange)=\"onOptionSelectForm($event)\">\r\n </p-dropdown>\r\n <small *ngIf=\"getSizeName(sizeType.medium) == size && formControl.dirty && formControl.hasError('required')\" \r\n class=\"w-error-message-container w-full w-error-message p-error block\">{{errorDescription}}</small> \r\n</div>\r\n<ng-template #noNgControl>\r\n <div class=\"w-edit-select-field p-fluid field\">\r\n <label *ngIf=\"(label != undefined && label.length > 0)\" htmlFor=\"state\" \r\n [ngClass]=\"{'w-edit-select-small-label' : getSizeName(sizeType.small) == size && !disabled,\r\n 'w-edit-select-small-label-disabled' : getSizeName(sizeType.small) == size && disabled,\r\n 'w-edit-select-medium-label' : getSizeName(sizeType.medium) == size && !disabled,\r\n 'w-edit-select-medium-label-disabled' : getSizeName(sizeType.medium) == size && disabled}\">\r\n {{label}}\r\n </label>\r\n <div *ngIf=\"(label != undefined && label == '')\" class=\"w-input-no-label-height\"></div>\r\n <p-dropdown *ngIf=\"getSizeName(sizeType.medium) == size\" class=\"w-edit-select-medium\" \r\n [options]=\"options\" \r\n [optionLabel]=\"optionLabel\" \r\n [optionValue]=\"optionValue\" \r\n [filter]=\"filter\"\r\n [placeholder]=\"placeholder\" \r\n [disabled]=\"disabled\" [(ngModel)]=\"ngModelValue\" (onChange)=\"onOptionSelected()\" [showClear]=\"showClear\"\r\n [appendTo]=\"appendTo\">\r\n </p-dropdown>\r\n <p-dropdown *ngIf=\"getSizeName(sizeType.small) == size\" class=\"w-edit-select-small\" \r\n [options]=\"options\" \r\n [filter]=\"filter\"\r\n [optionLabel]=\"optionLabel\" \r\n [optionValue]=\"optionValue\" \r\n [placeholder]=\"placeholder\" \r\n [disabled]=\"disabled\" [(ngModel)]=\"ngModelValue\" (onChange)=\"onOptionSelected()\" [showClear]=\"showClear\"\r\n [appendTo]=\"appendTo\">\r\n </p-dropdown>\r\n </div>\r\n</ng-template>", 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:400}.heading5{font-size:1.5rem;line-height:1.8333333333rem;font-weight:600}.heading6{font-size:1.3333333333rem;line-height:1.6666666667rem;font-weight:400}.subtitle1,.w-tab-text,.w-panel-title-text,.w-sidebar-title-text{font-size:1.1666666667rem;line-height:1.3333333333rem;font-weight:600}.subtitle2,.w-table-th-text,.w-panel-subtitle-text,.w-input-small-label-text-typography,.w-input-small-label-text,.w-edit-select-small-label,.w-input-small-label-disabled,.w-edit-select-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.3333333333rem;font-weight:600}.body,.w-table-td-text,.w-chip-text,.w-panel-content,.w-input-small-select-options-text,:host ::ng-deep .w-edit-select-small .p-dropdown-panel .p-dropdown-items .p-dropdown-item,.w-input-small-placeholder-text-typography,.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text,:host ::ng-deep .w-edit-select-small .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.3333333333rem;font-weight:400}.caption,.w-error-message,.w-input-error-alert-text,.w-input-warning-alert-text,.w-input-success-alert-text{font-size:.6666666667rem;line-height:1rem;font-weight:400}.text846{color:#2e3134}.text700{color:#5f6368}.text500{color:#9aa0a6}.textWhite{color:#fff}.spacingXXS{padding:4px}.spacingXSM{padding:6px}.spacingXS{padding:8px}.spacingS{padding:12px}.spacingM{padding:16px}.spacingL{padding:20px}.spacingXL{padding:24px}.spacingXXL{padding:28px}.spacingXXXL{padding:32px}.focus,:host ::ng-deep .w-edit-select-medium .p-dropdown:not(.p-disabled).p-focus,:host ::ng-deep .w-edit-select-small .p-dropdown:not(.p-disabled).p-focus{box-shadow:0 0 8px #00a6e980}.hover{border-radius:8px;border:1px solid #00b2eb}.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-tertiary-label-text,.w-button-small-text-label-text{color:#2e3134}.w-button-small-icon-text{font-size:12px}.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:400;line-height:16px}.w-button-medium-tertiary-label-text{color:#2e3134}.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:400;line-height:24px}.w-button-large-tertiary-label-text{color:#2e3134}.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,.w-view-small-value-text{color:#2e3134}.w-input-no-label-height{height:36px}.w-input-disabled,:host ::ng-deep .w-edit-select-medium .p-disabled,:host ::ng-deep .w-edit-select-small .p-disabled{background-color:#f1f3f4;border-color:#e8eaed;opacity:1}.w-input-small-label-text,.w-edit-select-small-label,.w-input-small-label-disabled,.w-edit-select-small-label-disabled{color:#2e3134}.w-input-small-label-disabled,.w-edit-select-small-label-disabled{color:#9aa0a6}.w-input-small-label-text-content,.w-edit-select-medium-label-disabled,.w-edit-select-medium-label,.w-edit-select-small-label-disabled,.w-edit-select-small-label{padding:12px 8px 8px 0;margin:0}.w-input-small-placeholder-text,:host ::ng-deep .w-edit-select-small .p-inputtext{color:#2e3134}.w-input-small-placeholder-text-only-color,:host ::ng-deep .w-edit-select-small .p-dropdown .p-placeholder{color:#2e3134}.w-input-small-placeholder-text-disabled{color:#5f6368}.w-input-small-placeholder-text-disabled-only-color,:host ::ng-deep .w-edit-select-small .p-disabled .p-inputtext{color:#5f6368}.w-input-small-text-icon{color:#2e3134}.w-input-small-select-options-text,:host ::ng-deep .w-edit-select-small .p-dropdown-panel .p-dropdown-items .p-dropdown-item{color:#2e3134}.w-input-medium-label-text-typography,.w-input-medium-label-text,.w-edit-select-medium-label,.w-input-medium-label-disabled,.w-edit-select-medium-label-disabled{font-size:14px;font-weight:600;line-height:16px}.w-input-medium-label-text,.w-edit-select-medium-label,.w-input-medium-label-disabled,.w-edit-select-medium-label-disabled{color:#2e3134}.w-input-medium-label-disabled,.w-edit-select-medium-label-disabled{color:#9aa0a6}.w-input-medium-placeholder-text-typography,.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text,:host ::ng-deep .w-edit-select-medium .p-inputtext{font-size:16px;font-weight:400;line-height:24px}.w-input-medium-placeholder-text,:host ::ng-deep .w-edit-select-medium .p-inputtext{color:#2e3134}.w-input-medium-placeholder-text-only-color,:host ::ng-deep .w-edit-select-medium .p-dropdown .p-placeholder{color:#2e3134}.w-input-medium-placeholder-text-disabled{color:#5f6368}.w-input-medium-placeholder-text-disabled-only-color,:host ::ng-deep .w-edit-select-medium .p-disabled .p-inputtext{color:#5f6368}.w-input-medium-text-icon{color:#2e3134}.w-input-medium-select-options-text,:host ::ng-deep .w-edit-select-medium .p-dropdown-panel .p-dropdown-items .p-dropdown-item{font-size:16px;font-weight:400;line-height:24px;color:#2e3134}.w-input-success-alert-text{color:#00db5d;padding:8px 8px 0;margin-top:0}.w-input-warning-alert-text{color:#eeae00;padding:8px 8px 0;margin-top:0}.w-input-error-alert-text{color:#e50000;padding:8px 8px 0;margin-top:0}.w-input-alert-message-height{height:32px}.w-sidebar-title-text,.w-panel-title-text,.w-panel-subtitle-text{color:#2e3134}.w-panel-content{color:#5f6368}.w-tab-text,.w-chip-text{color:#2e3134}.w-badge-text{font-size:8px;font-weight:700;line-height:8px}.w-table-th-text{color:#2e3134}.w-table-td-text{color:#5f6368}.w-edit-select-field{margin:0}:host ::ng-deep .w-edit-select-small .p-dropdown{border-width:1px;border-radius:8px;border-color:#e8eaed}:host ::ng-deep .w-edit-select-small .p-dropdown.p-dropdown-clearable .p-dropdown-label{padding-right:28px}:host ::ng-deep .w-edit-select-small .p-inputtext{padding:7px 11px;align-self:center}:host ::ng-deep .w-edit-select-small .p-dropdown:not(.p-disabled):hover{border:1px solid #00b2eb}:host ::ng-deep .w-edit-select-small .p-dropdown:not(.p-disabled).p-focus{border:1px solid #d6f2ff}:host ::ng-deep .w-edit-select-small .p-dropdown .p-dropdown-trigger{width:auto;height:28px;padding-right:12px}:host ::ng-deep .w-edit-select-small .p-dropdown-panel{padding:8px}:host ::ng-deep .w-edit-select-small .p-dropdown-panel .p-dropdown-items{padding:0}:host ::ng-deep .w-edit-select-small .p-dropdown-panel .p-dropdown-items .p-dropdown-item{padding:8px;margin-bottom:4px}:host ::ng-deep .w-edit-select-small .p-dropdown-panel .p-dropdown-items .p-dropdown-item:hover{background:#d6f2ff;border-radius:8px}:host ::ng-deep .w-edit-select-small .p-dropdown-panel .p-dropdown-items .p-dropdown-item.p-highlight{background:#d6f2ff;border-radius:8px;color:#000}:host ::ng-deep .w-edit-select-medium .p-dropdown{border-width:1px;border-radius:8px;border-color:#e8eaed}:host ::ng-deep .w-edit-select-medium .p-inputtext{padding:7px 0 7px 15px}:host ::ng-deep .w-edit-select-medium .p-dropdown:not(.p-disabled):hover{border:1px solid #00b2eb}:host ::ng-deep .w-edit-select-medium .p-dropdown:not(.p-disabled).p-focus{border:1px solid #d6f2ff}:host ::ng-deep .w-edit-select-medium .p-dropdown .p-dropdown-trigger{width:24px;padding:8px 24px}:host ::ng-deep .w-edit-select-medium .p-dropdown-panel{padding:8px 8px 16px}:host ::ng-deep .w-edit-select-medium .p-dropdown-panel .p-dropdown-items{padding:0}:host ::ng-deep .w-edit-select-medium .p-dropdown-panel .p-dropdown-items .p-dropdown-item{padding:8px 16px;margin-bottom:4px}:host ::ng-deep .w-edit-select-medium .p-dropdown-panel .p-dropdown-items .p-dropdown-item:hover{background:#d6f2ff;border-radius:8px}:host ::ng-deep .w-edit-select-medium .p-multiselect-panel .p-multiselect-items .p-multiselect-item.p-highlight{background:#d6f2ff;border-radius:8px}:host ::ng-deep .w-edit-select-medium .p-dropdown-panel .p-dropdown-items .p-dropdown-item.p-highlight{background:#d6f2ff;border-radius:8px;color:#000}:host ::ng-deep p-dropdown.w-edit-select-medium.ng-dirty.ng-invalid>.p-dropdown{border-color:#ffbdbd}.w-error-message-container{height:32px}.w-error-message{color:#e50000;padding:8px;margin-top:0}\n"], dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3$2.Dropdown, selector: "p-dropdown", inputs: ["scrollHeight", "filter", "name", "style", "panelStyle", "styleClass", "panelStyleClass", "readonly", "required", "editable", "appendTo", "tabindex", "placeholder", "filterPlaceholder", "filterLocale", "inputId", "selectId", "dataKey", "filterBy", "autofocus", "resetFilterOnHide", "dropdownIcon", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "autoDisplayFirst", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "maxlength", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "autofocusFilter", "overlayDirection", "disabled", "itemSize", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "options", "filterValue"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
746
746
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: WEditSelectComponent, decorators: [{
|
|
747
747
|
type: Component,
|
|
748
748
|
args: [{ selector: 'w-edit-select', providers: [
|
|
@@ -751,7 +751,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImpor
|
|
|
751
751
|
useExisting: forwardRef(() => WEditSelectComponent),
|
|
752
752
|
multi: true
|
|
753
753
|
}
|
|
754
|
-
], template: "<div *ngIf=\"formControl; else noNgControl\" class=\"w-edit-select-field p-fluid field\">\r\n <label *ngIf=\"(label != undefined && label.length > 0)\" htmlFor=\"state\" \r\n [ngClass]=\"{'w-edit-select-small-label' : getSizeName(sizeType.small) == size && !disabled,\r\n 'w-edit-select-small-label-disabled' : getSizeName(sizeType.small) == size && disabled,\r\n 'w-edit-select-medium-label' : getSizeName(sizeType.medium) == size && !disabled,\r\n 'w-edit-select-medium-label-disabled' : getSizeName(sizeType.medium) == size && disabled}\">\r\n {{label}}\r\n </label>\r\n <div *ngIf=\"(label != undefined && label == '')\" class=\"w-input-no-label-height\"></div>\r\n <p-dropdown *ngIf=\"getSizeName(sizeType.medium) == size\" class=\"w-edit-select-medium\" \r\n [ngClass]=\"{'ng-invalid ng-dirty': formControl.dirty && formControl.hasError('required')}\"\r\n [options]=\"options\" \r\n [optionLabel]=\"optionLabel\" \r\n [optionValue]=\"optionValue\" \r\n [placeholder]=\"placeholder\" \r\n [filter]=\"filter\"\r\n [showClear]=\"showClear\" \r\n [required]=\"required\"\r\n [formControl]=\"formControl\" \r\n [appendTo]=\"appendTo\" \r\n (onChange)=\"onOptionSelectForm($event)\">\r\n </p-dropdown>\r\n <p-dropdown *ngIf=\"getSizeName(sizeType.small) == size\" class=\"w-edit-select-small\" \r\n [ngClass]=\"{'ng-invalid ng-dirty': formControl.dirty && formControl.hasError('required')}\"\r\n [options]=\"options\" \r\n [optionLabel]=\"optionLabel\" \r\n [optionValue]=\"optionValue\" \r\n [filter]=\"filter\"\r\n [placeholder]=\"placeholder\" \r\n [showClear]=\"showClear\"\r\n [required]=\"required\"\r\n [formControl]=\"formControl\"\r\n [appendTo]=\"appendTo\" \r\n (onChange)=\"onOptionSelectForm($event)\">\r\n </p-dropdown>\r\n <small *ngIf=\"getSizeName(sizeType.medium) == size && formControl.dirty && formControl.hasError('required')\" \r\n class=\"w-error-message-container w-full w-error-message p-error block\">{{errorDescription}}</small> \r\n</div>\r\n<ng-template #noNgControl>\r\n <div class=\"w-edit-select-field p-fluid field\">\r\n <label *ngIf=\"(label != undefined && label.length > 0)\" htmlFor=\"state\" \r\n [ngClass]=\"{'w-edit-select-small-label' : getSizeName(sizeType.small) == size && !disabled,\r\n 'w-edit-select-small-label-disabled' : getSizeName(sizeType.small) == size && disabled,\r\n 'w-edit-select-medium-label' : getSizeName(sizeType.medium) == size && !disabled,\r\n 'w-edit-select-medium-label-disabled' : getSizeName(sizeType.medium) == size && disabled}\">\r\n {{label}}\r\n </label>\r\n <div *ngIf=\"(label != undefined && label == '')\" class=\"w-input-no-label-height\"></div>\r\n <p-dropdown *ngIf=\"getSizeName(sizeType.medium) == size\" class=\"w-edit-select-medium\" \r\n [options]=\"options\" \r\n [optionLabel]=\"optionLabel\" \r\n [optionValue]=\"optionValue\" \r\n [filter]=\"filter\"\r\n [placeholder]=\"placeholder\" \r\n [disabled]=\"disabled\" [(ngModel)]=\"ngModelValue\" (ngModelChange)=\"onOptionSelected()\" [showClear]=\"showClear\"\r\n [appendTo]=\"appendTo\">\r\n </p-dropdown>\r\n <p-dropdown *ngIf=\"getSizeName(sizeType.small) == size\" class=\"w-edit-select-small\" \r\n [options]=\"options\" \r\n [filter]=\"filter\"\r\n [optionLabel]=\"optionLabel\" \r\n [optionValue]=\"optionValue\" \r\n [placeholder]=\"placeholder\" \r\n [disabled]=\"disabled\" [(ngModel)]=\"ngModelValue\" (ngModelChange)=\"onOptionSelected()\" [showClear]=\"showClear\"\r\n [appendTo]=\"appendTo\">\r\n </p-dropdown>\r\n </div>\r\n</ng-template>", 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:400}.heading5{font-size:1.5rem;line-height:1.8333333333rem;font-weight:600}.heading6{font-size:1.3333333333rem;line-height:1.6666666667rem;font-weight:400}.subtitle1,.w-tab-text,.w-panel-title-text,.w-sidebar-title-text{font-size:1.1666666667rem;line-height:1.3333333333rem;font-weight:600}.subtitle2,.w-table-th-text,.w-panel-subtitle-text,.w-input-small-label-text-typography,.w-input-small-label-text,.w-edit-select-small-label,.w-input-small-label-disabled,.w-edit-select-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.3333333333rem;font-weight:600}.body,.w-table-td-text,.w-chip-text,.w-panel-content,.w-input-small-select-options-text,:host ::ng-deep .w-edit-select-small .p-dropdown-panel .p-dropdown-items .p-dropdown-item,.w-input-small-placeholder-text-typography,.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text,:host ::ng-deep .w-edit-select-small .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.3333333333rem;font-weight:400}.caption,.w-error-message,.w-input-error-alert-text,.w-input-warning-alert-text,.w-input-success-alert-text{font-size:.6666666667rem;line-height:1rem;font-weight:400}.text846{color:#2e3134}.text700{color:#5f6368}.text500{color:#9aa0a6}.textWhite{color:#fff}.spacingXXS{padding:4px}.spacingXSM{padding:6px}.spacingXS{padding:8px}.spacingS{padding:12px}.spacingM{padding:16px}.spacingL{padding:20px}.spacingXL{padding:24px}.spacingXXL{padding:28px}.spacingXXXL{padding:32px}.focus,:host ::ng-deep .w-edit-select-medium .p-dropdown:not(.p-disabled).p-focus,:host ::ng-deep .w-edit-select-small .p-dropdown:not(.p-disabled).p-focus{box-shadow:0 0 8px #00a6e980}.hover{border-radius:8px;border:1px solid #00b2eb}.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-tertiary-label-text,.w-button-small-text-label-text{color:#2e3134}.w-button-small-icon-text{font-size:12px}.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:400;line-height:16px}.w-button-medium-tertiary-label-text{color:#2e3134}.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:400;line-height:24px}.w-button-large-tertiary-label-text{color:#2e3134}.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,.w-view-small-value-text{color:#2e3134}.w-input-no-label-height{height:36px}.w-input-disabled,:host ::ng-deep .w-edit-select-medium .p-disabled,:host ::ng-deep .w-edit-select-small .p-disabled{background-color:#f1f3f4;border-color:#e8eaed;opacity:1}.w-input-small-label-text,.w-edit-select-small-label,.w-input-small-label-disabled,.w-edit-select-small-label-disabled{color:#2e3134}.w-input-small-label-disabled,.w-edit-select-small-label-disabled{color:#9aa0a6}.w-input-small-label-text-content,.w-edit-select-medium-label-disabled,.w-edit-select-medium-label,.w-edit-select-small-label-disabled,.w-edit-select-small-label{padding:12px 8px 8px 0;margin:0}.w-input-small-placeholder-text,:host ::ng-deep .w-edit-select-small .p-inputtext{color:#2e3134}.w-input-small-placeholder-text-only-color,:host ::ng-deep .w-edit-select-small .p-dropdown .p-placeholder{color:#2e3134}.w-input-small-placeholder-text-disabled{color:#5f6368}.w-input-small-placeholder-text-disabled-only-color,:host ::ng-deep .w-edit-select-small .p-disabled .p-inputtext{color:#5f6368}.w-input-small-text-icon{color:#2e3134}.w-input-small-select-options-text,:host ::ng-deep .w-edit-select-small .p-dropdown-panel .p-dropdown-items .p-dropdown-item{color:#2e3134}.w-input-medium-label-text-typography,.w-input-medium-label-text,.w-edit-select-medium-label,.w-input-medium-label-disabled,.w-edit-select-medium-label-disabled{font-size:14px;font-weight:600;line-height:16px}.w-input-medium-label-text,.w-edit-select-medium-label,.w-input-medium-label-disabled,.w-edit-select-medium-label-disabled{color:#2e3134}.w-input-medium-label-disabled,.w-edit-select-medium-label-disabled{color:#9aa0a6}.w-input-medium-placeholder-text-typography,.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text,:host ::ng-deep .w-edit-select-medium .p-inputtext{font-size:16px;font-weight:400;line-height:24px}.w-input-medium-placeholder-text,:host ::ng-deep .w-edit-select-medium .p-inputtext{color:#2e3134}.w-input-medium-placeholder-text-only-color,:host ::ng-deep .w-edit-select-medium .p-dropdown .p-placeholder{color:#2e3134}.w-input-medium-placeholder-text-disabled{color:#5f6368}.w-input-medium-placeholder-text-disabled-only-color,:host ::ng-deep .w-edit-select-medium .p-disabled .p-inputtext{color:#5f6368}.w-input-medium-text-icon{color:#2e3134}.w-input-medium-select-options-text,:host ::ng-deep .w-edit-select-medium .p-dropdown-panel .p-dropdown-items .p-dropdown-item{font-size:16px;font-weight:400;line-height:24px;color:#2e3134}.w-input-success-alert-text{color:#00db5d;padding:8px 8px 0;margin-top:0}.w-input-warning-alert-text{color:#eeae00;padding:8px 8px 0;margin-top:0}.w-input-error-alert-text{color:#e50000;padding:8px 8px 0;margin-top:0}.w-input-alert-message-height{height:32px}.w-sidebar-title-text,.w-panel-title-text,.w-panel-subtitle-text{color:#2e3134}.w-panel-content{color:#5f6368}.w-tab-text,.w-chip-text{color:#2e3134}.w-badge-text{font-size:8px;font-weight:700;line-height:8px}.w-table-th-text{color:#2e3134}.w-table-td-text{color:#5f6368}.w-edit-select-field{margin:0}:host ::ng-deep .w-edit-select-small .p-dropdown{border-width:1px;border-radius:8px;border-color:#e8eaed}:host ::ng-deep .w-edit-select-small .p-dropdown.p-dropdown-clearable .p-dropdown-label{padding-right:28px}:host ::ng-deep .w-edit-select-small .p-inputtext{padding:7px 11px;align-self:center}:host ::ng-deep .w-edit-select-small .p-dropdown:not(.p-disabled):hover{border:1px solid #00b2eb}:host ::ng-deep .w-edit-select-small .p-dropdown:not(.p-disabled).p-focus{border:1px solid #d6f2ff}:host ::ng-deep .w-edit-select-small .p-dropdown .p-dropdown-trigger{width:auto;height:28px;padding-right:12px}:host ::ng-deep .w-edit-select-small .p-dropdown-panel{padding:8px}:host ::ng-deep .w-edit-select-small .p-dropdown-panel .p-dropdown-items{padding:0}:host ::ng-deep .w-edit-select-small .p-dropdown-panel .p-dropdown-items .p-dropdown-item{padding:8px;margin-bottom:4px}:host ::ng-deep .w-edit-select-small .p-dropdown-panel .p-dropdown-items .p-dropdown-item:hover{background:#d6f2ff;border-radius:8px}:host ::ng-deep .w-edit-select-small .p-dropdown-panel .p-dropdown-items .p-dropdown-item.p-highlight{background:#d6f2ff;border-radius:8px;color:#000}:host ::ng-deep .w-edit-select-medium .p-dropdown{border-width:1px;border-radius:8px;border-color:#e8eaed}:host ::ng-deep .w-edit-select-medium .p-inputtext{padding:7px 0 7px 15px}:host ::ng-deep .w-edit-select-medium .p-dropdown:not(.p-disabled):hover{border:1px solid #00b2eb}:host ::ng-deep .w-edit-select-medium .p-dropdown:not(.p-disabled).p-focus{border:1px solid #d6f2ff}:host ::ng-deep .w-edit-select-medium .p-dropdown .p-dropdown-trigger{width:24px;padding:8px 24px}:host ::ng-deep .w-edit-select-medium .p-dropdown-panel{padding:8px 8px 16px}:host ::ng-deep .w-edit-select-medium .p-dropdown-panel .p-dropdown-items{padding:0}:host ::ng-deep .w-edit-select-medium .p-dropdown-panel .p-dropdown-items .p-dropdown-item{padding:8px 16px;margin-bottom:4px}:host ::ng-deep .w-edit-select-medium .p-dropdown-panel .p-dropdown-items .p-dropdown-item:hover{background:#d6f2ff;border-radius:8px}:host ::ng-deep .w-edit-select-medium .p-multiselect-panel .p-multiselect-items .p-multiselect-item.p-highlight{background:#d6f2ff;border-radius:8px}:host ::ng-deep .w-edit-select-medium .p-dropdown-panel .p-dropdown-items .p-dropdown-item.p-highlight{background:#d6f2ff;border-radius:8px;color:#000}:host ::ng-deep p-dropdown.w-edit-select-medium.ng-dirty.ng-invalid>.p-dropdown{border-color:#ffbdbd}.w-error-message-container{height:32px}.w-error-message{color:#e50000;padding:8px;margin-top:0}\n"] }]
|
|
754
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div *ngIf=\"formControl; else noNgControl\" class=\"w-edit-select-field p-fluid field\">\r\n <label *ngIf=\"(label != undefined && label.length > 0)\" htmlFor=\"state\" \r\n [ngClass]=\"{'w-edit-select-small-label' : getSizeName(sizeType.small) == size && !disabled,\r\n 'w-edit-select-small-label-disabled' : getSizeName(sizeType.small) == size && disabled,\r\n 'w-edit-select-medium-label' : getSizeName(sizeType.medium) == size && !disabled,\r\n 'w-edit-select-medium-label-disabled' : getSizeName(sizeType.medium) == size && disabled}\">\r\n {{label}}\r\n </label>\r\n <div *ngIf=\"(label != undefined && label == '')\" class=\"w-input-no-label-height\"></div>\r\n <p-dropdown *ngIf=\"getSizeName(sizeType.medium) == size\" class=\"w-edit-select-medium\" \r\n [ngClass]=\"{'ng-invalid ng-dirty': formControl.dirty && formControl.hasError('required')}\"\r\n [options]=\"options\" \r\n [optionLabel]=\"optionLabel\" \r\n [optionValue]=\"optionValue\" \r\n [placeholder]=\"placeholder\" \r\n [filter]=\"filter\"\r\n [showClear]=\"showClear\" \r\n [required]=\"required\"\r\n [formControl]=\"formControl\" \r\n [appendTo]=\"appendTo\" \r\n (onChange)=\"onOptionSelectForm($event)\">\r\n </p-dropdown>\r\n <p-dropdown *ngIf=\"getSizeName(sizeType.small) == size\" class=\"w-edit-select-small\" \r\n [ngClass]=\"{'ng-invalid ng-dirty': formControl.dirty && formControl.hasError('required')}\"\r\n [options]=\"options\" \r\n [optionLabel]=\"optionLabel\" \r\n [optionValue]=\"optionValue\" \r\n [filter]=\"filter\"\r\n [placeholder]=\"placeholder\" \r\n [showClear]=\"showClear\"\r\n [required]=\"required\"\r\n [formControl]=\"formControl\"\r\n [appendTo]=\"appendTo\" \r\n (onChange)=\"onOptionSelectForm($event)\">\r\n </p-dropdown>\r\n <small *ngIf=\"getSizeName(sizeType.medium) == size && formControl.dirty && formControl.hasError('required')\" \r\n class=\"w-error-message-container w-full w-error-message p-error block\">{{errorDescription}}</small> \r\n</div>\r\n<ng-template #noNgControl>\r\n <div class=\"w-edit-select-field p-fluid field\">\r\n <label *ngIf=\"(label != undefined && label.length > 0)\" htmlFor=\"state\" \r\n [ngClass]=\"{'w-edit-select-small-label' : getSizeName(sizeType.small) == size && !disabled,\r\n 'w-edit-select-small-label-disabled' : getSizeName(sizeType.small) == size && disabled,\r\n 'w-edit-select-medium-label' : getSizeName(sizeType.medium) == size && !disabled,\r\n 'w-edit-select-medium-label-disabled' : getSizeName(sizeType.medium) == size && disabled}\">\r\n {{label}}\r\n </label>\r\n <div *ngIf=\"(label != undefined && label == '')\" class=\"w-input-no-label-height\"></div>\r\n <p-dropdown *ngIf=\"getSizeName(sizeType.medium) == size\" class=\"w-edit-select-medium\" \r\n [options]=\"options\" \r\n [optionLabel]=\"optionLabel\" \r\n [optionValue]=\"optionValue\" \r\n [filter]=\"filter\"\r\n [placeholder]=\"placeholder\" \r\n [disabled]=\"disabled\" [(ngModel)]=\"ngModelValue\" (onChange)=\"onOptionSelected()\" [showClear]=\"showClear\"\r\n [appendTo]=\"appendTo\">\r\n </p-dropdown>\r\n <p-dropdown *ngIf=\"getSizeName(sizeType.small) == size\" class=\"w-edit-select-small\" \r\n [options]=\"options\" \r\n [filter]=\"filter\"\r\n [optionLabel]=\"optionLabel\" \r\n [optionValue]=\"optionValue\" \r\n [placeholder]=\"placeholder\" \r\n [disabled]=\"disabled\" [(ngModel)]=\"ngModelValue\" (onChange)=\"onOptionSelected()\" [showClear]=\"showClear\"\r\n [appendTo]=\"appendTo\">\r\n </p-dropdown>\r\n </div>\r\n</ng-template>", 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:400}.heading5{font-size:1.5rem;line-height:1.8333333333rem;font-weight:600}.heading6{font-size:1.3333333333rem;line-height:1.6666666667rem;font-weight:400}.subtitle1,.w-tab-text,.w-panel-title-text,.w-sidebar-title-text{font-size:1.1666666667rem;line-height:1.3333333333rem;font-weight:600}.subtitle2,.w-table-th-text,.w-panel-subtitle-text,.w-input-small-label-text-typography,.w-input-small-label-text,.w-edit-select-small-label,.w-input-small-label-disabled,.w-edit-select-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.3333333333rem;font-weight:600}.body,.w-table-td-text,.w-chip-text,.w-panel-content,.w-input-small-select-options-text,:host ::ng-deep .w-edit-select-small .p-dropdown-panel .p-dropdown-items .p-dropdown-item,.w-input-small-placeholder-text-typography,.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text,:host ::ng-deep .w-edit-select-small .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.3333333333rem;font-weight:400}.caption,.w-error-message,.w-input-error-alert-text,.w-input-warning-alert-text,.w-input-success-alert-text{font-size:.6666666667rem;line-height:1rem;font-weight:400}.text846{color:#2e3134}.text700{color:#5f6368}.text500{color:#9aa0a6}.textWhite{color:#fff}.spacingXXS{padding:4px}.spacingXSM{padding:6px}.spacingXS{padding:8px}.spacingS{padding:12px}.spacingM{padding:16px}.spacingL{padding:20px}.spacingXL{padding:24px}.spacingXXL{padding:28px}.spacingXXXL{padding:32px}.focus,:host ::ng-deep .w-edit-select-medium .p-dropdown:not(.p-disabled).p-focus,:host ::ng-deep .w-edit-select-small .p-dropdown:not(.p-disabled).p-focus{box-shadow:0 0 8px #00a6e980}.hover{border-radius:8px;border:1px solid #00b2eb}.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-tertiary-label-text,.w-button-small-text-label-text{color:#2e3134}.w-button-small-icon-text{font-size:12px}.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:400;line-height:16px}.w-button-medium-tertiary-label-text{color:#2e3134}.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:400;line-height:24px}.w-button-large-tertiary-label-text{color:#2e3134}.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,.w-view-small-value-text{color:#2e3134}.w-input-no-label-height{height:36px}.w-input-disabled,:host ::ng-deep .w-edit-select-medium .p-disabled,:host ::ng-deep .w-edit-select-small .p-disabled{background-color:#f1f3f4;border-color:#e8eaed;opacity:1}.w-input-small-label-text,.w-edit-select-small-label,.w-input-small-label-disabled,.w-edit-select-small-label-disabled{color:#2e3134}.w-input-small-label-disabled,.w-edit-select-small-label-disabled{color:#9aa0a6}.w-input-small-label-text-content,.w-edit-select-medium-label-disabled,.w-edit-select-medium-label,.w-edit-select-small-label-disabled,.w-edit-select-small-label{padding:12px 8px 8px 0;margin:0}.w-input-small-placeholder-text,:host ::ng-deep .w-edit-select-small .p-inputtext{color:#2e3134}.w-input-small-placeholder-text-only-color,:host ::ng-deep .w-edit-select-small .p-dropdown .p-placeholder{color:#2e3134}.w-input-small-placeholder-text-disabled{color:#5f6368}.w-input-small-placeholder-text-disabled-only-color,:host ::ng-deep .w-edit-select-small .p-disabled .p-inputtext{color:#5f6368}.w-input-small-text-icon{color:#2e3134}.w-input-small-select-options-text,:host ::ng-deep .w-edit-select-small .p-dropdown-panel .p-dropdown-items .p-dropdown-item{color:#2e3134}.w-input-medium-label-text-typography,.w-input-medium-label-text,.w-edit-select-medium-label,.w-input-medium-label-disabled,.w-edit-select-medium-label-disabled{font-size:14px;font-weight:600;line-height:16px}.w-input-medium-label-text,.w-edit-select-medium-label,.w-input-medium-label-disabled,.w-edit-select-medium-label-disabled{color:#2e3134}.w-input-medium-label-disabled,.w-edit-select-medium-label-disabled{color:#9aa0a6}.w-input-medium-placeholder-text-typography,.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text,:host ::ng-deep .w-edit-select-medium .p-inputtext{font-size:16px;font-weight:400;line-height:24px}.w-input-medium-placeholder-text,:host ::ng-deep .w-edit-select-medium .p-inputtext{color:#2e3134}.w-input-medium-placeholder-text-only-color,:host ::ng-deep .w-edit-select-medium .p-dropdown .p-placeholder{color:#2e3134}.w-input-medium-placeholder-text-disabled{color:#5f6368}.w-input-medium-placeholder-text-disabled-only-color,:host ::ng-deep .w-edit-select-medium .p-disabled .p-inputtext{color:#5f6368}.w-input-medium-text-icon{color:#2e3134}.w-input-medium-select-options-text,:host ::ng-deep .w-edit-select-medium .p-dropdown-panel .p-dropdown-items .p-dropdown-item{font-size:16px;font-weight:400;line-height:24px;color:#2e3134}.w-input-success-alert-text{color:#00db5d;padding:8px 8px 0;margin-top:0}.w-input-warning-alert-text{color:#eeae00;padding:8px 8px 0;margin-top:0}.w-input-error-alert-text{color:#e50000;padding:8px 8px 0;margin-top:0}.w-input-alert-message-height{height:32px}.w-sidebar-title-text,.w-panel-title-text,.w-panel-subtitle-text{color:#2e3134}.w-panel-content{color:#5f6368}.w-tab-text,.w-chip-text{color:#2e3134}.w-badge-text{font-size:8px;font-weight:700;line-height:8px}.w-table-th-text{color:#2e3134}.w-table-td-text{color:#5f6368}.w-edit-select-field{margin:0}:host ::ng-deep .w-edit-select-small .p-dropdown{border-width:1px;border-radius:8px;border-color:#e8eaed}:host ::ng-deep .w-edit-select-small .p-dropdown.p-dropdown-clearable .p-dropdown-label{padding-right:28px}:host ::ng-deep .w-edit-select-small .p-inputtext{padding:7px 11px;align-self:center}:host ::ng-deep .w-edit-select-small .p-dropdown:not(.p-disabled):hover{border:1px solid #00b2eb}:host ::ng-deep .w-edit-select-small .p-dropdown:not(.p-disabled).p-focus{border:1px solid #d6f2ff}:host ::ng-deep .w-edit-select-small .p-dropdown .p-dropdown-trigger{width:auto;height:28px;padding-right:12px}:host ::ng-deep .w-edit-select-small .p-dropdown-panel{padding:8px}:host ::ng-deep .w-edit-select-small .p-dropdown-panel .p-dropdown-items{padding:0}:host ::ng-deep .w-edit-select-small .p-dropdown-panel .p-dropdown-items .p-dropdown-item{padding:8px;margin-bottom:4px}:host ::ng-deep .w-edit-select-small .p-dropdown-panel .p-dropdown-items .p-dropdown-item:hover{background:#d6f2ff;border-radius:8px}:host ::ng-deep .w-edit-select-small .p-dropdown-panel .p-dropdown-items .p-dropdown-item.p-highlight{background:#d6f2ff;border-radius:8px;color:#000}:host ::ng-deep .w-edit-select-medium .p-dropdown{border-width:1px;border-radius:8px;border-color:#e8eaed}:host ::ng-deep .w-edit-select-medium .p-inputtext{padding:7px 0 7px 15px}:host ::ng-deep .w-edit-select-medium .p-dropdown:not(.p-disabled):hover{border:1px solid #00b2eb}:host ::ng-deep .w-edit-select-medium .p-dropdown:not(.p-disabled).p-focus{border:1px solid #d6f2ff}:host ::ng-deep .w-edit-select-medium .p-dropdown .p-dropdown-trigger{width:24px;padding:8px 24px}:host ::ng-deep .w-edit-select-medium .p-dropdown-panel{padding:8px 8px 16px}:host ::ng-deep .w-edit-select-medium .p-dropdown-panel .p-dropdown-items{padding:0}:host ::ng-deep .w-edit-select-medium .p-dropdown-panel .p-dropdown-items .p-dropdown-item{padding:8px 16px;margin-bottom:4px}:host ::ng-deep .w-edit-select-medium .p-dropdown-panel .p-dropdown-items .p-dropdown-item:hover{background:#d6f2ff;border-radius:8px}:host ::ng-deep .w-edit-select-medium .p-multiselect-panel .p-multiselect-items .p-multiselect-item.p-highlight{background:#d6f2ff;border-radius:8px}:host ::ng-deep .w-edit-select-medium .p-dropdown-panel .p-dropdown-items .p-dropdown-item.p-highlight{background:#d6f2ff;border-radius:8px;color:#000}:host ::ng-deep p-dropdown.w-edit-select-medium.ng-dirty.ng-invalid>.p-dropdown{border-color:#ffbdbd}.w-error-message-container{height:32px}.w-error-message{color:#e50000;padding:8px;margin-top:0}\n"] }]
|
|
755
755
|
}], propDecorators: { label: [{
|
|
756
756
|
type: Input,
|
|
757
757
|
args: ['label']
|
|
@@ -1590,7 +1590,7 @@ WEditMultiselectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.
|
|
|
1590
1590
|
useExisting: forwardRef(() => WEditMultiselectComponent),
|
|
1591
1591
|
multi: true
|
|
1592
1592
|
}
|
|
1593
|
-
], ngImport: i0, template: "<div *ngIf=\"formControl; else noNgControl\" class=\"w-edit-multiselect-field p-fluid field\">\r\n <label *ngIf=\"(label != undefined && label.length > 0)\" \r\n [ngClass]=\"{'w-edit-multiselect-small-label' : getSizeName(sizeType.small) == size && !disabled, \r\n 'w-edit-multiselect-small-label-disabled' : getSizeName(sizeType.small) == size && disabled,\r\n 'w-edit-multiselect-medium-label' : getSizeName(sizeType.medium) == size && !disabled,\r\n 'w-edit-multiselect-medium-label-disabled' : getSizeName(sizeType.medium) == size && disabled}\">\r\n {{label}}\r\n </label>\r\n <div *ngIf=\"(label != undefined && label == '')\" class=\"w-input-no-label-height\"></div>\r\n <p-multiSelect *ngIf=\"getSizeName(sizeType.medium) == size\" class=\"w-edit-multiselect-medium\" \r\n [options]=\"options\" \r\n display=\"chip\" \r\n [optionLabel]=\"optionLabel\" \r\n [optionValue]=\"optionValue\" \r\n [placeholder]=\"placeholder\" \r\n [required]=\"required\" \r\n [formControl]=\"formControl\"\r\n [appendTo]=\"appendTo\"\r\n [showClear]=\"showClear\" \r\n (onChange)=\"onOptionSelectedForm($event)\">\r\n </p-multiSelect>\r\n <p-multiSelect *ngIf=\"getSizeName(sizeType.small) == size\" class=\"w-edit-multiselect-small\" \r\n [options]=\"options\" \r\n display=\"chip\" \r\n [optionLabel]=\"optionLabel\" \r\n [optionValue]=\"optionValue\" \r\n [placeholder]=\"placeholder\"\r\n [required]=\"required\" \r\n [formControl]=\"formControl\"\r\n [appendTo]=\"appendTo\"\r\n [showClear]=\"showClear\" \r\n (onChange)=\"onOptionSelectedForm($event)\">\r\n </p-multiSelect>\r\n <small *ngIf=\"getSizeName(sizeType.medium) == size && formControl.dirty && formControl.hasError('required')\" class=\"w-error-message-container w-full w-error-message p-error block\">{{errorDescription}}</small>\r\n</div>\r\n<ng-template #noNgControl>\r\n <div class=\"w-edit-multiselect-field p-fluid field\">\r\n <label *ngIf=\"(label != undefined && label.length > 0)\" \r\n [ngClass]=\"{'w-edit-multiselect-small-label' : getSizeName(sizeType.small) == size && !disabled, \r\n 'w-edit-multiselect-small-label-disabled' : getSizeName(sizeType.small) == size && disabled,\r\n 'w-edit-multiselect-medium-label' : getSizeName(sizeType.medium) == size && !disabled,\r\n 'w-edit-multiselect-medium-label-disabled' : getSizeName(sizeType.medium) == size && disabled}\">\r\n {{label}}\r\n </label>\r\n <div *ngIf=\"(label != undefined && label == '')\" class=\"w-input-no-label-height\"></div>\r\n <p-multiSelect *ngIf=\"getSizeName(sizeType.medium) == size\" class=\"w-edit-multiselect-medium\" \r\n [options]=\"options\" \r\n display=\"chip\" \r\n [optionLabel]=\"optionLabel\" \r\n [optionValue]=\"optionValue\" \r\n [placeholder]=\"placeholder\" \r\n [disabled]=\"disabled\" \r\n [(ngModel)]=\"ngModelValue\" \r\n (ngModelChange)=\"onOptionSelected()\" \r\n [appendTo]=\"appendTo\"\r\n [showClear]=\"showClear\"> \r\n </p-multiSelect>\r\n <p-multiSelect *ngIf=\"getSizeName(sizeType.small) == size\" class=\"w-edit-multiselect-small\" \r\n [options]=\"options\" \r\n display=\"chip\" \r\n [optionLabel]=\"optionLabel\" \r\n [optionValue]=\"optionValue\" \r\n [placeholder]=\"placeholder\"\r\n [disabled]=\"disabled\" \r\n [(ngModel)]=\"ngModelValue\" \r\n (ngModelChange)=\"onOptionSelected()\" \r\n [appendTo]=\"appendTo\"\r\n [showClear]=\"showClear\">\r\n </p-multiSelect>\r\n </div>\r\n</ng-template>", 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:400}.heading5{font-size:1.5rem;line-height:1.8333333333rem;font-weight:600}.heading6{font-size:1.3333333333rem;line-height:1.6666666667rem;font-weight:400}.subtitle1,.w-tab-text,.w-panel-title-text,.w-sidebar-title-text{font-size:1.1666666667rem;line-height:1.3333333333rem;font-weight:600}.subtitle2,.w-table-th-text,.w-panel-subtitle-text,.w-input-small-label-text-typography,.w-input-small-label-text,.w-edit-multiselect-small-label,.w-input-small-label-disabled,.w-edit-multiselect-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.3333333333rem;font-weight:600}.body,.w-table-td-text,.w-chip-text,.w-panel-content,.w-input-small-select-options-text,:host ::ng-deep .w-edit-multiselect-small .p-multiselect-panel .p-multiselect-items .p-multiselect-item,.w-input-small-placeholder-text-typography,.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text,:host ::ng-deep .w-edit-multiselect-small .p-multiselect-panel .p-multiselect-header .p-multiselect-filter-container .p-inputtext,:host ::ng-deep .w-edit-multiselect-small .p-multiselect-label,.w-view-small-value-text-typography,.w-view-small-value-text,.w-button-small-label-text-typography,:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-token,.w-button-small-tertiary-label-text{font-size:1rem;line-height:1.3333333333rem;font-weight:400}.caption,.w-error-message,.w-input-error-alert-text,.w-input-warning-alert-text,.w-input-success-alert-text{font-size:.6666666667rem;line-height:1rem;font-weight:400}.text846{color:#2e3134}.text700{color:#5f6368}.text500{color:#9aa0a6}.textWhite{color:#fff}.spacingXXS{padding:4px}.spacingXSM{padding:6px}.spacingXS{padding:8px}.spacingS{padding:12px}.spacingM{padding:16px}.spacingL{padding:20px}.spacingXL{padding:24px}.spacingXXL{padding:28px}.spacingXXXL{padding:32px}.focus,:host ::ng-deep .w-edit-multiselect-medium .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box.p-focus,:host ::ng-deep .w-edit-multiselect-medium .p-multiselect.p-focus,:host ::ng-deep .w-edit-multiselect-small .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box.p-focus,:host ::ng-deep .w-edit-multiselect-small .p-multiselect.p-focus{box-shadow:0 0 8px #00a6e980}.hover{border-radius:8px;border:1px solid #00b2eb}.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-tertiary-label-text,.w-button-small-text-label-text{color:#2e3134}.w-button-small-icon-text{font-size:12px}.w-control-button-small-label-text{font-size:12px;font-weight:600;line-height:16px}.w-control-button-x-small-icon-text,:host ::ng-deep .w-edit-multiselect-small .p-multiselect-token .p-multiselect-token-icon{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:400;line-height:16px}.w-button-medium-tertiary-label-text{color:#2e3134}.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,:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-token .p-multiselect-token-icon{font-size:12px;font-weight:700}.w-button-large-label-text-typography,.w-button-large-tertiary-label-text{font-size:20px;font-weight:400;line-height:24px}.w-button-large-tertiary-label-text{color:#2e3134}.w-button-x-small-label-text,:host ::ng-deep .w-edit-multiselect-small .p-multiselect-token{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,.w-view-small-value-text{color:#2e3134}.w-input-no-label-height{height:36px}.w-input-disabled,:host ::ng-deep .w-edit-multiselect-medium .p-disabled,:host ::ng-deep .w-edit-multiselect-small .p-disabled{background-color:#f1f3f4;border-color:#e8eaed;opacity:1}.w-input-small-label-text,.w-edit-multiselect-small-label,.w-input-small-label-disabled,.w-edit-multiselect-small-label-disabled{color:#2e3134}.w-input-small-label-disabled,.w-edit-multiselect-small-label-disabled{color:#9aa0a6}.w-input-small-label-text-content,.w-edit-multiselect-medium-label-disabled,.w-edit-multiselect-medium-label,.w-edit-multiselect-small-label-disabled,.w-edit-multiselect-small-label{padding:12px 8px 8px 0;margin:0}.w-input-small-placeholder-text,:host ::ng-deep .w-edit-multiselect-small .p-multiselect-panel .p-multiselect-header .p-multiselect-filter-container .p-inputtext,:host ::ng-deep .w-edit-multiselect-small .p-multiselect-label{color:#2e3134}.w-input-small-placeholder-text-only-color,:host ::ng-deep .w-edit-multiselect-small .p-multiselect .p-multiselect-label.p-placeholder{color:#2e3134}.w-input-small-placeholder-text-disabled{color:#5f6368}.w-input-small-placeholder-text-disabled-only-color,:host ::ng-deep .w-edit-multiselect-small .p-disabled .p-multiselect-label.p-placeholder{color:#5f6368}.w-input-small-text-icon{color:#2e3134}.w-input-small-select-options-text,:host ::ng-deep .w-edit-multiselect-small .p-multiselect-panel .p-multiselect-items .p-multiselect-item{color:#2e3134}.w-input-medium-label-text-typography,.w-input-medium-label-text,.w-edit-multiselect-medium-label,.w-input-medium-label-disabled,.w-edit-multiselect-medium-label-disabled{font-size:14px;font-weight:600;line-height:16px}.w-input-medium-label-text,.w-edit-multiselect-medium-label,.w-input-medium-label-disabled,.w-edit-multiselect-medium-label-disabled{color:#2e3134}.w-input-medium-label-disabled,.w-edit-multiselect-medium-label-disabled{color:#9aa0a6}.w-input-medium-placeholder-text-typography,.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text,:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-label{font-size:16px;font-weight:400;line-height:24px}.w-input-medium-placeholder-text,:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-label{color:#2e3134}.w-input-medium-placeholder-text-only-color,:host ::ng-deep .w-edit-multiselect-medium .p-multiselect .p-multiselect-label.p-placeholder{color:#2e3134}.w-input-medium-placeholder-text-disabled{color:#5f6368}.w-input-medium-placeholder-text-disabled-only-color,:host ::ng-deep .w-edit-multiselect-medium .p-disabled .p-multiselect-label.p-placeholder{color:#5f6368}.w-input-medium-text-icon{color:#2e3134}.w-input-medium-select-options-text,:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-panel .p-multiselect-items .p-multiselect-item{font-size:16px;font-weight:400;line-height:24px;color:#2e3134}.w-input-success-alert-text{color:#00db5d;padding:8px 8px 0;margin-top:0}.w-input-warning-alert-text{color:#eeae00;padding:8px 8px 0;margin-top:0}.w-input-error-alert-text{color:#e50000;padding:8px 8px 0;margin-top:0}.w-input-alert-message-height{height:32px}.w-sidebar-title-text,.w-panel-title-text,.w-panel-subtitle-text{color:#2e3134}.w-panel-content{color:#5f6368}.w-tab-text,.w-chip-text{color:#2e3134}.w-badge-text{font-size:8px;font-weight:700;line-height:8px}.w-table-th-text{color:#2e3134}.w-table-td-text{color:#5f6368}.w-edit-multiselect-field{margin:0}:host ::ng-deep .w-edit-multiselect-small .p-multiselect{border:1px solid #e8eaed;border-radius:8px}:host ::ng-deep p-multiselect.w-edit-multiselect-small.p-multiselect-clearable .p-multiselect-label-container{padding-right:20px}:host ::ng-deep .w-edit-multiselect-small .p-multiselect:hover{border:1px solid #00b2eb}:host ::ng-deep .w-edit-multiselect-small .p-multiselect.p-focus{border:1px solid #d6f2ff}:host ::ng-deep .w-edit-multiselect-small .p-multiselect-label{padding:7px 0 7px 11px}:host ::ng-deep .w-edit-multiselect-small .p-multiselect.p-multiselect-chip .p-multiselect-label{padding:7px 0 7px 12px}:host ::ng-deep .w-edit-multiselect-small .p-multiselect-token{height:16px;padding:3px 12px;border-radius:7px;border-width:1px}:host ::ng-deep .w-edit-multiselect-small .p-multiselect-panel{border:1px solid #e8eaed}:host ::ng-deep .w-edit-multiselect-small .p-multiselect-panel .p-multiselect-header .p-multiselect-filter-container .p-inputtext{padding:7px 35px 7px 11px;align-self:center}:host ::ng-deep .w-edit-multiselect-small .p-multiselect-panel .p-multiselect-items{padding:8px}:host ::ng-deep .w-edit-multiselect-small .p-multiselect-panel .p-multiselect-items .p-multiselect-item{padding:7px;margin-bottom:4px}:host ::ng-deep .w-edit-multiselect-small .p-multiselect-panel .p-multiselect-items .p-multiselect-item:hover{background:#d6f2ff;border-radius:8px}:host ::ng-deep .w-edit-multiselect-small .p-multiselect-panel .p-multiselect-items .p-multiselect-item.p-highlight{background:#d6f2ff;border-radius:8px}:host ::ng-deep .w-edit-multiselect-small .p-multiselect-panel .p-multiselect-items .p-multiselect-item:not(.p-highlight):not(.p-disabled):hover{background:#d6f2ff;border-radius:8px}:host ::ng-deep .w-edit-multiselect-small .p-checkbox{height:16px;width:16px;border-width:1px}:host ::ng-deep .w-edit-multiselect-small .p-checkbox .p-checkbox-box{height:16px;width:16px;border-radius:4px;border:1px solid #dadce0;align-self:center}:host ::ng-deep .w-edit-multiselect-small .p-checkbox .p-checkbox-box .p-checkbox-icon{font-size:8px;font-weight:700}:host ::ng-deep .w-edit-multiselect-small .p-checkbox .p-checkbox-box.p-highlight{border-color:#00b2eb;background:#00b2eb}:host ::ng-deep .w-edit-multiselect-small .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box:hover{background-color:#dadce0;border:1px solid #dadce0}:host ::ng-deep .w-edit-multiselect-small .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box.p-focus{background-color:#00b2eb;border:1px solid #d6f2ff}:host ::ng-deep .w-edit-multiselect-small .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box:not(.p-highlight).p-focus{background-color:#dadce0;border:1px solid #dadce0}:host ::ng-deep .w-edit-multiselect-small .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box.p-highlight:hover{border-color:#00b2eb;background:#00b2eb}:host ::ng-deep .w-edit-multiselect-small .p-multiselect-panel .p-multiselect-header{padding:7px 15px}:host ::ng-deep .w-edit-multiselect-medium .p-multiselect{border:1px solid #e8eaed;border-radius:8px}:host ::ng-deep .w-edit-multiselect-medium .p-multiselect:hover{border:1px solid #00b2eb}:host ::ng-deep .w-edit-multiselect-medium .p-multiselect.p-focus{border:1px solid #d6f2ff}:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-label{padding:7px 0 7px 15px}:host ::ng-deep .w-edit-multiselect-medium .p-multiselect.p-multiselect-chip .p-multiselect-label{padding:7px 0 7px 15px}:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-token{height:24px;padding:6px 12px}:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-panel{border:1px solid #e8eaed}:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-panel .p-multiselect-items{padding:7px 7px 15px}:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-panel .p-multiselect-items .p-multiselect-item{padding:8px 16px;margin-bottom:4px}:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-panel .p-multiselect-items .p-multiselect-item:hover{background:#d6f2ff;border-radius:8px}:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-panel .p-multiselect-items .p-multiselect-item.p-highlight{background:#d6f2ff;border-radius:8px}:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-panel .p-multiselect-items .p-multiselect-item:not(.p-highlight):not(.p-disabled):hover{background:#d6f2ff;border-radius:8px}:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-panel .p-multiselect-items .p-multiselect-item .p-checkbox,:host ::ng-deep .w-edit-multiselect-small .p-multiselect-panel .p-multiselect-items .p-multiselect-item .p-checkbox,:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-panel .p-multiselect-header .p-checkbox,:host ::ng-deep .w-edit-multiselect-small .p-multiselect-panel .p-multiselect-header .p-checkbox{margin-right:12px}:host ::ng-deep .w-edit-multiselect-medium .p-checkbox{height:24px;width:24px;border-width:1px}:host ::ng-deep .w-edit-multiselect-medium .p-checkbox .p-checkbox-box{height:24px;width:24px;border-radius:4px;border:1px solid #dadce0;align-self:center}:host ::ng-deep .w-edit-multiselect-medium .p-checkbox .p-checkbox-box .p-checkbox-icon{font-size:12px;font-weight:700}:host ::ng-deep .w-edit-multiselect-medium .p-checkbox .p-checkbox-box.p-highlight{border-color:#00b2eb;background:#00b2eb}:host ::ng-deep .w-edit-multiselect-medium .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box:hover{background-color:#dadce0;border:1px solid #dadce0}:host ::ng-deep .w-edit-multiselect-medium .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box.p-focus{background-color:#00b2eb;border:1px solid #d6f2ff}:host ::ng-deep .w-edit-multiselect-medium .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box:not(.p-highlight).p-focus{background-color:#dadce0;border:1px solid #dadce0}:host ::ng-deep .w-edit-multiselect-medium .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box.p-highlight:hover{border-color:#00b2eb;background:#00b2eb}:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-panel .p-multiselect-header{padding:7px 23px}:host ::ng-deep p-multiselect.w-edit-multiselect-medium.ng-dirty.ng-invalid>.p-multiselect{border-color:#ffbdbd}.w-error-message-container{height:32px}.w-error-message{color:#e50000;padding:8px;margin-top:0}\n"], dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i9$1.MultiSelect, selector: "p-multiSelect", inputs: ["style", "styleClass", "panelStyle", "panelStyleClass", "inputId", "disabled", "readonly", "group", "filter", "filterPlaceHolder", "filterLocale", "overlayVisible", "tabindex", "appendTo", "dataKey", "name", "label", "ariaLabelledBy", "displaySelectedLabel", "maxSelectedLabels", "selectionLimit", "selectedItemsLabel", "showToggleAll", "emptyFilterMessage", "emptyMessage", "resetFilterOnHide", "dropdownIcon", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "showHeader", "filterBy", "scrollHeight", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "filterMatchMode", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "autofocusFilter", "display", "autocomplete", "showClear", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "defaultLabel", "placeholder", "options", "filterValue", "itemSize"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onClear", "onPanelShow", "onPanelHide", "onLazyLoad", "onRemove"] }] });
|
|
1593
|
+
], ngImport: i0, template: "<div *ngIf=\"formControl; else noNgControl\" class=\"w-edit-multiselect-field p-fluid field\">\r\n <label *ngIf=\"(label != undefined && label.length > 0)\" \r\n [ngClass]=\"{'w-edit-multiselect-small-label' : getSizeName(sizeType.small) == size && !disabled, \r\n 'w-edit-multiselect-small-label-disabled' : getSizeName(sizeType.small) == size && disabled,\r\n 'w-edit-multiselect-medium-label' : getSizeName(sizeType.medium) == size && !disabled,\r\n 'w-edit-multiselect-medium-label-disabled' : getSizeName(sizeType.medium) == size && disabled}\">\r\n {{label}}\r\n </label>\r\n <div *ngIf=\"(label != undefined && label == '')\" class=\"w-input-no-label-height\"></div>\r\n <p-multiSelect *ngIf=\"getSizeName(sizeType.medium) == size\" class=\"w-edit-multiselect-medium\" \r\n [options]=\"options\" \r\n display=\"chip\" \r\n [optionLabel]=\"optionLabel\" \r\n [optionValue]=\"optionValue\" \r\n [placeholder]=\"placeholder\" \r\n [required]=\"required\" \r\n [formControl]=\"formControl\"\r\n [appendTo]=\"appendTo\"\r\n [showClear]=\"showClear\" \r\n (onChange)=\"onOptionSelectedForm($event)\">\r\n </p-multiSelect>\r\n <p-multiSelect *ngIf=\"getSizeName(sizeType.small) == size\" class=\"w-edit-multiselect-small\" \r\n [options]=\"options\" \r\n display=\"chip\" \r\n [optionLabel]=\"optionLabel\" \r\n [optionValue]=\"optionValue\" \r\n [placeholder]=\"placeholder\"\r\n [required]=\"required\" \r\n [formControl]=\"formControl\"\r\n [appendTo]=\"appendTo\"\r\n [showClear]=\"showClear\" \r\n (onChange)=\"onOptionSelectedForm($event)\">\r\n </p-multiSelect>\r\n <small *ngIf=\"getSizeName(sizeType.medium) == size && formControl.dirty && formControl.hasError('required')\" class=\"w-error-message-container w-full w-error-message p-error block\">{{errorDescription}}</small>\r\n</div>\r\n<ng-template #noNgControl>\r\n <div class=\"w-edit-multiselect-field p-fluid field\">\r\n <label *ngIf=\"(label != undefined && label.length > 0)\" \r\n [ngClass]=\"{'w-edit-multiselect-small-label' : getSizeName(sizeType.small) == size && !disabled, \r\n 'w-edit-multiselect-small-label-disabled' : getSizeName(sizeType.small) == size && disabled,\r\n 'w-edit-multiselect-medium-label' : getSizeName(sizeType.medium) == size && !disabled,\r\n 'w-edit-multiselect-medium-label-disabled' : getSizeName(sizeType.medium) == size && disabled}\">\r\n {{label}}\r\n </label>\r\n <div *ngIf=\"(label != undefined && label == '')\" class=\"w-input-no-label-height\"></div>\r\n <p-multiSelect *ngIf=\"getSizeName(sizeType.medium) == size\" class=\"w-edit-multiselect-medium\" \r\n [options]=\"options\" \r\n display=\"chip\" \r\n [optionLabel]=\"optionLabel\" \r\n [optionValue]=\"optionValue\" \r\n [placeholder]=\"placeholder\" \r\n [disabled]=\"disabled\" \r\n [(ngModel)]=\"ngModelValue\" \r\n (onChange)=\"onOptionSelected()\" \r\n [appendTo]=\"appendTo\"\r\n [showClear]=\"showClear\"> \r\n </p-multiSelect>\r\n <p-multiSelect *ngIf=\"getSizeName(sizeType.small) == size\" class=\"w-edit-multiselect-small\" \r\n [options]=\"options\" \r\n display=\"chip\" \r\n [optionLabel]=\"optionLabel\" \r\n [optionValue]=\"optionValue\" \r\n [placeholder]=\"placeholder\"\r\n [disabled]=\"disabled\" \r\n [(ngModel)]=\"ngModelValue\" \r\n (onChange)=\"onOptionSelected()\" \r\n [appendTo]=\"appendTo\"\r\n [showClear]=\"showClear\">\r\n </p-multiSelect>\r\n </div>\r\n</ng-template>", 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:400}.heading5{font-size:1.5rem;line-height:1.8333333333rem;font-weight:600}.heading6{font-size:1.3333333333rem;line-height:1.6666666667rem;font-weight:400}.subtitle1,.w-tab-text,.w-panel-title-text,.w-sidebar-title-text{font-size:1.1666666667rem;line-height:1.3333333333rem;font-weight:600}.subtitle2,.w-table-th-text,.w-panel-subtitle-text,.w-input-small-label-text-typography,.w-input-small-label-text,.w-edit-multiselect-small-label,.w-input-small-label-disabled,.w-edit-multiselect-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.3333333333rem;font-weight:600}.body,.w-table-td-text,.w-chip-text,.w-panel-content,.w-input-small-select-options-text,:host ::ng-deep .w-edit-multiselect-small .p-multiselect-panel .p-multiselect-items .p-multiselect-item,.w-input-small-placeholder-text-typography,.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text,:host ::ng-deep .w-edit-multiselect-small .p-multiselect-panel .p-multiselect-header .p-multiselect-filter-container .p-inputtext,:host ::ng-deep .w-edit-multiselect-small .p-multiselect-label,.w-view-small-value-text-typography,.w-view-small-value-text,.w-button-small-label-text-typography,:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-token,.w-button-small-tertiary-label-text{font-size:1rem;line-height:1.3333333333rem;font-weight:400}.caption,.w-error-message,.w-input-error-alert-text,.w-input-warning-alert-text,.w-input-success-alert-text{font-size:.6666666667rem;line-height:1rem;font-weight:400}.text846{color:#2e3134}.text700{color:#5f6368}.text500{color:#9aa0a6}.textWhite{color:#fff}.spacingXXS{padding:4px}.spacingXSM{padding:6px}.spacingXS{padding:8px}.spacingS{padding:12px}.spacingM{padding:16px}.spacingL{padding:20px}.spacingXL{padding:24px}.spacingXXL{padding:28px}.spacingXXXL{padding:32px}.focus,:host ::ng-deep .w-edit-multiselect-medium .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box.p-focus,:host ::ng-deep .w-edit-multiselect-medium .p-multiselect.p-focus,:host ::ng-deep .w-edit-multiselect-small .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box.p-focus,:host ::ng-deep .w-edit-multiselect-small .p-multiselect.p-focus{box-shadow:0 0 8px #00a6e980}.hover{border-radius:8px;border:1px solid #00b2eb}.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-tertiary-label-text,.w-button-small-text-label-text{color:#2e3134}.w-button-small-icon-text{font-size:12px}.w-control-button-small-label-text{font-size:12px;font-weight:600;line-height:16px}.w-control-button-x-small-icon-text,:host ::ng-deep .w-edit-multiselect-small .p-multiselect-token .p-multiselect-token-icon{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:400;line-height:16px}.w-button-medium-tertiary-label-text{color:#2e3134}.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,:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-token .p-multiselect-token-icon{font-size:12px;font-weight:700}.w-button-large-label-text-typography,.w-button-large-tertiary-label-text{font-size:20px;font-weight:400;line-height:24px}.w-button-large-tertiary-label-text{color:#2e3134}.w-button-x-small-label-text,:host ::ng-deep .w-edit-multiselect-small .p-multiselect-token{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,.w-view-small-value-text{color:#2e3134}.w-input-no-label-height{height:36px}.w-input-disabled,:host ::ng-deep .w-edit-multiselect-medium .p-disabled,:host ::ng-deep .w-edit-multiselect-small .p-disabled{background-color:#f1f3f4;border-color:#e8eaed;opacity:1}.w-input-small-label-text,.w-edit-multiselect-small-label,.w-input-small-label-disabled,.w-edit-multiselect-small-label-disabled{color:#2e3134}.w-input-small-label-disabled,.w-edit-multiselect-small-label-disabled{color:#9aa0a6}.w-input-small-label-text-content,.w-edit-multiselect-medium-label-disabled,.w-edit-multiselect-medium-label,.w-edit-multiselect-small-label-disabled,.w-edit-multiselect-small-label{padding:12px 8px 8px 0;margin:0}.w-input-small-placeholder-text,:host ::ng-deep .w-edit-multiselect-small .p-multiselect-panel .p-multiselect-header .p-multiselect-filter-container .p-inputtext,:host ::ng-deep .w-edit-multiselect-small .p-multiselect-label{color:#2e3134}.w-input-small-placeholder-text-only-color,:host ::ng-deep .w-edit-multiselect-small .p-multiselect .p-multiselect-label.p-placeholder{color:#2e3134}.w-input-small-placeholder-text-disabled{color:#5f6368}.w-input-small-placeholder-text-disabled-only-color,:host ::ng-deep .w-edit-multiselect-small .p-disabled .p-multiselect-label.p-placeholder{color:#5f6368}.w-input-small-text-icon{color:#2e3134}.w-input-small-select-options-text,:host ::ng-deep .w-edit-multiselect-small .p-multiselect-panel .p-multiselect-items .p-multiselect-item{color:#2e3134}.w-input-medium-label-text-typography,.w-input-medium-label-text,.w-edit-multiselect-medium-label,.w-input-medium-label-disabled,.w-edit-multiselect-medium-label-disabled{font-size:14px;font-weight:600;line-height:16px}.w-input-medium-label-text,.w-edit-multiselect-medium-label,.w-input-medium-label-disabled,.w-edit-multiselect-medium-label-disabled{color:#2e3134}.w-input-medium-label-disabled,.w-edit-multiselect-medium-label-disabled{color:#9aa0a6}.w-input-medium-placeholder-text-typography,.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text,:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-label{font-size:16px;font-weight:400;line-height:24px}.w-input-medium-placeholder-text,:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-label{color:#2e3134}.w-input-medium-placeholder-text-only-color,:host ::ng-deep .w-edit-multiselect-medium .p-multiselect .p-multiselect-label.p-placeholder{color:#2e3134}.w-input-medium-placeholder-text-disabled{color:#5f6368}.w-input-medium-placeholder-text-disabled-only-color,:host ::ng-deep .w-edit-multiselect-medium .p-disabled .p-multiselect-label.p-placeholder{color:#5f6368}.w-input-medium-text-icon{color:#2e3134}.w-input-medium-select-options-text,:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-panel .p-multiselect-items .p-multiselect-item{font-size:16px;font-weight:400;line-height:24px;color:#2e3134}.w-input-success-alert-text{color:#00db5d;padding:8px 8px 0;margin-top:0}.w-input-warning-alert-text{color:#eeae00;padding:8px 8px 0;margin-top:0}.w-input-error-alert-text{color:#e50000;padding:8px 8px 0;margin-top:0}.w-input-alert-message-height{height:32px}.w-sidebar-title-text,.w-panel-title-text,.w-panel-subtitle-text{color:#2e3134}.w-panel-content{color:#5f6368}.w-tab-text,.w-chip-text{color:#2e3134}.w-badge-text{font-size:8px;font-weight:700;line-height:8px}.w-table-th-text{color:#2e3134}.w-table-td-text{color:#5f6368}.w-edit-multiselect-field{margin:0}:host ::ng-deep .w-edit-multiselect-small .p-multiselect{border:1px solid #e8eaed;border-radius:8px}:host ::ng-deep p-multiselect.w-edit-multiselect-small.p-multiselect-clearable .p-multiselect-label-container{padding-right:20px}:host ::ng-deep .w-edit-multiselect-small .p-multiselect:hover{border:1px solid #00b2eb}:host ::ng-deep .w-edit-multiselect-small .p-multiselect.p-focus{border:1px solid #d6f2ff}:host ::ng-deep .w-edit-multiselect-small .p-multiselect-label{padding:7px 0 7px 11px}:host ::ng-deep .w-edit-multiselect-small .p-multiselect.p-multiselect-chip .p-multiselect-label{padding:7px 0 7px 12px}:host ::ng-deep .w-edit-multiselect-small .p-multiselect-token{height:16px;padding:3px 12px;border-radius:7px;border-width:1px}:host ::ng-deep .w-edit-multiselect-small .p-multiselect-panel{border:1px solid #e8eaed}:host ::ng-deep .w-edit-multiselect-small .p-multiselect-panel .p-multiselect-header .p-multiselect-filter-container .p-inputtext{padding:7px 35px 7px 11px;align-self:center}:host ::ng-deep .w-edit-multiselect-small .p-multiselect-panel .p-multiselect-items{padding:8px}:host ::ng-deep .w-edit-multiselect-small .p-multiselect-panel .p-multiselect-items .p-multiselect-item{padding:7px;margin-bottom:4px}:host ::ng-deep .w-edit-multiselect-small .p-multiselect-panel .p-multiselect-items .p-multiselect-item:hover{background:#d6f2ff;border-radius:8px}:host ::ng-deep .w-edit-multiselect-small .p-multiselect-panel .p-multiselect-items .p-multiselect-item.p-highlight{background:#d6f2ff;border-radius:8px}:host ::ng-deep .w-edit-multiselect-small .p-multiselect-panel .p-multiselect-items .p-multiselect-item:not(.p-highlight):not(.p-disabled):hover{background:#d6f2ff;border-radius:8px}:host ::ng-deep .w-edit-multiselect-small .p-checkbox{height:16px;width:16px;border-width:1px}:host ::ng-deep .w-edit-multiselect-small .p-checkbox .p-checkbox-box{height:16px;width:16px;border-radius:4px;border:1px solid #dadce0;align-self:center}:host ::ng-deep .w-edit-multiselect-small .p-checkbox .p-checkbox-box .p-checkbox-icon{font-size:8px;font-weight:700}:host ::ng-deep .w-edit-multiselect-small .p-checkbox .p-checkbox-box.p-highlight{border-color:#00b2eb;background:#00b2eb}:host ::ng-deep .w-edit-multiselect-small .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box:hover{background-color:#dadce0;border:1px solid #dadce0}:host ::ng-deep .w-edit-multiselect-small .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box.p-focus{background-color:#00b2eb;border:1px solid #d6f2ff}:host ::ng-deep .w-edit-multiselect-small .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box:not(.p-highlight).p-focus{background-color:#dadce0;border:1px solid #dadce0}:host ::ng-deep .w-edit-multiselect-small .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box.p-highlight:hover{border-color:#00b2eb;background:#00b2eb}:host ::ng-deep .w-edit-multiselect-small .p-multiselect-panel .p-multiselect-header{padding:7px 15px}:host ::ng-deep .w-edit-multiselect-medium .p-multiselect{border:1px solid #e8eaed;border-radius:8px}:host ::ng-deep .w-edit-multiselect-medium .p-multiselect:hover{border:1px solid #00b2eb}:host ::ng-deep .w-edit-multiselect-medium .p-multiselect.p-focus{border:1px solid #d6f2ff}:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-label{padding:7px 0 7px 15px}:host ::ng-deep .w-edit-multiselect-medium .p-multiselect.p-multiselect-chip .p-multiselect-label{padding:7px 0 7px 15px}:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-token{height:24px;padding:6px 12px}:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-panel{border:1px solid #e8eaed}:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-panel .p-multiselect-items{padding:7px 7px 15px}:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-panel .p-multiselect-items .p-multiselect-item{padding:8px 16px;margin-bottom:4px}:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-panel .p-multiselect-items .p-multiselect-item:hover{background:#d6f2ff;border-radius:8px}:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-panel .p-multiselect-items .p-multiselect-item.p-highlight{background:#d6f2ff;border-radius:8px}:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-panel .p-multiselect-items .p-multiselect-item:not(.p-highlight):not(.p-disabled):hover{background:#d6f2ff;border-radius:8px}:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-panel .p-multiselect-items .p-multiselect-item .p-checkbox,:host ::ng-deep .w-edit-multiselect-small .p-multiselect-panel .p-multiselect-items .p-multiselect-item .p-checkbox,:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-panel .p-multiselect-header .p-checkbox,:host ::ng-deep .w-edit-multiselect-small .p-multiselect-panel .p-multiselect-header .p-checkbox{margin-right:12px}:host ::ng-deep .w-edit-multiselect-medium .p-checkbox{height:24px;width:24px;border-width:1px}:host ::ng-deep .w-edit-multiselect-medium .p-checkbox .p-checkbox-box{height:24px;width:24px;border-radius:4px;border:1px solid #dadce0;align-self:center}:host ::ng-deep .w-edit-multiselect-medium .p-checkbox .p-checkbox-box .p-checkbox-icon{font-size:12px;font-weight:700}:host ::ng-deep .w-edit-multiselect-medium .p-checkbox .p-checkbox-box.p-highlight{border-color:#00b2eb;background:#00b2eb}:host ::ng-deep .w-edit-multiselect-medium .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box:hover{background-color:#dadce0;border:1px solid #dadce0}:host ::ng-deep .w-edit-multiselect-medium .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box.p-focus{background-color:#00b2eb;border:1px solid #d6f2ff}:host ::ng-deep .w-edit-multiselect-medium .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box:not(.p-highlight).p-focus{background-color:#dadce0;border:1px solid #dadce0}:host ::ng-deep .w-edit-multiselect-medium .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box.p-highlight:hover{border-color:#00b2eb;background:#00b2eb}:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-panel .p-multiselect-header{padding:7px 23px}:host ::ng-deep p-multiselect.w-edit-multiselect-medium.ng-dirty.ng-invalid>.p-multiselect{border-color:#ffbdbd}.w-error-message-container{height:32px}.w-error-message{color:#e50000;padding:8px;margin-top:0}\n"], dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i9$1.MultiSelect, selector: "p-multiSelect", inputs: ["style", "styleClass", "panelStyle", "panelStyleClass", "inputId", "disabled", "readonly", "group", "filter", "filterPlaceHolder", "filterLocale", "overlayVisible", "tabindex", "appendTo", "dataKey", "name", "label", "ariaLabelledBy", "displaySelectedLabel", "maxSelectedLabels", "selectionLimit", "selectedItemsLabel", "showToggleAll", "emptyFilterMessage", "emptyMessage", "resetFilterOnHide", "dropdownIcon", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "showHeader", "filterBy", "scrollHeight", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "filterMatchMode", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "autofocusFilter", "display", "autocomplete", "showClear", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "defaultLabel", "placeholder", "options", "filterValue", "itemSize"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onClear", "onPanelShow", "onPanelHide", "onLazyLoad", "onRemove"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1594
1594
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: WEditMultiselectComponent, decorators: [{
|
|
1595
1595
|
type: Component,
|
|
1596
1596
|
args: [{ selector: 'w-edit-multiselect', providers: [
|
|
@@ -1599,7 +1599,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImpor
|
|
|
1599
1599
|
useExisting: forwardRef(() => WEditMultiselectComponent),
|
|
1600
1600
|
multi: true
|
|
1601
1601
|
}
|
|
1602
|
-
], template: "<div *ngIf=\"formControl; else noNgControl\" class=\"w-edit-multiselect-field p-fluid field\">\r\n <label *ngIf=\"(label != undefined && label.length > 0)\" \r\n [ngClass]=\"{'w-edit-multiselect-small-label' : getSizeName(sizeType.small) == size && !disabled, \r\n 'w-edit-multiselect-small-label-disabled' : getSizeName(sizeType.small) == size && disabled,\r\n 'w-edit-multiselect-medium-label' : getSizeName(sizeType.medium) == size && !disabled,\r\n 'w-edit-multiselect-medium-label-disabled' : getSizeName(sizeType.medium) == size && disabled}\">\r\n {{label}}\r\n </label>\r\n <div *ngIf=\"(label != undefined && label == '')\" class=\"w-input-no-label-height\"></div>\r\n <p-multiSelect *ngIf=\"getSizeName(sizeType.medium) == size\" class=\"w-edit-multiselect-medium\" \r\n [options]=\"options\" \r\n display=\"chip\" \r\n [optionLabel]=\"optionLabel\" \r\n [optionValue]=\"optionValue\" \r\n [placeholder]=\"placeholder\" \r\n [required]=\"required\" \r\n [formControl]=\"formControl\"\r\n [appendTo]=\"appendTo\"\r\n [showClear]=\"showClear\" \r\n (onChange)=\"onOptionSelectedForm($event)\">\r\n </p-multiSelect>\r\n <p-multiSelect *ngIf=\"getSizeName(sizeType.small) == size\" class=\"w-edit-multiselect-small\" \r\n [options]=\"options\" \r\n display=\"chip\" \r\n [optionLabel]=\"optionLabel\" \r\n [optionValue]=\"optionValue\" \r\n [placeholder]=\"placeholder\"\r\n [required]=\"required\" \r\n [formControl]=\"formControl\"\r\n [appendTo]=\"appendTo\"\r\n [showClear]=\"showClear\" \r\n (onChange)=\"onOptionSelectedForm($event)\">\r\n </p-multiSelect>\r\n <small *ngIf=\"getSizeName(sizeType.medium) == size && formControl.dirty && formControl.hasError('required')\" class=\"w-error-message-container w-full w-error-message p-error block\">{{errorDescription}}</small>\r\n</div>\r\n<ng-template #noNgControl>\r\n <div class=\"w-edit-multiselect-field p-fluid field\">\r\n <label *ngIf=\"(label != undefined && label.length > 0)\" \r\n [ngClass]=\"{'w-edit-multiselect-small-label' : getSizeName(sizeType.small) == size && !disabled, \r\n 'w-edit-multiselect-small-label-disabled' : getSizeName(sizeType.small) == size && disabled,\r\n 'w-edit-multiselect-medium-label' : getSizeName(sizeType.medium) == size && !disabled,\r\n 'w-edit-multiselect-medium-label-disabled' : getSizeName(sizeType.medium) == size && disabled}\">\r\n {{label}}\r\n </label>\r\n <div *ngIf=\"(label != undefined && label == '')\" class=\"w-input-no-label-height\"></div>\r\n <p-multiSelect *ngIf=\"getSizeName(sizeType.medium) == size\" class=\"w-edit-multiselect-medium\" \r\n [options]=\"options\" \r\n display=\"chip\" \r\n [optionLabel]=\"optionLabel\" \r\n [optionValue]=\"optionValue\" \r\n [placeholder]=\"placeholder\" \r\n [disabled]=\"disabled\" \r\n [(ngModel)]=\"ngModelValue\" \r\n (ngModelChange)=\"onOptionSelected()\" \r\n [appendTo]=\"appendTo\"\r\n [showClear]=\"showClear\"> \r\n </p-multiSelect>\r\n <p-multiSelect *ngIf=\"getSizeName(sizeType.small) == size\" class=\"w-edit-multiselect-small\" \r\n [options]=\"options\" \r\n display=\"chip\" \r\n [optionLabel]=\"optionLabel\" \r\n [optionValue]=\"optionValue\" \r\n [placeholder]=\"placeholder\"\r\n [disabled]=\"disabled\" \r\n [(ngModel)]=\"ngModelValue\" \r\n (ngModelChange)=\"onOptionSelected()\" \r\n [appendTo]=\"appendTo\"\r\n [showClear]=\"showClear\">\r\n </p-multiSelect>\r\n </div>\r\n</ng-template>", 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:400}.heading5{font-size:1.5rem;line-height:1.8333333333rem;font-weight:600}.heading6{font-size:1.3333333333rem;line-height:1.6666666667rem;font-weight:400}.subtitle1,.w-tab-text,.w-panel-title-text,.w-sidebar-title-text{font-size:1.1666666667rem;line-height:1.3333333333rem;font-weight:600}.subtitle2,.w-table-th-text,.w-panel-subtitle-text,.w-input-small-label-text-typography,.w-input-small-label-text,.w-edit-multiselect-small-label,.w-input-small-label-disabled,.w-edit-multiselect-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.3333333333rem;font-weight:600}.body,.w-table-td-text,.w-chip-text,.w-panel-content,.w-input-small-select-options-text,:host ::ng-deep .w-edit-multiselect-small .p-multiselect-panel .p-multiselect-items .p-multiselect-item,.w-input-small-placeholder-text-typography,.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text,:host ::ng-deep .w-edit-multiselect-small .p-multiselect-panel .p-multiselect-header .p-multiselect-filter-container .p-inputtext,:host ::ng-deep .w-edit-multiselect-small .p-multiselect-label,.w-view-small-value-text-typography,.w-view-small-value-text,.w-button-small-label-text-typography,:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-token,.w-button-small-tertiary-label-text{font-size:1rem;line-height:1.3333333333rem;font-weight:400}.caption,.w-error-message,.w-input-error-alert-text,.w-input-warning-alert-text,.w-input-success-alert-text{font-size:.6666666667rem;line-height:1rem;font-weight:400}.text846{color:#2e3134}.text700{color:#5f6368}.text500{color:#9aa0a6}.textWhite{color:#fff}.spacingXXS{padding:4px}.spacingXSM{padding:6px}.spacingXS{padding:8px}.spacingS{padding:12px}.spacingM{padding:16px}.spacingL{padding:20px}.spacingXL{padding:24px}.spacingXXL{padding:28px}.spacingXXXL{padding:32px}.focus,:host ::ng-deep .w-edit-multiselect-medium .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box.p-focus,:host ::ng-deep .w-edit-multiselect-medium .p-multiselect.p-focus,:host ::ng-deep .w-edit-multiselect-small .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box.p-focus,:host ::ng-deep .w-edit-multiselect-small .p-multiselect.p-focus{box-shadow:0 0 8px #00a6e980}.hover{border-radius:8px;border:1px solid #00b2eb}.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-tertiary-label-text,.w-button-small-text-label-text{color:#2e3134}.w-button-small-icon-text{font-size:12px}.w-control-button-small-label-text{font-size:12px;font-weight:600;line-height:16px}.w-control-button-x-small-icon-text,:host ::ng-deep .w-edit-multiselect-small .p-multiselect-token .p-multiselect-token-icon{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:400;line-height:16px}.w-button-medium-tertiary-label-text{color:#2e3134}.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,:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-token .p-multiselect-token-icon{font-size:12px;font-weight:700}.w-button-large-label-text-typography,.w-button-large-tertiary-label-text{font-size:20px;font-weight:400;line-height:24px}.w-button-large-tertiary-label-text{color:#2e3134}.w-button-x-small-label-text,:host ::ng-deep .w-edit-multiselect-small .p-multiselect-token{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,.w-view-small-value-text{color:#2e3134}.w-input-no-label-height{height:36px}.w-input-disabled,:host ::ng-deep .w-edit-multiselect-medium .p-disabled,:host ::ng-deep .w-edit-multiselect-small .p-disabled{background-color:#f1f3f4;border-color:#e8eaed;opacity:1}.w-input-small-label-text,.w-edit-multiselect-small-label,.w-input-small-label-disabled,.w-edit-multiselect-small-label-disabled{color:#2e3134}.w-input-small-label-disabled,.w-edit-multiselect-small-label-disabled{color:#9aa0a6}.w-input-small-label-text-content,.w-edit-multiselect-medium-label-disabled,.w-edit-multiselect-medium-label,.w-edit-multiselect-small-label-disabled,.w-edit-multiselect-small-label{padding:12px 8px 8px 0;margin:0}.w-input-small-placeholder-text,:host ::ng-deep .w-edit-multiselect-small .p-multiselect-panel .p-multiselect-header .p-multiselect-filter-container .p-inputtext,:host ::ng-deep .w-edit-multiselect-small .p-multiselect-label{color:#2e3134}.w-input-small-placeholder-text-only-color,:host ::ng-deep .w-edit-multiselect-small .p-multiselect .p-multiselect-label.p-placeholder{color:#2e3134}.w-input-small-placeholder-text-disabled{color:#5f6368}.w-input-small-placeholder-text-disabled-only-color,:host ::ng-deep .w-edit-multiselect-small .p-disabled .p-multiselect-label.p-placeholder{color:#5f6368}.w-input-small-text-icon{color:#2e3134}.w-input-small-select-options-text,:host ::ng-deep .w-edit-multiselect-small .p-multiselect-panel .p-multiselect-items .p-multiselect-item{color:#2e3134}.w-input-medium-label-text-typography,.w-input-medium-label-text,.w-edit-multiselect-medium-label,.w-input-medium-label-disabled,.w-edit-multiselect-medium-label-disabled{font-size:14px;font-weight:600;line-height:16px}.w-input-medium-label-text,.w-edit-multiselect-medium-label,.w-input-medium-label-disabled,.w-edit-multiselect-medium-label-disabled{color:#2e3134}.w-input-medium-label-disabled,.w-edit-multiselect-medium-label-disabled{color:#9aa0a6}.w-input-medium-placeholder-text-typography,.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text,:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-label{font-size:16px;font-weight:400;line-height:24px}.w-input-medium-placeholder-text,:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-label{color:#2e3134}.w-input-medium-placeholder-text-only-color,:host ::ng-deep .w-edit-multiselect-medium .p-multiselect .p-multiselect-label.p-placeholder{color:#2e3134}.w-input-medium-placeholder-text-disabled{color:#5f6368}.w-input-medium-placeholder-text-disabled-only-color,:host ::ng-deep .w-edit-multiselect-medium .p-disabled .p-multiselect-label.p-placeholder{color:#5f6368}.w-input-medium-text-icon{color:#2e3134}.w-input-medium-select-options-text,:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-panel .p-multiselect-items .p-multiselect-item{font-size:16px;font-weight:400;line-height:24px;color:#2e3134}.w-input-success-alert-text{color:#00db5d;padding:8px 8px 0;margin-top:0}.w-input-warning-alert-text{color:#eeae00;padding:8px 8px 0;margin-top:0}.w-input-error-alert-text{color:#e50000;padding:8px 8px 0;margin-top:0}.w-input-alert-message-height{height:32px}.w-sidebar-title-text,.w-panel-title-text,.w-panel-subtitle-text{color:#2e3134}.w-panel-content{color:#5f6368}.w-tab-text,.w-chip-text{color:#2e3134}.w-badge-text{font-size:8px;font-weight:700;line-height:8px}.w-table-th-text{color:#2e3134}.w-table-td-text{color:#5f6368}.w-edit-multiselect-field{margin:0}:host ::ng-deep .w-edit-multiselect-small .p-multiselect{border:1px solid #e8eaed;border-radius:8px}:host ::ng-deep p-multiselect.w-edit-multiselect-small.p-multiselect-clearable .p-multiselect-label-container{padding-right:20px}:host ::ng-deep .w-edit-multiselect-small .p-multiselect:hover{border:1px solid #00b2eb}:host ::ng-deep .w-edit-multiselect-small .p-multiselect.p-focus{border:1px solid #d6f2ff}:host ::ng-deep .w-edit-multiselect-small .p-multiselect-label{padding:7px 0 7px 11px}:host ::ng-deep .w-edit-multiselect-small .p-multiselect.p-multiselect-chip .p-multiselect-label{padding:7px 0 7px 12px}:host ::ng-deep .w-edit-multiselect-small .p-multiselect-token{height:16px;padding:3px 12px;border-radius:7px;border-width:1px}:host ::ng-deep .w-edit-multiselect-small .p-multiselect-panel{border:1px solid #e8eaed}:host ::ng-deep .w-edit-multiselect-small .p-multiselect-panel .p-multiselect-header .p-multiselect-filter-container .p-inputtext{padding:7px 35px 7px 11px;align-self:center}:host ::ng-deep .w-edit-multiselect-small .p-multiselect-panel .p-multiselect-items{padding:8px}:host ::ng-deep .w-edit-multiselect-small .p-multiselect-panel .p-multiselect-items .p-multiselect-item{padding:7px;margin-bottom:4px}:host ::ng-deep .w-edit-multiselect-small .p-multiselect-panel .p-multiselect-items .p-multiselect-item:hover{background:#d6f2ff;border-radius:8px}:host ::ng-deep .w-edit-multiselect-small .p-multiselect-panel .p-multiselect-items .p-multiselect-item.p-highlight{background:#d6f2ff;border-radius:8px}:host ::ng-deep .w-edit-multiselect-small .p-multiselect-panel .p-multiselect-items .p-multiselect-item:not(.p-highlight):not(.p-disabled):hover{background:#d6f2ff;border-radius:8px}:host ::ng-deep .w-edit-multiselect-small .p-checkbox{height:16px;width:16px;border-width:1px}:host ::ng-deep .w-edit-multiselect-small .p-checkbox .p-checkbox-box{height:16px;width:16px;border-radius:4px;border:1px solid #dadce0;align-self:center}:host ::ng-deep .w-edit-multiselect-small .p-checkbox .p-checkbox-box .p-checkbox-icon{font-size:8px;font-weight:700}:host ::ng-deep .w-edit-multiselect-small .p-checkbox .p-checkbox-box.p-highlight{border-color:#00b2eb;background:#00b2eb}:host ::ng-deep .w-edit-multiselect-small .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box:hover{background-color:#dadce0;border:1px solid #dadce0}:host ::ng-deep .w-edit-multiselect-small .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box.p-focus{background-color:#00b2eb;border:1px solid #d6f2ff}:host ::ng-deep .w-edit-multiselect-small .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box:not(.p-highlight).p-focus{background-color:#dadce0;border:1px solid #dadce0}:host ::ng-deep .w-edit-multiselect-small .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box.p-highlight:hover{border-color:#00b2eb;background:#00b2eb}:host ::ng-deep .w-edit-multiselect-small .p-multiselect-panel .p-multiselect-header{padding:7px 15px}:host ::ng-deep .w-edit-multiselect-medium .p-multiselect{border:1px solid #e8eaed;border-radius:8px}:host ::ng-deep .w-edit-multiselect-medium .p-multiselect:hover{border:1px solid #00b2eb}:host ::ng-deep .w-edit-multiselect-medium .p-multiselect.p-focus{border:1px solid #d6f2ff}:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-label{padding:7px 0 7px 15px}:host ::ng-deep .w-edit-multiselect-medium .p-multiselect.p-multiselect-chip .p-multiselect-label{padding:7px 0 7px 15px}:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-token{height:24px;padding:6px 12px}:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-panel{border:1px solid #e8eaed}:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-panel .p-multiselect-items{padding:7px 7px 15px}:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-panel .p-multiselect-items .p-multiselect-item{padding:8px 16px;margin-bottom:4px}:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-panel .p-multiselect-items .p-multiselect-item:hover{background:#d6f2ff;border-radius:8px}:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-panel .p-multiselect-items .p-multiselect-item.p-highlight{background:#d6f2ff;border-radius:8px}:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-panel .p-multiselect-items .p-multiselect-item:not(.p-highlight):not(.p-disabled):hover{background:#d6f2ff;border-radius:8px}:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-panel .p-multiselect-items .p-multiselect-item .p-checkbox,:host ::ng-deep .w-edit-multiselect-small .p-multiselect-panel .p-multiselect-items .p-multiselect-item .p-checkbox,:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-panel .p-multiselect-header .p-checkbox,:host ::ng-deep .w-edit-multiselect-small .p-multiselect-panel .p-multiselect-header .p-checkbox{margin-right:12px}:host ::ng-deep .w-edit-multiselect-medium .p-checkbox{height:24px;width:24px;border-width:1px}:host ::ng-deep .w-edit-multiselect-medium .p-checkbox .p-checkbox-box{height:24px;width:24px;border-radius:4px;border:1px solid #dadce0;align-self:center}:host ::ng-deep .w-edit-multiselect-medium .p-checkbox .p-checkbox-box .p-checkbox-icon{font-size:12px;font-weight:700}:host ::ng-deep .w-edit-multiselect-medium .p-checkbox .p-checkbox-box.p-highlight{border-color:#00b2eb;background:#00b2eb}:host ::ng-deep .w-edit-multiselect-medium .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box:hover{background-color:#dadce0;border:1px solid #dadce0}:host ::ng-deep .w-edit-multiselect-medium .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box.p-focus{background-color:#00b2eb;border:1px solid #d6f2ff}:host ::ng-deep .w-edit-multiselect-medium .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box:not(.p-highlight).p-focus{background-color:#dadce0;border:1px solid #dadce0}:host ::ng-deep .w-edit-multiselect-medium .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box.p-highlight:hover{border-color:#00b2eb;background:#00b2eb}:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-panel .p-multiselect-header{padding:7px 23px}:host ::ng-deep p-multiselect.w-edit-multiselect-medium.ng-dirty.ng-invalid>.p-multiselect{border-color:#ffbdbd}.w-error-message-container{height:32px}.w-error-message{color:#e50000;padding:8px;margin-top:0}\n"] }]
|
|
1602
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div *ngIf=\"formControl; else noNgControl\" class=\"w-edit-multiselect-field p-fluid field\">\r\n <label *ngIf=\"(label != undefined && label.length > 0)\" \r\n [ngClass]=\"{'w-edit-multiselect-small-label' : getSizeName(sizeType.small) == size && !disabled, \r\n 'w-edit-multiselect-small-label-disabled' : getSizeName(sizeType.small) == size && disabled,\r\n 'w-edit-multiselect-medium-label' : getSizeName(sizeType.medium) == size && !disabled,\r\n 'w-edit-multiselect-medium-label-disabled' : getSizeName(sizeType.medium) == size && disabled}\">\r\n {{label}}\r\n </label>\r\n <div *ngIf=\"(label != undefined && label == '')\" class=\"w-input-no-label-height\"></div>\r\n <p-multiSelect *ngIf=\"getSizeName(sizeType.medium) == size\" class=\"w-edit-multiselect-medium\" \r\n [options]=\"options\" \r\n display=\"chip\" \r\n [optionLabel]=\"optionLabel\" \r\n [optionValue]=\"optionValue\" \r\n [placeholder]=\"placeholder\" \r\n [required]=\"required\" \r\n [formControl]=\"formControl\"\r\n [appendTo]=\"appendTo\"\r\n [showClear]=\"showClear\" \r\n (onChange)=\"onOptionSelectedForm($event)\">\r\n </p-multiSelect>\r\n <p-multiSelect *ngIf=\"getSizeName(sizeType.small) == size\" class=\"w-edit-multiselect-small\" \r\n [options]=\"options\" \r\n display=\"chip\" \r\n [optionLabel]=\"optionLabel\" \r\n [optionValue]=\"optionValue\" \r\n [placeholder]=\"placeholder\"\r\n [required]=\"required\" \r\n [formControl]=\"formControl\"\r\n [appendTo]=\"appendTo\"\r\n [showClear]=\"showClear\" \r\n (onChange)=\"onOptionSelectedForm($event)\">\r\n </p-multiSelect>\r\n <small *ngIf=\"getSizeName(sizeType.medium) == size && formControl.dirty && formControl.hasError('required')\" class=\"w-error-message-container w-full w-error-message p-error block\">{{errorDescription}}</small>\r\n</div>\r\n<ng-template #noNgControl>\r\n <div class=\"w-edit-multiselect-field p-fluid field\">\r\n <label *ngIf=\"(label != undefined && label.length > 0)\" \r\n [ngClass]=\"{'w-edit-multiselect-small-label' : getSizeName(sizeType.small) == size && !disabled, \r\n 'w-edit-multiselect-small-label-disabled' : getSizeName(sizeType.small) == size && disabled,\r\n 'w-edit-multiselect-medium-label' : getSizeName(sizeType.medium) == size && !disabled,\r\n 'w-edit-multiselect-medium-label-disabled' : getSizeName(sizeType.medium) == size && disabled}\">\r\n {{label}}\r\n </label>\r\n <div *ngIf=\"(label != undefined && label == '')\" class=\"w-input-no-label-height\"></div>\r\n <p-multiSelect *ngIf=\"getSizeName(sizeType.medium) == size\" class=\"w-edit-multiselect-medium\" \r\n [options]=\"options\" \r\n display=\"chip\" \r\n [optionLabel]=\"optionLabel\" \r\n [optionValue]=\"optionValue\" \r\n [placeholder]=\"placeholder\" \r\n [disabled]=\"disabled\" \r\n [(ngModel)]=\"ngModelValue\" \r\n (onChange)=\"onOptionSelected()\" \r\n [appendTo]=\"appendTo\"\r\n [showClear]=\"showClear\"> \r\n </p-multiSelect>\r\n <p-multiSelect *ngIf=\"getSizeName(sizeType.small) == size\" class=\"w-edit-multiselect-small\" \r\n [options]=\"options\" \r\n display=\"chip\" \r\n [optionLabel]=\"optionLabel\" \r\n [optionValue]=\"optionValue\" \r\n [placeholder]=\"placeholder\"\r\n [disabled]=\"disabled\" \r\n [(ngModel)]=\"ngModelValue\" \r\n (onChange)=\"onOptionSelected()\" \r\n [appendTo]=\"appendTo\"\r\n [showClear]=\"showClear\">\r\n </p-multiSelect>\r\n </div>\r\n</ng-template>", 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:400}.heading5{font-size:1.5rem;line-height:1.8333333333rem;font-weight:600}.heading6{font-size:1.3333333333rem;line-height:1.6666666667rem;font-weight:400}.subtitle1,.w-tab-text,.w-panel-title-text,.w-sidebar-title-text{font-size:1.1666666667rem;line-height:1.3333333333rem;font-weight:600}.subtitle2,.w-table-th-text,.w-panel-subtitle-text,.w-input-small-label-text-typography,.w-input-small-label-text,.w-edit-multiselect-small-label,.w-input-small-label-disabled,.w-edit-multiselect-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.3333333333rem;font-weight:600}.body,.w-table-td-text,.w-chip-text,.w-panel-content,.w-input-small-select-options-text,:host ::ng-deep .w-edit-multiselect-small .p-multiselect-panel .p-multiselect-items .p-multiselect-item,.w-input-small-placeholder-text-typography,.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text,:host ::ng-deep .w-edit-multiselect-small .p-multiselect-panel .p-multiselect-header .p-multiselect-filter-container .p-inputtext,:host ::ng-deep .w-edit-multiselect-small .p-multiselect-label,.w-view-small-value-text-typography,.w-view-small-value-text,.w-button-small-label-text-typography,:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-token,.w-button-small-tertiary-label-text{font-size:1rem;line-height:1.3333333333rem;font-weight:400}.caption,.w-error-message,.w-input-error-alert-text,.w-input-warning-alert-text,.w-input-success-alert-text{font-size:.6666666667rem;line-height:1rem;font-weight:400}.text846{color:#2e3134}.text700{color:#5f6368}.text500{color:#9aa0a6}.textWhite{color:#fff}.spacingXXS{padding:4px}.spacingXSM{padding:6px}.spacingXS{padding:8px}.spacingS{padding:12px}.spacingM{padding:16px}.spacingL{padding:20px}.spacingXL{padding:24px}.spacingXXL{padding:28px}.spacingXXXL{padding:32px}.focus,:host ::ng-deep .w-edit-multiselect-medium .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box.p-focus,:host ::ng-deep .w-edit-multiselect-medium .p-multiselect.p-focus,:host ::ng-deep .w-edit-multiselect-small .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box.p-focus,:host ::ng-deep .w-edit-multiselect-small .p-multiselect.p-focus{box-shadow:0 0 8px #00a6e980}.hover{border-radius:8px;border:1px solid #00b2eb}.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-tertiary-label-text,.w-button-small-text-label-text{color:#2e3134}.w-button-small-icon-text{font-size:12px}.w-control-button-small-label-text{font-size:12px;font-weight:600;line-height:16px}.w-control-button-x-small-icon-text,:host ::ng-deep .w-edit-multiselect-small .p-multiselect-token .p-multiselect-token-icon{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:400;line-height:16px}.w-button-medium-tertiary-label-text{color:#2e3134}.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,:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-token .p-multiselect-token-icon{font-size:12px;font-weight:700}.w-button-large-label-text-typography,.w-button-large-tertiary-label-text{font-size:20px;font-weight:400;line-height:24px}.w-button-large-tertiary-label-text{color:#2e3134}.w-button-x-small-label-text,:host ::ng-deep .w-edit-multiselect-small .p-multiselect-token{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,.w-view-small-value-text{color:#2e3134}.w-input-no-label-height{height:36px}.w-input-disabled,:host ::ng-deep .w-edit-multiselect-medium .p-disabled,:host ::ng-deep .w-edit-multiselect-small .p-disabled{background-color:#f1f3f4;border-color:#e8eaed;opacity:1}.w-input-small-label-text,.w-edit-multiselect-small-label,.w-input-small-label-disabled,.w-edit-multiselect-small-label-disabled{color:#2e3134}.w-input-small-label-disabled,.w-edit-multiselect-small-label-disabled{color:#9aa0a6}.w-input-small-label-text-content,.w-edit-multiselect-medium-label-disabled,.w-edit-multiselect-medium-label,.w-edit-multiselect-small-label-disabled,.w-edit-multiselect-small-label{padding:12px 8px 8px 0;margin:0}.w-input-small-placeholder-text,:host ::ng-deep .w-edit-multiselect-small .p-multiselect-panel .p-multiselect-header .p-multiselect-filter-container .p-inputtext,:host ::ng-deep .w-edit-multiselect-small .p-multiselect-label{color:#2e3134}.w-input-small-placeholder-text-only-color,:host ::ng-deep .w-edit-multiselect-small .p-multiselect .p-multiselect-label.p-placeholder{color:#2e3134}.w-input-small-placeholder-text-disabled{color:#5f6368}.w-input-small-placeholder-text-disabled-only-color,:host ::ng-deep .w-edit-multiselect-small .p-disabled .p-multiselect-label.p-placeholder{color:#5f6368}.w-input-small-text-icon{color:#2e3134}.w-input-small-select-options-text,:host ::ng-deep .w-edit-multiselect-small .p-multiselect-panel .p-multiselect-items .p-multiselect-item{color:#2e3134}.w-input-medium-label-text-typography,.w-input-medium-label-text,.w-edit-multiselect-medium-label,.w-input-medium-label-disabled,.w-edit-multiselect-medium-label-disabled{font-size:14px;font-weight:600;line-height:16px}.w-input-medium-label-text,.w-edit-multiselect-medium-label,.w-input-medium-label-disabled,.w-edit-multiselect-medium-label-disabled{color:#2e3134}.w-input-medium-label-disabled,.w-edit-multiselect-medium-label-disabled{color:#9aa0a6}.w-input-medium-placeholder-text-typography,.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text,:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-label{font-size:16px;font-weight:400;line-height:24px}.w-input-medium-placeholder-text,:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-label{color:#2e3134}.w-input-medium-placeholder-text-only-color,:host ::ng-deep .w-edit-multiselect-medium .p-multiselect .p-multiselect-label.p-placeholder{color:#2e3134}.w-input-medium-placeholder-text-disabled{color:#5f6368}.w-input-medium-placeholder-text-disabled-only-color,:host ::ng-deep .w-edit-multiselect-medium .p-disabled .p-multiselect-label.p-placeholder{color:#5f6368}.w-input-medium-text-icon{color:#2e3134}.w-input-medium-select-options-text,:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-panel .p-multiselect-items .p-multiselect-item{font-size:16px;font-weight:400;line-height:24px;color:#2e3134}.w-input-success-alert-text{color:#00db5d;padding:8px 8px 0;margin-top:0}.w-input-warning-alert-text{color:#eeae00;padding:8px 8px 0;margin-top:0}.w-input-error-alert-text{color:#e50000;padding:8px 8px 0;margin-top:0}.w-input-alert-message-height{height:32px}.w-sidebar-title-text,.w-panel-title-text,.w-panel-subtitle-text{color:#2e3134}.w-panel-content{color:#5f6368}.w-tab-text,.w-chip-text{color:#2e3134}.w-badge-text{font-size:8px;font-weight:700;line-height:8px}.w-table-th-text{color:#2e3134}.w-table-td-text{color:#5f6368}.w-edit-multiselect-field{margin:0}:host ::ng-deep .w-edit-multiselect-small .p-multiselect{border:1px solid #e8eaed;border-radius:8px}:host ::ng-deep p-multiselect.w-edit-multiselect-small.p-multiselect-clearable .p-multiselect-label-container{padding-right:20px}:host ::ng-deep .w-edit-multiselect-small .p-multiselect:hover{border:1px solid #00b2eb}:host ::ng-deep .w-edit-multiselect-small .p-multiselect.p-focus{border:1px solid #d6f2ff}:host ::ng-deep .w-edit-multiselect-small .p-multiselect-label{padding:7px 0 7px 11px}:host ::ng-deep .w-edit-multiselect-small .p-multiselect.p-multiselect-chip .p-multiselect-label{padding:7px 0 7px 12px}:host ::ng-deep .w-edit-multiselect-small .p-multiselect-token{height:16px;padding:3px 12px;border-radius:7px;border-width:1px}:host ::ng-deep .w-edit-multiselect-small .p-multiselect-panel{border:1px solid #e8eaed}:host ::ng-deep .w-edit-multiselect-small .p-multiselect-panel .p-multiselect-header .p-multiselect-filter-container .p-inputtext{padding:7px 35px 7px 11px;align-self:center}:host ::ng-deep .w-edit-multiselect-small .p-multiselect-panel .p-multiselect-items{padding:8px}:host ::ng-deep .w-edit-multiselect-small .p-multiselect-panel .p-multiselect-items .p-multiselect-item{padding:7px;margin-bottom:4px}:host ::ng-deep .w-edit-multiselect-small .p-multiselect-panel .p-multiselect-items .p-multiselect-item:hover{background:#d6f2ff;border-radius:8px}:host ::ng-deep .w-edit-multiselect-small .p-multiselect-panel .p-multiselect-items .p-multiselect-item.p-highlight{background:#d6f2ff;border-radius:8px}:host ::ng-deep .w-edit-multiselect-small .p-multiselect-panel .p-multiselect-items .p-multiselect-item:not(.p-highlight):not(.p-disabled):hover{background:#d6f2ff;border-radius:8px}:host ::ng-deep .w-edit-multiselect-small .p-checkbox{height:16px;width:16px;border-width:1px}:host ::ng-deep .w-edit-multiselect-small .p-checkbox .p-checkbox-box{height:16px;width:16px;border-radius:4px;border:1px solid #dadce0;align-self:center}:host ::ng-deep .w-edit-multiselect-small .p-checkbox .p-checkbox-box .p-checkbox-icon{font-size:8px;font-weight:700}:host ::ng-deep .w-edit-multiselect-small .p-checkbox .p-checkbox-box.p-highlight{border-color:#00b2eb;background:#00b2eb}:host ::ng-deep .w-edit-multiselect-small .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box:hover{background-color:#dadce0;border:1px solid #dadce0}:host ::ng-deep .w-edit-multiselect-small .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box.p-focus{background-color:#00b2eb;border:1px solid #d6f2ff}:host ::ng-deep .w-edit-multiselect-small .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box:not(.p-highlight).p-focus{background-color:#dadce0;border:1px solid #dadce0}:host ::ng-deep .w-edit-multiselect-small .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box.p-highlight:hover{border-color:#00b2eb;background:#00b2eb}:host ::ng-deep .w-edit-multiselect-small .p-multiselect-panel .p-multiselect-header{padding:7px 15px}:host ::ng-deep .w-edit-multiselect-medium .p-multiselect{border:1px solid #e8eaed;border-radius:8px}:host ::ng-deep .w-edit-multiselect-medium .p-multiselect:hover{border:1px solid #00b2eb}:host ::ng-deep .w-edit-multiselect-medium .p-multiselect.p-focus{border:1px solid #d6f2ff}:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-label{padding:7px 0 7px 15px}:host ::ng-deep .w-edit-multiselect-medium .p-multiselect.p-multiselect-chip .p-multiselect-label{padding:7px 0 7px 15px}:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-token{height:24px;padding:6px 12px}:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-panel{border:1px solid #e8eaed}:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-panel .p-multiselect-items{padding:7px 7px 15px}:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-panel .p-multiselect-items .p-multiselect-item{padding:8px 16px;margin-bottom:4px}:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-panel .p-multiselect-items .p-multiselect-item:hover{background:#d6f2ff;border-radius:8px}:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-panel .p-multiselect-items .p-multiselect-item.p-highlight{background:#d6f2ff;border-radius:8px}:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-panel .p-multiselect-items .p-multiselect-item:not(.p-highlight):not(.p-disabled):hover{background:#d6f2ff;border-radius:8px}:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-panel .p-multiselect-items .p-multiselect-item .p-checkbox,:host ::ng-deep .w-edit-multiselect-small .p-multiselect-panel .p-multiselect-items .p-multiselect-item .p-checkbox,:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-panel .p-multiselect-header .p-checkbox,:host ::ng-deep .w-edit-multiselect-small .p-multiselect-panel .p-multiselect-header .p-checkbox{margin-right:12px}:host ::ng-deep .w-edit-multiselect-medium .p-checkbox{height:24px;width:24px;border-width:1px}:host ::ng-deep .w-edit-multiselect-medium .p-checkbox .p-checkbox-box{height:24px;width:24px;border-radius:4px;border:1px solid #dadce0;align-self:center}:host ::ng-deep .w-edit-multiselect-medium .p-checkbox .p-checkbox-box .p-checkbox-icon{font-size:12px;font-weight:700}:host ::ng-deep .w-edit-multiselect-medium .p-checkbox .p-checkbox-box.p-highlight{border-color:#00b2eb;background:#00b2eb}:host ::ng-deep .w-edit-multiselect-medium .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box:hover{background-color:#dadce0;border:1px solid #dadce0}:host ::ng-deep .w-edit-multiselect-medium .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box.p-focus{background-color:#00b2eb;border:1px solid #d6f2ff}:host ::ng-deep .w-edit-multiselect-medium .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box:not(.p-highlight).p-focus{background-color:#dadce0;border:1px solid #dadce0}:host ::ng-deep .w-edit-multiselect-medium .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box.p-highlight:hover{border-color:#00b2eb;background:#00b2eb}:host ::ng-deep .w-edit-multiselect-medium .p-multiselect-panel .p-multiselect-header{padding:7px 23px}:host ::ng-deep p-multiselect.w-edit-multiselect-medium.ng-dirty.ng-invalid>.p-multiselect{border-color:#ffbdbd}.w-error-message-container{height:32px}.w-error-message{color:#e50000;padding:8px;margin-top:0}\n"] }]
|
|
1603
1603
|
}], propDecorators: { label: [{
|
|
1604
1604
|
type: Input,
|
|
1605
1605
|
args: ['label']
|
|
@@ -1929,7 +1929,7 @@ WEditInputNumberComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.
|
|
|
1929
1929
|
useExisting: forwardRef(() => WEditInputNumberComponent),
|
|
1930
1930
|
multi: true
|
|
1931
1931
|
}
|
|
1932
|
-
], ngImport: i0, template: "<div *ngIf=\"formControl != null; else noNgControl\" class=\"w-edit-input-number-field p-fluid field\">\r\n <label *ngIf=\"(label != undefined && label.length > 0)\" \r\n [ngClass]=\"{'w-edit-input-number-small-label': getSizeName(sizeType.small) == size && !disabled,\r\n 'w-edit-input-number-small-label-disabled': getSizeName(sizeType.small) == size && disabled,\r\n 'w-edit-input-number-medium-label': getSizeName(sizeType.medium) == size && !disabled,\r\n 'w-edit-input-number-medium-label-disabled': getSizeName(sizeType.medium) == size && disabled}\" for=\"w-text\">\r\n {{label}}\r\n </label>\r\n <div *ngIf=\"(label != undefined && label == '')\" class=\"w-input-no-label-height\"></div>\r\n <p-inputNumber *ngIf=\"getSizeName(sizeType.medium) == size\"\r\n [ngClass]=\"{'w-edit-input-number-medium-error': formControl.hasError('required') && formControl.dirty && requiredErrorDescription != '',\r\n 'w-edit-input-number-medium-valid': formControl.valid && formControl.touched && successMessage != '',\r\n 'w-edit-input-number-medium-warning': formControl.invalid && formControl.touched && (formControl.hasError('min') || formControl.hasError('max'))}\"\r\n class=\"w-edit-input-number-medium w-edit-input-number-medium-height\"\r\n styleClass=\"flex flex-1\"\r\n [mode]=\"mode\" \r\n [minFractionDigits]=\"minFractionDigits\" [maxFractionDigits]=\"maxFractionDigits\"\r\n id=\"w-textarea\" [placeholder]=\"placeholder\"\r\n [required]=\"required\" [formControl]=\"formControl\" >\r\n </p-inputNumber>\r\n <p-inputNumber *ngIf=\"getSizeName(sizeType.small) == size\"\r\n [ngClass]=\"{'w-edit-input-number-small-error': formControl.hasError('required') && formControl.dirty && requiredErrorDescription != '',\r\n 'w-edit-input-number-small-valid': formControl.valid && formControl.touched && successMessage != '',\r\n 'w-edit-input-number-small-warning': formControl.invalid && formControl.touched && (formControl.hasError('min') || formControl.hasError('max'))}\"\r\n class=\"w-edit-input-number-small w-edit-input-number-small-height\"\r\n styleClass=\"flex flex-1\"\r\n [mode]=\"mode\" \r\n [minFractionDigits]=\"minFractionDigits\" [maxFractionDigits]=\"maxFractionDigits\"\r\n id=\"w-textarea\" [placeholder]=\"placeholder\"\r\n [required]=\"required\" [formControl]=\"formControl\"></p-inputNumber>\r\n <!-- <small *ngIf=\"formControl.valid && formControl.touched\" class=\"w-input-success-alert-text\">{{successMessage}}</small>-->\r\n <small *ngIf=\"formControl.invalid && formControl.hasError('max') && formControl.touched \"\r\n class=\"w-input-alert-message-height w-input-warning-alert-text p-error block\">{{maxErrorDescription}}</small> \r\n <small *ngIf=\"formControl.invalid && formControl.hasError('min') && formControl.touched \"\r\n class=\"w-input-alert-message-height w-input-warning-alert-text p-error block\">{{maxErrorDescription}}</small> \r\n <small *ngIf=\"formControl.hasError('required') && formControl.dirty\"\r\n class=\"w-input-alert-message-height w-input-error-alert-text p-error block\">{{requiredErrorDescription}}</small>\r\n</div>\r\n<ng-template #noNgControl>\r\n <div class=\"w-edit-input-number-field p-fluid field\">\r\n <label *ngIf=\"(label != undefined && label.length > 0)\" \r\n [ngClass]=\"{'w-edit-input-number-small-label': getSizeName(sizeType.small) == size && !disabled,\r\n 'w-edit-input-number-small-label-disabled': getSizeName(sizeType.small) == size && disabled,\r\n 'w-edit-input-number-medium-label': getSizeName(sizeType.medium) == size && !disabled,\r\n 'w-edit-input-number-medium-label-disabled': getSizeName(sizeType.medium) == size && disabled}\" for=\"w-text\">\r\n {{label}}\r\n </label>\r\n <div *ngIf=\"(label != undefined && label == '')\" class=\"w-input-no-label-height\"></div>\r\n <p-inputNumber *ngIf=\"getSizeName(sizeType.medium) == size\" [disabled]=\"disabled\"\r\n [required]=\"required\"\r\n class=\"w-edit-input-number-medium w-edit-input-number-medium-height\"\r\n styleClass=\"flex flex-1\"\r\n [mode]=\"mode\" \r\n [minFractionDigits]=\"minFractionDigits\" [maxFractionDigits]=\"maxFractionDigits\"\r\n id=\"w-textarea\" [placeholder]=\"placeholder\"\r\n [required]=\"required\" [(ngModel)]=\"value\" (onInput)=\"onValueChanged()\" [disabled]=\"disabled\"></p-inputNumber>\r\n <p-inputNumber *ngIf=\"getSizeName(sizeType.small) == size\" [disabled]=\"disabled\"\r\n [required]=\"required\"\r\n class=\"w-edit-input-number-small w-edit-input-number-small-height\"\r\n styleClass=\"flex flex-1\"\r\n [mode]=\"mode\" \r\n [minFractionDigits]=\"minFractionDigits\" [maxFractionDigits]=\"maxFractionDigits\"\r\n id=\"w-textarea\" [placeholder]=\"placeholder\"\r\n [required]=\"required\" [(ngModel)]=\"value\" (input)=\"onValueChanged()\" [disabled]=\"disabled\"></p-inputNumber>\r\n </div>\r\n</ng-template>", styles: ["@charset \"UTF-8\";.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:400}.heading5{font-size:1.5rem;line-height:1.8333333333rem;font-weight:600}.heading6{font-size:1.3333333333rem;line-height:1.6666666667rem;font-weight:400}.subtitle1,.w-tab-text,.w-panel-title-text,.w-sidebar-title-text{font-size:1.1666666667rem;line-height:1.3333333333rem;font-weight:600}.subtitle2,.w-table-th-text,.w-panel-subtitle-text,.w-input-small-label-text-typography,.w-input-small-label-text,.w-edit-input-number-small-label,.w-input-small-label-disabled,.w-edit-input-number-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.3333333333rem;font-weight:600}.body,.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,:host ::ng-deep .w-edit-input-number-small .p-inputnumber .p-inputnumber-input,.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.3333333333rem;font-weight:400}.caption,.w-input-error-alert-text,.w-input-warning-alert-text,.w-input-success-alert-text{font-size:.6666666667rem;line-height:1rem;font-weight:400}.text846{color:#2e3134}.text700{color:#5f6368}.text500{color:#9aa0a6}.textWhite{color:#fff}.spacingXXS{padding:4px}.spacingXSM{padding:6px}.spacingXS{padding:8px}.spacingS{padding:12px}.spacingM{padding:16px}.spacingL{padding:20px}.spacingXL{padding:24px}.spacingXXL{padding:28px}.spacingXXXL{padding:32px}.focus,:host ::ng-deep .w-edit-input-number-medium .p-inputnumber .p-inputnumber-input:focus,:host ::ng-deep .w-edit-input-number-small .p-inputnumber .p-inputnumber-input:focus{box-shadow:0 0 8px #00a6e980}.hover,:host ::ng-deep .w-edit-input-number-medium .p-inputnumber .p-inputnumber-input:hover,:host ::ng-deep .w-edit-input-number-small .p-inputnumber .p-inputnumber-input:hover{border-radius:8px;border:1px solid #00b2eb}.input-generic-valid,:host ::ng-deep .w-edit-input-number-medium-valid .p-inputnumber .p-inputnumber-input,:host ::ng-deep .w-edit-input-number-small-valid .p-inputnumber .p-inputnumber-input{border-radius:8px;border:1px solid #B3FFD3}.input-generic-valid-focus,:host ::ng-deep .w-edit-input-number-medium-valid .p-inputnumber .p-inputnumber-input:focus,:host ::ng-deep .w-edit-input-number-small-valid .p-inputnumber .p-inputnumber-input:focus{border-radius:8px;border:1px solid #B3FFD3!important;box-shadow:0 0 8px #46ff9b80!important;padding-left:16px}.input-generic-warning,:host ::ng-deep .w-edit-input-number-medium-warning .p-inputnumber .p-inputnumber-input,:host ::ng-deep .w-edit-input-number-small-warning .p-inputnumber .p-inputnumber-input{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,:host ::ng-deep p-inputnumber.w-edit-input-number-medium.ng-dirty.ng-invalid>.p-inputnumber>.p-inputtext,:host ::ng-deep p-inputnumber.w-edit-input-number-small.ng-dirty.ng-invalid>.p-inputnumber>.p-inputtext{border-radius:8px;border:1px solid #FFBDBD}.toggle-small-typography{font-size:12px;line-height:16px;font-weight:600}.w-button-small-tertiary-label-text,.w-button-small-text-label-text{color:#2e3134}.w-button-small-icon-text{font-size:12px}.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:400;line-height:16px}.w-button-medium-tertiary-label-text{color:#2e3134}.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:400;line-height:24px}.w-button-large-tertiary-label-text{color:#2e3134}.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,.w-view-small-value-text{color:#2e3134}.w-input-no-label-height{height:36px}.w-input-disabled{background-color:#f1f3f4;border-color:#e8eaed;opacity:1}.w-input-small-label-text,.w-edit-input-number-small-label,.w-input-small-label-disabled,.w-edit-input-number-small-label-disabled{color:#2e3134}.w-input-small-label-disabled,.w-edit-input-number-small-label-disabled{color:#9aa0a6}.w-input-small-label-text-content,.w-edit-input-number-medium-label-disabled,.w-edit-input-number-medium-label,.w-edit-input-number-small-label-disabled,.w-edit-input-number-small-label{padding:12px 8px 8px 0;margin:0}.w-input-small-placeholder-text,:host ::ng-deep .w-edit-input-number-small .p-inputnumber .p-inputnumber-input{color:#2e3134}.w-input-small-placeholder-text-only-color{color:#2e3134}.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text-disabled-only-color{color:#5f6368}.w-input-small-text-icon,.w-input-small-select-options-text{color:#2e3134}.w-input-medium-label-text-typography,.w-input-medium-label-text,.w-edit-input-number-medium-label,.w-input-medium-label-disabled,.w-edit-input-number-medium-label-disabled{font-size:14px;font-weight:600;line-height:16px}.w-input-medium-label-text,.w-edit-input-number-medium-label,.w-input-medium-label-disabled,.w-edit-input-number-medium-label-disabled{color:#2e3134}.w-input-medium-label-disabled,.w-edit-input-number-medium-label-disabled{color:#9aa0a6}.w-input-medium-placeholder-text-typography,.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text,:host ::ng-deep .w-edit-input-number-medium .p-inputnumber .p-inputnumber-input{font-size:16px;font-weight:400;line-height:24px}.w-input-medium-placeholder-text,:host ::ng-deep .w-edit-input-number-medium .p-inputnumber .p-inputnumber-input{color:#2e3134}.w-input-medium-placeholder-text-only-color{color:#2e3134}.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text-disabled-only-color{color:#5f6368}.w-input-medium-text-icon{color:#2e3134}.w-input-medium-select-options-text{font-size:16px;font-weight:400;line-height:24px;color:#2e3134}.w-input-success-alert-text{color:#00db5d;padding:8px 8px 0;margin-top:0}.w-input-warning-alert-text{color:#eeae00;padding:8px 8px 0;margin-top:0}.w-input-error-alert-text{color:#e50000;padding:8px 8px 0;margin-top:0}.w-input-alert-message-height{height:32px}.w-sidebar-title-text,.w-panel-title-text,.w-panel-subtitle-text{color:#2e3134}.w-panel-content{color:#5f6368}.w-tab-text,.w-chip-text{color:#2e3134}.w-badge-text{font-size:8px;font-weight:700;line-height:8px}.w-table-th-text{color:#2e3134}.w-table-td-text{color:#5f6368}.w-edit-input-number-field{margin:0}:host ::ng-deep .w-edit-input-number-small-height .p-inputnumber .p-inputnumber-input{height:32px!important}.w-edit-input-number-small{width:100%}:host ::ng-deep .w-edit-input-number-small .p-inputnumber .p-inputnumber-input{border-radius:8px;border-width:1px;padding:7px 11px!important;width:100%;border:1px solid #e8eaed}:host ::ng-deep .w-edit-input-number-small .p-inputnumber .p-inputnumber-input::-webkit-input-placeholder{color:#5f6368!important}:host ::ng-deep .w-edit-input-number-small .p-inputnumber .p-inputnumber-input::-moz-placeholder{color:#5f6368!important}:host ::ng-deep .w-edit-input-number-small .p-inputnumber .p-inputnumber-input:-ms-input-placeholder{color:#5f6368!important}:host ::ng-deep .w-edit-input-number-small .p-inputnumber .p-inputnumber-input:-moz-placeholder{color:#5f6368!important}:host ::ng-deep .w-edit-input-number-small .p-inputnumber .p-inputnumber-input:focus{border-radius:8px;border:1px solid #d6f2ff}:host ::ng-deep .w-edit-input-number-small .p-inputnumber .p-inputnumber-input:focus::-moz-placeholder{color:transparent}:host ::ng-deep .w-edit-input-number-small .p-inputnumber .p-inputnumber-input:focus::-webkit-input-placeholder{color:transparent}:host ::ng-deep .w-edit-input-number-small .p-inputnumber .p-inputnumber-input:focus:-ms-input-placeholder{color:transparent}:host ::ng-deep .w-edit-input-number-small .p-inputnumber .p-inputnumber-input:focus:-moz-placeholder{color:transparent}:host ::ng-deep .w-edit-input-number-small .p-inputnumber .p-inputnumber-input:disabled{background-color:#f1f3f4;border-color:#e8eaed;color:#5f6368;opacity:1}:host ::ng-deep .w-edit-input-number-small-valid .p-inputnumber .p-inputnumber-input:focus{padding-left:12px}:host ::ng-deep .w-edit-input-number-medium-height .p-inputnumber .p-inputnumber-input{height:40px!important}.w-edit-input-number-medium{width:100%}:host ::ng-deep .w-edit-input-number-medium .p-inputnumber .p-inputnumber-input{border-radius:8px;border-width:1px;padding:7px 15px!important;width:100%;border:1px solid #e8eaed}:host ::ng-deep .w-edit-input-number-medium .p-inputnumber .p-inputnumber-input::-webkit-input-placeholder{color:#5f6368!important}:host ::ng-deep .w-edit-input-number-medium .p-inputnumber .p-inputnumber-input::-moz-placeholder{color:#5f6368!important}:host ::ng-deep .w-edit-input-number-medium .p-inputnumber .p-inputnumber-input:-ms-input-placeholder{color:#5f6368!important}:host ::ng-deep .w-edit-input-number-medium .p-inputnumber .p-inputnumber-input:-moz-placeholder{color:#5f6368!important}:host ::ng-deep .w-edit-input-number-medium .p-inputnumber .p-inputnumber-input:focus{border-radius:8px;border:1px solid #d6f2ff;padding-left:15px}:host ::ng-deep .w-edit-input-number-medium .p-inputnumber .p-inputnumber-input:focus::-moz-placeholder{color:transparent}:host ::ng-deep .w-edit-input-number-medium .p-inputnumber .p-inputnumber-input:focus::-webkit-input-placeholder{color:transparent}:host ::ng-deep .w-edit-input-number-medium .p-inputnumber .p-inputnumber-input:focus:-ms-input-placeholder{color:transparent}:host ::ng-deep .w-edit-input-number-medium .p-inputnumber .p-inputnumber-input:focus:-moz-placeholder{color:transparent}:host ::ng-deep .w-edit-input-number-medium .p-inputnumber .p-inputnumber-input:disabled{background-color:#f1f3f4;border-color:#e8eaed;color:#5f6368;opacity:1}\n"], dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i9.InputNumber, selector: "p-inputNumber", inputs: ["showButtons", "format", "buttonLayout", "inputId", "styleClass", "style", "placeholder", "size", "maxlength", "tabindex", "title", "ariaLabel", "ariaRequired", "name", "required", "autocomplete", "min", "max", "incrementButtonClass", "decrementButtonClass", "incrementButtonIcon", "decrementButtonIcon", "readonly", "step", "allowEmpty", "locale", "localeMatcher", "mode", "currency", "currencyDisplay", "useGrouping", "minFractionDigits", "maxFractionDigits", "prefix", "suffix", "inputStyle", "inputStyleClass", "showClear", "disabled"], outputs: ["onInput", "onFocus", "onBlur", "onKeyDown", "onClear"] }] });
|
|
1932
|
+
], ngImport: i0, template: "<div *ngIf=\"formControl != null; else noNgControl\" class=\"w-edit-input-number-field p-fluid field\">\r\n <label *ngIf=\"(label != undefined && label.length > 0)\" \r\n [ngClass]=\"{'w-edit-input-number-small-label': getSizeName(sizeType.small) == size && !disabled,\r\n 'w-edit-input-number-small-label-disabled': getSizeName(sizeType.small) == size && disabled,\r\n 'w-edit-input-number-medium-label': getSizeName(sizeType.medium) == size && !disabled,\r\n 'w-edit-input-number-medium-label-disabled': getSizeName(sizeType.medium) == size && disabled}\" for=\"w-text\">\r\n {{label}}\r\n </label>\r\n <div *ngIf=\"(label != undefined && label == '')\" class=\"w-input-no-label-height\"></div>\r\n <p-inputNumber *ngIf=\"getSizeName(sizeType.medium) == size\"\r\n [ngClass]=\"{'w-edit-input-number-medium-error': formControl.hasError('required') && formControl.dirty && requiredErrorDescription != '',\r\n 'w-edit-input-number-medium-valid': formControl.valid && formControl.touched && successMessage != '',\r\n 'w-edit-input-number-medium-warning': formControl.invalid && formControl.touched && (formControl.hasError('min') || formControl.hasError('max'))}\"\r\n class=\"w-edit-input-number-medium w-edit-input-number-medium-height\"\r\n styleClass=\"flex flex-1\"\r\n [mode]=\"mode\" \r\n [minFractionDigits]=\"minFractionDigits\" [maxFractionDigits]=\"maxFractionDigits\"\r\n id=\"w-textarea\" [placeholder]=\"placeholder\"\r\n [required]=\"required\" [formControl]=\"formControl\" >\r\n </p-inputNumber>\r\n <p-inputNumber *ngIf=\"getSizeName(sizeType.small) == size\"\r\n [ngClass]=\"{'w-edit-input-number-small-error': formControl.hasError('required') && formControl.dirty && requiredErrorDescription != '',\r\n 'w-edit-input-number-small-valid': formControl.valid && formControl.touched && successMessage != '',\r\n 'w-edit-input-number-small-warning': formControl.invalid && formControl.touched && (formControl.hasError('min') || formControl.hasError('max'))}\"\r\n class=\"w-edit-input-number-small w-edit-input-number-small-height\"\r\n styleClass=\"flex flex-1\"\r\n [mode]=\"mode\" \r\n [minFractionDigits]=\"minFractionDigits\" [maxFractionDigits]=\"maxFractionDigits\"\r\n id=\"w-textarea\" [placeholder]=\"placeholder\"\r\n [required]=\"required\" [formControl]=\"formControl\"></p-inputNumber>\r\n <!-- <small *ngIf=\"formControl.valid && formControl.touched\" class=\"w-input-success-alert-text\">{{successMessage}}</small>-->\r\n <small *ngIf=\"formControl.invalid && formControl.hasError('max') && formControl.touched \"\r\n class=\"w-input-alert-message-height w-input-warning-alert-text p-error block\">{{maxErrorDescription}}</small> \r\n <small *ngIf=\"formControl.invalid && formControl.hasError('min') && formControl.touched \"\r\n class=\"w-input-alert-message-height w-input-warning-alert-text p-error block\">{{maxErrorDescription}}</small> \r\n <small *ngIf=\"formControl.hasError('required') && formControl.dirty\"\r\n class=\"w-input-alert-message-height w-input-error-alert-text p-error block\">{{requiredErrorDescription}}</small>\r\n</div>\r\n<ng-template #noNgControl>\r\n <div class=\"w-edit-input-number-field p-fluid field\">\r\n <label *ngIf=\"(label != undefined && label.length > 0)\" \r\n [ngClass]=\"{'w-edit-input-number-small-label': getSizeName(sizeType.small) == size && !disabled,\r\n 'w-edit-input-number-small-label-disabled': getSizeName(sizeType.small) == size && disabled,\r\n 'w-edit-input-number-medium-label': getSizeName(sizeType.medium) == size && !disabled,\r\n 'w-edit-input-number-medium-label-disabled': getSizeName(sizeType.medium) == size && disabled}\" for=\"w-text\">\r\n {{label}}\r\n </label>\r\n <div *ngIf=\"(label != undefined && label == '')\" class=\"w-input-no-label-height\"></div>\r\n <p-inputNumber *ngIf=\"getSizeName(sizeType.medium) == size\" [disabled]=\"disabled\"\r\n [required]=\"required\"\r\n class=\"w-edit-input-number-medium w-edit-input-number-medium-height\"\r\n styleClass=\"flex flex-1\"\r\n [mode]=\"mode\" \r\n [minFractionDigits]=\"minFractionDigits\" [maxFractionDigits]=\"maxFractionDigits\"\r\n id=\"w-textarea\" [placeholder]=\"placeholder\"\r\n [required]=\"required\" [(ngModel)]=\"value\" (onInput)=\"onValueChanged()\" [disabled]=\"disabled\"></p-inputNumber>\r\n <p-inputNumber *ngIf=\"getSizeName(sizeType.small) == size\" [disabled]=\"disabled\"\r\n [required]=\"required\"\r\n class=\"w-edit-input-number-small w-edit-input-number-small-height\"\r\n styleClass=\"flex flex-1\"\r\n [mode]=\"mode\" \r\n [minFractionDigits]=\"minFractionDigits\" [maxFractionDigits]=\"maxFractionDigits\"\r\n id=\"w-textarea\" [placeholder]=\"placeholder\"\r\n [required]=\"required\" [(ngModel)]=\"value\" (onInput)=\"onValueChanged()\" [disabled]=\"disabled\"></p-inputNumber>\r\n </div>\r\n</ng-template>", styles: ["@charset \"UTF-8\";.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:400}.heading5{font-size:1.5rem;line-height:1.8333333333rem;font-weight:600}.heading6{font-size:1.3333333333rem;line-height:1.6666666667rem;font-weight:400}.subtitle1,.w-tab-text,.w-panel-title-text,.w-sidebar-title-text{font-size:1.1666666667rem;line-height:1.3333333333rem;font-weight:600}.subtitle2,.w-table-th-text,.w-panel-subtitle-text,.w-input-small-label-text-typography,.w-input-small-label-text,.w-edit-input-number-small-label,.w-input-small-label-disabled,.w-edit-input-number-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.3333333333rem;font-weight:600}.body,.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,:host ::ng-deep .w-edit-input-number-small .p-inputnumber .p-inputnumber-input,.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.3333333333rem;font-weight:400}.caption,.w-input-error-alert-text,.w-input-warning-alert-text,.w-input-success-alert-text{font-size:.6666666667rem;line-height:1rem;font-weight:400}.text846{color:#2e3134}.text700{color:#5f6368}.text500{color:#9aa0a6}.textWhite{color:#fff}.spacingXXS{padding:4px}.spacingXSM{padding:6px}.spacingXS{padding:8px}.spacingS{padding:12px}.spacingM{padding:16px}.spacingL{padding:20px}.spacingXL{padding:24px}.spacingXXL{padding:28px}.spacingXXXL{padding:32px}.focus,:host ::ng-deep .w-edit-input-number-medium .p-inputnumber .p-inputnumber-input:focus,:host ::ng-deep .w-edit-input-number-small .p-inputnumber .p-inputnumber-input:focus{box-shadow:0 0 8px #00a6e980}.hover,:host ::ng-deep .w-edit-input-number-medium .p-inputnumber .p-inputnumber-input:hover,:host ::ng-deep .w-edit-input-number-small .p-inputnumber .p-inputnumber-input:hover{border-radius:8px;border:1px solid #00b2eb}.input-generic-valid,:host ::ng-deep .w-edit-input-number-medium-valid .p-inputnumber .p-inputnumber-input,:host ::ng-deep .w-edit-input-number-small-valid .p-inputnumber .p-inputnumber-input{border-radius:8px;border:1px solid #B3FFD3}.input-generic-valid-focus,:host ::ng-deep .w-edit-input-number-medium-valid .p-inputnumber .p-inputnumber-input:focus,:host ::ng-deep .w-edit-input-number-small-valid .p-inputnumber .p-inputnumber-input:focus{border-radius:8px;border:1px solid #B3FFD3!important;box-shadow:0 0 8px #46ff9b80!important;padding-left:16px}.input-generic-warning,:host ::ng-deep .w-edit-input-number-medium-warning .p-inputnumber .p-inputnumber-input,:host ::ng-deep .w-edit-input-number-small-warning .p-inputnumber .p-inputnumber-input{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,:host ::ng-deep p-inputnumber.w-edit-input-number-medium.ng-dirty.ng-invalid>.p-inputnumber>.p-inputtext,:host ::ng-deep p-inputnumber.w-edit-input-number-small.ng-dirty.ng-invalid>.p-inputnumber>.p-inputtext{border-radius:8px;border:1px solid #FFBDBD}.toggle-small-typography{font-size:12px;line-height:16px;font-weight:600}.w-button-small-tertiary-label-text,.w-button-small-text-label-text{color:#2e3134}.w-button-small-icon-text{font-size:12px}.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:400;line-height:16px}.w-button-medium-tertiary-label-text{color:#2e3134}.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:400;line-height:24px}.w-button-large-tertiary-label-text{color:#2e3134}.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,.w-view-small-value-text{color:#2e3134}.w-input-no-label-height{height:36px}.w-input-disabled{background-color:#f1f3f4;border-color:#e8eaed;opacity:1}.w-input-small-label-text,.w-edit-input-number-small-label,.w-input-small-label-disabled,.w-edit-input-number-small-label-disabled{color:#2e3134}.w-input-small-label-disabled,.w-edit-input-number-small-label-disabled{color:#9aa0a6}.w-input-small-label-text-content,.w-edit-input-number-medium-label-disabled,.w-edit-input-number-medium-label,.w-edit-input-number-small-label-disabled,.w-edit-input-number-small-label{padding:12px 8px 8px 0;margin:0}.w-input-small-placeholder-text,:host ::ng-deep .w-edit-input-number-small .p-inputnumber .p-inputnumber-input{color:#2e3134}.w-input-small-placeholder-text-only-color{color:#2e3134}.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text-disabled-only-color{color:#5f6368}.w-input-small-text-icon,.w-input-small-select-options-text{color:#2e3134}.w-input-medium-label-text-typography,.w-input-medium-label-text,.w-edit-input-number-medium-label,.w-input-medium-label-disabled,.w-edit-input-number-medium-label-disabled{font-size:14px;font-weight:600;line-height:16px}.w-input-medium-label-text,.w-edit-input-number-medium-label,.w-input-medium-label-disabled,.w-edit-input-number-medium-label-disabled{color:#2e3134}.w-input-medium-label-disabled,.w-edit-input-number-medium-label-disabled{color:#9aa0a6}.w-input-medium-placeholder-text-typography,.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text,:host ::ng-deep .w-edit-input-number-medium .p-inputnumber .p-inputnumber-input{font-size:16px;font-weight:400;line-height:24px}.w-input-medium-placeholder-text,:host ::ng-deep .w-edit-input-number-medium .p-inputnumber .p-inputnumber-input{color:#2e3134}.w-input-medium-placeholder-text-only-color{color:#2e3134}.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text-disabled-only-color{color:#5f6368}.w-input-medium-text-icon{color:#2e3134}.w-input-medium-select-options-text{font-size:16px;font-weight:400;line-height:24px;color:#2e3134}.w-input-success-alert-text{color:#00db5d;padding:8px 8px 0;margin-top:0}.w-input-warning-alert-text{color:#eeae00;padding:8px 8px 0;margin-top:0}.w-input-error-alert-text{color:#e50000;padding:8px 8px 0;margin-top:0}.w-input-alert-message-height{height:32px}.w-sidebar-title-text,.w-panel-title-text,.w-panel-subtitle-text{color:#2e3134}.w-panel-content{color:#5f6368}.w-tab-text,.w-chip-text{color:#2e3134}.w-badge-text{font-size:8px;font-weight:700;line-height:8px}.w-table-th-text{color:#2e3134}.w-table-td-text{color:#5f6368}.w-edit-input-number-field{margin:0}:host ::ng-deep .w-edit-input-number-small-height .p-inputnumber .p-inputnumber-input{height:32px!important}.w-edit-input-number-small{width:100%}:host ::ng-deep .w-edit-input-number-small .p-inputnumber .p-inputnumber-input{border-radius:8px;border-width:1px;padding:7px 11px!important;width:100%;border:1px solid #e8eaed}:host ::ng-deep .w-edit-input-number-small .p-inputnumber .p-inputnumber-input::-webkit-input-placeholder{color:#5f6368!important}:host ::ng-deep .w-edit-input-number-small .p-inputnumber .p-inputnumber-input::-moz-placeholder{color:#5f6368!important}:host ::ng-deep .w-edit-input-number-small .p-inputnumber .p-inputnumber-input:-ms-input-placeholder{color:#5f6368!important}:host ::ng-deep .w-edit-input-number-small .p-inputnumber .p-inputnumber-input:-moz-placeholder{color:#5f6368!important}:host ::ng-deep .w-edit-input-number-small .p-inputnumber .p-inputnumber-input:focus{border-radius:8px;border:1px solid #d6f2ff}:host ::ng-deep .w-edit-input-number-small .p-inputnumber .p-inputnumber-input:focus::-moz-placeholder{color:transparent}:host ::ng-deep .w-edit-input-number-small .p-inputnumber .p-inputnumber-input:focus::-webkit-input-placeholder{color:transparent}:host ::ng-deep .w-edit-input-number-small .p-inputnumber .p-inputnumber-input:focus:-ms-input-placeholder{color:transparent}:host ::ng-deep .w-edit-input-number-small .p-inputnumber .p-inputnumber-input:focus:-moz-placeholder{color:transparent}:host ::ng-deep .w-edit-input-number-small .p-inputnumber .p-inputnumber-input:disabled{background-color:#f1f3f4;border-color:#e8eaed;color:#5f6368;opacity:1}:host ::ng-deep .w-edit-input-number-small-valid .p-inputnumber .p-inputnumber-input:focus{padding-left:12px}:host ::ng-deep .w-edit-input-number-medium-height .p-inputnumber .p-inputnumber-input{height:40px!important}.w-edit-input-number-medium{width:100%}:host ::ng-deep .w-edit-input-number-medium .p-inputnumber .p-inputnumber-input{border-radius:8px;border-width:1px;padding:7px 15px!important;width:100%;border:1px solid #e8eaed}:host ::ng-deep .w-edit-input-number-medium .p-inputnumber .p-inputnumber-input::-webkit-input-placeholder{color:#5f6368!important}:host ::ng-deep .w-edit-input-number-medium .p-inputnumber .p-inputnumber-input::-moz-placeholder{color:#5f6368!important}:host ::ng-deep .w-edit-input-number-medium .p-inputnumber .p-inputnumber-input:-ms-input-placeholder{color:#5f6368!important}:host ::ng-deep .w-edit-input-number-medium .p-inputnumber .p-inputnumber-input:-moz-placeholder{color:#5f6368!important}:host ::ng-deep .w-edit-input-number-medium .p-inputnumber .p-inputnumber-input:focus{border-radius:8px;border:1px solid #d6f2ff;padding-left:15px}:host ::ng-deep .w-edit-input-number-medium .p-inputnumber .p-inputnumber-input:focus::-moz-placeholder{color:transparent}:host ::ng-deep .w-edit-input-number-medium .p-inputnumber .p-inputnumber-input:focus::-webkit-input-placeholder{color:transparent}:host ::ng-deep .w-edit-input-number-medium .p-inputnumber .p-inputnumber-input:focus:-ms-input-placeholder{color:transparent}:host ::ng-deep .w-edit-input-number-medium .p-inputnumber .p-inputnumber-input:focus:-moz-placeholder{color:transparent}:host ::ng-deep .w-edit-input-number-medium .p-inputnumber .p-inputnumber-input:disabled{background-color:#f1f3f4;border-color:#e8eaed;color:#5f6368;opacity:1}\n"], dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i9.InputNumber, selector: "p-inputNumber", inputs: ["showButtons", "format", "buttonLayout", "inputId", "styleClass", "style", "placeholder", "size", "maxlength", "tabindex", "title", "ariaLabel", "ariaRequired", "name", "required", "autocomplete", "min", "max", "incrementButtonClass", "decrementButtonClass", "incrementButtonIcon", "decrementButtonIcon", "readonly", "step", "allowEmpty", "locale", "localeMatcher", "mode", "currency", "currencyDisplay", "useGrouping", "minFractionDigits", "maxFractionDigits", "prefix", "suffix", "inputStyle", "inputStyleClass", "showClear", "disabled"], outputs: ["onInput", "onFocus", "onBlur", "onKeyDown", "onClear"] }] });
|
|
1933
1933
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: WEditInputNumberComponent, decorators: [{
|
|
1934
1934
|
type: Component,
|
|
1935
1935
|
args: [{ selector: 'w-edit-input-number', providers: [
|
|
@@ -1938,7 +1938,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImpor
|
|
|
1938
1938
|
useExisting: forwardRef(() => WEditInputNumberComponent),
|
|
1939
1939
|
multi: true
|
|
1940
1940
|
}
|
|
1941
|
-
], template: "<div *ngIf=\"formControl != null; else noNgControl\" class=\"w-edit-input-number-field p-fluid field\">\r\n <label *ngIf=\"(label != undefined && label.length > 0)\" \r\n [ngClass]=\"{'w-edit-input-number-small-label': getSizeName(sizeType.small) == size && !disabled,\r\n 'w-edit-input-number-small-label-disabled': getSizeName(sizeType.small) == size && disabled,\r\n 'w-edit-input-number-medium-label': getSizeName(sizeType.medium) == size && !disabled,\r\n 'w-edit-input-number-medium-label-disabled': getSizeName(sizeType.medium) == size && disabled}\" for=\"w-text\">\r\n {{label}}\r\n </label>\r\n <div *ngIf=\"(label != undefined && label == '')\" class=\"w-input-no-label-height\"></div>\r\n <p-inputNumber *ngIf=\"getSizeName(sizeType.medium) == size\"\r\n [ngClass]=\"{'w-edit-input-number-medium-error': formControl.hasError('required') && formControl.dirty && requiredErrorDescription != '',\r\n 'w-edit-input-number-medium-valid': formControl.valid && formControl.touched && successMessage != '',\r\n 'w-edit-input-number-medium-warning': formControl.invalid && formControl.touched && (formControl.hasError('min') || formControl.hasError('max'))}\"\r\n class=\"w-edit-input-number-medium w-edit-input-number-medium-height\"\r\n styleClass=\"flex flex-1\"\r\n [mode]=\"mode\" \r\n [minFractionDigits]=\"minFractionDigits\" [maxFractionDigits]=\"maxFractionDigits\"\r\n id=\"w-textarea\" [placeholder]=\"placeholder\"\r\n [required]=\"required\" [formControl]=\"formControl\" >\r\n </p-inputNumber>\r\n <p-inputNumber *ngIf=\"getSizeName(sizeType.small) == size\"\r\n [ngClass]=\"{'w-edit-input-number-small-error': formControl.hasError('required') && formControl.dirty && requiredErrorDescription != '',\r\n 'w-edit-input-number-small-valid': formControl.valid && formControl.touched && successMessage != '',\r\n 'w-edit-input-number-small-warning': formControl.invalid && formControl.touched && (formControl.hasError('min') || formControl.hasError('max'))}\"\r\n class=\"w-edit-input-number-small w-edit-input-number-small-height\"\r\n styleClass=\"flex flex-1\"\r\n [mode]=\"mode\" \r\n [minFractionDigits]=\"minFractionDigits\" [maxFractionDigits]=\"maxFractionDigits\"\r\n id=\"w-textarea\" [placeholder]=\"placeholder\"\r\n [required]=\"required\" [formControl]=\"formControl\"></p-inputNumber>\r\n <!-- <small *ngIf=\"formControl.valid && formControl.touched\" class=\"w-input-success-alert-text\">{{successMessage}}</small>-->\r\n <small *ngIf=\"formControl.invalid && formControl.hasError('max') && formControl.touched \"\r\n class=\"w-input-alert-message-height w-input-warning-alert-text p-error block\">{{maxErrorDescription}}</small> \r\n <small *ngIf=\"formControl.invalid && formControl.hasError('min') && formControl.touched \"\r\n class=\"w-input-alert-message-height w-input-warning-alert-text p-error block\">{{maxErrorDescription}}</small> \r\n <small *ngIf=\"formControl.hasError('required') && formControl.dirty\"\r\n class=\"w-input-alert-message-height w-input-error-alert-text p-error block\">{{requiredErrorDescription}}</small>\r\n</div>\r\n<ng-template #noNgControl>\r\n <div class=\"w-edit-input-number-field p-fluid field\">\r\n <label *ngIf=\"(label != undefined && label.length > 0)\" \r\n [ngClass]=\"{'w-edit-input-number-small-label': getSizeName(sizeType.small) == size && !disabled,\r\n 'w-edit-input-number-small-label-disabled': getSizeName(sizeType.small) == size && disabled,\r\n 'w-edit-input-number-medium-label': getSizeName(sizeType.medium) == size && !disabled,\r\n 'w-edit-input-number-medium-label-disabled': getSizeName(sizeType.medium) == size && disabled}\" for=\"w-text\">\r\n {{label}}\r\n </label>\r\n <div *ngIf=\"(label != undefined && label == '')\" class=\"w-input-no-label-height\"></div>\r\n <p-inputNumber *ngIf=\"getSizeName(sizeType.medium) == size\" [disabled]=\"disabled\"\r\n [required]=\"required\"\r\n class=\"w-edit-input-number-medium w-edit-input-number-medium-height\"\r\n styleClass=\"flex flex-1\"\r\n [mode]=\"mode\" \r\n [minFractionDigits]=\"minFractionDigits\" [maxFractionDigits]=\"maxFractionDigits\"\r\n id=\"w-textarea\" [placeholder]=\"placeholder\"\r\n [required]=\"required\" [(ngModel)]=\"value\" (onInput)=\"onValueChanged()\" [disabled]=\"disabled\"></p-inputNumber>\r\n <p-inputNumber *ngIf=\"getSizeName(sizeType.small) == size\" [disabled]=\"disabled\"\r\n [required]=\"required\"\r\n class=\"w-edit-input-number-small w-edit-input-number-small-height\"\r\n styleClass=\"flex flex-1\"\r\n [mode]=\"mode\" \r\n [minFractionDigits]=\"minFractionDigits\" [maxFractionDigits]=\"maxFractionDigits\"\r\n id=\"w-textarea\" [placeholder]=\"placeholder\"\r\n [required]=\"required\" [(ngModel)]=\"value\" (input)=\"onValueChanged()\" [disabled]=\"disabled\"></p-inputNumber>\r\n </div>\r\n</ng-template>", styles: ["@charset \"UTF-8\";.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:400}.heading5{font-size:1.5rem;line-height:1.8333333333rem;font-weight:600}.heading6{font-size:1.3333333333rem;line-height:1.6666666667rem;font-weight:400}.subtitle1,.w-tab-text,.w-panel-title-text,.w-sidebar-title-text{font-size:1.1666666667rem;line-height:1.3333333333rem;font-weight:600}.subtitle2,.w-table-th-text,.w-panel-subtitle-text,.w-input-small-label-text-typography,.w-input-small-label-text,.w-edit-input-number-small-label,.w-input-small-label-disabled,.w-edit-input-number-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.3333333333rem;font-weight:600}.body,.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,:host ::ng-deep .w-edit-input-number-small .p-inputnumber .p-inputnumber-input,.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.3333333333rem;font-weight:400}.caption,.w-input-error-alert-text,.w-input-warning-alert-text,.w-input-success-alert-text{font-size:.6666666667rem;line-height:1rem;font-weight:400}.text846{color:#2e3134}.text700{color:#5f6368}.text500{color:#9aa0a6}.textWhite{color:#fff}.spacingXXS{padding:4px}.spacingXSM{padding:6px}.spacingXS{padding:8px}.spacingS{padding:12px}.spacingM{padding:16px}.spacingL{padding:20px}.spacingXL{padding:24px}.spacingXXL{padding:28px}.spacingXXXL{padding:32px}.focus,:host ::ng-deep .w-edit-input-number-medium .p-inputnumber .p-inputnumber-input:focus,:host ::ng-deep .w-edit-input-number-small .p-inputnumber .p-inputnumber-input:focus{box-shadow:0 0 8px #00a6e980}.hover,:host ::ng-deep .w-edit-input-number-medium .p-inputnumber .p-inputnumber-input:hover,:host ::ng-deep .w-edit-input-number-small .p-inputnumber .p-inputnumber-input:hover{border-radius:8px;border:1px solid #00b2eb}.input-generic-valid,:host ::ng-deep .w-edit-input-number-medium-valid .p-inputnumber .p-inputnumber-input,:host ::ng-deep .w-edit-input-number-small-valid .p-inputnumber .p-inputnumber-input{border-radius:8px;border:1px solid #B3FFD3}.input-generic-valid-focus,:host ::ng-deep .w-edit-input-number-medium-valid .p-inputnumber .p-inputnumber-input:focus,:host ::ng-deep .w-edit-input-number-small-valid .p-inputnumber .p-inputnumber-input:focus{border-radius:8px;border:1px solid #B3FFD3!important;box-shadow:0 0 8px #46ff9b80!important;padding-left:16px}.input-generic-warning,:host ::ng-deep .w-edit-input-number-medium-warning .p-inputnumber .p-inputnumber-input,:host ::ng-deep .w-edit-input-number-small-warning .p-inputnumber .p-inputnumber-input{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,:host ::ng-deep p-inputnumber.w-edit-input-number-medium.ng-dirty.ng-invalid>.p-inputnumber>.p-inputtext,:host ::ng-deep p-inputnumber.w-edit-input-number-small.ng-dirty.ng-invalid>.p-inputnumber>.p-inputtext{border-radius:8px;border:1px solid #FFBDBD}.toggle-small-typography{font-size:12px;line-height:16px;font-weight:600}.w-button-small-tertiary-label-text,.w-button-small-text-label-text{color:#2e3134}.w-button-small-icon-text{font-size:12px}.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:400;line-height:16px}.w-button-medium-tertiary-label-text{color:#2e3134}.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:400;line-height:24px}.w-button-large-tertiary-label-text{color:#2e3134}.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,.w-view-small-value-text{color:#2e3134}.w-input-no-label-height{height:36px}.w-input-disabled{background-color:#f1f3f4;border-color:#e8eaed;opacity:1}.w-input-small-label-text,.w-edit-input-number-small-label,.w-input-small-label-disabled,.w-edit-input-number-small-label-disabled{color:#2e3134}.w-input-small-label-disabled,.w-edit-input-number-small-label-disabled{color:#9aa0a6}.w-input-small-label-text-content,.w-edit-input-number-medium-label-disabled,.w-edit-input-number-medium-label,.w-edit-input-number-small-label-disabled,.w-edit-input-number-small-label{padding:12px 8px 8px 0;margin:0}.w-input-small-placeholder-text,:host ::ng-deep .w-edit-input-number-small .p-inputnumber .p-inputnumber-input{color:#2e3134}.w-input-small-placeholder-text-only-color{color:#2e3134}.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text-disabled-only-color{color:#5f6368}.w-input-small-text-icon,.w-input-small-select-options-text{color:#2e3134}.w-input-medium-label-text-typography,.w-input-medium-label-text,.w-edit-input-number-medium-label,.w-input-medium-label-disabled,.w-edit-input-number-medium-label-disabled{font-size:14px;font-weight:600;line-height:16px}.w-input-medium-label-text,.w-edit-input-number-medium-label,.w-input-medium-label-disabled,.w-edit-input-number-medium-label-disabled{color:#2e3134}.w-input-medium-label-disabled,.w-edit-input-number-medium-label-disabled{color:#9aa0a6}.w-input-medium-placeholder-text-typography,.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text,:host ::ng-deep .w-edit-input-number-medium .p-inputnumber .p-inputnumber-input{font-size:16px;font-weight:400;line-height:24px}.w-input-medium-placeholder-text,:host ::ng-deep .w-edit-input-number-medium .p-inputnumber .p-inputnumber-input{color:#2e3134}.w-input-medium-placeholder-text-only-color{color:#2e3134}.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text-disabled-only-color{color:#5f6368}.w-input-medium-text-icon{color:#2e3134}.w-input-medium-select-options-text{font-size:16px;font-weight:400;line-height:24px;color:#2e3134}.w-input-success-alert-text{color:#00db5d;padding:8px 8px 0;margin-top:0}.w-input-warning-alert-text{color:#eeae00;padding:8px 8px 0;margin-top:0}.w-input-error-alert-text{color:#e50000;padding:8px 8px 0;margin-top:0}.w-input-alert-message-height{height:32px}.w-sidebar-title-text,.w-panel-title-text,.w-panel-subtitle-text{color:#2e3134}.w-panel-content{color:#5f6368}.w-tab-text,.w-chip-text{color:#2e3134}.w-badge-text{font-size:8px;font-weight:700;line-height:8px}.w-table-th-text{color:#2e3134}.w-table-td-text{color:#5f6368}.w-edit-input-number-field{margin:0}:host ::ng-deep .w-edit-input-number-small-height .p-inputnumber .p-inputnumber-input{height:32px!important}.w-edit-input-number-small{width:100%}:host ::ng-deep .w-edit-input-number-small .p-inputnumber .p-inputnumber-input{border-radius:8px;border-width:1px;padding:7px 11px!important;width:100%;border:1px solid #e8eaed}:host ::ng-deep .w-edit-input-number-small .p-inputnumber .p-inputnumber-input::-webkit-input-placeholder{color:#5f6368!important}:host ::ng-deep .w-edit-input-number-small .p-inputnumber .p-inputnumber-input::-moz-placeholder{color:#5f6368!important}:host ::ng-deep .w-edit-input-number-small .p-inputnumber .p-inputnumber-input:-ms-input-placeholder{color:#5f6368!important}:host ::ng-deep .w-edit-input-number-small .p-inputnumber .p-inputnumber-input:-moz-placeholder{color:#5f6368!important}:host ::ng-deep .w-edit-input-number-small .p-inputnumber .p-inputnumber-input:focus{border-radius:8px;border:1px solid #d6f2ff}:host ::ng-deep .w-edit-input-number-small .p-inputnumber .p-inputnumber-input:focus::-moz-placeholder{color:transparent}:host ::ng-deep .w-edit-input-number-small .p-inputnumber .p-inputnumber-input:focus::-webkit-input-placeholder{color:transparent}:host ::ng-deep .w-edit-input-number-small .p-inputnumber .p-inputnumber-input:focus:-ms-input-placeholder{color:transparent}:host ::ng-deep .w-edit-input-number-small .p-inputnumber .p-inputnumber-input:focus:-moz-placeholder{color:transparent}:host ::ng-deep .w-edit-input-number-small .p-inputnumber .p-inputnumber-input:disabled{background-color:#f1f3f4;border-color:#e8eaed;color:#5f6368;opacity:1}:host ::ng-deep .w-edit-input-number-small-valid .p-inputnumber .p-inputnumber-input:focus{padding-left:12px}:host ::ng-deep .w-edit-input-number-medium-height .p-inputnumber .p-inputnumber-input{height:40px!important}.w-edit-input-number-medium{width:100%}:host ::ng-deep .w-edit-input-number-medium .p-inputnumber .p-inputnumber-input{border-radius:8px;border-width:1px;padding:7px 15px!important;width:100%;border:1px solid #e8eaed}:host ::ng-deep .w-edit-input-number-medium .p-inputnumber .p-inputnumber-input::-webkit-input-placeholder{color:#5f6368!important}:host ::ng-deep .w-edit-input-number-medium .p-inputnumber .p-inputnumber-input::-moz-placeholder{color:#5f6368!important}:host ::ng-deep .w-edit-input-number-medium .p-inputnumber .p-inputnumber-input:-ms-input-placeholder{color:#5f6368!important}:host ::ng-deep .w-edit-input-number-medium .p-inputnumber .p-inputnumber-input:-moz-placeholder{color:#5f6368!important}:host ::ng-deep .w-edit-input-number-medium .p-inputnumber .p-inputnumber-input:focus{border-radius:8px;border:1px solid #d6f2ff;padding-left:15px}:host ::ng-deep .w-edit-input-number-medium .p-inputnumber .p-inputnumber-input:focus::-moz-placeholder{color:transparent}:host ::ng-deep .w-edit-input-number-medium .p-inputnumber .p-inputnumber-input:focus::-webkit-input-placeholder{color:transparent}:host ::ng-deep .w-edit-input-number-medium .p-inputnumber .p-inputnumber-input:focus:-ms-input-placeholder{color:transparent}:host ::ng-deep .w-edit-input-number-medium .p-inputnumber .p-inputnumber-input:focus:-moz-placeholder{color:transparent}:host ::ng-deep .w-edit-input-number-medium .p-inputnumber .p-inputnumber-input:disabled{background-color:#f1f3f4;border-color:#e8eaed;color:#5f6368;opacity:1}\n"] }]
|
|
1941
|
+
], template: "<div *ngIf=\"formControl != null; else noNgControl\" class=\"w-edit-input-number-field p-fluid field\">\r\n <label *ngIf=\"(label != undefined && label.length > 0)\" \r\n [ngClass]=\"{'w-edit-input-number-small-label': getSizeName(sizeType.small) == size && !disabled,\r\n 'w-edit-input-number-small-label-disabled': getSizeName(sizeType.small) == size && disabled,\r\n 'w-edit-input-number-medium-label': getSizeName(sizeType.medium) == size && !disabled,\r\n 'w-edit-input-number-medium-label-disabled': getSizeName(sizeType.medium) == size && disabled}\" for=\"w-text\">\r\n {{label}}\r\n </label>\r\n <div *ngIf=\"(label != undefined && label == '')\" class=\"w-input-no-label-height\"></div>\r\n <p-inputNumber *ngIf=\"getSizeName(sizeType.medium) == size\"\r\n [ngClass]=\"{'w-edit-input-number-medium-error': formControl.hasError('required') && formControl.dirty && requiredErrorDescription != '',\r\n 'w-edit-input-number-medium-valid': formControl.valid && formControl.touched && successMessage != '',\r\n 'w-edit-input-number-medium-warning': formControl.invalid && formControl.touched && (formControl.hasError('min') || formControl.hasError('max'))}\"\r\n class=\"w-edit-input-number-medium w-edit-input-number-medium-height\"\r\n styleClass=\"flex flex-1\"\r\n [mode]=\"mode\" \r\n [minFractionDigits]=\"minFractionDigits\" [maxFractionDigits]=\"maxFractionDigits\"\r\n id=\"w-textarea\" [placeholder]=\"placeholder\"\r\n [required]=\"required\" [formControl]=\"formControl\" >\r\n </p-inputNumber>\r\n <p-inputNumber *ngIf=\"getSizeName(sizeType.small) == size\"\r\n [ngClass]=\"{'w-edit-input-number-small-error': formControl.hasError('required') && formControl.dirty && requiredErrorDescription != '',\r\n 'w-edit-input-number-small-valid': formControl.valid && formControl.touched && successMessage != '',\r\n 'w-edit-input-number-small-warning': formControl.invalid && formControl.touched && (formControl.hasError('min') || formControl.hasError('max'))}\"\r\n class=\"w-edit-input-number-small w-edit-input-number-small-height\"\r\n styleClass=\"flex flex-1\"\r\n [mode]=\"mode\" \r\n [minFractionDigits]=\"minFractionDigits\" [maxFractionDigits]=\"maxFractionDigits\"\r\n id=\"w-textarea\" [placeholder]=\"placeholder\"\r\n [required]=\"required\" [formControl]=\"formControl\"></p-inputNumber>\r\n <!-- <small *ngIf=\"formControl.valid && formControl.touched\" class=\"w-input-success-alert-text\">{{successMessage}}</small>-->\r\n <small *ngIf=\"formControl.invalid && formControl.hasError('max') && formControl.touched \"\r\n class=\"w-input-alert-message-height w-input-warning-alert-text p-error block\">{{maxErrorDescription}}</small> \r\n <small *ngIf=\"formControl.invalid && formControl.hasError('min') && formControl.touched \"\r\n class=\"w-input-alert-message-height w-input-warning-alert-text p-error block\">{{maxErrorDescription}}</small> \r\n <small *ngIf=\"formControl.hasError('required') && formControl.dirty\"\r\n class=\"w-input-alert-message-height w-input-error-alert-text p-error block\">{{requiredErrorDescription}}</small>\r\n</div>\r\n<ng-template #noNgControl>\r\n <div class=\"w-edit-input-number-field p-fluid field\">\r\n <label *ngIf=\"(label != undefined && label.length > 0)\" \r\n [ngClass]=\"{'w-edit-input-number-small-label': getSizeName(sizeType.small) == size && !disabled,\r\n 'w-edit-input-number-small-label-disabled': getSizeName(sizeType.small) == size && disabled,\r\n 'w-edit-input-number-medium-label': getSizeName(sizeType.medium) == size && !disabled,\r\n 'w-edit-input-number-medium-label-disabled': getSizeName(sizeType.medium) == size && disabled}\" for=\"w-text\">\r\n {{label}}\r\n </label>\r\n <div *ngIf=\"(label != undefined && label == '')\" class=\"w-input-no-label-height\"></div>\r\n <p-inputNumber *ngIf=\"getSizeName(sizeType.medium) == size\" [disabled]=\"disabled\"\r\n [required]=\"required\"\r\n class=\"w-edit-input-number-medium w-edit-input-number-medium-height\"\r\n styleClass=\"flex flex-1\"\r\n [mode]=\"mode\" \r\n [minFractionDigits]=\"minFractionDigits\" [maxFractionDigits]=\"maxFractionDigits\"\r\n id=\"w-textarea\" [placeholder]=\"placeholder\"\r\n [required]=\"required\" [(ngModel)]=\"value\" (onInput)=\"onValueChanged()\" [disabled]=\"disabled\"></p-inputNumber>\r\n <p-inputNumber *ngIf=\"getSizeName(sizeType.small) == size\" [disabled]=\"disabled\"\r\n [required]=\"required\"\r\n class=\"w-edit-input-number-small w-edit-input-number-small-height\"\r\n styleClass=\"flex flex-1\"\r\n [mode]=\"mode\" \r\n [minFractionDigits]=\"minFractionDigits\" [maxFractionDigits]=\"maxFractionDigits\"\r\n id=\"w-textarea\" [placeholder]=\"placeholder\"\r\n [required]=\"required\" [(ngModel)]=\"value\" (onInput)=\"onValueChanged()\" [disabled]=\"disabled\"></p-inputNumber>\r\n </div>\r\n</ng-template>", styles: ["@charset \"UTF-8\";.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:400}.heading5{font-size:1.5rem;line-height:1.8333333333rem;font-weight:600}.heading6{font-size:1.3333333333rem;line-height:1.6666666667rem;font-weight:400}.subtitle1,.w-tab-text,.w-panel-title-text,.w-sidebar-title-text{font-size:1.1666666667rem;line-height:1.3333333333rem;font-weight:600}.subtitle2,.w-table-th-text,.w-panel-subtitle-text,.w-input-small-label-text-typography,.w-input-small-label-text,.w-edit-input-number-small-label,.w-input-small-label-disabled,.w-edit-input-number-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.3333333333rem;font-weight:600}.body,.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,:host ::ng-deep .w-edit-input-number-small .p-inputnumber .p-inputnumber-input,.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.3333333333rem;font-weight:400}.caption,.w-input-error-alert-text,.w-input-warning-alert-text,.w-input-success-alert-text{font-size:.6666666667rem;line-height:1rem;font-weight:400}.text846{color:#2e3134}.text700{color:#5f6368}.text500{color:#9aa0a6}.textWhite{color:#fff}.spacingXXS{padding:4px}.spacingXSM{padding:6px}.spacingXS{padding:8px}.spacingS{padding:12px}.spacingM{padding:16px}.spacingL{padding:20px}.spacingXL{padding:24px}.spacingXXL{padding:28px}.spacingXXXL{padding:32px}.focus,:host ::ng-deep .w-edit-input-number-medium .p-inputnumber .p-inputnumber-input:focus,:host ::ng-deep .w-edit-input-number-small .p-inputnumber .p-inputnumber-input:focus{box-shadow:0 0 8px #00a6e980}.hover,:host ::ng-deep .w-edit-input-number-medium .p-inputnumber .p-inputnumber-input:hover,:host ::ng-deep .w-edit-input-number-small .p-inputnumber .p-inputnumber-input:hover{border-radius:8px;border:1px solid #00b2eb}.input-generic-valid,:host ::ng-deep .w-edit-input-number-medium-valid .p-inputnumber .p-inputnumber-input,:host ::ng-deep .w-edit-input-number-small-valid .p-inputnumber .p-inputnumber-input{border-radius:8px;border:1px solid #B3FFD3}.input-generic-valid-focus,:host ::ng-deep .w-edit-input-number-medium-valid .p-inputnumber .p-inputnumber-input:focus,:host ::ng-deep .w-edit-input-number-small-valid .p-inputnumber .p-inputnumber-input:focus{border-radius:8px;border:1px solid #B3FFD3!important;box-shadow:0 0 8px #46ff9b80!important;padding-left:16px}.input-generic-warning,:host ::ng-deep .w-edit-input-number-medium-warning .p-inputnumber .p-inputnumber-input,:host ::ng-deep .w-edit-input-number-small-warning .p-inputnumber .p-inputnumber-input{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,:host ::ng-deep p-inputnumber.w-edit-input-number-medium.ng-dirty.ng-invalid>.p-inputnumber>.p-inputtext,:host ::ng-deep p-inputnumber.w-edit-input-number-small.ng-dirty.ng-invalid>.p-inputnumber>.p-inputtext{border-radius:8px;border:1px solid #FFBDBD}.toggle-small-typography{font-size:12px;line-height:16px;font-weight:600}.w-button-small-tertiary-label-text,.w-button-small-text-label-text{color:#2e3134}.w-button-small-icon-text{font-size:12px}.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:400;line-height:16px}.w-button-medium-tertiary-label-text{color:#2e3134}.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:400;line-height:24px}.w-button-large-tertiary-label-text{color:#2e3134}.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,.w-view-small-value-text{color:#2e3134}.w-input-no-label-height{height:36px}.w-input-disabled{background-color:#f1f3f4;border-color:#e8eaed;opacity:1}.w-input-small-label-text,.w-edit-input-number-small-label,.w-input-small-label-disabled,.w-edit-input-number-small-label-disabled{color:#2e3134}.w-input-small-label-disabled,.w-edit-input-number-small-label-disabled{color:#9aa0a6}.w-input-small-label-text-content,.w-edit-input-number-medium-label-disabled,.w-edit-input-number-medium-label,.w-edit-input-number-small-label-disabled,.w-edit-input-number-small-label{padding:12px 8px 8px 0;margin:0}.w-input-small-placeholder-text,:host ::ng-deep .w-edit-input-number-small .p-inputnumber .p-inputnumber-input{color:#2e3134}.w-input-small-placeholder-text-only-color{color:#2e3134}.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text-disabled-only-color{color:#5f6368}.w-input-small-text-icon,.w-input-small-select-options-text{color:#2e3134}.w-input-medium-label-text-typography,.w-input-medium-label-text,.w-edit-input-number-medium-label,.w-input-medium-label-disabled,.w-edit-input-number-medium-label-disabled{font-size:14px;font-weight:600;line-height:16px}.w-input-medium-label-text,.w-edit-input-number-medium-label,.w-input-medium-label-disabled,.w-edit-input-number-medium-label-disabled{color:#2e3134}.w-input-medium-label-disabled,.w-edit-input-number-medium-label-disabled{color:#9aa0a6}.w-input-medium-placeholder-text-typography,.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text,:host ::ng-deep .w-edit-input-number-medium .p-inputnumber .p-inputnumber-input{font-size:16px;font-weight:400;line-height:24px}.w-input-medium-placeholder-text,:host ::ng-deep .w-edit-input-number-medium .p-inputnumber .p-inputnumber-input{color:#2e3134}.w-input-medium-placeholder-text-only-color{color:#2e3134}.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text-disabled-only-color{color:#5f6368}.w-input-medium-text-icon{color:#2e3134}.w-input-medium-select-options-text{font-size:16px;font-weight:400;line-height:24px;color:#2e3134}.w-input-success-alert-text{color:#00db5d;padding:8px 8px 0;margin-top:0}.w-input-warning-alert-text{color:#eeae00;padding:8px 8px 0;margin-top:0}.w-input-error-alert-text{color:#e50000;padding:8px 8px 0;margin-top:0}.w-input-alert-message-height{height:32px}.w-sidebar-title-text,.w-panel-title-text,.w-panel-subtitle-text{color:#2e3134}.w-panel-content{color:#5f6368}.w-tab-text,.w-chip-text{color:#2e3134}.w-badge-text{font-size:8px;font-weight:700;line-height:8px}.w-table-th-text{color:#2e3134}.w-table-td-text{color:#5f6368}.w-edit-input-number-field{margin:0}:host ::ng-deep .w-edit-input-number-small-height .p-inputnumber .p-inputnumber-input{height:32px!important}.w-edit-input-number-small{width:100%}:host ::ng-deep .w-edit-input-number-small .p-inputnumber .p-inputnumber-input{border-radius:8px;border-width:1px;padding:7px 11px!important;width:100%;border:1px solid #e8eaed}:host ::ng-deep .w-edit-input-number-small .p-inputnumber .p-inputnumber-input::-webkit-input-placeholder{color:#5f6368!important}:host ::ng-deep .w-edit-input-number-small .p-inputnumber .p-inputnumber-input::-moz-placeholder{color:#5f6368!important}:host ::ng-deep .w-edit-input-number-small .p-inputnumber .p-inputnumber-input:-ms-input-placeholder{color:#5f6368!important}:host ::ng-deep .w-edit-input-number-small .p-inputnumber .p-inputnumber-input:-moz-placeholder{color:#5f6368!important}:host ::ng-deep .w-edit-input-number-small .p-inputnumber .p-inputnumber-input:focus{border-radius:8px;border:1px solid #d6f2ff}:host ::ng-deep .w-edit-input-number-small .p-inputnumber .p-inputnumber-input:focus::-moz-placeholder{color:transparent}:host ::ng-deep .w-edit-input-number-small .p-inputnumber .p-inputnumber-input:focus::-webkit-input-placeholder{color:transparent}:host ::ng-deep .w-edit-input-number-small .p-inputnumber .p-inputnumber-input:focus:-ms-input-placeholder{color:transparent}:host ::ng-deep .w-edit-input-number-small .p-inputnumber .p-inputnumber-input:focus:-moz-placeholder{color:transparent}:host ::ng-deep .w-edit-input-number-small .p-inputnumber .p-inputnumber-input:disabled{background-color:#f1f3f4;border-color:#e8eaed;color:#5f6368;opacity:1}:host ::ng-deep .w-edit-input-number-small-valid .p-inputnumber .p-inputnumber-input:focus{padding-left:12px}:host ::ng-deep .w-edit-input-number-medium-height .p-inputnumber .p-inputnumber-input{height:40px!important}.w-edit-input-number-medium{width:100%}:host ::ng-deep .w-edit-input-number-medium .p-inputnumber .p-inputnumber-input{border-radius:8px;border-width:1px;padding:7px 15px!important;width:100%;border:1px solid #e8eaed}:host ::ng-deep .w-edit-input-number-medium .p-inputnumber .p-inputnumber-input::-webkit-input-placeholder{color:#5f6368!important}:host ::ng-deep .w-edit-input-number-medium .p-inputnumber .p-inputnumber-input::-moz-placeholder{color:#5f6368!important}:host ::ng-deep .w-edit-input-number-medium .p-inputnumber .p-inputnumber-input:-ms-input-placeholder{color:#5f6368!important}:host ::ng-deep .w-edit-input-number-medium .p-inputnumber .p-inputnumber-input:-moz-placeholder{color:#5f6368!important}:host ::ng-deep .w-edit-input-number-medium .p-inputnumber .p-inputnumber-input:focus{border-radius:8px;border:1px solid #d6f2ff;padding-left:15px}:host ::ng-deep .w-edit-input-number-medium .p-inputnumber .p-inputnumber-input:focus::-moz-placeholder{color:transparent}:host ::ng-deep .w-edit-input-number-medium .p-inputnumber .p-inputnumber-input:focus::-webkit-input-placeholder{color:transparent}:host ::ng-deep .w-edit-input-number-medium .p-inputnumber .p-inputnumber-input:focus:-ms-input-placeholder{color:transparent}:host ::ng-deep .w-edit-input-number-medium .p-inputnumber .p-inputnumber-input:focus:-moz-placeholder{color:transparent}:host ::ng-deep .w-edit-input-number-medium .p-inputnumber .p-inputnumber-input:disabled{background-color:#f1f3f4;border-color:#e8eaed;color:#5f6368;opacity:1}\n"] }]
|
|
1942
1942
|
}], propDecorators: { label: [{
|
|
1943
1943
|
type: Input,
|
|
1944
1944
|
args: ['label']
|
|
@@ -4008,7 +4008,7 @@ class WEditToggleComponent {
|
|
|
4008
4008
|
this.helpDescription = '';
|
|
4009
4009
|
this.isDisabled = false;
|
|
4010
4010
|
this.isRequired = false;
|
|
4011
|
-
this.size = '
|
|
4011
|
+
this.size = 'small';
|
|
4012
4012
|
this.hasAlign = true;
|
|
4013
4013
|
this.toggleState = new EventEmitter();
|
|
4014
4014
|
this.value = false;
|
|
@@ -4052,7 +4052,7 @@ WEditToggleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
|
|
|
4052
4052
|
useExisting: forwardRef(() => WEditToggleComponent),
|
|
4053
4053
|
multi: true
|
|
4054
4054
|
}
|
|
4055
|
-
], ngImport: i0, template: "\r\n<div *ngIf=\"formControl; else noNgControl\" class=\"flex align-content-center\" \r\n [ngClass]=\"{'w-edit-toggle-medium-field': getSize(sizeType.medium) == size,\r\n 'w-edit-toggle-small-field': getSize(sizeType.small) == size,\r\n 'w-edit-toggle-medium-heigth': hasAlign && getSize(sizeType.medium) == size,\r\n 'w-edit-toggle-small-heigth': hasAlign && getSize(sizeType.small) == size}\">\r\n <label *ngIf=\"(getSize(sizeType.medium) == size && (label != undefined && label.length > 0));\" for=\"toggle\"\r\n class=\"flex align-items-center\"\r\n [ngClass]=\"{'w-edit-toggle-medium-label': !isDisabled,\r\n 'w-edit-toggle-medium-label-disabled': isDisabled}\">\r\n {{label}}\r\n </label>\r\n <label *ngIf=\"(getSize(sizeType.small) == size && (label != undefined && label.length > 0));\" for=\"toggle\"\r\n class=\"flex align-items-center\"\r\n [ngClass]=\"{'w-edit-toggle-small-label': !isDisabled,\r\n 'w-edit-toggle-small-label-disabled': isDisabled}\">\r\n {{label}}\r\n </label>\r\n\r\n <p-inputSwitch id=\"toggle\"\r\n [ngClass]=\"{'w-edit-toggle-medium': getSize(sizeType.medium) == size,\r\n 'w-edit-toggle-small': getSize(sizeType.small) == size}\"\r\n class=\"flex align-items-center\"\r\n [formControl]=\"formControl\">\r\n </p-inputSwitch>\r\n</div>\r\n\r\n<ng-template #noNgControl>\r\n <div class=\"flex align-content-center\" \r\n [ngClass]=\"{'w-edit-toggle-medium-field': getSize(sizeType.medium) == size,\r\n 'w-edit-toggle-small-field': getSize(sizeType.small) == size,\r\n 'w-edit-toggle-medium-heigth': hasAlign && getSize(sizeType.medium) == size,\r\n 'w-edit-toggle-small-heigth': hasAlign && getSize(sizeType.small) == size }\">\r\n <label *ngIf=\"(getSize(sizeType.medium) == size && (label != undefined && label.length > 0));\" for=\"toggle\"\r\n class=\"flex align-items-center\"\r\n [ngClass]=\"{'w-edit-toggle-medium-label': !isDisabled,\r\n 'w-edit-toggle-medium-label-disabled': isDisabled}\">\r\n {{label}}\r\n </label>\r\n <label *ngIf=\"(getSize(sizeType.small) == size && (label != undefined && label.length > 0));\" for=\"toggle\"\r\n class=\"flex align-items-center\"\r\n [ngClass]=\"{'w-edit-toggle-small-label': !isDisabled,\r\n 'w-edit-toggle-small-label-disabled': isDisabled}\">\r\n {{label}}\r\n </label>\r\n \r\n <p-inputSwitch id=\"toggle\"\r\n [ngClass]=\"{'w-edit-toggle-medium': getSize(sizeType.medium) == size,\r\n 'w-edit-toggle-small': getSize(sizeType.small) == size}\"\r\n class=\"flex align-items-center\"\r\n (ngModelChange)=\"onInput($event)\"\r\n [(ngModel)]=\"value\">\r\n </p-inputSwitch>\r\n </div>\r\n</ng-template>", 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:400}.heading5{font-size:1.5rem;line-height:1.8333333333rem;font-weight:600}.heading6{font-size:1.3333333333rem;line-height:1.6666666667rem;font-weight:400}.subtitle1,.w-tab-text,.w-panel-title-text,.w-sidebar-title-text{font-size:1.1666666667rem;line-height:1.3333333333rem;font-weight:600}.subtitle2,.w-table-th-text,.w-panel-subtitle-text,.w-input-small-label-text-typography,.w-input-small-label-text,.w-edit-toggle-medium-label,.w-edit-toggle-small-label,.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.3333333333rem;font-weight:600}.body,.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.3333333333rem;font-weight:400}.caption,.w-input-error-alert-text,.w-input-warning-alert-text,.w-input-success-alert-text{font-size:.6666666667rem;line-height:1rem;font-weight:400}.text846{color:#2e3134}.text700{color:#5f6368}.text500{color:#9aa0a6}.textWhite{color:#fff}.spacingXXS{padding:4px}.spacingXSM{padding:6px}.spacingXS{padding:8px}.spacingS{padding:12px}.spacingM{padding:16px}.spacingL{padding:20px}.spacingXL{padding:24px}.spacingXXL{padding:28px}.spacingXXXL{padding:32px}.focus{box-shadow:0 0 8px #00a6e980}.hover{border-radius:8px;border:1px solid #00b2eb}.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-tertiary-label-text,.w-button-small-text-label-text{color:#2e3134}.w-button-small-icon-text{font-size:12px}.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:400;line-height:16px}.w-button-medium-tertiary-label-text{color:#2e3134}.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:400;line-height:24px}.w-button-large-tertiary-label-text{color:#2e3134}.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,.w-view-small-value-text{color:#2e3134}.w-input-no-label-height{height:36px}.w-input-disabled{background-color:#f1f3f4;border-color:#e8eaed;opacity:1}.w-input-small-label-text,.w-edit-toggle-medium-label,.w-edit-toggle-small-label,.w-input-small-label-disabled{color:#2e3134}.w-input-small-label-disabled{color:#9aa0a6}.w-input-small-label-text-content{padding:12px 8px 8px 0;margin:0}.w-input-small-placeholder-text,.w-input-small-placeholder-text-only-color{color:#2e3134}.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text-disabled-only-color{color:#5f6368}.w-input-small-text-icon,.w-input-small-select-options-text{color:#2e3134}.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:#2e3134}.w-input-medium-label-disabled{color:#9aa0a6}.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:#2e3134}.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text-disabled-only-color{color:#5f6368}.w-input-medium-text-icon{color:#2e3134}.w-input-medium-select-options-text{font-size:16px;font-weight:400;line-height:24px;color:#2e3134}.w-input-success-alert-text{color:#00db5d;padding:8px 8px 0;margin-top:0}.w-input-warning-alert-text{color:#eeae00;padding:8px 8px 0;margin-top:0}.w-input-error-alert-text{color:#e50000;padding:8px 8px 0;margin-top:0}.w-input-alert-message-height{height:32px}.w-sidebar-title-text,.w-panel-title-text,.w-panel-subtitle-text{color:#2e3134}.w-panel-content{color:#5f6368}.w-tab-text,.w-chip-text{color:#2e3134}.w-badge-text{font-size:8px;font-weight:700;line-height:8px}.w-table-th-text{color:#2e3134}.w-table-td-text{color:#5f6368}::ng-deep .w-edit-toggle-small .p-inputswitch{height:16px;width:28px;margin-left:8px}::ng-deep .w-edit-toggle-small .p-inputswitch .p-inputswitch-slider:before{width:12px;height:12px;margin-top:-6px}::ng-deep .w-edit-toggle-small .p-inputswitch.p-inputswitch-checked .p-inputswitch-slider:before{transform:translate(10px)}::ng-deep .p-inputswitch.p-inputswitch-checked .p-inputswitch-slider{background:#00b2eb}.w-edit-toggle-small-field{height:16px}.w-edit-toggle-small-heigth{height:32px;justify-content:center;align-content:center;align-items:center;display:grid}::ng-deep .w-edit-toggle-medium .p-inputswitch{height:24px;width:44px;margin-left:12px}.w-edit-toggle-medium-field{height:24px}.w-edit-toggle-medium-heigth{height:76px;justify-content:start;align-content:center;align-items:center;display:grid}::ng-deep .w-edit-toggle-medium .p-inputswitch{height:24x;width:44px;margin-left:8px}::ng-deep .w-edit-toggle-medium .p-inputswitch .p-inputswitch-slider:before{width:20px;height:20px;margin-top:-10px;left:3px}::ng-deep .w-edit-toggle-medium .p-inputswitch.p-inputswitch-checked .p-inputswitch-slider:before{transform:translate(18px)}\n"], dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3$9.InputSwitch, selector: "p-inputSwitch", inputs: ["style", "styleClass", "tabindex", "inputId", "name", "disabled", "readonly", "trueValue", "falseValue", "ariaLabel", "ariaLabelledBy"], outputs: ["onChange"] }] });
|
|
4055
|
+
], ngImport: i0, template: "\r\n<div *ngIf=\"formControl; else noNgControl\" class=\"flex align-content-center\" \r\n [ngClass]=\"{'w-edit-toggle-medium-field': getSize(sizeType.medium) == size,\r\n 'w-edit-toggle-small-field': getSize(sizeType.small) == size,\r\n 'w-edit-toggle-medium-heigth': hasAlign && getSize(sizeType.medium) == size,\r\n 'w-edit-toggle-small-heigth': hasAlign && getSize(sizeType.small) == size}\">\r\n <label *ngIf=\"(getSize(sizeType.medium) == size && (label != undefined && label.length > 0));\" for=\"toggle\"\r\n class=\"flex align-items-center\"\r\n [ngClass]=\"{'w-edit-toggle-medium-label': !isDisabled,\r\n 'w-edit-toggle-medium-label-disabled': isDisabled}\">\r\n {{label}}\r\n </label>\r\n <label *ngIf=\"(getSize(sizeType.small) == size && (label != undefined && label.length > 0));\" for=\"toggle\"\r\n class=\"flex align-items-center\"\r\n [ngClass]=\"{'w-edit-toggle-small-label': !isDisabled,\r\n 'w-edit-toggle-small-label-disabled': isDisabled}\">\r\n {{label}}\r\n </label>\r\n\r\n <p-inputSwitch id=\"toggle\"\r\n [ngClass]=\"{'w-edit-toggle-medium': getSize(sizeType.medium) == size,\r\n 'w-edit-toggle-small': getSize(sizeType.small) == size}\"\r\n class=\"flex align-items-center\"\r\n [formControl]=\"formControl\">\r\n </p-inputSwitch>\r\n</div>\r\n\r\n<ng-template #noNgControl>\r\n <div class=\"flex align-content-center\" \r\n [ngClass]=\"{'w-edit-toggle-medium-field': getSize(sizeType.medium) == size,\r\n 'w-edit-toggle-small-field': getSize(sizeType.small) == size,\r\n 'w-edit-toggle-medium-heigth': hasAlign && getSize(sizeType.medium) == size,\r\n 'w-edit-toggle-small-heigth': hasAlign && getSize(sizeType.small) == size }\">\r\n <label *ngIf=\"(getSize(sizeType.medium) == size && (label != undefined && label.length > 0));\" for=\"toggle\"\r\n class=\"flex align-items-center\"\r\n [ngClass]=\"{'w-edit-toggle-medium-label': !isDisabled,\r\n 'w-edit-toggle-medium-label-disabled': isDisabled}\">\r\n {{label}}\r\n </label>\r\n <label *ngIf=\"(getSize(sizeType.small) == size && (label != undefined && label.length > 0));\" for=\"toggle\"\r\n class=\"flex align-items-center\"\r\n [ngClass]=\"{'w-edit-toggle-small-label': !isDisabled,\r\n 'w-edit-toggle-small-label-disabled': isDisabled}\">\r\n {{label}}\r\n </label>\r\n \r\n <p-inputSwitch id=\"toggle\"\r\n [ngClass]=\"{'w-edit-toggle-medium': getSize(sizeType.medium) == size,\r\n 'w-edit-toggle-small': getSize(sizeType.small) == size}\"\r\n class=\"flex align-items-center\"\r\n (ngModelChange)=\"onInput($event)\"\r\n [(ngModel)]=\"value\">\r\n </p-inputSwitch>\r\n </div>\r\n</ng-template>", 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:400}.heading5{font-size:1.5rem;line-height:1.8333333333rem;font-weight:600}.heading6{font-size:1.3333333333rem;line-height:1.6666666667rem;font-weight:400}.subtitle1,.w-tab-text,.w-panel-title-text,.w-sidebar-title-text{font-size:1.1666666667rem;line-height:1.3333333333rem;font-weight:600}.subtitle2,.w-table-th-text,.w-panel-subtitle-text,.w-input-small-label-text-typography,.w-input-small-label-text,.w-edit-toggle-medium-label,.w-edit-toggle-small-label,.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.3333333333rem;font-weight:600}.body,.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.3333333333rem;font-weight:400}.caption,.w-input-error-alert-text,.w-input-warning-alert-text,.w-input-success-alert-text{font-size:.6666666667rem;line-height:1rem;font-weight:400}.text846{color:#2e3134}.text700{color:#5f6368}.text500{color:#9aa0a6}.textWhite{color:#fff}.spacingXXS{padding:4px}.spacingXSM{padding:6px}.spacingXS{padding:8px}.spacingS{padding:12px}.spacingM{padding:16px}.spacingL{padding:20px}.spacingXL{padding:24px}.spacingXXL{padding:28px}.spacingXXXL{padding:32px}.focus{box-shadow:0 0 8px #00a6e980}.hover{border-radius:8px;border:1px solid #00b2eb}.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-tertiary-label-text,.w-button-small-text-label-text{color:#2e3134}.w-button-small-icon-text{font-size:12px}.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:400;line-height:16px}.w-button-medium-tertiary-label-text{color:#2e3134}.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:400;line-height:24px}.w-button-large-tertiary-label-text{color:#2e3134}.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,.w-view-small-value-text{color:#2e3134}.w-input-no-label-height{height:36px}.w-input-disabled{background-color:#f1f3f4;border-color:#e8eaed;opacity:1}.w-input-small-label-text,.w-edit-toggle-medium-label,.w-edit-toggle-small-label,.w-input-small-label-disabled{color:#2e3134}.w-input-small-label-disabled{color:#9aa0a6}.w-input-small-label-text-content{padding:12px 8px 8px 0;margin:0}.w-input-small-placeholder-text,.w-input-small-placeholder-text-only-color{color:#2e3134}.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text-disabled-only-color{color:#5f6368}.w-input-small-text-icon,.w-input-small-select-options-text{color:#2e3134}.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:#2e3134}.w-input-medium-label-disabled{color:#9aa0a6}.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:#2e3134}.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text-disabled-only-color{color:#5f6368}.w-input-medium-text-icon{color:#2e3134}.w-input-medium-select-options-text{font-size:16px;font-weight:400;line-height:24px;color:#2e3134}.w-input-success-alert-text{color:#00db5d;padding:8px 8px 0;margin-top:0}.w-input-warning-alert-text{color:#eeae00;padding:8px 8px 0;margin-top:0}.w-input-error-alert-text{color:#e50000;padding:8px 8px 0;margin-top:0}.w-input-alert-message-height{height:32px}.w-sidebar-title-text,.w-panel-title-text,.w-panel-subtitle-text{color:#2e3134}.w-panel-content{color:#5f6368}.w-tab-text,.w-chip-text{color:#2e3134}.w-badge-text{font-size:8px;font-weight:700;line-height:8px}.w-table-th-text{color:#2e3134}.w-table-td-text{color:#5f6368}::ng-deep .w-edit-toggle-small .p-inputswitch{height:16px;width:28px;margin-left:8px}::ng-deep .w-edit-toggle-small .p-inputswitch .p-inputswitch-slider:before{width:12px;height:12px;margin-top:-6px}::ng-deep .w-edit-toggle-small .p-inputswitch.p-inputswitch-checked .p-inputswitch-slider:before{transform:translate(10px)}::ng-deep .p-inputswitch.p-inputswitch-checked .p-inputswitch-slider{background:#00b2eb}.w-edit-toggle-small-field{height:16px}.w-edit-toggle-small-heigth{height:76px;justify-content:start;align-content:center;align-items:center;display:grid}::ng-deep .w-edit-toggle-medium .p-inputswitch{height:24px;width:44px;margin-left:12px}.w-edit-toggle-medium-field{height:24px}.w-edit-toggle-medium-heigth{height:76px;justify-content:start;align-content:center;align-items:center;display:grid}::ng-deep .w-edit-toggle-medium .p-inputswitch{height:24x;width:44px;margin-left:8px}::ng-deep .w-edit-toggle-medium .p-inputswitch .p-inputswitch-slider:before{width:20px;height:20px;margin-top:-10px;left:3px}::ng-deep .w-edit-toggle-medium .p-inputswitch.p-inputswitch-checked .p-inputswitch-slider:before{transform:translate(18px)}\n"], dependencies: [{ kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3$9.InputSwitch, selector: "p-inputSwitch", inputs: ["style", "styleClass", "tabindex", "inputId", "name", "disabled", "readonly", "trueValue", "falseValue", "ariaLabel", "ariaLabelledBy"], outputs: ["onChange"] }] });
|
|
4056
4056
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: WEditToggleComponent, decorators: [{
|
|
4057
4057
|
type: Component,
|
|
4058
4058
|
args: [{ selector: 'w-edit-toggle', providers: [
|
|
@@ -4061,7 +4061,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImpor
|
|
|
4061
4061
|
useExisting: forwardRef(() => WEditToggleComponent),
|
|
4062
4062
|
multi: true
|
|
4063
4063
|
}
|
|
4064
|
-
], template: "\r\n<div *ngIf=\"formControl; else noNgControl\" class=\"flex align-content-center\" \r\n [ngClass]=\"{'w-edit-toggle-medium-field': getSize(sizeType.medium) == size,\r\n 'w-edit-toggle-small-field': getSize(sizeType.small) == size,\r\n 'w-edit-toggle-medium-heigth': hasAlign && getSize(sizeType.medium) == size,\r\n 'w-edit-toggle-small-heigth': hasAlign && getSize(sizeType.small) == size}\">\r\n <label *ngIf=\"(getSize(sizeType.medium) == size && (label != undefined && label.length > 0));\" for=\"toggle\"\r\n class=\"flex align-items-center\"\r\n [ngClass]=\"{'w-edit-toggle-medium-label': !isDisabled,\r\n 'w-edit-toggle-medium-label-disabled': isDisabled}\">\r\n {{label}}\r\n </label>\r\n <label *ngIf=\"(getSize(sizeType.small) == size && (label != undefined && label.length > 0));\" for=\"toggle\"\r\n class=\"flex align-items-center\"\r\n [ngClass]=\"{'w-edit-toggle-small-label': !isDisabled,\r\n 'w-edit-toggle-small-label-disabled': isDisabled}\">\r\n {{label}}\r\n </label>\r\n\r\n <p-inputSwitch id=\"toggle\"\r\n [ngClass]=\"{'w-edit-toggle-medium': getSize(sizeType.medium) == size,\r\n 'w-edit-toggle-small': getSize(sizeType.small) == size}\"\r\n class=\"flex align-items-center\"\r\n [formControl]=\"formControl\">\r\n </p-inputSwitch>\r\n</div>\r\n\r\n<ng-template #noNgControl>\r\n <div class=\"flex align-content-center\" \r\n [ngClass]=\"{'w-edit-toggle-medium-field': getSize(sizeType.medium) == size,\r\n 'w-edit-toggle-small-field': getSize(sizeType.small) == size,\r\n 'w-edit-toggle-medium-heigth': hasAlign && getSize(sizeType.medium) == size,\r\n 'w-edit-toggle-small-heigth': hasAlign && getSize(sizeType.small) == size }\">\r\n <label *ngIf=\"(getSize(sizeType.medium) == size && (label != undefined && label.length > 0));\" for=\"toggle\"\r\n class=\"flex align-items-center\"\r\n [ngClass]=\"{'w-edit-toggle-medium-label': !isDisabled,\r\n 'w-edit-toggle-medium-label-disabled': isDisabled}\">\r\n {{label}}\r\n </label>\r\n <label *ngIf=\"(getSize(sizeType.small) == size && (label != undefined && label.length > 0));\" for=\"toggle\"\r\n class=\"flex align-items-center\"\r\n [ngClass]=\"{'w-edit-toggle-small-label': !isDisabled,\r\n 'w-edit-toggle-small-label-disabled': isDisabled}\">\r\n {{label}}\r\n </label>\r\n \r\n <p-inputSwitch id=\"toggle\"\r\n [ngClass]=\"{'w-edit-toggle-medium': getSize(sizeType.medium) == size,\r\n 'w-edit-toggle-small': getSize(sizeType.small) == size}\"\r\n class=\"flex align-items-center\"\r\n (ngModelChange)=\"onInput($event)\"\r\n [(ngModel)]=\"value\">\r\n </p-inputSwitch>\r\n </div>\r\n</ng-template>", 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:400}.heading5{font-size:1.5rem;line-height:1.8333333333rem;font-weight:600}.heading6{font-size:1.3333333333rem;line-height:1.6666666667rem;font-weight:400}.subtitle1,.w-tab-text,.w-panel-title-text,.w-sidebar-title-text{font-size:1.1666666667rem;line-height:1.3333333333rem;font-weight:600}.subtitle2,.w-table-th-text,.w-panel-subtitle-text,.w-input-small-label-text-typography,.w-input-small-label-text,.w-edit-toggle-medium-label,.w-edit-toggle-small-label,.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.3333333333rem;font-weight:600}.body,.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.3333333333rem;font-weight:400}.caption,.w-input-error-alert-text,.w-input-warning-alert-text,.w-input-success-alert-text{font-size:.6666666667rem;line-height:1rem;font-weight:400}.text846{color:#2e3134}.text700{color:#5f6368}.text500{color:#9aa0a6}.textWhite{color:#fff}.spacingXXS{padding:4px}.spacingXSM{padding:6px}.spacingXS{padding:8px}.spacingS{padding:12px}.spacingM{padding:16px}.spacingL{padding:20px}.spacingXL{padding:24px}.spacingXXL{padding:28px}.spacingXXXL{padding:32px}.focus{box-shadow:0 0 8px #00a6e980}.hover{border-radius:8px;border:1px solid #00b2eb}.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-tertiary-label-text,.w-button-small-text-label-text{color:#2e3134}.w-button-small-icon-text{font-size:12px}.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:400;line-height:16px}.w-button-medium-tertiary-label-text{color:#2e3134}.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:400;line-height:24px}.w-button-large-tertiary-label-text{color:#2e3134}.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,.w-view-small-value-text{color:#2e3134}.w-input-no-label-height{height:36px}.w-input-disabled{background-color:#f1f3f4;border-color:#e8eaed;opacity:1}.w-input-small-label-text,.w-edit-toggle-medium-label,.w-edit-toggle-small-label,.w-input-small-label-disabled{color:#2e3134}.w-input-small-label-disabled{color:#9aa0a6}.w-input-small-label-text-content{padding:12px 8px 8px 0;margin:0}.w-input-small-placeholder-text,.w-input-small-placeholder-text-only-color{color:#2e3134}.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text-disabled-only-color{color:#5f6368}.w-input-small-text-icon,.w-input-small-select-options-text{color:#2e3134}.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:#2e3134}.w-input-medium-label-disabled{color:#9aa0a6}.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:#2e3134}.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text-disabled-only-color{color:#5f6368}.w-input-medium-text-icon{color:#2e3134}.w-input-medium-select-options-text{font-size:16px;font-weight:400;line-height:24px;color:#2e3134}.w-input-success-alert-text{color:#00db5d;padding:8px 8px 0;margin-top:0}.w-input-warning-alert-text{color:#eeae00;padding:8px 8px 0;margin-top:0}.w-input-error-alert-text{color:#e50000;padding:8px 8px 0;margin-top:0}.w-input-alert-message-height{height:32px}.w-sidebar-title-text,.w-panel-title-text,.w-panel-subtitle-text{color:#2e3134}.w-panel-content{color:#5f6368}.w-tab-text,.w-chip-text{color:#2e3134}.w-badge-text{font-size:8px;font-weight:700;line-height:8px}.w-table-th-text{color:#2e3134}.w-table-td-text{color:#5f6368}::ng-deep .w-edit-toggle-small .p-inputswitch{height:16px;width:28px;margin-left:8px}::ng-deep .w-edit-toggle-small .p-inputswitch .p-inputswitch-slider:before{width:12px;height:12px;margin-top:-6px}::ng-deep .w-edit-toggle-small .p-inputswitch.p-inputswitch-checked .p-inputswitch-slider:before{transform:translate(10px)}::ng-deep .p-inputswitch.p-inputswitch-checked .p-inputswitch-slider{background:#00b2eb}.w-edit-toggle-small-field{height:16px}.w-edit-toggle-small-heigth{height:32px;justify-content:center;align-content:center;align-items:center;display:grid}::ng-deep .w-edit-toggle-medium .p-inputswitch{height:24px;width:44px;margin-left:12px}.w-edit-toggle-medium-field{height:24px}.w-edit-toggle-medium-heigth{height:76px;justify-content:start;align-content:center;align-items:center;display:grid}::ng-deep .w-edit-toggle-medium .p-inputswitch{height:24x;width:44px;margin-left:8px}::ng-deep .w-edit-toggle-medium .p-inputswitch .p-inputswitch-slider:before{width:20px;height:20px;margin-top:-10px;left:3px}::ng-deep .w-edit-toggle-medium .p-inputswitch.p-inputswitch-checked .p-inputswitch-slider:before{transform:translate(18px)}\n"] }]
|
|
4064
|
+
], template: "\r\n<div *ngIf=\"formControl; else noNgControl\" class=\"flex align-content-center\" \r\n [ngClass]=\"{'w-edit-toggle-medium-field': getSize(sizeType.medium) == size,\r\n 'w-edit-toggle-small-field': getSize(sizeType.small) == size,\r\n 'w-edit-toggle-medium-heigth': hasAlign && getSize(sizeType.medium) == size,\r\n 'w-edit-toggle-small-heigth': hasAlign && getSize(sizeType.small) == size}\">\r\n <label *ngIf=\"(getSize(sizeType.medium) == size && (label != undefined && label.length > 0));\" for=\"toggle\"\r\n class=\"flex align-items-center\"\r\n [ngClass]=\"{'w-edit-toggle-medium-label': !isDisabled,\r\n 'w-edit-toggle-medium-label-disabled': isDisabled}\">\r\n {{label}}\r\n </label>\r\n <label *ngIf=\"(getSize(sizeType.small) == size && (label != undefined && label.length > 0));\" for=\"toggle\"\r\n class=\"flex align-items-center\"\r\n [ngClass]=\"{'w-edit-toggle-small-label': !isDisabled,\r\n 'w-edit-toggle-small-label-disabled': isDisabled}\">\r\n {{label}}\r\n </label>\r\n\r\n <p-inputSwitch id=\"toggle\"\r\n [ngClass]=\"{'w-edit-toggle-medium': getSize(sizeType.medium) == size,\r\n 'w-edit-toggle-small': getSize(sizeType.small) == size}\"\r\n class=\"flex align-items-center\"\r\n [formControl]=\"formControl\">\r\n </p-inputSwitch>\r\n</div>\r\n\r\n<ng-template #noNgControl>\r\n <div class=\"flex align-content-center\" \r\n [ngClass]=\"{'w-edit-toggle-medium-field': getSize(sizeType.medium) == size,\r\n 'w-edit-toggle-small-field': getSize(sizeType.small) == size,\r\n 'w-edit-toggle-medium-heigth': hasAlign && getSize(sizeType.medium) == size,\r\n 'w-edit-toggle-small-heigth': hasAlign && getSize(sizeType.small) == size }\">\r\n <label *ngIf=\"(getSize(sizeType.medium) == size && (label != undefined && label.length > 0));\" for=\"toggle\"\r\n class=\"flex align-items-center\"\r\n [ngClass]=\"{'w-edit-toggle-medium-label': !isDisabled,\r\n 'w-edit-toggle-medium-label-disabled': isDisabled}\">\r\n {{label}}\r\n </label>\r\n <label *ngIf=\"(getSize(sizeType.small) == size && (label != undefined && label.length > 0));\" for=\"toggle\"\r\n class=\"flex align-items-center\"\r\n [ngClass]=\"{'w-edit-toggle-small-label': !isDisabled,\r\n 'w-edit-toggle-small-label-disabled': isDisabled}\">\r\n {{label}}\r\n </label>\r\n \r\n <p-inputSwitch id=\"toggle\"\r\n [ngClass]=\"{'w-edit-toggle-medium': getSize(sizeType.medium) == size,\r\n 'w-edit-toggle-small': getSize(sizeType.small) == size}\"\r\n class=\"flex align-items-center\"\r\n (ngModelChange)=\"onInput($event)\"\r\n [(ngModel)]=\"value\">\r\n </p-inputSwitch>\r\n </div>\r\n</ng-template>", 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:400}.heading5{font-size:1.5rem;line-height:1.8333333333rem;font-weight:600}.heading6{font-size:1.3333333333rem;line-height:1.6666666667rem;font-weight:400}.subtitle1,.w-tab-text,.w-panel-title-text,.w-sidebar-title-text{font-size:1.1666666667rem;line-height:1.3333333333rem;font-weight:600}.subtitle2,.w-table-th-text,.w-panel-subtitle-text,.w-input-small-label-text-typography,.w-input-small-label-text,.w-edit-toggle-medium-label,.w-edit-toggle-small-label,.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.3333333333rem;font-weight:600}.body,.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.3333333333rem;font-weight:400}.caption,.w-input-error-alert-text,.w-input-warning-alert-text,.w-input-success-alert-text{font-size:.6666666667rem;line-height:1rem;font-weight:400}.text846{color:#2e3134}.text700{color:#5f6368}.text500{color:#9aa0a6}.textWhite{color:#fff}.spacingXXS{padding:4px}.spacingXSM{padding:6px}.spacingXS{padding:8px}.spacingS{padding:12px}.spacingM{padding:16px}.spacingL{padding:20px}.spacingXL{padding:24px}.spacingXXL{padding:28px}.spacingXXXL{padding:32px}.focus{box-shadow:0 0 8px #00a6e980}.hover{border-radius:8px;border:1px solid #00b2eb}.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-tertiary-label-text,.w-button-small-text-label-text{color:#2e3134}.w-button-small-icon-text{font-size:12px}.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:400;line-height:16px}.w-button-medium-tertiary-label-text{color:#2e3134}.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:400;line-height:24px}.w-button-large-tertiary-label-text{color:#2e3134}.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,.w-view-small-value-text{color:#2e3134}.w-input-no-label-height{height:36px}.w-input-disabled{background-color:#f1f3f4;border-color:#e8eaed;opacity:1}.w-input-small-label-text,.w-edit-toggle-medium-label,.w-edit-toggle-small-label,.w-input-small-label-disabled{color:#2e3134}.w-input-small-label-disabled{color:#9aa0a6}.w-input-small-label-text-content{padding:12px 8px 8px 0;margin:0}.w-input-small-placeholder-text,.w-input-small-placeholder-text-only-color{color:#2e3134}.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text-disabled-only-color{color:#5f6368}.w-input-small-text-icon,.w-input-small-select-options-text{color:#2e3134}.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:#2e3134}.w-input-medium-label-disabled{color:#9aa0a6}.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:#2e3134}.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text-disabled-only-color{color:#5f6368}.w-input-medium-text-icon{color:#2e3134}.w-input-medium-select-options-text{font-size:16px;font-weight:400;line-height:24px;color:#2e3134}.w-input-success-alert-text{color:#00db5d;padding:8px 8px 0;margin-top:0}.w-input-warning-alert-text{color:#eeae00;padding:8px 8px 0;margin-top:0}.w-input-error-alert-text{color:#e50000;padding:8px 8px 0;margin-top:0}.w-input-alert-message-height{height:32px}.w-sidebar-title-text,.w-panel-title-text,.w-panel-subtitle-text{color:#2e3134}.w-panel-content{color:#5f6368}.w-tab-text,.w-chip-text{color:#2e3134}.w-badge-text{font-size:8px;font-weight:700;line-height:8px}.w-table-th-text{color:#2e3134}.w-table-td-text{color:#5f6368}::ng-deep .w-edit-toggle-small .p-inputswitch{height:16px;width:28px;margin-left:8px}::ng-deep .w-edit-toggle-small .p-inputswitch .p-inputswitch-slider:before{width:12px;height:12px;margin-top:-6px}::ng-deep .w-edit-toggle-small .p-inputswitch.p-inputswitch-checked .p-inputswitch-slider:before{transform:translate(10px)}::ng-deep .p-inputswitch.p-inputswitch-checked .p-inputswitch-slider{background:#00b2eb}.w-edit-toggle-small-field{height:16px}.w-edit-toggle-small-heigth{height:76px;justify-content:start;align-content:center;align-items:center;display:grid}::ng-deep .w-edit-toggle-medium .p-inputswitch{height:24px;width:44px;margin-left:12px}.w-edit-toggle-medium-field{height:24px}.w-edit-toggle-medium-heigth{height:76px;justify-content:start;align-content:center;align-items:center;display:grid}::ng-deep .w-edit-toggle-medium .p-inputswitch{height:24x;width:44px;margin-left:8px}::ng-deep .w-edit-toggle-medium .p-inputswitch .p-inputswitch-slider:before{width:20px;height:20px;margin-top:-10px;left:3px}::ng-deep .w-edit-toggle-medium .p-inputswitch.p-inputswitch-checked .p-inputswitch-slider:before{transform:translate(18px)}\n"] }]
|
|
4065
4065
|
}], propDecorators: { label: [{
|
|
4066
4066
|
type: Input,
|
|
4067
4067
|
args: ['label']
|