@frontmcp/uipack 0.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (417) hide show
  1. package/CLAUDE.md +246 -0
  2. package/LICENSE +201 -0
  3. package/README.md +150 -0
  4. package/adapters/index.d.ts +13 -0
  5. package/adapters/index.d.ts.map +1 -0
  6. package/adapters/index.js +462 -0
  7. package/adapters/platform-meta.d.ts +166 -0
  8. package/adapters/platform-meta.d.ts.map +1 -0
  9. package/adapters/response-builder.d.ts +108 -0
  10. package/adapters/response-builder.d.ts.map +1 -0
  11. package/adapters/serving-mode.d.ts +107 -0
  12. package/adapters/serving-mode.d.ts.map +1 -0
  13. package/base-template/bridge.d.ts +90 -0
  14. package/base-template/bridge.d.ts.map +1 -0
  15. package/base-template/default-base-template.d.ts +92 -0
  16. package/base-template/default-base-template.d.ts.map +1 -0
  17. package/base-template/index.d.ts +15 -0
  18. package/base-template/index.d.ts.map +1 -0
  19. package/base-template/index.js +1398 -0
  20. package/base-template/polyfills.d.ts +31 -0
  21. package/base-template/polyfills.d.ts.map +1 -0
  22. package/base-template/theme-styles.d.ts +74 -0
  23. package/base-template/theme-styles.d.ts.map +1 -0
  24. package/bridge-runtime/iife-generator.d.ts +62 -0
  25. package/bridge-runtime/iife-generator.d.ts.map +1 -0
  26. package/bridge-runtime/index.d.ts +10 -0
  27. package/bridge-runtime/index.d.ts.map +1 -0
  28. package/bridge-runtime/index.js +883 -0
  29. package/build/cdn-resources.d.ts +243 -0
  30. package/build/cdn-resources.d.ts.map +1 -0
  31. package/build/index.d.ts +295 -0
  32. package/build/index.d.ts.map +1 -0
  33. package/build/index.js +6861 -0
  34. package/build/widget-manifest.d.ts +362 -0
  35. package/build/widget-manifest.d.ts.map +1 -0
  36. package/bundler/cache.d.ts +173 -0
  37. package/bundler/cache.d.ts.map +1 -0
  38. package/bundler/file-cache/component-builder.d.ts +167 -0
  39. package/bundler/file-cache/component-builder.d.ts.map +1 -0
  40. package/bundler/file-cache/hash-calculator.d.ts +155 -0
  41. package/bundler/file-cache/hash-calculator.d.ts.map +1 -0
  42. package/bundler/file-cache/index.d.ts +12 -0
  43. package/bundler/file-cache/index.d.ts.map +1 -0
  44. package/bundler/file-cache/storage/filesystem.d.ts +149 -0
  45. package/bundler/file-cache/storage/filesystem.d.ts.map +1 -0
  46. package/bundler/file-cache/storage/index.d.ts +11 -0
  47. package/bundler/file-cache/storage/index.d.ts.map +1 -0
  48. package/bundler/file-cache/storage/interface.d.ts +152 -0
  49. package/bundler/file-cache/storage/interface.d.ts.map +1 -0
  50. package/bundler/file-cache/storage/redis.d.ts +139 -0
  51. package/bundler/file-cache/storage/redis.d.ts.map +1 -0
  52. package/bundler/index.d.ts +35 -0
  53. package/bundler/index.d.ts.map +1 -0
  54. package/bundler/index.js +2947 -0
  55. package/bundler/sandbox/enclave-adapter.d.ts +121 -0
  56. package/bundler/sandbox/enclave-adapter.d.ts.map +1 -0
  57. package/bundler/sandbox/executor.d.ts +14 -0
  58. package/bundler/sandbox/executor.d.ts.map +1 -0
  59. package/bundler/sandbox/policy.d.ts +62 -0
  60. package/bundler/sandbox/policy.d.ts.map +1 -0
  61. package/bundler/types.d.ts +702 -0
  62. package/bundler/types.d.ts.map +1 -0
  63. package/dependency/cdn-registry.d.ts +98 -0
  64. package/dependency/cdn-registry.d.ts.map +1 -0
  65. package/dependency/import-map.d.ts +186 -0
  66. package/dependency/import-map.d.ts.map +1 -0
  67. package/dependency/import-parser.d.ts +82 -0
  68. package/dependency/import-parser.d.ts.map +1 -0
  69. package/dependency/index.d.ts +17 -0
  70. package/dependency/index.d.ts.map +1 -0
  71. package/dependency/index.js +3215 -0
  72. package/dependency/resolver.d.ts +164 -0
  73. package/dependency/resolver.d.ts.map +1 -0
  74. package/dependency/schemas.d.ts +486 -0
  75. package/dependency/schemas.d.ts.map +1 -0
  76. package/dependency/template-loader.d.ts +204 -0
  77. package/dependency/template-loader.d.ts.map +1 -0
  78. package/dependency/template-processor.d.ts +118 -0
  79. package/dependency/template-processor.d.ts.map +1 -0
  80. package/dependency/types.d.ts +739 -0
  81. package/dependency/types.d.ts.map +1 -0
  82. package/esm/adapters/index.d.ts +13 -0
  83. package/esm/adapters/index.d.ts.map +1 -0
  84. package/esm/adapters/index.js +427 -0
  85. package/esm/adapters/platform-meta.d.ts +166 -0
  86. package/esm/adapters/platform-meta.d.ts.map +1 -0
  87. package/esm/adapters/response-builder.d.ts +108 -0
  88. package/esm/adapters/response-builder.d.ts.map +1 -0
  89. package/esm/adapters/serving-mode.d.ts +107 -0
  90. package/esm/adapters/serving-mode.d.ts.map +1 -0
  91. package/esm/base-template/bridge.d.ts +90 -0
  92. package/esm/base-template/bridge.d.ts.map +1 -0
  93. package/esm/base-template/default-base-template.d.ts +92 -0
  94. package/esm/base-template/default-base-template.d.ts.map +1 -0
  95. package/esm/base-template/index.d.ts +15 -0
  96. package/esm/base-template/index.d.ts.map +1 -0
  97. package/esm/base-template/index.js +1364 -0
  98. package/esm/base-template/polyfills.d.ts +31 -0
  99. package/esm/base-template/polyfills.d.ts.map +1 -0
  100. package/esm/base-template/theme-styles.d.ts +74 -0
  101. package/esm/base-template/theme-styles.d.ts.map +1 -0
  102. package/esm/bridge-runtime/iife-generator.d.ts +62 -0
  103. package/esm/bridge-runtime/iife-generator.d.ts.map +1 -0
  104. package/esm/bridge-runtime/index.d.ts +10 -0
  105. package/esm/bridge-runtime/index.d.ts.map +1 -0
  106. package/esm/bridge-runtime/index.js +853 -0
  107. package/esm/build/cdn-resources.d.ts +243 -0
  108. package/esm/build/cdn-resources.d.ts.map +1 -0
  109. package/esm/build/index.d.ts +295 -0
  110. package/esm/build/index.d.ts.map +1 -0
  111. package/esm/build/index.js +6786 -0
  112. package/esm/build/widget-manifest.d.ts +362 -0
  113. package/esm/build/widget-manifest.d.ts.map +1 -0
  114. package/esm/bundler/cache.d.ts +173 -0
  115. package/esm/bundler/cache.d.ts.map +1 -0
  116. package/esm/bundler/file-cache/component-builder.d.ts +167 -0
  117. package/esm/bundler/file-cache/component-builder.d.ts.map +1 -0
  118. package/esm/bundler/file-cache/hash-calculator.d.ts +155 -0
  119. package/esm/bundler/file-cache/hash-calculator.d.ts.map +1 -0
  120. package/esm/bundler/file-cache/index.d.ts +12 -0
  121. package/esm/bundler/file-cache/index.d.ts.map +1 -0
  122. package/esm/bundler/file-cache/storage/filesystem.d.ts +149 -0
  123. package/esm/bundler/file-cache/storage/filesystem.d.ts.map +1 -0
  124. package/esm/bundler/file-cache/storage/index.d.ts +11 -0
  125. package/esm/bundler/file-cache/storage/index.d.ts.map +1 -0
  126. package/esm/bundler/file-cache/storage/interface.d.ts +152 -0
  127. package/esm/bundler/file-cache/storage/interface.d.ts.map +1 -0
  128. package/esm/bundler/file-cache/storage/redis.d.ts +139 -0
  129. package/esm/bundler/file-cache/storage/redis.d.ts.map +1 -0
  130. package/esm/bundler/index.d.ts +35 -0
  131. package/esm/bundler/index.d.ts.map +1 -0
  132. package/esm/bundler/index.js +2882 -0
  133. package/esm/bundler/sandbox/enclave-adapter.d.ts +121 -0
  134. package/esm/bundler/sandbox/enclave-adapter.d.ts.map +1 -0
  135. package/esm/bundler/sandbox/executor.d.ts +14 -0
  136. package/esm/bundler/sandbox/executor.d.ts.map +1 -0
  137. package/esm/bundler/sandbox/policy.d.ts +62 -0
  138. package/esm/bundler/sandbox/policy.d.ts.map +1 -0
  139. package/esm/bundler/types.d.ts +702 -0
  140. package/esm/bundler/types.d.ts.map +1 -0
  141. package/esm/dependency/cdn-registry.d.ts +98 -0
  142. package/esm/dependency/cdn-registry.d.ts.map +1 -0
  143. package/esm/dependency/import-map.d.ts +186 -0
  144. package/esm/dependency/import-map.d.ts.map +1 -0
  145. package/esm/dependency/import-parser.d.ts +82 -0
  146. package/esm/dependency/import-parser.d.ts.map +1 -0
  147. package/esm/dependency/index.d.ts +17 -0
  148. package/esm/dependency/index.d.ts.map +1 -0
  149. package/esm/dependency/index.js +3096 -0
  150. package/esm/dependency/resolver.d.ts +164 -0
  151. package/esm/dependency/resolver.d.ts.map +1 -0
  152. package/esm/dependency/schemas.d.ts +486 -0
  153. package/esm/dependency/schemas.d.ts.map +1 -0
  154. package/esm/dependency/template-loader.d.ts +204 -0
  155. package/esm/dependency/template-loader.d.ts.map +1 -0
  156. package/esm/dependency/template-processor.d.ts +118 -0
  157. package/esm/dependency/template-processor.d.ts.map +1 -0
  158. package/esm/dependency/types.d.ts +739 -0
  159. package/esm/dependency/types.d.ts.map +1 -0
  160. package/esm/handlebars/expression-extractor.d.ts +147 -0
  161. package/esm/handlebars/expression-extractor.d.ts.map +1 -0
  162. package/esm/handlebars/helpers.d.ts +339 -0
  163. package/esm/handlebars/helpers.d.ts.map +1 -0
  164. package/esm/handlebars/index.d.ts +195 -0
  165. package/esm/handlebars/index.d.ts.map +1 -0
  166. package/esm/handlebars/index.js +587 -0
  167. package/esm/index.d.ts +50 -0
  168. package/esm/index.d.ts.map +1 -0
  169. package/esm/index.js +12434 -0
  170. package/esm/package.json +68 -0
  171. package/esm/registry/index.d.ts +46 -0
  172. package/esm/registry/index.d.ts.map +1 -0
  173. package/esm/registry/index.js +6237 -0
  174. package/esm/registry/render-template.d.ts +91 -0
  175. package/esm/registry/render-template.d.ts.map +1 -0
  176. package/esm/registry/tool-ui.registry.d.ts +294 -0
  177. package/esm/registry/tool-ui.registry.d.ts.map +1 -0
  178. package/esm/registry/uri-utils.d.ts +56 -0
  179. package/esm/registry/uri-utils.d.ts.map +1 -0
  180. package/esm/renderers/cache.d.ts +145 -0
  181. package/esm/renderers/cache.d.ts.map +1 -0
  182. package/esm/renderers/html.renderer.d.ts +123 -0
  183. package/esm/renderers/html.renderer.d.ts.map +1 -0
  184. package/esm/renderers/index.d.ts +36 -0
  185. package/esm/renderers/index.d.ts.map +1 -0
  186. package/esm/renderers/index.js +1654 -0
  187. package/esm/renderers/mdx.renderer.d.ts +120 -0
  188. package/esm/renderers/mdx.renderer.d.ts.map +1 -0
  189. package/esm/renderers/registry.d.ts +133 -0
  190. package/esm/renderers/registry.d.ts.map +1 -0
  191. package/esm/renderers/types.d.ts +342 -0
  192. package/esm/renderers/types.d.ts.map +1 -0
  193. package/esm/renderers/utils/detect.d.ts +107 -0
  194. package/esm/renderers/utils/detect.d.ts.map +1 -0
  195. package/esm/renderers/utils/hash.d.ts +40 -0
  196. package/esm/renderers/utils/hash.d.ts.map +1 -0
  197. package/esm/renderers/utils/index.d.ts +9 -0
  198. package/esm/renderers/utils/index.d.ts.map +1 -0
  199. package/esm/renderers/utils/transpiler.d.ts +89 -0
  200. package/esm/renderers/utils/transpiler.d.ts.map +1 -0
  201. package/esm/runtime/adapters/html.adapter.d.ts +59 -0
  202. package/esm/runtime/adapters/html.adapter.d.ts.map +1 -0
  203. package/esm/runtime/adapters/index.d.ts +26 -0
  204. package/esm/runtime/adapters/index.d.ts.map +1 -0
  205. package/esm/runtime/adapters/mdx.adapter.d.ts +73 -0
  206. package/esm/runtime/adapters/mdx.adapter.d.ts.map +1 -0
  207. package/esm/runtime/adapters/types.d.ts +95 -0
  208. package/esm/runtime/adapters/types.d.ts.map +1 -0
  209. package/esm/runtime/csp.d.ts +48 -0
  210. package/esm/runtime/csp.d.ts.map +1 -0
  211. package/esm/runtime/index.d.ts +17 -0
  212. package/esm/runtime/index.d.ts.map +1 -0
  213. package/esm/runtime/index.js +4976 -0
  214. package/esm/runtime/mcp-bridge.d.ts +101 -0
  215. package/esm/runtime/mcp-bridge.d.ts.map +1 -0
  216. package/esm/runtime/renderer-runtime.d.ts +133 -0
  217. package/esm/runtime/renderer-runtime.d.ts.map +1 -0
  218. package/esm/runtime/sanitizer.d.ts +172 -0
  219. package/esm/runtime/sanitizer.d.ts.map +1 -0
  220. package/esm/runtime/types.d.ts +415 -0
  221. package/esm/runtime/types.d.ts.map +1 -0
  222. package/esm/runtime/wrapper.d.ts +421 -0
  223. package/esm/runtime/wrapper.d.ts.map +1 -0
  224. package/esm/styles/index.d.ts +8 -0
  225. package/esm/styles/index.d.ts.map +1 -0
  226. package/esm/styles/index.js +171 -0
  227. package/esm/styles/variants.d.ts +51 -0
  228. package/esm/styles/variants.d.ts.map +1 -0
  229. package/esm/theme/cdn.d.ts +195 -0
  230. package/esm/theme/cdn.d.ts.map +1 -0
  231. package/esm/theme/index.d.ts +18 -0
  232. package/esm/theme/index.d.ts.map +1 -0
  233. package/esm/theme/index.js +700 -0
  234. package/esm/theme/platforms.d.ts +107 -0
  235. package/esm/theme/platforms.d.ts.map +1 -0
  236. package/esm/theme/presets/github-openai.d.ts +50 -0
  237. package/esm/theme/presets/github-openai.d.ts.map +1 -0
  238. package/esm/theme/presets/index.d.ts +11 -0
  239. package/esm/theme/presets/index.d.ts.map +1 -0
  240. package/esm/theme/theme.d.ts +396 -0
  241. package/esm/theme/theme.d.ts.map +1 -0
  242. package/esm/tool-template/builder.d.ts +213 -0
  243. package/esm/tool-template/builder.d.ts.map +1 -0
  244. package/esm/tool-template/index.d.ts +16 -0
  245. package/esm/tool-template/index.d.ts.map +1 -0
  246. package/esm/tool-template/index.js +3518 -0
  247. package/esm/types/index.d.ts +14 -0
  248. package/esm/types/index.d.ts.map +1 -0
  249. package/esm/types/index.js +75 -0
  250. package/esm/types/ui-config.d.ts +641 -0
  251. package/esm/types/ui-config.d.ts.map +1 -0
  252. package/esm/types/ui-runtime.d.ts +1008 -0
  253. package/esm/types/ui-runtime.d.ts.map +1 -0
  254. package/esm/typings/cache/cache-adapter.d.ts +125 -0
  255. package/esm/typings/cache/cache-adapter.d.ts.map +1 -0
  256. package/esm/typings/cache/index.d.ts +10 -0
  257. package/esm/typings/cache/index.d.ts.map +1 -0
  258. package/esm/typings/cache/memory-cache.d.ts +92 -0
  259. package/esm/typings/cache/memory-cache.d.ts.map +1 -0
  260. package/esm/typings/dts-parser.d.ts +90 -0
  261. package/esm/typings/dts-parser.d.ts.map +1 -0
  262. package/esm/typings/index.d.ts +48 -0
  263. package/esm/typings/index.d.ts.map +1 -0
  264. package/esm/typings/index.js +812 -0
  265. package/esm/typings/schemas.d.ts +232 -0
  266. package/esm/typings/schemas.d.ts.map +1 -0
  267. package/esm/typings/type-fetcher.d.ts +89 -0
  268. package/esm/typings/type-fetcher.d.ts.map +1 -0
  269. package/esm/typings/types.d.ts +320 -0
  270. package/esm/typings/types.d.ts.map +1 -0
  271. package/esm/utils/escape-html.d.ts +58 -0
  272. package/esm/utils/escape-html.d.ts.map +1 -0
  273. package/esm/utils/index.d.ts +10 -0
  274. package/esm/utils/index.d.ts.map +1 -0
  275. package/esm/utils/index.js +40 -0
  276. package/esm/utils/safe-stringify.d.ts +30 -0
  277. package/esm/utils/safe-stringify.d.ts.map +1 -0
  278. package/esm/validation/error-box.d.ts +56 -0
  279. package/esm/validation/error-box.d.ts.map +1 -0
  280. package/esm/validation/index.d.ts +13 -0
  281. package/esm/validation/index.d.ts.map +1 -0
  282. package/esm/validation/index.js +542 -0
  283. package/esm/validation/schema-paths.d.ts +118 -0
  284. package/esm/validation/schema-paths.d.ts.map +1 -0
  285. package/esm/validation/template-validator.d.ts +143 -0
  286. package/esm/validation/template-validator.d.ts.map +1 -0
  287. package/esm/validation/wrapper.d.ts +97 -0
  288. package/esm/validation/wrapper.d.ts.map +1 -0
  289. package/handlebars/expression-extractor.d.ts +147 -0
  290. package/handlebars/expression-extractor.d.ts.map +1 -0
  291. package/handlebars/helpers.d.ts +339 -0
  292. package/handlebars/helpers.d.ts.map +1 -0
  293. package/handlebars/index.d.ts +195 -0
  294. package/handlebars/index.d.ts.map +1 -0
  295. package/handlebars/index.js +666 -0
  296. package/index.d.ts +50 -0
  297. package/index.d.ts.map +1 -0
  298. package/index.js +12683 -0
  299. package/package.json +66 -0
  300. package/registry/index.d.ts +46 -0
  301. package/registry/index.d.ts.map +1 -0
  302. package/registry/index.js +6280 -0
  303. package/registry/render-template.d.ts +91 -0
  304. package/registry/render-template.d.ts.map +1 -0
  305. package/registry/tool-ui.registry.d.ts +294 -0
  306. package/registry/tool-ui.registry.d.ts.map +1 -0
  307. package/registry/uri-utils.d.ts +56 -0
  308. package/registry/uri-utils.d.ts.map +1 -0
  309. package/renderers/cache.d.ts +145 -0
  310. package/renderers/cache.d.ts.map +1 -0
  311. package/renderers/html.renderer.d.ts +123 -0
  312. package/renderers/html.renderer.d.ts.map +1 -0
  313. package/renderers/index.d.ts +36 -0
  314. package/renderers/index.d.ts.map +1 -0
  315. package/renderers/index.js +1706 -0
  316. package/renderers/mdx.renderer.d.ts +120 -0
  317. package/renderers/mdx.renderer.d.ts.map +1 -0
  318. package/renderers/registry.d.ts +133 -0
  319. package/renderers/registry.d.ts.map +1 -0
  320. package/renderers/types.d.ts +342 -0
  321. package/renderers/types.d.ts.map +1 -0
  322. package/renderers/utils/detect.d.ts +107 -0
  323. package/renderers/utils/detect.d.ts.map +1 -0
  324. package/renderers/utils/hash.d.ts +40 -0
  325. package/renderers/utils/hash.d.ts.map +1 -0
  326. package/renderers/utils/index.d.ts +9 -0
  327. package/renderers/utils/index.d.ts.map +1 -0
  328. package/renderers/utils/transpiler.d.ts +89 -0
  329. package/renderers/utils/transpiler.d.ts.map +1 -0
  330. package/runtime/adapters/html.adapter.d.ts +59 -0
  331. package/runtime/adapters/html.adapter.d.ts.map +1 -0
  332. package/runtime/adapters/index.d.ts +26 -0
  333. package/runtime/adapters/index.d.ts.map +1 -0
  334. package/runtime/adapters/mdx.adapter.d.ts +73 -0
  335. package/runtime/adapters/mdx.adapter.d.ts.map +1 -0
  336. package/runtime/adapters/types.d.ts +95 -0
  337. package/runtime/adapters/types.d.ts.map +1 -0
  338. package/runtime/csp.d.ts +48 -0
  339. package/runtime/csp.d.ts.map +1 -0
  340. package/runtime/index.d.ts +17 -0
  341. package/runtime/index.d.ts.map +1 -0
  342. package/runtime/index.js +5052 -0
  343. package/runtime/mcp-bridge.d.ts +101 -0
  344. package/runtime/mcp-bridge.d.ts.map +1 -0
  345. package/runtime/renderer-runtime.d.ts +133 -0
  346. package/runtime/renderer-runtime.d.ts.map +1 -0
  347. package/runtime/sanitizer.d.ts +172 -0
  348. package/runtime/sanitizer.d.ts.map +1 -0
  349. package/runtime/types.d.ts +415 -0
  350. package/runtime/types.d.ts.map +1 -0
  351. package/runtime/wrapper.d.ts +421 -0
  352. package/runtime/wrapper.d.ts.map +1 -0
  353. package/styles/index.d.ts +8 -0
  354. package/styles/index.d.ts.map +1 -0
  355. package/styles/index.js +222 -0
  356. package/styles/variants.d.ts +51 -0
  357. package/styles/variants.d.ts.map +1 -0
  358. package/theme/cdn.d.ts +195 -0
  359. package/theme/cdn.d.ts.map +1 -0
  360. package/theme/index.d.ts +18 -0
  361. package/theme/index.d.ts.map +1 -0
  362. package/theme/index.js +757 -0
  363. package/theme/platforms.d.ts +107 -0
  364. package/theme/platforms.d.ts.map +1 -0
  365. package/theme/presets/github-openai.d.ts +50 -0
  366. package/theme/presets/github-openai.d.ts.map +1 -0
  367. package/theme/presets/index.d.ts +11 -0
  368. package/theme/presets/index.d.ts.map +1 -0
  369. package/theme/theme.d.ts +396 -0
  370. package/theme/theme.d.ts.map +1 -0
  371. package/tool-template/builder.d.ts +213 -0
  372. package/tool-template/builder.d.ts.map +1 -0
  373. package/tool-template/index.d.ts +16 -0
  374. package/tool-template/index.d.ts.map +1 -0
  375. package/tool-template/index.js +3562 -0
  376. package/types/index.d.ts +14 -0
  377. package/types/index.d.ts.map +1 -0
  378. package/types/index.js +108 -0
  379. package/types/ui-config.d.ts +641 -0
  380. package/types/ui-config.d.ts.map +1 -0
  381. package/types/ui-runtime.d.ts +1008 -0
  382. package/types/ui-runtime.d.ts.map +1 -0
  383. package/typings/cache/cache-adapter.d.ts +125 -0
  384. package/typings/cache/cache-adapter.d.ts.map +1 -0
  385. package/typings/cache/index.d.ts +10 -0
  386. package/typings/cache/index.d.ts.map +1 -0
  387. package/typings/cache/memory-cache.d.ts +92 -0
  388. package/typings/cache/memory-cache.d.ts.map +1 -0
  389. package/typings/dts-parser.d.ts +90 -0
  390. package/typings/dts-parser.d.ts.map +1 -0
  391. package/typings/index.d.ts +48 -0
  392. package/typings/index.d.ts.map +1 -0
  393. package/typings/index.js +868 -0
  394. package/typings/schemas.d.ts +232 -0
  395. package/typings/schemas.d.ts.map +1 -0
  396. package/typings/type-fetcher.d.ts +89 -0
  397. package/typings/type-fetcher.d.ts.map +1 -0
  398. package/typings/types.d.ts +320 -0
  399. package/typings/types.d.ts.map +1 -0
  400. package/utils/escape-html.d.ts +58 -0
  401. package/utils/escape-html.d.ts.map +1 -0
  402. package/utils/index.d.ts +10 -0
  403. package/utils/index.d.ts.map +1 -0
  404. package/utils/index.js +70 -0
  405. package/utils/safe-stringify.d.ts +30 -0
  406. package/utils/safe-stringify.d.ts.map +1 -0
  407. package/validation/error-box.d.ts +56 -0
  408. package/validation/error-box.d.ts.map +1 -0
  409. package/validation/index.d.ts +13 -0
  410. package/validation/index.d.ts.map +1 -0
  411. package/validation/index.js +583 -0
  412. package/validation/schema-paths.d.ts +118 -0
  413. package/validation/schema-paths.d.ts.map +1 -0
  414. package/validation/template-validator.d.ts +143 -0
  415. package/validation/template-validator.d.ts.map +1 -0
  416. package/validation/wrapper.d.ts +97 -0
  417. package/validation/wrapper.d.ts.map +1 -0
