codexly-ui 0.10.48 → 0.10.50
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/package.json
CHANGED
package/types/codexly-ui.d.ts
CHANGED
|
@@ -2990,16 +2990,10 @@ interface ClxProductDetailData {
|
|
|
2990
2990
|
|
|
2991
2991
|
declare class ClxProductDetailComponent {
|
|
2992
2992
|
readonly product: _angular_core.InputSignal<ClxProductDetailData | null>;
|
|
2993
|
-
/** Variation id to preselect instead of variations[0] — set this when the visitor arrived from a
|
|
2994
|
-
* catalog card that already represents a specific variation (e.g. a "Color" group), so the specs
|
|
2995
|
-
* land pre-selected instead of defaulting to whichever variation happens to be first. */
|
|
2996
2993
|
readonly initialVariationId: _angular_core.InputSignal<string | null>;
|
|
2997
2994
|
readonly clxColor: _angular_core.InputSignal<ClxColorInput>;
|
|
2998
2995
|
readonly loading: _angular_core.InputSignal<boolean>;
|
|
2999
2996
|
readonly currency: _angular_core.InputSignal<string>;
|
|
3000
|
-
/** Emits the active variation's id + selected quantity — the host decides what "add to cart"
|
|
3001
|
-
* and "buy now" actually do (cart service, checkout redirect, etc.), this component only
|
|
3002
|
-
* knows about the product/variation model, not commerce flows. */
|
|
3003
2997
|
readonly addToCart: _angular_core.OutputEmitterRef<{
|
|
3004
2998
|
variationId: string;
|
|
3005
2999
|
quantity: number;
|
|
@@ -3009,9 +3003,6 @@ declare class ClxProductDetailComponent {
|
|
|
3009
3003
|
quantity: number;
|
|
3010
3004
|
}>;
|
|
3011
3005
|
readonly wishlist: _angular_core.OutputEmitterRef<void>;
|
|
3012
|
-
/** Emits whenever the active variation changes (including the initial resolution) — lets the
|
|
3013
|
-
* host keep e.g. a `?variant=` query param in sync with what the visitor is actually looking
|
|
3014
|
-
* at, so reloading/sharing the URL lands on the same spec combination. */
|
|
3015
3006
|
readonly variationChange: _angular_core.OutputEmitterRef<ClxVariation>;
|
|
3016
3007
|
readonly _carousel: _angular_core.Signal<ClxCarouselComponent | undefined>;
|
|
3017
3008
|
readonly quantity: _angular_core.WritableSignal<number>;
|