@esengine/ecs-framework 2.1.4 → 2.1.6

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 (201) hide show
  1. package/README.md +385 -0
  2. package/{bin/index.d.ts → index.d.ts} +9 -6
  3. package/index.js +7 -0
  4. package/index.js.map +7 -0
  5. package/package.json +21 -46
  6. package/{bin/wasm → wasm}/ecs_wasm_core_bg.wasm +0 -0
  7. package/bin/Core.d.ts +0 -198
  8. package/bin/Core.d.ts.map +0 -1
  9. package/bin/Core.js +0 -247
  10. package/bin/Core.js.map +0 -1
  11. package/bin/ECS/Component.d.ts +0 -119
  12. package/bin/ECS/Component.d.ts.map +0 -1
  13. package/bin/ECS/Component.js +0 -129
  14. package/bin/ECS/Component.js.map +0 -1
  15. package/bin/ECS/Components/IUpdatable.d.ts +0 -22
  16. package/bin/ECS/Components/IUpdatable.d.ts.map +0 -1
  17. package/bin/ECS/Components/IUpdatable.js +0 -22
  18. package/bin/ECS/Components/IUpdatable.js.map +0 -1
  19. package/bin/ECS/Components/SceneComponent.d.ts +0 -40
  20. package/bin/ECS/Components/SceneComponent.d.ts.map +0 -1
  21. package/bin/ECS/Components/SceneComponent.js +0 -61
  22. package/bin/ECS/Components/SceneComponent.js.map +0 -1
  23. package/bin/ECS/Core/BitMaskOptimizer.d.ts +0 -75
  24. package/bin/ECS/Core/BitMaskOptimizer.d.ts.map +0 -1
  25. package/bin/ECS/Core/BitMaskOptimizer.js +0 -161
  26. package/bin/ECS/Core/BitMaskOptimizer.js.map +0 -1
  27. package/bin/ECS/Core/ComponentPool.d.ts +0 -72
  28. package/bin/ECS/Core/ComponentPool.d.ts.map +0 -1
  29. package/bin/ECS/Core/ComponentPool.js +0 -123
  30. package/bin/ECS/Core/ComponentPool.js.map +0 -1
  31. package/bin/ECS/Core/ComponentStorage.d.ts +0 -182
  32. package/bin/ECS/Core/ComponentStorage.d.ts.map +0 -1
  33. package/bin/ECS/Core/ComponentStorage.js +0 -346
  34. package/bin/ECS/Core/ComponentStorage.js.map +0 -1
  35. package/bin/ECS/Core/EventSystem.d.ts +0 -236
  36. package/bin/ECS/Core/EventSystem.d.ts.map +0 -1
  37. package/bin/ECS/Core/EventSystem.js +0 -476
  38. package/bin/ECS/Core/EventSystem.js.map +0 -1
  39. package/bin/ECS/Core/FluentAPI.d.ts +0 -371
  40. package/bin/ECS/Core/FluentAPI.d.ts.map +0 -1
  41. package/bin/ECS/Core/FluentAPI.js +0 -543
  42. package/bin/ECS/Core/FluentAPI.js.map +0 -1
  43. package/bin/ECS/Core/IndexUpdateBatcher.d.ts +0 -100
  44. package/bin/ECS/Core/IndexUpdateBatcher.d.ts.map +0 -1
  45. package/bin/ECS/Core/IndexUpdateBatcher.js +0 -219
  46. package/bin/ECS/Core/IndexUpdateBatcher.js.map +0 -1
  47. package/bin/ECS/Core/QuerySystem.d.ts +0 -422
  48. package/bin/ECS/Core/QuerySystem.d.ts.map +0 -1
  49. package/bin/ECS/Core/QuerySystem.js +0 -937
  50. package/bin/ECS/Core/QuerySystem.js.map +0 -1
  51. package/bin/ECS/CoreEvents.d.ts +0 -19
  52. package/bin/ECS/CoreEvents.d.ts.map +0 -1
  53. package/bin/ECS/CoreEvents.js +0 -20
  54. package/bin/ECS/CoreEvents.js.map +0 -1
  55. package/bin/ECS/Entity.d.ts +0 -538
  56. package/bin/ECS/Entity.d.ts.map +0 -1
  57. package/bin/ECS/Entity.js +0 -1030
  58. package/bin/ECS/Entity.js.map +0 -1
  59. package/bin/ECS/Scene.d.ts +0 -226
  60. package/bin/ECS/Scene.d.ts.map +0 -1
  61. package/bin/ECS/Scene.js +0 -308
  62. package/bin/ECS/Scene.js.map +0 -1
  63. package/bin/ECS/Systems/EntitySystem.d.ts +0 -185
  64. package/bin/ECS/Systems/EntitySystem.d.ts.map +0 -1
  65. package/bin/ECS/Systems/EntitySystem.js +0 -278
  66. package/bin/ECS/Systems/EntitySystem.js.map +0 -1
  67. package/bin/ECS/Systems/IntervalSystem.d.ts +0 -33
  68. package/bin/ECS/Systems/IntervalSystem.d.ts.map +0 -1
  69. package/bin/ECS/Systems/IntervalSystem.js +0 -50
  70. package/bin/ECS/Systems/IntervalSystem.js.map +0 -1
  71. package/bin/ECS/Systems/PassiveSystem.d.ts +0 -20
  72. package/bin/ECS/Systems/PassiveSystem.d.ts.map +0 -1
  73. package/bin/ECS/Systems/PassiveSystem.js +0 -21
  74. package/bin/ECS/Systems/PassiveSystem.js.map +0 -1
  75. package/bin/ECS/Systems/ProcessingSystem.d.ts +0 -24
  76. package/bin/ECS/Systems/ProcessingSystem.d.ts.map +0 -1
  77. package/bin/ECS/Systems/ProcessingSystem.js +0 -22
  78. package/bin/ECS/Systems/ProcessingSystem.js.map +0 -1
  79. package/bin/ECS/Systems/index.d.ts +0 -5
  80. package/bin/ECS/Systems/index.d.ts.map +0 -1
  81. package/bin/ECS/Systems/index.js +0 -6
  82. package/bin/ECS/Systems/index.js.map +0 -1
  83. package/bin/ECS/Utils/Bits.d.ts +0 -74
  84. package/bin/ECS/Utils/Bits.d.ts.map +0 -1
  85. package/bin/ECS/Utils/Bits.js +0 -142
  86. package/bin/ECS/Utils/Bits.js.map +0 -1
  87. package/bin/ECS/Utils/ComponentTypeManager.d.ts +0 -50
  88. package/bin/ECS/Utils/ComponentTypeManager.d.ts.map +0 -1
  89. package/bin/ECS/Utils/ComponentTypeManager.js +0 -84
  90. package/bin/ECS/Utils/ComponentTypeManager.js.map +0 -1
  91. package/bin/ECS/Utils/EntityList.d.ts +0 -108
  92. package/bin/ECS/Utils/EntityList.d.ts.map +0 -1
  93. package/bin/ECS/Utils/EntityList.js +0 -249
  94. package/bin/ECS/Utils/EntityList.js.map +0 -1
  95. package/bin/ECS/Utils/EntityProcessorList.d.ts +0 -53
  96. package/bin/ECS/Utils/EntityProcessorList.d.ts.map +0 -1
  97. package/bin/ECS/Utils/EntityProcessorList.js +0 -96
  98. package/bin/ECS/Utils/EntityProcessorList.js.map +0 -1
  99. package/bin/ECS/Utils/IdentifierPool.d.ts +0 -18
  100. package/bin/ECS/Utils/IdentifierPool.d.ts.map +0 -1
  101. package/bin/ECS/Utils/IdentifierPool.js +0 -27
  102. package/bin/ECS/Utils/IdentifierPool.js.map +0 -1
  103. package/bin/ECS/Utils/Matcher.d.ts +0 -63
  104. package/bin/ECS/Utils/Matcher.d.ts.map +0 -1
  105. package/bin/ECS/Utils/Matcher.js +0 -140
  106. package/bin/ECS/Utils/Matcher.js.map +0 -1
  107. package/bin/ECS/Utils/index.d.ts +0 -7
  108. package/bin/ECS/Utils/index.d.ts.map +0 -1
  109. package/bin/ECS/Utils/index.js +0 -8
  110. package/bin/ECS/Utils/index.js.map +0 -1
  111. package/bin/ECS/index.d.ts +0 -7
  112. package/bin/ECS/index.d.ts.map +0 -1
  113. package/bin/ECS/index.js +0 -29
  114. package/bin/ECS/index.js.map +0 -1
  115. package/bin/Testing/Performance/benchmark.d.ts +0 -6
  116. package/bin/Testing/Performance/benchmark.d.ts.map +0 -1
  117. package/bin/Testing/Performance/benchmark.js +0 -639
  118. package/bin/Testing/Performance/benchmark.js.map +0 -1
  119. package/bin/Testing/Performance/component-performance.d.ts +0 -2
  120. package/bin/Testing/Performance/component-performance.d.ts.map +0 -1
  121. package/bin/Testing/Performance/component-performance.js +0 -43
  122. package/bin/Testing/Performance/component-performance.js.map +0 -1
  123. package/bin/Testing/Unit/bitmask-optimizer.test.d.ts +0 -2
  124. package/bin/Testing/Unit/bitmask-optimizer.test.d.ts.map +0 -1
  125. package/bin/Testing/Unit/bitmask-optimizer.test.js +0 -164
  126. package/bin/Testing/Unit/bitmask-optimizer.test.js.map +0 -1
  127. package/bin/Testing/Unit/component-pool.test.d.ts +0 -5
  128. package/bin/Testing/Unit/component-pool.test.d.ts.map +0 -1
  129. package/bin/Testing/Unit/component-pool.test.js +0 -149
  130. package/bin/Testing/Unit/component-pool.test.js.map +0 -1
  131. package/bin/Testing/test-runner.d.ts +0 -51
  132. package/bin/Testing/test-runner.d.ts.map +0 -1
  133. package/bin/Testing/test-runner.js +0 -159
  134. package/bin/Testing/test-runner.js.map +0 -1
  135. package/bin/Types/index.d.ts +0 -22
  136. package/bin/Types/index.d.ts.map +0 -1
  137. package/bin/Types/index.js +0 -20
  138. package/bin/Types/index.js.map +0 -1
  139. package/bin/Utils/Emitter.d.ts +0 -43
  140. package/bin/Utils/Emitter.d.ts.map +0 -1
  141. package/bin/Utils/Emitter.js +0 -69
  142. package/bin/Utils/Emitter.js.map +0 -1
  143. package/bin/Utils/Extensions/NumberExtension.d.ts +0 -13
  144. package/bin/Utils/Extensions/NumberExtension.d.ts.map +0 -1
  145. package/bin/Utils/Extensions/NumberExtension.js +0 -17
  146. package/bin/Utils/Extensions/NumberExtension.js.map +0 -1
  147. package/bin/Utils/Extensions/TypeUtils.d.ts +0 -13
  148. package/bin/Utils/Extensions/TypeUtils.d.ts.map +0 -1
  149. package/bin/Utils/Extensions/TypeUtils.js +0 -15
  150. package/bin/Utils/Extensions/TypeUtils.js.map +0 -1
  151. package/bin/Utils/Extensions/index.d.ts +0 -3
  152. package/bin/Utils/Extensions/index.d.ts.map +0 -1
  153. package/bin/Utils/Extensions/index.js +0 -4
  154. package/bin/Utils/Extensions/index.js.map +0 -1
  155. package/bin/Utils/GlobalManager.d.ts +0 -32
  156. package/bin/Utils/GlobalManager.d.ts.map +0 -1
  157. package/bin/Utils/GlobalManager.js +0 -53
  158. package/bin/Utils/GlobalManager.js.map +0 -1
  159. package/bin/Utils/PerformanceMonitor.d.ts +0 -211
  160. package/bin/Utils/PerformanceMonitor.d.ts.map +0 -1
  161. package/bin/Utils/PerformanceMonitor.js +0 -270
  162. package/bin/Utils/PerformanceMonitor.js.map +0 -1
  163. package/bin/Utils/Pool.d.ts +0 -239
  164. package/bin/Utils/Pool.d.ts.map +0 -1
  165. package/bin/Utils/Pool.js +0 -449
  166. package/bin/Utils/Pool.js.map +0 -1
  167. package/bin/Utils/Time.d.ts +0 -55
  168. package/bin/Utils/Time.d.ts.map +0 -1
  169. package/bin/Utils/Time.js +0 -78
  170. package/bin/Utils/Time.js.map +0 -1
  171. package/bin/Utils/Timers/ITimer.d.ts +0 -16
  172. package/bin/Utils/Timers/ITimer.d.ts.map +0 -1
  173. package/bin/Utils/Timers/ITimer.js +0 -2
  174. package/bin/Utils/Timers/ITimer.js.map +0 -1
  175. package/bin/Utils/Timers/Timer.d.ts +0 -22
  176. package/bin/Utils/Timers/Timer.d.ts.map +0 -1
  177. package/bin/Utils/Timers/Timer.js +0 -46
  178. package/bin/Utils/Timers/Timer.js.map +0 -1
  179. package/bin/Utils/Timers/TimerManager.d.ts +0 -19
  180. package/bin/Utils/Timers/TimerManager.d.ts.map +0 -1
  181. package/bin/Utils/Timers/TimerManager.js +0 -33
  182. package/bin/Utils/Timers/TimerManager.js.map +0 -1
  183. package/bin/Utils/WasmCore.d.ts +0 -234
  184. package/bin/Utils/WasmCore.d.ts.map +0 -1
  185. package/bin/Utils/WasmCore.js +0 -596
  186. package/bin/Utils/WasmCore.js.map +0 -1
  187. package/bin/Utils/index.d.ts +0 -16
  188. package/bin/Utils/index.d.ts.map +0 -1
  189. package/bin/Utils/index.js +0 -37
  190. package/bin/Utils/index.js.map +0 -1
  191. package/bin/index.cjs +0 -51
  192. package/bin/index.d.ts.map +0 -1
  193. package/bin/index.esm.d.ts +0 -45
  194. package/bin/index.esm.d.ts.map +0 -1
  195. package/bin/index.esm.js +0 -46
  196. package/bin/index.esm.js.map +0 -1
  197. package/bin/index.js.map +0 -1
  198. /package/{bin/wasm → wasm}/ecs_wasm_core.d.ts +0 -0
  199. /package/{bin/wasm → wasm}/ecs_wasm_core.js +0 -0
  200. /package/{bin/wasm → wasm}/ecs_wasm_core_bg.wasm.d.ts +0 -0
  201. /package/{bin/wasm → wasm}/package.json +0 -0
