@colijnit/product 261.20.7 → 261.20.10
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/colijnit-product.mjs +221 -172
- package/fesm2022/colijnit-product.mjs.map +1 -1
- package/index.d.ts +11 -6
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -240,7 +240,6 @@ declare class IoneProductComponent implements OnInit, OnDestroy {
|
|
|
240
240
|
private _localStorageService;
|
|
241
241
|
sku: string;
|
|
242
242
|
isReturn: boolean;
|
|
243
|
-
showRelatedProductsPopup: boolean;
|
|
244
243
|
enableRenderCarousel: boolean;
|
|
245
244
|
set settings(value: any);
|
|
246
245
|
get settings(): any;
|
|
@@ -271,7 +270,7 @@ declare class IoneProductComponent implements OnInit, OnDestroy {
|
|
|
271
270
|
private _handleAddToCart;
|
|
272
271
|
openStock(): void;
|
|
273
272
|
static ɵfac: i0.ɵɵFactoryDeclaration<IoneProductComponent, never>;
|
|
274
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IoneProductComponent, "app-ione-product", never, { "sku": { "alias": "sku"; "required": false; }; "isReturn": { "alias": "isReturn"; "required": false; }; "
|
|
273
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IoneProductComponent, "app-ione-product", never, { "sku": { "alias": "sku"; "required": false; }; "isReturn": { "alias": "isReturn"; "required": false; }; "enableRenderCarousel": { "alias": "enableRenderCarousel"; "required": false; }; "settings": { "alias": "settings"; "required": false; }; "handleAddArticleInternally": { "alias": "handleAddArticleInternally"; "required": false; }; "handleAddToCartInternally": { "alias": "handleAddToCartInternally"; "required": false; }; }, { "onAddToCart": "onAddToCart"; "forceRenderImage": "forceRenderImage"; "getRenderForRenderCarousel": "getRenderForRenderCarousel"; "onAlternativeClick": "onAlternativeClick"; "onArticleInfoReceived": "onArticleInfoReceived"; "onArticleReceived": "onArticleReceived"; "onSelectionsReceived": "onSelectionsReceived"; "onAddToQuote": "onAddToQuote"; "openStockEvent": "openStockEvent"; "onAnswersAvailable": "onAnswersAvailable"; }, never, never, false, never>;
|
|
275
274
|
}
|
|
276
275
|
|
|
277
276
|
declare class StockAndDelivery {
|
|
@@ -346,7 +345,6 @@ declare class ProductPageComponent implements OnInit, OnDestroy {
|
|
|
346
345
|
externalSource: ExternalSource;
|
|
347
346
|
createFrozenArticle: boolean;
|
|
348
347
|
isReturn: boolean;
|
|
349
|
-
showRelatedProductsPopup: boolean;
|
|
350
348
|
enableRenderCarousel: boolean;
|
|
351
349
|
openStockEvent: EventEmitter<void>;
|
|
352
350
|
get settings(): any;
|
|
@@ -382,11 +380,10 @@ declare class ProductPageComponent implements OnInit, OnDestroy {
|
|
|
382
380
|
private _handleSettingsLoaded;
|
|
383
381
|
private _getArticle;
|
|
384
382
|
openStock(): void;
|
|
385
|
-
handlePopUpChange(event: boolean): void;
|
|
386
383
|
handleObjectAddedToScene(build: ConfigurationResultObject): void;
|
|
387
384
|
private _createRenderForCarousel;
|
|
388
385
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductPageComponent, never>;
|
|
389
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ProductPageComponent, "app-product-page", never, { "sku": { "alias": "sku"; "required": false; }; "settings": { "alias": "settings"; "required": false; }; "externalSource": { "alias": "externalSource"; "required": false; }; "createFrozenArticle": { "alias": "createFrozenArticle"; "required": false; }; "isReturn": { "alias": "isReturn"; "required": false; }; "
|
|
386
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductPageComponent, "app-product-page", never, { "sku": { "alias": "sku"; "required": false; }; "settings": { "alias": "settings"; "required": false; }; "externalSource": { "alias": "externalSource"; "required": false; }; "createFrozenArticle": { "alias": "createFrozenArticle"; "required": false; }; "isReturn": { "alias": "isReturn"; "required": false; }; "enableRenderCarousel": { "alias": "enableRenderCarousel"; "required": false; }; }, { "openStockEvent": "openStockEvent"; }, never, never, false, never>;
|
|
390
387
|
}
|
|
391
388
|
|
|
392
389
|
declare class ProductSelectorTypeComponent implements OnInit {
|
|
@@ -446,10 +443,14 @@ declare class ImageCarouselComponent implements OnDestroy {
|
|
|
446
443
|
private _appEventService;
|
|
447
444
|
private _changeDetector;
|
|
448
445
|
private _domSanitizer;
|
|
446
|
+
iconCache: IconCacheService;
|
|
449
447
|
readonly icons: typeof IconEnum;
|
|
450
448
|
carousel: ElementRef;
|
|
449
|
+
thumbScroller?: ElementRef<HTMLElement>;
|
|
451
450
|
isPopupOpen: boolean;
|
|
452
451
|
selectedImage?: ImageViewModel;
|
|
452
|
+
canScrollThumbsLeft: boolean;
|
|
453
|
+
canScrollThumbsRight: boolean;
|
|
453
454
|
onEsc(): void;
|
|
454
455
|
showRefresh: boolean;
|
|
455
456
|
set images(value: (CoDocument | string)[]);
|
|
@@ -468,17 +469,21 @@ declare class ImageCarouselComponent implements OnDestroy {
|
|
|
468
469
|
private _images;
|
|
469
470
|
private _subs;
|
|
470
471
|
private _resizeCanvasHeight;
|
|
471
|
-
constructor(iconCacheService: IconCacheService, _ione: ProductConnectorService, _appEventService: ProductEventService, _changeDetector: ChangeDetectorRef, _domSanitizer: DomSanitizer);
|
|
472
|
+
constructor(iconCacheService: IconCacheService, _ione: ProductConnectorService, _appEventService: ProductEventService, _changeDetector: ChangeDetectorRef, _domSanitizer: DomSanitizer, iconCache: IconCacheService);
|
|
472
473
|
ngOnDestroy(): void;
|
|
473
474
|
handleThumbClick(index: number): void;
|
|
474
475
|
onForceRenderImage(): void;
|
|
475
476
|
handleShowImage(imageViewModel: ImageViewModel): void;
|
|
476
477
|
closePopup(): void;
|
|
478
|
+
scrollThumbs(direction: -1 | 1): void;
|
|
479
|
+
private scrollActiveThumbIntoView;
|
|
480
|
+
updateThumbScrollState(): void;
|
|
477
481
|
private _filterValidImages;
|
|
478
482
|
private _loadAndRescaleImages;
|
|
479
483
|
private _resizeAndSanitizeSource;
|
|
480
484
|
private _handleMimeTypes;
|
|
481
485
|
private _scrollCarouselToIndex;
|
|
486
|
+
protected readonly icon: typeof IconEnum;
|
|
482
487
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImageCarouselComponent, never>;
|
|
483
488
|
static ɵcmp: i0.ɵɵComponentDeclaration<ImageCarouselComponent, "app-image-carousel", never, { "showRefresh": { "alias": "showRefresh"; "required": false; }; "images": { "alias": "images"; "required": false; }; }, {}, never, never, false, never>;
|
|
484
489
|
}
|