ngx-wapp-components 3.0.31 → 3.0.32

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.
@@ -3507,6 +3507,7 @@ class WEditCalendarComponent {
3507
3507
  this.isTouched = false;
3508
3508
  this.onChange = () => { };
3509
3509
  this.onTouch = () => { };
3510
+ this.ngModelTouched = true;
3510
3511
  }
3511
3512
  set minDate(value) {
3512
3513
  if (this.ngModelValue < value) {
@@ -3584,6 +3585,12 @@ class WEditCalendarComponent {
3584
3585
  isRequiredValidNgModel() {
3585
3586
  return !(this.required && this.ngModelValue == null);
3586
3587
  }
3588
+ onDateBlur() {
3589
+ this.ngModelTouched = true;
3590
+ }
3591
+ isNgModelInvalid() {
3592
+ return this.required && !this.ngModelValue && this.ngModelTouched;
3593
+ }
3587
3594
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: WEditCalendarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
3588
3595
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.5", type: WEditCalendarComponent, isStandalone: false, selector: "w-edit-calendar", inputs: { minDate: "minDate", maxDate: "maxDate", label: "label", showLabel: "showLabel", showTime: "showTime", showSeconds: "showSeconds", timeOnly: "timeOnly", showIcon: "showIcon", placeholder: "placeholder", disabled: "disabled", size: "size", formControl: "formControl", displayInlineBlock: "displayInlineBlock", required: "required", requiredErrorDescription: "requiredErrorDescription", someErrorDescription: "someErrorDescription", removePaddingTop: "removePaddingTop", firstDayOfWeek: "firstDayOfWeek", tooltip: "tooltip", tooltipPosition: "tooltipPosition", dataType: "dataType", viewType: "viewType", monthMode: "monthMode", readonlyInput: "readonlyInput", keepInvalid: "keepInvalid", dateFormat: "dateFormat" }, outputs: { onChangeEvent: "onChange" }, providers: [
3589
3596
  {
@@ -3591,7 +3598,7 @@ class WEditCalendarComponent {
3591
3598
  useExisting: forwardRef(() => WEditCalendarComponent),
3592
3599
  multi: true
3593
3600
  }
3594
- ], usesOnChanges: true, ngImport: i0, template: "@if (formControl) {\r\n <div class=\"w-edit-calendar-styles p-fluid field\">\r\n @if (showLabel) {\r\n <w-input-label [label]=\"label\" [required]=\"required\" [disabled]=\"disabled\" [size]=\"size\" [tooltip]=\"tooltip\" [validated]=\"isRequiredValid()\"></w-input-label>\r\n }\r\n <p-datepicker class=\"w-edit-calendar-small\" \r\n [ngClass]=\"{'disabled': disabled, \r\n 'ng-invalid ng-dirty': formControl.hasError('required') && formControl.touched, \r\n 'w-edit-calendar-no-icon' : !showIcon\r\n }\" \r\n [formControl]=\"formControl\" \r\n placeholder=\"{{placeholder}}\"\r\n appendTo=\"body\"\r\n [showIcon]=\"showIcon\"\r\n [icon]=\"timeOnly ? 'pi pi-clock' : 'pi pi-calendar'\" \r\n [showTime]=\"showTime\" \r\n [timeOnly]=\"timeOnly\" \r\n [showSeconds]=\"showSeconds\" \r\n [showIcon]=\"showIcon\" \r\n [minDate]=\"minDate\"\r\n [maxDate]=\"maxDate\" \r\n [firstDayOfWeek]=\"firstDayOfWeek\" \r\n [dataType]=\"dataType\" \r\n [view]=\"viewType\" \r\n [dateFormat]=\"dateFormat\"\r\n [readonlyInput]=\"readonlyInput\" \r\n (onSelect)=\"onValue($event)\"\r\n (onInput)=\"onInputValue($event)\"\r\n [keepInvalid]=\"keepInvalid\"\r\n />\r\n @if (formControl.hasError('required') && formControl.touched) {\r\n <small class=\"p-error block\">{{requiredErrorDescription}}</small>\r\n }\r\n @if (formControl.errors && !formControl.hasError('required') && formControl.touched) {\r\n <small class=\"p-error block\">{{someErrorDescription}}</small>\r\n }\r\n </div>\r\n} @else {\r\n <div class=\"w-edit-calendar-styles p-fluid field\" [ngClass]=\"{'displayInlineBlock' : displayInlineBlock}\" >\r\n @if (showLabel) {\r\n <w-input-label [label]=\"label\" [required]=\"required\" [disabled]=\"disabled\" [size]=\"size\" [tooltip]=\"tooltip\" [validated]=\"isRequiredValid()\"></w-input-label>\r\n }\r\n <p-datepicker class=\"w-edit-calendar-small\" \r\n [ngClass]=\"{'disabled': disabled, \r\n 'w-edit-calendar-no-icon' : !showIcon\r\n }\" \r\n [(ngModel)]=\"ngModelValue\" \r\n placeholder=\"{{placeholder}}\"\r\n appendTo=\"body\" \r\n [disabled]=\"disabled\"\r\n [showIcon]=\"showIcon\"\r\n [icon]=\"timeOnly ? 'pi pi-clock' : 'pi pi-calendar'\" \r\n [showTime]=\"showTime\" \r\n [timeOnly]=\"timeOnly\" \r\n [showSeconds]=\"showSeconds\" \r\n [showIcon]=\"showIcon\" \r\n [minDate]=\"minDate\"\r\n [maxDate]=\"maxDate\" \r\n [firstDayOfWeek]=\"firstDayOfWeek\"\r\n [required]=\"required\" \r\n [dataType]=\"dataType\" \r\n [view]=\"viewType\" \r\n [dateFormat]=\"dateFormat\" \r\n [readonlyInput]=\"readonlyInput\" \r\n (ngModelChange)=\"onDateChanged()\"\r\n [keepInvalid]=\"keepInvalid\"\r\n />\r\n </div>\r\n}\r\n", styles: [".heading1{font-size:2.6666666667rem;line-height:3rem;font-weight:700}.heading2{font-size:2.3333333333rem;line-height:2.6666666667rem;font-weight:700}.heading3{font-size:2rem;line-height:2.3333333333rem;font-weight:700}.heading4{font-size:1.6666666667rem;line-height:2rem;font-weight:700}.heading5,.w-sidebar-title-text{font-size:1.5rem;line-height:1.8333333333rem;font-weight:700}.heading6{font-size:1.3333333333rem;line-height:1.6666666667rem;font-weight:700}.subtitle1,.w-tab-text,.w-panel-title-text{font-size:1.1666666667rem;line-height:1.3333333333rem;font-weight:700}.subtitle2,.w-table-th-text,.w-panel-subtitle-text,.w-input-small-label-text-typography,.w-input-small-label-text,.w-input-small-label-disabled,.w-view-small-label-text-typography,.w-view-small-label-text,.w-button-small-text-label-text-typography,.w-button-small-text-label-text{font-size:1rem;line-height:1.1666666667rem;font-weight:600}.body,.w-image-file-uploader-navigators-text,.w-table-td-text,.w-chip-text,.w-panel-content,.w-input-small-select-options-text,.w-input-small-placeholder-text-typography,.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text,::ng-deep .w-edit-calendar-small.p-datepicker .p-datepicker-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.1666666667rem;font-weight:400}.caption,.w-input-success-alert-text{font-size:.6666666667rem;line-height:1rem;font-weight:400}.light,.w-input-small-placeholder-text-only-color{font-size:.9166666667rem;line-height:1.0833333333rem;font-weight:300}.small,.w-error-message,.w-input-error-alert-text,.w-input-warning-alert-text,.w-button-small-label-text-typography-sm{font-size:.8333333333rem;line-height:1rem;font-weight:400}.textMainColor{color:#1f2224}.textSoftColor{color:#5f6468}.textSofterColor{color:#9aa0a7}.textSoftestColor{color:#e8ebee}.textInverseColor{color:#fff}.spacingXXS{padding:4px}.spacingXSM{padding:6px}.spacingXSMDivider{height:6px}.spacingXS{padding:8px}.spacingS{padding:12px}.spacingM{padding:16px}.spacingL{padding:20px}.spacingXL{padding:24px}.spacingXXL{padding:28px}.spacingXXXL{padding:32px}.panel-title-gap-divider{height:20px}.panel-section-gap-divider{height:32px}.input-vertical-gap-divider{height:24px}.input-label-gap-divider{height:6px}.focusedInput,::ng-deep .w-edit-calendar-small.p-datepicker .p-datepicker-dropdown:enabled:focus,::ng-deep .w-edit-calendar-small.p-datepicker .p-datepicker-input:not(:disabled):focus{border:1px solid rgba(0,157,253,.25);box-shadow:0 0 10px #00b3eb40}.focus{box-shadow:0 0 8px #00a6e980}.hover{border-radius:8px;border:1px solid #00b3eb}.hoveredInput{border-radius:8px;border:1px solid rgba(0,179,235,.5)}.input-generic-valid{border-radius:8px;border:1px solid #B3FFD3}.input-generic-valid-focus{border-radius:8px;border:1px solid #B3FFD3!important;box-shadow:0 0 8px #46ff9b80!important;padding-left:16px}.input-generic-warning{border-radius:8px;border:1px solid #FFECB8!important}.input-generic-warning-focus{border-radius:8px;border:1px solid #FFECB8!important;box-shadow:0 0 8px #ffcd4680!important;padding-left:16px}.input-generic-error-focus{border-radius:8px;border:1px solid #FFBDBD!important;box-shadow:0 0 8px #ff555580!important;padding-left:16px}.input-generic-error{border-radius:8px;border:1px solid #FFBDBD}.toggle-small-typography{font-size:12px;line-height:16px;font-weight:600}.w-button-small-label-text-typography,.w-button-small-tertiary-label-text,.w-button-small-label-text-typography-sm{font-weight:600}.w-button-small-tertiary-label-text{color:#5f6468}.w-button-small-text-label-text{color:#1f2224}.w-button-small-icon-text{font-size:12px;font-weight:600}.w-table-button-small-icon-text{font-size:12px;color:#9aa0a7}.w-control-button-small-label-text{font-size:12px;font-weight:600;line-height:16px}.w-control-button-x-small-icon-text{font-size:10px;font-weight:700}.w-control-button-small-icon-text{font-size:8px;font-weight:700}.w-button-medium-label-text-typography,.w-button-medium-tertiary-label-text{font-size:16px;font-weight:600;line-height:16px}.w-button-medium-tertiary-label-text{color:#1f2224}.w-button-medium-icon-text{font-size:16px}.w-control-button-medium-label-text{font-size:14px;font-weight:600;line-height:16px}.w-control-button-medium-icon-text{font-size:12px;font-weight:700}.w-button-large-label-text-typography,.w-button-large-tertiary-label-text{font-size:20px;font-weight:600;line-height:24px}.w-button-large-tertiary-label-text{color:#1f2224}.w-button-x-small-label-text{font-size:10px;font-weight:600;line-height:10px}.w-button-small-only-label-text{font-size:12px;font-weight:600;line-height:16px}.w-button-large-icon-text{font-size:24px}.w-view-small-label-text{color:#1f2224}.w-view-small-value-text{color:#5f6468}.w-input-no-label-height{height:14px}.w-input-disabled,::ng-deep .w-edit-calendar-small.p-datepicker.disabled .p-datepicker-input{background-color:#f8f9fa!important;border-color:#e8ebee!important;opacity:.6!important}.w-input-small-label-text-typography,.w-input-small-label-text,.w-input-small-label-disabled{height:fit-content}.w-input-small-label-text,.w-input-small-label-disabled{color:#1f2224}.w-input-small-label-disabled{color:#9aa0a7}.w-input-small-label-text-content{padding:12px 8px 8px 0;margin:0}.w-input-small-label-text-content-no-top{padding-top:0}.w-input-small-placeholder-text,::ng-deep .w-edit-calendar-small.p-datepicker .p-datepicker-input{color:#1f2224}.w-input-small-placeholder-text-only-color{color:#9aa0a7;line-height:1.3333333333rem}.w-input-small-placeholder-text-disabled{color:#5f6468}.w-input-small-placeholder-text-disabled-only-color,::ng-deep .w-edit-calendar-small.p-datepicker.disabled .p-datepicker-input .p-select-label.p-placeholder{color:#5f6468}.w-input-small-text-icon,.w-input-small-select-options-text{color:#1f2224}.w-input-medium-label-text-typography,.w-input-medium-label-text,.w-input-medium-label-disabled{font-size:14px;font-weight:600;line-height:16px}.w-input-medium-label-text,.w-input-medium-label-disabled{color:#1f2224}.w-input-medium-label-disabled{color:#9aa0a7}.w-input-medium-placeholder-text-typography,.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text{font-size:16px;font-weight:400;line-height:24px}.w-input-medium-placeholder-text,.w-input-medium-placeholder-text-only-color{color:#1f2224}.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text-disabled-only-color{color:#5f6468}.w-input-medium-text-icon{color:#1f2224}.w-input-medium-select-options-text{font-size:16px;font-weight:400;line-height:24px;color:#1f2224}.w-input-success-alert-text{color:#00db5d;padding:8px 8px 0;margin-top:0}.w-input-warning-alert-text{color:#eeae00;padding:0 4px;margin-top:-2px}.w-input-error-alert-text{color:#e50000;padding:0 4px;margin-top:-2px}.w-input-alert-message-height{height:32px}.w-error-message{color:#e50000;padding:0 4px;margin-top:-2px}.w-sidebar-title-text,.w-panel-title-text,.w-panel-subtitle-text{color:#1f2224}.w-panel-content{color:#5f6468}.w-tab-text,.w-chip-text{color:#1f2224}.w-badge-text{font-size:10px;font-weight:700;line-height:8px}.w-table-th-text{color:#1f2224}.w-table-td-text{color:#5f6468}.w-table-height{padding:6px 8px 5px}.w-table-no-buttons-height{padding:16px 8px 15px!important}.w-tree-table-height{padding:8px 8px 7px}.w-image-file-uploader-navigators-text{font-size:12px;color:#fff}.grid{margin:0}::ng-deep .p-tooltip,.p-tooltip{filter:0px 0px 1px 0px rgba(0,0,0,.1) inset,1px 1px 5px rgba(0,0,0,.06),1px 1px 1px rgba(0,0,0,.08)}::ng-deep .p-tooltip .p-tooltip-text,.p-tooltip .p-tooltip-text{background:#fff!important;color:#1f2224;padding:12px 16px;max-width:192px;width:max-content;margin-left:3px;pointer-events:none}::ng-deep .p-tooltip.p-tooltip-left,.p-tooltip.p-tooltip-left{margin-right:6px;width:max-content;transform:translate(-6px)}::ng-deep .p-tooltip.p-tooltip-left .p-tooltip-arrow,.p-tooltip.p-tooltip-left .p-tooltip-arrow{border-left-color:#fff!important;top:50%;right:-3px;margin-top:-4px;border-width:4px 0 4px 6px!important}::ng-deep .p-tooltip.p-tooltip-right,.p-tooltip.p-tooltip-right{margin-left:6px;width:max-content;transform:translateY(-1px)}::ng-deep .p-tooltip.p-tooltip-right .p-tooltip-arrow,.p-tooltip.p-tooltip-right .p-tooltip-arrow{border-right-color:#fff!important;top:50%;left:0;margin-top:-4px;border-width:4px 6px 4px 0!important}::ng-deep .p-tooltip.p-tooltip-bottom .p-tooltip-arrow,.p-tooltip.p-tooltip-bottom .p-tooltip-arrow{border-bottom-color:#fff!important;border-width:0 4px 6px 4px!important;margin-top:-3px}.w-edit-calendar-styles{margin:0;display:grid;gap:6px!important}::ng-deep .w-edit-calendar-small.p-datepicker{padding:0;box-shadow:none;background:none}::ng-deep .w-edit-calendar-small.p-datepicker .p-datepicker-input{height:28px;width:100%;border-radius:8px 0 0 8px;border-width:1px;padding:0 8px!important;border:1px solid #e8ebee}::ng-deep .w-edit-calendar-small.p-datepicker .p-datepicker-input:not(:disabled):hover{border-color:#00b3eb}::ng-deep .w-edit-calendar-small.p-datepicker.w-edit-calendar-no-icon .p-datepicker-input{border-radius:8px!important}::ng-deep .w-edit-calendar-small.p-datepicker .p-datepicker-dropdown{border:1px solid #005c7a;border-left:0px;background-color:#005c7a;color:#fff}::ng-deep .w-edit-calendar-small.p-datepicker .p-datepicker-dropdown:not(:disabled):hover{background-color:#00b3eb;border-color:#00b3eb;color:#fff}::ng-deep .w-edit-calendar-small.p-datepicker .p-datepicker-dropdown:enabled:focus{outline:1px solid #d6f2ff;background-color:#005c7a;color:#fff}::ng-deep .w-edit-calendar-small.p-datepicker.disabled .p-datepicker-dropdown{background:#e8ebee;color:#bdc1c6;border-color:#e8ebee;pointer-events:none}\n"], dependencies: [{ kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i1$2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: i3$4.DatePicker, selector: "p-datePicker, p-datepicker, p-date-picker", inputs: ["iconDisplay", "styleClass", "inputStyle", "inputId", "inputStyleClass", "placeholder", "ariaLabelledBy", "ariaLabel", "iconAriaLabel", "dateFormat", "multipleSeparator", "rangeSeparator", "inline", "showOtherMonths", "selectOtherMonths", "showIcon", "icon", "readonlyInput", "shortYearCutoff", "hourFormat", "timeOnly", "stepHour", "stepMinute", "stepSecond", "showSeconds", "showOnFocus", "showWeek", "startWeekFromFirstDayOfYear", "showClear", "dataType", "selectionMode", "maxDateCount", "showButtonBar", "todayButtonStyleClass", "clearButtonStyleClass", "autofocus", "autoZIndex", "baseZIndex", "panelStyleClass", "panelStyle", "keepInvalid", "hideOnDateTimeSelect", "touchUI", "timeSeparator", "focusTrap", "showTransitionOptions", "hideTransitionOptions", "tabindex", "minDate", "maxDate", "disabledDates", "disabledDays", "showTime", "responsiveOptions", "numberOfMonths", "firstDayOfWeek", "view", "defaultDate", "appendTo", "motionOptions"], outputs: ["onFocus", "onBlur", "onClose", "onSelect", "onClear", "onInput", "onTodayClick", "onClearClick", "onMonthChange", "onYearChange", "onClickOutside", "onShow"] }, { kind: "directive", type: i4.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }, { kind: "component", type: WInputLabelComponent, selector: "w-input-label", inputs: ["label", "disabled", "required", "validated", "tooltip", "tooltipPosition", "size", "labelStyleClass", "message"] }] }); }
3601
+ ], usesOnChanges: true, ngImport: i0, template: "@if (formControl) {\r\n <div class=\"w-edit-calendar-styles p-fluid field\">\r\n @if (showLabel) {\r\n <w-input-label [label]=\"label\" [required]=\"required\" [disabled]=\"disabled\" [size]=\"size\" [tooltip]=\"tooltip\" [validated]=\"isRequiredValid()\"></w-input-label>\r\n }\r\n <p-datepicker class=\"w-edit-calendar-small\" \r\n [ngClass]=\"{'disabled': disabled, \r\n 'ng-invalid ng-dirty': formControl.hasError('required') && formControl.touched, \r\n 'w-edit-calendar-no-icon' : !showIcon\r\n }\" \r\n [formControl]=\"formControl\" \r\n placeholder=\"{{placeholder}}\"\r\n appendTo=\"body\"\r\n [showIcon]=\"showIcon\"\r\n [icon]=\"timeOnly ? 'pi pi-clock' : 'pi pi-calendar'\" \r\n [showTime]=\"showTime\" \r\n [timeOnly]=\"timeOnly\" \r\n [showSeconds]=\"showSeconds\" \r\n [showIcon]=\"showIcon\" \r\n [minDate]=\"minDate\"\r\n [maxDate]=\"maxDate\" \r\n [firstDayOfWeek]=\"firstDayOfWeek\" \r\n [dataType]=\"dataType\" \r\n [view]=\"viewType\" \r\n [dateFormat]=\"dateFormat\"\r\n [readonlyInput]=\"readonlyInput\" \r\n (onSelect)=\"onValue($event)\"\r\n (onInput)=\"onInputValue($event)\"\r\n [keepInvalid]=\"keepInvalid\"\r\n />\r\n @if (formControl.hasError('required') && formControl.touched) {\r\n <small class=\"p-error block\">{{requiredErrorDescription}}</small>\r\n }\r\n @if (formControl.errors && !formControl.hasError('required') && formControl.touched) {\r\n <small class=\"p-error block\">{{someErrorDescription}}</small>\r\n }\r\n </div>\r\n} @else {\r\n <div class=\"w-edit-calendar-styles p-fluid field\" [ngClass]=\"{'displayInlineBlock' : displayInlineBlock}\" >\r\n @if (showLabel) {\r\n <w-input-label [label]=\"label\" [required]=\"required\" [disabled]=\"disabled\" [size]=\"size\" [tooltip]=\"tooltip\" [validated]=\"isRequiredValid()\"></w-input-label>\r\n }\r\n <p-datepicker class=\"w-edit-calendar-small\" \r\n [ngClass]=\"{'disabled': disabled, \r\n 'w-edit-calendar-no-icon' : !showIcon,\r\n 'ng-invalid ng-dirty': isNgModelInvalid()\r\n }\" \r\n [(ngModel)]=\"ngModelValue\" \r\n placeholder=\"{{placeholder}}\"\r\n appendTo=\"body\" \r\n [disabled]=\"disabled\"\r\n [showIcon]=\"showIcon\"\r\n [icon]=\"timeOnly ? 'pi pi-clock' : 'pi pi-calendar'\" \r\n [showTime]=\"showTime\" \r\n [timeOnly]=\"timeOnly\" \r\n [showSeconds]=\"showSeconds\" \r\n [showIcon]=\"showIcon\" \r\n [minDate]=\"minDate\"\r\n [maxDate]=\"maxDate\" \r\n [firstDayOfWeek]=\"firstDayOfWeek\"\r\n [required]=\"required\" \r\n [dataType]=\"dataType\" \r\n [view]=\"viewType\" \r\n [dateFormat]=\"dateFormat\" \r\n [readonlyInput]=\"readonlyInput\" \r\n (ngModelChange)=\"onDateChanged()\"\r\n (blur)=\"onDateBlur()\"\r\n [keepInvalid]=\"keepInvalid\"\r\n />\r\n </div>\r\n}\r\n", styles: [".heading1{font-size:2.6666666667rem;line-height:3rem;font-weight:700}.heading2{font-size:2.3333333333rem;line-height:2.6666666667rem;font-weight:700}.heading3{font-size:2rem;line-height:2.3333333333rem;font-weight:700}.heading4{font-size:1.6666666667rem;line-height:2rem;font-weight:700}.heading5,.w-sidebar-title-text{font-size:1.5rem;line-height:1.8333333333rem;font-weight:700}.heading6{font-size:1.3333333333rem;line-height:1.6666666667rem;font-weight:700}.subtitle1,.w-tab-text,.w-panel-title-text{font-size:1.1666666667rem;line-height:1.3333333333rem;font-weight:700}.subtitle2,.w-table-th-text,.w-panel-subtitle-text,.w-input-small-label-text-typography,.w-input-small-label-text,.w-input-small-label-disabled,.w-view-small-label-text-typography,.w-view-small-label-text,.w-button-small-text-label-text-typography,.w-button-small-text-label-text{font-size:1rem;line-height:1.1666666667rem;font-weight:600}.body,.w-image-file-uploader-navigators-text,.w-table-td-text,.w-chip-text,.w-panel-content,.w-input-small-select-options-text,.w-input-small-placeholder-text-typography,.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text,::ng-deep .w-edit-calendar-small.p-datepicker .p-datepicker-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.1666666667rem;font-weight:400}.caption,.w-input-success-alert-text{font-size:.6666666667rem;line-height:1rem;font-weight:400}.light,.w-input-small-placeholder-text-only-color{font-size:.9166666667rem;line-height:1.0833333333rem;font-weight:300}.small,.w-error-message,.w-input-error-alert-text,.w-input-warning-alert-text,.w-button-small-label-text-typography-sm{font-size:.8333333333rem;line-height:1rem;font-weight:400}.textMainColor{color:#1f2224}.textSoftColor{color:#5f6468}.textSofterColor{color:#9aa0a7}.textSoftestColor{color:#e8ebee}.textInverseColor{color:#fff}.spacingXXS{padding:4px}.spacingXSM{padding:6px}.spacingXSMDivider{height:6px}.spacingXS{padding:8px}.spacingS{padding:12px}.spacingM{padding:16px}.spacingL{padding:20px}.spacingXL{padding:24px}.spacingXXL{padding:28px}.spacingXXXL{padding:32px}.panel-title-gap-divider{height:20px}.panel-section-gap-divider{height:32px}.input-vertical-gap-divider{height:24px}.input-label-gap-divider{height:6px}.focusedInput,::ng-deep .w-edit-calendar-small.p-datepicker .p-datepicker-dropdown:enabled:focus,::ng-deep .w-edit-calendar-small.p-datepicker .p-datepicker-input:not(:disabled):focus{border:1px solid rgba(0,157,253,.25);box-shadow:0 0 10px #00b3eb40}.focus{box-shadow:0 0 8px #00a6e980}.hover{border-radius:8px;border:1px solid #00b3eb}.hoveredInput{border-radius:8px;border:1px solid rgba(0,179,235,.5)}.input-generic-valid{border-radius:8px;border:1px solid #B3FFD3}.input-generic-valid-focus{border-radius:8px;border:1px solid #B3FFD3!important;box-shadow:0 0 8px #46ff9b80!important;padding-left:16px}.input-generic-warning{border-radius:8px;border:1px solid #FFECB8!important}.input-generic-warning-focus{border-radius:8px;border:1px solid #FFECB8!important;box-shadow:0 0 8px #ffcd4680!important;padding-left:16px}.input-generic-error-focus{border-radius:8px;border:1px solid #FFBDBD!important;box-shadow:0 0 8px #ff555580!important;padding-left:16px}.input-generic-error{border-radius:8px;border:1px solid #FFBDBD}.toggle-small-typography{font-size:12px;line-height:16px;font-weight:600}.w-button-small-label-text-typography,.w-button-small-tertiary-label-text,.w-button-small-label-text-typography-sm{font-weight:600}.w-button-small-tertiary-label-text{color:#5f6468}.w-button-small-text-label-text{color:#1f2224}.w-button-small-icon-text{font-size:12px;font-weight:600}.w-table-button-small-icon-text{font-size:12px;color:#9aa0a7}.w-control-button-small-label-text{font-size:12px;font-weight:600;line-height:16px}.w-control-button-x-small-icon-text{font-size:10px;font-weight:700}.w-control-button-small-icon-text{font-size:8px;font-weight:700}.w-button-medium-label-text-typography,.w-button-medium-tertiary-label-text{font-size:16px;font-weight:600;line-height:16px}.w-button-medium-tertiary-label-text{color:#1f2224}.w-button-medium-icon-text{font-size:16px}.w-control-button-medium-label-text{font-size:14px;font-weight:600;line-height:16px}.w-control-button-medium-icon-text{font-size:12px;font-weight:700}.w-button-large-label-text-typography,.w-button-large-tertiary-label-text{font-size:20px;font-weight:600;line-height:24px}.w-button-large-tertiary-label-text{color:#1f2224}.w-button-x-small-label-text{font-size:10px;font-weight:600;line-height:10px}.w-button-small-only-label-text{font-size:12px;font-weight:600;line-height:16px}.w-button-large-icon-text{font-size:24px}.w-view-small-label-text{color:#1f2224}.w-view-small-value-text{color:#5f6468}.w-input-no-label-height{height:14px}.w-input-disabled,::ng-deep .w-edit-calendar-small.p-datepicker.disabled .p-datepicker-input{background-color:#f8f9fa!important;border-color:#e8ebee!important;opacity:.6!important}.w-input-small-label-text-typography,.w-input-small-label-text,.w-input-small-label-disabled{height:fit-content}.w-input-small-label-text,.w-input-small-label-disabled{color:#1f2224}.w-input-small-label-disabled{color:#9aa0a7}.w-input-small-label-text-content{padding:12px 8px 8px 0;margin:0}.w-input-small-label-text-content-no-top{padding-top:0}.w-input-small-placeholder-text,::ng-deep .w-edit-calendar-small.p-datepicker .p-datepicker-input{color:#1f2224}.w-input-small-placeholder-text-only-color{color:#9aa0a7;line-height:1.3333333333rem}.w-input-small-placeholder-text-disabled{color:#5f6468}.w-input-small-placeholder-text-disabled-only-color,::ng-deep .w-edit-calendar-small.p-datepicker.disabled .p-datepicker-input .p-select-label.p-placeholder{color:#5f6468}.w-input-small-text-icon,.w-input-small-select-options-text{color:#1f2224}.w-input-medium-label-text-typography,.w-input-medium-label-text,.w-input-medium-label-disabled{font-size:14px;font-weight:600;line-height:16px}.w-input-medium-label-text,.w-input-medium-label-disabled{color:#1f2224}.w-input-medium-label-disabled{color:#9aa0a7}.w-input-medium-placeholder-text-typography,.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text{font-size:16px;font-weight:400;line-height:24px}.w-input-medium-placeholder-text,.w-input-medium-placeholder-text-only-color{color:#1f2224}.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text-disabled-only-color{color:#5f6468}.w-input-medium-text-icon{color:#1f2224}.w-input-medium-select-options-text{font-size:16px;font-weight:400;line-height:24px;color:#1f2224}.w-input-success-alert-text{color:#00db5d;padding:8px 8px 0;margin-top:0}.w-input-warning-alert-text{color:#eeae00;padding:0 4px;margin-top:-2px}.w-input-error-alert-text{color:#e50000;padding:0 4px;margin-top:-2px}.w-input-alert-message-height{height:32px}.w-error-message{color:#e50000;padding:0 4px;margin-top:-2px}.w-sidebar-title-text,.w-panel-title-text,.w-panel-subtitle-text{color:#1f2224}.w-panel-content{color:#5f6468}.w-tab-text,.w-chip-text{color:#1f2224}.w-badge-text{font-size:10px;font-weight:700;line-height:8px}.w-table-th-text{color:#1f2224}.w-table-td-text{color:#5f6468}.w-table-height{padding:6px 8px 5px}.w-table-no-buttons-height{padding:16px 8px 15px!important}.w-tree-table-height{padding:8px 8px 7px}.w-image-file-uploader-navigators-text{font-size:12px;color:#fff}.grid{margin:0}::ng-deep .p-tooltip,.p-tooltip{filter:0px 0px 1px 0px rgba(0,0,0,.1) inset,1px 1px 5px rgba(0,0,0,.06),1px 1px 1px rgba(0,0,0,.08)}::ng-deep .p-tooltip .p-tooltip-text,.p-tooltip .p-tooltip-text{background:#fff!important;color:#1f2224;padding:12px 16px;max-width:192px;width:max-content;margin-left:3px;pointer-events:none}::ng-deep .p-tooltip.p-tooltip-left,.p-tooltip.p-tooltip-left{margin-right:6px;width:max-content;transform:translate(-6px)}::ng-deep .p-tooltip.p-tooltip-left .p-tooltip-arrow,.p-tooltip.p-tooltip-left .p-tooltip-arrow{border-left-color:#fff!important;top:50%;right:-3px;margin-top:-4px;border-width:4px 0 4px 6px!important}::ng-deep .p-tooltip.p-tooltip-right,.p-tooltip.p-tooltip-right{margin-left:6px;width:max-content;transform:translateY(-1px)}::ng-deep .p-tooltip.p-tooltip-right .p-tooltip-arrow,.p-tooltip.p-tooltip-right .p-tooltip-arrow{border-right-color:#fff!important;top:50%;left:0;margin-top:-4px;border-width:4px 6px 4px 0!important}::ng-deep .p-tooltip.p-tooltip-bottom .p-tooltip-arrow,.p-tooltip.p-tooltip-bottom .p-tooltip-arrow{border-bottom-color:#fff!important;border-width:0 4px 6px 4px!important;margin-top:-3px}.w-edit-calendar-styles{margin:0;display:grid;gap:6px!important}::ng-deep .w-edit-calendar-small.p-datepicker{padding:0;box-shadow:none;background:none}::ng-deep .w-edit-calendar-small.p-datepicker .p-datepicker-input{height:28px;width:100%;border-radius:8px 0 0 8px;border-width:1px;padding:0 8px!important;border:1px solid #e8ebee}::ng-deep .w-edit-calendar-small.p-datepicker .p-datepicker-input:not(:disabled):hover{border-color:#00b3eb}::ng-deep .w-edit-calendar-small.p-datepicker.w-edit-calendar-no-icon .p-datepicker-input{border-radius:8px!important}::ng-deep .w-edit-calendar-small.p-datepicker .p-datepicker-dropdown{border:1px solid #005c7a;border-left:0px;background-color:#005c7a;color:#fff}::ng-deep .w-edit-calendar-small.p-datepicker .p-datepicker-dropdown:not(:disabled):hover{background-color:#00b3eb;border-color:#00b3eb;color:#fff}::ng-deep .w-edit-calendar-small.p-datepicker .p-datepicker-dropdown:enabled:focus{outline:1px solid #d6f2ff;background-color:#005c7a;color:#fff}::ng-deep .w-edit-calendar-small.p-datepicker.disabled .p-datepicker-dropdown{background:#e8ebee;color:#bdc1c6;border-color:#e8ebee;pointer-events:none}\n"], dependencies: [{ kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i1$2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: i3$4.DatePicker, selector: "p-datePicker, p-datepicker, p-date-picker", inputs: ["iconDisplay", "styleClass", "inputStyle", "inputId", "inputStyleClass", "placeholder", "ariaLabelledBy", "ariaLabel", "iconAriaLabel", "dateFormat", "multipleSeparator", "rangeSeparator", "inline", "showOtherMonths", "selectOtherMonths", "showIcon", "icon", "readonlyInput", "shortYearCutoff", "hourFormat", "timeOnly", "stepHour", "stepMinute", "stepSecond", "showSeconds", "showOnFocus", "showWeek", "startWeekFromFirstDayOfYear", "showClear", "dataType", "selectionMode", "maxDateCount", "showButtonBar", "todayButtonStyleClass", "clearButtonStyleClass", "autofocus", "autoZIndex", "baseZIndex", "panelStyleClass", "panelStyle", "keepInvalid", "hideOnDateTimeSelect", "touchUI", "timeSeparator", "focusTrap", "showTransitionOptions", "hideTransitionOptions", "tabindex", "minDate", "maxDate", "disabledDates", "disabledDays", "showTime", "responsiveOptions", "numberOfMonths", "firstDayOfWeek", "view", "defaultDate", "appendTo", "motionOptions"], outputs: ["onFocus", "onBlur", "onClose", "onSelect", "onClear", "onInput", "onTodayClick", "onClearClick", "onMonthChange", "onYearChange", "onClickOutside", "onShow"] }, { kind: "directive", type: i4.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }, { kind: "component", type: WInputLabelComponent, selector: "w-input-label", inputs: ["label", "disabled", "required", "validated", "tooltip", "tooltipPosition", "size", "labelStyleClass", "message"] }] }); }
3595
3602
  }
