@neuravision/ng-construct 0.3.0 → 0.3.1
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.
|
@@ -1632,7 +1632,7 @@ class AfCardComponent {
|
|
|
1632
1632
|
}
|
|
1633
1633
|
}
|
|
1634
1634
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.2", ngImport: i0, type: AfCardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1635
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.
|
|
1635
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "21.1.2", type: AfCardComponent, isStandalone: true, selector: "af-card", inputs: { interactive: { classPropertyName: "interactive", publicName: "interactive", isSignal: true, isRequired: false, transformFunction: null }, elevation: { classPropertyName: "elevation", publicName: "elevation", isSignal: true, isRequired: false, transformFunction: null }, padding: { classPropertyName: "padding", publicName: "padding", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { cardClick: "cardClick" }, queries: [{ propertyName: "headerRef", first: true, predicate: ["[header]"], descendants: true, read: ElementRef, isSignal: true }, { propertyName: "footerRef", first: true, predicate: ["[footer]"], descendants: true, read: ElementRef, isSignal: true }], ngImport: i0, template: `
|
|
1636
1636
|
<section
|
|
1637
1637
|
[class]="cardClasses()"
|
|
1638
1638
|
[style]="cardStyles()"
|
|
@@ -1641,20 +1641,16 @@ class AfCardComponent {
|
|
|
1641
1641
|
[attr.aria-label]="ariaLabel() || null"
|
|
1642
1642
|
(click)="onCardClick()"
|
|
1643
1643
|
(keydown)="onCardKeydown($event)">
|
|
1644
|
-
|
|
1645
|
-
<
|
|
1646
|
-
|
|
1647
|
-
</div>
|
|
1648
|
-
}
|
|
1644
|
+
<div class="ct-card__header" [hidden]="!hasHeader()">
|
|
1645
|
+
<ng-content select="[header]" />
|
|
1646
|
+
</div>
|
|
1649
1647
|
<div class="ct-card__body">
|
|
1650
1648
|
<ng-content select="[body]" />
|
|
1651
1649
|
<ng-content />
|
|
1652
1650
|
</div>
|
|
1653
|
-
|
|
1654
|
-
<
|
|
1655
|
-
|
|
1656
|
-
</div>
|
|
1657
|
-
}
|
|
1651
|
+
<div class="ct-card__footer" [hidden]="!hasFooter()">
|
|
1652
|
+
<ng-content select="[footer]" />
|
|
1653
|
+
</div>
|
|
1658
1654
|
</section>
|
|
1659
1655
|
`, isInline: true, styles: [":host{display:block}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1660
1656
|
}
|
|
@@ -1669,20 +1665,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.2", ngImpor
|
|
|
1669
1665
|
[attr.aria-label]="ariaLabel() || null"
|
|
1670
1666
|
(click)="onCardClick()"
|
|
1671
1667
|
(keydown)="onCardKeydown($event)">
|
|
1672
|
-
|
|
1673
|
-
<
|
|
1674
|
-
|
|
1675
|
-
</div>
|
|
1676
|
-
}
|
|
1668
|
+
<div class="ct-card__header" [hidden]="!hasHeader()">
|
|
1669
|
+
<ng-content select="[header]" />
|
|
1670
|
+
</div>
|
|
1677
1671
|
<div class="ct-card__body">
|
|
1678
1672
|
<ng-content select="[body]" />
|
|
1679
1673
|
<ng-content />
|
|
1680
1674
|
</div>
|
|
1681
|
-
|
|
1682
|
-
<
|
|
1683
|
-
|
|
1684
|
-
</div>
|
|
1685
|
-
}
|
|
1675
|
+
<div class="ct-card__footer" [hidden]="!hasFooter()">
|
|
1676
|
+
<ng-content select="[footer]" />
|
|
1677
|
+
</div>
|
|
1686
1678
|
</section>
|
|
1687
1679
|
`, styles: [":host{display:block}\n"] }]
|
|
1688
1680
|
}], propDecorators: { interactive: [{ type: i0.Input, args: [{ isSignal: true, alias: "interactive", required: false }] }], elevation: [{ type: i0.Input, args: [{ isSignal: true, alias: "elevation", required: false }] }], padding: [{ type: i0.Input, args: [{ isSignal: true, alias: "padding", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], cardClick: [{ type: i0.Output, args: ["cardClick"] }], headerRef: [{ type: i0.ContentChild, args: ['[header]', { ...{ read: ElementRef }, isSignal: true }] }], footerRef: [{ type: i0.ContentChild, args: ['[footer]', { ...{ read: ElementRef }, isSignal: true }] }] } });
|
|
@@ -2100,11 +2092,9 @@ class AfModalComponent {
|
|
|
2100
2092
|
<ng-content select="[body]"></ng-content>
|
|
2101
2093
|
<ng-content></ng-content>
|
|
2102
2094
|
</div>
|
|
2103
|
-
|
|
2104
|
-
<
|
|
2105
|
-
|
|
2106
|
-
</div>
|
|
2107
|
-
}
|
|
2095
|
+
<div class="ct-modal__footer" [hidden]="!hasFooter()">
|
|
2096
|
+
<ng-content select="[footer]"></ng-content>
|
|
2097
|
+
</div>
|
|
2108
2098
|
</div>
|
|
2109
2099
|
</div>
|
|
2110
2100
|
}
|
|
@@ -2144,11 +2134,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.2", ngImpor
|
|
|
2144
2134
|
<ng-content select="[body]"></ng-content>
|
|
2145
2135
|
<ng-content></ng-content>
|
|
2146
2136
|
</div>
|
|
2147
|
-
|
|
2148
|
-
<
|
|
2149
|
-
|
|
2150
|
-
</div>
|
|
2151
|
-
}
|
|
2137
|
+
<div class="ct-modal__footer" [hidden]="!hasFooter()">
|
|
2138
|
+
<ng-content select="[footer]"></ng-content>
|
|
2139
|
+
</div>
|
|
2152
2140
|
</div>
|
|
2153
2141
|
</div>
|
|
2154
2142
|
}
|