mates-devtools 0.1.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (379) hide show
  1. package/dist/mates-devtools.es.js +3464 -0
  2. package/dist/mates-devtools.umd.js +650 -0
  3. package/dist/types/Mates-DevTools/src/MatesDevTools.d.ts +5 -0
  4. package/dist/types/Mates-DevTools/src/MatesDevTools.d.ts.map +1 -0
  5. package/dist/types/Mates-DevTools/src/MatesDevToolsComponent.d.ts +24 -0
  6. package/dist/types/Mates-DevTools/src/MatesDevToolsComponent.d.ts.map +1 -0
  7. package/dist/types/Mates-DevTools/src/components/AtomsViewer.d.ts +2 -0
  8. package/dist/types/Mates-DevTools/src/components/AtomsViewer.d.ts.map +1 -0
  9. package/dist/types/Mates-DevTools/src/components/ComponentInspector.d.ts +27 -0
  10. package/dist/types/Mates-DevTools/src/components/ComponentInspector.d.ts.map +1 -0
  11. package/dist/types/Mates-DevTools/src/components/ComponentList.d.ts +11 -0
  12. package/dist/types/Mates-DevTools/src/components/ComponentList.d.ts.map +1 -0
  13. package/dist/types/Mates-DevTools/src/components/ComponentTree.d.ts +9 -0
  14. package/dist/types/Mates-DevTools/src/components/ComponentTree.d.ts.map +1 -0
  15. package/dist/types/Mates-DevTools/src/components/Header.d.ts +10 -0
  16. package/dist/types/Mates-DevTools/src/components/Header.d.ts.map +1 -0
  17. package/dist/types/Mates-DevTools/src/components/Highlight.d.ts +6 -0
  18. package/dist/types/Mates-DevTools/src/components/Highlight.d.ts.map +1 -0
  19. package/dist/types/Mates-DevTools/src/components/HooksViewer.d.ts +7 -0
  20. package/dist/types/Mates-DevTools/src/components/HooksViewer.d.ts.map +1 -0
  21. package/dist/types/Mates-DevTools/src/components/LogsViewer.d.ts +6 -0
  22. package/dist/types/Mates-DevTools/src/components/LogsViewer.d.ts.map +1 -0
  23. package/dist/types/Mates-DevTools/src/components/PerfViewer.d.ts +7 -0
  24. package/dist/types/Mates-DevTools/src/components/PerfViewer.d.ts.map +1 -0
  25. package/dist/types/Mates-DevTools/src/components/PropsViewer.d.ts +2 -0
  26. package/dist/types/Mates-DevTools/src/components/PropsViewer.d.ts.map +1 -0
  27. package/dist/types/Mates-DevTools/src/components/ScopesViewer.d.ts +2 -0
  28. package/dist/types/Mates-DevTools/src/components/ScopesViewer.d.ts.map +1 -0
  29. package/dist/types/Mates-DevTools/src/components/TimerLogger.d.ts +5 -0
  30. package/dist/types/Mates-DevTools/src/components/TimerLogger.d.ts.map +1 -0
  31. package/dist/types/Mates-DevTools/src/components/UseStateViewer.d.ts +12 -0
  32. package/dist/types/Mates-DevTools/src/components/UseStateViewer.d.ts.map +1 -0
  33. package/dist/types/Mates-DevTools/src/components/ValueTree.d.ts +19 -0
  34. package/dist/types/Mates-DevTools/src/components/ValueTree.d.ts.map +1 -0
  35. package/dist/types/Mates-DevTools/src/index.d.ts +23 -0
  36. package/dist/types/Mates-DevTools/src/index.d.ts.map +1 -0
  37. package/dist/types/Mates-DevTools/src/interceptTimers.d.ts +11 -0
  38. package/dist/types/Mates-DevTools/src/interceptTimers.d.ts.map +1 -0
  39. package/dist/types/Mates-DevTools/src/logStore.d.ts +38 -0
  40. package/dist/types/Mates-DevTools/src/logStore.d.ts.map +1 -0
  41. package/dist/types/Mates-DevTools/src/perfStore.d.ts +36 -0
  42. package/dist/types/Mates-DevTools/src/perfStore.d.ts.map +1 -0
  43. package/dist/types/Mates-DevTools/src/registry.d.ts +68 -0
  44. package/dist/types/Mates-DevTools/src/registry.d.ts.map +1 -0
  45. package/dist/types/Mates-DevTools/src/styles.d.ts +833 -0
  46. package/dist/types/Mates-DevTools/src/styles.d.ts.map +1 -0
  47. package/dist/types/Mates-DevTools/src/types.d.ts +19 -0
  48. package/dist/types/Mates-DevTools/src/types.d.ts.map +1 -0
  49. package/dist/types/lib/Directives/$.d.ts +371 -0
  50. package/dist/types/lib/Directives/$.d.ts.map +1 -0
  51. package/dist/types/lib/Directives/animatedConditional.d.ts +67 -0
  52. package/dist/types/lib/Directives/animatedConditional.d.ts.map +1 -0
  53. package/dist/types/lib/Directives/animationClasses.d.ts +50 -0
  54. package/dist/types/lib/Directives/animationClasses.d.ts.map +1 -0
  55. package/dist/types/lib/Directives/attrDirective.d.ts +69 -0
  56. package/dist/types/lib/Directives/attrDirective.d.ts.map +1 -0
  57. package/dist/types/lib/Directives/classesDirective.d.ts +79 -0
  58. package/dist/types/lib/Directives/classesDirective.d.ts.map +1 -0
  59. package/dist/types/lib/Directives/eleHook.d.ts +84 -0
  60. package/dist/types/lib/Directives/eleHook.d.ts.map +1 -0
  61. package/dist/types/lib/Directives/eventBinding.d.ts +29 -0
  62. package/dist/types/lib/Directives/eventBinding.d.ts.map +1 -0
  63. package/dist/types/lib/Directives/htmlHook.d.ts +101 -0
  64. package/dist/types/lib/Directives/htmlHook.d.ts.map +1 -0
  65. package/dist/types/lib/Directives/index.d.ts +18 -0
  66. package/dist/types/lib/Directives/index.d.ts.map +1 -0
  67. package/dist/types/lib/Directives/intersectDirective.d.ts +67 -0
  68. package/dist/types/lib/Directives/intersectDirective.d.ts.map +1 -0
  69. package/dist/types/lib/Directives/lazyLoadDirective.d.ts +66 -0
  70. package/dist/types/lib/Directives/lazyLoadDirective.d.ts.map +1 -0
  71. package/dist/types/lib/Directives/lifecycleDirectives.d.ts +56 -0
  72. package/dist/types/lib/Directives/lifecycleDirectives.d.ts.map +1 -0
  73. package/dist/types/lib/Directives/masonryGrid.d.ts +114 -0
  74. package/dist/types/lib/Directives/masonryGrid.d.ts.map +1 -0
  75. package/dist/types/lib/Directives/memoTemplate.d.ts +94 -0
  76. package/dist/types/lib/Directives/memoTemplate.d.ts.map +1 -0
  77. package/dist/types/lib/Directives/onDirective.d.ts +71 -0
  78. package/dist/types/lib/Directives/onDirective.d.ts.map +1 -0
  79. package/dist/types/lib/Directives/onParentDirective.d.ts +34 -0
  80. package/dist/types/lib/Directives/onParentDirective.d.ts.map +1 -0
  81. package/dist/types/lib/Directives/renderSwitch.d.ts +55 -0
  82. package/dist/types/lib/Directives/renderSwitch.d.ts.map +1 -0
  83. package/dist/types/lib/Directives/resolveAttrValue.d.ts +35 -0
  84. package/dist/types/lib/Directives/resolveAttrValue.d.ts.map +1 -0
  85. package/dist/types/lib/Directives/styleDirective.d.ts +81 -0
  86. package/dist/types/lib/Directives/styleDirective.d.ts.map +1 -0
  87. package/dist/types/lib/Directives/timerDirective.d.ts +52 -0
  88. package/dist/types/lib/Directives/timerDirective.d.ts.map +1 -0
  89. package/dist/types/lib/Directives/virtualHelpers.d.ts +10 -0
  90. package/dist/types/lib/Directives/virtualHelpers.d.ts.map +1 -0
  91. package/dist/types/lib/Fetch/ErrorTypes.d.ts +74 -0
  92. package/dist/types/lib/Fetch/ErrorTypes.d.ts.map +1 -0
  93. package/dist/types/lib/Fetch/Fetch.d.ts +168 -0
  94. package/dist/types/lib/Fetch/Fetch.d.ts.map +1 -0
  95. package/dist/types/lib/Fetch/index.d.ts +3 -0
  96. package/dist/types/lib/Fetch/index.d.ts.map +1 -0
  97. package/dist/types/lib/Mutables/Extended Atoms/cacheAtom.d.ts +156 -0
  98. package/dist/types/lib/Mutables/Extended Atoms/cacheAtom.d.ts.map +1 -0
  99. package/dist/types/lib/Mutables/Extended Atoms/index.d.ts +4 -0
  100. package/dist/types/lib/Mutables/Extended Atoms/index.d.ts.map +1 -0
  101. package/dist/types/lib/Mutables/Extended Atoms/paginationAtom.d.ts +32 -0
  102. package/dist/types/lib/Mutables/Extended Atoms/paginationAtom.d.ts.map +1 -0
  103. package/dist/types/lib/Mutables/Extended Atoms/themeAtom.d.ts +59 -0
  104. package/dist/types/lib/Mutables/Extended Atoms/themeAtom.d.ts.map +1 -0
  105. package/dist/types/lib/Mutables/atom/atom.d.ts +148 -0
  106. package/dist/types/lib/Mutables/atom/atom.d.ts.map +1 -0
  107. package/dist/types/lib/Mutables/atom/createTimedAtom.d.ts +43 -0
  108. package/dist/types/lib/Mutables/atom/createTimedAtom.d.ts.map +1 -0
  109. package/dist/types/lib/Mutables/atom/debouncedAtom.d.ts +37 -0
  110. package/dist/types/lib/Mutables/atom/debouncedAtom.d.ts.map +1 -0
  111. package/dist/types/lib/Mutables/atom/index.d.ts +10 -0
  112. package/dist/types/lib/Mutables/atom/index.d.ts.map +1 -0
  113. package/dist/types/lib/Mutables/atom/mapAtom.d.ts +105 -0
  114. package/dist/types/lib/Mutables/atom/mapAtom.d.ts.map +1 -0
  115. package/dist/types/lib/Mutables/atom/setAtom.d.ts +107 -0
  116. package/dist/types/lib/Mutables/atom/setAtom.d.ts.map +1 -0
  117. package/dist/types/lib/Mutables/atom/storageAtom.d.ts +44 -0
  118. package/dist/types/lib/Mutables/atom/storageAtom.d.ts.map +1 -0
  119. package/dist/types/lib/Mutables/atom/throttledAtom.d.ts +37 -0
  120. package/dist/types/lib/Mutables/atom/throttledAtom.d.ts.map +1 -0
  121. package/dist/types/lib/Mutables/atom/titleAtom.d.ts +20 -0
  122. package/dist/types/lib/Mutables/atom/titleAtom.d.ts.map +1 -0
  123. package/dist/types/lib/Mutables/effect/effect.d.ts +31 -0
  124. package/dist/types/lib/Mutables/effect/effect.d.ts.map +1 -0
  125. package/dist/types/lib/Mutables/effect/index.d.ts +2 -0
  126. package/dist/types/lib/Mutables/effect/index.d.ts.map +1 -0
  127. package/dist/types/lib/Mutables/events/events.d.ts +123 -0
  128. package/dist/types/lib/Mutables/events/events.d.ts.map +1 -0
  129. package/dist/types/lib/Mutables/events/index.d.ts +2 -0
  130. package/dist/types/lib/Mutables/events/index.d.ts.map +1 -0
  131. package/dist/types/lib/Mutables/events/xTabEvent.d.ts +61 -0
  132. package/dist/types/lib/Mutables/events/xTabEvent.d.ts.map +1 -0
  133. package/dist/types/lib/Mutables/form/formAtom.d.ts +56 -0
  134. package/dist/types/lib/Mutables/form/formAtom.d.ts.map +1 -0
  135. package/dist/types/lib/Mutables/form/index.d.ts +5 -0
  136. package/dist/types/lib/Mutables/form/index.d.ts.map +1 -0
  137. package/dist/types/lib/Mutables/form/transformers.d.ts +4 -0
  138. package/dist/types/lib/Mutables/form/transformers.d.ts.map +1 -0
  139. package/dist/types/lib/Mutables/form/validateAll.d.ts +40 -0
  140. package/dist/types/lib/Mutables/form/validateAll.d.ts.map +1 -0
  141. package/dist/types/lib/Mutables/form/validators.d.ts +61 -0
  142. package/dist/types/lib/Mutables/form/validators.d.ts.map +1 -0
  143. package/dist/types/lib/Mutables/index.d.ts +13 -0
  144. package/dist/types/lib/Mutables/index.d.ts.map +1 -0
  145. package/dist/types/lib/Mutables/memo/index.d.ts +2 -0
  146. package/dist/types/lib/Mutables/memo/index.d.ts.map +1 -0
  147. package/dist/types/lib/Mutables/memo/memo.d.ts +47 -0
  148. package/dist/types/lib/Mutables/memo/memo.d.ts.map +1 -0
  149. package/dist/types/lib/Mutables/reactiveRunner/index.d.ts +4 -0
  150. package/dist/types/lib/Mutables/reactiveRunner/index.d.ts.map +1 -0
  151. package/dist/types/lib/Mutables/reactiveRunner/reactiveRunner.d.ts +56 -0
  152. package/dist/types/lib/Mutables/reactiveRunner/reactiveRunner.d.ts.map +1 -0
  153. package/dist/types/lib/Mutables/reactiveRunner/trackAndSubscribe.d.ts +6 -0
  154. package/dist/types/lib/Mutables/reactiveRunner/trackAndSubscribe.d.ts.map +1 -0
  155. package/dist/types/lib/Mutables/reactiveRunner/validateReactiveFunction.d.ts +6 -0
  156. package/dist/types/lib/Mutables/reactiveRunner/validateReactiveFunction.d.ts.map +1 -0
  157. package/dist/types/lib/Mutables/ref/index.d.ts +2 -0
  158. package/dist/types/lib/Mutables/ref/index.d.ts.map +1 -0
  159. package/dist/types/lib/Mutables/ref/ref.d.ts +74 -0
  160. package/dist/types/lib/Mutables/ref/ref.d.ts.map +1 -0
  161. package/dist/types/lib/Mutables/scope/index.d.ts +2 -0
  162. package/dist/types/lib/Mutables/scope/index.d.ts.map +1 -0
  163. package/dist/types/lib/Mutables/scope/scope.d.ts +60 -0
  164. package/dist/types/lib/Mutables/scope/scope.d.ts.map +1 -0
  165. package/dist/types/lib/Mutables/store/index.d.ts +2 -0
  166. package/dist/types/lib/Mutables/store/index.d.ts.map +1 -0
  167. package/dist/types/lib/Mutables/store/store.d.ts +73 -0
  168. package/dist/types/lib/Mutables/store/store.d.ts.map +1 -0
  169. package/dist/types/lib/Mutables/useState/index.d.ts +2 -0
  170. package/dist/types/lib/Mutables/useState/index.d.ts.map +1 -0
  171. package/dist/types/lib/Mutables/useState/useState.d.ts +54 -0
  172. package/dist/types/lib/Mutables/useState/useState.d.ts.map +1 -0
  173. package/dist/types/lib/Mutables/useStore/hostContext.d.ts +13 -0
  174. package/dist/types/lib/Mutables/useStore/hostContext.d.ts.map +1 -0
  175. package/dist/types/lib/Mutables/useStore/index.d.ts +9 -0
  176. package/dist/types/lib/Mutables/useStore/index.d.ts.map +1 -0
  177. package/dist/types/lib/Mutables/useStore/lifecycle.d.ts +94 -0
  178. package/dist/types/lib/Mutables/useStore/lifecycle.d.ts.map +1 -0
  179. package/dist/types/lib/Mutables/useStore/onError.d.ts +21 -0
  180. package/dist/types/lib/Mutables/useStore/onError.d.ts.map +1 -0
  181. package/dist/types/lib/Mutables/useStore/onReferenceChange.d.ts +2 -0
  182. package/dist/types/lib/Mutables/useStore/onReferenceChange.d.ts.map +1 -0
  183. package/dist/types/lib/Mutables/useStore/safetyCheck.d.ts +2 -0
  184. package/dist/types/lib/Mutables/useStore/safetyCheck.d.ts.map +1 -0
  185. package/dist/types/lib/Mutables/useStore/setter.d.ts +52 -0
  186. package/dist/types/lib/Mutables/useStore/setter.d.ts.map +1 -0
  187. package/dist/types/lib/Mutables/useStore/subscription.d.ts +50 -0
  188. package/dist/types/lib/Mutables/useStore/subscription.d.ts.map +1 -0
  189. package/dist/types/lib/Mutables/useStore/useContext.d.ts +3 -0
  190. package/dist/types/lib/Mutables/useStore/useContext.d.ts.map +1 -0
  191. package/dist/types/lib/Mutables/useStore/useStore.d.ts +7 -0
  192. package/dist/types/lib/Mutables/useStore/useStore.d.ts.map +1 -0
  193. package/dist/types/lib/Router/Router.d.ts +54 -0
  194. package/dist/types/lib/Router/Router.d.ts.map +1 -0
  195. package/dist/types/lib/Router/animatedRouter.d.ts +48 -0
  196. package/dist/types/lib/Router/animatedRouter.d.ts.map +1 -0
  197. package/dist/types/lib/Router/buildPath.d.ts +20 -0
  198. package/dist/types/lib/Router/buildPath.d.ts.map +1 -0
  199. package/dist/types/lib/Router/hashAtom.d.ts +12 -0
  200. package/dist/types/lib/Router/hashAtom.d.ts.map +1 -0
  201. package/dist/types/lib/Router/index.d.ts +11 -0
  202. package/dist/types/lib/Router/index.d.ts.map +1 -0
  203. package/dist/types/lib/Router/isPathMatching.d.ts +12 -0
  204. package/dist/types/lib/Router/isPathMatching.d.ts.map +1 -0
  205. package/dist/types/lib/Router/location.d.ts +74 -0
  206. package/dist/types/lib/Router/location.d.ts.map +1 -0
  207. package/dist/types/lib/Router/navigateTo.d.ts +31 -0
  208. package/dist/types/lib/Router/navigateTo.d.ts.map +1 -0
  209. package/dist/types/lib/Router/navigationLock.d.ts +50 -0
  210. package/dist/types/lib/Router/navigationLock.d.ts.map +1 -0
  211. package/dist/types/lib/Router/pathAtom.d.ts +42 -0
  212. package/dist/types/lib/Router/pathAtom.d.ts.map +1 -0
  213. package/dist/types/lib/Router/pathResolver.d.ts +9 -0
  214. package/dist/types/lib/Router/pathResolver.d.ts.map +1 -0
  215. package/dist/types/lib/Router/qsAtom.d.ts +12 -0
  216. package/dist/types/lib/Router/qsAtom.d.ts.map +1 -0
  217. package/dist/types/lib/Template/index.d.ts +6 -0
  218. package/dist/types/lib/Template/index.d.ts.map +1 -0
  219. package/dist/types/lib/Template/scheduler.d.ts +59 -0
  220. package/dist/types/lib/Template/scheduler.d.ts.map +1 -0
  221. package/dist/types/lib/Template/x-x.d.ts +60 -0
  222. package/dist/types/lib/Template/x-x.d.ts.map +1 -0
  223. package/dist/types/lib/Template/x-x.types.d.ts +91 -0
  224. package/dist/types/lib/Template/x-x.types.d.ts.map +1 -0
  225. package/dist/types/lib/Template/x-x.utils.d.ts +15 -0
  226. package/dist/types/lib/Template/x-x.utils.d.ts.map +1 -0
  227. package/dist/types/lib/Template/x.d.ts +5 -0
  228. package/dist/types/lib/Template/x.d.ts.map +1 -0
  229. package/dist/types/lib/Template/xProvider.d.ts +2 -0
  230. package/dist/types/lib/Template/xProvider.d.ts.map +1 -0
  231. package/dist/types/lib/Timers/createManagedTimer.d.ts +12 -0
  232. package/dist/types/lib/Timers/createManagedTimer.d.ts.map +1 -0
  233. package/dist/types/lib/Timers/index.d.ts +4 -0
  234. package/dist/types/lib/Timers/index.d.ts.map +1 -0
  235. package/dist/types/lib/Timers/interval.d.ts +2 -0
  236. package/dist/types/lib/Timers/interval.d.ts.map +1 -0
  237. package/dist/types/lib/Timers/timeout.d.ts +2 -0
  238. package/dist/types/lib/Timers/timeout.d.ts.map +1 -0
  239. package/dist/types/lib/TrackState/componentStatus.d.ts +105 -0
  240. package/dist/types/lib/TrackState/componentStatus.d.ts.map +1 -0
  241. package/dist/types/lib/TrackState/readTracking.d.ts +20 -0
  242. package/dist/types/lib/TrackState/readTracking.d.ts.map +1 -0
  243. package/dist/types/lib/Utils/Context.d.ts +6 -0
  244. package/dist/types/lib/Utils/Context.d.ts.map +1 -0
  245. package/dist/types/lib/Utils/Date/calendar.d.ts +30 -0
  246. package/dist/types/lib/Utils/Date/calendar.d.ts.map +1 -0
  247. package/dist/types/lib/Utils/Date/core.d.ts +29 -0
  248. package/dist/types/lib/Utils/Date/core.d.ts.map +1 -0
  249. package/dist/types/lib/Utils/Date/date.d.ts +60 -0
  250. package/dist/types/lib/Utils/Date/date.d.ts.map +1 -0
  251. package/dist/types/lib/Utils/Date/index.d.ts +3 -0
  252. package/dist/types/lib/Utils/Date/index.d.ts.map +1 -0
  253. package/dist/types/lib/Utils/deepClone.d.ts +7 -0
  254. package/dist/types/lib/Utils/deepClone.d.ts.map +1 -0
  255. package/dist/types/lib/Utils/deepFreeze.d.ts +2 -0
  256. package/dist/types/lib/Utils/deepFreeze.d.ts.map +1 -0
  257. package/dist/types/lib/Utils/getAllProps.d.ts +2 -0
  258. package/dist/types/lib/Utils/getAllProps.d.ts.map +1 -0
  259. package/dist/types/lib/Utils/helpers.d.ts +13 -0
  260. package/dist/types/lib/Utils/helpers.d.ts.map +1 -0
  261. package/dist/types/lib/Utils/index.d.ts +13 -0
  262. package/dist/types/lib/Utils/index.d.ts.map +1 -0
  263. package/dist/types/lib/Utils/is.d.ts +12 -0
  264. package/dist/types/lib/Utils/is.d.ts.map +1 -0
  265. package/dist/types/lib/Utils/isDefinedAsGetter.d.ts +2 -0
  266. package/dist/types/lib/Utils/isDefinedAsGetter.d.ts.map +1 -0
  267. package/dist/types/lib/Utils/logger.d.ts +22 -0
  268. package/dist/types/lib/Utils/logger.d.ts.map +1 -0
  269. package/dist/types/lib/Utils/notificationManager.d.ts +67 -0
  270. package/dist/types/lib/Utils/notificationManager.d.ts.map +1 -0
  271. package/dist/types/lib/Utils/registerCleanup.d.ts +7 -0
  272. package/dist/types/lib/Utils/registerCleanup.d.ts.map +1 -0
  273. package/dist/types/lib/Utils/svgIcon.d.ts +95 -0
  274. package/dist/types/lib/Utils/svgIcon.d.ts.map +1 -0
  275. package/dist/types/lib/Utils/uuid.d.ts +7 -0
  276. package/dist/types/lib/Utils/uuid.d.ts.map +1 -0
  277. package/dist/types/lib/ZeroPromise/index.d.ts +2 -0
  278. package/dist/types/lib/ZeroPromise/index.d.ts.map +1 -0
  279. package/dist/types/lib/ZeroPromise/zero.d.ts +23 -0
  280. package/dist/types/lib/ZeroPromise/zero.d.ts.map +1 -0
  281. package/dist/types/lib/actions/action.d.ts +14 -0
  282. package/dist/types/lib/actions/action.d.ts.map +1 -0
  283. package/dist/types/lib/actions/animatePresets.d.ts +38 -0
  284. package/dist/types/lib/actions/animatePresets.d.ts.map +1 -0
  285. package/dist/types/lib/actions/animateSwap.d.ts +79 -0
  286. package/dist/types/lib/actions/animateSwap.d.ts.map +1 -0
  287. package/dist/types/lib/actions/animateTypes.d.ts +103 -0
  288. package/dist/types/lib/actions/animateTypes.d.ts.map +1 -0
  289. package/dist/types/lib/actions/asyncAction.d.ts +4 -0
  290. package/dist/types/lib/actions/asyncAction.d.ts.map +1 -0
  291. package/dist/types/lib/actions/asyncActionCache.d.ts +16 -0
  292. package/dist/types/lib/actions/asyncActionCache.d.ts.map +1 -0
  293. package/dist/types/lib/actions/asyncActionPolling.d.ts +14 -0
  294. package/dist/types/lib/actions/asyncActionPolling.d.ts.map +1 -0
  295. package/dist/types/lib/actions/asyncActionTypes.d.ts +74 -0
  296. package/dist/types/lib/actions/asyncActionTypes.d.ts.map +1 -0
  297. package/dist/types/lib/actions/createTimingFunction.d.ts +23 -0
  298. package/dist/types/lib/actions/createTimingFunction.d.ts.map +1 -0
  299. package/dist/types/lib/actions/debounce.d.ts +10 -0
  300. package/dist/types/lib/actions/debounce.d.ts.map +1 -0
  301. package/dist/types/lib/actions/index.d.ts +12 -0
  302. package/dist/types/lib/actions/index.d.ts.map +1 -0
  303. package/dist/types/lib/actions/paginatedAsyncAction.d.ts +121 -0
  304. package/dist/types/lib/actions/paginatedAsyncAction.d.ts.map +1 -0
  305. package/dist/types/lib/actions/taskAction.d.ts +105 -0
  306. package/dist/types/lib/actions/taskAction.d.ts.map +1 -0
  307. package/dist/types/lib/actions/throttle.d.ts +9 -0
  308. package/dist/types/lib/actions/throttle.d.ts.map +1 -0
  309. package/dist/types/lib/css-in-js/cl.d.ts +37 -0
  310. package/dist/types/lib/css-in-js/cl.d.ts.map +1 -0
  311. package/dist/types/lib/css-in-js/index.d.ts +7 -0
  312. package/dist/types/lib/css-in-js/index.d.ts.map +1 -0
  313. package/dist/types/lib/css-in-js/sanitize.d.ts +31 -0
  314. package/dist/types/lib/css-in-js/sanitize.d.ts.map +1 -0
  315. package/dist/types/lib/css-in-js/serialize.d.ts +98 -0
  316. package/dist/types/lib/css-in-js/serialize.d.ts.map +1 -0
  317. package/dist/types/lib/css-in-js/stylesheet.d.ts +188 -0
  318. package/dist/types/lib/css-in-js/stylesheet.d.ts.map +1 -0
  319. package/dist/types/lib/css-in-js/theme.d.ts +110 -0
  320. package/dist/types/lib/css-in-js/theme.d.ts.map +1 -0
  321. package/dist/types/lib/devtools/devtoolsHooks.d.ts +101 -0
  322. package/dist/types/lib/devtools/devtoolsHooks.d.ts.map +1 -0
  323. package/dist/types/lib/devtools/index.d.ts +2 -0
  324. package/dist/types/lib/devtools/index.d.ts.map +1 -0
  325. package/dist/types/lib/index.d.ts +46 -0
  326. package/dist/types/lib/index.d.ts.map +1 -0
  327. package/dist/types/lib/on/hooks.d.ts +319 -0
  328. package/dist/types/lib/on/hooks.d.ts.map +1 -0
  329. package/dist/types/lib/on/index.d.ts +3 -0
  330. package/dist/types/lib/on/index.d.ts.map +1 -0
  331. package/dist/types/lib/on/on.d.ts +16 -0
  332. package/dist/types/lib/on/on.d.ts.map +1 -0
  333. package/dist/types/lib/portals/dialog.d.ts +56 -0
  334. package/dist/types/lib/portals/dialog.d.ts.map +1 -0
  335. package/dist/types/lib/portals/index.d.ts +9 -0
  336. package/dist/types/lib/portals/index.d.ts.map +1 -0
  337. package/dist/types/lib/portals/popup.d.ts +37 -0
  338. package/dist/types/lib/portals/popup.d.ts.map +1 -0
  339. package/dist/types/lib/portals/portal.d.ts +57 -0
  340. package/dist/types/lib/portals/portal.d.ts.map +1 -0
  341. package/dist/types/lib/portals/tip.d.ts +38 -0
  342. package/dist/types/lib/portals/tip.d.ts.map +1 -0
  343. package/dist/types/lib/socket/index.d.ts +2 -0
  344. package/dist/types/lib/socket/index.d.ts.map +1 -0
  345. package/dist/types/lib/socket/ws.d.ts +83 -0
  346. package/dist/types/lib/socket/ws.d.ts.map +1 -0
  347. package/dist/types/lib/ssr/index.d.ts +3 -0
  348. package/dist/types/lib/ssr/index.d.ts.map +1 -0
  349. package/dist/types/lib/ssr/ssr-bridge.d.ts +89 -0
  350. package/dist/types/lib/ssr/ssr-bridge.d.ts.map +1 -0
  351. package/dist/types/lib/ssr/ssrFlag.d.ts +38 -0
  352. package/dist/types/lib/ssr/ssrFlag.d.ts.map +1 -0
  353. package/dist/types/lib/virtualizer/ScrollerController.d.ts +54 -0
  354. package/dist/types/lib/virtualizer/ScrollerController.d.ts.map +1 -0
  355. package/dist/types/lib/virtualizer/Virtualizer.d.ts +214 -0
  356. package/dist/types/lib/virtualizer/Virtualizer.d.ts.map +1 -0
  357. package/dist/types/lib/virtualizer/events.d.ts +27 -0
  358. package/dist/types/lib/virtualizer/events.d.ts.map +1 -0
  359. package/dist/types/lib/virtualizer/layouts/flow.d.ts +123 -0
  360. package/dist/types/lib/virtualizer/layouts/flow.d.ts.map +1 -0
  361. package/dist/types/lib/virtualizer/layouts/grid.d.ts +25 -0
  362. package/dist/types/lib/virtualizer/layouts/grid.d.ts.map +1 -0
  363. package/dist/types/lib/virtualizer/layouts/masonry.d.ts +37 -0
  364. package/dist/types/lib/virtualizer/layouts/masonry.d.ts.map +1 -0
  365. package/dist/types/lib/virtualizer/layouts/shared/BaseLayout.d.ts +204 -0
  366. package/dist/types/lib/virtualizer/layouts/shared/BaseLayout.d.ts.map +1 -0
  367. package/dist/types/lib/virtualizer/layouts/shared/GridBaseLayout.d.ts +41 -0
  368. package/dist/types/lib/virtualizer/layouts/shared/GridBaseLayout.d.ts.map +1 -0
  369. package/dist/types/lib/virtualizer/layouts/shared/Layout.d.ts +138 -0
  370. package/dist/types/lib/virtualizer/layouts/shared/Layout.d.ts.map +1 -0
  371. package/dist/types/lib/virtualizer/layouts/shared/SizeCache.d.ts +19 -0
  372. package/dist/types/lib/virtualizer/layouts/shared/SizeCache.d.ts.map +1 -0
  373. package/dist/types/lib/virtualizer/layouts/shared/SizeGapPaddingBaseLayout.d.ts +57 -0
  374. package/dist/types/lib/virtualizer/layouts/shared/SizeGapPaddingBaseLayout.d.ts.map +1 -0
  375. package/dist/types/lib/virtualizer/mates-adapter.d.ts +201 -0
  376. package/dist/types/lib/virtualizer/mates-adapter.d.ts.map +1 -0
  377. package/dist/types/lib/virtualizer/virtualize.d.ts +52 -0
  378. package/dist/types/lib/virtualizer/virtualize.d.ts.map +1 -0
  379. package/package.json +45 -0
