@craftsjs/card 4.0.0 → 5.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.
- package/LICENSE +21 -21
- package/README.md +115 -114
- package/_craftsjs-card.theme.scss +135 -135
- package/esm2020/craftsjs-card.mjs +4 -4
- package/esm2020/lib/card.component.mjs +11 -11
- package/esm2020/lib/card.module.mjs +69 -71
- package/esm2020/lib/components/card-header/card-header.component.mjs +15 -15
- package/esm2020/lib/components/card-header/components/card-header-linear/card-header-linear.component.mjs +13 -13
- package/esm2020/lib/components/card-header/components/card-header-oval/card-header-oval.component.mjs +23 -23
- package/esm2020/lib/directives/card-body.directive.mjs +14 -14
- package/esm2020/lib/directives/card-divider.directive.mjs +16 -16
- package/esm2020/lib/directives/card-footer.directive.mjs +14 -14
- package/esm2020/lib/directives/card-header-mark.directive.mjs +16 -16
- package/esm2020/lib/directives/card-header-subtitle.directive.mjs +16 -16
- package/esm2020/lib/directives/card-title.directive.mjs +14 -14
- package/esm2020/lib/mixins/color.mjs +23 -23
- package/esm2020/public-api.mjs +13 -13
- package/fesm2015/craftsjs-card.mjs +189 -190
- package/fesm2015/craftsjs-card.mjs.map +1 -1
- package/fesm2020/craftsjs-card.mjs +189 -190
- package/fesm2020/craftsjs-card.mjs.map +1 -1
- package/{craftsjs-card.d.ts → index.d.ts} +5 -5
- package/lib/card.component.d.ts +5 -5
- package/lib/card.module.d.ts +17 -17
- package/lib/components/card-header/card-header.component.d.ts +6 -6
- package/lib/components/card-header/components/card-header-linear/card-header-linear.component.d.ts +5 -5
- package/lib/components/card-header/components/card-header-oval/card-header-oval.component.d.ts +12 -12
- package/lib/directives/card-body.directive.d.ts +5 -5
- package/lib/directives/card-divider.directive.d.ts +5 -5
- package/lib/directives/card-footer.directive.d.ts +5 -5
- package/lib/directives/card-header-mark.directive.d.ts +5 -5
- package/lib/directives/card-header-subtitle.directive.d.ts +5 -5
- package/lib/directives/card-title.directive.d.ts +5 -5
- package/lib/mixins/color.d.ts +6 -6
- package/package.json +8 -8
- package/public-api.d.ts +12 -12
|
@@ -2,221 +2,220 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { Component, ViewEncapsulation, ChangeDetectionStrategy, Input, Directive, NgModule } from '@angular/core';
|
|
3
3
|
import { CommonModule } from '@angular/common';
|
|
4
4
|
|
|
5
|
-
class CardComponent {
|
|
6
|
-
}
|
|
7
|
-
CardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8
|
-
CardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
9
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10
|
-
type: Component,
|
|
11
|
-
args: [{ selector: 'craftsjs-card', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'card' }, template: "<ng-content></ng-content>\
|
|
5
|
+
class CardComponent {
|
|
6
|
+
}
|
|
7
|
+
CardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
8
|
+
CardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: CardComponent, selector: "craftsjs-card", host: { classAttribute: "card" }, ngImport: i0, template: "<ng-content></ng-content>\n<ng-content select=\"card-footer\"></ng-content>", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
9
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", 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>\n<ng-content select=\"card-footer\"></ng-content>" }]
|
|
12
12
|
}] });
|
|
13
13
|
|
|
14
|
-
class CardHeaderComponent {
|
|
15
|
-
}
|
|
16
|
-
CardHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
17
|
-
CardHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
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>\
|
|
23
|
-
}], propDecorators: { classHeaderTitle: [{
|
|
24
|
-
type: Input
|
|
14
|
+
class CardHeaderComponent {
|
|
15
|
+
}
|
|
16
|
+
CardHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CardHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
17
|
+
CardHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", 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>\n<ng-content select=\"card-header-linear\"></ng-content>\n<div class=\"card-header-subtitle d-flex flex-column\">\n <ng-content select=\"card-header-mark\"></ng-content>\n <ng-content select=\"card-header-subtitle\"></ng-content>\n</div>", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", 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>\n<ng-content select=\"card-header-linear\"></ng-content>\n<div class=\"card-header-subtitle d-flex flex-column\">\n <ng-content select=\"card-header-mark\"></ng-content>\n <ng-content select=\"card-header-subtitle\"></ng-content>\n</div>" }]
|
|
23
|
+
}], propDecorators: { classHeaderTitle: [{
|
|
24
|
+
type: Input
|
|
25
25
|
}] } });
|
|
26
26
|
|
|
27
|
-
class CardTitleDirective {
|
|
28
|
-
}
|
|
29
|
-
CardTitleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
30
|
-
CardTitleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
32
|
-
type: Directive,
|
|
33
|
-
args: [{
|
|
34
|
-
selector: 'card-title, [card-title], [craftsjsCardTitle]',
|
|
35
|
-
host: { class: 'card-header-title' }
|
|
36
|
-
}]
|
|
27
|
+
class CardTitleDirective {
|
|
28
|
+
}
|
|
29
|
+
CardTitleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CardTitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
30
|
+
CardTitleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: CardTitleDirective, selector: "card-title, [card-title], [craftsjsCardTitle]", host: { classAttribute: "card-header-title" }, ngImport: i0 });
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", 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
37
|
}] });
|
|
38
38
|
|
|
39
|
-
class CardBodyDirective {
|
|
40
|
-
}
|
|
41
|
-
CardBodyDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
42
|
-
CardBodyDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
43
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
44
|
-
type: Directive,
|
|
45
|
-
args: [{
|
|
46
|
-
selector: 'card-body, [card-body], [craftsjsCardBody]',
|
|
47
|
-
host: { class: 'card-body' }
|
|
48
|
-
}]
|
|
39
|
+
class CardBodyDirective {
|
|
40
|
+
}
|
|
41
|
+
CardBodyDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CardBodyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
42
|
+
CardBodyDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: CardBodyDirective, selector: "card-body, [card-body], [craftsjsCardBody]", host: { classAttribute: "card-body" }, ngImport: i0 });
|
|
43
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CardBodyDirective, decorators: [{
|
|
44
|
+
type: Directive,
|
|
45
|
+
args: [{
|
|
46
|
+
selector: 'card-body, [card-body], [craftsjsCardBody]',
|
|
47
|
+
host: { class: 'card-body' }
|
|
48
|
+
}]
|
|
49
49
|
}] });
|
|
50
50
|
|
|
51
|
-
class CardFooterDirective {
|
|
52
|
-
}
|
|
53
|
-
CardFooterDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
54
|
-
CardFooterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
55
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
56
|
-
type: Directive,
|
|
57
|
-
args: [{
|
|
58
|
-
selector: 'card-footer, [card-footer], [craftsjsCardFooter]',
|
|
59
|
-
host: { class: 'card-footer' }
|
|
60
|
-
}]
|
|
51
|
+
class CardFooterDirective {
|
|
52
|
+
}
|
|
53
|
+
CardFooterDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CardFooterDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
54
|
+
CardFooterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: CardFooterDirective, selector: "card-footer, [card-footer], [craftsjsCardFooter]", host: { classAttribute: "card-footer" }, ngImport: i0 });
|
|
55
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CardFooterDirective, decorators: [{
|
|
56
|
+
type: Directive,
|
|
57
|
+
args: [{
|
|
58
|
+
selector: 'card-footer, [card-footer], [craftsjsCardFooter]',
|
|
59
|
+
host: { class: 'card-footer' }
|
|
60
|
+
}]
|
|
61
61
|
}] });
|
|
62
62
|
|
|
63
|
-
class CardDividerDirective {
|
|
64
|
-
}
|
|
65
|
-
CardDividerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
66
|
-
CardDividerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
67
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
68
|
-
type: Directive,
|
|
69
|
-
args: [{
|
|
70
|
-
selector: 'card-divider, [card-divider], [craftsjsCardDivider]',
|
|
71
|
-
host: {
|
|
72
|
-
class: 'card-divider'
|
|
73
|
-
}
|
|
74
|
-
}]
|
|
63
|
+
class CardDividerDirective {
|
|
64
|
+
}
|
|
65
|
+
CardDividerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CardDividerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
66
|
+
CardDividerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", type: CardDividerDirective, selector: "card-divider, [card-divider], [craftsjsCardDivider]", host: { classAttribute: "card-divider" }, ngImport: i0 });
|
|
67
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", 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
75
|
}] });
|
|
76
76
|
|
|
77
|
-
class CardHeaderMarkDirective {
|
|
78
|
-
}
|
|
79
|
-
CardHeaderMarkDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
80
|
-
CardHeaderMarkDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
81
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
82
|
-
type: Directive,
|
|
83
|
-
args: [{
|
|
84
|
-
selector: 'card-header-mark, [card-header-mark], [craftsjsCardHeaderMark]',
|
|
85
|
-
host: {
|
|
86
|
-
class: 'card-header-subtitle-mark'
|
|
87
|
-
}
|
|
88
|
-
}]
|
|
77
|
+
class CardHeaderMarkDirective {
|
|
78
|
+
}
|
|
79
|
+
CardHeaderMarkDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CardHeaderMarkDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
80
|
+
CardHeaderMarkDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", 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: "15.0.4", 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
89
|
}] });
|
|
90
90
|
|
|
91
|
-
class CardHeaderSubtitleDirective {
|
|
92
|
-
}
|
|
93
|
-
CardHeaderSubtitleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
94
|
-
CardHeaderSubtitleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
95
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
96
|
-
type: Directive,
|
|
97
|
-
args: [{
|
|
98
|
-
selector: 'card-header-subtitle, [card-header-subtitle], [craftsjsCardHeaderSubtitle]',
|
|
99
|
-
host: {
|
|
100
|
-
class: 'card-header-subtitle-h3'
|
|
101
|
-
}
|
|
102
|
-
}]
|
|
91
|
+
class CardHeaderSubtitleDirective {
|
|
92
|
+
}
|
|
93
|
+
CardHeaderSubtitleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CardHeaderSubtitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
94
|
+
CardHeaderSubtitleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.4", 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: "15.0.4", 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
103
|
}] });
|
|
104
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
|
-
};
|
|
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
126
|
}
|
|
127
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: "
|
|
140
|
-
CardHeaderOvalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
141
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
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>"
|
|
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: "15.0.4", ngImport: i0, type: CardHeaderOvalComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
140
|
+
CardHeaderOvalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", 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: "15.0.4", 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
146
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; } });
|
|
147
147
|
|
|
148
|
-
class CardHeaderLinearComponent {
|
|
149
|
-
}
|
|
150
|
-
CardHeaderLinearComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
151
|
-
CardHeaderLinearComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
152
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
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>"
|
|
148
|
+
class CardHeaderLinearComponent {
|
|
149
|
+
}
|
|
150
|
+
CardHeaderLinearComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CardHeaderLinearComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
151
|
+
CardHeaderLinearComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", 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: "15.0.4", 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>" }]
|
|
157
157
|
}] });
|
|
158
158
|
|
|
159
|
-
class CardModule {
|
|
160
|
-
}
|
|
161
|
-
CardModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
162
|
-
CardModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
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: "
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
]
|
|
214
|
-
}]
|
|
159
|
+
class CardModule {
|
|
160
|
+
}
|
|
161
|
+
CardModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
162
|
+
CardModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", 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: "15.0.4", ngImport: i0, type: CardModule, imports: [CommonModule] });
|
|
182
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: CardModule, decorators: [{
|
|
183
|
+
type: NgModule,
|
|
184
|
+
args: [{
|
|
185
|
+
imports: [
|
|
186
|
+
CommonModule
|
|
187
|
+
],
|
|
188
|
+
declarations: [
|
|
189
|
+
CardComponent,
|
|
190
|
+
CardHeaderComponent,
|
|
191
|
+
CardTitleDirective,
|
|
192
|
+
CardBodyDirective,
|
|
193
|
+
CardFooterDirective,
|
|
194
|
+
CardDividerDirective,
|
|
195
|
+
CardHeaderMarkDirective,
|
|
196
|
+
CardHeaderSubtitleDirective,
|
|
197
|
+
CardHeaderOvalComponent,
|
|
198
|
+
CardHeaderLinearComponent
|
|
199
|
+
],
|
|
200
|
+
exports: [
|
|
201
|
+
CardComponent,
|
|
202
|
+
CardHeaderComponent,
|
|
203
|
+
CardTitleDirective,
|
|
204
|
+
CardBodyDirective,
|
|
205
|
+
CardFooterDirective,
|
|
206
|
+
CardDividerDirective,
|
|
207
|
+
CardHeaderSubtitleDirective,
|
|
208
|
+
CardHeaderMarkDirective,
|
|
209
|
+
CardHeaderOvalComponent,
|
|
210
|
+
CardHeaderLinearComponent
|
|
211
|
+
]
|
|
212
|
+
}]
|
|
215
213
|
}] });
|
|
216
214
|
|
|
217
|
-
/**
|
|
218
|
-
* Generated bundle index. Do not edit.
|
|
215
|
+
/**
|
|
216
|
+
* Generated bundle index. Do not edit.
|
|
219
217
|
*/
|
|
220
218
|
|
|
221
219
|
export { CardBodyDirective, CardComponent, CardDividerDirective, CardFooterDirective, CardHeaderComponent, CardHeaderLinearComponent, CardHeaderMarkDirective, CardHeaderOvalBase, CardHeaderOvalComponent, CardHeaderSubtitleDirective, CardModule, CardTitleDirective, _CardHeaderOvalMixinBase, mixinColor };
|
|
222
220
|
//# sourceMappingURL=craftsjs-card.mjs.map
|
|
221
|
+
//# sourceMappingURL=craftsjs-card.mjs.map
|
|
@@ -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-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,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iCpC,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
|
+
{"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';\n\n\n@Component({\n selector: 'craftsjs-card',\n templateUrl: './card.component.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { class: 'card' }\n})\nexport class CardComponent { }\n","<ng-content></ng-content>\n<ng-content select=\"card-footer\"></ng-content>","import { Component, ViewEncapsulation, ChangeDetectionStrategy, Input } from '@angular/core';\n\n@Component({\n selector: 'card-header',\n templateUrl: './card-header.component.html',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n inputs: ['color'],\n host: {\n class: 'd-flex flex-row flex-wrap card-header'\n }\n})\nexport class CardHeaderComponent {\n @Input()\n classHeaderTitle: string;\n}\n","<ng-content select=\"card-header-oval\"></ng-content>\n<ng-content select=\"card-header-linear\"></ng-content>\n<div class=\"card-header-subtitle d-flex flex-column\">\n <ng-content select=\"card-header-mark\"></ng-content>\n <ng-content select=\"card-header-subtitle\"></ng-content>\n</div>","import { Directive } from '@angular/core';\n\n@Directive({\n selector: 'card-title, [card-title], [craftsjsCardTitle]',\n host: { class: 'card-header-title' }\n})\nexport class CardTitleDirective { }\n","import { Directive } from '@angular/core';\n\n@Directive({\n selector: 'card-body, [card-body], [craftsjsCardBody]',\n host: { class: 'card-body' }\n})\nexport class CardBodyDirective { }\n","import { Directive } from '@angular/core';\n\n@Directive({\n selector: 'card-footer, [card-footer], [craftsjsCardFooter]',\n host: { class: 'card-footer' }\n})\nexport class CardFooterDirective { }\n","import { Directive } from '@angular/core';\n\n@Directive({\n selector: 'card-divider, [card-divider], [craftsjsCardDivider]',\n host: {\n class: 'card-divider'\n }\n})\nexport class CardDividerDirective { }\n","import { Directive } from '@angular/core';\n\n@Directive({\n selector: 'card-header-mark, [card-header-mark], [craftsjsCardHeaderMark]',\n host: {\n class: 'card-header-subtitle-mark'\n }\n})\nexport class CardHeaderMarkDirective { }\n","import { Directive } from '@angular/core';\n\n@Directive({\n selector: 'card-header-subtitle, [card-header-subtitle], [craftsjsCardHeaderSubtitle]',\n host: {\n class: 'card-header-subtitle-h3'\n }\n})\nexport class CardHeaderSubtitleDirective { }\n","import { ElementRef } from '@angular/core';\n\n\nexport interface HasElementRef {\n _elementRef: ElementRef;\n}\n\nexport type Constructor<T> = new (...args: any[]) => T;\nexport function mixinColor<T extends Constructor<HasElementRef>>(\n base: T, defaultColor?: string): T {\n return class extends base {\n private _color: string;\n get color(): string { return this._color; }\n set color(value: string) {\n const colorPalette = value || defaultColor;\n if (colorPalette !== this._color) {\n if (this._color) {\n this._elementRef.nativeElement.classList.remove(`${this._color}`);\n }\n if (colorPalette) {\n this._elementRef.nativeElement.classList.add(`${colorPalette}`);\n }\n this._color = colorPalette;\n }\n }\n constructor(...args: any[]) {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n super(...args);\n this.color = defaultColor;\n }\n };\n}\n","import { Component, ElementRef, ChangeDetectionStrategy } from '@angular/core';\nimport { mixinColor } from '../../../../mixins/color';\n\nexport class CardHeaderOvalBase {\n constructor(public _elementRef: ElementRef) { }\n}\n\nexport const _CardHeaderOvalMixinBase:\n typeof CardHeaderOvalBase =\n mixinColor(CardHeaderOvalBase);\n\n@Component({\n selector: 'card-header-oval',\n templateUrl: './card-header-oval.component.html',\n styleUrls: ['./card-header-oval.component.scss'],\n host: {\n class: 'card-header-oval d-flex'\n },\n inputs: ['color'],\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class CardHeaderOvalComponent extends _CardHeaderOvalMixinBase {\n\n constructor(_elementRef: ElementRef) {\n super(_elementRef);\n }\n\n}\n","<ng-content select=\"card-title\"></ng-content>","import { Component, ChangeDetectionStrategy } from '@angular/core';\n\n@Component({\n selector: 'card-header-linear',\n templateUrl: './card-header-linear.component.html',\n styleUrls: ['./card-header-linear.component.scss'],\n host: {\n class: 'card-header-linear d-flex'\n },\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class CardHeaderLinearComponent { }\n","<ng-content select=\"card-title\"></ng-content>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { CardComponent } from './card.component';\nimport { CardHeaderComponent } from './components/card-header/card-header.component';\nimport { CardTitleDirective } from './directives/card-title.directive';\nimport { CardBodyDirective } from './directives/card-body.directive';\nimport { CardFooterDirective } from './directives/card-footer.directive';\nimport { CardDividerDirective } from './directives/card-divider.directive';\nimport { CardHeaderMarkDirective } from './directives/card-header-mark.directive';\nimport { CardHeaderSubtitleDirective } from './directives/card-header-subtitle.directive';\nimport { CardHeaderOvalComponent } from './components/card-header/components/card-header-oval/card-header-oval.component';\nimport { CardHeaderLinearComponent } from './components/card-header/components/card-header-linear/card-header-linear.component';\n\n@NgModule({\n imports: [\n CommonModule\n ],\n declarations: [\n CardComponent,\n CardHeaderComponent,\n CardTitleDirective,\n CardBodyDirective,\n CardFooterDirective,\n CardDividerDirective,\n CardHeaderMarkDirective,\n CardHeaderSubtitleDirective,\n CardHeaderOvalComponent,\n CardHeaderLinearComponent\n ],\n exports: [\n CardComponent,\n CardHeaderComponent,\n CardTitleDirective,\n CardBodyDirective,\n CardFooterDirective,\n CardDividerDirective,\n CardHeaderSubtitleDirective,\n CardHeaderMarkDirective,\n CardHeaderOvalComponent,\n CardHeaderLinearComponent\n ]\n})\nexport class CardModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nex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AAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAU,YA3BnB,YAAY,CAAA,EAAA,CAAA,CAAA;2FA2BH,UAAU,EAAA,UAAA,EAAA,CAAA;kBA7BtB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE;wBACP,YAAY;AACb,qBAAA;AACD,oBAAA,YAAY,EAAE;wBACZ,aAAa;wBACb,mBAAmB;wBACnB,kBAAkB;wBAClB,iBAAiB;wBACjB,mBAAmB;wBACnB,oBAAoB;wBACpB,uBAAuB;wBACvB,2BAA2B;wBAC3B,uBAAuB;wBACvB,yBAAyB;AAC1B,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,aAAa;wBACb,mBAAmB;wBACnB,kBAAkB;wBAClB,iBAAiB;wBACjB,mBAAmB;wBACnB,oBAAoB;wBACpB,2BAA2B;wBAC3B,uBAAuB;wBACvB,uBAAuB;wBACvB,yBAAyB;AAC1B,qBAAA;AACF,iBAAA,CAAA;;;ACzCD;;AAEG;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
/// <amd-module name="@craftsjs/card" />
|
|
5
|
-
export * from './public-api';
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
/// <amd-module name="@craftsjs/card" />
|
|
5
|
+
export * from './public-api';
|
package/lib/card.component.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class CardComponent {
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CardComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CardComponent, "craftsjs-card", never, {}, {}, never, ["*", "card-footer"]>;
|
|
5
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class CardComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CardComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CardComponent, "craftsjs-card", never, {}, {}, never, ["*", "card-footer"], false, never>;
|
|
5
|
+
}
|
package/lib/card.module.d.ts
CHANGED
|
@@ -1,17 +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";
|
|
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>;
|
|
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";
|
|
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>;
|
|
17
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class CardHeaderComponent {
|
|
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"]>;
|
|
6
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class CardHeaderComponent {
|
|
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"], false, never>;
|
|
6
|
+
}
|
package/lib/components/card-header/components/card-header-linear/card-header-linear.component.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
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"]>;
|
|
5
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
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"], false, never>;
|
|
5
|
+
}
|
package/lib/components/card-header/components/card-header-oval/card-header-oval.component.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class CardHeaderOvalBase {
|
|
4
|
-
_elementRef: ElementRef;
|
|
5
|
-
constructor(_elementRef: ElementRef);
|
|
6
|
-
}
|
|
7
|
-
export declare const _CardHeaderOvalMixinBase: typeof CardHeaderOvalBase;
|
|
8
|
-
export declare class CardHeaderOvalComponent extends _CardHeaderOvalMixinBase {
|
|
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"]>;
|
|
12
|
-
}
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class CardHeaderOvalBase {
|
|
4
|
+
_elementRef: ElementRef;
|
|
5
|
+
constructor(_elementRef: ElementRef);
|
|
6
|
+
}
|
|
7
|
+
export declare const _CardHeaderOvalMixinBase: typeof CardHeaderOvalBase;
|
|
8
|
+
export declare class CardHeaderOvalComponent extends _CardHeaderOvalMixinBase {
|
|
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"], false, never>;
|
|
12
|
+
}
|