@frontmcp/ui 0.6.1 → 0.6.2

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 (292) hide show
  1. package/bridge/core/bridge-factory.d.ts +1 -0
  2. package/bridge/core/bridge-factory.d.ts.map +1 -1
  3. package/bridge/index.d.ts +1 -1
  4. package/bridge/index.d.ts.map +1 -1
  5. package/bridge/index.js +39 -881
  6. package/bundler/browser-components.d.ts +42 -0
  7. package/bundler/browser-components.d.ts.map +1 -0
  8. package/bundler/bundler.d.ts +78 -4
  9. package/bundler/bundler.d.ts.map +1 -1
  10. package/bundler/index.d.ts +8 -8
  11. package/bundler/index.d.ts.map +1 -1
  12. package/bundler/index.js +1315 -1854
  13. package/bundler/types.d.ts +188 -7
  14. package/bundler/types.d.ts.map +1 -1
  15. package/esm/bridge/{index.js → index.mjs} +40 -877
  16. package/esm/bundler/{index.js → index.mjs} +1391 -1895
  17. package/esm/{index.js → index.mjs} +215 -3091
  18. package/esm/layouts/{index.js → index.mjs} +3 -3
  19. package/esm/package.json +9 -8
  20. package/esm/react/index.mjs +1183 -0
  21. package/esm/renderers/index.mjs +611 -0
  22. package/esm/universal/{index.js → index.mjs} +266 -70
  23. package/index.d.ts +1 -4
  24. package/index.d.ts.map +1 -1
  25. package/index.js +208 -3113
  26. package/layouts/base.d.ts.map +1 -1
  27. package/layouts/index.js +3 -3
  28. package/layouts/presets.d.ts.map +1 -1
  29. package/package.json +9 -8
  30. package/react/Badge.d.ts.map +1 -1
  31. package/react/hooks/context.d.ts.map +1 -1
  32. package/react/index.d.ts +0 -1
  33. package/react/index.d.ts.map +1 -1
  34. package/react/index.js +57 -2001
  35. package/react/types.d.ts.map +1 -1
  36. package/renderers/index.d.ts +9 -4
  37. package/renderers/index.d.ts.map +1 -1
  38. package/renderers/index.js +328 -88
  39. package/renderers/mdx.renderer.d.ts +99 -0
  40. package/renderers/mdx.renderer.d.ts.map +1 -0
  41. package/renderers/react.renderer.d.ts +22 -13
  42. package/renderers/react.renderer.d.ts.map +1 -1
  43. package/renderers/transpiler.d.ts +49 -0
  44. package/renderers/transpiler.d.ts.map +1 -0
  45. package/universal/cached-runtime.d.ts +25 -1
  46. package/universal/cached-runtime.d.ts.map +1 -1
  47. package/universal/index.js +266 -70
  48. package/universal/runtime-builder.d.ts.map +1 -1
  49. package/universal/types.d.ts.map +1 -1
  50. package/web-components/elements/fmcp-input.d.ts.map +1 -1
  51. package/web-components/elements/fmcp-select.d.ts.map +1 -1
  52. package/web-components/index.d.ts +0 -1
  53. package/web-components/index.d.ts.map +1 -1
  54. package/bundler/cache.d.ts +0 -173
  55. package/bundler/cache.d.ts.map +0 -1
  56. package/bundler/file-cache/component-builder.d.ts +0 -167
  57. package/bundler/file-cache/component-builder.d.ts.map +0 -1
  58. package/bundler/file-cache/hash-calculator.d.ts +0 -155
  59. package/bundler/file-cache/hash-calculator.d.ts.map +0 -1
  60. package/bundler/file-cache/index.d.ts +0 -12
  61. package/bundler/file-cache/index.d.ts.map +0 -1
  62. package/bundler/file-cache/storage/filesystem.d.ts +0 -149
  63. package/bundler/file-cache/storage/filesystem.d.ts.map +0 -1
  64. package/bundler/file-cache/storage/index.d.ts +0 -11
  65. package/bundler/file-cache/storage/index.d.ts.map +0 -1
  66. package/bundler/file-cache/storage/interface.d.ts +0 -152
  67. package/bundler/file-cache/storage/interface.d.ts.map +0 -1
  68. package/bundler/file-cache/storage/redis.d.ts +0 -139
  69. package/bundler/file-cache/storage/redis.d.ts.map +0 -1
  70. package/bundler/sandbox/enclave-adapter.d.ts +0 -121
  71. package/bundler/sandbox/enclave-adapter.d.ts.map +0 -1
  72. package/bundler/sandbox/executor.d.ts +0 -14
  73. package/bundler/sandbox/executor.d.ts.map +0 -1
  74. package/bundler/sandbox/policy.d.ts +0 -62
  75. package/bundler/sandbox/policy.d.ts.map +0 -1
  76. package/esm/bridge/adapters/base-adapter.d.ts +0 -104
  77. package/esm/bridge/adapters/base-adapter.d.ts.map +0 -1
  78. package/esm/bridge/adapters/claude.adapter.d.ts +0 -67
  79. package/esm/bridge/adapters/claude.adapter.d.ts.map +0 -1
  80. package/esm/bridge/adapters/ext-apps.adapter.d.ts +0 -143
  81. package/esm/bridge/adapters/ext-apps.adapter.d.ts.map +0 -1
  82. package/esm/bridge/adapters/gemini.adapter.d.ts +0 -64
  83. package/esm/bridge/adapters/gemini.adapter.d.ts.map +0 -1
  84. package/esm/bridge/adapters/generic.adapter.d.ts +0 -56
  85. package/esm/bridge/adapters/generic.adapter.d.ts.map +0 -1
  86. package/esm/bridge/adapters/index.d.ts +0 -26
  87. package/esm/bridge/adapters/index.d.ts.map +0 -1
  88. package/esm/bridge/adapters/openai.adapter.d.ts +0 -65
  89. package/esm/bridge/adapters/openai.adapter.d.ts.map +0 -1
  90. package/esm/bridge/core/adapter-registry.d.ts +0 -122
  91. package/esm/bridge/core/adapter-registry.d.ts.map +0 -1
  92. package/esm/bridge/core/bridge-factory.d.ts +0 -199
  93. package/esm/bridge/core/bridge-factory.d.ts.map +0 -1
  94. package/esm/bridge/core/index.d.ts +0 -10
  95. package/esm/bridge/core/index.d.ts.map +0 -1
  96. package/esm/bridge/index.d.ts +0 -62
  97. package/esm/bridge/index.d.ts.map +0 -1
  98. package/esm/bridge/runtime/iife-generator.d.ts +0 -62
  99. package/esm/bridge/runtime/iife-generator.d.ts.map +0 -1
  100. package/esm/bridge/runtime/index.d.ts +0 -10
  101. package/esm/bridge/runtime/index.d.ts.map +0 -1
  102. package/esm/bridge/types.d.ts +0 -386
  103. package/esm/bridge/types.d.ts.map +0 -1
  104. package/esm/bundler/bundler.d.ts +0 -208
  105. package/esm/bundler/bundler.d.ts.map +0 -1
  106. package/esm/bundler/cache.d.ts +0 -173
  107. package/esm/bundler/cache.d.ts.map +0 -1
  108. package/esm/bundler/file-cache/component-builder.d.ts +0 -167
  109. package/esm/bundler/file-cache/component-builder.d.ts.map +0 -1
  110. package/esm/bundler/file-cache/hash-calculator.d.ts +0 -155
  111. package/esm/bundler/file-cache/hash-calculator.d.ts.map +0 -1
  112. package/esm/bundler/file-cache/index.d.ts +0 -12
  113. package/esm/bundler/file-cache/index.d.ts.map +0 -1
  114. package/esm/bundler/file-cache/storage/filesystem.d.ts +0 -149
  115. package/esm/bundler/file-cache/storage/filesystem.d.ts.map +0 -1
  116. package/esm/bundler/file-cache/storage/index.d.ts +0 -11
  117. package/esm/bundler/file-cache/storage/index.d.ts.map +0 -1
  118. package/esm/bundler/file-cache/storage/interface.d.ts +0 -152
  119. package/esm/bundler/file-cache/storage/interface.d.ts.map +0 -1
  120. package/esm/bundler/file-cache/storage/redis.d.ts +0 -139
  121. package/esm/bundler/file-cache/storage/redis.d.ts.map +0 -1
  122. package/esm/bundler/index.d.ts +0 -43
  123. package/esm/bundler/index.d.ts.map +0 -1
  124. package/esm/bundler/sandbox/enclave-adapter.d.ts +0 -121
  125. package/esm/bundler/sandbox/enclave-adapter.d.ts.map +0 -1
  126. package/esm/bundler/sandbox/executor.d.ts +0 -14
  127. package/esm/bundler/sandbox/executor.d.ts.map +0 -1
  128. package/esm/bundler/sandbox/policy.d.ts +0 -62
  129. package/esm/bundler/sandbox/policy.d.ts.map +0 -1
  130. package/esm/bundler/types.d.ts +0 -702
  131. package/esm/bundler/types.d.ts.map +0 -1
  132. package/esm/components/alert.d.ts +0 -66
  133. package/esm/components/alert.d.ts.map +0 -1
  134. package/esm/components/alert.schema.d.ts +0 -98
  135. package/esm/components/alert.schema.d.ts.map +0 -1
  136. package/esm/components/avatar.d.ts +0 -77
  137. package/esm/components/avatar.d.ts.map +0 -1
  138. package/esm/components/avatar.schema.d.ts +0 -170
  139. package/esm/components/avatar.schema.d.ts.map +0 -1
  140. package/esm/components/badge.d.ts +0 -64
  141. package/esm/components/badge.d.ts.map +0 -1
  142. package/esm/components/badge.schema.d.ts +0 -91
  143. package/esm/components/badge.schema.d.ts.map +0 -1
  144. package/esm/components/button.d.ts +0 -100
  145. package/esm/components/button.d.ts.map +0 -1
  146. package/esm/components/button.schema.d.ts +0 -120
  147. package/esm/components/button.schema.d.ts.map +0 -1
  148. package/esm/components/card.d.ts +0 -53
  149. package/esm/components/card.d.ts.map +0 -1
  150. package/esm/components/card.schema.d.ts +0 -93
  151. package/esm/components/card.schema.d.ts.map +0 -1
  152. package/esm/components/form.d.ts +0 -212
  153. package/esm/components/form.d.ts.map +0 -1
  154. package/esm/components/form.schema.d.ts +0 -365
  155. package/esm/components/form.schema.d.ts.map +0 -1
  156. package/esm/components/index.d.ts +0 -29
  157. package/esm/components/index.d.ts.map +0 -1
  158. package/esm/components/list.d.ts +0 -121
  159. package/esm/components/list.d.ts.map +0 -1
  160. package/esm/components/list.schema.d.ts +0 -129
  161. package/esm/components/list.schema.d.ts.map +0 -1
  162. package/esm/components/modal.d.ts +0 -100
  163. package/esm/components/modal.d.ts.map +0 -1
  164. package/esm/components/modal.schema.d.ts +0 -151
  165. package/esm/components/modal.schema.d.ts.map +0 -1
  166. package/esm/components/table.d.ts +0 -91
  167. package/esm/components/table.d.ts.map +0 -1
  168. package/esm/components/table.schema.d.ts +0 -123
  169. package/esm/components/table.schema.d.ts.map +0 -1
  170. package/esm/index.d.ts +0 -40
  171. package/esm/index.d.ts.map +0 -1
  172. package/esm/layouts/base.d.ts +0 -86
  173. package/esm/layouts/base.d.ts.map +0 -1
  174. package/esm/layouts/index.d.ts +0 -8
  175. package/esm/layouts/index.d.ts.map +0 -1
  176. package/esm/layouts/presets.d.ts +0 -134
  177. package/esm/layouts/presets.d.ts.map +0 -1
  178. package/esm/pages/consent.d.ts +0 -117
  179. package/esm/pages/consent.d.ts.map +0 -1
  180. package/esm/pages/error.d.ts +0 -101
  181. package/esm/pages/error.d.ts.map +0 -1
  182. package/esm/pages/index.d.ts +0 -9
  183. package/esm/pages/index.d.ts.map +0 -1
  184. package/esm/pages/index.js +0 -1036
  185. package/esm/react/Alert.d.ts +0 -101
  186. package/esm/react/Alert.d.ts.map +0 -1
  187. package/esm/react/Badge.d.ts +0 -100
  188. package/esm/react/Badge.d.ts.map +0 -1
  189. package/esm/react/Button.d.ts +0 -108
  190. package/esm/react/Button.d.ts.map +0 -1
  191. package/esm/react/Card.d.ts +0 -103
  192. package/esm/react/Card.d.ts.map +0 -1
  193. package/esm/react/hooks/context.d.ts +0 -179
  194. package/esm/react/hooks/context.d.ts.map +0 -1
  195. package/esm/react/hooks/index.d.ts +0 -42
  196. package/esm/react/hooks/index.d.ts.map +0 -1
  197. package/esm/react/hooks/tools.d.ts +0 -284
  198. package/esm/react/hooks/tools.d.ts.map +0 -1
  199. package/esm/react/index.d.ts +0 -80
  200. package/esm/react/index.d.ts.map +0 -1
  201. package/esm/react/index.js +0 -3124
  202. package/esm/react/types.d.ts +0 -105
  203. package/esm/react/types.d.ts.map +0 -1
  204. package/esm/react/utils.d.ts +0 -43
  205. package/esm/react/utils.d.ts.map +0 -1
  206. package/esm/render/index.d.ts +0 -8
  207. package/esm/render/index.d.ts.map +0 -1
  208. package/esm/render/prerender.d.ts +0 -57
  209. package/esm/render/prerender.d.ts.map +0 -1
  210. package/esm/renderers/index.d.ts +0 -21
  211. package/esm/renderers/index.d.ts.map +0 -1
  212. package/esm/renderers/index.js +0 -381
  213. package/esm/renderers/react.adapter.d.ts +0 -70
  214. package/esm/renderers/react.adapter.d.ts.map +0 -1
  215. package/esm/renderers/react.renderer.d.ts +0 -96
  216. package/esm/renderers/react.renderer.d.ts.map +0 -1
  217. package/esm/universal/UniversalApp.d.ts +0 -108
  218. package/esm/universal/UniversalApp.d.ts.map +0 -1
  219. package/esm/universal/cached-runtime.d.ts +0 -115
  220. package/esm/universal/cached-runtime.d.ts.map +0 -1
  221. package/esm/universal/context.d.ts +0 -122
  222. package/esm/universal/context.d.ts.map +0 -1
  223. package/esm/universal/index.d.ts +0 -57
  224. package/esm/universal/index.d.ts.map +0 -1
  225. package/esm/universal/renderers/html.renderer.d.ts +0 -37
  226. package/esm/universal/renderers/html.renderer.d.ts.map +0 -1
  227. package/esm/universal/renderers/index.d.ts +0 -112
  228. package/esm/universal/renderers/index.d.ts.map +0 -1
  229. package/esm/universal/renderers/markdown.renderer.d.ts +0 -33
  230. package/esm/universal/renderers/markdown.renderer.d.ts.map +0 -1
  231. package/esm/universal/renderers/mdx.renderer.d.ts +0 -38
  232. package/esm/universal/renderers/mdx.renderer.d.ts.map +0 -1
  233. package/esm/universal/renderers/react.renderer.d.ts +0 -46
  234. package/esm/universal/renderers/react.renderer.d.ts.map +0 -1
  235. package/esm/universal/runtime-builder.d.ts +0 -33
  236. package/esm/universal/runtime-builder.d.ts.map +0 -1
  237. package/esm/universal/store.d.ts +0 -135
  238. package/esm/universal/store.d.ts.map +0 -1
  239. package/esm/universal/types.d.ts +0 -199
  240. package/esm/universal/types.d.ts.map +0 -1
  241. package/esm/web-components/core/attribute-parser.d.ts +0 -82
  242. package/esm/web-components/core/attribute-parser.d.ts.map +0 -1
  243. package/esm/web-components/core/base-element.d.ts +0 -197
  244. package/esm/web-components/core/base-element.d.ts.map +0 -1
  245. package/esm/web-components/core/index.d.ts +0 -9
  246. package/esm/web-components/core/index.d.ts.map +0 -1
  247. package/esm/web-components/elements/fmcp-alert.d.ts +0 -46
  248. package/esm/web-components/elements/fmcp-alert.d.ts.map +0 -1
  249. package/esm/web-components/elements/fmcp-badge.d.ts +0 -47
  250. package/esm/web-components/elements/fmcp-badge.d.ts.map +0 -1
  251. package/esm/web-components/elements/fmcp-button.d.ts +0 -117
  252. package/esm/web-components/elements/fmcp-button.d.ts.map +0 -1
  253. package/esm/web-components/elements/fmcp-card.d.ts +0 -53
  254. package/esm/web-components/elements/fmcp-card.d.ts.map +0 -1
  255. package/esm/web-components/elements/fmcp-input.d.ts +0 -96
  256. package/esm/web-components/elements/fmcp-input.d.ts.map +0 -1
  257. package/esm/web-components/elements/fmcp-select.d.ts +0 -100
  258. package/esm/web-components/elements/fmcp-select.d.ts.map +0 -1
  259. package/esm/web-components/elements/index.d.ts +0 -13
  260. package/esm/web-components/elements/index.d.ts.map +0 -1
  261. package/esm/web-components/index.d.ts +0 -50
  262. package/esm/web-components/index.d.ts.map +0 -1
  263. package/esm/web-components/register.d.ts +0 -57
  264. package/esm/web-components/register.d.ts.map +0 -1
  265. package/esm/web-components/types.d.ts +0 -122
  266. package/esm/web-components/types.d.ts.map +0 -1
  267. package/esm/widgets/index.d.ts +0 -8
  268. package/esm/widgets/index.d.ts.map +0 -1
  269. package/esm/widgets/index.js +0 -883
  270. package/esm/widgets/progress.d.ts +0 -133
  271. package/esm/widgets/progress.d.ts.map +0 -1
  272. package/esm/widgets/resource.d.ts +0 -163
  273. package/esm/widgets/resource.d.ts.map +0 -1
  274. package/pages/consent.d.ts +0 -117
  275. package/pages/consent.d.ts.map +0 -1
  276. package/pages/error.d.ts +0 -101
  277. package/pages/error.d.ts.map +0 -1
  278. package/pages/index.d.ts +0 -9
  279. package/pages/index.d.ts.map +0 -1
  280. package/pages/index.js +0 -1065
  281. package/react/utils.d.ts +0 -43
  282. package/react/utils.d.ts.map +0 -1
  283. package/widgets/index.d.ts +0 -8
  284. package/widgets/index.d.ts.map +0 -1
  285. package/widgets/index.js +0 -910
  286. package/widgets/progress.d.ts +0 -133
  287. package/widgets/progress.d.ts.map +0 -1
  288. package/widgets/resource.d.ts +0 -163
  289. package/widgets/resource.d.ts.map +0 -1
  290. /package/esm/components/{index.js → index.mjs} +0 -0
  291. /package/esm/render/{index.js → index.mjs} +0 -0
  292. /package/esm/web-components/{index.js → index.mjs} +0 -0
