@fuentis/phoenix-ui 0.0.9-alpha.659 → 0.0.9-alpha.660

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.
@@ -8717,7 +8717,7 @@ class MetaTimeperiodV2Component {
8717
8717
  this.onTouched();
8718
8718
  }
8719
8719
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: MetaTimeperiodV2Component, deps: [], target: i0.ɵɵFactoryTarget.Component });
8720
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.3.16", type: MetaTimeperiodV2Component, isStandalone: true, selector: "phoenix-meta-timeperiod-v2", inputs: { key: { classPropertyName: "key", publicName: "key", isSignal: true, isRequired: false, transformFunction: null }, disable: { classPropertyName: "disable", publicName: "disable", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
8720
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.16", type: MetaTimeperiodV2Component, isStandalone: true, selector: "phoenix-meta-timeperiod-v2", inputs: { key: { classPropertyName: "key", publicName: "key", isSignal: true, isRequired: false, transformFunction: null }, disable: { classPropertyName: "disable", publicName: "disable", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
8721
8721
  {
8722
8722
  provide: NG_VALUE_ACCESSOR,
8723
8723
  useExisting: forwardRef(() => MetaTimeperiodV2Component),
@@ -8735,9 +8735,12 @@ class MetaTimeperiodV2Component {
8735
8735
  (input)="onInput($event)"
8736
8736
  (blur)="handleBlur()"
8737
8737
  />
8738
- <small class="block mt-1 timeperiod-v2-hint">
8739
- <i class="pi pi-info-circle mr-1"></i>{{ 'VALIDATION_MESSAGE.VALUE_SHOULD_MATCH_TIMEPATTERN' | translate }}
8740
- </small>
8738
+ <!-- Guidance only once the user starts typing — not on an empty field. -->
8739
+ @if (value()) {
8740
+ <small class="block mt-1 timeperiod-v2-hint">
8741
+ <i class="pi pi-info-circle mr-1"></i>{{ 'VALIDATION_MESSAGE.VALUE_SHOULD_MATCH_TIMEPATTERN' | translate }}
8742
+ </small>
8743
+ }
8741
8744
  `, isInline: true, styles: [".timeperiod-v2-hint{color:var(--p-text-muted-color, #6b7280);font-size:12px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: InputTextModule }, { kind: "directive", type: i3$3.InputText, selector: "[pInputText]", inputs: ["hostName", "ptInputText", "pSize", "variant", "fluid", "invalid"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i4$2.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
8742
8745
  }
8743
8746
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImport: i0, type: MetaTimeperiodV2Component, decorators: [{
@@ -8754,9 +8757,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.16", ngImpo
8754
8757
  (input)="onInput($event)"
8755
8758
  (blur)="handleBlur()"
8756
8759
  />
8757
- <small class="block mt-1 timeperiod-v2-hint">
8758
- <i class="pi pi-info-circle mr-1"></i>{{ 'VALIDATION_MESSAGE.VALUE_SHOULD_MATCH_TIMEPATTERN' | translate }}
8759
- </small>
8760
+ <!-- Guidance only once the user starts typing — not on an empty field. -->
8761
+ @if (value()) {
8762
+ <small class="block mt-1 timeperiod-v2-hint">
8763
+ <i class="pi pi-info-circle mr-1"></i>{{ 'VALIDATION_MESSAGE.VALUE_SHOULD_MATCH_TIMEPATTERN' | translate }}
8764
+ </small>
8765
+ }
8760
8766
  `, providers: [
8761
8767
  {
8762
8768
  provide: NG_VALUE_ACCESSOR,