@colijnit/product 2.9.0 → 12.0.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/app/components/core/header/header.module.d.ts +2 -0
- package/app/components/image-carousel/image-carousel.module.d.ts +2 -0
- package/app/components/product-additional-description/product-additional-description.module.d.ts +2 -0
- package/app/components/product-additional-info/product-additional-info.module.d.ts +2 -0
- package/app/components/product-addtocart/product-addtocart.module.d.ts +2 -0
- package/app/components/product-delivery/product-delivery.module.d.ts +2 -0
- package/app/components/product-description/product-description.module.d.ts +2 -0
- package/app/components/product-documents/product-document.module.d.ts +2 -0
- package/app/components/product-info-tabs/product-info-tabs.module.d.ts +2 -0
- package/app/components/product-page/product-page.component.d.ts +3 -1
- package/app/components/product-price/product-price.module.d.ts +2 -0
- package/app/components/product-properties/product-properties.module.d.ts +2 -0
- package/app/components/product-related/product-related.module.d.ts +2 -0
- package/app/components/product-selector-type/product-selector-type.module.d.ts +2 -0
- package/app/components/product-stock/product-stock.component.d.ts +3 -1
- package/app/components/product-stock/product-stock.module.d.ts +2 -0
- package/app/components/product-symbols/product-symbols.module.d.ts +2 -0
- package/app/ione-product.component.d.ts +6 -2
- package/app/ione-product.module.d.ts +0 -2
- package/bundles/colijnit-product.umd.js +1467 -998
- package/bundles/colijnit-product.umd.js.map +1 -1
- package/colijnit-product.d.ts +40 -28
- package/colijnit-product.metadata.json +1 -1
- package/esm2015/app/components/core/header/header.component.js +21 -17
- package/esm2015/app/components/core/header/header.module.js +19 -0
- package/esm2015/app/components/image-carousel/image-carousel.component.js +51 -35
- package/esm2015/app/components/image-carousel/image-carousel.module.js +23 -0
- package/esm2015/app/components/product-additional-description/product-additional-description.component.js +20 -15
- package/esm2015/app/components/product-additional-description/product-additional-description.module.js +21 -0
- package/esm2015/app/components/product-additional-info/product-additional-info.component.js +22 -20
- package/esm2015/app/components/product-additional-info/product-additional-info.module.js +21 -0
- package/esm2015/app/components/product-addtocart/product-addtocart.component.js +43 -40
- package/esm2015/app/components/product-addtocart/product-addtocart.module.js +24 -0
- package/esm2015/app/components/product-delivery/product-delivery.component.js +22 -15
- package/esm2015/app/components/product-delivery/product-delivery.module.js +23 -0
- package/esm2015/app/components/product-description/product-description.component.js +18 -14
- package/esm2015/app/components/product-description/product-description.module.js +19 -0
- package/esm2015/app/components/product-documents/product-document.module.js +25 -0
- package/esm2015/app/components/product-documents/product-documents.component.js +19 -18
- package/esm2015/app/components/product-external-source/product-external-source.component.js +32 -45
- package/esm2015/app/components/product-external-source/product-external-source.module.js +17 -19
- package/esm2015/app/components/product-info-tabs/product-info-tabs.component.js +36 -18
- package/esm2015/app/components/product-info-tabs/product-info-tabs.module.js +29 -0
- package/esm2015/app/components/product-page/product-page.component.js +56 -60
- package/esm2015/app/components/product-page/product-page.module.js +40 -62
- package/esm2015/app/components/product-price/product-price.component.js +26 -19
- package/esm2015/app/components/product-price/product-price.module.js +23 -0
- package/esm2015/app/components/product-properties/product-properties.component.js +24 -17
- package/esm2015/app/components/product-properties/product-properties.module.js +21 -0
- package/esm2015/app/components/product-related/product-related.component.js +33 -24
- package/esm2015/app/components/product-related/product-related.module.js +24 -0
- package/esm2015/app/components/product-selector-type/product-selector-type.component.js +32 -28
- package/esm2015/app/components/product-selector-type/product-selector-type.module.js +23 -0
- package/esm2015/app/components/product-stock/product-stock.component.js +29 -16
- package/esm2015/app/components/product-stock/product-stock.module.js +23 -0
- package/esm2015/app/components/product-symbols/product-symbols.component.js +28 -17
- package/esm2015/app/components/product-symbols/product-symbols.module.js +26 -0
- package/esm2015/app/enum/icon.enum.js +1 -1
- package/esm2015/app/enum/language-code.enum.js +1 -1
- package/esm2015/app/enum/selector-type.enum.js +1 -1
- package/esm2015/app/ione-product.component.js +58 -56
- package/esm2015/app/ione-product.module.js +21 -39
- package/esm2015/app/model/article-quantity.model.js +1 -1
- package/esm2015/app/model/icon.js +1 -1
- package/esm2015/app/model/productSettings.js +1 -1
- package/esm2015/app/model/render-modes.js +1 -1
- package/esm2015/app/model/render-parameters.js +1 -1
- package/esm2015/app/model/settings-options.js +1 -1
- package/esm2015/app/model/stock-and-delivery.js +1 -1
- package/esm2015/app/pipe/localize.pipe.js +8 -12
- package/esm2015/app/pipe/pipe.module.js +16 -18
- package/esm2015/app/product-version.js +3 -3
- package/esm2015/app/service/dictionary.service.js +10 -11
- package/esm2015/app/service/icon-cache.service.js +10 -12
- package/esm2015/app/service/product-connector-adapter.service.js +8 -8
- package/esm2015/app/service/product-connector.service.js +7 -8
- package/esm2015/app/service/product-event.service.js +12 -20
- package/esm2015/app/service/product-settings.service.js +7 -8
- package/esm2015/app/utils/bit-utils.js +1 -1
- package/esm2015/app/utils/json-utils.service.js +9 -10
- package/esm2015/assets/dictionary/text.properties.js +1 -1
- package/esm2015/colijnit-product.js +41 -29
- package/esm2015/public_api.js +2 -1
- package/fesm2015/colijnit-product.js +1070 -756
- package/fesm2015/colijnit-product.js.map +1 -1
- package/package.json +15 -18
- package/public_api.d.ts +1 -0
- package/app/components/product-info/product-info.component.d.ts +0 -14
- package/app/service/product-initializer.service.d.ts +0 -6
- package/bundles/colijnit-product.umd.min.js +0 -16
- package/bundles/colijnit-product.umd.min.js.map +0 -1
- package/esm2015/app/components/product-info/product-info.component.js +0 -38
- package/esm2015/app/service/product-initializer.service.js +0 -26
- package/esm5/app/components/core/header/header.component.js +0 -24
- package/esm5/app/components/image-carousel/image-carousel.component.js +0 -170
- package/esm5/app/components/product-additional-description/product-additional-description.component.js +0 -59
- package/esm5/app/components/product-additional-info/product-additional-info.component.js +0 -142
- package/esm5/app/components/product-addtocart/product-addtocart.component.js +0 -133
- package/esm5/app/components/product-delivery/product-delivery.component.js +0 -47
- package/esm5/app/components/product-description/product-description.component.js +0 -21
- package/esm5/app/components/product-documents/product-documents.component.js +0 -31
- package/esm5/app/components/product-external-source/product-external-source.component.js +0 -126
- package/esm5/app/components/product-external-source/product-external-source.module.js +0 -26
- package/esm5/app/components/product-info/product-info.component.js +0 -39
- package/esm5/app/components/product-info-tabs/product-info-tabs.component.js +0 -70
- package/esm5/app/components/product-page/product-page.component.js +0 -247
- package/esm5/app/components/product-page/product-page.module.js +0 -69
- package/esm5/app/components/product-price/product-price.component.js +0 -74
- package/esm5/app/components/product-properties/product-properties.component.js +0 -60
- package/esm5/app/components/product-related/product-related.component.js +0 -78
- package/esm5/app/components/product-selector-type/product-selector-type.component.js +0 -54
- package/esm5/app/components/product-stock/product-stock.component.js +0 -41
- package/esm5/app/components/product-symbols/product-symbols.component.js +0 -43
- package/esm5/app/enum/icon.enum.js +0 -19
- package/esm5/app/enum/language-code.enum.js +0 -8
- package/esm5/app/enum/selector-type.enum.js +0 -7
- package/esm5/app/ione-product.component.js +0 -161
- package/esm5/app/ione-product.module.js +0 -47
- package/esm5/app/model/article-quantity.model.js +0 -7
- package/esm5/app/model/icon.js +0 -18
- package/esm5/app/model/productSettings.js +0 -18
- package/esm5/app/model/render-modes.js +0 -7
- package/esm5/app/model/render-parameters.js +0 -12
- package/esm5/app/model/settings-options.js +0 -15
- package/esm5/app/model/stock-and-delivery.js +0 -10
- package/esm5/app/pipe/localize.pipe.js +0 -33
- package/esm5/app/pipe/pipe.module.js +0 -23
- package/esm5/app/product-version.js +0 -12
- package/esm5/app/service/dictionary.service.js +0 -95
- package/esm5/app/service/icon-cache.service.js +0 -47
- package/esm5/app/service/product-connector-adapter.service.js +0 -248
- package/esm5/app/service/product-connector.service.js +0 -141
- package/esm5/app/service/product-event.service.js +0 -38
- package/esm5/app/service/product-initializer.service.js +0 -29
- package/esm5/app/service/product-settings.service.js +0 -107
- package/esm5/app/utils/bit-utils.js +0 -22
- package/esm5/app/utils/json-utils.service.js +0 -42
- package/esm5/assets/dictionary/text.properties.js +0 -67
- package/esm5/colijnit-product.js +0 -34
- package/esm5/public_api.js +0 -5
- package/fesm5/colijnit-product.js +0 -2582
- package/fesm5/colijnit-product.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, ElementRef, OnDestroy, OnInit, Renderer2 } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit, Renderer2 } from '@angular/core';
|
|
2
2
|
import { ProductConnectorService } from '../../service/product-connector.service';
|
|
3
3
|
import { ArticleFullObject } from '@colijnit/articleapi/build/model/article-full-object';
|
|
4
4
|
import { StockAndDelivery } from '../../model/stock-and-delivery';
|
|
@@ -21,6 +21,7 @@ export declare class ProductPageComponent implements OnInit, OnDestroy, AfterVie
|
|
|
21
21
|
set sku(value: string);
|
|
22
22
|
get sku(): string;
|
|
23
23
|
set settings(value: any);
|
|
24
|
+
openStockEvent: EventEmitter<void>;
|
|
24
25
|
get settings(): any;
|
|
25
26
|
set fullScreen(value: boolean);
|
|
26
27
|
get fullScreen(): boolean;
|
|
@@ -52,4 +53,5 @@ export declare class ProductPageComponent implements OnInit, OnDestroy, AfterVie
|
|
|
52
53
|
showFullScreen(): void;
|
|
53
54
|
private _handleSettingsLoaded;
|
|
54
55
|
private _getArticle;
|
|
56
|
+
openStock(): void;
|
|
55
57
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { SafeHtml } from '@angular/platform-browser';
|
|
3
3
|
import { ProductConnectorService } from '../../service/product-connector.service';
|
|
4
4
|
import { IconCacheService } from '../../service/icon-cache.service';
|
|
@@ -11,6 +11,8 @@ export declare class ProductStockComponent implements OnInit {
|
|
|
11
11
|
set stockAndDelivery(value: StockAndDelivery);
|
|
12
12
|
numberInStock: number;
|
|
13
13
|
iconData: SafeHtml;
|
|
14
|
+
openStockEvent: EventEmitter<void>;
|
|
14
15
|
constructor(_iOne: ProductConnectorService, _iconCache: IconCacheService);
|
|
15
16
|
ngOnInit(): void;
|
|
17
|
+
openStock(): void;
|
|
16
18
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChangeDetectorRef, EventEmitter, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { JsonUtilsService } from './utils/json-utils.service';
|
|
3
3
|
import { ProductConnectorService } from './service/product-connector.service';
|
|
4
4
|
import { DictionaryService } from './service/dictionary.service';
|
|
@@ -7,7 +7,7 @@ import { ArticleListObject } from '@colijnit/articleapi/build/model/article-list
|
|
|
7
7
|
import { ProductSettingsService } from './service/product-settings.service';
|
|
8
8
|
import { Selection } from '@colijnit/articleapi/build/model/selection';
|
|
9
9
|
import { ArticleQuickSel } from '@colijnit/articleapi/build/model/article-quick-sel';
|
|
10
|
-
export declare class IoneProductComponent implements OnChanges, OnDestroy {
|
|
10
|
+
export declare class IoneProductComponent implements OnInit, OnChanges, OnDestroy {
|
|
11
11
|
private _dictionary;
|
|
12
12
|
private _jsonUtils;
|
|
13
13
|
private _ione;
|
|
@@ -24,11 +24,15 @@ export declare class IoneProductComponent implements OnChanges, OnDestroy {
|
|
|
24
24
|
onArticleReceived: EventEmitter<ArticleQuickSel>;
|
|
25
25
|
onSelectionsReceived: EventEmitter<Selection[]>;
|
|
26
26
|
onAddToQuote: EventEmitter<string>;
|
|
27
|
+
openStockEvent: EventEmitter<void>;
|
|
28
|
+
settingsLoaded: boolean;
|
|
27
29
|
private _settings;
|
|
28
30
|
private _subs;
|
|
29
31
|
constructor(_dictionary: DictionaryService, _jsonUtils: JsonUtilsService, _ione: ProductConnectorService, _changeDetector: ChangeDetectorRef, _appEventService: ProductEventService, _settingsService: ProductSettingsService);
|
|
32
|
+
ngOnInit(): Promise<void>;
|
|
30
33
|
ngOnChanges(changes: SimpleChanges): void;
|
|
31
34
|
ngOnDestroy(): void;
|
|
32
35
|
private _handleAnswerInfoReceived;
|
|
33
36
|
private _handleAddToCart;
|
|
37
|
+
openStock(): void;
|
|
34
38
|
}
|