@colijnit/product 262.1.7 → 262.1.9
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 +195 -172
- package/fesm2022/colijnit-product.mjs.map +1 -1
- package/index.d.ts +14 -10
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { OnDestroy, OnInit, EventEmitter, ElementRef, ChangeDetectorRef, PipeTransform, OnChanges, Renderer2 } from '@angular/core';
|
|
2
|
+
import { OnDestroy, OnInit, TemplateRef, EventEmitter, ElementRef, ChangeDetectorRef, PipeTransform, OnChanges, Renderer2 } from '@angular/core';
|
|
3
3
|
import { Subject, BehaviorSubject } from 'rxjs';
|
|
4
4
|
import { ArticleFullObject } from '@colijnit/articleapi/build/model/article-full-object';
|
|
5
5
|
import { SuperArticle } from '@colijnit/articleapi/build/model/super-article';
|
|
6
6
|
import { ConfiguratorStatisticsEnvironment } from '@colijnit/articleapi/build/model/configurator-statistics-environment';
|
|
7
7
|
import { Articles } from '@colijnit/articleapi/build/articles';
|
|
8
8
|
import { Options } from '@colijnit/ioneconnector/build/model/options';
|
|
9
|
+
import { DataServiceResponseData } from '@colijnit/ioneconnector/build/model/data-service-response-data';
|
|
9
10
|
import { DeliveryPrognosis } from '@colijnit/articleapi/build/model/delivery-prognosis';
|
|
10
11
|
import { DocumentContent } from '@colijnit/articleapi/build/model/document-content';
|
|
11
12
|
import { Transaction } from '@colijnit/transactionapi/build/transaction';
|
|
@@ -17,11 +18,11 @@ import { ArticleQuickSel } from '@colijnit/articleapi/build/model/article-quick-
|
|
|
17
18
|
import { ValidationMessage } from '@colijnit/ioneconnector/build/model/validation-message';
|
|
18
19
|
import { CoDocument } from '@colijnit/mainapi/build/model/co-document.bo';
|
|
19
20
|
import { ImageContent } from '@colijnit/mainapi/build/model/image-content.bo';
|
|
21
|
+
import * as i17 from '@colijnit/configurator';
|
|
22
|
+
import { ConfiguratorConnectorService, ConfiguratorEventService, ConfiguringService, ConfigurationResultObject } from '@colijnit/configurator';
|
|
20
23
|
import * as i2 from '@angular/common';
|
|
21
24
|
import { SafeHtml, DomSanitizer, SafeUrl, SafeResourceUrl } from '@angular/platform-browser';
|
|
22
25
|
import { ExternalSource } from '@colijnit/articleapi/build/model/external-source.bo';
|
|
23
|
-
import * as i17 from '@colijnit/configurator';
|
|
24
|
-
import { ConfiguratorEventService, ConfiguratorConnectorService, ConfiguringService, ConfigurationResultObject } from '@colijnit/configurator';
|
|
25
26
|
import * as i3 from '@colijnit/corecomponents_v12';
|
|
26
27
|
import * as i4 from '@angular/cdk/overlay';
|
|
27
28
|
import * as i5 from '@colijnit/sharedcomponents';
|
|
@@ -63,13 +64,14 @@ declare class ProductEventService {
|
|
|
63
64
|
|
|
64
65
|
declare class ProductConnectorAdapterService implements OnDestroy {
|
|
65
66
|
private _eventService;
|
|
67
|
+
private _configuratorConnectorService;
|
|
66
68
|
readonly showLoader: Subject<boolean>;
|
|
67
69
|
articleConnector?: Articles;
|
|
68
70
|
transactionConnector: Transaction;
|
|
69
71
|
mainConnector: MainApi;
|
|
70
72
|
private _boFactory;
|
|
71
73
|
private _subs;
|
|
72
|
-
constructor(_eventService: ProductEventService);
|
|
74
|
+
constructor(_eventService: ProductEventService, _configuratorConnectorService: ConfiguratorConnectorService);
|
|
73
75
|
ngOnDestroy(): void;
|
|
74
76
|
initConnector(options: Options): Promise<void>;
|
|
75
77
|
setInstance(instanceId: string): void;
|
|
@@ -90,6 +92,7 @@ declare class ProductConnectorAdapterService implements OnDestroy {
|
|
|
90
92
|
getImageForCoDocument(document: CoDocument, thumb: boolean): Promise<ImageContent>;
|
|
91
93
|
savePreset(): Promise<boolean>;
|
|
92
94
|
getDefaultLanguage(upId: number): Promise<string>;
|
|
95
|
+
storeConfiguratorPreset(): Promise<DataServiceResponseData>;
|
|
93
96
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConnectorAdapterService, never>;
|
|
94
97
|
static ɵprov: i0.ɵɵInjectableDeclaration<ProductConnectorAdapterService>;
|
|
95
98
|
}
|
|
@@ -238,14 +241,15 @@ declare class IoneProductComponent implements OnInit, OnDestroy {
|
|
|
238
241
|
private _settingsService;
|
|
239
242
|
private _productConnectorService;
|
|
240
243
|
private _localStorageService;
|
|
244
|
+
externalButtonsTpl: TemplateRef<any>;
|
|
241
245
|
sku: string;
|
|
242
246
|
isReturn: boolean;
|
|
243
|
-
showRelatedProductsPopup: boolean;
|
|
244
247
|
enableRenderCarousel: boolean;
|
|
245
248
|
set settings(value: any);
|
|
246
249
|
get settings(): any;
|
|
247
250
|
handleAddArticleInternally: boolean;
|
|
248
251
|
handleAddToCartInternally: boolean;
|
|
252
|
+
externalButtonTemplate: TemplateRef<any>;
|
|
249
253
|
onAddToCart: EventEmitter<{
|
|
250
254
|
article: string | ArticleListObjectExtended;
|
|
251
255
|
quantity: number;
|
|
@@ -271,7 +275,7 @@ declare class IoneProductComponent implements OnInit, OnDestroy {
|
|
|
271
275
|
private _handleAddToCart;
|
|
272
276
|
openStock(): void;
|
|
273
277
|
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; }; "
|
|
278
|
+
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; }; "externalButtonTemplate": { "alias": "externalButtonTemplate"; "required": false; }; }, { "onAddToCart": "onAddToCart"; "forceRenderImage": "forceRenderImage"; "getRenderForRenderCarousel": "getRenderForRenderCarousel"; "onAlternativeClick": "onAlternativeClick"; "onArticleInfoReceived": "onArticleInfoReceived"; "onArticleReceived": "onArticleReceived"; "onSelectionsReceived": "onSelectionsReceived"; "onAddToQuote": "onAddToQuote"; "openStockEvent": "openStockEvent"; "onAnswersAvailable": "onAnswersAvailable"; }, ["externalButtonsTpl"], ["[externalButtons]"], false, never>;
|
|
275
279
|
}
|
|
276
280
|
|
|
277
281
|
declare class StockAndDelivery {
|
|
@@ -346,8 +350,8 @@ declare class ProductPageComponent implements OnInit, OnDestroy {
|
|
|
346
350
|
externalSource: ExternalSource;
|
|
347
351
|
createFrozenArticle: boolean;
|
|
348
352
|
isReturn: boolean;
|
|
349
|
-
showRelatedProductsPopup: boolean;
|
|
350
353
|
enableRenderCarousel: boolean;
|
|
354
|
+
externalButtonTemplate: TemplateRef<any>;
|
|
351
355
|
openStockEvent: EventEmitter<void>;
|
|
352
356
|
get settings(): any;
|
|
353
357
|
set fullScreen(value: boolean);
|
|
@@ -382,11 +386,10 @@ declare class ProductPageComponent implements OnInit, OnDestroy {
|
|
|
382
386
|
private _handleSettingsLoaded;
|
|
383
387
|
private _getArticle;
|
|
384
388
|
openStock(): void;
|
|
385
|
-
handlePopUpChange(event: boolean): void;
|
|
386
389
|
handleObjectAddedToScene(build: ConfigurationResultObject): void;
|
|
387
390
|
private _createRenderForCarousel;
|
|
388
391
|
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; }; "
|
|
392
|
+
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; }; "externalButtonTemplate": { "alias": "externalButtonTemplate"; "required": false; }; }, { "openStockEvent": "openStockEvent"; }, never, never, false, never>;
|
|
390
393
|
}
|
|
391
394
|
|
|
392
395
|
declare class ProductSelectorTypeComponent implements OnInit {
|
|
@@ -917,6 +920,7 @@ declare class ProductExternalSourceComponent implements OnInit, OnDestroy {
|
|
|
917
920
|
private _sanitizer;
|
|
918
921
|
private _productConnectorService;
|
|
919
922
|
private _appEventService;
|
|
923
|
+
externalButtonsTpl: TemplateRef<any>;
|
|
920
924
|
sku: string;
|
|
921
925
|
catalogDefinition: CatalogDefinition;
|
|
922
926
|
ownSettings: any;
|
|
@@ -955,7 +959,7 @@ declare class ProductExternalSourceComponent implements OnInit, OnDestroy {
|
|
|
955
959
|
private switchToConfigurator;
|
|
956
960
|
private switchToSource;
|
|
957
961
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductExternalSourceComponent, never>;
|
|
958
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ProductExternalSourceComponent, "co-product-external-source", never, { "sku": { "alias": "sku"; "required": false; }; "catalogDefinition": { "alias": "catalogDefinition"; "required": false; }; "ownSettings": { "alias": "ownSettings"; "required": false; }; "externalSource": { "alias": "externalSource"; "required": false; }; "externalCatalogStartupInfo": { "alias": "externalCatalogStartupInfo"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, { "addToCart": "addToCart"; "addToQuote": "addToQuote"; "alternativeClick": "alternativeClick"; "configuratorFinished": "configuratorFinished"; },
|
|
962
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductExternalSourceComponent, "co-product-external-source", never, { "sku": { "alias": "sku"; "required": false; }; "catalogDefinition": { "alias": "catalogDefinition"; "required": false; }; "ownSettings": { "alias": "ownSettings"; "required": false; }; "externalSource": { "alias": "externalSource"; "required": false; }; "externalCatalogStartupInfo": { "alias": "externalCatalogStartupInfo"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, { "addToCart": "addToCart"; "addToQuote": "addToQuote"; "alternativeClick": "alternativeClick"; "configuratorFinished": "configuratorFinished"; }, ["externalButtonsTpl"], ["[externalButtons]"], false, never>;
|
|
959
963
|
}
|
|
960
964
|
|
|
961
965
|
declare class ProductExternalSourceModule {
|