valtech-components 2.0.179 → 2.0.180

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.
@@ -1,25 +1,30 @@
1
- import { NgIf } from '@angular/common';
1
+ import { CommonModule, NgIf } from '@angular/common';
2
2
  import { Component, Input } from '@angular/core';
3
3
  import { IonText } from '@ionic/angular/standalone';
4
4
  import * as i0 from "@angular/core";
5
+ import * as i1 from "@angular/common";
5
6
  export class TitleComponent {
6
7
  constructor() { }
7
8
  ngOnInit() { }
8
9
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
9
10
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: TitleComponent, isStandalone: true, selector: "val-title", inputs: { props: "props" }, ngImport: i0, template: `
10
11
  <ion-text [color]="props.color">
11
- <p *ngIf="!props.bold" [class]="props.size" [class]="props.thin">{{ props.content }}</p>
12
+ <p *ngIf="!props.bold" [ngClass]="[props.thin, props.size]">
13
+ {{ props.content }}
14
+ </p>
12
15
  <b *ngIf="props.bold">
13
16
  <p [class]="props.size">{{ props.content }}</p>
14
17
  </b>
15
18
  </ion-text>
16
- `, isInline: true, styles: [".small{font-size:.875rem;line-height:1.5rem;font-weight:700}@media (min-width: 768px){.small{font-size:1rem;line-height:1.5rem}}.small.thin{font-weight:500}.medium{font-size:1rem;line-height:1.5rem;font-weight:700}@media (min-width: 768px){.medium{font-size:1.125rem;line-height:1.5rem}}.large{font-size:1.125rem;line-height:1.5rem;font-weight:700}@media (min-width: 768px){.large{font-size:1.5rem;line-height:2rem}}.xlarge{font-size:1.125rem;line-height:1.5rem;font-weight:700}@media (min-width: 768px){.xlarge{font-size:1.5rem;line-height:2rem}}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IonText, selector: "ion-text", inputs: ["color", "mode"] }] }); }
19
+ `, isInline: true, styles: [".small{font-size:.875rem;line-height:1.5rem;font-weight:700}@media (min-width: 768px){.small{font-size:1rem;line-height:1.5rem}}.small.thin{font-weight:500}.medium{font-size:1rem;line-height:1.5rem;font-weight:700}@media (min-width: 768px){.medium{font-size:1.125rem;line-height:1.5rem}}.large{font-size:1.125rem;line-height:1.5rem;font-weight:700}@media (min-width: 768px){.large{font-size:1.5rem;line-height:2rem}}.xlarge{font-size:1.125rem;line-height:1.5rem;font-weight:700}@media (min-width: 768px){.xlarge{font-size:1.5rem;line-height:2rem}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IonText, selector: "ion-text", inputs: ["color", "mode"] }] }); }
17
20
  }
18
21
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TitleComponent, decorators: [{
19
22
  type: Component,
20
- args: [{ selector: 'val-title', standalone: true, imports: [NgIf, IonText], template: `
23
+ args: [{ selector: 'val-title', standalone: true, imports: [CommonModule, NgIf, IonText], template: `
21
24
  <ion-text [color]="props.color">
22
- <p *ngIf="!props.bold" [class]="props.size" [class]="props.thin">{{ props.content }}</p>
25
+ <p *ngIf="!props.bold" [ngClass]="[props.thin, props.size]">
26
+ {{ props.content }}
27
+ </p>
23
28
  <b *ngIf="props.bold">
24
29
  <p [class]="props.size">{{ props.content }}</p>
25
30
  </b>
@@ -28,4 +33,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
28
33
  }], ctorParameters: () => [], propDecorators: { props: [{
29
34
  type: Input
30
35
  }] } });
31
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWx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qbmdJZj1cInByb3BzLmJvbGRcIj5cbiAgICAgICAgPHAgW2NsYXNzXT1cInByb3BzLnNpemVcIj57eyBwcm9wcy5jb250ZW50IH19PC9wPlxuICAgICAgPC9iPlxuICAgIDwvaW9uLXRleHQ+XG4gIGAsXG4gIHN0eWxlVXJsczogWycuL3RpdGxlLmNvbXBvbmVudC5zY3NzJ10sXG59KVxuZXhwb3J0IGNsYXNzIFRpdGxlQ29tcG9uZW50IGltcGxlbWVudHMgT25Jbml0IHtcbiAgQElucHV0KClcbiAgcHJvcHM6IFRpdGxlTWV0YWRhdGE7XG5cbiAgY29uc3RydWN0b3IoKSB7fVxuXG4gIG5nT25Jbml0KCkge31cbn1cbiJdfQ==
@@ -799,18 +799,22 @@ class TitleComponent {
799
799
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
800
800
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: TitleComponent, isStandalone: true, selector: "val-title", inputs: { props: "props" }, ngImport: i0, template: `
801
801
  <ion-text [color]="props.color">
802
- <p *ngIf="!props.bold" [class]="props.size" [class]="props.thin">{{ props.content }}</p>
802
+ <p *ngIf="!props.bold" [ngClass]="[props.thin, props.size]">
803
+ {{ props.content }}
804
+ </p>
803
805
  <b *ngIf="props.bold">
804
806
  <p [class]="props.size">{{ props.content }}</p>
805
807
  </b>
806
808
  </ion-text>
807
- `, isInline: true, styles: [".small{font-size:.875rem;line-height:1.5rem;font-weight:700}@media (min-width: 768px){.small{font-size:1rem;line-height:1.5rem}}.small.thin{font-weight:500}.medium{font-size:1rem;line-height:1.5rem;font-weight:700}@media (min-width: 768px){.medium{font-size:1.125rem;line-height:1.5rem}}.large{font-size:1.125rem;line-height:1.5rem;font-weight:700}@media (min-width: 768px){.large{font-size:1.5rem;line-height:2rem}}.xlarge{font-size:1.125rem;line-height:1.5rem;font-weight:700}@media (min-width: 768px){.xlarge{font-size:1.5rem;line-height:2rem}}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IonText, selector: "ion-text", inputs: ["color", "mode"] }] }); }
809
+ `, isInline: true, styles: [".small{font-size:.875rem;line-height:1.5rem;font-weight:700}@media (min-width: 768px){.small{font-size:1rem;line-height:1.5rem}}.small.thin{font-weight:500}.medium{font-size:1rem;line-height:1.5rem;font-weight:700}@media (min-width: 768px){.medium{font-size:1.125rem;line-height:1.5rem}}.large{font-size:1.125rem;line-height:1.5rem;font-weight:700}@media (min-width: 768px){.large{font-size:1.5rem;line-height:2rem}}.xlarge{font-size:1.125rem;line-height:1.5rem;font-weight:700}@media (min-width: 768px){.xlarge{font-size:1.5rem;line-height:2rem}}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IonText, selector: "ion-text", inputs: ["color", "mode"] }] }); }
808
810
  }
809
811
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TitleComponent, decorators: [{
810
812
  type: Component,
811
- args: [{ selector: 'val-title', standalone: true, imports: [NgIf, IonText], template: `
813
+ args: [{ selector: 'val-title', standalone: true, imports: [CommonModule, NgIf, IonText], template: `
812
814
  <ion-text [color]="props.color">
813
- <p *ngIf="!props.bold" [class]="props.size" [class]="props.thin">{{ props.content }}</p>
815
+ <p *ngIf="!props.bold" [ngClass]="[props.thin, props.size]">
816
+ {{ props.content }}
817
+ </p>
814
818
  <b *ngIf="props.bold">
815
819
  <p [class]="props.size">{{ props.content }}</p>
816
820
  </b>