@craftsjs/card 1.0.0 → 4.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 (51) hide show
  1. package/README.md +5 -2
  2. package/_craftsjs-card.theme.scss +5 -5
  3. package/craftsjs-card.d.ts +1 -0
  4. package/{esm2015/craftsjs-card.js → esm2020/craftsjs-card.mjs} +0 -0
  5. package/esm2020/lib/card.component.mjs +11 -0
  6. package/{esm2015/lib/card.module.js → esm2020/lib/card.module.mjs} +57 -32
  7. package/esm2020/lib/components/card-header/card-header.component.mjs +15 -0
  8. package/esm2020/lib/components/card-header/components/card-header-linear/card-header-linear.component.mjs +13 -0
  9. package/esm2020/lib/components/card-header/components/card-header-oval/card-header-oval.component.mjs +23 -0
  10. package/esm2020/lib/directives/card-body.directive.mjs +14 -0
  11. package/esm2020/lib/directives/card-divider.directive.mjs +16 -0
  12. package/esm2020/lib/directives/card-footer.directive.mjs +14 -0
  13. package/esm2020/lib/directives/card-header-mark.directive.mjs +16 -0
  14. package/esm2020/lib/directives/card-header-subtitle.directive.mjs +16 -0
  15. package/esm2020/lib/directives/card-title.directive.mjs +14 -0
  16. package/esm2020/lib/mixins/color.mjs +23 -0
  17. package/{esm2015/public-api.js → esm2020/public-api.mjs} +0 -0
  18. package/fesm2015/craftsjs-card.mjs +222 -0
  19. package/fesm2015/craftsjs-card.mjs.map +1 -0
  20. package/fesm2020/craftsjs-card.mjs +222 -0
  21. package/fesm2020/craftsjs-card.mjs.map +1 -0
  22. package/lib/card.component.d.ts +3 -0
  23. package/lib/card.module.d.ts +15 -0
  24. package/lib/components/card-header/card-header.component.d.ts +3 -0
  25. package/lib/components/card-header/components/card-header-linear/card-header-linear.component.d.ts +3 -0
  26. package/lib/components/card-header/components/card-header-oval/card-header-oval.component.d.ts +3 -0
  27. package/lib/directives/card-body.directive.d.ts +3 -0
  28. package/lib/directives/card-divider.directive.d.ts +3 -0
  29. package/lib/directives/card-footer.directive.d.ts +3 -0
  30. package/lib/directives/card-header-mark.directive.d.ts +3 -0
  31. package/lib/directives/card-header-subtitle.directive.d.ts +3 -0
  32. package/lib/directives/card-title.directive.d.ts +3 -0
  33. package/package.json +25 -13
  34. package/bundles/craftsjs-card.umd.js +0 -561
  35. package/bundles/craftsjs-card.umd.js.map +0 -1
  36. package/bundles/craftsjs-card.umd.min.js +0 -17
  37. package/bundles/craftsjs-card.umd.min.js.map +0 -1
  38. package/craftsjs-card.metadata.json +0 -1
  39. package/esm2015/lib/card.component.js +0 -13
  40. package/esm2015/lib/components/card-header/card-header.component.js +0 -19
  41. package/esm2015/lib/components/card-header/components/card-header-linear/card-header-linear.component.js +0 -15
  42. package/esm2015/lib/components/card-header/components/card-header-oval/card-header-oval.component.js +0 -29
  43. package/esm2015/lib/directives/card-body.directive.js +0 -10
  44. package/esm2015/lib/directives/card-divider.directive.js +0 -12
  45. package/esm2015/lib/directives/card-footer.directive.js +0 -10
  46. package/esm2015/lib/directives/card-header-mark.directive.js +0 -12
  47. package/esm2015/lib/directives/card-header-subtitle.directive.js +0 -12
  48. package/esm2015/lib/directives/card-title.directive.js +0 -10
  49. package/esm2015/lib/mixins/color.js +0 -22
  50. package/fesm2015/craftsjs-card.js +0 -196
  51. package/fesm2015/craftsjs-card.js.map +0 -1
