codexly-ui 0.16.0 → 0.16.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.
- package/fesm2022/codexly-ui.mjs +14 -14
- package/fesm2022/codexly-ui.mjs.map +1 -1
- package/package.json +1 -1
package/fesm2022/codexly-ui.mjs
CHANGED
|
@@ -16713,12 +16713,12 @@ class ClxTableProductCellComponent {
|
|
|
16713
16713
|
price = input('', ...(ngDevMode ? [{ debugName: "price" }] : /* istanbul ignore next */ []));
|
|
16714
16714
|
soldQty = input('', ...(ngDevMode ? [{ debugName: "soldQty" }] : /* istanbul ignore next */ []));
|
|
16715
16715
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: ClxTableProductCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
16716
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.15", type: ClxTableProductCellComponent, isStandalone: true, selector: "clx-table-product-cell", inputs: { imageSrc: { classPropertyName: "imageSrc", publicName: "imageSrc", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: true, transformFunction: null }, category: { classPropertyName: "category", publicName: "category", isSignal: true, isRequired: false, transformFunction: null }, price: { classPropertyName: "price", publicName: "price", isSignal: true, isRequired: false, transformFunction: null }, soldQty: { classPropertyName: "soldQty", publicName: "soldQty", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "flex items-center
|
|
16717
|
-
<div class="flex items-center gap-2
|
|
16716
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.15", type: ClxTableProductCellComponent, isStandalone: true, selector: "clx-table-product-cell", inputs: { imageSrc: { classPropertyName: "imageSrc", publicName: "imageSrc", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: true, transformFunction: null }, category: { classPropertyName: "category", publicName: "category", isSignal: true, isRequired: false, transformFunction: null }, price: { classPropertyName: "price", publicName: "price", isSignal: true, isRequired: false, transformFunction: null }, soldQty: { classPropertyName: "soldQty", publicName: "soldQty", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "flex items-center gap-2 w-full min-w-0" }, ngImport: i0, template: `
|
|
16717
|
+
<div class="flex items-center gap-2 min-w-0 flex-1">
|
|
16718
16718
|
@if (imageSrc()) {
|
|
16719
|
-
<img [src]="imageSrc()" [alt]="name()" class="w-
|
|
16719
|
+
<img [src]="imageSrc()" [alt]="name()" class="w-8 h-8 rounded-lg object-cover shrink-0 bg-clx-surface-2" />
|
|
16720
16720
|
} @else {
|
|
16721
|
-
<div class="w-
|
|
16721
|
+
<div class="w-8 h-8 rounded-lg shrink-0 bg-clx-surface-2"></div>
|
|
16722
16722
|
}
|
|
16723
16723
|
<div class="min-w-0">
|
|
16724
16724
|
<p class="text-sm text-clx-text-label truncate">{{ name() }}</p>
|
|
@@ -16727,10 +16727,10 @@ class ClxTableProductCellComponent {
|
|
|
16727
16727
|
}
|
|
16728
16728
|
</div>
|
|
16729
16729
|
</div>
|
|
16730
|
-
<div class="text-right shrink-0">
|
|
16731
|
-
<p class="text-sm font-semibold text-clx-text tabular-nums">{{ price() }}</p>
|
|
16730
|
+
<div class="text-right shrink-0 min-w-0">
|
|
16731
|
+
<p class="text-sm font-semibold text-clx-text tabular-nums truncate">{{ price() }}</p>
|
|
16732
16732
|
@if (soldQty()) {
|
|
16733
|
-
<p class="text-xs text-clx-text-muted">{{ soldQty() }} vendidos</p>
|
|
16733
|
+
<p class="text-xs text-clx-text-muted whitespace-nowrap">{{ soldQty() }} vendidos</p>
|
|
16734
16734
|
}
|
|
16735
16735
|
</div>
|
|
16736
16736
|
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
@@ -16742,13 +16742,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImpo
|
|
|
16742
16742
|
standalone: true,
|
|
16743
16743
|
encapsulation: ViewEncapsulation.None,
|
|
16744
16744
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
16745
|
-
host: { class: 'flex items-center
|
|
16745
|
+
host: { class: 'flex items-center gap-2 w-full min-w-0' },
|
|
16746
16746
|
template: `
|
|
16747
|
-
<div class="flex items-center gap-2
|
|
16747
|
+
<div class="flex items-center gap-2 min-w-0 flex-1">
|
|
16748
16748
|
@if (imageSrc()) {
|
|
16749
|
-
<img [src]="imageSrc()" [alt]="name()" class="w-
|
|
16749
|
+
<img [src]="imageSrc()" [alt]="name()" class="w-8 h-8 rounded-lg object-cover shrink-0 bg-clx-surface-2" />
|
|
16750
16750
|
} @else {
|
|
16751
|
-
<div class="w-
|
|
16751
|
+
<div class="w-8 h-8 rounded-lg shrink-0 bg-clx-surface-2"></div>
|
|
16752
16752
|
}
|
|
16753
16753
|
<div class="min-w-0">
|
|
16754
16754
|
<p class="text-sm text-clx-text-label truncate">{{ name() }}</p>
|
|
@@ -16757,10 +16757,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImpo
|
|
|
16757
16757
|
}
|
|
16758
16758
|
</div>
|
|
16759
16759
|
</div>
|
|
16760
|
-
<div class="text-right shrink-0">
|
|
16761
|
-
<p class="text-sm font-semibold text-clx-text tabular-nums">{{ price() }}</p>
|
|
16760
|
+
<div class="text-right shrink-0 min-w-0">
|
|
16761
|
+
<p class="text-sm font-semibold text-clx-text tabular-nums truncate">{{ price() }}</p>
|
|
16762
16762
|
@if (soldQty()) {
|
|
16763
|
-
<p class="text-xs text-clx-text-muted">{{ soldQty() }} vendidos</p>
|
|
16763
|
+
<p class="text-xs text-clx-text-muted whitespace-nowrap">{{ soldQty() }} vendidos</p>
|
|
16764
16764
|
}
|
|
16765
16765
|
</div>
|
|
16766
16766
|
`,
|