@@ -0,0 +1,30 @@
1
+ import { type MatesDate } from "./date";
2
+ /** One calendar month with 1-based index and locale-aware names. */
3
+ export interface MonthInfo {
4
+ /** Month 1–12 (January = 1). */
5
+ number: number;
6
+ /** Localised full month name (e.g. "January"). */
7
+ name: string;
8
+ /** Localised abbreviated month name (e.g. "Jan"). */
9
+ shortName: string;
10
+ }
11
+ /**
12
+ * All twelve months with names formatted for the given locale (or mates date
13
+ * locale from {@link setLocale} / `navigator.language`).
14
+ *
15
+ * Uses UTC anchor dates so labels are stable across time zones.
16
+ */
17
+ export declare function getMonths(locale?: string): MonthInfo[];
18
+ /**
19
+ * Calendar grid for a month as weeks × 7 days. Each cell is a {@link date}
20
+ * instance (`MatesDate`) for that calendar day in the configured local offset /
21
+ * timezone (see {@link setTimezone}, {@link setTimezoneOffset}).
22
+ *
23
+ * The week always starts on **Sunday** (column 0), regardless of locale
24
+ * `weekInfo` / regional conventions.
25
+ *
26
+ * @param year Full year (e.g. 2026)
27
+ * @param month Calendar month **1–12** (January = 1)
28
+ */
29
+ export declare function getCalendar(year: number, month: number): MatesDate[][];
30
+ //# sourceMappingURL=calendar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"calendar.d.ts","sourceRoot":"","sources":["../../../../../../lib/Utils/Date/calendar.ts"],"names":[],"mappings":"AAGA,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,QAAQ,CAAC;AAE9C,oEAAoE;AACpE,MAAM,WAAW,SAAS;IACxB,gCAAgC;IAChC,MAAM,EAAE,MAAM,CAAC;IACf,kDAAkD;IAClD,IAAI,EAAE,MAAM,CAAC;IACb,qDAAqD;IACrD,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;;;;GAKG;AACH,wBAAgB,SAAS,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,EAAE,CAoBtD;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,SAAS,EAAE,EAAE,CA2CtE"}
@@ -0,0 +1,29 @@
1
+ export declare function _setOffset(v: number | null): void;
2
+ export declare function _setTzName(v: string | null): void;
3
+ export declare function _setLocale(v: string | null): void;
4
+ export declare function _getTzName(): string | null;
5
+ export declare function _offset(): number;
6
+ export declare function _loc(): string;
7
+ export declare function _ianaOffset(name: string, ms: number): number;
8
+ export declare function _ianaShortName(name: string, ms: number): string;
9
+ export declare function _ianaLongName(name: string, ms: number): string;
10
+ export declare function _wc(ms: number, off: number): {
11
+ Y: number;
12
+ M: number;
13
+ D: number;
14
+ h: number;
15
+ m: number;
16
+ s: number;
17
+ ms: number;
18
+ wd: number;
19
+ };
20
+ export declare const _p2: (n: number) => string;
21
+ export declare const _p3: (n: number) => string;
22
+ export declare function _locText(ms: number, style: "long" | "short", type: "month" | "weekday"): string;
23
+ export declare function _fmtOff(off: number, colon: boolean): string;
24
+ export declare function _normUnit(u: string): string;
25
+ export declare function _weekStart(): number;
26
+ export declare const _TOKEN: RegExp;
27
+ export declare function _dayName(wd: number): string;
28
+ export declare function _monthName(month1: number): string;
29
+ //# sourceMappingURL=core.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../../../../../../lib/Utils/Date/core.ts"],"names":[],"mappings":"AAUA,wBAAgB,UAAU,CAAC,CAAC,EAAE,MAAM,GAAG,IAAI,QAE1C;AACD,wBAAgB,UAAU,CAAC,CAAC,EAAE,MAAM,GAAG,IAAI,QAE1C;AACD,wBAAgB,UAAU,CAAC,CAAC,EAAE,MAAM,GAAG,IAAI,QAE1C;AACD,wBAAgB,UAAU,IAAI,MAAM,GAAG,IAAI,CAE1C;AAED,wBAAgB,OAAO,IAAI,MAAM,CAEhC;AAED,wBAAgB,IAAI,IAAI,MAAM,CAM7B;AAID,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,MAAM,CAiB5D;AAID,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,MAAM,CAW/D;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,MAAM,CAW9D;AAID,wBAAgB,GAAG,CAAC,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM;;;;;;;;;EAY1C;AAID,eAAO,MAAM,GAAG,GAAI,GAAG,MAAM,WAA+B,CAAC;AAC7D,eAAO,MAAM,GAAG,GAAI,GAAG,MAAM,WAA+B,CAAC;AAI7D,wBAAgB,QAAQ,CACtB,EAAE,EAAE,MAAM,EACV,KAAK,EAAE,MAAM,GAAG,OAAO,EACvB,IAAI,EAAE,OAAO,GAAG,SAAS,GACxB,MAAM,CASR;AAID,wBAAgB,OAAO,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,GAAG,MAAM,CAM3D;AAID,wBAAgB,SAAS,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAgB3C;AAID,wBAAgB,UAAU,IAAI,MAAM,CAUnC;AAID,eAAO,MAAM,MAAM,QACkD,CAAC;AActE,wBAAgB,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,CAY3C;AAED,wBAAgB,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAUjD"}
@@ -0,0 +1,60 @@
1
+ export interface TimezoneEntry {
2
+ name: string;
3
+ longName: string;
4
+ shortName: string;
5
+ offset: number;
6
+ }
7
+ export type DateUnit = "year" | "years" | "month" | "months" | "week" | "weeks" | "day" | "days" | "hour" | "hours" | "minute" | "minutes" | "second" | "seconds" | "ms" | "milliseconds";
8
+ export interface DateValues {
9
+ year: number;
10
+ month: number;
11
+ monthName: string;
12
+ dayName: string;
13
+ date: number;
14
+ weekStartDayName: string;
15
+ numberOfDaysOfTheMonth: number;
16
+ hours: number;
17
+ minutes: number;
18
+ seconds: number;
19
+ milliSeconds: number;
20
+ timestamp: number;
21
+ iso: string;
22
+ }
23
+ export type MatesDate = number & {
24
+ readonly values: DateValues;
25
+ toJSON(): string;
26
+ format(fmt: string): string;
27
+ formatLongAgo(opts?: {
28
+ now?: number | string | Date | MatesDate;
29
+ numeric?: "auto" | "always";
30
+ style?: "long" | "short" | "narrow";
31
+ }): string;
32
+ add(amount: number, unit: DateUnit): MatesDate;
33
+ subtract(amount: number, unit: DateUnit): MatesDate;
34
+ isBefore(other: DateInput): boolean;
35
+ isAfter(other: DateInput): boolean;
36
+ isFuture(): boolean;
37
+ isPresent(): boolean;
38
+ isToday(): boolean;
39
+ isYesterday(): boolean;
40
+ isTomorrow(): boolean;
41
+ getDifference(other: DateInput, unit: DateUnit): number;
42
+ getAge(at?: DateInput): number;
43
+ };
44
+ export type DateInput = number | string | Date | MatesDate | {
45
+ year?: number;
46
+ month?: number;
47
+ day?: number;
48
+ hour?: number;
49
+ minute?: number;
50
+ second?: number;
51
+ ms?: number;
52
+ };
53
+ export declare function date(input?: DateInput): MatesDate;
54
+ export declare function setTimezone(tz: TimezoneEntry | null | undefined): void;
55
+ export declare function setTimezoneOffset(minutes: number): void;
56
+ export declare function getTimezoneOffset(): number;
57
+ export declare function setLocale(locale: string | null | undefined): void;
58
+ export declare function getLocale(): string;
59
+ export declare function getAllTimezones(): TimezoneEntry[];
60
+ //# sourceMappingURL=date.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"date.d.ts","sourceRoot":"","sources":["../../../../../../lib/Utils/Date/date.ts"],"names":[],"mappings":"AAyBA,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,MAAM,QAAQ,GAChB,MAA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":"index.d.ts","sourceRoot":"","sources":["../../../../../../lib/Utils/Date/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Deep-clones a value. Uses native structuredClone when available (modern browsers),
3
+ * otherwise falls back to a recursive clone that supports primitives, plain objects,
4
+ * arrays, Date, Map, and Set. Handles circular references.
5
+ */
6
+ export declare function deepClone<T>(value: T, seen?: WeakMap<object, object>): T;
7
+ //# sourceMappingURL=deepClone.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deepClone.d.ts","sourceRoot":"","sources":["../../../../../lib/Utils/deepClone.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,CAAC,EACzB,KAAK,EAAE,CAAC,EACR,IAAI,0BAAgC,GACnC,CAAC,CA6CH"}
@@ -0,0 +1,2 @@
1
+ export declare function deepFreeze(obj: any): void;
2
+ //# sourceMappingURL=deepFreeze.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deepFreeze.d.ts","sourceRoot":"","sources":["../../../../../lib/Utils/deepFreeze.ts"],"names":[],"mappings":"AAAA,wBAAgB,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,IAAI,CAkBzC"}
@@ -0,0 +1,2 @@
1
+ export declare function getAllProps(obj: object): PropertyKey[];
2
+ //# sourceMappingURL=getAllProps.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getAllProps.d.ts","sourceRoot":"","sources":["../../../../../lib/Utils/getAllProps.ts"],"names":[],"mappings":"AAAA,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,WAAW,EAAE,CA8BtD"}
@@ -0,0 +1,13 @@
1
+ export declare function get<T = any>(obj: any, path: string, defaultValue?: T): T | undefined;
2
+ export declare function pick<T extends Record<string, any>, K extends keyof T>(obj: T, keys: K[]): Pick<T, K>;
3
+ export declare function omit<T extends Record<string, any>, K extends keyof T>(obj: T, keys: K[]): Omit<T, K>;
4
+ export declare function merge<T extends Record<string, any>>(target: T, ...sources: Record<string, any>[]): T;
5
+ export declare function clamp(value: number, min: number, max: number): number;
6
+ export declare function range(start: number, end?: number, step?: number): number[];
7
+ export declare function chunk<T>(array: T[], size: number): T[][];
8
+ export declare function uniqBy<T>(array: T[], iteratee: (item: T) => any): T[];
9
+ export declare function groupBy<T>(array: T[], iteratee: (item: T) => string | number): Record<string, T[]>;
10
+ export declare function isEmpty(value: unknown): boolean;
11
+ export type IterateDeeplyCallback = (key: string | number, value: unknown, parent: Record<string, any> | any[]) => unknown | undefined;
12
+ export declare function iterateDeeply(obj: Record<string, any> | any[], callback: IterateDeeplyCallback): void;
13
+ //# sourceMappingURL=helpers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../lib/Utils/helpers.ts"],"names":[],"mappings":"AASA,wBAAgB,GAAG,CAAC,CAAC,GAAG,GAAG,EACzB,GAAG,EAAE,GAAG,EACR,IAAI,EAAE,MAAM,EACZ,YAAY,CAAC,EAAE,CAAC,GACf,CAAC,GAAG,SAAS,CAQf;AASD,wBAAgB,IAAI,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,EACnE,GAAG,EAAE,CAAC,EACN,IAAI,EAAE,CAAC,EAAE,GACR,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,CAQZ;AAQD,wBAAgB,IAAI,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,CAAC,SAAS,MAAM,CAAC,EACnE,GAAG,EAAE,CAAC,EACN,IAAI,EAAE,CAAC,EAAE,GACR,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,CAMZ;AAcD,wBAAgB,KAAK,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EACjD,MAAM,EAAE,CAA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
+ export * from "./deepFreeze";
4
+ export * from "./getAllProps";
5
+ export * from "./helpers";
6
+ export * from "./is";
7
+ export * from "./isDefinedAsGetter";
8
+ export * from "./logger";
9
+ export * from "./notificationManager";
10
+ export * from "./registerCleanup";
11
+ export * from "./svgIcon";
12
+ export * from "./uuid";
13
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../lib/Utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,MAAM,CAAC;AACrB,cAAc,qBAAqB,CAAC;AACpC,cAAc,UAAU,CAAC;AACzB,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC"}
@@ -0,0 +1,12 @@
1
+ export declare const isAtom: (value: any) => boolean;
2
+ export declare const isUnit: (value: any) => boolean;
3
+ export declare const isAction: (value: any) => boolean;
4
+ export declare const isAsyncAction: (value: any) => boolean;
5
+ export declare const isSetter: (value: any) => boolean;
6
+ export declare const isEvent: (value: any) => boolean;
7
+ export declare const isConfirmationEvent: (value: any) => boolean;
8
+ export declare const isChannel: (value: any) => boolean;
9
+ export declare const isGetter: (value: any) => boolean;
10
+ export declare const isFunction: (value: any) => boolean;
11
+ export declare const isAsyncFunction: (value: any) => boolean;
12
+ //# sourceMappingURL=is.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"is.d.ts","sourceRoot":"","sources":["../../../../../lib/Utils/is.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM,GAAI,OAAO,GAAG,KAAG,OAIK,CAAC;AAE1C,eAAO,MAAM,MAAM,GAAI,OAAO,GAAG,KAAG,OAKC,CAAC;AAEtC,eAAO,MAAM,QAAQ,GAAI,OAAO,GAAG,KAAG,OAGG,CAAC;AAE1C,eAAO,MAAM,aAAa,GAAI,OAAO,GAAG,KAAG,OAGJ,CAAC;AAExC,eAAO,MAAM,QAAQ,GAAI,OAAO,GAAG,KAAG,OAGG,CAAC;AAE1C,eAAO,MAAM,OAAO,GAAI,OAAO,GAAG,KAAG,OAKA,CAAC;AAEtC,eAAO,MAAM,mBAAmB,GAAI,OAAO,GAAG,KAAG,OAKH,CAAC;AAE/C,eAAO,MAAM,SAAS,GAAI,OAAO,GAAG,KAAG,OAIL,CAAC;AAEnC,eAAO,MAAM,QAAQ,GAAI,OAAO,GAAG,KAAG,OAGU,CAAC;AAEjD,eAAO,MAAM,UAAU,GAAI,OAAO,GAAG,KAAG,OAAsC,CAAC;AAE/E,eAAO,MAAM,eAAe,GAAI,OAAO,GAAG,KAAG,OACD,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare function isDefinedAsGetter(obj: object, key: PropertyKey): (() => any) | null;
2
+ //# sourceMappingURL=isDefinedAsGetter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"isDefinedAsGetter.d.ts","sourceRoot":"","sources":["../../../../../lib/Utils/isDefinedAsGetter.ts"],"names":[],"mappings":"AAAA,wBAAgB,iBAAiB,CAC/B,GAAG,EAAE,MAAM,EACX,GAAG,EAAE,WAAW,GACf,CAAC,MAAM,GAAG,CAAC,GAAG,IAAI,CAgBpB"}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Logger utility that only logs errors in localhost/development environment
3
+ */
4
+ /**
5
+ * Log an error only in localhost/development environment
6
+ * @param error - The error to log
7
+ * @param context - Optional context information
8
+ */
9
+ export declare function logError(error: any, context?: string): void;
10
+ /**
11
+ * Log a warning only in localhost/development environment
12
+ * @param message - The warning message
13
+ * @param context - Optional context information
14
+ */
15
+ export declare function logWarning(message: any, context?: string): void;
16
+ /**
17
+ * Log info only in localhost/development environment
18
+ * @param message - The info message
19
+ * @param context - Optional context information
20
+ */
21
+ export declare function logInfo(message: any, context?: string): void;
22
+ //# sourceMappingURL=logger.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../../../../lib/Utils/logger.ts"],"names":[],"mappings":"AAAA;;GAEG;AAsBH;;;;GAIG;AACH,wBAAgB,QAAQ,CAAC,KAAK,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAQ3D;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,OAAO,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAQ/D;AAED;;;;GAIG;AACH,wBAAgB,OAAO,CAAC,OAAO,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAQ5D"}
@@ -0,0 +1,67 @@
1
+ /**
2
+ * Notification Manager - Reusable subscription and notification logic
3
+ *
4
+ * Provides a centralized way to manage subscribers and notifications
5
+ * with automatic batching, error handling, and version tracking.
6
+ */
7
+ type Subscriber = () => void;
8
+ export declare class NotificationManager {
9
+ #private;
10
+ /**
11
+ * Subscribe to notifications
12
+ * @param fn - Callback to execute on notification
13
+ * @returns Unsubscribe function
14
+ */
15
+ subscribe(fn: Subscriber): () => void;
16
+ /**
17
+ * Notify all subscribers synchronously.
18
+ *
19
+ * Subscribers are responsible for routing themselves to the correct
20
+ * scheduler (effectScheduler for effects, globalScheduler for components).
21
+ * This must be synchronous so that cascading state changes inside the
22
+ * effectScheduler drain loop are captured immediately.
23
+ */
24
+ notify(): void;
25
+ /**
26
+ * Get current version number
27
+ */
28
+ getVersion(): number;
29
+ /**
30
+ * Get number of subscribers
31
+ */
32
+ get subscriberCount(): number;
33
+ /**
34
+ * Clear all subscribers
35
+ */
36
+ clear(): void;
37
+ }
38
+ /**
39
+ * Synchronous Notification Manager - For events that need immediate execution
40
+ *
41
+ * Unlike NotificationManager, this executes handlers synchronously
42
+ * without batching or version tracking. Ideal for event systems.
43
+ */
44
+ export declare class SyncNotificationManager<T = any> {
45
+ #private;
46
+ /**
47
+ * Subscribe to notifications
48
+ * @param handler - Callback to execute on notification
49
+ * @returns Unsubscribe function
50
+ */
51
+ subscribe(handler: (data: T) => void): () => void;
52
+ /**
53
+ * Trigger all handlers synchronously with data
54
+ * @param data - Data to pass to handlers
55
+ */
56
+ trigger(data: T): void;
57
+ /**
58
+ * Get number of handlers
59
+ */
60
+ get handlerCount(): number;
61
+ /**
62
+ * Clear all handlers
63
+ */
64
+ clear(): void;
65
+ }
66
+ export {};
67
+ //# sourceMappingURL=notificationManager.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notificationManager.d.ts","sourceRoot":"","sources":["../../../../../lib/Utils/notificationManager.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AAEH,KAAK,UAAU,GAAG,MAAM,IAAI,CAAC;AAE7B,qBAAa,mBAAmB;;IAI9B;;;;OAIG;IACH,SAAS,CAAC,EAAE,EAAE,UAAU,GAAG,MAAM,IAAI;IAKrC;;;;;;;OAOG;IACH,MAAM,IAAI,IAAI;IAWd;;OAEG;IACH,UAAU,IAAI,MAAM;IAIpB;;OAEG;IACH,IAAI,eAAe,IAAI,MAAM,CAE5B;IAED;;OAEG;IACH,KAAK,IAAI,IAAI;CAGd;AAED;;;;;GAKG;AACH,qBAAa,uBAAuB,CAAC,CAAC,GAAG,GAAG;;IAG1C;;;;OAIG;IACH,SAAS,CAAC,OAAO,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,IAAI,GAAG,MAAM,IAAI;IASjD;;;OAGG;IACH,OAAO,CAAC,IAAI,EAAE,CAAC,GAAG,IAAI;IAUtB;;OAEG;IACH,IAAI,YAAY,IAAI,MAAM,CAEzB;IAED;;OAEG;IACH,KAAK,IAAI,IAAI;CAGd"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Register a cleanup function to be called when the component unmounts
3
+ * @param key - Unique key for the cleanup (typically the resource being cleaned up)
4
+ * @param cleanup - Cleanup function to execute on unmount
5
+ */
6
+ export declare const registerCleanup: (key: any, cleanup: Function) => void;
7
+ //# sourceMappingURL=registerCleanup.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"registerCleanup.d.ts","sourceRoot":"","sources":["../../../../../lib/Utils/registerCleanup.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,eAAO,MAAM,eAAe,GAAI,KAAK,GAAG,EAAE,SAAS,QAAQ,KAAG,IAK7D,CAAC"}
@@ -0,0 +1,95 @@
1
+ import type { ChildPart, PartInfo } from "lit-html/directive.js";
2
+ import { Directive } from "lit-html/directive.js";
3
+ /**
4
+ * Configuration for styling the root `<svg>` element.
5
+ * Used by `safeSVG()` / `unsafeSVG()`.
6
+ */
7
+ export type SvgConfig = {
8
+ /** Width of the SVG element (px string or any CSS value). */
9
+ width?: string | number;
10
+ /** Height of the SVG element (px string or any CSS value). */
11
+ height?: string | number;
12
+ /** Shorthand — sets both width and height to the same value. */
13
+ size?: string | number;
14
+ /** Sets the `fill` attribute on the root `<svg>`. */
15
+ fill?: string;
16
+ /** Sets the `stroke` attribute on the root `<svg>`. */
17
+ stroke?: string;
18
+ /** Sets the `color` CSS property (works with `currentColor` fills). */
19
+ color?: string;
20
+ /** Sets the `stroke-width` attribute on the root `<svg>`. */
21
+ strokeWidth?: string | number;
22
+ /** Sets the `stroke-linecap` attribute. */
23
+ strokeLinecap?: "butt" | "round" | "square";
24
+ /** Sets the `stroke-linejoin` attribute. */
25
+ strokeLinejoin?: "miter" | "round" | "bevel";
26
+ /** Sets the `opacity` attribute on the root `<svg>`. */
27
+ opacity?: string | number;
28
+ /** Custom CSS class(es) to add to the root `<svg>`. */
29
+ class?: string;
30
+ /** Sets the `viewBox` attribute (e.g. `"0 0 24 24"`). */
31
+ viewBox?: string;
32
+ /** Additional inline style string appended to the element's style attr. */
33
+ style?: string;
34
+ /** Sets `aria-label` for accessibility. */
35
+ ariaLabel?: string;
36
+ /**
37
+ * When true, sets `aria-hidden="true"` (decorative icon).
38
+ * Defaults to `true`.
39
+ */
40
+ ariaHidden?: boolean;
41
+ /** Sets the `transform` attribute on the root `<svg>`. */
42
+ transform?: string;
43
+ };
44
+ declare class SvgIconDirective extends Directive {
45
+ #private;
46
+ constructor(partInfo: PartInfo);
47
+ update(part: ChildPart, [markup, config]: [string, SvgConfig]): symbol;
48
+ render(_markup: string, _config: SvgConfig): symbol;
49
+ }
50
+ declare const svgIconDirective: (_markup: string, _config: SvgConfig) => import("lit-html/directive.js").DirectiveResult<typeof SvgIconDirective>;
51
+ /**
52
+ * Render a **trusted, developer-authored** SVG string into the DOM as a live
53
+ * `<svg>` element, with optional presentation config applied via
54
+ * `setAttribute` directly on the element.
55
+ *
56
+ * ### How it works
57
+ *
58
+ * - **First render** — the markup is parsed once into a live `SVGSVGElement`
59
+ * via a `<template>` element (a single DOM parse, no serialization).
60
+ * The element is inserted at the directive's position in the template.
61
+ * - **Config-only update** — only `setAttribute` / `removeAttribute` calls
62
+ * are made on the already-live element. No re-parse, no re-serialize.
63
+ * - **Markup change** — the old element is removed, the new markup is parsed
64
+ * once, and config is applied.
65
+ *
66
+ * There is **zero sanitization** — the markup is assumed to come from your
67
+ * own source code or a vetted asset pipeline.
68
+ *
69
+ * ```ts
70
+ * import { safeSVG, html } from "mates";
71
+ *
72
+ * const heartIcon =
73
+ * `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
74
+ * <path d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5…"/>
75
+ * </svg>`;
76
+ *
77
+ * html`<button>${safeSVG(heartIcon, { size: 24, fill: "currentColor" })}</button>`;
78
+ * ```
79
+ *
80
+ * @param markup An inline SVG markup string (must start with `<svg`).
81
+ * @param config Optional styling / attribute overrides applied to the root `<svg>`.
82
+ */
83
+ export declare function safeSVG(markup: string, config?: SvgConfig): ReturnType<typeof svgIconDirective>;
84
+ /**
85
+ * Alias for `safeSVG()`. Both functions are identical — they render a trusted
86
+ * SVG string with optional config applied to the root `<svg>` element.
87
+ * There is no sanitization in either.
88
+ *
89
+ * The two names exist so you can use whichever reads more naturally:
90
+ * - `safeSVG` — emphasises the source is developer-authored / trusted
91
+ * - `unsafeSVG` — emphasises no sanitization is performed (mirrors the
92
+ * lit-html directive name that powers it internally)
93
+ */
94
+ export { safeSVG as unsafeSVG };
95
+ //# sourceMappingURL=svgIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"svgIcon.d.ts","sourceRoot":"","sources":["../../../../../lib/Utils/svgIcon.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAE,SAAS,EAAuB,MAAM,uBAAuB,CAAC;AAIvE;;;GAGG;AACH,MAAM,MAAM,SAAS,GAAG;IACtB,6DAA6D;IAC7D,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,8DAA8D;IAC9D,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,gEAAgE;IAChE,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,qDAAqD;IACrD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,uDAAuD;IACvD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,uEAAuE;IACvE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,6DAA6D;IAC7D,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC9B,2CAA2C;IAC3C,aAAa,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,QAAQ,CAAC;IAC5C,4CAA4C;IAC5C,cAAc,CAAC,EAAE,OAAO,GAAG,OAAO,GAAG,OAAO,CAAC;IAC7C,wDAAwD;IACxD,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC1B,uDAAuD;IACvD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,yDAAyD;IACzD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,2EAA2E;IAC3E,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,2CAA2C;IAC3C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,0DAA0D;IAC1D,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAsFF,cAAM,gBAAiB,SAAQ,SAAS;;gBAY1B,QAAQ,EAAE,QAAQ;IASrB,MAAM,CAAC,IAAI,EAAE,SAAS,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,SAAS,CAAC;IAuD7D,MAAM,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS;CA2BpD;AAED,QAAA,MAAM,gBAAgB,mHAA8B,CAAC;AAIrD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,wBAAgB,OAAO,CACrB,MAAM,EAAE,MAAM,EACd,MAAM,GAAE,SAAc,GACrB,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAErC;AAED;;;;;;;;;GASG;AACH,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,CAAC"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Generates a UUID v4 (random) string.
3
+ * Behaves like uuid v4: 128-bit random value with version 4 and RFC 4122 variant bits.
4
+ * Uses crypto.getRandomValues when available, otherwise Math.random for the random bytes.
5
+ */
6
+ export declare function uuid(): string;
7
+ //# sourceMappingURL=uuid.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"uuid.d.ts","sourceRoot":"","sources":["../../../../../lib/Utils/uuid.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,wBAAgB,IAAI,IAAI,MAAM,CAkB7B"}
@@ -0,0 +1,2 @@
1
+ export * from "./zero";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../lib/ZeroPromise/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC"}
@@ -0,0 +1,23 @@
1
+ export declare class ZeroPromise<T = any> {
2
+ private state;
3
+ private controller;
4
+ private resolveFn;
5
+ private rejectFn;
6
+ private promise;
7
+ __isZeroPromise__: boolean;
8
+ constructor();
9
+ isActive(): boolean;
10
+ isResolved(): boolean;
11
+ isRejected(): boolean;
12
+ isCancelled(): boolean;
13
+ get signal(): AbortSignal;
14
+ toActive(): this;
15
+ resolve(value: T): void;
16
+ reject(error: any): void;
17
+ cancel(reason?: any): void;
18
+ then<R1 = T, R2 = never>(onFulfilled?: (v: T) => R1 | PromiseLike<R1>, onRejected?: (e: any) => R2 | PromiseLike<R2>): Promise<R1 | R2>;
19
+ catch<R = never>(onRejected?: (e: any) => R | PromiseLike<R>): Promise<T | R>;
20
+ finally(onFinally?: () => void): Promise<T>;
21
+ get [Symbol.toStringTag](): string;
22
+ }
23
+ //# sourceMappingURL=zero.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"zero.d.ts","sourceRoot":"","sources":["../../../../../lib/ZeroPromise/zero.ts"],"names":[],"mappings":"AAEA,qBAAa,WAAW,CAAC,CAAC,GAAG,GAAG;IAC9B,OAAO,CAAC,KAAK,CAAiB;IAE9B,OAAO,CAAC,UAAU,CAAmB;IACrC,OAAO,CAAC,SAAS,CAAkB;IACnC,OAAO,CAAC,QAAQ,CAAoB;IACpC,OAAO,CAAC,OAAO,CAAc;IAEtB,iBAAiB,UAAQ;;IAQhC,QAAQ;IAGR,UAAU;IAGV,UAAU;IAGV,WAAW;IAMX,IAAI,MAAM,gBAET;IAID,QAAQ;IAoBR,OAAO,CAAC,KAAK,EAAE,CAAC;IAMhB,MAAM,CAAC,KAAK,EAAE,GAAG;IAMjB,MAAM,CAAC,MAAM,CAAC,EAAE,GAAG;IAOnB,IAAI,CAAC,EAAE,GAAG,CAAC,EAAE,EAAE,GAAG,KAAK,EACrB,WAAW,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,WAAW,CAAC,EAAE,CAAC,EAC5C,UAAU,CAAC,EAAE,CAAC,CAAC,EAAE,GAAG,KAAK,EAAE,GAAG,WAAW,CAAC,EAAE,CAAC;IAK/C,KAAK,CAAC,CAAC,GAAG,KAAK,EAAE,UAAU,CAAC,EAAE,CAAC,CAAC,EAAE,GAAG,KAAK,CAAC,GAAG,WAAW,CAAC,CAAC,CAAC;IAI5D,OAAO,CAAC,SAAS,CAAC,EAAE,MAAM,IAAI;IAI9B,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,WAEvB;CACF"}
@@ -0,0 +1,14 @@
1
+ export type ActionFn = (...args: any[]) => any;
2
+ export type ActionSubscriber<T extends ActionFn> = (result?: ReturnType<T>) => void;
3
+ export type ActionBeforeInterceptor<T extends ActionFn> = (next: (...args: any[]) => ReturnType<T>, ...args: Parameters<T>) => ReturnType<T>;
4
+ export type ActionAfterInterceptor<T extends ActionFn> = (result: ReturnType<T>) => ReturnType<T>;
5
+ export type ActionReturnType<T extends ActionFn> = T & {
6
+ val: () => T;
7
+ set: (fn: T) => void;
8
+ __subscribe: (fn: ActionSubscriber<T>) => () => void;
9
+ interceptBefore: (interceptor: ActionBeforeInterceptor<T>) => void;
10
+ interceptAfter: (interceptor: ActionAfterInterceptor<T>) => void;
11
+ __isAction___: boolean;
12
+ };
13
+ export declare function action<T extends ActionFn>(fn: T): ActionReturnType<T>;
14
+ //# sourceMappingURL=action.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"action.d.ts","sourceRoot":"","sources":["../../../../../lib/actions/action.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,QAAQ,GAAG,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAAC;AAE/C,MAAM,MAAM,gBAAgB,CAAC,CAAC,SAAS,QAAQ,IAAI,CACjD,MAAM,CAAC,EAAE,UAAU,CAAC,CAAC,CAAC,KACnB,IAAI,CAAC;AAEV,MAAM,MAAM,uBAAuB,CAAC,CAAC,SAAS,QAAQ,IAAI,CACxD,IAAI,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,UAAU,CAAC,CAAC,CAAC,EACvC,GAAG,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,KACnB,UAAU,CAAC,CAAC,CAAC,CAAC;AAEnB,MAAM,MAAM,sBAAsB,CAAC,CAAC,SAAS,QAAQ,IAAI,CACvD,MAAM,EAAE,UAAU,CAAC,CAAC,CAAC,KAClB,UAAU,CAAC,CAAC,CAAC,CAAC;AAEnB,MAAM,MAAM,gBAAgB,CAAC,CAAC,SAAS,QAAQ,IAAI,CAAC,GAAG;IACrD,GAAG,EAAE,MAAM,CAAC,CAAC;IACb,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,KAAK,IAAI,CAAC;IACrB,WAAW,EAAE,CAAC,EAAE,EAAE,gBAAgB,CAAC,CAAC,CAAC,KAAK,MAAM,IAAI,CAAC;IACrD,eAAe,EAAE,CAAC,WAAW,EAAE,uBAAuB,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;IACnE,cAAc,EAAE,CAAC,WAAW,EAAE,sBAAsB,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;IACjE,aAAa,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF,wBAAgB,MAAM,CAAC,CAAC,SAAS,QAAQ,EAAE,EAAE,EAAE,CAAC,GAAG,gBAAgB,CAAC,CAAC,CAAC,CAoErE"}
@@ -0,0 +1,38 @@
1
+ import type { AnimationPreset } from "./animateTypes";
2
+ export declare function fadeInPreset(duration?: number, easing?: string): AnimationPreset;
3
+ export declare function fadeOutPreset(duration?: number, easing?: string): AnimationPreset;
4
+ export type SlideDirection = "up" | "down" | "left" | "right";
5
+ export declare function slideInPreset(direction?: SlideDirection, distance?: string, duration?: number, easing?: string): AnimationPreset;
6
+ export declare function slideOutPreset(direction?: SlideDirection, distance?: string, duration?: number, easing?: string): AnimationPreset;
7
+ export declare function scaleInPreset(from?: number, duration?: number, easing?: string): AnimationPreset;
8
+ export declare function scaleOutPreset(to?: number, duration?: number, easing?: string): AnimationPreset;
9
+ export declare function spinPreset(turns?: number, duration?: number, easing?: string): AnimationPreset;
10
+ export declare function bouncePreset(duration?: number): AnimationPreset;
11
+ export declare function springInPreset(duration?: number, easing?: string): AnimationPreset;
12
+ export declare function shakePreset(intensity?: number, duration?: number): AnimationPreset;
13
+ export declare function pulsePreset(scale?: number, duration?: number): AnimationPreset;
14
+ export declare function flipInPreset(axis?: "x" | "y", duration?: number, easing?: string): AnimationPreset;
15
+ export declare function flipOutPreset(axis?: "x" | "y", duration?: number, easing?: string): AnimationPreset;
16
+ export declare function blurInPreset(amount?: number, duration?: number, easing?: string): AnimationPreset;
17
+ export declare function blurOutPreset(amount?: number, duration?: number, easing?: string): AnimationPreset;
18
+ export declare function expandWidthPreset(duration?: number, easing?: string): AnimationPreset;
19
+ export declare function collapseWidthPreset(duration?: number, easing?: string): AnimationPreset;
20
+ /**
21
+ * Creates a staggered version of a preset by adding a `delay` to the options.
22
+ * Use this when animating multiple elements in a list.
23
+ *
24
+ * @param preset - The base animation preset to stagger.
25
+ * @param index - The index of the element in the list (0-based).
26
+ * @param stagger - The delay increment per item in milliseconds. Defaults to 50.
27
+ * @returns A new preset with the delay applied.
28
+ *
29
+ * @example
30
+ * ```ts
31
+ * items.forEach((el, i) => {
32
+ * const preset = withStaggerPreset(fadeInPreset(400), i, 80);
33
+ * el.animate(preset.keyframes, preset.options);
34
+ * });
35
+ * ```
36
+ */
37
+ export declare function withStaggerPreset(preset: AnimationPreset, index: number, stagger?: number): AnimationPreset;
38
+ //# sourceMappingURL=animatePresets.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"animatePresets.d.ts","sourceRoot":"","sources":["../../../../../lib/actions/animatePresets.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAItD,wBAAgB,YAAY,CAAC,QAAQ,SAAM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