codexly-ui 0.10.58 → 0.10.60
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 +142 -204
- package/fesm2022/codexly-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/codexly-ui.d.ts +7 -9
package/package.json
CHANGED
package/types/codexly-ui.d.ts
CHANGED
|
@@ -2782,16 +2782,10 @@ declare class ClxPageEmptyComponent {
|
|
|
2782
2782
|
readonly ctaLabel: _angular_core.InputSignal<string>;
|
|
2783
2783
|
readonly ctaIcon: _angular_core.InputSignal<string>;
|
|
2784
2784
|
readonly ctaColor: _angular_core.InputSignal<ClxColorInput | undefined>;
|
|
2785
|
-
readonly size: _angular_core.InputSignal<"sm" | "md" | "lg">;
|
|
2786
2785
|
protected readonly _ctaColor: _angular_core.Signal<ClxColorInput>;
|
|
2787
2786
|
readonly cta: _angular_core.OutputEmitterRef<void>;
|
|
2788
|
-
protected _iconWrap(): string;
|
|
2789
|
-
protected _iconSize(): 'sm' | 'md' | 'lg' | 'xl';
|
|
2790
|
-
protected _titleCls(): "text-sm font-semibold text-clx-text-label mb-1" | "text-xl font-semibold text-clx-text-label mb-2" | "text-base font-semibold text-clx-text-label mb-1";
|
|
2791
|
-
protected _descCls(): string;
|
|
2792
|
-
protected _ctaCls(): "mt-3" | "mt-5";
|
|
2793
2787
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClxPageEmptyComponent, never>;
|
|
2794
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClxPageEmptyComponent, "clx-page-empty", never, { "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "ctaLabel": { "alias": "ctaLabel"; "required": false; "isSignal": true; }; "ctaIcon": { "alias": "ctaIcon"; "required": false; "isSignal": true; }; "ctaColor": { "alias": "ctaColor"; "required": false; "isSignal": true; };
|
|
2788
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClxPageEmptyComponent, "clx-page-empty", never, { "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "ctaLabel": { "alias": "ctaLabel"; "required": false; "isSignal": true; }; "ctaIcon": { "alias": "ctaIcon"; "required": false; "isSignal": true; }; "ctaColor": { "alias": "ctaColor"; "required": false; "isSignal": true; }; }, { "cta": "cta"; }, never, never, true, never>;
|
|
2795
2789
|
}
|
|
2796
2790
|
|
|
2797
2791
|
type ClxTrendDirection = 'up' | 'down' | 'neutral';
|
|
@@ -3091,6 +3085,8 @@ declare class ClxWishlistComponent {
|
|
|
3091
3085
|
readonly onSortChange: _angular_core.OutputEmitterRef<string>;
|
|
3092
3086
|
readonly onPageChange: _angular_core.OutputEmitterRef<ClxWishlistPageChangeEvent>;
|
|
3093
3087
|
readonly onCheckoutAll: _angular_core.OutputEmitterRef<ClxWishlistItem[]>;
|
|
3088
|
+
/** Emitted from the empty-state's "Ir a la tienda" CTA — the host navigates to the catalog. */
|
|
3089
|
+
readonly onBrowseCatalog: _angular_core.OutputEmitterRef<void>;
|
|
3094
3090
|
readonly _skeletonItems: unknown[];
|
|
3095
3091
|
protected readonly _cardClass = "bg-clx-surface rounded-2xl shadow-sm transition-[box-shadow,transform] duration-300 overflow-hidden group hover:shadow-xl hover:-translate-y-0.5 flex flex-col sm:flex-row";
|
|
3096
3092
|
protected readonly _imageContainerClass = "relative shrink-0 w-full aspect-square sm:aspect-auto sm:w-40 overflow-hidden rounded-t-2xl sm:rounded-t-none sm:rounded-l-2xl";
|
|
@@ -3114,7 +3110,7 @@ declare class ClxWishlistComponent {
|
|
|
3114
3110
|
handleRemove(item: ClxWishlistItem): void;
|
|
3115
3111
|
handleCheckoutAll(): void;
|
|
3116
3112
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClxWishlistComponent, never>;
|
|
3117
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClxWishlistComponent, "clx-wishlist", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "sortOptions": { "alias": "sortOptions"; "required": false; "isSignal": true; }; "currentPage": { "alias": "currentPage"; "required": false; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "sortValue": { "alias": "sortValue"; "required": false; "isSignal": true; }; "searchValue": { "alias": "searchValue"; "required": false; "isSignal": true; }; }, { "currentPage": "currentPageChange"; "pageSize": "pageSizeChange"; "sortValue": "sortValueChange"; "searchValue": "searchValueChange"; "onRemove": "onRemove"; "onAddToCart": "onAddToCart"; "onSearchChange": "onSearchChange"; "onSortChange": "onSortChange"; "onPageChange": "onPageChange"; "onCheckoutAll": "onCheckoutAll"; }, never, never, true, never>;
|
|
3113
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClxWishlistComponent, "clx-wishlist", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "sortOptions": { "alias": "sortOptions"; "required": false; "isSignal": true; }; "currentPage": { "alias": "currentPage"; "required": false; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "sortValue": { "alias": "sortValue"; "required": false; "isSignal": true; }; "searchValue": { "alias": "searchValue"; "required": false; "isSignal": true; }; }, { "currentPage": "currentPageChange"; "pageSize": "pageSizeChange"; "sortValue": "sortValueChange"; "searchValue": "searchValueChange"; "onRemove": "onRemove"; "onAddToCart": "onAddToCart"; "onSearchChange": "onSearchChange"; "onSortChange": "onSortChange"; "onPageChange": "onPageChange"; "onCheckoutAll": "onCheckoutAll"; "onBrowseCatalog": "onBrowseCatalog"; }, never, never, true, never>;
|
|
3118
3114
|
}
|
|
3119
3115
|
|
|
3120
3116
|
/** Refleja sa_cart_items + ca_variants + ca_products */
|
|
@@ -3160,6 +3156,8 @@ declare class ClxCartComponent {
|
|
|
3160
3156
|
readonly onClearCart: _angular_core.OutputEmitterRef<void>;
|
|
3161
3157
|
readonly onApplyCoupon: _angular_core.OutputEmitterRef<string>;
|
|
3162
3158
|
readonly onCheckout: _angular_core.OutputEmitterRef<void>;
|
|
3159
|
+
/** Emitted from the empty-state's "Ir a la tienda" CTA — the host navigates to the catalog. */
|
|
3160
|
+
readonly onBrowseCatalog: _angular_core.OutputEmitterRef<void>;
|
|
3163
3161
|
protected _couponCode: string;
|
|
3164
3162
|
protected readonly _skeletons: unknown[];
|
|
3165
3163
|
protected readonly _subtotal: _angular_core.Signal<number>;
|
|
@@ -3170,7 +3168,7 @@ declare class ClxCartComponent {
|
|
|
3170
3168
|
applyCoupon(): void;
|
|
3171
3169
|
removeCoupon(): void;
|
|
3172
3170
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClxCartComponent, never>;
|
|
3173
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClxCartComponent, "clx-cart", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "showCoupon": { "alias": "showCoupon"; "required": false; "isSignal": true; }; "coupon": { "alias": "coupon"; "required": false; "isSignal": true; }; }, { "coupon": "couponChange"; "onRemove": "onRemove"; "onQuantityChange": "onQuantityChange"; "onClearCart": "onClearCart"; "onApplyCoupon": "onApplyCoupon"; "onCheckout": "onCheckout"; }, never, never, true, never>;
|
|
3171
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClxCartComponent, "clx-cart", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "showCoupon": { "alias": "showCoupon"; "required": false; "isSignal": true; }; "coupon": { "alias": "coupon"; "required": false; "isSignal": true; }; }, { "coupon": "couponChange"; "onRemove": "onRemove"; "onQuantityChange": "onQuantityChange"; "onClearCart": "onClearCart"; "onApplyCoupon": "onApplyCoupon"; "onCheckout": "onCheckout"; "onBrowseCatalog": "onBrowseCatalog"; }, never, never, true, never>;
|
|
3174
3172
|
}
|
|
3175
3173
|
|
|
3176
3174
|
interface ClxCartSummaryData {
|