@colijnit/homedecorator 256.1.6 → 256.1.8

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.
Files changed (190) hide show
  1. package/_variables.scss +1 -1
  2. package/app/core/enum/icon.enum.d.ts +58 -2
  3. package/app/core/enum/message-type.enum.d.ts +3 -1
  4. package/app/core/interface/message-with-payload.interface.d.ts +2 -0
  5. package/app/core/service/3dm-api.d.ts +2 -2
  6. package/app/core/service/homedecorator-connector.service.d.ts +2 -0
  7. package/app/core/service/homedecorator-icon-cache.service.d.ts +1 -1
  8. package/app/core/service/utils.service.d.ts +7 -2
  9. package/app/plugins/core3d/hud/bounding-measurement-box/bounding-box-measurement.d.ts +8 -0
  10. package/app/plugins/core3d/hud/utils.d.ts +1 -0
  11. package/app/plugins/core3d/items/floor-plane-item.d.ts +1 -1
  12. package/app/plugins/core3d/service/floor.service.d.ts +24 -0
  13. package/app/plugins/core3d/service/hud.service.d.ts +3 -1
  14. package/app/plugins/core3d/service/light-presets.service.d.ts +4 -0
  15. package/app/plugins/lite-selector/lite-selector/component/answer-card/answer-card.component.scss +21 -3
  16. package/app/plugins/lite-selector/lite-selector/component/answers-slideout/answers-slideout.component.scss +36 -22
  17. package/app/plugins/lite-selector/lite-selector/component/selections-summary/selections-summary.component.scss +23 -10
  18. package/app/plugins/lite-selector/lite-selector/lite-selector.component.scss +4 -0
  19. package/app/plugins/model-uploader/model-previewer/model-preview.component.scss +10 -10
  20. package/app/plugins/model-uploader/model-uploader.module.d.ts +2 -1
  21. package/app/plugins/product-catalog/product-catalog/product-catalog.component.scss +12 -8
  22. package/app/plugins/render/render-controls/render-controls.component.d.ts +33 -5
  23. package/app/plugins/render/render-controls/render-controls.component.scss +190 -5
  24. package/app/plugins/render/render-dialog/render-dialog.component.d.ts +14 -1
  25. package/app/plugins/render/render-dialog/render-dialog.component.scss +19 -0
  26. package/app/plugins/render/render.module.d.ts +2 -1
  27. package/app/plugins/room-planner/components/appearance-section/appearance-section.component.d.ts +5 -1
  28. package/app/plugins/room-planner/components/appearance-section/appearance-section.component.scss +24 -5
  29. package/app/plugins/room-planner/components/file-drop/file-drop.component.scss +3 -5
  30. package/app/plugins/room-planner/components/floor-catalog/floor-catalog.component.d.ts +60 -0
  31. package/app/plugins/room-planner/components/floor-catalog/floor-catalog.component.scss +147 -0
  32. package/app/plugins/room-planner/components/floorplanner/floorplanner.component.d.ts +5 -1
  33. package/app/plugins/room-planner/components/floorplanner/floorplanner.component.scss +24 -3
  34. package/app/plugins/room-planner/components/object-library/object-library.component.scss +3 -0
  35. package/app/plugins/room-planner/components/selected-floor/selected-floor.component.d.ts +7 -4
  36. package/app/plugins/room-planner/components/settings/settings.component.scss +1 -0
  37. package/app/plugins/room-planner/components/texture-editor/texture-editor.component.scss +21 -0
  38. package/app/plugins/room-planner/components/texture-picker/texture-picker.component.d.ts +5 -1
  39. package/app/plugins/room-planner/components/texture-picker/texture-picker.component.scss +18 -15
  40. package/app/plugins/room-planner/room-planner/room-planner.component.d.ts +2 -4
  41. package/app/plugins/room-planner/room-planner/room-planner.component.scss +121 -15
  42. package/app/plugins/room-planner/room-planner.module.d.ts +36 -35
  43. package/app/plugins/threedselector/threedselector/service/build-furniture.service.d.ts +3 -1
  44. package/app/plugins/threedselector/threedselector/service/variation.service.d.ts +1 -0
  45. package/app/plugins/threedselector/threedselector/threedselector.component.d.ts +3 -1
  46. package/app/plugins/toolbar/draw-dialog/draw-dialog.component.scss +4 -4
  47. package/app/plugins/toolbar/landing-screen-modal/landing-screen-modal.component.d.ts +5 -1
  48. package/app/plugins/toolbar/landing-screen-modal/landing-screen-modal.component.scss +17 -11
  49. package/app/plugins/toolbar/pdf-crop-dialog/pdf-crop-dialog.component.scss +1 -1
  50. package/app/plugins/toolbar/toolbar/toolbar.component.d.ts +6 -1
  51. package/app/plugins/toolbar/toolbar/toolbar.component.scss +158 -29
  52. package/app/shared/button-elevation/button-elevation.component.scss +1 -1
  53. package/app/shared/context-menu/context-menu.module.d.ts +8 -7
  54. package/app/shared/context-menu/right-context-menu/right-context-menu.component.d.ts +30 -0
  55. package/app/shared/context-menu/right-context-menu/right-context-menu.component.scss +35 -0
  56. package/app/shared/slider-input/slider-input.component.scss +18 -1
  57. package/app/shared/toolbar-icon/toolbar-icon.component.d.ts +5 -0
  58. package/app/shared/toolbar-icon/toolbar-icon.component.scss +20 -2
  59. package/app/shared/toolbar-icon/toolbar-icon.module.d.ts +2 -1
  60. package/assets/icons/aperture.svg +1 -0
  61. package/assets/icons/arrow-up-right-and-arrow-down-left-from-center.svg +1 -0
  62. package/assets/icons/arrow_rotate_left.svg +1 -0
  63. package/assets/icons/arrow_rotate_right.svg +1 -0
  64. package/assets/icons/arrow_turn_left.svg +1 -0
  65. package/assets/icons/arrow_turn_left_regular.svg +1 -0
  66. package/assets/icons/arrow_turn_right.svg +1 -0
  67. package/assets/icons/arrow_turn_right_regular.svg +1 -0
  68. package/assets/icons/arrows-left-right.svg +1 -0
  69. package/assets/icons/arrows-up-down.svg +1 -0
  70. package/assets/icons/arrows_to_eye.svg +1 -0
  71. package/assets/icons/camera_solid.svg +1 -0
  72. package/assets/icons/camera_topdown.svg +20 -0
  73. package/assets/icons/camera_viewfinder.svg +1 -0
  74. package/assets/icons/circle_check.svg +1 -0
  75. package/assets/icons/circle_info.svg +1 -0
  76. package/assets/icons/circle_minus_light.svg +1 -0
  77. package/assets/icons/circle_plus_light.svg +1 -0
  78. package/assets/icons/circle_question.svg +1 -0
  79. package/assets/icons/circle_xmark.svg +1 -0
  80. package/assets/icons/cloud_arrow_down.svg +1 -0
  81. package/assets/icons/cloud_arrow_up.svg +1 -0
  82. package/assets/icons/comment.svg +1 -0
  83. package/assets/icons/compress.svg +1 -0
  84. package/assets/icons/copy_light.svg +1 -0
  85. package/assets/icons/couch.svg +1 -0
  86. package/assets/icons/cube.svg +1 -0
  87. package/assets/icons/draw_square.svg +1 -0
  88. package/assets/icons/expand.svg +1 -0
  89. package/assets/icons/fill_drip_light.svg +1 -0
  90. package/assets/icons/flower.svg +1 -0
  91. package/assets/icons/grid_light.svg +1 -0
  92. package/assets/icons/hand_light.svg +1 -0
  93. package/assets/icons/hand_pointer_light.svg +1 -0
  94. package/assets/icons/house.svg +1 -0
  95. package/assets/icons/image_light.svg +1 -0
  96. package/assets/icons/link_light.svg +1 -0
  97. package/assets/icons/link_slash_light.svg +1 -0
  98. package/assets/icons/list.svg +1 -0
  99. package/assets/icons/lock_light.svg +1 -0
  100. package/assets/icons/lock_open_light.svg +1 -0
  101. package/assets/icons/magnet.svg +1 -0
  102. package/assets/icons/magnet_strikethrough.svg +15 -0
  103. package/assets/icons/magnifying_glass_minus.svg +1 -0
  104. package/assets/icons/magnifying_glass_plus.svg +1 -0
  105. package/assets/icons/paint_roller_light.svg +1 -0
  106. package/assets/icons/pencil_light.svg +1 -0
  107. package/assets/icons/settings.svg +1 -0
  108. package/assets/icons/street_view.svg +1 -0
  109. package/assets/icons/trash_can_light.svg +1 -0
  110. package/assets/icons/upload_light.svg +1 -0
  111. package/assets/icons/wand_magic_sparkles.svg +1 -0
  112. package/assets/icons/xmark_light.svg +1 -0
  113. package/assets/images/logo_homedecohub.svg +795 -0
  114. package/bundles/colijnit-homedecorator.umd.js +2737 -1759
  115. package/bundles/colijnit-homedecorator.umd.js.map +1 -1
  116. package/esm2015/app/app.version.js +3 -3
  117. package/esm2015/app/core/enum/icon.enum.js +58 -2
  118. package/esm2015/app/core/enum/message-type.enum.js +3 -1
  119. package/esm2015/app/core/interface/message-with-payload.interface.js +1 -1
  120. package/esm2015/app/core/model/homedecorator-settings-options.js +4 -4
  121. package/esm2015/app/core/model/homedecorator-settings.js +2 -2
  122. package/esm2015/app/core/model/icon.js +59 -3
  123. package/esm2015/app/core/model/xr-reticle.js +5 -5
  124. package/esm2015/app/core/service/3dm-api.js +26 -14
  125. package/esm2015/app/core/service/homedecorator-connector.service.js +7 -1
  126. package/esm2015/app/core/service/homedecorator-icon-cache.service.js +1 -1
  127. package/esm2015/app/core/service/homedecorator-settings.service.js +2 -1
  128. package/esm2015/app/core/service/utils.service.js +53 -32
  129. package/esm2015/app/homedecorator.component.js +4 -2
  130. package/esm2015/app/plugins/core3d/collision-manager/snapping-collision.service.js +2 -2
  131. package/esm2015/app/plugins/core3d/components/ar-gui/ar-gui-root/ar-gui-root.component.js +8 -8
  132. package/esm2015/app/plugins/core3d/core3d/core3d.component.js +2 -2
  133. package/esm2015/app/plugins/core3d/hud/bounding-measurement-box/bounding-box-measurement.js +93 -11
  134. package/esm2015/app/plugins/core3d/hud/measurements.js +18 -6
  135. package/esm2015/app/plugins/core3d/hud/utils.js +33 -1
  136. package/esm2015/app/plugins/core3d/items/floor-plane-item.js +5 -5
  137. package/esm2015/app/plugins/core3d/service/ar.service.js +5 -5
  138. package/esm2015/app/plugins/core3d/service/floor-pattern.service.js +3 -2
  139. package/esm2015/app/plugins/core3d/service/floor-tile-intersection.service.js +3 -2
  140. package/esm2015/app/plugins/core3d/service/floor.service.js +51 -1
  141. package/esm2015/app/plugins/core3d/service/hud.service.js +6 -4
  142. package/esm2015/app/plugins/core3d/service/light-presets.service.js +52 -35
  143. package/esm2015/app/plugins/core3d/service/scene.service.js +4 -1
  144. package/esm2015/app/plugins/furniture-manager/furniture-manager/furniture-manager.component.js +3 -5
  145. package/esm2015/app/plugins/help/help/help.component.js +8 -10
  146. package/esm2015/app/plugins/lite-selector/lite-selector/component/answer-card/answer-card.component.js +1 -1
  147. package/esm2015/app/plugins/lite-selector/lite-selector/component/answers-slideout/answers-slideout.component.js +12 -8
  148. package/esm2015/app/plugins/lite-selector/lite-selector/component/selections-summary/selections-summary.component.js +1 -1
  149. package/esm2015/app/plugins/lite-selector/lite-selector/lite-selector.component.js +2 -2
  150. package/esm2015/app/plugins/model-uploader/model-previewer/model-preview.component.js +1 -1
  151. package/esm2015/app/plugins/model-uploader/model-uploader.module.js +6 -2
  152. package/esm2015/app/plugins/product-catalog/own-collection-catalog/product-own-collection.component.js +1 -1
  153. package/esm2015/app/plugins/product-catalog/product-catalog/product-catalog.component.js +32 -142
  154. package/esm2015/app/plugins/render/render-controls/render-controls.component.js +378 -59
  155. package/esm2015/app/plugins/render/render-dialog/render-dialog.component.js +47 -17
  156. package/esm2015/app/plugins/render/render.module.js +8 -4
  157. package/esm2015/app/plugins/render/service/new-render.service.js +8 -4
  158. package/esm2015/app/plugins/render/service/render.service.js +3 -3
  159. package/esm2015/app/plugins/room-planner/components/appearance-section/appearance-section.component.js +24 -18
  160. package/esm2015/app/plugins/room-planner/components/file-drop/file-drop.component.js +1 -1
  161. package/esm2015/app/plugins/room-planner/components/floor-catalog/floor-catalog.component.js +534 -0
  162. package/esm2015/app/plugins/room-planner/components/floorplanner/floorplanner.component.js +21 -17
  163. package/esm2015/app/plugins/room-planner/components/object-library/object-library.component.js +1 -1
  164. package/esm2015/app/plugins/room-planner/components/selected-floor/selected-floor.component.js +15 -2
  165. package/esm2015/app/plugins/room-planner/components/settings/settings.component.js +1 -1
  166. package/esm2015/app/plugins/room-planner/components/texture-editor/texture-editor.component.js +3 -2
  167. package/esm2015/app/plugins/room-planner/components/texture-picker/texture-picker.component.js +18 -14
  168. package/esm2015/app/plugins/room-planner/room-planner/room-planner.component.js +182 -146
  169. package/esm2015/app/plugins/room-planner/room-planner.module.js +4 -1
  170. package/esm2015/app/plugins/threedselector/threedselector/service/build-furniture.service.js +126 -54
  171. package/esm2015/app/plugins/threedselector/threedselector/service/variation.service.js +12 -1
  172. package/esm2015/app/plugins/threedselector/threedselector/threedselector.component.js +34 -22
  173. package/esm2015/app/plugins/toolbar/draw-dialog/draw-dialog.component.js +1 -1
  174. package/esm2015/app/plugins/toolbar/landing-screen-modal/landing-screen-modal.component.js +21 -17
  175. package/esm2015/app/plugins/toolbar/pdf-crop-dialog/pdf-crop-dialog.component.js +1 -1
  176. package/esm2015/app/plugins/toolbar/toolbar/toolbar.component.js +297 -238
  177. package/esm2015/app/shared/button-elevation/button-elevation.component.js +1 -1
  178. package/esm2015/app/shared/category-library/category-library.component.js +1 -1
  179. package/esm2015/app/shared/context-menu/context-menu.module.js +6 -5
  180. package/esm2015/app/shared/context-menu/right-context-menu/right-context-menu.component.js +93 -0
  181. package/esm2015/app/shared/slider-input/slider-input.component.js +1 -1
  182. package/esm2015/app/shared/toolbar-icon/toolbar-icon.component.js +24 -37
  183. package/esm2015/app/shared/toolbar-icon/toolbar-icon.module.js +8 -4
  184. package/esm2015/app/shared/zoom-controls/zoom-controls.component.js +2 -2
  185. package/fesm2015/colijnit-homedecorator.js +3167 -1782
  186. package/fesm2015/colijnit-homedecorator.js.map +1 -1
  187. package/package.json +1 -1
  188. package/styles.scss +1 -1
  189. package/assets/hdri/ground_MASK.jpg +0 -0
  190. package/assets/icons/street-view.svg +0 -6
