codexly-ui 0.10.64 → 0.10.66
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
|
@@ -3006,6 +3006,10 @@ declare class ClxProductDetailComponent {
|
|
|
3006
3006
|
readonly activeVariation: _angular_core.Signal<ClxVariation | null>;
|
|
3007
3007
|
readonly finalPrice: _angular_core.Signal<number>;
|
|
3008
3008
|
readonly discount: _angular_core.Signal<number>;
|
|
3009
|
+
/** An option is available only if some variation matching it (combined with the rest of the
|
|
3010
|
+
* current selection) both exists AND has stock — a sold-out combination is treated the same
|
|
3011
|
+
* as a non-existent one and hidden, per the same "hide, don't disable" rule already applied to
|
|
3012
|
+
* invalid combinations, so the visitor never sees a spec they can't actually buy. */
|
|
3009
3013
|
isOptionAvailable(specTypeId: string, specOptionId: string): boolean;
|
|
3010
3014
|
selectSpec(specTypeId: string, specOptionId: string): void;
|
|
3011
3015
|
isSpecSelected(specTypeId: string, specOptionId: string): boolean;
|