@craftsjs/card 6.0.0 → 7.0.0

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.
Files changed (31) hide show
  1. package/README.md +40 -14
  2. package/_craftsjs-card.theme.scss +19 -12
  3. package/fesm2022/craftsjs-card.mjs +122 -120
  4. package/fesm2022/craftsjs-card.mjs.map +1 -1
  5. package/lib/card.component.d.ts +1 -1
  6. package/lib/card.module.d.ts +8 -9
  7. package/lib/components/card-header/card-header.component.d.ts +1 -1
  8. package/lib/components/card-header/components/card-header-linear/card-header-linear.component.d.ts +1 -1
  9. package/lib/components/card-header/components/card-header-oval/card-header-oval.component.d.ts +1 -1
  10. package/lib/directives/card-body.directive.d.ts +1 -1
  11. package/lib/directives/card-divider.directive.d.ts +1 -1
  12. package/lib/directives/card-footer.directive.d.ts +1 -1
  13. package/lib/directives/card-header-mark.directive.d.ts +1 -1
  14. package/lib/directives/card-header-subtitle.directive.d.ts +1 -1
  15. package/lib/directives/card-title.directive.d.ts +1 -1
  16. package/package.json +10 -9
  17. package/public-api.d.ts +1 -1
  18. package/esm2022/craftsjs-card.mjs +0 -5
  19. package/esm2022/lib/card.component.mjs +0 -11
  20. package/esm2022/lib/card.module.mjs +0 -69
  21. package/esm2022/lib/components/card-header/card-header.component.mjs +0 -15
  22. package/esm2022/lib/components/card-header/components/card-header-linear/card-header-linear.component.mjs +0 -13
  23. package/esm2022/lib/components/card-header/components/card-header-oval/card-header-oval.component.mjs +0 -23
  24. package/esm2022/lib/directives/card-body.directive.mjs +0 -14
  25. package/esm2022/lib/directives/card-divider.directive.mjs +0 -16
  26. package/esm2022/lib/directives/card-footer.directive.mjs +0 -14
  27. package/esm2022/lib/directives/card-header-mark.directive.mjs +0 -16
  28. package/esm2022/lib/directives/card-header-subtitle.directive.mjs +0 -16
  29. package/esm2022/lib/directives/card-title.directive.mjs +0 -14
  30. package/esm2022/lib/mixins/color.mjs +0 -23
  31. package/esm2022/public-api.mjs +0 -13
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # ADDAPPTABLES card
1
+ # craftsjs card
2
2
 
3
- Craftsjs card is a library for angular
3
+ CraftsJS Card components and directives for Angular.
4
4
 
