babylonjs-node-editor 5.0.3 → 5.2.0

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.
@@ -456,6 +456,7 @@ declare module BABYLON.NodeEditor {
456
456
  get svgCanvas(): HTMLElement;
457
457
  get selectionContainer(): HTMLDivElement;
458
458
  get frameContainer(): HTMLDivElement;
459
+ private _selectedFrameAndNodesConflict;
459
460
  constructor(props: IGraphCanvasComponentProps);
460
461
  static _RefreshNode: (node: GraphNode, visitedNodes?: Set<GraphNode> | undefined, visitedLinks?: Set<NodeLink> | undefined) => void;
461
462
  getGridPosition(position: number, useCeil?: boolean): number;
@@ -681,6 +682,7 @@ declare module BABYLON.NodeEditor {
681
682
  get enclosingFrameId(): number;
682
683
  set enclosingFrameId(value: number);
683
684
  set isSelected(value: boolean);
685
+ setIsSelected(value: boolean, marqueeSelection: boolean): void;
684
686
  constructor(block: BABYLON.NodeMaterialBlock, globalState: GlobalState);
685
687
  isOverlappingFrame(frame: GraphFrame): boolean;
686
688
  getPortForConnectionPoint(point: BABYLON.NodeMaterialConnectionPoint): NodePort | null;
@@ -963,6 +965,7 @@ declare module BABYLON.NodeEditor {
963
965
  export class ISelectionChangedOptions {
964
966
  selection: BABYLON.Nullable<GraphNode | NodeLink | GraphFrame | NodePort | FramePortData>;
965
967
  forceKeepSelection?: boolean;
968
+ marqueeSelection?: boolean;
966
969
  }
967
970
  export class GlobalState {
968
971
  nodeMaterial: BABYLON.NodeMaterial;
@@ -1685,7 +1688,10 @@ declare module BABYLON.NodeEditor {
1685
1688
  }
1686
1689
 
1687
1690
 
1688
- export interface IColorComponentEntryProps {
1691
+
1692
+ }
1693
+ declare module BABYLON.NodeEditor.SharedUIComponents {
1694
+ export interface IColorComponentEntryProps {
1689
1695
  value: number;
1690
1696
  label: string;
1691
1697
  max?: number;
@@ -1700,7 +1706,13 @@ declare module BABYLON.NodeEditor {
1700
1706
  }
1701
1707
 
1702
1708
 
1703
- /**
1709
+
1710
+ }
1711
+ declare module BABYLON.NodeEditor {
1712
+
1713
+ }
1714
+ declare module BABYLON.NodeEditor.SharedUIComponents {
1715
+ /**
1704
1716
  * Interface used to specify creation options for color picker
1705
1717
  */
1706
1718
  export interface IColorPickerProps {
@@ -1740,7 +1752,13 @@ declare module BABYLON.NodeEditor {
1740
1752
  }
1741
1753
 
1742
1754
 
1743
- export interface IHexColorProps {
1755
+
1756
+ }
1757
+ declare module BABYLON.NodeEditor {
1758
+
1759
+ }
1760
+ declare module BABYLON.NodeEditor.SharedUIComponents {
1761
+ export interface IHexColorProps {
1744
1762
  value: string;
1745
1763
  expectedLength: number;
1746
1764
  onChange: (value: string) => void;
@@ -1757,7 +1775,13 @@ declare module BABYLON.NodeEditor {
1757
1775
  }
1758
1776
 
1759
1777
 
1760
- export interface IBooleanLineComponentProps {
1778
+
1779
+ }
1780
+ declare module BABYLON.NodeEditor {
1781
+
1782
+ }
1783
+ declare module BABYLON.NodeEditor.SharedUIComponents {
1784
+ export interface IBooleanLineComponentProps {
1761
1785
  label: string;
1762
1786
  value: boolean;
1763
1787
  icon?: string;
@@ -1769,7 +1793,13 @@ declare module BABYLON.NodeEditor {
1769
1793
  }
1770
1794
 
1771
1795
 
1772
- export interface IButtonLineComponentProps {
1796
+
1797
+ }
1798
+ declare module BABYLON.NodeEditor {
1799
+
1800
+ }
1801
+ declare module BABYLON.NodeEditor.SharedUIComponents {
1802
+ export interface IButtonLineComponentProps {
1773
1803
  label: string;
1774
1804
  onClick: () => void;
1775
1805
  icon?: string;
@@ -1781,14 +1811,20 @@ declare module BABYLON.NodeEditor {
1781
1811
  }
1782
1812
 
1783
1813
 
1784
- export interface ICheckBoxLineComponentProps {
1814
+
1815
+ }
1816
+ declare module BABYLON.NodeEditor {
1817
+
1818
+ }
1819
+ declare module BABYLON.NodeEditor.SharedUIComponents {
1820
+ export interface ICheckBoxLineComponentProps {
1785
1821
  label?: string;
1786
1822
  target?: any;
1787
1823
  propertyName?: string;
1788
1824
  isSelected?: () => boolean;
1789
1825
  onSelect?: (value: boolean) => void;
1790
1826
  onValueChanged?: () => void;
1791
- onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
1827
+ onPropertyChangedObservable?: BABYLON.Observable<BABYLON.NodeEditor.SharedUIComponents.PropertyChangedEvent>;
1792
1828
  disabled?: boolean;
1793
1829
  icon?: string;
1794
1830
  iconLabel?: string;
@@ -1815,14 +1851,20 @@ declare module BABYLON.NodeEditor {
1815
1851
  }
1816
1852
 
1817
1853
 
1818
- export interface IColor3LineComponentProps {
1854
+
1855
+ }
1856
+ declare module BABYLON.NodeEditor {
1857
+
1858
+ }
1859
+ declare module BABYLON.NodeEditor.SharedUIComponents {
1860
+ export interface IColor3LineComponentProps {
1819
1861
  label: string;
1820
1862
  target: any;
1821
1863
  propertyName: string;
1822
- onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
1864
+ onPropertyChangedObservable?: BABYLON.Observable<BABYLON.NodeEditor.SharedUIComponents.PropertyChangedEvent>;
1823
1865
  isLinear?: boolean;
1824
1866
  icon?: string;
1825
- lockObject?: LockObject;
1867
+ lockObject?: BABYLON.NodeEditor.SharedUIComponents.LockObject;
1826
1868
  iconLabel?: string;
1827
1869
  onValueChange?: (value: string) => void;
1828
1870
  }
@@ -1831,32 +1873,44 @@ declare module BABYLON.NodeEditor {
1831
1873
  }
1832
1874
 
1833
1875
 
1834
- export interface IColor4LineComponentProps {
1876
+
1877
+ }
1878
+ declare module BABYLON.NodeEditor {
1879
+
1880
+ }
1881
+ declare module BABYLON.NodeEditor.SharedUIComponents {
1882
+ export interface IColor4LineComponentProps {
1835
1883
  label: string;
1836
1884
  target?: any;
1837
1885
  propertyName: string;
1838
- onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
1886
+ onPropertyChangedObservable?: BABYLON.Observable<BABYLON.NodeEditor.SharedUIComponents.PropertyChangedEvent>;
1839
1887
  onChange?: () => void;
1840
1888
  isLinear?: boolean;
1841
1889
  icon?: string;
1842
1890
  iconLabel?: string;
1843
- lockObject?: LockObject;
1891
+ lockObject?: BABYLON.NodeEditor.SharedUIComponents.LockObject;
1844
1892
  }
1845
1893
  export class Color4LineComponent extends React.Component<IColor4LineComponentProps> {
1846
1894
  render(): JSX.Element;
1847
1895
  }
1848
1896
 
1849
1897
 
1850
- export interface IColorLineComponentProps {
1898
+
1899
+ }
1900
+ declare module BABYLON.NodeEditor {
1901
+
1902
+ }
1903
+ declare module BABYLON.NodeEditor.SharedUIComponents {
1904
+ export interface IColorLineComponentProps {
1851
1905
  label: string;
1852
1906
  target?: any;
1853
1907
  propertyName: string;
1854
- onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
1908
+ onPropertyChangedObservable?: BABYLON.Observable<BABYLON.NodeEditor.SharedUIComponents.PropertyChangedEvent>;
1855
1909
  onChange?: () => void;
1856
1910
  isLinear?: boolean;
1857
1911
  icon?: string;
1858
1912
  iconLabel?: string;
1859
- lockObject?: LockObject;
1913
+ lockObject?: BABYLON.NodeEditor.SharedUIComponents.LockObject;
1860
1914
  disableAlpha?: boolean;
1861
1915
  }
1862
1916
  interface IColorLineComponentState {
@@ -1883,7 +1937,13 @@ declare module BABYLON.NodeEditor {
1883
1937
  }
1884
1938
 
1885
1939
 
1886
- export interface IColorPickerComponentProps {
1940
+
1941
+ }
1942
+ declare module BABYLON.NodeEditor {
1943
+
1944
+ }
1945
+ declare module BABYLON.NodeEditor.SharedUIComponents {
1946
+ export interface IColorPickerComponentProps {
1887
1947
  value: BABYLON.Color4 | BABYLON.Color3;
1888
1948
  linearHint?: boolean;
1889
1949
  onColorChanged: (newOne: string) => void;
@@ -1911,7 +1971,13 @@ declare module BABYLON.NodeEditor {
1911
1971
  }
1912
1972
 
1913
1973
 
1914
- export interface IButtonLineComponentProps {
1974
+
1975
+ }
1976
+ declare module BABYLON.NodeEditor {
1977
+
1978
+ }
1979
+ declare module BABYLON.NodeEditor.SharedUIComponents {
1980
+ export interface IButtonLineComponentProps {
1915
1981
  data: string;
1916
1982
  tooltip: string;
1917
1983
  }
@@ -1921,7 +1987,13 @@ declare module BABYLON.NodeEditor {
1921
1987
  }
1922
1988
 
1923
1989
 
1924
- interface IFileButtonLineComponentProps {
1990
+
1991
+ }
1992
+ declare module BABYLON.NodeEditor {
1993
+
1994
+ }
1995
+ declare module BABYLON.NodeEditor.SharedUIComponents {
1996
+ interface IFileButtonLineComponentProps {
1925
1997
  label: string;
1926
1998
  onClick: (file: File) => void;
1927
1999
  accept: string;
@@ -1938,7 +2010,13 @@ declare module BABYLON.NodeEditor {
1938
2010
  }
1939
2011
 
1940
2012
 
1941
- interface IFileMultipleButtonLineComponentProps {
2013
+
2014
+ }
2015
+ declare module BABYLON.NodeEditor {
2016
+
2017
+ }
2018
+ declare module BABYLON.NodeEditor.SharedUIComponents {
2019
+ interface IFileMultipleButtonLineComponentProps {
1942
2020
  label: string;
1943
2021
  onClick: (event: any) => void;
1944
2022
  accept: string;
@@ -1955,14 +2033,20 @@ declare module BABYLON.NodeEditor {
1955
2033
  }
1956
2034
 
1957
2035
 
1958
- interface IFloatLineComponentProps {
2036
+
2037
+ }
2038
+ declare module BABYLON.NodeEditor {
2039
+
2040
+ }
2041
+ declare module BABYLON.NodeEditor.SharedUIComponents {
2042
+ interface IFloatLineComponentProps {
1959
2043
  label: string;
1960
2044
  target: any;
1961
2045
  propertyName: string;
1962
- lockObject?: LockObject;
2046
+ lockObject?: BABYLON.NodeEditor.SharedUIComponents.LockObject;
1963
2047
  onChange?: (newValue: number) => void;
1964
2048
  isInteger?: boolean;
1965
- onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
2049
+ onPropertyChangedObservable?: BABYLON.Observable<BABYLON.NodeEditor.SharedUIComponents.PropertyChangedEvent>;
1966
2050
  additionalClass?: string;
1967
2051
  step?: string;
1968
2052
  digits?: number;
@@ -2002,15 +2086,21 @@ declare module BABYLON.NodeEditor {
2002
2086
  }
2003
2087
 
2004
2088
 
2005
- interface IHexLineComponentProps {
2089
+
2090
+ }
2091
+ declare module BABYLON.NodeEditor {
2092
+
2093
+ }
2094
+ declare module BABYLON.NodeEditor.SharedUIComponents {
2095
+ interface IHexLineComponentProps {
2006
2096
  label: string;
2007
2097
  target: any;
2008
2098
  propertyName: string;
2009
- lockObject?: LockObject;
2099
+ lockObject?: BABYLON.NodeEditor.SharedUIComponents.LockObject;
2010
2100
  onChange?: (newValue: number) => void;
2011
2101
  isInteger?: boolean;
2012
2102
  replaySourceReplacement?: string;
2013
- onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
2103
+ onPropertyChangedObservable?: BABYLON.Observable<BABYLON.NodeEditor.SharedUIComponents.PropertyChangedEvent>;
2014
2104
  additionalClass?: string;
2015
2105
  step?: string;
2016
2106
  digits?: number;
@@ -2039,7 +2129,13 @@ declare module BABYLON.NodeEditor {
2039
2129
  }
2040
2130
 
2041
2131
 
2042
- export interface IIconButtonLineComponentProps {
2132
+
2133
+ }
2134
+ declare module BABYLON.NodeEditor {
2135
+
2136
+ }
2137
+ declare module BABYLON.NodeEditor.SharedUIComponents {
2138
+ export interface IIconButtonLineComponentProps {
2043
2139
  icon: string;
2044
2140
  onClick: () => void;
2045
2141
  tooltip: string;
@@ -2051,7 +2147,13 @@ declare module BABYLON.NodeEditor {
2051
2147
  }
2052
2148
 
2053
2149
 
2054
- interface IIconComponentProps {
2150
+
2151
+ }
2152
+ declare module BABYLON.NodeEditor {
2153
+
2154
+ }
2155
+ declare module BABYLON.NodeEditor.SharedUIComponents {
2156
+ interface IIconComponentProps {
2055
2157
  icon: string;
2056
2158
  label?: string;
2057
2159
  }
@@ -2060,7 +2162,13 @@ declare module BABYLON.NodeEditor {
2060
2162
  }
2061
2163
 
2062
2164
 
2063
- interface IIndentedTextLineComponentProps {
2165
+
2166
+ }
2167
+ declare module BABYLON.NodeEditor {
2168
+
2169
+ }
2170
+ declare module BABYLON.NodeEditor.SharedUIComponents {
2171
+ interface IIndentedTextLineComponentProps {
2064
2172
  value?: string;
2065
2173
  color?: string;
2066
2174
  underline?: boolean;
@@ -2076,7 +2184,13 @@ declare module BABYLON.NodeEditor {
2076
2184
  }
2077
2185
 
2078
2186
 
2079
- interface IInputArrowsComponentProps {
2187
+
2188
+ }
2189
+ declare module BABYLON.NodeEditor {
2190
+
2191
+ }
2192
+ declare module BABYLON.NodeEditor.SharedUIComponents {
2193
+ interface IInputArrowsComponentProps {
2080
2194
  incrementValue: (amount: number) => void;
2081
2195
  setDragging: (dragging: boolean) => void;
2082
2196
  }
@@ -2089,14 +2203,26 @@ declare module BABYLON.NodeEditor {
2089
2203
  }
2090
2204
 
2091
2205
 
2092
- export interface ISelectedLineContainer {
2206
+
2207
+ }
2208
+ declare module BABYLON.NodeEditor {
2209
+
2210
+ }
2211
+ declare module BABYLON.NodeEditor.SharedUIComponents {
2212
+ export interface ISelectedLineContainer {
2093
2213
  selectedLineContainerTitles: Array<string>;
2094
2214
  selectedLineContainerTitlesNoFocus: Array<string>;
2095
2215
  }
2096
2216
 
2097
2217
 
2098
- interface ILineContainerComponentProps {
2099
- selection?: ISelectedLineContainer;
2218
+
2219
+ }
2220
+ declare module BABYLON.NodeEditor {
2221
+
2222
+ }
2223
+ declare module BABYLON.NodeEditor.SharedUIComponents {
2224
+ interface ILineContainerComponentProps {
2225
+ selection?: BABYLON.NodeEditor.SharedUIComponents.ISelectedLineContainer;
2100
2226
  title: string;
2101
2227
  children: any[] | any;
2102
2228
  closed?: boolean;
@@ -2113,7 +2239,13 @@ declare module BABYLON.NodeEditor {
2113
2239
  }
2114
2240
 
2115
2241
 
2116
- interface ILinkButtonComponentProps {
2242
+
2243
+ }
2244
+ declare module BABYLON.NodeEditor {
2245
+
2246
+ }
2247
+ declare module BABYLON.NodeEditor.SharedUIComponents {
2248
+ interface ILinkButtonComponentProps {
2117
2249
  label: string;
2118
2250
  buttonLabel: string;
2119
2251
  url?: string;
@@ -2128,7 +2260,13 @@ declare module BABYLON.NodeEditor {
2128
2260
  }
2129
2261
 
2130
2262
 
2131
- interface IMessageLineComponentProps {
2263
+
2264
+ }
2265
+ declare module BABYLON.NodeEditor {
2266
+
2267
+ }
2268
+ declare module BABYLON.NodeEditor.SharedUIComponents {
2269
+ interface IMessageLineComponentProps {
2132
2270
  text: string;
2133
2271
  color?: string;
2134
2272
  icon?: any;
@@ -2139,7 +2277,13 @@ declare module BABYLON.NodeEditor {
2139
2277
  }
2140
2278
 
2141
2279
 
2142
- interface INumericInputComponentProps {
2280
+
2281
+ }
2282
+ declare module BABYLON.NodeEditor {
2283
+
2284
+ }
2285
+ declare module BABYLON.NodeEditor.SharedUIComponents {
2286
+ interface INumericInputComponentProps {
2143
2287
  label: string;
2144
2288
  value: number;
2145
2289
  step?: number;
@@ -2165,7 +2309,13 @@ declare module BABYLON.NodeEditor {
2165
2309
  }
2166
2310
 
2167
2311
 
2168
- export var Null_Value: number;
2312
+
2313
+ }
2314
+ declare module BABYLON.NodeEditor {
2315
+
2316
+ }
2317
+ declare module BABYLON.NodeEditor.SharedUIComponents {
2318
+ export var Null_Value: number;
2169
2319
  export interface IOptionsLineComponentProps {
2170
2320
  label: string;
2171
2321
  target: any;
@@ -2174,7 +2324,7 @@ declare module BABYLON.NodeEditor {
2174
2324
  noDirectUpdate?: boolean;
2175
2325
  onSelect?: (value: number) => void;
2176
2326
  extractValue?: () => number;
2177
- onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
2327
+ onPropertyChangedObservable?: BABYLON.Observable<BABYLON.NodeEditor.SharedUIComponents.PropertyChangedEvent>;
2178
2328
  allowNullValue?: boolean;
2179
2329
  icon?: string;
2180
2330
  iconLabel?: string;
@@ -2195,13 +2345,25 @@ declare module BABYLON.NodeEditor {
2195
2345
  }
2196
2346
 
2197
2347
 
2198
- export class Popup {
2348
+
2349
+ }
2350
+ declare module BABYLON.NodeEditor {
2351
+
2352
+ }
2353
+ declare module BABYLON.NodeEditor.SharedUIComponents {
2354
+ export class Popup {
2199
2355
  static CreatePopup(title: string, windowVariableName: string, width?: number, height?: number): HTMLDivElement | null;
2200
2356
  private static _CopyStyles;
2201
2357
  }
2202
2358
 
2203
2359
 
2204
- interface IRadioButtonLineComponentProps {
2360
+
2361
+ }
2362
+ declare module BABYLON.NodeEditor {
2363
+
2364
+ }
2365
+ declare module BABYLON.NodeEditor.SharedUIComponents {
2366
+ interface IRadioButtonLineComponentProps {
2205
2367
  onSelectionChangedObservable: BABYLON.Observable<RadioButtonLineComponent>;
2206
2368
  label: string;
2207
2369
  isSelected: () => boolean;
@@ -2221,7 +2383,13 @@ declare module BABYLON.NodeEditor {
2221
2383
  }
2222
2384
 
2223
2385
 
2224
- interface ISliderLineComponentProps {
2386
+
2387
+ }
2388
+ declare module BABYLON.NodeEditor {
2389
+
2390
+ }
2391
+ declare module BABYLON.NodeEditor.SharedUIComponents {
2392
+ interface ISliderLineComponentProps {
2225
2393
  label: string;
2226
2394
  target?: any;
2227
2395
  propertyName?: string;
@@ -2232,12 +2400,12 @@ declare module BABYLON.NodeEditor {
2232
2400
  useEuler?: boolean;
2233
2401
  onChange?: (value: number) => void;
2234
2402
  onInput?: (value: number) => void;
2235
- onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
2403
+ onPropertyChangedObservable?: BABYLON.Observable<BABYLON.NodeEditor.SharedUIComponents.PropertyChangedEvent>;
2236
2404
  decimalCount?: number;
2237
2405
  margin?: boolean;
2238
2406
  icon?: string;
2239
2407
  iconLabel?: string;
2240
- lockObject?: LockObject;
2408
+ lockObject?: BABYLON.NodeEditor.SharedUIComponents.LockObject;
2241
2409
  unit?: React.ReactNode;
2242
2410
  }
2243
2411
  export class SliderLineComponent extends React.Component<ISliderLineComponentProps, {
@@ -2255,7 +2423,13 @@ declare module BABYLON.NodeEditor {
2255
2423
  }
2256
2424
 
2257
2425
 
2258
- export const conflictingValuesPlaceholder = "\u2014";
2426
+
2427
+ }
2428
+ declare module BABYLON.NodeEditor {
2429
+
2430
+ }
2431
+ declare module BABYLON.NodeEditor.SharedUIComponents {
2432
+ export const conflictingValuesPlaceholder = "\u2014";
2259
2433
  /**
2260
2434
  *
2261
2435
  * @param targets a list of selected targets
@@ -2263,17 +2437,23 @@ declare module BABYLON.NodeEditor {
2263
2437
  * @param getProperty
2264
2438
  * @returns a proxy object that can be passed as a target into the input
2265
2439
  */
2266
- export function makeTargetsProxy<Type>(targets: Type[], onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>, getProperty?: (target: Type, property: keyof Type) => any): any;
2440
+ export function makeTargetsProxy<Type>(targets: Type[], onPropertyChangedObservable?: BABYLON.Observable<BABYLON.NodeEditor.SharedUIComponents.PropertyChangedEvent>, getProperty?: (target: Type, property: keyof Type) => any): any;
2441
+
2442
+
2267
2443
 
2444
+ }
2445
+ declare module BABYLON.NodeEditor {
2268
2446
 
2269
- export interface ITextInputLineComponentProps {
2447
+ }
2448
+ declare module BABYLON.NodeEditor.SharedUIComponents {
2449
+ export interface ITextInputLineComponentProps {
2270
2450
  label?: string;
2271
- lockObject?: LockObject;
2451
+ lockObject?: BABYLON.NodeEditor.SharedUIComponents.LockObject;
2272
2452
  target?: any;
2273
2453
  propertyName?: string;
2274
2454
  value?: string;
2275
2455
  onChange?: (value: string) => void;
2276
- onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
2456
+ onPropertyChangedObservable?: BABYLON.Observable<BABYLON.NodeEditor.SharedUIComponents.PropertyChangedEvent>;
2277
2457
  icon?: string;
2278
2458
  iconLabel?: string;
2279
2459
  noUnderline?: boolean;
@@ -2309,7 +2489,13 @@ declare module BABYLON.NodeEditor {
2309
2489
  }
2310
2490
 
2311
2491
 
2312
- interface ITextLineComponentProps {
2492
+
2493
+ }
2494
+ declare module BABYLON.NodeEditor {
2495
+
2496
+ }
2497
+ declare module BABYLON.NodeEditor.SharedUIComponents {
2498
+ interface ITextLineComponentProps {
2313
2499
  label?: string;
2314
2500
  value?: string;
2315
2501
  color?: string;
@@ -2330,7 +2516,13 @@ declare module BABYLON.NodeEditor {
2330
2516
  }
2331
2517
 
2332
2518
 
2333
- /// <reference types="react" />
2519
+
2520
+ }
2521
+ declare module BABYLON.NodeEditor {
2522
+
2523
+ }
2524
+ declare module BABYLON.NodeEditor.SharedUIComponents {
2525
+ /// <reference types="react" />
2334
2526
  interface IUnitButtonProps {
2335
2527
  unit: string;
2336
2528
  locked?: boolean;
@@ -2339,7 +2531,13 @@ declare module BABYLON.NodeEditor {
2339
2531
  export function UnitButton(props: IUnitButtonProps): JSX.Element;
2340
2532
 
2341
2533
 
2342
- interface IValueLineComponentProps {
2534
+
2535
+ }
2536
+ declare module BABYLON.NodeEditor {
2537
+
2538
+ }
2539
+ declare module BABYLON.NodeEditor.SharedUIComponents {
2540
+ interface IValueLineComponentProps {
2343
2541
  label: string;
2344
2542
  value: number;
2345
2543
  color?: string;
@@ -2354,13 +2552,19 @@ declare module BABYLON.NodeEditor {
2354
2552
  }
2355
2553
 
2356
2554
 
2357
- interface IVector2LineComponentProps {
2555
+
2556
+ }
2557
+ declare module BABYLON.NodeEditor {
2558
+
2559
+ }
2560
+ declare module BABYLON.NodeEditor.SharedUIComponents {
2561
+ interface IVector2LineComponentProps {
2358
2562
  label: string;
2359
2563
  target: any;
2360
2564
  propertyName: string;
2361
2565
  step?: number;
2362
2566
  onChange?: (newvalue: BABYLON.Vector2) => void;
2363
- onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
2567
+ onPropertyChangedObservable?: BABYLON.Observable<BABYLON.NodeEditor.SharedUIComponents.PropertyChangedEvent>;
2364
2568
  icon?: string;
2365
2569
  iconLabel?: string;
2366
2570
  }
@@ -2385,14 +2589,20 @@ declare module BABYLON.NodeEditor {
2385
2589
  }
2386
2590
 
2387
2591
 
2388
- interface IVector3LineComponentProps {
2592
+
2593
+ }
2594
+ declare module BABYLON.NodeEditor {
2595
+
2596
+ }
2597
+ declare module BABYLON.NodeEditor.SharedUIComponents {
2598
+ interface IVector3LineComponentProps {
2389
2599
  label: string;
2390
2600
  target: any;
2391
2601
  propertyName: string;
2392
2602
  step?: number;
2393
2603
  onChange?: (newvalue: BABYLON.Vector3) => void;
2394
2604
  useEuler?: boolean;
2395
- onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
2605
+ onPropertyChangedObservable?: BABYLON.Observable<BABYLON.NodeEditor.SharedUIComponents.PropertyChangedEvent>;
2396
2606
  noSlider?: boolean;
2397
2607
  icon?: string;
2398
2608
  iconLabel?: string;
@@ -2421,14 +2631,20 @@ declare module BABYLON.NodeEditor {
2421
2631
  }
2422
2632
 
2423
2633
 
2424
- interface IVector4LineComponentProps {
2634
+
2635
+ }
2636
+ declare module BABYLON.NodeEditor {
2637
+
2638
+ }
2639
+ declare module BABYLON.NodeEditor.SharedUIComponents {
2640
+ interface IVector4LineComponentProps {
2425
2641
  label: string;
2426
2642
  target: any;
2427
2643
  propertyName: string;
2428
2644
  step?: number;
2429
2645
  onChange?: (newvalue: BABYLON.Vector4) => void;
2430
2646
  useEuler?: boolean;
2431
- onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
2647
+ onPropertyChangedObservable?: BABYLON.Observable<BABYLON.NodeEditor.SharedUIComponents.PropertyChangedEvent>;
2432
2648
  icon?: string;
2433
2649
  iconLabel?: string;
2434
2650
  }
@@ -2457,7 +2673,13 @@ declare module BABYLON.NodeEditor {
2457
2673
  }
2458
2674
 
2459
2675
 
2460
- export class PropertyChangedEvent {
2676
+
2677
+ }
2678
+ declare module BABYLON.NodeEditor {
2679
+
2680
+ }
2681
+ declare module BABYLON.NodeEditor.SharedUIComponents {
2682
+ export class PropertyChangedEvent {
2461
2683
  object: any;
2462
2684
  property: string;
2463
2685
  value: any;
@@ -2466,7 +2688,13 @@ declare module BABYLON.NodeEditor {
2466
2688
  }
2467
2689
 
2468
2690
 
2469
- export class StringTools {
2691
+
2692
+ }
2693
+ declare module BABYLON.NodeEditor {
2694
+
2695
+ }
2696
+ declare module BABYLON.NodeEditor.SharedUIComponents {
2697
+ export class StringTools {
2470
2698
  private static _SaveAs;
2471
2699
  private static _Click;
2472
2700
  /**
@@ -2479,10 +2707,16 @@ declare module BABYLON.NodeEditor {
2479
2707
  }
2480
2708
 
2481
2709
 
2482
- interface ICheckboxPropertyGridComponentProps {
2710
+
2711
+ }
2712
+ declare module BABYLON.NodeEditor {
2713
+
2714
+ }
2715
+ declare module BABYLON.NodeEditor.SharedUIComponents {
2716
+ interface ICheckboxPropertyGridComponentProps {
2483
2717
  checkbox: BABYLON.GUI.Checkbox;
2484
- lockObject: LockObject;
2485
- onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
2718
+ lockObject: BABYLON.NodeEditor.SharedUIComponents.LockObject;
2719
+ onPropertyChangedObservable?: BABYLON.Observable<BABYLON.NodeEditor.SharedUIComponents.PropertyChangedEvent>;
2486
2720
  }
2487
2721
  export class CheckboxPropertyGridComponent extends React.Component<ICheckboxPropertyGridComponentProps> {
2488
2722
  constructor(props: ICheckboxPropertyGridComponentProps);
@@ -2490,10 +2724,16 @@ declare module BABYLON.NodeEditor {
2490
2724
  }
2491
2725
 
2492
2726
 
2493
- interface IColorPickerPropertyGridComponentProps {
2727
+
2728
+ }
2729
+ declare module BABYLON.NodeEditor {
2730
+
2731
+ }
2732
+ declare module BABYLON.NodeEditor.SharedUIComponents {
2733
+ interface IColorPickerPropertyGridComponentProps {
2494
2734
  colorPicker: BABYLON.GUI.ColorPicker;
2495
- lockObject: LockObject;
2496
- onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
2735
+ lockObject: BABYLON.NodeEditor.SharedUIComponents.LockObject;
2736
+ onPropertyChangedObservable?: BABYLON.Observable<BABYLON.NodeEditor.SharedUIComponents.PropertyChangedEvent>;
2497
2737
  }
2498
2738
  export class ColorPickerPropertyGridComponent extends React.Component<IColorPickerPropertyGridComponentProps> {
2499
2739
  constructor(props: IColorPickerPropertyGridComponentProps);
@@ -2501,11 +2741,17 @@ declare module BABYLON.NodeEditor {
2501
2741
  }
2502
2742
 
2503
2743
 
2504
- interface ICommonControlPropertyGridComponentProps {
2744
+
2745
+ }
2746
+ declare module BABYLON.NodeEditor {
2747
+
2748
+ }
2749
+ declare module BABYLON.NodeEditor.SharedUIComponents {
2750
+ interface ICommonControlPropertyGridComponentProps {
2505
2751
  controls?: BABYLON.GUI.Control[];
2506
2752
  control?: BABYLON.GUI.Control;
2507
- lockObject: LockObject;
2508
- onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
2753
+ lockObject: BABYLON.NodeEditor.SharedUIComponents.LockObject;
2754
+ onPropertyChangedObservable?: BABYLON.Observable<BABYLON.NodeEditor.SharedUIComponents.PropertyChangedEvent>;
2509
2755
  }
2510
2756
  export class CommonControlPropertyGridComponent extends React.Component<ICommonControlPropertyGridComponentProps> {
2511
2757
  constructor(props: ICommonControlPropertyGridComponentProps);
@@ -2514,10 +2760,16 @@ declare module BABYLON.NodeEditor {
2514
2760
  }
2515
2761
 
2516
2762
 
2517
- interface IControlPropertyGridComponentProps {
2763
+
2764
+ }
2765
+ declare module BABYLON.NodeEditor {
2766
+
2767
+ }
2768
+ declare module BABYLON.NodeEditor.SharedUIComponents {
2769
+ interface IControlPropertyGridComponentProps {
2518
2770
  control: BABYLON.GUI.Control;
2519
- lockObject: LockObject;
2520
- onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
2771
+ lockObject: BABYLON.NodeEditor.SharedUIComponents.LockObject;
2772
+ onPropertyChangedObservable?: BABYLON.Observable<BABYLON.NodeEditor.SharedUIComponents.PropertyChangedEvent>;
2521
2773
  }
2522
2774
  export class ControlPropertyGridComponent extends React.Component<IControlPropertyGridComponentProps> {
2523
2775
  constructor(props: IControlPropertyGridComponentProps);
@@ -2525,10 +2777,16 @@ declare module BABYLON.NodeEditor {
2525
2777
  }
2526
2778
 
2527
2779
 
2528
- interface IEllipsePropertyGridComponentProps {
2780
+
2781
+ }
2782
+ declare module BABYLON.NodeEditor {
2783
+
2784
+ }
2785
+ declare module BABYLON.NodeEditor.SharedUIComponents {
2786
+ interface IEllipsePropertyGridComponentProps {
2529
2787
  ellipse: BABYLON.GUI.Ellipse;
2530
- lockObject: LockObject;
2531
- onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
2788
+ lockObject: BABYLON.NodeEditor.SharedUIComponents.LockObject;
2789
+ onPropertyChangedObservable?: BABYLON.Observable<BABYLON.NodeEditor.SharedUIComponents.PropertyChangedEvent>;
2532
2790
  }
2533
2791
  export class EllipsePropertyGridComponent extends React.Component<IEllipsePropertyGridComponentProps> {
2534
2792
  constructor(props: IEllipsePropertyGridComponentProps);
@@ -2536,10 +2794,16 @@ declare module BABYLON.NodeEditor {
2536
2794
  }
2537
2795
 
2538
2796
 
2539
- interface IGridPropertyGridComponentProps {
2797
+
2798
+ }
2799
+ declare module BABYLON.NodeEditor {
2800
+
2801
+ }
2802
+ declare module BABYLON.NodeEditor.SharedUIComponents {
2803
+ interface IGridPropertyGridComponentProps {
2540
2804
  grid: BABYLON.GUI.Grid;
2541
- lockObject: LockObject;
2542
- onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
2805
+ lockObject: BABYLON.NodeEditor.SharedUIComponents.LockObject;
2806
+ onPropertyChangedObservable?: BABYLON.Observable<BABYLON.NodeEditor.SharedUIComponents.PropertyChangedEvent>;
2543
2807
  }
2544
2808
  export class GridPropertyGridComponent extends React.Component<IGridPropertyGridComponentProps> {
2545
2809
  constructor(props: IGridPropertyGridComponentProps);
@@ -2549,10 +2813,16 @@ declare module BABYLON.NodeEditor {
2549
2813
  }
2550
2814
 
2551
2815
 
2552
- interface IImageBasedSliderPropertyGridComponentProps {
2816
+
2817
+ }
2818
+ declare module BABYLON.NodeEditor {
2819
+
2820
+ }
2821
+ declare module BABYLON.NodeEditor.SharedUIComponents {
2822
+ interface IImageBasedSliderPropertyGridComponentProps {
2553
2823
  imageBasedSlider: BABYLON.GUI.ImageBasedSlider;
2554
- lockObject: LockObject;
2555
- onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
2824
+ lockObject: BABYLON.NodeEditor.SharedUIComponents.LockObject;
2825
+ onPropertyChangedObservable?: BABYLON.Observable<BABYLON.NodeEditor.SharedUIComponents.PropertyChangedEvent>;
2556
2826
  }
2557
2827
  export class ImageBasedSliderPropertyGridComponent extends React.Component<IImageBasedSliderPropertyGridComponentProps> {
2558
2828
  constructor(props: IImageBasedSliderPropertyGridComponentProps);
@@ -2560,10 +2830,16 @@ declare module BABYLON.NodeEditor {
2560
2830
  }
2561
2831
 
2562
2832
 
2563
- interface IImagePropertyGridComponentProps {
2833
+
2834
+ }
2835
+ declare module BABYLON.NodeEditor {
2836
+
2837
+ }
2838
+ declare module BABYLON.NodeEditor.SharedUIComponents {
2839
+ interface IImagePropertyGridComponentProps {
2564
2840
  image: BABYLON.GUI.Image;
2565
- lockObject: LockObject;
2566
- onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
2841
+ lockObject: BABYLON.NodeEditor.SharedUIComponents.LockObject;
2842
+ onPropertyChangedObservable?: BABYLON.Observable<BABYLON.NodeEditor.SharedUIComponents.PropertyChangedEvent>;
2567
2843
  }
2568
2844
  export class ImagePropertyGridComponent extends React.Component<IImagePropertyGridComponentProps> {
2569
2845
  constructor(props: IImagePropertyGridComponentProps);
@@ -2571,10 +2847,16 @@ declare module BABYLON.NodeEditor {
2571
2847
  }
2572
2848
 
2573
2849
 
2574
- interface IInputTextPropertyGridComponentProps {
2850
+
2851
+ }
2852
+ declare module BABYLON.NodeEditor {
2853
+
2854
+ }
2855
+ declare module BABYLON.NodeEditor.SharedUIComponents {
2856
+ interface IInputTextPropertyGridComponentProps {
2575
2857
  inputText: BABYLON.GUI.InputText;
2576
- lockObject: LockObject;
2577
- onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
2858
+ lockObject: BABYLON.NodeEditor.SharedUIComponents.LockObject;
2859
+ onPropertyChangedObservable?: BABYLON.Observable<BABYLON.NodeEditor.SharedUIComponents.PropertyChangedEvent>;
2578
2860
  }
2579
2861
  export class InputTextPropertyGridComponent extends React.Component<IInputTextPropertyGridComponentProps> {
2580
2862
  constructor(props: IInputTextPropertyGridComponentProps);
@@ -2582,10 +2864,16 @@ declare module BABYLON.NodeEditor {
2582
2864
  }
2583
2865
 
2584
2866
 
2585
- interface ILinePropertyGridComponentProps {
2867
+
2868
+ }
2869
+ declare module BABYLON.NodeEditor {
2870
+
2871
+ }
2872
+ declare module BABYLON.NodeEditor.SharedUIComponents {
2873
+ interface ILinePropertyGridComponentProps {
2586
2874
  line: BABYLON.GUI.Line;
2587
- lockObject: LockObject;
2588
- onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
2875
+ lockObject: BABYLON.NodeEditor.SharedUIComponents.LockObject;
2876
+ onPropertyChangedObservable?: BABYLON.Observable<BABYLON.NodeEditor.SharedUIComponents.PropertyChangedEvent>;
2589
2877
  }
2590
2878
  export class LinePropertyGridComponent extends React.Component<ILinePropertyGridComponentProps> {
2591
2879
  constructor(props: ILinePropertyGridComponentProps);
@@ -2594,10 +2882,16 @@ declare module BABYLON.NodeEditor {
2594
2882
  }
2595
2883
 
2596
2884
 
2597
- interface IRadioButtonPropertyGridComponentProps {
2885
+
2886
+ }
2887
+ declare module BABYLON.NodeEditor {
2888
+
2889
+ }
2890
+ declare module BABYLON.NodeEditor.SharedUIComponents {
2891
+ interface IRadioButtonPropertyGridComponentProps {
2598
2892
  radioButtons: BABYLON.GUI.RadioButton[];
2599
- lockObject: LockObject;
2600
- onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
2893
+ lockObject: BABYLON.NodeEditor.SharedUIComponents.LockObject;
2894
+ onPropertyChangedObservable?: BABYLON.Observable<BABYLON.NodeEditor.SharedUIComponents.PropertyChangedEvent>;
2601
2895
  }
2602
2896
  export class RadioButtonPropertyGridComponent extends React.Component<IRadioButtonPropertyGridComponentProps> {
2603
2897
  constructor(props: IRadioButtonPropertyGridComponentProps);
@@ -2605,10 +2899,16 @@ declare module BABYLON.NodeEditor {
2605
2899
  }
2606
2900
 
2607
2901
 
2608
- interface IRectanglePropertyGridComponentProps {
2902
+
2903
+ }
2904
+ declare module BABYLON.NodeEditor {
2905
+
2906
+ }
2907
+ declare module BABYLON.NodeEditor.SharedUIComponents {
2908
+ interface IRectanglePropertyGridComponentProps {
2609
2909
  rectangle: BABYLON.GUI.Rectangle;
2610
- lockObject: LockObject;
2611
- onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
2910
+ lockObject: BABYLON.NodeEditor.SharedUIComponents.LockObject;
2911
+ onPropertyChangedObservable?: BABYLON.Observable<BABYLON.NodeEditor.SharedUIComponents.PropertyChangedEvent>;
2612
2912
  }
2613
2913
  export class RectanglePropertyGridComponent extends React.Component<IRectanglePropertyGridComponentProps> {
2614
2914
  constructor(props: IRectanglePropertyGridComponentProps);
@@ -2616,10 +2916,16 @@ declare module BABYLON.NodeEditor {
2616
2916
  }
2617
2917
 
2618
2918
 
2619
- interface IScrollViewerPropertyGridComponentProps {
2919
+
2920
+ }
2921
+ declare module BABYLON.NodeEditor {
2922
+
2923
+ }
2924
+ declare module BABYLON.NodeEditor.SharedUIComponents {
2925
+ interface IScrollViewerPropertyGridComponentProps {
2620
2926
  scrollViewer: BABYLON.GUI.ScrollViewer;
2621
- lockObject: LockObject;
2622
- onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
2927
+ lockObject: BABYLON.NodeEditor.SharedUIComponents.LockObject;
2928
+ onPropertyChangedObservable?: BABYLON.Observable<BABYLON.NodeEditor.SharedUIComponents.PropertyChangedEvent>;
2623
2929
  }
2624
2930
  export class ScrollViewerPropertyGridComponent extends React.Component<IScrollViewerPropertyGridComponentProps> {
2625
2931
  constructor(props: IScrollViewerPropertyGridComponentProps);
@@ -2627,10 +2933,16 @@ declare module BABYLON.NodeEditor {
2627
2933
  }
2628
2934
 
2629
2935
 
2630
- interface ISliderPropertyGridComponentProps {
2936
+
2937
+ }
2938
+ declare module BABYLON.NodeEditor {
2939
+
2940
+ }
2941
+ declare module BABYLON.NodeEditor.SharedUIComponents {
2942
+ interface ISliderPropertyGridComponentProps {
2631
2943
  slider: BABYLON.GUI.Slider;
2632
- lockObject: LockObject;
2633
- onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
2944
+ lockObject: BABYLON.NodeEditor.SharedUIComponents.LockObject;
2945
+ onPropertyChangedObservable?: BABYLON.Observable<BABYLON.NodeEditor.SharedUIComponents.PropertyChangedEvent>;
2634
2946
  }
2635
2947
  export class SliderPropertyGridComponent extends React.Component<ISliderPropertyGridComponentProps> {
2636
2948
  constructor(props: ISliderPropertyGridComponentProps);
@@ -2638,10 +2950,16 @@ declare module BABYLON.NodeEditor {
2638
2950
  }
2639
2951
 
2640
2952
 
2641
- interface IStackPanelPropertyGridComponentProps {
2953
+
2954
+ }
2955
+ declare module BABYLON.NodeEditor {
2956
+
2957
+ }
2958
+ declare module BABYLON.NodeEditor.SharedUIComponents {
2959
+ interface IStackPanelPropertyGridComponentProps {
2642
2960
  stackPanel: BABYLON.GUI.StackPanel;
2643
- lockObject: LockObject;
2644
- onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
2961
+ lockObject: BABYLON.NodeEditor.SharedUIComponents.LockObject;
2962
+ onPropertyChangedObservable?: BABYLON.Observable<BABYLON.NodeEditor.SharedUIComponents.PropertyChangedEvent>;
2645
2963
  }
2646
2964
  export class StackPanelPropertyGridComponent extends React.Component<IStackPanelPropertyGridComponentProps> {
2647
2965
  constructor(props: IStackPanelPropertyGridComponentProps);
@@ -2649,10 +2967,16 @@ declare module BABYLON.NodeEditor {
2649
2967
  }
2650
2968
 
2651
2969
 
2652
- interface ITextBlockPropertyGridComponentProps {
2970
+
2971
+ }
2972
+ declare module BABYLON.NodeEditor {
2973
+
2974
+ }
2975
+ declare module BABYLON.NodeEditor.SharedUIComponents {
2976
+ interface ITextBlockPropertyGridComponentProps {
2653
2977
  textBlock: BABYLON.GUI.TextBlock;
2654
- lockObject: LockObject;
2655
- onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
2978
+ lockObject: BABYLON.NodeEditor.SharedUIComponents.LockObject;
2979
+ onPropertyChangedObservable?: BABYLON.Observable<BABYLON.NodeEditor.SharedUIComponents.PropertyChangedEvent>;
2656
2980
  }
2657
2981
  export class TextBlockPropertyGridComponent extends React.Component<ITextBlockPropertyGridComponentProps> {
2658
2982
  constructor(props: ITextBlockPropertyGridComponentProps);
@@ -2660,7 +2984,13 @@ declare module BABYLON.NodeEditor {
2660
2984
  }
2661
2985
 
2662
2986
 
2663
- /**
2987
+
2988
+ }
2989
+ declare module BABYLON.NodeEditor {
2990
+
2991
+ }
2992
+ declare module BABYLON.NodeEditor.SharedUIComponents {
2993
+ /**
2664
2994
  * Class used to provide lock mechanism
2665
2995
  */
2666
2996
  export class LockObject {
@@ -2673,6 +3003,9 @@ declare module BABYLON.NodeEditor {
2673
3003
 
2674
3004
 
2675
3005
  }
3006
+ declare module BABYLON.NodeEditor {
3007
+
3008
+ }
2676
3009
 
2677
3010
 
2678
3011