@elderbyte/ngx-starter 17.3.2 → 17.3.4

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.
@@ -11355,15 +11355,6 @@ class CardStack {
11355
11355
 
11356
11356
  class ElderPaddingDirective {
11357
11357
  constructor() {
11358
- /*
11359
- @HostBinding('style.padding.px')
11360
- hostPadding = '10';
11361
-
11362
- @Input('elderPadding')
11363
- public set padding(padding: string) {
11364
- this.hostPadding = padding;
11365
- }
11366
- */
11367
11358
  this.padding = '8px';
11368
11359
  }
11369
11360
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.3", ngImport: i0, type: ElderPaddingDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
@@ -11385,37 +11376,45 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.3", ngImpor
11385
11376
  * Title of a card, needed as it's used as a selector in the API.
11386
11377
  */
11387
11378
  class ElderCardTitleDirective {
11379
+ constructor() {
11380
+ this.classTitle = true;
11381
+ this.classCardTitle = true;
11382
+ }
11388
11383
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.3", ngImport: i0, type: ElderCardTitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
11389
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.2.3", type: ElderCardTitleDirective, selector: "elder-card-title, [elder-card-title], [elderCardTitle]", host: { classAttribute: "mat-subtitle-1 elder-card-title" }, ngImport: i0 }); }
11384
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.2.3", type: ElderCardTitleDirective, selector: "elder-card-title, [elder-card-title], [elderCardTitle]", host: { properties: { "class.mat-subtitle-1": "this.classTitle", "class.elder-card-title": "this.classCardTitle" } }, ngImport: i0 }); }
11390
11385
  }
11391
11386
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.3", ngImport: i0, type: ElderCardTitleDirective, decorators: [{
11392
11387
  type: Directive,
11393
11388
  args: [{
11394
- selector: `elder-card-title, [elder-card-title], [elderCardTitle]`,
11395
- host: {
11396
- 'class': 'mat-subtitle-1 elder-card-title'
11397
- }
11389
+ selector: `elder-card-title, [elder-card-title], [elderCardTitle]`
11398
11390
  }]
11399
- }] });
11391
+ }], propDecorators: { classTitle: [{
11392
+ type: HostBinding,
11393
+ args: ['class.mat-subtitle-1']
11394
+ }], classCardTitle: [{
11395
+ type: HostBinding,
11396
+ args: ['class.elder-card-title']
11397
+ }] } });
11400
11398
  /**
11401
11399
  * Content of a card, needed as it's used as a selector in the API.
11402
11400
  */
11403
11401
  class ElderCardContentDirective {
11404
11402
  constructor() {
11403
+ this.classCardContent = true;
11405
11404
  this.padding = '4px 12px 4px 12px';
11406
11405
  }
11407
11406
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.3", ngImport: i0, type: ElderCardContentDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
11408
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.2.3", type: ElderCardContentDirective, selector: "elder-card-content, [elder-card-content], [elderCardContent]", inputs: { padding: "padding" }, host: { properties: { "style.padding": "this.padding" }, classAttribute: "elder-card-content" }, ngImport: i0 }); }
11407
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.2.3", type: ElderCardContentDirective, selector: "elder-card-content, [elder-card-content], [elderCardContent]", inputs: { padding: "padding" }, host: { properties: { "class.elder-card-content": "this.classCardContent", "style.padding": "this.padding" } }, ngImport: i0 }); }
11409
11408
  }
11410
11409
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.3", ngImport: i0, type: ElderCardContentDirective, decorators: [{
11411
11410
  type: Directive,
11412
11411
  args: [{
11413
- selector: `elder-card-content, [elder-card-content], [elderCardContent]`,
11414
- host: {
11415
- 'class': 'elder-card-content'
11416
- }
11412
+ selector: `elder-card-content, [elder-card-content], [elderCardContent]`
11417
11413
  }]
