@generaltranslation/react-core 11.0.0-odysseus.4 → 11.0.0

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 (441) hide show
  1. package/CHANGELOG.md +301 -0
  2. package/dist/_virtual/_rolldown/runtime.cjs +1 -0
  3. package/dist/components/branches/Branch.cjs +2 -0
  4. package/dist/components/branches/Branch.cjs.map +1 -0
  5. package/dist/components/branches/Branch.d.ts +30 -0
  6. package/dist/components/branches/Branch.d.ts.map +1 -0
  7. package/dist/components/branches/Branch.mjs +2 -0
  8. package/dist/components/branches/Branch.mjs.map +1 -0
  9. package/dist/components/branches/Plural.cjs +2 -0
  10. package/dist/components/branches/Plural.cjs.map +1 -0
  11. package/dist/components/branches/Plural.d.ts +19 -0
  12. package/dist/components/branches/Plural.d.ts.map +1 -0
  13. package/dist/components/branches/Plural.mjs +2 -0
  14. package/dist/components/branches/Plural.mjs.map +1 -0
  15. package/dist/components/branches/Plural.rsc.cjs +2 -0
  16. package/dist/components/branches/Plural.rsc.cjs.map +1 -0
  17. package/dist/components/branches/Plural.rsc.d.ts +15 -0
  18. package/dist/components/branches/Plural.rsc.d.ts.map +1 -0
  19. package/dist/components/branches/Plural.rsc.mjs +2 -0
  20. package/dist/components/branches/Plural.rsc.mjs.map +1 -0
  21. package/dist/components/branches/Plural.shared.cjs +2 -0
  22. package/dist/components/branches/Plural.shared.cjs.map +1 -0
  23. package/dist/components/branches/Plural.shared.d.ts +18 -0
  24. package/dist/components/branches/Plural.shared.d.ts.map +1 -0
  25. package/dist/components/branches/Plural.shared.mjs +2 -0
  26. package/dist/components/branches/Plural.shared.mjs.map +1 -0
  27. package/dist/components/derivation/Derive.cjs +2 -0
  28. package/dist/components/derivation/Derive.cjs.map +1 -0
  29. package/dist/components/derivation/Derive.d.ts +19 -0
  30. package/dist/components/derivation/Derive.d.ts.map +1 -0
  31. package/dist/components/derivation/Derive.mjs +2 -0
  32. package/dist/components/derivation/Derive.mjs.map +1 -0
  33. package/dist/components/helpers/InternalLocaleSelector.cjs +2 -0
  34. package/dist/components/helpers/InternalLocaleSelector.cjs.map +1 -0
  35. package/dist/components/helpers/InternalLocaleSelector.d.ts +38 -0
  36. package/dist/components/helpers/InternalLocaleSelector.d.ts.map +1 -0
  37. package/dist/components/helpers/InternalLocaleSelector.mjs +2 -0
  38. package/dist/components/helpers/InternalLocaleSelector.mjs.map +1 -0
  39. package/dist/components/helpers/InternalRegionSelector.cjs +2 -0
  40. package/dist/components/helpers/InternalRegionSelector.cjs.map +1 -0
  41. package/dist/components/helpers/InternalRegionSelector.d.ts +33 -0
  42. package/dist/components/helpers/InternalRegionSelector.d.ts.map +1 -0
  43. package/dist/components/helpers/InternalRegionSelector.mjs +2 -0
  44. package/dist/components/helpers/InternalRegionSelector.mjs.map +1 -0
  45. package/dist/components/translation/T.cjs +2 -0
  46. package/dist/components/translation/T.cjs.map +1 -0
  47. package/dist/components/translation/T.d.ts +18 -0
  48. package/dist/components/translation/T.d.ts.map +1 -0
  49. package/dist/components/translation/T.mjs +2 -0
  50. package/dist/components/translation/T.mjs.map +1 -0
  51. package/dist/components/translation/T.rsc.cjs +2 -0
  52. package/dist/components/translation/T.rsc.cjs.map +1 -0
  53. package/dist/components/translation/T.rsc.d.ts +17 -0
  54. package/dist/components/translation/T.rsc.d.ts.map +1 -0
  55. package/dist/components/translation/T.rsc.mjs +2 -0
  56. package/dist/components/translation/T.rsc.mjs.map +1 -0
  57. package/dist/components/translation/Tx.rsc.cjs +2 -0
  58. package/dist/components/translation/Tx.rsc.cjs.map +1 -0
  59. package/dist/components/translation/Tx.rsc.d.ts +17 -0
  60. package/dist/components/translation/Tx.rsc.d.ts.map +1 -0
  61. package/dist/components/translation/Tx.rsc.mjs +2 -0
  62. package/dist/components/translation/Tx.rsc.mjs.map +1 -0
  63. package/dist/components/variables/Currency.cjs +2 -0
  64. package/dist/components/variables/Currency.cjs.map +1 -0
  65. package/dist/components/variables/Currency.d.ts +18 -0
  66. package/dist/components/variables/Currency.d.ts.map +1 -0
  67. package/dist/components/variables/Currency.mjs +2 -0
  68. package/dist/components/variables/Currency.mjs.map +1 -0
  69. package/dist/components/variables/Currency.rsc.cjs +2 -0
  70. package/dist/components/variables/Currency.rsc.cjs.map +1 -0
  71. package/dist/components/variables/Currency.rsc.d.ts +14 -0
  72. package/dist/components/variables/Currency.rsc.d.ts.map +1 -0
  73. package/dist/components/variables/Currency.rsc.mjs +2 -0
  74. package/dist/components/variables/Currency.rsc.mjs.map +1 -0
  75. package/dist/components/variables/Currency.shared.cjs +2 -0
  76. package/dist/components/variables/Currency.shared.cjs.map +1 -0
  77. package/dist/components/variables/Currency.shared.d.ts +17 -0
  78. package/dist/components/variables/Currency.shared.d.ts.map +1 -0
  79. package/dist/components/variables/Currency.shared.mjs +2 -0
  80. package/dist/components/variables/Currency.shared.mjs.map +1 -0
  81. package/dist/components/variables/DateTime.cjs +2 -0
  82. package/dist/components/variables/DateTime.cjs.map +1 -0
  83. package/dist/components/variables/DateTime.d.ts +18 -0
  84. package/dist/components/variables/DateTime.d.ts.map +1 -0
  85. package/dist/components/variables/DateTime.mjs +2 -0
  86. package/dist/components/variables/DateTime.mjs.map +1 -0
  87. package/dist/components/variables/DateTime.rsc.cjs +2 -0
  88. package/dist/components/variables/DateTime.rsc.cjs.map +1 -0
  89. package/dist/components/variables/DateTime.rsc.d.ts +14 -0
  90. package/dist/components/variables/DateTime.rsc.d.ts.map +1 -0
  91. package/dist/components/variables/DateTime.rsc.mjs +2 -0
  92. package/dist/components/variables/DateTime.rsc.mjs.map +1 -0
  93. package/dist/components/variables/DateTime.shared.cjs +2 -0
  94. package/dist/components/variables/DateTime.shared.cjs.map +1 -0
  95. package/dist/components/variables/DateTime.shared.d.ts +16 -0
  96. package/dist/components/variables/DateTime.shared.d.ts.map +1 -0
  97. package/dist/components/variables/DateTime.shared.mjs +2 -0
  98. package/dist/components/variables/DateTime.shared.mjs.map +1 -0
  99. package/dist/components/variables/Num.cjs +2 -0
  100. package/dist/components/variables/Num.cjs.map +1 -0
  101. package/dist/components/variables/Num.d.ts +18 -0
  102. package/dist/components/variables/Num.d.ts.map +1 -0
  103. package/dist/components/variables/Num.mjs +2 -0
  104. package/dist/components/variables/Num.mjs.map +1 -0
  105. package/dist/components/variables/Num.rsc.cjs +2 -0
  106. package/dist/components/variables/Num.rsc.cjs.map +1 -0
  107. package/dist/components/variables/Num.rsc.d.ts +14 -0
  108. package/dist/components/variables/Num.rsc.d.ts.map +1 -0
  109. package/dist/components/variables/Num.rsc.mjs +2 -0
  110. package/dist/components/variables/Num.rsc.mjs.map +1 -0
  111. package/dist/components/variables/Num.shared.cjs +2 -0
  112. package/dist/components/variables/Num.shared.cjs.map +1 -0
  113. package/dist/components/variables/Num.shared.d.ts +16 -0
  114. package/dist/components/variables/Num.shared.d.ts.map +1 -0
  115. package/dist/components/variables/Num.shared.mjs +2 -0
  116. package/dist/components/variables/Num.shared.mjs.map +1 -0
  117. package/dist/components/variables/RelativeTime.cjs +2 -0
  118. package/dist/components/variables/RelativeTime.cjs.map +1 -0
  119. package/dist/components/variables/RelativeTime.d.ts +18 -0
  120. package/dist/components/variables/RelativeTime.d.ts.map +1 -0
  121. package/dist/components/variables/RelativeTime.mjs +2 -0
  122. package/dist/components/variables/RelativeTime.mjs.map +1 -0
  123. package/dist/components/variables/RelativeTime.rsc.cjs +2 -0
  124. package/dist/components/variables/RelativeTime.rsc.cjs.map +1 -0
  125. package/dist/components/variables/RelativeTime.rsc.d.ts +14 -0
  126. package/dist/components/variables/RelativeTime.rsc.d.ts.map +1 -0
  127. package/dist/components/variables/RelativeTime.rsc.mjs +2 -0
  128. package/dist/components/variables/RelativeTime.rsc.mjs.map +1 -0
  129. package/dist/components/variables/RelativeTime.shared.cjs +2 -0
  130. package/dist/components/variables/RelativeTime.shared.cjs.map +1 -0
  131. package/dist/components/variables/RelativeTime.shared.d.ts +20 -0
  132. package/dist/components/variables/RelativeTime.shared.d.ts.map +1 -0
  133. package/dist/components/variables/RelativeTime.shared.mjs +2 -0
  134. package/dist/components/variables/RelativeTime.shared.mjs.map +1 -0
  135. package/dist/components/variables/Var.cjs +2 -0
  136. package/dist/components/variables/Var.cjs.map +1 -0
  137. package/dist/components/variables/Var.d.ts +27 -0
  138. package/dist/components/variables/Var.d.ts.map +1 -0
  139. package/dist/components/variables/Var.mjs +2 -0
  140. package/dist/components/variables/Var.mjs.map +1 -0
  141. package/dist/components-rsc.cjs +1 -0
  142. package/dist/components-rsc.d.ts +32 -531
  143. package/dist/components-rsc.mjs +1 -0
  144. package/dist/components.cjs +1 -0
  145. package/dist/components.d.ts +14 -495
  146. package/dist/components.mjs +1 -0
  147. package/dist/condition-store/singleton-operations.cjs +2 -0
  148. package/dist/condition-store/singleton-operations.cjs.map +1 -0
  149. package/dist/condition-store/singleton-operations.d.ts +7 -0
  150. package/dist/condition-store/singleton-operations.d.ts.map +1 -0
  151. package/dist/condition-store/singleton-operations.mjs +2 -0
  152. package/dist/condition-store/singleton-operations.mjs.map +1 -0
  153. package/dist/context/InternalGTProvider.cjs +2 -0
  154. package/dist/context/InternalGTProvider.cjs.map +1 -0
  155. package/dist/context/InternalGTProvider.d.ts +39 -0
  156. package/dist/context/InternalGTProvider.d.ts.map +1 -0
  157. package/dist/context/InternalGTProvider.mjs +2 -0
  158. package/dist/context/InternalGTProvider.mjs.map +1 -0
  159. package/dist/context/context.cjs +2 -0
  160. package/dist/context/context.cjs.map +1 -0
  161. package/dist/context/context.mjs +2 -0
  162. package/dist/context/context.mjs.map +1 -0
  163. package/dist/functions/helpers/getTranslationsSnapshot.cjs +2 -0
  164. package/dist/functions/helpers/getTranslationsSnapshot.cjs.map +1 -0
  165. package/dist/functions/helpers/getTranslationsSnapshot.d.ts +14 -0
  166. package/dist/functions/helpers/getTranslationsSnapshot.d.ts.map +1 -0
  167. package/dist/functions/helpers/getTranslationsSnapshot.mjs +2 -0
  168. package/dist/functions/helpers/getTranslationsSnapshot.mjs.map +1 -0
  169. package/dist/functions/translation/t.cjs +2 -0
  170. package/dist/functions/translation/t.cjs.map +1 -0
  171. package/dist/functions/translation/t.d.ts +34 -0
  172. package/dist/functions/translation/t.d.ts.map +1 -0
  173. package/dist/functions/translation/t.mjs +2 -0
  174. package/dist/functions/translation/t.mjs.map +1 -0
  175. package/dist/hooks/condition-store.cjs +2 -0
  176. package/dist/hooks/condition-store.cjs.map +1 -0
  177. package/dist/hooks/condition-store.d.ts +23 -0
  178. package/dist/hooks/condition-store.d.ts.map +1 -0
  179. package/dist/hooks/condition-store.mjs +2 -0
  180. package/dist/hooks/condition-store.mjs.map +1 -0
  181. package/dist/hooks/external-store/useSubscribeToTrackedLookups.cjs +2 -0
  182. package/dist/hooks/external-store/useSubscribeToTrackedLookups.cjs.map +1 -0
  183. package/dist/hooks/external-store/useSubscribeToTrackedLookups.mjs +2 -0
  184. package/dist/hooks/external-store/useSubscribeToTrackedLookups.mjs.map +1 -0
  185. package/dist/hooks/external-store/useTrackedDictionaryObjResolver.cjs +2 -0
  186. package/dist/hooks/external-store/useTrackedDictionaryObjResolver.cjs.map +1 -0
  187. package/dist/hooks/external-store/useTrackedDictionaryObjResolver.mjs +2 -0
  188. package/dist/hooks/external-store/useTrackedDictionaryObjResolver.mjs.map +1 -0
  189. package/dist/hooks/external-store/useTrackedDictionaryResolver.cjs +2 -0
  190. package/dist/hooks/external-store/useTrackedDictionaryResolver.cjs.map +1 -0
  191. package/dist/hooks/external-store/useTrackedDictionaryResolver.mjs +2 -0
  192. package/dist/hooks/external-store/useTrackedDictionaryResolver.mjs.map +1 -0
  193. package/dist/hooks/external-store/useTrackedTranslationResolver.cjs +2 -0
  194. package/dist/hooks/external-store/useTrackedTranslationResolver.cjs.map +1 -0
  195. package/dist/hooks/external-store/useTrackedTranslationResolver.d.ts +10 -0
  196. package/dist/hooks/external-store/useTrackedTranslationResolver.d.ts.map +1 -0
  197. package/dist/hooks/external-store/useTrackedTranslationResolver.mjs +2 -0
  198. package/dist/hooks/external-store/useTrackedTranslationResolver.mjs.map +1 -0
  199. package/dist/hooks/external-store.cjs +2 -0
  200. package/dist/hooks/external-store.cjs.map +1 -0
  201. package/dist/hooks/external-store.mjs +2 -0
  202. package/dist/hooks/external-store.mjs.map +1 -0
  203. package/dist/hooks/i18n-config.cjs +2 -0
  204. package/dist/hooks/i18n-config.cjs.map +1 -0
  205. package/dist/hooks/i18n-config.d.ts +9 -0
  206. package/dist/hooks/i18n-config.d.ts.map +1 -0
  207. package/dist/hooks/i18n-config.mjs +2 -0
  208. package/dist/hooks/i18n-config.mjs.map +1 -0
  209. package/dist/hooks/useGT.cjs +2 -0
  210. package/dist/hooks/useGT.cjs.map +1 -0
  211. package/dist/hooks/useGT.d.ts +8 -0
  212. package/dist/hooks/useGT.d.ts.map +1 -0
  213. package/dist/hooks/useGT.mjs +2 -0
  214. package/dist/hooks/useGT.mjs.map +1 -0
  215. package/dist/hooks/useInternalLocaleSelector.cjs +2 -0
  216. package/dist/hooks/useInternalLocaleSelector.cjs.map +1 -0
  217. package/dist/hooks/useInternalLocaleSelector.d.ts +12 -0
  218. package/dist/hooks/useInternalLocaleSelector.d.ts.map +1 -0
  219. package/dist/hooks/useInternalLocaleSelector.mjs +2 -0
  220. package/dist/hooks/useInternalLocaleSelector.mjs.map +1 -0
  221. package/dist/hooks/useInternalRegionSelector.cjs +2 -0
  222. package/dist/hooks/useInternalRegionSelector.cjs.map +1 -0
  223. package/dist/hooks/useInternalRegionSelector.d.ts +42 -0
  224. package/dist/hooks/useInternalRegionSelector.d.ts.map +1 -0
  225. package/dist/hooks/useInternalRegionSelector.mjs +2 -0
  226. package/dist/hooks/useInternalRegionSelector.mjs.map +1 -0
  227. package/dist/hooks/useMessages.cjs +2 -0
  228. package/dist/hooks/useMessages.cjs.map +1 -0
  229. package/dist/hooks/useMessages.d.ts +8 -0
  230. package/dist/hooks/useMessages.d.ts.map +1 -0
  231. package/dist/hooks/useMessages.mjs +2 -0
  232. package/dist/hooks/useMessages.mjs.map +1 -0
  233. package/dist/hooks/useTranslations.cjs +2 -0
  234. package/dist/hooks/useTranslations.cjs.map +1 -0
  235. package/dist/hooks/useTranslations.d.ts +10 -0
  236. package/dist/hooks/useTranslations.d.ts.map +1 -0
  237. package/dist/hooks/useTranslations.mjs +2 -0
  238. package/dist/hooks/useTranslations.mjs.map +1 -0
  239. package/dist/hooks/utils/getFormatLocales.cjs +2 -0
  240. package/dist/hooks/utils/getFormatLocales.cjs.map +1 -0
  241. package/dist/hooks/utils/getFormatLocales.d.ts +13 -0
  242. package/dist/hooks/utils/getFormatLocales.d.ts.map +1 -0
  243. package/dist/hooks/utils/getFormatLocales.mjs +2 -0
  244. package/dist/hooks/utils/getFormatLocales.mjs.map +1 -0
  245. package/dist/hooks/utils/getShouldTranslate.cjs +2 -0
  246. package/dist/hooks/utils/getShouldTranslate.cjs.map +1 -0
  247. package/dist/hooks/utils/getShouldTranslate.d.ts +8 -0
  248. package/dist/hooks/utils/getShouldTranslate.d.ts.map +1 -0
  249. package/dist/hooks/utils/getShouldTranslate.mjs +2 -0
  250. package/dist/hooks/utils/getShouldTranslate.mjs.map +1 -0
  251. package/dist/hooks/utils/missing-translation.cjs +2 -0
  252. package/dist/hooks/utils/missing-translation.cjs.map +1 -0
  253. package/dist/hooks/utils/missing-translation.d.ts +10 -0
  254. package/dist/hooks/utils/missing-translation.d.ts.map +1 -0
  255. package/dist/hooks/utils/missing-translation.mjs +2 -0
  256. package/dist/hooks/utils/missing-translation.mjs.map +1 -0
  257. package/dist/hooks/utils.cjs +2 -0
  258. package/dist/hooks/utils.cjs.map +1 -0
  259. package/dist/hooks/utils.d.ts +10 -0
  260. package/dist/hooks/utils.d.ts.map +1 -0
  261. package/dist/hooks/utils.mjs +2 -0
  262. package/dist/hooks/utils.mjs.map +1 -0
  263. package/dist/hooks.cjs +1 -0
  264. package/dist/hooks.d.ts +9 -130
  265. package/dist/hooks.mjs +1 -0
  266. package/dist/i18n-cache/ReactI18nCache.cjs +2 -0
  267. package/dist/i18n-cache/ReactI18nCache.cjs.map +1 -0
  268. package/dist/i18n-cache/ReactI18nCache.d.ts +10 -0
  269. package/dist/i18n-cache/ReactI18nCache.d.ts.map +1 -0
  270. package/dist/i18n-cache/ReactI18nCache.mjs +2 -0
  271. package/dist/i18n-cache/ReactI18nCache.mjs.map +1 -0
  272. package/dist/i18n-cache/singleton-operations.cjs +2 -0
  273. package/dist/i18n-cache/singleton-operations.cjs.map +1 -0
  274. package/dist/i18n-cache/singleton-operations.d.ts +8 -0
  275. package/dist/i18n-cache/singleton-operations.d.ts.map +1 -0
  276. package/dist/i18n-cache/singleton-operations.mjs +2 -0
  277. package/dist/i18n-cache/singleton-operations.mjs.map +1 -0
  278. package/dist/i18n-store/I18nStore.cjs +2 -0
  279. package/dist/i18n-store/I18nStore.cjs.map +1 -0
  280. package/dist/i18n-store/I18nStore.d.ts +41 -0
  281. package/dist/i18n-store/I18nStore.d.ts.map +1 -0
  282. package/dist/i18n-store/I18nStore.mjs +2 -0
  283. package/dist/i18n-store/I18nStore.mjs.map +1 -0
  284. package/dist/i18n-store/singleton-operations.cjs +2 -0
  285. package/dist/i18n-store/singleton-operations.cjs.map +1 -0
  286. package/dist/i18n-store/singleton-operations.d.ts +7 -0
  287. package/dist/i18n-store/singleton-operations.d.ts.map +1 -0
  288. package/dist/i18n-store/singleton-operations.mjs +2 -0
  289. package/dist/i18n-store/singleton-operations.mjs.map +1 -0
  290. package/dist/i18n-store/storeTypes.d.ts +22 -0
  291. package/dist/i18n-store/storeTypes.d.ts.map +1 -0
  292. package/dist/i18n-store/useI18nStore.cjs +2 -0
  293. package/dist/i18n-store/useI18nStore.cjs.map +1 -0
  294. package/dist/i18n-store/useI18nStore.mjs +2 -0
  295. package/dist/i18n-store/useI18nStore.mjs.map +1 -0
  296. package/dist/i18n-store/utils/dictionaries.cjs +2 -0
  297. package/dist/i18n-store/utils/dictionaries.cjs.map +1 -0
  298. package/dist/i18n-store/utils/dictionaries.mjs +2 -0
  299. package/dist/i18n-store/utils/dictionaries.mjs.map +1 -0
  300. package/dist/i18n-store/utils/subscriptions.cjs +2 -0
  301. package/dist/i18n-store/utils/subscriptions.cjs.map +1 -0
  302. package/dist/i18n-store/utils/subscriptions.mjs +2 -0
  303. package/dist/i18n-store/utils/subscriptions.mjs.map +1 -0
  304. package/dist/i18n-store/utils/translations.cjs +2 -0
  305. package/dist/i18n-store/utils/translations.cjs.map +1 -0
  306. package/dist/i18n-store/utils/translations.mjs +2 -0
  307. package/dist/i18n-store/utils/translations.mjs.map +1 -0
  308. package/dist/pure.cjs +1 -0
  309. package/dist/pure.d.ts +18 -677
  310. package/dist/pure.mjs +1 -0
  311. package/dist/setup/i18nConfig.cjs +2 -0
  312. package/dist/setup/i18nConfig.cjs.map +1 -0
  313. package/dist/setup/i18nConfig.d.ts +48 -0
  314. package/dist/setup/i18nConfig.d.ts.map +1 -0
  315. package/dist/setup/i18nConfig.mjs +2 -0
  316. package/dist/setup/i18nConfig.mjs.map +1 -0
  317. package/dist/setup/initializeGTSRA.cjs +2 -0
  318. package/dist/setup/initializeGTSRA.cjs.map +1 -0
  319. package/dist/setup/initializeGTSRA.d.ts +11 -0
  320. package/dist/setup/initializeGTSRA.d.ts.map +1 -0
  321. package/dist/setup/initializeGTSRA.mjs +2 -0
  322. package/dist/setup/initializeGTSRA.mjs.map +1 -0
  323. package/dist/utils/internal/addGTIdentifier.cjs +2 -0
  324. package/dist/utils/internal/addGTIdentifier.cjs.map +1 -0
  325. package/dist/utils/internal/addGTIdentifier.mjs +2 -0
  326. package/dist/utils/internal/addGTIdentifier.mjs.map +1 -0
  327. package/dist/utils/internal/removeInjectedT.cjs +2 -0
  328. package/dist/utils/internal/removeInjectedT.cjs.map +1 -0
  329. package/dist/utils/internal/removeInjectedT.mjs +2 -0
  330. package/dist/utils/internal/removeInjectedT.mjs.map +1 -0
  331. package/dist/utils/internal/writeChildrenAsObjects.cjs +2 -0
  332. package/dist/utils/internal/writeChildrenAsObjects.cjs.map +1 -0
  333. package/dist/utils/internal/writeChildrenAsObjects.mjs +2 -0
  334. package/dist/utils/internal/writeChildrenAsObjects.mjs.map +1 -0
  335. package/dist/utils/plurals/getPluralBranch.cjs +2 -0
  336. package/dist/utils/plurals/getPluralBranch.cjs.map +1 -0
  337. package/dist/utils/plurals/getPluralBranch.d.ts +12 -0
  338. package/dist/utils/plurals/getPluralBranch.d.ts.map +1 -0
  339. package/dist/utils/plurals/getPluralBranch.mjs +2 -0
  340. package/dist/utils/plurals/getPluralBranch.mjs.map +1 -0
  341. package/dist/utils/rendering/createRenderPipeline.cjs +2 -0
  342. package/dist/utils/rendering/createRenderPipeline.cjs.map +1 -0
  343. package/dist/utils/rendering/createRenderPipeline.d.ts +18 -0
  344. package/dist/utils/rendering/createRenderPipeline.d.ts.map +1 -0
  345. package/dist/utils/rendering/createRenderPipeline.mjs +2 -0
  346. package/dist/utils/rendering/createRenderPipeline.mjs.map +1 -0
  347. package/dist/utils/rendering/createRenderVariable.cjs +2 -0
  348. package/dist/utils/rendering/createRenderVariable.cjs.map +1 -0
  349. package/dist/utils/rendering/createRenderVariable.d.ts +46 -0
  350. package/dist/utils/rendering/createRenderVariable.d.ts.map +1 -0
  351. package/dist/utils/rendering/createRenderVariable.mjs +2 -0
  352. package/dist/utils/rendering/createRenderVariable.mjs.map +1 -0
  353. package/dist/utils/rendering/getDefaultRenderSettings.cjs +2 -0
  354. package/dist/utils/rendering/getDefaultRenderSettings.cjs.map +1 -0
  355. package/dist/utils/rendering/getDefaultRenderSettings.d.ts +10 -0
  356. package/dist/utils/rendering/getDefaultRenderSettings.d.ts.map +1 -0
  357. package/dist/utils/rendering/getDefaultRenderSettings.mjs +2 -0
  358. package/dist/utils/rendering/getDefaultRenderSettings.mjs.map +1 -0
  359. package/dist/utils/rendering/getGTTag.cjs +2 -0
  360. package/dist/utils/rendering/getGTTag.cjs.map +1 -0
  361. package/dist/utils/rendering/getGTTag.mjs +2 -0
  362. package/dist/utils/rendering/getGTTag.mjs.map +1 -0
  363. package/dist/utils/rendering/renderDefaultChildren.shared.cjs +2 -0
  364. package/dist/utils/rendering/renderDefaultChildren.shared.cjs.map +1 -0
  365. package/dist/utils/rendering/renderDefaultChildren.shared.d.ts +12 -0
  366. package/dist/utils/rendering/renderDefaultChildren.shared.d.ts.map +1 -0
  367. package/dist/utils/rendering/renderDefaultChildren.shared.mjs +2 -0
  368. package/dist/utils/rendering/renderDefaultChildren.shared.mjs.map +1 -0
  369. package/dist/utils/rendering/renderPipeline.cjs +2 -0
  370. package/dist/utils/rendering/renderPipeline.cjs.map +1 -0
  371. package/dist/utils/rendering/renderPipeline.mjs +2 -0
  372. package/dist/utils/rendering/renderPipeline.mjs.map +1 -0
  373. package/dist/utils/rendering/renderPipeline.rsc.cjs +2 -0
  374. package/dist/utils/rendering/renderPipeline.rsc.cjs.map +1 -0
  375. package/dist/utils/rendering/renderPipeline.rsc.d.ts +11 -0
  376. package/dist/utils/rendering/renderPipeline.rsc.d.ts.map +1 -0
  377. package/dist/utils/rendering/renderPipeline.rsc.mjs +2 -0
  378. package/dist/utils/rendering/renderPipeline.rsc.mjs.map +1 -0
  379. package/dist/utils/rendering/renderPreparedT.shared.cjs +2 -0
  380. package/dist/utils/rendering/renderPreparedT.shared.cjs.map +1 -0
  381. package/dist/utils/rendering/renderPreparedT.shared.d.ts +16 -0
  382. package/dist/utils/rendering/renderPreparedT.shared.d.ts.map +1 -0
  383. package/dist/utils/rendering/renderPreparedT.shared.mjs +2 -0
  384. package/dist/utils/rendering/renderPreparedT.shared.mjs.map +1 -0
  385. package/dist/utils/rendering/renderTranslatedChildren.shared.cjs +2 -0
  386. package/dist/utils/rendering/renderTranslatedChildren.shared.cjs.map +1 -0
  387. package/dist/utils/rendering/renderTranslatedChildren.shared.d.ts +13 -0
  388. package/dist/utils/rendering/renderTranslatedChildren.shared.d.ts.map +1 -0
  389. package/dist/utils/rendering/renderTranslatedChildren.shared.mjs +2 -0
  390. package/dist/utils/rendering/renderTranslatedChildren.shared.mjs.map +1 -0
  391. package/dist/utils/translation/prepareT.shared.cjs +2 -0
  392. package/dist/utils/translation/prepareT.shared.cjs.map +1 -0
  393. package/dist/utils/translation/prepareT.shared.d.ts +40 -0
  394. package/dist/utils/translation/prepareT.shared.d.ts.map +1 -0
  395. package/dist/utils/translation/prepareT.shared.mjs +2 -0
  396. package/dist/utils/translation/prepareT.shared.mjs.map +1 -0
  397. package/dist/utils/translation/usePrepareT.cjs +2 -0
  398. package/dist/utils/translation/usePrepareT.cjs.map +1 -0
  399. package/dist/utils/translation/usePrepareT.mjs +2 -0
  400. package/dist/utils/translation/usePrepareT.mjs.map +1 -0
  401. package/dist/utils/types.d.ts +64 -0
  402. package/dist/utils/types.d.ts.map +1 -0
  403. package/dist/utils/utils.cjs +2 -0
  404. package/dist/utils/utils.cjs.map +1 -0
  405. package/dist/utils/utils.mjs +2 -0
  406. package/dist/utils/utils.mjs.map +1 -0
  407. package/dist/utils/variables/_getVariableProps.cjs +2 -0
  408. package/dist/utils/variables/_getVariableProps.cjs.map +1 -0
  409. package/dist/utils/variables/_getVariableProps.mjs +2 -0
  410. package/dist/utils/variables/_getVariableProps.mjs.map +1 -0
  411. package/dist/utils/variables/getVariableName.cjs +2 -0
  412. package/dist/utils/variables/getVariableName.cjs.map +1 -0
  413. package/dist/utils/variables/getVariableName.mjs +2 -0
  414. package/dist/utils/variables/getVariableName.mjs.map +1 -0
  415. package/package.json +13 -41
  416. package/dist/components-rsc.cjs.min.cjs +0 -2
  417. package/dist/components-rsc.cjs.min.cjs.map +0 -1
  418. package/dist/components-rsc.d.ts.map +0 -1
  419. package/dist/components-rsc.esm.min.mjs +0 -2
  420. package/dist/components-rsc.esm.min.mjs.map +0 -1
  421. package/dist/components.cjs.min.cjs +0 -2
  422. package/dist/components.cjs.min.cjs.map +0 -1
  423. package/dist/components.d.ts.map +0 -1
  424. package/dist/components.esm.min.mjs +0 -2
  425. package/dist/components.esm.min.mjs.map +0 -1
  426. package/dist/cookies.cjs.min.cjs +0 -2
  427. package/dist/cookies.cjs.min.cjs.map +0 -1
  428. package/dist/cookies.d.ts +0 -16
  429. package/dist/cookies.d.ts.map +0 -1
  430. package/dist/cookies.esm.min.mjs +0 -2
  431. package/dist/cookies.esm.min.mjs.map +0 -1
  432. package/dist/hooks.cjs.min.cjs +0 -2
  433. package/dist/hooks.cjs.min.cjs.map +0 -1
  434. package/dist/hooks.d.ts.map +0 -1
  435. package/dist/hooks.esm.min.mjs +0 -2
  436. package/dist/hooks.esm.min.mjs.map +0 -1
  437. package/dist/pure.cjs.min.cjs +0 -2
  438. package/dist/pure.cjs.min.cjs.map +0 -1
  439. package/dist/pure.d.ts.map +0 -1
  440. package/dist/pure.esm.min.mjs +0 -2
  441. package/dist/pure.esm.min.mjs.map +0 -1
