next-flow-interface 0.24.27 → 0.24.28

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.
Files changed (2) hide show
  1. package/index.d.ts +126 -68
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -1,65 +1,111 @@
1
- import {
2
- AnimationGroup,
3
- ArcRotateCamera,
4
- BaseTexture,
5
- Color3,
6
- Color4,
7
- CubeTexture,
8
- DynamicTexture,
9
- Engine,
10
- InputBlock,
11
- Light,
12
- Material,
13
- Mesh,
14
- Node as Node_2,
15
- NodeMaterial,
16
- NodeMaterialBlock,
17
- NodeMaterialBlockConnectionPointTypes,
18
- PBRMaterial,
19
- Quaternion,
20
- Scene,
21
- ShadowGenerator,
22
- StandardMaterial,
23
- Texture,
24
- TransformNode,
25
- Animation as Animation_2,
26
- AbstractMesh,
27
- Vector2,
28
- Vector3,
29
- WebGPUEngine,
30
- } from '@babylonjs/core'
31
- import { WebXRDefaultExperience } from '@babylonjs/core/XR/webXRDefaultExperience'
32
- import OSS from 'ali-oss'
33
- import { EmptyProps, InputNumberProps, SelectProps, SwitchProps } from 'antd'
34
- import { Color, ColorPickerProps } from 'antd/es/color-picker'
1
+ import { AbstractMesh } from '@babylonjs/core'
2
+ import { Animation as Animation_2 } from '@babylonjs/core'
3
+ import { AnimationEventHandler } from 'react'
4
+ import { AnimationGroup } from '@babylonjs/core'
5
+ import { AnyWebByteStream } from 'strtok3'
6
+ import { ArcRotateCamera } from '@babylonjs/core'
7
+ import { AriaRole } from 'react'
8
+ import { Attributes } from 'react'
9
+ import { Awareness } from 'rhine-var'
10
+ import { BaseTexture } from '@babylonjs/core'
11
+ import { ClipboardEventHandler } from 'react'
12
+ import { Color } from 'antd/es/color-picker'
13
+ import { Color3 } from '@babylonjs/core'
14
+ import { Color3 as Color3_2 } from '@babylonjs/core/Maths/math.color'
15
+ import { Color4 } from '@babylonjs/core'
16
+ import { ColorPickerProps } from 'antd/es/color-picker'
17
+ import { CompositionEventHandler } from 'react'
18
+ import { CSSProperties } from 'react'
19
+ import { CSSResult } from 'lit'
20
+ import { CubeTexture } from '@babylonjs/core'
35
21
  import { DefaultOptionType } from 'antd/es/select'
