shop-components 0.1.5 → 0.1.7
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/dist/device-viewer/outerline.d.ts +4 -0
- package/dist/device-viewer/slot.d.ts +2 -4
- package/dist/shop-components.mjs +1219 -1230
- package/dist/shop-components.umd.js +81 -81
- package/package.json +1 -1
|
@@ -6,11 +6,15 @@ export declare class Outerline extends Object3D {
|
|
|
6
6
|
private _line;
|
|
7
7
|
private _box;
|
|
8
8
|
constructor(radius: number, height: number);
|
|
9
|
+
hide(): void;
|
|
10
|
+
show(): void;
|
|
9
11
|
update(radius: number): void;
|
|
10
12
|
change(pos: Vector3): void;
|
|
11
13
|
}
|
|
12
14
|
export declare class RadiusText extends CSS2DObject {
|
|
13
15
|
private _wrapper;
|
|
14
16
|
constructor(radius: string);
|
|
17
|
+
show(): void;
|
|
18
|
+
hide(): void;
|
|
15
19
|
update(radius: string): void;
|
|
16
20
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Object3D } from 'three';
|
|
2
2
|
import { CSS2DObject } from 'three/examples/jsm/renderers/CSS2DRenderer';
|
|
3
3
|
import EventEmitter from 'eventemitter3';
|
|
4
4
|
import { Scene3D } from './scene';
|
|
@@ -27,7 +27,6 @@ export declare const SLOT_EVENTS: {
|
|
|
27
27
|
};
|
|
28
28
|
export declare class Slot extends CSS2DObject {
|
|
29
29
|
private props;
|
|
30
|
-
private target;
|
|
31
30
|
private _emitter;
|
|
32
31
|
private _slotContainer;
|
|
33
32
|
private _slotUI;
|
|
@@ -43,9 +42,8 @@ export declare class Slot extends CSS2DObject {
|
|
|
43
42
|
private _timer;
|
|
44
43
|
get hasDevice(): boolean;
|
|
45
44
|
deviceInfo: DeviceInfo | undefined;
|
|
46
|
-
constructor(props: SlotProps
|
|
45
|
+
constructor(props: SlotProps);
|
|
47
46
|
shapeKeyChanged(key: string, value: number): void;
|
|
48
|
-
private _tick;
|
|
49
47
|
loadGlb(sglb: string): Promise<Object3D<import("three").Object3DEventMap> | undefined>;
|
|
50
48
|
installBracket(url: string): Promise<void>;
|
|
51
49
|
install(info: DeviceInfo): Promise<void>;
|