@colijnit/homedecorator 259.1.2 → 259.1.4
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/app/core/enum/icon.enum.d.ts +5 -0
- package/app/core/enum/message-type.enum.d.ts +4 -1
- package/app/core/enum/progress-bar.enum.d.ts +4 -0
- package/app/core/interface/external-save.interface.d.ts +4 -0
- package/app/core/interface/message-with-payload.interface.d.ts +2 -0
- package/app/core/interface/message-without-payload.interface.d.ts +1 -0
- package/app/core/model/homedecorator-settings-options.d.ts +6 -0
- package/app/core/model/homedecorator-settings.d.ts +1 -0
- package/app/core/service/3dm-api.d.ts +2 -1
- package/app/core/service/connection-heath.service.d.ts +20 -0
- package/app/core/service/homedecorator-app-event.service.d.ts +3 -0
- package/app/core/service/homedecorator-app.service.d.ts +6 -0
- package/app/core/service/homedecorator-connector-adapter.service.d.ts +3 -2
- package/app/core/service/homedecorator-connector.service.d.ts +6 -2
- package/app/core/service/progress.service.d.ts +5 -1
- package/app/core/service/utils.service.d.ts +1 -0
- package/app/development/service/development.service.d.ts +2 -2
- package/app/homedecorator.component.d.ts +13 -3
- package/app/plugins/core3d/components/ar-gui/ar-gui-root/ar-gui-elements/ar-gui-configurator/ar-gui-configurator.component.d.ts +3 -3
- package/app/plugins/core3d/items/base-item.d.ts +1 -0
- package/app/plugins/core3d/items/item-group.d.ts +1 -0
- package/app/plugins/core3d/service/camera.service.d.ts +3 -1
- package/app/plugins/core3d/service/error-glow.service.d.ts +5 -2
- package/app/plugins/core3d/service/hud.service.d.ts +1 -7
- package/app/plugins/core3d/service/rotation.service.d.ts +1 -0
- package/app/plugins/core3d/service/scene.service.d.ts +1 -0
- package/app/plugins/lite-selector/lite-selector/component/answer-card/answer-card.component.d.ts +13 -3
- package/app/plugins/lite-selector/lite-selector/component/answer-card/answer-card.component.scss +46 -0
- package/app/plugins/lite-selector/lite-selector/component/answer-info-dialog/answer-info-dialog.component.d.ts +27 -0
- package/app/plugins/lite-selector/lite-selector/component/answer-info-dialog/answer-info-dialog.component.scss +97 -0
- package/app/plugins/lite-selector/lite-selector/component/answers-slideout/answers-slideout.component.d.ts +11 -4
- package/app/plugins/lite-selector/lite-selector/component/customizer/customizer.component.d.ts +2 -2
- package/app/plugins/lite-selector/lite-selector/component/selections-summary/selections-summary.component.d.ts +1 -3
- package/app/plugins/lite-selector/lite-selector/lite-selector.component.d.ts +3 -3
- package/app/plugins/lite-selector/lite-selector/service/customizer.service.d.ts +1 -3
- package/app/plugins/lite-selector/lite-selector.module.d.ts +10 -8
- package/app/plugins/presets/presets/presets.component.d.ts +7 -10
- package/app/plugins/product-configurator/product-configurator-selector-option-dropdown.component.scss +1 -0
- package/app/plugins/product-configurator/product-configurator-selector-option.component.d.ts +29 -0
- package/app/plugins/product-configurator/product-configurator-selector.component.d.ts +8 -22
- package/app/plugins/product-configurator/product-configurator-selector.component.scss +91 -65
- package/app/plugins/product-configurator/product-configurator.component.d.ts +5 -3
- package/app/plugins/product-configurator/product-configurator.module.d.ts +8 -7
- package/app/plugins/product-configurator/product-configurator.service.d.ts +11 -0
- package/app/plugins/product-configurator/template_variables.scss +4 -1
- package/app/plugins/render/model/render-parameters.d.ts +1 -0
- package/app/plugins/render/render-controls/render-controls.component.d.ts +10 -6
- package/app/plugins/render/render-controls/render-controls.component.scss +0 -1
- package/app/plugins/render/render-progress/render-progress.component.d.ts +20 -0
- package/app/plugins/render/render-progress/render-progress.component.scss +66 -0
- package/app/plugins/render/render.module.d.ts +18 -16
- package/app/plugins/render/service/new-render.service.d.ts +8 -3
- package/app/plugins/room-planner/components/floor-catalog/floor-catalog.component.d.ts +2 -2
- package/app/plugins/room-planner/room-planner/room-planner.component.d.ts +2 -2
- package/app/plugins/threedselector/threedselector/service/build-furniture-base.service.d.ts +231 -0
- package/app/plugins/threedselector/threedselector/service/build-furniture-without-scene.service.d.ts +15 -0
- package/app/plugins/threedselector/threedselector/service/build-furniture.service.d.ts +4 -197
- package/app/plugins/threedselector/threedselector/service/load-furniture-base.service.d.ts +66 -0
- package/app/plugins/threedselector/threedselector/service/load-furniture-without-scene.service.d.ts +10 -0
- package/app/plugins/threedselector/threedselector/service/load-furniture.service.d.ts +2 -58
- package/app/plugins/threedselector/threedselector/service/switch-build-furniture.service.d.ts +21 -0
- package/app/plugins/threedselector/threedselector/service/switch-load-furniture.service.d.ts +21 -0
- package/app/plugins/threedselector/threedselector/service/third-party-model.service.d.ts +1 -45
- package/app/plugins/threedselector/threedselector/service/variation.service.d.ts +1 -0
- package/app/plugins/threedselector/threedselector/threedselector.component.d.ts +11 -3
- package/app/plugins/toolbar/landing-screen-modal/landing-screen-modal.component.d.ts +1 -3
- package/app/plugins/toolbar/toolbar/toolbar.component.d.ts +16 -4
- package/app/plugins/toolbar/toolbar/toolbar.component.scss +20 -0
- package/app/shared/model-dialog/model-dialog-furniture-list.component.d.ts +5 -6
- package/app/shared/model-dialog/model-dialog.component.d.ts +12 -0
- package/assets/icons/gauge_high_solid_full.svg +1 -0
- package/assets/icons/gauge_low_solid_full.svg +1 -0
- package/assets/icons/gauge_max_solid_full.svg +1 -0
- package/assets/icons/gauge_min_solid_full.svg +1 -0
- package/assets/icons/wifi_solid_full.svg +1 -0
- package/bundles/colijnit-homedecorator.umd.js +4080 -2774
- package/bundles/colijnit-homedecorator.umd.js.map +1 -1
- package/esm2015/app/APPLICATION_SERVICE_PROVIDERS.js +14 -2
- package/esm2015/app/app.version.js +2 -2
- package/esm2015/app/core/enum/icon.enum.js +6 -1
- package/esm2015/app/core/enum/message-type.enum.js +4 -1
- package/esm2015/app/core/enum/progress-bar.enum.js +6 -0
- package/esm2015/app/core/interface/external-save.interface.js +2 -0
- package/esm2015/app/core/interface/message-with-payload.interface.js +1 -1
- package/esm2015/app/core/interface/message-without-payload.interface.js +1 -1
- package/esm2015/app/core/model/homedecorator-settings-options.js +7 -1
- package/esm2015/app/core/model/homedecorator-settings.js +1 -1
- package/esm2015/app/core/model/icon.js +6 -1
- package/esm2015/app/core/service/3dm-api.js +19 -12
- package/esm2015/app/core/service/connection-heath.service.js +92 -0
- package/esm2015/app/core/service/homedecorator-app-event.service.js +3 -1
- package/esm2015/app/core/service/homedecorator-app.service.js +18 -2
- package/esm2015/app/core/service/homedecorator-connector-adapter.service.js +22 -3
- package/esm2015/app/core/service/homedecorator-connector.service.js +66 -72
- package/esm2015/app/core/service/homedecorator-icon-cache.service.js +5 -2
- package/esm2015/app/core/service/presets.service.js +3 -1
- package/esm2015/app/core/service/progress.service.js +17 -6
- package/esm2015/app/core/service/utils.service.js +60 -9
- package/esm2015/app/core/utils/relative-position.utils.js +5 -4
- package/esm2015/app/development/service/development.service.js +12 -10
- package/esm2015/app/homedecorator.component.js +73 -36
- package/esm2015/app/plugins/core3d/collision-manager/collision-manager.service.js +4 -1
- package/esm2015/app/plugins/core3d/components/ar-gui/ar-gui-root/ar-gui-elements/ar-gui-configurator/ar-gui-configurator.component.js +6 -6
- package/esm2015/app/plugins/core3d/items/base-item.js +2 -1
- package/esm2015/app/plugins/core3d/items/item-group.js +2 -1
- package/esm2015/app/plugins/core3d/items/metadata.js +1 -1
- package/esm2015/app/plugins/core3d/service/ar.service.js +4 -9
- package/esm2015/app/plugins/core3d/service/camera.service.js +12 -5
- package/esm2015/app/plugins/core3d/service/controls.js +15 -1
- package/esm2015/app/plugins/core3d/service/drag-and-drop.service.js +19 -9
- package/esm2015/app/plugins/core3d/service/error-glow.service.js +23 -5
- package/esm2015/app/plugins/core3d/service/hud.service.js +5 -11
- package/esm2015/app/plugins/core3d/service/rotation.service.js +17 -2
- package/esm2015/app/plugins/core3d/service/scene-event.service.js +5 -6
- package/esm2015/app/plugins/core3d/service/scene.service.js +9 -4
- package/esm2015/app/plugins/lite-selector/lite-selector/component/answer-card/answer-card.component.js +62 -15
- package/esm2015/app/plugins/lite-selector/lite-selector/component/answer-info-dialog/answer-info-dialog.component.js +152 -0
- package/esm2015/app/plugins/lite-selector/lite-selector/component/answers-slideout/answers-slideout.component.js +43 -18
- package/esm2015/app/plugins/lite-selector/lite-selector/component/customizer/customizer.component.js +5 -5
- package/esm2015/app/plugins/lite-selector/lite-selector/component/selections-summary/selections-summary.component.js +17 -21
- package/esm2015/app/plugins/lite-selector/lite-selector/lite-selector.component.js +10 -10
- package/esm2015/app/plugins/lite-selector/lite-selector/service/customizer.service.js +4 -6
- package/esm2015/app/plugins/lite-selector/lite-selector.module.js +13 -6
- package/esm2015/app/plugins/presets/presets/presets.component.js +26 -25
- package/esm2015/app/plugins/product-configurator/product-configurator-selector-option-dropdown.component.js +1 -1
- package/esm2015/app/plugins/product-configurator/product-configurator-selector-option-tile.compontent.js +3 -3
- package/esm2015/app/plugins/product-configurator/product-configurator-selector-option.component.js +261 -0
- package/esm2015/app/plugins/product-configurator/product-configurator-selector.component.js +109 -280
- package/esm2015/app/plugins/product-configurator/product-configurator.component.js +29 -23
- package/esm2015/app/plugins/product-configurator/product-configurator.module.js +12 -6
- package/esm2015/app/plugins/product-configurator/product-configurator.service.js +15 -0
- package/esm2015/app/plugins/render/model/render-parameters.js +2 -1
- package/esm2015/app/plugins/render/render-controls/render-controls.component.js +454 -427
- package/esm2015/app/plugins/render/render-dialog/render-dialog.component.js +2 -2
- package/esm2015/app/plugins/render/render-progress/render-progress.component.js +85 -0
- package/esm2015/app/plugins/render/render.module.js +19 -9
- package/esm2015/app/plugins/render/service/new-render.service.js +73 -30
- package/esm2015/app/plugins/room-planner/components/floor-catalog/floor-catalog.component.js +5 -5
- package/esm2015/app/plugins/room-planner/room-planner/room-planner.component.js +5 -5
- package/esm2015/app/plugins/threedselector/threedselector/service/build-furniture-base.service.js +1534 -0
- package/esm2015/app/plugins/threedselector/threedselector/service/build-furniture-without-scene.service.js +108 -0
- package/esm2015/app/plugins/threedselector/threedselector/service/build-furniture.service.js +80 -1542
- package/esm2015/app/plugins/threedselector/threedselector/service/load-furniture-base.service.js +284 -0
- package/esm2015/app/plugins/threedselector/threedselector/service/load-furniture-without-scene.service.js +54 -0
- package/esm2015/app/plugins/threedselector/threedselector/service/load-furniture.service.js +14 -270
- package/esm2015/app/plugins/threedselector/threedselector/service/switch-build-furniture.service.js +37 -0
- package/esm2015/app/plugins/threedselector/threedselector/service/switch-load-furniture.service.js +37 -0
- package/esm2015/app/plugins/threedselector/threedselector/service/third-party-model.service.js +8 -52
- package/esm2015/app/plugins/threedselector/threedselector/service/threedselector.service.js +4 -1
- package/esm2015/app/plugins/threedselector/threedselector/service/variation.service.js +13 -1
- package/esm2015/app/plugins/threedselector/threedselector/threedselector.component.js +204 -94
- package/esm2015/app/plugins/toolbar/landing-screen-modal/landing-screen-modal.component.js +12 -15
- package/esm2015/app/plugins/toolbar/toolbar/toolbar.component.js +161 -29
- package/esm2015/app/shared/model-dialog/model-dialog-furniture-list.component.js +33 -26
- package/esm2015/app/shared/model-dialog/model-dialog.component.js +5 -2
- package/esm2015/app/shared/progress-bar/progress-bar.component.js +1 -1
- package/fesm2015/colijnit-homedecorator.js +4011 -2688
- package/fesm2015/colijnit-homedecorator.js.map +1 -1
- package/package.json +2 -2
|
@@ -51,6 +51,10 @@ export declare enum IconEnum {
|
|
|
51
51
|
Expand = "expand",
|
|
52
52
|
FillDripLight = "fill_drip_light",
|
|
53
53
|
Flower = "flower",
|
|
54
|
+
GaugeHighSolidFull = "gauge_high_solid_full",
|
|
55
|
+
GaugeLowSolidFull = "gauge_low_solid_full",
|
|
56
|
+
GaugeMaxSolidFull = "gauge_max_solid_full",
|
|
57
|
+
GaugeMinSolidFull = "gauge_min_solid_full",
|
|
54
58
|
GoogleCardboardOrange = "google-cardboard-orange",
|
|
55
59
|
GoogleCardboard = "google-cardboard",
|
|
56
60
|
GridLight = "grid_light",
|
|
@@ -95,6 +99,7 @@ export declare enum IconEnum {
|
|
|
95
99
|
TriangleUp = "triangle_up",
|
|
96
100
|
UploadLight = "upload_light",
|
|
97
101
|
WandMagicSparkles = "wand_magic_sparkles",
|
|
102
|
+
WifiSolidFull = "wifi_solid_full",
|
|
98
103
|
XmarkLight = "xmark_light",
|
|
99
104
|
XmarkRegular = "xmark_regular"
|
|
100
105
|
}
|
|
@@ -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
|
}
|
|
@@ -88,4 +88,6 @@ export interface MessagesWithPayload {
|
|
|
88
88
|
[MessageType.BlenderRenderPreviewReady]: any;
|
|
89
89
|
[MessageType.RemoveItem]: Item;
|
|
90
90
|
[MessageType.ChangeArticleConfigurationType]: boolean;
|
|
91
|
+
[MessageType.RenderUploadProgress]: number;
|
|
92
|
+
[MessageType.RenderUploadFinished]: boolean;
|
|
91
93
|
}
|
|
@@ -30,6 +30,8 @@ export declare class HomedecoratorSettingsOptions {
|
|
|
30
30
|
xrDebug: boolean;
|
|
31
31
|
useStandaloneFloors: boolean;
|
|
32
32
|
useStandaloneHighLight: boolean;
|
|
33
|
+
useCustomFloorSize: boolean;
|
|
34
|
+
customFloorSize: number;
|
|
33
35
|
showEditPencilConfigurator: boolean;
|
|
34
36
|
instantEditMenu: boolean;
|
|
35
37
|
animationButton: boolean;
|
|
@@ -52,4 +54,8 @@ export declare class HomedecoratorSettingsOptions {
|
|
|
52
54
|
showProgressBar: boolean;
|
|
53
55
|
showProgressText: boolean;
|
|
54
56
|
showSelectionLoader: boolean;
|
|
57
|
+
useAnimations: boolean;
|
|
58
|
+
useThreedScene: boolean;
|
|
59
|
+
showSlowConnectionWarning: boolean;
|
|
60
|
+
useExternalOpenSave: boolean;
|
|
55
61
|
}
|
|
@@ -48,6 +48,7 @@ export declare class HomedecoratorSettings {
|
|
|
48
48
|
uploadEndpoint: string;
|
|
49
49
|
renderEndpoint: string;
|
|
50
50
|
productRenderSceneAssetId: string;
|
|
51
|
+
defaultRenderType: number;
|
|
51
52
|
user3DModelUploadEnabled: boolean;
|
|
52
53
|
showConversionButtons: boolean;
|
|
53
54
|
showUploadDiagram: boolean;
|
|
@@ -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):
|
|
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
|
+
}
|
|
@@ -4,6 +4,7 @@ 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
6
|
import { FloorPlaneItem } from '../../plugins/core3d/items/floor-plane-item';
|
|
7
|
+
import { ExternalSave } from '../interface/external-save.interface';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
export declare class HomedecoratorAppEventService {
|
|
9
10
|
instanceSet: BehaviorSubject<string>;
|
|
@@ -24,6 +25,8 @@ export declare class HomedecoratorAppEventService {
|
|
|
24
25
|
glbCreated: Subject<string>;
|
|
25
26
|
dirty: Subject<boolean>;
|
|
26
27
|
floorCreated: BehaviorSubject<FloorPlaneItem>;
|
|
28
|
+
externalSave: BehaviorSubject<ExternalSave>;
|
|
29
|
+
searchClick: Subject<void>;
|
|
27
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<HomedecoratorAppEventService, never>;
|
|
28
31
|
static ɵprov: i0.ɵɵInjectableDeclaration<HomedecoratorAppEventService>;
|
|
29
32
|
}
|
|
@@ -18,6 +18,8 @@ export declare class HomedecoratorAppService implements OnDestroy {
|
|
|
18
18
|
private _lightPresetsJsonFile;
|
|
19
19
|
set sku(value: string);
|
|
20
20
|
get sku(): string;
|
|
21
|
+
set materialPreview(value: string);
|
|
22
|
+
get materialPreview(): string;
|
|
21
23
|
models: ThreedModel[];
|
|
22
24
|
categories: Category[];
|
|
23
25
|
presets: Preset[];
|
|
@@ -34,12 +36,16 @@ export declare class HomedecoratorAppService implements OnDestroy {
|
|
|
34
36
|
wallTexturesLoaded: BehaviorSubject<Texture[]>;
|
|
35
37
|
lightPresetsLoaded: BehaviorSubject<LightPreset[]>;
|
|
36
38
|
loadedHelpGifs: BehaviorSubject<MediaResource[]>;
|
|
39
|
+
materialPreviewSet: BehaviorSubject<string>;
|
|
40
|
+
materialPreviewUpdate: BehaviorSubject<any>;
|
|
41
|
+
allLoaded: BehaviorSubject<boolean>;
|
|
37
42
|
userRegistered: boolean;
|
|
38
43
|
private _sku;
|
|
39
44
|
private _assetPath;
|
|
40
45
|
private _connectionSet;
|
|
41
46
|
private _subs;
|
|
42
47
|
private _timer;
|
|
48
|
+
private _materialPreview;
|
|
43
49
|
constructor(_jsonUtilsService: JsonUtilsService, _settingsService: HomedecoratorSettingsService, _configurationService: ConfigurationService);
|
|
44
50
|
ngOnDestroy(): void;
|
|
45
51
|
getCategories(categoryType: string): Category[];
|
|
@@ -69,8 +69,8 @@ export declare class HomedecoratorConnectorAdapterService implements OnDestroy {
|
|
|
69
69
|
private _publicationCodeForUserRole;
|
|
70
70
|
constructor(_appEventService: HomedecoratorAppEventService, _catalogExternalSourcesService: CatalogExternalSourcesService);
|
|
71
71
|
ngOnDestroy(): void;
|
|
72
|
-
initConnectionFromMetadata(metadata: Metadata, settings: HomedecoratorSettings): Promise<
|
|
73
|
-
initConnector(options: Options, externalSource?: string, forceReload?: boolean, externalSourceId?: number): Promise<
|
|
72
|
+
initConnectionFromMetadata(metadata: Metadata, settings: HomedecoratorSettings): Promise<boolean>;
|
|
73
|
+
initConnector(options: Options, externalSource?: string, forceReload?: boolean, externalSourceId?: number): Promise<boolean>;
|
|
74
74
|
logOut(): Promise<void>;
|
|
75
75
|
getPublicationCodeBasedOnLogin(): number;
|
|
76
76
|
getWebViewStartupInfo(request: ExternalCatalogStartupInfoRequest): Promise<ExternalCatalogStartupInfo>;
|
|
@@ -99,6 +99,7 @@ export declare class HomedecoratorConnectorAdapterService implements OnDestroy {
|
|
|
99
99
|
getImageForAnswerOrSelection(answerOrSelection: Answer | Selection, publication: number, thumbNail?: boolean, showLoader?: boolean): Promise<string>;
|
|
100
100
|
getSkipButtonImageAndText(goodId?: number): Promise<SkipButtonInfo>;
|
|
101
101
|
getMoodImageForAnswerSelection(answerOrSelection: Answer | Selection, thumbNail?: boolean): Promise<string>;
|
|
102
|
+
getMoodImageForInfoDialog(answerOrSelection: Answer | Selection, thumbNail?: boolean): Promise<string>;
|
|
102
103
|
getAnswerInfo(answer: Answer): Promise<ArticleText[]>;
|
|
103
104
|
getInternalParameter(parameter: InternalParam): Promise<string>;
|
|
104
105
|
store3DModelCDN(filename: string, fileContents: string): Promise<string>;
|
|
@@ -44,6 +44,7 @@ export declare class HomedecoratorConnectorService implements OnDestroy {
|
|
|
44
44
|
get shouldShowLoader(): boolean;
|
|
45
45
|
set shouldShowLoader(value: boolean);
|
|
46
46
|
controllerInitialized: BehaviorSubject<boolean>;
|
|
47
|
+
standAloneInstance: BehaviorSubject<boolean>;
|
|
47
48
|
readonly articleReceived: Subject<Article>;
|
|
48
49
|
readonly selectionsReceived: Subject<Selection[]>;
|
|
49
50
|
readonly answersReceived: Subject<Answer[]>;
|
|
@@ -93,7 +94,7 @@ export declare class HomedecoratorConnectorService implements OnDestroy {
|
|
|
93
94
|
getImageById(id: number): any;
|
|
94
95
|
beforeLoadPreset(): Promise<void>;
|
|
95
96
|
afterLoadPreset(): Promise<void>;
|
|
96
|
-
initConnection(forceReload?: boolean): Promise<void>;
|
|
97
|
+
initConnection(forceReload?: boolean, standAlone?: boolean): Promise<void>;
|
|
97
98
|
getInternalParameter(param: InternalParam): Promise<string>;
|
|
98
99
|
getJsonConfiguredArticles(goodId: number, goodType: string, quantity: number, externalSource?: boolean, showLoader?: boolean, instanceId?: string, configuratorStatistics?: ConfiguratorStatisticsEnvironment): Promise<any>;
|
|
99
100
|
setInstance(id: string): Promise<DataServiceResponseData>;
|
|
@@ -126,7 +127,7 @@ export declare class HomedecoratorConnectorService implements OnDestroy {
|
|
|
126
127
|
private _isAnswerPublished;
|
|
127
128
|
private _preloadCachedImages;
|
|
128
129
|
addToCart(goodId: number, goodType: string, quantity: number, instanceId: string, externalSource: boolean): Promise<string>;
|
|
129
|
-
handleAnswersReceived(
|
|
130
|
+
handleAnswersReceived(): void;
|
|
130
131
|
private _prepareSelectionsToDisplayImages;
|
|
131
132
|
private _prepareSelectionsNextOptionValues;
|
|
132
133
|
private _getPublicationCode;
|
|
@@ -140,6 +141,9 @@ export declare class HomedecoratorConnectorService implements OnDestroy {
|
|
|
140
141
|
private _loadPricesOfActiveAnswers;
|
|
141
142
|
private _copyInstance;
|
|
142
143
|
private _createSelectorFullConfiguration;
|
|
144
|
+
private _buildStructureThree;
|
|
145
|
+
private _markLastNodeWithChildren;
|
|
146
|
+
private _isStructurePublished;
|
|
143
147
|
static ɵfac: i0.ɵɵFactoryDeclaration<HomedecoratorConnectorService, never>;
|
|
144
148
|
static ɵprov: i0.ɵɵInjectableDeclaration<HomedecoratorConnectorService>;
|
|
145
149
|
}
|
|
@@ -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
|
-
|
|
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;
|
|
@@ -7,7 +7,7 @@ import { RotationService } from '../../plugins/core3d/service/rotation.service';
|
|
|
7
7
|
import { SceneEventService } from '../../plugins/core3d/service/scene-event.service';
|
|
8
8
|
import { SceneService } from '../../plugins/core3d/service/scene.service';
|
|
9
9
|
import { VariationService } from '../../plugins/threedselector/threedselector/service/variation.service';
|
|
10
|
-
import {
|
|
10
|
+
import { SwitchBuildFurnitureService } from '../../plugins/threedselector/threedselector/service/switch-build-furniture.service';
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
12
12
|
export declare enum DevelopObjectState {
|
|
13
13
|
NONE = 0,
|
|
@@ -29,7 +29,7 @@ export declare class DevelopmentService implements OnDestroy {
|
|
|
29
29
|
private _mousePosition;
|
|
30
30
|
private _element;
|
|
31
31
|
private _mousePos;
|
|
32
|
-
constructor(_intersectionService: IntersectionService, _cameraService: CameraService, _rotationService: RotationService, _sceneEventService: SceneEventService, _sceneService: SceneService, _variationService: VariationService, _buildFurnitureService:
|
|
32
|
+
constructor(_intersectionService: IntersectionService, _cameraService: CameraService, _rotationService: RotationService, _sceneEventService: SceneEventService, _sceneService: SceneService, _variationService: VariationService, _buildFurnitureService: SwitchBuildFurnitureService);
|
|
33
33
|
ngOnDestroy(): void;
|
|
34
34
|
init(element: ElementRef): void;
|
|
35
35
|
createResizableRoom(): Promise<Object3D>;
|
|
@@ -10,8 +10,12 @@ import { HomedecoratorService } from './core/service/homedecorator.service';
|
|
|
10
10
|
import { HomedecoratorAppEventService } from './core/service/homedecorator-app-event.service';
|
|
11
11
|
import { FilterOrder } from '@colijnit/catalog/lib/interface/filter-order.interface';
|
|
12
12
|
import { IntegrationService } from './core/service/integration.service';
|
|
13
|
+
import { SceneService } from './plugins/core3d/service/scene.service';
|
|
14
|
+
import { HomedecoratorAppService } from './core/service/homedecorator-app.service';
|
|
15
|
+
import { WebWorkerService } from './core/service/web-worker.service';
|
|
13
16
|
import * as i0 from "@angular/core";
|
|
14
17
|
export declare class HomedecoratorComponent implements OnInit, OnDestroy {
|
|
18
|
+
appService: HomedecoratorAppService;
|
|
15
19
|
controllerService: HomedecoratorConnectorService;
|
|
16
20
|
appState: AppStateService;
|
|
17
21
|
presetsService: PresetsService;
|
|
@@ -23,11 +27,14 @@ export declare class HomedecoratorComponent implements OnInit, OnDestroy {
|
|
|
23
27
|
private _parentEventService;
|
|
24
28
|
private _ownEventService;
|
|
25
29
|
private _integrationService;
|
|
30
|
+
private _sceneService;
|
|
31
|
+
private _webWorkerService;
|
|
26
32
|
generalFilterOrders: FilterOrder[];
|
|
27
33
|
purchaseFilterOrders: FilterOrder[];
|
|
28
34
|
logisticsFilterOrders: FilterOrder[];
|
|
29
35
|
set initCommunication(value: boolean);
|
|
30
36
|
get initCommunication(): boolean;
|
|
37
|
+
projectToLoad: string;
|
|
31
38
|
set settings(value: any);
|
|
32
39
|
get settings(): any;
|
|
33
40
|
showClass: boolean;
|
|
@@ -41,15 +48,18 @@ export declare class HomedecoratorComponent implements OnInit, OnDestroy {
|
|
|
41
48
|
private _initCommunication;
|
|
42
49
|
private _settings;
|
|
43
50
|
private _eventService;
|
|
44
|
-
constructor(
|
|
51
|
+
constructor(appService: HomedecoratorAppService, // don't remove this, needs to be created on a high level
|
|
52
|
+
controllerService: HomedecoratorConnectorService, appState: AppStateService, presetsService: PresetsService, screenAnalysis: ScreenSizeAnalysisService, _iconRegistry: MatIconRegistry, _domSanitizer: DomSanitizer, _messageService: MessageBusService, _homedecoratorService: HomedecoratorService, _parentEventService: HomedecoratorAppEventService, _ownEventService: HomedecoratorAppEventService, _integrationService: IntegrationService, _sceneService: SceneService, _webWorkerService: WebWorkerService);
|
|
45
53
|
ngOnInit(): Promise<void>;
|
|
46
54
|
ngOnDestroy(): void;
|
|
47
55
|
registerCustomIcons(): void;
|
|
48
56
|
keyup(event: KeyboardEvent): void;
|
|
57
|
+
handleExternalSave(): void;
|
|
58
|
+
private _startWithRoom;
|
|
49
59
|
private _startWithEmptyRoom;
|
|
50
60
|
private _startWithPreset;
|
|
51
61
|
private _setCommunication;
|
|
52
62
|
private _initConnection;
|
|
53
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HomedecoratorComponent, [null, null, null, null, null, null, null, null, { optional: true; skipSelf: true; }, { optional: true; self: true; }, null]>;
|
|
54
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HomedecoratorComponent, "co-homedecorator", never, { "generalFilterOrders": "generalFilterOrders"; "purchaseFilterOrders": "purchaseFilterOrders"; "logisticsFilterOrders": "logisticsFilterOrders"; "initCommunication": "initCommunication"; "settings": "settings"; }, {}, never, never>;
|
|
63
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HomedecoratorComponent, [null, null, null, null, null, null, null, null, null, { optional: true; skipSelf: true; }, { optional: true; self: true; }, null, null, null]>;
|
|
64
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HomedecoratorComponent, "co-homedecorator", never, { "generalFilterOrders": "generalFilterOrders"; "purchaseFilterOrders": "purchaseFilterOrders"; "logisticsFilterOrders": "logisticsFilterOrders"; "initCommunication": "initCommunication"; "projectToLoad": "projectToLoad"; "settings": "settings"; }, {}, never, never>;
|
|
55
65
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { Metadata } from '../../../../../items/metadata';
|
|
3
3
|
import { HomedecoratorAppEventService } from '../../../../../../../core/service/homedecorator-app-event.service';
|
|
4
|
-
import { BuildFurnitureService } from '../../../../../../threedselector/threedselector/service/build-furniture.service';
|
|
5
|
-
import { LoadFurnitureService } from '../../../../../../threedselector/threedselector/service/load-furniture.service';
|
|
6
4
|
import { ArService } from '../../../../../service/ar.service';
|
|
5
|
+
import { SwitchBuildFurnitureService } from '../../../../../../threedselector/threedselector/service/switch-build-furniture.service';
|
|
6
|
+
import { SwitchLoadFurnitureService } from '../../../../../../threedselector/threedselector/service/switch-load-furniture.service';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class ArGuiConfiguratorComponent implements OnInit, OnDestroy {
|
|
9
9
|
private _appEventService;
|
|
@@ -14,7 +14,7 @@ export declare class ArGuiConfiguratorComponent implements OnInit, OnDestroy {
|
|
|
14
14
|
showAnswers: boolean;
|
|
15
15
|
metadata: Metadata;
|
|
16
16
|
private _subs;
|
|
17
|
-
constructor(_appEventService: HomedecoratorAppEventService, _buildFurnitureService:
|
|
17
|
+
constructor(_appEventService: HomedecoratorAppEventService, _buildFurnitureService: SwitchBuildFurnitureService, _loadFurnitureService: SwitchLoadFurnitureService, _arService: ArService);
|
|
18
18
|
ngOnInit(): void;
|
|
19
19
|
ngOnDestroy(): void;
|
|
20
20
|
showConfigurator(): boolean;
|
|
@@ -4,11 +4,13 @@ import { Subject } from 'rxjs';
|
|
|
4
4
|
import { ViewModeService } from '../../../core/service/view-mode.service';
|
|
5
5
|
import { MessageBusService } from '../../../core/service/message-bus.service';
|
|
6
6
|
import { ConfigurationService } from '../../../core/service/configuration.service';
|
|
7
|
+
import { HomedecoratorSettingsService } from '../../../core/service/homedecorator-settings.service';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
export declare class CameraService implements OnDestroy {
|
|
9
10
|
private _viewModeService;
|
|
10
11
|
private _messageBusService;
|
|
11
12
|
private _configurationService;
|
|
13
|
+
private _settingsService;
|
|
12
14
|
readonly panSpeed = 30;
|
|
13
15
|
readonly rotateBy: number;
|
|
14
16
|
readonly moveBy = 25;
|
|
@@ -30,7 +32,7 @@ export declare class CameraService implements OnDestroy {
|
|
|
30
32
|
private set viewMode(value);
|
|
31
33
|
get cameraLocked(): boolean;
|
|
32
34
|
set realAspectRatio(value: number);
|
|
33
|
-
constructor(_viewModeService: ViewModeService, _messageBusService: MessageBusService, _configurationService: ConfigurationService);
|
|
35
|
+
constructor(_viewModeService: ViewModeService, _messageBusService: MessageBusService, _configurationService: ConfigurationService, _settingsService: HomedecoratorSettingsService);
|
|
34
36
|
ngOnDestroy(): void;
|
|
35
37
|
init(element: HTMLElement): void;
|
|
36
38
|
cameraLeft(): void;
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
import { Euler, Object3D, Vector3 } from 'three';
|
|
1
|
+
import { Euler, Group, Object3D, Vector3 } from 'three';
|
|
2
2
|
import { SceneService } from './scene.service';
|
|
3
|
+
import { Furniture } from '../items/furniture';
|
|
4
|
+
import { Item } from '../items/item';
|
|
3
5
|
import * as i0 from "@angular/core";
|
|
4
6
|
export declare class ErrorGlowService {
|
|
5
7
|
private _sceneService;
|
|
8
|
+
get errorGlow(): Object3D | Group;
|
|
6
9
|
private _errorGlow;
|
|
7
10
|
private _parent;
|
|
8
11
|
constructor(_sceneService: SceneService);
|
|
@@ -10,7 +13,7 @@ export declare class ErrorGlowService {
|
|
|
10
13
|
private static _cloneItem;
|
|
11
14
|
private static _cloneGroup;
|
|
12
15
|
private static _cloneObject3D;
|
|
13
|
-
showError(item:
|
|
16
|
+
showError(item: Item | Furniture, position?: Vector3, rotation?: Euler, parent?: Object3D): void;
|
|
14
17
|
hideError(): void;
|
|
15
18
|
private _removeErrorGlowObject;
|
|
16
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<ErrorGlowService, never>;
|
|
@@ -10,10 +10,7 @@ import { MessageBusService } from '../../../core/service/message-bus.service';
|
|
|
10
10
|
import { ConfigurationService } from '../../../core/service/configuration.service';
|
|
11
11
|
import { ViewModeService } from '../../../core/service/view-mode.service';
|
|
12
12
|
import { ItemService } from './item.service';
|
|
13
|
-
import { FloorService } from './floor.service';
|
|
14
13
|
import { HomedecoratorDictionaryService } from '../../../core/service/homedecorator-dictionary.service';
|
|
15
|
-
import { PresetsService } from '../../../core/service/presets.service';
|
|
16
|
-
import { DomSanitizer } from '@angular/platform-browser';
|
|
17
14
|
import * as i0 from "@angular/core";
|
|
18
15
|
export declare class HudService implements OnDestroy {
|
|
19
16
|
private _sceneService;
|
|
@@ -24,10 +21,7 @@ export declare class HudService implements OnDestroy {
|
|
|
24
21
|
private _configurationService;
|
|
25
22
|
private _viewModeService;
|
|
26
23
|
private _itemService;
|
|
27
|
-
private _floorService;
|
|
28
|
-
private _presetsService;
|
|
29
24
|
private _dictionaryService;
|
|
30
|
-
private _domSanitizer;
|
|
31
25
|
private _selectedItem;
|
|
32
26
|
private _rotationHelper;
|
|
33
27
|
private _wasRotationHelperShowing;
|
|
@@ -44,7 +38,7 @@ export declare class HudService implements OnDestroy {
|
|
|
44
38
|
private _displayCustomShapeNames;
|
|
45
39
|
private _isAirplaneMode;
|
|
46
40
|
private _subs;
|
|
47
|
-
constructor(_sceneService: SceneService, _cameraService: CameraService, _roomService: RoomService, _fontService: FontService, _messageBusService: MessageBusService, _configurationService: ConfigurationService, _viewModeService: ViewModeService, _itemService: ItemService,
|
|
41
|
+
constructor(_sceneService: SceneService, _cameraService: CameraService, _roomService: RoomService, _fontService: FontService, _messageBusService: MessageBusService, _configurationService: ConfigurationService, _viewModeService: ViewModeService, _itemService: ItemService, _dictionaryService: HomedecoratorDictionaryService);
|
|
48
42
|
ngOnDestroy(): void;
|
|
49
43
|
unselectItem(): void;
|
|
50
44
|
get rotationHelper(): RotationHelper;
|
|
@@ -35,6 +35,7 @@ export declare class RotationService implements OnDestroy {
|
|
|
35
35
|
private _moveFactor;
|
|
36
36
|
constructor(_outlineService: OutlineService, _collisionManagerService: CollisionManagerService, _itemService: ItemService, _configService: ConfigurationService, _appService: HomedecoratorAppService, _sceneService: SceneService, _errorGlowService: ErrorGlowService, _settingsService: HomedecoratorSettingsService);
|
|
37
37
|
ngOnDestroy(): void;
|
|
38
|
+
clearRotationError(item: FloorItem, from: Vector3, to: Vector3, ccw?: boolean): void;
|
|
38
39
|
rotate(item: FloorItem, from: Vector3, to: Vector3, ccw?: boolean): Vector3;
|
|
39
40
|
enableRotationFor(item: Item): void;
|
|
40
41
|
private _handleMouseDown;
|
|
@@ -54,6 +54,7 @@ export declare class SceneService implements OnDestroy {
|
|
|
54
54
|
getScene(): Scene;
|
|
55
55
|
set arMode(value: boolean);
|
|
56
56
|
get arMode(): boolean;
|
|
57
|
+
takeScreenshot(): string;
|
|
57
58
|
init(element: HTMLElement): Promise<void>;
|
|
58
59
|
addObject(obj: Object3D, forceRender?: boolean): void;
|
|
59
60
|
removeObject(obj: Object3D, forceRender?: boolean, cleanUp?: boolean): void;
|
package/app/plugins/lite-selector/lite-selector/component/answer-card/answer-card.component.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export declare class AnswerCardComponent implements OnDestroy, AfterViewInit, On
|
|
|
8
8
|
settingsService: HomedecoratorSettingsService;
|
|
9
9
|
private _elementRef;
|
|
10
10
|
private _iOneService;
|
|
11
|
+
get activeInfoClass(): boolean;
|
|
11
12
|
model: Answer | any;
|
|
12
13
|
valutaSymbol: string;
|
|
13
14
|
set showing(value: boolean);
|
|
@@ -16,12 +17,20 @@ export declare class AnswerCardComponent implements OnDestroy, AfterViewInit, On
|
|
|
16
17
|
freeInput: string;
|
|
17
18
|
readonly freeInputChange: EventEmitter<string>;
|
|
18
19
|
readonly inqNumberChange: EventEmitter<string>;
|
|
19
|
-
readonly infoClick: EventEmitter<void>;
|
|
20
20
|
readonly select: EventEmitter<string>;
|
|
21
21
|
readonly selectWithInq: EventEmitter<string>;
|
|
22
22
|
readonly magnifierClick: EventEmitter<Answer>;
|
|
23
|
+
readonly answerInfoToggle: EventEmitter<{
|
|
24
|
+
open: boolean;
|
|
25
|
+
id: string;
|
|
26
|
+
}>;
|
|
27
|
+
dialogPosition: {
|
|
28
|
+
top: number;
|
|
29
|
+
right: number;
|
|
30
|
+
} | null;
|
|
23
31
|
inqNumberModel: string;
|
|
24
32
|
inqNumberError: boolean;
|
|
33
|
+
showAnswerInfo: boolean;
|
|
25
34
|
private _waitForInput;
|
|
26
35
|
private _waitForInqValue;
|
|
27
36
|
private _retrievingInfo;
|
|
@@ -34,7 +43,8 @@ export declare class AnswerCardComponent implements OnDestroy, AfterViewInit, On
|
|
|
34
43
|
ngAfterViewInit(): void;
|
|
35
44
|
onContentClick(): void;
|
|
36
45
|
handleClick(event: MouseEvent): void;
|
|
37
|
-
onInfoButtonClick(): void;
|
|
46
|
+
onInfoButtonClick(event: MouseEvent): void;
|
|
47
|
+
closeInfo(silent?: boolean): void;
|
|
38
48
|
handleFocusFreeInput(event: MouseEvent): void;
|
|
39
49
|
handleBlurFreeInput(event: MouseEvent): void;
|
|
40
50
|
handleKeyDownFreeInput(event: KeyboardEvent): void;
|
|
@@ -48,5 +58,5 @@ export declare class AnswerCardComponent implements OnDestroy, AfterViewInit, On
|
|
|
48
58
|
private _checkVisibility;
|
|
49
59
|
private _getThumbnailImage;
|
|
50
60
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnswerCardComponent, never>;
|
|
51
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AnswerCardComponent, "rp-answer-card", never, { "model": "model"; "valutaSymbol": "valutaSymbol"; "showing": "showing"; "isSelected": "isSelected"; "isSmallModus": "isSmallModus"; "freeInput": "freeInput"; }, { "freeInputChange": "freeInputChange"; "inqNumberChange": "inqNumberChange"; "
|
|
61
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AnswerCardComponent, "rp-answer-card", never, { "model": "model"; "valutaSymbol": "valutaSymbol"; "showing": "showing"; "isSelected": "isSelected"; "isSmallModus": "isSmallModus"; "freeInput": "freeInput"; }, { "freeInputChange": "freeInputChange"; "inqNumberChange": "inqNumberChange"; "select": "select"; "selectWithInq": "selectWithInq"; "magnifierClick": "magnifierClick"; "answerInfoToggle": "answerInfoToggle"; }, never, never>;
|
|
52
62
|
}
|
package/app/plugins/lite-selector/lite-selector/component/answer-card/answer-card.component.scss
CHANGED
|
@@ -6,6 +6,19 @@
|
|
|
6
6
|
&.small-mode {
|
|
7
7
|
width: 18%;
|
|
8
8
|
}
|
|
9
|
+
&.active-info {
|
|
10
|
+
::ng-deep co-card {
|
|
11
|
+
.co-card-wrapper {
|
|
12
|
+
.info {
|
|
13
|
+
border: 2px solid #ffffff !important;
|
|
14
|
+
background-color: #4a4a49 !important;
|
|
15
|
+
svg [fill] {
|
|
16
|
+
fill: #FFF !important;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
9
22
|
}
|
|
10
23
|
|
|
11
24
|
.free-answer {
|
|
@@ -39,6 +52,39 @@
|
|
|
39
52
|
height: 20px;
|
|
40
53
|
}
|
|
41
54
|
}
|
|
55
|
+
.info {
|
|
56
|
+
position: absolute;
|
|
57
|
+
bottom: -12px !important;
|
|
58
|
+
right: -10px !important;
|
|
59
|
+
box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.5);
|
|
60
|
+
justify-content: center;
|
|
61
|
+
align-items: center;
|
|
62
|
+
background-color: #ffffffad !important;
|
|
63
|
+
border: 2px solid #4a4a49 !important;
|
|
64
|
+
width: 28px;
|
|
65
|
+
height: 28px;
|
|
66
|
+
z-index: 2;
|
|
67
|
+
co-icon {
|
|
68
|
+
width: 28px;
|
|
69
|
+
height: 28px;
|
|
70
|
+
left: 0 !important;
|
|
71
|
+
svg [fill] {
|
|
72
|
+
fill: #4a4a49 !important;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
&:hover {
|
|
76
|
+
border: 2px solid #ffffff !important;
|
|
77
|
+
background-color: #4a4a49 !important;
|
|
78
|
+
co-icon {
|
|
79
|
+
svg [fill] {
|
|
80
|
+
fill: #FFF !important;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
.description-wrapper {
|
|
86
|
+
position: relative;
|
|
87
|
+
}
|
|
42
88
|
}
|
|
43
89
|
co-input-text {
|
|
44
90
|
width: calc(100% - 25px) !important;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { Answer } from '@colijnit/configuratorapi/build/model/answer';
|
|
3
|
+
import { HomedecoratorConnectorAdapterService } from '../../../../../core/service/homedecorator-connector-adapter.service';
|
|
4
|
+
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class AnswersInfoDialogComponent implements OnInit {
|
|
7
|
+
private _connector;
|
|
8
|
+
private _sanitizer;
|
|
9
|
+
answer: Answer;
|
|
10
|
+
fixedPosition: {
|
|
11
|
+
top: number;
|
|
12
|
+
right: number;
|
|
13
|
+
} | null;
|
|
14
|
+
answerText: string;
|
|
15
|
+
answerImage: string;
|
|
16
|
+
answerHtml: SafeHtml;
|
|
17
|
+
textLoading: boolean;
|
|
18
|
+
textError: string;
|
|
19
|
+
showTooltip: boolean;
|
|
20
|
+
showPopup: boolean;
|
|
21
|
+
hasEmbed: boolean;
|
|
22
|
+
constructor(_connector: HomedecoratorConnectorAdapterService, _sanitizer: DomSanitizer);
|
|
23
|
+
ngOnInit(): Promise<void>;
|
|
24
|
+
private _formatAnswerInfo;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AnswersInfoDialogComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AnswersInfoDialogComponent, "rp-answer-info-dialog", never, { "answer": "answer"; "fixedPosition": "fixedPosition"; }, {}, never, never>;
|
|
27
|
+
}
|