@colijnit/homedecorator 260.1.1 → 260.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/_variables.scss +1 -0
- package/app/core/components/arrow-helper/arrow-helper.d.ts +20 -0
- package/app/core/enum/configuration-key.enum.d.ts +3 -1
- package/app/core/enum/icon.enum.d.ts +1 -0
- package/app/core/enum/output-encoding.enum.d.ts +4 -1
- package/app/core/enum/tone-mapping-local.enum.d.ts +10 -0
- package/app/core/interface/aa-options.interface.d.ts +4 -0
- package/app/core/interface/ao-options.interface.d.ts +18 -0
- package/app/core/interface/configuration-data.interface.d.ts +3 -1
- package/app/core/interface/light-preset.interface.d.ts +8 -4
- package/app/core/interface/material-dialog-data.interface.d.ts +1 -0
- package/app/core/interface/post-processing-setting.interface.d.ts +11 -0
- package/app/core/interface/setting.interface.d.ts +8 -0
- package/app/core/interface/texture.interface.d.ts +7 -0
- package/app/core/interface/vignette-options.interface.d.ts +4 -0
- package/app/core/model/blue-print/blue-print.d.ts +1 -0
- package/app/core/model/homedecorator-settings-options.d.ts +0 -5
- package/app/core/model/light-preset.d.ts +6 -1
- package/app/core/model/setting.d.ts +10 -0
- package/app/core/model/texture-type.d.ts +2 -1
- package/app/core/model/texture.d.ts +7 -0
- package/app/core/pipe/cm-to-measure.pipe.d.ts +0 -3
- package/app/core/pipe/m-to-measure.pipe.d.ts +0 -3
- package/app/core/pipe/scm-to-measure.pipe.d.ts +0 -3
- package/app/core/pipe/sm-to-measure.pipe.d.ts +0 -3
- package/app/core/service/base-blue-print.service.d.ts +1 -0
- package/app/core/service/blue-print-floorplan.service.d.ts +2 -1
- package/app/core/service/blue-print.service.d.ts +2 -1
- package/app/core/service/homedecorator-app.service.d.ts +4 -0
- package/app/core/service/item-serialization.service.d.ts +5 -1
- package/app/core/utils/clone-utils.d.ts +1 -1
- package/app/core/utils/object.utils.d.ts +4 -3
- package/app/core/utils/variation-utils.d.ts +2 -2
- package/app/core/utils/wall.utils.d.ts +8 -2
- package/app/development/components/selected-child-material-color.component.d.ts +10 -0
- package/app/development/components/selected-child-material-color.component.scss +3 -0
- package/app/development/components/selected-child-material-texture.component.d.ts +1 -3
- package/app/development/components/selected-child-material-textures.component.d.ts +2 -5
- package/app/development/components/selected-child-material.component.d.ts +2 -1
- package/app/development/development.module.d.ts +12 -11
- package/app/plugins/core3d/core/dimensioning.d.ts +8 -6
- package/app/plugins/core3d/core/utils.d.ts +48 -1
- package/app/plugins/core3d/hud/bounding-measurement-box/bounding-box-measurement.d.ts +0 -2
- package/app/plugins/core3d/hud/bounding-measurement-box/measurable.d.ts +0 -2
- package/app/plugins/core3d/hud/bounding-measurement-box/measurement-utils.d.ts +1 -1
- package/app/plugins/core3d/hud/measurements.d.ts +21 -25
- package/app/plugins/core3d/hud/on-wall-measurements.d.ts +2 -2
- package/app/plugins/core3d/interface/wall-interface.d.ts +5 -2
- package/app/plugins/core3d/items/base-item.d.ts +3 -0
- package/app/plugins/core3d/items/base-wall.d.ts +27 -12
- package/app/plugins/core3d/items/custom-shape-floor-item.d.ts +3 -1
- package/app/plugins/core3d/items/custom-shape-wall-item.d.ts +3 -1
- package/app/plugins/core3d/items/custom-wall-floor-item.d.ts +1 -0
- package/app/plugins/core3d/items/in-wall-item.d.ts +9 -1
- package/app/plugins/core3d/items/item.d.ts +3 -1
- package/app/plugins/core3d/items/room.d.ts +3 -1
- package/app/plugins/core3d/items/wall-item.d.ts +10 -2
- package/app/plugins/core3d/items/wall.d.ts +1 -1
- package/app/plugins/core3d/service/hud.service.d.ts +4 -1
- package/app/plugins/core3d/service/item.service.d.ts +1 -1
- package/app/plugins/core3d/service/post-processing.service.d.ts +19 -8
- package/app/plugins/core3d/utils/distance-utils.d.ts +4 -5
- package/app/plugins/room-planner/components/custome-shape-creator/custom-shape-creator.component.d.ts +2 -0
- package/app/plugins/room-planner/components/dimension-input/dimension-input.component.d.ts +11 -10
- package/app/plugins/room-planner/components/edit-parameter/edit-parameter.component.d.ts +1 -3
- package/app/plugins/room-planner/components/floorplanner/const/defaults.d.ts +20 -0
- package/app/plugins/room-planner/components/floorplanner/floorplanner.component.d.ts +7 -6
- package/app/plugins/room-planner/components/floorplanner/floorplanner.component.scss +6 -3
- package/app/plugins/room-planner/components/floorplanner/interface/floorplan-render-state.interface.d.ts +2 -1
- package/app/plugins/room-planner/components/floorplanner/service/floorplan-render.service.d.ts +10 -18
- package/app/plugins/room-planner/components/floorplanner/service/room.service.d.ts +1 -1
- package/app/plugins/room-planner/components/floorplanner/service/wall.service.d.ts +3 -1
- package/app/plugins/room-planner/components/settings/settings.component.d.ts +5 -3
- package/app/plugins/room-planner/components/settings/settings.component.scss +4 -0
- package/app/plugins/room-planner/components/texture-picker/texture-picker.component.scss +0 -1
- package/app/plugins/room-planner/room-planner/room-planner.component.d.ts +7 -5
- package/app/plugins/threedselector/threedselector/service/build-furniture-base.service.d.ts +1 -1
- package/app/plugins/threedselector/threedselector/service/threedselector.service.d.ts +1 -1
- package/app/plugins/threedselector/threedselector/service/variation-cache.service.d.ts +2 -3
- package/app/plugins/threedselector/threedselector/service/variation.service.d.ts +1 -1
- package/app/shared/color-picker-dialog/color-picker-dialog.component.scss +1 -0
- package/app/shared/material-dialog/material-dialog.component.d.ts +6 -1
- package/app/shared/material-dialog/material-dialog.module.d.ts +3 -1
- package/assets/icons/measurements_outside.svg +1 -0
- package/bundles/colijnit-homedecorator.umd.js +3310 -2517
- package/bundles/colijnit-homedecorator.umd.js.map +1 -1
- package/esm2015/app/APPLICATION_SERVICE_PROVIDERS.js +1 -3
- package/esm2015/app/app.version.js +3 -3
- package/esm2015/app/core/components/arrow-helper/arrow-helper.js +86 -0
- package/esm2015/app/core/enum/configuration-key.enum.js +4 -2
- package/esm2015/app/core/enum/icon.enum.js +2 -1
- package/esm2015/app/core/enum/output-encoding.enum.js +5 -2
- package/esm2015/app/core/enum/tone-mapping-local.enum.js +12 -0
- package/esm2015/app/core/interface/aa-options.interface.js +2 -0
- package/esm2015/app/core/interface/ao-options.interface.js +2 -0
- package/esm2015/app/core/interface/configuration-data.interface.js +1 -1
- package/esm2015/app/core/interface/light-preset.interface.js +1 -1
- package/esm2015/app/core/interface/material-dialog-data.interface.js +1 -1
- package/esm2015/app/core/interface/post-processing-setting.interface.js +2 -0
- package/esm2015/app/core/interface/setting.interface.js +2 -0
- package/esm2015/app/core/interface/texture.interface.js +1 -1
- package/esm2015/app/core/interface/vignette-options.interface.js +2 -0
- package/esm2015/app/core/model/blue-print/blue-print.js +2 -1
- package/esm2015/app/core/model/homedecorator-settings-options.js +1 -6
- package/esm2015/app/core/model/icon.js +2 -1
- package/esm2015/app/core/model/light-preset.js +23 -14
- package/esm2015/app/core/model/setting.js +16 -0
- package/esm2015/app/core/model/texture-type.js +2 -1
- package/esm2015/app/core/model/texture.js +19 -1
- package/esm2015/app/core/pipe/cm-to-measure.pipe.js +5 -8
- package/esm2015/app/core/pipe/m-to-measure.pipe.js +5 -8
- package/esm2015/app/core/pipe/scm-to-measure.pipe.js +5 -8
- package/esm2015/app/core/pipe/sm-to-measure.pipe.js +5 -8
- package/esm2015/app/core/service/base-blue-print.service.js +2 -1
- package/esm2015/app/core/service/blue-print-floorplan.service.js +2 -1
- package/esm2015/app/core/service/blue-print.service.js +5 -2
- package/esm2015/app/core/service/configuration.service.js +4 -2
- package/esm2015/app/core/service/homedecorator-app.service.js +14 -1
- package/esm2015/app/core/service/item-serialization.service.js +8 -2
- package/esm2015/app/core/service/presets.service.js +5 -2
- package/esm2015/app/core/service/utils.service.js +1 -2
- package/esm2015/app/core/utils/clone-utils.js +6 -4
- package/esm2015/app/core/utils/material.utils.js +2 -2
- package/esm2015/app/core/utils/object.utils.js +21 -19
- package/esm2015/app/core/utils/variation-utils.js +6 -9
- package/esm2015/app/core/utils/wall.utils.js +95 -35
- package/esm2015/app/development/components/selected-child-material-color.component.js +50 -0
- package/esm2015/app/development/components/selected-child-material-texture.component.js +19 -16
- package/esm2015/app/development/components/selected-child-material-textures.component.js +3 -24
- package/esm2015/app/development/components/selected-child-material.component.js +5 -6
- package/esm2015/app/development/components/selected-object-base.js +1 -2
- package/esm2015/app/development/development.module.js +6 -1
- package/esm2015/app/plugins/core3d/core/dimensioning.js +39 -14
- package/esm2015/app/plugins/core3d/core/utils.js +89 -26
- package/esm2015/app/plugins/core3d/hud/bounding-measurement-box/bounding-box-measurement.js +7 -9
- package/esm2015/app/plugins/core3d/hud/bounding-measurement-box/measurable.js +1 -1
- package/esm2015/app/plugins/core3d/hud/bounding-measurement-box/measurement-utils.js +9 -13
- package/esm2015/app/plugins/core3d/hud/furniture-measurements.js +2 -2
- package/esm2015/app/plugins/core3d/hud/measurements.js +43 -58
- package/esm2015/app/plugins/core3d/hud/on-wall-measurements.js +7 -36
- package/esm2015/app/plugins/core3d/hud/utils.js +1 -2
- package/esm2015/app/plugins/core3d/interface/wall-interface.js +1 -1
- package/esm2015/app/plugins/core3d/items/base-item.js +13 -2
- package/esm2015/app/plugins/core3d/items/base-wall.js +239 -90
- package/esm2015/app/plugins/core3d/items/custom-cylinder-floor-item.js +2 -1
- package/esm2015/app/plugins/core3d/items/custom-cylinder-wall-item.js +2 -1
- package/esm2015/app/plugins/core3d/items/custom-objects.js +2 -2
- package/esm2015/app/plugins/core3d/items/custom-shape-floor-item.js +5 -4
- package/esm2015/app/plugins/core3d/items/custom-shape-wall-item.js +5 -4
- package/esm2015/app/plugins/core3d/items/custom-wall-floor-item.js +9 -1
- package/esm2015/app/plugins/core3d/items/in-wall-floor-item.js +2 -1
- package/esm2015/app/plugins/core3d/items/in-wall-item.js +25 -8
- package/esm2015/app/plugins/core3d/items/item.js +53 -22
- package/esm2015/app/plugins/core3d/items/room.js +33 -14
- package/esm2015/app/plugins/core3d/items/wall-item.js +121 -14
- package/esm2015/app/plugins/core3d/items/wall.js +4 -4
- package/esm2015/app/plugins/core3d/service/drag-and-drop.service.js +8 -2
- package/esm2015/app/plugins/core3d/service/floor.service.js +47 -18
- package/esm2015/app/plugins/core3d/service/hud.service.js +46 -70
- package/esm2015/app/plugins/core3d/service/item.service.js +7 -3
- package/esm2015/app/plugins/core3d/service/light-presets.service.js +11 -4
- package/esm2015/app/plugins/core3d/service/post-processing.service.js +178 -101
- package/esm2015/app/plugins/core3d/service/scene-event.service.js +9 -4
- package/esm2015/app/plugins/core3d/service/scene.service.js +7 -3
- package/esm2015/app/plugins/core3d/service/wall-measurements.service.js +2 -4
- package/esm2015/app/plugins/core3d/utils/distance-utils.js +55 -60
- package/esm2015/app/plugins/furniture-manager/furniture-manager/furniture-manager.component.js +7 -1
- package/esm2015/app/plugins/room-planner/components/custom-cylinder-creator/custom-cylinder-creator.component.js +3 -1
- package/esm2015/app/plugins/room-planner/components/custome-shape-creator/custom-shape-creator.component.js +43 -32
- package/esm2015/app/plugins/room-planner/components/dimension-input/dimension-input.component.js +35 -26
- package/esm2015/app/plugins/room-planner/components/edit-parameter/edit-parameter.component.js +16 -17
- package/esm2015/app/plugins/room-planner/components/floorplanner/const/defaults.js +24 -2
- package/esm2015/app/plugins/room-planner/components/floorplanner/floorplanner.component.js +119 -186
- package/esm2015/app/plugins/room-planner/components/floorplanner/interface/floorplan-render-state.interface.js +1 -1
- package/esm2015/app/plugins/room-planner/components/floorplanner/service/floorplan-render.service.js +129 -133
- package/esm2015/app/plugins/room-planner/components/floorplanner/service/room.service.js +40 -9
- package/esm2015/app/plugins/room-planner/components/floorplanner/service/wall.service.js +9 -5
- package/esm2015/app/plugins/room-planner/components/selected-object-scale/selected-object-scale.component.js +7 -7
- package/esm2015/app/plugins/room-planner/components/selected-wall/selected-wall.component.js +2 -2
- package/esm2015/app/plugins/room-planner/components/settings/settings.component.js +35 -15
- package/esm2015/app/plugins/room-planner/components/texture-picker/texture-picker.component.js +1 -1
- package/esm2015/app/plugins/room-planner/room-planner/room-planner.component.js +24 -28
- package/esm2015/app/plugins/threedselector/threedselector/service/build-furniture-base.service.js +18 -23
- package/esm2015/app/plugins/threedselector/threedselector/service/build-furniture.service.js +2 -1
- package/esm2015/app/plugins/threedselector/threedselector/service/dimensions.service.js +7 -7
- package/esm2015/app/plugins/threedselector/threedselector/service/load-furniture.service.js +1 -1
- package/esm2015/app/plugins/threedselector/threedselector/service/third-party-model.service.js +2 -1
- package/esm2015/app/plugins/threedselector/threedselector/service/threedselector.service.js +3 -3
- package/esm2015/app/plugins/threedselector/threedselector/service/variation-cache.service.js +39 -51
- package/esm2015/app/plugins/threedselector/threedselector/service/variation.service.js +14 -27
- package/esm2015/app/plugins/threedselector/threedselector/threedselector.component.js +10 -20
- package/esm2015/app/plugins/threedselector/threedselector/utils/json-parser.utils.js +2 -2
- package/esm2015/app/shared/category-library/category-library.component.js +1 -1
- package/esm2015/app/shared/color-picker-dialog/color-picker-dialog.component.js +1 -1
- package/esm2015/app/shared/material-dialog/material-dialog.component.js +48 -28
- package/esm2015/app/shared/material-dialog/material-dialog.module.js +12 -4
- package/fesm2015/colijnit-homedecorator.js +2852 -2160
- package/fesm2015/colijnit-homedecorator.js.map +1 -1
- package/homedecorator-globals.scss +25 -0
- package/package.json +1 -1
- package/styles.scss +16 -13
- package/app/core/service/dimensioning.service.d.ts +0 -14
- package/colijnit-homedecorator-260.1.0.tgz +0 -0
- package/colijnit-homedecorator-260.1.1.tgz +0 -0
- package/esm2015/app/core/service/dimensioning.service.js +0 -42
package/_variables.scss
CHANGED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Object3D, Vector3 } from 'three';
|
|
2
|
+
import { ColorRepresentation } from 'three/src/math/Color';
|
|
3
|
+
export declare class ArrowHelper extends Object3D {
|
|
4
|
+
private _dir;
|
|
5
|
+
private _origin;
|
|
6
|
+
private _length;
|
|
7
|
+
private _headLength;
|
|
8
|
+
private _headWidth;
|
|
9
|
+
private _line;
|
|
10
|
+
private _lineGeometry;
|
|
11
|
+
private _lineMaterial;
|
|
12
|
+
private _cone;
|
|
13
|
+
constructor(dir: Vector3, origin: Vector3, length: number, color?: ColorRepresentation, linewidth?: number, dashed?: boolean, dashSize?: number, gapSize?: number, overlay?: boolean, headLength?: number, headWidth?: number);
|
|
14
|
+
setDirection(dir: Vector3): void;
|
|
15
|
+
setPosition(position: Vector3): void;
|
|
16
|
+
setLength(length: number): void;
|
|
17
|
+
setColor(color: ColorRepresentation): void;
|
|
18
|
+
setResolution(width: number, height: number): void;
|
|
19
|
+
dispose(): void;
|
|
20
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export declare enum ConfigurationKey {
|
|
2
|
+
RoundingDecimals = "roundingDecimals",
|
|
2
3
|
DimensioningUnit = "dimUnit",
|
|
3
4
|
DimensioningSquareUnit = "dimSqUnit",
|
|
4
5
|
AngleUnit = "angleUnit",
|
|
@@ -18,7 +19,8 @@ export declare enum ConfigurationKey {
|
|
|
18
19
|
ShowObjectMeasurements = "showObjectMeasurements",
|
|
19
20
|
ShowDetailedWallMeasurements = "showDetailedWallMeasurements",
|
|
20
21
|
ShowWallItemMeasurements = "showWallItemMeasurements",
|
|
21
|
-
|
|
22
|
+
ShowInnerWallMeasurements = "showInnerWallMeasurements",
|
|
23
|
+
ShowOuterWallMeasurements = "showOuterWallMeasurements",
|
|
22
24
|
ShowCornerAngles = "showCornerAngles",
|
|
23
25
|
RotationSnappingEnabled = "RotationSnappingEnabled",
|
|
24
26
|
DisplayCustomShapeNames = "DisplayCustomShapeNames",
|
|
@@ -82,6 +82,7 @@ export declare enum IconEnum {
|
|
|
82
82
|
MagnifyingGlassPlus = "magnifying_glass_plus",
|
|
83
83
|
Measurements = "measurements",
|
|
84
84
|
MeasurementsInside = "measurements_inside",
|
|
85
|
+
MeasurementsOutside = "measurements_outside",
|
|
85
86
|
MovePhoneAr = "move-phone-ar",
|
|
86
87
|
PaintRollerLight = "paint_roller_light",
|
|
87
88
|
PenRuler = "pen-ruler",
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
export declare enum OutputEncoding {
|
|
2
|
+
NoColorSpace = "NoColorSpace",
|
|
3
|
+
SRGBColorSpace = "SRGBColorSpace",
|
|
2
4
|
LinearSRGBColorSpace = "LinearSRGBColorSpace",
|
|
3
|
-
|
|
5
|
+
DisplayP3ColorSpace = "DisplayP3ColorSpace",
|
|
6
|
+
LinearDisplayP3ColorSpace = "LinearDisplayP3ColorSpace"
|
|
4
7
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare enum ToneMappingLocal {
|
|
2
|
+
NoToneMapping = "NoToneMapping",
|
|
3
|
+
LinearToneMapping = "LinearToneMapping",
|
|
4
|
+
ReinhardToneMapping = "ReinhardToneMapping",
|
|
5
|
+
CineonToneMapping = "CineonToneMapping",
|
|
6
|
+
ACESFilmicToneMapping = "ACESFilmicToneMapping",
|
|
7
|
+
CustomToneMapping = "CustomToneMapping",
|
|
8
|
+
AgXToneMapping = "AgXToneMapping",
|
|
9
|
+
NeutralToneMapping = "NeutralToneMapping"
|
|
10
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface AoOptions {
|
|
2
|
+
aoSamples: number;
|
|
3
|
+
denoiseSamples: number;
|
|
4
|
+
denoiseRadius: number;
|
|
5
|
+
aoRadius: number;
|
|
6
|
+
distanceFalloff: number;
|
|
7
|
+
screenSpaceRadius: boolean;
|
|
8
|
+
halfRes: boolean;
|
|
9
|
+
depthAwareUpsampling: boolean;
|
|
10
|
+
transparencyAware: boolean;
|
|
11
|
+
intensity: number;
|
|
12
|
+
renderMode: string;
|
|
13
|
+
color: string;
|
|
14
|
+
colorMultiply: boolean;
|
|
15
|
+
stencil: boolean;
|
|
16
|
+
accumulate: boolean;
|
|
17
|
+
gammaCorrection: boolean;
|
|
18
|
+
}
|
|
@@ -3,6 +3,7 @@ export interface ConfigurationData {
|
|
|
3
3
|
[ConfigurationKey.DimensioningUnit]?: string;
|
|
4
4
|
[ConfigurationKey.DimensioningSquareUnit]?: string;
|
|
5
5
|
[ConfigurationKey.AngleUnit]?: string;
|
|
6
|
+
[ConfigurationKey.RoundingDecimals]?: number;
|
|
6
7
|
[ConfigurationKey.CmStep]?: number;
|
|
7
8
|
[ConfigurationKey.MStep]?: number;
|
|
8
9
|
[ConfigurationKey.MmStep]?: number;
|
|
@@ -19,7 +20,8 @@ export interface ConfigurationData {
|
|
|
19
20
|
[ConfigurationKey.ShowObjectMeasurements]?: boolean;
|
|
20
21
|
[ConfigurationKey.ShowDetailedWallMeasurements]?: boolean;
|
|
21
22
|
[ConfigurationKey.ShowWallItemMeasurements]?: boolean;
|
|
22
|
-
[ConfigurationKey.
|
|
23
|
+
[ConfigurationKey.ShowInnerWallMeasurements]?: boolean;
|
|
24
|
+
[ConfigurationKey.ShowOuterWallMeasurements]?: boolean;
|
|
23
25
|
[ConfigurationKey.ShowCornerAngles]?: boolean;
|
|
24
26
|
[ConfigurationKey.RotationSnappingEnabled]?: boolean;
|
|
25
27
|
[ConfigurationKey.DisplayCustomShapeNames]?: boolean;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { ShadowMapType } from 'three';
|
|
2
1
|
import { NavigatorType } from '../../shared/screen-size-analysis/navigator-type.enum';
|
|
3
2
|
import { LightProperties } from '../model/light-properties';
|
|
4
|
-
import {
|
|
3
|
+
import { ShadowMapLocalType } from '../enum/shadow-map-type.enum';
|
|
4
|
+
import { ToneMappingLocal } from '../enum/tone-mapping-local.enum';
|
|
5
|
+
import { OutputEncoding } from '../enum/output-encoding.enum';
|
|
5
6
|
export interface LightPresetInterface {
|
|
6
7
|
id: string;
|
|
7
8
|
name: string;
|
|
@@ -9,10 +10,13 @@ export interface LightPresetInterface {
|
|
|
9
10
|
standalone: boolean;
|
|
10
11
|
group: string;
|
|
11
12
|
navigatorType: NavigatorType;
|
|
12
|
-
shadowMapType:
|
|
13
|
-
outputEncoding:
|
|
13
|
+
shadowMapType: ShadowMapLocalType;
|
|
14
|
+
outputEncoding: OutputEncoding;
|
|
14
15
|
shadowRadius: number;
|
|
16
|
+
toneMapping: ToneMappingLocal;
|
|
15
17
|
toneMappingExposure: number;
|
|
16
18
|
physicallyCorrectLights: boolean;
|
|
17
19
|
lights: LightProperties[];
|
|
20
|
+
hdri: string;
|
|
21
|
+
hdriIntensity: number;
|
|
18
22
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AoOptions } from './ao-options.interface';
|
|
2
|
+
import { AaOptions } from './aa-options.interface';
|
|
3
|
+
import { VignetteOptions } from './vignette-options.interface';
|
|
4
|
+
export interface PostProcessingSetting {
|
|
5
|
+
aoEnabled: boolean;
|
|
6
|
+
aoOptions: AoOptions;
|
|
7
|
+
aaEnabled: boolean;
|
|
8
|
+
aaOptions: AaOptions;
|
|
9
|
+
vignetteEnabled: boolean;
|
|
10
|
+
vignetteOptions: VignetteOptions;
|
|
11
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PostProcessingSetting } from './post-processing-setting.interface';
|
|
2
|
+
import { NavigatorType } from '../../shared/screen-size-analysis/navigator-type.enum';
|
|
3
|
+
export interface SettingInterface {
|
|
4
|
+
default: boolean;
|
|
5
|
+
standalone: boolean;
|
|
6
|
+
navigatorType: NavigatorType;
|
|
7
|
+
postprocessing: PostProcessingSetting;
|
|
8
|
+
}
|
|
@@ -19,6 +19,7 @@ export interface TextureInterface {
|
|
|
19
19
|
aoMap?: string;
|
|
20
20
|
data?: any;
|
|
21
21
|
color?: string;
|
|
22
|
+
emissive?: string;
|
|
22
23
|
show?: boolean;
|
|
23
24
|
default?: boolean;
|
|
24
25
|
surfaces?: string[];
|
|
@@ -34,4 +35,10 @@ export interface TextureInterface {
|
|
|
34
35
|
defaultStandalone?: boolean;
|
|
35
36
|
mirror?: boolean;
|
|
36
37
|
simplePlane?: boolean;
|
|
38
|
+
toneMapped?: boolean;
|
|
39
|
+
transparent?: boolean;
|
|
40
|
+
opacity?: number;
|
|
41
|
+
side?: number;
|
|
42
|
+
depthWrite?: boolean;
|
|
43
|
+
depthTest?: boolean;
|
|
37
44
|
}
|
|
@@ -2,6 +2,7 @@ import { ConfigurationData } from '../../interface/configuration-data.interface'
|
|
|
2
2
|
import { CameraView } from '../../interface/camera-view.interface';
|
|
3
3
|
import { BluePrintFloorplan } from './blue-print-floorplan';
|
|
4
4
|
export declare class BluePrint {
|
|
5
|
+
version: number;
|
|
5
6
|
schema: string;
|
|
6
7
|
config: ConfigurationData;
|
|
7
8
|
needRescale: boolean;
|
|
@@ -48,11 +48,6 @@ export declare class HomedecoratorSettingsOptions {
|
|
|
48
48
|
pathTracer: boolean;
|
|
49
49
|
ssrEnabled: boolean;
|
|
50
50
|
maxRenderSamples: number;
|
|
51
|
-
aoEnabled: boolean;
|
|
52
|
-
aaEnabled: boolean;
|
|
53
|
-
vignetteEnabled: boolean;
|
|
54
|
-
vignetteOffset: number;
|
|
55
|
-
vignetteDarkness: number;
|
|
56
51
|
useCanvasImage: boolean;
|
|
57
52
|
useThumbnailImage: boolean;
|
|
58
53
|
showProgressBar: boolean;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { ShadowMapLocalType } from '../enum/shadow-map-type.enum';
|
|
2
|
-
import { ShadowMapType } from 'three';
|
|
2
|
+
import { ShadowMapType, ToneMapping } from 'three';
|
|
3
3
|
import { OutputEncoding } from '../enum/output-encoding.enum';
|
|
4
4
|
import { NavigatorType } from '../../shared/screen-size-analysis/navigator-type.enum';
|
|
5
5
|
import { LightPresetInterface } from '../interface/light-preset.interface';
|
|
6
6
|
import { LightProperties } from './light-properties';
|
|
7
7
|
import { ColorSpace } from 'three/src/constants';
|
|
8
|
+
import { ToneMappingLocal } from '../enum/tone-mapping-local.enum';
|
|
9
|
+
export declare const toneMappingMap: Map<ToneMappingLocal, ToneMapping>;
|
|
8
10
|
export declare const shadowMapTypesMap: Map<ShadowMapLocalType, ShadowMapType>;
|
|
9
11
|
export declare const outputEncodingMap: Map<OutputEncoding, ColorSpace>;
|
|
10
12
|
export declare class LightPreset {
|
|
@@ -18,9 +20,12 @@ export declare class LightPreset {
|
|
|
18
20
|
outputEncoding: OutputEncoding;
|
|
19
21
|
colorSpace: ColorSpace;
|
|
20
22
|
shadowRadius: number;
|
|
23
|
+
toneMapping: ToneMappingLocal;
|
|
21
24
|
toneMappingExposure: number;
|
|
22
25
|
physicallyCorrectLights: boolean;
|
|
23
26
|
lights: LightProperties[];
|
|
27
|
+
hdri: string;
|
|
28
|
+
hdriIntensity: number;
|
|
24
29
|
dirty: boolean;
|
|
25
30
|
constructor();
|
|
26
31
|
static CreateModelFromInterface(modelInterface: LightPresetInterface): LightPreset;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { NavigatorType } from '../../shared/screen-size-analysis/navigator-type.enum';
|
|
2
|
+
import { PostProcessingSetting } from '../interface/post-processing-setting.interface';
|
|
3
|
+
import { SettingInterface } from '../interface/setting.interface';
|
|
4
|
+
export declare class Setting {
|
|
5
|
+
navigatorType: NavigatorType;
|
|
6
|
+
default: boolean;
|
|
7
|
+
standalone: boolean;
|
|
8
|
+
postProcessing: PostProcessingSetting;
|
|
9
|
+
static CreateModelFromInterface(modelInterface: SettingInterface): Setting;
|
|
10
|
+
}
|
|
@@ -21,6 +21,7 @@ export declare class Texture {
|
|
|
21
21
|
aoMap: string;
|
|
22
22
|
alphaMap: string;
|
|
23
23
|
color: string;
|
|
24
|
+
emissive: string;
|
|
24
25
|
data: any;
|
|
25
26
|
surfaces: string[];
|
|
26
27
|
offset: THREE.Vector2;
|
|
@@ -39,6 +40,12 @@ export declare class Texture {
|
|
|
39
40
|
defaultStandalone: boolean;
|
|
40
41
|
mirror: boolean;
|
|
41
42
|
simplePlane: boolean;
|
|
43
|
+
toneMapped: boolean;
|
|
44
|
+
transparent: boolean;
|
|
45
|
+
opacity: number;
|
|
46
|
+
side: THREE.Side;
|
|
47
|
+
depthWrite: boolean;
|
|
48
|
+
depthTest: boolean;
|
|
42
49
|
metadata?: Metadata;
|
|
43
50
|
static CreateModelFromInterface(modelInterface: TextureInterface): Texture;
|
|
44
51
|
}
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { DimensioningService } from '../service/dimensioning.service';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export declare class CmToMeasurePipe implements PipeTransform {
|
|
5
|
-
private _dimensioningService;
|
|
6
|
-
constructor(_dimensioningService: DimensioningService);
|
|
7
4
|
transform(value: number): string;
|
|
8
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<CmToMeasurePipe, never>;
|
|
9
6
|
static ɵpipe: i0.ɵɵPipeDeclaration<CmToMeasurePipe, "cmToMeasure">;
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { DimensioningService } from '../service/dimensioning.service';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export declare class MToMeasurePipe implements PipeTransform {
|
|
5
|
-
private _dimensioningService;
|
|
6
|
-
constructor(_dimensioningService: DimensioningService);
|
|
7
4
|
transform(value: number): string;
|
|
8
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<MToMeasurePipe, never>;
|
|
9
6
|
static ɵpipe: i0.ɵɵPipeDeclaration<MToMeasurePipe, "mToMeasure">;
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { DimensioningService } from '../service/dimensioning.service';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export declare class ScmToMeasurePipe implements PipeTransform {
|
|
5
|
-
private _dimensioningService;
|
|
6
|
-
constructor(_dimensioningService: DimensioningService);
|
|
7
4
|
transform(value: number): string;
|
|
8
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<ScmToMeasurePipe, never>;
|
|
9
6
|
static ɵpipe: i0.ɵɵPipeDeclaration<ScmToMeasurePipe, "scmToMeasure">;
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import { DimensioningService } from '../service/dimensioning.service';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export declare class SmToMeasurePipe implements PipeTransform {
|
|
5
|
-
private _dimensioningService;
|
|
6
|
-
constructor(_dimensioningService: DimensioningService);
|
|
7
4
|
transform(value: number): string;
|
|
8
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<SmToMeasurePipe, never>;
|
|
9
6
|
static ɵpipe: i0.ɵɵPipeDeclaration<SmToMeasurePipe, "smToMeasure">;
|
|
@@ -22,6 +22,7 @@ export declare abstract class BaseBluePrintService implements OnDestroy {
|
|
|
22
22
|
protected floorService: FloorService;
|
|
23
23
|
floorPlanLoaded: Subject<void>;
|
|
24
24
|
sceneUpdated: Subject<void>;
|
|
25
|
+
version: number;
|
|
25
26
|
private _subs;
|
|
26
27
|
/**
|
|
27
28
|
* Floor textures are owned by the floorplan, because room objects are
|
|
@@ -3,6 +3,7 @@ import { Corner } from '../../plugins/core3d/items/corner';
|
|
|
3
3
|
import { Wall } from '../../plugins/core3d/items/wall';
|
|
4
4
|
import { Texture } from '../model/texture';
|
|
5
5
|
import { ColorRepresentation } from 'three/src/math/Color';
|
|
6
|
+
import { BluePrintFloorplan } from '../model/blue-print/blue-print-floorplan';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class BluePrintFloorplanService extends BaseBluePrintService {
|
|
8
9
|
getCorner(x: number, y: number): Corner;
|
|
@@ -11,7 +12,7 @@ export declare class BluePrintFloorplanService extends BaseBluePrintService {
|
|
|
11
12
|
createNewWall(start: Corner, end: Corner, height?: number, thickness?: number): Wall;
|
|
12
13
|
removeWall(wall: Wall): void;
|
|
13
14
|
reset(): void;
|
|
14
|
-
protected loadTheFloorplan(floorplan:
|
|
15
|
+
protected loadTheFloorplan(floorplan: BluePrintFloorplan): Promise<void>;
|
|
15
16
|
private _setFromFloorplan;
|
|
16
17
|
private _getCornersFromFloorplan;
|
|
17
18
|
private _indexOfCorner;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { Subject } from 'rxjs';
|
|
2
2
|
import { BluePrintFloorplanService } from './blue-print-floorplan.service';
|
|
3
3
|
import { BluePrint } from '../model/blue-print/blue-print';
|
|
4
|
+
import { BluePrintFloorplan } from '../model/blue-print/blue-print-floorplan';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class BluePrintService extends BluePrintFloorplanService {
|
|
6
7
|
bluePrint: BluePrint;
|
|
7
8
|
bluePrintUpdated: Subject<BluePrint>;
|
|
8
|
-
loadFloorplan(floorplan:
|
|
9
|
+
loadFloorplan(floorplan: BluePrintFloorplan, version: number): Promise<void>;
|
|
9
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<BluePrintService, never>;
|
|
10
11
|
static ɵprov: i0.ɵɵInjectableDeclaration<BluePrintService>;
|
|
11
12
|
}
|
|
@@ -10,6 +10,7 @@ import { ConfigurationService } from './configuration.service';
|
|
|
10
10
|
import { JsonUtilsService } from './json-utils.service';
|
|
11
11
|
import { HomedecoratorSettingsService } from './homedecorator-settings.service';
|
|
12
12
|
import { HomedecoratorConnectorService } from './homedecorator-connector.service';
|
|
13
|
+
import { Setting } from '../model/setting';
|
|
13
14
|
import * as i0 from "@angular/core";
|
|
14
15
|
export declare class HomedecoratorAppService implements OnDestroy {
|
|
15
16
|
private _jsonUtilsService;
|
|
@@ -25,6 +26,7 @@ export declare class HomedecoratorAppService implements OnDestroy {
|
|
|
25
26
|
categories: Category[];
|
|
26
27
|
presets: Preset[];
|
|
27
28
|
lightPresets: LightPreset[];
|
|
29
|
+
settings: Setting[];
|
|
28
30
|
floorplans: Preset[];
|
|
29
31
|
floorTextures: Texture[];
|
|
30
32
|
wallTextures: Texture[];
|
|
@@ -36,6 +38,7 @@ export declare class HomedecoratorAppService implements OnDestroy {
|
|
|
36
38
|
floorTexturesLoaded: BehaviorSubject<Texture[]>;
|
|
37
39
|
wallTexturesLoaded: BehaviorSubject<Texture[]>;
|
|
38
40
|
lightPresetsLoaded: BehaviorSubject<LightPreset[]>;
|
|
41
|
+
settingsLoaded: BehaviorSubject<Setting[]>;
|
|
39
42
|
loadedHelpGifs: BehaviorSubject<MediaResource[]>;
|
|
40
43
|
materialPreviewSet: BehaviorSubject<string>;
|
|
41
44
|
materialPreviewUpdate: BehaviorSubject<any>;
|
|
@@ -60,6 +63,7 @@ export declare class HomedecoratorAppService implements OnDestroy {
|
|
|
60
63
|
private _createCategory;
|
|
61
64
|
private _createPreset;
|
|
62
65
|
private _createLightPreset;
|
|
66
|
+
private _createSettings;
|
|
63
67
|
private _createTexture;
|
|
64
68
|
private _createMediaResource;
|
|
65
69
|
static ɵfac: i0.ɵɵFactoryDeclaration<HomedecoratorAppService, never>;
|
|
@@ -16,16 +16,17 @@ export declare class ObjectUtils {
|
|
|
16
16
|
static UpdateUvs(geo: BufferGeometry): void;
|
|
17
17
|
static LoadHDRI(path: string, scene: Scene): Promise<void>;
|
|
18
18
|
static ProjectToPlane(points: Vector3[]): Vector2[];
|
|
19
|
-
static CloneMaterial(material: Material | Material[]): Material | Material[];
|
|
19
|
+
static CloneMaterial(material: Material | Material[], deepClone?: boolean): Material | Material[];
|
|
20
20
|
static CloneObject3D(source: Object3D): Object3D;
|
|
21
21
|
static DeepCloneObject3D(source: Object3D): Object3D;
|
|
22
22
|
/**
|
|
23
23
|
* ThreeJS does not clone image property, so it stays a reference to the original image.
|
|
24
|
-
*
|
|
24
|
+
* When deepClone, this method creates a new image and copies the original image data to it.
|
|
25
25
|
* @param texture
|
|
26
|
+
* @param deepClone
|
|
26
27
|
* @constructor
|
|
27
28
|
*/
|
|
28
|
-
static CloneTexture(texture: Texture): Texture;
|
|
29
|
+
static CloneTexture(texture: Texture, deepClone?: boolean): Texture;
|
|
29
30
|
static DisposeMaterial(material: Material | Material[]): void;
|
|
30
31
|
static DisposeObject(object: Object3D | Mesh): void;
|
|
31
32
|
private static DisposeNode;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { VariationSettings } from '../../plugins/threedselector/threedselector/model/variation-settings';
|
|
2
2
|
export declare class VariationUtils {
|
|
3
3
|
private static MaterialCache;
|
|
4
|
-
static LoadVariation(
|
|
4
|
+
static LoadVariation(url: string, fileName: string, includeVariationFolder?: boolean): Promise<VariationSettings>;
|
|
5
5
|
static LoadVariationByUrl(id: string, variationUrl: string): Promise<VariationSettings>;
|
|
6
6
|
static GetUrl(assetPath: string, url: string, fileName: string, includeVariationFolder?: boolean): string;
|
|
7
|
-
static GetFloorAssetUrl(
|
|
7
|
+
static GetFloorAssetUrl(url: string): string;
|
|
8
8
|
static GetVariationSettingsFromFile(id: string, compressedFile: any): Promise<VariationSettings>;
|
|
9
9
|
private static CreateSettingsBasedOnIndex;
|
|
10
10
|
private static CreateSettingsBasedOnFileName;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { Corner } from '../../plugins/core3d/items/corner';
|
|
2
2
|
import { WallInterface } from '../../plugins/core3d/interface/wall-interface';
|
|
3
|
-
import { Vector2 } from 'three';
|
|
3
|
+
import { MeshStandardMaterial, Vector2 } from 'three';
|
|
4
4
|
import { Position } from '../interface/position.interface';
|
|
5
|
+
import { Texture } from '../model/texture';
|
|
5
6
|
export declare class WallUtils {
|
|
7
|
+
static CreateNewWallMaterial(texture: Texture, wall: WallInterface, wallLength: number): Promise<MeshStandardMaterial>;
|
|
6
8
|
static CornersForAngle(currentWall: WallInterface, start?: boolean, roomId?: string): {
|
|
7
9
|
ax: number;
|
|
8
10
|
ay: number;
|
|
@@ -12,11 +14,15 @@ export declare class WallUtils {
|
|
|
12
14
|
cy: number;
|
|
13
15
|
};
|
|
14
16
|
static GetLinePositions(currentWall: WallInterface, start: Vector2, end: Vector2, closest?: boolean, roomId?: string): Position[][];
|
|
15
|
-
static GetHalfAngleVector(currentWall: WallInterface, startCorner: Corner, endCorner: Corner, start: boolean, inner?: boolean, roomId?: string):
|
|
17
|
+
static GetHalfAngleVector(currentWall: WallInterface, startCorner: Corner, endCorner: Corner, start: boolean, inner?: boolean, roomId?: string): {
|
|
18
|
+
x: number;
|
|
19
|
+
y: number;
|
|
20
|
+
};
|
|
16
21
|
private static FindIntersection;
|
|
17
22
|
private static GetParallelVectorPoints;
|
|
18
23
|
private static CalculateLineProperties;
|
|
19
24
|
private static GetCornerFromConnectedWall;
|
|
20
25
|
private static GetOppositeWallAtCorner;
|
|
21
26
|
private static ChooseMeasurementNormal;
|
|
27
|
+
private static AreAlmostTheSame;
|
|
22
28
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { Color, MeshPhysicalMaterial } from 'three';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SelectedChildMaterialColorComponent {
|
|
5
|
+
material: MeshPhysicalMaterial;
|
|
6
|
+
colorChange: EventEmitter<Color>;
|
|
7
|
+
handleColorChange(color: any): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectedChildMaterialColorComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectedChildMaterialColorComponent, "selected-child-material-color", never, { "material": "material"; }, { "colorChange": "colorChange"; }, never, never>;
|
|
10
|
+
}
|
|
@@ -2,12 +2,10 @@ import { ElementRef, EventEmitter } from '@angular/core';
|
|
|
2
2
|
import { Color, Mapping, PixelFormat, Texture, TextureDataType, TextureFilter, Wrapping } from 'three';
|
|
3
3
|
import { ColorSpace, CubeTextureMapping } from 'three/src/constants';
|
|
4
4
|
import { HomedecoratorIconCacheService } from '../../core/service/homedecorator-icon-cache.service';
|
|
5
|
-
import { SceneService } from '../../plugins/core3d/service/scene.service';
|
|
6
5
|
import { IconEnum } from '../../core/enum/icon.enum';
|
|
7
6
|
import * as i0 from "@angular/core";
|
|
8
7
|
export declare class SelectedChildMaterialTextureComponent {
|
|
9
8
|
iconService: HomedecoratorIconCacheService;
|
|
10
|
-
private _sceneService;
|
|
11
9
|
readonly icon: typeof IconEnum;
|
|
12
10
|
input: ElementRef;
|
|
13
11
|
set map(value: Texture);
|
|
@@ -52,7 +50,7 @@ export declare class SelectedChildMaterialTextureComponent {
|
|
|
52
50
|
private _map;
|
|
53
51
|
private _loadedImage;
|
|
54
52
|
private _color;
|
|
55
|
-
constructor(iconService: HomedecoratorIconCacheService
|
|
53
|
+
constructor(iconService: HomedecoratorIconCacheService);
|
|
56
54
|
showLargeImage(): void;
|
|
57
55
|
hideZoomImage(event: MouseEvent): void;
|
|
58
56
|
showColorPicker(): void;
|
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { MeshPhysicalMaterial, Texture } from 'three';
|
|
3
3
|
import { MapChange } from '../../core/interface/map-change.interface';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class SelectedChildMaterialTexturesComponent {
|
|
6
6
|
material: MeshPhysicalMaterial;
|
|
7
|
-
showBaseColor: boolean;
|
|
8
7
|
mapChange: EventEmitter<MapChange>;
|
|
9
|
-
colorChange: EventEmitter<Color>;
|
|
10
8
|
handleMapChange(map: string, changed?: Texture): void;
|
|
11
|
-
handleColorChange(color: any): void;
|
|
12
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectedChildMaterialTexturesComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SelectedChildMaterialTexturesComponent, "selected-child-material-textures", never, { "material": "material";
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectedChildMaterialTexturesComponent, "selected-child-material-textures", never, { "material": "material"; }, { "mapChange": "mapChange"; }, never, never>;
|
|
14
11
|
}
|
|
@@ -4,6 +4,7 @@ import { Blending, StencilFunc, StencilOp } from 'three/src/constants';
|
|
|
4
4
|
import { SceneService } from '../../plugins/core3d/service/scene.service';
|
|
5
5
|
import { HomedecoratorIconCacheService } from '../../core/service/homedecorator-icon-cache.service';
|
|
6
6
|
import { IconEnum } from '../../core/enum/icon.enum';
|
|
7
|
+
import { MapChange } from '../../core/interface/map-change.interface';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
export declare class SelectedChildMaterialComponent implements OnInit {
|
|
9
10
|
iconService: HomedecoratorIconCacheService;
|
|
@@ -63,7 +64,7 @@ export declare class SelectedChildMaterialComponent implements OnInit {
|
|
|
63
64
|
ngOnInit(): void;
|
|
64
65
|
changeColor(colorProp: string, color: any): void;
|
|
65
66
|
render(): void;
|
|
66
|
-
handleMaterialChange(): void;
|
|
67
|
+
handleMaterialChange(mapChange: MapChange): void;
|
|
67
68
|
getColor(color: Color): string;
|
|
68
69
|
saveMaterial(): Promise<void>;
|
|
69
70
|
private _toJson;
|
|
@@ -4,18 +4,19 @@ import * as i2 from "./components/selected-child.component";
|
|
|
4
4
|
import * as i3 from "./components/selected-child-material.component";
|
|
5
5
|
import * as i4 from "./components/selected-child-material-texture.component";
|
|
6
6
|
import * as i5 from "./components/selected-child-material-textures.component";
|
|
7
|
-
import * as i6 from "./
|
|
8
|
-
import * as i7 from "
|
|
9
|
-
import * as i8 from "@angular/
|
|
10
|
-
import * as i9 from "@angular/
|
|
11
|
-
import * as i10 from "@angular/
|
|
12
|
-
import * as i11 from "@
|
|
13
|
-
import * as i12 from "
|
|
14
|
-
import * as i13 from "
|
|
15
|
-
import * as i14 from "@angular/material/
|
|
16
|
-
import * as i15 from "
|
|
7
|
+
import * as i6 from "./components/selected-child-material-color.component";
|
|
8
|
+
import * as i7 from "./directive/development.directive";
|
|
9
|
+
import * as i8 from "@angular/common";
|
|
10
|
+
import * as i9 from "@angular/material/checkbox";
|
|
11
|
+
import * as i10 from "@angular/forms";
|
|
12
|
+
import * as i11 from "@angular/material/select";
|
|
13
|
+
import * as i12 from "@colijnit/corecomponents";
|
|
14
|
+
import * as i13 from "../core/core.module";
|
|
15
|
+
import * as i14 from "@angular/material/button";
|
|
16
|
+
import * as i15 from "@angular/material/tooltip";
|
|
17
|
+
import * as i16 from "../shared/color-picker-dialog/color-picker-dialog.module";
|
|
17
18
|
export declare class DevelopmentModule {
|
|
18
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<DevelopmentModule, never>;
|
|
19
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DevelopmentModule, [typeof i1.SelectedObjectComponent, typeof i2.SelectedChildComponent, typeof i3.SelectedChildMaterialComponent, typeof i4.SelectedChildMaterialTextureComponent, typeof i5.SelectedChildMaterialTexturesComponent, typeof i6.DevelopmentDirective], [typeof
|
|
20
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DevelopmentModule, [typeof i1.SelectedObjectComponent, typeof i2.SelectedChildComponent, typeof i3.SelectedChildMaterialComponent, typeof i4.SelectedChildMaterialTextureComponent, typeof i5.SelectedChildMaterialTexturesComponent, typeof i6.SelectedChildMaterialColorComponent, typeof i7.DevelopmentDirective], [typeof i8.CommonModule, typeof i9.MatCheckboxModule, typeof i10.FormsModule, typeof i11.MatSelectModule, typeof i12.IconModule, typeof i13.CoreModule, typeof i14.MatButtonModule, typeof i15.MatTooltipModule, typeof i16.ColorPickerDialogModule], [typeof i1.SelectedObjectComponent, typeof i2.SelectedChildComponent, typeof i3.SelectedChildMaterialComponent, typeof i4.SelectedChildMaterialTextureComponent, typeof i5.SelectedChildMaterialTexturesComponent, typeof i6.SelectedChildMaterialColorComponent, typeof i7.DevelopmentDirective]>;
|
|
20
21
|
static ɵinj: i0.ɵɵInjectorDeclaration<DevelopmentModule>;
|
|
21
22
|
}
|