package/_variables.scss CHANGED
@@ -1 +1 @@
1
- $add-to-cart-button-color: #ed912e !default;
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
+ Magnet = "magnet",
66
+ MagnetStrikethrough = "magnet_strikethrough",
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 = "street-view",
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
  }
@@ -84,4 +84,6 @@ export interface MessagesWithPayload {
84
84
  title: string;
85
85
  message: string;
86
86
  };
87
+ [MessageType.ShowFloorArticleCatalog]: any;
88
+ [MessageType.BlenderRenderPreviewReady]: any;
87
89
  }
@@ -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: IconEnum): SafeHtml;
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
- constructor(apiServiceModule: ApiServiceModule, _settingsService: HomedecoratorSettingsService, _jsonUtilsService: JsonUtilsService, _progressService: ProgressService, _itemsService: ItemService, _sceneService: SceneService, _dialog: MatDialog, _cameraService: CameraService);
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, BufferGeometry } from 'three';
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;
@@ -25,6 +25,8 @@ export declare class LightPresetsService implements OnDestroy {
25
25
  loadedLightPresets: LightPreset[];
26
26
  presetLoaded: BehaviorSubject<boolean>;
27
27
  private _activeLightPreset;
28
+ private _lightPresetsLoaded;
29
+ private _subs;
28
30
  private _lightsMap;
29
31
  constructor(_lightsService: LightsService, _settingsService: HomedecoratorSettingsService, _appService: HomedecoratorAppService, _viewModeService: ViewModeService, _sceneService: SceneService, _dictionaryService: HomedecoratorDictionaryService, _dialogService: DialogService, _screenSizeAnalysis: ScreenSizeAnalysisService);
30
32
  init(): void;
@@ -37,6 +39,8 @@ export declare class LightPresetsService implements OnDestroy {
37
39
  saveOrDeletePreset(preset: LightPreset, deleteFromIndex?: boolean): Promise<void>;
38
40
  removeLightByIndex(index: number): void;
39
41
  upsertLight(index: number, light: Light): void;
42
+ prepareLoadLightPreset(standalone?: boolean): Promise<void>;
43
+ private _prepareLoadLightPreset;
40
44
  private _checkDirtyPreset;
41
45
  private _createLightFromProperties;
42
46
  private _setObjectProperties;
@@ -1,8 +1,10 @@
1
1
  :host {
2
- width: 25%;
3
-
2
+ width: 23%;
3
+ background: #FFF;
4
+ border-radius: 10px;
5
+ cursor: pointer;
4
6
  &.small-mode {
5
- width: 12%;
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: 1;
3
+ z-index: 2;
4
4
  }
5
5
 
6
6
  :host {
7
- &.bottom-align:not(.custom-dimensions):not(.small-mode) {
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: 64px;
29
- max-height: calc(100% - 64px);
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: 25px;
37
- width: 40px;
38
- height: 40px;
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: 10px 0 0 30px;
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: 0;
65
- right: 0;
77
+ top: 15px;
78
+ right: 15px;
66
79
  }
67
80
  span.option-count {
68
- margin-left: 6px;
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: 1.17em;
107
- margin-bottom: 5px;
108
- margin-top: 10px;
109
- font-weight: bold;
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: 10px;
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
- .rp-selections-summary {
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
- ::ng-deep co-summary-line br {
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: 600px;
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: 0;
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: 50px;
47
- width: 100%;
48
- background-color: #DEECF3;
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: 11.5px;
55
- margin-left: 12px;
67
+ font-size: 12px;
68
+ margin-left: 0;
56
69
  }
57
70
 
58
71
  div.sum > div.price {
@@ -7,4 +7,8 @@
7
7
  :host:not(.custom-dimensions).floating ::ng-deep rp-selections-summary {
8
8
  top: 64px;
9
9
  max-height: calc(100vh - 184px);
10
+ background: #fdf7e463;
11
+ padding: 5px 10px 10px 10px;
12
+ border-radius: 10px;
13
+ right: 10px;
10
14
  }
@@ -52,8 +52,8 @@
52
52
  .exportButton {
53
53
  cursor: pointer;
54
54
  color: #fff;
55
- background: #dda73f;
56
- border: 1px solid #dda73f;
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: #dda73f;
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: #dda73f;
95
- border: 1px solid #dda73f;
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: #dda73f;
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: #dda73f;
141
+ background: #da9803;
142
142
  color: #fff;
143
143
  }
144
144
  }
145
145
 
146
146
  .button-as-link {
147
- color: #dda73f;
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: #dda73f;
161
+ fill: #da9803;
162
162
  }
163
163
  }
164
164
  }
165
165
  &:hover {
166
166
  background: none;
167
- color: #dda73f;
167
+ color: #da9803;
168
168
  }
169
169
  }
170
170
  }
@@ -13,8 +13,9 @@ import * as i11 from "@angular/material/slide-toggle";
13
13
  import * as i12 from "@angular/material/form-field";
14
14
  import * as i13 from "@angular/material/core";
15
15
  import * as i14 from "@angular/material/select";
16
+ import * as i15 from "@angular/forms";
16
17
  export declare class ModelUploaderModule {
17
18
  static ɵfac: i0.ɵɵFactoryDeclaration<ModelUploaderModule, never>;
18
- static ɵmod: i0.ɵɵNgModuleDeclaration<ModelUploaderModule, [typeof i1.ModelUploaderComponent, typeof i2.ModelPreviewComponent], [typeof i3.CommonModule, typeof i4.CoreModule, typeof i5.MatIconModule, typeof i6.MatButtonModule, typeof i7.ButtonModule, typeof i8.ImageModule, typeof i9.CatalogExternalSourcesModule, typeof i9.CatalogExternalSourceModule, typeof i10.MatRadioModule, typeof i11.MatSlideToggleModule, typeof i12.MatFormFieldModule, typeof i13.MatOptionModule, typeof i14.MatSelectModule, typeof i7.IconModule], [typeof i1.ModelUploaderComponent]>;
19
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ModelUploaderModule, [typeof i1.ModelUploaderComponent, typeof i2.ModelPreviewComponent], [typeof i3.CommonModule, typeof i4.CoreModule, typeof i5.MatIconModule, typeof i6.MatButtonModule, typeof i7.ButtonModule, typeof i8.ImageModule, typeof i9.CatalogExternalSourcesModule, typeof i9.CatalogExternalSourceModule, typeof i10.MatRadioModule, typeof i11.MatSlideToggleModule, typeof i12.MatFormFieldModule, typeof i13.MatOptionModule, typeof i14.MatSelectModule, typeof i7.IconModule, typeof i15.FormsModule], [typeof i1.ModelUploaderComponent]>;
19
20
  static ɵinj: i0.ɵɵInjectorDeclaration<ModelUploaderModule>;
20
21
  }
@@ -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: 64px;
45
- left: 64px;
46
- width: calc(100% - 64px);
47
- height: calc(100vh - 64px);
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: 6px;
84
- right: 0px;
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
  //}