@drincs/pixi-vn 1.2.21 → 1.2.22

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,4 +1,4 @@
1
- export { K as CanvasBaseInterface, b as CanvasEvent, a0 as CanvasEventNamesType, C as CanvasManagerInterface, d as CanvasManagerStatic, e as Container, I as ImageContainer, M as ImageContainerMemory, E as ImageContainerOptions, f as ImageSprite, N as ImageSpriteMemory, F as ImageSpriteOptions, X as MoveInOutProps, Y as PushInOutProps, R as RegisteredCanvasComponents, i as RegisteredEvents, L as ShakeEffectProps, Z as ShowWithDissolveTransitionProps, _ as ShowWithFadeTransitionProps, S as Sprite, O as SpriteBaseMemory, P as SpriteMemory, G as SpriteOptions, T as Text, Q as TextMemory, H as TextOptions, W as TextureMemory, V as VideoSprite, U as VideoSpriteMemory, J as VideoSpriteOptions, $ as ZoomInOutProps, v as addImage, t as addImageCointainer, A as addVideo, a as canvas, g as canvasComponentDecorator, h as eventDecorator, y as getTexture, w as loadImage, B as loadVideo, m as moveIn, j as moveOut, p as pushIn, k as pushOut, r as removeWithDissolve, l as removeWithFade, s as shakeEffect, x as showImage, u as showImageContainer, D as showVideo, n as showWithDissolve, o as showWithFade, z as zoomIn, q as zoomOut } from '../index-zWjaeuZw.cjs';
1
+ export { K as CanvasBaseInterface, b as CanvasEvent, a0 as CanvasEventNamesType, C as CanvasManagerInterface, d as CanvasManagerStatic, e as Container, I as ImageContainer, M as ImageContainerMemory, E as ImageContainerOptions, f as ImageSprite, N as ImageSpriteMemory, F as ImageSpriteOptions, X as MoveInOutProps, Y as PushInOutProps, R as RegisteredCanvasComponents, i as RegisteredEvents, L as ShakeEffectProps, Z as ShowWithDissolveTransitionProps, _ as ShowWithFadeTransitionProps, S as Sprite, O as SpriteBaseMemory, P as SpriteMemory, G as SpriteOptions, T as Text, Q as TextMemory, H as TextOptions, W as TextureMemory, V as VideoSprite, U as VideoSpriteMemory, J as VideoSpriteOptions, $ as ZoomInOutProps, v as addImage, t as addImageCointainer, A as addVideo, a as canvas, g as canvasComponentDecorator, h as eventDecorator, y as getTexture, w as loadImage, B as loadVideo, m as moveIn, j as moveOut, p as pushIn, k as pushOut, r as removeWithDissolve, l as removeWithFade, s as shakeEffect, x as showImage, u as showImageContainer, D as showVideo, n as showWithDissolve, o as showWithFade, z as zoomIn, q as zoomOut } from '../index-BhqocQcj.cjs';
2
2
  export { C as CanvasBaseItem, b as CanvasBaseItemMemory, a as CanvasGameState, d as ContainerChild, c as ContainerMemory } from '../ContainerMemory-Bemxh6ml.cjs';
3
3
  export { FadeAlphaTicker, FadeAlphaTickerProps, MoveTicker, MoveTickerProps, RegisteredTickers, RotateTicker, RotateTickerProps, Ticker, TickerBase, TickerProgrationExponential, TickerProgrationLinear, TickerProgrationType, TickerTimeoutHistory, TickerValue, ZoomTicker, ZoomTickerProps, tickerDecorator } from './tickers/index.cjs';
4
4
  export { P as PauseType, R as RepeatType, T as TickerArgs, a as TickerHistory, b as TickerHistoryForExport, c as TickersSequence } from '../TickersSequence-_GvVF_1g.cjs';
