@colijnit/homedecorator 255.1.11 → 255.1.13
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 -1
- package/app/core/enum/icon.enum.d.ts +58 -2
- package/app/core/enum/message-type.enum.d.ts +3 -1
- package/app/core/interface/homedecorator-external-settings.interface.d.ts +1 -0
- package/app/core/interface/message-with-payload.interface.d.ts +2 -0
- package/app/core/service/3dm-api.d.ts +2 -2
- package/app/core/service/homedecorator-connector.service.d.ts +2 -0
- package/app/core/service/homedecorator-icon-cache.service.d.ts +1 -1
- package/app/core/service/utils.service.d.ts +7 -2
- package/app/plugins/core3d/hud/bounding-measurement-box/bounding-box-measurement.d.ts +8 -0
- package/app/plugins/core3d/hud/utils.d.ts +1 -0
- package/app/plugins/core3d/items/floor-plane-item.d.ts +1 -1
- package/app/plugins/core3d/service/floor.service.d.ts +24 -0
- package/app/plugins/core3d/service/hud.service.d.ts +3 -1
- package/app/plugins/lite-selector/lite-selector/component/answer-card/answer-card.component.scss +21 -3
- package/app/plugins/lite-selector/lite-selector/component/answers-slideout/answers-slideout.component.scss +36 -22
- package/app/plugins/lite-selector/lite-selector/component/selections-summary/selections-summary.component.scss +23 -10
- package/app/plugins/lite-selector/lite-selector/lite-selector.component.scss +4 -0
- package/app/plugins/model-uploader/model-previewer/model-preview.component.scss +10 -10
- package/app/plugins/product-catalog/product-catalog/product-catalog.component.scss +12 -8
- package/app/plugins/render/render-controls/render-controls.component.d.ts +23 -1
- package/app/plugins/render/render-controls/render-controls.component.scss +190 -5
- package/app/plugins/render/render.module.d.ts +2 -1
- package/app/plugins/room-planner/components/appearance-section/appearance-section.component.d.ts +5 -1
- package/app/plugins/room-planner/components/appearance-section/appearance-section.component.scss +24 -5
- package/app/plugins/room-planner/components/file-drop/file-drop.component.scss +3 -5
- package/app/plugins/room-planner/components/floor-catalog/floor-catalog.component.d.ts +60 -0
- package/app/plugins/room-planner/components/floor-catalog/floor-catalog.component.scss +148 -0
- package/app/plugins/room-planner/components/floorplanner/floorplanner.component.d.ts +5 -1
- package/app/plugins/room-planner/components/floorplanner/floorplanner.component.scss +24 -3
- package/app/plugins/room-planner/components/object-library/object-library.component.scss +3 -0
- package/app/plugins/room-planner/components/selected-floor/selected-floor.component.d.ts +7 -4
- package/app/plugins/room-planner/components/settings/settings.component.scss +1 -0
- package/app/plugins/room-planner/components/texture-editor/texture-editor.component.scss +17 -33
- package/app/plugins/room-planner/components/texture-picker/texture-picker.component.d.ts +5 -1
- package/app/plugins/room-planner/components/texture-picker/texture-picker.component.scss +18 -15
- package/app/plugins/room-planner/room-planner/room-planner.component.d.ts +2 -4
- package/app/plugins/room-planner/room-planner/room-planner.component.scss +121 -15
- package/app/plugins/room-planner/room-planner.module.d.ts +36 -35
- package/app/plugins/threedselector/threedselector/service/build-furniture.service.d.ts +3 -1
- package/app/plugins/threedselector/threedselector/service/variation.service.d.ts +1 -0
- package/app/plugins/toolbar/draw-dialog/draw-dialog.component.scss +4 -4
- package/app/plugins/toolbar/landing-screen-modal/landing-screen-modal.component.d.ts +5 -1
- package/app/plugins/toolbar/landing-screen-modal/landing-screen-modal.component.scss +17 -11
- package/app/plugins/toolbar/pdf-crop-dialog/pdf-crop-dialog.component.scss +1 -1
- package/app/plugins/toolbar/toolbar/toolbar.component.d.ts +6 -1
- package/app/plugins/toolbar/toolbar/toolbar.component.scss +158 -29
- package/app/shared/button-elevation/button-elevation.component.scss +1 -1
- package/app/shared/context-menu/context-menu.module.d.ts +8 -7
- package/app/shared/context-menu/right-context-menu/right-context-menu.component.d.ts +30 -0
- package/app/shared/context-menu/right-context-menu/right-context-menu.component.scss +35 -0
- package/app/shared/slider-input/slider-input.component.scss +18 -1
- package/app/shared/toolbar-icon/toolbar-icon.component.d.ts +5 -0
- package/app/shared/toolbar-icon/toolbar-icon.component.scss +20 -2
- package/app/shared/toolbar-icon/toolbar-icon.module.d.ts +2 -1
- package/assets/icons/aperture.svg +1 -0
- package/assets/icons/arrow-up-right-and-arrow-down-left-from-center.svg +1 -0
- package/assets/icons/arrow_rotate_left.svg +1 -0
- package/assets/icons/arrow_rotate_right.svg +1 -0
- package/assets/icons/arrow_turn_left.svg +1 -0
- package/assets/icons/arrow_turn_left_regular.svg +1 -0
- package/assets/icons/arrow_turn_right.svg +1 -0
- package/assets/icons/arrow_turn_right_regular.svg +1 -0
- package/assets/icons/arrows-left-right.svg +1 -0
- package/assets/icons/arrows-up-down.svg +1 -0
- package/assets/icons/arrows_to_eye.svg +1 -0
- package/assets/icons/camera_solid.svg +1 -0
- package/assets/icons/camera_topdown.svg +20 -0
- package/assets/icons/camera_viewfinder.svg +1 -0
- package/assets/icons/circle_check.svg +1 -0
- package/assets/icons/circle_info.svg +1 -0
- package/assets/icons/circle_minus_light.svg +1 -0
- package/assets/icons/circle_plus_light.svg +1 -0
- package/assets/icons/circle_question.svg +1 -0
- package/assets/icons/circle_xmark.svg +1 -0
- package/assets/icons/cloud_arrow_down.svg +1 -0
- package/assets/icons/cloud_arrow_up.svg +1 -0
- package/assets/icons/comment.svg +1 -0
- package/assets/icons/compress.svg +1 -0
- package/assets/icons/copy_light.svg +1 -0
- package/assets/icons/couch.svg +1 -0
- package/assets/icons/cube.svg +1 -0
- package/assets/icons/draw_square.svg +1 -0
- package/assets/icons/expand.svg +1 -0
- package/assets/icons/fill_drip_light.svg +1 -0
- package/assets/icons/flower.svg +1 -0
- package/assets/icons/grid_light.svg +1 -0
- package/assets/icons/hand_light.svg +1 -0
- package/assets/icons/hand_pointer_light.svg +1 -0
- package/assets/icons/house.svg +1 -0
- package/assets/icons/image_light.svg +1 -0
- package/assets/icons/link_light.svg +1 -0
- package/assets/icons/link_slash_light.svg +1 -0
- package/assets/icons/list.svg +1 -0
- package/assets/icons/lock_light.svg +1 -0
- package/assets/icons/lock_open_light.svg +1 -0
- package/assets/icons/magnet-strikethrough.svg +15 -0
- package/assets/icons/magnet.svg +1 -0
- package/assets/icons/magnet_strikethrough.svg +15 -0
- package/assets/icons/magnifying_glass_minus.svg +1 -0
- package/assets/icons/magnifying_glass_plus.svg +1 -0
- package/assets/icons/paint_roller_light.svg +1 -0
- package/assets/icons/pencil_light.svg +1 -0
- package/assets/icons/settings.svg +1 -0
- package/assets/icons/street_view.svg +1 -0
- package/assets/icons/trash_can_light.svg +1 -0
- package/assets/icons/upload_light.svg +1 -0
- package/assets/icons/wand_magic_sparkles.svg +1 -0
- package/assets/icons/xmark_light.svg +1 -0
- package/assets/images/logo_homedecohub.svg +795 -0
- package/bundles/colijnit-homedecorator.umd.js +2515 -1651
- package/bundles/colijnit-homedecorator.umd.js.map +1 -1
- package/esm2015/app/core/enum/icon.enum.js +58 -2
- package/esm2015/app/core/enum/message-type.enum.js +3 -1
- package/esm2015/app/core/interface/homedecorator-external-settings.interface.js +1 -1
- package/esm2015/app/core/interface/message-with-payload.interface.js +1 -1
- package/esm2015/app/core/model/homedecorator-settings-options.js +2 -2
- package/esm2015/app/core/model/icon.js +60 -3
- package/esm2015/app/core/service/3dm-api.js +26 -14
- package/esm2015/app/core/service/homedecorator-connector.service.js +7 -1
- package/esm2015/app/core/service/homedecorator-icon-cache.service.js +1 -1
- package/esm2015/app/core/service/homedecorator-settings.service.js +2 -1
- package/esm2015/app/core/service/utils.service.js +51 -32
- package/esm2015/app/homedecorator.component.js +4 -2
- package/esm2015/app/plugins/core3d/collision-manager/snapping-collision.service.js +2 -2
- package/esm2015/app/plugins/core3d/core3d/core3d.component.js +2 -2
- package/esm2015/app/plugins/core3d/hud/bounding-measurement-box/bounding-box-measurement.js +93 -11
- package/esm2015/app/plugins/core3d/hud/measurements.js +18 -6
- package/esm2015/app/plugins/core3d/hud/utils.js +33 -1
- package/esm2015/app/plugins/core3d/items/floor-plane-item.js +5 -5
- package/esm2015/app/plugins/core3d/service/floor-pattern.service.js +3 -2
- package/esm2015/app/plugins/core3d/service/floor-tile-intersection.service.js +3 -2
- package/esm2015/app/plugins/core3d/service/floor.service.js +51 -1
- package/esm2015/app/plugins/core3d/service/hud.service.js +6 -4
- package/esm2015/app/plugins/furniture-manager/furniture-manager/furniture-manager.component.js +3 -5
- package/esm2015/app/plugins/help/help/help.component.js +8 -10
- package/esm2015/app/plugins/lite-selector/lite-selector/component/answer-card/answer-card.component.js +1 -1
- package/esm2015/app/plugins/lite-selector/lite-selector/component/answers-slideout/answers-slideout.component.js +12 -8
- package/esm2015/app/plugins/lite-selector/lite-selector/component/selections-summary/selections-summary.component.js +1 -1
- package/esm2015/app/plugins/lite-selector/lite-selector/lite-selector.component.js +2 -2
- package/esm2015/app/plugins/model-uploader/model-previewer/model-preview.component.js +1 -1
- package/esm2015/app/plugins/product-catalog/own-collection-catalog/product-own-collection.component.js +1 -1
- package/esm2015/app/plugins/product-catalog/product-catalog/product-catalog.component.js +34 -143
- package/esm2015/app/plugins/render/render-controls/render-controls.component.js +300 -25
- package/esm2015/app/plugins/render/render-dialog/render-dialog.component.js +2 -2
- package/esm2015/app/plugins/render/render.module.js +8 -4
- package/esm2015/app/plugins/render/service/render.service.js +3 -3
- package/esm2015/app/plugins/room-planner/components/appearance-section/appearance-section.component.js +25 -18
- package/esm2015/app/plugins/room-planner/components/file-drop/file-drop.component.js +1 -1
- package/esm2015/app/plugins/room-planner/components/floor-catalog/floor-catalog.component.js +533 -0
- package/esm2015/app/plugins/room-planner/components/floorplanner/floorplanner.component.js +21 -17
- package/esm2015/app/plugins/room-planner/components/object-library/object-library.component.js +1 -1
- package/esm2015/app/plugins/room-planner/components/selected-floor/selected-floor.component.js +15 -2
- package/esm2015/app/plugins/room-planner/components/settings/settings.component.js +1 -1
- package/esm2015/app/plugins/room-planner/components/texture-editor/texture-editor.component.js +3 -2
- package/esm2015/app/plugins/room-planner/components/texture-picker/texture-picker.component.js +18 -14
- package/esm2015/app/plugins/room-planner/room-planner/room-planner.component.js +182 -146
- package/esm2015/app/plugins/room-planner/room-planner.module.js +4 -1
- package/esm2015/app/plugins/threedselector/threedselector/service/build-furniture.service.js +126 -54
- package/esm2015/app/plugins/threedselector/threedselector/service/variation.service.js +12 -1
- package/esm2015/app/plugins/threedselector/threedselector/threedselector.component.js +9 -3
- package/esm2015/app/plugins/toolbar/draw-dialog/draw-dialog.component.js +1 -1
- package/esm2015/app/plugins/toolbar/landing-screen-modal/landing-screen-modal.component.js +21 -17
- package/esm2015/app/plugins/toolbar/pdf-crop-dialog/pdf-crop-dialog.component.js +1 -1
- package/esm2015/app/plugins/toolbar/toolbar/toolbar.component.js +297 -226
- package/esm2015/app/shared/button-elevation/button-elevation.component.js +1 -1
- package/esm2015/app/shared/category-library/category-library.component.js +1 -1
- package/esm2015/app/shared/context-menu/context-menu.module.js +6 -5
- package/esm2015/app/shared/context-menu/right-context-menu/right-context-menu.component.js +93 -0
- package/esm2015/app/shared/slider-input/slider-input.component.js +1 -1
- package/esm2015/app/shared/toolbar-icon/toolbar-icon.component.js +24 -37
- package/esm2015/app/shared/toolbar-icon/toolbar-icon.module.js +8 -4
- package/esm2015/app/shared/zoom-controls/zoom-controls.component.js +2 -2
- package/fesm2015/colijnit-homedecorator.js +3003 -1704
- package/fesm2015/colijnit-homedecorator.js.map +1 -1
- package/package.json +1 -1
- package/styles.scss +1 -1
- package/colijnit-homedecorator-255.1.9.tgz +0 -0
package/_variables.scss
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
$add-to-cart-button-color: #
|
|
1
|
+
$add-to-cart-button-color: #da9803 !default;
|
|
@@ -1,33 +1,89 @@
|
|
|
1
1
|
/** AUTO GENERATED FILE. DO NOT CHANGE.. **/
|
|
2
2
|
export declare enum IconEnum {
|
|
3
3
|
AddButton = "add-button",
|
|
4
|
+
Aperture = "aperture",
|
|
5
|
+
ArrowUpRightAndArrowDownLeftFromCenter = "arrow-up-right-and-arrow-down-left-from-center",
|
|
6
|
+
ArrowsLeftRight = "arrows-left-right",
|
|
7
|
+
ArrowsUpDown = "arrows-up-down",
|
|
8
|
+
ArrowsToEye = "arrows_to_eye",
|
|
4
9
|
ArrowPointDown = "arrow_point_down",
|
|
10
|
+
ArrowRotateLeft = "arrow_rotate_left",
|
|
11
|
+
ArrowRotateRight = "arrow_rotate_right",
|
|
12
|
+
ArrowTurnLeft = "arrow_turn_left",
|
|
13
|
+
ArrowTurnLeftRegular = "arrow_turn_left_regular",
|
|
14
|
+
ArrowTurnRight = "arrow_turn_right",
|
|
15
|
+
ArrowTurnRightRegular = "arrow_turn_right_regular",
|
|
5
16
|
ArCircle = "ar_circle",
|
|
6
17
|
Brush = "brush",
|
|
18
|
+
CameraSolid = "camera_solid",
|
|
19
|
+
CameraTopdown = "camera_topdown",
|
|
20
|
+
CameraViewfinder = "camera_viewfinder",
|
|
7
21
|
CartShoppingRegular = "cart-shopping-regular",
|
|
8
22
|
Check = "check",
|
|
23
|
+
CircleCheck = "circle_check",
|
|
24
|
+
CircleInfo = "circle_info",
|
|
25
|
+
CircleMinusLight = "circle_minus_light",
|
|
26
|
+
CirclePlusLight = "circle_plus_light",
|
|
27
|
+
CircleQuestion = "circle_question",
|
|
28
|
+
CircleXmark = "circle_xmark",
|
|
9
29
|
CitPoweredWhite = "cit_powered_white",
|
|
30
|
+
CloudArrowDown = "cloud_arrow_down",
|
|
31
|
+
CloudArrowUp = "cloud_arrow_up",
|
|
32
|
+
Comment = "comment",
|
|
33
|
+
Compress = "compress",
|
|
10
34
|
ConfFrame = "conf_frame",
|
|
11
35
|
ConfPlane = "conf_plane",
|
|
36
|
+
CopyLight = "copy_light",
|
|
37
|
+
Couch = "couch",
|
|
12
38
|
Cross = "cross",
|
|
13
39
|
CubeOutline = "cube-outline",
|
|
14
40
|
CubeUnfolded = "cube-unfolded",
|
|
41
|
+
Cube = "cube",
|
|
42
|
+
DashButton = "dash-button",
|
|
15
43
|
DeleteButton = "delete-button",
|
|
16
44
|
Download = "download",
|
|
45
|
+
DrawSquare = "draw_square",
|
|
17
46
|
EditButton = "edit-button",
|
|
47
|
+
Expand = "expand",
|
|
48
|
+
FillDripLight = "fill_drip_light",
|
|
49
|
+
Flower = "flower",
|
|
18
50
|
GoogleCardboardOrange = "google-cardboard-orange",
|
|
19
51
|
GoogleCardboard = "google-cardboard",
|
|
52
|
+
GridLight = "grid_light",
|
|
20
53
|
HandPointer = "hand-pointer",
|
|
54
|
+
HandLight = "hand_light",
|
|
55
|
+
HandPointerLight = "hand_pointer_light",
|
|
21
56
|
HeightAdjust = "height_adjust",
|
|
57
|
+
House = "house",
|
|
58
|
+
ImageLight = "image_light",
|
|
59
|
+
LinkLight = "link_light",
|
|
60
|
+
LinkSlashLight = "link_slash_light",
|
|
61
|
+
List = "list",
|
|
62
|
+
LockLight = "lock_light",
|
|
63
|
+
LockOpenLight = "lock_open_light",
|
|
22
64
|
MagicWand = "magic-wand",
|
|
65
|
+
MagnetStrikethrough = "magnet-strikethrough",
|
|
66
|
+
Magnet = "magnet",
|
|
23
67
|
Magnifier = "magnifier",
|
|
68
|
+
MagnifyingGlassMinus = "magnifying_glass_minus",
|
|
69
|
+
MagnifyingGlassPlus = "magnifying_glass_plus",
|
|
24
70
|
Measurements = "measurements",
|
|
25
71
|
MovePhoneAr = "move-phone-ar",
|
|
72
|
+
PaintRollerLight = "paint_roller_light",
|
|
73
|
+
PenRuler = "pen-ruler",
|
|
74
|
+
PencilLight = "pencil_light",
|
|
26
75
|
Qrcode = "qrcode",
|
|
76
|
+
RetryButton = "retry-button",
|
|
77
|
+
Settings = "settings",
|
|
27
78
|
StreetViewOrange = "street-view-orange",
|
|
28
|
-
StreetView = "
|
|
79
|
+
StreetView = "street_view",
|
|
29
80
|
SwapButton = "swap-button",
|
|
30
81
|
TiltPhone = "tilt-phone",
|
|
82
|
+
TrashCanLight = "trash_can_light",
|
|
31
83
|
TriangleDown = "triangle_down",
|
|
32
|
-
TriangleUp = "triangle_up"
|
|
84
|
+
TriangleUp = "triangle_up",
|
|
85
|
+
UploadLight = "upload_light",
|
|
86
|
+
WandMagicSparkles = "wand_magic_sparkles",
|
|
87
|
+
XmarkLight = "xmark_light",
|
|
88
|
+
XmarkRegular = "xmark_regular"
|
|
33
89
|
}
|
|
@@ -67,5 +67,7 @@ export declare enum MessageType {
|
|
|
67
67
|
BlenderRenderFileReady = "BlenderRenderFileReady",
|
|
68
68
|
UserModelUploaded = "UserModelUploaded",
|
|
69
69
|
ChangeTexture = "ChangeTexture",
|
|
70
|
-
RenderError = "RenderError"
|
|
70
|
+
RenderError = "RenderError",
|
|
71
|
+
ShowFloorArticleCatalog = "ShowFloorArticleCatalog",
|
|
72
|
+
BlenderRenderPreviewReady = "BlenderRenderPreviewReady"
|
|
71
73
|
}
|
|
@@ -45,8 +45,8 @@ export declare class ApiServiceModule {
|
|
|
45
45
|
private _settingsService;
|
|
46
46
|
private _dialog;
|
|
47
47
|
constructor(iOneControllerService: HomedecoratorConnectorService, messageService: MessageBusService, _http: HttpClient, _settingsService: HomedecoratorSettingsService, _dialog: MatDialog);
|
|
48
|
-
uploadToApiGLB(formData: FormData, filename: string, camera: PerspectiveCamera, standalone: boolean, renderParameters: any): Promise<void>;
|
|
49
|
-
requestRender(filename: string, camera: PerspectiveCamera, standalone: boolean, renderParameters: any): Promise<any>;
|
|
48
|
+
uploadToApiGLB(formData: FormData, filename: string, camera: PerspectiveCamera, standalone: boolean, renderParameters: any, renderPreview: boolean): Promise<void>;
|
|
49
|
+
requestRender(filename: string, camera: PerspectiveCamera, standalone: boolean, renderParameters: any, renderPreview: boolean): Promise<any>;
|
|
50
50
|
private _sendRequest;
|
|
51
51
|
private _setOptions;
|
|
52
52
|
private _createRenderRequestBody;
|
|
@@ -81,6 +81,8 @@ export declare class HomedecoratorConnectorService implements OnDestroy {
|
|
|
81
81
|
* @param decoNodes
|
|
82
82
|
*/
|
|
83
83
|
setDecoNodes(decoNodes: DecoNode[]): void;
|
|
84
|
+
getImageCache(): any;
|
|
85
|
+
getImageById(id: number): any;
|
|
84
86
|
initConnection(forceReload?: boolean): Promise<void>;
|
|
85
87
|
getInternalParameter(param: InternalParam): Promise<string>;
|
|
86
88
|
getJsonConfiguredArticles(goodId: number, goodType: string, quantity: number, externalSource?: boolean, showLoader?: boolean, instanceId?: number, configuratorStatistics?: ConfiguratorStatisticsEnvironment): Promise<any>;
|
|
@@ -13,7 +13,7 @@ export declare class HomedecoratorIconCacheService {
|
|
|
13
13
|
private _iconCache;
|
|
14
14
|
private _allIcons;
|
|
15
15
|
constructor(_sanitizer: DomSanitizer);
|
|
16
|
-
getIcon(iconName:
|
|
16
|
+
getIcon(iconName: string): SafeHtml;
|
|
17
17
|
getIconAsBase64(iconName: IconEnum): SafeHtml;
|
|
18
18
|
setIconCache(): void;
|
|
19
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<HomedecoratorIconCacheService, never>;
|
|
@@ -9,9 +9,11 @@ import { ItemService } from '../../plugins/core3d/service/item.service';
|
|
|
9
9
|
import { SceneService } from '../../plugins/core3d/service/scene.service';
|
|
10
10
|
import { ApiServiceModule } from './3dm-api';
|
|
11
11
|
import { CameraService } from '../../plugins/core3d/service/camera.service';
|
|
12
|
+
import { MessageBusService } from './message-bus.service';
|
|
12
13
|
import * as i0 from "@angular/core";
|
|
13
14
|
export declare class UtilsService implements OnDestroy {
|
|
14
15
|
apiServiceModule: ApiServiceModule;
|
|
16
|
+
messageService: MessageBusService;
|
|
15
17
|
private _settingsService;
|
|
16
18
|
private _jsonUtilsService;
|
|
17
19
|
private _progressService;
|
|
@@ -25,7 +27,9 @@ export declare class UtilsService implements OnDestroy {
|
|
|
25
27
|
private _ktx2Loader;
|
|
26
28
|
private _usdzExporter;
|
|
27
29
|
private _gltfExporter;
|
|
28
|
-
|
|
30
|
+
private _sceneRenderName;
|
|
31
|
+
private _sceneRenderContents;
|
|
32
|
+
constructor(apiServiceModule: ApiServiceModule, messageService: MessageBusService, _settingsService: HomedecoratorSettingsService, _jsonUtilsService: JsonUtilsService, _progressService: ProgressService, _itemsService: ItemService, _sceneService: SceneService, _dialog: MatDialog, _cameraService: CameraService);
|
|
29
33
|
ngOnDestroy(): void;
|
|
30
34
|
readFileAsText(file: File): Promise<string>;
|
|
31
35
|
/**
|
|
@@ -46,7 +50,8 @@ export declare class UtilsService implements OnDestroy {
|
|
|
46
50
|
loadGlbFromFile(file: ArrayBuffer): Promise<Object3D>;
|
|
47
51
|
loadGlbRoom(file: string): Promise<Object3D>;
|
|
48
52
|
saveRoomAsGlb(): Promise<void>;
|
|
49
|
-
prepRoomForRender(standalone: boolean, renderParameters: any): Promise<void>;
|
|
53
|
+
prepRoomForRender(standalone: boolean, renderParameters: any, renderPreview?: boolean): Promise<void>;
|
|
54
|
+
clearSavedRoomRenderSettings(): void;
|
|
50
55
|
private _createGLBForAPI;
|
|
51
56
|
private _sendFileToApi;
|
|
52
57
|
loadGlbSource(file: string): Promise<Object3D>;
|
|
@@ -14,8 +14,14 @@ export declare class BoundingBoxMeasurement implements Measurable {
|
|
|
14
14
|
private _measurements;
|
|
15
15
|
dimUnit: string;
|
|
16
16
|
distanceStep: number;
|
|
17
|
+
textColor: any;
|
|
18
|
+
backgroundColor: any;
|
|
19
|
+
backgroundOpacity: number;
|
|
20
|
+
textSize: number;
|
|
17
21
|
constructor(_item: Item | ItemGroup, font: Font, _dictionaryService: HomedecoratorDictionaryService);
|
|
18
22
|
private _createMeasurements;
|
|
23
|
+
private _createAllMeasurements;
|
|
24
|
+
private _calculateAllMeasurementsPositions;
|
|
19
25
|
private _createHeightMeasurement;
|
|
20
26
|
private _calculateHeightPositions;
|
|
21
27
|
private _createWidthMeasurement;
|
|
@@ -25,4 +31,6 @@ export declare class BoundingBoxMeasurement implements Measurable {
|
|
|
25
31
|
getMeasurements(): THREE.Mesh[];
|
|
26
32
|
updatePositions(camera: THREE.Camera): void;
|
|
27
33
|
setVisibility(visible: boolean): void;
|
|
34
|
+
createMeshFromSVG(svgPath: string): Promise<any>;
|
|
35
|
+
getSvgData(svgPath: string): Promise<any>;
|
|
28
36
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { Mesh } from 'three';
|
|
2
2
|
import { Font } from 'three/examples/jsm/loaders/FontLoader';
|
|
3
3
|
export declare function makeTextMesh(text: string, font: Font, color?: any, size?: number, beveled?: boolean, depthTest?: boolean, label?: string): Mesh;
|
|
4
|
+
export declare function createTextWithBackground(text: string, font: Font, fontSize?: number, textColor?: any, backgroundColor?: any, backgroundOpacity?: number, padding?: number, label?: string): Mesh;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Color, Material, Mesh, Object3D, Vector3
|
|
1
|
+
import { BufferGeometry, Color, Material, Mesh, Object3D, Vector3 } from 'three';
|
|
2
2
|
import { Metadata } from './metadata';
|
|
3
3
|
import { Item } from './item';
|
|
4
4
|
import { Texture } from '../../../core/model/texture';
|
|
@@ -8,6 +8,8 @@ import { ItemService } from './item.service';
|
|
|
8
8
|
import { FloorPlaneItem } from '../items/floor-plane-item';
|
|
9
9
|
import { HomedecoratorSettingsService } from '../../../core/service/homedecorator-settings.service';
|
|
10
10
|
import { MessageBusService } from '../../../core/service/message-bus.service';
|
|
11
|
+
import { Article } from '@colijnit/configuratorapi/build/model/article';
|
|
12
|
+
import { CustomFloorGroupResult } from '../model/custom-floor-group-result';
|
|
11
13
|
import * as i0 from "@angular/core";
|
|
12
14
|
export declare class FloorService implements OnDestroy {
|
|
13
15
|
private _sceneService;
|
|
@@ -17,11 +19,33 @@ export declare class FloorService implements OnDestroy {
|
|
|
17
19
|
private _messageService;
|
|
18
20
|
private _groundPlane;
|
|
19
21
|
private _floorPlane;
|
|
22
|
+
private _selectedFloorArticle;
|
|
23
|
+
private _showFloorCenterLineZAxis;
|
|
24
|
+
private _floorCenterLineZAxis;
|
|
25
|
+
private _showFloorCenterLineXAxis;
|
|
26
|
+
private _floorCenterLineXAxis;
|
|
27
|
+
private _floorRotation;
|
|
20
28
|
private _floors;
|
|
21
29
|
private _subs;
|
|
30
|
+
private _floorResultObject;
|
|
22
31
|
private _mirrorPlane;
|
|
23
32
|
get groundPlane(): Mesh;
|
|
24
33
|
set groundPlane(mesh: Mesh);
|
|
34
|
+
get floorPlane(): FloorPlaneItem;
|
|
35
|
+
get selectedFloorArticle(): Article;
|
|
36
|
+
set selectedFloorArticle(article: Article);
|
|
37
|
+
get showFloorCenterLineZAxis(): boolean;
|
|
38
|
+
set showFloorCenterLineZAxis(show: boolean);
|
|
39
|
+
get showFloorCenterLineXAxis(): boolean;
|
|
40
|
+
set showFloorCenterLineXAxis(show: boolean);
|
|
41
|
+
get floorCenterLineZAxis(): number;
|
|
42
|
+
set floorCenterLineZAxis(value: number);
|
|
43
|
+
get floorCenterLineXAxis(): number;
|
|
44
|
+
set floorCenterLineXAxis(value: number);
|
|
45
|
+
get floorRotation(): number;
|
|
46
|
+
set floorRotation(value: number);
|
|
47
|
+
get floorResultObject(): CustomFloorGroupResult;
|
|
48
|
+
set floorResultObject(result: CustomFloorGroupResult);
|
|
25
49
|
floorToConfigure: FloorPlaneItem;
|
|
26
50
|
constructor(_sceneService: SceneService, _outlineService: OutlineService, _itemService: ItemService, _settingsService: HomedecoratorSettingsService, _messageService: MessageBusService);
|
|
27
51
|
ngOnDestroy(): void;
|
|
@@ -13,6 +13,7 @@ import { ItemService } from './item.service';
|
|
|
13
13
|
import { FloorService } from './floor.service';
|
|
14
14
|
import { HomedecoratorDictionaryService } from '../../../core/service/homedecorator-dictionary.service';
|
|
15
15
|
import { PresetsService } from '../../../core/service/presets.service';
|
|
16
|
+
import { DomSanitizer } from '@angular/platform-browser';
|
|
16
17
|
import * as i0 from "@angular/core";
|
|
17
18
|
export declare class HudService implements OnDestroy {
|
|
18
19
|
private _sceneService;
|
|
@@ -26,6 +27,7 @@ export declare class HudService implements OnDestroy {
|
|
|
26
27
|
private _floorService;
|
|
27
28
|
private _presetsService;
|
|
28
29
|
private _dictionaryService;
|
|
30
|
+
private _domSanitizer;
|
|
29
31
|
private _selectedItem;
|
|
30
32
|
private _rotationHelper;
|
|
31
33
|
private _wasRotationHelperShowing;
|
|
@@ -42,7 +44,7 @@ export declare class HudService implements OnDestroy {
|
|
|
42
44
|
private _displayCustomShapeNames;
|
|
43
45
|
private _isAirplaneMode;
|
|
44
46
|
private _subs;
|
|
45
|
-
constructor(_sceneService: SceneService, _cameraService: CameraService, _roomService: RoomService, _fontService: FontService, _messageBusService: MessageBusService, _configurationService: ConfigurationService, _viewModeService: ViewModeService, _itemService: ItemService, _floorService: FloorService, _presetsService: PresetsService, _dictionaryService: HomedecoratorDictionaryService);
|
|
47
|
+
constructor(_sceneService: SceneService, _cameraService: CameraService, _roomService: RoomService, _fontService: FontService, _messageBusService: MessageBusService, _configurationService: ConfigurationService, _viewModeService: ViewModeService, _itemService: ItemService, _floorService: FloorService, _presetsService: PresetsService, _dictionaryService: HomedecoratorDictionaryService, _domSanitizer: DomSanitizer);
|
|
46
48
|
ngOnDestroy(): void;
|
|
47
49
|
unselectItem(): void;
|
|
48
50
|
get rotationHelper(): RotationHelper;
|
package/app/plugins/lite-selector/lite-selector/component/answer-card/answer-card.component.scss
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
:host {
|
|
2
|
-
width:
|
|
3
|
-
|
|
2
|
+
width: 23%;
|
|
3
|
+
background: #FFF;
|
|
4
|
+
border-radius: 10px;
|
|
5
|
+
cursor: pointer;
|
|
4
6
|
&.small-mode {
|
|
5
|
-
width:
|
|
7
|
+
width: 18%;
|
|
6
8
|
}
|
|
7
9
|
}
|
|
8
10
|
|
|
@@ -22,4 +24,20 @@
|
|
|
22
24
|
content: '+ ';
|
|
23
25
|
}
|
|
24
26
|
}
|
|
27
|
+
.co-card-wrapper {
|
|
28
|
+
.check {
|
|
29
|
+
background-color: #da9803 !important;
|
|
30
|
+
width: 20px;
|
|
31
|
+
height: 20px;
|
|
32
|
+
}
|
|
33
|
+
co-button ::ng-deep {
|
|
34
|
+
width: 30px;
|
|
35
|
+
max-width: 30px;
|
|
36
|
+
height: 30px;
|
|
37
|
+
co-icon {
|
|
38
|
+
width: 20px;
|
|
39
|
+
height: 20px;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
25
43
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
co-slideout {
|
|
2
2
|
overflow-y: auto;
|
|
3
|
-
z-index:
|
|
3
|
+
z-index: 2;
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
:host {
|
|
7
|
-
&.bottom-align:not(.custom-dimensions)
|
|
7
|
+
&.bottom-align:not(.custom-dimensions) {
|
|
8
8
|
co-slideout {
|
|
9
9
|
width: 100%;
|
|
10
10
|
height: 200px;
|
|
@@ -25,18 +25,16 @@ co-slideout {
|
|
|
25
25
|
&:not(.custom-dimensions) co-slideout {
|
|
26
26
|
width: 500px;
|
|
27
27
|
max-width: 60vw;
|
|
28
|
-
top:
|
|
29
|
-
max-height: calc(100% -
|
|
30
|
-
|
|
31
|
-
&.small-mode co-slideout {
|
|
32
|
-
width: 50vw;
|
|
33
|
-
min-width: 700px;
|
|
28
|
+
top: 40px;
|
|
29
|
+
max-height: calc(100% - 100px);
|
|
30
|
+
padding: 30px;
|
|
34
31
|
}
|
|
35
32
|
.search-button {
|
|
36
|
-
margin-left:
|
|
37
|
-
width:
|
|
38
|
-
height:
|
|
33
|
+
margin-left: 15px;
|
|
34
|
+
width: 20px;
|
|
35
|
+
height: 20px;
|
|
39
36
|
cursor: pointer;
|
|
37
|
+
line-height: 20px;
|
|
40
38
|
}
|
|
41
39
|
.search-wrapper {
|
|
42
40
|
z-index: 2;
|
|
@@ -54,20 +52,33 @@ co-slideout {
|
|
|
54
52
|
}
|
|
55
53
|
}
|
|
56
54
|
div.title {
|
|
57
|
-
margin:
|
|
55
|
+
margin: 0;
|
|
56
|
+
display: flex;
|
|
57
|
+
flex-direction: column;
|
|
58
|
+
gap: 5px;
|
|
59
|
+
h3 {
|
|
60
|
+
margin: 0;
|
|
61
|
+
color: #da9803;
|
|
62
|
+
font-weight: 500;
|
|
63
|
+
font-size: 20px;
|
|
64
|
+
}
|
|
65
|
+
.options-search {
|
|
66
|
+
display: flex;
|
|
67
|
+
align-items: center;
|
|
68
|
+
gap: 5px;
|
|
69
|
+
margin-bottom: 30px;
|
|
70
|
+
}
|
|
58
71
|
}
|
|
59
72
|
.header-description {
|
|
60
73
|
padding: 30px;
|
|
61
74
|
}
|
|
62
75
|
.close-answer {
|
|
63
76
|
position: absolute;
|
|
64
|
-
top:
|
|
65
|
-
right:
|
|
77
|
+
top: 15px;
|
|
78
|
+
right: 15px;
|
|
66
79
|
}
|
|
67
80
|
span.option-count {
|
|
68
|
-
|
|
69
|
-
font-family: "Century Gothic", "sans-serif";
|
|
70
|
-
color: #5b6875;
|
|
81
|
+
font-size: 14px;
|
|
71
82
|
&:before {
|
|
72
83
|
content: '(';
|
|
73
84
|
}
|
|
@@ -97,16 +108,19 @@ co-slideout {
|
|
|
97
108
|
flex-direction: row;
|
|
98
109
|
flex-wrap: wrap;
|
|
99
110
|
padding: 20px;
|
|
111
|
+
background: #f0f0f0;
|
|
112
|
+
gap: 10px;
|
|
113
|
+
border-radius: 15px;
|
|
100
114
|
}
|
|
101
115
|
co-html-header {
|
|
102
116
|
display: flex;
|
|
103
117
|
align-items: center;
|
|
104
118
|
}
|
|
105
119
|
co-html-header ::ng-deep h1, .price-header-level-1 {
|
|
106
|
-
font-size:
|
|
107
|
-
margin-bottom:
|
|
108
|
-
margin-top:
|
|
109
|
-
font-weight:
|
|
120
|
+
font-size: 16px;
|
|
121
|
+
margin-bottom: 0;
|
|
122
|
+
margin-top: 0;
|
|
123
|
+
font-weight: 500;
|
|
110
124
|
}
|
|
111
125
|
co-html-header ::ng-deep h2,
|
|
112
126
|
co-html-header ::ng-deep h3,
|
|
@@ -131,7 +145,7 @@ co-slideout {
|
|
|
131
145
|
display: flex;
|
|
132
146
|
flex-direction: column;
|
|
133
147
|
width: 100%;
|
|
134
|
-
padding-bottom:
|
|
148
|
+
padding-bottom: 0;
|
|
135
149
|
}
|
|
136
150
|
.group-header-title {
|
|
137
151
|
display: flex;
|
|
@@ -9,21 +9,31 @@
|
|
|
9
9
|
}
|
|
10
10
|
.selections-content {
|
|
11
11
|
overflow-y: auto;
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
gap: 3px;
|
|
12
15
|
}
|
|
13
16
|
|
|
14
|
-
|
|
17
|
+
::ng-deep rp-selections-summary {
|
|
15
18
|
display: inline-block;
|
|
16
19
|
background-color: white;
|
|
17
20
|
overflow-y: auto;
|
|
18
21
|
position: relative;
|
|
19
22
|
|
|
20
|
-
|
|
23
|
+
.co-summary-line br {
|
|
21
24
|
display: none;
|
|
22
25
|
}
|
|
26
|
+
.co-summary-line {
|
|
27
|
+
border-radius: 5px;
|
|
28
|
+
.summary-line {
|
|
29
|
+
padding: 0 5px;
|
|
30
|
+
cursor: pointer;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
23
33
|
}
|
|
24
34
|
:host:not(.custom-dimensions) {
|
|
25
35
|
min-width: 400px;
|
|
26
|
-
max-width:
|
|
36
|
+
max-width: 500px;
|
|
27
37
|
min-height: 300px;
|
|
28
38
|
}
|
|
29
39
|
|
|
@@ -37,22 +47,25 @@ h2 {
|
|
|
37
47
|
|
|
38
48
|
button.close-lite-selector {
|
|
39
49
|
position: absolute;
|
|
40
|
-
right:
|
|
50
|
+
right: 10px;
|
|
51
|
+
line-height: 30px;
|
|
52
|
+
min-width: 50px;
|
|
41
53
|
}
|
|
42
54
|
|
|
43
55
|
div.sum {
|
|
44
|
-
display: flex;
|
|
45
56
|
align-items: center;
|
|
46
|
-
height:
|
|
47
|
-
|
|
48
|
-
|
|
57
|
+
height: auto;
|
|
58
|
+
display: flex;
|
|
59
|
+
padding: 10px;
|
|
60
|
+
background-color: #deecf399;
|
|
49
61
|
box-shadow: 0 0 2px 0 rgba(72,79,96,.25);
|
|
62
|
+
border-radius: 5px;
|
|
50
63
|
}
|
|
51
64
|
|
|
52
65
|
div.sum > label {
|
|
53
66
|
width: 100%;
|
|
54
|
-
font-size:
|
|
55
|
-
margin-left:
|
|
67
|
+
font-size: 12px;
|
|
68
|
+
margin-left: 0;
|
|
56
69
|
}
|
|
57
70
|
|
|
58
71
|
div.sum > div.price {
|
|
@@ -52,8 +52,8 @@
|
|
|
52
52
|
.exportButton {
|
|
53
53
|
cursor: pointer;
|
|
54
54
|
color: #fff;
|
|
55
|
-
background: #
|
|
56
|
-
border: 1px solid #
|
|
55
|
+
background: #da9803;
|
|
56
|
+
border: 1px solid #da9803;
|
|
57
57
|
border-radius: 3px;
|
|
58
58
|
box-sizing: border-box;
|
|
59
59
|
padding: 5px;
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
align-items: center;
|
|
62
62
|
|
|
63
63
|
&:hover {
|
|
64
|
-
background: #
|
|
64
|
+
background: #da9803;
|
|
65
65
|
color: #fff;
|
|
66
66
|
}
|
|
67
67
|
}
|
|
@@ -91,14 +91,14 @@ mat-radio-group {
|
|
|
91
91
|
.base-button {
|
|
92
92
|
cursor: pointer;
|
|
93
93
|
color: #fff;
|
|
94
|
-
background: #
|
|
95
|
-
border: 1px solid #
|
|
94
|
+
background: #da9803;
|
|
95
|
+
border: 1px solid #da9803;
|
|
96
96
|
border-radius: 3px;
|
|
97
97
|
box-sizing: border-box;
|
|
98
98
|
padding: 4px 10px;
|
|
99
99
|
line-height: 30px;
|
|
100
100
|
&:hover {
|
|
101
|
-
background: #
|
|
101
|
+
background: #da9803;
|
|
102
102
|
color: #fff;
|
|
103
103
|
}
|
|
104
104
|
}
|
|
@@ -138,13 +138,13 @@ mat-radio-group {
|
|
|
138
138
|
text-align: center;
|
|
139
139
|
|
|
140
140
|
&:hover {
|
|
141
|
-
background: #
|
|
141
|
+
background: #da9803;
|
|
142
142
|
color: #fff;
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
.button-as-link {
|
|
147
|
-
color: #
|
|
147
|
+
color: #da9803;
|
|
148
148
|
border: none;
|
|
149
149
|
width: 100%;
|
|
150
150
|
height: 100%;
|
|
@@ -158,13 +158,13 @@ mat-radio-group {
|
|
|
158
158
|
top: 8px;
|
|
159
159
|
svg {
|
|
160
160
|
path {
|
|
161
|
-
fill: #
|
|
161
|
+
fill: #da9803;
|
|
162
162
|
}
|
|
163
163
|
}
|
|
164
164
|
}
|
|
165
165
|
&:hover {
|
|
166
166
|
background: none;
|
|
167
|
-
color: #
|
|
167
|
+
color: #da9803;
|
|
168
168
|
}
|
|
169
169
|
}
|
|
170
170
|
}
|
|
@@ -13,7 +13,9 @@
|
|
|
13
13
|
display: flex;
|
|
14
14
|
flex-direction: column;
|
|
15
15
|
height: 100%;
|
|
16
|
-
padding: 30px;
|
|
16
|
+
padding: 60px 30px 30px 30px;
|
|
17
|
+
width: 100%;
|
|
18
|
+
box-sizing: border-box;
|
|
17
19
|
.catalog-button-wrapper {
|
|
18
20
|
font-size: 16px;
|
|
19
21
|
margin-bottom: 20px;
|
|
@@ -41,10 +43,10 @@
|
|
|
41
43
|
&.shown {
|
|
42
44
|
display: inline-block;
|
|
43
45
|
position: relative;
|
|
44
|
-
top:
|
|
45
|
-
left:
|
|
46
|
-
width: calc(100% -
|
|
47
|
-
height: calc(100vh -
|
|
46
|
+
top: 0;
|
|
47
|
+
left: 50px;
|
|
48
|
+
width: calc(100% - 50px);
|
|
49
|
+
height: calc(100vh - 0px);
|
|
48
50
|
background-color: white;
|
|
49
51
|
}
|
|
50
52
|
&.no-offset {
|
|
@@ -80,8 +82,8 @@
|
|
|
80
82
|
}
|
|
81
83
|
.hide-catalog {
|
|
82
84
|
position: absolute;
|
|
83
|
-
top:
|
|
84
|
-
right:
|
|
85
|
+
top: 50px;
|
|
86
|
+
right: 15px;
|
|
85
87
|
z-index: 100;
|
|
86
88
|
}
|
|
87
89
|
}
|
|
@@ -97,7 +99,9 @@
|
|
|
97
99
|
grid-column-gap: 60px;
|
|
98
100
|
}
|
|
99
101
|
}
|
|
100
|
-
|
|
102
|
+
::ng-deep co-pagination-bar .pagination {
|
|
103
|
+
box-sizing: border-box;
|
|
104
|
+
}
|
|
101
105
|
//::ng-deep .ione-catalog .component-wrapper .content-wrapper {
|
|
102
106
|
// overflow-y: auto;
|
|
103
107
|
//}
|