@colijnit/homedecorator 258.1.7 → 258.1.9

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 (58) hide show
  1. package/app/bundle/threedselector-bundle/configurator-bundle.component.scss +24 -0
  2. package/app/bundle/threedselector-bundle/configurator-selections-bundle.component.scss +4 -0
  3. package/app/core/enum/icon.enum.d.ts +1 -0
  4. package/app/core/enum/message-type.enum.d.ts +4 -1
  5. package/app/core/enum/progress-bar.enum.d.ts +4 -0
  6. package/app/core/interface/message-with-payload.interface.d.ts +3 -0
  7. package/app/core/interface/message-without-payload.interface.d.ts +1 -0
  8. package/app/core/model/homedecorator-settings-options.d.ts +2 -0
  9. package/app/core/service/3dm-api.d.ts +2 -1
  10. package/app/core/service/connection-heath.service.d.ts +20 -0
  11. package/app/core/service/homedecorator-app.service.d.ts +3 -1
  12. package/app/core/service/homedecorator-settings.service.d.ts +1 -0
  13. package/app/core/service/progress.service.d.ts +5 -1
  14. package/app/core/service/utils.service.d.ts +1 -0
  15. package/app/plugins/core3d/items/metadata.d.ts +1 -0
  16. package/app/plugins/render/render-controls/render-controls.component.d.ts +10 -6
  17. package/app/plugins/render/render-progress/render-progress.component.d.ts +20 -0
  18. package/app/plugins/render/render-progress/render-progress.component.scss +66 -0
  19. package/app/plugins/render/render.module.d.ts +17 -16
  20. package/app/plugins/threedselector/threedselector/service/dimensions.service.d.ts +1 -0
  21. package/app/plugins/toolbar/toolbar/toolbar.component.d.ts +6 -1
  22. package/app/plugins/toolbar/toolbar/toolbar.component.scss +20 -0
  23. package/assets/icons/wifi_solid_full.svg +1 -0
  24. package/bundles/colijnit-homedecorator.umd.js +958 -703
  25. package/bundles/colijnit-homedecorator.umd.js.map +1 -1
  26. package/colijnit-homedecorator-258.1.8.tgz +0 -0
  27. package/colijnit-homedecorator-258.1.9.tgz +0 -0
  28. package/configurator-bundle-styles.scss +267 -0
  29. package/esm2015/app/APPLICATION_SERVICE_PROVIDERS.js +4 -2
  30. package/esm2015/app/app.version.js +3 -3
  31. package/esm2015/app/core/enum/icon.enum.js +2 -1
  32. package/esm2015/app/core/enum/message-type.enum.js +4 -1
  33. package/esm2015/app/core/enum/progress-bar.enum.js +6 -0
  34. package/esm2015/app/core/interface/message-with-payload.interface.js +1 -1
  35. package/esm2015/app/core/interface/message-without-payload.interface.js +1 -1
  36. package/esm2015/app/core/model/homedecorator-settings-options.js +3 -1
  37. package/esm2015/app/core/service/3dm-api.js +12 -12
  38. package/esm2015/app/core/service/connection-heath.service.js +92 -0
  39. package/esm2015/app/core/service/homedecorator-app.service.js +8 -8
  40. package/esm2015/app/core/service/homedecorator-connector.service.js +3 -2
  41. package/esm2015/app/core/service/homedecorator-settings.service.js +10 -3
  42. package/esm2015/app/core/service/presets.service.js +3 -1
  43. package/esm2015/app/core/service/progress.service.js +17 -6
  44. package/esm2015/app/core/service/utils.service.js +20 -2
  45. package/esm2015/app/plugins/core3d/items/metadata.js +1 -1
  46. package/esm2015/app/plugins/render/render-controls/render-controls.component.js +456 -429
  47. package/esm2015/app/plugins/render/render-dialog/render-dialog.component.js +2 -2
  48. package/esm2015/app/plugins/render/render-progress/render-progress.component.js +85 -0
  49. package/esm2015/app/plugins/render/render.module.js +10 -5
  50. package/esm2015/app/plugins/room-planner/components/floor-catalog/floor-catalog.component.js +1 -2
  51. package/esm2015/app/plugins/threedselector/threedselector/service/build-furniture.service.js +2 -4
  52. package/esm2015/app/plugins/threedselector/threedselector/service/dimensions.service.js +20 -9
  53. package/esm2015/app/plugins/threedselector/threedselector/service/load-furniture.service.js +16 -8
  54. package/esm2015/app/plugins/threedselector/threedselector/service/threedselector.service.js +4 -1
  55. package/esm2015/app/plugins/toolbar/toolbar/toolbar.component.js +329 -271
  56. package/fesm2015/colijnit-homedecorator.js +1483 -1175
  57. package/fesm2015/colijnit-homedecorator.js.map +1 -1
  58. package/package.json +2 -2
