@walkeros/explorer 0.5.0 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (711) hide show
  1. package/AGENT.md +25 -0
  2. package/dist/__mocks__/@monaco-editor/react.d.ts +3 -0
  3. package/dist/__mocks__/@monaco-editor/react.d.ts.map +1 -0
  4. package/dist/__mocks__/@monaco-editor/react.js +4 -0
  5. package/dist/__mocks__/@monaco-editor/react.js.map +1 -0
  6. package/dist/{chunk-WKBCYMTQ.mjs → chunk-VWWAIDNX.mjs} +442 -153
  7. package/dist/chunk-VWWAIDNX.mjs.map +1 -0
  8. package/dist/components/atoms/base-mapping-pane.d.ts +85 -0
  9. package/dist/components/atoms/base-mapping-pane.d.ts.map +1 -0
  10. package/dist/components/atoms/base-mapping-pane.js +53 -0
  11. package/dist/components/atoms/base-mapping-pane.js.map +1 -0
  12. package/dist/components/atoms/box.d.ts +27 -0
  13. package/dist/components/atoms/box.d.ts.map +1 -0
  14. package/dist/components/atoms/box.js +86 -0
  15. package/dist/components/atoms/box.js.map +1 -0
  16. package/dist/components/atoms/box.stories.d.ts +34 -0
  17. package/dist/components/atoms/box.stories.d.ts.map +1 -0
  18. package/dist/components/atoms/box.stories.js +104 -0
  19. package/dist/components/atoms/box.stories.js.map +1 -0
  20. package/dist/components/atoms/button-group.d.ts +17 -0
  21. package/dist/components/atoms/button-group.d.ts.map +1 -0
  22. package/dist/components/atoms/button-group.js +12 -0
  23. package/dist/components/atoms/button-group.js.map +1 -0
  24. package/dist/components/atoms/button-group.stories.d.ts +18 -0
  25. package/dist/components/atoms/button-group.stories.d.ts.map +1 -0
  26. package/dist/components/atoms/button-group.stories.js +35 -0
  27. package/dist/components/atoms/button-group.stories.js.map +1 -0
  28. package/dist/components/atoms/button-link.d.ts +12 -0
  29. package/dist/components/atoms/button-link.d.ts.map +1 -0
  30. package/dist/components/atoms/button-link.js +10 -0
  31. package/dist/components/atoms/button-link.js.map +1 -0
  32. package/dist/components/atoms/button-link.stories.d.ts +13 -0
  33. package/dist/components/atoms/button-link.stories.d.ts.map +1 -0
  34. package/dist/components/atoms/button-link.stories.js +64 -0
  35. package/dist/components/atoms/button-link.stories.js.map +1 -0
  36. package/dist/components/atoms/button.d.ts +15 -0
  37. package/dist/components/atoms/button.d.ts.map +1 -0
  38. package/dist/components/atoms/button.js +11 -0
  39. package/dist/components/atoms/button.js.map +1 -0
  40. package/dist/components/atoms/code.d.ts +55 -0
  41. package/dist/components/atoms/code.d.ts.map +1 -0
  42. package/dist/components/atoms/code.js +251 -0
  43. package/dist/components/atoms/code.js.map +1 -0
  44. package/dist/components/atoms/code.stories.d.ts +53 -0
  45. package/dist/components/atoms/code.stories.d.ts.map +1 -0
  46. package/dist/components/atoms/code.stories.js +190 -0
  47. package/dist/components/atoms/code.stories.js.map +1 -0
  48. package/dist/components/atoms/config-tile.d.ts +38 -0
  49. package/dist/components/atoms/config-tile.d.ts.map +1 -0
  50. package/dist/components/atoms/config-tile.js +29 -0
  51. package/dist/components/atoms/config-tile.js.map +1 -0
  52. package/dist/components/atoms/consent-state-tile.d.ts +14 -0
  53. package/dist/components/atoms/consent-state-tile.d.ts.map +1 -0
  54. package/dist/components/atoms/consent-state-tile.js +5 -0
  55. package/dist/components/atoms/consent-state-tile.js.map +1 -0
  56. package/dist/components/atoms/field-header.d.ts +41 -0
  57. package/dist/components/atoms/field-header.d.ts.map +1 -0
  58. package/dist/components/atoms/field-header.js +42 -0
  59. package/dist/components/atoms/field-header.js.map +1 -0
  60. package/dist/components/atoms/footer.d.ts +21 -0
  61. package/dist/components/atoms/footer.d.ts.map +1 -0
  62. package/dist/components/atoms/footer.js +19 -0
  63. package/dist/components/atoms/footer.js.map +1 -0
  64. package/dist/components/atoms/grid.d.ts +65 -0
  65. package/dist/components/atoms/grid.d.ts.map +1 -0
  66. package/dist/components/atoms/grid.js +169 -0
  67. package/dist/components/atoms/grid.js.map +1 -0
  68. package/dist/components/atoms/header.d.ts +7 -0
  69. package/dist/components/atoms/header.d.ts.map +1 -0
  70. package/dist/components/atoms/header.js +5 -0
  71. package/dist/components/atoms/header.js.map +1 -0
  72. package/dist/components/atoms/icon-button.d.ts +26 -0
  73. package/dist/components/atoms/icon-button.d.ts.map +1 -0
  74. package/dist/components/atoms/icon-button.js +39 -0
  75. package/dist/components/atoms/icon-button.js.map +1 -0
  76. package/dist/components/atoms/icons/icons.d.ts +2 -0
  77. package/dist/components/atoms/icons/icons.d.ts.map +1 -0
  78. package/dist/components/atoms/icons/icons.js +7 -0
  79. package/dist/components/atoms/icons/icons.js.map +1 -0
  80. package/dist/components/atoms/icons/index.d.ts +3 -0
  81. package/dist/components/atoms/icons/index.d.ts.map +1 -0
  82. package/dist/components/atoms/icons/index.js +3 -0
  83. package/dist/components/atoms/icons/index.js.map +1 -0
  84. package/dist/components/atoms/mapping-boolean.d.ts +31 -0
  85. package/dist/components/atoms/mapping-boolean.d.ts.map +1 -0
  86. package/dist/components/atoms/mapping-boolean.js +38 -0
  87. package/dist/components/atoms/mapping-boolean.js.map +1 -0
  88. package/dist/components/atoms/mapping-breadcrumb.d.ts +14 -0
  89. package/dist/components/atoms/mapping-breadcrumb.d.ts.map +1 -0
  90. package/dist/components/atoms/mapping-breadcrumb.js +10 -0
  91. package/dist/components/atoms/mapping-breadcrumb.js.map +1 -0
  92. package/dist/components/atoms/mapping-collapsible.d.ts +54 -0
  93. package/dist/components/atoms/mapping-collapsible.d.ts.map +1 -0
  94. package/dist/components/atoms/mapping-collapsible.js +87 -0
  95. package/dist/components/atoms/mapping-collapsible.js.map +1 -0
  96. package/dist/components/atoms/mapping-condition-field.d.ts +18 -0
  97. package/dist/components/atoms/mapping-condition-field.d.ts.map +1 -0
  98. package/dist/components/atoms/mapping-condition-field.js +34 -0
  99. package/dist/components/atoms/mapping-condition-field.js.map +1 -0
  100. package/dist/components/atoms/mapping-condition.d.ts +34 -0
  101. package/dist/components/atoms/mapping-condition.d.ts.map +1 -0
  102. package/dist/components/atoms/mapping-condition.js +70 -0
  103. package/dist/components/atoms/mapping-condition.js.map +1 -0
  104. package/dist/components/atoms/mapping-confirm-button.d.ts +29 -0
  105. package/dist/components/atoms/mapping-confirm-button.d.ts.map +1 -0
  106. package/dist/components/atoms/mapping-confirm-button.js +42 -0
  107. package/dist/components/atoms/mapping-confirm-button.js.map +1 -0
  108. package/dist/components/atoms/mapping-consent-field.d.ts +20 -0
  109. package/dist/components/atoms/mapping-consent-field.d.ts.map +1 -0
  110. package/dist/components/atoms/mapping-consent-field.js +36 -0
  111. package/dist/components/atoms/mapping-consent-field.js.map +1 -0
  112. package/dist/components/atoms/mapping-consent.d.ts +34 -0
  113. package/dist/components/atoms/mapping-consent.d.ts.map +1 -0
  114. package/dist/components/atoms/mapping-consent.js +86 -0
  115. package/dist/components/atoms/mapping-consent.js.map +1 -0
  116. package/dist/components/atoms/mapping-data-field.d.ts +23 -0
  117. package/dist/components/atoms/mapping-data-field.d.ts.map +1 -0
  118. package/dist/components/atoms/mapping-data-field.js +38 -0
  119. package/dist/components/atoms/mapping-data-field.js.map +1 -0
  120. package/dist/components/atoms/mapping-data.d.ts +34 -0
  121. package/dist/components/atoms/mapping-data.d.ts.map +1 -0
  122. package/dist/components/atoms/mapping-data.js +76 -0
  123. package/dist/components/atoms/mapping-data.js.map +1 -0
  124. package/dist/components/atoms/mapping-enum-select.d.ts +28 -0
  125. package/dist/components/atoms/mapping-enum-select.d.ts.map +1 -0
  126. package/dist/components/atoms/mapping-enum-select.js +142 -0
  127. package/dist/components/atoms/mapping-enum-select.js.map +1 -0
  128. package/dist/components/atoms/mapping-fn-field.d.ts +23 -0
  129. package/dist/components/atoms/mapping-fn-field.d.ts.map +1 -0
  130. package/dist/components/atoms/mapping-fn-field.js +38 -0
  131. package/dist/components/atoms/mapping-fn-field.js.map +1 -0
  132. package/dist/components/atoms/mapping-fn.d.ts +34 -0
  133. package/dist/components/atoms/mapping-fn.d.ts.map +1 -0
  134. package/dist/components/atoms/mapping-fn.js +70 -0
  135. package/dist/components/atoms/mapping-fn.js.map +1 -0
  136. package/dist/components/atoms/mapping-grid.d.ts +45 -0
  137. package/dist/components/atoms/mapping-grid.d.ts.map +1 -0
  138. package/dist/components/atoms/mapping-grid.js +83 -0
  139. package/dist/components/atoms/mapping-grid.js.map +1 -0
  140. package/dist/components/atoms/mapping-input-with-button.d.ts +54 -0
  141. package/dist/components/atoms/mapping-input-with-button.d.ts.map +1 -0
  142. package/dist/components/atoms/mapping-input-with-button.js +54 -0
  143. package/dist/components/atoms/mapping-input-with-button.js.map +1 -0
  144. package/dist/components/atoms/mapping-input.d.ts +44 -0
  145. package/dist/components/atoms/mapping-input.d.ts.map +1 -0
  146. package/dist/components/atoms/mapping-input.js +35 -0
  147. package/dist/components/atoms/mapping-input.js.map +1 -0
  148. package/dist/components/atoms/mapping-key-field.d.ts +23 -0
  149. package/dist/components/atoms/mapping-key-field.d.ts.map +1 -0
  150. package/dist/components/atoms/mapping-key-field.js +39 -0
  151. package/dist/components/atoms/mapping-key-field.js.map +1 -0
  152. package/dist/components/atoms/mapping-key.d.ts +35 -0
  153. package/dist/components/atoms/mapping-key.d.ts.map +1 -0
  154. package/dist/components/atoms/mapping-key.js +48 -0
  155. package/dist/components/atoms/mapping-key.js.map +1 -0
  156. package/dist/components/atoms/mapping-map-entry.d.ts +31 -0
  157. package/dist/components/atoms/mapping-map-entry.d.ts.map +1 -0
  158. package/dist/components/atoms/mapping-map-entry.js +68 -0
  159. package/dist/components/atoms/mapping-map-entry.js.map +1 -0
  160. package/dist/components/atoms/mapping-number.d.ts +32 -0
  161. package/dist/components/atoms/mapping-number.d.ts.map +1 -0
  162. package/dist/components/atoms/mapping-number.js +52 -0
  163. package/dist/components/atoms/mapping-number.js.map +1 -0
  164. package/dist/components/atoms/mapping-object-explorer-field.d.ts +30 -0
  165. package/dist/components/atoms/mapping-object-explorer-field.d.ts.map +1 -0
  166. package/dist/components/atoms/mapping-object-explorer-field.js +48 -0
  167. package/dist/components/atoms/mapping-object-explorer-field.js.map +1 -0
  168. package/dist/components/atoms/mapping-object-explorer.d.ts +59 -0
  169. package/dist/components/atoms/mapping-object-explorer.d.ts.map +1 -0
  170. package/dist/components/atoms/mapping-object-explorer.js +215 -0
  171. package/dist/components/atoms/mapping-object-explorer.js.map +1 -0
  172. package/dist/components/atoms/mapping-set-entry.d.ts +31 -0
  173. package/dist/components/atoms/mapping-set-entry.d.ts.map +1 -0
  174. package/dist/components/atoms/mapping-set-entry.js +66 -0
  175. package/dist/components/atoms/mapping-set-entry.js.map +1 -0
  176. package/dist/components/atoms/mapping-settings-field.d.ts +33 -0
  177. package/dist/components/atoms/mapping-settings-field.d.ts.map +1 -0
  178. package/dist/components/atoms/mapping-settings-field.js +48 -0
  179. package/dist/components/atoms/mapping-settings-field.js.map +1 -0
  180. package/dist/components/atoms/mapping-settings.d.ts +44 -0
  181. package/dist/components/atoms/mapping-settings.d.ts.map +1 -0
  182. package/dist/components/atoms/mapping-settings.js +108 -0
  183. package/dist/components/atoms/mapping-settings.js.map +1 -0
  184. package/dist/components/atoms/mapping-string.d.ts +19 -0
  185. package/dist/components/atoms/mapping-string.d.ts.map +1 -0
  186. package/dist/components/atoms/mapping-string.js +26 -0
  187. package/dist/components/atoms/mapping-string.js.map +1 -0
  188. package/dist/components/atoms/mapping-tab.d.ts +15 -0
  189. package/dist/components/atoms/mapping-tab.d.ts.map +1 -0
  190. package/dist/components/atoms/mapping-tab.js +8 -0
  191. package/dist/components/atoms/mapping-tab.js.map +1 -0
  192. package/dist/components/atoms/mapping-type-button.d.ts +19 -0
  193. package/dist/components/atoms/mapping-type-button.d.ts.map +1 -0
  194. package/dist/components/atoms/mapping-type-button.js +5 -0
  195. package/dist/components/atoms/mapping-type-button.js.map +1 -0
  196. package/dist/components/atoms/mapping-validate-field.d.ts +23 -0
  197. package/dist/components/atoms/mapping-validate-field.d.ts.map +1 -0
  198. package/dist/components/atoms/mapping-validate-field.js +38 -0
  199. package/dist/components/atoms/mapping-validate-field.js.map +1 -0
  200. package/dist/components/atoms/mapping-validate.d.ts +34 -0
  201. package/dist/components/atoms/mapping-validate.d.ts.map +1 -0
  202. package/dist/components/atoms/mapping-validate.js +68 -0
  203. package/dist/components/atoms/mapping-validate.js.map +1 -0
  204. package/dist/components/atoms/mapping-value.d.ts +17 -0
  205. package/dist/components/atoms/mapping-value.d.ts.map +1 -0
  206. package/dist/components/atoms/mapping-value.js +127 -0
  207. package/dist/components/atoms/mapping-value.js.map +1 -0
  208. package/dist/components/atoms/mdx-code.d.ts +33 -0
  209. package/dist/components/atoms/mdx-code.d.ts.map +1 -0
  210. package/dist/components/atoms/mdx-code.js +69 -0
  211. package/dist/components/atoms/mdx-code.js.map +1 -0
  212. package/dist/components/atoms/pane-header.d.ts +24 -0
  213. package/dist/components/atoms/pane-header.d.ts.map +1 -0
  214. package/dist/components/atoms/pane-header.js +5 -0
  215. package/dist/components/atoms/pane-header.js.map +1 -0
  216. package/dist/components/atoms/panel-hints.d.ts +35 -0
  217. package/dist/components/atoms/panel-hints.d.ts.map +1 -0
  218. package/dist/components/atoms/panel-hints.js +5 -0
  219. package/dist/components/atoms/panel-hints.js.map +1 -0
  220. package/dist/components/atoms/preview-footer.d.ts +32 -0
  221. package/dist/components/atoms/preview-footer.d.ts.map +1 -0
  222. package/dist/components/atoms/preview-footer.js +31 -0
  223. package/dist/components/atoms/preview-footer.js.map +1 -0
  224. package/dist/components/atoms/toggle.d.ts +9 -0
  225. package/dist/components/atoms/toggle.d.ts.map +1 -0
  226. package/dist/components/atoms/toggle.js +6 -0
  227. package/dist/components/atoms/toggle.js.map +1 -0
  228. package/dist/components/demos/DestinationDemo.d.ts +48 -0
  229. package/dist/components/demos/DestinationDemo.d.ts.map +1 -0
  230. package/dist/components/demos/DestinationDemo.js +105 -0
  231. package/dist/components/demos/DestinationDemo.js.map +1 -0
  232. package/dist/components/demos/DestinationDemo.stories.d.ts +17 -0
  233. package/dist/components/demos/DestinationDemo.stories.d.ts.map +1 -0
  234. package/dist/components/demos/DestinationDemo.stories.js +53 -0
  235. package/dist/components/demos/DestinationDemo.stories.js.map +1 -0
  236. package/dist/components/demos/DestinationInitDemo.d.ts +34 -0
  237. package/dist/components/demos/DestinationInitDemo.d.ts.map +1 -0
  238. package/dist/components/demos/DestinationInitDemo.js +73 -0
  239. package/dist/components/demos/DestinationInitDemo.js.map +1 -0
  240. package/dist/components/demos/DestinationInitDemo.stories.d.ts +17 -0
  241. package/dist/components/demos/DestinationInitDemo.stories.d.ts.map +1 -0
  242. package/dist/components/demos/DestinationInitDemo.stories.js +39 -0
  243. package/dist/components/demos/DestinationInitDemo.stories.js.map +1 -0
  244. package/dist/components/demos/MappingCode.d.ts +34 -0
  245. package/dist/components/demos/MappingCode.d.ts.map +1 -0
  246. package/dist/components/demos/MappingCode.js +54 -0
  247. package/dist/components/demos/MappingCode.js.map +1 -0
  248. package/dist/components/demos/MappingCode.stories.d.ts +16 -0
  249. package/dist/components/demos/MappingCode.stories.d.ts.map +1 -0
  250. package/dist/components/demos/MappingCode.stories.js +42 -0
  251. package/dist/components/demos/MappingCode.stories.js.map +1 -0
  252. package/dist/components/demos/MappingDemo.d.ts +41 -0
  253. package/dist/components/demos/MappingDemo.d.ts.map +1 -0
  254. package/dist/components/demos/MappingDemo.js +62 -0
  255. package/dist/components/demos/MappingDemo.js.map +1 -0
  256. package/dist/components/demos/MappingDemo.stories.d.ts +16 -0
  257. package/dist/components/demos/MappingDemo.stories.d.ts.map +1 -0
  258. package/dist/components/demos/MappingDemo.stories.js +63 -0
  259. package/dist/components/demos/MappingDemo.stories.js.map +1 -0
  260. package/dist/components/demos/PromotionPlayground.d.ts +25 -0
  261. package/dist/components/demos/PromotionPlayground.d.ts.map +1 -0
  262. package/dist/components/demos/PromotionPlayground.js +280 -0
  263. package/dist/components/demos/PromotionPlayground.js.map +1 -0
  264. package/dist/components/demos/PromotionPlayground.stories.d.ts +27 -0
  265. package/dist/components/demos/PromotionPlayground.stories.d.ts.map +1 -0
  266. package/dist/components/demos/PromotionPlayground.stories.js +32 -0
  267. package/dist/components/demos/PromotionPlayground.stories.js.map +1 -0
  268. package/dist/components/forms/field-registry.d.ts +42 -0
  269. package/dist/components/forms/field-registry.d.ts.map +1 -0
  270. package/dist/components/forms/field-registry.js +64 -0
  271. package/dist/components/forms/field-registry.js.map +1 -0
  272. package/dist/components/forms/mapping-form-wrapper.d.ts +14 -0
  273. package/dist/components/forms/mapping-form-wrapper.d.ts.map +1 -0
  274. package/dist/components/forms/mapping-form-wrapper.js +105 -0
  275. package/dist/components/forms/mapping-form-wrapper.js.map +1 -0
  276. package/dist/components/forms/widget-registry.d.ts +42 -0
  277. package/dist/components/forms/widget-registry.d.ts.map +1 -0
  278. package/dist/components/forms/widget-registry.js +54 -0
  279. package/dist/components/forms/widget-registry.js.map +1 -0
  280. package/dist/components/molecules/architecture-flow/ArchitectureFlow.d.ts +24 -0
  281. package/dist/components/molecules/architecture-flow/ArchitectureFlow.d.ts.map +1 -0
  282. package/dist/components/molecules/architecture-flow/ArchitectureFlow.js +10 -0
  283. package/dist/components/molecules/architecture-flow/ArchitectureFlow.js.map +1 -0
  284. package/dist/components/molecules/architecture-flow/ArchitectureFlow.stories.d.ts +7 -0
  285. package/dist/components/molecules/architecture-flow/ArchitectureFlow.stories.d.ts.map +1 -0
  286. package/dist/components/molecules/architecture-flow/ArchitectureFlow.stories.js +71 -0
  287. package/dist/components/molecules/architecture-flow/ArchitectureFlow.stories.js.map +1 -0
  288. package/dist/components/molecules/architecture-flow/index.d.ts +3 -0
  289. package/dist/components/molecules/architecture-flow/index.d.ts.map +1 -0
  290. package/dist/components/molecules/architecture-flow/index.js +2 -0
  291. package/dist/components/molecules/architecture-flow/index.js.map +1 -0
  292. package/dist/components/molecules/auto-select.d.ts +29 -0
  293. package/dist/components/molecules/auto-select.d.ts.map +1 -0
  294. package/dist/components/molecules/auto-select.js +188 -0
  295. package/dist/components/molecules/auto-select.js.map +1 -0
  296. package/dist/components/molecules/code-box.d.ts +69 -0
  297. package/dist/components/molecules/code-box.d.ts.map +1 -0
  298. package/dist/components/molecules/code-box.js +109 -0
  299. package/dist/components/molecules/code-box.js.map +1 -0
  300. package/dist/components/molecules/code-box.stories.d.ts +30 -0
  301. package/dist/components/molecules/code-box.stories.d.ts.map +1 -0
  302. package/dist/components/molecules/code-box.stories.js +127 -0
  303. package/dist/components/molecules/code-box.stories.js.map +1 -0
  304. package/dist/components/molecules/code-snippet.d.ts +58 -0
  305. package/dist/components/molecules/code-snippet.d.ts.map +1 -0
  306. package/dist/components/molecules/code-snippet.js +72 -0
  307. package/dist/components/molecules/code-snippet.js.map +1 -0
  308. package/dist/components/molecules/code-snippet.stories.d.ts +20 -0
  309. package/dist/components/molecules/code-snippet.stories.d.ts.map +1 -0
  310. package/dist/components/molecules/code-snippet.stories.js +68 -0
  311. package/dist/components/molecules/code-snippet.stories.js.map +1 -0
  312. package/dist/components/molecules/config-overview-pane.d.ts +44 -0
  313. package/dist/components/molecules/config-overview-pane.d.ts.map +1 -0
  314. package/dist/components/molecules/config-overview-pane.js +75 -0
  315. package/dist/components/molecules/config-overview-pane.js.map +1 -0
  316. package/dist/components/molecules/config-tree-sidebar.d.ts +46 -0
  317. package/dist/components/molecules/config-tree-sidebar.d.ts.map +1 -0
  318. package/dist/components/molecules/config-tree-sidebar.js +183 -0
  319. package/dist/components/molecules/config-tree-sidebar.js.map +1 -0
  320. package/dist/components/molecules/destination-config-overview-pane.d.ts +33 -0
  321. package/dist/components/molecules/destination-config-overview-pane.d.ts.map +1 -0
  322. package/dist/components/molecules/destination-config-overview-pane.js +153 -0
  323. package/dist/components/molecules/destination-config-overview-pane.js.map +1 -0
  324. package/dist/components/molecules/flow-map/FlowMap.d.ts +74 -0
  325. package/dist/components/molecules/flow-map/FlowMap.d.ts.map +1 -0
  326. package/dist/components/molecules/flow-map/FlowMap.js +1028 -0
  327. package/dist/components/molecules/flow-map/FlowMap.js.map +1 -0
  328. package/dist/components/molecules/flow-map/FlowMap.stories.d.ts +73 -0
  329. package/dist/components/molecules/flow-map/FlowMap.stories.d.ts.map +1 -0
  330. package/dist/components/molecules/flow-map/FlowMap.stories.js +587 -0
  331. package/dist/components/molecules/flow-map/FlowMap.stories.js.map +1 -0
  332. package/dist/components/molecules/flow-map/FlowMap.transformers.stories.d.ts +45 -0
  333. package/dist/components/molecules/flow-map/FlowMap.transformers.stories.d.ts.map +1 -0
  334. package/dist/components/molecules/flow-map/FlowMap.transformers.stories.js +195 -0
  335. package/dist/components/molecules/flow-map/FlowMap.transformers.stories.js.map +1 -0
  336. package/dist/components/molecules/flow-map/index.d.ts +3 -0
  337. package/dist/components/molecules/flow-map/index.d.ts.map +1 -0
  338. package/dist/components/molecules/flow-map/index.js +2 -0
  339. package/dist/components/molecules/flow-map/index.js.map +1 -0
  340. package/dist/components/molecules/mapping-batch-pane-view.d.ts +22 -0
  341. package/dist/components/molecules/mapping-batch-pane-view.d.ts.map +1 -0
  342. package/dist/components/molecules/mapping-batch-pane-view.js +45 -0
  343. package/dist/components/molecules/mapping-batch-pane-view.js.map +1 -0
  344. package/dist/components/molecules/mapping-boolean-pane-view.d.ts +28 -0
  345. package/dist/components/molecules/mapping-boolean-pane-view.d.ts.map +1 -0
  346. package/dist/components/molecules/mapping-boolean-pane-view.js +34 -0
  347. package/dist/components/molecules/mapping-boolean-pane-view.js.map +1 -0
  348. package/dist/components/molecules/mapping-condition-pane-view.d.ts +18 -0
  349. package/dist/components/molecules/mapping-condition-pane-view.d.ts.map +1 -0
  350. package/dist/components/molecules/mapping-condition-pane-view.js +63 -0
  351. package/dist/components/molecules/mapping-condition-pane-view.js.map +1 -0
  352. package/dist/components/molecules/mapping-consent-pane-view.d.ts +16 -0
  353. package/dist/components/molecules/mapping-consent-pane-view.d.ts.map +1 -0
  354. package/dist/components/molecules/mapping-consent-pane-view.js +65 -0
  355. package/dist/components/molecules/mapping-consent-pane-view.js.map +1 -0
  356. package/dist/components/molecules/mapping-consent-row.d.ts +29 -0
  357. package/dist/components/molecules/mapping-consent-row.d.ts.map +1 -0
  358. package/dist/components/molecules/mapping-consent-row.js +26 -0
  359. package/dist/components/molecules/mapping-consent-row.js.map +1 -0
  360. package/dist/components/molecules/mapping-entity-pane.d.ts +17 -0
  361. package/dist/components/molecules/mapping-entity-pane.d.ts.map +1 -0
  362. package/dist/components/molecules/mapping-entity-pane.js +68 -0
  363. package/dist/components/molecules/mapping-entity-pane.js.map +1 -0
  364. package/dist/components/molecules/mapping-enum-pane-view.d.ts +40 -0
  365. package/dist/components/molecules/mapping-enum-pane-view.d.ts.map +1 -0
  366. package/dist/components/molecules/mapping-enum-pane-view.js +32 -0
  367. package/dist/components/molecules/mapping-enum-pane-view.js.map +1 -0
  368. package/dist/components/molecules/mapping-fn-pane-view.d.ts +18 -0
  369. package/dist/components/molecules/mapping-fn-pane-view.d.ts.map +1 -0
  370. package/dist/components/molecules/mapping-fn-pane-view.js +77 -0
  371. package/dist/components/molecules/mapping-fn-pane-view.js.map +1 -0
  372. package/dist/components/molecules/mapping-function-pane-base.d.ts +53 -0
  373. package/dist/components/molecules/mapping-function-pane-base.d.ts.map +1 -0
  374. package/dist/components/molecules/mapping-function-pane-base.js +60 -0
  375. package/dist/components/molecules/mapping-function-pane-base.js.map +1 -0
  376. package/dist/components/molecules/mapping-key-pane-view.d.ts +23 -0
  377. package/dist/components/molecules/mapping-key-pane-view.d.ts.map +1 -0
  378. package/dist/components/molecules/mapping-key-pane-view.js +12 -0
  379. package/dist/components/molecules/mapping-key-pane-view.js.map +1 -0
  380. package/dist/components/molecules/mapping-loop-field.d.ts +44 -0
  381. package/dist/components/molecules/mapping-loop-field.d.ts.map +1 -0
  382. package/dist/components/molecules/mapping-loop-field.js +133 -0
  383. package/dist/components/molecules/mapping-loop-field.js.map +1 -0
  384. package/dist/components/molecules/mapping-loop-pane-view.d.ts +28 -0
  385. package/dist/components/molecules/mapping-loop-pane-view.d.ts.map +1 -0
  386. package/dist/components/molecules/mapping-loop-pane-view.js +44 -0
  387. package/dist/components/molecules/mapping-loop-pane-view.js.map +1 -0
  388. package/dist/components/molecules/mapping-map-field.d.ts +31 -0
  389. package/dist/components/molecules/mapping-map-field.d.ts.map +1 -0
  390. package/dist/components/molecules/mapping-map-field.js +120 -0
  391. package/dist/components/molecules/mapping-map-field.js.map +1 -0
  392. package/dist/components/molecules/mapping-map-overview.d.ts +13 -0
  393. package/dist/components/molecules/mapping-map-overview.d.ts.map +1 -0
  394. package/dist/components/molecules/mapping-map-overview.js +58 -0
  395. package/dist/components/molecules/mapping-map-overview.js.map +1 -0
  396. package/dist/components/molecules/mapping-map-pane-view-rjsf.d.ts +53 -0
  397. package/dist/components/molecules/mapping-map-pane-view-rjsf.d.ts.map +1 -0
  398. package/dist/components/molecules/mapping-map-pane-view-rjsf.js +127 -0
  399. package/dist/components/molecules/mapping-map-pane-view-rjsf.js.map +1 -0
  400. package/dist/components/molecules/mapping-name-pane-view.d.ts +22 -0
  401. package/dist/components/molecules/mapping-name-pane-view.d.ts.map +1 -0
  402. package/dist/components/molecules/mapping-name-pane-view.js +38 -0
  403. package/dist/components/molecules/mapping-name-pane-view.js.map +1 -0
  404. package/dist/components/molecules/mapping-navigation-header.d.ts +27 -0
  405. package/dist/components/molecules/mapping-navigation-header.d.ts.map +1 -0
  406. package/dist/components/molecules/mapping-navigation-header.js +7 -0
  407. package/dist/components/molecules/mapping-navigation-header.js.map +1 -0
  408. package/dist/components/molecules/mapping-overview-pane.d.ts +14 -0
  409. package/dist/components/molecules/mapping-overview-pane.d.ts.map +1 -0
  410. package/dist/components/molecules/mapping-overview-pane.js +60 -0
  411. package/dist/components/molecules/mapping-overview-pane.js.map +1 -0
  412. package/dist/components/molecules/mapping-pane.d.ts +52 -0
  413. package/dist/components/molecules/mapping-pane.d.ts.map +1 -0
  414. package/dist/components/molecules/mapping-pane.js +155 -0
  415. package/dist/components/molecules/mapping-pane.js.map +1 -0
  416. package/dist/components/molecules/mapping-policy-overview-pane.d.ts +26 -0
  417. package/dist/components/molecules/mapping-policy-overview-pane.d.ts.map +1 -0
  418. package/dist/components/molecules/mapping-policy-overview-pane.js +69 -0
  419. package/dist/components/molecules/mapping-policy-overview-pane.js.map +1 -0
  420. package/dist/components/molecules/mapping-primitive-pane-view.d.ts +30 -0
  421. package/dist/components/molecules/mapping-primitive-pane-view.d.ts.map +1 -0
  422. package/dist/components/molecules/mapping-primitive-pane-view.js +43 -0
  423. package/dist/components/molecules/mapping-primitive-pane-view.js.map +1 -0
  424. package/dist/components/molecules/mapping-rule-pane-view.d.ts +25 -0
  425. package/dist/components/molecules/mapping-rule-pane-view.d.ts.map +1 -0
  426. package/dist/components/molecules/mapping-rule-pane-view.js +35 -0
  427. package/dist/components/molecules/mapping-rule-pane-view.js.map +1 -0
  428. package/dist/components/molecules/mapping-set-field.d.ts +34 -0
  429. package/dist/components/molecules/mapping-set-field.d.ts.map +1 -0
  430. package/dist/components/molecules/mapping-set-field.js +160 -0
  431. package/dist/components/molecules/mapping-set-field.js.map +1 -0
  432. package/dist/components/molecules/mapping-set-pane-view.d.ts +31 -0
  433. package/dist/components/molecules/mapping-set-pane-view.d.ts.map +1 -0
  434. package/dist/components/molecules/mapping-set-pane-view.js +96 -0
  435. package/dist/components/molecules/mapping-set-pane-view.js.map +1 -0
  436. package/dist/components/molecules/mapping-tab-bar.d.ts +15 -0
  437. package/dist/components/molecules/mapping-tab-bar.d.ts.map +1 -0
  438. package/dist/components/molecules/mapping-tab-bar.js +9 -0
  439. package/dist/components/molecules/mapping-tab-bar.js.map +1 -0
  440. package/dist/components/molecules/mapping-tree-sidebar.d.ts +59 -0
  441. package/dist/components/molecules/mapping-tree-sidebar.d.ts.map +1 -0
  442. package/dist/components/molecules/mapping-tree-sidebar.js +491 -0
  443. package/dist/components/molecules/mapping-tree-sidebar.js.map +1 -0
  444. package/dist/components/molecules/mapping-type-grid.d.ts +12 -0
  445. package/dist/components/molecules/mapping-type-grid.d.ts.map +1 -0
  446. package/dist/components/molecules/mapping-type-grid.js +107 -0
  447. package/dist/components/molecules/mapping-type-grid.js.map +1 -0
  448. package/dist/components/molecules/mapping-type-selector.d.ts +21 -0
  449. package/dist/components/molecules/mapping-type-selector.d.ts.map +1 -0
  450. package/dist/components/molecules/mapping-type-selector.js +38 -0
  451. package/dist/components/molecules/mapping-type-selector.js.map +1 -0
  452. package/dist/components/molecules/mapping-validate-pane-view.d.ts +19 -0
  453. package/dist/components/molecules/mapping-validate-pane-view.d.ts.map +1 -0
  454. package/dist/components/molecules/mapping-validate-pane-view.js +66 -0
  455. package/dist/components/molecules/mapping-validate-pane-view.js.map +1 -0
  456. package/dist/components/molecules/mapping-value-config-pane-view.d.ts +30 -0
  457. package/dist/components/molecules/mapping-value-config-pane-view.d.ts.map +1 -0
  458. package/dist/components/molecules/mapping-value-config-pane-view.js +105 -0
  459. package/dist/components/molecules/mapping-value-config-pane-view.js.map +1 -0
  460. package/dist/components/molecules/mapping-value-pane-view.d.ts +28 -0
  461. package/dist/components/molecules/mapping-value-pane-view.d.ts.map +1 -0
  462. package/dist/components/molecules/mapping-value-pane-view.js +40 -0
  463. package/dist/components/molecules/mapping-value-pane-view.js.map +1 -0
  464. package/dist/components/molecules/mapping-value-type-pane-view.d.ts +27 -0
  465. package/dist/components/molecules/mapping-value-type-pane-view.d.ts.map +1 -0
  466. package/dist/components/molecules/mapping-value-type-pane-view.js +253 -0
  467. package/dist/components/molecules/mapping-value-type-pane-view.js.map +1 -0
  468. package/dist/components/molecules/options-pane.d.ts +28 -0
  469. package/dist/components/molecules/options-pane.d.ts.map +1 -0
  470. package/dist/components/molecules/options-pane.js +80 -0
  471. package/dist/components/molecules/options-pane.js.map +1 -0
  472. package/dist/components/molecules/preview.d.ts +22 -0
  473. package/dist/components/molecules/preview.d.ts.map +1 -0
  474. package/dist/components/molecules/preview.js +221 -0
  475. package/dist/components/molecules/preview.js.map +1 -0
  476. package/dist/components/molecules/preview.stories.d.ts +23 -0
  477. package/dist/components/molecules/preview.stories.d.ts.map +1 -0
  478. package/dist/components/molecules/preview.stories.js +186 -0
  479. package/dist/components/molecules/preview.stories.js.map +1 -0
  480. package/dist/components/molecules/property-suggestions.d.ts +17 -0
  481. package/dist/components/molecules/property-suggestions.d.ts.map +1 -0
  482. package/dist/components/molecules/property-suggestions.js +56 -0
  483. package/dist/components/molecules/property-suggestions.js.map +1 -0
  484. package/dist/components/molecules/property-table.d.ts +7 -0
  485. package/dist/components/molecules/property-table.d.ts.map +1 -0
  486. package/dist/components/molecules/property-table.js +88 -0
  487. package/dist/components/molecules/property-table.js.map +1 -0
  488. package/dist/components/molecules/property-table.stories.d.ts +24 -0
  489. package/dist/components/molecules/property-table.stories.d.ts.map +1 -0
  490. package/dist/components/molecules/property-table.stories.js +86 -0
  491. package/dist/components/molecules/property-table.stories.js.map +1 -0
  492. package/dist/components/molecules/settings-overview-pane.d.ts +32 -0
  493. package/dist/components/molecules/settings-overview-pane.d.ts.map +1 -0
  494. package/dist/components/molecules/settings-overview-pane.js +85 -0
  495. package/dist/components/molecules/settings-overview-pane.js.map +1 -0
  496. package/dist/components/molecules/validation-overview-pane.d.ts +27 -0
  497. package/dist/components/molecules/validation-overview-pane.d.ts.map +1 -0
  498. package/dist/components/molecules/validation-overview-pane.js +50 -0
  499. package/dist/components/molecules/validation-overview-pane.js.map +1 -0
  500. package/dist/components/organisms/browser-box.d.ts +31 -0
  501. package/dist/components/organisms/browser-box.d.ts.map +1 -0
  502. package/dist/components/organisms/browser-box.js +80 -0
  503. package/dist/components/organisms/browser-box.js.map +1 -0
  504. package/dist/components/organisms/browser-box.stories.d.ts +26 -0
  505. package/dist/components/organisms/browser-box.stories.d.ts.map +1 -0
  506. package/dist/components/organisms/browser-box.stories.js +102 -0
  507. package/dist/components/organisms/browser-box.stories.js.map +1 -0
  508. package/dist/components/organisms/collector-box.d.ts +24 -0
  509. package/dist/components/organisms/collector-box.d.ts.map +1 -0
  510. package/dist/components/organisms/collector-box.js +56 -0
  511. package/dist/components/organisms/collector-box.js.map +1 -0
  512. package/dist/components/organisms/collector-box.stories.d.ts +22 -0
  513. package/dist/components/organisms/collector-box.stories.d.ts.map +1 -0
  514. package/dist/components/organisms/collector-box.stories.js +59 -0
  515. package/dist/components/organisms/collector-box.stories.js.map +1 -0
  516. package/dist/components/organisms/config-editor/config-editor-box.d.ts +35 -0
  517. package/dist/components/organisms/config-editor/config-editor-box.d.ts.map +1 -0
  518. package/dist/components/organisms/config-editor/config-editor-box.js +50 -0
  519. package/dist/components/organisms/config-editor/config-editor-box.js.map +1 -0
  520. package/dist/components/organisms/config-editor/config-editor-tabs.d.ts +52 -0
  521. package/dist/components/organisms/config-editor/config-editor-tabs.d.ts.map +1 -0
  522. package/dist/components/organisms/config-editor/config-editor-tabs.js +127 -0
  523. package/dist/components/organisms/config-editor/config-editor-tabs.js.map +1 -0
  524. package/dist/components/organisms/config-editor/config-editor.d.ts +47 -0
  525. package/dist/components/organisms/config-editor/config-editor.d.ts.map +1 -0
  526. package/dist/components/organisms/config-editor/config-editor.js +50 -0
  527. package/dist/components/organisms/config-editor/config-editor.js.map +1 -0
  528. package/dist/components/organisms/config-editor/config-editor.stories.d.ts +25 -0
  529. package/dist/components/organisms/config-editor/config-editor.stories.d.ts.map +1 -0
  530. package/dist/components/organisms/config-editor/config-editor.stories.js +77 -0
  531. package/dist/components/organisms/config-editor/config-editor.stories.js.map +1 -0
  532. package/dist/components/organisms/config-editor/index.d.ts +22 -0
  533. package/dist/components/organisms/config-editor/index.d.ts.map +1 -0
  534. package/dist/components/organisms/config-editor/index.js +20 -0
  535. package/dist/components/organisms/config-editor/index.js.map +1 -0
  536. package/dist/components/organisms/live-code.d.ts +22 -0
  537. package/dist/components/organisms/live-code.d.ts.map +1 -0
  538. package/dist/components/organisms/live-code.js +50 -0
  539. package/dist/components/organisms/live-code.js.map +1 -0
  540. package/dist/components/organisms/live-code.stories.d.ts +24 -0
  541. package/dist/components/organisms/live-code.stories.d.ts.map +1 -0
  542. package/dist/components/organisms/live-code.stories.js +55 -0
  543. package/dist/components/organisms/live-code.stories.js.map +1 -0
  544. package/dist/components/ui/button.d.ts +4 -0
  545. package/dist/components/ui/button.d.ts.map +1 -0
  546. package/dist/components/ui/button.js +6 -0
  547. package/dist/components/ui/button.js.map +1 -0
  548. package/dist/components/ui/icon.d.ts +5 -0
  549. package/dist/components/ui/icon.d.ts.map +1 -0
  550. package/dist/components/ui/icon.js +5 -0
  551. package/dist/components/ui/icon.js.map +1 -0
  552. package/dist/components/ui/label.d.ts +5 -0
  553. package/dist/components/ui/label.d.ts.map +1 -0
  554. package/dist/components/ui/label.js +5 -0
  555. package/dist/components/ui/label.js.map +1 -0
  556. package/dist/contexts/GridHeightContext.d.ts +11 -0
  557. package/dist/contexts/GridHeightContext.d.ts.map +1 -0
  558. package/dist/contexts/GridHeightContext.js +14 -0
  559. package/dist/contexts/GridHeightContext.js.map +1 -0
  560. package/dist/helpers/capture.d.ts +83 -0
  561. package/dist/helpers/capture.d.ts.map +1 -0
  562. package/dist/helpers/capture.js +125 -0
  563. package/dist/helpers/capture.js.map +1 -0
  564. package/dist/helpers/destinations.d.ts +21 -0
  565. package/dist/helpers/destinations.d.ts.map +1 -0
  566. package/dist/helpers/destinations.js +46 -0
  567. package/dist/helpers/destinations.js.map +1 -0
  568. package/dist/hooks/useMappingNavigation.d.ts +62 -0
  569. package/dist/hooks/useMappingNavigation.d.ts.map +1 -0
  570. package/dist/hooks/useMappingNavigation.js +339 -0
  571. package/dist/hooks/useMappingNavigation.js.map +1 -0
  572. package/dist/hooks/useMappingState.d.ts +56 -0
  573. package/dist/hooks/useMappingState.d.ts.map +1 -0
  574. package/dist/hooks/useMappingState.js +142 -0
  575. package/dist/hooks/useMappingState.js.map +1 -0
  576. package/dist/hooks/useMonacoHeight.d.ts +31 -0
  577. package/dist/hooks/useMonacoHeight.d.ts.map +1 -0
  578. package/dist/hooks/useMonacoHeight.js +83 -0
  579. package/dist/hooks/useMonacoHeight.js.map +1 -0
  580. package/dist/hooks/useTreeState.d.ts +32 -0
  581. package/dist/hooks/useTreeState.d.ts.map +1 -0
  582. package/dist/hooks/useTreeState.js +94 -0
  583. package/dist/hooks/useTreeState.js.map +1 -0
  584. package/dist/index.d.cts +140 -32
  585. package/dist/index.d.ts +65 -1276
  586. package/dist/index.d.ts.map +1 -0
  587. package/dist/index.js +49 -16696
  588. package/dist/index.js.map +1 -1
  589. package/dist/index.mjs +3598 -801
  590. package/dist/index.mjs.map +1 -1
  591. package/dist/lib/utils.d.ts +7 -0
  592. package/dist/lib/utils.d.ts.map +1 -0
  593. package/dist/lib/utils.js +10 -0
  594. package/dist/lib/utils.js.map +1 -0
  595. package/dist/{monaco-types-GHUJ2SZE.mjs → monaco-types-4FIH5OVX.mjs} +2 -2
  596. package/dist/providers/MDXProvider.d.ts +40 -0
  597. package/dist/providers/MDXProvider.d.ts.map +1 -0
  598. package/dist/providers/MDXProvider.js +57 -0
  599. package/dist/providers/MDXProvider.js.map +1 -0
  600. package/dist/schemas/config-structures/destination-config.d.ts +27 -0
  601. package/dist/schemas/config-structures/destination-config.d.ts.map +1 -0
  602. package/dist/schemas/config-structures/destination-config.js +104 -0
  603. package/dist/schemas/config-structures/destination-config.js.map +1 -0
  604. package/dist/schemas/config-structures/index.d.ts +17 -0
  605. package/dist/schemas/config-structures/index.d.ts.map +1 -0
  606. package/dist/schemas/config-structures/index.js +17 -0
  607. package/dist/schemas/config-structures/index.js.map +1 -0
  608. package/dist/schemas/config-structures/mapping-rule.d.ts +17 -0
  609. package/dist/schemas/config-structures/mapping-rule.d.ts.map +1 -0
  610. package/dist/schemas/config-structures/mapping-rule.js +81 -0
  611. package/dist/schemas/config-structures/mapping-rule.js.map +1 -0
  612. package/dist/schemas/config-structures/types.d.ts +62 -0
  613. package/dist/schemas/config-structures/types.d.ts.map +1 -0
  614. package/dist/schemas/config-structures/types.js +2 -0
  615. package/dist/schemas/config-structures/types.js.map +1 -0
  616. package/dist/schemas/mapping-rule-schema.d.ts +25 -0
  617. package/dist/schemas/mapping-rule-schema.d.ts.map +1 -0
  618. package/dist/schemas/mapping-rule-schema.js +86 -0
  619. package/dist/schemas/mapping-rule-schema.js.map +1 -0
  620. package/dist/schemas/rule-properties-schema.d.ts +42 -0
  621. package/dist/schemas/rule-properties-schema.d.ts.map +1 -0
  622. package/dist/schemas/rule-properties-schema.js +79 -0
  623. package/dist/schemas/rule-properties-schema.js.map +1 -0
  624. package/dist/schemas/value-config-schema.d.ts +36 -0
  625. package/dist/schemas/value-config-schema.d.ts.map +1 -0
  626. package/dist/schemas/value-config-schema.js +227 -0
  627. package/dist/schemas/value-config-schema.js.map +1 -0
  628. package/dist/styles.css +247 -0
  629. package/dist/themes/index.d.ts +23 -0
  630. package/dist/themes/index.d.ts.map +1 -0
  631. package/dist/themes/index.js +29 -0
  632. package/dist/themes/index.js.map +1 -0
  633. package/dist/themes/lighthouse.d.ts +26 -0
  634. package/dist/themes/lighthouse.d.ts.map +1 -0
  635. package/dist/themes/lighthouse.js +229 -0
  636. package/dist/themes/lighthouse.js.map +1 -0
  637. package/dist/themes/palenight.d.ts +31 -0
  638. package/dist/themes/palenight.d.ts.map +1 -0
  639. package/dist/themes/palenight.js +235 -0
  640. package/dist/themes/palenight.js.map +1 -0
  641. package/dist/themes/types.d.ts +103 -0
  642. package/dist/themes/types.d.ts.map +1 -0
  643. package/dist/themes/types.js +8 -0
  644. package/dist/themes/types.js.map +1 -0
  645. package/dist/types/schemas.d.ts +29 -0
  646. package/dist/types/schemas.d.ts.map +1 -0
  647. package/dist/types/schemas.js +2 -0
  648. package/dist/types/schemas.js.map +1 -0
  649. package/dist/utils/clean-form-data.d.ts +26 -0
  650. package/dist/utils/clean-form-data.d.ts.map +1 -0
  651. package/dist/utils/clean-form-data.js +76 -0
  652. package/dist/utils/clean-form-data.js.map +1 -0
  653. package/dist/utils/code-normalizer.d.ts +11 -0
  654. package/dist/utils/code-normalizer.d.ts.map +1 -0
  655. package/dist/utils/code-normalizer.js +21 -0
  656. package/dist/utils/code-normalizer.js.map +1 -0
  657. package/dist/utils/config-validator.d.ts +12 -0
  658. package/dist/utils/config-validator.d.ts.map +1 -0
  659. package/dist/utils/config-validator.js +10 -0
  660. package/dist/utils/config-validator.js.map +1 -0
  661. package/dist/utils/consent-scanner.d.ts +19 -0
  662. package/dist/utils/consent-scanner.d.ts.map +1 -0
  663. package/dist/utils/consent-scanner.js +115 -0
  664. package/dist/utils/consent-scanner.js.map +1 -0
  665. package/dist/utils/format-code.d.ts +9 -0
  666. package/dist/utils/format-code.d.ts.map +1 -0
  667. package/dist/utils/format-code.js +68 -0
  668. package/dist/utils/format-code.js.map +1 -0
  669. package/dist/utils/generic-tree-builder.d.ts +37 -0
  670. package/dist/utils/generic-tree-builder.d.ts.map +1 -0
  671. package/dist/utils/generic-tree-builder.js +225 -0
  672. package/dist/utils/generic-tree-builder.js.map +1 -0
  673. package/dist/utils/mapping-path.d.ts +146 -0
  674. package/dist/utils/mapping-path.d.ts.map +1 -0
  675. package/dist/utils/mapping-path.js +271 -0
  676. package/dist/utils/mapping-path.js.map +1 -0
  677. package/dist/utils/monaco-context-types.d.ts +39 -0
  678. package/dist/utils/monaco-context-types.d.ts.map +1 -0
  679. package/dist/utils/monaco-context-types.js +426 -0
  680. package/dist/utils/monaco-context-types.js.map +1 -0
  681. package/dist/utils/monaco-decorators.d.ts +17 -0
  682. package/dist/utils/monaco-decorators.d.ts.map +1 -0
  683. package/dist/utils/monaco-decorators.js +79 -0
  684. package/dist/utils/monaco-decorators.js.map +1 -0
  685. package/dist/utils/monaco-formatters.d.ts +16 -0
  686. package/dist/utils/monaco-formatters.d.ts.map +1 -0
  687. package/dist/utils/monaco-formatters.js +139 -0
  688. package/dist/utils/monaco-formatters.js.map +1 -0
  689. package/dist/utils/monaco-types.d.ts +174 -0
  690. package/dist/utils/monaco-types.d.ts.map +1 -0
  691. package/dist/utils/monaco-types.js +378 -0
  692. package/dist/utils/monaco-types.js.map +1 -0
  693. package/dist/utils/path-analyzer.d.ts +88 -0
  694. package/dist/utils/path-analyzer.d.ts.map +1 -0
  695. package/dist/utils/path-analyzer.js +215 -0
  696. package/dist/utils/path-analyzer.js.map +1 -0
  697. package/dist/utils/schema-validation.d.ts +36 -0
  698. package/dist/utils/schema-validation.d.ts.map +1 -0
  699. package/dist/utils/schema-validation.js +136 -0
  700. package/dist/utils/schema-validation.js.map +1 -0
  701. package/dist/utils/type-detector.d.ts +35 -0
  702. package/dist/utils/type-detector.d.ts.map +1 -0
  703. package/dist/utils/type-detector.js +241 -0
  704. package/dist/utils/type-detector.js.map +1 -0
  705. package/dist/utils/value-display-formatter.d.ts +31 -0
  706. package/dist/utils/value-display-formatter.d.ts.map +1 -0
  707. package/dist/utils/value-display-formatter.js +110 -0
  708. package/dist/utils/value-display-formatter.js.map +1 -0
  709. package/package.json +13 -10
  710. package/dist/chunk-WKBCYMTQ.mjs.map +0 -1
  711. /package/dist/{monaco-types-GHUJ2SZE.mjs.map → monaco-types-4FIH5OVX.mjs.map} +0 -0