3596
3603
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: WEditCalendarComponent, decorators: [{
3597
3604
  type: Component,
@@ -3601,7 +3608,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImpor
3601
3608
  useExisting: forwardRef(() => WEditCalendarComponent),
3602
3609
  multi: true
3603
3610
  }
3604
- ], standalone: false, template: "@if (formControl) {\r\n <div class=\"w-edit-calendar-styles p-fluid field\">\r\n @if (showLabel) {\r\n <w-input-label [label]=\"label\" [required]=\"required\" [disabled]=\"disabled\" [size]=\"size\" [tooltip]=\"tooltip\" [validated]=\"isRequiredValid()\"></w-input-label>\r\n }\r\n <p-datepicker class=\"w-edit-calendar-small\" \r\n [ngClass]=\"{'disabled': disabled, \r\n 'ng-invalid ng-dirty': formControl.hasError('required') && formControl.touched, \r\n 'w-edit-calendar-no-icon' : !showIcon\r\n }\" \r\n [formControl]=\"formControl\" \r\n placeholder=\"{{placeholder}}\"\r\n appendTo=\"body\"\r\n [showIcon]=\"showIcon\"\r\n [icon]=\"timeOnly ? 'pi pi-clock' : 'pi pi-calendar'\" \r\n [showTime]=\"showTime\" \r\n [timeOnly]=\"timeOnly\" \r\n [showSeconds]=\"showSeconds\" \r\n [showIcon]=\"showIcon\" \r\n [minDate]=\"minDate\"\r\n [maxDate]=\"maxDate\" \r\n [firstDayOfWeek]=\"firstDayOfWeek\" \r\n [dataType]=\"dataType\" \r\n [view]=\"viewType\" \r\n [dateFormat]=\"dateFormat\"\r\n [readonlyInput]=\"readonlyInput\" \r\n (onSelect)=\"onValue($event)\"\r\n (onInput)=\"onInputValue($event)\"\r\n [keepInvalid]=\"keepInvalid\"\r\n />\r\n @if (formControl.hasError('required') && formControl.touched) {\r\n <small class=\"p-error block\">{{requiredErrorDescription}}</small>\r\n }\r\n @if (formControl.errors && !formControl.hasError('required') && formControl.touched) {\r\n <small class=\"p-error block\">{{someErrorDescription}}</small>\r\n }\r\n </div>\r\n} @else {\r\n <div class=\"w-edit-calendar-styles p-fluid field\" [ngClass]=\"{'displayInlineBlock' : displayInlineBlock}\" >\r\n @if (showLabel) {\r\n <w-input-label [label]=\"label\" [required]=\"required\" [disabled]=\"disabled\" [size]=\"size\" [tooltip]=\"tooltip\" [validated]=\"isRequiredValid()\"></w-input-label>\r\n }\r\n <p-datepicker class=\"w-edit-calendar-small\" \r\n [ngClass]=\"{'disabled': disabled, \r\n 'w-edit-calendar-no-icon' : !showIcon\r\n }\" \r\n [(ngModel)]=\"ngModelValue\" \r\n placeholder=\"{{placeholder}}\"\r\n appendTo=\"body\" \r\n [disabled]=\"disabled\"\r\n [showIcon]=\"showIcon\"\r\n [icon]=\"timeOnly ? 'pi pi-clock' : 'pi pi-calendar'\" \r\n [showTime]=\"showTime\" \r\n [timeOnly]=\"timeOnly\" \r\n [showSeconds]=\"showSeconds\" \r\n [showIcon]=\"showIcon\" \r\n [minDate]=\"minDate\"\r\n [maxDate]=\"maxDate\" \r\n [firstDayOfWeek]=\"firstDayOfWeek\"\r\n [required]=\"required\" \r\n [dataType]=\"dataType\" \r\n [view]=\"viewType\" \r\n [dateFormat]=\"dateFormat\" \r\n [readonlyInput]=\"readonlyInput\" \r\n (ngModelChange)=\"onDateChanged()\"\r\n [keepInvalid]=\"keepInvalid\"\r\n />\r\n </div>\r\n}\r\n", styles: [".heading1{font-size:2.6666666667rem;line-height:3rem;font-weight:700}.heading2{font-size:2.3333333333rem;line-height:2.6666666667rem;font-weight:700}.heading3{font-size:2rem;line-height:2.3333333333rem;font-weight:700}.heading4{font-size:1.6666666667rem;line-height:2rem;font-weight:700}.heading5,.w-sidebar-title-text{font-size:1.5rem;line-height:1.8333333333rem;font-weight:700}.heading6{font-size:1.3333333333rem;line-height:1.6666666667rem;font-weight:700}.subtitle1,.w-tab-text,.w-panel-title-text{font-size:1.1666666667rem;line-height:1.3333333333rem;font-weight:700}.subtitle2,.w-table-th-text,.w-panel-subtitle-text,.w-input-small-label-text-typography,.w-input-small-label-text,.w-input-small-label-disabled,.w-view-small-label-text-typography,.w-view-small-label-text,.w-button-small-text-label-text-typography,.w-button-small-text-label-text{font-size:1rem;line-height:1.1666666667rem;font-weight:600}.body,.w-image-file-uploader-navigators-text,.w-table-td-text,.w-chip-text,.w-panel-content,.w-input-small-select-options-text,.w-input-small-placeholder-text-typography,.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text,::ng-deep .w-edit-calendar-small.p-datepicker .p-datepicker-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.1666666667rem;font-weight:400}.caption,.w-input-success-alert-text{font-size:.6666666667rem;line-height:1rem;font-weight:400}.light,.w-input-small-placeholder-text-only-color{font-size:.9166666667rem;line-height:1.0833333333rem;font-weight:300}.small,.w-error-message,.w-input-error-alert-text,.w-input-warning-alert-text,.w-button-small-label-text-typography-sm{font-size:.8333333333rem;line-height:1rem;font-weight:400}.textMainColor{color:#1f2224}.textSoftColor{color:#5f6468}.textSofterColor{color:#9aa0a7}.textSoftestColor{color:#e8ebee}.textInverseColor{color:#fff}.spacingXXS{padding:4px}.spacingXSM{padding:6px}.spacingXSMDivider{height:6px}.spacingXS{padding:8px}.spacingS{padding:12px}.spacingM{padding:16px}.spacingL{padding:20px}.spacingXL{padding:24px}.spacingXXL{padding:28px}.spacingXXXL{padding:32px}.panel-title-gap-divider{height:20px}.panel-section-gap-divider{height:32px}.input-vertical-gap-divider{height:24px}.input-label-gap-divider{height:6px}.focusedInput,::ng-deep .w-edit-calendar-small.p-datepicker .p-datepicker-dropdown:enabled:focus,::ng-deep .w-edit-calendar-small.p-datepicker .p-datepicker-input:not(:disabled):focus{border:1px solid rgba(0,157,253,.25);box-shadow:0 0 10px #00b3eb40}.focus{box-shadow:0 0 8px #00a6e980}.hover{border-radius:8px;border:1px solid #00b3eb}.hoveredInput{border-radius:8px;border:1px solid rgba(0,179,235,.5)}.input-generic-valid{border-radius:8px;border:1px solid #B3FFD3}.input-generic-valid-focus{border-radius:8px;border:1px solid #B3FFD3!important;box-shadow:0 0 8px #46ff9b80!important;padding-left:16px}.input-generic-warning{border-radius:8px;border:1px solid #FFECB8!important}.input-generic-warning-focus{border-radius:8px;border:1px solid #FFECB8!important;box-shadow:0 0 8px #ffcd4680!important;padding-left:16px}.input-generic-error-focus{border-radius:8px;border:1px solid #FFBDBD!important;box-shadow:0 0 8px #ff555580!important;padding-left:16px}.input-generic-error{border-radius:8px;border:1px solid #FFBDBD}.toggle-small-typography{font-size:12px;line-height:16px;font-weight:600}.w-button-small-label-text-typography,.w-button-small-tertiary-label-text,.w-button-small-label-text-typography-sm{font-weight:600}.w-button-small-tertiary-label-text{color:#5f6468}.w-button-small-text-label-text{color:#1f2224}.w-button-small-icon-text{font-size:12px;font-weight:600}.w-table-button-small-icon-text{font-size:12px;color:#9aa0a7}.w-control-button-small-label-text{font-size:12px;font-weight:600;line-height:16px}.w-control-button-x-small-icon-text{font-size:10px;font-weight:700}.w-control-button-small-icon-text{font-size:8px;font-weight:700}.w-button-medium-label-text-typography,.w-button-medium-tertiary-label-text{font-size:16px;font-weight:600;line-height:16px}.w-button-medium-tertiary-label-text{color:#1f2224}.w-button-medium-icon-text{font-size:16px}.w-control-button-medium-label-text{font-size:14px;font-weight:600;line-height:16px}.w-control-button-medium-icon-text{font-size:12px;font-weight:700}.w-button-large-label-text-typography,.w-button-large-tertiary-label-text{font-size:20px;font-weight:600;line-height:24px}.w-button-large-tertiary-label-text{color:#1f2224}.w-button-x-small-label-text{font-size:10px;font-weight:600;line-height:10px}.w-button-small-only-label-text{font-size:12px;font-weight:600;line-height:16px}.w-button-large-icon-text{font-size:24px}.w-view-small-label-text{color:#1f2224}.w-view-small-value-text{color:#5f6468}.w-input-no-label-height{height:14px}.w-input-disabled,::ng-deep .w-edit-calendar-small.p-datepicker.disabled .p-datepicker-input{background-color:#f8f9fa!important;border-color:#e8ebee!important;opacity:.6!important}.w-input-small-label-text-typography,.w-input-small-label-text,.w-input-small-label-disabled{height:fit-content}.w-input-small-label-text,.w-input-small-label-disabled{color:#1f2224}.w-input-small-label-disabled{color:#9aa0a7}.w-input-small-label-text-content{padding:12px 8px 8px 0;margin:0}.w-input-small-label-text-content-no-top{padding-top:0}.w-input-small-placeholder-text,::ng-deep .w-edit-calendar-small.p-datepicker .p-datepicker-input{color:#1f2224}.w-input-small-placeholder-text-only-color{color:#9aa0a7;line-height:1.3333333333rem}.w-input-small-placeholder-text-disabled{color:#5f6468}.w-input-small-placeholder-text-disabled-only-color,::ng-deep .w-edit-calendar-small.p-datepicker.disabled .p-datepicker-input .p-select-label.p-placeholder{color:#5f6468}.w-input-small-text-icon,.w-input-small-select-options-text{color:#1f2224}.w-input-medium-label-text-typography,.w-input-medium-label-text,.w-input-medium-label-disabled{font-size:14px;font-weight:600;line-height:16px}.w-input-medium-label-text,.w-input-medium-label-disabled{color:#1f2224}.w-input-medium-label-disabled{color:#9aa0a7}.w-input-medium-placeholder-text-typography,.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text{font-size:16px;font-weight:400;line-height:24px}.w-input-medium-placeholder-text,.w-input-medium-placeholder-text-only-color{color:#1f2224}.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text-disabled-only-color{color:#5f6468}.w-input-medium-text-icon{color:#1f2224}.w-input-medium-select-options-text{font-size:16px;font-weight:400;line-height:24px;color:#1f2224}.w-input-success-alert-text{color:#00db5d;padding:8px 8px 0;margin-top:0}.w-input-warning-alert-text{color:#eeae00;padding:0 4px;margin-top:-2px}.w-input-error-alert-text{color:#e50000;padding:0 4px;margin-top:-2px}.w-input-alert-message-height{height:32px}.w-error-message{color:#e50000;padding:0 4px;margin-top:-2px}.w-sidebar-title-text,.w-panel-title-text,.w-panel-subtitle-text{color:#1f2224}.w-panel-content{color:#5f6468}.w-tab-text,.w-chip-text{color:#1f2224}.w-badge-text{font-size:10px;font-weight:700;line-height:8px}.w-table-th-text{color:#1f2224}.w-table-td-text{color:#5f6468}.w-table-height{padding:6px 8px 5px}.w-table-no-buttons-height{padding:16px 8px 15px!important}.w-tree-table-height{padding:8px 8px 7px}.w-image-file-uploader-navigators-text{font-size:12px;color:#fff}.grid{margin:0}::ng-deep .p-tooltip,.p-tooltip{filter:0px 0px 1px 0px rgba(0,0,0,.1) inset,1px 1px 5px rgba(0,0,0,.06),1px 1px 1px rgba(0,0,0,.08)}::ng-deep .p-tooltip .p-tooltip-text,.p-tooltip .p-tooltip-text{background:#fff!important;color:#1f2224;padding:12px 16px;max-width:192px;width:max-content;margin-left:3px;pointer-events:none}::ng-deep .p-tooltip.p-tooltip-left,.p-tooltip.p-tooltip-left{margin-right:6px;width:max-content;transform:translate(-6px)}::ng-deep .p-tooltip.p-tooltip-left .p-tooltip-arrow,.p-tooltip.p-tooltip-left .p-tooltip-arrow{border-left-color:#fff!important;top:50%;right:-3px;margin-top:-4px;border-width:4px 0 4px 6px!important}::ng-deep .p-tooltip.p-tooltip-right,.p-tooltip.p-tooltip-right{margin-left:6px;width:max-content;transform:translateY(-1px)}::ng-deep .p-tooltip.p-tooltip-right .p-tooltip-arrow,.p-tooltip.p-tooltip-right .p-tooltip-arrow{border-right-color:#fff!important;top:50%;left:0;margin-top:-4px;border-width:4px 6px 4px 0!important}::ng-deep .p-tooltip.p-tooltip-bottom .p-tooltip-arrow,.p-tooltip.p-tooltip-bottom .p-tooltip-arrow{border-bottom-color:#fff!important;border-width:0 4px 6px 4px!important;margin-top:-3px}.w-edit-calendar-styles{margin:0;display:grid;gap:6px!important}::ng-deep .w-edit-calendar-small.p-datepicker{padding:0;box-shadow:none;background:none}::ng-deep .w-edit-calendar-small.p-datepicker .p-datepicker-input{height:28px;width:100%;border-radius:8px 0 0 8px;border-width:1px;padding:0 8px!important;border:1px solid #e8ebee}::ng-deep .w-edit-calendar-small.p-datepicker .p-datepicker-input:not(:disabled):hover{border-color:#00b3eb}::ng-deep .w-edit-calendar-small.p-datepicker.w-edit-calendar-no-icon .p-datepicker-input{border-radius:8px!important}::ng-deep .w-edit-calendar-small.p-datepicker .p-datepicker-dropdown{border:1px solid #005c7a;border-left:0px;background-color:#005c7a;color:#fff}::ng-deep .w-edit-calendar-small.p-datepicker .p-datepicker-dropdown:not(:disabled):hover{background-color:#00b3eb;border-color:#00b3eb;color:#fff}::ng-deep .w-edit-calendar-small.p-datepicker .p-datepicker-dropdown:enabled:focus{outline:1px solid #d6f2ff;background-color:#005c7a;color:#fff}::ng-deep .w-edit-calendar-small.p-datepicker.disabled .p-datepicker-dropdown{background:#e8ebee;color:#bdc1c6;border-color:#e8ebee;pointer-events:none}\n"] }]
3611
+ ], standalone: false, template: "@if (formControl) {\r\n <div class=\"w-edit-calendar-styles p-fluid field\">\r\n @if (showLabel) {\r\n <w-input-label [label]=\"label\" [required]=\"required\" [disabled]=\"disabled\" [size]=\"size\" [tooltip]=\"tooltip\" [validated]=\"isRequiredValid()\"></w-input-label>\r\n }\r\n <p-datepicker class=\"w-edit-calendar-small\" \r\n [ngClass]=\"{'disabled': disabled, \r\n 'ng-invalid ng-dirty': formControl.hasError('required') && formControl.touched, \r\n 'w-edit-calendar-no-icon' : !showIcon\r\n }\" \r\n [formControl]=\"formControl\" \r\n placeholder=\"{{placeholder}}\"\r\n appendTo=\"body\"\r\n [showIcon]=\"showIcon\"\r\n [icon]=\"timeOnly ? 'pi pi-clock' : 'pi pi-calendar'\" \r\n [showTime]=\"showTime\" \r\n [timeOnly]=\"timeOnly\" \r\n [showSeconds]=\"showSeconds\" \r\n [showIcon]=\"showIcon\" \r\n [minDate]=\"minDate\"\r\n [maxDate]=\"maxDate\" \r\n [firstDayOfWeek]=\"firstDayOfWeek\" \r\n [dataType]=\"dataType\" \r\n [view]=\"viewType\" \r\n [dateFormat]=\"dateFormat\"\r\n [readonlyInput]=\"readonlyInput\" \r\n (onSelect)=\"onValue($event)\"\r\n (onInput)=\"onInputValue($event)\"\r\n [keepInvalid]=\"keepInvalid\"\r\n />\r\n @if (formControl.hasError('required') && formControl.touched) {\r\n <small class=\"p-error block\">{{requiredErrorDescription}}</small>\r\n }\r\n @if (formControl.errors && !formControl.hasError('required') && formControl.touched) {\r\n <small class=\"p-error block\">{{someErrorDescription}}</small>\r\n }\r\n </div>\r\n} @else {\r\n <div class=\"w-edit-calendar-styles p-fluid field\" [ngClass]=\"{'displayInlineBlock' : displayInlineBlock}\" >\r\n @if (showLabel) {\r\n <w-input-label [label]=\"label\" [required]=\"required\" [disabled]=\"disabled\" [size]=\"size\" [tooltip]=\"tooltip\" [validated]=\"isRequiredValid()\"></w-input-label>\r\n }\r\n <p-datepicker class=\"w-edit-calendar-small\" \r\n [ngClass]=\"{'disabled': disabled, \r\n 'w-edit-calendar-no-icon' : !showIcon,\r\n 'ng-invalid ng-dirty': isNgModelInvalid()\r\n }\" \r\n [(ngModel)]=\"ngModelValue\" \r\n placeholder=\"{{placeholder}}\"\r\n appendTo=\"body\" \r\n [disabled]=\"disabled\"\r\n [showIcon]=\"showIcon\"\r\n [icon]=\"timeOnly ? 'pi pi-clock' : 'pi pi-calendar'\" \r\n [showTime]=\"showTime\" \r\n [timeOnly]=\"timeOnly\" \r\n [showSeconds]=\"showSeconds\" \r\n [showIcon]=\"showIcon\" \r\n [minDate]=\"minDate\"\r\n [maxDate]=\"maxDate\" \r\n [firstDayOfWeek]=\"firstDayOfWeek\"\r\n [required]=\"required\" \r\n [dataType]=\"dataType\" \r\n [view]=\"viewType\" \r\n [dateFormat]=\"dateFormat\" \r\n [readonlyInput]=\"readonlyInput\" \r\n (ngModelChange)=\"onDateChanged()\"\r\n (blur)=\"onDateBlur()\"\r\n [keepInvalid]=\"keepInvalid\"\r\n />\r\n </div>\r\n}\r\n", styles: [".heading1{font-size:2.6666666667rem;line-height:3rem;font-weight:700}.heading2{font-size:2.3333333333rem;line-height:2.6666666667rem;font-weight:700}.heading3{font-size:2rem;line-height:2.3333333333rem;font-weight:700}.heading4{font-size:1.6666666667rem;line-height:2rem;font-weight:700}.heading5,.w-sidebar-title-text{font-size:1.5rem;line-height:1.8333333333rem;font-weight:700}.heading6{font-size:1.3333333333rem;line-height:1.6666666667rem;font-weight:700}.subtitle1,.w-tab-text,.w-panel-title-text{font-size:1.1666666667rem;line-height:1.3333333333rem;font-weight:700}.subtitle2,.w-table-th-text,.w-panel-subtitle-text,.w-input-small-label-text-typography,.w-input-small-label-text,.w-input-small-label-disabled,.w-view-small-label-text-typography,.w-view-small-label-text,.w-button-small-text-label-text-typography,.w-button-small-text-label-text{font-size:1rem;line-height:1.1666666667rem;font-weight:600}.body,.w-image-file-uploader-navigators-text,.w-table-td-text,.w-chip-text,.w-panel-content,.w-input-small-select-options-text,.w-input-small-placeholder-text-typography,.w-input-small-placeholder-text-disabled,.w-input-small-placeholder-text,::ng-deep .w-edit-calendar-small.p-datepicker .p-datepicker-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.1666666667rem;font-weight:400}.caption,.w-input-success-alert-text{font-size:.6666666667rem;line-height:1rem;font-weight:400}.light,.w-input-small-placeholder-text-only-color{font-size:.9166666667rem;line-height:1.0833333333rem;font-weight:300}.small,.w-error-message,.w-input-error-alert-text,.w-input-warning-alert-text,.w-button-small-label-text-typography-sm{font-size:.8333333333rem;line-height:1rem;font-weight:400}.textMainColor{color:#1f2224}.textSoftColor{color:#5f6468}.textSofterColor{color:#9aa0a7}.textSoftestColor{color:#e8ebee}.textInverseColor{color:#fff}.spacingXXS{padding:4px}.spacingXSM{padding:6px}.spacingXSMDivider{height:6px}.spacingXS{padding:8px}.spacingS{padding:12px}.spacingM{padding:16px}.spacingL{padding:20px}.spacingXL{padding:24px}.spacingXXL{padding:28px}.spacingXXXL{padding:32px}.panel-title-gap-divider{height:20px}.panel-section-gap-divider{height:32px}.input-vertical-gap-divider{height:24px}.input-label-gap-divider{height:6px}.focusedInput,::ng-deep .w-edit-calendar-small.p-datepicker .p-datepicker-dropdown:enabled:focus,::ng-deep .w-edit-calendar-small.p-datepicker .p-datepicker-input:not(:disabled):focus{border:1px solid rgba(0,157,253,.25);box-shadow:0 0 10px #00b3eb40}.focus{box-shadow:0 0 8px #00a6e980}.hover{border-radius:8px;border:1px solid #00b3eb}.hoveredInput{border-radius:8px;border:1px solid rgba(0,179,235,.5)}.input-generic-valid{border-radius:8px;border:1px solid #B3FFD3}.input-generic-valid-focus{border-radius:8px;border:1px solid #B3FFD3!important;box-shadow:0 0 8px #46ff9b80!important;padding-left:16px}.input-generic-warning{border-radius:8px;border:1px solid #FFECB8!important}.input-generic-warning-focus{border-radius:8px;border:1px solid #FFECB8!important;box-shadow:0 0 8px #ffcd4680!important;padding-left:16px}.input-generic-error-focus{border-radius:8px;border:1px solid #FFBDBD!important;box-shadow:0 0 8px #ff555580!important;padding-left:16px}.input-generic-error{border-radius:8px;border:1px solid #FFBDBD}.toggle-small-typography{font-size:12px;line-height:16px;font-weight:600}.w-button-small-label-text-typography,.w-button-small-tertiary-label-text,.w-button-small-label-text-typography-sm{font-weight:600}.w-button-small-tertiary-label-text{color:#5f6468}.w-button-small-text-label-text{color:#1f2224}.w-button-small-icon-text{font-size:12px;font-weight:600}.w-table-button-small-icon-text{font-size:12px;color:#9aa0a7}.w-control-button-small-label-text{font-size:12px;font-weight:600;line-height:16px}.w-control-button-x-small-icon-text{font-size:10px;font-weight:700}.w-control-button-small-icon-text{font-size:8px;font-weight:700}.w-button-medium-label-text-typography,.w-button-medium-tertiary-label-text{font-size:16px;font-weight:600;line-height:16px}.w-button-medium-tertiary-label-text{color:#1f2224}.w-button-medium-icon-text{font-size:16px}.w-control-button-medium-label-text{font-size:14px;font-weight:600;line-height:16px}.w-control-button-medium-icon-text{font-size:12px;font-weight:700}.w-button-large-label-text-typography,.w-button-large-tertiary-label-text{font-size:20px;font-weight:600;line-height:24px}.w-button-large-tertiary-label-text{color:#1f2224}.w-button-x-small-label-text{font-size:10px;font-weight:600;line-height:10px}.w-button-small-only-label-text{font-size:12px;font-weight:600;line-height:16px}.w-button-large-icon-text{font-size:24px}.w-view-small-label-text{color:#1f2224}.w-view-small-value-text{color:#5f6468}.w-input-no-label-height{height:14px}.w-input-disabled,::ng-deep .w-edit-calendar-small.p-datepicker.disabled .p-datepicker-input{background-color:#f8f9fa!important;border-color:#e8ebee!important;opacity:.6!important}.w-input-small-label-text-typography,.w-input-small-label-text,.w-input-small-label-disabled{height:fit-content}.w-input-small-label-text,.w-input-small-label-disabled{color:#1f2224}.w-input-small-label-disabled{color:#9aa0a7}.w-input-small-label-text-content{padding:12px 8px 8px 0;margin:0}.w-input-small-label-text-content-no-top{padding-top:0}.w-input-small-placeholder-text,::ng-deep .w-edit-calendar-small.p-datepicker .p-datepicker-input{color:#1f2224}.w-input-small-placeholder-text-only-color{color:#9aa0a7;line-height:1.3333333333rem}.w-input-small-placeholder-text-disabled{color:#5f6468}.w-input-small-placeholder-text-disabled-only-color,::ng-deep .w-edit-calendar-small.p-datepicker.disabled .p-datepicker-input .p-select-label.p-placeholder{color:#5f6468}.w-input-small-text-icon,.w-input-small-select-options-text{color:#1f2224}.w-input-medium-label-text-typography,.w-input-medium-label-text,.w-input-medium-label-disabled{font-size:14px;font-weight:600;line-height:16px}.w-input-medium-label-text,.w-input-medium-label-disabled{color:#1f2224}.w-input-medium-label-disabled{color:#9aa0a7}.w-input-medium-placeholder-text-typography,.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text{font-size:16px;font-weight:400;line-height:24px}.w-input-medium-placeholder-text,.w-input-medium-placeholder-text-only-color{color:#1f2224}.w-input-medium-placeholder-text-disabled,.w-input-medium-placeholder-text-disabled-only-color{color:#5f6468}.w-input-medium-text-icon{color:#1f2224}.w-input-medium-select-options-text{font-size:16px;font-weight:400;line-height:24px;color:#1f2224}.w-input-success-alert-text{color:#00db5d;padding:8px 8px 0;margin-top:0}.w-input-warning-alert-text{color:#eeae00;padding:0 4px;margin-top:-2px}.w-input-error-alert-text{color:#e50000;padding:0 4px;margin-top:-2px}.w-input-alert-message-height{height:32px}.w-error-message{color:#e50000;padding:0 4px;margin-top:-2px}.w-sidebar-title-text,.w-panel-title-text,.w-panel-subtitle-text{color:#1f2224}.w-panel-content{color:#5f6468}.w-tab-text,.w-chip-text{color:#1f2224}.w-badge-text{font-size:10px;font-weight:700;line-height:8px}.w-table-th-text{color:#1f2224}.w-table-td-text{color:#5f6468}.w-table-height{padding:6px 8px 5px}.w-table-no-buttons-height{padding:16px 8px 15px!important}.w-tree-table-height{padding:8px 8px 7px}.w-image-file-uploader-navigators-text{font-size:12px;color:#fff}.grid{margin:0}::ng-deep .p-tooltip,.p-tooltip{filter:0px 0px 1px 0px rgba(0,0,0,.1) inset,1px 1px 5px rgba(0,0,0,.06),1px 1px 1px rgba(0,0,0,.08)}::ng-deep .p-tooltip .p-tooltip-text,.p-tooltip .p-tooltip-text{background:#fff!important;color:#1f2224;padding:12px 16px;max-width:192px;width:max-content;margin-left:3px;pointer-events:none}::ng-deep .p-tooltip.p-tooltip-left,.p-tooltip.p-tooltip-left{margin-right:6px;width:max-content;transform:translate(-6px)}::ng-deep .p-tooltip.p-tooltip-left .p-tooltip-arrow,.p-tooltip.p-tooltip-left .p-tooltip-arrow{border-left-color:#fff!important;top:50%;right:-3px;margin-top:-4px;border-width:4px 0 4px 6px!important}::ng-deep .p-tooltip.p-tooltip-right,.p-tooltip.p-tooltip-right{margin-left:6px;width:max-content;transform:translateY(-1px)}::ng-deep .p-tooltip.p-tooltip-right .p-tooltip-arrow,.p-tooltip.p-tooltip-right .p-tooltip-arrow{border-right-color:#fff!important;top:50%;left:0;margin-top:-4px;border-width:4px 6px 4px 0!important}::ng-deep .p-tooltip.p-tooltip-bottom .p-tooltip-arrow,.p-tooltip.p-tooltip-bottom .p-tooltip-arrow{border-bottom-color:#fff!important;border-width:0 4px 6px 4px!important;margin-top:-3px}.w-edit-calendar-styles{margin:0;display:grid;gap:6px!important}::ng-deep .w-edit-calendar-small.p-datepicker{padding:0;box-shadow:none;background:none}::ng-deep .w-edit-calendar-small.p-datepicker .p-datepicker-input{height:28px;width:100%;border-radius:8px 0 0 8px;border-width:1px;padding:0 8px!important;border:1px solid #e8ebee}::ng-deep .w-edit-calendar-small.p-datepicker .p-datepicker-input:not(:disabled):hover{border-color:#00b3eb}::ng-deep .w-edit-calendar-small.p-datepicker.w-edit-calendar-no-icon .p-datepicker-input{border-radius:8px!important}::ng-deep .w-edit-calendar-small.p-datepicker .p-datepicker-dropdown{border:1px solid #005c7a;border-left:0px;background-color:#005c7a;color:#fff}::ng-deep .w-edit-calendar-small.p-datepicker .p-datepicker-dropdown:not(:disabled):hover{background-color:#00b3eb;border-color:#00b3eb;color:#fff}::ng-deep .w-edit-calendar-small.p-datepicker .p-datepicker-dropdown:enabled:focus{outline:1px solid #d6f2ff;background-color:#005c7a;color:#fff}::ng-deep .w-edit-calendar-small.p-datepicker.disabled .p-datepicker-dropdown{background:#e8ebee;color:#bdc1c6;border-color:#e8ebee;pointer-events:none}\n"] }]
3605
3612
  }], propDecorators: { minDate: [{
3606
3613
  type: Input
3607
3614
  }], maxDate: [{
@@ -4416,7 +4423,7 @@ class WPeriodSelectFieldComponent {
4416
4423
  useExisting: forwardRef(() => WPeriodSelectFieldComponent),
4417
4424
  multi: true
4418
4425
  }
4419
- ], ngImport: i0, template: "<w-edit-select \r\n class=\"w-period-select-field q-inline-block-display w-filter-panel-basic-query-builder-input-width period-select-field-width\"\r\n appendTo=\"self\"\r\n [options]=\"periodCategories\"\r\n [(ngModel)]=\"periodCategorySelected\"\r\n (onChange)=\"onPeriodCategorySelected()\"\r\n (onClear)=\"onClearCategory()\"\r\n optionLabel=\"name\"\r\n optionValue=\"value\"\r\n [required]=\"required\"\r\n [placeholder]=\"placeholder\">\r\n</w-edit-select>\r\n<w-edit-calendar\r\n [disabled]=\"disableCalendar()\"\r\n class=\"w-period-select-field q-inline-block-display w-filter-panel-basic-query-builder-input-width period-select-field-width\" \r\n appendTo=\"self\" \r\n size=\"small\" \r\n [dataType]=\"'date'\"\r\n [showIcon]=\"false\"\r\n [(ngModel)]=\"fromDateValue\"\r\n (onChange)=\"onFromDateChange()\"\r\n [showTime]=\"true\"\r\n [showSeconds]=\"true\"\r\n [maxDate]=\"getMaxDate()\"\r\n [firstDayOfWeek]=\"translationsObject.firstDayOfWeek ?? 1\"\r\n [placeholder]=\"translationsObject.fieldsPlaceholders.from ?? 'Desde'\"\r\n [displayInlineBlock]=\"true\"\r\n [showLabel]=\"false\">\r\n</w-edit-calendar>\r\n<w-edit-calendar\r\n [disabled]=\"disableCalendar()\"\r\n class=\"w-period-select-field q-inline-block-display w-filter-panel-basic-query-builder-input-width period-select-field-width\" \r\n appendTo=\"self\" \r\n size=\"small\" \r\n [dataType]=\"'date'\"\r\n [showIcon]=\"false\"\r\n [(ngModel)]=\"toDateValue\"\r\n (onChange)=\"onToDateChange()\"\r\n [showTime]=\"true\"\r\n [showSeconds]=\"true\"\r\n [maxDate]=\"maxDate\"\r\n [minDate]=\"fromDateValue\"\r\n [firstDayOfWeek]=\"translationsObject.firstDayOfWeek ?? 1\"\r\n [placeholder]=\"translationsObject.fieldsPlaceholders.to ?? 'Hasta'\"\r\n [displayInlineBlock]=\"true\"\r\n [showLabel]=\"false\">\r\n</w-edit-calendar>\r\n", styles: ["::ng-deep .w-period-select-field .w-edit-select-field w-input-label{display:none}\n"], dependencies: [{ kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: WEditSelectComponent, selector: "w-edit-select", inputs: ["label", "showLabel", "placeholder", "disabled", "loading", "required", "size", "options", "filter", "filterPlaceholder", "optionLabel", "optionValue", "virtualScroll", "virtualScrollItemSize", "appendTo", "showClear", "formControl", "requiredErrorDescription", "removePaddingTop", "tooltip", "tooltipPosition"], outputs: ["onChange", "onClear"] }, { kind: "component", type: WEditCalendarComponent, selector: "w-edit-calendar", inputs: ["minDate", "maxDate", "label", "showLabel", "showTime", "showSeconds", "timeOnly", "showIcon", "placeholder", "disabled", "size", "formControl", "displayInlineBlock", "required", "requiredErrorDescription", "someErrorDescription", "removePaddingTop", "firstDayOfWeek", "tooltip", "tooltipPosition", "dataType", "viewType", "monthMode", "readonlyInput", "keepInvalid", "dateFormat"], outputs: ["onChange"] }] }); }
4426
+ ], ngImport: i0, template: "<w-edit-select \r\n class=\"w-period-select-field q-inline-block-display w-filter-panel-basic-query-builder-input-width period-select-field-width\"\r\n appendTo=\"self\"\r\n [options]=\"periodCategories\"\r\n [(ngModel)]=\"periodCategorySelected\"\r\n (onChange)=\"onPeriodCategorySelected()\"\r\n (onClear)=\"onClearCategory()\"\r\n optionLabel=\"name\"\r\n optionValue=\"value\"\r\n [required]=\"required\"\r\n [placeholder]=\"placeholder\">\r\n</w-edit-select>\r\n<w-edit-calendar\r\n [disabled]=\"disableCalendar()\"\r\n class=\"w-period-select-field q-inline-block-display w-filter-panel-basic-query-builder-input-width period-select-field-width\" \r\n appendTo=\"self\" \r\n size=\"small\" \r\n [dataType]=\"'date'\"\r\n [showIcon]=\"false\"\r\n [(ngModel)]=\"fromDateValue\"\r\n [required]=\"true\"\r\n (onChange)=\"onFromDateChange()\"\r\n [showTime]=\"true\"\r\n [showSeconds]=\"true\"\r\n [maxDate]=\"getMaxDate()\"\r\n [firstDayOfWeek]=\"translationsObject.firstDayOfWeek ?? 1\"\r\n [placeholder]=\"translationsObject.fieldsPlaceholders.from ?? 'Desde'\"\r\n [displayInlineBlock]=\"true\"\r\n [showLabel]=\"false\">\r\n</w-edit-calendar>\r\n<w-edit-calendar\r\n [disabled]=\"disableCalendar()\"\r\n class=\"w-period-select-field q-inline-block-display w-filter-panel-basic-query-builder-input-width period-select-field-width\" \r\n appendTo=\"self\" \r\n size=\"small\" \r\n [dataType]=\"'date'\"\r\n [showIcon]=\"false\"\r\n [(ngModel)]=\"toDateValue\"\r\n [required]=\"true\"\r\n (onChange)=\"onToDateChange()\"\r\n [showTime]=\"true\"\r\n [showSeconds]=\"true\"\r\n [maxDate]=\"maxDate\"\r\n [minDate]=\"fromDateValue\"\r\n [firstDayOfWeek]=\"translationsObject.firstDayOfWeek ?? 1\"\r\n [placeholder]=\"translationsObject.fieldsPlaceholders.to ?? 'Hasta'\"\r\n [displayInlineBlock]=\"true\"\r\n [showLabel]=\"false\">\r\n</w-edit-calendar>\r\n", styles: ["::ng-deep .w-period-select-field .w-edit-select-field w-input-label{display:none}\n"], dependencies: [{ kind: "directive", type: i1$2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$2.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i1$2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: WEditSelectComponent, selector: "w-edit-select", inputs: ["label", "showLabel", "placeholder", "disabled", "loading", "required", "size", "options", "filter", "filterPlaceholder", "optionLabel", "optionValue", "virtualScroll", "virtualScrollItemSize", "appendTo", "showClear", "formControl", "requiredErrorDescription", "removePaddingTop", "tooltip", "tooltipPosition"], outputs: ["onChange", "onClear"] }, { kind: "component", type: WEditCalendarComponent, selector: "w-edit-calendar", inputs: ["minDate", "maxDate", "label", "showLabel", "showTime", "showSeconds", "timeOnly", "showIcon", "placeholder", "disabled", "size", "formControl", "displayInlineBlock", "required", "requiredErrorDescription", "someErrorDescription", "removePaddingTop", "firstDayOfWeek", "tooltip", "tooltipPosition", "dataType", "viewType", "monthMode", "readonlyInput", "keepInvalid", "dateFormat"], outputs: ["onChange"] }] }); }
4420
4427
  }
