waitroom 0.0.1

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 (128) hide show
  1. package/README.md +62 -0
  2. package/dist/chunk-3RJ542WD.js +130 -0
  3. package/dist/chunk-3RJ542WD.js.map +1 -0
  4. package/dist/chunk-4DE2IREA.cjs +9 -0
  5. package/dist/chunk-4DE2IREA.cjs.map +1 -0
  6. package/dist/chunk-5AUPIR2C.cjs +90 -0
  7. package/dist/chunk-5AUPIR2C.cjs.map +1 -0
  8. package/dist/chunk-ARXVTVP4.js +55 -0
  9. package/dist/chunk-ARXVTVP4.js.map +1 -0
  10. package/dist/chunk-C5XPYOJI.js +137 -0
  11. package/dist/chunk-C5XPYOJI.js.map +1 -0
  12. package/dist/chunk-DEQZY4AM.js +58 -0
  13. package/dist/chunk-DEQZY4AM.js.map +1 -0
  14. package/dist/chunk-FH3QBC6T.cjs +139 -0
  15. package/dist/chunk-FH3QBC6T.cjs.map +1 -0
  16. package/dist/chunk-GEBKOXLQ.cjs +255 -0
  17. package/dist/chunk-GEBKOXLQ.cjs.map +1 -0
  18. package/dist/chunk-JG5ZMB2Y.cjs +142 -0
  19. package/dist/chunk-JG5ZMB2Y.cjs.map +1 -0
  20. package/dist/chunk-MAWVAR3Q.cjs +135 -0
  21. package/dist/chunk-MAWVAR3Q.cjs.map +1 -0
  22. package/dist/chunk-MMNQMDV3.js +39 -0
  23. package/dist/chunk-MMNQMDV3.js.map +1 -0
  24. package/dist/chunk-O6CAFCTV.js +140 -0
  25. package/dist/chunk-O6CAFCTV.js.map +1 -0
  26. package/dist/chunk-P6NO27XB.cjs +74 -0
  27. package/dist/chunk-P6NO27XB.cjs.map +1 -0
  28. package/dist/chunk-PKRYY3X6.cjs +60 -0
  29. package/dist/chunk-PKRYY3X6.cjs.map +1 -0
  30. package/dist/chunk-PUR7CO53.js +72 -0
  31. package/dist/chunk-PUR7CO53.js.map +1 -0
  32. package/dist/chunk-R5V2UBE7.js +88 -0
  33. package/dist/chunk-R5V2UBE7.js.map +1 -0
  34. package/dist/chunk-SSP4S4NY.cjs +57 -0
  35. package/dist/chunk-SSP4S4NY.cjs.map +1 -0
  36. package/dist/chunk-SUJCEDVR.js +251 -0
  37. package/dist/chunk-SUJCEDVR.js.map +1 -0
  38. package/dist/chunk-V4RO47V6.cjs +41 -0
  39. package/dist/chunk-V4RO47V6.cjs.map +1 -0
  40. package/dist/chunk-V5DABI44.cjs +172 -0
  41. package/dist/chunk-V5DABI44.cjs.map +1 -0
  42. package/dist/chunk-V6TY7KAL.js +7 -0
  43. package/dist/chunk-V6TY7KAL.js.map +1 -0
  44. package/dist/chunk-VKSLYTRF.js +170 -0
  45. package/dist/chunk-VKSLYTRF.js.map +1 -0
  46. package/dist/core/index.cjs +30 -0
  47. package/dist/core/index.cjs.map +1 -0
  48. package/dist/core/index.d.cts +23 -0
  49. package/dist/core/index.d.ts +23 -0
  50. package/dist/core/index.js +5 -0
  51. package/dist/core/index.js.map +1 -0
  52. package/dist/doodle/basic-canvas.cjs +13 -0
  53. package/dist/doodle/basic-canvas.cjs.map +1 -0
  54. package/dist/doodle/basic-canvas.d.cts +5 -0
  55. package/dist/doodle/basic-canvas.d.ts +5 -0
  56. package/dist/doodle/basic-canvas.js +4 -0
  57. package/dist/doodle/basic-canvas.js.map +1 -0
  58. package/dist/doodle/index.cjs +13 -0
  59. package/dist/doodle/index.cjs.map +1 -0
  60. package/dist/doodle/index.d.cts +2 -0
  61. package/dist/doodle/index.d.ts +2 -0
  62. package/dist/doodle/index.js +4 -0
  63. package/dist/doodle/index.js.map +1 -0
  64. package/dist/engine--hGQ4LNR.d.ts +16 -0
  65. package/dist/engine-DdHCpfbk.d.cts +16 -0
  66. package/dist/facts/dev-tips.cjs +13 -0
  67. package/dist/facts/dev-tips.cjs.map +1 -0
  68. package/dist/facts/dev-tips.d.cts +5 -0
  69. package/dist/facts/dev-tips.d.ts +5 -0
  70. package/dist/facts/dev-tips.js +4 -0
  71. package/dist/facts/dev-tips.js.map +1 -0
  72. package/dist/facts/index.cjs +23 -0
  73. package/dist/facts/index.cjs.map +1 -0
  74. package/dist/facts/index.d.cts +4 -0
  75. package/dist/facts/index.d.ts +4 -0
  76. package/dist/facts/index.js +6 -0
  77. package/dist/facts/index.js.map +1 -0
  78. package/dist/facts/programming-trivia.cjs +13 -0
  79. package/dist/facts/programming-trivia.cjs.map +1 -0
  80. package/dist/facts/programming-trivia.d.cts +5 -0
  81. package/dist/facts/programming-trivia.d.ts +5 -0
  82. package/dist/facts/programming-trivia.js +4 -0
  83. package/dist/facts/programming-trivia.js.map +1 -0
  84. package/dist/facts/tech-stats.cjs +13 -0
  85. package/dist/facts/tech-stats.cjs.map +1 -0
  86. package/dist/facts/tech-stats.d.cts +5 -0
  87. package/dist/facts/tech-stats.d.ts +5 -0
  88. package/dist/facts/tech-stats.js +4 -0
  89. package/dist/facts/tech-stats.js.map +1 -0
  90. package/dist/games/click-counter.cjs +13 -0
  91. package/dist/games/click-counter.cjs.map +1 -0
  92. package/dist/games/click-counter.d.cts +5 -0
  93. package/dist/games/click-counter.d.ts +5 -0
  94. package/dist/games/click-counter.js +4 -0
  95. package/dist/games/click-counter.js.map +1 -0
  96. package/dist/games/index.cjs +23 -0
  97. package/dist/games/index.cjs.map +1 -0
  98. package/dist/games/index.d.cts +4 -0
  99. package/dist/games/index.d.ts +4 -0
  100. package/dist/games/index.js +6 -0
  101. package/dist/games/index.js.map +1 -0
  102. package/dist/games/memory.cjs +13 -0
  103. package/dist/games/memory.cjs.map +1 -0
  104. package/dist/games/memory.d.cts +5 -0
  105. package/dist/games/memory.d.ts +5 -0
  106. package/dist/games/memory.js +4 -0
  107. package/dist/games/memory.js.map +1 -0
  108. package/dist/games/snake.cjs +13 -0
  109. package/dist/games/snake.cjs.map +1 -0
  110. package/dist/games/snake.d.cts +5 -0
  111. package/dist/games/snake.d.ts +5 -0
  112. package/dist/games/snake.js +4 -0
  113. package/dist/games/snake.js.map +1 -0
  114. package/dist/index.cjs +43 -0
  115. package/dist/index.cjs.map +1 -0
  116. package/dist/index.d.cts +5 -0
  117. package/dist/index.d.ts +5 -0
  118. package/dist/index.js +6 -0
  119. package/dist/index.js.map +1 -0
  120. package/dist/react/index.cjs +22 -0
  121. package/dist/react/index.cjs.map +1 -0
  122. package/dist/react/index.d.cts +24 -0
  123. package/dist/react/index.d.ts +24 -0
  124. package/dist/react/index.js +5 -0
  125. package/dist/react/index.js.map +1 -0
  126. package/dist/types-vBwPFyxq.d.cts +101 -0
  127. package/dist/types-vBwPFyxq.d.ts +101 -0
  128. package/package.json +64 -0