11418
- }], propDecorators: { padding: [{
11414
+ }], propDecorators: { classCardContent: [{
11415
+ type: HostBinding,
11416
+ args: ['class.elder-card-content']
11417
+ }], padding: [{
11419
11418
  type: Input
11420
11419
  }, {
11421
11420
  type: HostBinding,
@@ -11425,41 +11424,53 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.3", ngImpor
11425
11424
  * Actions in the right top corner, needed as it's used as a selector in the API.
11426
11425
  */
11427
11426
  class ElderCardHeaderActionsDirective {
11427
+ constructor() {
11428
+ this.classHeaderActions = true;
11429
+ }
11428
11430
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.3", ngImport: i0, type: ElderCardHeaderActionsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
11429
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.2.3", type: ElderCardHeaderActionsDirective, selector: "elder-card-header-actions, [elder-card-header-actions], [elderCardHeaderActions]", host: { classAttribute: "elder-card-header-actions" }, ngImport: i0 }); }
11431
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.2.3", type: ElderCardHeaderActionsDirective, selector: "elder-card-header-actions, [elder-card-header-actions], [elderCardHeaderActions]", host: { properties: { "class.elder-card-header-actions": "this.classHeaderActions" } }, ngImport: i0 }); }
11430
11432
  }
11431
11433
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.3", ngImport: i0, type: ElderCardHeaderActionsDirective, decorators: [{
11432
11434
  type: Directive,
11433
11435
  args: [{
11434
- selector: `elder-card-header-actions, [elder-card-header-actions], [elderCardHeaderActions]`,
11435
- host: {
11436
- 'class': 'elder-card-header-actions'
11437
- }
11436
+ selector: `elder-card-header-actions, [elder-card-header-actions], [elderCardHeaderActions]`
11438
11437
  }]
11439
- }] });
11438
+ }], propDecorators: { classHeaderActions: [{
11439
+ type: HostBinding,
11440
+ args: ['class.elder-card-header-actions']
11441
+ }] } });
11440
11442
  /**
11441
11443
  * Subsection title
11442
11444
  */
11443
11445
  class ElderCardSubtitleDirective {
11446
+ constructor() {
11447
+ this.classSubtitle = true;
11448
+ this.classCardSubtitle = true;
11449
+ }
11444
11450
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.3", ngImport: i0, type: ElderCardSubtitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
11445
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.2.3", type: ElderCardSubtitleDirective, selector: "elder-card-subtitle, [elder-card-subtitle], [elderCardSubtitle]", host: { classAttribute: "mat-subtitle-1 elder-card-subtitle" }, ngImport: i0 }); }
11451
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.2.3", type: ElderCardSubtitleDirective, selector: "elder-card-subtitle, [elder-card-subtitle], [elderCardSubtitle]", host: { properties: { "class.mat-subtitle-1": "this.classSubtitle", "class.elder-card-subtitle": "this.classCardSubtitle" } }, ngImport: i0 }); }
11446
11452
  }
11447
11453
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.3", ngImport: i0, type: ElderCardSubtitleDirective, decorators: [{
11448
11454
  type: Directive,
11449
11455
  args: [{
11450
- selector: `elder-card-subtitle, [elder-card-subtitle], [elderCardSubtitle]`,
11451
- host: {
11452
- 'class': 'mat-subtitle-1 elder-card-subtitle'
11453
- }
11456
+ selector: `elder-card-subtitle, [elder-card-subtitle], [elderCardSubtitle]`
11454
11457
  }]
