@roomle/embedding-lib 5.25.0-alpha.3 → 5.25.0-alpha.5
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/docs/md/web/embedding/CHANGELOG.md +10 -2
- package/drag-in-DTA1FCDc.mjs +1 -0
- package/drag-in-DuufO5eB.mjs +138 -0
- package/from-custom-view-BdnViEhf.mjs +163 -0
- package/from-custom-view-DIYHP31u.mjs +1 -0
- package/from-website-CcDHgCCy.mjs +1 -0
- package/from-website-CktA6Icy.mjs +201 -0
- package/package.json +1 -1
- package/packages/web-sdk/packages/common-core/src/static-files/environment-maps.d.ts +6 -4
- package/packages/web-sdk/packages/common-core/src/static-files/libs.d.ts +3 -1
- package/packages/web-sdk/packages/common-core/src/static-files/light-settings.d.ts +8 -6
- package/packages/web-sdk/packages/common-core/src/static-files/luts.d.ts +11 -9
- package/packages/web-sdk/packages/common-core/src/static-files/roomle-core.d.ts +8 -6
- package/packages/web-sdk/packages/common-core/src/webgl/renderer/pass/gbuffer-render-pass.d.ts +1 -1
- package/packages/web-sdk/packages/configurator-core/src/roomle-configurator.d.ts +13 -0
- package/packages/web-sdk/packages/configurator-core/src/static-files/fonts.d.ts +4 -2
- package/packages/web-sdk/packages/configurator-core/src/static-files/geometries.d.ts +3 -1
- package/packages/web-sdk/packages/configurator-core/src/static-files/settings.d.ts +3 -1
- package/packages/web-sdk/packages/configurator-core/src/static-files/textures.d.ts +3 -1
- package/packages/web-sdk/packages/configurator-core/src/utils/animation/animation-value-map.d.ts +1 -0
- package/packages/web-sdk/packages/configurator-core/src/utils/component-dimensioning-helper.d.ts +3 -3
- package/packages/web-sdk/packages/configurator-core/src/utils/dimensioning-helper.d.ts +1 -0
- package/packages/web-sdk/packages/configurator-core/src/webgl/configurator-scene-manager.d.ts +4 -0
- package/packages/web-sdk/packages/workers/src/static-files/workers.d.ts +4 -2
- package/roomle-embedding-lib.es.js +306 -316
- package/roomle-embedding-lib.es.min.js +1 -1
- package/roomle-embedding-lib.umd.js +17 -17
- package/roomle-embedding-lib.umd.min.js +1 -1
- package/touch-drag-B5zCf87J.mjs +1 -0
- package/touch-drag-DXJTOrk5.mjs +146 -0
- package/drag-in-CqBNfbIX.mjs +0 -142
- package/drag-in-ltdVSMsI.mjs +0 -1
- package/from-custom-view-Bg3_d6Sp.mjs +0 -1
- package/from-custom-view-V503ai3X.mjs +0 -167
- package/from-website-BAX9bdN9.mjs +0 -210
- package/from-website-DsBWpkdv.mjs +0 -1
- package/packages/web-sdk/packages/vite-plugins/vite-plugin-auto-workers.d.ts +0 -8
- package/packages/web-sdk/packages/vite-plugins/vite-plugin-bundle-sw.d.ts +0 -10
- package/touch-drag-BEct6jbW.mjs +0 -1
- package/touch-drag-DNDPwZ-_.mjs +0 -149
|
@@ -244,6 +244,19 @@ export default class RoomleConfigurator<P extends readonly PluginName[] = readon
|
|
|
244
244
|
* @param value the value we want to set on the parameter as string
|
|
245
245
|
*/
|
|
246
246
|
setParameterOfPlanObject(parameter: KernelParameter, value: string): Promise<void>;
|
|
247
|
+
/**
|
|
248
|
+
* Sets an animation value of the selected component. If nothing is selected the values of the
|
|
249
|
+
* animations of the plan object are set
|
|
250
|
+
* @param key key of the animation as string
|
|
251
|
+
* @param value the value we want to set on the animation as string
|
|
252
|
+
*/
|
|
253
|
+
setAnimationValue(key: string, value: string): Promise<void>;
|
|
254
|
+
/**
|
|
255
|
+
* Method to set an animation value on the plan object.
|
|
256
|
+
* @param key key of the animation as string
|
|
257
|
+
* @param value the value we want to set on the animation as string
|
|
258
|
+
*/
|
|
259
|
+
setAnimationValueOfPlanObject(key: string, value: string): Promise<void>;
|
|
247
260
|
/**
|
|
248
261
|
* Returns all parameters which correspond to the plan object. This is also exposed for embedding
|
|
249
262
|
*/
|
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { default as LATO_SUB_FILE_NAME } from '../../public/fonts/lato_regular_sub.json?no-inline?url';
|
|
2
|
+
import { default as LATO_FILE_NAME } from '../../public/fonts/lato_regular.json?no-inline?url';
|
|
3
|
+
|
|
4
|
+
export { LATO_SUB_FILE_NAME, LATO_FILE_NAME };
|
|
@@ -1 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import { default as DEFAULT_EXTERNAL_OBJECT_API_CONFIGURATION } from '../../public/settings/default-external-object-api-configuration.json?no-inline?url';
|
|
2
|
+
|
|
3
|
+
export { DEFAULT_EXTERNAL_OBJECT_API_CONFIGURATION };
|
package/packages/web-sdk/packages/configurator-core/src/utils/animation/animation-value-map.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { KernelParameter } from '../../../../typings/kernel';
|
|
2
2
|
|
|
3
|
+
export declare const ANIMATION_PARAMETER_PREFIX = "animation:";
|
|
3
4
|
export declare class AnimationValueMap {
|
|
4
5
|
private valueMap;
|
|
5
6
|
static filterAnimationParameters(parameters: KernelParameter[]): KernelParameter[];
|
package/packages/web-sdk/packages/configurator-core/src/utils/component-dimensioning-helper.d.ts
CHANGED
|
@@ -11,13 +11,13 @@ export default class ComponentDimensioningHelper implements Context {
|
|
|
11
11
|
private _componentDimensioningsExist;
|
|
12
12
|
constructor(creator: string);
|
|
13
13
|
setCamera(camera: PerspectiveCamera): void;
|
|
14
|
-
add(component: RoomleComponent): boolean;
|
|
14
|
+
add(component: RoomleComponent, updateRenderer?: () => void): boolean;
|
|
15
15
|
private _assembleDimensionings;
|
|
16
16
|
private _findAxis;
|
|
17
17
|
private _mapDimensioningToAxis;
|
|
18
|
-
private
|
|
19
|
-
private _transformDimensioningScale;
|
|
18
|
+
private _transformObjectDimensioningAxis;
|
|
20
19
|
private _transformPosition;
|
|
20
|
+
private _transformDirectionVector;
|
|
21
21
|
remove(component: RoomleComponent, remove?: boolean): Promise<void>;
|
|
22
22
|
hasComponentDimensions(): boolean;
|
|
23
23
|
reset(): Promise<void>;
|
package/packages/web-sdk/packages/configurator-core/src/webgl/configurator-scene-manager.d.ts
CHANGED
|
@@ -39,6 +39,8 @@ export default class ConfiguratorSceneManager extends SceneManager implements Co
|
|
|
39
39
|
private _dimensionHelper;
|
|
40
40
|
private _uiIntersectionHelper;
|
|
41
41
|
private _sceneEventHandler;
|
|
42
|
+
private _currentComponent;
|
|
43
|
+
private _isComponentDimensionsVisible;
|
|
42
44
|
constructor(creator: string, offset: CanvasOffset, mode: Enumify<typeof CAMERA_TYPE>);
|
|
43
45
|
private _initOptionalModules;
|
|
44
46
|
protected _changeCameraBehaviour(cameraBehaviour: CameraBehaviour): void;
|
|
@@ -158,4 +160,6 @@ export default class ConfiguratorSceneManager extends SceneManager implements Co
|
|
|
158
160
|
redo(): Promise<void>;
|
|
159
161
|
clearHistory(): void;
|
|
160
162
|
private _callOnPartListUpdate;
|
|
163
|
+
private _showCustomComponentDimensions;
|
|
164
|
+
private _removeCustomComponentDimensions;
|
|
161
165
|
}
|
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { default as BUDGETEER_FILE_NAME } from '../../generated/budgeteer.sw.js?no-inline?url';
|
|
2
|
+
import { default as ASSET_LOADER_FILE_NAME } from '../../generated/asset-loader.worker.js?no-inline?url';
|
|
3
|
+
|
|
4
|
+
export { BUDGETEER_FILE_NAME, ASSET_LOADER_FILE_NAME };
|