@colijnit/product 262.1.8 → 300.1.0
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 +188 -243
- package/fesm2022/colijnit-product.mjs.map +1 -1
- package/index.d.ts +9 -14
- package/package.json +8 -8
package/index.d.ts
CHANGED
|
@@ -40,7 +40,7 @@ declare class Version {
|
|
|
40
40
|
|
|
41
41
|
declare class ProductEventService {
|
|
42
42
|
onAddToCart: Subject<{
|
|
43
|
-
article: string |
|
|
43
|
+
article: string | ArticleFullObject;
|
|
44
44
|
quantity: number;
|
|
45
45
|
}>;
|
|
46
46
|
onAlternativeClick: Subject<ArticleListObject>;
|
|
@@ -90,7 +90,6 @@ declare class ProductConnectorAdapterService implements OnDestroy {
|
|
|
90
90
|
getDocumentContent(docId: number, thumbnail?: boolean): Promise<DocumentContent>;
|
|
91
91
|
addWebSessionTransactionLine(transactionUuid: string, sku: string, quantity: number): Promise<string>;
|
|
92
92
|
getImageForCoDocument(document: CoDocument, thumb: boolean): Promise<ImageContent>;
|
|
93
|
-
savePreset(): Promise<boolean>;
|
|
94
93
|
getDefaultLanguage(upId: number): Promise<string>;
|
|
95
94
|
storeConfiguratorPreset(): Promise<DataServiceResponseData>;
|
|
96
95
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConnectorAdapterService, never>;
|
|
@@ -208,13 +207,15 @@ declare class ProductConnectorService implements OnDestroy {
|
|
|
208
207
|
getArtStockStatus(goodId: number): Promise<number>;
|
|
209
208
|
getDeliveryDate2(goodId: number): Promise<DeliveryPrognosis>;
|
|
210
209
|
getSuperArticle(id: string): Promise<SuperArticle>;
|
|
210
|
+
prepareArticleForCart(article: ArticleFullObject, quantity: number, externalSource: boolean, createFrozenArticle?: boolean): Promise<ArticleFullObject | string>;
|
|
211
211
|
getJsonArticleFlatTree(goodId: number, goodType: string, quantity: number, externalSource?: boolean, showLoader?: boolean, configuratorStatistics?: ConfiguratorStatisticsEnvironment): Promise<string>;
|
|
212
212
|
getGeneratedArtDirectly(goodId: number, showLoader?: boolean): Promise<number>;
|
|
213
213
|
addWebSessionTransactionLine(transactionUuid: string, sku: string, quantity: number): Promise<string>;
|
|
214
214
|
getImageForCoDocument(document: CoDocument, thumb?: boolean): Promise<ImageContent>;
|
|
215
|
-
savePreset(): Promise<boolean>;
|
|
216
215
|
getDefaultLanguage(upId: number): Promise<string>;
|
|
217
216
|
onShowLoaderChange(showLoader: boolean): void;
|
|
217
|
+
getJSONFromArticleObject(goodId: number, goodType: string, quantity: number, externalSource: boolean): Promise<string>;
|
|
218
|
+
private _handleGeneratedArticleDirectly;
|
|
218
219
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConnectorService, never>;
|
|
219
220
|
static ɵprov: i0.ɵɵInjectableDeclaration<ProductConnectorService>;
|
|
220
221
|
}
|
|
@@ -244,7 +245,6 @@ declare class IoneProductComponent implements OnInit, OnDestroy {
|
|
|
244
245
|
externalButtonsTpl: TemplateRef<any>;
|
|
245
246
|
sku: string;
|
|
246
247
|
isReturn: boolean;
|
|
247
|
-
showRelatedProductsPopup: boolean;
|
|
248
248
|
enableRenderCarousel: boolean;
|
|
249
249
|
set settings(value: any);
|
|
250
250
|
get settings(): any;
|
|
@@ -276,7 +276,7 @@ declare class IoneProductComponent implements OnInit, OnDestroy {
|
|
|
276
276
|
private _handleAddToCart;
|
|
277
277
|
openStock(): void;
|
|
278
278
|
static ɵfac: i0.ɵɵFactoryDeclaration<IoneProductComponent, never>;
|
|
279
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IoneProductComponent, "app-ione-product", never, { "sku": { "alias": "sku"; "required": false; }; "isReturn": { "alias": "isReturn"; "required": false; }; "
|
|
279
|
+
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>;
|
|
280
280
|
}
|
|
281
281
|
|
|
282
282
|
declare class StockAndDelivery {
|
|
@@ -351,7 +351,6 @@ declare class ProductPageComponent implements OnInit, OnDestroy {
|
|
|
351
351
|
externalSource: ExternalSource;
|
|
352
352
|
createFrozenArticle: boolean;
|
|
353
353
|
isReturn: boolean;
|
|
354
|
-
showRelatedProductsPopup: boolean;
|
|
355
354
|
enableRenderCarousel: boolean;
|
|
356
355
|
externalButtonTemplate: TemplateRef<any>;
|
|
357
356
|
openStockEvent: EventEmitter<void>;
|
|
@@ -388,11 +387,10 @@ declare class ProductPageComponent implements OnInit, OnDestroy {
|
|
|
388
387
|
private _handleSettingsLoaded;
|
|
389
388
|
private _getArticle;
|
|
390
389
|
openStock(): void;
|
|
391
|
-
handlePopUpChange(event: boolean): void;
|
|
392
390
|
handleObjectAddedToScene(build: ConfigurationResultObject): void;
|
|
393
391
|
private _createRenderForCarousel;
|
|
394
392
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductPageComponent, 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; }; "
|
|
393
|
+
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>;
|
|
396
394
|
}
|
|
397
395
|
|
|
398
396
|
declare class ProductSelectorTypeComponent implements OnInit {
|
|
@@ -594,9 +592,6 @@ declare class ProductAddtocartComponent implements OnInit, OnDestroy {
|
|
|
594
592
|
ngOnDestroy(): void;
|
|
595
593
|
handleAddToCartClick(quantity: number): Promise<void>;
|
|
596
594
|
handleAddToQuoteClick(quantity: number): Promise<void>;
|
|
597
|
-
private _getJSONFromArticleObject;
|
|
598
|
-
private _handleGeneratedArticleDirectly;
|
|
599
|
-
private _getGeneratedArtDirectly;
|
|
600
595
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductAddtocartComponent, never>;
|
|
601
596
|
static ɵcmp: i0.ɵɵComponentDeclaration<ProductAddtocartComponent, "app-product-addtocart", never, { "article": { "alias": "article"; "required": false; }; "externalSource": { "alias": "externalSource"; "required": false; }; "createFrozenArticle": { "alias": "createFrozenArticle"; "required": false; }; "configurable": { "alias": "configurable"; "required": false; }; "configuring": { "alias": "configuring"; "required": false; }; "showAddToCart": { "alias": "showAddToCart"; "required": false; }; "isReturn": { "alias": "isReturn"; "required": false; }; "fullscreen": { "alias": "fullscreen"; "required": false; }; "quantity": { "alias": "quantity"; "required": false; }; }, { "startConfiguration": "startConfiguration"; "addToCartClick": "addToCartClick"; "addToQuoteClick": "addToQuoteClick"; "showRelatedPopup": "showRelatedPopup"; }, never, never, false, never>;
|
|
602
597
|
}
|
|
@@ -613,7 +608,7 @@ declare class ArticleViewModel {
|
|
|
613
608
|
constructor(article: ArticleListObject, imageData?: string);
|
|
614
609
|
}
|
|
615
610
|
declare class ProductRelatedComponent {
|
|
616
|
-
private
|
|
611
|
+
private _productConnectorService;
|
|
617
612
|
private _appEventService;
|
|
618
613
|
private _productConnectorAdapterService;
|
|
619
614
|
private _settingsService;
|
|
@@ -626,9 +621,9 @@ declare class ProductRelatedComponent {
|
|
|
626
621
|
get articles(): ArticleListObject[];
|
|
627
622
|
articleViewModels: ArticleViewModel[];
|
|
628
623
|
private _articles;
|
|
629
|
-
constructor(
|
|
624
|
+
constructor(_productConnectorService: ProductConnectorService, _appEventService: ProductEventService, _productConnectorAdapterService: ProductConnectorAdapterService, _settingsService: ProductSettingsService);
|
|
630
625
|
handleContentClick(article: ArticleListObject): void;
|
|
631
|
-
handleAddToCartClick(
|
|
626
|
+
handleAddToCartClick(articleListObject: ArticleListObject): Promise<void>;
|
|
632
627
|
handleConfigureButtonClick(article: ArticleListObject): void;
|
|
633
628
|
handleThreeDButtonClick(article: ArticleListObject): void;
|
|
634
629
|
private _getJSONFromArticleObject;
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@colijnit/product",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "300.1.0",
|
|
4
4
|
"description": "Product detail page project for iOne",
|
|
5
5
|
"private": false,
|
|
6
6
|
"peerDependencies": {
|
|
7
|
-
"@colijnit/articleapi": ">=
|
|
8
|
-
"@colijnit/corecomponents_v12": ">=
|
|
9
|
-
"@colijnit/configurator": ">=
|
|
10
|
-
"@colijnit/sharedcomponents": ">=
|
|
11
|
-
"@colijnit/ioneconnector": ">=
|
|
12
|
-
"@colijnit/mainapi": ">=
|
|
13
|
-
"@colijnit/transactionapi": ">=
|
|
7
|
+
"@colijnit/articleapi": ">=300.1.0",
|
|
8
|
+
"@colijnit/corecomponents_v12": ">=300.1.0",
|
|
9
|
+
"@colijnit/configurator": ">=300.1.0",
|
|
10
|
+
"@colijnit/sharedcomponents": ">=300.1.0",
|
|
11
|
+
"@colijnit/ioneconnector": ">=300.1.0",
|
|
12
|
+
"@colijnit/mainapi": ">=300.1.0",
|
|
13
|
+
"@colijnit/transactionapi": ">=300.1.0"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@angular/animations": "20.3.16",
|