babylonjs-node-editor 5.25.0 → 5.26.1

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.
@@ -394,7 +394,7 @@ declare module BABYLON.NodeEditor {
394
394
  get connectedPort(): BABYLON.Nullable<BABYLON.NodeEditor.SharedUIComponents.IPortData>;
395
395
  set connectedPort(value: BABYLON.Nullable<BABYLON.NodeEditor.SharedUIComponents.IPortData>);
396
396
  get direction(): BABYLON.NodeEditor.SharedUIComponents.PortDataDirection;
397
- get ownerData(): import("core/Materials/Node/nodeMaterialBlock").NodeMaterialBlock;
397
+ get ownerData(): BABYLON.NodeMaterialBlock;
398
398
  get needDualDirectionValidation(): boolean;
399
399
  get hasEndpoints(): boolean;
400
400
  get endpoints(): BABYLON.NodeEditor.SharedUIComponents.IPortData[];
@@ -1012,6 +1012,76 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
1012
1012
 
1013
1013
 
1014
1014
 
1015
+ }
1016
+ declare module BABYLON.NodeEditor {
1017
+
1018
+ }
1019
+ declare module BABYLON.NodeEditor.SharedUIComponents {
1020
+ export interface ICommandBarComponentProps {
1021
+ onSaveButtonClicked?: () => void;
1022
+ onSaveToSnippetButtonClicked?: () => void;
1023
+ onLoadFromSnippetButtonClicked?: () => void;
1024
+ onHelpButtonClicked?: () => void;
1025
+ onGiveFeedbackButtonClicked?: () => void;
1026
+ onSelectButtonClicked?: () => void;
1027
+ onPanButtonClicked?: () => void;
1028
+ onZoomButtonClicked?: () => void;
1029
+ onFitButtonClicked?: () => void;
1030
+ }
1031
+ export var CommandBarComponent: React.FC<ICommandBarComponentProps>;
1032
+
1033
+
1034
+
1035
+ }
1036
+ declare module BABYLON.NodeEditor {
1037
+
1038
+ }
1039
+ declare module BABYLON.NodeEditor.SharedUIComponents {
1040
+ export interface ICommandButtonComponentProps {
1041
+ tooltip: string;
1042
+ shortcut?: string;
1043
+ icon: string;
1044
+ iconLabel?: string;
1045
+ isActive: boolean;
1046
+ onClick: () => void;
1047
+ disabled?: boolean;
1048
+ }
1049
+ export var CommandButtonComponent: React.FC<ICommandButtonComponentProps>;
1050
+
1051
+
1052
+
1053
+ }
1054
+ declare module BABYLON.NodeEditor {
1055
+
1056
+ }
1057
+ declare module BABYLON.NodeEditor.SharedUIComponents {
1058
+ interface ICommandDropdownComponentProps {
1059
+ icon?: string;
1060
+ tooltip: string;
1061
+ defaultValue?: string;
1062
+ items: {
1063
+ label: string;
1064
+ icon?: string;
1065
+ fileButton?: boolean;
1066
+ onClick?: () => void;
1067
+ onCheck?: (value: boolean) => void;
1068
+ storeKey?: string;
1069
+ isActive?: boolean;
1070
+ defaultValue?: boolean | string;
1071
+ subItems?: string[];
1072
+ }[];
1073
+ toRight?: boolean;
1074
+ }
1075
+ export class CommandDropdownComponent extends React.Component<ICommandDropdownComponentProps, {
1076
+ isExpanded: boolean;
1077
+ activeState: string;
1078
+ }> {
1079
+ constructor(props: ICommandDropdownComponentProps);
1080
+ render(): JSX.Element;
1081
+ }
1082
+
1083
+
1084
+
1015
1085
  }
