@colijnit/homedecorator 262.1.1 → 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/index.d.ts
CHANGED
|
@@ -92,7 +92,7 @@ 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';
|
|
@@ -502,7 +502,9 @@ declare class HomedecoratorSettingsOptions {
|
|
|
502
502
|
useAnimations: boolean;
|
|
503
503
|
useThreedScene: boolean;
|
|
504
504
|
showSlowConnectionWarning: boolean;
|
|
505
|
-
|
|
505
|
+
useExternalSave: boolean;
|
|
506
|
+
useExternalOpen: boolean;
|
|
507
|
+
shadowSaveToCloud: boolean;
|
|
506
508
|
floorFadeStart: number;
|
|
507
509
|
floorFadeEnd: number;
|
|
508
510
|
}
|
|
@@ -684,6 +686,7 @@ declare class FloorPlaneItem extends Item {
|
|
|
684
686
|
interface ExternalSave {
|
|
685
687
|
screenShot: string;
|
|
686
688
|
project: string;
|
|
689
|
+
code: string;
|
|
687
690
|
}
|
|
688
691
|
|
|
689
692
|
declare class HomedecoratorAppEventService {
|
|
@@ -706,7 +709,8 @@ declare class HomedecoratorAppEventService {
|
|
|
706
709
|
glbCreated: Subject<string>;
|
|
707
710
|
dirty: Subject<boolean>;
|
|
708
711
|
floorCreated: BehaviorSubject<FloorPlaneItem>;
|
|
709
|
-
externalSave:
|
|
712
|
+
externalSave: Subject<ExternalSave>;
|
|
713
|
+
externalOpen: Subject<void>;
|
|
710
714
|
searchClick: Subject<void>;
|
|
711
715
|
shareProject: Subject<void>;
|
|
712
716
|
static ɵfac: i0.ɵɵFactoryDeclaration<HomedecoratorAppEventService, never>;
|
|
@@ -2852,6 +2856,7 @@ declare class PresetsService implements OnDestroy {
|
|
|
2852
2856
|
register(plugin: PluginInterface): void;
|
|
2853
2857
|
reopenState(model: string): void;
|
|
2854
2858
|
createState(save?: boolean): Promise<StateValue>;
|
|
2859
|
+
saveToCloud(asNew?: boolean): Promise<string>;
|
|
2855
2860
|
private _loadSavedRoomFromPreset;
|
|
2856
2861
|
private _loadSavedRoomFromCloud;
|
|
2857
2862
|
private _clear;
|
|
@@ -2934,7 +2939,8 @@ declare class HomedecoratorComponent implements OnInit, OnDestroy {
|
|
|
2934
2939
|
ngOnDestroy(): void;
|
|
2935
2940
|
registerCustomIcons(): void;
|
|
2936
2941
|
keyup(event: KeyboardEvent): void;
|
|
2937
|
-
handleExternalSave(): Promise<void>;
|
|
2942
|
+
handleExternalSave(code: string): Promise<void>;
|
|
2943
|
+
handleExternalOpen(): Promise<void>;
|
|
2938
2944
|
private _startWithRoom;
|
|
2939
2945
|
private _startWithEmptyRoom;
|
|
2940
2946
|
private _startWithPreset;
|
|
@@ -8381,6 +8387,8 @@ declare class ThreedselectorComponent implements OnInit, OnDestroy {
|
|
|
8381
8387
|
private _lightPresetService;
|
|
8382
8388
|
private _variationService;
|
|
8383
8389
|
private _configuringService;
|
|
8390
|
+
private _configuratorEventService;
|
|
8391
|
+
private _changeDetector;
|
|
8384
8392
|
readonly iconName: typeof IconName;
|
|
8385
8393
|
toolbarIconModels: TemplateRef<any>;
|
|
8386
8394
|
selectedThreedObjectCustomizationSidebar: TemplateRef<any>;
|
|
@@ -8416,6 +8424,10 @@ declare class ThreedselectorComponent implements OnInit, OnDestroy {
|
|
|
8416
8424
|
showProgressText: boolean;
|
|
8417
8425
|
showLoaderBar: boolean;
|
|
8418
8426
|
showFullConfiguration: boolean;
|
|
8427
|
+
configuratorSettings: any;
|
|
8428
|
+
configuratorSku: string;
|
|
8429
|
+
configuratorInstanceId: string;
|
|
8430
|
+
firstBuild: boolean;
|
|
8419
8431
|
private _loadConfigurator;
|
|
8420
8432
|
private _floorTexturesLoadedSub;
|
|
8421
8433
|
private _selectedElementObject;
|
|
@@ -8425,13 +8437,12 @@ declare class ThreedselectorComponent implements OnInit, OnDestroy {
|
|
|
8425
8437
|
private _standaloneFloors;
|
|
8426
8438
|
private _subs;
|
|
8427
8439
|
private _loadingFromPreset;
|
|
8428
|
-
private _callBackFnWhenBuildFinished;
|
|
8429
8440
|
private _startPosition;
|
|
8430
8441
|
private _externalSourceData;
|
|
8431
8442
|
private _loadedFromPreset;
|
|
8432
8443
|
private _loadedFromProject;
|
|
8433
8444
|
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);
|
|
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);
|
|
8435
8446
|
ngOnInit(): void;
|
|
8436
8447
|
ngOnDestroy(): void;
|
|
8437
8448
|
copySceneInstance(saveAs: boolean): Promise<void>;
|
|
@@ -8454,6 +8465,9 @@ declare class ThreedselectorComponent implements OnInit, OnDestroy {
|
|
|
8454
8465
|
showConfiguratorChange(show: boolean): void;
|
|
8455
8466
|
loadFurnitureFromSku(position: Vector3, sku: string, settings?: HomedecoratorExternalSettingsInterface): Promise<CustomFloorGroupResult>;
|
|
8456
8467
|
configureFurniture(object: Item | ItemGroup): Promise<void>;
|
|
8468
|
+
private _initConfigurator;
|
|
8469
|
+
private _resetConfigurator;
|
|
8470
|
+
private _waitForBuildToFinish;
|
|
8457
8471
|
private _setSourceSettings;
|
|
8458
8472
|
private _closeConfigurator;
|
|
8459
8473
|
private _clearItems;
|
|
@@ -8893,7 +8907,8 @@ declare class ToolbarComponent implements OnInit, OnDestroy, AfterViewInit {
|
|
|
8893
8907
|
private _connectionHealthService;
|
|
8894
8908
|
private _homedecoratorEventService;
|
|
8895
8909
|
shareButton: boolean;
|
|
8896
|
-
externalSave: EventEmitter<
|
|
8910
|
+
externalSave: EventEmitter<string>;
|
|
8911
|
+
externalOpen: EventEmitter<void>;
|
|
8897
8912
|
readonly toastType: typeof ToastType;
|
|
8898
8913
|
readonly messageType: typeof MessageType;
|
|
8899
8914
|
readonly icons: typeof IconEnum;
|
|
@@ -8911,7 +8926,9 @@ declare class ToolbarComponent implements OnInit, OnDestroy, AfterViewInit {
|
|
|
8911
8926
|
interval: any;
|
|
8912
8927
|
tooltipDisabled: boolean;
|
|
8913
8928
|
badgeDisabled: boolean;
|
|
8914
|
-
|
|
8929
|
+
useExternalSave: boolean;
|
|
8930
|
+
useExternalOpen: boolean;
|
|
8931
|
+
shadowSaveToCloud: boolean;
|
|
8915
8932
|
enableSlowConnectionWarning: boolean;
|
|
8916
8933
|
connectionStatus: string;
|
|
8917
8934
|
private _subs;
|
|
@@ -8926,8 +8943,9 @@ declare class ToolbarComponent implements OnInit, OnDestroy, AfterViewInit {
|
|
|
8926
8943
|
clickCloseLeftSidebar(): void;
|
|
8927
8944
|
newRoom(): void;
|
|
8928
8945
|
animateModel(element: Item): void;
|
|
8929
|
-
|
|
8930
|
-
|
|
8946
|
+
handleSave(saveOnOpen?: boolean): void;
|
|
8947
|
+
handleExternalSave(): Promise<void>;
|
|
8948
|
+
openSaveDialog(saveOnOpen?: boolean): Promise<void>;
|
|
8931
8949
|
openOpenDialog(): void;
|
|
8932
8950
|
openShareDialog(): void;
|
|
8933
8951
|
handleSearchButtonClick(): void;
|
|
@@ -8956,7 +8974,7 @@ declare class ToolbarComponent implements OnInit, OnDestroy, AfterViewInit {
|
|
|
8956
8974
|
private _registerToolbarIcon;
|
|
8957
8975
|
private _closeLeftSidebar;
|
|
8958
8976
|
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>;
|
|
8977
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToolbarComponent, "rp-toolbar", never, { "shareButton": { "alias": "shareButton"; "required": false; }; }, { "externalSave": "externalSave"; "externalOpen": "externalOpen"; }, never, never, false, never>;
|
|
8960
8978
|
}
|
|
8961
8979
|
|
|
8962
8980
|
interface SavedDialogData {
|
package/package.json
CHANGED
package/style/_variables.scss
CHANGED
|
@@ -3,6 +3,6 @@ $add-to-cart-button-color: #da9803 !default;
|
|
|
3
3
|
$hd-color-main: #da9803 !default;
|
|
4
4
|
$hd-color-main-accent: #da980380 !default;
|
|
5
5
|
|
|
6
|
-
$hd-color-dialog-background: #
|
|
6
|
+
$hd-color-dialog-background: #FAF8F7 !default;
|
|
7
7
|
|
|
8
8
|
$hd-color-active-dark: #212437 !default;
|
package/style/styles.scss
CHANGED
|
@@ -423,7 +423,6 @@ canvas {
|
|
|
423
423
|
@import '@colijnit/configurator/lib/components/scene-options/style/material.scss';
|
|
424
424
|
@import '@colijnit/configurator/lib/components/progress-bar/style/material.scss';
|
|
425
425
|
@import '@colijnit/configurator/lib/components/configurator-dialog/style/material.scss';
|
|
426
|
-
@import '@colijnit/configurator/lib/components/threedselector/style/material.scss';
|
|
427
426
|
@import '@colijnit/configurator/lib/components/element-toolbar/style/material.scss';
|
|
428
427
|
@import '@colijnit/configurator/lib/components/element-buttons/style/material.scss';
|
|
429
428
|
@import '@colijnit/configurator/lib/components/product-configurator/style/material.scss';
|