@colijnit/inphoto 300.1.5 → 300.1.7
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/index.d.ts
CHANGED
|
@@ -3,21 +3,21 @@ import { WritableSignal, EventEmitter, OnDestroy, ElementRef, OnInit, ChangeDete
|
|
|
3
3
|
import { Subject, BehaviorSubject, Subscription } from 'rxjs';
|
|
4
4
|
import { LanguageCode } from '@colijnit/ioneconnector/build/enum/language-code.enum';
|
|
5
5
|
import { GetArticlesForCatalogRequest } from '@colijnit/transactionapi/build/model/get-articles-for-catalog';
|
|
6
|
+
import { Options } from '@colijnit/ioneconnector/build/model/options';
|
|
6
7
|
import { Vector3, Mesh, Box3, Scene, PerspectiveCamera, WebGLRenderer, Object3D, Vector2, Raycaster } from 'three';
|
|
7
8
|
import { Articles } from '@colijnit/articleapi/build/articles';
|
|
8
9
|
import { MainApi } from '@colijnit/mainapi';
|
|
9
10
|
import { Configurator } from '@colijnit/configuratorapi';
|
|
10
11
|
import { LoginResponse } from '@colijnit/ioneconnector/build/model/login-response';
|
|
11
12
|
import { CatalogDefinition } from '@colijnit/articleapi/build/model/catalog-definition.bo';
|
|
12
|
-
import { ExternalSource } from '@colijnit/articleapi/build/model/external-source.bo';
|
|
13
13
|
import * as i3 from '@colijnit/catalog';
|
|
14
14
|
import { CatalogExternalSourcesService, FilterOrder, CatalogService, ExternalSourceViewmodel } from '@colijnit/catalog';
|
|
15
|
-
import { Options } from '@colijnit/ioneconnector/build/model/options';
|
|
16
15
|
import { DataServiceResponseData } from '@colijnit/ioneconnector/build/model/data-service-response-data';
|
|
17
16
|
import { ExternalCatalogStartupInfoRequest } from '@colijnit/articleapi/build/model/external-catalog-startup-info-request';
|
|
18
17
|
import { ExternalCatalogStartupInfo } from '@colijnit/articleapi/build/model/external-catalog-startup-info';
|
|
19
18
|
import * as i6 from '@colijnit/configurator';
|
|
20
19
|
import { ConfigurationResultObject, ConfiguringService, ConfiguratorEventService } from '@colijnit/configurator';
|
|
20
|
+
import { ExternalSourceInfo } from '@colijnit/articleapi/build/model/external-source-info.bo';
|
|
21
21
|
import { ExternalSourceArticleClickInterface } from '@colijnit/articleapi/build/interface/external-source-article-click.interface';
|
|
22
22
|
import { SafeHtml, DomSanitizer } from '@angular/platform-browser';
|
|
23
23
|
import { Font } from 'three/examples/jsm/loaders/FontLoader.js';
|
|
@@ -58,24 +58,18 @@ declare class SettingOptions {
|
|
|
58
58
|
inlineAnswers: boolean;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
declare class Settings {
|
|
62
|
-
url: string;
|
|
63
|
-
schema: string;
|
|
64
|
-
version: string;
|
|
65
|
-
branch: string;
|
|
61
|
+
declare class Settings extends Options {
|
|
66
62
|
currency: number;
|
|
67
|
-
languageCode: string;
|
|
68
63
|
currencySymbol: string;
|
|
69
|
-
username: string;
|
|
70
|
-
password: string;
|
|
71
64
|
session: any;
|
|
72
|
-
useLoginEncryption: boolean;
|
|
73
|
-
logoutWhenRefresh: boolean;
|
|
74
65
|
assetPath: string;
|
|
75
66
|
threeDAssetPath: string;
|
|
76
67
|
options: SettingOptions;
|
|
77
68
|
catalogParameters: GetArticlesForCatalogRequest;
|
|
78
69
|
infoPublicationCode: number;
|
|
70
|
+
mainUrl?: string;
|
|
71
|
+
mainSchema?: string;
|
|
72
|
+
mainVersion?: string;
|
|
79
73
|
}
|
|
80
74
|
|
|
81
75
|
declare class ImageRoomResponse {
|
|
@@ -106,8 +100,6 @@ declare class ArticleConfiguration {
|
|
|
106
100
|
sku: string;
|
|
107
101
|
instanceId: string;
|
|
108
102
|
externalSourceId: number;
|
|
109
|
-
externalSourceUserName: string;
|
|
110
|
-
externalSourcePassword: string;
|
|
111
103
|
externalSourceSchema: string;
|
|
112
104
|
externalSourceUrl: string;
|
|
113
105
|
configurationResult: ConfigurationResultObject;
|
|
@@ -217,8 +209,6 @@ declare class InPhotoConnectorAdapterService implements OnDestroy {
|
|
|
217
209
|
loginResponse: LoginResponse;
|
|
218
210
|
private _catalogDefinitions;
|
|
219
211
|
private _externalSources;
|
|
220
|
-
private _catalogDefinitionsOriginal;
|
|
221
|
-
private _externalSourcesOriginal;
|
|
222
212
|
private _connector?;
|
|
223
213
|
private _articleApi;
|
|
224
214
|
private _mainApi;
|
|
@@ -227,10 +217,10 @@ declare class InPhotoConnectorAdapterService implements OnDestroy {
|
|
|
227
217
|
constructor(_catalogExternalSourcesService: CatalogExternalSourcesService, _appEventService: InphotoEventService, _errorService: ErrorService, _loaderService: LoaderService);
|
|
228
218
|
ngOnDestroy(): void;
|
|
229
219
|
initConnector(options: Options, externalSource?: string, forceReload?: boolean, externalSourceId?: number): Promise<boolean>;
|
|
230
|
-
getExternalSourceFromId(id: number):
|
|
220
|
+
getExternalSourceFromId(id: number): ExternalSourceInfo;
|
|
231
221
|
prepareExternalSources(): Promise<void>;
|
|
232
222
|
getCatalogDefinitionsList(): Promise<CatalogDefinition[]>;
|
|
233
|
-
getExternalSource(externalSourceId: number): Promise<
|
|
223
|
+
getExternalSource(externalSourceId: number): Promise<ExternalSourceInfo>;
|
|
234
224
|
getWebViewStartupInfo(request: ExternalCatalogStartupInfoRequest): Promise<ExternalCatalogStartupInfo>;
|
|
235
225
|
/**
|
|
236
226
|
*
|
|
@@ -576,7 +566,7 @@ declare class InphotoCatalogComponent implements OnInit, OnDestroy {
|
|
|
576
566
|
purchaseFilterOrders: FilterOrder[];
|
|
577
567
|
logisticsFilterOrders: FilterOrder[];
|
|
578
568
|
subs: Subscription[];
|
|
579
|
-
externalSource:
|
|
569
|
+
externalSource: ExternalSourceInfo;
|
|
580
570
|
catalogDefinition: CatalogDefinition;
|
|
581
571
|
catalogInfo: ExternalCatalogStartupInfo;
|
|
582
572
|
externalCatalogName: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@colijnit/inphoto",
|
|
3
|
-
"version": "300.1.
|
|
3
|
+
"version": "300.1.7",
|
|
4
4
|
"description": "Colijn IT inphoto module for Angular 20",
|
|
5
5
|
"repository": "npm/npm",
|
|
6
6
|
"author": "Colijn IT",
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
"peerDependencies": {
|
|
10
10
|
"@angular/common": ">=20.3.16",
|
|
11
11
|
"@angular/core": ">=20.3.16",
|
|
12
|
-
"@colijnit/articleapi": ">=300.1.
|
|
12
|
+
"@colijnit/articleapi": ">=300.1.1",
|
|
13
13
|
"@colijnit/configuratorapi": ">=300.1.0",
|
|
14
14
|
"@colijnit/corecomponents_v12": ">=300.1.0",
|
|
15
|
-
"@colijnit/ioneconnector": ">=300.1.
|
|
15
|
+
"@colijnit/ioneconnector": ">=300.1.1",
|
|
16
16
|
"@colijnit/mainapi": ">=300.1.0",
|
|
17
17
|
"@types/three": "0.178.1",
|
|
18
18
|
"three": "0.178.0"
|