36
- import {
37
- Attributes,
38
- DetailedHTMLProps,
39
- FunctionComponent,
40
- HTMLAttributes,
41
- JSX,
42
- MouseEvent as MouseEvent_2,
43
- MouseEventHandler,
44
- default as React_2,
45
- ReactNode,
46
- ReactPortal,
47
- } from 'react'
22
+ import { DetailedHTMLProps } from 'react'
23
+ import { DragEvent as DragEvent_2 } from 'react'
24
+ import { DragEventHandler } from 'react'
25
+ import { DynamicTexture } from '@babylonjs/core'
26
+ import { EmptyProps } from 'antd'
27
+ import { Engine } from '@babylonjs/core'
28
+ import { EventName } from '@lit/react'
29
+ import { EventType } from 'rhine-var'
30
+ import { FocusEventHandler } from 'react'
31
+ import { FormEventHandler } from 'react'
32
+ import { ForwardRefExoticComponent } from 'react'
33
+ import { FunctionComponent } from 'react'
34
+ import { Geometry } from '@babylonjs/core'
35
+ import { HTMLAttributeAnchorTarget } from 'react'
36
+ import { HTMLAttributeReferrerPolicy } from 'react'
37
+ import { HTMLAttributes } from 'react'
38
+ import { InputBlock } from '@babylonjs/core'
39
+ import { InputEventHandler } from 'react'
40
+ import { InputNumberProps } from 'antd'
41
+ import { IParticleSystem } from '@babylonjs/core'
42
+ import { JSX } from 'react'
43
+ import { Key } from 'react'
44
+ import { KeyboardEventHandler } from 'react'
45
+ import { Light } from '@babylonjs/core'
46
+ import { LitElement } from 'lit'
47
+ import { Locale as Locale_2 } from 'use-intl'
48
+ import { LocalePrefix } from 'next-intl/routing'
49
+ import { Material } from '@babylonjs/core'
50
+ import { Mesh } from '@babylonjs/core'
51
+ import { MouseEvent as MouseEvent_2 } from 'react'
52
+ import { MouseEventHandler } from 'react'
53
+ import { MultipartUploadResult } from 'ali-oss'
54
+ import { NavigateOptions } from 'next/dist/shared/lib/app-router-context.shared-runtime'
55
+ import { Node as Node_2 } from '@babylonjs/core'
56
+ import { NodeMaterial } from '@babylonjs/core'
57
+ import { NodeMaterialBlock } from '@babylonjs/core'
58
+ import { NodeMaterialBlockConnectionPointTypes } from '@babylonjs/core'
59
+ import { Observable } from '@babylonjs/core/Misc/observable'
60
+ import OSS from 'ali-oss'
61
+ import { PBRMaterial } from '@babylonjs/core'
62
+ import { PointerEventHandler } from 'react'
63
+ import { PrefetchOptions } from 'next/dist/shared/lib/app-router-context.shared-runtime'
64
+ import { Quaternion } from '@babylonjs/core'
65
+ import { QueryParams } from 'next-intl/navigation'
66
+ import { default as React_2 } from 'react'
67
+ import { ReactEventHandler } from 'react'
68
+ import { ReactNode } from 'react'
69
+ import { ReactPortal } from 'react'
70
+ import { ReactWebComponent } from '@lit/react'
71
+ import { RecursiveArray } from 'rhine-var'
72
+ import { RecursiveCrossRhineVar } from 'rhine-var'
73
+ import { RecursiveMap } from 'rhine-var'
74
+ import { RecursiveObject } from 'rhine-var'
75
+ import { RedirectType } from 'next/navigation'
76
+ import { Ref } from 'react'
77
+ import { RefAttributes } from 'react'
78
+ import { RhineVarArray } from 'rhine-var'
79
+ import { RhineVarMap } from 'rhine-var'
48
80
  import { Root } from 'react-dom/client'
49
- import {
50
- Awareness,
51
- EventType,
52
- RecursiveArray,
53
- RecursiveCrossRhineVar,
54
- RecursiveMap,
55
- RecursiveObject,
56
- RhineVarArray,
57
- RhineVarMap,
58
- RvKey,
59
- RvPath,
60
- StoredRhineVar,
61
- } from 'rhine-var'
62
- import { AnyWebByteStream } from 'strtok3'
81
+ import { RvKey } from 'rhine-var'
82
+ import { RvPath } from 'rhine-var'
83
+ import { Scene } from '@babylonjs/core'
84
+ import { SelectProps } from 'antd'
85
+ import { ShadowGenerator } from '@babylonjs/core'
86
+ import { SixDofDragBehavior } from '@babylonjs/core/Behaviors/Meshes/sixDofDragBehavior'
87
+ import { Skeleton } from '@babylonjs/core'
88
+ import { StandardMaterial } from '@babylonjs/core'
89
+ import { StoredRhineVar } from 'rhine-var'
90
+ import { SwitchProps } from 'antd'
91
+ import { TemplateResult } from 'lit-html'
92
+ import { Texture } from '@babylonjs/core'
93
+ import { TextureBlock } from '@babylonjs/core'
94
+ import { ThemeConfig } from 'antd'
95
+ import { ToggleEventHandler } from 'react'
96
+ import { TouchEvent as TouchEvent_2 } from 'react'
97
+ import { TouchEventHandler } from 'react'
98
+ import { TransformNode } from '@babylonjs/core'
99
+ import { TransitionEventHandler } from 'react'
100
+ import { UIEventHandler } from 'react'
101
+ import { UrlObject } from 'url'
102
+ import { UtilityLayerRenderer } from '@babylonjs/core/Rendering/utilityLayerRenderer'
103
+ import { Vector2 } from '@babylonjs/core'
104
+ import { Vector3 } from '@babylonjs/core'
105
+ import { WebGPUEngine } from '@babylonjs/core'
106
+ import { WebXRDefaultExperience } from '@babylonjs/core/XR/webXRDefaultExperience'
107
+ import { WheelEvent as WheelEvent_2 } from 'react'
108
+ import { WheelEventHandler } from 'react'
63
109
 
