@colijnit/product 260.1.2 → 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 +32 -33
- 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/index.d.ts
ADDED
|
@@ -0,0 +1,948 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { OnDestroy, OnInit, EventEmitter, AfterViewInit, ElementRef, Renderer2, ChangeDetectorRef, PipeTransform, OnChanges } from '@angular/core';
|
|
3
|
+
import { Subject, BehaviorSubject } from 'rxjs';
|
|
4
|
+
import { ArticleFullObject } from '@colijnit/articleapi/build/model/article-full-object';
|
|
5
|
+
import { SuperArticle } from '@colijnit/articleapi/build/model/super-article';
|
|
6
|
+
import { ConfiguratorStatisticsEnvironment } from '@colijnit/articleapi/build/model/configurator-statistics-environment';
|
|
7
|
+
import { Articles } from '@colijnit/articleapi/build/articles';
|
|
8
|
+
import { Options } from '@colijnit/ioneconnector/build/model/options';
|
|
9
|
+
import { DeliveryPrognosis } from '@colijnit/articleapi/build/model/delivery-prognosis';
|
|
10
|
+
import { DocumentContent } from '@colijnit/articleapi/build/model/document-content';
|
|
11
|
+
import { Transaction } from '@colijnit/transactionapi/build/transaction';
|
|
12
|
+
import { MainApi } from '@colijnit/mainapi';
|
|
13
|
+
import { ArticleListObjectExtended } from '@colijnit/articleapi/build/model/article-list-object-extended.bo';
|
|
14
|
+
import { ArticleListObject } from '@colijnit/articleapi/build/model/article-list-object';
|
|
15
|
+
import { Selection } from '@colijnit/articleapi/build/model/selection';
|
|
16
|
+
import { ArticleQuickSel } from '@colijnit/articleapi/build/model/article-quick-sel';
|
|
17
|
+
import { ValidationMessage } from '@colijnit/ioneconnector/build/model/validation-message';
|
|
18
|
+
import { CoDocument } from '@colijnit/mainapi/build/model/co-document.bo';
|
|
19
|
+
import { ImageContent } from '@colijnit/mainapi/build/model/image-content.bo';
|
|
20
|
+
import * as i2 from '@angular/common';
|
|
21
|
+
import { SafeHtml, DomSanitizer, SafeUrl, SafeResourceUrl } from '@angular/platform-browser';
|
|
22
|
+
import { ExternalSource } from '@colijnit/articleapi/build/model/external-source.bo';
|
|
23
|
+
import * as i3 from '@colijnit/corecomponents_v12';
|
|
24
|
+
import * as i5 from '@colijnit/sharedcomponents';
|
|
25
|
+
import { ExternalSourceParameter } from '@colijnit/articleapi/build/model/external-source-parameter.bo';
|
|
26
|
+
import { CatalogDefinition } from '@colijnit/articleapi/build/model/catalog-definition.bo';
|
|
27
|
+
import { ExternalSourceArticleAddInterface } from '@colijnit/articleapi/build/interface/external-source-article-add.interface';
|
|
28
|
+
import { ExternalCatalogStartupInfo } from '@colijnit/articleapi/build/model/external-catalog-startup-info';
|
|
29
|
+
|
|
30
|
+
declare class Version {
|
|
31
|
+
name: string;
|
|
32
|
+
description: string;
|
|
33
|
+
symVer: string;
|
|
34
|
+
publishDate: string;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
declare class ProductEventService {
|
|
38
|
+
onAddToCart: Subject<{
|
|
39
|
+
article: string | ArticleListObjectExtended;
|
|
40
|
+
quantity: number;
|
|
41
|
+
}>;
|
|
42
|
+
onAlternativeClick: Subject<ArticleListObject>;
|
|
43
|
+
onAddToQuote: Subject<string>;
|
|
44
|
+
onForceRenderImage: Subject<void>;
|
|
45
|
+
onArticleReceived: Subject<ArticleQuickSel>;
|
|
46
|
+
onSelectionsReceived: Subject<Selection[]>;
|
|
47
|
+
onImageReceived: Subject<string>;
|
|
48
|
+
onRenderStarted: Subject<void>;
|
|
49
|
+
onRenderImageReceived: Subject<string>;
|
|
50
|
+
onDraftRenderImageReceived: Subject<CustomEvent>;
|
|
51
|
+
onArticleInfoReceived: Subject<string>;
|
|
52
|
+
onAnswersAvailable: Subject<boolean>;
|
|
53
|
+
onReadyToRender: Subject<boolean>;
|
|
54
|
+
onUpdateProductInfoTab: Subject<number>;
|
|
55
|
+
errorMessage: Subject<ValidationMessage[]>;
|
|
56
|
+
onGetRenderForRenderCarousel: Subject<any>;
|
|
57
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductEventService, never>;
|
|
58
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ProductEventService>;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
declare class ProductConnectorAdapterService implements OnDestroy {
|
|
62
|
+
private _eventService;
|
|
63
|
+
readonly showLoader: Subject<boolean>;
|
|
64
|
+
articleConnector?: Articles;
|
|
65
|
+
transactionConnector: Transaction;
|
|
66
|
+
mainConnector: MainApi;
|
|
67
|
+
private _boFactory;
|
|
68
|
+
private _subs;
|
|
69
|
+
constructor(_eventService: ProductEventService);
|
|
70
|
+
ngOnDestroy(): void;
|
|
71
|
+
initConnector(options: Options): Promise<void>;
|
|
72
|
+
setInstance(instanceId: string): void;
|
|
73
|
+
getProductBundleSettings(url: string, upId: number): Promise<string>;
|
|
74
|
+
convertArticleFullObjectToArticleExtended(article: ArticleFullObject): ArticleListObjectExtended;
|
|
75
|
+
getDeliveryPrognosis(goodId: number, branchNr?: string): Promise<any>;
|
|
76
|
+
getSelectorDeliveryDate(): Promise<DeliveryPrognosis>;
|
|
77
|
+
getArtStockStatus(goodId: number): Promise<number>;
|
|
78
|
+
getDeliveryDate2(goodId: number): Promise<DeliveryPrognosis>;
|
|
79
|
+
getJsonConfiguredArticles(configuratorStatistics?: ConfiguratorStatisticsEnvironment): Promise<string>;
|
|
80
|
+
getJsonArticleFlatTree(goodId: number, goodType: string, quantity: number, externalSource?: boolean, showLoader?: boolean, instanceId?: any, configuratorStatistics?: ConfiguratorStatisticsEnvironment): Promise<string>;
|
|
81
|
+
getGeneratedArtDirectly(goodId: number, showLoader: boolean): Promise<number>;
|
|
82
|
+
getGoodIdFromArticleNr(sku: string): Promise<number>;
|
|
83
|
+
getArticleFullObject(goodId: number, showLoader?: boolean): Promise<ArticleFullObject>;
|
|
84
|
+
getSuperArticle(id: string, branch?: string): Promise<SuperArticle>;
|
|
85
|
+
getDocumentContent(docId: number, thumbnail?: boolean): Promise<DocumentContent>;
|
|
86
|
+
addWebSessionTransactionLine(transactionUuid: string, sku: string, quantity: number): Promise<string>;
|
|
87
|
+
getImageForCoDocument(document: CoDocument, thumb: boolean): Promise<ImageContent>;
|
|
88
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConnectorAdapterService, never>;
|
|
89
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ProductConnectorAdapterService>;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
declare class JsonUtilsService {
|
|
93
|
+
readJsonFile(filePath: string): Promise<any>;
|
|
94
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<JsonUtilsService, never>;
|
|
95
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<JsonUtilsService>;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
declare class DictionaryService {
|
|
99
|
+
private _jsonUtils;
|
|
100
|
+
private readonly dictionaryUrl;
|
|
101
|
+
get language(): string;
|
|
102
|
+
set rootUrl(value: string);
|
|
103
|
+
private _dictBasePath;
|
|
104
|
+
private _rootUrl;
|
|
105
|
+
private _dictionaries;
|
|
106
|
+
private _language;
|
|
107
|
+
private readonly _placeholder;
|
|
108
|
+
constructor(_jsonUtils: JsonUtilsService);
|
|
109
|
+
setDictionary(language: string): Promise<void>;
|
|
110
|
+
/**
|
|
111
|
+
* Returns the localized text for the given dictionary key.
|
|
112
|
+
* @param {string} key
|
|
113
|
+
* @param {boolean} [upperCaseFirst = true] False for first letter lowercase, true for first letter uppercase for returned dict val
|
|
114
|
+
* @param {string[]} replacementTexts Rest params for replacement of '|~' in returned dict value
|
|
115
|
+
* @returns {string} The translated text for given dictionary key
|
|
116
|
+
*/
|
|
117
|
+
get(key: string, upperCaseFirst?: boolean, ...replacementTexts: string[]): string;
|
|
118
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DictionaryService, never>;
|
|
119
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DictionaryService>;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
declare class SettingsOptions {
|
|
123
|
+
showStockStatus: boolean;
|
|
124
|
+
showZoomButton: boolean;
|
|
125
|
+
showTagFilter: boolean;
|
|
126
|
+
showAsConfigured: boolean;
|
|
127
|
+
inlineAnswers: boolean;
|
|
128
|
+
showArButton: boolean;
|
|
129
|
+
arEnabled: boolean;
|
|
130
|
+
vrEnabled: boolean;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
declare enum RenderModes {
|
|
134
|
+
RenderRoom = "render_room",
|
|
135
|
+
RenderShop = "render_shop",
|
|
136
|
+
RenderIone = "render_ione"
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
declare class RenderParameters {
|
|
140
|
+
host: string;
|
|
141
|
+
port: number;
|
|
142
|
+
secure: boolean;
|
|
143
|
+
renderMode: RenderModes;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
declare class ProductSettings extends Options {
|
|
147
|
+
currency: number;
|
|
148
|
+
session: any;
|
|
149
|
+
createWebOrder: boolean;
|
|
150
|
+
assetPath: string;
|
|
151
|
+
assetIndex: string;
|
|
152
|
+
currencySymbol: string;
|
|
153
|
+
threeDAssetPath: string;
|
|
154
|
+
lightPresetsIndex: string;
|
|
155
|
+
additionalTranslationFile: string;
|
|
156
|
+
gtm: string;
|
|
157
|
+
client: string;
|
|
158
|
+
options: SettingsOptions;
|
|
159
|
+
renderParameters: RenderParameters;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
declare class ProductSettingsService {
|
|
163
|
+
private _jsonUtilsService;
|
|
164
|
+
private _dictionaryService;
|
|
165
|
+
set settings(value: ProductSettings);
|
|
166
|
+
get settings(): ProductSettings;
|
|
167
|
+
settingsLoaded: BehaviorSubject<boolean>;
|
|
168
|
+
private _settings;
|
|
169
|
+
constructor(_jsonUtilsService: JsonUtilsService, _dictionaryService: DictionaryService);
|
|
170
|
+
initializeSettings(finish?: boolean): Promise<void>;
|
|
171
|
+
createSettingsFromObject(obj: any): Promise<void>;
|
|
172
|
+
settingsFinished(): Promise<void>;
|
|
173
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductSettingsService, never>;
|
|
174
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ProductSettingsService>;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
declare class ProductConnectorService implements OnDestroy {
|
|
178
|
+
private _adapterService;
|
|
179
|
+
private _settingsService;
|
|
180
|
+
get shouldShowLoader(): boolean;
|
|
181
|
+
controllerInitialized: BehaviorSubject<boolean>;
|
|
182
|
+
articleLoaded: BehaviorSubject<boolean>;
|
|
183
|
+
private _shouldShowLoader;
|
|
184
|
+
private _initializing;
|
|
185
|
+
private _initialized;
|
|
186
|
+
private _instanceId;
|
|
187
|
+
private connectorOptions;
|
|
188
|
+
private readonly subs;
|
|
189
|
+
constructor(_adapterService: ProductConnectorAdapterService, _settingsService: ProductSettingsService);
|
|
190
|
+
ngOnDestroy(): void;
|
|
191
|
+
initConnection(): Promise<void>;
|
|
192
|
+
getProductBundleSettings(url: string, upId: number): Promise<string>;
|
|
193
|
+
setInstance(instanceId: string): void;
|
|
194
|
+
convertArticleFullObjectToArticleExtended(article: ArticleFullObject): ArticleListObjectExtended;
|
|
195
|
+
getFullArticle(sku: string): Promise<ArticleFullObject>;
|
|
196
|
+
getDocumentContent(docId: number, thumbnail?: boolean): Promise<DocumentContent>;
|
|
197
|
+
getDeliveryPrognosis(goodId: number): Promise<DeliveryPrognosis>;
|
|
198
|
+
getSelectorDeliveryDate(): Promise<DeliveryPrognosis>;
|
|
199
|
+
getArtStockStatus(goodId: number): Promise<number>;
|
|
200
|
+
getDeliveryDate2(goodId: number): Promise<DeliveryPrognosis>;
|
|
201
|
+
getSuperArticle(id: string): Promise<SuperArticle>;
|
|
202
|
+
getJsonArticleFlatTree(goodId: number, goodType: string, quantity: number, externalSource?: boolean, showLoader?: boolean, configuratorStatistics?: ConfiguratorStatisticsEnvironment): Promise<string>;
|
|
203
|
+
getGeneratedArtDirectly(goodId: number, showLoader?: boolean): Promise<number>;
|
|
204
|
+
addWebSessionTransactionLine(transactionUuid: string, sku: string, quantity: number): Promise<string>;
|
|
205
|
+
getImageForCoDocument(document: CoDocument, thumb?: boolean): Promise<ImageContent>;
|
|
206
|
+
onShowLoaderChange(showLoader: boolean): void;
|
|
207
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductConnectorService, never>;
|
|
208
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ProductConnectorService>;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
declare class RootStorageObject {
|
|
212
|
+
id: string;
|
|
213
|
+
}
|
|
214
|
+
declare class LocalStorageService {
|
|
215
|
+
readonly storage: Storage;
|
|
216
|
+
protected _appRoot: string;
|
|
217
|
+
protected _storageObj: RootStorageObject;
|
|
218
|
+
constructor();
|
|
219
|
+
save(): void;
|
|
220
|
+
clear(): void;
|
|
221
|
+
set id(id: string);
|
|
222
|
+
get id(): string;
|
|
223
|
+
protected _initLocalStorageObj(): void;
|
|
224
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LocalStorageService, never>;
|
|
225
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LocalStorageService>;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
declare class IoneProductComponent implements OnInit, OnDestroy {
|
|
229
|
+
private _appEventService;
|
|
230
|
+
private _settingsService;
|
|
231
|
+
private _productConnectorService;
|
|
232
|
+
private _localStorageService;
|
|
233
|
+
sku: string;
|
|
234
|
+
isReturn: boolean;
|
|
235
|
+
showRelatedProductsPopup: boolean;
|
|
236
|
+
enableRenderCarousel: boolean;
|
|
237
|
+
set settings(value: any);
|
|
238
|
+
get settings(): any;
|
|
239
|
+
handleAddArticleInternally: boolean;
|
|
240
|
+
handleAddToCartInternally: boolean;
|
|
241
|
+
onAddToCart: EventEmitter<{
|
|
242
|
+
article: string | ArticleListObjectExtended;
|
|
243
|
+
quantity: number;
|
|
244
|
+
}>;
|
|
245
|
+
forceRenderImage: EventEmitter<void>;
|
|
246
|
+
getRenderForRenderCarousel: EventEmitter<any>;
|
|
247
|
+
onAlternativeClick: EventEmitter<ArticleListObject>;
|
|
248
|
+
onArticleInfoReceived: EventEmitter<string>;
|
|
249
|
+
onArticleReceived: EventEmitter<ArticleQuickSel>;
|
|
250
|
+
onSelectionsReceived: EventEmitter<Selection[]>;
|
|
251
|
+
onAddToQuote: EventEmitter<string>;
|
|
252
|
+
openStockEvent: EventEmitter<void>;
|
|
253
|
+
onAnswersAvailable: EventEmitter<boolean>;
|
|
254
|
+
settingsLoaded: boolean;
|
|
255
|
+
showHD: boolean;
|
|
256
|
+
private _settings;
|
|
257
|
+
private _subs;
|
|
258
|
+
constructor(_appEventService: ProductEventService, _settingsService: ProductSettingsService, _productConnectorService: ProductConnectorService, _localStorageService: LocalStorageService);
|
|
259
|
+
ngOnInit(): Promise<void>;
|
|
260
|
+
ngOnDestroy(): void;
|
|
261
|
+
private _handleAnswerInfoReceived;
|
|
262
|
+
private _handleAnswersAvailable;
|
|
263
|
+
private _handleAddToCart;
|
|
264
|
+
openStock(): void;
|
|
265
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IoneProductComponent, never>;
|
|
266
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IoneProductComponent, "app-ione-product", never, { "sku": { "alias": "sku"; "required": false; }; "isReturn": { "alias": "isReturn"; "required": false; }; "showRelatedProductsPopup": { "alias": "showRelatedProductsPopup"; "required": false; }; "enableRenderCarousel": { "alias": "enableRenderCarousel"; "required": false; }; "settings": { "alias": "settings"; "required": false; }; "handleAddArticleInternally": { "alias": "handleAddArticleInternally"; "required": false; }; "handleAddToCartInternally": { "alias": "handleAddToCartInternally"; "required": false; }; }, { "onAddToCart": "onAddToCart"; "forceRenderImage": "forceRenderImage"; "getRenderForRenderCarousel": "getRenderForRenderCarousel"; "onAlternativeClick": "onAlternativeClick"; "onArticleInfoReceived": "onArticleInfoReceived"; "onArticleReceived": "onArticleReceived"; "onSelectionsReceived": "onSelectionsReceived"; "onAddToQuote": "onAddToQuote"; "openStockEvent": "openStockEvent"; "onAnswersAvailable": "onAnswersAvailable"; }, never, never, false, never>;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
declare class StockAndDelivery {
|
|
270
|
+
stock: number;
|
|
271
|
+
deliveryDescription: string;
|
|
272
|
+
constructor(stock?: any, deliveryDescription?: string);
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
declare enum SelectorType {
|
|
276
|
+
TwoD = "2D",
|
|
277
|
+
ThreeD = "3D",
|
|
278
|
+
Omni = "Omni"
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
/** AUTO GENERATED FILE. DO NOT CHANGE.. **/
|
|
282
|
+
declare enum IconEnum {
|
|
283
|
+
AddToCartDrop = "add_to_cart_drop",
|
|
284
|
+
ArrowPointLeft = "arrow_point_left",
|
|
285
|
+
ArrowPointRight = "arrow_point_right",
|
|
286
|
+
CrossSkinny = "cross_skinny",
|
|
287
|
+
DeliveryTruck = "delivery_truck",
|
|
288
|
+
Download = "download",
|
|
289
|
+
FullScreen = "full_screen",
|
|
290
|
+
LinkSimpleRegular = "link_simple_regular",
|
|
291
|
+
Location = "location",
|
|
292
|
+
Logo = "logo",
|
|
293
|
+
MagicWand = "magic_wand",
|
|
294
|
+
NormalScreen = "normal_screen",
|
|
295
|
+
Quote = "quote",
|
|
296
|
+
Refresh = "refresh",
|
|
297
|
+
SaveSkinny = "save_skinny",
|
|
298
|
+
ThreeD = "three_d",
|
|
299
|
+
Truck = "truck",
|
|
300
|
+
TwoD = "two_d",
|
|
301
|
+
Warehouse = "warehouse"
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
declare class IconCacheService {
|
|
305
|
+
private _sanitizer;
|
|
306
|
+
/**
|
|
307
|
+
* All the icons as a large JSON object, from the all-icons.json file.
|
|
308
|
+
* The object has property keys that are the icon names, and property values with the data string of the actual svg icon.
|
|
309
|
+
*/
|
|
310
|
+
get iconCache(): {
|
|
311
|
+
[iconName: string]: SafeHtml;
|
|
312
|
+
};
|
|
313
|
+
private _iconCache;
|
|
314
|
+
private _allIcons;
|
|
315
|
+
constructor(_sanitizer: DomSanitizer);
|
|
316
|
+
getIcon(iconName: IconEnum): SafeHtml;
|
|
317
|
+
setIconCache(): void;
|
|
318
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IconCacheService, never>;
|
|
319
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<IconCacheService>;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
declare class ProductPageComponent implements OnInit, OnDestroy, AfterViewInit {
|
|
323
|
+
private _ione;
|
|
324
|
+
private _renderer;
|
|
325
|
+
private _changeDetector;
|
|
326
|
+
iconCache: IconCacheService;
|
|
327
|
+
settingsService: ProductSettingsService;
|
|
328
|
+
appEventService: ProductEventService;
|
|
329
|
+
readonly icon: typeof IconEnum;
|
|
330
|
+
configurator: ElementRef;
|
|
331
|
+
selections: ElementRef;
|
|
332
|
+
fullscreenbutton: ElementRef;
|
|
333
|
+
set sku(value: string);
|
|
334
|
+
get sku(): string;
|
|
335
|
+
set settings(value: any);
|
|
336
|
+
externalSource: ExternalSource;
|
|
337
|
+
createFrozenArticle: boolean;
|
|
338
|
+
isReturn: boolean;
|
|
339
|
+
showRelatedProductsPopup: boolean;
|
|
340
|
+
enableRenderCarousel: boolean;
|
|
341
|
+
openStockEvent: EventEmitter<void>;
|
|
342
|
+
get settings(): any;
|
|
343
|
+
set fullScreen(value: boolean);
|
|
344
|
+
get fullScreen(): boolean;
|
|
345
|
+
get fullScreenIcon(): IconEnum;
|
|
346
|
+
set currentView(value: SelectorType);
|
|
347
|
+
get currentView(): SelectorType;
|
|
348
|
+
article: ArticleFullObject;
|
|
349
|
+
stockAndDelivery: StockAndDelivery;
|
|
350
|
+
configurable: boolean;
|
|
351
|
+
threeD: boolean;
|
|
352
|
+
selectorType: SelectorType;
|
|
353
|
+
show2D: boolean;
|
|
354
|
+
show3D: boolean;
|
|
355
|
+
configuring: boolean;
|
|
356
|
+
showAddToCart: boolean;
|
|
357
|
+
fullscreenAnimationEnd: boolean;
|
|
358
|
+
settingsLoaded: boolean;
|
|
359
|
+
private _sku;
|
|
360
|
+
private _initializedSub;
|
|
361
|
+
private _fullScreen;
|
|
362
|
+
private _currentView;
|
|
363
|
+
private _subs;
|
|
364
|
+
private _settings;
|
|
365
|
+
private _pageLoadedSubscription;
|
|
366
|
+
constructor(_ione: ProductConnectorService, _renderer: Renderer2, _changeDetector: ChangeDetectorRef, iconCache: IconCacheService, settingsService: ProductSettingsService, appEventService: ProductEventService);
|
|
367
|
+
ngOnInit(): void;
|
|
368
|
+
ngAfterViewInit(): void;
|
|
369
|
+
ngOnDestroy(): void;
|
|
370
|
+
setInstance(event: CustomEvent): void;
|
|
371
|
+
handleStartConfiguration(): void;
|
|
372
|
+
showFullScreen(): void;
|
|
373
|
+
private _handleSettingsLoaded;
|
|
374
|
+
private _getArticle;
|
|
375
|
+
openStock(): void;
|
|
376
|
+
handlePopUpChange(event: boolean): void;
|
|
377
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductPageComponent, never>;
|
|
378
|
+
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; }; "showRelatedProductsPopup": { "alias": "showRelatedProductsPopup"; "required": false; }; "enableRenderCarousel": { "alias": "enableRenderCarousel"; "required": false; }; }, { "openStockEvent": "openStockEvent"; }, never, never, false, never>;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
declare class ProductSelectorTypeComponent implements OnInit {
|
|
382
|
+
private _iconCache;
|
|
383
|
+
private _changeDetector;
|
|
384
|
+
readonly type: typeof SelectorType;
|
|
385
|
+
readonly icons: typeof IconEnum;
|
|
386
|
+
show2D: boolean;
|
|
387
|
+
show3D: boolean;
|
|
388
|
+
showRenderCarousel: boolean;
|
|
389
|
+
currentType: SelectorType;
|
|
390
|
+
onIconClick: EventEmitter<SelectorType>;
|
|
391
|
+
currentTypeChange: EventEmitter<SelectorType>;
|
|
392
|
+
twoDIcon: SafeHtml | null;
|
|
393
|
+
threeDIcon: SafeHtml | null;
|
|
394
|
+
constructor(_iconCache: IconCacheService, _changeDetector: ChangeDetectorRef);
|
|
395
|
+
ngOnInit(): void;
|
|
396
|
+
handleIconClick(type: SelectorType): void;
|
|
397
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductSelectorTypeComponent, never>;
|
|
398
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductSelectorTypeComponent, "app-product-selector-type", never, { "show2D": { "alias": "show2D"; "required": false; }; "show3D": { "alias": "show3D"; "required": false; }; "showRenderCarousel": { "alias": "showRenderCarousel"; "required": false; }; "currentType": { "alias": "currentType"; "required": false; }; }, { "onIconClick": "onIconClick"; "currentTypeChange": "currentTypeChange"; }, never, never, false, never>;
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
declare class LocalizePipe implements PipeTransform {
|
|
402
|
+
private _dictionaryService;
|
|
403
|
+
constructor(_dictionaryService: DictionaryService);
|
|
404
|
+
transform(value: string, upperCaseFirst?: boolean, replace?: string | string[]): string;
|
|
405
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LocalizePipe, never>;
|
|
406
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<LocalizePipe, "localize", false>;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
declare class PriceDisplayPipe implements PipeTransform {
|
|
410
|
+
transform(value: number | string, valutaSymbol: string): string;
|
|
411
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PriceDisplayPipe, never>;
|
|
412
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<PriceDisplayPipe, "priceDisplay", false>;
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
declare class PipeModule {
|
|
416
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PipeModule, never>;
|
|
417
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PipeModule, [typeof LocalizePipe, typeof PriceDisplayPipe], never, [typeof LocalizePipe, typeof PriceDisplayPipe]>;
|
|
418
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<PipeModule>;
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
declare class ProductSelectorTypeModule {
|
|
422
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductSelectorTypeModule, never>;
|
|
423
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductSelectorTypeModule, [typeof ProductSelectorTypeComponent], [typeof i2.CommonModule, typeof PipeModule, typeof i3.IconModule], [typeof ProductSelectorTypeComponent]>;
|
|
424
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ProductSelectorTypeModule>;
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
declare class ImageViewModel {
|
|
428
|
+
image: CoDocument | string;
|
|
429
|
+
source: SafeUrl;
|
|
430
|
+
originalSource: string;
|
|
431
|
+
}
|
|
432
|
+
declare class ImageCarouselComponent implements OnDestroy {
|
|
433
|
+
private _ione;
|
|
434
|
+
private _appEventService;
|
|
435
|
+
private _changeDetector;
|
|
436
|
+
private _domSanitizer;
|
|
437
|
+
carousel: ElementRef;
|
|
438
|
+
isPopupOpen: boolean;
|
|
439
|
+
selectedImage?: ImageViewModel;
|
|
440
|
+
onEsc(): void;
|
|
441
|
+
showRefresh: boolean;
|
|
442
|
+
set images(value: (CoDocument | string)[]);
|
|
443
|
+
get images(): (CoDocument | string)[];
|
|
444
|
+
handleWindowResize(): void;
|
|
445
|
+
gotoNextSlide(): void;
|
|
446
|
+
gotoPrevSlide(): void;
|
|
447
|
+
isCurrentIndex(index: number): boolean;
|
|
448
|
+
get currentIndex(): number;
|
|
449
|
+
set currentIndex(value: number);
|
|
450
|
+
resizing: boolean;
|
|
451
|
+
imageViewModels: ImageViewModel[];
|
|
452
|
+
showLoader: boolean;
|
|
453
|
+
private _resizeTimer;
|
|
454
|
+
private _currentIndex;
|
|
455
|
+
private _images;
|
|
456
|
+
private _subs;
|
|
457
|
+
private _resizeCanvasHeight;
|
|
458
|
+
constructor(_ione: ProductConnectorService, _appEventService: ProductEventService, _changeDetector: ChangeDetectorRef, _domSanitizer: DomSanitizer);
|
|
459
|
+
ngOnDestroy(): void;
|
|
460
|
+
handleThumbClick(index: number): void;
|
|
461
|
+
onForceRenderImage(): void;
|
|
462
|
+
handleShowImage(imageViewModel: ImageViewModel): void;
|
|
463
|
+
closePopup(): void;
|
|
464
|
+
private _filterValidImages;
|
|
465
|
+
private _loadAndRescaleImages;
|
|
466
|
+
private _resizeAndSanitizeSource;
|
|
467
|
+
private _detectPreferredMime;
|
|
468
|
+
private _scrollCarouselToIndex;
|
|
469
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ImageCarouselComponent, never>;
|
|
470
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ImageCarouselComponent, "app-image-carousel", never, { "showRefresh": { "alias": "showRefresh"; "required": false; }; "images": { "alias": "images"; "required": false; }; }, {}, never, never, false, never>;
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
declare class ImageCarouselModule {
|
|
474
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ImageCarouselModule, never>;
|
|
475
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ImageCarouselModule, [typeof ImageCarouselComponent], [typeof i2.CommonModule, typeof i3.LoaderModule, typeof i3.ScrollContainerModule], [typeof ImageCarouselComponent]>;
|
|
476
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ImageCarouselModule>;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
declare class ProductDescriptionComponent implements OnInit {
|
|
480
|
+
article: ArticleFullObject;
|
|
481
|
+
constructor();
|
|
482
|
+
ngOnInit(): void;
|
|
483
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductDescriptionComponent, never>;
|
|
484
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductDescriptionComponent, "app-product-description", never, { "article": { "alias": "article"; "required": false; }; }, {}, never, never, false, never>;
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
declare class ProductDescriptionModule {
|
|
488
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductDescriptionModule, never>;
|
|
489
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductDescriptionModule, [typeof ProductDescriptionComponent], [typeof i2.CommonModule], [typeof ProductDescriptionComponent]>;
|
|
490
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ProductDescriptionModule>;
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
declare class ProductAdditionalDescriptionComponent implements OnInit {
|
|
494
|
+
private _appEventService;
|
|
495
|
+
set article(value: ArticleFullObject);
|
|
496
|
+
get article(): ArticleFullObject;
|
|
497
|
+
description: string;
|
|
498
|
+
private _article;
|
|
499
|
+
constructor(_appEventService: ProductEventService);
|
|
500
|
+
ngOnInit(): void;
|
|
501
|
+
onReadMore(): void;
|
|
502
|
+
private _prepareDescription;
|
|
503
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductAdditionalDescriptionComponent, never>;
|
|
504
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductAdditionalDescriptionComponent, "app-product-additional-description", never, { "article": { "alias": "article"; "required": false; }; }, {}, never, never, false, never>;
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
declare class ProductAdditionalDescriptionModule {
|
|
508
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductAdditionalDescriptionModule, never>;
|
|
509
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductAdditionalDescriptionModule, [typeof ProductAdditionalDescriptionComponent], [typeof i2.CommonModule, typeof PipeModule], [typeof ProductAdditionalDescriptionComponent]>;
|
|
510
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ProductAdditionalDescriptionModule>;
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
declare class ProductPriceComponent implements OnInit {
|
|
514
|
+
private _changeDetector;
|
|
515
|
+
set pricing(value: any);
|
|
516
|
+
get pricing(): any;
|
|
517
|
+
set configurable(value: boolean);
|
|
518
|
+
fromPrice: number;
|
|
519
|
+
toPrice: number;
|
|
520
|
+
valutaSign: string;
|
|
521
|
+
fromLabel: string;
|
|
522
|
+
toLabel: string;
|
|
523
|
+
showFromPrice: boolean;
|
|
524
|
+
private _pricing;
|
|
525
|
+
private _configurable;
|
|
526
|
+
constructor(_changeDetector: ChangeDetectorRef);
|
|
527
|
+
ngOnInit(): void;
|
|
528
|
+
private _setPrices;
|
|
529
|
+
private _getSign;
|
|
530
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductPriceComponent, never>;
|
|
531
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductPriceComponent, "app-product-price", never, { "pricing": { "alias": "pricing"; "required": false; }; "configurable": { "alias": "configurable"; "required": false; }; }, {}, never, never, false, never>;
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
declare class ProductPriceModule {
|
|
535
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductPriceModule, never>;
|
|
536
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductPriceModule, [typeof ProductPriceComponent], [typeof i2.CommonModule, typeof PipeModule], [typeof ProductPriceComponent]>;
|
|
537
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ProductPriceModule>;
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
declare class ProductAddtocartComponent implements OnInit, OnDestroy {
|
|
541
|
+
iconCache: IconCacheService;
|
|
542
|
+
private _ioneControllerService;
|
|
543
|
+
private _appEventService;
|
|
544
|
+
private _settingsService;
|
|
545
|
+
private _productConnectorAdapterService;
|
|
546
|
+
readonly icon: typeof IconEnum;
|
|
547
|
+
addToCartButton: ElementRef;
|
|
548
|
+
article: ArticleFullObject;
|
|
549
|
+
externalSource: ExternalSource;
|
|
550
|
+
createFrozenArticle: boolean;
|
|
551
|
+
configurable: boolean;
|
|
552
|
+
configuring: boolean;
|
|
553
|
+
showAddToCart: boolean;
|
|
554
|
+
isReturn: boolean;
|
|
555
|
+
fullscreen: boolean;
|
|
556
|
+
set quantity(value: number);
|
|
557
|
+
get quantity(): number;
|
|
558
|
+
startConfiguration: EventEmitter<void>;
|
|
559
|
+
addToCartClick: EventEmitter<number>;
|
|
560
|
+
addToQuoteClick: EventEmitter<number>;
|
|
561
|
+
showRelatedPopup: EventEmitter<boolean>;
|
|
562
|
+
showQuoteButton: boolean;
|
|
563
|
+
private _quantity;
|
|
564
|
+
constructor(iconCache: IconCacheService, _ioneControllerService: ProductConnectorService, _appEventService: ProductEventService, _settingsService: ProductSettingsService, _productConnectorAdapterService: ProductConnectorAdapterService);
|
|
565
|
+
ngOnInit(): void;
|
|
566
|
+
ngOnDestroy(): void;
|
|
567
|
+
handleAddToCartClick(quantity: number): Promise<void>;
|
|
568
|
+
handleAddToQuoteClick(quantity: number): Promise<void>;
|
|
569
|
+
private _getJSONFromArticleObject;
|
|
570
|
+
private _handleGeneratedArticleDirectly;
|
|
571
|
+
private _getGeneratedArtDirectly;
|
|
572
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductAddtocartComponent, never>;
|
|
573
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductAddtocartComponent, "app-product-addtocart", never, { "article": { "alias": "article"; "required": false; }; "externalSource": { "alias": "externalSource"; "required": false; }; "createFrozenArticle": { "alias": "createFrozenArticle"; "required": false; }; "configurable": { "alias": "configurable"; "required": false; }; "configuring": { "alias": "configuring"; "required": false; }; "showAddToCart": { "alias": "showAddToCart"; "required": false; }; "isReturn": { "alias": "isReturn"; "required": false; }; "fullscreen": { "alias": "fullscreen"; "required": false; }; "quantity": { "alias": "quantity"; "required": false; }; }, { "startConfiguration": "startConfiguration"; "addToCartClick": "addToCartClick"; "addToQuoteClick": "addToQuoteClick"; "showRelatedPopup": "showRelatedPopup"; }, never, never, false, never>;
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
declare class ProductAddtocartModule {
|
|
577
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductAddtocartModule, never>;
|
|
578
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductAddtocartModule, [typeof ProductAddtocartComponent], [typeof i2.CommonModule, typeof i3.InputNumberPickerModule, typeof i3.ButtonModule, typeof PipeModule, typeof i3.LoaderModule], [typeof ProductAddtocartComponent]>;
|
|
579
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ProductAddtocartModule>;
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
declare class ArticleViewModel {
|
|
583
|
+
article: ArticleListObject;
|
|
584
|
+
imageData: string;
|
|
585
|
+
constructor(article: ArticleListObject, imageData?: string);
|
|
586
|
+
}
|
|
587
|
+
declare class ProductRelatedComponent {
|
|
588
|
+
private _iOne;
|
|
589
|
+
private _appEventService;
|
|
590
|
+
private _productConnectorAdapterService;
|
|
591
|
+
private _settingsService;
|
|
592
|
+
refType: number;
|
|
593
|
+
label: string;
|
|
594
|
+
externalSource: ExternalSource;
|
|
595
|
+
isSmallModus: boolean;
|
|
596
|
+
createFrozenArticle: boolean;
|
|
597
|
+
set articles(value: ArticleListObject[]);
|
|
598
|
+
get articles(): ArticleListObject[];
|
|
599
|
+
articleViewModels: ArticleViewModel[];
|
|
600
|
+
private _articles;
|
|
601
|
+
constructor(_iOne: ProductConnectorService, _appEventService: ProductEventService, _productConnectorAdapterService: ProductConnectorAdapterService, _settingsService: ProductSettingsService);
|
|
602
|
+
handleContentClick(article: ArticleListObject): void;
|
|
603
|
+
handleAddToCartClick(article: ArticleListObject): Promise<void>;
|
|
604
|
+
handleConfigureButtonClick(article: ArticleListObject): void;
|
|
605
|
+
handleThreeDButtonClick(article: ArticleListObject): void;
|
|
606
|
+
private _getJSONFromArticleObject;
|
|
607
|
+
private _loadImages;
|
|
608
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductRelatedComponent, never>;
|
|
609
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductRelatedComponent, "app-product-related", never, { "refType": { "alias": "refType"; "required": false; }; "label": { "alias": "label"; "required": false; }; "externalSource": { "alias": "externalSource"; "required": false; }; "isSmallModus": { "alias": "isSmallModus"; "required": false; }; "createFrozenArticle": { "alias": "createFrozenArticle"; "required": false; }; "articles": { "alias": "articles"; "required": false; }; }, {}, never, never, false, never>;
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
declare class HeaderComponent implements OnInit {
|
|
613
|
+
label: string;
|
|
614
|
+
amount: number;
|
|
615
|
+
constructor();
|
|
616
|
+
ngOnInit(): void;
|
|
617
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderComponent, never>;
|
|
618
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderComponent, "app-header", never, { "label": { "alias": "label"; "required": false; }; "amount": { "alias": "amount"; "required": false; }; }, {}, never, never, false, never>;
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
declare class HeaderModule {
|
|
622
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderModule, never>;
|
|
623
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<HeaderModule, [typeof HeaderComponent], [typeof i2.CommonModule], [typeof HeaderComponent]>;
|
|
624
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<HeaderModule>;
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
declare class ProductRelatedModule {
|
|
628
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductRelatedModule, never>;
|
|
629
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductRelatedModule, [typeof ProductRelatedComponent], [typeof i2.CommonModule, typeof HeaderModule, typeof i3.ScrollContainerModule, typeof i3.ArticleTileModule], [typeof ProductRelatedComponent]>;
|
|
630
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ProductRelatedModule>;
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
declare class ProductStockComponent {
|
|
634
|
+
private _iOne;
|
|
635
|
+
private _iconCache;
|
|
636
|
+
readonly icon: typeof IconEnum;
|
|
637
|
+
set goodId(value: number);
|
|
638
|
+
get goodId(): number;
|
|
639
|
+
openStockEvent: EventEmitter<void>;
|
|
640
|
+
inStock: boolean;
|
|
641
|
+
stockLabel: string;
|
|
642
|
+
iconData: SafeHtml;
|
|
643
|
+
private _goodId;
|
|
644
|
+
constructor(_iOne: ProductConnectorService, _iconCache: IconCacheService);
|
|
645
|
+
openStock(): void;
|
|
646
|
+
private _getStockStatus;
|
|
647
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductStockComponent, never>;
|
|
648
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductStockComponent, "app-product-stock", never, { "goodId": { "alias": "goodId"; "required": false; }; }, { "openStockEvent": "openStockEvent"; }, never, never, false, never>;
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
declare class ProductStockModule {
|
|
652
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductStockModule, never>;
|
|
653
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductStockModule, [typeof ProductStockComponent], [typeof i2.CommonModule, typeof i3.IconModule, typeof PipeModule], [typeof ProductStockComponent]>;
|
|
654
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ProductStockModule>;
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
declare class ProductDeliveryComponent implements OnInit {
|
|
658
|
+
private _localizePipe;
|
|
659
|
+
private _iOne;
|
|
660
|
+
private _iconCache;
|
|
661
|
+
readonly icon: typeof IconEnum;
|
|
662
|
+
set stockAndDelivery(value: StockAndDelivery);
|
|
663
|
+
deliveryDescription: string;
|
|
664
|
+
iconData: SafeHtml;
|
|
665
|
+
constructor(_localizePipe: LocalizePipe, _iOne: ProductConnectorService, _iconCache: IconCacheService);
|
|
666
|
+
ngOnInit(): void;
|
|
667
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductDeliveryComponent, never>;
|
|
668
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductDeliveryComponent, "app-product-delivery", never, { "stockAndDelivery": { "alias": "stockAndDelivery"; "required": false; }; }, {}, never, never, false, never>;
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
declare class ProductDeliveryModule {
|
|
672
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductDeliveryModule, never>;
|
|
673
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductDeliveryModule, [typeof ProductDeliveryComponent], [typeof i2.CommonModule, typeof i3.IconModule, typeof PipeModule], [typeof ProductDeliveryComponent]>;
|
|
674
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ProductDeliveryModule>;
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
declare class ProductInfoTabsComponent implements OnDestroy {
|
|
678
|
+
private _appEventService;
|
|
679
|
+
activeTab: number;
|
|
680
|
+
activeTabHeight: number;
|
|
681
|
+
tabContent: ElementRef;
|
|
682
|
+
tabs: any[];
|
|
683
|
+
articleObject: ArticleFullObject;
|
|
684
|
+
set article(value: ArticleFullObject);
|
|
685
|
+
private _subs;
|
|
686
|
+
constructor(_appEventService: ProductEventService);
|
|
687
|
+
ngOnDestroy(): void;
|
|
688
|
+
updateTab(tabIndex: number): void;
|
|
689
|
+
updateHeight(tabIndex: number): void;
|
|
690
|
+
private _setupTabs;
|
|
691
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductInfoTabsComponent, never>;
|
|
692
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductInfoTabsComponent, "app-product-info-tabs", never, { "article": { "alias": "article"; "required": false; }; }, {}, never, never, false, never>;
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
declare class ProductAdditionalInfoComponent implements OnInit {
|
|
696
|
+
private _sanitizer;
|
|
697
|
+
private _connectorService;
|
|
698
|
+
private _changeDetector;
|
|
699
|
+
set article(value: ArticleFullObject);
|
|
700
|
+
get article(): ArticleFullObject;
|
|
701
|
+
showLabel: boolean;
|
|
702
|
+
textParts: SafeHtml[];
|
|
703
|
+
info: string;
|
|
704
|
+
private _article;
|
|
705
|
+
private _superArticles;
|
|
706
|
+
constructor(_sanitizer: DomSanitizer, _connectorService: ProductConnectorService, _changeDetector: ChangeDetectorRef);
|
|
707
|
+
ngOnInit(): void;
|
|
708
|
+
private _getTextsSuperArticle;
|
|
709
|
+
private _prepareArticleTexts;
|
|
710
|
+
private _buildInfo;
|
|
711
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductAdditionalInfoComponent, never>;
|
|
712
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductAdditionalInfoComponent, "app-product-additional-info", never, { "article": { "alias": "article"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; }, {}, never, never, false, never>;
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
declare class ProductAdditionalInfoModule {
|
|
716
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductAdditionalInfoModule, never>;
|
|
717
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductAdditionalInfoModule, [typeof ProductAdditionalInfoComponent], [typeof i2.CommonModule, typeof PipeModule], [typeof ProductAdditionalInfoComponent]>;
|
|
718
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ProductAdditionalInfoModule>;
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
declare class ProductPropertiesComponent implements OnInit {
|
|
722
|
+
set article(value: ArticleFullObject);
|
|
723
|
+
get article(): ArticleFullObject;
|
|
724
|
+
showLabel: boolean;
|
|
725
|
+
properties: {
|
|
726
|
+
key: string;
|
|
727
|
+
value: string;
|
|
728
|
+
}[];
|
|
729
|
+
private _article;
|
|
730
|
+
constructor();
|
|
731
|
+
ngOnInit(): void;
|
|
732
|
+
private _prepareProperties;
|
|
733
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductPropertiesComponent, never>;
|
|
734
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductPropertiesComponent, "app-product-properties", never, { "article": { "alias": "article"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; }, {}, never, never, false, never>;
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
declare class ProductPropertiesModule {
|
|
738
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductPropertiesModule, never>;
|
|
739
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductPropertiesModule, [typeof ProductPropertiesComponent], [typeof i2.CommonModule, typeof PipeModule], [typeof ProductPropertiesComponent]>;
|
|
740
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ProductPropertiesModule>;
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
declare class ProductDocumentsComponent {
|
|
744
|
+
iconCache: IconCacheService;
|
|
745
|
+
readonly icon: typeof IconEnum;
|
|
746
|
+
showLabel: boolean;
|
|
747
|
+
documents: CoDocument[];
|
|
748
|
+
constructor(iconCache: IconCacheService);
|
|
749
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductDocumentsComponent, never>;
|
|
750
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductDocumentsComponent, "app-product-documents", never, { "showLabel": { "alias": "showLabel"; "required": false; }; "documents": { "alias": "documents"; "required": false; }; }, {}, never, never, false, never>;
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
declare class ProductDocumentModule {
|
|
754
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductDocumentModule, never>;
|
|
755
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductDocumentModule, [typeof ProductDocumentsComponent], [typeof i2.CommonModule, typeof HeaderModule, typeof PipeModule, typeof i5.FilesUploadModule], [typeof ProductDocumentsComponent]>;
|
|
756
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ProductDocumentModule>;
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
declare class ProductSymbolsComponent implements OnInit {
|
|
760
|
+
set symbols(value: any);
|
|
761
|
+
get symbols(): any;
|
|
762
|
+
_className: string;
|
|
763
|
+
symbolStrings: string[];
|
|
764
|
+
private _symbols;
|
|
765
|
+
constructor();
|
|
766
|
+
ngOnInit(): void;
|
|
767
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductSymbolsComponent, never>;
|
|
768
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductSymbolsComponent, "app-product-symbols", never, { "symbols": { "alias": "symbols"; "required": false; }; }, {}, never, never, false, never>;
|
|
769
|
+
}
|
|
770
|
+
|
|
771
|
+
declare class ProductSymbolsModule {
|
|
772
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductSymbolsModule, never>;
|
|
773
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductSymbolsModule, [typeof ProductSymbolsComponent], [typeof i2.CommonModule, typeof HeaderModule, typeof PipeModule, typeof i3.ScrollContainerModule, typeof i3.TileModule], [typeof ProductSymbolsComponent]>;
|
|
774
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ProductSymbolsModule>;
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
declare class ProductInfoTabsModule {
|
|
778
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductInfoTabsModule, never>;
|
|
779
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductInfoTabsModule, [typeof ProductInfoTabsComponent], [typeof i2.CommonModule, typeof PipeModule, typeof ProductAdditionalInfoModule, typeof ProductPropertiesModule, typeof ProductDocumentModule, typeof ProductSymbolsModule], [typeof ProductInfoTabsComponent]>;
|
|
780
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ProductInfoTabsModule>;
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
declare class ProductDialogComponent implements OnInit {
|
|
784
|
+
iconCache: IconCacheService;
|
|
785
|
+
private _sanitizer;
|
|
786
|
+
private _productConnectorService;
|
|
787
|
+
private _productConnectorAdapterService;
|
|
788
|
+
private _appEventService;
|
|
789
|
+
readonly icon: typeof IconEnum;
|
|
790
|
+
refType: number;
|
|
791
|
+
mainArticle: ArticleFullObject;
|
|
792
|
+
articles: ArticleListObject[];
|
|
793
|
+
closeRelatedPopup: EventEmitter<boolean>;
|
|
794
|
+
showClass(): boolean;
|
|
795
|
+
constructor(iconCache: IconCacheService, _sanitizer: DomSanitizer, _productConnectorService: ProductConnectorService, _productConnectorAdapterService: ProductConnectorAdapterService, _appEventService: ProductEventService);
|
|
796
|
+
ngOnInit(): void;
|
|
797
|
+
closeCatalog(): void;
|
|
798
|
+
protected readonly type: typeof SelectorType;
|
|
799
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductDialogComponent, never>;
|
|
800
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductDialogComponent, "co-product-dialog", never, { "refType": { "alias": "refType"; "required": false; }; "mainArticle": { "alias": "mainArticle"; "required": false; }; "articles": { "alias": "articles"; "required": false; }; }, { "closeRelatedPopup": "closeRelatedPopup"; }, never, never, false, never>;
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
declare class ProductDialogModule {
|
|
804
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductDialogModule, never>;
|
|
805
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductDialogModule, [typeof ProductDialogComponent], [typeof i2.CommonModule, typeof PipeModule, typeof ProductRelatedModule, typeof i3.IconModule], [typeof ProductDialogComponent]>;
|
|
806
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ProductDialogModule>;
|
|
807
|
+
}
|
|
808
|
+
|
|
809
|
+
declare class RenderCarouselComponent implements OnDestroy, OnChanges {
|
|
810
|
+
iconCache: IconCacheService;
|
|
811
|
+
private _appEventService;
|
|
812
|
+
private _changeDetector;
|
|
813
|
+
carousel: ElementRef;
|
|
814
|
+
showRefresh: boolean;
|
|
815
|
+
article: ArticleFullObject;
|
|
816
|
+
handleWindowResize(): void;
|
|
817
|
+
gotoNextSlide(): void;
|
|
818
|
+
gotoPrevSlide(): void;
|
|
819
|
+
resizing: boolean;
|
|
820
|
+
showLoader: boolean;
|
|
821
|
+
renderedImage: string;
|
|
822
|
+
renderedImageLoaded: boolean;
|
|
823
|
+
renderAngles: any;
|
|
824
|
+
currentRenderAngleIndex: number;
|
|
825
|
+
readonly icon: typeof IconEnum;
|
|
826
|
+
private _resizeTimer;
|
|
827
|
+
private _subs;
|
|
828
|
+
constructor(iconCache: IconCacheService, _appEventService: ProductEventService, _changeDetector: ChangeDetectorRef);
|
|
829
|
+
ngOnDestroy(): void;
|
|
830
|
+
ngOnChanges(): void;
|
|
831
|
+
onRenderLoaded(): void;
|
|
832
|
+
private _getRenderSettings;
|
|
833
|
+
private _createNewRender;
|
|
834
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RenderCarouselComponent, never>;
|
|
835
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RenderCarouselComponent, "app-render-carousel", never, { "showRefresh": { "alias": "showRefresh"; "required": false; }; "article": { "alias": "article"; "required": false; }; }, {}, never, never, false, never>;
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
declare class RenderCarouselModule {
|
|
839
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RenderCarouselModule, never>;
|
|
840
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<RenderCarouselModule, [typeof RenderCarouselComponent], [typeof i2.CommonModule, typeof i3.LoaderModule, typeof i3.ScrollContainerModule, typeof i3.IconModule, typeof i3.IconCollapseHandleModule], [typeof RenderCarouselComponent]>;
|
|
841
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<RenderCarouselModule>;
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
declare class ProductPageModule {
|
|
845
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductPageModule, never>;
|
|
846
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductPageModule, [typeof ProductPageComponent], [typeof i2.CommonModule, typeof ProductSelectorTypeModule, typeof ImageCarouselModule, typeof i3.IconModule, typeof ProductDescriptionModule, typeof ProductAdditionalDescriptionModule, typeof ProductPriceModule, typeof ProductAddtocartModule, typeof ProductRelatedModule, typeof ProductStockModule, typeof ProductDeliveryModule, typeof ProductInfoTabsModule, typeof PipeModule, typeof ProductDialogModule, typeof i3.LoaderModule, typeof RenderCarouselModule], [typeof ProductPageComponent]>;
|
|
847
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ProductPageModule>;
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
declare class ProductScriptLoaderService {
|
|
851
|
+
private platformId;
|
|
852
|
+
private _scriptsOrLinksElements;
|
|
853
|
+
constructor(platformId: any);
|
|
854
|
+
loadScript(url: string, renderer: Renderer2): Promise<void>;
|
|
855
|
+
unloadScripts(renderer: Renderer2): void;
|
|
856
|
+
addStyleSheet(url: string, renderer: Renderer2): Promise<void>;
|
|
857
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductScriptLoaderService, never>;
|
|
858
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ProductScriptLoaderService>;
|
|
859
|
+
}
|
|
860
|
+
|
|
861
|
+
declare class ProductHdComponent implements OnDestroy {
|
|
862
|
+
private _scriptLoader;
|
|
863
|
+
private _renderer;
|
|
864
|
+
set content(child: any);
|
|
865
|
+
set sku(value: string);
|
|
866
|
+
get sku(): string;
|
|
867
|
+
token: string;
|
|
868
|
+
variant: string;
|
|
869
|
+
urlParams: ExternalSourceParameter[];
|
|
870
|
+
configuratorFinished: EventEmitter<string>;
|
|
871
|
+
configurationError: EventEmitter<any>;
|
|
872
|
+
showClass: boolean;
|
|
873
|
+
hdeConfigurator: ElementRef;
|
|
874
|
+
private _sku;
|
|
875
|
+
constructor(_scriptLoader: ProductScriptLoaderService, _renderer: Renderer2);
|
|
876
|
+
ngOnDestroy(): void;
|
|
877
|
+
handleConfigurationFinished(event: CustomEvent): void;
|
|
878
|
+
handleError(event: CustomEvent): void;
|
|
879
|
+
private _prepareAttributes;
|
|
880
|
+
private _prepareConfiguratorUrls;
|
|
881
|
+
private _loadTheScripts;
|
|
882
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductHdComponent, never>;
|
|
883
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductHdComponent, "co-product-hd", never, { "sku": { "alias": "sku"; "required": false; }; "token": { "alias": "token"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "urlParams": { "alias": "urlParams"; "required": false; }; }, { "configuratorFinished": "configuratorFinished"; "configurationError": "configurationError"; }, never, never, false, never>;
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
declare class ProductHdModule {
|
|
887
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductHdModule, never>;
|
|
888
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductHdModule, [typeof ProductHdComponent], [typeof i2.CommonModule], [typeof ProductHdComponent]>;
|
|
889
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ProductHdModule>;
|
|
890
|
+
}
|
|
891
|
+
|
|
892
|
+
declare class ProductExternalSourceComponent implements OnInit, OnDestroy {
|
|
893
|
+
private _sanitizer;
|
|
894
|
+
private _productConnectorService;
|
|
895
|
+
private _appEventService;
|
|
896
|
+
sku: string;
|
|
897
|
+
catalogDefinition: CatalogDefinition;
|
|
898
|
+
set externalSource(value: ExternalSource);
|
|
899
|
+
get externalSource(): ExternalSource;
|
|
900
|
+
set externalCatalogStartupInfo(value: ExternalCatalogStartupInfo);
|
|
901
|
+
get externalCatalogStartupInfo(): ExternalCatalogStartupInfo;
|
|
902
|
+
options: {};
|
|
903
|
+
addToCart: EventEmitter<ExternalSourceArticleAddInterface>;
|
|
904
|
+
addToQuote: EventEmitter<ExternalSourceArticleAddInterface>;
|
|
905
|
+
alternativeClick: EventEmitter<ArticleListObject>;
|
|
906
|
+
configuratorFinished: EventEmitter<string>;
|
|
907
|
+
showClass(): boolean;
|
|
908
|
+
showProduct: boolean;
|
|
909
|
+
showConfigurator: boolean;
|
|
910
|
+
showSource: boolean;
|
|
911
|
+
safeUrl: SafeResourceUrl;
|
|
912
|
+
loaded: boolean;
|
|
913
|
+
externalUrl: string;
|
|
914
|
+
externalSettings: any;
|
|
915
|
+
token: string;
|
|
916
|
+
variant: string;
|
|
917
|
+
urlParams: ExternalSourceParameter[];
|
|
918
|
+
private _externalSource;
|
|
919
|
+
private _externalCatalogStartupInfo;
|
|
920
|
+
private _subs;
|
|
921
|
+
constructor(_sanitizer: DomSanitizer, _productConnectorService: ProductConnectorService, _appEventService: ProductEventService);
|
|
922
|
+
ngOnInit(): void;
|
|
923
|
+
ngOnDestroy(): void;
|
|
924
|
+
handleConfigurationFinished(variantString: string): void;
|
|
925
|
+
private _prepareExternalSource;
|
|
926
|
+
private _prepareCatFarm;
|
|
927
|
+
private _prepareConfigurator;
|
|
928
|
+
private _prepareSource;
|
|
929
|
+
private switchToProduct;
|
|
930
|
+
private switchToConfigurator;
|
|
931
|
+
private switchToSource;
|
|
932
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductExternalSourceComponent, never>;
|
|
933
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductExternalSourceComponent, "co-product-external-source", never, { "sku": { "alias": "sku"; "required": false; }; "catalogDefinition": { "alias": "catalogDefinition"; "required": false; }; "externalSource": { "alias": "externalSource"; "required": false; }; "externalCatalogStartupInfo": { "alias": "externalCatalogStartupInfo"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, { "addToCart": "addToCart"; "addToQuote": "addToQuote"; "alternativeClick": "alternativeClick"; "configuratorFinished": "configuratorFinished"; }, never, never, false, never>;
|
|
934
|
+
}
|
|
935
|
+
|
|
936
|
+
declare class ProductExternalSourceModule {
|
|
937
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductExternalSourceModule, never>;
|
|
938
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductExternalSourceModule, [typeof ProductExternalSourceComponent], [typeof i2.CommonModule, typeof ProductPageModule, typeof ProductHdModule], [typeof ProductExternalSourceComponent]>;
|
|
939
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ProductExternalSourceModule>;
|
|
940
|
+
}
|
|
941
|
+
|
|
942
|
+
declare class IoneProductModule {
|
|
943
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IoneProductModule, never>;
|
|
944
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IoneProductModule, [typeof IoneProductComponent], [typeof i2.CommonModule, typeof ProductPageModule, typeof ProductHdModule, typeof ProductExternalSourceModule, typeof i3.ButtonModule], [typeof IoneProductComponent]>;
|
|
945
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<IoneProductModule>;
|
|
946
|
+
}
|
|
947
|
+
|
|
948
|
+
export { IoneProductComponent, IoneProductModule, ProductConnectorAdapterService, ProductConnectorService, ProductEventService, ProductExternalSourceComponent, ProductExternalSourceModule, ProductSettingsService, Version };
|