package/bin/index.cjs DELETED
@@ -1,51 +0,0 @@
1
- "use strict";
2
- /**
3
- * ECS Framework - 轻量级实体组件系统框架
4
- * 适用于Laya、Cocos等游戏引擎的小游戏开发
5
- */
6
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
7
- if (k2 === undefined) k2 = k;
8
- var desc = Object.getOwnPropertyDescriptor(m, k);
9
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
10
- desc = { enumerable: true, get: function() { return m[k]; } };
11
- }
12
- Object.defineProperty(o, k2, desc);
13
- }) : (function(o, m, k, k2) {
14
- if (k2 === undefined) k2 = k;
15
- o[k2] = m[k];
16
- }));
17
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
18
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
19
- };
20
- Object.defineProperty(exports, "__esModule", { value: true });
21
- exports.Query = exports.initializeEcs = exports.ecsCore = exports.WasmEcsCore = exports.Timer = exports.TimerManager = exports.GlobalManager = exports.FuncPack = exports.Emitter = exports.CoreEvents = exports.Core = void 0;
22
- // 核心模块
23
- var Core_1 = require("./Core");
24
- Object.defineProperty(exports, "Core", { enumerable: true, get: function () { return Core_1.Core; } });
25
- // 核心事件和管理器
26
- var CoreEvents_1 = require("./ECS/CoreEvents");
27
- Object.defineProperty(exports, "CoreEvents", { enumerable: true, get: function () { return CoreEvents_1.CoreEvents; } });
28
- var Emitter_1 = require("./Utils/Emitter");
29
- Object.defineProperty(exports, "Emitter", { enumerable: true, get: function () { return Emitter_1.Emitter; } });
30
- Object.defineProperty(exports, "FuncPack", { enumerable: true, get: function () { return Emitter_1.FuncPack; } });
31
- var GlobalManager_1 = require("./Utils/GlobalManager");
32
- Object.defineProperty(exports, "GlobalManager", { enumerable: true, get: function () { return GlobalManager_1.GlobalManager; } });
33
- var TimerManager_1 = require("./Utils/Timers/TimerManager");
34
- Object.defineProperty(exports, "TimerManager", { enumerable: true, get: function () { return TimerManager_1.TimerManager; } });
35
- var Timer_1 = require("./Utils/Timers/Timer");
36
- Object.defineProperty(exports, "Timer", { enumerable: true, get: function () { return Timer_1.Timer; } });
37
- // ECS核心组件
38
- __exportStar(require("./ECS"), exports);
39
- // 工具类
40
- __exportStar(require("./Utils/Pool"), exports);
41
- __exportStar(require("./Utils/PerformanceMonitor"), exports);
42
- __exportStar(require("./Utils/Extensions"), exports);
43
- // WebAssembly核心模块
44
- var WasmCore_1 = require("./Utils/WasmCore");
45
- Object.defineProperty(exports, "WasmEcsCore", { enumerable: true, get: function () { return WasmCore_1.WasmEcsCore; } });
46
- Object.defineProperty(exports, "ecsCore", { enumerable: true, get: function () { return WasmCore_1.ecsCore; } });
47
- Object.defineProperty(exports, "initializeEcs", { enumerable: true, get: function () { return WasmCore_1.initializeEcs; } });
48
- Object.defineProperty(exports, "Query", { enumerable: true, get: function () { return WasmCore_1.Query; } });
49
- // 类型定义
50
- __exportStar(require("./Types"), exports);
51
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAG9B,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAC3D,YAAY,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAG7C,cAAc,OAAO,CAAC;AAGtB,cAAc,cAAc,CAAC;AAC7B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oBAAoB,CAAC;AAGnC,OAAO,EACH,WAAW,EACX,OAAO,EACP,aAAa,EACb,KAAK,EACR,MAAM,kBAAkB,CAAC;AAC1B,YAAY,EACR,QAAQ,EACR,aAAa,EACb,WAAW,EACd,MAAM,kBAAkB,CAAC;AAG1B,cAAc,SAAS,CAAC"}
@@ -1,45 +0,0 @@
1
- /**
2
- * ECS Framework - ESM版本入口
3
- * 专为Cocos Creator等ES模块环境设计
4
- */
5
- import { Core } from './Core';
6
- import { CoreEvents } from './ECS/CoreEvents';
7
- import { Emitter, FuncPack } from './Utils/Emitter';
8
- import { GlobalManager } from './Utils/GlobalManager';
9
- import { TimerManager } from './Utils/Timers/TimerManager';
10
- import { Timer } from './Utils/Timers/Timer';
11
- import { Entity } from './ECS/Entity';
12
- import { Component } from './ECS/Component';
13
- import { Scene } from './ECS/Scene';
14
- export { Core } from './Core';
15
- export { CoreEvents } from './ECS/CoreEvents';
16
- export { Emitter, FuncPack } from './Utils/Emitter';
17
- export { GlobalManager } from './Utils/GlobalManager';
18
- export { TimerManager } from './Utils/Timers/TimerManager';
19
- export type { ITimer } from './Utils/Timers/ITimer';
20
- export { Timer } from './Utils/Timers/Timer';
21
- export { Entity } from './ECS/Entity';
22
- export { Component } from './ECS/Component';
23
- export { Scene } from './ECS/Scene';
24
- export * from './ECS/Systems';
25
- export * from './ECS/Utils';
26
- export * from './Utils/Pool';
27
- export * from './Utils/PerformanceMonitor';
28
- export * from './Utils/Extensions';
29
- export { WasmEcsCore, ecsCore, initializeEcs, Query } from './Utils/WasmCore';
30
- export type { EntityId, ComponentMask, QueryResult } from './Utils/WasmCore';
31
- export * from './Types';
32
- declare const ECSFramework: {
33
- Core: typeof Core;
34
- CoreEvents: typeof CoreEvents;
35
- Emitter: typeof Emitter;
36
- FuncPack: typeof FuncPack;
37
- GlobalManager: typeof GlobalManager;
38
- TimerManager: typeof TimerManager;
39
- Timer: typeof Timer;
40
- Entity: typeof Entity;
41
- Component: typeof Component;
42
- Scene: typeof Scene;
43
- };
44
- export default ECSFramework;
45
- //# sourceMappingURL=index.esm.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.esm.d.ts","sourceRoot":"","sources":["../src/index.esm.ts"],"names":[],"mappings":"AAAA;;;GAGG;A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,EACb,WAAW,EACd,MAAM,kBAAkB,CAAC;AAC1B,cAAc,SAAS,CAAC;AAGxB,QAAA,MAAM,YAAY;;;;;;;;;;;CAWjB,CAAC;AAEF,eAAe,YAAY,CAAC"}
package/bin/index.esm.js DELETED
@@ -1,46 +0,0 @@
1
- /**
2
- * ECS Framework - ESM版本入口
3
- * 专为Cocos Creator等ES模块环境设计
4
- */
5
- // 导入所有模块
6
- import { Core } from './Core';
7
- import { CoreEvents } from './ECS/CoreEvents';
8
- import { Emitter, FuncPack } from './Utils/Emitter';
9
- import { GlobalManager } from './Utils/GlobalManager';
10
- import { TimerManager } from './Utils/Timers/TimerManager';
11
- import { Timer } from './Utils/Timers/Timer';
12
- import { Entity } from './ECS/Entity';
13
- import { Component } from './ECS/Component';
14
- import { Scene } from './ECS/Scene';
15
- // 重新导出所有内容
16
- export { Core } from './Core';
17
- export { CoreEvents } from './ECS/CoreEvents';
18
- export { Emitter, FuncPack } from './Utils/Emitter';
19
- export { GlobalManager } from './Utils/GlobalManager';
20
- export { TimerManager } from './Utils/Timers/TimerManager';
21
- export { Timer } from './Utils/Timers/Timer';
22
- export { Entity } from './ECS/Entity';
23
- export { Component } from './ECS/Component';
24
- export { Scene } from './ECS/Scene';
25
- export * from './ECS/Systems';
26
- export * from './ECS/Utils';
27
- export * from './Utils/Pool';
28
- export * from './Utils/PerformanceMonitor';
29
- export * from './Utils/Extensions';
30
- export { WasmEcsCore, ecsCore, initializeEcs, Query } from './Utils/WasmCore';
31
- export * from './Types';
32
- // 创建默认导出对象,包含所有主要类
33
- const ECSFramework = {
34
- Core,
35
- CoreEvents,
36
- Emitter,
37
- FuncPack,
38
- GlobalManager,
39
- TimerManager,
40
- Timer,
41
- Entity,
42
- Component,
43
- Scene
44
- };
45
- export default ECSFramework;
46
- //# sourceMappingURL=index.esm.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.esm.js","sourceRoot":"","sources":["../src/index.esm.ts"],"names":[],"mappings":"AAAA;;;GAGG;A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IACjB,IAAI;IACJ,UAAU;IACV,OAAO;IACP,QAAQ;IACR,aAAa;IACb,YAAY;IACZ,KAAK;IACL,MAAM;IACN,SAAS;IACT,KAAK;CACR,CAAC;AAEF,eAAe,YAAY,CAAC"}
package/bin/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;;;;;;AAEH,OAAO;AACP,+BAA8B;AAArB,4FAAA,IAAI,OAAA;AAEb,WAAW;AACX,+CAA8C;AAArC,wGAAA,UAAU,OAAA;AACnB,2CAAoD;AAA3C,kGAAA,OAAO,OAAA;AAAE,mGAAA,QAAQ,OAAA;AAC1B,uDAAsD;AAA7C,8GAAA,aAAa,OAAA;AACtB,4DAA2D;AAAlD,4GAAA,YAAY,OAAA;AAErB,8CAA6C;AAApC,8FAAA,KAAK,OAAA;AAEd,UAAU;AACV,wCAAsB;AAEtB,MAAM;AACN,+CAA6B;AAC7B,6DAA2C;AAC3C,qDAAmC;AAEnC,kBAAkB;AAClB,6CAK0B;AAJtB,uGAAA,WAAW,OAAA;AACX,mGAAA,OAAO,OAAA;AACP,yGAAA,aAAa,OAAA;AACb,iGAAA,KAAK,OAAA;AAQT,OAAO;AACP,0CAAwB"}
File without changes
File without changes
File without changes
File without changes