@@ -0,0 +1,2 @@
1
+ import{useEnableI18n as e,useLocale as t}from"../../hooks/condition-store.mjs";import{computeNum as n}from"./Num.shared.mjs";import{jsx as r}from"react/jsx-runtime";function i({_enableI18n:r,_locale:i,...a}){return n({...a,_enableI18n:r??e(),_locale:i??t()})}function a(e){return r(i,{...e})}i._gtt=`variable-number-automatic`,a._gtt=`variable-number`;export{i as GtInternalNum,a as Num};
2
+ //# sourceMappingURL=Num.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Num.mjs","names":[],"sources":["../../../src/components/variables/Num.tsx"],"sourcesContent":["import { useEnableI18n, useLocale } from '../../hooks/condition-store';\nimport { computeNum, type NumProps } from './Num.shared';\n\n// ===== Component ===== //\n\nfunction GtInternalNum({\n _enableI18n,\n _locale,\n ...props\n}: NumProps): string | null {\n return computeNum({\n ...props,\n _enableI18n: _enableI18n ?? useEnableI18n(),\n _locale: _locale ?? useLocale(),\n });\n}\n\nfunction Num(props: NumProps): React.JSX.Element {\n return <GtInternalNum {...props} />;\n}\n\n/** @internal _gtt - The GT transformation for the component. */\nGtInternalNum._gtt = 'variable-number-automatic';\nNum._gtt = 'variable-number';\n\n// ===== Exports ===== //\n\nexport { GtInternalNum, Num };\n"],"mappings":"qKAKA,SAAS,EAAc,CACrB,cACA,UACA,GAAG,GACuB,CAC1B,OAAO,EAAW,CAChB,GAAG,EACH,YAAa,GAAe,GAAe,CAC3C,QAAS,GAAW,GAAW,CAChC,CAAC,CAGJ,SAAS,EAAI,EAAoC,CAC/C,OAAO,EAAC,EAAD,CAAe,GAAI,EAAS,CAAA,CAIrC,EAAc,KAAO,4BACrB,EAAI,KAAO"}
@@ -0,0 +1,2 @@
1
+ require(`../../_virtual/_rolldown/runtime.cjs`);const e=require(`./Num.shared.cjs`);let t=require(`react/jsx-runtime`);function n(t){return e.computeNum(t)}function r(e){return(0,t.jsx)(n,{...e})}r._gtt=`variable-number`,n._gtt=`variable-number-automatic`,exports.RscGtInternalNum=n,exports.RscNum=r;
2
+ //# sourceMappingURL=Num.rsc.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Num.rsc.cjs","names":["computeNum"],"sources":["../../../src/components/variables/Num.rsc.tsx"],"sourcesContent":["import { computeNum, type ResolvedNumProps } from './Num.shared';\n\n// RSC implementation: request conditions are passed explicitly instead of\n// being read from hooks. This module must stay free of hook/context imports\n// so it can be exported from the components-rsc entrypoint.\n\nfunction RscGtInternalNum(props: ResolvedNumProps): string | null {\n return computeNum(props);\n}\n\nfunction RscNum(props: ResolvedNumProps): React.JSX.Element {\n return <RscGtInternalNum {...props} />;\n}\n\n/** @internal _gtt - The GT transformation for the component. */\nRscNum._gtt = 'variable-number';\nRscGtInternalNum._gtt = 'variable-number-automatic';\n\n// ===== Exports ===== //\n\nexport { RscGtInternalNum, RscNum };\n"],"mappings":"uHAMA,SAAS,EAAiB,EAAwC,CAChE,OAAOA,EAAAA,WAAW,EAAM,CAG1B,SAAS,EAAO,EAA4C,CAC1D,OAAO,EAAA,EAAA,KAAC,EAAD,CAAkB,GAAI,EAAS,CAAA,CAIxC,EAAO,KAAO,kBACd,EAAiB,KAAO"}
@@ -0,0 +1,14 @@
1
+ import { ResolvedNumProps } from "./Num.shared.js";
2
+
3
+ //#region src/components/variables/Num.rsc.d.ts
4
+ declare function RscGtInternalNum(props: ResolvedNumProps): string | null;
5
+ declare namespace RscGtInternalNum {
6
+ var _gtt: string;
7
+ }
8
+ declare function RscNum(props: ResolvedNumProps): React.JSX.Element;
9
+ declare namespace RscNum {
10
+ var _gtt: string;
11
+ }
12
+ //#endregion
13
+ export { RscGtInternalNum, RscNum };
14
+ //# sourceMappingURL=Num.rsc.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Num.rsc.d.ts","names":[],"sources":["../../../src/components/variables/Num.rsc.tsx"],"mappings":";;;iBAMS,gBAAA,CAAiB,KAAA,EAAO,gBAAA;AAAA,kBAAxB,gBAAA;EAAA,IAAgB,IAAA;AAAA;AAAA,iBAIhB,MAAA,CAAO,KAAA,EAAO,gBAAA,GAAmB,KAAA,CAAM,GAAA,CAAI,OAAA;AAAA,kBAA3C,MAAA;EAAA,IAAM,IAAA;AAAA"}
@@ -0,0 +1,2 @@
1
+ import{computeNum as e}from"./Num.shared.mjs";import{jsx as t}from"react/jsx-runtime";function n(t){return e(t)}function r(e){return t(n,{...e})}r._gtt=`variable-number`,n._gtt=`variable-number-automatic`;export{n as RscGtInternalNum,r as RscNum};
2
+ //# sourceMappingURL=Num.rsc.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Num.rsc.mjs","names":[],"sources":["../../../src/components/variables/Num.rsc.tsx"],"sourcesContent":["import { computeNum, type ResolvedNumProps } from './Num.shared';\n\n// RSC implementation: request conditions are passed explicitly instead of\n// being read from hooks. This module must stay free of hook/context imports\n// so it can be exported from the components-rsc entrypoint.\n\nfunction RscGtInternalNum(props: ResolvedNumProps): string | null {\n return computeNum(props);\n}\n\nfunction RscNum(props: ResolvedNumProps): React.JSX.Element {\n return <RscGtInternalNum {...props} />;\n}\n\n/** @internal _gtt - The GT transformation for the component. */\nRscNum._gtt = 'variable-number';\nRscGtInternalNum._gtt = 'variable-number-automatic';\n\n// ===== Exports ===== //\n\nexport { RscGtInternalNum, RscNum };\n"],"mappings":"sFAMA,SAAS,EAAiB,EAAwC,CAChE,OAAO,EAAW,EAAM,CAG1B,SAAS,EAAO,EAA4C,CAC1D,OAAO,EAAC,EAAD,CAAkB,GAAI,EAAS,CAAA,CAIxC,EAAO,KAAO,kBACd,EAAiB,KAAO"}
@@ -0,0 +1,2 @@
1
+ require(`../../_virtual/_rolldown/runtime.cjs`);const e=require(`../../hooks/utils/getFormatLocales.cjs`);let t=require(`gt-i18n/internal`);function n({_enableI18n:n,_locale:r,children:i,options:a={},locales:o=[]}){let s=e.getFormatLocales({locale:r,enableI18n:n,localesProp:o}),c=(0,t.getI18nConfig)().getGTClass();if(i==null)return null;let l=typeof i==`string`?parseFloat(i):i;return c.formatNum(l,{locales:s,...a})}exports.computeNum=n;
2
+ //# sourceMappingURL=Num.shared.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Num.shared.cjs","names":["getFormatLocales"],"sources":["../../../src/components/variables/Num.shared.ts"],"sourcesContent":["import { getI18nConfig } from 'gt-i18n/internal';\nimport { getFormatLocales } from '../../hooks/utils/getFormatLocales';\n\n// Pure compute logic shared by the hook-based and RSC implementations. This\n// module must stay free of hook/context imports so it can be reached from the\n// components-rsc entrypoint.\n\ntype NumProps = {\n children: number | string | null | undefined;\n options?: Intl.NumberFormatOptions;\n locales?: string[];\n name?: string;\n _locale?: string;\n _enableI18n?: boolean;\n};\n\ntype ResolvedNumProps = NumProps & {\n _locale: string;\n _enableI18n: boolean;\n};\n\nfunction computeNum({\n _enableI18n,\n _locale,\n children,\n options = {},\n locales: localesProp = [],\n}: ResolvedNumProps): string | null {\n const locales = getFormatLocales({\n locale: _locale,\n enableI18n: _enableI18n,\n localesProp,\n });\n const gt = getI18nConfig().getGTClass();\n if (children == null) return null;\n const parsedNumber =\n typeof children === 'string' ? parseFloat(children) : children;\n return gt.formatNum(parsedNumber, { locales, ...options });\n}\n\nexport { computeNum };\nexport type { NumProps, ResolvedNumProps };\n"],"mappings":"4IAqBA,SAAS,EAAW,CAClB,cACA,UACA,WACA,UAAU,EAAE,CACZ,QAAS,EAAc,EAAE,EACS,CAClC,IAAM,EAAUA,EAAAA,iBAAiB,CAC/B,OAAQ,EACR,WAAY,EACZ,cACD,CAAC,CACI,GAAA,EAAA,EAAA,gBAAoB,CAAC,YAAY,CACvC,GAAI,GAAY,KAAM,OAAO,KAC7B,IAAM,EACJ,OAAO,GAAa,SAAW,WAAW,EAAS,CAAG,EACxD,OAAO,EAAG,UAAU,EAAc,CAAE,UAAS,GAAG,EAAS,CAAC"}
@@ -0,0 +1,16 @@
1
+ //#region src/components/variables/Num.shared.d.ts
2
+ type NumProps = {
3
+ children: number | string | null | undefined;
4
+ options?: Intl.NumberFormatOptions;
5
+ locales?: string[];
6
+ name?: string;
7
+ _locale?: string;
8
+ _enableI18n?: boolean;
9
+ };
10
+ type ResolvedNumProps = NumProps & {
11
+ _locale: string;
12
+ _enableI18n: boolean;
13
+ };
14
+ //#endregion
15
+ export { type NumProps, type ResolvedNumProps };
16
+ //# sourceMappingURL=Num.shared.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Num.shared.d.ts","names":[],"sources":["../../../src/components/variables/Num.shared.ts"],"mappings":";KAOK,QAAA;EACH,QAAA;EACA,OAAA,GAAU,IAAA,CAAK,mBAAA;EACf,OAAA;EACA,IAAA;EACA,OAAA;EACA,WAAA;AAAA;AAAA,KAGG,gBAAA,GAAmB,QAAA;EACtB,OAAA;EACA,WAAA;AAAA"}
@@ -0,0 +1,2 @@
1
+ import{getFormatLocales as e}from"../../hooks/utils/getFormatLocales.mjs";import{getI18nConfig as t}from"gt-i18n/internal";function n({_enableI18n:n,_locale:r,children:i,options:a={},locales:o=[]}){let s=e({locale:r,enableI18n:n,localesProp:o}),c=t().getGTClass();if(i==null)return null;let l=typeof i==`string`?parseFloat(i):i;return c.formatNum(l,{locales:s,...a})}export{n as computeNum};
2
+ //# sourceMappingURL=Num.shared.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Num.shared.mjs","names":[],"sources":["../../../src/components/variables/Num.shared.ts"],"sourcesContent":["import { getI18nConfig } from 'gt-i18n/internal';\nimport { getFormatLocales } from '../../hooks/utils/getFormatLocales';\n\n// Pure compute logic shared by the hook-based and RSC implementations. This\n// module must stay free of hook/context imports so it can be reached from the\n// components-rsc entrypoint.\n\ntype NumProps = {\n children: number | string | null | undefined;\n options?: Intl.NumberFormatOptions;\n locales?: string[];\n name?: string;\n _locale?: string;\n _enableI18n?: boolean;\n};\n\ntype ResolvedNumProps = NumProps & {\n _locale: string;\n _enableI18n: boolean;\n};\n\nfunction computeNum({\n _enableI18n,\n _locale,\n children,\n options = {},\n locales: localesProp = [],\n}: ResolvedNumProps): string | null {\n const locales = getFormatLocales({\n locale: _locale,\n enableI18n: _enableI18n,\n localesProp,\n });\n const gt = getI18nConfig().getGTClass();\n if (children == null) return null;\n const parsedNumber =\n typeof children === 'string' ? parseFloat(children) : children;\n return gt.formatNum(parsedNumber, { locales, ...options });\n}\n\nexport { computeNum };\nexport type { NumProps, ResolvedNumProps };\n"],"mappings":"2HAqBA,SAAS,EAAW,CAClB,cACA,UACA,WACA,UAAU,EAAE,CACZ,QAAS,EAAc,EAAE,EACS,CAClC,IAAM,EAAU,EAAiB,CAC/B,OAAQ,EACR,WAAY,EACZ,cACD,CAAC,CACI,EAAK,GAAe,CAAC,YAAY,CACvC,GAAI,GAAY,KAAM,OAAO,KAC7B,IAAM,EACJ,OAAO,GAAa,SAAW,WAAW,EAAS,CAAG,EACxD,OAAO,EAAG,UAAU,EAAc,CAAE,UAAS,GAAG,EAAS,CAAC"}
@@ -0,0 +1,2 @@
1
+ require(`../../_virtual/_rolldown/runtime.cjs`);const e=require(`../../hooks/condition-store.cjs`),t=require(`./RelativeTime.shared.cjs`);let n=require(`react/jsx-runtime`);function r({_enableI18n:n,_locale:r,...i}){return t.computeRelativeTime({...i,_enableI18n:n??e.useEnableI18n(),_locale:r??e.useLocale()})}function i(e){return(0,n.jsx)(r,{...e})}r._gtt=`variable-relative-time-automatic`,i._gtt=`variable-relative-time`,exports.GtInternalRelativeTime=r,exports.RelativeTime=i;
2
+ //# sourceMappingURL=RelativeTime.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RelativeTime.cjs","names":["computeRelativeTime","useEnableI18n","useLocale"],"sources":["../../../src/components/variables/RelativeTime.tsx"],"sourcesContent":["import { useEnableI18n, useLocale } from '../../hooks/condition-store';\nimport {\n computeRelativeTime,\n type RelativeTimeProps,\n} from './RelativeTime.shared';\n\n// ===== Component ===== //\n\nfunction GtInternalRelativeTime({\n _enableI18n,\n _locale,\n ...props\n}: RelativeTimeProps): string | null {\n return computeRelativeTime({\n ...props,\n _enableI18n: _enableI18n ?? useEnableI18n(),\n _locale: _locale ?? useLocale(),\n });\n}\n\nfunction RelativeTime(props: RelativeTimeProps): React.JSX.Element {\n return <GtInternalRelativeTime {...props} />;\n}\n\n/** @internal _gtt - The GT transformation for the component. */\nGtInternalRelativeTime._gtt = 'variable-relative-time-automatic';\nRelativeTime._gtt = 'variable-relative-time';\n\n// ===== Exports ===== //\n\nexport { GtInternalRelativeTime, RelativeTime };\n"],"mappings":"6KAQA,SAAS,EAAuB,CAC9B,cACA,UACA,GAAG,GACgC,CACnC,OAAOA,EAAAA,oBAAoB,CACzB,GAAG,EACH,YAAa,GAAeC,EAAAA,eAAe,CAC3C,QAAS,GAAWC,EAAAA,WAAW,CAChC,CAAC,CAGJ,SAAS,EAAa,EAA6C,CACjE,OAAO,EAAA,EAAA,KAAC,EAAD,CAAwB,GAAI,EAAS,CAAA,CAI9C,EAAuB,KAAO,mCAC9B,EAAa,KAAO"}
@@ -0,0 +1,18 @@
1
+ import { RelativeTimeProps } from "./RelativeTime.shared.js";
2
+
3
+ //#region src/components/variables/RelativeTime.d.ts
4
+ declare function GtInternalRelativeTime({
5
+ _enableI18n,
6
+ _locale,
7
+ ...props
8
+ }: RelativeTimeProps): string | null;
9
+ declare namespace GtInternalRelativeTime {
10
+ var _gtt: string;
11
+ }
12
+ declare function RelativeTime(props: RelativeTimeProps): React.JSX.Element;
13
+ declare namespace RelativeTime {
14
+ var _gtt: string;
15
+ }
16
+ //#endregion
17
+ export { GtInternalRelativeTime, RelativeTime };
18
+ //# sourceMappingURL=RelativeTime.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RelativeTime.d.ts","names":[],"sources":["../../../src/components/variables/RelativeTime.tsx"],"mappings":";;;iBAQS,sBAAA,CAAA;EACP,WAAA;EACA,OAAA;EAAA,GACG;AAAA,GACF,iBAAA;AAAA,kBAJM,sBAAA;EAAA,IAAsB,IAAA;AAAA;AAAA,iBAYtB,YAAA,CAAa,KAAA,EAAO,iBAAA,GAAoB,KAAA,CAAM,GAAA,CAAI,OAAA;AAAA,kBAAlD,YAAA;EAAA,IAAY,IAAA;AAAA"}
@@ -0,0 +1,2 @@
1
+ import{useEnableI18n as e,useLocale as t}from"../../hooks/condition-store.mjs";import{computeRelativeTime as n}from"./RelativeTime.shared.mjs";import{jsx as r}from"react/jsx-runtime";function i({_enableI18n:r,_locale:i,...a}){return n({...a,_enableI18n:r??e(),_locale:i??t()})}function a(e){return r(i,{...e})}i._gtt=`variable-relative-time-automatic`,a._gtt=`variable-relative-time`;export{i as GtInternalRelativeTime,a as RelativeTime};
2
+ //# sourceMappingURL=RelativeTime.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RelativeTime.mjs","names":[],"sources":["../../../src/components/variables/RelativeTime.tsx"],"sourcesContent":["import { useEnableI18n, useLocale } from '../../hooks/condition-store';\nimport {\n computeRelativeTime,\n type RelativeTimeProps,\n} from './RelativeTime.shared';\n\n// ===== Component ===== //\n\nfunction GtInternalRelativeTime({\n _enableI18n,\n _locale,\n ...props\n}: RelativeTimeProps): string | null {\n return computeRelativeTime({\n ...props,\n _enableI18n: _enableI18n ?? useEnableI18n(),\n _locale: _locale ?? useLocale(),\n });\n}\n\nfunction RelativeTime(props: RelativeTimeProps): React.JSX.Element {\n return <GtInternalRelativeTime {...props} />;\n}\n\n/** @internal _gtt - The GT transformation for the component. */\nGtInternalRelativeTime._gtt = 'variable-relative-time-automatic';\nRelativeTime._gtt = 'variable-relative-time';\n\n// ===== Exports ===== //\n\nexport { GtInternalRelativeTime, RelativeTime };\n"],"mappings":"uLAQA,SAAS,EAAuB,CAC9B,cACA,UACA,GAAG,GACgC,CACnC,OAAO,EAAoB,CACzB,GAAG,EACH,YAAa,GAAe,GAAe,CAC3C,QAAS,GAAW,GAAW,CAChC,CAAC,CAGJ,SAAS,EAAa,EAA6C,CACjE,OAAO,EAAC,EAAD,CAAwB,GAAI,EAAS,CAAA,CAI9C,EAAuB,KAAO,mCAC9B,EAAa,KAAO"}
@@ -0,0 +1,2 @@
1
+ require(`../../_virtual/_rolldown/runtime.cjs`);const e=require(`./RelativeTime.shared.cjs`);let t=require(`react/jsx-runtime`);function n(t){return e.computeRelativeTime(t)}function r(e){return(0,t.jsx)(n,{...e})}r._gtt=`variable-relative-time`,n._gtt=`variable-relative-time-automatic`,exports.RscGtInternalRelativeTime=n,exports.RscRelativeTime=r;
2
+ //# sourceMappingURL=RelativeTime.rsc.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RelativeTime.rsc.cjs","names":["computeRelativeTime"],"sources":["../../../src/components/variables/RelativeTime.rsc.tsx"],"sourcesContent":["import {\n computeRelativeTime,\n type ResolvedRelativeTimeProps,\n} from './RelativeTime.shared';\n\n// RSC implementation: request conditions are passed explicitly instead of\n// being read from hooks. This module must stay free of hook/context imports\n// so it can be exported from the components-rsc entrypoint.\n\nfunction RscGtInternalRelativeTime(\n props: ResolvedRelativeTimeProps\n): string | null {\n return computeRelativeTime(props);\n}\n\nfunction RscRelativeTime(props: ResolvedRelativeTimeProps): React.JSX.Element {\n return <RscGtInternalRelativeTime {...props} />;\n}\n\n/** @internal _gtt - The GT transformation for the component. */\nRscRelativeTime._gtt = 'variable-relative-time';\nRscGtInternalRelativeTime._gtt = 'variable-relative-time-automatic';\n\n// ===== Exports ===== //\n\nexport { RscGtInternalRelativeTime, RscRelativeTime };\n"],"mappings":"gIASA,SAAS,EACP,EACe,CACf,OAAOA,EAAAA,oBAAoB,EAAM,CAGnC,SAAS,EAAgB,EAAqD,CAC5E,OAAO,EAAA,EAAA,KAAC,EAAD,CAA2B,GAAI,EAAS,CAAA,CAIjD,EAAgB,KAAO,yBACvB,EAA0B,KAAO"}
@@ -0,0 +1,14 @@
1
+ import { ResolvedRelativeTimeProps } from "./RelativeTime.shared.js";
2
+
3
+ //#region src/components/variables/RelativeTime.rsc.d.ts
4
+ declare function RscGtInternalRelativeTime(props: ResolvedRelativeTimeProps): string | null;
5
+ declare namespace RscGtInternalRelativeTime {
6
+ var _gtt: string;
7
+ }
8
+ declare function RscRelativeTime(props: ResolvedRelativeTimeProps): React.JSX.Element;
9
+ declare namespace RscRelativeTime {
10
+ var _gtt: string;
11
+ }
12
+ //#endregion
13
+ export { RscGtInternalRelativeTime, RscRelativeTime };
14
+ //# sourceMappingURL=RelativeTime.rsc.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RelativeTime.rsc.d.ts","names":[],"sources":["../../../src/components/variables/RelativeTime.rsc.tsx"],"mappings":";;;iBASS,yBAAA,CACP,KAAA,EAAO,yBAAA;AAAA,kBADA,yBAAA;EAAA,IAAyB,IAAA;AAAA;AAAA,iBAMzB,eAAA,CAAgB,KAAA,EAAO,yBAAA,GAA4B,KAAA,CAAM,GAAA,CAAI,OAAA;AAAA,kBAA7D,eAAA;EAAA,IAAe,IAAA;AAAA"}
@@ -0,0 +1,2 @@
1
+ import{computeRelativeTime as e}from"./RelativeTime.shared.mjs";import{jsx as t}from"react/jsx-runtime";function n(t){return e(t)}function r(e){return t(n,{...e})}r._gtt=`variable-relative-time`,n._gtt=`variable-relative-time-automatic`;export{n as RscGtInternalRelativeTime,r as RscRelativeTime};
2
+ //# sourceMappingURL=RelativeTime.rsc.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RelativeTime.rsc.mjs","names":[],"sources":["../../../src/components/variables/RelativeTime.rsc.tsx"],"sourcesContent":["import {\n computeRelativeTime,\n type ResolvedRelativeTimeProps,\n} from './RelativeTime.shared';\n\n// RSC implementation: request conditions are passed explicitly instead of\n// being read from hooks. This module must stay free of hook/context imports\n// so it can be exported from the components-rsc entrypoint.\n\nfunction RscGtInternalRelativeTime(\n props: ResolvedRelativeTimeProps\n): string | null {\n return computeRelativeTime(props);\n}\n\nfunction RscRelativeTime(props: ResolvedRelativeTimeProps): React.JSX.Element {\n return <RscGtInternalRelativeTime {...props} />;\n}\n\n/** @internal _gtt - The GT transformation for the component. */\nRscRelativeTime._gtt = 'variable-relative-time';\nRscGtInternalRelativeTime._gtt = 'variable-relative-time-automatic';\n\n// ===== Exports ===== //\n\nexport { RscGtInternalRelativeTime, RscRelativeTime };\n"],"mappings":"wGASA,SAAS,EACP,EACe,CACf,OAAO,EAAoB,EAAM,CAGnC,SAAS,EAAgB,EAAqD,CAC5E,OAAO,EAAC,EAAD,CAA2B,GAAI,EAAS,CAAA,CAIjD,EAAgB,KAAO,yBACvB,EAA0B,KAAO"}
@@ -0,0 +1,2 @@
1
+ require(`../../_virtual/_rolldown/runtime.cjs`);const e=require(`../../hooks/utils/getFormatLocales.cjs`);let t=require(`gt-i18n/internal`);function n({_enableI18n:n,_locale:r,date:i,children:a,value:o,unit:s,baseDate:c,locales:l=[],options:u={}}){let d=e.getFormatLocales({locale:r,enableI18n:n,localesProp:l}),f=(0,t.getI18nConfig)().getGTClass(),p=i??a;return process.env.NODE_ENV===`development`&&o!==void 0&&!s&&console.warn("<RelativeTime>: `value` was provided without `unit`. The `value` prop will be ignored."),o!==void 0&&s?f.formatRelativeTime(o,s,{locales:d,numeric:u.numeric,style:u.style,localeMatcher:u.localeMatcher}):p==null?null:f.formatRelativeTimeFromDate(p,{locales:d,baseDate:c??new Date,numeric:u.numeric,style:u.style,localeMatcher:u.localeMatcher})}exports.computeRelativeTime=n;
2
+ //# sourceMappingURL=RelativeTime.shared.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RelativeTime.shared.cjs","names":["getFormatLocales"],"sources":["../../../src/components/variables/RelativeTime.shared.ts"],"sourcesContent":["import { getI18nConfig } from 'gt-i18n/internal';\nimport { getFormatLocales } from '../../hooks/utils/getFormatLocales';\n\n// Pure compute logic shared by the hook-based and RSC implementations. This\n// module must stay free of hook/context imports so it can be reached from the\n// components-rsc entrypoint.\n\ntype RelativeTimeProps = {\n date?: Date | null | undefined;\n children?: Date | null | undefined;\n name?: string;\n value?: number;\n unit?: Intl.RelativeTimeFormatUnit;\n baseDate?: Date;\n locales?: string[];\n options?: Intl.RelativeTimeFormatOptions;\n _locale?: string;\n _enableI18n?: boolean;\n};\n\ntype ResolvedRelativeTimeProps = RelativeTimeProps & {\n _locale: string;\n _enableI18n: boolean;\n};\n\nfunction computeRelativeTime({\n _enableI18n,\n _locale,\n date,\n children,\n value,\n unit,\n baseDate,\n locales: localesProp = [],\n options = {},\n}: ResolvedRelativeTimeProps): string | null {\n const locales = getFormatLocales({\n locale: _locale,\n enableI18n: _enableI18n,\n localesProp,\n });\n const gt = getI18nConfig().getGTClass();\n const resolvedDate = date ?? children;\n\n if (process.env.NODE_ENV === 'development' && value !== undefined && !unit) {\n // eslint-disable-next-line no-console\n console.warn(\n '<RelativeTime>: `value` was provided without `unit`. The `value` prop will be ignored.'\n );\n }\n\n if (value !== undefined && unit) {\n return gt.formatRelativeTime(value, unit, {\n locales,\n numeric: options.numeric,\n style: options.style,\n localeMatcher: options.localeMatcher,\n });\n }\n\n if (resolvedDate != null) {\n return gt.formatRelativeTimeFromDate(resolvedDate, {\n locales,\n baseDate: baseDate ?? new Date(),\n numeric: options.numeric,\n style: options.style,\n localeMatcher: options.localeMatcher,\n });\n }\n\n return null;\n}\n\nexport { computeRelativeTime };\nexport type { RelativeTimeProps, ResolvedRelativeTimeProps };\n"],"mappings":"4IAyBA,SAAS,EAAoB,CAC3B,cACA,UACA,OACA,WACA,QACA,OACA,WACA,QAAS,EAAc,EAAE,CACzB,UAAU,EAAE,EAC+B,CAC3C,IAAM,EAAUA,EAAAA,iBAAiB,CAC/B,OAAQ,EACR,WAAY,EACZ,cACD,CAAC,CACI,GAAA,EAAA,EAAA,gBAAoB,CAAC,YAAY,CACjC,EAAe,GAAQ,EA4B7B,OA1BI,QAAQ,IAAI,WAAa,eAAiB,IAAU,IAAA,IAAa,CAAC,GAEpE,QAAQ,KACN,yFACD,CAGC,IAAU,IAAA,IAAa,EAClB,EAAG,mBAAmB,EAAO,EAAM,CACxC,UACA,QAAS,EAAQ,QACjB,MAAO,EAAQ,MACf,cAAe,EAAQ,cACxB,CAAC,CAGA,GAAgB,KAUb,KATE,EAAG,2BAA2B,EAAc,CACjD,UACA,SAAU,GAAY,IAAI,KAC1B,QAAS,EAAQ,QACjB,MAAO,EAAQ,MACf,cAAe,EAAQ,cACxB,CAAC"}
@@ -0,0 +1,20 @@
1
+ //#region src/components/variables/RelativeTime.shared.d.ts
2
+ type RelativeTimeProps = {
3
+ date?: Date | null | undefined;
4
+ children?: Date | null | undefined;
5
+ name?: string;
6
+ value?: number;
7
+ unit?: Intl.RelativeTimeFormatUnit;
8
+ baseDate?: Date;
9
+ locales?: string[];
10
+ options?: Intl.RelativeTimeFormatOptions;
11
+ _locale?: string;
12
+ _enableI18n?: boolean;
13
+ };
14
+ type ResolvedRelativeTimeProps = RelativeTimeProps & {
15
+ _locale: string;
16
+ _enableI18n: boolean;
17
+ };
18
+ //#endregion
19
+ export { type RelativeTimeProps, type ResolvedRelativeTimeProps };
20
+ //# sourceMappingURL=RelativeTime.shared.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RelativeTime.shared.d.ts","names":[],"sources":["../../../src/components/variables/RelativeTime.shared.ts"],"mappings":";KAOK,iBAAA;EACH,IAAA,GAAO,IAAA;EACP,QAAA,GAAW,IAAA;EACX,IAAA;EACA,KAAA;EACA,IAAA,GAAO,IAAA,CAAK,sBAAA;EACZ,QAAA,GAAW,IAAA;EACX,OAAA;EACA,OAAA,GAAU,IAAA,CAAK,yBAAA;EACf,OAAA;EACA,WAAA;AAAA;AAAA,KAGG,yBAAA,GAA4B,iBAAA;EAC/B,OAAA;EACA,WAAA;AAAA"}
@@ -0,0 +1,2 @@
1
+ import{getFormatLocales as e}from"../../hooks/utils/getFormatLocales.mjs";import{getI18nConfig as t}from"gt-i18n/internal";function n({_enableI18n:n,_locale:r,date:i,children:a,value:o,unit:s,baseDate:c,locales:l=[],options:u={}}){let d=e({locale:r,enableI18n:n,localesProp:l}),f=t().getGTClass(),p=i??a;return process.env.NODE_ENV===`development`&&o!==void 0&&!s&&console.warn("<RelativeTime>: `value` was provided without `unit`. The `value` prop will be ignored."),o!==void 0&&s?f.formatRelativeTime(o,s,{locales:d,numeric:u.numeric,style:u.style,localeMatcher:u.localeMatcher}):p==null?null:f.formatRelativeTimeFromDate(p,{locales:d,baseDate:c??new Date,numeric:u.numeric,style:u.style,localeMatcher:u.localeMatcher})}export{n as computeRelativeTime};
2
+ //# sourceMappingURL=RelativeTime.shared.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RelativeTime.shared.mjs","names":[],"sources":["../../../src/components/variables/RelativeTime.shared.ts"],"sourcesContent":["import { getI18nConfig } from 'gt-i18n/internal';\nimport { getFormatLocales } from '../../hooks/utils/getFormatLocales';\n\n// Pure compute logic shared by the hook-based and RSC implementations. This\n// module must stay free of hook/context imports so it can be reached from the\n// components-rsc entrypoint.\n\ntype RelativeTimeProps = {\n date?: Date | null | undefined;\n children?: Date | null | undefined;\n name?: string;\n value?: number;\n unit?: Intl.RelativeTimeFormatUnit;\n baseDate?: Date;\n locales?: string[];\n options?: Intl.RelativeTimeFormatOptions;\n _locale?: string;\n _enableI18n?: boolean;\n};\n\ntype ResolvedRelativeTimeProps = RelativeTimeProps & {\n _locale: string;\n _enableI18n: boolean;\n};\n\nfunction computeRelativeTime({\n _enableI18n,\n _locale,\n date,\n children,\n value,\n unit,\n baseDate,\n locales: localesProp = [],\n options = {},\n}: ResolvedRelativeTimeProps): string | null {\n const locales = getFormatLocales({\n locale: _locale,\n enableI18n: _enableI18n,\n localesProp,\n });\n const gt = getI18nConfig().getGTClass();\n const resolvedDate = date ?? children;\n\n if (process.env.NODE_ENV === 'development' && value !== undefined && !unit) {\n // eslint-disable-next-line no-console\n console.warn(\n '<RelativeTime>: `value` was provided without `unit`. The `value` prop will be ignored.'\n );\n }\n\n if (value !== undefined && unit) {\n return gt.formatRelativeTime(value, unit, {\n locales,\n numeric: options.numeric,\n style: options.style,\n localeMatcher: options.localeMatcher,\n });\n }\n\n if (resolvedDate != null) {\n return gt.formatRelativeTimeFromDate(resolvedDate, {\n locales,\n baseDate: baseDate ?? new Date(),\n numeric: options.numeric,\n style: options.style,\n localeMatcher: options.localeMatcher,\n });\n }\n\n return null;\n}\n\nexport { computeRelativeTime };\nexport type { RelativeTimeProps, ResolvedRelativeTimeProps };\n"],"mappings":"2HAyBA,SAAS,EAAoB,CAC3B,cACA,UACA,OACA,WACA,QACA,OACA,WACA,QAAS,EAAc,EAAE,CACzB,UAAU,EAAE,EAC+B,CAC3C,IAAM,EAAU,EAAiB,CAC/B,OAAQ,EACR,WAAY,EACZ,cACD,CAAC,CACI,EAAK,GAAe,CAAC,YAAY,CACjC,EAAe,GAAQ,EA4B7B,OA1BI,QAAQ,IAAI,WAAa,eAAiB,IAAU,IAAA,IAAa,CAAC,GAEpE,QAAQ,KACN,yFACD,CAGC,IAAU,IAAA,IAAa,EAClB,EAAG,mBAAmB,EAAO,EAAM,CACxC,UACA,QAAS,EAAQ,QACjB,MAAO,EAAQ,MACf,cAAe,EAAQ,cACxB,CAAC,CAGA,GAAgB,KAUb,KATE,EAAG,2BAA2B,EAAc,CACjD,UACA,SAAU,GAAY,IAAI,KAC1B,QAAS,EAAQ,QACjB,MAAO,EAAQ,MACf,cAAe,EAAQ,cACxB,CAAC"}
@@ -0,0 +1,2 @@
1
+ function e({children:e}){return e}function t({children:t}){return e({children:t})}function n({children:t}){return e({children:t})}t._gtt=`variable-variable`,n._gtt=`variable-variable-automatic`,exports.GtInternalVar=n,exports.Var=t;
2
+ //# sourceMappingURL=Var.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Var.cjs","names":[],"sources":["../../../src/components/variables/Var.tsx"],"sourcesContent":["import type { ReactNode } from 'react';\n\ntype VarProps<T extends ReactNode> = {\n children: T;\n name?: string;\n /** Accepted for renderVariable parity; raw variables are locale-independent. */\n _locale?: string;\n _enableI18n?: boolean;\n};\n\n// ===== Shared Logic ===== //\n\nfunction computeVar<T extends ReactNode>({ children }: VarProps<T>): T {\n return children;\n}\n\n// ===== Component ===== //\n\n/**\n * External-store version of the `<Var>` component.\n */\nfunction Var<T extends ReactNode>({ children }: VarProps<T>): T {\n return computeVar({ children });\n}\n\nfunction GtInternalVar<T extends ReactNode>({ children }: VarProps<T>): T {\n return computeVar({ children });\n}\n\n/** @internal _gtt - The GT transformation for the component. */\nVar._gtt = 'variable-variable';\nGtInternalVar._gtt = 'variable-variable-automatic';\n\n// ===== Exports ===== //\n\nexport { GtInternalVar, Var, computeVar };\n"],"mappings":"AAYA,SAAS,EAAgC,CAAE,YAA4B,CACrE,OAAO,EAQT,SAAS,EAAyB,CAAE,YAA4B,CAC9D,OAAO,EAAW,CAAE,WAAU,CAAC,CAGjC,SAAS,EAAmC,CAAE,YAA4B,CACxE,OAAO,EAAW,CAAE,WAAU,CAAC,CAIjC,EAAI,KAAO,oBACX,EAAc,KAAO"}
@@ -0,0 +1,27 @@
1
+ import { ReactNode } from "react";
2
+
3
+ //#region src/components/variables/Var.d.ts
4
+ type VarProps<T extends ReactNode> = {
5
+ children: T;
6
+ name?: string; /** Accepted for renderVariable parity; raw variables are locale-independent. */
7
+ _locale?: string;
8
+ _enableI18n?: boolean;
9
+ };
10
+ /**
11
+ * External-store version of the `<Var>` component.
12
+ */
13
+ declare function Var<T extends ReactNode>({
14
+ children
15
+ }: VarProps<T>): T;
16
+ declare namespace Var {
17
+ var _gtt: string;
18
+ }
19
+ declare function GtInternalVar<T extends ReactNode>({
20
+ children
21
+ }: VarProps<T>): T;
22
+ declare namespace GtInternalVar {
23
+ var _gtt: string;
24
+ }
25
+ //#endregion
26
+ export { GtInternalVar, Var };
27
+ //# sourceMappingURL=Var.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Var.d.ts","names":[],"sources":["../../../src/components/variables/Var.tsx"],"mappings":";;;KAEK,QAAA,WAAmB,SAAA;EACtB,QAAA,EAAU,CAAA;EACV,IAAA,WAFW;EAIX,OAAA;EACA,WAAA;AAAA;;;;iBAcO,GAAA,WAAc,SAAA,CAAA,CAAA;EAAa;AAAA,GAAY,QAAA,CAAS,CAAA,IAAK,CAAA;AAAA,kBAArD,GAAA;EAAA,IAAG,IAAA;AAAA;AAAA,iBAIH,aAAA,WAAwB,SAAA,CAAA,CAAA;EAAa;AAAA,GAAY,QAAA,CAAS,CAAA,IAAK,CAAA;AAAA,kBAA/D,aAAA;EAAA,IAAa,IAAA;AAAA"}
@@ -0,0 +1,2 @@
1
+ function e({children:e}){return e}function t({children:t}){return e({children:t})}function n({children:t}){return e({children:t})}t._gtt=`variable-variable`,n._gtt=`variable-variable-automatic`;export{n as GtInternalVar,t as Var};
2
+ //# sourceMappingURL=Var.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Var.mjs","names":[],"sources":["../../../src/components/variables/Var.tsx"],"sourcesContent":["import type { ReactNode } from 'react';\n\ntype VarProps<T extends ReactNode> = {\n children: T;\n name?: string;\n /** Accepted for renderVariable parity; raw variables are locale-independent. */\n _locale?: string;\n _enableI18n?: boolean;\n};\n\n// ===== Shared Logic ===== //\n\nfunction computeVar<T extends ReactNode>({ children }: VarProps<T>): T {\n return children;\n}\n\n// ===== Component ===== //\n\n/**\n * External-store version of the `<Var>` component.\n */\nfunction Var<T extends ReactNode>({ children }: VarProps<T>): T {\n return computeVar({ children });\n}\n\nfunction GtInternalVar<T extends ReactNode>({ children }: VarProps<T>): T {\n return computeVar({ children });\n}\n\n/** @internal _gtt - The GT transformation for the component. */\nVar._gtt = 'variable-variable';\nGtInternalVar._gtt = 'variable-variable-automatic';\n\n// ===== Exports ===== //\n\nexport { GtInternalVar, Var, computeVar };\n"],"mappings":"AAYA,SAAS,EAAgC,CAAE,YAA4B,CACrE,OAAO,EAQT,SAAS,EAAyB,CAAE,YAA4B,CAC9D,OAAO,EAAW,CAAE,WAAU,CAAC,CAGjC,SAAS,EAAmC,CAAE,YAA4B,CACxE,OAAO,EAAW,CAAE,WAAU,CAAC,CAIjC,EAAI,KAAO,oBACX,EAAc,KAAO"}
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./hooks/utils/getFormatLocales.cjs`),t=require(`./i18n-cache/singleton-operations.cjs`),n=require(`./functions/helpers/getTranslationsSnapshot.cjs`),r=require(`./condition-store/singleton-operations.cjs`),i=require(`./hooks/utils/getShouldTranslate.cjs`),a=require(`./functions/translation/t.cjs`),o=require(`./utils/rendering/createRenderVariable.cjs`),s=require(`./utils/plurals/getPluralBranch.cjs`),c=require(`./utils/rendering/createRenderPipeline.cjs`),l=require(`./setup/initializeGTSRA.cjs`),u=require(`./components/branches/Branch.cjs`),d=require(`./components/derivation/Derive.cjs`),f=require(`./components/variables/Var.cjs`),p=require(`./utils/translation/prepareT.shared.cjs`),m=require(`./components/branches/Plural.rsc.cjs`),h=require(`./components/variables/Currency.rsc.cjs`),g=require(`./components/variables/DateTime.rsc.cjs`),_=require(`./components/variables/Num.rsc.cjs`),v=require(`./components/variables/RelativeTime.rsc.cjs`),y=require(`./utils/rendering/renderPipeline.rsc.cjs`),b=require(`./components/translation/T.rsc.cjs`),x=require(`./components/translation/Tx.rsc.cjs`);exports.Branch=u.Branch,exports.Currency=h.RscCurrency,exports.DateTime=g.RscDateTime,exports.Derive=d.Derive,exports.GtInternalBranch=u.GtInternalBranch,exports.GtInternalCurrency=h.RscGtInternalCurrency,exports.GtInternalDateTime=g.RscGtInternalDateTime,exports.GtInternalDerive=d.GtInternalDerive,exports.GtInternalNum=_.RscGtInternalNum,exports.GtInternalPlural=m.RscGtInternalPlural,exports.GtInternalRelativeTime=v.RscGtInternalRelativeTime,exports.GtInternalVar=f.GtInternalVar,exports.Num=_.RscNum,exports.Plural=m.RscPlural,exports.RelativeTime=v.RscRelativeTime,exports.T=b.RscT,exports.Tx=x.RscTx,exports.Var=f.Var,exports.createRenderPipeline=c.createRenderPipeline,exports.createRenderVariable=o.createRenderVariable,exports.getFormatLocales=e.getFormatLocales,exports.getPluralBranch=s.getPluralBranch,exports.getReactI18nCache=t.getReactI18nCache,exports.getReadonlyConditionStore=r.getConditionStore,exports.getShouldTranslate=i.getShouldTranslate,exports.getTranslationsSnapshot=n.getTranslationsSnapshot,exports.internalInitializeGTSRA=l.internalInitializeGTSRA,exports.prepareT=p.prepareT,exports.renderDefaultChildren=y.renderDefaultChildren,exports.renderPreparedT=y.renderPreparedT,exports.renderTranslatedChildren=y.renderTranslatedChildren,exports.renderVariable=y.renderVariable,exports.setReactI18nCache=t.setReactI18nCache,exports.t=a.t;