@drincs/pixi-vn-json 1.13.17 → 1.15.0

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,602 +0,0 @@
1
- import { a as PixiVNJsonValueSet, m as PixiVNJsonFunction, P as PixiVNJsonIfElse, c as PixiVNJsonValueGet, f as PixiVNJsonConditionalStatements } from './PixiVNJsonIfElse-B_OG8Qs1.js';
2
- import { CanvasBaseInterface, ImageSprite, ShakeEffectProps, ShowWithDissolveTransitionProps, ShowWithFadeTransitionProps, MoveInOutProps, ZoomInOutProps, PushInOutProps, ContainerOptions, ImageContainerOptions, ImageSpriteOptions, TextOptions, ImageSpriteMemory, VideoSpriteMemory, ImageContainerMemory, TextMemory, ContainerMemory, SoundPlayOptionsWithChannel, MediaInterface, LabelRunModeType, StorageObjectType, StepLabelPropsType } from '@drincs/pixi-vn';
3
- import { KeyframesType, AnimationOptions, ObjectSegment, ObjectSegmentWithTransition, SequenceOptions } from '@drincs/pixi-vn/motion';
4
- import { UPDATE_PRIORITY } from 'pixi.js';
5
-
6
- /**
7
- * Animates one or more canvas elements simultaneously using keyframe-based animation.
8
- */
9
- type PixiVNJsonAnimateBase<T extends CanvasBaseInterface<any>> = {
10
- type: "animate";
11
- /**
12
- * Alias (or list of aliases) of the canvas elements to animate.
13
- */
14
- alias: string | string[];
15
- /**
16
- * The keyframes that define the animation values over time.
17
- */
18
- keyframes: KeyframesType<T>;
19
- /**
20
- * Additional options controlling the animation (duration, easing, repeat, etc.).
21
- */
22
- options?: AnimationOptions;
23
- /**
24
- * Pixi.js update priority for this animation ticker callback.
25
- */
26
- priority?: UPDATE_PRIORITY;
27
- };
28
- /**
29
- * Animates a canvas element using a sequence of segments (timeline-based animation).
30
- */
31
- type PixiVNJsonAnimateSequence<T extends CanvasBaseInterface<any>> = {
32
- type: "animate-sequence";
33
- /**
34
- * Alias of the canvas element to animate.
35
- */
36
- alias: string;
37
- /**
38
- * Ordered list of animation segments, each optionally including a transition.
39
- */
40
- sequence: (ObjectSegment<T> | ObjectSegmentWithTransition<T>)[];
41
- /**
42
- * Additional options controlling the sequence playback.
43
- */
44
- options?: SequenceOptions;
45
- /**
46
- * Pixi.js update priority for this animation ticker callback.
47
- */
48
- priority?: UPDATE_PRIORITY;
49
- };
50
- /**
51
- * Union of all canvas animation operations — keyframe-based or sequence-based.
52
- */
53
- type PixiVNJsonCanvasAnimate<T extends CanvasBaseInterface<any> = ImageSprite> = PixiVNJsonAnimateBase<T> | PixiVNJsonAnimateSequence<T>;
54
-
55
- /**
56
- * Applies a shake effect to a canvas element.
57
- */
58
- type PixiVNJsonEffectShake = {
59
- type: "shake";
60
- /**
61
- * Alias of the canvas element to apply the shake effect to.
62
- */
63
- alias: string;
64
- /**
65
- * Configuration properties for the shake effect (amplitude, duration, etc.).
66
- */
67
- props: ShakeEffectProps;
68
- /**
69
- * Pixi.js update priority for the effect ticker callback.
70
- */
71
- priority?: UPDATE_PRIORITY;
72
- };
73
- /**
74
- * Union of all canvas visual effects.
75
- */
76
- type PixiVNJsonCanvasEffect = PixiVNJsonEffectShake;
77
-
78
- /**
79
- * Cross-dissolve transition — blends the element in or out by gradually changing its opacity.
80
- */
81
- type DissolveTransition = {
82
- type: "dissolve";
83
- /**
84
- * Configuration options for the dissolve transition.
85
- */
86
- props?: ShowWithDissolveTransitionProps;
87
- /**
88
- * Pixi.js update priority for the transition ticker callback.
89
- */
90
- priority?: UPDATE_PRIORITY;
91
- };
92
- /**
93
- * Fade transition — fades the element in or out by animating its alpha value.
94
- */
95
- type FadeTransition = {
96
- type: "fade";
97
- /**
98
- * Configuration options for the fade transition.
99
- */
100
- props?: ShowWithFadeTransitionProps;
101
- /**
102
- * Pixi.js update priority for the transition ticker callback.
103
- */
104
- priority?: UPDATE_PRIORITY;
105
- };
106
- /**
107
- * Move-in / Move-out transition — slides the element into or out of the viewport.
108
- */
109
- type MoveInOutTransition = {
110
- type: "movein" | "moveout";
111
- /**
112
- * Configuration options for the move transition (direction, duration, easing, etc.).
113
- */
114
- props?: MoveInOutProps;
115
- /**
116
- * Pixi.js update priority for the transition ticker callback.
117
- */
118
- priority?: UPDATE_PRIORITY;
119
- };
120
- /**
121
- * Zoom-in / Zoom-out transition — scales the element into or out of view.
122
- */
123
- type ZoomInOutTransition = {
124
- type: "zoomin" | "zoomout";
125
- /**
126
- * Configuration options for the zoom transition (scale, duration, easing, etc.).
127
- */
128
- props?: ZoomInOutProps;
129
- /**
130
- * Pixi.js update priority for the transition ticker callback.
131
- */
132
- priority?: UPDATE_PRIORITY;
133
- };
134
- /**
135
- * Push-in / Push-out transition — pushes the element onto or off the viewport, displacing the current content.
136
- */
137
- type PushInOutTransition = {
138
- type: "pushin" | "pushout";
139
- /**
140
- * Configuration options for the push transition (direction, duration, easing, etc.).
141
- */
142
- props?: PushInOutProps;
143
- /**
144
- * Pixi.js update priority for the transition ticker callback.
145
- */
146
- priority?: UPDATE_PRIORITY;
147
- };
148
- /**
149
- * Union of all supported canvas media transitions.
150
- */
151
- type PixiVNJsonMediaTransiotions = DissolveTransition | FadeTransition | MoveInOutTransition | ZoomInOutTransition | PushInOutTransition;
152
-
153
- /**
154
- * Shows an image or video asset on the canvas.
155
- */
156
- type PixiVNJsonCanvasImageVideoShow = {
157
- type: "image" | "video";
158
- operationType: "show";
159
- /**
160
- * Unique identifier (alias) used to reference this element on the canvas.
161
- */
162
- alias: string;
163
- /**
164
- * The url of the image or video.
165
- * If the url is not provided, the url will be set to the alias.
166
- */
167
- url?: string;
168
- /**
169
- * Display options (position, scale, alpha, etc.) for the image or video sprite.
170
- */
171
- props?: ImageSpriteOptions;
172
- /**
173
- * Optional transition effect applied when the element appears on screen.
174
- */
175
- transition?: PixiVNJsonMediaTransiotions;
176
- };
177
- /**
178
- * Shows an image container (a group of layered images) on the canvas.
179
- */
180
- type PixiVNJsonCanvasImageContainerShow = {
181
- type: "imagecontainer";
182
- operationType: "show";
183
- /**
184
- * Unique identifier (alias) used to reference this element on the canvas.
185
- */
186
- alias: string;
187
- /**
188
- * The ordered list of image URLs that compose the container layers.
189
- */
190
- urls: string[];
191
- /**
192
- * Display options for the image container.
193
- */
194
- props?: ImageContainerOptions<ImageSprite>;
195
- /**
196
- * Optional transition effect applied when the element appears on screen.
197
- */
198
- transition?: PixiVNJsonMediaTransiotions;
199
- };
200
- /**
201
- * Shows a text element on the canvas.
202
- */
203
- type PixiVNJsonCanvasTextShow = {
204
- type: "text";
205
- operationType: "show";
206
- /**
207
- * Unique identifier (alias) used to reference this element on the canvas.
208
- */
209
- alias: string;
210
- /**
211
- * The string content to display.
212
- */
213
- text: string;
214
- /**
215
- * Display options (font, style, position, etc.) for the text element.
216
- */
217
- props?: TextOptions;
218
- /**
219
- * Optional transition effect applied when the element appears on screen.
220
- */
221
- transition?: PixiVNJsonMediaTransiotions;
222
- };
223
- /**
224
- * Edits the properties of an existing image sprite on the canvas.
225
- */
226
- type PixiVNJsonImageEdit = {
227
- type: "image";
228
- operationType: "edit";
229
- /**
230
- * Alias of the canvas element to edit.
231
- */
232
- alias: string;
233
- /**
234
- * Partial memory/state properties to update on the image sprite.
235
- */
236
- props?: Partial<ImageSpriteMemory>;
237
- };
238
- /**
239
- * Edits the properties of an existing video sprite on the canvas.
240
- */
241
- type PixiVNJsonVideoEdit = {
242
- type: "video";
243
- operationType: "edit";
244
- /**
245
- * Alias of the canvas element to edit.
246
- */
247
- alias: string;
248
- /**
249
- * Partial memory/state properties to update on the video sprite.
250
- */
251
- props?: Partial<VideoSpriteMemory>;
252
- };
253
- /**
254
- * Edits the properties of an existing image container on the canvas.
255
- */
256
- type PixiVNJsonImageContainerEdit = {
257
- type: "imagecontainer";
258
- operationType: "edit";
259
- /**
260
- * Alias of the canvas element to edit.
261
- */
262
- alias: string;
263
- /**
264
- * Partial memory/state properties to update on the image container.
265
- */
266
- props?: Partial<ImageContainerMemory>;
267
- };
268
- /**
269
- * Edits the properties of an existing text element on the canvas.
270
- */
271
- type PixiVNJsonTextEdit = {
272
- type: "text";
273
- operationType: "edit";
274
- /**
275
- * Alias of the canvas element to edit.
276
- */
277
- alias: string;
278
- /**
279
- * Partial memory/state properties to update on the text element.
280
- */
281
- props?: Partial<TextMemory>;
282
- };
283
- /**
284
- * Edits the properties of an unknown/generic canvas element.
285
- * Use this when the specific element type is not one of the built-in kinds.
286
- */
287
- type PixiVNJsonUnknownEdit<T extends ContainerOptions<any>> = {
288
- type: "canvaselement";
289
- operationType: "edit";
290
- /**
291
- * Alias of the canvas element to edit.
292
- */
293
- alias: string;
294
- /**
295
- * Partial options/properties to update on the canvas element.
296
- */
297
- props?: Partial<T>;
298
- };
299
- /**
300
- * Removes a canvas element from the stage, optionally with a transition.
301
- */
302
- type PixiVNJsonCanvasRemove = {
303
- type: "image" | "video" | "imagecontainer" | "canvaselement" | "text";
304
- operationType: "remove";
305
- /**
306
- * Alias of the canvas element to remove.
307
- */
308
- alias: string;
309
- /**
310
- * Optional transition effect applied while the element disappears.
311
- */
312
- transition?: PixiVNJsonMediaTransiotions;
313
- };
314
- /**
315
- * Removes every element currently on the canvas.
316
- */
317
- type PixiVNJsonCanvasClear = {
318
- type: "canvas";
319
- operationType: "clear";
320
- };
321
- /**
322
- * Pauses or resumes playback of a video sprite on the canvas.
323
- */
324
- type PixiVNJsonVideoPauseResume = {
325
- type: "video";
326
- operationType: "pause" | "resume";
327
- /**
328
- * Alias of the video element to pause or resume.
329
- */
330
- alias: string;
331
- };
332
- /**
333
- * Loads or lazy-loads asset bundles or individual assets into memory.
334
- */
335
- type PixiVNJsonAssetsLoad = {
336
- type: "assets" | "bundle";
337
- operationType: "load" | "lazyload";
338
- /**
339
- * List of asset aliases (or bundle names) to load.
340
- */
341
- aliases: string[];
342
- };
343
- type PixiVNJsonCanvasShow = PixiVNJsonCanvasImageContainerShow | PixiVNJsonCanvasImageVideoShow | PixiVNJsonCanvasTextShow;
344
- /**
345
- * Union of all canvas-element edit operations.
346
- */
347
- type PixiVNJsonCanvasEdit = PixiVNJsonImageEdit | PixiVNJsonVideoEdit | PixiVNJsonImageContainerEdit | PixiVNJsonTextEdit | PixiVNJsonUnknownEdit<ImageSpriteMemory | VideoSpriteMemory | ContainerMemory | TextMemory>;
348
- /**
349
- * Union of all canvas operations — show, edit, remove, clear, animate, apply effects, and asset
350
- * loading.
351
- */
352
- type PixiVNJsonCanvas = PixiVNJsonCanvasShow | PixiVNJsonCanvasEdit | PixiVNJsonCanvasRemove | PixiVNJsonCanvasClear | PixiVNJsonVideoPauseResume | PixiVNJsonAssetsLoad | PixiVNJsonCanvasAnimate | PixiVNJsonCanvasEffect;
353
-
354
- /**
355
- * Requests user input during the narrative.
356
- * When this operation is encountered, the engine pauses and waits for the player to provide a value.
357
- */
358
- type PixiVNJsonInputRequest = {
359
- type: "input";
360
- operationType: "request";
361
- /**
362
- * The expected value type for the input (e.g. `"string"`, `"number"`, `"boolean"`).
363
- * Used by the engine to validate or cast the player's answer.
364
- */
365
- valueType?: string;
366
- /**
367
- * A default value that will be used if the player does not provide any input.
368
- */
369
- defaultValue?: any;
370
- };
371
- /**
372
- * Clears (resets) the current dialogue state.
373
- * This is typically used to wipe any displayed text before showing new content.
374
- */
375
- type PixiVNJsonDialogue = {
376
- type: "dialogue";
377
- operationType: "clean";
378
- };
379
- /**
380
- * Narration operation — either a dialogue clear or a user-input request.
381
- */
382
- type PixiVNJsonNarration = PixiVNJsonDialogue | PixiVNJsonInputRequest;
383
-
384
- /**
385
- * Starts playback of a sound asset.
386
- */
387
- type PixiVNJsonSoundPlay = {
388
- type: "sound";
389
- operationType: "play";
390
- /**
391
- * Unique identifier (alias) used to reference this sound.
392
- */
393
- alias: string;
394
- /**
395
- * URL of the sound file. If omitted, the alias is used as the URL.
396
- */
397
- url?: string;
398
- /**
399
- * Playback options such as volume, loop, channel, and start offset.
400
- */
401
- props?: SoundPlayOptionsWithChannel;
402
- };
403
- /**
404
- * Stops a playing sound and removes it from the audio context.
405
- */
406
- type PixiVNJsonSoundRemove = {
407
- type: "sound";
408
- operationType: "stop";
409
- /**
410
- * Alias of the sound to stop.
411
- */
412
- alias: string;
413
- };
414
- /**
415
- * Pauses or resumes a sound, a channel, or all audio.
416
- */
417
- type PixiVNJsonSoundPauseResume = {
418
- type: "sound" | "channel";
419
- operationType: "pause" | "resume";
420
- /**
421
- * Alias of the sound or channel to pause/resume.
422
- */
423
- alias: string;
424
- } | {
425
- type: "all";
426
- operationType: "pause" | "resume" | "stop";
427
- };
428
- /**
429
- * Edits the properties of a currently playing sound (volume, speed, muted, loop, etc.).
430
- */
431
- type PixiVNJsonSoundEdit = {
432
- type: "sound";
433
- operationType: "edit";
434
- /**
435
- * Alias of the sound to edit.
436
- */
437
- alias: string;
438
- /**
439
- * Partial set of properties to apply to the sound.
440
- */
441
- props: Partial<Pick<MediaInterface, "speed" | "muted" | "loop" | "paused"> & Pick<SoundPlayOptionsWithChannel, "volume">>;
442
- };
443
- /**
444
- * Union of all sound operations — play, stop, pause/resume, and edit.
445
- */
446
- type PixiVNJsonSound = PixiVNJsonSoundPlay | PixiVNJsonSoundRemove | PixiVNJsonSoundPauseResume | PixiVNJsonSoundEdit;
447
-
448
- /**
449
- * An operation string that holds a list of string/value fragments to be concatenated at runtime.
450
- * Used internally to represent string interpolation expressions before they are fully resolved.
451
- */
452
- type PixiVNJsonOperationString = {
453
- type: "operationtoconvert";
454
- /**
455
- * The ordered list of string fragments and/or value-get expressions to concatenate.
456
- */
457
- values: (string | PixiVNJsonValueGet | PixiVNJsonConditionalStatements<string | PixiVNJsonValueGet>)[];
458
- };
459
- /**
460
- * A single resolved operation — a value set, canvas operation, sound operation,
461
- * narration operation, or function call — optionally annotated with an origin string.
462
- */
463
- type PixiVNJsonOperation = (PixiVNJsonValueSet | PixiVNJsonCanvas | PixiVNJsonSound | PixiVNJsonNarration | PixiVNJsonFunction) & {
464
- /**
465
- * This value is used by the system to know where this operation is from, for example, if is generated from a string operation.
466
- */
467
- $origin?: string;
468
- };
469
- /**
470
- * A conditional operation — either a plain operation, an if-else that resolves to one,
471
- * or an operation-string (string interpolation expression).
472
- */
473
- type PixiVNJsonConditionalOperation = PixiVNJsonOperation | PixiVNJsonIfElse<PixiVNJsonOperation> | PixiVNJsonOperationString;
474
-
475
- /**
476
- * A player-presentable choice in a menu.
477
- */
478
- type PixiVNJsonChoice = {
479
- /**
480
- * The text to be displayed.
481
- */
482
- text: PixiVNJsonDialogText;
483
- /**
484
- * The label id to be opened.
485
- */
486
- label: string;
487
- /**
488
- * Label opening mode
489
- */
490
- type: LabelRunModeType;
491
- /**
492
- * The properties to be passed to the label.
493
- */
494
- props: StorageObjectType;
495
- /**
496
- * If this is true, the choice can only be made once.
497
- */
498
- oneTime?: boolean;
499
- /**
500
- * 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.
501
- */
502
- onlyHaveNoChoice?: boolean;
503
- /**
504
- * If this is true and if is the only choice, it will be automatically selected, and call/jump to the label.
505
- */
506
- autoSelect?: boolean;
507
- };
508
- /**
509
- * A list of choices (possibly conditional) that are shown to the player as a menu.
510
- */
511
- type PixiVNJsonChoices = (PixiVNJsonChoice | PixiVNJsonConditionalStatements<PixiVNJsonChoice>)[];
512
- /**
513
- * The text content of a dialogue line.
514
- * Can be a plain string, a dynamic value-get, a conditional expression, or an array of any of these
515
- * (which will be concatenated into a single string at runtime).
516
- */
517
- type PixiVNJsonDialogText = string | PixiVNJsonValueGet | PixiVNJsonConditionalStatements<string | PixiVNJsonValueGet | string[]> | (string | PixiVNJsonValueGet | PixiVNJsonConditionalStatements<string | PixiVNJsonValueGet | string[]>)[];
518
- /**
519
- * A dialogue line, optionally attributed to a character.
520
- * When a plain `Text` value is used, no character attribution is included.
521
- */
522
- type PixiVNJsonDialog<Text = string> = {
523
- /**
524
- * The character id that will speak.
525
- */
526
- character: string;
527
- /**
528
- * The text to be displayed.
529
- */
530
- text: Text;
531
- } | Text;
532
- /**
533
- * Describes a label that should be opened (called or jumped to) during a step.
534
- */
535
- type PixiVNJsonLabelToOpen<T extends {} = object> = {
536
- /**
537
- * The id of the label to open.
538
- */
539
- label: string | PixiVNJsonValueGet;
540
- /**
541
- * Label opening mode
542
- */
543
- type: LabelRunModeType;
544
- /**
545
- * 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.
546
- */
547
- props?: StepLabelPropsType<T>;
548
- /**
549
- * **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.
550
- * "params" attribute will be stored in the temp storage with the key: {@link PIXIVNJSON_PARAM_ID} + ({@link narration.openedLabels.length} - 1).
551
- */
552
- params?: unknown[];
553
- };
554
- /**
555
- * Steps of a label.
556
- * Order of operations:
557
- * 1. run all {@link PixiVNJsonLabelStep.operations}
558
- * 2. set {@link PixiVNJsonLabelStep.choices}, {@link PixiVNJsonLabelStep.dialogue}, {@link PixiVNJsonLabelStep.glueEnabled}
559
- * 3. open {@link PixiVNJsonLabelStep.labelToOpen}
560
- * 4. go to next step if {@link PixiVNJsonLabelStep.goNextStep} is true
561
- * 5. end the label if {@link PixiVNJsonLabelStep.end} is "label_end"
562
- */
563
- type PixiVNJsonLabelStep = {
564
- /**
565
- * Operations to execute at the start of this step (storage writes, canvas updates, sound, etc.).
566
- */
567
- operations?: PixiVNJsonConditionalOperation[];
568
- /**
569
- * Variable used to display a choice menu.
570
- */
571
- choices?: PixiVNJsonChoices | PixiVNJsonConditionalStatements<PixiVNJsonChoices>;
572
- /**
573
- * Variable used to display a dialog.
574
- */
575
- dialogue?: PixiVNJsonDialog<PixiVNJsonDialogText> | PixiVNJsonConditionalStatements<PixiVNJsonDialog<PixiVNJsonDialogText>>;
576
- /**
577
- * This variable is used to add the next dialog text into the current dialog memory.
578
- * This value was added to introduce Ink Glue functionality https://github.com/inkle/ink/blob/master/Documentation/WritingWithInk.md#glue
579
- */
580
- glueEnabled?: boolean | PixiVNJsonConditionalStatements<boolean>;
581
- /**
582
- * Variable used to open a label.
583
- */
584
- labelToOpen?: PixiVNJsonLabelToOpen | PixiVNJsonConditionalStatements<PixiVNJsonLabelToOpen> | (PixiVNJsonLabelToOpen | PixiVNJsonConditionalStatements<PixiVNJsonLabelToOpen>)[];
585
- /**
586
- * If is true, the next step will be executed automatically.
587
- */
588
- goNextStep?: boolean | PixiVNJsonConditionalStatements<boolean>;
589
- /**
590
- * Variable used to end some elements of the narrative.
591
- * - game_end: ends the game
592
- * - label_end: ends the label
593
- */
594
- end?: "game_end" | "label_end" | PixiVNJsonConditionalStatements<"game_end" | "label_end">;
595
- /**
596
- * If set, this step is replaced by the result of evaluating the given conditional statement.
597
- * Allows an entire step to be chosen at runtime based on a condition or step-switch strategy.
598
- */
599
- conditionalStep?: PixiVNJsonConditionalStatements<PixiVNJsonLabelStep | PixiVNJsonLabelStep[]>;
600
- };
601
-
602
- export type { PixiVNJsonDialogText as A, PixiVNJsonDialogue as B, PixiVNJsonInputRequest as C, PixiVNJsonLabelToOpen as D, PixiVNJsonMediaTransiotions as E, PixiVNJsonSoundEdit as F, PixiVNJsonSoundPauseResume as G, PixiVNJsonSoundPlay as H, PixiVNJsonSoundRemove as I, PixiVNJsonOperation as P, PixiVNJsonOperationString as a, PixiVNJsonSound as b, PixiVNJsonCanvasImageVideoShow as c, PixiVNJsonImageEdit as d, PixiVNJsonCanvasRemove as e, PixiVNJsonVideoEdit as f, PixiVNJsonVideoPauseResume as g, PixiVNJsonCanvasImageContainerShow as h, PixiVNJsonImageContainerEdit as i, PixiVNJsonCanvasTextShow as j, PixiVNJsonTextEdit as k, PixiVNJsonUnknownEdit as l, PixiVNJsonNarration as m, PixiVNJsonCanvasEffect as n, PixiVNJsonCanvasAnimate as o, PixiVNJsonCanvasClear as p, PixiVNJsonLabelStep as q, PixiVNJsonAnimateBase as r, PixiVNJsonAnimateSequence as s, PixiVNJsonCanvas as t, PixiVNJsonCanvasEdit as u, PixiVNJsonCanvasShow as v, PixiVNJsonChoice as w, PixiVNJsonChoices as x, PixiVNJsonConditionalOperation as y, PixiVNJsonDialog as z };