@colijnit/product 262.1.7 → 262.1.8
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 +82 -26
- package/fesm2022/colijnit-product.mjs.map +1 -1
- package/index.d.ts +14 -7
- 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,6 +241,7 @@ 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
247
|
showRelatedProductsPopup: boolean;
|
|
@@ -246,6 +250,7 @@ declare class IoneProductComponent implements OnInit, OnDestroy {
|
|
|
246
250
|
get settings(): any;
|
|
247
251
|
handleAddArticleInternally: boolean;
|
|
248
252
|
handleAddToCartInternally: boolean;
|
|
253
|
+
externalButtonTemplate: TemplateRef<any>;
|
|
249
254
|
onAddToCart: EventEmitter<{
|
|
250
255
|
article: string | ArticleListObjectExtended;
|
|
251
256
|
quantity: number;
|
|
@@ -271,7 +276,7 @@ declare class IoneProductComponent implements OnInit, OnDestroy {
|
|
|
271
276
|
private _handleAddToCart;
|
|
272
277
|
openStock(): void;
|
|
273
278
|
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; }; "showRelatedProductsPopup": { "alias": "showRelatedProductsPopup"; "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"; },
|
|
279
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IoneProductComponent, "app-ione-product", never, { "sku": { "alias": "sku"; "required": false; }; "isReturn": { "alias": "isReturn"; "required": false; }; "showRelatedProductsPopup": { "alias": "showRelatedProductsPopup"; "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
280
|
}
|
|
276
281
|
|
|
277
282
|
declare class StockAndDelivery {
|
|
@@ -348,6 +353,7 @@ declare class ProductPageComponent implements OnInit, OnDestroy {
|
|
|
348
353
|
isReturn: boolean;
|
|
349
354
|
showRelatedProductsPopup: boolean;
|
|
350
355
|
enableRenderCarousel: boolean;
|
|
356
|
+
externalButtonTemplate: TemplateRef<any>;
|
|
351
357
|
openStockEvent: EventEmitter<void>;
|
|
352
358
|
get settings(): any;
|
|
353
359
|
set fullScreen(value: boolean);
|
|
@@ -386,7 +392,7 @@ declare class ProductPageComponent implements OnInit, OnDestroy {
|
|
|
386
392
|
handleObjectAddedToScene(build: ConfigurationResultObject): void;
|
|
387
393
|
private _createRenderForCarousel;
|
|
388
394
|
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; }; "showRelatedProductsPopup": { "alias": "showRelatedProductsPopup"; "required": false; }; "enableRenderCarousel": { "alias": "enableRenderCarousel"; "required": false; }; }, { "openStockEvent": "openStockEvent"; }, never, never, false, never>;
|
|
395
|
+
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; }; "externalButtonTemplate": { "alias": "externalButtonTemplate"; "required": false; }; }, { "openStockEvent": "openStockEvent"; }, never, never, false, never>;
|
|
390
396
|
}
|
|
391
397
|
|
|
392
398
|
declare class ProductSelectorTypeComponent implements OnInit {
|
|
@@ -917,6 +923,7 @@ declare class ProductExternalSourceComponent implements OnInit, OnDestroy {
|
|
|
917
923
|
private _sanitizer;
|
|
918
924
|
private _productConnectorService;
|
|
919
925
|
private _appEventService;
|
|
926
|
+
externalButtonsTpl: TemplateRef<any>;
|
|
920
927
|
sku: string;
|
|
921
928
|
catalogDefinition: CatalogDefinition;
|
|
922
929
|
ownSettings: any;
|
|
@@ -955,7 +962,7 @@ declare class ProductExternalSourceComponent implements OnInit, OnDestroy {
|
|
|
955
962
|
private switchToConfigurator;
|
|
956
963
|
private switchToSource;
|
|
957
964
|
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"; },
|
|
965
|
+
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
966
|
}
|
|
960
967
|
|
|
961
968
|
declare class ProductExternalSourceModule {
|