@truelab/truengine 0.0.1-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.
Files changed (122) hide show
  1. package/dist/truengine.es.js +35354 -0
  2. package/dist/types/index.d.ts +2 -0
  3. package/dist/types/src/classes/assets.class.d.ts +89 -0
  4. package/dist/types/src/classes/bitmap.text.class.d.ts +77 -0
  5. package/dist/types/src/classes/borderview.class.d.ts +204 -0
  6. package/dist/types/src/classes/color.class.d.ts +72 -0
  7. package/dist/types/src/classes/container.class.d.ts +111 -0
  8. package/dist/types/src/classes/di.class.d.ts +110 -0
  9. package/dist/types/src/classes/emitter.class.d.ts +64 -0
  10. package/dist/types/src/classes/engine.class.d.ts +75 -0
  11. package/dist/types/src/classes/loaders.class.d.ts +28 -0
  12. package/dist/types/src/classes/preloader.class.d.ts +15 -0
  13. package/dist/types/src/classes/producer.class.d.ts +135 -0
  14. package/dist/types/src/classes/sequence.class.d.ts +30 -0
  15. package/dist/types/src/classes/skipable.class.d.ts +15 -0
  16. package/dist/types/src/classes/spine.assets.class.d.ts +42 -0
  17. package/dist/types/src/classes/tile.class.d.ts +38 -0
  18. package/dist/types/src/components/abstract.component.d.ts +52 -0
  19. package/dist/types/src/components/abstract.html.component.d.ts +43 -0
  20. package/dist/types/src/components/bigwin.component.d.ts +109 -0
  21. package/dist/types/src/components/blackout.component.d.ts +32 -0
  22. package/dist/types/src/components/button.component.d.ts +113 -0
  23. package/dist/types/src/components/button.faded.component.d.ts +29 -0
  24. package/dist/types/src/components/button.text.component.d.ts +49 -0
  25. package/dist/types/src/components/cheat.component.d.ts +63 -0
  26. package/dist/types/src/components/fillframe.component.d.ts +37 -0
  27. package/dist/types/src/components/fps.component.d.ts +39 -0
  28. package/dist/types/src/components/grid.component.d.ts +28 -0
  29. package/dist/types/src/components/link.component.d.ts +78 -0
  30. package/dist/types/src/components/particles.component.d.ts +30 -0
  31. package/dist/types/src/components/progress.component.d.ts +42 -0
  32. package/dist/types/src/components/slideshow/slides.reel.component.d.ts +65 -0
  33. package/dist/types/src/components/slideshow/slideshow.component.d.ts +27 -0
  34. package/dist/types/src/components/slideshow/slideshow.ui.component.d.ts +28 -0
  35. package/dist/types/src/components/slideshow/slideshow.ui.pagination.d.ts +30 -0
  36. package/dist/types/src/components/slot/coefficient/coefficient.component.d.ts +66 -0
  37. package/dist/types/src/components/slot/frames/frames.component.d.ts +39 -0
  38. package/dist/types/src/components/slot/frames/frames.sequence.component.d.ts +17 -0
  39. package/dist/types/src/components/slot/frames/frames.spine.component.d.ts +21 -0
  40. package/dist/types/src/components/slot/hints/hints.component.d.ts +102 -0
  41. package/dist/types/src/components/slot/intrigue/intrigue.component.d.ts +41 -0
  42. package/dist/types/src/components/slot/intrigue/intrigue.spine.component.d.ts +18 -0
  43. package/dist/types/src/components/slot/lines/lines.component.d.ts +29 -0
  44. package/dist/types/src/components/slot/lines/lines.static.component.d.ts +38 -0
  45. package/dist/types/src/components/slot/reel.component.d.ts +253 -0
  46. package/dist/types/src/components/slot/slot.cheats.d.ts +22 -0
  47. package/dist/types/src/components/slot/slot.component.d.ts +132 -0
  48. package/dist/types/src/components/slot/slot.config.d.ts +82 -0
  49. package/dist/types/src/components/slot/symbol/symbol.component.d.ts +84 -0
  50. package/dist/types/src/components/slot/symbol/symbol.sequence.component.d.ts +18 -0
  51. package/dist/types/src/components/slot/symbol/symbol.spine.component.d.ts +18 -0
  52. package/dist/types/src/components/switch.component.d.ts +62 -0
  53. package/dist/types/src/components/text.component.d.ts +101 -0
  54. package/dist/types/src/components/volatility/volatility.component.d.ts +55 -0
  55. package/dist/types/src/components/volatility/volatility.symbol.component.d.ts +20 -0
  56. package/dist/types/src/extends/enum.types.d.ts +36 -0
  57. package/dist/types/src/extends/interfaces.d.ts +74 -0
  58. package/dist/types/src/extends/javascript.d.ts +5 -0
  59. package/dist/types/src/extends/short.types.d.ts +68 -0
  60. package/dist/types/src/extends/struct.types.d.ts +260 -0
  61. package/dist/types/src/functions/agent.funcs.d.ts +84 -0
  62. package/dist/types/src/functions/animate/counter.func.d.ts +10 -0
  63. package/dist/types/src/functions/animate/fadein.func.d.ts +8 -0
  64. package/dist/types/src/functions/animate/fadeout.func.d.ts +8 -0
  65. package/dist/types/src/functions/animate/from.func.d.ts +10 -0
  66. package/dist/types/src/functions/animate/fromto.func.d.ts +11 -0
  67. package/dist/types/src/functions/animate/to.func.d.ts +10 -0
  68. package/dist/types/src/functions/array/indexofall.func.d.ts +2 -0
  69. package/dist/types/src/functions/array/position.func.d.ts +6 -0
  70. package/dist/types/src/functions/array/unique.func.d.ts +6 -0
  71. package/dist/types/src/functions/arraysintersect.func.d.ts +2 -0
  72. package/dist/types/src/functions/cache.funcs.d.ts +20 -0
  73. package/dist/types/src/functions/cheats.func.d.ts +2 -0
  74. package/dist/types/src/functions/convert/tofixed.func.d.ts +9 -0
  75. package/dist/types/src/functions/debug/container.func.d.ts +7 -0
  76. package/dist/types/src/functions/debug/line.func.d.ts +10 -0
  77. package/dist/types/src/functions/demotexture.func.d.ts +3 -0
  78. package/dist/types/src/functions/dom.funcs.d.ts +6 -0
  79. package/dist/types/src/functions/draw/canvasExtract.func.d.ts +16 -0
  80. package/dist/types/src/functions/draw/gradient.texture.func.d.ts +14 -0
  81. package/dist/types/src/functions/draw/radialGradient.func.d.ts +20 -0
  82. package/dist/types/src/functions/draw/rect.func.d.ts +12 -0
  83. package/dist/types/src/functions/draw/reel.func.d.ts +9 -0
  84. package/dist/types/src/functions/engine.funcs.d.ts +63 -0
  85. package/dist/types/src/functions/is.funcs.d.ts +16 -0
  86. package/dist/types/src/functions/math.funcs.d.ts +38 -0
  87. package/dist/types/src/functions/number/between.func.d.ts +7 -0
  88. package/dist/types/src/functions/object/deepMerge.d.ts +7 -0
  89. package/dist/types/src/functions/random/exclude.func.d.ts +6 -0
  90. package/dist/types/src/functions/random/inrange.func.d.ts +6 -0
  91. package/dist/types/src/functions/random/value.func.d.ts +10 -0
  92. package/dist/types/src/functions/range.func.d.ts +3 -0
  93. package/dist/types/src/functions/speed/duration.func.d.ts +6 -0
  94. package/dist/types/src/functions/speed/mode.func.d.ts +7 -0
  95. package/dist/types/src/functions/time/full.func.d.ts +4 -0
  96. package/dist/types/src/functions/time/nowfull.func.d.ts +4 -0
  97. package/dist/types/src/functions/time/nowshort.func.d.ts +5 -0
  98. package/dist/types/src/functions/time/short.func.d.ts +7 -0
  99. package/dist/types/src/functions/timeline/create.funcs.d.ts +8 -0
  100. package/dist/types/src/functions/timeline/taps.func.d.ts +4 -0
  101. package/dist/types/src/functions/window/add.func.d.ts +7 -0
  102. package/dist/types/src/functions/window/get.func.d.ts +6 -0
  103. package/dist/types/src/index.d.ts +62 -0
  104. package/dist/types/src/plugins/dragon.bones/functions.d.ts +18 -0
  105. package/dist/types/src/plugins/dragon.bones/library.d.ts +875 -0
  106. package/dist/types/src/plugins/gsap/custom.ease.plugin.d.ts +2 -0
  107. package/dist/types/src/plugins/gsap/motion.path.plugin.d.ts +2 -0
  108. package/dist/types/src/plugins/modernizr/modernizr-custom.d.ts +1 -0
  109. package/dist/types/src/references.d.ts +4 -0
  110. package/dist/types/src/scenes/abstract.scene.d.ts +73 -0
  111. package/dist/types/src/scenes/background.scene.d.ts +35 -0
  112. package/dist/types/src/scenes/masked.scene.d.ts +15 -0
  113. package/dist/types/src/services/focus.services.d.ts +17 -0
  114. package/dist/types/src/services/iframe.service.d.ts +27 -0
  115. package/dist/types/src/services/langs.service.d.ts +31 -0
  116. package/dist/types/src/services/registry.service.d.ts +29 -0
  117. package/dist/types/src/services/settings.service.d.ts +51 -0
  118. package/dist/types/src/services/skip.service.d.ts +51 -0
  119. package/dist/types/src/services/sounds/sounds.service.d.ts +111 -0
  120. package/dist/types/src/services/storage.service.d.ts +38 -0
  121. package/dist/types/vite.config.d.ts +2 -0
  122. package/package.json +33 -0