@@ -0,0 +1,4 @@
1
+ export { DevTipsFacts } from '../chunk-R5V2UBE7.js';
2
+ import '../chunk-V6TY7KAL.js';
3
+ //# sourceMappingURL=dev-tips.js.map
4
+ //# sourceMappingURL=dev-tips.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"dev-tips.js"}
@@ -0,0 +1,23 @@
1
+ 'use strict';
2
+
3
+ var chunk5AUPIR2C_cjs = require('../chunk-5AUPIR2C.cjs');
4
+ var chunkPKRYY3X6_cjs = require('../chunk-PKRYY3X6.cjs');
5
+ var chunkV4RO47V6_cjs = require('../chunk-V4RO47V6.cjs');
6
+ require('../chunk-4DE2IREA.cjs');
7
+
8
+
9
+
10
+ Object.defineProperty(exports, "DevTipsFacts", {
11
+ enumerable: true,
12
+ get: function () { return chunk5AUPIR2C_cjs.DevTipsFacts; }
13
+ });
14
+ Object.defineProperty(exports, "ProgrammingTrivia", {
15
+ enumerable: true,
16
+ get: function () { return chunkPKRYY3X6_cjs.ProgrammingTrivia; }
17
+ });
18
+ Object.defineProperty(exports, "TechStats", {
19
+ enumerable: true,
20
+ get: function () { return chunkV4RO47V6_cjs.TechStats; }
21
+ });
22
+ //# sourceMappingURL=index.cjs.map
23
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs"}
@@ -0,0 +1,4 @@
1
+ export { DevTipsFacts } from './dev-tips.cjs';
2
+ export { ProgrammingTrivia } from './programming-trivia.cjs';
3
+ export { TechStats } from './tech-stats.cjs';
4
+ import '../types-vBwPFyxq.cjs';
@@ -0,0 +1,4 @@
1
+ export { DevTipsFacts } from './dev-tips.js';
2
+ export { ProgrammingTrivia } from './programming-trivia.js';
3
+ export { TechStats } from './tech-stats.js';
4
+ import '../types-vBwPFyxq.js';
@@ -0,0 +1,6 @@
1
+ export { DevTipsFacts } from '../chunk-R5V2UBE7.js';
2
+ export { ProgrammingTrivia } from '../chunk-DEQZY4AM.js';
3
+ export { TechStats } from '../chunk-MMNQMDV3.js';
4
+ import '../chunk-V6TY7KAL.js';
5
+ //# sourceMappingURL=index.js.map
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
@@ -0,0 +1,13 @@
1
+ 'use strict';
2
+
3
+ var chunkPKRYY3X6_cjs = require('../chunk-PKRYY3X6.cjs');
4
+ require('../chunk-4DE2IREA.cjs');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, "ProgrammingTrivia", {
9
+ enumerable: true,
10
+ get: function () { return chunkPKRYY3X6_cjs.ProgrammingTrivia; }
11
+ });
12
+ //# sourceMappingURL=programming-trivia.cjs.map
13
+ //# sourceMappingURL=programming-trivia.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"programming-trivia.cjs"}
@@ -0,0 +1,5 @@
1
+ import { f as FactsPlugin } from '../types-vBwPFyxq.cjs';
2
+
3
+ declare const ProgrammingTrivia: FactsPlugin;
4
+
5
+ export { ProgrammingTrivia };
@@ -0,0 +1,5 @@
1
+ import { f as FactsPlugin } from '../types-vBwPFyxq.js';
2
+
3
+ declare const ProgrammingTrivia: FactsPlugin;
4
+
5
+ export { ProgrammingTrivia };
@@ -0,0 +1,4 @@
1
+ export { ProgrammingTrivia } from '../chunk-DEQZY4AM.js';
2
+ import '../chunk-V6TY7KAL.js';
3
+ //# sourceMappingURL=programming-trivia.js.map
4
+ //# sourceMappingURL=programming-trivia.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"programming-trivia.js"}
@@ -0,0 +1,13 @@
1
+ 'use strict';
2
+
3
+ var chunkV4RO47V6_cjs = require('../chunk-V4RO47V6.cjs');
4
+ require('../chunk-4DE2IREA.cjs');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, "TechStats", {
9
+ enumerable: true,
10
+ get: function () { return chunkV4RO47V6_cjs.TechStats; }
11
+ });
12
+ //# sourceMappingURL=tech-stats.cjs.map
13
+ //# sourceMappingURL=tech-stats.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"tech-stats.cjs"}
@@ -0,0 +1,5 @@
1
+ import { f as FactsPlugin } from '../types-vBwPFyxq.cjs';
2
+
3
+ declare const TechStats: FactsPlugin;
4
+
5
+ export { TechStats };
@@ -0,0 +1,5 @@
1
+ import { f as FactsPlugin } from '../types-vBwPFyxq.js';
2
+
3
+ declare const TechStats: FactsPlugin;
4
+
5
+ export { TechStats };
@@ -0,0 +1,4 @@
1
+ export { TechStats } from '../chunk-MMNQMDV3.js';
2
+ import '../chunk-V6TY7KAL.js';
3
+ //# sourceMappingURL=tech-stats.js.map
4
+ //# sourceMappingURL=tech-stats.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"tech-stats.js"}
@@ -0,0 +1,13 @@
1
+ 'use strict';
2
+
3
+ var chunkP6NO27XB_cjs = require('../chunk-P6NO27XB.cjs');
4
+ require('../chunk-4DE2IREA.cjs');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, "ClickCounterGame", {
9
+ enumerable: true,
10
+ get: function () { return chunkP6NO27XB_cjs.ClickCounterGame; }
11
+ });
12
+ //# sourceMappingURL=click-counter.cjs.map
13
+ //# sourceMappingURL=click-counter.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"click-counter.cjs"}
@@ -0,0 +1,5 @@
1
+ import { c as GamePlugin } from '../types-vBwPFyxq.cjs';
2
+
3
+ declare const ClickCounterGame: GamePlugin;
4
+
5
+ export { ClickCounterGame };
@@ -0,0 +1,5 @@
1
+ import { c as GamePlugin } from '../types-vBwPFyxq.js';
2
+
3
+ declare const ClickCounterGame: GamePlugin;
4
+
5
+ export { ClickCounterGame };
@@ -0,0 +1,4 @@
1
+ export { ClickCounterGame } from '../chunk-PUR7CO53.js';
2
+ import '../chunk-V6TY7KAL.js';
3
+ //# sourceMappingURL=click-counter.js.map
4
+ //# sourceMappingURL=click-counter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"click-counter.js"}
@@ -0,0 +1,23 @@
1
+ 'use strict';
2
+
3
+ var chunkP6NO27XB_cjs = require('../chunk-P6NO27XB.cjs');
4
+ var chunkFH3QBC6T_cjs = require('../chunk-FH3QBC6T.cjs');
5
+ var chunkV5DABI44_cjs = require('../chunk-V5DABI44.cjs');
6
+ require('../chunk-4DE2IREA.cjs');
7
+
8
+
9
+
10
+ Object.defineProperty(exports, "ClickCounterGame", {
11
+ enumerable: true,
12
+ get: function () { return chunkP6NO27XB_cjs.ClickCounterGame; }
13
+ });
14
+ Object.defineProperty(exports, "MemoryGame", {
15
+ enumerable: true,
16
+ get: function () { return chunkFH3QBC6T_cjs.MemoryGame; }
17
+ });
18
+ Object.defineProperty(exports, "SnakeGame", {
19
+ enumerable: true,
20
+ get: function () { return chunkV5DABI44_cjs.SnakeGame; }
21
+ });
22
+ //# sourceMappingURL=index.cjs.map
23
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs"}
@@ -0,0 +1,4 @@
1
+ export { SnakeGame } from './snake.cjs';
2
+ export { ClickCounterGame } from './click-counter.cjs';
3
+ export { MemoryGame } from './memory.cjs';
4
+ import '../types-vBwPFyxq.cjs';
@@ -0,0 +1,4 @@
1
+ export { SnakeGame } from './snake.js';
2
+ export { ClickCounterGame } from './click-counter.js';
3
+ export { MemoryGame } from './memory.js';
4
+ import '../types-vBwPFyxq.js';
@@ -0,0 +1,6 @@
1
+ export { ClickCounterGame } from '../chunk-PUR7CO53.js';
2
+ export { MemoryGame } from '../chunk-C5XPYOJI.js';
3
+ export { SnakeGame } from '../chunk-VKSLYTRF.js';
4
+ import '../chunk-V6TY7KAL.js';
5
+ //# sourceMappingURL=index.js.map
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
@@ -0,0 +1,13 @@
1
+ 'use strict';
2
+
3
+ var chunkFH3QBC6T_cjs = require('../chunk-FH3QBC6T.cjs');
4
+ require('../chunk-4DE2IREA.cjs');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, "MemoryGame", {
9
+ enumerable: true,
10
+ get: function () { return chunkFH3QBC6T_cjs.MemoryGame; }
11
+ });
12
+ //# sourceMappingURL=memory.cjs.map
13
+ //# sourceMappingURL=memory.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"memory.cjs"}
@@ -0,0 +1,5 @@
1
+ import { c as GamePlugin } from '../types-vBwPFyxq.cjs';
2
+
3
+ declare const MemoryGame: GamePlugin;
4
+
5
+ export { MemoryGame };
@@ -0,0 +1,5 @@
1
+ import { c as GamePlugin } from '../types-vBwPFyxq.js';
2
+
3
+ declare const MemoryGame: GamePlugin;
4
+
5
+ export { MemoryGame };
@@ -0,0 +1,4 @@
1
+ export { MemoryGame } from '../chunk-C5XPYOJI.js';
2
+ import '../chunk-V6TY7KAL.js';
3
+ //# sourceMappingURL=memory.js.map
4
+ //# sourceMappingURL=memory.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"memory.js"}
@@ -0,0 +1,13 @@
1
+ 'use strict';
2
+
3
+ var chunkV5DABI44_cjs = require('../chunk-V5DABI44.cjs');
4
+ require('../chunk-4DE2IREA.cjs');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, "SnakeGame", {
9
+ enumerable: true,
10
+ get: function () { return chunkV5DABI44_cjs.SnakeGame; }
11
+ });
12
+ //# sourceMappingURL=snake.cjs.map
13
+ //# sourceMappingURL=snake.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"snake.cjs"}
@@ -0,0 +1,5 @@
1
+ import { c as GamePlugin } from '../types-vBwPFyxq.cjs';
2
+
3
+ declare const SnakeGame: GamePlugin;
4
+
5
+ export { SnakeGame };
@@ -0,0 +1,5 @@
1
+ import { c as GamePlugin } from '../types-vBwPFyxq.js';
2
+
3
+ declare const SnakeGame: GamePlugin;
4
+
5
+ export { SnakeGame };
@@ -0,0 +1,4 @@
1
+ export { SnakeGame } from '../chunk-VKSLYTRF.js';
2
+ import '../chunk-V6TY7KAL.js';
3
+ //# sourceMappingURL=snake.js.map
4
+ //# sourceMappingURL=snake.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"snake.js"}
package/dist/index.cjs ADDED
@@ -0,0 +1,43 @@
1
+ 'use strict';
2
+
3
+ var chunkGEBKOXLQ_cjs = require('./chunk-GEBKOXLQ.cjs');
4
+ var chunkSSP4S4NY_cjs = require('./chunk-SSP4S4NY.cjs');
5
+ var chunkMAWVAR3Q_cjs = require('./chunk-MAWVAR3Q.cjs');
6
+ require('./chunk-4DE2IREA.cjs');
7
+
8
+
9
+
10
+ Object.defineProperty(exports, "LoadingInteraction", {
11
+ enumerable: true,
12
+ get: function () { return chunkGEBKOXLQ_cjs.LoadingInteraction; }
13
+ });
14
+ Object.defineProperty(exports, "ModeSwitcher", {
15
+ enumerable: true,
16
+ get: function () { return chunkGEBKOXLQ_cjs.ModeSwitcher; }
17
+ });
18
+ Object.defineProperty(exports, "useLoadingInteraction", {
19
+ enumerable: true,
20
+ get: function () { return chunkGEBKOXLQ_cjs.useLoadingInteraction; }
21
+ });
22
+ Object.defineProperty(exports, "PortalSystem", {
23
+ enumerable: true,
24
+ get: function () { return chunkSSP4S4NY_cjs.PortalSystem; }
25
+ });
26
+ Object.defineProperty(exports, "LoadingEngine", {
27
+ enumerable: true,
28
+ get: function () { return chunkMAWVAR3Q_cjs.LoadingEngine; }
29
+ });
30
+ Object.defineProperty(exports, "StateManager", {
31
+ enumerable: true,
32
+ get: function () { return chunkMAWVAR3Q_cjs.StateManager; }
33
+ });
34
+ Object.defineProperty(exports, "createLoadingInteraction", {
35
+ enumerable: true,
36
+ get: function () { return chunkMAWVAR3Q_cjs.createLoadingInteraction; }
37
+ });
38
+ Object.defineProperty(exports, "stateManager", {
39
+ enumerable: true,
40
+ get: function () { return chunkMAWVAR3Q_cjs.stateManager; }
41
+ });
42
+ //# sourceMappingURL=index.cjs.map
43
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs"}
@@ -0,0 +1,5 @@
1
+ export { D as DoodleConfig, g as DoodleInstance, h as DoodlePlugin, F as Fact, d as FactsConfig, e as FactsInstance, f as FactsPlugin, b as GameInstance, c as GamePlugin, G as GameState, a as InteractionConfig, I as InteractionMode } from './types-vBwPFyxq.cjs';
2
+ export { PortalSystem, StateManager, stateManager } from './core/index.cjs';
3
+ export { L as LoadingEngine, c as createLoadingInteraction } from './engine-DdHCpfbk.cjs';
4
+ export { LoadingInteraction, LoadingInteractionProps, ModeSwitcher, useLoadingInteraction } from './react/index.cjs';
5
+ import 'react';
@@ -0,0 +1,5 @@
1
+ export { D as DoodleConfig, g as DoodleInstance, h as DoodlePlugin, F as Fact, d as FactsConfig, e as FactsInstance, f as FactsPlugin, b as GameInstance, c as GamePlugin, G as GameState, a as InteractionConfig, I as InteractionMode } from './types-vBwPFyxq.js';
2
+ export { PortalSystem, StateManager, stateManager } from './core/index.js';
3
+ export { L as LoadingEngine, c as createLoadingInteraction } from './engine--hGQ4LNR.js';
4
+ export { LoadingInteraction, LoadingInteractionProps, ModeSwitcher, useLoadingInteraction } from './react/index.js';
5
+ import 'react';
package/dist/index.js ADDED
@@ -0,0 +1,6 @@
1
+ export { LoadingInteraction, ModeSwitcher, useLoadingInteraction } from './chunk-SUJCEDVR.js';
2
+ export { PortalSystem } from './chunk-ARXVTVP4.js';
3
+ export { LoadingEngine, StateManager, createLoadingInteraction, stateManager } from './chunk-3RJ542WD.js';
4
+ import './chunk-V6TY7KAL.js';
5
+ //# sourceMappingURL=index.js.map
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
@@ -0,0 +1,22 @@
1
+ 'use strict';
2
+
3
+ var chunkGEBKOXLQ_cjs = require('../chunk-GEBKOXLQ.cjs');
4
+ require('../chunk-MAWVAR3Q.cjs');
5
+ require('../chunk-4DE2IREA.cjs');
6
+
7
+
8
+
9
+ Object.defineProperty(exports, "LoadingInteraction", {
10
+ enumerable: true,
11
+ get: function () { return chunkGEBKOXLQ_cjs.LoadingInteraction; }
12
+ });
13
+ Object.defineProperty(exports, "ModeSwitcher", {
14
+ enumerable: true,
15
+ get: function () { return chunkGEBKOXLQ_cjs.ModeSwitcher; }
16
+ });
17
+ Object.defineProperty(exports, "useLoadingInteraction", {
18
+ enumerable: true,
19
+ get: function () { return chunkGEBKOXLQ_cjs.useLoadingInteraction; }
20
+ });
21
+ //# sourceMappingURL=index.cjs.map
22
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs"}
@@ -0,0 +1,24 @@
1
+ import React from 'react';
2
+ import { a as InteractionConfig, I as InteractionMode } from '../types-vBwPFyxq.cjs';
3
+ import { L as LoadingEngine } from '../engine-DdHCpfbk.cjs';
4
+
5
+ interface LoadingInteractionProps extends Omit<InteractionConfig, "isLoading"> {
6
+ isLoading: boolean;
7
+ children?: React.ReactNode;
8
+ width?: string | number;
9
+ height?: string | number;
10
+ style?: Partial<CSSStyleDeclaration>;
11
+ transitionDuration?: number;
12
+ }
13
+ declare const LoadingInteraction: React.FC<LoadingInteractionProps>;
14
+
15
+ interface ModeSwitcherProps {
16
+ modes: InteractionMode[];
17
+ activeMode: InteractionMode;
18
+ onModeChange: (mode: InteractionMode) => void;
19
+ }
20
+ declare const ModeSwitcher: React.FC<ModeSwitcherProps>;
21
+
22
+ declare function useLoadingInteraction(ref: React.RefObject<HTMLElement>, config: InteractionConfig): LoadingEngine | null;
23
+
24
+ export { LoadingInteraction, type LoadingInteractionProps, ModeSwitcher, useLoadingInteraction };
@@ -0,0 +1,24 @@
1
+ import React from 'react';
2
+ import { a as InteractionConfig, I as InteractionMode } from '../types-vBwPFyxq.js';
3
+ import { L as LoadingEngine } from '../engine--hGQ4LNR.js';
4
+
5
+ interface LoadingInteractionProps extends Omit<InteractionConfig, "isLoading"> {
6
+ isLoading: boolean;
7
+ children?: React.ReactNode;
8
+ width?: string | number;
9
+ height?: string | number;
10
+ style?: Partial<CSSStyleDeclaration>;
11
+ transitionDuration?: number;
12
+ }
13
+ declare const LoadingInteraction: React.FC<LoadingInteractionProps>;
14
+
15
+ interface ModeSwitcherProps {
16
+ modes: InteractionMode[];
17
+ activeMode: InteractionMode;
18
+ onModeChange: (mode: InteractionMode) => void;
19
+ }
20
+ declare const ModeSwitcher: React.FC<ModeSwitcherProps>;
21
+
22
+ declare function useLoadingInteraction(ref: React.RefObject<HTMLElement>, config: InteractionConfig): LoadingEngine | null;
23
+
24
+ export { LoadingInteraction, type LoadingInteractionProps, ModeSwitcher, useLoadingInteraction };
@@ -0,0 +1,5 @@
1
+ export { LoadingInteraction, ModeSwitcher, useLoadingInteraction } from '../chunk-SUJCEDVR.js';
2
+ import '../chunk-3RJ542WD.js';
3
+ import '../chunk-V6TY7KAL.js';
4
+ //# sourceMappingURL=index.js.map
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
@@ -0,0 +1,101 @@
1
+ type InteractionMode = "game" | "facts" | "doodle" | "none";
2
+ interface InteractionConfig {
3
+ isLoading: boolean;
4
+ minDelay?: number;
5
+ mode?: InteractionMode;
6
+ availableModes?: InteractionMode[];
7
+ showModeSwitcher?: boolean;
8
+ persistModePreference?: boolean;
9
+ theme?: "light" | "dark" | "custom";
10
+ position?: "center" | "corner" | "inline";
11
+ style?: Partial<CSSStyleDeclaration>;
12
+ transitionDuration?: number;
13
+ onInteract?: () => void;
14
+ onExpand?: () => void;
15
+ onModeChange?: (mode: InteractionMode) => void;
16
+ game?: GamePlugin;
17
+ facts?: FactsPlugin;
18
+ doodle?: DoodlePlugin;
19
+ }
20
+ interface GameState {
21
+ gameId: string;
22
+ version: number;
23
+ progress: {
24
+ level: number;
25
+ score: number;
26
+ highScore: number;
27
+ achievements: string[];
28
+ totalPlayTime: number;
29
+ };
30
+ meta: {
31
+ firstPlayed: string;
32
+ lastPlayed: string;
33
+ loadingInteractions: number;
34
+ expansions: number;
35
+ };
36
+ }
37
+ interface GameInstance {
38
+ getState: () => GameState;
39
+ setState: (state: Partial<GameState>) => void;
40
+ destroy: () => void;
41
+ }
42
+ interface GamePlugin {
43
+ id: string;
44
+ name: string;
45
+ description: string;
46
+ minLoadingTime?: number;
47
+ renderMini: (container: HTMLElement, state: Partial<GameState>) => GameInstance;
48
+ renderFull: (container: HTMLElement, state: Partial<GameState>) => GameInstance;
49
+ onInteract?: () => void;
50
+ }
51
+ interface Fact {
52
+ id: string;
53
+ text: string;
54
+ category?: string;
55
+ source?: string;
56
+ url?: string;
57
+ tags?: string[];
58
+ }
59
+ interface FactsConfig {
60
+ rotationInterval?: number;
61
+ showSource?: boolean;
62
+ }
63
+ interface FactsInstance {
64
+ next: () => void;
65
+ previous: () => void;
66
+ favorite: (factId: string) => void;
67
+ destroy: () => void;
68
+ }
69
+ interface FactsPlugin {
70
+ id: string;
71
+ name: string;
72
+ category: string;
73
+ facts: Fact[] | (() => Promise<Fact[]>);
74
+ rotationInterval?: number;
75
+ renderMini: (container: HTMLElement, config?: FactsConfig) => FactsInstance;
76
+ renderFull: (container: HTMLElement, config?: FactsConfig) => FactsInstance;
77
+ }
78
+ interface DoodleConfig {
79
+ defaultBrushSize?: number;
80
+ defaultColor?: string;
81
+ }
82
+ interface DoodleInstance {
83
+ clear: () => void;
84
+ undo: () => void;
85
+ redo: () => void;
86
+ save: () => Promise<string>;
87
+ load: (dataUrl: string) => void;
88
+ setBrushColor: (color: string) => void;
89
+ setBrushSize: (size: number) => void;
90
+ destroy: () => void;
91
+ }
92
+ interface DoodlePlugin {
93
+ id: string;
94
+ name: string;
95
+ defaultBrushSize?: number;
96
+ defaultColor?: string;
97
+ renderMini: (container: HTMLElement, config?: DoodleConfig) => DoodleInstance;
98
+ renderFull: (container: HTMLElement, config?: DoodleConfig) => DoodleInstance;
99
+ }
100
+
101
+ export type { DoodleConfig as D, Fact as F, GameState as G, InteractionMode as I, InteractionConfig as a, GameInstance as b, GamePlugin as c, FactsConfig as d, FactsInstance as e, FactsPlugin as f, DoodleInstance as g, DoodlePlugin as h };