11455
- }] });
11458
+ }], propDecorators: { classSubtitle: [{
11459
+ type: HostBinding,
11460
+ args: ['class.mat-subtitle-1']
11461
+ }], classCardSubtitle: [{
11462
+ type: HostBinding,
11463
+ args: ['class.elder-card-subtitle']
11464
+ }] } });
11456
11465
  class ElderCardComponent {
11457
11466
  /***************************************************************************
11458
11467
  * *
11459
11468
  * Constructor *
11460
11469
  * *
11461
11470
  **************************************************************************/
11462
- constructor() { }
11471
+ constructor() {
11472
+ this.classCardHost = true;
11473
+ }
11463
11474
  /***************************************************************************
11464
11475
  * *
11465
11476
  * Properties *
@@ -11468,6 +11479,9 @@ class ElderCardComponent {
11468
11479
  get appearance() {
11469
11480
  return this._appearance;
11470
11481
  }
11482
+ set appearance(appearance) {
11483
+ this._appearance = appearance;
11484
+ }
11471
11485
  /**
11472
11486
  * @deprecated Switch to appearance="raised"
11473
11487
  */
@@ -11481,12 +11495,15 @@ class ElderCardComponent {
11481
11495
  this._appearance = coerceBooleanProperty(value) ? 'outlined' : 'raised';
11482
11496
  }
11483
11497
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.2.3", ngImport: i0, type: ElderCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
11484
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.3", type: ElderCardComponent, selector: "elder-card", inputs: { appearance: "appearance", float: "float", flat: "flat" }, host: { classAttribute: "elder-card-host" }, ngImport: i0, template: "<mat-card\n class=\"full mat-typography\"\n [appearance]=\"appearance\"\n>\n <!-- If one does not want to use predefined card-sections. -->\n <ng-content></ng-content>\n\n <!-- Card Header -->\n <ng-content select=\"elder-card-header\"></ng-content>\n\n <!-- Card Content -->\n <ng-content select=\"elder-card-content\"></ng-content>\n</mat-card>\n", styles: [".elder-card-host{display:flex;flex-direction:column;box-sizing:border-box;min-width:0;min-height:0}.elder-card-content{overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;display:flex;flex:1}\n"], dependencies: [{ kind: "component", type: i17.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
11498
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.2.3", type: ElderCardComponent, selector: "elder-card", inputs: { appearance: "appearance", float: "float", flat: "flat" }, host: { properties: { "class.elder-card-host": "this.classCardHost" } }, ngImport: i0, template: "<mat-card\n class=\"full mat-typography\"\n [appearance]=\"appearance\"\n>\n <!-- If one does not want to use predefined card-sections. -->\n <ng-content></ng-content>\n\n <!-- Card Header -->\n <ng-content select=\"elder-card-header\"></ng-content>\n\n <!-- Card Content -->\n <ng-content select=\"elder-card-content\"></ng-content>\n</mat-card>\n", styles: [".elder-card-host{display:flex;flex-direction:column;box-sizing:border-box;min-width:0;min-height:0}.elder-card-content{overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;display:flex;flex:1}\n"], dependencies: [{ kind: "component", type: i17.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
11485
11499
  }
11486
11500
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.2.3", ngImport: i0, type: ElderCardComponent, decorators: [{
11487
11501
  type: Component,
11488
- args: [{ selector: 'elder-card', encapsulation: ViewEncapsulation.None, host: { 'class': 'elder-card-host' }, changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-card\n class=\"full mat-typography\"\n [appearance]=\"appearance\"\n>\n <!-- If one does not want to use predefined card-sections. -->\n <ng-content></ng-content>\n\n <!-- Card Header -->\n <ng-content select=\"elder-card-header\"></ng-content>\n\n <!-- Card Content -->\n <ng-content select=\"elder-card-content\"></ng-content>\n</mat-card>\n", styles: [".elder-card-host{display:flex;flex-direction:column;box-sizing:border-box;min-width:0;min-height:0}.elder-card-content{overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;display:flex;flex:1}\n"] }]
11489
- }], ctorParameters: () => [], propDecorators: { appearance: [{
11502
+ args: [{ selector: 'elder-card', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<mat-card\n class=\"full mat-typography\"\n [appearance]=\"appearance\"\n>\n <!-- If one does not want to use predefined card-sections. -->\n <ng-content></ng-content>\n\n <!-- Card Header -->\n <ng-content select=\"elder-card-header\"></ng-content>\n\n <!-- Card Content -->\n <ng-content select=\"elder-card-content\"></ng-content>\n</mat-card>\n", styles: [".elder-card-host{display:flex;flex-direction:column;box-sizing:border-box;min-width:0;min-height:0}.elder-card-content{overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;display:flex;flex:1}\n"] }]
11503
+ }], ctorParameters: () => [], propDecorators: { classCardHost: [{
11504
+ type: HostBinding,
11505
+ args: ['class.elder-card-host']
11506
+ }], appearance: [{
11490
11507
  type: Input
11491
11508
  }], float: [{
11492
11509
  type: Input