@hatiolab/things-scene 3.2.4 → 3.2.6
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/package.json +1 -1
- package/things-scene-ie.js +1 -1
- package/things-scene-min.js +1 -1
- package/things-scene.d.ts +5 -8
- package/things-scene.mjs +1 -1
package/things-scene.d.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { property } from 'lodash'
|
|
2
|
-
|
|
3
1
|
declare module '@hatiolab/things-scene' {
|
|
4
2
|
type Constructor<T = {}> = new (...args: any[]) => T
|
|
5
3
|
type Class = { new (...args: any[]): any }
|
|
@@ -118,12 +116,6 @@ declare module '@hatiolab/things-scene' {
|
|
|
118
116
|
ondragend?(point: POSITION, index: number, component: Component): void
|
|
119
117
|
}
|
|
120
118
|
|
|
121
|
-
class ScenePopup {
|
|
122
|
-
static hideAll(root: Component): void
|
|
123
|
-
static hide(component: Component): void
|
|
124
|
-
static show(component: Component, ref: string, options: PopupOptions): void
|
|
125
|
-
}
|
|
126
|
-
|
|
127
119
|
interface Control extends DIMENSION {
|
|
128
120
|
handler: ControlHandler
|
|
129
121
|
}
|
|
@@ -173,6 +165,11 @@ declare module '@hatiolab/things-scene' {
|
|
|
173
165
|
class ScriptLoader {
|
|
174
166
|
static load(scripts: string | Array<string>, styles?: string | Array<string>): Promise<void>
|
|
175
167
|
}
|
|
168
|
+
class ScenePopup {
|
|
169
|
+
static hideAll(root: Component): void
|
|
170
|
+
static hide(component: Component): void
|
|
171
|
+
static show(component: Component, ref: string, options: PopupOptions): void
|
|
172
|
+
}
|
|
176
173
|
|
|
177
174
|
type Anchor = {
|
|
178
175
|
name: string
|