@colijnit/product 261.20.4 → 261.20.5
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/colijnit-product-261.20.4.tgz +0 -0
- package/fesm2022/colijnit-product.mjs +117 -313
- package/fesm2022/colijnit-product.mjs.map +1 -1
- package/index.d.ts +12 -48
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -20,8 +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
|
|
24
|
-
import {
|
|
23
|
+
import * as i17 from '@colijnit/configurator';
|
|
24
|
+
import { ConfiguratorEventService, ConfiguratorConnectorService, ConfiguringService, ConfigurationResultObject } from '@colijnit/configurator';
|
|
25
25
|
import * as i3 from '@colijnit/corecomponents_v12';
|
|
26
26
|
import * as i4 from '@angular/cdk/overlay';
|
|
27
27
|
import * as i5 from '@colijnit/sharedcomponents';
|
|
@@ -89,6 +89,7 @@ declare class ProductConnectorAdapterService implements OnDestroy {
|
|
|
89
89
|
addWebSessionTransactionLine(transactionUuid: string, sku: string, quantity: number): Promise<string>;
|
|
90
90
|
getImageForCoDocument(document: CoDocument, thumb: boolean): Promise<ImageContent>;
|
|
91
91
|
savePreset(): Promise<boolean>;
|
|
92
|
+
getDefaultLanguage(upId: number): Promise<string>;
|
|
92
93
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConnectorAdapterService, never>;
|
|
93
94
|
static ɵprov: i0.ɵɵInjectableDeclaration<ProductConnectorAdapterService>;
|
|
94
95
|
}
|
|
@@ -209,6 +210,7 @@ declare class ProductConnectorService implements OnDestroy {
|
|
|
209
210
|
addWebSessionTransactionLine(transactionUuid: string, sku: string, quantity: number): Promise<string>;
|
|
210
211
|
getImageForCoDocument(document: CoDocument, thumb?: boolean): Promise<ImageContent>;
|
|
211
212
|
savePreset(): Promise<boolean>;
|
|
213
|
+
getDefaultLanguage(upId: number): Promise<string>;
|
|
212
214
|
onShowLoaderChange(showLoader: boolean): void;
|
|
213
215
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConnectorService, never>;
|
|
214
216
|
static ɵprov: i0.ɵɵInjectableDeclaration<ProductConnectorService>;
|
|
@@ -326,20 +328,15 @@ declare class IconCacheService {
|
|
|
326
328
|
static ɵprov: i0.ɵɵInjectableDeclaration<IconCacheService>;
|
|
327
329
|
}
|
|
328
330
|
|
|
329
|
-
declare enum PresetDialogType {
|
|
330
|
-
info = 0,
|
|
331
|
-
warning = 1,
|
|
332
|
-
success = 2
|
|
333
|
-
}
|
|
334
|
-
|
|
335
331
|
declare class ProductPageComponent implements OnInit, OnDestroy {
|
|
336
332
|
iconCache: IconCacheService;
|
|
337
333
|
settingsService: ProductSettingsService;
|
|
338
334
|
appEventService: ProductEventService;
|
|
339
335
|
private _changeDetector;
|
|
340
336
|
private _ione;
|
|
337
|
+
private _configuratorEventService;
|
|
338
|
+
private _configuratorConnectorService;
|
|
341
339
|
private _configuringService;
|
|
342
|
-
private _configuratorSceneService;
|
|
343
340
|
readonly icon: typeof IconEnum;
|
|
344
341
|
showClass(): boolean;
|
|
345
342
|
fullscreenbutton: ElementRef;
|
|
@@ -369,18 +366,14 @@ declare class ProductPageComponent implements OnInit, OnDestroy {
|
|
|
369
366
|
showAddToCart: boolean;
|
|
370
367
|
fullscreenAnimationEnd: boolean;
|
|
371
368
|
settingsLoaded: boolean;
|
|
372
|
-
showPresetDialog: boolean;
|
|
373
|
-
configPresetId: string;
|
|
374
|
-
presetDialogType: PresetDialogType;
|
|
375
369
|
private _sku;
|
|
376
370
|
private _initializedSub;
|
|
377
371
|
private _fullScreen;
|
|
378
372
|
private _currentView;
|
|
379
373
|
private _subs;
|
|
380
374
|
private _settings;
|
|
381
|
-
private _pageLoadedSubscription;
|
|
382
375
|
private _buildResult;
|
|
383
|
-
constructor(iconCache: IconCacheService, settingsService: ProductSettingsService, appEventService: ProductEventService, _changeDetector: ChangeDetectorRef, _ione: ProductConnectorService,
|
|
376
|
+
constructor(iconCache: IconCacheService, settingsService: ProductSettingsService, appEventService: ProductEventService, _changeDetector: ChangeDetectorRef, _ione: ProductConnectorService, _configuratorEventService: ConfiguratorEventService, _configuratorConnectorService: ConfiguratorConnectorService, _configuringService: ConfiguringService);
|
|
384
377
|
ngOnInit(): void;
|
|
385
378
|
ngOnDestroy(): void;
|
|
386
379
|
setInstance(event: CustomEvent): void;
|
|
@@ -390,15 +383,7 @@ declare class ProductPageComponent implements OnInit, OnDestroy {
|
|
|
390
383
|
private _getArticle;
|
|
391
384
|
openStock(): void;
|
|
392
385
|
handlePopUpChange(event: boolean): void;
|
|
393
|
-
|
|
394
|
-
handleSavePreset(): void;
|
|
395
|
-
handleCancelSavePreset(event: boolean): void;
|
|
396
|
-
handleOverwritePreset(event: boolean): void;
|
|
397
|
-
handleBuildFinished(build: ConfigurationResultObject): void;
|
|
398
|
-
private _savePreset;
|
|
399
|
-
private _initConfigurator;
|
|
400
|
-
private _startConfigurator;
|
|
401
|
-
private _startSceneInit;
|
|
386
|
+
handleObjectAddedToScene(build: ConfigurationResultObject): void;
|
|
402
387
|
private _createRenderForCarousel;
|
|
403
388
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductPageComponent, never>;
|
|
404
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; }; "showRelatedProductsPopup": { "alias": "showRelatedProductsPopup"; "required": false; }; "enableRenderCarousel": { "alias": "enableRenderCarousel"; "required": false; }; }, { "openStockEvent": "openStockEvent"; }, never, never, false, never>;
|
|
@@ -506,15 +491,16 @@ declare class ImageCarouselModule {
|
|
|
506
491
|
|
|
507
492
|
declare class ProductDescriptionComponent implements OnInit {
|
|
508
493
|
article: ArticleFullObject;
|
|
494
|
+
configuring: boolean;
|
|
509
495
|
constructor();
|
|
510
496
|
ngOnInit(): void;
|
|
511
497
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductDescriptionComponent, never>;
|
|
512
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ProductDescriptionComponent, "app-product-description", never, { "article": { "alias": "article"; "required": false; }; }, {}, never, never, false, never>;
|
|
498
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductDescriptionComponent, "app-product-description", never, { "article": { "alias": "article"; "required": false; }; "configuring": { "alias": "configuring"; "required": false; }; }, {}, never, never, false, never>;
|
|
513
499
|
}
|
|
514
500
|
|
|
515
501
|
declare class ProductDescriptionModule {
|
|
516
502
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductDescriptionModule, never>;
|
|
517
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductDescriptionModule, [typeof ProductDescriptionComponent], [typeof i2.CommonModule], [typeof ProductDescriptionComponent]>;
|
|
503
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductDescriptionModule, [typeof ProductDescriptionComponent], [typeof i2.CommonModule, typeof PipeModule, typeof i17.ConfigurationPresetModule], [typeof ProductDescriptionComponent]>;
|
|
518
504
|
static ɵinj: i0.ɵɵInjectorDeclaration<ProductDescriptionModule>;
|
|
519
505
|
}
|
|
520
506
|
|
|
@@ -871,31 +857,9 @@ declare class RenderCarouselModule {
|
|
|
871
857
|
static ɵinj: i0.ɵɵInjectorDeclaration<RenderCarouselModule>;
|
|
872
858
|
}
|
|
873
859
|
|
|
874
|
-
declare class PresetDialogComponent {
|
|
875
|
-
iconCache: IconCacheService;
|
|
876
|
-
readonly icon: typeof IconEnum;
|
|
877
|
-
showClass(): boolean;
|
|
878
|
-
type: PresetDialogType;
|
|
879
|
-
presetId: string;
|
|
880
|
-
cancelSavePreset: EventEmitter<boolean>;
|
|
881
|
-
overwritePreset: EventEmitter<boolean>;
|
|
882
|
-
constructor(iconCache: IconCacheService);
|
|
883
|
-
closeAndCancelPreset(): void;
|
|
884
|
-
closeAndOverwritePreset(): void;
|
|
885
|
-
protected readonly PresetDialogType: typeof PresetDialogType;
|
|
886
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PresetDialogComponent, never>;
|
|
887
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PresetDialogComponent, "co-preset-dialog", never, { "type": { "alias": "type"; "required": false; }; "presetId": { "alias": "presetId"; "required": false; }; }, { "cancelSavePreset": "cancelSavePreset"; "overwritePreset": "overwritePreset"; }, never, never, false, never>;
|
|
888
|
-
}
|
|
889
|
-
|
|
890
|
-
declare class PresetDialogModule {
|
|
891
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PresetDialogModule, never>;
|
|
892
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PresetDialogModule, [typeof PresetDialogComponent], [typeof i3.IconModule, typeof PipeModule, typeof ProductRelatedModule], [typeof PresetDialogComponent]>;
|
|
893
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<PresetDialogModule>;
|
|
894
|
-
}
|
|
895
|
-
|
|
896
860
|
declare class ProductPageModule {
|
|
897
861
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductPageModule, never>;
|
|
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
|
|
862
|
+
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 i17.ConfiguratorModule, typeof i17.ConfiguratorSceneModule], [typeof ProductPageComponent]>;
|
|
899
863
|
static ɵinj: i0.ɵɵInjectorDeclaration<ProductPageModule>;
|
|
900
864
|
}
|
|
901
865
|
|