@@ -0,0 +1,14 @@
1
+ import { TPixiTexture } from '../../extends/short.types';
2
+ /**
3
+ * Creates vertical gradient texture with size 1 x @length
4
+ *
5
+ * example:
6
+ *
7
+ * new Sprite(
8
+ * gradientTexture(
9
+ * 861,
10
+ * [0.37, 1],
11
+ ['#133C53',
12
+ 'rgba(11, 4, 28, 0.00)']))
13
+ * */
14
+ export declare const gradientTexture: (length: number, stops: number[], colors: string[]) => TPixiTexture;
@@ -0,0 +1,20 @@
1
+ import { Color } from '../../classes/color.class';
2
+ import { TPixiTexture } from '../../extends/short.types';
3
+ import * as PIXI from 'pixi.js';
4
+ export type ColorStopper = {
5
+ stop: number;
6
+ color: Color;
7
+ };
8
+ /** Создает черно-белую текстуру с радиальным градиентом
9
+ * @param size размер текстуры
10
+ * @param whiteRadius радиус белого
11
+ * @param blackRadius радиус черного
12
+ * @returns текстура с градиентом
13
+ * */
14
+ export declare function createRadialWBGradient(size: PIXI.ISize, whiteRadius?: number, blackRadius?: number): TPixiTexture;
15
+ /** Создает текстуру из канваса с радиальным градиентом от центра текстуры
16
+ * @param size размер текстуры
17
+ * @param colorStoppers массив цветов и их позиций в градиенте
18
+ * @returns текстура с градиентом
19
+ */
20
+ export declare function createRadialGradient(size: PIXI.ISize, colorStoppers: ColorStopper[]): TPixiTexture;
@@ -0,0 +1,12 @@
1
+ import * as PIXI from 'pixi.js';
2
+ /**
3
+ * Рисуем прямоугольник с заливкой и прозрачностью
4
+ * @param { Number } posX координата Х начала прямоугольник
5
+ * @param { Number } posY координата У начала прямоугольник
6
+ * @param { Number } w ширина
7
+ * @param { Number } h высота
8
+ * @param { Number } radius радиус
9
+ * @param { string } color формат 0xffffff
10
+ * @param { Number } alpha 0..1
11
+ */
12
+ export declare function drawRect(posX: number, posY: number, w: number, h: number, radius?: number, color?: number, alpha?: number): PIXI.Graphics;
@@ -0,0 +1,9 @@
1
+ import * as PIXI from 'pixi.js';
2
+ /**
3
+ * Рисует прямоуголньик с градиентом сверху и снизу
4
+ * @param {number} width
5
+ * @param {number} height
6
+ * @param {number} offsetTop - кол-во пикселей градиента сверху (внутри, с краев height к центру)
7
+ * @param {number} offsetBottom - кол-во пикселей градиента снизу (внутри, с краев height к центру)
8
+ */
9
+ export declare function drawReel(width: number, height: number, offsetTop?: number, offsetBottom?: number): PIXI.Graphics;
@@ -0,0 +1,63 @@
1
+ import { TCallbackAsync, TCallbackVoid, TGenericObject } from '../extends/short.types';
2
+ /**
3
+ * Установить режим
4
+ * @param name
5
+ */
6
+ export declare function setMode(name: string): void;
7
+ /**
8
+ * Узнать, включен ли сейчас режим
9
+ * @param name
10
+ */
11
+ export declare function isMode(name: string): boolean;
12
+ /**
13
+ * Вывод логов (только в debug режиме)
14
+ * @param _args
15
+ * @todo window.cl
16
+ */
17
+ export declare function cl(..._args: unknown[]): boolean;
18
+ /**
19
+ * Вывод логов события (только в debug режиме)
20
+ * @param type
21
+ * @param event
22
+ * @param data
23
+ */
24
+ export declare function eventlog(type: string, event: string, data?: unknown): void | boolean;
25
+ /**
26
+ * Вывод ошибок (только в debug режиме)
27
+ * @param _args
28
+ */
29
+ export declare function error(..._args: unknown[]): boolean;
30
+ /**
31
+ * Обработка исключений (только в debug режиме)
32
+ * @param callback
33
+ * @param context
34
+ * @param catchError
35
+ */
36
+ export declare function _try(callback: TCallbackVoid, context: unknown, catchError?: unknown): boolean;
37
+ /**
38
+ * Получить название события клика (тача)
39
+ */
40
+ export declare function clickEvent(): string;
41
+ /** */
42
+ export declare function isClick(): boolean;
43
+ /**
44
+ * Задать таймаут и выполнить колбек
45
+ * @param callback
46
+ * @param delayMs ms
47
+ */
48
+ export declare function timeout(callback: TCallbackAsync | TCallbackVoid, delayMs: number): Promise<unknown>;
49
+ /**
50
+ * Подождать
51
+ * @param delayMs ms
52
+ */
53
+ export declare function sleep(delayMs: number): Promise<void>;
54
+ /**
55
+ * Получить параметры из URL
56
+ */
57
+ export declare function getUrlParams(url: string): TGenericObject<string>;
58
+ /**
59
+ * Получить параметры из URL
60
+ */
61
+ export declare function hasUrlParams(url: string, param: string): boolean;
62
+ /** Определим язык клиента из браузера */
63
+ export declare function detectLang(): string;
@@ -0,0 +1,16 @@
1
+ /**
2
+ * val typeof array
3
+ */
4
+ export declare function isArray(val: unknown): boolean;
5
+ /**
6
+ * val typeof object
7
+ */
8
+ export declare function isObject(val: unknown): boolean;
9
+ /**
10
+ * val typeof boolean
11
+ */
12
+ export declare function isBoolean(val: unknown): boolean;
13
+ /**
14
+ * val is defined string
15
+ */
16
+ export declare function isString(val: unknown): boolean;
@@ -0,0 +1,38 @@
1
+ import { TPixiPoint } from '../extends/short.types';
2
+ type TPos = {
3
+ x: number;
4
+ y: number;
5
+ };
6
+ /**
7
+ * Функция-уравнение кубической кривой
8
+ * @param {Number} t - прогресс движения по кривой от 0 до 1
9
+ * @param {Object} p0 - начальная точка кривой {x: , y: }
10
+ * @param {Object} p1 - первая контрольная точка {x: , y: }
11
+ * @param {Object} p2 - вторая контрольная точка {x: , y: }
12
+ * @param {Object} p3 - конечная точка кривой {x: , y: }
13
+ * @param {Boolean} getRotation - вычислить поворот (угол асимптоты рзультирующей точки)
14
+ * @param {Number} accuracyRotation - точность угла асимптоты (чем длинее кривая - тем меньше должын быть параметр)
15
+ */
16
+ export declare function bezierQubic(t: number, p0: TPos, p1: TPos, p2: TPos, p3: TPos, getRotation?: boolean, accuracyRotation?: number): {
17
+ x: number;
18
+ y: number;
19
+ rotation?: number;
20
+ };
21
+ /**
22
+ * Возвращает приближенную длину кубической кривой
23
+ * @param {Object} p0 - начальная точка кривой {x: , y: }
24
+ * @param {Object} p1 - первая контрольная точка {x: , y: }
25
+ * @param {Object} p2 - вторая контрольная точка {x: , y: }
26
+ * @param {Object} p3 - конечная точка кривой {x: , y: }
27
+ * @param {Number} iterations - для точности
28
+ * @param {Boolean} getIntervals - вернуть прогресс по длине кривой
29
+ */
30
+ export declare function bezierQubicLength(p0: TPos, p1: TPos, p2: TPos, p3: TPos, iterations?: number, getIntervals?: boolean): {
31
+ length: number;
32
+ intervals: any[];
33
+ };
34
+ /** distance between two points */
35
+ export declare function distance(from: TPixiPoint, to: TPixiPoint, rounded?: boolean): number;
36
+ /** calculates the angle in radians between two points */
37
+ export declare function radian(from: TPixiPoint, to: TPixiPoint): number;
38
+ export {};
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Is the number between the other two
3
+ * @param num tested number
4
+ * @param from
5
+ * @param to
6
+ */
7
+ export declare function numberBetween(num: number, from: number, to: number): boolean;
@@ -0,0 +1,7 @@
1
+ import { TMixedObject } from '../../extends/short.types';
2
+ /**
3
+ * Recursive merging objects. Replaces or adds properties from the source object to the target object
4
+ * @param to target object
5
+ * @param from source object
6
+ */
7
+ export declare function deepMerge(to: TMixedObject, from: TMixedObject, shouldRewrite?: boolean): void;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Возвращает случайное значение из списка (предыдущее значение не участвует)
3
+ * @param list
4
+ * @param excludedValue
5
+ */
6
+ export declare function randomExclude<T = string>(list: T[], excludedValue: T): T;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Возвращает случайное число из промежутка
3
+ * @param {Number} min
4
+ * @param {Number} max
5
+ */
6
+ export declare function randomInRange(min: number, max: number): number;
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Возвращает случайное значение из списка
3
+ * @param {*} value1
4
+ * @param {*} value2
5
+ * ...
6
+ * or
7
+ * @param {Array} values
8
+ * @returns {*}
9
+ */
10
+ export declare function randomValue<T = string>(first?: T | T[], ..._others: T[]): T;
@@ -0,0 +1,3 @@
1
+ import { TNumberArray } from '../extends/short.types';
2
+ /** Gets number array [0, 1, 2, ... , size - 1] */
3
+ export declare function range(size: number): TNumberArray;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Получить готовое значение с учетом ползунка скорости
3
+ * @example duration: speedDuration(500, 250)
4
+ * @example duration: speedDuration(2.5, 0.5, 1)
5
+ */
6
+ export declare function speedDuration(origin: number, diff: number, float?: number): number;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Получить готовое значение с учетом режима скорости
3
+ * @example duration: speedMode(400, 200, 200)
4
+ * @example duration: speedMode(3.5, 2.5, 2.5)
5
+ * @example animation: speedMode('normal', 'fastmode', 'skipmode')
6
+ */
7
+ export declare function speedMode<T = number>(origin: T, fast: T, skip?: T): T;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * 00:00:00
3
+ */
4
+ export declare function timeFull(date: Date): string;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * 00:00:00
3
+ */
4
+ export declare function timeNowFull(): string;
@@ -0,0 +1,5 @@
1
+ /**
2
+ * 11:14
3
+ * 19:00
4
+ */
5
+ export declare function timeNowShort(): string;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * 0:01
3
+ * 5:45
4
+ * 10:30
5
+ * 1:00:00
6
+ */
7
+ export declare function timeShort(date: Date): string;
@@ -0,0 +1,8 @@
1
+ import { TGsapTimeline } from '../../extends/short.types';
2
+ /**
3
+ * Создать таймлан и сохранить его по имени.
4
+ * При повторном создании предыдущий таймлайн будет остановлен.
5
+ * @param tag
6
+ * @param vars
7
+ */
8
+ export declare function timelineCreate(tag?: string, vars?: gsap.TimelineVars): TGsapTimeline;
@@ -0,0 +1,4 @@
1
+ import { TGsapTimeline, TNumberArray } from '../../extends/short.types';
2
+ export type TCallbackTap = (index: number, time: number) => void;
3
+ /** */
4
+ export declare function timelineTaps(track: string, taps: TNumberArray, callback: TCallbackTap): TGsapTimeline;
@@ -0,0 +1,7 @@
1
+ import { TMixedObject } from '../../extends/short.types';
2
+ /**
3
+ *
4
+ * @param settings
5
+ * @param property
6
+ */
7
+ export declare const windowAdd: (settings: TMixedObject, property?: string) => void;
@@ -0,0 +1,6 @@
1
+ import { TMixedObject } from '../../extends/short.types';
2
+ /**
3
+ *
4
+ * @param property
5
+ */
6
+ export declare const windowGet: (property?: string, def?: TMixedObject) => TMixedObject;
@@ -0,0 +1,62 @@
1
+ export * from './classes/assets.class';
2
+ export * from './classes/borderview.class';
3
+ export * from './classes/container.class';
4
+ export * from './classes/di.class';
5
+ export * from './classes/emitter.class';
6
+ export * from './classes/engine.class';
7
+ export * from './classes/loaders.class';
8
+ export * from './classes/producer.class';
9
+ export * from './classes/spine.assets.class';
10
+ export * from './components/abstract.component';
11
+ export * from './components/bigwin.component';
12
+ export * from './components/blackout.component';
13
+ export * from './components/button.component';
14
+ export * from './components/button.text.component';
15
+ export * from './components/cheat.component';
16
+ export * from './components/fillframe.component';
17
+ export * from './components/fps.component';
18
+ export * from './components/link.component';
19
+ export * from './components/slideshow/slides.reel.component';
20
+ export * from './components/slideshow/slideshow.component';
21
+ export * from './components/slideshow/slideshow.ui.component';
22
+ export * from './components/slot/coefficient/coefficient.component';
23
+ export * from './components/slot/frames/frames.component';
24
+ export * from './components/slot/hints/hints.component';
25
+ export * from './components/slot/intrigue/intrigue.component';
26
+ export * from './components/slot/lines/lines.component';
27
+ export * from './components/slot/lines/lines.static.component';
28
+ export * from './components/slot/reel.component';
29
+ export * from './components/slot/slot.component';
30
+ export * from './components/switch.component';
31
+ export * from './components/text.component';
32
+ export * from './components/volatility/volatility.component';
33
+ export * from './components/volatility/volatility.symbol.component';
34
+ export * from './functions/animate/counter.func';
35
+ export * from './functions/animate/fadein.func';
36
+ export * from './functions/animate/fadeout.func';
37
+ export * from './functions/animate/to.func';
38
+ export * from './functions/convert/tofixed.func';
39
+ export * from './functions/debug/container.func';
40
+ export * from './functions/demotexture.func';
41
+ export * from './functions/draw/canvasExtract.func';
42
+ export * from './functions/draw/gradient.texture.func';
43
+ export * from './functions/draw/rect.func';
44
+ export * from './functions/draw/reel.func';
45
+ export * from './functions/engine.funcs';
46
+ export * from './functions/object/deepMerge';
47
+ export * from './functions/random/inrange.func';
48
+ export * from './functions/random/value.func';
49
+ export * from './functions/speed/mode.func';
50
+ export * from './functions/timeline/create.funcs';
51
+ export * from './services/focus.services';
52
+ export * from './services/langs.service';
53
+ export * from './services/skip.service';
54
+ export * from './services/sounds/sounds.service';
55
+ export * from './services/storage.service';
56
+ export * from './extends/enum.types';
57
+ export * from './extends/interfaces';
58
+ export * from './extends/short.types';
59
+ export * from './extends/struct.types';
60
+ export * from './scenes/abstract.scene';
61
+ export * from './components/slot/slot.config';
62
+ export * from './references';
@@ -0,0 +1,18 @@
1
+ export declare enum EDragonBonesEvents {
2
+ complete = "complete",
3
+ start = "start",
4
+ fadeIn = "fadeIn",
5
+ fadeOut = "fadeOut",
6
+ loopComplete = "loopComplete",
7
+ fadeInComplete = "fadeInComplete",
8
+ fadeOutComplete = "fadeOutComplete",
9
+ frameEvent = "frameEvent",
10
+ soundEvent = "soundEvent"
11
+ }
12
+ /**
13
+ * Adding the listener and wait for completion it
14
+ * @param target - dragonbones armature sprite
15
+ * @param event - event name
16
+ * @param clearall - remove all listeners
17
+ */
18
+ export declare function waitDragonbonesEvent(target: dragonBones.PixiArmatureDisplay, event: dragonBones.EventStringType, clearall?: boolean): Promise<dragonBones.PixiArmatureDisplay>;