@fuentis/phoenix-ui 0.0.9-alpha.435 → 0.0.9-alpha.437

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.
@@ -110,11 +110,11 @@ class InnerHeaderComponent {
110
110
  title = '';
111
111
  tooltipContent = '';
112
112
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: InnerHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
113
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: InnerHeaderComponent, isStandalone: true, selector: "pho-inner-header", inputs: { title: "title", tooltipContent: "tooltipContent" }, ngImport: i0, template: "<div\n class=\"flex align-items-center justify-content-between border-bottom-1 border-300 p-2\"\n>\n <div class=\"flex align-items-center gap-2\">\n <span class=\"font-medium text-lg\">\n {{ title }}\n </span>\n <i [pTooltip]=\"tooltipContent\" class=\"pi pi-info-circle text-blue-500\"></i>\n </div>\n\n <div class=\"flex align-items-center gap-2\">\n <ng-content></ng-content>\n </div>\n</div>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i2.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }] });
113
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: InnerHeaderComponent, isStandalone: true, selector: "pho-inner-header", inputs: { title: "title", tooltipContent: "tooltipContent" }, ngImport: i0, template: "<div\n class=\"flex align-items-center justify-content-between border-bottom-1 border-300 pt-2 pb-2\"\n>\n <div class=\"flex align-items-center gap-2\">\n <span class=\"font-medium text-lg\">\n {{ title }}\n </span>\n <i [pTooltip]=\"tooltipContent\" class=\"pi pi-info-circle text-blue-500\"></i>\n </div>\n\n <div class=\"flex align-items-center gap-2\">\n <ng-content></ng-content>\n </div>\n</div>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i2.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }] });
114
114
  }
115
115
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: InnerHeaderComponent, decorators: [{
116
116
  type: Component,
117
- args: [{ selector: 'pho-inner-header', standalone: true, imports: [CommonModule, TooltipModule], template: "<div\n class=\"flex align-items-center justify-content-between border-bottom-1 border-300 p-2\"\n>\n <div class=\"flex align-items-center gap-2\">\n <span class=\"font-medium text-lg\">\n {{ title }}\n </span>\n <i [pTooltip]=\"tooltipContent\" class=\"pi pi-info-circle text-blue-500\"></i>\n </div>\n\n <div class=\"flex align-items-center gap-2\">\n <ng-content></ng-content>\n </div>\n</div>\n" }]
117
+ args: [{ selector: 'pho-inner-header', standalone: true, imports: [CommonModule, TooltipModule], template: "<div\n class=\"flex align-items-center justify-content-between border-bottom-1 border-300 pt-2 pb-2\"\n>\n <div class=\"flex align-items-center gap-2\">\n <span class=\"font-medium text-lg\">\n {{ title }}\n </span>\n <i [pTooltip]=\"tooltipContent\" class=\"pi pi-info-circle text-blue-500\"></i>\n </div>\n\n <div class=\"flex align-items-center gap-2\">\n <ng-content></ng-content>\n </div>\n</div>\n" }]
118
118
  }], propDecorators: { title: [{
119
119
  type: Input
120
120
  }], tooltipContent: [{
@@ -6075,9 +6075,11 @@ class MetaTimeperiodComponent {
6075
6075
  return '';
6076
6076
  }
6077
6077
  writeValue(value) {
6078
- ///transformation moved here
6079
- this.value =
6080
- typeof value === 'string' ? value : timePeriodFromMS(value);
6078
+ if (value === null || value === undefined || value === '') {
6079
+ this.value = '';
6080
+ return;
6081
+ }
6082
+ this.value = typeof value === 'string' ? value : timePeriodFromMS(value);
6081
6083
  }
6082
6084
  registerOnChange(fn) {
6083
6085
  this.onChanged = fn;