simpo-component-library 3.8.15 → 3.8.17
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/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +13 -5
- package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +99 -53
- package/fesm2022/simpo-component-library.mjs +108 -54
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/ecommerce/sections/cart/cart.component.d.ts +4 -0
- package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +22 -0
- package/package.json +1 -1
- package/simpo-component-library-3.8.17.tgz +0 -0
- package/simpo-component-library-3.8.15.tgz +0 -0
|
@@ -169,6 +169,10 @@ export declare class CartComponent extends BaseSection implements OnInit, OnDest
|
|
|
169
169
|
viewPendingVideoCart(): void;
|
|
170
170
|
getButtonId(index: number): string;
|
|
171
171
|
getButtonStyle(index: number): import("../../../styles/style.model").ButtonStyleModel | undefined;
|
|
172
|
+
/** "Continue shopping" uses the 2nd button; legacy data with a single button falls back to the first. */
|
|
173
|
+
get continueShoppingIdx(): number;
|
|
174
|
+
/** "Place order" uses the 3rd button; legacy data with fewer buttons falls back to the first. */
|
|
175
|
+
get placeOrderIdx(): number;
|
|
172
176
|
changeQuantity(quantity: any, item: OrderedItems): void;
|
|
173
177
|
showReedemError: boolean;
|
|
174
178
|
vaildAmount: number;
|
|
@@ -82,6 +82,21 @@ export declare class ProductDescComponent extends BaseSection implements DoCheck
|
|
|
82
82
|
changeTab(tab: string): void;
|
|
83
83
|
ngOnInit(): void;
|
|
84
84
|
ngAfterViewInit(): void;
|
|
85
|
+
descExpanded: boolean;
|
|
86
|
+
rteOverflow: boolean;
|
|
87
|
+
rteBox?: ElementRef<HTMLElement>;
|
|
88
|
+
private static readonly RTE_CLAMP_PX;
|
|
89
|
+
private stickyRO?;
|
|
90
|
+
private stickyEls;
|
|
91
|
+
private stickyUpdate;
|
|
92
|
+
private setupSticky;
|
|
93
|
+
ngOnDestroy(): void;
|
|
94
|
+
ngAfterViewChecked(): void;
|
|
95
|
+
private touchStartX;
|
|
96
|
+
onGalleryTouchStart(e: TouchEvent): void;
|
|
97
|
+
onGalleryTouchEnd(e: TouchEvent): void;
|
|
98
|
+
/** Eyebrow line above the title, e.g. "18KT Yellow Gold · Lab-grown diamonds" (from the product's materials). */
|
|
99
|
+
get materialsEyebrow(): string;
|
|
85
100
|
varientLoading: boolean;
|
|
86
101
|
get customFieldSpecs(): {
|
|
87
102
|
label: string;
|
|
@@ -114,6 +129,13 @@ export declare class ProductDescComponent extends BaseSection implements DoCheck
|
|
|
114
129
|
isVarientAvailable(varient: any): boolean;
|
|
115
130
|
reviewTitle: string;
|
|
116
131
|
reviewDescription: string;
|
|
132
|
+
reviewHover: number;
|
|
133
|
+
/** "Write a review" is only offered to logged-in users. */
|
|
134
|
+
get isLoggedIn(): boolean;
|
|
135
|
+
openReviewModal(): void;
|
|
136
|
+
closeReviewModal(): void;
|
|
137
|
+
private unlockBodyScroll;
|
|
138
|
+
onEscape(): void;
|
|
117
139
|
addProductReview(): void;
|
|
118
140
|
private getVarientQuantity;
|
|
119
141
|
private isVarientPresentInWishtlist;
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|