@colijnit/homedecorator 262.1.6 → 262.1.7
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 +1 -1
- package/app/plugins/render/render-controls/input-slider/input-slider.component.scss +4 -4
- package/app/plugins/render/render-progress/render-progress.component.scss +2 -2
- package/app/shared/upload-model-dialog/components/model-previewer/model-preview.component.scss +159 -256
- package/app/shared/upload-model-dialog/upload-model-dialog.component.scss +30 -15
- package/assets/icons/arrow_up.svg +1 -0
- package/assets/icons/crosshair_regular_full.svg +1 -0
- package/assets/icons/cube_regular.svg +1 -0
- package/assets/icons/sliders_solid_full.svg +1 -0
- package/fesm2022/colijnit-homedecorator.mjs +1427 -1238
- package/fesm2022/colijnit-homedecorator.mjs.map +1 -1
- package/index.d.ts +118 -46
- package/package.json +1 -1
- package/style/_variables.scss +11 -6
- package/style/homedecorator-globals.scss +5 -5
- package/style/material.scss +0 -3
- package/style/styles.scss +19 -9
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { OnDestroy, OnInit, TemplateRef, ChangeDetectorRef, Injector, PipeTransform, ElementRef, AfterViewInit, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { OnDestroy, OnInit, TemplateRef, ChangeDetectorRef, Injector, PipeTransform, ElementRef, AfterViewInit, EventEmitter, OnChanges, SimpleChanges, AfterContentChecked, WritableSignal } 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';
|
|
@@ -54,7 +54,7 @@ import { MatDialog, MatDialogRef, MatDialogConfig } from '@angular/material/dial
|
|
|
54
54
|
import * as i3 from '@angular/common';
|
|
55
55
|
import * as i4 from '@angular/material/button';
|
|
56
56
|
import * as i20 from '@angular/material/tooltip';
|
|
57
|
-
import * as
|
|
57
|
+
import * as i13 from '@colijnit/corecomponents_v12';
|
|
58
58
|
import * as i5 from '@angular/material/list';
|
|
59
59
|
import * as i19 from '@angular/material/checkbox';
|
|
60
60
|
import * as i6 from '@angular/forms';
|
|
@@ -70,8 +70,8 @@ import * as i10 from '@angular/material/select';
|
|
|
70
70
|
import { ColorEvent } from 'ngx-color';
|
|
71
71
|
import * as i2 from 'ngx-color/sketch';
|
|
72
72
|
import * as i12 from '@angular/material/slide-toggle';
|
|
73
|
-
import * as i13 from '@angular/material/grid-list';
|
|
74
|
-
import * as i13$
|
|
73
|
+
import * as i13$1 from '@angular/material/grid-list';
|
|
74
|
+
import * as i13$2 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
77
|
import * as i7$1 from '@angular/flex-layout';
|
|
@@ -87,7 +87,7 @@ import * as i9 from '@angular/material/sidenav';
|
|
|
87
87
|
import { MatDrawer } from '@angular/material/sidenav';
|
|
88
88
|
import * as i15 from '@angular/material/tabs';
|
|
89
89
|
import * as i42 from '@angular/material/divider';
|
|
90
|
-
import * as i13$
|
|
90
|
+
import * as i13$3 from '@angular/cdk/drag-drop';
|
|
91
91
|
import * as i2$1 from 'ngx-color/chrome';
|
|
92
92
|
import { OrbitControls } from 'three/examples/jsm/controls/OrbitControls.js';
|
|
93
93
|
import { ActivatedRoute } from '@angular/router';
|
|
@@ -2075,6 +2075,7 @@ interface Metadata {
|
|
|
2075
2075
|
colorable?: boolean;
|
|
2076
2076
|
default180?: boolean;
|
|
2077
2077
|
objectUUID?: string;
|
|
2078
|
+
materialDiff?: any;
|
|
2078
2079
|
conversionGTMSend?: boolean;
|
|
2079
2080
|
conversionSubmittedPrice?: string;
|
|
2080
2081
|
hdecoType?: string;
|
|
@@ -2374,6 +2375,7 @@ declare class Item extends BaseItem {
|
|
|
2374
2375
|
beforeRemoveFromWall(): void;
|
|
2375
2376
|
protected handlePositionFromRawMetadata(): void;
|
|
2376
2377
|
protected handleScaleFromRawMetadata(): void;
|
|
2378
|
+
protected handleMaterialDiffFromRawMetadata(): void;
|
|
2377
2379
|
protected handleElevationFromRawMetadata(): void;
|
|
2378
2380
|
protected handleRotationFromRawMetadata(): void;
|
|
2379
2381
|
private _fakeHandler;
|
|
@@ -3202,7 +3204,7 @@ declare class HdLoaderComponent {
|
|
|
3202
3204
|
|
|
3203
3205
|
declare class HdLoaderModule {
|
|
3204
3206
|
static ɵfac: i0.ɵɵFactoryDeclaration<HdLoaderModule, never>;
|
|
3205
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<HdLoaderModule, [typeof HdLoaderComponent], [typeof CoreModule, typeof
|
|
3207
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<HdLoaderModule, [typeof HdLoaderComponent], [typeof CoreModule, typeof i13.LoaderModule], [typeof HdLoaderComponent]>;
|
|
3206
3208
|
static ɵinj: i0.ɵɵInjectorDeclaration<HdLoaderModule>;
|
|
3207
3209
|
}
|
|
3208
3210
|
|
|
@@ -3957,6 +3959,41 @@ declare class BaseWall extends Mesh implements BluePrintWall {
|
|
|
3957
3959
|
private _updateDirectionVector;
|
|
3958
3960
|
private _positionWall;
|
|
3959
3961
|
private _reCreateWallGeometry;
|
|
3962
|
+
/**
|
|
3963
|
+
* Build the wall solid in wall-local space as a mitred prism. The footprint comes from
|
|
3964
|
+
* _footprintCornersLocal() (symmetric mitre, so adjacent walls meet exactly and never overlap).
|
|
3965
|
+
* Six faces map onto the same material indices as the old BoxGeometry: room-facing (+Z) = front,
|
|
3966
|
+
* far side (-Z) = back, the two ends are the caps (index 0 = start/+X, index 1 = end/-X), plus
|
|
3967
|
+
* top (2) and bottom (3). A degenerate footprint falls back to a straight rectangle.
|
|
3968
|
+
*/
|
|
3969
|
+
private _createWallGeometry;
|
|
3970
|
+
/**
|
|
3971
|
+
* Append one planar quad (a->b->c->d) as two triangles. Winding is chosen so the face normal
|
|
3972
|
+
* points along `outward`, so all faces are correctly oriented for FrontSide rendering regardless
|
|
3973
|
+
* of how the mitred corners fall. UVs span 0..1 (U across, V up) so wall textures tile as before.
|
|
3974
|
+
*/
|
|
3975
|
+
private _pushQuad;
|
|
3976
|
+
private _toLocal;
|
|
3977
|
+
/**
|
|
3978
|
+
* The wall footprint (interior/exterior corners at both ends) in wall-local space, computed
|
|
3979
|
+
* symmetrically so adjacent walls agree on the shared corner. calculateCorners()/GetHalfAngleVector
|
|
3980
|
+
* offset the neighbour's line using THIS wall's interiorSign; when two neighbours are wound in
|
|
3981
|
+
* opposite directions (common after loading a saved project) they then compute slightly different
|
|
3982
|
+
* mitre points, leaving an overlap wedge that z-fights. Here the mitre is the intersection of the
|
|
3983
|
+
* two walls' offset lines, using roomCenter as the shared "which side is inside" reference, so both
|
|
3984
|
+
* neighbours produce the identical point. Free ends (no single neighbour) get a straight cap.
|
|
3985
|
+
*/
|
|
3986
|
+
private _footprintCornersLocal;
|
|
3987
|
+
/** Interior + exterior footprint point at one wall end, mitred with the single connected neighbour. */
|
|
3988
|
+
private _cornerFootprint;
|
|
3989
|
+
/** The single other wall attached to this corner, or null for free ends and >2-wall junctions. */
|
|
3990
|
+
private _neighbourAtCorner;
|
|
3991
|
+
/** Point on the segment p1->corner shifted perpendicular by `off` (>0 toward room, <0 away). */
|
|
3992
|
+
private _offsetPoint;
|
|
3993
|
+
/** Offset the segment p1->p2 sideways by `off` (>0 toward room); returns a point + direction, or null if degenerate. */
|
|
3994
|
+
private _offsetLine;
|
|
3995
|
+
/** Intersection of the two walls' offset lines (side=1 interior, side=-1 exterior), or null if parallel. */
|
|
3996
|
+
private _intersectOffsetLines;
|
|
3960
3997
|
private _disposePreviousGeometries;
|
|
3961
3998
|
}
|
|
3962
3999
|
|
|
@@ -4989,6 +5026,7 @@ declare enum IconEnum {
|
|
|
4989
5026
|
ArrowTurnLeftRegular = "arrow_turn_left_regular",
|
|
4990
5027
|
ArrowTurnRight = "arrow_turn_right",
|
|
4991
5028
|
ArrowTurnRightRegular = "arrow_turn_right_regular",
|
|
5029
|
+
ArrowUp = "arrow_up",
|
|
4992
5030
|
ArCircle = "ar_circle",
|
|
4993
5031
|
Brush = "brush",
|
|
4994
5032
|
CameraSolid = "camera_solid",
|
|
@@ -5016,9 +5054,11 @@ declare enum IconEnum {
|
|
|
5016
5054
|
CopyLight = "copy_light",
|
|
5017
5055
|
Couch = "couch",
|
|
5018
5056
|
Cross = "cross",
|
|
5057
|
+
CrosshairRegularFull = "crosshair_regular_full",
|
|
5019
5058
|
CubeOutline = "cube-outline",
|
|
5020
5059
|
CubeUnfolded = "cube-unfolded",
|
|
5021
5060
|
Cube = "cube",
|
|
5061
|
+
CubeRegular = "cube_regular",
|
|
5022
5062
|
DashButton = "dash-button",
|
|
5023
5063
|
DeleteButton = "delete-button",
|
|
5024
5064
|
Download = "download",
|
|
@@ -5066,6 +5106,7 @@ declare enum IconEnum {
|
|
|
5066
5106
|
RotateLight = "rotate_light",
|
|
5067
5107
|
Scale = "scale",
|
|
5068
5108
|
Settings = "settings",
|
|
5109
|
+
SlidersSolidFull = "sliders_solid_full",
|
|
5069
5110
|
SquareCheckRegular = "square_check_regular",
|
|
5070
5111
|
SquareChevronDownRegular = "square_chevron_down_regular",
|
|
5071
5112
|
SquareRegular = "square_regular",
|
|
@@ -5525,8 +5566,6 @@ declare abstract class BuildFurnitureBaseService implements OnDestroy {
|
|
|
5525
5566
|
get useNodeIdToLink(): boolean;
|
|
5526
5567
|
get currentCustomFloorGroup(): Item;
|
|
5527
5568
|
set currentCustomFloorGroup(item: Item);
|
|
5528
|
-
get standAlone(): boolean;
|
|
5529
|
-
set standAlone(value: boolean);
|
|
5530
5569
|
get selections(): Selection[];
|
|
5531
5570
|
get scene(): Scene;
|
|
5532
5571
|
defaultPosition: Vector3;
|
|
@@ -5593,7 +5632,7 @@ declare abstract class BuildFurnitureBaseService implements OnDestroy {
|
|
|
5593
5632
|
replaceSelection(selection: Selection, metadata: Metadata): Promise<void>;
|
|
5594
5633
|
selectAnswer(answer: Answer, input: string, metadata: Metadata): Promise<void>;
|
|
5595
5634
|
selectSelectionAsAnswer(chosenOption: SelectorStructure, metadata: Metadata): Promise<void>;
|
|
5596
|
-
createConfigurableItemWithObject(
|
|
5635
|
+
createConfigurableItemWithObject(metadata: Metadata, object: Object3D): Item;
|
|
5597
5636
|
createFloorWithMaterial(instanceId: string, metadata: Metadata, material: Material): CustomFloorGroupResult;
|
|
5598
5637
|
replaceCurrentItem(newItem: Item, metadata: Metadata, animate?: boolean): Promise<Item>;
|
|
5599
5638
|
protected prepareInstanceForBuild(shouldCopyInstance: boolean, loadFromProject: boolean, looseOriginalConfiguration: boolean, result: CustomFloorGroupResult): Promise<CustomFloorGroupResult>;
|
|
@@ -6096,7 +6135,7 @@ declare class ColorPickerDialogModule {
|
|
|
6096
6135
|
|
|
6097
6136
|
declare class DevelopmentModule {
|
|
6098
6137
|
static ɵfac: i0.ɵɵFactoryDeclaration<DevelopmentModule, never>;
|
|
6099
|
-
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
|
|
6138
|
+
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 i13.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]>;
|
|
6100
6139
|
static ɵinj: i0.ɵɵInjectorDeclaration<DevelopmentModule>;
|
|
6101
6140
|
}
|
|
6102
6141
|
|
|
@@ -6116,7 +6155,7 @@ declare class ToolbarIconComponent {
|
|
|
6116
6155
|
|
|
6117
6156
|
declare class ToolbarIconModule {
|
|
6118
6157
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarIconModule, never>;
|
|
6119
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ToolbarIconModule, [typeof ToolbarIconComponent], [typeof i3.CommonModule, typeof i7.MatIconModule, typeof i4.MatButtonModule, typeof i20.MatTooltipModule, typeof
|
|
6158
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ToolbarIconModule, [typeof ToolbarIconComponent], [typeof i3.CommonModule, typeof i7.MatIconModule, typeof i4.MatButtonModule, typeof i20.MatTooltipModule, typeof i13.IconModule], [typeof ToolbarIconComponent]>;
|
|
6120
6159
|
static ɵinj: i0.ɵɵInjectorDeclaration<ToolbarIconModule>;
|
|
6121
6160
|
}
|
|
6122
6161
|
|
|
@@ -6376,13 +6415,13 @@ declare class InputSliderComponent {
|
|
|
6376
6415
|
|
|
6377
6416
|
declare class InputSliderModule {
|
|
6378
6417
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputSliderModule, never>;
|
|
6379
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<InputSliderModule, [typeof InputSliderComponent], [typeof i6.FormsModule, typeof
|
|
6418
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<InputSliderModule, [typeof InputSliderComponent], [typeof i6.FormsModule, typeof i13.IconModule, typeof i13.InputTextModule, typeof i13.InputNumberPickerModule], [typeof InputSliderComponent]>;
|
|
6380
6419
|
static ɵinj: i0.ɵɵInjectorDeclaration<InputSliderModule>;
|
|
6381
6420
|
}
|
|
6382
6421
|
|
|
6383
6422
|
declare class RenderModule {
|
|
6384
6423
|
static ɵfac: i0.ɵɵFactoryDeclaration<RenderModule, never>;
|
|
6385
|
-
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$
|
|
6424
|
+
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$1.MatGridListModule, typeof i13$2.MatProgressSpinnerModule, typeof i6.FormsModule, typeof i13.IconModule, typeof i11.MatSliderModule, typeof i13.TooltipDirectiveModule, typeof ProgressBarModule, typeof InputSliderModule], [typeof RenderControlsComponent, typeof RenderProgressComponent]>;
|
|
6386
6425
|
static ɵinj: i0.ɵɵInjectorDeclaration<RenderModule>;
|
|
6387
6426
|
}
|
|
6388
6427
|
|
|
@@ -6406,7 +6445,7 @@ declare class SliderInputModule {
|
|
|
6406
6445
|
|
|
6407
6446
|
declare class Core3dModule {
|
|
6408
6447
|
static ɵfac: i0.ɵɵFactoryDeclaration<Core3dModule, never>;
|
|
6409
|
-
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 i20.MatTooltipModule, typeof i11.MatSliderModule, typeof i10.MatSelectModule, typeof DevelopmentModule, typeof
|
|
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 i20.MatTooltipModule, typeof i11.MatSliderModule, typeof i10.MatSelectModule, typeof DevelopmentModule, typeof i13.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]>;
|
|
6410
6449
|
static ɵinj: i0.ɵɵInjectorDeclaration<Core3dModule>;
|
|
6411
6450
|
}
|
|
6412
6451
|
|
|
@@ -7885,7 +7924,7 @@ declare class RightContextMenuComponent implements OnInit, OnDestroy, OnChanges
|
|
|
7885
7924
|
|
|
7886
7925
|
declare class ContextMenuModule {
|
|
7887
7926
|
static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuModule, never>;
|
|
7888
|
-
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
|
|
7927
|
+
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 i13.IconModule], [typeof ContextMenuComponent, typeof ItemContextMenuComponent, typeof RightContextMenuComponent]>;
|
|
7889
7928
|
static ɵinj: i0.ɵɵInjectorDeclaration<ContextMenuModule>;
|
|
7890
7929
|
}
|
|
7891
7930
|
|
|
@@ -7925,7 +7964,7 @@ declare class ButtonElevationComponent implements OnDestroy {
|
|
|
7925
7964
|
|
|
7926
7965
|
declare class ButtonElevationModule {
|
|
7927
7966
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonElevationModule, never>;
|
|
7928
|
-
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.FormsModule, typeof
|
|
7967
|
+
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.FormsModule, typeof i13.IconModule], [typeof ButtonElevationComponent]>;
|
|
7929
7968
|
static ɵinj: i0.ɵɵInjectorDeclaration<ButtonElevationModule>;
|
|
7930
7969
|
}
|
|
7931
7970
|
|
|
@@ -7978,7 +8017,7 @@ declare class MaterialDialogComponent implements OnInit, OnDestroy {
|
|
|
7978
8017
|
|
|
7979
8018
|
declare class MaterialDialogModule {
|
|
7980
8019
|
static ɵfac: i0.ɵɵFactoryDeclaration<MaterialDialogModule, never>;
|
|
7981
|
-
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
|
|
8020
|
+
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 i13.ListOfValuesModule, typeof i13$3.DragDropModule], never>;
|
|
7982
8021
|
static ɵinj: i0.ɵɵInjectorDeclaration<MaterialDialogModule>;
|
|
7983
8022
|
}
|
|
7984
8023
|
|
|
@@ -8034,10 +8073,19 @@ interface UploadFileData {
|
|
|
8034
8073
|
fileType: string;
|
|
8035
8074
|
}
|
|
8036
8075
|
|
|
8037
|
-
|
|
8076
|
+
interface Tab {
|
|
8077
|
+
index: number;
|
|
8078
|
+
active: boolean;
|
|
8079
|
+
icon: IconEnum;
|
|
8080
|
+
title: string;
|
|
8081
|
+
}
|
|
8082
|
+
declare class UploadModelDialogComponent implements AfterViewInit, AfterContentChecked {
|
|
8038
8083
|
data: ModelUploadDialogData;
|
|
8084
|
+
iconCacheService: HomedecoratorIconCacheService;
|
|
8039
8085
|
private _dialogRef;
|
|
8086
|
+
readonly icon: typeof IconEnum;
|
|
8040
8087
|
set child(content: ElementRef);
|
|
8088
|
+
tabs: Tab[];
|
|
8041
8089
|
activeTab: number;
|
|
8042
8090
|
contentWidth: number;
|
|
8043
8091
|
showImageUploadButton: boolean;
|
|
@@ -8051,15 +8099,16 @@ declare class UploadModelDialogComponent implements AfterViewInit {
|
|
|
8051
8099
|
private _settingsService;
|
|
8052
8100
|
private _messageService;
|
|
8053
8101
|
private _modelCreationService;
|
|
8054
|
-
constructor(data: ModelUploadDialogData, _dialogRef: MatDialogRef<UploadModelDialogComponent>);
|
|
8102
|
+
constructor(data: ModelUploadDialogData, iconCacheService: HomedecoratorIconCacheService, _dialogRef: MatDialogRef<UploadModelDialogComponent>);
|
|
8055
8103
|
ngAfterViewInit(): Promise<void>;
|
|
8104
|
+
ngAfterContentChecked(): void;
|
|
8056
8105
|
addToScene(model: any): void;
|
|
8057
8106
|
handleFileUploaded(fileData: UploadFileData): void;
|
|
8058
8107
|
downloadGlbData(data: {
|
|
8059
8108
|
url: string;
|
|
8060
8109
|
description: string;
|
|
8061
8110
|
}): Promise<void>;
|
|
8062
|
-
handleTabClick(
|
|
8111
|
+
handleTabClick(tab: Tab): void;
|
|
8063
8112
|
static ɵfac: i0.ɵɵFactoryDeclaration<UploadModelDialogComponent, never>;
|
|
8064
8113
|
static ɵcmp: i0.ɵɵComponentDeclaration<UploadModelDialogComponent, "rp-upload-model-dialog", never, {}, {}, never, never, false, never>;
|
|
8065
8114
|
}
|
|
@@ -8081,13 +8130,11 @@ declare class ModelUploaderComponent {
|
|
|
8081
8130
|
}
|
|
8082
8131
|
|
|
8083
8132
|
declare class ModelPreviewComponent implements OnInit, OnDestroy {
|
|
8133
|
+
iconCacheService: HomedecoratorIconCacheService;
|
|
8084
8134
|
private _adapterService;
|
|
8085
|
-
private _dialogRef;
|
|
8086
|
-
private _messageService;
|
|
8087
|
-
private _dialog;
|
|
8088
8135
|
private _fontService;
|
|
8089
|
-
|
|
8090
|
-
|
|
8136
|
+
readonly icons: typeof IconEnum;
|
|
8137
|
+
canvasContainer: ElementRef;
|
|
8091
8138
|
fileData: UploadFileData;
|
|
8092
8139
|
threeDPath: string;
|
|
8093
8140
|
thirdPartyModelService: ThirdPartyModelService;
|
|
@@ -8101,7 +8148,7 @@ declare class ModelPreviewComponent implements OnInit, OnDestroy {
|
|
|
8101
8148
|
boundingBoxSize: Vector3;
|
|
8102
8149
|
loadedModel: any;
|
|
8103
8150
|
unitsOfMeasurement: string;
|
|
8104
|
-
units:
|
|
8151
|
+
units: any[];
|
|
8105
8152
|
modelName: string;
|
|
8106
8153
|
mathPi: number;
|
|
8107
8154
|
showReferenceModel: boolean;
|
|
@@ -8113,31 +8160,52 @@ declare class ModelPreviewComponent implements OnInit, OnDestroy {
|
|
|
8113
8160
|
font: Font;
|
|
8114
8161
|
stackable: boolean;
|
|
8115
8162
|
heightAdjustable: boolean;
|
|
8163
|
+
scalable: boolean;
|
|
8164
|
+
colorable: boolean;
|
|
8116
8165
|
placementOptions: CoDomainValue[];
|
|
8117
|
-
|
|
8118
|
-
canvReference: HTMLElement;
|
|
8166
|
+
currentPlacement: CoDomainValue;
|
|
8119
8167
|
hasErrors: boolean;
|
|
8120
8168
|
listOfErrors: any[];
|
|
8121
8169
|
showLoader: boolean;
|
|
8122
|
-
|
|
8170
|
+
referenceModel: Object3D;
|
|
8171
|
+
currentUnit: {
|
|
8172
|
+
id: number;
|
|
8173
|
+
unit: string;
|
|
8174
|
+
};
|
|
8175
|
+
modelHeight: number;
|
|
8176
|
+
readonly positionX: WritableSignal<number>;
|
|
8177
|
+
readonly positionY: WritableSignal<number>;
|
|
8178
|
+
readonly positionZ: WritableSignal<number>;
|
|
8179
|
+
readonly rotationX: WritableSignal<number>;
|
|
8180
|
+
readonly rotationY: WritableSignal<number>;
|
|
8181
|
+
readonly rotationZ: WritableSignal<number>;
|
|
8123
8182
|
private _measurements;
|
|
8124
|
-
constructor(
|
|
8183
|
+
constructor(iconCacheService: HomedecoratorIconCacheService, _adapterService: HomedecoratorConnectorAdapterService, _fontService: FontService);
|
|
8125
8184
|
ngOnInit(): void;
|
|
8126
8185
|
ngOnDestroy(): void;
|
|
8186
|
+
reset(): void;
|
|
8127
8187
|
initScene(): void;
|
|
8128
8188
|
loadFloorPlane(): void;
|
|
8129
8189
|
loadReferenceModel(): void;
|
|
8130
|
-
loadModel(): void
|
|
8190
|
+
loadModel(): Promise<void>;
|
|
8131
8191
|
loadHDRI(path: string): Promise<void>;
|
|
8132
8192
|
addModelToScene(): void;
|
|
8133
|
-
|
|
8134
|
-
|
|
8135
|
-
|
|
8193
|
+
changeUnit(unit: {
|
|
8194
|
+
id: number;
|
|
8195
|
+
unit: string;
|
|
8196
|
+
}): void;
|
|
8197
|
+
changeModelHeight(height: number): void;
|
|
8198
|
+
rotateModel(axis: 'x' | 'y' | 'z' | 'all', degrees: number): void;
|
|
8199
|
+
moveModel(axis: 'x' | 'y' | 'z' | 'all', value: number): void;
|
|
8136
8200
|
setUnit(event: any): void;
|
|
8137
|
-
toggleShowReferenceModel(
|
|
8201
|
+
toggleShowReferenceModel(): void;
|
|
8138
8202
|
setStackable(event: any): void;
|
|
8139
8203
|
setHeightAdjustable(event: any): void;
|
|
8140
8204
|
closePreview(): void;
|
|
8205
|
+
onPositionChange(axis: 'x' | 'y' | 'z', value: number): void;
|
|
8206
|
+
onRotationChange(axis: 'x' | 'y' | 'z', degrees: number): void;
|
|
8207
|
+
private _checkCanvasResize;
|
|
8208
|
+
private _updateWindowSize;
|
|
8141
8209
|
private _animate;
|
|
8142
8210
|
private _render;
|
|
8143
8211
|
private _downloadModel;
|
|
@@ -8149,6 +8217,7 @@ declare class ModelPreviewComponent implements OnInit, OnDestroy {
|
|
|
8149
8217
|
private _stlLoader;
|
|
8150
8218
|
private _addFromGeometry;
|
|
8151
8219
|
private _prepModelForScene;
|
|
8220
|
+
private _syncTransformSignals;
|
|
8152
8221
|
private _getBoundingBox;
|
|
8153
8222
|
private _applyTransforms;
|
|
8154
8223
|
private _setMeasurements;
|
|
@@ -8176,13 +8245,13 @@ declare class LoaderModule {
|
|
|
8176
8245
|
|
|
8177
8246
|
declare class UploadModelDialogModule {
|
|
8178
8247
|
static ɵfac: i0.ɵɵFactoryDeclaration<UploadModelDialogModule, never>;
|
|
8179
|
-
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.FormsModule],
|
|
8248
|
+
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.FormsModule, typeof i13.IconModule, typeof i13.ListOfValuesModule, typeof i13.ButtonModule, typeof i13.InputNumberPickerModule, typeof i13.InputCheckboxModule, typeof i13.InputTextModule], [typeof ModelPreviewComponent]>;
|
|
8180
8249
|
static ɵinj: i0.ɵɵInjectorDeclaration<UploadModelDialogModule>;
|
|
8181
8250
|
}
|
|
8182
8251
|
|
|
8183
8252
|
declare class RoomPlannerModule {
|
|
8184
8253
|
static ɵfac: i0.ɵɵFactoryDeclaration<RoomPlannerModule, never>;
|
|
8185
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<RoomPlannerModule, [typeof ColorPickerComponent, typeof EditApplyComponent, typeof ObjectLibraryComponent, typeof RoomPlannerComponent, typeof FloorplannerComponent, typeof SelectedFloorComponent, typeof SelectedObjectComponent, typeof SelectedThreedObjectComponent, typeof SelectedWallComponent, typeof SettingsComponent, typeof SettingsOptionsComponent, typeof TexturePickerComponent, typeof TextureEditorComponent, typeof EditParameterComponent, typeof RalColorPickerComponent, typeof DimensionInputComponent, typeof FileDropComponent, typeof AppearanceSectionComponent, typeof FloorCatalogComponent, typeof CustomShapeCreatorComponent, typeof WallLengthInputComponent, typeof CustomCylinderCreatorComponent, typeof SelectedObjectScaleComponent, typeof ConfigurationPresetLoaderComponent], [typeof CoreModule, typeof CategoryLibraryModule, typeof i3.CommonModule, typeof ContextMenuModule, typeof i4.MatButtonModule, typeof i8.MatButtonToggleModule, typeof i10$1.MatCardModule, typeof i19.MatCheckboxModule, typeof i4$2.MatFormFieldModule, typeof i5$1.MatInputModule, typeof i9.MatSidenavModule, typeof i11.MatSliderModule, typeof i12.MatSlideToggleModule, typeof i13.MatGridListModule, typeof i7.MatIconModule, typeof i15.MatTabsModule, typeof i10.MatSelectModule, typeof i42.MatDividerModule, typeof i20.MatTooltipModule, typeof i44.MatSnackBarModule, typeof i6.FormsModule, typeof InfoDialogModule, typeof Core3dModule, typeof ToolbarIconModule, typeof ZoomControlsModule, typeof RenderModule, typeof SliderInputModule, typeof i7$1.FlexLayoutModule, typeof
|
|
8254
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<RoomPlannerModule, [typeof ColorPickerComponent, typeof EditApplyComponent, typeof ObjectLibraryComponent, typeof RoomPlannerComponent, typeof FloorplannerComponent, typeof SelectedFloorComponent, typeof SelectedObjectComponent, typeof SelectedThreedObjectComponent, typeof SelectedWallComponent, typeof SettingsComponent, typeof SettingsOptionsComponent, typeof TexturePickerComponent, typeof TextureEditorComponent, typeof EditParameterComponent, typeof RalColorPickerComponent, typeof DimensionInputComponent, typeof FileDropComponent, typeof AppearanceSectionComponent, typeof FloorCatalogComponent, typeof CustomShapeCreatorComponent, typeof WallLengthInputComponent, typeof CustomCylinderCreatorComponent, typeof SelectedObjectScaleComponent, typeof ConfigurationPresetLoaderComponent], [typeof CoreModule, typeof CategoryLibraryModule, typeof i3.CommonModule, typeof ContextMenuModule, typeof i4.MatButtonModule, typeof i8.MatButtonToggleModule, typeof i10$1.MatCardModule, typeof i19.MatCheckboxModule, typeof i4$2.MatFormFieldModule, typeof i5$1.MatInputModule, typeof i9.MatSidenavModule, typeof i11.MatSliderModule, typeof i12.MatSlideToggleModule, typeof i13$1.MatGridListModule, typeof i7.MatIconModule, typeof i15.MatTabsModule, typeof i10.MatSelectModule, typeof i42.MatDividerModule, typeof i20.MatTooltipModule, typeof i44.MatSnackBarModule, typeof i6.FormsModule, typeof InfoDialogModule, typeof Core3dModule, typeof ToolbarIconModule, typeof ZoomControlsModule, typeof RenderModule, typeof SliderInputModule, typeof i7$1.FlexLayoutModule, typeof i13.IconModule, typeof i13.ButtonModule, typeof ButtonElevationModule, typeof ExportPdfModule, typeof MaterialDialogModule, typeof RgbColorPickerModule, typeof UploadModelDialogModule], [typeof RoomPlannerComponent]>;
|
|
8186
8255
|
static ɵinj: i0.ɵɵInjectorDeclaration<RoomPlannerModule>;
|
|
8187
8256
|
}
|
|
8188
8257
|
|
|
@@ -8284,7 +8353,7 @@ declare class FurnitureLibraryComponent implements OnDestroy {
|
|
|
8284
8353
|
|
|
8285
8354
|
declare class FurnitureManagerModule {
|
|
8286
8355
|
static ɵfac: i0.ɵɵFactoryDeclaration<FurnitureManagerModule, never>;
|
|
8287
|
-
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]>;
|
|
8356
|
+
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$1.MatGridListModule, typeof i7.MatIconModule, typeof i15.MatTabsModule, typeof Core3dModule, typeof ToolbarIconModule], [typeof FurnitureManagerComponent]>;
|
|
8288
8357
|
static ɵinj: i0.ɵɵInjectorDeclaration<FurnitureManagerModule>;
|
|
8289
8358
|
}
|
|
8290
8359
|
|
|
@@ -8396,6 +8465,7 @@ declare class ThreedselectorComponent implements OnInit, OnDestroy {
|
|
|
8396
8465
|
showProgressText: boolean;
|
|
8397
8466
|
showLoaderBar: boolean;
|
|
8398
8467
|
showFullConfiguration: boolean;
|
|
8468
|
+
currentMetadata: Metadata;
|
|
8399
8469
|
configuratorSettings: any;
|
|
8400
8470
|
configuratorSku: string;
|
|
8401
8471
|
configuratorInstanceId: string;
|
|
@@ -8414,6 +8484,7 @@ declare class ThreedselectorComponent implements OnInit, OnDestroy {
|
|
|
8414
8484
|
private _loadedFromPreset;
|
|
8415
8485
|
private _loadedFromProject;
|
|
8416
8486
|
private _loadedShouldCopyInstance;
|
|
8487
|
+
private _userActionNeeded;
|
|
8417
8488
|
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);
|
|
8418
8489
|
ngOnInit(): void;
|
|
8419
8490
|
ngOnDestroy(): void;
|
|
@@ -8441,6 +8512,7 @@ declare class ThreedselectorComponent implements OnInit, OnDestroy {
|
|
|
8441
8512
|
configureFurnitureFromPreset(sku: string, instanceId: string, settings?: Options): Promise<CustomFloorGroupResult>;
|
|
8442
8513
|
private _initConfigurator;
|
|
8443
8514
|
private _prepareSettings;
|
|
8515
|
+
private _shouldResetConfigurator;
|
|
8444
8516
|
private _resetConfigurator;
|
|
8445
8517
|
private _waitForBuildToFinish;
|
|
8446
8518
|
private _setSourceSettings;
|
|
@@ -8621,7 +8693,7 @@ declare class ModelDialogFurnitureListComponent implements OnInit {
|
|
|
8621
8693
|
|
|
8622
8694
|
declare class ModelDialogModule {
|
|
8623
8695
|
static ɵfac: i0.ɵɵFactoryDeclaration<ModelDialogModule, never>;
|
|
8624
|
-
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
|
|
8696
|
+
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 i13.IconModule, typeof i6.FormsModule], never>;
|
|
8625
8697
|
static ɵinj: i0.ɵɵInjectorDeclaration<ModelDialogModule>;
|
|
8626
8698
|
}
|
|
8627
8699
|
|
|
@@ -8690,7 +8762,7 @@ declare class CameraSettingsDialogModule {
|
|
|
8690
8762
|
|
|
8691
8763
|
declare class ThreedselectorModule {
|
|
8692
8764
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThreedselectorModule, never>;
|
|
8693
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ThreedselectorModule, [typeof ThreedselectorComponent, typeof ElementToolbarComponent, typeof ElementButtonsComponent, typeof ElementSliderComponent], [typeof i3.CommonModule, typeof i6.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
|
|
8765
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ThreedselectorModule, [typeof ThreedselectorComponent, typeof ElementToolbarComponent, typeof ElementButtonsComponent, typeof ElementSliderComponent], [typeof i3.CommonModule, typeof i6.FormsModule, typeof i4.MatButtonModule, typeof i8.MatButtonToggleModule, typeof i9.MatSidenavModule, typeof i10$1.MatCardModule, typeof i11.MatSliderModule, typeof i12.MatSlideToggleModule, typeof i13$1.MatGridListModule, typeof i7.MatIconModule, typeof i15.MatTabsModule, typeof Core3dModule, typeof CoreModule, typeof i13.IconModule, typeof ToolbarIconModule, typeof InfoDialogModule, typeof ErrorDialogModule, typeof ModelDialogModule, typeof ExportDialogModule, typeof CameraSettingsDialogModule, typeof i25.ProductConfiguratorModule, typeof i25.ConfiguratorModule], [typeof ElementButtonsComponent, typeof ThreedselectorComponent]>;
|
|
8694
8766
|
static ɵinj: i0.ɵɵInjectorDeclaration<ThreedselectorModule>;
|
|
8695
8767
|
}
|
|
8696
8768
|
|
|
@@ -9250,13 +9322,13 @@ declare class ThreedInPhotoSceneComponent implements AfterViewInit {
|
|
|
9250
9322
|
|
|
9251
9323
|
declare class ThreedInPhotoModule {
|
|
9252
9324
|
static ɵfac: i0.ɵɵFactoryDeclaration<ThreedInPhotoModule, never>;
|
|
9253
|
-
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$
|
|
9325
|
+
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$3.DragDropModule, typeof i7.MatIconModule], [typeof ThreedInPhotoSceneComponent]>;
|
|
9254
9326
|
static ɵinj: i0.ɵɵInjectorDeclaration<ThreedInPhotoModule>;
|
|
9255
9327
|
}
|
|
9256
9328
|
|
|
9257
9329
|
declare class ToolbarModule {
|
|
9258
9330
|
static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarModule, never>;
|
|
9259
|
-
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 i20.MatTooltipModule, typeof i9.MatSidenavModule, typeof i5.MatListModule, typeof i4$1.MatDialogModule, typeof i8.MatButtonToggleModule, typeof i44.MatSnackBarModule, typeof i5$1.MatInputModule, typeof i4$2.MatFormFieldModule, typeof i10$1.MatCardModule, typeof i13.MatGridListModule, typeof i31$1.MatMenuModule, typeof i7$1.FlexLayoutModule, typeof i33.PortalModule, typeof ToolbarIconModule, typeof
|
|
9331
|
+
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 i20.MatTooltipModule, typeof i9.MatSidenavModule, typeof i5.MatListModule, typeof i4$1.MatDialogModule, typeof i8.MatButtonToggleModule, typeof i44.MatSnackBarModule, typeof i5$1.MatInputModule, typeof i4$2.MatFormFieldModule, typeof i10$1.MatCardModule, typeof i13$1.MatGridListModule, typeof i31$1.MatMenuModule, typeof i7$1.FlexLayoutModule, typeof i33.PortalModule, typeof ToolbarIconModule, typeof i13.InputTextModule, typeof i13.IconModule, typeof i36.MatBadgeModule, typeof ThreedInPhotoModule, typeof i38.PdfViewerModule, typeof ExportPdfModule], [typeof ToolbarComponent]>;
|
|
9260
9332
|
static ɵinj: i0.ɵɵInjectorDeclaration<ToolbarModule>;
|
|
9261
9333
|
}
|
|
9262
9334
|
|
|
@@ -9340,7 +9412,7 @@ declare class ProductOwnCollectionModule {
|
|
|
9340
9412
|
|
|
9341
9413
|
declare class ProductCatalogModule {
|
|
9342
9414
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductCatalogModule, never>;
|
|
9343
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductCatalogModule, [typeof ProductCatalogComponent], [typeof i3.CommonModule, typeof CoreModule, typeof i7.MatIconModule, typeof i4.MatButtonModule, typeof
|
|
9415
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductCatalogModule, [typeof ProductCatalogComponent], [typeof i3.CommonModule, typeof CoreModule, typeof i7.MatIconModule, typeof i4.MatButtonModule, typeof i13.ButtonModule, typeof i13.ImageModule, typeof i7$2.CatalogExternalSourcesModule, typeof ProductOwnCollectionModule, typeof i7$2.CatalogExternalSourceModule], [typeof ProductCatalogComponent]>;
|
|
9344
9416
|
static ɵinj: i0.ɵɵInjectorDeclaration<ProductCatalogModule>;
|
|
9345
9417
|
}
|
|
9346
9418
|
|
|
@@ -9401,13 +9473,13 @@ declare class LightboxComponent {
|
|
|
9401
9473
|
|
|
9402
9474
|
declare class LightboxModule {
|
|
9403
9475
|
static ɵfac: i0.ɵɵFactoryDeclaration<LightboxModule, never>;
|
|
9404
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<LightboxModule, [typeof LightboxComponent], [typeof i3.CommonModule, typeof
|
|
9476
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<LightboxModule, [typeof LightboxComponent], [typeof i3.CommonModule, typeof i13.IconModule], [typeof LightboxComponent]>;
|
|
9405
9477
|
static ɵinj: i0.ɵɵInjectorDeclaration<LightboxModule>;
|
|
9406
9478
|
}
|
|
9407
9479
|
|
|
9408
9480
|
declare class HelpModule {
|
|
9409
9481
|
static ɵfac: i0.ɵɵFactoryDeclaration<HelpModule, never>;
|
|
9410
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<HelpModule, [typeof HelpComponent, typeof HelpDialogComponent], [typeof CoreModule, typeof i3.CommonModule, typeof i13.MatGridListModule, typeof ToolbarIconModule, typeof LightboxModule], [typeof HelpComponent, typeof HelpDialogComponent]>;
|
|
9482
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<HelpModule, [typeof HelpComponent, typeof HelpDialogComponent], [typeof CoreModule, typeof i3.CommonModule, typeof i13$1.MatGridListModule, typeof ToolbarIconModule, typeof LightboxModule], [typeof HelpComponent, typeof HelpDialogComponent]>;
|
|
9411
9483
|
static ɵinj: i0.ɵɵInjectorDeclaration<HelpModule>;
|
|
9412
9484
|
}
|
|
9413
9485
|
|
|
@@ -9425,7 +9497,7 @@ declare class DialogModule {
|
|
|
9425
9497
|
|
|
9426
9498
|
declare class HomedecoratorModule {
|
|
9427
9499
|
static ɵfac: i0.ɵɵFactoryDeclaration<HomedecoratorModule, never>;
|
|
9428
|
-
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
|
|
9500
|
+
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 i13.CoreComponentsTranslationModule, typeof i25.LiteSelectorModule], [typeof HomedecoratorComponent]>;
|
|
9429
9501
|
static ɵinj: i0.ɵɵInjectorDeclaration<HomedecoratorModule>;
|
|
9430
9502
|
}
|
|
9431
9503
|
|
package/package.json
CHANGED
package/style/_variables.scss
CHANGED
|
@@ -1,8 +1,13 @@
|
|
|
1
|
-
$hd-color-
|
|
2
|
-
$
|
|
3
|
-
$hd-color-main: #
|
|
4
|
-
$hd-color-
|
|
5
|
-
|
|
1
|
+
$hd-color-font: #171721 !default;
|
|
2
|
+
$hd-color-main: #D9A42B !default;
|
|
3
|
+
$hd-color-main-light: #f9d78c90 !default;
|
|
4
|
+
$hd-color-add-to-cart-button: #D9A42B !default;
|
|
5
|
+
$hd-color-main-accent: #D9A42B80 !default;
|
|
6
6
|
$hd-color-dialog-background: #FAF8F7 !default;
|
|
7
|
-
|
|
8
7
|
$hd-color-active-dark: #212437 !default;
|
|
8
|
+
$hd-color-border: #ECEDEE !default;
|
|
9
|
+
$hd-color-border-dark: #CDCDCD !default;
|
|
10
|
+
$hd-model-upload-dialog-max-height: 80vh !default;
|
|
11
|
+
$hd-model-upload-dialog-max-width: 60vw !default;
|
|
12
|
+
|
|
13
|
+
$hd-gap-default: 10px !default;
|
|
@@ -33,13 +33,13 @@ $scrollbar-small-stop-point: 25%;
|
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
#material_color_dialog, #upload_model_dialog {
|
|
36
|
-
max-height:
|
|
37
|
-
width:
|
|
36
|
+
max-height: $hd-model-upload-dialog-max-height;
|
|
37
|
+
max-width: $hd-model-upload-dialog-max-width;
|
|
38
38
|
background: $hd-color-dialog-background;
|
|
39
39
|
overflow: hidden;
|
|
40
|
-
color: $hd-color-
|
|
40
|
+
color: $hd-color-font;
|
|
41
41
|
.co-list-of-values {
|
|
42
|
-
color: $hd-color-
|
|
42
|
+
color: $hd-color-font;
|
|
43
43
|
}
|
|
44
44
|
.mat-dialog-content {
|
|
45
45
|
display: flex;
|
|
@@ -62,7 +62,7 @@ $scrollbar-small-stop-point: 25%;
|
|
|
62
62
|
// pointer-events: none;
|
|
63
63
|
//}
|
|
64
64
|
.add-to-cart-button {
|
|
65
|
-
color: $add-to-cart-button
|
|
65
|
+
color: $hd-color-add-to-cart-button;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
input,
|
package/style/material.scss
CHANGED
package/style/styles.scss
CHANGED
|
@@ -141,13 +141,13 @@ canvas {
|
|
|
141
141
|
}
|
|
142
142
|
|
|
143
143
|
#material_color_dialog, #upload_model_dialog {
|
|
144
|
-
max-height:
|
|
145
|
-
width:
|
|
144
|
+
max-height: $hd-model-upload-dialog-max-height;
|
|
145
|
+
max-width: $hd-model-upload-dialog-max-width;
|
|
146
146
|
background: $hd-color-dialog-background;
|
|
147
147
|
overflow: hidden;
|
|
148
|
-
color: $hd-color-
|
|
148
|
+
color: $hd-color-font;
|
|
149
149
|
.co-list-of-values {
|
|
150
|
-
color: $hd-color-
|
|
150
|
+
color: $hd-color-font;
|
|
151
151
|
}
|
|
152
152
|
.mat-mdc-dialog-content {
|
|
153
153
|
display: flex;
|
|
@@ -157,17 +157,24 @@ canvas {
|
|
|
157
157
|
.part-material {
|
|
158
158
|
margin-top: 20px;
|
|
159
159
|
flex-basis: 100%;
|
|
160
|
-
overflow:
|
|
160
|
+
overflow-x: hidden;
|
|
161
|
+
overflow-y: auto;
|
|
161
162
|
.material-color {
|
|
162
163
|
display: block;
|
|
163
164
|
height: 40px;
|
|
164
165
|
}
|
|
165
166
|
}
|
|
166
167
|
}
|
|
167
|
-
|
|
168
|
-
#upload_model_dialog {
|
|
168
|
+
#material_color_dialog {
|
|
169
169
|
width: 800px;
|
|
170
|
+
.mat-mdc-dialog-surface {
|
|
171
|
+
padding: 24px;
|
|
172
|
+
}
|
|
170
173
|
}
|
|
174
|
+
|
|
175
|
+
//#upload_model_dialog {
|
|
176
|
+
// width: 800px;
|
|
177
|
+
//}
|
|
171
178
|
/* Viewport size natural inheritance */
|
|
172
179
|
.viewport {
|
|
173
180
|
width: 100%;
|
|
@@ -190,7 +197,7 @@ canvas {
|
|
|
190
197
|
}
|
|
191
198
|
|
|
192
199
|
.add-to-cart-button {
|
|
193
|
-
color: $add-to-cart-button
|
|
200
|
+
color: $hd-color-add-to-cart-button;
|
|
194
201
|
}
|
|
195
202
|
|
|
196
203
|
/* Flexbox utils */
|
|
@@ -403,6 +410,7 @@ canvas {
|
|
|
403
410
|
@import "@colijnit/corecomponents_v12/lib/components/list-of-values/style/material.scss";
|
|
404
411
|
@import "@colijnit/corecomponents_v12/lib/components/card/style/material.scss";
|
|
405
412
|
@import "@colijnit/corecomponents_v12/lib/components/simple-grid/style/material.scss";
|
|
413
|
+
@import "@colijnit/corecomponents_v12/lib/components/input-number-picker/style/material.scss";
|
|
406
414
|
|
|
407
415
|
|
|
408
416
|
@import "@colijnit/catalog/lib/style/catalog-globals";
|
|
@@ -445,4 +453,6 @@ canvas {
|
|
|
445
453
|
|
|
446
454
|
@import "@colijnit/modelcreation/lib/style/modelcreation-globals";
|
|
447
455
|
@import "@colijnit/modelcreation/lib/component/model-creation-page/style/material.scss";
|
|
448
|
-
@import "@colijnit/modelcreation/lib/component/
|
|
456
|
+
@import "@colijnit/modelcreation/lib/component/render-status-grid/style/material.scss";
|
|
457
|
+
@import "@colijnit/modelcreation/lib/component/file-upload/style/material.scss";
|
|
458
|
+
@import "@colijnit/modelcreation/lib/component/type-chooser/style/material.scss";
|