@hatiolab/things-scene 2.7.26 → 2.7.30
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/db.sqlite +0 -0
- package/logs/.08636eb59927f12972f6774f5947c8507b3564c2-audit.json +8 -3
- package/logs/.5e5d741d8b7784a2fbad65eedc0fd46946aaf6f2-audit.json +10 -5
- package/logs/application-2021-12-17-00.log +12 -0
- package/logs/application-2021-12-17-01.log +4 -0
- package/logs/connections-2021-12-17-00.log +96 -0
- package/logs/connections-2021-12-17-01.log +32 -0
- package/package.json +3 -3
- package/things-scene-ie.js +1 -1
- package/things-scene-min.js +1 -1
- package/things-scene.d.ts +8 -5
- package/things-scene.mjs +1 -1
- package/logs/application-2021-12-11-15.log +0 -6
- package/logs/connections-2021-11-30-22.log +0 -32
package/things-scene.d.ts
CHANGED
|
@@ -71,8 +71,8 @@ declare module '@hatiolab/things-scene' {
|
|
|
71
71
|
const TableLayout: LAYOUT
|
|
72
72
|
const CardLayout: LAYOUT
|
|
73
73
|
const HTMLAbsoluteLayout: LAYOUT
|
|
74
|
-
const
|
|
75
|
-
const
|
|
74
|
+
const LinearHorizontalLayout: LAYOUT
|
|
75
|
+
const LinearVerticalLayout: LAYOUT
|
|
76
76
|
|
|
77
77
|
type AnimationConfig = {
|
|
78
78
|
duration?: number
|
|
@@ -140,6 +140,7 @@ declare module '@hatiolab/things-scene' {
|
|
|
140
140
|
class ApplicationContext {
|
|
141
141
|
readonly refProvider: any
|
|
142
142
|
readonly isViewMode: boolean
|
|
143
|
+
readonly isEditMode: boolean
|
|
143
144
|
|
|
144
145
|
mode: SCENE_MODE
|
|
145
146
|
baseUrl: string
|
|
@@ -192,7 +193,7 @@ declare module '@hatiolab/things-scene' {
|
|
|
192
193
|
on(name: string, callback: Function, context?: any): void
|
|
193
194
|
off(name: string, callback: Function, context?: any): void
|
|
194
195
|
once(name: string, callback: Function, context?: any): void
|
|
195
|
-
trigger(name: string): void
|
|
196
|
+
trigger(name: string, ...others: any[]): void
|
|
196
197
|
}
|
|
197
198
|
} & TBase
|
|
198
199
|
|
|
@@ -283,6 +284,8 @@ declare module '@hatiolab/things-scene' {
|
|
|
283
284
|
findById(id: string): Component | undefined
|
|
284
285
|
getAt(at: number): Component | undefined
|
|
285
286
|
|
|
287
|
+
reflow(): void
|
|
288
|
+
|
|
286
289
|
add(components: Component[] | Component): Container
|
|
287
290
|
remove(components: Component[] | Component): Container
|
|
288
291
|
|
|
@@ -434,13 +437,13 @@ declare module '@hatiolab/things-scene' {
|
|
|
434
437
|
* selector에 해당하는 모든 컴포넌트들을 찾는다.
|
|
435
438
|
* @params selector {string}
|
|
436
439
|
*/
|
|
437
|
-
findAll(selector: string): Array<Component>
|
|
440
|
+
findAll(selector: string, component?: Component): Array<Component>
|
|
438
441
|
|
|
439
442
|
/*
|
|
440
443
|
* selector에 해당하는 첫번째 컴포넌트를 찾는다.
|
|
441
444
|
* @params selector {string}
|
|
442
445
|
*/
|
|
443
|
-
findFirst(selector: string): Component
|
|
446
|
+
findFirst(selector: string, ...others: any[]): Component
|
|
444
447
|
|
|
445
448
|
/*
|
|
446
449
|
* id를 갖는 컴포넌트를 찾는다.
|