@colijnit/homedecorator 262.1.1 → 262.1.3
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/components/dialog/co-hd-dialog.component.scss +39 -0
- package/app/plugins/render/render-progress/render-progress.component.scss +57 -10
- package/app/plugins/room-planner/components/configuration-preset-loader/configuration-preset-loader.component.scss +65 -0
- package/fesm2022/colijnit-homedecorator.mjs +1523 -1590
- package/fesm2022/colijnit-homedecorator.mjs.map +1 -1
- package/index.d.ts +162 -185
- package/package.json +2 -2
- package/style/_variables.scss +1 -1
- package/style/styles.scss +0 -1
package/index.d.ts
CHANGED
|
@@ -80,19 +80,19 @@ import * as i8 from '@angular/material/button-toggle';
|
|
|
80
80
|
import { MatButtonToggleChange } from '@angular/material/button-toggle';
|
|
81
81
|
import * as i11$1 from '@colijnit/modelcreation';
|
|
82
82
|
import { ModelCreationService } from '@colijnit/modelcreation';
|
|
83
|
-
import * as
|
|
83
|
+
import * as i44 from '@angular/material/snack-bar';
|
|
84
84
|
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
85
85
|
import * as i10$1 from '@angular/material/card';
|
|
86
86
|
import * as i9 from '@angular/material/sidenav';
|
|
87
87
|
import { MatDrawer } from '@angular/material/sidenav';
|
|
88
88
|
import * as i15 from '@angular/material/tabs';
|
|
89
|
-
import * as
|
|
89
|
+
import * as i42 from '@angular/material/divider';
|
|
90
90
|
import * as i13$2 from '@angular/cdk/drag-drop';
|
|
91
91
|
import * as i2$1 from 'ngx-color/chrome';
|
|
92
92
|
import { OrbitControls } from 'three/examples/jsm/controls/OrbitControls.js';
|
|
93
93
|
import { ActivatedRoute } from '@angular/router';
|
|
94
94
|
import * as i25 from '@colijnit/configurator';
|
|
95
|
-
import { ConfiguringService, ConfigurationResultObject, ConfiguratorErrorMessage } from '@colijnit/configurator';
|
|
95
|
+
import { ConfiguringService, ConfiguratorEventService, ConfigurationResultObject, ConfiguratorErrorMessage } from '@colijnit/configurator';
|
|
96
96
|
import * as i38 from 'ng2-pdf-viewer';
|
|
97
97
|
import { PdfViewerComponent } from 'ng2-pdf-viewer';
|
|
98
98
|
import * as i18 from '@angular/material/toolbar';
|
|
@@ -181,8 +181,10 @@ declare enum MessageType {
|
|
|
181
181
|
ChangeArticleConfigurationType = "ChangeArticleConfigurationType",
|
|
182
182
|
RenderUploadProgress = "RenderUploadProgress",
|
|
183
183
|
RenderUploadFinished = "RenderUploadFinished",
|
|
184
|
+
RenderFinished = "RenderFinished",
|
|
184
185
|
RemoveSlowConnectionToast = "RemoveSlowConnectionToast",
|
|
185
|
-
OpenConfigurator = "OpenConfigurator"
|
|
186
|
+
OpenConfigurator = "OpenConfigurator",
|
|
187
|
+
LoadConfigurationFromPreset = "LoadConfigurationFromPreset"
|
|
186
188
|
}
|
|
187
189
|
|
|
188
190
|
interface MessagesWithoutPayload {
|
|
@@ -502,7 +504,9 @@ declare class HomedecoratorSettingsOptions {
|
|
|
502
504
|
useAnimations: boolean;
|
|
503
505
|
useThreedScene: boolean;
|
|
504
506
|
showSlowConnectionWarning: boolean;
|
|
505
|
-
|
|
507
|
+
useExternalSave: boolean;
|
|
508
|
+
useExternalOpen: boolean;
|
|
509
|
+
shadowSaveToCloud: boolean;
|
|
506
510
|
floorFadeStart: number;
|
|
507
511
|
floorFadeEnd: number;
|
|
508
512
|
}
|
|
@@ -684,6 +688,7 @@ declare class FloorPlaneItem extends Item {
|
|
|
684
688
|
interface ExternalSave {
|
|
685
689
|
screenShot: string;
|
|
686
690
|
project: string;
|
|
691
|
+
code: string;
|
|
687
692
|
}
|
|
688
693
|
|
|
689
694
|
declare class HomedecoratorAppEventService {
|
|
@@ -706,9 +711,11 @@ declare class HomedecoratorAppEventService {
|
|
|
706
711
|
glbCreated: Subject<string>;
|
|
707
712
|
dirty: Subject<boolean>;
|
|
708
713
|
floorCreated: BehaviorSubject<FloorPlaneItem>;
|
|
709
|
-
externalSave:
|
|
714
|
+
externalSave: Subject<ExternalSave>;
|
|
715
|
+
externalOpen: Subject<void>;
|
|
710
716
|
searchClick: Subject<void>;
|
|
711
717
|
shareProject: Subject<void>;
|
|
718
|
+
configurationFromPresetLoaded: BehaviorSubject<boolean>;
|
|
712
719
|
static ɵfac: i0.ɵɵFactoryDeclaration<HomedecoratorAppEventService, never>;
|
|
713
720
|
static ɵprov: i0.ɵɵInjectableDeclaration<HomedecoratorAppEventService>;
|
|
714
721
|
}
|
|
@@ -802,6 +809,7 @@ declare class HomedecoratorConnectorAdapterService implements OnDestroy {
|
|
|
802
809
|
getArticleExtended(articleNumber: string): Promise<ArticleExtended>;
|
|
803
810
|
getDocumentContent(docId: number, thumbNail?: boolean): Promise<string>;
|
|
804
811
|
getGoogleTranslation(sourceLang: string, targetLang: string, list: string[]): Promise<string>;
|
|
812
|
+
initForPreset(presetId: string, goodId: number, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
805
813
|
private _getPublicationCodeForRole;
|
|
806
814
|
static ɵfac: i0.ɵɵFactoryDeclaration<HomedecoratorConnectorAdapterService, never>;
|
|
807
815
|
static ɵprov: i0.ɵɵInjectableDeclaration<HomedecoratorConnectorAdapterService>;
|
|
@@ -1256,6 +1264,10 @@ declare class HomedecoratorConnectorService implements OnDestroy {
|
|
|
1256
1264
|
addToCart(goodId: number, goodType: string, quantity: number, instanceId: string, externalSource: boolean): Promise<string>;
|
|
1257
1265
|
handleAnswersReceived(): void;
|
|
1258
1266
|
getGoogleTranslation(sourceLang: string, targetLang: string, list: string[]): Promise<string>;
|
|
1267
|
+
getExternalSourceFromId(externalSourceId: number): ExternalSource;
|
|
1268
|
+
getGoodIdFromArticleNr(sku: string): Promise<number>;
|
|
1269
|
+
initForPreset(presetId: string, goodId: number): Promise<DataServiceResponseData>;
|
|
1270
|
+
getPublicParams(url: string, upId: number): Promise<any>;
|
|
1259
1271
|
private _prepareSelectionsToDisplayImages;
|
|
1260
1272
|
private _prepareSelectionsNextOptionValues;
|
|
1261
1273
|
private _getPublicationCode;
|
|
@@ -2551,7 +2563,13 @@ interface MessagesWithPayload {
|
|
|
2551
2563
|
[MessageType.ChangeArticleConfigurationType]: boolean;
|
|
2552
2564
|
[MessageType.RenderUploadProgress]: number;
|
|
2553
2565
|
[MessageType.RenderUploadFinished]: boolean;
|
|
2566
|
+
[MessageType.RenderFinished]: boolean;
|
|
2554
2567
|
[MessageType.OpenConfigurator]: Item | ItemGroup;
|
|
2568
|
+
[MessageType.LoadConfigurationFromPreset]: {
|
|
2569
|
+
sku: string;
|
|
2570
|
+
instanceId: string;
|
|
2571
|
+
settings: Options;
|
|
2572
|
+
};
|
|
2555
2573
|
}
|
|
2556
2574
|
|
|
2557
2575
|
type PayloadlessMessageTypes = keyof MessagesWithoutPayload;
|
|
@@ -2852,6 +2870,7 @@ declare class PresetsService implements OnDestroy {
|
|
|
2852
2870
|
register(plugin: PluginInterface): void;
|
|
2853
2871
|
reopenState(model: string): void;
|
|
2854
2872
|
createState(save?: boolean): Promise<StateValue>;
|
|
2873
|
+
saveToCloud(asNew?: boolean): Promise<string>;
|
|
2855
2874
|
private _loadSavedRoomFromPreset;
|
|
2856
2875
|
private _loadSavedRoomFromCloud;
|
|
2857
2876
|
private _clear;
|
|
@@ -2893,6 +2912,38 @@ declare class IntegrationService implements OnDestroy {
|
|
|
2893
2912
|
static ɵprov: i0.ɵɵInjectableDeclaration<IntegrationService>;
|
|
2894
2913
|
}
|
|
2895
2914
|
|
|
2915
|
+
declare class ConfigurationPresetLoadService implements OnDestroy {
|
|
2916
|
+
private _homedecoratorConnectorService;
|
|
2917
|
+
private _settingsService;
|
|
2918
|
+
private _homedecoratorConnectorAdapterService;
|
|
2919
|
+
private _messageService;
|
|
2920
|
+
private _homedecoratorEventService;
|
|
2921
|
+
set sku(value: string);
|
|
2922
|
+
get sku(): string;
|
|
2923
|
+
set instanceId(value: string);
|
|
2924
|
+
get instanceId(): string;
|
|
2925
|
+
set externalSourceId(value: number);
|
|
2926
|
+
get externalSourceId(): number;
|
|
2927
|
+
set showConfigurationLoad(value: boolean);
|
|
2928
|
+
get showConfigurationLoad(): boolean;
|
|
2929
|
+
article: Article;
|
|
2930
|
+
goodId: number;
|
|
2931
|
+
private _sku;
|
|
2932
|
+
private _instanceId;
|
|
2933
|
+
private _externalSourceId;
|
|
2934
|
+
private _showConfigurationLoad;
|
|
2935
|
+
private _subs;
|
|
2936
|
+
private _externalSourceOptions;
|
|
2937
|
+
constructor(_homedecoratorConnectorService: HomedecoratorConnectorService, _settingsService: HomedecoratorSettingsService, _homedecoratorConnectorAdapterService: HomedecoratorConnectorAdapterService, _messageService: MessageBusService, _homedecoratorEventService: HomedecoratorAppEventService);
|
|
2938
|
+
ngOnDestroy(): void;
|
|
2939
|
+
LoadPreset(): Promise<void>;
|
|
2940
|
+
loadArticleDataForPreset(): Promise<void>;
|
|
2941
|
+
reset(): void;
|
|
2942
|
+
private _updateMode;
|
|
2943
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurationPresetLoadService, never>;
|
|
2944
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConfigurationPresetLoadService>;
|
|
2945
|
+
}
|
|
2946
|
+
|
|
2896
2947
|
declare class HomedecoratorComponent implements OnInit, OnDestroy {
|
|
2897
2948
|
appService: HomedecoratorAppService;
|
|
2898
2949
|
controllerService: HomedecoratorConnectorService;
|
|
@@ -2908,6 +2959,7 @@ declare class HomedecoratorComponent implements OnInit, OnDestroy {
|
|
|
2908
2959
|
private _integrationService;
|
|
2909
2960
|
private _sceneService;
|
|
2910
2961
|
private _webWorkerService;
|
|
2962
|
+
private _configurationPresetLoadService;
|
|
2911
2963
|
generalFilterOrders: FilterOrder[];
|
|
2912
2964
|
purchaseFilterOrders: FilterOrder[];
|
|
2913
2965
|
logisticsFilterOrders: FilterOrder[];
|
|
@@ -2915,6 +2967,7 @@ declare class HomedecoratorComponent implements OnInit, OnDestroy {
|
|
|
2915
2967
|
get initCommunication(): boolean;
|
|
2916
2968
|
projectToLoad: string;
|
|
2917
2969
|
shareButton: boolean;
|
|
2970
|
+
loadWithConfigurationPreset: any;
|
|
2918
2971
|
set settings(value: any);
|
|
2919
2972
|
get settings(): any;
|
|
2920
2973
|
showClass: boolean;
|
|
@@ -2929,19 +2982,20 @@ declare class HomedecoratorComponent implements OnInit, OnDestroy {
|
|
|
2929
2982
|
private _settings;
|
|
2930
2983
|
private _eventService;
|
|
2931
2984
|
constructor(appService: HomedecoratorAppService, // don't remove this, needs to be created on a high level
|
|
2932
|
-
controllerService: HomedecoratorConnectorService, appState: AppStateService, presetsService: PresetsService, screenAnalysis: ScreenSizeAnalysisService, _iconRegistry: MatIconRegistry, _domSanitizer: DomSanitizer, _messageService: MessageBusService, _homedecoratorService: HomedecoratorService, _parentEventService: HomedecoratorAppEventService, _ownEventService: HomedecoratorAppEventService, _integrationService: IntegrationService, _sceneService: SceneService, _webWorkerService: WebWorkerService);
|
|
2985
|
+
controllerService: HomedecoratorConnectorService, appState: AppStateService, presetsService: PresetsService, screenAnalysis: ScreenSizeAnalysisService, _iconRegistry: MatIconRegistry, _domSanitizer: DomSanitizer, _messageService: MessageBusService, _homedecoratorService: HomedecoratorService, _parentEventService: HomedecoratorAppEventService, _ownEventService: HomedecoratorAppEventService, _integrationService: IntegrationService, _sceneService: SceneService, _webWorkerService: WebWorkerService, _configurationPresetLoadService: ConfigurationPresetLoadService);
|
|
2933
2986
|
ngOnInit(): Promise<void>;
|
|
2934
2987
|
ngOnDestroy(): void;
|
|
2935
2988
|
registerCustomIcons(): void;
|
|
2936
2989
|
keyup(event: KeyboardEvent): void;
|
|
2937
|
-
handleExternalSave(): Promise<void>;
|
|
2990
|
+
handleExternalSave(code: string): Promise<void>;
|
|
2991
|
+
handleExternalOpen(): Promise<void>;
|
|
2938
2992
|
private _startWithRoom;
|
|
2939
2993
|
private _startWithEmptyRoom;
|
|
2940
2994
|
private _startWithPreset;
|
|
2941
2995
|
private _setCommunication;
|
|
2942
2996
|
private _initConnection;
|
|
2943
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HomedecoratorComponent, [null, null, null, null, null, null, null, null, null, { optional: true; skipSelf: true; }, { optional: true; self: true; }, null, null, null]>;
|
|
2944
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HomedecoratorComponent, "co-homedecorator", never, { "generalFilterOrders": { "alias": "generalFilterOrders"; "required": false; }; "purchaseFilterOrders": { "alias": "purchaseFilterOrders"; "required": false; }; "logisticsFilterOrders": { "alias": "logisticsFilterOrders"; "required": false; }; "initCommunication": { "alias": "initCommunication"; "required": false; }; "projectToLoad": { "alias": "projectToLoad"; "required": false; }; "shareButton": { "alias": "shareButton"; "required": false; }; "settings": { "alias": "settings"; "required": false; }; }, {}, never, never, false, never>;
|
|
2997
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HomedecoratorComponent, [null, null, null, null, null, null, null, null, null, { optional: true; skipSelf: true; }, { optional: true; self: true; }, null, null, null, null]>;
|
|
2998
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HomedecoratorComponent, "co-homedecorator", never, { "generalFilterOrders": { "alias": "generalFilterOrders"; "required": false; }; "purchaseFilterOrders": { "alias": "purchaseFilterOrders"; "required": false; }; "logisticsFilterOrders": { "alias": "logisticsFilterOrders"; "required": false; }; "initCommunication": { "alias": "initCommunication"; "required": false; }; "projectToLoad": { "alias": "projectToLoad"; "required": false; }; "shareButton": { "alias": "shareButton"; "required": false; }; "loadWithConfigurationPreset": { "alias": "loadWithConfigurationPreset"; "required": false; }; "settings": { "alias": "settings"; "required": false; }; }, {}, never, never, false, never>;
|
|
2945
2999
|
}
|
|
2946
3000
|
|
|
2947
3001
|
declare class ProgressBarComponent {
|
|
@@ -3304,6 +3358,12 @@ declare abstract class WallItem extends Item {
|
|
|
3304
3358
|
protected createOrUpdateDistances(): THREE.Object3D;
|
|
3305
3359
|
protected getObjectWithoutExcludedMeshes(): Object3D;
|
|
3306
3360
|
protected getHalfSizeWithoutScale(): Vector3;
|
|
3361
|
+
/**
|
|
3362
|
+
* Local z at which measurement labels/distance arrows are drawn so they sit just in front of the wall.
|
|
3363
|
+
* Surface-mounted items sit on the wall face, so a small offset suffices. In-wall items override this
|
|
3364
|
+
* (they are centred inside the wall, so the offset must clear half the wall thickness).
|
|
3365
|
+
*/
|
|
3366
|
+
protected _measurementZOffset(): number;
|
|
3307
3367
|
private _createHeightMeasurement;
|
|
3308
3368
|
private _createWidthMeasurement;
|
|
3309
3369
|
private _getMaskedGeometry;
|
|
@@ -3951,11 +4011,22 @@ declare class InWallItem extends WallItem {
|
|
|
3951
4011
|
private readonly _openCloseIndicatorColor;
|
|
3952
4012
|
private readonly _frameWidth;
|
|
3953
4013
|
private readonly _frameDepth;
|
|
4014
|
+
/** Extra depth added on top of the wall thickness so the dynamically built mask always pierces the wall. */
|
|
4015
|
+
private readonly _maskDepthMargin;
|
|
3954
4016
|
private _isWindow;
|
|
3955
4017
|
private _doorpost;
|
|
4018
|
+
/** Runtime-generated opening mask for custom doors/windows (custom items have no GLB `_mask` mesh). */
|
|
4019
|
+
private _customMaskGeometry;
|
|
3956
4020
|
get doorpost(): boolean;
|
|
3957
4021
|
constructor(metadata: Metadata, object: Object3D | Mesh, texture?: Texture);
|
|
3958
4022
|
dispose(): void;
|
|
4023
|
+
/**
|
|
4024
|
+
* Custom doors/windows are built at runtime and have no GLB `_mask` mesh, so the base lookup finds
|
|
4025
|
+
* nothing usable. Return the dynamically generated opening mask instead. Build it lazily here so any
|
|
4026
|
+
* instance (incl. clones that never ran createCustomMesh) yields a mask as soon as the wall asks for
|
|
4027
|
+
* one - otherwise the wall is left solid for that item.
|
|
4028
|
+
*/
|
|
4029
|
+
getMaskedGeometry(): BufferGeometry;
|
|
3959
4030
|
updateOpeningObject(): void;
|
|
3960
4031
|
removeOpeningObject(): void;
|
|
3961
4032
|
updateMeasurements(): void;
|
|
@@ -3984,6 +4055,13 @@ declare class InWallItem extends WallItem {
|
|
|
3984
4055
|
protected initiateItemObject(data: any): void;
|
|
3985
4056
|
private _setDefault;
|
|
3986
4057
|
private _createMaterials;
|
|
4058
|
+
/**
|
|
4059
|
+
* Builds the geometry used to subtract the opening from the wall. It spans the full width/height of
|
|
4060
|
+
* the custom item and is made deeper than the wall (plus a margin) so the CSG subtraction always
|
|
4061
|
+
* pierces the wall completely. base-wall positions it via the item's own position/quaternion, so the
|
|
4062
|
+
* box is centred on the item origin (the opening centre on the wall plane).
|
|
4063
|
+
*/
|
|
4064
|
+
private _updateCustomMaskGeometry;
|
|
3987
4065
|
private _getHeightFrame;
|
|
3988
4066
|
private _createFrameSide;
|
|
3989
4067
|
private _getAdditionalTexture;
|
|
@@ -3991,6 +4069,11 @@ declare class InWallItem extends WallItem {
|
|
|
3991
4069
|
private _makeOpeningDirectionObject;
|
|
3992
4070
|
private _makeSingleOpeningDirectionSymbol;
|
|
3993
4071
|
protected createMeasurements(): void;
|
|
4072
|
+
/**
|
|
4073
|
+
* In-wall items sit centred inside the wall (getWallOffset() === 0), so the labels/arrows must clear
|
|
4074
|
+
* half the wall thickness to end up in front of the wall face instead of buried inside it.
|
|
4075
|
+
*/
|
|
4076
|
+
protected _measurementZOffset(): number;
|
|
3994
4077
|
private _createDepthMeasurement;
|
|
3995
4078
|
private _calculateOpeningDepthPositions;
|
|
3996
4079
|
}
|
|
@@ -4794,6 +4877,13 @@ declare class SceneEventService implements OnDestroy {
|
|
|
4794
4877
|
setExploreMode(on?: boolean): void;
|
|
4795
4878
|
setSelectedObject(object: Item | ItemGroup, mesh?: Mesh): void;
|
|
4796
4879
|
startDragging(x: number, y: number, z?: number): void;
|
|
4880
|
+
/**
|
|
4881
|
+
* The wall whose front face the camera is looking at most directly. Used to pick a sensible target
|
|
4882
|
+
* wall when an item is added without a cursor (object library). A wall's front normal is its +Z axis
|
|
4883
|
+
* in world space; the wall most facing the camera maximises frontNormal · (cameraPos - wallPos), which
|
|
4884
|
+
* naturally excludes the transparent near wall (its front points away from the camera).
|
|
4885
|
+
*/
|
|
4886
|
+
private _wallMostFacingCamera;
|
|
4797
4887
|
intersectingVec3(vec2: Vector2, intersection?: Intersection): Vector3;
|
|
4798
4888
|
private _isRotating;
|
|
4799
4889
|
private _keyDownEvent;
|
|
@@ -6050,52 +6140,6 @@ declare enum RenderStatus {
|
|
|
6050
6140
|
IsWaiting = 4
|
|
6051
6141
|
}
|
|
6052
6142
|
|
|
6053
|
-
declare enum ConnectionStatus {
|
|
6054
|
-
IsUndefined = 0,
|
|
6055
|
-
IsConnected = 1,
|
|
6056
|
-
TryingToConnect = 2,
|
|
6057
|
-
IsDisConnected = 3
|
|
6058
|
-
}
|
|
6059
|
-
|
|
6060
|
-
declare class Lightning {
|
|
6061
|
-
id: number;
|
|
6062
|
-
name: string;
|
|
6063
|
-
settings: any;
|
|
6064
|
-
}
|
|
6065
|
-
|
|
6066
|
-
declare class ImageSize {
|
|
6067
|
-
id: number;
|
|
6068
|
-
name: string;
|
|
6069
|
-
width: number;
|
|
6070
|
-
height: number;
|
|
6071
|
-
}
|
|
6072
|
-
|
|
6073
|
-
declare class CameraPosition {
|
|
6074
|
-
id: number;
|
|
6075
|
-
name: string;
|
|
6076
|
-
position: number;
|
|
6077
|
-
type: string;
|
|
6078
|
-
angle: number;
|
|
6079
|
-
}
|
|
6080
|
-
|
|
6081
|
-
declare class Render {
|
|
6082
|
-
id: number;
|
|
6083
|
-
productHash: string;
|
|
6084
|
-
lightning: Lightning;
|
|
6085
|
-
imageSize: ImageSize;
|
|
6086
|
-
cameraPosition: CameraPosition;
|
|
6087
|
-
url: string;
|
|
6088
|
-
status: RenderStatus;
|
|
6089
|
-
progress: number;
|
|
6090
|
-
}
|
|
6091
|
-
|
|
6092
|
-
declare class RenderEnvironment {
|
|
6093
|
-
id: number;
|
|
6094
|
-
name: string;
|
|
6095
|
-
hdrFile: string;
|
|
6096
|
-
intensity: number;
|
|
6097
|
-
}
|
|
6098
|
-
|
|
6099
6143
|
declare class RenderQueueItem {
|
|
6100
6144
|
key: string;
|
|
6101
6145
|
host: string;
|
|
@@ -6110,25 +6154,6 @@ declare class RenderQueueItem {
|
|
|
6110
6154
|
params: any;
|
|
6111
6155
|
}
|
|
6112
6156
|
|
|
6113
|
-
declare class ExportObject {
|
|
6114
|
-
name: string;
|
|
6115
|
-
sku: string;
|
|
6116
|
-
defaultRenderPath: string;
|
|
6117
|
-
}
|
|
6118
|
-
|
|
6119
|
-
declare class ExportService {
|
|
6120
|
-
private _settingsService;
|
|
6121
|
-
private _ioneConnectorAdapter;
|
|
6122
|
-
private _threedSelectorService;
|
|
6123
|
-
private _link;
|
|
6124
|
-
private static GetSavingPath;
|
|
6125
|
-
private static GetMeshMainMaterialName;
|
|
6126
|
-
constructor(_settingsService: HomedecoratorSettingsService, _ioneConnectorAdapter: HomedecoratorConnectorAdapterService, _threedSelectorService: ThreedselectorService);
|
|
6127
|
-
getExportObjectFromCustomFloorGroup(cfg: Item): ExportObject;
|
|
6128
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ExportService, never>;
|
|
6129
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ExportService>;
|
|
6130
|
-
}
|
|
6131
|
-
|
|
6132
6157
|
declare enum ToastType {
|
|
6133
6158
|
Success = 0,
|
|
6134
6159
|
Warning = 1,
|
|
@@ -6149,90 +6174,6 @@ declare class ToastService {
|
|
|
6149
6174
|
static ɵprov: i0.ɵɵInjectableDeclaration<ToastService>;
|
|
6150
6175
|
}
|
|
6151
6176
|
|
|
6152
|
-
declare class RenderData {
|
|
6153
|
-
type: RenderModes;
|
|
6154
|
-
furniture?: any[];
|
|
6155
|
-
configuredItem?: ExportObject;
|
|
6156
|
-
imageWidth?: number;
|
|
6157
|
-
imageHeight?: number;
|
|
6158
|
-
cameraMatrix?: any;
|
|
6159
|
-
cameraFOV?: number;
|
|
6160
|
-
render?: Render;
|
|
6161
|
-
settings?: RenderSettings;
|
|
6162
|
-
}
|
|
6163
|
-
|
|
6164
|
-
declare class RenderService implements OnDestroy {
|
|
6165
|
-
private _settingsService;
|
|
6166
|
-
private _exportService;
|
|
6167
|
-
private _cameraService;
|
|
6168
|
-
private _sceneService;
|
|
6169
|
-
private _toastService;
|
|
6170
|
-
private _messageBusService;
|
|
6171
|
-
private _googleTagManager;
|
|
6172
|
-
private _roomService;
|
|
6173
|
-
private _floorService;
|
|
6174
|
-
readonly renderModes: typeof RenderModes;
|
|
6175
|
-
service: any;
|
|
6176
|
-
serverData: any;
|
|
6177
|
-
sceneData: any;
|
|
6178
|
-
prevItem: any;
|
|
6179
|
-
streaming: any;
|
|
6180
|
-
renderedRoomImages: string[];
|
|
6181
|
-
connectionStatus: ConnectionStatus;
|
|
6182
|
-
renders: Render[];
|
|
6183
|
-
cameraPositions: CameraPosition[];
|
|
6184
|
-
imageSizes: ImageSize[];
|
|
6185
|
-
lightnings: Lightning[];
|
|
6186
|
-
renderEnvironments: RenderEnvironment[];
|
|
6187
|
-
renderScenes: any;
|
|
6188
|
-
private _ceilingLightMargin;
|
|
6189
|
-
selectedImageSize: number;
|
|
6190
|
-
selectedEnvironment: number;
|
|
6191
|
-
selectedRenderScene: string;
|
|
6192
|
-
blendFilesRender: boolean;
|
|
6193
|
-
positions: number;
|
|
6194
|
-
save: boolean;
|
|
6195
|
-
renderRoomImageChanged: BehaviorSubject<string>;
|
|
6196
|
-
renderingStarted: Subject<void>;
|
|
6197
|
-
renderImageChanged: BehaviorSubject<string>;
|
|
6198
|
-
renderQueue: any[];
|
|
6199
|
-
currentQueueRenderItem: RenderQueueItem;
|
|
6200
|
-
currentProductHash: string;
|
|
6201
|
-
standAloneCameraMatrix: number[];
|
|
6202
|
-
private _subs;
|
|
6203
|
-
static MakeWindowMaterialTransparent(material: Material): Material;
|
|
6204
|
-
constructor(_settingsService: HomedecoratorSettingsService, _exportService: ExportService, _cameraService: CameraService, _sceneService: SceneService, _toastService: ToastService, _messageBusService: MessageBusService, _googleTagManager: GoogleTagManagerService, _roomService: RoomService, _floorService: FloorService);
|
|
6205
|
-
ngOnDestroy(): void;
|
|
6206
|
-
checkConnection(): Promise<void>;
|
|
6207
|
-
private _renderServiceHeartBeat;
|
|
6208
|
-
getRenderParameters(type: RenderModes): RenderData;
|
|
6209
|
-
private _fixLight;
|
|
6210
|
-
private _elementMustBeRemoved;
|
|
6211
|
-
private _exportToGlb;
|
|
6212
|
-
startRendering(): Promise<void>;
|
|
6213
|
-
private _colijnRenderScene;
|
|
6214
|
-
private _startRenderLoop;
|
|
6215
|
-
private _quitRenderLoop;
|
|
6216
|
-
private _startRenderStream;
|
|
6217
|
-
private _setRenderProgress;
|
|
6218
|
-
private _onRenderError;
|
|
6219
|
-
private _onRenderClose;
|
|
6220
|
-
private _afterRendering;
|
|
6221
|
-
private _getRenderServiceUrl;
|
|
6222
|
-
forceRenderImage(): void;
|
|
6223
|
-
private _checkVisibleUpdates;
|
|
6224
|
-
private _htmlImageDisplay;
|
|
6225
|
-
getRenderOnId(id: number): any;
|
|
6226
|
-
getImageSizeOnId(id: number): ImageSize;
|
|
6227
|
-
getRenderEnvironmentOnId(id: number): RenderEnvironment;
|
|
6228
|
-
getLightningOnId(id: number): any;
|
|
6229
|
-
/******************************************** Export functions ********************************************/
|
|
6230
|
-
private _getFirstCustomFloorItemFromScene;
|
|
6231
|
-
private _getConfiguredFurnitureItem;
|
|
6232
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RenderService, never>;
|
|
6233
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<RenderService>;
|
|
6234
|
-
}
|
|
6235
|
-
|
|
6236
6177
|
declare class BlenderRenderSettings {
|
|
6237
6178
|
height: number;
|
|
6238
6179
|
width: number;
|
|
@@ -6243,7 +6184,7 @@ declare class BlenderRenderSettings {
|
|
|
6243
6184
|
allowCulling: boolean;
|
|
6244
6185
|
}
|
|
6245
6186
|
|
|
6246
|
-
declare class
|
|
6187
|
+
declare class RenderService implements OnDestroy {
|
|
6247
6188
|
messageService: MessageBusService;
|
|
6248
6189
|
private _settingsService;
|
|
6249
6190
|
private _buildFurnitureService;
|
|
@@ -6280,6 +6221,7 @@ declare class NewRenderService implements OnDestroy {
|
|
|
6280
6221
|
renderedRoomImages: string[];
|
|
6281
6222
|
clientWidth: number;
|
|
6282
6223
|
clientHeight: number;
|
|
6224
|
+
blendFilesRender: boolean;
|
|
6283
6225
|
private _overWriteTransparency;
|
|
6284
6226
|
private _subs;
|
|
6285
6227
|
constructor(messageService: MessageBusService, _settingsService: HomedecoratorSettingsService, _buildFurnitureService: SwitchBuildFurnitureService, _cameraService: CameraService, _sceneService: SceneService, _ione: HomedecoratorConnectorService, _ioneConnectorAdapter: HomedecoratorConnectorAdapterService, _threedSelectorService: ThreedselectorService, _toastService: ToastService, _messageBusService: MessageBusService, _googleTagManager: GoogleTagManagerService, _roomService: RoomService, _floorService: FloorService, _wallService: WallService, _ceilingService: CeilingService, _loadFurnitureService: SwitchLoadFurnitureService, _utilsService: UtilsService, _presetService: PresetsService, _apiServiceModule: ApiServiceModule, _appEventService: HomedecoratorAppEventService, _dictionaryService: HomedecoratorDictionaryService);
|
|
@@ -6310,8 +6252,8 @@ declare class NewRenderService implements OnDestroy {
|
|
|
6310
6252
|
private _getRenderType;
|
|
6311
6253
|
private _useTransparency;
|
|
6312
6254
|
private _setForceTransparency;
|
|
6313
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
6314
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<
|
|
6255
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RenderService, never>;
|
|
6256
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<RenderService>;
|
|
6315
6257
|
}
|
|
6316
6258
|
|
|
6317
6259
|
declare class ConnectionHeathService {
|
|
@@ -6329,28 +6271,37 @@ declare class ConnectionHeathService {
|
|
|
6329
6271
|
static ɵprov: i0.ɵɵInjectableDeclaration<ConnectionHeathService>;
|
|
6330
6272
|
}
|
|
6331
6273
|
|
|
6332
|
-
declare class
|
|
6333
|
-
|
|
6274
|
+
declare class ImageSize {
|
|
6275
|
+
id: number;
|
|
6276
|
+
name: string;
|
|
6277
|
+
width: number;
|
|
6278
|
+
height: number;
|
|
6279
|
+
}
|
|
6280
|
+
|
|
6281
|
+
declare class RenderControlsComponent implements OnInit, OnDestroy {
|
|
6334
6282
|
messageService: MessageBusService;
|
|
6335
6283
|
viewModeService: ViewModeService;
|
|
6336
6284
|
settingsService: HomedecoratorSettingsService;
|
|
6337
6285
|
iconService: HomedecoratorIconCacheService;
|
|
6286
|
+
renderService: RenderService;
|
|
6338
6287
|
private _dialog;
|
|
6339
6288
|
private _sceneService;
|
|
6340
6289
|
private _cameraService;
|
|
6341
6290
|
private _configurationService;
|
|
6342
6291
|
private _settingsService;
|
|
6343
|
-
private _newRenderService;
|
|
6344
6292
|
private _utilsService;
|
|
6345
6293
|
private _roomService;
|
|
6346
6294
|
private _wallMeasurementsService;
|
|
6347
6295
|
private _connectionHealthService;
|
|
6348
6296
|
private _dictionaryService;
|
|
6297
|
+
private _dialogService;
|
|
6349
6298
|
readonly viewModes: typeof ViewMode;
|
|
6350
6299
|
readonly renderStatus: typeof RenderStatus;
|
|
6351
6300
|
readonly icons: typeof IconEnum;
|
|
6352
6301
|
readonly renderModes: typeof RenderModes;
|
|
6353
6302
|
renderButton: ElementRef;
|
|
6303
|
+
imageSizes: ImageSize[];
|
|
6304
|
+
selectedImageSize: ImageSize;
|
|
6354
6305
|
get disablePictureButton(): boolean;
|
|
6355
6306
|
blenderPreviewRender: string;
|
|
6356
6307
|
hdriIntensity: number;
|
|
@@ -6366,14 +6317,14 @@ declare class RenderControlsComponent implements OnInit {
|
|
|
6366
6317
|
showCullingErrorDialog: boolean;
|
|
6367
6318
|
startUploading: boolean;
|
|
6368
6319
|
private _subs;
|
|
6369
|
-
constructor(
|
|
6320
|
+
constructor(messageService: MessageBusService, viewModeService: ViewModeService, settingsService: HomedecoratorSettingsService, iconService: HomedecoratorIconCacheService, renderService: RenderService, _dialog: MatDialog, _sceneService: SceneService, _cameraService: CameraService, _configurationService: ConfigurationService, _settingsService: HomedecoratorSettingsService, _utilsService: UtilsService, _roomService: RoomService, _wallMeasurementsService: WallMeasurementsService, _connectionHealthService: ConnectionHeathService, _dictionaryService: HomedecoratorDictionaryService, _dialogService: DialogService);
|
|
6370
6321
|
ngOnInit(): void;
|
|
6322
|
+
ngOnDestroy(): void;
|
|
6371
6323
|
showRenderForm(event: MouseEvent): void;
|
|
6372
6324
|
hideUploadDialog(ready: boolean): void;
|
|
6373
|
-
createBlenderRender(): void;
|
|
6325
|
+
createBlenderRender(preview?: boolean): void;
|
|
6374
6326
|
resetBlenderRenderScene(): void;
|
|
6375
6327
|
moveCameraWithinBounds(): void;
|
|
6376
|
-
createPreviewRender(): void;
|
|
6377
6328
|
showPreview(image: string): void;
|
|
6378
6329
|
toggleRenderSettings(): void;
|
|
6379
6330
|
updateBlenderSceneSettings(event: any): void;
|
|
@@ -6387,19 +6338,15 @@ declare class RenderControlsComponent implements OnInit {
|
|
|
6387
6338
|
|
|
6388
6339
|
declare class RenderProgressComponent implements OnDestroy {
|
|
6389
6340
|
private _messageService;
|
|
6390
|
-
private _progressService;
|
|
6391
|
-
set show(show: boolean);
|
|
6392
|
-
get show(): boolean;
|
|
6393
6341
|
title: string;
|
|
6394
|
-
get progressValue(): string;
|
|
6395
6342
|
progress: number;
|
|
6343
|
+
rendering: boolean;
|
|
6396
6344
|
private _subs;
|
|
6397
|
-
|
|
6398
|
-
constructor(_messageService: MessageBusService, _progressService: ProgressService);
|
|
6345
|
+
constructor(_messageService: MessageBusService);
|
|
6399
6346
|
ngOnDestroy(): void;
|
|
6400
6347
|
updateProgress(progress: number): void;
|
|
6401
6348
|
static ɵfac: i0.ɵɵFactoryDeclaration<RenderProgressComponent, never>;
|
|
6402
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RenderProgressComponent, "rp-render-progress", never, {
|
|
6349
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RenderProgressComponent, "rp-render-progress", never, {}, {}, never, never, false, never>;
|
|
6403
6350
|
}
|
|
6404
6351
|
|
|
6405
6352
|
declare class RenderModule {
|
|
@@ -7826,6 +7773,21 @@ declare class SelectedObjectScaleComponent {
|
|
|
7826
7773
|
static ɵcmp: i0.ɵɵComponentDeclaration<SelectedObjectScaleComponent, "rp-selected-object-scale", never, { "object": { "alias": "object"; "required": false; }; }, { "objectChange": "objectChange"; }, never, never, false, never>;
|
|
7827
7774
|
}
|
|
7828
7775
|
|
|
7776
|
+
declare class ConfigurationPresetLoaderComponent implements OnInit {
|
|
7777
|
+
configurationPresetService: ConfigurationPresetLoadService;
|
|
7778
|
+
iconService: HomedecoratorIconCacheService;
|
|
7779
|
+
private _homedecoratorConnectorService;
|
|
7780
|
+
private _messageService;
|
|
7781
|
+
readonly icon: typeof IconEnum;
|
|
7782
|
+
showClass(): boolean;
|
|
7783
|
+
constructor(configurationPresetService: ConfigurationPresetLoadService, iconService: HomedecoratorIconCacheService, _homedecoratorConnectorService: HomedecoratorConnectorService, _messageService: MessageBusService);
|
|
7784
|
+
ngOnInit(): void;
|
|
7785
|
+
handleCloseClick(): void;
|
|
7786
|
+
handleLoadPreset(): void;
|
|
7787
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigurationPresetLoaderComponent, never>;
|
|
7788
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConfigurationPresetLoaderComponent, "co-configurator-preset-loader", never, {}, {}, never, never, false, never>;
|
|
7789
|
+
}
|
|
7790
|
+
|
|
7829
7791
|
declare class CategoryLibraryComponent {
|
|
7830
7792
|
categories: Category[];
|
|
7831
7793
|
categoryClick: EventEmitter<Category>;
|
|
@@ -8204,7 +8166,7 @@ declare class UploadModelDialogModule {
|
|
|
8204
8166
|
|
|
8205
8167
|
declare class RoomPlannerModule {
|
|
8206
8168
|
static ɵfac: i0.ɵɵFactoryDeclaration<RoomPlannerModule, never>;
|
|
8207
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<RoomPlannerModule, [typeof ColorPickerComponent, typeof EditApplyComponent, typeof ObjectLibraryComponent, typeof RoomPlannerComponent, typeof FloorplannerComponent, typeof SelectedFloorComponent, typeof SelectedObjectComponent, typeof SelectedThreedObjectComponent, typeof SelectedWallComponent, typeof SettingsComponent, typeof SettingsOptionsComponent, typeof TexturePickerComponent, typeof TextureEditorComponent, typeof EditParameterComponent, typeof RalColorPickerComponent, typeof DimensionInputComponent, typeof FileDropComponent, typeof AppearanceSectionComponent, typeof FloorCatalogComponent, typeof CustomShapeCreatorComponent, typeof WallLengthInputComponent, typeof CustomCylinderCreatorComponent, typeof SelectedObjectScaleComponent], [typeof CoreModule, typeof CategoryLibraryModule, typeof i3.CommonModule, typeof ContextMenuModule, typeof i4.MatButtonModule, typeof i8.MatButtonToggleModule, typeof i10$1.MatCardModule, typeof i19.MatCheckboxModule, typeof i4$2.MatFormFieldModule, typeof i5$1.MatInputModule, typeof i9.MatSidenavModule, typeof i11.MatSliderModule, typeof i12.MatSlideToggleModule, typeof i13.MatGridListModule, typeof i7.MatIconModule, typeof i15.MatTabsModule, typeof i10.MatSelectModule, typeof
|
|
8169
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<RoomPlannerModule, [typeof ColorPickerComponent, typeof EditApplyComponent, typeof ObjectLibraryComponent, typeof RoomPlannerComponent, typeof FloorplannerComponent, typeof SelectedFloorComponent, typeof SelectedObjectComponent, typeof SelectedThreedObjectComponent, typeof SelectedWallComponent, typeof SettingsComponent, typeof SettingsOptionsComponent, typeof TexturePickerComponent, typeof TextureEditorComponent, typeof EditParameterComponent, typeof RalColorPickerComponent, typeof DimensionInputComponent, typeof FileDropComponent, typeof AppearanceSectionComponent, typeof FloorCatalogComponent, typeof CustomShapeCreatorComponent, typeof WallLengthInputComponent, typeof CustomCylinderCreatorComponent, typeof SelectedObjectScaleComponent, typeof ConfigurationPresetLoaderComponent], [typeof CoreModule, typeof CategoryLibraryModule, typeof i3.CommonModule, typeof ContextMenuModule, typeof i4.MatButtonModule, typeof i8.MatButtonToggleModule, typeof i10$1.MatCardModule, typeof i19.MatCheckboxModule, typeof i4$2.MatFormFieldModule, typeof i5$1.MatInputModule, typeof i9.MatSidenavModule, typeof i11.MatSliderModule, typeof i12.MatSlideToggleModule, typeof i13.MatGridListModule, typeof i7.MatIconModule, typeof i15.MatTabsModule, typeof i10.MatSelectModule, typeof i42.MatDividerModule, typeof i20.MatTooltipModule, typeof i44.MatSnackBarModule, typeof i6$1.FormsModule, typeof InfoDialogModule, typeof Core3dModule, typeof ToolbarIconModule, typeof ZoomControlsModule, typeof RenderModule, typeof SliderInputModule, typeof i7$1.FlexLayoutModule, typeof i6.IconModule, typeof i6.ButtonModule, typeof ButtonElevationModule, typeof ExportPdfModule, typeof MaterialDialogModule, typeof RgbColorPickerModule, typeof UploadModelDialogModule], [typeof RoomPlannerComponent]>;
|
|
8208
8170
|
static ɵinj: i0.ɵɵInjectorDeclaration<RoomPlannerModule>;
|
|
8209
8171
|
}
|
|
8210
8172
|
|
|
@@ -8381,6 +8343,8 @@ declare class ThreedselectorComponent implements OnInit, OnDestroy {
|
|
|
8381
8343
|
private _lightPresetService;
|
|
8382
8344
|
private _variationService;
|
|
8383
8345
|
private _configuringService;
|
|
8346
|
+
private _configuratorEventService;
|
|
8347
|
+
private _changeDetector;
|
|
8384
8348
|
readonly iconName: typeof IconName;
|
|
8385
8349
|
toolbarIconModels: TemplateRef<any>;
|
|
8386
8350
|
selectedThreedObjectCustomizationSidebar: TemplateRef<any>;
|
|
@@ -8416,6 +8380,10 @@ declare class ThreedselectorComponent implements OnInit, OnDestroy {
|
|
|
8416
8380
|
showProgressText: boolean;
|
|
8417
8381
|
showLoaderBar: boolean;
|
|
8418
8382
|
showFullConfiguration: boolean;
|
|
8383
|
+
configuratorSettings: any;
|
|
8384
|
+
configuratorSku: string;
|
|
8385
|
+
configuratorInstanceId: string;
|
|
8386
|
+
firstBuild: boolean;
|
|
8419
8387
|
private _loadConfigurator;
|
|
8420
8388
|
private _floorTexturesLoadedSub;
|
|
8421
8389
|
private _selectedElementObject;
|
|
@@ -8425,13 +8393,12 @@ declare class ThreedselectorComponent implements OnInit, OnDestroy {
|
|
|
8425
8393
|
private _standaloneFloors;
|
|
8426
8394
|
private _subs;
|
|
8427
8395
|
private _loadingFromPreset;
|
|
8428
|
-
private _callBackFnWhenBuildFinished;
|
|
8429
8396
|
private _startPosition;
|
|
8430
8397
|
private _externalSourceData;
|
|
8431
8398
|
private _loadedFromPreset;
|
|
8432
8399
|
private _loadedFromProject;
|
|
8433
8400
|
private _loadedShouldCopyInstance;
|
|
8434
|
-
constructor(screenSizeService: ScreenSizeAnalysisService, _dialog: MatDialog, _appService: HomedecoratorAppService, _iOne: HomedecoratorConnectorService, _messageBus: MessageBusService, _loadFurnitureService: SwitchLoadFurnitureService, _buildFurnitureService: SwitchBuildFurnitureService, _toastService: ToastService, _messageService: MessageBusService, _sceneService: SceneService, _dialogService: DialogService, _cameraService: CameraService, _presetsService: PresetsService, _itemService: ItemService, _settingsService: HomedecoratorSettingsService, _appEventService: HomedecoratorAppEventService, _bluePrintService: BluePrintService, _wallService: WallService, _floorService: FloorService, _iconCacheService: HomedecoratorIconCacheService, _googleTagManager: GoogleTagManagerService, _appStateService: AppStateService, _progressService: ProgressService, _resizeService: ResizeService, _connectorAdapterService: HomedecoratorConnectorAdapterService, _lightPresetService: LightPresetsService, _variationService: VariationService, _configuringService: ConfiguringService);
|
|
8401
|
+
constructor(screenSizeService: ScreenSizeAnalysisService, _dialog: MatDialog, _appService: HomedecoratorAppService, _iOne: HomedecoratorConnectorService, _messageBus: MessageBusService, _loadFurnitureService: SwitchLoadFurnitureService, _buildFurnitureService: SwitchBuildFurnitureService, _toastService: ToastService, _messageService: MessageBusService, _sceneService: SceneService, _dialogService: DialogService, _cameraService: CameraService, _presetsService: PresetsService, _itemService: ItemService, _settingsService: HomedecoratorSettingsService, _appEventService: HomedecoratorAppEventService, _bluePrintService: BluePrintService, _wallService: WallService, _floorService: FloorService, _iconCacheService: HomedecoratorIconCacheService, _googleTagManager: GoogleTagManagerService, _appStateService: AppStateService, _progressService: ProgressService, _resizeService: ResizeService, _connectorAdapterService: HomedecoratorConnectorAdapterService, _lightPresetService: LightPresetsService, _variationService: VariationService, _configuringService: ConfiguringService, _configuratorEventService: ConfiguratorEventService, _changeDetector: ChangeDetectorRef);
|
|
8435
8402
|
ngOnInit(): void;
|
|
8436
8403
|
ngOnDestroy(): void;
|
|
8437
8404
|
copySceneInstance(saveAs: boolean): Promise<void>;
|
|
@@ -8454,6 +8421,12 @@ declare class ThreedselectorComponent implements OnInit, OnDestroy {
|
|
|
8454
8421
|
showConfiguratorChange(show: boolean): void;
|
|
8455
8422
|
loadFurnitureFromSku(position: Vector3, sku: string, settings?: HomedecoratorExternalSettingsInterface): Promise<CustomFloorGroupResult>;
|
|
8456
8423
|
configureFurniture(object: Item | ItemGroup): Promise<void>;
|
|
8424
|
+
handleLoadIOneFurnitureIntoSceneByPreset(sku: string, instanceId: string, settings: Options): Promise<void>;
|
|
8425
|
+
configureFurnitureFromPreset(sku: string, instanceId: string, settings?: Options): Promise<CustomFloorGroupResult>;
|
|
8426
|
+
private _initConfigurator;
|
|
8427
|
+
private _prepareSettings;
|
|
8428
|
+
private _resetConfigurator;
|
|
8429
|
+
private _waitForBuildToFinish;
|
|
8457
8430
|
private _setSourceSettings;
|
|
8458
8431
|
private _closeConfigurator;
|
|
8459
8432
|
private _clearItems;
|
|
@@ -8893,7 +8866,8 @@ declare class ToolbarComponent implements OnInit, OnDestroy, AfterViewInit {
|
|
|
8893
8866
|
private _connectionHealthService;
|
|
8894
8867
|
private _homedecoratorEventService;
|
|
8895
8868
|
shareButton: boolean;
|
|
8896
|
-
externalSave: EventEmitter<
|
|
8869
|
+
externalSave: EventEmitter<string>;
|
|
8870
|
+
externalOpen: EventEmitter<void>;
|
|
8897
8871
|
readonly toastType: typeof ToastType;
|
|
8898
8872
|
readonly messageType: typeof MessageType;
|
|
8899
8873
|
readonly icons: typeof IconEnum;
|
|
@@ -8911,14 +8885,16 @@ declare class ToolbarComponent implements OnInit, OnDestroy, AfterViewInit {
|
|
|
8911
8885
|
interval: any;
|
|
8912
8886
|
tooltipDisabled: boolean;
|
|
8913
8887
|
badgeDisabled: boolean;
|
|
8914
|
-
|
|
8888
|
+
useExternalSave: boolean;
|
|
8889
|
+
useExternalOpen: boolean;
|
|
8890
|
+
shadowSaveToCloud: boolean;
|
|
8915
8891
|
enableSlowConnectionWarning: boolean;
|
|
8916
8892
|
connectionStatus: string;
|
|
8917
8893
|
private _subs;
|
|
8918
8894
|
leftSidebar: MatDrawer;
|
|
8919
8895
|
handleKeyDown(event: KeyboardEvent): void;
|
|
8920
8896
|
get fullscreen(): boolean;
|
|
8921
|
-
constructor(appState: AppStateService, presetsService: PresetsService, messageService: MessageBusService, settingsService: HomedecoratorSettingsService, storageService: LocalStorageService, iconService: HomedecoratorIconCacheService, _screenSizeService: ScreenSizeAnalysisService, _dialog: MatDialog, _toastService: ToastService, _appService: HomedecoratorAppService, _permanentStoreService: PermanentStoreService, _utilsService: UtilsService, _itemService: ItemService, _floorService: FloorService, _animationService: AnimationService, _developmentService: DevelopmentService, _newRenderService:
|
|
8897
|
+
constructor(appState: AppStateService, presetsService: PresetsService, messageService: MessageBusService, settingsService: HomedecoratorSettingsService, storageService: LocalStorageService, iconService: HomedecoratorIconCacheService, _screenSizeService: ScreenSizeAnalysisService, _dialog: MatDialog, _toastService: ToastService, _appService: HomedecoratorAppService, _permanentStoreService: PermanentStoreService, _utilsService: UtilsService, _itemService: ItemService, _floorService: FloorService, _animationService: AnimationService, _developmentService: DevelopmentService, _newRenderService: RenderService, _thirdPartyModelService: ThirdPartyModelService, _lightPresetService: LightPresetsService, _adapterService: HomedecoratorConnectorAdapterService, _connectionHealthService: ConnectionHeathService, _homedecoratorEventService: HomedecoratorAppEventService);
|
|
8922
8898
|
ngOnInit(): void;
|
|
8923
8899
|
ngOnDestroy(): void;
|
|
8924
8900
|
ngAfterViewInit(): void;
|
|
@@ -8926,8 +8902,9 @@ declare class ToolbarComponent implements OnInit, OnDestroy, AfterViewInit {
|
|
|
8926
8902
|
clickCloseLeftSidebar(): void;
|
|
8927
8903
|
newRoom(): void;
|
|
8928
8904
|
animateModel(element: Item): void;
|
|
8929
|
-
|
|
8930
|
-
|
|
8905
|
+
handleSave(saveOnOpen?: boolean): void;
|
|
8906
|
+
handleExternalSave(): Promise<void>;
|
|
8907
|
+
openSaveDialog(saveOnOpen?: boolean): Promise<void>;
|
|
8931
8908
|
openOpenDialog(): void;
|
|
8932
8909
|
openShareDialog(): void;
|
|
8933
8910
|
handleSearchButtonClick(): void;
|
|
@@ -8956,7 +8933,7 @@ declare class ToolbarComponent implements OnInit, OnDestroy, AfterViewInit {
|
|
|
8956
8933
|
private _registerToolbarIcon;
|
|
8957
8934
|
private _closeLeftSidebar;
|
|
8958
8935
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarComponent, never>;
|
|
8959
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ToolbarComponent, "rp-toolbar", never, { "shareButton": { "alias": "shareButton"; "required": false; }; }, { "externalSave": "externalSave"; }, never, never, false, never>;
|
|
8936
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToolbarComponent, "rp-toolbar", never, { "shareButton": { "alias": "shareButton"; "required": false; }; }, { "externalSave": "externalSave"; "externalOpen": "externalOpen"; }, never, never, false, never>;
|
|
8960
8937
|
}
|
|
8961
8938
|
|
|
8962
8939
|
interface SavedDialogData {
|
|
@@ -9263,7 +9240,7 @@ declare class ThreedInPhotoModule {
|
|
|
9263
9240
|
|
|
9264
9241
|
declare class ToolbarModule {
|
|
9265
9242
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarModule, never>;
|
|
9266
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ToolbarModule, [typeof SaveDialogComponent, typeof OpenDialogComponent, typeof DrawDialogComponent, typeof PdfCropDialogComponent, typeof ToolbarComponent, typeof SavedDialogComponent, typeof DownloadDialogComponent, typeof LoadFromCloudDialogComponent, typeof LandingScreenModalComponent, typeof LimitedModeMessageComponent, typeof RegisterDialogComponent, typeof EditPresetDialogComponent], [typeof CoreModule, typeof i3.CommonModule, typeof ErrorDialogModule, typeof ModelDialogModule, typeof i6$1.FormsModule, typeof i6$1.ReactiveFormsModule, typeof i18.MatToolbarModule, typeof i7.MatIconModule, typeof i4.MatButtonModule, typeof i20.MatTooltipModule, typeof i9.MatSidenavModule, typeof i5.MatListModule, typeof i4$1.MatDialogModule, typeof i8.MatButtonToggleModule, typeof
|
|
9243
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ToolbarModule, [typeof SaveDialogComponent, typeof OpenDialogComponent, typeof DrawDialogComponent, typeof PdfCropDialogComponent, typeof ToolbarComponent, typeof SavedDialogComponent, typeof DownloadDialogComponent, typeof LoadFromCloudDialogComponent, typeof LandingScreenModalComponent, typeof LimitedModeMessageComponent, typeof RegisterDialogComponent, typeof EditPresetDialogComponent], [typeof CoreModule, typeof i3.CommonModule, typeof ErrorDialogModule, typeof ModelDialogModule, typeof i6$1.FormsModule, typeof i6$1.ReactiveFormsModule, typeof i18.MatToolbarModule, typeof i7.MatIconModule, typeof i4.MatButtonModule, typeof i20.MatTooltipModule, typeof i9.MatSidenavModule, typeof i5.MatListModule, typeof i4$1.MatDialogModule, typeof i8.MatButtonToggleModule, typeof i44.MatSnackBarModule, typeof i5$1.MatInputModule, typeof i4$2.MatFormFieldModule, typeof i10$1.MatCardModule, typeof i13.MatGridListModule, typeof i31$1.MatMenuModule, typeof i7$1.FlexLayoutModule, typeof i33.PortalModule, typeof ToolbarIconModule, typeof i6.InputTextModule, typeof i6.IconModule, typeof i36.MatBadgeModule, typeof ThreedInPhotoModule, typeof i38.PdfViewerModule, typeof ExportPdfModule], [typeof ToolbarComponent]>;
|
|
9267
9244
|
static ɵinj: i0.ɵɵInjectorDeclaration<ToolbarModule>;
|
|
9268
9245
|
}
|
|
9269
9246
|
|