@@ -0,0 +1,24 @@
1
+ @import "../../../configurator-bundle-styles";
2
+
3
+ :host {
4
+ position: relative;
5
+ display: block;
6
+ height: 100%;
7
+ width: 100%;
8
+ }
9
+
10
+ ::ng-deep rp-element-toolbar {
11
+ top: 0;
12
+ }
13
+
14
+ ::ng-deep rp-core3d.layer {
15
+ position: relative;
16
+ width: 100%;
17
+ height: 100%;
18
+ }
19
+
20
+ ::ng-deep rp-core3d .viewer {
21
+ position: relative;
22
+ width: 100%;
23
+ height: 100%;
24
+ }
@@ -0,0 +1,4 @@
1
+ ::ng-deep rp-answers-slideout, :host ::ng-deep co-slideout {
2
+ max-width: 600px;
3
+ max-height: 100vh;
4
+ }
@@ -95,6 +95,7 @@ export declare enum IconEnum {
95
95
  TriangleUp = "triangle_up",
96
96
  UploadLight = "upload_light",
97
97
  WandMagicSparkles = "wand_magic_sparkles",
98
+ WifiSolidFull = "wifi_solid_full",
98
99
  XmarkLight = "xmark_light",
99
100
  XmarkRegular = "xmark_regular"
100
101
  }
@@ -75,5 +75,8 @@ export declare enum MessageType {
75
75
  FloorPlaneAvailable = "FloorPlaneAvailable",
76
76
  RemoveAllItems = "RemoveAllItems",
77
77
  RemoveItem = "RemoveItem",
78
- ChangeArticleConfigurationType = "ChangeArticleConfigurationType"
78
+ ChangeArticleConfigurationType = "ChangeArticleConfigurationType",
79
+ RenderUploadProgress = "RenderUploadProgress",
80
+ RenderUploadFinished = "RenderUploadFinished",
81
+ RemoveSlowConnectionToast = "RemoveSlowConnectionToast"
79
82
  }
@@ -0,0 +1,4 @@
1
+ export declare enum ProgressType {
2
+ Download = "download",
3
+ Upload = "upload"
4
+ }
@@ -88,4 +88,7 @@ export interface MessagesWithPayload {
88
88
  [MessageType.BlenderRenderPreviewReady]: any;
89
89
  [MessageType.RemoveItem]: Item;
90
90
  [MessageType.ChangeArticleConfigurationType]: boolean;
91
+ [MessageType.ChangeArticleConfigurationType]: boolean;
92
+ [MessageType.RenderUploadProgress]: number;
93
+ [MessageType.RenderUploadFinished]: boolean;
91
94
  }
@@ -36,4 +36,5 @@ export interface MessagesWithoutPayload {
36
36
  [MessageType.FloorPlaneAvailable]: any;
37
37
  [MessageType.ToggleDiagram]: any;
38
38
  [MessageType.RemoveAllItems]: any;
39
+ [MessageType.RemoveSlowConnectionToast]: any;
39
40
  }
@@ -55,4 +55,6 @@ export declare class HomedecoratorSettingsOptions {
55
55
  showProgressText: boolean;
56
56
  showSelectionLoader: boolean;
57
57
  useAnimations: boolean;
58
+ showExtendedSelectionButtons: boolean;
59
+ showSlowConnectionWarning: boolean;
58
60
  }
@@ -5,6 +5,7 @@ import { MessageBusService } from './message-bus.service';
5
5
  import { MatDialog } from '@angular/material/dialog';
6
6
  import { HomedecoratorConnectorService } from './homedecorator-connector.service';
7
7
  import { ConfigurationService } from './configuration.service';
