@colijnit/product 261.20.1 → 261.20.3
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 +613 -493
- package/fesm2022/colijnit-product.mjs.map +1 -1
- package/index.d.ts +22 -8
- package/package.json +2 -1
package/index.d.ts
CHANGED
|
@@ -20,7 +20,10 @@ import { ImageContent } from '@colijnit/mainapi/build/model/image-content.bo';
|
|
|
20
20
|
import * as i2 from '@angular/common';
|
|
21
21
|
import { SafeHtml, DomSanitizer, SafeUrl, SafeResourceUrl } from '@angular/platform-browser';
|
|
22
22
|
import { ExternalSource } from '@colijnit/articleapi/build/model/external-source.bo';
|
|
23
|
+
import * as i18 from '@colijnit/configurator';
|
|
24
|
+
import { ConfiguringService, SceneService, ConfigurationResultObject } from '@colijnit/configurator';
|
|
23
25
|
import * as i3 from '@colijnit/corecomponents_v12';
|
|
26
|
+
import * as i4 from '@angular/cdk/overlay';
|
|
24
27
|
import * as i5 from '@colijnit/sharedcomponents';
|
|
25
28
|
import { ExternalSourceParameter } from '@colijnit/articleapi/build/model/external-source-parameter.bo';
|
|
26
29
|
import { CatalogDefinition } from '@colijnit/articleapi/build/model/catalog-definition.bo';
|
|
@@ -330,14 +333,15 @@ declare enum PresetDialogType {
|
|
|
330
333
|
}
|
|
331
334
|
|
|
332
335
|
declare class ProductPageComponent implements OnInit, OnDestroy {
|
|
333
|
-
private _ione;
|
|
334
336
|
iconCache: IconCacheService;
|
|
335
337
|
settingsService: ProductSettingsService;
|
|
336
338
|
appEventService: ProductEventService;
|
|
337
339
|
private _changeDetector;
|
|
340
|
+
private _ione;
|
|
341
|
+
private _configuringService;
|
|
342
|
+
private _configuratorSceneService;
|
|
338
343
|
readonly icon: typeof IconEnum;
|
|
339
|
-
|
|
340
|
-
selections: ElementRef;
|
|
344
|
+
showClass(): boolean;
|
|
341
345
|
fullscreenbutton: ElementRef;
|
|
342
346
|
set sku(value: string);
|
|
343
347
|
get sku(): string;
|
|
@@ -375,7 +379,8 @@ declare class ProductPageComponent implements OnInit, OnDestroy {
|
|
|
375
379
|
private _subs;
|
|
376
380
|
private _settings;
|
|
377
381
|
private _pageLoadedSubscription;
|
|
378
|
-
|
|
382
|
+
private _buildResult;
|
|
383
|
+
constructor(iconCache: IconCacheService, settingsService: ProductSettingsService, appEventService: ProductEventService, _changeDetector: ChangeDetectorRef, _ione: ProductConnectorService, _configuringService: ConfiguringService, _configuratorSceneService: SceneService);
|
|
379
384
|
ngOnInit(): void;
|
|
380
385
|
ngOnDestroy(): void;
|
|
381
386
|
setInstance(event: CustomEvent): void;
|
|
@@ -389,7 +394,12 @@ declare class ProductPageComponent implements OnInit, OnDestroy {
|
|
|
389
394
|
handleSavePreset(): void;
|
|
390
395
|
handleCancelSavePreset(event: boolean): void;
|
|
391
396
|
handleOverwritePreset(event: boolean): void;
|
|
397
|
+
handleBuildFinished(build: ConfigurationResultObject): void;
|
|
392
398
|
private _savePreset;
|
|
399
|
+
private _initConfigurator;
|
|
400
|
+
private _startConfigurator;
|
|
401
|
+
private _startSceneInit;
|
|
402
|
+
private _createRenderForCarousel;
|
|
393
403
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductPageComponent, never>;
|
|
394
404
|
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; }; "showRelatedProductsPopup": { "alias": "showRelatedProductsPopup"; "required": false; }; "enableRenderCarousel": { "alias": "enableRenderCarousel"; "required": false; }; }, { "openStockEvent": "openStockEvent"; }, never, never, false, never>;
|
|
395
405
|
}
|
|
@@ -446,10 +456,12 @@ declare class ImageViewModel {
|
|
|
446
456
|
originalSource: string;
|
|
447
457
|
}
|
|
448
458
|
declare class ImageCarouselComponent implements OnDestroy {
|
|
459
|
+
iconCacheService: IconCacheService;
|
|
449
460
|
private _ione;
|
|
450
461
|
private _appEventService;
|
|
451
462
|
private _changeDetector;
|
|
452
463
|
private _domSanitizer;
|
|
464
|
+
readonly icons: typeof IconEnum;
|
|
453
465
|
carousel: ElementRef;
|
|
454
466
|
isPopupOpen: boolean;
|
|
455
467
|
selectedImage?: ImageViewModel;
|
|
@@ -471,7 +483,7 @@ declare class ImageCarouselComponent implements OnDestroy {
|
|
|
471
483
|
private _images;
|
|
472
484
|
private _subs;
|
|
473
485
|
private _resizeCanvasHeight;
|
|
474
|
-
constructor(_ione: ProductConnectorService, _appEventService: ProductEventService, _changeDetector: ChangeDetectorRef, _domSanitizer: DomSanitizer);
|
|
486
|
+
constructor(iconCacheService: IconCacheService, _ione: ProductConnectorService, _appEventService: ProductEventService, _changeDetector: ChangeDetectorRef, _domSanitizer: DomSanitizer);
|
|
475
487
|
ngOnDestroy(): void;
|
|
476
488
|
handleThumbClick(index: number): void;
|
|
477
489
|
onForceRenderImage(): void;
|
|
@@ -480,7 +492,7 @@ declare class ImageCarouselComponent implements OnDestroy {
|
|
|
480
492
|
private _filterValidImages;
|
|
481
493
|
private _loadAndRescaleImages;
|
|
482
494
|
private _resizeAndSanitizeSource;
|
|
483
|
-
private
|
|
495
|
+
private _handleMimeTypes;
|
|
484
496
|
private _scrollCarouselToIndex;
|
|
485
497
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImageCarouselComponent, never>;
|
|
486
498
|
static ɵcmp: i0.ɵɵComponentDeclaration<ImageCarouselComponent, "app-image-carousel", never, { "showRefresh": { "alias": "showRefresh"; "required": false; }; "images": { "alias": "images"; "required": false; }; }, {}, never, never, false, never>;
|
|
@@ -488,7 +500,7 @@ declare class ImageCarouselComponent implements OnDestroy {
|
|
|
488
500
|
|
|
489
501
|
declare class ImageCarouselModule {
|
|
490
502
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImageCarouselModule, never>;
|
|
491
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ImageCarouselModule, [typeof ImageCarouselComponent], [typeof i2.CommonModule, typeof i3.LoaderModule, typeof i3.ScrollContainerModule], [typeof ImageCarouselComponent]>;
|
|
503
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ImageCarouselModule, [typeof ImageCarouselComponent], [typeof i2.CommonModule, typeof i3.LoaderModule, typeof i3.ScrollContainerModule, typeof i4.CdkConnectedOverlay, typeof i4.CdkOverlayOrigin, typeof i3.IconModule], [typeof ImageCarouselComponent]>;
|
|
492
504
|
static ɵinj: i0.ɵɵInjectorDeclaration<ImageCarouselModule>;
|
|
493
505
|
}
|
|
494
506
|
|
|
@@ -621,6 +633,7 @@ declare class ProductRelatedComponent {
|
|
|
621
633
|
handleThreeDButtonClick(article: ArticleListObject): void;
|
|
622
634
|
private _getJSONFromArticleObject;
|
|
623
635
|
private _loadImages;
|
|
636
|
+
private _handleImageData;
|
|
624
637
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductRelatedComponent, never>;
|
|
625
638
|
static ɵcmp: i0.ɵɵComponentDeclaration<ProductRelatedComponent, "app-product-related", never, { "refType": { "alias": "refType"; "required": false; }; "label": { "alias": "label"; "required": false; }; "externalSource": { "alias": "externalSource"; "required": false; }; "isSmallModus": { "alias": "isSmallModus"; "required": false; }; "createFrozenArticle": { "alias": "createFrozenArticle"; "required": false; }; "articles": { "alias": "articles"; "required": false; }; }, {}, never, never, false, never>;
|
|
626
639
|
}
|
|
@@ -836,6 +849,7 @@ declare class RenderCarouselComponent implements OnDestroy, OnChanges {
|
|
|
836
849
|
showLoader: boolean;
|
|
837
850
|
renderedImage: string;
|
|
838
851
|
renderedImageLoaded: boolean;
|
|
852
|
+
listOfRenders: string[];
|
|
839
853
|
renderAngles: any;
|
|
840
854
|
currentRenderAngleIndex: number;
|
|
841
855
|
readonly icon: typeof IconEnum;
|
|
@@ -881,7 +895,7 @@ declare class PresetDialogModule {
|
|
|
881
895
|
|
|
882
896
|
declare class ProductPageModule {
|
|
883
897
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductPageModule, never>;
|
|
884
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductPageModule, [typeof ProductPageComponent], [typeof i2.CommonModule, typeof ProductSelectorTypeModule, typeof ImageCarouselModule, typeof i3.IconModule, typeof ProductDescriptionModule, typeof ProductAdditionalDescriptionModule, typeof ProductPriceModule, typeof ProductAddtocartModule, typeof ProductRelatedModule, typeof ProductStockModule, typeof ProductDeliveryModule, typeof ProductInfoTabsModule, typeof PipeModule, typeof ProductDialogModule, typeof i3.LoaderModule, typeof RenderCarouselModule, typeof i3.ButtonModule, typeof PresetDialogModule], [typeof ProductPageComponent]>;
|
|
898
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductPageModule, [typeof ProductPageComponent], [typeof i2.CommonModule, typeof ProductSelectorTypeModule, typeof ImageCarouselModule, typeof i3.IconModule, typeof ProductDescriptionModule, typeof ProductAdditionalDescriptionModule, typeof ProductPriceModule, typeof ProductAddtocartModule, typeof ProductRelatedModule, typeof ProductStockModule, typeof ProductDeliveryModule, typeof ProductInfoTabsModule, typeof PipeModule, typeof ProductDialogModule, typeof i3.LoaderModule, typeof RenderCarouselModule, typeof i3.ButtonModule, typeof PresetDialogModule, typeof i18.ConfiguratorModule, typeof i18.ConfiguratorSceneModule], [typeof ProductPageComponent]>;
|
|
885
899
|
static ɵinj: i0.ɵɵInjectorDeclaration<ProductPageModule>;
|
|
886
900
|
}
|
|
887
901
|
|
package/package.json
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@colijnit/product",
|
|
3
|
-
"version": "261.20.
|
|
3
|
+
"version": "261.20.3",
|
|
4
4
|
"description": "Product detail page project for iOne",
|
|
5
5
|
"private": false,
|
|
6
6
|
"peerDependencies": {
|
|
7
7
|
"@colijnit/articleapi": ">=261.1.0",
|
|
8
8
|
"@colijnit/corecomponents_v12": ">=261.20.0",
|
|
9
|
+
"@colijnit/configurator": ">=261.20.0",
|
|
9
10
|
"@colijnit/sharedcomponents": ">=261.20.0",
|
|
10
11
|
"@colijnit/ioneconnector": ">=261.1.0",
|
|
11
12
|
"@colijnit/mainapi": ">=261.1.0",
|