@colijnit/homedecorator 262.1.0 → 262.1.2
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/toolbar/toolbar/toolbar.component.scss +12 -0
- package/app/{plugins/model-uploader → shared/upload-model-dialog/components}/model-previewer/model-preview.component.scss +7 -1
- package/app/shared/upload-model-dialog/upload-model-dialog.component.scss +57 -0
- package/assets/icons/arrow_down_to_bracket_sharp_regular_full.svg +1 -0
- package/fesm2022/colijnit-homedecorator.mjs +10732 -10365
- package/fesm2022/colijnit-homedecorator.mjs.map +1 -1
- package/index.d.ts +297 -244
- package/package.json +2 -2
- package/style/_variables.scss +4 -0
- package/style/homedecorator-globals.scss +2 -2
- package/style/material.scss +8 -6
- package/style/styles.scss +43 -3
- package/app/core/components/tooltip/tooltip.component.scss +0 -34
- /package/app/{plugins/model-uploader → shared/upload-model-dialog/components}/model-uploader/model-upload.component.scss +0 -0
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { OnDestroy, OnInit, TemplateRef, ChangeDetectorRef,
|
|
2
|
+
import { OnDestroy, OnInit, TemplateRef, ChangeDetectorRef, PipeTransform, ElementRef, AfterViewInit, EventEmitter, OnChanges, SimpleChanges, Injector } from '@angular/core';
|
|
3
3
|
import * as i7 from '@angular/material/icon';
|
|
4
4
|
import { MatIconRegistry } from '@angular/material/icon';
|
|
5
5
|
import { SafeHtml, EventManager, DomSanitizer, SafeResourceUrl } from '@angular/platform-browser';
|
|
@@ -36,7 +36,7 @@ import { ExternalSourceArticleAddInterface } from '@colijnit/articleapi/build/in
|
|
|
36
36
|
import { CoDomainValue } from '@colijnit/mainapi/build/model/co-domain-value.bo';
|
|
37
37
|
import { ObjectConfiguration } from '@colijnit/ioneconnector/build/model/object-configuration';
|
|
38
38
|
import { SelectorStructure } from '@colijnit/configuratorapi/build/model/selector-structure.bo';
|
|
39
|
-
import * as
|
|
39
|
+
import * as i7$2 from '@colijnit/catalog';
|
|
40
40
|
import { CatalogExternalSourcesService, FilterOrder, CatalogService, ExternalSourceViewmodel } from '@colijnit/catalog';
|
|
41
41
|
import { Font } from 'three/examples/jsm/loaders/FontLoader.js';
|
|
42
42
|
import { HttpClient } from '@angular/common/http';
|
|
@@ -53,11 +53,11 @@ import * as i4$1 from '@angular/material/dialog';
|
|
|
53
53
|
import { MatDialog, MatDialogRef, MatDialogConfig } from '@angular/material/dialog';
|
|
54
54
|
import * as i3 from '@angular/common';
|
|
55
55
|
import * as i4 from '@angular/material/button';
|
|
56
|
-
import * as
|
|
57
|
-
import * as
|
|
56
|
+
import * as i20 from '@angular/material/tooltip';
|
|
57
|
+
import * as i6 from '@colijnit/corecomponents_v12';
|
|
58
58
|
import * as i5 from '@angular/material/list';
|
|
59
59
|
import * as i19 from '@angular/material/checkbox';
|
|
60
|
-
import * as i6 from '@angular/forms';
|
|
60
|
+
import * as i6$1 from '@angular/forms';
|
|
61
61
|
import { BufferGeometry as BufferGeometry$1 } from 'three/src/core/BufferGeometry';
|
|
62
62
|
import { ColorRepresentation } from 'three/src/math/Color';
|
|
63
63
|
import { Brush } from 'three-bvh-csg';
|
|
@@ -74,10 +74,12 @@ import * as i13 from '@angular/material/grid-list';
|
|
|
74
74
|
import * as i13$1 from '@angular/material/progress-spinner';
|
|
75
75
|
import * as i29 from '@angular/material/progress-bar';
|
|
76
76
|
import * as i4$2 from '@angular/material/form-field';
|
|
77
|
-
import * as i7$
|
|
77
|
+
import * as i7$1 from '@angular/flex-layout';
|
|
78
78
|
import * as i31 from '@angular/material/core';
|
|
79
|
-
import * as i8
|
|
79
|
+
import * as i8 from '@angular/material/button-toggle';
|
|
80
80
|
import { MatButtonToggleChange } from '@angular/material/button-toggle';
|
|
81
|
+
import * as i11$1 from '@colijnit/modelcreation';
|
|
82
|
+
import { ModelCreationService } from '@colijnit/modelcreation';
|
|
81
83
|
import * as i43 from '@angular/material/snack-bar';
|
|
82
84
|
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
83
85
|
import * as i10$1 from '@angular/material/card';
|
|
@@ -87,17 +89,16 @@ import * as i15 from '@angular/material/tabs';
|
|
|
87
89
|
import * as i41 from '@angular/material/divider';
|
|
88
90
|
import * as i13$2 from '@angular/cdk/drag-drop';
|
|
89
91
|
import * as i2$1 from 'ngx-color/chrome';
|
|
92
|
+
import { OrbitControls } from 'three/examples/jsm/controls/OrbitControls.js';
|
|
90
93
|
import { ActivatedRoute } from '@angular/router';
|
|
91
94
|
import * as i25 from '@colijnit/configurator';
|
|
92
|
-
import { ConfiguringService, ConfigurationResultObject, ConfiguratorErrorMessage } from '@colijnit/configurator';
|
|
95
|
+
import { ConfiguringService, ConfiguratorEventService, ConfigurationResultObject, ConfiguratorErrorMessage } from '@colijnit/configurator';
|
|
93
96
|
import * as i38 from 'ng2-pdf-viewer';
|
|
94
97
|
import { PdfViewerComponent } from 'ng2-pdf-viewer';
|
|
95
98
|
import * as i18 from '@angular/material/toolbar';
|
|
96
99
|
import * as i31$1 from '@angular/material/menu';
|
|
97
100
|
import * as i36 from '@angular/material/badge';
|
|
98
101
|
import { ExternalSourceArticleClickInterface } from '@colijnit/articleapi/build/interface/external-source-article-click.interface';
|
|
99
|
-
import { OrbitControls } from 'three/examples/jsm/controls/OrbitControls.js';
|
|
100
|
-
import * as i9$1 from '@angular/material/radio';
|
|
101
102
|
import * as i10$2 from '@angular/cdk/a11y';
|
|
102
103
|
|
|
103
104
|
declare enum MessageType {
|
|
@@ -316,6 +317,9 @@ interface HomedecoratorExternalSettingsInterface {
|
|
|
316
317
|
catalogDefinition: CatalogDefinition;
|
|
317
318
|
externalSourceId: number;
|
|
318
319
|
schema: string;
|
|
320
|
+
mainUrl?: string;
|
|
321
|
+
mainSchema?: string;
|
|
322
|
+
mainVersion?: string;
|
|
319
323
|
}
|
|
320
324
|
|
|
321
325
|
declare class ViewModeService {
|
|
@@ -460,6 +464,8 @@ declare class HomedecoratorSettingsOptions {
|
|
|
460
464
|
showDownloadButton: boolean;
|
|
461
465
|
showOnlyHomeDecoFilter: boolean;
|
|
462
466
|
showMeasurementsButton: boolean;
|
|
467
|
+
showImageUploadButton: boolean;
|
|
468
|
+
showVideoUploadButton: boolean;
|
|
463
469
|
cameraPositionFixed: boolean;
|
|
464
470
|
cameraPositionFixedAndScrollbar: boolean;
|
|
465
471
|
handleParametric: boolean;
|
|
@@ -496,7 +502,9 @@ declare class HomedecoratorSettingsOptions {
|
|
|
496
502
|
useAnimations: boolean;
|
|
497
503
|
useThreedScene: boolean;
|
|
498
504
|
showSlowConnectionWarning: boolean;
|
|
499
|
-
|
|
505
|
+
useExternalSave: boolean;
|
|
506
|
+
useExternalOpen: boolean;
|
|
507
|
+
shadowSaveToCloud: boolean;
|
|
500
508
|
floorFadeStart: number;
|
|
501
509
|
floorFadeEnd: number;
|
|
502
510
|
}
|
|
@@ -678,6 +686,7 @@ declare class FloorPlaneItem extends Item {
|
|
|
678
686
|
interface ExternalSave {
|
|
679
687
|
screenShot: string;
|
|
680
688
|
project: string;
|
|
689
|
+
code: string;
|
|
681
690
|
}
|
|
682
691
|
|
|
683
692
|
declare class HomedecoratorAppEventService {
|
|
@@ -700,8 +709,10 @@ declare class HomedecoratorAppEventService {
|
|
|
700
709
|
glbCreated: Subject<string>;
|
|
701
710
|
dirty: Subject<boolean>;
|
|
702
711
|
floorCreated: BehaviorSubject<FloorPlaneItem>;
|
|
703
|
-
externalSave:
|
|
712
|
+
externalSave: Subject<ExternalSave>;
|
|
713
|
+
externalOpen: Subject<void>;
|
|
704
714
|
searchClick: Subject<void>;
|
|
715
|
+
shareProject: Subject<void>;
|
|
705
716
|
static ɵfac: i0.ɵɵFactoryDeclaration<HomedecoratorAppEventService, never>;
|
|
706
717
|
static ɵprov: i0.ɵɵInjectableDeclaration<HomedecoratorAppEventService>;
|
|
707
718
|
}
|
|
@@ -778,7 +789,8 @@ declare class HomedecoratorConnectorAdapterService implements OnDestroy {
|
|
|
778
789
|
getInternalParameter(parameter: InternalParam): Promise<string>;
|
|
779
790
|
googleTranslateEnabled(): Promise<boolean>;
|
|
780
791
|
getDefaultLanguage(upId: number): Promise<string>;
|
|
781
|
-
|
|
792
|
+
getPublicParams(url: string, upId: number): Promise<any>;
|
|
793
|
+
store3DModelCDN(filename: string, fileContents: string): Promise<number>;
|
|
782
794
|
getCatalogDefinitionsList(): Promise<CatalogDefinition[]>;
|
|
783
795
|
getExternalSource(externalSourceId: number): Promise<ExternalSource>;
|
|
784
796
|
getArticleFullObject(goodId: number): Promise<ArticleFullObject>;
|
|
@@ -790,7 +802,9 @@ declare class HomedecoratorConnectorAdapterService implements OnDestroy {
|
|
|
790
802
|
saveExternalSources(): void;
|
|
791
803
|
resetExternalSources(): void;
|
|
792
804
|
prepareExternalSources(): Promise<void>;
|
|
805
|
+
getCatalogDefinition(id: number): CatalogDefinition;
|
|
793
806
|
getArticleExtended(articleNumber: string): Promise<ArticleExtended>;
|
|
807
|
+
getDocumentContent(docId: number, thumbNail?: boolean): Promise<string>;
|
|
794
808
|
getGoogleTranslation(sourceLang: string, targetLang: string, list: string[]): Promise<string>;
|
|
795
809
|
private _getPublicationCodeForRole;
|
|
796
810
|
static ɵfac: i0.ɵɵFactoryDeclaration<HomedecoratorConnectorAdapterService, never>;
|
|
@@ -1498,6 +1512,8 @@ declare class ThreedModel {
|
|
|
1498
1512
|
scalePercentage?: number;
|
|
1499
1513
|
onWall?: boolean;
|
|
1500
1514
|
isGlass?: boolean;
|
|
1515
|
+
thirdPartyModel?: boolean;
|
|
1516
|
+
docId?: number;
|
|
1501
1517
|
static CreateModelFromInterface(modelInterface: ModelInterface): ThreedModel;
|
|
1502
1518
|
}
|
|
1503
1519
|
|
|
@@ -2017,6 +2033,7 @@ interface Metadata {
|
|
|
2017
2033
|
obsolete?: boolean;
|
|
2018
2034
|
externalSettings?: HomedecoratorExternalSettingsInterface;
|
|
2019
2035
|
thirdPartyModel?: boolean;
|
|
2036
|
+
docId?: number;
|
|
2020
2037
|
usePivot?: boolean;
|
|
2021
2038
|
decos?: DecoNode[];
|
|
2022
2039
|
selections?: Selection[];
|
|
@@ -2605,6 +2622,7 @@ declare class ItemService implements OnDestroy {
|
|
|
2605
2622
|
removeItem(obj: any, addedToGroup?: boolean, emitMessage?: boolean): void;
|
|
2606
2623
|
getObjectPlanes(includeFloors?: boolean): any[];
|
|
2607
2624
|
getFurniture(): Furniture[];
|
|
2625
|
+
getThirdPartyFurniture(): Furniture[];
|
|
2608
2626
|
getNonFurniture(): Item[];
|
|
2609
2627
|
getFloorDecorationItems(): Item[];
|
|
2610
2628
|
getConfigurables(): Item[];
|
|
@@ -2702,6 +2720,8 @@ declare class UtilsService implements OnDestroy {
|
|
|
2702
2720
|
getKTX2Loader(): KTX2Loader;
|
|
2703
2721
|
downloadUSDZforARIOS(object: Object3D): Promise<void>;
|
|
2704
2722
|
cleanedUpObjects(object: Object3D, cleanUp?: boolean): Object3D;
|
|
2723
|
+
exportObjectToGlb(object: Object3D, maxTextureSize?: number): Promise<Blob>;
|
|
2724
|
+
getFileAsString(file: Blob, stripMimeType?: boolean): Promise<string>;
|
|
2705
2725
|
private _download3DModelAsGLB;
|
|
2706
2726
|
private _download3DModelAsUSDZ;
|
|
2707
2727
|
downloadFile(fileName: string, blob: Blob): void;
|
|
@@ -2719,8 +2739,8 @@ declare class UtilsService implements OnDestroy {
|
|
|
2719
2739
|
|
|
2720
2740
|
type StateValue = string;
|
|
2721
2741
|
type Action = string;
|
|
2722
|
-
type CreateStateInterface = () => StateValue
|
|
2723
|
-
type ApplyStateInterface = (
|
|
2742
|
+
type CreateStateInterface = () => StateValue | Promise<StateValue>;
|
|
2743
|
+
type ApplyStateInterface = (state: StateValue) => void | Promise<void>;
|
|
2724
2744
|
interface StateApi {
|
|
2725
2745
|
createState: CreateStateInterface;
|
|
2726
2746
|
applyState: ApplyStateInterface;
|
|
@@ -2767,6 +2787,7 @@ declare class AppStateService implements OnDestroy {
|
|
|
2767
2787
|
interface PluginInterface {
|
|
2768
2788
|
getObjects: Function;
|
|
2769
2789
|
loadObjects: Function;
|
|
2790
|
+
saveObjects: Function;
|
|
2770
2791
|
copySceneInstance: Function;
|
|
2771
2792
|
}
|
|
2772
2793
|
|
|
@@ -2834,7 +2855,8 @@ declare class PresetsService implements OnDestroy {
|
|
|
2834
2855
|
ngOnDestroy(): void;
|
|
2835
2856
|
register(plugin: PluginInterface): void;
|
|
2836
2857
|
reopenState(model: string): void;
|
|
2837
|
-
createState(): StateValue
|
|
2858
|
+
createState(save?: boolean): Promise<StateValue>;
|
|
2859
|
+
saveToCloud(asNew?: boolean): Promise<string>;
|
|
2838
2860
|
private _loadSavedRoomFromPreset;
|
|
2839
2861
|
private _loadSavedRoomFromCloud;
|
|
2840
2862
|
private _clear;
|
|
@@ -2897,6 +2919,7 @@ declare class HomedecoratorComponent implements OnInit, OnDestroy {
|
|
|
2897
2919
|
set initCommunication(value: boolean);
|
|
2898
2920
|
get initCommunication(): boolean;
|
|
2899
2921
|
projectToLoad: string;
|
|
2922
|
+
shareButton: boolean;
|
|
2900
2923
|
set settings(value: any);
|
|
2901
2924
|
get settings(): any;
|
|
2902
2925
|
showClass: boolean;
|
|
@@ -2916,14 +2939,15 @@ declare class HomedecoratorComponent implements OnInit, OnDestroy {
|
|
|
2916
2939
|
ngOnDestroy(): void;
|
|
2917
2940
|
registerCustomIcons(): void;
|
|
2918
2941
|
keyup(event: KeyboardEvent): void;
|
|
2919
|
-
handleExternalSave(): void
|
|
2942
|
+
handleExternalSave(code: string): Promise<void>;
|
|
2943
|
+
handleExternalOpen(): Promise<void>;
|
|
2920
2944
|
private _startWithRoom;
|
|
2921
2945
|
private _startWithEmptyRoom;
|
|
2922
2946
|
private _startWithPreset;
|
|
2923
2947
|
private _setCommunication;
|
|
2924
2948
|
private _initConnection;
|
|
2925
2949
|
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]>;
|
|
2926
|
-
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; }; "settings": { "alias": "settings"; "required": false; }; }, {}, never, never, false, never>;
|
|
2950
|
+
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>;
|
|
2927
2951
|
}
|
|
2928
2952
|
|
|
2929
2953
|
declare class ProgressBarComponent {
|
|
@@ -2934,22 +2958,6 @@ declare class ProgressBarComponent {
|
|
|
2934
2958
|
static ɵcmp: i0.ɵɵComponentDeclaration<ProgressBarComponent, "progress-bar", never, {}, {}, never, never, false, never>;
|
|
2935
2959
|
}
|
|
2936
2960
|
|
|
2937
|
-
declare class TooltipComponent implements OnDestroy {
|
|
2938
|
-
private _elementRef;
|
|
2939
|
-
showTooltip: boolean;
|
|
2940
|
-
tooltip: string;
|
|
2941
|
-
top: number;
|
|
2942
|
-
left: number;
|
|
2943
|
-
get getShowHide(): string;
|
|
2944
|
-
show(top: number, left: number, height: number, width: number, view?: HTMLElement): void;
|
|
2945
|
-
hide(): void;
|
|
2946
|
-
constructor(_elementRef: ElementRef);
|
|
2947
|
-
ngOnDestroy(): void;
|
|
2948
|
-
private _positionTooltip;
|
|
2949
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipComponent, never>;
|
|
2950
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "rp-tooltip", never, {}, {}, never, never, false, never>;
|
|
2951
|
-
}
|
|
2952
|
-
|
|
2953
2961
|
declare class LocalizePipe implements PipeTransform {
|
|
2954
2962
|
private _dictionaryService;
|
|
2955
2963
|
constructor(_dictionaryService: HomedecoratorDictionaryService);
|
|
@@ -3061,26 +3069,6 @@ declare class VisibilityObserverDirective implements OnDestroy, OnInit {
|
|
|
3061
3069
|
static ɵdir: i0.ɵɵDirectiveDeclaration<VisibilityObserverDirective, "[visibilityObserver]", ["intersection"], { "observerEnabled": { "alias": "observerEnabled"; "required": false; }; }, {}, never, never, false, never>;
|
|
3062
3070
|
}
|
|
3063
3071
|
|
|
3064
|
-
declare class TooltipDirective implements OnInit, OnDestroy {
|
|
3065
|
-
private _elementRef;
|
|
3066
|
-
private _viewContainerRef;
|
|
3067
|
-
private _componentFactoryResolver;
|
|
3068
|
-
private readonly _timeToWaitForTooltipInMs;
|
|
3069
|
-
rptooltip: string;
|
|
3070
|
-
keepInView: HTMLElement;
|
|
3071
|
-
private _tooltipTimer;
|
|
3072
|
-
private _tooltipComp;
|
|
3073
|
-
constructor(_elementRef: ElementRef, _viewContainerRef: ViewContainerRef, _componentFactoryResolver: ComponentFactoryResolver);
|
|
3074
|
-
ngOnInit(): void;
|
|
3075
|
-
ngOnDestroy(): void;
|
|
3076
|
-
private _handleMouseEnter;
|
|
3077
|
-
private _handleMouseLeave;
|
|
3078
|
-
private _showTooltip;
|
|
3079
|
-
private _hideTooltip;
|
|
3080
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipDirective, never>;
|
|
3081
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipDirective, "[rptooltip]", never, { "rptooltip": { "alias": "rptooltip"; "required": false; }; "keepInView": { "alias": "keepInView"; "required": false; }; }, {}, never, never, false, never>;
|
|
3082
|
-
}
|
|
3083
|
-
|
|
3084
3072
|
declare class ErrorMessageComponent {
|
|
3085
3073
|
private _dictionary;
|
|
3086
3074
|
private _sanitizer;
|
|
@@ -3119,7 +3107,7 @@ declare class GoogleTranslatePipe implements PipeTransform {
|
|
|
3119
3107
|
|
|
3120
3108
|
declare class CoreModule {
|
|
3121
3109
|
static ɵfac: i0.ɵɵFactoryDeclaration<CoreModule, never>;
|
|
3122
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CoreModule, [typeof
|
|
3110
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CoreModule, [typeof LocalizePipe, typeof FilterPipe, typeof KeysPipe, typeof CmToMeasurePipe, typeof AppendPipe, typeof PrependPipe, typeof MToMeasurePipe, typeof ScmToMeasurePipe, typeof SmToMeasurePipe, typeof StripHtmlPipe, typeof DebugComponent, typeof AutofocusDirective, typeof VisibilityObserverDirective, typeof VisibilityObserverMasterDirective, typeof ErrorMessageComponent, typeof GoogleTranslatePipe], [typeof i3.CommonModule, typeof i7.MatIconModule, typeof i4.MatButtonModule, typeof i20.MatTooltipModule], [typeof LocalizePipe, typeof FilterPipe, typeof KeysPipe, typeof AppendPipe, typeof PrependPipe, typeof CmToMeasurePipe, typeof MToMeasurePipe, typeof ScmToMeasurePipe, typeof SmToMeasurePipe, typeof StripHtmlPipe, typeof DebugComponent, typeof AutofocusDirective, typeof VisibilityObserverDirective, typeof VisibilityObserverMasterDirective, typeof ErrorMessageComponent, typeof GoogleTranslatePipe]>;
|
|
3123
3111
|
static ɵinj: i0.ɵɵInjectorDeclaration<CoreModule>;
|
|
3124
3112
|
}
|
|
3125
3113
|
|
|
@@ -3164,7 +3152,7 @@ declare class HdLoaderComponent {
|
|
|
3164
3152
|
|
|
3165
3153
|
declare class HdLoaderModule {
|
|
3166
3154
|
static ɵfac: i0.ɵɵFactoryDeclaration<HdLoaderModule, never>;
|
|
3167
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<HdLoaderModule, [typeof HdLoaderComponent], [typeof CoreModule, typeof
|
|
3155
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<HdLoaderModule, [typeof HdLoaderComponent], [typeof CoreModule, typeof i6.LoaderModule], [typeof HdLoaderComponent]>;
|
|
3168
3156
|
static ɵinj: i0.ɵɵInjectorDeclaration<HdLoaderModule>;
|
|
3169
3157
|
}
|
|
3170
3158
|
|
|
@@ -3200,7 +3188,7 @@ declare class InfoDialogComponent {
|
|
|
3200
3188
|
|
|
3201
3189
|
declare class InfoDialogModule {
|
|
3202
3190
|
static ɵfac: i0.ɵɵFactoryDeclaration<InfoDialogModule, never>;
|
|
3203
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<InfoDialogModule, [typeof InfoDialogComponent], [typeof CoreModule, typeof i19.MatCheckboxModule, typeof i4.MatButtonModule, typeof i4$1.MatDialogModule, typeof i6.FormsModule], never>;
|
|
3191
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<InfoDialogModule, [typeof InfoDialogComponent], [typeof CoreModule, typeof i19.MatCheckboxModule, typeof i4.MatButtonModule, typeof i4$1.MatDialogModule, typeof i6$1.FormsModule], never>;
|
|
3204
3192
|
static ɵinj: i0.ɵɵInjectorDeclaration<InfoDialogModule>;
|
|
3205
3193
|
}
|
|
3206
3194
|
|
|
@@ -3607,12 +3595,9 @@ declare class VariationCacheService implements OnDestroy {
|
|
|
3607
3595
|
|
|
3608
3596
|
declare class ThreedselectorService {
|
|
3609
3597
|
private _variationCacheService;
|
|
3610
|
-
private _settingsService;
|
|
3611
|
-
private _ione;
|
|
3612
3598
|
private _utilsService;
|
|
3613
3599
|
private _progressService;
|
|
3614
|
-
|
|
3615
|
-
constructor(_variationCacheService: VariationCacheService, _settingsService: HomedecoratorSettingsService, _ione: HomedecoratorConnectorService, _utilsService: UtilsService, _progressService: ProgressService, _presetService: PresetsService);
|
|
3600
|
+
constructor(_variationCacheService: VariationCacheService, _utilsService: UtilsService, _progressService: ProgressService);
|
|
3616
3601
|
downloadAssetsAndReturn(fileName: string, assetPath: string, prepareProgress?: boolean): Promise<THREE.Object3D>;
|
|
3617
3602
|
loadVariation(id: string): Promise<VariationSettings>;
|
|
3618
3603
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThreedselectorService, never>;
|
|
@@ -4258,6 +4243,7 @@ declare class BluePrintService extends BluePrintFloorplanService {
|
|
|
4258
4243
|
bluePrint: BluePrint;
|
|
4259
4244
|
bluePrintUpdated: Subject<BluePrint>;
|
|
4260
4245
|
loadFloorplan(floorplan: BluePrintFloorplan, version: number): Promise<void>;
|
|
4246
|
+
getRoomCenter(): Vector3;
|
|
4261
4247
|
static ɵfac: i0.ɵɵFactoryDeclaration<BluePrintService, never>;
|
|
4262
4248
|
static ɵprov: i0.ɵɵInjectableDeclaration<BluePrintService>;
|
|
4263
4249
|
}
|
|
@@ -4902,6 +4888,7 @@ declare enum IconEnum {
|
|
|
4902
4888
|
ArrowsLeftRight = "arrows-left-right",
|
|
4903
4889
|
ArrowsUpDown = "arrows-up-down",
|
|
4904
4890
|
ArrowsToEye = "arrows_to_eye",
|
|
4891
|
+
ArrowDownToBracketSharpRegularFull = "arrow_down_to_bracket_sharp_regular_full",
|
|
4905
4892
|
ArrowPointDown = "arrow_point_down",
|
|
4906
4893
|
ArrowPointRight = "arrow_point_right",
|
|
4907
4894
|
ArrowRotateLeft = "arrow_rotate_left",
|
|
@@ -5112,6 +5099,7 @@ declare class Core3dComponent implements OnInit, OnDestroy, PluginInterface {
|
|
|
5112
5099
|
getObjects(): {
|
|
5113
5100
|
view: any;
|
|
5114
5101
|
};
|
|
5102
|
+
saveObjects(): Promise<void>;
|
|
5115
5103
|
copySceneInstance(saveAs: boolean): Promise<void>;
|
|
5116
5104
|
loadObjects(data: any): Promise<any>;
|
|
5117
5105
|
private _viewModeChanged;
|
|
@@ -5482,7 +5470,7 @@ declare abstract class BuildFurnitureBaseService implements OnDestroy {
|
|
|
5482
5470
|
constructor(dialog: MatDialog, iOne: HomedecoratorConnectorService, threedSelectorService: ThreedselectorService, collisionManager: CollisionManagerService, messageBus: MessageBusService, dictionaryService: HomedecoratorDictionaryService, hudService: HudService, sceneService: SceneService, cameraService: CameraService, sceneEventService: SceneEventService, appEventService: HomedecoratorAppEventService, presetService: PresetsService, itemService: ItemService, elementService: ElementService, permanentStoreService: PermanentStoreService, googleTagManager: GoogleTagManagerService, settingsService: HomedecoratorSettingsService, utilsService: UtilsService, variationService: VariationService, appStateService: AppStateService, errorService: ErrorService, itemGroupService: ItemGroupService, variationCacheService: VariationCacheService, resizeService: ResizeService, viewModeService: ViewModeService, floorService: FloorService, floorPatternService: FloorPatternService, floorTileIntersectionService: FloorTileIntersectionService, connectorAdapterService: HomedecoratorConnectorAdapterService);
|
|
5483
5471
|
ngOnDestroy(): void;
|
|
5484
5472
|
abstract build(result: CustomFloorGroupResult): Promise<CustomFloorGroupResult>;
|
|
5485
|
-
abstract createSimple3DModel(
|
|
5473
|
+
abstract createSimple3DModel(metadata: Metadata, object: Object3D): Item;
|
|
5486
5474
|
abstract startToBuildFromConfigurator(metadata: Metadata): Promise<CustomFloorGroupResult>;
|
|
5487
5475
|
abstract prepareSelectionsAndDecos(result: CustomFloorGroupResult): Promise<CustomFloorGroupResult>;
|
|
5488
5476
|
abstract createNonConfigurableFloor(result: CustomFloorGroupResult): Promise<CustomFloorGroupResult>;
|
|
@@ -5548,6 +5536,7 @@ declare abstract class BuildFurnitureBaseService implements OnDestroy {
|
|
|
5548
5536
|
protected handleConnectionReset(): void;
|
|
5549
5537
|
protected handleAnswerSelected(answer: Answer): void;
|
|
5550
5538
|
protected handleSelectionSelected(chosenOption: SelectorStructure): void;
|
|
5539
|
+
protected getActiveFurnitureByUuid(uuid: string): Item;
|
|
5551
5540
|
protected getActiveFurniture(instanceId: string): Item;
|
|
5552
5541
|
protected linkSelectionsAndDecos(): void;
|
|
5553
5542
|
protected createConfigurableItem(instanceId: string, metadata: Metadata): Item;
|
|
@@ -5591,7 +5580,7 @@ declare abstract class BuildFurnitureBaseService implements OnDestroy {
|
|
|
5591
5580
|
declare class BuildFurnitureService extends BuildFurnitureBaseService implements OnDestroy {
|
|
5592
5581
|
build(result: CustomFloorGroupResult): Promise<CustomFloorGroupResult>;
|
|
5593
5582
|
startToBuild(result?: CustomFloorGroupResult, metadata?: Metadata, shouldCopyInstance?: boolean, looseOriginalConfiguration?: boolean, standAlone?: boolean, firstBuild?: boolean, fromPreset?: boolean, loadFromProject?: boolean): Promise<CustomFloorGroupResult>;
|
|
5594
|
-
createSimple3DModel(
|
|
5583
|
+
createSimple3DModel(metadata: Metadata, object: Object3D): Item;
|
|
5595
5584
|
createNonConfigurableFloor(result: CustomFloorGroupResult): Promise<CustomFloorGroupResult>;
|
|
5596
5585
|
startToBuildFromConfigurator(metadata: Metadata): Promise<CustomFloorGroupResult>;
|
|
5597
5586
|
prepareSelectionsAndDecos(result: CustomFloorGroupResult): Promise<CustomFloorGroupResult>;
|
|
@@ -5604,7 +5593,7 @@ declare class BuildFurnitureWithoutSceneService extends BuildFurnitureBaseServic
|
|
|
5604
5593
|
startToBuild(result?: CustomFloorGroupResult, metadata?: Metadata$1, shouldCopyInstance?: boolean, looseOriginalConfiguration?: boolean, standAlone?: boolean, firstBuild?: boolean, fromPreset?: boolean, loadFromProject?: boolean): Promise<CustomFloorGroupResult>;
|
|
5605
5594
|
startToBuildFromConfigurator(metadata: Metadata$1): Promise<CustomFloorGroupResult>;
|
|
5606
5595
|
prepareSelectionsAndDecos(result: CustomFloorGroupResult): Promise<CustomFloorGroupResult>;
|
|
5607
|
-
createSimple3DModel(
|
|
5596
|
+
createSimple3DModel(metadata: Metadata$1, object: Object3D): Item;
|
|
5608
5597
|
createNonConfigurableFloor(result: CustomFloorGroupResult): Promise<CustomFloorGroupResult>;
|
|
5609
5598
|
static ɵfac: i0.ɵɵFactoryDeclaration<BuildFurnitureWithoutSceneService, never>;
|
|
5610
5599
|
static ɵprov: i0.ɵɵInjectableDeclaration<BuildFurnitureWithoutSceneService>;
|
|
@@ -5674,13 +5663,13 @@ declare abstract class LoadFurnitureBaseService implements OnDestroy {
|
|
|
5674
5663
|
}
|
|
5675
5664
|
|
|
5676
5665
|
declare class LoadFurnitureWithoutSceneService extends LoadFurnitureBaseService implements OnDestroy {
|
|
5677
|
-
loadFurniture(furnitureData: Metadata, shouldCopyInstance
|
|
5666
|
+
loadFurniture(furnitureData: Metadata, shouldCopyInstance: boolean, looseOriginalConfiguration: boolean, standAlone: boolean, fromScratch: boolean, fromPreset: boolean, loadFromProject: boolean): Promise<CustomFloorGroupResult>;
|
|
5678
5667
|
static ɵfac: i0.ɵɵFactoryDeclaration<LoadFurnitureWithoutSceneService, never>;
|
|
5679
5668
|
static ɵprov: i0.ɵɵInjectableDeclaration<LoadFurnitureWithoutSceneService>;
|
|
5680
5669
|
}
|
|
5681
5670
|
|
|
5682
5671
|
declare class LoadFurnitureService extends LoadFurnitureBaseService implements OnDestroy {
|
|
5683
|
-
loadFurniture(furnitureData: Metadata, shouldCopyInstance
|
|
5672
|
+
loadFurniture(furnitureData: Metadata, shouldCopyInstance: boolean, looseOriginalConfiguration: boolean, standAlone: boolean, fromScratch: boolean, fromPreset: boolean, loadFromProject: boolean): Promise<CustomFloorGroupResult>;
|
|
5684
5673
|
static ɵfac: i0.ɵɵFactoryDeclaration<LoadFurnitureService, never>;
|
|
5685
5674
|
static ɵprov: i0.ɵɵInjectableDeclaration<LoadFurnitureService>;
|
|
5686
5675
|
}
|
|
@@ -6015,7 +6004,7 @@ declare class ColorPickerDialogModule {
|
|
|
6015
6004
|
|
|
6016
6005
|
declare class DevelopmentModule {
|
|
6017
6006
|
static ɵfac: i0.ɵɵFactoryDeclaration<DevelopmentModule, never>;
|
|
6018
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DevelopmentModule, [typeof SelectedObjectComponent$1, typeof SelectedChildComponent, typeof SelectedChildMaterialComponent, typeof SelectedChildMaterialTextureComponent, typeof SelectedChildMaterialTexturesComponent, typeof SelectedChildMaterialColorComponent, typeof DevelopmentDirective], [typeof i3.CommonModule, typeof i19.MatCheckboxModule, typeof i6.FormsModule, typeof i10.MatSelectModule, typeof
|
|
6007
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DevelopmentModule, [typeof SelectedObjectComponent$1, typeof SelectedChildComponent, typeof SelectedChildMaterialComponent, typeof SelectedChildMaterialTextureComponent, typeof SelectedChildMaterialTexturesComponent, typeof SelectedChildMaterialColorComponent, typeof DevelopmentDirective], [typeof i3.CommonModule, typeof i19.MatCheckboxModule, typeof i6$1.FormsModule, typeof i10.MatSelectModule, typeof i6.IconModule, typeof CoreModule, typeof i4.MatButtonModule, typeof i20.MatTooltipModule, typeof ColorPickerDialogModule], [typeof SelectedObjectComponent$1, typeof SelectedChildComponent, typeof SelectedChildMaterialComponent, typeof SelectedChildMaterialTextureComponent, typeof SelectedChildMaterialTexturesComponent, typeof SelectedChildMaterialColorComponent, typeof DevelopmentDirective]>;
|
|
6019
6008
|
static ɵinj: i0.ɵɵInjectorDeclaration<DevelopmentModule>;
|
|
6020
6009
|
}
|
|
6021
6010
|
|
|
@@ -6035,7 +6024,7 @@ declare class ToolbarIconComponent {
|
|
|
6035
6024
|
|
|
6036
6025
|
declare class ToolbarIconModule {
|
|
6037
6026
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarIconModule, never>;
|
|
6038
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ToolbarIconModule, [typeof ToolbarIconComponent], [typeof i3.CommonModule, typeof i7.MatIconModule, typeof i4.MatButtonModule, typeof
|
|
6027
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ToolbarIconModule, [typeof ToolbarIconComponent], [typeof i3.CommonModule, typeof i7.MatIconModule, typeof i4.MatButtonModule, typeof i20.MatTooltipModule, typeof i6.IconModule], [typeof ToolbarIconComponent]>;
|
|
6039
6028
|
static ɵinj: i0.ɵɵInjectorDeclaration<ToolbarIconModule>;
|
|
6040
6029
|
}
|
|
6041
6030
|
|
|
@@ -6421,7 +6410,7 @@ declare class RenderProgressComponent implements OnDestroy {
|
|
|
6421
6410
|
|
|
6422
6411
|
declare class RenderModule {
|
|
6423
6412
|
static ɵfac: i0.ɵɵFactoryDeclaration<RenderModule, never>;
|
|
6424
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<RenderModule, [typeof RenderControlsComponent, typeof RenderProgressComponent], [typeof CoreModule, typeof i3.CommonModule, typeof i4.MatButtonModule, typeof i4$1.MatDialogModule, typeof
|
|
6413
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<RenderModule, [typeof RenderControlsComponent, typeof RenderProgressComponent], [typeof CoreModule, typeof i3.CommonModule, typeof i4.MatButtonModule, typeof i4$1.MatDialogModule, typeof i20.MatTooltipModule, typeof i5$1.MatInputModule, typeof i7.MatIconModule, typeof i10.MatSelectModule, typeof i12.MatSlideToggleModule, typeof i13.MatGridListModule, typeof i13$1.MatProgressSpinnerModule, typeof i6$1.FormsModule, typeof i6.IconModule, typeof i11.MatSliderModule, typeof i6.TooltipDirectiveModule, typeof ProgressBarModule], [typeof RenderControlsComponent, typeof RenderProgressComponent]>;
|
|
6425
6414
|
static ɵinj: i0.ɵɵInjectorDeclaration<RenderModule>;
|
|
6426
6415
|
}
|
|
6427
6416
|
|
|
@@ -6439,13 +6428,13 @@ declare class SliderInputComponent {
|
|
|
6439
6428
|
|
|
6440
6429
|
declare class SliderInputModule {
|
|
6441
6430
|
static ɵfac: i0.ɵɵFactoryDeclaration<SliderInputModule, never>;
|
|
6442
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SliderInputModule, [typeof SliderInputComponent], [typeof i3.CommonModule, typeof i6.FormsModule, typeof i4$2.MatFormFieldModule, typeof i5$1.MatInputModule, typeof i11.MatSliderModule, typeof i7$
|
|
6431
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SliderInputModule, [typeof SliderInputComponent], [typeof i3.CommonModule, typeof i6$1.FormsModule, typeof i4$2.MatFormFieldModule, typeof i5$1.MatInputModule, typeof i11.MatSliderModule, typeof i7$1.FlexLayoutModule], [typeof SliderInputComponent]>;
|
|
6443
6432
|
static ɵinj: i0.ɵɵInjectorDeclaration<SliderInputModule>;
|
|
6444
6433
|
}
|
|
6445
6434
|
|
|
6446
6435
|
declare class Core3dModule {
|
|
6447
6436
|
static ɵfac: i0.ɵɵFactoryDeclaration<Core3dModule, never>;
|
|
6448
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<Core3dModule, [typeof SceneDirective, typeof Core3dComponent, typeof SceneControlComponent, typeof WalkthroughCameraControlsComponent, typeof LightplanComponent, typeof EditLightComponent, typeof SceneOptionsComponent, typeof EditLightplanComponent, typeof ArGuiRootComponent, typeof ArGuiButtonsComponent, typeof ArGuiConfiguratorComponent, typeof ArGuiContextMenuComponent, typeof ArGuiNotificationsComponent], [typeof CoreModule, typeof i3.CommonModule, typeof i6.FormsModule, typeof i5$1.MatInputModule, typeof i4.MatButtonModule, typeof i19.MatCheckboxModule, typeof
|
|
6437
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<Core3dModule, [typeof SceneDirective, typeof Core3dComponent, typeof SceneControlComponent, typeof WalkthroughCameraControlsComponent, typeof LightplanComponent, typeof EditLightComponent, typeof SceneOptionsComponent, typeof EditLightplanComponent, typeof ArGuiRootComponent, typeof ArGuiButtonsComponent, typeof ArGuiConfiguratorComponent, typeof ArGuiContextMenuComponent, typeof ArGuiNotificationsComponent], [typeof CoreModule, typeof i3.CommonModule, typeof i6$1.FormsModule, typeof i5$1.MatInputModule, typeof i4.MatButtonModule, typeof i19.MatCheckboxModule, typeof i20.MatTooltipModule, typeof i11.MatSliderModule, typeof i10.MatSelectModule, typeof DevelopmentModule, typeof i6.IconModule, typeof ToolbarIconModule, typeof ZoomControlsModule, typeof RenderModule, typeof i7.MatIconModule, typeof i29.MatProgressBarModule, typeof SliderInputModule, typeof i31.MatOptionModule, typeof i19.MatCheckboxModule], [typeof Core3dComponent, typeof SceneDirective]>;
|
|
6449
6438
|
static ɵinj: i0.ɵɵInjectorDeclaration<Core3dModule>;
|
|
6450
6439
|
}
|
|
6451
6440
|
|
|
@@ -6863,6 +6852,7 @@ declare class ItemSerializationService {
|
|
|
6863
6852
|
conversionGTMSend: any;
|
|
6864
6853
|
conversionSubmittedPrice: any;
|
|
6865
6854
|
thirdPartyModel: any;
|
|
6855
|
+
docId: any;
|
|
6866
6856
|
} | {
|
|
6867
6857
|
item_name: any;
|
|
6868
6858
|
item_type: any;
|
|
@@ -6934,6 +6924,9 @@ declare class RoomPlannerComponent implements OnInit, OnDestroy, PluginInterface
|
|
|
6934
6924
|
private _connectorAdapterService;
|
|
6935
6925
|
private _loadFurnitureService;
|
|
6936
6926
|
private _floorService;
|
|
6927
|
+
private _sanitizer;
|
|
6928
|
+
private _dictionary;
|
|
6929
|
+
private _modelCreationService;
|
|
6937
6930
|
floorplanner: FloorplannerComponent;
|
|
6938
6931
|
toolbarIconLibrary: TemplateRef<any>;
|
|
6939
6932
|
toolbarIconAccessoires: TemplateRef<any>;
|
|
@@ -6956,6 +6949,7 @@ declare class RoomPlannerComponent implements OnInit, OnDestroy, PluginInterface
|
|
|
6956
6949
|
toolbarIconCart: TemplateRef<any>;
|
|
6957
6950
|
toolbarSnappingIcon: TemplateRef<any>;
|
|
6958
6951
|
selectedObjectScaleXYZSidebar: TemplateRef<any>;
|
|
6952
|
+
toolbarIconUploadModel: TemplateRef<any>;
|
|
6959
6953
|
layerClass: string;
|
|
6960
6954
|
isLoading: boolean;
|
|
6961
6955
|
done: EventEmitter<any>;
|
|
@@ -7005,12 +6999,13 @@ declare class RoomPlannerComponent implements OnInit, OnDestroy, PluginInterface
|
|
|
7005
6999
|
threedIconAvailable: boolean;
|
|
7006
7000
|
diagramToggleAvailable: boolean;
|
|
7007
7001
|
configureButton: CustomButton;
|
|
7002
|
+
upload3Dtooltip: string;
|
|
7008
7003
|
private _subs;
|
|
7009
7004
|
private _activeCategorySidebarTemplate;
|
|
7010
7005
|
private _mode;
|
|
7011
7006
|
private _catalogIsShown;
|
|
7012
7007
|
private _blockLeftSideBar;
|
|
7013
|
-
constructor(iconService: HomedecoratorIconCacheService, viewModeService: ViewModeService, modelsService: ModelsService, itemService: ItemService, settingsService: HomedecoratorSettingsService, _presetsService: PresetsService, _appService: HomedecoratorAppService, _screenAnalysis: ScreenSizeAnalysisService, _cd: ChangeDetectorRef, _utilsService: UtilsService, _messageService: MessageBusService, _dialog: MatDialog, _configurationService: ConfigurationService, _bluePrintService: BluePrintService, _sceneService: SceneService, _hudService: HudService, _roomService: RoomService, _cameraService: CameraService, _itemService: ItemService, _itemSerializationService: ItemSerializationService, _lightsService: LightsService, _arService: ArService, _googleTagManager: GoogleTagManagerService, _permanentStoreService: PermanentStoreService, _appEventService: HomedecoratorAppEventService, _connectorService: HomedecoratorConnectorService, _wallService: WallService, _connectorAdapterService: HomedecoratorConnectorAdapterService, _loadFurnitureService: SwitchLoadFurnitureService, _floorService: FloorService);
|
|
7008
|
+
constructor(iconService: HomedecoratorIconCacheService, viewModeService: ViewModeService, modelsService: ModelsService, itemService: ItemService, settingsService: HomedecoratorSettingsService, _presetsService: PresetsService, _appService: HomedecoratorAppService, _screenAnalysis: ScreenSizeAnalysisService, _cd: ChangeDetectorRef, _utilsService: UtilsService, _messageService: MessageBusService, _dialog: MatDialog, _configurationService: ConfigurationService, _bluePrintService: BluePrintService, _sceneService: SceneService, _hudService: HudService, _roomService: RoomService, _cameraService: CameraService, _itemService: ItemService, _itemSerializationService: ItemSerializationService, _lightsService: LightsService, _arService: ArService, _googleTagManager: GoogleTagManagerService, _permanentStoreService: PermanentStoreService, _appEventService: HomedecoratorAppEventService, _connectorService: HomedecoratorConnectorService, _wallService: WallService, _connectorAdapterService: HomedecoratorConnectorAdapterService, _loadFurnitureService: SwitchLoadFurnitureService, _floorService: FloorService, _sanitizer: DomSanitizer, _dictionary: HomedecoratorDictionaryService, _modelCreationService: ModelCreationService);
|
|
7014
7009
|
handleDocKeyDown(event: KeyboardEvent): void;
|
|
7015
7010
|
ngOnInit(): Promise<void>;
|
|
7016
7011
|
ngOnDestroy(): void;
|
|
@@ -7038,6 +7033,7 @@ declare class RoomPlannerComponent implements OnInit, OnDestroy, PluginInterface
|
|
|
7038
7033
|
toggleDiagram(): void;
|
|
7039
7034
|
showLibraryCategories(): void;
|
|
7040
7035
|
showAccessoireCategories(): void;
|
|
7036
|
+
showUploadModel(): void;
|
|
7041
7037
|
showActiveCategorySidebar(): void;
|
|
7042
7038
|
showLibraryCategory(category: Category): Promise<void>;
|
|
7043
7039
|
enableDiagramToggle(input: any): void;
|
|
@@ -7083,6 +7079,7 @@ declare class RoomPlannerComponent implements OnInit, OnDestroy, PluginInterface
|
|
|
7083
7079
|
floorplan: BluePrintFloorplan;
|
|
7084
7080
|
items: {}[];
|
|
7085
7081
|
};
|
|
7082
|
+
saveObjects(): Promise<void>;
|
|
7086
7083
|
hasCustomObjects(): boolean;
|
|
7087
7084
|
onObjectLibraryClick(object: ModelInterface): void;
|
|
7088
7085
|
onGroupClick(): void;
|
|
@@ -7171,7 +7168,7 @@ declare class TextureEditorComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
7171
7168
|
dampSetTexture: any;
|
|
7172
7169
|
createDampener: (emitter: any) => {
|
|
7173
7170
|
emit: (value: any) => void;
|
|
7174
|
-
release: () =>
|
|
7171
|
+
release: () => any;
|
|
7175
7172
|
};
|
|
7176
7173
|
constructor(messageService: MessageBusService, _settingsService: HomedecoratorSettingsService);
|
|
7177
7174
|
ngOnInit(): void;
|
|
@@ -7913,7 +7910,7 @@ declare class RightContextMenuComponent implements OnInit, OnDestroy, OnChanges
|
|
|
7913
7910
|
|
|
7914
7911
|
declare class ContextMenuModule {
|
|
7915
7912
|
static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuModule, never>;
|
|
7916
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ContextMenuModule, [typeof ContextMenuComponent, typeof ItemContextMenuComponent, typeof RightContextMenuComponent], [typeof CoreModule, typeof i3.CommonModule, typeof i4.MatButtonModule, typeof i7.MatIconModule, typeof
|
|
7913
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ContextMenuModule, [typeof ContextMenuComponent, typeof ItemContextMenuComponent, typeof RightContextMenuComponent], [typeof CoreModule, typeof i3.CommonModule, typeof i4.MatButtonModule, typeof i7.MatIconModule, typeof i20.MatTooltipModule, typeof i6.IconModule], [typeof ContextMenuComponent, typeof ItemContextMenuComponent, typeof RightContextMenuComponent]>;
|
|
7917
7914
|
static ɵinj: i0.ɵɵInjectorDeclaration<ContextMenuModule>;
|
|
7918
7915
|
}
|
|
7919
7916
|
|
|
@@ -7953,7 +7950,7 @@ declare class ButtonElevationComponent implements OnDestroy {
|
|
|
7953
7950
|
|
|
7954
7951
|
declare class ButtonElevationModule {
|
|
7955
7952
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonElevationModule, never>;
|
|
7956
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ButtonElevationModule, [typeof ButtonElevationComponent], [typeof CoreModule, typeof i3.CommonModule, typeof i4$2.MatFormFieldModule, typeof i5$1.MatInputModule, typeof i4.MatButtonModule, typeof i7.MatIconModule, typeof
|
|
7953
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ButtonElevationModule, [typeof ButtonElevationComponent], [typeof CoreModule, typeof i3.CommonModule, typeof i4$2.MatFormFieldModule, typeof i5$1.MatInputModule, typeof i4.MatButtonModule, typeof i7.MatIconModule, typeof i20.MatTooltipModule, typeof i6$1.FormsModule, typeof i6.IconModule], [typeof ButtonElevationComponent]>;
|
|
7957
7954
|
static ɵinj: i0.ɵɵInjectorDeclaration<ButtonElevationModule>;
|
|
7958
7955
|
}
|
|
7959
7956
|
|
|
@@ -8006,7 +8003,7 @@ declare class MaterialDialogComponent implements OnInit, OnDestroy {
|
|
|
8006
8003
|
|
|
8007
8004
|
declare class MaterialDialogModule {
|
|
8008
8005
|
static ɵfac: i0.ɵɵFactoryDeclaration<MaterialDialogModule, never>;
|
|
8009
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MaterialDialogModule, [typeof MaterialDialogComponent], [typeof CoreModule, typeof i19.MatCheckboxModule, typeof i4.MatButtonModule, typeof i4$1.MatDialogModule, typeof i6.FormsModule, typeof i3.CommonModule, typeof i4$2.MatFormFieldModule, typeof i31.MatOptionModule, typeof i10.MatSelectModule, typeof DevelopmentModule, typeof
|
|
8006
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MaterialDialogModule, [typeof MaterialDialogComponent], [typeof CoreModule, typeof i19.MatCheckboxModule, typeof i4.MatButtonModule, typeof i4$1.MatDialogModule, typeof i6$1.FormsModule, typeof i3.CommonModule, typeof i4$2.MatFormFieldModule, typeof i31.MatOptionModule, typeof i10.MatSelectModule, typeof DevelopmentModule, typeof i6.ListOfValuesModule, typeof i13$2.DragDropModule], never>;
|
|
8010
8007
|
static ɵinj: i0.ɵɵInjectorDeclaration<MaterialDialogModule>;
|
|
8011
8008
|
}
|
|
8012
8009
|
|
|
@@ -8025,9 +8022,195 @@ declare class RgbColorPickerModule {
|
|
|
8025
8022
|
static ɵinj: i0.ɵɵInjectorDeclaration<RgbColorPickerModule>;
|
|
8026
8023
|
}
|
|
8027
8024
|
|
|
8025
|
+
declare class ThirdPartyModelService implements OnDestroy {
|
|
8026
|
+
private _messageBus;
|
|
8027
|
+
private _itemService;
|
|
8028
|
+
private _settingsService;
|
|
8029
|
+
private _utilsService;
|
|
8030
|
+
private _adapterService;
|
|
8031
|
+
constructor(_messageBus: MessageBusService, _itemService: ItemService, _settingsService: HomedecoratorSettingsService, _utilsService: UtilsService, _adapterService: HomedecoratorConnectorAdapterService);
|
|
8032
|
+
ngOnDestroy(): void;
|
|
8033
|
+
downloadModel(urlToFetch: string): Promise<Response>;
|
|
8034
|
+
createThirdParty3dModel(result: Object3D, hash: string, metaData: Metadata): CustomFloorGroupResult;
|
|
8035
|
+
/**
|
|
8036
|
+
* Converts object to GLB, saves it to the CDN and returns the docId
|
|
8037
|
+
* @param object
|
|
8038
|
+
* @returns {Promise<number>}
|
|
8039
|
+
*/
|
|
8040
|
+
saveThirdParty3dModel(object: Object3D): Promise<number>;
|
|
8041
|
+
parseModelToGLB(data: ArrayBuffer, hash: string, modelUrl: string, configurationData: any, priceData: any, metaData?: Metadata): Promise<void>;
|
|
8042
|
+
getMetadata(hash: string, modelUrl: string, configurationData: any): Metadata;
|
|
8043
|
+
getModel(docId: number): Promise<Object3D>;
|
|
8044
|
+
fetchJsonFile(url: string): Promise<Response>;
|
|
8045
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ThirdPartyModelService, never>;
|
|
8046
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ThirdPartyModelService>;
|
|
8047
|
+
}
|
|
8048
|
+
|
|
8049
|
+
interface ModelUploadDialogData {
|
|
8050
|
+
settingsService: any;
|
|
8051
|
+
modelCreationService: any;
|
|
8052
|
+
messageService: any;
|
|
8053
|
+
thirdPartyModelService: ThirdPartyModelService;
|
|
8054
|
+
}
|
|
8055
|
+
|
|
8056
|
+
interface UploadFileData {
|
|
8057
|
+
file: File;
|
|
8058
|
+
fileContents: ArrayBuffer;
|
|
8059
|
+
fileType: string;
|
|
8060
|
+
}
|
|
8061
|
+
|
|
8062
|
+
declare class UploadModelDialogComponent implements AfterViewInit {
|
|
8063
|
+
data: ModelUploadDialogData;
|
|
8064
|
+
private _dialogRef;
|
|
8065
|
+
set child(content: ElementRef);
|
|
8066
|
+
activeTab: number;
|
|
8067
|
+
contentWidth: number;
|
|
8068
|
+
showImageUploadButton: boolean;
|
|
8069
|
+
showVideoUploadButton: boolean;
|
|
8070
|
+
loaded: boolean;
|
|
8071
|
+
threeDPath: string;
|
|
8072
|
+
thirdPartyModelService: ThirdPartyModelService;
|
|
8073
|
+
showPreview: boolean;
|
|
8074
|
+
fileData: UploadFileData;
|
|
8075
|
+
private _tabContent;
|
|
8076
|
+
private _settingsService;
|
|
8077
|
+
private _messageService;
|
|
8078
|
+
private _modelCreationService;
|
|
8079
|
+
constructor(data: ModelUploadDialogData, _dialogRef: MatDialogRef<UploadModelDialogComponent>);
|
|
8080
|
+
ngAfterViewInit(): Promise<void>;
|
|
8081
|
+
addToScene(model: any): void;
|
|
8082
|
+
handleFileUploaded(fileData: UploadFileData): void;
|
|
8083
|
+
downloadGlbData(data: {
|
|
8084
|
+
url: string;
|
|
8085
|
+
description: string;
|
|
8086
|
+
}): Promise<void>;
|
|
8087
|
+
handleTabClick(index: number): void;
|
|
8088
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UploadModelDialogComponent, never>;
|
|
8089
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UploadModelDialogComponent, "rp-upload-model-dialog", never, {}, {}, never, never, false, never>;
|
|
8090
|
+
}
|
|
8091
|
+
|
|
8092
|
+
declare class ModelUploaderComponent {
|
|
8093
|
+
settingsService: HomedecoratorSettingsService;
|
|
8094
|
+
private _messageService;
|
|
8095
|
+
fileUploadInput: ElementRef;
|
|
8096
|
+
fileUploaded: EventEmitter<UploadFileData>;
|
|
8097
|
+
file: File | null;
|
|
8098
|
+
fileMaxSize: number;
|
|
8099
|
+
showUploadError: boolean;
|
|
8100
|
+
uploadError: string;
|
|
8101
|
+
private _maxFileSize;
|
|
8102
|
+
private _allowedFiles;
|
|
8103
|
+
constructor(settingsService: HomedecoratorSettingsService, _messageService: MessageBusService);
|
|
8104
|
+
onChange(event: any): void;
|
|
8105
|
+
upload(fileExtension: string): Promise<void>;
|
|
8106
|
+
fileToArrayBuffer(file: File): Promise<ArrayBuffer>;
|
|
8107
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModelUploaderComponent, never>;
|
|
8108
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModelUploaderComponent, "rp-model-uploader", never, {}, { "fileUploaded": "fileUploaded"; }, never, never, false, never>;
|
|
8109
|
+
}
|
|
8110
|
+
|
|
8111
|
+
declare class ModelPreviewComponent implements OnInit, OnDestroy {
|
|
8112
|
+
private _adapterService;
|
|
8113
|
+
private _dialogRef;
|
|
8114
|
+
private _messageService;
|
|
8115
|
+
private _dialog;
|
|
8116
|
+
private _fontService;
|
|
8117
|
+
glbExportName: ElementRef;
|
|
8118
|
+
heightArticle: ElementRef;
|
|
8119
|
+
fileData: UploadFileData;
|
|
8120
|
+
threeDPath: string;
|
|
8121
|
+
thirdPartyModelService: ThirdPartyModelService;
|
|
8122
|
+
addToScene: EventEmitter<any>;
|
|
8123
|
+
close: EventEmitter<void>;
|
|
8124
|
+
showClass: boolean;
|
|
8125
|
+
scenePreview: THREE.Scene;
|
|
8126
|
+
cameraPreview: THREE.PerspectiveCamera;
|
|
8127
|
+
rendererPreview: THREE.WebGLRenderer;
|
|
8128
|
+
controls: OrbitControls;
|
|
8129
|
+
boundingBoxSize: Vector3;
|
|
8130
|
+
loadedModel: any;
|
|
8131
|
+
unitsOfMeasurement: string;
|
|
8132
|
+
units: string[];
|
|
8133
|
+
modelName: string;
|
|
8134
|
+
mathPi: number;
|
|
8135
|
+
showReferenceModel: boolean;
|
|
8136
|
+
floorSizeHeight: number;
|
|
8137
|
+
floorSizeWidth: number;
|
|
8138
|
+
gridSize: number;
|
|
8139
|
+
gridDivision: number;
|
|
8140
|
+
distanceStep: number;
|
|
8141
|
+
font: Font;
|
|
8142
|
+
stackable: boolean;
|
|
8143
|
+
heightAdjustable: boolean;
|
|
8144
|
+
placementOptions: CoDomainValue[];
|
|
8145
|
+
selectedPlacement: string;
|
|
8146
|
+
canvReference: HTMLElement;
|
|
8147
|
+
hasErrors: boolean;
|
|
8148
|
+
listOfErrors: any[];
|
|
8149
|
+
showLoader: boolean;
|
|
8150
|
+
protected readonly icon: typeof IconEnum;
|
|
8151
|
+
private _measurements;
|
|
8152
|
+
constructor(_adapterService: HomedecoratorConnectorAdapterService, _dialogRef: MatDialogRef<ModelPreviewComponent>, _messageService: MessageBusService, _dialog: MatDialog, _fontService: FontService);
|
|
8153
|
+
ngOnInit(): void;
|
|
8154
|
+
ngOnDestroy(): void;
|
|
8155
|
+
initScene(): void;
|
|
8156
|
+
loadFloorPlane(): void;
|
|
8157
|
+
loadReferenceModel(): void;
|
|
8158
|
+
loadModel(): void;
|
|
8159
|
+
loadHDRI(path: string): Promise<void>;
|
|
8160
|
+
addModelToScene(): void;
|
|
8161
|
+
scaleArticle(): void;
|
|
8162
|
+
rotateModel(axis: string, degrees: number): void;
|
|
8163
|
+
moveModel(axis: string, amount: number): void;
|
|
8164
|
+
setUnit(event: any): void;
|
|
8165
|
+
toggleShowReferenceModel($event: any): void;
|
|
8166
|
+
setStackable(event: any): void;
|
|
8167
|
+
setHeightAdjustable(event: any): void;
|
|
8168
|
+
closePreview(): void;
|
|
8169
|
+
private _animate;
|
|
8170
|
+
private _render;
|
|
8171
|
+
private _downloadModel;
|
|
8172
|
+
private _setModelName;
|
|
8173
|
+
private _glbLoader;
|
|
8174
|
+
private _fbxLoader;
|
|
8175
|
+
private _objLoader;
|
|
8176
|
+
private _tdsLoader;
|
|
8177
|
+
private _stlLoader;
|
|
8178
|
+
private _addFromGeometry;
|
|
8179
|
+
private _prepModelForScene;
|
|
8180
|
+
private _getBoundingBox;
|
|
8181
|
+
private _applyTransforms;
|
|
8182
|
+
private _setMeasurements;
|
|
8183
|
+
private _create3DText;
|
|
8184
|
+
private _blobToArrayBuffer;
|
|
8185
|
+
private _createLightFromProperties;
|
|
8186
|
+
private _setObjectProperties;
|
|
8187
|
+
private _validateObjectStructure;
|
|
8188
|
+
private _validateMaterial;
|
|
8189
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModelPreviewComponent, never>;
|
|
8190
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModelPreviewComponent, "rp-model-preview", never, { "fileData": { "alias": "fileData"; "required": false; }; "threeDPath": { "alias": "threeDPath"; "required": false; }; "thirdPartyModelService": { "alias": "thirdPartyModelService"; "required": false; }; }, { "addToScene": "addToScene"; "close": "close"; }, never, never, false, never>;
|
|
8191
|
+
}
|
|
8192
|
+
|
|
8193
|
+
declare class LoaderComponent {
|
|
8194
|
+
show: boolean;
|
|
8195
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoaderComponent, never>;
|
|
8196
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoaderComponent, "rp-loader", never, { "show": { "alias": "show"; "required": false; }; }, {}, never, never, false, never>;
|
|
8197
|
+
}
|
|
8198
|
+
|
|
8199
|
+
declare class LoaderModule {
|
|
8200
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoaderModule, never>;
|
|
8201
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<LoaderModule, [typeof LoaderComponent], [typeof CoreModule], [typeof LoaderComponent]>;
|
|
8202
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<LoaderModule>;
|
|
8203
|
+
}
|
|
8204
|
+
|
|
8205
|
+
declare class UploadModelDialogModule {
|
|
8206
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UploadModelDialogModule, never>;
|
|
8207
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UploadModelDialogModule, [typeof UploadModelDialogComponent, typeof ModelUploaderComponent, typeof ModelPreviewComponent], [typeof i3.CommonModule, typeof i7.MatIcon, typeof LoaderModule, typeof i12.MatSlideToggle, typeof i5$1.MatFormField, typeof i10.MatSelect, typeof i10.MatOption, typeof CoreModule, typeof i11$1.ModelCreationPageModule, typeof i6$1.FormsModule], never>;
|
|
8208
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<UploadModelDialogModule>;
|
|
8209
|
+
}
|
|
8210
|
+
|
|
8028
8211
|
declare class RoomPlannerModule {
|
|
8029
8212
|
static ɵfac: i0.ɵɵFactoryDeclaration<RoomPlannerModule, never>;
|
|
8030
|
-
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
|
|
8213
|
+
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 i41.MatDividerModule, typeof i20.MatTooltipModule, typeof i43.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]>;
|
|
8031
8214
|
static ɵinj: i0.ɵɵInjectorDeclaration<RoomPlannerModule>;
|
|
8032
8215
|
}
|
|
8033
8216
|
|
|
@@ -8047,6 +8230,7 @@ declare class FurnitureManagerComponent implements OnInit, OnDestroy, PluginInte
|
|
|
8047
8230
|
private _roomService;
|
|
8048
8231
|
private _groupService;
|
|
8049
8232
|
private _wallService;
|
|
8233
|
+
private _thirdPartyModelService;
|
|
8050
8234
|
toolbarIcon: TemplateRef<any>;
|
|
8051
8235
|
furnitureSidebar: TemplateRef<any>;
|
|
8052
8236
|
categoriesSidebar: TemplateRef<any>;
|
|
@@ -8065,7 +8249,7 @@ declare class FurnitureManagerComponent implements OnInit, OnDestroy, PluginInte
|
|
|
8065
8249
|
private _cameras;
|
|
8066
8250
|
private _isOverItem;
|
|
8067
8251
|
private _subs;
|
|
8068
|
-
constructor(_messageService: MessageBusService, _modelsService: ModelsService, _appService: HomedecoratorAppService, _cd: ChangeDetectorRef, _utilsService: UtilsService, _screenAnalysis: ScreenSizeAnalysisService, _presetsService: PresetsService, _dialog: MatDialog, _itemService: ItemService, _sceneEventService: SceneEventService, _hudService: HudService, _itemSerializationService: ItemSerializationService, _roomService: RoomService, _groupService: ItemGroupService, _wallService: WallService);
|
|
8252
|
+
constructor(_messageService: MessageBusService, _modelsService: ModelsService, _appService: HomedecoratorAppService, _cd: ChangeDetectorRef, _utilsService: UtilsService, _screenAnalysis: ScreenSizeAnalysisService, _presetsService: PresetsService, _dialog: MatDialog, _itemService: ItemService, _sceneEventService: SceneEventService, _hudService: HudService, _itemSerializationService: ItemSerializationService, _roomService: RoomService, _groupService: ItemGroupService, _wallService: WallService, _thirdPartyModelService: ThirdPartyModelService);
|
|
8069
8253
|
ngOnInit(): Promise<void>;
|
|
8070
8254
|
ngOnDestroy(): void;
|
|
8071
8255
|
private _viewModeChanged;
|
|
@@ -8094,6 +8278,7 @@ declare class FurnitureManagerComponent implements OnInit, OnDestroy, PluginInte
|
|
|
8094
8278
|
loadNonIONEObjects(objects: any): Promise<void>;
|
|
8095
8279
|
copySceneInstance(saveAs: boolean): Promise<void>;
|
|
8096
8280
|
getObjects(): any;
|
|
8281
|
+
saveObjects(): Promise<void>;
|
|
8097
8282
|
hasCustomFurniture(): boolean;
|
|
8098
8283
|
private _showWarning;
|
|
8099
8284
|
private _isNonIONEObject;
|
|
@@ -8127,7 +8312,7 @@ declare class FurnitureLibraryComponent implements OnDestroy {
|
|
|
8127
8312
|
|
|
8128
8313
|
declare class FurnitureManagerModule {
|
|
8129
8314
|
static ɵfac: i0.ɵɵFactoryDeclaration<FurnitureManagerModule, never>;
|
|
8130
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FurnitureManagerModule, [typeof FurnitureManagerComponent, typeof FurnitureLibraryComponent], [typeof CoreModule, typeof CategoryLibraryModule, typeof i3.CommonModule, typeof ContextMenuModule, typeof i4.MatButtonModule, typeof i8
|
|
8315
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FurnitureManagerModule, [typeof FurnitureManagerComponent, typeof FurnitureLibraryComponent], [typeof CoreModule, typeof CategoryLibraryModule, typeof i3.CommonModule, typeof ContextMenuModule, typeof i4.MatButtonModule, typeof i8.MatButtonToggleModule, typeof i9.MatSidenavModule, typeof i10$1.MatCardModule, typeof i11.MatSliderModule, typeof i12.MatSlideToggleModule, typeof i13.MatGridListModule, typeof i7.MatIconModule, typeof i15.MatTabsModule, typeof Core3dModule, typeof ToolbarIconModule], [typeof FurnitureManagerComponent]>;
|
|
8131
8316
|
static ɵinj: i0.ɵɵInjectorDeclaration<FurnitureManagerModule>;
|
|
8132
8317
|
}
|
|
8133
8318
|
|
|
@@ -8202,6 +8387,8 @@ declare class ThreedselectorComponent implements OnInit, OnDestroy {
|
|
|
8202
8387
|
private _lightPresetService;
|
|
8203
8388
|
private _variationService;
|
|
8204
8389
|
private _configuringService;
|
|
8390
|
+
private _configuratorEventService;
|
|
8391
|
+
private _changeDetector;
|
|
8205
8392
|
readonly iconName: typeof IconName;
|
|
8206
8393
|
toolbarIconModels: TemplateRef<any>;
|
|
8207
8394
|
selectedThreedObjectCustomizationSidebar: TemplateRef<any>;
|
|
@@ -8237,6 +8424,10 @@ declare class ThreedselectorComponent implements OnInit, OnDestroy {
|
|
|
8237
8424
|
showProgressText: boolean;
|
|
8238
8425
|
showLoaderBar: boolean;
|
|
8239
8426
|
showFullConfiguration: boolean;
|
|
8427
|
+
configuratorSettings: any;
|
|
8428
|
+
configuratorSku: string;
|
|
8429
|
+
configuratorInstanceId: string;
|
|
8430
|
+
firstBuild: boolean;
|
|
8240
8431
|
private _loadConfigurator;
|
|
8241
8432
|
private _floorTexturesLoadedSub;
|
|
8242
8433
|
private _selectedElementObject;
|
|
@@ -8246,13 +8437,12 @@ declare class ThreedselectorComponent implements OnInit, OnDestroy {
|
|
|
8246
8437
|
private _standaloneFloors;
|
|
8247
8438
|
private _subs;
|
|
8248
8439
|
private _loadingFromPreset;
|
|
8249
|
-
private _callBackFnWhenBuildFinished;
|
|
8250
8440
|
private _startPosition;
|
|
8251
8441
|
private _externalSourceData;
|
|
8252
8442
|
private _loadedFromPreset;
|
|
8253
8443
|
private _loadedFromProject;
|
|
8254
8444
|
private _loadedShouldCopyInstance;
|
|
8255
|
-
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);
|
|
8445
|
+
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);
|
|
8256
8446
|
ngOnInit(): void;
|
|
8257
8447
|
ngOnDestroy(): void;
|
|
8258
8448
|
copySceneInstance(saveAs: boolean): Promise<void>;
|
|
@@ -8261,6 +8451,7 @@ declare class ThreedselectorComponent implements OnInit, OnDestroy {
|
|
|
8261
8451
|
floorplan: any;
|
|
8262
8452
|
}): Promise<any>;
|
|
8263
8453
|
getObjects(): any;
|
|
8454
|
+
saveObjects(): Promise<void>;
|
|
8264
8455
|
objectSelected(object: Item | ItemGroup): void;
|
|
8265
8456
|
handleCustomizeClick(): void;
|
|
8266
8457
|
swapElement(): void;
|
|
@@ -8274,6 +8465,9 @@ declare class ThreedselectorComponent implements OnInit, OnDestroy {
|
|
|
8274
8465
|
showConfiguratorChange(show: boolean): void;
|
|
8275
8466
|
loadFurnitureFromSku(position: Vector3, sku: string, settings?: HomedecoratorExternalSettingsInterface): Promise<CustomFloorGroupResult>;
|
|
8276
8467
|
configureFurniture(object: Item | ItemGroup): Promise<void>;
|
|
8468
|
+
private _initConfigurator;
|
|
8469
|
+
private _resetConfigurator;
|
|
8470
|
+
private _waitForBuildToFinish;
|
|
8277
8471
|
private _setSourceSettings;
|
|
8278
8472
|
private _closeConfigurator;
|
|
8279
8473
|
private _clearItems;
|
|
@@ -8310,6 +8504,7 @@ declare class ThreedselectorComponent implements OnInit, OnDestroy {
|
|
|
8310
8504
|
private _repositionButton;
|
|
8311
8505
|
private _getOptionsFromSelection;
|
|
8312
8506
|
private _handleAnswerCountReceived;
|
|
8507
|
+
private _addUploadedItem;
|
|
8313
8508
|
private _handleLoadIOneFurnitureIntoSceneBySKU;
|
|
8314
8509
|
private _handleCopyIOneFurnitureIntoSceneBySKU;
|
|
8315
8510
|
private _loadIOneFurnitureFromOriginal;
|
|
@@ -8451,7 +8646,7 @@ declare class ModelDialogFurnitureListComponent implements OnInit {
|
|
|
8451
8646
|
|
|
8452
8647
|
declare class ModelDialogModule {
|
|
8453
8648
|
static ɵfac: i0.ɵɵFactoryDeclaration<ModelDialogModule, never>;
|
|
8454
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ModelDialogModule, [typeof ModelDialogComponent, typeof ModelDialogFurnitureListComponent], [typeof CoreModule, typeof i3.CommonModule, typeof i4.MatButtonModule, typeof i4$1.MatDialogModule, typeof
|
|
8649
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ModelDialogModule, [typeof ModelDialogComponent, typeof ModelDialogFurnitureListComponent], [typeof CoreModule, typeof i3.CommonModule, typeof i4.MatButtonModule, typeof i4$1.MatDialogModule, typeof i20.MatTooltipModule, typeof i7.MatIconModule, typeof i6.IconModule, typeof i6$1.FormsModule], never>;
|
|
8455
8650
|
static ɵinj: i0.ɵɵInjectorDeclaration<ModelDialogModule>;
|
|
8456
8651
|
}
|
|
8457
8652
|
|
|
@@ -8514,13 +8709,13 @@ declare class CameraSettingsDialogComponent implements OnInit {
|
|
|
8514
8709
|
|
|
8515
8710
|
declare class CameraSettingsDialogModule {
|
|
8516
8711
|
static ɵfac: i0.ɵɵFactoryDeclaration<CameraSettingsDialogModule, never>;
|
|
8517
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CameraSettingsDialogModule, [typeof CameraSettingsDialogComponent], [typeof CoreModule, typeof i3.CommonModule, typeof i4$1.MatDialogModule, typeof i5.MatListModule, typeof i4$2.MatFormFieldModule, typeof i5$1.MatInputModule, typeof i6.FormsModule, typeof i4.MatButtonModule, typeof i7.MatIconModule], never>;
|
|
8712
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CameraSettingsDialogModule, [typeof CameraSettingsDialogComponent], [typeof CoreModule, typeof i3.CommonModule, typeof i4$1.MatDialogModule, typeof i5.MatListModule, typeof i4$2.MatFormFieldModule, typeof i5$1.MatInputModule, typeof i6$1.FormsModule, typeof i4.MatButtonModule, typeof i7.MatIconModule], never>;
|
|
8518
8713
|
static ɵinj: i0.ɵɵInjectorDeclaration<CameraSettingsDialogModule>;
|
|
8519
8714
|
}
|
|
8520
8715
|
|
|
8521
8716
|
declare class ThreedselectorModule {
|
|
8522
8717
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThreedselectorModule, never>;
|
|
8523
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ThreedselectorModule, [typeof ThreedselectorComponent, typeof ElementToolbarComponent, typeof ElementButtonsComponent, typeof ElementSliderComponent], [typeof i3.CommonModule, typeof i6.FormsModule, typeof i4.MatButtonModule, typeof i8
|
|
8718
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ThreedselectorModule, [typeof ThreedselectorComponent, typeof ElementToolbarComponent, typeof ElementButtonsComponent, typeof ElementSliderComponent], [typeof i3.CommonModule, typeof i6$1.FormsModule, typeof i4.MatButtonModule, typeof i8.MatButtonToggleModule, typeof i9.MatSidenavModule, typeof i10$1.MatCardModule, typeof i11.MatSliderModule, typeof i12.MatSlideToggleModule, typeof i13.MatGridListModule, typeof i7.MatIconModule, typeof i15.MatTabsModule, typeof Core3dModule, typeof CoreModule, typeof i6.IconModule, typeof ToolbarIconModule, typeof InfoDialogModule, typeof ErrorDialogModule, typeof ModelDialogModule, typeof ExportDialogModule, typeof CameraSettingsDialogModule, typeof i25.ProductConfiguratorModule, typeof i25.ConfiguratorModule], [typeof ElementButtonsComponent, typeof ThreedselectorComponent]>;
|
|
8524
8719
|
static ɵinj: i0.ɵɵInjectorDeclaration<ThreedselectorModule>;
|
|
8525
8720
|
}
|
|
8526
8721
|
|
|
@@ -8688,22 +8883,6 @@ declare class AnimationService {
|
|
|
8688
8883
|
static ɵprov: i0.ɵɵInjectableDeclaration<AnimationService>;
|
|
8689
8884
|
}
|
|
8690
8885
|
|
|
8691
|
-
declare class ThirdPartyModelService implements OnDestroy {
|
|
8692
|
-
private _messageBus;
|
|
8693
|
-
private _itemService;
|
|
8694
|
-
private _settingsService;
|
|
8695
|
-
private _utilsService;
|
|
8696
|
-
constructor(_messageBus: MessageBusService, _itemService: ItemService, _settingsService: HomedecoratorSettingsService, _utilsService: UtilsService);
|
|
8697
|
-
ngOnDestroy(): void;
|
|
8698
|
-
downloadModel(urlToFetch: string): Promise<Response>;
|
|
8699
|
-
createThirdParty3dModel(result: Object3D, hash: string, metaData: Metadata): CustomFloorGroupResult;
|
|
8700
|
-
parseModelToGLB(data: ArrayBuffer, hash: string, modelUrl: string, configurationData: any, priceData: any, metaData?: Metadata): Promise<void>;
|
|
8701
|
-
setMetadata(hash: string, modelUrl: string, configurationData: any): Metadata;
|
|
8702
|
-
fetchJsonFile(url: string): Promise<Response>;
|
|
8703
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ThirdPartyModelService, never>;
|
|
8704
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ThirdPartyModelService>;
|
|
8705
|
-
}
|
|
8706
|
-
|
|
8707
8886
|
declare class ToolbarComponent implements OnInit, OnDestroy, AfterViewInit {
|
|
8708
8887
|
appState: AppStateService;
|
|
8709
8888
|
presetsService: PresetsService;
|
|
@@ -8727,7 +8906,9 @@ declare class ToolbarComponent implements OnInit, OnDestroy, AfterViewInit {
|
|
|
8727
8906
|
private _adapterService;
|
|
8728
8907
|
private _connectionHealthService;
|
|
8729
8908
|
private _homedecoratorEventService;
|
|
8730
|
-
|
|
8909
|
+
shareButton: boolean;
|
|
8910
|
+
externalSave: EventEmitter<string>;
|
|
8911
|
+
externalOpen: EventEmitter<void>;
|
|
8731
8912
|
readonly toastType: typeof ToastType;
|
|
8732
8913
|
readonly messageType: typeof MessageType;
|
|
8733
8914
|
readonly icons: typeof IconEnum;
|
|
@@ -8745,7 +8926,9 @@ declare class ToolbarComponent implements OnInit, OnDestroy, AfterViewInit {
|
|
|
8745
8926
|
interval: any;
|
|
8746
8927
|
tooltipDisabled: boolean;
|
|
8747
8928
|
badgeDisabled: boolean;
|
|
8748
|
-
|
|
8929
|
+
useExternalSave: boolean;
|
|
8930
|
+
useExternalOpen: boolean;
|
|
8931
|
+
shadowSaveToCloud: boolean;
|
|
8749
8932
|
enableSlowConnectionWarning: boolean;
|
|
8750
8933
|
connectionStatus: string;
|
|
8751
8934
|
private _subs;
|
|
@@ -8760,9 +8943,11 @@ declare class ToolbarComponent implements OnInit, OnDestroy, AfterViewInit {
|
|
|
8760
8943
|
clickCloseLeftSidebar(): void;
|
|
8761
8944
|
newRoom(): void;
|
|
8762
8945
|
animateModel(element: Item): void;
|
|
8763
|
-
|
|
8764
|
-
|
|
8946
|
+
handleSave(saveOnOpen?: boolean): void;
|
|
8947
|
+
handleExternalSave(): Promise<void>;
|
|
8948
|
+
openSaveDialog(saveOnOpen?: boolean): Promise<void>;
|
|
8765
8949
|
openOpenDialog(): void;
|
|
8950
|
+
openShareDialog(): void;
|
|
8766
8951
|
handleSearchButtonClick(): void;
|
|
8767
8952
|
loadRoom(): Promise<void>;
|
|
8768
8953
|
loadResizableRoom(): Promise<void>;
|
|
@@ -8776,7 +8961,6 @@ declare class ToolbarComponent implements OnInit, OnDestroy, AfterViewInit {
|
|
|
8776
8961
|
saveNotification(): void;
|
|
8777
8962
|
openDrawDiagram(file: any): void;
|
|
8778
8963
|
openCroppingDiagram(file: any): void;
|
|
8779
|
-
openModelPreview(file: any): void;
|
|
8780
8964
|
showRenderError(data: ErrorDialogData): void;
|
|
8781
8965
|
testRender(): void;
|
|
8782
8966
|
openFaq(url: string): Window;
|
|
@@ -8790,7 +8974,7 @@ declare class ToolbarComponent implements OnInit, OnDestroy, AfterViewInit {
|
|
|
8790
8974
|
private _registerToolbarIcon;
|
|
8791
8975
|
private _closeLeftSidebar;
|
|
8792
8976
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarComponent, never>;
|
|
8793
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ToolbarComponent, "rp-toolbar", never, {}, { "externalSave": "externalSave"; }, never, never, false, never>;
|
|
8977
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToolbarComponent, "rp-toolbar", never, { "shareButton": { "alias": "shareButton"; "required": false; }; }, { "externalSave": "externalSave"; "externalOpen": "externalOpen"; }, never, never, false, never>;
|
|
8794
8978
|
}
|
|
8795
8979
|
|
|
8796
8980
|
interface SavedDialogData {
|
|
@@ -9091,13 +9275,13 @@ declare class ThreedInPhotoSceneComponent implements AfterViewInit {
|
|
|
9091
9275
|
|
|
9092
9276
|
declare class ThreedInPhotoModule {
|
|
9093
9277
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThreedInPhotoModule, never>;
|
|
9094
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ThreedInPhotoModule, [typeof UploadImageComponent, typeof ViewControlComponent, typeof ThreedInPhotoSceneComponent], [typeof i4.MatButtonModule, typeof i4$1.MatDialogModule, typeof i4$2.MatFormFieldModule, typeof i5$1.MatInputModule, typeof i6.FormsModule, typeof i12.MatSlideToggleModule, typeof i13$2.DragDropModule, typeof i7.MatIconModule], [typeof ThreedInPhotoSceneComponent]>;
|
|
9278
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ThreedInPhotoModule, [typeof UploadImageComponent, typeof ViewControlComponent, typeof ThreedInPhotoSceneComponent], [typeof i4.MatButtonModule, typeof i4$1.MatDialogModule, typeof i4$2.MatFormFieldModule, typeof i5$1.MatInputModule, typeof i6$1.FormsModule, typeof i12.MatSlideToggleModule, typeof i13$2.DragDropModule, typeof i7.MatIconModule], [typeof ThreedInPhotoSceneComponent]>;
|
|
9095
9279
|
static ɵinj: i0.ɵɵInjectorDeclaration<ThreedInPhotoModule>;
|
|
9096
9280
|
}
|
|
9097
9281
|
|
|
9098
9282
|
declare class ToolbarModule {
|
|
9099
9283
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarModule, never>;
|
|
9100
|
-
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.FormsModule, typeof i6.ReactiveFormsModule, typeof i18.MatToolbarModule, typeof i7.MatIconModule, typeof i4.MatButtonModule, typeof
|
|
9284
|
+
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 i43.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]>;
|
|
9101
9285
|
static ɵinj: i0.ɵɵInjectorDeclaration<ToolbarModule>;
|
|
9102
9286
|
}
|
|
9103
9287
|
|
|
@@ -9175,144 +9359,13 @@ declare class ProductOwnCollectionComponent {
|
|
|
9175
9359
|
|
|
9176
9360
|
declare class ProductOwnCollectionModule {
|
|
9177
9361
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductOwnCollectionModule, never>;
|
|
9178
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductOwnCollectionModule, [typeof ProductOwnCollectionComponent], [typeof i3.CommonModule, typeof CoreModule, typeof
|
|
9362
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductOwnCollectionModule, [typeof ProductOwnCollectionComponent], [typeof i3.CommonModule, typeof CoreModule, typeof i7$2.CatalogSearchModule], [typeof ProductOwnCollectionComponent]>;
|
|
9179
9363
|
static ɵinj: i0.ɵɵInjectorDeclaration<ProductOwnCollectionModule>;
|
|
9180
9364
|
}
|
|
9181
9365
|
|
|
9182
|
-
declare class ModelUploaderComponent {
|
|
9183
|
-
settingsService: HomedecoratorSettingsService;
|
|
9184
|
-
private _messageService;
|
|
9185
|
-
fileUploadInput: ElementRef;
|
|
9186
|
-
file: File | null;
|
|
9187
|
-
fileMaxSize: number;
|
|
9188
|
-
showUploadError: boolean;
|
|
9189
|
-
uploadError: string;
|
|
9190
|
-
private _maxFileSize;
|
|
9191
|
-
private _allowedFiles;
|
|
9192
|
-
constructor(settingsService: HomedecoratorSettingsService, _messageService: MessageBusService);
|
|
9193
|
-
onChange(event: any): void;
|
|
9194
|
-
upload(fileExtension: string): Promise<void>;
|
|
9195
|
-
fileToArrayBuffer(file: File): Promise<ArrayBuffer>;
|
|
9196
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ModelUploaderComponent, never>;
|
|
9197
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ModelUploaderComponent, "rp-model-uploader", never, {}, {}, never, never, false, never>;
|
|
9198
|
-
}
|
|
9199
|
-
|
|
9200
|
-
declare class ModelPreviewComponent implements OnInit, OnDestroy {
|
|
9201
|
-
data: {
|
|
9202
|
-
file: any;
|
|
9203
|
-
thirdPartyModelService: ThirdPartyModelService;
|
|
9204
|
-
lightPresetService: LightPresetsService;
|
|
9205
|
-
settingsService: HomedecoratorSettingsService;
|
|
9206
|
-
iconCache: HomedecoratorIconCacheService;
|
|
9207
|
-
adapterService: HomedecoratorConnectorAdapterService;
|
|
9208
|
-
};
|
|
9209
|
-
private _dialogRef;
|
|
9210
|
-
private _messageService;
|
|
9211
|
-
private _dialog;
|
|
9212
|
-
private _fontService;
|
|
9213
|
-
settingsService: HomedecoratorSettingsService;
|
|
9214
|
-
iconCache: HomedecoratorIconCacheService;
|
|
9215
|
-
private _adapterService;
|
|
9216
|
-
constructor(data: {
|
|
9217
|
-
file: any;
|
|
9218
|
-
thirdPartyModelService: ThirdPartyModelService;
|
|
9219
|
-
lightPresetService: LightPresetsService;
|
|
9220
|
-
settingsService: HomedecoratorSettingsService;
|
|
9221
|
-
iconCache: HomedecoratorIconCacheService;
|
|
9222
|
-
adapterService: HomedecoratorConnectorAdapterService;
|
|
9223
|
-
}, _dialogRef: MatDialogRef<ModelPreviewComponent>, _messageService: MessageBusService, _dialog: MatDialog, _fontService: FontService);
|
|
9224
|
-
glbExportName: ElementRef;
|
|
9225
|
-
heightArticle: ElementRef;
|
|
9226
|
-
scenePreview: THREE.Scene;
|
|
9227
|
-
cameraPreview: THREE.PerspectiveCamera;
|
|
9228
|
-
rendererPreview: THREE.WebGLRenderer;
|
|
9229
|
-
controls: OrbitControls;
|
|
9230
|
-
boundingBoxSize: Vector3;
|
|
9231
|
-
loadedModel: any;
|
|
9232
|
-
unitsOfMeasurement: string;
|
|
9233
|
-
units: string[];
|
|
9234
|
-
modelName: string;
|
|
9235
|
-
mathPi: number;
|
|
9236
|
-
showReferenceModel: boolean;
|
|
9237
|
-
floorSizeHeight: number;
|
|
9238
|
-
floorSizeWidth: number;
|
|
9239
|
-
gridSize: number;
|
|
9240
|
-
gridDivision: number;
|
|
9241
|
-
distanceStep: number;
|
|
9242
|
-
font: Font;
|
|
9243
|
-
stackable: boolean;
|
|
9244
|
-
heightAdjustable: boolean;
|
|
9245
|
-
placementOptions: CoDomainValue[];
|
|
9246
|
-
selectedPlacement: number;
|
|
9247
|
-
canvReference: HTMLElement;
|
|
9248
|
-
hasErrors: boolean;
|
|
9249
|
-
listOfErrors: any[];
|
|
9250
|
-
showLoader: boolean;
|
|
9251
|
-
private _measurements;
|
|
9252
|
-
protected readonly icon: typeof IconEnum;
|
|
9253
|
-
ngOnInit(): void;
|
|
9254
|
-
ngOnDestroy(): void;
|
|
9255
|
-
initScene(): void;
|
|
9256
|
-
loadFloorPlane(): void;
|
|
9257
|
-
loadLights(): void;
|
|
9258
|
-
loadReferenceModel(): void;
|
|
9259
|
-
loadModel(input: any): void;
|
|
9260
|
-
loadHDRI(path: string): Promise<void>;
|
|
9261
|
-
exportSceneAsGLB(returnType: string): void;
|
|
9262
|
-
scaleArticle(): void;
|
|
9263
|
-
rotateModel(axis: string, degrees: number): void;
|
|
9264
|
-
moveModel(axis: string, amount: number): void;
|
|
9265
|
-
setUnit(event: any): void;
|
|
9266
|
-
toggleShowReferenceModel($event: any): void;
|
|
9267
|
-
setStackable(event: any): void;
|
|
9268
|
-
setHeightAdjustable(event: any): void;
|
|
9269
|
-
closePreview(): void;
|
|
9270
|
-
private _animate;
|
|
9271
|
-
private _render;
|
|
9272
|
-
private _downloadModel;
|
|
9273
|
-
private _sendModelToCDN;
|
|
9274
|
-
private _setModelName;
|
|
9275
|
-
private _glbLoader;
|
|
9276
|
-
private _fbxLoader;
|
|
9277
|
-
private _objLoader;
|
|
9278
|
-
private _tdsLoader;
|
|
9279
|
-
private _stlLoader;
|
|
9280
|
-
private _addFromGeometry;
|
|
9281
|
-
private _prepModelForScene;
|
|
9282
|
-
private _getBoundingBox;
|
|
9283
|
-
private _applyTransforms;
|
|
9284
|
-
private _setMeasurements;
|
|
9285
|
-
private _create3DText;
|
|
9286
|
-
private _blobToArrayBuffer;
|
|
9287
|
-
private _createLightFromProperties;
|
|
9288
|
-
private _setObjectProperties;
|
|
9289
|
-
private _validateObjectStructure;
|
|
9290
|
-
private _validateMaterial;
|
|
9291
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ModelPreviewComponent, never>;
|
|
9292
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ModelPreviewComponent, "rp-model-preview", never, {}, {}, never, never, false, never>;
|
|
9293
|
-
}
|
|
9294
|
-
|
|
9295
|
-
declare class LoaderComponent {
|
|
9296
|
-
show: boolean;
|
|
9297
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LoaderComponent, never>;
|
|
9298
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LoaderComponent, "rp-loader", never, { "show": { "alias": "show"; "required": false; }; }, {}, never, never, false, never>;
|
|
9299
|
-
}
|
|
9300
|
-
|
|
9301
|
-
declare class LoaderModule {
|
|
9302
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LoaderModule, never>;
|
|
9303
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<LoaderModule, [typeof LoaderComponent], [typeof CoreModule], [typeof LoaderComponent]>;
|
|
9304
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<LoaderModule>;
|
|
9305
|
-
}
|
|
9306
|
-
|
|
9307
|
-
declare class ModelUploaderModule {
|
|
9308
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ModelUploaderModule, never>;
|
|
9309
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ModelUploaderModule, [typeof ModelUploaderComponent, typeof ModelPreviewComponent], [typeof i3.CommonModule, typeof CoreModule, typeof i7.MatIconModule, typeof i4.MatButtonModule, typeof i7$1.ButtonModule, typeof i7$1.ImageModule, typeof i8$2.CatalogExternalSourcesModule, typeof i8$2.CatalogExternalSourceModule, typeof i9$1.MatRadioModule, typeof i12.MatSlideToggleModule, typeof i4$2.MatFormFieldModule, typeof i31.MatOptionModule, typeof i10.MatSelectModule, typeof i7$1.IconModule, typeof i6.FormsModule, typeof LoaderModule], [typeof ModelUploaderComponent]>;
|
|
9310
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ModelUploaderModule>;
|
|
9311
|
-
}
|
|
9312
|
-
|
|
9313
9366
|
declare class ProductCatalogModule {
|
|
9314
9367
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductCatalogModule, never>;
|
|
9315
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductCatalogModule, [typeof ProductCatalogComponent], [typeof i3.CommonModule, typeof CoreModule, typeof i7.MatIconModule, typeof i4.MatButtonModule, typeof
|
|
9368
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductCatalogModule, [typeof ProductCatalogComponent], [typeof i3.CommonModule, typeof CoreModule, typeof i7.MatIconModule, typeof i4.MatButtonModule, typeof i6.ButtonModule, typeof i6.ImageModule, typeof i7$2.CatalogExternalSourcesModule, typeof ProductOwnCollectionModule, typeof i7$2.CatalogExternalSourceModule], [typeof ProductCatalogComponent]>;
|
|
9316
9369
|
static ɵinj: i0.ɵɵInjectorDeclaration<ProductCatalogModule>;
|
|
9317
9370
|
}
|
|
9318
9371
|
|
|
@@ -9373,7 +9426,7 @@ declare class LightboxComponent {
|
|
|
9373
9426
|
|
|
9374
9427
|
declare class LightboxModule {
|
|
9375
9428
|
static ɵfac: i0.ɵɵFactoryDeclaration<LightboxModule, never>;
|
|
9376
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<LightboxModule, [typeof LightboxComponent], [typeof i3.CommonModule, typeof
|
|
9429
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<LightboxModule, [typeof LightboxComponent], [typeof i3.CommonModule, typeof i6.IconModule], [typeof LightboxComponent]>;
|
|
9377
9430
|
static ɵinj: i0.ɵɵInjectorDeclaration<LightboxModule>;
|
|
9378
9431
|
}
|
|
9379
9432
|
|
|
@@ -9399,7 +9452,7 @@ declare class HomedecoratorModule {
|
|
|
9399
9452
|
private _injector;
|
|
9400
9453
|
constructor(_injector: Injector);
|
|
9401
9454
|
static ɵfac: i0.ɵɵFactoryDeclaration<HomedecoratorModule, never>;
|
|
9402
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<HomedecoratorModule, [typeof HomedecoratorComponent], [typeof i3.CommonModule, typeof ProgressBarModule, typeof LoadingOverlayModule, typeof HdLoaderModule, typeof ExportDialogModule, typeof InfoDialogModule, typeof PluginsModule, typeof DialogModule, typeof i10$2.A11yModule, typeof i25.ProductConfiguratorModule, typeof
|
|
9455
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<HomedecoratorModule, [typeof HomedecoratorComponent], [typeof i3.CommonModule, typeof ProgressBarModule, typeof LoadingOverlayModule, typeof HdLoaderModule, typeof ExportDialogModule, typeof InfoDialogModule, typeof PluginsModule, typeof DialogModule, typeof i10$2.A11yModule, typeof i25.ProductConfiguratorModule, typeof i6.CoreComponentsTranslationModule, typeof i25.LiteSelectorModule], [typeof HomedecoratorComponent]>;
|
|
9403
9456
|
static ɵinj: i0.ɵɵInjectorDeclaration<HomedecoratorModule>;
|
|
9404
9457
|
}
|
|
9405
9458
|
|
|
@@ -9431,7 +9484,7 @@ declare class MaterialBuilderComponent implements OnInit, OnDestroy {
|
|
|
9431
9484
|
controllerService: HomedecoratorConnectorService, appState: AppStateService, settingsService: HomedecoratorSettingsService, presetsService: PresetsService, _bluePrintService: BluePrintService, _viewModeService: ViewModeService, _homedecoratorService: HomedecoratorService, _parentEventService: HomedecoratorAppEventService, _ownEventService: HomedecoratorAppEventService, _integrationService: IntegrationService, _sceneService: SceneService, _webWorkerService: WebWorkerService);
|
|
9432
9485
|
ngOnInit(): Promise<void>;
|
|
9433
9486
|
ngOnDestroy(): void;
|
|
9434
|
-
handleExternalSave(): void
|
|
9487
|
+
handleExternalSave(): Promise<void>;
|
|
9435
9488
|
private _initConnection;
|
|
9436
9489
|
static ɵfac: i0.ɵɵFactoryDeclaration<MaterialBuilderComponent, [null, null, null, null, null, null, null, null, { optional: true; skipSelf: true; }, { optional: true; self: true; }, null, null, null]>;
|
|
9437
9490
|
static ɵcmp: i0.ɵɵComponentDeclaration<MaterialBuilderComponent, "co-material-builder", never, { "settings": { "alias": "settings"; "required": false; }; "materialPreview": { "alias": "materialPreview"; "required": false; }; "materialPreviewUpdate": { "alias": "materialPreviewUpdate"; "required": false; }; }, {}, never, never, false, never>;
|