@colijnit/homedecorator 261.20.1 → 261.20.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/plugins/room-planner/components/floorplanner/floorplanner.component.scss +9 -14
- package/app/plugins/room-planner/components/object-library/object-library.component.scss +5 -1
- package/app/plugins/toolbar/download-dialog/download-dialog.component.scss +1 -2
- package/app/plugins/toolbar/save-dialog/save-dialog.component.scss +1 -2
- package/fesm2022/colijnit-homedecorator.mjs +2365 -2147
- package/fesm2022/colijnit-homedecorator.mjs.map +1 -1
- package/index.d.ts +79 -22
- package/package.json +3 -2
- package/style/_variables.scss +3 -0
- package/style/homedecorator-globals.scss +25 -0
- package/style/material.scss +36 -3
- package/style/styles.scss +44 -6
package/index.d.ts
CHANGED
|
@@ -89,7 +89,7 @@ import * as i13$2 from '@angular/cdk/drag-drop';
|
|
|
89
89
|
import * as i2$1 from 'ngx-color/chrome';
|
|
90
90
|
import { ActivatedRoute } from '@angular/router';
|
|
91
91
|
import * as i25 from '@colijnit/configurator';
|
|
92
|
-
import { ConfiguringService, ConfigurationResultObject, ConfiguratorErrorMessage } from '@colijnit/configurator';
|
|
92
|
+
import { ConfiguringService, ConfiguratorEventService, ConfigurationResultObject, ConfiguratorErrorMessage } from '@colijnit/configurator';
|
|
93
93
|
import * as i38 from 'ng2-pdf-viewer';
|
|
94
94
|
import { PdfViewerComponent } from 'ng2-pdf-viewer';
|
|
95
95
|
import * as i18 from '@angular/material/toolbar';
|
|
@@ -1207,7 +1207,7 @@ declare class HomedecoratorConnectorService implements OnDestroy {
|
|
|
1207
1207
|
getImageById(id: number): any;
|
|
1208
1208
|
beforeLoadPreset(): Promise<void>;
|
|
1209
1209
|
afterLoadPreset(): Promise<void>;
|
|
1210
|
-
initConnection(forceReload?: boolean,
|
|
1210
|
+
initConnection(forceReload?: boolean, loadExternalSources?: boolean): Promise<void>;
|
|
1211
1211
|
getInternalParameter(param: InternalParam): Promise<string>;
|
|
1212
1212
|
getDefaultLanguage(upId: number): Promise<string>;
|
|
1213
1213
|
googleTranslateEnabled(): Promise<boolean>;
|
|
@@ -1727,7 +1727,8 @@ declare class HomedecoratorAppService implements OnDestroy {
|
|
|
1727
1727
|
settingsLoaded: BehaviorSubject<Setting[]>;
|
|
1728
1728
|
loadedHelpGifs: BehaviorSubject<MediaResource[]>;
|
|
1729
1729
|
materialPreviewSet: BehaviorSubject<string>;
|
|
1730
|
-
|
|
1730
|
+
materialPreviewLoaded: BehaviorSubject<any>;
|
|
1731
|
+
materialPreviewUpdate: BehaviorSubject<Blob>;
|
|
1731
1732
|
allLoaded: BehaviorSubject<boolean>;
|
|
1732
1733
|
userRegistered: boolean;
|
|
1733
1734
|
private _sku;
|
|
@@ -2298,6 +2299,7 @@ declare class CustomObject3D extends THREE.Object3D {
|
|
|
2298
2299
|
*/
|
|
2299
2300
|
declare class Item extends BaseItem {
|
|
2300
2301
|
rawMetadata: Metadata;
|
|
2302
|
+
private _metadataSet;
|
|
2301
2303
|
set allwaysConfigureMode(value: boolean);
|
|
2302
2304
|
get allwaysConfigureMode(): boolean;
|
|
2303
2305
|
set configuring(value: boolean);
|
|
@@ -2705,7 +2707,7 @@ declare class UtilsService implements OnDestroy {
|
|
|
2705
2707
|
downloadFile(fileName: string, blob: Blob): void;
|
|
2706
2708
|
createCanvasImage(object: Object3D): string;
|
|
2707
2709
|
createThumbnailImage(object: Object3D): string;
|
|
2708
|
-
|
|
2710
|
+
downloadImage(fileName: string, imageData: string): void;
|
|
2709
2711
|
private _loadGroup;
|
|
2710
2712
|
private _addGroupChildrenToObject;
|
|
2711
2713
|
private _iterateChildren;
|
|
@@ -2854,7 +2856,7 @@ declare class HomedecoratorService {
|
|
|
2854
2856
|
private _connectorService;
|
|
2855
2857
|
loaded: BehaviorSubject<boolean>;
|
|
2856
2858
|
constructor(_settingsService: HomedecoratorSettingsService, _connectorService: HomedecoratorConnectorService);
|
|
2857
|
-
init(settings: HomedecoratorSettings, forceReload?: boolean): Promise<void>;
|
|
2859
|
+
init(settings: HomedecoratorSettings, forceReload?: boolean, loadExternalSources?: boolean): Promise<void>;
|
|
2858
2860
|
static ɵfac: i0.ɵɵFactoryDeclaration<HomedecoratorService, never>;
|
|
2859
2861
|
static ɵprov: i0.ɵɵInjectableDeclaration<HomedecoratorService>;
|
|
2860
2862
|
}
|
|
@@ -3270,7 +3272,7 @@ declare abstract class WallItem extends Item {
|
|
|
3270
3272
|
resized(): void;
|
|
3271
3273
|
getMaskedGeometry(): BufferGeometry$1;
|
|
3272
3274
|
/** */
|
|
3273
|
-
placeOnWall(wall: WallInterface): void;
|
|
3275
|
+
placeOnWall(wall: WallInterface, force?: boolean): void;
|
|
3274
3276
|
reposition(): void;
|
|
3275
3277
|
getFloorY(): number;
|
|
3276
3278
|
isValidPosition(position: Vector3, rotation?: Euler, options?: any): CollisionInfo;
|
|
@@ -5480,7 +5482,7 @@ declare abstract class BuildFurnitureBaseService implements OnDestroy {
|
|
|
5480
5482
|
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);
|
|
5481
5483
|
ngOnDestroy(): void;
|
|
5482
5484
|
abstract build(result: CustomFloorGroupResult): Promise<CustomFloorGroupResult>;
|
|
5483
|
-
abstract createSimple3DModel(
|
|
5485
|
+
abstract createSimple3DModel(metadata: Metadata, object: Object3D): Item;
|
|
5484
5486
|
abstract startToBuildFromConfigurator(metadata: Metadata): Promise<CustomFloorGroupResult>;
|
|
5485
5487
|
abstract prepareSelectionsAndDecos(result: CustomFloorGroupResult): Promise<CustomFloorGroupResult>;
|
|
5486
5488
|
abstract createNonConfigurableFloor(result: CustomFloorGroupResult): Promise<CustomFloorGroupResult>;
|
|
@@ -5513,6 +5515,7 @@ declare abstract class BuildFurnitureBaseService implements OnDestroy {
|
|
|
5513
5515
|
selectSelectionAsAnswer(chosenOption: SelectorStructure, metadata: Metadata): Promise<void>;
|
|
5514
5516
|
createConfigurableItemWithObject(instanceId: string, metadata: Metadata, object: Object3D): Item;
|
|
5515
5517
|
createFloorWithMaterial(instanceId: string, metadata: Metadata, material: Material): CustomFloorGroupResult;
|
|
5518
|
+
replaceCurrentItem(newItem: Item, metadata: Metadata, animate?: boolean): Promise<Item>;
|
|
5516
5519
|
protected prepareInstanceForBuild(shouldCopyInstance: boolean, loadFromProject: boolean, looseOriginalConfiguration: boolean, result: CustomFloorGroupResult): Promise<CustomFloorGroupResult>;
|
|
5517
5520
|
protected getSelectionsAndDecos(): Promise<void>;
|
|
5518
5521
|
protected handlePrepareSelectionsDecos(result: CustomFloorGroupResult): Promise<CustomFloorGroupResult>;
|
|
@@ -5545,13 +5548,13 @@ declare abstract class BuildFurnitureBaseService implements OnDestroy {
|
|
|
5545
5548
|
protected handleConnectionReset(): void;
|
|
5546
5549
|
protected handleAnswerSelected(answer: Answer): void;
|
|
5547
5550
|
protected handleSelectionSelected(chosenOption: SelectorStructure): void;
|
|
5551
|
+
protected getActiveFurnitureByUuid(uuid: string): Item;
|
|
5548
5552
|
protected getActiveFurniture(instanceId: string): Item;
|
|
5549
5553
|
protected linkSelectionsAndDecos(): void;
|
|
5550
5554
|
protected createConfigurableItem(instanceId: string, metadata: Metadata): Item;
|
|
5551
5555
|
protected createPositionAnimation(object: Object3D, from: Vector3, to: Vector3, easing: TWEEN.Easing): Promise<void>;
|
|
5552
5556
|
protected animateChanges(furniture: Item, changes: ChangesInterface[]): Promise<void[]>;
|
|
5553
5557
|
protected cloneSelections(): Selection[];
|
|
5554
|
-
replaceCurrentItem(newItem: Item, metadata: Metadata, animate?: boolean): Promise<Item>;
|
|
5555
5558
|
protected isMoveableObject(obj: Object3D): boolean;
|
|
5556
5559
|
protected addElementOnConnector(currentItem: Item, element: Object3D, connector: string, connectedNodeId: number): Promise<void>;
|
|
5557
5560
|
protected saveElementConnector(element: Object3D, connector: string): void;
|
|
@@ -5589,7 +5592,7 @@ declare abstract class BuildFurnitureBaseService implements OnDestroy {
|
|
|
5589
5592
|
declare class BuildFurnitureService extends BuildFurnitureBaseService implements OnDestroy {
|
|
5590
5593
|
build(result: CustomFloorGroupResult): Promise<CustomFloorGroupResult>;
|
|
5591
5594
|
startToBuild(result?: CustomFloorGroupResult, metadata?: Metadata, shouldCopyInstance?: boolean, looseOriginalConfiguration?: boolean, standAlone?: boolean, firstBuild?: boolean, fromPreset?: boolean, loadFromProject?: boolean): Promise<CustomFloorGroupResult>;
|
|
5592
|
-
createSimple3DModel(
|
|
5595
|
+
createSimple3DModel(metadata: Metadata, object: Object3D): Item;
|
|
5593
5596
|
createNonConfigurableFloor(result: CustomFloorGroupResult): Promise<CustomFloorGroupResult>;
|
|
5594
5597
|
startToBuildFromConfigurator(metadata: Metadata): Promise<CustomFloorGroupResult>;
|
|
5595
5598
|
prepareSelectionsAndDecos(result: CustomFloorGroupResult): Promise<CustomFloorGroupResult>;
|
|
@@ -5602,7 +5605,7 @@ declare class BuildFurnitureWithoutSceneService extends BuildFurnitureBaseServic
|
|
|
5602
5605
|
startToBuild(result?: CustomFloorGroupResult, metadata?: Metadata$1, shouldCopyInstance?: boolean, looseOriginalConfiguration?: boolean, standAlone?: boolean, firstBuild?: boolean, fromPreset?: boolean, loadFromProject?: boolean): Promise<CustomFloorGroupResult>;
|
|
5603
5606
|
startToBuildFromConfigurator(metadata: Metadata$1): Promise<CustomFloorGroupResult>;
|
|
5604
5607
|
prepareSelectionsAndDecos(result: CustomFloorGroupResult): Promise<CustomFloorGroupResult>;
|
|
5605
|
-
createSimple3DModel(
|
|
5608
|
+
createSimple3DModel(metadata: Metadata$1, object: Object3D): Item;
|
|
5606
5609
|
createNonConfigurableFloor(result: CustomFloorGroupResult): Promise<CustomFloorGroupResult>;
|
|
5607
5610
|
static ɵfac: i0.ɵɵFactoryDeclaration<BuildFurnitureWithoutSceneService, never>;
|
|
5608
5611
|
static ɵprov: i0.ɵɵInjectableDeclaration<BuildFurnitureWithoutSceneService>;
|
|
@@ -5672,13 +5675,13 @@ declare abstract class LoadFurnitureBaseService implements OnDestroy {
|
|
|
5672
5675
|
}
|
|
5673
5676
|
|
|
5674
5677
|
declare class LoadFurnitureWithoutSceneService extends LoadFurnitureBaseService implements OnDestroy {
|
|
5675
|
-
loadFurniture(furnitureData: Metadata, shouldCopyInstance
|
|
5678
|
+
loadFurniture(furnitureData: Metadata, shouldCopyInstance: boolean, looseOriginalConfiguration: boolean, standAlone: boolean, fromScratch: boolean, fromPreset: boolean, loadFromProject: boolean): Promise<CustomFloorGroupResult>;
|
|
5676
5679
|
static ɵfac: i0.ɵɵFactoryDeclaration<LoadFurnitureWithoutSceneService, never>;
|
|
5677
5680
|
static ɵprov: i0.ɵɵInjectableDeclaration<LoadFurnitureWithoutSceneService>;
|
|
5678
5681
|
}
|
|
5679
5682
|
|
|
5680
5683
|
declare class LoadFurnitureService extends LoadFurnitureBaseService implements OnDestroy {
|
|
5681
|
-
loadFurniture(furnitureData: Metadata, shouldCopyInstance
|
|
5684
|
+
loadFurniture(furnitureData: Metadata, shouldCopyInstance: boolean, looseOriginalConfiguration: boolean, standAlone: boolean, fromScratch: boolean, fromPreset: boolean, loadFromProject: boolean): Promise<CustomFloorGroupResult>;
|
|
5682
5685
|
static ɵfac: i0.ɵɵFactoryDeclaration<LoadFurnitureService, never>;
|
|
5683
5686
|
static ɵprov: i0.ɵɵInjectableDeclaration<LoadFurnitureService>;
|
|
5684
5687
|
}
|
|
@@ -5895,7 +5898,6 @@ declare class SelectedChildMaterialComponent implements OnInit {
|
|
|
5895
5898
|
|
|
5896
5899
|
declare class SelectedChildMaterialTextureComponent {
|
|
5897
5900
|
iconService: HomedecoratorIconCacheService;
|
|
5898
|
-
private _sceneService;
|
|
5899
5901
|
readonly icon: typeof IconEnum;
|
|
5900
5902
|
input: ElementRef;
|
|
5901
5903
|
set map(value: Texture$1);
|
|
@@ -5940,7 +5942,7 @@ declare class SelectedChildMaterialTextureComponent {
|
|
|
5940
5942
|
private _map;
|
|
5941
5943
|
private _loadedImage;
|
|
5942
5944
|
private _color;
|
|
5943
|
-
constructor(iconService: HomedecoratorIconCacheService
|
|
5945
|
+
constructor(iconService: HomedecoratorIconCacheService);
|
|
5944
5946
|
showLargeImage(): void;
|
|
5945
5947
|
hideZoomImage(event: MouseEvent): void;
|
|
5946
5948
|
showColorPicker(): void;
|
|
@@ -6283,7 +6285,7 @@ declare class NewRenderService implements OnDestroy {
|
|
|
6283
6285
|
private _dictionaryService;
|
|
6284
6286
|
renderImageChanged: BehaviorSubject<string>;
|
|
6285
6287
|
renderImageError: BehaviorSubject<string>;
|
|
6286
|
-
blenderRenderStarted:
|
|
6288
|
+
blenderRenderStarted: Subject<boolean>;
|
|
6287
6289
|
renderUpdateImageChanged: BehaviorSubject<{
|
|
6288
6290
|
image: string;
|
|
6289
6291
|
progress: number;
|
|
@@ -6444,7 +6446,7 @@ declare class SliderInputModule {
|
|
|
6444
6446
|
|
|
6445
6447
|
declare class Core3dModule {
|
|
6446
6448
|
static ɵfac: i0.ɵɵFactoryDeclaration<Core3dModule, never>;
|
|
6447
|
-
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 i8.MatTooltipModule, typeof i11.MatSliderModule, typeof i10.MatSelectModule, typeof DevelopmentModule, typeof i7$1.IconModule, typeof ToolbarIconModule, typeof ZoomControlsModule, typeof RenderModule, typeof i7.MatIconModule, typeof i29.MatProgressBarModule, typeof SliderInputModule, typeof i31.MatOptionModule, typeof i19.MatCheckboxModule], [typeof Core3dComponent]>;
|
|
6449
|
+
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 i8.MatTooltipModule, typeof i11.MatSliderModule, typeof i10.MatSelectModule, typeof DevelopmentModule, typeof i7$1.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]>;
|
|
6448
6450
|
static ɵinj: i0.ɵɵInjectorDeclaration<Core3dModule>;
|
|
6449
6451
|
}
|
|
6450
6452
|
|
|
@@ -7676,12 +7678,16 @@ declare class FloorCatalogComponent implements OnInit, OnDestroy {
|
|
|
7676
7678
|
}
|
|
7677
7679
|
|
|
7678
7680
|
declare class CustomShapeFloorItem extends FloorItem {
|
|
7681
|
+
oldPosition: Vector3;
|
|
7682
|
+
oldElevation: number;
|
|
7679
7683
|
get customMesh(): Mesh;
|
|
7680
7684
|
constructor(metadata: Metadata, object: Object3D | Mesh, texture?: Texture);
|
|
7681
7685
|
cloneItem(): CustomShapeFloorItem;
|
|
7682
7686
|
}
|
|
7683
7687
|
|
|
7684
7688
|
declare class CustomShapeWallItem extends WallItem {
|
|
7689
|
+
oldPosition: Vector3;
|
|
7690
|
+
oldElevation: number;
|
|
7685
7691
|
get customMesh(): Mesh;
|
|
7686
7692
|
constructor(metadata: Metadata, object: Mesh | Object3D, texture?: Texture);
|
|
7687
7693
|
cloneItem(): CustomShapeWallItem;
|
|
@@ -7729,6 +7735,8 @@ declare class CustomShapeCreatorComponent implements OnInit {
|
|
|
7729
7735
|
private _updateShapesColor;
|
|
7730
7736
|
setTexture(texture: Texture): Promise<void>;
|
|
7731
7737
|
toggleItemType(): void;
|
|
7738
|
+
private _createAsFloorType;
|
|
7739
|
+
private _createAsWallType;
|
|
7732
7740
|
private _updateShapesTexture;
|
|
7733
7741
|
private _setShapeMaterial;
|
|
7734
7742
|
static ɵfac: i0.ɵɵFactoryDeclaration<CustomShapeCreatorComponent, never>;
|
|
@@ -7978,17 +7986,17 @@ declare class ExportPdfModule {
|
|
|
7978
7986
|
|
|
7979
7987
|
interface MaterialDialogData {
|
|
7980
7988
|
object: Item;
|
|
7989
|
+
settingsService: any;
|
|
7981
7990
|
sceneService: any;
|
|
7982
7991
|
}
|
|
7983
7992
|
|
|
7984
7993
|
declare class MaterialDialogComponent implements OnInit, OnDestroy {
|
|
7985
7994
|
data: MaterialDialogData;
|
|
7986
|
-
private _settingsService;
|
|
7987
7995
|
availableMeshes: Mesh[];
|
|
7988
7996
|
selectedMesh: Mesh;
|
|
7989
7997
|
showMaps: boolean;
|
|
7990
7998
|
private _subs;
|
|
7991
|
-
constructor(data: MaterialDialogData
|
|
7999
|
+
constructor(data: MaterialDialogData);
|
|
7992
8000
|
ngOnInit(): void;
|
|
7993
8001
|
ngOnDestroy(): void;
|
|
7994
8002
|
handleMapChange(mapChange: MapChange): void;
|
|
@@ -8195,6 +8203,8 @@ declare class ThreedselectorComponent implements OnInit, OnDestroy {
|
|
|
8195
8203
|
private _lightPresetService;
|
|
8196
8204
|
private _variationService;
|
|
8197
8205
|
private _configuringService;
|
|
8206
|
+
private _configuratorEventService;
|
|
8207
|
+
private _changeDetector;
|
|
8198
8208
|
readonly iconName: typeof IconName;
|
|
8199
8209
|
toolbarIconModels: TemplateRef<any>;
|
|
8200
8210
|
selectedThreedObjectCustomizationSidebar: TemplateRef<any>;
|
|
@@ -8230,6 +8240,10 @@ declare class ThreedselectorComponent implements OnInit, OnDestroy {
|
|
|
8230
8240
|
showProgressText: boolean;
|
|
8231
8241
|
showLoaderBar: boolean;
|
|
8232
8242
|
showFullConfiguration: boolean;
|
|
8243
|
+
configuratorSettings: any;
|
|
8244
|
+
configuratorSku: string;
|
|
8245
|
+
configuratorInstanceId: string;
|
|
8246
|
+
firstBuild: boolean;
|
|
8233
8247
|
private _loadConfigurator;
|
|
8234
8248
|
private _floorTexturesLoadedSub;
|
|
8235
8249
|
private _selectedElementObject;
|
|
@@ -8245,7 +8259,7 @@ declare class ThreedselectorComponent implements OnInit, OnDestroy {
|
|
|
8245
8259
|
private _loadedFromPreset;
|
|
8246
8260
|
private _loadedFromProject;
|
|
8247
8261
|
private _loadedShouldCopyInstance;
|
|
8248
|
-
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);
|
|
8262
|
+
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);
|
|
8249
8263
|
ngOnInit(): void;
|
|
8250
8264
|
ngOnDestroy(): void;
|
|
8251
8265
|
copySceneInstance(saveAs: boolean): Promise<void>;
|
|
@@ -8261,12 +8275,15 @@ declare class ThreedselectorComponent implements OnInit, OnDestroy {
|
|
|
8261
8275
|
cancelElementReplace(rebuild?: boolean): void;
|
|
8262
8276
|
openAnimationSidebar(): void;
|
|
8263
8277
|
setModelErrorDialog(): void;
|
|
8264
|
-
handleBuildResult(result: ConfigurationResultObject):
|
|
8278
|
+
handleBuildResult(result: ConfigurationResultObject): Promise<CustomFloorGroupResult>;
|
|
8265
8279
|
handleErrorMessages(errors: ConfiguratorErrorMessage[]): void;
|
|
8266
8280
|
setMetadateFromObject(result: ConfigurationResultObject): Metadata;
|
|
8267
8281
|
showConfiguratorChange(show: boolean): void;
|
|
8268
|
-
loadFurnitureFromSku(position: Vector3, sku: string, settings?: HomedecoratorExternalSettingsInterface): Promise<
|
|
8282
|
+
loadFurnitureFromSku(position: Vector3, sku: string, settings?: HomedecoratorExternalSettingsInterface): Promise<CustomFloorGroupResult>;
|
|
8269
8283
|
configureFurniture(object: Item | ItemGroup): Promise<void>;
|
|
8284
|
+
private _initConfigurator;
|
|
8285
|
+
private _resetConfigurator;
|
|
8286
|
+
private _waitForBuildToFinish;
|
|
8270
8287
|
private _setSourceSettings;
|
|
8271
8288
|
private _closeConfigurator;
|
|
8272
8289
|
private _clearItems;
|
|
@@ -9396,5 +9413,45 @@ declare class HomedecoratorModule {
|
|
|
9396
9413
|
static ɵinj: i0.ɵɵInjectorDeclaration<HomedecoratorModule>;
|
|
9397
9414
|
}
|
|
9398
9415
|
|
|
9399
|
-
|
|
9416
|
+
declare class MaterialBuilderComponent implements OnInit, OnDestroy {
|
|
9417
|
+
appService: HomedecoratorAppService;
|
|
9418
|
+
controllerService: HomedecoratorConnectorService;
|
|
9419
|
+
appState: AppStateService;
|
|
9420
|
+
settingsService: HomedecoratorSettingsService;
|
|
9421
|
+
presetsService: PresetsService;
|
|
9422
|
+
private _bluePrintService;
|
|
9423
|
+
private _viewModeService;
|
|
9424
|
+
private _homedecoratorService;
|
|
9425
|
+
private _parentEventService;
|
|
9426
|
+
private _ownEventService;
|
|
9427
|
+
private _integrationService;
|
|
9428
|
+
private _sceneService;
|
|
9429
|
+
private _webWorkerService;
|
|
9430
|
+
set settings(value: any);
|
|
9431
|
+
get settings(): any;
|
|
9432
|
+
set materialPreview(value: string);
|
|
9433
|
+
set materialPreviewUpdate(value: Blob);
|
|
9434
|
+
showClass: boolean;
|
|
9435
|
+
loaded: boolean;
|
|
9436
|
+
title: string;
|
|
9437
|
+
private _subs;
|
|
9438
|
+
private _settings;
|
|
9439
|
+
private _eventService;
|
|
9440
|
+
constructor(appService: HomedecoratorAppService, // don't remove this, needs to be created on a high level
|
|
9441
|
+
controllerService: HomedecoratorConnectorService, appState: AppStateService, settingsService: HomedecoratorSettingsService, presetsService: PresetsService, _bluePrintService: BluePrintService, _viewModeService: ViewModeService, _homedecoratorService: HomedecoratorService, _parentEventService: HomedecoratorAppEventService, _ownEventService: HomedecoratorAppEventService, _integrationService: IntegrationService, _sceneService: SceneService, _webWorkerService: WebWorkerService);
|
|
9442
|
+
ngOnInit(): Promise<void>;
|
|
9443
|
+
ngOnDestroy(): void;
|
|
9444
|
+
handleExternalSave(): void;
|
|
9445
|
+
private _initConnection;
|
|
9446
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MaterialBuilderComponent, [null, null, null, null, null, null, null, null, { optional: true; skipSelf: true; }, { optional: true; self: true; }, null, null, null]>;
|
|
9447
|
+
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>;
|
|
9448
|
+
}
|
|
9449
|
+
|
|
9450
|
+
declare class MaterialBuilderModule {
|
|
9451
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MaterialBuilderModule, never>;
|
|
9452
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<MaterialBuilderModule, [typeof MaterialBuilderComponent], [typeof LoadingOverlayModule, typeof RoomPlannerModule, typeof Core3dModule, typeof ThreedselectorModule, typeof ToolbarModule, typeof i25.LiteSelectorModule, typeof DevelopmentModule, typeof HdLoaderModule], [typeof MaterialBuilderComponent]>;
|
|
9453
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<MaterialBuilderModule>;
|
|
9454
|
+
}
|
|
9455
|
+
|
|
9456
|
+
export { ConfigurationService, HomedecoratorAppEventService, HomedecoratorComponent, HomedecoratorModule, HomedecoratorService, MaterialBuilderComponent, MaterialBuilderModule };
|
|
9400
9457
|
export type { ExternalSave };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@colijnit/homedecorator",
|
|
3
|
-
"version": "261.20.
|
|
3
|
+
"version": "261.20.3",
|
|
4
4
|
"description": "Homedecorator application based on 261 version of iOne backend",
|
|
5
5
|
"repository": "npm/npm",
|
|
6
6
|
"author": "Colijn IT",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"@angular/core": ">=20.0.0",
|
|
12
12
|
"@colijnit/catalog": ">=261.20.0",
|
|
13
13
|
"@colijnit/articleapi": ">=261.1.0",
|
|
14
|
-
"@colijnit/configurator": ">=261.20.
|
|
14
|
+
"@colijnit/configurator": ">=261.20.4",
|
|
15
15
|
"@colijnit/configuratorapi": ">=261.1.3",
|
|
16
16
|
"@colijnit/corecomponents_v12": ">=261.20.0",
|
|
17
17
|
"@colijnit/ioneconnector": ">=261.1.3",
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
"ngx-color": "^10.1.0",
|
|
33
33
|
"ngx-device-detector": "^10.1.0",
|
|
34
34
|
"polygon-tools": "^0.4.8",
|
|
35
|
+
"postprocessing": "^6.36.1",
|
|
35
36
|
"textdiff-patch": "^1.0.5",
|
|
36
37
|
"three": "^0.178.0",
|
|
37
38
|
"three-bvh-csg": "0.0.17",
|
package/style/_variables.scss
CHANGED
|
@@ -32,6 +32,31 @@ $scrollbar-small-stop-point: 25%;
|
|
|
32
32
|
font-feature-settings: 'liga';
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
+
#material_color_dialog {
|
|
36
|
+
max-height: 600px;
|
|
37
|
+
width: 600px;
|
|
38
|
+
background: white;
|
|
39
|
+
overflow: hidden;
|
|
40
|
+
color: $hd-color-primary;
|
|
41
|
+
.co-list-of-values {
|
|
42
|
+
color: $hd-color-primary;
|
|
43
|
+
}
|
|
44
|
+
.mat-dialog-content {
|
|
45
|
+
display: flex;
|
|
46
|
+
flex-direction: column;
|
|
47
|
+
overflow: hidden;
|
|
48
|
+
}
|
|
49
|
+
.part-material {
|
|
50
|
+
margin-top: 20px;
|
|
51
|
+
flex-basis: 100%;
|
|
52
|
+
overflow: auto;
|
|
53
|
+
.material-color {
|
|
54
|
+
display: block;
|
|
55
|
+
height: 40px;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
35
60
|
.co-homedecorator {
|
|
36
61
|
//> * {
|
|
37
62
|
// pointer-events: none;
|
package/style/material.scss
CHANGED
|
@@ -58,9 +58,9 @@ $mat-font-family: mat.m2-define-typography-config($font-family: "Montserrat, Ari
|
|
|
58
58
|
padding: 0 !important;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
|
|
62
|
-
padding: 24px;
|
|
63
|
-
}
|
|
61
|
+
//.mat-mdc-dialog-surface {
|
|
62
|
+
// padding: 24px;
|
|
63
|
+
//}
|
|
64
64
|
.mat-mdc-option {
|
|
65
65
|
.mdc-list-item__primary-text {
|
|
66
66
|
color: #000000 !important;
|
|
@@ -83,6 +83,11 @@ $mat-font-family: mat.m2-define-typography-config($font-family: "Montserrat, Ari
|
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
:root {
|
|
86
|
+
@include mat.dialog-overrides((
|
|
87
|
+
content-padding: 24px,
|
|
88
|
+
container-color: white
|
|
89
|
+
|
|
90
|
+
));
|
|
86
91
|
@include mat.slider-overrides((
|
|
87
92
|
active-track-color: $hd-color-main,
|
|
88
93
|
focus-handle-color: $hd-color-main,
|
|
@@ -166,3 +171,31 @@ $mat-font-family: mat.m2-define-typography-config($font-family: "Montserrat, Ari
|
|
|
166
171
|
height: 24px !important;
|
|
167
172
|
width: 24px !important;
|
|
168
173
|
}
|
|
174
|
+
|
|
175
|
+
.mat-mdc-dialog-container {
|
|
176
|
+
padding: 24px;
|
|
177
|
+
background-color: white;
|
|
178
|
+
border-radius: 4px;
|
|
179
|
+
h2, h3, h4, p {
|
|
180
|
+
margin: 0;
|
|
181
|
+
padding: 0;
|
|
182
|
+
margin-block-start: 0;
|
|
183
|
+
margin-block-end: 0;
|
|
184
|
+
margin-inline-start: 0;
|
|
185
|
+
margin-inline-end: 0;
|
|
186
|
+
}
|
|
187
|
+
.mat-mdc-dialog-surface {
|
|
188
|
+
box-shadow: none;
|
|
189
|
+
border-radius: 0;
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.mat-mdc-dialog-content {
|
|
194
|
+
.mat-mdc-list-item {
|
|
195
|
+
height: 72px !important;
|
|
196
|
+
}
|
|
197
|
+
.mdc-list-item__primary-text {
|
|
198
|
+
color: #000000 !important;
|
|
199
|
+
white-space: break-spaces;
|
|
200
|
+
}
|
|
201
|
+
}
|