@colijnit/product 261.20.2 → 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 +429 -327
- package/fesm2022/colijnit-product.mjs.map +1 -1
- package/index.d.ts +15 -5
- package/package.json +2 -1
package/index.d.ts
CHANGED
|
@@ -20,6 +20,8 @@ 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';
|
|
24
26
|
import * as i4 from '@angular/cdk/overlay';
|
|
25
27
|
import * as i5 from '@colijnit/sharedcomponents';
|
|
@@ -331,14 +333,15 @@ declare enum PresetDialogType {
|
|
|
331
333
|
}
|
|
332
334
|
|
|
333
335
|
declare class ProductPageComponent implements OnInit, OnDestroy {
|
|
334
|
-
private _ione;
|
|
335
336
|
iconCache: IconCacheService;
|
|
336
337
|
settingsService: ProductSettingsService;
|
|
337
338
|
appEventService: ProductEventService;
|
|
338
339
|
private _changeDetector;
|
|
340
|
+
private _ione;
|
|
341
|
+
private _configuringService;
|
|
342
|
+
private _configuratorSceneService;
|
|
339
343
|
readonly icon: typeof IconEnum;
|
|
340
|
-
|
|
341
|
-
selections: ElementRef;
|
|
344
|
+
showClass(): boolean;
|
|
342
345
|
fullscreenbutton: ElementRef;
|
|
343
346
|
set sku(value: string);
|
|
344
347
|
get sku(): string;
|
|
@@ -376,7 +379,8 @@ declare class ProductPageComponent implements OnInit, OnDestroy {
|
|
|
376
379
|
private _subs;
|
|
377
380
|
private _settings;
|
|
378
381
|
private _pageLoadedSubscription;
|
|
379
|
-
|
|
382
|
+
private _buildResult;
|
|
383
|
+
constructor(iconCache: IconCacheService, settingsService: ProductSettingsService, appEventService: ProductEventService, _changeDetector: ChangeDetectorRef, _ione: ProductConnectorService, _configuringService: ConfiguringService, _configuratorSceneService: SceneService);
|
|
380
384
|
ngOnInit(): void;
|
|
381
385
|
ngOnDestroy(): void;
|
|
382
386
|
setInstance(event: CustomEvent): void;
|
|
@@ -390,7 +394,12 @@ declare class ProductPageComponent implements OnInit, OnDestroy {
|
|
|
390
394
|
handleSavePreset(): void;
|
|
391
395
|
handleCancelSavePreset(event: boolean): void;
|
|
392
396
|
handleOverwritePreset(event: boolean): void;
|
|
397
|
+
handleBuildFinished(build: ConfigurationResultObject): void;
|
|
393
398
|
private _savePreset;
|
|
399
|
+
private _initConfigurator;
|
|
400
|
+
private _startConfigurator;
|
|
401
|
+
private _startSceneInit;
|
|
402
|
+
private _createRenderForCarousel;
|
|
394
403
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductPageComponent, never>;
|
|
395
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>;
|
|
396
405
|
}
|
|
@@ -840,6 +849,7 @@ declare class RenderCarouselComponent implements OnDestroy, OnChanges {
|
|
|
840
849
|
showLoader: boolean;
|
|
841
850
|
renderedImage: string;
|
|
842
851
|
renderedImageLoaded: boolean;
|
|
852
|
+
listOfRenders: string[];
|
|
843
853
|
renderAngles: any;
|
|
844
854
|
currentRenderAngleIndex: number;
|
|
845
855
|
readonly icon: typeof IconEnum;
|
|
@@ -885,7 +895,7 @@ declare class PresetDialogModule {
|
|
|
885
895
|
|
|
886
896
|
declare class ProductPageModule {
|
|
887
897
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductPageModule, never>;
|
|
888
|
-
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]>;
|
|
889
899
|
static ɵinj: i0.ɵɵInjectorDeclaration<ProductPageModule>;
|
|
890
900
|
}
|
|
891
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",
|