@@ -0,0 +1,222 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Component, ViewEncapsulation, ChangeDetectionStrategy, Input, Directive, NgModule } from '@angular/core';
3
+ import { CommonModule } from '@angular/common';
4
+
5
+ class CardComponent {
6
+ }
7
+ CardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: CardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
8
+ CardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.7", 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 });
9
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: CardComponent, decorators: [{
10
+ 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>" }]
12
+ }] });
13
+
14
+ class CardHeaderComponent {
15
+ }
16
+ CardHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: CardHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
17
+ CardHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.7", 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 });
18
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: CardHeaderComponent, decorators: [{
19
+ type: Component,
20
+ args: [{ selector: 'card-header', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, inputs: ['color'], host: {
21
+ 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>" }]
23
+ }], propDecorators: { classHeaderTitle: [{
24
+ type: Input
25
+ }] } });
26
+
27
+ class CardTitleDirective {
28
+ }
29
+ CardTitleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: CardTitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
30
+ CardTitleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.7", type: CardTitleDirective, selector: "card-title, [card-title], [craftsjsCardTitle]", host: { classAttribute: "card-header-title" }, ngImport: i0 });
31
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: CardTitleDirective, decorators: [{
32
+ type: Directive,
33
+ args: [{
34
+ selector: 'card-title, [card-title], [craftsjsCardTitle]',
35
+ host: { class: 'card-header-title' }
36
+ }]
37
+ }] });
38
+
39
+ class CardBodyDirective {
40
+ }
41
+ CardBodyDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: CardBodyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
42
+ CardBodyDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.7", type: CardBodyDirective, selector: "card-body, [card-body], [craftsjsCardBody]", host: { classAttribute: "card-body" }, ngImport: i0 });
43
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: CardBodyDirective, decorators: [{
44
+ type: Directive,
45
+ args: [{
46
+ selector: 'card-body, [card-body], [craftsjsCardBody]',
47
+ host: { class: 'card-body' }
48
+ }]
49
+ }] });
50
+
51
+ class CardFooterDirective {
52
+ }
53
+ CardFooterDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: CardFooterDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
54
+ CardFooterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.7", type: CardFooterDirective, selector: "card-footer, [card-footer], [craftsjsCardFooter]", host: { classAttribute: "card-footer" }, ngImport: i0 });
55
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: CardFooterDirective, decorators: [{
56
+ type: Directive,
57
+ args: [{
58
+ selector: 'card-footer, [card-footer], [craftsjsCardFooter]',
59
+ host: { class: 'card-footer' }
60
+ }]
61
+ }] });
62
+
63
+ class CardDividerDirective {
64
+ }
65
+ CardDividerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: CardDividerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
66
+ CardDividerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.7", type: CardDividerDirective, selector: "card-divider, [card-divider], [craftsjsCardDivider]", host: { classAttribute: "card-divider" }, ngImport: i0 });
67
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: CardDividerDirective, decorators: [{
68
+ type: Directive,
69
+ args: [{
70
+ selector: 'card-divider, [card-divider], [craftsjsCardDivider]',
71
+ host: {
72
+ class: 'card-divider'
73
+ }
74
+ }]
75
+ }] });
76
+
77
+ class CardHeaderMarkDirective {
78
+ }
79
+ CardHeaderMarkDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: CardHeaderMarkDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
80
+ CardHeaderMarkDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.7", type: CardHeaderMarkDirective, selector: "card-header-mark, [card-header-mark], [craftsjsCardHeaderMark]", host: { classAttribute: "card-header-subtitle-mark" }, ngImport: i0 });
81
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: CardHeaderMarkDirective, decorators: [{
82
+ type: Directive,
83
+ args: [{
84
+ selector: 'card-header-mark, [card-header-mark], [craftsjsCardHeaderMark]',
85
+ host: {
86
+ class: 'card-header-subtitle-mark'
87
+ }
88
+ }]
89
+ }] });
90
+
91
+ class CardHeaderSubtitleDirective {
92
+ }
93
+ CardHeaderSubtitleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: CardHeaderSubtitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
94
+ CardHeaderSubtitleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.7", type: CardHeaderSubtitleDirective, selector: "card-header-subtitle, [card-header-subtitle], [craftsjsCardHeaderSubtitle]", host: { classAttribute: "card-header-subtitle-h3" }, ngImport: i0 });
95
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: CardHeaderSubtitleDirective, decorators: [{
96
+ type: Directive,
97
+ args: [{
98
+ selector: 'card-header-subtitle, [card-header-subtitle], [craftsjsCardHeaderSubtitle]',
99
+ host: {
100
+ class: 'card-header-subtitle-h3'
101
+ }
102
+ }]
103
+ }] });
104
+
105
+ function mixinColor(base, defaultColor) {
106
+ return class extends base {
107
+ constructor(...args) {
108
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-argument
109
+ super(...args);
110
+ this.color = defaultColor;
111
+ }
112
+ get color() { return this._color; }
113
+ set color(value) {
114
+ const colorPalette = value || defaultColor;
115
+ if (colorPalette !== this._color) {
116
+ if (this._color) {
117
+ this._elementRef.nativeElement.classList.remove(`${this._color}`);
118
+ }
119
+ if (colorPalette) {
120
+ this._elementRef.nativeElement.classList.add(`${colorPalette}`);
121
+ }
122
+ this._color = colorPalette;
123
+ }
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
+ }
139
+ CardHeaderOvalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: CardHeaderOvalComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
140
+ CardHeaderOvalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.7", 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 });
141
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.7", 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>", styles: [""] }]
146
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
147
+
148
+ class CardHeaderLinearComponent {
149
+ }
150
+ CardHeaderLinearComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: CardHeaderLinearComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
151
+ CardHeaderLinearComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.7", 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 });
152
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.7", 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>", styles: [""] }]
157
+ }] });
158
+
159
+ class CardModule {
160
+ }
161
+ CardModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: CardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
162
+ CardModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: CardModule, declarations: [CardComponent,
163
+ CardHeaderComponent,
164
+ CardTitleDirective,
165
+ CardBodyDirective,
166
+ CardFooterDirective,
167
+ CardDividerDirective,
168
+ CardHeaderMarkDirective,
169
+ CardHeaderSubtitleDirective,
170
+ CardHeaderOvalComponent,
171
+ CardHeaderLinearComponent], imports: [CommonModule], exports: [CardComponent,
172
+ CardHeaderComponent,
173
+ CardTitleDirective,
174
+ CardBodyDirective,
175
+ CardFooterDirective,
176
+ CardDividerDirective,
177
+ CardHeaderSubtitleDirective,
178
+ CardHeaderMarkDirective,
179
+ CardHeaderOvalComponent,
180
+ CardHeaderLinearComponent] });
181
+ CardModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: CardModule, imports: [[
182
+ CommonModule
183
+ ]] });
184
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: CardModule, decorators: [{
185
+ type: NgModule,
186
+ args: [{
187
+ imports: [
188
+ CommonModule
189
+ ],
190
+ declarations: [
191
+ CardComponent,
192
+ CardHeaderComponent,
193
+ CardTitleDirective,
194
+ CardBodyDirective,
195
+ CardFooterDirective,
196
+ CardDividerDirective,
197
+ CardHeaderMarkDirective,
198
+ CardHeaderSubtitleDirective,
199
+ CardHeaderOvalComponent,
200
+ CardHeaderLinearComponent
201
+ ],
202
+ exports: [
203
+ CardComponent,
204
+ CardHeaderComponent,
205
+ CardTitleDirective,
206
+ CardBodyDirective,
207
+ CardFooterDirective,
208
+ CardDividerDirective,
209
+ CardHeaderSubtitleDirective,
210
+ CardHeaderMarkDirective,
211
+ CardHeaderOvalComponent,
212
+ CardHeaderLinearComponent
213
+ ]
214
+ }]
215
+ }] });
216
+
217
+ /**
218
+ * Generated bundle index. Do not edit.
219
+ */
220
+
221
+ export { CardBodyDirective, CardComponent, CardDividerDirective, CardFooterDirective, CardHeaderComponent, CardHeaderLinearComponent, CardHeaderMarkDirective, CardHeaderOvalBase, CardHeaderOvalComponent, CardHeaderSubtitleDirective, CardModule, CardTitleDirective, _CardHeaderOvalMixinBase, mixinColor };
222
+ //# sourceMappingURL=craftsjs-card.mjs.map
@@ -0,0 +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-h3'\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;;0GAAb,aAAa;8FAAb,aAAa,uFCV1B,+EAC8C;2FDSjC,aAAa;kBAPzB,SAAS;+BACE,eAAe,iBAEV,iBAAiB,CAAC,IAAI,mBACpB,uBAAuB,CAAC,MAAM,QACzC,EAAE,KAAK,EAAE,MAAM,EAAE;;;MEIZ,mBAAmB;;gHAAnB,mBAAmB;oGAAnB,mBAAmB,wLCZhC,qTAKM;2FDOO,mBAAmB;kBAV/B,SAAS;+BACE,aAAa,iBAER,iBAAiB,CAAC,IAAI,mBACpB,uBAAuB,CAAC,MAAM,UACvC,CAAC,OAAO,CAAC,QACX;wBACJ,KAAK,EAAE,uCAAuC;qBAC/C;8BAID,gBAAgB;sBADf,KAAK;;;MEPK,kBAAkB;;+GAAlB,kBAAkB;mGAAlB,kBAAkB;2FAAlB,kBAAkB;kBAJ9B,SAAS;mBAAC;oBACT,QAAQ,EAAE,+CAA+C;oBACzD,IAAI,EAAE,EAAE,KAAK,EAAE,mBAAmB,EAAE;iBACrC;;;MCCY,iBAAiB;;8GAAjB,iBAAiB;kGAAjB,iBAAiB;2FAAjB,iBAAiB;kBAJ7B,SAAS;mBAAC;oBACT,QAAQ,EAAE,4CAA4C;oBACtD,IAAI,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE;iBAC7B;;;MCCY,mBAAmB;;gHAAnB,mBAAmB;oGAAnB,mBAAmB;2FAAnB,mBAAmB;kBAJ/B,SAAS;mBAAC;oBACT,QAAQ,EAAE,kDAAkD;oBAC5D,IAAI,EAAE,EAAE,KAAK,EAAE,aAAa,EAA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uBAAuB;wBACvB,yBAAyB;qBAC1B;oBACD,OAAO,EAAE;wBACP,aAAa;wBACb,mBAAmB;wBACnB,kBAAkB;wBAClB,iBAAiB;wBACjB,mBAAmB;wBACnB,oBAAoB;wBACpB,2BAA2B;wBAC3B,uBAAuB;wBACvB,uBAAuB;wBACvB,yBAAyB;qBAC1B;iBACF;;;ACzCD;;;;;;"}
@@ -0,0 +1,222 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Component, ViewEncapsulation, ChangeDetectionStrategy, Input, Directive, NgModule } from '@angular/core';
3
+ import { CommonModule } from '@angular/common';
4
+
5
+ class CardComponent {
6
+ }
7
+ CardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: CardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
8
+ CardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.7", 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 });
9
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: CardComponent, decorators: [{
10
+ 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>" }]
12
+ }] });
13
+
14
+ class CardHeaderComponent {
15
+ }
16
+ CardHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: CardHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
17
+ CardHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.7", 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 });
18
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: CardHeaderComponent, decorators: [{
19
+ type: Component,
20
+ args: [{ selector: 'card-header', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, inputs: ['color'], host: {
21
+ 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>" }]
23
+ }], propDecorators: { classHeaderTitle: [{
24
+ type: Input
25
+ }] } });
26
+
27
+ class CardTitleDirective {
28
+ }
29
+ CardTitleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: CardTitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
30
+ CardTitleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.7", type: CardTitleDirective, selector: "card-title, [card-title], [craftsjsCardTitle]", host: { classAttribute: "card-header-title" }, ngImport: i0 });
31
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: CardTitleDirective, decorators: [{
32
+ type: Directive,
33
+ args: [{
34
+ selector: 'card-title, [card-title], [craftsjsCardTitle]',
35
+ host: { class: 'card-header-title' }
36
+ }]
37
+ }] });
38
+
39
+ class CardBodyDirective {
40
+ }
41
+ CardBodyDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: CardBodyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
42
+ CardBodyDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.7", type: CardBodyDirective, selector: "card-body, [card-body], [craftsjsCardBody]", host: { classAttribute: "card-body" }, ngImport: i0 });
43
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: CardBodyDirective, decorators: [{
44
+ type: Directive,
45
+ args: [{
46
+ selector: 'card-body, [card-body], [craftsjsCardBody]',
47
+ host: { class: 'card-body' }
48
+ }]
49
+ }] });
50
+
51
+ class CardFooterDirective {
52
+ }
53
+ CardFooterDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: CardFooterDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
54
+ CardFooterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.7", type: CardFooterDirective, selector: "card-footer, [card-footer], [craftsjsCardFooter]", host: { classAttribute: "card-footer" }, ngImport: i0 });
55
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: CardFooterDirective, decorators: [{
56
+ type: Directive,
57
+ args: [{
58
+ selector: 'card-footer, [card-footer], [craftsjsCardFooter]',
59
+ host: { class: 'card-footer' }
60
+ }]
61
+ }] });
62
+
63
+ class CardDividerDirective {
64
+ }
65
+ CardDividerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: CardDividerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
66
+ CardDividerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.7", type: CardDividerDirective, selector: "card-divider, [card-divider], [craftsjsCardDivider]", host: { classAttribute: "card-divider" }, ngImport: i0 });
67
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: CardDividerDirective, decorators: [{
68
+ type: Directive,
69
+ args: [{
70
+ selector: 'card-divider, [card-divider], [craftsjsCardDivider]',
71
+ host: {
72
+ class: 'card-divider'
73
+ }
74
+ }]
75
+ }] });
76
+
77
+ class CardHeaderMarkDirective {
78
+ }
79
+ CardHeaderMarkDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: CardHeaderMarkDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
80
+ CardHeaderMarkDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.7", type: CardHeaderMarkDirective, selector: "card-header-mark, [card-header-mark], [craftsjsCardHeaderMark]", host: { classAttribute: "card-header-subtitle-mark" }, ngImport: i0 });
81
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: CardHeaderMarkDirective, decorators: [{
82
+ type: Directive,
83
+ args: [{
84
+ selector: 'card-header-mark, [card-header-mark], [craftsjsCardHeaderMark]',
85
+ host: {
86
+ class: 'card-header-subtitle-mark'
87
+ }
88
+ }]
89
+ }] });
90
+
91
+ class CardHeaderSubtitleDirective {
92
+ }
93
+ CardHeaderSubtitleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: CardHeaderSubtitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
94
+ CardHeaderSubtitleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.7", type: CardHeaderSubtitleDirective, selector: "card-header-subtitle, [card-header-subtitle], [craftsjsCardHeaderSubtitle]", host: { classAttribute: "card-header-subtitle-h3" }, ngImport: i0 });
95
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: CardHeaderSubtitleDirective, decorators: [{
96
+ type: Directive,
97
+ args: [{
98
+ selector: 'card-header-subtitle, [card-header-subtitle], [craftsjsCardHeaderSubtitle]',
99
+ host: {
100
+ class: 'card-header-subtitle-h3'
101
+ }
102
+ }]
103
+ }] });
104
+
105
+ function mixinColor(base, defaultColor) {
106
+ return class extends base {
107
+ constructor(...args) {
108
+ // eslint-disable-next-line @typescript-eslint/no-unsafe-argument
109
+ super(...args);
110
+ this.color = defaultColor;
111
+ }
112
+ get color() { return this._color; }
113
+ set color(value) {
114
+ const colorPalette = value || defaultColor;
115
+ if (colorPalette !== this._color) {
116
+ if (this._color) {
117
+ this._elementRef.nativeElement.classList.remove(`${this._color}`);
118
+ }
119
+ if (colorPalette) {
120
+ this._elementRef.nativeElement.classList.add(`${colorPalette}`);
121
+ }
122
+ this._color = colorPalette;
123
+ }
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
+ }
139
+ CardHeaderOvalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: CardHeaderOvalComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
140
+ CardHeaderOvalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.7", 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 });
141
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.7", 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>", styles: [""] }]
146
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
147
+
148
+ class CardHeaderLinearComponent {
149
+ }
150
+ CardHeaderLinearComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: CardHeaderLinearComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
151
+ CardHeaderLinearComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.7", 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 });
152
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.7", 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>", styles: [""] }]
157
+ }] });
158
+
159
+ class CardModule {
160
+ }
161
+ CardModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: CardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
162
+ CardModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: CardModule, declarations: [CardComponent,
163
+ CardHeaderComponent,
164
+ CardTitleDirective,
165
+ CardBodyDirective,
166
+ CardFooterDirective,
167
+ CardDividerDirective,
168
+ CardHeaderMarkDirective,
169
+ CardHeaderSubtitleDirective,
170
+ CardHeaderOvalComponent,
171
+ CardHeaderLinearComponent], imports: [CommonModule], exports: [CardComponent,
172
+ CardHeaderComponent,
173
+ CardTitleDirective,
174
+ CardBodyDirective,
175
+ CardFooterDirective,
176
+ CardDividerDirective,
177
+ CardHeaderSubtitleDirective,
178
+ CardHeaderMarkDirective,
179
+ CardHeaderOvalComponent,
180
+ CardHeaderLinearComponent] });
181
+ CardModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: CardModule, imports: [[
182
+ CommonModule
183
+ ]] });
184
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.7", ngImport: i0, type: CardModule, decorators: [{
185
+ type: NgModule,
186
+ args: [{
187
+ imports: [
188
+ CommonModule
189
+ ],
190
+ declarations: [
191
+ CardComponent,
192
+ CardHeaderComponent,
193
+ CardTitleDirective,
194
+ CardBodyDirective,
195
+ CardFooterDirective,
196
+ CardDividerDirective,
197
+ CardHeaderMarkDirective,
198
+ CardHeaderSubtitleDirective,
199
+ CardHeaderOvalComponent,
200
+ CardHeaderLinearComponent
201
+ ],
202
+ exports: [
203
+ CardComponent,
204
+ CardHeaderComponent,
205
+ CardTitleDirective,
206
+ CardBodyDirective,
207
+ CardFooterDirective,
208
+ CardDividerDirective,
209
+ CardHeaderSubtitleDirective,
210
+ CardHeaderMarkDirective,
211
+ CardHeaderOvalComponent,
212
+ CardHeaderLinearComponent
213
+ ]
214
+ }]
215
+ }] });
216
+
217
+ /**
218
+ * Generated bundle index. Do not edit.
219
+ */
220
+
221
+ export { CardBodyDirective, CardComponent, CardDividerDirective, CardFooterDirective, CardHeaderComponent, CardHeaderLinearComponent, CardHeaderMarkDirective, CardHeaderOvalBase, CardHeaderOvalComponent, CardHeaderSubtitleDirective, CardModule, CardTitleDirective, _CardHeaderOvalMixinBase, mixinColor };
222
+ //# sourceMappingURL=craftsjs-card.mjs.map
@@ -0,0 +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-h3'\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;;0GAAb,aAAa;8FAAb,aAAa,uFCV1B,+EAC8C;2FDSjC,aAAa;kBAPzB,SAAS;+BACE,eAAe,iBAEV,iBAAiB,CAAC,IAAI,mBACpB,uBAAuB,CAAC,MAAM,QACzC,EAAE,KAAK,EAAE,MAAM,EAAE;;;MEIZ,mBAAmB;;gHAAnB,mBAAmB;oGAAnB,mBAAmB,wLCZhC,qTAKM;2FDOO,mBAAmB;kBAV/B,SAAS;+BACE,aAAa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AGxB;wBACJ,KAAK,EAAE,2BAA2B;qBACnC,mBACgB,uBAAuB,CAAC,MAAM;;;MEiCpC,UAAU;;uGAAV,UAAU;wGAAV,UAAU,iBAxBnB,aAAa;QACb,mBAAmB;QACnB,kBAAkB;QAClB,iBAAiB;QACjB,mBAAmB;QACnB,oBAAoB;QACpB,uBAAuB;QACvB,2BAA2B;QAC3B,uBAAuB;QACvB,yBAAyB,aAZzB,YAAY,aAeZ,aAAa;QACb,mBAAmB;QACnB,kBAAkB;QAClB,iBAAiB;QACjB,mBAAmB;QACnB,oBAAoB;QACpB,2BAA2B;QAC3B,uBAAuB;QACvB,uBAAuB;QACvB,yBAAyB;wGAGhB,UAAU,YA5BZ;YACP,YAAY;SACb;2FA0BU,UAAU;kBA7BtB,QAAQ;mBAAC;oBACR,OAAO,EAAE;wBACP,YAAY;qBACb;oBACD,YAAY,EAAE;wBACZ,aAAa;wBACb,mBAAmB;wBACnB,kBAAkB;wBAClB,iBAAiB;wBACjB,mBAAmB;wBACnB,oBAAoB;wBACpB,uBAAuB;wBACvB,2BAA2B;wBAC3B,uBAAuB;wBACvB,yBAAyB;qBAC1B;oBACD,OAAO,EAAE;wBACP,aAAa;wBACb,mBAAmB;wBACnB,kBAAkB;wBAClB,iBAAiB;wBACjB,mBAAmB;wBACnB,oBAAoB;wBACpB,2BAA2B;wBAC3B,uBAAuB;wBACvB,uBAAuB;wBACvB,yBAAyB;qBAC1B;iBACF;;;ACzCD;;;;;;"}
@@ -1,2 +1,5 @@
1
+ import * as i0 from "@angular/core";
1
2
  export declare class CardComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<CardComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<CardComponent, "craftsjs-card", never, {}, {}, never, ["*", "card-footer"]>;
