@colijnit/homedecorator 255.1.16 → 255.1.18
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/core/model/homedecorator-settings.d.ts +1 -0
- package/app/core/service/app-state.service.d.ts +3 -1
- package/app/plugins/core3d/hud/measurements.d.ts +1 -1
- package/app/plugins/model-uploader/model-previewer/model-preview.component.d.ts +2 -0
- package/app/plugins/render/render-controls/render-controls.component.d.ts +2 -1
- package/app/plugins/room-planner/components/texture-editor/texture-editor.component.d.ts +2 -2
- package/bundles/colijnit-homedecorator.umd.js +16134 -16038
- package/bundles/colijnit-homedecorator.umd.js.map +1 -1
- package/colijnit-homedecorator-255.1.17.tgz +0 -0
- package/esm2015/app/core/model/homedecorator-settings.js +1 -1
- package/esm2015/app/core/service/app-state.service.js +7 -4
- package/esm2015/app/core/service/homedecorator-connector.service.js +2 -2
- package/esm2015/app/core/service/homedecorator-settings.service.js +4 -1
- package/esm2015/app/core/service/presets.service.js +1 -5
- package/esm2015/app/plugins/core3d/hud/furniture-measurements.js +2 -2
- package/esm2015/app/plugins/core3d/hud/measurements.js +5 -3
- package/esm2015/app/plugins/core3d/hud/on-wall-measurements.js +3 -3
- package/esm2015/app/plugins/core3d/items/wall-objects.js +2 -16
- package/esm2015/app/plugins/furniture-manager/furniture-manager/furniture-manager.component.js +3 -2
- package/esm2015/app/plugins/model-uploader/model-previewer/model-preview.component.js +56 -2
- package/esm2015/app/plugins/product-catalog/product-catalog/product-catalog.component.js +4 -2
- package/esm2015/app/plugins/render/render-controls/render-controls.component.js +37 -22
- package/esm2015/app/plugins/room-planner/components/appearance-section/appearance-section.component.js +2 -2
- package/esm2015/app/plugins/room-planner/components/texture-editor/texture-editor.component.js +6 -3
- package/esm2015/app/plugins/room-planner/components/texture-picker/texture-picker.component.js +1 -1
- package/esm2015/app/plugins/threedselector/threedselector/service/load-furniture.service.js +21 -2
- package/esm2015/app/plugins/toolbar/save-dialog/save-dialog.component.js +10 -6
- package/esm2015/app/shared/category-library/category-library.component.js +1 -1
- package/fesm2015/colijnit-homedecorator.js +14453 -14366
- package/fesm2015/colijnit-homedecorator.js.map +1 -1
- package/package.json +1 -1
|
@@ -51,6 +51,7 @@ export declare class HomedecoratorSettings {
|
|
|
51
51
|
user3DModelUploadEnabled: boolean;
|
|
52
52
|
showConversionButtons: boolean;
|
|
53
53
|
showUploadDiagram: boolean;
|
|
54
|
+
standAloneRoomplanner: boolean;
|
|
54
55
|
projectSettings: HomedecoratorSettings;
|
|
55
56
|
showFloorProductTab: boolean;
|
|
56
57
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { OnDestroy } from '@angular/core';
|
|
2
2
|
import { MessageBusService } from './message-bus.service';
|
|
3
|
+
import { UtilsService } from './utils.service';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare type StateValue = string;
|
|
5
6
|
declare type Action = string;
|
|
@@ -20,6 +21,7 @@ interface ValueState {
|
|
|
20
21
|
declare type State = DiffState | ValueState;
|
|
21
22
|
export declare class AppStateService implements OnDestroy {
|
|
22
23
|
private messageBusService;
|
|
24
|
+
private _utilsService;
|
|
23
25
|
createStateFn: CreateStateInterface;
|
|
24
26
|
applyStateFn: ApplyStateInterface;
|
|
25
27
|
states: State[];
|
|
@@ -27,7 +29,7 @@ export declare class AppStateService implements OnDestroy {
|
|
|
27
29
|
undoDisabled: boolean;
|
|
28
30
|
redoDisabled: boolean;
|
|
29
31
|
private _subs;
|
|
30
|
-
constructor(messageBusService: MessageBusService);
|
|
32
|
+
constructor(messageBusService: MessageBusService, _utilsService: UtilsService);
|
|
31
33
|
ngOnDestroy(): void;
|
|
32
34
|
init(stateApi: StateApi, initialState: StateValue): void;
|
|
33
35
|
canRedo(): boolean;
|
|
@@ -38,7 +38,7 @@ export declare abstract class Measurements {
|
|
|
38
38
|
direction: THREE.Vector3;
|
|
39
39
|
value: number;
|
|
40
40
|
};
|
|
41
|
-
}, index: number): (THREE.Mesh | THREE.ArrowHelper)[];
|
|
41
|
+
}, index: number, placement: string): (THREE.Mesh | THREE.ArrowHelper)[];
|
|
42
42
|
protected nonItemPlane(item: any, plane: any): boolean;
|
|
43
43
|
protected rotateDirection(rotateY: number, direction: THREE.Vector3): THREE.Vector3;
|
|
44
44
|
protected rotatedBoundingBoxBottomPoint(item: any, point: THREE.Vector3): THREE.Vector3;
|
|
@@ -92,6 +92,8 @@ export declare class ModelPreviewComponent implements OnInit, OnDestroy {
|
|
|
92
92
|
private _blobToArrayBuffer;
|
|
93
93
|
private _createLightFromProperties;
|
|
94
94
|
private _setObjectProperties;
|
|
95
|
+
private _validateTextures;
|
|
96
|
+
private _replaceProceduralTextures;
|
|
95
97
|
static ɵfac: i0.ɵɵFactoryDeclaration<ModelPreviewComponent, never>;
|
|
96
98
|
static ɵcmp: i0.ɵɵComponentDeclaration<ModelPreviewComponent, "rp-model-preview", never, {}, {}, never, never>;
|
|
97
99
|
}
|
|
@@ -43,13 +43,14 @@ export declare class RenderControlsComponent {
|
|
|
43
43
|
readonly renderModes: typeof RenderModes;
|
|
44
44
|
showRenderForm(event: MouseEvent): void;
|
|
45
45
|
checkCameraPosition(event: MouseEvent): void;
|
|
46
|
-
private _validateRenderPosition;
|
|
47
46
|
startRenderingRoom(): Promise<void>;
|
|
48
47
|
createBlenderRender(): void;
|
|
49
48
|
resetBlenderRenderScene(): void;
|
|
50
49
|
moveCameraWithinBounds(): void;
|
|
51
50
|
getPreviewRender(): void;
|
|
52
51
|
showPreview(image: string): void;
|
|
52
|
+
private _validateRenderPosition;
|
|
53
|
+
private _getObjectsByName;
|
|
53
54
|
static ɵfac: i0.ɵɵFactoryDeclaration<RenderControlsComponent, never>;
|
|
54
55
|
static ɵcmp: i0.ɵɵComponentDeclaration<RenderControlsComponent, "rp-render-controls", never, {}, {}, never, never>;
|
|
55
56
|
}
|
|
@@ -22,6 +22,7 @@ export declare class TextureEditorComponent implements OnInit, OnChanges, OnDest
|
|
|
22
22
|
texturePlane: any;
|
|
23
23
|
plainTexture: any;
|
|
24
24
|
changedTexture: Texture;
|
|
25
|
+
tiled: boolean;
|
|
25
26
|
options: TextureEditorOptions;
|
|
26
27
|
dragNDropEnforced: boolean;
|
|
27
28
|
setTexture: EventEmitter<number | Texture>;
|
|
@@ -67,7 +68,6 @@ export declare class TextureEditorComponent implements OnInit, OnChanges, OnDest
|
|
|
67
68
|
targetRatio: number;
|
|
68
69
|
context: CanvasRenderingContext2D;
|
|
69
70
|
dampSetTexture: any;
|
|
70
|
-
tiled: boolean;
|
|
71
71
|
createDampener: (emitter: any) => {
|
|
72
72
|
emit: (value: any) => void;
|
|
73
73
|
release: () => void;
|
|
@@ -124,5 +124,5 @@ export declare class TextureEditorComponent implements OnInit, OnChanges, OnDest
|
|
|
124
124
|
getCroppedCanvas(): string;
|
|
125
125
|
cropCanvas(sourceCanvas: any, left: any, top: any, width: any, height: any): any;
|
|
126
126
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextureEditorComponent, never>;
|
|
127
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TextureEditorComponent, "rp-texture-editor", never, { "width": "width"; "height": "height"; "texturePlane": "texturePlane"; "plainTexture": "plainTexture"; "changedTexture": "changedTexture"; "options": "options"; "dragNDropEnforced": "dragNDropEnforced"; }, { "setTexture": "setTexture"; "removeTexture": "removeTexture"; }, never, never>;
|
|
127
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextureEditorComponent, "rp-texture-editor", never, { "width": "width"; "height": "height"; "texturePlane": "texturePlane"; "plainTexture": "plainTexture"; "changedTexture": "changedTexture"; "tiled": "tiled"; "options": "options"; "dragNDropEnforced": "dragNDropEnforced"; }, { "setTexture": "setTexture"; "removeTexture": "removeTexture"; }, never, never>;
|
|
128
128
|
}
|