resuxjs 0.4.0-beta.5 → 0.4.0-beta.7

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 (399) hide show
  1. package/README.md +55 -13
  2. package/dist/bin.d.ts +1 -1
  3. package/dist/bin.js +2 -4
  4. package/dist/bin.js.map +1 -1
  5. package/dist/build/index.d.ts +8 -11
  6. package/dist/build/index.js +3 -4
  7. package/dist/build/index.js.map +1 -1
  8. package/dist/cli.d.ts +7 -8
  9. package/dist/cli.js +170 -135
  10. package/dist/cli.js.map +1 -1
  11. package/dist/compiler/adapter.d.ts +5 -8
  12. package/dist/compiler/adapter.js +2 -4
  13. package/dist/compiler/adapter.js.map +1 -1
  14. package/dist/compiler/dev-warnings.d.ts +5 -8
  15. package/dist/compiler/dev-warnings.js +7 -9
  16. package/dist/compiler/dev-warnings.js.map +1 -1
  17. package/dist/compiler/directives.d.ts +3 -6
  18. package/dist/compiler/directives.js +2 -4
  19. package/dist/compiler/directives.js.map +1 -1
  20. package/dist/compiler/implementation.d.ts +22 -24
  21. package/dist/compiler/implementation.js +302 -142
  22. package/dist/compiler/index.d.ts +5 -8
  23. package/dist/compiler/index.js +2 -4
  24. package/dist/compiler/index.js.map +1 -1
  25. package/dist/core/config.d.ts +5 -9
  26. package/dist/core/config.js +2 -3
  27. package/dist/core/config.js.map +1 -1
  28. package/dist/core/hooks.d.ts +6 -9
  29. package/dist/core/hooks.js +2 -3
  30. package/dist/core/hooks.js.map +1 -1
  31. package/dist/core/index.d.ts +1 -1
  32. package/dist/core/index.js +1 -2
  33. package/dist/core/module-container.d.ts +20 -24
  34. package/dist/core/module-container.js +4 -5
  35. package/dist/core/module-container.js.map +1 -1
  36. package/dist/core/resux.d.ts +4 -8
  37. package/dist/core/resux.js +2 -4
  38. package/dist/core/resux.js.map +1 -1
  39. package/dist/create-bin.d.ts +1 -1
  40. package/dist/create-bin.js +2 -4
  41. package/dist/create-bin.js.map +1 -1
  42. package/dist/create.d.ts +2 -5
  43. package/dist/create.js +15 -10
  44. package/dist/create.js.map +1 -1
  45. package/dist/deploy/cloudflare.d.ts +1 -5
  46. package/dist/deploy/cloudflare.js +2 -4
  47. package/dist/deploy/cloudflare.js.map +1 -1
  48. package/dist/deploy/common.d.ts +12 -15
  49. package/dist/deploy/common.js +2 -4
  50. package/dist/deploy/common.js.map +1 -1
  51. package/dist/deploy/framework-runtime.d.ts +1 -4
  52. package/dist/deploy/framework-runtime.js +2 -4
  53. package/dist/deploy/framework-runtime.js.map +1 -1
  54. package/dist/deploy/index.d.ts +2 -6
  55. package/dist/deploy/index.js +7 -6
  56. package/dist/deploy/index.js.map +1 -1
  57. package/dist/deploy/netlify.d.ts +1 -5
  58. package/dist/deploy/netlify.js +3 -5
  59. package/dist/deploy/netlify.js.map +1 -1
  60. package/dist/deploy/node.d.ts +1 -5
  61. package/dist/deploy/node.js +4 -5
  62. package/dist/deploy/node.js.map +1 -1
  63. package/dist/deploy/production-report.d.ts +1 -4
  64. package/dist/deploy/production-report.js +2 -4
  65. package/dist/deploy/production-report.js.map +1 -1
  66. package/dist/deploy/runtime-dependencies.d.ts +4 -7
  67. package/dist/deploy/runtime-dependencies.js +4 -5
  68. package/dist/deploy/runtime-dependencies.js.map +1 -1
  69. package/dist/deploy/static.d.ts +1 -5
  70. package/dist/deploy/static.js +2 -4
  71. package/dist/deploy/static.js.map +1 -1
  72. package/dist/deploy/types.d.ts +7 -10
  73. package/dist/deploy/types.js +1 -1
  74. package/dist/deploy/vercel.d.ts +2 -6
  75. package/dist/deploy/vercel.js +3 -5
  76. package/dist/deploy/vercel.js.map +1 -1
  77. package/dist/fonts/index.d.ts +60 -11
  78. package/dist/fonts/index.js +470 -72
  79. package/dist/fonts/index.js.map +1 -1
  80. package/dist/globals.d.ts +1 -3
  81. package/dist/globals.js +1 -1
  82. package/dist/halal-core/ai/classifyProject.d.ts +3 -7
  83. package/dist/halal-core/ai/classifyProject.js +2 -4
  84. package/dist/halal-core/ai/classifyProject.js.map +1 -1
  85. package/dist/halal-core/ai/classifyRuntimeContent.d.ts +1 -5
  86. package/dist/halal-core/ai/classifyRuntimeContent.js +3 -5
  87. package/dist/halal-core/ai/classifyRuntimeContent.js.map +1 -1
  88. package/dist/halal-core/ai/createProjectSummary.d.ts +1 -4
  89. package/dist/halal-core/ai/createProjectSummary.js +2 -4
  90. package/dist/halal-core/ai/createProjectSummary.js.map +1 -1
  91. package/dist/halal-core/ai/halalClassifierPrompt.d.ts +1 -4
  92. package/dist/halal-core/ai/halalClassifierPrompt.js +2 -3
  93. package/dist/halal-core/ai/redactSensitiveData.d.ts +1 -4
  94. package/dist/halal-core/ai/redactSensitiveData.js +2 -3
  95. package/dist/halal-core/ai/redactSensitiveData.js.map +1 -1
  96. package/dist/halal-core/ai/validateAiResponse.d.ts +1 -5
  97. package/dist/halal-core/ai/validateAiResponse.js +4 -5
  98. package/dist/halal-core/ai/validateAiResponse.js.map +1 -1
  99. package/dist/halal-core/cli/check.d.ts +1 -4
  100. package/dist/halal-core/cli/check.js +5 -6
  101. package/dist/halal-core/cli/check.js.map +1 -1
  102. package/dist/halal-core/cli/explain.d.ts +1 -4
  103. package/dist/halal-core/cli/explain.js +5 -6
  104. package/dist/halal-core/cli/explain.js.map +1 -1
  105. package/dist/halal-core/cli/report.d.ts +1 -4
  106. package/dist/halal-core/cli/report.js +5 -6
  107. package/dist/halal-core/cli/report.js.map +1 -1
  108. package/dist/halal-core/cli/submitReview.d.ts +1 -4
  109. package/dist/halal-core/cli/submitReview.js +5 -6
  110. package/dist/halal-core/cli/submitReview.js.map +1 -1
  111. package/dist/halal-core/cli/verifyReview.d.ts +1 -4
  112. package/dist/halal-core/cli/verifyReview.js +7 -7
  113. package/dist/halal-core/cli/verifyReview.js.map +1 -1
  114. package/dist/halal-core/config.d.ts +9 -11
  115. package/dist/halal-core/config.js +46 -11
  116. package/dist/halal-core/config.js.map +1 -1
  117. package/dist/halal-core/crypto/integrity.d.ts +5 -8
  118. package/dist/halal-core/crypto/integrity.js +2 -4
  119. package/dist/halal-core/crypto/integrity.js.map +1 -1
  120. package/dist/halal-core/enforce.d.ts +5 -8
  121. package/dist/halal-core/enforce.js +17 -16
  122. package/dist/halal-core/enforce.js.map +1 -1
  123. package/dist/halal-core/index.d.ts +6 -6
  124. package/dist/halal-core/index.js +8 -9
  125. package/dist/halal-core/lifecycle.d.ts +1 -4
  126. package/dist/halal-core/lifecycle.js +2 -4
  127. package/dist/halal-core/lifecycle.js.map +1 -1
  128. package/dist/halal-core/policy.d.ts +1 -5
  129. package/dist/halal-core/policy.js +2 -4
  130. package/dist/halal-core/policy.js.map +1 -1
  131. package/dist/halal-core/report/formatBrowserOverlay.d.ts +1 -5
  132. package/dist/halal-core/report/formatBrowserOverlay.js +2 -3
  133. package/dist/halal-core/report/formatBrowserOverlay.js.map +1 -1
  134. package/dist/halal-core/report/formatTerminalReport.d.ts +1 -5
  135. package/dist/halal-core/report/formatTerminalReport.js +2 -3
  136. package/dist/halal-core/report/formatTerminalReport.js.map +1 -1
  137. package/dist/halal-core/report/generateHalalReport.d.ts +2 -6
  138. package/dist/halal-core/report/generateHalalReport.js +8 -7
  139. package/dist/halal-core/report/generateHalalReport.js.map +1 -1
  140. package/dist/halal-core/report/signReport.d.ts +2 -6
  141. package/dist/halal-core/report/signReport.js +2 -4
  142. package/dist/halal-core/report/signReport.js.map +1 -1
  143. package/dist/halal-core/report/verifyReport.d.ts +3 -7
  144. package/dist/halal-core/report/verifyReport.js +4 -6
  145. package/dist/halal-core/report/verifyReport.js.map +1 -1
  146. package/dist/halal-core/review/createReviewRequest.d.ts +1 -5
  147. package/dist/halal-core/review/createReviewRequest.js +4 -5
  148. package/dist/halal-core/review/createReviewRequest.js.map +1 -1
  149. package/dist/halal-core/review/reviewPolicy.d.ts +3 -6
  150. package/dist/halal-core/review/reviewPolicy.js +2 -3
  151. package/dist/halal-core/review/reviewPolicy.js.map +1 -1
  152. package/dist/halal-core/review/signedReviewFile.d.ts +4 -8
  153. package/dist/halal-core/review/signedReviewFile.js +2 -4
  154. package/dist/halal-core/review/signedReviewFile.js.map +1 -1
  155. package/dist/halal-core/review/verifyReviewApproval.d.ts +2 -5
  156. package/dist/halal-core/review/verifyReviewApproval.js +2 -4
  157. package/dist/halal-core/review/verifyReviewApproval.js.map +1 -1
  158. package/dist/halal-core/rules/adultContentRules.d.ts +2 -5
  159. package/dist/halal-core/rules/adultContentRules.js +2 -3
  160. package/dist/halal-core/rules/adultContentRules.js.map +1 -1
  161. package/dist/halal-core/rules/alcoholDrugVapeRules.d.ts +2 -5
  162. package/dist/halal-core/rules/alcoholDrugVapeRules.js +2 -3
  163. package/dist/halal-core/rules/alcoholDrugVapeRules.js.map +1 -1
  164. package/dist/halal-core/rules/childSafetyRules.d.ts +2 -5
  165. package/dist/halal-core/rules/childSafetyRules.js +2 -3
  166. package/dist/halal-core/rules/childSafetyRules.js.map +1 -1
  167. package/dist/halal-core/rules/coreCategories.d.ts +2 -5
  168. package/dist/halal-core/rules/coreCategories.js +2 -3
  169. package/dist/halal-core/rules/coreCategories.js.map +1 -1
  170. package/dist/halal-core/rules/cyberAbuseRules.d.ts +2 -5
  171. package/dist/halal-core/rules/cyberAbuseRules.js +2 -3
  172. package/dist/halal-core/rules/cyberAbuseRules.js.map +1 -1
  173. package/dist/halal-core/rules/defaultBlockedRules.d.ts +1 -5
  174. package/dist/halal-core/rules/defaultBlockedRules.js +12 -11
  175. package/dist/halal-core/rules/defaultBlockedRules.js.map +1 -1
  176. package/dist/halal-core/rules/dependencyRules.d.ts +2 -5
  177. package/dist/halal-core/rules/dependencyRules.js +2 -3
  178. package/dist/halal-core/rules/dependencyRules.js.map +1 -1
  179. package/dist/halal-core/rules/endpointRules.d.ts +2 -5
  180. package/dist/halal-core/rules/endpointRules.js +2 -3
  181. package/dist/halal-core/rules/endpointRules.js.map +1 -1
  182. package/dist/halal-core/rules/environmentalHarmRules.d.ts +2 -5
  183. package/dist/halal-core/rules/environmentalHarmRules.js +2 -3
  184. package/dist/halal-core/rules/environmentalHarmRules.js.map +1 -1
  185. package/dist/halal-core/rules/financeRibaRules.d.ts +2 -5
  186. package/dist/halal-core/rules/financeRibaRules.js +2 -3
  187. package/dist/halal-core/rules/financeRibaRules.js.map +1 -1
  188. package/dist/halal-core/rules/gamblingRules.d.ts +2 -5
  189. package/dist/halal-core/rules/gamblingRules.js +2 -3
  190. package/dist/halal-core/rules/gamblingRules.js.map +1 -1
  191. package/dist/halal-core/rules/generalHarmRules.d.ts +2 -5
  192. package/dist/halal-core/rules/generalHarmRules.js +2 -3
  193. package/dist/halal-core/rules/generalHarmRules.js.map +1 -1
  194. package/dist/halal-core/rules/healthHarmRules.d.ts +2 -5
  195. package/dist/halal-core/rules/healthHarmRules.js +2 -3
  196. package/dist/halal-core/rules/healthHarmRules.js.map +1 -1
  197. package/dist/halal-core/rules/keywordRules.d.ts +1 -4
  198. package/dist/halal-core/rules/keywordRules.js +2 -3
  199. package/dist/halal-core/rules/keywordRules.js.map +1 -1
  200. package/dist/halal-core/rules/privacyAbuseRules.d.ts +2 -5
  201. package/dist/halal-core/rules/privacyAbuseRules.js +2 -3
  202. package/dist/halal-core/rules/privacyAbuseRules.js.map +1 -1
  203. package/dist/halal-core/rules/scamFraudRules.d.ts +2 -5
  204. package/dist/halal-core/rules/scamFraudRules.js +2 -3
  205. package/dist/halal-core/rules/scamFraudRules.js.map +1 -1
  206. package/dist/halal-core/rules/selfHarmRules.d.ts +2 -5
  207. package/dist/halal-core/rules/selfHarmRules.js +2 -3
  208. package/dist/halal-core/rules/selfHarmRules.js.map +1 -1
  209. package/dist/halal-core/rules/violenceExtremismRules.d.ts +2 -5
  210. package/dist/halal-core/rules/violenceExtremismRules.js +2 -3
  211. package/dist/halal-core/rules/violenceExtremismRules.js.map +1 -1
  212. package/dist/halal-core/runtime/guard.d.ts +3 -7
  213. package/dist/halal-core/runtime/guard.js +5 -7
  214. package/dist/halal-core/runtime/guard.js.map +1 -1
  215. package/dist/halal-core/runtime/index.js +1 -2
  216. package/dist/halal-core/runtime/reviewedMemory.d.ts +4 -8
  217. package/dist/halal-core/runtime/reviewedMemory.js +3 -5
  218. package/dist/halal-core/runtime/reviewedMemory.js.map +1 -1
  219. package/dist/halal-core/runtime/serializeRuntimeContent.d.ts +5 -9
  220. package/dist/halal-core/runtime/serializeRuntimeContent.js +4 -6
  221. package/dist/halal-core/runtime/serializeRuntimeContent.js.map +1 -1
  222. package/dist/halal-core/runtime/types.d.ts +9 -13
  223. package/dist/halal-core/runtime/types.js +1 -1
  224. package/dist/halal-core/scanner/scanApiRoutes.d.ts +1 -4
  225. package/dist/halal-core/scanner/scanApiRoutes.js +2 -4
  226. package/dist/halal-core/scanner/scanApiRoutes.js.map +1 -1
  227. package/dist/halal-core/scanner/scanComponents.d.ts +1 -4
  228. package/dist/halal-core/scanner/scanComponents.js +2 -4
  229. package/dist/halal-core/scanner/scanComponents.js.map +1 -1
  230. package/dist/halal-core/scanner/scanContent.d.ts +2 -5
  231. package/dist/halal-core/scanner/scanContent.js +4 -6
  232. package/dist/halal-core/scanner/scanContent.js.map +1 -1
  233. package/dist/halal-core/scanner/scanDependencies.d.ts +1 -4
  234. package/dist/halal-core/scanner/scanDependencies.js +2 -4
  235. package/dist/halal-core/scanner/scanDependencies.js.map +1 -1
  236. package/dist/halal-core/scanner/scanDomains.d.ts +1 -4
  237. package/dist/halal-core/scanner/scanDomains.js +2 -3
  238. package/dist/halal-core/scanner/scanDomains.js.map +1 -1
  239. package/dist/halal-core/scanner/scanEnvNames.d.ts +1 -4
  240. package/dist/halal-core/scanner/scanEnvNames.js +2 -4
  241. package/dist/halal-core/scanner/scanEnvNames.js.map +1 -1
  242. package/dist/halal-core/scanner/scanMetadata.d.ts +2 -5
  243. package/dist/halal-core/scanner/scanMetadata.js +2 -4
  244. package/dist/halal-core/scanner/scanMetadata.js.map +1 -1
  245. package/dist/halal-core/scanner/scanPages.d.ts +1 -4
  246. package/dist/halal-core/scanner/scanPages.js +2 -4
  247. package/dist/halal-core/scanner/scanPages.js.map +1 -1
  248. package/dist/halal-core/scanner/scanProject.d.ts +2 -6
  249. package/dist/halal-core/scanner/scanProject.js +2 -4
  250. package/dist/halal-core/scanner/scanProject.js.map +1 -1
  251. package/dist/halal-core/scanner/scanRoutes.d.ts +1 -4
  252. package/dist/halal-core/scanner/scanRoutes.js +2 -4
  253. package/dist/halal-core/scanner/scanRoutes.js.map +1 -1
  254. package/dist/halal-core/scanner/scanTranslations.d.ts +1 -4
  255. package/dist/halal-core/scanner/scanTranslations.js +2 -4
  256. package/dist/halal-core/scanner/scanTranslations.js.map +1 -1
  257. package/dist/halal-core/status.d.ts +2 -5
  258. package/dist/halal-core/status.js +1 -1
  259. package/dist/halal-core/tamper/verifyCoreIntegrity.d.ts +1 -4
  260. package/dist/halal-core/tamper/verifyCoreIntegrity.js +2 -4
  261. package/dist/halal-core/tamper/verifyCoreIntegrity.js.map +1 -1
  262. package/dist/halal-core/tamper/verifyLifecycleHooks.d.ts +1 -4
  263. package/dist/halal-core/tamper/verifyLifecycleHooks.js +2 -3
  264. package/dist/halal-core/tamper/verifyLifecycleHooks.js.map +1 -1
  265. package/dist/halal-core/tamper/verifyReportSignature.d.ts +1 -5
  266. package/dist/halal-core/tamper/verifyReportSignature.js +4 -5
  267. package/dist/halal-core/tamper/verifyReportSignature.js.map +1 -1
  268. package/dist/halal.d.ts +2 -2
  269. package/dist/halal.js +2 -3
  270. package/dist/i18n/index.d.ts +11 -14
  271. package/dist/i18n/index.js +9 -9
  272. package/dist/i18n/index.js.map +1 -1
  273. package/dist/i18n/shared.d.ts +14 -17
  274. package/dist/i18n/shared.js +5 -6
  275. package/dist/i18n/shared.js.map +1 -1
  276. package/dist/icons/api-fetcher.d.ts +4 -0
  277. package/dist/icons/api-fetcher.js +77 -0
  278. package/dist/icons/api-fetcher.js.map +1 -0
  279. package/dist/icons/cache.d.ts +22 -0
  280. package/dist/icons/cache.js +74 -0
  281. package/dist/icons/cache.js.map +1 -0
  282. package/dist/icons/component.d.ts +157 -0
  283. package/dist/icons/component.js +139 -0
  284. package/dist/icons/component.js.map +1 -0
  285. package/dist/icons/constants.d.ts +14 -0
  286. package/dist/icons/constants.js +16 -0
  287. package/dist/icons/constants.js.map +1 -0
  288. package/dist/icons/css-mode.d.ts +7 -0
  289. package/dist/icons/css-mode.js +51 -0
  290. package/dist/icons/css-mode.js.map +1 -0
  291. package/dist/icons/index.d.ts +14 -162
  292. package/dist/icons/index.js +30 -315
  293. package/dist/icons/index.js.map +1 -1
  294. package/dist/icons/local-svg.d.ts +5 -0
  295. package/dist/icons/local-svg.js +53 -0
  296. package/dist/icons/local-svg.js.map +1 -0
  297. package/dist/icons/normalize.d.ts +5 -0
  298. package/dist/icons/normalize.js +63 -0
  299. package/dist/icons/normalize.js.map +1 -0
  300. package/dist/icons/offline-loader.d.ts +21 -0
  301. package/dist/icons/offline-loader.js +94 -0
  302. package/dist/icons/offline-loader.js.map +1 -0
  303. package/dist/icons/parser.d.ts +5 -0
  304. package/dist/icons/parser.js +89 -0
  305. package/dist/icons/parser.js.map +1 -0
  306. package/dist/icons/registry.d.ts +7 -0
  307. package/dist/icons/registry.js +91 -0
  308. package/dist/icons/registry.js.map +1 -0
  309. package/dist/icons/resolver.d.ts +4 -0
  310. package/dist/icons/resolver.js +45 -0
  311. package/dist/icons/resolver.js.map +1 -0
  312. package/dist/icons/svg-mode.d.ts +4 -0
  313. package/dist/icons/svg-mode.js +54 -0
  314. package/dist/icons/svg-mode.js.map +1 -0
  315. package/dist/icons/transform.d.ts +11 -0
  316. package/dist/icons/transform.js +68 -0
  317. package/dist/icons/transform.js.map +1 -0
  318. package/dist/icons/types.d.ts +49 -0
  319. package/dist/icons/types.js +1 -0
  320. package/dist/index.d.ts +4 -2
  321. package/dist/index.js +2 -2
  322. package/dist/kit/index.d.ts +21 -25
  323. package/dist/kit/index.js +2 -4
  324. package/dist/kit/index.js.map +1 -1
  325. package/dist/nitro-server/index.d.ts +2 -5
  326. package/dist/nitro-server/index.js +2 -3
  327. package/dist/nitro-server/index.js.map +1 -1
  328. package/dist/node.d.ts +2 -6
  329. package/dist/node.js +7 -9
  330. package/dist/node.js.map +1 -1
  331. package/dist/reactivity/computed.d.ts +3 -7
  332. package/dist/reactivity/computed.js +4 -5
  333. package/dist/reactivity/computed.js.map +1 -1
  334. package/dist/reactivity/effect.d.ts +13 -17
  335. package/dist/reactivity/effect.js +11 -11
  336. package/dist/reactivity/effect.js.map +1 -1
  337. package/dist/reactivity/index.d.ts +1 -1
  338. package/dist/reactivity/index.js +3 -4
  339. package/dist/reactivity/reactive.d.ts +5 -8
  340. package/dist/reactivity/reactive.js +5 -7
  341. package/dist/reactivity/reactive.js.map +1 -1
  342. package/dist/reactivity/readonly.js +1 -3
  343. package/dist/reactivity/ref.d.ts +9 -12
  344. package/dist/reactivity/ref.js +6 -5
  345. package/dist/reactivity/ref.js.map +1 -1
  346. package/dist/reactivity/scheduler.d.ts +5 -7
  347. package/dist/reactivity/scheduler.js +2 -3
  348. package/dist/reactivity/scheduler.js.map +1 -1
  349. package/dist/reactivity/types.d.ts +11 -14
  350. package/dist/reactivity/types.js +1 -1
  351. package/dist/reactivity/utils.d.ts +9 -12
  352. package/dist/reactivity/utils.js +2 -3
  353. package/dist/reactivity/utils.js.map +1 -1
  354. package/dist/reactivity/watch.d.ts +3 -6
  355. package/dist/reactivity/watch.js +7 -7
  356. package/dist/reactivity/watch.js.map +1 -1
  357. package/dist/runtime/core.d.ts +4 -20
  358. package/dist/runtime/core.js +11 -24
  359. package/dist/runtime/core.js.map +1 -1
  360. package/dist/runtime/index.d.ts +167 -157
  361. package/dist/runtime/index.js +2835 -1027
  362. package/dist/runtime/index.js.map +1 -1
  363. package/dist/runtime/reactivity.d.ts +4 -4
  364. package/dist/runtime/reactivity.js +2 -3
  365. package/dist/runtime/resume.d.ts +14 -51
  366. package/dist/runtime/resume.js +4 -34
  367. package/dist/runtime/resume.js.map +1 -1
  368. package/dist/runtime/router.d.ts +5 -17
  369. package/dist/runtime/router.js +7 -17
  370. package/dist/runtime/router.js.map +1 -1
  371. package/dist/runtime/streaming.d.ts +6 -13
  372. package/dist/runtime/streaming.js +4 -9
  373. package/dist/runtime/streaming.js.map +1 -1
  374. package/dist/runtime/view-transitions/detect.d.ts +11 -0
  375. package/dist/runtime/view-transitions/detect.js +16 -0
  376. package/dist/runtime/view-transitions/detect.js.map +1 -0
  377. package/dist/runtime/view-transitions/index.d.ts +4 -0
  378. package/dist/runtime/view-transitions/index.js +3 -0
  379. package/dist/runtime/view-transitions/transition.d.ts +4 -0
  380. package/dist/runtime/view-transitions/transition.js +41 -0
  381. package/dist/runtime/view-transitions/transition.js.map +1 -0
  382. package/dist/runtime/view-transitions/types.d.ts +8 -0
  383. package/dist/runtime/view-transitions/types.js +1 -0
  384. package/dist/security/media-fetch.d.ts +10 -13
  385. package/dist/security/media-fetch.js +5 -7
  386. package/dist/security/media-fetch.js.map +1 -1
  387. package/dist/security/path-boundary.d.ts +4 -7
  388. package/dist/security/path-boundary.js +2 -4
  389. package/dist/security/path-boundary.js.map +1 -1
  390. package/dist/ui/index.d.ts +367 -217
  391. package/dist/ui/index.js +199 -152
  392. package/dist/ui/index.js.map +1 -1
  393. package/dist/ui/verification-code.d.ts +134 -0
  394. package/dist/ui/verification-code.js +472 -0
  395. package/dist/ui/verification-code.js.map +1 -0
  396. package/dist/vite-builder/index.d.ts +2 -5
  397. package/dist/vite-builder/index.js +2 -3
  398. package/dist/vite-builder/index.js.map +1 -1
  399. package/package.json +5 -2
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../src/ui/index.ts"],"sourcesContent":["import { defineComponent, h, onMounted, ref } from \"vue\";\nimport type { ResuxModuleDefinition } from \"../kit/index.js\";\n\nexport interface ResuxUiModuleOptions {\n css?: string[];\n tokens?: Record<string, unknown>;\n defaultStyles?: boolean;\n animations?: {\n enabled?: boolean;\n defaultPreset?: string;\n };\n}\n\nexport function defineUiTokens<T extends Record<string, unknown>>(tokens: T): T {\n return tokens;\n}\n\nexport type AnimationPreset = \"fade-up\" | \"fade-down\" | \"scale-in\" | \"slide-in-left\" | \"slide-in-right\" | \"pulse-glow\" | \"bounce-in\";\n\nexport interface AnimateOptions {\n type?: AnimationPreset | string;\n duration?: number;\n delay?: number;\n easing?: string;\n fill?: FillMode;\n}\n\nexport function isReducedMotion(): boolean {\n if (typeof window === \"undefined\" || typeof window.matchMedia !== \"function\") return false;\n return window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches;\n}\n\nexport function useAnimate(\n target: { value: HTMLElement | null } | HTMLElement | null,\n options: AnimateOptions = {}\n) {\n const element = target && \"animate\" in target && typeof target.animate === \"function\"\n ? target\n : target && \"value\" in target\n ? target.value\n : null;\n if (!element || typeof window === \"undefined\") return null;\n\n if (isReducedMotion()) return null;\n\n const type = options.type || \"fade-up\";\n const duration = options.duration ?? 400;\n const delay = options.delay ?? 0;\n const easing = options.easing || \"cubic-bezier(0.16, 1, 0.3, 1)\";\n\n let keyframes: Keyframe[] = [];\n\n switch (type) {\n case \"fade-up\":\n keyframes = [\n { opacity: 0, transform: \"translate3d(0, 30px, 0)\" },\n { opacity: 1, transform: \"translate3d(0, 0, 0)\" }\n ];\n break;\n case \"fade-down\":\n keyframes = [\n { opacity: 0, transform: \"translate3d(0, -30px, 0)\" },\n { opacity: 1, transform: \"translate3d(0, 0, 0)\" }\n ];\n break;\n case \"scale-in\":\n keyframes = [\n { opacity: 0, transform: \"scale3d(0.92, 0.92, 1)\" },\n { opacity: 1, transform: \"scale3d(1, 1, 1)\" }\n ];\n break;\n case \"slide-in-left\":\n keyframes = [\n { opacity: 0, transform: \"translate3d(-40px, 0, 0)\" },\n { opacity: 1, transform: \"translate3d(0, 0, 0)\" }\n ];\n break;\n case \"slide-in-right\":\n keyframes = [\n { opacity: 0, transform: \"translate3d(40px, 0, 0)\" },\n { opacity: 1, transform: \"translate3d(0, 0, 0)\" }\n ];\n break;\n case \"pulse-glow\":\n keyframes = [\n { transform: \"scale(1)\", boxShadow: \"0 0 0 0 rgba(3, 200, 191, 0.4)\" },\n { transform: \"scale(1.03)\", boxShadow: \"0 0 20px 10px rgba(3, 200, 191, 0)\" },\n { transform: \"scale(1)\", boxShadow: \"0 0 0 0 rgba(3, 200, 191, 0)\" }\n ];\n break;\n case \"bounce-in\":\n keyframes = [\n { opacity: 0, transform: \"scale3d(0.3, 0.3, 0.3)\" },\n { opacity: 0.9, transform: \"scale3d(1.05, 1.05, 1.05)\" },\n { opacity: 1, transform: \"scale3d(1, 1, 1)\" }\n ];\n break;\n default:\n keyframes = [\n { opacity: 0, transform: \"translate3d(0, 20px, 0)\" },\n { opacity: 1, transform: \"translate3d(0, 0, 0)\" }\n ];\n }\n\n if (\"animate\" in element && typeof element.animate === \"function\") {\n return element.animate(keyframes, {\n duration,\n delay,\n easing,\n fill: options.fill || \"forwards\"\n });\n }\n\n return null;\n}\n\nconst animeDirectiveState = new WeakMap<HTMLElement, {\n observer?: IntersectionObserver;\n animation?: Animation;\n}>();\n\nexport const vAnime = {\n mounted(el: HTMLElement, binding: { value?: string | AnimateOptions }) {\n if (typeof window === \"undefined\" || isReducedMotion()) return;\n\n const config: AnimateOptions =\n typeof binding.value === \"string\"\n ? { type: binding.value }\n : binding.value || { type: \"fade-up\" };\n const state: { observer?: IntersectionObserver; animation?: Animation } = {};\n animeDirectiveState.set(el, state);\n\n const triggerAnimation = () => {\n const animation = useAnimate(el, { ...config, fill: config.fill ?? \"both\" });\n if (animation) {\n state.animation = animation;\n }\n };\n\n if (\"IntersectionObserver\" in window) {\n const observer = new IntersectionObserver(\n (entries) => {\n if (entries.some((entry) => entry.isIntersecting)) {\n triggerAnimation();\n observer.unobserve(el);\n state.observer = undefined;\n }\n },\n { rootMargin: \"50px\" }\n );\n state.observer = observer;\n observer.observe(el);\n } else {\n triggerAnimation();\n }\n },\n unmounted(el: HTMLElement) {\n const state = animeDirectiveState.get(el);\n state?.observer?.disconnect();\n state?.animation?.cancel();\n animeDirectiveState.delete(el);\n }\n};\n\nexport const vAnimate = vAnime;\n\n// --- UI & Motion Primitive Components ---\n\nexport const RxMotion = defineComponent({\n name: \"RxMotion\",\n props: {\n tag: { type: String, default: \"div\" },\n preset: { type: String, default: \"fade-up\" },\n duration: { type: Number, default: 400 },\n delay: { type: Number, default: 0 },\n easing: { type: String, default: \"cubic-bezier(0.16, 1, 0.3, 1)\" },\n unstyled: { type: Boolean, default: false }\n },\n setup(props, { slots, attrs }) {\n const elRef = ref<HTMLElement | null>(null);\n onMounted(() => {\n if (elRef.value && !props.unstyled && !isReducedMotion()) {\n useAnimate(elRef.value, {\n type: props.preset,\n duration: props.duration,\n delay: props.delay,\n easing: props.easing\n });\n }\n });\n return () => h(props.tag, { ref: elRef, ...attrs }, slots.default ? slots.default() : []);\n }\n});\n\nexport const RxReveal = defineComponent({\n name: \"RxReveal\",\n props: {\n preset: { type: String, default: \"fade-up\" },\n duration: { type: Number, default: 400 },\n unstyled: { type: Boolean, default: false }\n },\n setup(props, { slots, attrs }) {\n const elRef = ref<HTMLElement | null>(null);\n onMounted(() => {\n if (elRef.value && !props.unstyled && !isReducedMotion()) {\n useAnimate(elRef.value, { type: props.preset, duration: props.duration });\n }\n });\n return () => h(\"div\", { ref: elRef, ...attrs }, slots.default ? slots.default() : []);\n }\n});\n\nexport const RxAutoAnimate = defineComponent({\n name: \"RxAutoAnimate\",\n props: {\n duration: { type: Number, default: 300 },\n unstyled: { type: Boolean, default: false }\n },\n setup(props, { slots, attrs }) {\n const elRef = ref<HTMLElement | null>(null);\n onMounted(() => {\n if (elRef.value && !props.unstyled && !isReducedMotion()) {\n useAnimate(elRef.value, { type: \"scale-in\", duration: props.duration });\n }\n });\n return () => h(\"div\", { ref: elRef, ...attrs }, slots.default ? slots.default() : []);\n }\n});\n\nexport const RxButton = defineComponent({\n name: \"RxButton\",\n props: {\n variant: { type: String, default: \"primary\" },\n size: { type: String, default: \"md\" },\n type: { type: String, default: \"button\" },\n disabled: { type: Boolean, default: false },\n unstyled: { type: Boolean, default: false }\n },\n setup(props, { slots, attrs }) {\n return () => {\n const classes = props.unstyled\n ? (attrs.class || \"\")\n : [\"rx-btn\", `rx-btn-${props.variant}`, `rx-btn-${props.size}`, attrs.class].filter(Boolean).join(\" \");\n return h(\"button\", { ...attrs, type: props.type, disabled: props.disabled, class: classes }, slots.default ? slots.default() : []);\n };\n }\n});\n\nexport const RxCard = defineComponent({\n name: \"RxCard\",\n props: {\n variant: { type: String, default: \"default\" },\n unstyled: { type: Boolean, default: false }\n },\n setup(props, { slots, attrs }) {\n return () => {\n const classes = props.unstyled\n ? (attrs.class || \"\")\n : [\"rx-card\", props.variant !== \"default\" ? `rx-card-${props.variant}` : \"\", attrs.class].filter(Boolean).join(\" \");\n return h(\"div\", { ...attrs, class: classes }, slots.default ? slots.default() : []);\n };\n }\n});\n\nexport const RxBadge = defineComponent({\n name: \"RxBadge\",\n props: {\n variant: { type: String, default: \"default\" },\n unstyled: { type: Boolean, default: false }\n },\n setup(props, { slots, attrs }) {\n return () => {\n const classes = props.unstyled\n ? (attrs.class || \"\")\n : [\"rx-badge\", `rx-badge-${props.variant}`, attrs.class].filter(Boolean).join(\" \");\n return h(\"span\", { ...attrs, class: classes }, slots.default ? slots.default() : []);\n };\n }\n});\n\nexport const RxInput = defineComponent({\n name: \"RxInput\",\n props: {\n modelValue: { type: [String, Number], default: \"\" },\n type: { type: String, default: \"text\" },\n placeholder: { type: String, default: \"\" },\n disabled: { type: Boolean, default: false },\n unstyled: { type: Boolean, default: false }\n },\n emits: [\"update:modelValue\"],\n setup(props, { emit, attrs }) {\n return () => {\n const classes = props.unstyled\n ? (attrs.class || \"\")\n : [\"rx-input\", attrs.class].filter(Boolean).join(\" \");\n return h(\"input\", {\n ...attrs,\n type: props.type,\n value: props.modelValue,\n placeholder: props.placeholder,\n disabled: props.disabled,\n class: classes,\n onInput: (e: Event) => emit(\"update:modelValue\", (e.target as HTMLInputElement).value)\n });\n };\n }\n});\n\nexport const RxSelect = defineComponent({\n name: \"RxSelect\",\n props: {\n modelValue: { type: [String, Number], default: \"\" },\n options: { type: Array as () => Array<string | { label: string; value: string | number }>, default: () => [] },\n placeholder: { type: String, default: \"Select an option\" },\n disabled: { type: Boolean, default: false },\n unstyled: { type: Boolean, default: false }\n },\n emits: [\"update:modelValue\"],\n setup(props, { emit, attrs }) {\n const isOpen = ref(false);\n const toggle = () => {\n if (!props.disabled) isOpen.value = !isOpen.value;\n };\n const selectOption = (val: string | number) => {\n emit(\"update:modelValue\", val);\n isOpen.value = false;\n };\n const handleKeyDown = (e: KeyboardEvent) => {\n if (e.key === \"Enter\" || e.key === \" \") {\n e.preventDefault();\n toggle();\n } else if (e.key === \"Escape\") {\n isOpen.value = false;\n }\n };\n return () => {\n const classes = props.unstyled ? (attrs.class || \"\") : [\"rx-select\", attrs.class].filter(Boolean).join(\" \");\n const normalizedOpts = props.options.map((opt) =>\n typeof opt === \"string\" ? { label: opt, value: opt } : opt\n );\n const selectedObj = normalizedOpts.find((o) => o.value === props.modelValue);\n return h(\"div\", { class: classes, tabindex: props.disabled ? -1 : 0, onKeydown: handleKeyDown }, [\n h(\"div\", { class: props.unstyled ? \"\" : \"rx-select-trigger\", onClick: toggle }, [\n h(\"span\", selectedObj ? selectedObj.label : props.placeholder),\n h(\"span\", { class: props.unstyled ? \"\" : \"rx-select-arrow\" }, \"▾\")\n ]),\n isOpen.value\n ? h(\n \"ul\",\n { class: props.unstyled ? \"\" : \"rx-select-dropdown\", role: \"listbox\" },\n normalizedOpts.map((opt) =>\n h(\n \"li\",\n {\n class: [props.unstyled ? \"\" : \"rx-select-option\", opt.value === props.modelValue ? \"selected\" : \"\"]\n .filter(Boolean)\n .join(\" \"),\n role: \"option\",\n onClick: () => selectOption(opt.value)\n },\n opt.label\n )\n )\n )\n : null\n ]);\n };\n }\n});\n\nfunction formatDatePickerValue(value: string | Date): string {\n if (value instanceof Date) {\n return Number.isFinite(value.getTime()) ? value.toISOString().split(\"T\")[0] : \"\";\n }\n return String(value || \"\");\n}\n\nexport const RxDatePicker = defineComponent({\n name: \"RxDatePicker\",\n props: {\n modelValue: { type: [String, Date], default: \"\" },\n placeholder: { type: String, default: \"Select date\" },\n unstyled: { type: Boolean, default: false }\n },\n emits: [\"update:modelValue\"],\n setup(props, { emit, attrs }) {\n return () => {\n const classes = props.unstyled ? (attrs.class || \"\") : [\"rx-input\", \"rx-datepicker\", attrs.class].filter(Boolean).join(\" \");\n return h(\"input\", {\n ...attrs,\n type: \"date\",\n value: formatDatePickerValue(props.modelValue),\n placeholder: props.placeholder,\n class: classes,\n onInput: (e: Event) => emit(\"update:modelValue\", (e.target as HTMLInputElement).value)\n });\n };\n }\n});\n\nexport const RxPopover = defineComponent({\n name: \"RxPopover\",\n props: {\n open: { type: Boolean, default: false },\n unstyled: { type: Boolean, default: false }\n },\n emits: [\"update:open\"],\n setup(props, { slots, emit, attrs }) {\n const toggle = () => emit(\"update:open\", !props.open);\n return () => {\n const classes = props.unstyled ? (attrs.class || \"\") : [\"rx-popover\", attrs.class].filter(Boolean).join(\" \");\n return h(\"div\", { class: classes }, [\n h(\"div\", { onClick: toggle }, slots.trigger ? slots.trigger() : [h(\"button\", \"Toggle\")]),\n props.open ? h(\"div\", { class: props.unstyled ? \"\" : \"rx-popover-content\", ...attrs }, slots.default ? slots.default() : []) : null\n ]);\n };\n }\n});\n\nexport const RxIcon = defineComponent({\n name: \"RxIcon\",\n props: {\n name: { type: String, default: \"check\" },\n size: { type: [String, Number], default: \"1.25rem\" },\n color: { type: String, default: \"currentColor\" },\n unstyled: { type: Boolean, default: false }\n },\n setup(props, { attrs }) {\n return () => {\n const classes = props.unstyled ? (attrs.class || \"\") : [\"rx-icon\", attrs.class].filter(Boolean).join(\" \");\n return h(\"span\", {\n ...attrs,\n class: classes,\n style: { fontSize: typeof props.size === \"number\" ? `${props.size}px` : props.size, color: props.color }\n }, `[${props.name}]`);\n };\n }\n});\n\nexport const RxAvatar = defineComponent({\n name: \"RxAvatar\",\n props: {\n src: { type: String, default: \"\" },\n alt: { type: String, default: \"Avatar\" },\n size: { type: String, default: \"md\" },\n status: { type: String, default: \"\" },\n unstyled: { type: Boolean, default: false }\n },\n setup(props, { attrs }) {\n return () => {\n const classes = props.unstyled ? (attrs.class || \"\") : [\"rx-avatar\", `rx-avatar-${props.size}`, attrs.class].filter(Boolean).join(\" \");\n const initials = props.alt ? props.alt.slice(0, 2).toUpperCase() : \"RX\";\n return h(\"div\", { ...attrs, class: classes }, [\n props.src\n ? h(\"img\", { src: props.src, alt: props.alt, class: props.unstyled ? \"\" : \"rx-avatar-img\" })\n : h(\"span\", { class: props.unstyled ? \"\" : \"rx-avatar-fallback\" }, initials),\n props.status ? h(\"span\", { class: props.unstyled ? \"\" : `rx-avatar-status rx-status-${props.status}` }) : null\n ]);\n };\n }\n});\n\nexport const RxAlert = defineComponent({\n name: \"RxAlert\",\n props: {\n variant: { type: String, default: \"info\" },\n title: { type: String, default: \"\" },\n dismissible: { type: Boolean, default: false },\n unstyled: { type: Boolean, default: false }\n },\n emits: [\"dismiss\"],\n setup(props, { slots, emit, attrs }) {\n return () => {\n const classes = props.unstyled ? (attrs.class || \"\") : [\"rx-alert\", `rx-alert-${props.variant}`, attrs.class].filter(Boolean).join(\" \");\n return h(\"div\", { ...attrs, class: classes, role: \"alert\" }, [\n props.title ? h(\"div\", { class: props.unstyled ? \"\" : \"rx-alert-title\" }, props.title) : null,\n h(\"div\", { class: props.unstyled ? \"\" : \"rx-alert-content\" }, slots.default ? slots.default() : []),\n props.dismissible ? h(\"button\", { class: props.unstyled ? \"\" : \"rx-alert-close\", onClick: () => emit(\"dismiss\") }, \"×\") : null\n ]);\n };\n }\n});\n\nexport const RxAccordion = defineComponent({\n name: \"RxAccordion\",\n props: {\n title: { type: String, default: \"Accordion Title\" },\n open: { type: Boolean, default: false },\n unstyled: { type: Boolean, default: false }\n },\n setup(props, { slots, attrs }) {\n const isOpen = ref(props.open);\n const toggle = () => (isOpen.value = !isOpen.value);\n return () => {\n const classes = props.unstyled ? (attrs.class || \"\") : [\"rx-accordion\", attrs.class].filter(Boolean).join(\" \");\n return h(\"div\", { ...attrs, class: classes }, [\n h(\"button\", { class: props.unstyled ? \"\" : \"rx-accordion-header\", onClick: toggle }, [\n h(\"span\", props.title),\n h(\"span\", isOpen.value ? \"−\" : \"+\")\n ]),\n isOpen.value ? h(\"div\", { class: props.unstyled ? \"\" : \"rx-accordion-body\" }, slots.default ? slots.default() : []) : null\n ]);\n };\n }\n});\n\nexport const RxTooltip = defineComponent({\n name: \"RxTooltip\",\n props: {\n text: { type: String, default: \"\" },\n placement: { type: String, default: \"top\" },\n unstyled: { type: Boolean, default: false }\n },\n setup(props, { slots, attrs }) {\n const visible = ref(false);\n return () => {\n const classes = props.unstyled ? (attrs.class || \"\") : [\"rx-tooltip-wrapper\", attrs.class].filter(Boolean).join(\" \");\n return h(\"div\", {\n class: classes,\n onMouseenter: () => (visible.value = true),\n onMouseleave: () => (visible.value = false)\n }, [\n slots.default ? slots.default() : null,\n visible.value && props.text\n ? h(\"div\", { class: props.unstyled ? \"\" : `rx-tooltip rx-tooltip-${props.placement}`, ...attrs }, props.text)\n : null\n ]);\n };\n }\n});\n\nexport const RxDropdown = defineComponent({\n name: \"RxDropdown\",\n props: {\n items: { type: Array as () => Array<{ label: string; action?: () => void }>, default: () => [] },\n open: { type: Boolean, default: false },\n unstyled: { type: Boolean, default: false }\n },\n emits: [\"update:open\"],\n setup(props, { slots, emit, attrs }) {\n const toggle = () => emit(\"update:open\", !props.open);\n return () => {\n const classes = props.unstyled ? (attrs.class || \"\") : [\"rx-dropdown\", attrs.class].filter(Boolean).join(\" \");\n return h(\"div\", { class: classes }, [\n h(\"div\", { onClick: toggle }, slots.trigger ? slots.trigger() : [h(\"button\", \"Menu\")]),\n props.open\n ? h(\"ul\", { class: props.unstyled ? \"\" : \"rx-dropdown-menu\", ...attrs },\n props.items.map((item) =>\n h(\"li\", {\n class: props.unstyled ? \"\" : \"rx-dropdown-item\",\n onClick: () => {\n if (item.action) item.action();\n emit(\"update:open\", false);\n }\n }, item.label)\n )\n )\n : null\n ]);\n };\n }\n});\n\nexport const RxTabs = defineComponent({\n name: \"RxTabs\",\n props: {\n items: { type: Array as () => Array<{ label: string; key: string }>, default: () => [] },\n modelValue: { type: String, default: \"\" },\n unstyled: { type: Boolean, default: false }\n },\n emits: [\"update:modelValue\"],\n setup(props, { emit, attrs }) {\n return () => {\n const classes = props.unstyled ? (attrs.class || \"\") : [\"rx-tabs\", attrs.class].filter(Boolean).join(\" \");\n return h(\"div\", { ...attrs, class: classes }, [\n h(\"div\", { class: props.unstyled ? \"\" : \"rx-tabs-header\" },\n props.items.map((item) =>\n h(\"button\", {\n class: [props.unstyled ? \"\" : \"rx-tab-btn\", item.key === props.modelValue ? \"active\" : \"\"].filter(Boolean).join(\" \"),\n onClick: () => emit(\"update:modelValue\", item.key)\n }, item.label)\n )\n )\n ]);\n };\n }\n});\n\nexport const RxTextarea = defineComponent({\n name: \"RxTextarea\",\n props: {\n modelValue: { type: String, default: \"\" },\n rows: { type: Number, default: 3 },\n placeholder: { type: String, default: \"\" },\n disabled: { type: Boolean, default: false },\n unstyled: { type: Boolean, default: false }\n },\n emits: [\"update:modelValue\"],\n setup(props, { emit, attrs }) {\n return () => {\n const classes = props.unstyled ? (attrs.class || \"\") : [\"rx-input\", \"rx-textarea\", attrs.class].filter(Boolean).join(\" \");\n return h(\"textarea\", {\n ...attrs,\n rows: props.rows,\n value: props.modelValue,\n placeholder: props.placeholder,\n disabled: props.disabled,\n class: classes,\n onInput: (e: Event) => emit(\"update:modelValue\", (e.target as HTMLTextAreaElement).value)\n });\n };\n }\n});\n\nexport const RxSwitch = defineComponent({\n name: \"RxSwitch\",\n props: {\n modelValue: { type: Boolean, default: false },\n disabled: { type: Boolean, default: false },\n unstyled: { type: Boolean, default: false }\n },\n emits: [\"update:modelValue\"],\n setup(props, { emit, attrs }) {\n const toggle = () => {\n if (!props.disabled) emit(\"update:modelValue\", !props.modelValue);\n };\n return () => {\n const classes = props.unstyled ? (attrs.class || \"\") : [\"rx-switch\", props.modelValue ? \"checked\" : \"\", attrs.class].filter(Boolean).join(\" \");\n return h(\"button\", {\n ...attrs,\n type: \"button\",\n role: \"switch\",\n \"aria-checked\": props.modelValue,\n disabled: props.disabled,\n class: classes,\n onClick: toggle\n }, [\n h(\"span\", { class: props.unstyled ? \"\" : \"rx-switch-thumb\" })\n ]);\n };\n }\n});\n\nexport const RxSkeleton = defineComponent({\n name: \"RxSkeleton\",\n props: {\n width: { type: String, default: \"100%\" },\n height: { type: String, default: \"1rem\" },\n rounded: { type: String, default: \"0.375rem\" },\n unstyled: { type: Boolean, default: false }\n },\n setup(props, { attrs }) {\n return () => {\n const classes = props.unstyled ? (attrs.class || \"\") : [\"rx-skeleton\", attrs.class].filter(Boolean).join(\" \");\n return h(\"div\", {\n ...attrs,\n class: classes,\n style: { width: props.width, height: props.height, borderRadius: props.rounded }\n });\n };\n }\n});\n\nexport const RxDivider = defineComponent({\n name: \"RxDivider\",\n props: {\n label: { type: String, default: \"\" },\n orientation: { type: String, default: \"horizontal\" },\n unstyled: { type: Boolean, default: false }\n },\n setup(props, { attrs }) {\n return () => {\n const classes = props.unstyled ? (attrs.class || \"\") : [\"rx-divider\", `rx-divider-${props.orientation}`, attrs.class].filter(Boolean).join(\" \");\n return h(\"div\", { ...attrs, class: classes }, [\n props.label ? h(\"span\", { class: props.unstyled ? \"\" : \"rx-divider-label\" }, props.label) : null\n ]);\n };\n }\n});\n\nexport const RxKbd = defineComponent({\n name: \"RxKbd\",\n props: {\n unstyled: { type: Boolean, default: false }\n },\n setup(props, { slots, attrs }) {\n return () => {\n const classes = props.unstyled ? (attrs.class || \"\") : [\"rx-kbd\", attrs.class].filter(Boolean).join(\" \");\n return h(\"kbd\", { ...attrs, class: classes }, slots.default ? slots.default() : []);\n };\n }\n});\n\nexport const RxModal = defineComponent({\n name: \"RxModal\",\n props: {\n open: { type: Boolean, default: false },\n title: { type: String, default: \"\" },\n unstyled: { type: Boolean, default: false }\n },\n emits: [\"update:open\", \"close\"],\n setup(props, { slots, emit, attrs }) {\n const close = () => {\n emit(\"update:open\", false);\n emit(\"close\");\n };\n return () => {\n if (!props.open) return null;\n const backdropClasses = props.unstyled ? \"\" : \"rx-modal-backdrop\";\n const contentClasses = props.unstyled ? \"\" : \"rx-modal-content\";\n return h(\"div\", { class: backdropClasses, onClick: close }, [\n h(\"div\", { class: contentClasses, onClick: (e: Event) => e.stopPropagation(), ...attrs }, [\n props.title ? h(\"h3\", { style: { marginTop: 0 } }, props.title) : null,\n slots.default ? slots.default() : null\n ])\n ]);\n };\n }\n});\n\n// --- Resux* Aliases ---\nexport const ResuxMotion = RxMotion;\nexport const ResuxReveal = RxReveal;\nexport const ResuxAutoAnimate = RxAutoAnimate;\nexport const ResuxButton = RxButton;\nexport const ResuxCard = RxCard;\nexport const ResuxBadge = RxBadge;\nexport const ResuxInput = RxInput;\nexport const ResuxSelect = RxSelect;\nexport const ResuxDatePicker = RxDatePicker;\nexport const ResuxPopover = RxPopover;\nexport const ResuxIcon = RxIcon;\nexport const ResuxAvatar = RxAvatar;\nexport const ResuxAlert = RxAlert;\nexport const ResuxAccordion = RxAccordion;\nexport const ResuxTooltip = RxTooltip;\nexport const ResuxDropdown = RxDropdown;\nexport const ResuxTabs = RxTabs;\nexport const ResuxTextarea = RxTextarea;\nexport const ResuxSwitch = RxSwitch;\nexport const ResuxSkeleton = RxSkeleton;\nexport const ResuxDivider = RxDivider;\nexport const ResuxKbd = RxKbd;\nexport const ResuxModal = RxModal;\n\nconst uiStyles = `\n@keyframes rxFadeUp {\n from { opacity: 0; transform: translate3d(0, 30px, 0); }\n to { opacity: 1; transform: translate3d(0, 0, 0); }\n}\n@keyframes rxScaleIn {\n from { opacity: 0; transform: scale3d(0.92, 0.92, 1); }\n to { opacity: 1; transform: scale3d(1, 1, 1); }\n}\n@keyframes rxPulseGlow {\n 0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(3, 200, 191, 0.4); }\n 50% { transform: scale(1.03); box-shadow: 0 0 20px 10px rgba(3, 200, 191, 0); }\n 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(3, 200, 191, 0); }\n}\n@keyframes rxShimmer {\n 0% { background-position: -200% 0; }\n 100% { background-position: 200% 0; }\n}\n.rx-animate-fade-up { animation: rxFadeUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards; }\n.rx-animate-scale-in { animation: rxScaleIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards; }\n.rx-animate-pulse { animation: rxPulseGlow 2s infinite; }\n`;\n\nconst uiPrimitiveStyles = `\n.rx-btn {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n padding: 0.5rem 1rem;\n font-size: 0.875rem;\n font-weight: 500;\n border-radius: 0.375rem;\n cursor: pointer;\n transition: all 0.2s ease-in-out;\n border: 1px solid transparent;\n}\n.rx-btn-primary { background-color: #03c8bf; color: #0f172a; border-color: #03c8bf; }\n.rx-btn-primary:hover { background-color: #02b3ab; }\n.rx-btn-secondary { background-color: #334155; color: #f8fafc; border-color: #334155; }\n.rx-btn-secondary:hover { background-color: #475569; }\n.rx-btn-outline { background-color: transparent; color: #03c8bf; border-color: #03c8bf; }\n.rx-btn-outline:hover { background-color: rgba(3, 200, 191, 0.1); }\n.rx-btn-ghost { background-color: transparent; color: #cbd5e1; border-color: transparent; }\n.rx-btn-ghost:hover { background-color: rgba(255, 255, 255, 0.08); }\n.rx-btn-sm { padding: 0.25rem 0.625rem; font-size: 0.75rem; }\n.rx-btn-md { padding: 0.5rem 1rem; font-size: 0.875rem; }\n.rx-btn-lg { padding: 0.75rem 1.5rem; font-size: 1rem; }\n\n.rx-card {\n background-color: #1e293b;\n border-radius: 0.5rem;\n padding: 1.25rem;\n border: 1px solid #334155;\n color: #f8fafc;\n}\n.rx-card-glass {\n background: rgba(30, 41, 59, 0.7);\n backdrop-filter: blur(12px);\n border: 1px solid rgba(255, 255, 255, 0.1);\n}\n\n.rx-badge {\n display: inline-flex;\n align-items: center;\n padding: 0.125rem 0.5rem;\n border-radius: 9999px;\n font-size: 0.75rem;\n font-weight: 600;\n}\n.rx-badge-default { background-color: #334155; color: #e2e8f0; }\n.rx-badge-success { background-color: rgba(16, 185, 129, 0.2); color: #34d399; }\n.rx-badge-warning { background-color: rgba(245, 158, 11, 0.2); color: #fbbf24; }\n.rx-badge-danger { background-color: rgba(239, 68, 68, 0.2); color: #f87171; }\n.rx-badge-info { background-color: rgba(59, 130, 246, 0.2); color: #60a5fa; }\n\n.rx-input {\n width: 100%;\n padding: 0.5rem 0.75rem;\n border-radius: 0.375rem;\n background-color: #0f172a;\n border: 1px solid #334155;\n color: #f8fafc;\n font-size: 0.875rem;\n outline: none;\n transition: border-color 0.2s ease;\n}\n.rx-input:focus { border-color: #03c8bf; }\n\n.rx-select {\n position: relative;\n width: 100%;\n border-radius: 0.375rem;\n background-color: #0f172a;\n border: 1px solid #334155;\n color: #f8fafc;\n font-size: 0.875rem;\n cursor: pointer;\n outline: none;\n}\n.rx-select-trigger {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 0.5rem 0.75rem;\n}\n.rx-select-dropdown {\n position: absolute;\n top: 100%;\n left: 0; right: 0;\n margin-top: 0.25rem;\n background-color: #1e293b;\n border: 1px solid #334155;\n border-radius: 0.375rem;\n list-style: none;\n padding: 0.25rem 0;\n z-index: 100;\n}\n.rx-select-option {\n padding: 0.5rem 0.75rem;\n}\n.rx-select-option:hover, .rx-select-option.selected {\n background-color: rgba(3, 200, 191, 0.15);\n color: #03c8bf;\n}\n\n.rx-avatar {\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border-radius: 9999px;\n background-color: #334155;\n color: #f8fafc;\n font-weight: 600;\n overflow: hidden;\n}\n.rx-avatar-sm { width: 2rem; height: 2rem; font-size: 0.75rem; }\n.rx-avatar-md { width: 2.5rem; height: 2.5rem; font-size: 0.875rem; }\n.rx-avatar-lg { width: 3.5rem; height: 3.5rem; font-size: 1.125rem; }\n.rx-avatar-img { width: 100%; height: 100%; object-fit: cover; }\n.rx-avatar-status {\n position: absolute;\n bottom: 0; right: 0;\n width: 0.625rem; height: 0.625rem;\n border-radius: 9999px;\n border: 2px solid #0f172a;\n}\n.rx-status-online { background-color: #10b981; }\n.rx-status-offline { background-color: #64748b; }\n\n.rx-alert {\n padding: 0.875rem 1rem;\n border-radius: 0.375rem;\n display: flex;\n flex-direction: column;\n gap: 0.25rem;\n position: relative;\n}\n.rx-alert-info { background-color: rgba(59, 130, 246, 0.15); border: 1px solid rgba(59, 130, 246, 0.3); color: #93c5fd; }\n.rx-alert-success { background-color: rgba(16, 185, 129, 0.15); border: 1px solid rgba(16, 185, 129, 0.3); color: #6ee7b7; }\n.rx-alert-warning { background-color: rgba(245, 158, 11, 0.15); border: 1px solid rgba(245, 158, 11, 0.3); color: #fde047; }\n.rx-alert-danger { background-color: rgba(239, 68, 68, 0.15); border: 1px solid rgba(239, 68, 68, 0.3); color: #fca5a5; }\n.rx-alert-title { font-weight: 600; font-size: 0.9375rem; }\n\n.rx-accordion {\n border: 1px solid #334155;\n border-radius: 0.375rem;\n overflow: hidden;\n}\n.rx-accordion-header {\n width: 100%;\n padding: 0.75rem 1rem;\n background-color: #1e293b;\n color: #f8fafc;\n display: flex;\n justify-content: space-between;\n align-items: center;\n border: none;\n cursor: pointer;\n}\n.rx-accordion-body {\n padding: 1rem;\n background-color: #0f172a;\n color: #cbd5e1;\n}\n\n.rx-switch {\n position: relative;\n width: 2.75rem;\n height: 1.5rem;\n border-radius: 9999px;\n background-color: #334155;\n border: none;\n cursor: pointer;\n transition: background-color 0.2s ease;\n padding: 0.125rem;\n}\n.rx-switch.checked { background-color: #03c8bf; }\n.rx-switch-thumb {\n display: block;\n width: 1.25rem;\n height: 1.25rem;\n border-radius: 9999px;\n background-color: #ffffff;\n transition: transform 0.2s ease;\n}\n.rx-switch.checked .rx-switch-thumb { transform: translateX(1.25rem); }\n\n.rx-skeleton {\n background: linear-gradient(90deg, #1e293b 25%, #334155 50%, #1e293b 75%);\n background-size: 200% 100%;\n animation: rxShimmer 1.5s infinite;\n}\n\n.rx-kbd {\n display: inline-block;\n padding: 0.125rem 0.375rem;\n font-size: 0.75rem;\n font-family: monospace;\n background-color: #1e293b;\n border: 1px solid #475569;\n border-radius: 0.25rem;\n color: #e2e8f0;\n}\n\n.rx-divider {\n display: flex;\n align-items: center;\n margin: 1rem 0;\n}\n.rx-divider-horizontal { border-bottom: 1px solid #334155; width: 100%; }\n.rx-divider-label { padding: 0 0.5rem; color: #94a3b8; font-size: 0.75rem; }\n\n.rx-modal-backdrop {\n position: fixed;\n top: 0; left: 0; right: 0; bottom: 0;\n background-color: rgba(0, 0, 0, 0.6);\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 9999;\n}\n.rx-modal-content {\n background-color: #1e293b;\n border-radius: 0.5rem;\n padding: 1.5rem;\n max-width: 500px;\n width: 90%;\n border: 1px solid #334155;\n color: #f8fafc;\n}\n`;\n\nconst resuxUiModule = {\n defaults: {\n css: [],\n tokens: {},\n defaultStyles: true,\n animations: {\n enabled: true,\n defaultPreset: \"fade-up\"\n }\n },\n setup(options, resux) {\n const css = Array.isArray(options.css) ? options.css : [];\n for (const href of css) {\n if (typeof href === \"string\" && href.trim()) {\n resux.addCss(href);\n }\n }\n\n const stylesToInject: string[] = [];\n if (options.animations?.enabled !== false) {\n stylesToInject.push(uiStyles);\n }\n if (options.defaultStyles !== false) {\n stylesToInject.push(uiPrimitiveStyles);\n }\n\n if (stylesToInject.length > 0) {\n resux.addHead({\n style: stylesToInject.map((children) => ({ children }))\n });\n }\n\n resux.extendRuntimeConfig({\n public: {\n ui: {\n tokens: options.tokens && typeof options.tokens === \"object\" ? options.tokens : {},\n defaultStyles: options.defaultStyles !== false,\n animations: {\n enabled: options.animations?.enabled !== false,\n defaultPreset: options.animations?.defaultPreset || \"fade-up\"\n }\n }\n }\n });\n }\n} satisfies ResuxModuleDefinition<ResuxUiModuleOptions>;\n\nexport default resuxU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EACN,IAAI;GACF,QAAQ,QAAQ,UAAU,OAAO,QAAQ,WAAW,WAAW,QAAQ,SAAS,EAAE;GAClF,eAAe,QAAQ,kBAAkB;GACzC,YAAY;IACV,SAAS,QAAQ,YAAY,YAAY;IACzC,eAAe,QAAQ,YAAY,iBAAiB;IACrD;GACF,EACF,EACF,CAAC;;CAEL;AAED,iBAAe"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../src/ui/index.ts"],"sourcesContent":["import { defineComponent, h, mergeProps, onMounted, ref } from \"vue\";\nimport type { ResuxModuleDefinition } from \"../kit/index.js\";\nimport {\n RxVerificationCode,\n verificationCodeAnimationsDisabledStyles,\n verificationCodeStyles\n} from \"./verification-code.js\";\n\nexport { RxVerificationCode } from \"./verification-code.js\";\nexport type { VerificationCodeMode, VerificationCodeStatus } from \"./verification-code.js\";\n\nexport interface ResuxUiModuleOptions {\n css?: string[];\n tokens?: Record<string, unknown>;\n defaultStyles?: boolean;\n animations?: {\n enabled?: boolean;\n defaultPreset?: string;\n };\n}\n\nexport function defineUiTokens<T extends Record<string, unknown>>(tokens: T): T {\n return tokens;\n}\n\nexport type AnimationPreset = \"fade-up\" | \"fade-down\" | \"scale-in\" | \"slide-in-left\" | \"slide-in-right\" | \"pulse-glow\" | \"bounce-in\";\n\nexport interface AnimateOptions {\n type?: AnimationPreset | string;\n duration?: number;\n delay?: number;\n easing?: string;\n fill?: FillMode;\n}\n\nexport function isReducedMotion(): boolean {\n if (typeof window === \"undefined\" || typeof window.matchMedia !== \"function\") return false;\n return window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches;\n}\n\nexport function useAnimate(\n target: { value: HTMLElement | null } | HTMLElement | null,\n options: AnimateOptions = {}\n) {\n const element = target && \"animate\" in target && typeof target.animate === \"function\"\n ? target\n : target && \"value\" in target\n ? target.value\n : null;\n if (!element || typeof window === \"undefined\") return null;\n\n if (isReducedMotion()) return null;\n\n const type = options.type || \"fade-up\";\n const duration = options.duration ?? 400;\n const delay = options.delay ?? 0;\n const easing = options.easing || \"cubic-bezier(0.16, 1, 0.3, 1)\";\n\n let keyframes: Keyframe[] = [];\n\n switch (type) {\n case \"fade-up\":\n keyframes = [\n { opacity: 0, transform: \"translate3d(0, 30px, 0)\" },\n { opacity: 1, transform: \"translate3d(0, 0, 0)\" }\n ];\n break;\n case \"fade-down\":\n keyframes = [\n { opacity: 0, transform: \"translate3d(0, -30px, 0)\" },\n { opacity: 1, transform: \"translate3d(0, 0, 0)\" }\n ];\n break;\n case \"scale-in\":\n keyframes = [\n { opacity: 0, transform: \"scale3d(0.92, 0.92, 1)\" },\n { opacity: 1, transform: \"scale3d(1, 1, 1)\" }\n ];\n break;\n case \"slide-in-left\":\n keyframes = [\n { opacity: 0, transform: \"translate3d(-40px, 0, 0)\" },\n { opacity: 1, transform: \"translate3d(0, 0, 0)\" }\n ];\n break;\n case \"slide-in-right\":\n keyframes = [\n { opacity: 0, transform: \"translate3d(40px, 0, 0)\" },\n { opacity: 1, transform: \"translate3d(0, 0, 0)\" }\n ];\n break;\n case \"pulse-glow\":\n keyframes = [\n { transform: \"scale(1)\", boxShadow: \"0 0 0 0 rgba(3, 200, 191, 0.4)\" },\n { transform: \"scale(1.03)\", boxShadow: \"0 0 20px 10px rgba(3, 200, 191, 0)\" },\n { transform: \"scale(1)\", boxShadow: \"0 0 0 0 rgba(3, 200, 191, 0)\" }\n ];\n break;\n case \"bounce-in\":\n keyframes = [\n { opacity: 0, transform: \"scale3d(0.3, 0.3, 0.3)\" },\n { opacity: 0.9, transform: \"scale3d(1.05, 1.05, 1.05)\" },\n { opacity: 1, transform: \"scale3d(1, 1, 1)\" }\n ];\n break;\n default:\n keyframes = [\n { opacity: 0, transform: \"translate3d(0, 20px, 0)\" },\n { opacity: 1, transform: \"translate3d(0, 0, 0)\" }\n ];\n }\n\n if (\"animate\" in element && typeof element.animate === \"function\") {\n return element.animate(keyframes, {\n duration,\n delay,\n easing,\n fill: options.fill || \"forwards\"\n });\n }\n\n return null;\n}\n\nconst animeDirectiveState = new WeakMap<HTMLElement, {\n observer?: IntersectionObserver;\n animation?: Animation;\n}>();\n\nexport const vAnime = {\n mounted(el: HTMLElement, binding: { value?: string | AnimateOptions }) {\n if (typeof window === \"undefined\" || isReducedMotion()) return;\n\n const config: AnimateOptions =\n typeof binding.value === \"string\"\n ? { type: binding.value }\n : binding.value || { type: \"fade-up\" };\n const state: { observer?: IntersectionObserver; animation?: Animation } = {};\n animeDirectiveState.set(el, state);\n\n const triggerAnimation = () => {\n const animation = useAnimate(el, { ...config, fill: config.fill ?? \"both\" });\n if (animation) {\n state.animation = animation;\n }\n };\n\n if (\"IntersectionObserver\" in window) {\n const observer = new IntersectionObserver(\n (entries) => {\n if (entries.some((entry) => entry.isIntersecting)) {\n triggerAnimation();\n observer.unobserve(el);\n state.observer = undefined;\n }\n },\n { rootMargin: \"50px\" }\n );\n state.observer = observer;\n observer.observe(el);\n } else {\n triggerAnimation();\n }\n },\n unmounted(el: HTMLElement) {\n const state = animeDirectiveState.get(el);\n state?.observer?.disconnect();\n state?.animation?.cancel();\n animeDirectiveState.delete(el);\n }\n};\n\nexport const vAnimate = vAnime;\n\n// --- UI & Motion Primitive Components ---\n\nexport const RxMotion = defineComponent({\n name: \"RxMotion\",\n props: {\n tag: { type: String, default: \"div\" },\n preset: { type: String, default: \"fade-up\" },\n duration: { type: Number, default: 400 },\n delay: { type: Number, default: 0 },\n easing: { type: String, default: \"cubic-bezier(0.16, 1, 0.3, 1)\" },\n unstyled: { type: Boolean, default: false }\n },\n setup(props, { slots, attrs }) {\n const elRef = ref<HTMLElement | null>(null);\n onMounted(() => {\n if (elRef.value && !props.unstyled && !isReducedMotion()) {\n useAnimate(elRef.value, {\n type: props.preset,\n duration: props.duration,\n delay: props.delay,\n easing: props.easing\n });\n }\n });\n return () => h(props.tag, { ref: elRef, ...attrs }, slots.default ? slots.default() : []);\n }\n});\n\nexport const RxReveal = defineComponent({\n name: \"RxReveal\",\n props: {\n preset: { type: String, default: \"fade-up\" },\n duration: { type: Number, default: 400 },\n unstyled: { type: Boolean, default: false }\n },\n setup(props, { slots, attrs }) {\n const elRef = ref<HTMLElement | null>(null);\n onMounted(() => {\n if (elRef.value && !props.unstyled && !isReducedMotion()) {\n useAnimate(elRef.value, { type: props.preset, duration: props.duration });\n }\n });\n return () => h(\"div\", { ref: elRef, ...attrs }, slots.default ? slots.default() : []);\n }\n});\n\nexport const RxAutoAnimate = defineComponent({\n name: \"RxAutoAnimate\",\n props: {\n duration: { type: Number, default: 300 },\n unstyled: { type: Boolean, default: false }\n },\n setup(props, { slots, attrs }) {\n const elRef = ref<HTMLElement | null>(null);\n onMounted(() => {\n if (elRef.value && !props.unstyled && !isReducedMotion()) {\n useAnimate(elRef.value, { type: \"scale-in\", duration: props.duration });\n }\n });\n return () => h(\"div\", { ref: elRef, ...attrs }, slots.default ? slots.default() : []);\n }\n});\n\nexport const RxButton = defineComponent({\n name: \"RxButton\",\n props: {\n variant: { type: String, default: \"primary\" },\n size: { type: String, default: \"md\" },\n type: { type: String, default: \"button\" },\n disabled: { type: Boolean, default: false },\n unstyled: { type: Boolean, default: false }\n },\n setup(props, { slots, attrs }) {\n return () => {\n const classes = props.unstyled\n ? (attrs.class || \"\")\n : [\"rx-btn\", `rx-btn-${props.variant}`, `rx-btn-${props.size}`, attrs.class].filter(Boolean).join(\" \");\n return h(\"button\", { ...attrs, type: props.type, disabled: props.disabled, class: classes }, slots.default ? slots.default() : []);\n };\n }\n});\n\nexport const RxCard = defineComponent({\n name: \"RxCard\",\n props: {\n variant: { type: String, default: \"default\" },\n unstyled: { type: Boolean, default: false }\n },\n setup(props, { slots, attrs }) {\n return () => {\n const classes = props.unstyled\n ? (attrs.class || \"\")\n : [\"rx-card\", props.variant !== \"default\" ? `rx-card-${props.variant}` : \"\", attrs.class].filter(Boolean).join(\" \");\n return h(\"div\", { ...attrs, class: classes }, slots.default ? slots.default() : []);\n };\n }\n});\n\nexport const RxBadge = defineComponent({\n name: \"RxBadge\",\n props: {\n variant: { type: String, default: \"default\" },\n unstyled: { type: Boolean, default: false }\n },\n setup(props, { slots, attrs }) {\n return () => {\n const classes = props.unstyled\n ? (attrs.class || \"\")\n : [\"rx-badge\", `rx-badge-${props.variant}`, attrs.class].filter(Boolean).join(\" \");\n return h(\"span\", { ...attrs, class: classes }, slots.default ? slots.default() : []);\n };\n }\n});\n\nexport const RxInput = defineComponent({\n name: \"RxInput\",\n inheritAttrs: false,\n props: {\n modelValue: { type: [String, Number], default: \"\" },\n type: { type: String, default: \"text\" },\n placeholder: { type: String, default: \"\" },\n disabled: { type: Boolean, default: false },\n unstyled: { type: Boolean, default: false }\n },\n emits: [\"update:modelValue\"],\n setup(props, { emit, attrs }) {\n return () => h(\"input\", mergeProps(attrs, {\n type: props.type,\n value: props.modelValue,\n placeholder: props.placeholder,\n disabled: props.disabled,\n class: props.unstyled ? undefined : \"rx-input\",\n onInput: (event: Event) => emit(\"update:modelValue\", (event.target as HTMLInputElement).value)\n }));\n }\n});\n\nexport const RxSelect = defineComponent({\n name: \"RxSelect\",\n inheritAttrs: false,\n props: {\n modelValue: { type: [String, Number], default: \"\" },\n options: {\n type: Array as () => Array<string | { label: string; value: string | number; disabled?: boolean }>,\n default: () => []\n },\n placeholder: { type: String, default: \"Select an option\" },\n disabled: { type: Boolean, default: false },\n unstyled: { type: Boolean, default: false }\n },\n emits: [\"update:modelValue\"],\n setup(props, { emit, attrs }) {\n return () => {\n const normalizedOptions = props.options.map((option) =>\n typeof option === \"string\" ? { label: option, value: option, disabled: false } : option\n );\n const { class: attrClass, style: attrStyle, ...controlAttrs } = attrs as Record<string, unknown>;\n const selectedIndex = normalizedOptions.findIndex((option) => Object.is(option.value, props.modelValue));\n const placeholderOffset = props.placeholder ? 1 : 0;\n const select = h(\"select\", mergeProps(controlAttrs, {\n disabled: props.disabled,\n class: props.unstyled ? attrClass : \"rx-select-native\",\n onChange: (event: Event) => {\n const optionIndex = (event.target as HTMLSelectElement).selectedIndex - placeholderOffset;\n const selected = normalizedOptions[optionIndex];\n if (selected) {\n emit(\"update:modelValue\", selected.value);\n }\n }\n }), [\n props.placeholder\n ? h(\"option\", {\n value: \"\",\n disabled: true,\n hidden: selectedIndex >= 0,\n selected: selectedIndex < 0\n }, props.placeholder)\n : null,\n ...normalizedOptions.map((option, index) =>\n h(\"option\", {\n value: String(option.value),\n disabled: option.disabled === true,\n selected: index === selectedIndex\n }, option.label)\n )\n ]);\n\n if (props.unstyled) {\n return select;\n }\n\n return h(\"div\", {\n class: [\"rx-select\", attrClass].filter(Boolean),\n style: attrStyle,\n \"data-disabled\": props.disabled ? \"true\" : \"false\"\n }, [\n select,\n h(\"span\", { class: \"rx-select-arrow\", \"aria-hidden\": \"true\" }, \"▾\")\n ]);\n };\n }\n});\n\nfunction formatDatePickerValue(value: string | Date): string {\n if (value instanceof Date) {\n return Number.isFinite(value.getTime()) ? value.toISOString().split(\"T\")[0] : \"\";\n }\n return String(value || \"\");\n}\n\nexport const RxDatePicker = defineComponent({\n name: \"RxDatePicker\",\n inheritAttrs: false,\n props: {\n modelValue: { type: [String, Date], default: \"\" },\n placeholder: { type: String, default: \"Select date\" },\n disabled: { type: Boolean, default: false },\n unstyled: { type: Boolean, default: false }\n },\n emits: [\"update:modelValue\"],\n setup(props, { emit, attrs }) {\n return () => h(\"input\", mergeProps(attrs, {\n type: \"date\",\n value: formatDatePickerValue(props.modelValue),\n placeholder: props.placeholder,\n disabled: props.disabled,\n class: props.unstyled ? undefined : [\"rx-input\", \"rx-datepicker\"],\n onInput: (event: Event) => emit(\"update:modelValue\", (event.target as HTMLInputElement).value)\n }));\n }\n});\n\nexport const RxPopover = defineComponent({\n name: \"RxPopover\",\n props: {\n open: { type: Boolean, default: false },\n unstyled: { type: Boolean, default: false }\n },\n emits: [\"update:open\"],\n setup(props, { slots, emit, attrs }) {\n const toggle = () => emit(\"update:open\", !props.open);\n return () => {\n const classes = props.unstyled ? (attrs.class || \"\") : [\"rx-popover\", attrs.class].filter(Boolean).join(\" \");\n return h(\"div\", { class: classes }, [\n h(\"div\", { onClick: toggle }, slots.trigger ? slots.trigger() : [h(\"button\", \"Toggle\")]),\n props.open ? h(\"div\", { class: props.unstyled ? \"\" : \"rx-popover-content\", ...attrs }, slots.default ? slots.default() : []) : null\n ]);\n };\n }\n});\n\nexport const RxIcon = defineComponent({\n name: \"RxIcon\",\n props: {\n name: { type: String, default: \"check\" },\n size: { type: [String, Number], default: \"1.25rem\" },\n color: { type: String, default: \"currentColor\" },\n unstyled: { type: Boolean, default: false }\n },\n setup(props, { attrs }) {\n return () => {\n const classes = props.unstyled ? (attrs.class || \"\") : [\"rx-icon\", attrs.class].filter(Boolean).join(\" \");\n return h(\"span\", {\n ...attrs,\n class: classes,\n style: { fontSize: typeof props.size === \"number\" ? `${props.size}px` : props.size, color: props.color }\n }, `[${props.name}]`);\n };\n }\n});\n\nexport const RxAvatar = defineComponent({\n name: \"RxAvatar\",\n props: {\n src: { type: String, default: \"\" },\n alt: { type: String, default: \"Avatar\" },\n size: { type: String, default: \"md\" },\n status: { type: String, default: \"\" },\n unstyled: { type: Boolean, default: false }\n },\n setup(props, { attrs }) {\n return () => {\n const classes = props.unstyled ? (attrs.class || \"\") : [\"rx-avatar\", `rx-avatar-${props.size}`, attrs.class].filter(Boolean).join(\" \");\n const initials = props.alt ? props.alt.slice(0, 2).toUpperCase() : \"RX\";\n return h(\"div\", { ...attrs, class: classes }, [\n props.src\n ? h(\"img\", { src: props.src, alt: props.alt, class: props.unstyled ? \"\" : \"rx-avatar-img\" })\n : h(\"span\", { class: props.unstyled ? \"\" : \"rx-avatar-fallback\" }, initials),\n props.status ? h(\"span\", { class: props.unstyled ? \"\" : `rx-avatar-status rx-status-${props.status}` }) : null\n ]);\n };\n }\n});\n\nexport const RxAlert = defineComponent({\n name: \"RxAlert\",\n props: {\n variant: { type: String, default: \"info\" },\n title: { type: String, default: \"\" },\n dismissible: { type: Boolean, default: false },\n unstyled: { type: Boolean, default: false }\n },\n emits: [\"dismiss\"],\n setup(props, { slots, emit, attrs }) {\n return () => {\n const classes = props.unstyled ? (attrs.class || \"\") : [\"rx-alert\", `rx-alert-${props.variant}`, attrs.class].filter(Boolean).join(\" \");\n return h(\"div\", { ...attrs, class: classes, role: \"alert\" }, [\n props.title ? h(\"div\", { class: props.unstyled ? \"\" : \"rx-alert-title\" }, props.title) : null,\n h(\"div\", { class: props.unstyled ? \"\" : \"rx-alert-content\" }, slots.default ? slots.default() : []),\n props.dismissible ? h(\"button\", { class: props.unstyled ? \"\" : \"rx-alert-close\", onClick: () => emit(\"dismiss\") }, \"×\") : null\n ]);\n };\n }\n});\n\nexport const RxAccordion = defineComponent({\n name: \"RxAccordion\",\n props: {\n title: { type: String, default: \"Accordion Title\" },\n open: { type: Boolean, default: false },\n unstyled: { type: Boolean, default: false }\n },\n setup(props, { slots, attrs }) {\n const isOpen = ref(props.open);\n const toggle = () => (isOpen.value = !isOpen.value);\n return () => {\n const classes = props.unstyled ? (attrs.class || \"\") : [\"rx-accordion\", attrs.class].filter(Boolean).join(\" \");\n return h(\"div\", { ...attrs, class: classes }, [\n h(\"button\", { class: props.unstyled ? \"\" : \"rx-accordion-header\", onClick: toggle }, [\n h(\"span\", props.title),\n h(\"span\", isOpen.value ? \"−\" : \"+\")\n ]),\n isOpen.value ? h(\"div\", { class: props.unstyled ? \"\" : \"rx-accordion-body\" }, slots.default ? slots.default() : []) : null\n ]);\n };\n }\n});\n\nexport const RxTooltip = defineComponent({\n name: \"RxTooltip\",\n props: {\n text: { type: String, default: \"\" },\n placement: { type: String, default: \"top\" },\n unstyled: { type: Boolean, default: false }\n },\n setup(props, { slots, attrs }) {\n const visible = ref(false);\n return () => {\n const classes = props.unstyled ? (attrs.class || \"\") : [\"rx-tooltip-wrapper\", attrs.class].filter(Boolean).join(\" \");\n return h(\"div\", {\n class: classes,\n onMouseenter: () => (visible.value = true),\n onMouseleave: () => (visible.value = false)\n }, [\n slots.default ? slots.default() : null,\n visible.value && props.text\n ? h(\"div\", { class: props.unstyled ? \"\" : `rx-tooltip rx-tooltip-${props.placement}`, ...attrs }, props.text)\n : null\n ]);\n };\n }\n});\n\nexport const RxDropdown = defineComponent({\n name: \"RxDropdown\",\n props: {\n items: { type: Array as () => Array<{ label: string; action?: () => void }>, default: () => [] },\n open: { type: Boolean, default: false },\n unstyled: { type: Boolean, default: false }\n },\n emits: [\"update:open\"],\n setup(props, { slots, emit, attrs }) {\n const toggle = () => emit(\"update:open\", !props.open);\n return () => {\n const classes = props.unstyled ? (attrs.class || \"\") : [\"rx-dropdown\", attrs.class].filter(Boolean).join(\" \");\n return h(\"div\", { class: classes }, [\n h(\"div\", { onClick: toggle }, slots.trigger ? slots.trigger() : [h(\"button\", \"Menu\")]),\n props.open\n ? h(\"ul\", { class: props.unstyled ? \"\" : \"rx-dropdown-menu\", ...attrs },\n props.items.map((item) =>\n h(\"li\", {\n class: props.unstyled ? \"\" : \"rx-dropdown-item\",\n onClick: () => {\n if (item.action) item.action();\n emit(\"update:open\", false);\n }\n }, item.label)\n )\n )\n : null\n ]);\n };\n }\n});\n\nexport const RxTabs = defineComponent({\n name: \"RxTabs\",\n props: {\n items: { type: Array as () => Array<{ label: string; key: string }>, default: () => [] },\n modelValue: { type: String, default: \"\" },\n unstyled: { type: Boolean, default: false }\n },\n emits: [\"update:modelValue\"],\n setup(props, { emit, attrs }) {\n return () => {\n const classes = props.unstyled ? (attrs.class || \"\") : [\"rx-tabs\", attrs.class].filter(Boolean).join(\" \");\n return h(\"div\", { ...attrs, class: classes }, [\n h(\"div\", { class: props.unstyled ? \"\" : \"rx-tabs-header\" },\n props.items.map((item) =>\n h(\"button\", {\n class: [props.unstyled ? \"\" : \"rx-tab-btn\", item.key === props.modelValue ? \"active\" : \"\"].filter(Boolean).join(\" \"),\n onClick: () => emit(\"update:modelValue\", item.key)\n }, item.label)\n )\n )\n ]);\n };\n }\n});\n\nexport const RxTextarea = defineComponent({\n name: \"RxTextarea\",\n inheritAttrs: false,\n props: {\n modelValue: { type: String, default: \"\" },\n rows: { type: Number, default: 3 },\n placeholder: { type: String, default: \"\" },\n disabled: { type: Boolean, default: false },\n unstyled: { type: Boolean, default: false }\n },\n emits: [\"update:modelValue\"],\n setup(props, { emit, attrs }) {\n return () => h(\"textarea\", mergeProps(attrs, {\n rows: props.rows,\n value: props.modelValue,\n placeholder: props.placeholder,\n disabled: props.disabled,\n class: props.unstyled ? undefined : [\"rx-input\", \"rx-textarea\"],\n onInput: (event: Event) => emit(\"update:modelValue\", (event.target as HTMLTextAreaElement).value)\n }));\n }\n});\n\nexport const RxSwitch = defineComponent({\n name: \"RxSwitch\",\n inheritAttrs: false,\n props: {\n modelValue: { type: Boolean, default: false },\n disabled: { type: Boolean, default: false },\n unstyled: { type: Boolean, default: false }\n },\n emits: [\"update:modelValue\"],\n setup(props, { emit, attrs }) {\n const toggle = () => {\n if (!props.disabled) emit(\"update:modelValue\", !props.modelValue);\n };\n return () => h(\"button\", mergeProps(attrs, {\n type: \"button\",\n role: \"switch\",\n \"aria-checked\": String(props.modelValue),\n \"data-state\": props.modelValue ? \"checked\" : \"unchecked\",\n disabled: props.disabled,\n class: props.unstyled ? undefined : [\"rx-switch\", props.modelValue ? \"checked\" : \"\"],\n onClick: toggle\n }), [\n h(\"span\", { class: props.unstyled ? undefined : \"rx-switch-thumb\", \"aria-hidden\": \"true\" })\n ]);\n }\n});\n\nexport const RxSkeleton = defineComponent({\n name: \"RxSkeleton\",\n props: {\n width: { type: String, default: \"100%\" },\n height: { type: String, default: \"1rem\" },\n rounded: { type: String, default: \"0.375rem\" },\n unstyled: { type: Boolean, default: false }\n },\n setup(props, { attrs }) {\n return () => {\n const classes = props.unstyled ? (attrs.class || \"\") : [\"rx-skeleton\", attrs.class].filter(Boolean).join(\" \");\n return h(\"div\", {\n ...attrs,\n class: classes,\n style: { width: props.width, height: props.height, borderRadius: props.rounded }\n });\n };\n }\n});\n\nexport const RxDivider = defineComponent({\n name: \"RxDivider\",\n props: {\n label: { type: String, default: \"\" },\n orientation: { type: String, default: \"horizontal\" },\n unstyled: { type: Boolean, default: false }\n },\n setup(props, { attrs }) {\n return () => {\n const classes = props.unstyled ? (attrs.class || \"\") : [\"rx-divider\", `rx-divider-${props.orientation}`, attrs.class].filter(Boolean).join(\" \");\n return h(\"div\", { ...attrs, class: classes }, [\n props.label ? h(\"span\", { class: props.unstyled ? \"\" : \"rx-divider-label\" }, props.label) : null\n ]);\n };\n }\n});\n\nexport const RxKbd = defineComponent({\n name: \"RxKbd\",\n props: {\n unstyled: { type: Boolean, default: false }\n },\n setup(props, { slots, attrs }) {\n return () => {\n const classes = props.unstyled ? (attrs.class || \"\") : [\"rx-kbd\", attrs.class].filter(Boolean).join(\" \");\n return h(\"kbd\", { ...attrs, class: classes }, slots.default ? slots.default() : []);\n };\n }\n});\n\nexport const RxModal = defineComponent({\n name: \"RxModal\",\n props: {\n open: { type: Boolean, default: false },\n title: { type: String, default: \"\" },\n unstyled: { type: Boolean, default: false }\n },\n emits: [\"update:open\", \"close\"],\n setup(props, { slots, emit, attrs }) {\n const close = () => {\n emit(\"update:open\", false);\n emit(\"close\");\n };\n return () => {\n if (!props.open) return null;\n const backdropClasses = props.unstyled ? \"\" : \"rx-modal-backdrop\";\n const contentClasses = props.unstyled ? \"\" : \"rx-modal-content\";\n return h(\"div\", { class: backdropClasses, onClick: close }, [\n h(\"div\", { class: contentClasses, onClick: (e: Event) => e.stopPropagation(), ...attrs }, [\n props.title ? h(\"h3\", { style: { marginTop: 0 } }, props.title) : null,\n slots.default ? slots.default() : null\n ])\n ]);\n };\n }\n});\n\n// --- Resux* Aliases ---\nexport const ResuxMotion = RxMotion;\nexport const ResuxReveal = RxReveal;\nexport const ResuxAutoAnimate = RxAutoAnimate;\nexport const ResuxButton = RxButton;\nexport const ResuxCard = RxCard;\nexport const ResuxBadge = RxBadge;\nexport const ResuxInput = RxInput;\nexport const ResuxSelect = RxSelect;\nexport const ResuxDatePicker = RxDatePicker;\nexport const ResuxPopover = RxPopover;\nexport const ResuxIcon = RxIcon;\nexport const ResuxAvatar = RxAvatar;\nexport const ResuxAlert = RxAlert;\nexport const ResuxAccordion = RxAccordion;\nexport const ResuxTooltip = RxTooltip;\nexport const ResuxDropdown = RxDropdown;\nexport const ResuxTabs = RxTabs;\nexport const ResuxTextarea = RxTextarea;\nexport const ResuxSwitch = RxSwitch;\nexport const ResuxSkeleton = RxSkeleton;\nexport const ResuxDivider = RxDivider;\nexport const ResuxKbd = RxKbd;\nexport const ResuxModal = RxModal;\nexport const ResuxVerificationCode = RxVerificationCode;\n\nconst uiStyles = `\n@keyframes rxFadeUp {\n from { opacity: 0; transform: translate3d(0, 30px, 0); }\n to { opacity: 1; transform: translate3d(0, 0, 0); }\n}\n@keyframes rxScaleIn {\n from { opacity: 0; transform: scale3d(0.92, 0.92, 1); }\n to { opacity: 1; transform: scale3d(1, 1, 1); }\n}\n@keyframes rxPulseGlow {\n 0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(3, 200, 191, 0.4); }\n 50% { transform: scale(1.03); box-shadow: 0 0 20px 10px rgba(3, 200, 191, 0); }\n 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(3, 200, 191, 0); }\n}\n@keyframes rxShimmer {\n 0% { background-position: -200% 0; }\n 100% { background-position: 200% 0; }\n}\n.rx-animate-fade-up { animation: rxFadeUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards; }\n.rx-animate-scale-in { animation: rxScaleIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards; }\n.rx-animate-pulse { animation: rxPulseGlow 2s infinite; }\n`;\n\nconst uiPrimitiveStyles = `\n.rx-btn {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n padding: 0.5rem 1rem;\n font-size: 0.875rem;\n font-weight: 500;\n border-radius: 0.375rem;\n cursor: pointer;\n transition: all 0.2s ease-in-out;\n border: 1px solid transparent;\n}\n.rx-btn-primary { background-color: #03c8bf; color: #0f172a; border-color: #03c8bf; }\n.rx-btn-primary:hover { background-color: #02b3ab; }\n.rx-btn-secondary { background-color: #334155; color: #f8fafc; border-color: #334155; }\n.rx-btn-secondary:hover { background-color: #475569; }\n.rx-btn-outline { background-color: transparent; color: #03c8bf; border-color: #03c8bf; }\n.rx-btn-outline:hover { background-color: rgba(3, 200, 191, 0.1); }\n.rx-btn-ghost { background-color: transparent; color: #cbd5e1; border-color: transparent; }\n.rx-btn-ghost:hover { background-color: rgba(255, 255, 255, 0.08); }\n.rx-btn-sm { padding: 0.25rem 0.625rem; font-size: 0.75rem; }\n.rx-btn-md { padding: 0.5rem 1rem; font-size: 0.875rem; }\n.rx-btn-lg { padding: 0.75rem 1.5rem; font-size: 1rem; }\n\n.rx-card {\n background-color: #1e293b;\n border-radius: 0.5rem;\n padding: 1.25rem;\n border: 1px solid #334155;\n color: #f8fafc;\n}\n.rx-card-glass {\n background: rgba(30, 41, 59, 0.7);\n backdrop-filter: blur(12px);\n border: 1px solid rgba(255, 255, 255, 0.1);\n}\n\n.rx-badge {\n display: inline-flex;\n align-items: center;\n padding: 0.125rem 0.5rem;\n border-radius: 9999px;\n font-size: 0.75rem;\n font-weight: 600;\n}\n.rx-badge-default { background-color: #334155; color: #e2e8f0; }\n.rx-badge-success { background-color: rgba(16, 185, 129, 0.2); color: #34d399; }\n.rx-badge-warning { background-color: rgba(245, 158, 11, 0.2); color: #fbbf24; }\n.rx-badge-danger { background-color: rgba(239, 68, 68, 0.2); color: #f87171; }\n.rx-badge-info { background-color: rgba(59, 130, 246, 0.2); color: #60a5fa; }\n\n.rx-input,\n.rx-select-native {\n width: 100%;\n min-height: 2.75rem;\n box-sizing: border-box;\n padding: 0.625rem 0.8rem;\n border-radius: 0.625rem;\n background: var(--rx-control-bg, #ffffff);\n border: 1px solid var(--rx-control-border, #cbd5e1);\n color: var(--rx-control-text, #0f172a);\n font: inherit;\n font-size: 0.9375rem;\n line-height: 1.4;\n outline: none;\n box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);\n transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;\n}\n.rx-input::placeholder {\n color: var(--rx-control-placeholder, #94a3b8);\n opacity: 1;\n}\n.rx-input:hover:not(:disabled):not([readonly]),\n.rx-select:not([data-disabled=\"true\"]):hover .rx-select-native {\n border-color: var(--rx-control-border-hover, #94a3b8);\n}\n.rx-input:focus,\n.rx-input:focus-visible,\n.rx-select-native:focus,\n.rx-select-native:focus-visible {\n border-color: var(--rx-control-accent, #03c8bf);\n box-shadow: 0 0 0 3px color-mix(in srgb, var(--rx-control-accent, #03c8bf) 18%, transparent);\n}\n.rx-input[aria-invalid=\"true\"],\n.rx-select-native[aria-invalid=\"true\"] {\n border-color: var(--rx-control-danger, #dc2626);\n}\n.rx-input[aria-invalid=\"true\"]:focus,\n.rx-select-native[aria-invalid=\"true\"]:focus {\n box-shadow: 0 0 0 3px color-mix(in srgb, var(--rx-control-danger, #dc2626) 15%, transparent);\n}\n.rx-input:disabled,\n.rx-select[data-disabled=\"true\"] .rx-select-native {\n cursor: not-allowed;\n opacity: 0.62;\n background: var(--rx-control-disabled-bg, #f8fafc);\n}\n.rx-input[readonly] {\n background: var(--rx-control-readonly-bg, #f8fafc);\n}\n.rx-textarea {\n min-height: 7rem;\n resize: vertical;\n}\n.rx-select {\n position: relative;\n width: 100%;\n}\n.rx-select-native {\n appearance: none;\n padding-inline-end: 2.5rem;\n cursor: pointer;\n}\n.rx-select-arrow {\n position: absolute;\n inset-inline-end: 0.85rem;\n top: 50%;\n transform: translateY(-50%);\n color: var(--rx-control-muted, #64748b);\n pointer-events: none;\n line-height: 1;\n transition: transform 160ms ease, color 160ms ease;\n}\n.rx-select:focus-within .rx-select-arrow {\n color: var(--rx-control-accent, #03c8bf);\n}\n\n.rx-avatar {\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border-radius: 9999px;\n background-color: #334155;\n color: #f8fafc;\n font-weight: 600;\n overflow: hidden;\n}\n.rx-avatar-sm { width: 2rem; height: 2rem; font-size: 0.75rem; }\n.rx-avatar-md { width: 2.5rem; height: 2.5rem; font-size: 0.875rem; }\n.rx-avatar-lg { width: 3.5rem; height: 3.5rem; font-size: 1.125rem; }\n.rx-avatar-img { width: 100%; height: 100%; object-fit: cover; }\n.rx-avatar-status {\n position: absolute;\n bottom: 0; right: 0;\n width: 0.625rem; height: 0.625rem;\n border-radius: 9999px;\n border: 2px solid #0f172a;\n}\n.rx-status-online { background-color: #10b981; }\n.rx-status-offline { background-color: #64748b; }\n\n.rx-alert {\n padding: 0.875rem 1rem;\n border-radius: 0.375rem;\n display: flex;\n flex-direction: column;\n gap: 0.25rem;\n position: relative;\n}\n.rx-alert-info { background-color: rgba(59, 130, 246, 0.15); border: 1px solid rgba(59, 130, 246, 0.3); color: #93c5fd; }\n.rx-alert-success { background-color: rgba(16, 185, 129, 0.15); border: 1px solid rgba(16, 185, 129, 0.3); color: #6ee7b7; }\n.rx-alert-warning { background-color: rgba(245, 158, 11, 0.15); border: 1px solid rgba(245, 158, 11, 0.3); color: #fde047; }\n.rx-alert-danger { background-color: rgba(239, 68, 68, 0.15); border: 1px solid rgba(239, 68, 68, 0.3); color: #fca5a5; }\n.rx-alert-title { font-weight: 600; font-size: 0.9375rem; }\n\n.rx-accordion {\n border: 1px solid #334155;\n border-radius: 0.375rem;\n overflow: hidden;\n}\n.rx-accordion-header {\n width: 100%;\n padding: 0.75rem 1rem;\n background-color: #1e293b;\n color: #f8fafc;\n display: flex;\n justify-content: space-between;\n align-items: center;\n border: none;\n cursor: pointer;\n}\n.rx-accordion-body {\n padding: 1rem;\n background-color: #0f172a;\n color: #cbd5e1;\n}\n\n.rx-switch {\n position: relative;\n display: inline-flex;\n flex: 0 0 auto;\n align-items: center;\n width: 3rem;\n height: 1.75rem;\n box-sizing: border-box;\n padding: 0.1875rem;\n border: 1px solid var(--rx-switch-border, #cbd5e1);\n border-radius: 9999px;\n background: var(--rx-switch-off, #e2e8f0);\n cursor: pointer;\n outline: none;\n box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.08);\n transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;\n}\n.rx-switch:hover:not(:disabled) {\n border-color: var(--rx-switch-border-hover, #94a3b8);\n}\n.rx-switch:focus-visible {\n box-shadow: 0 0 0 3px color-mix(in srgb, var(--rx-switch-accent, #03c8bf) 20%, transparent);\n}\n.rx-switch.checked {\n background: var(--rx-switch-accent, #03c8bf);\n border-color: var(--rx-switch-accent, #03c8bf);\n}\n.rx-switch:disabled {\n cursor: not-allowed;\n opacity: 0.55;\n}\n.rx-switch-thumb {\n display: block;\n width: 1.25rem;\n height: 1.25rem;\n border-radius: 9999px;\n background: #ffffff;\n box-shadow: 0 1px 3px rgba(15, 23, 42, 0.28);\n transform: translate3d(0, 0, 0);\n transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1);\n}\n.rx-switch.checked .rx-switch-thumb {\n transform: translate3d(1.25rem, 0, 0);\n}\n[dir=\"rtl\"] .rx-switch.checked .rx-switch-thumb {\n transform: translate3d(-1.25rem, 0, 0);\n}\n\n.rx-skeleton {\n background: linear-gradient(90deg, #1e293b 25%, #334155 50%, #1e293b 75%);\n background-size: 200% 100%;\n animation: rxShimmer 1.5s infinite;\n}\n\n.rx-kbd {\n display: inline-block;\n padding: 0.125rem 0.375rem;\n font-size: 0.75rem;\n font-family: monospace;\n background-color: #1e293b;\n border: 1px solid #475569;\n border-radius: 0.25rem;\n color: #e2e8f0;\n}\n\n.rx-divider {\n display: flex;\n align-items: center;\n margin: 1rem 0;\n}\n.rx-divider-horizontal { border-bottom: 1px solid #334155; width: 100%; }\n.rx-divider-label { padding: 0 0.5rem; color: #94a3b8; font-size: 0.75rem; }\n\n.rx-modal-backdrop {\n position: fixed;\n top: 0; left: 0; right: 0; bottom: 0;\n background-color: rgba(0, 0, 0, 0.6);\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 9999;\n}\n.rx-modal-content {\n background-color: #1e293b;\n border-radius: 0.5rem;\n padding: 1.5rem;\n max-width: 500px;\n width: 90%;\n border: 1px solid #334155;\n color: #f8fafc;\n}\n`;\n\nconst resuxUiModule = {\n defaults: {\n css: [],\n tokens: {},\n defaultStyles: true,\n animations: {\n enabled: true,\n defaultPreset: \"fade-up\"\n }\n },\n setup(options, resux) {\n const css = Array.isArray(options.css) ? options.css : [];\n for (const href of css) {\n if (typeof href === \"string\" && href.trim()) {\n resux.addCss(href);\n }\n }\n\n const stylesToInject: string[] = [];\n if (options.animations?.enabled !== false) {\n stylesToInject.push(uiStyles);\n }\n if (options.defaultStyles !== false) {\n stylesToInject.push(`${uiPrimitiveStyles}\\n${verificationCodeStyles}`);\n if (options.animations?.enabled === false) {\n stylesToInject.push(verificationCodeAnimationsDisabledStyles);\n }\n }\n\n if (stylesToInject.length > 0) {\n resux.addHead({\n style: stylesToInject.map((css, index) => ({\n id: `resux-ui-${index}`,\n css,\n children: css\n }))\n });\n }\n\n resux.extendRuntimeConfig({\n public: {\n ui: {\n tokens: options.tokens && typeof options.tokens === \"object\" ? options.tokens : {},\n defaultStyles: options.defaultStyles !== false,\n animations: {\n enabled: options.animations?.enabled !== false,\n defaultPreset: options.animations?.defaultPreset || \"fade-up\"\n }\n }\n }\n });\n }\n} satisfies ResuxModuleDefinition<ResuxUiModuleOptions>;\n\nexport default resuxUiModule;\n"],"mappings":";;;AAqBA,SAAgB,eAAkD,QAAc;CAC9E,OAAO;AACT;AAYA,SAAgB,kBAA2B;CACzC,IAAI,OAAO,WAAW,eAAe,OAAO,OAAO,eAAe,YAAY,OAAO;CACrF,OAAO,OAAO,WAAW,kCAAkC,CAAC,CAAC;AAC/D;AAEA,SAAgB,WACd,QACA,UAA0B,CAAC,GAC3B;CACA,MAAM,UAAU,UAAU,aAAa,UAAU,OAAO,OAAO,YAAY,aACvE,SACA,UAAU,WAAW,SACnB,OAAO,QACP;CACN,IAAI,CAAC,WAAW,OAAO,WAAW,aAAa,OAAO;CAEtD,IAAI,gBAAgB,GAAG,OAAO;CAE9B,MAAM,OAAO,QAAQ,QAAQ;CAC7B,MAAM,WAA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,YAAY;IACzC,eAAe,QAAQ,YAAY,iBAAiB;GACtD;EACF,EACF,EACF,CAAC;CACH;AACF"}
@@ -0,0 +1,134 @@
1
+ export type VerificationCodeStatus = "idle" | "verifying" | "success" | "error";
2
+ export type VerificationCodeMode = "numeric" | "alphanumeric";
3
+ export declare const RxVerificationCode: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ modelValue: {
5
+ type: StringConstructor;
6
+ default: string;
7
+ };
8
+ length: {
9
+ type: NumberConstructor;
10
+ default: number;
11
+ };
12
+ status: {
13
+ type: StringConstructor;
14
+ default: string;
15
+ };
16
+ mode: {
17
+ type: StringConstructor;
18
+ default: string;
19
+ };
20
+ autoFocus: {
21
+ type: BooleanConstructor;
22
+ default: boolean;
23
+ };
24
+ disabled: {
25
+ type: BooleanConstructor;
26
+ default: boolean;
27
+ };
28
+ mask: {
29
+ type: BooleanConstructor;
30
+ default: boolean;
31
+ };
32
+ name: {
33
+ type: StringConstructor;
34
+ default: string;
35
+ };
36
+ ariaLabel: {
37
+ type: StringConstructor;
38
+ default: string;
39
+ };
40
+ verifyingText: {
41
+ type: StringConstructor;
42
+ default: string;
43
+ };
44
+ successText: {
45
+ type: StringConstructor;
46
+ default: string;
47
+ };
48
+ errorText: {
49
+ type: StringConstructor;
50
+ default: string;
51
+ };
52
+ unstyled: {
53
+ type: BooleanConstructor;
54
+ default: boolean;
55
+ };
56
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
57
+ [key: string]: any;
58
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("blur" | "change" | "focus" | "update:modelValue" | "complete")[], "blur" | "change" | "focus" | "update:modelValue" | "complete", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
59
+ modelValue: {
60
+ type: StringConstructor;
61
+ default: string;
62
+ };
63
+ length: {
64
+ type: NumberConstructor;
65
+ default: number;
66
+ };
67
+ status: {
68
+ type: StringConstructor;
69
+ default: string;
70
+ };
71
+ mode: {
72
+ type: StringConstructor;
73
+ default: string;
74
+ };
75
+ autoFocus: {
76
+ type: BooleanConstructor;
77
+ default: boolean;
78
+ };
79
+ disabled: {
80
+ type: BooleanConstructor;
81
+ default: boolean;
82
+ };
83
+ mask: {
84
+ type: BooleanConstructor;
85
+ default: boolean;
86
+ };
87
+ name: {
88
+ type: StringConstructor;
89
+ default: string;
90
+ };
91
+ ariaLabel: {
92
+ type: StringConstructor;
93
+ default: string;
94
+ };
95
+ verifyingText: {
96
+ type: StringConstructor;
97
+ default: string;
98
+ };
99
+ successText: {
100
+ type: StringConstructor;
101
+ default: string;
102
+ };
103
+ errorText: {
104
+ type: StringConstructor;
105
+ default: string;
106
+ };
107
+ unstyled: {
108
+ type: BooleanConstructor;
109
+ default: boolean;
110
+ };
111
+ }>> & Readonly<{
112
+ onBlur?: ((...args: any[]) => any) | undefined;
113
+ onChange?: ((...args: any[]) => any) | undefined;
114
+ onFocus?: ((...args: any[]) => any) | undefined;
115
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
116
+ onComplete?: ((...args: any[]) => any) | undefined;
117
+ }>, {
118
+ name: string;
119
+ mode: string;
120
+ length: number;
121
+ disabled: boolean;
122
+ modelValue: string;
123
+ status: string;
124
+ autoFocus: boolean;
125
+ mask: boolean;
126
+ ariaLabel: string;
127
+ verifyingText: string;
128
+ successText: string;
129
+ errorText: string;
130
+ unstyled: boolean;
131
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
132
+ export declare const verificationCodeStyles = "\n@keyframes rxVerificationFill {\n 0% { transform: translateY(5px) scale(0.72) rotate(-7deg); opacity: 0.2; }\n 60% { transform: translateY(-2px) scale(1.08) rotate(3deg); opacity: 1; }\n 100% { transform: translateY(0) scale(1) rotate(0); opacity: 1; }\n}\n@keyframes rxVerificationStatusIn {\n 0% { transform: scale(0.18) rotate(-18deg); opacity: 0; }\n 62% { transform: scale(1.12) rotate(5deg); opacity: 1; }\n 100% { transform: scale(1) rotate(0); opacity: 1; }\n}\n@keyframes rxVerificationPulse {\n 0%, 100% { transform: scale(1); box-shadow: 0 8px 20px rgba(37, 99, 235, 0.24); }\n 50% { transform: scale(1.07); box-shadow: 0 10px 28px rgba(37, 99, 235, 0.36); }\n}\n@keyframes rxVerificationSpin {\n to { transform: rotate(360deg); }\n}\n@keyframes rxVerificationShake {\n 0%, 100% { transform: translateX(0); }\n 20% { transform: translateX(-6px); }\n 40% { transform: translateX(5px); }\n 60% { transform: translateX(-4px); }\n 80% { transform: translateX(3px); }\n}\n\n.rx-verification-code {\n --rx-verification-accent: #2563eb;\n --rx-verification-accent-soft: #dbeafe;\n --rx-verification-success: #10b981;\n --rx-verification-danger: #ef4444;\n --rx-verification-cell-bg: #ffffff;\n --rx-verification-cell-border: #cbd5e1;\n --rx-verification-cell-text: #0f172a;\n position: relative;\n display: inline-flex;\n width: min(100%, 42rem);\n flex-direction: column;\n align-items: center;\n gap: 0.75rem;\n max-width: 100%;\n cursor: text;\n -webkit-tap-highlight-color: transparent;\n}\n.rx-verification-code[data-disabled=\"true\"] {\n cursor: not-allowed;\n opacity: 0.55;\n}\n.rx-verification-code-cells {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 0.5rem;\n width: 100%;\n min-height: 3rem;\n perspective: 700px;\n}\n.rx-verification-code-cell {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n width: 3rem;\n max-width: 3rem;\n min-width: 0;\n height: auto;\n aspect-ratio: 1;\n flex: 1 1 3rem;\n box-sizing: border-box;\n border: 1.5px solid var(--rx-verification-cell-border);\n border-radius: 0.75rem;\n background: var(--rx-verification-cell-bg);\n color: var(--rx-verification-cell-text);\n font-size: 1.05rem;\n font-weight: 750;\n line-height: 1;\n font-variant-numeric: tabular-nums;\n box-shadow: 0 5px 14px rgba(15, 23, 42, 0.06);\n transform-origin: center;\n transition:\n border-color 180ms ease,\n box-shadow 180ms ease,\n background 180ms ease,\n color 180ms ease,\n transform 180ms cubic-bezier(0.16, 1, 0.3, 1),\n opacity 180ms ease;\n}\n.rx-verification-code-cell.is-active {\n border-color: var(--rx-verification-accent);\n box-shadow:\n 0 0 0 3px rgba(37, 99, 235, 0.15),\n 0 6px 18px rgba(37, 99, 235, 0.12);\n transform: translateY(-1px);\n}\n.rx-verification-code-cell.is-filled {\n border-color: transparent;\n color: #ffffff;\n background: linear-gradient(145deg, #60a5fa, var(--rx-verification-accent));\n box-shadow: 0 8px 18px rgba(37, 99, 235, 0.22);\n animation: rxVerificationFill 300ms cubic-bezier(0.16, 1, 0.3, 1);\n}\n.rx-verification-code.is-collapsing .rx-verification-code-cell {\n border-color: transparent;\n background: linear-gradient(145deg, #60a5fa, var(--rx-verification-accent));\n color: #ffffff;\n box-shadow: 0 8px 18px rgba(37, 99, 235, 0.2);\n transform:\n translateX(var(--rx-otp-shift))\n scale(0.16)\n rotate(var(--rx-otp-rotate));\n opacity: 0;\n transition:\n transform 340ms cubic-bezier(0.7, 0, 0.84, 0),\n opacity 260ms ease;\n transition-delay: var(--rx-otp-delay);\n}\n.rx-verification-code.is-error .rx-verification-code-cells {\n animation: rxVerificationShake 360ms ease-in-out;\n}\n.rx-verification-code.is-error .rx-verification-code-cell {\n border-color: #fca5a5;\n}\n.rx-verification-code-status {\n min-height: 3rem;\n display: inline-flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: 0.5rem;\n animation: rxVerificationStatusIn 420ms cubic-bezier(0.16, 1, 0.3, 1);\n}\n.rx-verification-code-orb {\n width: 3rem;\n height: 3rem;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border-radius: 9999px;\n}\n.rx-verification-code-orb.is-verifying {\n background: linear-gradient(145deg, #60a5fa, var(--rx-verification-accent));\n animation: rxVerificationPulse 1.25s ease-in-out infinite;\n}\n.rx-verification-code-orb.is-success {\n color: #ffffff;\n background: linear-gradient(145deg, #34d399, var(--rx-verification-success));\n box-shadow: 0 10px 24px rgba(16, 185, 129, 0.28);\n}\n.rx-verification-code-spinner {\n width: 1.1rem;\n height: 1.1rem;\n box-sizing: border-box;\n border: 2px solid rgba(255, 255, 255, 0.42);\n border-top-color: #ffffff;\n border-radius: 9999px;\n animation: rxVerificationSpin 700ms linear infinite;\n}\n.rx-verification-code-check {\n font-size: 1.5rem;\n font-weight: 800;\n line-height: 1;\n transform: translateY(-1px);\n}\n.rx-verification-code-message {\n color: var(--rx-verification-success);\n font-size: 0.8rem;\n font-weight: 650;\n}\n.rx-verification-code-status.is-verifying .rx-verification-code-message {\n color: #64748b;\n}\n.rx-verification-code-error {\n color: var(--rx-verification-danger);\n font-size: 0.8rem;\n font-weight: 600;\n text-align: center;\n}\n\n@media (max-width: 420px) {\n .rx-verification-code-cells {\n gap: 0.375rem;\n }\n .rx-verification-code-cell {\n max-width: 2.65rem;\n border-radius: 0.65rem;\n }\n}\n\n@media (prefers-reduced-motion: reduce) {\n .rx-verification-code *,\n .rx-verification-code *::before,\n .rx-verification-code *::after {\n animation-duration: 0.01ms !important;\n animation-iteration-count: 1 !important;\n transition-duration: 0.01ms !important;\n transition-delay: 0ms !important;\n }\n}\n";
133
+ export declare const verificationCodeAnimationsDisabledStyles = "\n.rx-verification-code *,\n.rx-verification-code *::before,\n.rx-verification-code *::after {\n animation: none !important;\n transition: none !important;\n}\n";
134
+ //# sourceMappingURL=verification-code.d.ts.map