2
5
  }
@@ -1,2 +1,17 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./card.component";
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";
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";
1
13
  export declare class CardModule {
14
+ 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]>;
16
+ static ɵinj: i0.ɵɵInjectorDeclaration<CardModule>;
2
17
  }
@@ -1,3 +1,6 @@
1
+ import * as i0 from "@angular/core";
1
2
  export declare class CardHeaderComponent {
2
3
  classHeaderTitle: string;
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<CardHeaderComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<CardHeaderComponent, "card-header", never, { "color": "color"; "classHeaderTitle": "classHeaderTitle"; }, {}, never, ["card-header-oval", "card-header-linear", "card-header-mark", "card-header-subtitle"]>;
3
6
  }
@@ -1,2 +1,5 @@
1
+ import * as i0 from "@angular/core";
1
2
  export declare class CardHeaderLinearComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<CardHeaderLinearComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<CardHeaderLinearComponent, "card-header-linear", never, {}, {}, never, ["card-title"]>;
2
5
  }
@@ -1,4 +1,5 @@
1
1
  import { ElementRef } from '@angular/core';
2
+ import * as i0 from "@angular/core";
2
3
  export declare class CardHeaderOvalBase {
3
4
  _elementRef: ElementRef;
4
5
  constructor(_elementRef: ElementRef);
@@ -6,4 +7,6 @@ export declare class CardHeaderOvalBase {
6
7
  export declare const _CardHeaderOvalMixinBase: typeof CardHeaderOvalBase;
7
8
  export declare class CardHeaderOvalComponent extends _CardHeaderOvalMixinBase {
8
9
  constructor(_elementRef: ElementRef);
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<CardHeaderOvalComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<CardHeaderOvalComponent, "card-header-oval", never, { "color": "color"; }, {}, never, ["card-title"]>;
9
12
  }
@@ -1,2 +1,5 @@
1
+ import * as i0 from "@angular/core";
1
2
  export declare class CardBodyDirective {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<CardBodyDirective, never>;
4
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CardBodyDirective, "card-body, [card-body], [craftsjsCardBody]", never, {}, {}, never>;
2
5
  }
@@ -1,2 +1,5 @@
1
+ import * as i0 from "@angular/core";
1
2
  export declare class CardDividerDirective {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<CardDividerDirective, never>;
4
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CardDividerDirective, "card-divider, [card-divider], [craftsjsCardDivider]", never, {}, {}, never>;
2
5
  }
@@ -1,2 +1,5 @@
1
+ import * as i0 from "@angular/core";
1
2
  export declare class CardFooterDirective {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<CardFooterDirective, never>;
4
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CardFooterDirective, "card-footer, [card-footer], [craftsjsCardFooter]", never, {}, {}, never>;
2
5
  }
@@ -1,2 +1,5 @@
1
+ import * as i0 from "@angular/core";
1
2
  export declare class CardHeaderMarkDirective {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<CardHeaderMarkDirective, never>;
4
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CardHeaderMarkDirective, "card-header-mark, [card-header-mark], [craftsjsCardHeaderMark]", never, {}, {}, never>;
2
5
  }
@@ -1,2 +1,5 @@
1
+ import * as i0 from "@angular/core";
1
2
  export declare class CardHeaderSubtitleDirective {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<CardHeaderSubtitleDirective, never>;
4
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CardHeaderSubtitleDirective, "card-header-subtitle, [card-header-subtitle], [craftsjsCardHeaderSubtitle]", never, {}, {}, never>;
2
5
  }
@@ -1,2 +1,5 @@
1
+ import * as i0 from "@angular/core";
1
2
  export declare class CardTitleDirective {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<CardTitleDirective, never>;
4
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CardTitleDirective, "card-title, [card-title], [craftsjsCardTitle]", never, {}, {}, never>;
2
5
  }