@colijnit/configurator 12.0.16 → 255.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/builder.d.ts +8 -8
- package/app/services/configurator.service.d.ts +5 -5
- package/bundles/colijnit-configurator.umd.js +212 -154
- package/bundles/colijnit-configurator.umd.js.map +1 -1
- package/esm2015/app/builder.js +45 -44
- package/esm2015/app/services/configurator.service.js +1 -1
- package/esm2015/app/services/image-cache.service.js +1 -1
- package/esm2015/helper/variation-helper.js +56 -37
- package/esm2015/model/material.js +3 -3
- package/esm2015/model/variation-settings.js +4 -2
- package/esm2015/utils/asset.utils.js +19 -14
- package/esm2015/utils/variation-utils.js +25 -15
- package/fesm2015/colijnit-configurator.js +127 -89
- package/fesm2015/colijnit-configurator.js.map +1 -1
- package/helper/variation-helper.d.ts +3 -3
- package/model/material.d.ts +20 -17
- package/model/variation-settings.d.ts +12 -2
- package/package.json +6 -3
- package/utils/asset.utils.d.ts +1 -0
- package/utils/variation-utils.d.ts +1 -1
- package/app/services/locator.service.d.ts +0 -4
- package/esm2015/app/services/locator.service.js +0 -8
package/app/builder.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as THREE from
|
|
2
|
-
import { Scene } from
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
1
|
+
import * as THREE from 'three';
|
|
2
|
+
import { Scene } from 'three';
|
|
3
|
+
import { DecoNode } from '@colijnit/configuratorapi/build/model/deco-node';
|
|
4
|
+
import { Selection } from '@colijnit/configuratorapi/build/model/selection';
|
|
5
|
+
import { Article } from '@colijnit/configuratorapi/build/model/article';
|
|
6
|
+
import { Answer } from '@colijnit/configuratorapi/build/model/answer';
|
|
7
|
+
import { BehaviorSubject } from 'rxjs';
|
|
8
|
+
import { Options } from '@colijnit/ioneconnector/build/model/options';
|
|
9
9
|
export declare class Builder {
|
|
10
10
|
selectionsReceived: BehaviorSubject<Selection[]>;
|
|
11
11
|
articleLoaded: BehaviorSubject<Article>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Selection } from '@colijnit/configuratorapi/build/model/selection';
|
|
2
2
|
import { Answer } from '@colijnit/configuratorapi/build/model/answer';
|
|
3
|
-
import {
|
|
4
|
-
import { Options } from
|
|
5
|
-
import {
|
|
3
|
+
import { QuestionAndAnswers } from '@colijnit/configuratorapi/build/model/question-and-answers';
|
|
4
|
+
import { Options } from '@colijnit/ioneconnector/build/model/options';
|
|
5
|
+
import { DataServiceResponseData } from '@colijnit/ioneconnector/build/model/data-service-response-data';
|
|
6
6
|
export declare class ConfiguratorService {
|
|
7
7
|
private _configuratorApi;
|
|
8
8
|
initApi(options: Options): void;
|
|
@@ -14,6 +14,6 @@ export declare class ConfiguratorService {
|
|
|
14
14
|
getDecos(showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
15
15
|
getQuestionAndAnswers(showLoader?: boolean, publicationCode?: number): Promise<QuestionAndAnswers>;
|
|
16
16
|
getSingleImage(nodeId: number | string, publication: number, includeMimetype: boolean, thumb: boolean, showLoader: boolean): Promise<DataServiceResponseData>;
|
|
17
|
-
selectSelection(selection: Selection, showLoader?: boolean): Promise<
|
|
18
|
-
selectAnswer(answer: Answer, showLoader?: boolean): Promise<
|
|
17
|
+
selectSelection(selection: Selection, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
18
|
+
selectAnswer(answer: Answer, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
19
19
|
}
|