@drincs/pixi-vn 1.2.16 → 1.2.17
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/dist/canvas/index.d.cts +1 -1
- package/dist/canvas/index.d.ts +1 -1
- package/dist/{index-1w4bBKAx.d.cts → index-BiEWL7cc.d.cts} +116 -40
- package/dist/{index-xaLEzplg.d.ts → index-QJeV7_Iq.d.ts} +116 -40
- package/dist/index.cjs +63 -63
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.mjs +63 -63
- package/package.json +1 -1
package/dist/canvas/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
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-BiEWL7cc.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';
|
package/dist/canvas/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
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-QJeV7_Iq.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';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Devtools } from '@pixi/devtools';
|
|
2
2
|
import * as pixi_js from 'pixi.js';
|
|
3
|
-
import { Container as Container$1, Application, Rectangle, ApplicationOptions, ContainerChild, PointData, SpriteOptions, ContainerOptions,
|
|
3
|
+
import { Container as Container$1, Application, Rectangle, ApplicationOptions, ContainerChild, AllFederatedEventMap, PointData, SpriteOptions as SpriteOptions$1, EventEmitter, ContainerOptions, TextOptions as TextOptions$1, Sprite as Sprite$1, Texture, ContainerEvents, TextureSourceLike, TextureSource, ObservablePoint, Text as Text$1, UPDATE_PRIORITY } from 'pixi.js';
|
|
4
4
|
import { TickerBase, Ticker, TickerTimeoutHistory, MoveTickerProps, FadeAlphaTickerProps, ZoomTickerProps, TickerProgrationType, FadeAlphaTicker, MoveTicker, RegisteredTickers, RotateTicker, RotateTickerProps, TickerProgrationExponential, TickerProgrationLinear, TickerValue, ZoomTicker, tickerDecorator } from './canvas/tickers/index.cjs';
|
|
5
5
|
import { b as CanvasBaseItemMemory, C as CanvasBaseItem, P as PauseTickerType, a as CanvasGameState, d as ContainerChild$1, c as ContainerMemory } from './ContainerMemory-Bemxh6ml.cjs';
|
|
6
6
|
import { a as TickerHistory, c as TickersSequence, T as TickerArgs, R as RepeatType, P as PauseType, b as TickerHistoryForExport } from './TickersSequence-_GvVF_1g.cjs';
|
|
@@ -362,6 +362,39 @@ interface CanvasManagerInterface {
|
|
|
362
362
|
}): void;
|
|
363
363
|
}
|
|
364
364
|
|
|
365
|
+
/**
|
|
366
|
+
* CanvasEventNamesType is a type that is used to define the event names for the canvas.
|
|
367
|
+
*/
|
|
368
|
+
type CanvasEventNamesType = keyof AllFederatedEventMap;
|
|
369
|
+
|
|
370
|
+
type EventIdType = string;
|
|
371
|
+
|
|
372
|
+
/**
|
|
373
|
+
* CanvasEvent is a class that is used to create a pixi event, and connect it to a canvas element, with on().
|
|
374
|
+
* This class should be extended and the fn method should be overridden.
|
|
375
|
+
* You must use the {@link eventDecorator} to register the event in the game.
|
|
376
|
+
* @example
|
|
377
|
+
* ```typescript
|
|
378
|
+
* \@eventDecorator() // this is equivalent to eventDecorator("EventTest")
|
|
379
|
+
* export class EventTest extends CanvasEvent<Sprite> {
|
|
380
|
+
* override fn(event: CanvasEventNamesType, sprite: Sprite): void {
|
|
381
|
+
* if (event === 'pointerdown') {
|
|
382
|
+
* sprite.scale.x *= 1.25;
|
|
383
|
+
* sprite.scale.y *= 1.25;
|
|
384
|
+
* }
|
|
385
|
+
* }
|
|
386
|
+
* }
|
|
387
|
+
* ```
|
|
388
|
+
*/
|
|
389
|
+
declare class CanvasEvent<C> {
|
|
390
|
+
constructor();
|
|
391
|
+
fn(_event: CanvasEventNamesType, _element: C): void;
|
|
392
|
+
/**
|
|
393
|
+
* Get the id of the event. This variable is used in the system to get the event by id, {@link RegisteredEvents.getInstance}.
|
|
394
|
+
*/
|
|
395
|
+
id: EventIdType;
|
|
396
|
+
}
|
|
397
|
+
|
|
365
398
|
interface AdditionalPositionsExtensionProps {
|
|
366
399
|
/**
|
|
367
400
|
* is a way to set the position of the element in the canvas. compared to position, align, it is a percentage used to determine the proximity from the edges of the canvas.
|
|
@@ -524,6 +557,80 @@ declare class AnchorExtension extends Container$1 {
|
|
|
524
557
|
set anchor(_value: PointData | number);
|
|
525
558
|
}
|
|
526
559
|
|
|
560
|
+
interface SpriteOptions extends Omit<SpriteOptions$1, "on"> {
|
|
561
|
+
/**
|
|
562
|
+
* on() does not keep in memory the event class, use onEvent() instead
|
|
563
|
+
* @deprecated
|
|
564
|
+
*/
|
|
565
|
+
on?: <T extends EventEmitter.EventNames<string | symbol>>(event: T, fn: EventEmitter.EventListener<string | symbol, T>, context?: any) => this;
|
|
566
|
+
/**
|
|
567
|
+
* is same function as on(), but it keeps in memory the children.
|
|
568
|
+
* @param event The event type, e.g., 'click', 'mousedown', 'mouseup', 'pointerdown', etc.
|
|
569
|
+
* @param eventClass The class that extends CanvasEvent.
|
|
570
|
+
* @returns
|
|
571
|
+
* @example
|
|
572
|
+
* ```typescript
|
|
573
|
+
* \@eventDecorator()
|
|
574
|
+
* export class EventTest extends CanvasEvent<Sprite> {
|
|
575
|
+
* override fn(event: CanvasEventNamesType, sprite: Sprite): void {
|
|
576
|
+
* if (event === 'pointerdown') {
|
|
577
|
+
* sprite.scale.x *= 1.25;
|
|
578
|
+
* sprite.scale.y *= 1.25;
|
|
579
|
+
* }
|
|
580
|
+
* }
|
|
581
|
+
* }
|
|
582
|
+
* ```
|
|
583
|
+
*
|
|
584
|
+
* ```typescript
|
|
585
|
+
* let sprite = addImage("alien", 'https://pixijs.com/assets/eggHead.png')
|
|
586
|
+
* await sprite.load()
|
|
587
|
+
*
|
|
588
|
+
* sprite.eventMode = 'static';
|
|
589
|
+
* sprite.cursor = 'pointer';
|
|
590
|
+
* sprite.onEvent('pointerdown', EventTest);
|
|
591
|
+
*
|
|
592
|
+
* canvas.add("bunny", sprite);
|
|
593
|
+
* ```
|
|
594
|
+
*/
|
|
595
|
+
onEvent?: <T extends typeof CanvasEvent<this>>(event: CanvasEventNamesType, eventClass: T) => this;
|
|
596
|
+
}
|
|
597
|
+
interface TextOptions extends Omit<TextOptions$1, "on"> {
|
|
598
|
+
/**
|
|
599
|
+
* on() does not keep in memory the event class, use onEvent() instead
|
|
600
|
+
* @deprecated
|
|
601
|
+
*/
|
|
602
|
+
on?: <T extends EventEmitter.EventNames<string | symbol>>(event: T, fn: EventEmitter.EventListener<string | symbol, T>, context?: any) => this;
|
|
603
|
+
/**
|
|
604
|
+
* is same function as on(), but it keeps in memory the children.
|
|
605
|
+
* @param event The event type, e.g., 'click', 'mousedown', 'mouseup', 'pointerdown', etc.
|
|
606
|
+
* @param eventClass The class that extends CanvasEvent.
|
|
607
|
+
* @returns
|
|
608
|
+
* @example
|
|
609
|
+
* ```typescript
|
|
610
|
+
* \@eventDecorator()
|
|
611
|
+
* export class EventTest extends CanvasEvent<Sprite> {
|
|
612
|
+
* override fn(event: CanvasEventNamesType, sprite: Sprite): void {
|
|
613
|
+
* if (event === 'pointerdown') {
|
|
614
|
+
* sprite.scale.x *= 1.25;
|
|
615
|
+
* sprite.scale.y *= 1.25;
|
|
616
|
+
* }
|
|
617
|
+
* }
|
|
618
|
+
* }
|
|
619
|
+
* ```
|
|
620
|
+
*
|
|
621
|
+
* ```typescript
|
|
622
|
+
* let sprite = addImage("alien", 'https://pixijs.com/assets/eggHead.png')
|
|
623
|
+
* await sprite.load()
|
|
624
|
+
*
|
|
625
|
+
* sprite.eventMode = 'static';
|
|
626
|
+
* sprite.cursor = 'pointer';
|
|
627
|
+
* sprite.onEvent('pointerdown', EventTest);
|
|
628
|
+
*
|
|
629
|
+
* canvas.add("bunny", sprite);
|
|
630
|
+
* ```
|
|
631
|
+
*/
|
|
632
|
+
onEvent?: <T extends typeof CanvasEvent<this>>(event: CanvasEventNamesType, eventClass: T) => this;
|
|
633
|
+
}
|
|
527
634
|
interface ImageContainerOptions<C extends ContainerChild$1 = ContainerChild$1> extends ContainerOptions<C>, AnchorExtensionProps, AdditionalPositionsExtensionProps {
|
|
528
635
|
}
|
|
529
636
|
interface ImageSpriteOptions extends SpriteOptions, AdditionalPositionsExtensionProps {
|
|
@@ -534,8 +641,6 @@ interface VideoSpriteOptions extends ImageSpriteOptions {
|
|
|
534
641
|
currentTime?: number;
|
|
535
642
|
}
|
|
536
643
|
|
|
537
|
-
type EventIdType = string;
|
|
538
|
-
|
|
539
644
|
/**
|
|
540
645
|
* Interface for texture memory
|
|
541
646
|
*/
|
|
@@ -548,7 +653,7 @@ interface TextureMemory {
|
|
|
548
653
|
url: string;
|
|
549
654
|
}
|
|
550
655
|
|
|
551
|
-
interface SpriteBaseMemory extends SpriteOptions, CanvasBaseItemMemory {
|
|
656
|
+
interface SpriteBaseMemory extends SpriteOptions$1, CanvasBaseItemMemory {
|
|
552
657
|
/**
|
|
553
658
|
* @deprecated
|
|
554
659
|
*/
|
|
@@ -584,37 +689,6 @@ interface VideoSpriteMemory extends ImageSpriteMemory {
|
|
|
584
689
|
currentTime: number;
|
|
585
690
|
}
|
|
586
691
|
|
|
587
|
-
/**
|
|
588
|
-
* CanvasEventNamesType is a type that is used to define the event names for the canvas.
|
|
589
|
-
*/
|
|
590
|
-
type CanvasEventNamesType = keyof AllFederatedEventMap;
|
|
591
|
-
|
|
592
|
-
/**
|
|
593
|
-
* CanvasEvent is a class that is used to create a pixi event, and connect it to a canvas element, with on().
|
|
594
|
-
* This class should be extended and the fn method should be overridden.
|
|
595
|
-
* You must use the {@link eventDecorator} to register the event in the game.
|
|
596
|
-
* @example
|
|
597
|
-
* ```typescript
|
|
598
|
-
* \@eventDecorator() // this is equivalent to eventDecorator("EventTest")
|
|
599
|
-
* export class EventTest extends CanvasEvent<Sprite> {
|
|
600
|
-
* override fn(event: CanvasEventNamesType, sprite: Sprite): void {
|
|
601
|
-
* if (event === 'pointerdown') {
|
|
602
|
-
* sprite.scale.x *= 1.25;
|
|
603
|
-
* sprite.scale.y *= 1.25;
|
|
604
|
-
* }
|
|
605
|
-
* }
|
|
606
|
-
* }
|
|
607
|
-
* ```
|
|
608
|
-
*/
|
|
609
|
-
declare class CanvasEvent<C> {
|
|
610
|
-
constructor();
|
|
611
|
-
fn(_event: CanvasEventNamesType, _element: C): void;
|
|
612
|
-
/**
|
|
613
|
-
* Get the id of the event. This variable is used in the system to get the event by id, {@link RegisteredEvents.getInstance}.
|
|
614
|
-
*/
|
|
615
|
-
id: EventIdType;
|
|
616
|
-
}
|
|
617
|
-
|
|
618
692
|
/**
|
|
619
693
|
* This class is a extension of the [PIXI.Sprite class](https://pixijs.com/8.x/examples/sprite/basic), it has the same properties and methods,
|
|
620
694
|
* but it has the ability to be saved and loaded by the Pixi’VN library.
|
|
@@ -634,7 +708,7 @@ declare class CanvasEvent<C> {
|
|
|
634
708
|
* canvas.add("bunny", sprite);
|
|
635
709
|
* ```
|
|
636
710
|
*/
|
|
637
|
-
declare class Sprite<Memory extends SpriteOptions & CanvasBaseItemMemory = SpriteMemory> extends Sprite$1 implements CanvasBaseItem<Memory | SpriteMemory> {
|
|
711
|
+
declare class Sprite<Memory extends SpriteOptions$1 & CanvasBaseItemMemory = SpriteMemory> extends Sprite$1 implements CanvasBaseItem<Memory | SpriteMemory> {
|
|
638
712
|
constructor(options?: SpriteOptions | Texture);
|
|
639
713
|
pixivnId: string;
|
|
640
714
|
private _textureAlias?;
|
|
@@ -1097,7 +1171,7 @@ declare class CanvasManagerStatic {
|
|
|
1097
1171
|
/**
|
|
1098
1172
|
* Interface for the canvas text memory
|
|
1099
1173
|
*/
|
|
1100
|
-
interface TextMemory extends TextOptions, CanvasBaseItemMemory {
|
|
1174
|
+
interface TextMemory extends TextOptions$1, CanvasBaseItemMemory {
|
|
1101
1175
|
onEvents: {
|
|
1102
1176
|
[name: string]: EventIdType;
|
|
1103
1177
|
};
|
|
@@ -1604,13 +1678,15 @@ declare const canvasUtils_RotateTickerProps: typeof RotateTickerProps;
|
|
|
1604
1678
|
type canvasUtils_ShakeEffectProps = ShakeEffectProps;
|
|
1605
1679
|
type canvasUtils_ShowWithDissolveTransitionProps = ShowWithDissolveTransitionProps;
|
|
1606
1680
|
type canvasUtils_ShowWithFadeTransitionProps = ShowWithFadeTransitionProps;
|
|
1607
|
-
type canvasUtils_Sprite<Memory extends SpriteOptions & CanvasBaseItemMemory = SpriteMemory> = Sprite<Memory>;
|
|
1681
|
+
type canvasUtils_Sprite<Memory extends SpriteOptions$1 & CanvasBaseItemMemory = SpriteMemory> = Sprite<Memory>;
|
|
1608
1682
|
declare const canvasUtils_Sprite: typeof Sprite;
|
|
1609
1683
|
type canvasUtils_SpriteBaseMemory = SpriteBaseMemory;
|
|
1610
1684
|
type canvasUtils_SpriteMemory = SpriteMemory;
|
|
1685
|
+
type canvasUtils_SpriteOptions = SpriteOptions;
|
|
1611
1686
|
type canvasUtils_Text = Text;
|
|
1612
1687
|
declare const canvasUtils_Text: typeof Text;
|
|
1613
1688
|
type canvasUtils_TextMemory = TextMemory;
|
|
1689
|
+
type canvasUtils_TextOptions = TextOptions;
|
|
1614
1690
|
type canvasUtils_TextureMemory = TextureMemory;
|
|
1615
1691
|
declare const canvasUtils_Ticker: typeof Ticker;
|
|
1616
1692
|
declare const canvasUtils_TickerArgs: typeof TickerArgs;
|
|
@@ -1655,7 +1731,7 @@ declare const canvasUtils_tickerDecorator: typeof tickerDecorator;
|
|
|
1655
1731
|
declare const canvasUtils_zoomIn: typeof zoomIn;
|
|
1656
1732
|
declare const canvasUtils_zoomOut: typeof zoomOut;
|
|
1657
1733
|
declare namespace canvasUtils {
|
|
1658
|
-
export { type canvasUtils_CanvasBaseInterface as CanvasBaseInterface, canvasUtils_CanvasBaseItem as CanvasBaseItem, canvasUtils_CanvasBaseItemMemory as CanvasBaseItemMemory, canvasUtils_CanvasEvent as CanvasEvent, type canvasUtils_CanvasEventNamesType as CanvasEventNamesType, canvasUtils_CanvasGameState as CanvasGameState, type canvasUtils_CanvasManagerInterface as CanvasManagerInterface, canvasUtils_CanvasManagerStatic as CanvasManagerStatic, canvasUtils_Container as Container, ContainerChild$1 as ContainerChild, canvasUtils_ContainerMemory as ContainerMemory, canvasUtils_FadeAlphaTicker as FadeAlphaTicker, canvasUtils_FadeAlphaTickerProps as FadeAlphaTickerProps, canvasUtils_ImageContainer as ImageContainer, type canvasUtils_ImageContainerMemory as ImageContainerMemory, type canvasUtils_ImageContainerOptions as ImageContainerOptions, canvasUtils_ImageSprite as ImageSprite, type canvasUtils_ImageSpriteMemory as ImageSpriteMemory, type canvasUtils_ImageSpriteOptions as ImageSpriteOptions, type canvasUtils_MoveInOutProps as MoveInOutProps, canvasUtils_MoveTicker as MoveTicker, canvasUtils_MoveTickerProps as MoveTickerProps, canvasUtils_PauseType as PauseType, type canvasUtils_PushInOutProps as PushInOutProps, canvasUtils_RegisteredCanvasComponents as RegisteredCanvasComponents, canvasUtils_RegisteredEvents as RegisteredEvents, canvasUtils_RegisteredTickers as RegisteredTickers, canvasUtils_RepeatType as RepeatType, canvasUtils_RotateTicker as RotateTicker, canvasUtils_RotateTickerProps as RotateTickerProps, type canvasUtils_ShakeEffectProps as ShakeEffectProps, type canvasUtils_ShowWithDissolveTransitionProps as ShowWithDissolveTransitionProps, type canvasUtils_ShowWithFadeTransitionProps as ShowWithFadeTransitionProps, canvasUtils_Sprite as Sprite, type canvasUtils_SpriteBaseMemory as SpriteBaseMemory, type canvasUtils_SpriteMemory as SpriteMemory, canvasUtils_Text as Text, type canvasUtils_TextMemory as TextMemory, type canvasUtils_TextureMemory as TextureMemory, canvasUtils_Ticker as Ticker, canvasUtils_TickerArgs as TickerArgs, canvasUtils_TickerBase as TickerBase, canvasUtils_TickerHistory as TickerHistory, canvasUtils_TickerHistoryForExport as TickerHistoryForExport, canvasUtils_TickerProgrationExponential as TickerProgrationExponential, canvasUtils_TickerProgrationLinear as TickerProgrationLinear, canvasUtils_TickerProgrationType as TickerProgrationType, canvasUtils_TickerTimeoutHistory as TickerTimeoutHistory, canvasUtils_TickerValue as TickerValue, canvasUtils_TickersSequence as TickersSequence, canvasUtils_VideoSprite as VideoSprite, type canvasUtils_VideoSpriteMemory as VideoSpriteMemory, type canvasUtils_VideoSpriteOptions as VideoSpriteOptions, type canvasUtils_ZoomInOutProps as ZoomInOutProps, canvasUtils_ZoomTicker as ZoomTicker, canvasUtils_ZoomTickerProps as ZoomTickerProps, canvasUtils_addImage as addImage, canvasUtils_addImageCointainer as addImageCointainer, canvasUtils_addVideo as addVideo, canvasUtils_canvas as canvas, canvasUtils_canvasComponentDecorator as canvasComponentDecorator, canvasUtils_eventDecorator as eventDecorator, canvasUtils_getTexture as getTexture, canvasUtils_loadImage as loadImage, canvasUtils_loadVideo as loadVideo, canvasUtils_moveIn as moveIn, canvasUtils_moveOut as moveOut, canvasUtils_pushIn as pushIn, canvasUtils_pushOut as pushOut, canvasUtils_removeWithDissolve as removeWithDissolve, canvasUtils_removeWithFade as removeWithFade, canvasUtils_shakeEffect as shakeEffect, canvasUtils_showImage as showImage, canvasUtils_showImageContainer as showImageContainer, canvasUtils_showVideo as showVideo, canvasUtils_showWithDissolve as showWithDissolve, canvasUtils_showWithFade as showWithFade, canvasUtils_tickerDecorator as tickerDecorator, canvasUtils_zoomIn as zoomIn, canvasUtils_zoomOut as zoomOut };
|
|
1734
|
+
export { type canvasUtils_CanvasBaseInterface as CanvasBaseInterface, canvasUtils_CanvasBaseItem as CanvasBaseItem, canvasUtils_CanvasBaseItemMemory as CanvasBaseItemMemory, canvasUtils_CanvasEvent as CanvasEvent, type canvasUtils_CanvasEventNamesType as CanvasEventNamesType, canvasUtils_CanvasGameState as CanvasGameState, type canvasUtils_CanvasManagerInterface as CanvasManagerInterface, canvasUtils_CanvasManagerStatic as CanvasManagerStatic, canvasUtils_Container as Container, ContainerChild$1 as ContainerChild, canvasUtils_ContainerMemory as ContainerMemory, canvasUtils_FadeAlphaTicker as FadeAlphaTicker, canvasUtils_FadeAlphaTickerProps as FadeAlphaTickerProps, canvasUtils_ImageContainer as ImageContainer, type canvasUtils_ImageContainerMemory as ImageContainerMemory, type canvasUtils_ImageContainerOptions as ImageContainerOptions, canvasUtils_ImageSprite as ImageSprite, type canvasUtils_ImageSpriteMemory as ImageSpriteMemory, type canvasUtils_ImageSpriteOptions as ImageSpriteOptions, type canvasUtils_MoveInOutProps as MoveInOutProps, canvasUtils_MoveTicker as MoveTicker, canvasUtils_MoveTickerProps as MoveTickerProps, canvasUtils_PauseType as PauseType, type canvasUtils_PushInOutProps as PushInOutProps, canvasUtils_RegisteredCanvasComponents as RegisteredCanvasComponents, canvasUtils_RegisteredEvents as RegisteredEvents, canvasUtils_RegisteredTickers as RegisteredTickers, canvasUtils_RepeatType as RepeatType, canvasUtils_RotateTicker as RotateTicker, canvasUtils_RotateTickerProps as RotateTickerProps, type canvasUtils_ShakeEffectProps as ShakeEffectProps, type canvasUtils_ShowWithDissolveTransitionProps as ShowWithDissolveTransitionProps, type canvasUtils_ShowWithFadeTransitionProps as ShowWithFadeTransitionProps, canvasUtils_Sprite as Sprite, type canvasUtils_SpriteBaseMemory as SpriteBaseMemory, type canvasUtils_SpriteMemory as SpriteMemory, type canvasUtils_SpriteOptions as SpriteOptions, canvasUtils_Text as Text, type canvasUtils_TextMemory as TextMemory, type canvasUtils_TextOptions as TextOptions, type canvasUtils_TextureMemory as TextureMemory, canvasUtils_Ticker as Ticker, canvasUtils_TickerArgs as TickerArgs, canvasUtils_TickerBase as TickerBase, canvasUtils_TickerHistory as TickerHistory, canvasUtils_TickerHistoryForExport as TickerHistoryForExport, canvasUtils_TickerProgrationExponential as TickerProgrationExponential, canvasUtils_TickerProgrationLinear as TickerProgrationLinear, canvasUtils_TickerProgrationType as TickerProgrationType, canvasUtils_TickerTimeoutHistory as TickerTimeoutHistory, canvasUtils_TickerValue as TickerValue, canvasUtils_TickersSequence as TickersSequence, canvasUtils_VideoSprite as VideoSprite, type canvasUtils_VideoSpriteMemory as VideoSpriteMemory, type canvasUtils_VideoSpriteOptions as VideoSpriteOptions, type canvasUtils_ZoomInOutProps as ZoomInOutProps, canvasUtils_ZoomTicker as ZoomTicker, canvasUtils_ZoomTickerProps as ZoomTickerProps, canvasUtils_addImage as addImage, canvasUtils_addImageCointainer as addImageCointainer, canvasUtils_addVideo as addVideo, canvasUtils_canvas as canvas, canvasUtils_canvasComponentDecorator as canvasComponentDecorator, canvasUtils_eventDecorator as eventDecorator, canvasUtils_getTexture as getTexture, canvasUtils_loadImage as loadImage, canvasUtils_loadVideo as loadVideo, canvasUtils_moveIn as moveIn, canvasUtils_moveOut as moveOut, canvasUtils_pushIn as pushIn, canvasUtils_pushOut as pushOut, canvasUtils_removeWithDissolve as removeWithDissolve, canvasUtils_removeWithFade as removeWithFade, canvasUtils_shakeEffect as shakeEffect, canvasUtils_showImage as showImage, canvasUtils_showImageContainer as showImageContainer, canvasUtils_showVideo as showVideo, canvasUtils_showWithDissolve as showWithDissolve, canvasUtils_showWithFade as showWithFade, canvasUtils_tickerDecorator as tickerDecorator, canvasUtils_zoomIn as zoomIn, canvasUtils_zoomOut as zoomOut };
|
|
1659
1735
|
}
|
|
1660
1736
|
|
|
1661
|
-
export { addVideo as A, loadVideo as B, type CanvasManagerInterface as C, showVideo as D, type ImageContainerOptions as E, type ImageSpriteOptions as F, type
|
|
1737
|
+
export { type ZoomInOutProps as $, addVideo as A, loadVideo as B, type CanvasManagerInterface as C, showVideo as D, type ImageContainerOptions as E, type ImageSpriteOptions as F, type SpriteOptions as G, type TextOptions as H, ImageContainer as I, type VideoSpriteOptions as J, type CanvasBaseInterface as K, type ShakeEffectProps as L, type ImageContainerMemory as M, type ImageSpriteMemory as N, type SpriteBaseMemory as O, type SpriteMemory as P, type TextMemory as Q, RegisteredCanvasComponents as R, Sprite as S, Text as T, type VideoSpriteMemory as U, VideoSprite as V, type TextureMemory as W, type MoveInOutProps as X, type PushInOutProps as Y, type ShowWithDissolveTransitionProps as Z, type ShowWithFadeTransitionProps as _, canvas as a, type CanvasEventNamesType as a0, CanvasEvent as b, canvasUtils as c, CanvasManagerStatic as d, Container as e, ImageSprite as f, canvasComponentDecorator as g, eventDecorator as h, RegisteredEvents as i, moveOut as j, pushOut as k, removeWithFade as l, moveIn as m, showWithDissolve as n, showWithFade as o, pushIn as p, zoomOut as q, removeWithDissolve as r, shakeEffect as s, addImageCointainer as t, showImageContainer as u, addImage as v, loadImage as w, showImage as x, getTexture as y, zoomIn as z };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Devtools } from '@pixi/devtools';
|
|
2
2
|
import * as pixi_js from 'pixi.js';
|
|
3
|
-
import { Container as Container$1, Application, Rectangle, ApplicationOptions, ContainerChild, PointData, SpriteOptions, ContainerOptions,
|
|
3
|
+
import { Container as Container$1, Application, Rectangle, ApplicationOptions, ContainerChild, AllFederatedEventMap, PointData, SpriteOptions as SpriteOptions$1, EventEmitter, ContainerOptions, TextOptions as TextOptions$1, Sprite as Sprite$1, Texture, ContainerEvents, TextureSourceLike, TextureSource, ObservablePoint, Text as Text$1, UPDATE_PRIORITY } from 'pixi.js';
|
|
4
4
|
import { TickerBase, Ticker, TickerTimeoutHistory, MoveTickerProps, FadeAlphaTickerProps, ZoomTickerProps, TickerProgrationType, FadeAlphaTicker, MoveTicker, RegisteredTickers, RotateTicker, RotateTickerProps, TickerProgrationExponential, TickerProgrationLinear, TickerValue, ZoomTicker, tickerDecorator } from './canvas/tickers/index.js';
|
|
5
5
|
import { b as CanvasBaseItemMemory, C as CanvasBaseItem, P as PauseTickerType, a as CanvasGameState, d as ContainerChild$1, c as ContainerMemory } from './ContainerMemory-BSDt46hh.js';
|
|
6
6
|
import { a as TickerHistory, c as TickersSequence, T as TickerArgs, R as RepeatType, P as PauseType, b as TickerHistoryForExport } from './TickersSequence-_GvVF_1g.js';
|
|
@@ -362,6 +362,39 @@ interface CanvasManagerInterface {
|
|
|
362
362
|
}): void;
|
|
363
363
|
}
|
|
364
364
|
|
|
365
|
+
/**
|
|
366
|
+
* CanvasEventNamesType is a type that is used to define the event names for the canvas.
|
|
367
|
+
*/
|
|
368
|
+
type CanvasEventNamesType = keyof AllFederatedEventMap;
|
|
369
|
+
|
|
370
|
+
type EventIdType = string;
|
|
371
|
+
|
|
372
|
+
/**
|
|
373
|
+
* CanvasEvent is a class that is used to create a pixi event, and connect it to a canvas element, with on().
|
|
374
|
+
* This class should be extended and the fn method should be overridden.
|
|
375
|
+
* You must use the {@link eventDecorator} to register the event in the game.
|
|
376
|
+
* @example
|
|
377
|
+
* ```typescript
|
|
378
|
+
* \@eventDecorator() // this is equivalent to eventDecorator("EventTest")
|
|
379
|
+
* export class EventTest extends CanvasEvent<Sprite> {
|
|
380
|
+
* override fn(event: CanvasEventNamesType, sprite: Sprite): void {
|
|
381
|
+
* if (event === 'pointerdown') {
|
|
382
|
+
* sprite.scale.x *= 1.25;
|
|
383
|
+
* sprite.scale.y *= 1.25;
|
|
384
|
+
* }
|
|
385
|
+
* }
|
|
386
|
+
* }
|
|
387
|
+
* ```
|
|
388
|
+
*/
|
|
389
|
+
declare class CanvasEvent<C> {
|
|
390
|
+
constructor();
|
|
391
|
+
fn(_event: CanvasEventNamesType, _element: C): void;
|
|
392
|
+
/**
|
|
393
|
+
* Get the id of the event. This variable is used in the system to get the event by id, {@link RegisteredEvents.getInstance}.
|
|
394
|
+
*/
|
|
395
|
+
id: EventIdType;
|
|
396
|
+
}
|
|
397
|
+
|
|
365
398
|
interface AdditionalPositionsExtensionProps {
|
|
366
399
|
/**
|
|
367
400
|
* is a way to set the position of the element in the canvas. compared to position, align, it is a percentage used to determine the proximity from the edges of the canvas.
|
|
@@ -524,6 +557,80 @@ declare class AnchorExtension extends Container$1 {
|
|
|
524
557
|
set anchor(_value: PointData | number);
|
|
525
558
|
}
|
|
526
559
|
|
|
560
|
+
interface SpriteOptions extends Omit<SpriteOptions$1, "on"> {
|
|
561
|
+
/**
|
|
562
|
+
* on() does not keep in memory the event class, use onEvent() instead
|
|
563
|
+
* @deprecated
|
|
564
|
+
*/
|
|
565
|
+
on?: <T extends EventEmitter.EventNames<string | symbol>>(event: T, fn: EventEmitter.EventListener<string | symbol, T>, context?: any) => this;
|
|
566
|
+
/**
|
|
567
|
+
* is same function as on(), but it keeps in memory the children.
|
|
568
|
+
* @param event The event type, e.g., 'click', 'mousedown', 'mouseup', 'pointerdown', etc.
|
|
569
|
+
* @param eventClass The class that extends CanvasEvent.
|
|
570
|
+
* @returns
|
|
571
|
+
* @example
|
|
572
|
+
* ```typescript
|
|
573
|
+
* \@eventDecorator()
|
|
574
|
+
* export class EventTest extends CanvasEvent<Sprite> {
|
|
575
|
+
* override fn(event: CanvasEventNamesType, sprite: Sprite): void {
|
|
576
|
+
* if (event === 'pointerdown') {
|
|
577
|
+
* sprite.scale.x *= 1.25;
|
|
578
|
+
* sprite.scale.y *= 1.25;
|
|
579
|
+
* }
|
|
580
|
+
* }
|
|
581
|
+
* }
|
|
582
|
+
* ```
|
|
583
|
+
*
|
|
584
|
+
* ```typescript
|
|
585
|
+
* let sprite = addImage("alien", 'https://pixijs.com/assets/eggHead.png')
|
|
586
|
+
* await sprite.load()
|
|
587
|
+
*
|
|
588
|
+
* sprite.eventMode = 'static';
|
|
589
|
+
* sprite.cursor = 'pointer';
|
|
590
|
+
* sprite.onEvent('pointerdown', EventTest);
|
|
591
|
+
*
|
|
592
|
+
* canvas.add("bunny", sprite);
|
|
593
|
+
* ```
|
|
594
|
+
*/
|
|
595
|
+
onEvent?: <T extends typeof CanvasEvent<this>>(event: CanvasEventNamesType, eventClass: T) => this;
|
|
596
|
+
}
|
|
597
|
+
interface TextOptions extends Omit<TextOptions$1, "on"> {
|
|
598
|
+
/**
|
|
599
|
+
* on() does not keep in memory the event class, use onEvent() instead
|
|
600
|
+
* @deprecated
|
|
601
|
+
*/
|
|
602
|
+
on?: <T extends EventEmitter.EventNames<string | symbol>>(event: T, fn: EventEmitter.EventListener<string | symbol, T>, context?: any) => this;
|
|
603
|
+
/**
|
|
604
|
+
* is same function as on(), but it keeps in memory the children.
|
|
605
|
+
* @param event The event type, e.g., 'click', 'mousedown', 'mouseup', 'pointerdown', etc.
|
|
606
|
+
* @param eventClass The class that extends CanvasEvent.
|
|
607
|
+
* @returns
|
|
608
|
+
* @example
|
|
609
|
+
* ```typescript
|
|
610
|
+
* \@eventDecorator()
|
|
611
|
+
* export class EventTest extends CanvasEvent<Sprite> {
|
|
612
|
+
* override fn(event: CanvasEventNamesType, sprite: Sprite): void {
|
|
613
|
+
* if (event === 'pointerdown') {
|
|
614
|
+
* sprite.scale.x *= 1.25;
|
|
615
|
+
* sprite.scale.y *= 1.25;
|
|
616
|
+
* }
|
|
617
|
+
* }
|
|
618
|
+
* }
|
|
619
|
+
* ```
|
|
620
|
+
*
|
|
621
|
+
* ```typescript
|
|
622
|
+
* let sprite = addImage("alien", 'https://pixijs.com/assets/eggHead.png')
|
|
623
|
+
* await sprite.load()
|
|
624
|
+
*
|
|
625
|
+
* sprite.eventMode = 'static';
|
|
626
|
+
* sprite.cursor = 'pointer';
|
|
627
|
+
* sprite.onEvent('pointerdown', EventTest);
|
|
628
|
+
*
|
|
629
|
+
* canvas.add("bunny", sprite);
|
|
630
|
+
* ```
|
|
631
|
+
*/
|
|
632
|
+
onEvent?: <T extends typeof CanvasEvent<this>>(event: CanvasEventNamesType, eventClass: T) => this;
|
|
633
|
+
}
|
|
527
634
|
interface ImageContainerOptions<C extends ContainerChild$1 = ContainerChild$1> extends ContainerOptions<C>, AnchorExtensionProps, AdditionalPositionsExtensionProps {
|
|
528
635
|
}
|
|
529
636
|
interface ImageSpriteOptions extends SpriteOptions, AdditionalPositionsExtensionProps {
|
|
@@ -534,8 +641,6 @@ interface VideoSpriteOptions extends ImageSpriteOptions {
|
|
|
534
641
|
currentTime?: number;
|
|
535
642
|
}
|
|
536
643
|
|
|
537
|
-
type EventIdType = string;
|
|
538
|
-
|
|
539
644
|
/**
|
|
540
645
|
* Interface for texture memory
|
|
541
646
|
*/
|
|
@@ -548,7 +653,7 @@ interface TextureMemory {
|
|
|
548
653
|
url: string;
|
|
549
654
|
}
|
|
550
655
|
|
|
551
|
-
interface SpriteBaseMemory extends SpriteOptions, CanvasBaseItemMemory {
|
|
656
|
+
interface SpriteBaseMemory extends SpriteOptions$1, CanvasBaseItemMemory {
|
|
552
657
|
/**
|
|
553
658
|
* @deprecated
|
|
554
659
|
*/
|
|
@@ -584,37 +689,6 @@ interface VideoSpriteMemory extends ImageSpriteMemory {
|
|
|
584
689
|
currentTime: number;
|
|
585
690
|
}
|
|
586
691
|
|
|
587
|
-
/**
|
|
588
|
-
* CanvasEventNamesType is a type that is used to define the event names for the canvas.
|
|
589
|
-
*/
|
|
590
|
-
type CanvasEventNamesType = keyof AllFederatedEventMap;
|
|
591
|
-
|
|
592
|
-
/**
|
|
593
|
-
* CanvasEvent is a class that is used to create a pixi event, and connect it to a canvas element, with on().
|
|
594
|
-
* This class should be extended and the fn method should be overridden.
|
|
595
|
-
* You must use the {@link eventDecorator} to register the event in the game.
|
|
596
|
-
* @example
|
|
597
|
-
* ```typescript
|
|
598
|
-
* \@eventDecorator() // this is equivalent to eventDecorator("EventTest")
|
|
599
|
-
* export class EventTest extends CanvasEvent<Sprite> {
|
|
600
|
-
* override fn(event: CanvasEventNamesType, sprite: Sprite): void {
|
|
601
|
-
* if (event === 'pointerdown') {
|
|
602
|
-
* sprite.scale.x *= 1.25;
|
|
603
|
-
* sprite.scale.y *= 1.25;
|
|
604
|
-
* }
|
|
605
|
-
* }
|
|
606
|
-
* }
|
|
607
|
-
* ```
|
|
608
|
-
*/
|
|
609
|
-
declare class CanvasEvent<C> {
|
|
610
|
-
constructor();
|
|
611
|
-
fn(_event: CanvasEventNamesType, _element: C): void;
|
|
612
|
-
/**
|
|
613
|
-
* Get the id of the event. This variable is used in the system to get the event by id, {@link RegisteredEvents.getInstance}.
|
|
614
|
-
*/
|
|
615
|
-
id: EventIdType;
|
|
616
|
-
}
|
|
617
|
-
|
|
618
692
|
/**
|
|
619
693
|
* This class is a extension of the [PIXI.Sprite class](https://pixijs.com/8.x/examples/sprite/basic), it has the same properties and methods,
|
|
620
694
|
* but it has the ability to be saved and loaded by the Pixi’VN library.
|
|
@@ -634,7 +708,7 @@ declare class CanvasEvent<C> {
|
|
|
634
708
|
* canvas.add("bunny", sprite);
|
|
635
709
|
* ```
|
|
636
710
|
*/
|
|
637
|
-
declare class Sprite<Memory extends SpriteOptions & CanvasBaseItemMemory = SpriteMemory> extends Sprite$1 implements CanvasBaseItem<Memory | SpriteMemory> {
|
|
711
|
+
declare class Sprite<Memory extends SpriteOptions$1 & CanvasBaseItemMemory = SpriteMemory> extends Sprite$1 implements CanvasBaseItem<Memory | SpriteMemory> {
|
|
638
712
|
constructor(options?: SpriteOptions | Texture);
|
|
639
713
|
pixivnId: string;
|
|
640
714
|
private _textureAlias?;
|
|
@@ -1097,7 +1171,7 @@ declare class CanvasManagerStatic {
|
|
|
1097
1171
|
/**
|
|
1098
1172
|
* Interface for the canvas text memory
|
|
1099
1173
|
*/
|
|
1100
|
-
interface TextMemory extends TextOptions, CanvasBaseItemMemory {
|
|
1174
|
+
interface TextMemory extends TextOptions$1, CanvasBaseItemMemory {
|
|
1101
1175
|
onEvents: {
|
|
1102
1176
|
[name: string]: EventIdType;
|
|
1103
1177
|
};
|
|
@@ -1604,13 +1678,15 @@ declare const canvasUtils_RotateTickerProps: typeof RotateTickerProps;
|
|
|
1604
1678
|
type canvasUtils_ShakeEffectProps = ShakeEffectProps;
|
|
1605
1679
|
type canvasUtils_ShowWithDissolveTransitionProps = ShowWithDissolveTransitionProps;
|
|
1606
1680
|
type canvasUtils_ShowWithFadeTransitionProps = ShowWithFadeTransitionProps;
|
|
1607
|
-
type canvasUtils_Sprite<Memory extends SpriteOptions & CanvasBaseItemMemory = SpriteMemory> = Sprite<Memory>;
|
|
1681
|
+
type canvasUtils_Sprite<Memory extends SpriteOptions$1 & CanvasBaseItemMemory = SpriteMemory> = Sprite<Memory>;
|
|
1608
1682
|
declare const canvasUtils_Sprite: typeof Sprite;
|
|
1609
1683
|
type canvasUtils_SpriteBaseMemory = SpriteBaseMemory;
|
|
1610
1684
|
type canvasUtils_SpriteMemory = SpriteMemory;
|
|
1685
|
+
type canvasUtils_SpriteOptions = SpriteOptions;
|
|
1611
1686
|
type canvasUtils_Text = Text;
|
|
1612
1687
|
declare const canvasUtils_Text: typeof Text;
|
|
1613
1688
|
type canvasUtils_TextMemory = TextMemory;
|
|
1689
|
+
type canvasUtils_TextOptions = TextOptions;
|
|
1614
1690
|
type canvasUtils_TextureMemory = TextureMemory;
|
|
1615
1691
|
declare const canvasUtils_Ticker: typeof Ticker;
|
|
1616
1692
|
declare const canvasUtils_TickerArgs: typeof TickerArgs;
|
|
@@ -1655,7 +1731,7 @@ declare const canvasUtils_tickerDecorator: typeof tickerDecorator;
|
|
|
1655
1731
|
declare const canvasUtils_zoomIn: typeof zoomIn;
|
|
1656
1732
|
declare const canvasUtils_zoomOut: typeof zoomOut;
|
|
1657
1733
|
declare namespace canvasUtils {
|
|
1658
|
-
export { type canvasUtils_CanvasBaseInterface as CanvasBaseInterface, canvasUtils_CanvasBaseItem as CanvasBaseItem, canvasUtils_CanvasBaseItemMemory as CanvasBaseItemMemory, canvasUtils_CanvasEvent as CanvasEvent, type canvasUtils_CanvasEventNamesType as CanvasEventNamesType, canvasUtils_CanvasGameState as CanvasGameState, type canvasUtils_CanvasManagerInterface as CanvasManagerInterface, canvasUtils_CanvasManagerStatic as CanvasManagerStatic, canvasUtils_Container as Container, ContainerChild$1 as ContainerChild, canvasUtils_ContainerMemory as ContainerMemory, canvasUtils_FadeAlphaTicker as FadeAlphaTicker, canvasUtils_FadeAlphaTickerProps as FadeAlphaTickerProps, canvasUtils_ImageContainer as ImageContainer, type canvasUtils_ImageContainerMemory as ImageContainerMemory, type canvasUtils_ImageContainerOptions as ImageContainerOptions, canvasUtils_ImageSprite as ImageSprite, type canvasUtils_ImageSpriteMemory as ImageSpriteMemory, type canvasUtils_ImageSpriteOptions as ImageSpriteOptions, type canvasUtils_MoveInOutProps as MoveInOutProps, canvasUtils_MoveTicker as MoveTicker, canvasUtils_MoveTickerProps as MoveTickerProps, canvasUtils_PauseType as PauseType, type canvasUtils_PushInOutProps as PushInOutProps, canvasUtils_RegisteredCanvasComponents as RegisteredCanvasComponents, canvasUtils_RegisteredEvents as RegisteredEvents, canvasUtils_RegisteredTickers as RegisteredTickers, canvasUtils_RepeatType as RepeatType, canvasUtils_RotateTicker as RotateTicker, canvasUtils_RotateTickerProps as RotateTickerProps, type canvasUtils_ShakeEffectProps as ShakeEffectProps, type canvasUtils_ShowWithDissolveTransitionProps as ShowWithDissolveTransitionProps, type canvasUtils_ShowWithFadeTransitionProps as ShowWithFadeTransitionProps, canvasUtils_Sprite as Sprite, type canvasUtils_SpriteBaseMemory as SpriteBaseMemory, type canvasUtils_SpriteMemory as SpriteMemory, canvasUtils_Text as Text, type canvasUtils_TextMemory as TextMemory, type canvasUtils_TextureMemory as TextureMemory, canvasUtils_Ticker as Ticker, canvasUtils_TickerArgs as TickerArgs, canvasUtils_TickerBase as TickerBase, canvasUtils_TickerHistory as TickerHistory, canvasUtils_TickerHistoryForExport as TickerHistoryForExport, canvasUtils_TickerProgrationExponential as TickerProgrationExponential, canvasUtils_TickerProgrationLinear as TickerProgrationLinear, canvasUtils_TickerProgrationType as TickerProgrationType, canvasUtils_TickerTimeoutHistory as TickerTimeoutHistory, canvasUtils_TickerValue as TickerValue, canvasUtils_TickersSequence as TickersSequence, canvasUtils_VideoSprite as VideoSprite, type canvasUtils_VideoSpriteMemory as VideoSpriteMemory, type canvasUtils_VideoSpriteOptions as VideoSpriteOptions, type canvasUtils_ZoomInOutProps as ZoomInOutProps, canvasUtils_ZoomTicker as ZoomTicker, canvasUtils_ZoomTickerProps as ZoomTickerProps, canvasUtils_addImage as addImage, canvasUtils_addImageCointainer as addImageCointainer, canvasUtils_addVideo as addVideo, canvasUtils_canvas as canvas, canvasUtils_canvasComponentDecorator as canvasComponentDecorator, canvasUtils_eventDecorator as eventDecorator, canvasUtils_getTexture as getTexture, canvasUtils_loadImage as loadImage, canvasUtils_loadVideo as loadVideo, canvasUtils_moveIn as moveIn, canvasUtils_moveOut as moveOut, canvasUtils_pushIn as pushIn, canvasUtils_pushOut as pushOut, canvasUtils_removeWithDissolve as removeWithDissolve, canvasUtils_removeWithFade as removeWithFade, canvasUtils_shakeEffect as shakeEffect, canvasUtils_showImage as showImage, canvasUtils_showImageContainer as showImageContainer, canvasUtils_showVideo as showVideo, canvasUtils_showWithDissolve as showWithDissolve, canvasUtils_showWithFade as showWithFade, canvasUtils_tickerDecorator as tickerDecorator, canvasUtils_zoomIn as zoomIn, canvasUtils_zoomOut as zoomOut };
|
|
1734
|
+
export { type canvasUtils_CanvasBaseInterface as CanvasBaseInterface, canvasUtils_CanvasBaseItem as CanvasBaseItem, canvasUtils_CanvasBaseItemMemory as CanvasBaseItemMemory, canvasUtils_CanvasEvent as CanvasEvent, type canvasUtils_CanvasEventNamesType as CanvasEventNamesType, canvasUtils_CanvasGameState as CanvasGameState, type canvasUtils_CanvasManagerInterface as CanvasManagerInterface, canvasUtils_CanvasManagerStatic as CanvasManagerStatic, canvasUtils_Container as Container, ContainerChild$1 as ContainerChild, canvasUtils_ContainerMemory as ContainerMemory, canvasUtils_FadeAlphaTicker as FadeAlphaTicker, canvasUtils_FadeAlphaTickerProps as FadeAlphaTickerProps, canvasUtils_ImageContainer as ImageContainer, type canvasUtils_ImageContainerMemory as ImageContainerMemory, type canvasUtils_ImageContainerOptions as ImageContainerOptions, canvasUtils_ImageSprite as ImageSprite, type canvasUtils_ImageSpriteMemory as ImageSpriteMemory, type canvasUtils_ImageSpriteOptions as ImageSpriteOptions, type canvasUtils_MoveInOutProps as MoveInOutProps, canvasUtils_MoveTicker as MoveTicker, canvasUtils_MoveTickerProps as MoveTickerProps, canvasUtils_PauseType as PauseType, type canvasUtils_PushInOutProps as PushInOutProps, canvasUtils_RegisteredCanvasComponents as RegisteredCanvasComponents, canvasUtils_RegisteredEvents as RegisteredEvents, canvasUtils_RegisteredTickers as RegisteredTickers, canvasUtils_RepeatType as RepeatType, canvasUtils_RotateTicker as RotateTicker, canvasUtils_RotateTickerProps as RotateTickerProps, type canvasUtils_ShakeEffectProps as ShakeEffectProps, type canvasUtils_ShowWithDissolveTransitionProps as ShowWithDissolveTransitionProps, type canvasUtils_ShowWithFadeTransitionProps as ShowWithFadeTransitionProps, canvasUtils_Sprite as Sprite, type canvasUtils_SpriteBaseMemory as SpriteBaseMemory, type canvasUtils_SpriteMemory as SpriteMemory, type canvasUtils_SpriteOptions as SpriteOptions, canvasUtils_Text as Text, type canvasUtils_TextMemory as TextMemory, type canvasUtils_TextOptions as TextOptions, type canvasUtils_TextureMemory as TextureMemory, canvasUtils_Ticker as Ticker, canvasUtils_TickerArgs as TickerArgs, canvasUtils_TickerBase as TickerBase, canvasUtils_TickerHistory as TickerHistory, canvasUtils_TickerHistoryForExport as TickerHistoryForExport, canvasUtils_TickerProgrationExponential as TickerProgrationExponential, canvasUtils_TickerProgrationLinear as TickerProgrationLinear, canvasUtils_TickerProgrationType as TickerProgrationType, canvasUtils_TickerTimeoutHistory as TickerTimeoutHistory, canvasUtils_TickerValue as TickerValue, canvasUtils_TickersSequence as TickersSequence, canvasUtils_VideoSprite as VideoSprite, type canvasUtils_VideoSpriteMemory as VideoSpriteMemory, type canvasUtils_VideoSpriteOptions as VideoSpriteOptions, type canvasUtils_ZoomInOutProps as ZoomInOutProps, canvasUtils_ZoomTicker as ZoomTicker, canvasUtils_ZoomTickerProps as ZoomTickerProps, canvasUtils_addImage as addImage, canvasUtils_addImageCointainer as addImageCointainer, canvasUtils_addVideo as addVideo, canvasUtils_canvas as canvas, canvasUtils_canvasComponentDecorator as canvasComponentDecorator, canvasUtils_eventDecorator as eventDecorator, canvasUtils_getTexture as getTexture, canvasUtils_loadImage as loadImage, canvasUtils_loadVideo as loadVideo, canvasUtils_moveIn as moveIn, canvasUtils_moveOut as moveOut, canvasUtils_pushIn as pushIn, canvasUtils_pushOut as pushOut, canvasUtils_removeWithDissolve as removeWithDissolve, canvasUtils_removeWithFade as removeWithFade, canvasUtils_shakeEffect as shakeEffect, canvasUtils_showImage as showImage, canvasUtils_showImageContainer as showImageContainer, canvasUtils_showVideo as showVideo, canvasUtils_showWithDissolve as showWithDissolve, canvasUtils_showWithFade as showWithFade, canvasUtils_tickerDecorator as tickerDecorator, canvasUtils_zoomIn as zoomIn, canvasUtils_zoomOut as zoomOut };
|
|
1659
1735
|
}
|
|
1660
1736
|
|
|
1661
|
-
export { addVideo as A, loadVideo as B, type CanvasManagerInterface as C, showVideo as D, type ImageContainerOptions as E, type ImageSpriteOptions as F, type
|
|
1737
|
+
export { type ZoomInOutProps as $, addVideo as A, loadVideo as B, type CanvasManagerInterface as C, showVideo as D, type ImageContainerOptions as E, type ImageSpriteOptions as F, type SpriteOptions as G, type TextOptions as H, ImageContainer as I, type VideoSpriteOptions as J, type CanvasBaseInterface as K, type ShakeEffectProps as L, type ImageContainerMemory as M, type ImageSpriteMemory as N, type SpriteBaseMemory as O, type SpriteMemory as P, type TextMemory as Q, RegisteredCanvasComponents as R, Sprite as S, Text as T, type VideoSpriteMemory as U, VideoSprite as V, type TextureMemory as W, type MoveInOutProps as X, type PushInOutProps as Y, type ShowWithDissolveTransitionProps as Z, type ShowWithFadeTransitionProps as _, canvas as a, type CanvasEventNamesType as a0, CanvasEvent as b, canvasUtils as c, CanvasManagerStatic as d, Container as e, ImageSprite as f, canvasComponentDecorator as g, eventDecorator as h, RegisteredEvents as i, moveOut as j, pushOut as k, removeWithFade as l, moveIn as m, showWithDissolve as n, showWithFade as o, pushIn as p, zoomOut as q, removeWithDissolve as r, shakeEffect as s, addImageCointainer as t, showImageContainer as u, addImage as v, loadImage as w, showImage as x, getTexture as y, zoomIn as z };
|