@@ -0,0 +1,666 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+
30
+ // libs/uipack/src/handlebars/index.ts
31
+ var handlebars_exports = {};
32
+ __export(handlebars_exports, {
33
+ HandlebarsRenderer: () => HandlebarsRenderer,
34
+ and: () => and,
35
+ builtinHelpers: () => builtinHelpers,
36
+ capitalize: () => capitalize,
37
+ classNames: () => classNames,
38
+ containsHandlebars: () => containsHandlebars,
39
+ createHandlebarsRenderer: () => createHandlebarsRenderer,
40
+ defaultValue: () => defaultValue,
41
+ eq: () => eq,
42
+ escapeHtml: () => escapeHtml,
43
+ extractAll: () => extractAll,
44
+ extractExpressions: () => extractExpressions,
45
+ extractInputPaths: () => extractInputPaths,
46
+ extractOutputPaths: () => extractOutputPaths,
47
+ extractStructuredContentPaths: () => extractStructuredContentPaths,
48
+ extractVariablePaths: () => extractVariablePaths,
49
+ first: () => first,
50
+ formatCurrency: () => formatCurrency,
51
+ formatDate: () => formatDate,
52
+ formatNumber: () => formatNumber,
53
+ getExpressionAt: () => getExpressionAt,
54
+ gt: () => gt,
55
+ gte: () => gte,
56
+ hasVariablePaths: () => hasVariablePaths,
57
+ includes: () => includes,
58
+ isHandlebarsAvailable: () => isHandlebarsAvailable,
59
+ join: () => join,
60
+ json: () => json,
61
+ jsonEmbed: () => jsonEmbed,
62
+ last: () => last,
63
+ length: () => length,
64
+ lowercase: () => lowercase,
65
+ lt: () => lt,
66
+ lte: () => lte,
67
+ ne: () => ne,
68
+ normalizePath: () => normalizePath,
69
+ not: () => not,
70
+ or: () => or,
71
+ renderTemplate: () => renderTemplate,
72
+ resetUniqueIdCounter: () => resetUniqueIdCounter,
73
+ truncate: () => truncate,
74
+ uniqueId: () => uniqueId,
75
+ uppercase: () => uppercase
76
+ });
77
+ module.exports = __toCommonJS(handlebars_exports);
78
+
79
+ // libs/uipack/src/utils/escape-html.ts
80
+ function escapeHtml(str) {
81
+ if (str === null || str === void 0) {
82
+ return "";
83
+ }
84
+ const s = String(str);
85
+ return s.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#39;").replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029");
86
+ }
87
+
88
+ // libs/uipack/src/handlebars/helpers.ts
89
+ function formatDate(date, format) {
90
+ if (date === null || date === void 0) {
91
+ return "";
92
+ }
93
+ let dateObj;
94
+ if (date instanceof Date) {
95
+ dateObj = date;
96
+ } else if (typeof date === "string" || typeof date === "number") {
97
+ dateObj = new Date(date);
98
+ } else {
99
+ return String(date);
100
+ }
101
+ if (isNaN(dateObj.getTime())) {
102
+ return String(date);
103
+ }
104
+ const options = {};
105
+ switch (format) {
106
+ case "short":
107
+ options.dateStyle = "short";
108
+ break;
109
+ case "medium":
110
+ options.dateStyle = "medium";
111
+ break;
112
+ case "long":
113
+ options.dateStyle = "long";
114
+ break;
115
+ case "full":
116
+ options.dateStyle = "full";
117
+ break;
118
+ case "time":
119
+ options.timeStyle = "short";
120
+ break;
121
+ case "datetime":
122
+ options.dateStyle = "medium";
123
+ options.timeStyle = "short";
124
+ break;
125
+ case "iso":
126
+ return dateObj.toISOString();
127
+ case "relative":
128
+ return formatRelativeDate(dateObj);
129
+ default:
130
+ options.dateStyle = "medium";
131
+ }
132
+ return new Intl.DateTimeFormat("en-US", options).format(dateObj);
133
+ }
134
+ function formatRelativeDate(date) {
135
+ const now = /* @__PURE__ */ new Date();
136
+ const diffMs = now.getTime() - date.getTime();
137
+ const diffSecs = Math.floor(diffMs / 1e3);
138
+ const diffMins = Math.floor(diffSecs / 60);
139
+ const diffHours = Math.floor(diffMins / 60);
140
+ const diffDays = Math.floor(diffHours / 24);
141
+ if (diffSecs < 60) {
142
+ return "just now";
143
+ } else if (diffMins < 60) {
144
+ return `${diffMins} minute${diffMins === 1 ? "" : "s"} ago`;
145
+ } else if (diffHours < 24) {
146
+ return `${diffHours} hour${diffHours === 1 ? "" : "s"} ago`;
147
+ } else if (diffDays < 7) {
148
+ return `${diffDays} day${diffDays === 1 ? "" : "s"} ago`;
149
+ } else {
150
+ return formatDate(date, "medium");
151
+ }
152
+ }
153
+ function formatCurrency(amount, currency) {
154
+ if (amount === null || amount === void 0) {
155
+ return "";
156
+ }
157
+ const num = typeof amount === "number" ? amount : parseFloat(String(amount));
158
+ if (isNaN(num)) {
159
+ return String(amount);
160
+ }
161
+ return new Intl.NumberFormat("en-US", {
162
+ style: "currency",
163
+ currency: typeof currency === "string" ? currency : "USD"
164
+ }).format(num);
165
+ }
166
+ function formatNumber(value, decimals) {
167
+ if (value === null || value === void 0) {
168
+ return "";
169
+ }
170
+ const num = typeof value === "number" ? value : parseFloat(String(value));
171
+ if (isNaN(num)) {
172
+ return String(value);
173
+ }
174
+ const options = {};
175
+ if (typeof decimals === "number") {
176
+ options.minimumFractionDigits = decimals;
177
+ options.maximumFractionDigits = decimals;
178
+ }
179
+ return new Intl.NumberFormat("en-US", options).format(num);
180
+ }
181
+ function jsonEmbed(data) {
182
+ const json2 = JSON.stringify(data ?? null);
183
+ return json2.replace(/</g, "\\u003c").replace(/>/g, "\\u003e").replace(/&/g, "\\u0026").replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029");
184
+ }
185
+ function json(data, pretty) {
186
+ return JSON.stringify(data ?? null, null, pretty ? 2 : void 0);
187
+ }
188
+ function eq(a, b) {
189
+ return a === b;
190
+ }
191
+ function ne(a, b) {
192
+ return a !== b;
193
+ }
194
+ function gt(a, b) {
195
+ return Number(a) > Number(b);
196
+ }
197
+ function gte(a, b) {
198
+ return Number(a) >= Number(b);
199
+ }
200
+ function lt(a, b) {
201
+ return Number(a) < Number(b);
202
+ }
203
+ function lte(a, b) {
204
+ return Number(a) <= Number(b);
205
+ }
206
+ function and(a, b) {
207
+ return Boolean(a) && Boolean(b);
208
+ }
209
+ function or(a, b) {
210
+ return Boolean(a) || Boolean(b);
211
+ }
212
+ function not(value) {
213
+ return !value;
214
+ }
215
+ function first(arr) {
216
+ if (!Array.isArray(arr)) return void 0;
217
+ return arr[0];
218
+ }
219
+ function last(arr) {
220
+ if (!Array.isArray(arr)) return void 0;
221
+ return arr[arr.length - 1];
222
+ }
223
+ function length(value) {
224
+ if (Array.isArray(value)) return value.length;
225
+ if (typeof value === "string") return value.length;
226
+ return 0;
227
+ }
228
+ function includes(arr, value) {
229
+ if (!Array.isArray(arr)) return false;
230
+ return arr.includes(value);
231
+ }
232
+ function join(arr, separator) {
233
+ if (!Array.isArray(arr)) return "";
234
+ return arr.join(typeof separator === "string" ? separator : ", ");
235
+ }
236
+ function uppercase(str) {
237
+ return String(str ?? "").toUpperCase();
238
+ }
239
+ function lowercase(str) {
240
+ return String(str ?? "").toLowerCase();
241
+ }
242
+ function capitalize(str) {
243
+ const s = String(str ?? "");
244
+ return s.charAt(0).toUpperCase() + s.slice(1).toLowerCase();
245
+ }
246
+ function truncate(str, maxLength, suffix) {
247
+ const s = String(str ?? "");
248
+ const len = typeof maxLength === "number" ? maxLength : 50;
249
+ const suf = typeof suffix === "string" ? suffix : "...";
250
+ if (s.length <= len) return s;
251
+ return s.slice(0, len - suf.length) + suf;
252
+ }
253
+ function defaultValue(value, defaultValue2) {
254
+ return value || defaultValue2;
255
+ }
256
+ var idCounter = 0;
257
+ function uniqueId(prefix) {
258
+ const id = ++idCounter;
259
+ return prefix ? `${prefix}-${id}` : `id-${id}`;
260
+ }
261
+ function resetUniqueIdCounter() {
262
+ idCounter = 0;
263
+ }
264
+ function classNames(...classes) {
265
+ return classes.filter(Boolean).map(String).join(" ");
266
+ }
267
+ var builtinHelpers = {
268
+ // Escaping
269
+ escapeHtml,
270
+ // Formatting
271
+ formatDate,
272
+ formatCurrency,
273
+ formatNumber,
274
+ json,
275
+ jsonEmbed,
276
+ // Comparison
277
+ eq,
278
+ ne,
279
+ gt,
280
+ gte,
281
+ lt,
282
+ lte,
283
+ // Logical
284
+ and,
285
+ or,
286
+ not,
287
+ // Array
288
+ first,
289
+ last,
290
+ length,
291
+ includes,
292
+ join,
293
+ // String
294
+ uppercase,
295
+ lowercase,
296
+ capitalize,
297
+ truncate,
298
+ // Utility
299
+ default: defaultValue,
300
+ uniqueId,
301
+ classNames
302
+ };
303
+
304
+ // libs/uipack/src/handlebars/expression-extractor.ts
305
+ var EXPRESSION_REGEX = /\{\{\{?(?!!)(#|\/)?([^}]+?)\}?\}\}/g;
306
+ var PATH_REGEX = /\b(output|input|structuredContent)(\.[a-zA-Z_$][a-zA-Z0-9_$]*|\.\[[^\]]+\])+/g;
307
+ var KEYWORDS = /* @__PURE__ */ new Set(["this", "else", "@index", "@key", "@first", "@last", "@root"]);
308
+ function extractExpressions(template) {
309
+ const expressions = [];
310
+ const lines = template.split("\n");
311
+ const positionMap = buildPositionMap(template);
312
+ let match;
313
+ EXPRESSION_REGEX.lastIndex = 0;
314
+ while ((match = EXPRESSION_REGEX.exec(template)) !== null) {
315
+ const fullExpression = match[0];
316
+ const prefix = match[1];
317
+ const content = match[2].trim();
318
+ const position = positionMap.get(match.index) ?? { line: 1, column: 1 };
319
+ let type = "variable";
320
+ let helperName;
321
+ if (prefix === "/") {
322
+ type = "block-close";
323
+ helperName = content;
324
+ } else if (prefix === "#") {
325
+ type = "block";
326
+ const parts = content.split(/\s+/);
327
+ helperName = parts[0];
328
+ } else {
329
+ const parts = content.split(/\s+/);
330
+ if (parts.length > 1 && !content.startsWith("(")) {
331
+ const firstToken = parts[0];
332
+ if (!firstToken.includes(".") && !KEYWORDS.has(firstToken)) {
333
+ type = "helper";
334
+ helperName = firstToken;
335
+ }
336
+ }
337
+ }
338
+ const paths = extractPathsFromContent(content);
339
+ for (const path of paths) {
340
+ expressions.push({
341
+ path,
342
+ fullExpression,
343
+ line: position.line,
344
+ column: position.column,
345
+ type,
346
+ helperName
347
+ });
348
+ }
349
+ if (paths.length === 0 && type === "variable") {
350
+ const cleanContent = content.trim();
351
+ if (!KEYWORDS.has(cleanContent) && !cleanContent.includes(" ") && !cleanContent.startsWith("(")) {
352
+ }
353
+ }
354
+ }
355
+ return expressions;
356
+ }
357
+ function extractPathsFromContent(content) {
358
+ const paths = [];
359
+ let match;
360
+ const regex = new RegExp(PATH_REGEX.source, "g");
361
+ while ((match = regex.exec(content)) !== null) {
362
+ paths.push(match[0]);
363
+ }
364
+ return paths;
365
+ }
366
+ function buildPositionMap(template) {
367
+ const map = /* @__PURE__ */ new Map();
368
+ let line = 1;
369
+ let column = 1;
370
+ for (let i = 0; i < template.length; i++) {
371
+ map.set(i, { line, column });
372
+ if (template[i] === "\n") {
373
+ line++;
374
+ column = 1;
375
+ } else {
376
+ column++;
377
+ }
378
+ }
379
+ return map;
380
+ }
381
+ function extractVariablePaths(template) {
382
+ const expressions = extractExpressions(template);
383
+ const paths = new Set(expressions.map((e) => e.path));
384
+ return Array.from(paths);
385
+ }
386
+ function extractOutputPaths(template) {
387
+ return extractVariablePaths(template).filter((p) => p.startsWith("output."));
388
+ }
389
+ function extractInputPaths(template) {
390
+ return extractVariablePaths(template).filter((p) => p.startsWith("input."));
391
+ }
392
+ function extractStructuredContentPaths(template) {
393
+ return extractVariablePaths(template).filter((p) => p.startsWith("structuredContent."));
394
+ }
395
+ function extractAll(template) {
396
+ const expressions = extractExpressions(template);
397
+ const paths = [...new Set(expressions.map((e) => e.path))];
398
+ return {
399
+ expressions,
400
+ paths,
401
+ outputPaths: paths.filter((p) => p.startsWith("output.")),
402
+ inputPaths: paths.filter((p) => p.startsWith("input.")),
403
+ structuredContentPaths: paths.filter((p) => p.startsWith("structuredContent."))
404
+ };
405
+ }
406
+ function hasVariablePaths(template) {
407
+ return extractVariablePaths(template).length > 0;
408
+ }
409
+ function getExpressionAt(template, line, column) {
410
+ const expressions = extractExpressions(template);
411
+ return expressions.find((expr) => {
412
+ if (expr.line !== line) return false;
413
+ const exprEnd = expr.column + expr.fullExpression.length;
414
+ return column >= expr.column && column <= exprEnd;
415
+ });
416
+ }
417
+ function normalizePath(path) {
418
+ return path.replace(/\.\d+\./g, ".[].").replace(/\.\d+$/g, ".[]").replace(/\[\d+\]/g, ".[]");
419
+ }
420
+
421
+ // libs/uipack/src/handlebars/index.ts
422
+ var Handlebars = null;
423
+ async function loadHandlebars() {
424
+ if (Handlebars !== null) {
425
+ return Handlebars;
426
+ }
427
+ try {
428
+ Handlebars = await import("handlebars");
429
+ return Handlebars;
430
+ } catch {
431
+ throw new Error("Handlebars is required for template rendering. Install it: npm install handlebars");
432
+ }
433
+ }
434
+ async function isHandlebarsAvailable() {
435
+ try {
436
+ await loadHandlebars();
437
+ return true;
438
+ } catch {
439
+ return false;
440
+ }
441
+ }
442
+ var HandlebarsRenderer = class {
443
+ options;
444
+ compiledTemplates = /* @__PURE__ */ new Map();
445
+ initialized = false;
446
+ hbs = null;
447
+ constructor(options = {}) {
448
+ this.options = {
449
+ strict: false,
450
+ autoEscape: true,
451
+ ...options
452
+ };
453
+ }
454
+ /**
455
+ * Initialize the renderer with Handlebars.
456
+ */
457
+ async init() {
458
+ if (this.initialized) return;
459
+ this.hbs = await loadHandlebars();
460
+ for (const [name, helper] of Object.entries(builtinHelpers)) {
461
+ this.hbs.registerHelper(name, helper);
462
+ }
463
+ if (this.options.helpers) {
464
+ for (const [name, helper] of Object.entries(this.options.helpers)) {
465
+ this.hbs.registerHelper(name, helper);
466
+ }
467
+ }
468
+ if (this.options.partials) {
469
+ for (const [name, template] of Object.entries(this.options.partials)) {
470
+ this.hbs.registerPartial(name, template);
471
+ }
472
+ }
473
+ this.initialized = true;
474
+ }
475
+ /**
476
+ * Render a Handlebars template.
477
+ *
478
+ * @param template - Template string
479
+ * @param context - Render context with input/output
480
+ * @returns Rendered HTML string
481
+ */
482
+ async render(template, context) {
483
+ await this.init();
484
+ if (!this.hbs) {
485
+ throw new Error("Handlebars not initialized");
486
+ }
487
+ let compiled = this.compiledTemplates.get(template);
488
+ if (!compiled) {
489
+ compiled = this.hbs.compile(template, {
490
+ strict: this.options.strict,
491
+ noEscape: !this.options.autoEscape
492
+ });
493
+ this.compiledTemplates.set(template, compiled);
494
+ }
495
+ const data = {
496
+ input: context.input ?? {},
497
+ output: context.output ?? {},
498
+ structuredContent: context.structuredContent,
499
+ // Also expose at root level for convenience
500
+ ...context.input,
501
+ ...typeof context.output === "object" && context.output !== null ? context.output : {}
502
+ };
503
+ try {
504
+ return compiled(data);
505
+ } catch (error) {
506
+ throw new Error(`Template rendering failed: ${error instanceof Error ? error.message : String(error)}`);
507
+ }
508
+ }
509
+ /**
510
+ * Render a template synchronously.
511
+ *
512
+ * Note: Requires Handlebars to be pre-loaded. Use `render()` for async loading.
513
+ *
514
+ * @param template - Template string
515
+ * @param context - Render context
516
+ * @returns Rendered HTML string
517
+ */
518
+ renderSync(template, context) {
519
+ if (!this.initialized || !this.hbs) {
520
+ throw new Error("HandlebarsRenderer not initialized. Call render() first or use initSync().");
521
+ }
522
+ let compiled = this.compiledTemplates.get(template);
523
+ if (!compiled) {
524
+ compiled = this.hbs.compile(template, {
525
+ strict: this.options.strict,
526
+ noEscape: !this.options.autoEscape
527
+ });
528
+ this.compiledTemplates.set(template, compiled);
529
+ }
530
+ const data = {
531
+ input: context.input ?? {},
532
+ output: context.output ?? {},
533
+ structuredContent: context.structuredContent,
534
+ ...context.input,
535
+ ...typeof context.output === "object" && context.output !== null ? context.output : {}
536
+ };
537
+ return compiled(data);
538
+ }
539
+ /**
540
+ * Initialize synchronously (for environments where Handlebars is already loaded).
541
+ */
542
+ initSync(handlebars) {
543
+ this.hbs = handlebars;
544
+ for (const [name, helper] of Object.entries(builtinHelpers)) {
545
+ this.hbs.registerHelper(name, helper);
546
+ }
547
+ if (this.options.helpers) {
548
+ for (const [name, helper] of Object.entries(this.options.helpers)) {
549
+ this.hbs.registerHelper(name, helper);
550
+ }
551
+ }
552
+ if (this.options.partials) {
553
+ for (const [name, template] of Object.entries(this.options.partials)) {
554
+ this.hbs.registerPartial(name, template);
555
+ }
556
+ }
557
+ this.initialized = true;
558
+ }
559
+ /**
560
+ * Register a custom helper.
561
+ *
562
+ * @param name - Helper name
563
+ * @param fn - Helper function
564
+ */
565
+ registerHelper(name, fn) {
566
+ if (this.hbs) {
567
+ this.hbs.registerHelper(name, fn);
568
+ }
569
+ if (!this.options.helpers) {
570
+ this.options.helpers = {};
571
+ }
572
+ this.options.helpers[name] = fn;
573
+ }
574
+ /**
575
+ * Register a partial template.
576
+ *
577
+ * @param name - Partial name
578
+ * @param template - Partial template string
579
+ */
580
+ registerPartial(name, template) {
581
+ if (this.hbs) {
582
+ this.hbs.registerPartial(name, template);
583
+ }
584
+ if (!this.options.partials) {
585
+ this.options.partials = {};
586
+ }
587
+ this.options.partials[name] = template;
588
+ }
589
+ /**
590
+ * Clear compiled template cache.
591
+ */
592
+ clearCache() {
593
+ this.compiledTemplates.clear();
594
+ }
595
+ /**
596
+ * Check if a template string contains Handlebars syntax.
597
+ *
598
+ * @param template - Template string to check
599
+ * @returns true if contains {{...}} syntax
600
+ */
601
+ static containsHandlebars(template) {
602
+ return /\{\{(?!!)[\s\S]*?\}\}/.test(template);
603
+ }
604
+ /**
605
+ * Check if the renderer is initialized.
606
+ */
607
+ get isInitialized() {
608
+ return this.initialized;
609
+ }
610
+ };
611
+ function createHandlebarsRenderer(options) {
612
+ return new HandlebarsRenderer(options);
613
+ }
614
+ async function renderTemplate(template, context) {
615
+ const renderer = createHandlebarsRenderer();
616
+ return renderer.render(template, context);
617
+ }
618
+ function containsHandlebars(template) {
619
+ return HandlebarsRenderer.containsHandlebars(template);
620
+ }
621
+ // Annotate the CommonJS export names for ESM import in node:
622
+ 0 && (module.exports = {
623
+ HandlebarsRenderer,
624
+ and,
625
+ builtinHelpers,
626
+ capitalize,
627
+ classNames,
628
+ containsHandlebars,
629
+ createHandlebarsRenderer,
630
+ defaultValue,
631
+ eq,
632
+ escapeHtml,
633
+ extractAll,
634
+ extractExpressions,
635
+ extractInputPaths,
636
+ extractOutputPaths,
637
+ extractStructuredContentPaths,
638
+ extractVariablePaths,
639
+ first,
640
+ formatCurrency,
641
+ formatDate,
642
+ formatNumber,
643
+ getExpressionAt,
644
+ gt,
645
+ gte,
646
+ hasVariablePaths,
647
+ includes,
648
+ isHandlebarsAvailable,
649
+ join,
650
+ json,
651
+ jsonEmbed,
652
+ last,
653
+ length,
654
+ lowercase,
655
+ lt,
656
+ lte,
657
+ ne,
658
+ normalizePath,
659
+ not,
660
+ or,
661
+ renderTemplate,
662
+ resetUniqueIdCounter,
663
+ truncate,
664
+ uniqueId,
665
+ uppercase
666
+ });