rune-lab 0.1.2 → 0.2.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 (305) hide show
  1. package/dist/core/index.d.ts +3 -0
  2. package/dist/core/index.d.ts.map +1 -0
  3. package/dist/core/index.js +2 -0
  4. package/dist/{internal → core/internal}/message-resolver.d.ts +1 -0
  5. package/dist/core/internal/message-resolver.d.ts.map +1 -0
  6. package/dist/{persistence → core/persistence}/types.d.ts +1 -0
  7. package/dist/core/persistence/types.d.ts.map +1 -0
  8. package/dist/index.d.ts +2 -30
  9. package/dist/index.js +2 -40
  10. package/dist/state/api.svelte.js +3 -2
  11. package/dist/state/app.svelte.js +3 -2
  12. package/dist/state/commands.svelte.js +2 -2
  13. package/dist/{composables → state/composables}/usePersistence.d.ts +1 -1
  14. package/dist/{composables → state/composables}/useRuneLab.d.ts +1 -1
  15. package/dist/{composables → state/composables}/useRuneLab.js +1 -1
  16. package/dist/state/createConfigStore.svelte.d.ts +1 -1
  17. package/dist/state/createConfigStore.svelte.js +3 -3
  18. package/dist/state/currency.svelte.d.ts +1 -1
  19. package/dist/state/currency.svelte.js +1 -1
  20. package/dist/state/daisyui.d.ts +4 -0
  21. package/dist/state/index.d.ts +5 -0
  22. package/dist/state/index.js +9 -2
  23. package/dist/state/language.svelte.d.ts +1 -1
  24. package/dist/state/language.svelte.js +2 -2
  25. package/dist/state/layout.svelte.d.ts +1 -1
  26. package/dist/state/layout.svelte.js +1 -1
  27. package/dist/{persistence → state/persistence}/drivers.d.ts +1 -1
  28. package/dist/{persistence → state/persistence}/drivers.js +1 -1
  29. package/dist/state/shortcuts.svelte.js +4 -3
  30. package/dist/state/theme.svelte.d.ts +1 -1
  31. package/dist/state/theme.svelte.js +2 -2
  32. package/dist/state/toast.svelte.js +1 -1
  33. package/dist/{actions → ui/actions}/portal.js +2 -1
  34. package/dist/{components → ui/components}/ApiMonitor.svelte +2 -2
  35. package/dist/ui/components/ApiMonitor.svelte.d.ts +3 -0
  36. package/dist/{components → ui/components}/Icon.svelte +3 -2
  37. package/dist/ui/components/Icon.svelte.d.ts +9 -0
  38. package/dist/{components → ui/components}/RuneProvider.svelte +6 -11
  39. package/dist/ui/components/RuneProvider.svelte.d.ts +22 -0
  40. package/dist/{components → ui/components}/Toaster.svelte +1 -1
  41. package/dist/ui/components/Toaster.svelte.d.ts +18 -0
  42. package/dist/{features → ui/features}/command-palette/CommandPalette.svelte +3 -3
  43. package/dist/ui/features/command-palette/CommandPalette.svelte.d.ts +6 -0
  44. package/dist/ui/features/config/AppSettingSelector.svelte.d.ts +13 -0
  45. package/dist/{features → ui/features}/config/CurrencySelector.svelte +1 -1
  46. package/dist/ui/features/config/CurrencySelector.svelte.d.ts +8 -0
  47. package/dist/{features → ui/features}/config/LanguageSelector.svelte +1 -4
  48. package/dist/ui/features/config/LanguageSelector.svelte.d.ts +8 -0
  49. package/dist/{features → ui/features}/config/ThemeSelector.svelte +1 -1
  50. package/dist/ui/features/config/ThemeSelector.svelte.d.ts +8 -0
  51. package/dist/{features → ui/features}/shortcuts/ShortcutPalette.svelte +3 -3
  52. package/dist/ui/features/shortcuts/ShortcutPalette.svelte.d.ts +6 -0
  53. package/dist/ui/index.d.ts +21 -0
  54. package/dist/ui/index.js +31 -0
  55. package/dist/{features/layout/smart → ui/layout}/ConnectedNavigationPanel.svelte +2 -5
  56. package/dist/ui/layout/ConnectedNavigationPanel.svelte.d.ts +10 -0
  57. package/dist/{features/layout/smart → ui/layout}/ConnectedWorkspaceStrip.svelte +2 -5
  58. package/dist/ui/layout/ConnectedWorkspaceStrip.svelte.d.ts +9 -0
  59. package/dist/ui/layout/ContentArea.svelte.d.ts +8 -0
  60. package/dist/ui/layout/DetailPanel.svelte.d.ts +7 -0
  61. package/dist/{layout → ui/layout}/NavigationPanel.svelte +1 -1
  62. package/dist/ui/layout/NavigationPanel.svelte.d.ts +14 -0
  63. package/dist/{layout → ui/layout}/WorkspaceLayout.svelte +2 -2
  64. package/dist/{layout → ui/layout}/WorkspaceLayout.svelte.d.ts +3 -14
  65. package/dist/{layout → ui/layout}/WorkspaceStrip.svelte +1 -1
  66. package/dist/ui/layout/WorkspaceStrip.svelte.d.ts +11 -0
  67. package/dist/{layout → ui/layout}/index.d.ts +2 -2
  68. package/dist/{layout → ui/layout}/index.js +1 -1
  69. package/dist/{paraglide → ui/paraglide}/README.md +3 -2
  70. package/dist/{paraglide → ui/paraglide}/runtime.d.ts +15 -0
  71. package/dist/{paraglide → ui/paraglide}/runtime.js +45 -0
  72. package/package.json +40 -41
  73. package/dist/components/ApiMonitor.svelte.d.ts +0 -14
  74. package/dist/components/Icon.svelte.d.ts +0 -14
  75. package/dist/components/RuneProvider.svelte.d.ts +0 -28
  76. package/dist/components/Toaster.svelte.d.ts +0 -14
  77. package/dist/features/command-palette/CommandPalette.svelte.d.ts +0 -14
  78. package/dist/features/config/AppSettingSelector.svelte.d.ts +0 -14
  79. package/dist/features/config/CurrencySelector.svelte.d.ts +0 -14
  80. package/dist/features/config/LanguageSelector.svelte.d.ts +0 -14
  81. package/dist/features/config/ThemeSelector.svelte.d.ts +0 -14
  82. package/dist/features/detail-panels/DashboardPanel.svelte +0 -171
  83. package/dist/features/detail-panels/DashboardPanel.svelte.d.ts +0 -14
  84. package/dist/features/detail-panels/ShortcutsPanel.svelte +0 -233
  85. package/dist/features/detail-panels/ShortcutsPanel.svelte.d.ts +0 -14
  86. package/dist/features/detail-panels/ShowcasePanel.svelte +0 -114
  87. package/dist/features/detail-panels/ShowcasePanel.svelte.d.ts +0 -14
  88. package/dist/features/detail-panels/showcase-components.d.ts +0 -6
  89. package/dist/features/detail-panels/showcase-components.js +0 -65
  90. package/dist/features/layout/smart/ConnectedNavigationPanel.svelte.d.ts +0 -14
  91. package/dist/features/layout/smart/ConnectedWorkspaceStrip.svelte.d.ts +0 -14
  92. package/dist/features/shortcuts/ShortcutPalette.svelte.d.ts +0 -19
  93. package/dist/layout/ContentArea.svelte.d.ts +0 -14
  94. package/dist/layout/DetailPanel.svelte.d.ts +0 -14
  95. package/dist/layout/NavigationPanel.svelte.d.ts +0 -14
  96. package/dist/layout/WorkspaceStrip.svelte.d.ts +0 -14
  97. package/dist/paraglide/messages/_index.d.ts +0 -83
  98. package/dist/paraglide/messages/_index.js +0 -84
  99. package/dist/paraglide/messages/abyss.d.ts +0 -16
  100. package/dist/paraglide/messages/abyss.js +0 -84
  101. package/dist/paraglide/messages/acid.d.ts +0 -16
  102. package/dist/paraglide/messages/acid.js +0 -84
  103. package/dist/paraglide/messages/active_toasts.d.ts +0 -16
  104. package/dist/paraglide/messages/active_toasts.js +0 -84
  105. package/dist/paraglide/messages/aed3.d.ts +0 -17
  106. package/dist/paraglide/messages/aed3.js +0 -85
  107. package/dist/paraglide/messages/all_currencies.d.ts +0 -16
  108. package/dist/paraglide/messages/all_currencies.js +0 -84
  109. package/dist/paraglide/messages/all_languages.d.ts +0 -16
  110. package/dist/paraglide/messages/all_languages.js +0 -84
  111. package/dist/paraglide/messages/all_themes.d.ts +0 -16
  112. package/dist/paraglide/messages/all_themes.js +0 -84
  113. package/dist/paraglide/messages/api_status.d.ts +0 -16
  114. package/dist/paraglide/messages/api_status.js +0 -84
  115. package/dist/paraglide/messages/app_info.d.ts +0 -16
  116. package/dist/paraglide/messages/app_info.js +0 -84
  117. package/dist/paraglide/messages/appearance.d.ts +0 -16
  118. package/dist/paraglide/messages/appearance.js +0 -84
  119. package/dist/paraglide/messages/aqua.d.ts +0 -16
  120. package/dist/paraglide/messages/aqua.js +0 -84
  121. package/dist/paraglide/messages/ar.d.ts +0 -16
  122. package/dist/paraglide/messages/ar.js +0 -84
  123. package/dist/paraglide/messages/autumn.d.ts +0 -16
  124. package/dist/paraglide/messages/autumn.js +0 -84
  125. package/dist/paraglide/messages/black.d.ts +0 -16
  126. package/dist/paraglide/messages/black.js +0 -84
  127. package/dist/paraglide/messages/bumblebee.d.ts +0 -16
  128. package/dist/paraglide/messages/bumblebee.js +0 -84
  129. package/dist/paraglide/messages/business.d.ts +0 -16
  130. package/dist/paraglide/messages/business.js +0 -84
  131. package/dist/paraglide/messages/caramellatte.d.ts +0 -16
  132. package/dist/paraglide/messages/caramellatte.js +0 -84
  133. package/dist/paraglide/messages/cmyk.d.ts +0 -16
  134. package/dist/paraglide/messages/cmyk.js +0 -84
  135. package/dist/paraglide/messages/cny3.d.ts +0 -17
  136. package/dist/paraglide/messages/cny3.js +0 -85
  137. package/dist/paraglide/messages/coffee.d.ts +0 -16
  138. package/dist/paraglide/messages/coffee.js +0 -84
  139. package/dist/paraglide/messages/commands_label.d.ts +0 -16
  140. package/dist/paraglide/messages/commands_label.js +0 -84
  141. package/dist/paraglide/messages/corporate.d.ts +0 -16
  142. package/dist/paraglide/messages/corporate.js +0 -84
  143. package/dist/paraglide/messages/cupcake.d.ts +0 -16
  144. package/dist/paraglide/messages/cupcake.js +0 -84
  145. package/dist/paraglide/messages/currency.d.ts +0 -16
  146. package/dist/paraglide/messages/currency.js +0 -84
  147. package/dist/paraglide/messages/current_currency.d.ts +0 -16
  148. package/dist/paraglide/messages/current_currency.js +0 -84
  149. package/dist/paraglide/messages/current_language.d.ts +0 -16
  150. package/dist/paraglide/messages/current_language.js +0 -84
  151. package/dist/paraglide/messages/current_theme.d.ts +0 -16
  152. package/dist/paraglide/messages/current_theme.js +0 -84
  153. package/dist/paraglide/messages/currently_in_queue.d.ts +0 -16
  154. package/dist/paraglide/messages/currently_in_queue.js +0 -84
  155. package/dist/paraglide/messages/cyberpunk.d.ts +0 -16
  156. package/dist/paraglide/messages/cyberpunk.js +0 -84
  157. package/dist/paraglide/messages/dark.d.ts +0 -16
  158. package/dist/paraglide/messages/dark.js +0 -84
  159. package/dist/paraglide/messages/de.d.ts +0 -16
  160. package/dist/paraglide/messages/de.js +0 -84
  161. package/dist/paraglide/messages/dim.d.ts +0 -16
  162. package/dist/paraglide/messages/dim.js +0 -84
  163. package/dist/paraglide/messages/dracula.d.ts +0 -16
  164. package/dist/paraglide/messages/dracula.js +0 -84
  165. package/dist/paraglide/messages/emerald.d.ts +0 -16
  166. package/dist/paraglide/messages/emerald.js +0 -84
  167. package/dist/paraglide/messages/en.d.ts +0 -16
  168. package/dist/paraglide/messages/en.js +0 -84
  169. package/dist/paraglide/messages/es.d.ts +0 -16
  170. package/dist/paraglide/messages/es.js +0 -84
  171. package/dist/paraglide/messages/eur3.d.ts +0 -17
  172. package/dist/paraglide/messages/eur3.js +0 -85
  173. package/dist/paraglide/messages/extended_controls.d.ts +0 -16
  174. package/dist/paraglide/messages/extended_controls.js +0 -84
  175. package/dist/paraglide/messages/fantasy.d.ts +0 -16
  176. package/dist/paraglide/messages/fantasy.js +0 -84
  177. package/dist/paraglide/messages/forest.d.ts +0 -16
  178. package/dist/paraglide/messages/forest.js +0 -84
  179. package/dist/paraglide/messages/fr.d.ts +0 -16
  180. package/dist/paraglide/messages/fr.js +0 -84
  181. package/dist/paraglide/messages/garden.d.ts +0 -16
  182. package/dist/paraglide/messages/garden.js +0 -84
  183. package/dist/paraglide/messages/halloween.d.ts +0 -16
  184. package/dist/paraglide/messages/halloween.js +0 -84
  185. package/dist/paraglide/messages/hello_world.d.ts +0 -18
  186. package/dist/paraglide/messages/hello_world.js +0 -84
  187. package/dist/paraglide/messages/hi.d.ts +0 -16
  188. package/dist/paraglide/messages/hi.js +0 -84
  189. package/dist/paraglide/messages/it.d.ts +0 -16
  190. package/dist/paraglide/messages/it.js +0 -84
  191. package/dist/paraglide/messages/ja.d.ts +0 -16
  192. package/dist/paraglide/messages/ja.js +0 -84
  193. package/dist/paraglide/messages/jpy3.d.ts +0 -17
  194. package/dist/paraglide/messages/jpy3.js +0 -85
  195. package/dist/paraglide/messages/ko.d.ts +0 -16
  196. package/dist/paraglide/messages/ko.js +0 -84
  197. package/dist/paraglide/messages/krw3.d.ts +0 -17
  198. package/dist/paraglide/messages/krw3.js +0 -85
  199. package/dist/paraglide/messages/languages.d.ts +0 -16
  200. package/dist/paraglide/messages/languages.js +0 -84
  201. package/dist/paraglide/messages/lemonade.d.ts +0 -16
  202. package/dist/paraglide/messages/lemonade.js +0 -84
  203. package/dist/paraglide/messages/light.d.ts +0 -16
  204. package/dist/paraglide/messages/light.js +0 -84
  205. package/dist/paraglide/messages/live_store_dashboard.d.ts +0 -16
  206. package/dist/paraglide/messages/live_store_dashboard.js +0 -84
  207. package/dist/paraglide/messages/localization.d.ts +0 -16
  208. package/dist/paraglide/messages/localization.js +0 -84
  209. package/dist/paraglide/messages/lofi.d.ts +0 -16
  210. package/dist/paraglide/messages/lofi.js +0 -84
  211. package/dist/paraglide/messages/luxury.d.ts +0 -16
  212. package/dist/paraglide/messages/luxury.js +0 -84
  213. package/dist/paraglide/messages/mxn3.d.ts +0 -17
  214. package/dist/paraglide/messages/mxn3.js +0 -85
  215. package/dist/paraglide/messages/name_label.d.ts +0 -16
  216. package/dist/paraglide/messages/name_label.js +0 -84
  217. package/dist/paraglide/messages/night.d.ts +0 -16
  218. package/dist/paraglide/messages/night.js +0 -84
  219. package/dist/paraglide/messages/nord.d.ts +0 -16
  220. package/dist/paraglide/messages/nord.js +0 -84
  221. package/dist/paraglide/messages/pastel.d.ts +0 -16
  222. package/dist/paraglide/messages/pastel.js +0 -84
  223. package/dist/paraglide/messages/pt.d.ts +0 -16
  224. package/dist/paraglide/messages/pt.js +0 -84
  225. package/dist/paraglide/messages/real_time_monitor_desc.d.ts +0 -16
  226. package/dist/paraglide/messages/real_time_monitor_desc.js +0 -84
  227. package/dist/paraglide/messages/registered_in_registry.d.ts +0 -16
  228. package/dist/paraglide/messages/registered_in_registry.js +0 -84
  229. package/dist/paraglide/messages/retro.d.ts +0 -16
  230. package/dist/paraglide/messages/retro.js +0 -84
  231. package/dist/paraglide/messages/ru.d.ts +0 -16
  232. package/dist/paraglide/messages/ru.js +0 -84
  233. package/dist/paraglide/messages/silk.d.ts +0 -16
  234. package/dist/paraglide/messages/silk.js +0 -84
  235. package/dist/paraglide/messages/state_label.d.ts +0 -16
  236. package/dist/paraglide/messages/state_label.js +0 -84
  237. package/dist/paraglide/messages/sunset.d.ts +0 -16
  238. package/dist/paraglide/messages/sunset.js +0 -84
  239. package/dist/paraglide/messages/synthwave.d.ts +0 -16
  240. package/dist/paraglide/messages/synthwave.js +0 -84
  241. package/dist/paraglide/messages/system.d.ts +0 -16
  242. package/dist/paraglide/messages/system.js +0 -84
  243. package/dist/paraglide/messages/theme.d.ts +0 -16
  244. package/dist/paraglide/messages/theme.js +0 -84
  245. package/dist/paraglide/messages/themes.d.ts +0 -16
  246. package/dist/paraglide/messages/themes.js +0 -84
  247. package/dist/paraglide/messages/url_label.d.ts +0 -16
  248. package/dist/paraglide/messages/url_label.js +0 -84
  249. package/dist/paraglide/messages/usd3.d.ts +0 -17
  250. package/dist/paraglide/messages/usd3.js +0 -85
  251. package/dist/paraglide/messages/valentine.d.ts +0 -16
  252. package/dist/paraglide/messages/valentine.js +0 -84
  253. package/dist/paraglide/messages/version_label.d.ts +0 -16
  254. package/dist/paraglide/messages/version_label.js +0 -84
  255. package/dist/paraglide/messages/vi.d.ts +0 -16
  256. package/dist/paraglide/messages/vi.js +0 -84
  257. package/dist/paraglide/messages/winter.d.ts +0 -16
  258. package/dist/paraglide/messages/winter.js +0 -84
  259. package/dist/paraglide/messages/wireframe.d.ts +0 -16
  260. package/dist/paraglide/messages/wireframe.js +0 -84
  261. package/dist/paraglide/messages/zh.d.ts +0 -16
  262. package/dist/paraglide/messages/zh.js +0 -84
  263. package/dist/server/index.d.ts +0 -15
  264. package/dist/server/index.js +0 -20
  265. package/dist/showcase/AppStateInspector.svelte +0 -184
  266. package/dist/showcase/AppStateInspector.svelte.d.ts +0 -14
  267. package/dist/showcase/Showcase.svelte +0 -115
  268. package/dist/showcase/Showcase.svelte.d.ts +0 -14
  269. package/dist/showcase/ShowcaseCard.svelte +0 -18
  270. package/dist/showcase/ShowcaseCard.svelte.d.ts +0 -14
  271. package/dist/showcase/StoreDetailCard.svelte +0 -68
  272. package/dist/showcase/StoreDetailCard.svelte.d.ts +0 -14
  273. package/dist/showcase/shared.d.ts +0 -7
  274. package/dist/showcase/shared.js +0 -34
  275. package/dist/showcase/state.svelte.d.ts +0 -3
  276. package/dist/showcase/state.svelte.js +0 -3
  277. package/dist/showcase/tabs/Actions.svelte +0 -150
  278. package/dist/showcase/tabs/Actions.svelte.d.ts +0 -14
  279. package/dist/showcase/tabs/DataInput.svelte +0 -164
  280. package/dist/showcase/tabs/DataInput.svelte.d.ts +0 -14
  281. package/dist/showcase/tabs/Display.svelte +0 -159
  282. package/dist/showcase/tabs/Display.svelte.d.ts +0 -14
  283. package/dist/showcase/tabs/Feedback.svelte +0 -180
  284. package/dist/showcase/tabs/Feedback.svelte.d.ts +0 -14
  285. package/dist/showcase/tabs/Navigation.svelte +0 -170
  286. package/dist/showcase/tabs/Navigation.svelte.d.ts +0 -14
  287. package/dist/showcase/tabs/Visual.svelte +0 -133
  288. package/dist/showcase/tabs/Visual.svelte.d.ts +0 -14
  289. /package/dist/{internal → core/internal}/message-resolver.js +0 -0
  290. /package/dist/{persistence → core/persistence}/types.js +0 -0
  291. /package/dist/{composables → state/composables}/usePersistence.js +0 -0
  292. /package/dist/{config.d.ts → state/config.d.ts} +0 -0
  293. /package/dist/{config.js → state/config.js} +0 -0
  294. /package/dist/{context.d.ts → state/context.d.ts} +0 -0
  295. /package/dist/{context.js → state/context.js} +0 -0
  296. /package/dist/{actions → ui/actions}/portal.d.ts +0 -0
  297. /package/dist/{features → ui/features}/config/AppSettingSelector.svelte +0 -0
  298. /package/dist/{layout → ui/layout}/ContentArea.svelte +0 -0
  299. /package/dist/{layout → ui/layout}/DetailPanel.svelte +0 -0
  300. /package/dist/{paraglide → ui/paraglide}/messages.d.ts +0 -0
  301. /package/dist/{paraglide → ui/paraglide}/messages.js +0 -0
  302. /package/dist/{paraglide → ui/paraglide}/registry.d.ts +0 -0
  303. /package/dist/{paraglide → ui/paraglide}/registry.js +0 -0
  304. /package/dist/{paraglide → ui/paraglide}/server.d.ts +0 -0
  305. /package/dist/{paraglide → ui/paraglide}/server.js +0 -0
