babylonjs-node-editor 5.25.0 → 5.26.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.
|
@@ -1368,6 +1368,65 @@ export class HexColor extends React.Component<IHexColorProps, {
|
|
|
1368
1368
|
render(): JSX.Element;
|
|
1369
1369
|
}
|
|
1370
1370
|
|
|
1371
|
+
}
|
|
1372
|
+
declare module "babylonjs-node-editor/components/bars/CommandBarComponent" {
|
|
1373
|
+
import * as React from "react";
|
|
1374
|
+
export interface ICommandBarComponentProps {
|
|
1375
|
+
onSaveButtonClicked?: () => void;
|
|
1376
|
+
onSaveToSnippetButtonClicked?: () => void;
|
|
1377
|
+
onLoadFromSnippetButtonClicked?: () => void;
|
|
1378
|
+
onHelpButtonClicked?: () => void;
|
|
1379
|
+
onGiveFeedbackButtonClicked?: () => void;
|
|
1380
|
+
onSelectButtonClicked?: () => void;
|
|
1381
|
+
onPanButtonClicked?: () => void;
|
|
1382
|
+
onZoomButtonClicked?: () => void;
|
|
1383
|
+
onFitButtonClicked?: () => void;
|
|
1384
|
+
}
|
|
1385
|
+
export const CommandBarComponent: React.FC<ICommandBarComponentProps>;
|
|
1386
|
+
|
|
1387
|
+
}
|
|
1388
|
+
declare module "babylonjs-node-editor/components/bars/CommandButtonComponent" {
|
|
1389
|
+
import * as React from "react";
|
|
1390
|
+
export interface ICommandButtonComponentProps {
|
|
1391
|
+
tooltip: string;
|
|
1392
|
+
shortcut?: string;
|
|
1393
|
+
icon: string;
|
|
1394
|
+
iconLabel?: string;
|
|
1395
|
+
isActive: boolean;
|
|
1396
|
+
onClick: () => void;
|
|
1397
|
+
disabled?: boolean;
|
|
1398
|
+
}
|
|
1399
|
+
export const CommandButtonComponent: React.FC<ICommandButtonComponentProps>;
|
|
1400
|
+
|
|
1401
|
+
}
|
|
1402
|
+
declare module "babylonjs-node-editor/components/bars/CommandDropdownComponent" {
|
|
1403
|
+
import * as React from "react";
|
|
1404
|
+
interface ICommandDropdownComponentProps {
|
|
1405
|
+
icon?: string;
|
|
1406
|
+
tooltip: string;
|
|
1407
|
+
defaultValue?: string;
|
|
1408
|
+
items: {
|
|
1409
|
+
label: string;
|
|
1410
|
+
icon?: string;
|
|
1411
|
+
fileButton?: boolean;
|
|
1412
|
+
onClick?: () => void;
|
|
1413
|
+
onCheck?: (value: boolean) => void;
|
|
1414
|
+
storeKey?: string;
|
|
1415
|
+
isActive?: boolean;
|
|
1416
|
+
defaultValue?: boolean | string;
|
|
1417
|
+
subItems?: string[];
|
|
1418
|
+
}[];
|
|
1419
|
+
toRight?: boolean;
|
|
1420
|
+
}
|
|
1421
|
+
export class CommandDropdownComponent extends React.Component<ICommandDropdownComponentProps, {
|
|
1422
|
+
isExpanded: boolean;
|
|
1423
|
+
activeState: string;
|
|
1424
|
+
}> {
|
|
1425
|
+
constructor(props: ICommandDropdownComponentProps);
|
|
1426
|
+
render(): JSX.Element;
|
|
1427
|
+
}
|
|
1428
|
+
export {};
|
|
1429
|
+
|
|
1371
1430
|
}
|
|
1372
1431
|
declare module "babylonjs-node-editor/components/Button" {
|
|
1373
1432
|
/// <reference types="react" />
|
|
@@ -1384,6 +1443,7 @@ export const Button: React.FC<ButtonProps>;
|
|
|
1384
1443
|
}
|
|
1385
1444
|
declare module "babylonjs-node-editor/components/classNames" {
|
|
1386
1445
|
export function ClassNames(names: any, styleObject: any): string;
|
|
1446
|
+
export function JoinClassNames(styleObject: any, ...names: string[]): string;
|
|
1387
1447
|
|
|
1388
1448
|
}
|
|
1389
1449
|
declare module "babylonjs-node-editor/components/Icon" {
|
|
@@ -1404,6 +1464,25 @@ export type LabelProps = {
|
|
|
1404
1464
|
};
|
|
1405
1465
|
export const Label: React.FC<LabelProps>;
|
|
1406
1466
|
|
|
1467
|
+
}
|
|
1468
|
+
declare module "babylonjs-node-editor/components/lines/FileButtonLineComponent" {
|
|
1469
|
+
import * as React from "react";
|
|
1470
|
+
export interface IFileButtonLineComponentProps {
|
|
1471
|
+
label: string;
|
|
1472
|
+
onClick: (file: File) => void;
|
|
1473
|
+
accept: string;
|
|
1474
|
+
icon?: string;
|
|
1475
|
+
iconLabel?: string;
|
|
1476
|
+
}
|
|
1477
|
+
export class FileButtonLineComponent extends React.Component<IFileButtonLineComponentProps> {
|
|
1478
|
+
private static _IDGenerator;
|
|
1479
|
+
private _id;
|
|
1480
|
+
private _uploadInputRef;
|
|
1481
|
+
constructor(props: IFileButtonLineComponentProps);
|
|
1482
|
+
onChange(evt: any): void;
|
|
1483
|
+
render(): JSX.Element;
|
|
1484
|
+
}
|
|
1485
|
+
|
|
1407
1486
|
}
|
|
1408
1487
|
declare module "babylonjs-node-editor/components/MessageDialog" {
|
|
1409
1488
|
import * as React from "react";
|
|
@@ -1986,6 +2065,7 @@ export interface IOptionsLineComponentProps {
|
|
|
1986
2065
|
defaultIfNull?: number;
|
|
1987
2066
|
fromFontDropdown?: boolean;
|
|
1988
2067
|
valueProp?: number;
|
|
2068
|
+
fallbackValue?: number;
|
|
1989
2069
|
}
|
|
1990
2070
|
export class OptionsLineComponent extends React.Component<IOptionsLineComponentProps, {
|
|
1991
2071
|
value: number | string;
|
|
@@ -3007,6 +3087,24 @@ export class PropertyChangedEvent {
|
|
|
3007
3087
|
allowNullValue?: boolean;
|
|
3008
3088
|
}
|
|
3009
3089
|
|
|
3090
|
+
}
|
|
3091
|
+
declare module "babylonjs-node-editor/stories/bars/CommandBarComponent.stories" {
|
|
3092
|
+
/// <reference types="react" />
|
|
3093
|
+
const _default: {
|
|
3094
|
+
|
|
3095
|
+
};
|
|
3096
|
+
export default _default;
|
|
3097
|
+
export const Default: {};
|
|
3098
|
+
|
|
3099
|
+
}
|
|
3100
|
+
declare module "babylonjs-node-editor/stories/bars/CommandButtonComponent.stories" {
|
|
3101
|
+
/// <reference types="react" />
|
|
3102
|
+
const _default: {
|
|
3103
|
+
|
|
3104
|
+
};
|
|
3105
|
+
export default _default;
|
|
3106
|
+
export const Default: {};
|
|
3107
|
+
|
|
3010
3108
|
}
|
|
3011
3109
|
declare module "babylonjs-node-editor/stories/Button.stories" {
|
|
3012
3110
|
/// <reference types="react" />
|
|
@@ -3043,6 +3141,15 @@ const _default: {
|
|
|
3043
3141
|
export default _default;
|
|
3044
3142
|
export const Default: any;
|
|
3045
3143
|
|
|
3144
|
+
}
|
|
3145
|
+
declare module "babylonjs-node-editor/stories/lines/FileButtonLineComponent.stories" {
|
|
3146
|
+
import { FileButtonLineComponent } from "babylonjs-node-editor/components/lines/FileButtonLineComponent";
|
|
3147
|
+
const _default: {
|
|
3148
|
+
component: typeof FileButtonLineComponent;
|
|
3149
|
+
};
|
|
3150
|
+
export default _default;
|
|
3151
|
+
export const Default: {};
|
|
3152
|
+
|
|
3046
3153
|
}
|
|
3047
3154
|
declare module "babylonjs-node-editor/stories/MessageDialog.stories" {
|
|
3048
3155
|
/// <reference types="react" />
|
|
@@ -4406,6 +4513,76 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
4406
4513
|
|
|
4407
4514
|
|
|
4408
4515
|
|
|
4516
|
+
}
|
|
4517
|
+
declare module BABYLON.NodeEditor {
|
|
4518
|
+
|
|
4519
|
+
}
|
|
4520
|
+
declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
4521
|
+
export interface ICommandBarComponentProps {
|
|
4522
|
+
onSaveButtonClicked?: () => void;
|
|
4523
|
+
onSaveToSnippetButtonClicked?: () => void;
|
|
4524
|
+
onLoadFromSnippetButtonClicked?: () => void;
|
|
4525
|
+
onHelpButtonClicked?: () => void;
|
|
4526
|
+
onGiveFeedbackButtonClicked?: () => void;
|
|
4527
|
+
onSelectButtonClicked?: () => void;
|
|
4528
|
+
onPanButtonClicked?: () => void;
|
|
4529
|
+
onZoomButtonClicked?: () => void;
|
|
4530
|
+
onFitButtonClicked?: () => void;
|
|
4531
|
+
}
|
|
4532
|
+
export var CommandBarComponent: React.FC<ICommandBarComponentProps>;
|
|
4533
|
+
|
|
4534
|
+
|
|
4535
|
+
|
|
4536
|
+
}
|
|
4537
|
+
declare module BABYLON.NodeEditor {
|
|
4538
|
+
|
|
4539
|
+
}
|
|
4540
|
+
declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
4541
|
+
export interface ICommandButtonComponentProps {
|
|
4542
|
+
tooltip: string;
|
|
4543
|
+
shortcut?: string;
|
|
4544
|
+
icon: string;
|
|
4545
|
+
iconLabel?: string;
|
|
4546
|
+
isActive: boolean;
|
|
4547
|
+
onClick: () => void;
|
|
4548
|
+
disabled?: boolean;
|
|
4549
|
+
}
|
|
4550
|
+
export var CommandButtonComponent: React.FC<ICommandButtonComponentProps>;
|
|
4551
|
+
|
|
4552
|
+
|
|
4553
|
+
|
|
4554
|
+
}
|
|
4555
|
+
declare module BABYLON.NodeEditor {
|
|
4556
|
+
|
|
4557
|
+
}
|
|
4558
|
+
declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
4559
|
+
interface ICommandDropdownComponentProps {
|
|
4560
|
+
icon?: string;
|
|
4561
|
+
tooltip: string;
|
|
4562
|
+
defaultValue?: string;
|
|
4563
|
+
items: {
|
|
4564
|
+
label: string;
|
|
4565
|
+
icon?: string;
|
|
4566
|
+
fileButton?: boolean;
|
|
4567
|
+
onClick?: () => void;
|
|
4568
|
+
onCheck?: (value: boolean) => void;
|
|
4569
|
+
storeKey?: string;
|
|
4570
|
+
isActive?: boolean;
|
|
4571
|
+
defaultValue?: boolean | string;
|
|
4572
|
+
subItems?: string[];
|
|
4573
|
+
}[];
|
|
4574
|
+
toRight?: boolean;
|
|
4575
|
+
}
|
|
4576
|
+
export class CommandDropdownComponent extends React.Component<ICommandDropdownComponentProps, {
|
|
4577
|
+
isExpanded: boolean;
|
|
4578
|
+
activeState: string;
|
|
4579
|
+
}> {
|
|
4580
|
+
constructor(props: ICommandDropdownComponentProps);
|
|
4581
|
+
render(): JSX.Element;
|
|
4582
|
+
}
|
|
4583
|
+
|
|
4584
|
+
|
|
4585
|
+
|
|
4409
4586
|
}
|
|
4410
4587
|
declare module BABYLON.NodeEditor {
|
|
4411
4588
|
|
|
@@ -4430,6 +4607,7 @@ declare module BABYLON.NodeEditor {
|
|
|
4430
4607
|
}
|
|
4431
4608
|
declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
4432
4609
|
export function ClassNames(names: any, styleObject: any): string;
|
|
4610
|
+
export function JoinClassNames(styleObject: any, ...names: string[]): string;
|
|
4433
4611
|
|
|
4434
4612
|
|
|
4435
4613
|
|
|
@@ -4461,6 +4639,29 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
4461
4639
|
|
|
4462
4640
|
|
|
4463
4641
|
|
|
4642
|
+
}
|
|
4643
|
+
declare module BABYLON.NodeEditor {
|
|
4644
|
+
|
|
4645
|
+
}
|
|
4646
|
+
declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
4647
|
+
export interface IFileButtonLineComponentProps {
|
|
4648
|
+
label: string;
|
|
4649
|
+
onClick: (file: File) => void;
|
|
4650
|
+
accept: string;
|
|
4651
|
+
icon?: string;
|
|
4652
|
+
iconLabel?: string;
|
|
4653
|
+
}
|
|
4654
|
+
export class FileButtonLineComponent extends React.Component<IFileButtonLineComponentProps> {
|
|
4655
|
+
private static _IDGenerator;
|
|
4656
|
+
private _id;
|
|
4657
|
+
private _uploadInputRef;
|
|
4658
|
+
constructor(props: IFileButtonLineComponentProps);
|
|
4659
|
+
onChange(evt: any): void;
|
|
4660
|
+
render(): JSX.Element;
|
|
4661
|
+
}
|
|
4662
|
+
|
|
4663
|
+
|
|
4664
|
+
|
|
4464
4665
|
}
|
|
4465
4666
|
declare module BABYLON.NodeEditor {
|
|
4466
4667
|
|
|
@@ -5096,6 +5297,7 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
5096
5297
|
defaultIfNull?: number;
|
|
5097
5298
|
fromFontDropdown?: boolean;
|
|
5098
5299
|
valueProp?: number;
|
|
5300
|
+
fallbackValue?: number;
|
|
5099
5301
|
}
|
|
5100
5302
|
export class OptionsLineComponent extends React.Component<IOptionsLineComponentProps, {
|
|
5101
5303
|
value: number | string;
|
|
@@ -6150,6 +6352,32 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
6150
6352
|
|
|
6151
6353
|
|
|
6152
6354
|
|
|
6355
|
+
}
|
|
6356
|
+
declare module BABYLON.NodeEditor {
|
|
6357
|
+
|
|
6358
|
+
}
|
|
6359
|
+
declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
6360
|
+
/// <reference types="react" />
|
|
6361
|
+
var _default: {
|
|
6362
|
+
component: ICommandBarComponentProps>;
|
|
6363
|
+
};
|
|
6364
|
+
export var Default: {};
|
|
6365
|
+
|
|
6366
|
+
|
|
6367
|
+
|
|
6368
|
+
}
|
|
6369
|
+
declare module BABYLON.NodeEditor {
|
|
6370
|
+
|
|
6371
|
+
}
|
|
6372
|
+
declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
6373
|
+
/// <reference types="react" />
|
|
6374
|
+
var _default: {
|
|
6375
|
+
component: ICommandButtonComponentProps>;
|
|
6376
|
+
};
|
|
6377
|
+
export var Default: {};
|
|
6378
|
+
|
|
6379
|
+
|
|
6380
|
+
|
|
6153
6381
|
}
|
|
6154
6382
|
declare module BABYLON.NodeEditor {
|
|
6155
6383
|
|
|
@@ -6195,6 +6423,18 @@ declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
|
6195
6423
|
|
|
6196
6424
|
|
|
6197
6425
|
|
|
6426
|
+
}
|
|
6427
|
+
declare module BABYLON.NodeEditor {
|
|
6428
|
+
|
|
6429
|
+
}
|
|
6430
|
+
declare module BABYLON.NodeEditor.SharedUIComponents {
|
|
6431
|
+
var _default: {
|
|
6432
|
+
component: typeof BABYLON.NodeEditor.SharedUIComponents.FileButtonLineComponent;
|
|
6433
|
+
};
|
|
6434
|
+
export var Default: {};
|
|
6435
|
+
|
|
6436
|
+
|
|
6437
|
+
|
|
6198
6438
|
}
|
|
6199
6439
|
declare module BABYLON.NodeEditor {
|
|
6200
6440
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babylonjs-node-editor",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.26.0",
|
|
4
4
|
"main": "babylon.nodeEditor.js",
|
|
5
5
|
"types": "babylon.nodeEditor.module.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"clean": "rimraf dist && rimraf babylon*.*"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"babylonjs": "^5.
|
|
17
|
+
"babylonjs": "^5.26.0"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@dev/build-tools": "1.0.0",
|