@colijnit/homedecorator 258.1.4 → 259.1.0

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 (52) hide show
  1. package/app/core/model/texture.d.ts +2 -0
  2. package/app/core/service/homedecorator-app-event.service.d.ts +2 -0
  3. package/app/core/service/homedecorator-app.service.d.ts +2 -2
  4. package/app/core/service/item-serialization.service.d.ts +1 -0
  5. package/app/core/utils/variation-utils.d.ts +2 -0
  6. package/app/plugins/core3d/items/metadata.d.ts +1 -0
  7. package/app/plugins/core3d/service/floor.service.d.ts +9 -4
  8. package/app/plugins/core3d/service/item.service.d.ts +1 -0
  9. package/app/plugins/room-planner/components/floor-catalog/floor-catalog.component.d.ts +5 -3
  10. package/app/plugins/room-planner/components/floorplanner/service/floorplan.service.d.ts +1 -1
  11. package/app/plugins/room-planner/room-planner/room-planner.component.d.ts +9 -4
  12. package/app/plugins/threedselector/threedselector/service/build-furniture.service.d.ts +3 -0
  13. package/app/plugins/threedselector/threedselector/service/load-furniture.service.d.ts +0 -2
  14. package/app/plugins/threedselector/threedselector/service/variation.service.d.ts +3 -1
  15. package/app/plugins/threedselector/threedselector/threedselector.component.d.ts +2 -1
  16. package/app/plugins/toolbar/toolbar/toolbar.component.d.ts +1 -0
  17. package/app/plugins/toolbar/toolbar/toolbar.component.scss +11 -12
  18. package/bundles/colijnit-homedecorator.umd.js +7612 -7287
  19. package/bundles/colijnit-homedecorator.umd.js.map +1 -1
  20. package/esm2015/app/core/model/texture.js +1 -1
  21. package/esm2015/app/core/service/homedecorator-app-event.service.js +2 -1
  22. package/esm2015/app/core/service/homedecorator-app.service.js +3 -3
  23. package/esm2015/app/core/service/homedecorator-connector.service.js +3 -1
  24. package/esm2015/app/core/service/item-serialization.service.js +39 -1
  25. package/esm2015/app/core/service/presets.service.js +27 -9
  26. package/esm2015/app/core/utils/variation-utils.js +32 -1
  27. package/esm2015/app/plugins/core3d/items/metadata.js +1 -1
  28. package/esm2015/app/plugins/core3d/service/floor.service.js +69 -12
  29. package/esm2015/app/plugins/core3d/service/item.service.js +6 -3
  30. package/esm2015/app/plugins/product-catalog/product-catalog/product-catalog.component.js +3 -1
  31. package/esm2015/app/plugins/render/service/new-render.service.js +42 -11
  32. package/esm2015/app/plugins/room-planner/components/appearance-section/appearance-section.component.js +2 -2
  33. package/esm2015/app/plugins/room-planner/components/floor-catalog/floor-catalog.component.js +13 -23
  34. package/esm2015/app/plugins/room-planner/components/floorplanner/service/floorplan.service.js +31 -2
  35. package/esm2015/app/plugins/room-planner/components/floorplanner/service/room.service.js +9 -2
  36. package/esm2015/app/plugins/room-planner/room-planner/room-planner.component.js +72 -61
  37. package/esm2015/app/plugins/threedselector/threedselector/service/build-furniture.service.js +87 -56
  38. package/esm2015/app/plugins/threedselector/threedselector/service/load-furniture.service.js +10 -8
  39. package/esm2015/app/plugins/threedselector/threedselector/service/variation.service.js +21 -2
  40. package/esm2015/app/plugins/threedselector/threedselector/threedselector.component.js +21 -5
  41. package/esm2015/app/plugins/toolbar/save-dialog/save-dialog.component.js +3 -27
  42. package/esm2015/app/plugins/toolbar/toolbar/toolbar.component.js +330 -318
  43. package/esm2015/app/service/google-tag-manager.service.js +2 -2
  44. package/fesm2015/colijnit-homedecorator.js +6891 -6620
  45. package/fesm2015/colijnit-homedecorator.js.map +1 -1
  46. package/package.json +9 -9
  47. package/assets/hdri/ground_MASK.jpg +0 -0
  48. package/assets/hdri/std_env_v2_A.hdr +0 -0
  49. package/assets/hdri/std_env_v2_B.hdr +0 -0
  50. package/assets/hdri/std_env_v2_C.hdr +0 -0
  51. package/assets/hdri/std_env_v2_D.hdr +0 -0
  52. package/assets/hdri/std_env_v2_E.hdr +0 -46