@@ -0,0 +1,225 @@
1
+ import { MAPPING_RULE_STRUCTURE } from '../schemas/config-structures/mapping-rule';
2
+ import { detectNodeType } from './type-detector';
3
+ /**
4
+ * Capitalize first letter of a string
5
+ */
6
+ function capitalize(str) {
7
+ if (!str)
8
+ return str;
9
+ return str.charAt(0).toUpperCase() + str.slice(1);
10
+ }
11
+ /**
12
+ * Build tree structure from config using structure definition
13
+ *
14
+ * CONFIG-DRIVEN: Tree reflects actual config values, not schema possibilities.
15
+ * STRUCTURE-AWARE: Uses PropertyDef for metadata (titles, nodeTypes, children strategy).
16
+ *
17
+ * @param config - Actual configuration object
18
+ * @param structure - Structure definition describing config shape
19
+ * @param schemas - Optional JSON Schemas for type hints and labels
20
+ * @param sections - Optional visibility filter (e.g., { verbose: false })
21
+ * @returns Array of root-level tree nodes
22
+ *
23
+ * @example
24
+ * const tree = buildTree(
25
+ * destinationConfig,
26
+ * DESTINATION_CONFIG_STRUCTURE,
27
+ * metaPixelSchemas,
28
+ * { verbose: false }
29
+ * );
30
+ */
31
+ export function buildTree(config, structure, schemas, sections) {
32
+ const nodes = [];
33
+ if (!structure.properties) {
34
+ return nodes;
35
+ }
36
+ // Iterate actual config keys (config-driven, not schema-driven)
37
+ const configKeys = Object.keys(config).filter((key) => config[key] !== undefined);
38
+ for (const key of configKeys) {
39
+ // Check section visibility
40
+ if (sections?.[key] === false) {
41
+ continue;
42
+ }
43
+ const propertyDef = structure.properties[key];
44
+ const value = config[key];
45
+ const nodeType = detectNodeType(value, [key], structure, schemas);
46
+ // Build node
47
+ const node = {
48
+ key,
49
+ label: propertyDef?.title || capitalize(key),
50
+ path: [key],
51
+ type: nodeType,
52
+ hasValue: true,
53
+ };
54
+ // Build children based on children strategy
55
+ if (propertyDef?.children === 'entity-action') {
56
+ // Special: mapping.{entity}.{action} pattern
57
+ node.children = buildEntityActionChildren(value, [key], schemas);
58
+ node.isExpandable = node.children.length > 0;
59
+ }
60
+ else if (propertyDef?.children === 'schema-driven') {
61
+ // Build from JSON Schema properties
62
+ const propSchema = schemas?.[propertyDef.schemaPath || key];
63
+ node.children = buildSchemaChildren(value, [key], propSchema, schemas, structure);
64
+ node.isExpandable = node.children.length > 0;
65
+ }
66
+ else if (propertyDef?.children === 'value-driven') {
67
+ // Detect children from value structure
68
+ node.children = buildValueChildren(value, [key], schemas, structure);
69
+ node.isExpandable = node.children.length > 0;
70
+ }
71
+ else {
72
+ // No children (leaf node)
73
+ node.isExpandable = false;
74
+ }
75
+ nodes.push(node);
76
+ }
77
+ return nodes;
78
+ }
79
+ /**
80
+ * Build children nodes for entity-action pattern
81
+ *
82
+ * Handles the special mapping.{entity}.{action} hierarchy:
83
+ * - First level: entities (page, product, order)
84
+ * - Second level: actions (view, add, complete)
85
+ * - Third level: rule properties (name, batch, settings, data, etc.)
86
+ *
87
+ * Uses MAPPING_RULE_STRUCTURE to properly handle rule properties with schema awareness.
88
+ *
89
+ * @param mapping - Mapping object (entity → action → rule)
90
+ * @param basePath - Base path (e.g., ['mapping'])
91
+ * @param schemas - Schemas dict for rule-level settings
92
+ * @returns Array of entity nodes with action children
93
+ */
94
+ function buildEntityActionChildren(mapping, basePath, schemas) {
95
+ const children = [];
96
+ Object.keys(mapping).forEach((entity) => {
97
+ const actions = mapping[entity];
98
+ const actionNodes = [];
99
+ if (actions && typeof actions === 'object') {
100
+ Object.keys(actions).forEach((action) => {
101
+ const ruleValue = actions[action];
102
+ const rulePath = [...basePath, entity, action];
103
+ // Build rule children using MAPPING_RULE_STRUCTURE for proper schema handling
104
+ const ruleChildren = buildValueChildren(ruleValue, rulePath, schemas, MAPPING_RULE_STRUCTURE);
105
+ actionNodes.push({
106
+ key: action,
107
+ label: capitalize(action),
108
+ path: rulePath,
109
+ type: 'rule',
110
+ hasValue: true,
111
+ children: ruleChildren,
112
+ isExpandable: ruleChildren.length > 0,
113
+ });
114
+ });
115
+ }
116
+ children.push({
117
+ key: entity,
118
+ label: capitalize(entity),
119
+ path: [...basePath, entity],
120
+ type: 'entity',
121
+ hasValue: true,
122
+ children: actionNodes,
123
+ isExpandable: actionNodes.length > 0,
124
+ });
125
+ });
126
+ return children;
127
+ }
128
+ /**
129
+ * Build children from JSON Schema properties
130
+ *
131
+ * Used for settings and other schema-defined objects.
132
+ * Only shows properties that actually exist in config.
133
+ *
134
+ * @param obj - Object with properties
135
+ * @param basePath - Base path
136
+ * @param schema - JSON Schema for this object
137
+ * @param schemas - Full schemas dict for nested navigation
138
+ * @param structure - Optional structure for additional metadata
139
+ * @returns Array of child nodes
140
+ */
141
+ function buildSchemaChildren(obj, basePath, schema, schemas, structure) {
142
+ const children = [];
143
+ // Only build from actual config values (config-driven)
144
+ Object.keys(obj)
145
+ .filter((key) => obj[key] !== undefined)
146
+ .forEach((key) => {
147
+ const value = obj[key];
148
+ const childPath = [...basePath, key];
149
+ const propSchema = schema?.properties?.[key];
150
+ // Get property definition from structure if available
151
+ const propertyDef = structure?.properties?.[key];
152
+ // Determine children - check if nested object has schema
153
+ let valueChildren;
154
+ if (typeof value === 'object' &&
155
+ value !== null &&
156
+ !Array.isArray(value) &&
157
+ propSchema?.properties) {
158
+ // This is a schema-defined nested object, recurse with schema
159
+ valueChildren = buildSchemaChildren(value, childPath, propSchema, schemas, structure);
160
+ }
161
+ else {
162
+ // Use value-driven for non-schema objects (pass structure!)
163
+ valueChildren = buildValueChildren(value, childPath, schemas, structure);
164
+ }
165
+ children.push({
166
+ key,
167
+ label: propertyDef?.title || propSchema?.title || capitalize(key),
168
+ path: childPath,
169
+ type: structure ? detectNodeType(value, childPath, structure, schemas) : 'valueConfig',
170
+ hasValue: true,
171
+ children: valueChildren,
172
+ isExpandable: valueChildren.length > 0,
173
+ });
174
+ });
175
+ return children;
176
+ }
177
+ /**
178
+ * Build children from value structure
179
+ *
180
+ * Used for data, policy, and other value-driven properties.
181
+ * Detects structure from actual value, but uses schema when available.
182
+ *
183
+ * @param value - Value to inspect
184
+ * @param basePath - Base path
185
+ * @param schemas - Optional schemas dict for schema-aware navigation
186
+ * @param structure - Optional structure definition for property metadata
187
+ * @returns Array of child nodes
188
+ */
189
+ function buildValueChildren(value, basePath, schemas, structure) {
190
+ // For objects: show properties and recurse
191
+ if (typeof value === 'object' && value !== null && !Array.isArray(value)) {
192
+ const obj = value;
193
+ return Object.keys(obj).map((key) => {
194
+ const childValue = obj[key];
195
+ const childPath = [...basePath, key];
196
+ // Check if this property is defined in structure (for rule properties)
197
+ const propertyDef = structure?.properties?.[key];
198
+ // Determine if this should use schema-driven children
199
+ let childChildren;
200
+ if (propertyDef?.children === 'schema-driven') {
201
+ // Use schema-driven building for nested settings
202
+ const schemaPath = propertyDef.schemaPath || key;
203
+ const propSchema = schemas?.[schemaPath];
204
+ childChildren = buildSchemaChildren(childValue, childPath, propSchema, schemas, structure);
205
+ }
206
+ else {
207
+ // Continue with value-driven recursion
208
+ childChildren = buildValueChildren(childValue, childPath, schemas, structure);
209
+ }
210
+ const label = propertyDef?.title || capitalize(key);
211
+ return {
212
+ key,
213
+ label,
214
+ path: childPath,
215
+ type: structure ? detectNodeType(childValue, childPath, structure, schemas) : 'valueConfig',
216
+ hasValue: true,
217
+ children: childChildren,
218
+ isExpandable: childChildren.length > 0,
219
+ };
220
+ });
221
+ }
222
+ // Arrays, primitives: no children
223
+ return [];
224
+ }
225
+ //# sourceMappingURL=generic-tree-builder.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generic-tree-builder.js","sourceRoot":"","sources":["../../src/utils/generic-tree-builder.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,sBAAsB,EAAE,MAAM,2CAA2C,CAAC;AACnF,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAejD;;GAEG;AACH,SAAS,UAAU,CAAC,GAAW;IAC7B,IAAI,CAAC,GAAG;QAAE,OAAO,GAAG,CAAC;IACrB,OAAO,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;AACpD,CAAC;AAGD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,UAAU,SAAS,CACvB,MAAS,EACT,SAA6B,EAC7B,OAAoC,EACpC,QAAkC;IAElC,MAAM,KAAK,GAAqB,EAAE,CAAC;IAEnC,IAAI,CAAC,SAAS,CAAC,UAAU,EAAE,CAAC;QAC1B,OAAO,KAAK,CAAC;IACf,CAAC;IAED,gEAAgE;IAChE,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,MAAM,CAC3C,CAAC,GAAG,EAAE,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,SAAS,CACnC,CAAC;IAEF,KAAK,MAAM,GAAG,IAAI,UAAU,EAAE,CAAC;QAC7B,2BAA2B;QAC3B,IAAI,QAAQ,EAAE,CAAC,GAAG,CAAC,KAAK,KAAK,EAAE,CAAC;YAC9B,SAAS;QACX,CAAC;QAED,MAAM,WAAW,GAAG,SAAS,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;QAC9C,MAAM,KAAK,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,EAAE,QAAQ,KAAK,eAAe,EAAE,CAAC;gBAC9C,iDAAiD;gBACjD,MAAM,UAAU,GAAG,WAAW,CAAC,UAAU,IAAI,GAAG,CAAC;gBACjD,MAAM,UAAU,GAAG,OAAO,EAAE,CAAC,UAAU,CAAC,CAAC;gBACzC,aAAa,GAAG,mBAAmB,CACjC,UAAqC,EACrC,SAAS,EACT,UAAU,EACV,OAAO,EACP,SAAS,CACV,CAAC;YACJ,CAAC;iBAAM,CAAC;gBACN,uCAAuC;gBACvC,aAAa,GAAG,kBAAkB,CAChC,UAAU,EACV,SAAS,EACT,OAAO,EACP,SAAS,CACV,CAAC;YACJ,CAAC;YAED,MAAM,KAAK,GAAG,WAAW,EAAE,KAAK,IAAI,UAAU,CAAC,GAAG,CAAC,CAAC;YAEpD,OAAO;gBACL,GAAG;gBACH,KAAK;gBACL,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,SAAS,CAAC,CAAC,CAAC,cAAc,CAAC,UAAU,EAAE,SAAS,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,aAAa;gBAC3F,QAAQ,EAAE,IAAI;gBACd,QAAQ,EAAE,aAAa;gBACvB,YAAY,EAAE,aAAa,CAAC,MAAM,GAAG,CAAC;aACvC,CAAC;QACJ,CAAC,CAAC,CAAC;IACL,CAAC;IAED,kCAAkC;IAClC,OAAO,EAAE,CAAC;AACZ,CAAC"}
@@ -0,0 +1,146 @@
1
+ /**
2
+ * Pure utility functions for mapping path navigation
3
+ *
4
+ * These functions handle:
5
+ * - Path-based value extraction from nested objects
6
+ * - Immutable path-based value updates
7
+ * - Breadcrumb segment generation
8
+ * - Rule path parsing (entity action format)
9
+ * - Path validation and normalization
10
+ *
11
+ * All functions are pure (no side effects, no state, no UI)
12
+ * Designed for maximum reusability across different UI implementations
13
+ */
14
+ /**
15
+ * Extract value from nested object using path array
16
+ *
17
+ * @example
18
+ * getValueAtPath({ data: { map: { items: 'value' } } }, ['data', 'map', 'items'])
19
+ * // Returns: 'value'
20
+ *
21
+ * @example
22
+ * getValueAtPath({ data: {} }, ['data', 'missing'])
23
+ * // Returns: undefined
24
+ */
25
+ export declare function getValueAtPath(obj: unknown, path: string[]): unknown;
26
+ /**
27
+ * Set value in nested object at path (immutable)
28
+ *
29
+ * Creates a new object with the value updated at the specified path.
30
+ * Does not mutate the original object.
31
+ *
32
+ * @example
33
+ * setValueAtPath({ data: { map: {} } }, ['data', 'map', 'items'], 'new')
34
+ * // Returns: { data: { map: { items: 'new' } } }
35
+ */
36
+ export declare function setValueAtPath(obj: unknown, path: string[], value: unknown): unknown;
37
+ /**
38
+ * Delete value at path (immutable)
39
+ *
40
+ * Creates a new object with the key removed at the specified path.
41
+ * Does not mutate the original object.
42
+ *
43
+ * @example
44
+ * deleteAtPath({ data: { map: { items: 'value' } } }, ['data', 'map', 'items'])
45
+ * // Returns: { data: { map: {} } }
46
+ */
47
+ export declare function deleteAtPath(obj: unknown, path: string[]): unknown;
48
+ /**
49
+ * Parse rule path into entity and action
50
+ *
51
+ * WalkerOS uses "ENTITY ACTION" format with space separator
52
+ *
53
+ * @example
54
+ * parseRulePath('product view')
55
+ * // Returns: { entity: 'product', action: 'view' }
56
+ *
57
+ * @example
58
+ * parseRulePath('invalid')
59
+ * // Returns: { entity: 'invalid', action: undefined }
60
+ */
61
+ export declare function parseRulePath(rulePath: string): {
62
+ entity: string;
63
+ action: string | undefined;
64
+ };
65
+ /**
66
+ * Build rule path from entity and action
67
+ *
68
+ * @example
69
+ * buildRulePath('product', 'view')
70
+ * // Returns: 'product view'
71
+ */
72
+ export declare function buildRulePath(entity: string, action: string): string;
73
+ /**
74
+ * Breadcrumb segment for UI display
75
+ */
76
+ export interface BreadcrumbSegment {
77
+ label: string;
78
+ path: string[];
79
+ nodeType?: string;
80
+ }
81
+ /**
82
+ * Build breadcrumb segments from path
83
+ *
84
+ * Converts a flat path array into human-readable breadcrumb segments
85
+ *
86
+ * @example
87
+ * buildBreadcrumbSegments(['product', 'view', 'data', 'map', 'items'])
88
+ * // Returns: [
89
+ * // { label: 'Overview', path: [] },
90
+ * // { label: 'product', path: ['product'] },
91
+ * // { label: 'view', path: ['product', 'view'] },
92
+ * // { label: 'data', path: ['product', 'view', 'data'] },
93
+ * // { label: 'map', path: ['product', 'view', 'data', 'map'] },
94
+ * // { label: 'items', path: ['product', 'view', 'data', 'map', 'items'] }
95
+ * // ]
96
+ */
97
+ export declare function buildBreadcrumbSegments(path: string[]): BreadcrumbSegment[];
98
+ /**
99
+ * Validate if a path is valid for a mapping rule
100
+ *
101
+ * @example
102
+ * isValidRulePath(['product', 'view'])
103
+ * // Returns: true
104
+ *
105
+ * @example
106
+ * isValidRulePath(['product'])
107
+ * // Returns: false (missing action)
108
+ */
109
+ export declare function isValidRulePath(path: string[]): boolean;
110
+ /**
111
+ * Get parent path
112
+ *
113
+ * @example
114
+ * getParentPath(['data', 'map', 'items'])
115
+ * // Returns: ['data', 'map']
116
+ *
117
+ * @example
118
+ * getParentPath(['data'])
119
+ * // Returns: []
120
+ *
121
+ * @example
122
+ * getParentPath([])
123
+ * // Returns: []
124
+ */
125
+ export declare function getParentPath(path: string[]): string[];
126
+ /**
127
+ * Check if path is ancestor of another path
128
+ *
129
+ * @example
130
+ * isAncestorPath(['data', 'map'], ['data', 'map', 'items'])
131
+ * // Returns: true
132
+ *
133
+ * @example
134
+ * isAncestorPath(['data', 'map'], ['data', 'set'])
135
+ * // Returns: false
136
+ */
137
+ export declare function isAncestorPath(ancestorPath: string[], descendantPath: string[]): boolean;
138
+ /**
139
+ * Normalize path by removing empty strings and trimming
140
+ *
141
+ * @example
142
+ * normalizePath([' data ', '', 'map', ' items'])
143
+ * // Returns: ['data', 'map', 'items']
144
+ */
145
+ export declare function normalizePath(path: string[]): string[];
146
+ //# sourceMappingURL=mapping-path.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mapping-path.d.ts","sourceRoot":"","sources":["../../src/utils/mapping-path.ts"],"names":[],"mappings":"AAAA;;;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BAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAItD"}
@@ -0,0 +1,271 @@
1
+ /**
2
+ * Pure utility functions for mapping path navigation
3
+ *
4
+ * These functions handle:
5
+ * - Path-based value extraction from nested objects
6
+ * - Immutable path-based value updates
7
+ * - Breadcrumb segment generation
8
+ * - Rule path parsing (entity action format)
9
+ * - Path validation and normalization
10
+ *
11
+ * All functions are pure (no side effects, no state, no UI)
12
+ * Designed for maximum reusability across different UI implementations
13
+ */
14
+ /**
15
+ * Extract value from nested object using path array
16
+ *
17
+ * @example
18
+ * getValueAtPath({ data: { map: { items: 'value' } } }, ['data', 'map', 'items'])
19
+ * // Returns: 'value'
20
+ *
21
+ * @example
22
+ * getValueAtPath({ data: {} }, ['data', 'missing'])
23
+ * // Returns: undefined
24
+ */
25
+ export function getValueAtPath(obj, path) {
26
+ if (!obj || typeof obj !== 'object')
27
+ return undefined;
28
+ if (path.length === 0)
29
+ return obj;
30
+ let current = obj;
31
+ for (const key of path) {
32
+ if (current === null || current === undefined)
33
+ return undefined;
34
+ if (typeof current !== 'object')
35
+ return undefined;
36
+ current = current[key];
37
+ }
38
+ return current;
39
+ }
40
+ /**
41
+ * Deep clone that preserves all value types including function strings
42
+ *
43
+ * In the explorer, functions are stored as strings (e.g., fn: "(event) => event.data")
44
+ * so they need to be preserved during cloning operations.
45
+ *
46
+ * This implementation:
47
+ * - Handles primitives, arrays, objects
48
+ * - Preserves function strings
49
+ * - Handles nested structures recursively
50
+ * - Creates new object references (true immutability)
51
+ */
52
+ function deepClone(obj) {
53
+ // Handle primitives and null
54
+ if (obj === null || typeof obj !== 'object') {
55
+ return obj;
56
+ }
57
+ // Handle arrays
58
+ if (Array.isArray(obj)) {
59
+ return obj.map((item) => deepClone(item));
60
+ }
61
+ // Handle objects
62
+ const cloned = {};
63
+ for (const key in obj) {
64
+ if (Object.prototype.hasOwnProperty.call(obj, key)) {
65
+ cloned[key] = deepClone(obj[key]);
66
+ }
67
+ }
68
+ return cloned;
69
+ }
70
+ /**
71
+ * Set value in nested object at path (immutable)
72
+ *
73
+ * Creates a new object with the value updated at the specified path.
74
+ * Does not mutate the original object.
75
+ *
76
+ * @example
77
+ * setValueAtPath({ data: { map: {} } }, ['data', 'map', 'items'], 'new')
78
+ * // Returns: { data: { map: { items: 'new' } } }
79
+ */
80
+ export function setValueAtPath(obj, path, value) {
81
+ if (!obj || typeof obj !== 'object') {
82
+ throw new Error('Cannot set value on non-object');
83
+ }
84
+ if (path.length === 0)
85
+ return value;
86
+ // Deep clone for immutability
87
+ const cloned = deepClone(obj);
88
+ let current = cloned;
89
+ // Navigate to parent of target
90
+ for (let i = 0; i < path.length - 1; i++) {
91
+ const key = path[i];
92
+ // Create missing intermediate objects
93
+ if (!current[key] || typeof current[key] !== 'object') {
94
+ current[key] = {};
95
+ }
96
+ current = current[key];
97
+ }
98
+ // Set the final value
99
+ const lastKey = path[path.length - 1];
100
+ current[lastKey] = value;
101
+ return cloned;
102
+ }
103
+ /**
104
+ * Delete value at path (immutable)
105
+ *
106
+ * Creates a new object with the key removed at the specified path.
107
+ * Does not mutate the original object.
108
+ *
109
+ * @example
110
+ * deleteAtPath({ data: { map: { items: 'value' } } }, ['data', 'map', 'items'])
111
+ * // Returns: { data: { map: {} } }
112
+ */
113
+ export function deleteAtPath(obj, path) {
114
+ if (!obj || typeof obj !== 'object') {
115
+ throw new Error('Cannot delete from non-object');
116
+ }
117
+ if (path.length === 0)
118
+ return undefined;
119
+ const cloned = deepClone(obj);
120
+ let current = cloned;
121
+ // Navigate to parent
122
+ for (let i = 0; i < path.length - 1; i++) {
123
+ const key = path[i];
124
+ if (!current[key])
125
+ return cloned; // Path doesn't exist, return unchanged
126
+ current = current[key];
127
+ }
128
+ // Delete the final key
129
+ const lastKey = path[path.length - 1];
130
+ delete current[lastKey];
131
+ return cloned;
132
+ }
133
+ /**
134
+ * Parse rule path into entity and action
135
+ *
136
+ * WalkerOS uses "ENTITY ACTION" format with space separator
137
+ *
138
+ * @example
139
+ * parseRulePath('product view')
140
+ * // Returns: { entity: 'product', action: 'view' }
141
+ *
142
+ * @example
143
+ * parseRulePath('invalid')
144
+ * // Returns: { entity: 'invalid', action: undefined }
145
+ */
146
+ export function parseRulePath(rulePath) {
147
+ const parts = rulePath
148
+ .trim()
149
+ .split(' ')
150
+ .filter((p) => p.trim());
151
+ if (parts.length < 2) {
152
+ return { entity: parts[0] || '', action: undefined };
153
+ }
154
+ const [entity, ...actionParts] = parts;
155
+ return { entity, action: actionParts.join(' ') };
156
+ }
157
+ /**
158
+ * Build rule path from entity and action
159
+ *
160
+ * @example
161
+ * buildRulePath('product', 'view')
162
+ * // Returns: 'product view'
163
+ */
164
+ export function buildRulePath(entity, action) {
165
+ return `${entity} ${action}`;
166
+ }
167
+ /**
168
+ * Build breadcrumb segments from path
169
+ *
170
+ * Converts a flat path array into human-readable breadcrumb segments
171
+ *
172
+ * @example
173
+ * buildBreadcrumbSegments(['product', 'view', 'data', 'map', 'items'])
174
+ * // Returns: [
175
+ * // { label: 'Overview', path: [] },
176
+ * // { label: 'product', path: ['product'] },
177
+ * // { label: 'view', path: ['product', 'view'] },
178
+ * // { label: 'data', path: ['product', 'view', 'data'] },
179
+ * // { label: 'map', path: ['product', 'view', 'data', 'map'] },
180
+ * // { label: 'items', path: ['product', 'view', 'data', 'map', 'items'] }
181
+ * // ]
182
+ */
183
+ export function buildBreadcrumbSegments(path) {
184
+ const segments = [{ label: 'Overview', path: [] }];
185
+ if (path.length === 0)
186
+ return segments;
187
+ for (let i = 0; i < path.length; i++) {
188
+ segments.push({
189
+ label: path[i],
190
+ path: path.slice(0, i + 1),
191
+ });
192
+ }
193
+ return segments;
194
+ }
195
+ /**
196
+ * Validate if a path is valid for a mapping rule
197
+ *
198
+ * @example
199
+ * isValidRulePath(['product', 'view'])
200
+ * // Returns: true
201
+ *
202
+ * @example
203
+ * isValidRulePath(['product'])
204
+ * // Returns: false (missing action)
205
+ */
206
+ export function isValidRulePath(path) {
207
+ if (path.length < 2)
208
+ return false;
209
+ const [entity, action] = path;
210
+ if (!entity || !action)
211
+ return false;
212
+ if (typeof entity !== 'string' || typeof action !== 'string')
213
+ return false;
214
+ return true;
215
+ }
216
+ /**
217
+ * Get parent path
218
+ *
219
+ * @example
220
+ * getParentPath(['data', 'map', 'items'])
221
+ * // Returns: ['data', 'map']
222
+ *
223
+ * @example
224
+ * getParentPath(['data'])
225
+ * // Returns: []
226
+ *
227
+ * @example
228
+ * getParentPath([])
229
+ * // Returns: []
230
+ */
231
+ export function getParentPath(path) {
232
+ if (path.length === 0)
233
+ return [];
234
+ return path.slice(0, -1);
235
+ }
236
+ /**
237
+ * Check if path is ancestor of another path
238
+ *
239
+ * @example
240
+ * isAncestorPath(['data', 'map'], ['data', 'map', 'items'])
241
+ * // Returns: true
242
+ *
243
+ * @example
244
+ * isAncestorPath(['data', 'map'], ['data', 'set'])
245
+ * // Returns: false
246
+ */
247
+ export function isAncestorPath(ancestorPath, descendantPath) {
248
+ // Empty path cannot be ancestor (even though technically it is)
249
+ if (ancestorPath.length === 0)
250
+ return false;
251
+ if (ancestorPath.length >= descendantPath.length)
252
+ return false;
253
+ for (let i = 0; i < ancestorPath.length; i++) {
254
+ if (ancestorPath[i] !== descendantPath[i])
255
+ return false;
256
+ }
257
+ return true;
258
+ }
259
+ /**
260
+ * Normalize path by removing empty strings and trimming
261
+ *
262
+ * @example
263
+ * normalizePath([' data ', '', 'map', ' items'])
264
+ * // Returns: ['data', 'map', 'items']
265
+ */
266
+ export function normalizePath(path) {
267
+ return path
268
+ .filter((segment) => segment && segment.trim())
269
+ .map((s) => s.trim());
270
+ }
271
+ //# sourceMappingURL=mapping-path.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mapping-path.js","sourceRoot":"","sources":["../../src/utils/mapping-path.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH;;;;;;;;;;GAUG;AACH,MAAM,UAAU,cAAc,CAAC,GAAY,EA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