@walkeros/explorer 0.0.0-next-20260115201042

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 (713) hide show
  1. package/AGENT.md +406 -0
  2. package/LICENSE +42 -0
  3. package/README.md +748 -0
  4. package/STYLE.md +993 -0
  5. package/dist/__mocks__/@monaco-editor/react.d.ts +3 -0
  6. package/dist/__mocks__/@monaco-editor/react.d.ts.map +1 -0
  7. package/dist/__mocks__/@monaco-editor/react.js +4 -0
  8. package/dist/__mocks__/@monaco-editor/react.js.map +1 -0
  9. package/dist/chunk-WKBCYMTQ.mjs +2650 -0
  10. package/dist/chunk-WKBCYMTQ.mjs.map +1 -0
  11. package/dist/components/atoms/base-mapping-pane.d.ts +85 -0
  12. package/dist/components/atoms/base-mapping-pane.d.ts.map +1 -0
  13. package/dist/components/atoms/base-mapping-pane.js +53 -0
  14. package/dist/components/atoms/base-mapping-pane.js.map +1 -0
  15. package/dist/components/atoms/box.d.ts +27 -0
  16. package/dist/components/atoms/box.d.ts.map +1 -0
  17. package/dist/components/atoms/box.js +86 -0
  18. package/dist/components/atoms/box.js.map +1 -0
  19. package/dist/components/atoms/box.stories.d.ts +34 -0
  20. package/dist/components/atoms/box.stories.d.ts.map +1 -0
  21. package/dist/components/atoms/box.stories.js +104 -0
  22. package/dist/components/atoms/box.stories.js.map +1 -0
  23. package/dist/components/atoms/button-group.d.ts +17 -0
  24. package/dist/components/atoms/button-group.d.ts.map +1 -0
  25. package/dist/components/atoms/button-group.js +12 -0
  26. package/dist/components/atoms/button-group.js.map +1 -0
  27. package/dist/components/atoms/button-group.stories.d.ts +18 -0
  28. package/dist/components/atoms/button-group.stories.d.ts.map +1 -0
  29. package/dist/components/atoms/button-group.stories.js +35 -0
  30. package/dist/components/atoms/button-group.stories.js.map +1 -0
  31. package/dist/components/atoms/button-link.d.ts +12 -0
  32. package/dist/components/atoms/button-link.d.ts.map +1 -0
  33. package/dist/components/atoms/button-link.js +10 -0
  34. package/dist/components/atoms/button-link.js.map +1 -0
  35. package/dist/components/atoms/button-link.stories.d.ts +13 -0
  36. package/dist/components/atoms/button-link.stories.d.ts.map +1 -0
  37. package/dist/components/atoms/button-link.stories.js +64 -0
  38. package/dist/components/atoms/button-link.stories.js.map +1 -0
  39. package/dist/components/atoms/button.d.ts +15 -0
  40. package/dist/components/atoms/button.d.ts.map +1 -0
  41. package/dist/components/atoms/button.js +11 -0
  42. package/dist/components/atoms/button.js.map +1 -0
  43. package/dist/components/atoms/code.d.ts +55 -0
  44. package/dist/components/atoms/code.d.ts.map +1 -0
  45. package/dist/components/atoms/code.js +253 -0
  46. package/dist/components/atoms/code.js.map +1 -0
  47. package/dist/components/atoms/code.stories.d.ts +53 -0
  48. package/dist/components/atoms/code.stories.d.ts.map +1 -0
  49. package/dist/components/atoms/code.stories.js +190 -0
  50. package/dist/components/atoms/code.stories.js.map +1 -0
  51. package/dist/components/atoms/config-tile.d.ts +38 -0
  52. package/dist/components/atoms/config-tile.d.ts.map +1 -0
  53. package/dist/components/atoms/config-tile.js +29 -0
  54. package/dist/components/atoms/config-tile.js.map +1 -0
  55. package/dist/components/atoms/consent-state-tile.d.ts +14 -0
  56. package/dist/components/atoms/consent-state-tile.d.ts.map +1 -0
  57. package/dist/components/atoms/consent-state-tile.js +5 -0
  58. package/dist/components/atoms/consent-state-tile.js.map +1 -0
  59. package/dist/components/atoms/field-header.d.ts +41 -0
  60. package/dist/components/atoms/field-header.d.ts.map +1 -0
  61. package/dist/components/atoms/field-header.js +42 -0
  62. package/dist/components/atoms/field-header.js.map +1 -0
  63. package/dist/components/atoms/footer.d.ts +21 -0
  64. package/dist/components/atoms/footer.d.ts.map +1 -0
  65. package/dist/components/atoms/footer.js +19 -0
  66. package/dist/components/atoms/footer.js.map +1 -0
  67. package/dist/components/atoms/grid.d.ts +65 -0
  68. package/dist/components/atoms/grid.d.ts.map +1 -0
  69. package/dist/components/atoms/grid.js +174 -0
  70. package/dist/components/atoms/grid.js.map +1 -0
  71. package/dist/components/atoms/header.d.ts +7 -0
  72. package/dist/components/atoms/header.d.ts.map +1 -0
  73. package/dist/components/atoms/header.js +5 -0
  74. package/dist/components/atoms/header.js.map +1 -0
  75. package/dist/components/atoms/icon-button.d.ts +26 -0
  76. package/dist/components/atoms/icon-button.d.ts.map +1 -0
  77. package/dist/components/atoms/icon-button.js +39 -0
  78. package/dist/components/atoms/icon-button.js.map +1 -0
  79. package/dist/components/atoms/icons/icons.d.ts +2 -0
  80. package/dist/components/atoms/icons/icons.d.ts.map +1 -0
  81. package/dist/components/atoms/icons/icons.js +7 -0
  82. package/dist/components/atoms/icons/icons.js.map +1 -0
  83. package/dist/components/atoms/icons/index.d.ts +3 -0
  84. package/dist/components/atoms/icons/index.d.ts.map +1 -0
  85. package/dist/components/atoms/icons/index.js +3 -0
  86. package/dist/components/atoms/icons/index.js.map +1 -0
  87. package/dist/components/atoms/mapping-boolean.d.ts +31 -0
  88. package/dist/components/atoms/mapping-boolean.d.ts.map +1 -0
  89. package/dist/components/atoms/mapping-boolean.js +38 -0
  90. package/dist/components/atoms/mapping-boolean.js.map +1 -0
  91. package/dist/components/atoms/mapping-breadcrumb.d.ts +14 -0
  92. package/dist/components/atoms/mapping-breadcrumb.d.ts.map +1 -0
  93. package/dist/components/atoms/mapping-breadcrumb.js +10 -0
  94. package/dist/components/atoms/mapping-breadcrumb.js.map +1 -0
  95. package/dist/components/atoms/mapping-collapsible.d.ts +54 -0
  96. package/dist/components/atoms/mapping-collapsible.d.ts.map +1 -0
  97. package/dist/components/atoms/mapping-collapsible.js +87 -0
  98. package/dist/components/atoms/mapping-collapsible.js.map +1 -0
  99. package/dist/components/atoms/mapping-condition-field.d.ts +18 -0
  100. package/dist/components/atoms/mapping-condition-field.d.ts.map +1 -0
  101. package/dist/components/atoms/mapping-condition-field.js +34 -0
  102. package/dist/components/atoms/mapping-condition-field.js.map +1 -0
  103. package/dist/components/atoms/mapping-condition.d.ts +34 -0
  104. package/dist/components/atoms/mapping-condition.d.ts.map +1 -0
  105. package/dist/components/atoms/mapping-condition.js +70 -0
  106. package/dist/components/atoms/mapping-condition.js.map +1 -0
  107. package/dist/components/atoms/mapping-confirm-button.d.ts +29 -0
  108. package/dist/components/atoms/mapping-confirm-button.d.ts.map +1 -0
  109. package/dist/components/atoms/mapping-confirm-button.js +42 -0
  110. package/dist/components/atoms/mapping-confirm-button.js.map +1 -0
  111. package/dist/components/atoms/mapping-consent-field.d.ts +20 -0
  112. package/dist/components/atoms/mapping-consent-field.d.ts.map +1 -0
  113. package/dist/components/atoms/mapping-consent-field.js +36 -0
  114. package/dist/components/atoms/mapping-consent-field.js.map +1 -0
  115. package/dist/components/atoms/mapping-consent.d.ts +34 -0
  116. package/dist/components/atoms/mapping-consent.d.ts.map +1 -0
  117. package/dist/components/atoms/mapping-consent.js +86 -0
  118. package/dist/components/atoms/mapping-consent.js.map +1 -0
  119. package/dist/components/atoms/mapping-data-field.d.ts +23 -0
  120. package/dist/components/atoms/mapping-data-field.d.ts.map +1 -0
  121. package/dist/components/atoms/mapping-data-field.js +38 -0
  122. package/dist/components/atoms/mapping-data-field.js.map +1 -0
  123. package/dist/components/atoms/mapping-data.d.ts +34 -0
  124. package/dist/components/atoms/mapping-data.d.ts.map +1 -0
  125. package/dist/components/atoms/mapping-data.js +76 -0
  126. package/dist/components/atoms/mapping-data.js.map +1 -0
  127. package/dist/components/atoms/mapping-enum-select.d.ts +28 -0
  128. package/dist/components/atoms/mapping-enum-select.d.ts.map +1 -0
  129. package/dist/components/atoms/mapping-enum-select.js +142 -0
  130. package/dist/components/atoms/mapping-enum-select.js.map +1 -0
  131. package/dist/components/atoms/mapping-fn-field.d.ts +23 -0
  132. package/dist/components/atoms/mapping-fn-field.d.ts.map +1 -0
  133. package/dist/components/atoms/mapping-fn-field.js +38 -0
  134. package/dist/components/atoms/mapping-fn-field.js.map +1 -0
  135. package/dist/components/atoms/mapping-fn.d.ts +34 -0
  136. package/dist/components/atoms/mapping-fn.d.ts.map +1 -0
  137. package/dist/components/atoms/mapping-fn.js +70 -0
  138. package/dist/components/atoms/mapping-fn.js.map +1 -0
  139. package/dist/components/atoms/mapping-grid.d.ts +45 -0
  140. package/dist/components/atoms/mapping-grid.d.ts.map +1 -0
  141. package/dist/components/atoms/mapping-grid.js +83 -0
  142. package/dist/components/atoms/mapping-grid.js.map +1 -0
  143. package/dist/components/atoms/mapping-input-with-button.d.ts +54 -0
  144. package/dist/components/atoms/mapping-input-with-button.d.ts.map +1 -0
  145. package/dist/components/atoms/mapping-input-with-button.js +54 -0
  146. package/dist/components/atoms/mapping-input-with-button.js.map +1 -0
  147. package/dist/components/atoms/mapping-input.d.ts +44 -0
  148. package/dist/components/atoms/mapping-input.d.ts.map +1 -0
  149. package/dist/components/atoms/mapping-input.js +35 -0
  150. package/dist/components/atoms/mapping-input.js.map +1 -0
  151. package/dist/components/atoms/mapping-key-field.d.ts +23 -0
  152. package/dist/components/atoms/mapping-key-field.d.ts.map +1 -0
  153. package/dist/components/atoms/mapping-key-field.js +39 -0
  154. package/dist/components/atoms/mapping-key-field.js.map +1 -0
  155. package/dist/components/atoms/mapping-key.d.ts +35 -0
  156. package/dist/components/atoms/mapping-key.d.ts.map +1 -0
  157. package/dist/components/atoms/mapping-key.js +48 -0
  158. package/dist/components/atoms/mapping-key.js.map +1 -0
  159. package/dist/components/atoms/mapping-map-entry.d.ts +31 -0
  160. package/dist/components/atoms/mapping-map-entry.d.ts.map +1 -0
  161. package/dist/components/atoms/mapping-map-entry.js +68 -0
  162. package/dist/components/atoms/mapping-map-entry.js.map +1 -0
  163. package/dist/components/atoms/mapping-number.d.ts +32 -0
  164. package/dist/components/atoms/mapping-number.d.ts.map +1 -0
  165. package/dist/components/atoms/mapping-number.js +52 -0
  166. package/dist/components/atoms/mapping-number.js.map +1 -0
  167. package/dist/components/atoms/mapping-object-explorer-field.d.ts +30 -0
  168. package/dist/components/atoms/mapping-object-explorer-field.d.ts.map +1 -0
  169. package/dist/components/atoms/mapping-object-explorer-field.js +48 -0
  170. package/dist/components/atoms/mapping-object-explorer-field.js.map +1 -0
  171. package/dist/components/atoms/mapping-object-explorer.d.ts +59 -0
  172. package/dist/components/atoms/mapping-object-explorer.d.ts.map +1 -0
  173. package/dist/components/atoms/mapping-object-explorer.js +215 -0
  174. package/dist/components/atoms/mapping-object-explorer.js.map +1 -0
  175. package/dist/components/atoms/mapping-set-entry.d.ts +31 -0
  176. package/dist/components/atoms/mapping-set-entry.d.ts.map +1 -0
  177. package/dist/components/atoms/mapping-set-entry.js +66 -0
  178. package/dist/components/atoms/mapping-set-entry.js.map +1 -0
  179. package/dist/components/atoms/mapping-settings-field.d.ts +33 -0
  180. package/dist/components/atoms/mapping-settings-field.d.ts.map +1 -0
  181. package/dist/components/atoms/mapping-settings-field.js +48 -0
  182. package/dist/components/atoms/mapping-settings-field.js.map +1 -0
  183. package/dist/components/atoms/mapping-settings.d.ts +44 -0
  184. package/dist/components/atoms/mapping-settings.d.ts.map +1 -0
  185. package/dist/components/atoms/mapping-settings.js +108 -0
  186. package/dist/components/atoms/mapping-settings.js.map +1 -0
  187. package/dist/components/atoms/mapping-string.d.ts +19 -0
  188. package/dist/components/atoms/mapping-string.d.ts.map +1 -0
  189. package/dist/components/atoms/mapping-string.js +26 -0
  190. package/dist/components/atoms/mapping-string.js.map +1 -0
  191. package/dist/components/atoms/mapping-tab.d.ts +15 -0
  192. package/dist/components/atoms/mapping-tab.d.ts.map +1 -0
  193. package/dist/components/atoms/mapping-tab.js +8 -0
  194. package/dist/components/atoms/mapping-tab.js.map +1 -0
  195. package/dist/components/atoms/mapping-type-button.d.ts +19 -0
  196. package/dist/components/atoms/mapping-type-button.d.ts.map +1 -0
  197. package/dist/components/atoms/mapping-type-button.js +5 -0
  198. package/dist/components/atoms/mapping-type-button.js.map +1 -0
  199. package/dist/components/atoms/mapping-validate-field.d.ts +23 -0
  200. package/dist/components/atoms/mapping-validate-field.d.ts.map +1 -0
  201. package/dist/components/atoms/mapping-validate-field.js +38 -0
  202. package/dist/components/atoms/mapping-validate-field.js.map +1 -0
  203. package/dist/components/atoms/mapping-validate.d.ts +34 -0
  204. package/dist/components/atoms/mapping-validate.d.ts.map +1 -0
  205. package/dist/components/atoms/mapping-validate.js +68 -0
  206. package/dist/components/atoms/mapping-validate.js.map +1 -0
  207. package/dist/components/atoms/mapping-value.d.ts +17 -0
  208. package/dist/components/atoms/mapping-value.d.ts.map +1 -0
  209. package/dist/components/atoms/mapping-value.js +127 -0
  210. package/dist/components/atoms/mapping-value.js.map +1 -0
  211. package/dist/components/atoms/mdx-code.d.ts +33 -0
  212. package/dist/components/atoms/mdx-code.d.ts.map +1 -0
  213. package/dist/components/atoms/mdx-code.js +69 -0
  214. package/dist/components/atoms/mdx-code.js.map +1 -0
  215. package/dist/components/atoms/pane-header.d.ts +24 -0
  216. package/dist/components/atoms/pane-header.d.ts.map +1 -0
  217. package/dist/components/atoms/pane-header.js +5 -0
  218. package/dist/components/atoms/pane-header.js.map +1 -0
  219. package/dist/components/atoms/panel-hints.d.ts +35 -0
  220. package/dist/components/atoms/panel-hints.d.ts.map +1 -0
  221. package/dist/components/atoms/panel-hints.js +5 -0
  222. package/dist/components/atoms/panel-hints.js.map +1 -0
  223. package/dist/components/atoms/preview-footer.d.ts +32 -0
  224. package/dist/components/atoms/preview-footer.d.ts.map +1 -0
  225. package/dist/components/atoms/preview-footer.js +31 -0
  226. package/dist/components/atoms/preview-footer.js.map +1 -0
  227. package/dist/components/atoms/toggle.d.ts +9 -0
  228. package/dist/components/atoms/toggle.d.ts.map +1 -0
  229. package/dist/components/atoms/toggle.js +6 -0
  230. package/dist/components/atoms/toggle.js.map +1 -0
  231. package/dist/components/demos/DestinationDemo.d.ts +48 -0
  232. package/dist/components/demos/DestinationDemo.d.ts.map +1 -0
  233. package/dist/components/demos/DestinationDemo.js +105 -0
  234. package/dist/components/demos/DestinationDemo.js.map +1 -0
  235. package/dist/components/demos/DestinationDemo.stories.d.ts +17 -0
  236. package/dist/components/demos/DestinationDemo.stories.d.ts.map +1 -0
  237. package/dist/components/demos/DestinationDemo.stories.js +53 -0
  238. package/dist/components/demos/DestinationDemo.stories.js.map +1 -0
  239. package/dist/components/demos/DestinationInitDemo.d.ts +34 -0
  240. package/dist/components/demos/DestinationInitDemo.d.ts.map +1 -0
  241. package/dist/components/demos/DestinationInitDemo.js +72 -0
  242. package/dist/components/demos/DestinationInitDemo.js.map +1 -0
  243. package/dist/components/demos/DestinationInitDemo.stories.d.ts +17 -0
  244. package/dist/components/demos/DestinationInitDemo.stories.d.ts.map +1 -0
  245. package/dist/components/demos/DestinationInitDemo.stories.js +39 -0
  246. package/dist/components/demos/DestinationInitDemo.stories.js.map +1 -0
  247. package/dist/components/demos/MappingCode.d.ts +34 -0
  248. package/dist/components/demos/MappingCode.d.ts.map +1 -0
  249. package/dist/components/demos/MappingCode.js +54 -0
  250. package/dist/components/demos/MappingCode.js.map +1 -0
  251. package/dist/components/demos/MappingCode.stories.d.ts +16 -0
  252. package/dist/components/demos/MappingCode.stories.d.ts.map +1 -0
  253. package/dist/components/demos/MappingCode.stories.js +42 -0
  254. package/dist/components/demos/MappingCode.stories.js.map +1 -0
  255. package/dist/components/demos/MappingDemo.d.ts +41 -0
  256. package/dist/components/demos/MappingDemo.d.ts.map +1 -0
  257. package/dist/components/demos/MappingDemo.js +62 -0
  258. package/dist/components/demos/MappingDemo.js.map +1 -0
  259. package/dist/components/demos/MappingDemo.stories.d.ts +16 -0
  260. package/dist/components/demos/MappingDemo.stories.d.ts.map +1 -0
  261. package/dist/components/demos/MappingDemo.stories.js +63 -0
  262. package/dist/components/demos/MappingDemo.stories.js.map +1 -0
  263. package/dist/components/demos/PromotionPlayground.d.ts +25 -0
  264. package/dist/components/demos/PromotionPlayground.d.ts.map +1 -0
  265. package/dist/components/demos/PromotionPlayground.js +280 -0
  266. package/dist/components/demos/PromotionPlayground.js.map +1 -0
  267. package/dist/components/demos/PromotionPlayground.stories.d.ts +27 -0
  268. package/dist/components/demos/PromotionPlayground.stories.d.ts.map +1 -0
  269. package/dist/components/demos/PromotionPlayground.stories.js +32 -0
  270. package/dist/components/demos/PromotionPlayground.stories.js.map +1 -0
  271. package/dist/components/forms/field-registry.d.ts +42 -0
  272. package/dist/components/forms/field-registry.d.ts.map +1 -0
  273. package/dist/components/forms/field-registry.js +64 -0
  274. package/dist/components/forms/field-registry.js.map +1 -0
  275. package/dist/components/forms/mapping-form-wrapper.d.ts +14 -0
  276. package/dist/components/forms/mapping-form-wrapper.d.ts.map +1 -0
  277. package/dist/components/forms/mapping-form-wrapper.js +105 -0
  278. package/dist/components/forms/mapping-form-wrapper.js.map +1 -0
  279. package/dist/components/forms/widget-registry.d.ts +42 -0
  280. package/dist/components/forms/widget-registry.d.ts.map +1 -0
  281. package/dist/components/forms/widget-registry.js +54 -0
  282. package/dist/components/forms/widget-registry.js.map +1 -0
  283. package/dist/components/molecules/architecture-flow/ArchitectureFlow.d.ts +24 -0
  284. package/dist/components/molecules/architecture-flow/ArchitectureFlow.d.ts.map +1 -0
  285. package/dist/components/molecules/architecture-flow/ArchitectureFlow.js +10 -0
  286. package/dist/components/molecules/architecture-flow/ArchitectureFlow.js.map +1 -0
  287. package/dist/components/molecules/architecture-flow/ArchitectureFlow.stories.d.ts +7 -0
  288. package/dist/components/molecules/architecture-flow/ArchitectureFlow.stories.d.ts.map +1 -0
  289. package/dist/components/molecules/architecture-flow/ArchitectureFlow.stories.js +71 -0
  290. package/dist/components/molecules/architecture-flow/ArchitectureFlow.stories.js.map +1 -0
  291. package/dist/components/molecules/architecture-flow/index.d.ts +3 -0
  292. package/dist/components/molecules/architecture-flow/index.d.ts.map +1 -0
  293. package/dist/components/molecules/architecture-flow/index.js +2 -0
  294. package/dist/components/molecules/architecture-flow/index.js.map +1 -0
  295. package/dist/components/molecules/auto-select.d.ts +29 -0
  296. package/dist/components/molecules/auto-select.d.ts.map +1 -0
  297. package/dist/components/molecules/auto-select.js +188 -0
  298. package/dist/components/molecules/auto-select.js.map +1 -0
  299. package/dist/components/molecules/code-box.d.ts +69 -0
  300. package/dist/components/molecules/code-box.d.ts.map +1 -0
  301. package/dist/components/molecules/code-box.js +109 -0
  302. package/dist/components/molecules/code-box.js.map +1 -0
  303. package/dist/components/molecules/code-box.stories.d.ts +30 -0
  304. package/dist/components/molecules/code-box.stories.d.ts.map +1 -0
  305. package/dist/components/molecules/code-box.stories.js +127 -0
  306. package/dist/components/molecules/code-box.stories.js.map +1 -0
  307. package/dist/components/molecules/code-snippet.d.ts +58 -0
  308. package/dist/components/molecules/code-snippet.d.ts.map +1 -0
  309. package/dist/components/molecules/code-snippet.js +72 -0
  310. package/dist/components/molecules/code-snippet.js.map +1 -0
  311. package/dist/components/molecules/code-snippet.stories.d.ts +20 -0
  312. package/dist/components/molecules/code-snippet.stories.d.ts.map +1 -0
  313. package/dist/components/molecules/code-snippet.stories.js +68 -0
  314. package/dist/components/molecules/code-snippet.stories.js.map +1 -0
  315. package/dist/components/molecules/config-overview-pane.d.ts +44 -0
  316. package/dist/components/molecules/config-overview-pane.d.ts.map +1 -0
  317. package/dist/components/molecules/config-overview-pane.js +75 -0
  318. package/dist/components/molecules/config-overview-pane.js.map +1 -0
  319. package/dist/components/molecules/config-tree-sidebar.d.ts +46 -0
  320. package/dist/components/molecules/config-tree-sidebar.d.ts.map +1 -0
  321. package/dist/components/molecules/config-tree-sidebar.js +183 -0
  322. package/dist/components/molecules/config-tree-sidebar.js.map +1 -0
  323. package/dist/components/molecules/destination-config-overview-pane.d.ts +33 -0
  324. package/dist/components/molecules/destination-config-overview-pane.d.ts.map +1 -0
  325. package/dist/components/molecules/destination-config-overview-pane.js +153 -0
  326. package/dist/components/molecules/destination-config-overview-pane.js.map +1 -0
  327. package/dist/components/molecules/flow-map/FlowMap.d.ts +74 -0
  328. package/dist/components/molecules/flow-map/FlowMap.d.ts.map +1 -0
  329. package/dist/components/molecules/flow-map/FlowMap.js +1028 -0
  330. package/dist/components/molecules/flow-map/FlowMap.js.map +1 -0
  331. package/dist/components/molecules/flow-map/FlowMap.stories.d.ts +73 -0
  332. package/dist/components/molecules/flow-map/FlowMap.stories.d.ts.map +1 -0
  333. package/dist/components/molecules/flow-map/FlowMap.stories.js +587 -0
  334. package/dist/components/molecules/flow-map/FlowMap.stories.js.map +1 -0
  335. package/dist/components/molecules/flow-map/FlowMap.transformers.stories.d.ts +45 -0
  336. package/dist/components/molecules/flow-map/FlowMap.transformers.stories.d.ts.map +1 -0
  337. package/dist/components/molecules/flow-map/FlowMap.transformers.stories.js +195 -0
  338. package/dist/components/molecules/flow-map/FlowMap.transformers.stories.js.map +1 -0
  339. package/dist/components/molecules/flow-map/index.d.ts +3 -0
  340. package/dist/components/molecules/flow-map/index.d.ts.map +1 -0
  341. package/dist/components/molecules/flow-map/index.js +2 -0
  342. package/dist/components/molecules/flow-map/index.js.map +1 -0
  343. package/dist/components/molecules/mapping-batch-pane-view.d.ts +22 -0
  344. package/dist/components/molecules/mapping-batch-pane-view.d.ts.map +1 -0
  345. package/dist/components/molecules/mapping-batch-pane-view.js +45 -0
  346. package/dist/components/molecules/mapping-batch-pane-view.js.map +1 -0
  347. package/dist/components/molecules/mapping-boolean-pane-view.d.ts +28 -0
  348. package/dist/components/molecules/mapping-boolean-pane-view.d.ts.map +1 -0
  349. package/dist/components/molecules/mapping-boolean-pane-view.js +34 -0
  350. package/dist/components/molecules/mapping-boolean-pane-view.js.map +1 -0
  351. package/dist/components/molecules/mapping-condition-pane-view.d.ts +18 -0
  352. package/dist/components/molecules/mapping-condition-pane-view.d.ts.map +1 -0
  353. package/dist/components/molecules/mapping-condition-pane-view.js +63 -0
  354. package/dist/components/molecules/mapping-condition-pane-view.js.map +1 -0
  355. package/dist/components/molecules/mapping-consent-pane-view.d.ts +16 -0
  356. package/dist/components/molecules/mapping-consent-pane-view.d.ts.map +1 -0
  357. package/dist/components/molecules/mapping-consent-pane-view.js +65 -0
  358. package/dist/components/molecules/mapping-consent-pane-view.js.map +1 -0
  359. package/dist/components/molecules/mapping-consent-row.d.ts +29 -0
  360. package/dist/components/molecules/mapping-consent-row.d.ts.map +1 -0
  361. package/dist/components/molecules/mapping-consent-row.js +26 -0
  362. package/dist/components/molecules/mapping-consent-row.js.map +1 -0
  363. package/dist/components/molecules/mapping-entity-pane.d.ts +17 -0
  364. package/dist/components/molecules/mapping-entity-pane.d.ts.map +1 -0
  365. package/dist/components/molecules/mapping-entity-pane.js +68 -0
  366. package/dist/components/molecules/mapping-entity-pane.js.map +1 -0
  367. package/dist/components/molecules/mapping-enum-pane-view.d.ts +40 -0
  368. package/dist/components/molecules/mapping-enum-pane-view.d.ts.map +1 -0
  369. package/dist/components/molecules/mapping-enum-pane-view.js +32 -0
  370. package/dist/components/molecules/mapping-enum-pane-view.js.map +1 -0
  371. package/dist/components/molecules/mapping-fn-pane-view.d.ts +18 -0
  372. package/dist/components/molecules/mapping-fn-pane-view.d.ts.map +1 -0
  373. package/dist/components/molecules/mapping-fn-pane-view.js +77 -0
  374. package/dist/components/molecules/mapping-fn-pane-view.js.map +1 -0
  375. package/dist/components/molecules/mapping-function-pane-base.d.ts +53 -0
  376. package/dist/components/molecules/mapping-function-pane-base.d.ts.map +1 -0
  377. package/dist/components/molecules/mapping-function-pane-base.js +60 -0
  378. package/dist/components/molecules/mapping-function-pane-base.js.map +1 -0
  379. package/dist/components/molecules/mapping-key-pane-view.d.ts +23 -0
  380. package/dist/components/molecules/mapping-key-pane-view.d.ts.map +1 -0
  381. package/dist/components/molecules/mapping-key-pane-view.js +12 -0
  382. package/dist/components/molecules/mapping-key-pane-view.js.map +1 -0
  383. package/dist/components/molecules/mapping-loop-field.d.ts +44 -0
  384. package/dist/components/molecules/mapping-loop-field.d.ts.map +1 -0
  385. package/dist/components/molecules/mapping-loop-field.js +133 -0
  386. package/dist/components/molecules/mapping-loop-field.js.map +1 -0
  387. package/dist/components/molecules/mapping-loop-pane-view.d.ts +28 -0
  388. package/dist/components/molecules/mapping-loop-pane-view.d.ts.map +1 -0
  389. package/dist/components/molecules/mapping-loop-pane-view.js +44 -0
  390. package/dist/components/molecules/mapping-loop-pane-view.js.map +1 -0
  391. package/dist/components/molecules/mapping-map-field.d.ts +31 -0
  392. package/dist/components/molecules/mapping-map-field.d.ts.map +1 -0
  393. package/dist/components/molecules/mapping-map-field.js +120 -0
  394. package/dist/components/molecules/mapping-map-field.js.map +1 -0
  395. package/dist/components/molecules/mapping-map-overview.d.ts +13 -0
  396. package/dist/components/molecules/mapping-map-overview.d.ts.map +1 -0
  397. package/dist/components/molecules/mapping-map-overview.js +58 -0
  398. package/dist/components/molecules/mapping-map-overview.js.map +1 -0
  399. package/dist/components/molecules/mapping-map-pane-view-rjsf.d.ts +53 -0
  400. package/dist/components/molecules/mapping-map-pane-view-rjsf.d.ts.map +1 -0
  401. package/dist/components/molecules/mapping-map-pane-view-rjsf.js +127 -0
  402. package/dist/components/molecules/mapping-map-pane-view-rjsf.js.map +1 -0
  403. package/dist/components/molecules/mapping-name-pane-view.d.ts +22 -0
  404. package/dist/components/molecules/mapping-name-pane-view.d.ts.map +1 -0
  405. package/dist/components/molecules/mapping-name-pane-view.js +38 -0
  406. package/dist/components/molecules/mapping-name-pane-view.js.map +1 -0
  407. package/dist/components/molecules/mapping-navigation-header.d.ts +27 -0
  408. package/dist/components/molecules/mapping-navigation-header.d.ts.map +1 -0
  409. package/dist/components/molecules/mapping-navigation-header.js +7 -0
  410. package/dist/components/molecules/mapping-navigation-header.js.map +1 -0
  411. package/dist/components/molecules/mapping-overview-pane.d.ts +14 -0
  412. package/dist/components/molecules/mapping-overview-pane.d.ts.map +1 -0
  413. package/dist/components/molecules/mapping-overview-pane.js +60 -0
  414. package/dist/components/molecules/mapping-overview-pane.js.map +1 -0
  415. package/dist/components/molecules/mapping-pane.d.ts +52 -0
  416. package/dist/components/molecules/mapping-pane.d.ts.map +1 -0
  417. package/dist/components/molecules/mapping-pane.js +155 -0
  418. package/dist/components/molecules/mapping-pane.js.map +1 -0
  419. package/dist/components/molecules/mapping-policy-overview-pane.d.ts +26 -0
  420. package/dist/components/molecules/mapping-policy-overview-pane.d.ts.map +1 -0
  421. package/dist/components/molecules/mapping-policy-overview-pane.js +69 -0
  422. package/dist/components/molecules/mapping-policy-overview-pane.js.map +1 -0
  423. package/dist/components/molecules/mapping-primitive-pane-view.d.ts +30 -0
  424. package/dist/components/molecules/mapping-primitive-pane-view.d.ts.map +1 -0
  425. package/dist/components/molecules/mapping-primitive-pane-view.js +43 -0
  426. package/dist/components/molecules/mapping-primitive-pane-view.js.map +1 -0
  427. package/dist/components/molecules/mapping-rule-pane-view.d.ts +25 -0
  428. package/dist/components/molecules/mapping-rule-pane-view.d.ts.map +1 -0
  429. package/dist/components/molecules/mapping-rule-pane-view.js +35 -0
  430. package/dist/components/molecules/mapping-rule-pane-view.js.map +1 -0
  431. package/dist/components/molecules/mapping-set-field.d.ts +34 -0
  432. package/dist/components/molecules/mapping-set-field.d.ts.map +1 -0
  433. package/dist/components/molecules/mapping-set-field.js +160 -0
  434. package/dist/components/molecules/mapping-set-field.js.map +1 -0
  435. package/dist/components/molecules/mapping-set-pane-view.d.ts +31 -0
  436. package/dist/components/molecules/mapping-set-pane-view.d.ts.map +1 -0
  437. package/dist/components/molecules/mapping-set-pane-view.js +96 -0
  438. package/dist/components/molecules/mapping-set-pane-view.js.map +1 -0
  439. package/dist/components/molecules/mapping-tab-bar.d.ts +15 -0
  440. package/dist/components/molecules/mapping-tab-bar.d.ts.map +1 -0
  441. package/dist/components/molecules/mapping-tab-bar.js +9 -0
  442. package/dist/components/molecules/mapping-tab-bar.js.map +1 -0
  443. package/dist/components/molecules/mapping-tree-sidebar.d.ts +59 -0
  444. package/dist/components/molecules/mapping-tree-sidebar.d.ts.map +1 -0
  445. package/dist/components/molecules/mapping-tree-sidebar.js +491 -0
  446. package/dist/components/molecules/mapping-tree-sidebar.js.map +1 -0
  447. package/dist/components/molecules/mapping-type-grid.d.ts +12 -0
  448. package/dist/components/molecules/mapping-type-grid.d.ts.map +1 -0
  449. package/dist/components/molecules/mapping-type-grid.js +107 -0
  450. package/dist/components/molecules/mapping-type-grid.js.map +1 -0
  451. package/dist/components/molecules/mapping-type-selector.d.ts +21 -0
  452. package/dist/components/molecules/mapping-type-selector.d.ts.map +1 -0
  453. package/dist/components/molecules/mapping-type-selector.js +38 -0
  454. package/dist/components/molecules/mapping-type-selector.js.map +1 -0
  455. package/dist/components/molecules/mapping-validate-pane-view.d.ts +19 -0
  456. package/dist/components/molecules/mapping-validate-pane-view.d.ts.map +1 -0
  457. package/dist/components/molecules/mapping-validate-pane-view.js +66 -0
  458. package/dist/components/molecules/mapping-validate-pane-view.js.map +1 -0
  459. package/dist/components/molecules/mapping-value-config-pane-view.d.ts +30 -0
  460. package/dist/components/molecules/mapping-value-config-pane-view.d.ts.map +1 -0
  461. package/dist/components/molecules/mapping-value-config-pane-view.js +105 -0
  462. package/dist/components/molecules/mapping-value-config-pane-view.js.map +1 -0
  463. package/dist/components/molecules/mapping-value-pane-view.d.ts +28 -0
  464. package/dist/components/molecules/mapping-value-pane-view.d.ts.map +1 -0
  465. package/dist/components/molecules/mapping-value-pane-view.js +40 -0
  466. package/dist/components/molecules/mapping-value-pane-view.js.map +1 -0
  467. package/dist/components/molecules/mapping-value-type-pane-view.d.ts +27 -0
  468. package/dist/components/molecules/mapping-value-type-pane-view.d.ts.map +1 -0
  469. package/dist/components/molecules/mapping-value-type-pane-view.js +253 -0
  470. package/dist/components/molecules/mapping-value-type-pane-view.js.map +1 -0
  471. package/dist/components/molecules/options-pane.d.ts +28 -0
  472. package/dist/components/molecules/options-pane.d.ts.map +1 -0
  473. package/dist/components/molecules/options-pane.js +80 -0
  474. package/dist/components/molecules/options-pane.js.map +1 -0
  475. package/dist/components/molecules/preview.d.ts +22 -0
  476. package/dist/components/molecules/preview.d.ts.map +1 -0
  477. package/dist/components/molecules/preview.js +217 -0
  478. package/dist/components/molecules/preview.js.map +1 -0
  479. package/dist/components/molecules/preview.stories.d.ts +23 -0
  480. package/dist/components/molecules/preview.stories.d.ts.map +1 -0
  481. package/dist/components/molecules/preview.stories.js +186 -0
  482. package/dist/components/molecules/preview.stories.js.map +1 -0
  483. package/dist/components/molecules/property-suggestions.d.ts +17 -0
  484. package/dist/components/molecules/property-suggestions.d.ts.map +1 -0
  485. package/dist/components/molecules/property-suggestions.js +56 -0
  486. package/dist/components/molecules/property-suggestions.js.map +1 -0
  487. package/dist/components/molecules/property-table.d.ts +7 -0
  488. package/dist/components/molecules/property-table.d.ts.map +1 -0
  489. package/dist/components/molecules/property-table.js +88 -0
  490. package/dist/components/molecules/property-table.js.map +1 -0
  491. package/dist/components/molecules/property-table.stories.d.ts +24 -0
  492. package/dist/components/molecules/property-table.stories.d.ts.map +1 -0
  493. package/dist/components/molecules/property-table.stories.js +86 -0
  494. package/dist/components/molecules/property-table.stories.js.map +1 -0
  495. package/dist/components/molecules/settings-overview-pane.d.ts +32 -0
  496. package/dist/components/molecules/settings-overview-pane.d.ts.map +1 -0
  497. package/dist/components/molecules/settings-overview-pane.js +85 -0
  498. package/dist/components/molecules/settings-overview-pane.js.map +1 -0
  499. package/dist/components/molecules/validation-overview-pane.d.ts +27 -0
  500. package/dist/components/molecules/validation-overview-pane.d.ts.map +1 -0
  501. package/dist/components/molecules/validation-overview-pane.js +50 -0
  502. package/dist/components/molecules/validation-overview-pane.js.map +1 -0
  503. package/dist/components/organisms/browser-box.d.ts +31 -0
  504. package/dist/components/organisms/browser-box.d.ts.map +1 -0
  505. package/dist/components/organisms/browser-box.js +80 -0
  506. package/dist/components/organisms/browser-box.js.map +1 -0
  507. package/dist/components/organisms/browser-box.stories.d.ts +26 -0
  508. package/dist/components/organisms/browser-box.stories.d.ts.map +1 -0
  509. package/dist/components/organisms/browser-box.stories.js +102 -0
  510. package/dist/components/organisms/browser-box.stories.js.map +1 -0
  511. package/dist/components/organisms/collector-box.d.ts +24 -0
  512. package/dist/components/organisms/collector-box.d.ts.map +1 -0
  513. package/dist/components/organisms/collector-box.js +56 -0
  514. package/dist/components/organisms/collector-box.js.map +1 -0
  515. package/dist/components/organisms/collector-box.stories.d.ts +22 -0
  516. package/dist/components/organisms/collector-box.stories.d.ts.map +1 -0
  517. package/dist/components/organisms/collector-box.stories.js +59 -0
  518. package/dist/components/organisms/collector-box.stories.js.map +1 -0
  519. package/dist/components/organisms/config-editor/config-editor-box.d.ts +35 -0
  520. package/dist/components/organisms/config-editor/config-editor-box.d.ts.map +1 -0
  521. package/dist/components/organisms/config-editor/config-editor-box.js +50 -0
  522. package/dist/components/organisms/config-editor/config-editor-box.js.map +1 -0
  523. package/dist/components/organisms/config-editor/config-editor-tabs.d.ts +52 -0
  524. package/dist/components/organisms/config-editor/config-editor-tabs.d.ts.map +1 -0
  525. package/dist/components/organisms/config-editor/config-editor-tabs.js +127 -0
  526. package/dist/components/organisms/config-editor/config-editor-tabs.js.map +1 -0
  527. package/dist/components/organisms/config-editor/config-editor.d.ts +47 -0
  528. package/dist/components/organisms/config-editor/config-editor.d.ts.map +1 -0
  529. package/dist/components/organisms/config-editor/config-editor.js +50 -0
  530. package/dist/components/organisms/config-editor/config-editor.js.map +1 -0
  531. package/dist/components/organisms/config-editor/config-editor.stories.d.ts +25 -0
  532. package/dist/components/organisms/config-editor/config-editor.stories.d.ts.map +1 -0
  533. package/dist/components/organisms/config-editor/config-editor.stories.js +77 -0
  534. package/dist/components/organisms/config-editor/config-editor.stories.js.map +1 -0
  535. package/dist/components/organisms/config-editor/index.d.ts +22 -0
  536. package/dist/components/organisms/config-editor/index.d.ts.map +1 -0
  537. package/dist/components/organisms/config-editor/index.js +20 -0
  538. package/dist/components/organisms/config-editor/index.js.map +1 -0
  539. package/dist/components/organisms/live-code.d.ts +22 -0
  540. package/dist/components/organisms/live-code.d.ts.map +1 -0
  541. package/dist/components/organisms/live-code.js +50 -0
  542. package/dist/components/organisms/live-code.js.map +1 -0
  543. package/dist/components/organisms/live-code.stories.d.ts +24 -0
  544. package/dist/components/organisms/live-code.stories.d.ts.map +1 -0
  545. package/dist/components/organisms/live-code.stories.js +55 -0
  546. package/dist/components/organisms/live-code.stories.js.map +1 -0
  547. package/dist/components/ui/button.d.ts +4 -0
  548. package/dist/components/ui/button.d.ts.map +1 -0
  549. package/dist/components/ui/button.js +6 -0
  550. package/dist/components/ui/button.js.map +1 -0
  551. package/dist/components/ui/icon.d.ts +5 -0
  552. package/dist/components/ui/icon.d.ts.map +1 -0
  553. package/dist/components/ui/icon.js +5 -0
  554. package/dist/components/ui/icon.js.map +1 -0
  555. package/dist/components/ui/label.d.ts +5 -0
  556. package/dist/components/ui/label.d.ts.map +1 -0
  557. package/dist/components/ui/label.js +5 -0
  558. package/dist/components/ui/label.js.map +1 -0
  559. package/dist/contexts/GridHeightContext.d.ts +11 -0
  560. package/dist/contexts/GridHeightContext.d.ts.map +1 -0
  561. package/dist/contexts/GridHeightContext.js +14 -0
  562. package/dist/contexts/GridHeightContext.js.map +1 -0
  563. package/dist/helpers/capture.d.ts +83 -0
  564. package/dist/helpers/capture.d.ts.map +1 -0
  565. package/dist/helpers/capture.js +125 -0
  566. package/dist/helpers/capture.js.map +1 -0
  567. package/dist/helpers/destinations.d.ts +21 -0
  568. package/dist/helpers/destinations.d.ts.map +1 -0
  569. package/dist/helpers/destinations.js +49 -0
  570. package/dist/helpers/destinations.js.map +1 -0
  571. package/dist/hooks/useMappingNavigation.d.ts +62 -0
  572. package/dist/hooks/useMappingNavigation.d.ts.map +1 -0
  573. package/dist/hooks/useMappingNavigation.js +340 -0
  574. package/dist/hooks/useMappingNavigation.js.map +1 -0
  575. package/dist/hooks/useMappingState.d.ts +56 -0
  576. package/dist/hooks/useMappingState.d.ts.map +1 -0
  577. package/dist/hooks/useMappingState.js +143 -0
  578. package/dist/hooks/useMappingState.js.map +1 -0
  579. package/dist/hooks/useMonacoHeight.d.ts +31 -0
  580. package/dist/hooks/useMonacoHeight.d.ts.map +1 -0
  581. package/dist/hooks/useMonacoHeight.js +83 -0
  582. package/dist/hooks/useMonacoHeight.js.map +1 -0
  583. package/dist/hooks/useTreeState.d.ts +32 -0
  584. package/dist/hooks/useTreeState.d.ts.map +1 -0
  585. package/dist/hooks/useTreeState.js +94 -0
  586. package/dist/hooks/useTreeState.js.map +1 -0
  587. package/dist/index.d.cts +1384 -0
  588. package/dist/index.d.ts +65 -0
  589. package/dist/index.d.ts.map +1 -0
  590. package/dist/index.js +50 -0
  591. package/dist/index.js.map +1 -0
  592. package/dist/index.mjs +16803 -0
  593. package/dist/index.mjs.map +1 -0
  594. package/dist/lib/utils.d.ts +7 -0
  595. package/dist/lib/utils.d.ts.map +1 -0
  596. package/dist/lib/utils.js +10 -0
  597. package/dist/lib/utils.js.map +1 -0
  598. package/dist/monaco-types-GHUJ2SZE.mjs +34 -0
  599. package/dist/monaco-types-GHUJ2SZE.mjs.map +1 -0
  600. package/dist/providers/MDXProvider.d.ts +40 -0
  601. package/dist/providers/MDXProvider.d.ts.map +1 -0
  602. package/dist/providers/MDXProvider.js +57 -0
  603. package/dist/providers/MDXProvider.js.map +1 -0
  604. package/dist/schemas/config-structures/destination-config.d.ts +27 -0
  605. package/dist/schemas/config-structures/destination-config.d.ts.map +1 -0
  606. package/dist/schemas/config-structures/destination-config.js +104 -0
  607. package/dist/schemas/config-structures/destination-config.js.map +1 -0
  608. package/dist/schemas/config-structures/index.d.ts +17 -0
  609. package/dist/schemas/config-structures/index.d.ts.map +1 -0
  610. package/dist/schemas/config-structures/index.js +17 -0
  611. package/dist/schemas/config-structures/index.js.map +1 -0
  612. package/dist/schemas/config-structures/mapping-rule.d.ts +17 -0
  613. package/dist/schemas/config-structures/mapping-rule.d.ts.map +1 -0
  614. package/dist/schemas/config-structures/mapping-rule.js +81 -0
  615. package/dist/schemas/config-structures/mapping-rule.js.map +1 -0
  616. package/dist/schemas/config-structures/types.d.ts +62 -0
  617. package/dist/schemas/config-structures/types.d.ts.map +1 -0
  618. package/dist/schemas/config-structures/types.js +2 -0
  619. package/dist/schemas/config-structures/types.js.map +1 -0
  620. package/dist/schemas/mapping-rule-schema.d.ts +25 -0
  621. package/dist/schemas/mapping-rule-schema.d.ts.map +1 -0
  622. package/dist/schemas/mapping-rule-schema.js +86 -0
  623. package/dist/schemas/mapping-rule-schema.js.map +1 -0
  624. package/dist/schemas/rule-properties-schema.d.ts +42 -0
  625. package/dist/schemas/rule-properties-schema.d.ts.map +1 -0
  626. package/dist/schemas/rule-properties-schema.js +79 -0
  627. package/dist/schemas/rule-properties-schema.js.map +1 -0
  628. package/dist/schemas/value-config-schema.d.ts +36 -0
  629. package/dist/schemas/value-config-schema.d.ts.map +1 -0
  630. package/dist/schemas/value-config-schema.js +227 -0
  631. package/dist/schemas/value-config-schema.js.map +1 -0
  632. package/dist/styles.css +5240 -0
  633. package/dist/themes/index.d.ts +23 -0
  634. package/dist/themes/index.d.ts.map +1 -0
  635. package/dist/themes/index.js +29 -0
  636. package/dist/themes/index.js.map +1 -0
  637. package/dist/themes/lighthouse.d.ts +26 -0
  638. package/dist/themes/lighthouse.d.ts.map +1 -0
  639. package/dist/themes/lighthouse.js +229 -0
  640. package/dist/themes/lighthouse.js.map +1 -0
  641. package/dist/themes/palenight.d.ts +31 -0
  642. package/dist/themes/palenight.d.ts.map +1 -0
  643. package/dist/themes/palenight.js +235 -0
  644. package/dist/themes/palenight.js.map +1 -0
  645. package/dist/themes/types.d.ts +103 -0
  646. package/dist/themes/types.d.ts.map +1 -0
  647. package/dist/themes/types.js +8 -0
  648. package/dist/themes/types.js.map +1 -0
  649. package/dist/types/schemas.d.ts +29 -0
  650. package/dist/types/schemas.d.ts.map +1 -0
  651. package/dist/types/schemas.js +2 -0
  652. package/dist/types/schemas.js.map +1 -0
  653. package/dist/utils/clean-form-data.d.ts +26 -0
  654. package/dist/utils/clean-form-data.d.ts.map +1 -0
  655. package/dist/utils/clean-form-data.js +76 -0
  656. package/dist/utils/clean-form-data.js.map +1 -0
  657. package/dist/utils/code-normalizer.d.ts +11 -0
  658. package/dist/utils/code-normalizer.d.ts.map +1 -0
  659. package/dist/utils/code-normalizer.js +21 -0
  660. package/dist/utils/code-normalizer.js.map +1 -0
  661. package/dist/utils/config-validator.d.ts +12 -0
  662. package/dist/utils/config-validator.d.ts.map +1 -0
  663. package/dist/utils/config-validator.js +10 -0
  664. package/dist/utils/config-validator.js.map +1 -0
  665. package/dist/utils/consent-scanner.d.ts +19 -0
  666. package/dist/utils/consent-scanner.d.ts.map +1 -0
  667. package/dist/utils/consent-scanner.js +115 -0
  668. package/dist/utils/consent-scanner.js.map +1 -0
  669. package/dist/utils/format-code.d.ts +9 -0
  670. package/dist/utils/format-code.d.ts.map +1 -0
  671. package/dist/utils/format-code.js +68 -0
  672. package/dist/utils/format-code.js.map +1 -0
  673. package/dist/utils/generic-tree-builder.d.ts +37 -0
  674. package/dist/utils/generic-tree-builder.d.ts.map +1 -0
  675. package/dist/utils/generic-tree-builder.js +225 -0
  676. package/dist/utils/generic-tree-builder.js.map +1 -0
  677. package/dist/utils/mapping-path.d.ts +146 -0
  678. package/dist/utils/mapping-path.d.ts.map +1 -0
  679. package/dist/utils/mapping-path.js +271 -0
  680. package/dist/utils/mapping-path.js.map +1 -0
  681. package/dist/utils/monaco-context-types.d.ts +39 -0
  682. package/dist/utils/monaco-context-types.d.ts.map +1 -0
  683. package/dist/utils/monaco-context-types.js +426 -0
  684. package/dist/utils/monaco-context-types.js.map +1 -0
  685. package/dist/utils/monaco-decorators.d.ts +17 -0
  686. package/dist/utils/monaco-decorators.d.ts.map +1 -0
  687. package/dist/utils/monaco-decorators.js +79 -0
  688. package/dist/utils/monaco-decorators.js.map +1 -0
  689. package/dist/utils/monaco-formatters.d.ts +16 -0
  690. package/dist/utils/monaco-formatters.d.ts.map +1 -0
  691. package/dist/utils/monaco-formatters.js +139 -0
  692. package/dist/utils/monaco-formatters.js.map +1 -0
  693. package/dist/utils/monaco-types.d.ts +174 -0
  694. package/dist/utils/monaco-types.d.ts.map +1 -0
  695. package/dist/utils/monaco-types.js +383 -0
  696. package/dist/utils/monaco-types.js.map +1 -0
  697. package/dist/utils/path-analyzer.d.ts +88 -0
  698. package/dist/utils/path-analyzer.d.ts.map +1 -0
  699. package/dist/utils/path-analyzer.js +215 -0
  700. package/dist/utils/path-analyzer.js.map +1 -0
  701. package/dist/utils/schema-validation.d.ts +36 -0
  702. package/dist/utils/schema-validation.d.ts.map +1 -0
  703. package/dist/utils/schema-validation.js +137 -0
  704. package/dist/utils/schema-validation.js.map +1 -0
  705. package/dist/utils/type-detector.d.ts +35 -0
  706. package/dist/utils/type-detector.d.ts.map +1 -0
  707. package/dist/utils/type-detector.js +241 -0
  708. package/dist/utils/type-detector.js.map +1 -0
  709. package/dist/utils/value-display-formatter.d.ts +31 -0
  710. package/dist/utils/value-display-formatter.d.ts.map +1 -0
  711. package/dist/utils/value-display-formatter.js +110 -0
  712. package/dist/utils/value-display-formatter.js.map +1 -0
  713. package/package.json +128 -0