@@ -2,6 +2,7 @@ import * as THREE from 'three';
2
2
  import { Vector2 } from 'three';
3
3
  import { TextureInterface } from '../interface/texture.interface';
4
4
  import { TextureType } from './texture-type';
5
+ import { Metadata } from '../../plugins/core3d/items/metadata';
5
6
  export declare class Texture {
6
7
  name: string;
7
8
  type: TextureType;
@@ -38,6 +39,7 @@ export declare class Texture {
38
39
  defaultStandalone: boolean;
39
40
  mirror: boolean;
40
41
  simplePlane: boolean;
42
+ metadata?: Metadata;
41
43
  static CreateModelFromInterface(modelInterface: TextureInterface): Texture;
42
44
  }
43
45
  export declare function sameTextures(a: Texture, b: Texture): boolean;
@@ -3,6 +3,7 @@ import { Selection } from '@colijnit/configuratorapi/build/model/selection';
3
3
  import { Answer } from '@colijnit/configuratorapi/build/model/answer';
4
4
  import { ArticleExtended } from '@colijnit/articleapi/build/model/article-extended.bo';
5
5
  import { ExternalSourceArticleAddInterface } from '@colijnit/articleapi/build/interface/external-source-article-add.interface';
6
+ import { FloorPlaneItem } from '../../plugins/core3d/items/floor-plane-item';
6
7
  import * as i0 from "@angular/core";
7
8
  export declare class HomedecoratorAppEventService {
8
9
  instanceSet: BehaviorSubject<string>;
@@ -22,6 +23,7 @@ export declare class HomedecoratorAppEventService {
22
23
  addExternalSourceToCart: Subject<ExternalSourceArticleAddInterface>;
23
24
  glbCreated: Subject<string>;
24
25
  dirty: Subject<boolean>;
26
+ floorCreated: BehaviorSubject<FloorPlaneItem>;
25
27
  static ɵfac: i0.ɵɵFactoryDeclaration<HomedecoratorAppEventService, never>;
26
28
  static ɵprov: i0.ɵɵInjectableDeclaration<HomedecoratorAppEventService>;
27
29
  }
@@ -1,5 +1,5 @@
1
1
  import { OnDestroy } from '@angular/core';
2
- import { BehaviorSubject, Subject } from 'rxjs';
2
+ import { BehaviorSubject } from 'rxjs';
3
3
  import { ThreedModel } from '../../plugins/core3d/model/threed-model';
4
4
  import { Category } from '../model/category';
5
5
  import { Preset } from '../model/preset';
@@ -25,7 +25,7 @@ export declare class HomedecoratorAppService implements OnDestroy {
25
25
  floorplans: Preset[];
26
26
  floorTextures: Texture[];
27
27
  wallTextures: Texture[];
28
- skuSet: Subject<string>;
28
+ skuSet: BehaviorSubject<string>;
29
29
  modelsLoaded: BehaviorSubject<ThreedModel[]>;
30
30
  categoriesLoaded: BehaviorSubject<Category[]>;
31
31
  presetsLoaded: BehaviorSubject<Preset[]>;
@@ -5,6 +5,7 @@ import * as i0 from "@angular/core";
5
5
  export declare class ItemSerializationService {
6
6
  constructor();
7
7
  itemToObject(item: Item): {};
8
+ floorItemToObject(item: Item): {};
8
9
  furnitureToObject(furniture: Furniture): {
9
10
  item_name: any;
10
11
  item_description: any;
@@ -2,7 +2,9 @@ import { VariationSettings } from '../../plugins/threedselector/threedselector/m
2
2
  export declare class VariationUtils {
3
3
  private static MaterialCache;
4
4
  static LoadVariation(assetPath: string, url: string, fileName: string, includeVariationFolder?: boolean): Promise<VariationSettings>;
5
+ static LoadVariationByUrl(id: string, variationUrl: string): Promise<VariationSettings>;
5
6
  static GetUrl(assetPath: string, url: string, fileName: string, includeVariationFolder?: boolean): string;
7
+ static GetFloorAssetUrl(assetPath: string, url: string, fileName: string, articleNumber: string): string;
6
8
  static GetVariationSettingsFromFile(id: string, compressedFile: any): Promise<VariationSettings>;
7
9
  private static CreateSettingsBasedOnIndex;
8
10
  private static CreateSettingsBasedOnFileName;
@@ -52,6 +52,7 @@ export interface Metadata {
52
52
  schema?: string;
53
53
  assetPath?: string;
54
54
  texture?: Texture;
55
+ textureAssetName?: string;
55
56
  skin?: Skin;
56
57
  frameColor?: number;
57
58
  doorColor?: number;
@@ -6,17 +6,20 @@ import { Texture } from '../../../core/model/texture';
6
6
  import { OutlineService } from './outline.service';
7
7
  import { ItemService } from './item.service';
8
8
  import { FloorPlaneItem } from '../items/floor-plane-item';
9
- import { HomedecoratorSettingsService } from '../../../core/service/homedecorator-settings.service';
10
9
  import { MessageBusService } from '../../../core/service/message-bus.service';
11
10
  import { Article } from '@colijnit/configuratorapi/build/model/article';
12
11
  import { CustomFloorGroupResult } from '../model/custom-floor-group-result';
12
+ import { Metadata } from '../items/metadata';
13
+ import { VariationService } from '../../threedselector/threedselector/service/variation.service';
14
+ import { HomedecoratorAppEventService } from '../../../core/service/homedecorator-app-event.service';
13
15
  import * as i0 from "@angular/core";
14
16
  export declare class FloorService implements OnDestroy {
15
17
  private _sceneService;
16
18
  private _outlineService;
17
19
  private _itemService;
18
- private _settingsService;
19
20
  private _messageService;
21
+ private _variationService;
22
+ private _eventService;
20
23
  private _groundPlane;
21
24
  private _floorPlane;
22
25
  private _selectedFloorArticle;
@@ -53,7 +56,7 @@ export declare class FloorService implements OnDestroy {
53
56
  get floorResultObject(): CustomFloorGroupResult;
54
57
  set floorResultObject(result: CustomFloorGroupResult);
55
58
  floorToConfigure: FloorPlaneItem;
56
- constructor(_sceneService: SceneService, _outlineService: OutlineService, _itemService: ItemService, _settingsService: HomedecoratorSettingsService, _messageService: MessageBusService);
59
+ constructor(_sceneService: SceneService, _outlineService: OutlineService, _itemService: ItemService, _messageService: MessageBusService, _variationService: VariationService, _eventService: HomedecoratorAppEventService);
57
60
  ngOnDestroy(): void;
58
61
  toggleFloorFrame(visible: boolean): void;
59
62
  checkForConfigurableFloor(): boolean;
@@ -62,9 +65,10 @@ export declare class FloorService implements OnDestroy {
62
65
  setFloorColor(room: Room, color: number): Promise<void>;
63
66
  highLightFloor(floorObject: FloorPlaneItem): void;
64
67
  unHighLightFloors(): void;
68
+ applyMaterialToFloorPlaneItem(floorPlaneItem: FloorPlaneItem, material: any): void;
65
69
  configureFloor(floorObject: FloorPlaneItem): void;
66
70
  removeFloors(): void;
67
- generateFloorPlane(color: Color | string | number, texture?: Texture, corners?: Corner[], nestedRooms?: any, floorGeometry?: BufferGeometry): Promise<FloorPlaneItem>;
71
+ generateFloorPlane(color: Color | string | number, texture?: Texture, metadata?: Metadata, corners?: Corner[], nestedRooms?: any, floorGeometry?: BufferGeometry): Promise<FloorPlaneItem>;
68
72
  getFloorY(): number;
69
73
  removeFloor(floor: FloorPlaneItem, forceRender?: boolean): void;
70
74
  private _addFloor;
@@ -72,6 +76,7 @@ export declare class FloorService implements OnDestroy {
72
76
  private _createGroundPlane;
73
77
  private _createFloorMaterial;
74
78
  private _getFloorCenter;
79
+ private _convertFloorMetadata;
75
80
  static ɵfac: i0.ɵɵFactoryDeclaration<FloorService, never>;
76
81
  static ɵprov: i0.ɵɵInjectableDeclaration<FloorService>;
77
82
  }
@@ -24,6 +24,7 @@ export declare class ItemService implements OnDestroy {
24
24
  getWallItems(): Item[];
25
25
  getFurniture(): Furniture[];
26
26
  getNonFurniture(): Item[];
27
+ getFloorDecorationItems(): Item[];
27
28
  getConfigurables(): Item[];
28
29
  getIOneFurniture(): Item[];
29
30
  getCameraItem(): Item;
@@ -3,10 +3,10 @@ import { HomedecoratorIconCacheService } from '../../../../core/service/homedeco
3
3
  import { IconEnum } from '../../../../core/enum/icon.enum';
4
4
  import { MessageBusService } from '../../../../core/service/message-bus.service';
5
5
  import { FloorService } from '../../../core3d/service/floor.service';
6
- import { Article } from '@colijnit/configuratorapi/build/model/article';
7
6
  import { Texture } from '../../../../core/model/texture';
8
7
  import { BuildFurnitureService } from '../../../threedselector/threedselector/service/build-furniture.service';
9
8
  import { SafeResourceUrl } from '@angular/platform-browser';
9
+ import { Metadata } from '../../../core3d/items/metadata';
10
10
  import * as i0 from "@angular/core";
11
11
  export declare class FloorCatalogComponent implements OnInit, OnDestroy {
12
12
  iconService: HomedecoratorIconCacheService;
@@ -16,13 +16,15 @@ export declare class FloorCatalogComponent implements OnInit, OnDestroy {
16
16
  readonly icon: typeof IconEnum;
17
17
  type: 'floor';
18
18
  currentTexture: Texture;
19
+ texturePlane: any;
20
+ plainTexture: any;
19
21
  scaleManualInput: ElementRef;
20
22
  scaleSliderInput: ElementRef;
21
23
  directionInput: ElementRef;
22
24
  centerlineZAxisInput: ElementRef;
23
25
  centerlineXAxisInput: ElementRef;
24
26
  floorSet: boolean;
25
- floorData: Article;
27
+ floorData: Metadata;
26
28
  floorArticleImage: SafeResourceUrl;
27
29
  currentScale: number;
28
30
  currentFloorRotation: number;
@@ -64,5 +66,5 @@ export declare class FloorCatalogComponent implements OnInit, OnDestroy {
64
66
  reToggleFloorFrame(): void;
65
67
  getFloorInformation(): void;
66
68
  static ɵfac: i0.ɵɵFactoryDeclaration<FloorCatalogComponent, never>;
67
- static ɵcmp: i0.ɵɵComponentDeclaration<FloorCatalogComponent, "rp-floor-catalog", never, { "type": "type"; "currentTexture": "currentTexture"; }, {}, never, never>;
69
+ static ɵcmp: i0.ɵɵComponentDeclaration<FloorCatalogComponent, "rp-floor-catalog", never, { "type": "type"; "currentTexture": "currentTexture"; "texturePlane": "texturePlane"; "plainTexture": "plainTexture"; }, {}, never, never>;
68
70
  }
@@ -68,7 +68,7 @@ export declare class FloorplanService {
68
68
  overlappedWall(x: number, y: number, tolerance?: number): Wall;
69
69
  overlappedItem(x: number, y: number, tolerance?: number): Item;
70
70
  overlappedFloor(x: number, y: number): Room;
71
- saveFloorplan(): {
71
+ saveFloorplan(floorTypeArticles: any): {
72
72
  corners: {};
73
73
  walls: any[];
74
74
  wallTextures: any[];
@@ -40,11 +40,15 @@ import { CustomButton } from '../../../core/model/custom-button';
40
40
  import { HomedecoratorAppEventService } from '../../../core/service/homedecorator-app-event.service';
41
41
  import { HomedecoratorConnectorService } from '../../../core/service/homedecorator-connector.service';
42
42
  import { HomedecoratorConnectorAdapterService } from '../../../core/service/homedecorator-connector-adapter.service';
43
+ import { LoadFurnitureService } from '../../threedselector/threedselector/service/load-furniture.service';
44
+ import { FloorService } from '../../core3d/service/floor.service';
43
45
  import * as i0 from "@angular/core";
44
46
  export declare class RoomPlannerComponent implements OnInit, OnDestroy, PluginInterface {
45
47
  iconService: HomedecoratorIconCacheService;
46
48
  viewModeService: ViewModeService;
47
49
  modelsService: ModelsService;
50
+ itemService: ItemService;
51
+ settingsService: HomedecoratorSettingsService;
48
52
  private _presetsService;
49
53
  private _appService;
50
54
  private _screenAnalysis;
@@ -62,13 +66,13 @@ export declare class RoomPlannerComponent implements OnInit, OnDestroy, PluginIn
62
66
  private _itemSerializationService;
63
67
  private _lightsService;
64
68
  private _arService;
65
- itemService: ItemService;
66
- settingsService: HomedecoratorSettingsService;
67
69
  private _googleTagManager;
68
70
  private _permanentStoreService;
69
71
  private _appEventService;
70
72
  private _connectorService;
71
73
  private _connectorAdapterService;
74
+ private _loadFurnitureService;
75
+ private _floorService;
72
76
  floorplanner: FloorplannerComponent;
73
77
  toolbarIconLibrary: TemplateRef<any>;
74
78
  toolbarIconAccessoires: TemplateRef<any>;
@@ -134,12 +138,13 @@ export declare class RoomPlannerComponent implements OnInit, OnDestroy, PluginIn
134
138
  salableObject: boolean;
135
139
  threedIconAvailable: boolean;
136
140
  diagramToggleAvailable: boolean;
141
+ configureButton: CustomButton;
137
142
  private _subs;
138
143
  private _activeCategorySidebarTemplate;
139
144
  private _mode;
140
145
  private _catalogIsShown;
141
146
  private _blockLeftSideBar;
142
- constructor(iconService: HomedecoratorIconCacheService, viewModeService: ViewModeService, modelsService: ModelsService, _presetsService: PresetsService, _appService: HomedecoratorAppService, _screenAnalysis: ScreenSizeAnalysisService, _cd: ChangeDetectorRef, _utilsService: UtilsService, _messageService: MessageBusService, _dialog: MatDialog, _configurationService: ConfigurationService, _floorplanService: FloorplanService, _sceneService: SceneService, _hudService: HudService, _roomService: RoomService, _cameraService: CameraService, _itemService: ItemService, _itemSerializationService: ItemSerializationService, _lightsService: LightsService, _arService: ArService, itemService: ItemService, settingsService: HomedecoratorSettingsService, _googleTagManager: GoogleTagManagerService, _permanentStoreService: PermanentStoreService, _appEventService: HomedecoratorAppEventService, _connectorService: HomedecoratorConnectorService, _connectorAdapterService: HomedecoratorConnectorAdapterService);
147
+ constructor(iconService: HomedecoratorIconCacheService, viewModeService: ViewModeService, modelsService: ModelsService, itemService: ItemService, settingsService: HomedecoratorSettingsService, _presetsService: PresetsService, _appService: HomedecoratorAppService, _screenAnalysis: ScreenSizeAnalysisService, _cd: ChangeDetectorRef, _utilsService: UtilsService, _messageService: MessageBusService, _dialog: MatDialog, _configurationService: ConfigurationService, _floorplanService: FloorplanService, _sceneService: SceneService, _hudService: HudService, _roomService: RoomService, _cameraService: CameraService, _itemService: ItemService, _itemSerializationService: ItemSerializationService, _lightsService: LightsService, _arService: ArService, _googleTagManager: GoogleTagManagerService, _permanentStoreService: PermanentStoreService, _appEventService: HomedecoratorAppEventService, _connectorService: HomedecoratorConnectorService, _connectorAdapterService: HomedecoratorConnectorAdapterService, _loadFurnitureService: LoadFurnitureService, _floorService: FloorService);
143
148
  handleDocKeyDown(event: KeyboardEvent): void;
144
149
  get selectedEdges(): any[];
145
150
  ngOnInit(): Promise<void>;
@@ -148,7 +153,7 @@ export declare class RoomPlannerComponent implements OnInit, OnDestroy, PluginIn
148
153
  private _viewModeChanged;
149
154
  objectSelected(object: Item | ItemGroup): void;
150
155
  showSelectedObjectSidebar(): void;
151
- handleConfigurationButtonClick(btn: CustomButton): void;
156
+ handleConfigurationButtonClick(event: MouseEvent): void;
152
157
  objectUnselected(): void;
153
158
  updateSelectedObjectHud(): void;
154
159
  handleDeleteObject(): void;
@@ -119,6 +119,8 @@ export declare class BuildFurnitureService implements OnDestroy {
119
119
  downloadThumbnail(): string;
120
120
  downloadScene(): void;
121
121
  createSimple3DModel(result: CustomFloorGroupResult, standAlone?: boolean): CustomFloorGroupResult;
122
+ createNonConfigurableFloor(result: CustomFloorGroupResult): Promise<CustomFloorGroupResult>;
123
+ private _handleCreateFloor;
122
124
  private _buildFloor;
123
125
  private _generateLayingPattern;
124
126
  private _instancedMeshFromFloorPatternTransform;
@@ -158,6 +160,7 @@ export declare class BuildFurnitureService implements OnDestroy {
158
160
  private _createConfigurableItem;
159
161
  private _createPositionAnimation;
160
162
  private _animateChanges;
163
+ private _cloneSelections;
161
164
  private _replaceCurrentItem;
162
165
  mouseOver: () => void;
163
166
  mouseOff: () => void;
@@ -3,7 +3,6 @@ import { BehaviorSubject } from 'rxjs';
3
3
  import { Object3D } from 'three';
4
4
  import { Article } from '@colijnit/configuratorapi/build/model/article';
5
5
  import { CustomFloorGroupResult } from '../../../core3d/model/custom-floor-group-result';
6
- import { CustomButton } from '../../../../core/model/custom-button';
7
6
  import { Metadata } from '../../../core3d/items/metadata';
8
7
  import { HomedecoratorConnectorService } from '../../../../core/service/homedecorator-connector.service';
9
8
  import { ModelsService } from '../../../core3d/service/models.service';
@@ -34,7 +33,6 @@ export declare class LoadFurnitureService implements OnDestroy {
34
33
  objectListFixed: CustomFloorGroupResult[];
35
34
  simpleObjectList: CustomFloorGroupResult[];
36
35
  externalSourceNotAvailable: CustomFloorGroupResult[];
37
- configureButton: CustomButton;
38
36
  shouldLoadSelections: boolean;
39
37
  metadataSet: BehaviorSubject<Metadata>;
40
38
  set article(value: Article);
@@ -6,13 +6,15 @@ import * as i0 from "@angular/core";
6
6
  export declare class VariationService {
7
7
  private _threedSelectorService;
8
8
  private _itemService;
9
+ loadedAsset: string;
9
10
  private _lastKnownVariations;
10
11
  constructor(_threedSelectorService: ThreedselectorService, _itemService: ItemService);
11
12
  clearCache(): void;
12
13
  loadPart(assetPath: string, parts: any[], instanceId: string, obj: Item, usePbr?: boolean): Promise<void>;
13
14
  loadVariation(assetPath: string, parts: any[], instanceId: string, obj: Item, usePbr?: boolean): Promise<void>;
14
15
  loadVariationFromLocalFile(id: string, file: any, obj: Object3D): Promise<void>;
15
- loadVariationForMaterial(assetPath: string, gameObject: string, schema: string): Promise<void>;
16
+ loadVariationForMaterial(assetPath: string, gameObject: string, schema: string): Promise<any>;
17
+ loadVariationByAssetUrl(assetUrl: string): Promise<any>;
16
18
  private _applyMaterialPart;
17
19
  private _applyVariations;
18
20
  private _applyMaterial;
@@ -132,8 +132,9 @@ export declare class ThreedselectorComponent implements OnInit, OnDestroy {
132
132
  ngOnInit(): void;
133
133
  ngOnDestroy(): void;
134
134
  copySceneInstance(saveAs: boolean): Promise<void>;
135
- loadObjects({ furniture }: {
135
+ loadObjects({ furniture, floorplan }: {
136
136
  furniture: any;
137
+ floorplan: any;
137
138
  }): Promise<any>;
138
139
  getObjects(): any;
139
140
  objectSelected(object: Item | ItemGroup): void;
@@ -78,6 +78,7 @@ export declare class ToolbarComponent implements OnInit, OnDestroy, AfterViewIni
78
78
  animateModel(element: Item): void;
79
79
  openSaveDialog(): Promise<void>;
80
80
  openOpenDialog(): void;
81
+ goToSearch(): void;
81
82
  loadRoom(): Promise<void>;
82
83
  loadResizableRoom(): Promise<void>;
83
84
  downloadRoom(): void;
@@ -141,24 +141,20 @@
141
141
  justify-content: center;
142
142
  margin-left: -16px;
143
143
  }
144
- .left-toolbar {
144
+ .left-toolbar,
145
+ .right-toolbar {
145
146
  display: flex;
146
147
  align-items: center;
147
148
  background: #da9803;
148
149
  border-radius: 0 0 10px 0;
149
- padding: 0 20px;
150
+ padding: 0 20px 0 10px;
150
151
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
151
152
  height: 40px;
152
153
  gap: 12px;
153
154
  }
154
155
  .right-toolbar {
155
- display: flex;
156
- align-items: center;
157
- background: #da9803;
158
156
  border-radius: 0 0 0 10px;
159
157
  padding: 0 5px 0 10px;
160
- box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
161
- height: 40px;
162
158
  }
163
159
  .toolbar-icon-list {
164
160
  display: flex;
@@ -190,16 +186,19 @@
190
186
  co-icon ::ng-deep {
191
187
  width: 20px;
192
188
  height: 20px;
193
- svg {
189
+ svg,
190
+ path {
194
191
  fill: #FFF;
195
192
  }
196
193
  }
194
+ &.search co-icon {
195
+ height: 30px;
196
+ width: 30px;
197
+ }
197
198
  &.disabled {
198
199
  cursor: default;
199
- co-icon ::ng-deep {
200
- svg {
201
- fill: rgba(0, 0, 0, 0.26);
202
- }
200
+ co-icon ::ng-deep svg {
201
+ fill: rgba(0, 0, 0, 0.26);
203
202
  }
204
203
  }
205
204
  }