@colijnit/homedecorator 258.1.0 → 258.1.1
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 +3 -0
- package/app/core/model/homedecorator-settings-options.d.ts +3 -0
- package/app/core/model/homedecorator-settings.d.ts +1 -2
- package/app/core/service/3dm-api.d.ts +3 -0
- package/app/plugins/lite-selector/lite-selector/component/answers-slideout/answers-slideout.component.scss +20 -0
- package/app/plugins/model-uploader/model-uploader.module.d.ts +2 -1
- package/app/plugins/render/service/new-render.service.d.ts +1 -1
- package/app/plugins/render/service/render.service.d.ts +1 -1
- package/app/plugins/threedselector/element-buttons/element-buttons.component.scss +8 -5
- package/app/plugins/threedselector/element-toolbar/element-toolbar.component.scss +20 -3
- package/app/plugins/threedselector/threedselector/threedselector.component.d.ts +2 -0
- package/app/plugins/threedselector/threedselector/threedselector.component.scss +18 -0
- package/app/shared/loader/bundle-loader.component.scss +60 -0
- package/app/shared/loader/loader.component.d.ts +6 -0
- package/app/shared/loader/loader.module.d.ts +8 -0
- package/assets/hdri/ground_MASK.jpg +0 -0
- package/assets/hdri/std_env_v2_A.hdr +0 -0
- package/assets/hdri/std_env_v2_B.hdr +0 -0
- package/assets/hdri/std_env_v2_C.hdr +0 -0
- package/assets/hdri/std_env_v2_D.hdr +0 -0
- package/assets/hdri/std_env_v2_E.hdr +46 -0
- package/assets/icons/add_light.svg +1 -0
- package/assets/icons/plus_regular.svg +1 -0
- package/assets/icons/rotate_light.svg +1 -0
- package/bundles/colijnit-homedecorator.umd.js +254 -102
- package/bundles/colijnit-homedecorator.umd.js.map +1 -1
- package/esm2015/app/app.version.js +3 -3
- package/esm2015/app/core/enum/icon.enum.js +4 -1
- package/esm2015/app/core/model/homedecorator-settings-options.js +5 -2
- package/esm2015/app/core/model/homedecorator-settings.js +2 -2
- package/esm2015/app/core/model/icon.js +4 -1
- package/esm2015/app/core/service/3dm-api.js +40 -3
- package/esm2015/app/core/service/homedecorator-settings.service.js +3 -3
- package/esm2015/app/core/service/utils.service.js +49 -27
- package/esm2015/app/plugins/core3d/service/ssr.service.js +3 -3
- package/esm2015/app/plugins/lite-selector/lite-selector/component/answers-slideout/answers-slideout.component.js +2 -2
- package/esm2015/app/plugins/model-uploader/model-previewer/model-preview.component.js +16 -6
- package/esm2015/app/plugins/model-uploader/model-uploader.module.js +8 -4
- package/esm2015/app/plugins/product-catalog/product-catalog/product-catalog.component.js +4 -2
- package/esm2015/app/plugins/render/render-controls/render-controls.component.js +374 -371
- package/esm2015/app/plugins/render/render-dialog/render-dialog.component.js +2 -2
- package/esm2015/app/plugins/render/service/new-render.service.js +31 -40
- package/esm2015/app/plugins/render/service/render.service.js +2 -2
- package/esm2015/app/plugins/threedselector/element-buttons/element-buttons.component.js +2 -2
- package/esm2015/app/plugins/threedselector/element-toolbar/element-toolbar.component.js +2 -2
- package/esm2015/app/plugins/threedselector/threedselector/service/variation-cache.service.js +4 -1
- package/esm2015/app/plugins/threedselector/threedselector/threedselector.component.js +6 -2
- package/esm2015/app/shared/loader/loader.component.js +23 -0
- package/esm2015/app/shared/loader/loader.module.js +29 -0
- package/fesm2015/colijnit-homedecorator.js +593 -463
- package/fesm2015/colijnit-homedecorator.js.map +1 -1
- package/package.json +3 -3
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/** AUTO GENERATED FILE. DO NOT CHANGE.. **/
|
|
2
2
|
export declare enum IconEnum {
|
|
3
3
|
AddButton = "add-button",
|
|
4
|
+
AddLight = "add_light",
|
|
4
5
|
Aperture = "aperture",
|
|
5
6
|
ArrowUpRightAndArrowDownLeftFromCenter = "arrow-up-right-and-arrow-down-left-from-center",
|
|
6
7
|
ArrowsLeftRight = "arrows-left-right",
|
|
@@ -73,8 +74,10 @@ export declare enum IconEnum {
|
|
|
73
74
|
PaintRollerLight = "paint_roller_light",
|
|
74
75
|
PenRuler = "pen-ruler",
|
|
75
76
|
PencilLight = "pencil_light",
|
|
77
|
+
PlusRegular = "plus_regular",
|
|
76
78
|
Qrcode = "qrcode",
|
|
77
79
|
RetryButton = "retry-button",
|
|
80
|
+
RotateLight = "rotate_light",
|
|
78
81
|
Settings = "settings",
|
|
79
82
|
StreetViewOrange = "street-view-orange",
|
|
80
83
|
StreetView = "street_view",
|
|
@@ -33,7 +33,6 @@ export declare class HomedecoratorSettings {
|
|
|
33
33
|
options: HomedecoratorSettingsOptions;
|
|
34
34
|
catalogParameters: GetArticlesForCatalogRequest;
|
|
35
35
|
renderParameters: RenderParameters;
|
|
36
|
-
newRenderParameters: RenderParameters;
|
|
37
36
|
arParameters: ArParameters;
|
|
38
37
|
faqUrl: string;
|
|
39
38
|
feedbackUrl: string;
|
|
@@ -43,7 +42,7 @@ export declare class HomedecoratorSettings {
|
|
|
43
42
|
sceneBackground: string;
|
|
44
43
|
sceneBackgroundColor: string;
|
|
45
44
|
standaloneSceneBackgroundColor: string;
|
|
46
|
-
|
|
45
|
+
blendFilesRender: boolean;
|
|
47
46
|
renderApiClientId: string;
|
|
48
47
|
uploadEndpoint: string;
|
|
49
48
|
renderEndpoint: string;
|
|
@@ -75,6 +75,9 @@ export declare class ApiServiceModule {
|
|
|
75
75
|
constructor(iOneControllerService: HomedecoratorConnectorService, messageService: MessageBusService, _http: HttpClient, _settingsService: HomedecoratorSettingsService, _dialog: MatDialog, _configurationService: ConfigurationService);
|
|
76
76
|
uploadToApiGLB(formData: FormData, filename: string, camera: PerspectiveCamera, standalone: boolean, renderParameters: any, renderPreview: boolean): Promise<void>;
|
|
77
77
|
requestRender(filename: string, camera: PerspectiveCamera, standalone: boolean, renderParameters: any, renderPreview: boolean): Promise<any>;
|
|
78
|
+
getCameraProperties(camera: PerspectiveCamera): any;
|
|
79
|
+
getRenderFromJson(requestData: any): Promise<void>;
|
|
80
|
+
private _sendJsonRequest;
|
|
78
81
|
private _sendRequest;
|
|
79
82
|
private _setOptions;
|
|
80
83
|
private _createRenderRequestBody;
|
|
@@ -4,6 +4,26 @@ co-slideout {
|
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
:host {
|
|
7
|
+
&.custom-dimensions {
|
|
8
|
+
co-slideout {
|
|
9
|
+
width: 640px;
|
|
10
|
+
max-width: 100%;
|
|
11
|
+
height: 100%;
|
|
12
|
+
padding: 30px;
|
|
13
|
+
box-sizing: border-box;
|
|
14
|
+
h4 {
|
|
15
|
+
margin: 10px 0;
|
|
16
|
+
}
|
|
17
|
+
.title {
|
|
18
|
+
.options-search {
|
|
19
|
+
margin: 0 0 10px 0;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
.filter {
|
|
23
|
+
margin: 0 0 15px 0;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
7
27
|
&.bottom-align:not(.custom-dimensions) {
|
|
8
28
|
co-slideout {
|
|
9
29
|
width: 100%;
|
|
@@ -14,8 +14,9 @@ import * as i12 from "@angular/material/form-field";
|
|
|
14
14
|
import * as i13 from "@angular/material/core";
|
|
15
15
|
import * as i14 from "@angular/material/select";
|
|
16
16
|
import * as i15 from "@angular/forms";
|
|
17
|
+
import * as i16 from "../../shared/loader/loader.module";
|
|
17
18
|
export declare class ModelUploaderModule {
|
|
18
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<ModelUploaderModule, never>;
|
|
19
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ModelUploaderModule, [typeof i1.ModelUploaderComponent, typeof i2.ModelPreviewComponent], [typeof i3.CommonModule, typeof i4.CoreModule, typeof i5.MatIconModule, typeof i6.MatButtonModule, typeof i7.ButtonModule, typeof i8.ImageModule, typeof i9.CatalogExternalSourcesModule, typeof i9.CatalogExternalSourceModule, typeof i10.MatRadioModule, typeof i11.MatSlideToggleModule, typeof i12.MatFormFieldModule, typeof i13.MatOptionModule, typeof i14.MatSelectModule, typeof i7.IconModule, typeof i15.FormsModule], [typeof i1.ModelUploaderComponent]>;
|
|
20
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ModelUploaderModule, [typeof i1.ModelUploaderComponent, typeof i2.ModelPreviewComponent], [typeof i3.CommonModule, typeof i4.CoreModule, typeof i5.MatIconModule, typeof i6.MatButtonModule, typeof i7.ButtonModule, typeof i8.ImageModule, typeof i9.CatalogExternalSourcesModule, typeof i9.CatalogExternalSourceModule, typeof i10.MatRadioModule, typeof i11.MatSlideToggleModule, typeof i12.MatFormFieldModule, typeof i13.MatOptionModule, typeof i14.MatSelectModule, typeof i7.IconModule, typeof i15.FormsModule, typeof i16.LoaderModule], [typeof i1.ModelUploaderComponent]>;
|
|
20
21
|
static ɵinj: i0.ɵɵInjectorDeclaration<ModelUploaderModule>;
|
|
21
22
|
}
|
|
@@ -51,12 +51,12 @@ export declare class NewRenderService implements OnDestroy {
|
|
|
51
51
|
renderRoom(size: any): Promise<void>;
|
|
52
52
|
private _exportToGlb;
|
|
53
53
|
private _getNewRenderImage;
|
|
54
|
-
private _handleAjaxBlenderRender;
|
|
55
54
|
private _handleAjaxRender;
|
|
56
55
|
private _handleWebSocketRender;
|
|
57
56
|
private _handleWebSocketRoomRender;
|
|
58
57
|
private _showPreviewImage;
|
|
59
58
|
private _getDataForRender;
|
|
59
|
+
private _getSceneRenderSettings;
|
|
60
60
|
private _getDataForRoomRender;
|
|
61
61
|
private _arrayBufferToBase64;
|
|
62
62
|
static ɵfac: i0.ɵɵFactoryDeclaration<NewRenderService, never>;
|
|
@@ -58,7 +58,7 @@ export declare class RenderService implements OnDestroy {
|
|
|
58
58
|
selectedImageSize: number;
|
|
59
59
|
selectedEnvironment: number;
|
|
60
60
|
selectedRenderScene: string;
|
|
61
|
-
|
|
61
|
+
blendFilesRender: boolean;
|
|
62
62
|
positions: number;
|
|
63
63
|
save: boolean;
|
|
64
64
|
renderRoomImageChanged: BehaviorSubject<string>;
|
|
@@ -25,14 +25,17 @@
|
|
|
25
25
|
min-width: 30px;
|
|
26
26
|
height: 35px;
|
|
27
27
|
width: 35px;
|
|
28
|
-
max-height:
|
|
29
|
-
max-width:
|
|
30
|
-
background: #
|
|
28
|
+
max-height: 30px;
|
|
29
|
+
max-width: 30px;
|
|
30
|
+
background: #17253391;
|
|
31
31
|
transform: translate(-15px, -15px);
|
|
32
32
|
box-shadow: 0 0 0 5px rgb(0 0 0 / 7%);
|
|
33
33
|
::ng-deep co-icon {
|
|
34
|
-
width:
|
|
35
|
-
height:
|
|
34
|
+
width: 16px;
|
|
35
|
+
height: 16px;
|
|
36
|
+
svg {
|
|
37
|
+
fill: #FFF;
|
|
38
|
+
}
|
|
36
39
|
}
|
|
37
40
|
}
|
|
38
41
|
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
|
|
28
28
|
::ng-deep co-icon {
|
|
29
29
|
margin-right: 7px;
|
|
30
|
-
border:
|
|
31
|
-
width:
|
|
32
|
-
height:
|
|
30
|
+
border: none;
|
|
31
|
+
width: 16px;
|
|
32
|
+
height: 16px;
|
|
33
33
|
border-radius: 10px;
|
|
34
34
|
|
|
35
35
|
svg g {
|
|
@@ -76,6 +76,7 @@
|
|
|
76
76
|
.toolbar-wrapper {
|
|
77
77
|
display: flex;
|
|
78
78
|
align-items: center;
|
|
79
|
+
gap: 2px;
|
|
79
80
|
}
|
|
80
81
|
.toolbar-wrapper button:not(:last-child) {
|
|
81
82
|
margin-right: 5px;
|
|
@@ -88,6 +89,22 @@
|
|
|
88
89
|
align-items: center;
|
|
89
90
|
justify-content: center;
|
|
90
91
|
}
|
|
92
|
+
:host ::ng-deep .mat-flat-button.mat-accent,
|
|
93
|
+
:host ::ng-deep .mat-raised-button.mat-accent,
|
|
94
|
+
:host ::ng-deep .mat-fab.mat-accent,
|
|
95
|
+
:host ::ng-deep .mat-mini-fab.mat-accent {
|
|
96
|
+
background-color: #17253391;
|
|
97
|
+
width: 36px;
|
|
98
|
+
height: 36px;
|
|
99
|
+
border-radius: 4px;
|
|
100
|
+
co-icon {
|
|
101
|
+
width: 16px;
|
|
102
|
+
height: 16px;
|
|
103
|
+
svg {
|
|
104
|
+
fill: #FFF;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
91
108
|
|
|
92
109
|
:host ::ng-deep .mat.mat-mini-fab {
|
|
93
110
|
margin-right: 200px;
|
|
@@ -115,6 +115,8 @@ export declare class ThreedselectorComponent implements OnInit, OnDestroy {
|
|
|
115
115
|
loaderProgress: number;
|
|
116
116
|
loaderText: string;
|
|
117
117
|
showLoader: boolean;
|
|
118
|
+
showProgressBar: boolean;
|
|
119
|
+
showProgressText: boolean;
|
|
118
120
|
private _selectedElementObject;
|
|
119
121
|
private _skuAlreadySet;
|
|
120
122
|
private _itemsFromScratch;
|
|
@@ -95,6 +95,24 @@
|
|
|
95
95
|
z-index: 1000;
|
|
96
96
|
box-sizing: border-box;
|
|
97
97
|
padding: 15px;
|
|
98
|
+
&.full {
|
|
99
|
+
width: 100%;
|
|
100
|
+
top: 0;
|
|
101
|
+
left: 0;
|
|
102
|
+
margin-left: 0;
|
|
103
|
+
border-radius: 0;
|
|
104
|
+
transform: none;
|
|
105
|
+
z-index: auto;
|
|
106
|
+
padding: 0;
|
|
107
|
+
position: absolute;
|
|
108
|
+
#progress-bar {
|
|
109
|
+
width: 100%;
|
|
110
|
+
height: 5px;
|
|
111
|
+
border: none;
|
|
112
|
+
margin-top: 0;
|
|
113
|
+
border-radius: 0;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
98
116
|
}
|
|
99
117
|
|
|
100
118
|
#loader-text {
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
position: fixed;
|
|
3
|
+
width: 100%;
|
|
4
|
+
height: 100%;
|
|
5
|
+
top: 0;
|
|
6
|
+
left: 0;
|
|
7
|
+
background: rgba(0, 0, 0, 0.1);
|
|
8
|
+
opacity: 0;
|
|
9
|
+
pointer-events: none;
|
|
10
|
+
transition: opacity 0.3s ease;
|
|
11
|
+
&.show {
|
|
12
|
+
opacity: 1;
|
|
13
|
+
pointer-events: all;
|
|
14
|
+
transition: opacity 0.3s ease;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.organic-loader {
|
|
18
|
+
width: 80px;
|
|
19
|
+
height: 80px;
|
|
20
|
+
z-index: 1100;
|
|
21
|
+
align-items: center;
|
|
22
|
+
justify-content: center;
|
|
23
|
+
position: fixed;
|
|
24
|
+
left: 50%;
|
|
25
|
+
top: 50%;
|
|
26
|
+
transform: translate(-50%, -50%);
|
|
27
|
+
svg {
|
|
28
|
+
width: 100%;
|
|
29
|
+
height: 100%;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
.inner-circle {
|
|
33
|
+
transform-origin: 100px 100px;
|
|
34
|
+
animation: spin 2s linear infinite;
|
|
35
|
+
stroke: rgb(150, 80, 160);
|
|
36
|
+
stroke-width: 10px;
|
|
37
|
+
stroke-dasharray: 500px;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
@keyframes spin {
|
|
41
|
+
0% { transform: rotate(0deg); }
|
|
42
|
+
100% { transform: rotate(360deg); }
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/* Blinking letters from left to right */
|
|
46
|
+
#letter1, #letter2, #letter3, #letter4 {
|
|
47
|
+
opacity: 0;
|
|
48
|
+
animation: blink 1.6s infinite;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
#letter1 { animation-delay: 0s; }
|
|
52
|
+
#letter2 { animation-delay: 0.3s; }
|
|
53
|
+
#letter3 { animation-delay: 0.6s; }
|
|
54
|
+
#letter4 { animation-delay: 0.9s; }
|
|
55
|
+
|
|
56
|
+
@keyframes blink {
|
|
57
|
+
0%, 100% { opacity: 0; }
|
|
58
|
+
50% { opacity: 1; }
|
|
59
|
+
}
|
|
60
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class LoaderComponent {
|
|
3
|
+
show: boolean;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoaderComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoaderComponent, "rp-loader", never, { "show": "show"; }, {}, never, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./loader.component";
|
|
3
|
+
import * as i2 from "../../core/core.module";
|
|
4
|
+
export declare class LoaderModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoaderModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<LoaderModule, [typeof i1.LoaderComponent], [typeof i2.CoreModule], [typeof i1.LoaderComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<LoaderModule>;
|
|
8
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|