@babylonjs/node-editor 7.27.3 → 7.29.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -364,93 +364,6 @@ export class Popup {
364
364
  static _CopyStyles(sourceDoc: HTMLDocument, targetDoc: HTMLDocument): void;
365
365
  }
366
366
 
367
- }
368
- declare module "@babylonjs/node-editor/sharedComponents/lineWithFileButtonComponent" {
369
- import * as React from "react";
370
- interface ILineWithFileButtonComponentProps {
371
- title: string;
372
- closed?: boolean;
373
- multiple?: boolean;
374
- label: string;
375
- iconImage: any;
376
- onIconClick: (file: File) => void;
377
- accept: string;
378
- uploadName?: string;
379
- }
380
- export class LineWithFileButtonComponent extends React.Component<ILineWithFileButtonComponentProps, {
381
- isExpanded: boolean;
382
- }> {
383
- private _uploadRef;
384
- constructor(props: ILineWithFileButtonComponentProps);
385
- onChange(evt: any): void;
386
- switchExpandedState(): void;
387
-
388
- }
389
- export {};
390
-
391
- }
392
- declare module "@babylonjs/node-editor/sharedComponents/lineContainerComponent" {
393
- import * as React from "react";
394
- interface ILineContainerComponentProps {
395
- title: string;
396
- children: any[] | any;
397
- closed?: boolean;
398
- }
399
- export class LineContainerComponent extends React.Component<ILineContainerComponentProps, {
400
- isExpanded: boolean;
401
- }> {
402
- constructor(props: ILineContainerComponentProps);
403
- switchExpandedState(): void;
404
-
405
-
406
- }
407
- export {};
408
-
409
- }
410
- declare module "@babylonjs/node-editor/sharedComponents/fileButtonLineComponent" {
411
- import * as React from "react";
412
- interface IFileButtonLineComponentProps {
413
- label: string;
414
- onClick: (file: File) => void;
415
- accept: string;
416
- uploadName?: string;
417
- }
418
- export class FileButtonLineComponent extends React.Component<IFileButtonLineComponentProps> {
419
- private _uploadRef;
420
- constructor(props: IFileButtonLineComponentProps);
421
- onChange(evt: any): void;
422
-
423
- }
424
- export {};
425
-
426
- }
427
- declare module "@babylonjs/node-editor/sharedComponents/draggableLineWithButtonComponent" {
428
- import * as React from "react";
429
- export interface IDraggableLineWithButtonComponent {
430
- data: string;
431
- tooltip: string;
432
- iconImage: any;
433
- onIconClick: (value: string) => void;
434
- iconTitle: string;
435
- lenSuffixToRemove?: number;
436
- }
437
- export class DraggableLineWithButtonComponent extends React.Component<IDraggableLineWithButtonComponent> {
438
- constructor(props: IDraggableLineWithButtonComponent);
439
-
440
- }
441
-
442
- }
443
- declare module "@babylonjs/node-editor/sharedComponents/draggableLineComponent" {
444
- import * as React from "react";
445
- export interface IButtonLineComponentProps {
446
- data: string;
447
- tooltip: string;
448
- }
449
- export class DraggableLineComponent extends React.Component<IButtonLineComponentProps> {
450
- constructor(props: IButtonLineComponentProps);
451
-
452
- }
453
-
454
367
  }
455
368
  declare module "@babylonjs/node-editor/sharedComponents/checkBoxLineComponent" {
456
369
  import * as React from "react";
@@ -3059,6 +2972,30 @@ export class LinkButtonComponent extends React.Component<ILinkButtonComponentPro
3059
2972
  }
3060
2973
  export {};
3061
2974
 
2975
+ }
2976
+ declare module "@babylonjs/node-editor/lines/lineWithFileButtonComponent" {
2977
+ import * as React from "react";
2978
+ interface ILineWithFileButtonComponentProps {
2979
+ title: string;
2980
+ closed?: boolean;
2981
+ multiple?: boolean;
2982
+ label: string;
2983
+ iconImage: any;
2984
+ onIconClick: (file: File) => void;
2985
+ accept: string;
2986
+ uploadName?: string;
2987
+ }
2988
+ export class LineWithFileButtonComponent extends React.Component<ILineWithFileButtonComponentProps, {
2989
+ isExpanded: boolean;
2990
+ }> {
2991
+ private _uploadRef;
2992
+ constructor(props: ILineWithFileButtonComponentProps);
2993
+ onChange(evt: any): void;
2994
+ switchExpandedState(): void;
2995
+
2996
+ }
2997
+ export {};
2998
+
3062
2999
  }
3063
3000
  declare module "@babylonjs/node-editor/lines/lineContainerComponent" {
3064
3001
  import * as React from "react";
@@ -3287,10 +3224,28 @@ export class FileButtonLine extends React.Component<IFileButtonLineProps> {
3287
3224
  }
3288
3225
  export {};
3289
3226
 
3227
+ }
3228
+ declare module "@babylonjs/node-editor/lines/draggableLineWithButtonComponent" {
3229
+ import * as React from "react";
3230
+ export interface IDraggableLineWithButtonComponent {
3231
+ format: string;
3232
+ data: string;
3233
+ tooltip: string;
3234
+ iconImage: any;
3235
+ onIconClick: (value: string) => void;
3236
+ iconTitle: string;
3237
+ lenSuffixToRemove?: number;
3238
+ }
3239
+ export class DraggableLineWithButtonComponent extends React.Component<IDraggableLineWithButtonComponent> {
3240
+ constructor(props: IDraggableLineWithButtonComponent);
3241
+
3242
+ }
3243
+
3290
3244
  }
3291
3245
  declare module "@babylonjs/node-editor/lines/draggableLineComponent" {
3292
3246
  import * as React from "react";
3293
3247
  export interface IButtonLineComponentProps {
3248
+ format: string;
3294
3249
  data: string;
3295
3250
  tooltip: string;
3296
3251
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babylonjs/node-editor",
3
- "version": "7.27.3",
3
+ "version": "7.29.0",
4
4
  "main": "dist/babylon.nodeEditor.max.js",
5
5
  "module": "dist/babylon.nodeEditor.max.js",
6
6
  "esnext": "dist/babylon.nodeEditor.max.js",
@@ -23,7 +23,7 @@
23
23
  "@types/react-dom": ">=16.0.9"
24
24
  },
25
25
  "devDependencies": {
26
- "@babylonjs/core": "^7.27.3",
26
+ "@babylonjs/core": "^7.29.0",
27
27
  "react": "^17.0.2",
28
28
  "react-dom": "^17.0.2"
29
29
  },