@colijnit/product 300.1.1 → 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 -46
- package/fesm2022/colijnit-product.mjs.map +1 -1
- package/index.d.ts +16 -4
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -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 {
|
|
@@ -353,7 +355,9 @@ declare class ProductPageComponent implements OnInit, OnDestroy {
|
|
|
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 {
|
|
@@ -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 {
|