@@ -1,4 +1,4 @@
1
- export { K as CanvasBaseInterface, b as CanvasEvent, a0 as CanvasEventNamesType, C as CanvasManagerInterface, d as CanvasManagerStatic, e as Container, I as ImageContainer, M as ImageContainerMemory, E as ImageContainerOptions, f as ImageSprite, N as ImageSpriteMemory, F as ImageSpriteOptions, X as MoveInOutProps, Y as PushInOutProps, R as RegisteredCanvasComponents, i as RegisteredEvents, L as ShakeEffectProps, Z as ShowWithDissolveTransitionProps, _ as ShowWithFadeTransitionProps, S as Sprite, O as SpriteBaseMemory, P as SpriteMemory, G as SpriteOptions, T as Text, Q as TextMemory, H as TextOptions, W as TextureMemory, V as VideoSprite, U as VideoSpriteMemory, J as VideoSpriteOptions, $ as ZoomInOutProps, v as addImage, t as addImageCointainer, A as addVideo, a as canvas, g as canvasComponentDecorator, h as eventDecorator, y as getTexture, w as loadImage, B as loadVideo, m as moveIn, j as moveOut, p as pushIn, k as pushOut, r as removeWithDissolve, l as removeWithFade, s as shakeEffect, x as showImage, u as showImageContainer, D as showVideo, n as showWithDissolve, o as showWithFade, z as zoomIn, q as zoomOut } from '../index-D2ndtj53.js';
1
+ export { K as CanvasBaseInterface, b as CanvasEvent, a0 as CanvasEventNamesType, C as CanvasManagerInterface, d as CanvasManagerStatic, e as Container, I as ImageContainer, M as ImageContainerMemory, E as ImageContainerOptions, f as ImageSprite, N as ImageSpriteMemory, F as ImageSpriteOptions, X as MoveInOutProps, Y as PushInOutProps, R as RegisteredCanvasComponents, i as RegisteredEvents, L as ShakeEffectProps, Z as ShowWithDissolveTransitionProps, _ as ShowWithFadeTransitionProps, S as Sprite, O as SpriteBaseMemory, P as SpriteMemory, G as SpriteOptions, T as Text, Q as TextMemory, H as TextOptions, W as TextureMemory, V as VideoSprite, U as VideoSpriteMemory, J as VideoSpriteOptions, $ as ZoomInOutProps, v as addImage, t as addImageCointainer, A as addVideo, a as canvas, g as canvasComponentDecorator, h as eventDecorator, y as getTexture, w as loadImage, B as loadVideo, m as moveIn, j as moveOut, p as pushIn, k as pushOut, r as removeWithDissolve, l as removeWithFade, s as shakeEffect, x as showImage, u as showImageContainer, D as showVideo, n as showWithDissolve, o as showWithFade, z as zoomIn, q as zoomOut } from '../index-Bju40pxd.js';
2
2
  export { C as CanvasBaseItem, b as CanvasBaseItemMemory, a as CanvasGameState, d as ContainerChild, c as ContainerMemory } from '../ContainerMemory-BSDt46hh.js';
3
3
  export { FadeAlphaTicker, FadeAlphaTickerProps, MoveTicker, MoveTickerProps, RegisteredTickers, RotateTicker, RotateTickerProps, Ticker, TickerBase, TickerProgrationExponential, TickerProgrationLinear, TickerProgrationType, TickerTimeoutHistory, TickerValue, ZoomTicker, ZoomTickerProps, tickerDecorator } from './tickers/index.js';
4
4
  export { P as PauseType, R as RepeatType, T as TickerArgs, a as TickerHistory, b as TickerHistoryForExport, c as TickersSequence } from '../TickersSequence-_GvVF_1g.js';
