tiny-essentials 1.28.14 → 1.28.16

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 (622) hide show
  1. package/TinyFork.mjs +45 -23
  2. package/changelog/1/28/14.md +3 -3
  3. package/changelog/1/28/15.md +11 -0
  4. package/changelog/1/28/16.md +19 -0
  5. package/dist/_/numbers.d.mts.map +1 -0
  6. package/dist/v1/TinyAdvancedRaffle.min.js +1 -1
  7. package/dist/v1/TinyBasicsEs.min.js +1 -1
  8. package/dist/v1/TinyDebugger.min.js +1 -1
  9. package/dist/v1/TinyEssentials.min.js +1 -1
  10. package/dist/v1/TinyI18.min.js +1 -1
  11. package/dist/v1/TinyIframeEvents.min.js +1 -1
  12. package/dist/v1/TinyLocalStorage.min.js +1 -1
  13. package/dist/v1/TinyMediaPlayer.min.js +1 -1
  14. package/dist/v1/TinyNewWinEvents.min.js +1 -1
  15. package/dist/v1/TinyRadioFm.min.js +1 -1
  16. package/dist/v1/TinySmartScroller.min.js +1 -1
  17. package/dist/v1/TinyUploadClicker.min.js +1 -1
  18. package/dist/v1/basics/array.d.mts.map +1 -0
  19. package/dist/v1/basics/browserDetector.d.mts.map +1 -0
  20. package/dist/v1/basics/clock.d.mts.map +1 -0
  21. package/dist/v1/basics/collision.d.mts.map +1 -0
  22. package/dist/v1/basics/deprecated/html.d.mts.map +1 -0
  23. package/dist/v1/basics/extendObjType/Buffer.d.mts.map +1 -0
  24. package/dist/v1/basics/fullScreen.d.mts.map +1 -0
  25. package/dist/v1/basics/html.d.mts.map +1 -0
  26. package/dist/v1/basics/index.d.mts.map +1 -0
  27. package/dist/v1/basics/mediaContent.cjs +208 -212
  28. package/dist/v1/basics/mediaContent.d.mts +22 -14
  29. package/dist/v1/basics/mediaContent.d.mts.map +1 -0
  30. package/dist/v1/basics/mediaContent.mjs +190 -191
  31. package/dist/v1/basics/objChecker.d.mts.map +1 -0
  32. package/dist/v1/basics/objFilter.d.mts.map +1 -0
  33. package/dist/v1/basics/promiseUtils.d.mts.map +1 -0
  34. package/dist/v1/basics/simpleMath.d.mts.map +1 -0
  35. package/dist/v1/basics/text.d.mts.map +1 -0
  36. package/dist/v1/fileManager/asyncFuncs.d.mts.map +1 -0
  37. package/dist/v1/fileManager/index.d.mts.map +1 -0
  38. package/dist/v1/fileManager/normalFuncs.d.mts.map +1 -0
  39. package/dist/v1/index.cjs +49 -45
  40. package/dist/v1/index.d.mts +47 -45
  41. package/dist/v1/index.d.mts.map +1 -0
  42. package/dist/v1/index.mjs +47 -45
  43. package/dist/v1/libs/array/TinyArrayComparator.d.mts.map +1 -0
  44. package/dist/v1/libs/array/TinyArrayPaginator.d.mts.map +1 -0
  45. package/dist/v1/libs/color/ColorSafeStringify.d.mts.map +1 -0
  46. package/dist/v1/libs/color/TinyColorConverter.d.mts.map +1 -0
  47. package/dist/v1/libs/color/TinyColorValidator.d.mts.map +1 -0
  48. package/dist/v1/libs/{TinyDayNightCycle.cjs → game/TinyDayNightCycle.cjs} +2 -2
  49. package/dist/v1/libs/game/TinyDayNightCycle.d.mts.map +1 -0
  50. package/dist/v1/libs/{TinyDayNightCycle.mjs → game/TinyDayNightCycle.mjs} +1 -1
  51. package/dist/v1/libs/{TinyGamepad.cjs → game/TinyGamepad.cjs} +2 -2
  52. package/dist/v1/libs/game/TinyGamepad.d.mts.map +1 -0
  53. package/dist/v1/libs/{TinyGamepad.mjs → game/TinyGamepad.mjs} +1 -1
  54. package/dist/v1/libs/game/TinyInventory.d.mts.map +1 -0
  55. package/dist/v1/libs/game/TinyInventoryTrader.d.mts.map +1 -0
  56. package/dist/v1/libs/game/TinyLevelUp.d.mts.map +1 -0
  57. package/dist/v1/libs/game/TinyNeedBar.d.mts.map +1 -0
  58. package/dist/v1/libs/html/TinyDomReadyManager.d.mts.map +1 -0
  59. package/dist/v1/libs/{TinyElementObserver.cjs → html/TinyElementObserver.cjs} +2 -2
  60. package/dist/v1/libs/html/TinyElementObserver.d.mts.map +1 -0
  61. package/dist/v1/libs/{TinyElementObserver.mjs → html/TinyElementObserver.mjs} +1 -1
  62. package/dist/v1/libs/html/TinyHtml/TinyHtmlAnchor.d.mts.map +1 -0
  63. package/dist/v1/libs/html/TinyHtml/TinyHtmlButton.d.mts.map +1 -0
  64. package/dist/v1/libs/html/TinyHtml/TinyHtmlCanvas.d.mts.map +1 -0
  65. package/dist/v1/libs/html/TinyHtml/TinyHtmlDatalist.d.mts.map +1 -0
  66. package/dist/v1/libs/html/TinyHtml/TinyHtmlEmbed.d.mts.map +1 -0
  67. package/dist/v1/libs/html/TinyHtml/TinyHtmlForm.d.mts.map +1 -0
  68. package/dist/v1/libs/html/TinyHtml/TinyHtmlIcon.d.mts.map +1 -0
  69. package/dist/v1/libs/html/TinyHtml/TinyHtmlIframe.d.mts.map +1 -0
  70. package/dist/v1/libs/html/TinyHtml/TinyHtmlImage.d.mts.map +1 -0
  71. package/dist/v1/libs/html/TinyHtml/TinyHtmlInput.d.mts.map +1 -0
  72. package/dist/v1/libs/html/TinyHtml/TinyHtmlLink.d.mts.map +1 -0
  73. package/dist/v1/libs/html/TinyHtml/TinyHtmlMedia.d.mts.map +1 -0
  74. package/dist/v1/libs/html/TinyHtml/TinyHtmlScript.d.mts.map +1 -0
  75. package/dist/v1/libs/html/TinyHtml/TinyHtmlSelect.d.mts.map +1 -0
  76. package/dist/v1/libs/html/TinyHtml/TinyHtmlStyle.d.mts.map +1 -0
  77. package/dist/v1/libs/html/TinyHtml/TinyHtmlTemplate.d.mts.map +1 -0
  78. package/dist/v1/libs/html/TinyHtml/TinyHtmlTextarea.d.mts.map +1 -0
  79. package/dist/v1/libs/html/TinyHtml/index.d.mts.map +1 -0
  80. package/dist/v1/libs/html/TinyHtml/input/TinyHtmlColorInput.d.mts.map +1 -0
  81. package/dist/v1/libs/html/TinyHtml/input/TinyHtmlFileInput.d.mts.map +1 -0
  82. package/dist/v1/libs/html/TinyHtml/input/TinyHtmlHiddenInput.d.mts.map +1 -0
  83. package/dist/v1/libs/html/TinyHtml/input/TinyHtmlImageInput.d.mts.map +1 -0
  84. package/dist/v1/libs/html/TinyHtml/input/button/TinyHtmlButtonInput.d.mts.map +1 -0
  85. package/dist/v1/libs/html/TinyHtml/input/button/TinyHtmlResetInput.d.mts.map +1 -0
  86. package/dist/v1/libs/html/TinyHtml/input/button/TinyHtmlSubmitInput.d.mts.map +1 -0
  87. package/dist/v1/libs/html/TinyHtml/input/check/TinyHtmlCheckboxInput.d.mts.map +1 -0
  88. package/dist/v1/libs/html/TinyHtml/input/check/TinyHtmlRadioInput.d.mts.map +1 -0
  89. package/dist/v1/libs/html/TinyHtml/input/date/TinyHtmlDateInput.d.mts.map +1 -0
  90. package/dist/v1/libs/html/TinyHtml/input/date/TinyHtmlDateTimeInput.d.mts.map +1 -0
  91. package/dist/v1/libs/html/TinyHtml/input/date/TinyHtmlMonthInput.d.mts.map +1 -0
  92. package/dist/v1/libs/html/TinyHtml/input/date/TinyHtmlTimeInput.d.mts.map +1 -0
  93. package/dist/v1/libs/html/TinyHtml/input/date/TinyHtmlWeekInput.d.mts.map +1 -0
  94. package/dist/v1/libs/html/TinyHtml/input/number/TinyHtmlNumberInput.d.mts.map +1 -0
  95. package/dist/v1/libs/html/TinyHtml/input/number/TinyHtmlRangeInput.d.mts.map +1 -0
  96. package/dist/v1/libs/html/TinyHtml/input/text/TinyHtmlEmailInput.d.mts.map +1 -0
  97. package/dist/v1/libs/html/TinyHtml/input/text/TinyHtmlPasswordInput.d.mts.map +1 -0
  98. package/dist/v1/libs/html/TinyHtml/input/text/TinyHtmlSearchInput.d.mts.map +1 -0
  99. package/dist/v1/libs/html/TinyHtml/input/text/TinyHtmlTelInput.d.mts.map +1 -0
  100. package/dist/v1/libs/html/TinyHtml/input/text/TinyHtmlTextInput.d.mts.map +1 -0
  101. package/dist/v1/libs/html/TinyHtml/input/text/TinyHtmlUrlInput.d.mts.map +1 -0
  102. package/dist/v1/libs/html/TinyHtml/media/TinyHtmlAudio.d.mts.map +1 -0
  103. package/dist/v1/libs/html/TinyHtml/media/TinyHtmlObject.d.mts.map +1 -0
  104. package/dist/v1/libs/html/TinyHtml/media/TinyHtmlSource.d.mts.map +1 -0
  105. package/dist/v1/libs/html/TinyHtml/media/TinyHtmlVideo.d.mts.map +1 -0
  106. package/dist/v1/libs/{TinyHtml.cjs → html/TinyHtml.cjs} +4 -4
  107. package/dist/v1/libs/{TinyHtml.d.mts → html/TinyHtml.d.mts} +3 -3
  108. package/dist/v1/libs/html/TinyHtml.d.mts.map +1 -0
  109. package/dist/v1/libs/{TinyHtml.mjs → html/TinyHtml.mjs} +4 -4
  110. package/dist/v1/libs/{TinyDragDropDetector.cjs → html/drag/TinyDragDropDetector.cjs} +2 -2
  111. package/dist/v1/libs/html/drag/TinyDragDropDetector.d.mts.map +1 -0
  112. package/dist/v1/libs/{TinyDragDropDetector.mjs → html/drag/TinyDragDropDetector.mjs} +1 -1
  113. package/dist/v1/libs/{TinyDragger.cjs → html/drag/TinyDragger.cjs} +5 -5
  114. package/dist/v1/libs/{TinyDragger.d.mts → html/drag/TinyDragger.d.mts} +2 -2
  115. package/dist/v1/libs/html/drag/TinyDragger.d.mts.map +1 -0
  116. package/dist/v1/libs/{TinyDragger.mjs → html/drag/TinyDragger.mjs} +4 -4
  117. package/dist/v1/libs/{TinyIframeEvents.cjs → html/events/TinyIframeEvents.cjs} +3 -3
  118. package/dist/v1/libs/html/events/TinyIframeEvents.d.mts.map +1 -0
  119. package/dist/v1/libs/{TinyIframeEvents.mjs → html/events/TinyIframeEvents.mjs} +2 -2
  120. package/dist/v1/libs/{TinyNewWinEvents.cjs → html/events/TinyNewWinEvents.cjs} +2 -2
  121. package/dist/v1/libs/html/events/TinyNewWinEvents.d.mts.map +1 -0
  122. package/dist/v1/libs/{TinyNewWinEvents.mjs → html/events/TinyNewWinEvents.mjs} +1 -1
  123. package/dist/v1/libs/{TinyNotifications.cjs → html/notification/TinyNotifications.cjs} +1 -1
  124. package/dist/v1/libs/html/notification/TinyNotifications.d.mts.map +1 -0
  125. package/dist/v1/libs/{TinyNotifications.mjs → html/notification/TinyNotifications.mjs} +1 -1
  126. package/dist/v1/libs/{TinyNotifyCenter.cjs → html/notification/TinyNotifyCenter.cjs} +2 -2
  127. package/dist/v1/libs/html/notification/TinyNotifyCenter.d.mts.map +1 -0
  128. package/dist/v1/libs/{TinyNotifyCenter.mjs → html/notification/TinyNotifyCenter.mjs} +1 -1
  129. package/dist/v1/libs/{TinyToastNotify.cjs → html/notification/TinyToastNotify.cjs} +2 -2
  130. package/dist/v1/libs/html/notification/TinyToastNotify.d.mts.map +1 -0
  131. package/dist/v1/libs/{TinyToastNotify.mjs → html/notification/TinyToastNotify.mjs} +1 -1
  132. package/dist/v1/libs/{TinyAfterScrollWatcher.cjs → html/scroll/TinyAfterScrollWatcher.cjs} +2 -2
  133. package/dist/v1/libs/html/scroll/TinyAfterScrollWatcher.d.mts.map +1 -0
  134. package/dist/v1/libs/{TinyAfterScrollWatcher.mjs → html/scroll/TinyAfterScrollWatcher.mjs} +1 -1
  135. package/dist/v1/libs/{TinySmartScroller.cjs → html/scroll/TinySmartScroller.cjs} +4 -4
  136. package/dist/v1/libs/{TinySmartScroller.d.mts → html/scroll/TinySmartScroller.d.mts} +2 -2
  137. package/dist/v1/libs/html/scroll/TinySmartScroller.d.mts.map +1 -0
  138. package/dist/v1/libs/{TinySmartScroller.mjs → html/scroll/TinySmartScroller.mjs} +3 -3
  139. package/dist/v1/libs/{TinyAnalogClock.cjs → html/templates/TinyAnalogClock.cjs} +2 -2
  140. package/dist/v1/libs/html/templates/TinyAnalogClock.d.mts.map +1 -0
  141. package/dist/v1/libs/{TinyAnalogClock.mjs → html/templates/TinyAnalogClock.mjs} +1 -1
  142. package/dist/v1/libs/html/templates/TinyCookieConsent.d.mts.map +1 -0
  143. package/dist/v1/libs/html/templates/TinyLoadingScreen.d.mts.map +1 -0
  144. package/dist/v1/libs/{TinyUploadClicker.cjs → html/upload/TinyUploadClicker.cjs} +1 -10
  145. package/dist/v1/libs/{TinyUploadClicker.d.mts → html/upload/TinyUploadClicker.d.mts} +24 -24
  146. package/dist/v1/libs/html/upload/TinyUploadClicker.d.mts.map +1 -0
  147. package/dist/v1/libs/{TinyUploadClicker.mjs → html/upload/TinyUploadClicker.mjs} +1 -1
  148. package/dist/v1/libs/{TinyAdvancedRaffle.cjs → math/TinyAdvancedRaffle.cjs} +2 -2
  149. package/dist/v1/libs/math/TinyAdvancedRaffle.d.mts.map +1 -0
  150. package/dist/v1/libs/{TinyAdvancedRaffle.mjs → math/TinyAdvancedRaffle.mjs} +1 -1
  151. package/dist/v1/libs/math/TinyMamdaniInferenceSystem.d.mts.map +1 -0
  152. package/dist/v1/libs/{TinyRateLimiter.cjs → math/TinyRateLimiter.cjs} +2 -2
  153. package/dist/v1/libs/math/TinyRateLimiter.d.mts.map +1 -0
  154. package/dist/v1/libs/{TinyRateLimiter.mjs → math/TinyRateLimiter.mjs} +1 -1
  155. package/dist/v1/libs/{TinySimpleDice.cjs → math/TinySimpleDice.cjs} +1 -1
  156. package/dist/v1/libs/math/TinySimpleDice.d.mts.map +1 -0
  157. package/dist/v1/libs/{TinySimpleDice.mjs → math/TinySimpleDice.mjs} +1 -1
  158. package/dist/v1/libs/{TinyTimeout.cjs → math/TinyTimeout.cjs} +3 -3
  159. package/dist/v1/libs/math/TinyTimeout.d.mts.map +1 -0
  160. package/dist/v1/libs/{TinyTimeout.mjs → math/TinyTimeout.mjs} +2 -2
  161. package/dist/v1/libs/{TinyMediaPlayer → media/TinyMediaPlayer}/HtmlAudio.cjs +5 -5
  162. package/dist/v1/libs/{TinyMediaPlayer → media/TinyMediaPlayer}/HtmlAudio.d.mts +4 -4
  163. package/dist/v1/libs/media/TinyMediaPlayer/HtmlAudio.d.mts.map +1 -0
  164. package/dist/v1/libs/{TinyMediaPlayer → media/TinyMediaPlayer}/HtmlAudio.mjs +4 -4
  165. package/dist/v1/libs/{TinyMediaPlayer → media/TinyMediaPlayer}/HtmlVideo.cjs +5 -5
  166. package/dist/v1/libs/{TinyMediaPlayer → media/TinyMediaPlayer}/HtmlVideo.d.mts +4 -4
  167. package/dist/v1/libs/media/TinyMediaPlayer/HtmlVideo.d.mts.map +1 -0
  168. package/dist/v1/libs/{TinyMediaPlayer → media/TinyMediaPlayer}/HtmlVideo.mjs +4 -4
  169. package/dist/v1/libs/{TinyMediaPlayer → media/TinyMediaPlayer}/Mock.cjs +5 -5
  170. package/dist/v1/libs/{TinyMediaPlayer → media/TinyMediaPlayer}/Mock.d.mts +2 -2
  171. package/dist/v1/libs/media/TinyMediaPlayer/Mock.d.mts.map +1 -0
  172. package/dist/v1/libs/{TinyMediaPlayer → media/TinyMediaPlayer}/Mock.mjs +4 -4
  173. package/dist/v1/libs/{TinyMediaPlayer → media/TinyMediaPlayer}/SoundCloud.cjs +6 -6
  174. package/dist/v1/libs/{TinyMediaPlayer → media/TinyMediaPlayer}/SoundCloud.d.mts +4 -4
  175. package/dist/v1/libs/media/TinyMediaPlayer/SoundCloud.d.mts.map +1 -0
  176. package/dist/v1/libs/{TinyMediaPlayer → media/TinyMediaPlayer}/SoundCloud.mjs +5 -5
  177. package/dist/v1/libs/{TinyMediaPlayer → media/TinyMediaPlayer}/Youtube.cjs +6 -6
  178. package/dist/v1/libs/{TinyMediaPlayer → media/TinyMediaPlayer}/Youtube.d.mts +4 -4
  179. package/dist/v1/libs/media/TinyMediaPlayer/Youtube.d.mts.map +1 -0
  180. package/dist/v1/libs/{TinyMediaPlayer → media/TinyMediaPlayer}/Youtube.mjs +5 -5
  181. package/dist/v1/libs/media/TinyMediaPlayer/docs/SoundCloudWidget.d.mts.map +1 -0
  182. package/dist/v1/libs/media/TinyMediaPlayer/docs/YouTubePlayer.d.mts.map +1 -0
  183. package/dist/v1/libs/{TinyMediaPlayer → media/TinyMediaPlayer}/index.cjs +4 -4
  184. package/dist/v1/libs/{TinyMediaPlayer → media/TinyMediaPlayer}/index.d.mts +2 -2
  185. package/dist/v1/libs/media/TinyMediaPlayer/index.d.mts.map +1 -0
  186. package/dist/v1/libs/{TinyMediaPlayer → media/TinyMediaPlayer}/index.mjs +3 -3
  187. package/dist/v1/libs/{TinyMediaPlayer.cjs → media/TinyMediaPlayer.cjs} +13 -13
  188. package/dist/v1/libs/{TinyMediaPlayer.d.mts → media/TinyMediaPlayer.d.mts} +18 -18
  189. package/dist/v1/libs/media/TinyMediaPlayer.d.mts.map +1 -0
  190. package/dist/v1/libs/{TinyMediaPlayer.mjs → media/TinyMediaPlayer.mjs} +13 -13
  191. package/dist/v1/libs/{TinyRadioFm.cjs → media/TinyRadioFm.cjs} +15 -15
  192. package/dist/v1/libs/{TinyRadioFm.d.mts → media/TinyRadioFm.d.mts} +22 -22
  193. package/dist/v1/libs/media/TinyRadioFm.d.mts.map +1 -0
  194. package/dist/v1/libs/{TinyRadioFm.mjs → media/TinyRadioFm.mjs} +14 -14
  195. package/dist/v1/libs/{TinyLocalStorage.cjs → storage/TinyLocalStorage.cjs} +3 -3
  196. package/dist/v1/libs/storage/TinyLocalStorage.d.mts.map +1 -0
  197. package/dist/v1/libs/{TinyLocalStorage.mjs → storage/TinyLocalStorage.mjs} +2 -2
  198. package/dist/v1/libs/text/TinyClipboard.d.mts.map +1 -0
  199. package/dist/v1/libs/{TinyI18.cjs → text/TinyI18.cjs} +2 -2
  200. package/dist/v1/libs/text/TinyI18.d.mts.map +1 -0
  201. package/dist/v1/libs/{TinyI18.mjs → text/TinyI18.mjs} +1 -1
  202. package/dist/v1/libs/{TinyTextDiffer.cjs → text/TinyTextDiffer.cjs} +2 -2
  203. package/dist/v1/libs/text/TinyTextDiffer.d.mts.map +1 -0
  204. package/dist/v1/libs/{TinyTextDiffer.mjs → text/TinyTextDiffer.mjs} +1 -1
  205. package/dist/v1/libs/text/TinyTextRangeEditor.d.mts.map +1 -0
  206. package/dist/v1/libs/text/TinyTextarea.d.mts.map +1 -0
  207. package/dist/v1/libs/{TinyClassManager → tools/TinyClassManager}/TinyPluginInliner.cjs +1 -1
  208. package/dist/v1/libs/tools/TinyClassManager/TinyPluginInliner.d.mts.map +1 -0
  209. package/dist/v1/libs/tools/TinyClassManager.d.mts.map +1 -0
  210. package/dist/v1/libs/{TinyDebugger.cjs → tools/TinyDebugger.cjs} +2 -2
  211. package/dist/v1/libs/tools/TinyDebugger.d.mts.map +1 -0
  212. package/dist/v1/libs/{TinyDebugger.mjs → tools/TinyDebugger.mjs} +2 -2
  213. package/dist/v1/libs/tools/TinyPkgExportValidator.cjs +462 -0
  214. package/dist/v1/libs/tools/TinyPkgExportValidator.d.mts +104 -0
  215. package/dist/v1/libs/tools/TinyPkgExportValidator.d.mts.map +1 -0
  216. package/dist/v1/libs/tools/TinyPkgExportValidator.mjs +407 -0
  217. package/dist/v1/libs/tools/examples/TinyClassManager.d.mts.map +1 -0
  218. package/dist/v1/libs/utils/TinyPromiseQueue.d.mts.map +1 -0
  219. package/dist/v1/libs/{UltraRandomMsgGen.cjs → utils/UltraRandomMsgGen.cjs} +2 -2
  220. package/dist/v1/libs/utils/UltraRandomMsgGen.d.mts.map +1 -0
  221. package/dist/v1/libs/{UltraRandomMsgGen.mjs → utils/UltraRandomMsgGen.mjs} +1 -1
  222. package/dist/v1/libs/{utils.d.mts → utils/tools.d.mts} +1 -1
  223. package/dist/v1/libs/utils/tools.d.mts.map +1 -0
  224. package/docs/TinyFork.md +2 -2
  225. package/docs/v1/Exports.md +129 -92
  226. package/docs/v1/README.md +100 -49
  227. package/docs/v1/libs/{TinyArrayComparator.md → array/TinyArrayComparator.md} +1 -1
  228. package/docs/v1/libs/{TinyArrayPaginator.md → array/TinyArrayPaginator.md} +1 -1
  229. package/docs/v1/libs/{ColorSafeStringify.md → color/ColorSafeStringify.md} +1 -1
  230. package/docs/v1/libs/{TinyLevelUp.md → game/TinyLevelUp.md} +1 -1
  231. package/docs/v1/libs/{TinyDomReadyManager.md → html/TinyDomReadyManager.md} +1 -1
  232. package/docs/v1/libs/{TinyElementObserver.md → html/TinyElementObserver.md} +1 -1
  233. package/docs/v1/libs/{TinyDragDropDetector.md → html/drag/TinyDragDropDetector.md} +1 -1
  234. package/docs/v1/libs/{TinyDragger.md → html/drag/TinyDragger.md} +1 -1
  235. package/docs/v1/libs/{TinyIframeEvents.md → html/events/TinyIframeEvents.md} +2 -2
  236. package/docs/v1/libs/{TinyNewWinEvents.md → html/events/TinyNewWinEvents.md} +2 -2
  237. package/docs/v1/libs/{TinyNotifications.md → html/notification/TinyNotifications.md} +1 -1
  238. package/docs/v1/libs/{TinyAfterScrollWatcher.md → html/scroll/TinyAfterScrollWatcher.md} +1 -1
  239. package/docs/v1/libs/{TinyAnalogClock.md → html/templates/TinyAnalogClock.md} +1 -1
  240. package/docs/v1/libs/{TinyCookieConsent.md → html/templates/TinyCookieConsent.md} +1 -1
  241. package/docs/v1/libs/{TinyLoadingScreen.md → html/templates/TinyLoadingScreen.md} +1 -1
  242. package/docs/v1/libs/{TinyMediaPlayer.md → media/TinyMediaPlayer.md} +8 -8
  243. package/docs/v1/libs/{TinyClipboard.md → text/TinyClipboard.md} +1 -1
  244. package/docs/v1/libs/{TinyTextDiffer.md → text/TinyTextDiffer.md} +1 -1
  245. package/docs/v1/libs/{TinyTextarea.md → text/TinyTextarea.md} +1 -1
  246. package/docs/v1/libs/{TinyClassManager → tools/TinyClassManager}/TinyPluginInliner.md +2 -2
  247. package/docs/v1/libs/{TinyClassManager.md → tools/TinyClassManager.md} +1 -1
  248. package/docs/v1/libs/{TinyDebugger.md → tools/TinyDebugger.md} +1 -1
  249. package/docs/v1/libs/tools/TinyPkgExportValidator.md +234 -0
  250. package/docs/v1/libs/{TinyPromiseQueue.md → utils/TinyPromiseQueue.md} +2 -2
  251. package/package.json +305 -303
  252. package/dist/v1/build/ColorSafeStringify.cjs +0 -7
  253. package/dist/v1/build/ColorSafeStringify.d.mts +0 -3
  254. package/dist/v1/build/ColorSafeStringify.mjs +0 -2
  255. package/dist/v1/build/TinyAdvancedRaffle.cjs +0 -7
  256. package/dist/v1/build/TinyAdvancedRaffle.d.mts +0 -3
  257. package/dist/v1/build/TinyAdvancedRaffle.mjs +0 -2
  258. package/dist/v1/build/TinyAfterScrollWatcher.cjs +0 -7
  259. package/dist/v1/build/TinyAfterScrollWatcher.d.mts +0 -3
  260. package/dist/v1/build/TinyAfterScrollWatcher.mjs +0 -2
  261. package/dist/v1/build/TinyAnalogClock.cjs +0 -7
  262. package/dist/v1/build/TinyAnalogClock.d.mts +0 -3
  263. package/dist/v1/build/TinyAnalogClock.mjs +0 -2
  264. package/dist/v1/build/TinyArrayComparator.cjs +0 -7
  265. package/dist/v1/build/TinyArrayComparator.d.mts +0 -3
  266. package/dist/v1/build/TinyArrayComparator.mjs +0 -2
  267. package/dist/v1/build/TinyArrayPaginator.cjs +0 -7
  268. package/dist/v1/build/TinyArrayPaginator.d.mts +0 -3
  269. package/dist/v1/build/TinyArrayPaginator.mjs +0 -2
  270. package/dist/v1/build/TinyClassManager.cjs +0 -7
  271. package/dist/v1/build/TinyClassManager.d.mts +0 -3
  272. package/dist/v1/build/TinyClassManager.mjs +0 -2
  273. package/dist/v1/build/TinyClipboard.cjs +0 -7
  274. package/dist/v1/build/TinyClipboard.d.mts +0 -3
  275. package/dist/v1/build/TinyClipboard.mjs +0 -2
  276. package/dist/v1/build/TinyColorConverter.cjs +0 -7
  277. package/dist/v1/build/TinyColorConverter.d.mts +0 -3
  278. package/dist/v1/build/TinyColorConverter.mjs +0 -2
  279. package/dist/v1/build/TinyColorValidator.cjs +0 -7
  280. package/dist/v1/build/TinyColorValidator.d.mts +0 -3
  281. package/dist/v1/build/TinyColorValidator.mjs +0 -2
  282. package/dist/v1/build/TinyCookieConsent.cjs +0 -7
  283. package/dist/v1/build/TinyCookieConsent.d.mts +0 -3
  284. package/dist/v1/build/TinyCookieConsent.mjs +0 -2
  285. package/dist/v1/build/TinyDayNightCycle.cjs +0 -7
  286. package/dist/v1/build/TinyDayNightCycle.d.mts +0 -3
  287. package/dist/v1/build/TinyDayNightCycle.mjs +0 -2
  288. package/dist/v1/build/TinyDebugger.cjs +0 -7
  289. package/dist/v1/build/TinyDebugger.d.mts +0 -3
  290. package/dist/v1/build/TinyDebugger.mjs +0 -2
  291. package/dist/v1/build/TinyDomReadyManager.cjs +0 -7
  292. package/dist/v1/build/TinyDomReadyManager.d.mts +0 -3
  293. package/dist/v1/build/TinyDomReadyManager.mjs +0 -2
  294. package/dist/v1/build/TinyDragDropDetector.cjs +0 -7
  295. package/dist/v1/build/TinyDragDropDetector.d.mts +0 -3
  296. package/dist/v1/build/TinyDragDropDetector.mjs +0 -2
  297. package/dist/v1/build/TinyDragger.cjs +0 -7
  298. package/dist/v1/build/TinyDragger.d.mts +0 -3
  299. package/dist/v1/build/TinyDragger.mjs +0 -2
  300. package/dist/v1/build/TinyElementObserver.cjs +0 -7
  301. package/dist/v1/build/TinyElementObserver.d.mts +0 -3
  302. package/dist/v1/build/TinyElementObserver.mjs +0 -2
  303. package/dist/v1/build/TinyGamepad.cjs +0 -7
  304. package/dist/v1/build/TinyGamepad.d.mts +0 -3
  305. package/dist/v1/build/TinyGamepad.mjs +0 -2
  306. package/dist/v1/build/TinyHtml.cjs +0 -7
  307. package/dist/v1/build/TinyHtml.d.mts +0 -3
  308. package/dist/v1/build/TinyHtml.mjs +0 -2
  309. package/dist/v1/build/TinyI18.cjs +0 -7
  310. package/dist/v1/build/TinyI18.d.mts +0 -3
  311. package/dist/v1/build/TinyI18.mjs +0 -2
  312. package/dist/v1/build/TinyIframeEvents.cjs +0 -7
  313. package/dist/v1/build/TinyIframeEvents.d.mts +0 -3
  314. package/dist/v1/build/TinyIframeEvents.mjs +0 -2
  315. package/dist/v1/build/TinyInventory.cjs +0 -7
  316. package/dist/v1/build/TinyInventory.d.mts +0 -3
  317. package/dist/v1/build/TinyInventory.mjs +0 -2
  318. package/dist/v1/build/TinyInventoryTrader.cjs +0 -7
  319. package/dist/v1/build/TinyInventoryTrader.d.mts +0 -3
  320. package/dist/v1/build/TinyInventoryTrader.mjs +0 -2
  321. package/dist/v1/build/TinyLevelUp.cjs +0 -7
  322. package/dist/v1/build/TinyLevelUp.d.mts +0 -3
  323. package/dist/v1/build/TinyLevelUp.mjs +0 -2
  324. package/dist/v1/build/TinyLoadingScreen.cjs +0 -7
  325. package/dist/v1/build/TinyLoadingScreen.d.mts +0 -3
  326. package/dist/v1/build/TinyLoadingScreen.mjs +0 -2
  327. package/dist/v1/build/TinyLocalStorage.cjs +0 -7
  328. package/dist/v1/build/TinyLocalStorage.d.mts +0 -3
  329. package/dist/v1/build/TinyLocalStorage.mjs +0 -2
  330. package/dist/v1/build/TinyMediaPlayer.cjs +0 -7
  331. package/dist/v1/build/TinyMediaPlayer.d.mts +0 -3
  332. package/dist/v1/build/TinyMediaPlayer.mjs +0 -2
  333. package/dist/v1/build/TinyNeedBar.cjs +0 -7
  334. package/dist/v1/build/TinyNeedBar.d.mts +0 -3
  335. package/dist/v1/build/TinyNeedBar.mjs +0 -2
  336. package/dist/v1/build/TinyNewWinEvents.cjs +0 -7
  337. package/dist/v1/build/TinyNewWinEvents.d.mts +0 -3
  338. package/dist/v1/build/TinyNewWinEvents.mjs +0 -2
  339. package/dist/v1/build/TinyNotifications.cjs +0 -7
  340. package/dist/v1/build/TinyNotifications.d.mts +0 -3
  341. package/dist/v1/build/TinyNotifications.mjs +0 -2
  342. package/dist/v1/build/TinyNotifyCenter.cjs +0 -7
  343. package/dist/v1/build/TinyNotifyCenter.d.mts +0 -3
  344. package/dist/v1/build/TinyNotifyCenter.mjs +0 -2
  345. package/dist/v1/build/TinyPromiseQueue.cjs +0 -7
  346. package/dist/v1/build/TinyPromiseQueue.d.mts +0 -3
  347. package/dist/v1/build/TinyPromiseQueue.mjs +0 -2
  348. package/dist/v1/build/TinyRadioFm.cjs +0 -7
  349. package/dist/v1/build/TinyRadioFm.d.mts +0 -3
  350. package/dist/v1/build/TinyRadioFm.mjs +0 -2
  351. package/dist/v1/build/TinyRateLimiter.cjs +0 -7
  352. package/dist/v1/build/TinyRateLimiter.d.mts +0 -3
  353. package/dist/v1/build/TinyRateLimiter.mjs +0 -2
  354. package/dist/v1/build/TinySimpleDice.cjs +0 -7
  355. package/dist/v1/build/TinySimpleDice.d.mts +0 -3
  356. package/dist/v1/build/TinySimpleDice.mjs +0 -2
  357. package/dist/v1/build/TinySmartScroller.cjs +0 -7
  358. package/dist/v1/build/TinySmartScroller.d.mts +0 -3
  359. package/dist/v1/build/TinySmartScroller.mjs +0 -2
  360. package/dist/v1/build/TinyTextDiffer.cjs +0 -7
  361. package/dist/v1/build/TinyTextDiffer.d.mts +0 -3
  362. package/dist/v1/build/TinyTextDiffer.mjs +0 -2
  363. package/dist/v1/build/TinyTextRangeEditor.cjs +0 -7
  364. package/dist/v1/build/TinyTextRangeEditor.d.mts +0 -3
  365. package/dist/v1/build/TinyTextRangeEditor.mjs +0 -2
  366. package/dist/v1/build/TinyTextarea.cjs +0 -7
  367. package/dist/v1/build/TinyTextarea.d.mts +0 -3
  368. package/dist/v1/build/TinyTextarea.mjs +0 -2
  369. package/dist/v1/build/TinyTimeout.cjs +0 -7
  370. package/dist/v1/build/TinyTimeout.d.mts +0 -3
  371. package/dist/v1/build/TinyTimeout.mjs +0 -2
  372. package/dist/v1/build/TinyToastNotify.cjs +0 -7
  373. package/dist/v1/build/TinyToastNotify.d.mts +0 -3
  374. package/dist/v1/build/TinyToastNotify.mjs +0 -2
  375. package/dist/v1/build/TinyUploadClicker.cjs +0 -7
  376. package/dist/v1/build/TinyUploadClicker.d.mts +0 -3
  377. package/dist/v1/build/TinyUploadClicker.mjs +0 -2
  378. package/dist/v1/build/UltraRandomMsgGen.cjs +0 -7
  379. package/dist/v1/build/UltraRandomMsgGen.d.mts +0 -3
  380. package/dist/v1/build/UltraRandomMsgGen.mjs +0 -2
  381. /package/dist/v1/libs/{TinyArrayComparator.cjs → array/TinyArrayComparator.cjs} +0 -0
  382. /package/dist/v1/libs/{TinyArrayComparator.d.mts → array/TinyArrayComparator.d.mts} +0 -0
  383. /package/dist/v1/libs/{TinyArrayComparator.mjs → array/TinyArrayComparator.mjs} +0 -0
  384. /package/dist/v1/libs/{TinyArrayPaginator.cjs → array/TinyArrayPaginator.cjs} +0 -0
  385. /package/dist/v1/libs/{TinyArrayPaginator.d.mts → array/TinyArrayPaginator.d.mts} +0 -0
  386. /package/dist/v1/libs/{TinyArrayPaginator.mjs → array/TinyArrayPaginator.mjs} +0 -0
  387. /package/dist/v1/libs/{ColorSafeStringify.cjs → color/ColorSafeStringify.cjs} +0 -0
  388. /package/dist/v1/libs/{ColorSafeStringify.d.mts → color/ColorSafeStringify.d.mts} +0 -0
  389. /package/dist/v1/libs/{ColorSafeStringify.mjs → color/ColorSafeStringify.mjs} +0 -0
  390. /package/dist/v1/libs/{TinyColorConverter.cjs → color/TinyColorConverter.cjs} +0 -0
  391. /package/dist/v1/libs/{TinyColorConverter.d.mts → color/TinyColorConverter.d.mts} +0 -0
  392. /package/dist/v1/libs/{TinyColorConverter.mjs → color/TinyColorConverter.mjs} +0 -0
  393. /package/dist/v1/libs/{TinyColorValidator.cjs → color/TinyColorValidator.cjs} +0 -0
  394. /package/dist/v1/libs/{TinyColorValidator.d.mts → color/TinyColorValidator.d.mts} +0 -0
  395. /package/dist/v1/libs/{TinyColorValidator.mjs → color/TinyColorValidator.mjs} +0 -0
  396. /package/dist/v1/libs/{TinyDayNightCycle.d.mts → game/TinyDayNightCycle.d.mts} +0 -0
  397. /package/dist/v1/libs/{TinyGamepad.d.mts → game/TinyGamepad.d.mts} +0 -0
  398. /package/dist/v1/libs/{TinyInventory.cjs → game/TinyInventory.cjs} +0 -0
  399. /package/dist/v1/libs/{TinyInventory.d.mts → game/TinyInventory.d.mts} +0 -0
  400. /package/dist/v1/libs/{TinyInventory.mjs → game/TinyInventory.mjs} +0 -0
  401. /package/dist/v1/libs/{TinyInventoryTrader.cjs → game/TinyInventoryTrader.cjs} +0 -0
  402. /package/dist/v1/libs/{TinyInventoryTrader.d.mts → game/TinyInventoryTrader.d.mts} +0 -0
  403. /package/dist/v1/libs/{TinyInventoryTrader.mjs → game/TinyInventoryTrader.mjs} +0 -0
  404. /package/dist/v1/libs/{TinyLevelUp.cjs → game/TinyLevelUp.cjs} +0 -0
  405. /package/dist/v1/libs/{TinyLevelUp.d.mts → game/TinyLevelUp.d.mts} +0 -0
  406. /package/dist/v1/libs/{TinyLevelUp.mjs → game/TinyLevelUp.mjs} +0 -0
  407. /package/dist/v1/libs/{TinyNeedBar.cjs → game/TinyNeedBar.cjs} +0 -0
  408. /package/dist/v1/libs/{TinyNeedBar.d.mts → game/TinyNeedBar.d.mts} +0 -0
  409. /package/dist/v1/libs/{TinyNeedBar.mjs → game/TinyNeedBar.mjs} +0 -0
  410. /package/dist/v1/libs/{TinyDomReadyManager.cjs → html/TinyDomReadyManager.cjs} +0 -0
  411. /package/dist/v1/libs/{TinyDomReadyManager.d.mts → html/TinyDomReadyManager.d.mts} +0 -0
  412. /package/dist/v1/libs/{TinyDomReadyManager.mjs → html/TinyDomReadyManager.mjs} +0 -0
  413. /package/dist/v1/libs/{TinyElementObserver.d.mts → html/TinyElementObserver.d.mts} +0 -0
  414. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/TinyHtmlAnchor.cjs +0 -0
  415. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/TinyHtmlAnchor.d.mts +0 -0
  416. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/TinyHtmlAnchor.mjs +0 -0
  417. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/TinyHtmlButton.cjs +0 -0
  418. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/TinyHtmlButton.d.mts +0 -0
  419. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/TinyHtmlButton.mjs +0 -0
  420. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/TinyHtmlCanvas.cjs +0 -0
  421. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/TinyHtmlCanvas.d.mts +0 -0
  422. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/TinyHtmlCanvas.mjs +0 -0
  423. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/TinyHtmlDatalist.cjs +0 -0
  424. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/TinyHtmlDatalist.d.mts +0 -0
  425. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/TinyHtmlDatalist.mjs +0 -0
  426. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/TinyHtmlEmbed.cjs +0 -0
  427. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/TinyHtmlEmbed.d.mts +0 -0
  428. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/TinyHtmlEmbed.mjs +0 -0
  429. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/TinyHtmlForm.cjs +0 -0
  430. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/TinyHtmlForm.d.mts +0 -0
  431. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/TinyHtmlForm.mjs +0 -0
  432. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/TinyHtmlIcon.cjs +0 -0
  433. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/TinyHtmlIcon.d.mts +0 -0
  434. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/TinyHtmlIcon.mjs +0 -0
  435. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/TinyHtmlIframe.cjs +0 -0
  436. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/TinyHtmlIframe.d.mts +0 -0
  437. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/TinyHtmlIframe.mjs +0 -0
  438. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/TinyHtmlImage.cjs +0 -0
  439. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/TinyHtmlImage.d.mts +0 -0
  440. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/TinyHtmlImage.mjs +0 -0
  441. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/TinyHtmlInput.cjs +0 -0
  442. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/TinyHtmlInput.d.mts +0 -0
  443. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/TinyHtmlInput.mjs +0 -0
  444. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/TinyHtmlLink.cjs +0 -0
  445. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/TinyHtmlLink.d.mts +0 -0
  446. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/TinyHtmlLink.mjs +0 -0
  447. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/TinyHtmlMedia.cjs +0 -0
  448. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/TinyHtmlMedia.d.mts +0 -0
  449. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/TinyHtmlMedia.mjs +0 -0
  450. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/TinyHtmlScript.cjs +0 -0
  451. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/TinyHtmlScript.d.mts +0 -0
  452. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/TinyHtmlScript.mjs +0 -0
  453. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/TinyHtmlSelect.cjs +0 -0
  454. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/TinyHtmlSelect.d.mts +0 -0
  455. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/TinyHtmlSelect.mjs +0 -0
  456. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/TinyHtmlStyle.cjs +0 -0
  457. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/TinyHtmlStyle.d.mts +0 -0
  458. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/TinyHtmlStyle.mjs +0 -0
  459. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/TinyHtmlTemplate.cjs +0 -0
  460. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/TinyHtmlTemplate.d.mts +0 -0
  461. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/TinyHtmlTemplate.mjs +0 -0
  462. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/TinyHtmlTextarea.cjs +0 -0
  463. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/TinyHtmlTextarea.d.mts +0 -0
  464. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/TinyHtmlTextarea.mjs +0 -0
  465. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/index.cjs +0 -0
  466. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/index.d.mts +0 -0
  467. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/index.mjs +0 -0
  468. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/TinyHtmlColorInput.cjs +0 -0
  469. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/TinyHtmlColorInput.d.mts +0 -0
  470. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/TinyHtmlColorInput.mjs +0 -0
  471. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/TinyHtmlFileInput.cjs +0 -0
  472. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/TinyHtmlFileInput.d.mts +0 -0
  473. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/TinyHtmlFileInput.mjs +0 -0
  474. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/TinyHtmlHiddenInput.cjs +0 -0
  475. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/TinyHtmlHiddenInput.d.mts +0 -0
  476. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/TinyHtmlHiddenInput.mjs +0 -0
  477. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/TinyHtmlImageInput.cjs +0 -0
  478. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/TinyHtmlImageInput.d.mts +0 -0
  479. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/TinyHtmlImageInput.mjs +0 -0
  480. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/button/TinyHtmlButtonInput.cjs +0 -0
  481. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/button/TinyHtmlButtonInput.d.mts +0 -0
  482. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/button/TinyHtmlButtonInput.mjs +0 -0
  483. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/button/TinyHtmlResetInput.cjs +0 -0
  484. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/button/TinyHtmlResetInput.d.mts +0 -0
  485. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/button/TinyHtmlResetInput.mjs +0 -0
  486. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/button/TinyHtmlSubmitInput.cjs +0 -0
  487. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/button/TinyHtmlSubmitInput.d.mts +0 -0
  488. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/button/TinyHtmlSubmitInput.mjs +0 -0
  489. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/check/TinyHtmlCheckboxInput.cjs +0 -0
  490. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/check/TinyHtmlCheckboxInput.d.mts +0 -0
  491. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/check/TinyHtmlCheckboxInput.mjs +0 -0
  492. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/check/TinyHtmlRadioInput.cjs +0 -0
  493. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/check/TinyHtmlRadioInput.d.mts +0 -0
  494. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/check/TinyHtmlRadioInput.mjs +0 -0
  495. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/date/TinyHtmlDateInput.cjs +0 -0
  496. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/date/TinyHtmlDateInput.d.mts +0 -0
  497. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/date/TinyHtmlDateInput.mjs +0 -0
  498. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/date/TinyHtmlDateTimeInput.cjs +0 -0
  499. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/date/TinyHtmlDateTimeInput.d.mts +0 -0
  500. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/date/TinyHtmlDateTimeInput.mjs +0 -0
  501. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/date/TinyHtmlMonthInput.cjs +0 -0
  502. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/date/TinyHtmlMonthInput.d.mts +0 -0
  503. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/date/TinyHtmlMonthInput.mjs +0 -0
  504. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/date/TinyHtmlTimeInput.cjs +0 -0
  505. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/date/TinyHtmlTimeInput.d.mts +0 -0
  506. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/date/TinyHtmlTimeInput.mjs +0 -0
  507. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/date/TinyHtmlWeekInput.cjs +0 -0
  508. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/date/TinyHtmlWeekInput.d.mts +0 -0
  509. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/date/TinyHtmlWeekInput.mjs +0 -0
  510. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/number/TinyHtmlNumberInput.cjs +0 -0
  511. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/number/TinyHtmlNumberInput.d.mts +0 -0
  512. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/number/TinyHtmlNumberInput.mjs +0 -0
  513. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/number/TinyHtmlRangeInput.cjs +0 -0
  514. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/number/TinyHtmlRangeInput.d.mts +0 -0
  515. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/number/TinyHtmlRangeInput.mjs +0 -0
  516. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/text/TinyHtmlEmailInput.cjs +0 -0
  517. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/text/TinyHtmlEmailInput.d.mts +0 -0
  518. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/text/TinyHtmlEmailInput.mjs +0 -0
  519. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/text/TinyHtmlPasswordInput.cjs +0 -0
  520. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/text/TinyHtmlPasswordInput.d.mts +0 -0
  521. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/text/TinyHtmlPasswordInput.mjs +0 -0
  522. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/text/TinyHtmlSearchInput.cjs +0 -0
  523. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/text/TinyHtmlSearchInput.d.mts +0 -0
  524. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/text/TinyHtmlSearchInput.mjs +0 -0
  525. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/text/TinyHtmlTelInput.cjs +0 -0
  526. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/text/TinyHtmlTelInput.d.mts +0 -0
  527. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/text/TinyHtmlTelInput.mjs +0 -0
  528. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/text/TinyHtmlTextInput.cjs +0 -0
  529. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/text/TinyHtmlTextInput.d.mts +0 -0
  530. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/text/TinyHtmlTextInput.mjs +0 -0
  531. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/text/TinyHtmlUrlInput.cjs +0 -0
  532. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/text/TinyHtmlUrlInput.d.mts +0 -0
  533. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/input/text/TinyHtmlUrlInput.mjs +0 -0
  534. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/media/TinyHtmlAudio.cjs +0 -0
  535. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/media/TinyHtmlAudio.d.mts +0 -0
  536. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/media/TinyHtmlAudio.mjs +0 -0
  537. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/media/TinyHtmlObject.cjs +0 -0
  538. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/media/TinyHtmlObject.d.mts +0 -0
  539. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/media/TinyHtmlObject.mjs +0 -0
  540. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/media/TinyHtmlSource.cjs +0 -0
  541. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/media/TinyHtmlSource.d.mts +0 -0
  542. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/media/TinyHtmlSource.mjs +0 -0
  543. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/media/TinyHtmlVideo.cjs +0 -0
  544. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/media/TinyHtmlVideo.d.mts +0 -0
  545. /package/dist/v1/libs/{TinyHtml → html/TinyHtml}/media/TinyHtmlVideo.mjs +0 -0
  546. /package/dist/v1/libs/{TinyDragDropDetector.d.mts → html/drag/TinyDragDropDetector.d.mts} +0 -0
  547. /package/dist/v1/libs/{TinyIframeEvents.d.mts → html/events/TinyIframeEvents.d.mts} +0 -0
  548. /package/dist/v1/libs/{TinyNewWinEvents.d.mts → html/events/TinyNewWinEvents.d.mts} +0 -0
  549. /package/dist/v1/libs/{TinyNotifications.d.mts → html/notification/TinyNotifications.d.mts} +0 -0
  550. /package/dist/v1/libs/{TinyNotifyCenter.d.mts → html/notification/TinyNotifyCenter.d.mts} +0 -0
  551. /package/dist/v1/libs/{TinyToastNotify.d.mts → html/notification/TinyToastNotify.d.mts} +0 -0
  552. /package/dist/v1/libs/{TinyAfterScrollWatcher.d.mts → html/scroll/TinyAfterScrollWatcher.d.mts} +0 -0
  553. /package/dist/v1/libs/{TinyAnalogClock.d.mts → html/templates/TinyAnalogClock.d.mts} +0 -0
  554. /package/dist/v1/libs/{TinyCookieConsent.cjs → html/templates/TinyCookieConsent.cjs} +0 -0
  555. /package/dist/v1/libs/{TinyCookieConsent.d.mts → html/templates/TinyCookieConsent.d.mts} +0 -0
  556. /package/dist/v1/libs/{TinyCookieConsent.mjs → html/templates/TinyCookieConsent.mjs} +0 -0
  557. /package/dist/v1/libs/{TinyLoadingScreen.cjs → html/templates/TinyLoadingScreen.cjs} +0 -0
  558. /package/dist/v1/libs/{TinyLoadingScreen.d.mts → html/templates/TinyLoadingScreen.d.mts} +0 -0
  559. /package/dist/v1/libs/{TinyLoadingScreen.mjs → html/templates/TinyLoadingScreen.mjs} +0 -0
  560. /package/dist/v1/libs/{TinyAdvancedRaffle.d.mts → math/TinyAdvancedRaffle.d.mts} +0 -0
  561. /package/dist/v1/libs/{TinyMamdaniInferenceSystem.cjs → math/TinyMamdaniInferenceSystem.cjs} +0 -0
  562. /package/dist/v1/libs/{TinyMamdaniInferenceSystem.d.mts → math/TinyMamdaniInferenceSystem.d.mts} +0 -0
  563. /package/dist/v1/libs/{TinyMamdaniInferenceSystem.mjs → math/TinyMamdaniInferenceSystem.mjs} +0 -0
  564. /package/dist/v1/libs/{TinyRateLimiter.d.mts → math/TinyRateLimiter.d.mts} +0 -0
  565. /package/dist/v1/libs/{TinySimpleDice.d.mts → math/TinySimpleDice.d.mts} +0 -0
  566. /package/dist/v1/libs/{TinyTimeout.d.mts → math/TinyTimeout.d.mts} +0 -0
  567. /package/dist/v1/libs/{TinyMediaPlayer → media/TinyMediaPlayer}/docs/SoundCloudWidget.cjs +0 -0
  568. /package/dist/v1/libs/{TinyMediaPlayer → media/TinyMediaPlayer}/docs/SoundCloudWidget.d.mts +0 -0
  569. /package/dist/v1/libs/{TinyMediaPlayer → media/TinyMediaPlayer}/docs/SoundCloudWidget.mjs +0 -0
  570. /package/dist/v1/libs/{TinyMediaPlayer → media/TinyMediaPlayer}/docs/YouTubePlayer.cjs +0 -0
  571. /package/dist/v1/libs/{TinyMediaPlayer → media/TinyMediaPlayer}/docs/YouTubePlayer.d.mts +0 -0
  572. /package/dist/v1/libs/{TinyMediaPlayer → media/TinyMediaPlayer}/docs/YouTubePlayer.mjs +0 -0
  573. /package/dist/v1/libs/{TinyLocalStorage.d.mts → storage/TinyLocalStorage.d.mts} +0 -0
  574. /package/dist/v1/libs/{TinyClipboard.cjs → text/TinyClipboard.cjs} +0 -0
  575. /package/dist/v1/libs/{TinyClipboard.d.mts → text/TinyClipboard.d.mts} +0 -0
  576. /package/dist/v1/libs/{TinyClipboard.mjs → text/TinyClipboard.mjs} +0 -0
  577. /package/dist/v1/libs/{TinyI18.d.mts → text/TinyI18.d.mts} +0 -0
  578. /package/dist/v1/libs/{TinyTextDiffer.d.mts → text/TinyTextDiffer.d.mts} +0 -0
  579. /package/dist/v1/libs/{TinyTextRangeEditor.cjs → text/TinyTextRangeEditor.cjs} +0 -0
  580. /package/dist/v1/libs/{TinyTextRangeEditor.d.mts → text/TinyTextRangeEditor.d.mts} +0 -0
  581. /package/dist/v1/libs/{TinyTextRangeEditor.mjs → text/TinyTextRangeEditor.mjs} +0 -0
  582. /package/dist/v1/libs/{TinyTextarea.cjs → text/TinyTextarea.cjs} +0 -0
  583. /package/dist/v1/libs/{TinyTextarea.d.mts → text/TinyTextarea.d.mts} +0 -0
  584. /package/dist/v1/libs/{TinyTextarea.mjs → text/TinyTextarea.mjs} +0 -0
  585. /package/dist/v1/libs/{TinyClassManager → tools/TinyClassManager}/TinyPluginInliner.d.mts +0 -0
  586. /package/dist/v1/libs/{TinyClassManager → tools/TinyClassManager}/TinyPluginInliner.mjs +0 -0
  587. /package/dist/v1/libs/{TinyClassManager.cjs → tools/TinyClassManager.cjs} +0 -0
  588. /package/dist/v1/libs/{TinyClassManager.d.mts → tools/TinyClassManager.d.mts} +0 -0
  589. /package/dist/v1/libs/{TinyClassManager.mjs → tools/TinyClassManager.mjs} +0 -0
  590. /package/dist/v1/libs/{TinyDebugger.d.mts → tools/TinyDebugger.d.mts} +0 -0
  591. /package/dist/v1/libs/{examples → tools/examples}/TinyClassManager.cjs +0 -0
  592. /package/dist/v1/libs/{examples → tools/examples}/TinyClassManager.d.mts +0 -0
  593. /package/dist/v1/libs/{examples → tools/examples}/TinyClassManager.mjs +0 -0
  594. /package/dist/v1/libs/{TinyPromiseQueue.cjs → utils/TinyPromiseQueue.cjs} +0 -0
  595. /package/dist/v1/libs/{TinyPromiseQueue.d.mts → utils/TinyPromiseQueue.d.mts} +0 -0
  596. /package/dist/v1/libs/{TinyPromiseQueue.mjs → utils/TinyPromiseQueue.mjs} +0 -0
  597. /package/dist/v1/libs/{UltraRandomMsgGen.d.mts → utils/UltraRandomMsgGen.d.mts} +0 -0
  598. /package/dist/v1/libs/{utils.cjs → utils/tools.cjs} +0 -0
  599. /package/dist/v1/libs/{utils.mjs → utils/tools.mjs} +0 -0
  600. /package/docs/v1/libs/{TinyColorConverter.md → color/TinyColorConverter.md} +0 -0
  601. /package/docs/v1/libs/{TinyColorValidator.md → color/TinyColorValidator.md} +0 -0
  602. /package/docs/v1/libs/{TinyDayNightCycle.md → game/TinyDayNightCycle.md} +0 -0
  603. /package/docs/v1/libs/{TinyGamepad.md → game/TinyGamepad.md} +0 -0
  604. /package/docs/v1/libs/{TinyInventory.md → game/TinyInventory.md} +0 -0
  605. /package/docs/v1/libs/{TinyInventoryTrader.md → game/TinyInventoryTrader.md} +0 -0
  606. /package/docs/v1/libs/{TinyNeedBar.md → game/TinyNeedBar.md} +0 -0
  607. /package/docs/v1/libs/{TinyHtml.md → html/TinyHtml.md} +0 -0
  608. /package/docs/v1/libs/{TinyHtmlTips.md → html/TinyHtmlTips.md} +0 -0
  609. /package/docs/v1/libs/{TinyNotifyCenter.md → html/notification/TinyNotifyCenter.md} +0 -0
  610. /package/docs/v1/libs/{TinyToastNotify.md → html/notification/TinyToastNotify.md} +0 -0
  611. /package/docs/v1/libs/{TinySmartScroller.md → html/scroll/TinySmartScroller.md} +0 -0
  612. /package/docs/v1/libs/{TinyUploadClicker.md → html/upload/TinyUploadClicker.md} +0 -0
  613. /package/docs/v1/libs/{TinyAdvancedRaffle.md → math/TinyAdvancedRaffle.md} +0 -0
  614. /package/docs/v1/libs/{TinyMamdaniInferenceSystem.md → math/TinyMamdaniInferenceSystem.md} +0 -0
  615. /package/docs/v1/libs/{TinyRateLimiter.md → math/TinyRateLimiter.md} +0 -0
  616. /package/docs/v1/libs/{TinySimpleDice.md → math/TinySimpleDice.md} +0 -0
  617. /package/docs/v1/libs/{TinyTimeout.md → math/TinyTimeout.md} +0 -0
  618. /package/docs/v1/libs/{TinyRadioFm.md → media/TinyRadioFm.md} +0 -0
  619. /package/docs/v1/libs/{TinyLocalStorage.md → storage/TinyLocalStorage.md} +0 -0
  620. /package/docs/v1/libs/{TinyI18.md → text/TinyI18.md} +0 -0
  621. /package/docs/v1/libs/{TinyTextRangeEditor.md → text/TinyTextRangeEditor.md} +0 -0
  622. /package/docs/v1/libs/{UltraRandomMsgGen.md → utils/UltraRandomMsgGen.md} +0 -0
