@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
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { SafeHtml } from '@angular/platform-browser';
|
|
3
|
-
import { ProductConnectorService } from '../../service/product-connector.service';
|
|
4
|
-
import { IconCacheService } from '../../service/icon-cache.service';
|
|
5
|
-
import { IconEnum } from '../../enum/icon.enum';
|
|
6
|
-
export declare class ProductStockComponent {
|
|
7
|
-
private _iOne;
|
|
8
|
-
private _iconCache;
|
|
9
|
-
readonly icon: typeof IconEnum;
|
|
10
|
-
set goodId(value: number);
|
|
11
|
-
get goodId(): number;
|
|
12
|
-
openStockEvent: EventEmitter<void>;
|
|
13
|
-
inStock: boolean;
|
|
14
|
-
stockLabel: string;
|
|
15
|
-
iconData: SafeHtml;
|
|
16
|
-
private _goodId;
|
|
17
|
-
constructor(_iOne: ProductConnectorService, _iconCache: IconCacheService);
|
|
18
|
-
openStock(): void;
|
|
19
|
-
private _getStockStatus;
|
|
20
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
export declare class ProductSymbolsComponent implements OnInit {
|
|
3
|
-
set symbols(value: any);
|
|
4
|
-
get symbols(): any;
|
|
5
|
-
_className: string;
|
|
6
|
-
symbolStrings: string[];
|
|
7
|
-
private _symbols;
|
|
8
|
-
constructor();
|
|
9
|
-
ngOnInit(): void;
|
|
10
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, OnChanges, OnDestroy } from '@angular/core';
|
|
2
|
-
import { ProductEventService } from '../../service/product-event.service';
|
|
3
|
-
import { ArticleFullObject } from "@colijnit/articleapi/build/model/article-full-object";
|
|
4
|
-
import { IconCacheService } from "../../service/icon-cache.service";
|
|
5
|
-
import { IconEnum } from "../../enum/icon.enum";
|
|
6
|
-
export declare class VectorObject {
|
|
7
|
-
x: number;
|
|
8
|
-
y: number;
|
|
9
|
-
z: number;
|
|
10
|
-
}
|
|
11
|
-
export declare class RenderParameters {
|
|
12
|
-
objectRotation: VectorObject;
|
|
13
|
-
margin: number;
|
|
14
|
-
}
|
|
15
|
-
export declare class RenderCarouselComponent implements OnDestroy, OnChanges {
|
|
16
|
-
iconCache: IconCacheService;
|
|
17
|
-
private _appEventService;
|
|
18
|
-
private _changeDetector;
|
|
19
|
-
carousel: ElementRef;
|
|
20
|
-
showRefresh: boolean;
|
|
21
|
-
article: ArticleFullObject;
|
|
22
|
-
handleWindowResize(): void;
|
|
23
|
-
gotoNextSlide(): void;
|
|
24
|
-
gotoPrevSlide(): void;
|
|
25
|
-
resizing: boolean;
|
|
26
|
-
showLoader: boolean;
|
|
27
|
-
renderedImage: string;
|
|
28
|
-
renderedImageLoaded: boolean;
|
|
29
|
-
renderAngles: any;
|
|
30
|
-
currentRenderAngleIndex: number;
|
|
31
|
-
readonly icon: typeof IconEnum;
|
|
32
|
-
private _resizeTimer;
|
|
33
|
-
private _subs;
|
|
34
|
-
constructor(iconCache: IconCacheService, _appEventService: ProductEventService, _changeDetector: ChangeDetectorRef);
|
|
35
|
-
ngOnDestroy(): void;
|
|
36
|
-
ngOnChanges(): void;
|
|
37
|
-
onRenderLoaded(): void;
|
|
38
|
-
private _getRenderSettings;
|
|
39
|
-
private _createNewRender;
|
|
40
|
-
}
|
package/app/enum/icon.enum.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/** AUTO GENERATED FILE. DO NOT CHANGE.. **/
|
|
2
|
-
export declare enum IconEnum {
|
|
3
|
-
AddToCartDrop = "add_to_cart_drop",
|
|
4
|
-
ArrowPointLeft = "arrow_point_left",
|
|
5
|
-
ArrowPointRight = "arrow_point_right",
|
|
6
|
-
CrossSkinny = "cross_skinny",
|
|
7
|
-
DeliveryTruck = "delivery_truck",
|
|
8
|
-
Download = "download",
|
|
9
|
-
FullScreen = "full_screen",
|
|
10
|
-
LinkSimpleRegular = "link_simple_regular",
|
|
11
|
-
Location = "location",
|
|
12
|
-
Logo = "logo",
|
|
13
|
-
MagicWand = "magic_wand",
|
|
14
|
-
NormalScreen = "normal_screen",
|
|
15
|
-
Quote = "quote",
|
|
16
|
-
Refresh = "refresh",
|
|
17
|
-
SaveSkinny = "save_skinny",
|
|
18
|
-
ThreeD = "three_d",
|
|
19
|
-
Truck = "truck",
|
|
20
|
-
TwoD = "two_d",
|
|
21
|
-
Warehouse = "warehouse"
|
|
22
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { ProductConnectorService } from './service/product-connector.service';
|
|
3
|
-
import { ProductEventService } from './service/product-event.service';
|
|
4
|
-
import { ArticleListObject } from '@colijnit/articleapi/build/model/article-list-object';
|
|
5
|
-
import { ProductSettingsService } from './service/product-settings.service';
|
|
6
|
-
import { Selection } from '@colijnit/articleapi/build/model/selection';
|
|
7
|
-
import { ArticleQuickSel } from '@colijnit/articleapi/build/model/article-quick-sel';
|
|
8
|
-
import { ArticleListObjectExtended } from '@colijnit/articleapi/build/model/article-list-object-extended.bo';
|
|
9
|
-
import { LocalStorageService } from "./bundle/service/local-storage.service";
|
|
10
|
-
export declare class IoneProductComponent implements OnInit, OnDestroy {
|
|
11
|
-
private _appEventService;
|
|
12
|
-
private _settingsService;
|
|
13
|
-
private _productConnectorService;
|
|
14
|
-
private _localStorageService;
|
|
15
|
-
sku: string;
|
|
16
|
-
isReturn: boolean;
|
|
17
|
-
showRelatedProductsPopup: boolean;
|
|
18
|
-
enableRenderCarousel: boolean;
|
|
19
|
-
set settings(value: any);
|
|
20
|
-
get settings(): any;
|
|
21
|
-
handleAddArticleInternally: boolean;
|
|
22
|
-
handleAddToCartInternally: boolean;
|
|
23
|
-
onAddToCart: EventEmitter<{
|
|
24
|
-
article: string | ArticleListObjectExtended;
|
|
25
|
-
quantity: number;
|
|
26
|
-
}>;
|
|
27
|
-
forceRenderImage: EventEmitter<void>;
|
|
28
|
-
getRenderForRenderCarousel: EventEmitter<any>;
|
|
29
|
-
onAlternativeClick: EventEmitter<ArticleListObject>;
|
|
30
|
-
onArticleInfoReceived: EventEmitter<string>;
|
|
31
|
-
onArticleReceived: EventEmitter<ArticleQuickSel>;
|
|
32
|
-
onSelectionsReceived: EventEmitter<Selection[]>;
|
|
33
|
-
onAddToQuote: EventEmitter<string>;
|
|
34
|
-
openStockEvent: EventEmitter<void>;
|
|
35
|
-
onAnswersAvailable: EventEmitter<boolean>;
|
|
36
|
-
settingsLoaded: boolean;
|
|
37
|
-
showHD: boolean;
|
|
38
|
-
private _settings;
|
|
39
|
-
private _subs;
|
|
40
|
-
constructor(_appEventService: ProductEventService, _settingsService: ProductSettingsService, _productConnectorService: ProductConnectorService, _localStorageService: LocalStorageService);
|
|
41
|
-
ngOnInit(): Promise<void>;
|
|
42
|
-
ngOnDestroy(): void;
|
|
43
|
-
private _handleAnswerInfoReceived;
|
|
44
|
-
private _handleAnswersAvailable;
|
|
45
|
-
private _handleAddToCart;
|
|
46
|
-
openStock(): void;
|
|
47
|
-
}
|
package/app/model/icon.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { SettingsOptions } from './settings-options';
|
|
2
|
-
import { RenderParameters } from './render-parameters';
|
|
3
|
-
import { Options } from '@colijnit/ioneconnector/build/model/options';
|
|
4
|
-
export declare class ProductSettings extends Options {
|
|
5
|
-
currency: number;
|
|
6
|
-
session: any;
|
|
7
|
-
createWebOrder: boolean;
|
|
8
|
-
assetPath: string;
|
|
9
|
-
assetIndex: string;
|
|
10
|
-
currencySymbol: string;
|
|
11
|
-
threeDAssetPath: string;
|
|
12
|
-
lightPresetsIndex: string;
|
|
13
|
-
additionalTranslationFile: string;
|
|
14
|
-
gtm: string;
|
|
15
|
-
client: string;
|
|
16
|
-
options: SettingsOptions;
|
|
17
|
-
renderParameters: RenderParameters;
|
|
18
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { DictionaryService } from '../service/dictionary.service';
|
|
3
|
-
export declare class LocalizePipe implements PipeTransform {
|
|
4
|
-
private _dictionaryService;
|
|
5
|
-
constructor(_dictionaryService: DictionaryService);
|
|
6
|
-
transform(value: string, upperCaseFirst?: boolean, replace?: string | string[]): string;
|
|
7
|
-
}
|
package/app/product-version.d.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { JsonUtilsService } from '../utils/json-utils.service';
|
|
3
|
-
export declare class DictionaryService {
|
|
4
|
-
private _http;
|
|
5
|
-
private _jsonUtils;
|
|
6
|
-
private readonly dictionaryUrl;
|
|
7
|
-
get language(): string;
|
|
8
|
-
set rootUrl(value: string);
|
|
9
|
-
private _dictBasePath;
|
|
10
|
-
private _rootUrl;
|
|
11
|
-
private _dictionaries;
|
|
12
|
-
private _language;
|
|
13
|
-
private readonly _placeholder;
|
|
14
|
-
constructor(_http: HttpClient, _jsonUtils: JsonUtilsService);
|
|
15
|
-
setDictionary(language: string): Promise<void>;
|
|
16
|
-
/**
|
|
17
|
-
* Returns the localized text for the given dictionary key.
|
|
18
|
-
* @param {string} key
|
|
19
|
-
* @param {boolean} [upperCaseFirst = true] False for first letter lowercase, true for first letter uppercase for returned dict val
|
|
20
|
-
* @param {string[]} replacementTexts Rest params for replacement of '|~' in returned dict value
|
|
21
|
-
* @returns {string} The translated text for given dictionary key
|
|
22
|
-
*/
|
|
23
|
-
get(key: string, upperCaseFirst?: boolean, ...replacementTexts: string[]): string;
|
|
24
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
2
|
-
import { IconEnum } from '../enum/icon.enum';
|
|
3
|
-
export declare class IconCacheService {
|
|
4
|
-
private _sanitizer;
|
|
5
|
-
/**
|
|
6
|
-
* All the icons as a large JSON object, from the all-icons.json file.
|
|
7
|
-
* The object has property keys that are the icon names, and property values with the data string of the actual svg icon.
|
|
8
|
-
*/
|
|
9
|
-
get iconCache(): {
|
|
10
|
-
[iconName: string]: SafeHtml;
|
|
11
|
-
};
|
|
12
|
-
private _iconCache;
|
|
13
|
-
private _allIcons;
|
|
14
|
-
constructor(_sanitizer: DomSanitizer);
|
|
15
|
-
getIcon(iconName: IconEnum): SafeHtml;
|
|
16
|
-
setIconCache(): void;
|
|
17
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import { Subject } from 'rxjs';
|
|
3
|
-
import { ArticleFullObject } from '@colijnit/articleapi/build/model/article-full-object';
|
|
4
|
-
import { SuperArticle } from '@colijnit/articleapi/build/model/super-article';
|
|
5
|
-
import { ConfiguratorStatisticsEnvironment } from '@colijnit/articleapi/build/model/configurator-statistics-environment';
|
|
6
|
-
import { Articles } from '@colijnit/articleapi/build/articles';
|
|
7
|
-
import { Options } from '@colijnit/ioneconnector/build/model/options';
|
|
8
|
-
import { DeliveryPrognosis } from '@colijnit/articleapi/build/model/delivery-prognosis';
|
|
9
|
-
import { DocumentContent } from '@colijnit/articleapi/build/model/document-content';
|
|
10
|
-
import { Transaction } from '@colijnit/transactionapi/build/transaction';
|
|
11
|
-
import { MainApi } from '@colijnit/mainapi';
|
|
12
|
-
import { ArticleListObjectExtended } from '@colijnit/articleapi/build/model/article-list-object-extended.bo';
|
|
13
|
-
import { ProductEventService } from './product-event.service';
|
|
14
|
-
import { CoDocument } from '@colijnit/mainapi/build/model/co-document.bo';
|
|
15
|
-
import { ImageContent } from '@colijnit/mainapi/build/model/image-content.bo';
|
|
16
|
-
export declare class ProductConnectorAdapterService implements OnDestroy {
|
|
17
|
-
private _eventService;
|
|
18
|
-
readonly showLoader: Subject<boolean>;
|
|
19
|
-
articleConnector?: Articles;
|
|
20
|
-
transactionConnector: Transaction;
|
|
21
|
-
mainConnector: MainApi;
|
|
22
|
-
private _boFactory;
|
|
23
|
-
private _subs;
|
|
24
|
-
constructor(_eventService: ProductEventService);
|
|
25
|
-
ngOnDestroy(): void;
|
|
26
|
-
initConnector(options: Options): Promise<void>;
|
|
27
|
-
setInstance(instanceId: string): void;
|
|
28
|
-
getProductBundleSettings(url: string, upId: number): Promise<string>;
|
|
29
|
-
convertArticleFullObjectToArticleExtended(article: ArticleFullObject): ArticleListObjectExtended;
|
|
30
|
-
getDeliveryPrognosis(goodId: number, branchNr?: string): Promise<any>;
|
|
31
|
-
getSelectorDeliveryDate(): Promise<DeliveryPrognosis>;
|
|
32
|
-
getArtStockStatus(goodId: number): Promise<number>;
|
|
33
|
-
getDeliveryDate2(goodId: number): Promise<DeliveryPrognosis>;
|
|
34
|
-
getJsonConfiguredArticles(configuratorStatistics?: ConfiguratorStatisticsEnvironment): Promise<string>;
|
|
35
|
-
getJsonArticleFlatTree(goodId: number, goodType: string, quantity: number, externalSource?: boolean, showLoader?: boolean, instanceId?: any, configuratorStatistics?: ConfiguratorStatisticsEnvironment): Promise<string>;
|
|
36
|
-
getGeneratedArtDirectly(goodId: number, showLoader: boolean): Promise<number>;
|
|
37
|
-
getGoodIdFromArticleNr(sku: string): Promise<number>;
|
|
38
|
-
getArticleFullObject(goodId: number, showLoader?: boolean): Promise<ArticleFullObject>;
|
|
39
|
-
getSuperArticle(id: string, branch?: string): Promise<SuperArticle>;
|
|
40
|
-
getDocumentContent(docId: number, thumbnail?: boolean): Promise<DocumentContent>;
|
|
41
|
-
addWebSessionTransactionLine(transactionUuid: string, sku: string, quantity: number): Promise<string>;
|
|
42
|
-
getImageForCoDocument(document: CoDocument, thumb: boolean): Promise<ImageContent>;
|
|
43
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import { BehaviorSubject } from 'rxjs';
|
|
3
|
-
import { ProductConnectorAdapterService } from './product-connector-adapter.service';
|
|
4
|
-
import { ArticleFullObject } from '@colijnit/articleapi/build/model/article-full-object';
|
|
5
|
-
import { SuperArticle } from '@colijnit/articleapi/build/model/super-article';
|
|
6
|
-
import { ProductSettingsService } from './product-settings.service';
|
|
7
|
-
import { ConfiguratorStatisticsEnvironment } from '@colijnit/articleapi/build/model/configurator-statistics-environment';
|
|
8
|
-
import { DeliveryPrognosis } from '@colijnit/articleapi/build/model/delivery-prognosis';
|
|
9
|
-
import { DocumentContent } from '@colijnit/articleapi/build/model/document-content';
|
|
10
|
-
import { ArticleListObjectExtended } from '@colijnit/articleapi/build/model/article-list-object-extended.bo';
|
|
11
|
-
import { CoDocument } from '@colijnit/mainapi/build/model/co-document.bo';
|
|
12
|
-
import { ImageContent } from '@colijnit/mainapi/build/model/image-content.bo';
|
|
13
|
-
export declare class ProductConnectorService implements OnDestroy {
|
|
14
|
-
private _adapterService;
|
|
15
|
-
private _settingsService;
|
|
16
|
-
get shouldShowLoader(): boolean;
|
|
17
|
-
controllerInitialized: BehaviorSubject<boolean>;
|
|
18
|
-
articleLoaded: BehaviorSubject<boolean>;
|
|
19
|
-
private _shouldShowLoader;
|
|
20
|
-
private _initializing;
|
|
21
|
-
private _initialized;
|
|
22
|
-
private _instanceId;
|
|
23
|
-
private connectorOptions;
|
|
24
|
-
private readonly subs;
|
|
25
|
-
constructor(_adapterService: ProductConnectorAdapterService, _settingsService: ProductSettingsService);
|
|
26
|
-
ngOnDestroy(): void;
|
|
27
|
-
initConnection(): Promise<void>;
|
|
28
|
-
getProductBundleSettings(url: string, upId: number): Promise<string>;
|
|
29
|
-
setInstance(instanceId: string): void;
|
|
30
|
-
convertArticleFullObjectToArticleExtended(article: ArticleFullObject): ArticleListObjectExtended;
|
|
31
|
-
getFullArticle(sku: string): Promise<ArticleFullObject>;
|
|
32
|
-
getDocumentContent(docId: number, thumbnail?: boolean): Promise<DocumentContent>;
|
|
33
|
-
getDeliveryPrognosis(goodId: number): Promise<DeliveryPrognosis>;
|
|
34
|
-
getSelectorDeliveryDate(): Promise<DeliveryPrognosis>;
|
|
35
|
-
getArtStockStatus(goodId: number): Promise<number>;
|
|
36
|
-
getDeliveryDate2(goodId: number): Promise<DeliveryPrognosis>;
|
|
37
|
-
getSuperArticle(id: string): Promise<SuperArticle>;
|
|
38
|
-
getJsonArticleFlatTree(goodId: number, goodType: string, quantity: number, externalSource?: boolean, showLoader?: boolean, configuratorStatistics?: ConfiguratorStatisticsEnvironment): Promise<string>;
|
|
39
|
-
getGeneratedArtDirectly(goodId: number, showLoader?: boolean): Promise<number>;
|
|
40
|
-
addWebSessionTransactionLine(transactionUuid: string, sku: string, quantity: number): Promise<string>;
|
|
41
|
-
getImageForCoDocument(document: CoDocument, thumb?: boolean): Promise<ImageContent>;
|
|
42
|
-
onShowLoaderChange(showLoader: boolean): void;
|
|
43
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { Subject } from 'rxjs';
|
|
2
|
-
import { ArticleListObject } from '@colijnit/articleapi/build/model/article-list-object';
|
|
3
|
-
import { Selection } from '@colijnit/articleapi/build/model/selection';
|
|
4
|
-
import { ArticleQuickSel } from '@colijnit/articleapi/build/model/article-quick-sel';
|
|
5
|
-
import { ArticleListObjectExtended } from '@colijnit/articleapi/build/model/article-list-object-extended.bo';
|
|
6
|
-
import { ValidationMessage } from '@colijnit/ioneconnector/build/model/validation-message';
|
|
7
|
-
export declare class ProductEventService {
|
|
8
|
-
onAddToCart: Subject<{
|
|
9
|
-
article: string | ArticleListObjectExtended;
|
|
10
|
-
quantity: number;
|
|
11
|
-
}>;
|
|
12
|
-
onAlternativeClick: Subject<ArticleListObject>;
|
|
13
|
-
onAddToQuote: Subject<string>;
|
|
14
|
-
onForceRenderImage: Subject<void>;
|
|
15
|
-
onArticleReceived: Subject<ArticleQuickSel>;
|
|
16
|
-
onSelectionsReceived: Subject<Selection[]>;
|
|
17
|
-
onImageReceived: Subject<string>;
|
|
18
|
-
onRenderStarted: Subject<void>;
|
|
19
|
-
onRenderImageReceived: Subject<string>;
|
|
20
|
-
onDraftRenderImageReceived: Subject<CustomEvent>;
|
|
21
|
-
onArticleInfoReceived: Subject<string>;
|
|
22
|
-
onAnswersAvailable: Subject<boolean>;
|
|
23
|
-
onReadyToRender: Subject<boolean>;
|
|
24
|
-
onUpdateProductInfoTab: Subject<number>;
|
|
25
|
-
errorMessage: Subject<ValidationMessage[]>;
|
|
26
|
-
onGetRenderForRenderCarousel: Subject<any>;
|
|
27
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Renderer2 } from '@angular/core';
|
|
2
|
-
export declare class ProductScriptLoaderService {
|
|
3
|
-
private platformId;
|
|
4
|
-
private _scriptsOrLinksElements;
|
|
5
|
-
constructor(platformId: any);
|
|
6
|
-
loadScript(url: string, renderer: Renderer2): Promise<void>;
|
|
7
|
-
unloadScripts(renderer: Renderer2): void;
|
|
8
|
-
addStyleSheet(url: string, renderer: Renderer2): Promise<void>;
|
|
9
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { BehaviorSubject } from 'rxjs';
|
|
2
|
-
import { JsonUtilsService } from '../utils/json-utils.service';
|
|
3
|
-
import { DictionaryService } from './dictionary.service';
|
|
4
|
-
import { ProductSettings } from '../model/productSettings';
|
|
5
|
-
export declare class ProductSettingsService {
|
|
6
|
-
private _jsonUtilsService;
|
|
7
|
-
private _dictionaryService;
|
|
8
|
-
set settings(value: ProductSettings);
|
|
9
|
-
get settings(): ProductSettings;
|
|
10
|
-
settingsLoaded: BehaviorSubject<boolean>;
|
|
11
|
-
private _settings;
|
|
12
|
-
constructor(_jsonUtilsService: JsonUtilsService, _dictionaryService: DictionaryService);
|
|
13
|
-
initializeSettings(finish?: boolean): Promise<void>;
|
|
14
|
-
createSettingsFromObject(obj: any): Promise<void>;
|
|
15
|
-
settingsFinished(): Promise<void>;
|
|
16
|
-
}
|
package/app/utils/bit-utils.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export declare class BitUtils {
|
|
2
|
-
static IsShortDescription(bit: number): boolean;
|
|
3
|
-
static IsFullDescription(bit: number): boolean;
|
|
4
|
-
static IsMetaTitle(bit: number): boolean;
|
|
5
|
-
static IsMetaDescription(bit: number): boolean;
|
|
6
|
-
static IsMetaKeys(bit: number): boolean;
|
|
7
|
-
}
|