8
+ import { Observable } from 'rxjs';
8
9
  import * as i0 from "@angular/core";
9
10
  export declare class OutputSettings {
10
11
  width: number;
@@ -73,7 +74,7 @@ export declare class ApiServiceModule {
73
74
  private _dialog;
74
75
  private _configurationService;
75
76
  constructor(iOneControllerService: HomedecoratorConnectorService, messageService: MessageBusService, _http: HttpClient, _settingsService: HomedecoratorSettingsService, _dialog: MatDialog, _configurationService: ConfigurationService);
76
- uploadToApiGLB(formData: FormData, filename: string, camera: PerspectiveCamera, standalone: boolean, renderParameters: any, renderPreview: boolean): Promise<void>;
77
+ uploadToApiGLB(formData: FormData, filename: string, camera: PerspectiveCamera, standalone: boolean, renderParameters: any, renderPreview: boolean): Observable<any>;
77
78
  requestRender(filename: string, camera: PerspectiveCamera, standalone: boolean, renderParameters: any, renderPreview: boolean): Promise<any>;
78
79
  getCameraProperties(camera: PerspectiveCamera): any;
79
80
  getRenderFromJson(requestData: any): Promise<void>;
@@ -0,0 +1,20 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { HomedecoratorSettingsService } from './homedecorator-settings.service';
3
+ import { BehaviorSubject } from 'rxjs';
4
+ import { ToastService } from './toast.service';
5
+ import { MessageBusService } from './message-bus.service';
6
+ import * as i0 from "@angular/core";
7
+ export declare class ConnectionHeathService {
8
+ private _http;
9
+ private _settingService;
10
+ private _toastService;
11
+ private _messageService;
12
+ connectionStatus: BehaviorSubject<string>;
13
+ constructor(_http: HttpClient, _settingService: HomedecoratorSettingsService, _toastService: ToastService, _messageService: MessageBusService);
14
+ checkConnection(): void;
15
+ private _checkSpeed;
16
+ private _updateStatus;
17
+ private _showToast;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConnectionHeathService, never>;
19
+ static ɵprov: i0.ɵɵInjectableDeclaration<ConnectionHeathService>;
20
+ }
@@ -9,10 +9,12 @@ import { MediaResource } from '../model/media-resource';
9
9
  import { ConfigurationService } from './configuration.service';
10
10
  import { JsonUtilsService } from './json-utils.service';
11
11
  import { HomedecoratorSettingsService } from './homedecorator-settings.service';
12
+ import { HomedecoratorConnectorService } from './homedecorator-connector.service';
12
13
  import * as i0 from "@angular/core";
13
14
  export declare class HomedecoratorAppService implements OnDestroy {
14
15
  private _jsonUtilsService;
15
16
  private _settingsService;
17
+ private _ioneControllerService;
16
18
  private _configurationService;
17
19
  private _jsonFile;
18
20
  private _lightPresetsJsonFile;
@@ -40,7 +42,7 @@ export declare class HomedecoratorAppService implements OnDestroy {
40
42
  private _connectionSet;
41
43
  private _subs;
42
44
  private _timer;
43
- constructor(_jsonUtilsService: JsonUtilsService, _settingsService: HomedecoratorSettingsService, _configurationService: ConfigurationService);
45
+ constructor(_jsonUtilsService: JsonUtilsService, _settingsService: HomedecoratorSettingsService, _ioneControllerService: HomedecoratorConnectorService, _configurationService: ConfigurationService);
44
46
  ngOnDestroy(): void;
45
47
  getCategories(categoryType: string): Category[];
46
48
  getFloorsStandalone(): Texture[];
@@ -18,6 +18,7 @@ export declare class HomedecoratorSettingsService {
18
18
  createSettingsFromObject(obj: any): void;
19
19
  initializeSettings(): Promise<void>;
20
20
  initialize(settings: HomedecoratorSettings): Promise<void>;
21
+ checkAdditionalParameters(): Promise<void>;
21
22
  private _checkUrlParameters;
22
23
  static ɵfac: i0.ɵɵFactoryDeclaration<HomedecoratorSettingsService, never>;
23
24
  static ɵprov: i0.ɵɵInjectableDeclaration<HomedecoratorSettingsService>;
@@ -1,12 +1,16 @@
1
1
  import { HomedecoratorSettingsService } from './homedecorator-settings.service';
2
2
  import { FileService } from './file.service';
3
+ import { ProgressType } from '../enum/progress-bar.enum';
3
4
  import * as i0 from "@angular/core";
4
5
  export declare class ProgressService {
5
6
  private _settingsService;
6
7
  private _fileService;
7
- private _progressPerDownload;
8
+ progressBarType: ProgressType;
8
9
  total: number;
10
+ private _progressPerDownload;
11
+ private _progressPercent;
9
12
  get progress(): number;
13
+ set progress(value: number);
10
14
  constructor(_settingsService: HomedecoratorSettingsService, _fileService: FileService);
11
15
  prepareDownloads(furniture: any[]): Promise<void>;
12
16
  finishDownloads(): void;
@@ -22,6 +22,7 @@ export declare class UtilsService implements OnDestroy {
22
22
  private _dialog;
23
23
  private _cameraService;
24
24
  clips: any;
25
+ progress: number;
25
26
  private _objectCache;
26
27
  private _subs;
27
28
  private _ktx2Loader;
@@ -67,6 +67,7 @@ export interface Metadata {
67
67
  objectUUID?: string;
68
68
  conversionGTMSend?: boolean;
69
69
  conversionSubmittedPrice?: string;
70
+ hdecoType?: string;
70
71
  opening?: {
71
72
  show: boolean;
72
73
  double: boolean;
@@ -17,6 +17,7 @@ import { HomedecoratorIconCacheService } from '../../../core/service/homedecorat
17
17
  import { RoomService } from '../../room-planner/components/floorplanner/service/room.service';
18
18
  import { WallMeasurementsService } from '../../core3d/service/wall-measurements.service';
19
19
  import { BlenderSceneSetting } from '../model/blender-scene-settings';
20
+ import { ConnectionHeathService } from '../../../core/service/connection-heath.service';
20
21
  import * as i0 from "@angular/core";
21
22
  export declare class RenderControlsComponent implements OnInit {
22
23
  renderService: RenderService;
@@ -33,7 +34,13 @@ export declare class RenderControlsComponent implements OnInit {
33
34
  private _utilsService;
34
35
  private _roomService;
35
36
  private _wallMeasurementsService;
37
+ private _connectionHealthService;
38
+ readonly viewModes: typeof ViewMode;
39
+ readonly renderStatus: typeof RenderStatus;
36
40
  readonly icons: typeof IconEnum;
41
+ readonly renderModes: typeof RenderModes;
42
+ renderButton: ElementRef;
43
+ get disablePictureButton(): boolean;
37
44
  blenderPreviewRender: string;
38
45
  hdriIntensity: number;
39
46
  hdriRotation: number;
@@ -46,16 +53,13 @@ export declare class RenderControlsComponent implements OnInit {
46
53
  imageRenderSource: any;
47
54
  inPictureMode: boolean;
48
55
  showCullingErrorDialog: boolean;
56
+ startUploading: boolean;
49
57
  private _subs;
50
- constructor(renderService: RenderService, messageService: MessageBusService, viewModeService: ViewModeService, settingsService: HomedecoratorSettingsService, iconService: HomedecoratorIconCacheService, _dialog: MatDialog, _sceneService: SceneService, _cameraService: CameraService, _configurationService: ConfigurationService, _settingsService: HomedecoratorSettingsService, _newRenderService: NewRenderService, _utilsService: UtilsService, _roomService: RoomService, _wallMeasurementsService: WallMeasurementsService);
58
+ constructor(renderService: RenderService, messageService: MessageBusService, viewModeService: ViewModeService, settingsService: HomedecoratorSettingsService, iconService: HomedecoratorIconCacheService, _dialog: MatDialog, _sceneService: SceneService, _cameraService: CameraService, _configurationService: ConfigurationService, _settingsService: HomedecoratorSettingsService, _newRenderService: NewRenderService, _utilsService: UtilsService, _roomService: RoomService, _wallMeasurementsService: WallMeasurementsService, _connectionHealthService: ConnectionHeathService);
51
59
  ngOnInit(): void;
52
- get disablePictureButton(): boolean;
53
- readonly viewModes: typeof ViewMode;
54
- readonly renderStatus: typeof RenderStatus;
55
- renderButton: ElementRef;
56
- readonly renderModes: typeof RenderModes;
57
60
  showRenderForm(event: MouseEvent): void;
58
61
  startRenderingRoom(): Promise<void>;
62
+ hideUploadDialog(ready: boolean): void;
59
63
  createBlenderRender(): void;
60
64
  resetBlenderRenderScene(): void;
61
65
  moveCameraWithinBounds(): void;
@@ -0,0 +1,20 @@
1
+ import { OnDestroy } from '@angular/core';
2
+ import { MessageBusService } from '../../../core/service/message-bus.service';
3
+ import { ProgressService } from '../../../core/service/progress.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class RenderProgressComponent implements OnDestroy {
6
+ private _messageService;
7
+ private _progressService;
8
+ set show(show: boolean);
9
+ get show(): boolean;
10
+ title: string;
11
+ get progressValue(): string;
12
+ progress: number;
13
+ private _subs;
14
+ private _show;
15
+ constructor(_messageService: MessageBusService, _progressService: ProgressService);
16
+ ngOnDestroy(): void;
17
+ updateProgress(progress: number): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<RenderProgressComponent, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<RenderProgressComponent, "rp-render-progress", never, { "show": "show"; "title": "title"; }, {}, never, never>;
20
+ }
@@ -0,0 +1,66 @@
1
+ .render-progress-model {
2
+ position: fixed;
3
+ top: 0;
4
+ left: 0;
5
+ right: 0;
6
+ bottom: 0;
7
+ z-index: 100;
8
+ background-color: rgba(0, 0, 0, 0.2);
9
+ .model {
10
+ width: 400px;
11
+ position: relative;
12
+ top: 20%;
13
+ left: 50%;
14
+ margin-left: -200px;
15
+ background: #fff;
16
+ border-radius: 10px;
17
+ box-sizing: border-box;
18
+ box-shadow: 1px 0 20px rgba(0, 0, 0, 0.12);
19
+ .model-header-container {
20
+ display: flex;
21
+ justify-content: space-between;
22
+ border-bottom: 1px solid #c5c3c6;
23
+ padding: 20px 20px 10px;
24
+ align-items: center;
25
+ .close {
26
+ mat-icon {
27
+ fill: #c5c3c6;
28
+ color: #c5c3c6;
29
+ cursor: pointer;
30
+ transition: all 0.2s ease;
31
+ }
32
+
33
+ &:hover {
34
+ mat-icon {
35
+ fill: #46494c;
36
+ color: #46494c;
37
+ }
38
+ }
39
+ }
40
+ }
41
+
42
+ .model-content-container {
43
+ padding: 20px;
44
+
45
+ .progress-text {
46
+ text-align: center;
47
+ margin-top: 10px;
48
+ display: block;
49
+ }
50
+
51
+ .progress-container {
52
+ width: 100%;
53
+ height: 25px;
54
+ background-color: #e0e0e0;
55
+ border-radius: 12px;
56
+ overflow: hidden;
57
+ }
58
+
59
+ .progress-fill {
60
+ height: 100%;
61
+ background-color: #da9803;
62
+ transition: width 0.3s ease-in-out;
63
+ }
64
+ }
65
+ }
66
+ }
@@ -1,23 +1,24 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./render-dialog/render-dialog.component";
3
3
  import * as i2 from "./render-controls/render-controls.component";
4
- import * as i3 from "../../core/core.module";
5
- import * as i4 from "@angular/common";
6
- import * as i5 from "@angular/material/button";
7
- import * as i6 from "@angular/material/dialog";
8
- import * as i7 from "@angular/material/tooltip";
9
- import * as i8 from "@angular/material/input";
10
- import * as i9 from "@angular/material/icon";
11
- import * as i10 from "@angular/material/select";
12
- import * as i11 from "@angular/material/slide-toggle";
13
- import * as i12 from "@angular/material/grid-list";
14
- import * as i13 from "@angular/material/progress-spinner";
15
- import * as i14 from "@angular/forms";
16
- import * as i15 from "@colijnit/corecomponents";
17
- import * as i16 from "@angular/material/slider";
18
- import * as i17 from "@colijnit/corecomponents_v12";
4
+ import * as i3 from "./render-progress/render-progress.component";
5
+ import * as i4 from "../../core/core.module";
6
+ import * as i5 from "@angular/common";
7
+ import * as i6 from "@angular/material/button";
8
+ import * as i7 from "@angular/material/dialog";
9
+ import * as i8 from "@angular/material/tooltip";
10
+ import * as i9 from "@angular/material/input";
11
+ import * as i10 from "@angular/material/icon";
12
+ import * as i11 from "@angular/material/select";
13
+ import * as i12 from "@angular/material/slide-toggle";
14
+ import * as i13 from "@angular/material/grid-list";
15
+ import * as i14 from "@angular/material/progress-spinner";
16
+ import * as i15 from "@angular/forms";
17
+ import * as i16 from "@colijnit/corecomponents";
18
+ import * as i17 from "@angular/material/slider";
19
+ import * as i18 from "@colijnit/corecomponents_v12";
19
20
  export declare class RenderModule {
20
21
  static ɵfac: i0.ɵɵFactoryDeclaration<RenderModule, never>;
21
- static ɵmod: i0.ɵɵNgModuleDeclaration<RenderModule, [typeof i1.RenderDialogComponent, typeof i2.RenderControlsComponent], [typeof i3.CoreModule, typeof i4.CommonModule, typeof i5.MatButtonModule, typeof i6.MatDialogModule, typeof i7.MatTooltipModule, typeof i8.MatInputModule, typeof i9.MatIconModule, typeof i10.MatSelectModule, typeof i11.MatSlideToggleModule, typeof i12.MatGridListModule, typeof i13.MatProgressSpinnerModule, typeof i14.FormsModule, typeof i15.IconModule, typeof i16.MatSliderModule, typeof i17.TooltipDirectiveModule], [typeof i1.RenderDialogComponent, typeof i2.RenderControlsComponent]>;
22
+ static ɵmod: i0.ɵɵNgModuleDeclaration<RenderModule, [typeof i1.RenderDialogComponent, typeof i2.RenderControlsComponent, typeof i3.RenderProgressComponent], [typeof i4.CoreModule, typeof i5.CommonModule, typeof i6.MatButtonModule, typeof i7.MatDialogModule, typeof i8.MatTooltipModule, typeof i9.MatInputModule, typeof i10.MatIconModule, typeof i11.MatSelectModule, typeof i12.MatSlideToggleModule, typeof i13.MatGridListModule, typeof i14.MatProgressSpinnerModule, typeof i15.FormsModule, typeof i16.IconModule, typeof i17.MatSliderModule, typeof i18.TooltipDirectiveModule], [typeof i1.RenderDialogComponent, typeof i2.RenderControlsComponent, typeof i3.RenderProgressComponent]>;
22
23
  static ɵinj: i0.ɵɵInjectorDeclaration<RenderModule>;
23
24
  }
@@ -28,6 +28,7 @@ export declare class DimensionsService implements OnDestroy {
28
28
  private _positionDimensions;
29
29
  private _createDimensions;
30
30
  private _createLabel;
31
+ private _getBoxSize;
31
32
  static ɵfac: i0.ɵɵFactoryDeclaration<DimensionsService, never>;
32
33
  static ɵprov: i0.ɵɵInjectableDeclaration<DimensionsService>;
33
34
  }
@@ -27,6 +27,7 @@ import { HomedecoratorIconCacheService } from '../../../core/service/homedecorat
27
27
  import { ThirdPartyModelService } from '../../threedselector/threedselector/service/third-party-model.service';
28
28
  import { LightPresetsService } from '../../core3d/service/light-presets.service';
29
29
  import { HomedecoratorConnectorAdapterService } from '../../../core/service/homedecorator-connector-adapter.service';
30
+ import { ConnectionHeathService } from '../../../core/service/connection-heath.service';
30
31
  import * as i0 from "@angular/core";
31
32
  export declare class ToolbarComponent implements OnInit, OnDestroy, AfterViewInit {
32
33
  appState: AppStateService;
@@ -48,6 +49,7 @@ export declare class ToolbarComponent implements OnInit, OnDestroy, AfterViewIni
48
49
  private _thirdPartyModelService;
49
50
  private _lightPresetService;
50
51
  private _adapterService;
52
+ private _connectionHealthService;
51
53
  readonly toastType: typeof ToastType;
52
54
  readonly messageType: typeof MessageType;
53
55
  readonly icons: typeof IconEnum;
@@ -65,14 +67,17 @@ export declare class ToolbarComponent implements OnInit, OnDestroy, AfterViewIni
65
67
  interval: any;
66
68
  tooltipDisabled: boolean;
67
69
  badgeDisabled: boolean;
70
+ enableSlowConnectionWarning: boolean;
71
+ connectionStatus: string;
68
72
  private _subs;
69
73
  leftSidebar: MatDrawer;
70
74
  handleKeyDown(event: KeyboardEvent): void;
71
75
  get fullscreen(): boolean;
72
- constructor(appState: AppStateService, presetsService: PresetsService, messageService: MessageBusService, settingsService: HomedecoratorSettingsService, storageService: LocalStorageService, iconService: HomedecoratorIconCacheService, _screenSizeService: ScreenSizeAnalysisService, _dialog: MatDialog, _toastService: ToastService, _appService: HomedecoratorAppService, _permanentStoreService: PermanentStoreService, _utilsService: UtilsService, _itemService: ItemService, _animationService: AnimationService, _developmentService: DevelopmentService, _newRenderService: NewRenderService, _thirdPartyModelService: ThirdPartyModelService, _lightPresetService: LightPresetsService, _adapterService: HomedecoratorConnectorAdapterService);
76
+ constructor(appState: AppStateService, presetsService: PresetsService, messageService: MessageBusService, settingsService: HomedecoratorSettingsService, storageService: LocalStorageService, iconService: HomedecoratorIconCacheService, _screenSizeService: ScreenSizeAnalysisService, _dialog: MatDialog, _toastService: ToastService, _appService: HomedecoratorAppService, _permanentStoreService: PermanentStoreService, _utilsService: UtilsService, _itemService: ItemService, _animationService: AnimationService, _developmentService: DevelopmentService, _newRenderService: NewRenderService, _thirdPartyModelService: ThirdPartyModelService, _lightPresetService: LightPresetsService, _adapterService: HomedecoratorConnectorAdapterService, _connectionHealthService: ConnectionHeathService);
73
77
  ngOnInit(): void;
74
78
  ngOnDestroy(): void;
75
79
  ngAfterViewInit(): void;
80
+ handleConnectionStatus(status: string): void;
76
81
  clickCloseLeftSidebar(): void;
77
82
  newRoom(): void;
78
83
  animateModel(element: Item): void;
@@ -195,6 +195,26 @@
195
195
  height: 30px;
196
196
  width: 30px;
197
197
  }
198
+ co-icon.loading-green ::ng-deep {
199
+ svg, path {
200
+ fill: #74B77F;
201
+ }
202
+ }
203
+ co-icon.loading-orange ::ng-deep {
204
+ svg, path {
205
+ fill: #F17300;
206
+ }
207
+ }
208
+ co-icon.loading-yellow ::ng-deep {
209
+ svg, path {
210
+ fill: #CC2936;
211
+ }
212
+ }
213
+ co-icon.loading-red ::ng-deep {
214
+ svg, path {
215
+ fill: #CC2936;
216
+ }
217
+ }
198
218
  &.disabled {
199
219
  cursor: default;
200
220
  co-icon ::ng-deep svg {
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Free 7.0.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M320 160C229.1 160 146.8 196 86.3 254.6C73.6 266.9 53.3 266.6 41.1 253.9C28.9 241.2 29.1 220.9 41.8 208.7C113.7 138.9 211.9 96 320 96C428.1 96 526.3 138.9 598.3 208.7C611 221 611.3 241.3 599 253.9C586.7 266.5 566.4 266.9 553.8 254.6C493.2 196 410.9 160 320 160zM272 496C272 469.5 293.5 448 320 448C346.5 448 368 469.5 368 496C368 522.5 346.5 544 320 544C293.5 544 272 522.5 272 496zM200 390.2C188.3 403.5 168.1 404.7 154.8 393C141.5 381.3 140.3 361.1 152 347.8C193 301.4 253.1 272 320 272C386.9 272 447 301.4 488 347.8C499.7 361.1 498.4 381.3 485.2 393C472 404.7 451.7 403.4 440 390.2C410.6 356.9 367.8 336 320 336C272.2 336 229.4 356.9 200 390.2z"/></svg>