@@ -1,7 +1,7 @@
1
1
  import { readFile, writeFile } from 'fs/promises';
2
2
  import { existsSync } from 'fs';
3
3
  import { join as pathJoin } from 'path';
4
- import { createCheckDestroyed } from './utils.mjs';
4
+ import { createCheckDestroyed } from '../utils/tools.mjs';
5
5
  const checkDestroy = createCheckDestroyed('TinyI18');
6
6
  /**
7
7
  * Supported operating modes for TinyI18.
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var utils = require('./utils.cjs');
3
+ var tools = require('../utils/tools.cjs');
4
4
 
5
- const checkDestroy = utils.createCheckDestroyed('TinyTextDiffer');
5
+ const checkDestroy = tools.createCheckDestroyed('TinyTextDiffer');
6
6
 
7
7
  /**
8
8
  * Represents the result of a single text segment comparison.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TinyTextDiffer.d.mts","sourceRoot":"","sources":["../../../../src/v1/libs/text/TinyTextDiffer.mjs"],"names":[],"mappings":"AAMG,YAAkB,UAAU,GAC5B;;;;IAAmB,KAAK,EAAb,MAAM,CACjB;;;;IAAuC,IAAI,EAAhC,QAAQ,GAAC,OAAO,GAAC,SAAS,CACvC;CAAA,CAAA;AALD;;;;;GAKG;AAEH;;;GAGG;AACH,cAAM,cAAc;;IAOlB,IAAI,SAAS,YAEZ;IAED;;;OAGG;IACH,IAAI,OAAO,IAFE,MAAM,EAAE,CAKpB;IAED;;;OAGG;IACH,IAAI,OAAO,CAAC,OAAO,EAFR,MAAM,EAEE,EAUlB;IAED;;;OAGG;IACH,IAAI,IAAI,IAFK,MAAM,CAKlB;IAED;;;OAGG;IACH,YAAY,OAAO,AAFhB,CAA8B,EAAtB,MAAM,EAEO,EAEvB;IAwBD;;;;OAIG;IACH,GAAG,CAAC,KAAK,EAHE,MAGF,GAFI,MAAM,CASlB;IAED;;;;OAIG;IACH,GAAG,CAAC,KAAK,EAHE,MAGF,GAFI,OAAO,CAMnB;IAED;;;;OAIG;IACH,GAAG,CAAC,IAAI,EAHG,MAGH,GAFK,IAAI,CAMhB;IAED;;;OAGG;IACH,MAAM,IAFO,MAAM,GAAG,SAAS,CAK9B;IAED;;;;;OAKG;IACH,KAAK,CAAC,KAAK,EAJA,MAIA,EAAE,IAAI,EAHN,MAGM,GAFJ,IAAI,CAOhB;IAED;;;;OAIG;IACH,QAAQ,CAAC,KAAK,EAHH,MAGG,GAFD,OAAO,CASnB;IAED;;;OAGG;IACH,KAAK,IAFQ,IAAI,CAKhB;IAED;;;;;OAKG;IACH,OAAO,CAAC,GAAG,OAAO,EAHJ,MAAM,EAGF,GAFL,CAAC,UAAU,EAAE,CAAC,EAAE,CAgC5B;IAED;;;;;;OAMG;YACH,YAAY;IA2DZ;;;OAGG;IACH,OAAO,IAFM,IAAI,CAMhB;CACF;eAEc,cAAc"}
@@ -1,4 +1,4 @@
1
- import { createCheckDestroyed } from './utils.mjs';
1
+ import { createCheckDestroyed } from '../utils/tools.mjs';
2
2
  const checkDestroy = createCheckDestroyed('TinyTextDiffer');
3
3
  /**
4
4
  * Represents the result of a single text segment comparison.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TinyTextRangeEditor.d.mts","sourceRoot":"","sources":["../../../../src/v1/libs/text/TinyTextRangeEditor.mjs"],"names":[],"mappings":"AAAA;;;GAGG;AACH,cAAM,mBAAmB;;IAUvB;;;;;OAKG;IACH,YAAY,IAAI,EALL,gBAAgB,GAAG,mBAKd,EAAE,EAAE,OAAa,EAAE,QAAc,EAAE,AAJhD,CAGF,EAFE;QAA0B,OAAO,AAAjC,CACA,EADQ,MAAM,CACd;QAA0B,QAAQ,AAAlC,CACF,EADU,MAAM,CAChB;KACuD,EAQvD;IAED,qDAAqD;IACrD,UAAU,IADI,MAAM,CAGnB;IAED,sDAAsD;IACtD,WAAW,IADG,MAAM,CAGnB;IAED,sEAAsE;IACtE,UAAU,CAAC,GAAG,EADF,MACE,QAGb;IAED,uEAAuE;IACvE,WAAW,CAAC,GAAG,EADH,MACG,QAGd;IAED;;;OAGG;IACH,WAAW,IAFE,IAAI,CAKhB;IAED;;;OAGG;IACH,KAAK,IAFQ,IAAI,CAKhB;IAED,6EAA6E;IAC7E,iBAAiB,IADH;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,CAM3C;IAED;;;;;;OAMG;IACH,iBAAiB,CAAC,KAAK,EALZ,MAKY,EAAE,GAAG,EAJjB,MAIiB,EAAE,cAAc,AAHzC,CACA,EADQ,OAGwC,GAFtC,IAAI,CAehB;IAED,qDA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jB;;;;IAAmB,OAAO,EAAf,MAAM,CACjB;;;;IAAmB,IAAI,EAAZ,MAAM,CACnB;CAAA,CAAA;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,cAAM,YAAY;;IAyHT,YAAY;IAlHnB;;;;OAIG;IACH,IAAI,SAAS,IAFA,OAAO,CAInB;IAsBD;;;OAGG;IACH,IAAI,UAAU,IAFD,MAAM,CAIlB;IAED;;;OAGG;IACH,IAAI,OAAO,IAFE,MAAM,CAIlB;IAED;;;OAGG;IACH,IAAI,WAAW,IAFF,MAAM,CAIlB;IAED;;;OAGG;IACH,IAAI,aAAa,IAFJ,MAAM,CAIlB;IAED;;;OAGG;IACH,IAAI,WAAW,IAFF,MAAM,CAIlB;IAED;;;OAGG;IACH,IAAI,QAAQ,IAFC,mBAAmB,CAI/B;IAED;;;;;;;;;;;OAWG;IACH,YAAY,QAAQ,EATT,mBASS,EAAE,OAAO,AAR1B,CAKA,EAJA;QAAyB,OAAO,AAAhC,CACA,EADQ,MAAM,CACd;QAAyB,WAAW,AAApC,CACA,EADQ,MAAM,CACd;QAA8C,QAAQ,AAAtD,CACA,EADQ,CAAC,IAAI,EAAE,WAAW,KAAK,IAAI,CACnC;QAA8C,OAAO,AAArD,CACA,EADQ,CAAC,IAAI,EAAE,WAAW,KAAK,IAAI,CACnC;KAG+B,EA4BjC;IA+DD;;;OAGG;IACH,OAAO,IAFM;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAO5C;IAED;;OAEG;IACH,OAAO,SAEN;IAED;;OAEG;IACH,OAAO,SAMN;CACF;eAEc,YAAY"}
@@ -6,7 +6,7 @@ var module$1 = require('module');
6
6
 
7
7
  var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
8
8
  // Enables resolving paths inside node_modules natively
9
- const require$1 = module$1.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('v1/libs/TinyClassManager/TinyPluginInliner.cjs', document.baseURI).href)));
9
+ const require$1 = module$1.createRequire((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('v1/libs/tools/TinyClassManager/TinyPluginInliner.cjs', document.baseURI).href)));
10
10
 
11
11
  /**
12
12
  * @typedef {Object} RootReplacement
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TinyPluginInliner.d.mts","sourceRoot":"","sources":["../../../../../src/v1/libs/tools/TinyClassManager/TinyPluginInliner.mjs"],"names":[],"mappings":"AAQG,YAAkB,eAAe,GACjC;;;;IAAmB,IAAI,EAAZ,MAAM,CACjB;;;;IAAmB,EAAE,EAAV,MAAM,CACnB;CAAA,CAAA;AAGE,YAAkB,aAAa,GAC/B;;;;IAAmB,UAAU,EAAlB,MAAM,CACjB;;;;IAAmB,MAAM,EAAd,MAAM,CACjB;;;;IAAmB,WAAW,EAAnB,MAAM,CACjB;;;;IAA6B,eAAe,AAA5C,CACF,EADa,eAAe,CAC5B;CAAA,CAAA;AAZD;;;;GAIG;AAEH;;;;;;GAMG;AAEH,cAAM,iBAAiB;IAOd,MAAM;IACN,SAAS;IACT,MAAM;IACN,OAAO;IACP,QAAQ;IAER,cAAc;IACd,eAAe;IAbtB;;;;OAIG;IACH,YAAY,MAAM,EAFP,aAEO,EASjB;IAED;;;;;;;;;;OAUG;YACH,qBAAqB;IA+DrB;;;;;;OAMG;YACH,gBAAgB;IAkBhB;;;;;;;OAOG;YACH,iBAAiB;IAoBjB;;;;OAIG;IACG,KAAK,IAFE,OAAO,CAAC,IAAI,CAAC,CA0FzB;CACF;eAEc,iBAAiB"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TinyClassManager.d.mts","sourceRoot":"","sources":["../../../../src/v1/libs/tools/TinyClassManager.mjs"],"names":[],"mappings":"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I,EAAE,EAAE,CAAC,CAAC,KAAK,CAIxC,GAHD,gBAAgB,CAAC,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,CAoCzC;IAED;;;;OAIG;IACH,KAAK,IAHQ,CAAC,CAWb;CACF;eAEc,gBAAgB"}
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
3
  var events = require('events');
4
- var objChecker = require('../basics/objChecker.cjs');
5
- var browserDetector = require('../basics/browserDetector.cjs');
4
+ var objChecker = require('../../basics/objChecker.cjs');
5
+ var browserDetector = require('../../basics/browserDetector.cjs');
6
6
 
7
7
  /**
8
8
  * A lightweight debugging utility that wraps console methods and provides event emission.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TinyDebugger.d.mts","sourceRoot":"","sources":["../../../../src/v1/libs/tools/TinyDebugger.mjs"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAItC;;;GAGG;AACH,cAAM,YAAa,SAAQ,YAAY;;IAqDrC;;;;;;;;;OASG;IACH,YAAY,EAAE,MAAM,EAAE,EAAE,EAAE,SAAS,EAAE,WAAmB,EAAE,YAAoB,EAAE,EAP7E;QAAiC,MAAM,EAA/B,OAAO,CAAC,OAAO,CAAC,CACxB;QAAuB,EAAE,EAAjB,MAAM,CACd;QAAwB,SAAS,EAAzB,OAAO,CACf;QAAyB,WAAW,AAApC,CACA,EADQ,OAAO,CACf;QAAyB,YAAY,AAArC,CACA,EADQ,OAAO,CACf;KAE6E,EA0B/E;IAED;;OAEG;IACH,IAAI,KAAK,IAFI,MAAM,CAIlB;IAED;;OAEG;IACH,IAAI,WAAW,IAFF,OAAO,CAInB;IAED;;OAEG;IACH,IAAI,YAAY,IAFH,OAAO,CAInB;IAED;;;OAGG;IACH,IAAI,YAAY,CAAC,KAAK,EAHX,OAGW,EAOrB;IAED;;OAEG;IACH,IAAI,SAAS,IAFA,OAAO,CAInB;IAED;;;OAGG;IACH,IAAI,SAAS,CAAC,KAAK,EA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,EAJf,GAAG,EAIY,GAFhB,IAAI,CAsChB;CACF;eAEc,YAAY"}
@@ -1,6 +1,6 @@
1
1
  import { EventEmitter } from 'events';
2
- import { isValidObj } from '../basics/objChecker.mjs';
3
- import { browserIs } from '../basics/browserDetector.mjs';
2
+ import { isValidObj } from '../../basics/objChecker.mjs';
3
+ import { browserIs } from '../../basics/browserDetector.mjs';
4
4
  /**
5
5
  * A lightweight debugging utility that wraps console methods and provides event emission.
6
6
  * @extends EventEmitter
@@ -0,0 +1,462 @@
1
+ 'use strict';
2
+
3
+ var promises = require('fs/promises');
4
+ var path = require('path');
5
+
6
+ /**
7
+ * @typedef {Object} ConsoleColors - The color configuration object.
8
+ * @property {string} RESET - The ANSI reset code.
9
+ * @property {string} GREEN - The ANSI green code.
10
+ * @property {string} RED - The ANSI red code.
11
+ * @property {string} YELLOW - The ANSI yellow code.
12
+ * @property {string} CYAN - The ANSI cyan code.
13
+ * @property {string} DIM - The ANSI dim code.
14
+ */
15
+
16
+ /**
17
+ * @typedef {Object} ValidatorOptions - Configuration options for the validator.
18
+ * @property {string} [projectName] - Custom name for the project report.
19
+ * @property {boolean} [silent] - If true, no logs will be printed to the console.
20
+ * @property {DefaultMessages} [messages] - Custom message templates.
21
+ */
22
+
23
+ /**
24
+ * @typedef {Object} DefaultMessages
25
+ * @property {string} header
26
+ * @property {string} divider
27
+ * @property {string} itemValid
28
+ * @property {string} itemInvalid
29
+ * @property {string} itemMissing
30
+ * @property {string} successHeader
31
+ * @property {string} failureHeader
32
+ * @property {string} errorLoad
33
+ * @property {string} noExports
34
+ * @property {string} errorNotFound
35
+ * @property {string} errorParse
36
+ * @property {string} errorUnexpected
37
+ */
38
+
39
+ /**
40
+ * Default messages used when no custom messages are provided.
41
+ * Placeholders like {projectName}, {path}, etc., are replaced at runtime.
42
+ * @type {DefaultMessages}
43
+ */
44
+ const DEFAULT_MESSAGES = {
45
+ header: `\n=== {projectName} ===\n`,
46
+ divider: `\n-----------------------------------------`,
47
+ itemValid: ` [✔] {path}`,
48
+ itemInvalid: ` [✘] {path}`,
49
+ itemMissing: ` Missing: {errorPath}`,
50
+ successHeader: `SUCCESS: All exports are correctly mapped.`,
51
+ failureHeader: `FAILURE: {errorCount} export(s) are missing or invalid.`,
52
+ errorLoad: `Error: package.json not loaded in the current directory.`,
53
+ noExports: `[!] No "exports" field found in package.json.`,
54
+ errorNotFound: `Error: package.json not found in the current directory.`,
55
+ errorParse: `Error: Failed to parse package.json. Ensure it is valid JSON.`,
56
+ errorUnexpected: `An unexpected error occurred: {message}`,
57
+ };
58
+
59
+ /**
60
+ * Array of keys required by the DefaultMessages type.
61
+ * Used for deep validation of the messages object.
62
+ */
63
+ const MESSAGE_KEYS = Object.keys(DEFAULT_MESSAGES);
64
+
65
+ /**
66
+ * Class responsible for validating package exports.
67
+ * Implements state encapsulation, custom logging, and recursive search logic.
68
+ */
69
+ class TinyPkgExportValidator {
70
+ /**
71
+ * Console color constants (ANSI escape codes).
72
+ * @type {ConsoleColors}
73
+ */
74
+ #COLORS = {
75
+ RESET: '\x1b[0m',
76
+ GREEN: '\x1b[32m',
77
+ RED: '\x1b[31m',
78
+ YELLOW: '\x1b[33m',
79
+ CYAN: '\x1b[36m',
80
+ DIM: '\x1b[2m',
81
+ };
82
+
83
+ get COLORS() {
84
+ return structuredClone(this.#COLORS);
85
+ }
86
+
87
+ /**
88
+ * Updates the color constants with a new configuration.
89
+ *
90
+ * @param {ConsoleColors} newColors - The new color configuration object.
91
+ * @throws {TypeError} If newColors is not an object, if keys do not match exactly, or if any value is not a string.
92
+ */
93
+ set COLORS(newColors) {
94
+ // 1. Validate that the input is a non-null object and not an array
95
+ if (typeof newColors !== 'object' || newColors === null || Array.isArray(newColors)) {
96
+ throw new TypeError('The provided configuration must be a non-null object.');
97
+ }
98
+
99
+ const originalKeys = Object.keys(this.#COLORS);
100
+ const newKeys = Object.keys(newColors);
101
+
102
+ // 2. Validate that the keys match exactly (same length and same names)
103
+ const hasSameKeys =
104
+ originalKeys.length === newKeys.length && originalKeys.every((key) => newKeys.includes(key));
105
+
106
+ if (!hasSameKeys) {
107
+ throw new TypeError(
108
+ 'The new configuration must contain the exact same keys as the original color set.',
109
+ );
110
+ }
111
+
112
+ // 3. Validate that all values are strings
113
+ for (const key of originalKeys) {
114
+ // @ts-ignore
115
+ if (typeof newColors[key] !== 'string') {
116
+ throw new TypeError(`The value for key "${key}" must be a string.`);
117
+ }
118
+ }
119
+
120
+ // Apply the new configuration using a clone to prevent external mutation
121
+ this.#COLORS = structuredClone(newColors);
122
+ }
123
+
124
+ // --- Private State ---
125
+
126
+ /** @type {Record<string, any>} */
127
+ #packageData = {};
128
+
129
+ /** @type {string} */
130
+ #packageJsonPath;
131
+
132
+ /** @type {string} */
133
+ #rootDir;
134
+
135
+ /** @type {Array<{path: string, valid: boolean, errorPath?: string}>} */
136
+ #results;
137
+
138
+ /** @type {boolean} */
139
+ #started = false;
140
+
141
+ /** @type {string} */
142
+ #projectName;
143
+
144
+ /** @type {boolean} */
145
+ #silent;
146
+
147
+ /** @type {DefaultMessages} */
148
+ #messages;
149
+
150
+ // --- Getters ---
151
+
152
+ get packageData() {
153
+ return structuredClone(this.#packageData);
154
+ }
155
+ get packageJsonPath() {
156
+ return this.#packageJsonPath;
157
+ }
158
+ get rootDir() {
159
+ return this.#rootDir;
160
+ }
161
+ get results() {
162
+ return structuredClone(this.#results);
163
+ }
164
+ get started() {
165
+ return this.#started;
166
+ }
167
+ get projectName() {
168
+ return this.#projectName;
169
+ }
170
+ get silent() {
171
+ return this.#silent;
172
+ }
173
+
174
+ /**
175
+ * Creates an instance of TinyPkgExportValidator.
176
+ *
177
+ * @param {string} packageJsonPath - The package.json JSON file path.
178
+ * @param {string} rootDir - The project root directory.
179
+ * @param {ValidatorOptions} [options={}] - Configuration options.
180
+ * @throws {TypeError} If arguments are not strings or if options fails deep validation.
181
+ */
182
+ constructor(packageJsonPath, rootDir, options = {}) {
183
+ if (typeof packageJsonPath !== 'string') {
184
+ throw new TypeError('The "packageJsonPath" argument must be a string.');
185
+ }
186
+ if (typeof rootDir !== 'string') {
187
+ throw new TypeError('The "rootDir" argument must be a string.');
188
+ }
189
+
190
+ this.#validateOptions(options);
191
+
192
+ this.#packageJsonPath = packageJsonPath;
193
+ this.#rootDir = rootDir;
194
+ this.#results = [];
195
+
196
+ // Configuration assignment
197
+ this.#projectName = options.projectName ?? 'Tiny-Essentials Export Validation';
198
+ this.#silent = !!options.silent;
199
+ this.#messages = { ...DEFAULT_MESSAGES, ...(options.messages ?? {}) };
200
+ }
201
+
202
+ /**
203
+ * Performs a deep validation of the options object against the ValidatorOptions JSDoc.
204
+ *
205
+ * @param {ValidatorOptions} options - The options to validate.
206
+ * @throws {TypeError} If any property does not match the expected type or structure.
207
+ */
208
+ #validateOptions(options) {
209
+ if (typeof options !== 'object' || options === null || Array.isArray(options)) {
210
+ throw new TypeError('The "options" argument must be a non-null object.');
211
+ }
212
+
213
+ // Validate projectName
214
+ if (options.projectName !== undefined && typeof options.projectName !== 'string') {
215
+ throw new TypeError('The "options.projectName" property must be a string.');
216
+ }
217
+
218
+ // Validate silent
219
+ if (options.silent !== undefined && typeof options.silent !== 'boolean') {
220
+ throw new TypeError('The "options.silent" property must be a boolean.');
221
+ }
222
+
223
+ // Validate messages (Deep Validation)
224
+ if (options.messages !== undefined) {
225
+ if (
226
+ typeof options.messages !== 'object' ||
227
+ options.messages === null ||
228
+ Array.isArray(options.messages)
229
+ ) {
230
+ throw new TypeError('The "options.messages" property must be a non-null object.');
231
+ }
232
+
233
+ // Ensure all required keys from DefaultMessages are present and are strings
234
+ for (const key of MESSAGE_KEYS) {
235
+ // @ts-ignore
236
+ if (typeof options.messages[key] !== 'string') {
237
+ throw new TypeError(`The "options.messages.${key}" property must be a string.`);
238
+ }
239
+ }
240
+ }
241
+ }
242
+
243
+ /**
244
+ * Internal helper to apply template replacements.
245
+ * @param {string} template - The message template string.
246
+ * @param {Object} context - Data for placeholders.
247
+ * @returns {string} The processed string.
248
+ * @throws {TypeError} If template is not a string or context is not an object.
249
+ */
250
+ #applyTemplate(template, context) {
251
+ if (typeof template !== 'string') {
252
+ throw new TypeError('The template must be a string.');
253
+ }
254
+ if (typeof context !== 'object' || context === null) {
255
+ throw new TypeError('The context must be a non-null object.');
256
+ }
257
+
258
+ return template.replace(/{(\w+)}/g, (match, key) => {
259
+ // @ts-ignore
260
+ return context[key] !== undefined ? context[key] : match;
261
+ });
262
+ }
263
+
264
+ /**
265
+ * Internal helper to handle console output, coloring, and silent mode.
266
+ * @param {'error'|'warning'|'success'|'info'|'dim'|'cyan'} type - The log type.
267
+ * @param {string} templateKey - The key in the messages object.
268
+ * @param {Object} [context={}] - Data for the template.
269
+ * @throws {TypeError} If arguments do not match required types or if type is invalid.
270
+ */
271
+ #log(type, templateKey, context = {}) {
272
+ if (this.#silent) return;
273
+
274
+ const VALID_LOG_TYPES = ['error', 'warning', 'success', 'info', 'dim', 'cyan'];
275
+
276
+ if (!VALID_LOG_TYPES.includes(type)) {
277
+ throw new TypeError(
278
+ `Invalid log type: "${type}". Valid types are: ${VALID_LOG_TYPES.join(', ')}`,
279
+ );
280
+ }
281
+ if (typeof templateKey !== 'string') {
282
+ throw new TypeError('The templateKey must be a string.');
283
+ }
284
+ if (typeof context !== 'object' || context === null) {
285
+ throw new TypeError('The context must be a non-null object.');
286
+ }
287
+
288
+ const template =
289
+ // @ts-ignore
290
+ this.#messages[templateKey] || templateKey;
291
+ const message = this.#applyTemplate(template, { ...context, projectName: this.#projectName });
292
+
293
+ switch (type) {
294
+ case 'error':
295
+ console.error(`${this.#COLORS.RED}${message}${this.#COLORS.RESET}`);
296
+ break;
297
+ case 'warning':
298
+ console.log(`${this.#COLORS.YELLOW}${message}${this.#COLORS.RESET}`);
299
+ break;
300
+ case 'success':
301
+ console.log(`${this.#COLORS.GREEN}${message}${this.#COLORS.RESET}`);
302
+ break;
303
+ case 'cyan':
304
+ console.log(`${this.#COLORS.CYAN}${message}${this.#COLORS.RESET}`);
305
+ break;
306
+ case 'dim':
307
+ console.log(`${this.#COLORS.DIM}${message}${this.#COLORS.RESET}`);
308
+ break;
309
+ default:
310
+ console.log(message);
311
+ }
312
+ }
313
+
314
+ /**
315
+ * Loads and parses the package.json file from the specified path.
316
+ *
317
+ * @returns {Promise<void>} A promise that resolves when the package data is loaded.
318
+ * @throws {TypeError} If the parsed JSON content is not a non-null object.
319
+ * @throws {Error} If the file cannot be read or parsed.
320
+ */
321
+ async start() {
322
+ if (this.#started) return;
323
+ this.#started = true;
324
+
325
+ try {
326
+ const packageRaw = await promises.readFile(this.#packageJsonPath, 'utf-8');
327
+ const packageData = JSON.parse(packageRaw);
328
+ if (typeof packageData !== 'object' || packageData === null) {
329
+ this.#started = false;
330
+ throw new TypeError('The "packageData" argument must be a non-null object.');
331
+ }
332
+ this.#packageData = packageData;
333
+ } catch (error) {
334
+ this.#started = false;
335
+ throw error;
336
+ }
337
+ }
338
+
339
+ /**
340
+ * Executes the validation process.
341
+ * @returns {Promise<boolean>} Returns true if all paths are valid, false otherwise.
342
+ */
343
+ async validate() {
344
+ if (!this.#started) {
345
+ this.#log('error', 'errorLoad');
346
+ return true;
347
+ }
348
+
349
+ const exports = this.#packageData.exports;
350
+
351
+ if (!exports) {
352
+ this.#log('warning', 'noExports');
353
+ return true;
354
+ }
355
+
356
+ this.#results = [];
357
+ try {
358
+ await this.#traverseExports(exports);
359
+ } catch (error) {
360
+ if (error instanceof Error) {
361
+ if (error instanceof SyntaxError) {
362
+ this.#log('error', 'errorParse');
363
+ } else if ('code' in error && error.code === 'ENOENT') {
364
+ this.#log('error', 'errorNotFound');
365
+ } else {
366
+ this.#log('error', 'errorUnexpected', { message: error.message });
367
+ }
368
+ }
369
+ throw error;
370
+ }
371
+ return this.#report();
372
+ }
373
+
374
+ /**
375
+ * Recursively traverses the exports object.
376
+ *
377
+ * @param {Record<string, any>|string} node - The current node of the exports object.
378
+ * @param {string} currentKey - The key (used for log tracking).
379
+ * @returns {Promise<void>}
380
+ * @throws {TypeError} If node is not a string or object, or if currentKey is not a string.
381
+ */
382
+ async #traverseExports(node, currentKey = '') {
383
+ if (typeof currentKey !== 'string') {
384
+ throw new TypeError('The "currentKey" argument must be a string.');
385
+ }
386
+
387
+ if (typeof node === 'string') {
388
+ // Base case: the value is a direct path
389
+ await this.#checkFileExists(node, currentKey);
390
+ } else if (typeof node === 'object' && node !== null) {
391
+ // Recursive case: the value is an object (e.g., { import: '...', require: '...' })
392
+ const keys = Object.keys(node);
393
+ for (const key of keys) {
394
+ const subKey = currentKey ? `${currentKey} -> ${key}` : key;
395
+ await this.#traverseExports(node[key], subKey);
396
+ }
397
+ } else {
398
+ throw new TypeError('The "node" argument must be a string or a non-null object.');
399
+ }
400
+ }
401
+
402
+ /**
403
+ * Checks for the existence of a file in the file system.
404
+ *
405
+ * @param {string} relativePath - The relative path defined in package.json.
406
+ * @param {string} context - The key context for reporting purposes.
407
+ * @returns {Promise<void>}
408
+ * @throws {TypeError} If relativePath or context are not strings.
409
+ */
410
+ async #checkFileExists(relativePath, context) {
411
+ if (typeof relativePath !== 'string') {
412
+ throw new TypeError('The "relativePath" argument must be a string.');
413
+ }
414
+ if (typeof context !== 'string') {
415
+ throw new TypeError('The "context" argument must be a string.');
416
+ }
417
+
418
+ // Remove potential wildcards (e.g., '*') for literal path validation
419
+ const cleanPath = relativePath.replace(/\*/g, '');
420
+ const absolutePath = path.resolve(this.#rootDir, cleanPath);
421
+
422
+ try {
423
+ await promises.access(absolutePath);
424
+ this.#results.push({ path: context, valid: true });
425
+ } catch {
426
+ this.#results.push({ path: context, valid: false, errorPath: relativePath });
427
+ }
428
+ }
429
+
430
+ /**
431
+ * Generates the final report in the console.
432
+ *
433
+ * @returns {boolean} True if there are no errors, false if there are failures.
434
+ */
435
+ #report() {
436
+ this.#log('cyan', 'header');
437
+
438
+ let errorCount = 0;
439
+
440
+ for (const result of this.#results) {
441
+ if (result.valid) {
442
+ this.#log('success', 'itemValid', { path: result.path });
443
+ } else {
444
+ this.#log('error', 'itemInvalid', { path: result.path });
445
+ this.#log('dim', 'itemMissing', { errorPath: result.errorPath });
446
+ errorCount++;
447
+ }
448
+ }
449
+
450
+ this.#log('cyan', 'divider');
451
+
452
+ if (errorCount === 0) {
453
+ this.#log('success', 'successHeader');
454
+ return true;
455
+ } else {
456
+ this.#log('error', 'failureHeader', { errorCount });
457
+ return false;
458
+ }
459
+ }
460
+ }
461
+
462
+ module.exports = TinyPkgExportValidator;
@@ -0,0 +1,104 @@
1
+ export type ConsoleColors = {
2
+ /**
3
+ * - The ANSI reset code.
4
+ */
5
+ RESET: string;
6
+ /**
7
+ * - The ANSI green code.
8
+ */
9
+ GREEN: string;
10
+ /**
11
+ * - The ANSI red code.
12
+ */
13
+ RED: string;
14
+ /**
15
+ * - The ANSI yellow code.
16
+ */
17
+ YELLOW: string;
18
+ /**
19
+ * - The ANSI cyan code.
20
+ */
21
+ CYAN: string;
22
+ /**
23
+ * - The ANSI dim code.
24
+ */
25
+ DIM: string;
26
+ };
27
+ export type ValidatorOptions = {
28
+ /**
29
+ * - Custom name for the project report.
30
+ */
31
+ projectName?: string;
32
+ /**
33
+ * - If true, no logs will be printed to the console.
34
+ */
35
+ silent?: boolean;
36
+ /**
37
+ * - Custom message templates.
38
+ */
39
+ messages?: DefaultMessages;
40
+ };
41
+ export type DefaultMessages = {
42
+ header: string;
43
+ divider: string;
44
+ itemValid: string;
45
+ itemInvalid: string;
46
+ itemMissing: string;
47
+ successHeader: string;
48
+ failureHeader: string;
49
+ errorLoad: string;
50
+ noExports: string;
51
+ errorNotFound: string;
52
+ errorParse: string;
53
+ errorUnexpected: string;
54
+ };
55
+ /**
56
+ * Class responsible for validating package exports.
57
+ * Implements state encapsulation, custom logging, and recursive search logic.
58
+ */
59
+ declare class TinyPkgExportValidator {
60
+ #private;
61
+ get COLORS(): ConsoleColors;
62
+ /**
63
+ * Updates the color constants with a new configuration.
64
+ *
65
+ * @param {ConsoleColors} newColors - The new color configuration object.
66
+ * @throws {TypeError} If newColors is not an object, if keys do not match exactly, or if any value is not a string.
67
+ */
68
+ set COLORS(newColors: ConsoleColors);
69
+ get packageData(): Record<string, any>;
70
+ get packageJsonPath(): string;
71
+ get rootDir(): string;
72
+ get results(): {
73
+ path: string;
74
+ valid: boolean;
75
+ errorPath?: string;
76
+ }[];
77
+ get started(): boolean;
78
+ get projectName(): string;
79
+ get silent(): boolean;
80
+ /**
81
+ * Creates an instance of TinyPkgExportValidator.
82
+ *
83
+ * @param {string} packageJsonPath - The package.json JSON file path.
84
+ * @param {string} rootDir - The project root directory.
85
+ * @param {ValidatorOptions} [options={}] - Configuration options.
86
+ * @throws {TypeError} If arguments are not strings or if options fails deep validation.
87
+ */
88
+ constructor(packageJsonPath: string, rootDir: string, options?: ValidatorOptions);
89
+ /**
90
+ * Loads and parses the package.json file from the specified path.
91
+ *
92
+ * @returns {Promise<void>} A promise that resolves when the package data is loaded.
93
+ * @throws {TypeError} If the parsed JSON content is not a non-null object.
94
+ * @throws {Error} If the file cannot be read or parsed.
95
+ */
96
+ start(): Promise<void>;
97
+ /**
98
+ * Executes the validation process.
99
+ * @returns {Promise<boolean>} Returns true if all paths are valid, false otherwise.
100
+ */
101
+ validate(): Promise<boolean>;
102
+ }
103
+ export default TinyPkgExportValidator;
104
+ //# sourceMappingURL=TinyPkgExportValidator.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TinyPkgExportValidator.d.mts","sourceRoot":"","sources":["../../../../src/v1/libs/tools/TinyPkgExportValidator.mjs"],"names":[],"mappings":"AAIG,YAAkB,aAAa,GAC/B;;;;IAAmB,KAAK,EAAb,MAAM,CACjB;;;;IAAmB,KAAK,EAAb,MAAM,CACjB;;;;IAAmB,GAAG,EAAX,MAAM,CACjB;;;;IAAmB,MAAM,EAAd,MAAM,CACjB;;;;IAAmB,IAAI,EAAZ,MAAM,CACjB;;;;IAAmB,GAAG,EAAX,MAAM,CACnB;CAAA,CAAA;AAGE,YAAkB,gBAAgB,GAClC;;;;IAAoB,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