@@ -1,84 +0,0 @@
1
- /* eslint-disable */
2
- import { getLocale, experimentalStaticLocale } from '../runtime.js';
3
-
4
- /** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
5
-
6
- /** @typedef {{}} ValentineInputs */
7
-
8
- const es_valentine = /** @type {(inputs: ValentineInputs) => LocalizedString} */ () => {
9
- return /** @type {LocalizedString} */ (`San Valentín`)
10
- };
11
-
12
- const fr_valentine = /** @type {(inputs: ValentineInputs) => LocalizedString} */ () => {
13
- return /** @type {LocalizedString} */ (`Valentin`)
14
- };
15
-
16
- const it_valentine = /** @type {(inputs: ValentineInputs) => LocalizedString} */ () => {
17
- return /** @type {LocalizedString} */ (`San Valentino`)
18
- };
19
-
20
- const pt_valentine = /** @type {(inputs: ValentineInputs) => LocalizedString} */ () => {
21
- return /** @type {LocalizedString} */ (`Dia dos Namorados`)
22
- };
23
-
24
- const en_valentine = /** @type {(inputs: ValentineInputs) => LocalizedString} */ () => {
25
- return /** @type {LocalizedString} */ (`Valentine`)
26
- };
27
-
28
- const de_valentine = /** @type {(inputs: ValentineInputs) => LocalizedString} */ () => {
29
- return /** @type {LocalizedString} */ (`Valentinstag`)
30
- };
31
-
32
- const ru_valentine = /** @type {(inputs: ValentineInputs) => LocalizedString} */ () => {
33
- return /** @type {LocalizedString} */ (`Валентин`)
34
- };
35
-
36
- const hi_valentine = /** @type {(inputs: ValentineInputs) => LocalizedString} */ () => {
37
- return /** @type {LocalizedString} */ (`वैलेंटाइन`)
38
- };
39
-
40
- const ar_valentine = /** @type {(inputs: ValentineInputs) => LocalizedString} */ () => {
41
- return /** @type {LocalizedString} */ (`عيد الحب`)
42
- };
43
-
44
- const zh_valentine = /** @type {(inputs: ValentineInputs) => LocalizedString} */ () => {
45
- return /** @type {LocalizedString} */ (`情人节`)
46
- };
47
-
48
- const ja_valentine = /** @type {(inputs: ValentineInputs) => LocalizedString} */ () => {
49
- return /** @type {LocalizedString} */ (`バレンタイン`)
50
- };
51
-
52
- const ko_valentine = /** @type {(inputs: ValentineInputs) => LocalizedString} */ () => {
53
- return /** @type {LocalizedString} */ (`발렌타인`)
54
- };
55
-
56
- const vi_valentine = /** @type {(inputs: ValentineInputs) => LocalizedString} */ () => {
57
- return /** @type {LocalizedString} */ (`Valentine`)
58
- };
59
-
60
- /**
61
- * | output |
62
- * | --- |
63
- * | "Valentine" |
64
- *
65
- * @param {ValentineInputs} inputs
66
- * @param {{ locale?: "es" | "fr" | "it" | "pt" | "en" | "de" | "ru" | "hi" | "ar" | "zh" | "ja" | "ko" | "vi" }} options
67
- * @returns {LocalizedString}
68
- */
69
- export const valentine = /** @type {((inputs?: ValentineInputs, options?: { locale?: "es" | "fr" | "it" | "pt" | "en" | "de" | "ru" | "hi" | "ar" | "zh" | "ja" | "ko" | "vi" }) => LocalizedString) & import('../runtime.js').MessageMetadata<ValentineInputs, { locale?: "es" | "fr" | "it" | "pt" | "en" | "de" | "ru" | "hi" | "ar" | "zh" | "ja" | "ko" | "vi" }, {}>} */ ((inputs = {}, options = {}) => {
70
- const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
71
- if (locale === "es") return es_valentine(inputs)
72
- if (locale === "fr") return fr_valentine(inputs)
73
- if (locale === "it") return it_valentine(inputs)
74
- if (locale === "pt") return pt_valentine(inputs)
75
- if (locale === "en") return en_valentine(inputs)
76
- if (locale === "de") return de_valentine(inputs)
77
- if (locale === "ru") return ru_valentine(inputs)
78
- if (locale === "hi") return hi_valentine(inputs)
79
- if (locale === "ar") return ar_valentine(inputs)
80
- if (locale === "zh") return zh_valentine(inputs)
81
- if (locale === "ja") return ja_valentine(inputs)
82
- if (locale === "ko") return ko_valentine(inputs)
83
- return vi_valentine(inputs)
84
- });
@@ -1,16 +0,0 @@
1
- /**
2
- * | output |
3
- * | --- |
4
- * | "Version" |
5
- *
6
- * @param {Version_LabelInputs} inputs
7
- * @param {{ locale?: "es" | "fr" | "it" | "pt" | "en" | "de" | "ru" | "hi" | "ar" | "zh" | "ja" | "ko" | "vi" }} options
8
- * @returns {LocalizedString}
9
- */
10
- export const version_label: ((inputs?: Version_LabelInputs, options?: {
11
- locale?: "es" | "fr" | "it" | "pt" | "en" | "de" | "ru" | "hi" | "ar" | "zh" | "ja" | "ko" | "vi";
12
- }) => LocalizedString) & import("../runtime.js").MessageMetadata<Version_LabelInputs, {
13
- locale?: "es" | "fr" | "it" | "pt" | "en" | "de" | "ru" | "hi" | "ar" | "zh" | "ja" | "ko" | "vi";
14
- }, {}>;
15
- export type LocalizedString = import("../runtime.js").LocalizedString;
16
- export type Version_LabelInputs = {};
@@ -1,84 +0,0 @@
1
- /* eslint-disable */
2
- import { getLocale, experimentalStaticLocale } from '../runtime.js';
3
-
4
- /** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
5
-
6
- /** @typedef {{}} Version_LabelInputs */
7
-
8
- const es_version_label = /** @type {(inputs: Version_LabelInputs) => LocalizedString} */ () => {
9
- return /** @type {LocalizedString} */ (`Versión`)
10
- };
11
-
12
- const fr_version_label = /** @type {(inputs: Version_LabelInputs) => LocalizedString} */ () => {
13
- return /** @type {LocalizedString} */ (`Version`)
14
- };
15
-
16
- const it_version_label = /** @type {(inputs: Version_LabelInputs) => LocalizedString} */ () => {
17
- return /** @type {LocalizedString} */ (`Versione`)
18
- };
19
-
20
- const pt_version_label = /** @type {(inputs: Version_LabelInputs) => LocalizedString} */ () => {
21
- return /** @type {LocalizedString} */ (`Versão`)
22
- };
23
-
24
- const en_version_label = /** @type {(inputs: Version_LabelInputs) => LocalizedString} */ () => {
25
- return /** @type {LocalizedString} */ (`Version`)
26
- };
27
-
28
- const de_version_label = /** @type {(inputs: Version_LabelInputs) => LocalizedString} */ () => {
29
- return /** @type {LocalizedString} */ (`Version`)
30
- };
31
-
32
- const ru_version_label = /** @type {(inputs: Version_LabelInputs) => LocalizedString} */ () => {
33
- return /** @type {LocalizedString} */ (`Версия`)
34
- };
35
-
36
- const hi_version_label = /** @type {(inputs: Version_LabelInputs) => LocalizedString} */ () => {
37
- return /** @type {LocalizedString} */ (`संस्करण`)
38
- };
39
-
40
- const ar_version_label = /** @type {(inputs: Version_LabelInputs) => LocalizedString} */ () => {
41
- return /** @type {LocalizedString} */ (`الإصدار`)
42
- };
43
-
44
- const zh_version_label = /** @type {(inputs: Version_LabelInputs) => LocalizedString} */ () => {
45
- return /** @type {LocalizedString} */ (`版本`)
46
- };
47
-
48
- const ja_version_label = /** @type {(inputs: Version_LabelInputs) => LocalizedString} */ () => {
49
- return /** @type {LocalizedString} */ (`バージョン`)
50
- };
51
-
52
- const ko_version_label = /** @type {(inputs: Version_LabelInputs) => LocalizedString} */ () => {
53
- return /** @type {LocalizedString} */ (`버전`)
54
- };
55
-
56
- const vi_version_label = /** @type {(inputs: Version_LabelInputs) => LocalizedString} */ () => {
57
- return /** @type {LocalizedString} */ (`Phiên bản`)
58
- };
59
-
60
- /**
61
- * | output |
62
- * | --- |
63
- * | "Version" |
64
- *
65
- * @param {Version_LabelInputs} inputs
66
- * @param {{ locale?: "es" | "fr" | "it" | "pt" | "en" | "de" | "ru" | "hi" | "ar" | "zh" | "ja" | "ko" | "vi" }} options
67
- * @returns {LocalizedString}
68
- */
69
- export const version_label = /** @type {((inputs?: Version_LabelInputs, options?: { locale?: "es" | "fr" | "it" | "pt" | "en" | "de" | "ru" | "hi" | "ar" | "zh" | "ja" | "ko" | "vi" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Version_LabelInputs, { locale?: "es" | "fr" | "it" | "pt" | "en" | "de" | "ru" | "hi" | "ar" | "zh" | "ja" | "ko" | "vi" }, {}>} */ ((inputs = {}, options = {}) => {
70
- const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
71
- if (locale === "es") return es_version_label(inputs)
72
- if (locale === "fr") return fr_version_label(inputs)
73
- if (locale === "it") return it_version_label(inputs)
74
- if (locale === "pt") return pt_version_label(inputs)
75
- if (locale === "en") return en_version_label(inputs)
76
- if (locale === "de") return de_version_label(inputs)
77
- if (locale === "ru") return ru_version_label(inputs)
78
- if (locale === "hi") return hi_version_label(inputs)
79
- if (locale === "ar") return ar_version_label(inputs)
80
- if (locale === "zh") return zh_version_label(inputs)
81
- if (locale === "ja") return ja_version_label(inputs)
82
- if (locale === "ko") return ko_version_label(inputs)
83
- return vi_version_label(inputs)
84
- });
@@ -1,16 +0,0 @@
1
- /**
2
- * | output |
3
- * | --- |
4
- * | "Vietnamese" |
5
- *
6
- * @param {ViInputs} inputs
7
- * @param {{ locale?: "es" | "fr" | "it" | "pt" | "en" | "de" | "ru" | "hi" | "ar" | "zh" | "ja" | "ko" | "vi" }} options
8
- * @returns {LocalizedString}
9
- */
10
- export const vi: ((inputs?: ViInputs, options?: {
11
- locale?: "es" | "fr" | "it" | "pt" | "en" | "de" | "ru" | "hi" | "ar" | "zh" | "ja" | "ko" | "vi";
12
- }) => LocalizedString) & import("../runtime.js").MessageMetadata<ViInputs, {
13
- locale?: "es" | "fr" | "it" | "pt" | "en" | "de" | "ru" | "hi" | "ar" | "zh" | "ja" | "ko" | "vi";
14
- }, {}>;
15
- export type LocalizedString = import("../runtime.js").LocalizedString;
16
- export type ViInputs = {};
@@ -1,84 +0,0 @@
1
- /* eslint-disable */
2
- import { getLocale, experimentalStaticLocale } from '../runtime.js';
3
-
4
- /** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
5
-
6
- /** @typedef {{}} ViInputs */
7
-
8
- const es_vi = /** @type {(inputs: ViInputs) => LocalizedString} */ () => {
9
- return /** @type {LocalizedString} */ (`Vietnamita`)
10
- };
11
-
12
- const fr_vi = /** @type {(inputs: ViInputs) => LocalizedString} */ () => {
13
- return /** @type {LocalizedString} */ (`Vietnamien`)
14
- };
15
-
16
- const it_vi = /** @type {(inputs: ViInputs) => LocalizedString} */ () => {
17
- return /** @type {LocalizedString} */ (`Vietnamita`)
18
- };
19
-
20
- const pt_vi = /** @type {(inputs: ViInputs) => LocalizedString} */ () => {
21
- return /** @type {LocalizedString} */ (`Vietnamita`)
22
- };
23
-
24
- const en_vi = /** @type {(inputs: ViInputs) => LocalizedString} */ () => {
25
- return /** @type {LocalizedString} */ (`Vietnamese`)
26
- };
27
-
28
- const de_vi = /** @type {(inputs: ViInputs) => LocalizedString} */ () => {
29
- return /** @type {LocalizedString} */ (`Vietnamesisch`)
30
- };
31
-
32
- const ru_vi = /** @type {(inputs: ViInputs) => LocalizedString} */ () => {
33
- return /** @type {LocalizedString} */ (`Вьетнамский`)
34
- };
35
-
36
- const hi_vi = /** @type {(inputs: ViInputs) => LocalizedString} */ () => {
37
- return /** @type {LocalizedString} */ (`वियतनामी`)
38
- };
39
-
40
- const ar_vi = /** @type {(inputs: ViInputs) => LocalizedString} */ () => {
41
- return /** @type {LocalizedString} */ (`الفيتنامية`)
42
- };
43
-
44
- const zh_vi = /** @type {(inputs: ViInputs) => LocalizedString} */ () => {
45
- return /** @type {LocalizedString} */ (`越南语`)
46
- };
47
-
48
- const ja_vi = /** @type {(inputs: ViInputs) => LocalizedString} */ () => {
49
- return /** @type {LocalizedString} */ (`ベトナム語`)
50
- };
51
-
52
- const ko_vi = /** @type {(inputs: ViInputs) => LocalizedString} */ () => {
53
- return /** @type {LocalizedString} */ (`베트남어`)
54
- };
55
-
56
- const vi_vi = /** @type {(inputs: ViInputs) => LocalizedString} */ () => {
57
- return /** @type {LocalizedString} */ (`Tiếng Việt`)
58
- };
59
-
60
- /**
61
- * | output |
62
- * | --- |
63
- * | "Vietnamese" |
64
- *
65
- * @param {ViInputs} inputs
66
- * @param {{ locale?: "es" | "fr" | "it" | "pt" | "en" | "de" | "ru" | "hi" | "ar" | "zh" | "ja" | "ko" | "vi" }} options
67
- * @returns {LocalizedString}
68
- */
69
- export const vi = /** @type {((inputs?: ViInputs, options?: { locale?: "es" | "fr" | "it" | "pt" | "en" | "de" | "ru" | "hi" | "ar" | "zh" | "ja" | "ko" | "vi" }) => LocalizedString) & import('../runtime.js').MessageMetadata<ViInputs, { locale?: "es" | "fr" | "it" | "pt" | "en" | "de" | "ru" | "hi" | "ar" | "zh" | "ja" | "ko" | "vi" }, {}>} */ ((inputs = {}, options = {}) => {
70
- const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
71
- if (locale === "es") return es_vi(inputs)
72
- if (locale === "fr") return fr_vi(inputs)
73
- if (locale === "it") return it_vi(inputs)
74
- if (locale === "pt") return pt_vi(inputs)
75
- if (locale === "en") return en_vi(inputs)
76
- if (locale === "de") return de_vi(inputs)
77
- if (locale === "ru") return ru_vi(inputs)
78
- if (locale === "hi") return hi_vi(inputs)
79
- if (locale === "ar") return ar_vi(inputs)
80
- if (locale === "zh") return zh_vi(inputs)
81
- if (locale === "ja") return ja_vi(inputs)
82
- if (locale === "ko") return ko_vi(inputs)
83
- return vi_vi(inputs)
84
- });
@@ -1,16 +0,0 @@
1
- /**
2
- * | output |
3
- * | --- |
4
- * | "Winter" |
5
- *
6
- * @param {WinterInputs} inputs
7
- * @param {{ locale?: "es" | "fr" | "it" | "pt" | "en" | "de" | "ru" | "hi" | "ar" | "zh" | "ja" | "ko" | "vi" }} options
8
- * @returns {LocalizedString}
9
- */
10
- export const winter: ((inputs?: WinterInputs, options?: {
11
- locale?: "es" | "fr" | "it" | "pt" | "en" | "de" | "ru" | "hi" | "ar" | "zh" | "ja" | "ko" | "vi";
12
- }) => LocalizedString) & import("../runtime.js").MessageMetadata<WinterInputs, {
13
- locale?: "es" | "fr" | "it" | "pt" | "en" | "de" | "ru" | "hi" | "ar" | "zh" | "ja" | "ko" | "vi";
14
- }, {}>;
15
- export type LocalizedString = import("../runtime.js").LocalizedString;
16
- export type WinterInputs = {};
@@ -1,84 +0,0 @@
1
- /* eslint-disable */
2
- import { getLocale, experimentalStaticLocale } from '../runtime.js';
3
-
4
- /** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
5
-
6
- /** @typedef {{}} WinterInputs */
7
-
8
- const es_winter = /** @type {(inputs: WinterInputs) => LocalizedString} */ () => {
9
- return /** @type {LocalizedString} */ (`Invierno`)
10
- };
11
-
12
- const fr_winter = /** @type {(inputs: WinterInputs) => LocalizedString} */ () => {
13
- return /** @type {LocalizedString} */ (`Hiver`)
14
- };
15
-
16
- const it_winter = /** @type {(inputs: WinterInputs) => LocalizedString} */ () => {
17
- return /** @type {LocalizedString} */ (`Inverno`)
18
- };
19
-
20
- const pt_winter = /** @type {(inputs: WinterInputs) => LocalizedString} */ () => {
21
- return /** @type {LocalizedString} */ (`Inverno`)
22
- };
23
-
24
- const en_winter = /** @type {(inputs: WinterInputs) => LocalizedString} */ () => {
25
- return /** @type {LocalizedString} */ (`Winter`)
26
- };
27
-
28
- const de_winter = /** @type {(inputs: WinterInputs) => LocalizedString} */ () => {
29
- return /** @type {LocalizedString} */ (`Winter`)
30
- };
31
-
32
- const ru_winter = /** @type {(inputs: WinterInputs) => LocalizedString} */ () => {
33
- return /** @type {LocalizedString} */ (`Зима`)
34
- };
35
-
36
- const hi_winter = /** @type {(inputs: WinterInputs) => LocalizedString} */ () => {
37
- return /** @type {LocalizedString} */ (`विंटर`)
38
- };
39
-
40
- const ar_winter = /** @type {(inputs: WinterInputs) => LocalizedString} */ () => {
41
- return /** @type {LocalizedString} */ (`شتاء`)
42
- };
43
-
44
- const zh_winter = /** @type {(inputs: WinterInputs) => LocalizedString} */ () => {
45
- return /** @type {LocalizedString} */ (`冬季`)
46
- };
47
-
48
- const ja_winter = /** @type {(inputs: WinterInputs) => LocalizedString} */ () => {
49
- return /** @type {LocalizedString} */ (`ウィンター`)
50
- };
51
-
52
- const ko_winter = /** @type {(inputs: WinterInputs) => LocalizedString} */ () => {
53
- return /** @type {LocalizedString} */ (`윈터`)
54
- };
55
-
56
- const vi_winter = /** @type {(inputs: WinterInputs) => LocalizedString} */ () => {
57
- return /** @type {LocalizedString} */ (`Mùa đông`)
58
- };
59
-
60
- /**
61
- * | output |
62
- * | --- |
63
- * | "Winter" |
64
- *
65
- * @param {WinterInputs} inputs
66
- * @param {{ locale?: "es" | "fr" | "it" | "pt" | "en" | "de" | "ru" | "hi" | "ar" | "zh" | "ja" | "ko" | "vi" }} options
67
- * @returns {LocalizedString}
68
- */
69
- export const winter = /** @type {((inputs?: WinterInputs, options?: { locale?: "es" | "fr" | "it" | "pt" | "en" | "de" | "ru" | "hi" | "ar" | "zh" | "ja" | "ko" | "vi" }) => LocalizedString) & import('../runtime.js').MessageMetadata<WinterInputs, { locale?: "es" | "fr" | "it" | "pt" | "en" | "de" | "ru" | "hi" | "ar" | "zh" | "ja" | "ko" | "vi" }, {}>} */ ((inputs = {}, options = {}) => {
70
- const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
71
- if (locale === "es") return es_winter(inputs)
72
- if (locale === "fr") return fr_winter(inputs)
73
- if (locale === "it") return it_winter(inputs)
74
- if (locale === "pt") return pt_winter(inputs)
75
- if (locale === "en") return en_winter(inputs)
76
- if (locale === "de") return de_winter(inputs)
77
- if (locale === "ru") return ru_winter(inputs)
78
- if (locale === "hi") return hi_winter(inputs)
79
- if (locale === "ar") return ar_winter(inputs)
80
- if (locale === "zh") return zh_winter(inputs)
81
- if (locale === "ja") return ja_winter(inputs)
82
- if (locale === "ko") return ko_winter(inputs)
83
- return vi_winter(inputs)
84
- });
@@ -1,16 +0,0 @@
1
- /**
2
- * | output |
3
- * | --- |
4
- * | "Wireframe" |
5
- *
6
- * @param {WireframeInputs} inputs
7
- * @param {{ locale?: "es" | "fr" | "it" | "pt" | "en" | "de" | "ru" | "hi" | "ar" | "zh" | "ja" | "ko" | "vi" }} options
8
- * @returns {LocalizedString}
9
- */
10
- export const wireframe: ((inputs?: WireframeInputs, options?: {
11
- locale?: "es" | "fr" | "it" | "pt" | "en" | "de" | "ru" | "hi" | "ar" | "zh" | "ja" | "ko" | "vi";
12
- }) => LocalizedString) & import("../runtime.js").MessageMetadata<WireframeInputs, {
13
- locale?: "es" | "fr" | "it" | "pt" | "en" | "de" | "ru" | "hi" | "ar" | "zh" | "ja" | "ko" | "vi";
14
- }, {}>;
15
- export type LocalizedString = import("../runtime.js").LocalizedString;
16
- export type WireframeInputs = {};
@@ -1,84 +0,0 @@
1
- /* eslint-disable */
2
- import { getLocale, experimentalStaticLocale } from '../runtime.js';
3
-
4
- /** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
5
-
6
- /** @typedef {{}} WireframeInputs */
7
-
8
- const es_wireframe = /** @type {(inputs: WireframeInputs) => LocalizedString} */ () => {
9
- return /** @type {LocalizedString} */ (`Alambre`)
10
- };
11
-
12
- const fr_wireframe = /** @type {(inputs: WireframeInputs) => LocalizedString} */ () => {
13
- return /** @type {LocalizedString} */ (`Fil de fer`)
14
- };
15
-
16
- const it_wireframe = /** @type {(inputs: WireframeInputs) => LocalizedString} */ () => {
17
- return /** @type {LocalizedString} */ (`Reticolo`)
18
- };
19
-
20
- const pt_wireframe = /** @type {(inputs: WireframeInputs) => LocalizedString} */ () => {
21
- return /** @type {LocalizedString} */ (`Arame`)
22
- };
23
-
24
- const en_wireframe = /** @type {(inputs: WireframeInputs) => LocalizedString} */ () => {
25
- return /** @type {LocalizedString} */ (`Wireframe`)
26
- };
27
-
28
- const de_wireframe = /** @type {(inputs: WireframeInputs) => LocalizedString} */ () => {
29
- return /** @type {LocalizedString} */ (`Drahtmodell`)
30
- };
31
-
32
- const ru_wireframe = /** @type {(inputs: WireframeInputs) => LocalizedString} */ () => {
33
- return /** @type {LocalizedString} */ (`Каркас`)
34
- };
35
-
36
- const hi_wireframe = /** @type {(inputs: WireframeInputs) => LocalizedString} */ () => {
37
- return /** @type {LocalizedString} */ (`वायरफ्रेम`)
38
- };
39
-
40
- const ar_wireframe = /** @type {(inputs: WireframeInputs) => LocalizedString} */ () => {
41
- return /** @type {LocalizedString} */ (`إطار سلكي`)
42
- };
43
-
44
- const zh_wireframe = /** @type {(inputs: WireframeInputs) => LocalizedString} */ () => {
45
- return /** @type {LocalizedString} */ (`线框`)
46
- };
47
-
48
- const ja_wireframe = /** @type {(inputs: WireframeInputs) => LocalizedString} */ () => {
49
- return /** @type {LocalizedString} */ (`ワイヤーフレーム`)
50
- };
51
-
52
- const ko_wireframe = /** @type {(inputs: WireframeInputs) => LocalizedString} */ () => {
53
- return /** @type {LocalizedString} */ (`와이어프레임`)
54
- };
55
-
56
- const vi_wireframe = /** @type {(inputs: WireframeInputs) => LocalizedString} */ () => {
57
- return /** @type {LocalizedString} */ (`Khung dây`)
58
- };
59
-
60
- /**
61
- * | output |
62
- * | --- |
63
- * | "Wireframe" |
64
- *
65
- * @param {WireframeInputs} inputs
66
- * @param {{ locale?: "es" | "fr" | "it" | "pt" | "en" | "de" | "ru" | "hi" | "ar" | "zh" | "ja" | "ko" | "vi" }} options
67
- * @returns {LocalizedString}
68
- */
69
- export const wireframe = /** @type {((inputs?: WireframeInputs, options?: { locale?: "es" | "fr" | "it" | "pt" | "en" | "de" | "ru" | "hi" | "ar" | "zh" | "ja" | "ko" | "vi" }) => LocalizedString) & import('../runtime.js').MessageMetadata<WireframeInputs, { locale?: "es" | "fr" | "it" | "pt" | "en" | "de" | "ru" | "hi" | "ar" | "zh" | "ja" | "ko" | "vi" }, {}>} */ ((inputs = {}, options = {}) => {
70
- const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
71
- if (locale === "es") return es_wireframe(inputs)
72
- if (locale === "fr") return fr_wireframe(inputs)
73
- if (locale === "it") return it_wireframe(inputs)
74
- if (locale === "pt") return pt_wireframe(inputs)
75
- if (locale === "en") return en_wireframe(inputs)
76
- if (locale === "de") return de_wireframe(inputs)
77
- if (locale === "ru") return ru_wireframe(inputs)
78
- if (locale === "hi") return hi_wireframe(inputs)
79
- if (locale === "ar") return ar_wireframe(inputs)
80
- if (locale === "zh") return zh_wireframe(inputs)
81
- if (locale === "ja") return ja_wireframe(inputs)
82
- if (locale === "ko") return ko_wireframe(inputs)
83
- return vi_wireframe(inputs)
84
- });
@@ -1,16 +0,0 @@
1
- /**
2
- * | output |
3
- * | --- |
4
- * | "Chinese" |
5
- *
6
- * @param {ZhInputs} inputs
7
- * @param {{ locale?: "es" | "fr" | "it" | "pt" | "en" | "de" | "ru" | "hi" | "ar" | "zh" | "ja" | "ko" | "vi" }} options
8
- * @returns {LocalizedString}
9
- */
10
- export const zh: ((inputs?: ZhInputs, options?: {
11
- locale?: "es" | "fr" | "it" | "pt" | "en" | "de" | "ru" | "hi" | "ar" | "zh" | "ja" | "ko" | "vi";
12
- }) => LocalizedString) & import("../runtime.js").MessageMetadata<ZhInputs, {
13
- locale?: "es" | "fr" | "it" | "pt" | "en" | "de" | "ru" | "hi" | "ar" | "zh" | "ja" | "ko" | "vi";
14
- }, {}>;
15
- export type LocalizedString = import("../runtime.js").LocalizedString;
16
- export type ZhInputs = {};
@@ -1,84 +0,0 @@
1
- /* eslint-disable */
2
- import { getLocale, experimentalStaticLocale } from '../runtime.js';
3
-
4
- /** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
5
-
6
- /** @typedef {{}} ZhInputs */
7
-
8
- const es_zh = /** @type {(inputs: ZhInputs) => LocalizedString} */ () => {
9
- return /** @type {LocalizedString} */ (`Chino`)
10
- };
11
-
12
- const fr_zh = /** @type {(inputs: ZhInputs) => LocalizedString} */ () => {
13
- return /** @type {LocalizedString} */ (`Chinois`)
14
- };
15
-
16
- const it_zh = /** @type {(inputs: ZhInputs) => LocalizedString} */ () => {
17
- return /** @type {LocalizedString} */ (`Cinese`)
18
- };
19
-
20
- const pt_zh = /** @type {(inputs: ZhInputs) => LocalizedString} */ () => {
21
- return /** @type {LocalizedString} */ (`Chinês`)
22
- };
23
-
24
- const en_zh = /** @type {(inputs: ZhInputs) => LocalizedString} */ () => {
25
- return /** @type {LocalizedString} */ (`Chinese`)
26
- };
27
-
28
- const de_zh = /** @type {(inputs: ZhInputs) => LocalizedString} */ () => {
29
- return /** @type {LocalizedString} */ (`Chinesisch`)
30
- };
31
-
32
- const ru_zh = /** @type {(inputs: ZhInputs) => LocalizedString} */ () => {
33
- return /** @type {LocalizedString} */ (`Китайский`)
34
- };
35
-
36
- const hi_zh = /** @type {(inputs: ZhInputs) => LocalizedString} */ () => {
37
- return /** @type {LocalizedString} */ (`चीनी`)
38
- };
39
-
40
- const ar_zh = /** @type {(inputs: ZhInputs) => LocalizedString} */ () => {
41
- return /** @type {LocalizedString} */ (`الصينية`)
42
- };
43
-
44
- const zh_zh = /** @type {(inputs: ZhInputs) => LocalizedString} */ () => {
45
- return /** @type {LocalizedString} */ (`中文`)
46
- };
47
-
48
- const ja_zh = /** @type {(inputs: ZhInputs) => LocalizedString} */ () => {
49
- return /** @type {LocalizedString} */ (`中国語`)
50
- };
51
-
52
- const ko_zh = /** @type {(inputs: ZhInputs) => LocalizedString} */ () => {
53
- return /** @type {LocalizedString} */ (`중국어`)
54
- };
55
-
56
- const vi_zh = /** @type {(inputs: ZhInputs) => LocalizedString} */ () => {
57
- return /** @type {LocalizedString} */ (`Tiếng Trung`)
58
- };
59
-
60
- /**
61
- * | output |
62
- * | --- |
63
- * | "Chinese" |
64
- *
65
- * @param {ZhInputs} inputs
66
- * @param {{ locale?: "es" | "fr" | "it" | "pt" | "en" | "de" | "ru" | "hi" | "ar" | "zh" | "ja" | "ko" | "vi" }} options
67
- * @returns {LocalizedString}
68
- */
69
- export const zh = /** @type {((inputs?: ZhInputs, options?: { locale?: "es" | "fr" | "it" | "pt" | "en" | "de" | "ru" | "hi" | "ar" | "zh" | "ja" | "ko" | "vi" }) => LocalizedString) & import('../runtime.js').MessageMetadata<ZhInputs, { locale?: "es" | "fr" | "it" | "pt" | "en" | "de" | "ru" | "hi" | "ar" | "zh" | "ja" | "ko" | "vi" }, {}>} */ ((inputs = {}, options = {}) => {
70
- const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
71
- if (locale === "es") return es_zh(inputs)
72
- if (locale === "fr") return fr_zh(inputs)
73
- if (locale === "it") return it_zh(inputs)
74
- if (locale === "pt") return pt_zh(inputs)
75
- if (locale === "en") return en_zh(inputs)
76
- if (locale === "de") return de_zh(inputs)
77
- if (locale === "ru") return ru_zh(inputs)
78
- if (locale === "hi") return hi_zh(inputs)
79
- if (locale === "ar") return ar_zh(inputs)
80
- if (locale === "zh") return zh_zh(inputs)
81
- if (locale === "ja") return ja_zh(inputs)
82
- if (locale === "ko") return ko_zh(inputs)
83
- return vi_zh(inputs)
84
- });
@@ -1,15 +0,0 @@
1
- import type { Handle } from "@sveltejs/kit";
2
- /**
3
- * A SvelteKit Handle hook that prevents Flash of Unstyled Content (FOUC)
4
- * by injecting the saved theme straight into the HTML before it leaves the server.
5
- *
6
- * @example
7
- * ```ts
8
- * // src/hooks.server.ts
9
- * import { sequence } from "@sveltejs/kit/hooks";
10
- * import { runeLabThemeHandler } from "rune-lab/server";
11
- *
12
- * export const handle = sequence(runeLabThemeHandler);
13
- * ```
14
- */
15
- export declare const runeLabThemeHandler: Handle;
@@ -1,20 +0,0 @@
1
- /**
2
- * A SvelteKit Handle hook that prevents Flash of Unstyled Content (FOUC)
3
- * by injecting the saved theme straight into the HTML before it leaves the server.
4
- *
5
- * @example
6
- * ```ts
7
- * // src/hooks.server.ts
8
- * import { sequence } from "@sveltejs/kit/hooks";
9
- * import { runeLabThemeHandler } from "rune-lab/server";
10
- *
11
- * export const handle = sequence(runeLabThemeHandler);
12
- * ```
13
- */
14
- export const runeLabThemeHandler = async ({ event, resolve }) => {
15
- // Assuming 'theme' is the default storageKey mapped from cookieDriver
16
- const theme = event.cookies.get("theme") || "system";
17
- return resolve(event, {
18
- transformPageChunk: ({ html }) => html.replace("<html", `<html data-theme="${theme}"`),
19
- });
20
- };