@xviewer.js/debug 1.0.1 → 1.0.2
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/{main.js → main.cjs} +2 -2
- package/dist/main.cjs.map +1 -0
- package/dist/module.js +1 -1
- package/dist/module.js.map +1 -1
- package/package.json +3 -3
- package/types/Inspector.d.ts +2 -2
- package/dist/main.js.map +0 -1
- package/types/InspectorPlugin.d.ts +0 -22
- package/types/StatsPlugin.d.ts +0 -10
- package/types/gui/controllers/ImageController.d.ts +0 -12
- package/types/gui/controllers/TextureController_.d.ts +0 -9
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { Plugin } from "@xviewer.js/core";
|
|
2
|
-
type uuidObject = {
|
|
3
|
-
uuid: string;
|
|
4
|
-
name: string;
|
|
5
|
-
type: string;
|
|
6
|
-
};
|
|
7
|
-
export declare class InspectorPlugin extends Plugin {
|
|
8
|
-
static _getTargetName(target: uuidObject): string;
|
|
9
|
-
private _gui;
|
|
10
|
-
private _statesMap;
|
|
11
|
-
private _targetMap;
|
|
12
|
-
constructor();
|
|
13
|
-
onUpdate(dt: number): void;
|
|
14
|
-
private _initFolders;
|
|
15
|
-
private _initViewer;
|
|
16
|
-
private _updateFolders;
|
|
17
|
-
private _getPropertiesList;
|
|
18
|
-
inspect<T extends uuidObject>(target: T): T;
|
|
19
|
-
private _addPropsListGUI;
|
|
20
|
-
uninspect(target: uuidObject): void;
|
|
21
|
-
}
|
|
22
|
-
export {};
|
package/types/StatsPlugin.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { GUI } from "../GUI";
|
|
2
|
-
import { Controller } from "./Controller";
|
|
3
|
-
export declare class ImageController extends Controller {
|
|
4
|
-
static _context: any;
|
|
5
|
-
static _imageMap: WeakMap<WeakKey, any>;
|
|
6
|
-
static toDataURL(img: HTMLImageElement | ImageBitmap & {
|
|
7
|
-
data?: any;
|
|
8
|
-
}): Promise<any>;
|
|
9
|
-
$img: HTMLImageElement;
|
|
10
|
-
constructor(parent: GUI, object: Object, property: string);
|
|
11
|
-
updateDisplay(): this;
|
|
12
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { GUI } from "../GUI";
|
|
2
|
-
import { Controller } from "./Controller";
|
|
3
|
-
export declare class TextureController_ extends Controller {
|
|
4
|
-
$canvas: HTMLCanvasElement;
|
|
5
|
-
private _version;
|
|
6
|
-
constructor(parent: GUI, object: Object, property: string);
|
|
7
|
-
needsUpdateDisplay(): boolean;
|
|
8
|
-
updateDisplay(): this;
|
|
9
|
-
}
|