next-flow-interface 0.24.3 → 0.24.7
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/README.md +1 -1
- package/index.d.ts +52 -198
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
# next-flow-interface
|
|
1
|
+
# next-flow-interface
|
package/index.d.ts
CHANGED
|
@@ -170,13 +170,13 @@ export declare interface AnchorProps extends DivProps {
|
|
|
170
170
|
/**
|
|
171
171
|
* @public
|
|
172
172
|
*/
|
|
173
|
-
export declare
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
173
|
+
export declare enum AnimationDuration {
|
|
174
|
+
BETWEEN = 1200,
|
|
175
|
+
OPERATE = 350,
|
|
176
|
+
FIRST = 700,
|
|
177
|
+
IMMEDIATELY = 0,
|
|
178
|
+
RESET = 300,
|
|
179
|
+
IMMEDIATELY_MODE_THRESHOLD = 67,
|
|
180
180
|
}
|
|
181
181
|
|
|
182
182
|
/**
|
|
@@ -1348,11 +1348,6 @@ export declare interface IconViewProps extends DivProps {
|
|
|
1348
1348
|
plugin: IconPlugin
|
|
1349
1349
|
}
|
|
1350
1350
|
|
|
1351
|
-
/**
|
|
1352
|
-
* @public
|
|
1353
|
-
*/
|
|
1354
|
-
export declare const IMMEDIATELY_MODE_THRESHOLD_INTERVAL = 67
|
|
1355
|
-
|
|
1356
1351
|
/**
|
|
1357
1352
|
* @public
|
|
1358
1353
|
*/
|
|
@@ -2288,15 +2283,6 @@ export declare interface PluginConfig {
|
|
|
2288
2283
|
}
|
|
2289
2284
|
}
|
|
2290
2285
|
|
|
2291
|
-
/**
|
|
2292
|
-
* @public
|
|
2293
|
-
*/
|
|
2294
|
-
export declare class PluginConnector {
|
|
2295
|
-
static get instance(): PluginConnector
|
|
2296
|
-
private constructor()
|
|
2297
|
-
install(plugin: BasePlugin): Promise<void>
|
|
2298
|
-
}
|
|
2299
|
-
|
|
2300
2286
|
/**
|
|
2301
2287
|
* @public
|
|
2302
2288
|
*/
|
|
@@ -3580,7 +3566,7 @@ export declare interface RvAwarenessWindow {
|
|
|
3580
3566
|
* @public
|
|
3581
3567
|
*/
|
|
3582
3568
|
export declare interface RvBase {
|
|
3583
|
-
global:
|
|
3569
|
+
global: RvProject
|
|
3584
3570
|
order: RhineVarArray<string>
|
|
3585
3571
|
steps: RhineVarMap<RvStep>
|
|
3586
3572
|
plugin: RvPlugin
|
|
@@ -3815,40 +3801,6 @@ export declare enum RvFileType {
|
|
|
3815
3801
|
URL = 'URL',
|
|
3816
3802
|
}
|
|
3817
3803
|
|
|
3818
|
-
/**
|
|
3819
|
-
* @public
|
|
3820
|
-
*/
|
|
3821
|
-
export declare interface RvGlobal {
|
|
3822
|
-
information: {
|
|
3823
|
-
title: string
|
|
3824
|
-
description: string
|
|
3825
|
-
tags: string
|
|
3826
|
-
}
|
|
3827
|
-
ui: {
|
|
3828
|
-
theme: ThemeBackground
|
|
3829
|
-
}
|
|
3830
|
-
playing: {
|
|
3831
|
-
auto: boolean
|
|
3832
|
-
loop: boolean
|
|
3833
|
-
interval: number
|
|
3834
|
-
}
|
|
3835
|
-
support: {
|
|
3836
|
-
VR: boolean
|
|
3837
|
-
AR: boolean
|
|
3838
|
-
MR: boolean
|
|
3839
|
-
HP: boolean
|
|
3840
|
-
}
|
|
3841
|
-
}
|
|
3842
|
-
|
|
3843
|
-
/**
|
|
3844
|
-
* @public
|
|
3845
|
-
*/
|
|
3846
|
-
export declare class RvGlobalService {
|
|
3847
|
-
static get instance(): RvGlobalService
|
|
3848
|
-
private constructor()
|
|
3849
|
-
state: StoredRhineVar<RvGlobal>
|
|
3850
|
-
}
|
|
3851
|
-
|
|
3852
3804
|
/**
|
|
3853
3805
|
* @public
|
|
3854
3806
|
*/
|
|
@@ -4359,6 +4311,40 @@ export declare enum RvPresetType {
|
|
|
4359
4311
|
CLOTH = 'CLOTH',
|
|
4360
4312
|
}
|
|
4361
4313
|
|
|
4314
|
+
/**
|
|
4315
|
+
* @public
|
|
4316
|
+
*/
|
|
4317
|
+
export declare interface RvProject {
|
|
4318
|
+
information: {
|
|
4319
|
+
title: string
|
|
4320
|
+
description: string
|
|
4321
|
+
tags: string
|
|
4322
|
+
}
|
|
4323
|
+
ui: {
|
|
4324
|
+
theme: ThemeBackground
|
|
4325
|
+
}
|
|
4326
|
+
playing: {
|
|
4327
|
+
auto: boolean
|
|
4328
|
+
loop: boolean
|
|
4329
|
+
interval: number
|
|
4330
|
+
}
|
|
4331
|
+
support: {
|
|
4332
|
+
VR: boolean
|
|
4333
|
+
AR: boolean
|
|
4334
|
+
MR: boolean
|
|
4335
|
+
HP: boolean
|
|
4336
|
+
}
|
|
4337
|
+
}
|
|
4338
|
+
|
|
4339
|
+
/**
|
|
4340
|
+
* @public
|
|
4341
|
+
*/
|
|
4342
|
+
export declare class RvProjectService {
|
|
4343
|
+
static get instance(): RvProjectService
|
|
4344
|
+
private constructor()
|
|
4345
|
+
state: StoredRhineVar<RvProject>
|
|
4346
|
+
}
|
|
4347
|
+
|
|
4362
4348
|
/**
|
|
4363
4349
|
* @public
|
|
4364
4350
|
*/
|
|
@@ -4909,6 +4895,8 @@ declare function stopPropagationListener(e: ReactEvent): void
|
|
|
4909
4895
|
export declare type SupportAnimationTarget = Node_2 | Scene | Material | NodeMaterialBlock | ShadowGenerator
|
|
4910
4896
|
|
|
4911
4897
|
/**
|
|
4898
|
+
* @description 管理协同数据的最基本服务
|
|
4899
|
+
*
|
|
4912
4900
|
* @public
|
|
4913
4901
|
*/
|
|
4914
4902
|
export declare class SyncService {
|
|
@@ -5183,15 +5171,6 @@ export declare const UrlUtils: {
|
|
|
5183
5171
|
extractFilenameFromUrl: typeof extractFilenameFromUrl
|
|
5184
5172
|
}
|
|
5185
5173
|
|
|
5186
|
-
/**
|
|
5187
|
-
* @public
|
|
5188
|
-
*/
|
|
5189
|
-
export declare type UseAllSelectedInfo = () => {
|
|
5190
|
-
selected: RsSelectionNodeInfo[]
|
|
5191
|
-
materialInfo: RsSelectionMaterialInfo
|
|
5192
|
-
last: RsSelectionNodeInfo | null
|
|
5193
|
-
}
|
|
5194
|
-
|
|
5195
5174
|
/**
|
|
5196
5175
|
* @public
|
|
5197
5176
|
*/
|
|
@@ -5201,15 +5180,6 @@ export declare function useAllSelectedInfo(): {
|
|
|
5201
5180
|
last: RsSelectionNodeInfo | null
|
|
5202
5181
|
}
|
|
5203
5182
|
|
|
5204
|
-
/**
|
|
5205
|
-
* @public
|
|
5206
|
-
*/
|
|
5207
|
-
export declare type UseGlobal = <T = unknown>(
|
|
5208
|
-
path?: string,
|
|
5209
|
-
) => {
|
|
5210
|
-
state: T
|
|
5211
|
-
}
|
|
5212
|
-
|
|
5213
5183
|
/**
|
|
5214
5184
|
* @public
|
|
5215
5185
|
*/
|
|
@@ -5221,27 +5191,6 @@ export declare function useGlobal<T = unknown>(
|
|
|
5221
5191
|
mark: (key: string | RvPath) => void
|
|
5222
5192
|
}
|
|
5223
5193
|
|
|
5224
|
-
/**
|
|
5225
|
-
* @public
|
|
5226
|
-
*/
|
|
5227
|
-
export declare type UseGlobalAttribute = <T extends object = never>(
|
|
5228
|
-
path: string | RvPath,
|
|
5229
|
-
) => {
|
|
5230
|
-
state: StoredRhineVar<T> | T
|
|
5231
|
-
path: RvPath
|
|
5232
|
-
globalAttribute: GlobalAttribute<T>
|
|
5233
|
-
initialize(): void
|
|
5234
|
-
isInitialized(): boolean
|
|
5235
|
-
mark(path: string | RvPath): void
|
|
5236
|
-
get(): RecursiveCrossRhineVar<T> | undefined
|
|
5237
|
-
set(path: string | RvPath, value: unknown): void
|
|
5238
|
-
read(): StoredRhineVar<T> | T | undefined
|
|
5239
|
-
edit(path: string | RvPath, value: unknown): void
|
|
5240
|
-
editMany(list: [string | RvPath, unknown][]): void
|
|
5241
|
-
subscribe(subscriber: GlobalAttributeSubscriber<T>): () => void
|
|
5242
|
-
unsubscribe(subscriber: GlobalAttributeSubscriber<T>): void
|
|
5243
|
-
}
|
|
5244
|
-
|
|
5245
5194
|
/**
|
|
5246
5195
|
* @public
|
|
5247
5196
|
*/
|
|
@@ -5261,11 +5210,6 @@ export declare function useGlobalAttribute<T extends object = never>(
|
|
|
5261
5210
|
editMany: (list: [string | RvPath, unknown][]) => void
|
|
5262
5211
|
}
|
|
5263
5212
|
|
|
5264
|
-
/**
|
|
5265
|
-
* @public
|
|
5266
|
-
*/
|
|
5267
|
-
export declare type UseLastSelectedInfo = () => RsSelectionNodeInfo | null
|
|
5268
|
-
|
|
5269
5213
|
/**
|
|
5270
5214
|
* @public
|
|
5271
5215
|
*/
|
|
@@ -5309,48 +5253,21 @@ export declare class UserService {
|
|
|
5309
5253
|
*/
|
|
5310
5254
|
export declare function useScript(src: string): ScriptStatus
|
|
5311
5255
|
|
|
5312
|
-
/**
|
|
5313
|
-
* @public
|
|
5314
|
-
*/
|
|
5315
|
-
export declare type UseSelectedInfo = () => RsSelectionNodeInfo[]
|
|
5316
|
-
|
|
5317
5256
|
/**
|
|
5318
5257
|
* @public
|
|
5319
5258
|
*/
|
|
5320
5259
|
export declare function useSelectedInfo(): RsSelectionNodeInfo[]
|
|
5321
5260
|
|
|
5322
|
-
/**
|
|
5323
|
-
* @public
|
|
5324
|
-
*/
|
|
5325
|
-
export declare type UseSelectedMaterialInfo = () => RsSelectionMaterialInfo
|
|
5326
|
-
|
|
5327
5261
|
/**
|
|
5328
5262
|
* @public
|
|
5329
5263
|
*/
|
|
5330
5264
|
export declare function useSelectedMaterialInfo(): RsSelectionMaterialInfo
|
|
5331
5265
|
|
|
5332
|
-
/**
|
|
5333
|
-
* @public
|
|
5334
|
-
*/
|
|
5335
|
-
export declare type UseStepOptions = (withDisable: boolean) => StepOptions
|
|
5336
|
-
|
|
5337
5266
|
/**
|
|
5338
5267
|
* @public
|
|
5339
5268
|
*/
|
|
5340
5269
|
export declare function useStepOptions(withDisable?: boolean): StepOptions
|
|
5341
5270
|
|
|
5342
|
-
/**
|
|
5343
|
-
* @public
|
|
5344
|
-
*/
|
|
5345
|
-
export declare type UseTargetNode = <T = unknown>(
|
|
5346
|
-
path?: string | RvPath,
|
|
5347
|
-
) => {
|
|
5348
|
-
state: T | null
|
|
5349
|
-
sid: string
|
|
5350
|
-
nid: string
|
|
5351
|
-
nidList: string[]
|
|
5352
|
-
}
|
|
5353
|
-
|
|
5354
5271
|
/**
|
|
5355
5272
|
* @public
|
|
5356
5273
|
*/
|
|
@@ -5366,38 +5283,6 @@ export declare function useTargetNode<T = unknown>(
|
|
|
5366
5283
|
multiMark: (key: string | RvPath) => void
|
|
5367
5284
|
}
|
|
5368
5285
|
|
|
5369
|
-
/**
|
|
5370
|
-
* @public
|
|
5371
|
-
*/
|
|
5372
|
-
export declare type UseTargetNodeAttribute = <T extends object = never>(
|
|
5373
|
-
path: string | RvPath,
|
|
5374
|
-
) => {
|
|
5375
|
-
state: StoredRhineVar<T> | T
|
|
5376
|
-
path: RvPath
|
|
5377
|
-
sid: string
|
|
5378
|
-
nid: string
|
|
5379
|
-
nidList: string[]
|
|
5380
|
-
nodeAttribute: NodeAttribute<T>
|
|
5381
|
-
initialize(nid?: string): void
|
|
5382
|
-
isInitialized(nid?: string): boolean
|
|
5383
|
-
multiInitialize(nidList?: string[]): void
|
|
5384
|
-
isAllInitialized(nidList?: string[]): boolean
|
|
5385
|
-
mark(path: string | RvPath, sid?: string, nid?: string): void
|
|
5386
|
-
multiMark(path: string | RvPath, sidList?: string[], nidList?: string[]): void
|
|
5387
|
-
get(sid?: string, nid?: string): RecursiveCrossRhineVar<T> | undefined
|
|
5388
|
-
multiGet(sidList?: string[], nidList?: string[]): Map<string, Map<string, StoredRhineVar<T>>>
|
|
5389
|
-
set(path: string | RvPath, value: unknown, sid?: string, nid?: string): void
|
|
5390
|
-
multiSet(path: string | RvPath, value: unknown, sidList?: string[], nidList?: string[]): void
|
|
5391
|
-
read(sid?: string, nid?: string): StoredRhineVar<T> | T | undefined
|
|
5392
|
-
multiRead(sidList?: string[], nidList?: string[]): Map<string, Map<string, StoredRhineVar<T> | T>>
|
|
5393
|
-
edit(path: string | RvPath, value: unknown, sid?: string, nid?: string): void
|
|
5394
|
-
multiEdit(path: string | RvPath, value: unknown, sidList?: string[], nidList?: string[]): void
|
|
5395
|
-
editMany(list: [string | RvPath, unknown][], sid?: string, nid?: string): void
|
|
5396
|
-
multiEditMany(list: [string | RvPath, unknown][], sidList?: string[], nidList?: string[]): void
|
|
5397
|
-
subscribe(subscriber: NodeAttributeTargetSubscriber<T>): () => void
|
|
5398
|
-
unsubscribe(subscriber: NodeAttributeTargetSubscriber<T>): void
|
|
5399
|
-
}
|
|
5400
|
-
|
|
5401
5286
|
/**
|
|
5402
5287
|
* @public
|
|
5403
5288
|
*/
|
|
@@ -5428,16 +5313,6 @@ export declare function useTargetNodeAttribute<T extends object = never>(
|
|
|
5428
5313
|
unsubscribe: (subscriber: NodeAttributeTargetSubscriber<T>) => void
|
|
5429
5314
|
}
|
|
5430
5315
|
|
|
5431
|
-
/**
|
|
5432
|
-
* @public
|
|
5433
|
-
*/
|
|
5434
|
-
export declare type UseTargetStep = <T = unknown>(
|
|
5435
|
-
path?: string | RvPath,
|
|
5436
|
-
) => {
|
|
5437
|
-
state: T
|
|
5438
|
-
sid: string
|
|
5439
|
-
}
|
|
5440
|
-
|
|
5441
5316
|
/**
|
|
5442
5317
|
* @public
|
|
5443
5318
|
*/
|
|
@@ -5450,34 +5325,6 @@ export declare function useTargetStep<T = unknown>(
|
|
|
5450
5325
|
mark: (key: string | RvPath) => void
|
|
5451
5326
|
}
|
|
5452
5327
|
|
|
5453
|
-
/**
|
|
5454
|
-
* @public
|
|
5455
|
-
*/
|
|
5456
|
-
export declare type UseTargetStepAttribute = <T extends object = never>(
|
|
5457
|
-
path: string | RvPath,
|
|
5458
|
-
) => {
|
|
5459
|
-
state: StoredRhineVar<T> | T
|
|
5460
|
-
path: RvPath
|
|
5461
|
-
sid: string
|
|
5462
|
-
stepAttribute: StepAttribute<T>
|
|
5463
|
-
initialize(): void
|
|
5464
|
-
isInitialized(): boolean
|
|
5465
|
-
mark(path: string | RvPath, sid?: string): void
|
|
5466
|
-
multiMark(path: string | RvPath, sidList?: string[]): void
|
|
5467
|
-
get(sid?: string): RecursiveCrossRhineVar<T> | undefined
|
|
5468
|
-
multiGet(sidList?: string[]): Map<string, StoredRhineVar<T>>
|
|
5469
|
-
set(path: string | RvPath, value: unknown, sid?: string): void
|
|
5470
|
-
multiSet(path: string | RvPath, value: unknown, sidList?: string[]): void
|
|
5471
|
-
read(sid?: string): StoredRhineVar<T> | T | undefined
|
|
5472
|
-
multiRead(sidList?: string[]): Map<string, StoredRhineVar<T> | T>
|
|
5473
|
-
edit(path: string | RvPath, value: unknown, sid?: string): void
|
|
5474
|
-
multiEdit(path: string | RvPath, value: unknown, sidList?: string[]): void
|
|
5475
|
-
editMany(list: [string | RvPath, unknown][], sid?: string): void
|
|
5476
|
-
multiEditMany(list: [string | RvPath, unknown][], sidList?: string[]): void
|
|
5477
|
-
subscribe(subscriber: StepAttributeTargetSubscriber<T>): () => void
|
|
5478
|
-
unsubscribe(subscriber: StepAttributeTargetSubscriber<T>): void
|
|
5479
|
-
}
|
|
5480
|
-
|
|
5481
5328
|
/**
|
|
5482
5329
|
* @public
|
|
5483
5330
|
*/
|
|
@@ -5655,7 +5502,6 @@ export declare const syncService: SyncService
|
|
|
5655
5502
|
export declare const attributeService: AttributeService
|
|
5656
5503
|
export declare const awarenessService: AwarenessService
|
|
5657
5504
|
export declare const historyService: HistoryService
|
|
5658
|
-
export declare const rvGlobalService: RvGlobalService
|
|
5659
5505
|
export declare const rvStepService: RvStepService
|
|
5660
5506
|
export declare const rvFileService: RvFileService
|
|
5661
5507
|
export declare const rvResourceService: RvResourceService
|
|
@@ -5667,3 +5513,11 @@ export declare const targetMultiNodeService: TargetMultiNodeService
|
|
|
5667
5513
|
export declare const targetNodeService: TargetNodeService
|
|
5668
5514
|
export declare const targetStepService: TargetStepService
|
|
5669
5515
|
export declare const rss: Record<string, string>
|
|
5516
|
+
export declare const autoPlayService: AutoPlayService
|
|
5517
|
+
export declare const rsBasicService: RsBasicService
|
|
5518
|
+
export declare const rsEnableService: RsEnableService
|
|
5519
|
+
export declare const rsEngine: RsEngine
|
|
5520
|
+
export declare const rsNodeMaterialAnalyzer: RsNodeMaterialAnalyzer
|
|
5521
|
+
export declare const rsSceneService: RsSceneService
|
|
5522
|
+
export declare const rsTransformGround: RsTransformGround
|
|
5523
|
+
export declare const rvMeetingService: RvMeetingService
|