5
5
  [See demo](http://addapptables.com/admin/components/cards)
6
6
 
@@ -13,6 +13,8 @@ Choose the version corresponding to your Angular version:
13
13
 
14
14
  Angular | @craftsjs/card
15
15
  ----------- | -------------------
16
+ 19 | 7.x
17
+ 18 | 6.x
16
18
  15 | 5.x
17
19
  13 | 4.x
18
20
  12 | 3.x
@@ -23,26 +25,49 @@ Choose the version corresponding to your Angular version:
23
25
  npm i @craftsjs/card --S
24
26
  ```
25
27
 
28
+ ## Compatibility
29
+
30
+ Current version: 7.0.0 (Compatible with Angular v19)
31
+
26
32
  Install peer dependencies
27
33
 
28
34
  ```
29
- npm i
30
- @craftsjs/core
31
- @angular/material
32
- @angular/animations
33
- @angular/cdk --S
35
+ npm i @craftsjs/core @angular/material @angular/animations @angular/cdk --S
34
36
  ```
35
37
 
36
- ## How to use
38
+ ## How to use (standalone, Angular 15+/18)
37
39
 
38
- - Import the module CardModule
40
+ - Import the standalone components and directives where you use them:
39
41
 
40
42
  ```typescript
41
- import { CardModule } from '@craftsjs/card';
42
- @NgModule({
43
- imports: [CardModule]
43
+ import { Component } from '@angular/core';
44
+ import {
45
+ CardComponent,
46
+ CardHeaderComponent,
47
+ CardHeaderLinearComponent,
48
+ CardHeaderOvalComponent,
49
+ CardBodyDirective,
50
+ CardTitleDirective
51
+ } from '@craftsjs/card';
52
+ import { MatIconModule } from '@angular/material/icon';
53
+ import { MatDividerModule } from '@angular/material/divider';
54
+
55
+ @Component({
56
+ selector: 'app-card-demo',
57
+ standalone: true,
58
+ imports: [
59
+ CardComponent,
60
+ CardHeaderComponent,
61
+ CardHeaderLinearComponent,
62
+ CardHeaderOvalComponent,
63
+ CardBodyDirective,
64
+ CardTitleDirective,
65
+ MatIconModule,
66
+ MatDividerModule
67
+ ],
68
+ templateUrl: './card-demo.component.html'
44
69
  })
45
- export class YourModule { }
70
+ export class CardDemoComponent {}
46
71
  ```
47
72
 
48
73
  simple card
@@ -80,7 +105,7 @@ Oval card
80
105
  </craftsjs-card>
81
106
  ```
82
107
 
83
- - Finally, it is important to import the styles to the application
108
+ - Finally, import the styles into your application
84
109
 
85
110
  ```scss
86
111
  @import '~@craftsjs/core/craftsjs-grid.theme';
@@ -109,6 +134,7 @@ body.theme-default {
109
134
  ```
110
135
 
111
136
  - Do not forget to put the theme-default class in the html body
137
+ and ensure Angular Material animations are provided (e.g., in main.ts: provideAnimations()).
112
138
 
113
139
  ```html
114
140
  <body class="theme-default"></body>
@@ -1,3 +1,4 @@
1
+ @use '@angular/material' as mat;
1
2
  @mixin box_shadow_header_color($color) {
2
3
  box-shadow: 0 4px 20px 0 rgba(0,0,0,.14), 0 7px 10px -5px $color
3
4
  }
@@ -49,9 +50,11 @@
49
50
 
50
51
  @mixin card($theme, $variables) {
51
52
 
52
- $accent: map-get($theme, accent);
53
- $background: map-get($theme, background);
54
- $foreground: map-get($theme, foreground);
53
+ // Extract Material color config from the provided $theme (M2)
54
+ $color-config: mat.m2-get-color-config($theme);
55
+ $accent: map-get($color-config, accent);
56
+ $background: map-get($color-config, background);
57
+ $foreground: map-get($color-config, foreground);
55
58
 
56
59
  //card
57
60
  $card-padding: 12px 0;
@@ -64,9 +67,10 @@
64
67
  $card-header-margin: -20px 15px 0 16px;
65
68
  $card-header-padding: 20px;
66
69
  $card-title-font-weight: 500;
67
- $card-header-box-shadow: 0 4px 20px 0 rgba(0, 0, 0, .14), 0 7px 10px -5px map-get($accent, 'default');
70
+ $accent-hue: default;
71
+ $card-header-box-shadow: 0 4px 20px 0 rgba(0, 0, 0, .14), 0 7px 10px -5px mat.m2-get-color-from-palette($accent, $accent-hue);
68
72
  $card-header-icon-margin-right: 10px;
69
- $background-color-header: map-get($accent, 'default');
73
+ $background-color-header: mat.m2-get-color-from-palette($accent, $accent-hue);
70
74
 
71
75
  // body
72
76
  $card-body-padding: 12px 20px 20px;
@@ -87,7 +91,7 @@
87
91
  &-header {
88
92
  &-oval {
89
93
  background-color: $background-color-header;
90
- color: map-get($variables, text);
94
+ color: mat.m2-get-color-from-palette($accent, default-contrast);
91
95
  padding: 20px 15px;
92
96
  margin: $card-header-margin;
93
97
  border-radius: map-get($variables, border-radius);
@@ -140,19 +144,22 @@
140
144
 
141
145
  @mixin card-color($theme) {
142
146
 
143
- $accent: map-get($theme, accent);
144
- $background: map-get($theme, background);
145
- $foreground: map-get($theme, foreground);
147
+ // Extract Material color config from the provided $theme (M2)
148
+ $color-config: mat.m2-get-color-config($theme);
149
+ $accent: map-get($color-config, accent);
150
+ $background: map-get($color-config, background);
151
+ $foreground: map-get($color-config, foreground);
146
152
 
147
- $background-color-header: map-get($accent, 'default');
148
- $card-header-box-shadow: 0 4px 20px 0 rgba(0, 0, 0, .14), 0 7px 10px -5px map-get($accent, 'default');
153
+ $accent-hue: default;
154
+ $background-color-header: mat.m2-get-color-from-palette($accent, $accent-hue);
155
+ $card-header-box-shadow: 0 4px 20px 0 rgba(0, 0, 0, .14), 0 7px 10px -5px mat.m2-get-color-from-palette($accent, $accent-hue);
149
156
 
150
157
  .card {
151
158
  background: map-get($background, 'card');
152
159
  &-header {
153
160
  &-oval {
154
161
  background-color: $background-color-header;
155
- color: map-get($foreground, 'text');
162
+ color: var(--mat-sys-on-primary-container);
156
163
  box-shadow: $card-header-box-shadow;
157
164
  }
158
165
  }
@@ -1,213 +1,215 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { ChangeDetectionStrategy, ViewEncapsulation, Component, Input, Directive, NgModule } from '@angular/core';
3
- import { CommonModule } from '@angular/common';
4
3
 
5
4
  class CardComponent {
6
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
7
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: CardComponent, selector: "craftsjs-card", host: { classAttribute: "card" }, ngImport: i0, template: "<ng-content></ng-content>\r\n<ng-content select=\"card-footer\"></ng-content>", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
5
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
6
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: CardComponent, isStandalone: true, selector: "craftsjs-card", host: { classAttribute: "card" }, ngImport: i0, template: "<ng-content></ng-content>\r\n<ng-content select=\"card-footer\"></ng-content>", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
8
7
  }
9
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CardComponent, decorators: [{
8
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CardComponent, decorators: [{
10
9
  type: Component,
11
- args: [{ selector: 'craftsjs-card', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'card' }, template: "<ng-content></ng-content>\r\n<ng-content select=\"card-footer\"></ng-content>" }]
10
+ args: [{ selector: 'craftsjs-card', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'card' }, standalone: true, template: "<ng-content></ng-content>\r\n<ng-content select=\"card-footer\"></ng-content>" }]
12
11
  }] });
13
12
 
14
13
  class CardHeaderComponent {
15
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CardHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
16
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: CardHeaderComponent, selector: "card-header", inputs: { color: "color", classHeaderTitle: "classHeaderTitle" }, host: { classAttribute: "d-flex flex-row flex-wrap card-header" }, ngImport: i0, template: "<ng-content select=\"card-header-oval\"></ng-content>\r\n<ng-content select=\"card-header-linear\"></ng-content>\r\n<div class=\"card-header-subtitle d-flex flex-column\">\r\n <ng-content select=\"card-header-mark\"></ng-content>\r\n <ng-content select=\"card-header-subtitle\"></ng-content>\r\n</div>", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
14
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CardHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
15
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: CardHeaderComponent, isStandalone: true, selector: "card-header", inputs: { color: "color", classHeaderTitle: "classHeaderTitle" }, host: { classAttribute: "d-flex flex-row flex-wrap card-header" }, ngImport: i0, template: "<ng-content select=\"card-header-oval\"></ng-content>\r\n<ng-content select=\"card-header-linear\"></ng-content>\r\n<div class=\"card-header-subtitle d-flex flex-column\">\r\n <ng-content select=\"card-header-mark\"></ng-content>\r\n <ng-content select=\"card-header-subtitle\"></ng-content>\r\n</div>", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
17
16
  }
18
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CardHeaderComponent, decorators: [{
17
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CardHeaderComponent, decorators: [{
19
18
  type: Component,
20
19
  args: [{ selector: 'card-header', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, inputs: ['color'], host: {
21
20
  class: 'd-flex flex-row flex-wrap card-header'
22
- }, template: "<ng-content select=\"card-header-oval\"></ng-content>\r\n<ng-content select=\"card-header-linear\"></ng-content>\r\n<div class=\"card-header-subtitle d-flex flex-column\">\r\n <ng-content select=\"card-header-mark\"></ng-content>\r\n <ng-content select=\"card-header-subtitle\"></ng-content>\r\n</div>" }]
21
+ }, standalone: true, template: "<ng-content select=\"card-header-oval\"></ng-content>\r\n<ng-content select=\"card-header-linear\"></ng-content>\r\n<div class=\"card-header-subtitle d-flex flex-column\">\r\n <ng-content select=\"card-header-mark\"></ng-content>\r\n <ng-content select=\"card-header-subtitle\"></ng-content>\r\n</div>" }]
23
22
  }], propDecorators: { classHeaderTitle: [{
24
23
  type: Input
25
24
  }] } });
26
25
 
27
- class CardTitleDirective {
28
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CardTitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
29
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: CardTitleDirective, selector: "card-title, [card-title], [craftsjsCardTitle]", host: { classAttribute: "card-header-title" }, ngImport: i0 }); }
26
+ class CardHeaderLinearComponent {
27
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CardHeaderLinearComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
28
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: CardHeaderLinearComponent, isStandalone: true, selector: "card-header-linear", host: { classAttribute: "card-header-linear d-flex" }, ngImport: i0, template: "<ng-content select=\"card-title\"></ng-content>", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
30
29
  }
31
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CardTitleDirective, decorators: [{
32
- type: Directive,
33
- args: [{
34
- selector: 'card-title, [card-title], [craftsjsCardTitle]',
35
- host: { class: 'card-header-title' }
36
- }]
30
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CardHeaderLinearComponent, decorators: [{
31
+ type: Component,
32
+ args: [{ selector: 'card-header-linear', host: {
33
+ class: 'card-header-linear d-flex'
34
+ }, changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, template: "<ng-content select=\"card-title\"></ng-content>" }]
37
35
  }] });
38
36
 
37
+ function mixinColor(base, defaultColor) {
38
+ return class extends base {
39
+ get color() { return this._color; }
40
+ set color(value) {
41
+ const colorPalette = value || defaultColor;
42
+ if (colorPalette !== this._color) {
43
+ if (this._color) {
44
+ this._elementRef.nativeElement.classList.remove(`${this._color}`);
45
+ }
46
+ if (colorPalette) {
47
+ this._elementRef.nativeElement.classList.add(`${colorPalette}`);
48
+ }
49
+ this._color = colorPalette;
50
+ }
51
+ }
52
+ constructor(...args) {
53
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-argument
54
+ super(...args);
55
+ this.color = defaultColor;
56
+ }
57
+ };
58
+ }
59
+
60
+ class CardHeaderOvalBase {
61
+ constructor(_elementRef) {
62
+ this._elementRef = _elementRef;
63
+ }
64
+ }
65
+ const _CardHeaderOvalMixinBase = mixinColor(CardHeaderOvalBase);
66
+ class CardHeaderOvalComponent extends _CardHeaderOvalMixinBase {
67
+ constructor(_elementRef) {
68
+ super(_elementRef);
69
+ }
70
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CardHeaderOvalComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
71
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.14", type: CardHeaderOvalComponent, isStandalone: true, selector: "card-header-oval", inputs: { color: "color" }, host: { classAttribute: "card-header-oval d-flex" }, usesInheritance: true, ngImport: i0, template: "<ng-content select=\"card-title\"></ng-content>", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
72
+ }
73
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CardHeaderOvalComponent, decorators: [{
74
+ type: Component,
75
+ args: [{ selector: 'card-header-oval', host: {
76
+ class: 'card-header-oval d-flex'
77
+ }, inputs: ['color'], changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, template: "<ng-content select=\"card-title\"></ng-content>" }]
78
+ }], ctorParameters: () => [{ type: i0.ElementRef }] });
79
+
39
80
  class CardBodyDirective {
40
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CardBodyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
41
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: CardBodyDirective, selector: "card-body, [card-body], [craftsjsCardBody]", host: { classAttribute: "card-body" }, ngImport: i0 }); }
81
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CardBodyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
82
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.14", type: CardBodyDirective, isStandalone: true, selector: "card-body, [card-body], [craftsjsCardBody]", host: { classAttribute: "card-body" }, ngImport: i0 }); }
42
83
  }
43
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CardBodyDirective, decorators: [{
84
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CardBodyDirective, decorators: [{
44
85
  type: Directive,
45
86
  args: [{
46
87
  selector: 'card-body, [card-body], [craftsjsCardBody]',
47
- host: { class: 'card-body' }
88
+ host: { class: 'card-body' },
89
+ standalone: true
48
90
  }]
49
91
  }] });
50
92
 
51
- class CardFooterDirective {
52
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CardFooterDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
53
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: CardFooterDirective, selector: "card-footer, [card-footer], [craftsjsCardFooter]", host: { classAttribute: "card-footer" }, ngImport: i0 }); }
93
+ class CardDividerDirective {
94
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CardDividerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
95
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.14", type: CardDividerDirective, isStandalone: true, selector: "card-divider, [card-divider], [craftsjsCardDivider]", host: { classAttribute: "card-divider" }, ngImport: i0 }); }
54
96
  }
55
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CardFooterDirective, decorators: [{
97
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CardDividerDirective, decorators: [{
56
98
  type: Directive,
57
99
  args: [{
58
- selector: 'card-footer, [card-footer], [craftsjsCardFooter]',
59
- host: { class: 'card-footer' }
100
+ selector: 'card-divider, [card-divider], [craftsjsCardDivider]',
101
+ host: {
102
+ class: 'card-divider'
103
+ },
104
+ standalone: true
60
105
  }]
61
106
  }] });
62
107
 
63
- class CardDividerDirective {
64
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CardDividerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
65
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: CardDividerDirective, selector: "card-divider, [card-divider], [craftsjsCardDivider]", host: { classAttribute: "card-divider" }, ngImport: i0 }); }
108
+ class CardFooterDirective {
109
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CardFooterDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
110
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.14", type: CardFooterDirective, isStandalone: true, selector: "card-footer, [card-footer], [craftsjsCardFooter]", host: { classAttribute: "card-footer" }, ngImport: i0 }); }
66
111
  }
67
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CardDividerDirective, decorators: [{
112
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CardFooterDirective, decorators: [{
68
113
  type: Directive,
69
114
  args: [{
70
- selector: 'card-divider, [card-divider], [craftsjsCardDivider]',
71
- host: {
72
- class: 'card-divider'
73
- }
115
+ selector: 'card-footer, [card-footer], [craftsjsCardFooter]',
116
+ host: { class: 'card-footer' },
117
+ standalone: true
74
118
  }]
75
119
  }] });
76
120
 
77
121
  class CardHeaderMarkDirective {
78
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CardHeaderMarkDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
79
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: CardHeaderMarkDirective, selector: "card-header-mark, [card-header-mark], [craftsjsCardHeaderMark]", host: { classAttribute: "card-header-subtitle-mark" }, ngImport: i0 }); }
122
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CardHeaderMarkDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
123
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.14", type: CardHeaderMarkDirective, isStandalone: true, selector: "card-header-mark, [card-header-mark], [craftsjsCardHeaderMark]", host: { classAttribute: "card-header-subtitle-mark" }, ngImport: i0 }); }
80
124
  }
81
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CardHeaderMarkDirective, decorators: [{
125
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CardHeaderMarkDirective, decorators: [{
82
126
  type: Directive,
83
127
  args: [{
84
128
  selector: 'card-header-mark, [card-header-mark], [craftsjsCardHeaderMark]',
85
129
  host: {
86
130
  class: 'card-header-subtitle-mark'
87
- }
131
+ },
132
+ standalone: true
88
133
  }]
89
134
  }] });
90
135
 
91
136
  class CardHeaderSubtitleDirective {
92
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CardHeaderSubtitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
93
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: CardHeaderSubtitleDirective, selector: "card-header-subtitle, [card-header-subtitle], [craftsjsCardHeaderSubtitle]", host: { classAttribute: "card-header-subtitle" }, ngImport: i0 }); }
137
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CardHeaderSubtitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
138
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.14", type: CardHeaderSubtitleDirective, isStandalone: true, selector: "card-header-subtitle, [card-header-subtitle], [craftsjsCardHeaderSubtitle]", host: { classAttribute: "card-header-subtitle" }, ngImport: i0 }); }
94
139
  }
95
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CardHeaderSubtitleDirective, decorators: [{
140
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CardHeaderSubtitleDirective, decorators: [{
96
141
  type: Directive,
97
142
  args: [{
98
143
  selector: 'card-header-subtitle, [card-header-subtitle], [craftsjsCardHeaderSubtitle]',
99
144
  host: {
100
145
  class: 'card-header-subtitle'
101
- }
146
+ },
147
+ standalone: true
102
148
  }]
103
149
  }] });
104
150
 
105
- function mixinColor(base, defaultColor) {
106
- return class extends base {
107
- get color() { return this._color; }
108
- set color(value) {
109
- const colorPalette = value || defaultColor;
110
- if (colorPalette !== this._color) {
111
- if (this._color) {
112
- this._elementRef.nativeElement.classList.remove(`${this._color}`);
113
- }
114
- if (colorPalette) {
115
- this._elementRef.nativeElement.classList.add(`${colorPalette}`);
116
- }
117
- this._color = colorPalette;
118
- }
119
- }
120
- constructor(...args) {
121
- // eslint-disable-next-line @typescript-eslint/no-unsafe-argument
122
- super(...args);
123
- this.color = defaultColor;
124
- }
125
- };
126
- }
127
-
128
- class CardHeaderOvalBase {
129
- constructor(_elementRef) {
130
- this._elementRef = _elementRef;
131
- }
132
- }
133
- const _CardHeaderOvalMixinBase = mixinColor(CardHeaderOvalBase);
134
- class CardHeaderOvalComponent extends _CardHeaderOvalMixinBase {
135
- constructor(_elementRef) {
136
- super(_elementRef);
137
- }
138
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CardHeaderOvalComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
139
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: CardHeaderOvalComponent, selector: "card-header-oval", inputs: { color: "color" }, host: { classAttribute: "card-header-oval d-flex" }, usesInheritance: true, ngImport: i0, template: "<ng-content select=\"card-title\"></ng-content>", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
140
- }
141
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CardHeaderOvalComponent, decorators: [{
142
- type: Component,
143
- args: [{ selector: 'card-header-oval', host: {
144
- class: 'card-header-oval d-flex'
145
- }, inputs: ['color'], changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content select=\"card-title\"></ng-content>" }]
146
- }], ctorParameters: () => [{ type: i0.ElementRef }] });
147
-
148
- class CardHeaderLinearComponent {
149
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CardHeaderLinearComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
150
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: CardHeaderLinearComponent, selector: "card-header-linear", host: { classAttribute: "card-header-linear d-flex" }, ngImport: i0, template: "<ng-content select=\"card-title\"></ng-content>", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
151
+ class CardTitleDirective {
152
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CardTitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
153
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.14", type: CardTitleDirective, isStandalone: true, selector: "card-title, [card-title], [craftsjsCardTitle]", host: { classAttribute: "card-header-title" }, ngImport: i0 }); }
151
154
  }
152
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CardHeaderLinearComponent, decorators: [{
153
- type: Component,
154
- args: [{ selector: 'card-header-linear', host: {
155
- class: 'card-header-linear d-flex'
156
- }, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content select=\"card-title\"></ng-content>" }]
155
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CardTitleDirective, decorators: [{
156
+ type: Directive,
157
+ args: [{
158
+ selector: 'card-title, [card-title], [craftsjsCardTitle]',
159
+ host: { class: 'card-header-title' },
160
+ standalone: true
161
+ }]
157
162
  }] });
158
163
 
159
164
  class CardModule {
160
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
161
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: CardModule, declarations: [CardComponent,
165
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
166
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.14", ngImport: i0, type: CardModule, imports: [CardComponent,
162
167
  CardHeaderComponent,
163
- CardTitleDirective,
168
+ CardHeaderLinearComponent,
169
+ CardHeaderOvalComponent,
164
170
  CardBodyDirective,
165
- CardFooterDirective,
166
171
  CardDividerDirective,
172
+ CardFooterDirective,
167
173
  CardHeaderMarkDirective,
168
174
  CardHeaderSubtitleDirective,
169
- CardHeaderOvalComponent,
170
- CardHeaderLinearComponent], imports: [CommonModule], exports: [CardComponent,
175
+ CardTitleDirective], exports: [CardComponent,
171
176
  CardHeaderComponent,
172
- CardTitleDirective,
177
+ CardHeaderLinearComponent,
178
+ CardHeaderOvalComponent,
173
179
  CardBodyDirective,
174
- CardFooterDirective,
175
180
  CardDividerDirective,
176
- CardHeaderSubtitleDirective,
181
+ CardFooterDirective,
177
182
  CardHeaderMarkDirective,
178
- CardHeaderOvalComponent,
179
- CardHeaderLinearComponent] }); }
180
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CardModule, imports: [CommonModule] }); }
183
+ CardHeaderSubtitleDirective,
184
+ CardTitleDirective] }); }
185
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CardModule }); }
181
186
  }
182
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CardModule, decorators: [{
187
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.14", ngImport: i0, type: CardModule, decorators: [{
183
188
  type: NgModule,
184
189
  args: [{
185
190
  imports: [
186
- CommonModule
187
- ],
188
- declarations: [
189
191
  CardComponent,
190
192
  CardHeaderComponent,
191
- CardTitleDirective,
193
+ CardHeaderLinearComponent,
194
+ CardHeaderOvalComponent,
192
195
  CardBodyDirective,
193
- CardFooterDirective,
194
196
  CardDividerDirective,
197
+ CardFooterDirective,
195
198
  CardHeaderMarkDirective,
196
199
  CardHeaderSubtitleDirective,
197
- CardHeaderOvalComponent,
198
- CardHeaderLinearComponent
200
+ CardTitleDirective
199
201
  ],
200
202
  exports: [
201
203
  CardComponent,
202
204
  CardHeaderComponent,
203
- CardTitleDirective,
205
+ CardHeaderLinearComponent,
206
+ CardHeaderOvalComponent,
204
207
  CardBodyDirective,
205
- CardFooterDirective,
206
208
  CardDividerDirective,
207
- CardHeaderSubtitleDirective,
209
+ CardFooterDirective,
208
210
  CardHeaderMarkDirective,
209
- CardHeaderOvalComponent,
210
- CardHeaderLinearComponent
211
+ CardHeaderSubtitleDirective,
212
+ CardTitleDirective
211
213
  ]
212
214
  }]
213
215
  }] });
@@ -1 +1 @@
1
- {"version":3,"file":"craftsjs-card.mjs","sources":["../../../../projects/craftsjs/card/src/lib/card.component.ts","../../../../projects/craftsjs/card/src/lib/card.component.html","../../../../projects/craftsjs/card/src/lib/components/card-header/card-header.component.ts","../../../../projects/craftsjs/card/src/lib/components/card-header/card-header.component.html","../../../../projects/craftsjs/card/src/lib/directives/card-title.directive.ts","../../../../projects/craftsjs/card/src/lib/directives/card-body.directive.ts","../../../../projects/craftsjs/card/src/lib/directives/card-footer.directive.ts","../../../../projects/craftsjs/card/src/lib/directives/card-divider.directive.ts","../../../../projects/craftsjs/card/src/lib/directives/card-header-mark.directive.ts","../../../../projects/craftsjs/card/src/lib/directives/card-header-subtitle.directive.ts","../../../../projects/craftsjs/card/src/lib/mixins/color.ts","../../../../projects/craftsjs/card/src/lib/components/card-header/components/card-header-oval/card-header-oval.component.ts","../../../../projects/craftsjs/card/src/lib/components/card-header/components/card-header-oval/card-header-oval.component.html","../../../../projects/craftsjs/card/src/lib/components/card-header/components/card-header-linear/card-header-linear.component.ts","../../../../projects/craftsjs/card/src/lib/components/card-header/components/card-header-linear/card-header-linear.component.html","../../../../projects/craftsjs/card/src/lib/card.module.ts","../../../../projects/craftsjs/card/src/craftsjs-card.ts"],"sourcesContent":["import { Component, ViewEncapsulation, ChangeDetectionStrategy } from '@angular/core';\r\n\r\n\r\n@Component({\r\n selector: 'craftsjs-card',\r\n templateUrl: './card.component.html',\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n host: { class: 'card' }\r\n})\r\nexport class CardComponent { }\r\n","<ng-content></ng-content>\r\n<ng-content select=\"card-footer\"></ng-content>","import { Component, ViewEncapsulation, ChangeDetectionStrategy, Input } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'card-header',\r\n templateUrl: './card-header.component.html',\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n inputs: ['color'],\r\n host: {\r\n class: 'd-flex flex-row flex-wrap card-header'\r\n }\r\n})\r\nexport class CardHeaderComponent {\r\n @Input()\r\n classHeaderTitle: string;\r\n}\r\n","<ng-content select=\"card-header-oval\"></ng-content>\r\n<ng-content select=\"card-header-linear\"></ng-content>\r\n<div class=\"card-header-subtitle d-flex flex-column\">\r\n <ng-content select=\"card-header-mark\"></ng-content>\r\n <ng-content select=\"card-header-subtitle\"></ng-content>\r\n</div>","import { Directive } from '@angular/core';\r\n\r\n@Directive({\r\n selector: 'card-title, [card-title], [craftsjsCardTitle]',\r\n host: { class: 'card-header-title' }\r\n})\r\nexport class CardTitleDirective { }\r\n","import { Directive } from '@angular/core';\r\n\r\n@Directive({\r\n selector: 'card-body, [card-body], [craftsjsCardBody]',\r\n host: { class: 'card-body' }\r\n})\r\nexport class CardBodyDirective { }\r\n","import { Directive } from '@angular/core';\r\n\r\n@Directive({\r\n selector: 'card-footer, [card-footer], [craftsjsCardFooter]',\r\n host: { class: 'card-footer' }\r\n})\r\nexport class CardFooterDirective { }\r\n","import { Directive } from '@angular/core';\r\n\r\n@Directive({\r\n selector: 'card-divider, [card-divider], [craftsjsCardDivider]',\r\n host: {\r\n class: 'card-divider'\r\n }\r\n})\r\nexport class CardDividerDirective { }\r\n","import { Directive } from '@angular/core';\r\n\r\n@Directive({\r\n selector: 'card-header-mark, [card-header-mark], [craftsjsCardHeaderMark]',\r\n host: {\r\n class: 'card-header-subtitle-mark'\r\n }\r\n})\r\nexport class CardHeaderMarkDirective { }\r\n","import { Directive } from '@angular/core';\r\n\r\n@Directive({\r\n selector: 'card-header-subtitle, [card-header-subtitle], [craftsjsCardHeaderSubtitle]',\r\n host: {\r\n class: 'card-header-subtitle'\r\n }\r\n})\r\nexport class CardHeaderSubtitleDirective { }\r\n","import { ElementRef } from '@angular/core';\r\n\r\n\r\nexport interface HasElementRef {\r\n _elementRef: ElementRef;\r\n}\r\n\r\nexport type Constructor<T> = new (...args: any[]) => T;\r\nexport function mixinColor<T extends Constructor<HasElementRef>>(\r\n base: T, defaultColor?: string): T {\r\n return class extends base {\r\n private _color: string;\r\n get color(): string { return this._color; }\r\n set color(value: string) {\r\n const colorPalette = value || defaultColor;\r\n if (colorPalette !== this._color) {\r\n if (this._color) {\r\n this._elementRef.nativeElement.classList.remove(`${this._color}`);\r\n }\r\n if (colorPalette) {\r\n this._elementRef.nativeElement.classList.add(`${colorPalette}`);\r\n }\r\n this._color = colorPalette;\r\n }\r\n }\r\n constructor(...args: any[]) {\r\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\r\n super(...args);\r\n this.color = defaultColor;\r\n }\r\n };\r\n}\r\n","import { Component, ElementRef, ChangeDetectionStrategy } from '@angular/core';\r\nimport { mixinColor } from '../../../../mixins/color';\r\n\r\nexport class CardHeaderOvalBase {\r\n constructor(public _elementRef: ElementRef) { }\r\n}\r\n\r\nexport const _CardHeaderOvalMixinBase:\r\n typeof CardHeaderOvalBase =\r\n mixinColor(CardHeaderOvalBase);\r\n\r\n@Component({\r\n selector: 'card-header-oval',\r\n templateUrl: './card-header-oval.component.html',\r\n styleUrls: ['./card-header-oval.component.scss'],\r\n host: {\r\n class: 'card-header-oval d-flex'\r\n },\r\n inputs: ['color'],\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class CardHeaderOvalComponent extends _CardHeaderOvalMixinBase {\r\n\r\n constructor(_elementRef: ElementRef) {\r\n super(_elementRef);\r\n }\r\n\r\n}\r\n","<ng-content select=\"card-title\"></ng-content>","import { Component, ChangeDetectionStrategy } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'card-header-linear',\r\n templateUrl: './card-header-linear.component.html',\r\n styleUrls: ['./card-header-linear.component.scss'],\r\n host: {\r\n class: 'card-header-linear d-flex'\r\n },\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class CardHeaderLinearComponent { }\r\n","<ng-content select=\"card-title\"></ng-content>","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { CardComponent } from './card.component';\r\nimport { CardHeaderComponent } from './components/card-header/card-header.component';\r\nimport { CardTitleDirective } from './directives/card-title.directive';\r\nimport { CardBodyDirective } from './directives/card-body.directive';\r\nimport { CardFooterDirective } from './directives/card-footer.directive';\r\nimport { CardDividerDirective } from './directives/card-divider.directive';\r\nimport { CardHeaderMarkDirective } from './directives/card-header-mark.directive';\r\nimport { CardHeaderSubtitleDirective } from './directives/card-header-subtitle.directive';\r\nimport { CardHeaderOvalComponent } from './components/card-header/components/card-header-oval/card-header-oval.component';\r\nimport { CardHeaderLinearComponent } from './components/card-header/components/card-header-linear/card-header-linear.component';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule\r\n ],\r\n declarations: [\r\n CardComponent,\r\n CardHeaderComponent,\r\n CardTitleDirective,\r\n CardBodyDirective,\r\n CardFooterDirective,\r\n CardDividerDirective,\r\n CardHeaderMarkDirective,\r\n CardHeaderSubtitleDirective,\r\n CardHeaderOvalComponent,\r\n CardHeaderLinearComponent\r\n ],\r\n exports: [\r\n CardComponent,\r\n CardHeaderComponent,\r\n CardTitleDirective,\r\n CardBodyDirective,\r\n CardFooterDirective,\r\n CardDividerDirective,\r\n CardHeaderSubtitleDirective,\r\n CardHeaderMarkDirective,\r\n CardHeaderOvalComponent,\r\n CardHeaderLinearComponent\r\n ]\r\n})\r\nexport class CardModule { }\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAUa,aAAa,CAAA;+GAAb,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAb,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,aAAa,uFCV1B,+EAC8C,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;;4FDSjC,aAAa,EAAA,UAAA,EAAA,CAAA;kBAPzB,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,eAAe,EAAA,aAAA,EAEV,iBAAiB,CAAC,IAAI,EAAA,eAAA,EACpB,uBAAuB,CAAC,MAAM,EAAA,IAAA,EACzC,EAAE,KAAK,EAAE,MAAM,EAAE,EAAA,QAAA,EAAA,+EAAA,EAAA;;;MEIZ,mBAAmB,CAAA;+GAAnB,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,C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AAY,CAAA,EAAA,OAAA,EAAA,CAeZ,aAAa;YACb,mBAAmB;YACnB,kBAAkB;YAClB,iBAAiB;YACjB,mBAAmB;YACnB,oBAAoB;YACpB,2BAA2B;YAC3B,uBAAuB;YACvB,uBAAuB;YACvB,yBAAyB,CAAA,EAAA,CAAA,CAAA;AAGhB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAU,YA3BnB,YAAY,CAAA,EAAA,CAAA,CAAA;;4FA2BH,UAAU,EAAA,UAAA,EAAA,CAAA;kBA7BtB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP;AACD,qBAAA;AACD,oBAAA,YAAY,EAAE;wBACZ,aAAa;wBACb,mBAAmB;wBACnB,kBAAkB;wBAClB,iBAAiB;wBACjB,mBAAmB;wBACnB,oBAAoB;wBACpB,uBAAuB;wBACvB,2BAA2B;wBAC3B,uBAAuB;wBACvB;AACD,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,aAAa;wBACb,mBAAmB;wBACnB,kBAAkB;wBAClB,iBAAiB;wBACjB,mBAAmB;wBACnB,oBAAoB;wBACpB,2BAA2B;wBAC3B,uBAAuB;wBACvB,uBAAuB;wBACvB;AACD;AACF,iBAAA;;;ACzCD;;AAEG;;;;"}
1
+ {"version":3,"file":"craftsjs-card.mjs","sources":["../../../../projects/craftsjs/card/src/lib/card.component.ts","../../../../projects/craftsjs/card/src/lib/card.component.html","../../../../projects/craftsjs/card/src/lib/components/card-header/card-header.component.ts","../../../../projects/craftsjs/card/src/lib/components/card-header/card-header.component.html","../../../../projects/craftsjs/card/src/lib/components/card-header/components/card-header-linear/card-header-linear.component.ts","../../../../projects/craftsjs/card/src/lib/components/card-header/components/card-header-linear/card-header-linear.component.html","../../../../projects/craftsjs/card/src/lib/mixins/color.ts","../../../../projects/craftsjs/card/src/lib/components/card-header/components/card-header-oval/card-header-oval.component.ts","../../../../projects/craftsjs/card/src/lib/components/card-header/components/card-header-oval/card-header-oval.component.html","../../../../projects/craftsjs/card/src/lib/directives/card-body.directive.ts","../../../../projects/craftsjs/card/src/lib/directives/card-divider.directive.ts","../../../../projects/craftsjs/card/src/lib/directives/card-footer.directive.ts","../../../../projects/craftsjs/card/src/lib/directives/card-header-mark.directive.ts","../../../../projects/craftsjs/card/src/lib/directives/card-header-subtitle.directive.ts","../../../../projects/craftsjs/card/src/lib/directives/card-title.directive.ts","../../../../projects/craftsjs/card/src/lib/card.module.ts","../../../../projects/craftsjs/card/src/craftsjs-card.ts"],"sourcesContent":["import { Component, ViewEncapsulation, ChangeDetectionStrategy } from '@angular/core';\r\n\r\n\r\n@Component({\r\n selector: 'craftsjs-card',\r\n templateUrl: './card.component.html',\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n host: { class: 'card' },\r\n standalone: true\r\n})\r\nexport class CardComponent { }\r\n","<ng-content></ng-content>\r\n<ng-content select=\"card-footer\"></ng-content>","import { Component, ViewEncapsulation, ChangeDetectionStrategy, Input } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'card-header',\r\n templateUrl: './card-header.component.html',\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n inputs: ['color'],\r\n host: {\r\n class: 'd-flex flex-row flex-wrap card-header'\r\n },\r\n standalone: true\r\n})\r\nexport class CardHeaderComponent {\r\n @Input()\r\n classHeaderTitle: string;\r\n}\r\n","<ng-content select=\"card-header-oval\"></ng-content>\r\n<ng-content select=\"card-header-linear\"></ng-content>\r\n<div class=\"card-header-subtitle d-flex flex-column\">\r\n <ng-content select=\"card-header-mark\"></ng-content>\r\n <ng-content select=\"card-header-subtitle\"></ng-content>\r\n</div>","import { Component, ChangeDetectionStrategy } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'card-header-linear',\r\n templateUrl: './card-header-linear.component.html',\r\n styleUrls: ['./card-header-linear.component.scss'],\r\n host: {\r\n class: 'card-header-linear d-flex'\r\n },\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n standalone: true\r\n})\r\nexport class CardHeaderLinearComponent { }\r\n","<ng-content select=\"card-title\"></ng-content>","import { ElementRef } from '@angular/core';\r\n\r\n\r\nexport interface HasElementRef {\r\n _elementRef: ElementRef;\r\n}\r\n\r\nexport type Constructor<T> = new (...args: any[]) => T;\r\nexport function mixinColor<T extends Constructor<HasElementRef>>(\r\n base: T, defaultColor?: string): T {\r\n return class extends base {\r\n private _color: string;\r\n get color(): string { return this._color; }\r\n set color(value: string) {\r\n const colorPalette = value || defaultColor;\r\n if (colorPalette !== this._color) {\r\n if (this._color) {\r\n this._elementRef.nativeElement.classList.remove(`${this._color}`);\r\n }\r\n if (colorPalette) {\r\n this._elementRef.nativeElement.classList.add(`${colorPalette}`);\r\n }\r\n this._color = colorPalette;\r\n }\r\n }\r\n constructor(...args: any[]) {\r\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\r\n super(...args);\r\n this.color = defaultColor;\r\n }\r\n };\r\n}\r\n","import { Component, ElementRef, ChangeDetectionStrategy } from '@angular/core';\r\nimport { mixinColor } from '../../../../mixins/color';\r\n\r\nexport class CardHeaderOvalBase {\r\n constructor(public _elementRef: ElementRef) { }\r\n}\r\n\r\nexport const _CardHeaderOvalMixinBase:\r\n typeof CardHeaderOvalBase =\r\n mixinColor(CardHeaderOvalBase);\r\n\r\n@Component({\r\n selector: 'card-header-oval',\r\n templateUrl: './card-header-oval.component.html',\r\n styleUrls: ['./card-header-oval.component.scss'],\r\n host: {\r\n class: 'card-header-oval d-flex'\r\n },\r\n inputs: ['color'],\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n standalone: true\r\n})\r\nexport class CardHeaderOvalComponent extends _CardHeaderOvalMixinBase {\r\n\r\n constructor(_elementRef: ElementRef) {\r\n super(_elementRef);\r\n }\r\n\r\n}\r\n","<ng-content select=\"card-title\"></ng-content>","import { Directive } from '@angular/core';\r\n\r\n@Directive({\r\n selector: 'card-body, [card-body], [craftsjsCardBody]',\r\n host: { class: 'card-body' },\r\n standalone: true\r\n})\r\nexport class CardBodyDirective { }\r\n","import { Directive } from '@angular/core';\r\n\r\n@Directive({\r\n selector: 'card-divider, [card-divider], [craftsjsCardDivider]',\r\n host: {\r\n class: 'card-divider'\r\n },\r\n standalone: true\r\n})\r\nexport class CardDividerDirective { }\r\n","import { Directive } from '@angular/core';\r\n\r\n@Directive({\r\n selector: 'card-footer, [card-footer], [craftsjsCardFooter]',\r\n host: { class: 'card-footer' },\r\n standalone: true\r\n})\r\nexport class CardFooterDirective { }\r\n","import { Directive } from '@angular/core';\r\n\r\n@Directive({\r\n selector: 'card-header-mark, [card-header-mark], [craftsjsCardHeaderMark]',\r\n host: {\r\n class: 'card-header-subtitle-mark'\r\n },\r\n standalone: true\r\n})\r\nexport class CardHeaderMarkDirective { }\r\n","import { Directive } from '@angular/core';\r\n\r\n@Directive({\r\n selector: 'card-header-subtitle, [card-header-subtitle], [craftsjsCardHeaderSubtitle]',\r\n host: {\r\n class: 'card-header-subtitle'\r\n },\r\n standalone: true\r\n})\r\nexport class CardHeaderSubtitleDirective { }\r\n","import { Directive } from '@angular/core';\r\n\r\n@Directive({\r\n selector: 'card-title, [card-title], [craftsjsCardTitle]',\r\n host: { class: 'card-header-title' },\r\n standalone: true\r\n})\r\nexport class CardTitleDirective { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CardComponent } from './card.component';\r\nimport { CardHeaderComponent } from './components/card-header/card-header.component';\r\nimport { CardHeaderLinearComponent } from './components/card-header/components/card-header-linear/card-header-linear.component';\r\nimport { CardHeaderOvalComponent } from './components/card-header/components/card-header-oval/card-header-oval.component';\r\nimport { CardBodyDirective } from './directives/card-body.directive';\r\nimport { CardDividerDirective } from './directives/card-divider.directive';\r\nimport { CardFooterDirective } from './directives/card-footer.directive';\r\nimport { CardHeaderMarkDirective } from './directives/card-header-mark.directive';\r\nimport { CardHeaderSubtitleDirective } from './directives/card-header-subtitle.directive';\r\nimport { CardTitleDirective } from './directives/card-title.directive';\r\n\r\n@NgModule({\r\n imports: [\r\n CardComponent,\r\n CardHeaderComponent,\r\n CardHeaderLinearComponent,\r\n CardHeaderOvalComponent,\r\n CardBodyDirective,\r\n CardDividerDirective,\r\n CardFooterDirective,\r\n CardHeaderMarkDirective,\r\n CardHeaderSubtitleDirective,\r\n CardTitleDirective\r\n ],\r\n exports: [\r\n CardComponent,\r\n CardHeaderComponent,\r\n CardHeaderLinearComponent,\r\n CardHeaderOvalComponent,\r\n CardBodyDirective,\r\n CardDividerDirective,\r\n CardFooterDirective,\r\n CardHeaderMarkDirective,\r\n CardHeaderSubtitleDirective,\r\n CardTitleDirective\r\n ]\r\n})\r\nexport class CardModule { }\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAWa,aAAa,CAAA;+GAAb,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAb,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,aAAa,2GCX1B,+EAC8C,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;;4FDUjC,aAAa,EAAA,UAAA,EAAA,CAAA;kBARzB,SAAS;AACI,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,eAAe,EAAA,aAAA,EAEV,iBAAiB,CAAC,IAAI,mBACpB,uBAAuB,CAAC,MAAM,EAAA,IAAA,EACzC,EAAE,KAAK,EAAE,MA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i0 from "@angular/core";
2
2
  export declare class CardComponent {
3
3
  static ɵfac: i0.ɵɵFactoryDeclaration<CardComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<CardComponent, "craftsjs-card", never, {}, {}, never, ["*", "card-footer"], false, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<CardComponent, "craftsjs-card", never, {}, {}, never, ["*", "card-footer"], true, never>;
5
5
  }
@@ -1,17 +1,16 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./card.component";
3
3
  import * as i2 from "./components/card-header/card-header.component";
4
- import * as i3 from "./directives/card-title.directive";
5
- import * as i4 from "./directives/card-body.directive";
6
- import * as i5 from "./directives/card-footer.directive";
4
+ import * as i3 from "./components/card-header/components/card-header-linear/card-header-linear.component";
5
+ import * as i4 from "./components/card-header/components/card-header-oval/card-header-oval.component";
6
+ import * as i5 from "./directives/card-body.directive";
7
7
  import * as i6 from "./directives/card-divider.directive";
8
- import * as i7 from "./directives/card-header-mark.directive";
9
- import * as i8 from "./directives/card-header-subtitle.directive";
10
- import * as i9 from "./components/card-header/components/card-header-oval/card-header-oval.component";
11
- import * as i10 from "./components/card-header/components/card-header-linear/card-header-linear.component";
12
- import * as i11 from "@angular/common";
8
+ import * as i7 from "./directives/card-footer.directive";
9
+ import * as i8 from "./directives/card-header-mark.directive";
10
+ import * as i9 from "./directives/card-header-subtitle.directive";
11
+ import * as i10 from "./directives/card-title.directive";
13
12
  export declare class CardModule {
14
13
  static ɵfac: i0.ɵɵFactoryDeclaration<CardModule, never>;
15
- static ɵmod: i0.ɵɵNgModuleDeclaration<CardModule, [typeof i1.CardComponent, typeof i2.CardHeaderComponent, typeof i3.CardTitleDirective, typeof i4.CardBodyDirective, typeof i5.CardFooterDirective, typeof i6.CardDividerDirective, typeof i7.CardHeaderMarkDirective, typeof i8.CardHeaderSubtitleDirective, typeof i9.CardHeaderOvalComponent, typeof i10.CardHeaderLinearComponent], [typeof i11.CommonModule], [typeof i1.CardComponent, typeof i2.CardHeaderComponent, typeof i3.CardTitleDirective, typeof i4.CardBodyDirective, typeof i5.CardFooterDirective, typeof i6.CardDividerDirective, typeof i8.CardHeaderSubtitleDirective, typeof i7.CardHeaderMarkDirective, typeof i9.CardHeaderOvalComponent, typeof i10.CardHeaderLinearComponent]>;
14
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CardModule, never, [typeof i1.CardComponent, typeof i2.CardHeaderComponent, typeof i3.CardHeaderLinearComponent, typeof i4.CardHeaderOvalComponent, typeof i5.CardBodyDirective, typeof i6.CardDividerDirective, typeof i7.CardFooterDirective, typeof i8.CardHeaderMarkDirective, typeof i9.CardHeaderSubtitleDirective, typeof i10.CardTitleDirective], [typeof i1.CardComponent, typeof i2.CardHeaderComponent, typeof i3.CardHeaderLinearComponent, typeof i4.CardHeaderOvalComponent, typeof i5.CardBodyDirective, typeof i6.CardDividerDirective, typeof i7.CardFooterDirective, typeof i8.CardHeaderMarkDirective, typeof i9.CardHeaderSubtitleDirective, typeof i10.CardTitleDirective]>;
16
15
  static ɵinj: i0.ɵɵInjectorDeclaration<CardModule>;
17
16
  }
@@ -2,5 +2,5 @@ import * as i0 from "@angular/core";
2
2
  export declare class CardHeaderComponent {
3
3
  classHeaderTitle: string;
4
4
  static ɵfac: i0.ɵɵFactoryDeclaration<CardHeaderComponent, never>;
5
- static ɵcmp: i0.ɵɵComponentDeclaration<CardHeaderComponent, "card-header", never, { "color": { "alias": "color"; "required": false; }; "classHeaderTitle": { "alias": "classHeaderTitle"; "required": false; }; }, {}, never, ["card-header-oval", "card-header-linear", "card-header-mark", "card-header-subtitle"], false, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<CardHeaderComponent, "card-header", never, { "color": { "alias": "color"; "required": false; }; "classHeaderTitle": { "alias": "classHeaderTitle"; "required": false; }; }, {}, never, ["card-header-oval", "card-header-linear", "card-header-mark", "card-header-subtitle"], true, never>;
6
6
  }
@@ -1,5 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class CardHeaderLinearComponent {
3
3
  static ɵfac: i0.ɵɵFactoryDeclaration<CardHeaderLinearComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<CardHeaderLinearComponent, "card-header-linear", never, {}, {}, never, ["card-title"], false, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<CardHeaderLinearComponent, "card-header-linear", never, {}, {}, never, ["card-title"], true, never>;
5
5
  }
@@ -8,5 +8,5 @@ export declare const _CardHeaderOvalMixinBase: typeof CardHeaderOvalBase;
8
8
  export declare class CardHeaderOvalComponent extends _CardHeaderOvalMixinBase {
9
9
  constructor(_elementRef: ElementRef);
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<CardHeaderOvalComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<CardHeaderOvalComponent, "card-header-oval", never, { "color": { "alias": "color"; "required": false; }; }, {}, never, ["card-title"], false, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<CardHeaderOvalComponent, "card-header-oval", never, { "color": { "alias": "color"; "required": false; }; }, {}, never, ["card-title"], true, never>;
12
12
  }
@@ -1,5 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class CardBodyDirective {
3
3
  static ɵfac: i0.ɵɵFactoryDeclaration<CardBodyDirective, never>;
4
- static ɵdir: i0.ɵɵDirectiveDeclaration<CardBodyDirective, "card-body, [card-body], [craftsjsCardBody]", never, {}, {}, never, never, false, never>;
4
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CardBodyDirective, "card-body, [card-body], [craftsjsCardBody]", never, {}, {}, never, never, true, never>;
5
5
  }
@@ -1,5 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class CardDividerDirective {
3
3
  static ɵfac: i0.ɵɵFactoryDeclaration<CardDividerDirective, never>;
4
- static ɵdir: i0.ɵɵDirectiveDeclaration<CardDividerDirective, "card-divider, [card-divider], [craftsjsCardDivider]", never, {}, {}, never, never, false, never>;
4
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CardDividerDirective, "card-divider, [card-divider], [craftsjsCardDivider]", never, {}, {}, never, never, true, never>;
5
5
  }
@@ -1,5 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class CardFooterDirective {
3
3
  static ɵfac: i0.ɵɵFactoryDeclaration<CardFooterDirective, never>;
4
- static ɵdir: i0.ɵɵDirectiveDeclaration<CardFooterDirective, "card-footer, [card-footer], [craftsjsCardFooter]", never, {}, {}, never, never, false, never>;
4
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CardFooterDirective, "card-footer, [card-footer], [craftsjsCardFooter]", never, {}, {}, never, never, true, never>;
5
5
  }
@@ -1,5 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class CardHeaderMarkDirective {
3
3
  static ɵfac: i0.ɵɵFactoryDeclaration<CardHeaderMarkDirective, never>;
4
- static ɵdir: i0.ɵɵDirectiveDeclaration<CardHeaderMarkDirective, "card-header-mark, [card-header-mark], [craftsjsCardHeaderMark]", never, {}, {}, never, never, false, never>;
4
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CardHeaderMarkDirective, "card-header-mark, [card-header-mark], [craftsjsCardHeaderMark]", never, {}, {}, never, never, true, never>;
5
5
  }
@@ -1,5 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class CardHeaderSubtitleDirective {
3
3
  static ɵfac: i0.ɵɵFactoryDeclaration<CardHeaderSubtitleDirective, never>;
4
- static ɵdir: i0.ɵɵDirectiveDeclaration<CardHeaderSubtitleDirective, "card-header-subtitle, [card-header-subtitle], [craftsjsCardHeaderSubtitle]", never, {}, {}, never, never, false, never>;
4
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CardHeaderSubtitleDirective, "card-header-subtitle, [card-header-subtitle], [craftsjsCardHeaderSubtitle]", never, {}, {}, never, never, true, never>;
5
5
  }
@@ -1,5 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class CardTitleDirective {
3
3
  static ɵfac: i0.ɵɵFactoryDeclaration<CardTitleDirective, never>;
4
- static ɵdir: i0.ɵɵDirectiveDeclaration<CardTitleDirective, "card-title, [card-title], [craftsjsCardTitle]", never, {}, {}, never, never, false, never>;
4
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CardTitleDirective, "card-title, [card-title], [craftsjsCardTitle]", never, {}, {}, never, never, true, never>;
5
5
  }
package/package.json CHANGED
@@ -1,20 +1,23 @@
1
1
  {
2
2
  "name": "@craftsjs/card",
3
- "version": "6.0.0",
3
+ "version": "7.0.0",
4
4
  "author": "Craftsjs",
5
5
  "description": "Material card library for angular",
6
6
  "license": "MIT",
7
7
  "homepage": "https://github.com/addapptables/angular-miscellaneous",
8
8
  "peerDependencies": {
9
- "@angular/common": ">= 18.0.0 < 19.0.0",
10
- "@angular/core": ">= 18.0.0 < 19.0.0",
11
- "@angular/animations": ">= 18.0.0 < 19.0.0",
12
- "@angular/material": ">= 18.0.0 < 19.0.0",
13
- "@angular/cdk": ">= 18.0.0 < 19.0.0",
14
- "rxjs": "7.8.1"
9
+ "@angular/common": ">= 19.0.0 < 20.0.0",
10
+ "@angular/core": ">= 19.0.0 < 20.0.0",
11
+ "@angular/animations": ">= 19.0.0 < 20.0.0",
12
+ "@angular/material": ">= 19.0.0 < 20.0.0",
13
+ "@angular/cdk": ">= 19.0.0 < 20.0.0",
14
+ "rxjs": ">= 7.4.0 < 8.0.0"
15
15
  },
16
16
  "repository": {
17
17
  "type": "git",
18
+ "url": "git+https://github.com/addapptables/angular-miscellaneous"
19
+ },
20
+ "bugs": {
18
21
  "url": "https://github.com/addapptables/angular-miscellaneous/issues"
19
22
  },
20
23
  "keywords": [
@@ -34,8 +37,6 @@
34
37
  },
35
38
  ".": {
36
39
  "types": "./index.d.ts",
37
- "esm2022": "./esm2022/craftsjs-card.mjs",
38
- "esm": "./esm2022/craftsjs-card.mjs",
39
40
  "default": "./fesm2022/craftsjs-card.mjs"
40
41
  }
41
42
  },
package/public-api.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- export * from './lib/card.module';
2
1
  export * from './lib/card.component';
3
2
  export * from './lib/components/card-header/card-header.component';
4
3
  export * from './lib/components/card-header/components/card-header-linear/card-header-linear.component';
@@ -10,3 +9,4 @@ export * from './lib/directives/card-header-mark.directive';
10
9
  export * from './lib/directives/card-header-subtitle.directive';
11
10
  export * from './lib/directives/card-title.directive';
12
11
  export * from './lib/mixins/color';
12
+ export * from './lib/card.module';
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './public-api';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3JhZnRzanMtY2FyZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2NyYWZ0c2pzL2NhcmQvc3JjL2NyYWZ0c2pzLWNhcmQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcbiJdfQ==
@@ -1,11 +0,0 @@
1
- import { Component, ViewEncapsulation, ChangeDetectionStrategy } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class CardComponent {
4
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
5
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: CardComponent, selector: "craftsjs-card", host: { classAttribute: "card" }, ngImport: i0, template: "<ng-content></ng-content>\r\n<ng-content select=\"card-footer\"></ng-content>", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
6
- }
7
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CardComponent, decorators: [{
8
- type: Component,
9
- args: [{ selector: 'craftsjs-card', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'card' }, template: "<ng-content></ng-content>\r\n<ng-content select=\"card-footer\"></ng-content>" }]
10
- }] });
11
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FyZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jcmFmdHNqcy9jYXJkL3NyYy9saWIvY2FyZC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jcmFmdHNqcy9jYXJkL3NyYy9saWIvY2FyZC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLGlCQUFpQixFQUFFLHVCQUF1QixFQUFFLE1BQU0sZUFBZSxDQUFDOztBQVV0RixNQUFNLE9BQU8sYUFBYTsrR0FBYixhQUFhO21HQUFiLGFBQWEsdUZDVjFCLCtFQUM4Qzs7NEZEU2pDLGFBQWE7a0JBUHpCLFNBQVM7K0JBQ0UsZUFBZSxpQkFFVixpQkFBaUIsQ0FBQyxJQUFJLG1CQUNwQix1QkFBdUIsQ0FBQyxNQUFNLFFBQ3pDLEVBQUUsS0FBSyxFQUFFLE1BQU0sRUFBRSIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbXBvbmVudCwgVmlld0VuY2Fwc3VsYXRpb24sIENoYW5nZURldGVjdGlvblN0cmF0ZWd5IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcblxyXG5cclxuQENvbXBvbmVudCh7XHJcbiAgc2VsZWN0b3I6ICdjcmFmdHNqcy1jYXJkJyxcclxuICB0ZW1wbGF0ZVVybDogJy4vY2FyZC5jb21wb25lbnQuaHRtbCcsXHJcbiAgZW5jYXBzdWxhdGlvbjogVmlld0VuY2Fwc3VsYXRpb24uTm9uZSxcclxuICBjaGFuZ2VEZXRlY3Rpb246IENoYW5nZURldGVjdGlvblN0cmF0ZWd5Lk9uUHVzaCxcclxuICBob3N0OiB7IGNsYXNzOiAnY2FyZCcgfVxyXG59KVxyXG5leHBvcnQgY2xhc3MgQ2FyZENvbXBvbmVudCB7IH1cclxuIiwiPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PlxyXG48bmctY29udGVudCBzZWxlY3Q9XCJjYXJkLWZvb3RlclwiPjwvbmctY29udGVudD4iXX0=
@@ -1,69 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { CommonModule } from '@angular/common';
3
- import { CardComponent } from './card.component';
4
- import { CardHeaderComponent } from './components/card-header/card-header.component';
5
- import { CardTitleDirective } from './directives/card-title.directive';
6
- import { CardBodyDirective } from './directives/card-body.directive';
7
- import { CardFooterDirective } from './directives/card-footer.directive';
8
- import { CardDividerDirective } from './directives/card-divider.directive';
9
- import { CardHeaderMarkDirective } from './directives/card-header-mark.directive';
10
- import { CardHeaderSubtitleDirective } from './directives/card-header-subtitle.directive';
11
- import { CardHeaderOvalComponent } from './components/card-header/components/card-header-oval/card-header-oval.component';
12
- import { CardHeaderLinearComponent } from './components/card-header/components/card-header-linear/card-header-linear.component';
13
- import * as i0 from "@angular/core";
14
- export class CardModule {
15
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
16
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.13", ngImport: i0, type: CardModule, declarations: [CardComponent,
17
- CardHeaderComponent,
18
- CardTitleDirective,
19
- CardBodyDirective,
20
- CardFooterDirective,
21
- CardDividerDirective,
22
- CardHeaderMarkDirective,
23
- CardHeaderSubtitleDirective,
24
- CardHeaderOvalComponent,
25
- CardHeaderLinearComponent], imports: [CommonModule], exports: [CardComponent,
26
- CardHeaderComponent,
27
- CardTitleDirective,
28
- CardBodyDirective,
29
- CardFooterDirective,
30
- CardDividerDirective,
31
- CardHeaderSubtitleDirective,
32
- CardHeaderMarkDirective,
33
- CardHeaderOvalComponent,
34
- CardHeaderLinearComponent] }); }
35
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CardModule, imports: [CommonModule] }); }
36
- }
37
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CardModule, decorators: [{
38
- type: NgModule,
39
- args: [{
40
- imports: [
41
- CommonModule
42
- ],
43
- declarations: [
44
- CardComponent,
45
- CardHeaderComponent,
46
- CardTitleDirective,
47
- CardBodyDirective,
48
- CardFooterDirective,
49
- CardDividerDirective,
50
- CardHeaderMarkDirective,
51
- CardHeaderSubtitleDirective,
52
- CardHeaderOvalComponent,
53
- CardHeaderLinearComponent
54
- ],
55
- exports: [
56
- CardComponent,
57
- CardHeaderComponent,
58
- CardTitleDirective,
59
- CardBodyDirective,
60
- CardFooterDirective,
61
- CardDividerDirective,
62
- CardHeaderSubtitleDirective,
63
- CardHeaderMarkDirective,
64
- CardHeaderOvalComponent,
65
- CardHeaderLinearComponent
66
- ]
67
- }]
68
- }] });
69
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FyZC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jcmFmdHNqcy9jYXJkL3NyYy9saWIvY2FyZC5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyx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9uZW50LFxyXG4gICAgQ2FyZFRpdGxlRGlyZWN0aXZlLFxyXG4gICAgQ2FyZEJvZHlEaXJlY3RpdmUsXHJcbiAgICBDYXJkRm9vdGVyRGlyZWN0aXZlLFxyXG4gICAgQ2FyZERpdmlkZXJEaXJlY3RpdmUsXHJcbiAgICBDYXJkSGVhZGVyTWFya0RpcmVjdGl2ZSxcclxuICAgIENhcmRIZWFkZXJTdWJ0aXRsZURpcmVjdGl2ZSxcclxuICAgIENhcmRIZWFkZXJPdmFsQ29tcG9uZW50LFxyXG4gICAgQ2FyZEhlYWRlckxpbmVhckNvbXBvbmVudFxyXG4gIF0sXHJcbiAgZXhwb3J0czogW1xyXG4gICAgQ2FyZENvbXBvbmVudCxcclxuICAgIENhcmRIZWFkZXJDb21wb25lbnQsXHJcbiAgICBDYXJkVGl0bGVEaXJlY3RpdmUsXHJcbiAgICBDYXJkQm9keURpcmVjdGl2ZSxcclxuICAgIENhcmRGb290ZXJEaXJlY3RpdmUsXHJcbiAgICBDYXJkRGl2aWRlckRpcmVjdGl2ZSxcclxuICAgIENhcmRIZWFkZXJTdWJ0aXRsZURpcmVjdGl2ZSxcclxuICAgIENhcmRIZWFkZXJNYXJrRGlyZWN0aXZlLFxyXG4gICAgQ2FyZEhlYWRlck92YWxDb21wb25lbnQsXHJcbiAgICBDYXJkSGVhZGVyTGluZWFyQ29tcG9uZW50XHJcbiAgXVxyXG59KVxyXG5leHBvcnQgY2xhc3MgQ2FyZE1vZHVsZSB7IH1cclxuIl19
@@ -1,15 +0,0 @@
1
- import { Component, ViewEncapsulation, ChangeDetectionStrategy, Input } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class CardHeaderComponent {
4
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CardHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
5
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: CardHeaderComponent, selector: "card-header", inputs: { color: "color", classHeaderTitle: "classHeaderTitle" }, host: { classAttribute: "d-flex flex-row flex-wrap card-header" }, ngImport: i0, template: "<ng-content select=\"card-header-oval\"></ng-content>\r\n<ng-content select=\"card-header-linear\"></ng-content>\r\n<div class=\"card-header-subtitle d-flex flex-column\">\r\n <ng-content select=\"card-header-mark\"></ng-content>\r\n <ng-content select=\"card-header-subtitle\"></ng-content>\r\n</div>", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
6
- }
7
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CardHeaderComponent, decorators: [{
8
- type: Component,
9
- args: [{ selector: 'card-header', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, inputs: ['color'], host: {
10
- class: 'd-flex flex-row flex-wrap card-header'
11
- }, template: "<ng-content select=\"card-header-oval\"></ng-content>\r\n<ng-content select=\"card-header-linear\"></ng-content>\r\n<div class=\"card-header-subtitle d-flex flex-column\">\r\n <ng-content select=\"card-header-mark\"></ng-content>\r\n <ng-content select=\"card-header-subtitle\"></ng-content>\r\n</div>" }]
12
- }], propDecorators: { classHeaderTitle: [{
13
- type: Input
14
- }] } });
15
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FyZC1oZWFkZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY3JhZnRzanMvY2FyZC9zcmMvbGliL2NvbXBvbmVudHMvY2FyZC1oZWFkZXIvY2FyZC1oZWFkZXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY3JhZnRzanMvY2FyZC9zcmMvbGliL2NvbXBvbmVudHMvY2FyZC1oZWFkZXIvY2FyZC1oZWFkZXIuY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Qge1xyXG4gIEBJbnB1dCgpXHJcbiAgY2xhc3NIZWFkZXJUaXRsZTogc3RyaW5nO1xyXG59XHJcbiIsIjxuZy1jb250ZW50IHNlbGVjdD1cImNhcmQtaGVhZGVyLW92YWxcIj48L25nLWNvbnRlbnQ+XHJcbjxuZy1jb250ZW50IHNlbGVjdD1cImNhcmQtaGVhZGVyLWxpbmVhclwiPjwvbmctY29udGVudD5cclxuPGRpdiBjbGFzcz1cImNhcmQtaGVhZGVyLXN1YnRpdGxlIGQtZmxleCBmbGV4LWNvbHVtblwiPlxyXG4gICAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiY2FyZC1oZWFkZXItbWFya1wiPjwvbmctY29udGVudD5cclxuICAgIDxuZy1jb250ZW50IHNlbGVjdD1cImNhcmQtaGVhZGVyLXN1YnRpdGxlXCI+PC9uZy1jb250ZW50PlxyXG48L2Rpdj4iXX0=
@@ -1,13 +0,0 @@
1
- import { Component, ChangeDetectionStrategy } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class CardHeaderLinearComponent {
4
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CardHeaderLinearComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
5
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: CardHeaderLinearComponent, selector: "card-header-linear", host: { classAttribute: "card-header-linear d-flex" }, ngImport: i0, template: "<ng-content select=\"card-title\"></ng-content>", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
6
- }
7
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CardHeaderLinearComponent, decorators: [{
8
- type: Component,
9
- args: [{ selector: 'card-header-linear', host: {
10
- class: 'card-header-linear d-flex'
11
- }, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content select=\"card-title\"></ng-content>" }]
12
- }] });
13
- //# sourceMapping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VhZGVyLWxpbmVhci5jb21wb25lbnQuaHRtbCcsXHJcbiAgc3R5bGVVcmxzOiBbJy4vY2FyZC1oZWFkZXItbGluZWFyLmNvbXBvbmVudC5zY3NzJ10sXHJcbiAgaG9zdDoge1xyXG4gICAgY2xhc3M6ICdjYXJkLWhlYWRlci1saW5lYXIgZC1mbGV4J1xyXG4gIH0sXHJcbiAgY2hhbmdlRGV0ZWN0aW9uOiBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneS5PblB1c2hcclxufSlcclxuZXhwb3J0IGNsYXNzIENhcmRIZWFkZXJMaW5lYXJDb21wb25lbnQgeyB9XHJcbiIsIjxuZy1jb250ZW50IHNlbGVjdD1cImNhcmQtdGl0bGVcIj48L25nLWNvbnRlbnQ+Il19
@@ -1,23 +0,0 @@
1
- import { Component, ChangeDetectionStrategy } from '@angular/core';
2
- import { mixinColor } from '../../../../mixins/color';
3
- import * as i0 from "@angular/core";
4
- export class CardHeaderOvalBase {
5
- constructor(_elementRef) {
6
- this._elementRef = _elementRef;
7
- }
8
- }
9
- export const _CardHeaderOvalMixinBase = mixinColor(CardHeaderOvalBase);
10
- export class CardHeaderOvalComponent extends _CardHeaderOvalMixinBase {
11
- constructor(_elementRef) {
12
- super(_elementRef);
13
- }
14
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CardHeaderOvalComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
15
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: CardHeaderOvalComponent, selector: "card-header-oval", inputs: { color: "color" }, host: { classAttribute: "card-header-oval d-flex" }, usesInheritance: true, ngImport: i0, template: "<ng-content select=\"card-title\"></ng-content>", styles: [""], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
16
- }
17
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CardHeaderOvalComponent, decorators: [{
18
- type: Component,
19
- args: [{ selector: 'card-header-oval', host: {
20
- class: 'card-header-oval d-flex'
21
- }, inputs: ['color'], changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content select=\"card-title\"></ng-content>" }]
22
- }], ctorParameters: () => [{ type: i0.ElementRef }] });
23
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FyZC1oZWFkZXItb3ZhbC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jcmFmdHNqcy9jYXJkL3NyYy9saWIvY29tcG9uZW50cy9jYXJkLWhlYWRlci9jb21wb25lbnRzL2NhcmQtaGVhZGVyLW92YWwvY2FyZC1oZWFkZXItb3ZhbC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jcmFmdHNqcy9jYXJkL3NyYy9saWIvY29tcG9uZW50cy9jYXJkLWhlYWRlci9jb21wb25lbnRzL2NhcmQtaGVhZGVyLW92YWwvY2FyZC1oZWFkZXItb3ZhbC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFjLHVCQUF1QixFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQy9FLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQzs7QUFFdEQsTUFBTSxPQUFPLGtCQUFrQjtJQUM3QixZQUFtQixXQUF1QjtRQUF2QixnQkFBVyxHQUFYLFdBQVcsQ0FBWTtJQUFJLENBQUM7Q0FDaEQ7QUFFRCxNQUFNLENBQUMsTUFBTSx3QkFBd0IsR0FFbkMsVUFBVSxDQUFDLGtCQUFrQixDQUFDLENBQUM7QUFZakMsTUFBTSxPQUFPLHVCQUF3QixTQUFR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sYXNzOiAnY2FyZC1oZWFkZXItb3ZhbCBkLWZsZXgnXHJcbiAgfSxcclxuICBpbnB1dHM6IFsnY29sb3InXSxcclxuICBjaGFuZ2VEZXRlY3Rpb246IENoYW5nZURldGVjdGlvblN0cmF0ZWd5Lk9uUHVzaFxyXG59KVxyXG5leHBvcnQgY2xhc3MgQ2FyZEhlYWRlck92YWxDb21wb25lbnQgZXh0ZW5kcyBfQ2FyZEhlYWRlck92YWxNaXhpbkJhc2Uge1xyXG5cclxuICBjb25zdHJ1Y3RvcihfZWxlbWVudFJlZjogRWxlbWVudFJlZikge1xyXG4gICAgc3VwZXIoX2VsZW1lbnRSZWYpO1xyXG4gIH1cclxuXHJcbn1cclxuIiwiPG5nLWNvbnRlbnQgc2VsZWN0PVwiY2FyZC10aXRsZVwiPjwvbmctY29udGVudD4iXX0=
@@ -1,14 +0,0 @@
1
- import { Directive } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class CardBodyDirective {
4
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CardBodyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
5
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: CardBodyDirective, selector: "card-body, [card-body], [craftsjsCardBody]", host: { classAttribute: "card-body" }, ngImport: i0 }); }
6
- }
7
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CardBodyDirective, decorators: [{
8
- type: Directive,
9
- args: [{
10
- selector: 'card-body, [card-body], [craftsjsCardBody]',
11
- host: { class: 'card-body' }
12
- }]
13
- }] });
14
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FyZC1ib2R5LmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NyYWZ0c2pzL2NhcmQvc3JjL2xpYi9kaXJlY3RpdmVzL2NhcmQtYm9keS5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFNMUMsTUFBTSxPQUFPLGlCQUFpQjsrR0FBakIsaUJBQWlCO21HQUFqQixpQkFBaUI7OzRGQUFqQixpQkFBaUI7a0JBSjdCLFNBQVM7bUJBQUM7b0JBQ1QsUUFBUSxFQUFFLDRDQUE0QztvQkFDdEQsSUFBSSxFQUFFLEVBQUUsS0FBSyxFQUFFLFdBQVcsRUFBRTtpQkFDN0IiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBEaXJlY3RpdmUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcclxuXHJcbkBEaXJlY3RpdmUoe1xyXG4gIHNlbGVjdG9yOiAnY2FyZC1ib2R5LCBbY2FyZC1ib2R5XSwgW2NyYWZ0c2pzQ2FyZEJvZHldJyxcclxuICBob3N0OiB7IGNsYXNzOiAnY2FyZC1ib2R5JyB9XHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBDYXJkQm9keURpcmVjdGl2ZSB7IH1cclxuIl19
@@ -1,16 +0,0 @@
1
- import { Directive } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class CardDividerDirective {
4
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CardDividerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
5
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: CardDividerDirective, selector: "card-divider, [card-divider], [craftsjsCardDivider]", host: { classAttribute: "card-divider" }, ngImport: i0 }); }
6
- }
7
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CardDividerDirective, decorators: [{
8
- type: Directive,
9
- args: [{
10
- selector: 'card-divider, [card-divider], [craftsjsCardDivider]',
11
- host: {
12
- class: 'card-divider'
13
- }
14
- }]
15
- }] });
16
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FyZC1kaXZpZGVyLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NyYWZ0c2pzL2NhcmQvc3JjL2xpYi9kaXJlY3RpdmVzL2NhcmQtZGl2aWRlci5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFRMUMsTUFBTSxPQUFPLG9CQUFvQjsrR0FBcEIsb0JBQW9CO21HQUFwQixvQkFBb0I7OzRGQUFwQixvQkFBb0I7a0JBTmhDLFNBQVM7bUJBQUM7b0JBQ1QsUUFBUSxFQUFFLHFEQUFxRDtvQkFDL0QsSUFBSSxFQUFFO3dCQUNKLEtBQUssRUFBRSxjQUFjO3FCQUN0QjtpQkFDRiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IERpcmVjdGl2ZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5cclxuQERpcmVjdGl2ZSh7XHJcbiAgc2VsZWN0b3I6ICdjYXJkLWRpdmlkZXIsIFtjYXJkLWRpdmlkZXJdLCBbY3JhZnRzanNDYXJkRGl2aWRlcl0nLFxyXG4gIGhvc3Q6IHtcclxuICAgIGNsYXNzOiAnY2FyZC1kaXZpZGVyJ1xyXG4gIH1cclxufSlcclxuZXhwb3J0IGNsYXNzIENhcmREaXZpZGVyRGlyZWN0aXZlIHsgfVxyXG4iXX0=
@@ -1,14 +0,0 @@
1
- import { Directive } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class CardFooterDirective {
4
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CardFooterDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
5
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: CardFooterDirective, selector: "card-footer, [card-footer], [craftsjsCardFooter]", host: { classAttribute: "card-footer" }, ngImport: i0 }); }
6
- }
7
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CardFooterDirective, decorators: [{
8
- type: Directive,
9
- args: [{
10
- selector: 'card-footer, [card-footer], [craftsjsCardFooter]',
11
- host: { class: 'card-footer' }
12
- }]
13
- }] });
14
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FyZC1mb290ZXIuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY3JhZnRzanMvY2FyZC9zcmMvbGliL2RpcmVjdGl2ZXMvY2FyZC1mb290ZXIuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBTTFDLE1BQU0sT0FBTyxtQkFBbUI7K0dBQW5CLG1CQUFtQjttR0FBbkIsbUJBQW1COzs0RkFBbkIsbUJBQW1CO2tCQUovQixTQUFTO21CQUFDO29CQUNULFFBQVEsRUFBRSxrREFBa0Q7b0JBQzVELElBQUksRUFBRSxFQUFFLEtBQUssRUFBRSxhQUFhLEVBQUU7aUJBQy9CIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgRGlyZWN0aXZlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcblxyXG5ARGlyZWN0aXZlKHtcclxuICBzZWxlY3RvcjogJ2NhcmQtZm9vdGVyLCBbY2FyZC1mb290ZXJdLCBbY3JhZnRzanNDYXJkRm9vdGVyXScsXHJcbiAgaG9zdDogeyBjbGFzczogJ2NhcmQtZm9vdGVyJyB9XHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBDYXJkRm9vdGVyRGlyZWN0aXZlIHsgfVxyXG4iXX0=
@@ -1,16 +0,0 @@
1
- import { Directive } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class CardHeaderMarkDirective {
4
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CardHeaderMarkDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
5
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: CardHeaderMarkDirective, selector: "card-header-mark, [card-header-mark], [craftsjsCardHeaderMark]", host: { classAttribute: "card-header-subtitle-mark" }, ngImport: i0 }); }
6
- }
7
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CardHeaderMarkDirective, decorators: [{
8
- type: Directive,
9
- args: [{
10
- selector: 'card-header-mark, [card-header-mark], [craftsjsCardHeaderMark]',
11
- host: {
12
- class: 'card-header-subtitle-mark'
13
- }
14
- }]
15
- }] });
16
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FyZC1oZWFkZXItbWFyay5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jcmFmdHNqcy9jYXJkL3NyYy9saWIvZGlyZWN0aXZlcy9jYXJkLWhlYWRlci1tYXJrLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQVExQyxNQUFNLE9BQU8sdUJBQXVCOytHQUF2Qix1QkFBdUI7bUdBQXZCLHVCQUF1Qjs7NEZBQXZCLHVCQUF1QjtrQkFObkMsU0FBUzttQkFBQztvQkFDVCxRQUFRLEVBQUUsZ0VBQWdFO29CQUMxRSxJQUFJLEVBQUU7d0JBQ0osS0FBSyxFQUFFLDJCQUEyQjtxQkFDbkM7aUJBQ0YiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBEaXJlY3RpdmUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcclxuXHJcbkBEaXJlY3RpdmUoe1xyXG4gIHNlbGVjdG9yOiAnY2FyZC1oZWFkZXItbWFyaywgW2NhcmQtaGVhZGVyLW1hcmtdLCBbY3JhZnRzanNDYXJkSGVhZGVyTWFya10nLFxyXG4gIGhvc3Q6IHtcclxuICAgIGNsYXNzOiAnY2FyZC1oZWFkZXItc3VidGl0bGUtbWFyaydcclxuICB9XHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBDYXJkSGVhZGVyTWFya0RpcmVjdGl2ZSB7IH1cclxuIl19
@@ -1,16 +0,0 @@
1
- import { Directive } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class CardHeaderSubtitleDirective {
4
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CardHeaderSubtitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
5
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: CardHeaderSubtitleDirective, selector: "card-header-subtitle, [card-header-subtitle], [craftsjsCardHeaderSubtitle]", host: { classAttribute: "card-header-subtitle" }, ngImport: i0 }); }
6
- }
7
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CardHeaderSubtitleDirective, decorators: [{
8
- type: Directive,
9
- args: [{
10
- selector: 'card-header-subtitle, [card-header-subtitle], [craftsjsCardHeaderSubtitle]',
11
- host: {
12
- class: 'card-header-subtitle'
13
- }
14
- }]
15
- }] });
16
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FyZC1oZWFkZXItc3VidGl0bGUuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY3JhZnRzanMvY2FyZC9zcmMvbGliL2RpcmVjdGl2ZXMvY2FyZC1oZWFkZXItc3VidGl0bGUuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBUTFDLE1BQU0sT0FBTywyQkFBMkI7K0dBQTNCLDJCQUEyQjttR0FBM0IsMkJBQTJCOzs0RkFBM0IsMkJBQTJCO2tCQU52QyxTQUFTO21CQUFDO29CQUNULFFBQVEsRUFBRSw0RUFBNEU7b0JBQ3RGLElBQUksRUFBRTt3QkFDSixLQUFLLEVBQUUsc0JBQXNCO3FCQUM5QjtpQkFDRiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IERpcmVjdGl2ZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5cclxuQERpcmVjdGl2ZSh7XHJcbiAgc2VsZWN0b3I6ICdjYXJkLWhlYWRlci1zdWJ0aXRsZSwgW2NhcmQtaGVhZGVyLXN1YnRpdGxlXSwgW2NyYWZ0c2pzQ2FyZEhlYWRlclN1YnRpdGxlXScsXHJcbiAgaG9zdDoge1xyXG4gICAgY2xhc3M6ICdjYXJkLWhlYWRlci1zdWJ0aXRsZSdcclxuICB9XHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBDYXJkSGVhZGVyU3VidGl0bGVEaXJlY3RpdmUgeyB9XHJcbiJdfQ==
@@ -1,14 +0,0 @@
1
- import { Directive } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class CardTitleDirective {
4
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CardTitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
5
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: CardTitleDirective, selector: "card-title, [card-title], [craftsjsCardTitle]", host: { classAttribute: "card-header-title" }, ngImport: i0 }); }
6
- }
7
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CardTitleDirective, decorators: [{
8
- type: Directive,
9
- args: [{
10
- selector: 'card-title, [card-title], [craftsjsCardTitle]',
11
- host: { class: 'card-header-title' }
12
- }]
13
- }] });
14
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FyZC10aXRsZS5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jcmFmdHNqcy9jYXJkL3NyYy9saWIvZGlyZWN0aXZlcy9jYXJkLXRpdGxlLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQU0xQyxNQUFNLE9BQU8sa0JBQWtCOytHQUFsQixrQkFBa0I7bUdBQWxCLGtCQUFrQjs7NEZBQWxCLGtCQUFrQjtrQkFKOUIsU0FBUzttQkFBQztvQkFDVCxRQUFRLEVBQUUsK0NBQStDO29CQUN6RCxJQUFJLEVBQUUsRUFBRSxLQUFLLEVBQUUsbUJBQW1CLEVBQUU7aUJBQ3JDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgRGlyZWN0aXZlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcblxyXG5ARGlyZWN0aXZlKHtcclxuICBzZWxlY3RvcjogJ2NhcmQtdGl0bGUsIFtjYXJkLXRpdGxlXSwgW2NyYWZ0c2pzQ2FyZFRpdGxlXScsXHJcbiAgaG9zdDogeyBjbGFzczogJ2NhcmQtaGVhZGVyLXRpdGxlJyB9XHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBDYXJkVGl0bGVEaXJlY3RpdmUgeyB9XHJcbiJdfQ==
@@ -1,23 +0,0 @@
1
- export function mixinColor(base, defaultColor) {
2
- return class extends base {
3
- get color() { return this._color; }
4
- set color(value) {
5
- const colorPalette = value || defaultColor;
6
- if (colorPalette !== this._color) {
7
- if (this._color) {
8
- this._elementRef.nativeElement.classList.remove(`${this._color}`);
9
- }
10
- if (colorPalette) {
11
- this._elementRef.nativeElement.classList.add(`${colorPalette}`);
12
- }
13
- this._color = colorPalette;
14
- }
15
- }
16
- constructor(...args) {
17
- // eslint-disable-next-line @typescript-eslint/no-unsafe-argument
18
- super(...args);
19
- this.color = defaultColor;
20
- }
21
- };
22
- }
23
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sb3IuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jcmFmdHNqcy9jYXJkL3NyYy9saWIvbWl4aW5zL2NvbG9yLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVFBLE1BQU0sVUFBVSxVQUFVLENBQ3RCLElBQU8sRUFBRSxZQUFxQjtJQUM5QixPQUFPLEtBQU0sU0FBUSxJQUFJO1FBRXJCLElBQUksS0FBSyxLQUFhLE9BQU8sSUFBSSxDQUFDLE1BQU0sQ0FBQyxDQUFDLENBQUM7UUFDM0MsSUFBSSxLQUFLLENBQUMsS0FBYTtZQUNuQixNQUFNLFlBQVksR0FBRyxLQUFLLElBQUksWUFBWSxDQUFDO1lBQzNDLElBQUksWUFBWSxLQUFLLElBQUksQ0FBQyxNQUFNLEVBQUUsQ0FBQztnQkFDL0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clxuIl19
@@ -1,13 +0,0 @@
1
- export * from './lib/card.module';
2
- export * from './lib/card.component';
3
- export * from './lib/components/card-header/card-header.component';
4
- export * from './lib/components/card-header/components/card-header-linear/card-header-linear.component';
5
- export * from './lib/components/card-header/components/card-header-oval/card-header-oval.component';
6
- export * from './lib/directives/card-body.directive';
7
- export * from './lib/directives/card-divider.directive';
8
- export * from './lib/directives/card-footer.directive';
9
- export * from './lib/directives/card-header-mark.directive';
10
- export * from './lib/directives/card-header-subtitle.directive';
11
- export * from './lib/directives/card-title.directive';
12
- export * from './lib/mixins/color';
13
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2NyYWZ0c2pzL2NhcmQvc3JjL3B1YmxpYy1hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxtQkFBbUIsQ0FBQztBQUNsQyxjQUFjLHNCQUFzQixDQUFDO0FBQ3JDLGNBQWMsb0RBQW9ELENBQUM7QUFDbkUsY0FBYyx5RkFBeUYsQ0FBQztBQUN4RyxjQUFjLHFGQUFxRixDQUFDO0FBQ3BHLGNBQWMsc0NBQXNDLENBQUM7QUFDckQsY0FBYyx5Q0FBeUMsQ0FBQztBQUN4RCxjQUFjLHdDQUF3QyxDQUFDO0FBQ3ZELGNBQWMsNkNBQTZDLENBQUM7QUFDNUQsY0FBYyxpREFBaUQsQ0FBQztBQUNoRSxjQUFjLHVDQUF1QyxDQUFDO0FBQ3RELGNBQWMsb0JBQW9CLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2xpYi9jYXJkLm1vZHVsZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL2NhcmQuY29tcG9uZW50JztcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvY29tcG9uZ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