@colijnit/product 262.1.9 → 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 +70 -92
- package/fesm2022/colijnit-product.mjs.map +1 -1
- package/index.d.ts +7 -9
- 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
|
}
|
|
@@ -591,9 +592,6 @@ declare class ProductAddtocartComponent implements OnInit, OnDestroy {
|
|
|
591
592
|
ngOnDestroy(): void;
|
|
592
593
|
handleAddToCartClick(quantity: number): Promise<void>;
|
|
593
594
|
handleAddToQuoteClick(quantity: number): Promise<void>;
|
|
594
|
-
private _getJSONFromArticleObject;
|
|
595
|
-
private _handleGeneratedArticleDirectly;
|
|
596
|
-
private _getGeneratedArtDirectly;
|
|
597
595
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductAddtocartComponent, never>;
|
|
598
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>;
|
|
599
597
|
}
|
|
@@ -610,7 +608,7 @@ declare class ArticleViewModel {
|
|
|
610
608
|
constructor(article: ArticleListObject, imageData?: string);
|
|
611
609
|
}
|
|
612
610
|
declare class ProductRelatedComponent {
|
|
613
|
-
private
|
|
611
|
+
private _productConnectorService;
|
|
614
612
|
private _appEventService;
|
|
615
613
|
private _productConnectorAdapterService;
|
|
616
614
|
private _settingsService;
|
|
@@ -623,9 +621,9 @@ declare class ProductRelatedComponent {
|
|
|
623
621
|
get articles(): ArticleListObject[];
|
|
624
622
|
articleViewModels: ArticleViewModel[];
|
|
625
623
|
private _articles;
|
|
626
|
-
constructor(
|
|
624
|
+
constructor(_productConnectorService: ProductConnectorService, _appEventService: ProductEventService, _productConnectorAdapterService: ProductConnectorAdapterService, _settingsService: ProductSettingsService);
|
|
627
625
|
handleContentClick(article: ArticleListObject): void;
|
|
628
|
-
handleAddToCartClick(
|
|
626
|
+
handleAddToCartClick(articleListObject: ArticleListObject): Promise<void>;
|
|
629
627
|
handleConfigureButtonClick(article: ArticleListObject): void;
|
|
630
628
|
handleThreeDButtonClick(article: ArticleListObject): void;
|
|
631
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",
|