next-flow-interface 0.17.9 → 0.17.12
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.
- package/dist/index.d.ts +22 -16
- package/package.json +6 -8
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SwitchProps, EmptyProps, InputNumberProps, SelectProps } from 'antd';
|
|
2
2
|
import { ColorPickerProps, Color } from 'antd/es/color-picker';
|
|
3
|
-
import React$1, { ReactNode, MouseEventHandler, DetailedHTMLProps, HTMLAttributes, FunctionComponent, MouseEvent as MouseEvent$1, DragEvent as DragEvent$1, WheelEvent as WheelEvent$1, PointerEvent, KeyboardEvent, FocusEvent, UIEvent } from 'react';
|
|
3
|
+
import React$1, { ReactNode, MouseEventHandler, DetailedHTMLProps, HTMLAttributes, FunctionComponent, MouseEvent as MouseEvent$1, DragEvent as DragEvent$1, WheelEvent as WheelEvent$1, PointerEvent, KeyboardEvent, FocusEvent, UIEvent, Attributes } from 'react';
|
|
4
4
|
import { DefaultOptionType } from 'antd/es/select';
|
|
5
5
|
import { RvPath, RhineVarMap, StoredRhineVar, RecursiveObject, RecursiveMap, RecursiveArray, RhineVarArray } from 'rhine-var';
|
|
6
6
|
import { Node, NodeMaterialBlockConnectionPointTypes, BaseTexture, PBRMaterial, NodeMaterial, Animation, Color3, Color4, Scene, Material, NodeMaterialBlock, ShadowGenerator, AnimationGroup as AnimationGroup$1, TransformNode, Vector3, ArcRotateCamera, Light, CubeTexture, AbstractMesh, Mesh, Texture, DynamicTexture, Engine, Quaternion } from '@babylonjs/core';
|
|
@@ -1564,13 +1564,19 @@ declare enum IconPluginPosition {
|
|
|
1564
1564
|
UNKNOWN = 8
|
|
1565
1565
|
}
|
|
1566
1566
|
|
|
1567
|
+
interface IconViewProps extends DivProps {
|
|
1568
|
+
plugin: IconPlugin;
|
|
1569
|
+
}
|
|
1570
|
+
|
|
1571
|
+
type MixView<T extends Attributes | null = null> = string | FunctionComponent<T>;
|
|
1572
|
+
|
|
1567
1573
|
interface IconPlugin extends BasePlugin {
|
|
1568
1574
|
position: IconPluginPosition;
|
|
1569
1575
|
group: string;
|
|
1570
1576
|
label: string;
|
|
1571
1577
|
color: ThemeColor;
|
|
1572
1578
|
open: boolean;
|
|
1573
|
-
icon:
|
|
1579
|
+
icon: MixView<IconViewProps>;
|
|
1574
1580
|
onEnabledChange?: (value: boolean, e: MouseEvent) => void;
|
|
1575
1581
|
onIconClick?: (e: MouseEvent) => void;
|
|
1576
1582
|
onIconClickRouter?: (e: MouseEvent) => string;
|
|
@@ -1588,7 +1594,7 @@ interface PluginContainerServiceApi {
|
|
|
1588
1594
|
removePlugin(plugin: BasePlugin): void;
|
|
1589
1595
|
openPlugin(plugin: IconPlugin): boolean;
|
|
1590
1596
|
closePlugin(plugin: IconPlugin): boolean;
|
|
1591
|
-
|
|
1597
|
+
closeDrawerPluginByPosition(position: IconPluginPosition): boolean;
|
|
1592
1598
|
}
|
|
1593
1599
|
|
|
1594
1600
|
interface FileData {
|
|
@@ -2879,34 +2885,34 @@ interface RvMeetingServiceApi {
|
|
|
2879
2885
|
removeAllMeetings(): void;
|
|
2880
2886
|
}
|
|
2881
2887
|
|
|
2882
|
-
interface DialogPlugin extends IconPlugin {
|
|
2883
|
-
onRender?: () => void;
|
|
2884
|
-
onEffect?: () => () => void;
|
|
2885
|
-
options: DialogCreateOptions;
|
|
2886
|
-
view?: FunctionComponent;
|
|
2887
|
-
}
|
|
2888
|
-
|
|
2889
2888
|
interface ViewPlugin extends BasePlugin {
|
|
2890
2889
|
view: FunctionComponent<PluginViewProps>;
|
|
2891
2890
|
onRender?: () => void;
|
|
2892
2891
|
onEffect?: () => () => void;
|
|
2893
2892
|
}
|
|
2894
2893
|
|
|
2895
|
-
interface PluginViewProps extends DivProps {
|
|
2896
|
-
plugin: DrawerPlugin | ViewPlugin;
|
|
2897
|
-
}
|
|
2898
|
-
|
|
2899
2894
|
interface DrawerPlugin extends IconPlugin {
|
|
2900
2895
|
title: string;
|
|
2901
2896
|
tip: string;
|
|
2902
2897
|
weight: number;
|
|
2903
|
-
drawer:
|
|
2898
|
+
drawer: MixView<PluginViewProps>;
|
|
2904
2899
|
onRender?: () => void;
|
|
2905
2900
|
onEffect?: () => () => void;
|
|
2906
2901
|
onTitleClick?: () => void;
|
|
2907
2902
|
onTitleContextMenu?: () => void;
|
|
2908
2903
|
}
|
|
2909
2904
|
|
|
2905
|
+
interface PluginViewProps extends DivProps {
|
|
2906
|
+
plugin: DrawerPlugin | ViewPlugin | DialogPlugin;
|
|
2907
|
+
}
|
|
2908
|
+
|
|
2909
|
+
interface DialogPlugin extends IconPlugin {
|
|
2910
|
+
options: DialogCreateOptions;
|
|
2911
|
+
view: MixView<PluginViewProps>;
|
|
2912
|
+
onRender?: () => void;
|
|
2913
|
+
onEffect?: () => () => void;
|
|
2914
|
+
}
|
|
2915
|
+
|
|
2910
2916
|
interface C3 {
|
|
2911
2917
|
r: number;
|
|
2912
2918
|
g: number;
|
|
@@ -3106,4 +3112,4 @@ declare const VectorUtils: {
|
|
|
3106
3112
|
toArrayWithRound4: typeof toArrayWithRound4;
|
|
3107
3113
|
};
|
|
3108
3114
|
|
|
3109
|
-
export { acceptMime as AcceptMime, type AddLocalDataOptionInterface as AddLocalDataOption, type AnchorProps, type AntCheckboxProps, type AntColorProps, type AntEmptyProps, type AntNumberProps, type AntSelectProps, type AntSwitchProps, type AwarenessChangeSubscriber, type AwarenessServiceApi, type BasePlugin, type BasePluginConfig, type BuiltInPluginConfig, type C3, type C4, type CameraConfigurationAnimationApi, type CameraLocationAnimationApi, ContextMenu, type ContextMenuController, type ContextMenuCreateOptions, type ContextMenuProps, type ContextMenuServiceApi, CryptoUtils, DataUtils, Dialog, DialogContentAlign, type DialogController, type DialogCreateOptions, type DialogPlugin, type DialogProps, type DialogServiceApi, type DivProps, type DivPropsSimple, type DrawerPlugin, type EasyPropertyAnimationApi, type ExternalPluginConfig, type FileData, type FileProgressBarProps, FileUtils, type FirstLoadModelServiceApi, FirstLoadModelServiceEventType, FirstLoadModelServiceStatus, type FirstLoadModelServiceSubscriber, type FirstLoadServiceApi, FirstLoadServiceEventType, FirstLoadServiceStatus, type FirstLoadServiceSubscriber, type FlexGrowProps, FocusMode, type FogAnimationApi, type GroundAnimationApi, type HighLightInfo, type HistoryServiceApi, HistoryServiceEventType, type HistoryServiceStateSubscriber, type HistoryServiceSubscriber, type IconPlugin, IconPluginPosition, type InternationalizationServiceApi, LabelInfo, LabelTheme, type LastSubscriber, type LightAnimationApi, type LocalData, type LocalDataServiceApi, LocalDataServiceEventType, type LocalDataServiceSubscriber, LocalDataStatus, LocalDataType, Locale, type MainPortalProps, type MaterialSymbolFunction, type MaterialSymbolOptions, type MaterialSymbolProps, MathUtils, type Meeting, type MeetingServiceApi, MeetingStatus, MenuLine, type MenuLineCreateOptions, MenuLineType, Message, type MessageServiceApi, type MessageState, type MessageType, type ModulePreloaderApi, type NativeAnyEventSubscriber, type NativeDragEventSubscriber, type NativeEventServiceApi, NativeEventUtils, type NativeFocusEventSubscriber, type NativeKeyboardEventSubscriber, type NativeMouseEventSubscriber, type NativePointerEventSubscriber, type NativeUIEventSubscriber, type NativeWheelEventSubscriber, NetworkUtils, type NfpApi, type NodeMaterialChangeListener, type NodeMaterialInfo, type NodePair, NumberUtils, type OssUploadInstance, OssUploadInstanceStatus, type OssUploadServiceApi, OssUploadServiceEventType, type OssUploadServiceSubscriber, type Page, PageMode, PageType, PageUtils, type PluginConfig, type PluginConnectorApi, type PluginContainerServiceApi, PluginEventType, PluginFrom, type PluginInformation, type PluginServiceApi, type PluginServiceSubscriber, type PluginState, PluginType, type PluginViewProps, type ProgressBarProps, type ResourcePreviewProps, type ResourceServiceApi, type RsAudioServiceApi, type RsClickApi, type RsEnvironmentApi, type RsEnvironmentServiceApi, type RsLabelServiceApi, type RsLoopAnimationManagerApi, type RsMaterialServiceApi, type RsModel, type RsModelServiceApi, RsModelServiceEventType, type RsModelServiceSubscriber, RsModelStatus, type RsNodeMaterialManagerApi, type RsNodeServiceApi, type RsSelectionMaterialInfo, type RsSelectionNodeInfo, type RsSelectionServiceApi, type RsSelectionState, type RsSeparateServiceApi, type RsServiceApi, type RsTextureServiceApi, type RsTransformGroundApi, type RsdButtonProps, type RsdCheckableButtonProps, type RsdCheckboxProps, type RsdColorProps, type RsdFileSelectProps, type RsdInputProps, type RsdMentionsProps, type RsdNoneProps, type RsdNumberListProps, type RsdNumberProps, type RsdSelectProps, type RsdSwitchProps, type RsdTitleProps, RvAttachType, type RvAttributes, type RvAttributesServiceApi, type RvAudio, type RvAwareness, type RvAwarenessClick, type RvAwarenessDevice, type RvAwarenessUser, type RvAwarenessWindow, type RvBase, type RvBasicConfig, RvBasicType, type RvCamera, type RvCameraLocation, type RvCode, type RvCodeAttributeApi, type RvConfiguration, type RvEnvironment, type RvFile, type RvFileServiceApi, RvFileServiceEventType, type RvFileServiceSubscriber, RvFileType, type RvGlobal, type RvGlobalServiceApi, type RvHistory, type RvLabel, type RvLabelAttributeApi, type RvLocation, type RvLocationAttributeApi, type RvLoop, type RvLoopAttributeApi, type RvMaterial, type RvMaterialAttributeApi, type RvMaterialGeneral, type RvMaterialNode, type RvMaterialNodeInput, type RvMaterialPBR, type RvMaterialTexture, RvMaterialType, type RvMeeting, type RvMeetingCurrent, type RvMeetingServiceApi, type RvMeetingStatistic, type RvModel, RvModelOrigin, type RvModelServiceApi, type RvNative, type RvNativeAttributeApi, type RvNode, type RvNodeMaterialAnalyzerApi, RvPresetType, type RvResource, type RvResourceServiceApi, RvResourceServiceEventType, type RvResourceServiceSubscriber, RvResourceType, type RvSceneNode, type RvSeparate, type RvStep, type RvStepServiceApi, RvUtils, type RvVersion, type SceneServiceApi, type Screen, ScreenSize, type ScrollBarProps, type SelectedSubscriber, type ShadowAnimationApi, ShareMode, type SkyboxAnimationApi, type SpaceServiceApi, type SpanProps, type SpanPropsSimple, type Status, type StatusChangeSubscriber, type StatusServiceApi, type StepChangeSubscriber, type StepOptions, type SupportAnimationTarget, type SyncServiceApi, type TAttributesServiceApi, type TAttributesSubscriber, TChangeType, type TStepServiceApi, type TSubscriber, type TextureInfo, ThemeBackground, ThemeColor, type ThemeProviderProps, type ThemeServiceApi, ThemeShape, type ThemeState, TimeUtils, type Translator, type UploadButtonAndListProps, UrlUtils, type UseBase, type UseStepOptions, type UseTAttributes, type UseTStep, type UserAuth, type UserInfo, type UserServiceApi, type V2, type V3, type V4, VectorUtils, type ViewPlugin, sleep, throttle };
|
|
3115
|
+
export { acceptMime as AcceptMime, type AddLocalDataOptionInterface as AddLocalDataOption, type AnchorProps, type AntCheckboxProps, type AntColorProps, type AntEmptyProps, type AntNumberProps, type AntSelectProps, type AntSwitchProps, type AwarenessChangeSubscriber, type AwarenessServiceApi, type BasePlugin, type BasePluginConfig, type BuiltInPluginConfig, type C3, type C4, type CameraConfigurationAnimationApi, type CameraLocationAnimationApi, ContextMenu, type ContextMenuController, type ContextMenuCreateOptions, type ContextMenuProps, type ContextMenuServiceApi, CryptoUtils, DataUtils, Dialog, DialogContentAlign, type DialogController, type DialogCreateOptions, type DialogPlugin, type DialogProps, type DialogServiceApi, type DivProps, type DivPropsSimple, type DrawerPlugin, type EasyPropertyAnimationApi, type ExternalPluginConfig, type FileData, type FileProgressBarProps, FileUtils, type FirstLoadModelServiceApi, FirstLoadModelServiceEventType, FirstLoadModelServiceStatus, type FirstLoadModelServiceSubscriber, type FirstLoadServiceApi, FirstLoadServiceEventType, FirstLoadServiceStatus, type FirstLoadServiceSubscriber, type FlexGrowProps, FocusMode, type FogAnimationApi, type GroundAnimationApi, type HighLightInfo, type HistoryServiceApi, HistoryServiceEventType, type HistoryServiceStateSubscriber, type HistoryServiceSubscriber, type IconPlugin, IconPluginPosition, type IconViewProps, type InternationalizationServiceApi, LabelInfo, LabelTheme, type LastSubscriber, type LightAnimationApi, type LocalData, type LocalDataServiceApi, LocalDataServiceEventType, type LocalDataServiceSubscriber, LocalDataStatus, LocalDataType, Locale, type MainPortalProps, type MaterialSymbolFunction, type MaterialSymbolOptions, type MaterialSymbolProps, MathUtils, type Meeting, type MeetingServiceApi, MeetingStatus, MenuLine, type MenuLineCreateOptions, MenuLineType, Message, type MessageServiceApi, type MessageState, type MessageType, type MixView, type ModulePreloaderApi, type NativeAnyEventSubscriber, type NativeDragEventSubscriber, type NativeEventServiceApi, NativeEventUtils, type NativeFocusEventSubscriber, type NativeKeyboardEventSubscriber, type NativeMouseEventSubscriber, type NativePointerEventSubscriber, type NativeUIEventSubscriber, type NativeWheelEventSubscriber, NetworkUtils, type NfpApi, type NodeMaterialChangeListener, type NodeMaterialInfo, type NodePair, NumberUtils, type OssUploadInstance, OssUploadInstanceStatus, type OssUploadServiceApi, OssUploadServiceEventType, type OssUploadServiceSubscriber, type Page, PageMode, PageType, PageUtils, type PluginConfig, type PluginConnectorApi, type PluginContainerServiceApi, PluginEventType, PluginFrom, type PluginInformation, type PluginServiceApi, type PluginServiceSubscriber, type PluginState, PluginType, type PluginViewProps, type ProgressBarProps, type ResourcePreviewProps, type ResourceServiceApi, type RsAudioServiceApi, type RsClickApi, type RsEnvironmentApi, type RsEnvironmentServiceApi, type RsLabelServiceApi, type RsLoopAnimationManagerApi, type RsMaterialServiceApi, type RsModel, type RsModelServiceApi, RsModelServiceEventType, type RsModelServiceSubscriber, RsModelStatus, type RsNodeMaterialManagerApi, type RsNodeServiceApi, type RsSelectionMaterialInfo, type RsSelectionNodeInfo, type RsSelectionServiceApi, type RsSelectionState, type RsSeparateServiceApi, type RsServiceApi, type RsTextureServiceApi, type RsTransformGroundApi, type RsdButtonProps, type RsdCheckableButtonProps, type RsdCheckboxProps, type RsdColorProps, type RsdFileSelectProps, type RsdInputProps, type RsdMentionsProps, type RsdNoneProps, type RsdNumberListProps, type RsdNumberProps, type RsdSelectProps, type RsdSwitchProps, type RsdTitleProps, RvAttachType, type RvAttributes, type RvAttributesServiceApi, type RvAudio, type RvAwareness, type RvAwarenessClick, type RvAwarenessDevice, type RvAwarenessUser, type RvAwarenessWindow, type RvBase, type RvBasicConfig, RvBasicType, type RvCamera, type RvCameraLocation, type RvCode, type RvCodeAttributeApi, type RvConfiguration, type RvEnvironment, type RvFile, type RvFileServiceApi, RvFileServiceEventType, type RvFileServiceSubscriber, RvFileType, type RvGlobal, type RvGlobalServiceApi, type RvHistory, type RvLabel, type RvLabelAttributeApi, type RvLocation, type RvLocationAttributeApi, type RvLoop, type RvLoopAttributeApi, type RvMaterial, type RvMaterialAttributeApi, type RvMaterialGeneral, type RvMaterialNode, type RvMaterialNodeInput, type RvMaterialPBR, type RvMaterialTexture, RvMaterialType, type RvMeeting, type RvMeetingCurrent, type RvMeetingServiceApi, type RvMeetingStatistic, type RvModel, RvModelOrigin, type RvModelServiceApi, type RvNative, type RvNativeAttributeApi, type RvNode, type RvNodeMaterialAnalyzerApi, RvPresetType, type RvResource, type RvResourceServiceApi, RvResourceServiceEventType, type RvResourceServiceSubscriber, RvResourceType, type RvSceneNode, type RvSeparate, type RvStep, type RvStepServiceApi, RvUtils, type RvVersion, type SceneServiceApi, type Screen, ScreenSize, type ScrollBarProps, type SelectedSubscriber, type ShadowAnimationApi, ShareMode, type SkyboxAnimationApi, type SpaceServiceApi, type SpanProps, type SpanPropsSimple, type Status, type StatusChangeSubscriber, type StatusServiceApi, type StepChangeSubscriber, type StepOptions, type SupportAnimationTarget, type SyncServiceApi, type TAttributesServiceApi, type TAttributesSubscriber, TChangeType, type TStepServiceApi, type TSubscriber, type TextureInfo, ThemeBackground, ThemeColor, type ThemeProviderProps, type ThemeServiceApi, ThemeShape, type ThemeState, TimeUtils, type Translator, type UploadButtonAndListProps, UrlUtils, type UseBase, type UseStepOptions, type UseTAttributes, type UseTStep, type UserAuth, type UserInfo, type UserServiceApi, type V2, type V3, type V4, VectorUtils, type ViewPlugin, sleep, throttle };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "next-flow-interface",
|
|
3
|
-
"version": "0.17.
|
|
3
|
+
"version": "0.17.12",
|
|
4
4
|
"description": "Interface package for NEXT FlOW. You can use this package to build your own plugin that can control anything.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
"@eslint/markdown": "^7.1.0",
|
|
49
49
|
"@types/bun": "^1.2.20",
|
|
50
50
|
"@types/node": "^24.3.0",
|
|
51
|
-
"@types/react": "
|
|
52
|
-
"@types/react-dom": "
|
|
51
|
+
"@types/react": "19.1.1",
|
|
52
|
+
"@types/react-dom": "19.1.1",
|
|
53
53
|
"@typescript-eslint/project-service": "^8.39.1",
|
|
54
54
|
"antd": "5.27.0",
|
|
55
55
|
"brotli-wasm": "^3.0.1",
|
|
@@ -81,11 +81,9 @@
|
|
|
81
81
|
"clsx": "2.1.1",
|
|
82
82
|
"file-type": "^20.4.1",
|
|
83
83
|
"mime": "^4.0.7",
|
|
84
|
-
"react": "19.1.
|
|
85
|
-
"react-dom": "19.1.
|
|
86
|
-
"valtio": "2.1.3"
|
|
87
|
-
},
|
|
88
|
-
"dependencies": {
|
|
84
|
+
"react": "19.1.1",
|
|
85
|
+
"react-dom": "19.1.1",
|
|
86
|
+
"valtio": "2.1.3",
|
|
89
87
|
"rhine-var": "0.11.2"
|
|
90
88
|
}
|
|
91
89
|
}
|