64
110
  /**
65
111
  * @public
@@ -468,7 +514,9 @@ export declare class AwarenessService {
468
514
  setLocalState(state?: RvAwareness): void
469
515
  setLocalStateCamera(state?: RvCameraLocation): void
470
516
  setLocalStateField(field: string, state: unknown): void
471
- getLocalState(): Record<string, any> | null
517
+ getLocalState(): {
518
+ [x: string]: any
519
+ } | null
472
520
  startUpdate(): void
473
521
  stopUpdate(): void
474
522
  setUpdateInterval(interval: number): void
@@ -1053,20 +1101,30 @@ declare function copyText(text: string): Promise<boolean>
1053
1101
  /**
1054
1102
  * 创建属性右键菜单
1055
1103
  *
1056
- * @param multiMark
1057
- * @param multiInitialize
1104
+ * @param mark
1105
+ * @param initialize
1058
1106
  * @param intl
1059
1107
  * @param defaultAttribute
1108
+ * @param defaultEnableMultiNode
1109
+ * @param defaultEnableBatchApply 是否默认启用 BatchApply, 如果为 undefined 则根据 defaultAttribute 判断, 若 defaultAttribute 为 undefined 则默认 false
1060
1110
  *
1061
1111
  * @public
1062
1112
  */
1063
1113
  export declare function createAttributeContextMenu(
1064
- multiMark: () => void,
1065
- multiInitialize: () => void,
1114
+ mark: () => void,
1115
+ initialize: () => void,
1066
1116
  intl: Intl_2,
1067
- defaultAttribute?: Attribute<any>,
1117
+ defaultAttribute?: Attribute,
1118
+ defaultEnableMultiNode?: boolean,
1119
+ defaultEnableBatchApply?: boolean,
1068
1120
  ): {
1069
- onContextMenu: (event: MouseEvent_2, label: string, paths: PathListWithOptionableAttribute | string) => void
1121
+ onContextMenu: (
1122
+ event: MouseEvent_2,
1123
+ label: string,
1124
+ paths: PathListWithOptionableAttribute | string,
1125
+ enableMultiNode?: boolean,
1126
+ enableBatchApply?: boolean,
1127
+ ) => void
1070
1128
  }
1071
1129
 
1072
1130
  /**
@@ -3657,7 +3715,7 @@ export declare interface PartialDataItem {
3657
3715
  */
3658
3716
  export declare type PathListWithOptionableAttribute = (
3659
3717
  | [path: string | RvPath]
3660
- | [path: string | RvPath, attribute: Attribute<any>]
3718
+ | [path: string | RvPath, attribute: Attribute]
3661
3719
  )[]
3662
3720
 
3663
3721
  declare type PathValueArray<T = unknown> = {
package/package.json CHANGED
@@ -37,7 +37,7 @@
37
37
  "valtio": "2.1.7",
38
38
  "rhine-var": "0.11.2"
39
39
  },
40
- "version": "0.24.27",
40
+ "version": "0.24.28",
41
41
  "author": "NextFlow",
42
42
  "license": "Apache-2.0",
43
43
  "keywords": [