@@ -544,15 +544,15 @@ declare class AnchorExtension extends Container$1 {
544
544
 
545
545
  interface SpriteOptions extends Omit<SpriteOptions$1, "on"> {
546
546
  /**
547
- * on() does not keep in memory the event class, use onEvent() instead
548
- * @deprecated
547
+ * Add a listener for a given event.
548
+ * Unlike {@link onEvent}, this method does **not track the event association in the current game state**, so it will not be included in saves.
549
549
  */
550
550
  on?: <T extends EventEmitter.EventNames<string | symbol>>(event: T, fn: EventEmitter.EventListener<string | symbol, T>, context?: any) => this;
551
551
  }
552
552
  interface TextOptions extends Omit<TextOptions$1, "on"> {
553
553
  /**
554
- * on() does not keep in memory the event class, use onEvent() instead
555
- * @deprecated
554
+ * Add a listener for a given event.
555
+ * Unlike {@link onEvent}, this method does **not track the event association in the current game state**, so it will not be included in saves.
556
556
  */
557
557
  on?: <T extends EventEmitter.EventNames<string | symbol>>(event: T, fn: EventEmitter.EventListener<string | symbol, T>, context?: any) => this;
558
558
  }
@@ -710,12 +710,8 @@ declare class Sprite<Memory extends SpriteOptions$1 & CanvasBaseItemMemory = Spr
710
710
  */
711
711
  onEvent<T extends typeof CanvasEvent<typeof this>>(event: CanvasEventNamesType, eventClass: T): this;
712
712
  /**
713
- * on() does not keep in memory the event class, use onEvent() instead
714
- * @deprecated
715
- * @private
716
- * @param event
717
- * @param fn
718
- * @param context
713
+ * Add a listener for a given event.
714
+ * Unlike {@link onEvent}, this method does **not track the event association in the current game state**, so it will not be included in saves.
719
715
  */
720
716
  on<T extends keyof ContainerEvents<ContainerChild> | keyof {
721
717
  [K: symbol]: any;
@@ -946,12 +942,8 @@ declare class Container<C extends ContainerChild$1 = ContainerChild$1, Memory ex
946
942
  */
947
943
  onEvent<T extends CanvasEventNamesType, T2 extends typeof CanvasEvent<typeof this>>(event: T, eventClass: T2): this;
948
944
  /**
949
- * on() does not keep in memory the event class, use onEvent() instead
950
- * @deprecated
951
- * @private
952
- * @param event
953
- * @param fn
954
- * @param context
945
+ * Add a listener for a given event.
946
+ * Unlike {@link onEvent}, this method does **not track the event association in the current game state**, so it will not be included in saves.
955
947
  */
956
948
  on<T extends keyof ContainerEvents<ContainerChild$1> | keyof {
957
949
  [K: symbol]: any;
@@ -1194,12 +1186,8 @@ declare class Text extends Text$1 implements CanvasBaseItem<TextMemory> {
1194
1186
  */
1195
1187
  onEvent<T extends typeof CanvasEvent<typeof this>>(event: CanvasEventNamesType, eventClass: T): this;
1196
1188
  /**
1197
- * on() does not keep in memory the event class, use onEvent() instead
1198
- * @deprecated
1199
- * @private
1200
- * @param event
1201
- * @param fn
1202
- * @param context
1189
+ * Add a listener for a given event.
1190
+ * Unlike {@link onEvent}, this method does **not track the event association in the current game state**, so it will not be included in saves.
1203
1191
  */
1204
1192
  on<T extends keyof ContainerEvents<ContainerChild> | keyof {
1205
1193
  [K: symbol]: any;
@@ -544,15 +544,15 @@ declare class AnchorExtension extends Container$1 {
544
544
 
545
545
  interface SpriteOptions extends Omit<SpriteOptions$1, "on"> {
546
546
  /**
547
- * on() does not keep in memory the event class, use onEvent() instead
548
- * @deprecated
547
+ * Add a listener for a given event.
548
+ * Unlike {@link onEvent}, this method does **not track the event association in the current game state**, so it will not be included in saves.
549
549
  */
550
550
  on?: <T extends EventEmitter.EventNames<string | symbol>>(event: T, fn: EventEmitter.EventListener<string | symbol, T>, context?: any) => this;
551
551
  }
552
552
  interface TextOptions extends Omit<TextOptions$1, "on"> {
553
553
  /**
554
- * on() does not keep in memory the event class, use onEvent() instead
555
- * @deprecated
554
+ * Add a listener for a given event.
555
+ * Unlike {@link onEvent}, this method does **not track the event association in the current game state**, so it will not be included in saves.
556
556
  */
557
557
  on?: <T extends EventEmitter.EventNames<string | symbol>>(event: T, fn: EventEmitter.EventListener<string | symbol, T>, context?: any) => this;
558
558
  }
@@ -710,12 +710,8 @@ declare class Sprite<Memory extends SpriteOptions$1 & CanvasBaseItemMemory = Spr
710
710
  */
711
711
  onEvent<T extends typeof CanvasEvent<typeof this>>(event: CanvasEventNamesType, eventClass: T): this;
712
712
  /**
713
- * on() does not keep in memory the event class, use onEvent() instead
714
- * @deprecated
715
- * @private
716
- * @param event
717
- * @param fn
718
- * @param context
713
+ * Add a listener for a given event.
714
+ * Unlike {@link onEvent}, this method does **not track the event association in the current game state**, so it will not be included in saves.
719
715
  */
720
716
  on<T extends keyof ContainerEvents<ContainerChild> | keyof {
721
717
  [K: symbol]: any;
@@ -946,12 +942,8 @@ declare class Container<C extends ContainerChild$1 = ContainerChild$1, Memory ex
946
942
  */
947
943
  onEvent<T extends CanvasEventNamesType, T2 extends typeof CanvasEvent<typeof this>>(event: T, eventClass: T2): this;
948
944
  /**
949
- * on() does not keep in memory the event class, use onEvent() instead
950
- * @deprecated
951
- * @private
952
- * @param event
953
- * @param fn
954
- * @param context
945
+ * Add a listener for a given event.
946
+ * Unlike {@link onEvent}, this method does **not track the event association in the current game state**, so it will not be included in saves.
955
947
  */
956
948
  on<T extends keyof ContainerEvents<ContainerChild$1> | keyof {
957
949
  [K: symbol]: any;
@@ -1194,12 +1186,8 @@ declare class Text extends Text$1 implements CanvasBaseItem<TextMemory> {
1194
1186
  */
1195
1187
  onEvent<T extends typeof CanvasEvent<typeof this>>(event: CanvasEventNamesType, eventClass: T): this;
1196
1188
  /**
1197
- * on() does not keep in memory the event class, use onEvent() instead
1198
- * @deprecated
1199
- * @private
1200
- * @param event
1201
- * @param fn
1202
- * @param context
1189
+ * Add a listener for a given event.
1190
+ * Unlike {@link onEvent}, this method does **not track the event association in the current game state**, so it will not be included in saves.
1203
1191
  */
1204
1192
  on<T extends keyof ContainerEvents<ContainerChild> | keyof {
1205
1193
  [K: symbol]: any;