@@ -32,20 +32,34 @@ import {
3232 RsSelectionServiceApi ,
3333 RvLocationAttributeApi ,
3434 RvAttributesServiceApi ,
35+ RvLabelAttributeApi ,
36+ RvLoopAttributeApi ,
37+ FirstLoadModelServiceApi ,
38+ CameraConfigurationAnimationApi ,
39+ CameraLocationAnimationApi ,
40+ FogAnimationApi ,
41+ GroundAnimationApi ,
42+ LightAnimationApi ,
43+ ShadowAnimationApi ,
44+ SkyboxAnimationApi ,
45+ RsNodeServiceApi ,
46+ RsModelServiceApi ,
47+ RsEnvironmentServiceApi ,
48+ UseBase ,
3549} from "oflow-interface" ;
3650import type { FunctionComponent } from "react" ;
3751
3852export let rvLocationAttribute : RvLocationAttributeApi
53+ export let rvLabelAttribute : RvLabelAttributeApi
54+ export let rvLoopAttribute : RvLoopAttributeApi
3955
4056export let spaceService : SpaceServiceApi
4157export let statusService : StatusServiceApi
4258export let pluginService : PluginServiceApi
4359
44- export let rsSelectionService : RsSelectionServiceApi
45-
4660export let internationalizationService : InternationalizationServiceApi
47- export let meetingService : MeetingServiceApi
4861export let userService : UserServiceApi
62+ export let meetingService : MeetingServiceApi
4963export let modulePreloader : ModulePreloaderApi
5064export let messageService : MessageServiceApi
5165export let localFileService : LocalFileServiceApi
@@ -54,6 +68,21 @@ export let resourceService: ResourceServiceApi
5468export let firstLoadService : FirstLoadServiceApi
5569export let dialogService : DialogServiceApi
5670export let nativeEventService : NativeEventServiceApi
71+ export let firstLoadModelService : FirstLoadModelServiceApi
72+
73+ export let cameraConfigurationAnimation : CameraConfigurationAnimationApi
74+ export let cameraLocationAnimation : CameraLocationAnimationApi
75+ export let fogAnimation : FogAnimationApi
76+ export let groundAnimation : GroundAnimationApi
77+ export let lightAnimation : LightAnimationApi
78+ export let shadowAnimation : ShadowAnimationApi
79+ export let skyboxAnimation : SkyboxAnimationApi
80+
81+ export let rsSelectionService : RsSelectionServiceApi
82+
83+ export let rsNodeService : RsNodeServiceApi
84+ export let rsModelService : RsModelServiceApi
85+ export let rsEnvironmentService : RsEnvironmentServiceApi
5786
5887export let syncService : SyncServiceApi
5988export let historyService : HistoryServiceApi
@@ -67,10 +96,19 @@ export let rvAttributesService: RvAttributesServiceApi
6796export let tStepService : TStepServiceApi
6897export let tAttributeService : TAttributeServiceApi
6998
99+ export let useBase : UseBase
70100export let useTStep : UseTStep
71101export let useTAttribute : UseTAttribute
72102export let useStepOptions : UseStepOptions
73103
104+ export let AntCheckbox : FunctionComponent < AntCheckboxProps >
105+ export let ThemeProvider : FunctionComponent < ThemeProviderProps >
106+ export let AntColor : FunctionComponent < AntColorProps >
107+ export let AntNumber : FunctionComponent < AntNumberProps >
108+ export let AntSelect : FunctionComponent < AntSelectProps >
109+ export let AntSwitch : FunctionComponent < AntSwitchProps >
110+ export let AntEmpty : FunctionComponent < AntEmptyProps >
111+
74112export let Anchor : FunctionComponent < AnchorProps >
75113export let DrawerLoading : FunctionComponent < SpanProps >
76114export let FileProgressBar : FunctionComponent < FileProgressBarProps >
@@ -80,13 +118,6 @@ export let ScrollBar: FunctionComponent<ScrollBarProps>
80118export let Dialog : FunctionComponent < DialogProps >
81119export let MaterialSymbol : FunctionComponent < MaterialSymbolProps >
82120
83- export let AntCheckbox : FunctionComponent < AntCheckboxProps >
84- export let ThemeProvider : FunctionComponent < ThemeProviderProps >
85- export let AntColor : FunctionComponent < AntColorProps >
86- export let AntNumber : FunctionComponent < AntNumberProps >
87- export let AntSelect : FunctionComponent < AntSelectProps >
88- export let AntSwitch : FunctionComponent < AntSwitchProps >
89- export let AntEmpty : FunctionComponent < AntEmptyProps >
90121
91122export let RsdButton : FunctionComponent < RsdButtonProps >
92123export let RsdCheckableButton : FunctionComponent < RsdCheckableButtonProps >
@@ -104,12 +135,12 @@ export let RsdSwitch: FunctionComponent<RsdSwitchProps>
104135export let RsdTextarea : FunctionComponent < RsdInputProps >
105136export let RsdTitle : FunctionComponent < RsdTitleProps >
106137
107- export let rss : { [ key : string ] : string }
108- export let checkableButtonStyles : { [ key : string ] : string }
109-
110138export let FlexGrow : FunctionComponent < FlexGrowProps >
111139export let MainPortal : FunctionComponent < MainPortalProps >
112140
141+ export let rss : { [ key : string ] : string }
142+ export let checkableButtonStyles : { [ key : string ] : string }
143+
113144export let materialSymbol : FunctionComponent < any >
114145export let sleep : FunctionComponent < any >
115146
@@ -118,13 +149,13 @@ export function loadApi() {
118149 const api = ( window as any ) . ofpConnector . getOfpApi ( ) as OfpApi
119150
120151 rvLocationAttribute = api . services . attributes . rvLocationAttribute
152+ rvLabelAttribute = api . services . attributes . rvLabelAttribute
153+ rvLoopAttribute = api . services . attributes . rvLoopAttribute
121154
122155 spaceService = api . services . main . spaceService
123156 statusService = api . services . main . statusService
124157 pluginService = api . services . main . pluginService
125158
126- rsSelectionService = api . services . engine . operate . rsSelectionService
127-
128159 internationalizationService = api . services . main . internationalizationService
129160 meetingService = api . services . main . meetingService
130161 userService = api . services . main . userService
@@ -136,6 +167,21 @@ export function loadApi() {
136167 firstLoadService = api . services . main . firstLoadService
137168 dialogService = api . services . main . dialogService
138169 nativeEventService = api . services . main . nativeEventService
170+ firstLoadModelService = api . services . main . firstLoadModelService
171+
172+ cameraConfigurationAnimation = api . services . engine . animation . cameraConfigurationAnimation
173+ cameraLocationAnimation = api . services . engine . animation . cameraLocationAnimation
174+ fogAnimation = api . services . engine . animation . fogAnimation
175+ groundAnimation = api . services . engine . animation . groundAnimation
176+ lightAnimation = api . services . engine . animation . lightAnimation
177+ shadowAnimation = api . services . engine . animation . shadowAnimation
178+ skyboxAnimation = api . services . engine . animation . skyboxAnimation
179+
180+ rsSelectionService = api . services . engine . operate . rsSelectionService
181+
182+ rsNodeService = api . services . engine . render . rsNodeService
183+ rsModelService = api . services . engine . render . rsModelService
184+ rsEnvironmentService = api . services . engine . render . rsEnvironmentService
139185
140186 syncService = api . services . sync . syncService
141187 historyService = api . services . sync . historyService
@@ -148,12 +194,18 @@ export function loadApi() {
148194 tStepService = api . services . target . tStepService
149195 tAttributeService = api . services . target . tAttributeService
150196
197+ useBase = api . hooks . useBase
151198 useTStep = api . hooks . useTStep
152199 useTAttribute = api . hooks . useTAttribute
153200 useStepOptions = api . hooks . useStepOptions
154201
155- rss = api . styles . rss
156- checkableButtonStyles = api . styles . checkableButtonStyles
202+ ThemeProvider = api . components . ant . ThemeProvider
203+ AntCheckbox = api . components . ant . AntCheckbox
204+ AntNumber = api . components . ant . AntNumber
205+ AntColor = api . components . ant . AntColor
206+ AntSelect = api . components . ant . AntSelect
207+ AntSwitch = api . components . ant . AntSwitch
208+ AntEmpty = api . components . ant . AntEmpty
157209
158210 Anchor = api . components . normal . Anchor
159211 DrawerLoading = api . components . normal . DrawerLoading
@@ -164,14 +216,6 @@ export function loadApi() {
164216 Dialog = api . components . normal . Dialog
165217 MaterialSymbol = api . components . normal . MaterialSymbol
166218
167- ThemeProvider = api . components . ant . ThemeProvider
168- AntCheckbox = api . components . ant . AntCheckbox
169- AntNumber = api . components . ant . AntNumber
170- AntColor = api . components . ant . AntColor
171- AntSelect = api . components . ant . AntSelect
172- AntSwitch = api . components . ant . AntSwitch
173- AntEmpty = api . components . ant . AntEmpty
174-
175219 RsdButton = api . components . rsd . RsdButton
176220 RsdCheckableButton = api . components . rsd . RsdCheckableButton
177221 RsdCheckbox = api . components . rsd . RsdCheckbox
@@ -191,6 +235,9 @@ export function loadApi() {
191235 FlexGrow = api . components . dev . FlexGrow
192236 MainPortal = api . components . dev . MainPortal
193237
238+ rss = api . styles . rss
239+ checkableButtonStyles = api . styles . checkableButtonStyles
240+
194241 materialSymbol = api . utils . materialSymbol
195242 sleep = api . utils . sleep
196243}
0 commit comments