@@ -0,0 +1,1384 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { Destination, WalkerOS, Mapping } from '@walkeros/core';
3
+ import { RJSFSchema, UiSchema, WidgetProps, FieldProps } from '@rjsf/utils';
4
+ import React, { ReactNode, FC, PropsWithChildren } from 'react';
5
+ import * as monaco_editor from 'monaco-editor';
6
+ import { editor } from 'monaco-editor';
7
+ export { Icon } from '@iconify/react';
8
+ import { ClassValue } from 'clsx';
9
+ import { Monaco } from '@monaco-editor/react';
10
+
11
+ interface MappingDemoProps {
12
+ input?: string;
13
+ config?: string;
14
+ labelInput?: string;
15
+ labelConfig?: string;
16
+ labelOutput?: string;
17
+ fn?: (input: string, config: string) => Promise<string>;
18
+ }
19
+ /**
20
+ * MappingDemo - Interactive dual-editor component with Monaco Editor
21
+ *
22
+ * A generic component with two editable JSON editors and one output display.
23
+ * Requires a transformation function to process input+config into output.
24
+ *
25
+ * Props:
26
+ * - input: Initial JSON string for left editor (default: '{}')
27
+ * - config: Initial JSON string for middle editor (default: '{}')
28
+ * - labelInput: Label for input editor (default: "Input")
29
+ * - labelConfig: Label for config editor (default: "Config")
30
+ * - labelOutput: Label for output editor (default: "Output")
31
+ * - fn: Transformation function (input, config) => Promise<string> (required for output)
32
+ *
33
+ * Example:
34
+ * ```tsx
35
+ * <MappingDemo
36
+ * input='{ "name": "example" }'
37
+ * config='{ "transform": "uppercase" }'
38
+ * labelInput="Data"
39
+ * labelConfig="Rules"
40
+ * labelOutput="Result"
41
+ * fn={async (input, config) => {
42
+ * const data = JSON.parse(input);
43
+ * const rules = JSON.parse(config);
44
+ * // Your transformation logic
45
+ * return JSON.stringify(result, null, 2);
46
+ * }}
47
+ * />
48
+ * ```
49
+ */
50
+ declare function MappingDemo({ input: initialInput, config: initialConfig, labelInput, labelConfig, labelOutput, fn, }?: MappingDemoProps): react_jsx_runtime.JSX.Element;
51
+
52
+ interface MappingCodeProps {
53
+ input: string;
54
+ config?: string;
55
+ labelInput?: string;
56
+ labelOutput?: string;
57
+ }
58
+ /**
59
+ * MappingCode - Specialized component for walkerOS mapping demonstrations
60
+ *
61
+ * Similar to LiveCode but specifically for mapping transformations.
62
+ * Shows input code and output result side-by-side with built-in mapping logic.
63
+ *
64
+ * Props:
65
+ * - input: Code string to execute (can use await getMappingEvent, getMappingValue)
66
+ * - config: Optional mapping configuration JSON
67
+ * - labelInput: Label for input editor (default: "Configuration")
68
+ * - labelOutput: Label for output display (default: "Result")
69
+ *
70
+ * Example:
71
+ * ```tsx
72
+ * <MappingCode
73
+ * input={`await getMappingEvent(
74
+ * { name: 'product view' },
75
+ * {
76
+ * product: {
77
+ * view: { name: 'product_viewed' }
78
+ * }
79
+ * }
80
+ * );`}
81
+ * />
82
+ * ```
83
+ */
84
+ declare function MappingCode({ input: initialInput, config, labelInput, labelOutput, }: MappingCodeProps): react_jsx_runtime.JSX.Element;
85
+
86
+ interface DestinationDemoProps {
87
+ destination: Destination.Instance;
88
+ event: WalkerOS.PartialEvent;
89
+ mapping?: Mapping.Rule | string;
90
+ settings?: unknown;
91
+ generic?: boolean;
92
+ labelEvent?: string;
93
+ labelMapping?: string;
94
+ labelOutput?: string;
95
+ fn?: (event: WalkerOS.Event, context: Destination.PushContext) => Promise<string>;
96
+ }
97
+ /**
98
+ * DestinationDemo - Interactive destination testing component
99
+ *
100
+ * Automatically captures destination.push() calls and displays the output.
101
+ * The component auto-detects the destination's env from destination.examples.env.push.
102
+ *
103
+ * Props:
104
+ * - destination: Destination instance with examples.env.push export
105
+ * - event: walkerOS event to process
106
+ * - mapping: Optional mapping rules
107
+ * - settings: Destination-specific settings
108
+ * - generic: If true, wraps mapping in { '*': { '*': mapping } }
109
+ * - labelEvent: Label for event panel (default: 'Event')
110
+ * - labelMapping: Label for mapping panel (default: 'Mapping')
111
+ * - labelOutput: Label for output panel (default: 'Result')
112
+ *
113
+ * Example:
114
+ * ```tsx
115
+ * import destinationPlausible from '@walkeros/web-destination-plausible';
116
+ * import { examples } from '@walkeros/web-destination-plausible';
117
+ * import { getEvent } from '@walkeros/core';
118
+ *
119
+ * const destination = { ...destinationPlausible, examples };
120
+ *
121
+ * <DestinationDemo
122
+ * destination={destination}
123
+ * event={getEvent('order complete')}
124
+ * mapping={examples.mapping.purchase}
125
+ * settings={{ domain: 'elbwalker.com' }}
126
+ * generic={true}
127
+ * />
128
+ * ```
129
+ */
130
+ declare function createCaptureFn(fnName: string, onCapture: (output: string) => void): (...args: unknown[]) => void;
131
+ declare function DestinationDemo({ destination, event: initialEvent, mapping: initialMapping, settings, generic, labelEvent, labelMapping, labelOutput, fn, }: DestinationDemoProps): react_jsx_runtime.JSX.Element;
132
+
133
+ interface DestinationInitDemoProps {
134
+ destination: Destination.Instance;
135
+ settings?: unknown;
136
+ labelSettings?: string;
137
+ labelOutput?: string;
138
+ }
139
+ /**
140
+ * DestinationInitDemo - Interactive destination initialization testing component
141
+ *
142
+ * Automatically captures destination.init() calls and displays the output.
143
+ * The component auto-detects the destination's env from destination.examples.env.init.
144
+ *
145
+ * Props:
146
+ * - destination: Destination instance with examples.env.init export
147
+ * - settings: Initial destination-specific settings
148
+ * - labelSettings: Label for settings panel (default: 'Settings')
149
+ * - labelOutput: Label for output panel (default: 'Result')
150
+ *
151
+ * Example:
152
+ * ```tsx
153
+ * import destinationGtag from '@walkeros/web-destination-gtag';
154
+ * import { examples } from '@walkeros/web-destination-gtag';
155
+ *
156
+ * const destination = { ...destinationGtag, examples };
157
+ *
158
+ * <DestinationInitDemo
159
+ * destination={destination}
160
+ * settings={{ ga4: { measurementId: 'G-XXXXXXXXXX' } }}
161
+ * />
162
+ * ```
163
+ */
164
+ declare function DestinationInitDemo({ destination, settings: initialSettings, labelSettings, labelOutput, }: DestinationInitDemoProps): react_jsx_runtime.JSX.Element;
165
+
166
+ interface DemoEnv extends Destination.BaseEnv {
167
+ elb: (output: string) => void;
168
+ }
169
+ type DestinationCode = Destination.Instance<Destination.Types<unknown, unknown, DemoEnv>>;
170
+ /**
171
+ * Creates a gtag-style destination for demo purposes.
172
+ * Formats output as: gtag('event', 'event_name', { data })
173
+ */
174
+ declare function createGtagDestination(): DestinationCode;
175
+ /**
176
+ * Creates a Facebook Pixel-style destination for demo purposes.
177
+ * Formats output as: fbq('track', 'EventName', { data })
178
+ */
179
+ declare function createFbqDestination(): DestinationCode;
180
+ /**
181
+ * Creates a Plausible-style destination for demo purposes.
182
+ * Formats output as: plausible('event_name', { props: { data } })
183
+ */
184
+ declare function createPlausibleDestination(): DestinationCode;
185
+
186
+ interface PromotionPlaygroundProps {
187
+ initialHtml?: string;
188
+ initialCss?: string;
189
+ initialJs?: string;
190
+ initialMapping?: string;
191
+ labelCode?: string;
192
+ labelPreview?: string;
193
+ labelEvents?: string;
194
+ labelMapping?: string;
195
+ labelResult?: string;
196
+ destination?: DestinationCode;
197
+ }
198
+ /**
199
+ * PromotionPlayground - Full walkerOS demonstration with live code editing
200
+ *
201
+ * Shows the complete chain:
202
+ * 1. Code Editor - Edit HTML/CSS/JS with walkerOS data attributes
203
+ * 2. Preview - Live rendered output that captures real events
204
+ * 3. Events - Real events captured from preview interactions
205
+ * 4. Mapping - Apply transformations and see destination output
206
+ * 5. Result - Final destination function calls
207
+ */
208
+ declare function PromotionPlayground({ initialHtml, initialCss, initialJs, initialMapping, labelCode, labelPreview, labelEvents, labelMapping, labelResult, destination, }: PromotionPlaygroundProps): react_jsx_runtime.JSX.Element;
209
+
210
+ interface LiveCodeProps {
211
+ input: unknown;
212
+ config?: unknown;
213
+ output?: unknown;
214
+ options?: WalkerOS.AnyObject;
215
+ fn?: (input: unknown, config: unknown, log: (...args: unknown[]) => void, options?: WalkerOS.AnyObject) => Promise<void>;
216
+ fnName?: string;
217
+ labelInput?: string;
218
+ labelConfig?: string;
219
+ labelOutput?: string;
220
+ emptyText?: string;
221
+ disableInput?: boolean;
222
+ disableConfig?: boolean;
223
+ showQuotes?: boolean;
224
+ className?: string;
225
+ language?: string;
226
+ format?: boolean;
227
+ rowHeight?: 'auto' | 'equal' | 'synced' | number;
228
+ }
229
+ declare function LiveCode({ input: initInput, config: initConfig, output: initOutput, options, fn, fnName, labelInput, labelConfig, labelOutput, emptyText, disableInput, disableConfig, showQuotes, className, language, format, rowHeight, }: LiveCodeProps): react_jsx_runtime.JSX.Element;
230
+
231
+ interface CollectorBoxProps {
232
+ event: string;
233
+ mapping: string;
234
+ destination: DestinationCode;
235
+ label?: string;
236
+ wordWrap?: boolean;
237
+ }
238
+ /**
239
+ * CollectorBox - Runs a collector with destination to transform events
240
+ *
241
+ * Takes raw event and mapping config, processes through collector pipeline,
242
+ * and displays the formatted destination output.
243
+ *
244
+ * @example
245
+ * <CollectorBox
246
+ * event={JSON.stringify(event)}
247
+ * mapping={mappingConfig}
248
+ * destination={createGtagDestination()}
249
+ * label="Result"
250
+ * />
251
+ */
252
+ declare function CollectorBox({ event, mapping, destination, label, wordWrap, }: CollectorBoxProps): react_jsx_runtime.JSX.Element;
253
+
254
+ interface BrowserBoxProps {
255
+ html?: string;
256
+ css?: string;
257
+ js?: string;
258
+ onHtmlChange?: (value: string) => void;
259
+ onCssChange?: (value: string) => void;
260
+ onJsChange?: (value: string) => void;
261
+ showPreview?: boolean;
262
+ label?: string;
263
+ className?: string;
264
+ initialTab?: 'preview' | 'html' | 'css' | 'js';
265
+ lineNumbers?: boolean;
266
+ wordWrap?: boolean;
267
+ }
268
+ /**
269
+ * BrowserBox - Code editor with HTML/CSS/JS toggle
270
+ *
271
+ * Displays code editor with button group to switch between HTML, CSS, and JavaScript.
272
+ * Only shows tabs for content that is provided.
273
+ *
274
+ * @example
275
+ * <BrowserBox
276
+ * html={htmlCode}
277
+ * css={cssCode}
278
+ * onHtmlChange={setHtml}
279
+ * onCssChange={setCss}
280
+ * label="Code"
281
+ * />
282
+ */
283
+ declare function BrowserBox({ html, css, js, onHtmlChange, onCssChange, onJsChange, showPreview, label, className, initialTab, lineNumbers, wordWrap, }: BrowserBoxProps): react_jsx_runtime.JSX.Element;
284
+
285
+ /**
286
+ * Configuration Structure Definition
287
+ *
288
+ * Describes the SHAPE of a configuration object - what properties it has,
289
+ * how they should be edited, and how to build tree navigation.
290
+ *
291
+ * This is NOT the schema for values (that's JSON Schema).
292
+ * This IS the meta-schema that describes structure.
293
+ *
294
+ * Example:
295
+ * - DESTINATION_CONFIG_STRUCTURE describes Destination.Config shape
296
+ * - MAPPING_RULE_STRUCTURE describes Mapping.Rule shape
297
+ * - VALUE_CONFIG_MAP_STRUCTURE describes ValueConfig.map shape
298
+ */
299
+ interface ConfigStructureDef {
300
+ /** Type of the root config */
301
+ type: 'object' | 'array' | 'primitive';
302
+ /** Human-readable title */
303
+ title?: string;
304
+ /** Description of this config type */
305
+ description?: string;
306
+ /** Default NodeType for overview (when path is empty) */
307
+ rootNodeType?: NodeType;
308
+ /** Property definitions */
309
+ properties?: Record<string, PropertyDef>;
310
+ /** Special structural patterns */
311
+ patterns?: {
312
+ /** Entity → Action hierarchy (e.g., mapping.{entity}.{action}) */
313
+ 'entity-action'?: boolean;
314
+ /** Dynamic keys allowed (e.g., map.{any-key}) */
315
+ 'dynamic-keys'?: boolean;
316
+ };
317
+ }
318
+ /**
319
+ * Property Definition
320
+ *
321
+ * Describes a single property within a config structure.
322
+ */
323
+ interface PropertyDef {
324
+ /** Human-readable title */
325
+ title?: string;
326
+ /** Description of this property */
327
+ description?: string;
328
+ /** Explicit NodeType for editing this property */
329
+ nodeType?: NodeType;
330
+ /** Path to schema in schemas bundle (e.g., 'settings', 'mapping', 'id') */
331
+ schemaPath?: string;
332
+ /** How to build children for this property */
333
+ children?: ChildrenStrategy;
334
+ /** Nested structure definition (for complex properties) */
335
+ structure?: ConfigStructureDef;
336
+ /** Depth of this property in entity-action pattern */
337
+ depth?: number;
338
+ }
339
+ /**
340
+ * Children Building Strategy
341
+ *
342
+ * Determines how to build tree children for a property.
343
+ */
344
+ type ChildrenStrategy = 'entity-action' | 'schema-driven' | 'value-driven' | 'none';
345
+
346
+ /**
347
+ * Node types for different editing contexts
348
+ */
349
+ type NodeType = 'entity' | 'rule' | 'name' | 'batch' | 'policy' | 'consent' | 'settings' | 'options' | 'validationOverview' | 'valueConfig' | 'valueType' | 'primitive' | 'map' | 'loop' | 'set' | 'value' | 'fn' | 'validate' | 'condition' | 'enum' | 'boolean' | 'key';
350
+
351
+ interface NavigationState {
352
+ currentPath: string[];
353
+ nodeType: NodeType;
354
+ expandedPaths: string[][];
355
+ }
356
+
357
+ /**
358
+ * Config Editor Box
359
+ *
360
+ * Wrapper component that provides Code/Visual toggle.
361
+ * Persists navigation state when switching between views.
362
+ *
363
+ * @example
364
+ * <ConfigEditorBox
365
+ * config={destinationConfig}
366
+ * onChange={setConfig}
367
+ * structure={DESTINATION_CONFIG_STRUCTURE}
368
+ * schemas={metaSchemas}
369
+ * label="Meta Pixel Configuration"
370
+ * />
371
+ */
372
+ interface ConfigEditorBoxProps<T extends Record<string, unknown>> {
373
+ config: T;
374
+ onChange?: (config: T) => void;
375
+ structure: ConfigStructureDef;
376
+ schemas?: Record<string, RJSFSchema>;
377
+ sections?: Record<string, boolean>;
378
+ label?: string;
379
+ className?: string;
380
+ initialTab?: 'code' | 'visual';
381
+ resizable?: boolean;
382
+ showTree?: boolean;
383
+ showHeader?: boolean;
384
+ initialNavigationState?: NavigationState;
385
+ onNavigationStateChange?: (state: NavigationState) => void;
386
+ }
387
+
388
+ /**
389
+ * ConfigEditor - Generic Visual Configuration Editor
390
+ *
391
+ * A fully generic configuration editor that works at ANY depth with ANY config type.
392
+ * Uses structure definitions and schemas to provide appropriate editing UI.
393
+ *
394
+ * Key Features:
395
+ * - Works at any depth (full config or nested object)
396
+ * - Structure-driven (no hardcoded assumptions)
397
+ * - Schema-aware (validation, type hints, metadata)
398
+ * - Code/Visual toggle
399
+ * - Tree navigation
400
+ * - Validation with error overview
401
+ * - TypeScript generic for type safety
402
+ *
403
+ * @example
404
+ * // Full DestinationConfig
405
+ * <ConfigEditor
406
+ * config={destinationConfig}
407
+ * onChange={setConfig}
408
+ * structure={DESTINATION_CONFIG_STRUCTURE}
409
+ * schemas={metaSchemas}
410
+ * label="Meta Pixel Configuration"
411
+ * />
412
+ *
413
+ * @example
414
+ * // Single Rule (deep nested)
415
+ * <ConfigEditor
416
+ * config={pageViewRule}
417
+ * onChange={setRule}
418
+ * structure={MAPPING_RULE_STRUCTURE}
419
+ * schemas={{ mapping: mappingSchema }}
420
+ * label="Page View Rule"
421
+ * showTree={false}
422
+ * />
423
+ *
424
+ * @example
425
+ * // Read-only (no onChange)
426
+ * <ConfigEditor
427
+ * config={destinationConfig}
428
+ * structure={DESTINATION_CONFIG_STRUCTURE}
429
+ * initialTab="code"
430
+ * />
431
+ */
432
+ declare function ConfigEditor<T extends Record<string, unknown>>(props: ConfigEditorBoxProps<T>): react_jsx_runtime.JSX.Element;
433
+
434
+ interface FlowItem {
435
+ icon: ReactNode;
436
+ label: string;
437
+ }
438
+ interface FlowSection {
439
+ title: string;
440
+ items: FlowItem[];
441
+ }
442
+ interface FlowColumn {
443
+ title: string;
444
+ sections: FlowSection[];
445
+ }
446
+ interface ArchitectureFlowProps {
447
+ sources: FlowColumn;
448
+ center: ReactNode;
449
+ centerTitle?: string;
450
+ destinations: FlowColumn;
451
+ arrowRight?: ReactNode;
452
+ arrowDown?: ReactNode;
453
+ className?: string;
454
+ }
455
+ declare function ArchitectureFlow({ sources, center, centerTitle, destinations, arrowRight, arrowDown, className, }: ArchitectureFlowProps): react_jsx_runtime.JSX.Element;
456
+
457
+ interface CodeProps {
458
+ code: string;
459
+ language?: string;
460
+ onChange?: (code: string) => void;
461
+ disabled?: boolean;
462
+ lineNumbers?: boolean;
463
+ folding?: boolean;
464
+ wordWrap?: boolean;
465
+ className?: string;
466
+ beforeMount?: (monaco: typeof monaco_editor) => void;
467
+ onMount?: (editor: editor.IStandaloneCodeEditor) => void;
468
+ autoHeight?: boolean | {
469
+ min?: number;
470
+ max?: number;
471
+ };
472
+ fontSize?: number;
473
+ packages?: string[];
474
+ sticky?: boolean;
475
+ ide?: boolean;
476
+ }
477
+ /**
478
+ * Code - Pure Monaco editor atom
479
+ *
480
+ * Height Management:
481
+ * Two modes controlled by `autoHeight` prop:
482
+ *
483
+ * 1. Default (autoHeight=false): height="100%" - fills parent container
484
+ * - Uses flex: 1 + min-height: 0 for proper flex overflow containment
485
+ * - Monaco set to height="100%" to fill container
486
+ * - automaticLayout: true + ResizeObserver for reliable resize detection
487
+ * - Use in Grid (equal heights) and Flex contexts (fill parent)
488
+ *
489
+ * 2. Auto-height (autoHeight=true): Dynamically sizes to content
490
+ * - Uses Monaco's getContentHeight() API for accurate content measurement
491
+ * - Respects min/max boundaries (default: 100-600px)
492
+ * - Updates automatically when content changes
493
+ * - Use in standalone contexts (docs) to eliminate blank space
494
+ *
495
+ * @example
496
+ * // Grid context - use default height="100%" for equal row heights
497
+ * <Grid columns={3}>
498
+ * <CodeBox code={event} />
499
+ * <CodeBox code={mapping} />
500
+ * </Grid>
501
+ *
502
+ * @example
503
+ * // Standalone context - use autoHeight to fit content
504
+ * <CodeBox
505
+ * code={shortExample}
506
+ * autoHeight={{ min: 100, max: 600 }}
507
+ * />
508
+ */
509
+ declare function Code({ code, language, onChange, disabled, lineNumbers, folding, wordWrap, className, beforeMount, onMount, autoHeight, fontSize, packages, sticky, ide, }: CodeProps): react_jsx_runtime.JSX.Element;
510
+
511
+ /**
512
+ * Tab with code content for CodeBox
513
+ */
514
+ interface CodeBoxTab {
515
+ id: string;
516
+ label: string;
517
+ code: string;
518
+ language?: string;
519
+ }
520
+ interface CodeBoxProps extends Omit<CodeProps, 'code'> {
521
+ code?: string;
522
+ label?: string;
523
+ header?: string;
524
+ showHeader?: boolean;
525
+ tabs?: CodeBoxTab[];
526
+ activeTab?: string;
527
+ onTabChange?: (id: string) => void;
528
+ defaultTab?: string;
529
+ showTrafficLights?: boolean;
530
+ showCopy?: boolean;
531
+ showFormat?: boolean;
532
+ footer?: React.ReactNode;
533
+ height?: string | number;
534
+ style?: React.CSSProperties;
535
+ }
536
+ /**
537
+ * CodeBox - Monaco editor wrapped in a Box with header and actions
538
+ *
539
+ * Molecule that combines Box + Code atom + toolbar actions.
540
+ * Use this when you need an editor with header, copy, and format buttons.
541
+ * Use Code atom directly when you need an editor without Box wrapper.
542
+ *
543
+ * Height Behavior:
544
+ *
545
+ * Three height modes:
546
+ * 1. Grid context: Equal row heights (250-450px), fills available space
547
+ * 2. Explicit height prop: Fixed height (e.g., height={600} or height="50vh")
548
+ * 3. Auto-height prop: Dynamically sizes to content (min-max boundaries)
549
+ *
550
+ * @example
551
+ * // Grid context - use default (no autoHeight) for equal row heights
552
+ * <Grid columns={3}>
553
+ * <CodeBox code={event} label="Event" showCopy />
554
+ * <CodeBox code={mapping} label="Mapping" showFormat />
555
+ * <CodeBox code={output} label="Output" disabled />
556
+ * </Grid>
557
+ *
558
+ * @example
559
+ * // Standalone with auto-height - fits content, no blank space
560
+ * <CodeBox
561
+ * code={setupCode}
562
+ * label="Setup"
563
+ * autoHeight={{ min: 100, max: 600 }}
564
+ * disabled
565
+ * />
566
+ *
567
+ * @example
568
+ * // Explicit height override
569
+ * <CodeBox
570
+ * code={largeConfig}
571
+ * label="Configuration"
572
+ * height={600}
573
+ * showFormat
574
+ * />
575
+ */
576
+ declare function CodeBox({ code, language, onChange, disabled, autoHeight, label, header, showHeader, tabs, activeTab: controlledActiveTab, onTabChange, defaultTab, showTrafficLights, showCopy, showFormat, footer, height, style, className, ...codeProps }: CodeBoxProps): react_jsx_runtime.JSX.Element;
577
+
578
+ type CodeSnippetProps = Omit<CodeBoxProps, 'label' | 'showHeader'> & {
579
+ format?: boolean;
580
+ };
581
+ /**
582
+ * CodeSnippet - Prominent code display for snippets
583
+ *
584
+ * Wraps CodeBox with larger font size and generous padding.
585
+ * Use this for showcasing code examples, one-liners, or small code blocks
586
+ * where you want the code to be more visually prominent than in a standard editor.
587
+ *
588
+ * Always renders without a header. Use CodeBox if you need a header.
589
+ *
590
+ * Default behavior:
591
+ * - Read-only (disabled=true)
592
+ * - Copy button enabled (showCopy=true)
593
+ * - Auto-height with sensible bounds (min: 20px, max: 600px)
594
+ * - Auto-format on mount (format=true) - formats code once on initial load
595
+ *
596
+ * Auto-Formatting:
597
+ * - Enabled by default (format=true)
598
+ * - Runs once on component mount using Monaco's built-in formatters
599
+ * - Supports: JavaScript, TypeScript, JSON, HTML, CSS
600
+ * - Use format={false} to disable for special cases (pre-formatted code)
601
+ *
602
+ * Reuses all CodeBox functionality:
603
+ * - Monaco Editor with syntax highlighting
604
+ * - Grid height management and auto-height modes
605
+ * - Copy button
606
+ * - Theme integration
607
+ *
608
+ * @example
609
+ * // Minimal usage - code auto-formats on load
610
+ * <CodeSnippet
611
+ * code="import { elb } from '@walkeros/core';"
612
+ * language="javascript"
613
+ * />
614
+ *
615
+ * @example
616
+ * // Disable auto-formatting for pre-formatted code
617
+ * <CodeSnippet
618
+ * code={alreadyFormattedCode}
619
+ * language="javascript"
620
+ * format={false}
621
+ * />
622
+ *
623
+ * @example
624
+ * // Override defaults if needed
625
+ * <CodeSnippet
626
+ * code={editableCode}
627
+ * language="javascript"
628
+ * disabled={false}
629
+ * showCopy={false}
630
+ * autoHeight={{ min: 100, max: 800 }}
631
+ * />
632
+ */
633
+ declare function CodeSnippet(props: CodeSnippetProps): react_jsx_runtime.JSX.Element;
634
+
635
+ type FlowMarkerPosition = 'source' | 'source-left' | 'source-right' | 'collector' | 'collector-left' | 'collector-right' | 'destination' | 'destination-left' | 'destination-right' | `source-${string}` | `source-${string}-left` | `source-${string}-right` | `destination-${string}` | `destination-${string}-left` | `destination-${string}-right` | `pre-${string}` | `pre-${string}-left` | `pre-${string}-right` | `post-${string}` | `post-${string}-left` | `post-${string}-right` | 'stage-before' | 'stage-before-right' | 'stage-after' | 'stage-after-left' | 'incoming' | 'outgoing' | 'source-collector' | 'collector-destination' | `source-${string}-pre` | `source-${string}-collector` | `pre-${string}-next` | 'pre-collector' | 'collector-post' | `post-${string}-next` | `post-destination-${string}` | 'before-source' | 'destination-after';
636
+ interface FlowMarker {
637
+ position: FlowMarkerPosition;
638
+ /** ID displayed inside the marker dot. Default: array index + 1 */
639
+ id?: string;
640
+ /** Legend text. If provided, marker appears in legend below diagram */
641
+ text?: string;
642
+ }
643
+ interface FlowStageConfig {
644
+ /** Iconify icon name to display before the label (e.g., 'simple-icons:google-analytics') */
645
+ icon?: string;
646
+ label?: string;
647
+ text?: React.ReactNode;
648
+ description?: React.ReactNode;
649
+ highlight?: boolean;
650
+ /** Makes box clickable. undefined = default URL, false = not clickable, string = custom URL */
651
+ link?: false | string;
652
+ }
653
+ interface FlowSourceConfig extends FlowStageConfig {
654
+ /** Name of pre-transformer to connect to. Omit to connect directly to collector. */
655
+ next?: string;
656
+ }
657
+ interface FlowTransformerConfig extends FlowStageConfig {
658
+ /** Name of next transformer in chain. Omit to connect to collector (pre) or destination (post). */
659
+ next?: string;
660
+ }
661
+ interface FlowDestinationConfig extends FlowStageConfig {
662
+ /** Name of post-transformer to receive from. Omit to receive directly from collector. */
663
+ before?: string;
664
+ /** Optional: stage after this destination (e.g., external platform). Overrides shared stageAfter. */
665
+ after?: FlowStageConfig;
666
+ }
667
+ interface FlowLayoutConfig {
668
+ labelSize: number;
669
+ labelWeight: string;
670
+ textSize: number;
671
+ textWeight: string;
672
+ boxHeight: number;
673
+ descriptionSize: number;
674
+ }
675
+ interface FlowMapProps {
676
+ /** Optional: stage before source (e.g., "Browser") */
677
+ stageBefore?: FlowStageConfig;
678
+ /** Sources with named keys. Each source can specify `next` to connect to a pre-transformer. */
679
+ sources?: Record<string, FlowSourceConfig>;
680
+ /** Pre-transformers between sources and collector. Chain via `next` property. */
681
+ preTransformers?: Record<string, FlowTransformerConfig>;
682
+ /** Optional: customize collector stage */
683
+ collector?: FlowStageConfig;
684
+ /** Post-transformers between collector and destinations. */
685
+ postTransformers?: Record<string, FlowTransformerConfig>;
686
+ /** Destinations with named keys. Each destination can specify `before` to receive from a post-transformer. */
687
+ destinations?: Record<string, FlowDestinationConfig>;
688
+ /** Optional: stage after destination (e.g., "gtag") */
689
+ stageAfter?: FlowStageConfig;
690
+ /** Optional: title above diagram */
691
+ title?: string;
692
+ /** Optional: layout configuration */
693
+ layout?: FlowLayoutConfig;
694
+ /** Optional: height of stage boxes (default: 50) */
695
+ boxHeight?: number;
696
+ /** Optional: height of description area below boxes (default: 30) */
697
+ descriptionHeight?: number;
698
+ /** Optional: additional CSS class */
699
+ className?: string;
700
+ /** Optional: array of markers to display */
701
+ markers?: FlowMarker[];
702
+ /** Optional: show two arrows per connection (forward → and return ←) with parallel offset */
703
+ withReturn?: boolean;
704
+ }
705
+ declare function FlowMap({ stageBefore, sources, preTransformers, collector, postTransformers, destinations, stageAfter, title, layout, boxHeight: boxHeightProp, descriptionHeight: descriptionHeightProp, markers, className, withReturn, }: FlowMapProps): React.ReactElement;
706
+
707
+ interface PropertyTableProps {
708
+ schema: RJSFSchema;
709
+ className?: string;
710
+ }
711
+ declare function PropertyTable({ schema, className }: PropertyTableProps): react_jsx_runtime.JSX.Element;
712
+
713
+ /**
714
+ * Destination schema bundle for runtime provision
715
+ *
716
+ * Maps to Destination.Types<S, M, E> generic structure:
717
+ * - settings: JSON Schema for config-level Settings<T>
718
+ * - mapping: JSON Schema for rule-level Mapping<T> (settings inside rules)
719
+ * - data: JSON Schema for expected event data properties
720
+ *
721
+ * Used by ConfigEditor and related components to provide:
722
+ * - Type detection for editing panes
723
+ * - Validation for user input
724
+ * - Metadata (titles, descriptions, enums)
725
+ */
726
+ interface DestinationSchemas {
727
+ /** Config-level settings schema (for Settings<T>) */
728
+ settings?: RJSFSchema;
729
+ /** Config-level settings UI schema */
730
+ settingsUi?: UiSchema;
731
+ /** Rule-level mapping settings schema (for Mapping<T>) */
732
+ mapping?: RJSFSchema;
733
+ /** Rule-level mapping settings UI schema */
734
+ mappingUi?: UiSchema;
735
+ /** Expected data properties schema for destination events */
736
+ data?: RJSFSchema;
737
+ /** Data properties UI schema */
738
+ dataUi?: UiSchema;
739
+ }
740
+
741
+ /**
742
+ * Structure Definition for Destination.Config
743
+ *
744
+ * Describes the shape of a full destination configuration:
745
+ * - settings: Destination-specific settings
746
+ * - mapping: Event mapping rules (entity → action hierarchy)
747
+ * - data: Global data transformations
748
+ * - policy: Processing policy rules
749
+ * - consent: Consent requirements
750
+ * - id, loadScript, queue, verbose: Config options
751
+ *
752
+ * This structure works with DestinationBox and ConfigEditor.
753
+ */
754
+ declare const DESTINATION_CONFIG_STRUCTURE: ConfigStructureDef;
755
+
756
+ /**
757
+ * Structure Definition for Mapping.Rule
758
+ *
759
+ * Describes the shape of a single mapping rule (e.g., mapping.page.view):
760
+ * - name: Event name override
761
+ * - batch: Batch size
762
+ * - settings: Rule-level settings
763
+ * - data: Data transformations
764
+ * - consent: Consent requirements
765
+ * - condition: Condition function
766
+ * - ignore: Ignore flag
767
+ *
768
+ * This structure enables editing individual rules with ConfigEditor.
769
+ */
770
+ declare const MAPPING_RULE_STRUCTURE: ConfigStructureDef;
771
+
772
+ interface PreviewProps {
773
+ html: string;
774
+ css?: string;
775
+ onEvent?: (event: WalkerOS.Event) => void;
776
+ label?: string;
777
+ }
778
+ /**
779
+ * Preview - HTML preview wrapped in a Box with highlight buttons
780
+ *
781
+ * Renders HTML in an isolated iframe with highlight buttons footer.
782
+ * When onEvent is provided, initializes walkerOS browser source in iframe.
783
+ *
784
+ * @example
785
+ * // Read-only preview
786
+ * <Preview html={html} css={css} label="Preview" />
787
+ *
788
+ * // Interactive preview with event capture
789
+ * <Preview html={html} css={css} onEvent={(event) => console.log(event)} label="Preview" />
790
+ */
791
+ declare function Preview({ html, css, onEvent, label, }: PreviewProps): react_jsx_runtime.JSX.Element;
792
+
793
+ interface BoxTab {
794
+ id: string;
795
+ label: string;
796
+ content?: React.ReactNode;
797
+ }
798
+ interface BoxProps {
799
+ header?: string;
800
+ headerActions?: React.ReactNode;
801
+ footer?: React.ReactNode;
802
+ children?: React.ReactNode;
803
+ className?: string;
804
+ style?: React.CSSProperties;
805
+ height?: number | string;
806
+ minHeight?: number | string;
807
+ maxHeight?: number | string;
808
+ tiny?: boolean;
809
+ resizable?: boolean;
810
+ showHeader?: boolean;
811
+ tabs?: BoxTab[];
812
+ activeTab?: string;
813
+ onTabChange?: (id: string) => void;
814
+ defaultTab?: string;
815
+ showTrafficLights?: boolean;
816
+ }
817
+ declare function Box({ header, headerActions, footer, children, className, style, height, minHeight, maxHeight, tiny, resizable, showHeader, tabs, activeTab: controlledActiveTab, onTabChange, defaultTab, showTrafficLights, }: BoxProps): react_jsx_runtime.JSX.Element;
818
+
819
+ interface GridProps {
820
+ children: React.ReactNode;
821
+ columns?: number;
822
+ minBoxWidth?: number | string;
823
+ gap?: number | string;
824
+ rowHeight?: 'auto' | 'equal' | 'synced' | number;
825
+ maxRowHeight?: number | string | 'none';
826
+ showScrollButtons?: boolean;
827
+ className?: string;
828
+ }
829
+ /**
830
+ * Grid - Horizontal scrolling layout component for arranging boxes
831
+ *
832
+ * Provides consistent grid layout for box components with horizontal
833
+ * scrolling when content exceeds available space. Boxes maintain minimum
834
+ * width and never wrap to new rows.
835
+ *
836
+ * @example
837
+ * // 5 boxes with default 350px minimum width
838
+ * <Grid columns={5}>
839
+ * <CodeBox ... />
840
+ * <CodeBox ... />
841
+ * <CodeBox ... />
842
+ * <CodeBox ... />
843
+ * <CodeBox ... />
844
+ * </Grid>
845
+ *
846
+ * @example
847
+ * // Custom minimum box width
848
+ * <Grid columns={3} minBoxWidth={400}>
849
+ * <BrowserBox ... />
850
+ * <CodeBox ... />
851
+ * <CodeBox ... />
852
+ * </Grid>
853
+ *
854
+ * @example
855
+ * // Custom row height
856
+ * <Grid columns={2} rowHeight={300}>
857
+ * <CodeBox ... />
858
+ * <CodeBox ... />
859
+ * </Grid>
860
+ *
861
+ * @example
862
+ * // Auto row height (no minimum)
863
+ * <Grid columns={3} rowHeight="auto">
864
+ * <CodeBox ... />
865
+ * </Grid>
866
+ *
867
+ * @example
868
+ * // Unlimited row height (no max constraint)
869
+ * <Grid columns={2} maxRowHeight="none">
870
+ * <PropertyTable ... />
871
+ * <CodeBox ... />
872
+ * </Grid>
873
+ *
874
+ * @example
875
+ * // Custom max row height
876
+ * <Grid columns={2} maxRowHeight={800}>
877
+ * <PropertyTable ... />
878
+ * <CodeBox ... />
879
+ * </Grid>
880
+ */
881
+ declare function Grid({ children, columns, minBoxWidth, gap, rowHeight, maxRowHeight, showScrollButtons, className, }: GridProps): react_jsx_runtime.JSX.Element;
882
+
883
+ interface HeaderProps {
884
+ label: string;
885
+ children?: React.ReactNode;
886
+ }
887
+ declare function Header({ label, children }: HeaderProps): react_jsx_runtime.JSX.Element;
888
+
889
+ interface FooterProps {
890
+ children: React.ReactNode;
891
+ className?: string;
892
+ }
893
+ /**
894
+ * Footer - Footer atom component for boxes
895
+ *
896
+ * Provides a fixed-height footer area at the bottom of a box.
897
+ * Pairs with Header component for consistent box structure.
898
+ *
899
+ * @example
900
+ * <Box header="Preview">
901
+ * <Preview ... />
902
+ * <Footer>
903
+ * <ButtonGroup buttons={...} />
904
+ * </Footer>
905
+ * </Box>
906
+ */
907
+ declare function Footer({ children, className }: FooterProps): react_jsx_runtime.JSX.Element;
908
+
909
+ interface ButtonProps {
910
+ active?: boolean;
911
+ onClick?: () => void;
912
+ children: React.ReactNode;
913
+ className?: string;
914
+ }
915
+ /**
916
+ * Button - Button component for headers and controls
917
+ *
918
+ * Used in button groups or standalone in headers.
919
+ * Follows atomic design principles as a base atom.
920
+ */
921
+ declare function Button({ active, onClick, children, className, }: ButtonProps): react_jsx_runtime.JSX.Element;
922
+
923
+ interface ButtonGroupProps {
924
+ buttons: Array<{
925
+ label: string;
926
+ value: string;
927
+ active?: boolean;
928
+ }>;
929
+ onButtonClick: (value: string) => void;
930
+ className?: string;
931
+ }
932
+ /**
933
+ * ButtonGroup - Segmented control for headers
934
+ *
935
+ * Displays multiple buttons in a grouped segmented control style.
936
+ * Commonly used for tab switching (HTML/CSS/JS, etc.)
937
+ */
938
+ declare function ButtonGroup({ buttons, onButtonClick, className, }: ButtonGroupProps): react_jsx_runtime.JSX.Element;
939
+
940
+ interface ButtonLinkProps {
941
+ variant?: 'default' | 'primary' | 'secondary';
942
+ size?: 'md' | 'lg';
943
+ href?: string;
944
+ onClick?: () => void;
945
+ children: React.ReactNode;
946
+ className?: string;
947
+ disabled?: boolean;
948
+ }
949
+ declare function ButtonLink({ variant, size, href, onClick, children, className, disabled, }: ButtonLinkProps): react_jsx_runtime.JSX.Element;
950
+
951
+ /**
952
+ * MappingKeyWidget - RJSF widget for key property
953
+ *
954
+ * Manages the key property of ValueConfig - a string path to extract
955
+ * values from events (e.g., 'data.id', 'user.email', 'globals.currency').
956
+ *
957
+ * Features:
958
+ * - Simple text input for path entry
959
+ * - Helpful examples and common path patterns
960
+ * - Clean, focused interface for single property editing
961
+ *
962
+ * @example
963
+ * // In schema:
964
+ * const schema = {
965
+ * type: 'object',
966
+ * properties: {
967
+ * key: {
968
+ * type: 'string',
969
+ * title: 'Key',
970
+ * description: 'Extract value from event path'
971
+ * }
972
+ * }
973
+ * }
974
+ *
975
+ * @example
976
+ * // In uiSchema:
977
+ * const uiSchema = {
978
+ * key: {
979
+ * 'ui:widget': 'mappingKey'
980
+ * }
981
+ * }
982
+ */
983
+ declare function MappingKeyWidget(props: WidgetProps): react_jsx_runtime.JSX.Element;
984
+
985
+ /**
986
+ * MappingKeyField - RJSF field wrapper for key property
987
+ *
988
+ * Bridges RJSF FieldProps to our custom MappingKeyWidget.
989
+ * Required because RJSF uses fields (not widgets) for custom field rendering.
990
+ *
991
+ * @example
992
+ * // Register in field registry:
993
+ * export const mappingFields: RegistryFieldsType = {
994
+ * mappingKey: MappingKeyField,
995
+ * };
996
+ *
997
+ * @example
998
+ * // Use in uiSchema:
999
+ * const uiSchema = {
1000
+ * key: {
1001
+ * 'ui:field': 'mappingKey'
1002
+ * }
1003
+ * };
1004
+ */
1005
+ declare function MappingKeyField(props: FieldProps): react_jsx_runtime.JSX.Element;
1006
+
1007
+ /**
1008
+ * Hint item definition
1009
+ */
1010
+ interface HintItem {
1011
+ code: string;
1012
+ description: string;
1013
+ }
1014
+ /**
1015
+ * PanelHints - Reusable hints component for panel views
1016
+ *
1017
+ * Displays a clean, modern hints box with code examples and descriptions.
1018
+ * Used across all property panel views for consistency.
1019
+ *
1020
+ * Features:
1021
+ * - Minimal design with subtle background
1022
+ * - Code-first presentation
1023
+ * - Clean typography
1024
+ * - Theme-aware styling
1025
+ *
1026
+ * @example
1027
+ * <PanelHints
1028
+ * title="Common patterns"
1029
+ * hints={[
1030
+ * { code: 'data.id', description: 'Product identifier' },
1031
+ * { code: 'user.email', description: 'User email address' }
1032
+ * ]}
1033
+ * />
1034
+ */
1035
+ interface PanelHintsProps {
1036
+ title?: string;
1037
+ hints: HintItem[];
1038
+ className?: string;
1039
+ }
1040
+ declare function PanelHints({ title, hints, className, }: PanelHintsProps): react_jsx_runtime.JSX.Element;
1041
+
1042
+ /**
1043
+ * MDXProvider - Makes components available in MDX files without explicit imports
1044
+ *
1045
+ * This provider wraps MDX content and injects React components for HTML elements.
1046
+ * Components are automatically used when rendering markdown/MDX content.
1047
+ *
1048
+ * Key features:
1049
+ * - No imports needed in MDX files
1050
+ * - Consistent styling across all documentation
1051
+ * - Theme-aware (respects data-theme attribute)
1052
+ * - Automatic inline vs block code detection
1053
+ *
1054
+ * Available components (no import needed):
1055
+ * - CodeBox: Monaco editor for code display (also auto-used for ```code blocks)
1056
+ * - PropertyTable: Display schema-based property documentation
1057
+ * - DestinationInitDemo: Interactive demo for destination initialization
1058
+ * - DestinationDemo: Interactive demo for destination event processing
1059
+ *
1060
+ * @example
1061
+ * // Wrap your app
1062
+ * <MDXProvider>
1063
+ * <App />
1064
+ * </MDXProvider>
1065
+ *
1066
+ * @example
1067
+ * // Then in any .mdx file, no imports needed:
1068
+ * # Documentation
1069
+ *
1070
+ * Inline `code` and markdown blocks:
1071
+ * ```typescript
1072
+ * const example = "Hello";
1073
+ * ```
1074
+ *
1075
+ * Or use components directly:
1076
+ * <CodeBox code="const x = 1;" language="javascript" />
1077
+ * <PropertyTable schema={mySchema} />
1078
+ */
1079
+ declare const MDXProvider: FC<PropsWithChildren>;
1080
+
1081
+ interface MDXCodeProps {
1082
+ className?: string;
1083
+ }
1084
+ /**
1085
+ * MDXCode - Code component for MDX files
1086
+ *
1087
+ * Automatically detects and renders inline vs block code:
1088
+ * - Inline code: `example` → <code className="elb-code-inline">
1089
+ * - Block code: ```language\ncode\n``` → Uses CodeBox with Monaco editor
1090
+ *
1091
+ * Language detection:
1092
+ * - Extracts language from className (e.g., "language-typescript")
1093
+ * - Maps common MDX language names to Monaco language IDs
1094
+ *
1095
+ * Block code features (via CodeBox):
1096
+ * - Full Monaco editor with syntax highlighting
1097
+ * - Theme-aware (Palenight dark, VS Light)
1098
+ * - Copy to clipboard button
1099
+ * - Auto-height to fit content
1100
+ * - Read-only mode
1101
+ *
1102
+ * @example
1103
+ * // In MDX files (no import needed with MDXProvider):
1104
+ * Inline `code` example
1105
+ *
1106
+ * ```typescript
1107
+ * const block = "code";
1108
+ * ```
1109
+ */
1110
+ declare const MDXCode: FC<PropsWithChildren<MDXCodeProps>>;
1111
+
1112
+ /**
1113
+ * Utility function to merge class names with Tailwind CSS classes
1114
+ * Uses clsx for conditional classes and tailwind-merge to handle conflicts
1115
+ */
1116
+ declare function cn(...inputs: ClassValue[]): string;
1117
+
1118
+ declare const palenightTheme: editor.IStandaloneThemeData;
1119
+ /**
1120
+ * Register the palenight theme with Monaco Editor
1121
+ * Call this function before creating any editor instances
1122
+ */
1123
+ declare function registerPalenightTheme(monaco: typeof monaco_editor): void;
1124
+
1125
+ declare const lighthouseTheme: editor.IStandaloneThemeData;
1126
+ /**
1127
+ * Register the lighthouse theme with Monaco Editor
1128
+ * Call this function before creating any editor instances
1129
+ */
1130
+ declare function registerLighthouseTheme(monaco: typeof monaco_editor): void;
1131
+
1132
+ /**
1133
+ * TypeScript type definitions for walkerOS Explorer themes
1134
+ *
1135
+ * These types provide type-safe access to theme properties and enable
1136
+ * programmatic theme customization.
1137
+ */
1138
+ interface ExplorerTheme {
1139
+ mode: 'light' | 'dark';
1140
+ colors: {
1141
+ text: string;
1142
+ textLabel: string;
1143
+ textButton: string;
1144
+ textButtonHover: string;
1145
+ textButtonActive: string;
1146
+ textMuted: string;
1147
+ textToggle: string;
1148
+ textInput: string;
1149
+ textPlaceholder: string;
1150
+ bgBox: string;
1151
+ bgHeader: string;
1152
+ bgFooter: string;
1153
+ bgButtonHover: string;
1154
+ bgButtonActive: string;
1155
+ bgButtonGroup: string;
1156
+ bgInput: string;
1157
+ bgInputHover: string;
1158
+ bgCodeInline: string;
1159
+ bgDropdown: string;
1160
+ bgDropdownOptionHover: string;
1161
+ bgDropdownOptionHighlighted: string;
1162
+ borderBox: string;
1163
+ borderHeader: string;
1164
+ borderFooter: string;
1165
+ borderButtonGroup: string;
1166
+ borderInput: string;
1167
+ borderInputFocus: string;
1168
+ buttonPrimary: string;
1169
+ buttonPrimaryHover: string;
1170
+ buttonPrimaryText: string;
1171
+ buttonDanger: string;
1172
+ buttonDangerHover: string;
1173
+ buttonDangerText: string;
1174
+ statusEnabled: string;
1175
+ statusDisabled: string;
1176
+ statusWarning: string;
1177
+ highlightPrimary: string;
1178
+ highlightGlobals: string;
1179
+ highlightContext: string;
1180
+ highlightEntity: string;
1181
+ highlightProperty: string;
1182
+ highlightAction: string;
1183
+ highlightBackground: string;
1184
+ highlightText: string;
1185
+ highlightHover: string;
1186
+ highlightSeparator: string;
1187
+ };
1188
+ typography: {
1189
+ fontFamily: string;
1190
+ fontMono: string;
1191
+ fontSize: {
1192
+ base: string;
1193
+ label: string;
1194
+ toggle: string;
1195
+ highlightButton: string;
1196
+ };
1197
+ fontWeight: {
1198
+ normal: number;
1199
+ semibold: number;
1200
+ };
1201
+ lineHeight: {
1202
+ base: number;
1203
+ };
1204
+ };
1205
+ spacing: {
1206
+ header: string;
1207
+ footer: string;
1208
+ button: string;
1209
+ buttonGroup: string;
1210
+ gridGap: string;
1211
+ };
1212
+ radius: {
1213
+ box: string;
1214
+ button: string;
1215
+ buttonGroup: string;
1216
+ highlightButton: string;
1217
+ };
1218
+ shadows: {
1219
+ buttonActive: string;
1220
+ dropdown: string;
1221
+ };
1222
+ grid: {
1223
+ minBoxWidth: string;
1224
+ rowMinHeight: string;
1225
+ rowMaxHeight: string;
1226
+ boxMaxHeightMobile: string;
1227
+ };
1228
+ monaco: {
1229
+ theme: string;
1230
+ fontSize: string;
1231
+ lineHeight: string;
1232
+ };
1233
+ }
1234
+
1235
+ /**
1236
+ * Register all Monaco themes
1237
+ * Convenience function for registering both themes at once
1238
+ *
1239
+ * @example
1240
+ * ```typescript
1241
+ * import { registerAllThemes } from '@walkeros/explorer';
1242
+ * import * as monaco from 'monaco-editor';
1243
+ *
1244
+ * registerAllThemes(monaco);
1245
+ * ```
1246
+ */
1247
+ declare function registerAllThemes(monaco: typeof monaco_editor): void;
1248
+
1249
+ /**
1250
+ * Monaco Editor TypeScript Type Management
1251
+ *
1252
+ * This utility manages TypeScript type definitions in Monaco Editor for:
1253
+ * 1. Static walkerOS core types (bundled at build time via Vite ?raw import)
1254
+ * 2. Dynamic destination types (loaded on-the-fly when destinations are added)
1255
+ * 3. Context-specific function signatures (condition, fn, validate)
1256
+ *
1257
+ * Architecture:
1258
+ * - Uses monaco.languages.typescript.typescriptDefaults.addExtraLib()
1259
+ * - Each type definition gets a unique file path (e.g., 'file:///destinations/gtag.d.ts')
1260
+ * - Types can be added/removed dynamically without page reload
1261
+ * - Core types are bundled for offline support and predictable versioning
1262
+ */
1263
+
1264
+ /**
1265
+ * Load type definitions from a URL
1266
+ *
1267
+ * @param monaco - Monaco instance
1268
+ * @param url - URL to .d.ts file
1269
+ * @param uri - Optional custom URI (defaults to URL)
1270
+ */
1271
+ declare function loadTypeLibraryFromURL(monaco: Monaco, url: string, uri?: string): Promise<boolean>;
1272
+ /**
1273
+ * Options for loading package types dynamically
1274
+ */
1275
+ interface LoadPackageTypesOptions {
1276
+ /** Package name (e.g., '@walkeros/destination-gtag') */
1277
+ package: string;
1278
+ /** Version to load (e.g., '0.1.0', 'latest') */
1279
+ version?: string;
1280
+ /** CDN to use ('unpkg' or 'jsdelivr') */
1281
+ cdn?: 'unpkg' | 'jsdelivr';
1282
+ /** Path to .d.ts file within package (defaults to '/dist/index.d.ts') */
1283
+ typesPath?: string;
1284
+ }
1285
+ interface LoadPackageTypesOptions {
1286
+ package: string;
1287
+ version?: string;
1288
+ }
1289
+ declare function loadPackageTypes(monaco: Monaco, options: LoadPackageTypesOptions): Promise<boolean>;
1290
+ /**
1291
+ * Simple helper to register only walkerOS core types
1292
+ *
1293
+ * Use this for basic scenarios where you just need @walkeros/core types.
1294
+ * For advanced usage (destinations, function contexts), use initializeMonacoTypes.
1295
+ *
1296
+ * @param monaco - Monaco editor instance
1297
+ *
1298
+ * @example
1299
+ * ```typescript
1300
+ * const handleBeforeMount = (monaco: Monaco) => {
1301
+ * registerWalkerOSTypes(monaco);
1302
+ * };
1303
+ * ```
1304
+ */
1305
+ declare function registerWalkerOSTypes(monaco: Monaco): void;
1306
+ /**
1307
+ * Initialize Monaco with walkerOS types (full setup)
1308
+ *
1309
+ * Call this once in CodeBox's beforeMount handler.
1310
+ * Includes core types, TypeScript config, and default function context.
1311
+ *
1312
+ * @param monaco - Monaco editor instance
1313
+ *
1314
+ * @example
1315
+ * ```typescript
1316
+ * const handleBeforeMount = (monaco: Monaco) => {
1317
+ * initializeMonacoTypes(monaco);
1318
+ * };
1319
+ * ```
1320
+ */
1321
+ declare function initializeMonacoTypes(monaco: Monaco): void;
1322
+
1323
+ /**
1324
+ * Formats captured function calls for display
1325
+ *
1326
+ * @param calls - Array of captured calls with path and args
1327
+ * @param defaultMessage - Message to show when no calls captured
1328
+ * @returns Formatted string of function calls
1329
+ *
1330
+ * @example
1331
+ * formatCapturedCalls([
1332
+ * { path: ['window', 'gtag'], args: ['config', 'G-XXX'] }
1333
+ * ])
1334
+ * // Returns: "gtag('config', 'G-XXX');"
1335
+ */
1336
+ declare function formatCapturedCalls(calls: Array<{
1337
+ path: string[];
1338
+ args: unknown[];
1339
+ }>, defaultMessage?: string): string;
1340
+ /**
1341
+ * Creates a capture function for destination push method
1342
+ * Uses walkerOS core mockEnv to intercept function calls
1343
+ *
1344
+ * @param destination - Destination instance with push method
1345
+ * @param destinationEnv - Destination's exported env (usually examples.env.push)
1346
+ * @returns Async function that executes push and returns formatted output
1347
+ *
1348
+ * @example
1349
+ * import destinationGtag, { examples } from '@walkeros/web-destination-gtag';
1350
+ * import { getEvent } from '@walkeros/core';
1351
+ *
1352
+ * const captureFn = captureDestinationPush(destinationGtag, examples.env.push);
1353
+ *
1354
+ * // Use in DestinationDemo
1355
+ * <DestinationDemo
1356
+ * destination={destinationGtag}
1357
+ * event={getEvent('order complete')}
1358
+ * mapping={examples.mapping.purchase}
1359
+ * fn={captureFn}
1360
+ * />
1361
+ */
1362
+ declare function captureDestinationPush(destination: Destination.Instance, destinationEnv: unknown): (event: WalkerOS.Event, context: Destination.PushContext) => Promise<string>;
1363
+ /**
1364
+ * Advanced: Creates a raw capture function that returns call data
1365
+ * Use this when you need custom formatting or processing of calls
1366
+ *
1367
+ * @param destinationEnv - Destination's exported env
1368
+ * @returns Function that returns both env and getCalls function
1369
+ *
1370
+ * @example
1371
+ * const { env, getCalls } = createRawCapture(examples.env.push);
1372
+ * await destination.init({ ...context, env });
1373
+ * const calls = getCalls();
1374
+ * // Process calls as needed
1375
+ */
1376
+ declare function createRawCapture(destinationEnv: unknown): {
1377
+ env: Record<string, unknown>;
1378
+ getCalls: () => {
1379
+ path: string[];
1380
+ args: unknown[];
1381
+ }[];
1382
+ };
1383
+
1384
+ export { ArchitectureFlow, type ArchitectureFlowProps, Box, type BoxProps, type BoxTab, BrowserBox, type BrowserBoxProps, Button, ButtonGroup, type ButtonGroupProps, ButtonLink, type ButtonLinkProps, type ButtonProps, Code, CodeBox, type CodeBoxProps, type CodeBoxTab, type CodeProps, CodeSnippet, type CodeSnippetProps, CollectorBox, type CollectorBoxProps, ConfigEditor, type ConfigEditorBoxProps, DESTINATION_CONFIG_STRUCTURE, DestinationDemo, type DestinationDemoProps, DestinationInitDemo as DestinationInit, DestinationInitDemo, type DestinationInitDemoProps, DestinationDemo as DestinationPush, type DestinationSchemas, type ExplorerTheme, type FlowColumn, type FlowItem, FlowMap, type FlowMapProps, type FlowSection, type FlowStageConfig, Footer, type FooterProps, Grid, type GridProps, Header, type HeaderProps, type HintItem, LiveCode, type LiveCodeProps, type LoadPackageTypesOptions, MAPPING_RULE_STRUCTURE, MDXCode, MDXProvider, MappingCode, type MappingCodeProps, MappingDemo, type MappingDemoProps, MappingKeyField, MappingKeyWidget, PanelHints, type PanelHintsProps, Preview, type PreviewProps, PromotionPlayground, type PromotionPlaygroundProps, PropertyTable, type PropertyTableProps, captureDestinationPush, cn, createCaptureFn, createFbqDestination, createGtagDestination, createPlausibleDestination, createRawCapture, formatCapturedCalls, initializeMonacoTypes, lighthouseTheme, loadPackageTypes, loadTypeLibraryFromURL, palenightTheme, registerAllThemes, registerLighthouseTheme, registerPalenightTheme, registerWalkerOSTypes };