@colijnit/product 300.1.0 → 300.1.2
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 +139 -51
- package/fesm2022/colijnit-product.mjs.map +1 -1
- package/index.d.ts +22 -10
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ import * as i17 from '@colijnit/configurator';
|
|
|
22
22
|
import { ConfiguratorConnectorService, ConfiguratorEventService, ConfiguringService, ConfigurationResultObject } from '@colijnit/configurator';
|
|
23
23
|
import * as i2 from '@angular/common';
|
|
24
24
|
import { SafeHtml, DomSanitizer, SafeUrl, SafeResourceUrl } from '@angular/platform-browser';
|
|
25
|
-
import {
|
|
25
|
+
import { ExternalSourceInfo } from '@colijnit/articleapi/build/model/external-source-info.bo';
|
|
26
26
|
import * as i3 from '@colijnit/corecomponents_v12';
|
|
27
27
|
import * as i4 from '@angular/cdk/overlay';
|
|
28
28
|
import * as i5 from '@colijnit/sharedcomponents';
|
|
@@ -243,6 +243,7 @@ declare class IoneProductComponent implements OnInit, OnDestroy {
|
|
|
243
243
|
private _productConnectorService;
|
|
244
244
|
private _localStorageService;
|
|
245
245
|
externalButtonsTpl: TemplateRef<any>;
|
|
246
|
+
extraTabTemplate: TemplateRef<any>;
|
|
246
247
|
sku: string;
|
|
247
248
|
isReturn: boolean;
|
|
248
249
|
enableRenderCarousel: boolean;
|
|
@@ -251,6 +252,7 @@ declare class IoneProductComponent implements OnInit, OnDestroy {
|
|
|
251
252
|
handleAddArticleInternally: boolean;
|
|
252
253
|
handleAddToCartInternally: boolean;
|
|
253
254
|
externalButtonTemplate: TemplateRef<any>;
|
|
255
|
+
customExtraTabLabel: string;
|
|
254
256
|
onAddToCart: EventEmitter<{
|
|
255
257
|
article: string | ArticleListObjectExtended;
|
|
256
258
|
quantity: number;
|
|
@@ -276,7 +278,7 @@ declare class IoneProductComponent implements OnInit, OnDestroy {
|
|
|
276
278
|
private _handleAddToCart;
|
|
277
279
|
openStock(): void;
|
|
278
280
|
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; }; "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>;
|
|
281
|
+
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; }; "customExtraTabLabel": { "alias": "customExtraTabLabel"; "required": false; }; }, { "onAddToCart": "onAddToCart"; "forceRenderImage": "forceRenderImage"; "getRenderForRenderCarousel": "getRenderForRenderCarousel"; "onAlternativeClick": "onAlternativeClick"; "onArticleInfoReceived": "onArticleInfoReceived"; "onArticleReceived": "onArticleReceived"; "onSelectionsReceived": "onSelectionsReceived"; "onAddToQuote": "onAddToQuote"; "openStockEvent": "openStockEvent"; "onAnswersAvailable": "onAnswersAvailable"; }, ["externalButtonsTpl", "extraTabTemplate"], ["[externalButtons]", "[extraTab]"], false, never>;
|
|
280
282
|
}
|
|
281
283
|
|
|
282
284
|
declare class StockAndDelivery {
|
|
@@ -348,12 +350,14 @@ declare class ProductPageComponent implements OnInit, OnDestroy {
|
|
|
348
350
|
set sku(value: string);
|
|
349
351
|
get sku(): string;
|
|
350
352
|
set settings(value: any);
|
|
351
|
-
externalSource:
|
|
353
|
+
externalSource: ExternalSourceInfo;
|
|
352
354
|
createFrozenArticle: boolean;
|
|
353
355
|
isReturn: boolean;
|
|
354
356
|
enableRenderCarousel: boolean;
|
|
355
357
|
externalButtonTemplate: TemplateRef<any>;
|
|
358
|
+
extraTabTemplate: TemplateRef<any>;
|
|
356
359
|
openStockEvent: EventEmitter<void>;
|
|
360
|
+
customExtraTabLabel: string;
|
|
357
361
|
get settings(): any;
|
|
358
362
|
set fullScreen(value: boolean);
|
|
359
363
|
get fullScreen(): boolean;
|
|
@@ -390,7 +394,7 @@ declare class ProductPageComponent implements OnInit, OnDestroy {
|
|
|
390
394
|
handleObjectAddedToScene(build: ConfigurationResultObject): void;
|
|
391
395
|
private _createRenderForCarousel;
|
|
392
396
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductPageComponent, never>;
|
|
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>;
|
|
397
|
+
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; }; "extraTabTemplate": { "alias": "extraTabTemplate"; "required": false; }; "customExtraTabLabel": { "alias": "customExtraTabLabel"; "required": false; }; }, { "openStockEvent": "openStockEvent"; }, never, never, false, never>;
|
|
394
398
|
}
|
|
395
399
|
|
|
396
400
|
declare class ProductSelectorTypeComponent implements OnInit {
|
|
@@ -572,7 +576,7 @@ declare class ProductAddtocartComponent implements OnInit, OnDestroy {
|
|
|
572
576
|
readonly icon: typeof IconEnum;
|
|
573
577
|
addToCartButton: ElementRef;
|
|
574
578
|
article: ArticleFullObject;
|
|
575
|
-
externalSource:
|
|
579
|
+
externalSource: ExternalSourceInfo;
|
|
576
580
|
createFrozenArticle: boolean;
|
|
577
581
|
configurable: boolean;
|
|
578
582
|
configuring: boolean;
|
|
@@ -614,7 +618,7 @@ declare class ProductRelatedComponent {
|
|
|
614
618
|
private _settingsService;
|
|
615
619
|
refType: number;
|
|
616
620
|
label: string;
|
|
617
|
-
externalSource:
|
|
621
|
+
externalSource: ExternalSourceInfo;
|
|
618
622
|
isSmallModus: boolean;
|
|
619
623
|
createFrozenArticle: boolean;
|
|
620
624
|
set articles(value: ArticleListObject[]);
|
|
@@ -698,14 +702,22 @@ declare class ProductDeliveryModule {
|
|
|
698
702
|
static ɵinj: i0.ɵɵInjectorDeclaration<ProductDeliveryModule>;
|
|
699
703
|
}
|
|
700
704
|
|
|
705
|
+
interface InfoTab {
|
|
706
|
+
id: number;
|
|
707
|
+
title: string;
|
|
708
|
+
}
|
|
701
709
|
declare class ProductInfoTabsComponent implements OnDestroy {
|
|
702
710
|
private _appEventService;
|
|
703
711
|
activeTab: number;
|
|
704
712
|
activeTabHeight: number;
|
|
705
713
|
tabContent: ElementRef;
|
|
706
|
-
tabs:
|
|
714
|
+
tabs: InfoTab[];
|
|
707
715
|
articleObject: ArticleFullObject;
|
|
708
716
|
set article(value: ArticleFullObject);
|
|
717
|
+
set extraTabTemplate(value: TemplateRef<any>);
|
|
718
|
+
customExtraTabLabel: string;
|
|
719
|
+
get extraTabTemplate(): TemplateRef<any>;
|
|
720
|
+
private _extraTabTemplate;
|
|
709
721
|
private _subs;
|
|
710
722
|
constructor(_appEventService: ProductEventService);
|
|
711
723
|
ngOnDestroy(): void;
|
|
@@ -713,7 +725,7 @@ declare class ProductInfoTabsComponent implements OnDestroy {
|
|
|
713
725
|
updateHeight(tabIndex: number): void;
|
|
714
726
|
private _setupTabs;
|
|
715
727
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductInfoTabsComponent, never>;
|
|
716
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ProductInfoTabsComponent, "app-product-info-tabs", never, { "article": { "alias": "article"; "required": false; }; }, {}, never, never, false, never>;
|
|
728
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductInfoTabsComponent, "app-product-info-tabs", never, { "article": { "alias": "article"; "required": false; }; "extraTabTemplate": { "alias": "extraTabTemplate"; "required": false; }; "customExtraTabLabel": { "alias": "customExtraTabLabel"; "required": false; }; }, {}, never, never, false, never>;
|
|
717
729
|
}
|
|
718
730
|
|
|
719
731
|
declare class ProductAdditionalInfoComponent implements OnInit {
|
|
@@ -922,8 +934,8 @@ declare class ProductExternalSourceComponent implements OnInit, OnDestroy {
|
|
|
922
934
|
sku: string;
|
|
923
935
|
catalogDefinition: CatalogDefinition;
|
|
924
936
|
ownSettings: any;
|
|
925
|
-
set externalSource(value:
|
|
926
|
-
get externalSource():
|
|
937
|
+
set externalSource(value: ExternalSourceInfo);
|
|
938
|
+
get externalSource(): ExternalSourceInfo;
|
|
927
939
|
set externalCatalogStartupInfo(value: ExternalCatalogStartupInfo);
|
|
928
940
|
get externalCatalogStartupInfo(): ExternalCatalogStartupInfo;
|
|
929
941
|
options: {};
|