@@ -1,100 +0,0 @@
1
- /**
2
- * @file button.ts
3
- * @description Button Component for FrontMCP UI.
4
- *
5
- * Versatile button component with multiple variants, sizes, and states.
6
- *
7
- * @example Basic button
8
- * ```typescript
9
- * import { button } from '@frontmcp/ui';
10
- *
11
- * // Primary button (default)
12
- * const html = button('Click Me');
13
- * // <button type="button" class="...bg-primary...">Click Me</button>
14
- * ```
15
- *
16
- * @example Button variants
17
- * ```typescript
18
- * import { button, primaryButton, dangerButton, outlineButton } from '@frontmcp/ui';
19
- *
20
- * // Using variant option
21
- * const secondary = button('Save', { variant: 'secondary' });
22
- * const danger = button('Delete', { variant: 'danger' });
23
- *
24
- * // Using shorthand functions
25
- * const primary = primaryButton('Submit');
26
- * const outline = outlineButton('Cancel');
27
- * ```
28
- *
29
- * @example Button with loading state
30
- * ```typescript
31
- * const loadingBtn = button('Saving...', {
32
- * loading: true,
33
- * disabled: true,
34
- * });
35
- * ```
36
- *
37
- * @example Button group
38
- * ```typescript
39
- * import { button, buttonGroup } from '@frontmcp/ui';
40
- *
41
- * const group = buttonGroup([
42
- * button('Edit', { variant: 'outline' }),
43
- * button('Delete', { variant: 'danger' }),
44
- * ], { attached: true });
45
- * ```
46
- *
47
- * @module @frontmcp/ui/components/button
48
- */
49
- import { type ButtonOptions, type ButtonVariant, type ButtonSize, type ButtonGroupOptions } from './button.schema';
50
- export type { ButtonOptions, ButtonVariant, ButtonSize, ButtonGroupOptions };
51
- /**
52
- * Build a button component
53
- *
54
- * @param text - Button label text (used as aria-label for icon-only buttons)
55
- * @param options - Button configuration options
56
- * @returns HTML string for the button, or validation error box on invalid input
57
- *
58
- * @remarks
59
- * **Security considerations:**
60
- * - The `iconBefore` and `iconAfter` options accept raw HTML strings for SVG icons.
61
- * These are NOT escaped and should only contain trusted content (e.g., icon library output).
62
- * Never pass user-provided content to these options.
63
- * - The `href` option uses an allowlist for safe protocols. Only the following are allowed:
64
- * - `http://`, `https://` - absolute URLs
65
- * - `/` - absolute paths (e.g., "/login", "/api/users")
66
- * - `#` - anchor links (e.g., "#section")
67
- * - `mailto:` - email links
68
- * - `tel:` - phone links
69
- * Note: Bare relative URLs like "login" or "./foo" are NOT allowed and will fall back to
70
- * button behavior. Use absolute paths ("/login") instead.
71
- * - The `data` option keys are sanitized to prevent malformed attributes.
72
- *
73
- * **Accessibility:**
74
- * - When `iconOnly: true`, the `text` parameter is automatically used as `aria-label`
75
- * unless an explicit `ariaLabel` option is provided.
76
- * - Empty button text with `iconOnly: false` will log a warning for accessibility.
77
- * - Icon-only buttons without text or ariaLabel will log a warning.
78
- */
79
- export declare function button(text: string, options?: ButtonOptions): string;
80
- /**
81
- * Build a button group
82
- *
83
- * @param buttons - Array of button HTML strings
84
- * @param options - Button group configuration options
85
- * @returns HTML string for the button group, or validation error box on invalid input
86
- */
87
- export declare function buttonGroup(buttons: string[], options?: ButtonGroupOptions): string;
88
- /** Primary button shorthand */
89
- export declare const primaryButton: (text: string, opts?: Omit<ButtonOptions, "variant">) => string;
90
- /** Secondary button shorthand */
91
- export declare const secondaryButton: (text: string, opts?: Omit<ButtonOptions, "variant">) => string;
92
- /** Outline button shorthand */
93
- export declare const outlineButton: (text: string, opts?: Omit<ButtonOptions, "variant">) => string;
94
- /** Ghost button shorthand */
95
- export declare const ghostButton: (text: string, opts?: Omit<ButtonOptions, "variant">) => string;
96
- /** Danger button shorthand */
97
- export declare const dangerButton: (text: string, opts?: Omit<ButtonOptions, "variant">) => string;
98
- /** Link button shorthand */
99
- export declare const linkButton: (text: string, opts?: Omit<ButtonOptions, "variant">) => string;
100
- //# sourceMappingURL=button.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/components/button.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AAIH,OAAO,EAGL,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,UAAU,EACf,KAAK,kBAAkB,EACxB,MAAM,iBAAiB,CAAC;AAGzB,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,UAAU,EAAE,kBAAkB,EAAE,CAAC;AAyF7E;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,wBAAgB,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,GAAE,aAAkB,GAAG,MAAM,CAkHxE;AAED;;;;;;GAMG;AACH,wBAAgB,WAAW,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE,OAAO,GAAE,kBAAuB,GAAG,MAAM,CAkCvF;AAMD,+BAA+B;AAC/B,eAAO,MAAM,aAAa,GAAI,MAAM,MAAM,EAAE,OAAO,IAAI,CAAC,aAAa,EAAE,SAAS,CAAC,WAClC,CAAC;AAEhD,iCAAiC;AACjC,eAAO,MAAM,eAAe,GAAI,MAAM,MAAM,EAAE,OAAO,IAAI,CAAC,aAAa,EAAE,SAAS,CAAC,WAClC,CAAC;AAElD,+BAA+B;AAC/B,eAAO,MAAM,aAAa,GAAI,MAAM,MAAM,EAAE,OAAO,IAAI,CAAC,aAAa,EAAE,SAAS,CAAC,WAClC,CAAC;AAEhD,6BAA6B;AAC7B,eAAO,MAAM,WAAW,GAAI,MAAM,MAAM,EAAE,OAAO,IAAI,CAAC,aAAa,EAAE,SAAS,CAAC,WAClC,CAAC;AAE9C,8BAA8B;AAC9B,eAAO,MAAM,YAAY,GAAI,MAAM,MAAM,EAAE,OAAO,IAAI,CAAC,aAAa,EAAE,SAAS,CAAC,WAClC,CAAC;AAE/C,4BAA4B;AAC5B,eAAO,MAAM,UAAU,GAAI,MAAM,MAAM,EAAE,OAAO,IAAI,CAAC,aAAa,EAAE,SAAS,CAAC,WAClC,CAAC"}
@@ -1,120 +0,0 @@
1
- /**
2
- * @file button.schema.ts
3
- * @description Zod schemas for Button component options validation.
4
- *
5
- * Provides strict validation schemas for button options including variants,
6
- * sizes, and data attributes. All schemas use .strict()
7
- * to reject unknown properties.
8
- *
9
- * @example
10
- * ```typescript
11
- * import { ButtonOptionsSchema } from '@frontmcp/ui';
12
- *
13
- * // Validate button options
14
- * const result = ButtonOptionsSchema.safeParse({ variant: 'primary' });
15
- * if (result.success) {
16
- * // Use result.data
17
- * }
18
- * ```
19
- *
20
- * @module @frontmcp/ui/components/button.schema
21
- */
22
- import { z } from 'zod';
23
- /**
24
- * Button variant enum schema
25
- */
26
- export declare const ButtonVariantSchema: z.ZodEnum<{
27
- primary: "primary";
28
- secondary: "secondary";
29
- outline: "outline";
30
- ghost: "ghost";
31
- danger: "danger";
32
- success: "success";
33
- link: "link";
34
- }>;
35
- /**
36
- * Button variant type
37
- */
38
- export type ButtonVariant = z.infer<typeof ButtonVariantSchema>;
39
- /**
40
- * Button size enum schema
41
- */
42
- export declare const ButtonSizeSchema: z.ZodEnum<{
43
- xs: "xs";
44
- sm: "sm";
45
- md: "md";
46
- lg: "lg";
47
- xl: "xl";
48
- }>;
49
- /**
50
- * Button size type
51
- */
52
- export type ButtonSize = z.infer<typeof ButtonSizeSchema>;
53
- /**
54
- * Complete button options schema
55
- */
56
- export declare const ButtonOptionsSchema: z.ZodObject<{
57
- variant: z.ZodOptional<z.ZodEnum<{
58
- primary: "primary";
59
- secondary: "secondary";
60
- outline: "outline";
61
- ghost: "ghost";
62
- danger: "danger";
63
- success: "success";
64
- link: "link";
65
- }>>;
66
- size: z.ZodOptional<z.ZodEnum<{
67
- xs: "xs";
68
- sm: "sm";
69
- md: "md";
70
- lg: "lg";
71
- xl: "xl";
72
- }>>;
73
- type: z.ZodOptional<z.ZodEnum<{
74
- button: "button";
75
- submit: "submit";
76
- reset: "reset";
77
- }>>;
78
- disabled: z.ZodOptional<z.ZodBoolean>;
79
- loading: z.ZodOptional<z.ZodBoolean>;
80
- fullWidth: z.ZodOptional<z.ZodBoolean>;
81
- iconBefore: z.ZodOptional<z.ZodString>;
82
- iconAfter: z.ZodOptional<z.ZodString>;
83
- iconOnly: z.ZodOptional<z.ZodBoolean>;
84
- className: z.ZodOptional<z.ZodString>;
85
- id: z.ZodOptional<z.ZodString>;
86
- name: z.ZodOptional<z.ZodString>;
87
- value: z.ZodOptional<z.ZodString>;
88
- href: z.ZodOptional<z.ZodString>;
89
- target: z.ZodOptional<z.ZodEnum<{
90
- _blank: "_blank";
91
- _self: "_self";
92
- }>>;
93
- data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
94
- ariaLabel: z.ZodOptional<z.ZodString>;
95
- }, z.core.$strict>;
96
- /**
97
- * Button options type (derived from schema)
98
- */
99
- export type ButtonOptions = z.infer<typeof ButtonOptionsSchema>;
100
- /**
101
- * Button group options schema
102
- */
103
- export declare const ButtonGroupOptionsSchema: z.ZodObject<{
104
- attached: z.ZodOptional<z.ZodBoolean>;
105
- direction: z.ZodOptional<z.ZodEnum<{
106
- horizontal: "horizontal";
107
- vertical: "vertical";
108
- }>>;
109
- gap: z.ZodOptional<z.ZodEnum<{
110
- sm: "sm";
111
- md: "md";
112
- lg: "lg";
113
- }>>;
114
- className: z.ZodOptional<z.ZodString>;
115
- }, z.core.$strict>;
116
- /**
117
- * Button group options type
118
- */
119
- export type ButtonGroupOptions = z.infer<typeof ButtonGroupOptionsSchema>;
120
- //# sourceMappingURL=button.schema.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"button.schema.d.ts","sourceRoot":"","sources":["../../../src/components/button.schema.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB;;GAEG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;EAAoF,CAAC;AAErH;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE;;GAEG;AACH,eAAO,MAAM,gBAAgB;;;;;;EAAyC,CAAC;AAEvE;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAM1D;;GAEG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAqCrB,CAAC;AAEZ;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAMhE;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;kBAW1B,CAAC;AAEZ;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
@@ -1,53 +0,0 @@
1
- /**
2
- * Card Component
3
- *
4
- * Versatile card component for content containers.
5
- */
6
- /**
7
- * Card variant styles
8
- */
9
- export type CardVariant = 'default' | 'outlined' | 'elevated' | 'filled' | 'ghost';
10
- /**
11
- * Card size options
12
- */
13
- export type CardSize = 'sm' | 'md' | 'lg';
14
- /**
15
- * Card component options
16
- */
17
- export interface CardOptions {
18
- /** Card variant */
19
- variant?: CardVariant;
20
- /** Card size (padding) */
21
- size?: CardSize;
22
- /** Card title */
23
- title?: string;
24
- /** Card subtitle/description */
25
- subtitle?: string;
26
- /** Header actions (HTML) */
27
- headerActions?: string;
28
- /** Footer content (HTML) */
29
- footer?: string;
30
- /** Additional CSS classes */
31
- className?: string;
32
- /** Card ID */
33
- id?: string;
34
- /** Data attributes */
35
- data?: Record<string, string>;
36
- /** Clickable card (adds hover effects) */
37
- clickable?: boolean;
38
- /** Click handler URL */
39
- href?: string;
40
- }
41
- /**
42
- * Build a card component
43
- */
44
- export declare function card(content: string, options?: CardOptions): string;
45
- /**
46
- * Build a card group (horizontal or vertical)
47
- */
48
- export declare function cardGroup(cards: string[], options?: {
49
- direction?: 'horizontal' | 'vertical';
50
- gap?: 'sm' | 'md' | 'lg';
51
- className?: string;
52
- }): string;
53
- //# sourceMappingURL=card.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../../src/components/card.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAQH;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,UAAU,GAAG,UAAU,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEnF;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE1C;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,mBAAmB;IACnB,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,0BAA0B;IAC1B,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,iBAAiB;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gCAAgC;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,4BAA4B;IAC5B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,4BAA4B;IAC5B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,sBAAsB;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC9B,0CAA0C;IAC1C,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,wBAAwB;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AA0CD;;GAEG;AACH,wBAAgB,IAAI,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,GAAE,WAAgB,GAAG,MAAM,CAoDvE;AAED;;GAEG;AACH,wBAAgB,SAAS,CACvB,KAAK,EAAE,MAAM,EAAE,EACf,OAAO,GAAE;IACP,SAAS,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;IACtC,GAAG,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;CACf,GACL,MAAM,CASR"}
@@ -1,93 +0,0 @@
1
- /**
2
- * @file card.schema.ts
3
- * @description Zod schemas for Card component options validation.
4
- *
5
- * Provides strict validation schemas for card options including variants,
6
- * sizes, and clickable behavior.
7
- *
8
- * @example
9
- * ```typescript
10
- * import { CardOptionsSchema } from '@frontmcp/ui';
11
- *
12
- * const result = CardOptionsSchema.safeParse({ variant: 'elevated' });
13
- * ```
14
- *
15
- * @module @frontmcp/ui/components/card.schema
16
- */
17
- import { z } from 'zod';
18
- /**
19
- * Card variant enum schema
20
- */
21
- export declare const CardVariantSchema: z.ZodEnum<{
22
- ghost: "ghost";
23
- default: "default";
24
- outlined: "outlined";
25
- elevated: "elevated";
26
- filled: "filled";
27
- }>;
28
- /**
29
- * Card variant type
30
- */
31
- export type CardVariant = z.infer<typeof CardVariantSchema>;
32
- /**
33
- * Card size enum schema
34
- */
35
- export declare const CardSizeSchema: z.ZodEnum<{
36
- sm: "sm";
37
- md: "md";
38
- lg: "lg";
39
- }>;
40
- /**
41
- * Card size type
42
- */
43
- export type CardSize = z.infer<typeof CardSizeSchema>;
44
- /**
45
- * Complete card options schema
46
- */
47
- export declare const CardOptionsSchema: z.ZodObject<{
48
- variant: z.ZodOptional<z.ZodEnum<{
49
- ghost: "ghost";
50
- default: "default";
51
- outlined: "outlined";
52
- elevated: "elevated";
53
- filled: "filled";
54
- }>>;
55
- size: z.ZodOptional<z.ZodEnum<{
56
- sm: "sm";
57
- md: "md";
58
- lg: "lg";
59
- }>>;
60
- title: z.ZodOptional<z.ZodString>;
61
- subtitle: z.ZodOptional<z.ZodString>;
62
- headerActions: z.ZodOptional<z.ZodString>;
63
- footer: z.ZodOptional<z.ZodString>;
64
- className: z.ZodOptional<z.ZodString>;
65
- id: z.ZodOptional<z.ZodString>;
66
- data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
67
- clickable: z.ZodOptional<z.ZodBoolean>;
68
- href: z.ZodOptional<z.ZodString>;
69
- }, z.core.$strict>;
70
- /**
71
- * Card options type (derived from schema)
72
- */
73
- export type CardOptions = z.infer<typeof CardOptionsSchema>;
74
- /**
75
- * Card group options schema
76
- */
77
- export declare const CardGroupOptionsSchema: z.ZodObject<{
78
- direction: z.ZodOptional<z.ZodEnum<{
79
- horizontal: "horizontal";
80
- vertical: "vertical";
81
- }>>;
82
- gap: z.ZodOptional<z.ZodEnum<{
83
- sm: "sm";
84
- md: "md";
85
- lg: "lg";
86
- }>>;
87
- className: z.ZodOptional<z.ZodString>;
88
- }, z.core.$strict>;
89
- /**
90
- * Card group options type
91
- */
92
- export type CardGroupOptions = z.infer<typeof CardGroupOptionsSchema>;
93
- //# sourceMappingURL=card.schema.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"card.schema.d.ts","sourceRoot":"","sources":["../../../src/components/card.schema.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;;EAAiE,CAAC;AAEhG;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D;;GAEG;AACH,eAAO,MAAM,cAAc;;;;EAA6B,CAAC;AAEzD;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAMtD;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;kBAyBnB,CAAC;AAEZ;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAM5D;;GAEG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;kBASxB,CAAC;AAEZ;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
@@ -1,212 +0,0 @@
1
- /**
2
- * Form Components
3
- *
4
- * Form elements including inputs, selects, textareas, and form layouts.
5
- */
6
- /**
7
- * Input type options
8
- */
9
- export type InputType = 'text' | 'email' | 'password' | 'number' | 'tel' | 'url' | 'search' | 'date' | 'time' | 'datetime-local' | 'hidden';
10
- /**
11
- * Input size options
12
- */
13
- export type InputSize = 'sm' | 'md' | 'lg';
14
- /**
15
- * Input state
16
- */
17
- export type InputState = 'default' | 'error' | 'success' | 'warning';
18
- /**
19
- * Base input options
20
- */
21
- export interface InputOptions {
22
- /** Input type */
23
- type?: InputType;
24
- /** Input name */
25
- name: string;
26
- /** Input ID (defaults to name) */
27
- id?: string;
28
- /** Input value */
29
- value?: string;
30
- /** Placeholder text */
31
- placeholder?: string;
32
- /** Label text */
33
- label?: string;
34
- /** Helper text */
35
- helper?: string;
36
- /** Error message */
37
- error?: string;
38
- /** Input size */
39
- size?: InputSize;
40
- /** Input state */
41
- state?: InputState;
42
- /** Required field */
43
- required?: boolean;
44
- /** Disabled state */
45
- disabled?: boolean;
46
- /** Readonly state */
47
- readonly?: boolean;
48
- /** Autocomplete attribute */
49
- autocomplete?: string;
50
- /** Pattern for validation */
51
- pattern?: string;
52
- /** Min value (for number/date) */
53
- min?: string | number;
54
- /** Max value (for number/date) */
55
- max?: string | number;
56
- /** Step value (for number) */
57
- step?: string | number;
58
- /** Additional CSS classes */
59
- className?: string;
60
- /** Data attributes */
61
- data?: Record<string, string>;
62
- /** Icon before input */
63
- iconBefore?: string;
64
- /** Icon after input */
65
- iconAfter?: string;
66
- }
67
- /**
68
- * Select options
69
- */
70
- export interface SelectOption {
71
- value: string;
72
- label: string;
73
- disabled?: boolean;
74
- selected?: boolean;
75
- }
76
- export interface SelectOptions extends Omit<InputOptions, 'type' | 'pattern' | 'min' | 'max' | 'step' | 'autocomplete'> {
77
- /** Select options */
78
- options: SelectOption[];
79
- /** Multiple selection */
80
- multiple?: boolean;
81
- }
82
- /**
83
- * Textarea options
84
- */
85
- export interface TextareaOptions extends Omit<InputOptions, 'type' | 'pattern' | 'min' | 'max' | 'step'> {
86
- /** Number of rows */
87
- rows?: number;
88
- /** Resize behavior */
89
- resize?: 'none' | 'vertical' | 'horizontal' | 'both';
90
- }
91
- /**
92
- * Checkbox options
93
- */
94
- export interface CheckboxOptions {
95
- /** Input name */
96
- name: string;
97
- /** Input ID */
98
- id?: string;
99
- /** Input value */
100
- value?: string;
101
- /** Label text */
102
- label: string;
103
- /** Checked state */
104
- checked?: boolean;
105
- /** Disabled state */
106
- disabled?: boolean;
107
- /** Helper text */
108
- helper?: string;
109
- /** Error message */
110
- error?: string;
111
- /** Additional CSS classes */
112
- className?: string;
113
- }
114
- /**
115
- * Radio group options
116
- */
117
- export interface RadioGroupOptions {
118
- /** Group name */
119
- name: string;
120
- /** Radio options */
121
- options: Array<{
122
- value: string;
123
- label: string;
124
- disabled?: boolean;
125
- }>;
126
- /** Selected value */
127
- value?: string;
128
- /** Label for the group */
129
- label?: string;
130
- /** Helper text */
131
- helper?: string;
132
- /** Error message */
133
- error?: string;
134
- /** Layout direction */
135
- direction?: 'horizontal' | 'vertical';
136
- /** Additional CSS classes */
137
- className?: string;
138
- }
139
- /**
140
- * Build a text input component
141
- */
142
- export declare function input(options: InputOptions): string;
143
- /**
144
- * Build a select component
145
- */
146
- export declare function select(options: SelectOptions): string;
147
- /**
148
- * Build a textarea component
149
- */
150
- export declare function textarea(options: TextareaOptions): string;
151
- /**
152
- * Build a checkbox component
153
- */
154
- export declare function checkbox(options: CheckboxOptions): string;
155
- /**
156
- * Build a radio group component
157
- */
158
- export declare function radioGroup(options: RadioGroupOptions): string;
159
- /**
160
- * Form wrapper options
161
- */
162
- export interface FormOptions {
163
- /** Form action URL */
164
- action?: string;
165
- /** HTTP method */
166
- method?: 'get' | 'post';
167
- /** Form ID */
168
- id?: string;
169
- /** Additional CSS classes */
170
- className?: string;
171
- /** Prevent default submission */
172
- preventDefault?: boolean;
173
- /** Autocomplete */
174
- autocomplete?: 'on' | 'off';
175
- /** Enctype for file uploads */
176
- enctype?: 'application/x-www-form-urlencoded' | 'multipart/form-data' | 'text/plain';
177
- }
178
- /**
179
- * Build form wrapper
180
- */
181
- export declare function form(content: string, options?: FormOptions): string;
182
- /**
183
- * Build form row (for horizontal forms)
184
- */
185
- export declare function formRow(fields: string[], options?: {
186
- gap?: 'sm' | 'md' | 'lg';
187
- className?: string;
188
- }): string;
189
- /**
190
- * Build form section with title
191
- */
192
- export declare function formSection(content: string, options?: {
193
- title?: string;
194
- description?: string;
195
- className?: string;
196
- }): string;
197
- /**
198
- * Build form actions (submit/cancel buttons area)
199
- */
200
- export declare function formActions(buttons: string[], options?: {
201
- align?: 'left' | 'center' | 'right' | 'between';
202
- className?: string;
203
- }): string;
204
- /**
205
- * Build a hidden input
206
- */
207
- export declare function hiddenInput(name: string, value: string): string;
208
- /**
209
- * Build CSRF token hidden input
210
- */
211
- export declare function csrfInput(token: string): string;
212
- //# sourceMappingURL=form.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"form.d.ts","sourceRoot":"","sources":["../../../src/components/form.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAQH;;GAEG;AACH,MAAM,MAAM,SAAS,GACjB,MAAM,GACN,OAAO,GACP,UAAU,GACV,QAAQ,GACR,KAAK,GACL,KAAK,GACL,QAAQ,GACR,MAAM,GACN,MAAM,GACN,gBAAgB,GAChB,QAAQ,CAAC;AAEb;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE3C;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,CAAC;AAMrE;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,iBAAiB;IACjB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,iBAAiB;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,kCAAkC;IAClC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,kBAAkB;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,uBAAuB;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iBAAiB;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kBAAkB;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,oBAAoB;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,iBAAiB;IACjB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,kBAAkB;IAClB,KAAK,CAAC,EAAE,UAAU,C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