@colijnit/product 261.1.0 → 261.20.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 +4534 -0
- package/fesm2022/colijnit-product.mjs.map +1 -0
- package/index.d.ts +948 -0
- package/package.json +28 -29
- package/app/bundle/service/local-storage.service.d.ts +0 -14
- package/app/components/core/header/header.component.d.ts +0 -7
- package/app/components/core/header/header.module.d.ts +0 -2
- package/app/components/image-carousel/image-carousel.component.d.ts +0 -48
- package/app/components/image-carousel/image-carousel.module.d.ts +0 -2
- package/app/components/product-additional-description/product-additional-description.component.d.ts +0 -14
- package/app/components/product-additional-description/product-additional-description.module.d.ts +0 -2
- package/app/components/product-additional-info/product-additional-info.component.d.ts +0 -21
- package/app/components/product-additional-info/product-additional-info.module.d.ts +0 -2
- package/app/components/product-addtocart/product-addtocart.component.d.ts +0 -42
- package/app/components/product-addtocart/product-addtocart.module.d.ts +0 -2
- package/app/components/product-delivery/product-delivery.component.d.ts +0 -18
- package/app/components/product-delivery/product-delivery.module.d.ts +0 -2
- package/app/components/product-description/product-description.component.d.ts +0 -7
- package/app/components/product-description/product-description.module.d.ts +0 -2
- package/app/components/product-dialog/product-dialog.component.d.ts +0 -27
- package/app/components/product-dialog/product-dialog.module.d.ts +0 -2
- package/app/components/product-documents/product-document.module.d.ts +0 -2
- package/app/components/product-documents/product-documents.component.d.ts +0 -10
- package/app/components/product-external-source/product-external-source.component.d.ts +0 -51
- package/app/components/product-external-source/product-external-source.module.d.ts +0 -2
- package/app/components/product-hd/product-hd.component.d.ts +0 -25
- package/app/components/product-hd/product-hd.module.d.ts +0 -2
- package/app/components/product-info-tabs/product-info-tabs.component.d.ts +0 -18
- package/app/components/product-info-tabs/product-info-tabs.module.d.ts +0 -2
- package/app/components/product-page/product-page.component.d.ts +0 -66
- package/app/components/product-page/product-page.module.d.ts +0 -2
- package/app/components/product-price/product-price.component.d.ts +0 -19
- package/app/components/product-price/product-price.module.d.ts +0 -2
- package/app/components/product-properties/product-properties.component.d.ts +0 -16
- package/app/components/product-properties/product-properties.module.d.ts +0 -2
- package/app/components/product-related/product-related.component.d.ts +0 -33
- package/app/components/product-related/product-related.module.d.ts +0 -2
- package/app/components/product-selector-type/product-selector-type.component.d.ts +0 -22
- package/app/components/product-selector-type/product-selector-type.module.d.ts +0 -2
- package/app/components/product-stock/product-stock.component.d.ts +0 -20
- package/app/components/product-stock/product-stock.module.d.ts +0 -2
- package/app/components/product-symbols/product-symbols.component.d.ts +0 -10
- package/app/components/product-symbols/product-symbols.module.d.ts +0 -2
- package/app/components/render-carousel/render-carousel.component.d.ts +0 -40
- package/app/components/render-carousel/render-carousel.module.d.ts +0 -2
- package/app/enum/icon.enum.d.ts +0 -22
- package/app/enum/language-code.enum.d.ts +0 -6
- package/app/enum/selector-type.enum.d.ts +0 -5
- package/app/ione-product.component.d.ts +0 -47
- package/app/ione-product.module.d.ts +0 -2
- package/app/model/article-quantity.model.d.ts +0 -5
- package/app/model/icon.d.ts +0 -4
- package/app/model/productSettings.d.ts +0 -18
- package/app/model/render-modes.d.ts +0 -5
- package/app/model/render-parameters.d.ts +0 -7
- package/app/model/settings-options.d.ts +0 -10
- package/app/model/stock-and-delivery.d.ts +0 -5
- package/app/pipe/localize.pipe.d.ts +0 -7
- package/app/pipe/pipe.module.d.ts +0 -2
- package/app/product-version.d.ts +0 -6
- package/app/service/dictionary.service.d.ts +0 -24
- package/app/service/icon-cache.service.d.ts +0 -17
- package/app/service/product-connector-adapter.service.d.ts +0 -43
- package/app/service/product-connector.service.d.ts +0 -43
- package/app/service/product-event.service.d.ts +0 -27
- package/app/service/product-script-loader.service.d.ts +0 -9
- package/app/service/product-settings.service.d.ts +0 -16
- package/app/utils/bit-utils.d.ts +0 -7
- package/app/utils/json-utils.service.d.ts +0 -3
- package/assets/dictionary/text.properties.d.ts +0 -3
- package/bundles/colijnit-product.umd.js +0 -4317
- package/bundles/colijnit-product.umd.js.map +0 -1
- package/colijnit-product.d.ts +0 -49
- package/colijnit-product.metadata.json +0 -1
- package/esm2015/app/bundle/service/local-storage.service.js +0 -37
- package/esm2015/app/components/core/header/header.component.js +0 -26
- package/esm2015/app/components/core/header/header.module.js +0 -19
- package/esm2015/app/components/image-carousel/image-carousel.component.js +0 -288
- package/esm2015/app/components/image-carousel/image-carousel.module.js +0 -23
- package/esm2015/app/components/product-additional-description/product-additional-description.component.js +0 -58
- package/esm2015/app/components/product-additional-description/product-additional-description.module.js +0 -21
- package/esm2015/app/components/product-additional-info/product-additional-info.component.js +0 -108
- package/esm2015/app/components/product-additional-info/product-additional-info.module.js +0 -21
- package/esm2015/app/components/product-addtocart/product-addtocart.component.js +0 -185
- package/esm2015/app/components/product-addtocart/product-addtocart.module.js +0 -26
- package/esm2015/app/components/product-delivery/product-delivery.component.js +0 -49
- package/esm2015/app/components/product-delivery/product-delivery.module.js +0 -23
- package/esm2015/app/components/product-description/product-description.component.js +0 -23
- package/esm2015/app/components/product-description/product-description.module.js +0 -19
- package/esm2015/app/components/product-dialog/product-dialog.component.js +0 -86
- package/esm2015/app/components/product-dialog/product-dialog.module.js +0 -25
- package/esm2015/app/components/product-documents/product-document.module.js +0 -25
- package/esm2015/app/components/product-documents/product-documents.component.js +0 -31
- package/esm2015/app/components/product-external-source/product-external-source.component.js +0 -192
- package/esm2015/app/components/product-external-source/product-external-source.module.js +0 -23
- package/esm2015/app/components/product-hd/product-hd.component.js +0 -124
- package/esm2015/app/components/product-hd/product-hd.module.js +0 -23
- package/esm2015/app/components/product-info-tabs/product-info-tabs.component.js +0 -82
- package/esm2015/app/components/product-info-tabs/product-info-tabs.module.js +0 -29
- package/esm2015/app/components/product-page/product-page.component.js +0 -254
- package/esm2015/app/components/product-page/product-page.module.js +0 -50
- package/esm2015/app/components/product-price/product-price.component.js +0 -75
- package/esm2015/app/components/product-price/product-price.module.js +0 -23
- package/esm2015/app/components/product-properties/product-properties.component.js +0 -61
- package/esm2015/app/components/product-properties/product-properties.module.js +0 -21
- package/esm2015/app/components/product-related/product-related.component.js +0 -137
- package/esm2015/app/components/product-related/product-related.module.js +0 -25
- package/esm2015/app/components/product-selector-type/product-selector-type.component.js +0 -63
- package/esm2015/app/components/product-selector-type/product-selector-type.module.js +0 -26
- package/esm2015/app/components/product-stock/product-stock.component.js +0 -69
- package/esm2015/app/components/product-stock/product-stock.module.js +0 -23
- package/esm2015/app/components/product-symbols/product-symbols.component.js +0 -49
- package/esm2015/app/components/product-symbols/product-symbols.module.js +0 -26
- package/esm2015/app/components/render-carousel/render-carousel.component.js +0 -127
- package/esm2015/app/components/render-carousel/render-carousel.module.js +0 -25
- package/esm2015/app/enum/icon.enum.js +0 -24
- package/esm2015/app/enum/language-code.enum.js +0 -8
- package/esm2015/app/enum/selector-type.enum.js +0 -7
- package/esm2015/app/ione-product.component.js +0 -165
- package/esm2015/app/ione-product.module.js +0 -36
- package/esm2015/app/model/article-quantity.model.js +0 -3
- package/esm2015/app/model/icon.js +0 -23
- package/esm2015/app/model/productSettings.js +0 -14
- package/esm2015/app/model/render-modes.js +0 -7
- package/esm2015/app/model/render-parameters.js +0 -10
- package/esm2015/app/model/settings-options.js +0 -13
- package/esm2015/app/model/stock-and-delivery.js +0 -8
- package/esm2015/app/pipe/localize.pipe.js +0 -27
- package/esm2015/app/pipe/pipe.module.js +0 -18
- package/esm2015/app/product-version.js +0 -10
- package/esm2015/app/service/dictionary.service.js +0 -94
- package/esm2015/app/service/icon-cache.service.js +0 -40
- package/esm2015/app/service/product-connector-adapter.service.js +0 -199
- package/esm2015/app/service/product-connector.service.js +0 -115
- package/esm2015/app/service/product-event.service.js +0 -27
- package/esm2015/app/service/product-script-loader.service.js +0 -68
- package/esm2015/app/service/product-settings.service.js +0 -86
- package/esm2015/app/utils/bit-utils.js +0 -18
- package/esm2015/app/utils/json-utils.service.js +0 -29
- package/esm2015/assets/dictionary/text.properties.js +0 -102
- package/esm2015/colijnit-product.js +0 -50
- package/esm2015/public_api.js +0 -10
- package/fesm2015/colijnit-product.js +0 -3529
- package/fesm2015/colijnit-product.js.map +0 -1
- package/public_api.d.ts +0 -9
package/package.json
CHANGED
|
@@ -1,43 +1,42 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@colijnit/product",
|
|
3
|
-
"version": "261.
|
|
3
|
+
"version": "261.20.0",
|
|
4
4
|
"description": "Product detail page project for iOne",
|
|
5
5
|
"private": false,
|
|
6
6
|
"peerDependencies": {
|
|
7
7
|
"@colijnit/articleapi": ">=261.1.0",
|
|
8
|
-
"@colijnit/
|
|
9
|
-
"@colijnit/
|
|
8
|
+
"@colijnit/corecomponents_v12": ">=261.20.0",
|
|
9
|
+
"@colijnit/sharedcomponents": ">=261.20.0",
|
|
10
10
|
"@colijnit/ioneconnector": ">=261.1.0",
|
|
11
11
|
"@colijnit/mainapi": ">=261.1.0",
|
|
12
12
|
"@colijnit/transactionapi": ">=261.1.0"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@angular/animations": "
|
|
16
|
-
"@angular/cdk": "^
|
|
17
|
-
"@angular/common": "
|
|
18
|
-
"@angular/compiler": "
|
|
19
|
-
"@angular/core": "
|
|
20
|
-
"@angular/
|
|
21
|
-
"@angular/
|
|
22
|
-
"@angular/
|
|
23
|
-
"@angular/platform-browser": "
|
|
24
|
-
"@angular/
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
"
|
|
15
|
+
"@angular/animations": "^20.3.16",
|
|
16
|
+
"@angular/cdk": "^20.2.14",
|
|
17
|
+
"@angular/common": "^20.3.16",
|
|
18
|
+
"@angular/compiler": "^20.3.16",
|
|
19
|
+
"@angular/core": "^20.3.16",
|
|
20
|
+
"@angular/elements": "^20.3.16",
|
|
21
|
+
"@angular/forms": "^20.3.16",
|
|
22
|
+
"@angular/platform-browser": "^20.3.16",
|
|
23
|
+
"@angular/platform-browser-dynamic": "^20.3.16",
|
|
24
|
+
"@angular/router": "^20.3.16",
|
|
25
|
+
"core-js": "^3.47.0",
|
|
26
|
+
"rxjs": "~7.4.0",
|
|
27
|
+
"tslib": "^2.8.1",
|
|
28
|
+
"zone.js": "~0.15.1"
|
|
29
|
+
},
|
|
30
|
+
"module": "fesm2022/colijnit-product.mjs",
|
|
31
|
+
"typings": "index.d.ts",
|
|
32
|
+
"exports": {
|
|
33
|
+
"./package.json": {
|
|
34
|
+
"default": "./package.json"
|
|
35
|
+
},
|
|
36
|
+
".": {
|
|
37
|
+
"types": "./index.d.ts",
|
|
38
|
+
"default": "./fesm2022/colijnit-product.mjs"
|
|
39
|
+
}
|
|
34
40
|
},
|
|
35
|
-
"main": "bundles/colijnit-product.umd.js",
|
|
36
|
-
"module": "fesm2015/colijnit-product.js",
|
|
37
|
-
"es2015": "fesm2015/colijnit-product.js",
|
|
38
|
-
"esm2015": "esm2015/colijnit-product.js",
|
|
39
|
-
"fesm2015": "fesm2015/colijnit-product.js",
|
|
40
|
-
"typings": "colijnit-product.d.ts",
|
|
41
|
-
"metadata": "colijnit-product.metadata.json",
|
|
42
41
|
"sideEffects": false
|
|
43
42
|
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export declare class RootStorageObject {
|
|
2
|
-
id: string;
|
|
3
|
-
}
|
|
4
|
-
export declare class LocalStorageService {
|
|
5
|
-
readonly storage: Storage;
|
|
6
|
-
protected _appRoot: string;
|
|
7
|
-
protected _storageObj: RootStorageObject;
|
|
8
|
-
constructor();
|
|
9
|
-
save(): void;
|
|
10
|
-
clear(): void;
|
|
11
|
-
set id(id: string);
|
|
12
|
-
get id(): string;
|
|
13
|
-
protected _initLocalStorageObj(): void;
|
|
14
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, OnDestroy } from '@angular/core';
|
|
2
|
-
import { CoDocument } from '@colijnit/mainapi/build/model/co-document.bo';
|
|
3
|
-
import { ProductConnectorService } from '../../service/product-connector.service';
|
|
4
|
-
import { ProductEventService } from '../../service/product-event.service';
|
|
5
|
-
import { DomSanitizer, SafeUrl } from '@angular/platform-browser';
|
|
6
|
-
export declare class ImageViewModel {
|
|
7
|
-
image: CoDocument | string;
|
|
8
|
-
source: SafeUrl;
|
|
9
|
-
originalSource: string;
|
|
10
|
-
}
|
|
11
|
-
export declare class ImageCarouselComponent implements OnDestroy {
|
|
12
|
-
private _ione;
|
|
13
|
-
private _appEventService;
|
|
14
|
-
private _changeDetector;
|
|
15
|
-
private _domSanitizer;
|
|
16
|
-
carousel: ElementRef;
|
|
17
|
-
isPopupOpen: boolean;
|
|
18
|
-
selectedImage?: ImageViewModel;
|
|
19
|
-
onEsc(): void;
|
|
20
|
-
showRefresh: boolean;
|
|
21
|
-
set images(value: (CoDocument | string)[]);
|
|
22
|
-
get images(): (CoDocument | string)[];
|
|
23
|
-
handleWindowResize(): void;
|
|
24
|
-
gotoNextSlide(): void;
|
|
25
|
-
gotoPrevSlide(): void;
|
|
26
|
-
isCurrentIndex(index: number): boolean;
|
|
27
|
-
get currentIndex(): number;
|
|
28
|
-
set currentIndex(value: number);
|
|
29
|
-
resizing: boolean;
|
|
30
|
-
imageViewModels: ImageViewModel[];
|
|
31
|
-
showLoader: boolean;
|
|
32
|
-
private _resizeTimer;
|
|
33
|
-
private _currentIndex;
|
|
34
|
-
private _images;
|
|
35
|
-
private _subs;
|
|
36
|
-
private _resizeCanvasHeight;
|
|
37
|
-
constructor(_ione: ProductConnectorService, _appEventService: ProductEventService, _changeDetector: ChangeDetectorRef, _domSanitizer: DomSanitizer);
|
|
38
|
-
ngOnDestroy(): void;
|
|
39
|
-
handleThumbClick(index: number): void;
|
|
40
|
-
onForceRenderImage(): void;
|
|
41
|
-
handleShowImage(imageViewModel: ImageViewModel): void;
|
|
42
|
-
closePopup(): void;
|
|
43
|
-
private _filterValidImages;
|
|
44
|
-
private _loadAndRescaleImages;
|
|
45
|
-
private _resizeAndSanitizeSource;
|
|
46
|
-
private _detectPreferredMime;
|
|
47
|
-
private _scrollCarouselToIndex;
|
|
48
|
-
}
|
package/app/components/product-additional-description/product-additional-description.component.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { ArticleFullObject } from '@colijnit/articleapi/build/model/article-full-object';
|
|
3
|
-
import { ProductEventService } from '../../service/product-event.service';
|
|
4
|
-
export declare class ProductAdditionalDescriptionComponent implements OnInit {
|
|
5
|
-
private _appEventService;
|
|
6
|
-
set article(value: ArticleFullObject);
|
|
7
|
-
get article(): ArticleFullObject;
|
|
8
|
-
description: string;
|
|
9
|
-
private _article;
|
|
10
|
-
constructor(_appEventService: ProductEventService);
|
|
11
|
-
ngOnInit(): void;
|
|
12
|
-
onReadMore(): void;
|
|
13
|
-
private _prepareDescription;
|
|
14
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
|
-
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
3
|
-
import { ArticleFullObject } from '@colijnit/articleapi/build/model/article-full-object';
|
|
4
|
-
import { ProductConnectorService } from '../../service/product-connector.service';
|
|
5
|
-
export declare class ProductAdditionalInfoComponent implements OnInit {
|
|
6
|
-
private _sanitizer;
|
|
7
|
-
private _connectorService;
|
|
8
|
-
private _changeDetector;
|
|
9
|
-
set article(value: ArticleFullObject);
|
|
10
|
-
get article(): ArticleFullObject;
|
|
11
|
-
showLabel: boolean;
|
|
12
|
-
textParts: SafeHtml[];
|
|
13
|
-
info: string;
|
|
14
|
-
private _article;
|
|
15
|
-
private _superArticles;
|
|
16
|
-
constructor(_sanitizer: DomSanitizer, _connectorService: ProductConnectorService, _changeDetector: ChangeDetectorRef);
|
|
17
|
-
ngOnInit(): void;
|
|
18
|
-
private _getTextsSuperArticle;
|
|
19
|
-
private _prepareArticleTexts;
|
|
20
|
-
private _buildInfo;
|
|
21
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { IconCacheService } from '../../service/icon-cache.service';
|
|
3
|
-
import { IconEnum } from '../../enum/icon.enum';
|
|
4
|
-
import { ProductConnectorService } from '../../service/product-connector.service';
|
|
5
|
-
import { ProductEventService } from '../../service/product-event.service';
|
|
6
|
-
import { ArticleFullObject } from '@colijnit/articleapi/build/model/article-full-object';
|
|
7
|
-
import { ProductSettingsService } from '../../service/product-settings.service';
|
|
8
|
-
import { ExternalSource } from '@colijnit/articleapi/build/model/external-source.bo';
|
|
9
|
-
import { ProductConnectorAdapterService } from '../../service/product-connector-adapter.service';
|
|
10
|
-
export declare class ProductAddtocartComponent implements OnInit, OnDestroy {
|
|
11
|
-
iconCache: IconCacheService;
|
|
12
|
-
private _ioneControllerService;
|
|
13
|
-
private _appEventService;
|
|
14
|
-
private _settingsService;
|
|
15
|
-
private _productConnectorAdapterService;
|
|
16
|
-
readonly icon: typeof IconEnum;
|
|
17
|
-
addToCartButton: ElementRef;
|
|
18
|
-
article: ArticleFullObject;
|
|
19
|
-
externalSource: ExternalSource;
|
|
20
|
-
createFrozenArticle: boolean;
|
|
21
|
-
configurable: boolean;
|
|
22
|
-
configuring: boolean;
|
|
23
|
-
showAddToCart: boolean;
|
|
24
|
-
isReturn: boolean;
|
|
25
|
-
fullscreen: boolean;
|
|
26
|
-
set quantity(value: number);
|
|
27
|
-
get quantity(): number;
|
|
28
|
-
startConfiguration: EventEmitter<void>;
|
|
29
|
-
addToCartClick: EventEmitter<number>;
|
|
30
|
-
addToQuoteClick: EventEmitter<number>;
|
|
31
|
-
showRelatedPopup: EventEmitter<boolean>;
|
|
32
|
-
showQuoteButton: boolean;
|
|
33
|
-
private _quantity;
|
|
34
|
-
constructor(iconCache: IconCacheService, _ioneControllerService: ProductConnectorService, _appEventService: ProductEventService, _settingsService: ProductSettingsService, _productConnectorAdapterService: ProductConnectorAdapterService);
|
|
35
|
-
ngOnInit(): void;
|
|
36
|
-
ngOnDestroy(): void;
|
|
37
|
-
handleAddToCartClick(quantity: number): Promise<void>;
|
|
38
|
-
handleAddToQuoteClick(quantity: number): Promise<void>;
|
|
39
|
-
private _getJSONFromArticleObject;
|
|
40
|
-
private _handleGeneratedArticleDirectly;
|
|
41
|
-
private _getGeneratedArtDirectly;
|
|
42
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { ProductConnectorService } from '../../service/product-connector.service';
|
|
3
|
-
import { IconCacheService } from '../../service/icon-cache.service';
|
|
4
|
-
import { SafeHtml } from '@angular/platform-browser';
|
|
5
|
-
import { IconEnum } from '../../enum/icon.enum';
|
|
6
|
-
import { StockAndDelivery } from '../../model/stock-and-delivery';
|
|
7
|
-
import { LocalizePipe } from '../../pipe/localize.pipe';
|
|
8
|
-
export declare class ProductDeliveryComponent implements OnInit {
|
|
9
|
-
private _localizePipe;
|
|
10
|
-
private _iOne;
|
|
11
|
-
private _iconCache;
|
|
12
|
-
readonly icon: typeof IconEnum;
|
|
13
|
-
set stockAndDelivery(value: StockAndDelivery);
|
|
14
|
-
deliveryDescription: string;
|
|
15
|
-
iconData: SafeHtml;
|
|
16
|
-
constructor(_localizePipe: LocalizePipe, _iOne: ProductConnectorService, _iconCache: IconCacheService);
|
|
17
|
-
ngOnInit(): void;
|
|
18
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { ArticleFullObject } from '@colijnit/articleapi/build/model/article-full-object';
|
|
3
|
-
export declare class ProductDescriptionComponent implements OnInit {
|
|
4
|
-
article: ArticleFullObject;
|
|
5
|
-
constructor();
|
|
6
|
-
ngOnInit(): void;
|
|
7
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { DomSanitizer } from '@angular/platform-browser';
|
|
3
|
-
import { ProductConnectorService } from '../../service/product-connector.service';
|
|
4
|
-
import { ArticleListObject } from '@colijnit/articleapi/build/model/article-list-object';
|
|
5
|
-
import { ProductEventService } from '../../service/product-event.service';
|
|
6
|
-
import { ProductConnectorAdapterService } from '../../service/product-connector-adapter.service';
|
|
7
|
-
import { ArticleFullObject } from "@colijnit/articleapi/build/model/article-full-object";
|
|
8
|
-
import { IconEnum } from "../../enum/icon.enum";
|
|
9
|
-
import { IconCacheService } from "../../service/icon-cache.service";
|
|
10
|
-
import { SelectorType } from "../../enum/selector-type.enum";
|
|
11
|
-
export declare class ProductDialogComponent implements OnInit {
|
|
12
|
-
iconCache: IconCacheService;
|
|
13
|
-
private _sanitizer;
|
|
14
|
-
private _productConnectorService;
|
|
15
|
-
private _productConnectorAdapterService;
|
|
16
|
-
private _appEventService;
|
|
17
|
-
readonly icon: typeof IconEnum;
|
|
18
|
-
refType: number;
|
|
19
|
-
mainArticle: ArticleFullObject;
|
|
20
|
-
articles: ArticleListObject[];
|
|
21
|
-
closeRelatedPopup: EventEmitter<boolean>;
|
|
22
|
-
showClass(): boolean;
|
|
23
|
-
constructor(iconCache: IconCacheService, _sanitizer: DomSanitizer, _productConnectorService: ProductConnectorService, _productConnectorAdapterService: ProductConnectorAdapterService, _appEventService: ProductEventService);
|
|
24
|
-
ngOnInit(): void;
|
|
25
|
-
closeCatalog(): void;
|
|
26
|
-
protected readonly type: typeof SelectorType;
|
|
27
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { CoDocument } from '@colijnit/mainapi/build/model/co-document.bo';
|
|
2
|
-
import { IconEnum } from '../../enum/icon.enum';
|
|
3
|
-
import { IconCacheService } from '../../service/icon-cache.service';
|
|
4
|
-
export declare class ProductDocumentsComponent {
|
|
5
|
-
iconCache: IconCacheService;
|
|
6
|
-
readonly icon: typeof IconEnum;
|
|
7
|
-
showLabel: boolean;
|
|
8
|
-
documents: CoDocument[];
|
|
9
|
-
constructor(iconCache: IconCacheService);
|
|
10
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser';
|
|
3
|
-
import { ExternalSource } from '@colijnit/articleapi/build/model/external-source.bo';
|
|
4
|
-
import { ProductConnectorService } from '../../service/product-connector.service';
|
|
5
|
-
import { ArticleListObject } from '@colijnit/articleapi/build/model/article-list-object';
|
|
6
|
-
import { ProductEventService } from '../../service/product-event.service';
|
|
7
|
-
import { CatalogDefinition } from '@colijnit/articleapi/build/model/catalog-definition.bo';
|
|
8
|
-
import { ExternalSourceArticleAddInterface } from '@colijnit/articleapi/build/interface/external-source-article-add.interface';
|
|
9
|
-
import { ExternalCatalogStartupInfo } from '@colijnit/articleapi/build/model/external-catalog-startup-info';
|
|
10
|
-
import { ExternalSourceParameter } from '@colijnit/articleapi/build/model/external-source-parameter.bo';
|
|
11
|
-
export declare class ProductExternalSourceComponent implements OnInit, OnDestroy {
|
|
12
|
-
private _sanitizer;
|
|
13
|
-
private _productConnectorService;
|
|
14
|
-
private _appEventService;
|
|
15
|
-
sku: string;
|
|
16
|
-
catalogDefinition: CatalogDefinition;
|
|
17
|
-
set externalSource(value: ExternalSource);
|
|
18
|
-
get externalSource(): ExternalSource;
|
|
19
|
-
set externalCatalogStartupInfo(value: ExternalCatalogStartupInfo);
|
|
20
|
-
get externalCatalogStartupInfo(): ExternalCatalogStartupInfo;
|
|
21
|
-
options: {};
|
|
22
|
-
addToCart: EventEmitter<ExternalSourceArticleAddInterface>;
|
|
23
|
-
addToQuote: EventEmitter<ExternalSourceArticleAddInterface>;
|
|
24
|
-
alternativeClick: EventEmitter<ArticleListObject>;
|
|
25
|
-
configuratorFinished: EventEmitter<string>;
|
|
26
|
-
showClass(): boolean;
|
|
27
|
-
showProduct: boolean;
|
|
28
|
-
showConfigurator: boolean;
|
|
29
|
-
showSource: boolean;
|
|
30
|
-
safeUrl: SafeResourceUrl;
|
|
31
|
-
loaded: boolean;
|
|
32
|
-
externalUrl: string;
|
|
33
|
-
externalSettings: any;
|
|
34
|
-
token: string;
|
|
35
|
-
variant: string;
|
|
36
|
-
urlParams: ExternalSourceParameter[];
|
|
37
|
-
private _externalSource;
|
|
38
|
-
private _externalCatalogStartupInfo;
|
|
39
|
-
private _subs;
|
|
40
|
-
constructor(_sanitizer: DomSanitizer, _productConnectorService: ProductConnectorService, _appEventService: ProductEventService);
|
|
41
|
-
ngOnInit(): void;
|
|
42
|
-
ngOnDestroy(): void;
|
|
43
|
-
handleConfigurationFinished(variantString: string): void;
|
|
44
|
-
private _prepareExternalSource;
|
|
45
|
-
private _prepareCatFarm;
|
|
46
|
-
private _prepareConfigurator;
|
|
47
|
-
private _prepareSource;
|
|
48
|
-
private switchToProduct;
|
|
49
|
-
private switchToConfigurator;
|
|
50
|
-
private switchToSource;
|
|
51
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, OnDestroy, Renderer2 } from '@angular/core';
|
|
2
|
-
import { ProductScriptLoaderService } from '../../service/product-script-loader.service';
|
|
3
|
-
import { ExternalSourceParameter } from '@colijnit/articleapi/build/model/external-source-parameter.bo';
|
|
4
|
-
export declare class ProductHdComponent implements OnDestroy {
|
|
5
|
-
private _scriptLoader;
|
|
6
|
-
private _renderer;
|
|
7
|
-
set content(child: any);
|
|
8
|
-
set sku(value: string);
|
|
9
|
-
get sku(): string;
|
|
10
|
-
token: string;
|
|
11
|
-
variant: string;
|
|
12
|
-
urlParams: ExternalSourceParameter[];
|
|
13
|
-
configuratorFinished: EventEmitter<string>;
|
|
14
|
-
configurationError: EventEmitter<any>;
|
|
15
|
-
showClass: boolean;
|
|
16
|
-
hdeConfigurator: ElementRef;
|
|
17
|
-
private _sku;
|
|
18
|
-
constructor(_scriptLoader: ProductScriptLoaderService, _renderer: Renderer2);
|
|
19
|
-
ngOnDestroy(): void;
|
|
20
|
-
handleConfigurationFinished(event: CustomEvent): void;
|
|
21
|
-
handleError(event: CustomEvent): void;
|
|
22
|
-
private _prepareAttributes;
|
|
23
|
-
private _prepareConfiguratorUrls;
|
|
24
|
-
private _loadTheScripts;
|
|
25
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { ElementRef, OnDestroy } from '@angular/core';
|
|
2
|
-
import { ArticleFullObject } from '@colijnit/articleapi/build/model/article-full-object';
|
|
3
|
-
import { ProductEventService } from '../../service/product-event.service';
|
|
4
|
-
export declare class ProductInfoTabsComponent implements OnDestroy {
|
|
5
|
-
private _appEventService;
|
|
6
|
-
activeTab: number;
|
|
7
|
-
activeTabHeight: number;
|
|
8
|
-
tabContent: ElementRef;
|
|
9
|
-
tabs: any[];
|
|
10
|
-
articleObject: ArticleFullObject;
|
|
11
|
-
set article(value: ArticleFullObject);
|
|
12
|
-
private _subs;
|
|
13
|
-
constructor(_appEventService: ProductEventService);
|
|
14
|
-
ngOnDestroy(): void;
|
|
15
|
-
updateTab(tabIndex: number): void;
|
|
16
|
-
updateHeight(tabIndex: number): void;
|
|
17
|
-
private _setupTabs;
|
|
18
|
-
}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit, Renderer2 } from '@angular/core';
|
|
2
|
-
import { ProductConnectorService } from '../../service/product-connector.service';
|
|
3
|
-
import { ArticleFullObject } from '@colijnit/articleapi/build/model/article-full-object';
|
|
4
|
-
import { StockAndDelivery } from '../../model/stock-and-delivery';
|
|
5
|
-
import { SelectorType } from '../../enum/selector-type.enum';
|
|
6
|
-
import { IconEnum } from '../../enum/icon.enum';
|
|
7
|
-
import { IconCacheService } from '../../service/icon-cache.service';
|
|
8
|
-
import { ProductSettingsService } from '../../service/product-settings.service';
|
|
9
|
-
import { ProductEventService } from '../../service/product-event.service';
|
|
10
|
-
import { ExternalSource } from '@colijnit/articleapi/build/model/external-source.bo';
|
|
11
|
-
export declare class ProductPageComponent implements OnInit, OnDestroy, AfterViewInit {
|
|
12
|
-
private _ione;
|
|
13
|
-
private _renderer;
|
|
14
|
-
private _changeDetector;
|
|
15
|
-
iconCache: IconCacheService;
|
|
16
|
-
settingsService: ProductSettingsService;
|
|
17
|
-
appEventService: ProductEventService;
|
|
18
|
-
readonly icon: typeof IconEnum;
|
|
19
|
-
configurator: ElementRef;
|
|
20
|
-
selections: ElementRef;
|
|
21
|
-
fullscreenbutton: ElementRef;
|
|
22
|
-
set sku(value: string);
|
|
23
|
-
get sku(): string;
|
|
24
|
-
set settings(value: any);
|
|
25
|
-
externalSource: ExternalSource;
|
|
26
|
-
createFrozenArticle: boolean;
|
|
27
|
-
isReturn: boolean;
|
|
28
|
-
showRelatedProductsPopup: boolean;
|
|
29
|
-
enableRenderCarousel: boolean;
|
|
30
|
-
openStockEvent: EventEmitter<void>;
|
|
31
|
-
get settings(): any;
|
|
32
|
-
set fullScreen(value: boolean);
|
|
33
|
-
get fullScreen(): boolean;
|
|
34
|
-
get fullScreenIcon(): IconEnum;
|
|
35
|
-
set currentView(value: SelectorType);
|
|
36
|
-
get currentView(): SelectorType;
|
|
37
|
-
article: ArticleFullObject;
|
|
38
|
-
stockAndDelivery: StockAndDelivery;
|
|
39
|
-
configurable: boolean;
|
|
40
|
-
threeD: boolean;
|
|
41
|
-
selectorType: SelectorType;
|
|
42
|
-
show2D: boolean;
|
|
43
|
-
show3D: boolean;
|
|
44
|
-
configuring: boolean;
|
|
45
|
-
showAddToCart: boolean;
|
|
46
|
-
fullscreenAnimationEnd: boolean;
|
|
47
|
-
settingsLoaded: boolean;
|
|
48
|
-
private _sku;
|
|
49
|
-
private _initializedSub;
|
|
50
|
-
private _fullScreen;
|
|
51
|
-
private _currentView;
|
|
52
|
-
private _subs;
|
|
53
|
-
private _settings;
|
|
54
|
-
private _pageLoadedSubscription;
|
|
55
|
-
constructor(_ione: ProductConnectorService, _renderer: Renderer2, _changeDetector: ChangeDetectorRef, iconCache: IconCacheService, settingsService: ProductSettingsService, appEventService: ProductEventService);
|
|
56
|
-
ngOnInit(): void;
|
|
57
|
-
ngAfterViewInit(): void;
|
|
58
|
-
ngOnDestroy(): void;
|
|
59
|
-
setInstance(event: CustomEvent): void;
|
|
60
|
-
handleStartConfiguration(): void;
|
|
61
|
-
showFullScreen(): void;
|
|
62
|
-
private _handleSettingsLoaded;
|
|
63
|
-
private _getArticle;
|
|
64
|
-
openStock(): void;
|
|
65
|
-
handlePopUpChange(event: boolean): void;
|
|
66
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
|
-
export declare class ProductPriceComponent implements OnInit {
|
|
3
|
-
private _changeDetector;
|
|
4
|
-
set pricing(value: any);
|
|
5
|
-
get pricing(): any;
|
|
6
|
-
set configurable(value: boolean);
|
|
7
|
-
fromPrice: number;
|
|
8
|
-
toPrice: number;
|
|
9
|
-
valutaSign: string;
|
|
10
|
-
fromLabel: string;
|
|
11
|
-
toLabel: string;
|
|
12
|
-
showFromPrice: boolean;
|
|
13
|
-
private _pricing;
|
|
14
|
-
private _configurable;
|
|
15
|
-
constructor(_changeDetector: ChangeDetectorRef);
|
|
16
|
-
ngOnInit(): void;
|
|
17
|
-
private _setPrices;
|
|
18
|
-
private _getSign;
|
|
19
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { ArticleFullObject } from '@colijnit/articleapi/build/model/article-full-object';
|
|
3
|
-
export declare const propertyMap: Map<string, string>;
|
|
4
|
-
export declare class ProductPropertiesComponent implements OnInit {
|
|
5
|
-
set article(value: ArticleFullObject);
|
|
6
|
-
get article(): ArticleFullObject;
|
|
7
|
-
showLabel: boolean;
|
|
8
|
-
properties: {
|
|
9
|
-
key: string;
|
|
10
|
-
value: string;
|
|
11
|
-
}[];
|
|
12
|
-
private _article;
|
|
13
|
-
constructor();
|
|
14
|
-
ngOnInit(): void;
|
|
15
|
-
private _prepareProperties;
|
|
16
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { ArticleListObject } from '@colijnit/articleapi/build/model/article-list-object';
|
|
2
|
-
import { ProductConnectorService } from '../../service/product-connector.service';
|
|
3
|
-
import { ProductEventService } from '../../service/product-event.service';
|
|
4
|
-
import { ProductConnectorAdapterService } from '../../service/product-connector-adapter.service';
|
|
5
|
-
import { ProductSettingsService } from '../../service/product-settings.service';
|
|
6
|
-
import { ExternalSource } from '@colijnit/articleapi/build/model/external-source.bo';
|
|
7
|
-
export declare class ArticleViewModel {
|
|
8
|
-
article: ArticleListObject;
|
|
9
|
-
imageData: string;
|
|
10
|
-
constructor(article: ArticleListObject, imageData?: string);
|
|
11
|
-
}
|
|
12
|
-
export declare class ProductRelatedComponent {
|
|
13
|
-
private _iOne;
|
|
14
|
-
private _appEventService;
|
|
15
|
-
private _productConnectorAdapterService;
|
|
16
|
-
private _settingsService;
|
|
17
|
-
refType: number;
|
|
18
|
-
label: string;
|
|
19
|
-
externalSource: ExternalSource;
|
|
20
|
-
isSmallModus: boolean;
|
|
21
|
-
createFrozenArticle: boolean;
|
|
22
|
-
set articles(value: ArticleListObject[]);
|
|
23
|
-
get articles(): ArticleListObject[];
|
|
24
|
-
articleViewModels: ArticleViewModel[];
|
|
25
|
-
private _articles;
|
|
26
|
-
constructor(_iOne: ProductConnectorService, _appEventService: ProductEventService, _productConnectorAdapterService: ProductConnectorAdapterService, _settingsService: ProductSettingsService);
|
|
27
|
-
handleContentClick(article: ArticleListObject): void;
|
|
28
|
-
handleAddToCartClick(article: ArticleListObject): Promise<void>;
|
|
29
|
-
handleConfigureButtonClick(article: ArticleListObject): void;
|
|
30
|
-
handleThreeDButtonClick(article: ArticleListObject): void;
|
|
31
|
-
private _getJSONFromArticleObject;
|
|
32
|
-
private _loadImages;
|
|
33
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { SafeHtml } from '@angular/platform-browser';
|
|
3
|
-
import { IconCacheService } from '../../service/icon-cache.service';
|
|
4
|
-
import { IconEnum } from '../../enum/icon.enum';
|
|
5
|
-
import { SelectorType } from '../../enum/selector-type.enum';
|
|
6
|
-
export declare class ProductSelectorTypeComponent implements OnInit {
|
|
7
|
-
private _iconCache;
|
|
8
|
-
private _changeDetector;
|
|
9
|
-
readonly type: typeof SelectorType;
|
|
10
|
-
readonly icons: typeof IconEnum;
|
|
11
|
-
show2D: boolean;
|
|
12
|
-
show3D: boolean;
|
|
13
|
-
showRenderCarousel: boolean;
|
|
14
|
-
currentType: SelectorType;
|
|
15
|
-
onIconClick: EventEmitter<SelectorType>;
|
|
16
|
-
currentTypeChange: EventEmitter<SelectorType>;
|
|
17
|
-
twoDIcon: SafeHtml | null;
|
|
18
|
-
threeDIcon: SafeHtml | null;
|
|
19
|
-
constructor(_iconCache: IconCacheService, _changeDetector: ChangeDetectorRef);
|
|
20
|
-
ngOnInit(): void;
|
|
21
|
-
handleIconClick(type: SelectorType): void;
|
|
22
|
-
}
|