@hatiolab/things-scene 2.7.27 → 2.7.31

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/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 LinearHorizontal: LAYOUT
75
- const LinearVertical: LAYOUT
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
@@ -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