4421
4428
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: WPeriodSelectFieldComponent, decorators: [{
4422
4429
  type: Component,
@@ -4426,7 +4433,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImpor
4426
4433
  useExisting: forwardRef(() => WPeriodSelectFieldComponent),
4427
4434
  multi: true
4428
4435
  }
4429
- ], standalone: false, template: "<w-edit-select \r\n class=\"w-period-select-field q-inline-block-display w-filter-panel-basic-query-builder-input-width period-select-field-width\"\r\n appendTo=\"self\"\r\n [options]=\"periodCategories\"\r\n [(ngModel)]=\"periodCategorySelected\"\r\n (onChange)=\"onPeriodCategorySelected()\"\r\n (onClear)=\"onClearCategory()\"\r\n optionLabel=\"name\"\r\n optionValue=\"value\"\r\n [required]=\"required\"\r\n [placeholder]=\"placeholder\">\r\n</w-edit-select>\r\n<w-edit-calendar\r\n [disabled]=\"disableCalendar()\"\r\n class=\"w-period-select-field q-inline-block-display w-filter-panel-basic-query-builder-input-width period-select-field-width\" \r\n appendTo=\"self\" \r\n size=\"small\" \r\n [dataType]=\"'date'\"\r\n [showIcon]=\"false\"\r\n [(ngModel)]=\"fromDateValue\"\r\n (onChange)=\"onFromDateChange()\"\r\n [showTime]=\"true\"\r\n [showSeconds]=\"true\"\r\n [maxDate]=\"getMaxDate()\"\r\n [firstDayOfWeek]=\"translationsObject.firstDayOfWeek ?? 1\"\r\n [placeholder]=\"translationsObject.fieldsPlaceholders.from ?? 'Desde'\"\r\n [displayInlineBlock]=\"true\"\r\n [showLabel]=\"false\">\r\n</w-edit-calendar>\r\n<w-edit-calendar\r\n [disabled]=\"disableCalendar()\"\r\n class=\"w-period-select-field q-inline-block-display w-filter-panel-basic-query-builder-input-width period-select-field-width\" \r\n appendTo=\"self\" \r\n size=\"small\" \r\n [dataType]=\"'date'\"\r\n [showIcon]=\"false\"\r\n [(ngModel)]=\"toDateValue\"\r\n (onChange)=\"onToDateChange()\"\r\n [showTime]=\"true\"\r\n [showSeconds]=\"true\"\r\n [maxDate]=\"maxDate\"\r\n [minDate]=\"fromDateValue\"\r\n [firstDayOfWeek]=\"translationsObject.firstDayOfWeek ?? 1\"\r\n [placeholder]=\"translationsObject.fieldsPlaceholders.to ?? 'Hasta'\"\r\n [displayInlineBlock]=\"true\"\r\n [showLabel]=\"false\">\r\n</w-edit-calendar>\r\n", styles: ["::ng-deep .w-period-select-field .w-edit-select-field w-input-label{display:none}\n"] }]
4436
+ ], standalone: false, template: "<w-edit-select \r\n class=\"w-period-select-field q-inline-block-display w-filter-panel-basic-query-builder-input-width period-select-field-width\"\r\n appendTo=\"self\"\r\n [options]=\"periodCategories\"\r\n [(ngModel)]=\"periodCategorySelected\"\r\n (onChange)=\"onPeriodCategorySelected()\"\r\n (onClear)=\"onClearCategory()\"\r\n optionLabel=\"name\"\r\n optionValue=\"value\"\r\n [required]=\"required\"\r\n [placeholder]=\"placeholder\">\r\n</w-edit-select>\r\n<w-edit-calendar\r\n [disabled]=\"disableCalendar()\"\r\n class=\"w-period-select-field q-inline-block-display w-filter-panel-basic-query-builder-input-width period-select-field-width\" \r\n appendTo=\"self\" \r\n size=\"small\" \r\n [dataType]=\"'date'\"\r\n [showIcon]=\"false\"\r\n [(ngModel)]=\"fromDateValue\"\r\n [required]=\"true\"\r\n (onChange)=\"onFromDateChange()\"\r\n [showTime]=\"true\"\r\n [showSeconds]=\"true\"\r\n [maxDate]=\"getMaxDate()\"\r\n [firstDayOfWeek]=\"translationsObject.firstDayOfWeek ?? 1\"\r\n [placeholder]=\"translationsObject.fieldsPlaceholders.from ?? 'Desde'\"\r\n [displayInlineBlock]=\"true\"\r\n [showLabel]=\"false\">\r\n</w-edit-calendar>\r\n<w-edit-calendar\r\n [disabled]=\"disableCalendar()\"\r\n class=\"w-period-select-field q-inline-block-display w-filter-panel-basic-query-builder-input-width period-select-field-width\" \r\n appendTo=\"self\" \r\n size=\"small\" \r\n [dataType]=\"'date'\"\r\n [showIcon]=\"false\"\r\n [(ngModel)]=\"toDateValue\"\r\n [required]=\"true\"\r\n (onChange)=\"onToDateChange()\"\r\n [showTime]=\"true\"\r\n [showSeconds]=\"true\"\r\n [maxDate]=\"maxDate\"\r\n [minDate]=\"fromDateValue\"\r\n [firstDayOfWeek]=\"translationsObject.firstDayOfWeek ?? 1\"\r\n [placeholder]=\"translationsObject.fieldsPlaceholders.to ?? 'Hasta'\"\r\n [displayInlineBlock]=\"true\"\r\n [showLabel]=\"false\">\r\n</w-edit-calendar>\r\n", styles: ["::ng-deep .w-period-select-field .w-edit-select-field w-input-label{display:none}\n"] }]
4430
4437
  }], ctorParameters: () => [{ type: LocalStorageService }, { type: SessionStorageService }], propDecorators: { operator: [{
4431
4438
  type: Input,
4432
4439
  args: ['operator']
@@ -6737,7 +6744,9 @@ class WImageFileUploaderComponent {
6737
6744
  this.openModalCropper(file, event.originalEvent);
6738
6745
  }
6739
6746
  });
6740
- this.fileUpload.files = [];
6747
+ if (this.imageUploadConfig.allowAuto == false) {
6748
+ this.fileUpload.files = [];
6749
+ }
6741
6750
  }
6742
6751
  else {
6743
6752
  this.openModalCropper(event.currentFiles[0], event.originalEvent);