codexly-ui 0.10.19 → 0.10.21
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
|
@@ -2882,7 +2882,12 @@ declare class ClxProductComponent {
|
|
|
2882
2882
|
interface ClxSpecOption {
|
|
2883
2883
|
id: string;
|
|
2884
2884
|
spec_type_id: string;
|
|
2885
|
+
/** Underlying data — for a 'color' input_type spec type, a hex string used to paint the
|
|
2886
|
+
* swatch; otherwise the same display text as label. */
|
|
2885
2887
|
value: string;
|
|
2888
|
+
/** Human-readable label — "Rojo", "16 GB". Falls back to value when omitted (non-color types
|
|
2889
|
+
* where value is already the display text). */
|
|
2890
|
+
label?: string;
|
|
2886
2891
|
}
|
|
2887
2892
|
/** st_spec_types + sus opciones */
|
|
2888
2893
|
interface ClxSpecType {
|
|
@@ -2989,7 +2994,6 @@ declare class ClxProductDetailComponent {
|
|
|
2989
2994
|
selectedOptionLabel(specType: ClxSpecType): string;
|
|
2990
2995
|
protected _emitAddToCart(): void;
|
|
2991
2996
|
protected _emitBuyNow(): void;
|
|
2992
|
-
asColor(value: string): ClxColorInput;
|
|
2993
2997
|
specsLeft<T>(specs: T[]): T[];
|
|
2994
2998
|
specsRight<T>(specs: T[]): T[];
|
|
2995
2999
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClxProductDetailComponent, never>;
|