@drincs/pixi-vn-json 1.7.2 → 1.7.3

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.
@@ -1,552 +1,6 @@
1
- import { StorageElementType, CanvasBaseInterface, ImageSprite, KeyframesType, AnimationOptions, UPDATE_PRIORITY, ObjectSegment, ObjectSegmentWithTransition, SequenceOptions, ShakeEffectProps, FadeAlphaTickerProps, MoveTickerProps, RotateTickerProps, ZoomTickerProps, ShowWithDissolveTransitionProps, ShowWithFadeTransitionProps, MoveInOutProps, ZoomInOutProps, PushInOutProps, ImageContainerOptions, ImageSpriteOptions, ImageSpriteMemory, VideoSpriteMemory, ImageContainerMemory, ContainerOptions, ContainerMemory, SoundPlayOptions, LabelRunModeType, StorageObjectType, StepLabelPropsType } from '@drincs/pixi-vn';
2
- import { StepLabelPropsType as StepLabelPropsType$1, LabelAbstract, LabelProps, StepLabelType } from '@drincs/pixi-vn/narration';
3
-
4
- type PixiVNJsonStepSwitchElementType<Then> = Then | PixiVNJsonConditionalStatements<Then> | PixiVNJsonConditionalResultToCombine<Then>;
5
- type PixiVNJsonStepSwitchElementsType<Then> = PixiVNJsonStepSwitchElementType<Then>[] | PixiVNJsonConditionalStatements<Then[]>;
6
- interface PixiVNJsonRandom<Then> {
7
- type: "stepswitch";
8
- choiceType: "random";
9
- elements: PixiVNJsonStepSwitchElementsType<Then>;
10
- }
11
- interface PixiVNJsonSequentialRandom<Then> {
12
- type: "stepswitch";
13
- choiceType: "sequentialrandom";
14
- elements: PixiVNJsonStepSwitchElementsType<Then>;
15
- /**
16
- * When the sequential ends, what should be the value? If undefined, it will return undefined.
17
- * If "lastItem", it will return the last item in the array.
18
- */
19
- end: undefined | "lastItem";
20
- /**
21
- * The subId is used for manager nested switches
22
- */
23
- nestedId?: string;
24
- }
25
- interface PixiVNJsonSequential<Then> {
26
- type: "stepswitch";
27
- choiceType: "sequential";
28
- elements: PixiVNJsonStepSwitchElementsType<Then>;
29
- /**
30
- * When the sequential ends, what should be the value? If undefined, it will return undefined.
31
- * If "lastItem", it will return the last item in the array.
32
- */
33
- end: undefined | "lastItem";
34
- /**
35
- * The subId is used for manager nested switches
36
- */
37
- nestedId?: string;
38
- }
39
- interface PixiVNJsonLoop<Then> {
40
- type: "stepswitch";
41
- choiceType: "loop";
42
- elements: PixiVNJsonStepSwitchElementsType<Then>;
43
- nestedId?: string;
44
- }
45
- type PixiVNJsonStepSwitch<Then> = PixiVNJsonRandom<Then> | PixiVNJsonSequential<Then> | PixiVNJsonLoop<Then> | PixiVNJsonSequentialRandom<Then>;
46
-
47
- /**
48
- * This element is used in case a {@link PixiVNJsonConditionalStatements} gives a result that must be combined with another calculated through other {@link PixiVNJsonConditionalStatements}.
49
- * in case this possibility is not managed, it will be taken into consideration {@link PixiVNJsonConditionalResultToCombine.firstItem}
50
- */
51
- type PixiVNJsonConditionalResultToCombine<T> = {
52
- type: "resulttocombine";
53
- /**
54
- * This variable is interpreted differently by Pixi'VN depending on the value
55
- */
56
- combine: "cross" | "union";
57
- firstItem?: T;
58
- secondConditionalItem?: PixiVNJsonStepSwitchElementType<T>[];
59
- };
60
-
61
- type PixiVNJsonStorageGet = {
62
- type: "value";
63
- storageOperationType: "get";
64
- /**
65
- * Key of the storage
66
- */
67
- key: string;
68
- /**
69
- * Type of the storage, if it is a flagStorage or a storage.
70
- * If it is a flagStorage, the value will be get with the function {@link getFlag}
71
- */
72
- storageType: "storage" | "flagStorage" | "tempstorage";
73
- };
74
- type PixiVNJsonParamGet = {
75
- type: "value";
76
- storageOperationType: "get";
77
- /**
78
- * Key of the storage
79
- */
80
- key: number;
81
- storageType: "params";
82
- };
83
- type PixiVNJsonLabelGet = {
84
- type: "value";
85
- storageOperationType: "get";
86
- /**
87
- * Id of the label
88
- */
89
- label: string;
90
- /**
91
- * If it is a label, the value will be get with the function {@link narration.getTimesLabelOpened}
92
- */
93
- storageType: "label";
94
- };
95
- type PixiVNJsonChoiceGet = {
96
- type: "value";
97
- storageOperationType: "get";
98
- /**
99
- * index of the choice
100
- */
101
- index: number;
102
- /**
103
- * If it is a choice, the value will be get with the function {@link narration.getTimesChoiceOpened}
104
- */
105
- storageType: "choice";
106
- };
107
- type PixiVNJsonLogicGet = {
108
- type: "value";
109
- storageOperationType: "get";
110
- operation: PixiVNJsonArithmeticOperations | PixiVNJsonConditions;
111
- storageType: "logic";
112
- };
113
- type PixiVNJsonValueGet = PixiVNJsonStorageGet | PixiVNJsonParamGet | PixiVNJsonLabelGet | PixiVNJsonChoiceGet | PixiVNJsonLogicGet;
114
- type PixiVNJsonOnlyStorageSet = {
115
- type: "value";
116
- storageOperationType: "set";
117
- /**
118
- * Key of the storage
119
- */
120
- key: string;
121
- /**
122
- * Value to be set in the storage
123
- */
124
- value: StorageElementType | PixiVNJsonValueGet | PixiVNJsonArithmeticOperations | PixiVNJsonConditionalStatements<StorageElementType>;
125
- /**
126
- * Type of the storage, if it is a flagStorage or a storage.
127
- */
128
- storageType: "storage" | "tempstorage";
129
- };
130
- type PixiVNJsonOnlyParamSet = {
131
- type: "value";
132
- storageOperationType: "set";
133
- /**
134
- * Key of the storage
135
- */
136
- key: number;
137
- /**
138
- * Value to be set in the storage
139
- */
140
- value: StorageElementType | PixiVNJsonValueGet | PixiVNJsonArithmeticOperations | PixiVNJsonConditionalStatements<StorageElementType>;
141
- storageType: "params";
142
- };
143
- type PixiVNJsonFlagSet = {
144
- type: "value";
145
- storageOperationType: "set";
146
- /**
147
- * Key of the storage
148
- */
149
- key: string;
150
- /**
151
- * Value to be set in the storage
152
- */
153
- value: boolean;
154
- /**
155
- * Type of the storage, if it is a flagStorage or a storage.
156
- */
157
- storageType: "flagStorage";
158
- };
159
- type PixiVNJsonValueSet = PixiVNJsonOnlyStorageSet | PixiVNJsonFlagSet | PixiVNJsonOnlyParamSet;
160
-
161
- interface PixiVNJsonArithmeticOperationsArithmetic {
162
- type: "arithmetic";
163
- /**
164
- * Left value of the arithmetic operation
165
- */
166
- leftValue: StorageElementType | PixiVNJsonValueGet | PixiVNJsonArithmeticOperations | PixiVNJsonConditionalStatements<StorageElementType | PixiVNJsonValueGet | PixiVNJsonArithmeticOperations>;
167
- /**
168
- * Right value of the arithmetic operation
169
- */
170
- rightValue: StorageElementType | PixiVNJsonValueGet | PixiVNJsonArithmeticOperations | PixiVNJsonConditionalStatements<StorageElementType | PixiVNJsonValueGet | PixiVNJsonArithmeticOperations>;
171
- /**
172
- * Operator of the arithmetic operation
173
- */
174
- operator: "*" | "/" | "+" | "-" | "%" | "POW" | "RANDOM";
175
- }
176
- interface PixiVNJsonArithmeticOperationsArithmeticSingle {
177
- type: "arithmeticsingle";
178
- /**
179
- * Left value of the arithmetic operation
180
- */
181
- leftValue: StorageElementType | PixiVNJsonValueGet | PixiVNJsonArithmeticOperations | PixiVNJsonConditionalStatements<StorageElementType | PixiVNJsonValueGet | PixiVNJsonArithmeticOperations>;
182
- /**
183
- * Operator of the arithmetic operation
184
- */
185
- operator: "INT" | "FLOOR" | "FLOAT";
186
- }
187
- /**
188
- * Arithmetic operations for the PixiVNJson
189
- */
190
- type PixiVNJsonArithmeticOperations = PixiVNJsonArithmeticOperationsArithmeticSingle | PixiVNJsonArithmeticOperationsArithmetic;
191
-
192
- type PixiVNJsonUnionConditionAndOr = {
193
- type: "union";
194
- conditions: PixiVNJsonConditions[];
195
- unionType: "and" | "or";
196
- };
197
- type PixiVNJsonUnionConditionNot = {
198
- type: "union";
199
- condition: PixiVNJsonConditions;
200
- unionType: "not";
201
- };
202
- type PixiVNJsonUnionCondition = PixiVNJsonUnionConditionAndOr | PixiVNJsonUnionConditionNot;
203
-
204
- /**
205
- * Comparation for PixiVNJson.
206
- * In this comparation, the values to be converted to string and compared.
207
- */
208
- type PixiVNJsonComparation = {
209
- type: "compare";
210
- /**
211
- * Left value of the comparation
212
- */
213
- leftValue: StorageElementType | PixiVNJsonValueGet | PixiVNJsonConditions;
214
- /**
215
- * Right value of the comparation
216
- */
217
- rightValue: StorageElementType | PixiVNJsonValueGet | PixiVNJsonConditions;
218
- /**
219
- * Operator of the comparation
220
- */
221
- operator: "==" | "!=" | "<" | "<=" | ">" | ">=" | "CONTAINS";
222
- };
223
- type PixiVNJsonValueCondition = StorageElementType | PixiVNJsonValueGet;
224
- /**
225
- * Conditions for PixiVNJson
226
- */
227
- type PixiVNJsonConditions = PixiVNJsonComparation | PixiVNJsonValueCondition | PixiVNJsonUnionCondition | PixiVNJsonArithmeticOperations;
228
-
229
- /**
230
- * If-Else condition for PixiVNJson
231
- */
232
- interface PixiVNJsonIfElse<Then> {
233
- type: "ifelse";
234
- /**
235
- * The list of conditions to be checked.
236
- */
237
- condition: PixiVNJsonConditions;
238
- /**
239
- * The value to be returned if the condition is true.
240
- */
241
- then: Then | PixiVNJsonIfElse<Then>;
242
- /**
243
- * The value to be returned if the condition is false.
244
- */
245
- else?: Then | PixiVNJsonIfElse<Then>;
246
- }
247
-
248
- type PixiVNJsonConditionalStatements<Then> = PixiVNJsonStepSwitch<Then> | PixiVNJsonIfElse<Then | PixiVNJsonConditionalStatements<Then> | PixiVNJsonConditionalResultToCombine<Then>>;
249
-
250
- type PixiVNJsonAnimateBase<T extends CanvasBaseInterface<any>> = {
251
- type: "animate";
252
- alias: string | string[];
253
- keyframes: KeyframesType<T>;
254
- options?: AnimationOptions;
255
- priority?: UPDATE_PRIORITY;
256
- };
257
- type PixiVNJsonAnimateSequence<T extends CanvasBaseInterface<any>> = {
258
- type: "animate-sequence";
259
- alias: string;
260
- sequence: (ObjectSegment<T> | ObjectSegmentWithTransition<T>)[];
261
- options?: SequenceOptions;
262
- priority?: UPDATE_PRIORITY;
263
- };
264
- type PixiVNJsonCanvasAnimate<T extends CanvasBaseInterface<any> = ImageSprite> = PixiVNJsonAnimateBase<T> | PixiVNJsonAnimateSequence<T>;
265
-
266
- type PixiVNJsonEffectShake = {
267
- type: "shake";
268
- alias: string;
269
- props: ShakeEffectProps;
270
- priority?: UPDATE_PRIORITY;
271
- };
272
- type PixiVNJsonCanvasEffect = PixiVNJsonEffectShake;
273
-
274
- /**
275
- * @deprecated
276
- */
277
- type PixiVNJsonTickerFade = {
278
- type: "fade";
279
- alias: string | string[];
280
- duration?: number;
281
- props: FadeAlphaTickerProps;
282
- priority?: UPDATE_PRIORITY;
283
- };
284
- /**
285
- * @deprecated
286
- */
287
- type PixiVNJsonTickerMove = {
288
- type: "move";
289
- alias: string | string[];
290
- duration?: number;
291
- props: MoveTickerProps;
292
- priority?: UPDATE_PRIORITY;
293
- };
294
- /**
295
- * @deprecated
296
- */
297
- type PixiVNJsonTickerRotate = {
298
- type: "rotate";
299
- alias: string | string[];
300
- duration?: number;
301
- props: RotateTickerProps;
302
- priority?: UPDATE_PRIORITY;
303
- };
304
- /**
305
- * @deprecated
306
- */
307
- type PixiVNJsonTickerZoom = {
308
- type: "zoom";
309
- alias: string | string[];
310
- duration?: number;
311
- props: ZoomTickerProps;
312
- priority?: UPDATE_PRIORITY;
313
- };
314
- /**
315
- * @deprecated
316
- */
317
- type PixiVNJsonCanvasTicker = PixiVNJsonTickerFade | PixiVNJsonTickerMove | PixiVNJsonTickerRotate | PixiVNJsonTickerZoom;
318
-
319
- type DissolveTransition = {
320
- type: "dissolve";
321
- props?: ShowWithDissolveTransitionProps;
322
- priority?: UPDATE_PRIORITY;
323
- };
324
- type FadeTransition = {
325
- type: "fade";
326
- props?: ShowWithFadeTransitionProps;
327
- priority?: UPDATE_PRIORITY;
328
- };
329
- type MoveInOutTransition = {
330
- type: "movein" | "moveout";
331
- props?: MoveInOutProps;
332
- priority?: UPDATE_PRIORITY;
333
- };
334
- type ZoomInOutTransition = {
335
- type: "zoomin" | "zoomout";
336
- props?: ZoomInOutProps;
337
- priority?: UPDATE_PRIORITY;
338
- };
339
- type PushInOutTransition = {
340
- type: "pushin" | "pushout";
341
- props?: PushInOutProps;
342
- priority?: UPDATE_PRIORITY;
343
- };
344
- type PixiVNJsonMediaTransiotions = DissolveTransition | FadeTransition | MoveInOutTransition | ZoomInOutTransition | PushInOutTransition;
345
-
346
- type PixiVNJsonCanvasImageVideoShow = {
347
- type: "image" | "video";
348
- operationType: "show";
349
- alias: string;
350
- /**
351
- * The url of the image or video.
352
- * If the url is not provided, the url will be set to the alias.
353
- */
354
- url?: string;
355
- props?: ImageSpriteOptions;
356
- transition?: PixiVNJsonMediaTransiotions;
357
- };
358
- type PixiVNJsonCanvasImageContainerShow = {
359
- type: "imagecontainer";
360
- operationType: "show";
361
- alias: string;
362
- urls: string[];
363
- props?: ImageContainerOptions<ImageSprite>;
364
- transition?: PixiVNJsonMediaTransiotions;
365
- };
366
- type PixiVNJsonImageEdit = {
367
- type: "image";
368
- operationType: "edit";
369
- alias: string;
370
- props?: Partial<ImageSpriteMemory>;
371
- };
372
- type PixiVNJsonVideoEdit = {
373
- type: "video";
374
- operationType: "edit";
375
- alias: string;
376
- props?: Partial<VideoSpriteMemory>;
377
- };
378
- type PixiVNJsonImageContainerEdit = {
379
- type: "imagecontainer";
380
- operationType: "edit";
381
- alias: string;
382
- props?: Partial<ImageContainerMemory>;
383
- };
384
- type PixiVNJsonUnknownEdit<T extends ContainerOptions> = {
385
- type: "canvaselement";
386
- operationType: "edit";
387
- alias: string;
388
- props?: Partial<T>;
389
- };
390
- type PixiVNJsonCanvasRemove = {
391
- type: "image" | "video" | "imagecontainer" | "canvaselement";
392
- operationType: "remove";
393
- alias: string;
394
- transition?: PixiVNJsonMediaTransiotions;
395
- };
396
- type PixiVNJsonVideoPauseResume = {
397
- type: "video";
398
- operationType: "pause" | "resume";
399
- alias: string;
400
- };
401
- type PixiVNJsonAssetsLoad = {
402
- type: "assets" | "bundle";
403
- operationType: "load" | "lazyload";
404
- aliases: string[];
405
- };
406
- type PixiVNJsonCanvasShow = PixiVNJsonCanvasImageContainerShow | PixiVNJsonCanvasImageVideoShow;
407
- type PixiVNJsonCanvasEdit = PixiVNJsonImageEdit | PixiVNJsonVideoEdit | PixiVNJsonImageContainerEdit | PixiVNJsonUnknownEdit<ImageSpriteMemory | VideoSpriteMemory | ContainerMemory>;
408
- type PixiVNJsonCanvas = PixiVNJsonCanvasShow | PixiVNJsonCanvasEdit | PixiVNJsonCanvasRemove | PixiVNJsonVideoPauseResume | PixiVNJsonAssetsLoad | PixiVNJsonCanvasTicker | PixiVNJsonCanvasAnimate | PixiVNJsonCanvasEffect;
409
-
410
- type PixiVNJsonInputRequest = {
411
- type: "input";
412
- operationType: "request";
413
- valueType?: string;
414
- defaultValue?: any;
415
- };
416
- type PixiVNJsonInput = PixiVNJsonInputRequest;
417
-
418
- type PixiVNJsonSoundPlay = {
419
- type: "sound";
420
- operationType: "play";
421
- alias: string;
422
- props?: SoundPlayOptions;
423
- };
424
- type PixiVNJsonSoundRemove = {
425
- type: "sound";
426
- operationType: "stop";
427
- alias: string;
428
- };
429
- type PixiVNJsonSoundPauseResume = {
430
- type: "sound";
431
- operationType: "pause" | "resume";
432
- alias: string;
433
- };
434
- type PixiVNJsonSoundVolume = {
435
- type: "sound";
436
- operationType: "volume";
437
- alias: string;
438
- value: number;
439
- };
440
- type PixiVNJsonSound = PixiVNJsonSoundPlay | PixiVNJsonSoundRemove | PixiVNJsonSoundPauseResume | PixiVNJsonSoundVolume;
441
-
442
- type PixiVNJsonOperationString = {
443
- type: "operationtoconvert";
444
- values: (string | PixiVNJsonValueGet | PixiVNJsonConditionalStatements<string | PixiVNJsonValueGet>)[];
445
- };
446
- type PixiVNJsonOperation = PixiVNJsonValueSet | PixiVNJsonCanvas | PixiVNJsonSound | PixiVNJsonInput;
447
- type PixiVNJsonConditionalOperation = PixiVNJsonOperation | PixiVNJsonIfElse<PixiVNJsonOperation> | PixiVNJsonOperationString;
448
-
449
- type PixiVNJsonChoice = {
450
- /**
451
- * The text to be displayed.
452
- */
453
- text: PixiVNJsonDialogText;
454
- /**
455
- * The label id to be opened.
456
- */
457
- label: string;
458
- /**
459
- * Label opening mode
460
- */
461
- type: LabelRunModeType;
462
- /**
463
- * The properties to be passed to the label.
464
- */
465
- props: StorageObjectType;
466
- /**
467
- * If this is true, the choice can only be made once.
468
- */
469
- oneTime?: boolean;
470
- /**
471
- * If this is true, the choice can see only if there are no other choices. For example, all choices are one-time choices and they are already selected.
472
- */
473
- onlyHaveNoChoice?: boolean;
474
- /**
475
- * If this is true and if is the only choice, it will be automatically selected, and call/jump to the label.
476
- */
477
- autoSelect?: boolean;
478
- };
479
- type PixiVNJsonChoices = (PixiVNJsonChoice | PixiVNJsonConditionalStatements<PixiVNJsonChoice>)[];
480
- type PixiVNJsonDialogText = string | PixiVNJsonValueGet | PixiVNJsonConditionalStatements<string | PixiVNJsonValueGet | string[]> | (string | PixiVNJsonValueGet | PixiVNJsonConditionalStatements<string | PixiVNJsonValueGet | string[]>)[];
481
- type PixiVNJsonDialog<Text = string> = {
482
- /**
483
- * The character id that will speak.
484
- */
485
- character: string;
486
- /**
487
- * The text to be displayed.
488
- */
489
- text: Text;
490
- } | Text;
491
- type PixiVNJsonLabelToOpen<T extends {} = {}> = {
492
- /**
493
- * The id of the label to open.
494
- */
495
- label: string | PixiVNJsonValueGet;
496
- /**
497
- * Label opening mode
498
- */
499
- type: LabelRunModeType;
500
- /**
501
- * The properties to be passed to the label. if you don't want to pass a object, but a list of parameters, you can use the {@link PixiVNJsonLabelToOpen.params} attribute.
502
- */
503
- props?: StepLabelPropsType<T>;
504
- /**
505
- * **It is not recommended to use it, use it only if necessary**. The parameters to be passed to the label. If you want to pass an object, use the {@link PixiVNJsonLabelToOpen.props} attribute.
506
- * "params" attribute will be stored in the temp storage with the key: {@link PIXIVNJSON_PARAM_ID} + ({@link narration.openedLabels.length} - 1).
507
- */
508
- params?: any[];
509
- };
510
- /**
511
- * Steps of a label.
512
- * Order of operations:
513
- * 1. run all {@link PixiVNJsonLabelStep.operations}
514
- * 2. set {@link PixiVNJsonLabelStep.choices}, {@link PixiVNJsonLabelStep.dialogue}, {@link PixiVNJsonLabelStep.glueEnabled}
515
- * 3. open {@link PixiVNJsonLabelStep.labelToOpen}
516
- * 4. go to next step if {@link PixiVNJsonLabelStep.goNextStep} is true
517
- * 5. end the label if {@link PixiVNJsonLabelStep.end} is "label_end"
518
- */
519
- type PixiVNJsonLabelStep = {
520
- operations?: PixiVNJsonConditionalOperation[];
521
- /**
522
- * Variable used to display a choice menu.
523
- */
524
- choices?: PixiVNJsonChoices | PixiVNJsonConditionalStatements<PixiVNJsonChoices>;
525
- /**
526
- * Variable used to display a dialog.
527
- */
528
- dialogue?: PixiVNJsonDialog<PixiVNJsonDialogText> | PixiVNJsonConditionalStatements<PixiVNJsonDialog<PixiVNJsonDialogText>>;
529
- /**
530
- * This variable is used to add the next dialog text into the current dialog memory.
531
- * This value was added to introduce Ink Glue functionality https://github.com/inkle/ink/blob/master/Documentation/WritingWithInk.md#glue
532
- */
533
- glueEnabled?: boolean | PixiVNJsonConditionalStatements<boolean>;
534
- /**
535
- * Variable used to open a label.
536
- */
537
- labelToOpen?: PixiVNJsonLabelToOpen | PixiVNJsonConditionalStatements<PixiVNJsonLabelToOpen> | (PixiVNJsonLabelToOpen | PixiVNJsonConditionalStatements<PixiVNJsonLabelToOpen>)[];
538
- /**
539
- * If is true, the next step will be executed automatically.
540
- */
541
- goNextStep?: boolean | PixiVNJsonConditionalStatements<boolean>;
542
- /**
543
- * Variable used to end some elements of the narrative.
544
- * - game_end: ends the game
545
- * - label_end: ends the label
546
- */
547
- end?: "game_end" | "label_end" | PixiVNJsonConditionalStatements<"game_end" | "label_end">;
548
- conditionalStep?: PixiVNJsonConditionalStatements<PixiVNJsonLabelStep | PixiVNJsonLabelStep[]>;
549
- };
1
+ import { P as PixiVNJsonLabelStep, a as PixiVNJsonConditionalOperation, b as PixiVNJsonOperation } from './PixiVNJsonLabelStep-CNFnTNr1.js';
2
+ import { StepLabelPropsType, LabelAbstract, LabelProps, StepLabelType } from '@drincs/pixi-vn/narration';
3
+ import '@drincs/pixi-vn';
550
4
 
551
5
  /**
552
6
  * Collection of labels to be used in the narrative.
@@ -576,7 +30,7 @@ type LabelJsonOptions = {
576
30
  * Function that converts a string to a {@link PixiVNJsonOperation}.
577
31
  * If is a special operation you can return undefined and can run the operation.
578
32
  */
579
- operationStringConvert?: (value: string, step: PixiVNJsonLabelStep, props: StepLabelPropsType$1 | {}) => Promise<PixiVNJsonOperation | undefined>;
33
+ operationStringConvert?: (value: string, step: PixiVNJsonLabelStep, props: StepLabelPropsType | {}) => Promise<PixiVNJsonOperation | undefined>;
580
34
  /**
581
35
  * If true and a dialog is empty or has only spaces, {@link PixiVNJsonLabelStep.goNextStep} will be set to true.
582
36
  */