1016
1086
  declare module BABYLON.NodeEditor {
1017
1087
 
@@ -1036,6 +1106,7 @@ declare module BABYLON.NodeEditor {
1036
1106
  }
1037
1107
  declare module BABYLON.NodeEditor.SharedUIComponents {
1038
1108
  export function ClassNames(names: any, styleObject: any): string;
1109
+ export function JoinClassNames(styleObject: any, ...names: string[]): string;
1039
1110
 
1040
1111
 
1041
1112
 
@@ -1067,6 +1138,29 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
1067
1138
 
1068
1139
 
1069
1140
 
1141
+ }
1142
+ declare module BABYLON.NodeEditor {
1143
+
1144
+ }
1145
+ declare module BABYLON.NodeEditor.SharedUIComponents {
1146
+ export interface IFileButtonLineComponentProps {
1147
+ label: string;
1148
+ onClick: (file: File) => void;
1149
+ accept: string;
1150
+ icon?: string;
1151
+ iconLabel?: string;
1152
+ }
1153
+ export class FileButtonLineComponent extends React.Component<IFileButtonLineComponentProps> {
1154
+ private static _IDGenerator;
1155
+ private _id;
1156
+ private _uploadInputRef;
1157
+ constructor(props: IFileButtonLineComponentProps);
1158
+ onChange(evt: any): void;
1159
+ render(): JSX.Element;
1160
+ }
1161
+
1162
+
1163
+
1070
1164
  }
1071
1165
  declare module BABYLON.NodeEditor {
1072
1166
 
@@ -1702,6 +1796,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
1702
1796
  defaultIfNull?: number;
1703
1797
  fromFontDropdown?: boolean;
1704
1798
  valueProp?: number;
1799
+ fallbackValue?: number;
1705
1800
  }
1706
1801
  export class OptionsLineComponent extends React.Component<IOptionsLineComponentProps, {
1707
1802
  value: number | string;
@@ -2756,81 +2851,6 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
2756
2851
 
2757
2852
 
2758
2853
 
2759
- }
2760
- declare module BABYLON.NodeEditor {
2761
-
2762
- }
2763
- declare module BABYLON.NodeEditor.SharedUIComponents {
2764
- /// <reference types="react" />
2765
- var _default: {
2766
- title: string;
2767
- component: import("react").FC<BABYLON.NodeEditor.SharedUIComponents.ButtonProps>;
2768
- };
2769
- export var Default: any;
2770
- export var Wide: any;
2771
- export var Small: any;
2772
-
2773
-
2774
-
2775
- }
2776
- declare module BABYLON.NodeEditor {
2777
-
2778
- }
2779
- declare module BABYLON.NodeEditor.SharedUIComponents {
2780
- /// <reference types="react" />
2781
- var _default: {
2782
- title: string;
2783
- component: import("react").FC<BABYLON.NodeEditor.SharedUIComponents.IconProps>;
2784
- };
2785
- export var Light: any;
2786
- export var Dark: any;
2787
-
2788
-
2789
-
2790
- }
2791
- declare module BABYLON.NodeEditor {
2792
-
2793
- }
2794
- declare module BABYLON.NodeEditor.SharedUIComponents {
2795
- /// <reference types="react" />
2796
- var _default: {
2797
- title: string;
2798
- component: import("react").FC<BABYLON.NodeEditor.SharedUIComponents.LabelProps>;
2799
- };
2800
- export var Default: any;
2801
-
2802
-
2803
-
2804
- }
2805
- declare module BABYLON.NodeEditor {
2806
-
2807
- }
2808
- declare module BABYLON.NodeEditor.SharedUIComponents {
2809
- /// <reference types="react" />
2810
- var _default: {
2811
- title: string;
2812
- component: import("react").FC<BABYLON.NodeEditor.SharedUIComponents.MessageDialogProps>;
2813
- };
2814
- export var NoError: any;
2815
- export var Error: any;
2816
-
2817
-
2818
-
2819
- }
2820
- declare module BABYLON.NodeEditor {
2821
-
2822
- }
2823
- declare module BABYLON.NodeEditor.SharedUIComponents {
2824
- /// <reference types="react" />
2825
- var _default: {
2826
- title: string;
2827
- component: import("react").FC<BABYLON.NodeEditor.SharedUIComponents.ToggleProps>;
2828
- };
2829
- export var Default: any;
2830
- export var Padded: any;
2831
-
2832
-
2833
-
2834
2854
  }
2835
2855
  declare module BABYLON.NodeEditor {
2836
2856