@kris701/ez-ui 1.3.16 → 1.3.17

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.
@@ -4359,8 +4359,8 @@ class EzUIShowMoreText {
4359
4359
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.1.0", ngImport: i0, type: EzUIShowMoreText, deps: [], target: i0.ɵɵFactoryTarget.Component });
4360
4360
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.1.0", type: EzUIShowMoreText, isStandalone: true, selector: "ezui-showmoretext", inputs: { value: "value", maxCharacters: "maxCharacters" }, usesOnChanges: true, ngImport: i0, template: `
4361
4361
  <tui-elastic-container>
4362
- <div [innerHTML]="current()"></div>
4363
4362
  @if(value.length > maxCharacters){
4363
+ <div [innerHTML]="current()"></div>
4364
4364
  <button
4365
4365
  tuiLink
4366
4366
  type="button"
@@ -4369,6 +4369,9 @@ class EzUIShowMoreText {
4369
4369
  Show {{ current() === value ? 'less' : 'more' }}
4370
4370
  </button>
4371
4371
  }
4372
+ @else {
4373
+ <div [innerHTML]="value"></div>
4374
+ }
4372
4375
  </tui-elastic-container>
4373
4376
  `, isInline: true, styles: [""], dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: CommonModule }, { kind: "component", type: TuiElasticContainer, selector: "tui-elastic-container" }, { kind: "directive", type: TuiLink, selector: "a[tuiLink], button[tuiLink]" }] });
4374
4377
  }
@@ -4381,8 +4384,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.0", ngImpor
4381
4384
  TuiLink
4382
4385
  ], template: `
4383
4386
  <tui-elastic-container>
4384
- <div [innerHTML]="current()"></div>
4385
4387
  @if(value.length > maxCharacters){
4388
+ <div [innerHTML]="current()"></div>
4386
4389
  <button
4387
4390
  tuiLink
4388
4391
  type="button"
@@ -4391,6 +4394,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.0", ngImpor
4391
4394
  Show {{ current() === value ? 'less' : 'more' }}
4392
4395
  </button>
4393
4396
  }
4397
+ @else {
4398
+ <div [innerHTML]="value"></div>
4399
+ }
4394
4400
  </tui-elastic-container>
4395
4401
  ` }]
4396
4402
  }], propDecorators: { value: [{